
/*************************************************************************
 * ADOBE CONFIDENTIAL
 * ___________________
 *
 * Copyright 2021 Adobe. All Rights Reserved.
 *
 * NOTICE: All information contained herein is, and remains
 * the property of Adobe and its suppliers, if any. The intellectual
 * and technical concepts contained herein are proprietary to Adobe
 * and its suppliers and are protected by all applicable intellectual
 * property laws, including trade secret and copyright laws.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe.
 **************************************************************************/

(window.webpackJsonp=window.webpackJsonp||[]).push([[234],{"+pfd":function(e,t,n){t.lrimporter=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=54)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,{decorators:t,properties:n}){if(t)for(let n=0,r=t.length;n<r;++n)e=t[n](e)||e;if(n)for(let t=0,c=n.length;t<c;++t){var r=n[t],i=r.static?e:e.prototype,a=new o.default(i,r,e),s=r.decorators;if(s)for(var l=0,u=s.length;l<u;++l)s[l](a);a.finish()}return e};var r,i=n(62),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setCacheState=function(e){a=e},t.getCacheState=function(){return a};var r,i=n(59),o=(r=i)&&r.__esModule?r:{default:r};var a=!0;const s={render(){},init(){},dispose(){},move(){},reuse(){}};var l=0;class u{static make(e){if(!e.firstChild)return console.warn("Template didn't provide a first child method, so we cannot use it. Switching to EmptyTemplate.",e),u.EmptyTemplate;e.lastChild||(e.lastChild=e.firstChild);var t=++l;const n=!1!==e.cache;var r=(0,o.default)(e,s),{render:i,init:c,dispose:d,move:p,reuse:f,prepare:h}=r,_={};return r.render=function(e,t){++e.depth,i(e,t),c(e,t),--e.depth},r.dispose=function(e,t){if(t.$_disposed)throw new Error("Invalid dispose on disposed template.");var{parentNode:n,nextNode:r}=e;d(e,t),t.$_disposed=!0,e.parentNode=n,e.nextNode=r},r.reuse=function(e,t){if(!t.$_disposed)throw new Error("Invalid reuse on live template.");t.$_disposed=!1;var{parentNode:n,nextNode:r}=e;++e.depth,f(e,t),c(e,t),--e.depth,e.parentNode=n,e.nextNode=r},r.cache=function(e,r){var i=e.parentNode,o=e.nextNode;r.$_disposed||(r.$_disposed=!0,d(e,r)),r.$_cache||(e.parentNode=r.$_cache=e.makeFragment(),e.nextNode=null,p(e,r),a&&n&&e.templates.put(t,r)),e.parentNode=i,e.nextNode=o},r.run=function(e,t){if(!t.$_cache)return++e.depth,i(e,t),c(e,t),void--e.depth;e.pushNode(t.$_cache),t.$_cache=null,t.$_disposed=!1;var{parentNode:n,nextNode:r}=e;++e.depth,f(e,t),c(e,t),--e.depth,e.parentNode=n,e.nextNode=r},r.make=function(e){if(_[e.id]||(h&&h(e),_[e.id]=!0,a&&n&&e.templates.init(t)),a&&n){var i=e.templates.take(t);if(i)return i}return{template:r,$_cache:null,$_disposed:!1}},r.releaseCache=function(e){e.templates.removeAll(t)},r}}t.default=u,u.EmptyTemplate=u.make({render(e,t){t.comment=e.pushCommentNode("empty template")},move(e,t){e.pushNode(t.comment)},firstChild:(e,t)=>t.comment})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(61)),i=l(n(1)),o=l(n(19)),a=l(n(28)),s=l(n(89));function l(e){return e&&e.__esModule?e:{default:e}}var u=null,c={};const d=Symbol("addToChildAttributes"),p=Symbol("shouldPropagateChildAttribute"),f=Symbol("attachSpreads");class h extends o.default{constructor(){if(super(),u){var{scope:e,factory:t,data:n,spreads:r}=u;n.$_component=this,this.scope=e,this.$_depth=t.depth,this.$_factory=t,this.$_view=n,r&&this[f](r)}}get children(){return this.renderChildWithName("children")}attached(){}detached(){}_getChildTemplate(e){if(this.childrenBlocks)return this.childrenBlocks[e]||this.childrenBlocks[e.replace(/:/g,"_")]}renderChildWithName(e){let t=this._getChildTemplate(e);return t?this.renderChildTemplate(t):null}renderChildTemplate(e){return{template:e,$_parent:this.$_view}}childrenWithArgs(...e){return this.renderChildWithNameAndArgs("children",...e)}renderChildWithNameAndArgs(e,...t){let n=this._getChildTemplate(e);return n?this.renderChildTemplateWithArgs(n,...t):null}renderChildTemplateWithArgs(e,...t){return{template:e,$_parent:this.$_view,$_injectScope:e=>{for(var n=0,r=t.length;n<r;++n)e["v"+n]=t[n]}}}[p](e){if(e.isEvent){if(this.events&&(this.events.indexOf(e.name)>-1||this.events.indexOf(e.normalizedName)>-1))return!1}else if(this.definedAttributes&&!0===this.definedAttributes[e.normalizedName])return!1;return!0}[d](e,t,n){t.matchesNamespace(n)&&this[p](t)&&e.push(t.toChildAttribute(this,!n))}childAttributes(e){const t=[];if(this.sourceAttributes)for(let n of this.sourceAttributes)this[d](t,new r.default(n),e);if(this.spreadAttributes&&r.default.forEachSpread(this.$_view,this.spreadAttributes,n=>{this[d](t,n,e)}),this.eventAttributes)for(let n of this.eventAttributes)this[d](t,new r.default(n,!0),e);return t}static attachAttributes(e,t={},n=!1){if(!e)return t;for(var i=0,o=e.length;i<o;++i){const o=new r.default(e[i]),a=o.normalizedName;if(!(t.definedAttributes&&t.definedAttributes[a])){const e=a in t;if(t.definedObservables&&t.definedObservables[a])console.warn(`WARNING: The JSX attribute "${a}" was passed to a component declaring an @Observable of the same name. The JSX attribute will be ignored in a future Torq release. Use the @Attribute decorator to declare JSX attributes.`);else if(e)console.warn(`WARNING: The JSX attribute "${a}" was passed to a component declaring a property of the same name. The JSX attribute will be ignored in a future Torq release. Use the @Attribute decorator to declare JSX attributes.`);else if(n)continue}Object.defineProperty(t,a,o)}return t}[f](e){const t=this.events,n=this.definedAttributes;(n||t)&&r.default.forEachSpread(this.$_view,e,e=>{const r=e.name,i=e.normalizedName;n&&n[i]?Object.defineProperty(this,i,e):e.isEvent&&t&&t.indexOf(r)>-1&&!e.namespace&&e.value&&this.on(r,e.value)})}static getBlockTemplate(e,t="children"){if(e)for(var n=0,r=e.length;n<r;++n){var i=e[n];if(i.name===t)return i.template}}static attachBlockTemplates(e,t={}){if(e)for(var n=0,r=e.length;n<r;++n){var i=e[n];t[i.name]=i.template}return t}static make(e){var t,n,o,s,l,d,p,f,_,v,{attributes:m,spreads:g,blocks:y,init:b,events:k}=e||{};N(this);var E,O,C,T=i.default.make({render:function(e,t){var r=u;u=c||{},c=null,u.scope=o?e.scope.fork():e.scope,u.data=t,u.factory=e,u.spreads=g,u.definedAttributes=_;var a=new n;u.scope=null,u.data=null,c=u,u=r,b&&b(t,a),f&&L(a);var d,p=e.pushScope(a.scope),{parentNode:h,nextNode:v}=e,m=s&&s.call(a);m&&m.template?((d=m.template.make(e)).$_parent=t,d.$_scope=m):d=i.default.EmptyTemplate.make(e);e.parentNode=h,e.nextNode=v,t.$_view=d,d.template.run(e,d),e.restoreScope(p),l&&l.call(a),E&&(t.$_hotReloadFactory=e,t.$_hotReloadScope=e.scope,t.$_hotReloadNext=O,O&&(O.$_hotReloadPrevious=t),O=t)},reuse:w,dispose:A,move:function(e,t){var n=t.$_view;n.template.move(e,n)},firstChild:function(e,t){var n=t.$_view;return n.template.firstChild(e,n)},lastChild:function(e,t){var n=t.$_view;return n.template.lastChild(e,n)}});return(E=t.hotReloader)&&(C=new Set,E.signal.add(()=>{a.default.log("[HMR] Patching component",E.name);let e=0;for(let t=O;t;t=t.$_hotReloadNext)++e,A(t.$_hotReloadFactory,t,!0);a.default.log("[HMR] Disposed ",e," instances of ",E.name),N(E.instance),C.forEach(e=>T.releaseCache(e)),e=0;for(let t=O;t;t=t.$_hotReloadNext){++e;let n=t.$_hotReloadFactory,r=n.pushScope(t.$_hotReloadScope);w(n,t,!0),n.restoreScope(r)}a.default.log("[HMR] Updated ",e," instances of ",E.name)})),T;function N(e){if(t=e,n=class extends t{},h.attachAttributes(m,n.prototype,!0),n.prototype.childrenBlocks=h.attachBlockTemplates(y),n.prototype.sourceAttributes=m,n.prototype.spreadAttributes=g,n.prototype.eventAttributes=k,o=n.prototype.fork,s=n.prototype.render,l=n.prototype.attached,d=n.prototype.detached,l===h.prototype.attached&&(l=null),d===h.prototype.detached&&(d=null),p=n.prototype.dispose,_=n.prototype.definedAttributes,(v=n.prototype.events)&&k){f=[];for(let e=0,t=k.length;e<t;++e){const t=k[e];if(v.indexOf(t.name)>-1)f.push(t);else{var i=r.default.normalizeName(t.name);v.indexOf(i)>-1&&(t.name=i,f.push(t))}}}}function L(e){for(var t=0,n=f.length;t<n;++t){var r=f[t];e.on(r.name,r.value)}}function w(e,t,r){var a=u;u=c||{},c=null,u.scope=o?e.scope.fork():e.scope,u.data=t,u.factory=e,u.spreads=g,u.definedAttributes=_;var d=new n;u.scope=null,u.data=null,c=u,u=a,b&&b(t,d),f&&L(d);var p=e.pushScope(d.scope);e.gotoAfterView(t.$_view),t.$_view.template.cache(e,t.$_view);var h,{parentNode:v,nextNode:m}=e,y=s&&s.call(d);y&&y.template?((h=y.template.make(e)).$_parent=t,h.$_scope=y):h=i.default.EmptyTemplate.make(e),e.parentNode=v,e.nextNode=m,t.$_view=h,h.template.run(e,h),e.restoreScope(p),l&&l.call(d),!r&&E&&(t.$_hotReloadFactory=e,t.$_hotReloadScope=e.scope,t.$_hotReloadNext=O,O&&(O.$_hotReloadPrevious=t),O=t)}function A(e,t,n){var r=t.$_component;!n&&E&&(t.$_hotReloadFactory=e,O===t&&(O=t.$_hotReloadNext),t.$_hotReloadNext&&(t.$_hotReloadNext.$_hotReloadPrevious=t.$_hotReloadPrevious),t.$_hotReloadPrevious&&(t.$_hotReloadPrevious.$_hotReloadNext=t.$_hotReloadNext),t.$_hotReloadScope=null,t.$_hotReloadNext=null,t.$_hotReloadPrevious=null,t.$_hotReloadFactory=null,C.add(e)),d&&d.call(r);var i=t.$_view;i.template.dispose(e,i),f&&function(e){for(var t=0,n=f.length;t<n;++t){var r=f[t];e.off(r.name,r.value)}}(r),b&&b(t,null),p&&p.call(r),i.$_parent=null,i.$_scope=null,i.$_factory=null,r.scope=null,r.$_view=null,t.$_component=null}}static makeDynamic(e){var t=(0,s.default)("_dynamicTemplate");return{make(n,r){if(!r)return i.default.EmptyTemplate;var o=r[t];return o&&o.$_base===r||((o=r[t]=n.makeComponent(r,e)).$_base=r),o}}}}t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.register=function(e){return r.push(e)-1};var r=t.templates=[]},function(e,t,n){(function(t,n,r){var i;i=function(){var e,i,o;return function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof _dereq_&&_dereq_;if(!s&&l)return l(a,!0);if(o)return o(a,!0);var u=new Error("Cannot find module '"+a+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[a]={exports:{}};t[a][0].call(c.exports,(function(e){var n=t[a][1][e];return i(n||e)}),c,c.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof _dereq_&&_dereq_,a=0;a<r.length;a++)i(r[a]);return i}({1:[function(e,t,n){"use strict";t.exports=function(e){var t=e._SomePromiseArray;function n(e){var n=new t(e),r=n.promise();return n.setHowMany(1),n.setUnwrap(),n.init(),r}e.any=function(e){return n(e)},e.prototype.any=function(){return n(this)}}},{}],2:[function(e,n,r){"use strict";var i;try{throw new Error}catch(e){i=e}var o=e("./schedule"),a=e("./queue");function s(){this._customScheduler=!1,this._isTickUsed=!1,this._lateQueue=new a(16),this._normalQueue=new a(16),this._haveDrainedQueues=!1;var e=this;this.drainQueues=function(){e._drainQueues()},this._schedule=o}function l(e){for(;e.length()>0;)u(e)}function u(e){var t=e.shift();if("function"!=typeof t)t._settlePromises();else{var n=e.shift(),r=e.shift();t.call(n,r)}}s.prototype.setScheduler=function(e){var t=this._schedule;return this._schedule=e,this._customScheduler=!0,t},s.prototype.hasCustomScheduler=function(){return this._customScheduler},s.prototype.haveItemsQueued=function(){return this._isTickUsed||this._haveDrainedQueues},s.prototype.fatalError=function(e,n){n?(t.stderr.write("Fatal "+(e instanceof Error?e.stack:e)+"\n"),t.exit(2)):this.throwLater(e)},s.prototype.throwLater=function(e,t){if(1===arguments.length&&(t=e,e=function(){throw t}),"undefined"!=typeof setTimeout)setTimeout((function(){e(t)}),0);else try{this._schedule((function(){e(t)}))}catch(e){throw new Error("No async scheduler available\n\n    See http://goo.gl/MqrFmX\n")}},s.prototype.invokeLater=function(e,t,n){this._lateQueue.push(e,t,n),this._queueTick()},s.prototype.invoke=function(e,t,n){this._normalQueue.push(e,t,n),this._queueTick()},s.prototype.settlePromises=function(e){this._normalQueue._pushOne(e),this._queueTick()},s.prototype._drainQueues=function(){l(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,l(this._lateQueue)},s.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},s.prototype._reset=function(){this._isTickUsed=!1},n.exports=s,n.exports.firstLineError=i},{"./queue":26,"./schedule":29}],3:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){var i=!1,o=function(e,t){this._reject(t)},a=function(e,t){t.promiseRejectionQueued=!0,t.bindingPromise._then(o,o,null,this,e)},s=function(e,t){0==(50397184&this._bitField)&&this._resolveCallback(t.target)},l=function(e,t){t.promiseRejectionQueued||this._reject(e)};e.prototype.bind=function(o){i||(i=!0,e.prototype._propagateFrom=r.propagateFromFunction(),e.prototype._boundValue=r.boundValueFunction());var u=n(o),c=new e(t);c._propagateFrom(this,1);var d=this._target();if(c._setBoundTo(u),u instanceof e){var p={promiseRejectionQueued:!1,promise:c,target:d,bindingPromise:u};d._then(t,a,void 0,c,p),u._then(s,l,void 0,c,p),c._setOnCancel(u)}else c._resolveCallback(d);return c},e.prototype._setBoundTo=function(e){void 0!==e?(this._bitField=2097152|this._bitField,this._boundTo=e):this._bitField=-2097153&this._bitField},e.prototype._isBound=function(){return 2097152==(2097152&this._bitField)},e.bind=function(t,n){return e.resolve(n).bind(t)}}},{}],4:[function(e,t,n){"use strict";var r;"undefined"!=typeof Promise&&(r=Promise);var i=e("./promise")();i.noConflict=function(){try{Promise===i&&(Promise=r)}catch(e){}return i},t.exports=i},{"./promise":22}],5:[function(e,t,n){"use strict";var r=Object.create;if(r){var i=r(null),o=r(null);i[" size"]=o[" size"]=0}t.exports=function(t){var n=e("./util"),r=n.canEvaluate;function i(e){return function(e,r){var i;if(null!=e&&(i=e[r]),"function"!=typeof i){var o="Object "+n.classString(e)+" has no method '"+n.toString(r)+"'";throw new t.TypeError(o)}return i}(e,this.pop()).apply(e,this)}function o(e){return e[this]}function a(e){var t=+this;return t<0&&(t=Math.max(0,t+e.length)),e[t]}n.isIdentifier,t.prototype.call=function(e){var t=[].slice.call(arguments,1);return t.push(e),this._then(i,void 0,void 0,t,void 0)},t.prototype.get=function(e){var t;if("number"==typeof e)t=a;else if(r){var n=(void 0)(e);t=null!==n?n:o}else t=o;return this._then(t,void 0,void 0,e,void 0)}}},{"./util":36}],6:[function(e,t,n){"use strict";t.exports=function(t,n,r,i){var o=e("./util"),a=o.tryCatch,s=o.errorObj,l=t._async;t.prototype.break=t.prototype.cancel=function(){if(!i.cancellation())return this._warn("cancellation is disabled");for(var e=this,t=e;e._isCancellable();){if(!e._cancelBy(t)){t._isFollowing()?t._followee().cancel():t._cancelBranched();break}var n=e._cancellationParent;if(null==n||!n._isCancellable()){e._isFollowing()?e._followee().cancel():e._cancelBranched();break}e._isFollowing()&&e._followee().cancel(),e._setWillBeCancelled(),t=e,e=n}},t.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},t.prototype._enoughBranchesHaveCancelled=function(){return void 0===this._branchesRemainingToCancel||this._branchesRemainingToCancel<=0},t.prototype._cancelBy=function(e){return e===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),!!this._enoughBranchesHaveCancelled()&&(this._invokeOnCancel(),!0))},t.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},t.prototype._cancel=function(){this._isCancellable()&&(this._setCancelled(),l.invoke(this._cancelPromises,this,void 0))},t.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},t.prototype._unsetOnCancel=function(){this._onCancelField=void 0},t.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},t.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},t.prototype._doInvokeOnCancel=function(e,t){if(o.isArray(e))for(var n=0;n<e.length;++n)this._doInvokeOnCancel(e[n],t);else if(void 0!==e)if("function"==typeof e){if(!t){var r=a(e).call(this._boundValue());r===s&&(this._attachExtraTrace(r.e),l.throwLater(r.e))}}else e._resultCancelled(this)},t.prototype._invokeOnCancel=function(){var e=this._onCancel();this._unsetOnCancel(),l.invoke(this._doInvokeOnCancel,this,e)},t.prototype._invokeInternalOnCancel=function(){this._isCancellable()&&(this._doInvokeOnCancel(this._onCancel(),!0),this._unsetOnCancel())},t.prototype._resultCancelled=function(){this.cancel()}}},{"./util":36}],7:[function(e,t,n){"use strict";t.exports=function(t){var n=e("./util"),r=e("./es5").keys,i=n.tryCatch,o=n.errorObj;return function(e,a,s){return function(l){var u=s._boundValue();e:for(var c=0;c<e.length;++c){var d=e[c];if(d===Error||null!=d&&d.prototype instanceof Error){if(l instanceof d)return i(a).call(u,l)}else if("function"==typeof d){var p=i(d).call(u,l);if(p===o)return p;if(p)return i(a).call(u,l)}else if(n.isObject(l)){for(var f=r(d),h=0;h<f.length;++h){var _=f[h];if(d[_]!=l[_])continue e}return i(a).call(u,l)}}return t}}}},{"./es5":13,"./util":36}],8:[function(e,t,n){"use strict";t.exports=function(e){var t=!1,n=[];function r(){this._trace=new r.CapturedTrace(i())}function i(){var e=n.length-1;if(e>=0)return n[e]}return e.prototype._promiseCreated=function(){},e.prototype._pushContext=function(){},e.prototype._popContext=function(){return null},e._peekContext=e.prototype._peekContext=function(){},r.prototype._pushContext=function(){void 0!==this._trace&&(this._trace._promiseCreated=null,n.push(this._trace))},r.prototype._popContext=function(){if(void 0!==this._trace){var e=n.pop(),t=e._promiseCreated;return e._promiseCreated=null,t}return null},r.CapturedTrace=null,r.create=function(){if(t)return new r},r.deactivateLongStackTraces=function(){},r.activateLongStackTraces=function(){var n=e.prototype._pushContext,o=e.prototype._popContext,a=e._peekContext,s=e.prototype._peekContext,l=e.prototype._promiseCreated;r.deactivateLongStackTraces=function(){e.prototype._pushContext=n,e.prototype._popContext=o,e._peekContext=a,e.prototype._peekContext=s,e.prototype._promiseCreated=l,t=!1},t=!0,e.prototype._pushContext=r.prototype._pushContext,e.prototype._popContext=r.prototype._popContext,e._peekContext=e.prototype._peekContext=i,e.prototype._promiseCreated=function(){var e=this._peekContext();e&&null==e._promiseCreated&&(e._promiseCreated=this)}},r}},{}],9:[function(e,n,r){"use strict";n.exports=function(n,r,i,o){var a,s,l,u,c=n._async,d=e("./errors").Warning,p=e("./util"),f=e("./es5"),h=p.canAttachTrace,_=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,v=/\((?:timers\.js):\d+:\d+\)/,m=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,g=null,y=null,b=!1,k=!(0==p.env("BLUEBIRD_DEBUG")),E=!(0==p.env("BLUEBIRD_WARNINGS")||!k&&!p.env("BLUEBIRD_WARNINGS")),O=!(0==p.env("BLUEBIRD_LONG_STACK_TRACES")||!k&&!p.env("BLUEBIRD_LONG_STACK_TRACES")),C=0!=p.env("BLUEBIRD_W_FORGOTTEN_RETURN")&&(E||!!p.env("BLUEBIRD_W_FORGOTTEN_RETURN"));!function(){var e=[];function t(){for(var t=0;t<e.length;++t)e[t]._notifyUnhandledRejection();r()}function r(){e.length=0}u=function(n){e.push(n),setTimeout(t,1)},f.defineProperty(n,"_unhandledRejectionCheck",{value:t}),f.defineProperty(n,"_unhandledRejectionClear",{value:r})}(),n.prototype.suppressUnhandledRejections=function(){var e=this._target();e._bitField=-1048577&e._bitField|524288},n.prototype._ensurePossibleRejectionHandled=function(){0==(524288&this._bitField)&&(this._setRejectionIsUnhandled(),u(this))},n.prototype._notifyUnhandledRejectionIsHandled=function(){Y("rejectionHandled",a,void 0,this)},n.prototype._setReturnedNonUndefined=function(){this._bitField=268435456|this._bitField},n.prototype._returnedNonUndefined=function(){return 0!=(268435456&this._bitField)},n.prototype._notifyUnhandledRejection=function(){if(this._isRejectionUnhandled()){var e=this._settledValue();this._setUnhandledRejectionIsNotified(),Y("unhandledRejection",s,e,this)}},n.prototype._setUnhandledRejectionIsNotified=function(){this._bitField=262144|this._bitField},n.prototype._unsetUnhandledRejectionIsNotified=function(){this._bitField=-262145&this._bitField},n.prototype._isUnhandledRejectionNotified=function(){return(262144&this._bitField)>0},n.prototype._setRejectionIsUnhandled=function(){this._bitField=1048576|this._bitField},n.prototype._unsetRejectionIsUnhandled=function(){this._bitField=-1048577&this._bitField,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},n.prototype._isRejectionUnhandled=function(){return(1048576&this._bitField)>0},n.prototype._warn=function(e,t,n){return G(e,t,n||this)},n.onPossiblyUnhandledRejection=function(e){var t=n._getContext();s=p.contextBind(t,e)},n.onUnhandledRejectionHandled=function(e){var t=n._getContext();a=p.contextBind(t,e)};var T=function(){};n.longStackTraces=function(){if(c.haveItemsQueued()&&!ne.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n    See http://goo.gl/MqrFmX\n");if(!ne.longStackTraces&&Z()){var e=n.prototype._captureStackTrace,t=n.prototype._attachExtraTrace,i=n.prototype._dereferenceTrace;ne.longStackTraces=!0,T=function(){if(c.haveItemsQueued()&&!ne.longStackTraces)throw new Error("cannot enable long stack traces after promises have been created\n\n    See http://goo.gl/MqrFmX\n");n.prototype._captureStackTrace=e,n.prototype._attachExtraTrace=t,n.prototype._dereferenceTrace=i,r.deactivateLongStackTraces(),ne.longStackTraces=!1},n.prototype._captureStackTrace=U,n.prototype._attachExtraTrace=H,n.prototype._dereferenceTrace=V,r.activateLongStackTraces()}},n.hasLongStackTraces=function(){return ne.longStackTraces&&Z()};var N={unhandledrejection:{before:function(){var e=p.global.onunhandledrejection;return p.global.onunhandledrejection=null,e},after:function(e){p.global.onunhandledrejection=e}},rejectionhandled:{before:function(){var e=p.global.onrejectionhandled;return p.global.onrejectionhandled=null,e},after:function(e){p.global.onrejectionhandled=e}}},L=function(){var e=function(e,t){if(!e)return!p.global.dispatchEvent(t);var n;try{return n=e.before(),!p.global.dispatchEvent(t)}finally{e.after(n)}};try{if("function"==typeof CustomEvent){var t=new CustomEvent("CustomEvent");return p.global.dispatchEvent(t),function(t,n){t=t.toLowerCase();var r=new CustomEvent(t,{detail:n,cancelable:!0});return f.defineProperty(r,"promise",{value:n.promise}),f.defineProperty(r,"reason",{value:n.reason}),e(N[t],r)}}return"function"==typeof Event?(t=new Event("CustomEvent"),p.global.dispatchEvent(t),function(t,n){t=t.toLowerCase();var r=new Event(t,{cancelable:!0});return r.detail=n,f.defineProperty(r,"promise",{value:n.promise}),f.defineProperty(r,"reason",{value:n.reason}),e(N[t],r)}):((t=document.createEvent("CustomEvent")).initCustomEvent("testingtheevent",!1,!0,{}),p.global.dispatchEvent(t),function(t,n){t=t.toLowerCase();var r=document.createEvent("CustomEvent");return r.initCustomEvent(t,!1,!0,n),e(N[t],r)})}catch(e){}return function(){return!1}}(),w=p.isNode?function(){return t.emit.apply(t,arguments)}:p.global?function(e){var t="on"+e.toLowerCase(),n=p.global[t];return!!n&&(n.apply(p.global,[].slice.call(arguments,1)),!0)}:function(){return!1};function A(e,t){return{promise:t}}var S={promiseCreated:A,promiseFulfilled:A,promiseRejected:A,promiseResolved:A,promiseCancelled:A,promiseChained:function(e,t,n){return{promise:t,child:n}},warning:function(e,t){return{warning:t}},unhandledRejection:function(e,t,n){return{reason:t,promise:n}},rejectionHandled:A},x=function(e){var t=!1;try{t=w.apply(null,arguments)}catch(e){c.throwLater(e),t=!0}var n=!1;try{n=L(e,S[e].apply(null,arguments))}catch(e){c.throwLater(e),n=!0}return n||t};function I(){return!1}function R(e,t,n){var r=this;try{e(t,n,(function(e){if("function"!=typeof e)throw new TypeError("onCancel must be a function, got: "+p.toString(e));r._attachCancellationCallback(e)}))}catch(e){return e}}function P(e){if(!this._isCancellable())return this;var t=this._onCancel();void 0!==t?p.isArray(t)?t.push(e):this._setOnCancel([t,e]):this._setOnCancel(e)}function j(){return this._onCancelField}function $(e){this._onCancelField=e}function D(){this._cancellationParent=void 0,this._onCancelField=void 0}function M(e,t){if(0!=(1&t)){this._cancellationParent=e;var n=e._branchesRemainingToCancel;void 0===n&&(n=0),e._branchesRemainingToCancel=n+1}0!=(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)}n.config=function(e){if("longStackTraces"in(e=Object(e))&&(e.longStackTraces?n.longStackTraces():!e.longStackTraces&&n.hasLongStackTraces()&&T()),"warnings"in e){var t=e.warnings;ne.warnings=!!t,C=ne.warnings,p.isObject(t)&&"wForgottenReturn"in t&&(C=!!t.wForgottenReturn)}if("cancellation"in e&&e.cancellation&&!ne.cancellation){if(c.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");n.prototype._clearCancellationData=D,n.prototype._propagateFrom=M,n.prototype._onCancel=j,n.prototype._setOnCancel=$,n.prototype._attachCancellationCallback=P,n.prototype._execute=R,F=M,ne.cancellation=!0}if("monitoring"in e&&(e.monitoring&&!ne.monitoring?(ne.monitoring=!0,n.prototype._fireEvent=x):!e.monitoring&&ne.monitoring&&(ne.monitoring=!1,n.prototype._fireEvent=I)),"asyncHooks"in e&&p.nodeSupportsAsyncResource){var r=ne.asyncHooks,a=!!e.asyncHooks;r!==a&&(ne.asyncHooks=a,a?i():o())}return n},n.prototype._fireEvent=I,n.prototype._execute=function(e,t,n){try{e(t,n)}catch(e){return e}},n.prototype._onCancel=function(){},n.prototype._setOnCancel=function(e){},n.prototype._attachCancellationCallback=function(e){},n.prototype._captureStackTrace=function(){},n.prototype._attachExtraTrace=function(){},n.prototype._dereferenceTrace=function(){},n.prototype._clearCancellationData=function(){},n.prototype._propagateFrom=function(e,t){};var F=function(e,t){0!=(2&t)&&e._isBound()&&this._setBoundTo(e._boundTo)};function B(){var e=this._boundTo;return void 0!==e&&e instanceof n?e.isFulfilled()?e.value():void 0:e}function U(){this._trace=new ee(this._peekContext())}function H(e,t){if(h(e)){var n=this._trace;if(void 0!==n&&t&&(n=n._parent),void 0!==n)n.attachExtraTrace(e);else if(!e.__stackCleaned__){var r=W(e);p.notEnumerableProp(e,"stack",r.message+"\n"+r.stack.join("\n")),p.notEnumerableProp(e,"__stackCleaned__",!0)}}}function V(){this._trace=void 0}function G(e,t,r){if(ne.warnings){var i,o=new d(e);if(t)r._attachExtraTrace(o);else if(ne.longStackTraces&&(i=n._peekContext()))i.attachExtraTrace(o);else{var a=W(o);o.stack=a.message+"\n"+a.stack.join("\n")}x("warning",o)||X(o,"",!0)}}function z(e){for(var t=[],n=0;n<e.length;++n){var r=e[n],i="    (No stack trace)"===r||g.test(r),o=i&&K(r);i&&!o&&(b&&" "!==r.charAt(0)&&(r="    "+r),t.push(r))}return t}function W(e){var t=e.stack,n=e.toString();return t="string"==typeof t&&t.length>0?function(e){for(var t=e.stack.replace(/\s+$/g,"").split("\n"),n=0;n<t.length;++n){var r=t[n];if("    (No stack trace)"===r||g.test(r))break}return n>0&&"SyntaxError"!=e.name&&(t=t.slice(n)),t}(e):["    (No stack trace)"],{message:n,stack:"SyntaxError"==e.name?t:z(t)}}function X(e,t,n){if("undefined"!=typeof console){var r;if(p.isObject(e)){var i=e.stack;r=t+y(i,e)}else r=t+String(e);"function"==typeof l?l(r,n):"function"!=typeof console.log&&"object"!=typeof console.log||console.log(r)}}function Y(e,t,n,r){var i=!1;try{"function"==typeof t&&(i=!0,"rejectionHandled"===e?t(r):t(n,r))}catch(e){c.throwLater(e)}"unhandledRejection"===e?x(e,n,r)||i||X(n,"Unhandled rejection "):x(e,r)}function q(e){var t;if("function"==typeof e)t="[function "+(e.name||"anonymous")+"]";else{if(t=e&&"function"==typeof e.toString?e.toString():p.toString(e),/\[object [a-zA-Z0-9$_]+\]/.test(t))try{t=JSON.stringify(e)}catch(e){}0===t.length&&(t="(empty array)")}return"(<"+function(e){return e.length<41?e:e.substr(0,38)+"..."}(t)+">, no stack trace)"}function Z(){return"function"==typeof te}var K=function(){return!1},Q=/[\/<\(]([^:\/]+):(\d+):(?:\d+)\)?\s*$/;function J(e){var t=e.match(Q);if(t)return{fileName:t[1],line:parseInt(t[2],10)}}function ee(e){this._parent=e,this._promisesCreated=0;var t=this._length=1+(void 0===e?0:e._length);te(this,ee),t>32&&this.uncycle()}p.inherits(ee,Error),r.CapturedTrace=ee,ee.prototype.uncycle=function(){var e=this._length;if(!(e<2)){for(var t=[],n={},r=0,i=this;void 0!==i;++r)t.push(i),i=i._parent;for(r=(e=this._length=r)-1;r>=0;--r){var o=t[r].stack;void 0===n[o]&&(n[o]=r)}for(r=0;r<e;++r){var a=n[t[r].stack];if(void 0!==a&&a!==r){a>0&&(t[a-1]._parent=void 0,t[a-1]._length=1),t[r]._parent=void 0,t[r]._length=1;var s=r>0?t[r-1]:this;a<e-1?(s._parent=t[a+1],s._parent.uncycle(),s._length=s._parent._length+1):(s._parent=void 0,s._length=1);for(var l=s._length+1,u=r-2;u>=0;--u)t[u]._length=l,l++;return}}}},ee.prototype.attachExtraTrace=function(e){if(!e.__stackCleaned__){this.uncycle();for(var t=W(e),n=t.message,r=[t.stack],i=this;void 0!==i;)r.push(z(i.stack.split("\n"))),i=i._parent;!function(e){for(var t=e[0],n=1;n<e.length;++n){for(var r=e[n],i=t.length-1,o=t[i],a=-1,s=r.length-1;s>=0;--s)if(r[s]===o){a=s;break}for(s=a;s>=0;--s){var l=r[s];if(t[i]!==l)break;t.pop(),i--}t=r}}(r),function(e){for(var t=0;t<e.length;++t)(0===e[t].length||t+1<e.length&&e[t][0]===e[t+1][0])&&(e.splice(t,1),t--)}(r),p.notEnumerableProp(e,"stack",function(e,t){for(var n=0;n<t.length-1;++n)t[n].push("From previous event:"),t[n]=t[n].join("\n");return n<t.length&&(t[n]=t[n].join("\n")),e+"\n"+t.join("\n")}(n,r)),p.notEnumerableProp(e,"__stackCleaned__",!0)}};var te=function(){var e=/^\s*at\s*/,t=function(e,t){return"string"==typeof e?e:void 0!==t.name&&void 0!==t.message?t.toString():q(t)};if("number"==typeof Error.stackTraceLimit&&"function"==typeof Error.captureStackTrace){Error.stackTraceLimit+=6,g=e,y=t;var n=Error.captureStackTrace;return K=function(e){return _.test(e)},function(e,t){Error.stackTraceLimit+=6,n(e,t),Error.stackTraceLimit-=6}}var r,i=new Error;if("string"==typeof i.stack&&i.stack.split("\n")[0].indexOf("stackDetection@")>=0)return g=/@/,y=t,b=!0,function(e){e.stack=(new Error).stack};try{throw new Error}catch(e){r="stack"in e}return!("stack"in i)&&r&&"number"==typeof Error.stackTraceLimit?(g=e,y=t,function(e){Error.stackTraceLimit+=6;try{throw new Error}catch(t){e.stack=t.stack}Error.stackTraceLimit-=6}):(y=function(e,t){return"string"==typeof e?e:"object"!=typeof t&&"function"!=typeof t||void 0===t.name||void 0===t.message?q(t):t.toString()},null)}();"undefined"!=typeof console&&void 0!==console.warn&&(l=function(e){console.warn(e)},p.isNode&&t.stderr.isTTY?l=function(e,t){var n=t?"[33m":"[31m";console.warn(n+e+"[0m\n")}:p.isNode||"string"!=typeof(new Error).stack||(l=function(e,t){console.warn("%c"+e,t?"color: darkorange":"color: red")}));var ne={warnings:E,longStackTraces:!1,cancellation:!1,monitoring:!1,asyncHooks:!1};return O&&n.longStackTraces(),{asyncHooks:function(){return ne.asyncHooks},longStackTraces:function(){return ne.longStackTraces},warnings:function(){return ne.warnings},cancellation:function(){return ne.cancellation},monitoring:function(){return ne.monitoring},propagateFromFunction:function(){return F},boundValueFunction:function(){return B},checkForgottenReturns:function(e,t,n,r,i){if(void 0===e&&null!==t&&C){if(void 0!==i&&i._returnedNonUndefined())return;if(0==(65535&r._bitField))return;n&&(n+=" ");var o="",a="";if(t._trace){for(var s=t._trace.stack.split("\n"),l=z(s),u=l.length-1;u>=0;--u){var c=l[u];if(!v.test(c)){var d=c.match(m);d&&(o="at "+d[1]+":"+d[2]+":"+d[3]+" ");break}}if(l.length>0){var p=l[0];for(u=0;u<s.length;++u)if(s[u]===p){u>0&&(a="\n"+s[u-1]);break}}}var f="a promise was created in a "+n+"handler "+o+"but was not returned from it, see http://goo.gl/rRqMUw"+a;r._warn(f,!0,t)}},setBounds:function(e,t){if(Z()){for(var n,r,i=(e.stack||"").split("\n"),o=(t.stack||"").split("\n"),a=-1,s=-1,l=0;l<i.length;++l)if(u=J(i[l])){n=u.fileName,a=u.line;break}for(l=0;l<o.length;++l){var u;if(u=J(o[l])){r=u.fileName,s=u.line;break}}a<0||s<0||!n||!r||n!==r||a>=s||(K=function(e){if(_.test(e))return!0;var t=J(e);return!!(t&&t.fileName===n&&a<=t.line&&t.line<=s)})}},warn:G,deprecated:function(e,t){var n=e+" is deprecated and will be removed in a future version.";return t&&(n+=" Use "+t+" instead."),G(n)},CapturedTrace:ee,fireDomEvent:L,fireGlobalEvent:w}}},{"./errors":12,"./es5":13,"./util":36}],10:[function(e,t,n){"use strict";t.exports=function(e){function t(){return this.value}function n(){throw this.reason}e.prototype.return=e.prototype.thenReturn=function(n){return n instanceof e&&n.suppressUnhandledRejections(),this._then(t,void 0,void 0,{value:n},void 0)},e.prototype.throw=e.prototype.thenThrow=function(e){return this._then(n,void 0,void 0,{reason:e},void 0)},e.prototype.catchThrow=function(e){if(arguments.length<=1)return this._then(void 0,n,void 0,{reason:e},void 0);var t=arguments[1],r=function(){throw t};return this.caught(e,r)},e.prototype.catchReturn=function(n){if(arguments.length<=1)return n instanceof e&&n.suppressUnhandledRejections(),this._then(void 0,t,void 0,{value:n},void 0);var r=arguments[1];r instanceof e&&r.suppressUnhandledRejections();var i=function(){return r};return this.caught(n,i)}}},{}],11:[function(e,t,n){"use strict";t.exports=function(e,t){var n=e.reduce,r=e.all;function i(){return r(this)}e.prototype.each=function(e){return n(this,e,t,0)._then(i,void 0,void 0,this,void 0)},e.prototype.mapSeries=function(e){return n(this,e,t,t)},e.each=function(e,r){return n(e,r,t,0)._then(i,void 0,void 0,e,void 0)},e.mapSeries=function(e,r){return n(e,r,t,t)}}},{}],12:[function(e,t,n){"use strict";var r,i,o=e("./es5"),a=o.freeze,s=e("./util"),l=s.inherits,u=s.notEnumerableProp;function c(e,t){function n(r){if(!(this instanceof n))return new n(r);u(this,"message","string"==typeof r?r:t),u(this,"name",e),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return l(n,Error),n}var d=c("Warning","warning"),p=c("CancellationError","cancellation error"),f=c("TimeoutError","timeout error"),h=c("AggregateError","aggregate error");try{r=TypeError,i=RangeError}catch(e){r=c("TypeError","type error"),i=c("RangeError","range error")}for(var _="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),v=0;v<_.length;++v)"function"==typeof Array.prototype[_[v]]&&(h.prototype[_[v]]=Array.prototype[_[v]]);o.defineProperty(h.prototype,"length",{value:0,configurable:!1,writable:!0,enumerable:!0}),h.prototype.isOperational=!0;var m=0;function g(e){if(!(this instanceof g))return new g(e);u(this,"name","OperationalError"),u(this,"message",e),this.cause=e,this.isOperational=!0,e instanceof Error?(u(this,"message",e.message),u(this,"stack",e.stack)):Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}h.prototype.toString=function(){var e=Array(4*m+1).join(" "),t="\n"+e+"AggregateError of:\n";m++,e=Array(4*m+1).join(" ");for(var n=0;n<this.length;++n){for(var r=this[n]===this?"[Circular AggregateError]":this[n]+"",i=r.split("\n"),o=0;o<i.length;++o)i[o]=e+i[o];t+=(r=i.join("\n"))+"\n"}return m--,t},l(g,Error);var y=Error.__BluebirdErrorTypes__;y||(y=a({CancellationError:p,TimeoutError:f,OperationalError:g,RejectionError:g,AggregateError:h}),o.defineProperty(Error,"__BluebirdErrorTypes__",{value:y,writable:!1,enumerable:!1,configurable:!1})),t.exports={Error:Error,TypeError:r,RangeError:i,CancellationError:y.CancellationError,OperationalError:y.OperationalError,TimeoutError:y.TimeoutError,AggregateError:y.AggregateError,Warning:d}},{"./es5":13,"./util":36}],13:[function(e,t,n){var r=function(){"use strict";return void 0===this}();if(r)t.exports={freeze:Object.freeze,defineProperty:Object.defineProperty,getDescriptor:Object.getOwnPropertyDescriptor,keys:Object.keys,names:Object.getOwnPropertyNames,getPrototypeOf:Object.getPrototypeOf,isArray:Array.isArray,isES5:r,propertyIsWritable:function(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!(n&&!n.writable&&!n.set)}};else{var i={}.hasOwnProperty,o={}.toString,a={}.constructor.prototype,s=function(e){var t=[];for(var n in e)i.call(e,n)&&t.push(n);return t};t.exports={isArray:function(e){try{return"[object Array]"===o.call(e)}catch(e){return!1}},keys:s,names:s,defineProperty:function(e,t,n){return e[t]=n.value,e},getDescriptor:function(e,t){return{value:e[t]}},freeze:function(e){return e},getPrototypeOf:function(e){try{return Object(e).constructor.prototype}catch(e){return a}},isES5:r,propertyIsWritable:function(){return!0}}}},{}],14:[function(e,t,n){"use strict";t.exports=function(e,t){var n=e.map;e.prototype.filter=function(e,r){return n(this,e,r,t)},e.filter=function(e,r,i){return n(e,r,i,t)}}},{}],15:[function(e,t,n){"use strict";t.exports=function(t,n,r){var i=e("./util"),o=t.CancellationError,a=i.errorObj,s=e("./catch_filter")(r);function l(e,t,n){this.promise=e,this.type=t,this.handler=n,this.called=!1,this.cancelPromise=null}function u(e){this.finallyHandler=e}function c(e,t){return null!=e.cancelPromise&&(arguments.length>1?e.cancelPromise._reject(t):e.cancelPromise._cancel(),e.cancelPromise=null,!0)}function d(){return f.call(this,this.promise._target()._settledValue())}function p(e){if(!c(this,e))return a.e=e,a}function f(e){var i=this.promise,s=this.handler;if(!this.called){this.called=!0;var l=this.isFinallyHandler()?s.call(i._boundValue()):s.call(i._boundValue(),e);if(l===r)return l;if(void 0!==l){i._setReturnedNonUndefined();var f=n(l,i);if(f instanceof t){if(null!=this.cancelPromise){if(f._isCancelled()){var h=new o("late cancellation observer");return i._attachExtraTrace(h),a.e=h,a}f.isPending()&&f._attachCancellationCallback(new u(this))}return f._then(d,p,void 0,this,void 0)}}}return i.isRejected()?(c(this),a.e=e,a):(c(this),e)}return l.prototype.isFinallyHandler=function(){return 0===this.type},u.prototype._resultCancelled=function(){c(this.finallyHandler)},t.prototype._passThrough=function(e,t,n,r){return"function"!=typeof e?this.then():this._then(n,r,void 0,new l(this,t,e),void 0)},t.prototype.lastly=t.prototype.finally=function(e){return this._passThrough(e,0,f,f)},t.prototype.tap=function(e){return this._passThrough(e,1,f)},t.prototype.tapCatch=function(e){var n=arguments.length;if(1===n)return this._passThrough(e,1,void 0,f);var r,o=new Array(n-1),a=0;for(r=0;r<n-1;++r){var l=arguments[r];if(!i.isObject(l))return t.reject(new TypeError("tapCatch statement predicate: expecting an object but got "+i.classString(l)));o[a++]=l}o.length=a;var u=arguments[r];return this._passThrough(s(o,u,this),1,void 0,f)},l}},{"./catch_filter":7,"./util":36}],16:[function(e,t,n){"use strict";t.exports=function(t,n,r,i,o,a){var s=e("./errors").TypeError,l=e("./util"),u=l.errorObj,c=l.tryCatch,d=[];function p(e,n,i,o){if(a.cancellation()){var s=new t(r),l=this._finallyPromise=new t(r);this._promise=s.lastly((function(){return l})),s._captureStackTrace(),s._setOnCancel(this)}else(this._promise=new t(r))._captureStackTrace();this._stack=o,this._generatorFunction=e,this._receiver=n,this._generator=void 0,this._yieldHandlers="function"==typeof i?[i].concat(d):d,this._yieldedPromise=null,this._cancellationPhase=!1}l.inherits(p,o),p.prototype._isResolved=function(){return null===this._promise},p.prototype._cleanup=function(){this._promise=this._generator=null,a.cancellation()&&null!==this._finallyPromise&&(this._finallyPromise._fulfill(),this._finallyPromise=null)},p.prototype._promiseCancelled=function(){if(!this._isResolved()){var e;if(void 0!==this._generator.return)this._promise._pushContext(),e=c(this._generator.return).call(this._generator,void 0),this._promise._popContext();else{var n=new t.CancellationError("generator .return() sentinel");t.coroutine.returnSentinel=n,this._promise._attachExtraTrace(n),this._promise._pushContext(),e=c(this._generator.throw).call(this._generator,n),this._promise._popContext()}this._cancellationPhase=!0,this._yieldedPromise=null,this._continue(e)}},p.prototype._promiseFulfilled=function(e){this._yieldedPromise=null,this._promise._pushContext();var t=c(this._generator.next).call(this._generator,e);this._promise._popContext(),this._continue(t)},p.prototype._promiseRejected=function(e){this._yieldedPromise=null,this._promise._attachExtraTrace(e),this._promise._pushContext();var t=c(this._generator.throw).call(this._generator,e);this._promise._popContext(),this._continue(t)},p.prototype._resultCancelled=function(){if(this._yieldedPromise instanceof t){var e=this._yieldedPromise;this._yieldedPromise=null,e.cancel()}},p.prototype.promise=function(){return this._promise},p.prototype._run=function(){this._generator=this._generatorFunction.call(this._receiver),this._receiver=this._generatorFunction=void 0,this._promiseFulfilled(void 0)},p.prototype._continue=function(e){var n=this._promise;if(e===u)return this._cleanup(),this._cancellationPhase?n.cancel():n._rejectCallback(e.e,!1);var r=e.value;if(!0===e.done)return this._cleanup(),this._cancellationPhase?n.cancel():n._resolveCallback(r);var o=i(r,this._promise);if(o instanceof t||null!==(o=function(e,n,r){for(var o=0;o<n.length;++o){r._pushContext();var a=c(n[o])(e);if(r._popContext(),a===u){r._pushContext();var s=t.reject(u.e);return r._popContext(),s}var l=i(a,r);if(l instanceof t)return l}return null}(o,this._yieldHandlers,this._promise))){var a=(o=o._target())._bitField;0==(50397184&a)?(this._yieldedPromise=o,o._proxy(this,null)):0!=(33554432&a)?t._async.invoke(this._promiseFulfilled,this,o._value()):0!=(16777216&a)?t._async.invoke(this._promiseRejected,this,o._reason()):this._promiseCancelled()}else this._promiseRejected(new s("A value %s was yielded that could not be treated as a promise\n\n    See http://goo.gl/MqrFmX\n\n".replace("%s",String(r))+"From coroutine:\n"+this._stack.split("\n").slice(1,-7).join("\n")))},t.coroutine=function(e,t){if("function"!=typeof e)throw new s("generatorFunction must be a function\n\n    See http://goo.gl/MqrFmX\n");var n=Object(t).yieldHandler,r=p,i=(new Error).stack;return function(){var t=e.apply(this,arguments),o=new r(void 0,void 0,n,i),a=o.promise();return o._generator=t,o._promiseFulfilled(void 0),a}},t.coroutine.addYieldHandler=function(e){if("function"!=typeof e)throw new s("expecting a function but got "+l.classString(e));d.push(e)},t.spawn=function(e){if(a.deprecated("Promise.spawn()","Promise.coroutine()"),"function"!=typeof e)return n("generatorFunction must be a function\n\n    See http://goo.gl/MqrFmX\n");var r=new p(e,this),i=r.promise();return r._run(t.spawn),i}}},{"./errors":12,"./util":36}],17:[function(e,t,n){"use strict";t.exports=function(t,n,r,i,o){var a=e("./util");a.canEvaluate,a.tryCatch,a.errorObj,t.join=function(){var e,t=arguments.length-1;t>0&&"function"==typeof arguments[t]&&(e=arguments[t]);var r=[].slice.call(arguments);e&&r.pop();var i=new n(r).promise();return void 0!==e?i.spread(e):i}}},{"./util":36}],18:[function(e,t,n){"use strict";t.exports=function(t,n,r,i,o,a){var s=e("./util"),l=s.tryCatch,u=s.errorObj,c=t._async;function d(e,n,r,i){this.constructor$(e),this._promise._captureStackTrace();var a=t._getContext();if(this._callback=s.contextBind(a,n),this._preservedValues=i===o?new Array(this.length()):null,this._limit=r,this._inFlight=0,this._queue=[],c.invoke(this._asyncInit,this,void 0),s.isArray(e))for(var l=0;l<e.length;++l){var u=e[l];u instanceof t&&u.suppressUnhandledRejections()}}function p(e,n,i,o){if("function"!=typeof n)return r("expecting a function but got "+s.classString(n));var a=0;if(void 0!==i){if("object"!=typeof i||null===i)return t.reject(new TypeError("options argument must be an object but it is "+s.classString(i)));if("number"!=typeof i.concurrency)return t.reject(new TypeError("'concurrency' must be a number but it is "+s.classString(i.concurrency)));a=i.concurrency}return new d(e,n,a="number"==typeof a&&isFinite(a)&&a>=1?a:0,o).promise()}s.inherits(d,n),d.prototype._asyncInit=function(){this._init$(void 0,-2)},d.prototype._init=function(){},d.prototype._promiseFulfilled=function(e,n){var r=this._values,o=this.length(),s=this._preservedValues,c=this._limit;if(n<0){if(r[n=-1*n-1]=e,c>=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(c>=1&&this._inFlight>=c)return r[n]=e,this._queue.push(n),!1;null!==s&&(s[n]=e);var d=this._promise,p=this._callback,f=d._boundValue();d._pushContext();var h=l(p).call(f,e,n,o),_=d._popContext();if(a.checkForgottenReturns(h,_,null!==s?"Promise.filter":"Promise.map",d),h===u)return this._reject(h.e),!0;var v=i(h,this._promise);if(v instanceof t){var m=(v=v._target())._bitField;if(0==(50397184&m))return c>=1&&this._inFlight++,r[n]=v,v._proxy(this,-1*(n+1)),!1;if(0==(33554432&m))return 0!=(16777216&m)?(this._reject(v._reason()),!0):(this._cancel(),!0);h=v._value()}r[n]=h}return++this._totalResolved>=o&&(null!==s?this._filter(r,s):this._resolve(r),!0)},d.prototype._drainQueue=function(){for(var e=this._queue,t=this._limit,n=this._values;e.length>0&&this._inFlight<t;){if(this._isResolved())return;var r=e.pop();this._promiseFulfilled(n[r],r)}},d.prototype._filter=function(e,t){for(var n=t.length,r=new Array(n),i=0,o=0;o<n;++o)e[o]&&(r[i++]=t[o]);r.length=i,this._resolve(r)},d.prototype.preservedValues=function(){return this._preservedValues},t.prototype.map=function(e,t){return p(this,e,t,null)},t.map=function(e,t,n,r){return p(e,t,n,r)}}},{"./util":36}],19:[function(e,t,n){"use strict";t.exports=function(t,n,r,i,o){var a=e("./util"),s=a.tryCatch;t.method=function(e){if("function"!=typeof e)throw new t.TypeError("expecting a function but got "+a.classString(e));return function(){var r=new t(n);r._captureStackTrace(),r._pushContext();var i=s(e).apply(this,arguments),a=r._popContext();return o.checkForgottenReturns(i,a,"Promise.method",r),r._resolveFromSyncValue(i),r}},t.attempt=t.try=function(e){if("function"!=typeof e)return i("expecting a function but got "+a.classString(e));var r,l=new t(n);if(l._captureStackTrace(),l._pushContext(),arguments.length>1){o.deprecated("calling Promise.try with more than 1 argument");var u=arguments[1],c=arguments[2];r=a.isArray(u)?s(e).apply(c,u):s(e).call(c,u)}else r=s(e)();var d=l._popContext();return o.checkForgottenReturns(r,d,"Promise.try",l),l._resolveFromSyncValue(r),l},t.prototype._resolveFromSyncValue=function(e){e===a.errorObj?this._rejectCallback(e.e,!1):this._resolveCallback(e,!0)}}},{"./util":36}],20:[function(e,t,n){"use strict";var r=e("./util"),i=r.maybeWrapAsError,o=e("./errors").OperationalError,a=e("./es5"),s=/^(?:name|message|stack|cause)$/;function l(e){var t;if(function(e){return e instanceof Error&&a.getPrototypeOf(e)===Error.prototype}(e)){(t=new o(e)).name=e.name,t.message=e.message,t.stack=e.stack;for(var n=a.keys(e),i=0;i<n.length;++i){var l=n[i];s.test(l)||(t[l]=e[l])}return t}return r.markAsOriginatingFromRejection(e),e}t.exports=function(e,t){return function(n,r){if(null!==e){if(n){var o=l(i(n));e._attachExtraTrace(o),e._reject(o)}else if(t){var a=[].slice.call(arguments,1);e._fulfill(a)}else e._fulfill(r);e=null}}}},{"./errors":12,"./es5":13,"./util":36}],21:[function(e,t,n){"use strict";t.exports=function(t){var n=e("./util"),r=t._async,i=n.tryCatch,o=n.errorObj;function a(e,t){if(!n.isArray(e))return s.call(this,e,t);var a=i(t).apply(this._boundValue(),[null].concat(e));a===o&&r.throwLater(a.e)}function s(e,t){var n=this._boundValue(),a=void 0===e?i(t).call(n,null):i(t).call(n,null,e);a===o&&r.throwLater(a.e)}function l(e,t){if(!e){var n=new Error(e+"");n.cause=e,e=n}var a=i(t).call(this._boundValue(),e);a===o&&r.throwLater(a.e)}t.prototype.asCallback=t.prototype.nodeify=function(e,t){if("function"==typeof e){var n=s;void 0!==t&&Object(t).spread&&(n=a),this._then(n,l,void 0,this,e)}return this}}},{"./util":36}],22:[function(e,n,r){"use strict";n.exports=function(){var r=function(){return new g("circular promise resolution chain\n\n    See http://goo.gl/MqrFmX\n")},i=function(){return new R.PromiseInspection(this._target())},o=function(e){return R.reject(new g(e))};function a(){}var s={},l=e("./util");l.setReflectHandler(i);var u=function(){var e=t.domain;return void 0===e?null:e},c=function(){return{domain:u(),async:null}},d=l.isNode&&l.nodeSupportsAsyncResource?e("async_hooks").AsyncResource:null,p=function(){return{domain:u(),async:new d("Bluebird::Promise")}},f=l.isNode?c:function(){return null};l.notEnumerableProp(R,"_getContext",f);var h=e("./es5"),_=e("./async"),v=new _;h.defineProperty(R,"_async",{value:v});var m=e("./errors"),g=R.TypeError=m.TypeError;R.RangeError=m.RangeError;var y=R.CancellationError=m.CancellationError;R.TimeoutError=m.TimeoutError,R.OperationalError=m.OperationalError,R.RejectionError=m.OperationalError,R.AggregateError=m.AggregateError;var b=function(){},k={},E={},O=e("./thenables")(R,b),C=e("./promise_array")(R,b,O,o,a),T=e("./context")(R),N=T.create,L=e("./debuggability")(R,T,(function(){f=p,l.notEnumerableProp(R,"_getContext",p)}),(function(){f=c,l.notEnumerableProp(R,"_getContext",c)})),w=(L.CapturedTrace,e("./finally")(R,O,E)),A=e("./catch_filter")(E),S=e("./nodeback"),x=l.errorObj,I=l.tryCatch;function R(e){e!==b&&function(e,t){if(null==e||e.constructor!==R)throw new g("the promise constructor cannot be invoked directly\n\n    See http://goo.gl/MqrFmX\n");if("function"!=typeof t)throw new g("expecting a function but got "+l.classString(t))}(this,e),this._bitField=0,this._fulfillmentHandler0=void 0,this._rejectionHandler0=void 0,this._promise0=void 0,this._receiver0=void 0,this._resolveFromExecutor(e),this._promiseCreated(),this._fireEvent("promiseCreated",this)}function P(e){this.promise._resolveCallback(e)}function j(e){this.promise._rejectCallback(e,!1)}function $(e){var t=new R(b);t._fulfillmentHandler0=e,t._rejectionHandler0=e,t._promise0=e,t._receiver0=e}return R.prototype.toString=function(){return"[object Promise]"},R.prototype.caught=R.prototype.catch=function(e){var t=arguments.length;if(t>1){var n,r=new Array(t-1),i=0;for(n=0;n<t-1;++n){var a=arguments[n];if(!l.isObject(a))return o("Catch statement predicate: expecting an object but got "+l.classString(a));r[i++]=a}if(r.length=i,"function"!=typeof(e=arguments[n]))throw new g("The last argument to .catch() must be a function, got "+l.toString(e));return this.then(void 0,A(r,e,this))}return this.then(void 0,e)},R.prototype.reflect=function(){return this._then(i,i,void 0,this,void 0)},R.prototype.then=function(e,t){if(L.warnings()&&arguments.length>0&&"function"!=typeof e&&"function"!=typeof t){var n=".then() only accepts functions but was passed: "+l.classString(e);arguments.length>1&&(n+=", "+l.classString(t)),this._warn(n)}return this._then(e,t,void 0,void 0,void 0)},R.prototype.done=function(e,t){this._then(e,t,void 0,void 0,void 0)._setIsFinal()},R.prototype.spread=function(e){return"function"!=typeof e?o("expecting a function but got "+l.classString(e)):this.all()._then(e,void 0,void 0,k,void 0)},R.prototype.toJSON=function(){var e={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(e.fulfillmentValue=this.value(),e.isFulfilled=!0):this.isRejected()&&(e.rejectionReason=this.reason(),e.isRejected=!0),e},R.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new C(this).promise()},R.prototype.error=function(e){return this.caught(l.originatesFromRejection,e)},R.getNewLibraryCopy=n.exports,R.is=function(e){return e instanceof R},R.fromNode=R.fromCallback=function(e){var t=new R(b);t._captureStackTrace();var n=arguments.length>1&&!!Object(arguments[1]).multiArgs,r=I(e)(S(t,n));return r===x&&t._rejectCallback(r.e,!0),t._isFateSealed()||t._setAsyncGuaranteed(),t},R.all=function(e){return new C(e).promise()},R.cast=function(e){var t=O(e);return t instanceof R||((t=new R(b))._captureStackTrace(),t._setFulfilled(),t._rejectionHandler0=e),t},R.resolve=R.fulfilled=R.cast,R.reject=R.rejected=function(e){var t=new R(b);return t._captureStackTrace(),t._rejectCallback(e,!0),t},R.setScheduler=function(e){if("function"!=typeof e)throw new g("expecting a function but got "+l.classString(e));return v.setScheduler(e)},R.prototype._then=function(e,t,n,r,i){var o=void 0!==i,a=o?i:new R(b),s=this._target(),u=s._bitField;o||(a._propagateFrom(this,3),a._captureStackTrace(),void 0===r&&0!=(2097152&this._bitField)&&(r=0!=(50397184&u)?this._boundValue():s===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,a));var c=f();if(0!=(50397184&u)){var d,p,h=s._settlePromiseCtx;0!=(33554432&u)?(p=s._rejectionHandler0,d=e):0!=(16777216&u)?(p=s._fulfillmentHandler0,d=t,s._unsetRejectionIsUnhandled()):(h=s._settlePromiseLateCancellationObserver,p=new y("late cancellation observer"),s._attachExtraTrace(p),d=t),v.invoke(h,s,{handler:l.contextBind(c,d),promise:a,receiver:r,value:p})}else s._addCallbacks(e,t,a,r,c);return a},R.prototype._length=function(){return 65535&this._bitField},R.prototype._isFateSealed=function(){return 0!=(117506048&this._bitField)},R.prototype._isFollowing=function(){return 67108864==(67108864&this._bitField)},R.prototype._setLength=function(e){this._bitField=-65536&this._bitField|65535&e},R.prototype._setFulfilled=function(){this._bitField=33554432|this._bitField,this._fireEvent("promiseFulfilled",this)},R.prototype._setRejected=function(){this._bitField=16777216|this._bitField,this._fireEvent("promiseRejected",this)},R.prototype._setFollowing=function(){this._bitField=67108864|this._bitField,this._fireEvent("promiseResolved",this)},R.prototype._setIsFinal=function(){this._bitField=4194304|this._bitField},R.prototype._isFinal=function(){return(4194304&this._bitField)>0},R.prototype._unsetCancelled=function(){this._bitField=-65537&this._bitField},R.prototype._setCancelled=function(){this._bitField=65536|this._bitField,this._fireEvent("promiseCancelled",this)},R.prototype._setWillBeCancelled=function(){this._bitField=8388608|this._bitField},R.prototype._setAsyncGuaranteed=function(){if(!v.hasCustomScheduler()){var e=this._bitField;this._bitField=e|(536870912&e)>>2^134217728}},R.prototype._setNoAsyncGuarantee=function(){this._bitField=-134217729&(536870912|this._bitField)},R.prototype._receiverAt=function(e){var t=0===e?this._receiver0:this[4*e-4+3];if(t!==s)return void 0===t&&this._isBound()?this._boundValue():t},R.prototype._promiseAt=function(e){return this[4*e-4+2]},R.prototype._fulfillmentHandlerAt=function(e){return this[4*e-4+0]},R.prototype._rejectionHandlerAt=function(e){return this[4*e-4+1]},R.prototype._boundValue=function(){},R.prototype._migrateCallback0=function(e){e._bitField;var t=e._fulfillmentHandler0,n=e._rejectionHandler0,r=e._promise0,i=e._receiverAt(0);void 0===i&&(i=s),this._addCallbacks(t,n,r,i,null)},R.prototype._migrateCallbackAt=function(e,t){var n=e._fulfillmentHandlerAt(t),r=e._rejectionHandlerAt(t),i=e._promiseAt(t),o=e._receiverAt(t);void 0===o&&(o=s),this._addCallbacks(n,r,i,o,null)},R.prototype._addCallbacks=function(e,t,n,r,i){var o=this._length();if(o>=65531&&(o=0,this._setLength(0)),0===o)this._promise0=n,this._receiver0=r,"function"==typeof e&&(this._fulfillmentHandler0=l.contextBind(i,e)),"function"==typeof t&&(this._rejectionHandler0=l.contextBind(i,t));else{var a=4*o-4;this[a+2]=n,this[a+3]=r,"function"==typeof e&&(this[a+0]=l.contextBind(i,e)),"function"==typeof t&&(this[a+1]=l.contextBind(i,t))}return this._setLength(o+1),o},R.prototype._proxy=function(e,t){this._addCallbacks(void 0,void 0,t,e,null)},R.prototype._resolveCallback=function(e,t){if(0==(117506048&this._bitField)){if(e===this)return this._rejectCallback(r(),!1);var n=O(e,this);if(!(n instanceof R))return this._fulfill(e);t&&this._propagateFrom(n,2);var i=n._target();if(i!==this){var o=i._bitField;if(0==(50397184&o)){var a=this._length();a>0&&i._migrateCallback0(this);for(var s=1;s<a;++s)i._migrateCallbackAt(this,s);this._setFollowing(),this._setLength(0),this._setFollowee(n)}else if(0!=(33554432&o))this._fulfill(i._value());else if(0!=(16777216&o))this._reject(i._reason());else{var l=new y("late cancellation observer");i._attachExtraTrace(l),this._reject(l)}}else this._reject(r())}},R.prototype._rejectCallback=function(e,t,n){var r=l.ensureErrorObject(e),i=r===e;if(!i&&!n&&L.warnings()){var o="a promise was rejected with a non-error: "+l.classString(e);this._warn(o,!0)}this._attachExtraTrace(r,!!t&&i),this._reject(e)},R.prototype._resolveFromExecutor=function(e){if(e!==b){var t=this;this._captureStackTrace(),this._pushContext();var n=!0,r=this._execute(e,(function(e){t._resolveCallback(e)}),(function(e){t._rejectCallback(e,n)}));n=!1,this._popContext(),void 0!==r&&t._rejectCallback(r,!0)}},R.prototype._settlePromiseFromHandler=function(e,t,n,r){var i=r._bitField;if(0==(65536&i)){var o;r._pushContext(),t===k?n&&"number"==typeof n.length?o=I(e).apply(this._boundValue(),n):(o=x).e=new g("cannot .spread() a non-array: "+l.classString(n)):o=I(e).call(t,n);var a=r._popContext();0==(65536&(i=r._bitField))&&(o===E?r._reject(n):o===x?r._rejectCallback(o.e,!1):(L.checkForgottenReturns(o,a,"",r,this),r._resolveCallback(o)))}},R.prototype._target=function(){for(var e=this;e._isFollowing();)e=e._followee();return e},R.prototype._followee=function(){return this._rejectionHandler0},R.prototype._setFollowee=function(e){this._rejectionHandler0=e},R.prototype._settlePromise=function(e,t,n,r){var o=e instanceof R,s=this._bitField,l=0!=(134217728&s);0!=(65536&s)?(o&&e._invokeInternalOnCancel(),n instanceof w&&n.isFinallyHandler()?(n.cancelPromise=e,I(t).call(n,r)===x&&e._reject(x.e)):t===i?e._fulfill(i.call(n)):n instanceof a?n._promiseCancelled(e):o||e instanceof C?e._cancel():n.cancel()):"function"==typeof t?o?(l&&e._setAsyncGuaranteed(),this._settlePromiseFromHandler(t,n,r,e)):t.call(n,r,e):n instanceof a?n._isResolved()||(0!=(33554432&s)?n._promiseFulfilled(r,e):n._promiseRejected(r,e)):o&&(l&&e._setAsyncGuaranteed(),0!=(33554432&s)?e._fulfill(r):e._reject(r))},R.prototype._settlePromiseLateCancellationObserver=function(e){var t=e.handler,n=e.promise,r=e.receiver,i=e.value;"function"==typeof t?n instanceof R?this._settlePromiseFromHandler(t,r,i,n):t.call(r,i,n):n instanceof R&&n._reject(i)},R.prototype._settlePromiseCtx=function(e){this._settlePromise(e.promise,e.handler,e.receiver,e.value)},R.prototype._settlePromise0=function(e,t,n){var r=this._promise0,i=this._receiverAt(0);this._promise0=void 0,this._receiver0=void 0,this._settlePromise(r,e,i,t)},R.prototype._clearCallbackDataAtIndex=function(e){var t=4*e-4;this[t+2]=this[t+3]=this[t+0]=this[t+1]=void 0},R.prototype._fulfill=function(e){var t=this._bitField;if(!((117506048&t)>>>16)){if(e===this){var n=r();return this._attachExtraTrace(n),this._reject(n)}this._setFulfilled(),this._rejectionHandler0=e,(65535&t)>0&&(0!=(134217728&t)?this._settlePromises():v.settlePromises(this),this._dereferenceTrace())}},R.prototype._reject=function(e){var t=this._bitField;if(!((117506048&t)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=e,this._isFinal())return v.fatalError(e,l.isNode);(65535&t)>0?v.settlePromises(this):this._ensurePossibleRejectionHandled()}},R.prototype._fulfillPromises=function(e,t){for(var n=1;n<e;n++){var r=this._fulfillmentHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,t)}},R.prototype._rejectPromises=function(e,t){for(var n=1;n<e;n++){var r=this._rejectionHandlerAt(n),i=this._promiseAt(n),o=this._receiverAt(n);this._clearCallbackDataAtIndex(n),this._settlePromise(i,r,o,t)}},R.prototype._settlePromises=function(){var e=this._bitField,t=65535&e;if(t>0){if(0!=(16842752&e)){var n=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,n,e),this._rejectPromises(t,n)}else{var r=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,r,e),this._fulfillPromises(t,r)}this._setLength(0)}this._clearCancellationData()},R.prototype._settledValue=function(){var e=this._bitField;return 0!=(33554432&e)?this._rejectionHandler0:0!=(16777216&e)?this._fulfillmentHandler0:void 0},"undefined"!=typeof Symbol&&Symbol.toStringTag&&h.defineProperty(R.prototype,Symbol.toStringTag,{get:function(){return"Object"}}),R.defer=R.pending=function(){return L.deprecated("Promise.defer","new Promise"),{promise:new R(b),resolve:P,reject:j}},l.notEnumerableProp(R,"_makeSelfResolutionError",r),e("./method")(R,b,O,o,L),e("./bind")(R,b,O,L),e("./cancel")(R,C,o,L),e("./direct_resolve")(R),e("./synchronous_inspection")(R),e("./join")(R,C,O,b,v),R.Promise=R,R.version="3.7.2",e("./call_get.js")(R),e("./generators.js")(R,o,b,O,a,L),e("./map.js")(R,C,o,O,b,L),e("./nodeify.js")(R),e("./promisify.js")(R,b),e("./props.js")(R,C,O,o),e("./race.js")(R,b,O,o),e("./reduce.js")(R,C,o,O,b,L),e("./settle.js")(R,C,L),e("./some.js")(R,C,o),e("./timers.js")(R,b,L),e("./using.js")(R,o,O,N,b,L),e("./any.js")(R),e("./each.js")(R,b),e("./filter.js")(R,b),l.toFastProperties(R),l.toFastProperties(R.prototype),$({a:1}),$({b:2}),$({c:3}),$(1),$((function(){})),$(void 0),$(!1),$(new R(b)),L.setBounds(_.firstLineError,l.lastLineError),R}},{"./any.js":1,"./async":2,"./bind":3,"./call_get.js":5,"./cancel":6,"./catch_filter":7,"./context":8,"./debuggability":9,"./direct_resolve":10,"./each.js":11,"./errors":12,"./es5":13,"./filter.js":14,"./finally":15,"./generators.js":16,"./join":17,"./map.js":18,"./method":19,"./nodeback":20,"./nodeify.js":21,"./promise_array":23,"./promisify.js":24,"./props.js":25,"./race.js":27,"./reduce.js":28,"./settle.js":30,"./some.js":31,"./synchronous_inspection":32,"./thenables":33,"./timers.js":34,"./using.js":35,"./util":36,async_hooks:void 0}],23:[function(e,t,n){"use strict";t.exports=function(t,n,r,i,o){var a=e("./util");function s(e){var r=this._promise=new t(n);e instanceof t&&(r._propagateFrom(e,3),e.suppressUnhandledRejections()),r._setOnCancel(this),this._values=e,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return a.isArray,a.inherits(s,o),s.prototype.length=function(){return this._length},s.prototype.promise=function(){return this._promise},s.prototype._init=function e(n,o){var s=r(this._values,this._promise);if(s instanceof t){var l=(s=s._target())._bitField;if(this._values=s,0==(50397184&l))return this._promise._setAsyncGuaranteed(),s._then(e,this._reject,void 0,this,o);if(0==(33554432&l))return 0!=(16777216&l)?this._reject(s._reason()):this._cancel();s=s._value()}if(null!==(s=a.asArray(s)))0!==s.length?this._iterate(s):-5===o?this._resolveEmptyArray():this._resolve(function(e){switch(e){case-2:return[];case-3:return{};case-6:return new Map}}(o));else{var u=i("expecting an array or an iterable object but got "+a.classString(s)).reason();this._promise._rejectCallback(u,!1)}},s.prototype._iterate=function(e){var n=this.getActualLength(e.length);this._length=n,this._values=this.shouldCopyValues()?new Array(n):this._values;for(var i=this._promise,o=!1,a=null,s=0;s<n;++s){var l=r(e[s],i);a=l instanceof t?(l=l._target())._bitField:null,o?null!==a&&l.suppressUnhandledRejections():null!==a?0==(50397184&a)?(l._proxy(this,s),this._values[s]=l):o=0!=(33554432&a)?this._promiseFulfilled(l._value(),s):0!=(16777216&a)?this._promiseRejected(l._reason(),s):this._promiseCancelled(s):o=this._promiseFulfilled(l,s)}o||i._setAsyncGuaranteed()},s.prototype._isResolved=function(){return null===this._values},s.prototype._resolve=function(e){this._values=null,this._promise._fulfill(e)},s.prototype._cancel=function(){!this._isResolved()&&this._promise._isCancellable()&&(this._values=null,this._promise._cancel())},s.prototype._reject=function(e){this._values=null,this._promise._rejectCallback(e,!1)},s.prototype._promiseFulfilled=function(e,t){return this._values[t]=e,++this._totalResolved>=this._length&&(this._resolve(this._values),!0)},s.prototype._promiseCancelled=function(){return this._cancel(),!0},s.prototype._promiseRejected=function(e){return this._totalResolved++,this._reject(e),!0},s.prototype._resultCancelled=function(){if(!this._isResolved()){var e=this._values;if(this._cancel(),e instanceof t)e.cancel();else for(var n=0;n<e.length;++n)e[n]instanceof t&&e[n].cancel()}},s.prototype.shouldCopyValues=function(){return!0},s.prototype.getActualLength=function(e){return e},s}},{"./util":36}],24:[function(e,t,n){"use strict";t.exports=function(t,n){var r={},i=e("./util"),o=e("./nodeback"),a=i.withAppended,s=i.maybeWrapAsError,l=i.canEvaluate,u=e("./errors").TypeError,c={__isPromisified__:!0},d=new RegExp("^(?:"+["arity","length","name","arguments","caller","callee","prototype","__isPromisified__"].join("|")+")$"),p=function(e){return i.isIdentifier(e)&&"_"!==e.charAt(0)&&"constructor"!==e};function f(e){return!d.test(e)}function h(e){try{return!0===e.__isPromisified__}catch(e){return!1}}function _(e,t,n){var r=i.getDataPropertyOrDefault(e,t+n,c);return!!r&&h(r)}function v(e,t,n,r){for(var o=i.inheritedDataKeys(e),a=[],s=0;s<o.length;++s){var l=o[s],c=e[l],d=r===p||p(l);"function"!=typeof c||h(c)||_(e,l,t)||!r(l,c,e,d)||a.push(l,c)}return function(e,t,n){for(var r=0;r<e.length;r+=2){var i=e[r];if(n.test(i))for(var o=i.replace(n,""),a=0;a<e.length;a+=2)if(e[a]===o)throw new u("Cannot promisify an API that has normal methods with '%s'-suffix\n\n    See http://goo.gl/MqrFmX\n".replace("%s",t))}}(a,t,n),a}var m=l?void 0:function(e,l,u,c,d,p){var f=function(){return this}(),h=e;function _(){var i=l;l===r&&(i=this);var u=new t(n);u._captureStackTrace();var c="string"==typeof h&&this!==f?this[h]:e,d=o(u,p);try{c.apply(i,a(arguments,d))}catch(e){u._rejectCallback(s(e),!0,!0)}return u._isFateSealed()||u._setAsyncGuaranteed(),u}return"string"==typeof h&&(e=c),i.notEnumerableProp(_,"__isPromisified__",!0),_};function g(e,t,n,o,a){for(var s=new RegExp(t.replace(/([$])/,"\\$")+"$"),l=v(e,t,s,n),u=0,c=l.length;u<c;u+=2){var d=l[u],p=l[u+1],f=d+t;if(o===m)e[f]=m(d,r,d,p,t,a);else{var h=o(p,(function(){return m(d,r,d,p,t,a)}));i.notEnumerableProp(h,"__isPromisified__",!0),e[f]=h}}return i.toFastProperties(e),e}t.promisify=function(e,t){if("function"!=typeof e)throw new u("expecting a function but got "+i.classString(e));if(h(e))return e;var n=function(e,t,n){return m(e,t,void 0,e,null,n)}(e,void 0===(t=Object(t)).context?r:t.context,!!t.multiArgs);return i.copyDescriptors(e,n,f),n},t.promisifyAll=function(e,t){if("function"!=typeof e&&"object"!=typeof e)throw new u("the target of promisifyAll must be an object or a function\n\n    See http://goo.gl/MqrFmX\n");var n=!!(t=Object(t)).multiArgs,r=t.suffix;"string"!=typeof r&&(r="Async");var o=t.filter;"function"!=typeof o&&(o=p);var a=t.promisifier;if("function"!=typeof a&&(a=m),!i.isIdentifier(r))throw new RangeError("suffix must be a valid identifier\n\n    See http://goo.gl/MqrFmX\n");for(var s=i.inheritedDataKeys(e),l=0;l<s.length;++l){var c=e[s[l]];"constructor"!==s[l]&&i.isClass(c)&&(g(c.prototype,r,o,a,n),g(c,r,o,a,n))}return g(e,r,o,a,n)}}},{"./errors":12,"./nodeback":20,"./util":36}],25:[function(e,t,n){"use strict";t.exports=function(t,n,r,i){var o,a=e("./util"),s=a.isObject,l=e("./es5");"function"==typeof Map&&(o=Map);var u=function(){var e=0,t=0;function n(n,r){this[e]=n,this[e+t]=r,e++}return function(r){t=r.size,e=0;var i=new Array(2*r.size);return r.forEach(n,i),i}}();function c(e){var t,n=!1;if(void 0!==o&&e instanceof o)t=u(e),n=!0;else{var r=l.keys(e),i=r.length;t=new Array(2*i);for(var a=0;a<i;++a){var s=r[a];t[a]=e[s],t[a+i]=s}}this.constructor$(t),this._isMap=n,this._init$(void 0,n?-6:-3)}function d(e){var n,o=r(e);return s(o)?(n=o instanceof t?o._then(t.props,void 0,void 0,void 0,void 0):new c(o).promise(),o instanceof t&&n._propagateFrom(o,2),n):i("cannot await properties of a non-object\n\n    See http://goo.gl/MqrFmX\n")}a.inherits(c,n),c.prototype._init=function(){},c.prototype._promiseFulfilled=function(e,t){if(this._values[t]=e,++this._totalResolved>=this._length){var n;if(this._isMap)n=function(e){for(var t=new o,n=e.length/2|0,r=0;r<n;++r){var i=e[n+r],a=e[r];t.set(i,a)}return t}(this._values);else{n={};for(var r=this.length(),i=0,a=this.length();i<a;++i)n[this._values[i+r]]=this._values[i]}return this._resolve(n),!0}return!1},c.prototype.shouldCopyValues=function(){return!1},c.prototype.getActualLength=function(e){return e>>1},t.prototype.props=function(){return d(this)},t.props=function(e){return d(e)}}},{"./es5":13,"./util":36}],26:[function(e,t,n){"use strict";function r(e){this._capacity=e,this._length=0,this._front=0}r.prototype._willBeOverCapacity=function(e){return this._capacity<e},r.prototype._pushOne=function(e){var t=this.length();this._checkCapacity(t+1),this[this._front+t&this._capacity-1]=e,this._length=t+1},r.prototype.push=function(e,t,n){var r=this.length()+3;if(this._willBeOverCapacity(r))return this._pushOne(e),this._pushOne(t),void this._pushOne(n);var i=this._front+r-3;this._checkCapacity(r);var o=this._capacity-1;this[i+0&o]=e,this[i+1&o]=t,this[i+2&o]=n,this._length=r},r.prototype.shift=function(){var e=this._front,t=this[e];return this[e]=void 0,this._front=e+1&this._capacity-1,this._length--,t},r.prototype.length=function(){return this._length},r.prototype._checkCapacity=function(e){this._capacity<e&&this._resizeTo(this._capacity<<1)},r.prototype._resizeTo=function(e){var t=this._capacity;this._capacity=e,function(e,t,n,r,i){for(var o=0;o<i;++o)n[o+r]=e[o+t],e[o+t]=void 0}(this,0,this,t,this._front+this._length&t-1)},t.exports=r},{}],27:[function(e,t,n){"use strict";t.exports=function(t,n,r,i){var o=e("./util");function a(e,s){var l,u=r(e);if(u instanceof t)return(l=u).then((function(e){return a(e,l)}));if(null===(e=o.asArray(e)))return i("expecting an array or an iterable object but got "+o.classString(e));var c=new t(n);void 0!==s&&c._propagateFrom(s,3);for(var d=c._fulfill,p=c._reject,f=0,h=e.length;f<h;++f){var _=e[f];(void 0!==_||f in e)&&t.cast(_)._then(d,p,void 0,c,null)}return c}t.race=function(e){return a(e,void 0)},t.prototype.race=function(){return a(this,void 0)}}},{"./util":36}],28:[function(e,t,n){"use strict";t.exports=function(t,n,r,i,o,a){var s=e("./util"),l=s.tryCatch;function u(e,n,r,i){this.constructor$(e);var a=t._getContext();this._fn=s.contextBind(a,n),void 0!==r&&(r=t.resolve(r))._attachCancellationCallback(this),this._initialValue=r,this._currentCancellable=null,this._eachValues=i===o?Array(this._length):0===i?null:void 0,this._promise._captureStackTrace(),this._init$(void 0,-5)}function c(e,t){this.isFulfilled()?t._resolve(e):t._reject(e)}function d(e,t,n,i){return"function"!=typeof t?r("expecting a function but got "+s.classString(t)):new u(e,t,n,i).promise()}function p(e){this.accum=e,this.array._gotAccum(e);var n=i(this.value,this.array._promise);return n instanceof t?(this.array._currentCancellable=n,n._then(f,void 0,void 0,this,void 0)):f.call(this,n)}function f(e){var n,r=this.array,i=r._promise,o=l(r._fn);i._pushContext(),(n=void 0!==r._eachValues?o.call(i._boundValue(),e,this.index,this.length):o.call(i._boundValue(),this.accum,e,this.index,this.length))instanceof t&&(r._currentCancellable=n);var s=i._popContext();return a.checkForgottenReturns(n,s,void 0!==r._eachValues?"Promise.each":"Promise.reduce",i),n}s.inherits(u,n),u.prototype._gotAccum=function(e){void 0!==this._eachValues&&null!==this._eachValues&&e!==o&&this._eachValues.push(e)},u.prototype._eachComplete=function(e){return null!==this._eachValues&&this._eachValues.push(e),this._eachValues},u.prototype._init=function(){},u.prototype._resolveEmptyArray=function(){this._resolve(void 0!==this._eachValues?this._eachValues:this._initialValue)},u.prototype.shouldCopyValues=function(){return!1},u.prototype._resolve=function(e){this._promise._resolveCallback(e),this._values=null},u.prototype._resultCancelled=function(e){if(e===this._initialValue)return this._cancel();this._isResolved()||(this._resultCancelled$(),this._currentCancellable instanceof t&&this._currentCancellable.cancel(),this._initialValue instanceof t&&this._initialValue.cancel())},u.prototype._iterate=function(e){var n,r;this._values=e;var i=e.length;void 0!==this._initialValue?(n=this._initialValue,r=0):(n=t.resolve(e[0]),r=1),this._currentCancellable=n;for(var o=r;o<i;++o){var a=e[o];a instanceof t&&a.suppressUnhandledRejections()}if(!n.isRejected())for(;r<i;++r){var s={accum:null,value:e[r],index:r,length:i,array:this};n=n._then(p,void 0,void 0,s,void 0),0==(127&r)&&n._setNoAsyncGuarantee()}void 0!==this._eachValues&&(n=n._then(this._eachComplete,void 0,void 0,this,void 0)),n._then(c,c,void 0,n,this)},t.prototype.reduce=function(e,t){return d(this,e,t,null)},t.reduce=function(e,t,n,r){return d(e,t,n,r)}}},{"./util":36}],29:[function(e,i,o){"use strict";var a,s,l,u,c,d=e("./util"),p=d.getNativePromise();if(d.isNode&&"undefined"==typeof MutationObserver){var f=n.setImmediate,h=t.nextTick;a=d.isRecentNode?function(e){f.call(n,e)}:function(e){h.call(t,e)}}else if("function"==typeof p&&"function"==typeof p.resolve){var _=p.resolve();a=function(e){_.then(e)}}else a="undefined"==typeof MutationObserver||"undefined"!=typeof window&&window.navigator&&(window.navigator.standalone||window.cordova)||!("classList"in document.documentElement)?void 0!==r?function(e){r(e)}:"undefined"!=typeof setTimeout?function(e){setTimeout(e,0)}:function(){throw new Error("No async scheduler available\n\n    See http://goo.gl/MqrFmX\n")}:(s=document.createElement("div"),l={attributes:!0},u=!1,c=document.createElement("div"),new MutationObserver((function(){s.classList.toggle("foo"),u=!1})).observe(c,l),function(e){var t=new MutationObserver((function(){t.disconnect(),e()}));t.observe(s,l),u||(u=!0,c.classList.toggle("foo"))});i.exports=a},{"./util":36}],30:[function(e,t,n){"use strict";t.exports=function(t,n,r){var i=t.PromiseInspection;function o(e){this.constructor$(e)}e("./util").inherits(o,n),o.prototype._promiseResolved=function(e,t){return this._values[e]=t,++this._totalResolved>=this._length&&(this._resolve(this._values),!0)},o.prototype._promiseFulfilled=function(e,t){var n=new i;return n._bitField=33554432,n._settledValueField=e,this._promiseResolved(t,n)},o.prototype._promiseRejected=function(e,t){var n=new i;return n._bitField=16777216,n._settledValueField=e,this._promiseResolved(t,n)},t.settle=function(e){return r.deprecated(".settle()",".reflect()"),new o(e).promise()},t.allSettled=function(e){return new o(e).promise()},t.prototype.settle=function(){return t.settle(this)}}},{"./util":36}],31:[function(e,t,n){"use strict";t.exports=function(t,n,r){var i=e("./util"),o=e("./errors").RangeError,a=e("./errors").AggregateError,s=i.isArray,l={};function u(e){this.constructor$(e),this._howMany=0,this._unwrap=!1,this._initialized=!1}function c(e,t){if((0|t)!==t||t<0)return r("expecting a positive integer\n\n    See http://goo.gl/MqrFmX\n");var n=new u(e),i=n.promise();return n.setHowMany(t),n.init(),i}i.inherits(u,n),u.prototype._init=function(){if(this._initialized)if(0!==this._howMany){this._init$(void 0,-5);var e=s(this._values);!this._isResolved()&&e&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}else this._resolve([])},u.prototype.init=function(){this._initialized=!0,this._init()},u.prototype.setUnwrap=function(){this._unwrap=!0},u.prototype.howMany=function(){return this._howMany},u.prototype.setHowMany=function(e){this._howMany=e},u.prototype._promiseFulfilled=function(e){return this._addFulfilled(e),this._fulfilled()===this.howMany()&&(this._values.length=this.howMany(),1===this.howMany()&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0)},u.prototype._promiseRejected=function(e){return this._addRejected(e),this._checkOutcome()},u.prototype._promiseCancelled=function(){return this._values instanceof t||null==this._values?this._cancel():(this._addRejected(l),this._checkOutcome())},u.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var e=new a,t=this.length();t<this._values.length;++t)this._values[t]!==l&&e.push(this._values[t]);return e.length>0?this._reject(e):this._cancel(),!0}return!1},u.prototype._fulfilled=function(){return this._totalResolved},u.prototype._rejected=function(){return this._values.length-this.length()},u.prototype._addRejected=function(e){this._values.push(e)},u.prototype._addFulfilled=function(e){this._values[this._totalResolved++]=e},u.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},u.prototype._getRangeError=function(e){var t="Input array must contain at least "+this._howMany+" items but contains only "+e+" items";return new o(t)},u.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))},t.some=function(e,t){return c(e,t)},t.prototype.some=function(e){return c(this,e)},t._SomePromiseArray=u}},{"./errors":12,"./util":36}],32:[function(e,t,n){"use strict";t.exports=function(e){function t(e){void 0!==e?(e=e._target(),this._bitField=e._bitField,this._settledValueField=e._isFateSealed()?e._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}t.prototype._settledValue=function(){return this._settledValueField};var n=t.prototype.value=function(){if(!this.isFulfilled())throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\n\n    See http://goo.gl/MqrFmX\n");return this._settledValue()},r=t.prototype.error=t.prototype.reason=function(){if(!this.isRejected())throw new TypeError("cannot get rejection reason of a non-rejected promise\n\n    See http://goo.gl/MqrFmX\n");return this._settledValue()},i=t.prototype.isFulfilled=function(){return 0!=(33554432&this._bitField)},o=t.prototype.isRejected=function(){return 0!=(16777216&this._bitField)},a=t.prototype.isPending=function(){return 0==(50397184&this._bitField)},s=t.prototype.isResolved=function(){return 0!=(50331648&this._bitField)};t.prototype.isCancelled=function(){return 0!=(8454144&this._bitField)},e.prototype.__isCancelled=function(){return 65536==(65536&this._bitField)},e.prototype._isCancelled=function(){return this._target().__isCancelled()},e.prototype.isCancelled=function(){return 0!=(8454144&this._target()._bitField)},e.prototype.isPending=function(){return a.call(this._target())},e.prototype.isRejected=function(){return o.call(this._target())},e.prototype.isFulfilled=function(){return i.call(this._target())},e.prototype.isResolved=function(){return s.call(this._target())},e.prototype.value=function(){return n.call(this._target())},e.prototype.reason=function(){var e=this._target();return e._unsetRejectionIsUnhandled(),r.call(e)},e.prototype._value=function(){return this._settledValue()},e.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},e.PromiseInspection=t}},{}],33:[function(e,t,n){"use strict";t.exports=function(t,n){var r=e("./util"),i=r.errorObj,o=r.isObject,a={}.hasOwnProperty;return function(e,s){if(o(e)){if(e instanceof t)return e;var l=function(e){try{return function(e){return e.then}(e)}catch(e){return i.e=e,i}}(e);if(l===i){s&&s._pushContext();var u=t.reject(l.e);return s&&s._popContext(),u}if("function"==typeof l)return function(e){try{return a.call(e,"_promise0")}catch(e){return!1}}(e)?(u=new t(n),e._then(u._fulfill,u._reject,void 0,u,null),u):function(e,o,a){var s=new t(n),l=s;a&&a._pushContext(),s._captureStackTrace(),a&&a._popContext();var u=r.tryCatch(o).call(e,(function(e){s&&(s._resolveCallback(e),s=null)}),(function(e){s&&(s._rejectCallback(e,!1,!0),s=null)}));return s&&u===i&&(s._rejectCallback(u.e,!0,!0),s=null),l}(e,l,s)}return e}}},{"./util":36}],34:[function(e,t,n){"use strict";t.exports=function(t,n,r){var i=e("./util"),o=t.TimeoutError;function a(e){this.handle=e}a.prototype._resultCancelled=function(){clearTimeout(this.handle)};var s=function(e){return l(+this).thenReturn(e)},l=t.delay=function(e,i){var o,l;return void 0!==i?(o=t.resolve(i)._then(s,null,null,e,void 0),r.cancellation()&&i instanceof t&&o._setOnCancel(i)):(o=new t(n),l=setTimeout((function(){o._fulfill()}),+e),r.cancellation()&&o._setOnCancel(new a(l)),o._captureStackTrace()),o._setAsyncGuaranteed(),o};function u(e){return clearTimeout(this.handle),e}function c(e){throw clearTimeout(this.handle),e}t.prototype.delay=function(e){return l(e,this)},t.prototype.timeout=function(e,t){var n,s;e=+e;var l=new a(setTimeout((function(){n.isPending()&&function(e,t,n){var r;r="string"!=typeof t?t instanceof Error?t:new o("operation timed out"):new o(t),i.markAsOriginatingFromRejection(r),e._attachExtraTrace(r),e._reject(r),null!=n&&n.cancel()}(n,t,s)}),e));return r.cancellation()?(s=this.then(),(n=s._then(u,c,void 0,l,void 0))._setOnCancel(l)):n=this._then(u,c,void 0,l,void 0),n}}},{"./util":36}],35:[function(e,t,n){"use strict";t.exports=function(t,n,r,i,o,a){var s=e("./util"),l=e("./errors").TypeError,u=e("./util").inherits,c=s.errorObj,d=s.tryCatch,p={};function f(e){setTimeout((function(){throw e}),0)}function h(e,n){var i=0,a=e.length,s=new t(o);return function o(){if(i>=a)return s._fulfill();var l=function(e){var t=r(e);return t!==e&&"function"==typeof e._isDisposable&&"function"==typeof e._getDisposer&&e._isDisposable()&&t._setDisposable(e._getDisposer()),t}(e[i++]);if(l instanceof t&&l._isDisposable()){try{l=r(l._getDisposer().tryDispose(n),e.promise)}catch(e){return f(e)}if(l instanceof t)return l._then(o,f,null,null,null)}o()}(),s}function _(e,t,n){this._data=e,this._promise=t,this._context=n}function v(e,t,n){this.constructor$(e,t,n)}function m(e){return _.isDisposer(e)?(this.resources[this.index]._setDisposable(e),e.promise()):e}function g(e){this.length=e,this.promise=null,this[e-1]=null}_.prototype.data=function(){return this._data},_.prototype.promise=function(){return this._promise},_.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():p},_.prototype.tryDispose=function(e){var t=this.resource(),n=this._context;void 0!==n&&n._pushContext();var r=t!==p?this.doDispose(t,e):null;return void 0!==n&&n._popContext(),this._promise._unsetDisposable(),this._data=null,r},_.isDisposer=function(e){return null!=e&&"function"==typeof e.resource&&"function"==typeof e.tryDispose},u(v,_),v.prototype.doDispose=function(e,t){return this.data().call(e,e,t)},g.prototype._resultCancelled=function(){for(var e=this.length,n=0;n<e;++n){var r=this[n];r instanceof t&&r.cancel()}},t.using=function(){var e=arguments.length;if(e<2)return n("you must pass at least 2 arguments to Promise.using");var i,o=arguments[e-1];if("function"!=typeof o)return n("expecting a function but got "+s.classString(o));var l=!0;2===e&&Array.isArray(arguments[0])?(e=(i=arguments[0]).length,l=!1):(i=arguments,e--);for(var u=new g(e),p=0;p<e;++p){var f=i[p];if(_.isDisposer(f)){var v=f;(f=f.promise())._setDisposable(v)}else{var y=r(f);y instanceof t&&(f=y._then(m,null,null,{resources:u,index:p},void 0))}u[p]=f}var b=new Array(u.length);for(p=0;p<b.length;++p)b[p]=t.resolve(u[p]).reflect();var k=t.all(b).then((function(e){for(var t=0;t<e.length;++t){var n=e[t];if(n.isRejected())return c.e=n.error(),c;if(!n.isFulfilled())return void k.cancel();e[t]=n.value()}E._pushContext(),o=d(o);var r=l?o.apply(void 0,e):o(e),i=E._popContext();return a.checkForgottenReturns(r,i,"Promise.using",E),r})),E=k.lastly((function(){var e=new t.PromiseInspection(k);return h(u,e)}));return u.promise=E,E._setOnCancel(u),E},t.prototype._setDisposable=function(e){this._bitField=131072|this._bitField,this._disposer=e},t.prototype._isDisposable=function(){return(131072&this._bitField)>0},t.prototype._getDisposer=function(){return this._disposer},t.prototype._unsetDisposable=function(){this._bitField=-131073&this._bitField,this._disposer=void 0},t.prototype.disposer=function(e){if("function"==typeof e)return new v(e,this,i());throw new l}}},{"./errors":12,"./util":36}],36:[function(e,r,i){"use strict";var o=e("./es5"),a="undefined"==typeof navigator,s={e:{}},l,u="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n?n:void 0!==this?this:null;function c(){try{var e=l;return l=null,e.apply(this,arguments)}catch(e){return s.e=e,s}}function d(e){return l=e,c}var p=function(e,t){var n={}.hasOwnProperty;function r(){for(var r in this.constructor=e,this.constructor$=t,t.prototype)n.call(t.prototype,r)&&"$"!==r.charAt(r.length-1)&&(this[r+"$"]=t.prototype[r])}return r.prototype=t.prototype,e.prototype=new r,e.prototype};function f(e){return null==e||!0===e||!1===e||"string"==typeof e||"number"==typeof e}function h(e){return"function"==typeof e||"object"==typeof e&&null!==e}function _(e){return f(e)?new Error(L(e)):e}function v(e,t){var n,r=e.length,i=new Array(r+1);for(n=0;n<r;++n)i[n]=e[n];return i[n]=t,i}function m(e,t,n){if(!o.isES5)return{}.hasOwnProperty.call(e,t)?e[t]:void 0;var r=Object.getOwnPropertyDescriptor(e,t);return null!=r?null==r.get&&null==r.set?r.value:n:void 0}function g(e,t,n){if(f(e))return e;var r={value:n,configurable:!0,enumerable:!1,writable:!0};return o.defineProperty(e,t,r),e}function y(e){throw e}var b=function(){var e=[Array.prototype,Object.prototype,Function.prototype],t=function(t){for(var n=0;n<e.length;++n)if(e[n]===t)return!0;return!1};if(o.isES5){var n=Object.getOwnPropertyNames;return function(e){for(var r=[],i=Object.create(null);null!=e&&!t(e);){var a;try{a=n(e)}catch(e){return r}for(var s=0;s<a.length;++s){var l=a[s];if(!i[l]){i[l]=!0;var u=Object.getOwnPropertyDescriptor(e,l);null!=u&&null==u.get&&null==u.set&&r.push(l)}}e=o.getPrototypeOf(e)}return r}}var r={}.hasOwnProperty;return function(n){if(t(n))return[];var i=[];e:for(var o in n)if(r.call(n,o))i.push(o);else{for(var a=0;a<e.length;++a)if(r.call(e[a],o))continue e;i.push(o)}return i}}(),k=/this\s*\.\s*\S+\s*=/;function E(e){try{if("function"==typeof e){var t=o.names(e.prototype),n=o.isES5&&t.length>1,r=t.length>0&&!(1===t.length&&"constructor"===t[0]),i=k.test(e+"")&&o.names(e).length>0;if(n||r||i)return!0}return!1}catch(e){return!1}}function O(e){function t(){}t.prototype=e;var n=new t;function r(){return typeof n.foo}return r(),r(),e}var C=/^[a-z$_][a-z$_0-9]*$/i;function T(e){return C.test(e)}function N(e,t,n){for(var r=new Array(e),i=0;i<e;++i)r[i]=t+i+n;return r}function L(e){try{return e+""}catch(e){return"[no string representation]"}}function w(e){return e instanceof Error||null!==e&&"object"==typeof e&&"string"==typeof e.message&&"string"==typeof e.name}function A(e){try{g(e,"isOperational",!0)}catch(e){}}function S(e){return null!=e&&(e instanceof Error.__BluebirdErrorTypes__.OperationalError||!0===e.isOperational)}function x(e){return w(e)&&o.propertyIsWritable(e,"stack")}var I="stack"in new Error?function(e){return x(e)?e:new Error(L(e))}:function(e){if(x(e))return e;try{throw new Error(L(e))}catch(e){return e}};function R(e){return{}.toString.call(e)}function P(e,t,n){for(var r=o.names(e),i=0;i<r.length;++i){var a=r[i];if(n(a))try{o.defineProperty(t,a,o.getDescriptor(e,a))}catch(e){}}}var j=function(e){return o.isArray(e)?e:null};if("undefined"!=typeof Symbol&&Symbol.iterator){var $="function"==typeof Array.from?function(e){return Array.from(e)}:function(e){for(var t,n=[],r=e[Symbol.iterator]();!(t=r.next()).done;)n.push(t.value);return n};j=function(e){return o.isArray(e)?e:null!=e&&"function"==typeof e[Symbol.iterator]?$(e):null}}var D=void 0!==t&&"[object process]"===R(t).toLowerCase(),M=void 0!==t&&void 0!==t.env,F;function B(e){return M?t.env[e]:void 0}function U(){if("function"==typeof Promise)try{if("[object Promise]"===R(new Promise((function(){}))))return Promise}catch(e){}}function H(e,t){if(null===e||"function"!=typeof t||t===F)return t;null!==e.domain&&(t=e.domain.bind(t));var n=e.async;if(null!==n){var r=t;t=function(){var e=new Array(2).concat([].slice.call(arguments));return e[0]=r,e[1]=this,n.runInAsyncScope.apply(n,e)}}return t}var V={setReflectHandler:function(e){F=e},isClass:E,isIdentifier:T,inheritedDataKeys:b,getDataPropertyOrDefault:m,thrower:y,isArray:o.isArray,asArray:j,notEnumerableProp:g,isPrimitive:f,isObject:h,isError:w,canEvaluate:a,errorObj:s,tryCatch:d,inherits:p,withAppended:v,maybeWrapAsError:_,toFastProperties:O,filledRange:N,toString:L,canAttachTrace:x,ensureErrorObject:I,originatesFromRejection:S,markAsOriginatingFromRejection:A,classString:R,copyDescriptors:P,isNode:D,hasEnvVariables:M,env:B,global:u,getNativePromise:U,contextBind:H},G;V.isRecentNode=V.isNode&&(t.versions&&t.versions.node?G=t.versions.node.split(".").map(Number):t.version&&(G=t.version.split(".").map(Number)),0===G[0]&&G[1]>10||G[0]>0),V.nodeSupportsAsyncResource=V.isNode&&function(){var t=!1;try{t="function"==typeof e("async_hooks").AsyncResource.prototype.runInAsyncScope}catch(e){t=!1}return t}(),V.isNode&&V.toFastProperties(t);try{throw new Error}catch(e){V.lastLineError=e}r.exports=V},{"./es5":13,async_hooks:void 0}]},{},[4])(4)},e.exports=i(),"undefined"!=typeof window&&null!==window?window.P=window.Promise:"undefined"!=typeof self&&null!==self&&(self.P=self.Promise)}).call(t,n(31),n(16),n(56).setImmediate)},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return function(e){var t=e.getValue();e.setGetter((function(){if(e.ref===this)return t;var n=t.bind(this);return Object.defineProperty(this,e.name,{configurable:!0,enumerable:!1,value:n}),n}))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){return function(r){var o=e(r)||r,s=t.hot;if(s){var l="component"+n,u=s.data&&s.data[l];s.accept(),s.dispose(e=>e[l]=u),u?(u.instance=o,i.default.push(()=>u.signal.triggerNoArgs())):u=new a(n),o.hotReloader=u}return o}};var r=o(n(9)),i=o(n(38));function o(e){return e&&e.__esModule?e:{default:e}}function a(e){this.name=e,this.signal=new r.default}},function(e,t,n){"use strict";function r(e,t,n){switch(n){case"events":return e?e.concat(t):[].concat(t)}return t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(n){e&&(n.prototype._xrayClassName=e),t&&Object.assign(n.prototype,t,r)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SignalsProperty="_signals";const i=Symbol("owner");class o{constructor(e){this[i]=e,this.handlers=[]}add(e){this.handlers.push(e)}remove(e){var t=this.handlers,n=t.indexOf(e);-1!==n&&t.splice(n,1)}trigger(){for(var e=this.handlers.slice(),t=this[i],n=0,r=e.length;n<r;++n){e[n].apply(t,arguments)}}triggerNoArgs(){for(var e=this.handlers.slice(),t=this[i],n=0,r=e.length;n<r;++n)e[n].call(t)}triggerWithArray(e){for(var t=this.handlers.slice(),n=this[i],r=0,o=t.length;r<o;++r){t[r].apply(n,e)}}static trigger(e,t){var n=e._signals;if(n&&n[i]===e){var r=n[t];if(r)return r.triggerWithArray(Array.prototype.slice.call(arguments,2)),r}}static triggerNoArgs(e,t){var n=e._signals;if(n&&n[i]===e){var r=n[t];if(r)return r.triggerNoArgs(),r}}static on(e,t,n){var a=e._signals;a&&a[i]===e||((a={})[i]=e,Object.defineProperty(e,r,{enumerable:!1,configurable:!1,value:a}));var s=a[t];return s||(s=a[t]=new o(e)),s.handlers.push(n),s}static off(e,t,n){var r=e._signals;if(r&&r[i]===e){var o=r[t];o&&o.remove(n)}}static listenTo(e,t,n,r){var i=e._listening;i||(e._listening=i=[]);var a=function(){r.apply(e,arguments)};i.push({obj:t,name:n,method:r,handler:a}),o.on(t,n,a)}static stopListening(e,t,n,r){var i=e._listening;if(i)for(var a=0,s=i.length;a<s;){var l=i[a];t&&l.obj!==t||n&&l.name!==n||r&&l.method!==r?++a:(o.off(l.obj,l.name,l.handler),i.splice(a,1),--s)}}}t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return function(t){const n=t.name;-1!==a.indexOf(n)&&console.warn('"'+n+'" is a reserved attribute name, and may not work correctly as an @Attribute - please use a different name.');var r=t.ref.definedAttributes;t.ref.hasOwnProperty("definedAttributes")||(r=r?Object.assign({},r):{},t.add("definedAttributes",{configurable:!0,enumerable:!1,writable:!0,value:r})),r[n]=!0,e&&n!==e&&(r[e]=!0,t.name=e,t.add(n,{configurable:!0,enumerable:!1,get(){return this[e]},set(t){this[e]=t}})),(0,i.default)()(t)}};var r=o(n(2)),i=o(n(12));function o(e){return e&&e.__esModule?e:{default:e}}const a=["is","as","ref","define-ref"];for(var s=r.default.prototype;s;)Object.getOwnPropertyNames(s).forEach(e=>{s.hasOwnProperty(e)&&a.push(e)}),s=Object.getPrototypeOf(s)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=p(n(0)),i=p(n(35)),o=p(n(9)),a=p(n(36)),s=p(n(20)),l=p(n(21)),u=p(n(33)),c=p(n(22)),d=p(n(28));function p(e){return e&&e.__esModule?e:{default:e}}var f=a.default.filter,h={},_=[],v=!1;const m=function(){};class g extends u.default{static pushMutator(e){g.mutatorsStack.push(g.mutator),g.mutator=e}static popMutator(e){g.mutator===e?g.mutator=g.mutatorsStack.pop():console.error("Trying to pop a mutator that is not in the top of the stack")}static run(e,t,n){var r=g.active;g.active=e;var i=n&&n.track;i&&(e.track=n,d.default.groupStart("Running "+(n.name||"bindings")));try{return t.call(n)}finally{i&&(d.default.groupEnd("Running "+(n.name||"binder")),e.track=null),g.active=r}}static recordEvent(e,t){var n=g.active;if(n){if(n.track){let n=(0,c.default)(e)+"-"+(e.constructor?e.constructor.name:"Anonymous");d.default.log("Recording",n,t)}n.push({obj:e,eventName:t})}}static recordChange(e,t,n,r){o.default.trigger(e,t);var i=g.mutator;i&&i.record(e,t,n,r)}constructor(e,t=m,n=!1,r=s.default,i=0,o=null){var a;if(super(),this.previousValue=h,this.bindings=[],this.dirty=!!n,this.disposableParent=o,this.valueGetter="function"==typeof(a=e)?a:"object"==typeof a&&"function"==typeof a.get?a.get:m,this.set=function(e){return"object"==typeof e&&"function"==typeof e.set?e.set:m}(e),this.callback=t||m,r&&r instanceof l.default){var u=r,c=this.apply.bind(this);r=()=>u.push(c,i)}this.invalidate=()=>{if(g.active!==this){if(this.track){var e=new Error;Error.captureStackTrace(e),d.default.log("change detected",window._signal,e.stack)}r?(this.dirty=!0,r()):this.compute()}},n?this.get():this.compute()}removeBindings(){var e=this.bindings;if(e){for(var t=this.invalidate,n=0,r=e.length;n<r;++n){var i=e[n];i.ref.remove(t),i.dispose&&i.dispose()}this.bindings=null}}dispose(){this.removeBindings(),super.dispose()}update(e,t=!0){var n=this.previousValue;if(n===h||n!==e)return this.previousValue=e,t&&this.callback(e),!0}apply(){if(!this.isDisposed&&this.dirty)return this.compute()}_computeInnerValue(){this.dirty=!1,this.removeBindings();var e=this.disposableParent;if(!e||!e.isDisposed){v&&(_=[]),v=!0;var t=_,n=g.run(t,this.valueGetter,this);if(n=f(t,n),v=!1,!t.length)return n;_=[];var r=this.invalidate;for(let e=0,n=t.length;e<n;++e){let n=t[e];n.ref=o.default.on(n.obj,n.eventName,r)}return this.bindings=t,n}}compute(){var e=this._computeInnerValue();return this.update(e,!0)}get(){var e=this._computeInnerValue();return this.update(e,!1),e}}t.default=g,g.mutatorsStack=[],g.active=null,g.mutator=null,t.default=g=(0,r.default)(g,{decorators:[(0,i.default)({FirstExecutionMarker:h})]})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return function(e){var t=e.name,n="_"+t,r=e.init;if(r)e.add(n,{configurable:!0,enumerable:!1,writable:!0,value:l});else if(e.ref[n]===l)return;var i=e.ref.definedObservables;e.ref.hasOwnProperty("definedObservables")||(i=i?Object.assign({},i):{},e.add("definedObservables",{configurable:!0,enumerable:!1,writable:!0,value:i})),i[t]=!0,e.define({configurable:!0,enumerable:!1,get(){o.default.active&&a(this,t);var e=this[n];return e===l&&(e=this[n]=r.call(this)),e},set(e){var i=this[n];i===l&&(i=this[n]=r.call(this)),i!==e&&(this[n]=e,s(this,t,e,i))}})}};var r,i=n(11),o=(r=i)&&r.__esModule?r:{default:r};const a=o.default.recordEvent,s=o.default.recordChange,l={defaultValue:!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setLogLevel=function(e){r=e?"debug":"release"},t.debug=function(...e){if("debug"!==r)return;console.debug(...e)},t.warn=function(...e){if("debug"!==r)return;console.warn(...e)},t.error=function(...e){console.error(...e)};let r="release"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(1)),i=o(n(2));function o(e){return e&&e.__esModule?e:{default:e}}class a{static makeConditionReader(e){var t=e&&e.getCondition;if(t)return e=>Boolean(t(e))}static make({props:e,blocks:t}){var n=i.default.attachBlockTemplates(t),o=n.children||n.if_true,a=n.if_false||n.else,s=this.makeConditionReader(e);if(!s||!o&&!a)return r.default.EmptyTemplate;var l=this.placeholder;function u(e,t,n,r,i,s,u){if(t.$_signals=n,t.$_invalidate=r,s){t.$_savedScope=e.scope,t.$_value=i;let n=i?o:a;if(n){let r=n.make(e);r.$_parent=t,r.v0=i,t.$_view=r,n.run(e,r)}else t.$_placeholder=e.pushCommentNode(l);return}if(u&&(t.$_savedScope=e.scope),i===t.$_value){if(u){let n=t.$_view;n&&n.$_disposed&&n.template.reuse(e,n)}return}t.$_value=i;let c=i?o:a;var d=t.$_view;if(d||c){var p=e.pushScope(t.$_savedScope);if(d?(e.gotoAfterView(d),d.template.cache(e,d),t.$_view=null):(e.gotoAfterNode(t.$_placeholder),e.removeNode(t.$_placeholder),t.$_placeholder=null),c){var f=c.make(e);f.$_parent=t,f.v0=i,t.$_view=f,c.run(e,f)}else t.$_placeholder?e.pushNode(t.$_placeholder):t.$_placeholder=e.pushCommentNode(l);e.restoreScope(p)}}return r.default.make({render(e,t){e.runBinder(s,u,t,!0)},reuse(e,t){e.runBinder(s,u,t,!1)},dispose(e,t){e.removeSignals(t.$_signals,t.$_invalidate);var n=t.$_view;n&&n.template.dispose(e,n)},move(e,t){var n=t.$_view;n?n.template.move(e,n):e.pushNode(t.$_placeholder)},firstChild(e,t){var n=t.$_view;return n?n.template.firstChild(e,n):t.$_placeholder},lastChild(e,t){var n=t.$_view;return n?n.template.lastChild(e,n):t.$_placeholder}})}}t.default=a,a.placeholder="empty if"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.localize=function(e,...t){let n=s[u]||s.en,r=(0,a.default)(n,e);r||((0,i.warn)(`[cc-photos-importer] No translation for key "${e}"`),r=e);return function(e,...t){return e.replace(/{(\d)}/g,(e,n)=>{let r=Number.parseInt(n,10);return Number.isNaN(r)?e:t[r]})}(r,...t)},t.setLocale=function(e){e&&2!==e.length&&(e=e.match(/^zh[-_]/)?e.replace("_","-"):e.split(/[-_]/)[0]);u=e||"en"},t.localizeHelpxLink=function(e){let t=l[u]||u;return e.replace("helpx.adobe.com","helpx.adobe.com/"+t)};var r,i=n(13),o=n(46),a=(r=o)&&r.__esModule?r:{default:r};const s=function(){let e=n(95);return(0,i.debug)(`[cc-photos-importer] Load dictionaries for ${e.length} languages`),e.keys().reduce((t,n)=>{let r=n.match(/^\.\/(.*)\/.*\.json$/)[1],i=e(n);return t[r]=i,t},{})}(),l={cs:"cz",nb:"no",da:"dk",sv:"se",ko:"kr","zh-TW":"tw","zh-CN":"cn",ja:"jp"};let u="en"},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){var n=e.exports={version:"2.5.4"};"number"==typeof __e&&(__e=n)},function(e,t,n){e.exports=!n(26)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=c(n(33)),i=c(n(34)),o=n(9),a=c(o),s=c(n(11)),l=c(n(88)),u=c(n(20));function c(e){return e&&e.__esModule?e:{default:e}}const d=function(){};class p extends r.default{watch(e,t=d,n=!1,r=u.default,i=this.$_depth||0){return this.link(new s.default(e,t,n,r,i,this))}watchCollection(e,t=d,n=!1,r=u.default,i=this.$_depth||0){return this.link(new l.default(e,t,n,r,i,this))}multiWatch(e,t=d,n=!1,r=u.default,i=this.$_depth||0){return this.link(new s.default(()=>e.map(e=>e()),e=>t.apply(null,e),n,r,i,this))}defineObservable(e,t){if(this.hasOwnProperty(e))this[e]=t;else{var n="_"+e;this[n]=t;var r=this;Object.defineProperty(this,e,{configurable:!0,enumerable:!1,get:()=>(s.default.active&&s.default.recordEvent(r,e),r[n]),set(t){var i=r[n];i!==t&&(r[n]=t,s.default.recordChange(r,e,t,i))}})}}property(e,t){return i.default.warn("SignalDispatcher.property()","Use SignalDispatcher.defineObservable() instead."),this.defineObservable(e,t)}dispose(){this.stopListening(),super.dispose()}trigger(e,...t){if(this.hasOwnProperty(o.SignalsProperty)){var n=this[o.SignalsProperty][e];n&&n.trigger.apply(n,t)}}on(e,t){return a.default.on(this,e,t)}off(e,t){return a.default.off(this,e,t)}listenTo(e,t,n){return a.default.listenTo(this,e,t,n)}stopListening(e,t,n){return a.default.stopListening(this,e,t,n)}}t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(64)),i=o(n(38));function o(e){return e&&e.__esModule?e:{default:e}}t.default=new r.default(i.default,"UI Task Queue",100)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AfterTaskQueue=void 0;var r=s(n(0)),i=s(n(6)),o=s(n(37)),a=s(n(22));function s(e){return e&&e.__esModule?e:{default:e}}class l{constructor(){this.running=!1,this.registered=!1,this.itemMap={},this.maxBucket=-1,this.buckets=[],this.bucketMap={}}push(e,t,n){var r=(0,a.default)(e);t=Number(t)||0;var i=this.itemMap[r];if(i){if(i.lateBinder=n,i.cancel=!1,i.priority!==t){var o=i.bucket.items,s=o.indexOf(i);o[s]=null,i.priority=t}else if(!i.executed)return;i.executed=!1}else i={callback:e,priority:t,cancel:!1,executed:!1,lateBinder:n},this.itemMap[r]=i;var l=this.bucketMap[t]||this._makeBucket(t);this.maxBucket=Math.max(this.maxBucket,l.index),i.bucket=l,l.items.push(i),this.registerIfNeeded()}_makeBucket(e){for(var t=this.buckets,n=0,r=t.length-1;n<=r;){var i=Math.round((n+r)/2);t[i].priority<e?r=i-1:n=i+1}var o=this.bucketMap[e]={priority:e,items:[],index:n};this.buckets.splice(n,0,o),n<=this.maxBucket&&++this.maxBucket;for(var a=t.length;n<a;++n)t[n].index=n;return o}wrap(e,t,n){return()=>this.push(e,t||0,n)}registerIfNeeded(){this.registered||(this.registered=!0,this.register(this.inAfterCall))}get after(){var e=this._after;return e||(e=this._after=new u(this)),e}remove(e){var t=(0,a.default)(e),n=this.itemMap[t];n&&(n.executed=!1,n.cancel=!0)}execHoisted(e){for(;e.length;){var t=e.pop();t.cancel||(t.executed=!0,t.callback())}}execCallbacks(e){for(var t=this.buckets;this.maxBucket>=0;){var n=t[this.maxBucket].items;if(n.length){var r=n.pop();r&&!r.cancel&&(r.lateBinder?e?e.push(r):e=[r]:(r.executed=!0,r.callback()))}else--this.maxBucket}return e}}t.default=l,t.default=l=(0,r.default)(l,{properties:[{name:"register",decorators:[(0,o.default)()],fn:function(){}},{name:"run",decorators:[(0,i.default)()],fn:function(){if(this.maxBucket>=0){this.running=!0;for(var e=null;this.maxBucket>=0||e;)try{for(;this.maxBucket>=0||e;)(e=this.execCallbacks(e))&&(this.execHoisted(e),e=null)}catch(e){console.error(e),console.error(e.stack)}this.running=!1}this.itemMap={},this.registered=!1;var t=this._after;t&&(this.inAfterCall=!0,t.run(),this.inAfterCall=!1)}},{name:"quickRun",decorators:[(0,i.default)()],fn:function(){if(this.maxBucket>=0){this.running=!0;for(var e=null;this.maxBucket>=0||e;)(e=this.execCallbacks(e))&&(this.execHoisted(e),e=null);this.running=!1}this.itemMap={},this.registered=!1;var t=this._after;t&&(this.inAfterCall=!0,t.run(),this.inAfterCall=!1)}}]});class u extends l{constructor(e){super(),this.parent=e}register(){this.parent.registerIfNeeded()}}t.AfterTaskQueue=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=0;function i(e){if(!e||"number"==typeof e||"string"==typeof e)return e;if(!e.hasOwnProperty("__object_id__")){var t="_"+ ++r;return Object.defineProperty(e,"__object_id__",{enumerable:!1,configurable:!1,writable:!1,value:t}),t}return e.__object_id__}i.set=function(e,t){Object.defineProperty(e,"__object_id__",{enumerable:!1,configurable:!1,writable:!1,value:t})},t.default=i},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default="undefined"!=typeof window?window:"undefined"!=typeof self?self:void 0!==e?e:{}}).call(t,n(16))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=class{static log(){console.log.apply(console,arguments)}static assert(){console.assert.apply(console,arguments)}static table(){console.table.apply(console,arguments)}static groupStart(){console.group.apply(console,arguments)}static groupEnd(){console.groupEnd.apply(console,arguments)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=class{}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,i,o){if(t._TorqUpdate)return;if(!i)return n.preventDefault(),t._TorqUpdate=!0,this.update(t,r),void(t._TorqUpdate=!1);var a=this.read(t);if(a===r)return;if(o)for(let e=0,t=o.length;e<t;++e){let t=o[e];t&&t.pre&&t.pre()}var s=i(e,a);if(o)for(let e=0,t=o.length;e<t;++e){let t=o[e];t&&t.post&&t.post()}a!==s&&(t._TorqUpdate=!0,this.update(t,s),t._TorqUpdate=!1)}},function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var l,u=[],c=!1,d=-1;function p(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&f())}function f(){if(!c){var e=s(p);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function _(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||c||s(f)},h.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=_,i.addListener=_,i.once=_,i.off=_,i.removeListener=_,i.removeAllListeners=_,i.emit=_,i.prependListener=_,i.prependOnceListener=_,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,n){"use strict";const r=(e,t)=>t.toUpperCase();e.exports=function(e){return e.replace(/-+([^-]?)/g,r)}},function(e,t,n){"use strict";function r(e){e.dispose?e.dispose():"function"==typeof e&&e()}Object.defineProperty(t,"__esModule",{value:!0});t.default=class{link(e){var t=this._disposables;return t||(t=this._disposables=[]),t.push(e),e}unlink(e){var t=this._disposables;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}}disposeLink(e){this.unlink(e),r(e)}dispose(){this.isDisposed=!0;var e=this._disposables;if(e){this._disposables=null;for(var t=e.length-1;t>=0;--t)r(e[t])}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});let r={};class i{static warn(e,t){i.ignoreWarnings||r[e]||(console.warn(e+" is deprecated. "+t),r[e]=!0)}}t.default=i,i.ignoreWarnings=!1},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(n){e&&Object.assign(n.prototype,e,t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(63);var o=[((r=i)&&r.__esModule?r:{default:r}).default],a=1;t.default={add(e){o.push(e),a=o.length},remove(e){var t=o.indexOf(e);-1!==t&&o.splice(t,1),a=o.length},filter(e,t){for(var n=0,r=a;n<r;++n){var i=o[n](e,t);if(i)return i.value}return t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return function(e){e.setWritableValue((function(){throw new Error(`Abstract method ${e.name} called on ${e.className}`)}))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.rAFrames=void 0;var r,i=c(n(0)),o=c(n(65)),a=c(n(6)),s=c(n(21)),l=c(n(27)),u=c(n(87));function c(e){return e&&e.__esModule?e:{default:e}}var d=function(e){setTimeout(e,0)},p=l.default.requestAnimationFrame||l.default.webkitRequestAnimationFrame||l.default.mozRequestAnimationFrame||d,f=p;var h=t.rAFrames=[];r=s.default;class _ extends r{constructor(...e){var t;return t=super(...e),this.tickTime=(0,u.default)(),t}get background(){return f===d}set background(e){f=e?d:p}register(){f.call(l.default,this.run)}request(e){f.call(l.default,e)}wrapAll(e,...t){t.forEach(t=>e[t]=this.wrap(e[t].bind(e)))}wrap(e){return()=>this.push(e)}tick(){(0,u.default)()-this.tickTime>=5&&this.run()}}_=(0,i.default)(_,{properties:[{name:"run",decorators:[(0,a.default)()],fn:function(){let e=this.tickTime=(0,u.default)();var t;(0,o.default)(_.prototype.__proto__||Object.getPrototypeOf(_.prototype),"run",this).call(this),t=(0,u.default)()-e,h.unshift(t),h.splice(10,h.length),t>16&&console.warn("Long rAF frame-time",t)}}]}),t.default=new _},function(e,t,n){var r=n(40);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on  "+e);return e}},function(e,t,n){var r=n(73),i=n(17),o=n(26);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o((function(){n(1)})),"Object",a)}},function(e,t,n){e.exports=!n(18)&&!n(26)((function(){return 7!=Object.defineProperty(n(79)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(25);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(83),i=n(40);e.exports=function(e){return r(i(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){let r=e&&t&&t.replace(/\[/g,".").replace(/\]/g,"").split(".").reduce((e,t)=>(e||{})[t],e);return void 0===r?n:r}},function(e,t,n){"use strict";function r(e){var t=e+"_prev",n=e+"_next";return class{constructor(){this._first=null,this._last=null}prepend(e){var r=this._first;this._first=e,e[n]=r,r?r[t]=e:this._last=e}takeFirst(){var e=this._first;return e&&this.remove(e),e}takeLast(){var e=this._last;return e&&this.remove(e),e}remove(e){var r=e[t],i=e[n];r?(r[n]=i,e[t]=null):this._first=i,i?(i[t]=r,e[n]=null):this._last=r}}}Object.defineProperty(t,"__esModule",{value:!0});var i=r("$_lruG_"),o=r("$_lruL_"),a=!1;t.default=class{static get DISABLE_CACHING_BEYOND_CAPACITY(){return a}static set DISABLE_CACHING_BEYOND_CAPACITY(e){a=e}constructor(e=20){this._byId={},this._count=0,this._global=new i,this._capacity=e}init(e){this._byId[e]=new o}take(e){var t=this._byId[e].takeFirst();return t&&(--this._count,this._global.remove(t)),t}put(e,t){if(!(a&&this._count>=this._capacity)){var n=this._byId[e];if(n.prepend(t),t.$_lru_list=n,++this._count,this._global.prepend(t),this._count>this._capacity){--this._count;var r=this._global.takeLast();r.$_lru_list.remove(r),r.$_lru_list=null}}}removeAll(e){for(var t=this._global,n=this._byId[e]._first;n;n=n.$_lruL_next)--this._count,t.remove(n);this.init(e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createElement=function(e,t){0;0;return e.createElement(t)},t.createElementWithType=function(e,t,n){0;0;return e.createElement(t,n)},t.injectScript=function(e,t=null){return new Promise((n,r)=>{var i=document.createElement("script");if(i.onload=n,i.onerror=r,i.src=e,t)for(let e in t){const n=t[e];i.setAttribute(e,n)}(document.head||document.body).appendChild(i)})},t.createDocumentFragment=function(e){0;0;return e.createDocumentFragment()},t.createElementNS=function(e,t,n){0;0;return e.createElementNS(t,n)},t.createComment=function(e,t){0;0;return e.createComment(t)},t.createTextNode=function(e,t){0;0;return e.createTextNode(t)},t.appendChild=function(e,t){0;e.appendChild(t),!1},t.removeChildren=function(e){0;e.textContent="",!1},t.insertBefore=function(e,t,n){if(!n)return void e.appendChild(t);0;e.insertBefore(t,n),!1},t.removeNode=function(e){0;if(e.remove)e.remove();else{var t=e.parentNode;t&&t.removeChild(e)}0},t.getNodeName=function(e){return e.nodeName.toLowerCase()},t.getAttribute=function(e,t){return e.getAttribute(t)},t.setAttribute=function(e,t,n){0;e.setAttribute(t,n),!1},t.removeAttribute=function(e,t){0;e.removeAttribute(t),!1},t.setAttributeNS=function(e,t,n,r){var i=n.indexOf("_");if(i>=0){var o=n.substr(0,i),a=n.substr(i+1),s=t[o];if(s)return void e.setAttributeNS(s,a,r)}e.setAttribute(n,r)},t.addEventListener=function(e,t,n,r=!1){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)},t.removeEventListener=function(e,t,n,r=!1){e.removeEventListener(t,n,r)},t.isChecked=function(e){return e.checked},t.setIsChecked=function(e,t){e.checked=t},t.getValue=function(e){return e.value},t.setValue=function(e,t){e.value=t},t.focus=function(e){return e.focus()};var r=t.SvgNS="http://www.w3.org/2000/svg",i=t.XmlNS="http://www.w3.org/XML/1998/namespace",o=t.XlinkNS="http://www.w3.org/1999/xlink";t.SvgNamespaces={xmlns:r,xml:i,xlink:o}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extend=function(e){y=e.appendChild||y,b=e.insertBefore||b,e.transform&&(E=e.transform(E))},t.registerAttribute=function(e,t){k[(0,h.makeAttrName)(e)]=t},t.default=function(e,t,n){return E(e,t,n)};var r=v(n(139)),i=v(n(140)),o=v(n(141)),a=v(n(142)),s=v(n(143)),l=v(n(144)),u=v(n(147)),c=v(n(148)),d=v(n(149)),p=v(n(150)),f=n(3),h=n(50),_=v(n(28));function v(e){return e&&e.__esModule?e:{default:e}}const m=/^class-(.+)$/,g=/^style-(.+)$/;var y=function(e,t){e.appendChild(t)},b=function(e,t,n){e.insertBefore(t,n)},k={_class:o.default,_text$45content:c.default,_value:p.default,_checked:i.default,_indeterminate:s.default,_disabled:d.default,_readonly:d.default,_required:d.default,_multiple:d.default,_autofocus:d.default,_hidden:d.default,_ismap:d.default,_style:l.default},E=function(e,t,n){var i=new r.default(e,t,n,k),o=i.dom={},s=null,l=t?t.ownerDocument:window.document;return i.getDocument=function(){return l},i.makeStats=function(){return s={remove:0,appendChild:0,insertBefore:0,addEventListener:0,removeEventListener:0,setAttribute:0,removeAttribute:0,textContent:0,nodeValue:0}},i.takeStats=function(){var e=s;return s=null,e},i.logStats=function(){var e=[];s.remove&&e.push({name:"remove",value:s.remove}),s.appendChild&&e.push({name:"appendChild",value:s.appendChild}),s.insertBefore&&e.push({name:"insertBefore",value:s.insertBefore}),s.addEventListener&&e.push({name:"addEventListener",value:s.addEventListener}),s.removeEventListener&&e.push({name:"removeEventListener",value:s.removeEventListener}),s.setAttribute&&e.push({name:"setAttribute",value:s.setAttribute}),s.removeAttribute&&e.push({name:"removeAttribute",value:s.removeAttribute}),s.textContent&&e.push({name:"textContent",value:s.textContent}),s.nodeValue&&e.push({name:"nodeValue",value:s.nodeValue}),_.default.table(e)},i.ensureAttr=function(e){var t=e.match(m);if(t)return a.default.make(t[1]);var n=e.match(g);return n?u.default.make(n[1]):this.setAttr},i.makeCommentNode=function(e){return l.createComment(e)},i.makeCustomNode=i.makeNode=function(e){return l.createElement(e)},i.makeCustomNodeWithType=i.makeNodeWithType=function(e,t){return l.createElement(e,t)},i.makeTextNode=function(e){return l.createTextNode(e)},i.setTextContent=function(e,t){e.textContent=t,s&&++s.textContent},i.setNodeValue=function(e,t){e.nodeValue=t,s&&++s.nodeValue},i.appendNode=function(e,t){y(e,t),s&&++s.appendChild},i.insertBeforeNode=function(e,t){b(t.parentNode,e,t),s&&++s.insertBefore},i.appendTextNode=function(e,t){this.appendNode(e,l.createTextNode(t))},i.replaceNode=function(e,t){e.parentNode.replaceChild(t,e)},i.makeFragment=function(){return l.createDocumentFragment()},l.body.remove?i.removeNode=function(e){e.remove(),s&&++s.remove}:i.removeNode=function(e){var t=e.parentNode;t&&t.removeChild(e)},i.setAttr=function(e,t,n){null==n?e.removeAttribute(t):e.setAttribute(t,n),s&&++s.setAttribute},i.removeAttr=function(e,t,n){e.removeAttribute(t,n),s&&++s.removeAttribute},i.attachEvent=function(e,t,n,r){e.addEventListener(t,n,r),s&&++s.addEventListener},i.detachEvent=function(e,t,n,r){e.removeEventListener(t,n,r),s&&++s.removeEventListener},i.pushTextNode=function(e){return this.pushNode(l.createTextNode(e))},i.pushTemplateNode=function(e){var t=o[e]||(o[e]=f.templates[e](this)),n=l.createClone?l.createClone(t):t.cloneNode(!0);return this.pushNode(n)},i.pushCommentNode=function(e){return this.pushNode(l.createComment(e))},i.pushNode=function(e){var{parentNode:t,nextNode:n}=this;return n?(b(t,e,n),s&&++s.insertBefore):(y(t,e),s&&++s.appendChild),e},i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeAttrName=function(e){return"_"+e.replace(/-/g,"$45").replace(/:/g,"$58")}},function(e,t,n){"use strict";var r,i,o,a;Object.defineProperty(t,"__esModule",{value:!0}),t.appendClassNames=function(e,t){s(e,null,t)},"undefined"==typeof document||"classList"in document.createElement("_")?(r=function(e,t,n){var r=e.classList;if(t)if("string"==typeof t)r.remove(t);else for(let e=0,n=t.length;e<n;++e)r.remove(t[e]);if(n)for(let e=0,t=n.length;e<t;++e)r.add(n[e]);return n},i=function(e,t,n){var r=e.classList;if(t)if("string"==typeof t)r.remove(t);else for(var i=0,o=t.length;i<o;++i)r.remove(t[i]);return n&&r.add(n),n},o=function(e,t){e.classList.add(t)},a=function(e,t){e.classList.remove(t)}):(r=function(e,t,n){var r=new Set(e.className.split(" "));if(t)if("string"==typeof t)r.delete(t);else for(let e of t)r.delete(e);if(n)for(let e of n)r.add(e);return e.setAttribute("class",[...r].join(" ")),n},i=function(e,t,n){var r=new Set(e.className.split(" "));if(t)if("string"==typeof t)r.delete(t);else for(let e of t)r.delete(e);return n&&r.add(n),e.setAttribute("class",[...r].join(" ")),n},o=function(e,t){var n=e.className.split(" ");-1===n.indexOf(t)&&(n.push(t),e.setAttribute("class",n.join(" ")))},a=function(e,t){var n=e.className.split(" "),r=n.indexOf(t);-1!==r&&(n.splice(r,1),e.setAttribute("class",n.join(" ")))});var s=t.replaceClassNames=r;t.replaceSingleClassName=i,t.addClass=o,t.removeClass=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.degProperties=t.pxProperties=void 0,t.unitForProperty=d,t.getUnitProperty=p,t.isUnitProperty=f,t.transformValueForProperty=h,t.valueTransformerForProperty=function(e){var t=p((0,i.default)(e));if(!t)return;return e=>{if("string"==typeof e){var n=e.match(/^(\d+(?:\.\d+)?)(.*)$/),r=null;n&&(e=n[1],r=n[2],e=Math.round(100*parseFloat(e))/100)}return e?(r||"number"!=typeof e||(r=t),r&&(e+=r),e):0}},t.transformPropertyName=function(e){return c.get(e)},t.transformProperties=function(e){var t={};for(let n in e){const r=e[n];t[c.get(n)]=h(n,r)}return t};var r=o(n(146)),i=o(n(32));function o(e){return e&&e.__esModule?e:{default:e}}var a=t.pxProperties=new RegExp("^("+["backgroundPositionX","backgroundPositionY","borderRadius","borderWidth","bottom","height","left","marginBottom","marginLeft","marginRight","marginTop","maxHeight","maxWidth","minHeight","minWidth","paddingBottom","paddingLeft","paddingRight","paddingTop","perspectiveX","perspectiveY","perspectiveZ","right","top","translateX","translateY","translateZ","width"].join("|")+")$"),s=t.degProperties=new RegExp("^("+["rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY","skewZ"].join("|")+")$"),l=["","webkit-","o-","ms-","moz-"],u=window.getComputedStyle(document.createElement("div")),c=new r.default(e=>{for(var t=0,n=l.length;t<n;++t){let n=(0,i.default)(l[t]+e);if(u.hasOwnProperty(n))return n}return e});function d(e,t){return"number"!=typeof t?"":p(e)}function p(e){return a.test(e)?"px":s.test(e)?"deg":""}function f(e){return""!==p(e)}function h(e,t){if(f(e=(0,i.default)(e))){if("string"==typeof t){var n=t.match(/^(\d+(?:\.\d+)?)(.*)$/),r=null;n&&(t=n[1],r=n[2],t=Math.round(100*parseFloat(t))/100)}if(r&&""!==r||(r=d(e,t)),r)return t+r}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(19),o=(r=i)&&r.__esModule?r:{default:r};class a extends o.default{fork(){var e=function(){};return e.prototype=this,this.link(new e(this))}clean(){for(var e in this)this.hasOwnProperty(e)&&"_"!==e[0]&&delete this[e]}}t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(55)),i=s(n(11)),o=s(n(53)),a=s(n(171));function s(e){return e&&e.__esModule?e:{default:e}}t.default={Importer:r.default,Binder:i.default,Scope:o.default,Application:a.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(4)),i=o(n(58));function o(e){return e&&e.__esModule?e:{default:e}}r.default.config({warnings:!0,longStackTraces:!0,cancellation:!0}),t.default=i.default},function(e,t,n){(function(e){var r=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(r.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new i(r.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(57),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n(16))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i,o,a,s,l=1,u={},c=!1,d=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){h(e.data)},r=function(e){o.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(i=d.documentElement,r=function(e){var t=d.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):r=function(e){setTimeout(h,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&h(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(a+t,"*")}),p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return u[l]=i,r(l),l++},p.clearImmediate=f}function f(e){delete u[e]}function h(e){if(c)setTimeout(h,0,e);else{var t=u[e];if(t){c=!0;try{!function(e){var t=e.callback,n=e.args;switch(n.length){case 0:t();break;case 1:t(n[0]);break;case 2:t(n[0],n[1]);break;case 3:t(n[0],n[1],n[2]);break;default:t.apply(void 0,n)}}(t)}finally{f(e),c=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(t,n(16),n(31))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r,i=C(n(1)),o=n(3),a=C(n(14)),s=C(n(0)),l=C(n(6)),u=C(n(12)),c=C(n(10)),d=C(n(7)),p=C(n(2)),f=C(n(8)),h=C(n(4)),_=C(n(90)),v=n(13),m=n(15),g=C(n(117)),y=C(n(118)),b=C(n(123)),k=n(134),E=C(k),O=C(n(170));function C(e){return e&&e.__esModule?e:{default:e}}var T={make:function(e){return(T=i.default.make({render:function(e,t){var n=t.div=e.pushTemplateNode(j);e.enterNode(n),e.runBinder(P,R,t,!0);var r=t._if=I.make(e);r.$_parent=t,r.template.run(e,r);var i=t._if1=N.make(e);i.$_parent=t,i.template.run(e,i),e.exitNode(n)},dispose:function(e,t){e.removeSignals(t.div_class_binder,t.div_class_invalidate),t._if.template.dispose(e,t._if),t._if1.template.dispose(e,t._if1)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(P,R,t,!1),t._if.template.reuse(e,t._if),t._if1.template.reuse(e,t._if1)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})).make(e)}},N={make:function(e){return(N=e.makeComponent(a.default,{props:{getCondition:function(e){return e.$_parent.$_scope._this.scope.importer.accessToken}},blocks:[{name:"children",template:i.default.make({render:function(e,t){var n=t.div=e.pushTemplateNode(x);e.enterNode(n),e.runBinder(S,A,t,!0);var r=t.lrImporter=w.make(e);r.$_parent=t,r.template.run(e,r),e.exitNode(n);var i=t._if=L.make(e);i.$_parent=t,i.template.run(e,i)},dispose:function(e,t){e.removeSignals(t.div_class_binder,t.div_class_invalidate),t.lrImporter.template.dispose(e,t.lrImporter),t._if.template.dispose(e,t._if)},move:function(e,t){e.pushNode(t.div),t._if.template.move(e,t._if)},reuse:function(e,t){e.runBinder(S,A,t,!1),t.lrImporter.template.reuse(e,t.lrImporter),t._if.template.reuse(e,t._if)},firstChild:function(e,t){return t.div},lastChild:function(e,t){return t._if.template.lastChild(e,t._if)},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})}]})).make(e)}},L={make:function(e){return(L=e.makeComponent(a.default,{props:{getCondition:function(e){return e.$_parent.$_parent.$_parent.$_scope._this._importTask}},blocks:[{name:"children",template:e.makeComponent(b.default,{attributes:[{name:"task",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_scope._this._importTask},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_scope._this._importTask=e)}},{name:"onComplete",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_scope._this._handleDownloadComplete},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_scope._this._handleDownloadComplete=e)}},{name:"onCancel",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_scope._this._handleDownloadCancel},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_scope._this._handleDownloadCancel=e)}}]})}]})).make(e)}},w={make:function(e){return(w=e.makeComponent(y.default,{attributes:[{name:"lrSDKHelper",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this.lrSDKHelper},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this.lrSDKHelper=e)}},{name:"colorStop",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this.colorStop},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this.colorStop=e)}},{name:"onInitialize",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this._handleLrImporterInitialize},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this._handleLrImporterInitialize=e)}},{name:"onReady",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this._handleLrImporterReady},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this._handleLrImporterReady=e)}},{name:"onImport",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this._handleImport},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this._handleImport=e)}},{name:"onError",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this._handleLrImporterError},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this._handleLrImporterError=e)}},{name:"onReattach",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this._handleLrImporterReattach},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this._handleLrImporterReattach=e)}}],init:function(e,t){e.$_parent.$_parent.$_parent.$_scope._this.lrImporter=t},dispose:function(e,t){e.$_parent.$_parent.$_parent.$_scope._this.lrImporter=null}})).make(e)}};function A(e,t,n,r,i,o){t.div_class_binder=n,t.div_class_invalidate=r;var a=t.div_class_value;(o||a!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function S(e){return Boolean(e.$_parent.$_parent.$_scope._this._importTask)&&"lr-importer-hidden"}var x=(0,o.register)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","lr-importer"),t})),I={make:function(e){return(I=e.makeComponent(a.default,{props:{getCondition:function(e){return e.$_parent.$_scope._this._showPendingScreen}},blocks:[{name:"children",template:e.makeComponent(E.default,{attributes:[{name:"state",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this._pendingScreenState},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this._pendingScreenState=e)}},{name:"onRetry",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this._handleRetry},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this._handleRetry=e)}}]})}]})).make(e)}};function R(e,t,n,r,i,o){t.div_class_binder=n,t.div_class_invalidate=r;var a=t.div_class_value;(o||a!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function P(e){return[O.default.container,"color-stop__"+e.$_scope._this.colorStop]}var j=(0,o.register)((function(e){return e.makeNode("div")}));r=p.default;class $ extends r{constructor(){super(),this.scope.importer=this.link(new g.default({clientId:this.clientId,openLinkHandler:this.onOpenLink,reportEventHandler:this.onReportEvent})),(0,m.setLocale)(this.locale),(0,v.setLogLevel)(this.debug)}attached(){window.addEventListener("offline",this._handleOnlineStatusChange),window.addEventListener("online",this._handleOnlineStatusChange),this.watch(()=>this._online,()=>{this._online?this._requestAccessToken():(this.scope.importer.accessToken=null,this._invalidAccessToken=!1)}),this.watch(()=>this.locale,()=>{(0,m.setLocale)(this.locale)},!0)}detach(){window.removeEventListener("offline",this._handleOnlineStatusChange),window.removeEventListener("online",this._handleOnlineStatusChange)}_requestAccessToken(){this._serviceUnavailable=!1,this._invalidAccessToken=!1,this.requestAccessToken().then(e=>{this.scope.importer.accessToken=e,this._invalidAccessToken=!Boolean(e)}).catch(e=>{(0,v.error)("[cc-photos-importer] Failed to get access token:",e),this._invalidAccessToken=!0,this._serviceUnavailable=!0})}get _showPendingScreen(){return!this._importTask&&(!this._online||!this._isImporterReady||!this._isImporterEntitled||!this.scope.importer.accessToken||this._invalidAccessToken||this._serviceUnavailable)}get _pendingScreenState(){if(!this._online)return k.STATE.OFFLINE;if(this._serviceUnavailable)return k.STATE.SERVICE_UNAVAILABLE;if(this._invalidAccessToken)return k.STATE.INVALID_ACCESS_TOKEN;if(this._importerRetryCounter>5)return k.STATE.FAILED_TO_LOAD_LR;if(!this._isImporterReady)return k.STATE.LOADING_LR;if(!this._isImporterEntitled)return k.STATE.SUBSCRIPTION_EXPIRED;throw new Error("Unknown state")}render(){return{template:T,_this:this}}}t.default=$,t.default=$=(0,s.default)($,{decorators:[(0,d.default)((0,f.default)(null,{fork:!0}),e,"ImporterContainer")],properties:[{name:"clientId",decorators:[(0,c.default)()],kind:"property"},{name:"requestAccessToken",decorators:[(0,c.default)()],kind:"property"},{name:"onImportCompleted",decorators:[(0,c.default)()],init:()=>()=>{}},{name:"onOpenLink",decorators:[(0,c.default)()],init:()=>()=>{}},{name:"onReportEvent",decorators:[(0,c.default)()],init:()=>()=>{}},{name:"lrSDKHelper",decorators:[(0,c.default)()],kind:"property"},{name:"colorStop",decorators:[(0,c.default)()],init:()=>"dark"},{name:"locale",decorators:[(0,c.default)()],kind:"property"},{name:"debug",decorators:[(0,c.default)()],init:()=>!0},{name:"_importTask",decorators:[(0,u.default)()],kind:"property"},{name:"_online",decorators:[(0,u.default)()],init:()=>navigator.onLine},{name:"_isImporterReady",decorators:[(0,u.default)()],init:()=>!1},{name:"_isImporterEmpty",decorators:[(0,u.default)()],init:()=>!1},{name:"_isImporterEntitled",decorators:[(0,u.default)()],init:()=>!1},{name:"_importerRetryCounter",decorators:[(0,u.default)()],init:()=>0},{name:"_serviceUnavailable",decorators:[(0,u.default)()],init:()=>!1},{name:"_invalidAccessToken",decorators:[(0,u.default)()],init:()=>!1},{name:"_handleOnlineStatusChange",decorators:[(0,l.default)()],fn:function(){navigator.onLine?setTimeout(()=>{navigator.onLine&&(this._online=!0)},3e3):(this._importTask&&(this._importTask.isDownloading&&this._importTask.cancelDownload(),this._importTask=null),this._online=!1,this._isImporterReady=!1)}},{name:"_handleImport",decorators:[(0,l.default)()],fn:function(e){this._importTask=new _.default(e,this.scope.importer.clientId),e.forEach(e=>{this.scope.importer.report("clicked-asset",e.toAnalyticsData())}),this.scope.importer.report("clicked-import",{count:this._importTask.items.length}),this.lrImporter.reattach()}},{name:"_handleDownloadComplete",decorators:[(0,l.default)()],fn:function(){let e=this._importTask.downloadedItems.map(e=>{let t=e.selectedOption.asset,n={path:e.path,filename:e.selectedOption.filename,assetId:t.assetId,extension:t.extension,contentType:t.contentType,isSmartProxy:t.isSmartProxy};return e.selectedOption.applyACR?t.getXmpString(this.scope.importer.accessToken,this.scope.importer.clientId).then(e=>(n.xmpString=e,n.adobeUserOrientation=t.userOrientation,n)).catch(e=>((0,v.error)("[cc-photos-importer] Failed to get XMP string, will return file info without XMP.",e),n)):h.default.resolve(n)});h.default.all(e).delay(500).then(e=>this.onImportCompleted(e)).delay(0===e.length?1e4:0).finally(()=>{this._importTask=null})}},{name:"_handleDownloadCancel",decorators:[(0,l.default)()],fn:function(){this.scope.importer.report("clicked-cancel-download",{count:this._importTask.items.length}),this._importTask=null}},{name:"_handleLrImporterInitialize",decorators:[(0,l.default)()],fn:function(){this._importTask||this.scope.importer.report("initialize-lr-organizer")}},{name:"_handleLrImporterReady",decorators:[(0,l.default)()],fn:function(e,t){this._isImporterReady=!0,this._isImporterEmpty=e,this._isImporterEntitled=t,this._importerRetryCounter=0,this._importTask||this.scope.importer.report("rendered-lr-organizer")}},{name:"_handleLrImporterError",decorators:[(0,l.default)()],fn:function(e){let t=e&&e.message,n=e&&e.stack;this.scope.importer.report("initialize-lr-organizer-failed",{message:t,stack:n}),this._isImporterReady=!1,this._importerRetryCounter++,this._importerRetryCounter>5?(0,v.error)("[cc-photos-importer] Reach maximum retry count. Will stop trying to attach Lr Importer"):((0,v.error)("[cc-photos-importer] Failed to load Lr Importer. Will retry in 10 seconds",e),setTimeout(()=>{this.lrImporter.reattach()},1e4))}},{name:"_handleLrImporterReattach",decorators:[(0,l.default)()],fn:function(){this._isImporterReady=!1,this._importTask||this.scope.importer.report("clicked-refresh")}},{name:"_handleRetry",decorators:[(0,l.default)()],fn:function(){this._isImporterReady=!1,this._isImporterEmpty=!1,this._serviceUnavailable=!1,this._importerRetryCounter=0,this._invalidAccessToken?this._requestAccessToken():this.lrImporter&&this.lrImporter.reattach(),this.scope.importer.report("clicked-refresh")}}]})}).call(t,n(5)(e))},function(e,t,n){"use strict";e.exports=n(60).defaults},function(e,t,n){"use strict";const r=Object.prototype,i=r.hasOwnProperty;e.exports={defaults:function(e,...t){return e=Object(e),t.forEach(t=>{if(null!==t){t=Object(t);for(const n in t){const o=e[n];(void 0===o||o===r[n]&&!i.call(e,n))&&(e[n]=t[n])}}}),e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(32),o=(r=i)&&r.__esModule?r:{default:r};const a=/^(?:(.+?):)?(on-)?(.*)$/,s=function(){};class l{constructor(e,t){this.isEvent=t,this.configurable=!0,this.enumerable=!1,e.get?(this.get=e.get,this.set=e.set||s):this.value=e.value;const n=a.exec(e.original||e.name||"");this.namespace=n[1],this.name=n[3],this.normalizedName=l.normalizeName(n[3]),this.isEvent=this.isEvent||!!n[2]}static normalizeName(e){return(0,o.default)(e)}isValid(){return!!this.name}toChildAttribute(e,t){let n=t&&this.namespace?this.namespace+":":"";return this.isEvent?{name:n+"on-"+this.name,value:this.value.bind(e)}:this.get?{name:n+this.name,get:this.get.bind(e),set:this.set.bind(e)}:{name:n+this.name,value:this.value}}matchesNamespace(e){return!e||e===this.namespace}static forEachSpread(e,t,n){for(let r of t){const t=r(e);if(t instanceof Array)for(let e of t){const t=new l(e);t.isValid()&&n(t)}else if("object"==typeof t)for(let e in t){let r=t[e];if(t.hasOwnProperty(e)&&r){let t;r.hasOwnProperty("value")||r.hasOwnProperty("get")?(r.name=e,t=r):t={name:e,value:r};const i=new l(t);i.isValid()&&n(i)}}}}}t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{constructor(e,{name:t,init:n,fn:r,kind:i},o){this.descriptor=null,this.ref=e,this.classObject=o,this.name=t,this.fn=r,this.init=n,this.kind=n?"property":i||"method"}define(e){this.descriptor=e}isDefined(){return!!this.descriptor}getSuper(e=this.name){return this.ref[e]}throwError(e){throw new Error(`${e} - ${this.className}.${this.name}.`)}getValue(){var e=this.descriptor;return e&&e.get&&this.throwError("Another decorator has already added a getter. Please revise the order of the decorators."),e&&e.value||this.fn}setValue(e,t=!1,n=!0){this.define({configurable:n,enumerable:t,value:e})}setWritableValue(e,t=!1,n=!0){this.define({configurable:n,enumerable:t,value:e,writable:!0})}setDefaultValue(e=!1,t=!0){this.define({configurable:t,enumerable:e,value:this.getValue()})}getDefaultValue(){var e=this.init;return e?e():void 0}setGetter(e,t=!1,n=!0){this.define({configurable:n,enumerable:t,get:e})}get className(){return this.classObject.constructor.name}finish(){this.descriptor&&Object.defineProperty(this.ref,this.name,this.descriptor)}add(e,t){Object.defineProperty(this.ref,e,t)}static applyDecorators(e,t){let n=e.constructor,i=t.static?n:e,o=new r(i,t,n);var a=t.decorators;if(a)for(var s=0,l=a.length;s<l;++s)a[s](o);o.finish()}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(t&&t instanceof Promise){var n=t._torq_binding;return n||((n=t._torq_binding={resolved:!1,value:void 0}).obj=n,t.then(e=>{n.resolved=!0,n.value=e,o.default.trigger(n,"update")})),n.resolved||e.push({eventName:"update",obj:n}),n}};var r,i=n(9),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=s(n(0)),o=s(n(6)),a=s(n(21));function s(e){return e&&e.__esModule?e:{default:e}}r=a.default;class l extends r{constructor(e,t,n){super(),this.parent=e,this.name=t,this.priority=n}register(e){e?this.parent.after.push(this.enqueue):this.enqueue()}}t.default=l,t.default=l=(0,i.default)(l,{properties:[{name:"enqueue",decorators:[(0,o.default)()],fn:function(){this.parent.push(this.run,this.priority)}}]})},function(e,t,n){"use strict";t.__esModule=!0;var r=o(n(66)),i=o(n(80));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function e(t,n,o){null===t&&(t=Function.prototype);var a=(0,i.default)(t,n);if(void 0===a){var s=(0,r.default)(t);return null===s?void 0:e(s,n,o)}if("value"in a)return a.value;var l=a.get;return void 0!==l?l.call(o):void 0}},function(e,t,n){e.exports={default:n(67),__esModule:!0}},function(e,t,n){n(68),e.exports=n(17).Object.getPrototypeOf},function(e,t,n){var r=n(39),i=n(69);n(41)("getPrototypeOf",(function(){return function(e){return i(r(e))}}))},function(e,t,n){var r=n(23),i=n(39),o=n(70)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(71)("keys"),i=n(72);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t,n){var r=n(24),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(24),i=n(17),o=n(74),a=n(76),s=n(23),l=function(e,t,n){var u,c,d,p=e&l.F,f=e&l.G,h=e&l.S,_=e&l.P,v=e&l.B,m=e&l.W,g=f?i:i[t]||(i[t]={}),y=g.prototype,b=f?r:h?r[t]:(r[t]||{}).prototype;for(u in f&&(n=t),n)(c=!p&&b&&void 0!==b[u])&&s(g,u)||(d=c?b[u]:n[u],g[u]=f&&"function"!=typeof b[u]?n[u]:v&&c?o(d,r):m&&b[u]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):_&&"function"==typeof d?o(Function.call,d):d,_&&((g.virtual||(g.virtual={}))[u]=d,e&l.R&&y&&!y[u]&&a(y,u,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var r=n(75);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(77),i=n(44);e.exports=n(18)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(78),i=n(42),o=n(43),a=Object.defineProperty;t.f=n(18)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(25);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){var r=n(25),i=n(24).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){e.exports={default:n(81),__esModule:!0}},function(e,t,n){n(82);var r=n(17).Object;e.exports=function(e,t){return r.getOwnPropertyDescriptor(e,t)}},function(e,t,n){var r=n(45),i=n(85).f;n(41)("getOwnPropertyDescriptor",(function(){return function(e,t){return i(r(e),t)}}))},function(e,t,n){var r=n(84);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(86),i=n(44),o=n(45),a=n(43),s=n(23),l=n(42),u=Object.getOwnPropertyDescriptor;t.f=n(18)?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i,o=n(27),a=(r=o)&&r.__esModule?r:{default:r};i=a.default.performance&&a.default.performance.now?()=>performance.now():Date.now?()=>Date.now():()=>(new Date).getTime(),t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=u(n(0)),o=u(n(6)),a=u(n(29)),s=u(n(11)),l=u(n(9));function u(e){return e&&e.__esModule?e:{default:e}}r=s.default;class c extends r{update(e,t=!0){const{previousValue:n}=this;return n===e?!!this.lengthChanged&&(this.lengthChanged=!1,t&&this.invokeCallback(e),!0):(n===this.FirstExecutionMarker?this.previousValue=e:n&&"object"==typeof n&&l.default.stopListening(this,n),this.lengthChanged=!1,e&&"object"==typeof e&&l.default.listenTo(this,e,"change",this.onLengthChanged),t&&this.invokeCallback(e),!0)}invokeCallback(e){e instanceof a.default?this.callback(e.base):this.callback(e)}}t.default=c,t.default=c=(0,i.default)(c,{properties:[{name:"onLengthChanged",decorators:[(0,o.default)()],fn:function(){this.lengthChanged=!0,this.invalidate()}}]})},function(e,t,n){"use strict";let r=0;e.exports=function(e){return(e||"")+ ++r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(0)),i=u(n(12)),o=u(n(4)),a=u(n(91)),s=n(13),l=u(n(93));function u(e){return e&&e.__esModule?e:{default:e}}class c{constructor(e,t){this.items=[],e.forEach(e=>{try{this.items.push(new l.default(e,t))}catch(t){(0,s.debug)("[cc-photos-importer] Invalid asset",e,t)}})}get isDownloading(){return Boolean(this._downloadPromise)}download(e){return this._downloadPromise||(this._downloadPromise=o.default.reduce(this.items,(t,n)=>n.download().then(e=>(t.push(e),t)).catch(r=>((0,s.debug)("[cc-photos-importer] Failed to download file",n,r),e&&e(r,n),t)),[]).finally(()=>{this._downloadPromise=null})),this._downloadPromise}cancelDownload(){this._downloadPromise&&this._downloadPromise.cancel(),this.canceled=!0,this.items.forEach(e=>e.resetStatus())}get progress(){if(this.canceled)return"Canceling import...";let e=this.items.length,t=this.items.filter(e=>e.isDownloaded).length;return`Importing ${e} Photos (${Math.min(t+1,this.items.length)} of ${e})`}get downloadedItems(){return this.items.filter(e=>e.isDownloaded)}}t.default=c,t.default=c=(0,r.default)(c,{properties:[{name:"downloadedFilePaths",decorators:[(0,i.default)()],init:()=>new a.default},{name:"canceled",decorators:[(0,i.default)()],init:()=>!1},{name:"_downloadPromise",decorators:[(0,i.default)()],kind:"property"}]})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(9)),i=s(n(11)),o=s(n(29)),a=s(n(92));function s(e){return e&&e.__esModule?e:{default:e}}class l extends o.default{constructor(e){super(),this.base=e||[]}at(e){return i.default.active&&i.default.recordEvent(this,"change"),this.base[e]}setAt(e,t){r.default.trigger(this,"change"),this.base[e]=t}toArray(){return i.default.active&&i.default.recordEvent(this,"change"),this.base.slice()}get length(){return i.default.active&&i.default.recordEvent(this,"change"),this.base.length}set length(e){this.base.length!==e&&(this.base.length=e,r.default.trigger(this,"change"))}swapItems(e){this.base=e,r.default.trigger(this,"change")}removeItem(e){var t=this.indexOf(e);-1!==t&&this.splice(t,1)}concat(...e){return i.default.active&&i.default.recordEvent(this,"change"),new l(this.base.concat(...e.map(e=>e instanceof l?(i.default.active&&i.default.recordEvent(e,"change"),e.base):e)))}concatToArray(){return this.concat.apply(this,arguments).base}spliceToArray(){return this.splice.apply(this,arguments).base}sliceToArray(){return this.slice.apply(this,arguments).base}mapToArray(){return this.map.apply(this,arguments).base}filterToArray(){return this.filter.apply(this,arguments).base}}t.default=l,a.default.polyfill();var u=Array.prototype,c=l.prototype,d=["fill","pop","push","reverse","shift","unshift","splice","sort","copyWithin"];function p(e,t){return e instanceof Array?t.base===e?t:new l(e):e}function f(e,t){return t?function(){var t=e.apply(this.base,arguments);return r.default.trigger(this,"change"),p(t,this)}:function(){return i.default.active&&i.default.recordEvent(this,"change"),p(e.apply(this.base,arguments),this)}}for(var h=Object.getOwnPropertyNames(u),_=0,v=h.length;_<v;++_){var m=h[_];c.hasOwnProperty(m)||(c[m]=f(u[m],-1!==d.indexOf(m)))}},function(e,t,n){"use strict";function r(e,t){for(let n=0,r=this.length;n<r;n++){const r=this[n];if(e.call(t,r,n))return r}}function i(e,t,n){if(e)return(Array.prototype.find||r).call(e,t,n)}i.polyfill=function(){Array.prototype.find||(Array.prototype.find=r)},e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(0)),i=u(n(12)),o=u(n(4)),a=n(94),s=u(a),l=n(13);function u(e){return e&&e.__esModule?e:{default:e}}const c=Object.freeze({INITIAL:"INITIAL",DOWNLOADING:"DOWNLOADING",DOWNLOADED:"DOWNLOADED",FAILED:"FAILED"});class d{constructor(e,t){this.asset=e,this.clientId=t,this.options=s.default.createFromAsset(e),this.options.has(a.OPTIONS.PROXY)?this.selectedOption=this.options.get(a.OPTIONS.PROXY_ACR)||this.options.get(a.OPTIONS.PROXY):this.selectedOption=this.options.get(a.OPTIONS.ORIGINAL_ACR)||this.options.get(a.OPTIONS.ORIGINAL)}get isDownloading(){return this.status===c.DOWNLOADING}get isDownloaded(){return this.status===c.DOWNLOADED}get isFailed(){return this.status===c.FAILED}resetStatus(){this.status=c.INITIAL}download(){return this.isDownloaded?o.default.resolve(this.path):(this.status=c.DOWNLOADING,this.selectedOption.getAssetUrl().delay(500).then(e=>((0,l.debug)("[cc-photos-importer] Downloading photo from",e),this._download(e))).then(e=>{(0,l.debug)("[cc-photos-importer] Saved photo to",e),this.path=e}).tap(()=>this.status=c.DOWNLOADED).catch(e=>{throw this.status=c.FAILED,e}))}_download(e,t,n={}){let{retry:r=2,retryDelay:i=1e3}=n,a=this.asset.assetId;return new o.default((n,o)=>{let s=a=>{(0,l.debug)("[cc-photos-importer] Failed to download file from "+e,a),0!==r?((0,l.debug)("[cc-photos-importer] will retry..."),setTimeout(()=>{this._download(e,t,{retry:r-1,retryDelay:i}).then(n).catch(o)},i)):o(a)},u=window.VulcanInterface,c=window.VulcanMessage,d=()=>{u.removeMessageListener(c.TYPE_PREFIX+"ccxprocess.CCPhotoDownloadResponse",m),u.removeMessageListener(c.TYPE_PREFIX+"ccxprocess.CCPhotoDownloadProgress",v),u.removeMessageListener(c.TYPE_PREFIX+"ccxprocess.CCPhotoDownloadError",h)},p=e=>{let t,n=u.getPayload(e);try{t=JSON.parse(n)}catch(e){return}if(t&&t.id===a)return t},f=!1,h=e=>{f=!0,d();let t=p(e);s(t&&t.error)},_=0,v=e=>{f=!0;let t=p(e);t&&t.percentage!=_&&(_=t.percentage,(0,l.debug)(`[cc-photos-importer] Download progress ${_}%`))},m=e=>{f=!0,d();let t=p(e);t&&n(t.path)};u.addMessageListener(c.TYPE_PREFIX+"ccxprocess.CCPhotoDownloadResponse",m),u.addMessageListener(c.TYPE_PREFIX+"ccxprocess.CCPhotoDownloadProgress",v),u.addMessageListener(c.TYPE_PREFIX+"ccxprocess.CCPhotoDownloadError",h);let g={clientId:this.clientId,id:this.asset.assetId,url:e,filename:this.selectedOption.filename},y=new c(c.TYPE_PREFIX+"ccxprocess.CCPhotoDownloadRequest");y.setPayload(JSON.stringify(g)),u.dispatchMessage(y),setTimeout(()=>{f||s(new Error("Timeout waiting for Vulcan message. Make sure your CCX process version is >= 2.2.0-36 "))},5e3)})}}t.default=d,t.default=d=(0,r.default)(d,{properties:[{name:"status",decorators:[(0,i.default)()],init:()=>c.INITIAL}]})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OPTIONS=void 0;var r,i=n(4),o=(r=i)&&r.__esModule?r:{default:r};const a=t.OPTIONS=Object.freeze({PROXY:"PROXY",PROXY_ACR:"PROXY_ACR",PROXY_RENDITION:"PROXY_RENDITION",ORIGINAL:"ORIGINAL",ORIGINAL_ACR:"ORIGINAL_ACR",ORIGINAL_RENDITION:"ORIGINAL_RENDITION"});class s{static createFromAsset(e){let t,n=new Map,r=e.isSmartProxy;return t=e.isSmartProxy?a.PROXY:a.ORIGINAL,n.set(t,new s({type:t,asset:e,isProxy:r})),e.userEdited&&e.hasXmpString&&(t=e.isSmartProxy?a.PROXY_ACR:a.ORIGINAL_ACR,n.set(t,new s({type:t,asset:e,isProxy:r,applyACR:!0}))),t=e.isSmartProxy?a.PROXY_RENDITION:a.ORIGINAL_RENDITION,n.set(t,new s({type:t,asset:e,isRendition:!0,isProxy:r})),n}constructor({type:e,asset:t,isProxy:n,isRendition:r,applyACR:i}){this.type=e,this.filename=r?t.renditionFilename:t.filename,this.width=t.width,this.height=t.height,this.asset=t,this.isProxy=n,this.isRendition=r,this.applyACR=i}getAssetUrl(){return this._assetUrlPromise||(this.isRendition?this._assetUrlPromise=this.asset.getRenditionUrl():this._assetUrlPromise=o.default.resolve(this.asset.assetUrl)),this._assetUrlPromise}}t.default=s},function(e,t,n){var r={"./cs/strings.json":96,"./da/strings.json":97,"./de/strings.json":98,"./en/strings.json":99,"./es/strings.json":100,"./fi/strings.json":101,"./fr/strings.json":102,"./hu/strings.json":103,"./it/strings.json":104,"./ja/strings.json":105,"./ko/strings.json":106,"./nb/strings.json":107,"./nl/strings.json":108,"./pl/strings.json":109,"./pt/strings.json":110,"./ru/strings.json":111,"./sv/strings.json":112,"./tr/strings.json":113,"./uk/strings.json":114,"./zh-CN/strings.json":115,"./zh-TW/strings.json":116};function i(e){return n(o(e))}function o(e){var t=r[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=95},function(e,t){e.exports={LIGHTROOM_PHOTOS:"Fotografie Lightroom",MESSAGES:{NO_INTERNET:"Připojte se k internetu.",EMPTY_CATALOG:{TITLE:"Vaše knihovna Lightroom je prázdná.",SUBTITLE:"Je tu docela prázdno, přidejte pár nových fotografií!"},SIGN_IN:"Chcete-li si zobrazit fotografie v aplikaci Lightroom, přihlaste se do služby Creative Cloud.",FAILED_TO_LOAD_LR:"Nelze načíst katalog Fotografie Lightroom. Zkuste to znovu později.",SUBSCRIPTION_EXPIRED:"Nemáte přístup ke katalogu Fotografie Lightroom. Zkontrolujte stav svého předplatného.",SERVICE_UNAVAILABLE:"Tato služba není dostupná. Zkontrolujte nastavení sítě."},BUTTONS:{REFRESH:"Obnovit",DOWNLOAD:"Stáhnout",CANCEL:"Zrušit",CANCEL_DOWNLOAD:"Zrušit stahování"},TOOLTIPS:{SMART_PREVIEW_ALERT:"Tento obrázek je inteligentní náhled.",LEARN_MORE:"Další informace"},SMART_PROXY:"Inteligentní náhled",ORIGINAL_FILE:"Původní soubor",DOWNLOAD_1_PHOTO:"Stahování 1 fotografie",DOWNLOAD_N_PHOTOS:"Stahování {0} fotografií"}},function(e,t){e.exports={LIGHTROOM_PHOTOS:"Lightroom-fotos",MESSAGES:{NO_INTERNET:"Opret forbindelse til internettet.",EMPTY_CATALOG:{TITLE:"Dit Lightroom-bibliotek er tomt.",SUBTITLE:"Det er lidt ensomt herinde. Lad os tilføje nogle nye fotos."},SIGN_IN:"Log ind på Creative Cloud for at se dine Lightroom-fotos.",FAILED_TO_LOAD_LR:"Kunne ikke logge ind på Lightroom-fotos. Prøv igen senere.",SUBSCRIPTION_EXPIRED:"Du har ikke adgang til Lightroom-fotos. Tjek din abonnementstatus",SERVICE_UNAVAILABLE:"Denne tjeneste er ikke tilgængelig. Kontrollér dine netværksindstillinger."},BUTTONS:{REFRESH:"Opdater",DOWNLOAD:"Hent",CANCEL:"Annuller",CANCEL_DOWNLOAD:"Annuller download"},TOOLTIPS:{SMART_PREVIEW_ALERT:"Dette billede er en smart forhåndsvisning.",LEARN_MORE:"Få mere at vide"},SMART_PROXY:"Smart forhåndsvisning",ORIGINAL_FILE:"Oprindelig fil",DOWNLOAD_1_PHOTO:"Downloader 1 foto",DOWNLOAD_N_PHOTOS:"Downloader {0} fotos"}},function(e,t){e.exports={LIGHTROOM_PHOTOS:"Lightroom Photos",MESSAGES:{NO_INTERNET:"Stellen Sie eine Verbindung mit dem Internet her.",EMPTY_CATALOG:{TITLE:"Ihre Lightroom-Bibliothek ist leer.",SUBTITLE:"Irgendwie fehlt hier etwas, also fügen wir ein paar neue Fotos hinzu."},SIGN_IN:"Um Ihre Lightroom-Fotos anzusehen, melden Sie sich bei Creative Cloud an.",FAILED_TO_LOAD_LR:"Lightroom Photos kann nicht geladen werden. Bitte versuchen Sie es später erneut.",SUBSCRIPTION_EXPIRED:"Sie haben keinen Zugriff auf Lightroom Photos. Bitte überprüfen Sie Ihren Abonnementstatus.",SERVICE_UNAVAILABLE:"Dieser Dienst ist nicht verfügbar. Bitte überprüfen Sie Ihre Netzwerkeinstellungen."},BUTTONS:{REFRESH:"Aktualisieren",DOWNLOAD:"Download",CANCEL:"Abbrechen",CANCEL_DOWNLOAD:"Download abbrechen"},TOOLTIPS:{SMART_PREVIEW_ALERT:"Dieses Bild ist eine Smart-Vorschau.",LEARN_MORE:"Weitere Informationen"},SMART_PROXY:"Smart-Vorschau",ORIGINAL_FILE:"Originaldatei",DOWNLOAD_1_PHOTO:"1 Foto wird heruntergeladen",DOWNLOAD_N_PHOTOS:"{0} Fotos werden heruntergeladen"}},function(e,t){e.exports={LIGHTROOM_PHOTOS:"Lightroom Photos",MESSAGES:{NO_INTERNET:"Please connect to the Internet.",EMPTY_CATALOG:{TITLE:"Your Lightroom Library is Empty.",SUBTITLE:"It’s kinda lonely in here, let’s add some new photos!"},SIGN_IN:"To view your Lightroom photos, please sign in to Creative Cloud.",FAILED_TO_LOAD_LR:"Unable to load Lightroom Photos. Please try again later.",SUBSCRIPTION_EXPIRED:"You do not have access to Lightroom Photos. Please check your subscription status",SERVICE_UNAVAILABLE:"This service is not available. Please check your network settings."},BUTTONS:{REFRESH:"Refresh",DOWNLOAD:"Download",CANCEL:"Cancel",CANCEL_DOWNLOAD:"Cancel Download"},TOOLTIPS:{SMART_PREVIEW_ALERT:"This image is a smart preview.",LEARN_MORE:"Learn More"},SMART_PROXY:"Smart Preview",ORIGINAL_FILE:"Original File",DOWNLOAD_1_PHOTO:"Downloading 1 photo",DOWNLOAD_N_PHOTOS:"Downloading {0} photos"}},function(e,t){e.exports={LIGHTROOM_PHOTOS:"Fotografías de Lightroom",MESSAGES:{NO_INTERNET:"Conéctese a Internet.",EMPTY_CATALOG:{TITLE:"Su biblioteca de Lightroom está vacía.",SUBTITLE:"Esto está un poco vacío, ¿añadimos alguna fotografía?"},SIGN_IN:"Para ver sus fotografías de Lightroom, inicie sesión en Creative Cloud.",FAILED_TO_LOAD_LR:"No se puede cargar Fotografías de Lightroom. Inténtelo de nuevo más tarde.",SUBSCRIPTION_EXPIRED:"No tiene acceso a Fotografías de Lightroom. Compruebe el estado de su suscripción.",SERVICE_UNAVAILABLE:"Este servicio no está disponible. Compruebe su configuración de red."},BUTTONS:{REFRESH:"Actualizar",DOWNLOAD:"Descargar",CANCEL:"Cancelar",CANCEL_DOWNLOAD:"Cancelar descarga"},TOOLTIPS:{SMART_PREVIEW_ALERT:"Esta imagen es una previsualización inteligente.",LEARN_MORE:"Más información"},SMART_PROXY:"Previsualización inteligente",ORIGINAL_FILE:"Archivo original",DOWNLOAD_1_PHOTO:"Descargando 1 fotografía",DOWNLOAD_N_PHOTOS:"Descargando {0} fotografías"}},function(e,t){e.exports={LIGHTROOM_PHOTOS:"Lightroom-valokuvat",MESSAGES:{NO_INTERNET:"Muodosta Internet-yhteys.",EMPTY_CATALOG:{TITLE:"Lightroom-kirjasto on tyhjä.",SUBTITLE:"Onpa täällä tyhjää! Lisätään uusia valokuvia."},SIGN_IN:"Tarkastele Lightroom-valokuviasi kirjautumalla Creative Cloudiin.",FAILED_TO_LOAD_LR:"Lightroom-valokuvien lataaminen epäonnistui. Yritä myöhemmin uudelleen.",SUBSCRIPTION_EXPIRED:"Sinulla ei ole käyttöoikeutta Lightroom-valokuviin. Tarkista tilauksen tila.",SERVICE_UNAVAILABLE:"Palvelu ei ole käytettävissä. Tarkista verkkoasetukset."},BUTTONS:{REFRESH:"Päivitä",DOWNLOAD:"Lataa",CANCEL:"Peruuta",CANCEL_DOWNLOAD:"Peruuta lataus"},TOOLTIPS:{SMART_PREVIEW_ALERT:"Tämä on älykäs esikatselukuva.",LEARN_MORE:"Lisätietoja"},SMART_PROXY:"Älykäs esikatselu",ORIGINAL_FILE:"Alkuperäinen tiedosto",DOWNLOAD_1_PHOTO:"Ladataan 1 valokuva",DOWNLOAD_N_PHOTOS:"Ladataan {0} valokuvaa"}},function(e,t){e.exports={LIGHTROOM_PHOTOS:"Photos Lightroom",MESSAGES:{NO_INTERNET:"Connectez-vous à Internet.",EMPTY_CATALOG:{TITLE:"Votre bibliothèque Lightroom est vide.",SUBTITLE:"Elle est un peu seule ici, ajoutons de nouvelles photos !"},SIGN_IN:"Pour afficher vos photos Lightroom, connectez-vous à Creative Cloud.",FAILED_TO_LOAD_LR:"Impossible de charger Photos Lightroom. Réessayez ultérieurement.\n",SUBSCRIPTION_EXPIRED:"Vous n'avez pas accès à Photos Lightroom. Veuillez vérifier l'état de votre abonnement.",SERVICE_UNAVAILABLE:"Ce service n'est pas disponible. Vérifiez vos paramètres réseau."},BUTTONS:{REFRESH:"Actualiser",DOWNLOAD:"Télécharger",CANCEL:"Annuler",CANCEL_DOWNLOAD:"Annuler le téléchargement"},TOOLTIPS:{SMART_PREVIEW_ALERT:"Cette image est un aperçu dynamique.",LEARN_MORE:"En savoir plus"},SMART_PROXY:"Aperçu dynamique",ORIGINAL_FILE:"Fichier d'origine",DOWNLOAD_1_PHOTO:"Téléchargement de 1 photo",DOWNLOAD_N_PHOTOS:"Téléchargement de {0} photos"}},function(e,t){e.exports={LIGHTROOM_PHOTOS:"Lightroom-fényképek",MESSAGES:{NO_INTERNET:"Csatlakozzon az internetre.",EMPTY_CATALOG:{TITLE:"Lightroom-könyvtára üres.",SUBTITLE:"Olyan magányosnak tűnik itt, vegyünk fel néhány új fotót!"},SIGN_IN:"Lightroom-fényképeinek megtekintéséhez jelentkezzen be a Creative Cloud szolgáltatásba.",FAILED_TO_LOAD_LR:"A Lightroom-fényképek nem tölthetők be. Próbálja újra később.",SUBSCRIPTION_EXPIRED:"Nincs hozzáférése a Lightroom-fényképekhez. Ellenőrizze előfizetésének érvényességét.",SERVICE_UNAVAILABLE:"A szolgáltatás nem érhető el. Ellenőrizze hálózati beállításait."},BUTTONS:{REFRESH:"Frissítés",DOWNLOAD:"Letöltés",CANCEL:"Mégse",CANCEL_DOWNLOAD:"Letöltés megszakítása"},TOOLTIPS:{SMART_PREVIEW_ALERT:"Ez a kép intelligens előnézet.",LEARN_MORE:"További információ"},SMART_PROXY:"Intelligens előnézet",ORIGINAL_FILE:"Eredeti fájl",DOWNLOAD_1_PHOTO:"1 fénykép letöltése",DOWNLOAD_N_PHOTOS:"{0} fénykép letöltése"}},function(e,t){e.exports={LIGHTROOM_PHOTOS:"Foto Lightroom\n",MESSAGES:{NO_INTERNET:"Connettetevi a Internet.",EMPTY_CATALOG:{TITLE:"La vostra libreria Lightroom è vuota.",SUBTITLE:"È un po' vuoto qui, aggiungiamo qualche nuova foto."},SIGN_IN:"Per visualizzare le vostre foto di Lightroom, effettuate l'accesso a Creative Cloud.",FAILED_TO_LOAD_LR:"Impossibile caricare Foto Lightroom. Riprovate più tardi.",SUBSCRIPTION_EXPIRED:"Non disponete dell'accesso a Foto Lightroom. Verificate lo stato del vostro abbonamento",SERVICE_UNAVAILABLE:"Servizio non disponibile. Verificate le impostazioni di rete."},BUTTONS:{REFRESH:"Aggiorna",DOWNLOAD:"Scarica",CANCEL:"Annulla",CANCEL_DOWNLOAD:"Annulla download"},TOOLTIPS:{SMART_PREVIEW_ALERT:"Questa immagine è un'anteprima avanzata.",LEARN_MORE:"Ulteriori informazioni"},SMART_PROXY:"Anteprima avanzata",ORIGINAL_FILE:"File originale",DOWNLOAD_1_PHOTO:"Download di 1 foto in corso...",DOWNLOAD_N_PHOTOS:"Download di {0} foto in corso..."}},function(e,t){e.exports={LIGHTROOM_PHOTOS:"Lightroom の写真",MESSAGES:{NO_INTERNET:"インターネットに接続してください。",EMPTY_CATALOG:{TITLE:"Lightroom ライブラリは空です。",SUBTITLE:"少しさびしいので、写真を何枚か追加しましょう!"},SIGN_IN:"Lightroom の写真を表示するには、Creative Cloud にログインしてください。",FAILED_TO_LOAD_LR:"Lightroom の写真を読み込めませんでした。後でやり直してください。",SUBSCRIPTION_EXPIRED:"Lightroom の写真へのアクセス権がありません。サブスクリプションのステータスを確認してください。",SERVICE_UNAVAILABLE:"このサービスは利用できません。ネットワーク設定を確認してください。"},BUTTONS:{REFRESH:"更新",DOWNLOAD:"ダウンロード",CANCEL:"キャンセル",CANCEL_DOWNLOAD:"ダウンロードをキャンセル"},TOOLTIPS:{SMART_PREVIEW_ALERT:"この画像はスマートプレビューです。",LEARN_MORE:"詳細情報"},SMART_PROXY:"スマートプレビュー",ORIGINAL_FILE:"元ファイル",DOWNLOAD_1_PHOTO:"1 枚の写真をダウンロード中",DOWNLOAD_N_PHOTOS:"{0} 枚の写真をダウンロード中"}},function(e,t){e.exports={LIGHTROOM_PHOTOS:"Lightroom 사진",MESSAGES:{NO_INTERNET:"인터넷에 연결하십시오.",EMPTY_CATALOG:{TITLE:"Lightroom 라이브러리가 비어 있습니다.",SUBTITLE:"여기가 좀 허전하네요. 새로운 사진 몇 장을 추가해 봅시다!"},SIGN_IN:"Lightroom 사진을 보려면 Creative Cloud에 로그인하십시오.",FAILED_TO_LOAD_LR:"Lightroom 사진을 로드할 수 없습니다. 나중에 다시 시도하십시오.",SUBSCRIPTION_EXPIRED:"Lightroom 사진에 액세스할 수 없습니다. 구독 상태를 확인하십시오.",SERVICE_UNAVAILABLE:"이 서비스를 사용할 수 없습니다. 네트워크 설정을 확인하십시오."},BUTTONS:{REFRESH:"새로 고침",DOWNLOAD:"다운로드",CANCEL:"취소",CANCEL_DOWNLOAD:"다운로드 취소"},TOOLTIPS:{SMART_PREVIEW_ALERT:"이 이미지는 스마트 미리 보기입니다.",LEARN_MORE:"자세히 알아보기"},SMART_PROXY:"스마트 미리 보기",ORIGINAL_FILE:"원본 파일",DOWNLOAD_1_PHOTO:"사진 한 장을 다운로드 중",DOWNLOAD_N_PHOTOS:"사진 {0}장을 다운로드 중"}},function(e,t){e.exports={LIGHTROOM_PHOTOS:"Lightroom-bilder",MESSAGES:{NO_INTERNET:"Koble til Internett.",EMPTY_CATALOG:{TITLE:"Lightroom-biblioteket ditt er tomt.",SUBTITLE:"Det er litt ensomt her. På tide å legge til noen nye bilder."},SIGN_IN:"Logg på Creative Cloud for å se Lightroom-bildene dine.",FAILED_TO_LOAD_LR:"Kan ikke laste inn Lightroom-bilder. Prøv på nytt senere.",SUBSCRIPTION_EXPIRED:"Du har ikke tilgang til Lightroom-bilder. Kontroller statusen for abonnementet ditt",SERVICE_UNAVAILABLE:"Denne tjenesten er ikke tilgjengelig. Kontroller nettverksinnstillingene dine."},BUTTONS:{REFRESH:"Oppdater",DOWNLOAD:"Last ned",CANCEL:"Avbryt",CANCEL_DOWNLOAD:"Avbryt nedlastingen"},TOOLTIPS:{SMART_PREVIEW_ALERT:"Dette bildet er en smart forhåndsvisning.",LEARN_MORE:"Lær mer"},SMART_PROXY:"Smart forhåndsvisning",ORIGINAL_FILE:"Originalfil",DOWNLOAD_1_PHOTO:"Laster ned 1 bilde",DOWNLOAD_N_PHOTOS:"Laster ned {0} bilder"}},function(e,t){e.exports={LIGHTROOM_PHOTOS:"Lightroom-foto's",MESSAGES:{NO_INTERNET:"Maak verbinding met internet.",EMPTY_CATALOG:{TITLE:"Uw Lightroom-bibliotheek is leeg.",SUBTITLE:"Het is een beetje eenzaam hier, laten we een aantal nieuwe foto's toevoegen!"},SIGN_IN:"Meld u aan bij Creative Cloud om uw Lightroom-foto's te bekijken.",FAILED_TO_LOAD_LR:"Kan Lightroom-foto's niet laden. Probeer het later opnieuw.\n",SUBSCRIPTION_EXPIRED:"U hebt geen toegang tot Lightroom-foto's. Controleer uw lidmaatschapsstatus",SERVICE_UNAVAILABLE:"Deze service is niet beschikbaar. Controleer uw netwerkinstellingen."},BUTTONS:{REFRESH:"Vernieuwen",DOWNLOAD:"Downloaden",CANCEL:"Annuleren",CANCEL_DOWNLOAD:"Download annuleren"},TOOLTIPS:{SMART_PREVIEW_ALERT:"Deze afbeelding is een slimme voorvertoning.",LEARN_MORE:"Lees meer"},SMART_PROXY:"Slimme voorvertoning",ORIGINAL_FILE:"Oorspronkelijk bestand",DOWNLOAD_1_PHOTO:"1 foto downloaden",DOWNLOAD_N_PHOTOS:"{0} foto's downloaden"}},function(e,t){e.exports={LIGHTROOM_PHOTOS:"Zdjęcia programu Lightroom",MESSAGES:{NO_INTERNET:"Nawiąż połączenie z Internetem.",EMPTY_CATALOG:{TITLE:"Biblioteka programu Lightroom jest pusta.",SUBTITLE:"Trochę tu pusto. Dodajmy nowe zdjęcia."},SIGN_IN:"Aby wyświetlić zdjęcia z programu Lightroom, zaloguj się w usłudze Creative Cloud.",FAILED_TO_LOAD_LR:"Nie można wczytać obrazów ze zdjęć programu Lightroom. Spróbuj ponownie później.",SUBSCRIPTION_EXPIRED:"Nie masz dostępu do zdjęć programu Lightroom. Sprawdź stan członkostwa.",SERVICE_UNAVAILABLE:"Usługa nie jest dostępna. Sprawdź ustawienia sieciowe."},BUTTONS:{REFRESH:"Odśwież",DOWNLOAD:"Pobierz",CANCEL:"Anuluj",CANCEL_DOWNLOAD:"Anuluj pobieranie"},TOOLTIPS:{SMART_PREVIEW_ALERT:"Ten obraz jest podglądem inteligentnym.",LEARN_MORE:"Więcej informacji"},SMART_PROXY:"Podgląd inteligentny",ORIGINAL_FILE:"Oryginalny plik",DOWNLOAD_1_PHOTO:"Pobieranie 1 zdjęcia",DOWNLOAD_N_PHOTOS:"Pobieranie {0} zdjęć"}},function(e,t){e.exports={LIGHTROOM_PHOTOS:"Fotos do Lightroom",MESSAGES:{NO_INTERNET:"Conecte à internet.",EMPTY_CATALOG:{TITLE:"Sua biblioteca do Lightroom está vazia.",SUBTITLE:"Está meio vazio aqui, vamos adicionar algumas fotos novas!"},SIGN_IN:"Para visualizar suas Fotos do Lightroom, faça login no Creative Cloud.",FAILED_TO_LOAD_LR:"Não é possível carregar as Fotos do Lightroom. Tente novamente mais tarde.",SUBSCRIPTION_EXPIRED:"Você não tem acesso às Fotos do Lightroom. Verifique o status de sua assinatura",SERVICE_UNAVAILABLE:"Este serviço não está disponível. Verifique suas configurações de rede."},BUTTONS:{REFRESH:"Atualizar",DOWNLOAD:"Baixar",CANCEL:"Cancelar",CANCEL_DOWNLOAD:"Cancelar download"},TOOLTIPS:{SMART_PREVIEW_ALERT:"Esta imagem é uma visualização inteligente.",LEARN_MORE:"Saiba mais"},SMART_PROXY:"Visualização inteligente",ORIGINAL_FILE:"Arquivo original",DOWNLOAD_1_PHOTO:"Fazendo o download de 1 foto",DOWNLOAD_N_PHOTOS:"Fazendo o download de {0} fotos"}},function(e,t){e.exports={LIGHTROOM_PHOTOS:"Фотографии Lightroom",MESSAGES:{NO_INTERNET:"Подключитесь к Интернету.",EMPTY_CATALOG:{TITLE:"Ваша библиотека Lightroom пуста.",SUBTITLE:"Здесь стало как-то скучно. Самое время добавить новые фотографии!"},SIGN_IN:"Для просмотра фотографий Lightroom выполните вход в Creative Cloud.",FAILED_TO_LOAD_LR:"Не удается загрузить фотографии Lightroom. Повторите попытку позднее.",SUBSCRIPTION_EXPIRED:"У вас нет доступа к фотографиям Lightroom. Проверьте состояние подписки",SERVICE_UNAVAILABLE:"Служба недоступна. Проверьте сетевые настройки."},BUTTONS:{REFRESH:"Обновить",DOWNLOAD:"Загрузить",CANCEL:"Отмена",CANCEL_DOWNLOAD:"Отмена загрузки"},TOOLTIPS:{SMART_PREVIEW_ALERT:"Это изображение является смарт-просмотром.",LEARN_MORE:"Подробнее"},SMART_PROXY:"Смарт-просмотр",ORIGINAL_FILE:"Оригинальный файл",DOWNLOAD_1_PHOTO:"Загрузка 1 фотографии",DOWNLOAD_N_PHOTOS:"Загрузка фотографий: {0}"}},function(e,t){e.exports={LIGHTROOM_PHOTOS:"Lightroom Photos",MESSAGES:{NO_INTERNET:"Du måste ansluta till Internet.",EMPTY_CATALOG:{TITLE:"Lightroom-biblioteket är tomt.",SUBTITLE:"Lägg till några foton här!"},SIGN_IN:"Logga in på Creative Cloud för att se dina foton i Lightroom.",FAILED_TO_LOAD_LR:"Det gick inte att läsa in Lightroom Photos. Försök igen senare.",SUBSCRIPTION_EXPIRED:"Du har ingen åtkomst till Lightroom Photos. Kontrollera din prenumerationsstatus",SERVICE_UNAVAILABLE:"Den här tjänsten är inte tillgänglig. Kontrollera nätverksinställningarna."},BUTTONS:{REFRESH:"Uppdatera",DOWNLOAD:"Hämta",CANCEL:"Avbryt",CANCEL_DOWNLOAD:"Avbryt hämtning"},TOOLTIPS:{SMART_PREVIEW_ALERT:"Den här bilden är en smart förhandsvisning.",LEARN_MORE:"Lär dig mer"},SMART_PROXY:"Smart förhandsvisning",ORIGINAL_FILE:"Originalfil",DOWNLOAD_1_PHOTO:"Hämtar ett foto",DOWNLOAD_N_PHOTOS:"Hämtar {0} foton"}},function(e,t){e.exports={LIGHTROOM_PHOTOS:"Lightroom Fotoğrafları",MESSAGES:{NO_INTERNET:"İnternete bağlanın.",EMPTY_CATALOG:{TITLE:"Lightroom Kitaplığınız Boş.",SUBTITLE:"Burası biraz boş görünüyor, yeni fotoğraflar ekleyelim!"},SIGN_IN:"Lightroom fotoğraflarınızı görüntülemek için Creative Cloud'a giriş yapın.",FAILED_TO_LOAD_LR:"Lightroom Fotoğrafları yüklenemedi. Daha sonra tekrar deneyin.",SUBSCRIPTION_EXPIRED:"Lightroom Fotoğraflarına erişiminiz yok. Abonelik durumunuzu kontrol edin",SERVICE_UNAVAILABLE:"Bu hizmet kullanılamıyor. Lütfen ağ ayarlarınızı kontrol edin."},BUTTONS:{REFRESH:"Yenile",DOWNLOAD:"İndir",CANCEL:"İptal",CANCEL_DOWNLOAD:"İndirmeyi İptal Et"},TOOLTIPS:{SMART_PREVIEW_ALERT:"Bu görüntü bir akıllı önizlemedir.",LEARN_MORE:"Daha Fazla Bilgi"},SMART_PROXY:"Akıllı Önizleme",ORIGINAL_FILE:"Orijinal Dosya",DOWNLOAD_1_PHOTO:"1 fotoğraf indiriliyor",DOWNLOAD_N_PHOTOS:"{0} fotoğraf indiriliyor"}},function(e,t){e.exports={LIGHTROOM_PHOTOS:"Lightroom Фото",MESSAGES:{NO_INTERNET:"Підключіться до Інтернету",EMPTY_CATALOG:{TITLE:"Ваша бібліотека Lightroom пуста.",SUBTITLE:"Тут якось самотньо, додаймо нових фотографій!"},SIGN_IN:"Щоб переглянути фотографії Lightroom, увійдіть у свій обліковий запис Creative Cloud.",FAILED_TO_LOAD_LR:"Не вдалося передати Lightroom Фото. Повторіть спробу пізніше.",SUBSCRIPTION_EXPIRED:"У вас немає доступу до Lightroom Фото. Перевірте стан передплати.",SERVICE_UNAVAILABLE:"Ця служба недоступна. Перевірте параметри мережі."},BUTTONS:{REFRESH:"Оновити",DOWNLOAD:"Завантажити",CANCEL:"Скасувати",CANCEL_DOWNLOAD:"Скасувати завантаження"},TOOLTIPS:{SMART_PREVIEW_ALERT:"Це зображення смарт-перегляду.",LEARN_MORE:"Докладніше"},SMART_PROXY:"Смарт-перегляд",ORIGINAL_FILE:"Вихідний файл",DOWNLOAD_1_PHOTO:"Завантаження 1 фото",DOWNLOAD_N_PHOTOS:"Завантаження {0} фото"}},function(e,t){e.exports={LIGHTROOM_PHOTOS:"Lightroom 照片",MESSAGES:{NO_INTERNET:"请连接到 Internet。",EMPTY_CATALOG:{TITLE:"您的 Lightroom 库为空。",SUBTITLE:"这里有些冷清，我们来添加一些新照片吧！"},SIGN_IN:"要查看您的 Lightroom 照片，请登录 Creative Cloud。",FAILED_TO_LOAD_LR:"无法载入 Lightroom 照片。请稍后重试。",SUBSCRIPTION_EXPIRED:"您不具备访问 Lightroom 照片的权限。请检查您的订阅状态",SERVICE_UNAVAILABLE:"此服务不可用。请检查您的网络设置。"},BUTTONS:{REFRESH:"刷新",DOWNLOAD:"下载",CANCEL:"取消",CANCEL_DOWNLOAD:"取消下载"},TOOLTIPS:{SMART_PREVIEW_ALERT:"此图像是智能预览。",LEARN_MORE:"了解更多"},SMART_PROXY:"智能预览",ORIGINAL_FILE:"原始文件",DOWNLOAD_1_PHOTO:"正在下载 1 张照片",DOWNLOAD_N_PHOTOS:"正在下载 {0} 张照片"}},function(e,t){e.exports={LIGHTROOM_PHOTOS:"Lightroom 相片",MESSAGES:{NO_INTERNET:"請連線至網際網路。",EMPTY_CATALOG:{TITLE:"您的 Lightroom 圖庫是空的。",SUBTITLE:"這樣感覺有點寂寞，讓我們加幾張新相片吧！"},SIGN_IN:"請登入 Creative Cloud 以檢視您的 Lightroom 相片。",FAILED_TO_LOAD_LR:"無法讀取 Lightroom 相片，請稍後再試。",SUBSCRIPTION_EXPIRED:"您無法存取 Lightroom 相片。請檢查您的訂閱狀態",SERVICE_UNAVAILABLE:"此服務無法使用。請檢查您的網路設定。"},BUTTONS:{REFRESH:"重新整理",DOWNLOAD:"下載",CANCEL:"取消",CANCEL_DOWNLOAD:"取消下載"},TOOLTIPS:{SMART_PREVIEW_ALERT:"本影像為智慧型預覽。",LEARN_MORE:"瞭解更多"},SMART_PROXY:"智慧型預覽",ORIGINAL_FILE:"原始檔案",DOWNLOAD_1_PHOTO:"正在下載 1 張相片",DOWNLOAD_N_PHOTOS:"正在下載 {0} 張相片"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(0)),i=o(n(12));function o(e){return e&&e.__esModule?e:{default:e}}class a{constructor({clientId:e,openLinkHandler:t,reportEventHandler:n}){this.clientId=e,this._openLinkHandler=t,this._reportEventHandler=n}openLink(e){this._openLinkHandler(e)}report(e,t){this._reportEventHandler(e,t)}}t.default=a,t.default=a=(0,r.default)(a,{properties:[{name:"accessToken",decorators:[(0,i.default)()],kind:"property"}]})},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r,i=y(n(1)),o=n(3),a=y(n(14)),s=y(n(0)),l=y(n(6)),u=y(n(12)),c=y(n(10)),d=y(n(7)),p=y(n(2)),f=y(n(8)),h=y(n(4)),_=n(13),v=y(n(119)),m=n(15),g=y(n(121));function y(e){return e&&e.__esModule?e:{default:e}}var b={make:function(e){return(b=i.default.make({render:function(e,t){var n=t.div=e.pushTemplateNode(S);e.enterNode(n),e.runBinder(A,w,t,!0);var r=t._if=O.make(e);r.$_parent=t,r.template.run(e,r);var i=t.div1=e.pushTemplateNode(E);k(t,i),e.exitNode(n)},dispose:function(e,t){e.removeSignals(t.div_class_binder,t.div_class_invalidate),t._if.template.dispose(e,t._if),k(t,null)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(A,w,t,!1),t._if.template.reuse(e,t._if),k(t,t.div1)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})).make(e)}};function k(e,t){e.$_scope._this.importerElement=t}var E=(0,o.register)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","lr-importer"),t})),O={make:function(e){return(O=e.makeComponent(a.default,{props:{getCondition:function(e){return e.$_parent.$_scope._this._ready}},blocks:[{name:"children",template:i.default.make({render:function(e,t){var n=t.div=e.pushTemplateNode(L);e.attachEvent(t.div,"click",N),e.enterNode(n),e.runBinder(T,C,t,!0),e.exitNode(n)},dispose:function(e,t){t.div._jsx_data=null,e.removeSignals(t.div_binder,t.div_invalidate),t.div_content=e.disposeContent(t.div_content),t.div_value1=void 0},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(T,C,t,!1)},init:function(e,t){t.div._jsx_data=t},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})}]})).make(e)}};function C(e,t,n,r,i,o){t.div_binder=n,t.div_invalidate=r;var a=t.div_value1;(o||a!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function T(e){return(0,m.localize)("BUTTONS.REFRESH")}function N(){var e=this._jsx_data;e&&e.$_parent.$_parent.$_scope._this._handleRefresh()}var L=(0,o.register)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","refresh"),t}));function w(e,t,n,r,i,o){t.div_class_binder=n,t.div_class_invalidate=r;var a=t.div_class_value;(o||a!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function A(e){return g.default.container}var S=(0,o.register)((function(e){return e.makeNode("div")}));r=p.default;class x extends r{attached(){this._attach(),this.watch(()=>this.colorStop,()=>{this.reattach()},!0)}detached(){this._detach()}reattach(){this.onReattach(),this._detach(),this._attach()}get isEmpty(){return this._isEmpty}get isEntitled(){return"subscription_expired"!==this._entitlementStatus&&"trial_expired"!==this._entitlementStatus&&"ENTERPRISE_ACCOUNT"!==this._entitlementStatus}_initializeImporter(){return this.onInitialize(),this.lrSDKHelper.setup({externalUrlHandler:this._handleOpenLink,features:{sdk_v2:!0,sdk_v2_ui:!0},mode:"embedded"}).then(()=>h.default.join(LrSDK.catalog.isEmptyP(),LrSDK.catalog.getEntitlementStatusP()).then(([e,t])=>{this._isEmpty=e,this._entitlementStatus=t}))}_attach(){let e=t=>{"loading"!==t&&(this._ready=!0,this._handleReady(),LrSDK.importer.off("status-change",e))};this._ready=!1,this._initializeImporter().timeout(1e4,"Lr Importer took too long to initialize.").then(()=>(LrSDK.importer.on("status-change",e),LrSDK.importer.mode="embedded",LrSDK.importer.softImportLimit=this.softImportLimit,LrSDK.importer.colorStop=this.colorStop,h.default.resolve(LrSDK.importer.attachCatalogBrowserP(this.importerElement)))).then(this._handleLrImporterImport).catch(this._handleLrImporterFailure)}_detach(){this._ready=!1,LrSDK&&LrSDK.importer&&LrSDK.importer.detachCatalogBrowser(this.importerElement)}render(){return{template:b,_this:this}}}t.default=x,t.default=x=(0,s.default)(x,{decorators:[(0,d.default)((0,f.default)(null),e,"LrImporter")],properties:[{name:"softImportLimit",decorators:[(0,c.default)()],init:()=>10},{name:"lrSDKHelper",decorators:[(0,c.default)()],kind:"property"},{name:"colorStop",decorators:[(0,c.default)()],kind:"property"},{name:"onInitialize",decorators:[(0,c.default)()],init:()=>()=>{}},{name:"onReady",decorators:[(0,c.default)()],init:()=>()=>{}},{name:"onImport",decorators:[(0,c.default)()],init:()=>()=>{}},{name:"onError",decorators:[(0,c.default)()],init:()=>()=>{}},{name:"onReattach",decorators:[(0,c.default)()],init:()=>()=>{}},{name:"_isEmpty",decorators:[(0,u.default)()],kind:"property"},{name:"_ready",decorators:[(0,u.default)()],init:()=>!1},{name:"_handleLrImporterImport",decorators:[(0,l.default)()],fn:function(e){if(e){if((0,_.debug)("[cc-photos-importer] CC Photos returned journal",e),this.onImport){let t=e.base,n=e.resources.map(({asset:e})=>new v.default(e,t));this.onImport(n)}return null}(0,_.debug)("[cc-photos-importer] CC Photos failed to attach")}},{name:"_handleLrImporterFailure",decorators:[(0,l.default)()],fn:function({code:e,description:t}){if(1046===e)return this._ready=!0,this._isEmpty=!0,this._entitlementStatus="ENTERPRISE_ACCOUNT",void this._handleReady();let n=new Error(`${e} ${t}`);(0,_.warn)("[cc-photos-importer] CC Photos returned an error",n),this.onError(n)}},{name:"_handleRefresh",decorators:[(0,l.default)()],fn:function(){this.reattach()}},{name:"_handleOpenLink",decorators:[(0,l.default)()],fn:function(e){this.scope.importer.openLink(e)}},{name:"_handleReady",decorators:[(0,l.default)()],fn:function(){this.onReady&&this.onReady(this.isEmpty,this.isEntitled)}}]})}).call(t,n(5)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(4)),i=s(n(46)),o=n(120),a=n(13);function s(e){return e&&e.__esModule?e:{default:e}}t.default=class{constructor(e,t){if(this._asset=e,this.baseUrl=t,!this._asset.links["/rels/master"]&&!this._asset.links["/rels/proxy_type/2560"])throw new Error("Asset must have either master or proxy link",e);let n=this._asset.payload.importSource,r=n.fileName,i=n.originalWidth,o=n.originalHeight;this.isSmartProxy?(this.assetUrl=this.baseUrl+this._asset.links["/rels/proxy_type/2560"].href,this.width=Math.round(2560*Math.min(i/o,1)),this.height=Math.round(2560*Math.min(o/i,1)),this.filename=r.replace(/\.\w+$/,".DNG")):(this.assetUrl=this.baseUrl+this._asset.links["/rels/master"].href,this.filename=r,this.width=i,this.height=o),this.renditionFilename=r.replace(/\.\w+$/,".JPEG")}get isSmartProxy(){return!this._asset.links["/rels/master"]}get assetId(){return this._asset.id}get extension(){let e=this.filename.match(/[^\.]\.(\w+)$/);return e?e[1]:null}get contentType(){return this.isSmartProxy?"image/x-adobe-dng":(0,i.default)(this._asset,"payload.importSource.contentType")}getRenditionUrl(){return this._renditionUrlPromise||((0,a.debug)("[cc-photos-importer] Request OZ to generate fullsize/smart proxy rendition"),this.isSmartProxy?this._renditionUrlPromise=LrSDK.catalog.get2560RenditionRelativeUrlP(this.baseUrl,this._asset):this._renditionUrlPromise=LrSDK.catalog.getFullsizeRenditionRelativeUrlP(this.baseUrl,this._asset),this._renditionUrlPromise=r.default.resolve(this._renditionUrlPromise)),this._renditionUrlPromise}get hasXmpString(){return Boolean((0,i.default)(this._asset,"payload.develop.xmpCameraRaw"))}get userEdited(){return Boolean((0,i.default)(this._asset,"payload.develop.userUpdated"))}getXmpString(e,t){if(!this.hasXmpString)return r.default.reject(new Error("Asset does not have a XMP string"));let n=(0,i.default)(this._asset,"payload.develop.xmpCameraRaw");if("string"==typeof n)return r.default.resolve(n);let s=`${this.baseUrl}${(0,i.default)(this._asset,"links./rels/xmp/develop.href")}`;return(0,a.debug)("[cc-photos-importer] Getting external XMP from "+s),(0,o.requestWithAccessToken)(s,e,t).get("response")}get userOrientation(){return(0,i.default)(this._asset,"payload.develop.userOrientation")}get originalFilesize(){return(0,i.default)(this._asset,"payload.importSource.fileSize",null)}toAnalyticsData(){return{assetId:this.assetId,extension:this.extension,contentType:this.contentType,isSmartProxy:this.isSmartProxy,originalFileSize:this.originalFilesize}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.requestWithAccessToken=function e(t,n,r,i={}){let{maxRetry:a=2,retryInterval:s=2e3}=i;return new o.default((i,l)=>{var u=new XMLHttpRequest;u.onload=()=>{if(200===u.status)i({response:u.response});else if(0===a)l(new Error(`Failed to get from URL ${t} (${u.status})`));else{let l=o.default.delay(s).then(()=>e(t,n,r,{maxRetry:a-1}));i(l)}},u.open("GET",t),u.setRequestHeader("Authorization","Bearer "+n),u.setRequestHeader("x-api-key",r),u.send()})};var r,i=n(4),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t){e.exports={container:"_1wWPqbqei1xOGH35AaX7CL"}},function(e,t,n){e.exports=n.p+"ico-refresh-2KAV03j.svg"},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=h(n(1)),i=n(3),o=h(n(124)),a=h(n(0)),s=h(n(10)),l=h(n(7)),u=h(n(2)),c=h(n(8)),d=n(15),p=h(n(126)),f=h(n(133));function h(e){return e&&e.__esModule?e:{default:e}}var _={make:function(e){return(_=r.default.make({render:function(e,t){var n=t.div=e.pushTemplateNode(w);e.enterNode(n);var r=t.h2=e.pushTemplateNode(L);e.enterNode(r),e.runBinder(N,T,t,!0),e.exitNode(r);var i=t.div1=e.pushTemplateNode(C);e.enterNode(i),e.runBinder(O,E,t,!0);var o=t.repeat=k.make(e);o.$_parent=t,o.template.run(e,o),e.exitNode(i);var a=t.div2=e.pushTemplateNode(b);e.enterNode(a);var s=t.button=e.pushTemplateNode(y);e.attachEvent(t.button,"click",g),e.enterNode(s),e.runBinder(m,v,t,!0),e.exitNode(s),e.exitNode(a),e.exitNode(n)},dispose:function(e,t){e.removeSignals(t.h2_binder,t.h2_invalidate),t.h2_content=e.disposeContent(t.h2_content),t.h2_value1=void 0,e.removeSignals(t.div_class_binder,t.div_class_invalidate),t.repeat.template.dispose(e,t.repeat),t.button._jsx_data=null,e.removeSignals(t.button_binder,t.button_invalidate),t.button_content=e.disposeContent(t.button_content),t.button_value1=void 0},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(N,T,t,!1),e.runBinder(O,E,t,!1),t.repeat.template.reuse(e,t.repeat),e.runBinder(m,v,t,!1)},init:function(e,t){t.button._jsx_data=t},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})).make(e)}};function v(e,t,n,r,i,o){t.button_binder=n,t.button_invalidate=r;var a=t.button_value1;(o||a!==i)&&(t.button_value1=i,t.button_content=e.renderContent(t.button_content,i))}function m(e){return(0,d.localize)("BUTTONS.CANCEL_DOWNLOAD")}function g(){var e=this._jsx_data;e&&e.$_scope._this._handleCancel()}var y=(0,i.register)((function(e){var t=e.makeNode("button");return e.attr._class(t,"class","spc-button"),t})),b=(0,i.register)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","download-actions"),t})),k={make:function(e){return(k=e.makeComponent(o.default,{args:1,props:{getCollection:function(e){return e.$_parent.$_scope._this.task.items}},blocks:[{name:"children",template:e.makeComponent(p.default,{attributes:[{name:"item",get:function(){var e=this.$_view;if(e)return e.v0},set:function(e){var t=this.$_view;t&&(t.v0=e)}}]})}]})).make(e)}};function E(e,t,n,r,i,o){t.div_class_binder=n,t.div_class_invalidate=r;var a=t.div_class_value;(o||a!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function O(e){return f.default.container}var C=(0,i.register)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","items"),t}));function T(e,t,n,r,i,o){t.h2_binder=n,t.h2_invalidate=r;var a=t.h2_value1;(o||a!==i)&&(t.h2_value1=i,t.h2_content=e.renderContent(t.h2_content,i))}function N(e){return(0,d.localize)(1===e.$_scope._this.task.items.length?"DOWNLOAD_1_PHOTO":"DOWNLOAD_N_PHOTOS",e.$_scope._this.task.items.length)}var L=(0,i.register)((function(e){return e.makeNode("h2")})),w=(0,i.register)((function(e){return e.makeNode("div")}));class A extends u.default{attached(){this._handleDownload()}detached(){this.task&&this.task.isDownloading&&this.task.cancelDownload()}_handleDownload(){this.task.download((e,t)=>{let n=t.asset.toAnalyticsData();n.error=(e||"Unknown Error").toString(),this.scope.importer.report("download-failed",n)}).then(this.onComplete)}_handleCancel(){this.task.cancelDownload(),this.onCancel()}render(){return{template:_,_this:this}}}t.default=A,t.default=A=(0,a.default)(A,{decorators:[(0,l.default)((0,c.default)(null),e,"Download")],properties:[{name:"task",decorators:[(0,s.default)()],kind:"property"},{name:"onComplete",decorators:[(0,s.default)()],kind:"property"},{name:"onCancel",decorators:[(0,s.default)()],kind:"property"}]})}).call(t,n(5)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(1)),i=l(n(2)),o=l(n(47)),a=l(n(22)),s=n(125);function l(e){return e&&e.__esModule?e:{default:e}}t.default=class{static make({props:e,blocks:t,args:n}){var l=e&&e.getCollection,u=e&&e.getKey,c=i.default.getBlockTemplate(t),d=n>1;if(!l||!c||!c.firstChild)return r.default.EmptyTemplate;function p(e,t){var n=t.$_placeholder;n?e.pushNode(n):t.$_placeholder=e.pushCommentNode("empty repeat")}function f(e,t,n,r){e.gotoBeforeView(n[0]),p(e,t),t.$_list=null,t.$_previousList=null,t.$_map=null;var i=o.default.DISABLE_CACHING_BEYOND_CAPACITY;o.default.DISABLE_CACHING_BEYOND_CAPACITY=!0;for(var a=0;a<r;++a){var s=n[a];s.$_key=null,c.cache(e,s)}o.default.DISABLE_CACHING_BEYOND_CAPACITY=i}var h=[];function _(e,t,n,r,i,o,a,s){for(var l=r;l<i;++l){var u=n[l];switch(u.$_state){case 1:c.run(e,u);break;case 2:if(o||c.dispose(e,u),c.move(e,u),a)u.v0=t[l],d&&(u.v1=l);else{var p=t[l];u.v0=s[p],d&&(u.v1=p)}c.reuse(e,u);break;default:c.move(e,u),(o||d&&u.v1!==(a?l:t[l]))&&(d&&(u.v1=a?l:t[l]),o||c.dispose(e,u),c.reuse(e,u))}}}function v(e,t,n,r,i,s,l,p,f){var v=t.$_map;if(v)for(var m=0;m<s;++m){var g=i[m];g.$_index=m,g.$_state=4}else v=t.$_map=function(e,t,n){for(var r=new Map,i=0;i<n;++i){var o=t[i],s=o.$_key||(o.$_key=u?e.$_keyMethod(o.v0):(0,a.default)(o.v0));r.set(s,o),o.$_index=i,o.$_state=4}return r}(t,i,s);var y=function(e,t,n,r,i,o,s){var l,c,d,p=e.$_previousList||[];p.length=i;for(var f=!o,h=0;h<i;++h)d=r[h],f&&(d=s[d]),(l=n[h])&&l.v0===d||(c=u?e.$_keyMethod(d):(0,a.default)(d),l=t.get(c)),l&&4===l.$_state?(l.$_state=3,p[h]=l):p[h]=null;return e.$_previousList=e.$_list,e.$_list=p,p}(t,v,i,n,r,p,f),b=function(e,t){for(var n=[],r=t-1;r>=0;--r){var i=e[r];4===i.$_state&&n.push(i)}return n}(i,s),k=function(e,t,n,r,i,o,s,l,p){for(var f=-1,_=0;_<i;++_){var v=r[_];if(!v){var m=t[_];l||(m=p[m]);var g=u?o.$_keyMethod(m):(0,a.default)(m);if(!s.length){(v=r[_]=c.make(e)).$_parent=o,v.v0=m,d&&(v.v1=l?_:t[_]),v.$_key=g,v.$_state=1,n.set(g,v);continue}v=r[_]=s.pop(),n.delete(v.$_key),n.set(g,v),v.$_state=2,v.$_key=g}for(var y=v.$_index,b=0,k=f;b<=k;){var E=Math.round((b+k)/2),O=r[h[E]].$_index;if(O===y){b=E;break}O<y?b=E+1:k=E-1}v.$_pred=b>0?h[b-1]:-1,h[b]=_,b>f&&(f=b)}return h[f]}(e,n,v,y,r,t,b,p,f);for(b.length&&function(e,t,n,r){var i=o.default.DISABLE_CACHING_BEYOND_CAPACITY;o.default.DISABLE_CACHING_BEYOND_CAPACITY=!0;for(var a=0,s=r.length;a<s;++a){var l=r[a];t.delete(l.$_key),l.$_key=null,c.cache(e,l)}o.default.DISABLE_CACHING_BEYOND_CAPACITY=i}(e,v,0,b),k<r-1&&(e.gotoAfterView(y[k]),_(e,n,y,k+1,r,l,p,f));-1!==k;){var E=y[k];if(2===E.$_state||l||d&&E.v1!==k){l||c.dispose(e,E);var O=n[k];p?(E.v0=O,d&&(E.v1=k)):(E.v0=f[O],d&&(E.v1=O)),c.reuse(e,E)}var C=E.$_pred;C!==k-1&&(e.gotoBeforeView(y[k]),_(e,n,y,C+1,k,l,p,f)),k=C}}function m(e,t,n,r,i,o,a){if(t.$_signals=n,t.$_invalidate=r,o)if(t.$_savedScope=e.scope,t.$_map=null,t.$_previousList=null,i)if(i instanceof Array)if(i.length){let n=t.$_list=[];for(let r=0,o=i.length;r<o;++r){let o=c.make(e);o.$_parent=t,o.v0=i[r],d&&(o.v1=r),o.$_key=null,c.run(e,o),n.push(o)}}else t.$_list=null,p(e,t);else{let n=t.$_list=[];for(let r in i){let o=c.make(e);o.$_parent=t,o.v0=i[r],d&&(o.v1=r),o.$_key=null,c.run(e,o),n.push(o)}n.length||(t.$_list=null,p(e,t))}else t.$_list=null,p(e,t);else{a&&(t.$_savedScope=e.scope);var s=t.$_list,l=s?s.length:0;if(i){var u,h=i instanceof Array;h||(u=i,i=Object.keys(i));var _=i.length;if(_){var m=e.pushScope(t.$_savedScope);l?v(e,t,i,_,s,l,a,h,u):function(e,t,n,r,i,o){e.gotoAfterNode(t.$_placeholder),e.removeNode(t.$_placeholder),t.$_placeholder=null;var a=t.$_list=[];if(t.$_map=null,i)for(let i=0;i<r;++i){let r=c.make(e);r.$_parent=t,r.v0=n[i],d&&(r.v1=i),r.$_key=null,c.run(e,r),a.push(r)}else for(let i=0;i<r;++i){let r=c.make(e);r.$_parent=t;var s=n[i];r.v0=o[s],d&&(r.v1=s),r.$_key=null,c.run(e,r),a.push(r)}}(e,t,i,_,h,u),e.restoreScope(m)}else{if(!l)return;f(e,t,s,l)}}else{if(!l)return;f(e,t,s,l)}}}return r.default.make({render(e,t){u&&(t.$_keyMethod=u(t)),e.runBinder(e=>(0,s.readCollection)(l(e)),m,t,!0)},reuse(e,t){u&&(t.$_keyMethod=u(t)),e.runBinder(e=>(0,s.readCollection)(l(e)),m,t,!1)},dispose(e,t){e.removeSignals(t.$_signals,t.$_invalidate);var n=t.$_list;if(n)for(var r=0,i=n.length;r<i;++r)c.dispose(e,n[r]);t.$_previousList=null,t.$_map=null,t.$_savedScope=null},move(e,t){var n=t.$_list;if(n&&n.length)for(var r=0,i=n.length;r<i;++r)c.move(e,n[r]);else e.pushNode(t.$_placeholder)},firstChild(e,t){var n=t.$_list;return n&&n.length?c.firstChild(e,n[0]):t.$_placeholder},lastChild(e,t){var n=t.$_list;return n&&n.length?c.lastChild(e,n[n.length-1]):t.$_placeholder}})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.readCollection=function(e){e instanceof o.default&&(e.length,e=e.base);if(!e)return null;if(Array.isArray(e))return e;if(e[Symbol.iterator])return Array.from(e);return e};var r,i=n(29),o=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r,i=v(n(1)),o=n(3),a=v(n(14)),s=v(n(0)),l=v(n(6)),u=v(n(10)),c=v(n(7)),d=v(n(2)),p=v(n(8)),f=n(15),h=v(n(127)),_=v(n(130));function v(e){return e&&e.__esModule?e:{default:e}}var m={make:function(e){return(m=i.default.make({render:function(e,t){var n=t.div=e.pushTemplateNode(U);e.enterNode(n);var r=t.div1=e.pushTemplateNode(B);e.enterNode(r),e.runBinder(F,M,t,!0),e.runBinder(D,$,t,!0);var i=t._if=j.make(e);i.$_parent=t,i.template.run(e,i);var o=t._if1=P.make(e);o.$_parent=t,o.template.run(e,o),e.exitNode(r);var a=t.div2=e.pushTemplateNode(R);e.enterNode(a),e.runBinder(I,x,t,!0),e.exitNode(a);var s=t.div3=e.pushTemplateNode(S);e.enterNode(s);var l=t._if2=O.make(e);l.$_parent=t,l.template.run(e,l),e.exitNode(s);var u=t.div4=e.pushTemplateNode(E);e.enterNode(u),e.runBinder(k,b,t,!0),e.runBinder(y,g,t,!0),e.exitNode(u),e.exitNode(n)},dispose:function(e,t){e.removeSignals(t.div_class_binder,t.div_class_invalidate),e.removeSignals(t.div1_class_binder,t.div1_class_invalidate),t._if.template.dispose(e,t._if),t._if1.template.dispose(e,t._if1),e.removeSignals(t.div_binder,t.div_invalidate),t.div_content=e.disposeContent(t.div_content),t.div_value1=void 0,t._if2.template.dispose(e,t._if2),e.removeSignals(t.div_binder1,t.div_invalidate1),t.div_content1=e.disposeContent(t.div_content1),t.div_value3=void 0,e.removeSignals(t.div_binder2,t.div_invalidate2),t.div_content2=e.disposeContent(t.div_content2),t.div_value5=void 0},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(F,M,t,!1),e.runBinder(D,$,t,!1),t._if.template.reuse(e,t._if),t._if1.template.reuse(e,t._if1),e.runBinder(I,x,t,!1),t._if2.template.reuse(e,t._if2),e.runBinder(k,b,t,!1),e.runBinder(y,g,t,!1)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})).make(e)}};function g(e,t,n,r,i,o){t.div_binder2=n,t.div_invalidate2=r;var a=t.div_value5;(o||a!==i)&&(t.div_value5=i,t.div_content2=e.renderContent(t.div_content2,i))}function y(e){return e.$_scope._this.item.selectedOption.applyACR?" + ACR":""}function b(e,t,n,r,i,o){t.div_binder1=n,t.div_invalidate1=r;var a=t.div_value3;(o||a!==i)&&(t.div_value3=i,t.div_content1=e.renderContent(t.div_content1,i))}function k(e){return e.$_scope._this.item.asset.isSmartProxy?(0,f.localize)("SMART_PROXY"):(0,f.localize)("ORIGINAL_FILE")}var E=(0,o.register)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","contents"),t})),O={make:function(e){return(O=e.makeComponent(a.default,{props:{getCondition:function(e){return e.$_parent.$_scope._this.item.asset.isSmartProxy}},blocks:[{name:"children",template:e.makeComponent(h.default,{blocks:[{name:"children",template:i.default.make({render:function(e,t){e.runBinder(A,w,t,!0);var n=t.a=e.pushTemplateNode(L);e.attachEvent(t.a,"click",N),e.enterNode(n),e.runBinder(T,C,t,!0),e.exitNode(n)},dispose:function(e,t){e.removeSignals(t.expr_binder,t.expr_invalidate),t.expr_content=e.disposeContent(t.expr_content),t.expr_value1=void 0,t.a._jsx_data=null,e.removeSignals(t.a_binder,t.a_invalidate),t.a_content=e.disposeContent(t.a_content),t.a_value1=void 0},move:function(e,t){e.moveContent(t.expr_content),e.pushNode(t.a)},reuse:function(e,t){e.runBinder(A,w,t,!1),e.runBinder(T,C,t,!1)},init:function(e,t){t.a._jsx_data=t},firstChild:function(e,t){return e.contentFirstChild(t.expr_content)},lastChild:function(e,t){return t.a},prepare:function(e){e.attr._href||(e.attr._href=e.ensureAttr("href"))}})}]})}]})).make(e)}};function C(e,t,n,r,i,o){t.a_binder=n,t.a_invalidate=r;var a=t.a_value1;(o||a!==i)&&(t.a_value1=i,t.a_content=e.renderContent(t.a_content,i))}function T(e){return(0,f.localize)("TOOLTIPS.LEARN_MORE")}function N(){var e=this._jsx_data;e&&e.$_parent.$_parent.$_parent.$_scope._this._handleOpenLink()}var L=(0,o.register)((function(e){var t=e.makeNode("a");return e.attr._href(t,"href","#"),t}));function w(e,t,n,r,i,o){t.expr_binder=n,t.expr_invalidate=r;var a=t.expr_value1;(o||a!==i)&&(t.expr_value1=i,t.expr_content=e.renderContent(t.expr_content,i))}function A(e){return(0,f.localize)("TOOLTIPS.SMART_PREVIEW_ALERT")+" "}var S=(0,o.register)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","alert"),t}));function x(e,t,n,r,i,o){t.div_binder=n,t.div_invalidate=r;var a=t.div_value1;(o||a!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function I(e){return e.$_scope._this.item.selectedOption.filename}var R=(0,o.register)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","title"),t})),P={make:function(e){return(P=e.makeComponent(a.default,{props:{getCondition:function(e){return e.$_parent.$_scope._this.item.isFailed}},blocks:[{name:"children",template:i.default.make({render:function(e,t){t.textNode=e.pushTextNode(" ✕ ")},move:function(e,t){e.pushNode(t.textNode)},firstChild:function(e,t){return t.textNode}})}]})).make(e)}},j={make:function(e){return(j=e.makeComponent(a.default,{props:{getCondition:function(e){return e.$_parent.$_scope._this.item.isDownloaded}},blocks:[{name:"children",template:i.default.make({render:function(e,t){t.textNode=e.pushTextNode(" ✓ ")},move:function(e,t){e.pushNode(t.textNode)},firstChild:function(e,t){return t.textNode}})}]})).make(e)}};function $(e,t,n,r,i,o){t.div1_class_binder=n,t.div1_class_invalidate=r;var a=t.div1_class_value;(o||a!==i)&&(t.div1_class_value=i,t.div1_class_state=e.attr._class(t.div1,"class",i,t.div1_class_state))}function D(e){return e.$_scope._this.item.isDownloading&&"downloading"}function M(e,t,n,r,i,o){t.div_class_binder=n,t.div_class_invalidate=r;var a=t.div_class_value;(o||a!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function F(e){return _.default.container}var B=(0,o.register)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","status"),t})),U=(0,o.register)((function(e){return e.makeNode("div")}));r=d.default;class H extends r{render(){return{template:m,_this:this}}}t.default=H,t.default=H=(0,s.default)(H,{decorators:[(0,c.default)((0,p.default)(null),e,"DownloadItem")],properties:[{name:"item",decorators:[(0,u.default)()],kind:"property"},{name:"_handleOpenLink",decorators:[(0,l.default)()],fn:function(){let e=(0,f.localizeHelpxLink)("https://helpx.adobe.com/lightroom/help/lightroom-smart-previews.html");this.scope.importer.openLink(e)}}]})}).call(t,n(5)(e))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=c(n(1)),i=n(3),o=c(n(0)),a=c(n(7)),s=c(n(2)),l=c(n(8)),u=c(n(128));function c(e){return e&&e.__esModule?e:{default:e}}var d={make:function(e){return(d=r.default.make({render:function(e,t){var n=t.div=e.pushTemplateNode(y);e.enterNode(n);var r=t.span=e.pushTemplateNode(g);e.enterNode(r);var i=t.span1=e.pushTemplateNode(m);e.enterNode(i);var o=t.div1=e.pushTemplateNode(y);e.enterNode(o),e.runBinder(v,_,t,!0),e.exitNode(o);t.div2=e.pushTemplateNode(h);e.exitNode(i),e.exitNode(r),e.exitNode(n),e.runBinder(f,p,t,!0)},dispose:function(e,t){e.removeSignals(t.div_binder,t.div_invalidate),t.div_content=e.disposeContent(t.div_content),t.div_value1=void 0,e.removeSignals(t.div_class_binder,t.div_class_invalidate)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(v,_,t,!1),e.runBinder(f,p,t,!1)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})).make(e)}};function p(e,t,n,r,i,o){t.div_class_binder=n,t.div_class_invalidate=r;var a=t.div_class_value;(o||a!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function f(e){return u.default.container}var h=(0,i.register)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","tip"),t}));function _(e,t,n,r,i,o){t.div_binder=n,t.div_invalidate=r;var a=t.div_value1;(o||a!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function v(e){return e.$_scope._this.children}var m=(0,i.register)((function(e){var t=e.makeNode("span");return e.attr._class(t,"class","tooltip bottom"),t})),g=(0,i.register)((function(e){var t=e.makeNode("span");return e.attr._class(t,"class","tooltipwrap top"),t})),y=(0,i.register)((function(e){return e.makeNode("div")}));class b extends s.default{render(){return{template:d,_this:this}}}t.default=b,t.default=b=(0,o.default)(b,{decorators:[(0,a.default)((0,l.default)(null),e,"Tooltip")]})}).call(t,n(5)(e))},function(e,t){e.exports={container:"_1iG2LIdVM9n5r2kTEggRyN"}},function(e,t,n){e.exports=n.p+"ico-alert-27UHQdP.svg"},function(e,t){e.exports={container:"_15rZ3AqygNMloq1ITgNaz7"}},function(e,t,n){e.exports=n.p+"ico-wait-light-3rXq0T1.svg"},function(e,t,n){e.exports=n.p+"ico-wait-dark-3d84ZHQ.svg"},function(e,t){e.exports={container:"OhR-9p2HXcgOIbM02fQoB"}},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.STATE=void 0;var r=f(n(1)),i=n(3),o=f(n(0)),a=f(n(10)),s=f(n(7)),l=f(n(2)),u=f(n(8)),c=n(15),d=f(n(135)),p=f(n(169));function f(e){return e&&e.__esModule?e:{default:e}}var h={make:function(e){return(h=r.default.make({render:function(e,t){var n=t.div=e.pushTemplateNode(Z);e.enterNode(n),e.runBinder(g,m,t,!0),e.exitNode(n),e.runBinder(v,_,t,!0)},dispose:function(e,t){e.removeSignals(t.div_binder,t.div_invalidate),t.div_content=e.disposeContent(t.div_content),t.div_value1=void 0,e.removeSignals(t.div_class_binder,t.div_class_invalidate)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(g,m,t,!1),e.runBinder(v,_,t,!1)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})).make(e)}};function _(e,t,n,r,i,o){t.div_class_binder=n,t.div_class_invalidate=r;var a=t.div_class_value;(o||a!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function v(e){return p.default.container}function m(e,t,n,r,i,o){t.div_binder=n,t.div_invalidate=r;var a=t.div_value1;(o||a!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function g(e){return e.$_scope._this._renderContent()}var y={make:function(e){return(y=r.default.make({render:function(e,t){var n=t.g=!e._group_g&&e.pushTemplateNode(J);n&&e.enterNode(n);var r=t.contentSection=O.make(e);r.$_parent=t,r.template.run(e,r);var i=t.div=e.pushTemplateNode(V);e.attachEvent(t.div,"click",E),e.enterNode(i),e.runBinder(k,b,t,!0),e.exitNode(i),n&&e.exitNode(n)},dispose:function(e,t){t.contentSection.template.dispose(e,t.contentSection),t.div._jsx_data=null,e.removeSignals(t.div_binder,t.div_invalidate),t.div_content=e.disposeContent(t.div_content),t.div_value1=void 0},move:function(e,t){t.g?e.pushNode(t.g):(t.contentSection.template.move(e,t.contentSection),e.pushNode(t.div))},reuse:function(e,t){t.contentSection.template.reuse(e,t.contentSection),e.runBinder(k,b,t,!1)},init:function(e,t){t.div._jsx_data=t},firstChild:function(e,t){return t.g||t.contentSection.template.firstChild(e,t.contentSection)},lastChild:function(e,t){return t.g||t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})).make(e)}};function b(e,t,n,r,i,o){t.div_binder=n,t.div_invalidate=r;var a=t.div_value1;(o||a!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function k(e){return(0,c.localize)("BUTTONS.REFRESH")}function E(){var e=this._jsx_data;e&&e.$_scope._this.onRetry()}var O={make:function(e){return(O=e.makeComponent(d.default,{attributes:[{name:"iconPath",value:"general-cc"},{name:"className",value:"ccphotos-null-state"},{name:"title",get:function(){if(this.$_view)return(0,c.localize)("MESSAGES.SERVICE_UNAVAILABLE")}}]})).make(e)}},C={make:function(e){return(C=r.default.make({render:function(e,t){var n=t.g=!e._group_g&&e.pushTemplateNode(J);n&&e.enterNode(n);var r=t.contentSection=w.make(e);r.$_parent=t,r.template.run(e,r);var i=t.div=e.pushTemplateNode(V);e.attachEvent(t.div,"click",L),e.enterNode(i),e.runBinder(N,T,t,!0),e.exitNode(i),n&&e.exitNode(n)},dispose:function(e,t){t.contentSection.template.dispose(e,t.contentSection),t.div._jsx_data=null,e.removeSignals(t.div_binder,t.div_invalidate),t.div_content=e.disposeContent(t.div_content),t.div_value1=void 0},move:function(e,t){t.g?e.pushNode(t.g):(t.contentSection.template.move(e,t.contentSection),e.pushNode(t.div))},reuse:function(e,t){t.contentSection.template.reuse(e,t.contentSection),e.runBinder(N,T,t,!1)},init:function(e,t){t.div._jsx_data=t},firstChild:function(e,t){return t.g||t.contentSection.template.firstChild(e,t.contentSection)},lastChild:function(e,t){return t.g||t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})).make(e)}};function T(e,t,n,r,i,o){t.div_binder=n,t.div_invalidate=r;var a=t.div_value1;(o||a!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function N(e){return(0,c.localize)("BUTTONS.REFRESH")}function L(){var e=this._jsx_data;e&&e.$_scope._this.onRetry()}var w={make:function(e){return(w=e.makeComponent(d.default,{attributes:[{name:"iconPath",value:"failed-load"},{name:"className",value:"ccphotos-null-state"},{name:"title",get:function(){if(this.$_view)return(0,c.localize)("MESSAGES.FAILED_TO_LOAD_LR")}}]})).make(e)}},A={make:function(e){return(A=r.default.make({render:function(e,t){var n=t.g=!e._group_g&&e.pushTemplateNode(J);n&&e.enterNode(n);var r=t.contentSection=R.make(e);r.$_parent=t,r.template.run(e,r);var i=t.div=e.pushTemplateNode(V);e.attachEvent(t.div,"click",I),e.enterNode(i),e.runBinder(x,S,t,!0),e.exitNode(i),n&&e.exitNode(n)},dispose:function(e,t){t.contentSection.template.dispose(e,t.contentSection),t.div._jsx_data=null,e.removeSignals(t.div_binder,t.div_invalidate),t.div_content=e.disposeContent(t.div_content),t.div_value1=void 0},move:function(e,t){t.g?e.pushNode(t.g):(t.contentSection.template.move(e,t.contentSection),e.pushNode(t.div))},reuse:function(e,t){t.contentSection.template.reuse(e,t.contentSection),e.runBinder(x,S,t,!1)},init:function(e,t){t.div._jsx_data=t},firstChild:function(e,t){return t.g||t.contentSection.template.firstChild(e,t.contentSection)},lastChild:function(e,t){return t.g||t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})).make(e)}};function S(e,t,n,r,i,o){t.div_binder=n,t.div_invalidate=r;var a=t.div_value1;(o||a!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function x(e){return(0,c.localize)("BUTTONS.REFRESH")}function I(){var e=this._jsx_data;e&&e.$_scope._this.onRetry()}var R={make:function(e){return(R=e.makeComponent(d.default,{attributes:[{name:"iconPath",value:"general-cc"},{name:"className",value:"ccphotos-null-state"},{name:"title",get:function(){if(this.$_view)return(0,c.localize)("MESSAGES.SUBSCRIPTION_EXPIRED")}}]})).make(e)}},P={make:function(e){return(P=r.default.make({render:function(e,t){var n=t.g=!e._group_g&&e.pushTemplateNode(J);n&&e.enterNode(n);var r=t.contentSection=M.make(e);r.$_parent=t,r.template.run(e,r);var i=t.div=e.pushTemplateNode(V);e.attachEvent(t.div,"click",D),e.enterNode(i),e.runBinder($,j,t,!0),e.exitNode(i),n&&e.exitNode(n)},dispose:function(e,t){t.contentSection.template.dispose(e,t.contentSection),t.div._jsx_data=null,e.removeSignals(t.div_binder,t.div_invalidate),t.div_content=e.disposeContent(t.div_content),t.div_value1=void 0},move:function(e,t){t.g?e.pushNode(t.g):(t.contentSection.template.move(e,t.contentSection),e.pushNode(t.div))},reuse:function(e,t){t.contentSection.template.reuse(e,t.contentSection),e.runBinder($,j,t,!1)},init:function(e,t){t.div._jsx_data=t},firstChild:function(e,t){return t.g||t.contentSection.template.firstChild(e,t.contentSection)},lastChild:function(e,t){return t.g||t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})).make(e)}};function j(e,t,n,r,i,o){t.div_binder=n,t.div_invalidate=r;var a=t.div_value1;(o||a!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function $(e){return(0,c.localize)("BUTTONS.REFRESH")}function D(){var e=this._jsx_data;e&&e.$_scope._this.onRetry()}var M={make:function(e){return(M=e.makeComponent(d.default,{attributes:[{name:"iconPath",value:"general-cc"},{name:"className",value:"ccphotos-null-state"},{name:"title",get:function(){if(this.$_view)return(0,c.localize)("MESSAGES.SIGN_IN")}}]})).make(e)}},F={make:function(e){return(F=r.default.make({render:function(e,t){var n=t.g=!e._group_g&&e.pushTemplateNode(J);n&&e.enterNode(n);var r=t.contentSection=G.make(e);r.$_parent=t,r.template.run(e,r);var i=t.div=e.pushTemplateNode(V);e.attachEvent(t.div,"click",H),e.enterNode(i),e.runBinder(U,B,t,!0),e.exitNode(i),n&&e.exitNode(n)},dispose:function(e,t){t.contentSection.template.dispose(e,t.contentSection),t.div._jsx_data=null,e.removeSignals(t.div_binder,t.div_invalidate),t.div_content=e.disposeContent(t.div_content),t.div_value1=void 0},move:function(e,t){t.g?e.pushNode(t.g):(t.contentSection.template.move(e,t.contentSection),e.pushNode(t.div))},reuse:function(e,t){t.contentSection.template.reuse(e,t.contentSection),e.runBinder(U,B,t,!1)},init:function(e,t){t.div._jsx_data=t},firstChild:function(e,t){return t.g||t.contentSection.template.firstChild(e,t.contentSection)},lastChild:function(e,t){return t.g||t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})).make(e)}};function B(e,t,n,r,i,o){t.div_binder=n,t.div_invalidate=r;var a=t.div_value1;(o||a!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function U(e){return(0,c.localize)("BUTTONS.REFRESH")}function H(){var e=this._jsx_data;e&&e.$_scope._this.onRetry()}var V=(0,i.register)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","refresh"),t})),G={make:function(e){return(G=e.makeComponent(d.default,{attributes:[{name:"iconPath",value:"empty-album"},{name:"className",value:"ccphotos-null-state"},{name:"title",get:function(){if(this.$_view)return(0,c.localize)("MESSAGES.EMPTY_CATALOG.TITLE")}},{name:"subtitle",get:function(){if(this.$_view)return(0,c.localize)("MESSAGES.EMPTY_CATALOG.SUBTITLE")}}]})).make(e)}},z={make:function(e){return(z=r.default.make({render:function(e,t){var n=t.div=e.pushTemplateNode(Z);e.enterNode(n);var r=t.div1=e.pushTemplateNode(q);e.enterNode(r),e.runBinder(Y,X,t,!0),e.exitNode(r);t.div2=e.pushTemplateNode(W);e.exitNode(n)},dispose:function(e,t){e.removeSignals(t.div_binder,t.div_invalidate),t.div_content=e.disposeContent(t.div_content),t.div_value1=void 0},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(Y,X,t,!1)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})).make(e)}},W=(0,i.register)((function(e){var t=e.makeNode("div");e.attr._class(t,"class","spinnercontainer");var n=e.makeNode("div");e.attr._class(n,"class","spinnerwrap");var r=e.makeNode("div");e.attr._class(r,"class","spinner2");var i=e.makeNode("div");e.attr._class(i,"class","circle-clipper2 left2");var o=e.makeNode("div");e.attr._class(o,"class","circle2"),e.appendNode(i,o),e.appendNode(r,i);var a=e.makeNode("div");e.attr._class(a,"class","circle-clipper2 right2");var s=e.makeNode("div");e.attr._class(s,"class","circle2"),e.appendNode(a,s),e.appendNode(r,a);var l=e.makeNode("div");return e.attr._class(l,"class","track"),e.appendNode(r,l),e.appendNode(n,r),e.appendNode(t,n),t}));function X(e,t,n,r,i,o){t.div_binder=n,t.div_invalidate=r;var a=t.div_value1;(o||a!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function Y(e){return(0,c.localize)("LIGHTROOM_PHOTOS")}var q=(0,i.register)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","logo"),t})),Z=(0,i.register)((function(e){return e.makeNode("div")})),K={make:function(e){return(K=r.default.make({render:function(e,t){var n=t.g=!e._group_g&&e.pushTemplateNode(J);n&&e.enterNode(n);var r=t.contentSection=Q.make(e);r.$_parent=t,r.template.run(e,r),n&&e.exitNode(n)},dispose:function(e,t){t.contentSection.template.dispose(e,t.contentSection)},move:function(e,t){t.g?e.pushNode(t.g):t.contentSection.template.move(e,t.contentSection)},reuse:function(e,t){t.contentSection.template.reuse(e,t.contentSection)},firstChild:function(e,t){return t.g||t.contentSection.template.firstChild(e,t.contentSection)},lastChild:function(e,t){return t.g||t.contentSection.template.lastChild(e,t.contentSection)}})).make(e)}},Q={make:function(e){return(Q=e.makeComponent(d.default,{attributes:[{name:"iconPath",value:"no-connection"},{name:"className",value:"ccphotos-null-state"},{name:"title",get:function(){if(this.$_view)return(0,c.localize)("MESSAGES.NO_INTERNET")}}]})).make(e)}},J=(0,i.register)((function(e){return e.makeNode("g")}));const ee=t.STATE=Object.freeze({OFFLINE:"OFFLINE",LOADING_LR:"LOADING_LR",EMPTY_LR:"EMPTY_LR",SUBSCRIPTION_EXPIRED:"SUBSCRIPTION_EXPIRED",INVALID_ACCESS_TOKEN:"INVALID_ACCESS_TOKEN",FAILED_TO_LOAD_LR:"FAILED_TO_LOAD_LR",SERVICE_UNAVAILABLE:"SERVICE_UNAVAILABLE"});class te extends l.default{_renderContent(){switch(this.state){case ee.OFFLINE:return{template:K};case ee.LOADING_LR:return{template:z};case ee.EMPTY_LR:return{template:F,_this:this};case ee.INVALID_ACCESS_TOKEN:return{template:P,_this:this};case ee.SUBSCRIPTION_EXPIRED:return{template:A,_this:this};case ee.FAILED_TO_LOAD_LR:return{template:C,_this:this};case ee.SERVICE_UNAVAILABLE:return{template:y,_this:this};default:throw new Error("Invalid state")}}render(){return{template:h,_this:this}}}t.default=te,t.default=te=(0,o.default)(te,{decorators:[(0,s.default)((0,u.default)(null),e,"OfflineScreen")],properties:[{name:"state",decorators:[(0,a.default)()],kind:"property"},{name:"onRetry",decorators:[(0,a.default)()],init:()=>()=>{}}]})}).call(t,n(5)(e))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=f(n(1)),i=n(3),o=f(n(14)),a=f(n(0)),s=f(n(10)),l=f(n(7)),u=f(n(2)),c=f(n(8)),d=f(n(136)),p=f(n(168));function f(e){return e&&e.__esModule?e:{default:e}}var h={make:function(e){return(h=r.default.make({render:function(e,t){var n=t.div=e.pushTemplateNode(P);e.enterNode(n);var r=t.div1=e.pushTemplateNode(P);e.enterNode(r),e.runBinder(R,I,t,!0),e.runBinder(x,S,t,!0),e.runBinder(A,w,t,!0);var i=t._if=L.make(e);i.$_parent=t,i.template.run(e,i);var o=t.div2=e.pushTemplateNode(P);e.enterNode(o);var a=t.div3=e.pushTemplateNode(P);e.enterNode(a),e.runBinder(N,T,t,!0),e.runBinder(C,O,t,!0);var s=t._if1=b.make(e);s.$_parent=t,s.template.run(e,s),e.exitNode(a);var l=t.div4=e.pushTemplateNode(P);e.enterNode(l),e.runBinder(y,g,t,!0);var u=t._if2=_.make(e);u.$_parent=t,u.template.run(e,u),e.exitNode(l),e.exitNode(o),e.exitNode(r),e.exitNode(n)},dispose:function(e,t){e.removeSignals(t.div_class_binder,t.div_class_invalidate),e.removeSignals(t.div_class_binder1,t.div_class_invalidate1),e.removeSignals(t.div1_class_binder,t.div1_class_invalidate),t._if.template.dispose(e,t._if),e.removeSignals(t.div2_class_binder,t.div2_class_invalidate),e.removeSignals(t.div3_class_binder,t.div3_class_invalidate),t._if1.template.dispose(e,t._if1),e.removeSignals(t.div4_class_binder,t.div4_class_invalidate),t._if2.template.dispose(e,t._if2)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(R,I,t,!1),e.runBinder(x,S,t,!1),e.runBinder(A,w,t,!1),t._if.template.reuse(e,t._if),e.runBinder(N,T,t,!1),e.runBinder(C,O,t,!1),t._if1.template.reuse(e,t._if1),e.runBinder(y,g,t,!1),t._if2.template.reuse(e,t._if2)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})).make(e)}},_={make:function(e){return(_=e.makeComponent(o.default,{props:{getCondition:function(e){return e.$_parent.$_scope._this.subtitle}},blocks:[{name:"children",template:r.default.make({render:function(e,t){e.runBinder(m,v,t,!0)},dispose:function(e,t){e.removeSignals(t.expr_binder,t.expr_invalidate),t.expr_content=e.disposeContent(t.expr_content),t.expr_value1=void 0},move:function(e,t){e.moveContent(t.expr_content)},reuse:function(e,t){e.runBinder(m,v,t,!1)},firstChild:function(e,t){return e.contentFirstChild(t.expr_content)},lastChild:function(e,t){return e.contentLastChild(t.expr_content)}})}]})).make(e)}};function v(e,t,n,r,i,o){t.expr_binder=n,t.expr_invalidate=r;var a=t.expr_value1;(o||a!==i)&&(t.expr_value1=i,t.expr_content=e.renderContent(t.expr_content,i))}function m(e){return e.$_parent.$_parent.$_scope._this.subtitle}function g(e,t,n,r,i,o){t.div4_class_binder=n,t.div4_class_invalidate=r;var a=t.div4_class_value;(o||a!==i)&&(t.div4_class_value=i,t.div4_class_state=e.attr._class(t.div4,"class",i,t.div4_class_state))}function y(e){return p.default.subtitle}var b={make:function(e){return(b=e.makeComponent(o.default,{props:{getCondition:function(e){return e.$_parent.$_scope._this.title}},blocks:[{name:"children",template:r.default.make({render:function(e,t){e.runBinder(E,k,t,!0)},dispose:function(e,t){e.removeSignals(t.expr_binder,t.expr_invalidate),t.expr_content=e.disposeContent(t.expr_content),t.expr_value1=void 0},move:function(e,t){e.moveContent(t.expr_content)},reuse:function(e,t){e.runBinder(E,k,t,!1)},firstChild:function(e,t){return e.contentFirstChild(t.expr_content)},lastChild:function(e,t){return e.contentLastChild(t.expr_content)}})}]})).make(e)}};function k(e,t,n,r,i,o){t.expr_binder=n,t.expr_invalidate=r;var a=t.expr_value1;(o||a!==i)&&(t.expr_value1=i,t.expr_content=e.renderContent(t.expr_content,i))}function E(e){return e.$_parent.$_parent.$_scope._this.title}function O(e,t,n,r,i,o){t.div3_class_binder=n,t.div3_class_invalidate=r;var a=t.div3_class_value;(o||a!==i)&&(t.div3_class_value=i,t.div3_class_state=e.attr._class(t.div3,"class",i,t.div3_class_state))}function C(e){return p.default.title}function T(e,t,n,r,i,o){t.div2_class_binder=n,t.div2_class_invalidate=r;var a=t.div2_class_value;(o||a!==i)&&(t.div2_class_value=i,t.div2_class_state=e.attr._class(t.div2,"class",i,t.div2_class_state))}function N(e){return p.default.text}var L={make:function(e){return(L=e.makeComponent(o.default,{props:{getCondition:function(e){return e.$_parent.$_scope._this.iconPath}},blocks:[{name:"children",template:e.makeComponent(d.default,{attributes:[{name:"path",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.iconPath},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.iconPath=e)}},{name:"onClick",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.onClick},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.onClick=e)}}]})}]})).make(e)}};function w(e,t,n,r,i,o){t.div1_class_binder=n,t.div1_class_invalidate=r;var a=t.div1_class_value;(o||a!==i)&&(t.div1_class_value=i,t.div1_class_state=e.attr._class(t.div1,"class",i,t.div1_class_state))}function A(e){return p.default.body}function S(e,t,n,r,i,o){t.div_class_binder1=n,t.div_class_invalidate1=r;var a=t.div_class_value1;(o||a!==i)&&(t.div_class_value1=i,t.div_class_state1=e.attr._class(t.div,"class",i,t.div_class_state1))}function x(e){return e.$_scope._this.className}function I(e,t,n,r,i,o){t.div_class_binder=n,t.div_class_invalidate=r;var a=t.div_class_value;(o||a!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function R(e){return p.default.section}var P=(0,i.register)((function(e){return e.makeNode("div")}));class j extends u.default{render(){return{template:h,_this:this}}}t.default=j,t.default=j=(0,a.default)(j,{decorators:[(0,l.default)((0,c.default)(null),e,"ContentSection")],properties:[{name:"className",decorators:[(0,s.default)()],kind:"property"},{name:"title",decorators:[(0,s.default)()],kind:"property"},{name:"subtitle",decorators:[(0,s.default)()],kind:"property"},{name:"iconPath",decorators:[(0,s.default)()],kind:"property"},{name:"onClick",decorators:[(0,s.default)()],kind:"property"}]})}).call(t,n(5)(e))},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r,i=h(n(1)),o=n(3),a=h(n(137)),s=h(n(14)),l=h(n(0)),u=h(n(6)),c=h(n(10)),d=h(n(7)),p=h(n(2)),f=h(n(8));function h(e){return e&&e.__esModule?e:{default:e}}var _={make:function(e){return(_=i.default.make({render:function(e,t){var n=t.div=e.pushTemplateNode(N);e.attachEvent(t.div,"click",T),C(t,n),e.enterNode(n),e.runBinder(O,E,t,!0),e.runBinder(k,b,t,!0);var r=t._if=v.make(e);r.$_parent=t,r.template.run(e,r),e.exitNode(n)},dispose:function(e,t){t.div._jsx_data=null,e.removeSignals(t.div_class_binder,t.div_class_invalidate),e.removeSignals(t.div_class_binder1,t.div_class_invalidate1),t._if.template.dispose(e,t._if),C(t,null)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){C(t,t.div),e.runBinder(O,E,t,!1),e.runBinder(k,b,t,!1),t._if.template.reuse(e,t._if)},init:function(e,t){t.div._jsx_data=t},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})).make(e)}},v={make:function(e){return(v=e.makeComponent(s.default,{props:{getCondition:function(e){return!e.$_parent.$_scope._this.inline}},blocks:[{name:"children",template:e.makeComponent(a.default,{blocks:[{name:"children",template:e.makeComponent(s.default,{props:{getCondition:function(e){return""!==e.$_parent.$_parent.$_parent.$_scope._this.path}},blocks:[{name:"children",template:i.default.make({render:function(e,t){t.use=e.pushTemplateNode(y);e.runBinder(g,m,t,!0)},dispose:function(e,t){e.removeSignals(t.use_xlink$58href_binder,t.use_xlink$58href_invalidate)},move:function(e,t){e.pushNode(t.use)},reuse:function(e,t){e.runBinder(g,m,t,!1)},firstChild:function(e,t){return t.use},prepare:function(e){e.attr._xlink$58href||(e.attr._xlink$58href=e.ensureAttr("xlink:href"))}})}]})}]})}]})).make(e)}};function m(e,t,n,r,i,o){t.use_xlink$58href_binder=n,t.use_xlink$58href_invalidate=r;var a=t.use_xlink$58href_value;(o||a!==i)&&(t.use_xlink$58href_value=i,t.use_xlink$58href_state=e.attr._xlink$58href(t.use,"xlink:href",i,t.use_xlink$58href_state))}function g(e){return n(152)("./"+e.$_parent.$_parent.$_parent.$_parent.$_scope._this.pathTransform+".svg")+"#content"}var y=(0,o.register)((function(e){return e.makeNode("use")}));function b(e,t,n,r,i,o){t.div_class_binder1=n,t.div_class_invalidate1=r;var a=t.div_class_value1;(o||a!==i)&&(t.div_class_value1=i,t.div_class_state1=e.attr._class(t.div,"class",i,t.div_class_state1))}function k(e){return e.$_scope._this.className}function E(e,t,n,r,i,o){t.div_class_binder=n,t.div_class_invalidate=r;var a=t.div_class_value;(o||a!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function O(e){return e.$_scope._this.active}function C(e,t){e.$_scope._this.containerRef=t}function T(){var e=this._jsx_data;e&&e.$_scope._this._handleClick()}var N=(0,o.register)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","svg"),t}));r=p.default;class L extends r{attached(){this.watch(()=>this.path,this._inlineSVG)}_handleClick(){this.onClick&&this.onClick()}get pathTransform(){return!this.path||this.path.includes("/")?this.path:"ico-"+this.path.split(" ").join("-").toLowerCase()}render(){return{template:_,_this:this}}}t.default=L,t.default=L=(0,l.default)(L,{decorators:[(0,d.default)((0,f.default)(null),e,"Icon")],properties:[{name:"path",decorators:[(0,c.default)()],kind:"property"},{name:"active",decorators:[(0,c.default)()],kind:"property"},{name:"className",decorators:[(0,c.default)()],kind:"property"},{name:"onClick",decorators:[(0,c.default)()],kind:"property"},{name:"inline",decorators:[(0,c.default)()],kind:"property"},{name:"_inlineSVG",decorators:[(0,u.default)()],fn:function(){this.inline&&(this.containerRef.innerHTML=n(158)("./"+this.pathTransform+".svg"))}}]})}).call(t,n(5)(e))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=n(48),o=l(n(138)),a=l(n(2)),s=l(n(1));function l(e){return e&&e.__esModule?e:{default:e}}t.default=class{static make({attributes:e,events:t,blocks:n,init:l,dispose:u}){var c=a.default.attachBlockTemplates(n).children;if(!c)return s.default.EmptyTemplate;var d=null;return e&&(d=e.map(e=>({name:e.original||e.name,value:e.value||(t=>e.get.call(t))}))),t&&(d||(d=[]),t.forEach(e=>{d.push({name:"on-"+(e.original||e.name),value:e.value})})),s.default.make({render(e,n){var a=n.$_svg=document.createElementNS(i.SvgNS,"svg");e!==o.default&&(a.setAttribute("version","1.1"),a.setAttribute("xmlns",i.SvgNS),a.setAttributeNS(i.XlinkNS,"xlink",i.XlinkNS),a.setAttributeNS(i.XmlNS,"space","preserve"),r||(r=new o.default(e.scope)));var s=r.depth;r.depth=e.depth,l&&l(n,a),e.pushNode(a);var{parentNode:u,nextNode:p}=r;r.parentNode=a,r.nextNode=null;var f=r.pushScope(e.scope),h=n.$_view=c.make(r);if(h.$_parent=n,c.render(r,h),d){var _={$_view:n};t&&(a.$_view=n),n.$_svg_attributes=e.updateSpreadAttribute(a,d,_,null)}r.restoreScope(f),r.depth=s,r.parentNode=u,r.nextNode=p},reuse(e,n){l&&l(n,n.$_svg);var i=r.pushScope(e.scope);if(c.reuse(r,n.$_view),d){var o={$_view:n};t&&(n.$_svg.$_view=n),n.$_svg_attributes=e.updateSpreadAttribute(n.$_svg,d,o,n.$_svg_attributes)}r.restoreScope(i)},dispose(e,n){u&&u(n),n.$_svg_attributes&&(t&&(n.$_svg.$_view=null),n.$_svg_attributes=e.updateSpreadAttribute(n.$_svg,null,{$_view:n},n.$_svg_attributes)),c.dispose(r,n.$_view)},move(e,t){e.pushNode(t.$_svg)},firstChild:(e,t)=>t.$_svg,lastChild:(e,t)=>t.$_svg})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){var a=new r.default(e,t,n),l=a.getDocument();return a._group_g=!1,a.makeNode=function(e){return l.createElementNS(i.SvgNS,e)},a.ensureAttr=function(e){var t=e.match(s);if(t){var n=i.SvgNamespaces[t[1]];if(n)return o.default.make(n,t[2])}return this.setAttr},a};var r=a(n(49)),i=n(48),o=a(n(151));function a(e){return e&&e.__esModule?e:{default:e}}const s=/^([^:]+):(.+)$/},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=f(n(0)),i=f(n(35));t.setPreventExceptions=function(e,t){b=e,k=t};var o=f(n(9)),a=f(n(36)),s=f(n(11)),l=f(n(27)),u=f(n(34)),c=f(n(20)),d=f(n(47)),p=n(50);function f(e){return e&&e.__esModule?e:{default:e}}var h=a.default.filter,_=[];var v,m,g=/^(?:(.+?):)?on-(.+?)(-capture)?$/,y=0;l.default.setImmediate?(v=l.default.setImmediate,m=l.default.clearImmediate):(v=e=>l.default.setTimeout(e,0),m=l.default.clearTimeout);var b=!1,k=null;function E(e){return function(){try{return e.apply(this,arguments)}catch(e){k&&k(e),console.error(e)}}}class O{constructor(e,t,n,r={}){this.id=++y,this.depth=0,this.preventExceptions=b,this.attr=r,this.templates=new d.default,this.scope=e,this.parentNode=t,this.nextNode=n}makeCommentNode(){}makeTextNode(){}makeCustomNode(){}makeCustomNodeWithType(){}setTextContent(){}setNodeValue(){}appendNode(){}appendTextNode(){}replaceNode(){}makeNode(){}makeNodeWithType(){}makeFragment(){}removeNode(){}pushTextNode(){}setAttr(){}removeAttr(){}attachEvent(){}detachEvent(){}pushNode(){}pushCommentNode(){}pushTemplateNode(){}makeComponent(e,t){return e.make(t)}makeDirective(e,t){return u.default.warn("Factory.makeDirective","Use Factory.makeComponent instead."),this.makeComponent(e,t)}ensureAttr(){return this.setAttr}enterNode(e){this.parentNode=e,this.nextNode=null}exitNode(e){this.parentNode=e.parentNode,this.nextNode=e.nextSibling}pushScope(e){var t=this.scope;return this.scope=e,t}restoreScope(e){this.scope=e}pushJsx(e){var t=e.template.make(this);return t.$_parent=e.$_parent,t.$_scope=e,t.template.run(this,t),t}renderContent(e,t){if(!e){if(null==t||""===t)return{type:"empty",content:t,scope:this.scope,node:this.pushCommentNode("empty expression")};if("function"==typeof t&&"function"==typeof t.make){let e=(t.TemplateInstance||(t.TemplateInstance=t.make({}))).make(this);return e.template.run(this,e),{type:"template",content:t,scope:this.scope,view:e}}if("object"==typeof t){if(t.make&&"function"==typeof t.make){let e=t.make(this);return e.template.run(this,e),{type:"template",content:t,scope:this.scope,view:e}}if(t.template&&t.template.make&&"function"==typeof t.template.make){let e=t.template.make(this);e.$_parent=t.$_parent,e.$_scope=t;let n=t.$_injectScope;return n&&n(e),e.template.run(this,e),{type:"template",content:t,scope:this.scope,view:e}}}return{type:"text",content:t,scope:this.scope,node:this.pushTextNode(t)}}if(t===e.content&&("template"!==e.type||!e.view.$_disposed))return e;if(e.scope||(e.scope=this.scope),null==t||""===t){if("empty"===e.type)return e;if("text"===e.type){let n=this.makeCommentNode("empty placeholder");return this.replaceNode(e.node,n),e.type="empty",e.content=t,e.node=n,e}return this.gotoAfterContent(e),this.cacheContent(e),{type:"empty",content:t,scope:e.scope,node:this.pushCommentNode("empty expression")}}if("function"==typeof t&&"function"==typeof t.make){this.gotoAfterContent(e),this.cacheContent(e);let n=this.pushScope(e.scope),r=(t.TemplateInstance||(t.TemplateInstance=t.make({}))).make(this);return r.template.run(this,r),this.restoreScope(n),{type:"template",content:t,scope:e.scope,view:r}}if("object"==typeof t){if(t.make&&"function"==typeof t.make){this.gotoAfterContent(e),this.cacheContent(e);let n=this.pushScope(e.scope),r=t.make(this);return r.template.run(this,r),this.restoreScope(n),{type:"template",content:t,scope:e.scope,view:r}}if(t.template&&t.template.make&&"function"==typeof t.template.make){this.gotoAfterContent(e),this.cacheContent(e);let n=this.pushScope(e.scope),r=t.template.make(this);r.$_parent=t.$_parent,r.$_scope=t;let i=t.$_injectScope;return i&&i(r),r.template.run(this,r),this.restoreScope(n),{type:"template",content:t,scope:e.scope,view:r}}}if("text"===e.type)return this.setNodeValue(e.node,t),e.content=t,e;if("empty"===e.type){let n=this.makeTextNode(t);return this.replaceNode(e.node,n),e.type="text",e.content=t,e.node=n,e}return this.gotoAfterContent(e),this.cacheContent(e),{type:"text",content:t,scope:e.scope,node:this.pushTextNode(t)}}moveContent(e){switch(e.type){case"empty":case"text":this.pushNode(e.node);break;case"template":var t=e.view;t.template.move(this,t)}}cacheContent(e){switch(e.type){case"empty":case"text":this.removeNode(e.node),e.node=null;break;case"template":var t=e.view;t.template.cache(this,t),e.view=null}}disposeContent(e){switch(e.type){case"empty":case"text":break;case"template":var t=e.view;t.template.dispose(this,t)}return e.scope=null,e}gotoBeforeNode(e){this.parentNode=e.parentNode,this.nextNode=e}gotoAfterNode(e){this.parentNode=e.parentNode,this.nextNode=e.nextSibling}gotoBeforeView(e){var t=e.template.firstChild(this,e);this.parentNode=t.parentNode,this.nextNode=t}gotoAfterView(e){var t=e.template.lastChild(this,e);this.parentNode=t.parentNode,this.nextNode=t.nextSibling}gotoBeforeContent(e){switch(e.type){case"empty":case"text":this.gotoBeforeNode(e.node);break;case"template":this.gotoBeforeView(e.view)}}gotoAfterContent(e){switch(e.type){case"empty":case"text":this.gotoAfterNode(e.node);break;case"template":this.gotoAfterView(e.view)}}contentFirstChild(e){switch(e.type){case"empty":case"text":return e.node;case"template":var t=e.view;return t.template.firstChild(this,t)}}contentLastChild(e){switch(e.type){case"empty":case"text":return e.node;case"template":var t=e.view;return t.template.lastChild(this,t)}}runRafBinder(e,t,n,r,i){return v(()=>{this.runBinder(e,t,n,r,i)})}disposeRafBinder(e){m(e)}runBinder(e,t,n,r,i){var a=s.default.active,l=s.default.active=_;this.preventExceptions&&(e=E(e));var u,d=e(n);if(s.default.active=a,d=h(l,d),l.length){_=[],u=function(e,t,n,r,i,a){var l=e.depth,u=c.default.wrap(()=>{var a=e.depth;if(e.depth=l,n)for(let e=0,t=n.length;e<t;++e){let t=n[e],r=t.ref;r&&(r.remove(u),t.dispose&&t.dispose())}if(!t.$_disposed){var c=s.default.active;n=s.default.active=[];var d=r(t);s.default.active=c,d=h(n,d);for(let e=0,t=n.length;e<t;++e){let t=n[e];t.ref=o.default.on(t.obj,t.eventName,u)}i(e,t,n,u,d,!1,!1),e.depth=a}},l,a);return u}(this,n,l,e,t,i);for(var p=0,f=l.length;p<f;++p){var v=l[p];v.ref=o.default.on(v.obj,v.eventName,u)}}else l=null;t(this,n,l,u,d,r,!r)}removeSignals(e,t){if(e)for(var n=0,r=e.length;n<r;++n){var i=e[n];i.ref.remove(t),i.dispose&&i.dispose()}}setUnpreparedAttr(e,t,n){var r=(0,p.makeAttrName)(t);return(this.attr[r]||(this.attr[r]=this.ensureAttr(t)))(e,t,n)}updateSpreadAttribute(e,t,n,r){if(r){var i=r.attrs;for(let t=0,n=i.length;t<n;++t){let n=i[t];n.signals&&this.removeSignals(n.signals,n.invalidate),n.disposed=!0,n.updater(e,n.name,null,n.state),n.link=null,n.state=null}var o=r.events;for(let t=0,n=o.length;t<n;++t){var a=o[t];this.detachEvent(e,a.name,a.value,a.capture)}}if(t){var s=this;if(r={attrs:[],events:[]},t instanceof Array)for(let e=0,n=t.length;e<n;++e){let n=t[e];u(n.name,n.get?n:n.value)}else if("object"==typeof t)for(var l in t)if(t.hasOwnProperty(l)){let e=t[l];u(l,"object"==typeof e?e.get?e:e.value:e)}return r}function u(t,i){var o=(t=String(t)).match(g);if(o){const t=o[1],n=o[2],a=!!o[3];if(!t){const t=s.attachEvent(e,n,i,a)||i;r.events.push({name:n,value:t,capture:a})}}else{var a=(0,p.makeAttrName)(t),l=s.attr[a]||(s.attr[a]=s.ensureAttr(t)),u={name:t,updater:l,disposed:!1};if(r.attrs.push(u),"function"==typeof i)s.runBinder(i,(n,r,i,o,a,s,c)=>{u.disposed||(u.signals=i,u.invalidate=o,(c||a!==u.value)&&(u.value=a,u.state=l(e,t,a,u.state)))},n,!1);else if("object"==typeof i&&"function"==typeof i.get){var c;if("function"==typeof i.set){var d=i.get,f=i.set;s.preventExceptions&&(d=E(d),f=E(f)),u.link={data:n,node:e,setterFn:(e,t)=>(f(t),d())},c=function(e){return t=>{var n=e.state;if(n){var r=e.link;n.onEvent(r.data,r.node,t,e.value,r.setterFn)}}}(u)}s.runBinder(i.get,(n,r,i,o,a,s,d)=>{u.disposed||(u.signals=i,u.invalidate=o,(d||a!==u.value)&&(u.value=a,u.state=l(e,t,a,u.state,c)))},n,!1)}else u.state=l(e,t,i)}}}replaceTemplate(e,t){this.gotoAfterView(e),e.template.cache(this,e),t.template.run(this,t)}}t.default=O,O.active=null,t.default=O=(0,r.default)(O,{decorators:[(0,i.default)({_group_g:!0})]})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,i){if(!i)return void(e.checked=!!n);r||(e.addEventListener("change",i,!1),e.addEventListener("keyup",i,!1),e.addEventListener("input",i,!1),e.addEventListener("blur",i,!1),r=o);return e._TorqUpdate=!0,r.update(e,void 0!==n&&n),e._TorqUpdate=!1,r};var r,i=n(30);var o={update(e,t){e.checked=Boolean(t)},read:e=>e.checked,onEvent:((r=i)&&r.__esModule?r:{default:r}).default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,o){if(!n)return(0,r.replaceClassNames)(e,o,null);if("string"==typeof n){if(-1===n.indexOf(" "))return(0,r.replaceSingleClassName)(e,o,n);n=n.trim().split(/\s+/)}else if(n instanceof Array)n=i(n);else if("object"==typeof n){var a=[];for(let e in n){n[e]&&a.push(e.split(" "))}n=i(a)}return(0,r.replaceClassNames)(e,o,n)};var r=n(51);function i(e){let t=[];for(let n=0,r=e.length;n<r;++n){let r=e[n];if(r instanceof Array)for(let e=0,n=r.length;e<n;++e)r[e]&&t.push(r[e]);else r&&t.push(r)}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(51);t.default={make:e=>function(t,n,i){i?(0,r.addClass)(t,e):(0,r.removeClass)(t,e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,i){if(!i)return void e.setAttribute(t,n);r||(e.addEventListener("change",i,!1),e.addEventListener("keyup",i,!1),e.addEventListener("input",i,!1),e.addEventListener("blur",i,!1),r=o);return e._TorqUpdate=!0,r.update(e,n),e._TorqUpdate=!1,r};var r,i=n(30);var o={update(e,t){e.indeterminate=Boolean(t)},read:e=>e.indeterminate,onEvent:((r=i)&&r.__esModule?r:{default:r}).default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){n&&"string"!=typeof n?(i&&("string"==typeof i?e.setAttribute("style",""):(0,r.unsetStyles)(e,i)),(0,r.setStyles)(e,n)):e.setAttribute("style",n);return n};var r=n(145)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setStyles=function(e,t){var n=e.style;const i=(0,r.transformProperties)(t);for(let e in i)n[e]=i[e]},t.unsetStyles=function(e,t){var n=e.style;for(let e in(0,r.transformProperties)(t))n[e]=""},t.setStyle=function(e,t,n){e.style[(0,r.transformPropertyName)(t)]=(0,r.transformValueForProperty)(t,n)};var r=n(52)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=class{constructor(e){this.map={},this.transform=e}get(e){var t=this.map;return t.hasOwnProperty(e)?t[e]:t[e]=this.transform(e)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(52);t.default={make(e){var t=(0,r.transformPropertyName)(e),n=(0,r.valueTransformerForProperty)(e);return n?function(e,r,i){e.style[t]=n(i)}:function(e,n,r){e.style[t]=null==r?"":r}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){e.textContent=n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){n?e.setAttribute(t,t):e.removeAttribute(t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,i){if(!i)return void e.setAttribute(t,n);if(!r)if(e.addEventListener("change",i,!1),e.addEventListener("keyup",i,!1),e.addEventListener("input",i,!1),e.addEventListener("blur",i,!1),"inherit"!==e.contentEditable)r=l;else switch(e.getAttribute("type")){case"number":case"range":r=a;break;default:r=s}return e._TorqUpdate=!0,r.update(e,n),e._TorqUpdate=!1,r};var r,i=n(30),o=(r=i)&&r.__esModule?r:{default:r};var a={update(e,t){var n=parseFloat(t,10);isNaN(n)&&(n=""),e.value!==n&&(e.value=n)},read:e=>parseFloat(e.value,10),onEvent:o.default};var s={update(e,t){const n=void 0===t?"":t;e.value===n||(e.value=n,"SELECT"!==e.tagName||e.value===n)||function(e,t){for(let n=0,r=e.options.length;n<r;n++){const r=e.options[n];if(r.value===t){r.selected=!0;break}}}(e,n)},read:e=>e.value,onEvent:o.default},l={update(e,t){const n=void 0===t?"":t;e.textContent!==n&&(e.textContent=n)},read:e=>e.textContent,onEvent:o.default}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={make:(e,t)=>function(n,r,i){n.setAttributeNS(e,t,i)}}},function(e,t,n){var r={"./ico-alert.svg":129,"./ico-empty-album.svg":153,"./ico-failed-load.svg":154,"./ico-general-cc.svg":155,"./ico-no-connection.svg":156,"./ico-no-results.svg":157,"./ico-refresh.svg":122,"./ico-wait-dark.svg":132,"./ico-wait-light.svg":131};function i(e){return n(o(e))}function o(e){var t=r[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=152},function(e,t,n){e.exports=n.p+"ico-empty-album-23OL13q.svg"},function(e,t,n){e.exports=n.p+"ico-failed-load-261IbWP.svg"},function(e,t,n){e.exports=n.p+"ico-general-cc-3YZLMhW.svg"},function(e,t,n){e.exports=n.p+"ico-no-connection-2MLyDaE.svg"},function(e,t,n){e.exports=n.p+"ico-no-results-eq4glWE.svg"},function(e,t,n){var r={"./ico-alert.svg":159,"./ico-empty-album.svg":160,"./ico-failed-load.svg":161,"./ico-general-cc.svg":162,"./ico-no-connection.svg":163,"./ico-no-results.svg":164,"./ico-refresh.svg":165,"./ico-wait-dark.svg":166,"./ico-wait-light.svg":167};function i(e){return n(o(e))}function o(e){var t=r[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=158},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" data-name="S_Alert_18_N@2x" height="36" id="S_Alert_18_N_2x" viewBox="0 0 36 36" width="36">\n  <defs>\n    <style>\n      .cls-1 {\n        fill: #C4A600;\n        fill-rule: evenodd;\n      }\n    </style>\n  </defs>\n  <title>S_Alert_18_N@2x</title>\n  <rect id="Canvas" fill="#ff13dc" opacity="0" width="36" height="36" /><path class="cls-1" d="M17.127,2.579.4,32.512A1,1,0,0,0,1.272,34H34.728a1,1,0,0,0,.873-1.488L18.873,2.579A1,1,0,0,0,17.127,2.579ZM20,29.5a.5.5,0,0,1-.5.5h-3a.5.5,0,0,1-.5-.5v-3a.5.5,0,0,1,.5-.5h3a.5.5,0,0,1,.5.5Zm0-6a.5.5,0,0,1-.5.5h-3a.5.5,0,0,1-.5-.5v-12a.5.5,0,0,1,.5-.5h3a.5.5,0,0,1,.5.5Z" />\n  </svg>\n'},function(e,t){e.exports='<svg id="content" width="184" height="100" viewBox="0 0 184 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">\n  <path d="M48,22L49,22C49.549,22 50,21.549 50,21L50,17.5C50,17.226 50.226,17 50.5,17L138.5,17C138.774,17 139,17.226 139,17.5L139,21C139,21.549 139.451,22 140,22L141,22C141.549,22 142,21.549 142,21L142,17.5C142,15.58 140.42,14 138.5,14L50.5,14C48.58,14 47,15.58 47,17.5L47,21C47,21.549 47.451,22 48,22Z" style="fill-rule:nonzero;"/>\n  <path d="M58,12L59,12C59.549,12 60,11.549 60,11L60,8.5C60,8.226 60.226,8 60.5,8L128.5,8C128.774,8 129,8.226 129,8.5L129,11C129,11.549 129.451,12 130,12L131,12C131.549,12 132,11.549 132,11L132,8.5C132,6.58 130.42,5 128.5,5L60.5,5C58.58,5 57,6.58 57,8.5L57,11C57,11.549 57.451,12 58,12Z" style="fill-rule:nonzero;"/>\n  <path d="M148.5,24L40.5,24C38.58,24 37,25.58 37,27.5L37,44C37,44.549 37.451,45 38,45L39,45C39.549,45 40,44.549 40,44L40,27.5C40,27.226 40.226,27 40.5,27L148.5,27C148.774,27 149,27.226 149,27.5L149,95.909L125.646,72.109C123.483,69.978 119.958,69.983 117.801,72.12L107.209,83.331C107.017,83.545 106.892,83.811 106.851,84.096L83.2,60.212C82.311,59.304 81.093,58.792 79.822,58.793C78.559,58.797 77.346,59.298 76.448,60.187L40,96.125L40,79C40,78.451 39.549,78 39,78L38,78C37.451,78 37,78.451 37,79L37,96.5C37,98.42 38.58,100 40.5,100L148.5,100C150.42,100 152,98.42 152,96.5L152,27.5C152,25.58 150.42,24 148.5,24ZM43.384,97L78.561,62.416C78.901,62.112 79.352,61.961 79.807,62C80.264,61.962 80.717,62.116 81.057,62.424L115.409,97L43.384,97ZM119.632,97L108.553,85.814C108.871,85.769 109.165,85.621 109.39,85.392L119.957,74.208C120.439,73.759 121.073,73.509 121.732,73.508C122.394,73.5 123.033,73.755 123.508,74.217L145.867,97L119.632,97Z" style="fill-rule:nonzero;"/>\n  <path d="M129.049,58C131.937,58.047 134.725,56.928 136.775,54.9C138.84,52.823 140,50.015 140,47.091C140,41.082 135.1,36.109 129.071,36L129.048,36C129.044,36 129.041,36 129.037,36C122.982,36 118,40.966 118,47C118,53.03 122.976,57.994 129.027,58L129.049,58ZM121.106,47.2C121.103,45.048 121.946,42.978 123.453,41.437C124.917,39.915 126.932,39.037 129.047,39L129.065,39C133.517,39.009 137.176,42.663 137.176,47.1C137.176,51.544 133.507,55.2 129.048,55.2C129.043,55.2 129.037,55.2 129.032,55.2C124.656,55.172 121.078,51.561 121.106,47.2L121.106,47.2Z" style="fill-rule:nonzero;"/>\n  <path d="M38.5,48C31.094,48 25,54.094 25,61.5C25,68.906 31.094,75 38.5,75C45.906,75 52,68.906 52,61.5C52,54.094 45.906,48 38.5,48Z" style="fill:#1473E6;fill-rule:nonzero;"/>\n  <path d="M46,63L40,63L40,69C40,69.549 39.549,70 39,70L38,70C37.451,70 37,69.549 37,69L37,63L31,63C30.451,63 30,62.549 30,62L30,61C30,60.451 30.451,60 31,60L37,60L37,54C37,53.451 37.451,53 38,53L39,53C39.549,53 40,53.451 40,54L40,60L46,60C46.549,60 47,60.451 47,61L47,62C47,62.549 46.549,63 46,63Z" style="fill:#E1E1E1;fill-rule:nonzero;"/>\n</svg>\n'},function(e,t){e.exports='<svg id="content" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 179.3 110.17"><title>ico-failed-load</title><g id="Group_8" data-name="Group 8"><path id="Path_13" data-name="Path 13" d="M13.93,33.11V4.44A3,3,0,0,1,16.87,1.5H175.49a3,3,0,0,1,2.94,2.94V105.73a3,3,0,0,1-2.94,2.94H16.87a3,3,0,0,1-2.94-2.94V74.27" transform="translate(-0.64)" style="fill:none;stroke:#5c5c5c;stroke-linecap:round;stroke-linejoin:round;stroke-width:3px"/><path id="Path_14" data-name="Path 14" d="M146.68,46.93a14,14,0,1,0-13.82-14.11s0,.1,0,.15a13.84,13.84,0,0,0,13.7,14Z" transform="translate(-0.64)" style="fill:none;stroke:#5c5c5c;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/><path id="Path_15" data-name="Path 15" d="M111.84,87.65l15.58-16.47a6.13,6.13,0,0,1,8.38,0L172,108.08" transform="translate(-0.64)" style="fill:none;stroke:#5c5c5c;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/><path id="Path_16" data-name="Path 16" d="M16.13,108.08,71.26,53.69a4.7,4.7,0,0,1,6.65-.12l.12.12,54.39,55" transform="translate(-0.64)" style="fill:none;stroke:#5c5c5c;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px"/><line id="Line_4" data-name="Line 4" x1="1.54" y1="66.11" x2="25.04" y2="42.61" style="fill:none;stroke:#5c5c5c;stroke-linecap:round;stroke-linejoin:round;stroke-width:3.075000047683716px"/><line id="Line_5" data-name="Line 5" x1="25.04" y1="66.11" x2="1.54" y2="42.61" style="fill:none;stroke:#5c5c5c;stroke-linecap:round;stroke-linejoin:round;stroke-width:3.075000047683716px"/></g></svg>\n'},function(e,t){e.exports='<svg id="content" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 179.99 136.86"><title>ico-subscription-expired</title><path id="Path_13" data-name="Path 13" d="M58.75,136.86a58.75,58.75,0,1,1,0-117.51h0a47.87,47.87,0,0,1,5.19.28C78.25,6.17,94.23,0,111.76,0a68.4,68.4,0,0,1,11.08,135.88h0s-8.55,1-15.85,1Zm0-113.58a54.83,54.83,0,0,0,0,109.66H107a129,129,0,0,0,15.57-1A64.47,64.47,0,1,0,67.73,21.31L65.2,23.7a49.82,49.82,0,0,0-6.45-.42Zm.42,93.67a39.08,39.08,0,0,1-39-39v-.14A38.93,38.93,0,0,1,59,39a37,37,0,0,1,26.08,10l18.09,18.65a3,3,0,0,1-2.1,5.19,2.79,2.79,0,0,1-2.24-1L80.63,53.43A31.45,31.45,0,0,0,59,45.29a32.74,32.74,0,0,0,.14,65.49h9.4a59.37,59.37,0,0,0,7.15,6.17Zm52.3,0a48.16,48.16,0,0,1-34.21-14.16S53.15,78.53,53,78.53a3.18,3.18,0,0,1-.84-2.24,3,3,0,0,1,1-2.1,2.85,2.85,0,0,1,2.1-.84,4,4,0,0,1,2.38,1l24,24A42.34,42.34,0,1,0,86,34.5c-2-1.12-3.93-2.24-5.89-3.23a48.46,48.46,0,0,1,65.77,71.09A47,47,0,0,1,111.48,117Z" transform="translate(0)" style="fill:#5c5c5c"/></svg>\n'},function(e,t){e.exports='<svg id="content" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 108.32 91.8"><title>ico-no-connection</title><g id="Group_9" data-name="Group 9"><path id="Path_13" data-name="Path 13" d="M71.48,56.43a23.9,23.9,0,0,0,7-16.85,23.55,23.55,0,0,0-7-16.85" transform="translate(0 0)" style="fill:none;stroke:#5c5c5c;stroke-linecap:round;stroke-linejoin:round;stroke-width:3px"/><path id="Path_14" data-name="Path 14" d="M81.23,66.26a37.8,37.8,0,0,0,0-53.38" transform="translate(0 0)" style="fill:none;stroke:#5c5c5c;stroke-linecap:round;stroke-linejoin:round;stroke-width:3px"/><path id="Path_15" data-name="Path 15" d="M91.5,76.53a52.25,52.25,0,0,0,0-73.9l0,0" transform="translate(0 0)" style="fill:none;stroke:#5c5c5c;stroke-linecap:round;stroke-linejoin:round;stroke-width:3px"/><path id="Path_16" data-name="Path 16" d="M36.83,21.52a23.9,23.9,0,0,0-7,16.85,23.55,23.55,0,0,0,7,16.85" transform="translate(0 0)" style="fill:none;stroke:#5c5c5c;stroke-linecap:round;stroke-linejoin:round;stroke-width:3px"/><path id="Path_17" data-name="Path 17" d="M27,11.68a37.8,37.8,0,0,0,0,53.38" transform="translate(0 0)" style="fill:none;stroke:#5c5c5c;stroke-linecap:round;stroke-linejoin:round;stroke-width:3px"/><path id="Path_18" data-name="Path 18" d="M16.81,1.5a52.26,52.26,0,0,0,0,73.9l0,0" transform="translate(0 0)" style="fill:none;stroke:#5c5c5c;stroke-linecap:round;stroke-linejoin:round;stroke-width:3px"/><line id="Line_4" data-name="Line 4" x1="54.12" y1="38.97" x2="54.12" y2="90.3" style="fill:none;stroke:#5c5c5c;stroke-linecap:round;stroke-linejoin:round;stroke-width:3px"/></g></svg>\n'},function(e,t){e.exports='<svg id="content" class="glyph" width="184" height="100" viewBox="0 0 184 100" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;">\n  <path d="M37.169,55.053C37.179,55.053 37.19,55.053 37.2,55.053C50.227,55.053 60.947,44.433 60.947,31.526C60.947,18.62 50.227,8 37.2,8C24.173,8 13.453,18.62 13.453,31.526C13.453,36.29 14.913,40.943 17.64,44.867L1.388,60.964C0.497,61.847 -0.004,63.045 -0.004,64.293C-0.004,66.875 2.141,69 4.747,69C6.006,69 7.215,68.504 8.106,67.622L24.43,51.453C24.449,51.435 24.455,51.41 24.472,51.39C28.264,53.786 32.671,55.057 37.169,55.053ZM37.169,11.033C48.533,11.033 57.885,20.297 57.885,31.556C57.885,42.815 48.533,52.08 37.169,52.08C25.805,52.08 16.453,42.815 16.453,31.556C16.466,20.302 25.81,11.046 37.169,11.033L37.169,11.033ZM5.985,65.522C5.297,66.173 4.198,66.173 3.51,65.522C2.833,64.848 2.833,63.743 3.51,63.07L19.51,47.218C20.29,48.081 21.132,48.885 22.03,49.626L5.985,65.522Z" style="fill-rule:nonzero;"/>\n  <path d="M28.424,39.576C28.989,40.141 29.92,40.141 30.486,39.576L37.007,33.054L43.529,39.576C43.8,39.838 44.164,39.985 44.542,39.985C45.342,39.985 46,39.327 46,38.527C46,38.149 45.853,37.786 45.591,37.514L39.069,30.994L45.591,24.472C45.853,24.201 46,23.837 46,23.459C46,22.659 45.342,22.001 44.542,22.001C44.164,22.001 43.8,22.148 43.529,22.41L37.007,28.932L30.486,22.409C30.214,22.147 29.85,22 29.473,22C28.673,22 28.014,22.658 28.014,23.458C28.014,23.836 28.161,24.2 28.424,24.471L34.944,30.994L28.423,37.516C27.859,38.081 27.859,39.011 28.424,39.576Z" style="fill-rule:nonzero;"/>\n  <path d="M126.05,58C128.938,58.047 131.726,56.928 133.775,54.9C135.84,52.823 137,50.015 137,47.091C137,41.081 132.099,36.107 126.069,36L126.046,36C126.043,36 126.039,36 126.036,36C119.982,36 115,40.966 115,47C115,53.03 119.975,57.994 126.025,58L126.05,58ZM118.109,47.2C118.105,45.047 118.949,42.975 120.458,41.434C121.922,39.913 123.937,39.036 126.051,39L126.069,39C130.521,39.009 134.179,42.663 134.179,47.1C134.179,51.544 130.511,55.2 126.053,55.2C126.047,55.2 126.042,55.2 126.036,55.2C121.679,55.174 118.108,51.593 118.108,47.25C118.108,47.232 118.108,47.215 118.109,47.197L118.109,47.2Z" style="fill-rule:nonzero;"/>\n  <path d="M146.5,24L64,24C63.451,24 63,24.451 63,25L63,26C63,26.549 63.451,27 64,27L146.5,27C146.774,27 147,27.226 147,27.5L147,95.909L123.646,72.109C121.483,69.978 117.958,69.983 115.801,72.12L105.214,83.331C105.022,83.545 104.897,83.811 104.856,84.096L81.195,60.212C80.305,59.303 79.086,58.791 77.814,58.793C76.551,58.797 75.338,59.298 74.44,60.187L38,96.124L38,59C38,58.451 37.549,58 37,58L36,58C35.451,58 35,58.451 35,59L35,96.5C35,98.42 36.58,100 38.5,100L146.5,100C148.42,100 150,98.42 150,96.5L150,27.5C150,25.58 148.42,24 146.5,24ZM41.384,97L76.56,62.416C76.9,62.112 77.351,61.961 77.806,62C78.263,61.962 78.716,62.116 79.056,62.424L113.404,97L41.384,97ZM117.632,97L106.552,85.814C106.87,85.769 107.164,85.621 107.389,85.392L117.955,74.208C118.437,73.759 119.071,73.509 119.73,73.508C120.392,73.5 121.031,73.755 121.506,74.217L143.865,97.004L117.632,97Z" style="fill-rule:nonzero;"/>\n</svg>\n'},function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" data-name="S_Refresh_24_N@2x" height="48" id="S_Refresh_24_N_2x" viewBox="0 0 48 48" width="48">\n  <defs>\n    <style>\n      .cls-1 {\n        fill: #707070;\n      }\n\n      \n    </style>\n  </defs>\n  <title>S_Refresh_24_N@2x</title>\n  <rect id="Canvas" fill="#ff13dc" opacity="0" width="48" height="48" /><path class="cls-1" d="M28.052,19.146,33.6,13.835a13.98,13.98,0,0,0-22.966,5.989l-5.728-1.79A19.969,19.969,0,0,1,37.931,9.689L43.146,4.7A.5.5,0,0,1,44,5.05V20H28.405A.5.5,0,0,1,28.052,19.146Z" />\n  <path class="cls-1" d="M19.651,28a.5.5,0,0,1,.354.853l-5.626,5.294a13.982,13.982,0,0,0,22.987-5.971l5.728,1.79A19.974,19.974,0,0,1,10.01,38.258L4.854,43.11A.5.5,0,0,1,4,42.757V28Z" />\n  </svg>'},function(e,t){e.exports='<?xml version="1.0" encoding="utf-8"?>\n\x3c!-- Generator: Adobe Illustrator 20.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  --\x3e\n<svg version="1.1" id="S_Search_24_N" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"\n\t y="0px" viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">\n    <defs>\n        <style>\n            #loader_circle_blue,\n            #loader_bg {\n                fill-rule: evenodd;\n                fill: transparent;\n                stroke-linecap: round;\n                transform-origin: center center;\n            }\n\n            #loader_bg {\n                stroke: rgb(49, 49, 49);\n                stroke-width: 1.8;\n            }\n\n            #loader_circle_blue {\n                stroke: rgb(20, 115, 230);\n                stroke-width: 2;\n                stroke-dashoffset: 70;\n                -webkit-stroke-dashoffset: 70;\n                stroke-dasharray: 80;\n                -webkit-stroke-dasharray: 80;\n                animation: dashed 1s linear infinite;\n                -webkit-animation: dashed 1s linear infinite;\n                transform: rotate(-85deg);\n            }\n\n            #loader_circle_group {\n                transform: rotate(0deg);\n                animation: spinner 1s linear infinite;\n                -webkit-animation: spinner 1s linear infinite;\n                transform-origin: center center;\n\n            }\n\n            @keyframes dashed {\n                0% {\n                    stroke-dashoffset: 70;\n                    -webkit-stroke-dashoffset: 70;\n                    transform: rotate(-85deg);\n                }\n                60% {\n                    stroke-dashoffset: 25;\n                    -webkit-stroke-dashoffset: 25;\n                    transform: rotate(-85deg);\n                }\n                100% {\n                    stroke-dashoffset: 70;\n                    -webkit-stroke-dashoffset: 70;\n                    transform: rotate(-85deg);\n                }\n            }\n            @-webkit-keyframes spinner {\n                0% {\n                    transform: rotate(0deg);\n                }\n                60% {\n                    transform: rotate(110deg);\n                }\n                100% {\n                    transform: rotate(360deg);\n                }\n            }\n        </style>\n    </defs>\n  <g id="ico-search"><circle id="loader_bg" cx="12" cy="12 " r="11"/>\n    <g id="loader_circle_group">\n      <circle id="loader_circle_blue" cx="12" cy="12 " r="11"/>\n    </g>\n  </g>\n</svg>\n'},function(e,t){e.exports='<?xml version="1.0" encoding="utf-8"?>\n\x3c!-- Generator: Adobe Illustrator 20.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  --\x3e\n<svg version="1.1" id="S_Search_24_N" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"\n\t y="0px" viewBox="0 0 24 24" style="enable-background:new 0 0 24 24;" xml:space="preserve">\n    <defs>\n        <style>\n            #loader_circle_blue,\n            #loader_bg {\n                fill-rule: evenodd;\n                fill: transparent;\n                stroke-linecap: round;\n                transform-origin: center center;\n            }\n\n            #loader_bg {\n                stroke: rgb(197, 197, 197);\n                stroke-width: 1.8;\n            }\n\n            #loader_circle_blue {\n                stroke: rgb(0, 100, 220);\n                stroke-width: 2;\n                stroke-dashoffset: 70;\n                -webkit-stroke-dashoffset: 70;\n                stroke-dasharray: 80;\n                -webkit-stroke-dasharray: 80;\n                animation: dashed 1s linear infinite;\n                -webkit-animation: dashed 1s linear infinite;\n                transform: rotate(-85deg);\n            }\n\n            #loader_circle_group {\n                transform: rotate(0deg);\n                animation: spinner 1s linear infinite;\n                -webkit-animation: spinner 1s linear infinite;\n                transform-origin: center center;\n\n            }\n\n            @keyframes dashed {\n                0% {\n                    stroke-dashoffset: 70;\n                    -webkit-stroke-dashoffset: 70;\n                    transform: rotate(-85deg);\n                }\n                60% {\n                    stroke-dashoffset: 25;\n                    -webkit-stroke-dashoffset: 25;\n                    transform: rotate(-85deg);\n                }\n                100% {\n                    stroke-dashoffset: 70;\n                    -webkit-stroke-dashoffset: 70;\n                    transform: rotate(-85deg);\n                }\n            }\n            @-webkit-keyframes spinner {\n                0% {\n                    transform: rotate(0deg);\n                }\n                60% {\n                    transform: rotate(110deg);\n                }\n                100% {\n                    transform: rotate(360deg);\n                }\n            }\n        </style>\n    </defs>\n  <g id="ico-search"><circle id="loader_bg" cx="12" cy="12 " r="11"/>\n    <g id="loader_circle_group">\n      <circle id="loader_circle_blue" cx="12" cy="12 " r="11"/>\n    </g>\n  </g>\n</svg>\n'},function(e,t){e.exports={section:"_2tc5TT_n5_NTu7LM3ZZIhn",body:"_16aUFoLMf5hBOq5PKrbMPY",text:"_3lOafN0UWMop92TgT8I0kb",title:"_2TcVcGxJDtXH7mgDgxLHLi",subtitle:"gCn7FdCuCjHWgd8TjZNxV"}},function(e,t){e.exports={container:"_5W3IqOb-zaQmOBSItMOEP"}},function(e,t){e.exports={container:"_2HUjYhdRleY8x1UzQWccp8"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=c(n(0)),o=c(n(37)),a=c(n(172)),s=c(n(19)),l=c(n(53)),u=c(n(49));function c(e){return e&&e.__esModule?e:{default:e}}r=s.default;class d extends r{constructor(e){super();var t=this.scope=this.link(new l.default),n=e||u.default;this.factory=new n(t)}start(e,t,n){this.factory.parentNode=e,this.factory.nextNode=t,n&&(this.factory.scope=n);var r=this.render();this.view=this.factory.renderContent(null,r),this.attached()}dispose(){this.view&&(this.detached(),this.factory.cacheContent(this.view),this.view=null),this.factory=null,super.dispose()}attached(){}detached(){}}t.default=d,t.default=d=(0,i.default)(d,{properties:[{name:"instance",decorators:[(0,a.default)()],static:!0,kind:"get",fn:function(){return new this}},{name:"render",decorators:[(0,o.default)()],fn:function(){}}]})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return function(e){var t="_"+e.name,n=e.fn;if("get"!==e.kind)throw new Error("@Memoize can only be applied on getters.");e.setGetter((function(){if(this.hasOwnProperty(t))return this[t];var r=n.call(this);return this[t]=r,Object.defineProperty(this,e.name,{configurable:!0,value:r}),r}))}}}])},"48mS":function(e,t,n){"use strict";n.r(t);var r=n("mXGw"),i=n.n(r);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.default=({styles:e={},...t})=>i.a.createElement("svg",o({version:"1.1",id:"S_Search_24_N",xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",viewBox:"0 0 24 24",xmlSpace:"preserve"},t),i.a.createElement("defs",null),i.a.createElement("g",{id:"ico-search"},i.a.createElement("circle",{cx:"12",cy:"12",r:"11",style:{transformOrigin:"center center"},stroke:"#313131",strokeWidth:"1.8",fillRule:"evenodd",fill:"transparent",strokeLinecap:"round"}),i.a.createElement("g",{style:{animation:"spinner 1s linear infinite",WebkitAnimation:"spinner 1s linear infinite",transformOrigin:"center center"}},i.a.createElement("circle",{cx:"12",cy:"12",r:"11",style:{WebkitStrokeDashoffset:"70",WebkitStrokeDasharray:"80",animation:"dashed 1s linear infinite",WebkitAnimation:"dashed 1s linear infinite",transformOrigin:"center center"},stroke:"#1473e6",strokeWidth:"2",strokeDashoffset:"70",strokeDasharray:"80",transform:"rotate(-85)",fillRule:"evenodd",fill:"transparent",strokeLinecap:"round"}))))},Clxp:function(e,t,n){"use strict";n.r(t);var r=n("zUbE"),i=n("iH74"),o=n("he0X"),a=n("ZN6I"),s=n("Ojs7"),l=n("iTuP"),u=n("ZmDn"),c=n("mXGw"),d=n("cneo"),p=n("mBK0"),f=n("W0B4"),h=n.n(f);const _=n("M0Rm"),{Binder:v,Scope:m,Application:g}=n("+pfd").lrimporter.default;class y extends c.Component{constructor(e){super(e),this._disposables=[]}componentDidMount(){const e=this.makeTemplate(),t=this.makeScope();this._disposables.push(function(e,t,n){const r=new g;return r.render=()=>e,r.start(t,null,n),r}(e,this.container,t))}componentWillUnmount(){this._disposables.forEach(e=>e.dispose()),this._disposables.length=0}componentWillReceiveProps(e){const t=this.props;for(let n in t)t[n]!==e[n]&&v.recordChange(this,n,t[n],e[n])}makeTemplate(){return this.props.view.make({attributes:this.makeAttributes(),events:this.makeEvents()})}makeAttributes(){const e=this.props.view,t=[];return e.prototype.definedAttributes&&Object.keys(e.prototype.definedAttributes).forEach(e=>{t.push({name:e,get:()=>(v.active&&v.recordEvent(this,e),this.props[e]),set:t=>{this.props.onAttributeChange&&this.props.onAttributeChange(e,t)}})}),t}makeEvents(){const e=this.props.view,t=[];if(Array.isArray(e.prototype.events)){e.prototype.events.forEach(e=>{const n="on-"+e;this.props.hasOwnProperty(n)&&t.push({name:e,value:this.props[n]})})}return t}makeScope(){const e=this.props.scope;if(!e)return null;if(e instanceof m)return e;const t=new m;this._disposables.push(t);for(let n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}render(){return c.createElement("div",{className:"panel-ccphotos "+_.root,style:this.props.style,ref:e=>this.container=e})}}y.propTypes={view(e,t,n){if("function"!=typeof e[t]||"function"!=typeof e[t].make)return new Error("Invalid prop `"+t+"` supplied to `"+n+"`, expected a Torq Directive.")},onAttributeChange:h.a.func};var b=function(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a},k=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)};const{Importer:E}=n("+pfd").lrimporter.default;n("gLEC");let O=class extends c.Component{constructor(){super(...arguments),this.updatePanelHeight=()=>{this.panelHeight=window.innerHeight-114-74-10},this.updateColorStop=()=>{let e=s.default.getUIThemeColor();this.colorStop=e&&e.red>=184?"light":"darkest"},this.handleImportCompleted=e=>{let t=Promise.resolve();e.forEach(({path:e,filename:n,xmpString:r,adobeUserOrientation:a,assetId:s,extension:u,contentType:c})=>{t=t.then(()=>new Promise(t=>{try{l.a.logClickedEvent("lightroom-view",{subtype:"open",content:{id:s,extension:u,mimetype:c,category:"image"}});let d=d=>{if(d){let e=n.replace(/\.\w+$/,"");o.default.releaseFileReference(e),l.a.logRenderedEvent("lightroom-edit",{id:s,extension:u,mimetype:c,category:"image"}),t()}else l.a.logMiscellaneousEvent("lightroom",{eventType:"error",subtype:"open",errorDesc:"Failed to open photo",content:{id:s,extension:u,mimetype:c,category:"image",open_with_xmp:Boolean(r)}}),i.a.logJSON("Unable to open photo",{path:e,xmpString:r,adobeUserOrientation:a}),t()};r?(i.a.toConsole("Open file with ACR settings"),o.default.openPathWithXMP(e,r,a,d)):o.default.openDocument(e,!0,d)}catch(n){i.a.logJSON("Unable to open photo: "+n,{path:e,xmpString:r,adobeUserOrientation:a}),t()}}))})},this.handleRequestAccessToken=()=>new Promise((e,t)=>{a.a.isUserSignedIn(n=>{n?a.a.getAccessToken((n,r)=>{n?e(n):(l.a.logErrorEvent("accessToken",{subcategory:l.a.ingestUtil.KEYS.SUBCATEGORY_LIGHTROOM,error:{desc:"Failed to load lightroom: "+r,type:"lrphotos"}}),t("Failed to acquire access token:: "+r))}):e()})}),this.handleOpenLink=e=>{l.a.logClickedEvent("lightroom-view",{subtype:"open",action:e}),r.default.openDefaultBrowserAuthenicated("ADOBEACCOUNT",e)},this.handleEscapeKey=()=>{const e=document.getElementById("lrimporter-iframe");e&&e.contentWindow&&e.contentWindow.addEventListener("keydown",e=>{"Escape"===e.key&&s.default.closeExtensionOnStatus("true")})},this.handleReportEvent=(e,t)=>{switch(e){case"initialize-lr-organizer":l.a.logMiscellaneousEvent("lightroom",{eventType:"initialize"});break;case"initialize-lr-organizer-failed":l.a.logMiscellaneousEvent("lightroom",{eventType:"error",errorDesc:`Message: ${t.message}, Stack: ${t.stack}`.slice(0,1024)});break;case"rendered-lr-organizer":l.a.logRenderedEvent("lightroom-organizer"),this.handleEscapeKey();break;case"clicked-asset":l.a.logClickedEvent("lightroom-view",{subtype:"select",content:{id:t.assetId,extension:t.extension,mimetype:t.contentType,category:"image"}});break;case"clicked-import":l.a.logClickedEvent("lightroom-view",{subtype:"import",count:t.count});break;case"clicked-cancel-download":l.a.logClickedEvent("lightroom-view",{subtype:"cancel-download",count:t.count});break;case"clicked-refresh":l.a.logClickedEvent("lightroom-view",{subtype:"refresh"});break;case"download-failed":l.a.logMiscellaneousEvent("lightroom",{eventType:"error",subtype:"download",errorDesc:t.error,content:{id:t.assetId,extension:t.extension,mimetype:t.contentType,original_file_size:t.originalFileSize,category:"image"}})}}}componentDidMount(){window.addEventListener("resize",this.updatePanelHeight),this.updatePanelHeight(),s.default.addThemeChangeListener(this.updateColorStop),this.updateColorStop()}componentWillUnmount(){window.removeEventListener("resize",this.updatePanelHeight),s.default.removeThemeChangeListener(this.updateColorStop)}render(){return c.createElement(y,{view:E,style:{height:this.panelHeight,position:"relative",display:this.props.hidden?"none":void 0},colorStop:this.colorStop,clientId:"CCXInAppWelcomeStart2",lrSDKHelper:u.b,requestAccessToken:this.handleRequestAccessToken,locale:o.default.data.language,onImportCompleted:this.handleImportCompleted,onOpenLink:this.handleOpenLink,onReportEvent:this.handleReportEvent})}};b([d.u,k("design:type",Object)],O.prototype,"panelHeight",void 0),b([d.u,k("design:type",Object)],O.prototype,"colorStop",void 0),O=b([p.a],O);t.default=O},ER6q:function(e,t){e.exports=function(e){return"string"!=typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),/["'() \t\n]/.test(e)?'"'+e.replace(/"/g,'\\"').replace(/\n/g,"\\n")+'"':e)}},UezQ:function(e,t,n){var r,i,o={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===i&&(i=r.apply(this,arguments)),i}),s=function(e){return document.querySelector(e)},l=function(e){var t={};return function(e){if("function"==typeof e)return e();if(void 0===t[e]){var n=s.call(this,e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}}(),u=null,c=0,d=[],p=n("lDLK");function f(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=o[r.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](r.parts[a]);for(;a<r.parts.length;a++)i.parts.push(y(r.parts[a],t))}else{var s=[];for(a=0;a<r.parts.length;a++)s.push(y(r.parts[a],t));o[r.id]={id:r.id,refs:1,parts:s}}}}function h(e,t){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],a=t.base?o[0]+t.base:o[0],s={css:o[1],media:o[2],sourceMap:o[3]};r[a]?r[a].parts.push(s):n.push(r[a]={id:a,parts:[s]})}return n}function _(e,t){var n=l(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=d[d.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),d.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var i=l(e.insertInto+" "+e.insertAt.before);n.insertBefore(t,i)}}function v(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=d.indexOf(e);t>=0&&d.splice(t,1)}function m(e){var t=document.createElement("style");return void 0===e.attrs.type&&(e.attrs.type="text/css"),g(t,e.attrs),_(e,t),t}function g(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function y(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var a=c++;n=u||(u=m(t)),r=E.bind(null,n,a,!1),i=E.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",g(t,e.attrs),_(e,t),t}(t),r=C.bind(null,n,t),i=function(){v(n),n.href&&URL.revokeObjectURL(n.href)}):(n=m(t),r=O.bind(null,n),i=function(){v(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=h(e,t);return f(n,t),function(e){for(var r=[],i=0;i<n.length;i++){var a=n[i];(s=o[a.id]).refs--,r.push(s)}e&&f(h(e,t),t);for(i=0;i<r.length;i++){var s;if(0===(s=r[i]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete o[s.id]}}}};var b,k=(b=[],function(e,t){return b[e]=t,b.filter(Boolean).join("\n")});function E(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=k(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function O(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function C(e,t,n){var r=n.css,i=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||o)&&(r=p(r)),i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}},ZC33:function(e,t,n){"use strict";n.r(t);var r=n("mXGw"),i=n.n(r);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.default=({styles:e={},...t})=>i.a.createElement("svg",o({version:"1.1",id:"S_Search_24_N",xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",viewBox:"0 0 24 24",xmlSpace:"preserve"},t),i.a.createElement("defs",null),i.a.createElement("g",{id:"ico-search"},i.a.createElement("circle",{cx:"12",cy:"12",r:"11",style:{transformOrigin:"center center"},stroke:"#c5c5c5",strokeWidth:"1.8",fillRule:"evenodd",fill:"transparent",strokeLinecap:"round"}),i.a.createElement("g",{style:{animation:"spinner 1s linear infinite",WebkitAnimation:"spinner 1s linear infinite",transformOrigin:"center center"}},i.a.createElement("circle",{cx:"12",cy:"12",r:"11",style:{WebkitStrokeDashoffset:"70",WebkitStrokeDasharray:"80",animation:"dashed 1s linear infinite",WebkitAnimation:"dashed 1s linear infinite",transformOrigin:"center center"},stroke:"#0064dc",strokeWidth:"2",strokeDashoffset:"70",strokeDasharray:"80",transform:"rotate(-85)",fillRule:"evenodd",fill:"transparent",strokeLinecap:"round"}))))},e0uS:function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=(a=r,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),o=r.sources.map((function(e){return"/*# sourceURL="+r.sourceRoot+e+" */"}));return[n].concat(o).concat([i]).join("\n")}var a;return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+n+"}":n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},"l/uQ":function(e,t,n){"use strict";n.r(t);var r=n("mXGw"),i=n.n(r);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.default=({styles:e={},...t})=>i.a.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg","data-name":"S_Refresh_24_N@2x",height:"48",id:"S_Refresh_24_N_2x",width:"48"},t),i.a.createElement("defs",null),i.a.createElement("path",{className:e["cls-1"]||"cls-1",d:"M28.052 19.146l5.548-5.311a13.98 13.98 0 00-22.966 5.989l-5.728-1.79a19.969 19.969 0 0133.025-8.345L43.146 4.7a.5.5 0 01.854.35V20H28.405a.5.5 0 01-.353-.854zM19.651 28a.5.5 0 01.354.853l-5.626 5.294a13.982 13.982 0 0022.987-5.971l5.728 1.79a19.974 19.974 0 01-33.084 8.292L4.854 43.11A.5.5 0 014 42.757V28z"}))},lDLK:function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var i,o=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o)?e:(i=0===o.indexOf("//")?o:0===o.indexOf("/")?n+o:r+o.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")}))}},nk1J:function(e,t,n){"use strict";n.r(t);var r=n("mXGw"),i=n.n(r);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}t.default=({styles:e={},...t})=>i.a.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg","data-name":"S_Alert_18_N@2x",height:"36",width:"36"},t),i.a.createElement("path",{d:"M17.127 2.579L.4 32.512A1 1 0 001.272 34h33.456a1 1 0 00.873-1.488L18.873 2.579a1 1 0 00-1.746 0zM20 29.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5v-3a.5.5 0 01.5-.5h3a.5.5 0 01.5.5zm0-6a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5v-12a.5.5 0 01.5-.5h3a.5.5 0 01.5.5z",fill:"#c4a600",fillRule:"evenodd"}))}}]);