Mini Kabibi Habibi

Current Path : C:/Program Files/Adobe/Adobe Creative Cloud/Components/Lightroom/lrSdk/sdk/
Upload File :
Current File : C:/Program Files/Adobe/Adobe Creative Cloud/Components/Lightroom/lrSdk/sdk/LrOrganizerRemote.js

/*! For license information please see LrOrganizerRemote.js.LICENSE.txt */
(()=>{var e,t,r,n,i={542915:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(271475);const i=r.n(n)()},271475:(e,t,r)=>{var n;r(587621),r(531072),r(340781),r(119861),r(978996),r(538941),r(328614),r(973774),r(558901),r(721141),t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),this.useColors){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(n++,"%c"===e&&(i=n))})),t.splice(i,0,r)}},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!(!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(n=!1,function(){n||(n=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||function(){},e.exports=r(71797)(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},71797:(e,t,r)=>{var n=r(733951).default;r(573467),r(508460),r(808410),r(817148),r(587621),r(558901),r(973774),r(378702),r(276839),r(119861),r(978996),r(538941),r(328614),r(893248),r(127387),r(35812),r(819785),r(308967),r(923304),r(936963),e.exports=function(e){function t(e){var r,n,a,o=null;function s(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];if(s.enabled){var a=s,o=Number(new Date),l=o-(r||o);a.diff=l,a.prev=r,a.curr=o,r=o,n[0]=t.coerce(n[0]),"string"!=typeof n[0]&&n.unshift("%O");var c=0;n[0]=n[0].replace(/%([a-zA-Z%])/g,(function(e,r){if("%%"===e)return"%";c++;var i=t.formatters[r];if("function"==typeof i){var o=n[c];e=i.call(a,o),n.splice(c,1),c--}return e})),t.formatArgs.call(a,n),(a.log||t.log).apply(a,n)}}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=i,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:function(){return null!==o?o:(n!==t.namespaces&&(n=t.namespaces,a=t.enabled(e)),a)},set:function(e){o=e}}),"function"==typeof t.init&&t.init(s),s}function i(e,r){var n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){var e=[].concat(n(t.names.map(a)),n(t.skips.map(a).map((function(e){return"-"+e})))).join(",");return t.enable(""),e},t.enable=function(e){var r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(r=0;r<i;r++)n[r]&&("-"===(e=n[r].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;var r,n;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(642062),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((function(r){t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){for(var r=0,n=0;n<e.length;n++)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},196097:function(e,t,r){"use strict";r(361592),r(367469),r(378702),r(936963),r(923304);var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},a.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var o=r(347396),s=r(83369),l=r(328406),c=r(310795),u=r(920670),p=function(e){function t(t){void 0===t&&(t=null);var r=e.call(this,t)||this;r.onAccessTokenHasExpired=null,r.onAccessToken=null,r.onReauthAccessToken=null,r.onError=null,r.handlers={triggerOnAccessToken:function(e){r.onAccessToken&&r.onAccessToken(e)},triggerOnReauthAccessToken:function(e){r.onReauthAccessToken&&r.onReauthAccessToken(e)},triggerOnAccessTokenHasExpired:function(){r.onAccessTokenHasExpired&&r.onAccessTokenHasExpired()},triggerOnReady:function(e){void 0===e&&(e=null),r.onReady&&r.onReady(e)},triggerOnError:function(e,t){r.onError&&r.onError(e,t)}};var n=t||window[o.AdobeIdKey];if(!n)throw new Error("Please provide adobeId information");var i=n.standalone,a=n.autoValidateToken,c=n.modalSettings,u=void 0===c?{}:c,p=n.modalMode,d=void 0!==p&&p,m=n.onAccessToken,h=n.onReauthAccessToken,v=n.onAccessTokenHasExpired,g=n.onReady,f=n.onError,b=n.overrideErrorHandler;return i&&i.token&&(r.standalone=new l.StandaloneToken(i)),r.modalSettings=new s.PopupSettings(u),r.modalMode=d,r.autoValidateToken=!!a,r.onAccessToken=m||null,r.onReauthAccessToken=h||null,r.onAccessTokenHasExpired=v||null,r.onReady=g||null,r.onError=f||null,r.overrideErrorHandler=b,r}return i(t,e),t.prototype.createSocialProviderRedirectRequest=function(e,t,r,n,i){void 0===i&&(i=u.IGrantTypes.token);var o={idp_flow:"social.deep_link.web",provider_id:e},s=a(a({},t),o);return this.createRedirectRequest(s,r,n,i)},t.prototype.createReAuthenticateRedirectRequest=function(e,t,r,n,i){void 0===n&&(n=c.IReauth.check),void 0===i&&(i=u.IGrantTypes.token);var o={reauth:n},s=a(a({},e),o);return this.createRedirectRequest(s,t,r,i)},t.prototype.createSignUpRedirectRequest=function(e,t,r,n){void 0===n&&(n=u.IGrantTypes.token);var i=a(a({},e),{idp_flow:"create_account"});return this.createRedirectRequest(i,t,r,n)},t}(r(279706).AdobeIdThinData);t.AdobeIdData=p},279706:function(e,t,r){"use strict";r(367469),r(378702),r(936963),r(923304),r(587621),r(558901),r(573467),r(693508),r(808410);var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=r(347396),o=r(862251),s=i(r(908049)),l=r(548618),c=i(r(877679)),u=r(310795),p=r(920670),d=r(291173),m=function(){function e(e){void 0===e&&(e=null),this.analyticsParameters=new l.AnalyticsParameters,this.api_parameters={},this.locale="",this.scope="AdobeID",this.client_id="",this.environment=o.IEnvironment.PROD,this.useLocalStorage=!1,this.onReady=null;var t=e||window[a.AdobeIdKey];if(!t)throw new Error("Please provide adobeId information");var r=t.api_parameters,n=t.client_id,i=t.locale,u=t.scope,p=t.ijt,d=t.environment,m=void 0===d?o.IEnvironment.PROD:d,h=t.redirect_uri,v=t.useLocalStorage,g=t.logsEnabled,f=t.onReady,b=t.rideRedirectUri;this.environment=m,this.api_parameters=r||{},this.client_id=n,this.locale=i||a.DEFAULT_LANGUAGE,this.scope=u?u.replace(/\s/gi,""):"",this.redirect_uri=h,this.ijt=p,this.useLocalStorage=v,g?c.default.enableLogging():c.default.disableLogging(),this.onReady=f||null,this.rideRedirectUri=b,this.fillAnalityticsParameters(t),s.default.loadEnvironment(m)}return e.prototype.fillAnalityticsParameters=function(e){var t=e.analytics,r=void 0===t?{}:t,n=r.appCode,i=void 0===n?"":n,a=r.appVersion,o=void 0===a?"":a,s=this.analyticsParameters;s.appCode=i,s.appVersion=o},e.prototype.createSocialProviderRedirectRequest=function(e,t,r,i,a){var o={idp_flow:"social.deep_link.web",provider_id:e},s=n(n({},t),o);return this.createRedirectRequest(s,r,i,a)},e.prototype.createReAuthenticateRedirectRequest=function(e,t,r,i,a){void 0===i&&(i=u.IReauth.check),void 0===a&&(a=p.IGrantTypes.token);var o={reauth:i},s=n(n({},e),o);return this.createRedirectRequest(s,t,r,a)},e.prototype.createSignUpRedirectRequest=function(e,t,r){var i=n(n({},e),{idp_flow:"create_account"});return this.createRedirectRequest(i,t,r,p.IGrantTypes.token)},e.prototype.createRedirectRequest=function(e,t,r,n){var i=this,a=this,o=a.api_parameters,s=void 0===o?{}:o,l=a.client_id,c=a.redirect_uri,u=void 0===c?"":c,m=a.scope,h=a.locale,v=this.createRedirectState(t,r),g={adobeIdRedirectUri:u,apiParameters:s,clientId:l,externalParameters:e,scope:m,locale:h,response_type:n,state:v};return n===p.IGrantTypes.token?Promise.resolve(g):(new d.CodeChallenge).createCodeChallenge(r).then((function(n){e.code_challenge=n.challenge,e.code_challenge_method="S256";var a=i.createRedirectState(t,r);return g.state=a,Promise.resolve(g)}))},e.prototype.createRedirectState=function(e,t){var r=this.analyticsParameters,n=r.appCode,i=void 0===n?"":n,a=r.appVersion,o=void 0===a?"":a,l=void 0===e?{}:{context:e};return i&&(l.ac=i),o&&(l.av=o),l.jslibver=s.default.jslibver,l.nonce=t,Object.keys(l).length?l:null},e.prototype.triggerOnReady=function(){this.onReady&&this.onReady(void 0)},e.prototype.computeRideRedirectUri=function(e){return this.rideRedirectUri?"string"==typeof this.rideRedirectUri?"DEFAULT"===this.rideRedirectUri?null:this.rideRedirectUri:this.rideRedirectUri(e):window.location.href},e}();t.AdobeIdThinData=m},548618:(e,t,r)=>{"use strict";r(378702),Object.defineProperty(t,"__esModule",{value:!0}),t.AnalyticsParameters=function(){this.appCode="",this.appVersion=""}},862251:(e,t,r)=>{"use strict";var n;r(378702),Object.defineProperty(t,"__esModule",{value:!0}),(n=t.IEnvironment||(t.IEnvironment={})).STAGE="stg1",n.PROD="prod"},692792:(e,t,r)=>{"use strict";var n;r(378702),Object.defineProperty(t,"__esModule",{value:!0}),(n=t.IErrorType||(t.IErrorType={})).INITIALIZE_ERROR="initialize_error",n.HTTP="http",n.FRAGMENT="fragment",n.CSRF="csrf",n.NOT_AUTHORIZE="not_authorize",n.PROFILE_EXCEPTION="profile_exception",n.TOKEN_EXPIRED="token_expired",n.SOCIAL_PROVIDERS="SOCIAL_PROVIDERS",n.RIDE_EXCEPTION="ride_exception"},757043:function(e,t,r){"use strict";r(367469),r(573467),r(693508),r(322511),r(542543),r(135668),r(816221),r(290671),r(17938),r(936963),r(923304),r(378702),r(111519),r(587621),r(558901);var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},i=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,a){function o(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(o,s)}l((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;o;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,n=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],n=0}finally{r=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=r(365122),l=o(r(877679)),c=r(446764),u=r(557902),p=r(215639),d=r(196097),m=r(337938),h=r(310795),v=r(857859),g=r(947345),f=r(642896),b=o(r(653170)),y=o(r(756607)),_=r(692792),w=r(505909),k=r(526217),Z=r(770797),x=o(r(268368)),S=r(347396),$=o(r(908049)),A=r(920670),C=r(419715),T=r(291173),P=function(){function e(e){var t=this;void 0===e&&(e=null),this.initialized=!1,this.onPopupMessage=function(e){return b.default.replaceUrl(e),t.initialize()},this.signIn=function(e,r,n){void 0===e&&(e={}),void 0===n&&(n=A.IGrantTypes.token),t.checkInitialized();var i=t,a=i.adobeIdData,o=i.csrfService.initialize();return a.createRedirectRequest(e,r,o,n).then((function(e){t.signInservice.signIn(e)}))},this.authorizeToken=function(e,r,n,i){void 0===e&&(e=""),void 0===r&&(r={}),void 0===i&&(i=A.IGrantTypes.token);var a=t,o=a.adobeIdData,s=a.csrfService.initialize();return o.createRedirectRequest(r,n,s,i).then((function(t){(new c.SignInService).authorizeToken(e,t)}))},this.reAuthenticate=function(e,r,n,i){void 0===e&&(e={}),void 0===r&&(r=h.IReauth.check),void 0===i&&(i=A.IGrantTypes.token),t.checkInitialized();var a=t,o=a.adobeIdData,s=a.csrfService.initialize();return o.createReAuthenticateRedirectRequest(e,n,s,r,i).then((function(e){t.signInservice.signIn(e)}))},this.signInWithSocialProvider=function(e,r,n,i){if(void 0===r&&(r={}),void 0===i&&(i=A.IGrantTypes.token),t.checkInitialized(),!e)throw new Error("please provide the provider name");var a=t,o=a.adobeIdData,s=a.csrfService.initialize();o.createSocialProviderRedirectRequest(e,r,n,s,i).then((function(e){t.signInservice.signIn(e)}))},this.signOut=function(e){void 0===e&&(e={}),t.checkInitialized(),t.tokenService.purge(),t.profileService.removeProfile();var r=t.adobeIdData,n=r.api_parameters,i=void 0===n?{}:n,a=r.client_id,o={adobeIdRedirectUri:r.redirect_uri,apiParameters:i,clientId:a,externalParameters:e};(new p.SignOutService).signOut(o)},this.refreshToken=function(e,r){if(void 0===e&&(e={}),void 0===r&&(r=!1),!r&&e.userInactiveSince){var n=e.userInactiveSince,i=Date.now()-1e3*n;i>x.default.lastUserInteraction&&(x.default.lastUserInteraction=i)}return t.tokenService.refreshToken(e).then((function(e){return t.onTokenProfileReceived(e)})).catch((function(e){return l.default.error("refresh token error",e),e instanceof Z.HttpErrorResponse?Promise.reject(e):t.verifyRideErrorExceptionStrict(e)||(t.profileService.removeProfile(),t.onTokenExpired(),Promise.reject(e))}))},this.switchProfile=function(e,r){return void 0===r&&(r={}),e?t.tokenService.switchProfile(e,r).then((function(e){return t.onTokenProfileReceived(e)})).catch((function(e){return t.verifyRideErrorException(e)})):Promise.reject(new Error("Please provide the user id for switchProfile"))},this.triggerOnImsInstance=function(e){var r=document.createEvent("CustomEvent"),n={clientId:t.adobeIdData.client_id,instance:e};r.initCustomEvent(S.ON_IMSLIB_INSTANCE,!1,!1,n),window.dispatchEvent(r)},this.processInitializeException=function(e){void 0===e&&(e={});var r=t.adobeIdData.handlers;return l.default.warn("initialize",e),e instanceof C.ModalSignInEvent?t.notifyParentAboutModalSignIn(e):(t.restoreHash(),e instanceof w.TokenExpiredException&&r.triggerOnAccessTokenHasExpired(),Promise.reject(e))},this.verifyRideErrorException=function(e){return i(t,void 0,void 0,(function(){return a(this,(function(t){if(e instanceof k.RideException){if(this.adobeIdData.overrideErrorHandler&&!this.adobeIdData.overrideErrorHandler(e))return[2,Promise.reject(e)];e.isPbaExpiredIdleSessionWorkaround?this.signIn():e.jump&&b.default.replaceUrl(e.jump)}return[2,Promise.reject(e)]}))}))},this.verifyRideErrorExceptionStrict=function(e){return e instanceof k.RideException?t.verifyRideErrorException(e):null},this.verifyCsrfException=function(e){var r=e.type;return r&&r===_.IErrorType.CSRF&&t.signOut(),Promise.reject(e)},this.processTokenResponse=function(e){var r=t.adobeIdData.handlers,n=e.tokenFields,i=e.profile,a=n.tokenValue,o=n.state,s=n.expire,c=n.sid,u=n.user_id,p=n.other,d=void 0===p?{}:p,m=n.impersonatorId,h=n.isImpersonatedSession;l.default.info("token",a),d.from_ims&&b.default.setHash(d.old_hash||""),t.profileService.removeProfileIfOtherUser(u);var v={token:a,expire:s,sid:c,impersonatorId:m,isImpersonatedSession:h};return n.isReauth()?r.triggerOnReauthAccessToken(v):t.tokenReceived(v),i&&t.profileService.saveProfileToStorage(i),Promise.resolve(o)},this.exchangeIjt=function(e){var r=t.adobeIdData.ijt;return e||r?t.tokenService.exchangeIjt(e||r).then((function(e){return t.profileService.removeProfile(),Promise.resolve(e)})):Promise.reject(new Error("please set the adobeid.ijt value"))},this.adobeIdData=new d.AdobeIdData(e);var r=this.adobeIdData,o=r.api_parameters,v=void 0===o?{}:o,y=r.client_id,$=r.scope,T=r.useLocalStorage,P=r.autoValidateToken,z=r.modalMode,E=r.modalSettings;this.imsApis=new m.ImsApis(v),this.csrfService=new s.CsrfService(y),this.serviceRequest={clientId:y,scope:$,imsApis:this.imsApis},this.tokenService=new f.TokenService(n(n({},this.serviceRequest),{useLocalStorage:T,autoValidateToken:P}),this.csrfService),this.profileService=new g.ProfileService(this.serviceRequest),this.signInservice=z?new u.SignInModalService(this.onPopupMessage,E):new c.SignInService}return Object.defineProperty(e.prototype,"version",{get:function(){return $.default.jslibver},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"adobeid",{get:function(){return n({},this.adobeIdData)},enumerable:!0,configurable:!0}),e.prototype.enableLogging=function(){l.default.enableLogging()},e.prototype.disableLogging=function(){l.default.disableLogging()},e.prototype.checkInitialized=function(){this.initialized},e.prototype.signUp=function(e,t){var r=this;void 0===e&&(e={}),this.checkInitialized();var n=this.adobeIdData,i=this.csrfService;if(!n)throw new Error("no adobeId on reAuthenticate");var a=i.initialize();return n.createSignUpRedirectRequest(e,t,a).then((function(e){r.signInservice.signIn(e)}))},e.prototype.isSignedInUser=function(){return!(!this.getAccessToken()&&!this.getReauthAccessToken())},e.prototype.getProfile=function(){var e=this,t=this.profileService.getProfileFromStorage();if(t)return Promise.resolve(t);var r=this.getAccessToken()||this.getReauthAccessToken();return r?this.profileService.getProfile(r.token).then((function(e){return Promise.resolve(e)})).catch((function(t){return l.default.error("get profile exception ",t),t instanceof Z.HttpErrorResponse?e.refreshToken().then((function(e){return Promise.resolve(e.profile)})):Promise.reject(new v.ProfileException(t.message||t))})):Promise.reject(new v.ProfileException("please login before getting the profile"))},e.prototype.avatarUrl=function(e){return this.imsApis.avatarUrl(e)},e.prototype.getReleaseFlags=function(e){return void 0===e&&(e=!1),e?this.tokenService.getDecodedReleaseFlags():this.tokenService.getReleaseFlags()},e.prototype.getAccessToken=function(){return this.getTokenFromStorage(!1)},e.prototype.getReauthAccessToken=function(){return this.getTokenFromStorage(!0)},e.prototype.getTokenFromStorage=function(e){var t=this.tokenService.getTokenFieldsFromStorage(e);return t?{token:t.tokenValue,expire:t.expire,sid:t.sid,impersonatorId:t.impersonatorId,isImpersonatedSession:t.isImpersonatedSession}:null},e.prototype.listSocialProviders=function(){var e=this;return new Promise((function(t,r){var n=e.adobeIdData.client_id;e.imsApis.listSocialProviders({client_id:n}).then((function(e){t(e)})).catch((function(e){r(e)}))}))},e.prototype.tokenReceived=function(e){this.adobeIdData.handlers.triggerOnAccessToken(e),x.default.startAutoRefreshFlow({expire:e.expire,refreshTokenMethod:this.refreshToken})},e.prototype.onTokenProfileReceived=function(e){var t=e.tokenInfo,r=e.profile;return l.default.info("token",t),this.tokenReceived(t),this.profileService.saveProfileToStorage(r),Promise.resolve(e)},e.prototype.validateToken=function(){var e=this;return this.tokenService.validateToken().then((function(){return Promise.resolve(!0)})).catch((function(t){return l.default.warn("validate token exception",t),t instanceof Z.HttpErrorResponse||e.profileService.removeProfile(),Promise.reject(!1)}))},e.prototype.onTokenExpired=function(){var e=this.adobeIdData.handlers;this.tokenService.purge(),e.triggerOnAccessTokenHasExpired()},e.prototype.setStandAloneToken=function(e){return this.tokenService.setStandAloneToken(e)},e.prototype.initialize=function(){var e=this,t=this.adobeIdData,r=t.handlers,n=t.standalone,i=t.ijt,a=null;return n&&this.setStandAloneToken(n),(i?this.exchangeIjt:this.tokenService.getTokenAndProfile)().then(this.processTokenResponse,(function(t){return e.processInitializeException(t).catch((function(t){return e.verifyRideErrorException(t)})).catch((function(t){return e.verifyCsrfException(t).catch((function(e){return l.default.info("initialize exception ended",e)}))}))})).then((function(e){a=e})).finally((function(){return l.default.info("onReady initialization"),window.addEventListener(S.ASK_FOR_IMSLIB_INSTANCE_DOM_EVENT_NAME,(function(){e.triggerOnImsInstance(e)}),!1),r.triggerOnReady(a?a.context:null),e.triggerOnImsInstance(e),e.initialized=!0,Promise.resolve(a)}))},e.prototype.notifyParentAboutModalSignIn=function(e){var t=window.location.href.replace("imslibmodal","wasmodal");return window.opener?(window.opener.postMessage(t,window.location.origin),window.close()):window[""+e.wndRedirectPropName]=t,Promise.reject("popup")},e.prototype.restoreHash=function(){var e=y.default.fragmentToObject();e&&e.from_ims&&b.default.setHash(e.old_hash||"")},e.prototype.getTransitoryAuthorizationCode=function(e,t){return void 0===t&&(t={}),(e=e||{}).response_type=e.response_type||"code",e.target_client_id=e.target_client_id||this.adobeIdData.client_id,e.target_scope=e.target_scope||this.adobeIdData.scope,this.imsApis.getTransitoryAuthorizationCode(e,t,this.adobeIdData.client_id)},e.prototype.jumpToken=function(e,t){return void 0===t&&(t={}),e.target_client_id=e.target_client_id||this.adobeIdData.client_id,e.target_scope=e.target_scope||this.adobeIdData.scope,this.imsApis.jumpToken(e,t,this.adobeIdData.client_id)},e.prototype.getVerifierByKey=function(e){return(new T.CodeChallenge).getVerifierByKey(e)},e}();t.AdobeIMS=P},718479:(e,t,r)=>{"use strict";r(378702),Object.defineProperty(t,"__esModule",{value:!0}),t.TokenProfileResponse=function(e,t){this.profile=null,this.tokenFields=e,this.profile=t}},365122:function(e,t,r){"use strict";r(378702),r(573467),r(508460),r(808410),r(340781),r(721141),r(816221),r(261148),r(402308),r(595249),r(185466),r(370843),r(961626),r(897995),r(518926),r(725676),r(81738),r(479959),r(879587),r(353478),r(643300),r(363242),r(911895),r(301207),r(792647),r(879104),r(497814),r(78019),r(474646),r(28227),r(420879),r(680851),r(725637),r(686862),r(169513),r(993224),r(604542),r(292381),r(127387),r(923304),r(328614);var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(789538)),a=r(143339);t.ONE_HOUR=1296e4;var o=function(){function e(e){this.storageInstance=null,this.nonceStorageKey="",this.nonceStorageKey="nonce"+e}return Object.defineProperty(e.prototype,"storage",{get:function(){return this.storageInstance||(this.storageInstance=i.default.getAvailableStorage()),this.storageInstance},enumerable:!0,configurable:!0}),e.prototype.initialize=function(){if(!this.isStorageAvailable())return"";var t=e.generateNonce(),r=this.getNonceFromStorage()||{};return r=this.clearOlderNonceKeys(r),this.addNonceToObject(r,t),this.saveNonceValuesToStorage(r),t.value},e.prototype.addNonceToObject=function(e,t){e[t.value]=t.expiry},e.prototype.clearOlderNonceKeys=function(e,r){void 0===r&&(r=t.ONE_HOUR);var n=Date.now()-r;return Object.keys(e).forEach((function(t){parseInt(e[t])<n&&delete e[t]})),e},e.prototype.verify=function(e){if(!this.isStorageAvailable())return!0;var t=this.getNonceFromStorage();if(!t)return!1;var r=this.clearOlderNonceKeys(t),n=null!==(r[e]||null);return n&&this.clearNonceValueFromStorage(r,e),n},e.prototype.clearNonceValueFromStorage=function(e,t){delete e[t],this.saveNonceValuesToStorage(e)},e.prototype.getNonceFromStorage=function(){var e=this.storage.getItem(this.nonceStorageKey);return e?JSON.parse(e):null},e.prototype.saveNonceValuesToStorage=function(e){this.storage.setItem(this.nonceStorageKey,JSON.stringify(e))},e.prototype.isStorageAvailable=function(){return!(this.storage instanceof a.MemoryStorage)},e.cryptoRndomString=function(){if(!window.crypto)return"";var e=new Uint32Array(3);return window.crypto.getRandomValues(e),e.join("").substr(0,16)},e.randomString=function(){var t=e.cryptoRndomString();if(t)return t;for(var r="",n=0;n<16;n++)r+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return r},e.generateNonce=function(){return{value:e.randomString(),expiry:(new Date).getTime().toString()}},e}();t.CsrfService=o},908049:(e,t,r)=>{"use strict";r(378702),Object.defineProperty(t,"__esModule",{value:!0});var n=r(862251),i=function(){function e(){this.baseUrlAdobe="",this.baseUrlServices="",this.jslibver="v2-v0.31.0-2-g1e8a8a8"}return e.prototype.loadEnvironment=function(e){if(e===n.IEnvironment.STAGE)return this.baseUrlAdobe="https://ims-na1-stg1.adobelogin.com",void(this.baseUrlServices="https://adobeid-na1-stg1.services.adobe.com");this.baseUrlAdobe="https://ims-na1.adobelogin.com",this.baseUrlServices="https://adobeid-na1.services.adobe.com"},e}();t.default=new i},920670:(e,t,r)=>{"use strict";var n;r(378702),Object.defineProperty(t,"__esModule",{value:!0}),(n=t.IGrantTypes||(t.IGrantTypes={})).token="token",n.code="code"},310795:(e,t,r)=>{"use strict";var n;r(378702),Object.defineProperty(t,"__esModule",{value:!0}),(n=t.IReauth||(t.IReauth={})).force="force",n.check="check"},207074:function(e,t,r){"use strict";r(378702),r(888784);var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(571036)),a=r(456483),o=function(){function e(){}return e.getInitialRedirectUri=function(e,t){var r=e.redirect_uri||t||window.location.href,n="function"==typeof r?r():r,i=n.indexOf("from_ims");return-1===i?n:("#"===n[i-1]&&i--,n.substr(0,i))},e.createDefaultRedirectUrl=function(e,t,r,n){var i=this.getInitialRedirectUri(r,e),a=this.createOldHash(i);return a.indexOf("?")>0?a+"&client_id="+t+"&api="+n:a+"?client_id="+t+"&api="+n},e.createRedirectUrl=function(e,t,r,n,i){void 0===i&&(i="");var a=this.createDefaultRedirectUrl(e,t,r,n);(i=i||r.scope||"")&&(a=a+"&scope="+i);var o=r.reauth||"";return o&&(a=a+"&reauth="+o),a},e.createOldHash=function(e){var t=e.indexOf("#");return t<0?e+"#old_hash=&from_ims=true":e.substring(0,t)+"#old_hash="+e.substring(t+1)+"&from_ims=true"},e.mergeApiParamsWithExternalParams=function(e,t,r){return a.merge(i.default.getCustomApiParameters(e,r),t)},e}();t.RedirectHelper=o},291173:function(e,t,r){"use strict";r(322511),r(542543),r(573467),r(135668),r(816221),r(290671),r(17938),r(35812),r(378702),r(587621),r(558901),r(923304),r(972839),r(488822),r(635397),r(567791),r(127387),r(819785),r(261148),r(784425),r(595249),r(185466),r(370843),r(961626),r(897995),r(518926),r(725676),r(81738),r(479959),r(879587),r(353478),r(643300),r(363242),r(911895),r(301207),r(792647),r(879104),r(497814),r(78019),r(474646),r(28227),r(420879),r(680851),r(725637),r(686862),r(169513),r(993224),r(604542),r(292381),r(693508),r(328614),r(721141),r(508460),r(808410),r(340781);var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spread||function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(n(arguments[t]));return e},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=a(r(789538));t.ONE_HOUR=1296e4;var s=function(){function e(){this.storage=o.default.getAvailableStorage()}return e.prototype.b64Uri=function(e){return btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},e.prototype.createCodeChallenge=function(e,t){var r=this;void 0===t&&(t=43);for(var n=window.msCrypto||window.crypto,a=this.b64Uri(Array.prototype.map.call(n.getRandomValues(new Uint8Array(t)),(function(e){return String.fromCharCode(e)})).join("")).substring(0,t),o=new Uint8Array(a.length),s=0;s<a.length;s++)o[s]=a.charCodeAt(s);var l=n.subtle.digest("SHA-256",o);return new Promise((function(t,n){window.CryptoOperation?(l.onerror=function(e){return n(e)},l.oncomplete=function(n){var o=new Uint8Array(n.target.result),s=r.b64Uri(String.fromCharCode.apply(String,i(o)));return t(r.saveVerifierAndReturn(e,{verifier:a,challenge:s}))}):l.then((function(n){var o=new Uint8Array(n),s=r.b64Uri(String.fromCharCode.apply(String,i(o)));return t(r.saveVerifierAndReturn(e,{verifier:a,challenge:s}))}))}))},e.prototype.saveVerifierAndReturn=function(e,t){var r=this.getVerifierValuesFromStorage(),n={verifier:t.verifier||"",expiry:(new Date).getTime().toString()};return r[e]=n,this.storage.setItem("verifiers",JSON.stringify(r)),Promise.resolve(t)},e.prototype.getVerifierValuesFromStorage=function(){var e=this.storage.getItem("verifiers"),t=e?JSON.parse(e):{};return this.clearOlderVerifiers(t)},e.prototype.clearOlderVerifiers=function(e,r){void 0===r&&(r=t.ONE_HOUR);var n=Date.now()-r;return Object.keys(e).forEach((function(t){parseInt(e[t])<n&&delete e[t]})),e},e.prototype.getVerifierByKey=function(e){var t=this.getVerifierValuesFromStorage(),r=t?t[e]:{};return delete t[e],this.storage.setItem("verifiers",JSON.stringify(t)),r?r.verifier:""},e}();t.CodeChallenge=s},276827:function(e,t,r){"use strict";r(367469),r(378702);var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=i(r(653170)),o=i(r(908049)),s=r(207074),l=r(456483);t.BaseSignInService=function(){var e=this;this.composeRedirectUrl=function(e){var t="authorize",r=e.apiParameters,i=e.externalParameters,a=void 0===i?{}:i,c=e.adobeIdRedirectUri,u=void 0===c?"":c,p=e.clientId,d=e.locale,m=e.state,h=void 0===m?{}:m,v=e.scope,g=void 0===v?a.scope||r.scope||"":v,f=s.RedirectHelper.mergeApiParamsWithExternalParams(r,a,t);h&&(f.state=l.merge(f.state||{},h));var b=s.RedirectHelper.createRedirectUrl(u,p,f,t,g),y=a.locale||d||"",_=e.response_type,w=void 0===_?f.response_type||"":_;return n(n({},f),{client_id:p,scope:g,locale:y,response_type:w,jslVersion:o.default.jslibver,redirect_uri:b})},this.createRedirectUrl=function(t){var r=e.composeRedirectUrl(t),n=a.default.uriEncodeData(r);return o.default.baseUrlAdobe+"/ims/authorize/v1?"+n}}},911926:function(e,t,r){"use strict";r(322511),r(542543),r(573467),r(135668),r(816221),r(290671),r(17938),r(35812),r(378702),r(255187),r(203454),r(587621),r(308967);var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spread||function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(n(arguments[t]));return e};Object.defineProperty(t,"__esModule",{value:!0});var a=/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/,o=["https://auth.services.adobe.com","https://auth-stg1.services.adobe.com","https://localhost.corp.adobe.com:9000"];t.default=new function(){var e=this;this.windowObjectReference=null,this.previousUrl="",this.openSignInWindow=function(t,r,n,i){e.onProcessLocation=i,e.allowOrigin=n.allowOrigin,e.timerId&&clearInterval(e.timerId),window.removeEventListener("message",e.receiveMessage),window.addEventListener("message",e.receiveMessage);var a="toolbar=no, menubar=no, width="+n.width+", height="+n.height+", top="+n.top+", left="+n.left;!e.windowObjectReference||e.windowObjectReference&&e.windowObjectReference.closed?e.windowObjectReference=window.open(t,n.title,a):e.previousUrl!==t?(e.windowObjectReference=window.open(t,n.title,a),e.windowObjectReference&&e.windowObjectReference.focus()):e.windowObjectReference.focus();var o=e.windowObjectReference||{};o.opener||(e.timerId=setInterval((function(){o[r]&&(clearInterval(e.timerId),e.onProcessLocation&&e.onProcessLocation(o[r]),delete o[r],e.windowObjectReference&&e.windowObjectReference.close())}),500)),e.previousUrl=t},this.receiveMessage=function(t){if(i(o,[e.allowOrigin]).includes(t.origin)){try{if(!a.test(t.data))return}catch(e){return}e.onProcessLocation&&e.onProcessLocation(t.data)}}}},83369:(e,t,r)=>{"use strict";r(378702),Object.defineProperty(t,"__esModule",{value:!0}),t.PopupSettings=function(e){void 0===e&&(e={}),this.title="Adobe ID",this.width=600,this.top=100,this.left=100;var t=e.title,r=void 0===t?"Adobe ID":t,n=e.width,i=void 0===n?600:n,a=e.height,o=void 0===a?700:a,s=e.top,l=void 0===s?100:s,c=e.left,u=void 0===c?100:c,p=e.allowedOrigin;this.title=r,this.width=i,this.height=o,this.top=l,this.left=u,this.allowOrigin=p}},557902:function(e,t,r){"use strict";r(361592),r(367469),r(378702);var n,i=this&&this.__extends||(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},a.apply(this,arguments)},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=o(r(911926)),l=function(e){function t(t,r){var n=e.call(this)||this;return n.signIn=function(e){e.state=a(a({},e.state),{imslibmodal:!0});var t=e.state.nonce,r=n.createRedirectUrl(e);s.default.openSignInWindow(r,t,n.popupSettings,n.onPopupMessage)},n.onPopupMessage=t,n.popupSettings=r,n}return i(t,e),t}(r(276827).BaseSignInService);t.SignInModalService=l},446764:function(e,t,r){"use strict";var n=r(37225).default;r(361592),r(378702),r(808410),r(721141);var i,a=this&&this.__extends||(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},i(e,t)},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=o(r(653170)),l=o(r(908049)),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.signIn=function(e){var r=t.createRedirectUrl(e);s.default.setHrefUrl(r)},t.authorizeToken=function(e,r){var n=t.composeRedirectUrl(r);e&&(n.user_assertion=e,n.user_assertion_type="urn:ietf:params:oauth:client-assertion-type:jwt-bearer"),t.createAuthorizeForm(n).submit()},t}return a(t,e),t.prototype.createAuthorizeForm=function(e){var t=l.default.baseUrlAdobe+"/ims/authorize/v1",r=document.createElement("form");r.style.display="none",r.setAttribute("method","post"),r.setAttribute("action",t);var i=null,a=null,o="";for(var s in e){if(a=e[s],"object"===n(a)){if(0===Object.keys(a).length)continue;o=JSON.stringify(a)}else o=a;""!==o&&(i=this.createFormElement("input","text",s,o),r.appendChild(i))}return document.getElementsByTagName("body")[0].appendChild(r),r},t.prototype.createFormElement=function(e,t,r,n){var i=document.createElement(e);return i.setAttribute("type",t),i.setAttribute("name",r),i.setAttribute("value",n),i},t}(r(276827).BaseSignInService);t.SignInService=c},215639:function(e,t,r){"use strict";r(367469),r(378702);var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=r(207074),o=i(r(653170)),s=i(r(908049));t.SignOutService=function(){this.signOut=function(e){var t="logout",r=e.apiParameters,i=e.externalParameters,l=e.adobeIdRedirectUri,c=void 0===l?"":l,u=e.clientId,p=a.RedirectHelper.mergeApiParamsWithExternalParams(r,i,t),d=a.RedirectHelper.createDefaultRedirectUrl(c,u,p,t),m=n(n({},p),{client_id:u,redirect_uri:d,jslVersion:s.default.jslibver}),h=o.default.uriEncodeData(m),v=s.default.baseUrlAdobe+"/ims/logout/v1?"+h;o.default.replaceUrl(v)}}},268368:function(e,t,r){"use strict";r(378702),r(573467);var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(877679)),a=["keyup","mousemove"],o=function(){function e(){var e=this;this.lastUserInteraction=Date.now(),this.userActive=!1,this.userInteractionHandler=function(){e.lastUserInteraction=Date.now(),e.userActive=!0},this.initializeDomEvents=function(){a.forEach((function(t){return window.addEventListener(t,e.userInteractionHandler)}))},this.clearDomEvents=function(){a.forEach((function(t){return window.removeEventListener(t,e.userInteractionHandler)}))}}return e.prototype.startAutoRefreshFlow=function(e){var t,r=this;if(e&&e.expire&&e.refreshTokenMethod){this.refreshParameters=e,this.refreshTimerId&&(i.default.info("Auto-refresh timer already set, clearing"),clearTimeout(this.refreshTimerId)),this.clearDomEvents(),this.initializeDomEvents();var n=this.fromNowToNMinutesBeforeDate(null===(t=this.refreshParameters)||void 0===t?void 0:t.expire,1);i.default.info("Auto-refresh timer will run after (seconds)",n/1e3),this.refreshTimerId=setTimeout((function(){var e;if(r.userActive){var t=Math.floor((Date.now()-r.lastUserInteraction)/1e3);null===(e=r.refreshParameters)||void 0===e||e.refreshTokenMethod({userInactiveSince:t},!0),i.default.info("Auto-refresh performed, user was inactive for (seconds)",t)}else i.default.info("Auto-refresh skipped, user was never active")}),n)}else i.default.info("Won't schedule token auto-refresh",!e,!e.expire,!e.refreshTokenMethod)},e.prototype.fromNowToNMinutesBeforeDate=function(e,t){var r=e.getTime()-Date.now()-6e4*t;return r<=0?6e4*t:r},e}();t.default=new o},571036:(e,t,r)=>{"use strict";r(378702),Object.defineProperty(t,"__esModule",{value:!0});var n=r(456483),i=function(){function e(){this.getCustomApiParameters=function(e,t){return e[t]||{}}}return e.prototype.mergeExternalParameters=function(e,t,r){return n.merge(this.getCustomApiParameters(t,r),e)},e.prototype.toJson=function(e){try{return"string"!=typeof e?e:JSON.parse(e)}catch(e){return null}},e}();t.default=new i},347396:(e,t,r)=>{"use strict";var n;r(378702),Object.defineProperty(t,"__esModule",{value:!0}),t.AdobeIdKey="adobeid",t.AdobeIMSKey="adobeIMS",t.AdobeImsFactory="adobeImsFactory",t.DEFAULT_LANGUAGE="en_US",(n=t.STORAGE_MODE||(t.STORAGE_MODE={})).LocalStorage="local",n.SessionStorage="session",n.MemoryStorage="memory",t.HEADERS={AUTHORIZATION:"Authorization",X_IMS_CLIENT_ID:"X-IMS-ClientId",RETRY_AFTER:"Retry-after"},t.PROFILE_STORAGE_KEY="adobeid_ims_profile",t.TOKEN_STORAGE_KEY="adobeid_ims_access_token",t.ON_IMSLIB_INSTANCE="onImsLibInstance",t.ASK_FOR_IMSLIB_INSTANCE_DOM_EVENT_NAME="getImsLibInstance"},844736:function(e,t,r){"use strict";r(367469),r(378702),r(721141);var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){var e=this;this.DEBOUNCE_TIME=1e3,this.cache={},this.storeApiResponse=function(t,r,n){void 0===t&&(t=""),void 0===r&&(r=""),e.cacheApiResponse(t,r,n)}}return e.prototype.getCachedApiResponse=function(e,t){void 0===t&&(t="");var r="string"==typeof t?t:JSON.stringify(t),n=this.cache[e];if(!n)return null;var i=n[r];return i?i.data:null},e.prototype.cacheApiResponse=function(e,t,r){void 0===e&&(e=""),void 0===t&&(t="");var i=this.cache[e];i||(i={},this.cache[e]=i);var a=this.createClearCachedDataTimer(e,t);i[t]={timerId:a,data:n({},r)}},e.prototype.createClearCachedDataTimer=function(e,t){var r=this;return setTimeout((function(){var n=r.cache[e]||{},i=n[t];i&&i&&i.timerId&&(clearTimeout(i.timerId),delete n[t])}),this.DEBOUNCE_TIME)},e}();t.default=new i},499515:(e,t,r)=>{"use strict";r(378702),r(340781),r(587621),r(531072),r(923304),r(573467),r(328614),r(888784),r(816221),r(290671),r(17938),r(990665),r(108882),Object.defineProperty(t,"__esModule",{value:!0});var n=r(279706),i=r(526217),a=r(770797),o=function(){function e(){this.adobeIdThinData=null}return e.prototype.verify=function(e,t){void 0===t&&(t="");var r=e.status,n=e.data;return r?401==r?new a.HttpErrorResponse({error:"unauthorized"}):this.parseTokenResponseForRideErrors(n,t)||(409==r?n:429==r?new a.HttpErrorResponse({error:"rate_limited",retryAfter:n.retryAfter?parseInt(n.retryAfter):10}):r.toString().match(/5\d{2}/g)?new a.HttpErrorResponse({error:"server_error"}):null):new a.HttpErrorResponse({error:"networkError",message:n||""})},e.prototype.parseTokenResponseForRideErrors=function(e,t){if(!e)return null;var r=e.error,n=e.jump;if(!r)return null;if(0!==r.indexOf("ride_"))return"token_expired"===r&&t.indexOf("check/v6/token")>=0?new i.RideException("ride_pba_idle_session","",!0):null;var a=this.addRedirectUriToJump(r,n);return new i.RideException(r,a)},e.prototype.addRedirectUriToJump=function(e,t){if(!t||"string"!=typeof t)return"";var r=t;this.adobeIdThinData||(this.adobeIdThinData=new n.AdobeIdThinData);var i=this.adobeIdThinData.computeRideRedirectUri(e);if(!i||0===i.length)return r;try{var a=new URL(r);return a.searchParams.append("redirect_uri",i),a.toString()}catch(e){return r}},e.prototype.isUnauthorizedException=function(e){var t=e.status;return 401===(void 0===t?0:t)},e}();t.default=new o},770797:(e,t,r)=>{"use strict";r(378702),Object.defineProperty(t,"__esModule",{value:!0}),t.HttpErrorResponse=function(e){var t=e.error,r=e.retryAfter,n=void 0===r?0:r,i=e.message,a=void 0===i?"":i;this.error=t,this.retryAfter=n,this.message=a}},337938:function(e,t,r){"use strict";r(367469),r(378702);var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=r(347396),o=i(r(653170)),s=i(r(571036)),l=i(r(908049)),c=i(r(529109)),u=function(){function e(e){void 0===e&&(e={}),this.CONTENT_FORM_ENCODED="application/x-www-form-urlencoded;charset=utf-8",this.apiParameters=e}return e.prototype.validateToken=function(e){var t=e.token,r=e.client_id,i=o.default.uriEncodeData(n(n({},s.default.getCustomApiParameters(this.apiParameters,"validate_token")),{type:"access_token",client_id:r,token:t})),a=l.default.baseUrlAdobe+"/ims/validate_token/v1?jslVersion="+l.default.jslibver;return c.default.post(a,i,this.formEncoded())},e.prototype.getProfile=function(e){var t=e.token,r=e.client_id,i=n({},s.default.getCustomApiParameters(this.apiParameters,"profile")),a=this.createAuthorizationHeader(t),u=o.default.uriEncodeData(n({client_id:r},i)),p=l.default.baseUrlAdobe+"/ims/profile/v1?"+u+"&jslVersion="+l.default.jslibver;return c.default.get(p,a)},e.prototype.getUserInfo=function(e){var t=e.token,r=e.client_id,i=n({},s.default.getCustomApiParameters(this.apiParameters,"userinfo")),a=this.createAuthorizationHeader(t),u=o.default.uriEncodeData(n({client_id:r},i)),p=l.default.baseUrlAdobe+"/ims/userinfo/v1?"+u+"&jslVersion="+l.default.jslibver;return c.default.get(p,a)},e.prototype.logoutToken=function(e){var t=e.client_id,r=e.token,i=n({},s.default.getCustomApiParameters(this.apiParameters,"logout_token")),a=l.default.baseUrlServices+"/ims/logout/v1?jslVersion="+l.default.jslibver;return c.default.post(a,n({client_id:t,access_token:r},i))},e.prototype.checkStatus=function(){var e=l.default.baseUrlServices+"/ims/check/v1/status";return c.default.get(e)},e.prototype.checkToken=function(e,t,r){var i=e.client_id,a=e.scope,u=n({},s.default.mergeExternalParameters(t,this.apiParameters,"check_token")),p=l.default.baseUrlServices+"/ims/check/v6/token?jslVersion="+l.default.jslibver,d=n(n({},u),{client_id:i,scope:a});r&&(d.user_id=r);var m=o.default.uriEncodeData(d);return c.default.post(p,m,this.formEncoded())},e.prototype.switchProfile=function(e,t,r){void 0===r&&(r="");var i=e.client_id,a=e.scope,u=void 0===a?"":a,p=n({},s.default.mergeExternalParameters(t,this.apiParameters,"check_token")),d=l.default.baseUrlServices+"/ims/check/v6/token?jslVersion="+l.default.jslibver,m=o.default.uriEncodeData(n(n({},p),{client_id:i,scope:u,user_id:r}));return c.default.post(d,m,this.formEncoded())},e.prototype.listSocialProviders=function(e){var t=e.client_id,r=n({},s.default.getCustomApiParameters(this.apiParameters,"providers")),i=o.default.uriEncodeData(n({client_id:t},r)),a=l.default.baseUrlServices+"/ims/social/v1/providers?"+i+"&jslVersion="+l.default.jslibver;return c.default.get(a)},e.prototype.exchangeIjt=function(e,t){var r=e.client_id,i=n({},s.default.getCustomApiParameters(this.apiParameters,"ijt")),a=l.default.baseUrlServices+"/ims/jump/implicit/"+t,u=o.default.uriEncodeData(n({client_id:r},i)),p=a+"?"+u+"&jslVersion="+l.default.jslibver;return p.length>2048&&(delete i.redirect_uri,p=a+"?"+(u=o.default.uriEncodeData(i))),c.default.get(p)},e.prototype.avatarUrl=function(e){return l.default.baseUrlAdobe+"/ims/avatar/download/"+e},e.prototype.getReleaseFlags=function(e){var t=e.token,r=e.client_id,i=n({},s.default.getCustomApiParameters(this.apiParameters,"fg_value")),a=this.createAuthorizationHeader(t),u=o.default.uriEncodeData(n({client_id:r},i)),p=l.default.baseUrlAdobe+"/ims/fg/value/v1?"+u+"&jslVersion="+l.default.jslibver;return c.default.get(p,a)},e.prototype.getTransitoryAuthorizationCode=function(e,t,r){void 0===t&&(t={});var i=n({},s.default.mergeExternalParameters(t,this.apiParameters,"check_token")),a=l.default.baseUrlServices+"/ims/check/v6/token?client_id="+r+"&jslVersion="+l.default.jslibver,u=o.default.uriEncodeData(n(n({},i),e));return c.default.post(a,u,this.formEncoded())},e.prototype.getTokenFromCode=function(e,t){void 0===t&&(t={});var r=n({},s.default.mergeExternalParameters(t,this.apiParameters,"token"));r.grant_type="authorization_code",delete e.other;var i=l.default.baseUrlServices+"/ims/token/v3?jslVersion="+l.default.jslibver,a=o.default.uriEncodeData(n(n({},r),e));return c.default.post(i,a,this.formEncoded())},e.prototype.jumpToken=function(e,t,r){void 0===t&&(t={});var i=n({},s.default.mergeExternalParameters(t,this.apiParameters,"jumptoken")),a=l.default.baseUrlServices+"/ims/jumptoken/v1?client_id="+r+"&jslVersion="+l.default.jslibver,u=o.default.uriEncodeData(n(n({},i),e));return c.default.post(a,u,this.formEncoded())},e.prototype.createAuthorizationHeader=function(e){var t={};return e&&(t[a.HEADERS.AUTHORIZATION]="Bearer "+e),t},e.prototype.formEncoded=function(e){return void 0===e&&(e={}),e["content-type"]=this.CONTENT_FORM_ENCODED,e},e}();t.ImsApis=u},604893:(e,t,r)=>{"use strict";r(378702),Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){this.status=0,this.data="",this.status=e,this.data=this.toJson(t)}return e.prototype.toJson=function(e){try{return"string"!=typeof e?e:JSON.parse(e)}catch(t){return e}},e}();t.ApiResponse=n},529109:function(e,t,r){"use strict";r(378702),r(573467),r(693508),r(721141);var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(844736)),a=n(r(499515)),o=n(r(640239));t.default=new(function(){function e(){this.triggerOnError=null}return e.prototype.post=function(e,t,r){var n=this;void 0===r&&(r={});var a=i.default.getCachedApiResponse(e,t);if(a){var s=a.status,l=a.data;return 200===s?Promise.resolve(l):Promise.reject(l)}return o.default.post(e,t,r).then((function(r){return n.storeApiResponse(e,JSON.stringify(t),r)})).catch((function(r){return n.verifyError(e,JSON.stringify(t),r)}))},e.prototype.get=function(e,t){var r=this;void 0===t&&(t={});var n=i.default.getCachedApiResponse(e);if(n){var a=n.status,s=n.data;return 200===a?Promise.resolve(s):Promise.reject(s)}return o.default.get(e,t).then((function(t){return r.storeApiResponse(e,"",t)})).catch((function(t){return r.verifyError(e,"",t)}))},e.prototype.verifyError=function(e,t,r){this.storeApiResponse(e,t,r);var n=a.default.verify(r,e);return Promise.reject(n||r.data)},e.prototype.storeApiResponse=function(e,t,r){return void 0===t&&(t=""),i.default.storeApiResponse(e,t,r),Promise.resolve(r.data)},e}())},640239:(e,t,r)=>{"use strict";r(378702),r(573467),r(693508),r(508460),r(808410),Object.defineProperty(t,"__esModule",{value:!0});var n=r(604893);t.default=new(function(){function e(){}return e.prototype.http=function(e){return new Promise((function(t,r){var i,a=new(0,window.XMLHttpRequest);a.withCredentials=!0,a.open(e.method,e.url,!0),a.onload=function(){return this.status>=200&&this.status<300?t(new n.ApiResponse(this.status,this.response)):r(new n.ApiResponse(this.status,this.response))},a.onerror=function(){var e=new n.ApiResponse(this.status,this.response);return r(e)},(i=e.headers)&&Object.keys(i).forEach((function(e){a.setRequestHeader(e,i[e])})),a.send(e.data)}))},e.prototype.post=function(e,t,r){return void 0===r&&(r={}),this.http({headers:r,method:"POST",url:e,data:t})},e.prototype.get=function(e,t){return void 0===t&&(t={}),this.http({headers:t,method:"GET",url:e})},e}())},877679:function(e,t,r){"use strict";r(322511),r(542543),r(573467),r(135668),r(816221),r(290671),r(17938),r(35812),r(378702);var n=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,a=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)o.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return o},i=this&&this.__spread||function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(n(arguments[t]));return e};Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(){var e=this;this.logEnabled=!1,this.print=function(t,r){e.logEnabled&&t.apply(void 0,i(r))},this.assert=function(t,r){e.print(console.assert,[t,r])},this.assertCondition=function(t,r){t()||e.print(console.error,[r])},this.error=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];e.print(console.error,t)},this.warn=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];e.print(console.warn,t)},this.info=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];e.print(console.info,t)}}return e.prototype.enableLogging=function(){this.logEnabled=!0},e.prototype.disableLogging=function(){this.logEnabled=!1},e}();t.default=new a},857859:(e,t,r)=>{"use strict";r(378702),Object.defineProperty(t,"__esModule",{value:!0});var n=r(692792);t.ProfileException=function(e){this.message=null,this.errorType=n.IErrorType.PROFILE_EXCEPTION,this.message=e}},947345:function(e,t,r){"use strict";r(378702),r(573467),r(693508),r(808410),r(721141);var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(789538)),a=r(347396),o=r(857859),s=r(770797),l=r(219429),c=function(){function e(e){this.profileServiceRequest=e,this.storage=i.default.getStorageByName(a.STORAGE_MODE.SessionStorage)}return e.prototype.getProfile=function(e){var t=this,r=this.profileServiceRequest,n=r.clientId,i=r.imsApis,a=this.getProfileFromStorage();return a?Promise.resolve(a):i.getProfile({client_id:n,token:e}).then((function(e){if(!e)throw new o.ProfileException("NO profile response");if(0===Object.keys(e).length)throw new o.ProfileException("NO profile value");return t.saveProfileToStorage(e),Promise.resolve(e)})).catch((function(e){return e instanceof s.HttpErrorResponse||t.removeProfile(),Promise.reject(e)}))},e.prototype.getProfileStorageKey=function(e){void 0===e&&(e=!1);var t=this.profileServiceRequest,r=t.clientId,n=t.scope;return a.PROFILE_STORAGE_KEY+"/"+r+"/"+!1+"/"+(e?l.sortScopes(n):n)},e.prototype.getProfileFromStorage=function(){var e=this.getProfileStorageKey(),t=this.getProfileStorageKey(!0),r=this.storage.getItem(e);return r||(r=this.storage.getItem(t)),r&&JSON.parse(r)},e.prototype.saveProfileToStorage=function(e){var t=this.getProfileStorageKey(),r=this.getProfileStorageKey(!0);this.storage.setItem(t,JSON.stringify(e)),this.storage.setItem(r,JSON.stringify(e))},e.prototype.removeProfile=function(){var e=this.getProfileStorageKey(),t=this.getProfileStorageKey(!0);this.storage.removeItem(e),this.storage.removeItem(t)},e.prototype.removeProfileIfOtherUser=function(e){if(e){var t=this.getProfileFromStorage();t&&t.userId!==e&&this.removeProfile()}},e}();t.ProfileService=c},143339:(e,t,r)=>{"use strict";r(378702),r(936963),r(923304),Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.data={},this.length=0}return e.prototype.clear=function(){this.data={},this.length=0},e.prototype.getItem=function(e){return this.data[e]||null},e.prototype.removeItem=function(e){return!!this.data[e]&&(delete this.data[e],--this.length,!0)},e.prototype.setItem=function(e,t){this.data[e]||++this.length,this.data[e]=t},e.prototype.key=function(e){throw new Error("Method not implemented. "+e)},e}();t.MemoryStorage=n},789538:function(e,t,r){"use strict";r(378702);var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=r(143339),a=r(347396),o=n(r(877679)),s=function(){function e(){this.memoryStorageInstance=null}return Object.defineProperty(e.prototype,"memoryStorage",{get:function(){return this.memoryStorageInstance||(this.memoryStorageInstance=new i.MemoryStorage),this.memoryStorageInstance},enumerable:!0,configurable:!0}),e.prototype.getStorageByName=function(e){var t=this.getStorageInstanceByName(e);return t&&this.verifyStorage(t)?t:this.memoryStorage},e.prototype.getStorageInstanceByName=function(e){if(e===a.STORAGE_MODE.MemoryStorage)return this.memoryStorage;try{return e===a.STORAGE_MODE.LocalStorage?window.localStorage:window.sessionStorage}catch(e){return o.default.warn("Please change your cookies settings in order to allow local data to be set"),null}},e.prototype.getAvailableStorage=function(){var e=this.getStorageByName(a.STORAGE_MODE.LocalStorage);return e instanceof i.MemoryStorage?this.getStorageByName(a.STORAGE_MODE.SessionStorage):e},e.prototype.verifyStorage=function(e){var t="test";try{return e.setItem(t,"true"),"true"===e.getItem(t)&&(e.removeItem(t),!0)}catch(e){return!1}},e}();t.default=new s},342243:function(e,t,r){"use strict";r(888784),r(322511),r(378702);var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r};Object.defineProperty(t,"__esModule",{value:!0}),t.AuthorizationCode=function(e){this.client_id="",this.scope="",this.code="",this.state=null,this.code_verifier="",this.other=null;var t=e.code,r=e.state,i=e.client_id,a=e.scope,o=e.verifier,s=n(e,["code","state","client_id","scope","verifier"]);this.state=r,this.client_id=i,this.code=t,this.scope=a,this.code_verifier=o,this.other=s}},832057:(e,t,r)=>{"use strict";r(378702),Object.defineProperty(t,"__esModule",{value:!0}),t.FragmentException=function(e,t){this.message="",this.type="",this.type=e,this.message=t}},674347:(e,t,r)=>{"use strict";var n;r(378702),Object.defineProperty(t,"__esModule",{value:!0}),(n=t.IFragmentExceptionType||(t.IFragmentExceptionType={})).FRAGMENT="fragment",n.CSRF="csrf",n.NOT_AUTHORIZE="not_authorize"},419715:(e,t,r)=>{"use strict";r(378702),Object.defineProperty(t,"__esModule",{value:!0}),t.ModalSignInEvent=function(e){this.wndRedirectPropName="",this.wndRedirectPropName=e}},526217:(e,t,r)=>{"use strict";r(378702),Object.defineProperty(t,"__esModule",{value:!0}),t.RideException=function(e,t,r){void 0===r&&(r=!1),this.jump="",this.code=e,this.jump=t,this.isPbaExpiredIdleSessionWorkaround=r}},328406:(e,t,r)=>{"use strict";r(378702),Object.defineProperty(t,"__esModule",{value:!0}),t.StandaloneToken=function(e){this.token="",this.sid="",this.expirems=0;var t=e.token,r=e.expirems;this.token=t,this.expirems=r}},505909:(e,t,r)=>{"use strict";r(378702),Object.defineProperty(t,"__esModule",{value:!0}),t.TokenExpiredException=function(e){this.exception=null,this.exception=e}},34244:function(e,t,r){"use strict";r(378702),r(888784),r(936963),r(923304),r(518116),r(488822),r(635397),r(567791),r(587621),r(558901),r(276839);var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(571036)),a=n(r(877679)),o=r(219429),s=function(){function e(e,t){var r=this;this.REAUTH_SCOPE="reauthenticated",this.valid=!1,this.isReauth=function(){return r.scope.indexOf(r.REAUTH_SCOPE)>=0},this.client_id="",this.scope="",this.expire=new Date,this.user_id="",this.tokenValue="",this.sid="",this.state=null,this.fromFragment=!1,this.impersonatorId="",this.isImpersonatedSession=!1;var n=e.valid,a=e.tokenValue,o=e.access_token,s=e.state,l=e.other,c=a||o,u=this.parseJwt(c);if(!u)throw new Error("token cannot be decoded "+c);this.state=i.default.toJson(s);var p=u.client_id,d=u.user_id,m=u.scope,h=u.sid,v=u.imp_id,g=u.imp_sid;this.client_id=p,this.expire=t,this.user_id=d,this.scope=m,this.valid=n,this.tokenValue=c,this.sid=h,this.other=l,this.impersonatorId=v||"",this.isImpersonatedSession=!!g}return e.prototype.parseJwt=function(e){if(!e)return null;try{return JSON.parse(atob(e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/")))}catch(t){return a.default.error("error on decoding token ",e,t),null}},e.prototype.validate=function(e,t){var r=this,n=r.valid,i=r.client_id,s=r.scope,l=r.expire;return l<new Date?(a.default.error("token invalid  --\x3e expires_at",l),!1):null==n||n?i!==e?(a.default.error("token invalid  --\x3e client id",i,e),!1):!!o.validateScopeInclusion(t,s)||(a.default.error("token invalid  --\x3e scope"," token scope =",s,"vs adobeIdScope =",t,"."),!1):(a.default.error("token invalid  --\x3e valid"),!1)},e}();t.TokenFields=s},642896:function(e,t,r){"use strict";r(367469),r(888784),r(322511),r(378702),r(573467),r(693508),r(929216),r(936963),r(923304),r(721141),r(808410);var n=this&&this.__assign||function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)},i=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=a(r(789538)),s=r(347396),l=r(34244),c=a(r(756607)),u=r(832057),p=r(674347),d=r(718479),m=r(526217),h=r(505909),v=a(r(877679)),g=r(770797),f=r(342243),b=r(419715),y=r(291173),_=r(219429),w=r(482369),k=function(){function e(e,t){var r=this;this.getTokenAndProfile=function(e){void 0===e&&(e={});var t=r.getTokenFields();return t instanceof b.ModalSignInEvent||t instanceof u.FragmentException?Promise.reject(t):t instanceof f.AuthorizationCode?r.tokenServiceRequest.imsApis.getTokenFromCode(t,e).then((function(e){var r=e.access_token,n=e.state,a=e.expires_in,o=e.scope,s=void 0===o?"":o,c=i(e,["access_token","state","expires_in","scope"]),u=new l.TokenFields({scope:s,tokenValue:r,valid:!0,state:n,other:t.other},new Date((new Date).getTime()+parseFloat(a)));return Promise.resolve(new d.TokenProfileResponse(u,c))})):t instanceof l.TokenFields?t.fromFragment||!r.tokenServiceRequest.autoValidateToken?Promise.resolve(new d.TokenProfileResponse(t,null)):r.callValidateTokenApi(t.tokenValue).then((function(){return new d.TokenProfileResponse(t,null)})).catch((function(){return r.callRefreshToken(e)})):r.callRefreshToken(e)};var n=e.useLocalStorage;this.csrfService=t,this.tokenServiceRequest=e,this.storage=o.default.getStorageByName(n?s.STORAGE_MODE.LocalStorage:s.STORAGE_MODE.SessionStorage)}return e.prototype.getTokenFields=function(){var e=this.tokenServiceRequest,t=e.clientId,r=e.scope,n=this.getTokenFromFragment();return n instanceof b.ModalSignInEvent||n instanceof u.FragmentException||n instanceof f.AuthorizationCode?n:n&&n.validate(t,r)?(n.fromFragment=!0,this.addTokenToStorage(n),n):this.getTokenFieldsFromStorage()},e.prototype.validateToken=function(){var e=this.getTokenFieldsFromStorage();return e?this.callValidateTokenApi(e.tokenValue):Promise.reject(null)},e.prototype.getReleaseFlags=function(){var e=this.tokenServiceRequest,t=e.clientId,r=e.imsApis,n=this.getTokenFieldsFromStorage();return n?r.getReleaseFlags({token:n.tokenValue,client_id:t}):Promise.reject(null)},e.prototype.getDecodedReleaseFlags=function(){return this.getReleaseFlags().then((function(e){return w.decodeToBitstring(e.releaseFlags,!0)}))},e.prototype.callValidateTokenApi=function(e){var t=this,r=this.tokenServiceRequest,i=r.clientId,a=r.scope;return r.imsApis.validateToken({client_id:i,token:e}).then((function(r){v.default.info("validateToken response",r);var o=new l.TokenFields(n(n({},r),{tokenValue:e}),new Date(parseFloat(r.expires_at)));if(o.validate(i,a))return t.addTokenToStorage(o),Promise.resolve(o);throw new Error("could not validate tokenFields")})).catch((function(e){return v.default.error("validateToken response",e),e instanceof g.HttpErrorResponse||t.removeTokenFromLocalStorage(),Promise.reject(e)}))},e.prototype.getTokenFromFragment=function(){var e=c.default.fragmentToObject();if(!e)return null;v.default.info("fragment value "+e);var t=e.access_token,r=e.scope,a=e.error,o=e.api,s=e.state,d=void 0===s?{}:s,m=e.expires_in,h=e.client_id,g=e.code,_=void 0===g?"":g,w=i(e,["access_token","scope","error","api","state","expires_in","client_id","code"]),k=d||{},Z=k.imslibmodal,x=k.nonce;if(!0===Z)return new b.ModalSignInEvent(x);if(!e.from_ims)return null;if(h!==this.tokenServiceRequest.clientId)return null;if(a)return new u.FragmentException(p.IFragmentExceptionType.FRAGMENT,a);if("authorize"!==o)return new u.FragmentException(p.IFragmentExceptionType.NOT_AUTHORIZE,"api should be authorize and "+o+" is used");if(!this.csrfService.verify(x))return new u.FragmentException(p.IFragmentExceptionType.CSRF,"CSRF exception");if(_){var S=(new y.CodeChallenge).getVerifierByKey(x);if(!S)throw new Error("no verifier value has been found");return new f.AuthorizationCode(n(n({},e),{verifier:S}))}return t?new l.TokenFields({scope:r,tokenValue:t,valid:!0,state:d,other:w},new Date((new Date).getTime()+parseFloat(m))):null},e.prototype.getDataFromStorageWithSortedScopesFallback=function(e){var t=this.getAccessTokenKey(e),r=this.storage.getItem(t);if(!r){var n=this.getAccessTokenKey(e,!0);r=this.storage.getItem(n)}return r},e.prototype.getStorageKeyValue=function(e){return this.storage.getItem(e)},e.prototype.getTokenFieldsFromStorage=function(e){void 0===e&&(e=!1);var t=this.tokenServiceRequest,r=t.clientId,n=t.scope,i=this.getDataFromStorageWithSortedScopesFallback(e);if(!i)return null;var a=JSON.parse(i),o=a.expire?new Date(Date.parse(a.expire)):new Date(a.expiresAtMilliseconds),s=new l.TokenFields(a,o);return s.validate(r,n)?s:null},e.prototype.getAccessTokenKey=function(e,t){void 0===e&&(e=!1),void 0===t&&(t=!1);var r=this.tokenServiceRequest,n=r.clientId,i=r.scope;return s.TOKEN_STORAGE_KEY+"/"+n+"/"+e+"/"+(t?_.sortScopes(i):i)},e.prototype.addTokenToStorage=function(e){if(e){var t=e.isReauth(),r=this.getAccessTokenKey(t),i=this.getAccessTokenKey(t,!0),a=n({},e);a.state={},a.other="{}";var o=JSON.stringify(a);this.storage.setItem(r,o),this.storage.setItem(i,o)}},e.prototype.removeTokenFromLocalStorage=function(){var e=this.getAccessTokenKey(),t=this.getAccessTokenKey(!1,!0);this.storage.removeItem(e),this.storage.removeItem(t)},e.prototype.removeReauthTokenFromLocalStorage=function(){var e=this.getAccessTokenKey(!0),t=this.getAccessTokenKey(!0,!0);this.storage.removeItem(e),this.storage.removeItem(t)},e.prototype.refreshToken=function(e){var t=this;void 0===e&&(e={});var r=this.tokenServiceRequest,a=r.clientId,o=r.imsApis,s=r.scope,l=this.getTokenFieldsFromStorage(),c=l?l.user_id:"";return o.checkToken({client_id:a,scope:s},e,c).then((function(e){if(!e)throw new Error("refresh token --\x3e no response");var r=e.access_token,a=e.expires_in,o=e.token_type,s=e.error,l=e.error_description,c=void 0===l?"":l,u=e.sid,p=i(e,["access_token","expires_in","token_type","error","error_description","sid"]);if(s)throw new Error(s+" "+c);var d=Object.keys(p).length?p:null,m={token:r,expire:new Date(Date.now()+parseFloat(a)),token_type:o,sid:u},h=t.updateToken(m)||{},v={tokenInfo:n(n({},m),{impersonatorId:h.impersonatorId||"",isImpersonatedSession:h.isImpersonatedSession||!1}),profile:d};return Promise.resolve(v)})).catch((function(e){return void 0===e&&(e={}),e instanceof g.HttpErrorResponse||e instanceof m.RideException?Promise.reject(e):(t.removeTokenFromLocalStorage(),Promise.reject(new h.TokenExpiredException(e)))}))},e.prototype.switchProfile=function(e,t){var r=this;void 0===t&&(t={});var a=this.tokenServiceRequest,o=a.clientId,s=a.imsApis,l=a.scope;return s.switchProfile({client_id:o,scope:l},t,e).then((function(e){if(!e)throw new Error("refresh token --\x3e no response");var t=e.access_token,a=e.expires_in,o=e.token_type,s=e.error,l=e.error_description,c=void 0===l?"":l,u=e.sid,p=i(e,["access_token","expires_in","token_type","error","error_description","sid"]);if(s)throw new Error(s+" "+c);var d=Object.keys(p).length?p:null,m={token:t,expire:new Date(Date.now()+parseFloat(a)),token_type:o,sid:u},h=r.updateToken(m)||{},v={tokenInfo:n(n({},m),{impersonatorId:h.impersonatorId||"",isImpersonatedSession:h.isImpersonatedSession||!1}),profile:d};return Promise.resolve(v)})).catch((function(e){return void 0===e&&(e={}),Promise.reject(e)}))},e.prototype.callRefreshToken=function(e){return void 0===e&&(e={}),this.refreshToken(e).then((function(e){var t=e.tokenInfo,r=t.token,n=t.expire,i=e.profile,a=new l.TokenFields({valid:!0,tokenValue:r},n),o=new d.TokenProfileResponse(a,i);return Promise.resolve(o)})).catch((function(e){return Promise.reject(e)}))},e.prototype.updateToken=function(e){var t=e.token,r=e.expire,n=new l.TokenFields({tokenValue:t},r);return n?(n.tokenValue=t,this.addTokenToStorage(n),n):null},e.prototype.purge=function(){this.removeTokenFromLocalStorage(),this.removeReauthTokenFromLocalStorage()},e.prototype.setStandAloneToken=function(e){var t=e.token,r=e.sid,n=e.expirems,i=void 0===n?-1:n,a=this.tokenServiceRequest,o=a.clientId,s=a.scope,c=new Date((new Date).getTime()+i);if(!new l.TokenFields({valid:!0,tokenValue:t},c).validate(o,s))return!1;var u={expire:c,token:t,sid:r};return this.updateToken(u),!0},e.prototype.exchangeIjt=function(e){var t=this.tokenServiceRequest,r={client_id:t.clientId,scope:t.scope};return t.imsApis.exchangeIjt(r,e).then((function(e){var t=e.valid,r=e.access_token,n=e.expires_in;if(!1===t)return Promise.reject(e);var i=new Date(Date.now()+1e3*parseFloat(n)),a=new l.TokenFields({valid:!0,tokenValue:r},i),o=new d.TokenProfileResponse(a,null);return Promise.resolve(o)}))},e}();t.TokenService=k},756607:function(e,t,r){"use strict";r(378702),r(893248),r(888784),r(587621),r(531072),r(558901),r(573467),r(508460),r(276839);var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var i=n(r(571036)),a=function(){function e(){}return e.prototype.fragmentToObject=function(){var e=this.getHashFromURL();if(!e)return null;var t=this.processHashUrl(e),r=this.getOldHash(t),n=r?t.slice(t.indexOf("old_hash")):t,a=this.removeOldHash(n),o=this.getQueryParamsAsMap(a);r&&(o.old_hash=r);var s=o.state;return s&&(o.state=i.default.toJson(s)),o},e.prototype.getOldHash=function(e){if(!e)return"";var t=e.match("old_hash=(.*?)&from_ims=true");return t?t[1]:""},e.prototype.removeOldHash=function(e){return e?e.replace(/old_hash=(.*?)&from_ims=true/gi,"from_ims=true"):e},e.prototype.getHashFromURL=function(e){void 0===e&&(e=window.location.href);var t=e.indexOf("#");return-1!==t?e.substring(t+1):""},e.prototype.getQueryParamsAsMap=function(e){if(!e)return{};var t={};return(e=e.replace(/^(#\/|\/|#|\?|&)/,"")).split("&").forEach((function(e){if(e.length){var r=e.split("=");t[r[0]]=decodeURIComponent(r[1])}})),t},e.prototype.processHashUrl=function(e){return e.replace("?error","#error").replace(/#/gi,"&").replace("from_ims=true?","from_ims=true&")},e}();t.default=new a},653170:(e,t,r)=>{"use strict";var n=r(37225).default;r(378702),r(127387),r(721141),r(587621),r(558901),Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){}return e.prototype.uriEncodeData=function(e){if("object"!==n(e))return"";var t,r=[],i="";for(var a in e)void 0!==(t=e[a])&&(i=this.encodeValue(t),r.push(encodeURIComponent(a)+"="+i));return r.join("&")},e.prototype.encodeValue=function(e){return null===e?"null":"object"===n(e)?encodeURIComponent(JSON.stringify(e)):encodeURIComponent(e)},e.prototype.replaceUrl=function(e){e&&window.location.replace(e)},e.prototype.setHrefUrl=function(e){e&&(window.location.href=e)},e.prototype.setHash=function(e){void 0===e&&(e=""),window.location.hash=e},e}();t.default=new i},482369:(e,t,r)=>{"use strict";r(378702),r(587621),r(276839),r(64209),r(573467),r(127387),r(923304),r(328614),r(936963),r(508460),r(893248),r(718080),Object.defineProperty(t,"__esModule",{value:!0});var n="abcdefghijklmnopqrstuvwxyz234567".split("").reduce((function(e,t,r){return e[t]=r,e}),{"=":0});t.decodeToBitstring=function(e,t){if(void 0===t&&(t=!1),"string"!=typeof e)throw new Error("Data is not a string");var r=e.toLowerCase().split("");!function(e){if(e.length%8!=0)throw new Error("Data length is not a multiple of 8");e.forEach((function(e){if(!(e in n))throw new Error("Unknown encoded character "+e)}));var t=!1;e.forEach((function(e){if("="!==e&&t)throw new Error("Found padding char in the middle of the string");"="===e&&(t=!0)}))}(r);var i=function(e){for(var t=e.length-1,r=0;"="===e[t];)++r,--t;return r}(r),a=[];r.forEach((function(e){a.push(function(e){return(r=5-(t=e.toString(2)).length)>0&&(t=new Array(r+1).join("0")+t),t;var t,r}(n[e]))}));var o=a.join("");return i>0&&(o=o.slice(0,-5*i)),o.length%8!=0&&(o=o.slice(0,o.length%8*-1)),t?function(e){var t="";if(e.length%8!=0)throw new Error("Length must be a multiple of 8");for(var r=0,n=e.length;r<n;r+=8)t+=e.slice(r,r+8).split("").reverse().join("");return t}(o):o}},456483:(e,t,r)=>{"use strict";var n=r(37225).default;function i(e){return null!=e&&"object"===n(e)&&!Array.isArray(e)}r(378702),r(367469),r(573467),r(508460),r(808410),Object.defineProperty(t,"__esModule",{value:!0}),t.isObject=i,t.merge=function e(t,r){if(null==t)return r;if(t===r)return t;if(!i(t))return t;var n=Object.assign({},t);return i(r)&&Object.keys(r).forEach((function(a){var o,s;i(r[a])?a in t?n[a]=e(t[a],r[a]):Object.assign(n,((o={})[a]=r[a],o)):Object.assign(n,((s={})[a]=r[a],s))})),n}},219429:(e,t,r)=>{"use strict";r(378702),r(127387),r(8856),r(587621),r(276839),r(573467),r(255187),r(203454),Object.defineProperty(t,"__esModule",{value:!0});var n=",";t.sortScopes=function(e){return e.split(n).sort().join(n)},t.validateScopeInclusion=function(e,t){var r=(null==t?void 0:t.split(n))||[];return((null==e?void 0:e.split(n))||[]).every((function(e){return r.includes(e)}))}},314774:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(685271),i=r(504397),a=r(696034),o={make:function(e){return o=e.makeComponent(a.Z,{attributes:[{name:"width",value:"10"},{name:"height",value:"10"},{name:"viewBox",value:"0 0 10 10"},{name:"version",value:"1.1"},{name:"xml:space",value:"preserve"},{name:"fillRule",value:"evenodd",original:"fill-rule"},{name:"clipRule",value:"evenodd",original:"clip-rule"},{name:"strokeLinejoin",value:"round",original:"stroke-linejoin"},{name:"strokeMiterlimit",value:"1.414",original:"stroke-miterlimit"}],blocks:[{name:"children",template:n.ZP.make({render:function(e,t){t.path=e.pushTemplateNode(s)},move:function(e,t){e.pushNode(t.path)},firstChild:function(e,t){return t.path},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._d||(e.attr._d=e.ensureAttr("d")),e.attr._fill$45rule||(e.attr._fill$45rule=e.ensureAttr("fill-rule"))}})}]}),o.make(e)}},s=(0,i.z)((function(e){var t=e.makeNode("path");return e.attr._class(t,"class","colorable-fill"),e.attr._d(t,"d","M2 1.51v6.994c0 .272.189.496.418.496.07 0 .138-.021.199-.06l5.165-3.433A.547.547 0 008 5.056a.55.55 0 00-.213-.447L2.618 1.06a.371.371 0 00-.2-.06C2.189 1 2 1.224 2 1.496v.014z"),e.attr._fill$45rule(t,"fill-rule","nonzero"),t}));const l={template:o}},829822:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(685271),i=r(504397),a=r(696034),o={make:function(e){return o=e.makeComponent(a.Z,{attributes:[{name:"class",value:"glyph cancel"},{name:"width",value:"12"},{name:"height",value:"12"},{name:"viewBox",value:"0 0 12 12"},{name:"version",value:"1.1"},{name:"xml:space",value:"preserve"},{name:"fillRule",value:"evenodd",original:"fill-rule"},{name:"clipRule",value:"evenodd",original:"clip-rule"},{name:"strokeLinejoin",value:"round",original:"stroke-linejoin"},{name:"strokeMiterlimit",value:"1.414",original:"stroke-miterlimit"}],blocks:[{name:"children",template:n.ZP.make({render:function(e,t){t.path=e.pushTemplateNode(s)},move:function(e,t){e.pushNode(t.path)},firstChild:function(e,t){return t.path},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._d||(e.attr._d=e.ensureAttr("d"))}})}]}),o.make(e)}},s=(0,i.z)((function(e){var t=e.makeNode("path");return e.attr._class(t,"class","colorable-fill"),e.attr._d(t,"d","M9.898.247L6.001 4.145 2.102.246C1.588-.268 1.13.105.617.618c-.512.512-.885.971-.371 1.484l3.898 3.899L.247 9.898c-.512.512-.143.97.372 1.484.512.513.972.884 1.484.372l3.898-3.897 3.897 3.898c.513.512.973.14 1.485-.372.513-.513.884-.972.372-1.484L7.857 6.001l3.897-3.897c.512-.513.141-.973-.372-1.485-.514-.514-.972-.884-1.484-.372z"),t}));const l={template:o}},339161:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(685271),i=r(504397),a=r(696034),o={make:function(e){return o=e.makeComponent(a.Z,{attributes:[{name:"class",value:"glyph"},{name:"width",value:"16"},{name:"height",value:"16"},{name:"viewBox",value:"0 0 16 16"},{name:"version",value:"1.1"},{name:"xml:space",value:"preserve"},{name:"fillRule",value:"evenodd",original:"fill-rule"},{name:"clipRule",value:"evenodd",original:"clip-rule"},{name:"strokeLinejoin",value:"round",original:"stroke-linejoin"},{name:"strokeMiterlimit",value:"1.414",original:"stroke-miterlimit"}],blocks:[{name:"children",template:n.ZP.make({render:function(e,t){t.circle=e.pushTemplateNode(l),t.path=e.pushTemplateNode(s)},move:function(e,t){e.pushNode(t.circle),e.pushNode(t.path)},firstChild:function(e,t){return t.circle},lastChild:function(e,t){return t.path},prepare:function(e){e.attr._cx||(e.attr._cx=e.ensureAttr("cx")),e.attr._cy||(e.attr._cy=e.ensureAttr("cy")),e.attr._r||(e.attr._r=e.ensureAttr("r")),e.attr._fill||(e.attr._fill=e.ensureAttr("fill")),e.attr._d||(e.attr._d=e.ensureAttr("d"))}})}]}),o.make(e)}},s=(0,i.z)((function(e){var t=e.makeNode("path");return e.attr._d(t,"d","M8.5 13h-1a.503.503 0 01-.5-.5V9H3.5a.503.503 0 01-.5-.5v-1c0-.274.226-.5.5-.5H7V3.5c0-.274.226-.5.5-.5h1c.274 0 .5.226.5.5V7h3.5c.319.048.5.255.5.5v1c0 .245-.181.452-.5.5H9v3.5c0 .245-.181.452-.5.5z"),e.attr._fill(t,"fill","#fff"),t})),l=(0,i.z)((function(e){var t=e.makeNode("circle");return e.attr._cx(t,"cx","8"),e.attr._cy(t,"cy","8"),e.attr._r(t,"r","8"),e.attr._fill(t,"fill","#2680eb"),t}));const c={template:o}},163991:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(685271),i=r(504397),a=r(696034),o={make:function(e){return o=e.makeComponent(a.Z,{attributes:[{name:"class",value:"glyph go"},{name:"width",value:"16"},{name:"height",value:"16"},{name:"viewBox",value:"0 0 16 16"},{name:"version",value:"1.1"},{name:"xml:space",value:"preserve"},{name:"fillRule",value:"evenodd",original:"fill-rule"},{name:"clipRule",value:"evenodd",original:"clip-rule"},{name:"strokeLinejoin",value:"round",original:"stroke-linejoin"},{name:"strokeMiterlimit",value:"1.414",original:"stroke-miterlimit"}],blocks:[{name:"children",template:n.ZP.make({render:function(e,t){t.path=e.pushTemplateNode(s)},move:function(e,t){e.pushNode(t.path)},firstChild:function(e,t){return t.path},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._d||(e.attr._d=e.ensureAttr("d"))}})}]}),o.make(e)}},s=(0,i.z)((function(e){var t=e.makeNode("path");return e.attr._class(t,"class","colorable-fill"),e.attr._d(t,"d","M1.928 6.265a4.337 4.337 0 014.336-4.338c2.396 0 4.531 2.135 4.531 4.531a4.339 4.339 0 01-4.338 4.338c-2.394 0-4.529-2.136-4.529-4.531zm13.711 7.271L11.813 9.71c.578-.948.91-2.061.91-3.252C12.723 2.998 9.725 0 6.264 0A6.265 6.265 0 000 6.265c0 3.46 2.997 6.458 6.457 6.458 1.15 0 2.227-.311 3.155-.853l3.849 3.847a.961.961 0 001.362 0l.954-.953c.377-.377.239-.851-.138-1.228z"),t}));const l={template:o}},879555:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(685271),i=r(504397),a=r(696034),o={make:function(e){return o=e.makeComponent(a.Z,{attributes:[{name:"width",value:"36"},{name:"height",value:"28"},{name:"viewBox",value:"0 0 36 28"},{name:"version",value:"1.1"},{name:"xml:space",value:"preserve"},{name:"fillRule",value:"evenodd",original:"fill-rule"},{name:"clipRule",value:"evenodd",original:"clip-rule"},{name:"strokeLinejoin",value:"round",original:"stroke-linejoin"},{name:"strokeMiterlimit",value:"1.414",original:"stroke-miterlimit"}],blocks:[{name:"children",template:n.ZP.make({render:function(e,t){t.path=e.pushTemplateNode(l),t.path1=e.pushTemplateNode(s)},move:function(e,t){e.pushNode(t.path),e.pushNode(t.path1)},firstChild:function(e,t){return t.path},lastChild:function(e,t){return t.path1},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._d||(e.attr._d=e.ensureAttr("d")),e.attr._fill$45rule||(e.attr._fill$45rule=e.ensureAttr("fill-rule"))}})}]}),o.make(e)}},s=(0,i.z)((function(e){var t=e.makeNode("path");return e.attr._class(t,"class","colorable-fill"),e.attr._d(t,"d","M26.829 12.658a3.71 3.71 0 002.684-1.113 3.82 3.82 0 001.113-2.684A3.917 3.917 0 0026.829 5 3.847 3.847 0 0023 8.829a3.847 3.847 0 003.829 3.829zm-1.767-5.564a2.53 2.53 0 011.767-.72h.001a2.498 2.498 0 012.486 2.486v.03a2.47 2.47 0 01-2.459 2.459h-.028-.001a2.498 2.498 0 01-2.486-2.486v-.001a2.529 2.529 0 01.716-1.767l.004-.001z"),e.attr._fill$45rule(t,"fill-rule","nonzero"),t})),l=(0,i.z)((function(e){var t=e.makeNode("path");return e.attr._class(t,"class","colorable-fill"),e.attr._d(t,"d","M33.709 0H2.291A2.33 2.33 0 000 2.291v23.418A2.33 2.33 0 002.291 28h31.418A2.33 2.33 0 0036 25.709V2.291A2.33 2.33 0 0033.709 0zM2.291 1.964h31.418l.019-.001c.169 0 .309.14.309.309l-.001.019v20.538l-7.527-7.658a1.927 1.927 0 00-1.44-.589 2.029 2.029 0 00-1.44.589l-3.076 3.273-7.724-7.855a1.927 1.927 0 00-1.44-.589 2.029 2.029 0 00-1.44.589l-7.985 8.12V2.291l-.001-.019c0-.169.14-.309.309-.309l.019.001zm-.327 23.745v-5.105l8.967-9.033a.709.709 0 01.458-.2.593.593 0 01.458.2l14.466 14.465H2.291l-.019.001a.311.311 0 01-.309-.309l.001-.019zm31.745.327H28.08c0-.065-.065-.065-.065-.131l-6.48-6.545 3.076-3.273a.593.593 0 01.458-.2.51.51 0 01.458.2l8.509 8.64v.982l.001.019c0 .169-.14.309-.309.309l-.019-.001z"),e.attr._fill$45rule(t,"fill-rule","nonzero"),t}));const c={template:o}},844535:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(685271),i=r(504397),a=r(696034),o={make:function(e){return o=e.makeComponent(a.Z,{attributes:[{name:"class",value:"glyph select-icon"},{name:"width",value:"40"},{name:"height",value:"40"},{name:"viewBox",value:"0 0 40 40"},{name:"version",value:"1.1"},{name:"xml:space",value:"preserve"},{name:"fillRule",value:"evenodd",original:"fill-rule"},{name:"clipRule",value:"evenodd",original:"clip-rule"},{name:"strokeLinejoin",value:"round",original:"stroke-linejoin"},{name:"strokeMiterlimit",value:"1.414",original:"stroke-miterlimit"}],blocks:[{name:"children",template:n.ZP.make({render:function(e,t){t.path=e.pushTemplateNode(c),t.path1=e.pushTemplateNode(l),t.path2=e.pushTemplateNode(s)},move:function(e,t){e.pushNode(t.path),e.pushNode(t.path1),e.pushNode(t.path2)},firstChild:function(e,t){return t.path},lastChild:function(e,t){return t.path2},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._d||(e.attr._d=e.ensureAttr("d")),e.attr._fill||(e.attr._fill=e.ensureAttr("fill")),e.attr._fill$45opacity||(e.attr._fill$45opacity=e.ensureAttr("fill-opacity")),e.attr._fill$45rule||(e.attr._fill$45rule=e.ensureAttr("fill-rule"))}})}]}),o.make(e)}},s=(0,i.z)((function(e){var t=e.makeNode("path");return e.attr._class(t,"class","on"),e.attr._d(t,"d","M25 27H15c-1.097 0-2-.903-2-2V15c0-1.097.903-2 2-2h10c1.097 0 2 .903 2 2v10c0 1.097-.903 2-2 2zm-8.5-8a.993.993 0 00-.707.293.994.994 0 00-.293.708.99.99 0 00.293.706l2.25 2.25a.992.992 0 00.707.292.99.99 0 00.706-.292l4.75-4.749a1.002 1.002 0 00-.706-1.707c-.265 0-.52.105-.708.293l-4.043 4.043-1.543-1.543A.996.996 0 0016.5 19z"),e.attr._fill(t,"fill","#2680eb"),e.attr._fill$45rule(t,"fill-rule","nonzero"),t})),l=(0,i.z)((function(e){var t=e.makeNode("path");return e.attr._class(t,"class","off"),e.attr._d(t,"d","M25.102 13.002c1.015.078 1.809.758 1.896 1.896.085 3.37.002 6.743.002 10.115-.026 1.043-.73 1.896-1.898 1.985-3.37.085-6.743.002-10.115.002-1.043-.026-1.896-.731-1.985-1.898-.085-3.37-.002-6.743-.002-10.115.026-1.043.731-1.896 1.898-1.985 3.4-.086 6.804-.086 10.204 0zM15.013 15c-.005 0-.013-.015-.013.013v9.974c0 .005-.014.013.013.013h9.974c.027 0 .013-.008.013-.013v-9.974c0-.027-.008-.013-.013-.013h-9.974z"),e.attr._fill(t,"fill","#959595"),e.attr._fill$45rule(t,"fill-rule","nonzero"),t})),c=(0,i.z)((function(e){var t=e.makeNode("path");return e.attr._class(t,"class","bounding"),e.attr._d(t,"d","M36 7c0-1.656-1.344-3-3-3H7C5.344 4 4 5.344 4 7v26c0 1.656 1.344 3 3 3h26c1.656 0 3-1.344 3-3V7z"),e.attr._fill(t,"fill","#fff"),e.attr._fill$45opacity(t,"fill-opacity",".75"),t}));const u={template:o}},480617:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".VideoHoverPlayer-wlxYypy_nDWAagGnZHuj {\n\tpointer-events: none;\n\tposition: absolute;\n\tleft: 0;\n\ttop: 0;\n\tright: 0;\n\tbottom: 0;\n\twidth: 100%;\n\theight: 100%;\n\tobject-fit: cover;\n\topacity: 0\n}\n.VideoHoverPlayer-wlxYypy_nDWAagGnZHuj.VideoHoverPlayer-C5WXxi9MR9QpW0xfpnmM {\n\t\topacity: 1;\n\t}\n.VideoHoverPlayer-wlxYypy_nDWAagGnZHuj.VideoHoverPlayer-rFJGW3p9tVChxTWRBVkK {\n\t\tobject-fit: contain;\n\t}\n",""]),o.locals={root:"VideoHoverPlayer-wlxYypy_nDWAagGnZHuj",playing:"VideoHoverPlayer-C5WXxi9MR9QpW0xfpnmM",contain:"VideoHoverPlayer-rFJGW3p9tVChxTWRBVkK"};const s=o},200355:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".DragSource-_odbsiQd6KbXy6Tna3dV {\n\tposition: relative;\n}\n\n.DragSource-goS04cXrhLPrPGJpBMcq {\n\topacity: 0.7;\n}\n\n.DragSource-h6gOSTcEu2FufbaNMXjQ .DragSource-BMiyIAnNlBX5rURleDWS {\n\tposition: absolute;\n\tleft: 0;\n\ttop: 0;\n\tright: 55%;\n\tbottom: 0;\n}\n\n.DragSource-h6gOSTcEu2FufbaNMXjQ .DragSource-i26kNViPJWQveroWc6EY {\n\tposition: absolute;\n\tleft: 55%;\n\ttop: 0;\n\tright: 0;\n\tbottom: 0;\n}\n",""]),o.locals={root:"DragSource-_odbsiQd6KbXy6Tna3dV",dragging:"DragSource-goS04cXrhLPrPGJpBMcq",horizontal:"DragSource-h6gOSTcEu2FufbaNMXjQ",start:"DragSource-BMiyIAnNlBX5rURleDWS",end:"DragSource-i26kNViPJWQveroWc6EY"};const s=o},242566:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".DropTarget-JQqHGOIp3Cxnm48gINoy {\n\tposition: relative\n}\n.DropTarget-JQqHGOIp3Cxnm48gINoy::after {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tright: 0;\n\t\tbottom: 0;\n\t\tborder: 2px solid rgb(var(--sp-color-blue-400));\n\t\tbackground-color: rgba(var(--sp-color-blue-400), 0.1);\n\t\tborder-radius: 8px;\n\t\tcontent: '';\n\t}\n",""]),o.locals={hover:"DropTarget-JQqHGOIp3Cxnm48gINoy"};const s=o},663831:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".ThemeSpColors-Em3cqM2AGDgS0DvAemhv {\n\t--sp-color-celery-400: 68, 181, 86;\n\t--sp-color-celery-500: 75, 195, 95;\n\t--sp-color-celery-600: 81, 210, 103;\n\t--sp-color-celery-700: 88, 224, 111;\n\t--sp-color-chartreuse-400: 133, 208, 68;\n\t--sp-color-chartreuse-500: 142, 222, 73;\n\t--sp-color-chartreuse-600: 155, 236, 84;\n\t--sp-color-chartreuse-700: 163, 248, 88;\n\t--sp-color-yellow-400: 223, 191, 0;\n\t--sp-color-yellow-500: 237, 204, 0;\n\t--sp-color-yellow-600: 250, 217, 0;\n\t--sp-color-yellow-700: 255, 226, 46;\n\t--sp-color-magenta-400: 216, 55, 144;\n\t--sp-color-magenta-500: 226, 73, 157;\n\t--sp-color-magenta-600: 236, 90, 170;\n\t--sp-color-magenta-700: 245, 107, 183;\n\t--sp-color-fuchsia-400: 192, 56, 204;\n\t--sp-color-fuchsia-500: 207, 62, 220;\n\t--sp-color-fuchsia-600: 217, 81, 229;\n\t--sp-color-fuchsia-700: 227, 102, 239;\n\t--sp-color-purple-400: 146, 86, 217;\n\t--sp-color-purple-500: 157, 100, 225;\n\t--sp-color-purple-600: 168, 115, 233;\n\t--sp-color-purple-700: 180, 131, 240;\n\t--sp-color-indigo-400: 103, 103, 236;\n\t--sp-color-indigo-500: 117, 117, 241;\n\t--sp-color-indigo-600: 130, 130, 246;\n\t--sp-color-indigo-700: 144, 144, 250;\n\t--sp-color-seafoam-400: 27, 149, 154;\n\t--sp-color-seafoam-500: 32, 163, 168;\n\t--sp-color-seafoam-600: 35, 178, 184;\n\t--sp-color-seafoam-700: 38, 192, 199;\n\t--sp-color-red-400: 227, 72, 80;\n\t--sp-color-red-500: 236, 91, 98;\n\t--sp-color-red-600: 247, 109, 116;\n\t--sp-color-red-700: 255, 123, 130;\n\t--sp-color-orange-400: 230, 134, 25;\n\t--sp-color-orange-500: 242, 148, 35;\n\t--sp-color-orange-600: 249, 164, 63;\n\t--sp-color-orange-700: 255, 181, 91;\n\t--sp-color-green-400: 45, 157, 120;\n\t--sp-color-green-500: 51, 171, 132;\n\t--sp-color-green-600: 57, 185, 144;\n\t--sp-color-green-700: 63, 200, 156;\n\t--sp-color-blue-400: 38, 128, 235;\n\t--sp-color-blue-500: 55, 142, 240;\n\t--sp-color-blue-600: 75, 156, 245;\n\t--sp-color-blue-700: 90, 169, 250;\n\t--sp-color-gray-50: 37, 37, 37;\n\t--sp-color-gray-75: 47, 47, 47;\n\t--sp-color-gray-100: 50, 50, 50;\n\t--sp-color-gray-200: 62, 62, 62;\n\t--sp-color-gray-300: 74, 74, 74;\n\t--sp-color-gray-400: 90, 90, 90;\n\t--sp-color-gray-500: 110, 110, 110;\n\t--sp-color-gray-600: 144, 144, 144;\n\t--sp-color-gray-700: 185, 185, 185;\n\t--sp-color-gray-800: 227, 227, 227;\n\t--sp-color-gray-900: 255, 255, 255;\n}\n\n.ThemeSpColors-Y20ZeQEQOFE6VlWtOetf {\n\t--sp-color-celery-400: 61, 167, 78;\n\t--sp-color-celery-500: 68, 181, 86;\n\t--sp-color-celery-600: 75, 195, 95;\n\t--sp-color-celery-700: 81, 210, 103;\n\t--sp-color-chartreuse-400: 124, 195, 63;\n\t--sp-color-chartreuse-500: 133, 208, 68;\n\t--sp-color-chartreuse-600: 142, 222, 73;\n\t--sp-color-chartreuse-700: 155, 236, 84;\n\t--sp-color-yellow-400: 210, 178, 0;\n\t--sp-color-yellow-500: 223, 191, 0;\n\t--sp-color-yellow-600: 237, 204, 0;\n\t--sp-color-yellow-700: 250, 217, 0;\n\t--sp-color-magenta-400: 202, 41, 150;\n\t--sp-color-magenta-500: 216, 55, 144;\n\t--sp-color-magenta-600: 226, 73, 157;\n\t--sp-color-magenta-700: 236, 90, 170;\n\t--sp-color-fuchsia-400: 177, 48, 189;\n\t--sp-color-fuchsia-500: 192, 56, 204;\n\t--sp-color-fuchsia-600: 207, 62, 220;\n\t--sp-color-fuchsia-700: 217, 81, 229;\n\t--sp-color-purple-400: 134, 76, 204;\n\t--sp-color-purple-500: 146, 86, 217;\n\t--sp-color-purple-600: 157, 100, 225;\n\t--sp-color-purple-700: 168, 115, 223;\n\t--sp-color-indigo-400: 92, 92, 224;\n\t--sp-color-indigo-500: 103, 103, 236;\n\t--sp-color-indigo-600: 117, 117, 241;\n\t--sp-color-indigo-700: 130, 130, 246;\n\t--sp-color-seafoam-400: 22, 135, 140;\n\t--sp-color-seafoam-500: 27, 149, 154;\n\t--sp-color-seafoam-600: 32, 163, 168;\n\t--sp-color-seafoam-700: 35, 178, 184;\n\t--sp-color-red-400: 215, 55, 63;\n\t--sp-color-red-500: 227, 72, 80;\n\t--sp-color-red-600: 236, 91, 98;\n\t--sp-color-red-700: 247, 109, 116;\n\t--sp-color-orange-400: 218, 123, 17;\n\t--sp-color-orange-500: 230, 134, 25;\n\t--sp-color-orange-600: 242, 148, 35;\n\t--sp-color-orange-700: 249, 164, 63;\n\t--sp-color-green-400: 38, 142, 108;\n\t--sp-color-green-500: 45, 157, 120;\n\t--sp-color-green-600: 51, 171, 132;\n\t--sp-color-green-700: 57, 185, 144;\n\t--sp-color-blue-400: 20, 115, 230;\n\t--sp-color-blue-500: 38, 128, 235;\n\t--sp-color-blue-600: 55, 142, 240;\n\t--sp-color-blue-700: 75, 156, 245;\n\t--sp-color-gray-50: 8, 8, 8;\n\t--sp-color-gray-75: 26, 26, 26;\n\t--sp-color-gray-100: 30, 30, 30;\n\t--sp-color-gray-200: 44, 44, 44;\n\t--sp-color-gray-300: 57, 57, 57;\n\t--sp-color-gray-400: 73, 73, 73;\n\t--sp-color-gray-500: 92, 92, 92;\n\t--sp-color-gray-600: 124, 124, 124;\n\t--sp-color-gray-700: 162, 162, 162;\n\t--sp-color-gray-800: 200, 200, 200;\n\t--sp-color-gray-900: 239, 239, 239;\n}\n\n.ThemeSpColors-JvmAkc3uvnWVLFKNJ1tY {\n\t--sp-color-celery-400: 68, 181, 86;\n\t--sp-color-celery-500: 61, 167, 78;\n\t--sp-color-celery-600: 55, 153, 71;\n\t--sp-color-celery-700: 49, 139, 64;\n\t--sp-color-chartreuse-400: 133, 208, 68;\n\t--sp-color-chartreuse-500: 124, 195, 63;\n\t--sp-color-chartreuse-600: 115, 181, 58;\n\t--sp-color-chartreuse-700: 106, 168, 52;\n\t--sp-color-yellow-400: 223, 191, 0;\n\t--sp-color-yellow-500: 210, 178, 0;\n\t--sp-color-yellow-600: 196, 166, 0;\n\t--sp-color-yellow-700: 183, 153, 0;\n\t--sp-color-magenta-400: 216, 55, 144;\n\t--sp-color-magenta-500: 206, 39, 131;\n\t--sp-color-magenta-600: 188, 28, 116;\n\t--sp-color-magenta-700: 174, 14, 102;\n\t--sp-color-fuchsia-400: 192, 56, 204;\n\t--sp-color-fuchsia-500: 177, 48, 189;\n\t--sp-color-fuchsia-600: 162, 40, 173;\n\t--sp-color-fuchsia-700: 147, 33, 158;\n\t--sp-color-purple-400: 146, 86, 217;\n\t--sp-color-purple-500: 134, 76, 204;\n\t--sp-color-purple-600: 122, 66, 191;\n\t--sp-color-purple-700: 111, 56, 177;\n\t--sp-color-indigo-400: 103, 103, 236;\n\t--sp-color-indigo-500: 92, 92, 224;\n\t--sp-color-indigo-600: 81, 81, 211;\n\t--sp-color-indigo-700: 70, 70, 198;\n\t--sp-color-seafoam-400: 27, 149, 154;\n\t--sp-color-seafoam-500: 22, 135, 140;\n\t--sp-color-seafoam-600: 15, 121, 125;\n\t--sp-color-seafoam-700: 9, 108, 111;\n\t--sp-color-red-400: 227, 72, 80;\n\t--sp-color-red-500: 215, 55, 63;\n\t--sp-color-red-600: 201, 37, 45;\n\t--sp-color-red-700: 187, 18, 26;\n\t--sp-color-orange-400: 230, 134, 25;\n\t--sp-color-orange-500: 218, 123, 17;\n\t--sp-color-orange-600: 203, 111, 16;\n\t--sp-color-orange-700: 189, 100, 13;\n\t--sp-color-green-400: 45, 157, 120;\n\t--sp-color-green-500: 38, 142, 108;\n\t--sp-color-green-600: 18, 128, 92;\n\t--sp-color-green-700: 16, 113, 84;\n\t--sp-color-blue-400: 38, 128, 235;\n\t--sp-color-blue-500: 20, 115, 230;\n\t--sp-color-blue-600: 13, 102, 208;\n\t--sp-color-blue-700: 9, 90, 186;\n\t--sp-color-gray-50: 255, 255, 255;\n\t--sp-color-gray-75: 250, 250, 250;\n\t--sp-color-gray-100: 245, 245, 245;\n\t--sp-color-gray-200: 234, 234, 234;\n\t--sp-color-gray-300: 225, 225, 225;\n\t--sp-color-gray-400: 202, 202, 202;\n\t--sp-color-gray-500: 179, 179, 179;\n\t--sp-color-gray-600: 142, 142, 142;\n\t--sp-color-gray-700: 110, 110, 110;\n\t--sp-color-gray-800: 75, 75, 75;\n\t--sp-color-gray-900: 44, 44, 44;\n}\n\n.ThemeSpColors-EAno4O6vtiU01mIF_1r_ {\n\t--sp-color-celery-400: 75, 195, 95;\n\t--sp-color-celery-500: 68, 181, 86;\n\t--sp-color-celery-600: 61, 167, 78;\n\t--sp-color-celery-700: 55, 153, 71;\n\t--sp-color-chartreuse-400: 142, 222, 73;\n\t--sp-color-chartreuse-500: 133, 208, 68;\n\t--sp-color-chartreuse-600: 124, 195, 63;\n\t--sp-color-chartreuse-700: 115, 181, 58;\n\t--sp-color-yellow-400: 237, 204, 0;\n\t--sp-color-yellow-500: 223, 191, 0;\n\t--sp-color-yellow-600: 210, 178, 0;\n\t--sp-color-yellow-700: 196, 166, 0;\n\t--sp-color-magenta-400: 226, 73, 157;\n\t--sp-color-magenta-500: 216, 55, 144;\n\t--sp-color-magenta-600: 202, 41, 130;\n\t--sp-color-magenta-700: 188, 28, 116;\n\t--sp-color-fuchsia-400: 207, 62, 220;\n\t--sp-color-fuchsia-500: 192, 56, 204;\n\t--sp-color-fuchsia-600: 177, 48, 189;\n\t--sp-color-fuchsia-700: 162, 40, 173;\n\t--sp-color-purple-400: 157, 100, 225;\n\t--sp-color-purple-500: 146, 86, 217;\n\t--sp-color-purple-600: 134, 76, 204;\n\t--sp-color-purple-700: 122, 66, 191;\n\t--sp-color-indigo-400: 117, 117, 241;\n\t--sp-color-indigo-500: 103, 103, 236;\n\t--sp-color-indigo-600: 92, 92, 224;\n\t--sp-color-indigo-700: 81, 81, 211;\n\t--sp-color-seafoam-400: 32, 163, 168;\n\t--sp-color-seafoam-500: 27, 149, 154;\n\t--sp-color-seafoam-600: 22, 135, 140;\n\t--sp-color-seafoam-700: 15, 121, 125;\n\t--sp-color-red-400: 236, 91, 98;\n\t--sp-color-red-500: 227, 72, 80;\n\t--sp-color-red-600: 215, 55, 63;\n\t--sp-color-red-700: 201, 37, 45;\n\t--sp-color-orange-400: 242, 148, 35;\n\t--sp-color-orange-500: 230, 134, 25;\n\t--sp-color-orange-600: 218, 123, 17;\n\t--sp-color-orange-700: 203, 111, 16;\n\t--sp-color-green-400: 51, 171, 132;\n\t--sp-color-green-500: 45, 157, 120;\n\t--sp-color-green-600: 38, 142, 108;\n\t--sp-color-green-700: 18, 128, 92;\n\t--sp-color-blue-400: 55, 142, 240;\n\t--sp-color-blue-500: 38, 128, 235;\n\t--sp-color-blue-600: 20, 115, 230;\n\t--sp-color-blue-700: 13, 102, 208;\n\t--sp-color-gray-50: 255, 255, 255;\n\t--sp-color-gray-75: 255, 255, 255;\n\t--sp-color-gray-100: 255, 255, 255;\n\t--sp-color-gray-200: 244, 244, 244;\n\t--sp-color-gray-300: 234, 234, 234;\n\t--sp-color-gray-400: 211, 211, 211;\n\t--sp-color-gray-500: 188, 188, 188;\n\t--sp-color-gray-600: 149, 149, 149;\n\t--sp-color-gray-700: 116, 116, 116;\n\t--sp-color-gray-800: 80, 80, 80;\n\t--sp-color-gray-900: 50, 50, 50;\n}\n",""]),o.locals={"lrgrid--dark":"ThemeSpColors-Em3cqM2AGDgS0DvAemhv","lrgrid--darkest":"ThemeSpColors-Y20ZeQEQOFE6VlWtOetf","lrgrid--light":"ThemeSpColors-JvmAkc3uvnWVLFKNJ1tY","lrgrid--lightest":"ThemeSpColors-EAno4O6vtiU01mIF_1r_"};const s=o},63440:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,'.OrganizerApplication-TxbGDGJSmnZHGYFvkGVG {\n\tfont-size: 14px;\n\tline-height: 20px;\n\tfont-family: "adobe-clean", "AdobeClean", "HelveticaNeue", sans-serif;\n\tfont-variant-numeric: tabular-nums; /* requires open-type features. Keeps numbers from being too tight. */\n\n\t-webkit-font-smoothing: antialiased;\n\t-moz-osx-font-smoothing: auto;\n\tfont-smoothing: antialiased;\n\tmargin:0;\n\tpadding:0;\n\theight:100%;\n\t-webkit-user-select: none;\n\t-moz-user-select: none;\n\t-ms-user-select: none;\n\tuser-select: none;\n\toverflow: hidden;\n\tbackground-color: rgb(var(--sp-color-gray-100));\n\n\tdisplay: flex;\n\tflex-direction: column;\n\tposition:absolute;\n\ttop:0;\n\tbottom:0;\n\tleft:0;\n\tright:0;\n\tmargin:0;\n\tpadding:0;\n}\n',""]),o.locals={container:"OrganizerApplication-TxbGDGJSmnZHGYFvkGVG"};const s=o},838734:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".LrGridContent-IYAztn38KKvniHMznrAs {\n\tdisplay: flex;\n\tflex-direction: column;\n\tposition: absolute;\n\ttop: 0;\n\tright: 0;\n\tbottom: 0;\n\tleft: 0;\n}\n",""]),o.locals={view:"LrGridContent-IYAztn38KKvniHMznrAs"};const s=o},575933:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".Album-t6aCvbTq7_GfdhQLel0e {\n\tcursor: pointer;\n}\n\n.Album-TDbom8xe27AAfC7WP7JP {\n\tcursor: pointer;\n}\n\n.Album-WRgm87n1aHvySu9WuJN_ {\n\tdisplay: grid;\n\tposition: absolute;\n\tbottom: 0;\n\tleft: 0;\n\tright: 0;\n\theight: 40px;\n}\n\n.Album-C_HuC4hwoTRVhgfOARkU {\n\tdisplay: flex;\n\tjustify-content: center;\n\talign-items: center;\n\tposition: absolute;\n\ttop: 0;\n\tleft: 0;\n\tright: 0;\n\tbottom: 40px;\n\tborder-radius: 3px;\n\tbackground-color: rgb(var(--sp-color-gray-300));\n\tbackground-position: center;\n\tbackground-size: cover;\n}\n\n.Album-C_HuC4hwoTRVhgfOARkU > svg {\n\twidth: 30px;\n\theight: 30px;\n\tfill: rgb(var(--sp-color-gray-600));\n}\n\n.Album-NmM8uiTBtEtOAKmXl0hb::after {\n\tposition: absolute;\n\ttop: 0;\n\tbottom: 0;\n\tleft: 0;\n\tright: 0;\n\tz-index: 2;\n\tcontent: ' ';\n\tborder: 4px solid rgb(var(--sp-color-blue-600));\n\tborder-radius: 3px;\n}\n\n.Album-osMBCbK5WjeUrltFZgZT {\n\tcolor: rgb(var(--sp-color-gray-800));\n\tfont-size: 14px;\n\tline-height: 28px;\n\ttext-overflow: ellipsis;\n\toverflow: hidden;\n\twhite-space: nowrap;\n}\n\n.Album-c6X0OSzEBQ5wSng6qqVM {\n\tcolor: rgb(var(--sp-color-gray-600));\n\tfont-size: 10px;\n\ttext-overflow: ellipsis;\n\toverflow: hidden;\n\twhite-space: nowrap;\n}\n",""]),o.locals={folder:"Album-t6aCvbTq7_GfdhQLel0e",album:"Album-TDbom8xe27AAfC7WP7JP",info:"Album-WRgm87n1aHvySu9WuJN_",preview:"Album-C_HuC4hwoTRVhgfOARkU",selected:"Album-NmM8uiTBtEtOAKmXl0hb",name:"Album-osMBCbK5WjeUrltFZgZT",count:"Album-c6X0OSzEBQ5wSng6qqVM"};const s=o},970557:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".RecentTitle-ss34v0C43zlBBoq0IipC {\n\tdisplay: flex;\n\tflex-direction: row;\n\tline-height: 48px;\n\tfont-weight: normal;\n}\n\n.RecentTitle-yYv7k4JspsziV_8Ah69j {\n\tmargin-left: 0;\n\twhite-space: nowrap;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\tflex-grow: 1;\n\tflex-shrink: 1;\n\tfont-size: 18px;\n\tcolor: rgb(var(--sp-color-gray-800));\n}\n\n.RecentTitle-A5EeduLzG6riSL32OW_F {\n\tmargin: 0 17px 0 8px;\n\tcursor: pointer;\n\twhite-space: nowrap;\n\tfont-size: 16px;\n\tcolor: rgb(var(--sp-color-gray-800));\n}\n",""]),o.locals={container:"RecentTitle-ss34v0C43zlBBoq0IipC",title:"RecentTitle-yYv7k4JspsziV_8Ah69j",all:"RecentTitle-A5EeduLzG6riSL32OW_F"};const s=o},5073:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".Separator-ESD7hZ5GflLczQ3k1wMw {\n\tdisplay: flex;\n\tflex-direction: row;\n\theight: 1px;\n\tbackground-color: rgb(var(--sp-color-gray-600));\n\tmargin: 15px 0 25px 0;\n}\n",""]),o.locals={separator:"Separator-ESD7hZ5GflLczQ3k1wMw"};const s=o},760693:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".ScrollBarInfo-xWYuQv1Wqb3j5A2y_Y_1 {\n\toverflow-y: scroll;\n\tvisibility: hidden;\n}\n",""]),o.locals={test_outer:"ScrollBarInfo-xWYuQv1Wqb3j5A2y_Y_1"};const s=o},692569:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".scrollfull-eEiVT10zhf3P2vnmx1fg {\n\tscrollbar-width: auto;\n\tscrollbar-color: rgb(var(--color-gray-600)) transparent\n}\n.scrollfull-eEiVT10zhf3P2vnmx1fg::-webkit-scrollbar {\n\t\tbackground-color: transparent;\n\t}\n.scrollfull-eEiVT10zhf3P2vnmx1fg::-webkit-scrollbar-thumb {\n\t\tbackground-color: rgb(var(--color-gray-600));\n\t\tborder: 3px solid rgba(0, 0, 0, 0);\n\t\tmin-height: 24px;\n\t\tbackground-clip: padding-box;\n\t\tborder-radius: 7px;\n\t}\n",""]),o.locals={scrollBarStyles:"scrollfull-eEiVT10zhf3P2vnmx1fg"};const s=o},653621:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,'/*\n *  Copyright 2016 Adobe Systems Incorporated. All rights reserved.\n *  This file is licensed to you under the Apache License, Version 2.0 (the "License");\n *  you may not use this file except in compliance with the License. You may obtain a copy\n *  of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n *  Unless required by applicable law or agreed to in writing, software distributed under\n *  the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n *  OF ANY KIND, either express or implied. See the License for the specific language\n *  governing permissions and limitations under the License.\n *\n */\n.-yarn-__virtual__-\\@torqjs-virtual-scroller-virtual-a492a5f214-0-cache-\\@torqjs-virtual-scroller-npm-2-5-3-f87e98b592-3605ccf5c7-zip-node_modules-\\@torqjs-virtual-scroller-src-components-Scroll--outerView--rGQ6Q {\n  position: relative;\n  -webkit-transform: translate3d(0, 0, 0);\n          transform: translate3d(0, 0, 0);\n  outline: none;\n}\n.-yarn-__virtual__-\\@torqjs-virtual-scroller-virtual-a492a5f214-0-cache-\\@torqjs-virtual-scroller-npm-2-5-3-f87e98b592-3605ccf5c7-zip-node_modules-\\@torqjs-virtual-scroller-src-components-Scroll--outerView--rGQ6Q:active {\n  outline: none;\n}\n.-yarn-__virtual__-\\@torqjs-virtual-scroller-virtual-a492a5f214-0-cache-\\@torqjs-virtual-scroller-npm-2-5-3-f87e98b592-3605ccf5c7-zip-node_modules-\\@torqjs-virtual-scroller-src-components-Scroll--overflowView--LcPXA {\n  position: absolute;\n  left: 0;\n  top: 0;\n  overflow: hidden;\n  width: 100%;\n  height: 100%;\n}\n.-yarn-__virtual__-\\@torqjs-virtual-scroller-virtual-a492a5f214-0-cache-\\@torqjs-virtual-scroller-npm-2-5-3-f87e98b592-3605ccf5c7-zip-node_modules-\\@torqjs-virtual-scroller-src-components-Scroll--innerView--OnGuw {\n  position: absolute;\n  left: 0;\n  top: 0;\n  width: 100%;\n  height: 100%;\n  overflow: visible;\n}\n.-yarn-__virtual__-\\@torqjs-virtual-scroller-virtual-a492a5f214-0-cache-\\@torqjs-virtual-scroller-npm-2-5-3-f87e98b592-3605ccf5c7-zip-node_modules-\\@torqjs-virtual-scroller-src-components-Scroll--track--O0yRO {\n  position: absolute;\n  border-radius: 5px;\n  background: transparent;\n  left: 0;\n  top: 0;\n  transition: opacity 0.2s ease-in-out;\n  opacity: 0;\n}\n.-yarn-__virtual__-\\@torqjs-virtual-scroller-virtual-a492a5f214-0-cache-\\@torqjs-virtual-scroller-npm-2-5-3-f87e98b592-3605ccf5c7-zip-node_modules-\\@torqjs-virtual-scroller-src-components-Scroll--thumb--xC6br {\n  position: absolute;\n  border-radius: 5px;\n  background: rgba(0, 0, 0, 0.6);\n  left: 0;\n  top: 0;\n  opacity: 0;\n  transition: opacity 0.2s ease-in-out;\n}\n.-yarn-__virtual__-\\@torqjs-virtual-scroller-virtual-a492a5f214-0-cache-\\@torqjs-virtual-scroller-npm-2-5-3-f87e98b592-3605ccf5c7-zip-node_modules-\\@torqjs-virtual-scroller-src-components-Scroll--scrollActive--ah7xU .-yarn-__virtual__-\\@torqjs-virtual-scroller-virtual-a492a5f214-0-cache-\\@torqjs-virtual-scroller-npm-2-5-3-f87e98b592-3605ccf5c7-zip-node_modules-\\@torqjs-virtual-scroller-src-components-Scroll--thumb--xC6br {\n  opacity: 1;\n  background: rgba(0, 0, 0, 0.8);\n}\n.-yarn-__virtual__-\\@torqjs-virtual-scroller-virtual-a492a5f214-0-cache-\\@torqjs-virtual-scroller-npm-2-5-3-f87e98b592-3605ccf5c7-zip-node_modules-\\@torqjs-virtual-scroller-src-components-Scroll--scrollActive--ah7xU .-yarn-__virtual__-\\@torqjs-virtual-scroller-virtual-a492a5f214-0-cache-\\@torqjs-virtual-scroller-npm-2-5-3-f87e98b592-3605ccf5c7-zip-node_modules-\\@torqjs-virtual-scroller-src-components-Scroll--track--O0yRO {\n  opacity: 1;\n}\n.-yarn-__virtual__-\\@torqjs-virtual-scroller-virtual-a492a5f214-0-cache-\\@torqjs-virtual-scroller-npm-2-5-3-f87e98b592-3605ccf5c7-zip-node_modules-\\@torqjs-virtual-scroller-src-components-Scroll--scrollbar--xb7S0 {\n  position: absolute;\n  top: 0;\n  left: 0;\n}\n',""]),o.locals={outerView:"-yarn-__virtual__-@torqjs-virtual-scroller-virtual-a492a5f214-0-cache-@torqjs-virtual-scroller-npm-2-5-3-f87e98b592-3605ccf5c7-zip-node_modules-@torqjs-virtual-scroller-src-components-Scroll--outerView--rGQ6Q",overflowView:"-yarn-__virtual__-@torqjs-virtual-scroller-virtual-a492a5f214-0-cache-@torqjs-virtual-scroller-npm-2-5-3-f87e98b592-3605ccf5c7-zip-node_modules-@torqjs-virtual-scroller-src-components-Scroll--overflowView--LcPXA",innerView:"-yarn-__virtual__-@torqjs-virtual-scroller-virtual-a492a5f214-0-cache-@torqjs-virtual-scroller-npm-2-5-3-f87e98b592-3605ccf5c7-zip-node_modules-@torqjs-virtual-scroller-src-components-Scroll--innerView--OnGuw",track:"-yarn-__virtual__-@torqjs-virtual-scroller-virtual-a492a5f214-0-cache-@torqjs-virtual-scroller-npm-2-5-3-f87e98b592-3605ccf5c7-zip-node_modules-@torqjs-virtual-scroller-src-components-Scroll--track--O0yRO",thumb:"-yarn-__virtual__-@torqjs-virtual-scroller-virtual-a492a5f214-0-cache-@torqjs-virtual-scroller-npm-2-5-3-f87e98b592-3605ccf5c7-zip-node_modules-@torqjs-virtual-scroller-src-components-Scroll--thumb--xC6br",scrollActive:"-yarn-__virtual__-@torqjs-virtual-scroller-virtual-a492a5f214-0-cache-@torqjs-virtual-scroller-npm-2-5-3-f87e98b592-3605ccf5c7-zip-node_modules-@torqjs-virtual-scroller-src-components-Scroll--scrollActive--ah7xU",scrollbar:"-yarn-__virtual__-@torqjs-virtual-scroller-virtual-a492a5f214-0-cache-@torqjs-virtual-scroller-npm-2-5-3-f87e98b592-3605ccf5c7-zip-node_modules-@torqjs-virtual-scroller-src-components-Scroll--scrollbar--xb7S0"};const s=o},616523:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".app-assets-javascripts-_viewer-grid-themes-sdkselectiontheme--sdkHeader--edfnC{background-color:var(--spectrum-global-color-gray-100)}.app-assets-javascripts-_viewer-grid-themes-sdkselectiontheme--sdkHeader--edfnC .title{color:var(--spectrum-global-color-gray-700)}.app-assets-javascripts-_viewer-grid-themes-sdkselectiontheme--sdkHeader--edfnC .count{color:var(--spectrum-global-color-gray-700)}.darkest .app-assets-javascripts-_viewer-grid-themes-sdkselectiontheme--sdkHeader--edfnC{background-color:#1b1b1b}",""]),o.locals={sdkHeader:"app-assets-javascripts-_viewer-grid-themes-sdkselectiontheme--sdkHeader--edfnC"};const s=o},743451:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".app-assets-javascripts-_viewer-grid-themes-theme--container--JuLbI{position:relative}.app-assets-javascripts-_viewer-grid-themes-theme--useFlex--sDGXX{display:flex;flex-grow:1;flex-direction:column}",""]),o.locals={container:"app-assets-javascripts-_viewer-grid-themes-theme--container--JuLbI",useFlex:"app-assets-javascripts-_viewer-grid-themes-theme--useFlex--sDGXX"};const s=o},614830:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".app-assets-javascripts-_viewer-grid-views-adaptivephotorenderer--adaptiveAsset--yQgaF{transition:-webkit-transform .1s ease-in-out;transition:transform .1s ease-in-out;transition:transform .1s ease-in-out, -webkit-transform .1s ease-in-out;-webkit-transform:rotate3d(0, 1, 0, 0deg);transform:rotate3d(0, 1, 0, 0deg);position:absolute;left:0;top:0;right:0;bottom:0;background-color:rgba(var(--sp-color-gray-500), 1);background-size:cover;background-repeat:no-repeat;background-position:50% 50%}.app-assets-javascripts-_viewer-grid-views-adaptivephotorenderer--adaptiveAsset--yQgaF.reject{opacity:.5}",""]),o.locals={adaptiveAsset:"app-assets-javascripts-_viewer-grid-views-adaptivephotorenderer--adaptiveAsset--yQgaF"};const s=o},603209:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".app-assets-javascripts-_viewer-grid-views-footerview--view--jXWBf{color:rgba(var(--sp-color-gray-700), 1);font-size:16px}.app-assets-javascripts-_viewer-grid-views-footerview--view--jXWBf .content{height:100%;text-align:center}.app-assets-javascripts-_viewer-grid-views-footerview--view--jXWBf .content p{line-height:80px;margin:auto}",""]),o.locals={view:"app-assets-javascripts-_viewer-grid-views-footerview--view--jXWBf"};const s=o},644113:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".app-assets-javascripts-_viewer-grid-views-griderrorview--grid_error--tUobN{display:flex;flex:1;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#fff}",""]),o.locals={grid_error:"app-assets-javascripts-_viewer-grid-views-griderrorview--grid_error--tUobN"};const s=o},270253:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".app-assets-javascripts-_viewer-grid-views-gridloadingview--grid_loading--n6jRM{color:#fff;flex:1;position:relative}.app-assets-javascripts-_viewer-grid-views-gridloadingview--fixed--YfA_1{position:fixed;top:0;left:0;right:0;bottom:0}",""]),o.locals={grid_loading:"app-assets-javascripts-_viewer-grid-views-gridloadingview--grid_loading--n6jRM",fixed:"app-assets-javascripts-_viewer-grid-views-gridloadingview--fixed--YfA_1"};const s=o},821213:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".app-assets-javascripts-_viewer-grid-views-gridscroller--scroller--sD_3a{flex:1}.app-assets-javascripts-_viewer-grid-views-gridscroller--native--gbCMB{overflow:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}",""]),o.locals={scroller:"app-assets-javascripts-_viewer-grid-views-gridscroller--scroller--sD_3a",native:"app-assets-javascripts-_viewer-grid-views-gridscroller--native--gbCMB"};const s=o},209074:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".app-assets-javascripts-_viewer-grid-views-photoimagemissingview--messages_v2--WR16b p{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.app-assets-javascripts-_viewer-grid-views-photoimagemissingview--root_v2--uLvnb svg{display:block;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.app-assets-javascripts-_viewer-grid-views-photoimagemissingview--root_v2--uLvnb svg path{fill:#e1e1e1}.app-assets-javascripts-_viewer-grid-views-photoimagemissingview--messages_v2--WR16b{overflow:hidden}.app-assets-javascripts-_viewer-grid-views-photoimagemissingview--messages_v2--WR16b svg path{fill:#e1e1e1}.app-assets-javascripts-_viewer-grid-views-photoimagemissingview--messages_v2--WR16b div.icon{margin-left:6px;margin-top:6px;position:relative;width:48px;height:48px}.app-assets-javascripts-_viewer-grid-views-photoimagemissingview--messages_v2--WR16b p{font-size:12px;line-height:16px;color:#fff;margin:0 12px}.app-assets-javascripts-_viewer-grid-views-photoimagemissingview--messages--W6VPz{padding-top:36px}.app-assets-javascripts-_viewer-grid-views-photoimagemissingview--messages--W6VPz p{font-size:12px;line-height:16px;max-width:200px;color:#fff;margin:4px 8px;margin:0 12px}",""]),o.locals={messages_v2:"app-assets-javascripts-_viewer-grid-views-photoimagemissingview--messages_v2--WR16b",root_v2:"app-assets-javascripts-_viewer-grid-views-photoimagemissingview--root_v2--uLvnb",messages:"app-assets-javascripts-_viewer-grid-views-photoimagemissingview--messages--W6VPz"};const s=o},567091:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".app-assets-javascripts-_viewer-grid-views-photossegmentheader--photos_segment_header--AHjx_{padding:0 14px;box-sizing:border-box;display:flex;justify-content:space-between;background-color:rgba(var(--sp-color-gray-50), 1);height:48px;line-height:48px}.app-assets-javascripts-_viewer-grid-views-photossegmentheader--photos_segment_header--AHjx_ .title{text-align:left;font-size:16px;color:rgba(var(--sp-color-gray-700), 1)}.app-assets-javascripts-_viewer-grid-views-photossegmentheader--photos_segment_header--AHjx_ .count{font-size:12px;text-align:right;color:rgba(var(--sp-color-gray-700), 1)}.app-assets-javascripts-_viewer-grid-views-photossegmentheader--photos_segment_header--AHjx_ a:hover{color:rgba(var(--sp-color-gray-900), 1);cursor:pointer}.app-assets-javascripts-_viewer-grid-views-photossegmentheader--photos_segment_header--AHjx_.native-scroller{padding-right:24px}.app-assets-javascripts-_viewer-grid-views-photossegmentheader--stickyFixed--XjDZT{z-index:2}",""]),o.locals={photos_segment_header:"app-assets-javascripts-_viewer-grid-views-photossegmentheader--photos_segment_header--AHjx_",stickyFixed:"app-assets-javascripts-_viewer-grid-views-photossegmentheader--stickyFixed--XjDZT"};const s=o},97520:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,'.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .overlay-text{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}@-webkit-keyframes flash-asset-active-grid{0%{opacity:.6}100%{opacity:0}}@keyframes flash-asset-active-grid{0%{opacity:.6}100%{opacity:0}}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx{width:100%;padding:10px;box-sizing:border-box;overflow:visible}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.tip-placeable{z-index:1 !important}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .image{cursor:pointer}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.click-disabled .image{cursor:default}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .detailed-overlay{z-index:1;position:absolute;top:0;left:0;right:0;padding:0 4px}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .detailed-overlay{pointer-events:none;background:linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%)}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .detailed-overlay .overlay-text{font-size:13px}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .detailed-overlay .overlay-text.small{font-size:12px}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .info-overlay{z-index:1;position:absolute;bottom:0;left:0;right:0;padding:0 4px;pointer-events:none;background:linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%)}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .overlay-text{color:#e2e2e2;font-size:14px;display:block}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .overlay-text.small{font-size:12px}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.has-five-tags:after{content:"";display:block;background-color:rgba(218,123,17,.6);pointer-events:none;position:absolute;left:0;right:0;top:0;bottom:0}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.has-ten-tags:after{content:"";display:block;background-color:rgba(20,115,230,.6);pointer-events:none;position:absolute;left:0;right:0;top:0;bottom:0}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.in-drag{opacity:.5}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .select-check{display:none;position:absolute;z-index:1;right:1px;top:1px;width:40px;height:40px;opacity:.6;text-align:center}@media(hover: hover){.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .select-check:hover{opacity:1}}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .select-check svg.select-icon{position:relative;right:1px;top:1px}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .select-check svg.select-icon path.on{display:none}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .select-check svg.select-icon path.bounding{display:block}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .select-check svg.select-icon path.off{display:block}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .badge-v2{font-size:14px;padding:2px 4px;color:rgba(var(--sp-color-gray-700), 1);background-color:rgba(var(--sp-color-gray-50), 1)}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .badge-v2 svg{fill:rgba(var(--sp-color-gray-700), 1)}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .badge-v2.video{position:absolute;top:2px;left:2px}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .badge-v2.video span{margin-left:4px}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .badge-v2.extension{font-size:14px}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .badge-v2.proof-select svg path.background{fill:rgba(var(--sp-color-gray-700), 1)}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .badge-v2.proof-select svg path.check{fill:rgba(var(--sp-color-gray-50), 1)}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.reject:after{content:"";display:block;background-color:rgba(150,150,150,.6);pointer-events:none;position:absolute;left:0;right:0;top:0;bottom:0}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.selected .badge.video{display:none}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.selected .select-check{display:block;opacity:1}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.selected .select-check svg.select-icon path.check{fill:#fff}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.selected .select-check svg.select-icon path.on{display:block}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.selected:after{pointer-events:none;content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%;border:2px solid #fff;box-sizing:border-box}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.selectable.hover-lock .badge.video{display:none}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.selectable.hover-lock .select-check{display:block;cursor:pointer}@media(hover: hover){.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.selectable:hover .badge.video{display:none}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.selectable:hover .select-check{display:block;cursor:pointer}}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .importer{position:absolute;right:2px;bottom:2px;width:20px;height:20px;border-radius:50%;background-size:contain;border:1px solid rgba(var(--sp-color-static-gray-900), 1);box-shadow:0 0 1px 0 rgba(var(--sp-color-static-gray-900), 1) inset,0 0 1px 0 rgba(var(--sp-color-static-gray-900), 1)}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx .flash-overlay{pointer-events:none;background-color:#fff;position:absolute;top:0;right:0;bottom:0;left:0}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.flash-animation .flash-overlay{-webkit-animation:flash-asset-active-grid 1.5s ease-in-out;animation:flash-asset-active-grid 1.5s ease-in-out;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.square{background-color:rgba(var(--sp-color-gray-75), 1)}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.square.hovering .controls .rating,.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.square.hovering .controls .flag,.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.square.hover-lock .controls .rating,.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.square.hover-lock .controls .flag{opacity:1;pointer-events:auto}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.square-proofing{background-color:rgba(var(--sp-color-gray-100), 1)}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.square-proofing.proofing-selected{border:solid rgba(var(--sp-color-blue-400), 1)}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.square-deleted{background-color:rgba(var(--sp-color-gray-75), 1)}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.square-deleted.selecting{cursor:pointer}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.square-deleted.restoring,.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.square-deleted.restored{pointer-events:none;background-color:rgba(var(--sp-color-gray-200), 1)}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.square-deleted.restoring .select-check,.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.square-deleted.restored .select-check{display:none}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.round-people{background-color:rgba(var(--sp-color-gray-50), 1)}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.curated{background-color:rgba(var(--sp-color-gray-75), 1)}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.curated.group-opened{background-color:rgba(var(--sp-color-gray-200), 1)}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.curated.debug-locked{background-color:rgba(var(--sp-color-orange-500), 1)}.app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx.curated.reject:after{display:none}.app-assets-javascripts-_viewer-grid-views-photoview--dropHoverRight--eFyxq:before{content:"";position:absolute;width:2px;background-color:rgba(var(--sp-color-blue-400), 1);height:100%;right:5px;top:0}.app-assets-javascripts-_viewer-grid-views-photoview--dropHoverLeft--BQCaP:before{content:"";position:absolute;width:2px;background-color:rgba(var(--sp-color-blue-400), 1);height:100%;left:5px;top:0}.app-assets-javascripts-_viewer-grid-views-photoview--dropHoverCenter--eQnYw:before{content:"";position:absolute;width:2px;background-color:rgba(var(--sp-color-blue-400), 1);height:100%;left:calc(50% - 1px);top:0}.app-assets-javascripts-_viewer-grid-views-photoview--dropTarget--WaEZA{position:absolute;top:0;bottom:0}.app-assets-javascripts-_viewer-grid-views-photoview--splitContainer--zUBcK{position:absolute;top:0;bottom:0}.app-assets-javascripts-_viewer-grid-views-photoview--splitContainer--zUBcK svg{display:none}@media(hover: hover){.app-assets-javascripts-_viewer-grid-views-photoview--splitContainer--zUBcK:hover .app-assets-javascripts-_viewer-grid-views-photoview--splitIndicator--c6zyy{position:absolute;top:0;bottom:0;width:100%;cursor:col-resize}.app-assets-javascripts-_viewer-grid-views-photoview--splitContainer--zUBcK:hover .app-assets-javascripts-_viewer-grid-views-photoview--splitIndicator--c6zyy:before{content:"";position:absolute;width:2px;background-color:rgba(var(--sp-color-blue-400), 1);height:calc(50% - 16px);left:calc(50% - 1px);top:0}.app-assets-javascripts-_viewer-grid-views-photoview--splitContainer--zUBcK:hover .app-assets-javascripts-_viewer-grid-views-photoview--splitIndicator--c6zyy:after{content:"";position:absolute;width:2px;background-color:rgba(var(--sp-color-blue-400), 1);height:calc(50% - 16px);left:calc(50% - 1px);bottom:0}.app-assets-javascripts-_viewer-grid-views-photoview--splitContainer--zUBcK:hover .app-assets-javascripts-_viewer-grid-views-photoview--splitIndicator--c6zyy svg{position:absolute;display:inline;top:calc(50% - 8px);left:calc(50% - 8px)}}.app-assets-javascripts-_viewer-grid-views-photoview--dragContainer--cFFFx{position:relative;outline:2px solid rgba(var(--sp-color-gray-50), 1)}',""]),o.locals={grid_asset:"app-assets-javascripts-_viewer-grid-views-photoview--grid_asset--E9oMx",dropHoverRight:"app-assets-javascripts-_viewer-grid-views-photoview--dropHoverRight--eFyxq",dropHoverLeft:"app-assets-javascripts-_viewer-grid-views-photoview--dropHoverLeft--BQCaP",dropHoverCenter:"app-assets-javascripts-_viewer-grid-views-photoview--dropHoverCenter--eQnYw",dropTarget:"app-assets-javascripts-_viewer-grid-views-photoview--dropTarget--WaEZA",splitContainer:"app-assets-javascripts-_viewer-grid-views-photoview--splitContainer--zUBcK",splitIndicator:"app-assets-javascripts-_viewer-grid-views-photoview--splitIndicator--c6zyy",dragContainer:"app-assets-javascripts-_viewer-grid-views-photoview--dragContainer--cFFFx"};const s=o},708925:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr{position:relative;pointer-events:auto;display:block;width:100%;height:100%;border-radius:4px;border:1px solid transparent;box-sizing:border-box;transition:border-color,600ms,ease-in}.app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr.focused{border:1px solid rgba(var(--sp-color-blue-500), 1)}.app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr.focused input,.app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr.selected input{color:rgba(var(--sp-color-gray-800), 1)}.app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr.focused a.search-action.go svg.glyph.go path.colorable-fill,.app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr.selected a.search-action.go svg.glyph.go path.colorable-fill{fill:rgba(var(--sp-color-gray-600), 1)}.app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr.executed a.search-action.cancel{display:block}.app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr input{display:block;box-sizing:border-box;padding:0;margin:1px 0px 1px 32px;width:calc(100% - 64px);height:28px;border:none;outline:none;background:transparent;color:rgba(var(--sp-color-gray-600), 1);font-size:16px;line-height:28px}.app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr input::-ms-clear{display:none}.app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr input::-webkit-input-placeholder{color:rgba(var(--sp-color-gray-400), 1);line-height:28px;font-size:14px}.app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr input::-moz-placeholder{color:rgba(var(--sp-color-gray-400), 1);line-height:28px;font-size:14px}.app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr input:-moz-placeholder{color:rgba(var(--sp-color-gray-400), 1);line-height:28px;font-size:14px}.app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr a.search-action{display:block;position:absolute;top:0;width:32px;height:32px;cursor:pointer}.app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr a.search-action.go{left:0}.app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr a.search-action.cancel{display:none;right:0}.app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr a.search-action svg.glyph{display:block;position:absolute}.app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr a.search-action svg.glyph path.colorable-fill{fill:rgba(var(--sp-color-gray-600), 1)}.app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr a.search-action svg.glyph.go{top:8px;left:8px}.app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr a.search-action svg.glyph.go path.colorable-fill{fill:rgba(var(--sp-color-gray-400), 1)}.app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr a.search-action svg.glyph.cancel{top:10px;left:10px}.app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr a.search-action:hover svg.glyph path.colorable-fill{fill:rgba(var(--sp-color-gray-900), 1)}",""]),o.locals={search_input:"app-assets-javascripts-_viewer-shared-views-navcontrols-searchinputfield--search_input--OmJfr"};const s=o},40322:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".packages-sdk-lr-grid-src-AssetSourceContent--view--WI59N{display:flex;flex-direction:column;position:absolute;top:0;right:0;bottom:0;left:0}",""]),o.locals={view:"packages-sdk-lr-grid-src-AssetSourceContent--view--WI59N"};const s=o},30623:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a),s=r(110022),l=r.n(s),c=new URL(r(212699),r.b),u=o()(i()),p=l()(c);u.push([e.id,'.packages-sdk-lr-organizer-src-organizer-views-OrganizerBreadcrumb--breadcrumbs--g8Enr{display:block;list-style-type:none;margin:0;padding:0}.packages-sdk-lr-organizer-src-organizer-views-OrganizerBreadcrumb--breadcrumbs--g8Enr .breadcrumb{display:inline-block;position:relative;margin-right:24px;font-size:1rem;color:rgba(var(--sp-color-gray-700), 1)}.packages-sdk-lr-organizer-src-organizer-views-OrganizerBreadcrumb--breadcrumbs--g8Enr .breadcrumb .breadcrumb-link{color:inherit;text-decoration:none;cursor:pointer}.packages-sdk-lr-organizer-src-organizer-views-OrganizerBreadcrumb--breadcrumbs--g8Enr .breadcrumb.cursor-default{cursor:default}.packages-sdk-lr-organizer-src-organizer-views-OrganizerBreadcrumb--breadcrumbs--g8Enr .breadcrumb .breadcrumb-link:hover{color:rgba(var(--sp-color-gray-900), 1)}.packages-sdk-lr-organizer-src-organizer-views-OrganizerBreadcrumb--breadcrumbs--g8Enr .breadcrumb .breadcrumb-link::after{position:absolute;top:14px;right:-16px;width:8px;height:8px;background-repeat:no-repeat;background-position:center;-webkit-transform:scale(1.5);transform:scale(1.5);opacity:1;content:"";pointer-events:none;background-image:url('+p+")}.packages-sdk-lr-organizer-src-organizer-views-OrganizerBreadcrumb--breadcrumbs--g8Enr .breadcrumb:last-of-type{color:rgba(var(--sp-color-gray-900), 1)}.packages-sdk-lr-organizer-src-organizer-views-OrganizerBreadcrumb--breadcrumbs--g8Enr .breadcrumb:last-of-type .breadcrumb-link{cursor:default}.packages-sdk-lr-organizer-src-organizer-views-OrganizerBreadcrumb--breadcrumbs--g8Enr .breadcrumb:last-of-type .breadcrumb-link::after{display:none}",""]),u.locals={breadcrumbs:"packages-sdk-lr-organizer-src-organizer-views-OrganizerBreadcrumb--breadcrumbs--g8Enr"};const d=u},532622:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".packages-sdk-lr-organizer-src-organizer-views-OrganizerContent--container--oNZZk{display:flex;flex-direction:column;position:absolute;top:0;right:0;bottom:0;left:0}.packages-sdk-lr-organizer-src-organizer-views-OrganizerContent--container--oNZZk .content{display:flex;position:relative;flex-grow:1;flex-direction:column}",""]),o.locals={container:"packages-sdk-lr-organizer-src-organizer-views-OrganizerContent--container--oNZZk"};const s=o},162547:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".packages-sdk-lr-organizer-src-organizer-views-OrganizerHeader--header--QD3VC{display:flex;flex-direction:row;margin-top:14px;margin-bottom:14px}.packages-sdk-lr-organizer-src-organizer-views-OrganizerHeader--header--QD3VC .packages-sdk-lr-organizer-src-organizer-views-OrganizerHeader--breadcrumbs--Oflle{flex-grow:1;flex-shrink:1}.packages-sdk-lr-organizer-src-organizer-views-OrganizerHeader--header--QD3VC .packages-sdk-lr-organizer-src-organizer-views-OrganizerHeader--breadcrumbs--Oflle .breadcrumb{font-size:22px;line-height:32px;font-weight:normal}.packages-sdk-lr-organizer-src-organizer-views-OrganizerHeader--header--QD3VC .packages-sdk-lr-organizer-src-organizer-views-OrganizerHeader--search--fjOiz{height:32px;margin:0;border:1px solid transparent;border-bottom:1px solid rgba(var(--sp-color-gray-600), 1)}",""]),o.locals={header:"packages-sdk-lr-organizer-src-organizer-views-OrganizerHeader--header--QD3VC",breadcrumbs:"packages-sdk-lr-organizer-src-organizer-views-OrganizerHeader--breadcrumbs--Oflle",search:"packages-sdk-lr-organizer-src-organizer-views-OrganizerHeader--search--fjOiz"};const s=o},940182:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".packages-sdk-lr-organizer-src-organizer-views-folders-FolderContent--view--sZioB{display:flex;flex-direction:column;position:absolute;top:0;bottom:0;right:0;left:0}.packages-sdk-lr-organizer-src-organizer-views-folders-FolderContent--view--sZioB .scroller{display:flex;position:relative;flex-grow:1;flex-direction:column}",""]),o.locals={view:"packages-sdk-lr-organizer-src-organizer-views-folders-FolderContent--view--sZioB"};const s=o},970938:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,".src-ui-src-scroll-UIScroll--torq_scrollbar_thumb--BTPAo{background:rgba(var(--sp-color-gray-900), 0.4) !important}",""]),o.locals={torq_scrollbar_thumb:"src-ui-src-scroll-UIScroll--torq_scrollbar_thumb--BTPAo"};const s=o},316704:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(60860),i=r.n(n),a=r(573787),o=r.n(a)()(i());o.push([e.id,"@-webkit-keyframes throbber-pulse{0%,80%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}40%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes throbber-pulse{0%,80%{opacity:0;-webkit-transform:scale(0);transform:scale(0)}40%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.src-ui-src-views-LoadingThrobber--loading_throbber--sZDeR.small{position:absolute;z-index:2;top:50%;left:50%;width:22px;height:6px;margin:-3px 0 0 -11px}.src-ui-src-views-LoadingThrobber--loading_throbber--sZDeR.small .dot{position:absolute;top:0;width:6px;height:6px;background:#ccc;border-radius:3px;-webkit-transform:scale(0);transform:scale(0);-webkit-animation:throbber-pulse 1s ease-in-out infinite;animation:throbber-pulse 1s ease-in-out infinite}.src-ui-src-views-LoadingThrobber--loading_throbber--sZDeR.small .dot:nth-child(0){left:0px;-webkit-animation-delay:0s;animation-delay:0s}.src-ui-src-views-LoadingThrobber--loading_throbber--sZDeR.small .dot:nth-child(1){left:8px;-webkit-animation-delay:.1s;animation-delay:.1s}.src-ui-src-views-LoadingThrobber--loading_throbber--sZDeR.small .dot:nth-child(2){left:16px;-webkit-animation-delay:.2s;animation-delay:.2s}.src-ui-src-views-LoadingThrobber--loading_throbber--sZDeR.normal{position:absolute;z-index:2;top:50%;left:50%;width:40px;height:12px;margin:-6px 0 0 -20px}.src-ui-src-views-LoadingThrobber--loading_throbber--sZDeR.normal .dot{position:absolute;top:0;width:12px;height:12px;background:#ccc;border-radius:6px;-webkit-transform:scale(0);transform:scale(0);-webkit-animation:throbber-pulse 1s ease-in-out infinite;animation:throbber-pulse 1s ease-in-out infinite}.src-ui-src-views-LoadingThrobber--loading_throbber--sZDeR.normal .dot:nth-child(0){left:0px;-webkit-animation-delay:0s;animation-delay:0s}.src-ui-src-views-LoadingThrobber--loading_throbber--sZDeR.normal .dot:nth-child(1){left:14px;-webkit-animation-delay:.1s;animation-delay:.1s}.src-ui-src-views-LoadingThrobber--loading_throbber--sZDeR.normal .dot:nth-child(2){left:28px;-webkit-animation-delay:.2s;animation-delay:.2s}",""]),o.locals={loading_throbber:"src-ui-src-views-LoadingThrobber--loading_throbber--sZDeR"};const s=o},573787:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,n,i,a){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(o[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);n&&o[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u))}},t}},110022:e=>{"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},60860:e=>{"use strict";e.exports=function(e){return e[1]}},537188:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var a={},o=[],s=0;s<e.length;s++){var l=e[s],c=n.base?l[0]+n.base:l[0],u=a[c]||0,p="".concat(c," ").concat(u);a[c]=u+1;var d=r(p),m={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==d)t[d].references++,t[d].updater(m);else{var h=i(m,n);n.byIndex=s,t.splice(s,0,{identifier:p,updater:h,references:1})}o.push(p)}return o}function i(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,i){var a=n(e=e||[],i=i||{});return function(e){e=e||[];for(var o=0;o<a.length;o++){var s=r(a[o]);t[s].references--}for(var l=n(e,i),c=0;c<a.length;c++){var u=r(a[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}a=l}}},774154:e=>{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},934809:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},811949:(e,t,r)=>{"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},165764:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var i=void 0!==r.layer;i&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,i&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var a=r.sourceMap;a&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},12509:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},808795:e=>{function t(e,t){var r=e.toString();if(r.length<t){var n=[];n.length=t-r.length+1,r=n.join("0")+r}return r}function r(e,t){return Object.getOwnPropertyNames(t).forEach((function(n){if("object"==typeof t[n])"object"!=typeof e[n]&&(e[n]={}),r(e[n],t[n]);else{var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i)}})),e}function n(e,t,r){e.forEach((function(e){setTimeout((function(){e(t,r)}))}))}var i={prod:"cc-api-data.adobe.io",stage:"cc-api-data-stage.adobe.io",dev:"cc-api-data-dev.adobe.io"},a="/ingest",o={ENVIRONMENT:"prod",ALLOW_NO_TOKEN:!1,ANALYTICS_INGEST_TYPE:"dunamis",ANALYTICS_MAX_QUEUED_EVENTS:50,ANALYTICS_DEBOUNCE:1e4,ANALYTICS_API_KEY:null,ANALYTICS_X_PRODUCT:null,ANALYTICS_X_PRODUCT_LOCATION:void 0,ANALYTICS_PROJECT:null,ANALYTICS_USER_REGION:"UNKNOWN",TIMESTAMP_PROPERTY_NAME:"event.dts_end"},s=["ANALYTICS_API_KEY","ANALYTICS_X_PRODUCT","ANALYTICS_PROJECT"];function l(e,t){e=e||{},t=t||{};var n=e=>{throw this._log(e),new Error("ERROR: "+e)};this._queuedEvents=[],this._queuedCallbacks=[],this._lastSendTime=0,this._isEnabled=!1,this._dependencies=r({},e),e.getAccessToken&&"function"==typeof e.getAccessToken||n("Missing dependency: getAccessToken"),this._options={},Object.keys(o).forEach((e=>{this._options[e]=t[e]||o[e]})),s.forEach((e=>{this._options[e]||n("Missing option: "+e)})),"undefined"==typeof fetch&&n("Ingest requires fetch - if in a node environment, set 'global.fetch = require('node-fetch');'")}l.prototype._log=function(e){var t=this._dependencies.log;t&&t("Ingest :: "+e)},l.prototype._getAgent=function(e,t){this._dependencies.getAgent?this._dependencies.getAgent(e,t):t(null,{})},l.prototype._getAccessToken=function(e){this._dependencies.getAccessToken(e)},l.prototype._clearAccessToken=function(){this._dependencies.clearAccessToken&&this._dependencies.clearAccessToken()},l.prototype._getEnvironment=function(){return i[this._options.ENVIRONMENT]?this._options.ENVIRONMENT:"prod"},l.prototype._getAnalyticsHost=function(){return i[this._getEnvironment()]},l.prototype._formatTimestamp=function(e){var r=e.getFullYear(),n=t(e.getMonth()+1,2),i=t(e.getDate(),2),a=t(e.getHours(),2),o=t(e.getMinutes(),2),s=t(e.getSeconds(),2),l=t(e.getMilliseconds(),3),c=e.getTimezoneOffset(),u=c<0?"+":"-",p=Math.floor(Math.abs(c)/60),d=Math.abs(c)%60;return r+"-"+n+"-"+i+"T"+a+":"+o+":"+s+"."+l+(u+t(p,2)+t(d,2))},l.prototype._updateDebounce=function(e){var t=e&&(e["retry-after"]||e["Retry-After"]),r=0;if(t){var n;try{n=parseInt(t,10)}catch(e){}if(n)r=Math.max(0,n);else{var i=Date.parse(t);if(i){var a=(new Date).valueOf();r=Math.max(0,i-a)/1e3+Math.floor(10*Math.random())}}}this._options.ANALYTICS_DEBOUNCE=Math.max(1e3*r,this._options.ANALYTICS_DEBOUNCE)},l.prototype._queueEvent=function(e){this._queuedEvents.length>=this._options.ANALYTICS_MAX_QUEUED_EVENTS&&this._queuedEvents.shift(),this._queuedEvents.push(e)},l.prototype._requeueEvents=function(e){this._queuedEvents=e.concat(this._queuedEvents),this._queuedEvents=function(e,t){var r=e;if(e&&e.length>t&&t>0){var n=e.length-t;r=e.slice(n,e.length)}return r}(this._queuedEvents,this._options.ANALYTICS_MAX_QUEUED_EVENTS)},l.prototype._sendAnalytics=function(e,t,i){if(i=i||0,t&&this._queuedCallbacks.push(t),!this._isEnabled||0===this._queuedEvents.length){var o=this._queuedCallbacks;return this._queuedCallbacks=[],void(this._isEnabled?n(o,null,0):n(o,new Error("Analytics Disabled")))}var s=this._options.ANALYTICS_DEBOUNCE;if(e&&(s=0,clearTimeout(this._pendingSendAnalyticsTimeout),this._pendingSendAnalyticsTimeout=void 0),this._sendingEvents||this._pendingSendAnalyticsTimeout)e&&(this._fastFollow=!0);else{var l=(new Date).valueOf();if(l-this._lastSendTime<s)this._pendingSendAnalyticsTimeout=setTimeout((()=>{this._pendingSendAnalyticsTimeout=void 0,this._sendAnalytics()}),s);else{this._lastSendTime=l,this._sendingEvents=this._queuedEvents,this._sendingCallbacks=this._queuedCallbacks,this._queuedEvents=[],this._queuedCallbacks=[];var c,u=(c=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)})()+c()+"-"+c()+"-"+c()+"-"+c()+"-"+c()+c()+c(),p="["+u+"] ",d={events:this._sendingEvents},m=e=>{var t=this._queuedEvents?this._queuedEvents.length:0;if(this._sendingEvents){var r=this._sendingEvents.length;e?(this._requeueEvents(this._sendingEvents),this._log(p+"Error sending "+r+" events: "+e)):this._log(p+"Success sending "+r+" events: "+JSON.stringify(this._sendingEvents)),delete this._sendingEvents;var i=this._sendingCallbacks;delete this._sendingCallbacks,e?n(i,e):n(i,null,r)}t>0&&this._sendAnalytics(this._fastFollow),this._fastFollow=!1},h=(e,t)=>{if(this._updateDebounce(t),401===e&&0===i)return this._clearAccessToken(),this._requeueEvents(this._sendingEvents),delete this._sendingEvents,this._queuedCallbacks=this._sendingCallbacks.concat(this._queuedCallbacks),delete this._sendingCallbacks,this._log(p+"Access token is expired. Retry one more time."),void this._sendAnalytics(!0,void 0,i+1);200===e?m():m(new Error("Unexpected Response: "+e))};this._getAccessToken(((e,t)=>{if(e&&!this._options.ALLOW_NO_TOKEN)return void m(e);if(!(t&&0!==t.length||this._options.ALLOW_NO_TOKEN))return void m(new Error("No access token"));var n="https://"+this._getAnalyticsHost();this._log(p+"Sending analytics to "+n+a);const i={"x-api-key":this._options.ANALYTICS_API_KEY,"X-Product":this._options.ANALYTICS_X_PRODUCT,"User-Agent":this._options.ANALYTICS_USER_AGENT||this._options.ANALYTICS_API_KEY,"X-Request-Id":u,"Content-Type":"application/json"};t&&(i.Authorization="Bearer "+t),this._options.ANALYTICS_X_PRODUCT_LOCATION&&(i["X-Product-Location"]=this._options.ANALYTICS_X_PRODUCT_LOCATION),this._getAgent(n,((e,t)=>{const o={method:"POST",headers:i,body:JSON.stringify(d)};t&&t.agent?o.agent=t&&t.agent:r(o,t||{}),fetch(n+a,o).then((e=>{h(e.status,e.headers)}),m)}))}))}}},l.prototype.enable=function(e){this._isEnabled=e,e&&this._sendAnalytics(!0)},l.prototype.postEvent=function(e,t,r){var i=r||{},a="event.dts_start",o="event.coll_dts",s=i.TIMESTAMP_PROPERTY_NAME||this._options.TIMESTAMP_PROPERTY_NAME,l=i.ANALYTICS_PROJECT||this._options.ANALYTICS_PROJECT,c=i.ANALYTICS_INGEST_TYPE||this._options.ANALYTICS_INGEST_TYPE;e[o]&&e[o]instanceof Date&&(e[o]=this._formatTimestamp(e[o])),e[a]&&e[a]instanceof Date&&(e[a]=this._formatTimestamp(e[a])),e[s]||(e[s]=this._formatTimestamp(new Date)),e[s]instanceof Date&&(e[s]=this._formatTimestamp(e[s]));var u={time:e[s],project:l,environment:this._getEnvironment(),ingesttype:c,data:e};e.simulate?(this._log("event sim:"+JSON.stringify(u)),t&&n([t],null,0)):(this._queueEvent(u),this._sendAnalytics(!1,t))},l.prototype.flush=function(e,t){this._sendAnalytics(e,t)},e.exports=l},978746:()=>{!function(){"use strict";var e,t,r=document,n=Object.defineProperty,i="replace",a=function(e){return e[i](/%2523access_token%253D.*?%2526/gim,"%2526")[i](/%23access_token%3D.*?%26/gim,"%26")[i](/#access_token=.*?&/gim,"&")[i](/information=[^\&]+/,"")[i](/puser=[^\&]+/,"")[i](/fnuser=[^\&]+/,"")[i](/lnuser=[^\&]+/,"")};try{var o="referrer",s=r[o],l=a(s);l!==s&&n(r,o,{configurable:!0,value:l})}catch(e){}e=window,t=function(){function e(e,t){d.add(e,t),p||(p=y(d.drain))}function t(e){var t,r=g(e);return null==e||r!=h&&r!=m||(t=e.then),g(t)==m&&t}function r(){for(var e=0;e<this.chain.length;e++)n(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function n(e,r,n){var i,a;try{!1===r?n.reject(e.msg):(i=!0===r?e.msg:r.call(void 0,e.msg))===n.promise?n.reject(f("Promise-chain cycle")):(a=t(i))?a.call(i,n.resolve,n.reject):n.resolve(i)}catch(e){n.reject(e)}}function i(n){var o,l=this;if(!l.triggered){l.triggered=!0,l.def&&(l=l.def);try{(o=t(n))?e((function(){var e=new s(l);try{o.call(n,(function(){i.apply(e,arguments)}),(function(){a.apply(e,arguments)}))}catch(t){a.call(e,t)}})):(l.msg=n,l.state=1,l.chain.length>0&&e(r,l))}catch(e){a.call(new s(l),e)}}}function a(t){var n=this;n.triggered||(n.triggered=!0,n.def&&(n=n.def),n.msg=t,n.state=2,n.chain.length>0&&e(r,n))}function o(e,t,r,n){for(var i=0;i<t.length;i++)!function(i){e.resolve(t[i]).then((function(e){r(i,e)}),n)}(i)}function s(e){this.def=e,this.triggered=!1}function l(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function c(t){if(g(t)!=m)throw f(v);if(0!==this.__NPO__)throw f("Not a promise");this.__NPO__=1;var n=new l(this);this.then=function(t,i){var a={success:g(t)!=m||t,failure:g(i)==m&&i};return a.promise=new this.constructor((function(e,t){if(g(e)!=m||g(t)!=m)throw f(v);a.resolve=e,a.reject=t})),n.chain.push(a),0!==n.state&&e(r,n),a.promise},this.catch=function(e){return this.then(void 0,e)};try{t.call(void 0,(function(e){i.call(n,e)}),(function(e){a.call(n,e)}))}catch(e){a.call(n,e)}}var u,p,d,m="function",h="object",v="Not a "+m,g=function(e){return typeof e},f=TypeError,b=Object.prototype.toString,y="undefined"!=typeof setImmediate?function(e){return setImmediate(e)}:setTimeout;u=function(e,t,r,n){return Object.defineProperty(e,t,{value:r,writable:!0,configurable:!1!==n})},d=function(){function e(e,t){this.fn=e,this.self=t,this.next=void 0}var t,r,n;return{add:function(i,a){n=new e(i,a),r?r.next=n:t=n,r=n,n=void 0},drain:function(){var e=t;for(t=r=p=void 0;e;)e.fn.call(e.self),e=e.next}}}();var _=u({},"constructor",c,!1);return c.prototype=_,u(_,"__NPO__",0,!1),u(c,"resolve",(function(e){return e&&g(e)==h&&1===e.__NPO__?e:new this((function(t,r){if(g(t)!=m||g(r)!=m)throw f(v);t(e)}))})),u(c,"reject",(function(e){return new this((function(t,r){if(g(t)!=m||g(r)!=m)throw f(v);r(e)}))})),u(c,"all",(function(e){var t=this;return"[object Array]"!=b.call(e)?t.reject(f("Not an array")):0===e.length?t.resolve([]):new t((function(r,n){if(g(r)!=m||g(n)!=m)throw f(v);var i=e.length,a=Array(i),s=0;o(t,e,(function(e,t){a[e]=t,++s===i&&r(a)}),n)}))})),u(c,"race",(function(e){var t=this;return"[object Array]"!=b.call(e)?t.reject(f("Not an array")):new t((function(r,n){if(g(r)!=m||g(n)!=m)throw f(v);o(t,e,(function(e,t){r(t)}),n)}))})),c},"undefined"==typeof Promise&&(e.Promise=t());var c=window,u=c.console.log;function p(e){throw Error(e)}var d,m,h,v,g,f,b,y,_,w=c.__satelliteEmbedCode,k=c.marketingtech,Z="digitalData",x=Z+".",S="object",$="array",A="function",C="sub-object not ",T=C+S,P=C+$,z=/^(.+?)((?:\[(?:n|\d+)\])+?)$/,E=/n|\d+/g,O=Array.isArray,I=0,R=k&&k.digitalData&&k.digitalData.debug;if(y=function(e){return typeof e},_=function(e,t){return e.hasOwnProperty(t)},(h=(m=function(e,t){var r,i=this;if(n(i,"_id",{value:++I}),R&&u(i._id+": CREATED"),n(i,"_pending",{value:{}}),n(i,"_listeners",{value:{}}),e&&i._set(Z,e),t)for(r in t)_(t,r)&&i._set(r,t[r])}).prototype)._merge=v=function(e,t,r,n){var i,a,o,s,l;for(i in n=n||"",t)_(t,i)&&(a=e[i],null!=(o=t[i])&&(null==a?e[i]=o:(s=O(a)?$:y(a),l=O(o)?$:y(o),s===S||l===S?s===l&&(e[i]=v(a,o,r,n+"  ")):r||(s!==$&&(a=[a]),l===$?a=a.concat(o):a.push(o),e[i]=a))));return e},h._flatten=g=function(e,t,r,n){var i,a,o,s,l,c,u={},p={};for(e=e||this,e=JSON.parse(JSON.stringify(e)),i=0,a=(s=O(e)?e:Object.keys(e)).length;i<a;i++)l=O(e)?i:s[i],o=t?(O(e),t+"."+l):l+"",c=e[l],y(c)===S&&null!==c?u=v(u,g(c,o,r,n),!0):y(c)!==A&&(n?y(n)===S?O(n)?-1!==n.indexOf(o)&&(u[o]=c):n[o]&&(u[o]=c):y(n)===A?n(o)&&(u[o]=c):u[o]=c:u[o]=c);if(!O(e)||!r)return u;for(i=0,a=s.length;i<a;i++)c=e[l=i],y(c)===S&&(p=v(p,c));return u=v(u,g(p,o=t?t+".__collapsed":"__collapsed",r,n),!0),u=v(u,g(f(p,"|","|","|"),o,r,n),!0),u=v(u,g(p,o=t?t+".__joined":"__joined",r,n),!0),v(u,g(f(p,","),o,r,n),!0)},h._collapse=f=function(e,t,r,n){var i,a,o,s={};for(i in t=t||",",r=r||"",n=n||"",e)_(e,i)&&(a=e[i],o=O(a)?$:y(a),s[i]=o===$?r+a.join(t)+n:o===S?f(a,t,r,n):a);return s},h._recurse=b=function(e,t,r,n){var i,a,o,s,l,c;if(e&&y(e)===S)for(i=0,a=(s=O(e)?e:Object.keys(e)).length;i<a;i++)O(e)?(o=i,l=t+"[n]"):l=t+"."+(o=s[i]),c=e[o],r&&r({path:l,property:o,value:c},{path:t,value:e}),c&&y(c)===S&&b(c,l,r,n),n&&n({path:l,property:o,value:c},{path:t,value:e})},h._get=function(e){var t,r,n,i,a,o,s,l,c,p,d=this,m=d;if(R&&u(d._id+': GET "'+e+'"'),!e||e===Z)return d;for(0!==e.indexOf(Z)&&(e=x+e),(t=e.split(".")).shift(),a=0,o=t.length;a<o;a++){if(c=a===o-1,i=(r=t[a]).match(z)){if(r=i[1],i=i[2].match(E),m=m[r],!O(m))return;for(s=0,l=i.length;s<l;s++)if(p=s===l-1,m=m[n="n"===(n=i[s])?m.length-1:parseInt(n)],!p&&!O(m))return}else m=m[r];if(!m||c)return m}},h._set=function(e,t){var r,n,i,a,o,s,l,c,d,m,h,v,g,f,w,k=this,$=k,C=[],I=k._pending;if(R&&u(k._id+': SET "'+e+'" '+JSON.stringify(t)),e||(e=Z),0!==e.indexOf(Z)&&(e=x+e),e!==Z||t!==k){if(I[e]&&(I[e].cancelled=!0,delete I[e]),null!=t&&(y(t)===S||y(t)===A)&&y(t.then)===A){if((n=t.then((function(t){return n.cancelled||k._set(e,t),t}),(function(){n.cancelled||delete I[e]}))).cancelled=!1,I[e]=n,!_(t,"unresolved"))return;r=t,t=t.unresolved,delete r.unresolved}if(e===Z){if(y(t)!==S)return;for(l in b(k,Z,(function(e){I[e.path]&&(I[e.path].cancelled=!0,delete I[e.path]),C.push(e.path)})),k)_(t,l)&&t[l]&&t[l]!==k[l]&&delete k[l];for(l in t)_(t,l)&&(k[l]=t[l])}else for((m=e.split(".")).shift(),i=0,a=m.length;i<a;i++)if(c=i===a-1,g=(h=m[i]).match(z))for(h=g[1],g=g[2].match(E),$=$[h]=$[h]||[],O($)||p(P),o=0,s=g.length;o<s;o++)d=o===s-1,v="n"===(v=g[o])?$.length:parseInt(v),d?c?$[v]=t:($=$[v]=$[v]||{},y($)!==S&&p(T)):($=$[v]=$[v]||[],O($)||p(P));else c?$[h]=t:($=$[h]=$[h]||{},y($)!==S&&p(T));if(e===Z)C.push(e);else for(f=[],i=0,a=(m=e.split(".")).length;i<a;i++)(g=(h=m[i]).match(z))&&(h=g[1],h+=g=g[2].replace(E,"n")),f.push(h),C.push(f.join("."));for(b(t,e,(function(e){I[e.path]&&(I[e.path].cancelled=!0,delete I[e.path]),-1===C.indexOf(e.path)&&C.push(e.path)})),i=C.length-1;i>=0;i--)w=C[i],k._trigger(w)}},h._unset=h._delete=function(e){return R&&u(this._id+': DELETE "'+e+'"'),this._set(e,void 0)},h._on=function(e,t){var r;if(""===e)e=Z;else if(!e)return!1;0!==e.indexOf(Z)&&(e=x+e),(r=this._listeners[e])||(r=this._listeners[e]=[]),r.push(t)},h._off=function(e,t){var r,n;if(""===e)e=Z;else if(!e)return!1;return 0!==e.indexOf(Z)&&(e=x+e),!!(n=this._listeners[e])&&-1!==(r=n.indexOf(t))&&(n.splice(r,1),!0)},h._trigger=function(e){var t,r,n,i;if(""===e)e=Z;else if(!e)return!1;if(0!==e.indexOf(Z)&&(e=x+e),!(i=this._listeners[e]))return!1;for(t=0,r=i.length;t<r;t++)if(n=i[t])try{n(this._get(e))}catch(e){}},h._resolved=function(){var e,t=[],r=this._pending;for(e in r)_(r,e)&&t.push(r[e]);return Promise.all(t)},h._snapshot=h._copy=function(){return new m(JSON.parse(JSON.stringify(this)),this._pending)},c.DigitalData=m,!w){if(d=new m,c.digitalData){d._set(Z,c.digitalData);try{delete c.digitalData}catch(e){}}n(c,Z,{enumerable:!0,get:function(){return d},set:function(e){d._set(Z,e)}})}var j=d,N=r.getElementsByTagName("head")[0],D=c.performance,L=decodeURIComponent;function M(e){var t,n,i,a;for(n=0,i=(t=r.cookie?r.cookie.split("; "):[]).length;n<i;n++)if(a=t[n],L(a.substr(0,a.indexOf("=")))===e)return L(a.substr(a.indexOf("=")+1))}var B,F,H,U="at-body-style",q="targetGlobalSettings",V="bodyHidingEnabled",W=M("OptanonConsent"),J=M("OptanonChoice"),G=c.location.search;if(B=k&&k.adobe&&k.adobe.target,F=c[q]=c[q]||{},H=r.getElementById(U),w||!B||V in F&&!F[V]||-1!==G.indexOf("mboxDisable=1")||-1!==r.cookie.indexOf("adobe_optout")||J&&W&&-1!==W.indexOf("C0002:0"))H&&H.parentNode&&H.parentNode.removeChild(H);else{if(!H){(H=r.createElement("style")).id=U,H.innerHTML="body{opacity:0.01 !important}";try{D.mark("targetBodyHide"),N.appendChild(H)}catch(e){}}setTimeout((function(){F[V]=!1;try{N.removeChild(r.getElementById(U))}catch(e){}}),3e3)}function K(e,t){c.addEventListener(e,t)}var Y=encodeURIComponent;function X(e,t,n,i){var a="";t=t||"",a+=i?e+"="+t:Y(e)+"="+Y(t),n.path&&(a+="; path="+n.path),n.expires&&(a+="; expires="+n.expires.toUTCString()),n.domain&&(a+="; domain="+n.domain),n.samesite&&(a+="; samesite="+n.samesite),r.cookie=a}var Q,ee,te,re,ne,ie,ae,oe="",se=[],le="adobePrivacy:Privacy",ce="OptanonChoice",ue=new Date,pe={domain:function(){if(oe)return oe;var e=c.location.hostname.toLowerCase().split("."),t=[],r="",n=null,i=!1,a="sat_domain";for(r=e.pop(),t.unshift(r);e.length>0;){r=e.pop(),t.unshift(r),(n=new Date).setTime(n.getTime()+1e3);try{X(a,"A",{expires:n,domain:t.join(".")})}catch(e){break}if("A"===M(a)){i=!0,oe=t.join(".");break}}return i?oe:""}(),path:"/",samesite:"Lax",expires:(ue.setFullYear(ue.getFullYear()+1),ue)};function de(e){var t=JSON.parse(JSON.stringify(e.location));return t.href=a(t.href),t.hash=a(t.hash),t.search=a(t.search),t}Q=function(e){re?e(c._satellite):se.push(e)},ee=new Promise((function(e){Q(e)})),te=function(){var e,t,r;for(re=!0,e=0,t=se.length;e<t;e++){r=se[e];try{r(c._satellite)}catch(e){}}},c.__satelliteLoadedCallback=Q,c.__satelliteLoadedPromise=ee,ie=function(e){r.write('<script src="'+e+'"><\/script>')},K(le+"Consent",(function(){X(ce,1,pe)})),K(le+"Reject",(function(){X(ce,2,pe)})),K(le+"Custom",(function(){X(ce,3,pe)})),K(le+"Consent",(function(){var e,t=le+"Consent:DTM";"function"==typeof c.CustomEvent?e=new CustomEvent(t):(e=r.createEvent("CustomEvent")).initCustomEvent(t,!1,!1,void 0),Q((function(){"complete"===r.readyState?r.body.dispatchEvent(e):K("load",(function(){r.body.dispatchEvent(e)}))}))})),w?(ie(w),(ne=function(){c._satellite&&c._satellite.initialized?te():setTimeout(ne,100)})()):(ae=function(){!function(e,t){var n,i,a=r.createElement("script"),o=!1;a.src=e,a.async=!0,t&&(a.onload=a.onreadystatechange=function(e){var r=this.readyState;o||r&&"complete"!==r&&"loaded"!==r||(o=!0,t(e))}),(n=r.getElementsByTagName("script")[0])&&n.parentNode?(i=n.parentNode).insertBefore(a,n):(i=N)?i.appendChild(a):r.body?(i=r.body).appendChild(a):p("no script parent")}(function(e,t){var r,n,i,a,o,s=c.location,l="https://assets.adobedtm.com/",u=l+"launch-",p="d4d114c60e50/a7f0c794cf07/launch-",d={globalDev:"EN9a7b3bd7db454856b44f27730f263fa0",globalStage:"EN2731bb0857084837b7142cd2017286bb",globalProd:"EN919758db9a654a17bac7d184b99c4820",ucDev:"ENed7cfab651fa4714a57bf937efb0cd23-development",ucStage:"EN1450794db7d0411a8b3f3b08dd706d00-staging",ucProd:"ENd6b040128459463bad781a5daa85ce0f",videoDev:"EN2d7bf2d8326b4ff1aa5335189a385023-development",videoStage:"EN60e5086def0d48e9ae2195234cb1b389-staging",videoProd:"EN58452fb8d9534cacbb8aeac0c8e15215",minimalDev:"EN876eeadff442464cb438819d695e077d-development",minimalStage:"ENa9d6ac46ca57441784434d28ceb9ddba-staging",minimalProd:"EN08637acac77f4e20b9e413aeb86f610e",editBillingDev:p+"f8f2a9a7669b-development",editBillingStage:p+"4f62e3c9406b-staging",editBillingProd:p+"247b8615afc6"};return r=s.hostname,o=function(e){return-1!==r.indexOf(e)},k&&k.adobe&&k.adobe.launch&&(k.adobe.launch.embedCode||k.adobe.launch.environment||k.adobe.launch.property)?(n=k.adobe.launch.embedCode,i=k.adobe.launch.property,a=k.adobe.launch.environment,n?0===n.indexOf("EN")?u+=n:u=l+n:function(e){"video analytics"==e&&(e="video"),"unified checkout"==e&&(e="uc"),"Payment Info Editor"==e&&(e="editBilling",u=l),"dev"===a?u+=d[e+"Dev"]:"stage"===a?u+=d[e+"Stage"]:"production"===a?u+=d[e+"Prod"]:(u+=d[e+"Prod"],console.warn('marketingtech.adobe.launch.environment invalid. Falling back to "production".'))}(i||"global")):o("localhost.account.adobe.com")||o("prestage1.account.adobe.com")||o("prestage2.account.adobe.com")?u+=d.globalDev:o("stage.account.adobe.com")||o("prod-inactive.account.adobe.com")||o("prod-active.account.adobe.com")?u+=d.globalStage:o("account.adobe.com")?u+=d.globalProd:(o("localhost.")||console.error("unrecognized domain. Please email marketingtech@adobe.com."),u+=d.globalDev),(u+=".min")+".js"}(),te)},k&&k.adobe&&k.adobe.launch&&k.adobe.launch.load?k.adobe.launch.load(ae):ae());var me,he="initialPage.pageInfo.location",ve="message",ge=c.top;function fe(e,t){try{e._set(t,de(ge))}catch(r){K(ve,(function(r){r.data.n===he&&e._set(t,r.data.v)})),ge.postMessage({n:he},"*")}}c===ge&&(me=de(c),K(ve,(function(e){var t,r=e.origin,n=r.length;((t=function(e){return r.substring(n-e.length,n)===e})(".adobe.com")||t("//adobe.com"))&&e.data.n===he&&e.source.postMessage({n:he,v:me},"*")})));var be=[];c._satellite=c._satellite||{},c._satellite.track=function(e,t){var r;(t=t||{})._beforeSatelliteLoaded=!0,w||((r=t.digitalData=t.digitalData||c.digitalData._snapshot())._set("page.pageInfo.location",de(c)),fe(r,"page.topFrameInfo.location")),be.push([e,t])},c.__satelliteLoadedCallback((function(){var e,t,r;for(e=0,t=be.length;e<t;e++)r=be[e],c._satellite.track(r[0],r[1])})),w||(j._set("marketingtech.bootstrap.version","0.20.0"),j._set("initialPage.pageInfo.location",de(c)),fe(j,"initialPage.topFrameInfo.location"))}()},267519:(e,t)=>{"use strict";t.Q=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var n={},a=t||{},s=e.split(i),l=a.decode||r,c=0;c<s.length;c++){var u=s[c],p=u.indexOf("=");if(!(p<0)){var d=u.substr(0,p).trim(),m=u.substr(++p,u.length).trim();'"'==m[0]&&(m=m.slice(1,-1)),null==n[d]&&(n[d]=o(m,l))}}return n},t.q=function(e,t,r){var i=r||{},o=i.encode||n;if("function"!=typeof o)throw new TypeError("option encode is invalid");if(!a.test(e))throw new TypeError("argument name is invalid");var s=o(t);if(s&&!a.test(s))throw new TypeError("argument val is invalid");var l=e+"="+s;if(null!=i.maxAge){var c=i.maxAge-0;if(isNaN(c))throw new Error("maxAge should be a Number");l+="; Max-Age="+Math.floor(c)}if(i.domain){if(!a.test(i.domain))throw new TypeError("option domain is invalid");l+="; Domain="+i.domain}if(i.path){if(!a.test(i.path))throw new TypeError("option path is invalid");l+="; Path="+i.path}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw new TypeError("option expires is invalid");l+="; Expires="+i.expires.toUTCString()}if(i.httpOnly&&(l+="; HttpOnly"),i.secure&&(l+="; Secure"),i.sameSite)switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"strict":l+="; SameSite=Strict";break;case"none":l+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return l};var r=decodeURIComponent,n=encodeURIComponent,i=/; */,a=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function o(e,t){try{return t(e)}catch(t){return e}}},784090:(e,t)=>{var r,n,i;n="undefined"!=typeof window?window:this,i=function(n,i){var a=[],o=a.slice,s=a.concat,l=a.push,c=a.indexOf,u={},p=u.toString,d=u.hasOwnProperty,m={},h=n.document,v="2.1.3",g=function(e,t){return new g.fn.init(e,t)},f=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,b=/^-ms-/,y=/-([\da-z])/gi,_=function(e,t){return t.toUpperCase()};function w(e){var t=e.length,r=g.type(e);return"function"!==r&&!g.isWindow(e)&&(!(1!==e.nodeType||!t)||"array"===r||0===t||"number"==typeof t&&t>0&&t-1 in e)}g.fn=g.prototype={jquery:v,constructor:g,selector:"",length:0,toArray:function(){return o.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:o.call(this)},pushStack:function(e){var t=g.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return g.each(this,e,t)},map:function(e){return this.pushStack(g.map(this,(function(t,r){return e.call(t,r,t)})))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,r=+e+(e<0?t:0);return this.pushStack(r>=0&&r<t?[this[r]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:l,sort:a.sort,splice:a.splice},g.extend=g.fn.extend=function(){var e,t,r,n,i,a,o=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof o&&(c=o,o=arguments[s]||{},s++),"object"==typeof o||g.isFunction(o)||(o={}),s===l&&(o=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)r=o[t],o!==(n=e[t])&&(c&&n&&(g.isPlainObject(n)||(i=g.isArray(n)))?(i?(i=!1,a=r&&g.isArray(r)?r:[]):a=r&&g.isPlainObject(r)?r:{},o[t]=g.extend(c,a,n)):void 0!==n&&(o[t]=n));return o},g.extend({expando:"jQuery"+(v+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===g.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){return!g.isArray(e)&&e-parseFloat(e)+1>=0},isPlainObject:function(e){return!("object"!==g.type(e)||e.nodeType||g.isWindow(e)||e.constructor&&!d.call(e.constructor.prototype,"isPrototypeOf"))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?u[p.call(e)]||"object":typeof e},globalEval:function(e){var t,r=eval;(e=g.trim(e))&&(1===e.indexOf("use strict")?((t=h.createElement("script")).text=e,h.head.appendChild(t).parentNode.removeChild(t)):r(e))},camelCase:function(e){return e.replace(b,"ms-").replace(y,_)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,r){var n=0,i=e.length,a=w(e);if(r){if(a)for(;n<i&&!1!==t.apply(e[n],r);n++);else for(n in e)if(!1===t.apply(e[n],r))break}else if(a)for(;n<i&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},trim:function(e){return null==e?"":(e+"").replace(f,"")},makeArray:function(e,t){var r=t||[];return null!=e&&(w(Object(e))?g.merge(r,"string"==typeof e?[e]:e):l.call(r,e)),r},inArray:function(e,t,r){return null==t?-1:c.call(t,e,r)},merge:function(e,t){for(var r=+t.length,n=0,i=e.length;n<r;n++)e[i++]=t[n];return e.length=i,e},grep:function(e,t,r){for(var n=[],i=0,a=e.length,o=!r;i<a;i++)!t(e[i],i)!==o&&n.push(e[i]);return n},map:function(e,t,r){var n,i=0,a=e.length,o=[];if(w(e))for(;i<a;i++)null!=(n=t(e[i],i,r))&&o.push(n);else for(i in e)null!=(n=t(e[i],i,r))&&o.push(n);return s.apply([],o)},guid:1,proxy:function(e,t){var r,n,i;if("string"==typeof t&&(r=e[t],t=e,e=r),g.isFunction(e))return n=o.call(arguments,2),i=function(){return e.apply(t||this,n.concat(o.call(arguments)))},i.guid=e.guid=e.guid||g.guid++,i},now:Date.now,support:m}),g.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),(function(e,t){u["[object "+t+"]"]=t.toLowerCase()}));var k=function(e){var t,r,n,i,a,o,s,l,c,u,p,d,m,h,v,g,f,b,y,_="sizzle"+1*new Date,w=e.document,k=0,Z=0,x=oe(),S=oe(),$=oe(),A=function(e,t){return e===t&&(p=!0),0},C=1<<31,T={}.hasOwnProperty,P=[],z=P.pop,E=P.push,O=P.push,I=P.slice,R=function(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1},j="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",N="[\\x20\\t\\r\\n\\f]",D="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",L=D.replace("w","w#"),M="\\[[\\x20\\t\\r\\n\\f]*("+D+")(?:"+N+"*([*^$|!~]?=)"+N+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+N+"*\\]",B=":("+D+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+M+")*)|.*)\\)|)",F=new RegExp(N+"+","g"),H=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),U=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),q=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),V=new RegExp("=[\\x20\\t\\r\\n\\f]*([^\\]'\"]*?)[\\x20\\t\\r\\n\\f]*\\]","g"),W=new RegExp(B),J=new RegExp("^"+L+"$"),G={ID:new RegExp("^#("+D+")"),CLASS:new RegExp("^\\.("+D+")"),TAG:new RegExp("^("+D.replace("w","w*")+")"),ATTR:new RegExp("^"+M),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},K=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=/'|\\/g,re=new RegExp("\\\\([\\da-f]{1,6}[\\x20\\t\\r\\n\\f]?|([\\x20\\t\\r\\n\\f])|.)","ig"),ne=function(e,t,r){var n="0x"+t-65536;return n!=n||r?t:n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320)},ie=function(){d()};try{O.apply(P=I.call(w.childNodes),w.childNodes),P[w.childNodes.length].nodeType}catch(e){O={apply:P.length?function(e,t){E.apply(e,I.call(t))}:function(e,t){for(var r=e.length,n=0;e[r++]=t[n++];);e.length=r-1}}}function ae(e,t,n,i){var a,s,c,u,p,h,f,b,k,Z;if((t?t.ownerDocument||t:w)!==m&&d(t),n=n||[],u=(t=t||m).nodeType,"string"!=typeof e||!e||1!==u&&9!==u&&11!==u)return n;if(!i&&v){if(11!==u&&(a=Q.exec(e)))if(c=a[1]){if(9===u){if(!(s=t.getElementById(c))||!s.parentNode)return n;if(s.id===c)return n.push(s),n}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(c))&&y(t,s)&&s.id===c)return n.push(s),n}else{if(a[2])return O.apply(n,t.getElementsByTagName(e)),n;if((c=a[3])&&r.getElementsByClassName)return O.apply(n,t.getElementsByClassName(c)),n}if(r.qsa&&(!g||!g.test(e))){if(b=f=_,k=t,Z=1!==u&&e,1===u&&"object"!==t.nodeName.toLowerCase()){for(h=o(e),(f=t.getAttribute("id"))?b=f.replace(te,"\\$&"):t.setAttribute("id",b),b="[id='"+b+"'] ",p=h.length;p--;)h[p]=b+ge(h[p]);k=ee.test(e)&&he(t.parentNode)||t,Z=h.join(",")}if(Z)try{return O.apply(n,k.querySelectorAll(Z)),n}catch(e){}finally{f||t.removeAttribute("id")}}}return l(e.replace(H,"$1"),t,n,i)}function oe(){var e=[];return function t(r,i){return e.push(r+" ")>n.cacheLength&&delete t[e.shift()],t[r+" "]=i}}function se(e){return e[_]=!0,e}function le(e){var t=m.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ce(e,t){for(var r=e.split("|"),i=e.length;i--;)n.attrHandle[r[i]]=t}function ue(e,t){var r=t&&e,n=r&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||C)-(~e.sourceIndex||C);if(n)return n;if(r)for(;r=r.nextSibling;)if(r===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function de(e){return function(t){var r=t.nodeName.toLowerCase();return("input"===r||"button"===r)&&t.type===e}}function me(e){return se((function(t){return t=+t,se((function(r,n){for(var i,a=e([],r.length,t),o=a.length;o--;)r[i=a[o]]&&(r[i]=!(n[i]=r[i]))}))}))}function he(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in r=ae.support={},a=ae.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},d=ae.setDocument=function(e){var t,i,o=e?e.ownerDocument||e:w;return o!==m&&9===o.nodeType&&o.documentElement?(m=o,h=o.documentElement,(i=o.defaultView)&&i!==i.top&&(i.addEventListener?i.addEventListener("unload",ie,!1):i.attachEvent&&i.attachEvent("onunload",ie)),v=!a(o),r.attributes=le((function(e){return e.className="i",!e.getAttribute("className")})),r.getElementsByTagName=le((function(e){return e.appendChild(o.createComment("")),!e.getElementsByTagName("*").length})),r.getElementsByClassName=X.test(o.getElementsByClassName),r.getById=le((function(e){return h.appendChild(e).id=_,!o.getElementsByName||!o.getElementsByName(_).length})),r.getById?(n.find.ID=function(e,t){if(void 0!==t.getElementById&&v){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}},n.filter.ID=function(e){var t=e.replace(re,ne);return function(e){return e.getAttribute("id")===t}}):(delete n.find.ID,n.filter.ID=function(e){var t=e.replace(re,ne);return function(e){var r=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return r&&r.value===t}}),n.find.TAG=r.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):r.qsa?t.querySelectorAll(e):void 0}:function(e,t){var r,n=[],i=0,a=t.getElementsByTagName(e);if("*"===e){for(;r=a[i++];)1===r.nodeType&&n.push(r);return n}return a},n.find.CLASS=r.getElementsByClassName&&function(e,t){if(v)return t.getElementsByClassName(e)},f=[],g=[],(r.qsa=X.test(o.querySelectorAll))&&(le((function(e){h.appendChild(e).innerHTML="<a id='"+_+"'></a><select id='"+_+"-\f]' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+j+")"),e.querySelectorAll("[id~="+_+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||g.push(".#.+[+~]")})),le((function(e){var t=o.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(r.matchesSelector=X.test(b=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&le((function(e){r.disconnectedMatch=b.call(e,"div"),b.call(e,"[s!='']:x"),f.push("!=",B)})),g=g.length&&new RegExp(g.join("|")),f=f.length&&new RegExp(f.join("|")),t=X.test(h.compareDocumentPosition),y=t||X.test(h.contains)?function(e,t){var r=9===e.nodeType?e.documentElement:e,n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(r.contains?r.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},A=t?function(e,t){if(e===t)return p=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!r.sortDetached&&t.compareDocumentPosition(e)===n?e===o||e.ownerDocument===w&&y(w,e)?-1:t===o||t.ownerDocument===w&&y(w,t)?1:u?R(u,e)-R(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return p=!0,0;var r,n=0,i=e.parentNode,a=t.parentNode,s=[e],l=[t];if(!i||!a)return e===o?-1:t===o?1:i?-1:a?1:u?R(u,e)-R(u,t):0;if(i===a)return ue(e,t);for(r=e;r=r.parentNode;)s.unshift(r);for(r=t;r=r.parentNode;)l.unshift(r);for(;s[n]===l[n];)n++;return n?ue(s[n],l[n]):s[n]===w?-1:l[n]===w?1:0},o):m},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if((e.ownerDocument||e)!==m&&d(e),t=t.replace(V,"='$1']"),r.matchesSelector&&v&&(!f||!f.test(t))&&(!g||!g.test(t)))try{var n=b.call(e,t);if(n||r.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){}return ae(t,m,null,[e]).length>0},ae.contains=function(e,t){return(e.ownerDocument||e)!==m&&d(e),y(e,t)},ae.attr=function(e,t){(e.ownerDocument||e)!==m&&d(e);var i=n.attrHandle[t.toLowerCase()],a=i&&T.call(n.attrHandle,t.toLowerCase())?i(e,t,!v):void 0;return void 0!==a?a:r.attributes||!v?e.getAttribute(t):(a=e.getAttributeNode(t))&&a.specified?a.value:null},ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ae.uniqueSort=function(e){var t,n=[],i=0,a=0;if(p=!r.detectDuplicates,u=!r.sortStable&&e.slice(0),e.sort(A),p){for(;t=e[a++];)t===e[a]&&(i=n.push(a));for(;i--;)e.splice(n[i],1)}return u=null,e},i=ae.getText=function(e){var t,r="",n=0,a=e.nodeType;if(a){if(1===a||9===a||11===a){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)r+=i(e)}else if(3===a||4===a)return e.nodeValue}else for(;t=e[n++];)r+=i(t);return r},n=ae.selectors={cacheLength:50,createPseudo:se,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(re,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(re,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ae.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ae.error(e[0]),e},PSEUDO:function(e){var t,r=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":r&&W.test(r)&&(t=o(r,!0))&&(t=r.indexOf(")",r.length-t)-r.length)&&(e[0]=e[0].slice(0,t),e[2]=r.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(re,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=x[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+N+"|$)"))&&x(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,r){return function(n){var i=ae.attr(n,e);return null==i?"!="===t:!t||(i+="","="===t?i===r:"!="===t?i!==r:"^="===t?r&&0===i.indexOf(r):"*="===t?r&&i.indexOf(r)>-1:"$="===t?r&&i.slice(-r.length)===r:"~="===t?(" "+i.replace(F," ")+" ").indexOf(r)>-1:"|="===t&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,r,n,i){var a="nth"!==e.slice(0,3),o="last"!==e.slice(-4),s="of-type"===t;return 1===n&&0===i?function(e){return!!e.parentNode}:function(t,r,l){var c,u,p,d,m,h,v=a!==o?"nextSibling":"previousSibling",g=t.parentNode,f=s&&t.nodeName.toLowerCase(),b=!l&&!s;if(g){if(a){for(;v;){for(p=t;p=p[v];)if(s?p.nodeName.toLowerCase()===f:1===p.nodeType)return!1;h=v="only"===e&&!h&&"nextSibling"}return!0}if(h=[o?g.firstChild:g.lastChild],o&&b){for(m=(c=(u=g[_]||(g[_]={}))[e]||[])[0]===k&&c[1],d=c[0]===k&&c[2],p=m&&g.childNodes[m];p=++m&&p&&p[v]||(d=m=0)||h.pop();)if(1===p.nodeType&&++d&&p===t){u[e]=[k,m,d];break}}else if(b&&(c=(t[_]||(t[_]={}))[e])&&c[0]===k)d=c[1];else for(;(p=++m&&p&&p[v]||(d=m=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==f:1!==p.nodeType)||!++d||(b&&((p[_]||(p[_]={}))[e]=[k,d]),p!==t)););return(d-=i)===n||d%n==0&&d/n>=0}}},PSEUDO:function(e,t){var r,i=n.pseudos[e]||n.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);return i[_]?i(t):i.length>1?(r=[e,e,"",t],n.setFilters.hasOwnProperty(e.toLowerCase())?se((function(e,r){for(var n,a=i(e,t),o=a.length;o--;)e[n=R(e,a[o])]=!(r[n]=a[o])})):function(e){return i(e,0,r)}):i}},pseudos:{not:se((function(e){var t=[],r=[],n=s(e.replace(H,"$1"));return n[_]?se((function(e,t,r,i){for(var a,o=n(e,null,i,[]),s=e.length;s--;)(a=o[s])&&(e[s]=!(t[s]=a))})):function(e,i,a){return t[0]=e,n(t,null,a,r),t[0]=null,!r.pop()}})),has:se((function(e){return function(t){return ae(e,t).length>0}})),contains:se((function(e){return e=e.replace(re,ne),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}})),lang:se((function(e){return J.test(e||"")||ae.error("unsupported lang: "+e),e=e.replace(re,ne).toLowerCase(),function(t){var r;do{if(r=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(r=r.toLowerCase())===e||0===r.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var r=e.location&&e.location.hash;return r&&r.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===m.activeElement&&(!m.hasFocus||m.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!n.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return K.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me((function(){return[0]})),last:me((function(e,t){return[t-1]})),eq:me((function(e,t,r){return[r<0?r+t:r]})),even:me((function(e,t){for(var r=0;r<t;r+=2)e.push(r);return e})),odd:me((function(e,t){for(var r=1;r<t;r+=2)e.push(r);return e})),lt:me((function(e,t,r){for(var n=r<0?r+t:r;--n>=0;)e.push(n);return e})),gt:me((function(e,t,r){for(var n=r<0?r+t:r;++n<t;)e.push(n);return e}))}},n.pseudos.nth=n.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})n.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})n.pseudos[t]=de(t);function ve(){}function ge(e){for(var t=0,r=e.length,n="";t<r;t++)n+=e[t].value;return n}function fe(e,t,r){var n=t.dir,i=r&&"parentNode"===n,a=Z++;return t.first?function(t,r,a){for(;t=t[n];)if(1===t.nodeType||i)return e(t,r,a)}:function(t,r,o){var s,l,c=[k,a];if(o){for(;t=t[n];)if((1===t.nodeType||i)&&e(t,r,o))return!0}else for(;t=t[n];)if(1===t.nodeType||i){if((s=(l=t[_]||(t[_]={}))[n])&&s[0]===k&&s[1]===a)return c[2]=s[2];if(l[n]=c,c[2]=e(t,r,o))return!0}}}function be(e){return e.length>1?function(t,r,n){for(var i=e.length;i--;)if(!e[i](t,r,n))return!1;return!0}:e[0]}function ye(e,t,r,n,i){for(var a,o=[],s=0,l=e.length,c=null!=t;s<l;s++)(a=e[s])&&(r&&!r(a,n,i)||(o.push(a),c&&t.push(s)));return o}function _e(e,t,r,n,i,a){return n&&!n[_]&&(n=_e(n)),i&&!i[_]&&(i=_e(i,a)),se((function(a,o,s,l){var c,u,p,d=[],m=[],h=o.length,v=a||function(e,t,r){for(var n=0,i=t.length;n<i;n++)ae(e,t[n],r);return r}(t||"*",s.nodeType?[s]:s,[]),g=!e||!a&&t?v:ye(v,d,e,s,l),f=r?i||(a?e:h||n)?[]:o:g;if(r&&r(g,f,s,l),n)for(c=ye(f,m),n(c,[],s,l),u=c.length;u--;)(p=c[u])&&(f[m[u]]=!(g[m[u]]=p));if(a){if(i||e){if(i){for(c=[],u=f.length;u--;)(p=f[u])&&c.push(g[u]=p);i(null,f=[],c,l)}for(u=f.length;u--;)(p=f[u])&&(c=i?R(a,p):d[u])>-1&&(a[c]=!(o[c]=p))}}else f=ye(f===o?f.splice(h,f.length):f),i?i(null,o,f,l):O.apply(o,f)}))}function we(e){for(var t,r,i,a=e.length,o=n.relative[e[0].type],s=o||n.relative[" "],l=o?1:0,u=fe((function(e){return e===t}),s,!0),p=fe((function(e){return R(t,e)>-1}),s,!0),d=[function(e,r,n){var i=!o&&(n||r!==c)||((t=r).nodeType?u(e,r,n):p(e,r,n));return t=null,i}];l<a;l++)if(r=n.relative[e[l].type])d=[fe(be(d),r)];else{if((r=n.filter[e[l].type].apply(null,e[l].matches))[_]){for(i=++l;i<a&&!n.relative[e[i].type];i++);return _e(l>1&&be(d),l>1&&ge(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(H,"$1"),r,l<i&&we(e.slice(l,i)),i<a&&we(e=e.slice(i)),i<a&&ge(e))}d.push(r)}return be(d)}return ve.prototype=n.filters=n.pseudos,n.setFilters=new ve,o=ae.tokenize=function(e,t){var r,i,a,o,s,l,c,u=S[e+" "];if(u)return t?0:u.slice(0);for(s=e,l=[],c=n.preFilter;s;){for(o in r&&!(i=U.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(a=[])),r=!1,(i=q.exec(s))&&(r=i.shift(),a.push({value:r,type:i[0].replace(H," ")}),s=s.slice(r.length)),n.filter)!(i=G[o].exec(s))||c[o]&&!(i=c[o](i))||(r=i.shift(),a.push({value:r,type:o,matches:i}),s=s.slice(r.length));if(!r)break}return t?s.length:s?ae.error(e):S(e,l).slice(0)},s=ae.compile=function(e,t){var r,i=[],a=[],s=$[e+" "];if(!s){for(t||(t=o(e)),r=t.length;r--;)(s=we(t[r]))[_]?i.push(s):a.push(s);s=$(e,function(e,t){var r=t.length>0,i=e.length>0,a=function(a,o,s,l,u){var p,d,h,v=0,g="0",f=a&&[],b=[],y=c,_=a||i&&n.find.TAG("*",u),w=k+=null==y?1:Math.random()||.1,Z=_.length;for(u&&(c=o!==m&&o);g!==Z&&null!=(p=_[g]);g++){if(i&&p){for(d=0;h=e[d++];)if(h(p,o,s)){l.push(p);break}u&&(k=w)}r&&((p=!h&&p)&&v--,a&&f.push(p))}if(v+=g,r&&g!==v){for(d=0;h=t[d++];)h(f,b,o,s);if(a){if(v>0)for(;g--;)f[g]||b[g]||(b[g]=z.call(l));b=ye(b)}O.apply(l,b),u&&!a&&b.length>0&&v+t.length>1&&ae.uniqueSort(l)}return u&&(k=w,c=y),f};return r?se(a):a}(a,i)),s.selector=e}return s},l=ae.select=function(e,t,i,a){var l,c,u,p,d,m="function"==typeof e&&e,h=!a&&o(e=m.selector||e);if(i=i||[],1===h.length){if((c=h[0]=h[0].slice(0)).length>2&&"ID"===(u=c[0]).type&&r.getById&&9===t.nodeType&&v&&n.relative[c[1].type]){if(!(t=(n.find.ID(u.matches[0].replace(re,ne),t)||[])[0]))return i;m&&(t=t.parentNode),e=e.slice(c.shift().value.length)}for(l=G.needsContext.test(e)?0:c.length;l--&&(u=c[l],!n.relative[p=u.type]);)if((d=n.find[p])&&(a=d(u.matches[0].replace(re,ne),ee.test(c[0].type)&&he(t.parentNode)||t))){if(c.splice(l,1),!(e=a.length&&ge(c)))return O.apply(i,a),i;break}}return(m||s(e,h))(a,t,!v,i,ee.test(e)&&he(t.parentNode)||t),i},r.sortStable=_.split("").sort(A).join("")===_,r.detectDuplicates=!!p,d(),r.sortDetached=le((function(e){return 1&e.compareDocumentPosition(m.createElement("div"))})),le((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||ce("type|href|height|width",(function(e,t,r){if(!r)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),r.attributes&&le((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||ce("value",(function(e,t,r){if(!r&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),le((function(e){return null==e.getAttribute("disabled")}))||ce(j,(function(e,t,r){var n;if(!r)return!0===e[t]?t.toLowerCase():(n=e.getAttributeNode(t))&&n.specified?n.value:null})),ae}(n);g.find=k,g.expr=k.selectors,g.expr[":"]=g.expr.pseudos,g.unique=k.uniqueSort,g.text=k.getText,g.isXMLDoc=k.isXML,g.contains=k.contains;var Z=g.expr.match.needsContext,x=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,S=/^.[^:#\[\.,]*$/;function $(e,t,r){if(g.isFunction(t))return g.grep(e,(function(e,n){return!!t.call(e,n,e)!==r}));if(t.nodeType)return g.grep(e,(function(e){return e===t!==r}));if("string"==typeof t){if(S.test(t))return g.filter(t,e,r);t=g.filter(t,e)}return g.grep(e,(function(e){return c.call(t,e)>=0!==r}))}g.filter=function(e,t,r){var n=t[0];return r&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?g.find.matchesSelector(n,e)?[n]:[]:g.find.matches(e,g.grep(t,(function(e){return 1===e.nodeType})))},g.fn.extend({find:function(e){var t,r=this.length,n=[],i=this;if("string"!=typeof e)return this.pushStack(g(e).filter((function(){for(t=0;t<r;t++)if(g.contains(i[t],this))return!0})));for(t=0;t<r;t++)g.find(e,i[t],n);return(n=this.pushStack(r>1?g.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack($(this,e||[],!1))},not:function(e){return this.pushStack($(this,e||[],!0))},is:function(e){return!!$(this,"string"==typeof e&&Z.test(e)?g(e):e||[],!1).length}});var A,C=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(g.fn.init=function(e,t){var r,n;if(!e)return this;if("string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:C.exec(e))||!r[1]&&t)return!t||t.jquery?(t||A).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof g?t[0]:t,g.merge(this,g.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:h,!0)),x.test(r[1])&&g.isPlainObject(t))for(r in t)g.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(n=h.getElementById(r[2]))&&n.parentNode&&(this.length=1,this[0]=n),this.context=h,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):g.isFunction(e)?void 0!==A.ready?A.ready(e):e(g):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),g.makeArray(e,this))}).prototype=g.fn,A=g(h);var T=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function z(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}g.extend({dir:function(e,t,r){for(var n=[],i=void 0!==r;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&g(e).is(r))break;n.push(e)}return n},sibling:function(e,t){for(var r=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&r.push(e);return r}}),g.fn.extend({has:function(e){var t=g(e,this),r=t.length;return this.filter((function(){for(var e=0;e<r;e++)if(g.contains(this,t[e]))return!0}))},closest:function(e,t){for(var r,n=0,i=this.length,a=[],o=Z.test(e)||"string"!=typeof e?g(e,t||this.context):0;n<i;n++)for(r=this[n];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(o?o.index(r)>-1:1===r.nodeType&&g.find.matchesSelector(r,e))){a.push(r);break}return this.pushStack(a.length>1?g.unique(a):a)},index:function(e){return e?"string"==typeof e?c.call(g(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(g.unique(g.merge(this.get(),g(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),g.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return g.dir(e,"parentNode")},parentsUntil:function(e,t,r){return g.dir(e,"parentNode",r)},next:function(e){return z(e,"nextSibling")},prev:function(e){return z(e,"previousSibling")},nextAll:function(e){return g.dir(e,"nextSibling")},prevAll:function(e){return g.dir(e,"previousSibling")},nextUntil:function(e,t,r){return g.dir(e,"nextSibling",r)},prevUntil:function(e,t,r){return g.dir(e,"previousSibling",r)},siblings:function(e){return g.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return g.sibling(e.firstChild)},contents:function(e){return e.contentDocument||g.merge([],e.childNodes)}},(function(e,t){g.fn[e]=function(r,n){var i=g.map(this,t,r);return"Until"!==e.slice(-5)&&(n=r),n&&"string"==typeof n&&(i=g.filter(n,i)),this.length>1&&(P[e]||g.unique(i),T.test(e)&&i.reverse()),this.pushStack(i)}}));var E,O=/\S+/g,I={};function R(){h.removeEventListener("DOMContentLoaded",R,!1),n.removeEventListener("load",R,!1),g.ready()}g.Callbacks=function(e){e="string"==typeof e?I[e]||function(e){var t=I[e]={};return g.each(e.match(O)||[],(function(e,r){t[r]=!0})),t}(e):g.extend({},e);var t,r,n,i,a,o,s=[],l=!e.once&&[],c=function(p){for(t=e.memory&&p,r=!0,o=i||0,i=0,a=s.length,n=!0;s&&o<a;o++)if(!1===s[o].apply(p[0],p[1])&&e.stopOnFalse){t=!1;break}n=!1,s&&(l?l.length&&c(l.shift()):t?s=[]:u.disable())},u={add:function(){if(s){var r=s.length;!function t(r){g.each(r,(function(r,n){var i=g.type(n);"function"===i?e.unique&&u.has(n)||s.push(n):n&&n.length&&"string"!==i&&t(n)}))}(arguments),n?a=s.length:t&&(i=r,c(t))}return this},remove:function(){return s&&g.each(arguments,(function(e,t){for(var r;(r=g.inArray(t,s,r))>-1;)s.splice(r,1),n&&(r<=a&&a--,r<=o&&o--)})),this},has:function(e){return e?g.inArray(e,s)>-1:!(!s||!s.length)},empty:function(){return s=[],a=0,this},disable:function(){return s=l=t=void 0,this},disabled:function(){return!s},lock:function(){return l=void 0,t||u.disable(),this},locked:function(){return!l},fireWith:function(e,t){return!s||r&&!l||(t=[e,(t=t||[]).slice?t.slice():t],n?l.push(t):c(t)),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},g.extend({Deferred:function(e){var t=[["resolve","done",g.Callbacks("once memory"),"resolved"],["reject","fail",g.Callbacks("once memory"),"rejected"],["notify","progress",g.Callbacks("memory")]],r="pending",n={state:function(){return r},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return g.Deferred((function(r){g.each(t,(function(t,a){var o=g.isFunction(e[t])&&e[t];i[a[1]]((function(){var e=o&&o.apply(this,arguments);e&&g.isFunction(e.promise)?e.promise().done(r.resolve).fail(r.reject).progress(r.notify):r[a[0]+"With"](this===n?r.promise():this,o?[e]:arguments)}))})),e=null})).promise()},promise:function(e){return null!=e?g.extend(e,n):n}},i={};return n.pipe=n.then,g.each(t,(function(e,a){var o=a[2],s=a[3];n[a[1]]=o.add,s&&o.add((function(){r=s}),t[1^e][2].disable,t[2][2].lock),i[a[0]]=function(){return i[a[0]+"With"](this===i?n:this,arguments),this},i[a[0]+"With"]=o.fireWith})),n.promise(i),e&&e.call(i,i),i},when:function(e){var t,r,n,i=0,a=o.call(arguments),s=a.length,l=1!==s||e&&g.isFunction(e.promise)?s:0,c=1===l?e:g.Deferred(),u=function(e,r,n){return function(i){r[e]=this,n[e]=arguments.length>1?o.call(arguments):i,n===t?c.notifyWith(r,n):--l||c.resolveWith(r,n)}};if(s>1)for(t=new Array(s),r=new Array(s),n=new Array(s);i<s;i++)a[i]&&g.isFunction(a[i].promise)?a[i].promise().done(u(i,n,a)).fail(c.reject).progress(u(i,r,t)):--l;return l||c.resolveWith(n,a),c.promise()}}),g.fn.ready=function(e){return g.ready.promise().done(e),this},g.extend({isReady:!1,readyWait:1,holdReady:function(e){e?g.readyWait++:g.ready(!0)},ready:function(e){(!0===e?--g.readyWait:g.isReady)||(g.isReady=!0,!0!==e&&--g.readyWait>0||(E.resolveWith(h,[g]),g.fn.triggerHandler&&(g(h).triggerHandler("ready"),g(h).off("ready"))))}}),g.ready.promise=function(e){return E||(E=g.Deferred(),"complete"===h.readyState?setTimeout(g.ready):(h.addEventListener("DOMContentLoaded",R,!1),n.addEventListener("load",R,!1))),E.promise(e)},g.ready.promise();var j=g.access=function(e,t,r,n,i,a,o){var s=0,l=e.length,c=null==r;if("object"===g.type(r))for(s in i=!0,r)g.access(e,t,s,r[s],!0,a,o);else if(void 0!==n&&(i=!0,g.isFunction(n)||(o=!0),c&&(o?(t.call(e,n),t=null):(c=t,t=function(e,t,r){return c.call(g(e),r)})),t))for(;s<l;s++)t(e[s],r,o?n:n.call(e[s],s,t(e[s],r)));return i?e:c?t.call(e):l?t(e[0],r):a};function N(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=g.expando+N.uid++}g.acceptData=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType},N.uid=1,N.accepts=g.acceptData,N.prototype={key:function(e){if(!N.accepts(e))return 0;var t={},r=e[this.expando];if(!r){r=N.uid++;try{t[this.expando]={value:r},Object.defineProperties(e,t)}catch(n){t[this.expando]=r,g.extend(e,t)}}return this.cache[r]||(this.cache[r]={}),r},set:function(e,t,r){var n,i=this.key(e),a=this.cache[i];if("string"==typeof t)a[t]=r;else if(g.isEmptyObject(a))g.extend(this.cache[i],t);else for(n in t)a[n]=t[n];return a},get:function(e,t){var r=this.cache[this.key(e)];return void 0===t?r:r[t]},access:function(e,t,r){var n;return void 0===t||t&&"string"==typeof t&&void 0===r?void 0!==(n=this.get(e,t))?n:this.get(e,g.camelCase(t)):(this.set(e,t,r),void 0!==r?r:t)},remove:function(e,t){var r,n,i,a=this.key(e),o=this.cache[a];if(void 0===t)this.cache[a]={};else{g.isArray(t)?n=t.concat(t.map(g.camelCase)):(i=g.camelCase(t),n=t in o?[t,i]:(n=i)in o?[n]:n.match(O)||[]),r=n.length;for(;r--;)delete o[n[r]]}},hasData:function(e){return!g.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){e[this.expando]&&delete this.cache[e[this.expando]]}};var D=new N,L=new N,M=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,B=/([A-Z])/g;function F(e,t,r){var n;if(void 0===r&&1===e.nodeType)if(n="data-"+t.replace(B,"-$1").toLowerCase(),"string"==typeof(r=e.getAttribute(n))){try{r="true"===r||"false"!==r&&("null"===r?null:+r+""===r?+r:M.test(r)?g.parseJSON(r):r)}catch(e){}L.set(e,t,r)}else r=void 0;return r}g.extend({hasData:function(e){return L.hasData(e)||D.hasData(e)},data:function(e,t,r){return L.access(e,t,r)},removeData:function(e,t){L.remove(e,t)},_data:function(e,t,r){return D.access(e,t,r)},_removeData:function(e,t){D.remove(e,t)}}),g.fn.extend({data:function(e,t){var r,n,i,a=this[0],o=a&&a.attributes;if(void 0===e){if(this.length&&(i=L.get(a),1===a.nodeType&&!D.get(a,"hasDataAttrs"))){for(r=o.length;r--;)o[r]&&0===(n=o[r].name).indexOf("data-")&&(n=g.camelCase(n.slice(5)),F(a,n,i[n]));D.set(a,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each((function(){L.set(this,e)})):j(this,(function(t){var r,n=g.camelCase(e);if(a&&void 0===t)return void 0!==(r=L.get(a,e))||void 0!==(r=L.get(a,n))||void 0!==(r=F(a,n,void 0))?r:void 0;this.each((function(){var r=L.get(this,n);L.set(this,n,t),-1!==e.indexOf("-")&&void 0!==r&&L.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){L.remove(this,e)}))}}),g.extend({queue:function(e,t,r){var n;if(e)return t=(t||"fx")+"queue",n=D.get(e,t),r&&(!n||g.isArray(r)?n=D.access(e,t,g.makeArray(r)):n.push(r)),n||[]},dequeue:function(e,t){t=t||"fx";var r=g.queue(e,t),n=r.length,i=r.shift(),a=g._queueHooks(e,t);"inprogress"===i&&(i=r.shift(),n--),i&&("fx"===t&&r.unshift("inprogress"),delete a.stop,i.call(e,(function(){g.dequeue(e,t)}),a)),!n&&a&&a.empty.fire()},_queueHooks:function(e,t){var r=t+"queueHooks";return D.get(e,r)||D.access(e,r,{empty:g.Callbacks("once memory").add((function(){D.remove(e,[t+"queue",r])}))})}}),g.fn.extend({queue:function(e,t){var r=2;return"string"!=typeof e&&(t=e,e="fx",r--),arguments.length<r?g.queue(this[0],e):void 0===t?this:this.each((function(){var r=g.queue(this,e,t);g._queueHooks(this,e),"fx"===e&&"inprogress"!==r[0]&&g.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){g.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var r,n=1,i=g.Deferred(),a=this,o=this.length,s=function(){--n||i.resolveWith(a,[a])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)(r=D.get(a[o],e+"queueHooks"))&&r.empty&&(n++,r.empty.add(s));return s(),i.promise(t)}});var H,U,q=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,V=["Top","Right","Bottom","Left"],W=function(e,t){return e=t||e,"none"===g.css(e,"display")||!g.contains(e.ownerDocument,e)},J=/^(?:checkbox|radio)$/i;H=h.createDocumentFragment().appendChild(h.createElement("div")),(U=h.createElement("input")).setAttribute("type","radio"),U.setAttribute("checked","checked"),U.setAttribute("name","t"),H.appendChild(U),m.checkClone=H.cloneNode(!0).cloneNode(!0).lastChild.checked,H.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!H.cloneNode(!0).lastChild.defaultValue;var G="undefined";m.focusinBubbles="onfocusin"in n;var K=/^key/,Y=/^(?:mouse|pointer|contextmenu)|click/,X=/^(?:focusinfocus|focusoutblur)$/,Q=/^([^.]*)(?:\.(.+)|)$/;function ee(){return!0}function te(){return!1}function re(){try{return h.activeElement}catch(e){}}g.event={global:{},add:function(e,t,r,n,i){var a,o,s,l,c,u,p,d,m,h,v,f=D.get(e);if(f)for(r.handler&&(r=(a=r).handler,i=a.selector),r.guid||(r.guid=g.guid++),(l=f.events)||(l=f.events={}),(o=f.handle)||(o=f.handle=function(t){return typeof g!==G&&g.event.triggered!==t.type?g.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(O)||[""]).length;c--;)m=v=(s=Q.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),m&&(p=g.event.special[m]||{},m=(i?p.delegateType:p.bindType)||m,p=g.event.special[m]||{},u=g.extend({type:m,origType:v,data:n,handler:r,guid:r.guid,selector:i,needsContext:i&&g.expr.match.needsContext.test(i),namespace:h.join(".")},a),(d=l[m])||((d=l[m]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(e,n,h,o)||e.addEventListener&&e.addEventListener(m,o,!1)),p.add&&(p.add.call(e,u),u.handler.guid||(u.handler.guid=r.guid)),i?d.splice(d.delegateCount++,0,u):d.push(u),g.event.global[m]=!0)},remove:function(e,t,r,n,i){var a,o,s,l,c,u,p,d,m,h,v,f=D.hasData(e)&&D.get(e);if(f&&(l=f.events)){for(c=(t=(t||"").match(O)||[""]).length;c--;)if(m=v=(s=Q.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),m){for(p=g.event.special[m]||{},d=l[m=(n?p.delegateType:p.bindType)||m]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=a=d.length;a--;)u=d[a],!i&&v!==u.origType||r&&r.guid!==u.guid||s&&!s.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(d.splice(a,1),u.selector&&d.delegateCount--,p.remove&&p.remove.call(e,u));o&&!d.length&&(p.teardown&&!1!==p.teardown.call(e,h,f.handle)||g.removeEvent(e,m,f.handle),delete l[m])}else for(m in l)g.event.remove(e,m+t[c],r,n,!0);g.isEmptyObject(l)&&(delete f.handle,D.remove(e,"events"))}},trigger:function(e,t,r,i){var a,o,s,l,c,u,p,m=[r||h],v=d.call(e,"type")?e.type:e,f=d.call(e,"namespace")?e.namespace.split("."):[];if(o=s=r=r||h,3!==r.nodeType&&8!==r.nodeType&&!X.test(v+g.event.triggered)&&(v.indexOf(".")>=0&&(f=v.split("."),v=f.shift(),f.sort()),c=v.indexOf(":")<0&&"on"+v,(e=e[g.expando]?e:new g.Event(v,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=f.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:g.makeArray(t,[e]),p=g.event.special[v]||{},i||!p.trigger||!1!==p.trigger.apply(r,t))){if(!i&&!p.noBubble&&!g.isWindow(r)){for(l=p.delegateType||v,X.test(l+v)||(o=o.parentNode);o;o=o.parentNode)m.push(o),s=o;s===(r.ownerDocument||h)&&m.push(s.defaultView||s.parentWindow||n)}for(a=0;(o=m[a++])&&!e.isPropagationStopped();)e.type=a>1?l:p.bindType||v,(u=(D.get(o,"events")||{})[e.type]&&D.get(o,"handle"))&&u.apply(o,t),(u=c&&o[c])&&u.apply&&g.acceptData(o)&&(e.result=u.apply(o,t),!1===e.result&&e.preventDefault());return e.type=v,i||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(m.pop(),t)||!g.acceptData(r)||c&&g.isFunction(r[v])&&!g.isWindow(r)&&((s=r[c])&&(r[c]=null),g.event.triggered=v,r[v](),g.event.triggered=void 0,s&&(r[c]=s)),e.result}},dispatch:function(e){e=g.event.fix(e);var t,r,n,i,a,s=[],l=o.call(arguments),c=(D.get(this,"events")||{})[e.type]||[],u=g.event.special[e.type]||{};if(l[0]=e,e.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(s=g.event.handlers.call(this,e,c),t=0;(i=s[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,r=0;(a=i.handlers[r++])&&!e.isImmediatePropagationStopped();)e.namespace_re&&!e.namespace_re.test(a.namespace)||(e.handleObj=a,e.data=a.data,void 0!==(n=((g.event.special[a.origType]||{}).handle||a.handler).apply(i.elem,l))&&!1===(e.result=n)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var r,n,i,a,o=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!==this;l=l.parentNode||this)if(!0!==l.disabled||"click"!==e.type){for(n=[],r=0;r<s;r++)void 0===n[i=(a=t[r]).selector+" "]&&(n[i]=a.needsContext?g(i,this).index(l)>=0:g.find(i,this,null,[l]).length),n[i]&&n.push(a);n.length&&o.push({elem:l,handlers:n})}return s<t.length&&o.push({elem:this,handlers:t.slice(s)}),o},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var r,n,i,a=t.button;return null==e.pageX&&null!=t.clientX&&(n=(r=e.target.ownerDocument||h).documentElement,i=r.body,e.pageX=t.clientX+(n&&n.scrollLeft||i&&i.scrollLeft||0)-(n&&n.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(n&&n.scrollTop||i&&i.scrollTop||0)-(n&&n.clientTop||i&&i.clientTop||0)),e.which||void 0===a||(e.which=1&a?1:2&a?3:4&a?2:0),e}},fix:function(e){if(e[g.expando])return e;var t,r,n,i=e.type,a=e,o=this.fixHooks[i];for(o||(this.fixHooks[i]=o=Y.test(i)?this.mouseHooks:K.test(i)?this.keyHooks:{}),n=o.props?this.props.concat(o.props):this.props,e=new g.Event(a),t=n.length;t--;)e[r=n[t]]=a[r];return e.target||(e.target=h),3===e.target.nodeType&&(e.target=e.target.parentNode),o.filter?o.filter(e,a):e},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==re()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===re()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&g.nodeName(this,"input"))return this.click(),!1},_default:function(e){return g.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,r,n){var i=g.extend(new g.Event,r,{type:e,isSimulated:!0,originalEvent:{}});n?g.event.trigger(i,null,t):g.event.dispatch.call(t,i),i.isDefaultPrevented()&&r.preventDefault()}},g.removeEvent=function(e,t,r){e.removeEventListener&&e.removeEventListener(t,r,!1)},g.Event=function(e,t){if(!(this instanceof g.Event))return new g.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?ee:te):this.type=e,t&&g.extend(this,t),this.timeStamp=e&&e.timeStamp||g.now(),this[g.expando]=!0},g.Event.prototype={isDefaultPrevented:te,isPropagationStopped:te,isImmediatePropagationStopped:te,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ee,e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ee,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ee,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},g.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){g.event.special[e]={delegateType:t,bindType:t,handle:function(e){var r,n=e.relatedTarget,i=e.handleObj;return n&&(n===this||g.contains(this,n))||(e.type=i.origType,r=i.handler.apply(this,arguments),e.type=t),r}}})),m.focusinBubbles||g.each({focus:"focusin",blur:"focusout"},(function(e,t){var r=function(e){g.event.simulate(t,e.target,g.event.fix(e),!0)};g.event.special[t]={setup:function(){var n=this.ownerDocument||this,i=D.access(n,t);i||n.addEventListener(e,r,!0),D.access(n,t,(i||0)+1)},teardown:function(){var n=this.ownerDocument||this,i=D.access(n,t)-1;i?D.access(n,t,i):(n.removeEventListener(e,r,!0),D.remove(n,t))}}})),g.fn.extend({on:function(e,t,r,n,i){var a,o;if("object"==typeof e){for(o in"string"!=typeof t&&(r=r||t,t=void 0),e)this.on(o,t,r,e[o],i);return this}if(null==r&&null==n?(n=t,r=t=void 0):null==n&&("string"==typeof t?(n=r,r=void 0):(n=r,r=t,t=void 0)),!1===n)n=te;else if(!n)return this;return 1===i&&(a=n,n=function(e){return g().off(e),a.apply(this,arguments)},n.guid=a.guid||(a.guid=g.guid++)),this.each((function(){g.event.add(this,e,n,r,t)}))},one:function(e,t,r,n){return this.on(e,t,r,n,1)},off:function(e,t,r){var n,i;if(e&&e.preventDefault&&e.handleObj)return n=e.handleObj,g(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(r=t,t=void 0),!1===r&&(r=te),this.each((function(){g.event.remove(this,e,r,t)}))},trigger:function(e,t){return this.each((function(){g.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var r=this[0];if(r)return g.event.trigger(e,t,r,!0)}});var ne=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ie=/<([\w:]+)/,ae=/<|&#?\w+;/,oe=/<(?:script|style|link)/i,se=/checked\s*(?:[^=]|=\s*.checked.)/i,le=/^$|\/(?:java|ecma)script/i,ce=/^true\/(.*)/,ue=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,pe={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function de(e,t){return g.nodeName(e,"table")&&g.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function me(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function he(e){var t=ce.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function ve(e,t){for(var r=0,n=e.length;r<n;r++)D.set(e[r],"globalEval",!t||D.get(t[r],"globalEval"))}function ge(e,t){var r,n,i,a,o,s,l,c;if(1===t.nodeType){if(D.hasData(e)&&(a=D.access(e),o=D.set(t,a),c=a.events))for(i in delete o.handle,o.events={},c)for(r=0,n=c[i].length;r<n;r++)g.event.add(t,i,c[i][r]);L.hasData(e)&&(s=L.access(e),l=g.extend({},s),L.set(t,l))}}function fe(e,t){var r=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&g.nodeName(e,t)?g.merge([e],r):r}pe.optgroup=pe.option,pe.tbody=pe.tfoot=pe.colgroup=pe.caption=pe.thead,pe.th=pe.td,g.extend({clone:function(e,t,r){var n,i,a,o,s,l,c,u=e.cloneNode(!0),p=g.contains(e.ownerDocument,e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||g.isXMLDoc(e)))for(o=fe(u),n=0,i=(a=fe(e)).length;n<i;n++)s=a[n],"input"===(c=(l=o[n]).nodeName.toLowerCase())&&J.test(s.type)?l.checked=s.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=s.defaultValue);if(t)if(r)for(a=a||fe(e),o=o||fe(u),n=0,i=a.length;n<i;n++)ge(a[n],o[n]);else ge(e,u);return(o=fe(u,"script")).length>0&&ve(o,!p&&fe(e,"script")),u},buildFragment:function(e,t,r,n){for(var i,a,o,s,l,c,u=t.createDocumentFragment(),p=[],d=0,m=e.length;d<m;d++)if((i=e[d])||0===i)if("object"===g.type(i))g.merge(p,i.nodeType?[i]:i);else if(ae.test(i)){for(a=a||u.appendChild(t.createElement("div")),o=(ie.exec(i)||["",""])[1].toLowerCase(),s=pe[o]||pe._default,a.innerHTML=s[1]+i.replace(ne,"<$1></$2>")+s[2],c=s[0];c--;)a=a.lastChild;g.merge(p,a.childNodes),(a=u.firstChild).textContent=""}else p.push(t.createTextNode(i));for(u.textContent="",d=0;i=p[d++];)if((!n||-1===g.inArray(i,n))&&(l=g.contains(i.ownerDocument,i),a=fe(u.appendChild(i),"script"),l&&ve(a),r))for(c=0;i=a[c++];)le.test(i.type||"")&&r.push(i);return u},cleanData:function(e){for(var t,r,n,i,a=g.event.special,o=0;void 0!==(r=e[o]);o++){if(g.acceptData(r)&&(i=r[D.expando])&&(t=D.cache[i])){if(t.events)for(n in t.events)a[n]?g.event.remove(r,n):g.removeEvent(r,n,t.handle);D.cache[i]&&delete D.cache[i]}delete L.cache[r[L.expando]]}}}),g.fn.extend({text:function(e){return j(this,(function(e){return void 0===e?g.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return this.domManip(arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||de(this,e).appendChild(e)}))},prepend:function(){return this.domManip(arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=de(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return this.domManip(arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return this.domManip(arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},remove:function(e,t){for(var r,n=e?g.filter(e,this):this,i=0;null!=(r=n[i]);i++)t||1!==r.nodeType||g.cleanData(fe(r)),r.parentNode&&(t&&g.contains(r.ownerDocument,r)&&ve(fe(r,"script")),r.parentNode.removeChild(r));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(g.cleanData(fe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return g.clone(this,e,t)}))},html:function(e){return j(this,(function(e){var t=this[0]||{},r=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!oe.test(e)&&!pe[(ie.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(ne,"<$1></$2>");try{for(;r<n;r++)1===(t=this[r]||{}).nodeType&&(g.cleanData(fe(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,(function(t){e=this.parentNode,g.cleanData(fe(this)),e&&e.replaceChild(t,this)})),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t){e=s.apply([],e);var r,n,i,a,o,l,c=0,u=this.length,p=this,d=u-1,h=e[0],v=g.isFunction(h);if(v||u>1&&"string"==typeof h&&!m.checkClone&&se.test(h))return this.each((function(r){var n=p.eq(r);v&&(e[0]=h.call(this,r,n.html())),n.domManip(e,t)}));if(u&&(n=(r=g.buildFragment(e,this[0].ownerDocument,!1,this)).firstChild,1===r.childNodes.length&&(r=n),n)){for(a=(i=g.map(fe(r,"script"),me)).length;c<u;c++)o=r,c!==d&&(o=g.clone(o,!0,!0),a&&g.merge(i,fe(o,"script"))),t.call(this[c],o,c);if(a)for(l=i[i.length-1].ownerDocument,g.map(i,he),c=0;c<a;c++)o=i[c],le.test(o.type||"")&&!D.access(o,"globalEval")&&g.contains(l,o)&&(o.src?g._evalUrl&&g._evalUrl(o.src):g.globalEval(o.textContent.replace(ue,"")))}return this}}),g.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){g.fn[e]=function(e){for(var r,n=[],i=g(e),a=i.length-1,o=0;o<=a;o++)r=o===a?this:this.clone(!0),g(i[o])[t](r),l.apply(n,r.get());return this.pushStack(n)}}));var be,ye={};function _e(e,t){var r,i=g(t.createElement(e)).appendTo(t.body),a=n.getDefaultComputedStyle&&(r=n.getDefaultComputedStyle(i[0]))?r.display:g.css(i[0],"display");return i.detach(),a}function we(e){var t=h,r=ye[e];return r||("none"!==(r=_e(e,t))&&r||((t=(be=(be||g("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentDocument).write(),t.close(),r=_e(e,t),be.detach()),ye[e]=r),r}var ke=/^margin/,Ze=new RegExp("^("+q+")(?!px)[a-z%]+$","i"),xe=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):n.getComputedStyle(e,null)};function Se(e,t,r){var n,i,a,o,s=e.style;return(r=r||xe(e))&&(o=r.getPropertyValue(t)||r[t]),r&&(""!==o||g.contains(e.ownerDocument,e)||(o=g.style(e,t)),Ze.test(o)&&ke.test(t)&&(n=s.width,i=s.minWidth,a=s.maxWidth,s.minWidth=s.maxWidth=s.width=o,o=r.width,s.width=n,s.minWidth=i,s.maxWidth=a)),void 0!==o?o+"":o}function $e(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){var e,t,r=h.documentElement,i=h.createElement("div"),a=h.createElement("div");function o(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",a.innerHTML="",r.appendChild(i);var o=n.getComputedStyle(a,null);e="1%"!==o.top,t="4px"===o.width,r.removeChild(i)}a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===a.style.backgroundClip,i.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",i.appendChild(a),n.getComputedStyle&&g.extend(m,{pixelPosition:function(){return o(),e},boxSizingReliable:function(){return null==t&&o(),t},reliableMarginRight:function(){var e,t=a.appendChild(h.createElement("div"));return t.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",a.style.width="1px",r.appendChild(i),e=!parseFloat(n.getComputedStyle(t,null).marginRight),r.removeChild(i),a.removeChild(t),e}}))}(),g.swap=function(e,t,r,n){var i,a,o={};for(a in t)o[a]=e.style[a],e.style[a]=t[a];for(a in i=r.apply(e,n||[]),t)e.style[a]=o[a];return i};var Ae=/^(none|table(?!-c[ea]).+)/,Ce=new RegExp("^("+q+")(.*)$","i"),Te=new RegExp("^([+-])=("+q+")","i"),Pe={position:"absolute",visibility:"hidden",display:"block"},ze={letterSpacing:"0",fontWeight:"400"},Ee=["Webkit","O","Moz","ms"];function Oe(e,t){if(t in e)return t;for(var r=t[0].toUpperCase()+t.slice(1),n=t,i=Ee.length;i--;)if((t=Ee[i]+r)in e)return t;return n}function Ie(e,t,r){var n=Ce.exec(t);return n?Math.max(0,n[1]-(r||0))+(n[2]||"px"):t}function Re(e,t,r,n,i){for(var a=r===(n?"border":"content")?4:"width"===t?1:0,o=0;a<4;a+=2)"margin"===r&&(o+=g.css(e,r+V[a],!0,i)),n?("content"===r&&(o-=g.css(e,"padding"+V[a],!0,i)),"margin"!==r&&(o-=g.css(e,"border"+V[a]+"Width",!0,i))):(o+=g.css(e,"padding"+V[a],!0,i),"padding"!==r&&(o+=g.css(e,"border"+V[a]+"Width",!0,i)));return o}function je(e,t,r){var n=!0,i="width"===t?e.offsetWidth:e.offsetHeight,a=xe(e),o="border-box"===g.css(e,"boxSizing",!1,a);if(i<=0||null==i){if(((i=Se(e,t,a))<0||null==i)&&(i=e.style[t]),Ze.test(i))return i;n=o&&(m.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+Re(e,t,r||(o?"border":"content"),n,a)+"px"}function Ne(e,t){for(var r,n,i,a=[],o=0,s=e.length;o<s;o++)(n=e[o]).style&&(a[o]=D.get(n,"olddisplay"),r=n.style.display,t?(a[o]||"none"!==r||(n.style.display=""),""===n.style.display&&W(n)&&(a[o]=D.access(n,"olddisplay",we(n.nodeName)))):(i=W(n),"none"===r&&i||D.set(n,"olddisplay",i?r:g.css(n,"display"))));for(o=0;o<s;o++)(n=e[o]).style&&(t&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=t?a[o]||"":"none"));return e}function De(e,t,r,n,i){return new De.prototype.init(e,t,r,n,i)}g.extend({cssHooks:{opacity:{get:function(e,t){if(t){var r=Se(e,"opacity");return""===r?"1":r}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:"cssFloat"},style:function(e,t,r,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,a,o,s=g.camelCase(t),l=e.style;if(t=g.cssProps[s]||(g.cssProps[s]=Oe(l,s)),o=g.cssHooks[t]||g.cssHooks[s],void 0===r)return o&&"get"in o&&void 0!==(i=o.get(e,!1,n))?i:l[t];"string"==(a=typeof r)&&(i=Te.exec(r))&&(r=(i[1]+1)*i[2]+parseFloat(g.css(e,t)),a="number"),null!=r&&r==r&&("number"!==a||g.cssNumber[s]||(r+="px"),m.clearCloneStyle||""!==r||0!==t.indexOf("background")||(l[t]="inherit"),o&&"set"in o&&void 0===(r=o.set(e,r,n))||(l[t]=r))}},css:function(e,t,r,n){var i,a,o,s=g.camelCase(t);return t=g.cssProps[s]||(g.cssProps[s]=Oe(e.style,s)),(o=g.cssHooks[t]||g.cssHooks[s])&&"get"in o&&(i=o.get(e,!0,r)),void 0===i&&(i=Se(e,t,n)),"normal"===i&&t in ze&&(i=ze[t]),""===r||r?(a=parseFloat(i),!0===r||g.isNumeric(a)?a||0:i):i}}),g.each(["height","width"],(function(e,t){g.cssHooks[t]={get:function(e,r,n){if(r)return Ae.test(g.css(e,"display"))&&0===e.offsetWidth?g.swap(e,Pe,(function(){return je(e,t,n)})):je(e,t,n)},set:function(e,r,n){var i=n&&xe(e);return Ie(0,r,n?Re(e,t,n,"border-box"===g.css(e,"boxSizing",!1,i),i):0)}}})),g.cssHooks.marginRight=$e(m.reliableMarginRight,(function(e,t){if(t)return g.swap(e,{display:"inline-block"},Se,[e,"marginRight"])})),g.each({margin:"",padding:"",border:"Width"},(function(e,t){g.cssHooks[e+t]={expand:function(r){for(var n=0,i={},a="string"==typeof r?r.split(" "):[r];n<4;n++)i[e+V[n]+t]=a[n]||a[n-2]||a[0];return i}},ke.test(e)||(g.cssHooks[e+t].set=Ie)})),g.fn.extend({css:function(e,t){return j(this,(function(e,t,r){var n,i,a={},o=0;if(g.isArray(t)){for(n=xe(e),i=t.length;o<i;o++)a[t[o]]=g.css(e,t[o],!1,n);return a}return void 0!==r?g.style(e,t,r):g.css(e,t)}),e,t,arguments.length>1)},show:function(){return Ne(this,!0)},hide:function(){return Ne(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){W(this)?g(this).show():g(this).hide()}))}}),g.Tween=De,De.prototype={constructor:De,init:function(e,t,r,n,i,a){this.elem=e,this.prop=r,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=a||(g.cssNumber[r]?"":"px")},cur:function(){var e=De.propHooks[this.prop];return e&&e.get?e.get(this):De.propHooks._default.get(this)},run:function(e){var t,r=De.propHooks[this.prop];return this.options.duration?this.pos=t=g.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):De.propHooks._default.set(this),this}},De.prototype.init.prototype=De.prototype,De.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=g.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){g.fx.step[e.prop]?g.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[g.cssProps[e.prop]]||g.cssHooks[e.prop])?g.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},De.propHooks.scrollTop=De.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},g.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},g.fx=De.prototype.init,g.fx.step={};var Le,Me,Be=/^(?:toggle|show|hide)$/,Fe=new RegExp("^(?:([+-])=|)("+q+")([a-z%]*)$","i"),He=/queueHooks$/,Ue=[function(e,t,r){var n,i,a,o,s,l,c,u=this,p={},d=e.style,m=e.nodeType&&W(e),h=D.get(e,"fxshow");for(n in r.queue||(null==(s=g._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always((function(){u.always((function(){s.unqueued--,g.queue(e,"fx").length||s.empty.fire()}))}))),1===e.nodeType&&("height"in t||"width"in t)&&(r.overflow=[d.overflow,d.overflowX,d.overflowY],"inline"===("none"===(c=g.css(e,"display"))?D.get(e,"olddisplay")||we(e.nodeName):c)&&"none"===g.css(e,"float")&&(d.display="inline-block")),r.overflow&&(d.overflow="hidden",u.always((function(){d.overflow=r.overflow[0],d.overflowX=r.overflow[1],d.overflowY=r.overflow[2]}))),t)if(i=t[n],Be.exec(i)){if(delete t[n],a=a||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!h||void 0===h[n])continue;m=!0}p[n]=h&&h[n]||g.style(e,n)}else c=void 0;if(g.isEmptyObject(p))"inline"===("none"===c?we(e.nodeName):c)&&(d.display=c);else for(n in h?"hidden"in h&&(m=h.hidden):h=D.access(e,"fxshow",{}),a&&(h.hidden=!m),m?g(e).show():u.done((function(){g(e).hide()})),u.done((function(){var t;for(t in D.remove(e,"fxshow"),p)g.style(e,t,p[t])})),p)o=Je(m?h[n]:0,n,u),n in h||(h[n]=o.start,m&&(o.end=o.start,o.start="width"===n||"height"===n?1:0))}],qe={"*":[function(e,t){var r=this.createTween(e,t),n=r.cur(),i=Fe.exec(t),a=i&&i[3]||(g.cssNumber[e]?"":"px"),o=(g.cssNumber[e]||"px"!==a&&+n)&&Fe.exec(g.css(r.elem,e)),s=1,l=20;if(o&&o[3]!==a){a=a||o[3],i=i||[],o=+n||1;do{o/=s=s||".5",g.style(r.elem,e,o+a)}while(s!==(s=r.cur()/n)&&1!==s&&--l)}return i&&(o=r.start=+o||+n||0,r.unit=a,r.end=i[1]?o+(i[1]+1)*i[2]:+i[2]),r}]};function Ve(){return setTimeout((function(){Le=void 0})),Le=g.now()}function We(e,t){var r,n=0,i={height:e};for(t=t?1:0;n<4;n+=2-t)i["margin"+(r=V[n])]=i["padding"+r]=e;return t&&(i.opacity=i.width=e),i}function Je(e,t,r){for(var n,i=(qe[t]||[]).concat(qe["*"]),a=0,o=i.length;a<o;a++)if(n=i[a].call(r,t,e))return n}function Ge(e,t,r){var n,i,a=0,o=Ue.length,s=g.Deferred().always((function(){delete l.elem})),l=function(){if(i)return!1;for(var t=Le||Ve(),r=Math.max(0,c.startTime+c.duration-t),n=1-(r/c.duration||0),a=0,o=c.tweens.length;a<o;a++)c.tweens[a].run(n);return s.notifyWith(e,[c,n,r]),n<1&&o?r:(s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:g.extend({},t),opts:g.extend(!0,{specialEasing:{}},r),originalProperties:t,originalOptions:r,startTime:Le||Ve(),duration:r.duration,tweens:[],createTween:function(t,r){var n=g.Tween(e,c.opts,t,r,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(n),n},stop:function(t){var r=0,n=t?c.tweens.length:0;if(i)return this;for(i=!0;r<n;r++)c.tweens[r].run(1);return t?s.resolveWith(e,[c,t]):s.rejectWith(e,[c,t]),this}}),u=c.props;for(function(e,t){var r,n,i,a,o;for(r in e)if(i=t[n=g.camelCase(r)],a=e[r],g.isArray(a)&&(i=a[1],a=e[r]=a[0]),r!==n&&(e[n]=a,delete e[r]),(o=g.cssHooks[n])&&"expand"in o)for(r in a=o.expand(a),delete e[n],a)r in e||(e[r]=a[r],t[r]=i);else t[n]=i}(u,c.opts.specialEasing);a<o;a++)if(n=Ue[a].call(c,e,u,c.opts))return n;return g.map(u,Je,c),g.isFunction(c.opts.start)&&c.opts.start.call(e,c),g.fx.timer(g.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}g.Animation=g.extend(Ge,{tweener:function(e,t){g.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var r,n=0,i=e.length;n<i;n++)r=e[n],qe[r]=qe[r]||[],qe[r].unshift(t)},prefilter:function(e,t){t?Ue.unshift(e):Ue.push(e)}}),g.speed=function(e,t,r){var n=e&&"object"==typeof e?g.extend({},e):{complete:r||!r&&t||g.isFunction(e)&&e,duration:e,easing:r&&t||t&&!g.isFunction(t)&&t};return n.duration=g.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in g.fx.speeds?g.fx.speeds[n.duration]:g.fx.speeds._default,null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){g.isFunction(n.old)&&n.old.call(this),n.queue&&g.dequeue(this,n.queue)},n},g.fn.extend({fadeTo:function(e,t,r,n){return this.filter(W).css("opacity",0).show().end().animate({opacity:t},e,r,n)},animate:function(e,t,r,n){var i=g.isEmptyObject(e),a=g.speed(t,r,n),o=function(){var t=Ge(this,g.extend({},e),a);(i||D.get(this,"finish"))&&t.stop(!0)};return o.finish=o,i||!1===a.queue?this.each(o):this.queue(a.queue,o)},stop:function(e,t,r){var n=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",a=g.timers,o=D.get(this);if(i)o[i]&&o[i].stop&&n(o[i]);else for(i in o)o[i]&&o[i].stop&&He.test(i)&&n(o[i]);for(i=a.length;i--;)a[i].elem!==this||null!=e&&a[i].queue!==e||(a[i].anim.stop(r),t=!1,a.splice(i,1));!t&&r||g.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,r=D.get(this),n=r[e+"queue"],i=r[e+"queueHooks"],a=g.timers,o=n?n.length:0;for(r.finish=!0,g.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=a.length;t--;)a[t].elem===this&&a[t].queue===e&&(a[t].anim.stop(!0),a.splice(t,1));for(t=0;t<o;t++)n[t]&&n[t].finish&&n[t].finish.call(this);delete r.finish}))}}),g.each(["toggle","show","hide"],(function(e,t){var r=g.fn[t];g.fn[t]=function(e,n,i){return null==e||"boolean"==typeof e?r.apply(this,arguments):this.animate(We(t,!0),e,n,i)}})),g.each({slideDown:We("show"),slideUp:We("hide"),slideToggle:We("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){g.fn[e]=function(e,r,n){return this.animate(t,e,r,n)}})),g.timers=[],g.fx.tick=function(){var e,t=0,r=g.timers;for(Le=g.now();t<r.length;t++)(e=r[t])()||r[t]!==e||r.splice(t--,1);r.length||g.fx.stop(),Le=void 0},g.fx.timer=function(e){g.timers.push(e),e()?g.fx.start():g.timers.pop()},g.fx.interval=13,g.fx.start=function(){Me||(Me=setInterval(g.fx.tick,g.fx.interval))},g.fx.stop=function(){clearInterval(Me),Me=null},g.fx.speeds={slow:600,fast:200,_default:400},g.fn.delay=function(e,t){return e=g.fx&&g.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,r){var n=setTimeout(t,e);r.stop=function(){clearTimeout(n)}}))},function(){var e=h.createElement("input"),t=h.createElement("select"),r=t.appendChild(h.createElement("option"));e.type="checkbox",m.checkOn=""!==e.value,m.optSelected=r.selected,t.disabled=!0,m.optDisabled=!r.disabled,(e=h.createElement("input")).value="t",e.type="radio",m.radioValue="t"===e.value}();var Ke,Ye=g.expr.attrHandle;g.fn.extend({attr:function(e,t){return j(this,g.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){g.removeAttr(this,e)}))}}),g.extend({attr:function(e,t,r){var n,i,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return typeof e.getAttribute===G?g.prop(e,t,r):(1===a&&g.isXMLDoc(e)||(t=t.toLowerCase(),n=g.attrHooks[t]||(g.expr.match.bool.test(t)?Ke:void 0)),void 0===r?n&&"get"in n&&null!==(i=n.get(e,t))?i:null==(i=g.find.attr(e,t))?void 0:i:null!==r?n&&"set"in n&&void 0!==(i=n.set(e,r,t))?i:(e.setAttribute(t,r+""),r):void g.removeAttr(e,t))},removeAttr:function(e,t){var r,n,i=0,a=t&&t.match(O);if(a&&1===e.nodeType)for(;r=a[i++];)n=g.propFix[r]||r,g.expr.match.bool.test(r)&&(e[n]=!1),e.removeAttribute(r)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&g.nodeName(e,"input")){var r=e.value;return e.setAttribute("type",t),r&&(e.value=r),t}}}}}),Ke={set:function(e,t,r){return!1===t?g.removeAttr(e,r):e.setAttribute(r,r),r}},g.each(g.expr.match.bool.source.match(/\w+/g),(function(e,t){var r=Ye[t]||g.find.attr;Ye[t]=function(e,t,n){var i,a;return n||(a=Ye[t],Ye[t]=i,i=null!=r(e,t,n)?t.toLowerCase():null,Ye[t]=a),i}}));var Xe=/^(?:input|select|textarea|button)$/i;g.fn.extend({prop:function(e,t){return j(this,g.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[g.propFix[e]||e]}))}}),g.extend({propFix:{for:"htmlFor",class:"className"},prop:function(e,t,r){var n,i,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return(1!==a||!g.isXMLDoc(e))&&(t=g.propFix[t]||t,i=g.propHooks[t]),void 0!==r?i&&"set"in i&&void 0!==(n=i.set(e,r,t))?n:e[t]=r:i&&"get"in i&&null!==(n=i.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||Xe.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),m.optSelected||(g.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),g.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){g.propFix[this.toLowerCase()]=this}));var Qe=/[\t\r\n\f]/g;g.fn.extend({addClass:function(e){var t,r,n,i,a,o,s="string"==typeof e&&e,l=0,c=this.length;if(g.isFunction(e))return this.each((function(t){g(this).addClass(e.call(this,t,this.className))}));if(s)for(t=(e||"").match(O)||[];l<c;l++)if(n=1===(r=this[l]).nodeType&&(r.className?(" "+r.className+" ").replace(Qe," "):" ")){for(a=0;i=t[a++];)n.indexOf(" "+i+" ")<0&&(n+=i+" ");o=g.trim(n),r.className!==o&&(r.className=o)}return this},removeClass:function(e){var t,r,n,i,a,o,s=0===arguments.length||"string"==typeof e&&e,l=0,c=this.length;if(g.isFunction(e))return this.each((function(t){g(this).removeClass(e.call(this,t,this.className))}));if(s)for(t=(e||"").match(O)||[];l<c;l++)if(n=1===(r=this[l]).nodeType&&(r.className?(" "+r.className+" ").replace(Qe," "):"")){for(a=0;i=t[a++];)for(;n.indexOf(" "+i+" ")>=0;)n=n.replace(" "+i+" "," ");o=e?g.trim(n):"",r.className!==o&&(r.className=o)}return this},toggleClass:function(e,t){var r=typeof e;return"boolean"==typeof t&&"string"===r?t?this.addClass(e):this.removeClass(e):g.isFunction(e)?this.each((function(r){g(this).toggleClass(e.call(this,r,this.className,t),t)})):this.each((function(){if("string"===r)for(var t,n=0,i=g(this),a=e.match(O)||[];t=a[n++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else r!==G&&"boolean"!==r||(this.className&&D.set(this,"__className__",this.className),this.className=this.className||!1===e?"":D.get(this,"__className__")||"")}))},hasClass:function(e){for(var t=" "+e+" ",r=0,n=this.length;r<n;r++)if(1===this[r].nodeType&&(" "+this[r].className+" ").replace(Qe," ").indexOf(t)>=0)return!0;return!1}});var et=/\r/g;g.fn.extend({val:function(e){var t,r,n,i=this[0];return arguments.length?(n=g.isFunction(e),this.each((function(r){var i;1===this.nodeType&&(null==(i=n?e.call(this,r,g(this).val()):e)?i="":"number"==typeof i?i+="":g.isArray(i)&&(i=g.map(i,(function(e){return null==e?"":e+""}))),(t=g.valHooks[this.type]||g.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=g.valHooks[i.type]||g.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(r=t.get(i,"value"))?r:"string"==typeof(r=i.value)?r.replace(et,""):null==r?"":r:void 0}}),g.extend({valHooks:{option:{get:function(e){var t=g.find.attr(e,"value");return null!=t?t:g.trim(g.text(e))}},select:{get:function(e){for(var t,r,n=e.options,i=e.selectedIndex,a="select-one"===e.type||i<0,o=a?null:[],s=a?i+1:n.length,l=i<0?s:a?i:0;l<s;l++)if(((r=n[l]).selected||l===i)&&(m.optDisabled?!r.disabled:null===r.getAttribute("disabled"))&&(!r.parentNode.disabled||!g.nodeName(r.parentNode,"optgroup"))){if(t=g(r).val(),a)return t;o.push(t)}return o},set:function(e,t){for(var r,n,i=e.options,a=g.makeArray(t),o=i.length;o--;)((n=i[o]).selected=g.inArray(n.value,a)>=0)&&(r=!0);return r||(e.selectedIndex=-1),a}}}}),g.each(["radio","checkbox"],(function(){g.valHooks[this]={set:function(e,t){if(g.isArray(t))return e.checked=g.inArray(g(e).val(),t)>=0}},m.checkOn||(g.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),(function(e,t){g.fn[t]=function(e,r){return arguments.length>0?this.on(t,null,e,r):this.trigger(t)}})),g.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,r){return this.on(e,null,t,r)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,r,n){return this.on(t,e,r,n)},undelegate:function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)}});var tt=g.now(),rt=/\?/;g.parseJSON=function(e){return JSON.parse(e+"")},g.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||g.error("Invalid XML: "+e),t};var nt=/#.*$/,it=/([?&])_=[^&]*/,at=/^(.*?):[ \t]*([^\r\n]*)$/gm,ot=/^(?:GET|HEAD)$/,st=/^\/\//,lt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,ct={},ut={},pt="*/".concat("*"),dt=n.location.href,mt=lt.exec(dt.toLowerCase())||[];function ht(e){return function(t,r){"string"!=typeof t&&(r=t,t="*");var n,i=0,a=t.toLowerCase().match(O)||[];if(g.isFunction(r))for(;n=a[i++];)"+"===n[0]?(n=n.slice(1)||"*",(e[n]=e[n]||[]).unshift(r)):(e[n]=e[n]||[]).push(r)}}function vt(e,t,r,n){var i={},a=e===ut;function o(s){var l;return i[s]=!0,g.each(e[s]||[],(function(e,s){var c=s(t,r,n);return"string"!=typeof c||a||i[c]?a?!(l=c):void 0:(t.dataTypes.unshift(c),o(c),!1)})),l}return o(t.dataTypes[0])||!i["*"]&&o("*")}function gt(e,t){var r,n,i=g.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&g.extend(!0,e,n),e}g.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:dt,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(mt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":pt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":g.parseJSON,"text xml":g.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?gt(gt(e,g.ajaxSettings),t):gt(g.ajaxSettings,e)},ajaxPrefilter:ht(ct),ajaxTransport:ht(ut),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,n,i,a,o,s,l,c,u=g.ajaxSetup({},t),p=u.context||u,d=u.context&&(p.nodeType||p.jquery)?g(p):g.event,m=g.Deferred(),h=g.Callbacks("once memory"),v=u.statusCode||{},f={},b={},y=0,_="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(2===y){if(!a)for(a={};t=at.exec(i);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===y?i:null},setRequestHeader:function(e,t){var r=e.toLowerCase();return y||(e=b[r]=b[r]||e,f[e]=t),this},overrideMimeType:function(e){return y||(u.mimeType=e),this},statusCode:function(e){var t;if(e)if(y<2)for(t in e)v[t]=[v[t],e[t]];else w.always(e[w.status]);return this},abort:function(e){var t=e||_;return r&&r.abort(t),k(0,t),this}};if(m.promise(w).complete=h.add,w.success=w.done,w.error=w.fail,u.url=((e||u.url||dt)+"").replace(nt,"").replace(st,mt[1]+"//"),u.type=t.method||t.type||u.method||u.type,u.dataTypes=g.trim(u.dataType||"*").toLowerCase().match(O)||[""],null==u.crossDomain&&(s=lt.exec(u.url.toLowerCase()),u.crossDomain=!(!s||s[1]===mt[1]&&s[2]===mt[2]&&(s[3]||("http:"===s[1]?"80":"443"))===(mt[3]||("http:"===mt[1]?"80":"443")))),u.data&&u.processData&&"string"!=typeof u.data&&(u.data=g.param(u.data,u.traditional)),vt(ct,u,t,w),2===y)return w;for(c in(l=g.event&&u.global)&&0==g.active++&&g.event.trigger("ajaxStart"),u.type=u.type.toUpperCase(),u.hasContent=!ot.test(u.type),n=u.url,u.hasContent||(u.data&&(n=u.url+=(rt.test(n)?"&":"?")+u.data,delete u.data),!1===u.cache&&(u.url=it.test(n)?n.replace(it,"$1_="+tt++):n+(rt.test(n)?"&":"?")+"_="+tt++)),u.ifModified&&(g.lastModified[n]&&w.setRequestHeader("If-Modified-Since",g.lastModified[n]),g.etag[n]&&w.setRequestHeader("If-None-Match",g.etag[n])),(u.data&&u.hasContent&&!1!==u.contentType||t.contentType)&&w.setRequestHeader("Content-Type",u.contentType),w.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+("*"!==u.dataTypes[0]?", "+pt+"; q=0.01":""):u.accepts["*"]),u.headers)w.setRequestHeader(c,u.headers[c]);if(u.beforeSend&&(!1===u.beforeSend.call(p,w,u)||2===y))return w.abort();for(c in _="abort",{success:1,error:1,complete:1})w[c](u[c]);if(r=vt(ut,u,t,w)){w.readyState=1,l&&d.trigger("ajaxSend",[w,u]),u.async&&u.timeout>0&&(o=setTimeout((function(){w.abort("timeout")}),u.timeout));try{y=1,r.send(f,k)}catch(e){if(!(y<2))throw e;k(-1,e)}}else k(-1,"No Transport");function k(e,t,a,s){var c,f,b,_,k,Z=t;2!==y&&(y=2,o&&clearTimeout(o),r=void 0,i=s||"",w.readyState=e>0?4:0,c=e>=200&&e<300||304===e,a&&(_=function(e,t,r){for(var n,i,a,o,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(i in s)if(s[i]&&s[i].test(n)){l.unshift(i);break}if(l[0]in r)a=l[0];else{for(i in r){if(!l[0]||e.converters[i+" "+l[0]]){a=i;break}o||(o=i)}a=a||o}if(a)return a!==l[0]&&l.unshift(a),r[a]}(u,w,a)),_=function(e,t,r,n){var i,a,o,s,l,c={},u=e.dataTypes.slice();if(u[1])for(o in e.converters)c[o.toLowerCase()]=e.converters[o];for(a=u.shift();a;)if(e.responseFields[a]&&(r[e.responseFields[a]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=a,a=u.shift())if("*"===a)a=l;else if("*"!==l&&l!==a){if(!(o=c[l+" "+a]||c["* "+a]))for(i in c)if((s=i.split(" "))[1]===a&&(o=c[l+" "+s[0]]||c["* "+s[0]])){!0===o?o=c[i]:!0!==c[i]&&(a=s[0],u.unshift(s[1]));break}if(!0!==o)if(o&&e.throws)t=o(t);else try{t=o(t)}catch(e){return{state:"parsererror",error:o?e:"No conversion from "+l+" to "+a}}}return{state:"success",data:t}}(u,_,w,c),c?(u.ifModified&&((k=w.getResponseHeader("Last-Modified"))&&(g.lastModified[n]=k),(k=w.getResponseHeader("etag"))&&(g.etag[n]=k)),204===e||"HEAD"===u.type?Z="nocontent":304===e?Z="notmodified":(Z=_.state,f=_.data,c=!(b=_.error))):(b=Z,!e&&Z||(Z="error",e<0&&(e=0))),w.status=e,w.statusText=(t||Z)+"",c?m.resolveWith(p,[f,Z,w]):m.rejectWith(p,[w,Z,b]),w.statusCode(v),v=void 0,l&&d.trigger(c?"ajaxSuccess":"ajaxError",[w,u,c?f:b]),h.fireWith(p,[w,Z]),l&&(d.trigger("ajaxComplete",[w,u]),--g.active||g.event.trigger("ajaxStop")))}return w},getJSON:function(e,t,r){return g.get(e,t,r,"json")},getScript:function(e,t){return g.get(e,void 0,t,"script")}}),g.each(["get","post"],(function(e,t){g[t]=function(e,r,n,i){return g.isFunction(r)&&(i=i||n,n=r,r=void 0),g.ajax({url:e,type:t,dataType:i,data:r,success:n})}})),g._evalUrl=function(e){return g.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},g.fn.extend({wrapAll:function(e){var t;return g.isFunction(e)?this.each((function(t){g(this).wrapAll(e.call(this,t))})):(this[0]&&(t=g(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this)},wrapInner:function(e){return g.isFunction(e)?this.each((function(t){g(this).wrapInner(e.call(this,t))})):this.each((function(){var t=g(this),r=t.contents();r.length?r.wrapAll(e):t.append(e)}))},wrap:function(e){var t=g.isFunction(e);return this.each((function(r){g(this).wrapAll(t?e.call(this,r):e)}))},unwrap:function(){return this.parent().each((function(){g.nodeName(this,"body")||g(this).replaceWith(this.childNodes)})).end()}}),g.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0},g.expr.filters.visible=function(e){return!g.expr.filters.hidden(e)};var ft=/%20/g,bt=/\[\]$/,yt=/\r?\n/g,_t=/^(?:submit|button|image|reset|file)$/i,wt=/^(?:input|select|textarea|keygen)/i;function kt(e,t,r,n){var i;if(g.isArray(t))g.each(t,(function(t,i){r||bt.test(e)?n(e,i):kt(e+"["+("object"==typeof i?t:"")+"]",i,r,n)}));else if(r||"object"!==g.type(t))n(e,t);else for(i in t)kt(e+"["+i+"]",t[i],r,n)}g.param=function(e,t){var r,n=[],i=function(e,t){t=g.isFunction(t)?t():null==t?"":t,n[n.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=g.ajaxSettings&&g.ajaxSettings.traditional),g.isArray(e)||e.jquery&&!g.isPlainObject(e))g.each(e,(function(){i(this.name,this.value)}));else for(r in e)kt(r,e[r],t,i);return n.join("&").replace(ft,"+")},g.fn.extend({serialize:function(){return g.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=g.prop(this,"elements");return e?g.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!g(this).is(":disabled")&&wt.test(this.nodeName)&&!_t.test(e)&&(this.checked||!J.test(e))})).map((function(e,t){var r=g(this).val();return null==r?null:g.isArray(r)?g.map(r,(function(e){return{name:t.name,value:e.replace(yt,"\r\n")}})):{name:t.name,value:r.replace(yt,"\r\n")}})).get()}}),g.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(e){}};var Zt=0,xt={},St={0:200,1223:204},$t=g.ajaxSettings.xhr();n.attachEvent&&n.attachEvent("onunload",(function(){for(var e in xt)xt[e]()})),m.cors=!!$t&&"withCredentials"in $t,m.ajax=$t=!!$t,g.ajaxTransport((function(e){var t;if(m.cors||$t&&!e.crossDomain)return{send:function(r,n){var i,a=e.xhr(),o=++Zt;if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)a[i]=e.xhrFields[i];for(i in e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)a.setRequestHeader(i,r[i]);t=function(e){return function(){t&&(delete xt[o],t=a.onload=a.onerror=null,"abort"===e?a.abort():"error"===e?n(a.status,a.statusText):n(St[a.status]||a.status,a.statusText,"string"==typeof a.responseText?{text:a.responseText}:void 0,a.getAllResponseHeaders()))}},a.onload=t(),a.onerror=t("error"),t=xt[o]=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),g.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return g.globalEval(e),e}}}),g.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),g.ajaxTransport("script",(function(e){var t,r;if(e.crossDomain)return{send:function(n,i){t=g("<script>").prop({async:!0,charset:e.scriptCharset,src:e.url}).on("load error",r=function(e){t.remove(),r=null,e&&i("error"===e.type?404:200,e.type)}),h.head.appendChild(t[0])},abort:function(){r&&r()}}}));var At=[],Ct=/(=)\?(?=&|$)|\?\?/;g.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=At.pop()||g.expando+"_"+tt++;return this[e]=!0,e}}),g.ajaxPrefilter("json jsonp",(function(e,t,r){var i,a,o,s=!1!==e.jsonp&&(Ct.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ct.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=g.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Ct,"$1"+i):!1!==e.jsonp&&(e.url+=(rt.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return o||g.error(i+" was not called"),o[0]},e.dataTypes[0]="json",a=n[i],n[i]=function(){o=arguments},r.always((function(){n[i]=a,e[i]&&(e.jsonpCallback=t.jsonpCallback,At.push(i)),o&&g.isFunction(a)&&a(o[0]),o=a=void 0})),"script"})),g.parseHTML=function(e,t,r){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(r=t,t=!1),t=t||h;var n=x.exec(e),i=!r&&[];return n?[t.createElement(n[1])]:(n=g.buildFragment([e],t,i),i&&i.length&&g(i).remove(),g.merge([],n.childNodes))};var Tt=g.fn.load;g.fn.load=function(e,t,r){if("string"!=typeof e&&Tt)return Tt.apply(this,arguments);var n,i,a,o=this,s=e.indexOf(" ");return s>=0&&(n=g.trim(e.slice(s)),e=e.slice(0,s)),g.isFunction(t)?(r=t,t=void 0):t&&"object"==typeof t&&(i="POST"),o.length>0&&g.ajax({url:e,type:i,dataType:"html",data:t}).done((function(e){a=arguments,o.html(n?g("<div>").append(g.parseHTML(e)).find(n):e)})).complete(r&&function(e,t){o.each(r,a||[e.responseText,t,e])}),this},g.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){g.fn[t]=function(e){return this.on(t,e)}})),g.expr.filters.animated=function(e){return g.grep(g.timers,(function(t){return e===t.elem})).length};var Pt=n.document.documentElement;function zt(e){return g.isWindow(e)?e:9===e.nodeType&&e.defaultView}g.offset={setOffset:function(e,t,r){var n,i,a,o,s,l,c=g.css(e,"position"),u=g(e),p={};"static"===c&&(e.style.position="relative"),s=u.offset(),a=g.css(e,"top"),l=g.css(e,"left"),("absolute"===c||"fixed"===c)&&(a+l).indexOf("auto")>-1?(o=(n=u.position()).top,i=n.left):(o=parseFloat(a)||0,i=parseFloat(l)||0),g.isFunction(t)&&(t=t.call(e,r,s)),null!=t.top&&(p.top=t.top-s.top+o),null!=t.left&&(p.left=t.left-s.left+i),"using"in t?t.using.call(e,p):u.css(p)}},g.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){g.offset.setOffset(this,e,t)}));var t,r,n=this[0],i={top:0,left:0},a=n&&n.ownerDocument;return a?(t=a.documentElement,g.contains(t,n)?(typeof n.getBoundingClientRect!==G&&(i=n.getBoundingClientRect()),r=zt(a),{top:i.top+r.pageYOffset-t.clientTop,left:i.left+r.pageXOffset-t.clientLeft}):i):void 0},position:function(){if(this[0]){var e,t,r=this[0],n={top:0,left:0};return"fixed"===g.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),g.nodeName(e[0],"html")||(n=e.offset()),n.top+=g.css(e[0],"borderTopWidth",!0),n.left+=g.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-g.css(r,"marginTop",!0),left:t.left-n.left-g.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent||Pt;e&&!g.nodeName(e,"html")&&"static"===g.css(e,"position");)e=e.offsetParent;return e||Pt}))}}),g.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var r="pageYOffset"===t;g.fn[e]=function(i){return j(this,(function(e,i,a){var o=zt(e);if(void 0===a)return o?o[t]:e[i];o?o.scrollTo(r?n.pageXOffset:a,r?a:n.pageYOffset):e[i]=a}),e,i,arguments.length,null)}})),g.each(["top","left"],(function(e,t){g.cssHooks[t]=$e(m.pixelPosition,(function(e,r){if(r)return r=Se(e,t),Ze.test(r)?g(e).position()[t]+"px":r}))})),g.each({Height:"height",Width:"width"},(function(e,t){g.each({padding:"inner"+e,content:t,"":"outer"+e},(function(r,n){g.fn[n]=function(n,i){var a=arguments.length&&(r||"boolean"!=typeof n),o=r||(!0===n||!0===i?"margin":"border");return j(this,(function(t,r,n){var i;return g.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===n?g.css(t,r,o):g.style(t,r,n,o)}),t,a?n:void 0,a,null)}}))})),g.fn.size=function(){return this.length},g.fn.andSelf=g.fn.addBack,void 0===(r=function(){return g}.apply(t,[]))||(e.exports=r);var Et=n.jQuery,Ot=n.$;return g.noConflict=function(e){return n.$===g&&(n.$=Ot),e&&n.jQuery===g&&(n.jQuery=Et),g},typeof i===G&&(n.jQuery=n.$=g),g},"object"==typeof e.exports?e.exports=n.document?i(n,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return i(e)}:i(n)},285397:(e,t,r)=>{var n="undefined"!=typeof JSON?JSON:r(324307);e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var r=t.space||"";"number"==typeof r&&(r=Array(r+1).join(" "));var o,s="boolean"==typeof t.cycles&&t.cycles,l=t.replacer||function(e,t){return t},c=t.cmp&&(o=t.cmp,function(e){return function(t,r){var n={key:t,value:e[t]},i={key:r,value:e[r]};return o(n,i)}}),u=[];return function e(t,o,p,d){var m=r?"\n"+new Array(d+1).join(r):"",h=r?": ":":";if(p&&p.toJSON&&"function"==typeof p.toJSON&&(p=p.toJSON()),void 0!==(p=l.call(t,o,p))){if("object"!=typeof p||null===p)return n.stringify(p);if(i(p)){for(var v=[],g=0;g<p.length;g++){var f=e(p,g,p[g],d+1)||n.stringify(null);v.push(m+r+f)}return"["+v.join(",")+m+"]"}if(-1!==u.indexOf(p)){if(s)return n.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}u.push(p);var b=a(p).sort(c&&c(p));for(v=[],g=0;g<b.length;g++){var y=e(p,o=b[g],p[o],d+1);if(y){var _=n.stringify(o)+h+y;v.push(m+r+_)}}return u.splice(u.indexOf(p),1),"{"+v.join(",")+m+"}"}}({"":e},"",e,0)};var i=Array.isArray||function(e){return"[object Array]"==={}.toString.call(e)},a=Object.keys||function(e){var t=Object.prototype.hasOwnProperty||function(){return!0},r=[];for(var n in e)t.call(e,n)&&r.push(n);return r}},324307:(e,t,r)=>{t.parse=r(510517),t.stringify=r(349530)},510517:e=>{var t,r,n,i,a={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},o=function(e){throw{name:"SyntaxError",message:e,at:t,text:n}},s=function(e){return e&&e!==r&&o("Expected '"+e+"' instead of '"+r+"'"),r=n.charAt(t),t+=1,r},l=function(){var e,t="";for("-"===r&&(t="-",s("-"));r>="0"&&r<="9";)t+=r,s();if("."===r)for(t+=".";s()&&r>="0"&&r<="9";)t+=r;if("e"===r||"E"===r)for(t+=r,s(),"-"!==r&&"+"!==r||(t+=r,s());r>="0"&&r<="9";)t+=r,s();if(e=+t,isFinite(e))return e;o("Bad number")},c=function(){var e,t,n,i="";if('"'===r)for(;s();){if('"'===r)return s(),i;if("\\"===r)if(s(),"u"===r){for(n=0,t=0;t<4&&(e=parseInt(s(),16),isFinite(e));t+=1)n=16*n+e;i+=String.fromCharCode(n)}else{if("string"!=typeof a[r])break;i+=a[r]}else i+=r}o("Bad string")},u=function(){for(;r&&r<=" ";)s()};i=function(){switch(u(),r){case"{":return function(){var e,t={};if("{"===r){if(s("{"),u(),"}"===r)return s("}"),t;for(;r;){if(e=c(),u(),s(":"),Object.hasOwnProperty.call(t,e)&&o('Duplicate key "'+e+'"'),t[e]=i(),u(),"}"===r)return s("}"),t;s(","),u()}}o("Bad object")}();case"[":return function(){var e=[];if("["===r){if(s("["),u(),"]"===r)return s("]"),e;for(;r;){if(e.push(i()),u(),"]"===r)return s("]"),e;s(","),u()}}o("Bad array")}();case'"':return c();case"-":return l();default:return r>="0"&&r<="9"?l():function(){switch(r){case"t":return s("t"),s("r"),s("u"),s("e"),!0;case"f":return s("f"),s("a"),s("l"),s("s"),s("e"),!1;case"n":return s("n"),s("u"),s("l"),s("l"),null}o("Unexpected '"+r+"'")}()}},e.exports=function(e,a){var s;return n=e,t=0,r=" ",s=i(),u(),r&&o("Syntax error"),"function"==typeof a?function e(t,r){var n,i,o=t[r];if(o&&"object"==typeof o)for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(void 0!==(i=e(o,n))?o[n]=i:delete o[n]);return a.call(t,r,o)}({"":s},""):s}},349530:e=>{var t,r,n,i=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,a={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function o(e){return i.lastIndex=0,i.test(e)?'"'+e.replace(i,(function(e){var t=a[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}function s(e,i){var a,l,c,u,p,d=t,m=i[e];switch(m&&"object"==typeof m&&"function"==typeof m.toJSON&&(m=m.toJSON(e)),"function"==typeof n&&(m=n.call(i,e,m)),typeof m){case"string":return o(m);case"number":return isFinite(m)?String(m):"null";case"boolean":case"null":return String(m);case"object":if(!m)return"null";if(t+=r,p=[],"[object Array]"===Object.prototype.toString.apply(m)){for(u=m.length,a=0;a<u;a+=1)p[a]=s(a,m)||"null";return c=0===p.length?"[]":t?"[\n"+t+p.join(",\n"+t)+"\n"+d+"]":"["+p.join(",")+"]",t=d,c}if(n&&"object"==typeof n)for(u=n.length,a=0;a<u;a+=1)"string"==typeof(l=n[a])&&(c=s(l,m))&&p.push(o(l)+(t?": ":":")+c);else for(l in m)Object.prototype.hasOwnProperty.call(m,l)&&(c=s(l,m))&&p.push(o(l)+(t?": ":":")+c);return c=0===p.length?"{}":t?"{\n"+t+p.join(",\n"+t)+"\n"+d+"}":"{"+p.join(",")+"}",t=d,c}}e.exports=function(e,i,a){var o;if(t="",r="","number"==typeof a)for(o=0;o<a;o+=1)r+=" ";else"string"==typeof a&&(r=a);if(n=i,i&&"function"!=typeof i&&("object"!=typeof i||"number"!=typeof i.length))throw new Error("JSON.stringify");return s("",{"":e})}},822044:(e,t,r)=>{var n=r(659962)(r(347548),"DataView");e.exports=n},510887:(e,t,r)=>{var n=r(624545),i=r(703458),a=r(6633),o=r(904490),s=r(250615);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=o,l.prototype.set=s,e.exports=l},326893:(e,t,r)=>{var n=r(40764),i=r(696335),a=r(122734),o=r(45917),s=r(911932);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=o,l.prototype.set=s,e.exports=l},766396:(e,t,r)=>{var n=r(659962)(r(347548),"Map");e.exports=n},76796:(e,t,r)=>{var n=r(296304),i=r(968248),a=r(878480),o=r(891391),s=r(208839);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=i,l.prototype.get=a,l.prototype.has=o,l.prototype.set=s,e.exports=l},597874:(e,t,r)=>{var n=r(659962)(r(347548),"Promise");e.exports=n},409092:(e,t,r)=>{var n=r(659962)(r(347548),"Set");e.exports=n},545173:(e,t,r)=>{var n=r(76796),i=r(268890),a=r(339884);function o(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}o.prototype.add=o.prototype.push=i,o.prototype.has=a,e.exports=o},635108:(e,t,r)=>{var n=r(326893),i=r(937370),a=r(251094),o=r(453805),s=r(506656),l=r(243232);function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=i,c.prototype.delete=a,c.prototype.get=o,c.prototype.has=s,c.prototype.set=l,e.exports=c},801091:(e,t,r)=>{var n=r(347548).Symbol;e.exports=n},918645:(e,t,r)=>{var n=r(347548).Uint8Array;e.exports=n},445070:(e,t,r)=>{var n=r(659962)(r(347548),"WeakMap");e.exports=n},210170:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,a=[];++r<n;){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a}},316187:(e,t,r)=>{var n=r(265101),i=r(786241),a=r(709504),o=r(172701),s=r(222239),l=r(808634),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=a(e),u=!r&&i(e),p=!r&&!u&&o(e),d=!r&&!u&&!p&&l(e),m=r||u||p||d,h=m?n(e.length,String):[],v=h.length;for(var g in e)!t&&!c.call(e,g)||m&&("length"==g||p&&("offset"==g||"parent"==g)||d&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,v))||h.push(g);return h}},849538:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},406238:e=>{e.exports=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}},254691:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},164612:(e,t,r)=>{var n=r(35718);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},456666:(e,t,r)=>{var n=r(751518),i=r(424282);e.exports=function(e,t){for(var r=0,a=(t=n(t,e)).length;null!=e&&r<a;)e=e[i(t[r++])];return r&&r==a?e:void 0}},939033:(e,t,r)=>{var n=r(406238),i=r(709504);e.exports=function(e,t,r){var a=t(e);return i(e)?a:n(a,r(e))}},735473:(e,t,r)=>{var n=r(801091),i=r(300053),a=r(697519),o=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?i(e):a(e)}},941241:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},652133:(e,t,r)=>{var n=r(735473),i=r(542084);e.exports=function(e){return i(e)&&"[object Arguments]"==n(e)}},446165:(e,t,r)=>{var n=r(868965),i=r(542084);e.exports=function e(t,r,a,o,s){return t===r||(null==t||null==r||!i(t)&&!i(r)?t!=t&&r!=r:n(t,r,a,o,e,s))}},868965:(e,t,r)=>{var n=r(635108),i=r(753088),a=r(885190),o=r(551673),s=r(141410),l=r(709504),c=r(172701),u=r(808634),p="[object Arguments]",d="[object Array]",m="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,v,g,f){var b=l(e),y=l(t),_=b?d:s(e),w=y?d:s(t),k=(_=_==p?m:_)==m,Z=(w=w==p?m:w)==m,x=_==w;if(x&&c(e)){if(!c(t))return!1;b=!0,k=!1}if(x&&!k)return f||(f=new n),b||u(e)?i(e,t,r,v,g,f):a(e,t,_,r,v,g,f);if(!(1&r)){var S=k&&h.call(e,"__wrapped__"),$=Z&&h.call(t,"__wrapped__");if(S||$){var A=S?e.value():e,C=$?t.value():t;return f||(f=new n),g(A,C,r,v,f)}}return!!x&&(f||(f=new n),o(e,t,r,v,g,f))}},350762:(e,t,r)=>{var n=r(635108),i=r(446165);e.exports=function(e,t,r,a){var o=r.length,s=o,l=!a;if(null==e)return!s;for(e=Object(e);o--;){var c=r[o];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++o<s;){var u=(c=r[o])[0],p=e[u],d=c[1];if(l&&c[2]){if(void 0===p&&!(u in e))return!1}else{var m=new n;if(a)var h=a(p,d,u,e,t,m);if(!(void 0===h?i(d,p,3,a,m):h))return!1}}return!0}},449155:(e,t,r)=>{var n=r(321987),i=r(715767),a=r(787557),o=r(983184),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,p=c.hasOwnProperty,d=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||i(e))&&(n(e)?d:s).test(o(e))}},216662:(e,t,r)=>{var n=r(735473),i=r(512319),a=r(542084),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1,e.exports=function(e){return a(e)&&i(e.length)&&!!o[n(e)]}},36016:(e,t,r)=>{var n=r(35602),i=r(393109),a=r(507807),o=r(709504),s=r(60544);e.exports=function(e){return"function"==typeof e?e:null==e?a:"object"==typeof e?o(e)?i(e[0],e[1]):n(e):s(e)}},733233:(e,t,r)=>{var n=r(399944),i=r(173548),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=[];for(var r in Object(e))a.call(e,r)&&"constructor"!=r&&t.push(r);return t}},35602:(e,t,r)=>{var n=r(350762),i=r(313849),a=r(822475);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?a(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},393109:(e,t,r)=>{var n=r(446165),i=r(959672),a=r(465289),o=r(109575),s=r(893303),l=r(822475),c=r(424282);e.exports=function(e,t){return o(e)&&s(t)?l(c(e),t):function(r){var o=i(r,e);return void 0===o&&o===t?a(r,e):n(t,o,3)}}},440376:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},600573:(e,t,r)=>{var n=r(456666);e.exports=function(e){return function(t){return n(t,e)}}},234647:(e,t,r)=>{var n=r(4261),i=Math.floor,a=Math.min;e.exports=function(e,t,r,o){var s=0,l=null==e?0:e.length;if(0===l)return 0;for(var c=(t=r(t))!=t,u=null===t,p=n(t),d=void 0===t;s<l;){var m=i((s+l)/2),h=r(e[m]),v=void 0!==h,g=null===h,f=h==h,b=n(h);if(c)var y=o||f;else y=d?f&&(o||v):u?f&&v&&(o||!g):p?f&&v&&!g&&(o||!b):!g&&!b&&(o?h<=t:h<t);y?s=m+1:l=m}return a(l,4294967294)}},265101:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},172246:(e,t,r)=>{var n=r(801091),i=r(849538),a=r(709504),o=r(4261),s=n?n.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(a(t))return i(t,e)+"";if(o(t))return l?l.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},519046:e=>{e.exports=function(e){return function(t){return e(t)}}},639927:e=>{e.exports=function(e,t){return e.has(t)}},751518:(e,t,r)=>{var n=r(709504),i=r(109575),a=r(779872),o=r(232377);e.exports=function(e,t){return n(e)?e:i(e,t)?[e]:a(o(e))}},282569:(e,t,r)=>{var n=r(347548)["__core-js_shared__"];e.exports=n},753088:(e,t,r)=>{var n=r(545173),i=r(254691),a=r(639927);e.exports=function(e,t,r,o,s,l){var c=1&r,u=e.length,p=t.length;if(u!=p&&!(c&&p>u))return!1;var d=l.get(e),m=l.get(t);if(d&&m)return d==t&&m==e;var h=-1,v=!0,g=2&r?new n:void 0;for(l.set(e,t),l.set(t,e);++h<u;){var f=e[h],b=t[h];if(o)var y=c?o(b,f,h,t,e,l):o(f,b,h,e,t,l);if(void 0!==y){if(y)continue;v=!1;break}if(g){if(!i(t,(function(e,t){if(!a(g,t)&&(f===e||s(f,e,r,o,l)))return g.push(t)}))){v=!1;break}}else if(f!==b&&!s(f,b,r,o,l)){v=!1;break}}return l.delete(e),l.delete(t),v}},885190:(e,t,r)=>{var n=r(801091),i=r(918645),a=r(35718),o=r(753088),s=r(154442),l=r(374450),c=n?n.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,r,n,c,p,d){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new i(e),new i(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var m=s;case"[object Set]":var h=1&n;if(m||(m=l),e.size!=t.size&&!h)return!1;var v=d.get(e);if(v)return v==t;n|=2,d.set(e,t);var g=o(m(e),m(t),n,c,p,d);return d.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},551673:(e,t,r)=>{var n=r(842958),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,a,o,s){var l=1&r,c=n(e),u=c.length;if(u!=n(t).length&&!l)return!1;for(var p=u;p--;){var d=c[p];if(!(l?d in t:i.call(t,d)))return!1}var m=s.get(e),h=s.get(t);if(m&&h)return m==t&&h==e;var v=!0;s.set(e,t),s.set(t,e);for(var g=l;++p<u;){var f=e[d=c[p]],b=t[d];if(a)var y=l?a(b,f,d,t,e,s):a(f,b,d,e,t,s);if(!(void 0===y?f===b||o(f,b,r,a,s):y)){v=!1;break}g||(g="constructor"==d)}if(v&&!g){var _=e.constructor,w=t.constructor;_==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof _&&_ instanceof _&&"function"==typeof w&&w instanceof w||(v=!1)}return s.delete(e),s.delete(t),v}},969203:(e,t,r)=>{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},842958:(e,t,r)=>{var n=r(939033),i=r(622119),a=r(152928);e.exports=function(e){return n(e,a,i)}},880916:(e,t,r)=>{var n=r(391976);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},313849:(e,t,r)=>{var n=r(893303),i=r(152928);e.exports=function(e){for(var t=i(e),r=t.length;r--;){var a=t[r],o=e[a];t[r]=[a,o,n(o)]}return t}},659962:(e,t,r)=>{var n=r(449155),i=r(790964);e.exports=function(e,t){var r=i(e,t);return n(r)?r:void 0}},300053:(e,t,r)=>{var n=r(801091),i=Object.prototype,a=i.hasOwnProperty,o=i.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var i=o.call(e);return n&&(t?e[s]=r:delete e[s]),i}},622119:(e,t,r)=>{var n=r(210170),i=r(111919),a=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,s=o?function(e){return null==e?[]:(e=Object(e),n(o(e),(function(t){return a.call(e,t)})))}:i;e.exports=s},141410:(e,t,r)=>{var n=r(822044),i=r(766396),a=r(597874),o=r(409092),s=r(445070),l=r(735473),c=r(983184),u="[object Map]",p="[object Promise]",d="[object Set]",m="[object WeakMap]",h="[object DataView]",v=c(n),g=c(i),f=c(a),b=c(o),y=c(s),_=l;(n&&_(new n(new ArrayBuffer(1)))!=h||i&&_(new i)!=u||a&&_(a.resolve())!=p||o&&_(new o)!=d||s&&_(new s)!=m)&&(_=function(e){var t=l(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case v:return h;case g:return u;case f:return p;case b:return d;case y:return m}return t}),e.exports=_},790964:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},94170:(e,t,r)=>{var n=r(751518),i=r(786241),a=r(709504),o=r(222239),s=r(512319),l=r(424282);e.exports=function(e,t,r){for(var c=-1,u=(t=n(t,e)).length,p=!1;++c<u;){var d=l(t[c]);if(!(p=null!=e&&r(e,d)))break;e=e[d]}return p||++c!=u?p:!!(u=null==e?0:e.length)&&s(u)&&o(d,u)&&(a(e)||i(e))}},624545:(e,t,r)=>{var n=r(820666);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},703458:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},6633:(e,t,r)=>{var n=r(820666),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return i.call(t,e)?t[e]:void 0}},904490:(e,t,r)=>{var n=r(820666),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:i.call(t,e)}},250615:(e,t,r)=>{var n=r(820666);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},222239:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},109575:(e,t,r)=>{var n=r(709504),i=r(4261),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!i(e))||o.test(e)||!a.test(e)||null!=t&&e in Object(t)}},391976:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},715767:(e,t,r)=>{var n,i=r(282569),a=(n=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!a&&a in e}},399944:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},893303:(e,t,r)=>{var n=r(787557);e.exports=function(e){return e==e&&!n(e)}},40764:e=>{e.exports=function(){this.__data__=[],this.size=0}},696335:(e,t,r)=>{var n=r(164612),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0||(r==t.length-1?t.pop():i.call(t,r,1),--this.size,0))}},122734:(e,t,r)=>{var n=r(164612);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},45917:(e,t,r)=>{var n=r(164612);e.exports=function(e){return n(this.__data__,e)>-1}},911932:(e,t,r)=>{var n=r(164612);e.exports=function(e,t){var r=this.__data__,i=n(r,e);return i<0?(++this.size,r.push([e,t])):r[i][1]=t,this}},296304:(e,t,r)=>{var n=r(510887),i=r(326893),a=r(766396);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||i),string:new n}}},968248:(e,t,r)=>{var n=r(880916);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},878480:(e,t,r)=>{var n=r(880916);e.exports=function(e){return n(this,e).get(e)}},891391:(e,t,r)=>{var n=r(880916);e.exports=function(e){return n(this,e).has(e)}},208839:(e,t,r)=>{var n=r(880916);e.exports=function(e,t){var r=n(this,e),i=r.size;return r.set(e,t),this.size+=r.size==i?0:1,this}},154442:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},822475:e=>{e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},256535:(e,t,r)=>{var n=r(185323);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},820666:(e,t,r)=>{var n=r(659962)(Object,"create");e.exports=n},173548:(e,t,r)=>{var n=r(643174)(Object.keys,Object);e.exports=n},307855:(e,t,r)=>{e=r.nmd(e);var n=r(969203),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,o=a&&a.exports===i&&n.process,s=function(){try{return a&&a.require&&a.require("util").types||o&&o.binding&&o.binding("util")}catch(e){}}();e.exports=s},697519:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},643174:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},347548:(e,t,r)=>{var n=r(969203),i="object"==typeof self&&self&&self.Object===Object&&self,a=n||i||Function("return this")();e.exports=a},268890:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},339884:e=>{e.exports=function(e){return this.__data__.has(e)}},374450:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},937370:(e,t,r)=>{var n=r(326893);e.exports=function(){this.__data__=new n,this.size=0}},251094:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},453805:e=>{e.exports=function(e){return this.__data__.get(e)}},506656:e=>{e.exports=function(e){return this.__data__.has(e)}},243232:(e,t,r)=>{var n=r(326893),i=r(766396),a=r(76796);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!i||o.length<199)return o.push([e,t]),this.size=++r.size,this;r=this.__data__=new a(o)}return r.set(e,t),this.size=r.size,this}},779872:(e,t,r)=>{var n=r(256535),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,o=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,(function(e,r,n,i){t.push(n?i.replace(a,"$1"):r||e)})),t}));e.exports=o},424282:(e,t,r)=>{var n=r(4261);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},983184:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},35718:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},959672:(e,t,r)=>{var n=r(456666);e.exports=function(e,t,r){var i=null==e?void 0:n(e,t);return void 0===i?r:i}},465289:(e,t,r)=>{var n=r(941241),i=r(94170);e.exports=function(e,t){return null!=e&&i(e,t,n)}},507807:e=>{e.exports=function(e){return e}},786241:(e,t,r)=>{var n=r(652133),i=r(542084),a=Object.prototype,o=a.hasOwnProperty,s=a.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return i(e)&&o.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},709504:e=>{var t=Array.isArray;e.exports=t},883693:(e,t,r)=>{var n=r(321987),i=r(512319);e.exports=function(e){return null!=e&&i(e.length)&&!n(e)}},172701:(e,t,r)=>{e=r.nmd(e);var n=r(347548),i=r(394395),a=t&&!t.nodeType&&t,o=a&&e&&!e.nodeType&&e,s=o&&o.exports===a?n.Buffer:void 0,l=(s?s.isBuffer:void 0)||i;e.exports=l},321987:(e,t,r)=>{var n=r(735473),i=r(787557);e.exports=function(e){if(!i(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},512319:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},787557:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},542084:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},4261:(e,t,r)=>{var n=r(735473),i=r(542084);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==n(e)}},808634:(e,t,r)=>{var n=r(216662),i=r(519046),a=r(307855),o=a&&a.isTypedArray,s=o?i(o):n;e.exports=s},152928:(e,t,r)=>{var n=r(316187),i=r(733233),a=r(883693);e.exports=function(e){return a(e)?n(e):i(e)}},185323:(e,t,r)=>{var n=r(76796);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(i.Cache||n),r}i.Cache=n,e.exports=i},60544:(e,t,r)=>{var n=r(440376),i=r(600573),a=r(109575),o=r(424282);e.exports=function(e){return a(e)?n(o(e)):i(e)}},192678:(e,t,r)=>{var n=r(36016),i=r(234647);e.exports=function(e,t,r){return i(e,t,n(r,2))}},111919:e=>{e.exports=function(){return[]}},394395:e=>{e.exports=function(){return!1}},232377:(e,t,r)=>{var n=r(172246);e.exports=function(e){return null==e?"":n(e)}},642062:e=>{var t=1e3,r=60*t,n=60*r,i=24*n;function a(e,t,r,n){var i=t>=1.5*r;return Math.round(e/r)+" "+n+(i?"s":"")}e.exports=function(e,o){o=o||{};var s,l,c=typeof e;if("string"===c&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(a){var o=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"weeks":case"week":case"w":return 6048e5*o;case"days":case"day":case"d":return o*i;case"hours":case"hour":case"hrs":case"hr":case"h":return o*n;case"minutes":case"minute":case"mins":case"min":case"m":return o*r;case"seconds":case"second":case"secs":case"sec":case"s":return o*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}(e);if("number"===c&&isFinite(e))return o.long?(s=e,(l=Math.abs(s))>=i?a(s,l,i,"day"):l>=n?a(s,l,n,"hour"):l>=r?a(s,l,r,"minute"):l>=t?a(s,l,t,"second"):s+" ms"):function(e){var a=Math.abs(e);return a>=i?Math.round(e/i)+"d":a>=n?Math.round(e/n)+"h":a>=r?Math.round(e/r)+"m":a>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},13583:e=>{"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var a,o,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in a=Object(arguments[l]))r.call(a,c)&&(s[c]=a[c]);if(t){o=t(a);for(var u=0;u<o.length;u++)n.call(a,o[u])&&(s[o[u]]=a[o[u]])}}return s}},772280:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(267519);function i(e,t){void 0===t&&(t={});var r=function(e){return e&&"j"===e[0]&&":"===e[1]?e.substr(2):e}(e);if(function(e,t){return void 0===t&&(t=!e||"{"!==e[0]&&"["!==e[0]&&'"'!==e[0]),!t}(r,t.doNotParse))try{return JSON.parse(r)}catch(e){}return e}var a=r(13583);const o=function(){function e(e,t){var r=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies=function(e,t){return"string"==typeof e?n.Q(e,t):"object"==typeof e&&null!==e?e:{}}(e,t),new Promise((function(){r.HAS_DOCUMENT_COOKIE=!0})).catch((function(){}))}return e.prototype._updateBrowserValues=function(e){this.HAS_DOCUMENT_COOKIE&&(this.cookies=n.Q(document.cookie,e))},e.prototype._emitChange=function(e){for(var t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)},e.prototype.get=function(e,t,r){return void 0===t&&(t={}),this._updateBrowserValues(r),i(this.cookies[e],t)},e.prototype.getAll=function(e,t){void 0===e&&(e={}),this._updateBrowserValues(t);var r={};for(var n in this.cookies)r[n]=i(this.cookies[n],e);return r},e.prototype.set=function(e,t,r){var i;"object"==typeof t&&(t=JSON.stringify(t)),this.cookies=a({},this.cookies,((i={})[e]=t,i)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=n.q(e,t,r)),this._emitChange({name:e,value:t,options:r})},e.prototype.remove=function(e,t){var r=t=a({},t,{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=a({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=n.q(e,"",r)),this._emitChange({name:e,value:void 0,options:t})},e.prototype.addChangeListener=function(e){this.changeListeners.push(e)},e.prototype.removeChangeListener=function(e){var t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1)},e}()},443099:(e,t,r)=>{"use strict";r.d(t,{C6:()=>i,Wy:()=>n});const n=async()=>WebAssembly.validate(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,10,8,1,6,0,6,64,25,11,11])),i=()=>(async e=>{try{return"undefined"!=typeof MessageChannel&&(new MessageChannel).port1.postMessage(new SharedArrayBuffer(1)),WebAssembly.validate(e)}catch(e){return!1}})(new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,2,1,0,5,4,1,3,1,1,10,11,1,9,0,65,0,254,16,2,0,26,11]))},833593:(e,t,r)=>{var n=r(233167),i=r(4413),a=r(378802),o=n.TypeError;e.exports=function(e){if(i(e))return e;throw o(a(e)+" is not a function")}},657757:(e,t,r)=>{var n=r(233167),i=r(595108),a=r(378802),o=n.TypeError;e.exports=function(e){if(i(e))return e;throw o(a(e)+" is not a constructor")}},72832:(e,t,r)=>{var n=r(233167),i=r(4413),a=n.String,o=n.TypeError;e.exports=function(e){if("object"==typeof e||i(e))return e;throw o("Can't set "+a(e)+" as a prototype")}},916286:(e,t,r)=>{var n=r(762081),i=r(132693),a=r(846850),o=n("unscopables"),s=Array.prototype;null==s[o]&&a.f(s,o,{configurable:!0,value:i(null)}),e.exports=function(e){s[o][e]=!0}},471733:(e,t,r)=>{"use strict";var n=r(498690).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},814519:(e,t,r)=>{var n=r(233167),i=r(921460),a=n.TypeError;e.exports=function(e,t){if(i(t,e))return e;throw a("Incorrect invocation")}},52548:(e,t,r)=>{var n=r(233167),i=r(25327),a=n.String,o=n.TypeError;e.exports=function(e){if(i(e))return e;throw o(a(e)+" is not an object")}},488210:e=>{e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},450311:(e,t,r)=>{var n=r(573012);e.exports=n((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}}))},919944:(e,t,r)=>{"use strict";var n,i,a,o=r(488210),s=r(474040),l=r(233167),c=r(4413),u=r(25327),p=r(838263),d=r(936340),m=r(378802),h=r(881303),v=r(78083),g=r(846850).f,f=r(921460),b=r(490824),y=r(348946),_=r(762081),w=r(775563),k=l.Int8Array,Z=k&&k.prototype,x=l.Uint8ClampedArray,S=x&&x.prototype,$=k&&b(k),A=Z&&b(Z),C=Object.prototype,T=l.TypeError,P=_("toStringTag"),z=w("TYPED_ARRAY_TAG"),E=w("TYPED_ARRAY_CONSTRUCTOR"),O=o&&!!y&&"Opera"!==d(l.opera),I=!1,R={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},j={BigInt64Array:8,BigUint64Array:8},N=function(e){if(!u(e))return!1;var t=d(e);return p(R,t)||p(j,t)};for(n in R)(a=(i=l[n])&&i.prototype)?h(a,E,i):O=!1;for(n in j)(a=(i=l[n])&&i.prototype)&&h(a,E,i);if((!O||!c($)||$===Function.prototype)&&($=function(){throw T("Incorrect invocation")},O))for(n in R)l[n]&&y(l[n],$);if((!O||!A||A===C)&&(A=$.prototype,O))for(n in R)l[n]&&y(l[n].prototype,A);if(O&&b(S)!==A&&y(S,A),s&&!p(A,P))for(n in I=!0,g(A,P,{get:function(){return u(this)?this[z]:void 0}}),R)l[n]&&h(l[n],z,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:O,TYPED_ARRAY_CONSTRUCTOR:E,TYPED_ARRAY_TAG:I&&z,aTypedArray:function(e){if(N(e))return e;throw T("Target is not a typed array")},aTypedArrayConstructor:function(e){if(c(e)&&(!y||f($,e)))return e;throw T(m(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,n){if(s){if(r)for(var i in R){var a=l[i];if(a&&p(a.prototype,e))try{delete a.prototype[e]}catch(r){try{a.prototype[e]=t}catch(e){}}}A[e]&&!r||v(A,e,r?t:O&&Z[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,r){var n,i;if(s){if(y){if(r)for(n in R)if((i=l[n])&&p(i,e))try{delete i[e]}catch(e){}if($[e]&&!r)return;try{return v($,e,r?t:O&&$[e]||t)}catch(e){}}for(n in R)!(i=l[n])||i[e]&&!r||v(i,e,t)}},isView:function(e){if(!u(e))return!1;var t=d(e);return"DataView"===t||p(R,t)||p(j,t)},isTypedArray:N,TypedArray:$,TypedArrayPrototype:A}},317783:(e,t,r)=>{"use strict";var n=r(233167),i=r(903057),a=r(474040),o=r(488210),s=r(273145),l=r(881303),c=r(29235),u=r(573012),p=r(814519),d=r(847674),m=r(645750),h=r(785513),v=r(67978),g=r(490824),f=r(348946),b=r(125071).f,y=r(846850).f,_=r(738589),w=r(294674),k=r(17589),Z=r(590718),x=s.PROPER,S=s.CONFIGURABLE,$=Z.get,A=Z.set,C="ArrayBuffer",T="Wrong index",P=n.ArrayBuffer,z=P,E=z&&z.prototype,O=n.DataView,I=O&&O.prototype,R=Object.prototype,j=n.Array,N=n.RangeError,D=i(_),L=i([].reverse),M=v.pack,B=v.unpack,F=function(e){return[255&e]},H=function(e){return[255&e,e>>8&255]},U=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},q=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},V=function(e){return M(e,23,4)},W=function(e){return M(e,52,8)},J=function(e,t){y(e.prototype,t,{get:function(){return $(this)[t]}})},G=function(e,t,r,n){var i=h(r),a=$(e);if(i+t>a.byteLength)throw N(T);var o=$(a.buffer).bytes,s=i+a.byteOffset,l=w(o,s,s+t);return n?l:L(l)},K=function(e,t,r,n,i,a){var o=h(r),s=$(e);if(o+t>s.byteLength)throw N(T);for(var l=$(s.buffer).bytes,c=o+s.byteOffset,u=n(+i),p=0;p<t;p++)l[c+p]=u[a?p:t-p-1]};if(o){var Y=x&&P.name!==C;if(u((function(){P(1)}))&&u((function(){new P(-1)}))&&!u((function(){return new P,new P(1.5),new P(NaN),Y&&!S})))Y&&S&&l(P,"name",C);else{(z=function(e){return p(this,E),new P(h(e))}).prototype=E;for(var X,Q=b(P),ee=0;Q.length>ee;)(X=Q[ee++])in z||l(z,X,P[X]);E.constructor=z}f&&g(I)!==R&&f(I,R);var te=new O(new z(2)),re=i(I.setInt8);te.setInt8(0,2147483648),te.setInt8(1,2147483649),!te.getInt8(0)&&te.getInt8(1)||c(I,{setInt8:function(e,t){re(this,e,t<<24>>24)},setUint8:function(e,t){re(this,e,t<<24>>24)}},{unsafe:!0})}else E=(z=function(e){p(this,E);var t=h(e);A(this,{bytes:D(j(t),0),byteLength:t}),a||(this.byteLength=t)}).prototype,I=(O=function(e,t,r){p(this,I),p(e,E);var n=$(e).byteLength,i=d(t);if(i<0||i>n)throw N("Wrong offset");if(i+(r=void 0===r?n-i:m(r))>n)throw N("Wrong length");A(this,{buffer:e,byteLength:r,byteOffset:i}),a||(this.buffer=e,this.byteLength=r,this.byteOffset=i)}).prototype,a&&(J(z,"byteLength"),J(O,"buffer"),J(O,"byteLength"),J(O,"byteOffset")),c(I,{getInt8:function(e){return G(this,1,e)[0]<<24>>24},getUint8:function(e){return G(this,1,e)[0]},getInt16:function(e){var t=G(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=G(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return q(G(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return q(G(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return B(G(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return B(G(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){K(this,1,e,F,t)},setUint8:function(e,t){K(this,1,e,F,t)},setInt16:function(e,t){K(this,2,e,H,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){K(this,2,e,H,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){K(this,4,e,U,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){K(this,4,e,U,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){K(this,4,e,V,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){K(this,8,e,W,t,arguments.length>2?arguments[2]:void 0)}});k(z,C),k(O,"DataView"),e.exports={ArrayBuffer:z,DataView:O}},691034:(e,t,r)=>{"use strict";var n=r(200856),i=r(321416),a=r(427830),o=Math.min;e.exports=[].copyWithin||function(e,t){var r=n(this),s=a(r),l=i(e,s),c=i(t,s),u=arguments.length>2?arguments[2]:void 0,p=o((void 0===u?s:i(u,s))-c,s-l),d=1;for(c<l&&l<c+p&&(d=-1,c+=p-1,l+=p-1);p-- >0;)c in r?r[l]=r[c]:delete r[l],l+=d,c+=d;return r}},738589:(e,t,r)=>{"use strict";var n=r(200856),i=r(321416),a=r(427830);e.exports=function(e){for(var t=n(this),r=a(t),o=arguments.length,s=i(o>1?arguments[1]:void 0,r),l=o>2?arguments[2]:void 0,c=void 0===l?r:i(l,r);c>s;)t[s++]=e;return t}},526729:(e,t,r)=>{"use strict";var n=r(117390).forEach,i=r(487037)("forEach");e.exports=i?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},17442:(e,t,r)=>{var n=r(427830);e.exports=function(e,t){for(var r=0,i=n(t),a=new e(i);i>r;)a[r]=t[r++];return a}},205556:(e,t,r)=>{"use strict";var n=r(233167),i=r(787083),a=r(211254),o=r(200856),s=r(833993),l=r(776280),c=r(595108),u=r(427830),p=r(641380),d=r(993216),m=r(533404),h=n.Array;e.exports=function(e){var t=o(e),r=c(this),n=arguments.length,v=n>1?arguments[1]:void 0,g=void 0!==v;g&&(v=i(v,n>2?arguments[2]:void 0));var f,b,y,_,w,k,Z=m(t),x=0;if(!Z||this==h&&l(Z))for(f=u(t),b=r?new this(f):h(f);f>x;x++)k=g?v(t[x],x):t[x],p(b,x,k);else for(w=(_=d(t,Z)).next,b=r?new this:[];!(y=a(w,_)).done;x++)k=g?s(_,v,[y.value,x],!0):y.value,p(b,x,k);return b.length=x,b}},69595:(e,t,r)=>{var n=r(109350),i=r(321416),a=r(427830),o=function(e){return function(t,r,o){var s,l=n(t),c=a(l),u=i(o,c);if(e&&r!=r){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},575751:(e,t,r)=>{var n=r(787083),i=r(831164),a=r(200856),o=r(427830),s=function(e){var t=1==e;return function(r,s,l){for(var c,u=a(r),p=i(u),d=n(s,l),m=o(p);m-- >0;)if(d(c=p[m],m,u))switch(e){case 0:return c;case 1:return m}return t?-1:void 0}};e.exports={findLast:s(0),findLastIndex:s(1)}},117390:(e,t,r)=>{var n=r(787083),i=r(903057),a=r(831164),o=r(200856),s=r(427830),l=r(229451),c=i([].push),u=function(e){var t=1==e,r=2==e,i=3==e,u=4==e,p=6==e,d=7==e,m=5==e||p;return function(h,v,g,f){for(var b,y,_=o(h),w=a(_),k=n(v,g),Z=s(w),x=0,S=f||l,$=t?S(h,Z):r||d?S(h,0):void 0;Z>x;x++)if((m||x in w)&&(y=k(b=w[x],x,_),e))if(t)$[x]=y;else if(y)switch(e){case 3:return!0;case 5:return b;case 6:return x;case 2:c($,b)}else switch(e){case 4:return!1;case 7:c($,b)}return p?-1:i||u?u:$}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},789776:(e,t,r)=>{"use strict";var n=r(22583),i=r(109350),a=r(847674),o=r(427830),s=r(487037),l=Math.min,c=[].lastIndexOf,u=!!c&&1/[1].lastIndexOf(1,-0)<0,p=s("lastIndexOf"),d=u||!p;e.exports=d?function(e){if(u)return n(c,this,arguments)||0;var t=i(this),r=o(t),s=r-1;for(arguments.length>1&&(s=l(s,a(arguments[1]))),s<0&&(s=r+s);s>=0;s--)if(s in t&&t[s]===e)return s||0;return-1}:c},186123:(e,t,r)=>{var n=r(573012),i=r(762081),a=r(162211),o=i("species");e.exports=function(e){return a>=51||!n((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},487037:(e,t,r)=>{"use strict";var n=r(573012);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},284700:(e,t,r)=>{var n=r(233167),i=r(833593),a=r(200856),o=r(831164),s=r(427830),l=n.TypeError,c=function(e){return function(t,r,n,c){i(r);var u=a(t),p=o(u),d=s(u),m=e?d-1:0,h=e?-1:1;if(n<2)for(;;){if(m in p){c=p[m],m+=h;break}if(m+=h,e?m<0:d<=m)throw l("Reduce of empty array with no initial value")}for(;e?m>=0:d>m;m+=h)m in p&&(c=r(c,p[m],m,u));return c}};e.exports={left:c(!1),right:c(!0)}},294674:(e,t,r)=>{var n=r(233167),i=r(321416),a=r(427830),o=r(641380),s=n.Array,l=Math.max;e.exports=function(e,t,r){for(var n=a(e),c=i(t,n),u=i(void 0===r?n:r,n),p=s(l(u-c,0)),d=0;c<u;c++,d++)o(p,d,e[c]);return p.length=d,p}},883350:(e,t,r)=>{var n=r(903057);e.exports=n([].slice)},432031:(e,t,r)=>{var n=r(294674),i=Math.floor,a=function(e,t){var r=e.length,l=i(r/2);return r<8?o(e,t):s(e,a(n(e,0,l),t),a(n(e,l),t),t)},o=function(e,t){for(var r,n,i=e.length,a=1;a<i;){for(n=a,r=e[a];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==a++&&(e[n]=r)}return e},s=function(e,t,r,n){for(var i=t.length,a=r.length,o=0,s=0;o<i||s<a;)e[o+s]=o<i&&s<a?n(t[o],r[s])<=0?t[o++]:r[s++]:o<i?t[o++]:r[s++];return e};e.exports=a},10131:(e,t,r)=>{var n=r(233167),i=r(891195),a=r(595108),o=r(25327),s=r(762081)("species"),l=n.Array;e.exports=function(e){var t;return i(e)&&(t=e.constructor,(a(t)&&(t===l||i(t.prototype))||o(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?l:t}},229451:(e,t,r)=>{var n=r(10131);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},980202:(e,t,r)=>{var n=r(427830);e.exports=function(e,t){for(var r=n(e),i=new t(r),a=0;a<r;a++)i[a]=e[r-a-1];return i}},77065:(e,t,r)=>{var n=r(233167),i=r(427830),a=r(847674),o=n.RangeError;e.exports=function(e,t,r,n){var s=i(e),l=a(r),c=l<0?s+l:l;if(c>=s||c<0)throw o("Incorrect index");for(var u=new t(s),p=0;p<s;p++)u[p]=p===c?n:e[p];return u}},380513:e=>{for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r={},n=0;n<66;n++)r[t.charAt(n)]=n;e.exports={itoc:t,ctoi:r}},833993:(e,t,r)=>{var n=r(52548),i=r(7397);e.exports=function(e,t,r,a){try{return a?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},44592:(e,t,r)=>{var n=r(762081)("iterator"),i=!1;try{var a=0,o={next:function(){return{done:!!a++}},return:function(){i=!0}};o[n]=function(){return this},Array.from(o,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var a={};a[n]=function(){return{next:function(){return{done:r=!0}}}},e(a)}catch(e){}return r}},907937:(e,t,r)=>{var n=r(903057),i=n({}.toString),a=n("".slice);e.exports=function(e){return a(i(e),8,-1)}},936340:(e,t,r)=>{var n=r(233167),i=r(128601),a=r(4413),o=r(907937),s=r(762081)("toStringTag"),l=n.Object,c="Arguments"==o(function(){return arguments}());e.exports=i?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=l(e),s))?r:c?o(t):"Object"==(n=o(t))&&a(t.callee)?"Arguments":n}},692203:(e,t,r)=>{var n=r(903057)("".replace),i=String(Error("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,o=a.test(i);e.exports=function(e,t){if(o&&"string"==typeof e)for(;t--;)e=n(e,a,"");return e}},802830:(e,t,r)=>{"use strict";var n=r(846850).f,i=r(132693),a=r(29235),o=r(787083),s=r(814519),l=r(731208),c=r(423354),u=r(804764),p=r(474040),d=r(542862).fastKey,m=r(590718),h=m.set,v=m.getterFor;e.exports={getConstructor:function(e,t,r,c){var u=e((function(e,n){s(e,m),h(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),p||(e.size=0),null!=n&&l(n,e[c],{that:e,AS_ENTRIES:r})})),m=u.prototype,g=v(t),f=function(e,t,r){var n,i,a=g(e),o=b(e,t);return o?o.value=r:(a.last=o={index:i=d(t,!0),key:t,value:r,previous:n=a.last,next:void 0,removed:!1},a.first||(a.first=o),n&&(n.next=o),p?a.size++:e.size++,"F"!==i&&(a.index[i]=o)),e},b=function(e,t){var r,n=g(e),i=d(t);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key==t)return r};return a(m,{clear:function(){for(var e=g(this),t=e.index,r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete t[r.index],r=r.next;e.first=e.last=void 0,p?e.size=0:this.size=0},delete:function(e){var t=this,r=g(t),n=b(t,e);if(n){var i=n.next,a=n.previous;delete r.index[n.index],n.removed=!0,a&&(a.next=i),i&&(i.previous=a),r.first==n&&(r.first=i),r.last==n&&(r.last=a),p?r.size--:t.size--}return!!n},forEach:function(e){for(var t,r=g(this),n=o(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:r.first;)for(n(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!b(this,e)}}),a(m,r?{get:function(e){var t=b(this,e);return t&&t.value},set:function(e,t){return f(this,0===e?0:e,t)}}:{add:function(e){return f(this,e=0===e?0:e,e)}}),p&&n(m,"size",{get:function(){return g(this).size}}),u},setStrong:function(e,t,r){var n=t+" Iterator",i=v(t),a=v(n);c(e,t,(function(e,t){h(this,{type:n,target:e,state:i(e),kind:t,last:void 0})}),(function(){for(var e=a(this),t=e.kind,r=e.last;r&&r.removed;)r=r.previous;return e.target&&(e.last=r=r?r.next:e.state.first)?"keys"==t?{value:r.key,done:!1}:"values"==t?{value:r.value,done:!1}:{value:[r.key,r.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),r?"entries":"values",!r,!0),u(t)}}},144039:(e,t,r)=>{"use strict";var n=r(903057),i=r(29235),a=r(542862).getWeakData,o=r(52548),s=r(25327),l=r(814519),c=r(731208),u=r(117390),p=r(838263),d=r(590718),m=d.set,h=d.getterFor,v=u.find,g=u.findIndex,f=n([].splice),b=0,y=function(e){return e.frozen||(e.frozen=new _)},_=function(){this.entries=[]},w=function(e,t){return v(e.entries,(function(e){return e[0]===t}))};_.prototype={get:function(e){var t=w(this,e);if(t)return t[1]},has:function(e){return!!w(this,e)},set:function(e,t){var r=w(this,e);r?r[1]=t:this.entries.push([e,t])},delete:function(e){var t=g(this.entries,(function(t){return t[0]===e}));return~t&&f(this.entries,t,1),!!~t}},e.exports={getConstructor:function(e,t,r,n){var u=e((function(e,i){l(e,d),m(e,{type:t,id:b++,frozen:void 0}),null!=i&&c(i,e[n],{that:e,AS_ENTRIES:r})})),d=u.prototype,v=h(t),g=function(e,t,r){var n=v(e),i=a(o(t),!0);return!0===i?y(n).set(t,r):i[n.id]=r,e};return i(d,{delete:function(e){var t=v(this);if(!s(e))return!1;var r=a(e);return!0===r?y(t).delete(e):r&&p(r,t.id)&&delete r[t.id]},has:function(e){var t=v(this);if(!s(e))return!1;var r=a(e);return!0===r?y(t).has(e):r&&p(r,t.id)}}),i(d,r?{get:function(e){var t=v(this);if(s(e)){var r=a(e);return!0===r?y(t).get(e):r?r[t.id]:void 0}},set:function(e,t){return g(this,e,t)}}:{add:function(e){return g(this,e,!0)}}),u}}},288354:(e,t,r)=>{"use strict";var n=r(145630),i=r(233167),a=r(903057),o=r(719944),s=r(78083),l=r(542862),c=r(731208),u=r(814519),p=r(4413),d=r(25327),m=r(573012),h=r(44592),v=r(17589),g=r(950341);e.exports=function(e,t,r){var f=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),y=f?"set":"add",_=i[e],w=_&&_.prototype,k=_,Z={},x=function(e){var t=a(w[e]);s(w,e,"add"==e?function(e){return t(this,0===e?0:e),this}:"delete"==e?function(e){return!(b&&!d(e))&&t(this,0===e?0:e)}:"get"==e?function(e){return b&&!d(e)?void 0:t(this,0===e?0:e)}:"has"==e?function(e){return!(b&&!d(e))&&t(this,0===e?0:e)}:function(e,r){return t(this,0===e?0:e,r),this})};if(o(e,!p(_)||!(b||w.forEach&&!m((function(){(new _).entries().next()})))))k=r.getConstructor(t,e,f,y),l.enable();else if(o(e,!0)){var S=new k,$=S[y](b?{}:-0,1)!=S,A=m((function(){S.has(1)})),C=h((function(e){new _(e)})),T=!b&&m((function(){for(var e=new _,t=5;t--;)e[y](t,t);return!e.has(-0)}));C||((k=t((function(e,t){u(e,w);var r=g(new _,e,k);return null!=t&&c(t,r[y],{that:r,AS_ENTRIES:f}),r}))).prototype=w,w.constructor=k),(A||T)&&(x("delete"),x("has"),f&&x("get")),(T||$)&&x(y),b&&w.clear&&delete w.clear}return Z[e]=k,n({global:!0,forced:k!=_},Z),v(k,e),b||r.setStrong(k,e,f),k}},38372:(e,t,r)=>{var n=r(838263),i=r(680049),a=r(927266),o=r(846850);e.exports=function(e,t,r){for(var s=i(t),l=o.f,c=a.f,u=0;u<s.length;u++){var p=s[u];n(e,p)||r&&n(r,p)||l(e,p,c(t,p))}}},125733:(e,t,r)=>{var n=r(762081)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(e){}}return!1}},278287:(e,t,r)=>{var n=r(573012);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},718181:(e,t,r)=>{var n=r(903057),i=r(956991),a=r(993504),o=/"/g,s=n("".replace);e.exports=function(e,t,r,n){var l=a(i(e)),c="<"+t;return""!==r&&(c+=" "+r+'="'+s(a(n),o,"&quot;")+'"'),c+">"+l+"</"+t+">"}},463061:(e,t,r)=>{"use strict";var n=r(169549).IteratorPrototype,i=r(132693),a=r(319493),o=r(17589),s=r(545776),l=function(){return this};e.exports=function(e,t,r,c){var u=t+" Iterator";return e.prototype=i(n,{next:a(+!c,r)}),o(e,u,!1,!0),s[u]=l,e}},881303:(e,t,r)=>{var n=r(474040),i=r(846850),a=r(319493);e.exports=n?function(e,t,r){return i.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}},319493:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},641380:(e,t,r)=>{"use strict";var n=r(351899),i=r(846850),a=r(319493);e.exports=function(e,t,r){var o=n(t);o in e?i.f(e,o,a(0,r)):e[o]=r}},423354:(e,t,r)=>{"use strict";var n=r(145630),i=r(211254),a=r(895240),o=r(273145),s=r(4413),l=r(463061),c=r(490824),u=r(348946),p=r(17589),d=r(881303),m=r(78083),h=r(762081),v=r(545776),g=r(169549),f=o.PROPER,b=o.CONFIGURABLE,y=g.IteratorPrototype,_=g.BUGGY_SAFARI_ITERATORS,w=h("iterator"),k="keys",Z="values",x="entries",S=function(){return this};e.exports=function(e,t,r,o,h,g,$){l(r,t,o);var A,C,T,P=function(e){if(e===h&&R)return R;if(!_&&e in O)return O[e];switch(e){case k:case Z:case x:return function(){return new r(this,e)}}return function(){return new r(this)}},z=t+" Iterator",E=!1,O=e.prototype,I=O[w]||O["@@iterator"]||h&&O[h],R=!_&&I||P(h),j="Array"==t&&O.entries||I;if(j&&(A=c(j.call(new e)))!==Object.prototype&&A.next&&(a||c(A)===y||(u?u(A,y):s(A[w])||m(A,w,S)),p(A,z,!0,!0),a&&(v[z]=S)),f&&h==Z&&I&&I.name!==Z&&(!a&&b?d(O,"name",Z):(E=!0,R=function(){return i(I,this)})),h)if(C={values:P(Z),keys:g?R:P(k),entries:P(x)},$)for(T in C)(_||E||!(T in O))&&m(O,T,C[T]);else n({target:t,proto:!0,forced:_||E},C);return a&&!$||O[w]===R||m(O,w,R,{name:h}),v[t]=R,C}},174156:(e,t,r)=>{var n=r(169104),i=r(838263),a=r(171392),o=r(846850).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});i(t,e)||o(t,e,{value:a.f(e)})}},474040:(e,t,r)=>{var n=r(573012);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},7180:(e,t,r)=>{var n=r(233167),i=r(25327),a=n.document,o=i(a)&&i(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},363652:e=>{e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},533114:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},174274:(e,t,r)=>{var n=r(7180)("span").classList,i=n&&n.constructor&&n.constructor.prototype;e.exports=i===Object.prototype?void 0:i},747804:(e,t,r)=>{var n=r(91089).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},495142:e=>{e.exports=!0},209254:(e,t,r)=>{var n=r(91089);e.exports=/MSIE|Trident/.test(n)},586334:(e,t,r)=>{var n=r(91089),i=r(233167);e.exports=/ipad|iphone|ipod/i.test(n)&&void 0!==i.Pebble},774289:(e,t,r)=>{var n=r(91089);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},275827:(e,t,r)=>{var n=r(907937),i=r(233167);e.exports="process"==n(i.process)},433492:(e,t,r)=>{var n=r(91089);e.exports=/web0s(?!.*chrome)/i.test(n)},91089:(e,t,r)=>{var n=r(840982);e.exports=n("navigator","userAgent")||""},162211:(e,t,r)=>{var n,i,a=r(233167),o=r(91089),s=a.process,l=a.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(i=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},179859:(e,t,r)=>{var n=r(91089).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},315163:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},975546:(e,t,r)=>{var n=r(573012),i=r(319493);e.exports=!n((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},470499:(e,t,r)=>{"use strict";var n=r(474040),i=r(573012),a=r(52548),o=r(132693),s=r(403822),l=Error.prototype.toString,c=i((function(){if(n){var e=o(Object.defineProperty({},"name",{get:function(){return this===e}}));if("true"!==l.call(e))return!0}return"2: 1"!==l.call({message:1,name:2})||"Error"!==l.call({})}));e.exports=c?function(){var e=a(this),t=s(e.name,"Error"),r=s(e.message);return t?r?t+": "+r:t:r}:l},145630:(e,t,r)=>{var n=r(233167),i=r(927266).f,a=r(881303),o=r(78083),s=r(282024),l=r(38372),c=r(719944);e.exports=function(e,t){var r,u,p,d,m,h=e.target,v=e.global,g=e.stat;if(r=v?n:g?n[h]||s(h,{}):(n[h]||{}).prototype)for(u in t){if(d=t[u],p=e.noTargetGet?(m=i(r,u))&&m.value:r[u],!c(v?u:h+(g?".":"#")+u,e.forced)&&void 0!==p){if(typeof d==typeof p)continue;l(d,p)}(e.sham||p&&p.sham)&&a(d,"sham",!0),o(r,u,d,e)}}},573012:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},732294:(e,t,r)=>{"use strict";r(587621);var n=r(903057),i=r(78083),a=r(466422),o=r(573012),s=r(762081),l=r(881303),c=s("species"),u=RegExp.prototype;e.exports=function(e,t,r,p){var d=s(e),m=!o((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),h=m&&!o((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return t=!0,null},r[d](""),!t}));if(!m||!h||r){var v=n(/./[d]),g=t(d,""[e],(function(e,t,r,i,o){var s=n(e),l=t.exec;return l===a||l===u.exec?m&&!o?{done:!0,value:v(t,r,i)}:{done:!0,value:s(r,t,i)}:{done:!1}}));i(String.prototype,e,g[0]),i(u,d,g[1])}p&&l(u[d],"sham",!0)}},502630:(e,t,r)=>{"use strict";var n=r(233167),i=r(891195),a=r(427830),o=r(787083),s=n.TypeError,l=function(e,t,r,n,c,u,p,d){for(var m,h,v=c,g=0,f=!!p&&o(p,d);g<n;){if(g in r){if(m=f?f(r[g],g,t):r[g],u>0&&i(m))h=a(m),v=l(e,t,m,h,v,u-1)-1;else{if(v>=9007199254740991)throw s("Exceed the acceptable array length");e[v]=m}v++}g++}return v};e.exports=l},838548:(e,t,r)=>{var n=r(573012);e.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},22583:(e,t,r)=>{var n=r(248955),i=Function.prototype,a=i.apply,o=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(a):function(){return o.apply(a,arguments)})},787083:(e,t,r)=>{var n=r(903057),i=r(833593),a=r(248955),o=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:a?o(e,t):function(){return e.apply(t,arguments)}}},248955:(e,t,r)=>{var n=r(573012);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},211254:(e,t,r)=>{var n=r(248955),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},273145:(e,t,r)=>{var n=r(474040),i=r(838263),a=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,s=i(a,"name"),l=s&&"something"===function(){}.name,c=s&&(!n||n&&o(a,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},903057:(e,t,r)=>{var n=r(248955),i=Function.prototype,a=i.bind,o=i.call,s=n&&a.bind(o,o);e.exports=n?function(e){return e&&s(e)}:function(e){return e&&function(){return o.apply(e,arguments)}}},840982:(e,t,r)=>{var n=r(233167),i=r(4413);e.exports=function(e,t){return arguments.length<2?function(e){return i(e)?e:void 0}(n[e]):n[e]&&n[e][t]}},533404:(e,t,r)=>{var n=r(936340),i=r(240767),a=r(545776),o=r(762081)("iterator");e.exports=function(e){if(null!=e)return i(e,o)||i(e,"@@iterator")||a[n(e)]}},993216:(e,t,r)=>{var n=r(233167),i=r(211254),a=r(833593),o=r(52548),s=r(378802),l=r(533404),c=n.TypeError;e.exports=function(e,t){var r=arguments.length<2?l(e):t;if(a(r))return o(i(r,e));throw c(s(e)+" is not iterable")}},240767:(e,t,r)=>{var n=r(833593);e.exports=function(e,t){var r=e[t];return null==r?void 0:n(r)}},95809:(e,t,r)=>{var n=r(903057),i=r(200856),a=Math.floor,o=n("".charAt),s=n("".replace),l=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,p,d){var m=r+e.length,h=n.length,v=u;return void 0!==p&&(p=i(p),v=c),s(d,v,(function(i,s){var c;switch(o(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,r);case"'":return l(t,m);case"<":c=p[l(s,1,-1)];break;default:var u=+s;if(0===u)return i;if(u>h){var d=a(u/10);return 0===d?i:d<=h?void 0===n[d-1]?o(s,1):n[d-1]+o(s,1):i}c=n[u-1]}return void 0===c?"":c}))}},233167:(e,t,r)=>{var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n(window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},838263:(e,t,r)=>{var n=r(903057),i=r(200856),a=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(i(e),t)}},33582:e=>{e.exports={}},393452:(e,t,r)=>{var n=r(233167);e.exports=function(e,t){var r=n.console;r&&r.error&&(1==arguments.length?r.error(e):r.error(e,t))}},522069:(e,t,r)=>{var n=r(840982);e.exports=n("document","documentElement")},323423:(e,t,r)=>{var n=r(474040),i=r(573012),a=r(7180);e.exports=!n&&!i((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},67978:(e,t,r)=>{var n=r(233167).Array,i=Math.abs,a=Math.pow,o=Math.floor,s=Math.log,l=Math.LN2;e.exports={pack:function(e,t,r){var c,u,p,d=n(r),m=8*r-t-1,h=(1<<m)-1,v=h>>1,g=23===t?a(2,-24)-a(2,-77):0,f=e<0||0===e&&1/e<0?1:0,b=0;for((e=i(e))!=e||e===1/0?(u=e!=e?1:0,c=h):(c=o(s(e)/l),e*(p=a(2,-c))<1&&(c--,p*=2),(e+=c+v>=1?g/p:g*a(2,1-v))*p>=2&&(c++,p/=2),c+v>=h?(u=0,c=h):c+v>=1?(u=(e*p-1)*a(2,t),c+=v):(u=e*a(2,v-1)*a(2,t),c=0));t>=8;)d[b++]=255&u,u/=256,t-=8;for(c=c<<t|u,m+=t;m>0;)d[b++]=255&c,c/=256,m-=8;return d[--b]|=128*f,d},unpack:function(e,t){var r,n=e.length,i=8*n-t-1,o=(1<<i)-1,s=o>>1,l=i-7,c=n-1,u=e[c--],p=127&u;for(u>>=7;l>0;)p=256*p+e[c--],l-=8;for(r=p&(1<<-l)-1,p>>=-l,l+=t;l>0;)r=256*r+e[c--],l-=8;if(0===p)p=1-s;else{if(p===o)return r?NaN:u?-1/0:1/0;r+=a(2,t),p-=s}return(u?-1:1)*r*a(2,p-t)}}},831164:(e,t,r)=>{var n=r(233167),i=r(903057),a=r(573012),o=r(907937),s=n.Object,l=i("".split);e.exports=a((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?l(e,""):s(e)}:s},950341:(e,t,r)=>{var n=r(4413),i=r(25327),a=r(348946);e.exports=function(e,t,r){var o,s;return a&&n(o=t.constructor)&&o!==r&&i(s=o.prototype)&&s!==r.prototype&&a(e,s),e}},509411:(e,t,r)=>{var n=r(903057),i=r(4413),a=r(75754),o=n(Function.toString);i(a.inspectSource)||(a.inspectSource=function(e){return o(e)}),e.exports=a.inspectSource},675316:(e,t,r)=>{var n=r(25327),i=r(881303);e.exports=function(e,t){n(t)&&"cause"in t&&i(e,"cause",t.cause)}},542862:(e,t,r)=>{var n=r(145630),i=r(903057),a=r(33582),o=r(25327),s=r(838263),l=r(846850).f,c=r(125071),u=r(701645),p=r(608853),d=r(775563),m=r(838548),h=!1,v=d("meta"),g=0,f=function(e){l(e,v,{value:{objectID:"O"+g++,weakData:{}}})},b=e.exports={enable:function(){b.enable=function(){},h=!0;var e=c.f,t=i([].splice),r={};r[v]=1,e(r).length&&(c.f=function(r){for(var n=e(r),i=0,a=n.length;i<a;i++)if(n[i]===v){t(n,i,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!s(e,v)){if(!p(e))return"F";if(!t)return"E";f(e)}return e[v].objectID},getWeakData:function(e,t){if(!s(e,v)){if(!p(e))return!0;if(!t)return!1;f(e)}return e[v].weakData},onFreeze:function(e){return m&&h&&p(e)&&!s(e,v)&&f(e),e}};a[v]=!0},590718:(e,t,r)=>{var n,i,a,o=r(642046),s=r(233167),l=r(903057),c=r(25327),u=r(881303),p=r(838263),d=r(75754),m=r(990067),h=r(33582),v="Object already initialized",g=s.TypeError,f=s.WeakMap;if(o||d.state){var b=d.state||(d.state=new f),y=l(b.get),_=l(b.has),w=l(b.set);n=function(e,t){if(_(b,e))throw new g(v);return t.facade=e,w(b,e,t),t},i=function(e){return y(b,e)||{}},a=function(e){return _(b,e)}}else{var k=m("state");h[k]=!0,n=function(e,t){if(p(e,k))throw new g(v);return t.facade=e,u(e,k,t),t},i=function(e){return p(e,k)?e[k]:{}},a=function(e){return p(e,k)}}e.exports={set:n,get:i,has:a,enforce:function(e){return a(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return r}}}},776280:(e,t,r)=>{var n=r(762081),i=r(545776),a=n("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[a]===e)}},891195:(e,t,r)=>{var n=r(907937);e.exports=Array.isArray||function(e){return"Array"==n(e)}},4413:e=>{e.exports=function(e){return"function"==typeof e}},595108:(e,t,r)=>{var n=r(903057),i=r(573012),a=r(4413),o=r(936340),s=r(840982),l=r(509411),c=function(){},u=[],p=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,m=n(d.exec),h=!d.exec(c),v=function(e){if(!a(e))return!1;try{return p(c,u,e),!0}catch(e){return!1}},g=function(e){if(!a(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!m(d,l(e))}catch(e){return!0}};g.sham=!0,e.exports=!p||i((function(){var e;return v(v.call)||!v(Object)||!v((function(){e=!0}))||e}))?g:v},719944:(e,t,r)=>{var n=r(573012),i=r(4413),a=/#|\.prototype\./,o=function(e,t){var r=l[s(e)];return r==u||r!=c&&(i(t)?n(t):!!t)},s=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},l=o.data={},c=o.NATIVE="N",u=o.POLYFILL="P";e.exports=o},583250:(e,t,r)=>{var n=r(25327),i=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&i(e)===e}},25327:(e,t,r)=>{var n=r(4413);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},895240:e=>{e.exports=!1},728188:(e,t,r)=>{var n=r(25327),i=r(907937),a=r(762081)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},513462:(e,t,r)=>{var n=r(233167),i=r(840982),a=r(4413),o=r(921460),s=r(378271),l=n.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=i("Symbol");return a(t)&&o(t.prototype,l(e))}},731208:(e,t,r)=>{var n=r(233167),i=r(787083),a=r(211254),o=r(52548),s=r(378802),l=r(776280),c=r(427830),u=r(921460),p=r(993216),d=r(533404),m=r(7397),h=n.TypeError,v=function(e,t){this.stopped=e,this.result=t},g=v.prototype;e.exports=function(e,t,r){var n,f,b,y,_,w,k,Z=r&&r.that,x=!(!r||!r.AS_ENTRIES),S=!(!r||!r.IS_ITERATOR),$=!(!r||!r.INTERRUPTED),A=i(t,Z),C=function(e){return n&&m(n,"normal",e),new v(!0,e)},T=function(e){return x?(o(e),$?A(e[0],e[1],C):A(e[0],e[1])):$?A(e,C):A(e)};if(S)n=e;else{if(!(f=d(e)))throw h(s(e)+" is not iterable");if(l(f)){for(b=0,y=c(e);y>b;b++)if((_=T(e[b]))&&u(g,_))return _;return new v(!1)}n=p(e,f)}for(w=n.next;!(k=a(w,n)).done;){try{_=T(k.value)}catch(e){m(n,"throw",e)}if("object"==typeof _&&_&&u(g,_))return _}return new v(!1)}},7397:(e,t,r)=>{var n=r(211254),i=r(52548),a=r(240767);e.exports=function(e,t,r){var o,s;i(e);try{if(!(o=a(e,"return"))){if("throw"===t)throw r;return r}o=n(o,e)}catch(e){s=!0,o=e}if("throw"===t)throw r;if(s)throw o;return i(o),r}},169549:(e,t,r)=>{"use strict";var n,i,a,o=r(573012),s=r(4413),l=r(132693),c=r(490824),u=r(78083),p=r(762081),d=r(895240),m=p("iterator"),h=!1;[].keys&&("next"in(a=[].keys())?(i=c(c(a)))!==Object.prototype&&(n=i):h=!0),null==n||o((function(){var e={};return n[m].call(e)!==e}))?n={}:d&&(n=l(n)),s(n[m])||u(n,m,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},545776:e=>{e.exports={}},427830:(e,t,r)=>{var n=r(645750);e.exports=function(e){return n(e.length)}},914036:e=>{e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},416351:(e,t,r)=>{var n,i,a,o,s,l,c,u,p=r(233167),d=r(787083),m=r(927266).f,h=r(848554).set,v=r(774289),g=r(586334),f=r(433492),b=r(275827),y=p.MutationObserver||p.WebKitMutationObserver,_=p.document,w=p.process,k=p.Promise,Z=m(p,"queueMicrotask"),x=Z&&Z.value;x||(n=function(){var e,t;for(b&&(e=w.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(e){throw i?o():a=void 0,e}}a=void 0,e&&e.enter()},v||b||f||!y||!_?!g&&k&&k.resolve?((c=k.resolve(void 0)).constructor=k,u=d(c.then,c),o=function(){u(n)}):b?o=function(){w.nextTick(n)}:(h=d(h,p),o=function(){h(n)}):(s=!0,l=_.createTextNode(""),new y(n).observe(l,{characterData:!0}),o=function(){l.data=s=!s})),e.exports=x||function(e){var t={fn:e,next:void 0};a&&(a.next=t),i||(i=t,o()),a=t}},131483:(e,t,r)=>{var n=r(233167);e.exports=n.Promise},359640:(e,t,r)=>{var n=r(162211),i=r(573012);e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},822033:(e,t,r)=>{var n=r(573012),i=r(762081),a=r(895240),o=i("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),a&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},642046:(e,t,r)=>{var n=r(233167),i=r(4413),a=r(509411),o=n.WeakMap;e.exports=i(o)&&/native code/.test(a(o))},173566:(e,t,r)=>{"use strict";var n=r(833593),i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},403822:(e,t,r)=>{var n=r(993504);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},729113:(e,t,r)=>{var n=r(233167),i=r(728188),a=n.TypeError;e.exports=function(e){if(i(e))throw a("The method doesn't accept regular expressions");return e}},997719:(e,t,r)=>{var n=r(233167),i=r(573012),a=r(903057),o=r(993504),s=r(163934).trim,l=r(465904),c=a("".charAt),u=n.parseFloat,p=n.Symbol,d=p&&p.iterator,m=1/u(l+"-0")!=-1/0||d&&!i((function(){u(Object(d))}));e.exports=m?function(e){var t=s(o(e)),r=u(t);return 0===r&&"-"==c(t,0)?-0:r}:u},53520:(e,t,r)=>{var n=r(233167),i=r(573012),a=r(903057),o=r(993504),s=r(163934).trim,l=r(465904),c=n.parseInt,u=n.Symbol,p=u&&u.iterator,d=/^[+-]?0x/i,m=a(d.exec),h=8!==c(l+"08")||22!==c(l+"0x16")||p&&!i((function(){c(Object(p))}));e.exports=h?function(e,t){var r=s(o(e));return c(r,t>>>0||(m(d,r)?16:10))}:c},582289:(e,t,r)=>{"use strict";var n=r(474040),i=r(903057),a=r(211254),o=r(573012),s=r(174467),l=r(393119),c=r(356350),u=r(200856),p=r(831164),d=Object.assign,m=Object.defineProperty,h=i([].concat);e.exports=!d||o((function(){if(n&&1!==d({b:1},d(m({},"a",{enumerable:!0,get:function(){m(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach((function(e){t[e]=e})),7!=d({},e)[r]||s(d({},t)).join("")!=i}))?function(e,t){for(var r=u(e),i=arguments.length,o=1,d=l.f,m=c.f;i>o;)for(var v,g=p(arguments[o++]),f=d?h(s(g),d(g)):s(g),b=f.length,y=0;b>y;)v=f[y++],n&&!a(m,g,v)||(r[v]=g[v]);return r}:d},132693:(e,t,r)=>{var n,i=r(52548),a=r(295161),o=r(315163),s=r(33582),l=r(522069),c=r(7180),u=r(990067)("IE_PROTO"),p=function(){},d=function(e){return"<script>"+e+"<\/script>"},m=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t;m=document.domain&&n?function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F);for(var r=o.length;r--;)delete m.prototype[o[r]];return m()};s[u]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(p.prototype=i(e),r=new p,p.prototype=null,r[u]=e):r=m(),void 0===t?r:a.f(r,t)}},295161:(e,t,r)=>{var n=r(474040),i=r(518917),a=r(846850),o=r(52548),s=r(109350),l=r(174467);t.f=n&&!i?Object.defineProperties:function(e,t){o(e);for(var r,n=s(t),i=l(t),c=i.length,u=0;c>u;)a.f(e,r=i[u++],n[r]);return e}},846850:(e,t,r)=>{var n=r(233167),i=r(474040),a=r(323423),o=r(518917),s=r(52548),l=r(351899),c=n.TypeError,u=Object.defineProperty,p=Object.getOwnPropertyDescriptor;t.f=i?o?function(e,t,r){if(s(e),t=l(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&"writable"in r&&!r.writable){var n=p(e,t);n&&n.writable&&(e[t]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(s(e),t=l(t),s(r),a)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},927266:(e,t,r)=>{var n=r(474040),i=r(211254),a=r(356350),o=r(319493),s=r(109350),l=r(351899),c=r(838263),u=r(323423),p=Object.getOwnPropertyDescriptor;t.f=n?p:function(e,t){if(e=s(e),t=l(t),u)try{return p(e,t)}catch(e){}if(c(e,t))return o(!i(a.f,e,t),e[t])}},701645:(e,t,r)=>{var n=r(907937),i=r(109350),a=r(125071).f,o=r(294674),s=window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"==n(e)?function(e){try{return a(e)}catch(e){return o(s)}}(e):a(i(e))}},125071:(e,t,r)=>{var n=r(608443),i=r(315163).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},393119:(e,t)=>{t.f=Object.getOwnPropertySymbols},490824:(e,t,r)=>{var n=r(233167),i=r(838263),a=r(4413),o=r(200856),s=r(990067),l=r(278287),c=s("IE_PROTO"),u=n.Object,p=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var t=o(e);if(i(t,c))return t[c];var r=t.constructor;return a(r)&&t instanceof r?r.prototype:t instanceof u?p:null}},608853:(e,t,r)=>{var n=r(573012),i=r(25327),a=r(907937),o=r(450311),s=Object.isExtensible,l=n((function(){s(1)}));e.exports=l||o?function(e){return!!i(e)&&(!o||"ArrayBuffer"!=a(e))&&(!s||s(e))}:s},921460:(e,t,r)=>{var n=r(903057);e.exports=n({}.isPrototypeOf)},608443:(e,t,r)=>{var n=r(903057),i=r(838263),a=r(109350),o=r(69595).indexOf,s=r(33582),l=n([].push);e.exports=function(e,t){var r,n=a(e),c=0,u=[];for(r in n)!i(s,r)&&i(n,r)&&l(u,r);for(;t.length>c;)i(n,r=t[c++])&&(~o(u,r)||l(u,r));return u}},174467:(e,t,r)=>{var n=r(608443),i=r(315163);e.exports=Object.keys||function(e){return n(e,i)}},356350:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},348946:(e,t,r)=>{var n=r(903057),i=r(52548),a=r(72832);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return i(r),a(n),t?e(r,n):r.__proto__=n,r}}():void 0)},68232:(e,t,r)=>{var n=r(474040),i=r(903057),a=r(174467),o=r(109350),s=i(r(356350).f),l=i([].push),c=function(e){return function(t){for(var r,i=o(t),c=a(i),u=c.length,p=0,d=[];u>p;)r=c[p++],n&&!s(i,r)||l(d,e?[r,i[r]]:i[r]);return d}};e.exports={entries:c(!0),values:c(!1)}},750327:(e,t,r)=>{"use strict";var n=r(128601),i=r(936340);e.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},208883:(e,t,r)=>{var n=r(233167),i=r(211254),a=r(4413),o=r(25327),s=n.TypeError;e.exports=function(e,t){var r,n;if("string"===t&&a(r=e.toString)&&!o(n=i(r,e)))return n;if(a(r=e.valueOf)&&!o(n=i(r,e)))return n;if("string"!==t&&a(r=e.toString)&&!o(n=i(r,e)))return n;throw s("Can't convert object to primitive value")}},680049:(e,t,r)=>{var n=r(840982),i=r(903057),a=r(125071),o=r(393119),s=r(52548),l=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=a.f(s(e)),r=o.f;return r?l(t,r(e)):t}},169104:(e,t,r)=>{var n=r(233167);e.exports=n},686380:e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},202139:(e,t,r)=>{var n=r(52548),i=r(25327),a=r(173566);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=a.f(e);return(0,r.resolve)(t),r.promise}},122345:e=>{var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null};this.head?this.tail.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},e.exports=t},29235:(e,t,r)=>{var n=r(78083);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},78083:(e,t,r)=>{var n=r(233167),i=r(4413),a=r(838263),o=r(881303),s=r(282024),l=r(509411),c=r(590718),u=r(273145).CONFIGURABLE,p=c.get,d=c.enforce,m=String(String).split("String");(e.exports=function(e,t,r,l){var c,p=!!l&&!!l.unsafe,h=!!l&&!!l.enumerable,v=!!l&&!!l.noTargetGet,g=l&&void 0!==l.name?l.name:t;i(r)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!a(r,"name")||u&&r.name!==g)&&o(r,"name",g),(c=d(r)).source||(c.source=m.join("string"==typeof g?g:""))),e!==n?(p?!v&&e[t]&&(h=!0):delete e[t],h?e[t]=r:o(e,t,r)):h?e[t]=r:s(t,r)})(Function.prototype,"toString",(function(){return i(this)&&p(this).source||l(this)}))},766362:(e,t,r)=>{var n=r(233167),i=r(211254),a=r(52548),o=r(4413),s=r(907937),l=r(466422),c=n.TypeError;e.exports=function(e,t){var r=e.exec;if(o(r)){var n=i(r,e,t);return null!==n&&a(n),n}if("RegExp"===s(e))return i(l,e,t);throw c("RegExp#exec called on incompatible receiver")}},466422:(e,t,r)=>{"use strict";var n,i,a=r(211254),o=r(903057),s=r(993504),l=r(364646),c=r(114031),u=r(683731),p=r(132693),d=r(590718).get,m=r(504170),h=r(798565),v=u("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,f=g,b=o("".charAt),y=o("".indexOf),_=o("".replace),w=o("".slice),k=(i=/b*/g,a(g,n=/a/,"a"),a(g,i,"a"),0!==n.lastIndex||0!==i.lastIndex),Z=c.BROKEN_CARET,x=void 0!==/()??/.exec("")[1];(k||x||Z||m||h)&&(f=function(e){var t,r,n,i,o,c,u,m=this,h=d(m),S=s(e),$=h.raw;if($)return $.lastIndex=m.lastIndex,t=a(f,$,S),m.lastIndex=$.lastIndex,t;var A=h.groups,C=Z&&m.sticky,T=a(l,m),P=m.source,z=0,E=S;if(C&&(T=_(T,"y",""),-1===y(T,"g")&&(T+="g"),E=w(S,m.lastIndex),m.lastIndex>0&&(!m.multiline||m.multiline&&"\n"!==b(S,m.lastIndex-1))&&(P="(?: "+P+")",E=" "+E,z++),r=new RegExp("^(?:"+P+")",T)),x&&(r=new RegExp("^"+P+"$(?!\\s)",T)),k&&(n=m.lastIndex),i=a(g,C?r:m,E),C?i?(i.input=w(i.input,z),i[0]=w(i[0],z),i.index=m.lastIndex,m.lastIndex+=i[0].length):m.lastIndex=0:k&&i&&(m.lastIndex=m.global?i.index+i[0].length:n),x&&i&&i.length>1&&a(v,i[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(i[o]=void 0)})),i&&A)for(i.groups=c=p(null),o=0;o<A.length;o++)c[(u=A[o])[0]]=i[u[1]];return i}),e.exports=f},364646:(e,t,r)=>{"use strict";var n=r(52548);e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},114031:(e,t,r)=>{var n=r(573012),i=r(233167).RegExp,a=n((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),o=a||n((function(){return!i("a","y").sticky})),s=a||n((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:s,MISSED_STICKY:o,UNSUPPORTED_Y:a}},504170:(e,t,r)=>{var n=r(573012),i=r(233167).RegExp;e.exports=n((function(){var e=i(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},798565:(e,t,r)=>{var n=r(573012),i=r(233167).RegExp;e.exports=n((function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},956991:(e,t,r)=>{var n=r(233167).TypeError;e.exports=function(e){if(null==e)throw n("Can't call method on "+e);return e}},46133:e=>{e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},282024:(e,t,r)=>{var n=r(233167),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},804764:(e,t,r)=>{"use strict";var n=r(840982),i=r(846850),a=r(762081),o=r(474040),s=a("species");e.exports=function(e){var t=n(e),r=i.f;o&&t&&!t[s]&&r(t,s,{configurable:!0,get:function(){return this}})}},17589:(e,t,r)=>{var n=r(846850).f,i=r(838263),a=r(762081)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,a)&&n(e,a,{configurable:!0,value:t})}},990067:(e,t,r)=>{var n=r(683731),i=r(775563),a=n("keys");e.exports=function(e){return a[e]||(a[e]=i(e))}},75754:(e,t,r)=>{var n=r(233167),i=r(282024),a="__core-js_shared__",o=n[a]||i(a,{});e.exports=o},683731:(e,t,r)=>{var n=r(895240),i=r(75754);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.21.1",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})},424379:(e,t,r)=>{var n=r(52548),i=r(657757),a=r(762081)("species");e.exports=function(e,t){var r,o=n(e).constructor;return void 0===o||null==(r=n(o)[a])?t:i(r)}},713135:(e,t,r)=>{var n=r(573012);e.exports=function(e){return n((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},498690:(e,t,r)=>{var n=r(903057),i=r(847674),a=r(993504),o=r(956991),s=n("".charAt),l=n("".charCodeAt),c=n("".slice),u=function(e){return function(t,r){var n,u,p=a(o(t)),d=i(r),m=p.length;return d<0||d>=m?e?"":void 0:(n=l(p,d))<55296||n>56319||d+1===m||(u=l(p,d+1))<56320||u>57343?e?s(p,d):n:e?c(p,d,d+2):u-56320+(n-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},430628:(e,t,r)=>{var n=r(91089);e.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(n)},968809:(e,t,r)=>{var n=r(903057),i=r(645750),a=r(993504),o=r(459977),s=r(956991),l=n(o),c=n("".slice),u=Math.ceil,p=function(e){return function(t,r,n){var o,p,d=a(s(t)),m=i(r),h=d.length,v=void 0===n?" ":a(n);return m<=h||""==v?d:((p=l(v,u((o=m-h)/v.length))).length>o&&(p=c(p,0,o)),e?d+p:p+d)}};e.exports={start:p(!1),end:p(!0)}},898137:(e,t,r)=>{"use strict";var n=r(233167),i=r(903057),a=2147483647,o=/[^\0-\u007E]/,s=/[.\u3002\uFF0E\uFF61]/g,l="Overflow: input needs wider integers to process",c=n.RangeError,u=i(s.exec),p=Math.floor,d=String.fromCharCode,m=i("".charCodeAt),h=i([].join),v=i([].push),g=i("".replace),f=i("".split),b=i("".toLowerCase),y=function(e){return e+22+75*(e<26)},_=function(e,t,r){var n=0;for(e=r?p(e/700):e>>1,e+=p(e/t);e>455;)e=p(e/35),n+=36;return p(n+36*e/(e+38))},w=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=m(e,r++);if(i>=55296&&i<=56319&&r<n){var a=m(e,r++);56320==(64512&a)?v(t,((1023&i)<<10)+(1023&a)+65536):(v(t,i),r--)}else v(t,i)}return t}(e);var r,n,i=e.length,o=128,s=0,u=72;for(r=0;r<e.length;r++)(n=e[r])<128&&v(t,d(n));var g=t.length,f=g;for(g&&v(t,"-");f<i;){var b=a;for(r=0;r<e.length;r++)(n=e[r])>=o&&n<b&&(b=n);var w=f+1;if(b-o>p((a-s)/w))throw c(l);for(s+=(b-o)*w,o=b,r=0;r<e.length;r++){if((n=e[r])<o&&++s>a)throw c(l);if(n==o){for(var k=s,Z=36;;){var x=Z<=u?1:Z>=u+26?26:Z-u;if(k<x)break;var S=k-x,$=36-x;v(t,d(y(x+S%$))),k=p(S/$),Z+=36}v(t,d(y(k))),u=_(s,w,f==g),s=0,f++}}s++,o++}return h(t,"")};e.exports=function(e){var t,r,n=[],i=f(g(b(e),s,"."),".");for(t=0;t<i.length;t++)r=i[t],v(n,u(o,r)?"xn--"+w(r):r);return h(n,".")}},459977:(e,t,r)=>{"use strict";var n=r(233167),i=r(847674),a=r(993504),o=r(956991),s=n.RangeError;e.exports=function(e){var t=a(o(this)),r="",n=i(e);if(n<0||n==1/0)throw s("Wrong number of repetitions");for(;n>0;(n>>>=1)&&(t+=t))1&n&&(r+=t);return r}},463219:(e,t,r)=>{var n=r(273145).PROPER,i=r(573012),a=r(465904);e.exports=function(e){return i((function(){return!!a[e]()||"​…᠎"!=="​…᠎"[e]()||n&&a[e].name!==e}))}},163934:(e,t,r)=>{var n=r(903057),i=r(956991),a=r(993504),o=r(465904),s=n("".replace),l="["+o+"]",c=RegExp("^"+l+l+"*"),u=RegExp(l+l+"*$"),p=function(e){return function(t){var r=a(i(t));return 1&e&&(r=s(r,c,"")),2&e&&(r=s(r,u,"")),r}};e.exports={start:p(1),end:p(2),trim:p(3)}},848554:(e,t,r)=>{var n,i,a,o,s=r(233167),l=r(22583),c=r(787083),u=r(4413),p=r(838263),d=r(573012),m=r(522069),h=r(883350),v=r(7180),g=r(541397),f=r(774289),b=r(275827),y=s.setImmediate,_=s.clearImmediate,w=s.process,k=s.Dispatch,Z=s.Function,x=s.MessageChannel,S=s.String,$=0,A={};try{n=s.location}catch(e){}var C=function(e){if(p(A,e)){var t=A[e];delete A[e],t()}},T=function(e){return function(){C(e)}},P=function(e){C(e.data)},z=function(e){s.postMessage(S(e),n.protocol+"//"+n.host)};y&&_||(y=function(e){g(arguments.length,1);var t=u(e)?e:Z(e),r=h(arguments,1);return A[++$]=function(){l(t,void 0,r)},i($),$},_=function(e){delete A[e]},b?i=function(e){w.nextTick(T(e))}:k&&k.now?i=function(e){k.now(T(e))}:x&&!f?(o=(a=new x).port2,a.port1.onmessage=P,i=c(o.postMessage,o)):s.addEventListener&&u(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!d(z)?(i=z,s.addEventListener("message",P,!1)):i="onreadystatechange"in v("script")?function(e){m.appendChild(v("script")).onreadystatechange=function(){m.removeChild(this),C(e)}}:function(e){setTimeout(T(e),0)}),e.exports={set:y,clear:_}},334346:(e,t,r)=>{var n=r(903057);e.exports=n(1..valueOf)},321416:(e,t,r)=>{var n=r(847674),i=Math.max,a=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):a(r,t)}},785513:(e,t,r)=>{var n=r(233167),i=r(847674),a=r(645750),o=n.RangeError;e.exports=function(e){if(void 0===e)return 0;var t=i(e),r=a(t);if(t!==r)throw o("Wrong length or index");return r}},109350:(e,t,r)=>{var n=r(831164),i=r(956991);e.exports=function(e){return n(i(e))}},847674:e=>{var t=Math.ceil,r=Math.floor;e.exports=function(e){var n=+e;return n!=n||0===n?0:(n>0?r:t)(n)}},645750:(e,t,r)=>{var n=r(847674),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},200856:(e,t,r)=>{var n=r(233167),i=r(956991),a=n.Object;e.exports=function(e){return a(i(e))}},483578:(e,t,r)=>{var n=r(233167),i=r(34151),a=n.RangeError;e.exports=function(e,t){var r=i(e);if(r%t)throw a("Wrong offset");return r}},34151:(e,t,r)=>{var n=r(233167),i=r(847674),a=n.RangeError;e.exports=function(e){var t=i(e);if(t<0)throw a("The argument can't be less than 0");return t}},310338:(e,t,r)=>{var n=r(233167),i=r(211254),a=r(25327),o=r(513462),s=r(240767),l=r(208883),c=r(762081),u=n.TypeError,p=c("toPrimitive");e.exports=function(e,t){if(!a(e)||o(e))return e;var r,n=s(e,p);if(n){if(void 0===t&&(t="default"),r=i(n,e,t),!a(r)||o(r))return r;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),l(e,t)}},351899:(e,t,r)=>{var n=r(310338),i=r(513462);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},128601:(e,t,r)=>{var n={};n[r(762081)("toStringTag")]="z",e.exports="[object z]"===String(n)},993504:(e,t,r)=>{var n=r(233167),i=r(936340),a=n.String;e.exports=function(e){if("Symbol"===i(e))throw TypeError("Cannot convert a Symbol value to a string");return a(e)}},780281:(e,t,r)=>{var n=r(275827);e.exports=function(e){try{if(n)return Function('return require("'+e+'")')()}catch(e){}}},378802:(e,t,r)=>{var n=r(233167).String;e.exports=function(e){try{return n(e)}catch(e){return"Object"}}},496315:(e,t,r)=>{"use strict";var n=r(145630),i=r(233167),a=r(211254),o=r(474040),s=r(788907),l=r(919944),c=r(317783),u=r(814519),p=r(319493),d=r(881303),m=r(583250),h=r(645750),v=r(785513),g=r(483578),f=r(351899),b=r(838263),y=r(936340),_=r(25327),w=r(513462),k=r(132693),Z=r(921460),x=r(348946),S=r(125071).f,$=r(122404),A=r(117390).forEach,C=r(804764),T=r(846850),P=r(927266),z=r(590718),E=r(950341),O=z.get,I=z.set,R=T.f,j=P.f,N=Math.round,D=i.RangeError,L=c.ArrayBuffer,M=L.prototype,B=c.DataView,F=l.NATIVE_ARRAY_BUFFER_VIEWS,H=l.TYPED_ARRAY_CONSTRUCTOR,U=l.TYPED_ARRAY_TAG,q=l.TypedArray,V=l.TypedArrayPrototype,W=l.aTypedArrayConstructor,J=l.isTypedArray,G="BYTES_PER_ELEMENT",K="Wrong length",Y=function(e,t){W(e);for(var r=0,n=t.length,i=new e(n);n>r;)i[r]=t[r++];return i},X=function(e,t){R(e,t,{get:function(){return O(this)[t]}})},Q=function(e){var t;return Z(M,e)||"ArrayBuffer"==(t=y(e))||"SharedArrayBuffer"==t},ee=function(e,t){return J(e)&&!w(t)&&t in e&&m(+t)&&t>=0},te=function(e,t){return t=f(t),ee(e,t)?p(2,e[t]):j(e,t)},re=function(e,t,r){return t=f(t),!(ee(e,t)&&_(r)&&b(r,"value"))||b(r,"get")||b(r,"set")||r.configurable||b(r,"writable")&&!r.writable||b(r,"enumerable")&&!r.enumerable?R(e,t,r):(e[t]=r.value,e)};o?(F||(P.f=te,T.f=re,X(V,"buffer"),X(V,"byteOffset"),X(V,"byteLength"),X(V,"length")),n({target:"Object",stat:!0,forced:!F},{getOwnPropertyDescriptor:te,defineProperty:re}),e.exports=function(e,t,r){var o=e.match(/\d+$/)[0]/8,l=e+(r?"Clamped":"")+"Array",c="get"+e,p="set"+e,m=i[l],f=m,b=f&&f.prototype,y={},w=function(e,t){R(e,t,{get:function(){return function(e,t){var r=O(e);return r.view[c](t*o+r.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var i=O(e);r&&(n=(n=N(n))<0?0:n>255?255:255&n),i.view[p](t*o+i.byteOffset,n,!0)}(this,t,e)},enumerable:!0})};F?s&&(f=t((function(e,t,r,n){return u(e,b),E(_(t)?Q(t)?void 0!==n?new m(t,g(r,o),n):void 0!==r?new m(t,g(r,o)):new m(t):J(t)?Y(f,t):a($,f,t):new m(v(t)),e,f)})),x&&x(f,q),A(S(m),(function(e){e in f||d(f,e,m[e])})),f.prototype=b):(f=t((function(e,t,r,n){u(e,b);var i,s,l,c=0,p=0;if(_(t)){if(!Q(t))return J(t)?Y(f,t):a($,f,t);i=t,p=g(r,o);var d=t.byteLength;if(void 0===n){if(d%o)throw D(K);if((s=d-p)<0)throw D(K)}else if((s=h(n)*o)+p>d)throw D(K);l=s/o}else l=v(t),i=new L(s=l*o);for(I(e,{buffer:i,byteOffset:p,byteLength:s,length:l,view:new B(i)});c<l;)w(e,c++)})),x&&x(f,q),b=f.prototype=k(V)),b.constructor!==f&&d(b,"constructor",f),d(b,H,f),U&&d(b,U,l),y[l]=f,n({global:!0,forced:f!=m,sham:!F},y),G in f||d(f,G,o),G in b||d(b,G,o),C(l)}):e.exports=function(){}},788907:(e,t,r)=>{var n=r(233167),i=r(573012),a=r(44592),o=r(919944).NATIVE_ARRAY_BUFFER_VIEWS,s=n.ArrayBuffer,l=n.Int8Array;e.exports=!o||!i((function(){l(1)}))||!i((function(){new l(-1)}))||!a((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||i((function(){return 1!==new l(new s(2),1,void 0).length}))},808192:(e,t,r)=>{var n=r(17442),i=r(623458);e.exports=function(e,t){return n(i(e),t)}},122404:(e,t,r)=>{var n=r(787083),i=r(211254),a=r(657757),o=r(200856),s=r(427830),l=r(993216),c=r(533404),u=r(776280),p=r(919944).aTypedArrayConstructor;e.exports=function(e){var t,r,d,m,h,v,g=a(this),f=o(e),b=arguments.length,y=b>1?arguments[1]:void 0,_=void 0!==y,w=c(f);if(w&&!u(w))for(v=(h=l(f,w)).next,f=[];!(m=i(v,h)).done;)f.push(m.value);for(_&&b>2&&(y=n(y,arguments[2])),r=s(f),d=new(p(g))(r),t=0;r>t;t++)d[t]=_?y(f[t],t):f[t];return d}},623458:(e,t,r)=>{var n=r(919944),i=r(424379),a=n.TYPED_ARRAY_CONSTRUCTOR,o=n.aTypedArrayConstructor;e.exports=function(e){return o(i(e,e[a]))}},775563:(e,t,r)=>{var n=r(903057),i=0,a=Math.random(),o=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+a,36)}},378271:(e,t,r)=>{var n=r(359640);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},518917:(e,t,r)=>{var n=r(474040),i=r(573012);e.exports=n&&i((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},541397:(e,t,r)=>{var n=r(233167).TypeError;e.exports=function(e,t){if(e<t)throw n("Not enough arguments");return e}},171392:(e,t,r)=>{var n=r(762081);t.f=n},762081:(e,t,r)=>{var n=r(233167),i=r(683731),a=r(838263),o=r(775563),s=r(359640),l=r(378271),c=i("wks"),u=n.Symbol,p=u&&u.for,d=l?u:u&&u.withoutSetter||o;e.exports=function(e){if(!a(c,e)||!s&&"string"!=typeof c[e]){var t="Symbol."+e;s&&a(u,e)?c[e]=u[e]:c[e]=l&&p?p(t):d(t)}return c[e]}},465904:e=>{e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},962685:(e,t,r)=>{"use strict";var n=r(840982),i=r(838263),a=r(881303),o=r(921460),s=r(348946),l=r(38372),c=r(950341),u=r(403822),p=r(675316),d=r(692203),m=r(975546),h=r(895240);e.exports=function(e,t,r,v){var g=v?2:1,f=e.split("."),b=f[f.length-1],y=n.apply(null,f);if(y){var _=y.prototype;if(!h&&i(_,"cause")&&delete _.cause,!r)return y;var w=n("Error"),k=t((function(e,t){var r=u(v?t:e,void 0),n=v?new y(e):new y;return void 0!==r&&a(n,"message",r),m&&a(n,"stack",d(n.stack,2)),this&&o(_,this)&&c(n,this,k),arguments.length>g&&p(n,arguments[g]),n}));if(k.prototype=_,"Error"!==b&&(s?s(k,w):l(k,w,{name:!0})),l(k,y),!h)try{_.name!==b&&a(_,"name",b),_.constructor=k}catch(e){}return k}}},499313:(e,t,r)=>{"use strict";var n=r(145630),i=r(233167),a=r(317783),o=r(804764),s=a.ArrayBuffer;n({global:!0,forced:i.ArrayBuffer!==s},{ArrayBuffer:s}),o("ArrayBuffer")},261148:(e,t,r)=>{"use strict";var n=r(145630),i=r(903057),a=r(573012),o=r(317783),s=r(52548),l=r(321416),c=r(645750),u=r(424379),p=o.ArrayBuffer,d=o.DataView,m=d.prototype,h=i(p.prototype.slice),v=i(m.getUint8),g=i(m.setUint8);n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:a((function(){return!new p(2).slice(1,void 0).byteLength}))},{slice:function(e,t){if(h&&void 0===t)return h(s(this),e);for(var r=s(this).byteLength,n=l(e,r),i=l(void 0===t?r:t,r),a=new(u(this,p))(c(i-n)),o=new d(this),m=new d(a),f=0;n<i;)g(m,f++,v(o,n++));return a}})},470373:(e,t,r)=>{"use strict";var n=r(145630),i=r(200856),a=r(427830),o=r(847674),s=r(916286);n({target:"Array",proto:!0},{at:function(e){var t=i(this),r=a(t),n=o(e),s=n>=0?n:r+n;return s<0||s>=r?void 0:t[s]}}),s("at")},35812:(e,t,r)=>{"use strict";var n=r(145630),i=r(233167),a=r(573012),o=r(891195),s=r(25327),l=r(200856),c=r(427830),u=r(641380),p=r(229451),d=r(186123),m=r(762081),h=r(162211),v=m("isConcatSpreadable"),g=9007199254740991,f="Maximum allowed index exceeded",b=i.TypeError,y=h>=51||!a((function(){var e=[];return e[v]=!1,e.concat()[0]!==e})),_=d("concat"),w=function(e){if(!s(e))return!1;var t=e[v];return void 0!==t?!!t:o(e)};n({target:"Array",proto:!0,forced:!y||!_},{concat:function(e){var t,r,n,i,a,o=l(this),s=p(o,0),d=0;for(t=-1,n=arguments.length;t<n;t++)if(w(a=-1===t?o:arguments[t])){if(d+(i=c(a))>g)throw b(f);for(r=0;r<i;r++,d++)r in a&&u(s,d,a[r])}else{if(d>=g)throw b(f);u(s,d++,a)}return s.length=d,s}})},817838:(e,t,r)=>{var n=r(145630),i=r(738589),a=r(916286);n({target:"Array",proto:!0},{fill:i}),a("fill")},824098:(e,t,r)=>{"use strict";var n=r(145630),i=r(117390).filter;n({target:"Array",proto:!0,forced:!r(186123)("filter")},{filter:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},613903:(e,t,r)=>{"use strict";var n=r(145630),i=r(117390).findIndex,a=r(916286),o="findIndex",s=!0;o in[]&&Array(1).findIndex((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a(o)},635105:(e,t,r)=>{"use strict";var n=r(145630),i=r(117390).find,a=r(916286),o="find",s=!0;o in[]&&Array(1).find((function(){s=!1})),n({target:"Array",proto:!0,forced:s},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a(o)},275997:(e,t,r)=>{"use strict";var n=r(145630),i=r(502630),a=r(200856),o=r(427830),s=r(847674),l=r(229451);n({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=a(this),r=o(t),n=l(t,0);return n.length=i(n,t,t,r,0,void 0===e?1:s(e)),n}})},886023:(e,t,r)=>{var n=r(145630),i=r(205556);n({target:"Array",stat:!0,forced:!r(44592)((function(e){Array.from(e)}))},{from:i})},255187:(e,t,r)=>{"use strict";var n=r(145630),i=r(69595).includes,a=r(916286);n({target:"Array",proto:!0},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},888784:(e,t,r)=>{"use strict";var n=r(145630),i=r(903057),a=r(69595).indexOf,o=r(487037),s=i([].indexOf),l=!!s&&1/s([1],1,-0)<0,c=o("indexOf");n({target:"Array",proto:!0,forced:l||!c},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return l?s(this,e,t)||0:a(this,e,t)}})},816221:(e,t,r)=>{"use strict";var n=r(109350),i=r(916286),a=r(545776),o=r(590718),s=r(846850).f,l=r(423354),c=r(895240),u=r(474040),p="Array Iterator",d=o.set,m=o.getterFor(p);e.exports=l(Array,"Array",(function(e,t){d(this,{type:p,target:n(e),index:0,kind:t})}),(function(){var e=m(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values");var h=a.Arguments=a.Array;if(i("keys"),i("values"),i("entries"),!c&&u&&"values"!==h.name)try{s(h,"name",{value:"values"})}catch(e){}},127387:(e,t,r)=>{"use strict";var n=r(145630),i=r(903057),a=r(831164),o=r(109350),s=r(487037),l=i([].join),c=a!=Object,u=s("join",",");n({target:"Array",proto:!0,forced:c||!u},{join:function(e){return l(o(this),void 0===e?",":e)}})},391162:(e,t,r)=>{var n=r(145630),i=r(789776);n({target:"Array",proto:!0,forced:i!==[].lastIndexOf},{lastIndexOf:i})},819785:(e,t,r)=>{"use strict";var n=r(145630),i=r(117390).map;n({target:"Array",proto:!0,forced:!r(186123)("map")},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},64209:(e,t,r)=>{"use strict";var n=r(145630),i=r(284700).left,a=r(487037),o=r(162211),s=r(275827);n({target:"Array",proto:!0,forced:!a("reduce")||!s&&o>79&&o<83},{reduce:function(e){var t=arguments.length;return i(this,e,t,t>1?arguments[1]:void 0)}})},718080:(e,t,r)=>{"use strict";var n=r(145630),i=r(903057),a=r(891195),o=i([].reverse),s=[1,2];n({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function(){return a(this)&&(this.length=this.length),o(this)}})},893248:(e,t,r)=>{"use strict";var n=r(145630),i=r(233167),a=r(891195),o=r(595108),s=r(25327),l=r(321416),c=r(427830),u=r(109350),p=r(641380),d=r(762081),m=r(186123),h=r(883350),v=m("slice"),g=d("species"),f=i.Array,b=Math.max;n({target:"Array",proto:!0,forced:!v},{slice:function(e,t){var r,n,i,d=u(this),m=c(d),v=l(e,m),y=l(void 0===t?m:t,m);if(a(d)&&(r=d.constructor,(o(r)&&(r===f||a(r.prototype))||s(r)&&null===(r=r[g]))&&(r=void 0),r===f||void 0===r))return h(d,v,y);for(n=new(void 0===r?f:r)(b(y-v,0)),i=0;v<y;v++,i++)v in d&&p(n,i,d[v]);return n.length=i,n}})},8856:(e,t,r)=>{"use strict";var n=r(145630),i=r(903057),a=r(833593),o=r(200856),s=r(427830),l=r(993504),c=r(573012),u=r(432031),p=r(487037),d=r(747804),m=r(209254),h=r(162211),v=r(179859),g=[],f=i(g.sort),b=i(g.push),y=c((function(){g.sort(void 0)})),_=c((function(){g.sort(null)})),w=p("sort"),k=!c((function(){if(h)return h<70;if(!(d&&d>3)){if(m)return!0;if(v)return v<603;var e,t,r,n,i="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)g.push({k:t+n,v:r})}for(g.sort((function(e,t){return t.v-e.v})),n=0;n<g.length;n++)t=g[n].k.charAt(0),i.charAt(i.length-1)!==t&&(i+=t);return"DGBEFHACIJK"!==i}}));n({target:"Array",proto:!0,forced:y||!_||!w||!k},{sort:function(e){void 0!==e&&a(e);var t=o(this);if(k)return void 0===e?f(t):f(t,e);var r,n,i=[],c=s(t);for(n=0;n<c;n++)n in t&&b(i,t[n]);for(u(i,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:l(t)>l(r)?1:-1}}(e)),r=i.length,n=0;n<r;)t[n]=i[n++];for(;n<c;)delete t[n++];return t}})},973774:(e,t,r)=>{"use strict";var n=r(145630),i=r(233167),a=r(321416),o=r(847674),s=r(427830),l=r(200856),c=r(229451),u=r(641380),p=r(186123)("splice"),d=i.TypeError,m=Math.max,h=Math.min;n({target:"Array",proto:!0,forced:!p},{splice:function(e,t){var r,n,i,p,v,g,f=l(this),b=s(f),y=a(e,b),_=arguments.length;if(0===_?r=n=0:1===_?(r=0,n=b-y):(r=_-2,n=h(m(o(t),0),b-y)),b+r-n>9007199254740991)throw d("Maximum allowed length exceeded");for(i=c(f,n),p=0;p<n;p++)(v=y+p)in f&&u(i,p,f[v]);if(i.length=n,r<n){for(p=y;p<b-n;p++)g=p+r,(v=p+n)in f?f[g]=f[v]:delete f[g];for(p=b;p>b-n+r;p--)delete f[p-1]}else if(r>n)for(p=b-n;p>y;p--)g=p+r-1,(v=p+n-1)in f?f[g]=f[v]:delete f[g];for(p=0;p<r;p++)f[p+y]=arguments[p+2];return f.length=b-n+r,i}})},196499:(e,t,r)=>{r(916286)("flat")},373636:(e,t,r)=>{"use strict";var n=r(145630),i=r(573012),a=r(200856),o=r(310338);n({target:"Date",proto:!0,forced:i((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(e){var t=a(this),r=o(t,"number");return"number"!=typeof r||isFinite(r)?t.toISOString():null}})},936963:(e,t,r)=>{var n=r(145630),i=r(233167),a=r(22583),o=r(962685),s=i.WebAssembly,l=7!==Error("e",{cause:7}).cause,c=function(e,t){var r={};r[e]=o(e,t,l),n({global:!0,forced:l},r)},u=function(e,t){if(s&&s[e]){var r={};r[e]=o("WebAssembly."+e,t,l),n({target:"WebAssembly",stat:!0,forced:l},r)}};c("Error",(function(e){return function(t){return a(e,this,arguments)}})),c("EvalError",(function(e){return function(t){return a(e,this,arguments)}})),c("RangeError",(function(e){return function(t){return a(e,this,arguments)}})),c("ReferenceError",(function(e){return function(t){return a(e,this,arguments)}})),c("SyntaxError",(function(e){return function(t){return a(e,this,arguments)}})),c("TypeError",(function(e){return function(t){return a(e,this,arguments)}})),c("URIError",(function(e){return function(t){return a(e,this,arguments)}})),u("CompileError",(function(e){return function(t){return a(e,this,arguments)}})),u("LinkError",(function(e){return function(t){return a(e,this,arguments)}})),u("RuntimeError",(function(e){return function(t){return a(e,this,arguments)}}))},923304:(e,t,r)=>{var n=r(78083),i=r(470499),a=Error.prototype;a.toString!==i&&n(a,"toString",i)},457685:(e,t,r)=>{var n=r(474040),i=r(273145).EXISTS,a=r(903057),o=r(846850).f,s=Function.prototype,l=a(s.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u=a(c.exec);n&&!i&&o(s,"name",{configurable:!0,get:function(){try{return u(c,l(this))[1]}catch(e){return""}}})},304906:(e,t,r)=>{r(145630)({global:!0},{globalThis:r(233167)})},721141:(e,t,r)=>{var n=r(145630),i=r(233167),a=r(840982),o=r(22583),s=r(903057),l=r(573012),c=i.Array,u=a("JSON","stringify"),p=s(/./.exec),d=s("".charAt),m=s("".charCodeAt),h=s("".replace),v=s(1..toString),g=/[\uD800-\uDFFF]/g,f=/^[\uD800-\uDBFF]$/,b=/^[\uDC00-\uDFFF]$/,y=function(e,t,r){var n=d(r,t-1),i=d(r,t+1);return p(f,e)&&!p(b,i)||p(b,e)&&!p(f,n)?"\\u"+v(m(e,0),16):e},_=l((function(){return'"\\udf06\\ud834"'!==u("\udf06\ud834")||'"\\udead"'!==u("\udead")}));u&&n({target:"JSON",stat:!0,forced:_},{stringify:function(e,t,r){for(var n=0,i=arguments.length,a=c(i);n<i;n++)a[n]=arguments[n];var s=o(u,null,a);return"string"==typeof s?h(s,g,y):s}})},321500:(e,t,r)=>{"use strict";r(288354)("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(802830))},466407:(e,t,r)=>{r(145630)({target:"Math",stat:!0},{sign:r(914036)})},817148:(e,t,r)=>{"use strict";var n=r(474040),i=r(233167),a=r(903057),o=r(719944),s=r(78083),l=r(838263),c=r(950341),u=r(921460),p=r(513462),d=r(310338),m=r(573012),h=r(125071).f,v=r(927266).f,g=r(846850).f,f=r(334346),b=r(163934).trim,y="Number",_=i.Number,w=_.prototype,k=i.TypeError,Z=a("".slice),x=a("".charCodeAt);if(o(y,!_(" 0o1")||!_("0b1")||_("+0x1"))){for(var S,$=function(e){var t=arguments.length<1?0:_(function(e){var t=d(e,"number");return"bigint"==typeof t?t:function(e){var t,r,n,i,a,o,s,l,c=d(e,"number");if(p(c))throw k("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=b(c),43===(t=x(c,0))||45===t){if(88===(r=x(c,2))||120===r)return NaN}else if(48===t){switch(x(c,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+c}for(o=(a=Z(c,2)).length,s=0;s<o;s++)if((l=x(a,s))<48||l>i)return NaN;return parseInt(a,n)}return+c}(t)}(e)),r=this;return u(w,r)&&m((function(){f(r)}))?c(Object(t),r,$):t},A=n?h(_):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),C=0;A.length>C;C++)l(_,S=A[C])&&!l($,S)&&g($,S,v(_,S));$.prototype=w,w.constructor=$,s(i,y,$)}},945628:(e,t,r)=>{"use strict";var n=r(145630),i=r(233167),a=r(903057),o=r(847674),s=r(334346),l=r(459977),c=r(573012),u=i.RangeError,p=i.String,d=Math.floor,m=a(l),h=a("".slice),v=a(1..toFixed),g=function(e,t,r){return 0===t?r:t%2==1?g(e,t-1,r*e):g(e*e,t/2,r)},f=function(e,t,r){for(var n=-1,i=r;++n<6;)i+=t*e[n],e[n]=i%1e7,i=d(i/1e7)},b=function(e,t){for(var r=6,n=0;--r>=0;)n+=e[r],e[r]=d(n/t),n=n%t*1e7},y=function(e){for(var t=6,r="";--t>=0;)if(""!==r||0===t||0!==e[t]){var n=p(e[t]);r=""===r?n:r+m("0",7-n.length)+n}return r};n({target:"Number",proto:!0,forced:c((function(){return"0.000"!==v(8e-5,3)||"1"!==v(.9,0)||"1.25"!==v(1.255,2)||"1000000000000000128"!==v(0xde0b6b3a7640080,0)}))||!c((function(){v({})}))},{toFixed:function(e){var t,r,n,i,a=s(this),l=o(e),c=[0,0,0,0,0,0],d="",v="0";if(l<0||l>20)throw u("Incorrect fraction digits");if(a!=a)return"NaN";if(a<=-1e21||a>=1e21)return p(a);if(a<0&&(d="-",a=-a),a>1e-21)if(r=(t=function(e){for(var t=0,r=e;r>=4096;)t+=12,r/=4096;for(;r>=2;)t+=1,r/=2;return t}(a*g(2,69,1))-69)<0?a*g(2,-t,1):a/g(2,t,1),r*=4503599627370496,(t=52-t)>0){for(f(c,0,r),n=l;n>=7;)f(c,1e7,0),n-=7;for(f(c,g(10,n,1),0),n=t-1;n>=23;)b(c,1<<23),n-=23;b(c,1<<n),f(c,1,1),b(c,2),v=y(c)}else f(c,0,r),f(c,1<<-t,0),v=y(c)+m("0",l);return l>0?d+((i=v.length)<=l?"0."+m("0",l-i)+v:h(v,0,i-l)+"."+h(v,i-l)):d+v}})},367469:(e,t,r)=>{var n=r(145630),i=r(582289);n({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},378702:(e,t,r)=>{var n=r(145630),i=r(474040),a=r(846850).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==a,sham:!i},{defineProperty:a})},593798:(e,t,r)=>{var n=r(145630),i=r(68232).entries;n({target:"Object",stat:!0},{entries:function(e){return i(e)}})},304893:(e,t,r)=>{var n=r(145630),i=r(731208),a=r(641380);n({target:"Object",stat:!0},{fromEntries:function(e){var t={};return i(e,(function(e,r){a(t,e,r)}),{AS_ENTRIES:!0}),t}})},913688:(e,t,r)=>{var n=r(145630),i=r(573012),a=r(109350),o=r(927266).f,s=r(474040),l=i((function(){o(1)}));n({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return o(a(e),t)}})},343378:(e,t,r)=>{var n=r(145630),i=r(474040),a=r(680049),o=r(109350),s=r(927266),l=r(641380);n({target:"Object",stat:!0,sham:!i},{getOwnPropertyDescriptors:function(e){for(var t,r,n=o(e),i=s.f,c=a(n),u={},p=0;c.length>p;)void 0!==(r=i(n,t=c[p++]))&&l(u,t,r);return u}})},4085:(e,t,r)=>{var n=r(145630),i=r(573012),a=r(701645).f;n({target:"Object",stat:!0,forced:i((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:a})},362499:(e,t,r)=>{var n=r(145630),i=r(573012),a=r(200856),o=r(490824),s=r(278287);n({target:"Object",stat:!0,forced:i((function(){o(1)})),sham:!s},{getPrototypeOf:function(e){return o(a(e))}})},808410:(e,t,r)=>{var n=r(145630),i=r(200856),a=r(174467);n({target:"Object",stat:!0,forced:r(573012)((function(){a(1)}))},{keys:function(e){return a(i(e))}})},361592:(e,t,r)=>{r(145630)({target:"Object",stat:!0},{setPrototypeOf:r(348946)})},573467:(e,t,r)=>{var n=r(128601),i=r(78083),a=r(750327);n||i(Object.prototype,"toString",a,{unsafe:!0})},653960:(e,t,r)=>{var n=r(145630),i=r(68232).values;n({target:"Object",stat:!0},{values:function(e){return i(e)}})},929216:(e,t,r)=>{var n=r(145630),i=r(997719);n({global:!0,forced:parseFloat!=i},{parseFloat:i})},340781:(e,t,r)=>{var n=r(145630),i=r(53520);n({global:!0,forced:parseInt!=i},{parseInt:i})},111519:(e,t,r)=>{"use strict";var n=r(145630),i=r(895240),a=r(131483),o=r(573012),s=r(840982),l=r(4413),c=r(424379),u=r(202139),p=r(78083);if(n({target:"Promise",proto:!0,real:!0,forced:!!a&&o((function(){a.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,s("Promise")),r=l(e);return this.then(r?function(r){return u(t,e()).then((function(){return r}))}:e,r?function(r){return u(t,e()).then((function(){throw r}))}:e)}}),!i&&l(a)){var d=s("Promise").prototype.finally;a.prototype.finally!==d&&p(a.prototype,"finally",d,{unsafe:!0})}},693508:(e,t,r)=>{"use strict";var n,i,a,o,s=r(145630),l=r(895240),c=r(233167),u=r(840982),p=r(211254),d=r(131483),m=r(78083),h=r(29235),v=r(348946),g=r(17589),f=r(804764),b=r(833593),y=r(4413),_=r(25327),w=r(814519),k=r(509411),Z=r(731208),x=r(44592),S=r(424379),$=r(848554).set,A=r(416351),C=r(202139),T=r(393452),P=r(173566),z=r(686380),E=r(122345),O=r(590718),I=r(719944),R=r(762081),j=r(495142),N=r(275827),D=r(162211),L=R("species"),M="Promise",B=O.getterFor(M),F=O.set,H=O.getterFor(M),U=d&&d.prototype,q=d,V=U,W=c.TypeError,J=c.document,G=c.process,K=P.f,Y=K,X=!!(J&&J.createEvent&&c.dispatchEvent),Q=y(c.PromiseRejectionEvent),ee="unhandledrejection",te=!1,re=I(M,(function(){var e=k(q),t=e!==String(q);if(!t&&66===D)return!0;if(l&&!V.finally)return!0;if(D>=51&&/native code/.test(e))return!1;var r=new q((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};return(r.constructor={})[L]=n,!(te=r.then((function(){}))instanceof n)||!t&&j&&!Q})),ne=re||!x((function(e){q.all(e).catch((function(){}))})),ie=function(e){var t;return!(!_(e)||!y(t=e.then))&&t},ae=function(e,t){var r,n,i,a=t.value,o=1==t.state,s=o?e.ok:e.fail,l=e.resolve,c=e.reject,u=e.domain;try{s?(o||(2===t.rejection&&ue(t),t.rejection=1),!0===s?r=a:(u&&u.enter(),r=s(a),u&&(u.exit(),i=!0)),r===e.promise?c(W("Promise-chain cycle")):(n=ie(r))?p(n,r,l,c):l(r)):c(a)}catch(e){u&&!i&&u.exit(),c(e)}},oe=function(e,t){e.notified||(e.notified=!0,A((function(){for(var r,n=e.reactions;r=n.get();)ae(r,e);e.notified=!1,t&&!e.rejection&&le(e)})))},se=function(e,t,r){var n,i;X?((n=J.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!Q&&(i=c["on"+e])?i(n):e===ee&&T("Unhandled promise rejection",r)},le=function(e){p($,c,(function(){var t,r=e.facade,n=e.value;if(ce(e)&&(t=z((function(){N?G.emit("unhandledRejection",n,r):se(ee,r,n)})),e.rejection=N||ce(e)?2:1,t.error))throw t.value}))},ce=function(e){return 1!==e.rejection&&!e.parent},ue=function(e){p($,c,(function(){var t=e.facade;N?G.emit("rejectionHandled",t):se("rejectionhandled",t,e.value)}))},pe=function(e,t,r){return function(n){e(t,n,r)}},de=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,oe(e,!0))},me=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw W("Promise can't be resolved itself");var n=ie(t);n?A((function(){var r={done:!1};try{p(n,t,pe(me,r,e),pe(de,r,e))}catch(t){de(r,t,e)}})):(e.value=t,e.state=1,oe(e,!1))}catch(t){de({done:!1},t,e)}}};if(re&&(V=(q=function(e){w(this,V),b(e),p(n,this);var t=B(this);try{e(pe(me,t),pe(de,t))}catch(e){de(t,e)}}).prototype,(n=function(e){F(this,{type:M,done:!1,notified:!1,parent:!1,reactions:new E,rejection:!1,state:0,value:void 0})}).prototype=h(V,{then:function(e,t){var r=H(this),n=K(S(this,q));return r.parent=!0,n.ok=!y(e)||e,n.fail=y(t)&&t,n.domain=N?G.domain:void 0,0==r.state?r.reactions.add(n):A((function(){ae(n,r)})),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n,t=B(e);this.promise=e,this.resolve=pe(me,t),this.reject=pe(de,t)},P.f=K=function(e){return e===q||e===a?new i(e):Y(e)},!l&&y(d)&&U!==Object.prototype)){o=U.then,te||(m(U,"then",(function(e,t){var r=this;return new q((function(e,t){p(o,r,e,t)})).then(e,t)}),{unsafe:!0}),m(U,"catch",V.catch,{unsafe:!0}));try{delete U.constructor}catch(e){}v&&v(U,V)}s({global:!0,wrap:!0,forced:re},{Promise:q}),g(q,M,!1,!0),f(M),a=u(M),s({target:M,stat:!0,forced:re},{reject:function(e){var t=K(this);return p(t.reject,void 0,e),t.promise}}),s({target:M,stat:!0,forced:l||re},{resolve:function(e){return C(l&&this===a?q:this,e)}}),s({target:M,stat:!0,forced:ne},{all:function(e){var t=this,r=K(t),n=r.resolve,i=r.reject,a=z((function(){var r=b(t.resolve),a=[],o=0,s=1;Z(e,(function(e){var l=o++,c=!1;s++,p(r,t,e).then((function(e){c||(c=!0,a[l]=e,--s||n(a))}),i)})),--s||n(a)}));return a.error&&i(a.value),r.promise},race:function(e){var t=this,r=K(t),n=r.reject,i=z((function(){var i=b(t.resolve);Z(e,(function(e){p(i,t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},119861:(e,t,r)=>{var n=r(474040),i=r(233167),a=r(903057),o=r(719944),s=r(950341),l=r(881303),c=r(846850).f,u=r(125071).f,p=r(921460),d=r(728188),m=r(993504),h=r(364646),v=r(114031),g=r(78083),f=r(573012),b=r(838263),y=r(590718).enforce,_=r(804764),w=r(762081),k=r(504170),Z=r(798565),x=w("match"),S=i.RegExp,$=S.prototype,A=i.SyntaxError,C=a(h),T=a($.exec),P=a("".charAt),z=a("".replace),E=a("".indexOf),O=a("".slice),I=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,R=/a/g,j=/a/g,N=new S(R)!==R,D=v.MISSED_STICKY,L=v.UNSUPPORTED_Y;if(o("RegExp",n&&(!N||D||k||Z||f((function(){return j[x]=!1,S(R)!=R||S(j)==j||"/a/i"!=S(R,"i")}))))){for(var M=function(e,t){var r,n,i,a,o,c,u=p($,this),h=d(e),v=void 0===t,g=[],f=e;if(!u&&h&&v&&e.constructor===M)return e;if((h||p($,e))&&(e=e.source,v&&(t="flags"in f?f.flags:C(f))),e=void 0===e?"":m(e),t=void 0===t?"":m(t),f=e,k&&"dotAll"in R&&(n=!!t&&E(t,"s")>-1)&&(t=z(t,/s/g,"")),r=t,D&&"sticky"in R&&(i=!!t&&E(t,"y")>-1)&&L&&(t=z(t,/y/g,"")),Z&&(a=function(e){for(var t,r=e.length,n=0,i="",a=[],o={},s=!1,l=!1,c=0,u="";n<=r;n++){if("\\"===(t=P(e,n)))t+=P(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:T(I,O(e,n+1))&&(n+=2,l=!0),i+=t,c++;continue;case">"===t&&l:if(""===u||b(o,u))throw new A("Invalid capture group name");o[u]=!0,a[a.length]=[u,c],l=!1,u="";continue}l?u+=t:i+=t}return[i,a]}(e),e=a[0],g=a[1]),o=s(S(e,t),u?this:$,M),(n||i||g.length)&&(c=y(o),n&&(c.dotAll=!0,c.raw=M(function(e){for(var t,r=e.length,n=0,i="",a=!1;n<=r;n++)"\\"!==(t=P(e,n))?a||"."!==t?("["===t?a=!0:"]"===t&&(a=!1),i+=t):i+="[\\s\\S]":i+=t+P(e,++n);return i}(e),r)),i&&(c.sticky=!0),g.length&&(c.groups=g)),e!==f)try{l(o,"source",""===f?"(?:)":f)}catch(e){}return o},B=function(e){e in M||c(M,e,{configurable:!0,get:function(){return S[e]},set:function(t){S[e]=t}})},F=u(S),H=0;F.length>H;)B(F[H++]);$.constructor=M,M.prototype=$,g(i,"RegExp",M)}_("RegExp")},978996:(e,t,r)=>{var n=r(233167),i=r(474040),a=r(504170),o=r(907937),s=r(846850).f,l=r(590718).get,c=RegExp.prototype,u=n.TypeError;i&&a&&s(c,"dotAll",{configurable:!0,get:function(){if(this!==c){if("RegExp"===o(this))return!!l(this).dotAll;throw u("Incompatible receiver, RegExp required")}}})},587621:(e,t,r)=>{"use strict";var n=r(145630),i=r(466422);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},200386:(e,t,r)=>{var n=r(474040),i=r(846850),a=r(364646),o=r(573012),s=RegExp.prototype;n&&o((function(){return"sy"!==Object.getOwnPropertyDescriptor(s,"flags").get.call({dotAll:!0,sticky:!0})}))&&i.f(s,"flags",{configurable:!0,get:a})},538941:(e,t,r)=>{var n=r(233167),i=r(474040),a=r(114031).MISSED_STICKY,o=r(907937),s=r(846850).f,l=r(590718).get,c=RegExp.prototype,u=n.TypeError;i&&a&&s(c,"sticky",{configurable:!0,get:function(){if(this!==c){if("RegExp"===o(this))return!!l(this).sticky;throw u("Incompatible receiver, RegExp required")}}})},308967:(e,t,r)=>{"use strict";r(587621);var n,i,a=r(145630),o=r(233167),s=r(211254),l=r(903057),c=r(4413),u=r(25327),p=(n=!1,(i=/[ac]/).exec=function(){return n=!0,/./.exec.apply(this,arguments)},!0===i.test("abc")&&n),d=o.Error,m=l(/./.test);a({target:"RegExp",proto:!0,forced:!p},{test:function(e){var t=this.exec;if(!c(t))return m(this,e);var r=s(t,this,e);if(null!==r&&!u(r))throw new d("RegExp exec method returned something other than an Object or null");return!!r}})},328614:(e,t,r)=>{"use strict";var n=r(903057),i=r(273145).PROPER,a=r(78083),o=r(52548),s=r(921460),l=r(993504),c=r(573012),u=r(364646),p="toString",d=RegExp.prototype,m=d.toString,h=n(u),v=c((function(){return"/a/b"!=m.call({source:"a",flags:"b"})})),g=i&&m.name!=p;(v||g)&&a(RegExp.prototype,p,(function(){var e=o(this),t=l(e.source),r=e.flags;return"/"+t+"/"+l(void 0===r&&s(d,e)&&!("flags"in d)?h(e):r)}),{unsafe:!0})},485143:(e,t,r)=>{"use strict";r(288354)("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r(802830))},19067:(e,t,r)=>{"use strict";var n=r(145630),i=r(903057),a=r(956991),o=r(847674),s=r(993504),l=r(573012),c=i("".charAt);n({target:"String",proto:!0,forced:l((function(){return"\ud842"!=="𠮷".at(-2)}))},{at:function(e){var t=s(a(this)),r=t.length,n=o(e),i=n>=0?n:r+n;return i<0||i>=r?void 0:c(t,i)}})},356803:(e,t,r)=>{"use strict";var n,i=r(145630),a=r(903057),o=r(927266).f,s=r(645750),l=r(993504),c=r(729113),u=r(956991),p=r(125733),d=r(895240),m=a("".endsWith),h=a("".slice),v=Math.min,g=p("endsWith");i({target:"String",proto:!0,forced:!(!d&&!g&&(n=o(String.prototype,"endsWith"),n&&!n.writable)||g)},{endsWith:function(e){var t=l(u(this));c(e);var r=arguments.length>1?arguments[1]:void 0,n=t.length,i=void 0===r?n:v(s(r),n),a=l(e);return m?m(t,a,i):h(t,i-a.length,i)===a}})},115884:(e,t,r)=>{"use strict";var n=r(145630),i=r(718181);n({target:"String",proto:!0,forced:r(713135)("fixed")},{fixed:function(){return i(this,"tt","","")}})},203454:(e,t,r)=>{"use strict";var n=r(145630),i=r(903057),a=r(729113),o=r(956991),s=r(993504),l=r(125733),c=i("".indexOf);n({target:"String",proto:!0,forced:!l("includes")},{includes:function(e){return!!~c(s(o(this)),s(a(e)),arguments.length>1?arguments[1]:void 0)}})},290671:(e,t,r)=>{"use strict";var n=r(498690).charAt,i=r(993504),a=r(590718),o=r(423354),s="String Iterator",l=a.set,c=a.getterFor(s);o(String,"String",(function(e){l(this,{type:s,string:i(e),index:0})}),(function(){var e,t=c(this),r=t.string,i=t.index;return i>=r.length?{value:void 0,done:!0}:(e=n(r,i),t.index+=e.length,{value:e,done:!1})}))},785226:(e,t,r)=>{"use strict";var n=r(145630),i=r(718181);n({target:"String",proto:!0,forced:r(713135)("link")},{link:function(e){return i(this,"a","href",e)}})},531072:(e,t,r)=>{"use strict";var n=r(211254),i=r(732294),a=r(52548),o=r(645750),s=r(993504),l=r(956991),c=r(240767),u=r(471733),p=r(766362);i("match",(function(e,t,r){return[function(t){var r=l(this),i=null==t?void 0:c(t,e);return i?n(i,t,r):new RegExp(t)[e](s(r))},function(e){var n=a(this),i=s(e),l=r(t,n,i);if(l.done)return l.value;if(!n.global)return p(n,i);var c=n.unicode;n.lastIndex=0;for(var d,m=[],h=0;null!==(d=p(n,i));){var v=s(d[0]);m[h]=v,""===v&&(n.lastIndex=u(i,o(n.lastIndex),c)),h++}return 0===h?null:m}]}))},132741:(e,t,r)=>{"use strict";var n=r(145630),i=r(968809).start;n({target:"String",proto:!0,forced:r(430628)},{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},359538:(e,t,r)=>{r(145630)({target:"String",proto:!0},{repeat:r(459977)})},558901:(e,t,r)=>{"use strict";var n=r(22583),i=r(211254),a=r(903057),o=r(732294),s=r(573012),l=r(52548),c=r(4413),u=r(847674),p=r(645750),d=r(993504),m=r(956991),h=r(471733),v=r(240767),g=r(95809),f=r(766362),b=r(762081)("replace"),y=Math.max,_=Math.min,w=a([].concat),k=a([].push),Z=a("".indexOf),x=a("".slice),S="$0"==="a".replace(/./,"$0"),$=!!/./[b]&&""===/./[b]("a","$0");o("replace",(function(e,t,r){var a=$?"$":"$0";return[function(e,r){var n=m(this),a=null==e?void 0:v(e,b);return a?i(a,e,n,r):i(t,d(n),e,r)},function(e,i){var o=l(this),s=d(e);if("string"==typeof i&&-1===Z(i,a)&&-1===Z(i,"$<")){var m=r(t,o,s,i);if(m.done)return m.value}var v=c(i);v||(i=d(i));var b=o.global;if(b){var S=o.unicode;o.lastIndex=0}for(var $=[];;){var A=f(o,s);if(null===A)break;if(k($,A),!b)break;""===d(A[0])&&(o.lastIndex=h(s,p(o.lastIndex),S))}for(var C,T="",P=0,z=0;z<$.length;z++){for(var E=d((A=$[z])[0]),O=y(_(u(A.index),s.length),0),I=[],R=1;R<A.length;R++)k(I,void 0===(C=A[R])?C:String(C));var j=A.groups;if(v){var N=w([E],I,O,s);void 0!==j&&k(N,j);var D=d(n(i,void 0,N))}else D=g(E,s,O,I,j,i);O>=P&&(T+=x(s,P,O)+D,P=O+E.length)}return T+x(s,P)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!S||$)},468316:(e,t,r)=>{"use strict";var n=r(211254),i=r(732294),a=r(52548),o=r(956991),s=r(46133),l=r(993504),c=r(240767),u=r(766362);i("search",(function(e,t,r){return[function(t){var r=o(this),i=null==t?void 0:c(t,e);return i?n(i,t,r):new RegExp(t)[e](l(r))},function(e){var n=a(this),i=l(e),o=r(t,n,i);if(o.done)return o.value;var c=n.lastIndex;s(c,0)||(n.lastIndex=0);var p=u(n,i);return s(n.lastIndex,c)||(n.lastIndex=c),null===p?-1:p.index}]}))},276839:(e,t,r)=>{"use strict";var n=r(22583),i=r(211254),a=r(903057),o=r(732294),s=r(728188),l=r(52548),c=r(956991),u=r(424379),p=r(471733),d=r(645750),m=r(993504),h=r(240767),v=r(294674),g=r(766362),f=r(466422),b=r(114031),y=r(573012),_=b.UNSUPPORTED_Y,w=4294967295,k=Math.min,Z=[].push,x=a(/./.exec),S=a(Z),$=a("".slice);o("split",(function(e,t,r){var a;return a="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var a=m(c(this)),o=void 0===r?w:r>>>0;if(0===o)return[];if(void 0===e)return[a];if(!s(e))return i(t,a,e,o);for(var l,u,p,d=[],h=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,b=new RegExp(e.source,h+"g");(l=i(f,b,a))&&!((u=b.lastIndex)>g&&(S(d,$(a,g,l.index)),l.length>1&&l.index<a.length&&n(Z,d,v(l,1)),p=l[0].length,g=u,d.length>=o));)b.lastIndex===l.index&&b.lastIndex++;return g===a.length?!p&&x(b,"")||S(d,""):S(d,$(a,g)),d.length>o?v(d,0,o):d}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:i(t,this,e,r)}:t,[function(t,r){var n=c(this),o=null==t?void 0:h(t,e);return o?i(o,t,n,r):i(a,m(n),t,r)},function(e,n){var i=l(this),o=m(e),s=r(a,i,o,n,a!==t);if(s.done)return s.value;var c=u(i,RegExp),h=i.unicode,v=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(_?"g":"y"),f=new c(_?"^(?:"+i.source+")":i,v),b=void 0===n?w:n>>>0;if(0===b)return[];if(0===o.length)return null===g(f,o)?[o]:[];for(var y=0,Z=0,x=[];Z<o.length;){f.lastIndex=_?0:Z;var A,C=g(f,_?$(o,Z):o);if(null===C||(A=k(d(f.lastIndex+(_?Z:0)),o.length))===y)Z=p(o,Z,h);else{if(S(x,$(o,y,Z)),x.length===b)return x;for(var T=1;T<=C.length-1;T++)if(S(x,C[T]),x.length===b)return x;Z=y=A}}return S(x,$(o,y)),x}]}),!!y((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]})),_)},735541:(e,t,r)=>{"use strict";var n,i=r(145630),a=r(903057),o=r(927266).f,s=r(645750),l=r(993504),c=r(729113),u=r(956991),p=r(125733),d=r(895240),m=a("".startsWith),h=a("".slice),v=Math.min,g=p("startsWith");i({target:"String",proto:!0,forced:!(!d&&!g&&(n=o(String.prototype,"startsWith"),n&&!n.writable)||g)},{startsWith:function(e){var t=l(u(this));c(e);var r=s(v(arguments.length>1?arguments[1]:void 0,t.length)),n=l(e);return m?m(t,n,r):h(t,r,r+n.length)===n}})},911022:(e,t,r)=>{"use strict";var n=r(145630),i=r(163934).end,a=r(463219)("trimEnd"),o=a?function(){return i(this)}:"".trimEnd;n({target:"String",proto:!0,name:"trimEnd",forced:a},{trimEnd:o,trimRight:o})},85053:(e,t,r)=>{"use strict";var n=r(145630),i=r(163934).start,a=r(463219)("trimStart"),o=a?function(){return i(this)}:"".trimStart;n({target:"String",proto:!0,name:"trimStart",forced:a},{trimStart:o,trimLeft:o})},468247:(e,t,r)=>{"use strict";var n=r(145630),i=r(163934).trim;n({target:"String",proto:!0,forced:r(463219)("trim")},{trim:function(){return i(this)}})},542543:(e,t,r)=>{"use strict";var n=r(145630),i=r(474040),a=r(233167),o=r(903057),s=r(838263),l=r(4413),c=r(921460),u=r(993504),p=r(846850).f,d=r(38372),m=a.Symbol,h=m&&m.prototype;if(i&&l(m)&&(!("description"in h)||void 0!==m().description)){var v={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),t=c(h,this)?new m(e):void 0===e?m():m(e);return""===e&&(v[t]=!0),t};d(g,m),g.prototype=h,h.constructor=g;var f="Symbol(test)"==String(m("test")),b=o(h.toString),y=o(h.valueOf),_=/^Symbol\((.*)\)[^)]+$/,w=o("".replace),k=o("".slice);p(h,"description",{configurable:!0,get:function(){var e=y(this),t=b(e);if(s(v,e))return"";var r=f?k(t,7,-1):w(t,_,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:g})}},135668:(e,t,r)=>{r(174156)("iterator")},322511:(e,t,r)=>{"use strict";var n=r(145630),i=r(233167),a=r(840982),o=r(22583),s=r(211254),l=r(903057),c=r(895240),u=r(474040),p=r(359640),d=r(573012),m=r(838263),h=r(891195),v=r(4413),g=r(25327),f=r(921460),b=r(513462),y=r(52548),_=r(200856),w=r(109350),k=r(351899),Z=r(993504),x=r(319493),S=r(132693),$=r(174467),A=r(125071),C=r(701645),T=r(393119),P=r(927266),z=r(846850),E=r(295161),O=r(356350),I=r(883350),R=r(78083),j=r(683731),N=r(990067),D=r(33582),L=r(775563),M=r(762081),B=r(171392),F=r(174156),H=r(17589),U=r(590718),q=r(117390).forEach,V=N("hidden"),W="Symbol",J=M("toPrimitive"),G=U.set,K=U.getterFor(W),Y=Object.prototype,X=i.Symbol,Q=X&&X.prototype,ee=i.TypeError,te=i.QObject,re=a("JSON","stringify"),ne=P.f,ie=z.f,ae=C.f,oe=O.f,se=l([].push),le=j("symbols"),ce=j("op-symbols"),ue=j("string-to-symbol-registry"),pe=j("symbol-to-string-registry"),de=j("wks"),me=!te||!te.prototype||!te.prototype.findChild,he=u&&d((function(){return 7!=S(ie({},"a",{get:function(){return ie(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=ne(Y,t);n&&delete Y[t],ie(e,t,r),n&&e!==Y&&ie(Y,t,n)}:ie,ve=function(e,t){var r=le[e]=S(Q);return G(r,{type:W,tag:e,description:t}),u||(r.description=t),r},ge=function(e,t,r){e===Y&&ge(ce,t,r),y(e);var n=k(t);return y(r),m(le,n)?(r.enumerable?(m(e,V)&&e[V][n]&&(e[V][n]=!1),r=S(r,{enumerable:x(0,!1)})):(m(e,V)||ie(e,V,x(1,{})),e[V][n]=!0),he(e,n,r)):ie(e,n,r)},fe=function(e,t){y(e);var r=w(t),n=$(r).concat(we(r));return q(n,(function(t){u&&!s(be,r,t)||ge(e,t,r[t])})),e},be=function(e){var t=k(e),r=s(oe,this,t);return!(this===Y&&m(le,t)&&!m(ce,t))&&(!(r||!m(this,t)||!m(le,t)||m(this,V)&&this[V][t])||r)},ye=function(e,t){var r=w(e),n=k(t);if(r!==Y||!m(le,n)||m(ce,n)){var i=ne(r,n);return!i||!m(le,n)||m(r,V)&&r[V][n]||(i.enumerable=!0),i}},_e=function(e){var t=ae(w(e)),r=[];return q(t,(function(e){m(le,e)||m(D,e)||se(r,e)})),r},we=function(e){var t=e===Y,r=ae(t?ce:w(e)),n=[];return q(r,(function(e){!m(le,e)||t&&!m(Y,e)||se(n,le[e])})),n};if(p||(R(Q=(X=function(){if(f(Q,this))throw ee("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?Z(arguments[0]):void 0,t=L(e),r=function(e){this===Y&&s(r,ce,e),m(this,V)&&m(this[V],t)&&(this[V][t]=!1),he(this,t,x(1,e))};return u&&me&&he(Y,t,{configurable:!0,set:r}),ve(t,e)}).prototype,"toString",(function(){return K(this).tag})),R(X,"withoutSetter",(function(e){return ve(L(e),e)})),O.f=be,z.f=ge,E.f=fe,P.f=ye,A.f=C.f=_e,T.f=we,B.f=function(e){return ve(M(e),e)},u&&(ie(Q,"description",{configurable:!0,get:function(){return K(this).description}}),c||R(Y,"propertyIsEnumerable",be,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!p,sham:!p},{Symbol:X}),q($(de),(function(e){F(e)})),n({target:W,stat:!0,forced:!p},{for:function(e){var t=Z(e);if(m(ue,t))return ue[t];var r=X(t);return ue[t]=r,pe[r]=t,r},keyFor:function(e){if(!b(e))throw ee(e+" is not a symbol");if(m(pe,e))return pe[e]},useSetter:function(){me=!0},useSimple:function(){me=!1}}),n({target:"Object",stat:!0,forced:!p,sham:!u},{create:function(e,t){return void 0===t?S(e):fe(S(e),t)},defineProperty:ge,defineProperties:fe,getOwnPropertyDescriptor:ye}),n({target:"Object",stat:!0,forced:!p},{getOwnPropertyNames:_e,getOwnPropertySymbols:we}),n({target:"Object",stat:!0,forced:d((function(){T.f(1)}))},{getOwnPropertySymbols:function(e){return T.f(_(e))}}),re&&n({target:"JSON",stat:!0,forced:!p||d((function(){var e=X();return"[null]"!=re([e])||"{}"!=re({a:e})||"{}"!=re(Object(e))}))},{stringify:function(e,t,r){var n=I(arguments),i=t;if((g(t)||void 0!==e)&&!b(e))return h(t)||(t=function(e,t){if(v(i)&&(t=s(i,this,e,t)),!b(t))return t}),n[1]=t,o(re,null,n)}}),!Q[J]){var ke=Q.valueOf;R(Q,J,(function(e){return s(ke,this)}))}H(X,W),D[V]=!0},595249:(e,t,r)=>{"use strict";var n=r(919944),i=r(427830),a=r(847674),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("at",(function(e){var t=o(this),r=i(t),n=a(e),s=n>=0?n:r+n;return s<0||s>=r?void 0:t[s]}))},185466:(e,t,r)=>{"use strict";var n=r(903057),i=r(919944),a=n(r(691034)),o=i.aTypedArray;(0,i.exportTypedArrayMethod)("copyWithin",(function(e,t){return a(o(this),e,t,arguments.length>2?arguments[2]:void 0)}))},370843:(e,t,r)=>{"use strict";var n=r(919944),i=r(117390).every,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("every",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},961626:(e,t,r)=>{"use strict";var n=r(919944),i=r(211254),a=r(738589),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("fill",(function(e){var t=arguments.length;return i(a,o(this),e,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}))},897995:(e,t,r)=>{"use strict";var n=r(919944),i=r(117390).filter,a=r(808192),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("filter",(function(e){var t=i(o(this),e,arguments.length>1?arguments[1]:void 0);return a(this,t)}))},725676:(e,t,r)=>{"use strict";var n=r(919944),i=r(117390).findIndex,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findIndex",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},518926:(e,t,r)=>{"use strict";var n=r(919944),i=r(117390).find,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("find",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},343055:(e,t,r)=>{r(496315)("Float32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},769900:(e,t,r)=>{r(496315)("Float64",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},81738:(e,t,r)=>{"use strict";var n=r(919944),i=r(117390).forEach,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("forEach",(function(e){i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},479959:(e,t,r)=>{"use strict";var n=r(919944),i=r(69595).includes,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("includes",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},879587:(e,t,r)=>{"use strict";var n=r(919944),i=r(69595).indexOf,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("indexOf",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},229994:(e,t,r)=>{r(496315)("Int16",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},839810:(e,t,r)=>{r(496315)("Int32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},436206:(e,t,r)=>{r(496315)("Int8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},353478:(e,t,r)=>{"use strict";var n=r(233167),i=r(573012),a=r(903057),o=r(919944),s=r(816221),l=r(762081)("iterator"),c=n.Uint8Array,u=a(s.values),p=a(s.keys),d=a(s.entries),m=o.aTypedArray,h=o.exportTypedArrayMethod,v=c&&c.prototype,g=!i((function(){v[l].call([1])})),f=!!v&&v.values&&v[l]===v.values&&"values"===v.values.name,b=function(){return u(m(this))};h("entries",(function(){return d(m(this))}),g),h("keys",(function(){return p(m(this))}),g),h("values",b,g||!f,{name:"values"}),h(l,b,g||!f,{name:"values"})},643300:(e,t,r)=>{"use strict";var n=r(919944),i=r(903057),a=n.aTypedArray,o=n.exportTypedArrayMethod,s=i([].join);o("join",(function(e){return s(a(this),e)}))},363242:(e,t,r)=>{"use strict";var n=r(919944),i=r(22583),a=r(789776),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("lastIndexOf",(function(e){var t=arguments.length;return i(a,o(this),t>1?[e,arguments[1]]:[e])}))},911895:(e,t,r)=>{"use strict";var n=r(919944),i=r(117390).map,a=r(623458),o=n.aTypedArray;(0,n.exportTypedArrayMethod)("map",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(a(e))(t)}))}))},792647:(e,t,r)=>{"use strict";var n=r(919944),i=r(284700).right,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduceRight",(function(e){var t=arguments.length;return i(a(this),e,t,t>1?arguments[1]:void 0)}))},301207:(e,t,r)=>{"use strict";var n=r(919944),i=r(284700).left,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("reduce",(function(e){var t=arguments.length;return i(a(this),e,t,t>1?arguments[1]:void 0)}))},879104:(e,t,r)=>{"use strict";var n=r(919944),i=n.aTypedArray,a=n.exportTypedArrayMethod,o=Math.floor;a("reverse",(function(){for(var e,t=this,r=i(t).length,n=o(r/2),a=0;a<n;)e=t[a],t[a++]=t[--r],t[r]=e;return t}))},497814:(e,t,r)=>{"use strict";var n=r(233167),i=r(211254),a=r(919944),o=r(427830),s=r(483578),l=r(200856),c=r(573012),u=n.RangeError,p=n.Int8Array,d=p&&p.prototype,m=d&&d.set,h=a.aTypedArray,v=a.exportTypedArrayMethod,g=!c((function(){var e=new Uint8ClampedArray(2);return i(m,e,{length:1,0:3},1),3!==e[1]})),f=g&&a.NATIVE_ARRAY_BUFFER_VIEWS&&c((function(){var e=new p(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));v("set",(function(e){h(this);var t=s(arguments.length>1?arguments[1]:void 0,1),r=l(e);if(g)return i(m,this,r,t);var n=this.length,a=o(r),c=0;if(a+t>n)throw u("Wrong length");for(;c<a;)this[t+c]=r[c++]}),!g||f)},78019:(e,t,r)=>{"use strict";var n=r(919944),i=r(623458),a=r(573012),o=r(883350),s=n.aTypedArray;(0,n.exportTypedArrayMethod)("slice",(function(e,t){for(var r=o(s(this),e,t),n=i(this),a=0,l=r.length,c=new n(l);l>a;)c[a]=r[a++];return c}),a((function(){new Int8Array(1).slice()})))},474646:(e,t,r)=>{"use strict";var n=r(919944),i=r(117390).some,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("some",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},28227:(e,t,r)=>{"use strict";var n=r(233167),i=r(903057),a=r(573012),o=r(833593),s=r(432031),l=r(919944),c=r(747804),u=r(209254),p=r(162211),d=r(179859),m=n.Array,h=l.aTypedArray,v=l.exportTypedArrayMethod,g=n.Uint16Array,f=g&&i(g.prototype.sort),b=!(!f||a((function(){f(new g(2),null)}))&&a((function(){f(new g(2),{})}))),y=!!f&&!a((function(){if(p)return p<74;if(c)return c<67;if(u)return!0;if(d)return d<602;var e,t,r=new g(516),n=m(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(f(r,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(r[e]!==n[e])return!0}));v("sort",(function(e){return void 0!==e&&o(e),y?f(this,e):s(h(this),function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!=r?-1:t!=t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r}}(e))}),!y||b)},420879:(e,t,r)=>{"use strict";var n=r(919944),i=r(645750),a=r(321416),o=r(623458),s=n.aTypedArray;(0,n.exportTypedArrayMethod)("subarray",(function(e,t){var r=s(this),n=r.length,l=a(e,n);return new(o(r))(r.buffer,r.byteOffset+l*r.BYTES_PER_ELEMENT,i((void 0===t?n:a(t,n))-l))}))},680851:(e,t,r)=>{"use strict";var n=r(233167),i=r(22583),a=r(919944),o=r(573012),s=r(883350),l=n.Int8Array,c=a.aTypedArray,u=a.exportTypedArrayMethod,p=[].toLocaleString,d=!!l&&o((function(){p.call(new l(1))}));u("toLocaleString",(function(){return i(p,d?s(c(this)):c(this),s(arguments))}),o((function(){return[1,2].toLocaleString()!=new l([1,2]).toLocaleString()}))||!o((function(){l.prototype.toLocaleString.call([1,2])})))},725637:(e,t,r)=>{"use strict";var n=r(919944).exportTypedArrayMethod,i=r(573012),a=r(233167),o=r(903057),s=a.Uint8Array,l=s&&s.prototype||{},c=[].toString,u=o([].join);i((function(){c.call({})}))&&(c=function(){return u(this)});var p=l.toString!=c;n("toString",c,p)},34757:(e,t,r)=>{r(496315)("Uint16",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},402308:(e,t,r)=>{r(496315)("Uint32",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},784425:(e,t,r)=>{r(496315)("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},327744:(e,t,r)=>{r(496315)("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}),!0)},659153:(e,t,r)=>{"use strict";var n,i=r(233167),a=r(903057),o=r(29235),s=r(542862),l=r(288354),c=r(144039),u=r(25327),p=r(608853),d=r(590718).enforce,m=r(642046),h=!i.ActiveXObject&&"ActiveXObject"in i,v=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},g=l("WeakMap",v,c);if(m&&h){n=c.getConstructor(v,"WeakMap",!0),s.enable();var f=g.prototype,b=a(f.delete),y=a(f.has),_=a(f.get),w=a(f.set);o(f,{delete:function(e){if(u(e)&&!p(e)){var t=d(this);return t.frozen||(t.frozen=new n),b(this,e)||t.frozen.delete(e)}return b(this,e)},has:function(e){if(u(e)&&!p(e)){var t=d(this);return t.frozen||(t.frozen=new n),y(this,e)||t.frozen.has(e)}return y(this,e)},get:function(e){if(u(e)&&!p(e)){var t=d(this);return t.frozen||(t.frozen=new n),y(this,e)?_(this,e):t.frozen.get(e)}return _(this,e)},set:function(e,t){if(u(e)&&!p(e)){var r=d(this);r.frozen||(r.frozen=new n),y(this,e)?w(this,e,t):r.frozen.set(e,t)}else w(this,e,t);return this}})}},169513:(e,t,r)=>{"use strict";var n=r(919944),i=r(575751).findLastIndex,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLastIndex",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},686862:(e,t,r)=>{"use strict";var n=r(919944),i=r(575751).findLast,a=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLast",(function(e){return i(a(this),e,arguments.length>1?arguments[1]:void 0)}))},993224:(e,t,r)=>{"use strict";var n=r(980202),i=r(919944),a=i.aTypedArray,o=i.exportTypedArrayMethod,s=i.TYPED_ARRAY_CONSTRUCTOR;o("toReversed",(function(){return n(a(this),this[s])}),!0)},604542:(e,t,r)=>{"use strict";var n=r(919944),i=r(903057),a=r(833593),o=r(17442),s=n.aTypedArray,l=n.exportTypedArrayMethod,c=n.TYPED_ARRAY_CONSTRUCTOR,u=i(n.TypedArrayPrototype.sort);l("toSorted",(function(e){void 0!==e&&a(e);var t=s(this),r=o(t[c],t);return u(r,e)}),!0)},292381:(e,t,r)=>{"use strict";var n=r(77065),i=r(919944),a=i.aTypedArray,o=i.exportTypedArrayMethod,s=i.TYPED_ARRAY_CONSTRUCTOR;o("with",{with:function(e,t){return n(a(this),this[s],e,t)}}.with,!0)},518116:(e,t,r)=>{var n=r(145630),i=r(840982),a=r(903057),o=r(573012),s=r(993504),l=r(838263),c=r(541397),u=r(380513).ctoi,p=/[^\d+/a-z]/i,d=/[\t\n\f\r ]+/g,m=/[=]+$/,h=i("atob"),v=String.fromCharCode,g=a("".charAt),f=a("".replace),b=a(p.exec),y=o((function(){return""!==atob(" ")})),_=!y&&!o((function(){h()}));n({global:!0,enumerable:!0,forced:y||_},{atob:function(e){if(c(arguments.length,1),_)return h(e);var t,r,n=f(s(e),d,""),a="",o=0,y=0;if(n.length%4==0&&(n=f(n,m,"")),n.length%4==1||b(p,n))throw new(i("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;t=g(n,o++);)l(u,t)&&(r=y%4?64*r+u[t]:u[t],y++%4&&(a+=v(255&r>>(-2*y&6))));return a}})},972839:(e,t,r)=>{var n=r(145630),i=r(840982),a=r(903057),o=r(573012),s=r(993504),l=r(541397),c=r(380513).itoc,u=i("btoa"),p=a("".charAt),d=a("".charCodeAt),m=!!u&&!o((function(){u()}));n({global:!0,enumerable:!0,forced:m},{btoa:function(e){if(l(arguments.length,1),m)return u(e);for(var t,r,n=s(e),a="",o=0,h=c;p(n,o)||(h="=",o%1);){if((r=d(n,o+=3/4))>255)throw new(i("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");a+=p(h,63&(t=t<<8|r)>>8-o%1*8)}return a}})},508460:(e,t,r)=>{var n=r(233167),i=r(533114),a=r(174274),o=r(526729),s=r(881303),l=function(e){if(e&&e.forEach!==o)try{s(e,"forEach",o)}catch(t){e.forEach=o}};for(var c in i)i[c]&&l(n[c]&&n[c].prototype);l(a)},17938:(e,t,r)=>{var n=r(233167),i=r(533114),a=r(174274),o=r(816221),s=r(881303),l=r(762081),c=l("iterator"),u=l("toStringTag"),p=o.values,d=function(e,t){if(e){if(e[c]!==p)try{s(e,c,p)}catch(t){e[c]=p}if(e[u]||s(e,u,t),i[t])for(var r in o)if(e[r]!==o[r])try{s(e,r,o[r])}catch(t){e[r]=o[r]}}};for(var m in i)d(n[m]&&n[m].prototype,m);d(a,"DOMTokenList")},488822:(e,t,r)=>{"use strict";var n=r(145630),i=r(780281),a=r(840982),o=r(573012),s=r(132693),l=r(319493),c=r(846850).f,u=r(295161).f,p=r(78083),d=r(838263),m=r(814519),h=r(52548),v=r(470499),g=r(403822),f=r(363652),b=r(692203),y=r(590718),_=r(474040),w=r(895240),k="DOMException",Z=a("Error"),x=a(k)||function(){try{(new(a("MessageChannel")||i("worker_threads").MessageChannel)).port1.postMessage(new WeakMap)}catch(e){if("DATA_CLONE_ERR"==e.name&&25==e.code)return e.constructor}}(),S=x&&x.prototype,$=Z.prototype,A=y.set,C=y.getterFor(k),T="stack"in Z(k),P=function(e){return d(f,e)&&f[e].m?f[e].c:0},z=function(){m(this,E);var e=arguments.length,t=g(e<1?void 0:arguments[0]),r=g(e<2?void 0:arguments[1],"Error"),n=P(r);if(A(this,{type:k,name:r,message:t,code:n}),_||(this.name=r,this.message=t,this.code=n),T){var i=Z(t);i.name=k,c(this,"stack",l(1,b(i.stack,1)))}},E=z.prototype=s($),O=function(e){return{enumerable:!0,configurable:!0,get:e}},I=function(e){return O((function(){return C(this)[e]}))};_&&u(E,{name:I("name"),message:I("message"),code:I("code")}),c(E,"constructor",l(1,z));var R=o((function(){return!(new x instanceof Z)})),j=R||o((function(){return $.toString!==v||"2: 1"!==String(new x(1,2))})),N=R||o((function(){return 25!==new x(1,"DataCloneError").code})),D=R||25!==x.DATA_CLONE_ERR||25!==S.DATA_CLONE_ERR,L=w?j||N||D:R;n({global:!0,forced:L},{DOMException:L?z:x});var M=a(k),B=M.prototype;for(var F in j&&(w||x===M)&&p(B,"toString",v),N&&_&&x===M&&c(B,"code",O((function(){return P(h(this).name)}))),f)if(d(f,F)){var H=f[F],U=H.s,q=l(6,H.c);d(M,U)||c(M,U,q),d(B,U)||c(B,U,q)}},635397:(e,t,r)=>{"use strict";var n=r(145630),i=r(840982),a=r(319493),o=r(846850).f,s=r(838263),l=r(814519),c=r(950341),u=r(403822),p=r(363652),d=r(692203),m=r(895240),h="DOMException",v=i("Error"),g=i(h),f=function(){l(this,b);var e=arguments.length,t=u(e<1?void 0:arguments[0]),r=u(e<2?void 0:arguments[1],"Error"),n=new g(t,r),i=v(t);return i.name=h,o(n,"stack",a(1,d(i.stack,1))),c(n,this,f),n},b=f.prototype=g.prototype,y="stack"in v(h),_="stack"in new g(1,2),w=y&&!_;n({global:!0,forced:m||w},{DOMException:w?f:g});var k=i(h),Z=k.prototype;if(Z.constructor!==k)for(var x in m||o(Z,"constructor",a(1,k)),p)if(s(p,x)){var S=p[x],$=S.s;s(k,$)||o(k,$,a(6,S.c))}},567791:(e,t,r)=>{var n=r(840982),i="DOMException";r(17589)(n(i),i)},108882:(e,t,r)=>{"use strict";r(816221);var n=r(145630),i=r(233167),a=r(840982),o=r(211254),s=r(903057),l=r(822033),c=r(78083),u=r(29235),p=r(17589),d=r(463061),m=r(590718),h=r(814519),v=r(4413),g=r(838263),f=r(787083),b=r(936340),y=r(52548),_=r(25327),w=r(993504),k=r(132693),Z=r(319493),x=r(993216),S=r(533404),$=r(541397),A=r(762081),C=r(432031),T=A("iterator"),P="URLSearchParams",z="URLSearchParamsIterator",E=m.set,O=m.getterFor(P),I=m.getterFor(z),R=a("fetch"),j=a("Request"),N=a("Headers"),D=j&&j.prototype,L=N&&N.prototype,M=i.RegExp,B=i.TypeError,F=i.decodeURIComponent,H=i.encodeURIComponent,U=s("".charAt),q=s([].join),V=s([].push),W=s("".replace),J=s([].shift),G=s([].splice),K=s("".split),Y=s("".slice),X=/\+/g,Q=Array(4),ee=function(e){return Q[e-1]||(Q[e-1]=M("((?:%[\\da-f]{2}){"+e+"})","gi"))},te=function(e){try{return F(e)}catch(t){return e}},re=function(e){var t=W(e,X," "),r=4;try{return F(t)}catch(e){for(;r;)t=W(t,ee(r--),te);return t}},ne=/[!'()~]|%20/g,ie={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},ae=function(e){return ie[e]},oe=function(e){return W(H(e),ne,ae)},se=d((function(e,t){E(this,{type:z,iterator:x(O(e).entries),kind:t})}),"Iterator",(function(){var e=I(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r}),!0),le=function(e){this.entries=[],this.url=null,void 0!==e&&(_(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===U(e,0)?Y(e,1):e:w(e)))};le.prototype={type:P,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,i,a,s,l,c=S(e);if(c)for(r=(t=x(e,c)).next;!(n=o(r,t)).done;){if(a=(i=x(y(n.value))).next,(s=o(a,i)).done||(l=o(a,i)).done||!o(a,i).done)throw B("Expected sequence with length 2");V(this.entries,{key:w(s.value),value:w(l.value)})}else for(var u in e)g(e,u)&&V(this.entries,{key:u,value:w(e[u])})},parseQuery:function(e){if(e)for(var t,r,n=K(e,"&"),i=0;i<n.length;)(t=n[i++]).length&&(r=K(t,"="),V(this.entries,{key:re(J(r)),value:re(q(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],V(r,oe(e.key)+"="+oe(e.value));return q(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ce=function(){h(this,ue),E(this,new le(arguments.length>0?arguments[0]:void 0))},ue=ce.prototype;if(u(ue,{append:function(e,t){$(arguments.length,2);var r=O(this);V(r.entries,{key:w(e),value:w(t)}),r.updateURL()},delete:function(e){$(arguments.length,1);for(var t=O(this),r=t.entries,n=w(e),i=0;i<r.length;)r[i].key===n?G(r,i,1):i++;t.updateURL()},get:function(e){$(arguments.length,1);for(var t=O(this).entries,r=w(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){$(arguments.length,1);for(var t=O(this).entries,r=w(e),n=[],i=0;i<t.length;i++)t[i].key===r&&V(n,t[i].value);return n},has:function(e){$(arguments.length,1);for(var t=O(this).entries,r=w(e),n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){$(arguments.length,1);for(var r,n=O(this),i=n.entries,a=!1,o=w(e),s=w(t),l=0;l<i.length;l++)(r=i[l]).key===o&&(a?G(i,l--,1):(a=!0,r.value=s));a||V(i,{key:o,value:s}),n.updateURL()},sort:function(){var e=O(this);C(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=O(this).entries,n=f(e,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new se(this,"keys")},values:function(){return new se(this,"values")},entries:function(){return new se(this,"entries")}},{enumerable:!0}),c(ue,T,ue.entries,{name:"entries"}),c(ue,"toString",(function(){return O(this).serialize()}),{enumerable:!0}),p(ce,P),n({global:!0,forced:!l},{URLSearchParams:ce}),!l&&v(N)){var pe=s(L.has),de=s(L.set),me=function(e){if(_(e)){var t,r=e.body;if(b(r)===P)return t=e.headers?new N(e.headers):new N,pe(t,"content-type")||de(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),k(e,{body:Z(0,w(r)),headers:Z(0,t)})}return e};if(v(R)&&n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return R(e,arguments.length>1?me(arguments[1]):{})}}),v(j)){var he=function(e){return h(this,D),new j(e,arguments.length>1?me(arguments[1]):{})};D.constructor=he,he.prototype=D,n({global:!0,forced:!0},{Request:he})}}e.exports={URLSearchParams:ce,getState:O}},990665:(e,t,r)=>{"use strict";r(290671);var n,i=r(145630),a=r(474040),o=r(822033),s=r(233167),l=r(787083),c=r(903057),u=r(295161).f,p=r(78083),d=r(814519),m=r(838263),h=r(582289),v=r(205556),g=r(294674),f=r(498690).codeAt,b=r(898137),y=r(993504),_=r(17589),w=r(541397),k=r(108882),Z=r(590718),x=Z.set,S=Z.getterFor("URL"),$=k.URLSearchParams,A=k.getState,C=s.URL,T=s.TypeError,P=s.parseInt,z=Math.floor,E=Math.pow,O=c("".charAt),I=c(/./.exec),R=c([].join),j=c(1..toString),N=c([].pop),D=c([].push),L=c("".replace),M=c([].shift),B=c("".split),F=c("".slice),H=c("".toLowerCase),U=c([].unshift),q="Invalid scheme",V="Invalid host",W="Invalid port",J=/[a-z]/i,G=/[\d+-.a-z]/i,K=/\d/,Y=/^0x/i,X=/^[0-7]+$/,Q=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,re=/[\0\t\n\r #/:<>?@[\\\]^|]/,ne=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,ie=/[\t\n\r]/g,ae=function(e){var t,r,n,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)U(t,e%256),e=z(e/256);return R(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,i=0,a=0;a<8;a++)0!==e[a]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=a),++i);return i>r&&(t=n,r=i),t}(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=j(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},oe={},se=h({},oe,{" ":1,'"':1,"<":1,">":1,"`":1}),le=h({},se,{"#":1,"?":1,"{":1,"}":1}),ce=h({},le,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ue=function(e,t){var r=f(e,0);return r>32&&r<127&&!m(t,e)?e:encodeURIComponent(e)},pe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},de=function(e,t){var r;return 2==e.length&&I(J,O(e,0))&&(":"==(r=O(e,1))||!t&&"|"==r)},me=function(e){var t;return e.length>1&&de(F(e,0,2))&&(2==e.length||"/"===(t=O(e,2))||"\\"===t||"?"===t||"#"===t)},he=function(e){return"."===e||"%2e"===H(e)},ve={},ge={},fe={},be={},ye={},_e={},we={},ke={},Ze={},xe={},Se={},$e={},Ae={},Ce={},Te={},Pe={},ze={},Ee={},Oe={},Ie={},Re={},je=function(e,t,r){var n,i,a,o=y(e);if(t){if(i=this.parse(o))throw T(i);this.searchParams=null}else{if(void 0!==r&&(n=new je(r,!0)),i=this.parse(o,null,n))throw T(i);(a=A(new $)).bindURL(this),this.searchParams=a}};je.prototype={type:"URL",parse:function(e,t,r){var i,a,o,s,l,c=this,u=t||ve,p=0,d="",h=!1,f=!1,b=!1;for(e=y(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=L(e,ne,"")),e=L(e,ie,""),i=v(e);p<=i.length;){switch(a=i[p],u){case ve:if(!a||!I(J,a)){if(t)return q;u=fe;continue}d+=H(a),u=ge;break;case ge:if(a&&(I(G,a)||"+"==a||"-"==a||"."==a))d+=H(a);else{if(":"!=a){if(t)return q;d="",u=fe,p=0;continue}if(t&&(c.isSpecial()!=m(pe,d)||"file"==d&&(c.includesCredentials()||null!==c.port)||"file"==c.scheme&&!c.host))return;if(c.scheme=d,t)return void(c.isSpecial()&&pe[c.scheme]==c.port&&(c.port=null));d="","file"==c.scheme?u=Ce:c.isSpecial()&&r&&r.scheme==c.scheme?u=be:c.isSpecial()?u=ke:"/"==i[p+1]?(u=ye,p++):(c.cannotBeABaseURL=!0,D(c.path,""),u=Oe)}break;case fe:if(!r||r.cannotBeABaseURL&&"#"!=a)return q;if(r.cannotBeABaseURL&&"#"==a){c.scheme=r.scheme,c.path=g(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,u=Re;break}u="file"==r.scheme?Ce:_e;continue;case be:if("/"!=a||"/"!=i[p+1]){u=_e;continue}u=Ze,p++;break;case ye:if("/"==a){u=xe;break}u=Ee;continue;case _e:if(c.scheme=r.scheme,a==n)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.query=r.query;else if("/"==a||"\\"==a&&c.isSpecial())u=we;else if("?"==a)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.query="",u=Ie;else{if("#"!=a){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.path.length--,u=Ee;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=g(r.path),c.query=r.query,c.fragment="",u=Re}break;case we:if(!c.isSpecial()||"/"!=a&&"\\"!=a){if("/"!=a){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,u=Ee;continue}u=xe}else u=Ze;break;case ke:if(u=Ze,"/"!=a||"/"!=O(d,p+1))continue;p++;break;case Ze:if("/"!=a&&"\\"!=a){u=xe;continue}break;case xe:if("@"==a){h&&(d="%40"+d),h=!0,o=v(d);for(var _=0;_<o.length;_++){var w=o[_];if(":"!=w||b){var k=ue(w,ce);b?c.password+=k:c.username+=k}else b=!0}d=""}else if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&c.isSpecial()){if(h&&""==d)return"Invalid authority";p-=v(d).length+1,d="",u=Se}else d+=a;break;case Se:case $e:if(t&&"file"==c.scheme){u=Pe;continue}if(":"!=a||f){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&c.isSpecial()){if(c.isSpecial()&&""==d)return V;if(t&&""==d&&(c.includesCredentials()||null!==c.port))return;if(s=c.parseHost(d))return s;if(d="",u=ze,t)return;continue}"["==a?f=!0:"]"==a&&(f=!1),d+=a}else{if(""==d)return V;if(s=c.parseHost(d))return s;if(d="",u=Ae,t==$e)return}break;case Ae:if(!I(K,a)){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&c.isSpecial()||t){if(""!=d){var Z=P(d,10);if(Z>65535)return W;c.port=c.isSpecial()&&Z===pe[c.scheme]?null:Z,d=""}if(t)return;u=ze;continue}return W}d+=a;break;case Ce:if(c.scheme="file","/"==a||"\\"==a)u=Te;else{if(!r||"file"!=r.scheme){u=Ee;continue}if(a==n)c.host=r.host,c.path=g(r.path),c.query=r.query;else if("?"==a)c.host=r.host,c.path=g(r.path),c.query="",u=Ie;else{if("#"!=a){me(R(g(i,p),""))||(c.host=r.host,c.path=g(r.path),c.shortenPath()),u=Ee;continue}c.host=r.host,c.path=g(r.path),c.query=r.query,c.fragment="",u=Re}}break;case Te:if("/"==a||"\\"==a){u=Pe;break}r&&"file"==r.scheme&&!me(R(g(i,p),""))&&(de(r.path[0],!0)?D(c.path,r.path[0]):c.host=r.host),u=Ee;continue;case Pe:if(a==n||"/"==a||"\\"==a||"?"==a||"#"==a){if(!t&&de(d))u=Ee;else if(""==d){if(c.host="",t)return;u=ze}else{if(s=c.parseHost(d))return s;if("localhost"==c.host&&(c.host=""),t)return;d="",u=ze}continue}d+=a;break;case ze:if(c.isSpecial()){if(u=Ee,"/"!=a&&"\\"!=a)continue}else if(t||"?"!=a)if(t||"#"!=a){if(a!=n&&(u=Ee,"/"!=a))continue}else c.fragment="",u=Re;else c.query="",u=Ie;break;case Ee:if(a==n||"/"==a||"\\"==a&&c.isSpecial()||!t&&("?"==a||"#"==a)){if(".."===(l=H(l=d))||"%2e."===l||".%2e"===l||"%2e%2e"===l?(c.shortenPath(),"/"==a||"\\"==a&&c.isSpecial()||D(c.path,"")):he(d)?"/"==a||"\\"==a&&c.isSpecial()||D(c.path,""):("file"==c.scheme&&!c.path.length&&de(d)&&(c.host&&(c.host=""),d=O(d,0)+":"),D(c.path,d)),d="","file"==c.scheme&&(a==n||"?"==a||"#"==a))for(;c.path.length>1&&""===c.path[0];)M(c.path);"?"==a?(c.query="",u=Ie):"#"==a&&(c.fragment="",u=Re)}else d+=ue(a,le);break;case Oe:"?"==a?(c.query="",u=Ie):"#"==a?(c.fragment="",u=Re):a!=n&&(c.path[0]+=ue(a,oe));break;case Ie:t||"#"!=a?a!=n&&("'"==a&&c.isSpecial()?c.query+="%27":c.query+="#"==a?"%23":ue(a,oe)):(c.fragment="",u=Re);break;case Re:a!=n&&(c.fragment+=ue(a,se))}p++}},parseHost:function(e){var t,r,n;if("["==O(e,0)){if("]"!=O(e,e.length-1))return V;if(t=function(e){var t,r,n,i,a,o,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,p=0,d=function(){return O(e,p)};if(":"==d()){if(":"!=O(e,1))return;p+=2,u=++c}for(;d();){if(8==c)return;if(":"!=d()){for(t=r=0;r<4&&I(ee,d());)t=16*t+P(d(),16),p++,r++;if("."==d()){if(0==r)return;if(p-=r,c>6)return;for(n=0;d();){if(i=null,n>0){if(!("."==d()&&n<4))return;p++}if(!I(K,d()))return;for(;I(K,d());){if(a=P(d(),10),null===i)i=a;else{if(0==i)return;i=10*i+a}if(i>255)return;p++}l[c]=256*l[c]+i,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==d()){if(p++,!d())return}else if(d())return;l[c++]=t}else{if(null!==u)return;p++,u=++c}}if(null!==u)for(o=c-u,c=7;0!=c&&o>0;)s=l[c],l[c--]=l[u+o-1],l[u+--o]=s;else if(8!=c)return;return l}(F(e,1,-1)),!t)return V;this.host=t}else if(this.isSpecial()){if(e=b(e),I(te,e))return V;if(t=function(e){var t,r,n,i,a,o,s,l=B(e,".");if(l.length&&""==l[l.length-1]&&l.length--,(t=l.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(i=l[n]))return e;if(a=10,i.length>1&&"0"==O(i,0)&&(a=I(Y,i)?16:8,i=F(i,8==a?1:2)),""===i)o=0;else{if(!I(10==a?Q:8==a?X:ee,i))return e;o=P(i,a)}D(r,o)}for(n=0;n<t;n++)if(o=r[n],n==t-1){if(o>=E(256,5-t))return null}else if(o>255)return null;for(s=N(r),n=0;n<r.length;n++)s+=r[n]*E(256,3-n);return s}(e),null===t)return V;this.host=t}else{if(I(re,e))return V;for(t="",r=v(e),n=0;n<r.length;n++)t+=ue(r[n],oe);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return m(pe,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&de(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,i=e.host,a=e.port,o=e.path,s=e.query,l=e.fragment,c=t+":";return null!==i?(c+="//",e.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=ae(i),null!==a&&(c+=":"+a)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?o[0]:o.length?"/"+R(o,"/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},setHref:function(e){var t=this.parse(e);if(t)throw T(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new Ne(e.path[0]).origin}catch(e){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+ae(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(y(e)+":",ve)},getUsername:function(){return this.username},setUsername:function(e){var t=v(y(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=ue(t[r],ce)}},getPassword:function(){return this.password},setPassword:function(e){var t=v(y(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=ue(t[r],ce)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ae(e):ae(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Se)},getHostname:function(){var e=this.host;return null===e?"":ae(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,$e)},getPort:function(){var e=this.port;return null===e?"":y(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""==(e=y(e))?this.port=null:this.parse(e,Ae))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+R(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,ze))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""==(e=y(e))?this.query=null:("?"==O(e,0)&&(e=F(e,1)),this.query="",this.parse(e,Ie)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!=(e=y(e))?("#"==O(e,0)&&(e=F(e,1)),this.fragment="",this.parse(e,Re)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ne=function(e){var t=d(this,De),r=w(arguments.length,1)>1?arguments[1]:void 0,n=x(t,new je(e,!1,r));a||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},De=Ne.prototype,Le=function(e,t){return{get:function(){return S(this)[e]()},set:t&&function(e){return S(this)[t](e)},configurable:!0,enumerable:!0}};if(a&&u(De,{href:Le("serialize","setHref"),origin:Le("getOrigin"),protocol:Le("getProtocol","setProtocol"),username:Le("getUsername","setUsername"),password:Le("getPassword","setPassword"),host:Le("getHost","setHost"),hostname:Le("getHostname","setHostname"),port:Le("getPort","setPort"),pathname:Le("getPathname","setPathname"),search:Le("getSearch","setSearch"),searchParams:Le("getSearchParams"),hash:Le("getHash","setHash")}),p(De,"toJSON",(function(){return S(this).serialize()}),{enumerable:!0}),p(De,"toString",(function(){return S(this).serialize()}),{enumerable:!0}),C){var Me=C.createObjectURL,Be=C.revokeObjectURL;Me&&p(Ne,"createObjectURL",l(Me,C)),Be&&p(Ne,"revokeObjectURL",l(Be,C))}_(Ne,"URL"),i({global:!0,forced:!o,sham:!a},{URL:Ne})},582909:(e,t,r)=>{"use strict";var n=r(145630),i=r(211254);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},869831:(e,t,r)=>{"use strict";e=r.nmd(e);var n=function(e,t){return e<t};function i(e){if(!(this instanceof i))return new i(e);this.array=[],this.size=0,this.compare=e||n}i.prototype.add=function(e){var t,r,n=this.size;for(this.array[this.size]=e,this.size+=1;n>0&&(t=n-1>>1,r=this.array[t],this.compare(e,r));)this.array[n]=r,n=t;this.array[n]=e},i.prototype.heapify=function(e){var t;for(this.array=e,this.size=e.length,t=this.size>>1;t>=0;t--)this._percolateDown(t)},i.prototype._percolateUp=function(e){for(var t,r,n=this.array[e];e>0&&(t=e-1>>1,r=this.array[t],this.compare(n,r));)this.array[e]=r,e=t;this.array[e]=n},i.prototype._percolateDown=function(e){for(var t,r,n,i=this.size,a=this.size>>>1,o=this.array[e];e<a&&(r=1+(t=1+(e<<1)),n=this.array[t],r<i&&this.compare(this.array[r],n)&&(t=r,n=this.array[r]),this.compare(n,o));)this.array[e]=n,e=t;this.array[e]=o},i.prototype.peek=function(){if(0!=this.size)return this.array[0]},i.prototype.poll=function(){if(0!=this.size){var e=this.array[0];return this.size>1?(this.array[0]=this.array[--this.size],this._percolateDown(0)):this.size-=1,e}},i.prototype.replaceTop=function(e){if(0!=this.size){var t=this.array[0];return this.array[0]=e,this._percolateDown(0),t}},i.prototype.trim=function(){this.array=this.array.slice(0,this.size)},i.prototype.isEmpty=function(){return 0===this.size},r.c[r.s]===e&&function(){var e=new i((function(e,t){return e<t}));for(e.add(1),e.add(0),e.add(5),e.add(4),e.add(3);!e.isEmpty();)console.log(e.poll())}(),e.exports=i},90542:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(537188),i=r.n(n),a=r(165764),o=r.n(a),s=r(774154),l=r.n(s),c=r(811949),u=r.n(c),p=r(934809),d=r.n(p),m=r(12509),h=r.n(m),v=r(760693),g={};g.styleTagTransform=h(),g.setAttributes=u(),g.insert=l().bind(null,"head"),g.domAPI=o(),g.insertStyleElement=d(),i()(v.Z,g);const f=v.Z&&v.Z.locals?v.Z.locals:void 0},862156:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(537188),i=r.n(n),a=r(165764),o=r.n(a),s=r(774154),l=r.n(s),c=r(811949),u=r.n(c),p=r(934809),d=r.n(p),m=r(12509),h=r.n(m),v=r(653621),g={};g.styleTagTransform=h(),g.setAttributes=u(),g.insert=l().bind(null,"head"),g.domAPI=o(),g.insertStyleElement=d(),i()(v.Z,g);const f=v.Z&&v.Z.locals?v.Z.locals:void 0},507150:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(537188),i=r.n(n),a=r(165764),o=r.n(a),s=r(774154),l=r.n(s),c=r(811949),u=r.n(c),p=r(934809),d=r.n(p),m=r(12509),h=r.n(m),v=r(97520),g={};g.styleTagTransform=h(),g.setAttributes=u(),g.insert=l().bind(null,"head"),g.domAPI=o(),g.insertStyleElement=d(),i()(v.Z,g);const f=v.Z&&v.Z.locals?v.Z.locals:void 0},874647:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var n=r(89211),i=r(143681),a=r(236229),o=r(736781),s=r(993184),l=r(668962),c=r(749886),u=r(489955),p=function(e){(0,l.Z)(r,e);var t=(0,c.Z)(r);function r(){var e;return(0,n.Z)(this,r),e=t.call(this),u.Z.pushMutator((0,a.Z)(e)),e}return(0,i.Z)(r,[{key:"commit",value:function(e,t){return u.Z.popMutator(this),(0,o.Z)((0,s.Z)(r.prototype),"commit",this).call(this,e,t)}}]),r}(r(644568).Z)},644568:(e,t,r)=>{"use strict";r.d(t,{Z:()=>w});var n,i,a,o,s=r(127658),l=r(282466),c=r(89211),u=r(143681),p=r(236229),d=r(736781),m=r(993184),h=r(668962),v=r(749886),g=r(673136),f=r(548967),b=(r(785226),r(573467),r(508460),r(653960),r(913688),r(973270)),y=r(112957),_=r(50531),w=(o=function(e){(0,h.Z)(r,e);var t=(0,v.Z)(r);function r(){var e;return(0,c.Z)(this,r),(e=t.call(this)).resetTo="end",(0,l.Z)(e,"active",a,(0,p.Z)(e)),e.changesById={},e.timer=e.link(new _.Z),e.listenTo(e.timer,"tick",e._update),e.listenTo(e.timer,"end",e.reset),e}return(0,u.Z)(r,[{key:"forEach",value:function(){var e;return(e=Object.values(this.changesById)).forEach.apply(e,arguments)}},{key:"computeChangeKey",value:function(e,t){return"_"+(0,b.Z)(e)+":"+t}},{key:"canAnimate",value:function(e){return"number"==typeof e||!(null===e||"object"!==(0,s.Z)(e)&&"function"!=typeof e||!e.merge)}},{key:"animate",value:function(e,t){return"number"==typeof t.start?(r=e,n=t.start,r*t.end+(1-r)*n):t.start.merge(e,t.end,t);var r,n}},{key:"record",value:function(e,t,r,n,i){if(this.canAnimate(r)&&this.canAnimate(n)){var a=this.computeChangeKey(e,t),o=this.changesById[a];return o?o.end=r:o=this.changesById[a]={object:e,property:t,initial:i||n,start:n,end:r},o}}},{key:"hasChanges",get:function(){return Object.values(this.changesById).some((function(e){return e.start!==e.end}))}},{key:"commit",value:function(e,t){this.hasChanges?(this.curve=t,this.trigger("start"),this.forEach((function(e){return e.object[e.property]=e.start})),this._startAnimation(e)):this.trigger("end")}},{key:"revert",value:function(){var e=new r;return e.resetTo="initial",this.forEach((function(t){t.isNew&&e.record(t.object,t.property,t.start,t.end,t.initial)})),e}},{key:"snapshot",value:function(){var e=new r,t=this.resetTo;return this.forEach((function(r){return e.record(r.object,r.property,r[t],r.object[r.property],r.initial)})),e}},{key:"_startAnimation",value:function(e){++r.activeAnimations,this.active=!0,this.timer.start(e)}},{key:"_update",value:function(){var e=this,t=this.timer.percent;this.curve&&(t=this.curve(t)),this.forEach((function(r){return r.object[r.property]=e.animate(t,r)})),this.trigger("tick")}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.active){if(--r.activeAnimations,this.timer.stop(),this.active=!1,!e){var t=this.resetTo;this.forEach((function(e){return e.object[e.property]=e[t]}))}this.isDisposed||this.trigger("end")}}},{key:"resetInitials",value:function(){this.forEach((function(e){return e.initial=e.object[e.property]}))}},{key:"dispose",value:function(){(0,d.Z)((0,m.Z)(r.prototype),"dispose",this).call(this),this.reset()}}]),r}(y.Z),o.activeAnimations=0,n=o,(0,g.Z)(n,"activeAnimations",[f.Z],(i=(i=Object.getOwnPropertyDescriptor(n,"activeAnimations"))?i.value:void 0,{enumerable:!0,configurable:!0,writable:!0,initializer:function(){return i}}),n),a=(0,g.Z)(n.prototype,"active",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n)},143e3:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(89211),i=r(143681),a=r(515870),o=function(){function e(t){(0,n.Z)(this,e),this._drag=t,this._dragLog=Math.log(t),this._x=0,this._v=0,this._startTime=0}return(0,i.Z)(e,[{key:"set",value:function(e,t){this._x=e,this._v=t,this._startTime=(0,a.Z)()}},{key:"x",value:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,a.Z)())-this._startTime;return this._x+this._v*Math.pow(this._drag,e/1e3)/this._dragLog-this._v/this._dragLog}},{key:"dx",value:function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,a.Z)())-this._startTime;return this._v*Math.pow(this._drag,e/1e3)}},{key:"done",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,a.Z)();return Math.abs(this.dx(e))<1}},{key:"reconfigure",value:function(e){var t=this.x(),r=this.dx();this._drag=e,this._dragLog=Math.log(e),this.set(t,r)}}]),e}()},406105:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(89211),i=r(143681),a=r(982545),o=function(){function e(){(0,n.Z)(this,e),this.left=0,this.top=0}return(0,i.Z)(e,[{key:"x",get:function(){return this.left}},{key:"y",get:function(){return this.top}},{key:"set",value:function(e,t){return 2===arguments.length?(this.left=e,this.top=t):(this.left=e.left,this.top=e.top),this}},{key:"clone",value:function(){return e.wrap(this)}},{key:"equals",value:function(e){return(0,a.dA)(this.left,e.left)&&(0,a.dA)(this.top,e.top)}},{key:"isZero",value:function(){return(0,a.dA)(this.left,0)&&(0,a.dA)(this.top,0)}},{key:"moveToZero",value:function(){return this.left=0,this.top=0,this}},{key:"scale",value:function(e){return this.left*=e,this.top*=e,this}},{key:"scaleAndMove",value:function(e,t){return this.left+=e.left*t,this.top+=e.top*t,this}},{key:"subtract",value:function(e){return this.left-=e.left,this.top-=e.top,this}},{key:"subtractFrom",value:function(e){return this.left=e.left-this.left,this.top=e.top-this.top,this}},{key:"dot",value:function(e){return this.left*e.left+this.top*e.top}},{key:"angle",value:function(e){var t=this.length()*e.length();return t?Math.acos(Math.min(1,Math.max(-1,this.dot(e)/t))):0}},{key:"signedAngle",value:function(e){return Math.atan2(e.top,e.left)-Math.atan2(this.top,this.left)}},{key:"axisAngle",value:function(e){return Math.atan2(this.left-e.left,this.top-e.top)}},{key:"length",value:function(){return Math.sqrt(this.left*this.left+this.top*this.top)}},{key:"distance",value:function(e){var t=this.left-e.left,r=this.top-e.top;return Math.sqrt(t*t+r*r)}},{key:"normalize",value:function(e){var t=this.length();return t?this.scale(1/t*(void 0!==e?e:1)):this}},{key:"setMaximumLength",value:function(e){var t=this.length();return t>e?this.scale(1/t*e):this}},{key:"move",value:function(e){return this.left+=e.left,this.top+=e.top,this}},{key:"moveBy",value:function(e,t){return this.left+=e,this.top+=t,this}},{key:"rotate",value:function(e){var t=this.left,r=this.top,n=e/180*Math.PI,i=Math.sin(n),a=Math.cos(n);return this.left=t*a-r*i,this.top=t*i+r*a,this}},{key:"project",value:function(e){var t=this.dot(e)/e.dot(e);return this.left=e.left*t,this.top=e.top*t,this}},{key:"roundToIntegers",value:function(){return this.left=Math.round(this.left),this.top=Math.round(this.top),this}},{key:"toSVGPoint",value:function(e){if(e){var t=e.apply(this);return(0,a.Dn)(t.left)+" "+(0,a.Dn)(t.top)}return(0,a.Dn)(this.left)+" "+(0,a.Dn)(this.top)}},{key:"id",value:function(){return this._uniqueId||(this._uniqueId=++e.uniqueId),this._uniqueId}}],[{key:"fromPixi",value:function(t){var r=new e;return r.left=t.x,r.top=t.y,r}},{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=new e;return n.left=t,n.top=r,n}},{key:"wrap",value:function(t){var r=new e;return r.set(t),r}},{key:"createList",value:function(){return e.createFromList(arguments)}},{key:"createFromList",value:function(t){for(var r=[],n=0;n<t.length;n+=2)r.push(e.create(t[n],t[n+1]));return r}},{key:"wrapList",value:function(t){for(var r=[],n=0;n<t.length;++n)r.push(e.wrap(t[n]));return r}}]),e}();o.uniqueId=0},982545:(e,t,r)=>{"use strict";function n(e,t){return Math.abs(e-t)<5e-7}function i(e){return Math.round(1e3*e)/1e3}r.d(t,{Dn:()=>i,dA:()=>n})},951160:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n,i,a=r(282466),o=r(89211),s=r(143681),l=r(236229),c=r(736781),u=r(993184),p=r(668962),d=r(749886),m=r(673136),h=r(548967),v=r(112957),g=r(370832),f=(n=function(e){(0,p.Z)(r,e);var t=(0,d.Z)(r);function r(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.Z.instance;return(0,o.Z)(this,r),e=t.call(this),(0,a.Z)(e,"active",i,(0,l.Z)(e)),e.mapper=n,n.pushInteraction((0,l.Z)(e)),e}return(0,s.Z)(r,[{key:"touches",get:function(){return this.mapper.touchManager.touches}},{key:"state",get:function(){return this.mapper.state}},{key:"eventState",get:function(){return this.mapper.state.eventState}},{key:"waitTime",get:function(){return this.mapper.waitTime}},{key:"wait",value:function(e){this.mapper.wait(e)}},{key:"dispose",value:function(){(0,c.Z)((0,u.Z)(r.prototype),"dispose",this).call(this),this.mapper.removeInteraction(this)}}]),r}(v.Z),i=(0,m.Z)(n.prototype,"active",[h.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n)},380349:(e,t,r)=>{"use strict";r.d(t,{ZP:()=>T});var n,i,a=r(282466),o=r(236229),s=r(736781),l=r(993184),c=r(668962),u=r(749886),p=r(673136),d=r(89211),m=r(143681),h=r(412333),v=r(548967),g=(r(718080),r(573467),r(508460),r(824098),r(35812),r(470373),r(19067),r(913688),r(406105)),f=r(515870),b=r(753194),y=r(112957),_=r(674543),w="ontouchstart"in b.Z,k=!!b.Z.navigator&&b.Z.navigator.pointerEnabled,Z=!!b.Z.navigator&&b.Z.navigator.msPointerEnabled,x=Z?MSPointerEvent.MSPOINTER_TYPE_MOUSE:"mouse",S=10,$=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;(0,d.Z)(this,e),this.next=0,this.velocityScale=t,this.items=[]}return(0,m.Z)(e,[{key:"reset",value:function(){}},{key:"push",value:function(e){var t=this.next++%S;this.items[t]={point:e,time:(0,f.Z)()}}},{key:"reverse",value:function(e){for(var t=this.next+S-1,r=t+S,n=0;r>t;--r){var i=r%S,a=this.items[i];if(a&&!1===e(a,n++))return}}},{key:"each",value:function(e){for(var t=this.next,r=t+S,n=0;t<r;++t){var i=t%S,a=this.items[i];if(a&&!1===e(a,n++))return}}},{key:"movement",get:function(){var e=this.items[(this.next-2)%S].point,t=this.items[(this.next-1)%S].point;return{x:t.left-e.left,y:t.top-e.top}}},{key:"velocity",get:function(){var e,t,r,n=this;return this.reverse((function(i,a){if(a){var o=e.time-i.time,s=i.point.clone().scaleAndMove(e.point,-1);return(!r||!(s.left*r.left<0||s.top*r.top<0))&&(r=s.clone(),Math.abs(s.left)<5&&(s.left=0),Math.abs(s.top)<5&&(s.top=0),t=s.scale(n.velocityScale/o),o>=50?(t=null,!1):!(o>=30)&&void 0)}e=i})),t||new g.Z}}]),e}(),A=function(){function e(t,r,n,i,a,o){(0,d.Z)(this,e),this.id=t,this.touch=r,this.event=n,this.startOffset=i,this.current=i.clone(),this.model=a,this.history=new $(o)}return(0,m.Z)(e,[{key:"update",value:function(e,t){this.touch=e,this.event=t,this.current=g.Z.create(e.pageX,e.pageY),this.history.push(this.current)}},{key:"resetOffset",value:function(){this.startTime=this.time=(0,f.Z)(),this.startOffset=this.current.clone()}},{key:"offset",get:function(){return this.startOffset.clone().scaleAndMove(this.current,-1)}}]),e}(),C=function(){function e(){(0,d.Z)(this,e),this.touches=[],this.touchesById={}}return(0,m.Z)(e,[{key:"length",get:function(){return this.touches.length}},{key:"at",value:function(e){return this.touches[e]}},{key:"get",value:function(e){return this.touchesById[e]}},{key:"add",value:function(e){this.touches.push(e),this.touchesById[e.id]=e}},{key:"each",value:function(e){this.touches.forEach(e)}},{key:"remove",value:function(e){var t=this;this.touches=this.touches.filter((function(r){return!e(r)||(delete t.touchesById[r.id],!1)}))}}]),e}(),T=(n=function(e){(0,c.Z)(r,e);var t=(0,u.Z)(r);function r(){var e;(0,d.Z)(this,r);for(var n=arguments.length,s=new Array(n),l=0;l<n;l++)s[l]=arguments[l];return e=t.call.apply(t,[this].concat(s)),(0,a.Z)(e,"listening",i,(0,o.Z)(e)),e.touchDragMinOffset=10,e.scrollDragMinOffset=5,e.mouseDragMinOffset=1,e.started=!1,e._defaultPreventDefault=!0,e.preventDefault=!0,e.captureClicks=!1,e.mobileScroll=!1,e.usingMouse=!1,e.touches=new C,e.allowHtmlDrag=!1,e.velocityScale=1,e.enabledInputs={mouse:!0,touch:!0,pointer:!0},e}return(0,m.Z)(r,[{key:"computePreventDefault",get:function(){return this.preventDefault&&(!this.mobileScroll||this.started||this.usingMouse)}},{key:"defaultPreventDefault",get:function(){return this._defaultPreventDefault},set:function(e){this._defaultPreventDefault=e,this.preventDefault=e}},{key:"start",value:function(e,t){this.onTouchStart(e,t)}},{key:"inputEnabled",value:function(e){return"mousedown"===e.type||"mouseup"===e.type||"pointerdown"===e.type&&"mouse"===e.pointerType?this.enabledInputs.mouse:"pointerdown"===e.type||"MSPointerDown"===e.type?this.enabledInputs.pointer:this.enabledInputs.touch}},{key:"onTouchStart",value:function(e,t){var n=e.originalEvent||e;"mousedown"===n.type&&(this.usingMouse=!0,this.touches.get("mouse")&&this.onMouseUp(e));var i=this.allowHtmlDrag&&r.isAnyAncestorDraggable(e.target);if(!function(e){return"mousedown"===e.type&&(1!==e.which||e.ctrlKey)||"mouseup"===e.type&&1!==e.which}(n)&&this.inputEnabled(n)&&!i){var a=!!this.touches.length;this.computePreventDefault&&(e.stopImmediatePropagation(),e.cancelable&&e.preventDefault()),this.createTouchModels(n,t||e.model),a||(this.addListeners(),this.trigger("wait")),a&&this.started&&this.trigger("gestureChange")}}},{key:"createTouchModels",value:function(e,t){var r=this.touches;if("mousedown"===e.type){var n=g.Z.create(e.pageX,e.pageY);r.add(new A("mouse",e,e,n,t,this.velocityScale))}else if("pointerdown"===e.type||"MSPointerDown"===e.type){var i=g.Z.create(e.pageX,e.pageY);r.add(new A(e.pointerId,e,e,i,t,this.velocityScale))}else for(var a=0,o=e.changedTouches.length;a<o;a++){var s=e.changedTouches[a],l=g.Z.create(s.pageX,s.pageY),c=new A(s.identifier,s,e,l,t,this.velocityScale);r.get(c.id)&&console.error("Existing touch handled twice"),r.add(c)}}},{key:"addNodeEvents",value:function(e,t){e.addEventListener("mousedown",t),w&&e.addEventListener("touchstart",t),k?((0,_.A_)(e,"touch-action","none"),e.addEventListener("pointerdown",(function(r){r.pointerType!==x&&t.call(e,r)}),!1)):Z&&((0,_.A_)(e,"touch-action","none"),e.addEventListener("MSPointerDown",(function(r){r.pointerType!==x&&t.call(e,r)}),!1))}},{key:"addListeners",value:function(){this.touches.length||console.error("Expected this.touches to be a non-empty array"),this.listening=!0,document.addEventListener("mousedown",this.onTouchStart,!0),document.addEventListener("mousemove",this.onMouseMove,!0),document.addEventListener("mouseup",this.onMouseUp,!0),w&&(document.addEventListener("touchstart",this.onTouchStart,!0),document.addEventListener("touchmove",this.onTouchMove,!0),document.addEventListener("touchend",this.onTouchEnd,!0),document.addEventListener("touchcancel",this.onTouchCancel,!0)),k?(document.addEventListener("pointerdown",this.onTouchStart,!0),document.addEventListener("pointermove",this.onPointerMove,!0),document.addEventListener("pointerup",this.onPointerUp,!0)):Z&&(document.addEventListener("MSPointerDown",this.onTouchStart,!0),document.addEventListener("MSPointerMove",this.onPointerMove,!0),document.addEventListener("MSPointerUp",this.onPointerUp,!0)),this.allowHtmlDrag&&(document.addEventListener("dragstart",this.onDragStart,!0),document.addEventListener("dragend",this.onDragEnd,!0))}},{key:"removeListeners",value:function(){this.touches.length&&console.error("Expected this.touches to be an empty array"),this.listening=!1,document.removeEventListener("mousedown",this.onTouchStart,!0),document.removeEventListener("mousemove",this.onMouseMove,!0),document.removeEventListener("mouseup",this.onMouseUp,!0),w&&(document.removeEventListener("touchstart",this.onTouchStart,!0),document.removeEventListener("touchmove",this.onTouchMove,!0),document.removeEventListener("touchend",this.onTouchEnd,!0),document.removeEventListener("touchcancel",this.onTouchCancel,!0)),k?(document.removeEventListener("pointerdown",this.onTouchStart,!0),document.removeEventListener("pointermove",this.onPointerMove,!0),document.removeEventListener("pointerup",this.onPointerUp,!0)):Z&&(document.removeEventListener("MSPointerDown",this.onTouchStart,!0),document.removeEventListener("MSPointerMove",this.onPointerMove,!0),document.removeEventListener("MSPointerUp",this.onPointerUp,!0)),this.allowHtmlDrag&&(document.removeEventListener("dragstart",this.onDragStart,!0),document.removeEventListener("dragend",this.onDragEnd,!0)),this.trigger("listenersRemoved")}},{key:"sendUpdateEvent",value:function(e){this.started?this.trigger("update",e):this.startGesture()}},{key:"startGesture",value:function(){var e=!1,t=this.touchDragMinOffset,r=this.mouseDragMinOffset;if(this.touches.each((function(n){e|=Math.abs(n.offset.length())>("mouse"===n.id?r:t)})),this.mobileScroll&&1===this.touches.length){var n=this.touches.at(0);"mouse"!==n.id&&Math.abs(n.offset.top)>this.scrollDragMinOffset&&(e=!1,n.ended=!0,this.updateAfterTouchEnded())}e&&(this.started=!0,this.trigger("start"))}},{key:"onPointerMove",value:function(e){if(e.pointerType!==x){var t=this.touches.get(e.pointerId);t&&t.update(e,e),this.sendUpdateEvent(e),this.computePreventDefault&&(e.stopImmediatePropagation(),e.cancelable&&e.preventDefault())}}},{key:"onMouseMove",value:function(e){if(this.touches.get("mouse")&&!e.buttons&&this.onMouseUp(e),!this.allowHtmlDrag||!r.isAnyAncestorDraggable(e.target)){var t=this.touches.get("mouse");t&&t.update(e,e),this.sendUpdateEvent(e),this.computePreventDefault&&(e.stopImmediatePropagation(),e.cancelable&&e.preventDefault())}}},{key:"onTouchMove",value:function(e){for(var t=0,r=e.changedTouches.length;t<r;t++){var n=e.changedTouches[t],i=this.touches.get(n.identifier);i&&i.update(n,e)}this.sendUpdateEvent(e),this.computePreventDefault&&(e.stopImmediatePropagation(),e.cancelable&&e.preventDefault())}},{key:"onPointerCancel",value:function(e){this.handlePointerEnd(e,!0)}},{key:"onPointerUp",value:function(e){this.handlePointerEnd(e,!1)}},{key:"handlePointerEnd",value:function(e,t){if(e.pointerType!==x){var r=this.touches.get(e.pointerId);r&&(r.ended=!0),this.computePreventDefault&&(e.stopImmediatePropagation(),e.cancelable&&e.preventDefault()),this.updateAfterTouchEnded(t)}}},{key:"onMouseUp",value:function(e){var t=this.touches.get("mouse");t&&(t.ended=!0),"mouseup"===e.type&&this.computePreventDefault&&(e.stopImmediatePropagation(),e.cancelable&&e.preventDefault(),this.captureClicks)&&document.addEventListener("click",(function t(r){r.pageX===e.pageX&&r.pageY===e.pageY&&(r.stopImmediatePropagation(),e.cancelable&&e.preventDefault()),document.removeEventListener("click",t,!0)}),!0),this.updateAfterTouchEnded()}},{key:"onTouchCancel",value:function(e){this.handleTouchEnd(e,!0)}},{key:"onTouchEnd",value:function(e){this.handleTouchEnd(e,!1)}},{key:"handleTouchEnd",value:function(e,t){for(var r={},n=0,i=e.touches.length;n<i;n++){var a=e.touches[n];r[a.identifier]=!0}var o=!1;this.touches.each((function(e){r[e.touchId]||(e.ended=!0,o=!0)})),o&&(this.computePreventDefault&&(e.stopImmediatePropagation(),e.cancelable&&e.preventDefault()),this.updateAfterTouchEnded(t))}},{key:"updateAfterTouchEnded",value:function(e){if(!e&&!this.started&&1===this.touches.length){var t=this.touches.at(0);t&&t.ended&&this.trigger("click",t)}this.touches.remove((function(e){return e.ended})),this.touches.length?this.trigger("gestureChange"):(this.started&&!e&&this.trigger("end"),this.reset())}},{key:"onDragStart",value:function(){this.listening&&this.allowHtmlDrag&&document.removeEventListener("mousemove",this.onMouseMove,!0)}},{key:"onDragEnd",value:function(){this.listening&&this.allowHtmlDrag&&document.addEventListener("mousemove",this.onMouseMove,!0)}},{key:"resetStartOffsets",value:function(){this.touches.each((function(e){return e.resetOffset()})),this.started=!1}},{key:"reset",value:function(){this.preventDefault=this.defaultPreventDefault,this.usingMouse=!1,this.started=!1,this.removeListeners(),this.trigger("reset")}},{key:"dispose",value:function(){this.reset(),(0,s.Z)((0,l.Z)(r.prototype),"dispose",this).call(this)}}],[{key:"isAnyAncestorDraggable",value:function(e){for(;!e.draggable&&(e=e.parentElement););return!!e}}]),r}(y.Z),i=(0,p.Z)(n.prototype,"listening",[v.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,p.Z)(n.prototype,"onTouchStart",[h.Z],Object.getOwnPropertyDescriptor(n.prototype,"onTouchStart"),n.prototype),(0,p.Z)(n.prototype,"onPointerMove",[h.Z],Object.getOwnPropertyDescriptor(n.prototype,"onPointerMove"),n.prototype),(0,p.Z)(n.prototype,"onMouseMove",[h.Z],Object.getOwnPropertyDescriptor(n.prototype,"onMouseMove"),n.prototype),(0,p.Z)(n.prototype,"onTouchMove",[h.Z],Object.getOwnPropertyDescriptor(n.prototype,"onTouchMove"),n.prototype),(0,p.Z)(n.prototype,"onPointerCancel",[h.Z],Object.getOwnPropertyDescriptor(n.prototype,"onPointerCancel"),n.prototype),(0,p.Z)(n.prototype,"onPointerUp",[h.Z],Object.getOwnPropertyDescriptor(n.prototype,"onPointerUp"),n.prototype),(0,p.Z)(n.prototype,"onMouseUp",[h.Z],Object.getOwnPropertyDescriptor(n.prototype,"onMouseUp"),n.prototype),(0,p.Z)(n.prototype,"onTouchCancel",[h.Z],Object.getOwnPropertyDescriptor(n.prototype,"onTouchCancel"),n.prototype),(0,p.Z)(n.prototype,"onTouchEnd",[h.Z],Object.getOwnPropertyDescriptor(n.prototype,"onTouchEnd"),n.prototype),(0,p.Z)(n.prototype,"onDragStart",[h.Z],Object.getOwnPropertyDescriptor(n.prototype,"onDragStart"),n.prototype),(0,p.Z)(n.prototype,"onDragEnd",[h.Z],Object.getOwnPropertyDescriptor(n.prototype,"onDragEnd"),n.prototype),n)},370832:(e,t,r)=>{"use strict";r.d(t,{Z:()=>_});var n,i,a=r(282466),o=r(89211),s=r(143681),l=r(236229),c=r(668962),u=r(749886),p=r(673136),d=r(600531),m=r(222606),h=r(548967),v=(r(785226),r(367469),r(888784),r(973774),r(573467),r(508460),r(8856),r(913688),r(112957)),g=r(515870),f=r(656097),b=r(380349);function y(e,t){return t.priority-e.priority}var _=(n=function(e){(0,c.Z)(r,e);var t=(0,u.Z)(r);function r(e){var n,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.ZP,c=arguments.length>2&&void 0!==arguments[2]&&arguments[2],u=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return(0,o.Z)(this,r),n=t.call(this),(0,a.Z)(n,"active",i,(0,l.Z)(n)),n.state={event:null,interactionName:null,currentInteraction:null,newInteraction:null},n.interactionsList=[],n.preventDefaultAfterStart=u,n.touchManager=n.link(new s),n.touchManager.allowHtmlDrag=c,e&&Object.assign(n.touchManager.enabledInputs,e),n.listenTo(n.touchManager,"click",n.onClick),n.listenTo(n.touchManager,"start",n.onStart),n.listenTo(n.touchManager,"update",n.onUpdate),n.listenTo(n.touchManager,"end",n.onEnd),n.listenTo(n.touchManager,"reset",n.onReset),n.listenTo(n.touchManager,"gestureChange",n.onChange),n.listenTo(n.touchManager,"wait",n.onWait),n.link((function(){return n.clearWait()})),n.waitTimers=[],n}return(0,s.Z)(r,[{key:"addNodeEvents",value:function(e,t){this.touchManager.addNodeEvents(e,t)}},{key:"pushInteraction",value:function(e){this.interactionsList.push(e)}},{key:"removeInteraction",value:function(e){var t=this.interactionsList,r=t.indexOf(e);-1!==r&&t.splice(r,1)}},{key:"pushState",value:function(e,t,r){(this.state.event!==t||"wait"!==this.state.eventState&&null===this.state.currentInteraction&&null===this.state.newInteraction)&&(this.state.interactionName=e,this.state.eventState=null,this.state.event=t,this.touchManager.start(t,r))}},{key:"updateState",value:function(e){this.state.eventState=e,"wait"!==e&&this.clearWait();var t=[];if(this.interactionsList.forEach((function(e){var r=e.priority;!1!==r&&t.push({interaction:e,priority:r})})),t.length){t.sort(y);var r=t[0].interaction;r!==this.state.currentInteraction&&(this.state.newInteraction=r)}else this.resetInteraction()}},{key:"resetInteraction",value:function(){this.state.newInteraction=null;var e=this.state.currentInteraction;e&&(e.started=!1,e.reset&&e.reset(this.state),this.state.currentInteraction=null,this.trigger("currentInteraction")),this.active=!1}},{key:"updateCurrentInteraction",value:function(){var e=this.state.newInteraction;e&&(this.resetInteraction(),this.state.currentInteraction=e,this.trigger("currentInteraction"),this.active=!0)}},{key:"propagateInteractionEvent",value:function(e){this.updateCurrentInteraction(),this.triggerInteractionEvent(e)}},{key:"triggerInteractionEvent",value:function(e){var t=this.state.currentInteraction;if(t){this.interactionEvent(t,e);var r=t[e];r&&r.call(t)}}},{key:"waitTime",get:function(){return this.waitStart?(0,g.Z)()-this.waitStart:0}},{key:"wait",value:function(e){var t=this,r=new f.Z;r.setTimeout((function(){t.updateState("wait")}),e),this.waitTimers.push(r)}},{key:"clearWait",value:function(){this.waitTimers.forEach((function(e){return e.dispose()})),this.waitTimers=[],this.waitStart=null}},{key:"onClick",value:function(){this.updateState("click"),this.propagateInteractionEvent("click"),this.resetInteraction()}},{key:"onStart",value:function(){this.updateState("drag"),this.updateCurrentInteraction();var e=this.state.currentInteraction;e&&(this.interactionEvent(e,"start"),e.start&&e.start(),this.preventDefaultAfterStart&&(this.touchManager.preventDefault=this.preventDefaultAfterStart),e.started=!0)}},{key:"onUpdate",value:function(e){this.state.event=e,this.onUpdateHandler()}},{key:"onUpdateHandler",value:function(){var e=this.state.currentInteraction;e&&e.started&&e.update&&e.update()}},{key:"onEnd",value:function(){var e=this.state.currentInteraction;e&&e.started&&(e.started=!1,e.end&&e.end())}},{key:"onWait",value:function(){this.waitStart=(0,g.Z)(),this.updateState("wait")}},{key:"onReset",value:function(){this.resetInteraction()}},{key:"onChange",value:function(){this.updateState("gestureChange"),this.propagateInteractionEvent("gestureChange");var e=this.state.currentInteraction;e&&!e.started&&this.touchManager.resetStartOffsets()}},{key:"processingEvent",get:function(){return this.touchManager.listening}},{key:"interactionEvent",value:function(){}}],[{key:"instance",get:function(){return new this}}]),r}(v.Z),i=(0,p.Z)(n.prototype,"active",[h.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,p.Z)(n,"instance",[m.Z],Object.getOwnPropertyDescriptor(n,"instance"),n),(0,p.Z)(n.prototype,"onUpdateHandler",[d.Z],Object.getOwnPropertyDescriptor(n.prototype,"onUpdateHandler"),n.prototype),n)},304834:(e,t,r)=>{"use strict";var n=r(89211),i=r(143681),a=(r(457685),r(459471)),o=function(){function e(t){(0,n.Z)(this,e),this.touchMapper=t}return(0,i.Z)(e,[{key:"onEvent",value:function(e,t,r,n){n&&this.touchMapper.pushState(n.name,r,n.model)}}]),e}(),s={onEvent:function(){}};(0,a.Ve)("interaction",(function(e,t,r,n,i,a,l){if(n&&!l)return n;var c=a.scope,u=c&&c.touchMapper;return u?(u.isDisposed,n||u.addNodeEvents(e,i),u._interactionState||(u._interactionState=new o(u))):s}))},584438:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n={copy:"meta|ctrl+c",open:"meta|ctrl+o",save:"meta|ctrl+s",space:"space",shift_save:"shift+meta|ctrl+s",png_save:"meta|ctrl+h",escape:"escape",enter:"enter",home:"home",end:"end","page-up":"page-up","page-down":"page-down","zoom-to-fit":"meta|ctrl+1","zoom-to-width":"meta|ctrl+2",undo:"meta|ctrl+z",redo:"shift+meta|ctrl+z",redo_windows:{name:"redo",keys:"meta|ctrl+y"},delete:"backspace|delete","bring-to-front":"meta|ctrl+]","send-to-back":"meta|ctrl+[","move-up":"up-arrow","alternate-move-up":"shift+up-arrow","meta-up":"meta|ctrl+up-arrow","meta-down":"meta|ctrl+down-arrow","meta-left":"meta|ctrl+left-arrow","meta-right":"meta|ctrl+right-arrow","move-down":"down-arrow","alternate-move-down":"shift+down-arrow","move-left":"left-arrow","alternate-move-left":"shift+left-arrow","move-right":"right-arrow","alternate-move-right":"shift+right-arrow"}},991815:(e,t,r)=>{"use strict";r.d(t,{Z:()=>h});var n,i=r(673136),a=r(143681),o=r(89211),s=r(668962),l=r(749886),c=r(412333),u=(r(785226),r(888784),r(573467),r(913688),r(192405)),p=r(112957),d=r(126752),m=function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(){return(0,o.Z)(this,r),t.apply(this,arguments)}return(0,a.Z)(r)}(p.Z),h=(n=function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(e,n,i){var a,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:window,l=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];return(0,o.Z)(this,r),(a=t.call(this)).ignoredInputElements=["input","textarea"],a.context=e,a.handlers=i,a.keyboardParser=new u.Z(n),a.state=new m,a.install(s),a.ignoreInput=l,a}return(0,a.Z)(r,[{key:"install",value:function(e){this.link((0,d.Oo)(e,"keydown",this.onKeyDown)),this.link((0,d.Oo)(e,"keypress",this.onKeyPress)),this.link((0,d.Oo)(e,"keyup",this.onKeyUp))}},{key:"onKeyDown",value:function(e){this.triggerEvent("down",e)}},{key:"onKeyPress",value:function(e){this.triggerEvent("press",e)}},{key:"onKeyUp",value:function(e){this.triggerEvent("up",e)}},{key:"triggerEvent",value:function(e,t){var r=this;if(t.shiftKey||t.altKey||t.ctrlKey||t.metaKey||!this.ignoreInput||!document.activeElement||!(this.ignoredInputElements.indexOf(document.activeElement.tagName.toLowerCase())>=0)){var n=[],i={name:e,handlers:n,event:t};this.keyboardParser.matchKeyBinding(t,(function(e){n.push({keyBindingName:e,handled:!1})})),this.trigger("before",i),n.forEach((function(n){var i=n.keyBindingName;n.handled=r.executeHandler(i+":"+e,i,t,e)||r.executeHandler(i,i,t,e)})),this.trigger("after",i)}}},{key:"executeHandler",value:function(e,t,r,n){if(!this.handlers.hasOwnProperty(e))return!1;var i=this.handlers[e];return"function"==typeof i?i.call(this.context,r,n):(this.state[t]="keyup"!==n,this.state.trigger(t)),!0}}]),r}(p.Z),(0,i.Z)(n.prototype,"onKeyDown",[c.Z],Object.getOwnPropertyDescriptor(n.prototype,"onKeyDown"),n.prototype),(0,i.Z)(n.prototype,"onKeyPress",[c.Z],Object.getOwnPropertyDescriptor(n.prototype,"onKeyPress"),n.prototype),(0,i.Z)(n.prototype,"onKeyUp",[c.Z],Object.getOwnPropertyDescriptor(n.prototype,"onKeyUp"),n.prototype),n)},192405:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(89211),i=r(143681),a=r(127658),o=(r(127387),r(587621),r(558901),r(276839),r(819785),r(119861),r(978996),r(538941),r(328614),r(808410),r(457685),r(816221),r(573467),r(17938),r(308967),r(531072),{shift:function(e){return e.shiftKey},alt:function(e){return e.altKey},ctrl:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},"[":219,"]":221,backspace:8,delete:46,"page-up":33,"page-down":34,end:35,home:36,"left-arrow":37,"up-arrow":38,"right-arrow":39,"down-arrow":40,plus:107,minus:109,equal:187,dash:189,space:32,escape:27,tab:9,enter:13});function s(e){return e.replace(/[^a-z0-9]/g,"\\$&")}function l(e){for(var t=e.split(/\s*\+\s*/),r=[],n=0;n<t.length;++n){var i=t[n].split(/\s*\|\s*/);i.length>1?r.push("("+i.map(s).join("|")+")"):r.push(s(i[0]))}return new RegExp("^"+r.join("\\+")+"$")}var c=function(){function e(t){(0,n.Z)(this,e),this.keys=function(e){return Object.keys(e).map((function(t){var r=e[t];return"object"===(0,a.Z)(r)?{name:r.name,match:l(r.keys)}:{name:t,match:l(r)}}))}(t)}return(0,i.Z)(e,[{key:"matchKeyBinding",value:function(e,t){for(var r=function(e){var t=[],r=!1;for(var n in o){var i=o[n],a=!1;"function"==typeof i?a=i(e):i===e.keyCode&&(r=!0,a=!0),a&&t.push(n)}return 91===e.keyCode||93===e.keyCode||r||t.push(String.fromCharCode(e.keyCode).toLowerCase()),t.join("+")}(e),n=0;n<this.keys.length;++n){var i=this.keys[n];i.match.test(r)&&t(i.name)}}}]),e}()},235750:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(89211),i=r(143681),a=r(668962),o=r(749886),s=(r(373636),r(582909),r(112957)),l=r(20576),c=function(e){(0,a.Z)(r,e);var t=(0,o.Z)(r);function r(){return(0,n.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r,[{key:"toJSON",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.exportables?this.exportables.toJSON(this,e):{}}},{key:"fromJSON",value:function(e){return this.exportables?this.exportables.fromJSON(this,e):this}}]),r}(s.Z);c.prototype.properties=new l.Z},519299:(e,t,r)=>{"use strict";r.d(t,{Z:()=>E});var n,i,a,o,s,l,c,u,p,d,m,h,v,g,f,b=r(846031),y=r(89211),_=r(143681),w=r(673136),k=r(412333),Z=(r(573467),r(693508),r(893248),r(817148),r(373636),r(582909),r(819785),r(367469),r(290671),r(816221),r(17938),r(913688),r(20576)),x=r(420531),S=r(283824),$=r(862240),A=r(741486),C=r.n(A);function T(e){return"false"!==e&&Boolean(e)}function P(e){return e}function z(e){return e&&e.toArray?e.toArray():e&&e.slice&&e.slice()}var E=(n=$.Z.wrapPropertyDecorator,i=$.Z.wrapPropertyDecorator,a=$.Z.wrapPropertyDecorator,o=$.Z.wrapPropertyDecorator,s=$.Z.wrapPropertyDecorator,l=$.Z.wrapPropertyDecorator,c=$.Z.wrapPropertyDecorator,u=$.Z.wrapPropertyDecorator,p=$.Z.wrapPropertyDecorator,d=$.Z.wrapPropertyDecorator,m=$.Z.wrapPropertyDecorator,h=$.Z.wrapPropertyDecorator,v=$.Z.wrapPropertyDecorator,g=$.Z.wrapPropertyDecorator,f=function(){function e(t){(0,y.Z)(this,e),this._jsonPropertiesType=Z.Z,this._arrayType=x.Z,this._mapType=S.Z,this._loggedWarning={},this._name=t}return(0,_.Z)(e,[{key:"wrapArray",value:function(e){return new this._arrayType(e)}},{key:"wrapMap",value:function(e){return new this._mapType(e)}},{key:"exportables",value:function(e){return e.hasOwnProperty("exportables")||(e.exportables=new this._jsonPropertiesType(e)),e.exportables}},{key:"byVal",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return this.exportables(e).add(t,C(),C(),$.Z.getInitialValue(r),n)}},{key:"byBooleanVal",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return this.exportables(e).add(t,T,Boolean,$.Z.getInitialValue(r),n)}},{key:"byNumberVal",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return this.exportables(e).add(t,Number,Number,$.Z.getInitialValue(r),n)}},{key:"bySimpleVal",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return this.exportables(e).add(t,P,P,$.Z.getInitialValue(r),n)}},{key:"byCustomVal",value:function(e,t,r,n,i){return this.exportables(e).add(t,(function(e){return n.parse(void 0!==e?e:i,this,t)}),(function(e){return n.serialize(e,this,t)}),$.Z.getInitialValue(r))}},{key:"byRef",value:function(e,t,r,n){return this.exportables(e).add(t,(function(e){var t=new n;return t.fromJSON(e||{}),t}),(function(e,t){return e?e.toJSON(t):null}),$.Z.getInitialValue(r))}},{key:"byOptionalRef",value:function(e,t,r,n){return this.exportables(e).add(t,(function(e){if(null==e)return e;var t=new n;return t.fromJSON(e),t}),(function(e,t){return null==e?e:e.toJSON(t)}),$.Z.getInitialValue(r))}},{key:"byCustomRef",value:function(e,t,r,n){return this.exportables(e).add(t,(function(e){var t=n(e,this);if(!t)return null;var r="function"==typeof t?new t:t;return e&&r.fromJSON(e),r}),(function(e,t){return e?e.toJSON(t):null}),$.Z.getInitialValue(r))}},{key:"byArray",value:function(e,t,r,n){var i=this.wrapArray;return this.exportables(e).add(t,(function(e){var r=z(e)||[];return n?r:i(r,this,t)}),z,$.Z.getInitialValue(r))}},{key:"byRefArray",value:function(e,t,r,n,i){var a=this.wrapArray;return this.exportables(e).add(t,(function(e){var r=[];if(e&&e instanceof Array)for(var o=0,s=e.length;o<s;++o){var l=new n;l.fromJSON(e[o]||{}),r.push(l)}return i?r:a(r,this,t)}),(function(e,t){var r=e?e.map((function(e){return e?e.toJSON(t):null})):[];return r.base||r}),$.Z.getInitialValue(r))}},{key:"byCustomRefArray",value:function(e,t,r,n,i){var a=this.wrapArray;return this.exportables(e).add(t,(function(e){var r=[];if(e&&e.length)for(var o=0,s=e.length;o<s;++o){var l=e[o],c=n(l,this);if(c){var u="function"==typeof c?new c:c;l&&u.fromJSON(l),r.push(u)}}return i?r:a(r,this,t)}),(function(e,t){var r=e?e.map((function(e){return e?e.toJSON(t):null})):[];return r.base||r}),$.Z.getInitialValue(r))}},{key:"byMap",value:function(e,t,r,n){var i=this._mapType,a=this.wrapMap;return this.exportables(e).add(t,(function(e){var r=Object.assign({},e);return n?r:a(r,this,t)}),(function(e){var t={};if(e instanceof i){var r,n=(0,b.Z)(e.keys());try{for(n.s();!(r=n.n()).done;){var a=r.value;t[a]=e.get(a)}}catch(e){n.e(e)}finally{n.f()}}else e&&Object.assign(t,e);return t}),$.Z.getInitialValue(r))}},{key:"byRefMap",value:function(e,t,r,n,i){var a=this._mapType,o=this.wrapMap;return this.exportables(e).add(t,(function(e){var r={};for(var a in e){var s=e[a],l=new n;s&&l.fromJSON(s),r[a]=l}return i?r:o(r,this,t)}),(function(e,t){var r={};if(e instanceof a){var n,i=(0,b.Z)(e.keys());try{for(i.s();!(n=i.n()).done;){var o=n.value,s=e.get(o);r[o]=s?s.toJSON(t):null}}catch(e){i.e(e)}finally{i.f()}}else if(e)for(var l in e){var c=e[l];r[l]=c?c.toJSON(t):null}return r}),$.Z.getInitialValue(r))}},{key:"alias",value:function(e,t,r,n){this.exportables(e).alias(n,t)}}]),e}(),(0,w.Z)(f.prototype,"wrapArray",[k.Z],Object.getOwnPropertyDescriptor(f.prototype,"wrapArray"),f.prototype),(0,w.Z)(f.prototype,"wrapMap",[k.Z],Object.getOwnPropertyDescriptor(f.prototype,"wrapMap"),f.prototype),(0,w.Z)(f.prototype,"byVal",[n],Object.getOwnPropertyDescriptor(f.prototype,"byVal"),f.prototype),(0,w.Z)(f.prototype,"byBooleanVal",[i],Object.getOwnPropertyDescriptor(f.prototype,"byBooleanVal"),f.prototype),(0,w.Z)(f.prototype,"byNumberVal",[a],Object.getOwnPropertyDescriptor(f.prototype,"byNumberVal"),f.prototype),(0,w.Z)(f.prototype,"bySimpleVal",[o],Object.getOwnPropertyDescriptor(f.prototype,"bySimpleVal"),f.prototype),(0,w.Z)(f.prototype,"byCustomVal",[s],Object.getOwnPropertyDescriptor(f.prototype,"byCustomVal"),f.prototype),(0,w.Z)(f.prototype,"byRef",[l],Object.getOwnPropertyDescriptor(f.prototype,"byRef"),f.prototype),(0,w.Z)(f.prototype,"byOptionalRef",[c],Object.getOwnPropertyDescriptor(f.prototype,"byOptionalRef"),f.prototype),(0,w.Z)(f.prototype,"byCustomRef",[u],Object.getOwnPropertyDescriptor(f.prototype,"byCustomRef"),f.prototype),(0,w.Z)(f.prototype,"byArray",[p],Object.getOwnPropertyDescriptor(f.prototype,"byArray"),f.prototype),(0,w.Z)(f.prototype,"byRefArray",[d],Object.getOwnPropertyDescriptor(f.prototype,"byRefArray"),f.prototype),(0,w.Z)(f.prototype,"byCustomRefArray",[m],Object.getOwnPropertyDescriptor(f.prototype,"byCustomRefArray"),f.prototype),(0,w.Z)(f.prototype,"byMap",[h],Object.getOwnPropertyDescriptor(f.prototype,"byMap"),f.prototype),(0,w.Z)(f.prototype,"byRefMap",[v],Object.getOwnPropertyDescriptor(f.prototype,"byRefMap"),f.prototype),(0,w.Z)(f.prototype,"alias",[g],Object.getOwnPropertyDescriptor(f.prototype,"alias"),f.prototype),f)},20576:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d});var n=r(89211),i=r(143681),a=(r(457685),r(573467),r(373636),r(582909),r(426968)),o=r(489955),s=r(741486),l=r.n(s),c=r(29695),u=r.n(c);function p(e,t,r,n,i,o,s){var l=o[t],c=s&&s[i],u=void 0!==c?c:e.defaultValue,p=e.fromJSON.call(o,u),d=a.Z.triggerNoArgs;if(l!==p){o[t]=p;var m=o[r];m?m.triggerNoArgs():o[r]=d(o,n)}}var d=function(){function e(t){(0,n.Z)(this,e);var r=t&&t.exportables;this.properties=r?l()(r.properties):[],this.aliases=r?l()(r.aliases):{},this.prototype=t}return(0,i.Z)(e,[{key:"alias",value:function(e,t){var r=this.aliases;r||(r=this.aliases={}),r[t]=e}},{key:"getJsonName",value:function(e){var t=this.aliases;return t&&t.hasOwnProperty(e)?t[e]:e}},{key:"add",value:function(e,t,r,n,i){var a="_"+e;return this.properties.push({name:e,key:a,toJSON:r,fromJSON:t,defaultValue:n,config:i}),{enumerable:!0,configurable:!1,get:function(){return o.Z.active&&o.Z.recordEvent(this,e),this[a]},set:function(t){var r=this[a];r!==t&&(this[a]=t,o.Z.recordChange(this,e,t,r))}}}},{key:"computeJSONMethod",value:function(){for(var e=[],t=this.properties,r=0,n=t.length;r<n;++r){var i=t[r],a=i.name,o=this.getJsonName(i.name),s=i.key,l=i.key+"_signal";e.push(p.bind(this,i,s,l,a,o))}this.fromJSON=function(t,r){return e.forEach((function(e){return e(t,r)})),t}}},{key:"fromJSON",value:function(e,t){return this.computeJSONMethod(),this.fromJSON(e,t)}},{key:"toJSON",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r={},n=this.properties,i=0,a=n.length;i<a;++i){var s=n[i];o.Z.active&&o.Z.recordEvent(e,s.name);var l=s.toJSON.call(e,e[s.key],t);!t&&u()(l,s.defaultValue)||(r[this.getJsonName(s.name)]=l)}return r}}]),e}()},565803:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=new(r(519299).Z)("Json")},767407:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var n,i=r(143681),a=r(89211),o=r(668962),s=r(749886),l=r(588816),c=r(878537),u=r(54262),p=(r(936963),r(923304),r(785226),r(489955)),d=r(713761);e=r.hmd(e);var m=p.Z.recordEvent,h=p.Z.recordChange,v=(0,l.Z)((0,u.Z)("UIComponent"),e,"UIComponent")(n=function(e){(0,o.Z)(r,e);var t=(0,s.Z)(r);function r(){return(0,a.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r)}(c.Z))||n;function g(e,t,r){if(!r.get)throw new Error("@Cache can only be applied on getters.");if("function"==typeof e)throw new Error("@Cache cannot be used with static getters.");if(!(e instanceof d.Z||e instanceof v.__proto__))throw new Error("@Cache can only be used on a Disposable class.");var n="_"+t,i="_binder_"+t,a=function(){if(p.Z.mutator){var e=this[n],r=this[i].get();if(e===r)return;return this[n]=r,void h(this,t,r,e)}h(this,t)},o=r.get;r.get=function(){p.Z.active&&m(this,t);var e=this[i];if(!e){var r=o.bind(this);e=this.link(new p.Z(r,void 0,!0,a.bind(this),void 0,this)),this[i]=e,this[n]=e.previousValue}return e.dirty&&(this[n]=e.get()),this[n]}}},637778:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var n=r(89211),i=r(143681),a=r(668962),o=r(749886),s=(r(785226),r(466407),r(474787)),l=r(112957),c=r(972574),u={autoScrollRegionSize:50,minVelocity:.5,maxVelocity:2.5,verticalScroll:!0,horizontalScroll:!1},p=function(e){(0,a.Z)(r,e);var t=(0,o.Z)(r);function r(){var e;return(0,n.Z)(this,r),(e=t.call(this)).uiLoop=e.link(new s.Z),e.velocity={x:0,y:0},e.listenTo(e.uiLoop,"tick",e.tick),e.averageVelocityX=new c.Z(5),e.averageVelocityY=new c.Z(5),e}return(0,i.Z)(r,[{key:"start",value:function(e){this.bounds=e,this.options=u,this.uiLoop.start(),this.lastTickTime=Date.now()}},{key:"clear",value:function(){this.velocity={x:0,y:0}}},{key:"setCoords",value:function(e,t){if(!this.bounds||!this.options.horizontalScroll&&(e<this.bounds.left||e>this.bounds.right)||!this.options.verticalScroll&&(t<this.bounds.top||t>this.bounds.bottom))this.clear();else{var r,n,i=this.options.autoScrollRegionSize,a=this.bounds.left+i,o=this.bounds.right-i,s=this.bounds.top+i,l=this.bounds.bottom-i;e<a?r=a-e:e>o&&(r=o-e),t<s?n=s-t:t>l&&(n=l-t),this.velocity={x:0,y:0},r&&(this.velocity.x=Math.min(Math.abs(r),i)/i,this.velocity.x*=-Math.sign(r)),n&&(this.velocity.y=Math.min(Math.abs(n),i)/i,this.velocity.y*=-Math.sign(n))}}},{key:"stop",value:function(){this.uiLoop.stop()}},{key:"tick",value:function(){var e,t,r=this.options.minVelocity,n=this.options.maxVelocity,i=Date.now(),a=i-this.lastTickTime;this.lastTickTime=i;var o={};0!==this.velocity.x?(e=Math.round(Math.max(Math.abs(this.velocity.x)*n,r)*a),e=Math.max(e,r),e*=Math.sign(this.velocity.x),o.x=e,this.averageVelocityX.addItem(this.velocity.x)):this.averageVelocityX.average&&(o.velocityX=this.averageVelocityX.average,this.averageVelocityX.clear()),0!==this.velocity.y?(t=Math.round(Math.max(Math.abs(this.velocity.y)*n,r)*a),t=Math.max(t,r),t*=Math.sign(this.velocity.y),o.y=t,this.averageVelocityY.addItem(this.velocity.y)):this.averageVelocityY.average&&(o.velocityY=this.averageVelocityY.average,this.averageVelocityY.clear()),this.trigger("update",o)}}]),r}(l.Z)},156865:(e,t,r)=>{"use strict";r.d(t,{Z:()=>P});var n,i,a,o,s,l,c,u=r(685271),p=r(878537),d=r(568121),m=r(236229),h=r(668962),v=r(749886),g=r(282466),f=r(143681),b=r(89211),y=r(673136),_=r(588816),w=r(54262),k=r(412333),Z=r(704083),x=r(548967),S=(r(913688),r(420531)),$=r(973270);e=r.hmd(e);var A={make:function(e){return A=e.makeComponent(d.Z,{args:1,props:{getCollection:function(e){return e.$_scope._this.views}},blocks:[{name:"children",template:u.ZP.make({render:function(e,t){var r=t.itemView_base=t.$_parent.$_scope.itemView,n=t.itemView=C.make(e,r).make(e);n.$_parent=t,n.template.run(e,n)},dispose:function(e,t){t.itemView.template.dispose(e,t.itemView)},move:function(e,t){t.itemView.template.move(e,t.itemView)},reuse:function(e,t){var r=t.$_parent.$_scope.itemView;if(r!==t.itemView_base){t.itemView_base=r;var n=C.make(e,r).make(e);n.$_parent=t,e.replaceTemplate(t.itemView,n),t.itemView=n}else t.itemView.template.reuse(e,t.itemView)},firstChild:function(e,t){return t.itemView.template.firstChild(e,t.itemView)},lastChild:function(e,t){return t.itemView.template.lastChild(e,t.itemView)}})}]}),A.make(e)}},C={make:function(e,t){return(C=p.Z.makeDynamic({attributes:[{name:"virtualItem",get:function(){var e=this.$_view;if(e)return e.$_parent.v0.virtualItem},original:"virtual-item",set:function(e){var t=this.$_view;t&&(t.$_parent.v0.virtualItem=e)}}]})).make(e,t)}},T=(n=(0,f.Z)((function e(){(0,b.Z)(this,e),(0,g.Z)(this,"virtualItem",i,this)})),i=(0,y.Z)(n.prototype,"virtualItem",[x.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),n),P=(0,_.Z)((0,w.Z)("RecyclerView"),e,"RecyclerView")((o=function(e){(0,h.Z)(r,e);var t=(0,v.Z)(r);function r(){var e;(0,b.Z)(this,r),e=t.call(this),(0,g.Z)(e,"view",s,(0,m.Z)(e)),(0,g.Z)(e,"collection",l,(0,m.Z)(e)),(0,g.Z)(e,"capacity",c,(0,m.Z)(e));for(var n=new Array(e.capacity),i=0;i<n.length;++i)n[i]=new T;return e.views=new S.Z(n),e.watchCollection((function(){return e.collection}),e.updateVisibleViews),e}return(0,f.Z)(r,[{key:"updateVisibleViews",value:function(e){if(e){for(var t=this.itemById||{},r={},n=this.views.length,i=new Array(n),a=0;a<n;++a)i[a]=!1;for(var o=[],s=0,l=e.length;s<l;++s){var c=e[s],u=(0,$.Z)(c);if(t.hasOwnProperty(u)){var p=t[u];r[u]=p,i[p]=!0}else o.push(c)}for(var d=0,m=0,h=0,v=o.length;h<v;++h){for(var g=o[h],f=(0,$.Z)(g);d<n&&i[d];++d);var b=void 0,y=void 0;d<n?(b=this.views.base[d],i[y=d]=!0):(++m,b=new T,y=this.views.length,this.views.push(b)),r[f]=y,b.virtualItem=g}if(!m)for(var _=0;_<n;++_)i[_]||(this.views.base[_].virtualItem=null);this.itemById=r}}},{key:"render",value:function(){var e=this.view;return{template:A,itemView:e,_this:this}}}]),r}(p.Z),s=(0,y.Z)(o.prototype,"view",[Z.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,y.Z)(o.prototype,"collection",[Z.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,y.Z)(o.prototype,"capacity",[Z.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 10}}),(0,y.Z)(o.prototype,"updateVisibleViews",[k.Z],Object.getOwnPropertyDescriptor(o.prototype,"updateVisibleViews"),o.prototype),a=o))||a},318266:(e,t,r)=>{"use strict";r.d(t,{Z:()=>or});var n=r(685271),i=(r(304834),r(504397)),a=r(519055),o=r(282466),s=r(89211),l=r(143681),c=r(236229),u=r(668962),p=r(749886),d=r(673136),m=r(725115),h=r(588816),v=r(878537),g=r(54262),f=r(600531),b=r(412333),y=r(491464),_=r(548967),w=r(704083),k=(r(35812),r(785226),r(470373),r(19067),r(913688),r(753194)),Z=r(370832),x=r(380349),S=r(991815),$=r(584438),A=r(951160),C=r(406105);function T(e,t,r){var n=t[e];if(!n){var i=r.getBoundingClientRect(),a=i.left,o=i.top,s=i.width,l=i.height;t[e]=n=C.Z.create(a,o),t[e].width=s,t[e].height=l}return t.current.clone().scaleAndMove(n,-1)}var P,z,E,O,I,R,j,N,D,L,M,B,F,H,U,q,V,W,J,G,K,Y,X,Q,ee,te,re,ne,ie,ae,oe,se,le,ce,ue,pe,de,me,he,ve=function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(e,n){var i;return(0,s.Z)(this,r),(i=t.call(this,e)).scroll=n,i}return(0,l.Z)(r,[{key:"getScrollBarModel",value:function(e){return"scrollbar"===this.state.interactionName?e.model:null}},{key:"priority",get:function(){if(1!==this.touches.length)return!1;if(null!==this.scroll&&null!==this.scroll.element){var e=this.touches.at(0);if(!this.scroll.element.contains(e.event.target))return!1;if(e.event.target.isContentEditable)return!1}if("drag"!==this.state.eventState){var t=this.getScrollBarModel(this.touches.at(0));if(!t||"track"!==t.type)return!1}return 100}},{key:"click",value:function(){this.active=!0,this.touch=this.touches.at(0),this.update()}},{key:"start",value:function(){this.scroll.animation.stop(),this.active=!0,this.startScrollLeft=this.scroll.requestedScrollLeft,this.startScrollTop=this.scroll.requestedScrollTop;var e=this.touch=this.touches.at(0),t=this.getScrollBarModel(e);t&&"thumb"===t.type&&(this.thumbOffset=T("thumbPosition",e,t.thumb))}},{key:"reset",value:function(){var e=this.getScrollBarModel(this.touch);e&&"background"!==e.type||this.scroll.animation.start(this.scroll.requestedScrollLeft,this.scroll.requestedScrollTop,this.touch.history.velocity),this.touch=null,this.active=!1}},{key:"update",value:function(){this.active&&this.applyTouch(this.touch)}},{key:"applyTouch",value:function(e){var t=this.getScrollBarModel(e),r=t?t.type:"background",n=this.scroll.requestedScrollLeft,i=this.scroll.requestedScrollTop;if("track"===r||"thumb"===r){var a=T("trackPosition",e,t.track);if(t.y){var o=this.scroll.verticalTrackHeight,s=this.scroll.verticalThumbHeight,l=o/e.trackPosition.height,c=a.top*l,u="track"===r?s/2:this.thumbOffset.top*l,p=o-s;i=p?Math.min(o-s,Math.max(0,c-u))*((this.scroll.contentHeight-this.scroll.innerHeight)/p):0}if(t.x){var d=this.scroll.horizontalTrackWidth,m=this.scroll.horizontalThumbWidth,h=d/e.trackPosition.width,v=a.left*h,g="track"===r?m/2:this.thumbOffset.left*h,f=d-m;n=f?Math.min(d-m,Math.max(0,v-g))*((this.scroll.contentWidth-this.scroll.innerWidth)/f):0}}else{var b=e.offset;n=this.startScrollLeft+b.left,i=this.startScrollTop+b.top}this.scroll.scrollTo(n,i,!1,!0)}}]),r}(A.Z),ge=r(180184),fe=r(637778),be=r(862156),ye=r(126752);e=r.hmd(e);var _e={make:function(e){return _e=n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(tr);er(t,r),e.attachEvent(t.div,"focus",Qt),e.attachEvent(t.div,"blur",Xt),e.attachEvent(t.div,"wheel",Yt),e.enterNode(r);var n=t.div1=e.pushTemplateNode(Kt);e.enterNode(n);var i=t.div2=e.pushTemplateNode(Kt);e.enterNode(i),e.runBinder(Jt,Wt,t,!0),e.exitNode(i),e.exitNode(n),e.runBinder(Vt,qt,t,!0),e.runBinder(Ut,Ht,t,!0),e.runBinder(Ft,Bt,t,!0),e.runBinder(Mt,Lt,t,!0),e.runBinder(Dt,Nt,t,!0),e.runBinder(jt,Rt,t,!0),e.runBinder(It,Ot,t,!0),e.runBinder(Et,zt,t,!0),e.runBinder(Pt,Tt,t,!0),e.runBinder(Ct,At,t,!0);var a=t._if=Ke.make(e);a.$_parent=t,a.template.run(e,a);var o=t._if1=we.make(e);o.$_parent=t,o.template.run(e,o),e.exitNode(r)},dispose:function(e,t){t.div._jsx_data=null,t.div1_interaction_value=void 0,t.div1._jsx_data=null,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),e.removeSignals(t.div_class_binder1,t.div_class_invalidate1),e.removeSignals(t.div_class_binder2,t.div_class_invalidate2),e.removeSignals(t.div_style_binder,t.div_style_invalidate),e.removeSignals(t.div1_class_binder,t.div1_class_invalidate),e.removeSignals(t.div1_style$45width_binder,t.div1_style$45width_invalidate),e.removeSignals(t.div1_style$45height_binder,t.div1_style$45height_invalidate),e.removeSignals(t.div1_interaction_binder,t.div1_interaction_invalidate),e.removeSignals(t.div2_class_binder,t.div2_class_invalidate),e.removeSignals(t.div2_style$45transform_binder,t.div2_style$45transform_invalidate),t._if.template.dispose(e,t._if),t._if1.template.dispose(e,t._if1),er(t,null)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){er(t,t.div),e.runBinder(Jt,Wt,t,!1),e.runBinder(Vt,qt,t,!1),e.runBinder(Ut,Ht,t,!1),e.runBinder(Ft,Bt,t,!1),e.runBinder(Mt,Lt,t,!1),e.runBinder(Dt,Nt,t,!1),e.runBinder(jt,Rt,t,!1),e.runBinder(It,Ot,t,!1),e.runBinder(Et,zt,t,!1),e.runBinder(Pt,Tt,t,!1),e.runBinder(Ct,At,t,!1),t._if.template.reuse(e,t._if),t._if1.template.reuse(e,t._if1)},init:function(e,t){t.div._jsx_data=t,t.div1._jsx_data=t},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._tabindex||(e.attr._tabindex=e.ensureAttr("tabindex")),e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._style||(e.attr._style=e.ensureAttr("style")),e.attr._style$45width||(e.attr._style$45width=e.ensureAttr("style-width")),e.attr._style$45height||(e.attr._style$45height=e.ensureAttr("style-height")),e.attr._interaction||(e.attr._interaction=e.ensureAttr("interaction")),e.attr._style$45transform||(e.attr._style$45transform=e.ensureAttr("style-transform"))}}),_e.make(e)}},we={make:function(e){return we=e.makeComponent(a.Z,{props:{getCondition:function(e){return e.$_parent.$_scope._this.shouldHorizontalScroll}},blocks:[{name:"children",template:n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(Ge);e.attachEvent(t.div,"mouseover",Je),e.enterNode(r);var n=t.div1=e.pushTemplateNode(xt);We(t,n);var i=t.div2=e.pushTemplateNode(wt);qe(t,i),e.exitNode(r),e.runBinder(He,Fe,t,!0),e.runBinder(Be,Me,t,!0),e.runBinder(Le,De,t,!0),e.runBinder(Ne,je,t,!0),e.runBinder(Re,Ie,t,!0),e.runBinder(Oe,Ee,t,!0),e.runBinder(ze,Pe,t,!0),e.runBinder(Te,Ce,t,!0),e.runBinder(Ae,$e,t,!0),e.runBinder(Se,xe,t,!0),e.runBinder(Ze,ke,t,!0)},dispose:function(e,t){t.div._jsx_data=null,t.div1_interaction_value=void 0,t.div1._jsx_data=null,t.div2_interaction_value=void 0,t.div2._jsx_data=null,e.removeSignals(t.div_class_binder,t.div_class_invalidate),e.removeSignals(t.div1_class_binder,t.div1_class_invalidate),e.removeSignals(t.div1_style$45transform_binder,t.div1_style$45transform_invalidate),e.removeSignals(t.div1_style$45width_binder,t.div1_style$45width_invalidate),e.removeSignals(t.div1_style$45height_binder,t.div1_style$45height_invalidate),e.removeSignals(t.div1_interaction_binder,t.div1_interaction_invalidate),e.removeSignals(t.div2_class_binder,t.div2_class_invalidate),e.removeSignals(t.div2_style$45transform_binder,t.div2_style$45transform_invalidate),e.removeSignals(t.div2_style$45width_binder,t.div2_style$45width_invalidate),e.removeSignals(t.div2_style$45height_binder,t.div2_style$45height_invalidate),e.removeSignals(t.div2_interaction_binder,t.div2_interaction_invalidate),We(t,null),qe(t,null)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){We(t,t.div1),qe(t,t.div2),e.runBinder(He,Fe,t,!1),e.runBinder(Be,Me,t,!1),e.runBinder(Le,De,t,!1),e.runBinder(Ne,je,t,!1),e.runBinder(Re,Ie,t,!1),e.runBinder(Oe,Ee,t,!1),e.runBinder(ze,Pe,t,!1),e.runBinder(Te,Ce,t,!1),e.runBinder(Ae,$e,t,!1),e.runBinder(Se,xe,t,!1),e.runBinder(Ze,ke,t,!1)},init:function(e,t){t.div._jsx_data=t,t.div1._jsx_data=t,t.div2._jsx_data=t},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._style$45transform||(e.attr._style$45transform=e.ensureAttr("style-transform")),e.attr._style$45width||(e.attr._style$45width=e.ensureAttr("style-width")),e.attr._style$45height||(e.attr._style$45height=e.ensureAttr("style-height")),e.attr._interaction||(e.attr._interaction=e.ensureAttr("interaction"))}})}]}),we.make(e)}};function ke(e,t,r,n,i,a,o){t.div2_interaction_binder=r,t.div2_interaction_invalidate=n;var s=t.div2_interaction_value;(a||s!==i)&&(t.div2_interaction_value=i,t.div2_interaction_state=e.attr._interaction(t.div2,"interaction",i,t.div2_interaction_state,Ue,e,o))}function Ze(e){return{name:"scrollbar",model:{type:"thumb",x:!0,y:0,track:e.$_parent.$_parent.$_scope._this.horizontalTrack,thumb:e.$_parent.$_parent.$_scope._this.horizontalThumb}}}function xe(e,t,r,n,i,a){t.div2_style$45height_binder=r,t.div2_style$45height_invalidate=n;var o=t.div2_style$45height_value;(a||o!==i)&&(t.div2_style$45height_value=i,t.div2_style$45height_state=e.attr._style$45height(t.div2,"style-height",i,t.div2_style$45height_state))}function Se(e){return e.$_parent.$_parent.$_scope._this.horizontalThumbHeight}function $e(e,t,r,n,i,a){t.div2_style$45width_binder=r,t.div2_style$45width_invalidate=n;var o=t.div2_style$45width_value;(a||o!==i)&&(t.div2_style$45width_value=i,t.div2_style$45width_state=e.attr._style$45width(t.div2,"style-width",i,t.div2_style$45width_state))}function Ae(e){return e.$_parent.$_parent.$_scope._this.horizontalThumbWidth}function Ce(e,t,r,n,i,a){t.div2_style$45transform_binder=r,t.div2_style$45transform_invalidate=n;var o=t.div2_style$45transform_value;(a||o!==i)&&(t.div2_style$45transform_value=i,t.div2_style$45transform_state=e.attr._style$45transform(t.div2,"style-transform",i,t.div2_style$45transform_state))}function Te(e){return e.$_parent.$_parent.$_scope._this.horizontalThumbTransform}function Pe(e,t,r,n,i,a){t.div2_class_binder=r,t.div2_class_invalidate=n;var o=t.div2_class_value;(a||o!==i)&&(t.div2_class_value=i,t.div2_class_state=e.attr._class(t.div2,"class",i,t.div2_class_state))}function ze(e){return be.Z.thumb}function Ee(e,t,r,n,i,a,o){t.div1_interaction_binder=r,t.div1_interaction_invalidate=n;var s=t.div1_interaction_value;(a||s!==i)&&(t.div1_interaction_value=i,t.div1_interaction_state=e.attr._interaction(t.div1,"interaction",i,t.div1_interaction_state,Ve,e,o))}function Oe(e){return{name:"scrollbar",model:{type:"track",x:!0,y:0,track:e.$_parent.$_parent.$_scope._this.horizontalTrack}}}function Ie(e,t,r,n,i,a){t.div1_style$45height_binder=r,t.div1_style$45height_invalidate=n;var o=t.div1_style$45height_value;(a||o!==i)&&(t.div1_style$45height_value=i,t.div1_style$45height_state=e.attr._style$45height(t.div1,"style-height",i,t.div1_style$45height_state))}function Re(e){return e.$_parent.$_parent.$_scope._this.horizontalTrackHeight}function je(e,t,r,n,i,a){t.div1_style$45width_binder=r,t.div1_style$45width_invalidate=n;var o=t.div1_style$45width_value;(a||o!==i)&&(t.div1_style$45width_value=i,t.div1_style$45width_state=e.attr._style$45width(t.div1,"style-width",i,t.div1_style$45width_state))}function Ne(e){return e.$_parent.$_parent.$_scope._this.horizontalTrackWidth}function De(e,t,r,n,i,a){t.div1_style$45transform_binder=r,t.div1_style$45transform_invalidate=n;var o=t.div1_style$45transform_value;(a||o!==i)&&(t.div1_style$45transform_value=i,t.div1_style$45transform_state=e.attr._style$45transform(t.div1,"style-transform",i,t.div1_style$45transform_state))}function Le(e){return e.$_parent.$_parent.$_scope._this.horizontalTrackTransform}function Me(e,t,r,n,i,a){t.div1_class_binder=r,t.div1_class_invalidate=n;var o=t.div1_class_value;(a||o!==i)&&(t.div1_class_value=i,t.div1_class_state=e.attr._class(t.div1,"class",i,t.div1_class_state))}function Be(e){return be.Z.track}function Fe(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function He(e){return be.Z.scrollbar}function Ue(e){var t=this._jsx_data;t&&t.div2_interaction_state.onEvent(t,t.div2,e,t.div2_interaction_value)}function qe(e,t){e.$_parent.$_parent.$_scope._this.horizontalThumb=t}function Ve(e){var t=this._jsx_data;t&&t.div1_interaction_state.onEvent(t,t.div1,e,t.div1_interaction_value)}function We(e,t){e.$_parent.$_parent.$_scope._this.horizontalTrack=t}function Je(){var e=this._jsx_data;e&&e.$_parent.$_parent.$_scope._this.thumbHover()}var Ge=(0,i.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","torq-scrollbar-horizontal"),t})),Ke={make:function(e){return Ke=e.makeComponent(a.Z,{props:{getCondition:function(e){return e.$_parent.$_scope._this.shouldVerticalScroll}},blocks:[{name:"children",template:n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode($t);e.attachEvent(t.div,"mouseover",St),e.enterNode(r);var n=t.div1=e.pushTemplateNode(xt);Zt(t,n);var i=t.div2=e.pushTemplateNode(wt);_t(t,i),e.exitNode(r),e.runBinder(bt,ft,t,!0),e.runBinder(gt,vt,t,!0),e.runBinder(ht,mt,t,!0),e.runBinder(dt,pt,t,!0),e.runBinder(ut,ct,t,!0),e.runBinder(lt,st,t,!0),e.runBinder(ot,at,t,!0),e.runBinder(it,nt,t,!0),e.runBinder(rt,tt,t,!0),e.runBinder(et,Qe,t,!0),e.runBinder(Xe,Ye,t,!0)},dispose:function(e,t){t.div._jsx_data=null,t.div1_interaction_value=void 0,t.div1._jsx_data=null,t.div2_interaction_value=void 0,t.div2._jsx_data=null,e.removeSignals(t.div_class_binder,t.div_class_invalidate),e.removeSignals(t.div1_class_binder,t.div1_class_invalidate),e.removeSignals(t.div1_style$45transform_binder,t.div1_style$45transform_invalidate),e.removeSignals(t.div1_style$45width_binder,t.div1_style$45width_invalidate),e.removeSignals(t.div1_style$45height_binder,t.div1_style$45height_invalidate),e.removeSignals(t.div1_interaction_binder,t.div1_interaction_invalidate),e.removeSignals(t.div2_class_binder,t.div2_class_invalidate),e.removeSignals(t.div2_style$45transform_binder,t.div2_style$45transform_invalidate),e.removeSignals(t.div2_style$45width_binder,t.div2_style$45width_invalidate),e.removeSignals(t.div2_style$45height_binder,t.div2_style$45height_invalidate),e.removeSignals(t.div2_interaction_binder,t.div2_interaction_invalidate),Zt(t,null),_t(t,null)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){Zt(t,t.div1),_t(t,t.div2),e.runBinder(bt,ft,t,!1),e.runBinder(gt,vt,t,!1),e.runBinder(ht,mt,t,!1),e.runBinder(dt,pt,t,!1),e.runBinder(ut,ct,t,!1),e.runBinder(lt,st,t,!1),e.runBinder(ot,at,t,!1),e.runBinder(it,nt,t,!1),e.runBinder(rt,tt,t,!1),e.runBinder(et,Qe,t,!1),e.runBinder(Xe,Ye,t,!1)},init:function(e,t){t.div._jsx_data=t,t.div1._jsx_data=t,t.div2._jsx_data=t},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._style$45transform||(e.attr._style$45transform=e.ensureAttr("style-transform")),e.attr._style$45width||(e.attr._style$45width=e.ensureAttr("style-width")),e.attr._style$45height||(e.attr._style$45height=e.ensureAttr("style-height")),e.attr._interaction||(e.attr._interaction=e.ensureAttr("interaction"))}})}]}),Ke.make(e)}};function Ye(e,t,r,n,i,a,o){t.div2_interaction_binder=r,t.div2_interaction_invalidate=n;var s=t.div2_interaction_value;(a||s!==i)&&(t.div2_interaction_value=i,t.div2_interaction_state=e.attr._interaction(t.div2,"interaction",i,t.div2_interaction_state,yt,e,o))}function Xe(e){return{name:"scrollbar",model:{type:"thumb",x:0,y:!0,track:e.$_parent.$_parent.$_scope._this.verticalTrack,thumb:e.$_parent.$_parent.$_scope._this.verticalThumb}}}function Qe(e,t,r,n,i,a){t.div2_style$45height_binder=r,t.div2_style$45height_invalidate=n;var o=t.div2_style$45height_value;(a||o!==i)&&(t.div2_style$45height_value=i,t.div2_style$45height_state=e.attr._style$45height(t.div2,"style-height",i,t.div2_style$45height_state))}function et(e){return e.$_parent.$_parent.$_scope._this.verticalThumbHeight}function tt(e,t,r,n,i,a){t.div2_style$45width_binder=r,t.div2_style$45width_invalidate=n;var o=t.div2_style$45width_value;(a||o!==i)&&(t.div2_style$45width_value=i,t.div2_style$45width_state=e.attr._style$45width(t.div2,"style-width",i,t.div2_style$45width_state))}function rt(e){return e.$_parent.$_parent.$_scope._this.verticalThumbWidth}function nt(e,t,r,n,i,a){t.div2_style$45transform_binder=r,t.div2_style$45transform_invalidate=n;var o=t.div2_style$45transform_value;(a||o!==i)&&(t.div2_style$45transform_value=i,t.div2_style$45transform_state=e.attr._style$45transform(t.div2,"style-transform",i,t.div2_style$45transform_state))}function it(e){return e.$_parent.$_parent.$_scope._this.verticalThumbTransform}function at(e,t,r,n,i,a){t.div2_class_binder=r,t.div2_class_invalidate=n;var o=t.div2_class_value;(a||o!==i)&&(t.div2_class_value=i,t.div2_class_state=e.attr._class(t.div2,"class",i,t.div2_class_state))}function ot(e){return be.Z.thumb}function st(e,t,r,n,i,a,o){t.div1_interaction_binder=r,t.div1_interaction_invalidate=n;var s=t.div1_interaction_value;(a||s!==i)&&(t.div1_interaction_value=i,t.div1_interaction_state=e.attr._interaction(t.div1,"interaction",i,t.div1_interaction_state,kt,e,o))}function lt(e){return{name:"scrollbar",model:{type:"track",x:0,y:!0,track:e.$_parent.$_parent.$_scope._this.verticalTrack}}}function ct(e,t,r,n,i,a){t.div1_style$45height_binder=r,t.div1_style$45height_invalidate=n;var o=t.div1_style$45height_value;(a||o!==i)&&(t.div1_style$45height_value=i,t.div1_style$45height_state=e.attr._style$45height(t.div1,"style-height",i,t.div1_style$45height_state))}function ut(e){return e.$_parent.$_parent.$_scope._this.verticalTrackHeight}function pt(e,t,r,n,i,a){t.div1_style$45width_binder=r,t.div1_style$45width_invalidate=n;var o=t.div1_style$45width_value;(a||o!==i)&&(t.div1_style$45width_value=i,t.div1_style$45width_state=e.attr._style$45width(t.div1,"style-width",i,t.div1_style$45width_state))}function dt(e){return e.$_parent.$_parent.$_scope._this.verticalTrackWidth}function mt(e,t,r,n,i,a){t.div1_style$45transform_binder=r,t.div1_style$45transform_invalidate=n;var o=t.div1_style$45transform_value;(a||o!==i)&&(t.div1_style$45transform_value=i,t.div1_style$45transform_state=e.attr._style$45transform(t.div1,"style-transform",i,t.div1_style$45transform_state))}function ht(e){return e.$_parent.$_parent.$_scope._this.verticalTrackTransform}function vt(e,t,r,n,i,a){t.div1_class_binder=r,t.div1_class_invalidate=n;var o=t.div1_class_value;(a||o!==i)&&(t.div1_class_value=i,t.div1_class_state=e.attr._class(t.div1,"class",i,t.div1_class_state))}function gt(e){return be.Z.track}function ft(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function bt(e){return be.Z.scrollbar}function yt(e){var t=this._jsx_data;t&&t.div2_interaction_state.onEvent(t,t.div2,e,t.div2_interaction_value)}function _t(e,t){e.$_parent.$_parent.$_scope._this.verticalThumb=t}var wt=(0,i.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","torq-scrollbar-thumb"),t}));function kt(e){var t=this._jsx_data;t&&t.div1_interaction_state.onEvent(t,t.div1,e,t.div1_interaction_value)}function Zt(e,t){e.$_parent.$_parent.$_scope._this.verticalTrack=t}var xt=(0,i.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","torq-scrollbar-track"),t}));function St(){var e=this._jsx_data;e&&e.$_parent.$_parent.$_scope._this.thumbHover()}var $t=(0,i.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","torq-scrollbar-vertical"),t}));function At(e,t,r,n,i,a){t.div2_style$45transform_binder=r,t.div2_style$45transform_invalidate=n;var o=t.div2_style$45transform_value;(a||o!==i)&&(t.div2_style$45transform_value=i,t.div2_style$45transform_state=e.attr._style$45transform(t.div2,"style-transform",i,t.div2_style$45transform_state))}function Ct(e){return e.$_scope._this.scrollTransform}function Tt(e,t,r,n,i,a){t.div2_class_binder=r,t.div2_class_invalidate=n;var o=t.div2_class_value;(a||o!==i)&&(t.div2_class_value=i,t.div2_class_state=e.attr._class(t.div2,"class",i,t.div2_class_state))}function Pt(e){return be.Z.innerView}function zt(e,t,r,n,i,a,o){t.div1_interaction_binder=r,t.div1_interaction_invalidate=n;var s=t.div1_interaction_value;(a||s!==i)&&(t.div1_interaction_value=i,t.div1_interaction_state=e.attr._interaction(t.div1,"interaction",i,t.div1_interaction_state,Gt,e,o))}function Et(e){return{name:"scroll"}}function Ot(e,t,r,n,i,a){t.div1_style$45height_binder=r,t.div1_style$45height_invalidate=n;var o=t.div1_style$45height_value;(a||o!==i)&&(t.div1_style$45height_value=i,t.div1_style$45height_state=e.attr._style$45height(t.div1,"style-height",i,t.div1_style$45height_state))}function It(e){return e.$_scope._this.innerHeight}function Rt(e,t,r,n,i,a){t.div1_style$45width_binder=r,t.div1_style$45width_invalidate=n;var o=t.div1_style$45width_value;(a||o!==i)&&(t.div1_style$45width_value=i,t.div1_style$45width_state=e.attr._style$45width(t.div1,"style-width",i,t.div1_style$45width_state))}function jt(e){return e.$_scope._this.innerWidth}function Nt(e,t,r,n,i,a){t.div1_class_binder=r,t.div1_class_invalidate=n;var o=t.div1_class_value;(a||o!==i)&&(t.div1_class_value=i,t.div1_class_state=e.attr._class(t.div1,"class",i,t.div1_class_state))}function Dt(e){return be.Z.overflowView}function Lt(e,t,r,n,i,a){t.div_style_binder=r,t.div_style_invalidate=n;var o=t.div_style_value;(a||o!==i)&&(t.div_style_value=i,t.div_style_state=e.attr._style(t.div,"style",i,t.div_style_state))}function Mt(e){return e.$_scope._this.style}function Bt(e,t,r,n,i,a){t.div_class_binder2=r,t.div_class_invalidate2=n;var o=t.div_class_value2;(a||o!==i)&&(t.div_class_value2=i,t.div_class_state2=e.attr._class(t.div,"class",i,t.div_class_state2))}function Ft(e){return(0,m.Z)({},be.Z.scrollActive,e.$_scope._this.scrollActive)}function Ht(e,t,r,n,i,a){t.div_class_binder1=r,t.div_class_invalidate1=n;var o=t.div_class_value1;(a||o!==i)&&(t.div_class_value1=i,t.div_class_state1=e.attr._class(t.div,"class",i,t.div_class_state1))}function Ut(e){return e.$_scope._this.className}function qt(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function Vt(e){return be.Z.outerView}function Wt(e,t,r,n,i,a){t.div_binder=r,t.div_invalidate=n;var o=t.div_value1;(a||o!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function Jt(e){return e.$_scope._this.children}function Gt(e){var t=this._jsx_data;t&&t.div1_interaction_state.onEvent(t,t.div1,e,t.div1_interaction_value)}var Kt=(0,i.z)((function(e){return e.makeNode("div")}));function Yt(e){var t=this._jsx_data;t&&t.$_scope._this.onMouseWheel(e)}function Xt(e){var t=this._jsx_data;t&&t.$_scope._this.onBlur(e)}function Qt(e){var t=this._jsx_data;t&&t.$_scope._this.onFocus(e)}function er(e,t){e.$_scope._this.element=t}var tr=(0,i.z)((function(e){var t=e.makeNode("div");return e.attr._tabindex(t,"tabindex","1"),t})),rr=!!k.Z.navigator&&"MacIntel"!==k.Z.navigator.platform,nr=(P={},(0,m.Z)(P,0,1),(0,m.Z)(P,1,40),(0,m.Z)(P,2,400),P);function ir(e,t){return"translate3D(".concat(e,"px, ").concat(t,"px, 0)")}function ar(e){return null!=e}var or=(z=(0,h.Z)((0,g.Z)("Scroll",{events:["scroll"],fork:!0}),e,"Scroll"),E=(0,w.Z)("class"),O=(0,y.Z)(1e3),I=(0,f.Z)(101),R=(0,f.Z)(15e3),z((N=function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(){var e;(0,s.Z)(this,r),e=t.call(this),(0,o.Z)(e,"className",D,(0,c.Z)(e)),(0,o.Z)(e,"style",L,(0,c.Z)(e)),(0,o.Z)(e,"verticalScroll",M,(0,c.Z)(e)),(0,o.Z)(e,"horizontalScroll",B,(0,c.Z)(e)),(0,o.Z)(e,"scrollInfo",F,(0,c.Z)(e)),(0,o.Z)(e,"handleKeyboardGlobally",H,(0,c.Z)(e)),(0,o.Z)(e,"contentWidth",U,(0,c.Z)(e)),(0,o.Z)(e,"contentHeight",q,(0,c.Z)(e)),(0,o.Z)(e,"scrollBarSize",V,(0,c.Z)(e)),(0,o.Z)(e,"scrollBarMargin",W,(0,c.Z)(e)),(0,o.Z)(e,"scrollBarPadding",J,(0,c.Z)(e)),(0,o.Z)(e,"viewWidth",G,(0,c.Z)(e)),(0,o.Z)(e,"viewHeight",K,(0,c.Z)(e)),(0,o.Z)(e,"inputConfig",Y,(0,c.Z)(e)),(0,o.Z)(e,"focusOnAttach",X,(0,c.Z)(e)),(0,o.Z)(e,"autoScroll",Q,(0,c.Z)(e)),(0,o.Z)(e,"autoScrollRegionSize",ee,(0,c.Z)(e)),(0,o.Z)(e,"autoScrollMinVelocity",te,(0,c.Z)(e)),(0,o.Z)(e,"autoScrollMaxVelocity",re,(0,c.Z)(e)),(0,o.Z)(e,"allowHtmlDrag",ne,(0,c.Z)(e)),(0,o.Z)(e,"requestedScrollLeft",ie,(0,c.Z)(e)),(0,o.Z)(e,"requestedScrollTop",ae,(0,c.Z)(e)),(0,o.Z)(e,"directionLeft",oe,(0,c.Z)(e)),(0,o.Z)(e,"directionTop",se,(0,c.Z)(e)),(0,o.Z)(e,"displayScrollLeft",le,(0,c.Z)(e)),(0,o.Z)(e,"displayScrollTop",ce,(0,c.Z)(e)),(0,o.Z)(e,"scrolling",ue,(0,c.Z)(e)),(0,o.Z)(e,"trackHovered",pe,(0,c.Z)(e)),(0,o.Z)(e,"pauseScrolling",de,(0,c.Z)(e)),(0,o.Z)(e,"offsetX",me,(0,c.Z)(e)),(0,o.Z)(e,"offsetY",he,(0,c.Z)(e)),e.userEvent=!1,e.animation=e.link(new ge.Z),e.autoScrollAnimation=e.link(new fe.Z);var n=e.scope.touchMapper;return n||(n=e.scope.touchMapper=e.link(new Z.Z(e.inputConfig,x.ZP,e.allowHtmlDrag))),e.initScrollInteraction(),e.watch((function(){return e.style}),e.updateSize),e.watch((function(){return e.className}),e.updateSize),e.watch((function(){return e.verticalScroll}),e.updateScroll),e.watch((function(){return e.horizontalScroll}),e.updateScroll),e.watch((function(){return e.contentWidth}),e.updateScroll),e.watch((function(){return e.contentHeight}),e.updateScroll),e.watch((function(){return e.scrollBarSize}),e.updateScroll),e.watch((function(){return e.scrollBarMargin}),e.updateScroll),e.watch((function(){return e.scrollBarPadding}),e.updateScroll),e.listenTo(e.autoScrollAnimation,"update",e.onAutoScrollUpdate),e.listenTo(e.animation,"update",e.onAnimationUpdate),e.scrollInfo&&e.scrollInfo.keyboardEnabled&&(e.keyboardManager=e.link(new S.Z((0,c.Z)(e),$.Z,e.keyHandlers)),e.keyboardMove=e.scrollInfo&&e.scrollInfo.keyboardMove?e.scrollInfo.keyboardMove:40),e}return(0,l.Z)(r,[{key:"initScrollInteraction",value:function(){this.scrollInteraction=this.link(new ve(this.scope.touchMapper,this))}},{key:"removeScrolling",value:function(){this.scrolling=!1,this.trackHovered=!1}},{key:"scrollKeyboardAnimated",value:function(e,t){this.animationEnabled?this.animateTo(e,t):this.scrollTo(e,t,!1,!0)}},{key:"animateTo",value:function(e,t){this.animation.scroll(this.displayScrollLeft,this.displayScrollTop,e,t,this.scrollInfo)}},{key:"animationEnabled",get:function(){return!!this.scrollInfo&&("keyboard"===this.scrollInfo.animation||"enabled"===this.scrollInfo.animation)}},{key:"onFocus",value:function(){this.focused=!0}},{key:"onBlur",value:function(){this.focused=!1}},{key:"updateAutoScroll",value:function(){var e=this.scope.touchMapper.touchManager.touches;if(1===e.length){var t=e.at(0).event,r=t.clientX,n=t.clientY;this.autoScrollAnimation.setCoords(r,n)}else this.autoScrollAnimation.clear()}},{key:"onStart",value:function(){this.autoScroll&&!this.scrollInteraction.active&&(this.listenTo(this.scope.touchMapper.touchManager,"update",this.onUpdate),this.listenTo(this.scope.touchMapper.touchManager,"end",this.onEnd),this.autoScrollAnimation.start(this.element.getBoundingClientRect(),{autoScrollRegionSize:this.autoScrollRegionSize,minVelocity:this.autoScrollMinVelocity,maxVelocity:this.autoScrollMaxVelocity,verticalScroll:this.verticalScroll,horizontalScroll:this.horizontalScroll}),this.updateAutoScroll())}},{key:"onEnd",value:function(){this.stopListening(this.scope.touchMapper.touchManager,"update",this.onUpdate),this.stopListening(this.scope.touchMapper.touchManager,"end",this.onEnd),this.autoScrollAnimation.stop()}},{key:"onUpdate",value:function(){this.updateAutoScroll()}},{key:"canHandleKeyEvent",value:function(){return this.focused||this.handleKeyboardGlobally}},{key:"handleKeyEvent",value:function(e){e.stopPropagation(),e.preventDefault()}},{key:"keyHandlers",get:function(){var e=this;return{"move-down:down":function(t){e.canHandleKeyEvent(t)&&(e.handleKeyEvent(t),e.scrollKeyboardAnimated(e.displayScrollLeft,e.requestedScrollTop+40))},"move-up:down":function(t){e.canHandleKeyEvent(t)&&(e.handleKeyEvent(t),e.scrollKeyboardAnimated(e.displayScrollLeft,e.requestedScrollTop-40))},"meta-up:down":function(t){e.canHandleKeyEvent(t)&&(e.handleKeyEvent(t),e.scrollKeyboardAnimated(e.displayScrollLeft,0))},"meta-down:down":function(t){e.canHandleKeyEvent(t)&&(e.handleKeyEvent(t),e.scrollKeyboardAnimated(e.displayScrollLeft,e.contentHeight))},"page-down:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.displayScrollLeft,e.requestedScrollTop+e.innerHeight))},"page-up:down":function(t){e.canHandleKeyEvent(t)&&(e.handleKeyEvent(t),e.scrollKeyboardAnimated(e.displayScrollLeft,e.requestedScrollTop-e.innerHeight))},"home:down":function(t){e.canHandleKeyEvent(t)&&(e.handleKeyEvent(t),e.scrollKeyboardAnimated(e.displayScrollLeft,0))},"end:down":function(t){e.canHandleKeyEvent(t)&&(e.handleKeyEvent(t),e.scrollKeyboardAnimated(e.displayScrollLeft,e.contentHeight))},"move-left:down":function(t){e.canHandleKeyEvent(t)&&(e.handleKeyEvent(t),e.scrollKeyboardAnimated(e.requestedScrollLeft-e.keyboardMove,e.displayScrollTop))},"move-right:down":function(t){e.canHandleKeyEvent(t)&&(e.handleKeyEvent(t),e.scrollKeyboardAnimated(e.requestedScrollLeft+e.keyboardMove,e.displayScrollTop))},"meta-left:down":function(t){e.canHandleKeyEvent(t)&&(e.handleKeyEvent(t),e.scrollKeyboardAnimated(0,e.displayScrollTop))},"meta-right:down":function(t){e.canHandleKeyEvent(t)&&(e.handleKeyEvent(t),e.scrollKeyboardAnimated(e.contentWidth,e.displayScrollTop))}}}},{key:"attached",value:function(){this.updateSize(),this.resizeLink=this.link((0,ye.Oo)(window,"resize",this.updateSize)),this.focusOnAttach&&this.element.focus(),this.listenTo(this.scope.touchMapper.touchManager,"start",this.onStart)}},{key:"detached",value:function(){this.resizeLink&&(this.disposeLink(this.resizeLink),this.resizeLink=null)}},{key:"onAutoScrollUpdate",value:function(e){if(ar(e.x)||ar(e.y)){var t=this.displayScrollLeft,r=this.displayScrollTop;this.verticalScroll&&ar(e.y)&&(r+=e.y),this.horizontalScroll&&ar(e.x)&&(t+=e.x),this.scrollTo(t,r,!1,!0)}else if(ar(e.velocityX)||ar(e.velocityY)){var n={left:e.velocityX?e.velocityX:0,top:e.velocityY?e.velocityY:0};this.animation.start(this.displayScrollLeft,this.displayScrollTop,n)}}},{key:"updateSizeImpl",value:function(){this.element&&(this.viewWidth=this.element.clientWidth,this.viewHeight=this.element.clientHeight,this.updateScroll())}},{key:"updateSize",value:function(){this.updateSizeImpl()}},{key:"innerWidth",get:function(){return this.viewWidth-(this.verticalScroll?this.scrollBarPadding:0)}},{key:"innerHeight",get:function(){return this.viewHeight-(this.horizontalScroll?this.scrollBarPadding:0)}},{key:"scrollTopAmount",get:function(){return this.requestedScrollTop-this.displayScrollTop}},{key:"scrollLeftAmount",get:function(){return this.requestedScrollLeft-this.displayScrollLeft}},{key:"shouldVerticalScroll",get:function(){return this.verticalScroll&&this.contentHeight>this.innerHeight}},{key:"shouldHorizontalScroll",get:function(){return this.horizontalScroll&&this.contentWidth>this.innerWidth}},{key:"onAnimationUpdate",value:function(e,t){this.request(e,t),this.updateScroll()}},{key:"updateScroll",value:function(){this.updateScrollNow()}},{key:"updateScrollNow",value:function(){this.pauseScrolling||(this.displayScrollLeft=this.requestedScrollLeft=this.horizontalScroll?Math.min(Math.max(0,this.requestedScrollLeft),Math.max(0,this.contentWidth-this.innerWidth)):0,this.displayScrollTop=this.requestedScrollTop=this.verticalScroll?Math.min(Math.max(0,this.requestedScrollTop),Math.max(0,this.contentHeight-this.innerHeight)):0),this.updateBoundingClientRect(),this.trigger("scroll",this.userEvent),this.setupScrolling()}},{key:"updateBoundingClientRect",value:function(){var e=this.element.getBoundingClientRect();this.offsetX=this.displayScrollLeft-e.left,this.offsetY=this.displayScrollTop-e.top}},{key:"request",value:function(e,t){this.directionLeft=t===this.requestedScrollTop?0:e>this.requestedScrollLeft?1:-1,this.directionTop=t===this.requestedScrollTop?0:t>this.requestedScrollTop?1:-1,this.requestedScrollLeft=e,this.requestedScrollTop=t}},{key:"scrollTo",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return this.userEvent=n,this.animation.stop(),e=this.horizontalScroll?Math.min(Math.max(0,e),Math.max(0,this.contentWidth-this.innerWidth)):0,t=this.verticalScroll?Math.min(Math.max(0,t),Math.max(0,this.contentHeight-this.innerHeight)):0,(this.requestedScrollLeft!==e||this.requestedScrollTop!==t)&&(this.request(e,t),r?this.updateScrollNow():this.updateScroll(),!0)}},{key:"stopScrolling",value:function(){this.pauseScrolling=!0}},{key:"restartScrolling",value:function(){this.pauseScrolling&&(this.pauseScrolling=!1,this.request(this.displayScrollLeft,this.displayScrollTop))}},{key:"setupScrolling",value:function(){this.scrolling=!0,this.removeScrolling()}},{key:"onMouseWheel",value:function(e){var t=this.animation.animationData;this.animation.stop();var r=this.scrollInfo,n=0,i=0,a=!1;if(void 0===e.deltaMode)a=!0,i=-e.wheelDelta/120,r&&(r.log="deltaMode=undefined, event.wheelDelta=".concat(e.wheelDelta));else{var o=nr[e.deltaMode];a=rr||0!==e.deltaMode,n=e.deltaX*o,i=e.deltaY*o,r&&(r.log="deltaMode=".concat(e.deltaMode,", event.deltaX=").concat(e.deltaX," event.deltaY=").concat(e.deltaY," event.wheelDelta=").concat(e.wheelDelta))}r&&("auto"!==r.animation&&(a="enabled"===r.animation),r.animationStatus=a),a&&(Math.abs(n)>100||Math.abs(i)>100)&&(n/=10,i/=10);var s,l,c=n<0?-1:1,u=i<0?-1:1;t?(s=t.finalLeft+n,l=t.finalTop+i):(s=this.requestedScrollLeft+n,l=this.requestedScrollTop+i);var p=!(c!==this.directionLeft&&0!==this.directionLeft||u!==this.directionTop&&0!==this.directionTop),d=this.horizontalScroll&&n&&s>=0&&s<=Math.max(0,this.contentWidth-this.innerWidth),m=this.verticalScroll&&i&&l>=0&&l<=Math.max(0,this.contentHeight-this.innerHeight);(!p||d||m)&&e.preventDefault(),this.directionLeft=c,this.directionTop=u,this.userEvent=!0,a?this.animation.scroll(this.requestedScrollLeft,this.requestedScrollTop,s,l,r):(this.request(s,l),this.updateScroll())}},{key:"scrollTransform",get:function(){return ir(-this.displayScrollLeft,-this.displayScrollTop)}},{key:"verticalLeft",get:function(){return this.viewWidth-this.scrollBarSize-this.scrollBarMargin}},{key:"horizontalTop",get:function(){return this.viewHeight-this.scrollBarSize-this.scrollBarMargin}},{key:"verticalTrackTransform",get:function(){return ir(this.verticalLeft,this.scrollBarMargin)}},{key:"verticalTrackWidth",get:function(){return this.scrollBarSize}},{key:"verticalTrackHeight",get:function(){var e=this.viewHeight-2*this.scrollBarMargin;return this.horizontalScroll&&(e-=this.scrollBarMargin+this.scrollBarSize),e}},{key:"horizontalTrackTransform",get:function(){return ir(this.scrollBarMargin,this.horizontalTop)}},{key:"horizontalTrackWidth",get:function(){var e=this.viewWidth-2*this.scrollBarMargin;return this.verticalScroll&&(e-=this.scrollBarMargin+this.scrollBarSize),e}},{key:"horizontalTrackHeight",get:function(){return this.scrollBarSize}},{key:"verticalThumbTransform",get:function(){return ir(this.verticalLeft,this.scrollBarMargin+(this.verticalTrackHeight-this.verticalThumbHeight)*this.displayScrollTop/(this.contentHeight-this.innerHeight))}},{key:"verticalThumbWidth",get:function(){return this.scrollBarSize}},{key:"verticalThumbHeight",get:function(){return Math.max(10,Math.min(1,Math.max(0,this.innerHeight/this.contentHeight||0))*this.verticalTrackHeight)}},{key:"horizontalThumbTransform",get:function(){return ir(this.scrollBarMargin+(this.horizontalTrackWidth-this.horizontalThumbWidth)*this.displayScrollLeft/(this.contentWidth-this.innerWidth),this.horizontalTop)}},{key:"horizontalThumbWidth",get:function(){return Math.max(10,Math.min(1,Math.max(0,this.innerWidth/this.contentWidth))*this.horizontalTrackWidth)}},{key:"horizontalThumbHeight",get:function(){return this.scrollBarSize}},{key:"onVerticalTrackMouseMove",value:function(e){if(e.buttons){e.preventDefault();var t=this.verticalTrackHeight,r=this.verticalThumbHeight,n=r/2;this.requestedScrollTop=Math.min(t-r,Math.max(0,e.offsetY-n))/(t-this.verticalThumbHeight)*(this.contentHeight-this.innerHeight),this.updateScroll()}}},{key:"onHorizontalTrackMouseMove",value:function(e){if(e.buttons){e.preventDefault();var t=this.horizontalTrackWidth,r=this.horizontalThumbWidth,n=r/2;this.request(Math.min(t-r,Math.max(0,e.offsetX-n))/(t-r)*(this.contentWidth-this.innerWidth),this.requestedScrollTop),this.updateScroll()}}},{key:"scrollActive",get:function(){return this.scrolling||this.trackHovered||this.scrollInteraction.active}},{key:"thumbHover",value:function(){this.trackHovered=!0,this.removeScrolling.cancel(),this.removeScrolling()}},{key:"render",value:function(){return{template:_e,_this:this}}}]),r}(v.Z),D=(0,d.Z)(N.prototype,"className",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,d.Z)(N.prototype,"style",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,d.Z)(N.prototype,"verticalScroll",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),B=(0,d.Z)(N.prototype,"horizontalScroll",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),F=(0,d.Z)(N.prototype,"scrollInfo",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{animation:!1,duration:100,friction:100,keyboardEnabled:!0,keyboardMove:40}}}),H=(0,d.Z)(N.prototype,"handleKeyboardGlobally",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),U=(0,d.Z)(N.prototype,"contentWidth",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),q=(0,d.Z)(N.prototype,"contentHeight",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),V=(0,d.Z)(N.prototype,"scrollBarSize",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 7}}),W=(0,d.Z)(N.prototype,"scrollBarMargin",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 5}}),J=(0,d.Z)(N.prototype,"scrollBarPadding",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),G=(0,d.Z)(N.prototype,"viewWidth",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),K=(0,d.Z)(N.prototype,"viewHeight",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),Y=(0,d.Z)(N.prototype,"inputConfig",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),X=(0,d.Z)(N.prototype,"focusOnAttach",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),Q=(0,d.Z)(N.prototype,"autoScroll",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),ee=(0,d.Z)(N.prototype,"autoScrollRegionSize",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 50}}),te=(0,d.Z)(N.prototype,"autoScrollMinVelocity",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return.5}}),re=(0,d.Z)(N.prototype,"autoScrollMaxVelocity",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 2.5}}),ne=(0,d.Z)(N.prototype,"allowHtmlDrag",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ie=(0,d.Z)(N.prototype,"requestedScrollLeft",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),ae=(0,d.Z)(N.prototype,"requestedScrollTop",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),oe=(0,d.Z)(N.prototype,"directionLeft",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),se=(0,d.Z)(N.prototype,"directionTop",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),le=(0,d.Z)(N.prototype,"displayScrollLeft",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),ce=(0,d.Z)(N.prototype,"displayScrollTop",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),ue=(0,d.Z)(N.prototype,"scrolling",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),pe=(0,d.Z)(N.prototype,"trackHovered",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),de=(0,d.Z)(N.prototype,"pauseScrolling",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),me=(0,d.Z)(N.prototype,"offsetX",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),he=(0,d.Z)(N.prototype,"offsetY",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,d.Z)(N.prototype,"removeScrolling",[O],Object.getOwnPropertyDescriptor(N.prototype,"removeScrolling"),N.prototype),(0,d.Z)(N.prototype,"onStart",[b.Z],Object.getOwnPropertyDescriptor(N.prototype,"onStart"),N.prototype),(0,d.Z)(N.prototype,"onEnd",[b.Z],Object.getOwnPropertyDescriptor(N.prototype,"onEnd"),N.prototype),(0,d.Z)(N.prototype,"onUpdate",[b.Z],Object.getOwnPropertyDescriptor(N.prototype,"onUpdate"),N.prototype),(0,d.Z)(N.prototype,"updateSize",[I],Object.getOwnPropertyDescriptor(N.prototype,"updateSize"),N.prototype),(0,d.Z)(N.prototype,"updateScroll",[f.Z],Object.getOwnPropertyDescriptor(N.prototype,"updateScroll"),N.prototype),(0,d.Z)(N.prototype,"updateBoundingClientRect",[R],Object.getOwnPropertyDescriptor(N.prototype,"updateBoundingClientRect"),N.prototype),j=N))||j)},180184:(e,t,r)=>{"use strict";r.d(t,{Z:()=>b});var n,i,a,o=r(668962),s=r(749886),l=r(282466),c=r(143681),u=r(89211),p=r(673136),d=r(548967),m=(r(785226),r(474787)),h=r(112957),v=r(143e3),g=r(874647),f=(n=(0,c.Z)((function e(t,r){(0,u.Z)(this,e),(0,l.Z)(this,"left",i,this),(0,l.Z)(this,"top",a,this),this.left=t,this.top=r})),i=(0,p.Z)(n.prototype,"left",[d.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,p.Z)(n.prototype,"top",[d.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n),b=function(e){(0,o.Z)(r,e);var t=(0,s.Z)(r);function r(){var e;return(0,u.Z)(this,r),(e=t.call(this)).uiLoop=e.link(new m.Z),e.frictionLeft=new v.Z(5e-4),e.frictionTop=new v.Z(5e-4),e.listenTo(e.uiLoop,"tick",e.tick),e}return(0,c.Z)(r,[{key:"start",value:function(e,t,r){this.stop(),(r.left||r.top)&&(this.frictionLeft.set(e,1e3*r.left),this.frictionTop.set(t,1e3*r.top),this.uiLoop.start())}},{key:"scroll",value:function(e,t,r,n){var i=this,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;this.stop();var o=this.animationData=new f(e,t);this.animation=this.link(new g.Z),o.finalLeft=o.left=r,o.finalTop=o.top=n,this.animation.on("tick",(function(){return i.trigger("update",o.left,o.top)})),this.animation.on("end",(function(){return i.animationData=null})),this.animation.commit(a?a.duration:100)}},{key:"stop",value:function(){this.uiLoop.stop();var e=this.animation;e&&(e.reset(),this.disposeLink(e),this.animation=null)}},{key:"done",get:function(){return this.frictionLeft.done()&&this.frictionTop.done()}},{key:"tick",value:function(){var e=this.frictionLeft.x(),t=this.frictionTop.x();this.done&&this.stop(),this.trigger("update",e,t)}}]),r}(h.Z)},633525:(e,t,r)=>{"use strict";r.d(t,{Z:()=>b});var n,i,a,o=r(282466),s=r(89211),l=r(143681),c=r(236229),u=r(668962),p=r(749886),d=r(673136),m=r(588816),h=r(878537),v=r(54262),g=r(704083);function f(e,t){return"translate3D(".concat(e,"px, ").concat(t,"px, 0)")}r(35812),r(115884),e=r.hmd(e);var b=(0,m.Z)((0,v.Z)("VirtualItemView"),e,"VirtualItemView")((i=function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(){var e;(0,s.Z)(this,r);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return e=t.call.apply(t,[this].concat(i)),(0,o.Z)(e,"virtualItem",a,(0,c.Z)(e)),e}return(0,l.Z)(r,[{key:"itemAttributes",get:function(){var e=this;return{"style-position":"absolute","style-transform":function(){var t=e.virtualItem;return t?t.fixed?f(t.fixedLeft,t.fixedTop):f(t.left,t.top):null},"style-visibility":function(){return e.virtualItem?"visible":"hidden"},"style-width":function(){var t=e.virtualItem;return t?t.width+"px":null},"style-height":function(){var t=e.virtualItem;return t?t.height+"px":null}}}}]),r}(h.Z),a=(0,d.Z)(i.prototype,"virtualItem",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n=i))||n},26192:(e,t,r)=>{"use strict";r.d(t,{Z:()=>re});var n,i,a,o,s,l,c,u,p,d,m,h,v,g,f,b,y,_,w,k,Z,x,S,$=r(685271),A=r(878537),C=r(504397),T=r(568121),P=r(224440),z=r(400989),E=r(236229),O=r(668962),I=r(749886),R=r(282466),j=r(143681),N=r(89211),D=r(673136),L=r(588816),M=r(54262),B=r(600531),F=r(704083),H=r(548967),U=(r(785226),r(573467),r(508460),r(115884),r(913688),r(973270)),q=r(318266),V=r(702183),W=r(156865);e=r.hmd(e);var J={make:function(e){return J=$.ZP.make({render:function(e,t){var r=t.g=!e._group_g&&e.pushTemplateNode(X);r&&e.enterNode(r);var n=t.using=G.make(e);n.$_parent=t,n.template.run(e,n),r&&e.exitNode(r)},dispose:function(e,t){t.using.template.dispose(e,t.using)},move:function(e,t){t.g?e.pushNode(t.g):t.using.template.move(e,t.using)},reuse:function(e,t){t.using.template.reuse(e,t.using)},firstChild:function(e,t){return t.g||t.using.template.firstChild(e,t.using)},lastChild:function(e,t){return t.g||t.using.template.lastChild(e,t.using)}}),J.make(e)}},G={make:function(e){return G=e.makeComponent(P.Z,{args:1,props:{getValue:function(e){return e.$_parent.$_scope._this.scrollComponent}},blocks:[{name:"children",template:$.ZP.make({render:function(e,t){var r=t.scrollComponent_base=t.v0,n=t.scrollComponent=K.make(e,r).make(e);n.$_parent=t,n.template.run(e,n)},dispose:function(e,t){t.scrollComponent.template.dispose(e,t.scrollComponent)},move:function(e,t){t.scrollComponent.template.move(e,t.scrollComponent)},reuse:function(e,t){var r=t.v0;if(r!==t.scrollComponent_base){t.scrollComponent_base=r;var n=K.make(e,r).make(e);n.$_parent=t,e.replaceTemplate(t.scrollComponent,n),t.scrollComponent=n}else t.scrollComponent.template.reuse(e,t.scrollComponent)},firstChild:function(e,t){return t.scrollComponent.template.firstChild(e,t.scrollComponent)},lastChild:function(e,t){return t.scrollComponent.template.lastChild(e,t.scrollComponent)}})}]}),G.make(e)}},K={make:function(e,t){return(K=A.Z.makeDynamic({attributes:[{name:"style",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this.style},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this.style=e)}},{name:"focusOnAttach",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this.focusOnAttach},original:"focus-on-attach",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this.focusOnAttach=e)}},{name:"contentWidth",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this.contentWidth},original:"content-width",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this.contentWidth=e)}},{name:"contentHeight",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this.contentHeight},original:"content-height",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this.contentHeight=e)}},{name:"verticalScroll",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this.verticalScroll},original:"vertical-scroll",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this.verticalScroll=e)}},{name:"horizontalScroll",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this.horizontalScroll},original:"horizontal-scroll",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this.horizontalScroll=e)}},{name:"scrollInfo",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this.scrollInfo},original:"scroll-info",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this.scrollInfo=e)}},{name:"scrollBarSize",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this.scrollBarSize},original:"scroll-bar-size",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this.scrollBarSize=e)}},{name:"scrollBarMargin",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this.scrollBarMargin},original:"scroll-bar-margin",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this.scrollBarMargin=e)}},{name:"scrollBarPadding",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this.scrollBarPadding},original:"scroll-bar-padding",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this.scrollBarPadding=e)}},{name:"autoScroll",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this.autoScroll},original:"auto-scroll",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this.autoScroll=e)}},{name:"allowHtmlDrag",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this.allowHtmlDrag},original:"allow-html-drag",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this.allowHtmlDrag=e)}}],spreads:[function(e){return e.$_parent.$_parent.$_parent.$_scope._this.undeclaredAttributes()}],blocks:[{name:"children",template:e.makeComponent(T.Z,{args:1,props:{getCollection:function(e){return e.$_parent.$_parent.$_parent.$_parent.$_scope._this.viewTypes}},blocks:[{name:"children",template:e.makeComponent(W.Z,{attributes:[{name:"collection",get:function(){var e=this.$_view;if(e)return e.v0.items},set:function(e){var t=this.$_view;t&&(t.v0.items=e)}},{name:"view",get:function(){var e=this.$_view;if(e)return e.v0.viewType},set:function(e){var t=this.$_view;t&&(t.v0.viewType=e)}}]})}]})}],events:[{name:"scroll",value:Y}],init:function(e,t){e.$_parent.$_parent.$_parent.$_scope._this.scroll=t},dispose:function(e,t){e.$_parent.$_parent.$_parent.$_scope._this.scroll=null}})).make(e,t)}};function Y(){var e=this.$_view;e&&e.$_parent.$_parent.$_parent.$_scope._this.onScroll()}var X=(0,C.z)((function(e){return e.makeNode("g")}));function Q(e,t,r){return null!==r&&t?(e-=t*r,Math.floor(e/t)*t):e}function ee(e,t,r){return null!==r&&t?(e+=t*r,Math.ceil(e/t)*t):e}var te=(n=(0,j.Z)((function e(t,r){(0,N.Z)(this,e),(0,R.Z)(this,"items",i,this),this.type=t,this.viewType=r})),i=(0,D.Z)(n.prototype,"items",[H.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n),re=(a=(0,L.Z)((0,M.Z)("VirtualScroll"),e,"VirtualScroll"),o=(0,B.Z)(1e4),a((l=function(e){(0,O.Z)(r,e);var t=(0,I.Z)(r);function r(){var e;(0,N.Z)(this,r),e=t.call(this),(0,R.Z)(e,"style",c,(0,E.Z)(e)),(0,R.Z)(e,"mapping",u,(0,E.Z)(e)),(0,R.Z)(e,"item",p,(0,E.Z)(e)),(0,R.Z)(e,"margin",d,(0,E.Z)(e)),(0,R.Z)(e,"layoutTracker",m,(0,E.Z)(e)),(0,R.Z)(e,"focusOnAttach",h,(0,E.Z)(e)),(0,R.Z)(e,"autoScroll",v,(0,E.Z)(e)),(0,R.Z)(e,"scrollInfo",g,(0,E.Z)(e)),(0,R.Z)(e,"scrollBarSize",f,(0,E.Z)(e)),(0,R.Z)(e,"scrollBarMargin",b,(0,E.Z)(e)),(0,R.Z)(e,"scrollBarPadding",y,(0,E.Z)(e)),(0,R.Z)(e,"verticalScroll",_,(0,E.Z)(e)),(0,R.Z)(e,"horizontalScroll",w,(0,E.Z)(e)),(0,R.Z)(e,"scrollComponent",k,(0,E.Z)(e)),(0,R.Z)(e,"allowHtmlDrag",Z,(0,E.Z)(e)),(0,R.Z)(e,"contentWidth",x,(0,E.Z)(e)),(0,R.Z)(e,"contentHeight",S,(0,E.Z)(e));var n=e.mapping;if(!n)return console.warn("You need to provide a mapping."),(0,z.Z)(e);if(!e.children)return console.warn("You need to provide a layout in JSX children of VirtualScroll."),(0,z.Z)(e);for(var i in e.sourceItem=e.link(new V.Z((0,E.Z)(e))),e.listenTo(e.sourceItem,"setChildNeedsLayout",e.setChildNeedsLayout),e.viewTypeById={},e.viewTypes=[],n){var a=n[i],o=new te(i,a);e.viewTypeById[i]=o,e.viewTypes.push(o)}return e.watch((function(){return e.layoutTracker}),(function(t){t||(e.savedBookmark&&(e.savedBookmark.item.isBookmark=!1),e.savedBookmark=null)})),e}return(0,j.Z)(r,[{key:"setChildNeedsLayout",value:function(){this.savedLayoutBookmark=this.computeBookmark(),this.childNeedsLayout=!0,this.refresh()}},{key:"refresh",value:function(){this.refreshNow()}},{key:"refreshNow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(this.scroll){var r=this.scroll.innerWidth,n=this.scroll.innerHeight,i=this.scroll.displayScrollLeft,a=i+r,o=this.scroll.displayScrollTop,s=o+n;this.layoutTracker?(t=this.savedBookmark)||(t=this.savedBookmark=this.computeBookmark())&&(t.item.isBookmark=!0):this.savedLayoutBookmark&&(t=this.savedLayoutBookmark,this.savedLayoutBookmark=null),this.loadPage(i,a,o,s,r,n,e,t)||this.updateSticky()}}},{key:"preloadLeft",get:function(){return this.horizontalScroll?this.scroll.directionLeft<0?1:0:null}},{key:"preloadRight",get:function(){return this.horizontalScroll?this.scroll.directionLeft>0?1:0:null}},{key:"preloadTop",get:function(){return this.verticalScroll?this.scroll.directionTop<0?1:0:null}},{key:"preloadBottom",get:function(){return this.verticalScroll?this.scroll.directionTop>0?1:0:null}},{key:"loadPage",value:function(e,t,r,n,i,a,o,s){var l=this,c=Q(e,i,this.preloadLeft),u=ee(t,i,this.preloadRight),p=Q(r,a,this.preloadTop),d=ee(n,a,this.preloadBottom);if(o||this.childNeedsLayout||this.left!==c||this.right!==u||this.top!==p||this.bottom!==d){this.left=c,this.right=u,this.top=p,this.bottom=d;var m,h,v=this.margin,g=this.sourceItem;if(g&&(g.layout(v,v,this.scroll.innerWidth-v,this.scroll.innerHeight-v),this.contentWidth=g.width+v,this.contentHeight=g.height+v,!o&&s&&(s.dataItem&&!s.item&&g.resolveBookmark(s),s.item&&(s.center?(m=s.item.left-(t-e-s.item.width)/2,h=s.item.top-(n-r-s.item.height)/2):(m=s.item.left-s.left,h=s.item.top-s.top),this.scroll.scrollTo(m,h,!0)))))return this.refreshNow(!0,s),!0;var f=this.stickyContainers=null,b={},y=[],_={},w=this.previousPendingItems;w&&w.forEach((function(e){return _[(0,U.Z)(e)]=e}));var k=this.items=[];for(var Z in g&&(this.viewTypes.forEach((function(e){return b[e.type]=[]})),g.collect({left:c,right:u,top:p,bottom:d,addItem:function(e){k.push(e),delete _[(0,U.Z)(e)],e.expand()&&(y.push(e),s||(s=l.computeBookmark()));var t=b[e.type];t&&t.push(e)},addStickyContainer:function(e){f||(f=l.stickyContainers=[]),f.push(e)}})),this.previousPendingItems=y,_)_[Z].stopPendingItem();this.viewTypes.forEach((function(e){return e.items=b[e.type]})),this.childNeedsLayout=!1}}},{key:"computeBookmark",value:function(){var e=null,t=this.scroll.displayScrollLeft,r=this.scroll.displayScrollTop;return this.items&&this.items.forEach((function(n){if(!n.hasChildren&&!n.fixed){var i=n.left-t,a=n.top-r;if(!(i<0||a<0)){var o=i*i+a*a;e?e.distance>o&&(e.item=n,e.left=i,e.top=a,e.distance=o):e={item:n,left:i,top:a,distance:o}}}})),e}},{key:"scrollPosition",get:function(){return this.scroll&&{left:this.scroll.displayScrollLeft,top:this.scroll.displayScrollTop}},set:function(e){var t=e&&e.left||0,r=e&&e.top||0;this.scrollTo(t,r)}},{key:"updateSticky",value:function(){var e=this.stickyContainers;if(e&&e.length){var t=this.scroll.displayScrollLeft,r=t+this.scroll.innerWidth,n=this.scroll.displayScrollTop,i={left:t,right:r,top:n,bottom:n+this.scroll.innerHeight};e.forEach((function(e){return e.updateSticky(i)}))}}},{key:"onScroll",value:function(){this.refresh()}},{key:"getVirtualItem",value:function(e){var t={dataItem:e};return this.sourceItem.resolveBookmark(t),t.item}},{key:"elementVisibility",value:function(e){var t=this.getVirtualItem(e);if(!t)return{horizontal:0,vertical:0};var r={left:t.left,right:t.right,top:t.top,bottom:t.bottom},n={left:this.scroll.displayScrollLeft,right:this.scroll.displayScrollLeft+this.scroll.innerWidth,top:this.scroll.displayScrollTop,bottom:this.scroll.displayScrollTop+this.scroll.innerHeight},i=0,a=0;if(r.left>=n.left&&r.right<=n.right||r.left<=n.left&&r.right>=n.right)i=1;else if(!(r.right<n.left||r.left>n.right)){var o=Math.max(r.left,n.left);i=(Math.min(r.right,n.right)-o)/t.width}if(r.top>=n.top&&r.bottom<=n.bottom||r.top<=n.top&&r.bottom>=n.bottom)a=1;else if(!(r.bottom<n.top||r.top>n.bottom)){var s=Math.max(r.top,n.top);a=(Math.min(r.bottom,n.bottom)-s)/t.height}return{horizontal:i,vertical:a}}},{key:"elementInViewport",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=this.elementVisibility(e),n=r.horizontal,i=r.vertical;return n>=t&&i>=t}},{key:"scrollToElement",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{vertical:"top",horizontal:"left"},n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{left:0,top:0},i=this.getVirtualItem(e);if(!i)return console.error("Virtual item to scroll was not found",e),!1;var a=i.top-n.top,o=i.left-n.left;return r&&"bottom"===r.vertical&&(a+=i.height-this.scroll.innerHeight+2*n.top),r&&"right"===r.horizontal&&(o+=i.width-this.scroll.innerWidth+2*n.left),this.scrollTo(o,a,t),!0}},{key:"scrollTo",value:function(e,t){arguments.length>2&&void 0!==arguments[2]&&arguments[2]?this.scroll.animateTo(e,t):this.scroll.scrollTo(e,t)}},{key:"windowCoordsToVirtualCoords",value:function(e,t){var r=e+this.scroll.offsetX,n=t+this.scroll.offsetY,i=-(this.scroll.offsetX-this.scroll.displayScrollLeft),a=-(this.scroll.offsetY-this.scroll.displayScrollTop),o={x:r,y:n,viewTop:a,viewRight:i+this.scroll.viewWidth,viewBottom:a+this.scroll.viewHeight,viewLeft:i,virtualTop:this.scroll.displayScrollTop,virtualRight:this.scroll.displayScrollLeft+this.scroll.viewWidth,virtualBottom:this.scroll.displayScrollTop+this.scroll.viewHeight,virtualLeft:this.scroll.displayScrollLeft};return o.inView=r>=o.virtualLeft&&r<o.virtualRight&&n>=o.virtualTop&&n<o.virtualBottom,o}},{key:"render",value:function(){return{template:J,_this:this}}}]),r}(A.Z),c=(0,D.Z)(l.prototype,"style",[F.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,D.Z)(l.prototype,"mapping",[F.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,D.Z)(l.prototype,"item",[F.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,D.Z)(l.prototype,"margin",[F.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),m=(0,D.Z)(l.prototype,"layoutTracker",[F.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),h=(0,D.Z)(l.prototype,"focusOnAttach",[F.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),v=(0,D.Z)(l.prototype,"autoScroll",[F.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),g=(0,D.Z)(l.prototype,"scrollInfo",[F.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{animation:!1,duration:100,friction:100,keyboardEnabled:!0,keyboardMove:40}}}),f=(0,D.Z)(l.prototype,"scrollBarSize",[F.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 7}}),b=(0,D.Z)(l.prototype,"scrollBarMargin",[F.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 5}}),y=(0,D.Z)(l.prototype,"scrollBarPadding",[F.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),_=(0,D.Z)(l.prototype,"verticalScroll",[F.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),w=(0,D.Z)(l.prototype,"horizontalScroll",[F.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),k=(0,D.Z)(l.prototype,"scrollComponent",[F.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return q.Z}}),Z=(0,D.Z)(l.prototype,"allowHtmlDrag",[F.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),x=(0,D.Z)(l.prototype,"contentWidth",[H.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),S=(0,D.Z)(l.prototype,"contentHeight",[H.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),(0,D.Z)(l.prototype,"refresh",[o],Object.getOwnPropertyDescriptor(l.prototype,"refresh"),l.prototype),s=l))||s)},702183:(e,t,r)=>{"use strict";r.d(t,{Z:()=>h});var n,i=r(89211),a=r(143681),o=r(236229),s=r(668962),l=r(749886),c=r(736781),u=r(993184),p=r(108445),d=r(719659),m=r(331397),h=(0,p.Z)({type:"root"})(n=function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(e,n){var a;return(0,i.Z)(this,r),a=t.call(this),m.Z.create((0,o.Z)(a),e,n),a}return(0,a.Z)(r,[{key:"setNeedsLayout",value:function(){(0,c.Z)((0,u.Z)(r.prototype),"setNeedsLayout",this).call(this),this.trigger("setChildNeedsLayout")}},{key:"dispose",value:function(){m.Z.dispose(this),(0,c.Z)((0,u.Z)(r.prototype),"dispose",this).call(this)}}]),r}(d.Z))||n},846841:(e,t,r)=>{"use strict";r.d(t,{K4:()=>h});var n,i=r(89211),a=r(143681),o=r(736781),s=r(993184),l=r(668962),c=r(749886),u=r(108445),p=(r(573467),r(508460),r(538941),r(115884),r(704589)),d=r(321849),m=function(e){(0,l.Z)(r,e);var t=(0,c.Z)(r);function r(){return(0,i.Z)(this,r),t.apply(this,arguments)}return(0,a.Z)(r,[{key:"updateLayout",value:function(e,t){var n,i,a,l=this,c=this.margin,u=this.paginatedList=new d.Z,p=this.stickyList=new d.Z,m=null;"horizontal"===this.direction?(a=this.top,n=this.left,this.forEach((function(r){r.parent=l,r.layout(n,a,e,t),n+=r._width+c,r.sticky?(m&&p.add(m,m._left,r._left),m=r):u.add(r,r._left,r._left+r._width)})),this.width=Math.max(0,n-this._left-c),this.height=t,m&&p.add(m,m._left,this._left+this._width)):(i=this.left,n=this.top,this.forEach((function(r){r.parent=l,r.layout(i,n,e,t),n+=r._height+c,r.sticky?(m&&p.add(m,m._top,r._top),m=r):u.add(r,r._top,r._top+r._height)})),this.width=e,this.height=Math.max(0,n-this._top-c),m&&p.add(m,m._top,this._top+this._height)),(0,o.Z)((0,s.Z)(r.prototype),"updateLayout",this).call(this,e,t)}},{key:"updatePosition",value:function(e,t){(0,o.Z)((0,s.Z)(r.prototype),"updatePosition",this).call(this,e,t);var n=this.stickyList;n&&(n.offset+="horizontal"===this.direction?e:t)}},{key:"collect",value:function(e){if(!(0,o.Z)((0,s.Z)(r.prototype),"collect",this).call(this,e))return!1;var t,n,i=this.stickyList;if(!i)return!0;"horizontal"===this.direction?(t=e.left,n=e.right):(t=e.top,n=e.bottom);var a=this.visibleSticky=[];return i.query(t,n,(function(t){e.addItem(t),a.push(t)})),a.length&&e.addStickyContainer(this),!0}},{key:"updateSticky",value:function(e){var t=this.visibleSticky;if(t){var r,n,i,a,o,s=t.length-1,l=this.margin;if("horizontal"===this.direction)for(n=this.top,r=Math.max(e.left,this.left),a=Math.min(e.right,this.right);s>=0;--s)((i=t[s]).fixed=i.left<r)&&(i.fixedLeft=Math.min(a-i.width,r),i.fixedTop=n,r-=i.width),a=Math.min(a,i.left-l);else for(r=this.left,n=Math.max(e.top,this.top),o=Math.min(e.bottom,this.bottom);s>=0;--s)((i=t[s]).fixed=i.top<n)&&(i.fixedLeft=r,i.fixedTop=Math.min(o-i.height,n),n-=i.height),o=Math.min(o,i.top-l)}}}]),r}(p.Z),h=((0,u.Z)({direction:"horizontal"})(function(e){(0,l.Z)(r,e);var t=(0,c.Z)(r);function r(){return(0,i.Z)(this,r),t.apply(this,arguments)}return(0,a.Z)(r)}(m)),(0,u.Z)({direction:"vertical"})(n=function(e){(0,l.Z)(r,e);var t=(0,c.Z)(r);function r(){return(0,i.Z)(this,r),t.apply(this,arguments)}return(0,a.Z)(r)}(m))||n)},72296:(e,t,r)=>{var n;r(893248),r(35812),n=function(){function e(e){this.getAspectRatio=e}return e.prototype.SHORT_THRESHOLD=.5,e.prototype.SNAP_POINTS=[[1,4,1],[1,3,1],[1,2,1.25],[2,3,1],[3,4,1]],e.prototype._calculateBadness=function(e,t,r,n){var i;return t<.1*e?1e3:(i=this._calculateDelta(e,t),t<e*this.SHORT_THRESHOLD&&(r?i*=n:i+=(e-t)/e),i)},e.prototype._calculateDelta=function(e,t){var r;return r=t-e,(r/=t<e?t:e)*r},e.prototype._calculateShortLastLinePenalty=function(e,t,r){var n,i,a,o,s,l,c;for(s=e.length,o=2*Math.ceil(t/r),i=a=0,c=Math.min(o,s-1);a<=c&&(n=e[s-1-i],!(this.getAspectRatio(n)*r>=t));i=a+=1);return(l=(i-0)/(o-0))*l},e.prototype.calculateBreaks=function(e,t,r,n){var i,a,o,s,l,c,u,p,d,m,h,v,g,f,b,y,_,w,k,Z,x,S,$,A,C,T,P,z,E;for(S=.8*n,$=e.length,x=1.1*t,T=this._calculateShortLastLinePenalty(e,t,n),P=new Array($),z=0,v=b=0,_=e.length;b<_;v=++b)a=e[v],i=this.getAspectRatio(a),z+=Math.max(S,Math.min(x,i*n)),P[v]=z;for(l=new Array($),c=new Array($),v=y=0,w=e.length;y<w;v=++y){for(a=e[v],g=v===$-1,0===v?(p=P[v],d=0):(p=P[v]-P[v-1],d=l[v-1]),d+=this._calculateBadness(t,p,g,T),m=v-1,o=t,f=Z=v-2;Z>=-1&&!((o-=r)<=0)&&(p=-1===f?P[v]:P[v]-P[f],!(v-f>=5&&2*o<p));f=Z+=-1)s=0,f>-1&&(s+=l[f]),(s+=this._calculateBadness(o,p,g,T))<d&&(d=s,m=f);l[v]=d,c[v]=m}for(u=[],h=$-1;h>=0;)u.unshift(h),h=c[h];for(E=[],C=-1,A=0,k=u.length;A<k;A++)h=u[A],z=-1===C?P[h]:P[h]-P[C],E.push(z),C=h;return[u,E]},e.prototype.calculateRowLayout=function(e,t,r,n,i,a,o,s){var l,c,u,p,d,m,h,v,g,f,b,y,_,w,k,Z,x,S,$,A,C,T,P,z,E,O,I,R,j,N,D,L,M,B,F,H,U,q,V,W,J,G,K,Y,X,Q,ee,te,re,ne,ie,ae,oe,se,le;for(null==s&&(s=.05),l=this.SNAP_POINTS,j=.8*o,L=e.length,u=new Array(L),w=Z=0,T=e.length;Z<T;w=++Z)p=e[w],u[w]=this.getAspectRatio(p);if(R=Math.min.apply(Math,u),I=Math.max.apply(Math,u),k=t<(Q=(d=i-n-(L-1)*a)*this.SHORT_THRESHOLD),R>.95*I&&(ne=L,k&&(m=t/L,(D=Math.floor(d/m))>=L&&(ne=this._calculateDelta(d,m*D)<this._calculateDelta(d,m*(D+1))?D:D+1),m*ne<Q&&(ne=0))),ne>0){for(se=new Array(L),_=d/ne,le=n,w=x=0,q=L-1;x<=q;w=x+=1)oe=Math.round(n+w*a+(w+1)*_)-le,se[w]=oe,le+=oe+a;ne===L&&(se[L-1]=i-(le-oe-a))}else if(k)for(se=new Array(L),w=O=0,P=e.length;O<P;w=++O)p=e[w],se[w]=Math.floor(this.getAspectRatio(p)*o);else{for(ae=new Array(L),oe=0,w=B=0,z=u.length;B<z;w=++B)c=u[w],oe+=Math.max(j,Math.min(c*o,1.1*r)),ae[w]=oe;for(t<d?X=(d-(ie=j*L*.75))/(t-ie):(ie=0,X=d/t),h=s*r,v=-1,w=F=0,V=L-2;F<=V;w=F+=1)for(f=n+(N=ie/L*(w+1))+w*a+X*(ae[w]-N),H=0,E=l.length;H<E;H++)M=(ee=l[H])[0],y=ee[1],b=ee[2],re=Math.round(M/y*(r-(y-1)*a)+(M-1)*a),(te=Math.abs(f-re)/b)<h&&(g=re,h=te,v=w);if(v>=0)S=e.slice(0,v+1),J=e.slice(v+1),A=s*($=(g-n)/(i-n))*(2-$),K=s*(G=(i-g)/(i-n))*(2-G),C=this.calculateRowLayout(S,ae[v],r,n,g,a,o,A),Y=this.calculateRowLayout(J,ae[L-1]-ae[v],r,g+a,i,a,o,K),se=C.concat(Y);else{for(se=new Array(L),le=n,w=U=0,W=L-2;U<=W;w=U+=1)N=ie/L*(w+1),oe=Math.round(n+N+w*a+X*(ae[w]-N))-le,se[w]=oe,le+=oe+a;se[L-1]=i-le}}return se},e}(),e.exports=n},77034:(e,t,r)=>{"use strict";r.d(t,{UQ:()=>A});var n,i,a,o,s=r(760567),l=r(282466),c=r(236229),u=r(736781),p=r(993184),d=r(673136),m=r(143681),h=r(89211),v=r(668962),g=r(749886),f=r(108445),b=r(588816),y=r(54262),_=r(412333),w=r(704083),k=(r(893248),r(64209),r(573467),r(508460),r(913688),r(704589)),Z=r(321849),x=r(72296),S=r.n(x);e=r.hmd(e);var $=(0,b.Z)((0,y.Z)("KnuthPlassBlockItem"),e,"KnuthPlassBlockItem")((a=function(e){(0,v.Z)(r,e);var t=(0,g.Z)(r);function r(){var e;return(0,h.Z)(this,r),e=t.call(this),(0,l.Z)(e,"size",o,(0,c.Z)(e)),e.layoutAttributes((function(){return e.size})),e.knuthPlass=new(S())(e.getItemAspectRatio),e}return(0,m.Z)(r,[{key:"getItemAspectRatio",value:function(e){return"horizontal"===this.direction?1/e.aspectRatio:e.aspectRatio}},{key:"updateLayout",value:function(e,t){var n,i,a,o,l,c=this,d=this.knuthPlass,m=this.margin,h=this.size,v=-1,g=h-50,f=h+50,b=this.children,y=this.paginatedList=new Z.Z;if("horizontal"===this.direction){o=this.left;var _=d.calculateBreaks(b,t,m,h),w=(0,s.Z)(_,2);n=w[0],a=w[1];for(var k=function(){var e=n[x],r=a[x],i=b.slice(v+1,e+1),s=i.reduce((function(e,t){return e+1/t.aspectRatio}),0),u=Math.max(Math.min(Math.round(r/s),f),g),p=d.calculateRowLayout(i,r,t,0,t,m,u);l=c.top,i.forEach((function(e,t){var r=p[t];e.parent=c,e.layout(o,l,u,r),y.add(e,e.left,e.right),l+=r+m})),o+=u+m,v=e},x=0,S=n.length;x<S;++x)k();this.width=Math.max(0,o-this.left-m),this.height=t}else{l=this.top;var $=d.calculateBreaks(b,e,m,h),A=(0,s.Z)($,2);n=A[0],i=A[1];for(var C=function(){var t=n[T],r=i[T],a=b.slice(v+1,t+1),s=a.reduce((function(e,t){return e+t.aspectRatio}),0),u=Math.max(Math.min(Math.round(r/s),f),g),p=d.calculateRowLayout(a,r,e,0,e,m,u);o=c.left,a.forEach((function(e,t){var r=p[t];e.parent=c,e.layout(o,l,r,u),y.add(e,e.top,e.bottom),o+=r+m})),l+=u+m,v=t},T=0,P=n.length;T<P;++T)C();this.width=e,this.height=Math.max(0,l-this.top-m)}(0,u.Z)((0,p.Z)(r.prototype),"updateLayout",this).call(this,e,t)}}]),r}(k.Z),o=(0,d.Z)(a.prototype,"size",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 120}}),(0,d.Z)(a.prototype,"getItemAspectRatio",[_.Z],Object.getOwnPropertyDescriptor(a.prototype,"getItemAspectRatio"),a.prototype),i=a))||i,A=((0,f.Z)({direction:"horizontal"})(function(e){(0,v.Z)(r,e);var t=(0,g.Z)(r);function r(){return(0,h.Z)(this,r),t.apply(this,arguments)}return(0,m.Z)(r)}($)),(0,f.Z)({direction:"vertical"})(n=function(e){(0,v.Z)(r,e);var t=(0,g.Z)(r);function r(){return(0,h.Z)(this,r),t.apply(this,arguments)}return(0,m.Z)(r)}($))||n)},719659:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(89211),i=r(143681),a=r(736781),o=r(993184),s=r(668962),l=r(749886),c=(r(573467),r(508460),function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(){return(0,n.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r,[{key:"updateLayout",value:function(e,t){var n=this;this.width=0,this.height=0,this.forEach((function(r){r.parent=n,r.layout(n.left,n.top,e,t),n.width=Math.max(n.width,r.width),n.height=Math.max(n.height,r.height)})),(0,a.Z)((0,o.Z)(r.prototype),"updateLayout",this).call(this,e,t)}}]),r}(r(404270).Z))},704589:(e,t,r)=>{"use strict";r.d(t,{Z:()=>y});var n,i,a,o=r(282466),s=r(89211),l=r(143681),c=r(236229),u=r(736781),p=r(993184),d=r(668962),m=r(749886),h=r(673136),v=r(588816),g=r(54262),f=r(704083),b=r(404270);e=r.hmd(e);var y=(0,v.Z)((0,g.Z)("PaginatedBlockItem"),e,"PaginatedBlockItem")((i=function(e){(0,d.Z)(r,e);var t=(0,m.Z)(r);function r(){var e;return(0,s.Z)(this,r),e=t.call(this),(0,o.Z)(e,"margin",a,(0,c.Z)(e)),e.layoutAttributes((function(){return e.margin})),e}return(0,l.Z)(r,[{key:"needsLayout",value:function(e,t){return this.childNeedsLayout||("horizontal"===this.direction?this.height!==t:this.width!==e)}},{key:"updatePosition",value:function(e,t){(0,u.Z)((0,p.Z)(r.prototype),"updatePosition",this).call(this,e,t);var n=this.paginatedList;n&&(n.offset+="horizontal"===this.direction?e:t)}},{key:"collect",value:function(e){var t,r,n=this.paginatedList;return!!n&&!!this.inViewport(e)&&(e.addItem(this),"horizontal"===this.direction?(t=e.left,r=e.right):(t=e.top,r=e.bottom),n.query(t,r,(function(t){return t.collect(e)})),!0)}}]),r}(b.Z),a=(0,h.Z)(i.prototype,"margin",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),n=i))||n},321849:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(89211),i=r(143681);function a(e){return Math.floor(e/1e3)}function o(e){return Math.ceil(e/1e3)}var s=function(){function e(){(0,n.Z)(this,e),this.pages=[],this.offset=0}return(0,i.Z)(e,[{key:"add",value:function(e,t,r){for(var n=this.pages,i=a(t),s=i,l=o(r);s<=l;++s){var c=n[s];c||(n[s]=c=[]),c.push({initial:i,value:e})}}},{key:"query",value:function(e,t,r){for(var n=this.offset,i=Math.max(0,a(e-n)),s=i,l=Math.min(this.pages.length,o(t-n));s<=l;++s){var c=this.pages[s];if(c)for(var u=0,p=c.length;u<p;++u){var d=c[u];s!==i&&d.initial!==s||r(d.value)}}}}]),e}()},404270:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(89211),i=r(143681),a=r(736781),o=r(993184),s=r(668962),l=r(749886),c=(r(573467),r(508460),function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(){return(0,n.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r,[{key:"setChildNeedsLayout",value:function(){this.childNeedsLayout=!0,this.setNeedsLayout()}},{key:"layoutAttributes",value:function(){for(var e=this,t=function(){return e.setChildNeedsLayout()},r=0,n=arguments.length;r<n;r++)this.watch(arguments[r],t)}},{key:"willInsertBefore",value:function(e,t){(0,a.Z)((0,o.Z)(r.prototype),"willInsertBefore",this).call(this,e,t),this.setChildNeedsLayout()}},{key:"layout",value:function(e,t,r,n){if(this.needsLayout(r,n))return this.left=e,this.top=t,void this.updateLayout(r,n);var i=e-this.left,a=t-this.top;(i||a)&&this.updatePosition(i,a)}},{key:"updatePosition",value:function(e,t){(0,a.Z)((0,o.Z)(r.prototype),"updatePosition",this).call(this,e,t),this.forEach((function(r){return r.updatePosition(e,t)}))}},{key:"needsLayout",value:function(e,t){return this.childNeedsLayout||(0,a.Z)((0,o.Z)(r.prototype),"needsLayout",this).call(this,e,t)}},{key:"updateLayout",value:function(){this.childNeedsLayout=!1}},{key:"collect",value:function(e){return!!this.inViewport(e)&&(e.addItem(this),this.forEach((function(t){return t.collect(e)})),!0)}},{key:"resolveBookmark",value:function(e){return!!(0,a.Z)((0,o.Z)(r.prototype),"resolveBookmark",this).call(this,e)||this.any((function(t){return t.resolveBookmark(e)}))}}]),r}(r(840901).Z))},197196:(e,t,r)=>{"use strict";r.d(t,{Z:()=>Z});var n,i,a,o,s,l,c,u=r(282466),p=r(89211),d=r(143681),m=r(236229),h=r(668962),v=r(749886),g=r(673136),f=r(588816),b=r(54262),y=r(108445),_=r(704083),w=r(548967),k=r(840901);e=r.hmd(e);var Z=(0,y.Z)({sticky:!0})(n=(0,f.Z)((0,b.Z)("StickyItem"),e,"StickyItem")((i=function(e){(0,h.Z)(r,e);var t=(0,v.Z)(r);function r(){var e;return(0,p.Z)(this,r),e=t.call(this),(0,u.Z)(e,"fixed",a,(0,m.Z)(e)),(0,u.Z)(e,"fixedLeft",o,(0,m.Z)(e)),(0,u.Z)(e,"fixedTop",s,(0,m.Z)(e)),(0,u.Z)(e,"stickyWidth",l,(0,m.Z)(e)),(0,u.Z)(e,"stickyHeight",c,(0,m.Z)(e)),e.layoutAttributes((function(){return e.stickyWidth}),(function(){return e.stickyHeight})),e}return(0,d.Z)(r,[{key:"updateLayout",value:function(e,t){var r=this.stickyWidth,n=this.stickyHeight;this.width=-1===r?e:r,this.height=-1===n?t:n}}]),r}(k.Z),a=(0,g.Z)(i.prototype,"fixed",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),o=(0,g.Z)(i.prototype,"fixedLeft",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),s=(0,g.Z)(i.prototype,"fixedTop",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),l=(0,g.Z)(i.prototype,"stickyWidth",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return-1}}),c=(0,g.Z)(i.prototype,"stickyHeight",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return-1}}),n=i))||n)||n},840901:(e,t,r)=>{"use strict";r.d(t,{Z:()=>S});var n,i,a,o,s,l,c,u,p=r(282466),d=r(89211),m=r(143681),h=r(236229),v=r(736781),g=r(993184),f=r(668962),b=r(749886),y=r(673136),_=r(108445),w=r(704083),k=r(548967),Z=(r(35812),r(457685),r(37375));function x(e,t,r){return e>=t&&e<=r}var S=(0,_.Z)({type:"item"})((i=function(e){(0,f.Z)(r,e);var t=(0,b.Z)(r);function r(){var e;(0,d.Z)(this,r);for(var n=arguments.length,i=new Array(n),m=0;m<n;m++)i[m]=arguments[m];return e=t.call.apply(t,[this].concat(i)),(0,p.Z)(e,"left",a,(0,h.Z)(e)),(0,p.Z)(e,"top",o,(0,h.Z)(e)),(0,p.Z)(e,"width",s,(0,h.Z)(e)),(0,p.Z)(e,"height",l,(0,h.Z)(e)),(0,p.Z)(e,"isBookmark",c,(0,h.Z)(e)),(0,p.Z)(e,"data",u,(0,h.Z)(e)),e}return(0,m.Z)(r,[{key:"right",get:function(){return this.left+this.width}},{key:"bottom",get:function(){return this.top+this.height}},{key:"hasChildren",get:function(){return!1}},{key:"expand",value:function(){return!1}},{key:"stopPendingItem",value:function(){}},{key:"savePosition",value:function(){}},{key:"layoutAttributes",value:function(){for(var e=this,t=function(){return e.setNeedsLayout()},r=0,n=arguments.length;r<n;r++)this.watch(arguments[r],t)}},{key:"setNeedsLayout",value:function(){this.parent&&!this.parent.childNeedsLayout&&this.parent.setChildNeedsLayout()}},{key:"detached",value:function(){this.setNeedsLayout()}},{key:"layout",value:function(e,t,r,n){this.left=e,this.top=t,this.needsLayout(r,n)&&this.updateLayout(r,n)}},{key:"needsLayout",value:function(e,t){return this._width!==e||this._height!==t}},{key:"updateLayout",value:function(e,t){this.width=e,this.height=t}},{key:"updatePosition",value:function(e,t){this.left+=e,this.top+=t}},{key:"inViewport",value:function(e){return(x(e.left,this.left,this.right)||x(this.left,e.left,e.right))&&(x(e.top,this.top,this.bottom)||x(this.top,e.top,e.bottom))}},{key:"collect",value:function(e){return!!this.inViewport(e)&&(e.addItem(this),!0)}},{key:"toJSON",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=(0,v.Z)((0,g.Z)(r.prototype),"toJSON",this).call(this,e);return t.name=this.constructor.name,t.left=this.left,t.top=this.top,t.width=this.width,t.height=this.height,t}},{key:"resolveBookmark",value:function(e){if(e.dataItem===this.data)return e.item=this,!0}}],[{key:"type",get:function(){return this.prototype.type}}]),r}(Z.Z),a=(0,y.Z)(i.prototype,"left",[k.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),o=(0,y.Z)(i.prototype,"top",[k.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),s=(0,y.Z)(i.prototype,"width",[k.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),l=(0,y.Z)(i.prototype,"height",[k.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),c=(0,y.Z)(i.prototype,"isBookmark",[k.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),u=(0,y.Z)(i.prototype,"data",[w.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n=i))||n},972574:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(89211),i=r(143681),a=function(){function e(t){(0,n.Z)(this,e),this.items=new Array(t),this.limit=t,this.clear()}return(0,i.Z)(e,[{key:"average",get:function(){if(this.count>0)return this.sum/this.count}},{key:"addItem",value:function(e){void 0!==this.items[this.index]&&(this.sum-=this.items[this.index]),this.items[this.index]=e,this.sum+=e,this.index=(this.index+1)%this.limit,this.count=Math.min(this.count+1,this.limit)}},{key:"clear",value:function(){for(var e=0,t=this.items.length;e<t;e++)this.items[e]=void 0;this.count=0,this.index=0,this.sum=0}}]),e}()},10905:(e,t,r)=>{var n;e=r.nmd(e);var i,a,o,s,l,c=r(37225).default;r(340781),i=function(e,t){var r,n,i;for(r in n=[],t)i=t[r],n.push(null!=e[r]?e[r]:e[r]=i);return n},(a={}).linear=function(){return function(e){return e}},a.spring=function(e){var t,r,n,o,s;return null==e&&(e={}),i(e,a.spring.defaults),n=Math.max(1,e.frequency/20),o=Math.pow(20,e.friction/100),s=e.anticipationSize/1e3,Math.max(0,s),t=function(t){var r,n;return(.8-(r=((n=s/(1-s))-0)/(n-0)))/n*t*e.anticipationStrength/100+r},r=function(e){return Math.pow(o/10,-e)*(1-e)},function(e){var i,a,o,l,c,u,p,d;return u=e/(1-s)-s/(1-s),e<s?(d=s/(1-s)-s/(1-s),p=0/(1-s)-s/(1-s),c=Math.acos(1/t(d)),o=(Math.acos(1/t(p))-c)/(n*-s),i=t):(i=r,c=0,o=1),a=i(u),l=n*(e-s)*o+c,1-a*Math.cos(l)}},a.bounce=function(e){var t,r,n,o;return null==e&&(e={}),i(e,a.bounce.defaults),n=Math.max(1,e.frequency/20),o=Math.pow(20,e.friction/100),t=function(e){return Math.pow(o/10,-e)*(1-e)},(r=function(e){var r,i;return r=t(e),i=n*e*1-1.57,r*Math.cos(i)}).initialForce=!0,r},a.gravity=function(e){var t,r,n,o,s,l;return null==e&&(e={}),i(e,a.gravity.defaults),r=Math.min(e.bounciness/1250,.8),o=e.elasticity/1e3,n=[],t=function(){var n,i;for(i={a:-(n=Math.sqrt(.02)),b:n,H:1},e.initialForce&&(i.a=0,i.b=2*i.b);i.H>.001;)t=i.b-i.a,i={a:i.b,b:i.b+t*r,H:i.H*r*r};return i.b}(),l=function(r,n,i,a){var o,s;return o=(s=2/(t=n-r)*a-1-2*r/t)*s*i-i+1,e.initialForce&&(o=1-o),o},function(){var i,a,s,l;for(s={a:-(a=Math.sqrt(2/(100*t*t))),b:a,H:1},e.initialForce&&(s.a=0,s.b=2*s.b),n.push(s),i=t,l=[];s.b<1&&s.H>.001;)i=s.b-s.a,s={a:s.b,b:s.b+i*r,H:s.H*o},l.push(n.push(s))}(),(s=function(t){var r,i;for(r=n[i=0];!(t>=r.a&&t<=r.b)&&(r=n[i+=1]););return r?l(r.a,r.b,r.H,t):e.initialForce?0:1}).initialForce=e.initialForce,s},a.forceWithGravity=function(e){return null==e&&(e={}),i(e,a.forceWithGravity.defaults),e.initialForce=!0,a.gravity(e)},a.bezier=(s=function(e,t,r,n,i){return Math.pow(1-e,3)*t+3*Math.pow(1-e,2)*e*r+3*(1-e)*Math.pow(e,2)*n+Math.pow(e,3)*i},o=function(e,t,r,n,i){return{x:s(e,t.x,r.x,n.x,i.x),y:s(e,t.y,r.y,n.y,i.y)}},l=function(e,t,r){var n,i,a,o,s,l,c,u,p;for(n=null,o=0,s=t.length;o<s&&(e>=(i=t[o])(0).x&&e<=i(1).x&&(n=i),null===n);o++);if(!n)return r?0:1;for(p=n(c=((u=1)+(l=0))/2).x,a=0;Math.abs(e-p)>1e-4&&a<100;)e>p?l=c:u=c,p=n(c=(u+l)/2).x,a+=1;return n(c).y},function(e){var t,r;return null==e&&(e={}),r=e.points,t=function(){var e,n,i;for(n in t=[],e=function(e,r){var n;return n=function(t){return o(t,e,e.cp[e.cp.length-1],r.cp[0],r)},t.push(n)},r){if((i=parseInt(n))>=r.length-1)break;e(r[i],r[i+1])}return t}(),function(e){return 0===e?0:1===e?1:l(e,t,!1)}}),a.easeInOut=function(e){var t,r;return null==e&&(e={}),t=null!=(r=e.friction)?r:a.easeInOut.defaults.friction,a.bezier({points:[{x:0,y:0,cp:[{x:.92-t/1e3,y:0}]},{x:1,y:1,cp:[{x:.08+t/1e3,y:1}]}]})},a.easeIn=function(e){var t,r;return null==e&&(e={}),t=null!=(r=e.friction)?r:a.easeIn.defaults.friction,a.bezier({points:[{x:0,y:0,cp:[{x:.92-t/1e3,y:0}]},{x:1,y:1,cp:[{x:1,y:1}]}]})},a.easeOut=function(e){var t,r;return null==e&&(e={}),t=null!=(r=e.friction)?r:a.easeOut.defaults.friction,a.bezier({points:[{x:0,y:0,cp:[{x:0,y:0}]},{x:1,y:1,cp:[{x:.08+t/1e3,y:1}]}]})},a.spring.defaults={frequency:300,friction:200,anticipationSize:0,anticipationStrength:0},a.bounce.defaults={frequency:300,friction:200},a.forceWithGravity.defaults=a.gravity.defaults={bounciness:400,elasticity:200},a.easeInOut.defaults=a.easeIn.defaults=a.easeOut.defaults={friction:500},"object"===c(e)&&"object"===c(e.exports)?e.exports=a:void 0===(n=function(){return a}.call(t,r,t,e))||(e.exports=n)},878969:(e,t,r)=>{function n(e,t){for(var r=0,n=this.length;r<n;r++){var i=this[r];if(e.call(t,i,r))return i}}function i(e,t,r){if(e)return(Array.prototype.find||n).call(e,t,r)}r(635105),r(573467),i.polyfill=function(){Array.prototype.find||(Array.prototype.find=n)},e.exports=i},577256:(e,t,r)=>{r(587621),r(558901);var n=function(e,t){return t.toUpperCase()};e.exports=function(e){return e.replace(/-+([^-]?)/g,n)}},776683:(e,t,r)=>{e.exports=r(162352).deepClone},29695:(e,t,r)=>{var n=r(37225).default;r(816221),r(261148),r(573467),r(436206),r(595249),r(185466),r(370843),r(961626),r(897995),r(518926),r(725676),r(81738),r(479959),r(879587),r(353478),r(643300),r(363242),r(911895),r(301207),r(792647),r(879104),r(497814),r(78019),r(474646),r(28227),r(420879),r(680851),r(725637),r(686862),r(169513),r(993224),r(604542),r(292381),r(784425),r(229994),r(34757),r(839810),r(402308),r(343055),r(769900),r(327744),r(119861),r(978996),r(587621),r(538941),r(328614),r(923304),r(499313),r(321500),r(290671),r(17938),r(485143),r(886023),r(808410),r(8856);var i=[Array,Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];function a(e){return null==e}"undefined"!=typeof Uint8ClampedArray&&i.push(Uint8ClampedArray),e.exports=function e(t,r){if(t===r)return!0;if(a(t)||a(r))return!1;if(n(t)!==n(r))return!1;if(t instanceof Date&&r instanceof Date)return t.getTime()===r.getTime();if(t instanceof RegExp&&r instanceof RegExp)return t.toString()===r.toString();if(t instanceof ArrayBuffer&&r instanceof ArrayBuffer)return e(new Uint8Array(t),new Uint8Array(r));if(t instanceof Map&&r instanceof Map||t instanceof Set&&r instanceof Set)return e(Array.from(t),Array.from(r));if(function(e,t){return i.some((function(r){return e instanceof r&&t instanceof r}))}(t,r)){var o=!Array.isArray(t);if(t.length!==r.length)return!1;for(var s=0,l=t.length;s<l;s++)if(o){if(t[s]!==r[s])return!1}else if(!e(t[s],r[s]))return!1;return!0}if("object"===n(t)&&"object"===n(r)){var c=Object.keys(t),u=Object.keys(r);return c.sort(),u.sort(),e(c,u)&&c.every((function(n){return e(t[n],r[n])}))}return!1}},323499:(e,t,r)=>{e.exports=r(131586).defaults},929761:(e,t,r)=>{var n=r(37225).default;e.exports=function(e){return null!==e&&("object"===n(e)||"function"==typeof e)&&"function"==typeof e.then}},957488:(e,t,r)=>{var n=r(37225).default;function i(e,t,r){if(t===e);else if(Array.isArray(t)&&Array.isArray(e))for(var a=0,o=t.length;a<o;a++)e[a]=i(e[a],t[a],r);else if("object"===n(t)&&"object"===n(e))for(var s in t){var l=r&&r(e[s],t[s],s);void 0===l&&(l=i(e[s],t[s],r)),e[s]=l}else void 0===t&&void 0!==e||(e=t);return e}r(893248),e.exports=function(e){var t,r=Array.prototype.slice.call(arguments,1);"function"==typeof r[r.length-1]&&(t=r.pop());for(var n=0,a=r.length;n<a;n++)e=i(e,r[n],t);return e}},741486:(e,t,r)=>{e.exports=r(162352).shallowClone},162352:(e,t,r)=>{var n=r(37225).default;function i(e,t,r){"object"===n(t)&&(r=t.depth,t=t.circular);var i=[],a=[];return void 0===t&&(t=!0),void 0===r&&(r=1/0),function e(r,o){if(null===r)return null;if(0===o)return r;var s,l,c;if("object"!==n(r))return r;if(r instanceof Map)s=new Map;else if(r instanceof Set)s=new Set;else if(r instanceof Promise)s=new Promise((function(t,n){r.then((function(r){t(e(r,o-1))}),(function(t){n(e(t,o-1))}))}));else if(Array.isArray(r))s=[];else{if((c=r)instanceof ArrayBuffer||c instanceof Int8Array||c instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&c instanceof Uint8ClampedArray||c instanceof Int16Array||c instanceof Uint16Array||c instanceof Int32Array||c instanceof Uint32Array||c instanceof Float32Array||c instanceof Float64Array)return r.slice(0);r instanceof RegExp?(s=new RegExp(r.source,(r.global?"g":"")+(r.ignoreCase?"i":"")+(r.multiline?"m":"")),r.lastIndex&&(s.lastIndex=r.lastIndex)):r instanceof Date?s=new Date(r.getTime()):r instanceof Error?s=Object.create(r):(l=Object.getPrototypeOf(r),s=Object.create(l))}if(t){var u=i.indexOf(r);if(-1!==u)return a[u];i.push(r),a.push(s)}for(var p in r instanceof Map&&r.forEach((function(t,r){var n=e(r,o-1),i=e(t,o-1);s.set(n,i)})),r instanceof Set&&r.forEach((function(t){var r=e(t,o-1);s.add(r)})),r){var d;l&&(d=Object.getOwnPropertyDescriptor(l,p)),d&&null===d.set||(s[p]=e(r[p],o-1))}if(Object.getOwnPropertySymbols)for(var m=Object.getOwnPropertySymbols(r),h=0;h<m.length;h++){var v=m[h],g=Object.getOwnPropertyDescriptor(r,v);g&&!g.enumerable||(s[v]=e(r[v],o-1),g.enumerable||Object.defineProperty(s,v,{enumerable:!1}))}return s}(e,r)}r(499313),r(261148),r(573467),r(816221),r(436206),r(595249),r(185466),r(370843),r(961626),r(897995),r(518926),r(725676),r(81738),r(479959),r(879587),r(353478),r(643300),r(363242),r(911895),r(301207),r(792647),r(879104),r(497814),r(78019),r(474646),r(28227),r(420879),r(680851),r(725637),r(686862),r(169513),r(993224),r(604542),r(292381),r(784425),r(327744),r(229994),r(34757),r(839810),r(402308),r(343055),r(769900),r(321500),r(290671),r(17938),r(485143),r(693508),r(893248),r(119861),r(978996),r(587621),r(538941),r(328614),r(936963),r(923304),r(362499),r(888784),r(508460),r(913688),r(322511),r(378702),e.exports={shallowClone:function(e){return i(e,!0,1)},deepClone:function(e){return i(e,!0)}}},131586:(e,t,r)=>{r(573467),r(508460);var n=Object.prototype,i=n.hasOwnProperty;e.exports={defaults:function(e){e=Object(e);for(var t=arguments.length,r=new Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];return r.forEach((function(t){if(null!==t)for(var r in t=Object(t)){var a=e[r];(void 0===a||a===n[r]&&!i.call(e,r))&&(e[r]=t[r])}})),e}}},252933:e=>{var t=0;e.exports=function(e){return(e||"")+ ++t}},489955:(e,t,r)=>{"use strict";r.d(t,{Z:()=>C});var n,i,a=r(89211),o=r(143681),s=r(236229),l=r(736781),c=r(993184),u=r(668962),p=r(749886),d=r(127658),m=r(108445),h=(r(824098),r(573467),r(936963),r(923304),r(457685),r(426968)),v=r(373646),g=r(519559),f=r(902527),b=r(713761),y=r(973270),_=r(896202),w=v.Z.filter,k={},Z=[],x=!1,S=function(){},$=function(e){return"function"==typeof e?e:"object"===(0,d.Z)(e)&&"function"==typeof e.get?e.get:S},A=function(e){return"object"===(0,d.Z)(e)&&"function"==typeof e.set?e.set:S},C=(0,m.Z)({FirstExecutionMarker:k})((i=function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(e){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:S,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:g.Z,c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,u=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;if((0,a.Z)(this,r),(n=t.call(this)).previousValue=k,n.bindings=[],n.dirty=!!o,n.disposableParent=u,n.valueGetter=$(e),n.set=A(e),n.callback=i||S,l&&l instanceof f.Z){var p=l,d=n.apply.bind((0,s.Z)(n));l=function(){return p.push(d,c)}}return n.invalidate=function(){if(r.active!==(0,s.Z)(n)){if(n.track){var e=new Error;Error.captureStackTrace(e),_.Z.log("change detected",window._signal,e.stack)}l?(n.dirty=!0,l()):n.compute()}},o?n.get():n.compute(),n}return(0,o.Z)(r,[{key:"removeBindings",value:function(){var e=this.bindings;if(e){for(var t=this.invalidate,r=0,n=e.length;r<n;++r){var i=e[r];i.ref.remove(t),i.dispose&&i.dispose()}this.bindings=null}}},{key:"dispose",value:function(){this.removeBindings(),(0,l.Z)((0,c.Z)(r.prototype),"dispose",this).call(this)}},{key:"update",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this.previousValue;if(r===k||r!==e)return this.previousValue=e,t&&this.callback(e),!0}},{key:"apply",value:function(){if(!this.isDisposed&&this.dirty)return this.compute()}},{key:"_computeInnerValue",value:function(){this.dirty=!1,this.removeBindings();var e=this.disposableParent;if(!e||!e.isDisposed){x&&(Z=[]),x=!0;var t=Z,n=r.run(t,this.valueGetter,this);if(n=w(t,n),x=!1,!t.length)return n;Z=[];for(var i=this.invalidate,a=0,o=t.length;a<o;++a){var s=t[a];s.ref=h.Z.on(s.obj,s.eventName,i)}return this.bindings=t,n}}},{key:"compute",value:function(){var e=this._computeInnerValue();return this.update(e,!0)}},{key:"get",value:function(){var e=this._computeInnerValue();return this.update(e,!1),e}}],[{key:"pushMutator",value:function(e){r.mutatorsStack.push(r.mutator),r.mutator=e}},{key:"popMutator",value:function(e){r.mutator===e?r.mutator=r.mutatorsStack.pop():console.error("Trying to pop a mutator that is not in the top of the stack")}},{key:"run",value:function(e,t,n){var i=r.active;r.active=e;var a=n&&n.track;a&&(e.track=n,_.Z.groupStart("Running "+(n.name||"bindings")));try{return t.call(n)}finally{a&&(_.Z.groupEnd("Running "+(n.name||"binder")),e.track=null),r.active=i}}},{key:"recordEvent",value:function(e,t){var n=r.active;if(n){if(n.track){var i=(0,y.Z)(e)+"-"+(e.constructor?e.constructor.name:"Anonymous");_.Z.log("Recording",i,t)}n.push({obj:e,eventName:t})}}},{key:"recordChange",value:function(e,t,n,i){h.Z.trigger(e,t);var a=r.mutator;a&&a.record(e,t,n,i)}}]),r}(b.Z),i.mutatorsStack=[],i.active=null,i.mutator=null,n=i))||n},544560:(e,t,r)=>{"use strict";r.d(t,{Z:()=>h});var n,i=r(127658),a=r(89211),o=r(143681),s=r(668962),l=r(749886),c=r(673136),u=r(412333),p=(r(913688),r(540366)),d=r(489955),m=r(426968),h=(n=function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(){return(0,a.Z)(this,r),t.apply(this,arguments)}return(0,o.Z)(r,[{key:"update",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this.previousValue;return r===e?!!this.lengthChanged&&(this.lengthChanged=!1,t&&this.invokeCallback(e),!0):(r===this.FirstExecutionMarker?this.previousValue=e:r&&"object"===(0,i.Z)(r)&&m.Z.stopListening(this,r),this.lengthChanged=!1,e&&"object"===(0,i.Z)(e)&&m.Z.listenTo(this,e,"change",this.onLengthChanged),t&&this.invokeCallback(e),!0)}},{key:"onLengthChanged",value:function(){this.lengthChanged=!0,this.invalidate()}},{key:"invokeCallback",value:function(e){e instanceof p.Z?this.callback(e.base):this.callback(e)}}]),r}(d.Z),(0,c.Z)(n.prototype,"onLengthChanged",[u.Z],Object.getOwnPropertyDescriptor(n.prototype,"onLengthChanged"),n.prototype),n)},373646:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a}),r(888784),r(973774);var n=[r(808334).Z],i=1;const a={add:function(e){n.push(e),i=n.length},remove:function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1),i=n.length},filter:function(e,t){for(var r=0,a=i;r<a;++r){var o=n[r](e,t);if(o)return o.value}return t}}},540366:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(143681),i=r(89211),a=(0,n.Z)((function e(){(0,i.Z)(this,e)}))},808334:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(929761),i=r.n(n);function a(e,t){if(i()(t)){var r=t._torq_binding;if(r)return r.resolved||e.push({eventName:"update",obj:r}),r}}},426968:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l,e:()=>a});var n=r(89211),i=r(143681),a=(r(322511),r(542543),r(573467),r(888784),r(824098),r(893248),r(378702),r(457685),r(973774),"_signals"),o=Symbol("owner"),s=function(e){return null!==e},l=function(){function e(t){(0,n.Z)(this,e),this[o]=void 0,this[o]=t,this.handlers=[],this.nullHandlers=0}return(0,i.Z)(e,[{key:"add",value:function(e){this.handlers.push(e)}},{key:"remove",value:function(e){var t=this.handlers,r=t.indexOf(e);-1!==r&&(t[r]=null,this.nullHandlers++,this.nullHandlers>t.length/4&&(this.handlers=t.filter(s),this.nullHandlers=0))}},{key:"trigger",value:function(){for(var e=this.handlers.slice(),t=this[o],r=0,n=e.length;r<n;++r){var i=e[r];i&&i.apply(t,arguments)}}},{key:"triggerNoArgs",value:function(){for(var e=this.handlers.slice(),t=this[o],r=0,n=e.length;r<n;++r){var i=e[r];i&&i.call(t)}}},{key:"triggerWithArray",value:function(e){for(var t=this.handlers.slice(),r=this[o],n=0,i=t.length;n<i;++n){var a=t[n];a&&a.apply(r,e)}}}],[{key:"trigger",value:function(e,t){var r=e._signals;if(r&&r[o]===e){var n=r[t];if(n)return n.triggerWithArray(Array.prototype.slice.call(arguments,2)),n}}},{key:"triggerNoArgs",value:function(e,t){var r=e._signals;if(r&&r[o]===e){var n=r[t];if(n)return n.triggerNoArgs(),n}}},{key:"on",value:function(t,r,n){var i=t._signals;i&&i[o]===t||((i={})[o]=t,Object.defineProperty(t,a,{enumerable:!1,configurable:!1,value:i}));var s=i[r];return s||(s=i[r]=new e(t)),s.handlers.push(n),s}},{key:"off",value:function(e,t,r){var n=e._signals;if(n&&n[o]===e){var i=n[t];i&&i.remove(r)}}},{key:"listenTo",value:function(t,r,n,i){var a=t._listening;a||(t._listening=a=[]);var o=function(){i.apply(t,arguments)};a.push({obj:r,name:n,method:i,handler:o}),e.on(r,n,o)}},{key:"stopListening",value:function(t,r,n,i){var a=t._listening;if(a)for(var o=0,s=a.length;o<s;){var l=a[o];r&&l.obj!==r||n&&l.name!==n||i&&l.method!==i?++o:(e.off(l.obj,l.name,l.handler),a.splice(o,1),--s)}}}]),e}()},461852:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var n,i=r(89211),a=r(143681),o=r(736781),s=r(993184),l=r(668962),c=r(749886),u=r(673136),p=r(451409),d=r(222606),m=(r(785226),r(913688),r(112957)),h=r(996310),v=r(459471),g=(n=function(e){(0,l.Z)(r,e);var t=(0,c.Z)(r);function r(e){var n;(0,i.Z)(this,r);var a=(n=t.call(this)).scope=n.link(new h.Z),o=e||v.ZP;return n.factory=new o(a),n}return(0,a.Z)(r,[{key:"start",value:function(e,t,r){this.factory.parentNode=e,this.factory.nextNode=t,r&&(this.factory.scope=r);var n=this.render();this.view=this.factory.renderContent(null,n),this.attached()}},{key:"dispose",value:function(){this.view&&(this.detached(),this.factory.cacheContent(this.view),this.view=null),this.factory=null,(0,o.Z)((0,s.Z)(r.prototype),"dispose",this).call(this)}},{key:"render",value:function(){}},{key:"attached",value:function(){}},{key:"detached",value:function(){}}],[{key:"instance",get:function(){return new this}}]),r}(m.Z),(0,u.Z)(n,"instance",[d.Z],Object.getOwnPropertyDescriptor(n,"instance"),n),(0,u.Z)(n.prototype,"render",[p.Z],Object.getOwnPropertyDescriptor(n.prototype,"render"),n.prototype),n)},451409:(e,t,r)=>{"use strict";function n(e,t,r){"function"==typeof r.get?r.get=function(){throw new Error("Abstract getter ".concat(t," called on ").concat(e.constructor.name))}:"function"==typeof r.set?r.set=function(){throw new Error("Abstract setter ".concat(t," called on ").concat(e.constructor.name))}:(r.writable=!0,r.value=function(){throw new Error("Abstract method ".concat(t," called on ").concat(e.constructor.name))})}r.d(t,{Z:()=>n}),r(936963),r(923304),r(35812),r(457685)},704083:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l}),r(573467),r(508460),r(4085),r(362499),r(888784),r(367469),r(378702);for(var n=r(878537),i=r(548967),a=r(862240),o=["is","as","ref","define-ref"],s=n.Z.prototype;s;)Object.getOwnPropertyNames(s).forEach((function(e){Object.prototype.hasOwnProperty.call(s,e)&&o.push(e)})),s=Object.getPrototypeOf(s);const l=a.Z.makePropertyDecorator((function(e,t,r,n){-1!==o.indexOf(t)&&console.warn('"'+t+'" is a reserved attribute name, and may not work correctly as an @Attribute - please use a different name.');var a=e.definedAttributes;return Object.prototype.hasOwnProperty.call(e,"definedAttributes")||(a=a?Object.assign({},a):{},Object.defineProperty(e,"definedAttributes",{configurable:!0,enumerable:!1,writable:!0,value:a})),a[t]=t,n&&t!==n&&(a[n]=t,Object.defineProperty(e,n,{configurable:!0,enumerable:!1,get:function(){return this[t]},set:function(e){this[t]=e}})),(0,i.Z)(e,t,r)}))},412333:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i}),r(936963),r(923304),r(378702);var n=r(862240);function i(e,t,r){var i=n.Z.getInitialValue(r);if("function"!=typeof i)throw new Error("@Bind can only be applied to a function. (property: ".concat(t,")"));delete r.value,delete r.writable,r.get=function(){if(e===this)return i;var r=i.bind(this);return Object.defineProperty(this,t,{configurable:!0,enumerable:!1,value:r}),r}}},54262:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n}),r(367469),r(35812);const n=r(862240).Z.makeClassDecorator((function(e,t,r){if(t&&(e.prototype._xrayClassName=t),r){var n=e.prototype.events;Object.assign(e.prototype,r),r.events&&n&&(e.prototype.events=n.concat(r.events))}}))},491464:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(499776),i=r(904951);function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;return(0,n.Z)(i.Z,"Now",e,t)}},862240:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(89211),i=r(143681),a=(r(378702),r(936963),r(923304),r(35812),function(){function e(){(0,n.Z)(this,e)}return(0,i.Z)(e,null,[{key:"_isDirectClassInvocation",value:function(e){return 1===e.length&&"function"==typeof e[0]}},{key:"_isDirectPropertyInvocation",value:function(e){return 3===e.length&&e[2]&&Object.prototype.hasOwnProperty.call(e[2],"configurable")}},{key:"wrapPropertyDecorator",value:function(t,r,n){var i=e.getInitialValue(n);return delete n.value,delete n.writable,n.get=function(){if(t===this)return i;var n=e.makePropertyDecorator(i.bind(this));return Object.defineProperty(this,r,{configurable:!0,enumerable:!1,value:n}),n},n}},{key:"makePropertyDecorator",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];if(e._isDirectPropertyInvocation(i))return t.apply(this,i);if(r.throwOnClassInvocation&&e._isDirectClassInvocation(i))throw new Error(r.throwOnClassInvocation);return function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t.apply(this,r.concat(i))}}}},{key:"makeClassDecorator",value:function(t){return function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return e._isDirectClassInvocation(n)?t.apply(this,n):function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return t.apply(this,r.concat(n))}}}},{key:"getInitialValue",value:function(e){return e.initializer?e.initializer():e.value}}]),e}())},299493:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(499776);const i=r(862240).Z.makePropertyDecorator((function(e,t,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return new n.Z((function(e){var t;function r(){for(var r=this,n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];t=setTimeout((function(){e.apply(r,a)}),i)}return r.cancel=function(){t&&(clearTimeout(t),t=null)},r}),"Now")(e,t,r)}))},588816:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o}),r(457685);var n=r(426968),i=r(571815);function a(e){this.name=e,this.signal=new n.Z}function o(e,t,r){return function(n){var o=e(n)||n,s=t.hot;if(s){var l="component"+r,c=s.data&&s.data[l];s.accept(),s.dispose((function(e){return e[l]=c})),c?(c.instance=o,i.Z.push((function(){return c.signal.triggerNoArgs()}))):c=new a(r),o.hotReloader=c}return o}}},222606:(e,t,r)=>{"use strict";function n(e,t,r){var n="_"+t,i=r.get;if(!i)throw new Error("@Memoize can only be applied on getters.");r.get=function(){if(Object.prototype.hasOwnProperty.call(this,n))return this[n];var e=i.call(this);return this[n]=e,Object.defineProperty(this,t,{configurable:!0,value:e}),e}}r.d(t,{Z:()=>n}),r(936963),r(923304),r(378702)},548967:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s}),r(378702),r(367469);var n=r(489955),i=n.Z.recordEvent,a=n.Z.recordChange,o={defaultValue:!0};function s(e,t,r){var s="_"+t,l=r.initializer;if(l)Object.defineProperty(e,s,{configurable:!0,enumerable:!1,writable:!0,value:o});else if(e[s]===o)return{configurable:!0,enumerable:!1,get:function(){return delete e[t],this[t]},set:function(r){delete e[t],this[t]=r}};var c=e.definedObservables;return Object.prototype.hasOwnProperty.call(e,"definedObservables")||(c=c?Object.assign({},c):{},Object.defineProperty(e,"definedObservables",{configurable:!0,enumerable:!1,writable:!0,value:c})),c[t]=!0,{configurable:!0,enumerable:!1,get:function(){n.Z.active&&i(this,t);var e=this[s];return e===o&&(e=this[s]=l.call(this)),e},set:function(e){var r=this[s];r===o&&(r=this[s]=l.call(this)),r!==e&&(this[s]=e,a(this,t,e,r))}}}},108445:(e,t,r)=>{"use strict";function n(e){return function(t){e&&Object.assign(t.prototype,e)}}r.d(t,{Z:()=>n}),r(367469)},600531:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a}),r(378702);var n=r(519559),i=r(862240);const a=i.Z.makePropertyDecorator((function(e,t,r,a,o){"number"==typeof a?(o=a,a=n.Z):(a||(a=n.Z),"number"!=typeof o&&(o=0));var s=i.Z.getInitialValue(r),l="_task_"+t;delete r.value,delete r.writable,r.get=function(){var r,n=this;if(e===this)return s;var i=this[l];if(i)return i;var c=function(){n.isDisposed||s.apply(n,r)};return i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];r=t,a.push(c,o)},i.cancel=function(){a.remove(c)},Object.defineProperty(this,l,{value:i,enumerable:!1}),Object.defineProperty(this,t,{value:i,enumerable:!1}),i}}))},327743:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(499776),i=r(127658),a=(r(936963),r(923304),r(904951));function o(e,t,r){var n=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return"object"===(0,i.Z)(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),(0,a.Z)(e,t,{leading:n,maxWait:t,trailing:o})}const s=r(862240).Z.makePropertyDecorator((function(e,t,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a=arguments.length>4?arguments[4]:void 0;return(0,n.Z)(o,"Now",i,a)(e,t,r)}))},499776:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i}),r(378702),r(35812);var n=r(862240);function i(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];return function(r,a,o){var s=n.Z.getInitialValue(o),l=a+"__Safari_workaround";if(t){var c=a+t;Object.defineProperty(r,c,{value:s})}delete o.value,delete o.writable,o.get=function(){if(r===this)return s;var t=this[l];if(t)return t;var n={value:t=e.apply(void 0,[s].concat(i)),enumerable:!1,configurable:!0};return Object.defineProperty(this,a,n),Object.defineProperty(this,l,n),t}}}},914433:(e,t,r)=>{"use strict";r.d(t,{M_:()=>d,TF:()=>v,ZS:()=>h,xM:()=>m}),r(119861),r(978996),r(587621),r(538941),r(328614),r(127387),r(308967),r(531072),r(929216);var n=r(549914),i=r(577256),a=r.n(i),o=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=new RegExp("^("+["rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY","skewZ"].join("|")+")$"),l=["","webkit-","o-","ms-","moz-"],c=window.getComputedStyle(document.createElement("div")),u=new n.Z((function(e){for(var t=0,r=l.length;t<r;++t){var n=a()(l[t]+e);if(Object.prototype.hasOwnProperty.call(c,n))return n}return e}));function p(e){return o.test(e)?"px":s.test(e)?"deg":""}function d(e,t){if(function(e){return""!==p(e)}(e=a()(e))){if("string"==typeof t){var r=t.match(/^(\d+(?:\.\d+)?)(.*)$/),n=null;r&&(t=r[1],n=r[2],t=Math.round(100*parseFloat(t))/100)}if(n&&""!==n||(n=function(e,t){return"number"!=typeof t?"":p(e)}(e,t)),n)return t+n}return t}function m(e){var t=p(a()(e));if(t)return function(e){if("string"==typeof e){var r=e.match(/^(\d+(?:\.\d+)?)(.*)$/),n=null;r&&(e=r[1],n=r[2],e=Math.round(100*parseFloat(e))/100)}return e?(n||"number"!=typeof e||(n=t),n&&(e+=n),e):0}}function h(e){return u.get(e)}function v(e){var t={};for(var r in e){var n=e[r];t[u.get(r)]=d(r,n)}return t}},161665:(e,t,r)=>{"use strict";r.d(t,{IV:()=>d,TF:()=>u,Tk:()=>c,cn:()=>p});var n,i,a,o,s=r(278387),l=r(846031);r(816221),r(573467),r(485143),r(290671),r(17938),r(587621),r(276839),r(127387),r(888784),r(973774),"classList"in document.createElement("_")?(n=function(e,t,r){var n=e.classList;if(t)if("string"==typeof t)n.remove(t);else for(var i=0,a=t.length;i<a;++i)n.remove(t[i]);if(r)for(var o=0,s=r.length;o<s;++o)n.add(r[o]);return r},i=function(e,t,r){var n=e.classList;if(t)if("string"==typeof t)n.remove(t);else for(var i=0,a=t.length;i<a;++i)n.remove(t[i]);return r&&n.add(r),r},a=function(e,t){e.classList.add(t)},o=function(e,t){e.classList.remove(t)}):(n=function(e,t,r){var n=new Set(e.className.split(" "));if(t)if("string"==typeof t)n.delete(t);else{var i,a=(0,l.Z)(t);try{for(a.s();!(i=a.n()).done;){var o=i.value;n.delete(o)}}catch(e){a.e(e)}finally{a.f()}}if(r){var c,u=(0,l.Z)(r);try{for(u.s();!(c=u.n()).done;){var p=c.value;n.add(p)}}catch(e){u.e(e)}finally{u.f()}}return e.setAttribute("class",(0,s.Z)(n).join(" ")),r},i=function(e,t,r){var n=new Set(e.className.split(" "));if(t)if("string"==typeof t)n.delete(t);else{var i,a=(0,l.Z)(t);try{for(a.s();!(i=a.n()).done;){var o=i.value;n.delete(o)}}catch(e){a.e(e)}finally{a.f()}}return r&&n.add(r),e.setAttribute("class",(0,s.Z)(n).join(" ")),r},a=function(e,t){var r=e.className.split(" ");-1===r.indexOf(t)&&(r.push(t),e.setAttribute("class",r.join(" ")))},o=function(e,t){var r=e.className.split(" "),n=r.indexOf(t);-1!==n&&(r.splice(n,1),e.setAttribute("class",r.join(" ")))});var c=n,u=i,p=a,d=o},126752:(e,t,r)=>{"use strict";r.d(t,{Oo:()=>s,Wk:()=>n,_h:()=>a,id:()=>i,rm:()=>o}),r(573467),r(693508),r(888784);var n="http://www.w3.org/2000/svg",i="http://www.w3.org/XML/1998/namespace",a="http://www.w3.org/1999/xlink",o={xmlns:n,xml:i,xlink:a};function s(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return e.addEventListener(t,r,n),function(){return e.removeEventListener(t,r,n)}}},674543:(e,t,r)=>{"use strict";r.d(t,{A_:()=>o,o2:()=>a,tt:()=>i});var n=r(914433);function i(e,t){var r=e.style,i=(0,n.TF)(t);for(var a in i)r[a]=i[a]}function a(e,t){var r=e.style;for(var i in(0,n.TF)(t))r[i]=""}function o(e,t,r){e.style[(0,n.ZS)(t)]=null==r?"":(0,n.M_)(t,r)}},878537:(e,t,r)=>{"use strict";r.d(t,{Z:()=>A});var n=r(846031),i=r(89211),a=r(143681),o=r(236229),s=r(668962),l=r(749886),c=(r(322511),r(542543),r(573467),r(587621),r(558901),r(936963),r(923304),r(888784),r(457685),r(290671),r(816221),r(17938),r(378702),r(485143),r(508460),r(127658)),u=r(577256),p=r.n(u),d=/^(?:(.+?):)?(on-)?(.*)$/,m=function(){},h=function(){function e(t,r){(0,i.Z)(this,e),this.isEvent=r,this.configurable=!0,this.enumerable=!1,t.get?(this.get=t.get,this.set=t.set||m):this.value=t.value;var n=d.exec(t.original||t.name||"");this.namespace=n[1],this.name=n[3],this.normalizedName=e.normalizeName(n[3]),this.isEvent=this.isEvent||!!n[2]}return(0,a.Z)(e,[{key:"isValid",value:function(){return!!this.name}},{key:"toChildAttribute",value:function(e,t){var r=t&&this.namespace?this.namespace+":":"";return this.isEvent?{name:r+"on-"+this.name,value:this.value.bind(e)}:this.get?{name:r+this.name,get:this.get.bind(e),set:this.set.bind(e)}:{name:r+this.name,value:this.value}}},{key:"matchesNamespace",value:function(e){return!e||e===this.namespace}}],[{key:"normalizeName",value:function(e){return p()(e)}},{key:"forEachSpread",value:function(t,r,i){var a,o=(0,n.Z)(r);try{for(o.s();!(a=o.n()).done;){var s=(0,a.value)(t);if(s instanceof Array){var l,u=(0,n.Z)(s);try{for(u.s();!(l=u.n()).done;){var p=new e(l.value);p.isValid()&&i(p)}}catch(e){u.e(e)}finally{u.f()}}else if("object"===(0,c.Z)(s))for(var d in s){var m=s[d];if(Object.prototype.hasOwnProperty.call(s,d)){var h=void 0;m&&(Object.prototype.hasOwnProperty.call(m,"value")||Object.prototype.hasOwnProperty.call(m,"get"))?(m.name=d,h=m):h={name:d,value:m};var v=new e(h);v.isValid()&&i(v)}}}}catch(e){o.e(e)}finally{o.f()}}}]),e}(),v=r(685271),g=r(112957),f=r(896202),b=r(252933),y=r.n(b),_=null,w={},k=Symbol("addToChildAttributes"),Z=Symbol("shouldPropagateChildAttribute"),x=Symbol("attachSpreads"),S=Symbol("getChildTemplate"),$=Symbol("renderChildTemplate"),A=function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(){var e;if((0,i.Z)(this,r),e=t.call(this),_){var n=_,a=n.scope,s=n.factory,l=n.data,c=n.spreads;l.$_component=(0,o.Z)(e),e.scope=a,e.$_depth=s.depth,e.$_factory=s,e.$_view=l,c&&e[x](c)}return e}return(0,a.Z)(r,[{key:"attached",value:function(){}},{key:"detached",value:function(){}},{key:S,value:function(e){if(this.childrenBlocks)return this.childrenBlocks[e]||this.childrenBlocks[e.replace(/:/g,"_")]}},{key:$,value:function(e,t){var r={template:e,$_parent:this.$_view};return t&&(r.$_injectScope=function(e){for(var r=0,n=t.length;r<n;++r)e["v".concat(r)]=t[r]}),r}},{key:"renderChildren",value:function(e,t){if(e=e||"children",!t&&e instanceof Array&&(t=e,e="children"),t&&!(t instanceof Array))throw new Error("args parameter to renderChildren() must be an array");var r=this[S](e);return r?this[$](r,t):null}},{key:"hasChildren",value:function(e){return e=e||"children",void 0!==this[S](e)}},{key:"children",get:function(){return this.renderChildren()}},{key:Z,value:function(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&&this.definedAttributes[e.normalizedName])return!1;return!0}},{key:k,value:function(e,t,r){t.matchesNamespace(r)&&this[Z](t)&&e.push(t.toChildAttribute(this,!r))}},{key:"undeclaredAttributes",value:function(e){var t=this,r=[];if(this.sourceAttributes){var i,a=(0,n.Z)(this.sourceAttributes);try{for(a.s();!(i=a.n()).done;){var o=i.value;this[k](r,new h(o),e)}}catch(e){a.e(e)}finally{a.f()}}if(this.spreadAttributes&&h.forEachSpread(this.$_view,this.spreadAttributes,(function(n){t[k](r,n,e)})),this.eventAttributes){var s,l=(0,n.Z)(this.eventAttributes);try{for(l.s();!(s=l.n()).done;){var c=s.value;this[k](r,new h(c,!0),e)}}catch(e){l.e(e)}finally{l.f()}}return r}},{key:x,value:function(e){var t=this,r=this.events,n=this.definedAttributes;(n||r)&&h.forEachSpread(this.$_view,e,(function(e){var i=e.name,a=e.normalizedName,o=n&&n[a];o?Object.defineProperty(t,o,e):e.isEvent&&r&&r.indexOf(i)>-1&&!e.namespace&&e.value&&t.on(i,e.value)}))}}],[{key:"attachAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e)return t;for(var n=0,i=e.length;n<i;++n){var a=new h(e[n]),o=a.normalizedName,s=t.definedAttributes&&t.definedAttributes[o];if(!s){var l=o in t;if(t.definedObservables&&t.definedObservables[o])console.warn('WARNING: The JSX attribute "'.concat(o,'" 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(l){console.warn('ERROR: The JSX attribute "'.concat(o,'" was passed to a component declaring a ')+"property of the same name. Ignoring the JSX attribute.");continue}if(r)continue}}Object.defineProperty(t,s||o,a)}return t}},{key:"getBlockTemplate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"children";if(e)for(var r=0,n=e.length;r<n;++r){var i=e[r];if(i.name===t)return i.template}}},{key:"attachBlockTemplates",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e)for(var r=0,n=e.length;r<n;++r){var i=e[r];t[i.name]=i.template}return t}},{key:"make",value:function(e){var t,n,o,c,u,p,d,m,g,b,y=e||{},k=y.attributes,Z=y.spreads,x=y.blocks,S=y.init,$=y.events;z(this);var A,C,T,P=v.ZP.make({render:function(e,t){var r=_;_=w||{},w=null,_.scope=o?e.scope.fork():e.scope,_.data=t,_.factory=e,_.spreads=Z,_.definedAttributes=g;var i=new n;_.scope=null,_.data=null,w=_,_=r,S&&S(t,i),m&&E(i);var a,s=e.pushScope(i.scope),l=e.parentNode,p=e.nextNode,d=c&&c.call(i);d&&d.template?((a=d.template.make(e)).$_parent=t,a.$_scope=d):a=v.ZP.EmptyTemplate.make(e),e.parentNode=l,e.nextNode=p,t.$_view=a,a.template.run(e,a),e.restoreScope(s),u&&u.call(i),A&&(t.$_hotReloadFactory=e,t.$_hotReloadScope=e.scope,t.$_hotReloadNext=C,C&&(C.$_hotReloadPrevious=t),C=t)},reuse:O,dispose:I,move:function(e,t){var r=t.$_view;r.template.move(e,r)},firstChild:function(e,t){var r=t.$_view;return r.template.firstChild(e,r)},lastChild:function(e,t){var r=t.$_view;return r.template.lastChild(e,r)}});return(A=t.hotReloader)&&(T=new Set,A.signal.add((function(){f.Z.log("[HMR] Patching component",A.name);for(var e=0,t=C;t;t=t.$_hotReloadNext)++e,I(t.$_hotReloadFactory,t,!0);f.Z.log("[HMR] Disposed ",e," instances of ",A.name),z(A.instance),T.forEach((function(e){return P.releaseCache(e)})),e=0;for(var r=C;r;r=r.$_hotReloadNext){++e;var n=r.$_hotReloadFactory,i=n.pushScope(r.$_hotReloadScope);O(n,r,!0),n.restoreScope(i)}f.Z.log("[HMR] Updated ",e," instances of ",A.name)}))),P;function z(e){if(n=function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(){return(0,i.Z)(this,r),t.apply(this,arguments)}return(0,a.Z)(r)}(t=e),r.attachAttributes(k,n.prototype,!0),n.prototype.childrenBlocks=r.attachBlockTemplates(x),n.prototype.sourceAttributes=k,n.prototype.spreadAttributes=Z,n.prototype.eventAttributes=$,o=n.prototype.fork,c=n.prototype.render,u=n.prototype.attached,p=n.prototype.detached,u===r.prototype.attached&&(u=null),p===r.prototype.detached&&(p=null),d=n.prototype.dispose,g=n.prototype.definedAttributes,(b=n.prototype.events)&&$){m=[];for(var v=0,f=$.length;v<f;++v){var y=$[v];if(b.indexOf(y.name)>-1)m.push(y);else{var _=h.normalizeName(y.name);b.indexOf(_)>-1&&(y.name=_,m.push(y))}}}}function E(e){for(var t=0,r=m.length;t<r;++t){var n=m[t];e.on(n.name,n.value)}}function O(e,t,r){var i=_;_=w||{},w=null,_.scope=o?e.scope.fork():e.scope,_.data=t,_.factory=e,_.spreads=Z,_.definedAttributes=g;var a=new n;_.scope=null,_.data=null,w=_,_=i,S&&S(t,a),m&&E(a);var s=e.pushScope(a.scope);e.gotoAfterView(t.$_view),t.$_view.template.cache(e,t.$_view);var l,p=e.parentNode,d=e.nextNode,h=c&&c.call(a);h&&h.template?((l=h.template.make(e)).$_parent=t,l.$_scope=h):l=v.ZP.EmptyTemplate.make(e),e.parentNode=p,e.nextNode=d,t.$_view=l,l.template.run(e,l),e.restoreScope(s),u&&u.call(a),!r&&A&&(t.$_hotReloadFactory=e,t.$_hotReloadScope=e.scope,t.$_hotReloadNext=C,C&&(C.$_hotReloadPrevious=t),C=t)}function I(e,t,r){var n=t.$_component;!r&&A&&(t.$_hotReloadFactory=e,C===t&&(C=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,T.add(e)),p&&p.call(n);var i=t.$_view;i.template.dispose(e,i),m&&function(e){for(var t=0,r=m.length;t<r;++t){var n=m[t];e.off(n.name,n.value)}}(n),S&&S(t,null),d&&d.call(n),i.$_parent=null,i.$_scope=null,i.$_factory=null,n.scope=null,n.$_view=null,t.$_component=null}}},{key:"makeDynamic",value:function(e){var t=y()("_dynamicTemplate");return{make:function(r,n){if(!n)return v.ZP.EmptyTemplate;var i=n[t];return i&&i.$_base===n||((i=n[t]=r.makeComponent(n,e)).$_base=n),i}}}}]),r}(g.Z)},307967:(e,t,r)=>{"use strict";r.d(t,{Z:()=>$});var n,i,a,o,s=r(127658),l=r(89211),c=r(143681),u=r(108445),p=(r(824098),r(573467),r(785226),r(457685),r(587621),r(531072),r(426968)),d=r(373646),m=r(489955),h=r(753194),v=r(519559),g=r(476553),f=r(754576),b=d.Z.filter,y=[],_="empty",w="text",k="template",Z=/^(?:(.+?):)?on-(.+?)(-capture)?$/,x=0;function S(e){return function(){try{return e.apply(this,arguments)}catch(e){console.error(e)}}}h.Z.setImmediate?(a=h.Z.setImmediate,o=h.Z.clearImmediate):(a=function(e){return h.Z.setTimeout(e,0)},o=h.Z.clearTimeout);var $=(0,u.Z)({_group_g:!0})((i=function(){function e(t,r,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};(0,l.Z)(this,e),this.id=++x,this.depth=0,this.preventExceptions=!1,this.attr=i,this.templates=new g.Z,this.scope=t,this.parentNode=r,this.nextNode=n}return(0,c.Z)(e,[{key:"makeCommentNode",value:function(){}},{key:"makeTextNode",value:function(){}},{key:"makeCustomNode",value:function(){}},{key:"makeCustomNodeWithType",value:function(){}},{key:"setTextContent",value:function(){}},{key:"setNodeValue",value:function(){}},{key:"appendNode",value:function(){}},{key:"appendTextNode",value:function(){}},{key:"replaceNode",value:function(){}},{key:"makeNode",value:function(){}},{key:"makeNodeWithType",value:function(){}},{key:"makeFragment",value:function(){}},{key:"removeNode",value:function(){}},{key:"pushTextNode",value:function(){}},{key:"setAttr",value:function(){}},{key:"removeAttr",value:function(){}},{key:"attachEvent",value:function(){}},{key:"detachEvent",value:function(){}},{key:"pushNode",value:function(){}},{key:"pushCommentNode",value:function(){}},{key:"pushTemplateNode",value:function(){}},{key:"makeComponent",value:function(e,t){return e.make(t)}},{key:"ensureAttr",value:function(){return this.setAttr}},{key:"enterNode",value:function(e){this.parentNode=e,this.nextNode=null}},{key:"exitNode",value:function(e){this.parentNode=e.parentNode,this.nextNode=e.nextSibling}},{key:"pushScope",value:function(e){var t=this.scope;return this.scope=e,t}},{key:"restoreScope",value:function(e){this.scope=e}},{key:"pushJsx",value:function(e){var t=e.template.make(this);return t.$_parent=e.$_parent,t.$_scope=e,t.template.run(this,t),t}},{key:"renderContent",value:function(e,t){if(!e){if(null==t||""===t)return{type:_,content:t,scope:this.scope,node:this.pushCommentNode("empty expression")};if("function"==typeof t&&"function"==typeof t.make){var r=(t.TemplateInstance||(t.TemplateInstance=t.make({}))).make(this);return r.template.run(this,r),{type:k,content:t,scope:this.scope,view:r}}if("object"===(0,s.Z)(t)){if(t.make&&"function"==typeof t.make){var n=t.make(this);return n.template.run(this,n),{type:k,content:t,scope:this.scope,view:n}}if(t.template&&t.template.make&&"function"==typeof t.template.make){var i=t.template.make(this);i.$_parent=t.$_parent,i.$_scope=t;var a=t.$_injectScope;return a&&a(i),i.template.run(this,i),{type:k,content:t,scope:this.scope,view:i}}}return{type:w,content:t,scope:this.scope,node:this.pushTextNode(t)}}if(t===e.content&&(e.type!==k||!e.view.$_disposed))return e;if(e.scope||(e.scope=this.scope),null==t||""===t){if(e.type===_)return e;if(e.type===w){var o=this.makeCommentNode("empty placeholder");return this.replaceNode(e.node,o),e.type=_,e.content=t,e.node=o,e}return this.gotoAfterContent(e),this.cacheContent(e),{type:_,content:t,scope:e.scope,node:this.pushCommentNode("empty expression")}}if("function"==typeof t&&"function"==typeof t.make){this.gotoAfterContent(e),this.cacheContent(e);var l=this.pushScope(e.scope),c=(t.TemplateInstance||(t.TemplateInstance=t.make({}))).make(this);return c.template.run(this,c),this.restoreScope(l),{type:k,content:t,scope:e.scope,view:c}}if("object"===(0,s.Z)(t)){if(t.make&&"function"==typeof t.make){this.gotoAfterContent(e),this.cacheContent(e);var u=this.pushScope(e.scope),p=t.make(this);return p.template.run(this,p),this.restoreScope(u),{type:k,content:t,scope:e.scope,view:p}}if(t.template&&t.template.make&&"function"==typeof t.template.make){this.gotoAfterContent(e),this.cacheContent(e);var d=this.pushScope(e.scope),m=t.template.make(this);m.$_parent=t.$_parent,m.$_scope=t;var h=t.$_injectScope;return h&&h(m),m.template.run(this,m),this.restoreScope(d),{type:k,content:t,scope:e.scope,view:m}}}if(e.type===w)return this.setNodeValue(e.node,t),e.content=t,e;if(e.type===_){var v=this.makeTextNode(t);return this.replaceNode(e.node,v),e.type=w,e.content=t,e.node=v,e}return this.gotoAfterContent(e),this.cacheContent(e),{type:w,content:t,scope:e.scope,node:this.pushTextNode(t)}}},{key:"moveContent",value:function(e){switch(e.type){case _:case w:this.pushNode(e.node);break;case k:var t=e.view;t.template.move(this,t)}}},{key:"cacheContent",value:function(e){switch(e.type){case _:case w:this.removeNode(e.node),e.node=null;break;case k:var t=e.view;t.template.cache(this,t),e.view=null}}},{key:"disposeContent",value:function(e){switch(e.type){case _:case w:break;case k:var t=e.view;t.template.dispose(this,t)}return e.scope=null,e}},{key:"gotoBeforeNode",value:function(e){this.parentNode=e.parentNode,this.nextNode=e}},{key:"gotoAfterNode",value:function(e){this.parentNode=e.parentNode,this.nextNode=e.nextSibling}},{key:"gotoBeforeView",value:function(e){var t=e.template.firstChild(this,e);this.parentNode=t.parentNode,this.nextNode=t}},{key:"gotoAfterView",value:function(e){var t=e.template.lastChild(this,e);this.parentNode=t.parentNode,this.nextNode=t.nextSibling}},{key:"gotoBeforeContent",value:function(e){switch(e.type){case _:case w:this.gotoBeforeNode(e.node);break;case k:this.gotoBeforeView(e.view)}}},{key:"gotoAfterContent",value:function(e){switch(e.type){case _:case w:this.gotoAfterNode(e.node);break;case k:this.gotoAfterView(e.view)}}},{key:"contentFirstChild",value:function(e){switch(e.type){case _:case w:return e.node;case k:var t=e.view;return t.template.firstChild(this,t)}}},{key:"contentLastChild",value:function(e){switch(e.type){case _:case w:return e.node;case k:var t=e.view;return t.template.lastChild(this,t)}}},{key:"runRafBinder",value:function(e,t,r,n,i){var o=this;return a((function(){o.runBinder(e,t,r,n,i)}))}},{key:"disposeRafBinder",value:function(e){o(e)}},{key:"runBinder",value:function(e,t,r,n,i){var a=m.Z.active,o=m.Z.active=y;this.preventExceptions&&(e=S(e));var s,l=e(r);if(m.Z.active=a,l=b(o,l),o.length){y=[],s=function(e,t,r,n,i,a){var o=e.depth,s=v.Z.wrap((function(){var a=e.depth;if(e.depth=o,r)for(var l=0,c=r.length;l<c;++l){var u=r[l],d=u.ref;d&&(d.remove(s),u.dispose&&u.dispose())}if(!t.$_disposed){var h=m.Z.active;r=m.Z.active=[];var v=n(t);m.Z.active=h,v=b(r,v);for(var g=0,f=r.length;g<f;++g){var y=r[g];y.ref=p.Z.on(y.obj,y.eventName,s)}i(e,t,r,s,v,!1,!1),e.depth=a}}),o,a);return s}(this,r,o,e,t,i);for(var c=0,u=o.length;c<u;++c){var d=o[c];d.ref=p.Z.on(d.obj,d.eventName,s)}}else o=null;t(this,r,o,s,l,n,!n)}},{key:"removeSignals",value:function(e,t){if(e)for(var r=0,n=e.length;r<n;++r){var i=e[r];i.ref.remove(t),i.dispose&&i.dispose()}}},{key:"setUnpreparedAttr",value:function(e,t,r){var n=(0,f.g)(t);return(this.attr[n]||(this.attr[n]=this.ensureAttr(t)))(e,t,r)}},{key:"updateSpreadAttribute",value:function(e,t,r,n){if(n){for(var i=n.attrs,a=0,o=i.length;a<o;++a){var l=i[a];l.signals&&this.removeSignals(l.signals,l.invalidate),l.disposed=!0,l.updater(e,l.name,null,l.state),l.link=null,l.state=null}for(var c=n.events,u=0,p=c.length;u<p;++u){var d=c[u];this.detachEvent(e,d.name,d.value,d.capture)}}if(t){var m=this;if(n={attrs:[],events:[]},t instanceof Array)for(var h=0,v=t.length;h<v;++h){var g=t[h];_(g.name,g.get?g:g.value)}else if("object"===(0,s.Z)(t))for(var b in t)if(Object.prototype.hasOwnProperty.call(t,b)){var y=t[b];"object"===(0,s.Z)(y)&&null!==y?_(b,y.get?y:y.value):_(b,y)}return n}function _(t,i){var a=(t=String(t)).match(Z);if(a){var o=a[1],l=a[2],c=!!a[3];if(!o){var u=m.attachEvent(e,l,i,c)||i;n.events.push({name:l,value:u,capture:c})}}else{var p=(0,f.g)(t),d=m.attr[p]||(m.attr[p]=m.ensureAttr(t)),h={name:t,updater:d,disposed:!1};if(n.attrs.push(h),"function"==typeof i)m.runBinder(i,(function(r,n,i,a,o,s,l){h.disposed||(h.signals=i,h.invalidate=a,(l||o!==h.value)&&(h.value=o,h.state=d(e,t,o,h.state)))}),r,!1);else if("object"===(0,s.Z)(i)&&null!==i&&"function"==typeof i.get){var v;if("function"==typeof i.set){var g=i.get,b=i.set;m.preventExceptions&&(g=S(g),b=S(b)),h.link={data:r,node:e,setterFn:function(e,t){return b(t),g()}},v=function(e){return function(t){var r=e.state;if(r){var n=e.link;r.onEvent(n.data,n.node,t,e.value,n.setterFn)}}}(h)}m.runBinder(i.get,(function(r,n,i,a,o,s,l){h.disposed||(h.signals=i,h.invalidate=a,(l||o!==h.value)&&(h.value=o,h.state=d(e,t,o,h.state,v)))}),r,!1)}else h.state=d(e,t,i)}}}},{key:"replaceTemplate",value:function(e,t){this.gotoAfterView(e),e.template.cache(this,e),t.template.run(this,t)}}]),e}(),i.active=null,n=i))||n},476553:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(89211),i=r(143681);function a(e){var t=e+"_prev",r=e+"_next";return function(){function e(){(0,n.Z)(this,e),this._first=null,this._last=null}return(0,i.Z)(e,[{key:"prepend",value:function(e){var n=this._first;this._first=e,e[r]=n,n?n[t]=e:this._last=e}},{key:"takeFirst",value:function(){var e=this._first;return e&&this.remove(e),e}},{key:"takeLast",value:function(){var e=this._last;return e&&this.remove(e),e}},{key:"remove",value:function(e){var n=e[t],i=e[r];n?(n[r]=i,e[t]=null):this._first=i,i?(i[t]=n,e[r]=null):this._last=n}}]),e}()}var o=a("$_lruG_"),s=a("$_lruL_"),l=!1,c=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:20;(0,n.Z)(this,e),this._byId={},this._count=0,this._global=new o,this._capacity=t}return(0,i.Z)(e,[{key:"init",value:function(e){this._byId[e]=new s}},{key:"take",value:function(e){var t=this._byId[e].takeFirst();return t&&(--this._count,this._global.remove(t)),t}},{key:"put",value:function(e,t){if(!(l&&this._count>=this._capacity)){var r=this._byId[e];if(r.prepend(t),t.$_lru_list=r,++this._count,this._global.prepend(t),this._count>this._capacity){--this._count;var n=this._global.takeLast();n.$_lru_list.remove(n),n.$_lru_list=null}}}},{key:"removeAll",value:function(e){for(var t=this._global,r=this._byId[e]._first;r;r=r.$_lruL_next)--this._count,t.remove(r);this.init(e)}}],[{key:"DISABLE_CACHING_BEYOND_CAPACITY",get:function(){return l},set:function(e){l=e}}]),e}()},504397:(e,t,r)=>{"use strict";r.d(t,{A:()=>n,z:()=>i});var n=[];function i(e){return n.push(e)-1}},996310:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(89211),i=r(143681),a=r(668962),o=r(749886),s=(r(785226),function(e){(0,a.Z)(r,e);var t=(0,o.Z)(r);function r(){return(0,n.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r,[{key:"fork",value:function(){var e=function(){};return e.prototype=this,this.link(new e(this))}},{key:"clean",value:function(){for(var e in this)Object.prototype.hasOwnProperty.call(this,e)&&"_"!==e[0]&&delete this[e]}}]),r}(r(112957).Z))},685271:(e,t,r)=>{"use strict";r.d(t,{ZP:()=>c});var n=r(89211),i=r(143681),a=(r(936963),r(923304),r(573467),r(693508),r(323499)),o=r.n(a),s={render:function(){},init:function(){},dispose:function(){},move:function(){},reuse:function(){}},l=0,c=function(){function e(){(0,n.Z)(this,e)}return(0,i.Z)(e,null,[{key:"make",value:function(t){if(!t.firstChild)return console.warn("Template didn't provide a first child method, so we cannot use it. Switching to EmptyTemplate.",t),e.EmptyTemplate;t.lastChild||(t.lastChild=t.firstChild);var r=++l,n=!1!==t.cache,i=o()(t,s),a=i.render,c=i.init,u=i.dispose,p=i.move,d=i.reuse,m=i.prepare,h={};return i.render=function(e,t){++e.depth,a(e,t),c(e,t),--e.depth},i.dispose=function(e,t){if(t.$_disposed)throw new Error("Invalid dispose on disposed template.");var r=e.parentNode,n=e.nextNode;u(e,t),t.$_disposed=!0,e.parentNode=r,e.nextNode=n},i.reuse=function(e,t){if(!t.$_disposed)throw new Error("Invalid reuse on live template.");t.$_disposed=!1;var r=e.parentNode,n=e.nextNode;++e.depth,d(e,t),c(e,t),--e.depth,e.parentNode=r,e.nextNode=n},i.cache=function(e,t){var i=e.parentNode,a=e.nextNode;t.$_disposed||(t.$_disposed=!0,u(e,t)),t.$_cache||(e.parentNode=t.$_cache=e.makeFragment(),e.nextNode=null,p(e,t),n&&e.templates.put(r,t)),e.parentNode=i,e.nextNode=a},i.run=function(e,t){if(!t.$_cache)return++e.depth,a(e,t),c(e,t),void--e.depth;e.pushNode(t.$_cache),t.$_cache=null,t.$_disposed=!1;var r=e.parentNode,n=e.nextNode;++e.depth,d(e,t),c(e,t),--e.depth,e.parentNode=r,e.nextNode=n},i.make=function(e){if(h[e.id]||(m&&m(e),h[e.id]=!0,n&&e.templates.init(r)),n){var t=e.templates.take(r);if(t)return t}return{template:i,$_cache:null,$_disposed:!1}},i.releaseCache=function(e){e.templates.removeAll(r)},i}}]),e}();c.EmptyTemplate=c.make({render:function(e,t){t.comment=e.pushCommentNode("empty template")},move:function(e,t){e.pushNode(t.comment)},firstChild:function(e,t){return t.comment}})},474787:(e,t,r)=>{"use strict";r.d(t,{Z:()=>k});var n,i,a,o,s=r(282466),l=r(89211),c=r(143681),u=r(236229),p=r(736781),d=r(993184),m=r(668962),h=r(749886),v=r(673136),g=r(412333),f=r(548967),b=(r(35812),r(913688),r(519559)),y=r(426968),_=r(713761),w=r(515870),k=(n=function(e){(0,m.Z)(r,e);var t=(0,h.Z)(r);function r(){var e;(0,l.Z)(this,r);for(var n=arguments.length,c=new Array(n),p=0;p<n;p++)c[p]=arguments[p];return e=t.call.apply(t,[this].concat(c)),(0,s.Z)(e,"active",i,(0,u.Z)(e)),(0,s.Z)(e,"startedAt",a,(0,u.Z)(e)),(0,s.Z)(e,"now",o,(0,u.Z)(e)),e}return(0,c.Z)(r,[{key:"start",value:function(){this.startedAt=this.now=(0,w.Z)(),this.active||(this.active=!0,this.enqueue())}},{key:"dispose",value:function(){this.stop(),(0,p.Z)((0,d.Z)(r.prototype),"dispose",this).call(this)}},{key:"stop",value:function(){this.active=!1}},{key:"dt",get:function(){return this.now-this.startedAt}},{key:"enqueue",value:function(){b.Z.push(this.run)}},{key:"run",value:function(){this.now=(0,w.Z)(),this.active&&(y.Z.trigger(this,"tick"),this.active?b.Z.after.push(this.enqueue):y.Z.trigger(this,"end"))}}]),r}(_.Z),i=(0,v.Z)(n.prototype,"active",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,v.Z)(n.prototype,"startedAt",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),o=(0,v.Z)(n.prototype,"now",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),(0,v.Z)(n.prototype,"enqueue",[g.Z],Object.getOwnPropertyDescriptor(n.prototype,"enqueue"),n.prototype),(0,v.Z)(n.prototype,"run",[g.Z],Object.getOwnPropertyDescriptor(n.prototype,"run"),n.prototype),n)},519559:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(274458),i=r(571815);const a=new n.Z(i.Z,"UI Task Queue",100)},50531:(e,t,r)=>{"use strict";r.d(t,{Z:()=>Z});var n,i,a,o,s,l=r(282466),c=r(89211),u=r(143681),p=r(236229),d=r(736781),m=r(993184),h=r(668962),v=r(749886),g=r(673136),f=r(412333),b=r(548967),y=(r(35812),r(936963),r(923304),r(913688),r(519559)),_=r(426968),w=r(713761),k=r(515870),Z=(n=function(e){(0,h.Z)(r,e);var t=(0,v.Z)(r);function r(){var e;(0,c.Z)(this,r);for(var n=arguments.length,u=new Array(n),d=0;d<n;d++)u[d]=arguments[d];return e=t.call.apply(t,[this].concat(u)),(0,l.Z)(e,"active",i,(0,p.Z)(e)),(0,l.Z)(e,"startedAt",a,(0,p.Z)(e)),(0,l.Z)(e,"stopAt",o,(0,p.Z)(e)),(0,l.Z)(e,"now",s,(0,p.Z)(e)),e}return(0,u.Z)(r,[{key:"start",value:function(e){if(e<0)throw new Error("Invalid time interval "+e);var t=this.startedAt=this.now=(0,k.Z)();this.stopAt=t+e,this.active||(this.active=!0,this.enqueue())}},{key:"dispose",value:function(){this.stop(),(0,d.Z)((0,m.Z)(r.prototype),"dispose",this).call(this)}},{key:"stop",value:function(){this.active=!1}},{key:"percent",get:function(){return(this.now-this.startedAt)/(this.stopAt-this.startedAt)}},{key:"enqueue",value:function(){y.Z.push(this.run)}},{key:"run",value:function(){var e=(0,k.Z)(),t=this.stopAt;!this.active||this.now>=t||(e=this.now=Math.min(t,e),_.Z.trigger(this,"tick"),this.active&&e<t?y.Z.after.push(this.enqueue):_.Z.trigger(this,"end"))}}]),r}(w.Z),i=(0,g.Z)(n.prototype,"active",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,g.Z)(n.prototype,"startedAt",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),o=(0,g.Z)(n.prototype,"stopAt",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),s=(0,g.Z)(n.prototype,"now",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),(0,g.Z)(n.prototype,"enqueue",[f.Z],Object.getOwnPropertyDescriptor(n.prototype,"enqueue"),n.prototype),(0,g.Z)(n.prototype,"run",[f.Z],Object.getOwnPropertyDescriptor(n.prototype,"run"),n.prototype),n)},323643:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(143681),i=r(89211),a=r(668962),o=r(749886),s=function(e){(0,a.Z)(r,e);var t=(0,o.Z)(r);function r(){return(0,i.Z)(this,r),t.apply(this,arguments)}return(0,n.Z)(r)}(r(519055).Z);s.placeholder="empty elseif"},519055:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(89211),i=r(143681),a=r(685271),o=r(878537),s=function(){function e(){(0,n.Z)(this,e)}return(0,i.Z)(e,null,[{key:"makeConditionReader",value:function(e){var t=e&&e.getCondition;if(t)return function(e){return Boolean(t(e))}}},{key:"make",value:function(e){var t=e.props,r=e.blocks,n=o.Z.attachBlockTemplates(r),i=n.children||n.if_true,s=n.if_false||n.else;if(!i&&!s)return a.ZP.EmptyTemplate;var l,c=this.makeConditionReader(t);if(!c)return i&&!s?l=i:!i&&s&&(l=s),l?a.ZP.make({render:function(e,t){var r=l.make(e);r.$_parent=t,t.$_view=r,l.run(e,r)},reuse:function(e,t){var r=t.$_view;r.template.reuse(e,r)},dispose:function(e,t){var r=t.$_view;r.template.dispose(e,r)},move:function(e,t){var r=t.$_view;r.template.move(e,r)},firstChild:function(e,t){var r=t.$_view;return r.template.firstChild(e,r)},lastChild:function(e,t){var r=t.$_view;return r.template.lastChild(e,r)}}):a.ZP.EmptyTemplate;var u=this.placeholder;function p(e,t,r,n,a,o,l){if(t.$_signals=r,t.$_invalidate=n,o){t.$_savedScope=e.scope,t.$_value=a;var c=a?i:s;if(c){var p=c.make(e);p.$_parent=t,p.v0=a,t.$_view=p,c.run(e,p)}else t.$_placeholder=e.pushCommentNode(u)}else if(l&&(t.$_savedScope=e.scope),a!==t.$_value){t.$_value=a;var d=a?i:s,m=t.$_view;if(m||d){var h=e.pushScope(t.$_savedScope);if(m?(e.gotoAfterView(m),m.template.cache(e,m),t.$_view=null):(e.gotoAfterNode(t.$_placeholder),e.removeNode(t.$_placeholder),t.$_placeholder=null),d){var v=d.make(e);v.$_parent=t,v.v0=a,t.$_view=v,d.run(e,v)}else t.$_placeholder?e.pushNode(t.$_placeholder):t.$_placeholder=e.pushCommentNode(u);e.restoreScope(h)}}else if(l){var g=t.$_view;g&&g.$_disposed&&g.template.reuse(e,g)}}return a.ZP.make({render:function(e,t){e.runBinder(c,p,t,!0)},reuse:function(e,t){e.runBinder(c,p,t,!1)},dispose:function(e,t){e.removeSignals(t.$_signals,t.$_invalidate);var r=t.$_view;r&&r.template.dispose(e,r)},move:function(e,t){var r=t.$_view;r?r.template.move(e,r):e.pushNode(t.$_placeholder)},firstChild:function(e,t){var r=t.$_view;return r?r.template.firstChild(e,r):t.$_placeholder},lastChild:function(e,t){var r=t.$_view;return r?r.template.lastChild(e,r):t.$_placeholder}})}}]),e}();s.placeholder="empty if"},568121:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(89211),i=r(143681),a=(r(816221),r(321500),r(573467),r(290671),r(17938),r(808410),r(685271)),o=r(878537),s=r(476553),l=r(973270),c=r(739294),u=function(){function e(){(0,n.Z)(this,e)}return(0,i.Z)(e,null,[{key:"make",value:function(e){var t=e.props,r=e.blocks,n=e.args,i=t&&t.getCollection,u=t&&t.getKey,p=o.Z.getBlockTemplate(r),d=n>1;if(!i||!p||!p.firstChild)return a.ZP.EmptyTemplate;function m(e,t){var r=t.$_placeholder;r?e.pushNode(r):t.$_placeholder=e.pushCommentNode("empty repeat")}function h(e,t,r,n){e.gotoBeforeView(r[0]),m(e,t),t.$_list=null,t.$_previousList=null,t.$_map=null;var i=s.Z.DISABLE_CACHING_BEYOND_CAPACITY;s.Z.DISABLE_CACHING_BEYOND_CAPACITY=!0;for(var a=0;a<n;++a){var o=r[a];o.$_key=null,p.cache(e,o)}s.Z.DISABLE_CACHING_BEYOND_CAPACITY=i}var v=[];function g(e,t,r,n,i,a,o,s){for(var l=n;l<i;++l){var c=r[l];switch(c.$_state){case 1:p.run(e,c);break;case 2:if(a||p.dispose(e,c),p.move(e,c),o)c.v0=t[l],d&&(c.v1=l);else{var u=t[l];c.v0=s[u],d&&(c.v1=u)}p.reuse(e,c);break;default:p.move(e,c),(a||d&&c.v1!==(o?l:t[l]))&&(d&&(c.v1=o?l:t[l]),a||p.dispose(e,c),p.reuse(e,c))}}}function f(e,t,r,n,i,a,o){if(t.$_signals=r,t.$_invalidate=n,a)if(t.$_savedScope=e.scope,t.$_map=null,t.$_previousList=null,i)if(i instanceof Array)if(i.length)for(var c=t.$_list=[],f=0,b=i.length;f<b;++f){var y=p.make(e);y.$_parent=t,y.v0=i[f],d&&(y.v1=f),y.$_key=null,p.run(e,y),c.push(y)}else t.$_list=null,m(e,t);else{var _=t.$_list=[];for(var w in i){var k=p.make(e);k.$_parent=t,k.v0=i[w],d&&(k.v1=w),k.$_key=null,p.run(e,k),_.push(k)}_.length||(t.$_list=null,m(e,t))}else t.$_list=null,m(e,t);else{o&&(t.$_savedScope=e.scope);var Z=t.$_list,x=Z?Z.length:0;if(i){var S,$=i instanceof Array;$||(S=i,i=Object.keys(i));var A=i.length;if(A){var C=e.pushScope(t.$_savedScope);x?function(e,t,r,n,i,a,o,c,m){var h=t.$_map;if(h)for(var f=0;f<a;++f){var b=i[f];b.$_index=f,b.$_state=4}else h=t.$_map=function(e,t,r){for(var n=new Map,i=0;i<r;++i){var a=t[i],o=a.$_key||(a.$_key=u?e.$_keyMethod(a.v0):(0,l.Z)(a.v0));n.set(o,a),a.$_index=i,a.$_state=4}return n}(t,i,a);var y=function(e,t,r,n,i,a,o){var s,c,p,d=e.$_previousList||[];d.length=i;for(var m=!a,h=0;h<i;++h)p=n[h],m&&(p=o[p]),(s=r[h])&&s.v0===p||(c=u?e.$_keyMethod(p):(0,l.Z)(p),s=t.get(c)),s&&4===s.$_state?(s.$_state=3,d[h]=s):d[h]=null;return e.$_previousList=e.$_list,e.$_list=d,d}(t,h,i,r,n,c,m),_=function(e,t){for(var r=[],n=t-1;n>=0;--n){var i=e[n];4===i.$_state&&r.push(i)}return r}(i,a),w=function(e,t,r,n,i,a,o,s,c){for(var m=-1,h=0;h<i;++h){var g=n[h];if(!g){var f=t[h];s||(f=c[f]);var b=u?a.$_keyMethod(f):(0,l.Z)(f);if(!o.length){(g=n[h]=p.make(e)).$_parent=a,g.v0=f,d&&(g.v1=s?h:t[h]),g.$_key=b,g.$_state=1,r.set(b,g);continue}g=n[h]=o.pop(),r.delete(g.$_key),r.set(b,g),g.$_state=2,g.$_key=b}for(var y=g.$_index,_=0,w=m;_<=w;){var k=Math.round((_+w)/2),Z=n[v[k]].$_index;if(Z===y){_=k;break}Z<y?_=k+1:w=k-1}g.$_pred=_>0?v[_-1]:-1,v[_]=h,_>m&&(m=_)}return v[m]}(e,r,h,y,n,t,_,c,m);for(_.length&&function(e,t,r,n){var i=s.Z.DISABLE_CACHING_BEYOND_CAPACITY;s.Z.DISABLE_CACHING_BEYOND_CAPACITY=!0;for(var a=0,o=n.length;a<o;++a){var l=n[a];t.delete(l.$_key),l.$_key=null,p.cache(e,l)}s.Z.DISABLE_CACHING_BEYOND_CAPACITY=i}(e,h,0,_),w<n-1&&(e.gotoAfterView(y[w]),g(e,r,y,w+1,n,o,c,m));-1!==w;){var k=y[w];if(2===k.$_state||o||d&&k.v1!==w){o||p.dispose(e,k);var Z=r[w];c?(k.v0=Z,d&&(k.v1=w)):(k.v0=m[Z],d&&(k.v1=Z)),p.reuse(e,k)}var x=k.$_pred;x!==w-1&&(e.gotoBeforeView(y[w]),g(e,r,y,x+1,w,o,c,m)),w=x}}(e,t,i,A,Z,x,o,$,S):function(e,t,r,n,i,a){e.gotoAfterNode(t.$_placeholder),e.removeNode(t.$_placeholder),t.$_placeholder=null;var o=t.$_list=[];if(t.$_map=null,i)for(var s=0;s<n;++s){var l=p.make(e);l.$_parent=t,l.v0=r[s],d&&(l.v1=s),l.$_key=null,p.run(e,l),o.push(l)}else for(var c=0;c<n;++c){var u=p.make(e);u.$_parent=t;var m=r[c];u.v0=a[m],d&&(u.v1=m),u.$_key=null,p.run(e,u),o.push(u)}}(e,t,i,A,$,S),e.restoreScope(C)}else{if(!x)return;h(e,t,Z,x)}}else{if(!x)return;h(e,t,Z,x)}}}return a.ZP.make({render:function(e,t){u&&(t.$_keyMethod=u(t)),e.runBinder((function(e){return(0,c.c)(i(e))}),f,t,!0)},reuse:function(e,t){u&&(t.$_keyMethod=u(t)),e.runBinder((function(e){return(0,c.c)(i(e))}),f,t,!1)},dispose:function(e,t){e.removeSignals(t.$_signals,t.$_invalidate);var r=t.$_list;if(r)for(var n=0,i=r.length;n<i;++n)p.dispose(e,r[n]);t.$_previousList=null,t.$_map=null,t.$_savedScope=null},move:function(e,t){var r=t.$_list;if(r&&r.length)for(var n=0,i=r.length;n<i;++n)p.move(e,r[n]);else e.pushNode(t.$_placeholder)},firstChild:function(e,t){var r=t.$_list;return r&&r.length?p.firstChild(e,r[0]):t.$_placeholder},lastChild:function(e,t){var r=t.$_list;return r&&r.length?p.lastChild(e,r[r.length-1]):t.$_placeholder}})}}]),e}()},696034:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(89211),i=r(143681),a=(r(819785),r(457685),r(573467),r(508460),r(126752)),o=r(623202),s=r(878537),l=r(685271),c=function(){function e(){(0,n.Z)(this,e)}return(0,i.Z)(e,null,[{key:"make",value:function(e){var t=e.attributes,r=e.events,n=e.blocks,i=e.init,c=e.dispose,u=s.Z.attachBlockTemplates(n).children;if(!u)return l.ZP.EmptyTemplate;var p=null;return t&&(p=t.map((function(e){return{name:e.original||e.name,value:e.value||function(t){return e.get.call(t)}}}))),r&&(p||(p=[]),r.forEach((function(e){p.push({name:"on-"+(e.original||e.name),value:e.value})}))),l.ZP.make({render:function(e,t){var n=t.$_svg=e.getDocument().createElementNS(a.Wk,"svg");e!==o.Z&&(n.setAttribute("version","1.1"),n.setAttribute("xmlns",a.Wk),n.setAttributeNS(a._h,"xlink",a._h),n.setAttributeNS(a.id,"space","preserve"));var s=e.getSvgFactory(),l=s.depth;s.depth=e.depth,i&&i(t,n),e.pushNode(n);var c=s.parentNode,d=s.nextNode;s.parentNode=n,s.nextNode=null;var m=s.pushScope(e.scope),h=t.$_view=u.make(s);if(h.$_parent=t,u.render(s,h),p){var v={$_view:t};r&&(n.$_view=t),t.$_svg_attributes=e.updateSpreadAttribute(n,p,v,null)}s.restoreScope(m),s.depth=l,s.parentNode=c,s.nextNode=d},reuse:function(e,t){i&&i(t,t.$_svg);var n=e.getSvgFactory(),a=n.pushScope(e.scope);if(u.reuse(n,t.$_view),p){var o={$_view:t};r&&(t.$_svg.$_view=t),t.$_svg_attributes=e.updateSpreadAttribute(t.$_svg,p,o,t.$_svg_attributes)}n.restoreScope(a)},dispose:function(e,t){c&&c(t),t.$_svg_attributes&&(r&&(t.$_svg.$_view=null),t.$_svg_attributes=e.updateSpreadAttribute(t.$_svg,null,{$_view:t},t.$_svg_attributes));var n=e.getSvgFactory();u.dispose(n,t.$_view)},move:function(e,t){e.pushNode(t.$_svg)},firstChild:function(e,t){return t.$_svg},lastChild:function(e,t){return t.$_svg}})}}]),e}()},224440:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(89211),i=r(143681),a=r(668962),o=r(749886),s=function(e){(0,a.Z)(r,e);var t=(0,o.Z)(r);function r(){return(0,n.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r,null,[{key:"makeConditionReader",value:function(e){return e&&e.getValue}}]),r}(r(519055).Z);s.placeholder="empty using"},459471:(e,t,r)=>{"use strict";r.d(t,{Ve:()=>k,ZP:()=>Z}),r(587621),r(531072),r(936963),r(923304);var n=r(307967),i=r(623202),a=r(369352),o=r(480650),s=r(202313),l=r(68870),c=r(67285),u=r(212519),p=r(801005),d=r(365697),m=r(951898),h=r(504397),v=r(754576),g=r(896202),f=/^class-(.+)$/,b=/^style-(.+)$/,y=function(e,t){e&&e.appendChild(t)},_=function(e,t,r){e.insertBefore(t,r)},w={_class:o.Z,_text$45content:p.Z,_value:m.Z,_checked:a.Z,_indeterminate:l.Z,_disabled:d.Z,_readonly:d.Z,_required:d.Z,_multiple:d.Z,_autofocus:d.Z,_hidden:d.Z,_ismap:d.Z,_style:c.Z};function k(e,t){w[(0,v.g)(e)]=t}function Z(e,t,r){return function(e,t,r){var a,o=new n.Z(e,t,r,w),l=o.dom={},c=null,p=t?t.ownerDocument:window.document;return o.getDocument=function(){return p},o.getSvgFactory=function(){return a||(a=new i.Z(e,t,r)),a},o.makeStats=function(){return c={remove:0,appendChild:0,insertBefore:0,addEventListener:0,removeEventListener:0,setAttribute:0,removeAttribute:0,textContent:0,nodeValue:0}},o.takeStats=function(){var e=c;return c=null,e},o.logStats=function(){var e=[];c.remove&&e.push({name:"remove",value:c.remove}),c.appendChild&&e.push({name:"appendChild",value:c.appendChild}),c.insertBefore&&e.push({name:"insertBefore",value:c.insertBefore}),c.addEventListener&&e.push({name:"addEventListener",value:c.addEventListener}),c.removeEventListener&&e.push({name:"removeEventListener",value:c.removeEventListener}),c.setAttribute&&e.push({name:"setAttribute",value:c.setAttribute}),c.removeAttribute&&e.push({name:"removeAttribute",value:c.removeAttribute}),c.textContent&&e.push({name:"textContent",value:c.textContent}),c.nodeValue&&e.push({name:"nodeValue",value:c.nodeValue}),g.Z.table(e)},o.ensureAttr=function(e){var t=e.match(f);if(t)return s.Z.make(t[1]);var r=e.match(b);return r?u.Z.make(r[1]):this.setAttr},o.makeCommentNode=function(e){return p.createComment(e)},o.makeCustomNode=o.makeNode=function(e){return p.createElement(e)},o.makeCustomNodeWithType=o.makeNodeWithType=function(e,t){return p.createElement(e,t)},o.makeTextNode=function(e){return p.createTextNode(e)},o.setTextContent=function(e,t){e.textContent=t,c&&++c.textContent},o.setNodeValue=function(e,t){e.nodeValue=t,c&&++c.nodeValue},o.appendNode=function(e,t){y(e,t),c&&++c.appendChild},o.insertBeforeNode=function(e,t){_(t.parentNode,e,t),c&&++c.insertBefore},o.appendTextNode=function(e,t){this.appendNode(e,p.createTextNode(t))},o.replaceNode=function(e,t){e.parentNode.replaceChild(t,e)},o.makeFragment=function(){return p.createDocumentFragment()},p.body.remove?o.removeNode=function(e){e.remove(),c&&++c.remove}:o.removeNode=function(e){var t=e.parentNode;t&&t.removeChild(e)},o.setAttr=function(e,t,r){null==r?e.removeAttribute(t):e.setAttribute(t,r),c&&++c.setAttribute},o.removeAttr=function(e,t,r){e.removeAttribute(t,r),c&&++c.removeAttribute},o.attachEvent=function(e,t,r,n){e.addEventListener(t,r,n),c&&++c.addEventListener},o.detachEvent=function(e,t,r,n){e.removeEventListener(t,r,n),c&&++c.removeEventListener},o.pushTextNode=function(e){return this.pushNode(p.createTextNode(e))},o.pushTemplateNode=function(e){var t=l[e]||(l[e]=h.A[e](this)),r=p.createClone?p.createClone(t):t.cloneNode(!0);return this.pushNode(r)},o.pushCommentNode=function(e){return this.pushNode(p.createComment(e))},o.pushNode=function(e){var t=this.parentNode,r=this.nextNode;return r?(_(t,e,r),c&&++c.insertBefore):(y(t,e),c&&++c.appendChild),e},o}(e,t,r)}},623202:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s}),r(587621),r(531072);var n=r(459471),i=r(126752),a=r(606689),o=/^([^:]+):(.+)$/;function s(e,t,r){var s=new n.ZP(e,t,r),l=s.getDocument();return s._group_g=!1,s.makeNode=function(e){return l.createElementNS(i.Wk,e)},s.ensureAttr=function(e){var t=e.match(o);if(t){var r=i.rm[t[1]];if(r)return a.Z.make(r,t[2])}return this.setAttr},s}},369352:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n={update:function(e,t){e.checked=Boolean(t)},read:function(e){return e.checked},onEvent:r(875937).Z};function i(e,t,r,i,a){if(a)return i||(e.addEventListener("change",a,!1),e.addEventListener("keyup",a,!1),e.addEventListener("input",a,!1),e.addEventListener("blur",a,!1),i=n),e._TorqUpdate=!0,i.update(e,void 0!==r&&r),e._TorqUpdate=!1,i;e.checked=!!r}},480650:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(127658),i=r(278387),a=(r(888784),r(35812),r(819785),r(824098),r(573467),r(587621),r(276839),r(468247),r(808410),r(161665));function o(e,t,r,n){return r?"string"==typeof r&&-1===r.indexOf(" ")?(0,a.TF)(e,n,r):(0,a.Tk)(e,n,l(r)):(0,a.Tk)(e,n,null)}function s(e){var t;return(t=[]).concat.apply(t,(0,i.Z)(e))}function l(e){return Array.isArray(e)?e=s(e.filter((function(e){return e})).map(l)):"string"==typeof e?e=e.trim().split(/\s+/):"object"===(0,n.Z)(e)&&(e=s(Object.keys(e).filter((function(t){return e[t]})).map(l))),e}},202313:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(161665);const i={make:function(e){return function(t,r,i){i?(0,n.cn)(t,e):(0,n.IV)(t,e)}}}},68870:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n={update:function(e,t){e.indeterminate=Boolean(t)},read:function(e){return e.indeterminate},onEvent:r(875937).Z};function i(e,t,r,i,a){if(a)return i||(e.addEventListener("change",a,!1),e.addEventListener("keyup",a,!1),e.addEventListener("input",a,!1),e.addEventListener("blur",a,!1),i=n),e._TorqUpdate=!0,i.update(e,r),e._TorqUpdate=!1,i;e.setAttribute(t,r)}},606689:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n={make:function(e,t){return function(r,n,i){r.setAttributeNS(e,t,i)}}}},67285:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(674543);function i(e,t,r,i){return r&&"string"!=typeof r?(i&&("string"==typeof i?e.setAttribute("style",""):(0,n.o2)(e,i)),(0,n.tt)(e,r)):e.setAttribute("style",r),r}},212519:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(914433);const i={make:function(e){var t=(0,n.ZS)(e),r=(0,n.xM)(e);return r?function(e,n,i){e.style[t]=null==i?"":r(i)}:function(e,r,n){e.style[t]=null==n?"":n}}}},801005:(e,t,r)=>{"use strict";function n(e,t,r){e.textContent=r}r.d(t,{Z:()=>n})},365697:(e,t,r)=>{"use strict";function n(e,t,r){r?e.setAttribute(t,t):e.removeAttribute(t)}r.d(t,{Z:()=>n})},951898:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s}),r(929216);var n=r(875937),i={update:function(e,t){var r=parseFloat(t,10);isNaN(r)&&(r=""),e.value!==r&&(e.value=r)},read:function(e){return parseFloat(e.value,10)},onEvent:n.Z},a={update:function(e,t){var r=void 0===t?"":t;e.value===r||(e.value=r,"SELECT"!==e.tagName||e.value===r)||function(e,t){for(var r=0,n=e.options.length;r<n;r++){var i=e.options[r];if(i.value===t){i.selected=!0;break}}}(e,r)},read:function(e){return e.value},onEvent:n.Z},o={update:function(e,t){var r=void 0===t?"":t;e.textContent!==r&&(e.textContent=r)},read:function(e){return e.textContent},onEvent:n.Z};function s(e,t,r,n,s){if(s){if(!n)if(e.addEventListener("change",s,!1),e.addEventListener("keyup",s,!1),e.addEventListener("input",s,!1),e.addEventListener("blur",s,!1),"inherit"!==e.contentEditable)n=o;else switch(e.getAttribute("type")){case"number":case"range":n=i;break;default:n=a}return e._TorqUpdate=!0,n.update(e,r),e._TorqUpdate=!1,n}e.setAttribute(t,r)}},875937:(e,t,r)=>{"use strict";function n(e,t,r,n,i,a){if(!t._TorqUpdate){if(!i)return r.preventDefault(),t._TorqUpdate=!0,this.update(t,n),void(t._TorqUpdate=!1);var o=this.read(t);if(o!==n){if(a)for(var s=0,l=a.length;s<l;++s){var c=a[s];c&&c.pre&&c.pre()}var u=i(e,o);if(a)for(var p=0,d=a.length;p<d;++p){var m=a[p];m&&m.post&&m.post()}o!==u&&(t._TorqUpdate=!0,this.update(t,u),t._TorqUpdate=!1)}}}r.d(t,{Z:()=>n})},739294:(e,t,r)=>{"use strict";r.d(t,{c:()=>i}),r(135668),r(816221),r(573467),r(290671),r(17938),r(322511),r(542543),r(886023);var n=r(540366);function i(e){return e instanceof n.Z&&(e.length,e=e.base),e?Array.isArray(e)?e:e[Symbol.iterator]?Array.from(e):e:null}},754576:(e,t,r)=>{"use strict";function n(e){return"_"+e.replace(/-/g,"$$45").replace(/:/g,"$$58")}r.d(t,{g:()=>n}),r(587621),r(558901)},587630:(e,t,r)=>{"use strict";r.d(t,{Z:()=>b});var n,i,a,o=r(282466),s=r(89211),l=r(143681),c=r(236229),u=r(736781),p=r(993184),d=r(668962),m=r(749886),h=r(673136),v=r(108445),g=r(548967),f=r(37375),b=(0,v.Z)({type:"comment"})((i=function(e){(0,d.Z)(r,e);var t=(0,m.Z)(r);function r(e){var n;return(0,s.Z)(this,r),n=t.call(this),(0,o.Z)(n,"contents",a,(0,c.Z)(n)),n.contents=e,n}return(0,l.Z)(r,[{key:"toJSON",value:function(){var e=(0,u.Z)((0,p.Z)(r.prototype),"toJSON",this).call(this);return e.contents=this.contents,e}}]),r}(f.Z),a=(0,h.Z)(i.prototype,"contents",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n=i))||n},311799:(e,t,r)=>{"use strict";r.d(t,{Z:()=>b});var n,i,a,o=r(282466),s=r(89211),l=r(143681),c=r(236229),u=r(736781),p=r(993184),d=r(668962),m=r(749886),h=r(673136),v=r(108445),g=r(548967),f=(r(457685),r(37375)),b=(0,v.Z)({type:"element"})((i=function(e){(0,d.Z)(r,e);var t=(0,m.Z)(r);function r(e){var n;return(0,s.Z)(this,r),n=t.call(this),(0,o.Z)(n,"name",a,(0,c.Z)(n)),n.name=e,n}return(0,l.Z)(r,[{key:"toJSON",value:function(){var e=(0,u.Z)((0,p.Z)(r.prototype),"toJSON",this).call(this);return e.name=this.name,e}}]),r}(f.Z),a=(0,h.Z)(i.prototype,"name",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n=i))||n},269252:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u}),r(936963),r(923304);var n=r(896202),i=r(307967),a=r(587630),o=r(311799),s=r(975277),l=r(466796),c=r(504397);function u(e,t,r){var u=new i.Z(e,t,r);return u.ensureAttr=function(){return this.setAttr},u.makeCommentNode=function(e){return new a.Z(e)},u.makeCustomNode=u.makeNode=function(e){return new o.Z(e)},u.makeCustomNodeWithType=u.makeNodeWithType=function(){throw new Error("Virtual factory doesn't support the is attribute!")},u.makeTextNode=function(e){return new l.Z(e)},u.setTextContent=function(e,t){if("text"===e.type)e.contents=t;else{for(;e.firstChild;)e.firstChild.dispose();t&&e.appendChild(new l.Z(t))}},u.setNodeValue=function(e,t){n.Z.assert("text"===e.type),e.contents=t},u.appendNode=function(e,t){e.appendChild(t)},u.insertBeforeNode=function(e,t){t.parentNode.insertBefore(e,t)},u.appendTextNode=function(e,t){e.appendChild(new l.Z(t))},u.replaceNode=function(e,t){e.parentNode.replaceChild(e,t)},u.makeFragment=function(){return new s.Z},u.removeNode=function(e){e.dispose()},u.setAttr=function(e,t,r){e[t]=r},u.removeAttr=function(e,t){e[t]=void 0},u.attachEvent=function(e,t,r){e.on(t,r)},u.detachEvent=function(e,t,r){e.off(t,r)},u.pushTextNode=function(e){var t=new l.Z(e),r=this.parentNode,n=this.nextNode;return n?r.insertBefore(t,n):r.appendChild(t),t},u.pushTemplateNode=function(e){var t=c.A[e](this),r=this.parentNode,n=this.nextNode;return n?r.insertBefore(t,n):r.appendChild(t),t},u.pushCommentNode=function(e){var t=new a.Z(e),r=this.parentNode,n=this.nextNode;return n?r.insertBefore(t,n):r.appendChild(t),t},u.pushNode=function(e){var t=this.parentNode,r=this.nextNode;return r?t.insertBefore(e,r):t.appendChild(e),e},u}},975277:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n,i=r(143681),a=r(89211),o=r(668962),s=r(749886),l=r(108445),c=r(37375),u=(0,l.Z)({type:"fragment"})(n=function(e){(0,o.Z)(r,e);var t=(0,s.Z)(r);function r(){return(0,a.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r)}(c.Z))||n},37375:(e,t,r)=>{"use strict";r.d(t,{Z:()=>$});var n,i,a,o,s,l,c=r(846031),u=r(282466),p=r(89211),d=r(143681),m=r(236229),h=r(736781),v=r(993184),g=r(668962),f=r(749886),b=r(673136),y=r(548967),_=(r(573467),r(508460),r(290671),r(816221),r(17938),r(819785),r(373636),r(582909),r(457685),r(112957)),w=r(489955),k=r(685271),Z=r(878537),x=null,S={},$=(l=function(e){(0,g.Z)(r,e);var t=(0,f.Z)(r);function r(){var e;if((0,p.Z)(this,r),(e=t.call(this))._parentNode=null,(0,u.Z)(e,"previousSibling",i,(0,m.Z)(e)),(0,u.Z)(e,"nextSibling",a,(0,m.Z)(e)),(0,u.Z)(e,"firstChild",o,(0,m.Z)(e)),(0,u.Z)(e,"lastChild",s,(0,m.Z)(e)),x){var n=x,l=n.scope,c=n.factory,d=n.data;d.$_item=(0,m.Z)(e),e.scope=l,e.$_depth=c.depth,e.$_factory=c,e.$_view=d}return e}return(0,d.Z)(r,[{key:"init",value:function(){}},{key:"parentNode",get:function(){return w.Z.recordEvent(this,"parentNode"),this._parentNode},set:function(e){this._parentNode!==e&&(w.Z.recordChange(this,"parentNode",e,this._parentNode),this._parentNode&&this.detached(),this._parentNode=e,e&&this.attached())}},{key:"attached",value:function(){}},{key:"detached",value:function(){}},{key:"insertBefore",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.willInsertBefore(e,t),this._insertBeforeImpl(e,t),this.didInsertBefore(e,t)}},{key:"replaceChild",value:function(e,t){this.insertBefore(t,e),e.dispose()}},{key:"appendChild",value:function(e){this.insertBefore(e,null)}},{key:"willInsertBefore",value:function(){}},{key:"didInsertBefore",value:function(){}},{key:"_insertBeforeImpl",value:function(e,t){if(t)t._pushBefore(e);else{var r=this.lastChild;if(r)r._pushAfter(e);else{if(e.remove(),"fragment"===e.type){var n=this.firstChild=e.firstChild;for(this.lastChild=e.lastChild;n;n=n.nextSibling)n.parentNode=this;return e.firstChild=null,void(e.lastChild=null)}this.lastChild=this.firstChild=e,e.parentNode=this}}}},{key:"_pushFragmentBefore",value:function(e){var t=e.firstChild,r=e.lastChild;if(t){e.firstChild=null,e.lastChild=null;for(var n=this.parentNode,i=t;i;i=i.nextSibling)i.parentNode=n;var a=this.previousSibling;a?(t.previousSibling=a,a.nextSibling=t):n.firstChild=t,this.previousSibling=r,r.nextSibling=this}}},{key:"_pushBefore",value:function(e){if("fragment"!==e.type){e.remove();var t=this.parentNode;e.parentNode=t;var r=this.previousSibling;r?(e.previousSibling=r,r.nextSibling=e):t&&(t.firstChild=e),this.previousSibling=e,e.nextSibling=this}else this._pushFragmentBefore(e)}},{key:"_pushFragmentAfter",value:function(e){var t=e.firstChild,r=e.lastChild;if(t){e.firstChild=null,e.lastChild=null;for(var n=this.parentNode,i=t;i;i=i.nextSibling)i.parentNode=n;var a=this.nextSibling;a?(r.nextSibling=a,a.previousSibling=r):n&&(n.lastChild=r),this.nextSibling=t,t.previousSibling=this}}},{key:"_pushAfter",value:function(e){if("fragment"!==e.type){e.remove();var t=this.parentNode;e.parentNode=t;var r=this.nextSibling;r?(e.nextSibling=r,r.previousSibling=e):t&&(t.lastChild=e),this.nextSibling=e,e.previousSibling=this}else this._pushFragmentAfter(e)}},{key:"remove",value:function(){var e=this.parentNode,t=this.previousSibling,r=this.nextSibling;return this.parentNode=null,t?(t.nextSibling=this.nextSibling,this.previousSibling=null):e&&(e.firstChild=r),r?(r.previousSibling=t,this.nextSibling=null):e&&(e.lastChild=t),this}},{key:"dispose",value:function(){this.remove(),(0,h.Z)((0,v.Z)(r.prototype),"dispose",this).call(this)}},{key:"forEach",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.firstChild,n=0;r;r=r.nextSibling,++n)if((t||"comment"!==r.type)&&!1===e(r,n))return}},{key:"any",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.firstChild,n=0;r;r=r.nextSibling,++n)if((t||"comment"!==r.type)&&!0===e(r,n))return}},{key:"forEachParent",value:function(e){for(var t=this.parent;t;t=t.parent)e(t)}},{key:"map",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=[],n=this.firstChild,i=0;n;n=n.nextSibling,++i)(t||"comment"!==n.type)&&r.push(e(n,r.length));return r}},{key:"filter",value:function(e){for(var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=[],n=this.firstChild,i=0;n;n=n.nextSibling,++i)if(t||"comment"!==n.type){var a=e(n,r.length);a&&r.push(a)}return r}},{key:"children",get:function(){var e=[];return this.forEach((function(t){return e.push(t)})),e},set:function(e){var t,r=(0,c.Z)(e);try{for(r.s();!(t=r.n()).done;){var n=t.value;this.appendChild(n)}}catch(e){r.e(e)}finally{r.f()}}},{key:"hasChildren",get:function(){return!!this.firstChild}},{key:"setChildren",value:function(e){return this.children=e,this}},{key:"toJSON",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t={type:this.type};return this.firstChild&&(t.children=this.map((function(t){return t.toJSON(e)}),e)),t}},{key:"getXRayInfo",value:function(){return{type:"node",name:this.type}}}],[{key:"make",value:function(e){var t=e||{},r=t.attributes,n=t.blocks,i=t.init,a=t.events,o=function(e){(0,g.Z)(r,e);var t=(0,f.Z)(r);function r(){return(0,p.Z)(this,r),t.apply(this,arguments)}return(0,d.Z)(r)}(this);o.prototype._options=e,Z.Z.attachAttributes(r,o.prototype);var s=o.prototype.fork,l=o.prototype.init,c=o.prototype.attached,u=o.prototype.detached,m=Z.Z.getBlockTemplate(n);function h(e){for(var t=0,r=a.length;t<r;++t){var n=a[t];e.on(n.name,n.value)}}return k.ZP.make({render:function(e,t){var r=x;x=S||{},S=null,x.scope=s?e.scope.fork():e.scope,x.factory=e,x.data=t;var n=new o;if(x.scope=null,x.data=null,S=x,x=r,e.pushNode(n),l&&l.call(n),a&&h(n),m){var u=e.pushScope(n.scope);e.enterNode(n);var p=t.$_subview=m.make(e);p.$_parent=t,p.template.run(e,p),e.exitNode(n),e.restoreScope(u)}c&&c.call(n),i&&i(t,n)},reuse:function(e,t){var r=x;x=S||{},S=null,x.scope=s?e.scope.fork():e.scope,x.factory=e,x.data=t;var n=new o;if(x.scope=null,x.data=null,S=x,x=r,l&&l.call(n),a&&h(n),t.$_placeholder.parentNode.replaceChild(t.$_placeholder,n),t.$_placeholder=null,m){var u=e.pushScope(n.scope);e.enterNode(n);var p=t.$_subview=m.make(e);p.$_parent=t,p.template.run(e,p),e.exitNode(n),e.restoreScope(u)}c&&c.call(n),i&&i(t,n)},dispose:function(e,t){var r=t.$_item;i&&i(t,null),u&&u.call(r),a&&function(e){for(var t=0,r=a.length;t<r;++t){var n=a[t];e.off(n.name,n.value)}}(r);var n=t.$_subview;n&&(n.template.cache(e,n),t.$_subview=null);var o=t.$_placeholder=e.makeCommentNode("disposed item");r.parentNode.replaceChild(r,o),r.scope=null,r.$_view=null,r.$_factory=null,t.$_item=null},move:function(e,t){e.pushNode(t.$_item||t.$_placeholder)},firstChild:function(e,t){return t.$_item||t.$_placeholder},lastChild:function(e,t){return t.$_item||t.$_placeholder}})}}]),r}(_.Z),l.isVirtualNode=!0,n=l,i=(0,b.Z)(n.prototype,"previousSibling",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),a=(0,b.Z)(n.prototype,"nextSibling",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),o=(0,b.Z)(n.prototype,"firstChild",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),s=(0,b.Z)(n.prototype,"lastChild",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),n);$.prototype.isVirtualNode=!0,$.prototype.type="node"},331397:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(269252);const i={create:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.Z,i=t.childrenBlocks&&t.childrenBlocks.children,a=t.scope,o=e.$_virtualFactory=new r(a,e),s=e.$_childView=i.make(o);s&&(s.$_parent=t.$_view,s.template.render(o,s))},dispose:function(e){var t=e.$_virtualFactory,r=e.$_childView;r&&(r.template.cache(t,r),r.$_parent=null,e.$_childView=null)}}},466796:(e,t,r)=>{"use strict";r.d(t,{Z:()=>b});var n,i,a,o=r(282466),s=r(89211),l=r(143681),c=r(236229),u=r(736781),p=r(993184),d=r(668962),m=r(749886),h=r(673136),v=r(108445),g=r(548967),f=r(37375),b=(0,v.Z)({type:"text"})((i=function(e){(0,d.Z)(r,e);var t=(0,m.Z)(r);function r(e){var n;return(0,s.Z)(this,r),n=t.call(this),(0,o.Z)(n,"contents",a,(0,c.Z)(n)),n.contents=e,n}return(0,l.Z)(r,[{key:"toJSON",value:function(){var e=(0,u.Z)((0,p.Z)(r.prototype),"toJSON",this).call(this);return e.contents=this.contents,e}},{key:"getXRayInfo",value:function(){return{type:"text",content:this.contents}}}]),r}(f.Z),a=(0,h.Z)(i.prototype,"contents",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n=i))||n},904951:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(127658);function i(e,t,r){var i,a,o,s,l,c,u=0,p=!1,d=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(t){var r=i,n=a;return i=a=void 0,u=t,s=e.apply(n,r)}function v(e){return u=e,l=setTimeout(f,t),p?h(e):s}function g(e){var r=e-c;return void 0===c||r>=t||r<0||d&&e-u>=o}function f(){var e=Date.now();if(g(e))return b(e);l=setTimeout(f,function(e){var r=e-u,n=t-(e-c);return d?Math.min(n,o-r):n}(e))}function b(e){return l=void 0,m&&i?h(e):(i=a=void 0,s)}function y(){for(var e=Date.now(),r=g(e),n=arguments.length,o=new Array(n),u=0;u<n;u++)o[u]=arguments[u];if(i=o,a=this,c=e,r){if(void 0===l)return v(c);if(d)return l=setTimeout(f,t),h(c)}return void 0===l&&(l=setTimeout(f,t)),s}return t=+t||0,"object"===(0,n.Z)(r)&&(p=!!r.leading,o=(d="maxWait"in r)?Math.max(+r.maxWait||0,t):o,m="trailing"in r?!!r.trailing:m),y.cancel=function(){void 0!==l&&clearTimeout(l),u=0,i=c=a=l=void 0},y.flush=function(){return void 0===l?s:b(Date.now())},y}r(936963),r(923304)},962843:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(89211),i=r(143681),a=r(363073),o=function(){function e(){var t=this;(0,n.Z)(this,e),this.promise=new a.Z((function(e,r){return t._deferredApi={resolve:e,reject:r}}))}return(0,i.Z)(e,[{key:"resolve",value:function(e){this._deferredApi.resolve(e)}},{key:"reject",value:function(e){this._deferredApi.reject(e)}}]),e}()},713761:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(89211),i=r(143681);function a(e){e.dispose?e.dispose():"function"==typeof e&&e()}r(888784),r(973774);var o=function(){function e(){(0,n.Z)(this,e)}return(0,i.Z)(e,[{key:"link",value:function(e){var t=this._disposables;return t||(t=this._disposables=[]),t.push(e),e}},{key:"unlink",value:function(e){var t=this._disposables;if(t){var r=t.indexOf(e);-1!==r&&t.splice(r,1)}}},{key:"disposeLink",value:function(e){this.unlink(e),a(e)}},{key:"dispose",value:function(){this.isDisposed=!0;var e=this._disposables;if(e){this._disposables=null;for(var t=e.length-1;t>=0;--t)a(e[t])}}}]),e}()},753194:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=window},896202:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(89211),i=r(143681),a=function(){function e(){(0,n.Z)(this,e)}return(0,i.Z)(e,null,[{key:"log",value:function(){console.log.apply(console,arguments)}},{key:"assert",value:function(){console.assert.apply(console,arguments)}},{key:"table",value:function(){console.table.apply(console,arguments)}},{key:"groupStart",value:function(){console.group.apply(console,arguments)}},{key:"groupEnd",value:function(){console.groupEnd.apply(console,arguments)}}]),e}()},274458:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n,i=r(89211),a=r(143681),o=r(668962),s=r(749886),l=r(673136),c=r(412333),u=(r(457685),r(913688),n=function(e){(0,o.Z)(r,e);var t=(0,s.Z)(r);function r(e,n,a){var o;return(0,i.Z)(this,r),(o=t.call(this)).parent=e,o.name=n,o.priority=a,o}return(0,a.Z)(r,[{key:"enqueue",value:function(){this.parent.push(this.run,this.priority)}},{key:"register",value:function(e){e?this.parent.after.push(this.enqueue):this.enqueue()}}]),r}(r(902527).Z),(0,l.Z)(n.prototype,"enqueue",[c.Z],Object.getOwnPropertyDescriptor(n.prototype,"enqueue"),n.prototype),n)},973270:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o}),r(378702);var n=0,i="__object_id__";function a(e){if(!e||"number"==typeof e||"string"==typeof e)return e;if(!Object.prototype.hasOwnProperty.call(e,i)){var t="_"+ ++n;return Object.defineProperty(e,i,{enumerable:!1,configurable:!1,writable:!1,value:t}),t}return e[i]}a.set=function(e,t){Object.defineProperty(e,i,{enumerable:!1,configurable:!1,writable:!1,value:t})};const o=a},420531:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n=r(278387),i=r(89211),a=r(143681),o=r(668962),s=r(749886),l=(r(893248),r(888784),r(973774),r(35812),r(819785),r(824098),r(573467),r(816221),r(17938),r(135668),r(290671),r(322511),r(542543),r(4085),r(426968)),c=r(489955),u=r(540366),p=r(878969),d=r.n(p),m=function(e,t){(0,o.Z)(u,e);var r=(0,s.Z)(u);function u(e){var t;return(0,i.Z)(this,u),(t=r.call(this)).base=e||[],t}return(0,a.Z)(u,[{key:"at",value:function(e){return c.Z.active&&c.Z.recordEvent(this,"change"),this.base[e]}},{key:"setAt",value:function(e,t){l.Z.trigger(this,"change"),this.base[e]=t}},{key:"toArray",value:function(){return c.Z.active&&c.Z.recordEvent(this,"change"),this.base.slice()}},{key:"length",get:function(){return c.Z.active&&c.Z.recordEvent(this,"change"),this.base.length},set:function(e){this.base.length!==e&&(this.base.length=e,l.Z.trigger(this,"change"))}},{key:"swapItems",value:function(e){this.base=e,l.Z.trigger(this,"change")}},{key:"removeItem",value:function(e){var t=this.indexOf(e);-1!==t&&this.splice(t,1)}},{key:"concat",value:function(){var e;c.Z.active&&c.Z.recordEvent(this,"change");for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return new u((e=this.base).concat.apply(e,(0,n.Z)(r.map((function(e){return e instanceof u?(c.Z.active&&c.Z.recordEvent(e,"change"),e.base):e})))))}},{key:"concatToArray",value:function(){return this.concat.apply(this,arguments).base}},{key:"spliceToArray",value:function(){return this.splice.apply(this,arguments).base}},{key:"sliceToArray",value:function(){return this.slice.apply(this,arguments).base}},{key:"mapToArray",value:function(){return this.map.apply(this,arguments).base}},{key:"filterToArray",value:function(){return this.filter.apply(this,arguments).base}},{key:t,value:function(){return c.Z.active&&c.Z.recordEvent(this,"change"),this.base.values()}}]),u}(u.Z,Symbol.iterator);d().polyfill();var h=Array.prototype,v=m.prototype,g=["fill","pop","push","reverse","shift","unshift","splice","sort","copyWithin"];function f(e,t){return e instanceof Array?t.base===e?t:new m(e):e}function b(e,t){return t?function(){var t=e.apply(this.base,arguments);return l.Z.trigger(this,"change"),f(t,this)}:function(){return c.Z.active&&c.Z.recordEvent(this,"change"),f(e.apply(this.base,arguments),this)}}for(var y=Object.getOwnPropertyNames(h),_=0,w=y.length;_<w;++_){var k=y[_];Object.prototype.hasOwnProperty.call(v,k)||(v[k]=b(h[k],-1!==g.indexOf(k)))}},283824:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(89211),i=r(143681),a=r(668962),o=r(749886),s=(r(816221),r(321500),r(573467),r(290671),r(17938),r(508460),r(135668),r(322511),r(542543),r(4085),r(426968)),l=r(489955),c=function(e,t){(0,a.Z)(c,e);var r=(0,o.Z)(c);function c(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Map;return(0,n.Z)(this,c),(e=r.call(this))._swapItems(t),e}return(0,i.Z)(c,[{key:"_swapItems",value:function(e){if(e instanceof Map)this.base=e;else for(var t in this.base=new Map,e)this.base.set(t,e[t])}},{key:"swapItems",value:function(e){this._swapItems(e),s.Z.trigger(this,"change")}},{key:"has",value:function(e){return l.Z.active&&(l.Z.recordEvent(this,""+e),l.Z.recordEvent(this,"change")),this.base.has(e)}},{key:"get",value:function(e){return l.Z.active&&(l.Z.recordEvent(this,""+e),l.Z.recordEvent(this,"change")),this.base.get(e)}},{key:"set",value:function(e,t){if(this.base.get(e)!==t)return this.base.set(e,t),s.Z.trigger(this,""+e),s.Z.trigger(this,"change"),this}},{key:"clear",value:function(){var e=this,t=[];this.base.forEach((function(e,r){return t.push(r)})),this.base.clear(),t.forEach((function(t){return s.Z.trigger(e,""+t)})),s.Z.trigger(this,"change")}},{key:"delete",value:function(e){var t=this.base.delete(e);return s.Z.trigger(this,""+e),s.Z.trigger(this,"change"),t}},{key:"size",get:function(){return l.Z.active&&l.Z.recordEvent(this,"change"),this.base.size}},{key:"length",get:function(){return this.size}},{key:t,value:function(){return this.base.entries()}}]),c}(r(540366).Z,Symbol.iterator),u=Map.prototype,p=c.prototype;function d(e){return function(){return l.Z.active&&l.Z.recordEvent(this,"change"),e.apply(this.base,arguments)}}for(var m=Object.getOwnPropertyNames(u),h=0,v=m.length;h<v;++h){var g=m[h];Object.prototype.hasOwnProperty.call(p,g)||(p[g]=d(u[g]))}},363073:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(143681),i=r(89211),a=r(668962),o=r(749886),s=r(550833),l=(r(573467),r(693508),r(426968)),c=function(e){(0,a.Z)(r,e);var t=(0,o.Z)(r);function r(e){var n;(0,i.Z)(this,r);var a={resolved:!1,value:void 0};return a.obj=a,(n=t.call(this,(function(t,r){var n=function(e){a.resolved=!0,a.value=e,l.Z.trigger(a,"update")};e((function(e){n(e),t(e)}),(function(e){n(null),r(e)}))})))._torq_binding=a,n}return(0,n.Z)(r)}((0,s.Z)(Promise))},639452:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(89211),i=r(143681),a=r(668962),o=r(749886),s=(r(816221),r(573467),r(485143),r(290671),r(17938),r(135668),r(322511),r(542543),r(936963),r(923304),r(4085),r(888784),r(426968)),l=r(489955),c=function(e,t){(0,a.Z)(c,e);var r=(0,o.Z)(c);function c(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return(0,n.Z)(this,c),(e=r.call(this))._swapItems(t),e}return(0,i.Z)(c,[{key:"_swapItems",value:function(e){if(e instanceof Set)this.base=e;else{if("function"!=typeof e[Symbol.iterator])throw new Error("ObservableSet expects either a Set object or an iterable object.");this.base=new Set(e)}}},{key:"swapItems",value:function(e){this._swapItems(e),s.Z.trigger(this,"change")}},{key:"size",get:function(){return l.Z.active&&l.Z.recordEvent(this,"change"),this.base.size}},{key:"length",get:function(){return this.size}},{key:t,value:function(){return this.base.values()}}]),c}(r(540366).Z,Symbol.iterator),u=Set.prototype,p=c.prototype,d=["add","clear","delete"];function m(e,t){return t?function(){var t=e.apply(this.base,arguments);return s.Z.trigger(this,"change"),t}:function(){return l.Z.active&&l.Z.recordEvent(this,"change"),e.apply(this.base,arguments)}}for(var h=Object.getOwnPropertyNames(u),v=0,g=h.length;v<g;++v){var f=h[v];Object.prototype.hasOwnProperty.call(p,f)||(p[f]=m(u[f],-1!==d.indexOf(f)))}},112957:(e,t,r)=>{"use strict";r.d(t,{Z:()=>v});var n=r(89211),i=r(143681),a=r(736781),o=r(993184),s=r(668962),l=r(749886),c=(r(785226),r(819785),r(378702),r(713761)),u=r(426968),p=r(489955),d=r(544560),m=r(519559),h=function(){},v=function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(){return(0,n.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r,[{key:"watch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:m.Z,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.$_depth||0;return this.link(new p.Z(e,t,r,n,i,this))}},{key:"watchCollection",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:m.Z,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.$_depth||0;return this.link(new d.Z(e,t,r,n,i,this))}},{key:"multiWatch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:h,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:m.Z,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.$_depth||0;return this.link(new p.Z((function(){return e.map((function(e){return e()}))}),(function(e){return t.apply(null,e)}),r,n,i,this))}},{key:"defineObservable",value:function(e,t){if(Object.prototype.hasOwnProperty.call(this,e))this[e]=t;else{var r="_"+e;this[r]=t;var n=this;Object.defineProperty(this,e,{configurable:!0,enumerable:!1,get:function(){return p.Z.active&&p.Z.recordEvent(n,e),n[r]},set:function(t){var i=n[r];i!==t&&(n[r]=t,p.Z.recordChange(n,e,t,i))}})}}},{key:"dispose",value:function(){this.stopListening(),(0,a.Z)((0,o.Z)(r.prototype),"dispose",this).call(this)}},{key:"trigger",value:function(e){if(Object.prototype.hasOwnProperty.call(this,u.e)){var t=this[u.e][e];if(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];t.trigger.apply(t,n)}}}},{key:"on",value:function(e,t){return u.Z.on(this,e,t)}},{key:"off",value:function(e,t){return u.Z.off(this,e,t)}},{key:"listenTo",value:function(e,t,r){return u.Z.listenTo(this,e,t,r)}},{key:"stopListening",value:function(e,t,r){return u.Z.stopListening(this,e,t,r)}}]),r}(c.Z)},549914:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(89211),i=r(143681),a=(r(819785),function(){function e(t){(0,n.Z)(this,e),this.map={},this.transform=t}return(0,i.Z)(e,[{key:"get",value:function(e){var t=this.map;return Object.prototype.hasOwnProperty.call(t,e)?t[e]:t[e]=this.transform(e)}}]),e}())},902527:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d});var n,i=r(673136),a=r(89211),o=r(143681),s=r(668962),l=r(749886),c=r(412333),u=r(451409),p=(r(817148),r(888784),r(973774),r(913688),r(973270)),d=(n=function(){function e(){(0,a.Z)(this,e),this.running=!1,this.registered=!1,this.itemMap={},this.maxBucket=-1,this.buckets=[],this.bucketMap={}}return(0,o.Z)(e,[{key:"register",value:function(){}},{key:"push",value:function(e,t,r){var n=(0,p.Z)(e);t=Number(t)||0;var i=this.itemMap[n];if(i){if(i.lateBinder=r,i.cancel=!1,i.priority!==t){var a=i.bucket.items,o=a.indexOf(i);a[o]=null,i.priority=t}else if(!i.executed)return;i.executed=!1}else i={callback:e,priority:t,cancel:!1,executed:!1,lateBinder:r},this.itemMap[n]=i;var s=this.bucketMap[t]||this._makeBucket(t);this.maxBucket=Math.max(this.maxBucket,s.index),i.bucket=s,s.items.push(i),this.registerIfNeeded()}},{key:"_makeBucket",value:function(e){for(var t=this.buckets,r=0,n=t.length-1;r<=n;){var i=Math.round((r+n)/2);t[i].priority<e?n=i-1:r=i+1}var a=this.bucketMap[e]={priority:e,items:[],index:r};this.buckets.splice(r,0,a),r<=this.maxBucket&&++this.maxBucket;for(var o=t.length;r<o;++r)t[r].index=r;return a}},{key:"wrap",value:function(e,t,r){var n=this;return function(){return n.push(e,t||0,r)}}},{key:"registerIfNeeded",value:function(){this.registered||(this.registered=!0,this.register(this.inAfterCall))}},{key:"after",get:function(){var e=this._after;return e||(e=this._after=new m(this)),e}},{key:"remove",value:function(e){var t=(0,p.Z)(e),r=this.itemMap[t];r&&(r.executed=!1,r.cancel=!0)}},{key:"execHoisted",value:function(e){for(;e.length;){var t=e.pop();t.cancel||(t.executed=!0,t.callback())}}},{key:"execCallbacks",value:function(e){for(var t=this.buckets;this.maxBucket>=0;){var r=t[this.maxBucket].items;if(r.length){var n=r.pop();n&&!n.cancel&&(n.lateBinder?e?e.push(n):e=[n]:(n.executed=!0,n.callback()))}else--this.maxBucket}return e}},{key:"run",value: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)}},{key:"quickRun",value: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)}}]),e}(),(0,i.Z)(n.prototype,"register",[u.Z],Object.getOwnPropertyDescriptor(n.prototype,"register"),n.prototype),(0,i.Z)(n.prototype,"run",[c.Z],Object.getOwnPropertyDescriptor(n.prototype,"run"),n.prototype),(0,i.Z)(n.prototype,"quickRun",[c.Z],Object.getOwnPropertyDescriptor(n.prototype,"quickRun"),n.prototype),n),m=function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(e){var n;return(0,a.Z)(this,r),(n=t.call(this)).parent=e,n}return(0,o.Z)(r,[{key:"register",value:function(){this.parent.registerIfNeeded()}}]),r}(d)},515870:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(753194);const i=n.Z.performance&&n.Z.performance.now?function(){return performance.now()}:Date.now?function(){return Date.now()}:function(){return(new Date).getTime()}},656097:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var n,i,a,o=r(282466),s=r(89211),l=r(143681),c=r(236229),u=r(736781),p=r(993184),d=r(668962),m=r(749886),h=r(673136),v=r(548967),g=(r(35812),r(923304),r(573467),r(328614),n=function(e){(0,d.Z)(r,e);var t=(0,m.Z)(r);function r(){var e;(0,s.Z)(this,r);for(var n=arguments.length,l=new Array(n),u=0;u<n;u++)l[u]=arguments[u];return e=t.call.apply(t,[this].concat(l)),(0,o.Z)(e,"fired",i,(0,c.Z)(e)),(0,o.Z)(e,"active",a,(0,c.Z)(e)),e.timer_=null,e}return(0,l.Z)(r,[{key:"setTimeout",value:function(e){function t(t,r){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e,t){var r=this;this.reset(),this.active=!0,this.timer_=setTimeout((function(){r.fired=!0,r.active=!1,e&&e()}),t)}))},{key:"reset",value:function(){this.fired=!1,this.active=!1,this.timer_&&(clearTimeout(this.timer_),this.timer_=null)}},{key:"dispose",value:function(){(0,u.Z)((0,p.Z)(r.prototype),"dispose",this).call(this),this.reset()}}]),r}(r(713761).Z),i=(0,h.Z)(n.prototype,"fired",[v.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,h.Z)(n.prototype,"active",[v.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n)},571815:(e,t,r)=>{"use strict";r.d(t,{Z:()=>b});var n,i=r(89211),a=r(143681),o=r(736781),s=r(993184),l=r(668962),c=r(749886),u=r(673136),p=r(412333),d=(r(35812),r(573467),r(508460),r(973774),r(913688),r(902527)),m=r(753194),h=r(515870),v=function(e){setTimeout(e,0)},g=m.Z.requestAnimationFrame||m.Z.webkitRequestAnimationFrame||m.Z.mozRequestAnimationFrame||v,f=g;const b=new(n=function(e){(0,l.Z)(r,e);var t=(0,c.Z)(r);function r(){var e;(0,i.Z)(this,r);for(var n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).tickTime=(0,h.Z)(),e}return(0,a.Z)(r,[{key:"background",get:function(){return f===v},set:function(e){f=e?v:g}},{key:"register",value:function(){f.call(m.Z,this.run)}},{key:"request",value:function(e){f.call(m.Z,e)}},{key:"wrapAll",value:function(e){for(var t=this,r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];n.forEach((function(r){return e[r]=t.wrap(e[r].bind(e))}))}},{key:"wrap",value:function(e){var t=this;return function(){return t.push(e)}}},{key:"tick",value:function(){(0,h.Z)()-this.tickTime>=5&&this.run()}},{key:"run",value:function(){this.tickTime=(0,h.Z)(),(0,o.Z)((0,s.Z)(r.prototype),"run",this).call(this)}}]),r}(d.Z),(0,u.Z)(n.prototype,"run",[p.Z],Object.getOwnPropertyDescriptor(n.prototype,"run"),n.prototype),n)},783754:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n,i=r(167331);const a=null!==(n=window.CLDR)&&void 0!==n?n:i.Z},630647:(e,t,r)=>{"use strict";r.d(t,{Z:()=>E,zt:()=>z});var n,i=r(760567),a=r(282466),o=r(236229),s=r(736781),l=r(993184),c=r(673136),u=r(143681),p=r(89211),d=r(668962),m=r(749886),h=r(846031),v=r(516641),g=r(222606),f=r(548967),b=(r(378702),r(290671),r(816221),r(17938),r(35812),r(913688),r(593798),r(587621),r(276839),r(558901),r(956508)),y=r(489955),_=r(112957),w=r(962843);if(window.ZString){var k,Z,x,S,$=window.ZString;$._callbacks||($._callbacks=[],$._locale=$.locale,$._translations=$.translations,Object.defineProperty($,"locale",{configurable:!0,enumerable:!0,get:function(){return $._locale},set:function(e){if(e!==$._locale){$._locale=e;var t,r=(0,h.Z)($._callbacks);try{for(r.s();!(t=r.n()).done;)t.value.locale(e)}catch(e){r.e(e)}finally{r.f()}}}}),Object.defineProperty($,"translations",{configurable:!0,enumerable:!0,get:function(){return $._translations},set:function(e){if(e!==$._translations){$._translations=e;var t,r=(0,h.Z)($._callbacks);try{for(r.s();!(t=r.n()).done;)t.value.translations(e)}catch(e){r.e(e)}finally{r.f()}}}})),Z=function(e){(0,d.Z)(r,e);var t=(0,m.Z)(r);function r(){var e;return(0,p.Z)(this,r),e=t.call(this),(0,a.Z)(e,"_locale",x,(0,o.Z)(e)),(0,a.Z)(e,"_translations",S,(0,o.Z)(e)),e._readyDeferred=new w.Z,e._isReady=!1,e.watch((function(){return e.locale}),(function(t){null==t||e._isReady||(e._isReady=!0,e._readyDeferred.resolve())})),$._callbacks.push({locale:function(t){e._locale=t},translations:function(t){e._translations=t}}),e}return(0,u.Z)(r,[{key:"locale",get:function(){return this._locale},set:function(e){$.locale=e}},{key:"translations",get:function(){return this._translations},set:function(e){$.translations=e}},{key:"translate",value:function(){var e;y.Z.recordEvent(this,"_translations"),y.Z.recordEvent(this,"_locale");for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return(e=(0,s.Z)((0,l.Z)(r.prototype),"translate",this)).call.apply(e,[this].concat(n))}},{key:"readyJP",get:function(){return this._readyDeferred.promise}},{key:"language_display_name",get:function(){return this.locale_hash[this.locale]}},{key:"locale_hash",get:function(){var e,t={},r=(0,h.Z)(b.supported);try{for(r.s();!(e=r.n()).done;){var n=e.value,i=b.display_names[n];i&&(t[n]=i)}}catch(e){r.e(e)}finally{r.f()}return t}}]),r}((0,v.Z)({prototype:$})(k=function(e){(0,d.Z)(r,e);var t=(0,m.Z)(r);function r(){return(0,p.Z)(this,r),t.apply(this,arguments)}return(0,u.Z)(r)}(_.Z))||k),x=(0,c.Z)(Z.prototype,"_locale",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return $.locale}}),S=(0,c.Z)(Z.prototype,"_translations",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return $.translations}}),(0,c.Z)(Z.prototype,"locale_hash",[g.Z],Object.getOwnPropertyDescriptor(Z.prototype,"locale_hash"),Z.prototype),n=Z}else n=r(674961).Z;for(var A=new n,C=function(){var e=(0,i.Z)(P[T],2),t=e[0],r=e[1];Object.defineProperty(A,t,{get:function(){var e=this.locale,n=b.adobecom_language_codes[e],i=n?"".concat(n,"/"):"",a=(5===e.length?e.split("-",2)[1]:e).toLowerCase();if("string"!=typeof r)if(r.locales)r=r.locales[e]||r.locales.default;else if(r.hostnames)r=r.hostnames[window.location.hostname]||r.hostnames.default;else{if(!r.environments||"undefined"==typeof env)throw t;r=r.environments[env]||r.environments.default}return r.replace("${adobecom_country_fragment}",i).replace("${locale}",e).replace("${country_code_downcase}",a)}})},T=0,P=Object.entries(b.urls);T<P.length;T++)C();var z=A.translate.bind(A);const E=A},727188:(e,t,r)=>{"use strict";r.d(t,{Z:()=>v});var n,i,a,o=r(282466),s=r(89211),l=r(143681),c=r(236229),u=r(668962),p=r(749886),d=r(673136),m=r(481419),h=(r(35812),r(112957));const v=new(n=(0,m.Z)("grid-thumb-size"),i=function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(){var e;(0,s.Z)(this,r);for(var n=arguments.length,i=new Array(n),l=0;l<n;l++)i[l]=arguments[l];return e=t.call.apply(t,[this].concat(i)),(0,o.Z)(e,"thumbSize",a,(0,c.Z)(e)),e}return(0,l.Z)(r,[{key:"_getTargetSize",value:function(e,t){var r=this.thumbSize+100;return e+Math.round((r*r*r-1e6)*Math.max(0,t-e)/7e6)}},{key:"getRowHeight",value:function(e,t){return this._getTargetSize(80,Math.min(.8*t,1.2*e))}},{key:"getSquareCellSize",value:function(e,t){return this._getTargetSize(200,Math.min(.8*t,1.2*e))}},{key:"canResizeSquareGrid",value:function(e){return e>=404}}]),r}(h.Z),a=(0,d.Z)(i.prototype,"thumbSize",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 25}}),i)},177881:(e,t,r)=>{"use strict";r.d(t,{Z:()=>q});var n,i,a,o,s,l,c=r(878537),u=r(685271),p=r(568121),d=r(224440),m=r(85663),h=r(934331),v=r(846031),g=r(282466),f=r(89211),b=r(143681),y=r(236229),_=r(736781),w=r(993184),k=r(668962),Z=r(749886),x=r(673136),S=r(108445),$=r(600531),A=r(491464),C=r(704083),T=(r(573467),r(508460),r(115884),r(816221),r(485143),r(290671),r(17938),r(693508),r(913688),r(359538),r(26192)),P=r(973270),z=r(639452),E=r(156865),O=r(962843),I={make:function(e){return I=e.makeComponent(d.Z,{args:1,props:{getValue:function(e){return e.$_scope._this.scrollComponent}},blocks:[{name:"children",template:u.ZP.make({render:function(e,t){var r=t.scrollComponent_base=t.v0,n=t.scrollComponent=R.make(e,r).make(e);n.$_parent=t,n.template.run(e,n)},dispose:function(e,t){t.scrollComponent.template.dispose(e,t.scrollComponent)},move:function(e,t){t.scrollComponent.template.move(e,t.scrollComponent)},reuse:function(e,t){var r=t.v0;if(r!==t.scrollComponent_base){t.scrollComponent_base=r;var n=R.make(e,r).make(e);n.$_parent=t,e.replaceTemplate(t.scrollComponent,n),t.scrollComponent=n}else t.scrollComponent.template.reuse(e,t.scrollComponent)},firstChild:function(e,t){return t.scrollComponent.template.firstChild(e,t.scrollComponent)},lastChild:function(e,t){return t.scrollComponent.template.lastChild(e,t.scrollComponent)}})}]}),I.make(e)}},R={make:function(e,t){return R=c.Z.makeDynamic({attributes:[{name:"class",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.className},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.className=e)}},{name:"style",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.style},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.style=e)}},{name:"focusOnAttach",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.focusOnAttach},original:"focus-on-attach",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.focusOnAttach=e)}},{name:"contentWidth",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.contentWidth},original:"content-width",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.contentWidth=e)}},{name:"contentHeight",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.contentHeight},original:"content-height",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.contentHeight=e)}},{name:"verticalScroll",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.shouldVerticalScroll},original:"vertical-scroll",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.shouldVerticalScroll=e)}},{name:"horizontalScroll",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.horizontalScroll},original:"horizontal-scroll",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.horizontalScroll=e)}},{name:"scrollsDocument",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.scrollsDocument},original:"scrolls-document",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.scrollsDocument=e)}},{name:"scrollInfo",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.scrollInfo},original:"scroll-info",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.scrollInfo=e)}},{name:"scrollBarSize",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.scrollBarSize},original:"scroll-bar-size",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.scrollBarSize=e)}},{name:"scrollBarMargin",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.scrollBarMargin},original:"scroll-bar-margin",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.scrollBarMargin=e)}},{name:"autoScroll",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.autoScroll},original:"auto-scroll",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.autoScroll=e)}}],spreads:[function(e){return e.$_parent.$_parent.$_scope._this.undeclaredAttributes()}],blocks:[{name:"children",template:u.ZP.make({render:function(e,t){e.runBinder(M,L,t,!0);var r=t.repeat=D.make(e);r.$_parent=t,r.template.run(e,r),e.runBinder(N,j,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,t.repeat.template.dispose(e,t.repeat),e.removeSignals(t.expr_binder1,t.expr_invalidate1),t.expr_content1=e.disposeContent(t.expr_content1),t.expr_value3=void 0},move:function(e,t){e.moveContent(t.expr_content),t.repeat.template.move(e,t.repeat),e.moveContent(t.expr_content1)},reuse:function(e,t){e.runBinder(M,L,t,!1),t.repeat.template.reuse(e,t.repeat),e.runBinder(N,j,t,!1)},firstChild:function(e,t){return e.contentFirstChild(t.expr_content)},lastChild:function(e,t){return e.contentLastChild(t.expr_content1)}})}],events:[{name:"scroll",value:B}],init:function(e,t){e.$_parent.$_parent.$_scope._this.scroll=t},dispose:function(e,t){e.$_parent.$_parent.$_scope._this.scroll=null}}),R.make(e,t)}};function j(e,t,r,n,i,a){t.expr_binder1=r,t.expr_invalidate1=n;var o=t.expr_value3;(a||o!==i)&&(t.expr_value3=i,t.expr_content1=e.renderContent(t.expr_content1,i))}function N(e){return e.$_parent.$_parent.$_parent.$_scope._this.childrenBlocks.foreground}var D={make:function(e){return(D=e.makeComponent(p.Z,{args:1,props:{getCollection:function(e){return e.$_parent.$_parent.$_parent.$_parent.$_scope._this.viewTypes}},blocks:[{name:"children",template:e.makeComponent(E.Z,{attributes:[{name:"collection",get:function(){var e=this.$_view;if(e)return e.v0.items},set:function(e){var t=this.$_view;t&&(t.v0.items=e)}},{name:"view",get:function(){var e=this.$_view;if(e)return e.v0.viewType},set:function(e){var t=this.$_view;t&&(t.v0.viewType=e)}}]})}]})).make(e)}};function L(e,t,r,n,i,a){t.expr_binder=r,t.expr_invalidate=n;var o=t.expr_value1;(a||o!==i)&&(t.expr_value1=i,t.expr_content=e.renderContent(t.expr_content,i))}function M(e){return e.$_parent.$_parent.$_parent.$_scope._this.childrenBlocks.background}function B(e){var t=this.$_view;t&&t.$_parent.$_parent.$_scope._this.onScroll(e)}function F(e,t,r){return null!=r&&t?(e-=t*r,Math.floor(e/t)*t):e}function H(e,t,r){return null!=r&&t?(e+=t*r,Math.ceil(e/t)*t):e}var U={},q=(n=(0,S.Z)({scrollBarSize:10,scrollBarMargin:2,fork:!0,events:["needs-layout"]}),i=(0,A.Z)(50),a=(0,$.Z)(15e3),n((s=function(e){(0,k.Z)(n,e);var t,r=(0,Z.Z)(n);function n(){var e;return(0,f.Z)(this,n),e=r.call(this),(0,g.Z)(e,"scrollsDocument",l,(0,y.Z)(e)),e.scope.defineObservable("_activeItems",new z.Z),e.scope.activeVirtualScroll=(0,y.Z)(e),e}return(0,b.Z)(n,[{key:"childNeedsLayout",get:function(){return this._childNeedsLayout},set:function(e){this._childNeedsLayout=e,!1===e&&this.handleLayoutComplete()}},{key:"setChildNeedsLayout",value:function(){this.trigger("needs-layout"),(0,_.Z)((0,w.Z)(n.prototype),"setChildNeedsLayout",this).call(this)}},{key:"getElementHeight",value:function(){var e,t;return(null===(e=this.scroll)||void 0===e||null===(t=e.element)||void 0===t?void 0:t.offsetHeight)||0}},{key:"clearUserBookmark",value:function(){this.savedUserBookmark=null}},{key:"hasBookmark",value:function(e){return!!U[e]}},{key:"saveBookmark",value:function(e){this.items&&(U[e]=this.computeBookmark())}},{key:"loadBookmark",value:function(e,t){this.hasBookmark(e)?(this.savedUserBookmark=U[e],this.bookmarkRestoreCallback=t,this.childNeedsLayout=!0,this.refresh()):this.clearUserBookmark()}},{key:"computeBookmark",value:function(){var e=null,t=this.scroll.displayScrollLeft,r=this.scroll.displayScrollTop;return this.items.forEach((function(n){if(!n.hasChildren&&!n.fixed){var i=n.left-t,a=n.top-r;if(!(i<0||a<0)){var o=i*i+a*a;e?e.distance>o&&(e.item=n,e.itemLeft=n.left,e.itemTop=n.top,e.left=i,e.top=a,e.distance=o):e={item:n,left:i,top:a,itemLeft:n.left,itemTop:n.top,distance:o}}}})),e}},{key:"bookmarkRestored",value:function(){this.clearUserBookmark(),this.bookmarkRestoreCallback&&(this.bookmarkRestoreCallback(),this.bookmarkRestoreCallback=null)}},{key:"focusScroller",value:function(){this.scroll.element.focus()}},{key:"onScroll",value:function(e){e&&(this.clearUserBookmark(),delete this.scrollLock),this.trigger("scroll"),(0,_.Z)((0,w.Z)(n.prototype),"onScroll",this).call(this)}},{key:"loadPage",value:function(e,t,r,n,i,a,o,s){var l=this,c=F(e,i,this.preloadLeft),u=H(t,i,this.preloadRight),p=F(r,a,this.preloadTop),d=H(n,a,this.preloadBottom);if(o||this.childNeedsLayout||this.left!==c||this.right!==u||this.top!==p||this.bottom!==d){this.left=c,this.right=u,this.top=p,this.bottom=d;var m,h,g=this.margin,f=this.sourceItem;if(this.savedUserBookmark&&(s=this.savedUserBookmark),f&&(f.layout(g,g,this.scroll.innerWidth-g,this.scroll.innerHeight-g),this.contentWidth=f.width+g,this.contentHeight=f.height+g,!o&&s&&(s.dataItem&&!s.item&&f.resolveBookmark(s),s.item)))if(s.center?(m=s.item.left-(t-e-s.item.width)/2,h=s.item.top-(n-r-s.item.height)/2):isNaN(s.item.left)||isNaN(s.item.top)?(m=s.itemLeft-s.left,h=s.itemTop-s.top):(m=s.item.left-s.left,h=s.item.top-s.top),0===this.scroll.displayScrollTop&&0===this.scroll.displayScrollLeft&&0===m&&0===h)this.bookmarkRestored();else if(!this.scroll.isAnimating)return this.scroll.scrollTo(m,h,!0),this.refreshNow(!0,s),this.scroll.displayScrollTop===h&&this.scroll.displayScrollLeft===m&&this.bookmarkRestored(),!0;var b=this.stickyContainers=null,y={},_=[],w={},k=this.previousPendingItems;k&&k.forEach((function(e){return w[(0,P.Z)(e)]=e}));var Z=this.items=[];if(f){var x=function(e){Z.push(e),delete w[(0,P.Z)(e)],e.expand()&&(_.push(e),s||(s=l.computeBookmark()));var t=y[e.type];t&&t.push(e)};if(this.viewTypes.forEach((function(e){return y[e.type]=[]})),f.collect({left:c,right:u,top:p,bottom:d,addItem:x,addStickyContainer:function(e){b||(b=l.stickyContainers=[]),b.push(e)}}),this.scope._activeItems.size>0){var S,$=new Set(this.scope._activeItems.base),A=(0,v.Z)(Z);try{for(A.s();!(S=A.n()).done;){var C=S.value;$.delete(C)}}catch(e){A.e(e)}finally{A.f()}$.forEach((function(e){return x(e)}))}}for(var T in this.previousPendingItems=_,w)w[T].stopPendingItem();this.viewTypes.forEach((function(e){return e.items=y[e.type]})),this.childNeedsLayout=!1}}},{key:"shouldVerticalScroll",get:function(){return this.scroll?this.verticalScroll&&this.contentHeight>this.scroll.innerHeight:this.verticalScroll}},{key:"handleLayoutComplete",value:function(){if(this._layoutCompleteDeferred&&this._layoutCompleteDeferred.resolve(),this.scrollLock){var e={left:0,top:this.scrollLock.topOffset};if(!this.getVirtualItem(this.scrollLock.dataItem))return;this.scrollToElement(this.scrollLock.dataItem,!1,void 0,e)}}},{key:"scrollerIsRenderedJP",value:function(){return this._layoutCompleteDeferred||(this._layoutCompleteDeferred=new O.Z),this._layoutCompleteDeferred.promise}},{key:"lockScrollToItem",value:(t=(0,h.Z)((0,m.Z)().mark((function e(t){var r,n;return(0,m.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.scrollerIsRenderedJP();case 2:if(r=this.getVirtualItem(t)){e.next=5;break}return e.abrupt("return",!1);case 5:n=r.top-this.scroll.displayScrollTop,this.scrollLock={dataItem:t,topOffset:n};case 7:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"unlockScroll",value:function(){delete this.scrollLock}},{key:"scrollToElementAnimatedJP",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{vertical:"top",horizontal:"left"},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{left:0,top:0};return new Promise((function(i,a){var o=t.scrollToElement(e,!0,r,n),s=t.scroll.animation.animation;o?s.on("end",(function e(){s.off("end",e),i(!0)})):i(!1)}))}},{key:"render",value:function(){return{template:I,_this:this}}}]),n}(T.Z),l=(0,x.Z)(s.prototype,"scrollsDocument",[C.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,x.Z)(s.prototype,"bookmarkRestored",[i],Object.getOwnPropertyDescriptor(s.prototype,"bookmarkRestored"),s.prototype),(0,x.Z)(s.prototype,"focusScroller",[a],Object.getOwnPropertyDescriptor(s.prototype,"focusScroller"),s.prototype),o=s))||o)},262587:(e,t,r)=>{"use strict";r.d(t,{Z:()=>V});var n=r(224440),i=r(282466),a=r(236229),o=r(673136),s=r(685271),l=r(504397),c=r(89211),u=r(143681),p=r(668962),d=r(749886),m=r(588816),h=r(878537),v=r(54262),g=r(548967),f=r(704083),b=(r(35812),r(118240),r(41332),r(707078)),y=r(537188),_=r.n(y),w=r(165764),k=r.n(w),Z=r(774154),x=r.n(Z),S=r(811949),$=r.n(S),A=r(934809),C=r.n(A),T=r(12509),P=r.n(T),z=r(480617),E={};E.styleTagTransform=P(),E.setAttributes=$(),E.insert=x().bind(null,"head"),E.domAPI=k(),E.insertStyleElement=C(),_()(z.Z,E);const O=z.Z&&z.Z.locals?z.Z.locals:void 0;var I,R,j,N,D;e=r.hmd(e);var L={make:function(e){return(L=e.makeComponent(n.Z,{args:1,props:{getValue:function(e){return e.$_scope._this.src}},blocks:[{name:"children",template:e.makeComponent(q,{attributes:[{name:"muted",value:!0},{name:"loop",value:!0},{name:"class",get:function(){if(this.$_view)return O.root},set:function(e){this.$_view&&(O.root=e)}},{name:"class",get:function(){var e=this.$_view;if(e)return e.$_parent.$_scope._this.playing&&O.playing}},{name:"playbackRate",get:function(){var e,t=this.$_view;if(t)return null===(e=t.$_parent.$_scope._this.asset)||void 0===e?void 0:e.getVideoPlaybackRate()}},{name:"src",get:function(){var e=this.$_view;if(e)return e.v0},set:function(e){var t=this.$_view;t&&(t.v0=e)}}],spreads:[function(e){return e.$_parent.$_scope._this.asset.getVideoTimes()},function(e){return e.$_parent.$_scope._this.undeclaredAttributes()}]})}]})).make(e)}},M={make:function(e){return M=s.ZP.make({render:function(e,t){var r=t.lr$45video$45player=e.pushTemplateNode(U);H(t,r),e.runBinder(F,B,t,!0)},dispose:function(e,t){t.lr$3645video$3645player_spread_spread_state=e.updateSpreadAttribute(t.lr$45video$45player,null,t,t.lr$3645video$3645player_spread_spread_state),t.lr$3645video$3645player_spread_value=void 0,e.removeSignals(t.lr$3645video$3645player_spread_binder,t.lr$3645video$3645player_spread_invalidate),H(t,null)},move:function(e,t){e.pushNode(t.lr$45video$45player)},reuse:function(e,t){H(t,t.lr$45video$45player),e.runBinder(F,B,t,!1)},firstChild:function(e,t){return t.lr$45video$45player}}),M.make(e)}};function B(e,t,r,n,i,a){t.lr$3645video$3645player_spread_binder=r,t.lr$3645video$3645player_spread_invalidate=n;var o=t.lr$3645video$3645player_spread_value;(a||o!==i)&&(t.lr$3645video$3645player_spread_value=i,t.lr$3645video$3645player_spread_spread_state=e.updateSpreadAttribute(t.lr$45video$45player,i,t,t.lr$3645video$3645player_spread_spread_state))}function F(e){return e.$_scope._this.undeclaredAttributes()}function H(e,t){e.$_scope._this.element=t}var U=(0,l.z)((function(e){return e.makeNode("lr-video-player")})),q=(0,m.Z)((0,v.Z)("VideoPlayerWrapper"),e,"VideoPlayerWrapper")(I=function(e){(0,p.Z)(r,e);var t=(0,d.Z)(r);function r(){return(0,c.Z)(this,r),t.apply(this,arguments)}return(0,u.Z)(r,[{key:"attached",value:function(){var e=this.element;e&&e.play()}},{key:"detached",value:function(){var e=this.element;e&&(e.src="")}},{key:"render",value:function(){return{template:M,_this:this}}}]),r}(h.Z))||I,V=(0,m.Z)((0,v.Z)("VideoHoverPlayerV2"),e,"VideoHoverPlayerV2")((j=function(e){(0,p.Z)(r,e);var t=(0,d.Z)(r);function r(){var e;(0,c.Z)(this,r);for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return e=t.call.apply(t,[this].concat(o)),(0,i.Z)(e,"asset",N,(0,a.Z)(e)),(0,i.Z)(e,"playing",D,(0,a.Z)(e)),e}return(0,u.Z)(r,[{key:"src",get:function(){var e=this.asset;if(e&&!(0,b.P)(e)&&this.playing&&e.hasValidRendition("360p"))return e.getRenditionHref("360p")}},{key:"play",value:function(){this.playing=!0}},{key:"stop",value:function(){this.playing=!1}},{key:"render",value:function(){return{template:L,_this:this}}}]),r}(h.Z),N=(0,o.Z)(j.prototype,"asset",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,o.Z)(j.prototype,"playing",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=j))||R},647509:(e,t,r)=>{"use strict";r.d(t,{HI:()=>a.H,h5:()=>o.h,vs:()=>s,x:()=>a.x});var n,i=r(725115),a=r(221316),o=r(13918),s=(n={},(0,i.Z)(n,a.x.type,a.H),(0,i.Z)(n,o.h.type,o.p),n)},13918:(e,t,r)=>{"use strict";r.d(t,{h:()=>J,p:()=>G});var n=r(685271),i=r(504397),a=r(282466),o=r(89211),s=r(143681),l=r(236229),c=r(668962),u=r(749886),p=r(673136),d=r(588816),m=r(54262),h=r(108445),v=r(704083),g=(r(824098),r(573467),r(840901)),f=r(633525),b=(r(41332),r(630647)),y=r(537188),_=r.n(y),w=r(165764),k=r.n(w),Z=r(774154),x=r.n(Z),S=r(811949),$=r.n(S),A=r(934809),C=r.n(A),T=r(12509),P=r.n(T),z=r(603209),E={};E.styleTagTransform=P(),E.setAttributes=$(),E.insert=x().bind(null,"head"),E.domAPI=k(),E.insertStyleElement=C(),_()(z.Z,E);const O=z.Z&&z.Z.locals?z.Z.locals:void 0;var I,R,j,N;e=r.hmd(e);var D={make:function(e){return D=n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(W);e.enterNode(r);var n=t.div1=e.pushTemplateNode(V);e.enterNode(n);var i=t.p=e.pushTemplateNode(q);e.enterNode(i),e.runBinder(U,H,t,!0),e.exitNode(i),e.exitNode(n),e.exitNode(r),e.runBinder(F,B,t,!0),e.runBinder(M,L,t,!0)},dispose:function(e,t){t.div_spread_spread_state=e.updateSpreadAttribute(t.div,null,t,t.div_spread_spread_state),t.div_spread_value=void 0,e.removeSignals(t.p_binder,t.p_invalidate),t.p_content=e.disposeContent(t.p_content),t.p_value1=void 0,e.removeSignals(t.div_class_binder,t.div_class_invalidate),e.removeSignals(t.div_spread_binder,t.div_spread_invalidate)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(U,H,t,!1),e.runBinder(F,B,t,!1),e.runBinder(M,L,t,!1)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}}),D.make(e)}};function L(e,t,r,n,i,a){t.div_spread_binder=r,t.div_spread_invalidate=n;var o=t.div_spread_value;(a||o!==i)&&(t.div_spread_value=i,t.div_spread_spread_state=e.updateSpreadAttribute(t.div,i,t,t.div_spread_spread_state))}function M(e){return e.$_scope._this.itemAttributes}function B(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==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 O.view}function H(e,t,r,n,i,a){t.p_binder=r,t.p_invalidate=n;var o=t.p_value1;(a||o!==i)&&(t.p_value1=i,t.p_content=e.renderContent(t.p_content,i))}function U(e){return e.$_scope._this.footerText}var q=(0,i.z)((function(e){return e.makeNode("p")})),V=(0,i.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","content"),t})),W=(0,i.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","ze-footer"),t})),J=(0,h.Z)({type:"footer"})((R=function(e){(0,c.Z)(r,e);var t=(0,u.Z)(r);function r(){var e;return(0,o.Z)(this,r),e=t.call(this),(0,a.Z)(e,"bottomMargin",j,(0,l.Z)(e)),e.layoutAttributes((function(){return e.bottomMargin})),e}return(0,s.Z)(r,[{key:"updateLayout",value:function(e,t){this.width=e,this.height=80+this.bottomMargin}}]),r}(g.Z),j=(0,p.Z)(R.prototype,"bottomMargin",[v.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),I=R))||I,G=(0,d.Z)((0,m.Z)("GridFooterView"),e,"GridFooterView")(N=function(e){(0,c.Z)(r,e);var t=(0,u.Z)(r);function r(){return(0,o.Z)(this,r),t.apply(this,arguments)}return(0,s.Z)(r,[{key:"length",get:function(){var e=this.scope.assetSource.modelsBindable.base.filter((function(e){return e.restoreInProgress()}));return this.scope.assetSource.length-e.length}},{key:"footerText",get:function(){if(!this.virtualItem||!this.scope.assetSource)return"";if(!this.scope.assetSource.finished)return 0===this.length?"":(0,b.zt)("$$$/js/journal/footer/loading=Loading more...");var e={length:this.length};return 1===this.length?(0,b.zt)("$$$/js/journal/footer/count_single={length} photo",e):(0,b.zt)("$$$/js/journal/footer/count_plural={length} photos",e)}},{key:"render",value:function(){return{template:D,_this:this}}}]),r}(f.Z))||N},221316:(e,t,r)=>{"use strict";r.d(t,{H:()=>nr,x:()=>rr});var n,i,a,o,s,l,c,u,p,d,m,h,v,g,f,b,y,_,w,k,Z,x,S,$=r(568121),A=r(685271),C=r(878537),T=r(504397),P=r(224440),z=r(323643),E=r(519055),O=r(363073),I=r(846031),R=r(282466),j=r(236229),N=r(736781),D=r(993184),L=r(89211),M=r(143681),B=r(668962),F=r(749886),H=r(673136),U=r(108445),q=r(222606),V=r(412333),W=r(327743),J=r(600531),G=r(548967),K=r(704083),Y=r(299493),X=(r(913688),r(255187),r(203454),r(35812),r(290671),r(816221),r(17938),r(888784),r(573467),r(693508),r(339161)),Q=r(844535),ee=r(548997),te=r(139144),re=r(840901),ne=r(633525),ie=r(489955),ae=r(519559),oe=r(639452),se=r(112957),le=r(41332),ce=r(93511),ue=r(386765),pe=r(819218),de=r(314313),me=r(359878),he=r(211062),ve=r(253544),ge=r(630647),fe=r(573179),be=r(337720),ye=r(657680),_e=r(907532),we=r(507150),ke={make:function(e){return(ke=e.makeComponent(ee.Z,{attributes:[{name:"type",value:"grid-assets"},{name:"class",value:"grid-asset"},{name:"model",get:function(){var e=this.$_view;if(e)return e.$_scope._this.dragModel},set:function(e){var t=this.$_view;t&&(t.$_scope._this.dragModel=e)}},{name:"dragDisabled",get:function(){var e=this.$_view;if(e)return!e.$_scope._this.canDrag}},{name:"dragClass",get:function(){if(this.$_view)return we.Z.dragContainer},set:function(e){this.$_view&&(we.Z.dragContainer=e)}},{name:"class",get:function(){if(this.$_view)return we.Z.grid_asset},set:function(e){this.$_view&&(we.Z.grid_asset=e)}},{name:"class",get:function(){var e=this.$_view;if(e)return e.$_scope._this.positionClass},set:function(e){var t=this.$_view;t&&(t.$_scope._this.positionClass=e)}},{name:"class",get:function(){var e=this.$_view;if(e)return{selecting:e.$_scope._this.scope.isSelecting}}},{name:"class",get:function(){var e=this.$_view;if(e)return{selectable:e.$_scope._this.scope.allowEditing}}},{name:"class",get:function(){var e=this.$_view;if(e)return{selected:e.$_scope._this.selected,"flash-animation":e.$_scope._this.flashAnimation}}},{name:"class",get:function(){if(this.$_view)return{"hover-lock":ue.q.forceGridHover||!ce.Z}}},{name:"class",get:function(){var e=this.$_view;if(e)return{"tip-placeable":e.$_scope._this.showFirstAssetTip}}},{name:"class",get:function(){var e=this.$_view;if(e)return e.$_scope._this.rejectClass},set:function(e){var t=this.$_view;t&&(t.$_scope._this.rejectClass=e)}},{name:"class",get:function(){var e=this.$_view;if(e)return e.$_scope._this.photoViewClassName},set:function(e){var t=this.$_view;t&&(t.$_scope._this.photoViewClassName=e)}},{name:"class",get:function(){var e=this.$_view;if(e)return e.$_scope._this.additionalElementClasses},set:function(e){var t=this.$_view;t&&(t.$_scope._this.additionalElementClasses=e)}},{name:"styleZIndex",get:function(){var e=this.$_view;if(e)return e.$_scope._this.zIndex},original:"style-z-index",set:function(e){var t=this.$_view;t&&(t.$_scope._this.zIndex=e)}},{name:"id",get:function(){var e=this.$_view;if(e)return e.$_scope._this.id},set:function(e){var t=this.$_view;t&&(t.$_scope._this.id=e)}}],spreads:[function(e){return e.$_scope._this.itemAttributes}],blocks:[{name:"children",template:A.ZP.make({render:function(e,t){var r=t._if=_t.make(e);r.$_parent=t,r.template.run(e,r);var n=t._if1=vt.make(e);n.$_parent=t,n.template.run(e,n);var i=t._if2=dt.make(e);i.$_parent=t,i.template.run(e,i);var a=t._if3=st.make(e);a.$_parent=t,a.template.run(e,a);var o=t._if4=at.make(e);o.$_parent=t,o.template.run(e,o);var s=t._if5=nt.make(e);s.$_parent=t,s.template.run(e,s);var l=t._if6=Ze.make(e);l.$_parent=t,l.template.run(e,l)},dispose:function(e,t){t._if.template.dispose(e,t._if),t._if1.template.dispose(e,t._if1),t._if2.template.dispose(e,t._if2),t._if3.template.dispose(e,t._if3),t._if4.template.dispose(e,t._if4),t._if5.template.dispose(e,t._if5),t._if6.template.dispose(e,t._if6)},move:function(e,t){t._if.template.move(e,t._if),t._if1.template.move(e,t._if1),t._if2.template.move(e,t._if2),t._if3.template.move(e,t._if3),t._if4.template.move(e,t._if4),t._if5.template.move(e,t._if5),t._if6.template.move(e,t._if6)},reuse:function(e,t){t._if.template.reuse(e,t._if),t._if1.template.reuse(e,t._if1),t._if2.template.reuse(e,t._if2),t._if3.template.reuse(e,t._if3),t._if4.template.reuse(e,t._if4),t._if5.template.reuse(e,t._if5),t._if6.template.reuse(e,t._if6)},firstChild:function(e,t){return t._if.template.firstChild(e,t._if)},lastChild:function(e,t){return t._if6.template.lastChild(e,t._if6)}})}],events:[{name:"mouseenter",value:kt},{name:"mouseleave",value:wt}],init:function(e,t){e.$_scope._this.element=t},dispose:function(e,t){e.$_scope._this.element=null}})).make(e)}},Ze={make:function(e){return Ze=e.makeComponent(E.Z,{props:{getCondition:function(e){return e.$_parent.$_parent.$_scope._this.scope.canReorderAndSegment}},blocks:[{name:"children",template:A.ZP.make({render:function(e,t){var r=t.dropTarget=rt.make(e);r.$_parent=t,r.template.run(e,r);var n=t.div=e.pushTemplateNode(tt);e.enterNode(n),e.runBinder(et,Qe,t,!0),e.runBinder(Xe,Ye,t,!0),e.runBinder(Ke,Ge,t,!0);var i=t._if=Me.make(e);i.$_parent=t,i.template.run(e,i),e.exitNode(n);var a=t._if1=xe.make(e);a.$_parent=t,a.template.run(e,a)},dispose:function(e,t){t.dropTarget.template.dispose(e,t.dropTarget),e.removeSignals(t.div_class_binder,t.div_class_invalidate),e.removeSignals(t.div_style$45width_binder,t.div_style$45width_invalidate),e.removeSignals(t.div_style$45left_binder,t.div_style$45left_invalidate),t._if.template.dispose(e,t._if),t._if1.template.dispose(e,t._if1)},move:function(e,t){t.dropTarget.template.move(e,t.dropTarget),e.pushNode(t.div),t._if1.template.move(e,t._if1)},reuse:function(e,t){t.dropTarget.template.reuse(e,t.dropTarget),e.runBinder(et,Qe,t,!1),e.runBinder(Xe,Ye,t,!1),e.runBinder(Ke,Ge,t,!1),t._if.template.reuse(e,t._if),t._if1.template.reuse(e,t._if1)},firstChild:function(e,t){return t.dropTarget.template.firstChild(e,t.dropTarget)},lastChild:function(e,t){return t._if1.template.lastChild(e,t._if1)},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._style$45width||(e.attr._style$45width=e.ensureAttr("style-width")),e.attr._style$45left||(e.attr._style$45left=e.ensureAttr("style-left"))}})}]}),Ze.make(e)}},xe={make:function(e){return(xe=e.makeComponent(E.Z,{props:{getCondition:function(e){return e.$_parent.$_parent.$_parent.$_parent.$_scope._this.showRightDropTarget}},blocks:[{name:"children",template:A.ZP.make({render:function(e,t){var r=t.dropTarget=Le.make(e);r.$_parent=t,r.template.run(e,r);var n=t._if=Se.make(e);n.$_parent=t,n.template.run(e,n)},dispose:function(e,t){t.dropTarget.template.dispose(e,t.dropTarget),t._if.template.dispose(e,t._if)},move:function(e,t){t.dropTarget.template.move(e,t.dropTarget),t._if.template.move(e,t._if)},reuse:function(e,t){t.dropTarget.template.reuse(e,t.dropTarget),t._if.template.reuse(e,t._if)},firstChild:function(e,t){return t.dropTarget.template.firstChild(e,t.dropTarget)},lastChild:function(e,t){return t._if.template.lastChild(e,t._if)}})}]})).make(e)}},Se={make:function(e){return Se=e.makeComponent(E.Z,{props:{getCondition:function(e){return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.showRightSplitIndicator}},blocks:[{name:"children",template:A.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(tt);e.enterNode(r);var n=t.div1=e.pushTemplateNode(tt);e.attachEvent(t.div1,"click",De),e.enterNode(n),e.runBinder(Ne,je,t,!0),e.exitNode(n),e.exitNode(r),e.runBinder(Re,Ie,t,!0),e.runBinder(Oe,Ee,t,!0),e.runBinder(ze,Pe,t,!0),e.runBinder(Te,Ce,t,!0),e.runBinder(Ae,$e,t,!0)},dispose:function(e,t){t.div1._jsx_data=null,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),e.removeSignals(t.div_style$45width_binder,t.div_style$45width_invalidate),e.removeSignals(t.div_style$45right_binder,t.div_style$45right_invalidate),e.removeSignals(t.div1_class_binder,t.div1_class_invalidate),e.removeSignals(t.div1_title_binder,t.div1_title_invalidate)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(Ne,je,t,!1),e.runBinder(Re,Ie,t,!1),e.runBinder(Oe,Ee,t,!1),e.runBinder(ze,Pe,t,!1),e.runBinder(Te,Ce,t,!1),e.runBinder(Ae,$e,t,!1)},init:function(e,t){t.div1._jsx_data=t},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._style$45width||(e.attr._style$45width=e.ensureAttr("style-width")),e.attr._style$45right||(e.attr._style$45right=e.ensureAttr("style-right")),e.attr._title||(e.attr._title=e.ensureAttr("title"))}})}]}),Se.make(e)}};function $e(e,t,r,n,i,a){t.div1_title_binder=r,t.div1_title_invalidate=n;var o=t.div1_title_value;(a||o!==i)&&(t.div1_title_value=i,t.div1_title_state=e.attr._title(t.div1,"title",i,t.div1_title_state))}function Ae(e){return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.addSectionTooltip}function Ce(e,t,r,n,i,a){t.div1_class_binder=r,t.div1_class_invalidate=n;var o=t.div1_class_value;(a||o!==i)&&(t.div1_class_value=i,t.div1_class_state=e.attr._class(t.div1,"class",i,t.div1_class_state))}function Te(e){return we.Z.splitIndicator}function Pe(e,t,r,n,i,a){t.div_style$45right_binder=r,t.div_style$45right_invalidate=n;var o=t.div_style$45right_value;(a||o!==i)&&(t.div_style$45right_value=i,t.div_style$45right_state=e.attr._style$45right(t.div,"style-right",i,t.div_style$45right_state))}function ze(e){return-Qt}function Ee(e,t,r,n,i,a){t.div_style$45width_binder=r,t.div_style$45width_invalidate=n;var o=t.div_style$45width_value;(a||o!==i)&&(t.div_style$45width_value=i,t.div_style$45width_state=e.attr._style$45width(t.div,"style-width",i,t.div_style$45width_state))}function Oe(e){return Qt}function Ie(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function Re(e){return we.Z.splitContainer}function je(e,t,r,n,i,a){t.div_binder=r,t.div_invalidate=n;var o=t.div_value1;(a||o!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function Ne(e){return X.Z}function De(e){var t,r=this._jsx_data;r&&(null===(t=r.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.virtualItem)||void 0===t||t.trigger("journal-split-right",e))}var Le={make:function(e){return(Le=e.makeComponent(te.Z,{attributes:[{name:"types",value:"grid-assets"},{name:"class",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.dragInProgress?we.Z.dropTarget:void 0}},{name:"hoverClass",get:function(){if(this.$_view)return we.Z.dropHoverRight},set:function(e){this.$_view&&(we.Z.dropHoverRight=e)}},{name:"styleWidth",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.rightDropWidth},original:"style-width",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.rightDropWidth=e)}},{name:"styleRight",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.rightDropRightPosition},original:"style-right",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.rightDropRightPosition=e)}},{name:"model",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.rightDropModel},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.rightDropModel=e)}}]})).make(e)}},Me={make:function(e){return Me=e.makeComponent(E.Z,{props:{getCondition:function(e){return e.$_parent.$_parent.$_parent.$_parent.$_scope._this.showLeftSplitIndicator}},blocks:[{name:"children",template:A.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(tt);Je(t,r),e.attachEvent(t.div,"click",We),e.enterNode(r),e.runBinder(Ve,qe,t,!0),e.exitNode(r),e.runBinder(Ue,He,t,!0),e.runBinder(Fe,Be,t,!0)},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,e.removeSignals(t.div_class_binder,t.div_class_invalidate),e.removeSignals(t.div_title_binder,t.div_title_invalidate),Je(t,null)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){Je(t,t.div),e.runBinder(Ve,qe,t,!1),e.runBinder(Ue,He,t,!1),e.runBinder(Fe,Be,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")),e.attr._title||(e.attr._title=e.ensureAttr("title"))}})}]}),Me.make(e)}};function Be(e,t,r,n,i,a){t.div_title_binder=r,t.div_title_invalidate=n;var o=t.div_title_value;(a||o!==i)&&(t.div_title_value=i,t.div_title_state=e.attr._title(t.div,"title",i,t.div_title_state))}function Fe(e){return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.addSectionTooltip}function He(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function Ue(e){return we.Z.splitIndicator}function qe(e,t,r,n,i,a){t.div_binder=r,t.div_invalidate=n;var o=t.div_value1;(a||o!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function Ve(e){return X.Z}function We(e){var t,r=this._jsx_data;r&&(null===(t=r.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.virtualItem)||void 0===t||t.trigger("journal-split-left",e))}function Je(e,t){e.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.addSectionLeftElement=t}function Ge(e,t,r,n,i,a){t.div_style$45left_binder=r,t.div_style$45left_invalidate=n;var o=t.div_style$45left_value;(a||o!==i)&&(t.div_style$45left_value=i,t.div_style$45left_state=e.attr._style$45left(t.div,"style-left",i,t.div_style$45left_state))}function Ke(e){return e.$_parent.$_parent.$_parent.$_scope._this.splitLeftPosition}function Ye(e,t,r,n,i,a){t.div_style$45width_binder=r,t.div_style$45width_invalidate=n;var o=t.div_style$45width_value;(a||o!==i)&&(t.div_style$45width_value=i,t.div_style$45width_state=e.attr._style$45width(t.div,"style-width",i,t.div_style$45width_state))}function Xe(e){return Qt}function Qe(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function et(e){return we.Z.splitContainer}var tt=(0,T.z)((function(e){return e.makeNode("div")})),rt={make:function(e){return(rt=e.makeComponent(te.Z,{attributes:[{name:"types",value:"grid-assets"},{name:"class",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_scope._this.dragInProgress?we.Z.dropTarget:void 0}},{name:"hoverClass",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_scope._this.leftDropHoverClass},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_scope._this.leftDropHoverClass=e)}},{name:"styleWidth",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_scope._this.leftDropWidth},original:"style-width",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_scope._this.leftDropWidth=e)}},{name:"styleLeft",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_scope._this.leftDropLeftPosition},original:"style-left",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_scope._this.leftDropLeftPosition=e)}},{name:"model",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_scope._this.leftDropModel},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_scope._this.leftDropModel=e)}}]})).make(e)}},nt={make:function(e){return nt=e.makeComponent(E.Z,{props:{getCondition:function(e){return e.$_parent.$_parent.$_scope._this.controlsRenderers&&e.$_parent.$_parent.$_scope._this.controlsRenderers.length>0}},blocks:[{name:"children",template:e.makeComponent($.Z,{args:1,props:{getCollection:function(e){return e.$_parent.$_parent.$_parent.$_scope._this.controlsRenderers}},blocks:[{name:"children",template:e.makeComponent(P.Z,{args:1,props:{getValue:function(e){return e.v0}},blocks:[{name:"children",template:A.ZP.make({render:function(e,t){var r=t.controlRenderer_base=t.v0,n=t.controlRenderer=it.make(e,r).make(e);n.$_parent=t,n.template.run(e,n)},dispose:function(e,t){t.controlRenderer.template.dispose(e,t.controlRenderer)},move:function(e,t){t.controlRenderer.template.move(e,t.controlRenderer)},reuse:function(e,t){var r=t.v0;if(r!==t.controlRenderer_base){t.controlRenderer_base=r;var n=it.make(e,r).make(e);n.$_parent=t,e.replaceTemplate(t.controlRenderer,n),t.controlRenderer=n}else t.controlRenderer.template.reuse(e,t.controlRenderer)},firstChild:function(e,t){return t.controlRenderer.template.firstChild(e,t.controlRenderer)},lastChild:function(e,t){return t.controlRenderer.template.lastChild(e,t.controlRenderer)}})}]})}]})}]}),nt.make(e)}},it={make:function(e,t){return(it=C.Z.makeDynamic({attributes:[{name:"parentView",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this},original:"parent-view"},{name:"asset",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.asset},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.asset=e)}}]})).make(e,t)}},at={make:function(e){return at=e.makeComponent(E.Z,{props:{getCondition:function(e){return e.$_parent.$_parent.$_scope._this.flashAnimation}},blocks:[{name:"children",template:A.ZP.make({render:function(e,t){t.div=e.pushTemplateNode(ot)},move:function(e,t){e.pushNode(t.div)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})}]}),at.make(e)}},ot=(0,T.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","flash-overlay"),t})),st={make:function(e){return st=e.makeComponent(E.Z,{props:{getCondition:function(e){return e.$_parent.$_parent.$_scope._this.showSelectOnHover}},blocks:[{name:"children",template:A.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(pt);e.attachEvent(t.div,"click",ut),e.enterNode(r),e.runBinder(ct,lt,t,!0),e.exitNode(r)},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(ct,lt,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"))}})}]}),st.make(e)}};function lt(e,t,r,n,i,a){t.div_binder=r,t.div_invalidate=n;var o=t.div_value1;(a||o!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function ct(e){return Q.Z}function ut(e){var t,r=this._jsx_data;r&&(null===(t=r.$_parent.$_parent.$_parent.$_scope._this.virtualItem)||void 0===t||t.trigger("select-toggle",e))}var pt=(0,T.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","select-check"),t})),dt={make:function(e){return dt=e.makeComponent(E.Z,{props:{getCondition:function(e){return e.$_parent.$_parent.$_scope._this.showOverlayState}},blocks:[{name:"children",template:A.ZP.make({render:function(e,t){e.runBinder(ht,mt,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(ht,mt,t,!1)},firstChild:function(e,t){return e.contentFirstChild(t.expr_content)},lastChild:function(e,t){return e.contentLastChild(t.expr_content)}})}]}),dt.make(e)}};function mt(e,t,r,n,i,a){t.expr_binder=r,t.expr_invalidate=n;var o=t.expr_value1;(a||o!==i)&&(t.expr_value1=i,t.expr_content=e.renderContent(t.expr_content,i))}function ht(e){return e.$_parent.$_parent.$_parent.$_scope._this.renderOverlayState()}var vt={make:function(e){return vt=e.makeComponent(E.Z,{props:{getCondition:function(e){return e.$_parent.$_parent.$_scope._this.showFirstAssetTip}},blocks:[{name:"else",template:A.ZP.make({render:function(e,t){e.runBinder(yt,bt,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(yt,bt,t,!1)},firstChild:function(e,t){return e.contentFirstChild(t.expr_content)},lastChild:function(e,t){return e.contentLastChild(t.expr_content)}})},{name:"children",template:e.makeComponent(de.Z,{attributes:[{name:"placement",value:"bottom"},{name:"stylePosition",value:"absolute",original:"style-position"},{name:"useOverlay",value:!1},{name:"offset",value:"0"},{name:"tipKey",get:function(){if(this.$_view)return me.nH.EDIT_FIRST_PHOTO},set:function(e){this.$_view&&(me.nH.EDIT_FIRST_PHOTO=e)}},{name:"targetElement",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this.tipElement},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this.tipElement=e)}},{name:"styleTop",get:function(){var e,t=this.$_view;if(t)return null===(e=t.$_parent.$_parent.$_parent.$_scope._this.virtualItem)||void 0===e?void 0:e.height},original:"style-top"}],blocks:[{name:"children",template:A.ZP.make({render:function(e,t){e.runBinder(ft,gt,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(ft,gt,t,!1)},firstChild:function(e,t){return e.contentFirstChild(t.expr_content)},lastChild:function(e,t){return e.contentLastChild(t.expr_content)}})}]})}]}),vt.make(e)}};function gt(e,t,r,n,i,a){t.expr_binder=r,t.expr_invalidate=n;var o=t.expr_value1;(a||o!==i)&&(t.expr_value1=i,t.expr_content=e.renderContent(t.expr_content,i))}function ft(e){return e.$_parent.$_parent.$_parent.$_parent.$_scope._this.renderPhotoRenderer()}function bt(e,t,r,n,i,a){t.expr_binder=r,t.expr_invalidate=n;var o=t.expr_value1;(a||o!==i)&&(t.expr_value1=i,t.expr_content=e.renderContent(t.expr_content,i))}function yt(e){return e.$_parent.$_parent.$_parent.$_scope._this.renderPhotoRenderer()}var _t={make:function(e){return(_t=e.makeComponent(E.Z,{props:{getCondition:function(e){return e.$_parent.$_parent.$_scope._this.isSaving}},blocks:[{name:"children",template:e.makeComponent(he.Z,{})}]})).make(e)}};function wt(){var e=this.$_view;e&&e.$_scope._this.mouseLeaveAsset()}function kt(){var e=this.$_view;e&&e.$_scope._this.mouseEnterAsset()}var Zt={make:function(e){return Zt=e.makeComponent(P.Z,{args:1,props:{getValue:function(e){return e.$_scope._this.photoRenderer}},blocks:[{name:"children",template:A.ZP.make({render:function(e,t){var r=t.photoRenderer_base=t.v0,n=t.photoRenderer=xt.make(e,r).make(e);n.$_parent=t,n.template.run(e,n)},dispose:function(e,t){t.photoRenderer.template.dispose(e,t.photoRenderer)},move:function(e,t){t.photoRenderer.template.move(e,t.photoRenderer)},reuse:function(e,t){var r=t.v0;if(r!==t.photoRenderer_base){t.photoRenderer_base=r;var n=xt.make(e,r).make(e);n.$_parent=t,e.replaceTemplate(t.photoRenderer,n),t.photoRenderer=n}else t.photoRenderer.template.reuse(e,t.photoRenderer)},firstChild:function(e,t){return t.photoRenderer.template.firstChild(e,t.photoRenderer)},lastChild:function(e,t){return t.photoRenderer.template.lastChild(e,t.photoRenderer)}})}]}),Zt.make(e)}},xt={make:function(e,t){return(xt=C.Z.makeDynamic({attributes:[{name:"elementRef",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.tipElement},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.tipElement=e)}},{name:"parent",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this}},{name:"class",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.photoRendererClasses},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.photoRendererClasses=e)}},{name:"asset",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.asset},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.asset=e)}},{name:"hasPhotoUrl",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.hasPhotoUrl},original:"has-photo-url",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.hasPhotoUrl=e)}},{name:"photoUrl",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.photoUrl},original:"photo-url",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.photoUrl=e)}},{name:"showImporter",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.showImporter},original:"show-importer",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.showImporter=e)}}],events:[{name:"click",value:St}],init:function(e,t){e.$_parent.$_parent.$_scope._this.renderer=t},dispose:function(e,t){e.$_parent.$_parent.$_scope._this.renderer=null}})).make(e,t)}};function St(e){var t=this.$_view;t&&t.$_parent.$_parent.$_scope._this.virtualItem&&t.$_parent.$_parent.$_scope._this.virtualItem.trigger("click",e)}var $t={make:function(e){return $t=A.ZP.make({render:function(e,t){var r=t.g=!e._group_g&&e.pushTemplateNode(Xt);r&&e.enterNode(r);var n=t._if=At.make(e);n.$_parent=t,n.template.run(e,n),r&&e.exitNode(r)},dispose:function(e,t){t._if.template.dispose(e,t._if)},move:function(e,t){t.g?e.pushNode(t.g):t._if.template.move(e,t._if)},reuse:function(e,t){t._if.template.reuse(e,t._if)},firstChild:function(e,t){return t.g||t._if.template.firstChild(e,t._if)},lastChild:function(e,t){return t.g||t._if.template.lastChild(e,t._if)}}),$t.make(e)}},At={make:function(e){return At=e.makeComponent(E.Z,{props:{getCondition:function(e){return"info"===e.$_parent.$_scope._this.scope.overlayState.state}},blocks:[{name:"else",template:e.makeComponent(z.Z,{props:{getCondition:function(e){return"detailed"===e.$_parent.$_parent.$_scope._this.scope.overlayState.state}},blocks:[{name:"else",template:e.makeComponent(P.Z,{args:1,props:{getValue:function(e){return e.$_parent.$_parent.$_parent.$_scope._this.debugOverlaysView}},blocks:[{name:"children",template:A.ZP.make({render:function(e,t){var r=t.debugPhotoOverlays_base=t.v0.default,n=t.debugPhotoOverlays=Yt.make(e,r).make(e);n.$_parent=t,n.template.run(e,n)},dispose:function(e,t){t.debugPhotoOverlays.template.dispose(e,t.debugPhotoOverlays)},move:function(e,t){t.debugPhotoOverlays.template.move(e,t.debugPhotoOverlays)},reuse:function(e,t){var r=t.v0.default;if(r!==t.debugPhotoOverlays_base){t.debugPhotoOverlays_base=r;var n=Yt.make(e,r).make(e);n.$_parent=t,e.replaceTemplate(t.debugPhotoOverlays,n),t.debugPhotoOverlays=n}else t.debugPhotoOverlays.template.reuse(e,t.debugPhotoOverlays)},firstChild:function(e,t){return t.debugPhotoOverlays.template.firstChild(e,t.debugPhotoOverlays)},lastChild:function(e,t){return t.debugPhotoOverlays.template.lastChild(e,t.debugPhotoOverlays)}})}]})},{name:"children",template:A.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(Kt);e.enterNode(r);var n=t.span=e.pushTemplateNode(Gt);e.enterNode(n),e.runBinder(Jt,Wt,t,!0),e.exitNode(n);var i=t.span1=e.pushTemplateNode(Gt);e.enterNode(i),e.runBinder(Vt,qt,t,!0),e.exitNode(i);var a=t.span2=e.pushTemplateNode(Gt);e.enterNode(a),e.runBinder(Ut,Ht,t,!0),e.exitNode(a),e.exitNode(r),e.runBinder(Ft,Bt,t,!0),e.runBinder(Mt,Lt,t,!0),e.runBinder(Dt,Nt,t,!0),e.runBinder(jt,Rt,t,!0)},dispose:function(e,t){e.removeSignals(t.span_binder,t.span_invalidate),t.span_content=e.disposeContent(t.span_content),t.span_value1=void 0,e.removeSignals(t.span_binder1,t.span_invalidate1),t.span_content1=e.disposeContent(t.span_content1),t.span_value3=void 0,e.removeSignals(t.span_binder2,t.span_invalidate2),t.span_content2=e.disposeContent(t.span_content2),t.span_value5=void 0,e.removeSignals(t.span_class_binder,t.span_class_invalidate),e.removeSignals(t.span_title_binder,t.span_title_invalidate),e.removeSignals(t.span1_title_binder,t.span1_title_invalidate),e.removeSignals(t.span2_title_binder,t.span2_title_invalidate)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(Jt,Wt,t,!1),e.runBinder(Vt,qt,t,!1),e.runBinder(Ut,Ht,t,!1),e.runBinder(Ft,Bt,t,!1),e.runBinder(Mt,Lt,t,!1),e.runBinder(Dt,Nt,t,!1),e.runBinder(jt,Rt,t,!1)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._title||(e.attr._title=e.ensureAttr("title"))}})}]})},{name:"children",template:A.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(It);e.enterNode(r);var n=t.span=e.pushTemplateNode(Gt);e.enterNode(n),e.runBinder(Ot,Et,t,!0),e.exitNode(n),e.exitNode(r),e.runBinder(zt,Pt,t,!0),e.runBinder(Tt,Ct,t,!0)},dispose:function(e,t){e.removeSignals(t.span_binder,t.span_invalidate),t.span_content=e.disposeContent(t.span_content),t.span_value1=void 0,e.removeSignals(t.span_class_binder,t.span_class_invalidate),e.removeSignals(t.span_title_binder,t.span_title_invalidate)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(Ot,Et,t,!1),e.runBinder(zt,Pt,t,!1),e.runBinder(Tt,Ct,t,!1)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._title||(e.attr._title=e.ensureAttr("title"))}})}]}),At.make(e)}};function Ct(e,t,r,n,i,a){t.span_title_binder=r,t.span_title_invalidate=n;var o=t.span_title_value;(a||o!==i)&&(t.span_title_value=i,t.span_title_state=e.attr._title(t.span,"title",i,t.span_title_state))}function Tt(e){return e.$_parent.$_parent.$_scope._this.fileName}function Pt(e,t,r,n,i,a){t.span_class_binder=r,t.span_class_invalidate=n;var o=t.span_class_value;(a||o!==i)&&(t.span_class_value=i,t.span_class_state=e.attr._class(t.span,"class",i,t.span_class_state))}function zt(e){return e.$_parent.$_parent.$_scope._this.overlayTextClasses}function Et(e,t,r,n,i,a){t.span_binder=r,t.span_invalidate=n;var o=t.span_value1;(a||o!==i)&&(t.span_value1=i,t.span_content=e.renderContent(t.span_content,i))}function Ot(e){return e.$_parent.$_parent.$_scope._this.fileName}var It=(0,T.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","info-overlay"),t}));function Rt(e,t,r,n,i,a){t.span2_title_binder=r,t.span2_title_invalidate=n;var o=t.span2_title_value;(a||o!==i)&&(t.span2_title_value=i,t.span2_title_state=e.attr._title(t.span2,"title",i,t.span2_title_state))}function jt(e){return e.$_parent.$_parent.$_parent.$_scope._this.dimensions}function Nt(e,t,r,n,i,a){t.span1_title_binder=r,t.span1_title_invalidate=n;var o=t.span1_title_value;(a||o!==i)&&(t.span1_title_value=i,t.span1_title_state=e.attr._title(t.span1,"title",i,t.span1_title_state))}function Dt(e){return e.$_parent.$_parent.$_parent.$_scope._this.captureDate}function Lt(e,t,r,n,i,a){t.span_title_binder=r,t.span_title_invalidate=n;var o=t.span_title_value;(a||o!==i)&&(t.span_title_value=i,t.span_title_state=e.attr._title(t.span,"title",i,t.span_title_state))}function Mt(e){return e.$_parent.$_parent.$_parent.$_scope._this.fileName}function Bt(e,t,r,n,i,a){t.span_class_binder=r,t.span_class_invalidate=n;var o=t.span_class_value;(a||o!==i)&&(t.span_class_value=i,t.span_class_state=e.attr._class(t.span,"class",i,t.span_class_state),t.span1_class_state=e.attr._class(t.span1,"class",i,t.span1_class_state),t.span2_class_state=e.attr._class(t.span2,"class",i,t.span2_class_state))}function Ft(e){return e.$_parent.$_parent.$_parent.$_scope._this.overlayTextClasses}function Ht(e,t,r,n,i,a){t.span_binder2=r,t.span_invalidate2=n;var o=t.span_value5;(a||o!==i)&&(t.span_value5=i,t.span_content2=e.renderContent(t.span_content2,i))}function Ut(e){return e.$_parent.$_parent.$_parent.$_scope._this.dimensions}function qt(e,t,r,n,i,a){t.span_binder1=r,t.span_invalidate1=n;var o=t.span_value3;(a||o!==i)&&(t.span_value3=i,t.span_content1=e.renderContent(t.span_content1,i))}function Vt(e){return e.$_parent.$_parent.$_parent.$_scope._this.captureDate}function Wt(e,t,r,n,i,a){t.span_binder=r,t.span_invalidate=n;var o=t.span_value1;(a||o!==i)&&(t.span_value1=i,t.span_content=e.renderContent(t.span_content,i))}function Jt(e){return e.$_parent.$_parent.$_parent.$_scope._this.fileName}var Gt=(0,T.z)((function(e){return e.makeNode("span")})),Kt=(0,T.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","detailed-overlay"),t})),Yt={make:function(e,t){return(Yt=C.Z.makeDynamic({attributes:[{name:"item",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.virtualItem},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.virtualItem=e)}},{name:"thumbData",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this._thumbData},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this._thumbData=e)}}]})).make(e,t)}},Xt=(0,T.z)((function(e){return e.makeNode("g")})),Qt=30,er=!1,tr=(n=(0,Y.Z)(50),i=(0,Y.Z)(1500),a=function(e){(0,B.Z)(r,e);var t=(0,F.Z)(r);function r(){var e;return(0,L.Z)(this,r),(e=t.call(this)).flashingAssets=new oe.Z,e}return(0,M.Z)(r,[{key:"isFlashing",value:function(e){return this.flashingAssets.has(e)}},{key:"flashAsset",value:function(e){this.flashingAssets.add(e),this.stopFlashing(e),this.trigger(e)}},{key:"stopFlashing",value:function(e){this.flashingAssets.delete(e),this.trigger(e)}}]),r}(se.Z),(0,H.Z)(a.prototype,"flashAsset",[n],Object.getOwnPropertyDescriptor(a.prototype,"flashAsset"),a.prototype),(0,H.Z)(a.prototype,"stopFlashing",[i],Object.getOwnPropertyDescriptor(a.prototype,"stopFlashing"),a.prototype),a),rr=(0,U.Z)({type:"photo",events:["click","select-toggle","journal-split-left","journal-split-right"]})((s=function(e){(0,B.Z)(r,e);var t=(0,F.Z)(r);function r(){var e;return(0,L.Z)(this,r),e=t.call(this),(0,R.Z)(e,"controlsRenderers",l,(0,j.Z)(e)),(0,R.Z)(e,"photoViewClassName",c,(0,j.Z)(e)),(0,R.Z)(e,"zIndex",u,(0,j.Z)(e)),(0,R.Z)(e,"asset",p,(0,j.Z)(e)),(0,R.Z)(e,"position",d,(0,j.Z)(e)),(0,R.Z)(e,"options",m,(0,j.Z)(e)),(0,R.Z)(e,"inView",h,(0,j.Z)(e)),(0,R.Z)(e,"debugInViewStartTime",v,(0,j.Z)(e)),(0,R.Z)(e,"left",g,(0,j.Z)(e)),(0,R.Z)(e,"top",f,(0,j.Z)(e)),(0,R.Z)(e,"width",b,(0,j.Z)(e)),(0,R.Z)(e,"height",y,(0,j.Z)(e)),e.layoutAttributes((function(){return e.aspectRatio})),e}return(0,M.Z)(r,[{key:"firstAsset",get:function(){var e;return null===(e=this.position)||void 0===e?void 0:e.includes("first-asset")}},{key:"id",get:function(){return this.asset?this.asset.id:void 0}},{key:"isFlashing",get:function(){return ie.Z.recordEvent(this,"isFlashing"),r.flashingAssets.isFlashing(this.id)}},{key:"attached",value:function(){var e=this;(0,N.Z)((0,D.Z)(r.prototype),"attached",this).call(this),this.listenTo(r.flashingAssets,this.id,(function(){ie.Z.recordChange(e,"isFlashing")}))}},{key:"detached",value:function(){this.stopListening(r.flashingAssets,this.id),(0,N.Z)((0,D.Z)(r.prototype),"detached",this).call(this)}},{key:"flash",value:function(){var e=this.id;r.flashingAssets.flashAsset(e)}},{key:"resolveBookmark",value:function(e){if(e.dataItem.id&&e.dataItem.id===this.asset.id)return e.item=this,!0}},{key:"aspectRatio",get:function(){return this.asset?this.asset.getAspectRatio():1}}],[{key:"flashingAssets",get:function(){return this._flashingAssets||(this._flashingAssets=new tr),this._flashingAssets}}]),r}(re.Z),l=(0,H.Z)(s.prototype,"controlsRenderers",[K.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,H.Z)(s.prototype,"photoViewClassName",[K.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,H.Z)(s.prototype,"zIndex",[K.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,H.Z)(s.prototype,"asset",[K.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,H.Z)(s.prototype,"position",[K.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,H.Z)(s.prototype,"options",[K.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,H.Z)(s.prototype,"inView",[G.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),v=(0,H.Z)(s.prototype,"debugInViewStartTime",[G.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),g=(0,H.Z)(s.prototype,"left",[K.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),f=(0,H.Z)(s.prototype,"top",[K.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),b=(0,H.Z)(s.prototype,"width",[K.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),y=(0,H.Z)(s.prototype,"height",[K.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),o=s))||o,nr=(_=(0,J.Z)(15e3),w=function(e){(0,B.Z)(n,e);var t=(0,F.Z)(n);function n(){var e;(0,L.Z)(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,R.Z)(e,"hovering",k,(0,j.Z)(e)),(0,R.Z)(e,"tipElement",Z,(0,j.Z)(e)),(0,R.Z)(e,"_thumbHref",x,(0,j.Z)(e)),(0,R.Z)(e,"_thumbData",S,(0,j.Z)(e)),e._loadingInfo=null,e}return(0,M.Z)(n,[{key:"flashAnimation",get:function(){return!!this.virtualItem&&this.virtualItem.isFlashing}},{key:"attached",value:function(){(0,N.Z)((0,D.Z)(n.prototype),"attached",this).call(this),this.scope.signals&&this.listenTo(this.scope.signals,"reorder-drop",this.handleAssetsReordered),this.listenTo(this.scope.activeVirtualScroll,"scroll",this.updateThumb),this.updateThumb(),this._watch()}},{key:"detached",value:function(){be.Z.ownedLibraryView&&this._unregisterTipTargets(),(0,N.Z)((0,D.Z)(n.prototype),"detached",this).call(this),this._unwatch()}},{key:"_watch",value:function(){var e=this;this.links=[this.watch((function(){return e.virtualItem}),(function(t){e.updateThumb(),be.Z.ownedLibraryView&&(e._unregisterTipTargets(),e._registerTipTargets())})),this.watch((function(t){return e.isSaving}),(function(t){t?(e.cancelThumbLoad(),e._thumbHref=null):e.updateThumb()}),!0,ae.Z,ae.Z.priority)]}},{key:"_unwatch",value:function(){var e,t=(0,I.Z)(this.links);try{for(t.s();!(e=t.n()).done;){var r=e.value;this.disposeLink(r)}}catch(e){t.e(e)}finally{t.f()}}},{key:"_registerTipTargets",value:function(){var e,t;if(null!==(e=this.scope.controller)&&void 0!==e&&e.registerCellTipTargets&&this.scope.controller.registerCellTipTargets(this.element,this.positionClass),null!==(t=this.scope.controller)&&void 0!==t&&t.registerDisplayTipTargets){var r,n,i,a=(null===(r=this.virtualItem)||void 0===r||null===(n=r.previousSibling)||void 0===n||null===(i=n.position)||void 0===i?void 0:i.indexOf("first-asset"))>=0?this.addSectionLeftElement:void 0;this.scope.controller.registerDisplayTipTargets(this.element,a,this.positionClass)}}},{key:"_unregisterTipTargets",value:function(){var e,t;null!==(e=this.scope.controller)&&void 0!==e&&e.unregisterCellTipTargets&&this.scope.controller.unregisterCellTipTargets(this.element),null!==(t=this.scope.controller)&&void 0!==t&&t.unregisterDisplayTipTargets&&this.scope.controller.unregisterDisplayTipTargets(this.element,this.addSectionLeftElement)}},{key:"updateThumb",value:function(){var e,t=null===(e=this.scope.activeVirtualScroll)||void 0===e?void 0:e.scroll;this._thumbHref=null;var r=this.virtualItem;null!=r&&null!=r.asset&&null!=t?(r.bottom<t.displayScrollTop||t.displayScrollTop+t.innerHeight<r.top?r.inView=!1:(le.Z.is_enabled("debug")&&(null!=r.debugInViewStartTime&&r.inView||this.scope.delegate.debugPauseThumbLoading||(r.debugInViewStartTime=new Date)),r.inView=!0),this.loadThumb()):this.cancelThumbLoad()}},{key:"cancelThumbLoad",value:function(){this._loadingInfo&&be.Z.imageCache.stop(this._loadingInfo),this._loadingInfo=null}},{key:"loadThumb",value:function(){var e=this,t=this.virtualItem,r=t.asset,n=t.width,i=t.height,a=ye.Z.IMMEDIATE_PRIORITY;if(!t.inView){var o=this.scope.activeVirtualScroll;a=t.bottom<o.displayScrollTop?-1*(o.displayScrollTop-t.top):o.contentHeight-t.top,-1===o.directionTop&&(a*=-1)}var s=this.scope.delegate.debugPauseThumbLoading;if(r.shouldPollForDefaultRenditions())r.pollForDefaultRenditions((function(){return r.id===e.id})).then((function(){r.id===e.id&&e.loadThumb()}));else{if(this._loadingInfo)if(this._loadingInfo.asset===r){if(a===this._loadingInfoPriority)return;if(a===ye.Z.IMMEDIATE_PRIORITY)return be.Z.imageCache.get(a,r,n,i,s),void be.Z.imageCache.stop(this._loadingInfo);this.cancelThumbLoad()}else this.cancelThumbLoad();var l=be.Z.imageCache.get(a,r,n,i,s);le.Z.is_enabled("debug")&&this._thumbData!==l&&(this._thumbData=l),null!=l&&(l.isLoaded?(this._triggerFirstLoadMetric(),this._thumbHref=l.loadedHref):(this._loadingInfo=l,this._loadingInfoPriority=a,l.loadedP.done((function(){e._loadingInfo===l&&l.asset.id===e.id&&(e._thumbHref=l.loadedHref,e._triggerFirstLoadMetric(),e._loadingInfo=null)}))))}}},{key:"_triggerFirstLoadMetric",value:function(){er||(er=!0,be.Z.firstAppState&&ve.Z.report("firstThumbLoad"))}},{key:"mouseEnterAsset",value:function(){this.hovering=!0,this.asset&&this.scope.delegate.mouseDidEnterCell&&(this.scope.delegate.mouseDidEnterCell(this.asset),this.asset.isVideo()&&(this.playTimeout=setTimeout(this.playPreviewVideo,300)))}},{key:"mouseLeaveAsset",value:function(){this.hovering=!1,this.asset&&this.scope.delegate.mouseDidLeaveCell&&(this.scope.delegate.mouseDidLeaveCell(this.asset),this.asset.isVideo()&&(this.playTimeout&&clearTimeout(this.playTimeout),this.stopPreviewVideo()))}},{key:"playPreviewVideo",value:function(){var e;null===(e=this.renderer)||void 0===e||e.play()}},{key:"stopPreviewVideo",value:function(){this.renderer.stop()}},{key:"interactionState",get:function(){return this.scope.interactionState}},{key:"photoUrl",get:function(){return this._thumbHref?"url(".concat(this._thumbHref,")"):null}},{key:"hasPhotoUrl",get:function(){if(this.asset){var e=this.virtualItem.width,t=this.virtualItem.height;if(this.virtualItem.asset.getBestRenditionHrefForSize(e,t))return!0}return!1}},{key:"id",get:function(){return this.virtualItem?this.virtualItem.id:null}},{key:"fileName",get:function(){return this.asset?this.asset.getFileName():""}},{key:"dimensions",get:function(){return this.asset&&this.asset.hasOriginalDimensions()?this.asset.getOriginalDimensionsString():""}},{key:"captureDate",get:function(){return this.asset?this.asset.getFormattedCaptureDate():""}},{key:"selected",get:function(){return!!(this.virtualItem&&this.virtualItem.asset&&this.scope.selectionController)&&this.scope.selectionController.isSelected(this.virtualItem.asset.id)}},{key:"asset",get:function(){return this.virtualItem?this.virtualItem.asset:null}},{key:"positionClass",get:function(){return this.virtualItem?this.virtualItem.position:""}},{key:"addSectionTooltip",get:function(){return(0,ge.zt)("$$$/js/journal/header/add_section=Add section divider")}},{key:"showImporter",get:function(){return this.hasImporter&&!this.showOverlayState}},{key:"shouldRenderSocialBadges",value:function(){return!0}},{key:"rejectClass",get:function(){return""}},{key:"hasImporter",get:function(){var e,t;if(!this.asset)return!1;if(!this.asset.importedByOwner())return!0;var r=null===(e=this.scope.controller)||void 0===e?void 0:e.tab;return!(be.Z.ownedLibraryView&&"display"!==r||null===(t=this.scope.assetSource)||void 0===t||!t.haveNonOwnerAssets)}},{key:"zIndex",get:function(){return this.virtualItem&&this.virtualItem.zIndex?this.virtualItem.zIndex:"auto"}},{key:"svgWrapStyles",value:function(e){var t=Math.floor(this.margin/2);return"left"===e?{"style-left":"-".concat(t+10,"px")}:{"style-right":"-".concat(t+10,"px")}}},{key:"handleAssetsReordered",value:function(e){var t=this;e.some((function(e){return e===t.asset}))&&this.flash()}},{key:"flash",value:function(){this.virtualItem&&this.virtualItem.flash()}},{key:"additionalElementClasses",get:function(){var e=[];return le.Z.is_enabled("ml_keyword_game")&&be.Z.ownedLibraryView&&this.asset&&(this.asset.getKeywordsArray().length>=10?e.push("has-ten-tags"):this.asset.getKeywordsArray().length>=5&&e.push("has-five-tags")),this.hovering&&e.push("hovering"),e}},{key:"showOverlayState",get:function(){return null!=this.scope.overlayState&&""!==this.scope.overlayState.state&&!this.scope.overlayState.hidden}},{key:"photoRenderer",get:function(){return _e.Z}},{key:"photoRendererClasses",get:function(){return[]}},{key:"controlsRenderers",get:function(){return this.virtualItem&&this.virtualItem.controlsRenderers?this.virtualItem.controlsRenderers:null}},{key:"photoViewClassName",get:function(){return this.virtualItem?this.virtualItem.photoViewClassName:""}},{key:"isSaving",get:function(){var e=this.asset;return null==e?void 0:e.isUpdating}},{key:"debugOverlaysView",get:function(){return new O.Z((function(e,t){return r.e(4947).then(r.bind(r,342754)).then(e,t)}))}},{key:"overlayTextClasses",get:function(){var e=["overlay-text"];return null!=this.virtualItem&&this.virtualItem.width<100&&e.push("small"),e}},{key:"renderOverlayState",value:function(){return{template:$t,_this:this}}},{key:"dragModel",get:function(){var e,t,r=null===(e=this.scope)||void 0===e?void 0:e.selectionController,n=null===(t=this.virtualItem)||void 0===t?void 0:t.asset;if(null!=n){var i=null!=r&&r.isSelected(n.id)?r.selectedAssets:[n];return{assets:i,item:this.virtualItem,count:i.length}}}},{key:"canDrag",get:function(){return this.scope.allowDrag}},{key:"dragInProgress",get:function(){var e;return!0===(null===(e=this.scope.dragAndDrop)||void 0===e?void 0:e.dragging)}},{key:"showSelectOnHover",get:function(){return this.scope.allowEditing&&!this.dragInProgress&&!pe.Z.mobile}},{key:"showLeftSplitIndicator",get:function(){var e;return null!=(null===(e=this.virtualItem)||void 0===e?void 0:e.previousSibling)&&!this.dragInProgress}},{key:"showRightSplitIndicator",get:function(){var e,t=null===(e=this.virtualItem)||void 0===e?void 0:e.nextSibling;return null!=t&&this.virtualItem.top!==t.top&&!this.dragInProgress}},{key:"showRightDropTarget",get:function(){var e,t=null===(e=this.virtualItem)||void 0===e?void 0:e.nextSibling;return null==t||null==t||this.virtualItem.top!==t.top}},{key:"leftCellGap",get:function(){var e,t=null===(e=this.virtualItem)||void 0===e?void 0:e.previousSibling;return null!=t&&this.virtualItem.top===t.top?this.virtualItem.left-t.right:0}},{key:"leftDropWidth",get:function(){var e,t,r,n=null===(e=this.virtualItem)||void 0===e?void 0:e.previousSibling;return null!=n&&this.virtualItem.top===n.top?this.leftCellGap+2*Math.min(null===(t=this.virtualItem)||void 0===t?void 0:t.width,n.width)/3:10+(null===(r=this.virtualItem)||void 0===r?void 0:r.width)/3}},{key:"leftDropLeftPosition",get:function(){var e=this.leftCellGap;return 0===e?-10:(-e-this.leftDropWidth)/2}},{key:"rightDropWidth",get:function(){var e;return 10+(null===(e=this.virtualItem)||void 0===e?void 0:e.width)/3}},{key:"rightDropRightPosition",get:function(){return-10}},{key:"splitLeftPosition",get:function(){var e=this.leftCellGap;return 0===e?-Qt:(Qt-e)/2-Qt}},{key:"leftDropHoverClass",get:function(){return 0===this.leftCellGap?we.Z.dropHoverLeft:we.Z.dropHoverCenter}},{key:"leftDropModel",get:function(){var e,t;return{type:"reorder-before-asset",model:this.asset,previousModel:null===(e=this.virtualItem)||void 0===e||null===(t=e.previousSibling)||void 0===t?void 0:t.asset,assetSource:this.scope.assetSource}}},{key:"rightDropModel",get:function(){var e,t;return{type:"reorder-after-asset",model:this.asset,nextModel:null===(e=this.virtualItem)||void 0===e||null===(t=e.nextSibling)||void 0===t?void 0:t.asset,assetSource:this.scope.assetSource}}},{key:"showFirstAssetTip",get:function(){var e;return(null===(e=this.virtualItem)||void 0===e?void 0:e.firstAsset)&&this.scope.showFirstAssetTip&&fe.Z.isSupported}},{key:"renderPhotoRenderer",value:function(){return{template:Zt,_this:this}}},{key:"render",value:function(){return{template:ke,_this:this}}}]),n}(ne.Z),k=(0,H.Z)(w.prototype,"hovering",[G.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Z=(0,H.Z)(w.prototype,"tipElement",[G.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),x=(0,H.Z)(w.prototype,"_thumbHref",[G.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),S=(0,H.Z)(w.prototype,"_thumbData",[G.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),(0,H.Z)(w.prototype,"_registerTipTargets",[_],Object.getOwnPropertyDescriptor(w.prototype,"_registerTipTargets"),w.prototype),(0,H.Z)(w.prototype,"updateThumb",[W.Z],Object.getOwnPropertyDescriptor(w.prototype,"updateThumb"),w.prototype),(0,H.Z)(w.prototype,"playPreviewVideo",[V.Z],Object.getOwnPropertyDescriptor(w.prototype,"playPreviewVideo"),w.prototype),(0,H.Z)(w.prototype,"handleAssetsReordered",[V.Z],Object.getOwnPropertyDescriptor(w.prototype,"handleAssetsReordered"),w.prototype),(0,H.Z)(w.prototype,"debugOverlaysView",[q.Z],Object.getOwnPropertyDescriptor(w.prototype,"debugOverlaysView"),w.prototype),w)},74462:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n={app:!0,shareType:null};window.siteCheck=function(){console.log("Entry.app",n.app),console.log("Entry.embed",n.embed),console.log("Entry.site",n.site),console.log("Entry.sdk",n.sdk),console.log("Entry.shareType",n.shareType)};const i=n},548997:(e,t,r)=>{"use strict";r.d(t,{Z:()=>ye});var n=r(685271),i=r(504397),a=(r(304834),r(519055)),o=r(725115),s=r(282466),l=r(89211),c=r(143681),u=r(236229),p=r(668962),d=r(749886),m=r(673136),h=r(588816),v=r(878537),g=r(54262),f=r(600531),b=r(548967),y=r(704083),_=(r(35812),r(785226),r(913688),r(537188)),w=r.n(_),k=r(165764),Z=r.n(k),x=r(774154),S=r.n(x),$=r(811949),A=r.n($),C=r(934809),T=r.n(C),P=r(12509),z=r.n(P),E=r(200355),O={};O.styleTagTransform=z(),O.setAttributes=A(),O.insert=S().bind(null,"head"),O.domAPI=Z(),O.insertStyleElement=T(),w()(E.Z,O);const I=E.Z&&E.Z.locals?E.Z.locals:void 0;var R,j,N,D,L,M,B,F,H,U,q=r(126752);e=r.hmd(e);var V={make:function(e){return V=n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(be);fe(t,r),e.enterNode(r),e.runBinder(ve,he,t,!0),e.runBinder(me,de,t,!0),e.runBinder(pe,ue,t,!0),e.runBinder(ce,le,t,!0),e.runBinder(se,oe,t,!0);var n=t._if=G.make(e);n.$_parent=t,n.template.run(e,n),e.runBinder(J,W,t,!0),e.exitNode(r)},dispose:function(e,t){t.div_interaction_value=void 0,t.div._jsx_data=null,t.div_spread_spread_state=e.updateSpreadAttribute(t.div,null,t,t.div_spread_spread_state),t.div_spread_value=void 0,e.removeSignals(t.div_class_binder,t.div_class_invalidate),e.removeSignals(t.div_class_binder1,t.div_class_invalidate1),e.removeSignals(t.div_class_binder2,t.div_class_invalidate2),e.removeSignals(t.div_interaction_binder,t.div_interaction_invalidate),e.removeSignals(t.div_spread_binder,t.div_spread_invalidate),t._if.template.dispose(e,t._if),e.removeSignals(t.div_binder,t.div_invalidate),t.div_content=e.disposeContent(t.div_content),t.div_value1=void 0,fe(t,null)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){fe(t,t.div),e.runBinder(ve,he,t,!1),e.runBinder(me,de,t,!1),e.runBinder(pe,ue,t,!1),e.runBinder(ce,le,t,!1),e.runBinder(se,oe,t,!1),t._if.template.reuse(e,t._if),e.runBinder(J,W,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")),e.attr._interaction||(e.attr._interaction=e.ensureAttr("interaction"))}}),V.make(e)}};function W(e,t,r,n,i,a){t.div_binder=r,t.div_invalidate=n;var o=t.div_value1;(a||o!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function J(e){return e.$_scope._this.children}var G={make:function(e){return G=e.makeComponent(a.Z,{props:{getCondition:function(e){return e.$_parent.$_scope._this.reorder}},blocks:[{name:"children",template:n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(be);ae(t,r);var n=t.div1=e.pushTemplateNode(be);ie(t,n),e.runBinder(ne,re,t,!0),e.runBinder(te,ee,t,!0),e.runBinder(Q,X,t,!0),e.runBinder(Y,K,t,!0)},dispose:function(e,t){t.div_spread_spread_state=e.updateSpreadAttribute(t.div,null,t,t.div_spread_spread_state),t.div_spread_value=void 0,t.div1_spread_spread_state=e.updateSpreadAttribute(t.div1,null,t,t.div1_spread_spread_state),t.div1_spread_value=void 0,e.removeSignals(t.div_class_binder,t.div_class_invalidate),e.removeSignals(t.div_spread_binder,t.div_spread_invalidate),e.removeSignals(t.div1_class_binder,t.div1_class_invalidate),e.removeSignals(t.div1_spread_binder,t.div1_spread_invalidate),ae(t,null),ie(t,null)},move:function(e,t){e.pushNode(t.div),e.pushNode(t.div1)},reuse:function(e,t){ae(t,t.div),ie(t,t.div1),e.runBinder(ne,re,t,!1),e.runBinder(te,ee,t,!1),e.runBinder(Q,X,t,!1),e.runBinder(Y,K,t,!1)},firstChild:function(e,t){return t.div},lastChild:function(e,t){return t.div1},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})}]}),G.make(e)}};function K(e,t,r,n,i,a){t.div1_spread_binder=r,t.div1_spread_invalidate=n;var o=t.div1_spread_value;(a||o!==i)&&(t.div1_spread_value=i,t.div1_spread_spread_state=e.updateSpreadAttribute(t.div1,i,t,t.div1_spread_spread_state))}function Y(e){return e.$_parent.$_parent.$_scope._this.dataAttributes}function X(e,t,r,n,i,a){t.div1_class_binder=r,t.div1_class_invalidate=n;var o=t.div1_class_value;(a||o!==i)&&(t.div1_class_value=i,t.div1_class_state=e.attr._class(t.div1,"class",i,t.div1_class_state))}function Q(e){return I.end}function ee(e,t,r,n,i,a){t.div_spread_binder=r,t.div_spread_invalidate=n;var o=t.div_spread_value;(a||o!==i)&&(t.div_spread_value=i,t.div_spread_spread_state=e.updateSpreadAttribute(t.div,i,t,t.div_spread_spread_state))}function te(e){return e.$_parent.$_parent.$_scope._this.dataAttributes}function re(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function ne(e){return I.start}function ie(e,t){e.$_parent.$_parent.$_scope._this.endElement=t}function ae(e,t){e.$_parent.$_parent.$_scope._this.startElement=t}function oe(e,t,r,n,i,a){t.div_spread_binder=r,t.div_spread_invalidate=n;var o=t.div_spread_value;(a||o!==i)&&(t.div_spread_value=i,t.div_spread_spread_state=e.updateSpreadAttribute(t.div,i,t,t.div_spread_spread_state))}function se(e){return e.$_scope._this.undeclaredAttributes()}function le(e,t,r,n,i,a,o){t.div_interaction_binder=r,t.div_interaction_invalidate=n;var s=t.div_interaction_value;(a||s!==i)&&(t.div_interaction_value=i,t.div_interaction_state=e.attr._interaction(t.div,"interaction",i,t.div_interaction_state,ge,e,o))}function ce(e){return e.$_scope._this.interaction}function ue(e,t,r,n,i,a){t.div_class_binder2=r,t.div_class_invalidate2=n;var o=t.div_class_value2;(a||o!==i)&&(t.div_class_value2=i,t.div_class_state2=e.attr._class(t.div,"class",i,t.div_class_state2))}function pe(e){return(0,o.Z)({},I.dragging,e.$_scope._this.dragging)}function de(e,t,r,n,i,a){t.div_class_binder1=r,t.div_class_invalidate1=n;var o=t.div_class_value1;(a||o!==i)&&(t.div_class_value1=i,t.div_class_state1=e.attr._class(t.div,"class",i,t.div_class_state1))}function me(e){return I[e.$_scope._this.reorder]}function he(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function ve(e){return I.root}function ge(e){var t=this._jsx_data;t&&t.div_interaction_state.onEvent(t,t.div,e,t.div_interaction_value)}function fe(e,t){e.$_scope._this.element=t}var be=(0,i.z)((function(e){return e.makeNode("div")})),ye=(0,h.Z)((0,g.Z)("DragSource"),e,"DragSource")((j=function(e){(0,p.Z)(r,e);var t=(0,d.Z)(r);function r(){var e;(0,l.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,s.Z)(e,"model",N,(0,u.Z)(e)),(0,s.Z)(e,"type",D,(0,u.Z)(e)),(0,s.Z)(e,"reorder",L,(0,u.Z)(e)),(0,s.Z)(e,"reorderHover",M,(0,u.Z)(e)),(0,s.Z)(e,"dragDisabled",B,(0,u.Z)(e)),(0,s.Z)(e,"dragging",F,(0,u.Z)(e)),(0,s.Z)(e,"dragClass",H,(0,u.Z)(e)),(0,s.Z)(e,"element",U,(0,u.Z)(e)),e}return(0,c.Z)(r,[{key:"dataAttributes",get:function(){return this.type&&!this.dragDisabled?(0,o.Z)({},"data-drop-".concat(this.type),!0):{}}},{key:"handleDragModel",value:function(e,t){t.detail.dropReorder=e,t.detail.dropModel=this.model}},{key:"handleDragEnter",value:function(e){this.reorderHover=e}},{key:"handleDragExit",value:function(e){this.reorderHover=void 0}},{key:"attached",value:function(){this.addReorderHandlers()}},{key:"interaction",get:function(){var e=this;if(!this.dragDisabled)return{name:"drag-and-drop",model:{type:this.type,model:this.model,element:this.element,dragClass:this.dragClass,dragCallback:function(t){return e.dragging=t},children:this.children}}}},{key:"addReorderHandlers",value:function(){var e=this;this.startElement&&(this.link((0,q.Oo)(this.startElement,"drag-over-model",(function(t){return e.handleDragModel("before",t)}))),this.link((0,q.Oo)(this.startElement,"drag-over-enter",(function(t){return e.handleDragEnter("before",t)}))),this.link((0,q.Oo)(this.startElement,"drag-over-exit",(function(t){return e.handleDragExit("before",t)})))),this.endElement&&(this.link((0,q.Oo)(this.endElement,"drag-over-model",(function(t){return e.handleDragModel("after",t)}))),this.link((0,q.Oo)(this.endElement,"drag-over-enter",(function(t){return e.handleDragEnter("after",t)}))),this.link((0,q.Oo)(this.endElement,"drag-over-exit",(function(t){return e.handleDragExit("after",t)}))))}},{key:"render",value:function(){return{template:V,_this:this}}}]),r}(v.Z),N=(0,m.Z)(j.prototype,"model",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,m.Z)(j.prototype,"type",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,m.Z)(j.prototype,"reorder",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,m.Z)(j.prototype,"reorderHover",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=(0,m.Z)(j.prototype,"dragDisabled",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),F=(0,m.Z)(j.prototype,"dragging",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),H=(0,m.Z)(j.prototype,"dragClass",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,m.Z)(j.prototype,"element",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,m.Z)(j.prototype,"addReorderHandlers",[f.Z],Object.getOwnPropertyDescriptor(j.prototype,"addReorderHandlers"),j.prototype),R=j))||R},139144:(e,t,r)=>{"use strict";r.d(t,{Z:()=>re});var n=r(725115),i=r(685271),a=r(504397),o=r(846031),s=r(282466),l=r(89211),c=r(143681),u=r(236229),p=r(668962),d=r(749886),m=r(673136),h=r(588816),v=r(878537),g=r(54262),f=r(412333),b=r(548967),y=r(704083),_=(r(35812),r(290671),r(816221),r(17938),r(785226),r(913688),r(126752)),w=r(537188),k=r.n(w),Z=r(165764),x=r.n(Z),S=r(774154),$=r.n(S),A=r(811949),C=r.n(A),T=r(934809),P=r.n(T),z=r(12509),E=r.n(z),O=r(242566),I={};I.styleTagTransform=E(),I.setAttributes=C(),I.insert=$().bind(null,"head"),I.domAPI=x(),I.insertStyleElement=P(),k()(O.Z,I);const R=O.Z&&O.Z.locals?O.Z.locals:void 0;var j,N,D,L,M,B,F,H,U;e=r.hmd(e);var q={make:function(e){return q=i.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(te);ee(t,r),e.enterNode(r),e.runBinder(Q,X,t,!0),e.exitNode(r),e.runBinder(Y,K,t,!0),e.runBinder(G,J,t,!0),e.runBinder(W,V,t,!0)},dispose:function(e,t){t.div_spread_spread_state=e.updateSpreadAttribute(t.div,null,t,t.div_spread_spread_state),t.div_spread_value=void 0,t.div_spread_spread_state1=e.updateSpreadAttribute(t.div,null,t,t.div_spread_spread_state1),t.div_spread_value1=void 0,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),e.removeSignals(t.div_spread_binder,t.div_spread_invalidate),e.removeSignals(t.div_spread_binder1,t.div_spread_invalidate1),ee(t,null)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){ee(t,t.div),e.runBinder(Q,X,t,!1),e.runBinder(Y,K,t,!1),e.runBinder(G,J,t,!1),e.runBinder(W,V,t,!1)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}}),q.make(e)}};function V(e,t,r,n,i,a){t.div_spread_binder1=r,t.div_spread_invalidate1=n;var o=t.div_spread_value1;(a||o!==i)&&(t.div_spread_value1=i,t.div_spread_spread_state1=e.updateSpreadAttribute(t.div,i,t,t.div_spread_spread_state1))}function W(e){return e.$_scope._this.undeclaredAttributes()}function J(e,t,r,n,i,a){t.div_spread_binder=r,t.div_spread_invalidate=n;var o=t.div_spread_value;(a||o!==i)&&(t.div_spread_value=i,t.div_spread_spread_state=e.updateSpreadAttribute(t.div,i,t,t.div_spread_spread_state))}function G(e){return e.$_scope._this.dataAttributes}function K(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function Y(e){var t;return(0,n.Z)({},null!==(t=e.$_scope._this.hoverClass)&&void 0!==t?t:R.hover,e.$_scope._this.hover)}function X(e,t,r,n,i,a){t.div_binder=r,t.div_invalidate=n;var o=t.div_value1;(a||o!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function Q(e){return e.$_scope._this.children}function ee(e,t){e.$_scope._this.element=t}var te=(0,a.z)((function(e){return e.makeNode("div")})),re=(0,h.Z)((0,g.Z)("DropTarget",{events:["drag-enter","drag-exit","drag-long-hover","drag-did-drop"]}),e,"DropTarget")((N=function(e){(0,p.Z)(r,e);var t=(0,d.Z)(r);function r(){var e;(0,l.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,s.Z)(e,"subdued",D,(0,u.Z)(e)),(0,s.Z)(e,"model",L,(0,u.Z)(e)),(0,s.Z)(e,"types",M,(0,u.Z)(e)),(0,s.Z)(e,"dropDisabled",B,(0,u.Z)(e)),(0,s.Z)(e,"hoverClass",F,(0,u.Z)(e)),(0,s.Z)(e,"hover",H,(0,u.Z)(e)),(0,s.Z)(e,"longHover",U,(0,u.Z)(e)),e}return(0,c.Z)(r,[{key:"dataAttributes",get:function(){if(this.dropDisabled)return{};var e={},t=this.types||[];"string"==typeof t&&(t=[t]);var r,n=(0,o.Z)(t);try{for(n.s();!(r=n.n()).done;){var i=r.value;e["data-drop-".concat(i)]=!0}}catch(e){n.e(e)}finally{n.f()}return e}},{key:"handleDragOverModel",value:function(e){this.dropDisabled||(e.detail.dropModel=this.model)}},{key:"handleDragOverEnter",value:function(e){var t,r=this;this.dropDisabled||(this.trigger("drag-enter",e),null!==(t=e.detail)&&void 0!==t&&t.canDrop&&(this.hover=!0,this.hoverTimeout=setTimeout((function(){r.longHover=!0,r.trigger("drag-long-hover",e)}),1e3)))}},{key:"handleDragOverExit",value:function(e){this.dropDisabled||(this.hover=!1,this.longHover=!1,clearTimeout(this.hoverTimeout),this.trigger("drag-exit",e))}},{key:"handleDragOverDrop",value:function(e){this.dropDisabled||this.trigger("drag-did-drop",e)}},{key:"attached",value:function(){this.link((0,_.Oo)(this.element,"drag-over-model",this.handleDragOverModel)),this.link((0,_.Oo)(this.element,"drag-over-enter",this.handleDragOverEnter)),this.link((0,_.Oo)(this.element,"drag-over-exit",this.handleDragOverExit)),this.link((0,_.Oo)(this.element,"drag-over-drop",this.handleDragOverDrop))}},{key:"render",value:function(){return{template:q,_this:this}}}]),r}(v.Z),D=(0,m.Z)(N.prototype,"subdued",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),L=(0,m.Z)(N.prototype,"model",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,m.Z)(N.prototype,"types",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=(0,m.Z)(N.prototype,"dropDisabled",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),F=(0,m.Z)(N.prototype,"hoverClass",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=(0,m.Z)(N.prototype,"hover",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),U=(0,m.Z)(N.prototype,"longHover",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,m.Z)(N.prototype,"handleDragOverModel",[f.Z],Object.getOwnPropertyDescriptor(N.prototype,"handleDragOverModel"),N.prototype),(0,m.Z)(N.prototype,"handleDragOverEnter",[f.Z],Object.getOwnPropertyDescriptor(N.prototype,"handleDragOverEnter"),N.prototype),(0,m.Z)(N.prototype,"handleDragOverExit",[f.Z],Object.getOwnPropertyDescriptor(N.prototype,"handleDragOverExit"),N.prototype),(0,m.Z)(N.prototype,"handleDragOverDrop",[f.Z],Object.getOwnPropertyDescriptor(N.prototype,"handleDragOverDrop"),N.prototype),j=N))||j},118240:(e,t,r)=>{"use strict";var n=r(488925),i=r(85663),a=r(934331),o=r(89211),s=r(143681),l=r(236229),c=r(736781),u=r(993184),p=r(668962),d=r(749886),m=(r(911022),r(85053),r(816221),r(261148),r(573467),r(343055),r(595249),r(185466),r(370843),r(961626),r(897995),r(518926),r(725676),r(81738),r(479959),r(879587),r(353478),r(643300),r(363242),r(911895),r(301207),r(792647),r(879104),r(497814),r(78019),r(474646),r(28227),r(420879),r(680851),r(725637),r(686862),r(169513),r(993224),r(604542),r(292381),r(290671),r(17938),r(693508),r(817148),r(61018)),h=r(988042),v=(r(41332),r(363111)),g=r(855977),f=function(e){(0,p.Z)(r,e);var t=(0,d.Z)(r);function r(){return(0,o.Z)(this,r),t.apply(this,arguments)}return(0,s.Z)(r,null,[{key:"createProperty",value:function(e,t){!0===t.attribute&&t.type===Boolean&&(t.converter=function(e){var t,r;"function"==typeof e&&(e={fromAttribute:e});var n="function"==typeof(null===(t=e)||void 0===t?void 0:t.fromAttribute)?e.fromAttribute:g.Ts.fromAttribute;return{fromAttribute:function(e,t){return"false"!==e&&n(e,t)},toAttribute:"function"==typeof(null===(r=e)||void 0===r?void 0:r.toAttribute)?e.toAttribute:g.Ts.toAttribute}}(t.converter)),(0,c.Z)((0,u.Z)(r),"createProperty",this).call(this,e,t)}}]),r}(m.oi),b=r(725115),y=r(760567),_=r(278387);r(255187),r(203454),r(35812),r(819785),r(508460),r(824098),r(563101),r(964552),r(145303),r(849464),r(263517),r(331647);const w=m.iv`.controls {
	flex-grow: 0;
	align-items: center;

	left: 0;
	right: 0;
	bottom: 0;

	display: flex;

	height: 48px;

	background-color: var(--spectrum-global-color-gray-100);
	color: var(--spectrum-global-color-gray-600);

	transition: opacity 200ms;
	margin-right: 2px;
	margin-top: 2px;
}

.column {
	min-width: 36px;
	padding: 0 4px;
	flex-grow: 0
}

.column.time {
		margin-top: -1px;
	}

.progress {
	flex-grow: 1;
	height: 28px;
	margin: 0 24px;
	cursor: pointer;
	display: flex;
	position: relative;
}

.ghostTimeline {
	position: absolute;
	top: 15%;
	bottom: 15%;
	left: 0;
	right: 0;
	background-color: var(--spectrum-global-color-gray-50);
	border-radius: 4px;
	border: 1px solid var(--spectrum-global-color-gray-300);
}

.dragReadout {
	background-color: var(--spectrum-global-color-gray-200);
	color: var(--spectrum-global-color-gray-600);
	position: absolute;
	top: -42px;
	line-height: 25px;
	padding: 0 8px;
	-webkit-transform: translate(-50%, 0);
	        transform: translate(-50%, 0);
	text-align: center;
	border-radius: 4px;
}

.dragReadout:after {
	content: "";
	width: 6px;
	height: 6px;
	-webkit-transform: rotate(-45deg);
	        transform: rotate(-45deg);
	background-color: var(--spectrum-global-color-gray-200);
	position: absolute;
	z-index: -1;
	bottom: -3px;
	left: calc(50% - 3px);
}

.trim {
	background-color: var(--spectrum-global-color-gray-50);
	border-width: 2px 14px 2px 14px;
	border-style: solid;
	border-color: var(--spectrum-global-color-static-orange-400);
	border-radius: 4px;
	flex-grow: 1;
	position: relative;
	margin: 2px -14px;
}

.trimHandle {
	border-width: 0 1px 0 1px;
	border-style: solid;
	border-color: var(--spectrum-global-color-gray-50);
	width: 2px;
	position: absolute;
	top: 4px;
	bottom: 4px
}

.trimHandle.start {
		left: -9px;
	}

.trimHandle.end {
		right: -9px;
	}

.dragHandle {
	cursor: col-resize;
	position: absolute;
	width: 14px;
	top: 0;
	bottom: 0;
	margin-left: -6px;
}

.indicator {
	position: absolute;
	width: 4px;
	top: -2px;
	bottom: -2px;
	border-radius: 2px;
	background-color: var(--spectrum-global-color-gray-700);
	transition: margin 20ms linear 0ms
}

.button {
	width: 32px;
	height: 32px;
	cursor: pointer;

	display: flex;
	justify-content: center;
	align-items: center
}

.button:hover {
		color: var(--spectrum-global-color-gray-700);
	}

.button:disabled {
		opacity: 0.5;
		pointer-events: none;
	}
`;var k,Z,x,S,$,A,C,T,P=r(253544),z={PROGRESS:"progress",TRIM:{START:"trim_start",END:"trim_end"}},E=function(e){return""===e?null:Number(e)},O=function(e){(0,p.Z)(r,e);var t=(0,d.Z)(r);function r(){var e;return(0,o.Z)(this,r),(e=t.call(this)).disabled=!0,e.muted=!1,e.progressPercent=e.trimStartPercent=e.trimEndPercent=void 0,e.trimControls=!1,e}return(0,s.Z)(r,[{key:"attributeChangedCallback",value:function(e,t,n){var i=this;(0,c.Z)((0,u.Z)(r.prototype),"attributeChangedCallback",this).call(this,e,t,n);var a=[[this.currentTime,"currenttime",function(e){return i.progressPercent=e},0],[this.trimStart,"trimstart",function(e){return i.trimStartPercent=e},0],[this.trimEnd,"trimend",function(e){return i.trimEndPercent=e},1]];["totalduration"].concat((0,_.Z)(a.map((function(e){var t=(0,y.Z)(e,2);return t[0],t[1]})))).includes(e)&&(a.filter((function(e){var t=(0,y.Z)(e,1)[0];return!isNaN(i.totalDuration)&&0!==i.totalDuration&&!isNaN(t)})).filter((function(t){var r=(0,y.Z)(t,2);return r[0],r[1]===e||"totalduration"===e})).forEach((function(e){var t=(0,y.Z)(e,4),r=t[0],n=(t[1],t[2]),a=t[3];null==i.totalDuration?n(void 0):n(null==r?a:r/i.totalDuration)})),this.constrainProgressPercent())}},{key:"formatTimePosition",value:function(e){var t=this.totalDuration*e,r=Math.floor(t/3600),n=new Date(t%3600*1e3),i=n.toLocaleTimeString([],{minute:"2-digit",second:"2-digit"});return"".concat(r?r+":":"").concat(isNaN(n)?"00:00":i)}},{key:"customEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.dispatchEvent(new CustomEvent(e,{bubbles:!0,composed:!0,detail:t}))}},{key:"constrainProgressPercent",value:function(){var e=this.progressPercent,t=this.trimStartPercent,r=this.trimEndPercent;null!=e&&null!=t&&null!=r&&(e=Math.max(t,e),e=Math.max(Math.min(e,r-.004),0),this.progressPercent=e)}},{key:"track",value:function(e,t){var r=t||"button";P.Z.track("Develop","Video",e,r)}},{key:"onTrackPointerDown",value:function(e){this.disabled||0!==e.button||this.dragging?e.preventDefault():(this.dragging=e.currentTarget,this.dragging.setPointerCapture(e.pointerId),null==this.dragType&&(this.dragType=z.PROGRESS),this.onTrackPointerMove(e))}},{key:"onTrackPointerMove",value:function(e){var t,r,n,i=this;if(this.dragging){var a=this.dragging.getBoundingClientRect();this.progressPercent=this.dragPercent=(e.clientX-a.left)/a.width,null===(t=(n={},(0,b.Z)(n,z.TRIM.START,(function(){var e;return i.trimStartPercent=Math.min(Math.max(i.dragPercent,0),null!==(e=i.trimEndPercent)&&void 0!==e?e:1)})),(0,b.Z)(n,z.TRIM.END,(function(){var e;return i.trimEndPercent=Math.max(Math.min(i.dragPercent,1),null!==(e=i.trimStartPercent)&&void 0!==e?e:0)})),r=n)[this.dragType])||void 0===t||t.call(r),this.constrainProgressPercent(),this.customEvent("progress-change",{currentTime:this.progressPercent*this.totalDuration}),this.requestUpdate()}}},{key:"onTrackPointerUp",value:function(e){if(this.onTrackPointerMove(e),this.dragging){if([z.TRIM.START,z.TRIM.END].includes(this.dragType)){var t=this.dragType===z.TRIM.START?"video-trim-in":"video-trim-out";this.track(t,"handle"),this.customEvent("trim-change",{trimStart:null!=this.trimStartPercent?this.trimStartPercent*this.totalDuration:null,trimEnd:null!=this.trimEndPercent?this.trimEndPercent*this.totalDuration:null})}this.dragging.releasePointerCapture(e.pointerId),this.dragging=null,this.dragType=null,this.dragPercent=null}}},{key:"toggleFullscreen",value:function(){this.fullscreen=!this.fullscreen;var e=this.fullscreen?"video-fullscreen-on":"video-fullscreen-off";this.track(e),this.customEvent("fullscreen-change",{fullscreen:this.fullscreen})}},{key:"togglePaused",value:function(){this.paused=!this.paused;var e=this.paused?"video-pause":"video-play";this.track(e),this.customEvent("paused-change",{paused:this.paused})}},{key:"toggleMuted",value:function(){this.muted=!this.muted;var e=this.muted?"video-audio-mute":"video-audio-unmute";this.track(e),this.customEvent("muted-change",{muted:this.muted})}},{key:"progressStyles",get:function(){return{cursor:[z.TRIM.END,z.TRIM.START].includes(this.dragType)?"col-resize":"pointer"}}},{key:"dragReadoutStyles",get:function(){return{display:this.dragPercent&&[z.TRIM.START,z.TRIM.END].includes(this.dragType)?"block":"none","margin-left":"".concat(100*this.dragPercent,"%")}}},{key:"indicatorStyles",get:function(){var e=this.progressPercent;return{display:null!=e?"block":"none","margin-left":"".concat(100*(null!=e?e:0),"%")}}},{key:"trimStyles",get:function(){var e=this.trimStartPercent,t=this.trimEndPercent;return{display:this.trimControls&&null!=e&&null!=t?"flex":"none","margin-left":"calc(".concat(100*(null!=e?e:0),"% - 14px)"),"margin-right":"calc(".concat(100*(1-(null!=t?t:1)),"% - 14px)")}}},{key:"renderButton",value:function(e){var t=e.clickHandler,r=e.children;return(0,m.dy)(k||(k=(0,n.Z)(['<div class="column">\n\t\t\t<div\n\t\t\t\tclass="button"\n\t\t\t\t?disabled=',"\n\t\t\t\t@click=","\n\t\t\t>\n\t\t\t\t","\n\t\t\t</div>\n\t\t</div>"])),this.disabled,t,r)}},{key:"renderPlayButton",value:function(){return this.renderButton({clickHandler:this.togglePaused,children:this.paused?(0,m.dy)(Z||(Z=(0,n.Z)(['<sp-icon-play size="l" data-test-id='," />"])),(0,v.Z)("ze-video-controls-play")):(0,m.dy)(x||(x=(0,n.Z)(['<sp-icon-pause size="l" data-test-id='," />"])),(0,v.Z)("ze-video-controls-pause"))})}},{key:"renderFullscreenButton",value:function(){return this.renderButton({clickHandler:this.toggleFullscreen,children:this.fullscreen?(0,m.dy)(S||(S=(0,n.Z)(['<sp-icon-full-screen-exit size="l" data-test-id=',"/>"])),(0,v.Z)("ze-video-controls-exit-fullscreen")):(0,m.dy)($||($=(0,n.Z)(['<sp-icon-full-screen size="l" data-test-id='," />"])),(0,v.Z)("ze-video-controls-fullscreen"))})}},{key:"renderVolumeButton",value:function(){if(!this.defaultMuted)return this.renderButton({clickHandler:this.toggleMuted,children:this.muted?(0,m.dy)(A||(A=(0,n.Z)(['<sp-icon-volume-mute size="l" data-test-id=',"/>"])),(0,v.Z)("ze-video-controls-volume-mute")):(0,m.dy)(C||(C=(0,n.Z)(['<sp-icon-volume-three size="l" data-test-id=',"/>"])),(0,v.Z)("ze-video-controls-volume-unmute"))})}},{key:"render",value:function(){var e=this;return(0,m.dy)(T||(T=(0,n.Z)(['\n\t\t\t<div class="controls">\n\t\t\t\t','\n\t\t\t\t<div\n\t\t\t\t\tclass="column time"\n\t\t\t\t\tdata-test-id=',"\n\t\t\t\t>\n\t\t\t\t\t",'\n\t\t\t\t</div>\n\t\t\t\t<div\n\t\t\t\t\tclass="progress"\n\t\t\t\t\tstyle=',"\n\t\t\t\t\t@pointerdown=","\n\t\t\t\t\t@pointermove=","\n\t\t\t\t\t@pointerup=",'\n\t\t\t\t>\n\t\t\t\t\t<div class="ghostTimeline"></div>\n\t\t\t\t\t<div class="dragReadout" style=',">\n\t\t\t\t\t\t",'\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="trim" style=','>\n\t\t\t\t\t\t<div class="trimHandle start">\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass="dragHandle"\n\t\t\t\t\t\t\t\tdata-test-id=',"\n\t\t\t\t\t\t\t\t@pointerdown=",'\n\t\t\t\t\t\t\t></div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="trimHandle end">\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass="dragHandle"\n\t\t\t\t\t\t\t\tdata-test-id=',"\n\t\t\t\t\t\t\t\t@pointerdown=",'\n\t\t\t\t\t\t\t></div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="indicator" style='," data-test-id=",'></div>\n\t\t\t\t</div>\n\t\t\t\t<div\n\t\t\t\t\tclass="column"\n\t\t\t\t\tdata-test-id=',"\n\t\t\t\t>\n\t\t\t\t","\n\t\t\t\t</div>\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t</div>\n\t\t"])),this.renderPlayButton(),(0,v.Z)("ze-video-controls-time-start"),this.formatTimePosition(this.progressPercent),(0,h.V)(this.progressStyles),this.onTrackPointerDown,this.onTrackPointerMove,this.onTrackPointerUp,(0,h.V)(this.dragReadoutStyles),this.formatTimePosition(this.dragPercent),(0,h.V)(this.trimStyles),(0,v.Z)("ze-video-controls-trim-start"),(function(){return e.dragType=z.TRIM.START}),(0,v.Z)("ze-video-controls-trim-end"),(function(){return e.dragType=z.TRIM.END}),(0,h.V)(this.indicatorStyles),(0,v.Z)("ze-video-controls-indicator"),(0,v.Z)("ze-video-controls-time-end"),this.formatTimePosition(1),this.renderVolumeButton(),this.showFullscreenButton&&this.renderFullscreenButton())}}],[{key:"styles",get:function(){return w}},{key:"properties",get:function(){return{trimStart:{type:Number,attribute:!0,converter:E},trimEnd:{type:Number,attribute:!0,converter:E},totalDuration:{type:Number,attribute:!0,converter:E},currentTime:{type:Number,attribute:!0,converter:E},disabled:{type:Boolean,attribute:!0},muted:{type:Boolean,attribute:!0},paused:{type:Boolean,attribute:!0},fullscreen:{type:Boolean,attribute:!1},trimControls:{type:Boolean,attribute:!0},showFullscreenButton:{type:Boolean,attribute:!0},defaultMuted:{type:Boolean,attribute:!0}}}}]),r}(f);customElements.define("lr-video-player-controls",O);const I=m.iv`:host {
	display: block;
	width: 100%;
	height: 100%;
}

.container {
	display: flex;
	flex-direction: column;
	position: absolute;
	height: 100%;
	width: 100%;
}

.canvas-container {
	flex-grow: 1;
	position: relative;
}

canvas, video {
	display: block;
	position: absolute;
	object-fit: contain;
	width: 100%;
	height: 100%;
}
`;var R,j,N=function(e){(0,p.Z)(y,e);var t,g,f,b=(0,d.Z)(y);function y(){var e;return(0,o.Z)(this,y),(e=b.call(this)).playId=0,e.disabled=!0,e.hovering=!0,e.controls=!1,e.trimControls=!1,e.initializeVideo(),e.addEventListener("click",(function(t){t.composedPath()[0]===(0,l.Z)(e)&&e.togglePaused()})),e.addEventListener("pointerenter",(function(){e.hovering=!0})),e.addEventListener("pointerleave",(function(t){"mouse"===t.pointerType&&(e.hovering=!1)})),e.addEventListener("fullscreenchange",(function(){e.requestUpdate("fullscreen")})),e}return(0,s.Z)(y,[{key:"currentTime",get:function(){return this.video.currentTime},set:function(e){this.video.currentTime=e}},{key:"paused",get:function(){return this.video.paused}},{key:"muted",get:function(){return this.video.muted},set:function(e){this.video.defaultMuted=this.video.muted=e}},{key:"readyState",get:function(){return this.video.readyState}},{key:"playbackRate",get:function(){return this.video.playbackRate},set:function(e){this.video.defaultPlaybackRate=this.video.playbackRate=e}},{key:"ended",get:function(){var e,t=Math.min(this.totalDuration,null!==(e=this.trimEnd)&&void 0!==e?e:this.totalDuration);return this.paused?this.currentTime>t-.01*t:this.currentTime>=t}},{key:"fullscreen",get:function(){return document.fullscreenElement===this}},{key:"canFullscreen",get:function(){return Boolean(this.requestFullscreen&&document.exitFullscreen)||Boolean(this.webkitRequestFullscreen&&document.webkitExitFullscreen)}},{key:"settings",set:function(e){this._settings=e,this.updateSettings()}},{key:"hidden",get:function(){return 0===this.offsetWidth&&0===this.offsetHeight}},{key:"getVideoThumbnail",value:function(){var e=document.createElement("canvas"),t=this.canvas,r=t.width,n=t.height;e.width=r,e.height=n;var i=e.getContext("2d");return i.drawImage(this.video,0,0,r,n),i.getImageData(0,0,r,n)}},{key:"sendVideoThumbnailEvent",value:function(){this.dispatchEvent(new CustomEvent("video-thumbnail-update",{bubbles:!1}))}},{key:"reset",value:function(){this.clear(),this.disabled=!0}},{key:"updateOrientation",value:function(e,t){if(this.canvas){var r=this.canvas,n=this.gl;r.width===t&&r.height===e||(r.width=t,r.height=e,n.viewport(0,0,n.drawingBufferWidth,n.drawingBufferHeight))}}},{key:"initializeCanvas",value:function(){var e,t=this;if(!this.canvas){var r=document.createElement("canvas"),n=r.getContext("webgl"),i=this.video,a=i.videoWidth,o=i.videoHeight,s=(null==this?void 0:this._settings.croppedWidth)||a,l=(null==this?void 0:this._settings.croppedHeight)||o;this.canvas=r,this.gl=n,this.updateOrientation(l,s),this.currentTime=Math.max(0,null!==(e=this.trimStart)&&void 0!==e?e:0),this.initializing=this.initializeShaders().then((function(){t.initializing=!1,t.video.requestVideoFrameCallback&&t.video.requestVideoFrameCallback((function e(){t._settings&&(t.ended||(t.draw(),t.controls&&t.requestUpdate("currentTime")),t.video.requestVideoFrameCallback(e))})),t.updateVertexShader(n,t.program,t.video,t._settings),t.updateFragmentShader(n,t.program,t.video,t._settings),t.draw()}))}}},{key:"updateCanvas",value:function(e,t){var r=this.canvas,n=this.gl,i=n.createProgram(),a=n.createShader(n.VERTEX_SHADER);n.shaderSource(a,e),n.compileShader(a);var o=n.createShader(n.FRAGMENT_SHADER);if(n.shaderSource(o,t),n.compileShader(o),n.attachShader(i,a),n.attachShader(i,o),n.linkProgram(i),!n.getProgramParameter(i,n.LINK_STATUS))return console.log(n.getShaderInfoLog(a)),console.log(n.getShaderInfoLog(o)),n.deleteShader(a),n.deleteShader(o),void n.deleteProgram(i);n.useProgram(i);var s=n.getUniformLocation(i,"uImage"),l=n.createTexture();n.activeTexture(n.TEXTURE0),n.bindTexture(n.TEXTURE_2D,l),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MIN_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_MAG_FILTER,n.LINEAR),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_S,n.CLAMP_TO_EDGE),n.texParameteri(n.TEXTURE_2D,n.TEXTURE_WRAP_T,n.CLAMP_TO_EDGE),n.uniform1i(s,0);var c=n.getAttribLocation(i,"aTexturePosition"),u=n.createBuffer();n.enableVertexAttribArray(c),n.bindBuffer(n.ARRAY_BUFFER,u),n.bufferData(n.ARRAY_BUFFER,new Float32Array([0,0,0,1,1,0,1,1]),n.STATIC_DRAW),n.vertexAttribPointer(c,2,n.FLOAT,!1,0,0);var p=n.getAttribLocation(i,"aVertexPosition"),d=n.createBuffer();n.enableVertexAttribArray(p),n.bindBuffer(n.ARRAY_BUFFER,d),n.bufferData(n.ARRAY_BUFFER,new Float32Array([-1,-1,-1,1,1,-1,1,1]),n.STATIC_DRAW),n.vertexAttribPointer(p,2,n.FLOAT,!1,0,0),this.canvas=r,this.program=i,this.texture=l}},{key:"destroyCanvas",value:function(){this.canvas=this.gl=this.program=this.texture=null}},{key:"initializeVideo",value:function(){var e=this,t=document.createElement("video");t.setAttribute("playsinline",""),t.setAttribute("webkit-playsinline",""),t.addEventListener("loadedmetadata",(function(){var r;e.disabled=!1,e._settings&&e.enableEdit&&e.initializeCanvas();var n=t.duration;null!==(r=e.totalDuration)&&void 0!==r||(e.totalDuration=n)})),t.addEventListener("play",(function(){e.requestUpdate("paused")})),t.addEventListener("pause",(function(){e.requestUpdate("paused")})),t.addEventListener("timeupdate",(function(){e.requestUpdate("currentTime"),e.ended&&(e.loop?e.play():e.pause())})),t.requestVideoFrameCallback&&t.requestVideoFrameCallback((function r(){!e.ended&&e.controls&&(e.requestUpdate("currentTime"),t.requestVideoFrameCallback(r))})),t.addEventListener("volumechange",(function(){e.requestUpdate("muted")}));for(var r=0,n=["ended","error","loadeddata","playing"];r<n.length;r++){var i=n[r];t.addEventListener(i,(function(t){e.dispatchEvent(new Event(t.type,t))}))}t.addEventListener("seeked",(function(){e.sendVideoThumbnailEvent(),e.dispatchEvent(new CustomEvent("video-ready",{bubbles:!1}))}),{once:!0}),t.requestVideoFrameCallback||(t.addEventListener("seeked",(function(){e._settings&&t.paused&&e.draw()})),t.addEventListener("play",(function r(){e._settings&&(e.ended||t.seeking||e.draw(),t.paused||window.requestAnimationFrame(r))}))),this.video=t}},{key:"initializeShaders",value:(f=(0,a.Z)((0,i.Z)().mark((function e(){var t,n,a,o,s,l,c,u,p,d,m,h;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.e(4865).then(r.bind(r,584758));case 2:return t=e.sent,n=t.fragmentShaderSource,a=t.vertexShaderSource,o=t.initializeFragmentShader,s=t.updateFragmentShader,l=t.tickFragmentShader,c=t.updateVertexShader,this.updateCanvas(a,n),u=this.gl,p=this.program,e.next=13,o(u,p);case 13:d=this.video,m=this._settings,c(u,p,d,h=void 0===m?{}:m),s(u,p,d,h),this.tickFragmentShader=l,this.updateVertexShader=c,this.updateFragmentShader=s;case 19:case"end":return e.stop()}}),e,this)}))),function(){return f.apply(this,arguments)})},{key:"attributeChangedCallback",value:function(e,t,r){(0,c.Z)((0,u.Z)(y.prototype),"attributeChangedCallback",this).call(this,e,t,r),"src"===e?(this.video.src=r,this.reset()):"muted"===e?this.defaultMuted=this.muted:"playbackrate"===e&&(this.defaultPlaybackRate=this.playbackRate)}},{key:"connectedCallback",value:function(){(0,c.Z)((0,u.Z)(y.prototype),"connectedCallback",this).call(this)}},{key:"disconnectedCallback",value:function(){this.pause(),(0,c.Z)((0,u.Z)(y.prototype),"disconnectedCallback",this).call(this)}},{key:"updateSettings",value:function(){var e=this._settings,t=this.video,r=this.gl,n=this.program;e?this.canvas&&this.updateVertexShader&&this.updateFragmentShader&&(this.updateVertexShader(r,n,t,e),this.updateFragmentShader(r,n,t,e),this.updateOrientation(this._settings.croppedHeight,this._settings.croppedWidth),this.paused&&this.draw()):this.destroyCanvas()}},{key:"load",value:function(){this.video.load()}},{key:"play",value:(g=(0,a.Z)((0,i.Z)().mark((function e(){var t,r;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.isConnected){e.next=2;break}return e.abrupt("return");case 2:if(!this.initializing){e.next=8;break}return t=++this.playId,e.next=6,this.initializing;case 6:if(t===this.playId){e.next=8;break}return e.abrupt("return");case 8:return(this.currentTime<0||this.ended)&&(this.currentTime=null!==(r=this.trimStart)&&void 0!==r?r:0),this.loop="true"===this.getAttribute("loop"),e.abrupt("return",this._play());case 11:case"end":return e.stop()}}),e,this)}))),function(){return g.apply(this,arguments)})},{key:"_play",value:(t=(0,a.Z)((0,i.Z)().mark((function e(){return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.video.play();case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,this,[[0,5]])}))),function(){return t.apply(this,arguments)})},{key:"pause",value:function(){this.initializing?this.playId++:(this.video.pause(),this.loop=!1)}},{key:"stop",value:function(){var e;this.pause(),this.currentTime=Math.max(0,null!==(e=this.trimStart)&&void 0!==e?e:0)}},{key:"togglePaused",value:function(e){e.detail.paused?this.pause():this.play()}},{key:"toggleMuted",value:function(e){this.muted=e.detail.muted}},{key:"toggleFullscreen",value:function(e){this.canFullscreen&&(e.detail.fullscreen?this.requestFullscreen?this.requestFullscreen():this.webkitRequestFullscreen()&&this.webkitRequestFullscreen():document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen&&document.webkitExitFullscreen(),this.requestUpdate("fullscreen"))}},{key:"handleProgressChange",value:function(e){this.currentTime=e.detail.currentTime,this.requestUpdate("currentTime"),this.draw()}},{key:"handleTrimChange",value:function(e){this.trimStart!==e.detail.trimStart&&(this.trimStart=e.detail.trimStart,this.sendVideoThumbnailEvent()),this.trimEnd!==e.detail.trimEnd&&(this.trimEnd=e.detail.trimEnd)}},{key:"clear",value:function(){var e=this.gl;null==e||e.clear(e.COLOR_BUFFER_BIT)}},{key:"draw",value:function(){var e=this.gl,t=this.program,r=this.video;null!=e&&(this.tickFragmentShader&&this.tickFragmentShader(e,t,r),e.activeTexture(e.TEXTURE0),e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,!0),e.texImage2D(e.TEXTURE_2D,0,e.RGBA,e.RGBA,e.UNSIGNED_BYTE,r),e.clear(e.COLOR_BUFFER_BIT),e.drawArrays(e.TRIANGLE_STRIP,0,4))}},{key:"canvasContainerStyles",get:function(){return{"pointer-events":this.controls?"none":"inherit"}}},{key:"renderControls",value:function(){if(this.controls)return(0,m.dy)(R||(R=(0,n.Z)(["<lr-video-player-controls\n\t\t\t\ttotalDuration=","\n\t\t\t\ttrimStart=","\n\t\t\t\ttrimEnd=","\n\t\t\t\tcurrentTime=","\n\t\t\t\tdata-test-id=","\n\n\t\t\t\t?disabled=","\n\t\t\t\t?muted=","\n\t\t\t\t?paused=","\n\t\t\t\t?defaultMuted=","\n\t\t\t\t?trimControls=","\n\t\t\t\t?showFullscreenButton=","\n\n\t\t\t\t@muted-change=","\n\t\t\t\t@fullscreen-change=","\n\t\t\t\t@paused-change=","\n\t\t\t\t@progress-change=","\n\t\t\t\t@trim-change=","\n\t\t\t/>"])),this.totalDuration,this.trimStart,this.trimEnd,this.currentTime,(0,v.Z)("ze-video-controls-container"),this.disabled,this.muted,this.paused,this.defaultMuted,this.trimControls,this.canFullscreen,this.toggleMuted,this.toggleFullscreen,this.togglePaused,this.handleProgressChange,this.handleTrimChange)}},{key:"renderCanvas",value:function(){if(!this.disabled)return this._settings?!1===this.initializing?this.canvas:void 0:this.video}},{key:"render",value:function(){return(0,m.dy)(j||(j=(0,n.Z)(['\n\t\t\t<div class="container">\n\t\t\t\t<div\n\t\t\t\t\tclass="canvas-container"\n\t\t\t\t\tstyle=',"\n\t\t\t\t>\n\t\t\t\t\t","\n\t\t\t\t</div>\n\t\t\t\t","\n\t\t\t</div>\n\t\t"])),(0,h.V)(this.canvasContainerStyles),this.renderCanvas(),this.renderControls())}}],[{key:"styles",get:function(){return I}},{key:"properties",get:function(){return{src:{attribute:!0,reflect:!0},_settings:{type:Object,attribute:!1},controls:{type:Boolean,attribute:!0,reflect:!0},loop:{type:Boolean,attribute:!0},trimStart:{type:Number,attribute:!0,reflect:!0},trimEnd:{type:Number,attribute:!0,reflect:!0},playbackRate:{type:Number,attribute:!0},muted:{type:Boolean,attribute:!0},enableEdit:{type:Boolean,attribute:!0},trimControls:{type:Boolean,attribute:!0},disabled:{},dragging:{},hovering:{},initializing:{},currentTime:{},defaultMuted:{},defaultPlaybackRate:{},paused:{}}}}]),y}(f);customElements.define("lr-video-player",N)},186968:(e,t,r)=>{"use strict";r.d(t,{Z:()=>sn});var n=r(685271),i=r(878537),a=r(504397),o=r(224440),s=r(282466),l=r(89211),c=r(143681),u=r(236229),p=r(736781),d=r(993184),m=r(668962),h=r(749886),v=r(673136),g=r(588816),f=r(54262),b=r(412333),y=r(548967),_=r(704083),w=(r(785226),r(913688),r(126752)),k=r(41332),Z=r(337720),x=r(551464),S=r(158271),$=r(149567),A=r(568121),C=r(725115),T=r(829293),P=r(519055),z=r(278387),E=r(451409),O=(r(470373),r(19067),r(973774),r(35812),r(367469),r(819785),r(635105),r(573467),r(359538),r(192678)),I=r.n(O),R=r(85663),j=r(934331);r(693508);const N={makeLayoutData:function(e){var t,r;return null!=(r=e).bestAsset&&(e=r.bestAsset),t=e.getCroppedDimensions(),{type:e.isVideo()?"video":"photo",importance:"medium",asset:e,position:[],id:e.id,width:t[0],height:t[1],originalModel:r}},_setLayoutPositionClasses:function(e,t){var r,n,i,a,o,s,l,c;if(0===(s=e.length))return e;for(null==(r=e[0]).position&&(r.position=[]),1===s?(c=e[0].position).push.apply(c,["single-asset","first","last"]):(e[0].position.push("first"),null==(n=e[s-1]).position&&(n.position=[]),e[s-1].position.push("last")),t&&e[0].position.push("first-asset"),a=i=0,l=e.length;i<l;a=++i)if((o=e[a]).asset.isPhoto()){null==o.position&&(o.position=[]),o.position.push("first-photo");break}return e},calculateLayoutItems:function(e,t,r,n,i,a){var o,s,l,c,u=!(arguments.length>6&&void 0!==arguments[6])||arguments[6];return t.length,o=Array.isArray(t)?t.map(this.makeLayoutData):t.mapToArray(this.makeLayoutData),null!=r?r.left+r.width<e.rowWidth?(l=r.left+r.width,c=r.top):(l=0,c=r.top+r.height):(l=0,c=0),n=(0,T.Z)({fragments:o},n),(s=e.calculate(n,i,a,i,l,c)).map((function(e,t){return null==o[t]||(e.asset=o[t].asset,e.id=o[t].id,e.originalModel=o[t].originalModel),e})),this._setLayoutPositionClasses(s,u),s},getSegmentsP:(D=(0,j.Z)((0,R.Z)().mark((function e(t,r,n,i){var a,o,s,l,c,u,p,d,m;return(0,R.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(c=null!=(u=null!=r?r.length:void 0)?u:0,null!=r||c>0){e.next=3;break}return e.abrupt("return",[]);case 3:return o=r.mapToArray(this.makeLayoutData),e.prev=4,e.next=7,t.segmentP(o,n);case 7:for(d=e.sent,a=[],s=0,l=d.length;s<l;s++)p=d[s],(m=a).push.apply(m,(0,z.Z)(p.fragments));return this._setLayoutPositionClasses(a,i),e.abrupt("return",d);case 14:return e.prev=14,e.t0=e.catch(4),e.t0,e.abrupt("return",[]);case 18:case"end":return e.stop()}}),e,this,[[4,14]])}))),function(e,t,r,n){return D.apply(this,arguments)})};var D,L,M=r(420531),B=r(647509);(L=new(r(996310).Z)).defineObservable("keyboardController"),L.defineObservable("store"),L.defineObservable("modalVisible",!1),L.defineObservable("emptyCatalogOnboard",!1),L.authHomeOnboard=!1;const F=L;var H=r(741408),U=r(112957),q=r(253544),V=r(784090);const W=function(){var e,t,r,n,i,a=(e=function(e){(0,m.Z)(o,e);var a=(0,h.Z)(o);function o(e){var c;return(0,l.Z)(this,o),c=a.call(this),(0,s.Z)(c,"loading",t,(0,u.Z)(c)),(0,s.Z)(c,"page",r,(0,u.Z)(c)),(0,s.Z)(c,"statsTotalPageLoadTimeMs",n,(0,u.Z)(c)),(0,s.Z)(c,"statsPagesLoaded",i,(0,u.Z)(c)),c.collection=e,c}return(0,c.Z)(o,[{key:"reset",value:function(e){var t;return this.collection=e,null!=(t=this.collection)&&t.reset(),this.page=0,this.fetchUntilPage=this.FETCH_AHEAD_PAGES}},{key:"isLoadingAssets",value:function(){return null!=this.loading}},{key:"resetLoadAheadPage",value:function(){return this.fetchUntilPage=this.page+this.FETCH_AHEAD_PAGES}},{key:"isNextPageAlreadyLoaded",value:function(){return this.collection.models.length>this.collection.pageSize*this.page}},{key:"models",get:function(){return this.collection.models}},{key:"statsAvgUncachedLoadTimeMs",get:function(){return this.statsTotalPageLoadTimeMs/this.statsPagesLoaded}},{key:"fetchP",value:function(){var e,t,r,n,i,a,o=this;return this.loading||!this.collection||this.collection.isPagePastEnd(this.page)?V.Deferred().reject():(this.isNextPageAlreadyLoaded()?(n=this.collection.pagesLoaded(),i=this.loading=this.collection.pagesP(this.page,n)):(a=new Date,i=this.loading=this.collection.pageP(this.page)),t=this.collection,r=function(e,r){var n;if(t===o.collection&&(null!=a&&(n=new Date-a,o.statsPagesLoaded++,o.statsTotalPageLoadTimeMs+=n),0===o.page&&q.Z.report("assetsLoaded",{count:o.collection.length}),!(o.page>=o.fetchUntilPage)))return o.page++,window.requestAnimationFrame((function(){return o.fetchP()}))},e=function(){return o.loading=null},i.always(e).done(r),i)}}]),o}(U.Z),t=(0,v.Z)(e.prototype,"loading",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r=(0,v.Z)(e.prototype,"page",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),n=(0,v.Z)(e.prototype,"statsTotalPageLoadTimeMs",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),i=(0,v.Z)(e.prototype,"statsPagesLoaded",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),e);return a.prototype.FETCH_AHEAD_PAGES=5,a}.call(void 0);var J,G,K;const Y=(J=function(e){(0,m.Z)(n,e);var t,r=(0,h.Z)(n);function n(){var e;return(0,l.Z)(this,n),e=r.call(this),(0,s.Z)(e,"assetSource",G,(0,u.Z)(e)),(0,s.Z)(e,"_assetLoader",K,(0,u.Z)(e)),e.watch((function(){return e.assetSource}),(function(){return e.reset()})),e}return(0,c.Z)(n,[{key:"reset",value:(t=(0,j.Z)((0,R.Z)().mark((function e(){var t,r,n,i,a=this;return(0,R.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(window.scrollTo(0,0),null!=(t=this.virtualScroll)&&null!=(r=t.scroll)&&r.scrollTo(0,0),!k.Z.is_enabled("recently_added")){e.next=6;break}null!=(n=this._assetLoader)&&n.reset(),e.next=8;break;case 6:return e.next=8,null!=(i=this._assetLoader)?i.loading:void 0;case 8:if(this.assetSource){e.next=10;break}return e.abrupt("return");case 10:return this._assetLoader=new W,this._assetLoader.reset(this.assetSource),e.abrupt("return",this._assetLoader.fetchP().done((function(){var e,t;if(a._loadMoreIfScrolledOrRoom(),1===a._assetLoader.page)return null!=(e=a.scope)&&null!=(t=e.controller)&&"function"==typeof t.trackGridMetrics?t.trackGridMetrics():void 0})));case 13:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"_loading",get:function(){var e;return null!=(null!=(e=this._assetLoader)?e.loading:void 0)}},{key:"_shouldShowThrobber",get:function(){var e;return k.Z.is_enabled("recently_added")?this._loading&&(0===this.assetSource.length||(null!=(e=this.assetSource.insertedAssets)?e.length:void 0)>0&&this._assetLoader.page<=1):this._loading&&0===this.assetSource.length}},{key:"_onScroll",value:function(){return this._loadMoreIfScrolledOrRoom()}},{key:"_loadMoreIfScrolledOrRoom",value:function(){var e,t,r,n,i=this;if(null!=this.virtualScroll&&this._assetLoader&&!this._loading&&!F.modalVisible){if(!(null!=(t=this.scope.interactionState)?t.dragging:void 0)){if(k.Z.is_enabled("recently_added")||k.Z.is_enabled("recently_edited")){if(null==this.virtualScroll)return;if(e=this.virtualScroll.scroll.displayScrollTop,r=this.virtualScroll.contentHeight,n=this.virtualScroll.scroll.innerHeight,0===r||0===n)return}else null!=this.virtualScroll&&(e=this.virtualScroll.scroll.displayScrollTop,r=this.virtualScroll.contentHeight,n=this.virtualScroll.scroll.innerHeight);return r-n-e<200||n-r>=0?(this._assetLoader.resetLoadAheadPage(),this._assetLoader.fetchP().done((function(){return i._loadMoreIfScrolledOrRoom()}))):void 0}window.requestAnimationFrame((function(){return i._loadMoreIfScrolledOrRoom()}))}}}]),n}(H.Z),G=(0,v.Z)(J.prototype,"assetSource",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=(0,v.Z)(J.prototype,"_assetLoader",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J);var X=r(108445),Q=(r(115884),r(783754)),ee=r(197196),te=r(630647),re=r(633525),ne=r(422397),ie=function(e){(0,m.Z)(r,e);var t=(0,h.Z)(r);function r(){return(0,l.Z)(this,r),t.apply(this,arguments)}return(0,c.Z)(r,[{key:"itemAttributes",get:function(){var e=this,t=(0,p.Z)((0,d.Z)(r.prototype),"itemAttributes",this);return ne.Z.torqNativeScrollingEnabled()&&(t["style-position"]=function(){var t=e.virtualItem;return t?t.fixed?"fixed":"absolute":null}),t}}]),r}(re.Z),ae=r(537188),oe=r.n(ae),se=r(165764),le=r.n(se),ce=r(774154),ue=r.n(ce),pe=r(811949),de=r.n(pe),me=r(934809),he=r.n(me),ve=r(12509),ge=r.n(ve),fe=r(567091),be={};be.styleTagTransform=ge(),be.setAttributes=de(),be.insert=ue().bind(null,"head"),be.domAPI=le(),be.insertStyleElement=he(),oe()(fe.Z,be);const ye=fe.Z&&fe.Z.locals?fe.Z.locals:void 0;var _e,we,ke,Ze,xe,Se,$e,Ae,Ce,Te,Pe={make:function(e){return Pe=n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(bt);e.enterNode(r),e.runBinder(tt,et,t,!0),e.runBinder(Qe,Xe,t,!0),e.runBinder(Ye,Ke,t,!0),e.runBinder(Ge,Je,t,!0),e.runBinder(We,Ve,t,!0);var n=t.using=ze.make(e);n.$_parent=t,n.template.run(e,n),e.exitNode(r)},dispose:function(e,t){t.div_spread_spread_state=e.updateSpreadAttribute(t.div,null,t,t.div_spread_spread_state),t.div_spread_value=void 0,e.removeSignals(t.div_class_binder,t.div_class_invalidate),e.removeSignals(t.div_class_binder1,t.div_class_invalidate1),e.removeSignals(t.div_class_binder2,t.div_class_invalidate2),e.removeSignals(t.div_class_binder3,t.div_class_invalidate3),e.removeSignals(t.div_spread_binder,t.div_spread_invalidate),t.using.template.dispose(e,t.using)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(tt,et,t,!1),e.runBinder(Qe,Xe,t,!1),e.runBinder(Ye,Ke,t,!1),e.runBinder(Ge,Je,t,!1),e.runBinder(We,Ve,t,!1),t.using.template.reuse(e,t.using)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._sticky$45height||(e.attr._sticky$45height=e.ensureAttr("sticky-height")),e.attr._class||(e.attr._class=e.ensureAttr("class"))}}),Pe.make(e)}},ze={make:function(e){return ze=e.makeComponent(o.Z,{args:1,props:{getValue:function(e){return e.$_parent.$_scope._this.virtualItem}},blocks:[{name:"children",template:e.makeComponent(P.Z,{props:{getCondition:function(e){return e.v0.active}},blocks:[{name:"else",template:n.ZP.make({render:function(e,t){var r=t.span=e.pushTemplateNode(qe);e.enterNode(r),e.runBinder(Ue,He,t,!0),e.exitNode(r);var n=t.span1=e.pushTemplateNode(Fe);e.enterNode(n),e.runBinder(Be,Me,t,!0),e.exitNode(n)},dispose:function(e,t){e.removeSignals(t.span_binder,t.span_invalidate),t.span_content=e.disposeContent(t.span_content),t.span_value1=void 0,e.removeSignals(t.span_binder1,t.span_invalidate1),t.span_content1=e.disposeContent(t.span_content1),t.span_value3=void 0},move:function(e,t){e.pushNode(t.span),e.pushNode(t.span1)},reuse:function(e,t){e.runBinder(Ue,He,t,!1),e.runBinder(Be,Me,t,!1)},firstChild:function(e,t){return t.span},lastChild:function(e,t){return t.span1},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})},{name:"children",template:n.ZP.make({render:function(e,t){var r=t.a=e.pushTemplateNode(Le);e.attachEvent(t.a,"click",De),e.enterNode(r),e.runBinder(Ne,je,t,!0),e.exitNode(r);var n=t.a1=e.pushTemplateNode(Re);e.attachEvent(t.a1,"click",Ie),e.enterNode(n),e.runBinder(Oe,Ee,t,!0),e.exitNode(n)},dispose:function(e,t){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,t.a1._jsx_data=null,e.removeSignals(t.a_binder1,t.a_invalidate1),t.a_content1=e.disposeContent(t.a_content1),t.a_value3=void 0},move:function(e,t){e.pushNode(t.a),e.pushNode(t.a1)},reuse:function(e,t){e.runBinder(Ne,je,t,!1),e.runBinder(Oe,Ee,t,!1)},init:function(e,t){t.a._jsx_data=t,t.a1._jsx_data=t},firstChild:function(e,t){return t.a},lastChild:function(e,t){return t.a1},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})}]})}]}),ze.make(e)}};function Ee(e,t,r,n,i,a){t.a_binder1=r,t.a_invalidate1=n;var o=t.a_value3;(a||o!==i)&&(t.a_value3=i,t.a_content1=e.renderContent(t.a_content1,i))}function Oe(e){return e.$_parent.$_parent.$_parent.$_scope._this.virtualItem.countText}function Ie(){var e=this._jsx_data;e&&e.$_parent.v0.trigger("segment-click",e.$_parent.$_parent.$_parent.$_scope._this.virtualItem.segment)}var Re=(0,a.z)((function(e){var t=e.makeNode("a");return e.attr._class(t,"class","count"),t}));function je(e,t,r,n,i,a){t.a_binder=r,t.a_invalidate=n;var o=t.a_value1;(a||o!==i)&&(t.a_value1=i,t.a_content=e.renderContent(t.a_content,i))}function Ne(e){return e.$_parent.$_parent.$_parent.$_scope._this.virtualItem.dateText}function De(){var e=this._jsx_data;e&&e.$_parent.v0.trigger("segment-click",e.$_parent.$_parent.$_parent.$_scope._this.virtualItem.segment)}var Le=(0,a.z)((function(e){var t=e.makeNode("a");return e.attr._class(t,"class","title"),t}));function Me(e,t,r,n,i,a){t.span_binder1=r,t.span_invalidate1=n;var o=t.span_value3;(a||o!==i)&&(t.span_value3=i,t.span_content1=e.renderContent(t.span_content1,i))}function Be(e){return e.$_parent.$_parent.$_parent.$_scope._this.countText}var Fe=(0,a.z)((function(e){var t=e.makeNode("span");return e.attr._class(t,"class","count"),t}));function He(e,t,r,n,i,a){t.span_binder=r,t.span_invalidate=n;var o=t.span_value1;(a||o!==i)&&(t.span_value1=i,t.span_content=e.renderContent(t.span_content,i))}function Ue(e){return e.$_parent.$_parent.$_parent.$_scope._this.dateText}var qe=(0,a.z)((function(e){var t=e.makeNode("span");return e.attr._class(t,"class","title"),t}));function Ve(e,t,r,n,i,a){t.div_spread_binder=r,t.div_spread_invalidate=n;var o=t.div_spread_value;(a||o!==i)&&(t.div_spread_value=i,t.div_spread_spread_state=e.updateSpreadAttribute(t.div,i,t,t.div_spread_spread_state))}function We(e){return e.$_scope._this.itemAttributes}function Je(e,t,r,n,i,a){t.div_class_binder3=r,t.div_class_invalidate3=n;var o=t.div_class_value3;(a||o!==i)&&(t.div_class_value3=i,t.div_class_state3=e.attr._class(t.div,"class",i,t.div_class_state3))}function Ge(e){var t;return null!==(t=e.$_scope._this.virtualItem)&&void 0!==t&&t.fixed?ye.stickyFixed:void 0}function Ke(e,t,r,n,i,a){t.div_class_binder2=r,t.div_class_invalidate2=n;var o=t.div_class_value2;(a||o!==i)&&(t.div_class_value2=i,t.div_class_state2=e.attr._class(t.div,"class",i,t.div_class_state2))}function Ye(e){var t;return null===(t=e.$_scope._this.virtualItem)||void 0===t?void 0:t.className}function Xe(e,t,r,n,i,a){t.div_class_binder1=r,t.div_class_invalidate1=n;var o=t.div_class_value1;(a||o!==i)&&(t.div_class_value1=i,t.div_class_state1=e.attr._class(t.div,"class",i,t.div_class_state1))}function Qe(e){return ne.Z.torqNativeScrollingEnabled()?"native-scroller":""}function et(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function tt(e){return ye.photos_segment_header}var rt,nt,it,at,ot,st,lt,ct,ut,pt,dt,mt,ht,vt,gt,ft,bt=(0,a.z)((function(e){var t=e.makeNode("div");return e.attr._sticky$45height(t,"sticky-height",48),t})),yt=(_e=(0,X.Z)({type:"photosSegmentHeader"}),we=(0,_.Z)("class"),_e((Ze=function(e){(0,m.Z)(r,e);var t=(0,h.Z)(r);function r(){var e;(0,l.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,s.Z)(e,"segment",xe,(0,u.Z)(e)),(0,s.Z)(e,"className",Se,(0,u.Z)(e)),(0,s.Z)(e,"dateFormat",$e,(0,u.Z)(e)),(0,s.Z)(e,"dateText",Ae,(0,u.Z)(e)),(0,s.Z)(e,"countText",Ce,(0,u.Z)(e)),(0,s.Z)(e,"active",Te,(0,u.Z)(e)),e}return(0,c.Z)(r,[{key:"updateLayout",value:function(e,t){this.width=e,this.height=48}}]),r}(ee.Z),xe=(0,v.Z)(Ze.prototype,"segment",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Se=(0,v.Z)(Ze.prototype,"className",[we],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$e=(0,v.Z)(Ze.prototype,"dateFormat",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ae=(0,v.Z)(Ze.prototype,"dateText",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ce=(0,v.Z)(Ze.prototype,"countText",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Te=(0,v.Z)(Ze.prototype,"active",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ke=Ze))||ke),_t=function(e){(0,m.Z)(r,e);var t=(0,h.Z)(r);function r(){return(0,l.Z)(this,r),t.apply(this,arguments)}return(0,c.Z)(r,[{key:"dateText",get:function(){var e=this.virtualItem.dateText;if(e)return e;var t=this.virtualItem.segment;if(null==t)return"";var r=t.date;if(null!=r){var n=this.virtualItem.dateFormat;return"month"===n?Q.Z.formatWideYearMonth(r):"day"===n?Q.Z.formatDate(r,"long"):"importedOnDay"===n?(0,te.zt)("$$$/js/assets/section_header/added_on=Added on {day}",{day:Q.Z.formatDate(r,"long")}):Q.Z.formatDateTime(r,"spectrum-custom-compact")}return(0,te.zt)("$$$/js/assets/section_header/unknown=Unknown date")}},{key:"countText",get:function(){var e=this.virtualItem.countText;if(e)return e;var t=this.virtualItem.segment;if(null==t)return"";var r=t.finished,n=t.assets.length;return r?1===n?(0,te.zt)("$$$/js/assets/month_section_header/count_singular={count} photo",{count:n}):(0,te.zt)("$$$/js/assets/month_section_header/count_plural={count} photos",{count:n}):1===n?(0,te.zt)("$$$/js/assets/month_section_header/minimum_count_singular={count}+ photo",{count:n}):(0,te.zt)("$$$/js/assets/month_section_header/minimum_count_plural={count}+ photos",{count:n})}},{key:"render",value:function(){return{template:Pe,_this:this}}}]),r}(ie),wt=(r(508460),r(704589)),kt=r(321849),Zt=(rt=function(e){(0,m.Z)(r,e);var t=(0,h.Z)(r);function r(){var e;return(0,l.Z)(this,r),e=t.call(this),(0,s.Z)(e,"viewWidth",nt,(0,u.Z)(e)),(0,s.Z)(e,"viewHeight",it,(0,u.Z)(e)),(0,s.Z)(e,"margin",at,(0,u.Z)(e)),(0,s.Z)(e,"layoutItems",ot,(0,u.Z)(e)),e.layoutAttributes((function(){return e.viewWidth})),e.layoutAttributes((function(){return e.viewHeight})),e.layoutAttributes((function(){return e.layoutItems})),e}return(0,c.Z)(r,[{key:"updateLayout",value:function(e,t){var n=this;if(!this.layoutItems)return this.width=e,void(this.height=0);var i=this.layoutItems,a=this.paginatedList=new kt.Z,o=1e11,s=0;this.children.forEach((function(e,t){if(!(t>=i.length)){var r=i.at(t);o=Math.min(o,r.top),s=Math.max(s,r.top+r.height),e.parent=n,a.add(e,e.top,e.bottom)}})),this.width=e,this.height=Math.max(0,s-o)+this.margin,(0,p.Z)((0,d.Z)(r.prototype),"updateLayout",this).call(this,e,t)}}]),r}(wt.Z),nt=(0,v.Z)(rt.prototype,"viewWidth",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),it=(0,v.Z)(rt.prototype,"viewHeight",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),at=(0,v.Z)(rt.prototype,"margin",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),ot=(0,v.Z)(rt.prototype,"layoutItems",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),rt),xt=r(221316),St=r(118142),$t={make:function(e){return $t=n.ZP.make({render:function(e,t){var r=t.g=!e._group_g&&e.pushTemplateNode(Gt);r&&e.enterNode(r);var n=t._if=At.make(e);n.$_parent=t,n.template.run(e,n),r&&e.exitNode(r)},dispose:function(e,t){t._if.template.dispose(e,t._if)},move:function(e,t){t.g?e.pushNode(t.g):t._if.template.move(e,t._if)},reuse:function(e,t){t._if.template.reuse(e,t._if)},firstChild:function(e,t){return t.g||t._if.template.firstChild(e,t._if)},lastChild:function(e,t){return t.g||t._if.template.lastChild(e,t._if)}}),$t.make(e)}},At={make:function(e){return(At=e.makeComponent(P.Z,{props:{getCondition:function(e){return 0===e.$_parent.$_scope._this.assetSource.length&&!0===e.$_parent.$_scope._this.assetSource.finished}},blocks:[{name:"else",template:e.makeComponent(Y,{attributes:[{name:"margin",value:4},{name:"mapping",get:function(){if(this.$_view)return Kt},set:function(e){this.$_view&&(Kt=e)}},{name:"assetSource",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.assetSource},original:"asset-source",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.assetSource=e)}}],blocks:[{name:"children",template:n.ZP.make({render:function(e,t){var r=t.repeat=zt.make(e);r.$_parent=t,r.template.run(e,r);var n=t.gridFooterItem=Pt.make(e);n.$_parent=t,n.template.run(e,n)},dispose:function(e,t){t.repeat.template.dispose(e,t.repeat),t.gridFooterItem.template.dispose(e,t.gridFooterItem)},move:function(e,t){t.repeat.template.move(e,t.repeat),t.gridFooterItem.template.move(e,t.gridFooterItem)},reuse:function(e,t){t.repeat.template.reuse(e,t.repeat),t.gridFooterItem.template.reuse(e,t.gridFooterItem)},firstChild:function(e,t){return t.repeat.template.firstChild(e,t.repeat)},lastChild:function(e,t){return t.gridFooterItem.template.lastChild(e,t.gridFooterItem)}})}],events:[{name:"needs-layout",value:Dt}],init:function(e,t){e.$_parent.$_parent.$_scope._this.gridScroll=t},dispose:function(e,t){e.$_parent.$_parent.$_scope._this.gridScroll=null}})},{name:"children",template:n.ZP.make({render:function(e,t){e.runBinder(Tt,Ct,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(Tt,Ct,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 Ct(e,t,r,n,i,a){t.expr_binder=r,t.expr_invalidate=n;var o=t.expr_value1;(a||o!==i)&&(t.expr_value1=i,t.expr_content=e.renderContent(t.expr_content,i))}function Tt(e){return e.$_parent.$_parent.$_scope._this.renderEmptyView()}var Pt={make:function(e){return(Pt=e.makeComponent(B.h5,{})).make(e)}},zt={make:function(e){return(zt=e.makeComponent(A.Z,{args:2,props:{getCollection:function(e){return e.$_parent.$_parent.$_parent.$_parent.$_scope._this.segmentedAssets.segments}},blocks:[{name:"children",template:n.ZP.make({render:function(e,t){var r=t.photosSegmentHeaderItem=jt.make(e);r.$_parent=t,r.template.run(e,r);var n=t.gridSegmentV2=Et.make(e);n.$_parent=t,n.template.run(e,n)},dispose:function(e,t){t.photosSegmentHeaderItem.template.dispose(e,t.photosSegmentHeaderItem),t.gridSegmentV2.template.dispose(e,t.gridSegmentV2)},move:function(e,t){t.photosSegmentHeaderItem.template.move(e,t.photosSegmentHeaderItem),t.gridSegmentV2.template.move(e,t.gridSegmentV2)},reuse:function(e,t){t.photosSegmentHeaderItem.template.reuse(e,t.photosSegmentHeaderItem),t.gridSegmentV2.template.reuse(e,t.gridSegmentV2)},firstChild:function(e,t){return t.photosSegmentHeaderItem.template.firstChild(e,t.photosSegmentHeaderItem)},lastChild:function(e,t){return t.gridSegmentV2.template.lastChild(e,t.gridSegmentV2)}})}]})).make(e)}},Et={make:function(e){return Et=e.makeComponent(Zt,{attributes:[{name:"margin",value:4},{name:"layoutItems",get:function(){var e=this.$_view;if(e)return e.$_parent.v0.layoutItems},set:function(e){var t=this.$_view;t&&(t.$_parent.v0.layoutItems=e)}}],blocks:[{name:"children",template:e.makeComponent(o.Z,{args:1,props:{getValue:function(e){return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.getPhotoItemClass()}},blocks:[{name:"children",template:e.makeComponent(A.Z,{args:1,props:{getCollection:function(e){return e.$_parent.$_parent.$_parent.v0.layoutItems}},blocks:[{name:"children",template:n.ZP.make({render:function(e,t){var r=t.photoItemClass_base=t.$_parent.v0,n=t.photoItemClass=Ot.make(e,r).make(e);n.$_parent=t,n.template.run(e,n)},dispose:function(e,t){t.photoItemClass.template.dispose(e,t.photoItemClass)},move:function(e,t){t.photoItemClass.template.move(e,t.photoItemClass)},reuse:function(e,t){var r=t.$_parent.v0;if(r!==t.photoItemClass_base){t.photoItemClass_base=r;var n=Ot.make(e,r).make(e);n.$_parent=t,e.replaceTemplate(t.photoItemClass,n),t.photoItemClass=n}else t.photoItemClass.template.reuse(e,t.photoItemClass)},firstChild:function(e,t){return t.photoItemClass.template.firstChild(e,t.photoItemClass)},lastChild:function(e,t){return t.photoItemClass.template.lastChild(e,t.photoItemClass)}})}]})}]})}],init:function(e,t){e.$_parent.v0.view=t},dispose:function(e,t){e.$_parent.v0.view=null}}),Et.make(e)}},Ot={make:function(e,t){return(Ot=i.Z.makeDynamic({attributes:[{name:"id",get:function(){var e=this.$_view;if(e)return e.$_parent.v0.id},set:function(e){var t=this.$_view;t&&(t.$_parent.v0.id=e)}},{name:"photoViewClassName",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.layout.photoViewClassName},original:"photo-view-class-name",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.layout.photoViewClassName=e)}},{name:"controlsRenderers",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.controlsRenderers},original:"controls-renderers",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.controlsRenderers=e)}},{name:"asset",get:function(){var e=this.$_view;if(e)return e.$_parent.v0.asset},set:function(e){var t=this.$_view;t&&(t.$_parent.v0.asset=e)}},{name:"position",get:function(){var e=this.$_view;if(e)return e.$_parent.v0.position},set:function(e){var t=this.$_view;t&&(t.$_parent.v0.position=e)}},{name:"left",get:function(){var e=this.$_view;if(e)return e.$_parent.v0.left},set:function(e){var t=this.$_view;t&&(t.$_parent.v0.left=e)}},{name:"top",get:function(){var e=this.$_view;if(e)return e.$_parent.v0.top+e.$_parent.$_parent.$_parent.$_parent.$_parent.v0.view.top}},{name:"width",get:function(){var e=this.$_view;if(e)return e.$_parent.v0.width},set:function(e){var t=this.$_view;t&&(t.$_parent.v0.width=e)}},{name:"height",get:function(){var e=this.$_view;if(e)return e.$_parent.v0.height},set:function(e){var t=this.$_view;t&&(t.$_parent.v0.height=e)}}],events:[{name:"click",value:Rt},{name:"select-toggle",value:It}]})).make(e,t)}};function It(e){var t=this.$_view;t&&t.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.trigger("toggle-asset-select",e,t.$_parent.v0.asset)}function Rt(){var e=this.$_view;e&&e.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.trigger("asset-click",event,e.$_parent.v0.asset)}var jt={make:function(e){return(jt=e.makeComponent(yt,{attributes:[{name:"segment",get:function(){var e=this.$_view;if(e)return e.$_parent.v0},set:function(e){var t=this.$_view;t&&(t.$_parent.v0=e)}},{name:"dateFormat",get:function(){var e,t,r=this.$_view;if(r)return null!=(null===(e=r.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.scope.assetSource)||void 0===e?void 0:e.segmentBy)?null===(t=r.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.scope.assetSource)||void 0===t?void 0:t.segmentBy:"month"}},{name:"countText",get:function(){var e,t=this.$_view;if(t)return null!==(e=t.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.scope.assetSource)&&void 0!==e&&e.segmentBy?"View All (".concat(t.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.scope.assetSource.getPreviewGroup(t.$_parent.v0.assets.at(0)).totalCount):void 0}},{name:"active",get:function(){if(this.$_view)return k.Z.is_enabled("date_search")}}],events:[{name:"segment-click",value:Nt}]})).make(e)}};function Nt(e){var t=this.$_view;t&&t.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.trigger("segment-click",e)}function Dt(){var e=this.$_view;e&&e.$_parent.$_parent.$_scope._this.needsLayout()}var Lt,Mt,Bt,Ft,Ht,Ut,qt,Vt,Wt,Jt,Gt=(0,a.z)((function(e){return e.makeNode("g")})),Kt=(0,T.Z)((0,T.Z)({},B.vs),{},(0,C.Z)({},yt.type,_t)),Yt=(st=function(){function e(t,r,n,i){(0,l.Z)(this,e),(0,s.Z)(this,"finished",lt,this),(0,s.Z)(this,"date",ct,this),(0,s.Z)(this,"id",ut,this),(0,s.Z)(this,"layoutItems",pt,this),(0,s.Z)(this,"view",dt,this),this.id=t,this.assets=new M.Z(r),this.date=n,this.finished=i,this.layoutItems=new M.Z}return(0,c.Z)(e,[{key:"pushAssets",value:function(e,t){var r;(r=this.assets).push.apply(r,(0,z.Z)(e)),this.finished=t}}]),e}(),lt=(0,v.Z)(st.prototype,"finished",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ct=(0,v.Z)(st.prototype,"date",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ut=(0,v.Z)(st.prototype,"id",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),pt=(0,v.Z)(st.prototype,"layoutItems",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),dt=(0,v.Z)(st.prototype,"view",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),st),Xt=(mt=function(){function e(){(0,l.Z)(this,e),(0,s.Z)(this,"segments",ht,this),(0,s.Z)(this,"source",vt,this),this.segments=new M.Z,this.reset()}return(0,c.Z)(e,[{key:"isFirstSegment",value:function(e){var t;return(null===(t=this.segments.at(0))||void 0===t?void 0:t.id)===e}},{key:"reset",value:function(e){this.source=e,this.segments.splice(0),this.segmentIndex=-1,this.startAssetIndex=0,this.lastMonth=null,this.lastYear=null,this.lastAssetDate=null,null!=this.source&&this.update()}},{key:"update",value:function(){var e=this.source.modelsBindable,t=this.startAssetIndex;if(!(t>=e.length))for(var r=t,n=r,i=e.length;r<i;n=++r){var a,o,s=e.at(n).getCaptureDate();null!=s?(a=s.getMonth(),o=s.getYear()):a=o="unknown",a===this.lastMonth&&o===this.lastYear||(this.segmentIndex>=0&&(null!=this.segments.at(this.segmentIndex)?this.segments.at(this.segmentIndex).pushAssets(e.sliceToArray(this.startAssetIndex,n),!0):this.segments.push(new Yt(this.segmentIndex,e.sliceToArray(this.startAssetIndex,n),this.lastAssetDate,!0))),this.segmentIndex++,this.startAssetIndex=n,this.lastMonth=a,this.lastYear=o),n===e.length-1&&(n++,null!=this.segments.at(this.segmentIndex)?this.segments.at(this.segmentIndex).pushAssets(e.sliceToArray(this.startAssetIndex,n),this.source.finished):this.segments.push(new Yt(this.segmentIndex,e.sliceToArray(this.startAssetIndex,n),s,this.source.finished)),this.startAssetIndex=n,this.lastMonth=a,this.lastYear=o),this.lastAssetDate=s}}}]),e}(),ht=(0,v.Z)(mt.prototype,"segments",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),vt=(0,v.Z)(mt.prototype,"source",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),mt),Qt=(gt=function(e){(0,m.Z)(r,e);var t=(0,h.Z)(r);function r(){var e;(0,l.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,s.Z)(e,"segmentedAssets",ft,(0,u.Z)(e)),e.id="_allphotos",e}return(0,c.Z)(r,[{key:"_initialize",value:function(){this.layout=this._createLayout(),this.segmentedAssets=new Xt,(0,p.Z)((0,d.Z)(r.prototype),"_initialize",this).call(this)}},{key:"_createLayout",value:function(){}},{key:"getPhotoItemClass",value:function(){}},{key:"mapItemToView",value:function(e,t){Kt=Object.assign((0,C.Z)({},e.type,t),Kt)}},{key:"updateLayoutItems",value:function(e){var t=this;(null==e?void 0:e.length)>0&&null!=this.segmentedAssets&&(e.length>this.lastAssetLengthForSegment?this.segmentedAssets.update():this.segmentedAssets.reset(this.assetSource),this.lastAssetLengthForSegment=e.length,this.segmentedAssets.segments.base.map((function(e){return e.layoutItems.swapItems(t.getSegmentLayoutItems(e))})))}},{key:"attached",value:function(){var e;null===(e=this.controller)||void 0===e||e.restoreScrollPosition()}},{key:"getSegmentLayoutItems",value:function(e){var t=e.assets,r=(null==t?void 0:t.length)||0;if(!t||r<1)return[];var n={id:e.id,finished:e.finished},i=this.segmentedAssets.isFirstSegment(e.id);return N.calculateLayoutItems(this.layout,t,null,n,this.viewWidth,this.viewHeight,i)}},{key:"resetLayout",value:function(){var e;null===(e=this.segmentedAssets)||void 0===e||e.reset(this.assetSource),(0,p.Z)((0,d.Z)(r.prototype),"resetLayout",this).call(this)}},{key:"resetLayoutForThumbResize",value:function(){var e,t=null===(e=this.virtualScroll)||void 0===e?void 0:e.scroll;if(!this.scrollToTarget&&null!=this.segmentedAssets&&this.segmentedAssets.segments.length>0&&null!=t){var r=t.displayScrollTop,n=this.segmentedAssets.segments.find((function(e){var t=e.layoutItems.length;if(!(t>0)||null==e.view)return!1;var n=e.layoutItems.at(t-1);return e.view.top+n.top>r}));if(n){var i,a=n.layoutItems.base,o=I()(a,{top:r-n.view.top},(function(e){return e.top}));this.scrollToTarget=null===(i=a[o])||void 0===i?void 0:i.asset}}this.resetLayout()}},{key:"virtualScroll",get:function(){var e;return null===(e=this.gridScroll)||void 0===e?void 0:e.virtualScroll}},{key:"headerClass",get:function(){}},{key:"footerClass",get:function(){}},{key:"renderEmptyView",value:function(){}},{key:"renderContent",value:function(){return{template:$t,_this:this}}}]),r}(St.Z),ft=(0,v.Z)(gt.prototype,"segmentedAssets",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,v.Z)(gt.prototype,"_createLayout",[E.Z],Object.getOwnPropertyDescriptor(gt.prototype,"_createLayout"),gt.prototype),(0,v.Z)(gt.prototype,"getPhotoItemClass",[E.Z],Object.getOwnPropertyDescriptor(gt.prototype,"getPhotoItemClass"),gt.prototype),gt),er=(r(893248),r(760567)),tr=r(846031),rr=(r(127387),r(290671),r(816221),r(17938),r(261148),r(839810),r(595249),r(185466),r(370843),r(961626),r(897995),r(518926),r(725676),r(81738),r(479959),r(879587),r(353478),r(643300),r(363242),r(911895),r(301207),r(792647),r(879104),r(497814),r(78019),r(474646),r(28227),r(420879),r(680851),r(725637),r(686862),r(169513),r(993224),r(604542),r(292381),r(769900),r(536978)),nr=(Lt=function(e){(0,m.Z)(r,e);var t=(0,h.Z)(r);function r(e,n){var i;return(0,l.Z)(this,r),i=t.call(this),(0,s.Z)(i,"width",Mt,(0,u.Z)(i)),(0,s.Z)(i,"rowHeight",Bt,(0,u.Z)(i)),(0,s.Z)(i,"minAspectRatio",Ft,(0,u.Z)(i)),(0,s.Z)(i,"rowHeightMinMultiplier",Ht,(0,u.Z)(i)),(0,s.Z)(i,"rowHeightMaxMultiplier",Ut,(0,u.Z)(i)),(0,s.Z)(i,"margin",qt,(0,u.Z)(i)),(0,s.Z)(i,"maxSnapDelta",Vt,(0,u.Z)(i)),(0,s.Z)(i,"snaps",Wt,(0,u.Z)(i)),(0,s.Z)(i,"canOmitFinalRow",Jt,(0,u.Z)(i)),i.snaps=new M.Z,null!=e&&(i.width=e),null!=n&&(i.margin=n),i}return(0,c.Z)(r,[{key:"minRowHeight",get:function(){return Math.round(this.rowHeight*this.rowHeightMinMultiplier)}},{key:"maxRowHeight",get:function(){return Math.round(this.rowHeight*this.rowHeightMaxMultiplier)}}]),r}(U.Z),Mt=(0,v.Z)(Lt.prototype,"width",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),Bt=(0,v.Z)(Lt.prototype,"rowHeight",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 190}}),Ft=(0,v.Z)(Lt.prototype,"minAspectRatio",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return.4}}),Ht=(0,v.Z)(Lt.prototype,"rowHeightMinMultiplier",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return.65}}),Ut=(0,v.Z)(Lt.prototype,"rowHeightMaxMultiplier",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 1.35}}),qt=(0,v.Z)(Lt.prototype,"margin",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 2}}),Vt=(0,v.Z)(Lt.prototype,"maxSnapDelta",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 6}}),Wt=(0,v.Z)(Lt.prototype,"snaps",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Jt=(0,v.Z)(Lt.prototype,"canOmitFinalRow",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Lt),ir=(0,rr.Z)("grid_layout:adaptive"),ar=(0,rr.Z)("grid_layout_verbose:adaptive");const or={defaultConfig:function(e,t){var r=new nr(e,2),n=Math.min(e,t);return n<568?(r.rowHeight=120,r.maxSnapDelta=4):n<768?(r.rowHeight=160,r.maxSnapDelta=4):(r.rowHeight=190,r.maxSnapDelta=6),r},shareConfig:function(e,t,r){var n,i=this.defaultConfig(t,r);return n=t<=568?1===e?.65*r:e<=3?.5*r:e<=6?.3*r:e<=20?.2*r:.15*r:1===e?.65*r:e<=3?.5*r:e<=10?.3*r:.2*r,i.rowHeight=Math.max(n,i.rowHeight),i.rowHeight>200&&(i.minAspectRatio=80/n),t<=768?i.margin=6:t<=768?i.margin=8:i.rowHeight<160?i.margin=6:i.rowHeight<200?i.margin=8:i.margin=20,i.rowHeight<3*r&&e<10&&(i.rowHeightMinMultiplier=.6,i.rowHeightMaxMultiplier=1.4),i},layoutItems:function(e,t){return this._layoutItems(e,t,0,0)},layoutItemsFrom:function(e,t,r,n){return this._layoutItems(e,t,r,n)},_layoutItems:function(e,t,r,n){var i,a=t.rowHeight,o=t.margin,s=t.minRowHeight,l=t.maxRowHeight,c=t.minAspectRatio,u=t.footerHeight,p=void 0===u?0:u;e=e.map((function(e){return Math.max(c,e)}));var d=this._calculateBreaks(e,t),m=this._calculateNaturalSnaps(t);ar("layoutItem breaks",d),ir("calculateLayoutItems aspectRatiosCount: ".concat(e.length," width: ").concat(t.width,", rowHeight: ").concat(a,", minRowHeight: ").concat(s,", maxRowHeight: ").concat(l,", startX: ").concat(r,", startY: ").concat(n,", naturalSnaps = ").concat(m,", snaps: [").concat(null===(i=t.snaps)||void 0===i?void 0:i.join(", "),"], margin: ").concat(o,", canOmitFinalRowIfBad: ").concat(t.canOmitFinalRowIfBad)),ar("calculateLayoutItems aspectRatios",e);for(var h=-1,v=new Array,g=n,f=0;f<d.length;f++){var b,y,_,w,k=d[f],Z=k-h,x=e.slice(h+1,k+1),S=t.width-o*(Z-1),$=0;for(y=0;y<x.length;y++)$+=x[y];ar("calculateLayoutItems break ".concat(f,", numItems: ").concat(Z,", availWidth: ").concat(S,", totalAspectRatio: ").concat($));var A=S/$,C=A>l,T=A<s,P=!1;if(f===d.length-1)if(t.canOmitFinalRowIfBad){if(C||T)break}else C&&(A=a,P=!0);if(T){var z,E=0,O=1/0,I=(0,tr.Z)(x);try{for(I.s();!(z=I.n()).done;)(b=z.value)>=3&&(E+=b,b<O&&(O=b))}catch(e){I.e(e)}finally{I.f()}if(E>0){for(_=(S/a-$+E)/E,_=Math.max(_,3/O),$=0,y=0;y<x.length;y++)(b=x[y])>=3&&(b*=_,x[y]=b),$+=b;A=S/$}}_=A,A=Math.max(s,Math.min(l,Math.round(A)))+p;var R=this._calculateLayoutWidths(t,x,_,0,t.width,m,t.snaps,P),j=w=0,N=[];for(y=0;y<R.length;y++){w+=R[y];var D=Math.round(w)+y*o,L=D-j;v.push({left:r+j,top:g,width:L,height:A}),N.push(D+o/2),j+=L+o}h=k,g+=A+o,N.pop()}return v},_createIntArray:function(e){return"undefined"!=typeof Int32Array&&null!==Int32Array?new Int32Array(e):new Array(e)},_createFloatArray:function(e){return"undefined"!=typeof Float64Array&&null!==Float64Array?new Float64Array(e):new Array(e)},_calculateBadness:function(e,t,r,n,i){var a;if(a=t<e?(e-t)/r:(t-e)/n,i&&a<=1)return 0;if(k.Z.is_enabled("layout_partial_lines")&&i&&t<e)return 1+100*a*a*a;var o=1+100*a*a*a;return o*o},_calculateBreaks:function(e,t){var r,n,i,a,o=e.length,s=t.rowHeight,l=s*t.minAspectRatio,c=t.width,u=this._createIntArray(o),p=this._createIntArray(o),d=this._createIntArray(o),m=i=a=0;for(n=0;n<e.length;n++){r=e[n];var h=Math.min(c,r*s);m+=h,a+=Math.min(c-h,.25*h),i+=Math.min(h-l,.25*h),u[n]=m,d[n]=a,p[n]=i}var v=new Array(o),g=new Array(o);for(n=0;n<e.length;n++){r=e[n];var f=n===o-1,b=u[n],y=d[n],_=p[n],w=0,k=n-1;0!==n&&(b-=u[n-1],y-=d[n-1],_-=p[n-1],w+=v[n-1]),w+=this._calculateBadness(t.width,b,y,_,f);for(var Z=t.width,x=n-2;x>=-1&&!((Z-=t.margin)<=0);x--){var S=t.width-Z;if(n-x>=5&&2*t.width<b)break;b=u[n],y=d[n]-S,_=p[n]-S;var $=0;-1!==x&&(b-=u[x],y-=d[x],_-=p[x],$+=v[x]),($+=this._calculateBadness(Z,b,y,_,f))<w&&(w=$,k=x)}v[n]=w,g[n]=k}ar("bestBadness, bestBreaks",g,v);for(var A=[],C=o-1;C>=0;)A.unshift(C),C=g[C];return A},_calculateNaturalSnaps:function(e){var t,r=[],n=e.width,i=e.rowHeight,a=e.margin,o=e.minAspectRatio*i,s=Math.floor(n/(o+a)),l=[],c=[2,3,5];for(t=0;t<c.length;t++){var u=c[t];if(u<=s){for(;2*u<s;)u*=2;l.push(u)}}if(l.length>0){var p,d=l.length-1,m=new Array(d),h=new Array(d),v=new Array(d);for(t=0,p=d;t<=p;t++)m[t]=1,h[t]=m[t]/l[t],v[t]=n-(l[t]-1)*a;for(;;){var g,f,b,y=0,_=h[0];for(t=1,g=d;t<=g;t++)h[t]<_&&(_=h[t],y=t);var w=_*v[y];for(w+=(m[y]-.5)*a,r.push(w),t=0,f=d;t<=f;t++)h[t]===_&&(h[t]=(m[t]+=1)/l[t]);var k=!0;for(t=0,b=d;t<=b;t++)if(m[t]<l[t]){k=!1;break}if(k)break}}return r},_findClosestSnap:function(e,t){var r;if(e.length>1){for(var n=0,i=e.length-1;n<i;){var a=Math.floor(n+(i-n)/2);e[a]<t?n=a+1:i=a}if(e[r=i]!==t&&0!==r&&t-e[r-1]<e[r]-t)return e[r-1]}else r=0;return e[r]},_findBestSnap:function(e,t,r,n,i){for(var a,o=i,s=-1,l=0,c=t.length-2;l<=c;l++){var u=r+t[l]+l*n,p=this._findClosestSnap(e,u),d=Math.abs(p-u);d<o&&(o=d,s=l,a=p)}return[s,a]},_calculateLayoutWidths:function(e,t,r,n,i,a,o,s){var l,c,u=t.length,p=e.margin,d=0,m=new Array(u);if(r){for(l=0;l<t.length;l++){var h=t[l]*r;t[l]=h,d+=h,m[l]=d}c=u>1}else{for(l=0;l<t.length;l++)d+=t[l],m[l]=d;c=u>0}if(c){var v=this._findBestSnap(o,m,n,p,e.maxSnapDelta),g=(0,er.Z)(v,2),f=g[0],b=g[1];if(-1===f){var y=this._findBestSnap(a,m,n,p,e.maxSnapDelta),_=(0,er.Z)(y,2);f=_[0],b=_[1]}if(-1!==f){var w,k=t.slice(0,f+1),Z=t.slice(f+1),x=n,S=b-p/2,$=b+p/2,A=i,C=(S-x-f*p)/m[f];s?w=!1:(w=A-$-(u-f-2)*p,w/=d-m[f]);var T=this._calculateLayoutWidths(e,k,C,x,S,a,o),P=this._calculateLayoutWidths(e,Z,w,$,A,a,o,s);return T.concat(P)}}return t}};(0,rr.Z)("grid_layout:gridhelper"),(0,rr.Z)("grid_layout_verbose:gridhelper");const sr=function(){var e,t,r,n=(e=function(){function e(){(0,l.Z)(this,e),(0,s.Z)(this,"viewWidth",t,this),(0,s.Z)(this,"viewHeight",r,this)}return(0,c.Z)(e,[{key:"reset",value:function(){}},{key:"segmentP",value:function(e,t){var r,n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return r=function(){return n.calculate.apply(n,arguments)},!e||e.length<1?Promise.resolve([{layoutItemsFunction:r,fragments:[],finished:t}]):Promise.resolve([{layoutItemsFunction:r,fragments:e,finished:t,id:i}])}},{key:"calculate",value:function(e,t,r,n,i,a){return[]}}]),e}(),t=(0,v.Z)(e.prototype,"viewWidth",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),r=(0,v.Z)(e.prototype,"viewHeight",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),e);return n.prototype.photoViewClassName="",n}.call(void 0),lr=function(e){(0,m.Z)(r,e);var t=(0,h.Z)(r);function r(e){var n;return(0,l.Z)(this,r),(n=t.call(this)).rowHeightOverride=e,n.reset(),n}return(0,c.Z)(r,[{key:"reset",value:function(){return this.segmentCache={}}},{key:"calculate",value:function(e,t,r,n,i,a){var o,s,l,c,u,p,d,m,h,v,g;return e&&e.fragments?(null==(l=this.segmentCache)[m=e.id]&&(l[m]={items:[],startY:a,startX:i}),(c=this.segmentCache[e.id]).startY===a&&c.startX===i||(c.items=[],c.startY=a,c.startX=i),g=Math.max(n-2-2,0),this.rowWidth=g,c.items.length>0?(p=e.fragments.slice(c.items.length),v=(d=c.items[c.items.length-1]).top+d.height+2):(p=e.fragments,v=2+a),s=p.map((function(e){return e.width/e.height})),u=or.defaultConfig(g,r),null!=this.rowHeightOverride&&(u.rowHeight=this.rowHeightOverride),u.margin=2,u.canOmitFinalRow=!e.finished,h=or.layoutItemsFrom(s,u,2+i,v),(o=c.items).push.apply(o,(0,z.Z)(h)),c.items):[]}}]),r}(sr);var cr=r(616523),ur={};ur.styleTagTransform=ge(),ur.setAttributes=de(),ur.insert=ue().bind(null,"head"),ur.domAPI=le(),ur.insertStyleElement=he(),oe()(cr.Z,ur);const pr=cr.Z&&cr.Z.locals?cr.Z.locals:void 0;var dr,mr={make:function(e){return(mr=e.makeComponent(Y,{attributes:[{name:"margin",value:4},{name:"mapping",get:function(){if(this.$_view)return dr},set:function(e){this.$_view&&(dr=e)}},{name:"assetSource",get:function(){var e=this.$_view;if(e)return e.$_scope._this.assetSource},original:"asset-source",set:function(e){var t=this.$_view;t&&(t.$_scope._this.assetSource=e)}}],blocks:[{name:"children",template:e.makeComponent(A.Z,{args:2,props:{getCollection:function(e){return e.$_parent.$_scope._this.segmentedAssets.segments}},blocks:[{name:"children",template:n.ZP.make({render:function(e,t){var r=t.photosSegmentHeaderItem=fr.make(e);r.$_parent=t,r.template.run(e,r);var n=t.gridSegmentV2=hr.make(e);n.$_parent=t,n.template.run(e,n)},dispose:function(e,t){t.photosSegmentHeaderItem.template.dispose(e,t.photosSegmentHeaderItem),t.gridSegmentV2.template.dispose(e,t.gridSegmentV2)},move:function(e,t){t.photosSegmentHeaderItem.template.move(e,t.photosSegmentHeaderItem),t.gridSegmentV2.template.move(e,t.gridSegmentV2)},reuse:function(e,t){t.photosSegmentHeaderItem.template.reuse(e,t.photosSegmentHeaderItem),t.gridSegmentV2.template.reuse(e,t.gridSegmentV2)},firstChild:function(e,t){return t.photosSegmentHeaderItem.template.firstChild(e,t.photosSegmentHeaderItem)},lastChild:function(e,t){return t.gridSegmentV2.template.lastChild(e,t.gridSegmentV2)}})}]})}],events:[{name:"needs-layout",value:br}],init:function(e,t){e.$_scope._this.gridScroll=t},dispose:function(e,t){e.$_scope._this.gridScroll=null}})).make(e)}},hr={make:function(e){return(hr=e.makeComponent(Zt,{attributes:[{name:"margin",value:4},{name:"layoutItems",get:function(){var e=this.$_view;if(e)return e.$_parent.v0.layoutItems},set:function(e){var t=this.$_view;t&&(t.$_parent.v0.layoutItems=e)}}],blocks:[{name:"children",template:e.makeComponent(A.Z,{args:1,props:{getCollection:function(e){return e.$_parent.$_parent.v0.layoutItems}},blocks:[{name:"children",template:e.makeComponent(B.x,{attributes:[{name:"id",get:function(){var e=this.$_view;if(e)return e.v0.id},set:function(e){var t=this.$_view;t&&(t.v0.id=e)}},{name:"photoViewClassName",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.layout.photoViewClassName},original:"photo-view-class-name",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.layout.photoViewClassName=e)}},{name:"controlsRenderers",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.controlsRenderers},original:"controls-renderers",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.controlsRenderers=e)}},{name:"asset",get:function(){var e=this.$_view;if(e)return e.v0.asset},set:function(e){var t=this.$_view;t&&(t.v0.asset=e)}},{name:"source",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.source},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.source=e)}},{name:"position",get:function(){var e=this.$_view;if(e)return e.v0.position},set:function(e){var t=this.$_view;t&&(t.v0.position=e)}},{name:"left",get:function(){var e=this.$_view;if(e)return e.v0.left},set:function(e){var t=this.$_view;t&&(t.v0.left=e)}},{name:"top",get:function(){var e=this.$_view;if(e)return e.v0.top+e.$_parent.$_parent.$_parent.v0.view.top}},{name:"width",get:function(){var e=this.$_view;if(e)return e.v0.width},set:function(e){var t=this.$_view;t&&(t.v0.width=e)}},{name:"height",get:function(){var e=this.$_view;if(e)return e.v0.height},set:function(e){var t=this.$_view;t&&(t.v0.height=e)}}],events:[{name:"click",value:gr},{name:"select-toggle",value:vr}]})}]})}],init:function(e,t){e.$_parent.v0.view=t},dispose:function(e,t){e.$_parent.v0.view=null}})).make(e)}};function vr(e){var t=this.$_view;if(t)return t.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.trigger("toggle-asset-select",e,t.v0.asset)}function gr(e){var t=this.$_view;if(t)return t.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.trigger("asset-click",e,t.v0.asset)}var fr={make:function(e){return(fr=e.makeComponent(yt,{attributes:[{name:"dateFormat",value:"month"},{name:"class",get:function(){if(this.$_view)return pr.sdkHeader},set:function(e){this.$_view&&(pr.sdkHeader=e)}},{name:"segment",get:function(){var e=this.$_view;if(e)return e.$_parent.v0},set:function(e){var t=this.$_view;t&&(t.$_parent.v0=e)}}]})).make(e)}};function br(){var e=this.$_view;e&&e.$_scope._this.needsLayout()}dr=(0,T.Z)((0,T.Z)({},B.vs),{},(0,C.Z)({},"".concat(yt.type),_t));const yr=function(){var e=function(e){(0,m.Z)(r,e);var t=(0,h.Z)(r);function r(){var e;return(0,l.Z)(this,r),(e=t.call(this)).mapItemToView(B.x,B.HI),e}return(0,c.Z)(r,[{key:"_createLayout",value:function(){return new lr(120)}},{key:"virtualScroll",get:function(){var e;return null!=(e=this.gridScroll)?e.virtualScroll:void 0}},{key:"getPhotoItemClass",value:function(){return B.x}},{key:"needsLayout",value:function(){return this.resetLayout()}},{key:"render",value:function(){return{template:mr,_this:this}}}]),r}(Qt);return e.id="_selection",e}.call(void 0);var _r,wr=r(323643),kr=r(572261),Zr={make:function(e){return Zr=n.ZP.make({render:function(e,t){var r=t.g=!e._group_g&&e.pushTemplateNode(Or);r&&e.enterNode(r);var n=t._if=xr.make(e);n.$_parent=t,n.template.run(e,n),r&&e.exitNode(r)},dispose:function(e,t){t._if.template.dispose(e,t._if)},move:function(e,t){t.g?e.pushNode(t.g):t._if.template.move(e,t._if)},reuse:function(e,t){t._if.template.reuse(e,t._if)},firstChild:function(e,t){return t.g||t._if.template.firstChild(e,t._if)},lastChild:function(e,t){return t.g||t._if.template.lastChild(e,t._if)}}),Zr.make(e)}},xr={make:function(e){return(xr=e.makeComponent(P.Z,{props:{getCondition:function(e){return 0===e.$_parent.$_scope._this.assetSource.length&&!0===e.$_parent.$_scope._this.assetSource.finished}},blocks:[{name:"else",template:e.makeComponent(wr.Z,{props:{getCondition:function(e){return 0===e.$_parent.$_parent.$_scope._this.assetSource.length&&!0===e.$_parent.$_parent.$_scope._this.assetSource.errored}},blocks:[{name:"else",template:e.makeComponent(Y,{attributes:[{name:"margin",value:4},{name:"mapping",get:function(){if(this.$_view)return _r},set:function(e){this.$_view&&(_r=e)}},{name:"assetSource",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this.assetSource},original:"asset-source",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this.assetSource=e)}}],blocks:[{name:"children",template:n.ZP.make({render:function(e,t){var r=t.gridSegmentV2=Cr.make(e);r.$_parent=t,r.template.run(e,r);var n=t.gridFooterItem=Ar.make(e);n.$_parent=t,n.template.run(e,n)},dispose:function(e,t){t.gridSegmentV2.template.dispose(e,t.gridSegmentV2),t.gridFooterItem.template.dispose(e,t.gridFooterItem)},move:function(e,t){t.gridSegmentV2.template.move(e,t.gridSegmentV2),t.gridFooterItem.template.move(e,t.gridFooterItem)},reuse:function(e,t){t.gridSegmentV2.template.reuse(e,t.gridSegmentV2),t.gridFooterItem.template.reuse(e,t.gridFooterItem)},firstChild:function(e,t){return t.gridSegmentV2.template.firstChild(e,t.gridSegmentV2)},lastChild:function(e,t){return t.gridFooterItem.template.lastChild(e,t.gridFooterItem)}})}],events:[{name:"needs-layout",value:Er}],init:function(e,t){e.$_parent.$_parent.$_parent.$_scope._this.gridScroll=t},dispose:function(e,t){e.$_parent.$_parent.$_parent.$_scope._this.gridScroll=null}})},{name:"children",template:e.makeComponent(kr.Z,{})}]})},{name:"children",template:n.ZP.make({render:function(e,t){e.runBinder($r,Sr,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($r,Sr,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 Sr(e,t,r,n,i,a){t.expr_binder=r,t.expr_invalidate=n;var o=t.expr_value1;(a||o!==i)&&(t.expr_value1=i,t.expr_content=e.renderContent(t.expr_content,i))}function $r(e){return e.$_parent.$_parent.$_scope._this.renderEmptyView()}var Ar={make:function(e){return(Ar=e.makeComponent(B.h5,{})).make(e)}},Cr={make:function(e){return Cr=e.makeComponent(Zt,{attributes:[{name:"margin",value:4},{name:"layoutItems",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.layoutItems},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.layoutItems=e)}}],blocks:[{name:"children",template:e.makeComponent(o.Z,{args:1,props:{getValue:function(e){return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.getPhotoItemClass()}},blocks:[{name:"children",template:e.makeComponent(A.Z,{args:1,props:{getCollection:function(e){return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.layoutItems}},blocks:[{name:"children",template:n.ZP.make({render:function(e,t){var r=t.photoItemClass_base=t.$_parent.v0,n=t.photoItemClass=Tr.make(e,r).make(e);n.$_parent=t,n.template.run(e,n)},dispose:function(e,t){t.photoItemClass.template.dispose(e,t.photoItemClass)},move:function(e,t){t.photoItemClass.template.move(e,t.photoItemClass)},reuse:function(e,t){var r=t.$_parent.v0;if(r!==t.photoItemClass_base){t.photoItemClass_base=r;var n=Tr.make(e,r).make(e);n.$_parent=t,e.replaceTemplate(t.photoItemClass,n),t.photoItemClass=n}else t.photoItemClass.template.reuse(e,t.photoItemClass)},firstChild:function(e,t){return t.photoItemClass.template.firstChild(e,t.photoItemClass)},lastChild:function(e,t){return t.photoItemClass.template.lastChild(e,t.photoItemClass)}})}]})}]})}]}),Cr.make(e)}},Tr={make:function(e,t){return(Tr=i.Z.makeDynamic({attributes:[{name:"id",get:function(){var e=this.$_view;if(e)return e.$_parent.v0.id},set:function(e){var t=this.$_view;t&&(t.$_parent.v0.id=e)}},{name:"photoViewClassName",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.layout.photoViewClassName},original:"photo-view-class-name",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.layout.photoViewClassName=e)}},{name:"controlsRenderers",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.controlsRenderers},original:"controls-renderers",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.controlsRenderers=e)}},{name:"asset",get:function(){var e=this.$_view;if(e)return e.$_parent.v0.asset},set:function(e){var t=this.$_view;t&&(t.$_parent.v0.asset=e)}},{name:"position",get:function(){var e=this.$_view;if(e)return e.$_parent.v0.position},set:function(e){var t=this.$_view;t&&(t.$_parent.v0.position=e)}},{name:"left",get:function(){var e=this.$_view;if(e)return e.$_parent.v0.left},set:function(e){var t=this.$_view;t&&(t.$_parent.v0.left=e)}},{name:"top",get:function(){var e=this.$_view;if(e)return e.$_parent.v0.top},set:function(e){var t=this.$_view;t&&(t.$_parent.v0.top=e)}},{name:"width",get:function(){var e=this.$_view;if(e)return e.$_parent.v0.width},set:function(e){var t=this.$_view;t&&(t.$_parent.v0.width=e)}},{name:"height",get:function(){var e=this.$_view;if(e)return e.$_parent.v0.height},set:function(e){var t=this.$_view;t&&(t.$_parent.v0.height=e)}}],events:[{name:"click",value:zr},{name:"select-toggle",value:Pr}]})).make(e,t)}};function Pr(e){var t=this.$_view;if(t)return t.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.trigger("toggle-asset-select",e,t.$_parent.v0.asset)}function zr(e){var t=this.$_view;if(t)return t.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.trigger("asset-click",e,t.$_parent.v0.asset)}function Er(){var e=this.$_view;e&&e.$_parent.$_parent.$_parent.$_scope._this.needsLayout()}var Or=(0,a.z)((function(e){return e.makeNode("g")}));_r=Object.assign((0,C.Z)({},"".concat(xt.x.type),xt.H),B.vs);const Ir=function(){var e,t=(e=function(e){(0,m.Z)(r,e);var t=(0,h.Z)(r);function r(){return(0,l.Z)(this,r),t.apply(this,arguments)}return(0,c.Z)(r,[{key:"_initialize",value:function(){return this.layout=this._createLayout(),this.layoutItems=new M.Z,(0,p.Z)((0,d.Z)(r.prototype),"_initialize",this).call(this)}},{key:"headerClass",get:function(){}},{key:"footerClass",get:function(){}},{key:"_createLayout",value:function(){}},{key:"getPhotoItemClass",value:function(){}},{key:"mapItemToView",value:function(e,t){return _r=Object.assign((0,C.Z)({},"".concat(e.type),t),_r)}},{key:"_computeLayoutItems",value:function(e,t){var r,n;return n={id:0,finished:(null!=(r=this.assetSource)?r.finished:void 0)||!1},N.calculateLayoutItems(this.layout,e,t,n,this.viewWidth,this.viewHeight)}},{key:"updateLayoutItems",value:function(e,t){var r,n;if((null!=e?e.length:void 0)>0){if(e.length<this.layoutItems.length||t)return n=this._computeLayoutItems(e),this.layoutItems.swapItems(n);var i;if((e=e.slice(this.layoutItems.length)).length>0)return this.layoutItems.length>0&&(r=this.layoutItems.at(this.layoutItems.length-1)),n=this._computeLayoutItems(e,r),(i=this.layoutItems).push.apply(i,(0,z.Z)(n))}}},{key:"resetLayout",value:function(){var e;return null!=(e=this.layoutItems)&&e.swapItems([]),(0,p.Z)((0,d.Z)(r.prototype),"resetLayout",this).call(this)}},{key:"album",get:function(){return this.source.album}},{key:"virtualScroll",get:function(){var e;return null!=(e=this.gridScroll)?e.virtualScroll:void 0}},{key:"renderEmptyView",value:function(){}},{key:"renderContent",value:function(){return{template:Zr,_this:this}}}]),r}(St.Z),(0,v.Z)(e.prototype,"_createLayout",[E.Z],Object.getOwnPropertyDescriptor(e.prototype,"_createLayout"),e.prototype),(0,v.Z)(e.prototype,"getPhotoItemClass",[E.Z],Object.getOwnPropertyDescriptor(e.prototype,"getPhotoItemClass"),e.prototype),e);return t.id="_collection",t}.call(void 0),Rr=function(e){(0,m.Z)(r,e);var t=(0,h.Z)(r);function r(){var e;return(0,l.Z)(this,r),(e=t.call(this)).mapItemToView(xt.x,xt.H),e}return(0,c.Z)(r,[{key:"_createLayout",value:function(){return new lr(120)}},{key:"getPhotoItemClass",value:function(){return xt.x}},{key:"needsLayout",value:function(){return this.resetLayout()}}]),r}(Ir);var jr={make:function(e){return(jr=e.makeComponent(H.Z,{attributes:[{name:"margin",value:4},{name:"mapping",get:function(){var e=this.$_view;if(e)return e.$_scope.themeMapping},set:function(e){var t=this.$_view;t&&(t.$_scope.themeMapping=e)}}],blocks:[{name:"children",template:e.makeComponent(Zt,{attributes:[{name:"margin",value:4},{name:"layoutItems",get:function(){var e=this.$_view;if(e)return e.$_parent.$_scope._this.layoutItems},set:function(e){var t=this.$_view;t&&(t.$_parent.$_scope._this.layoutItems=e)}}],blocks:[{name:"children",template:e.makeComponent(A.Z,{args:1,props:{getCollection:function(e){return e.$_parent.$_parent.$_scope._this.layoutItems}},blocks:[{name:"children",template:e.makeComponent(xt.x,{attributes:[{name:"id",get:function(){var e=this.$_view;if(e)return e.v0.id},set:function(e){var t=this.$_view;t&&(t.v0.id=e)}},{name:"photoViewClassName",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this.layout.photoViewClassName},original:"photo-view-class-name",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this.layout.photoViewClassName=e)}},{name:"asset",get:function(){var e=this.$_view;if(e)return e.v0.asset},set:function(e){var t=this.$_view;t&&(t.v0.asset=e)}},{name:"position",get:function(){var e=this.$_view;if(e)return e.v0.position},set:function(e){var t=this.$_view;t&&(t.v0.position=e)}},{name:"left",get:function(){var e=this.$_view;if(e)return e.v0.left},set:function(e){var t=this.$_view;t&&(t.v0.left=e)}},{name:"top",get:function(){var e=this.$_view;if(e)return e.v0.top},set:function(e){var t=this.$_view;t&&(t.v0.top=e)}},{name:"width",get:function(){var e=this.$_view;if(e)return e.v0.width},set:function(e){var t=this.$_view;t&&(t.v0.width=e)}},{name:"height",get:function(){var e=this.$_view;if(e)return e.v0.height},set:function(e){var t=this.$_view;t&&(t.v0.height=e)}}],events:[{name:"click",value:Dr},{name:"select-toggle",value:Nr}]})}]})}]})}],events:[{name:"needs-layout",value:Lr}],init:function(e,t){e.$_scope._this.gridScroll=t},dispose:function(e,t){e.$_scope._this.gridScroll=null}})).make(e)}};function Nr(e){var t=this.$_view;if(t)return t.$_parent.$_parent.$_parent.$_scope._this.trigger("toggle-asset-select",e,t.v0.asset)}function Dr(e){var t=this.$_view;if(t)return t.$_parent.$_parent.$_parent.$_scope._this.trigger("asset-click",e,t.v0.asset)}function Lr(){var e=this.$_view;e&&e.$_scope._this.needsLayout()}const Mr=function(){var e,t=function(t){(0,m.Z)(n,t);var r=(0,h.Z)(n);function n(){return(0,l.Z)(this,n),r.apply(this,arguments)}return(0,c.Z)(n,[{key:"_initialize",value:function(){return this.layout=new lr(120),this.layoutItems=new M.Z,(0,p.Z)((0,d.Z)(n.prototype),"_initialize",this).call(this)}},{key:"headerClass",get:function(){}},{key:"footerClass",get:function(){}},{key:"updateLayoutItems",value:function(e,t){var r;if((null!=e?e.length:void 0)>0)return r=N.calculateLayoutItems(this.layout,e,void 0,{id:0,finished:!0},this.viewWidth,this.viewHeight),this.layoutItems.swapItems(r)}},{key:"resetLayout",value:function(){return this.layoutItems.length=0,(0,p.Z)((0,d.Z)(n.prototype),"resetLayout",this).call(this)}},{key:"virtualScroll",get:function(){var e;return null!=(e=this.gridScroll)?e.virtualScroll:void 0}},{key:"renderContent",value:function(){return{template:jr,get themeMapping(){return e},set themeMapping(t){e=t},_this:this}}}]),n}(St.Z);return e=Object.assign((0,C.Z)({},"".concat(xt.x.type),xt.H),B.vs),t}.call(void 0);var Br=r(40322),Fr={};Fr.styleTagTransform=ge(),Fr.setAttributes=de(),Fr.insert=ue().bind(null,"head"),Fr.domAPI=le(),Fr.insertStyleElement=he(),oe()(Br.Z,Fr);const Hr=Br.Z&&Br.Z.locals?Br.Z.locals:void 0;var Ur,qr,Vr,Wr,Jr,Gr,Kr;e=r.hmd(e);var Yr={make:function(e){return Yr=n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(on);an(t,r),e.enterNode(r),e.runBinder(nn,rn,t,!0);var n=t.using=Xr.make(e);n.$_parent=t,n.template.run(e,n),e.exitNode(r)},dispose:function(e,t){e.removeSignals(t.div_class_binder,t.div_class_invalidate),t.using.template.dispose(e,t.using),an(t,null)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){an(t,t.div),e.runBinder(nn,rn,t,!1),t.using.template.reuse(e,t.using)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}}),Yr.make(e)}},Xr={make:function(e){return Xr=e.makeComponent(o.Z,{args:1,props:{getValue:function(e){return e.$_parent.$_scope._this._theme}},blocks:[{name:"children",template:n.ZP.make({render:function(e,t){var r=t.sourceRenderer_base=t.v0,n=t.sourceRenderer=Qr.make(e,r).make(e);n.$_parent=t,n.template.run(e,n)},dispose:function(e,t){t.sourceRenderer.template.dispose(e,t.sourceRenderer)},move:function(e,t){t.sourceRenderer.template.move(e,t.sourceRenderer)},reuse:function(e,t){var r=t.v0;if(r!==t.sourceRenderer_base){t.sourceRenderer_base=r;var n=Qr.make(e,r).make(e);n.$_parent=t,e.replaceTemplate(t.sourceRenderer,n),t.sourceRenderer=n}else t.sourceRenderer.template.reuse(e,t.sourceRenderer)},firstChild:function(e,t){return t.sourceRenderer.template.firstChild(e,t.sourceRenderer)},lastChild:function(e,t){return t.sourceRenderer.template.lastChild(e,t.sourceRenderer)}})}]}),Xr.make(e)}},Qr={make:function(e,t){return(Qr=i.Z.makeDynamic({attributes:[{name:"source",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this._source},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this._source=e)}},{name:"viewWidth",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this._viewWidth},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this._viewWidth=e)}},{name:"viewHeight",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this._viewHeight},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this._viewHeight=e)}}],events:[{name:"asset-click",value:tn},{name:"toggle-asset-select",value:en}],init:function(e,t){e.$_parent.$_parent.$_parent.$_scope._this._sourceComponent=t},dispose:function(e,t){e.$_parent.$_parent.$_parent.$_scope._this._sourceComponent=null}})).make(e,t)}};function en(e,t){var r=this.$_view;r&&r.$_parent.$_parent.$_parent.$_scope._this._onAssetClick(e,t)}function tn(e,t){var r=this.$_view;r&&r.$_parent.$_parent.$_parent.$_scope._this._onAssetClick(e,t)}function rn(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function nn(e){return Hr.view}function an(e,t){e.$_scope._this._contentElement=t}var on=(0,a.z)((function(e){return e.makeNode("div")})),sn=(0,g.Z)((0,f.Z)("AssetSourceContent",{fork:!0,events:["selected-changed","double-click"]}),e,"AssetSourceContent")((qr=function(e){(0,m.Z)(r,e);var t=(0,h.Z)(r);function r(){var e;(0,l.Z)(this,r),e=t.call(this),(0,s.Z)(e,"context",Vr,(0,u.Z)(e)),(0,s.Z)(e,"_viewWidth",Wr,(0,u.Z)(e)),(0,s.Z)(e,"_viewHeight",Jr,(0,u.Z)(e)),(0,s.Z)(e,"_source",Gr,(0,u.Z)(e)),(0,s.Z)(e,"_theme",Kr,(0,u.Z)(e)),Z.Z.libraryPages=!0,Z.Z.imageCache.setUseOzCredentials(!0),e.scope.delegate=(0,u.Z)(e),e.scope.allowEditing=!0,e.scope.defineObservable("assetSource");var n=e.scope.touchMapper=new x.Z;return e.link(new S.Z(n,(0,u.Z)(e))),e.scope.selectionController=new $.Z,e.listenTo(e.scope.selectionController,"double-click",(function(t){return e.trigger("double-click",t)})),e.watch((function(){return e.scope.selectionController.selection}),(function(t){return e.trigger("selected-changed",t)})),e.watch((function(){return e.context}),(function(t){var r,n,i,a;null!=t&&t.assets&&(a=Mr),"catalog"===(null==t||null===(r=t.source)||void 0===r?void 0:r.type)&&(a=yr),"album"===(null==t||null===(n=t.source)||void 0===n?void 0:n.type)&&(a=Rr),"search"===(null==t||null===(i=t.source)||void 0===i?void 0:i.type)&&(a=Rr);var o=(null==t?void 0:t.assets)||e.scope.assetSourceManager.assetsOfSource(null==t?void 0:t.source);e._theme=a,e._source=o?{assets:o}:void 0,e.scope.selectionController.sourceChanged(o,null==t?void 0:t.preselected),e.scope.assetSource=o})),e}return(0,c.Z)(r,[{key:"attached",value:function(){(0,p.Z)((0,d.Z)(r.prototype),"attached",this).call(this),this._updateSize(),this.link((0,w.Oo)(window,"resize",this._updateSize))}},{key:"_updateSize",value:function(){this._viewWidth=this._contentElement.offsetWidth,this._viewHeight=this._contentElement.offsetHeight}},{key:"containsElement",value:function(e){var t;return null===(t=this._contentElement)||void 0===t?void 0:t.contains(e)}},{key:"virtualScroll",get:function(){var e;return null===(e=this._sourceComponent)||void 0===e?void 0:e.virtualScroll}},{key:"_onAssetClick",value:function(e,t){this.scope.singleSelect&&!this.scope.selectionController.isSelected(t.id)&&this.scope.selectionController.clear(),this.scope.selectionController.select(t,e.shiftKey)}},{key:"render",value:function(){return{template:Yr,_this:this}}}]),r}(i.Z),Vr=(0,v.Z)(qr.prototype,"context",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Wr=(0,v.Z)(qr.prototype,"_viewWidth",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),Jr=(0,v.Z)(qr.prototype,"_viewHeight",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),Gr=(0,v.Z)(qr.prototype,"_source",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Kr=(0,v.Z)(qr.prototype,"_theme",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,v.Z)(qr.prototype,"_updateSize",[b.Z],Object.getOwnPropertyDescriptor(qr.prototype,"_updateSize"),qr.prototype),Ur=qr))||Ur},267333:(e,t,r)=>{"use strict";r.d(t,{Z:()=>C});var n,i,a,o=r(725115),s=r(568121),l=r(282466),c=r(89211),u=r(143681),p=r(236229),d=r(668962),m=r(749886),h=r(673136),v=r(588816),g=r(878537),f=r(54262),b=r(704083),y=(r(893248),r(573467),r(693508),r(77034)),_=r(647509),w=r(337720),k=r(149567);e=r.hmd(e);var Z={make:function(e){return(Z=e.makeComponent(y.UQ,{attributes:[{name:"size",get:function(){if(this.$_view)return $},set:function(e){this.$_view&&($=e)}},{name:"margin",get:function(){if(this.$_view)return A},set:function(e){this.$_view&&(A=e)}}],blocks:[{name:"children",template:e.makeComponent(s.Z,{args:1,props:{getCollection:function(e){return e.$_parent.$_scope._this.assets}},blocks:[{name:"children",template:e.makeComponent(_.x,{attributes:[{name:"id",get:function(){var e=this.$_view;if(e)return e.v0.id},set:function(e){var t=this.$_view;t&&(t.v0.id=e)}},{name:"delegate",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this}},{name:"asset",get:function(){var e=this.$_view;if(e)return e.v0},set:function(e){var t=this.$_view;t&&(t.v0=e)}}],events:[{name:"click",value:S},{name:"select-toggle",value:x}]})}]})}]})).make(e)}};function x(e){var t=this.$_view;t&&t.$_parent.$_parent.$_scope._this._onAssetClick(e,t.v0)}function S(e){var t=this.$_view;t&&t.$_parent.$_parent.$_scope._this._onAssetClick(e,t.v0)}var $=120,A=2,C=(0,v.Z)((0,f.Z)("LrGridBlock",{events:["selected-changed","double-click"]}),e,"LrGridBlock")((i=function(e){(0,d.Z)(r,e);var t=(0,m.Z)(r);function r(){var e;return(0,c.Z)(this,r),e=t.call(this),(0,l.Z)(e,"context",a,(0,p.Z)(e)),w.Z.libraryPages=!0,w.Z.imageCache.setUseOzCredentials(!0),e.scope.delegate=(0,p.Z)(e),e.scope.allowEditing=!0,e.scope.defineObservable("assetSource"),e.scope.selectionController=new k.Z,e.listenTo(e.scope.selectionController,"double-click",(function(t){return e.trigger("double-click",t)})),e.watch((function(){return e.scope.selectionController.selection}),(function(t){return e.trigger("selected-changed",t)})),e.watch((function(){return e.context}),(function(t){var r,n=null==t||null===(r=t.source)||void 0===r?void 0:r.assets;e.scope.selectionController.sourceChanged(n,null==t?void 0:t.preselected),e.scope.assetSource=n})),e}return(0,u.Z)(r,[{key:"_source",get:function(){var e;return null===(e=this.context)||void 0===e?void 0:e.source}},{key:"assets",get:function(){var e,t,r=null===(e=this._source)||void 0===e||null===(t=e.assets)||void 0===t?void 0:t.modelsBindable;return r?r.toArray().slice(0,100):[]}},{key:"_onAssetClick",value:function(e,t){this.scope.singleSelect&&!this.scope.selectionController.isSelected(t.id)&&this.scope.selectionController.clear(),this.scope.selectionController.select(t,e.shiftKey)}},{key:"render",value:function(){return{template:Z,_this:this}}}],[{key:"map",value:function(){return(0,o.Z)({},_.x.type,_.HI)}}]),r}(g.Z),a=(0,h.Z)(i.prototype,"context",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),n=i))||n},149567:(e,t,r)=>{"use strict";r.d(t,{Z:()=>z});var n,i=r(89211),a=r(143681),o=r(736781),s=r(993184),l=r(668962),c=r(749886),u=(r(373636),r(582909),r(573467),r(508460),r(819785),r(824098),r(816221),r(321500),r(290671),r(17938),r(886023),r(673136)),p=r(412333),d=(r(913688),r(112957)),m={1:"singleTap",2:"doubleTap"},h=null,v=(n=function(e){(0,l.Z)(r,e);var t=(0,c.Z)(r);function r(){var e;return(0,i.Z)(this,r),(e=t.call(this)).deltaBetweenTaps=200,e.taps=null,e}return(0,a.Z)(r,[{key:"tap",value:function(e,t){if(this.taps){var r=Date.now();r-this.taps.lastTap<this.deltaBetweenTaps?++this.taps.count:(this.taps.count=1,this.taps.model=e),this.taps.config=t,this.taps.lastTap=r}else this.taps={config:t,count:1,model:e,lastTap:Date.now()};h&&(clearTimeout(h),h=null),2!==this.taps.count?(this.trigger("earlyTap",this.taps.model,this.taps.config),h=setTimeout(this.onTapRecognized,this.deltaBetweenTaps)):this.onTapRecognized(e)}},{key:"onTapRecognized",value:function(e){this.taps&&(this.trigger(m[this.taps.count],e,this.taps.config,this.taps.model),this.taps=null)}}]),r}(d.Z),(0,u.Z)(n.prototype,"onTapRecognized",[p.Z],Object.getOwnPropertyDescriptor(n.prototype,"onTapRecognized"),n.prototype),n),g=r(282466),f=r(236229),b=r(548967);function y(e,t,r,n,i){return void 0===i&&(i=function(e,t){return e<t}),function(e,t,r,n){for(var i=(t|=0)-(e|=0);0!==i;){var a=i>>1,o=e+a;n(r(o))?(e=o+1,i-=a+1):i=a}return 0|e}(e,t,r,(function(e){return!i(n,e)}))}function _(e,t,r){for(e|=0,t|=0;e!==t;)r(e),++e}function w(e,t,r,n){!function(e,t,r,n){_(e,t,(function(e){return n(r(e))}))}(e,t,r,n)}r(470373),r(19067),r(888784),r(8856),r(64209),r(893248),r(973774),r(923304),r(328614);var k,Z,x,S,$=-2147483648,A=2147483647,C=function(){function e(){(0,i.Z)(this,e),this._indices=void 0,this._indices=e._arrayCopy(arguments)}return(0,a.Z)(e,[{key:"_push",value:function(e){this._indices.push(e)}},{key:"_op",value:function(t,r){var n=this,i=new e;return function(e,t,r,n,i,a,o,s){e|=0,t|=0,n|=0,i|=0;for(var l=!1,c=!1,u=!!o(l,c);e!==t&&n!==i;){var p=0|r(e),d=0|a(n),m=0;p<=d&&(l=!l,++e,m=p),d<=p&&(c=!c,++n,m=d),o(l,c)!==u&&(s(m),u=!u)}u!==o(!l,c)&&w(e,t,r,s),u!==o(l,!c)&&w(n,i,a,s)}(0,this._indices.length,(function(e){return n._indices[e]}),0,r.length,(function(e){return r[e]}),t,(function(e){return i._push(e)})),i}},{key:"_position",value:function(e){var t=this;return e|=0,y(0,this._indices.length,(function(e){return t._indices[e]}),e)}},{key:"and",value:function(){return this._op((function(e,t){return e&&t}),e._arrayView(arguments))}},{key:"intersection",value:function(){return this.and.apply(this,arguments)}},{key:"or",value:function(){return this._op((function(e,t){return e||t}),e._arrayView(arguments))}},{key:"union",value:function(){return this.or.apply(this,arguments)}},{key:"xor",value:function(){return this._op((function(e,t){return e!==t}),e._arrayView(arguments))}},{key:"not",value:function(){return this.xor(!0)}},{key:"complement",value:function(){return this._op((function(e,t){return e&&!t}),e._arrayView(arguments))}},{key:"isEqual",value:function(){var t=this._indices,r=e._arrayView(arguments);return function(e,t,r,n,i,a,o){if((t|=0)-(e|=0)!=(i|=0)-(n|=0))return!1;for(void 0===o&&(o=function(e,t){return e===t});e!==t;){if(!o(r(e),a(n)))return!1;++e,++n}return!0}(0,t.length,(function(e){return t[e]}),0,r.length,(function(e){return r[e]}))}},{key:"at",value:function(e){return!!(1&this._position(e))}},{key:"set",value:function(e,t){return t?this.or(e,e+1):this.complement(e,e+1)}},{key:"count",value:function(e,t){var r=0;return this.subranges(e,t,(function(e,t,n){n&&(r+=t-e)})),r}},{key:"subranges",value:function(e,t,r){var n=this;!function(e,t,r,n,i,a){if(t|=0,(n|=0)!=(i|=0)){for(var o=y(0,t,r,n),s=!!(o-0&1);o!==t;){var l=r(o);if(!(l<i))break;a(n,l,s),n=l,s=!s,++o}a(n,i,s)}}(0,this._indices.length,(function(e){return n._indices[e]}),e,t,r)}},{key:"forEach",value:function(e,t,r){this.subranges(e,t,(function(e,t,n){_(e,t,(function(e){return r(e,n)}))}))}},{key:"forEachMatch",value:function(e,t,r,n){this.subranges(e,t,(function(e,t,i){i===r&&_(e,t,(function(e){return n(e,i)}))}))}},{key:"toString",value:function(){return this._indices.toString()}}],[{key:"_arrayCopy",value:function(t){return 0===t.length||"number"==typeof t[0]?Array.from(t):1===t.length&&"boolean"==typeof t[0]?t[0]?[$,A]:[]:t[0]instanceof e?t[0]._indices:t[0].slice()}},{key:"_arrayView",value:function(t){return 0===t.length||"number"==typeof t[0]?t:1===t.length&&"boolean"==typeof t[0]?t[0]?[$,A]:[]:t[0]instanceof e?t[0]._indices:t[0]}}]),e}();r(41332);const T=(k=function(e){(0,l.Z)(r,e);var t=(0,c.Z)(r);function r(){var e;return(0,i.Z)(this,r),e=t.call(this),(0,g.Z)(e,"region",Z,(0,f.Z)(e)),(0,g.Z)(e,"extendedRegion",x,(0,f.Z)(e)),(0,g.Z)(e,"_assets",S,(0,f.Z)(e)),e.lastSelectedId=null,e.clear(),e}return(0,a.Z)(r,[{key:"sourceChanged",value:function(e){return this.clear(),this._assets=e}},{key:"select",value:function(e,t,r){if(null!=this.assets)return t?null!=this.extendedSelectionPivot?this.extendedTo===e?(this.extendedRegion=null,this.extendedTo=null):this._extendSelectionTo(e):this._select(e,r)?this.extendedSelectionPivot=e:void 0:(this.extendedSelectionPivot=this.isSelected(e)?null:e,this._select(e,r))}},{key:"_select",value:function(e){var t,r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t=this._selectionIndexForId(e),r?null!=t&&(this.region=this.region.set(t,!this.region.at(t))):null!=t&&(this.region=this.region.set(t,!0)),this.region.at(t)}},{key:"clear",value:function(){return this.extendedSelectionPivot=null,this.extendedRegion=null,this.extendedTo=null,this.region=new C,this.extendSelectionData=null}},{key:"isSelected",value:function(e){var t;return null!=(t=this._selectionIndexForId(e))&&(this.region.at(t)||null!=this.extendedRegion&&this.extendedRegion.at(t))}},{key:"selectedAssetIds",get:function(){return this.selectedAssets.map((function(e){return e.id}))}},{key:"selectedAssets",get:function(){var e,t=this;return e=[],(null!=this.extendedRegion?this.region.or(this.extendedRegion):this.region).forEachMatch(0,this.totalCount,!0,(function(r){var n;if(!(n=t.assets.at(r)).isLayoutSegment())return e.push(n)})),e}},{key:"count",get:function(){return null==this.assets?0:(null!=this.extendedRegion?this.region.or(this.extendedRegion):this.region).count(0,this.totalCount)}},{key:"_selectionIndexForId",value:function(e){return this.indexOf(e)}},{key:"_mergeExtendedSelection",value:function(){if(this.extendedRegion)return this.region=this.region.or(this.extendedRegion),this.extendedRegion=null}},{key:"extendedSelectionPivot",get:function(){return this._extendedSelectionPivot},set:function(e){return this._mergeExtendedSelection(),this._extendedSelectionPivot=e}},{key:"_extendSelectionTo",value:function(e){var t,r,n,i,a,o,s,l;if(e&&null!=this.extendedSelectionPivot){if((n=this.assets.index(this.extendedSelectionPivot))>(l=this.assets.index(e))){var c=[l,n];n=c[0],l=c[1]}for(r=[],t=i=n,s=l;i<=s;t=i+=1)r.push(this.assets.at(t).id);return(a=r.map(this._selectionIndexForId)).sort((function(e,t){return e-t})),o=a.reduce((function(e,t){var r;return null!=(r=e.slice(-1))[0]&&r[0]===t?(e.splice(-1,1,t+1),e):(e.push(t,t+1),e)}),[]),this.extendedRegion=new C(o),this.extendedTo=e}}},{key:"assets",get:function(){return this._assets}},{key:"totalCount",get:function(){var e;return(null!=(e=this.assets)?e.length:void 0)||0}},{key:"indexOf",value:function(e){var t;return null!=(t=this.assets)?t.indices[e]:void 0}}]),r}(d.Z),Z=(0,u.Z)(k.prototype,"region",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,u.Z)(k.prototype,"extendedRegion",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,u.Z)(k.prototype,"_assets",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,u.Z)(k.prototype,"_selectionIndexForId",[p.Z],Object.getOwnPropertyDescriptor(k.prototype,"_selectionIndexForId"),k.prototype),k);var P=r(283824),z=function(e){(0,l.Z)(r,e);var t=(0,c.Z)(r);function r(){var e;return(0,i.Z)(this,r),(e=t.call(this))._tapDetector=new v,e._tapDetector.deltaBetweenTaps=300,e.listenTo(e._tapDetector,"doubleTap",(function(t,r,n){n.id===t.id&&e.trigger("double-click",n.attributes.toJSON())})),e._preselectedInGrid=new P.Z,e}return(0,a.Z)(r,[{key:"sourceChanged",value:function(e,t){var n=this;if(this._sourceAssetWatch&&(this.disposeLink(this._sourceAssetWatch),this._sourceAssetWatch=null),this._preselectedInGrid=new P.Z,(0,o.Z)((0,s.Z)(r.prototype),"sourceChanged",this).call(this,e),e&&t&&t.length>0){var i={};t.forEach((function(e){return i[e]=!0})),this._sourceAssetWatch=this.watchCollection((function(){return e.modelsBindable}),(function(e){e&&e.forEach((function(e){i[e.id]&&!n._preselectedInGrid.get(e.id)&&(n.select(e,null),n._preselectedInGrid.set(e.id,e))}))}))}}},{key:"select",value:function(e,t){this._tapDetector.tap(e),(0,o.Z)((0,s.Z)(r.prototype),"select",this).call(this,e.id,t)}},{key:"clear",value:function(){this._preselectedInGrid=new P.Z,(0,o.Z)((0,s.Z)(r.prototype),"clear",this).call(this)}},{key:"selection",get:function(){var e=this,t=(0,o.Z)((0,s.Z)(r.prototype),"selectedAssets",this).filter((function(t){return!e._preselectedInGrid.has(t.id)})).map((function(e){return e.attributes.toJSON()})),n=new Map((0,o.Z)((0,s.Z)(r.prototype),"selectedAssets",this).map((function(e){return[e.id,e]})));return{selected:t,deselected:Array.from(this._preselectedInGrid.values()).filter((function(e){return!n.has(e.id)})).map((function(e){return e.attributes.toJSON()}))}}},{key:"count",get:function(){return(0,o.Z)((0,s.Z)(r.prototype),"count",this)-this._preselectedInGrid.size}}]),r}(T)},540212:(e,t,r)=>{"use strict";var n=r(85663),i=r(934331),a=r(89211),o=r(143681),s=(r(573467),r(693508),r(74462));delete s.Z.app,s.Z.sdk=!0,r(592423);const l=Symbol("Comlink.proxy"),c=Symbol("Comlink.endpoint"),u=Symbol("Comlink.releaseProxy"),p=Symbol("Comlink.thrown"),d=e=>"object"==typeof e&&null!==e||"function"==typeof e,m=new Map([["proxy",{canHandle:e=>d(e)&&e[l],serialize(e){const{port1:t,port2:r}=new MessageChannel;return h(e,t),[r,[r]]},deserialize:e=>(e.start(),f(e,[],void 0))}],["throw",{canHandle:e=>d(e)&&p in e,serialize({value:e}){let t;return t=e instanceof Error?{isError:!0,value:{message:e.message,name:e.name,stack:e.stack}}:{isError:!1,value:e},[t,[]]},deserialize(e){if(e.isError)throw Object.assign(new Error(e.value.message),e.value);throw e.value}}]]);function h(e,t=self){t.addEventListener("message",(function r(n){if(!n||!n.data)return;const{id:i,type:a,path:o}=Object.assign({path:[]},n.data),s=(n.data.argumentList||[]).map(k);let l;try{const t=o.slice(0,-1).reduce(((e,t)=>e[t]),e),r=o.reduce(((e,t)=>e[t]),e);switch(a){case"GET":l=r;break;case"SET":t[o.slice(-1)[0]]=k(n.data.value),l=!0;break;case"APPLY":l=r.apply(t,s);break;case"CONSTRUCT":l=_(new r(...s));break;case"ENDPOINT":{const{port1:t,port2:r}=new MessageChannel;h(e,r),l=function(e,t){return y.set(e,t),e}(t,[t])}break;case"RELEASE":l=void 0;break;default:return}}catch(e){l={value:e,[p]:0}}Promise.resolve(l).catch((e=>({value:e,[p]:0}))).then((e=>{const[n,o]=w(e);t.postMessage(Object.assign(Object.assign({},n),{id:i}),o),"RELEASE"===a&&(t.removeEventListener("message",r),v(t))}))})),t.start&&t.start()}function v(e){(function(e){return"MessagePort"===e.constructor.name})(e)&&e.close()}function g(e){if(e)throw new Error("Proxy has been released and is not useable")}function f(e,t=[],r=function(){}){let n=!1;const i=new Proxy(r,{get(r,a){if(g(n),a===u)return()=>Z(e,{type:"RELEASE",path:t.map((e=>e.toString()))}).then((()=>{v(e),n=!0}));if("then"===a){if(0===t.length)return{then:()=>i};const r=Z(e,{type:"GET",path:t.map((e=>e.toString()))}).then(k);return r.then.bind(r)}return f(e,[...t,a])},set(r,i,a){g(n);const[o,s]=w(a);return Z(e,{type:"SET",path:[...t,i].map((e=>e.toString())),value:o},s).then(k)},apply(r,i,a){g(n);const o=t[t.length-1];if(o===c)return Z(e,{type:"ENDPOINT"}).then(k);if("bind"===o)return f(e,t.slice(0,-1));const[s,l]=b(a);return Z(e,{type:"APPLY",path:t.map((e=>e.toString())),argumentList:s},l).then(k)},construct(r,i){g(n);const[a,o]=b(i);return Z(e,{type:"CONSTRUCT",path:t.map((e=>e.toString())),argumentList:a},o).then(k)}});return i}function b(e){const t=e.map(w);return[t.map((e=>e[0])),(r=t.map((e=>e[1])),Array.prototype.concat.apply([],r))];var r}const y=new WeakMap;function _(e){return Object.assign(e,{[l]:!0})}function w(e){for(const[t,r]of m)if(r.canHandle(e)){const[n,i]=r.serialize(e);return[{type:"HANDLER",name:t,value:n},i]}return[{type:"RAW",value:e},y.get(e)||[]]}function k(e){switch(e.type){case"HANDLER":return m.get(e.name).deserialize(e.value);case"RAW":return e.value}}function Z(e,t,r){return new Promise((n=>{const i=new Array(4).fill(0).map((()=>Math.floor(Math.random()*Number.MAX_SAFE_INTEGER).toString(16))).join("-");e.addEventListener("message",(function t(r){r.data&&r.data.id&&r.data.id===i&&(e.removeEventListener("message",t),n(r.data))})),e.start&&e.start(),e.postMessage(Object.assign({id:i},t),r)}))}var x=r(685271),S=r(504397),$=r(846031),A=r(282466),C=r(236229),T=r(668962),P=r(749886),z=r(673136),E=r(548967),O=(r(635105),r(290671),r(816221),r(17938),r(461852)),I=r(364082),R=(r(4085),r(278387)),j=(r(35812),r(508460),r(8856),r(321500),r(893248),r(819785),r(112957)),N=r(92008),D=r(630647),L=(r(373636),r(582909),function(){function e(t){(0,a.Z)(this,e),this.folders=[],this.albums=[],this.metadata=null==t?void 0:t.attributes.toJSON(),this.parentId=null==t?void 0:t.getParentId(),this._name=null==t?void 0:t.getName(),this.isFolder=!0,this.assetRowSource=void 0,this.assetRowSeeMoreSource=void 0,this.albumRowSource=void 0}return(0,o.Z)(e,[{key:"addFolder",value:function(e){this.folders.push(e)}},{key:"addAlbum",value:function(e){this.albums.push(e)}},{key:"name",get:function(){return this._name}}]),e}()),M=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){var e;return(0,a.Z)(this,r),(e=t.call(this)).metadata={type:"internal",subtype:"albums"},e}return(0,o.Z)(r,[{key:"name",get:function(){return(0,D.zt)("$$$/organizer/all-albums=Albums")}}]),r}(L),B=function(){function e(t){(0,a.Z)(this,e),this.metadata=t,this.model=t}return(0,o.Z)(e,[{key:"name",get:function(){return(0,D.zt)("$$$/organizer/all-photos=All Photos")}}]),e}(),F=r(305365),H=r(420531),U=function(){function e(t){(0,a.Z)(this,e);for(var r=t.map((function(e){return new F.Z(e)})),n=new H.Z(r),i=r.length,o={},s=0;s<i;s++){var l=r[s];o[l.id]=s}var c={modelsBindable:n,models:r,indices:o,length:i,at:function(e){return r[e]},index:function(e){return o[e]}};this.assets=c}return(0,o.Z)(e,[{key:"name",get:function(){return(0,D.zt)("$$$/organizer/all-recent-photos=RECENTLY TAKEN")}}]),e}(),q=r(736781),V=r(993184),W=(r(457685),r(990665),r(108882),r(760567));r(587621),r(308967),r(593798),r(558901);const J=new((0,o.Z)((function e(){(0,a.Z)(this,e),this.token=!1,this.environment="prod",this.clientId="PhotoSDK3rdParty1",this.ozHost="https://photos.adobe.io"})));var G=r(962843);const K=new(function(){function e(){(0,a.Z)(this,e)}return(0,o.Z)(e,[{key:"session",set:function(e){J.token=e.accessToken,J.clientId=e.apiKey,J.ozHost=e.host}},{key:"getOzUrlP",value:function(e,t,r){return this.requestOzUrlP("GET",e,t,void 0,r)}},{key:"requestOzUrlP",value:function(e,t,r,n,i){var a=this,o=new G.Z,s=new XMLHttpRequest;if(/^http/.test(t)||(J.ozHost||console.error("Please initialize OzProvider with an ozHost"),t="".concat(J.ozHost).concat(t)),s.open(e,t,!0),s.setRequestHeader("x-api-key",J.clientId),s.setRequestHeader("x-creativesdk-versions","CreativeSDK/0.1.<development>"),s.setRequestHeader("Authorization","Bearer ".concat(J.token)),n)for(var l=0,c=Object.entries(n);l<c.length;l++){var u=(0,W.Z)(c[l],2),p=u[0],d=u[1];s.setRequestHeader(p,d)}return r&&(s.responseType=r),s.onload=function(){if(200<=s.status&&s.status<300){var e={response:s.response,contentType:s.getResponseHeader("content-type"),type:s.responseType};if("application/json"===e.contentType||"application/json;charset=utf-8"===e.contentType)try{e.responseObject=JSON.parse(a._trimWhileExpression(s.responseText))}catch(e){return console.log("Failed JSON Parse"),console.log("URL",t),console.log("Response",s.responseText),void o.reject("Failed JSON Parse")}""!==s.responseType&&"text"!==s.responseType||(e.responseText=s.responseText),o.resolve(e)}else o.reject(s.status)},i&&i.then((function(){s.abort(),o.reject("aborted")})),s.onerror=function(){var e="XHR call to Oz failed with status ".concat(s.status);o.reject(e),console.error(e)},s.send(),o.promise}},{key:"_trimWhileExpression",value:function(e){return e.replace(/^while\s*\(\s*1\s*\)\s*{\s*}\s*/,"")}}]),e}());var Y,X,Q=(Y=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(e){var n;(0,a.Z)(this,r),n=t.call(this),(0,A.Z)(n,"_coverThumbnail",X,(0,C.Z)(n));var i=e.attributes.toJSON();return n.metadata=i,n.ozAlbum=e,n.model=i,n.id=e.id,n.parentId=e.getParentId(),n.name=e.getName(),n}return(0,o.Z)(r,[{key:"package",value:function(){return this.ozAlbum.attributes.toJSON()}},{key:"loadThumbnail",value:function(){var e=this;this._loadingCover||(this._loadingCover=!0,this.ozAlbum.loadAlbumCoverP().then((function(){var t=e.ozAlbum.albumCover;t&&t.hasRendition("thumbnail2x")&&(e._coverPromiseCancel=new G.Z,K.getOzUrlP(t.getRenditionHref("thumbnail2x"),"blob",e._coverPromiseCancel.promise).then((function(t){delete e._coverPromiseCancel,e._coverThumbnail={displayUrl:URL.createObjectURL(t.response)}})).catch((function(t){delete e._coverPromiseCancel})))}),(function(e){})))}},{key:"dispose",value:function(){this._coverPromiseCancel&&(this._coverPromiseCancel.resolve(),delete this._coverPromiseCancel),this._coverThumbnail&&(URL.revokeObjectURL(this._coverThumbnail.displayUrl),this._coverThumbnail=void 0),(0,q.Z)((0,V.Z)(r.prototype),"dispose",this).call(this)}},{key:"coverThumbnail",get:function(){return this.loadThumbnail(),this._coverThumbnail}},{key:"toString",value:function(){return this.name}}]),r}(j.Z),X=(0,z.Z)(Y.prototype,"_coverThumbnail",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y),ee=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){var e;return(0,a.Z)(this,r),(e=t.call(this)).metadata={type:"internal",subtype:"connected_albums"},e}return(0,o.Z)(r,[{key:"name",get:function(){return(0,D.zt)("$$$/organizer/connected_albums=CONNECTED ALBUMS")}}]),r}(L),te=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){var e;return(0,a.Z)(this,r),(e=t.call(this)).metadata={type:"internal",subtype:"root"},e}return(0,o.Z)(r,[{key:"name",get:function(){return(0,D.zt)("$$$/organizer/root_folder=Lightroom")}}]),r}(L),re=(r(255187),r(824098),r(470373),r(19067),r(203454),r(721141),r(41332)),ne=r(784090),ie=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5;(0,a.Z)(this,e),this.requestQueue=[],this.runningRequests=0,this.finished=!1,this.failed=!1,this.deferred=null,this.maxParallelRequests=t,this.deferred=ne.Deferred()}return(0,o.Z)(e,[{key:"promise",value:function(){return this.deferred.promise()}},{key:"empty",value:function(){this.requestQueue=[]}},{key:"enqueuePromise",value:function(e){if(this.finished)throw"Enqueued on a finished RequestQueue";this.requestQueue.push(e),this._requestMore()}},{key:"_requestMore",value:function(){var e=this;if(0===this.requestQueue.length&&0===this.runningRequests&&!this.failed)return this.deferred.resolve(),void(this.finished=!0);for(;this.requestQueue.length>0&&this.runningRequests<this.maxParallelRequests;){var t=this.requestQueue.shift();this.runningRequests+=1,t().always((function(){e.runningRequests-=1,e.deferred.notify(e.requestQueue.length)})).done((function(){return e._requestMore()})).fail((function(){e.finished=!0,e.failed=!0,e.deferred.reject()}))}}}]),e}(),ae=r(253544),oe=r(189256),se=(r(322511),r(542543),r(468247),r(285397)),le=r.n(se),ce=(r(936963),r(923304),[]),ue=function(){function e(){(0,a.Z)(this,e)}return(0,o.Z)(e,null,[{key:"active",get:function(){return ce.length>0}},{key:"start",value:function(e){ce.push(e)}},{key:"end",value:function(e){var t=ce[ce.length-1];if(e!==t)throw new Error("ActionDispatcher: Expected to end "+t+", but instead ended a different action of type "+e);ce.pop()}}]),e}();ue.IMPLICIT_ACTION_PREFIX="@",ue.INIT_ACTION="@@INIT";var pe=r(697458),de=r(167822),me=r(127658),he=(r(808410),r(362499),r(367469),r(888784),r(276839),r(235750)),ve=function(){function e(){(0,a.Z)(this,e)}return(0,o.Z)(e,null,[{key:"register",value:function(t){for(var r=t.prototype.constructor.name||"Unknown",n=r,i=1;e._nameToClass[n];)n=r+i++;e._nameToClass[n]=t,t.prototype.__classLookupName=n}},{key:"lookup",value:function(t){return e._nameToClass[t]}},{key:"valueToJSON",value:function(e){return e&&e instanceof _e?{className:e.__classLookupName,json:e.toJSON()}:e}},{key:"valueFromJSON",value:function(t){if(t&&t.className&&t.json){var r=new(e.lookup(t.className));return r.fromJSON(t.json),r}return t}}]),e}();ve._nameToClass={};const ge=function(e,t,r,n){return"function"==typeof t?t.apply(void 0,[e].concat((0,R.Z)(r))):n()};var fe,be,ye=(fe=(0,o.Z)((function e(){(0,a.Z)(this,e),(0,A.Z)(this,"parent",be,this),this.name=void 0,this.middleware=void 0,this.subStores={}})),be=(0,z.Z)(fe.prototype,"parent",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),fe),_e=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(e,n){var i,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];(0,a.Z)(this,r),(i=t.call(this)).__data=new ye;var s=i.__data;return s.middleware=o?[ge]:[],n instanceof Array?s.middleware=s.middleware.concat(n):n&&s.middleware.push(n),e&&i.dispatch(ue.INIT_ACTION,e),i}return(0,o.Z)(r,[{key:"forEach",value:function(e){var t=this.__data.subStores;for(var r in t){var n=t[r];n&&e(n)}}},{key:"dispose",value:function(){(0,q.Z)((0,V.Z)(r.prototype),"dispose",this).call(this),this.forEach((function(e){return e.dispose()}))}},{key:"_isMutable",value:function(){return void 0!==this.__allowMutable?this.__allowMutable:this.__data.parent?this.__data.parent._isMutable():void 0}},{key:"_isMutableProperty",value:function(e){if(void 0!==this.__allowMutableProperties&&void 0!==this.__allowMutableProperties[e])return!0}},{key:"_linkStore",value:function(e,t){var n=this.__data.subStores;if(n[e]&&(n[e].__data.parent=void 0,n[e].__data.name=void 0,n[e]=void 0),t&&t instanceof r){if(t.__data.parent&&t.__data.parent!==this)throw new Error("The store you're attempting to assign to \""+e+'" already belongs to another store. The store hierarchy must be a tree.');n[e]=t,t.__data.parent=this,t.__data.name=e}}},{key:"_doDispatch",value:function(e,t){var n,i,a=!1;if(e===ue.INIT_ACTION)(i=(0,q.Z)((0,V.Z)(r.prototype),"fromJSON",this)).call.apply(i,[this].concat((0,R.Z)(t))),a=!0;else if(0===e.indexOf(ue.IMPLICIT_ACTION_PREFIX)){for(var o=this,s=(e=e.substring(ue.IMPLICIT_ACTION_PREFIX.length)).split(".");s.length>1;)o=o[s.shift()];var l,c=s[0];"()"===c.substring(c.length-2)?n=(l=o)[c.substring(0,c.length-2)].apply(l,(0,R.Z)(t.map(ve.valueFromJSON))):o[c]=ve.valueFromJSON.apply(ve,(0,R.Z)(t)),a=!0}else{var u=this.__actionHandlers&&this.__actionHandlers[e];u&&(u.options.async?console.warn('Ignoring an asynchronous handler for action "'+e+'" while propagating. Asynchronous actions can only be dispatched directly to the target store.'):a=!0===(n=this[u.name].apply(this,(0,R.Z)(t)))||!1===u.options.propagate)}if(a)return n;this.forEach((function(r){r._doDispatch&&r._doDispatch(e,t)}))}},{key:"_dispatchDown",value:function(e,t){var r=e.split("/");e=r.pop();for(var n=this,i=0;i<r.length;i++)if(!(n=n.__data.subStores[r[i]]))return;return n._doDispatch(e,t)}},{key:"_dispatchWithMiddleware",value:function(e,t,r){for(var n,i=this,a=arguments.length,o=new Array(a>3?a-3:0),s=3;s<a;s++)o[s-3]=arguments[s];if(r&&!ue.active)return r(this,e,t,(function(r){if(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),s=1;s<n;s++)a[s-1]=arguments[s];return i._dispatchWithMiddleware.apply(i,[r,a].concat(o))}return i._dispatchWithMiddleware.apply(i,[e,t].concat(o))}));if("string"!=typeof e){if(ue.active&&"function"==typeof e)throw new Error("Cannot dispatch an asynchronous action from a synchronous action");throw new Error("Action name must be a string")}try{ue.start(e),n=this._dispatchDown(e,t)}catch(t){throw ue.end(e,!0),t}return ue.end(e),n}},{key:"_dispatchUp",value:function(e,t,r,n){var i=this.__data.parent;if(i)return i._dispatchUp(e,t,r,this.__data.name+"/"+n);var a=this.__data.middleware;return"string"==typeof e?this._dispatchWithMiddleware.apply(this,[n+e,t].concat((0,R.Z)(a))):r._dispatchWithMiddleware.apply(r,[e,t].concat((0,R.Z)(a)))}},{key:"dispatch",value:function(e){for(var t=this.__actionHandlers&&this.__actionHandlers[e],r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return t&&t.options.async?this[t.name].apply(this,n):this._dispatchUp(e,n,this,"")}},{key:"getParentStore",value:function(){return this.__data.parent}}]),r}(he.Z),we=r(776683),ke=r.n(we),Ze=function(e){return"object"===(0,me.Z)(e)&&0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype},xe=function(e){return Array.isArray(e)&&0===e.length},Se=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(e,n){var i;return(0,a.Z)(this,r),i=t.call(this,e,n),e&&i._fromJSON(e),i}return(0,o.Z)(r,[{key:"fromJSON",value:function(e){var t=(0,q.Z)((0,V.Z)(r.prototype),"fromJSON",this).call(this,e);return this._fromJSON(e),t}},{key:"_fromJSON",value:function(e){var t,r=this.exportables,n=(0,$.Z)(r.properties);try{for(n.s();!(t=n.n()).done;){var i=t.value;delete e[r.getJsonName(i.name)]}}catch(e){n.e(e)}finally{n.f()}Object.assign(this,e)}},{key:"toJSON",value:function(){var e,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={},i=this.exportables,a=(0,$.Z)(i.properties);try{for(a.s();!(e=a.n()).done;){var o=e.value,s=o.toJSON.call(this,this[o.key],t);r&&(void 0===s||xe(s)||Ze(s))||(n[i.getJsonName(o.name)]=s)}}catch(e){a.e(e)}finally{a.f()}if(t){var l,c=(0,$.Z)(Object.getOwnPropertyNames(this));try{for(c.s();!(l=c.n()).done;){var u=l.value;"_"!==u[0]&&(n[u]=ke()(this[u]))}}catch(e){c.e(e)}finally{c.f()}}return n}}]),r}(_e),$e=r(862240);const Ae=$e.Z.makeClassDecorator((function(e,t){e.prototype.__allowMutable=t&&t.mutable,ve.register(e)}));var Ce=r(565803);const Te=$e.Z.makePropertyDecorator((function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if("function"!=typeof r.value)throw new Error("@Action can only be used with a method (the handler for the action)");if(!(e instanceof _e))throw new Error("@Action can only be used for methods on a Store");if(-1!==t.indexOf("/"))throw new Error('@Action name can\'t include the "/" character');if(-1!==t.indexOf("@"))throw new Error('@Action name can\'t include the "@" character');e.__actionHandlers=e.__actionHandlers||{},e.__actionHandlers[t]={name:t,options:n}}),{throwOnClassInvocation:"@Action must be used on a method, not a class."});var Pe,ze,Ee,Oe,Ie,Re=r(412333),je=(r(913688),r(283824)),Ne=r(20576),De=r(519299),Le=function(e,t){if(e&&(e._isMutableProperty(t)||e._isMutable())){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];return e.dispatch.apply(e,[ue.IMPLICIT_ACTION_PREFIX+t].concat((0,R.Z)(n.map(ve.valueToJSON))))}throw new Error("Attempting to set state outside of an action")};function Me(e,t,r,n,i){var a=i&&i[r],o=void 0!==a?a:e.defaultValue,s=e.fromJSON.call(n,o);n[t]=s}var Be=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){return(0,a.Z)(this,r),t.apply(this,arguments)}return(0,o.Z)(r,[{key:"add",value:function(e){var t=(0,q.Z)((0,V.Z)(r.prototype),"add",this).apply(this,arguments),n=t.set;return t.set=function(t){if(!ue.active)return Le(this,e,t);n.call(this,t),this._linkStore(e,t)},t}},{key:"computeJSONMethod",value:function(){for(var e=[],t=this.properties,r=0,n=t.length;r<n;++r){var i=t[r],a=i.name,o=this.getJsonName(i.name);e.push(Me.bind(this,i,a,o))}this.fromJSON=function(t,r){return e.forEach((function(e){return e(t,r)})),t}}}]),r}(Ne.Z),Fe=Object.getOwnPropertyDescriptor(H.Z.prototype,"length"),He=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){return(0,a.Z)(this,r),t.apply(this,arguments)}return(0,o.Z)(r,[{key:"_linkItem",value:function(e,t){this._parent._linkStore(this._name+":"+e,t)}},{key:"_linkItems",value:function(e,t){e=e||0,t=t||this.length;for(var r=e;r<t;r++)this._linkItem(r);for(var n=e;n<t;n++)this._linkItem(n,this.at(n))}},{key:"length",get:function(){return Fe.get.call(this)},set:function(e){if(ue.active){var t=this.base.length;Fe.set.call(this,e),t>e&&this._linkItems(e,t)}else Le(this._parent,this._name+".length",e)}},{key:"swapItems",value:function(e){if(!ue.active)return Le(this._parent,this._name+".swapItems()",e);var t=this.base.length;(0,q.Z)((0,V.Z)(r.prototype),"swapItems",this).call(this,e),this._linkItems(0,Math.max(t,e.length))}},{key:"setAt",value:function(e,t){if(!ue.active)return Le(this._parent,this._name+".setAt()",e,t);(0,q.Z)((0,V.Z)(r.prototype),"setAt",this).call(this,e,t),this._linkItem(e,t)}},{key:"push",value:function(){if(!ue.active)return Le.apply(void 0,[this._parent,this._name+".push()"].concat(Array.prototype.slice.call(arguments)));var e=this.length,t=(0,q.Z)((0,V.Z)(r.prototype),"push",this).apply(this,arguments);return this._linkItems(e,e+arguments.length),t}},{key:"pop",value:function(){if(!ue.active)return Le.apply(void 0,[this._parent,this._name+".pop()"].concat(Array.prototype.slice.call(arguments)));var e=(0,q.Z)((0,V.Z)(r.prototype),"pop",this).call(this);return this._linkItem(this.length),e}},{key:"unshift",value:function(){if(!ue.active)return Le.apply(void 0,[this._parent,this._name+".unshift()"].concat(Array.prototype.slice.call(arguments)));var e=(0,q.Z)((0,V.Z)(r.prototype),"unshift",this).apply(this,arguments);return this._linkItems(),e}},{key:"shift",value:function(){if(!ue.active)return Le.apply(void 0,[this._parent,this._name+".shift()"].concat(Array.prototype.slice.call(arguments)));var e=(0,q.Z)((0,V.Z)(r.prototype),"shift",this).call(this);return this._linkItems(0,this.length+1),e}},{key:"splice",value:function(){if(!ue.active)return Le.apply(void 0,[this._parent,this._name+".splice()"].concat(Array.prototype.slice.call(arguments)));var e=this.length,t=(0,q.Z)((0,V.Z)(r.prototype),"splice",this).apply(this,arguments);return this._linkItems(0,Math.max(e,this.length)),t}},{key:"fill",value:function(e,t,n){return ue.active?((0,q.Z)((0,V.Z)(r.prototype),"fill",this).call(this,e,t,n),this._linkItems(t,n),this):Le(this._parent,this._name+".fill()",e,t,n)}},{key:"reverse",value:function(){return ue.active?((0,q.Z)((0,V.Z)(r.prototype),"reverse",this).call(this),this._linkItems(),this):Le(this._parent,this._name+".reverse()")}},{key:"sort",value:function(){return ue.active?((0,q.Z)((0,V.Z)(r.prototype),"sort",this).apply(this,arguments),this._linkItems(),this):Le()}}]),r}(H.Z),Ue=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){return(0,a.Z)(this,r),t.apply(this,arguments)}return(0,o.Z)(r,[{key:"_linkItem",value:function(e,t){this._parent._linkStore(this._name+":"+e,t)}},{key:"_linkItems",value:function(e){var t,r=e||this.keys(),n=(0,$.Z)(r);try{for(n.s();!(t=n.n()).done;){var i=t.value;this._linkItem(i,this.get(i))}}catch(e){n.e(e)}finally{n.f()}}},{key:"set",value:function(e,t){return ue.active?((0,q.Z)((0,V.Z)(r.prototype),"set",this).call(this,e,t),this._linkItem(e,t),this):Le(this._parent,this._name+".set()",e,t)}},{key:"delete",value:function(e){if(!ue.active)return Le(this._parent,this._name+".delete()",e);var t=(0,q.Z)((0,V.Z)(r.prototype),"delete",this).call(this,e);return this._linkItem(e),t}},{key:"clear",value:function(){if(!ue.active)return Le(this._parent,this._name+".clear()");var e=this.keys();(0,q.Z)((0,V.Z)(r.prototype),"clear",this).call(this),this._linkItems(e)}}]),r}(je.Z);const qe=new(Pe=$e.Z.wrapPropertyDecorator,ze=$e.Z.wrapPropertyDecorator,Ee=$e.Z.wrapPropertyDecorator,Oe=$e.Z.wrapPropertyDecorator,Ie=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){var e;(0,a.Z)(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i)))._jsonPropertiesType=Be,e._arrayType=He,e._mapType=Ue,e}return(0,o.Z)(r,[{key:"byRefArray",value:function(e,t,r,n,i){if(i)throw new Error("static is not supported for @State.byRefArray");return De.Z.prototype.byRefArray.call(this,e,t,r,n,i)}},{key:"byCustomRefArray",value:function(e,t,r,n,i){if(i)throw new Error("static is not supported for @State.byCustomRefArray");return De.Z.prototype.byCustomRefArray.call(this,e,t,r,n,i)}},{key:"byRefMap",value:function(e,t,r,n,i){if(i)throw new Error("static is not supported for @State.byRefMap");return De.Z.prototype.byRefMap.call(this,e,t,r,n,i)}},{key:"mutable",value:function(e,t){e.__allowMutableProperties=e.__allowMutableProperties||{},e.__allowMutableProperties[t]={name:t}}},{key:"wrapArray",value:function(e,t,r){var n=new this._arrayType(e);return n._parent=t,n._name=r,n._linkItems(),n}},{key:"wrapMap",value:function(e,t,r){var n=new this._mapType(e);return n._parent=t,n._name=r,n._linkItems(),n}}]),r}(De.Z),(0,z.Z)(Ie.prototype,"byRefArray",[Pe],Object.getOwnPropertyDescriptor(Ie.prototype,"byRefArray"),Ie.prototype),(0,z.Z)(Ie.prototype,"byCustomRefArray",[ze],Object.getOwnPropertyDescriptor(Ie.prototype,"byCustomRefArray"),Ie.prototype),(0,z.Z)(Ie.prototype,"byRefMap",[Ee],Object.getOwnPropertyDescriptor(Ie.prototype,"byRefMap"),Ie.prototype),(0,z.Z)(Ie.prototype,"mutable",[Oe],Object.getOwnPropertyDescriptor(Ie.prototype,"mutable"),Ie.prototype),(0,z.Z)(Ie.prototype,"wrapArray",[Re.Z],Object.getOwnPropertyDescriptor(Ie.prototype,"wrapArray"),Ie.prototype),(0,z.Z)(Ie.prototype,"wrapMap",[Re.Z],Object.getOwnPropertyDescriptor(Ie.prototype,"wrapMap"),Ie.prototype),Ie)("State");var Ve,We,Je,Ge,Ke,Ye,Xe,Qe,et,tt,rt,nt,it,at,ot,st,lt,ct,ut,pt,dt,mt,ht,vt,gt,ft,bt,yt,_t,wt,kt,Zt,xt,St,$t,At,Ct,Tt,Pt,zt,Et,Ot,It,Rt,jt,Nt,Dt,Lt,Mt,Bt,Ft,Ht,Ut,qt,Vt,Wt=r(337720),Jt=r(986540),Gt=r(919894),Kt=(Ve=Ae({mutable:!0}),We=qe.byVal,Je=qe.byVal,Ge=qe.byVal,Ke=qe.byVal,Ve((Xe=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){var e;(0,a.Z)(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.Z)(e,"showTitle",Qe,(0,C.Z)(e)),(0,A.Z)(e,"showAuthor",et,(0,C.Z)(e)),(0,A.Z)(e,"showCover",tt,(0,C.Z)(e)),(0,A.Z)(e,"cover",rt,(0,C.Z)(e)),e}return(0,o.Z)(r)}(Se),Qe=(0,z.Z)(Xe.prototype,"showTitle",[We],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),et=(0,z.Z)(Xe.prototype,"showAuthor",[Je],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),tt=(0,z.Z)(Xe.prototype,"showCover",[Ge],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),rt=(0,z.Z)(Xe.prototype,"cover",[Ke],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"background"}}),Ye=Xe))||Ye),Yt=(nt=Ae({mutable:!0}),it=qe.byVal,at=qe.byVal,ot=qe.byVal,nt((lt=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){var e;(0,a.Z)(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.Z)(e,"version",ct,(0,C.Z)(e)),(0,A.Z)(e,"themeId",ut,(0,C.Z)(e)),(0,A.Z)(e,"styleId",pt,(0,C.Z)(e)),e}return(0,o.Z)(r)}(Se),ct=(0,z.Z)(lt.prototype,"version",[it],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),ut=(0,z.Z)(lt.prototype,"themeId",[at],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"Gallery"}}),pt=(0,z.Z)(lt.prototype,"styleId",[ot],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"Dark"}}),st=lt))||st),Xt=(dt=Ae({mutable:!0}),mt=qe.byRef(Kt),ht=qe.byRef(Yt),dt((gt=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){var e;(0,a.Z)(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.Z)(e,"options",ft,(0,C.Z)(e)),(0,A.Z)(e,"explore",bt,(0,C.Z)(e)),e}return(0,o.Z)(r)}(Se),ft=(0,z.Z)(gt.prototype,"options",[mt],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),bt=(0,z.Z)(gt.prototype,"explore",[ht],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),vt=gt))||vt),Qt=(yt=Ae({mutable:!0}),_t=qe.byVal,yt((kt=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){var e;(0,a.Z)(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.Z)(e,"author",Zt,(0,C.Z)(e)),e}return(0,o.Z)(r)}(Se),Zt=(0,z.Z)(kt.prototype,"author",[_t],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),wt=kt))||wt),er=(xt=Ae({mutable:!0}),St=qe.byRef(Xt),$t=qe.byRef(Qt),xt((Ct=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){var e;(0,a.Z)(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.Z)(e,"presentation",Tt,(0,C.Z)(e)),(0,A.Z)(e,"story",Pt,(0,C.Z)(e)),e}return(0,o.Z)(r,[{key:"convertToDisplay",value:function(){this.presentation.explore.version=1,this.story.author||(this.story.author=Wt.Z.account.getDefaultShareAuthor())}},{key:"revertFromDisplay",value:function(){1===this.presentation.explore.version&&(this.presentation=null)}}]),r}(Se),Tt=(0,z.Z)(Ct.prototype,"presentation",[St],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Pt=(0,z.Z)(Ct.prototype,"story",[$t],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,z.Z)(Ct.prototype,"convertToDisplay",[Te],Object.getOwnPropertyDescriptor(Ct.prototype,"convertToDisplay"),Ct.prototype),(0,z.Z)(Ct.prototype,"revertFromDisplay",[Te],Object.getOwnPropertyDescriptor(Ct.prototype,"revertFromDisplay"),Ct.prototype),At=Ct))||At),tr=(zt=qe.byRef(er),Ae((Ot=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){var e;(0,a.Z)(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.Z)(e,"payload",It,(0,C.Z)(e)),e}return(0,o.Z)(r)}(Se),It=(0,z.Z)(Ot.prototype,"payload",[zt],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Et=Ot))||Et),rr=(Rt=Ce.Z.byVal,jt=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){var e;(0,a.Z)(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.Z)(e,"name",Nt,(0,C.Z)(e)),e}return(0,o.Z)(r)}(Gt.Z),Nt=(0,z.Z)(jt.prototype,"name",[Rt],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),jt),nr=(Dt=Ce.Z.byRef(rr),Lt=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){var e;(0,a.Z)(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.Z)(e,"payload",Mt,(0,C.Z)(e)),e}return(0,o.Z)(r)}(Jt.Z),Mt=(0,z.Z)(Lt.prototype,"payload",[Dt],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Lt),ir=r(784090),ar=(Bt=function(e){(0,T.Z)(s,e);var t,r=(0,P.Z)(s);function s(){var e;(0,a.Z)(this,s);for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return e=r.call.apply(r,[this].concat(n)),(0,A.Z)(e,"albumCoverDirty",Ft,(0,C.Z)(e)),(0,A.Z)(e,"_coverAsset",Ht,(0,C.Z)(e)),(0,A.Z)(e,"_coverFallbackAsset",Ut,(0,C.Z)(e)),(0,A.Z)(e,"_coverPromise",qt,(0,C.Z)(e)),(0,A.Z)(e,"_defaultAssetOptions",Vt,(0,C.Z)(e)),e}return(0,o.Z)(s,[{key:"_getAttributesMiddleware",value:function(){return null}},{key:"_createAttributes",value:function(e){if("collection"===e.subtype){if(null!=this._attributes){ue.start("@@REINIT");var t=this._attributes.fromJSON(e);return ue.end("@@REINIT"),t}return new tr(e,this._getAttributesMiddleware())}return(0,q.Z)((0,V.Z)(s.prototype),"_createAttributes",this).call(this,e)}},{key:"setAttributes",value:function(e){var t,r,n;(0,q.Z)((0,V.Z)(s.prototype),"setAttributes",this).call(this,e),null!==(t=this._defaultAssetOptions)&&void 0!==t||(this._defaultAssetOptions=this._createDefaultAssetOptions()),this.albumCoverDirty=!0,null!==(r=this.cachedAssets)&&void 0!==r||(this.cachedAssets={}),null!==(n=this.cachedAssetCountPromises)&&void 0!==n||(this.cachedAssetCountPromises={})}},{key:"_createDefaultAssetOptions",value:function(){return null}},{key:"setDefaultAssetOptions",value:function(e){this._defaultAssetOptions=e}},{key:"assets",get:function(){return this.getAssets(this._defaultAssetOptions)},set:function(e){this._assets=e}},{key:"hasAssetLoaded",value:function(e){return null!=this.assets.get(e)}},{key:"albumCover",get:function(){var e;return null!==(e=this._coverAsset)&&void 0!==e?e:this._coverFallbackAsset}},{key:"isFallbackCover",value:function(){return null==this._coverAsset&&null!=this._coverFallbackAsset}},{key:"filtersWereConverted",get:function(){return null!=this.attributes.migratedToUnfilteredAlbum}},{key:"migratedToUnfilteredAlbumId",get:function(){var e;return null===(e=this.attributes.migratedToUnfilteredAlbum)||void 0===e?void 0:e.id}},{key:"getUserSetCoverId",value:function(){var e;return null===(e=this.attributes.payload.cover)||void 0===e?void 0:e.id}},{key:"journalHero",get:function(){return this._coverAsset}},{key:"getSpace",value:function(){return null}},{key:"_setCover",value:function(e){this._coverAsset=e,this._coverFallbackAsset=null,this.albumCoverDirty=!1}},{key:"isLoadingCover",value:function(){return null!=this._coverPromise}},{key:"isCoverLoaded",value:function(){return!this.albumCoverDirty}},{key:"hasCover",value:function(){return null!=this.getAttribute("payload").cover}},{key:"loadAlbumCoverJP",value:(t=(0,i.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.loadAlbumCoverP();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"loadAlbumCoverP",value:function(){var e=this;if(!this.albumCoverDirty)return ir.Deferred().resolve();if(null!=this._coverPromise)return this._coverPromise;var t=this.linkHref("/rels/cover_asset");if(null!=t){var r=new this.coverClass(t);this._coverPromise=r.initializedP().done((function(t){e._setCover(t)}))}else this._coverPromise=this.getOldestAssetP().done((function(t){e._setCover(null),e._coverFallbackAsset=t}));return this._coverPromise.fail((function(){e._setCover(null)})).always((function(){e._coverPromise=null}))}},{key:"getAssets",value:function(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=le()(e);null!==(r=(t=this.cachedAssets)[i])&&void 0!==r||(t[i]=new this.assetListClass("".concat(this.href,"/assets"),e));var a=this.cachedAssets[i];return a.parentAlbum=this,n&&a.reset(),a}},{key:"markAssetsDirty",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];for(var t in e&&(this.albumCoverDirty=!0),this.cachedAssetCountPromises={},this.assets.markDirty(),this.cachedAssets)this.cachedAssets[t].markDirty()}},{key:"markAssetsExceptDefaultDirty",value:function(){(!(arguments.length>0&&void 0!==arguments[0])||arguments[0])&&(this.albumCoverDirty=!0),this.cachedAssetCountPromises={};var e=le()(this._defaultAssetOptions);for(var t in this.cachedAssets){var r=this.cachedAssets[t];t!==e&&r.markDirty()}}},{key:"markCustomOrderedAssetsDirty",value:function(e){var t=le()(this._defaultAssetOptions);for(var r in this.cachedAssets){var n=this.cachedAssets[r];r===t&&e||"-"===n.options.order_after&&n.markDirty()}}},{key:"markFilteredAssetsDirty",value:function(){var e;for(var t in this.cachedAssetCountPromises={},!0===(null===(e=this.assets)||void 0===e?void 0:e.options.album_filters)&&this.assets.markDirty(),this.cachedAssets){var r=this.cachedAssets[t];!0===r.options.album_filters&&r.markDirty()}}},{key:"toString",value:function(){return this.getName()}},{key:"getName",value:function(e){var t=this.attributes.payload.name;return null!=e&&t.length>e&&(t=t.substr(0,e)),t}},{key:"setPayloadStory",value:function(e){var t,r,n=this,i=(null===(t=this.attributes.payload)||void 0===t?void 0:t.story)||{};null!==(r=this._pooledStorySettings)&&void 0!==r||(this._pooledStorySettings={}),this._pooledStorySettings=ir.extend(i,this._pooledStorySettings,e),null!=this._setPlayloadStoryTimeout&&clearTimeout(this._setPlayloadStoryTimeout),this._setPlayloadStoryTimeout=setTimeout((function(){n._setPayloadStory(),n._setPlayloadStoryTimeout=null}),50)}},{key:"_setPayloadStory",value:function(){var e=this;this.updateAttributesP("setPayloadStory",{payload:{story:this._pooledStorySettings}}).fail((function(){var t,r,n,i,a,o,s,l,c,u;null!=(null===(t=e.attributes.payload)||void 0===t?void 0:t.story)&&(e.attributes.payload.story.title=null===(r=e.attributes)||void 0===r||null===(n=r._originalSourceJson.payload)||void 0===n||null===(i=n.story)||void 0===i?void 0:i.title,e.attributes.payload.story.author=null===(a=e.attributes)||void 0===a||null===(o=a._originalSourceJson.payload)||void 0===o||null===(s=o.story)||void 0===s?void 0:s.author,e.attributes.payload.story.description=null===(l=e.attributes)||void 0===l||null===(c=l._originalSourceJson.payload)||void 0===c||null===(u=c.story)||void 0===u?void 0:u.description)})),this._pooledStorySettings=null}},{key:"getPayloadStory",value:function(){var e,t,r,n,i=null===(e=this.attributes.payload)||void 0===e?void 0:e.story,a=null!==(t=null==i?void 0:i.title)&&void 0!==t?t:this.getName(),o=null!==(r=null==i?void 0:i.author)&&void 0!==r?r:"";return{title:a,description:null!==(n=null==i?void 0:i.description)&&void 0!==n?n:"",author:o}}},{key:"getPresentationFilters",value:function(){var e,t;return null!==(e=null===(t=this.attributes.payload.presentation)||void 0===t?void 0:t.filters)&&void 0!==e?e:{}}},{key:"getPresentationFilterPickedOnly",value:function(){return!0===this.getPresentationFilters().pickedOnly}},{key:"getPresentationFilterRatingAtLeast",value:function(){var e;return null!==(e=this.getPresentationFilters().ratingAtLeast)&&void 0!==e?e:0}},{key:"hasPresentationFiltersApplied",value:function(){return this.getPresentationFilterPickedOnly()||this.getPresentationFilterRatingAtLeast()>0}},{key:"getPresentationStyleId",value:function(){var e,t;return(null===(e=this.attributes.payload.presentation)||void 0===e||null===(t=e.explore)||void 0===t?void 0:t.styleId)||""}},{key:"name",get:function(){return this.getName()}},{key:"title",get:function(){var e,t;return(null===(e=this.attributes.payload)||void 0===e||null===(t=e.story)||void 0===t?void 0:t.title)||""},set:function(e){var t,r,n;null!=this.attributes.payload&&(null!==(n=(r=this.attributes.payload).story)&&void 0!==n||(r.story={})),(null===(t=this.attributes.payload)||void 0===t?void 0:t.story.title)!==e&&(null!=this.attributes.payload&&(this.attributes.payload.story.title=e),this.setPayloadStory({title:e}))}},{key:"hasTitle",value:function(){var e,t;return null!=(null===(e=this.attributes.payload)||void 0===e||null===(t=e.story)||void 0===t?void 0:t.title)}},{key:"getShareTitle",value:function(){return this.hasTitle()&&this.title.length>0?this.title:this.name}},{key:"author",get:function(){var e,t;return(null===(e=this.attributes.payload)||void 0===e||null===(t=e.story)||void 0===t?void 0:t.author)||""},set:function(e){var t,r,n;null!=this.attributes.payload&&(null!==(n=(r=this.attributes.payload).story)&&void 0!==n||(r.story={})),(null===(t=this.attributes.payload)||void 0===t?void 0:t.story.author)!==e&&(null!=this.attributes.payload&&(this.attributes.payload.story.author=e),this.setPayloadStory({author:e}))}},{key:"showAuthor",get:function(){var e,t,r;return!0===(null===(e=this.attributes.payload)||void 0===e||null===(t=e.presentation)||void 0===t||null===(r=t.options)||void 0===r?void 0:r.showAuthor)}},{key:"showTitle",get:function(){var e,t,r;return!0===(null===(e=this.attributes.payload)||void 0===e||null===(t=e.presentation)||void 0===t||null===(r=t.options)||void 0===r?void 0:r.showTitle)}},{key:"hasNonBlankAuthor",value:function(){return this.hasAuthor()&&""!==this.author.trim()}},{key:"description",get:function(){var e,t;return(null===(e=this.attributes.payload)||void 0===e||null===(t=e.story)||void 0===t?void 0:t.description)||""},set:function(e){var t,r,n;null!=this.attributes.payload&&(null!==(n=(r=this.attributes.payload).story)&&void 0!==n||(r.story={})),(null===(t=this.attributes.payload)||void 0===t?void 0:t.story.description)!==e&&(null!=this.attributes.payload&&(this.attributes.payload.story.description=e),this.setPayloadStory({description:e}))}},{key:"hasAuthor",value:function(){var e;return null!=(null===(e=this.attributes.payload.story)||void 0===e?void 0:e.author)}},{key:"getNewestAssetP",value:function(){var e={captured_before:pe.v.MAXIMUM_DATE,embed:"asset",subtype:"image;video",limit:1};return this.getAssets(e,!0).firstP()}},{key:"getOldestAssetP",value:function(){var e={captured_after:pe.v.MINIMUM_DATE,embed:"asset",subtype:"image;video",limit:1};return this.getAssets(e,!0).firstP()}},{key:"getFirstAssetP",value:function(){return this.getAssets({order_after:"-",embed:"asset",subtype:"image;video",limit:1},!0).firstP()}},{key:"getLastOrderedAssetP",value:function(){var e={order_before:"",captured_before:pe.v.MAXIMUM_DATE,embed:"asset",subtype:"image;video;layout_segment",limit:1};return this.getAssets(e,!0).firstP()}},{key:"getSubtype",value:function(){return this.attributes.subtype||""}},{key:"getParentId",value:function(){var e,t;return null===(e=this.attributes.payload)||void 0===e||null===(t=e.parent)||void 0===t?void 0:t.id}},{key:"getHideInOrganize",value:function(){var e;return(null===(e=this.attributes.payload)||void 0===e?void 0:e.hideInOrganize)||!1}},{key:"hasDisplaySettings",value:function(){return"collection"===this.getSubtype()}}]),s}(de.Z),Ft=(0,z.Z)(Bt.prototype,"albumCoverDirty",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),Ht=(0,z.Z)(Bt.prototype,"_coverAsset",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ut=(0,z.Z)(Bt.prototype,"_coverFallbackAsset",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),qt=(0,z.Z)(Bt.prototype,"_coverPromise",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Vt=(0,z.Z)(Bt.prototype,"_defaultAssetOptions",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Bt);ar.prototype.attributeClass=nr,ar.prototype.assetListClass=null;const or=ar;r(973774);const sr=function(e){var t,r=function r(n,i,a,o){var s,l,c=t,u=c.length,p=n.toJSON();if(s=o,l=p,JSON.stringify(s)===JSON.stringify(l))return c.splice(0,u);var d=e.requestP("POST",e.href,JSON.stringify(n.toJSON(!1)));d.done((function(){c===t&&(c.splice(0,u),ue.start("@@UPDATE"),n.fromJSON(p),ue.end("@@UPDATE"),c.length>0&&r(n,i,a,p))})),d.fail((function(){if(c===t){c.splice(0,u),ue.start("@@REVERT"),n.fromJSON(o);var e,s=(0,$.Z)(c);try{for(s.s();!(e=s.n()).done;){var l=e.value,p=l.action,d=l.payload;n.dispatch.apply(n,[p].concat((0,R.Z)(d)))}}catch(e){s.e(e)}finally{s.f()}ue.end("@@REVERT"),c.length>0&&r(n,i,a,o)}}))};return function(e,n,i,a){if("@"===n[0])"@@INIT"!==n&&"@@REINIT"!==n||(t=[]);else{if(0===t.length){var o=e.toJSON(),s=a();return r(e,n,i,o),s}t.push({action:n,payload:i})}return a()}};var lr=r(473174),cr=r(193776),ur=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){return(0,a.Z)(this,r),t.apply(this,arguments)}return(0,o.Z)(r,[{key:"setAttributes",value:function(e){var t;return this.order=null===(t=e.payload)||void 0===t?void 0:t.order,(0,q.Z)((0,V.Z)(r.prototype),"setAttributes",this).call(this,e)}},{key:"markAssetsDirty",value:function(){(0,q.Z)((0,V.Z)(r.prototype),"markAssetsDirty",this).call(this)}},{key:"getOrder",value:function(){return this.order||""}},{key:"_getAssetsLink",value:function(){return"".concat(this.linkHref("self"),"/assets")}},{key:"_refreshP",value:function(e){return e=e||"".concat(this.href,"?embed=spaces;asset"),(0,q.Z)((0,V.Z)(r.prototype),"_refreshP",this).call(this,e)}}]),r}(or),pr=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){return(0,a.Z)(this,r),t.apply(this,arguments)}return(0,o.Z)(r,[{key:"_createDefaultAssetOptions",value:function(){return{embed:"spaces;asset",order_after:"-",subtype:"image;video",exclude:"incomplete"}}},{key:"removeManyAssetsP",value:function(e){var t,r,n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.assets.deleteAssetsP(e,i);r=e.length>0&&("string"==typeof e[0]||e[0]instanceof String)?e:e.map((function(e){return e.id}));var a=null===(t=this.getAttribute("payload").cover)||void 0===t?void 0:t.id,o=null!=a&&r.includes(a),s=this.assets.deleteManyP(e,"removeAssetsFromAlbum");return o?s.then((function(){return n.deleteAlbumCoverP()})):s}},{key:"isShared",value:function(){return!0}}]),r}(ur);pr.prototype.assetListClass=cr.Z;const dr=pr;var mr=r(251617),hr=r(784090);const vr=function(){var e=function(e){(0,T.Z)(s,e);var t,r=(0,P.Z)(s);function s(){return(0,a.Z)(this,s),r.apply(this,arguments)}return(0,o.Z)(s,[{key:"modelsByCreatedP",value:function(){return this.allP().then((function(e){return e.sort((function(e,t){return N.Z.localeCompare(t.getBestCreatedDateAttribute(),e.getBestCreatedDateAttribute())})),e}))}},{key:"modelsByCreated",value:function(){var e;return(e=this.models.slice(0)).sort((function(e,t){return N.Z.localeCompare(t.getBestCreatedDateAttribute(),e.getBestCreatedDateAttribute())})),e}},{key:"modelsByUpdatedJP",value:(t=(0,i.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.allJP();case 2:return e.abrupt("return",this.modelsByUpdated());case 3:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"modelsByUpdated",value:function(){var e;return(e=this.models.slice(0)).sort((function(e,t){return N.Z.localeCompare(t.getBestUpdatedDateAttribute(),e.getBestUpdatedDateAttribute())})),e}},{key:"modelsByName",value:function(){var e;return(e=this.models.slice(0)).sort(N.Z.localeCompare),e}},{key:"getCreateHref",value:function(){return"".concat(this.href,"/").concat(this.createUuid())}},{key:"createP",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t?(null==t.payload&&(t.payload={}),t.payload.name=e):t={subtype:"collection",payload:{name:e}},"collection"===t.subtype?(0,q.Z)((0,V.Z)(s.prototype),"createP",this).call(this,this.getCreateHref(),t).then((function(e){return e.convertToDisplay(),e})):(0,q.Z)((0,V.Z)(s.prototype),"createP",this).call(this,this.getCreateHref(),t)}},{key:"createWithAssetsP",value:function(e,t,r){var n,i,a;return i=hr.Deferred(),n="string"==typeof t||t instanceof String?{subtype:t}:t,r.length>0&&("string"==typeof r[0]||r[0]instanceof String)?a=!1:(a=!0,r[0],lr.Z),this.createP(e,n).then((function(e){var t;return t=a?r.map((function(e){return e.id})):r,e.assets.addAssetIdsP(t).done((function(){return i.resolve(e)})).fail((function(){return i.reject("addAssetsToAlbumFailure")}))}),(function(){return i.reject("albumCreationFailure")})),i.promise()}}]),s}(mr.Z);return e.prototype.model=or,e.prototype.modelName="Album",e}.call(void 0);r(550163),r(127387),r(64209),r(945628);var gr,fr,br,yr,_r=r(975157),wr=r(784090),kr=(gr=function(e){(0,T.Z)(s,e);var t,r=(0,P.Z)(s);function s(e){var t;return(0,a.Z)(this,s),(t=r.call(this)).albumsPerFetch=10,t.maxParallelFetches=5,(0,A.Z)(t,"initialized",fr,(0,C.Z)(t)),(0,A.Z)(t,"requestQueue",br,(0,C.Z)(t)),(0,A.Z)(t,"allPProgress",yr,(0,C.Z)(t)),t.loadAlbumsCallback=e,t.albums=[],t.reset(),t}return(0,o.Z)(s,[{key:"_addAssets",value:function(e){var t,r,n=(0,$.Z)(e);try{for(n.s();!(r=n.n()).done;)t=r.value,this._add(t)}catch(e){n.e(e)}finally{n.f()}this.totalCount=this.length=this._models.length}},{key:"reset",value:function(){return null==this.albums?this:this._dirty?((0,q.Z)((0,V.Z)(s.prototype),"reset",this).call(this),this.initialized=!1,this):this}},{key:"_setupFetchUrls",value:function(){this.fetchUrls=[];for(var e=0;e<this.albums.length;){var t=Math.min(this.albums.length,e+this.albumsPerFetch),r=this.albums.slice(e,t).map((function(e){return e.id}));this.fetchUrls.push(oe.Z.catalogContext.href+"/albums/assets?album_ids=".concat(r.join("%2C"))),e+=this.albumsPerFetch}}},{key:"_setupNextFetchUrl",value:function(){this.fetchUrl=this.fetchUrls.shift()}},{key:"_fetchP",value:function(){var e=this;return null==this.fetchUrl?wr.Deferred().reject().promise():this.fetching?this.fetching:(this.fetching=this.requestP("GET",this.fetchUrl)).always((function(){e.fetching=void 0})).fail((function(t,r,n){null!=e.modelName?e.reportOzFailure("fetchP".concat(e.modelName,"Failure"),t,r,n):e.reportOzFailure("fetchPFailure",t,r,n),e._dirty=!0})).done((function(t){var r=e._addFetchedData(t);if(e.page++,0===r.length)e.fetchUrl=void 0;else{var n,i,a=null===(n=t.links)||void 0===n||null===(i=n[e.nextPageLink||"next"])||void 0===i?void 0:i.href,o=new _r.Z(t.base);e.fetchUrl=o.fullHref(a),null==e.fetchUrl&&e._setupNextFetchUrl()}null==e.fetchUrl&&(e.finished=!0,e.totalCount=e._models.length)}))}},{key:"fetchP",value:function(){var e=this;if(!this.initialized)return this.loadAlbumsCallback().then((function(t){return e.albums=t,e._setupFetchUrls(),e._setupNextFetchUrl(),e.initialized=!0,e.fetchP()}));if(this.finished)return wr.Deferred().reject().promise();if(this.fetching)return this.fetching.promise();var t=this.fetching=this._fetchP();return t.fail((function(){e._dirty=!0})).always((function(){e.fetching=void 0})),t}},{key:"_addFetchedData",value:function(e){for(var t=e.albums,r=0;r<t.length;r++){var n,i=t[r],a=null===(n=this.albums)||void 0===n?void 0:n.find((function(e){return e.id===i.id}));if(null!=a){var o,s=(0,$.Z)(i.resources);try{for(s.s();!(o=s.n()).done;){var l,c=o.value;c.base=e.base,l=new this.model(c,this),a.assets._add(l),r<t.length-1&&(a.assets.finished=!0),this._add(l)}}catch(e){s.e(e)}finally{s.f()}}}return t}},{key:"_fetchAndAddAllP",value:function(e){var t=this;return null==e?wr.Deferred().reject().promise():this.requestWithRetryP("GET",e,void 0,void 0,1).fail((function(e,r,n){null!=t.modelName?t.reportOzFailure("fetchP".concat(t.modelName,"Failure"),e,r,n):t.reportOzFailure("fetchPFailure",e,r,n),t._dirty=!0})).then((function(e){var r,n,i=e.albums.reduce((function(e,t){return e+t.resources.length}),0);t.allPProgress+=e.albums.length/t.albums.length*100,re.Z.is_enabled("debug_best_photos")&&console.log("Adding ".concat(i," assets from ").concat(e.albums.length," albums, ~").concat(t.allPProgress.toFixed(0),"% done")),t._addFetchedData(e);var a=null===(r=e.links)||void 0===r||null===(n=r.next)||void 0===n?void 0:n.href,o=new _r.Z(e.base).fullHref(a);return!o||t._fetchAndAddAllP(o)}))}},{key:"_parallelAllP",value:function(){var e=this;if(!this.initialized)return this.loadAlbumsCallback().then((function(t){return e.albums=t,e._setupFetchUrls(),e.initialized=!0,e._parallelAllP()}));if(this.finished)return wr.Deferred().reject().promise();this.allPProgress=0,this.requestQueue=new ie(this.maxParallelFetches);for(var t=function(t){return function(){return e._fetchAndAddAllP(t)}};this.fetchUrls.length>0;){var r=this.fetchUrls.shift();this.requestQueue.enqueuePromise(t(r))}var n=this.requestQueue.promise();return n.fail((function(){e._dirty=!0})).done((function(){e.finished=!0})).always((function(){e.requestQueue=null})),n}},{key:"allJP",value:(t=(0,i.Z)((0,n.Z)().mark((function e(){var t,r=arguments;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]&&r[0],e.next=3,this.allP(t);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"allP",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t?this.finished?wr.Deferred().resolve(this.models.slice()).promise():this._parallelAllP().then((function(){return e.allP(t)})):(0,q.Z)((0,V.Z)(s.prototype),"allP",this).call(this)}},{key:"totalCountP",value:function(){var e,t,r,n=this,i=wr.Deferred(),a=[],o=(0,$.Z)(this.albums);try{for(o.s();!(r=o.n()).done;)t=r.value,a.push(t.assets.totalCountP())}catch(e){o.e(e)}finally{o.f()}return(e=wr).when.apply(e,a).then((function(){n.totalCount=0;var e,r=(0,$.Z)(n.albums);try{for(r.s();!(e=r.n()).done;)t=e.value,n.totalCount+=t.assets.totalCount}catch(e){r.e(e)}finally{r.f()}i.resolve(n.totalCount)})).fail((function(){i.reject()})),i.promise()}},{key:"hasLoadingProgress",get:function(){return null!=this.requestQueue}},{key:"createP",value:function(e,t){re.Z.is_enabled("debug")&&console.log("createP is unimplemented in this paged list")}},{key:"_addCreatedP",value:function(e){re.Z.is_enabled("debug")&&console.log("_addCreatedP is unimplemented in this paged list")}},{key:"deleteP",value:function(e){re.Z.is_enabled("debug")&&console.log("deleteP is unimplemented in this paged list")}}]),s}(mr.Z),fr=(0,z.Z)(gr.prototype,"initialized",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),br=(0,z.Z)(gr.prototype,"requestQueue",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),yr=(0,z.Z)(gr.prototype,"allPProgress",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),gr);kr.prototype.model=lr.Z,kr.prototype.modelName="CatalogAlbumAsset";const Zr=function(){var e=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(e){var n,i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,a.Z)(this,r),null==o&&(o={subtype:"topic",order_after:"-"}),i=function(){return n.allP()},(n=t.call(this,e,o)).allAssets=new kr(i),n}return(0,o.Z)(r,[{key:"setParentAlbum",value:function(e){return this.parentAlbum=e,this}},{key:"assets",get:function(){return this.allAssets}},{key:"addAlbum",value:function(e){var t,r,n,i,a,o,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(this.get(e.id)&&this._delete(this.index(e.id)),!s)for(s=0,t=0,r=(n=this.models).length;t<r&&!(n[t].getOrder()>e.getOrder());t++)++s;return this._models.splice(s,0,e),this._reindex(s),this.length=this.models.length,"cluster"===(null!=(i=this.parentAlbum)?i.getSubtype():void 0)?null!=(a=this.allAssets)?a.markDirty():void 0:null!=(o=this.allAssets)?o.reinitialize(this.models):void 0}},{key:"getAssetPosition",value:function(e){var t,r,n,i,a,o,s;for(t=n=0,a=this.length;n<a;t=n+=1)for(r=i=0,o=(s=this.at(t)).assets.length;i<o;r=i+=1)if(s.assets.at(r).id===e)return[t,r]}},{key:"getTopicAlbumContaining",value:function(e){var t,r=this.getAssetPosition(e),n=(0,W.Z)(r,2);if(t=n[0],n[1],t>=0)return this.at(t)}},{key:"getAssetAt",value:function(e,t){var r;return null!=(r=this.at(e))?r.assets.at(t):void 0}},{key:"getAssetPositionBefore",value:function(e){var t,r,n=this.getAssetPosition(e),i=(0,W.Z)(n,2);return r=i[0],t=i[1],--t<0&&--r,r<0?null:[r,t]}},{key:"getAssetBefore",value:function(e){var t;return(t=this.getAssetPositionBefore(e))?this.getAssetAt.apply(this,(0,R.Z)(t)):null}},{key:"getAssetPositionAfter",value:function(e){var t,r,n=this.getAssetPosition(e),i=(0,W.Z)(n,2);return r=i[0],t=i[1],++t>=this.at(r).length&&++r,r>=this.length?null:[r,t]}},{key:"getAssetAfter",value:function(e){var t;return(t=this.getAssetPositionAfter(e))?this.getAssetAt.apply(this,(0,R.Z)(t)):null}},{key:"markAssetsDirty",value:function(){var e,t,r,n;for(e=0,t=(r=this.models).length;e<t;e++)r[e].assets.markDirty();return null!=(n=this.allAssets)?n.markDirty():void 0}},{key:"resetAssets",value:function(){var e,t,r,n,i;for(t=0,r=(n=this.models).length;t<r;t++)(e=n[t]).assets.reset(e.assets.options);return null!=(i=this.allAssets)?i.reset():void 0}},{key:"areAssetsDirty",value:function(){var e,t;return null!=(e=null!=(t=this.allAssets)?t.isDirty():void 0)&&e}},{key:"areAllAssetsLoaded",value:function(){var e,t;return null!=(e=null!=(t=this.allAssets)?t.finished:void 0)&&e}},{key:"totalCount",get:function(){var e;return(null!=(e=this.allAssets)?e.finished:void 0)?this.allAssets.length:0},set:function(e){}},{key:"loadAssetsP",value:function(){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(this.markAssetsDirty(),this.resetAssets()),this.allAssets.allP(e)}}]),r}(vr);return e.prototype.model=ur,e.prototype.modelName="TopicAlbum",e}.call(void 0),xr=function(){var e=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){return(0,a.Z)(this,r),t.apply(this,arguments)}return(0,o.Z)(r,[{key:"getCreateHref",value:function(){return"".concat(oe.Z.catalogContext.href,"/albums/").concat(this.createUuid())}}]),r}(Zr);return e.prototype.model=dr,e.prototype.modelName="CatalogTopicAlbum",e}.call(void 0);r(200386);var Sr,$r,Ar,Cr,Tr,Pr=r(902310),zr=r(272745),Er=(Sr=function(e){(0,T.Z)(l,e);var t,r,s=(0,P.Z)(l);function l(){var e;(0,a.Z)(this,l);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e=s.call.apply(s,[this].concat(r)),(0,A.Z)(e,"user",$r,(0,C.Z)(e)),e}return(0,o.Z)(l,[{key:"setAttributes",value:function(e){return(0,q.Z)((0,V.Z)(l.prototype),"setAttributes",this).call(this,e),null!=e.user&&(this.user=new Pr.Z(e.user)),this}},{key:"_refreshP",value:function(e){return e=e||"".concat(this.href,"?embed=user"),(0,q.Z)((0,V.Z)(l.prototype),"_refreshP",this).call(this,e)}},{key:"getFullName",value:function(){return this.attributes.full_name}},{key:"_setAbandonedJP",value:(r=(0,i.Z)((0,n.Z)().mark((function e(){var t,r,i,a,o,s,l,c=arguments;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=c.length>0&&void 0!==c[0]?c[0]:0,e.prev=1,(r={payload:{status:"abandoned"}}).payload.userUpdated=(new Date).toISOString(),e.next=6,this.requestJP("POST",this.href,JSON.stringify(r));case 6:ae.Z.report("setStatusAbandoned"),e.next=23;break;case 9:if(e.prev=9,e.t0=e.catch(1),i=(0,W.Z)(e.t0,3),a=i[0],o=i[1],s=i[2],re.Z.is_enabled("debug")&&zr.Z._forceFailNextRequest&&(t=2),(l=t<2&&(0===o||o>=500))?ae.Z.report("setStatusAbandonedRetry"):this.reportOzFailure("setStatusAbandonedFailure",a,o,s),e.prev=16,!l){e.next=19;break}return e.abrupt("return",this._setAbandonedJP(t+1));case 19:e.next=23;break;case 21:e.prev=21,e.t1=e.catch(16);case 23:case"end":return e.stop()}}),e,this,[[1,9],[16,21]])}))),function(){return r.apply(this,arguments)})},{key:"setAbandonedJP",value:(t=(0,i.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._setAbandonedJP();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"isContributorRole",value:function(){return"accepted"===this.attributes.payload.status&&"contributor"===this.attributes.payload.role}},{key:"isEditorRole",value:function(){return"accepted"===this.attributes.payload.status&&"editor"===this.attributes.payload.role}},{key:"canContribute",value:function(){return this.isContributorRole()||this.isEditorRole()}},{key:"canEdit",value:function(){return this.isEditorRole()}},{key:"role",get:function(){return this.attributes.payload.role}}]),l}(de.Z),$r=(0,z.Z)(Sr.prototype,"user",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Sr),Or=function(e){(0,T.Z)(u,e);var t,r,s,l,c=(0,P.Z)(u);function u(){return(0,a.Z)(this,u),c.apply(this,arguments)}return(0,o.Z)(u,[{key:"status",get:function(){return this.attributes.payload.status}},{key:"userCreated",get:function(){return new Date(this.attributes.payload.userCreated)}},{key:"setRoleViewerJP",value:(l=(0,i.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateAttributesP("setUserRoleViewer",{payload:{role:"viewer"}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return l.apply(this,arguments)})},{key:"setRoleContributorJP",value:(s=(0,i.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateAttributesP("setUserRoleContributor",{payload:{role:"contributor"}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return s.apply(this,arguments)})},{key:"setRoleEditorJP",value:(r=(0,i.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateAttributesP("setUserRoleEditor",{payload:{role:"editor"}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"setStatusRemovedJP",value:(t=(0,i.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateAttributesP("setUserStatusRemoved",{payload:{status:"removed"}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}]),u}(Er),Ir=(Ar=function(e){(0,T.Z)(p,e);var t,r,s,l,c,u=(0,P.Z)(p);function p(){var e;(0,a.Z)(this,p);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e=u.call.apply(u,[this].concat(r)),(0,A.Z)(e,"user",Cr,(0,C.Z)(e)),(0,A.Z)(e,"spaceUser",Tr,(0,C.Z)(e)),e}return(0,o.Z)(p,[{key:"setAttributes",value:function(e){return(0,q.Z)((0,V.Z)(p.prototype),"setAttributes",this).call(this,e),null!=e.user&&(this.user=new Pr.Z(e.user)),null!=e.space_user&&(this.spaceUser=new Or(e.space_user)),this}},{key:"_refreshP",value:function(e){return e=e||"".concat(this.href,"?embed=user"),(0,q.Z)((0,V.Z)(p.prototype),"_refreshP",this).call(this,e)}},{key:"status",get:function(){return this.attributes.payload.status}},{key:"role",get:function(){if(null!=this.attributes.payload.role)return this.attributes.payload.role}},{key:"acceptJP",value:(c=(0,i.Z)((0,n.Z)().mark((function e(){var t,r;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.safeToJSPromise(this.updateAttributesP("inviteRequestAccept",{payload:{status:"approved",role:"viewer"}}));case 2:t=e.sent,r=1e3;case 4:if(!(r<64e3)){e.next=12;break}return e.next=7,this.refreshP();case 7:if(null==this.attributes.space_user){e.next=9;break}return e.abrupt("break",12);case 9:r*=2,e.next=4;break;case 12:return e.abrupt("return",t);case 13:case"end":return e.stop()}}),e,this)}))),function(){return c.apply(this,arguments)})},{key:"declineJP",value:(l=(0,i.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateAttributesP("inviteRequestDecline",{payload:{status:"rejected"}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return l.apply(this,arguments)})},{key:"setRoleViewerJP",value:(s=(0,i.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateAttributesP("inviteRoleViewer",{payload:{role:"viewer"}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return s.apply(this,arguments)})},{key:"setRoleContributorJP",value:(r=(0,i.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateAttributesP("inviteRoleContributor",{payload:{role:"contributor"}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"setRoleEditorJP",value:(t=(0,i.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateAttributesP("inviteRoleEditor",{payload:{role:"editor"}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"isSingleUse",value:function(){return"single_use"===this.attributes.subtype}},{key:"isRequest",value:function(){return"request"===this.attributes.subtype}},{key:"getEmail",value:function(){var e;return null===(e=this.attributes.payload)||void 0===e?void 0:e.email}}]),p}(de.Z),Cr=(0,z.Z)(Ar.prototype,"user",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Tr=(0,z.Z)(Ar.prototype,"spaceUser",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ar);const Rr=function(){var e=function(e){(0,T.Z)(l,e);var t,r,s=(0,P.Z)(l);function l(){return(0,a.Z)(this,l),s.apply(this,arguments)}return(0,o.Z)(l,[{key:"createP",value:function(e){var t;return t={subtype:"single_use",payload:{status:"open",role:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"viewer",email:e}},(0,q.Z)((0,V.Z)(l.prototype),"createP",this).call(this,this.getCreateHref(),t)}},{key:"createJP",value:(r=(0,i.Z)((0,n.Z)().mark((function e(t,r){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.createP(t,r);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)})},{key:"getCreateHref",value:function(){var e;return e=new URL(this.href),"".concat(e.pathname,"/").concat(this.createUuid())}},{key:"_deleteP",value:function(e){var t,r,n=this;return r=this.index(e),t=this.at(r).href,this.requestP("DELETE",t).fail((function(e,t,r){return null!=n.modelName?n.reportOzFailure("delete".concat(n.modelName,"Failure"),e,t,r):n.reportOzFailure("deleteOzResourceFailure",e,t,r)}))}},{key:"deleteAllJP",value:(t=(0,i.Z)((0,n.Z)().mark((function e(){var t,r,i,a,o,s,l,c=this;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.models.length>0){e.next=2;break}return e.abrupt("return");case 2:return s=[],a=[],this.models.forEach((function(e){return a.push(e.id),s.push(c._deleteP(e.id))})),e.next=7,Promise.all(s);case 7:for(l=[],t=0,o=a.length;t<o;t++)i=a[t],null!=(r=this.index(i))?l.push(this._delete(r)):l.push(void 0);return e.abrupt("return",l);case 10:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}]),l}(mr.Z);return e.prototype.model=Ir,e.prototype.modelName="CatalogSpaceInvite",e}.call(void 0),jr=function(){var e=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){return(0,a.Z)(this,r),t.apply(this,arguments)}return(0,o.Z)(r)}(mr.Z);return e.prototype.model=Pr.Z,e.prototype.modelName="User",e}.call(void 0),Nr=function(){var e=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){return(0,a.Z)(this,r),t.apply(this,arguments)}return(0,o.Z)(r)}(jr);return e.prototype.model=Er,e.prototype.modelName="SpaceUser",e}.call(void 0),Dr=function(){var e=function(e){(0,T.Z)(s,e);var t,r=(0,P.Z)(s);function s(){return(0,a.Z)(this,s),r.apply(this,arguments)}return(0,o.Z)(s,[{key:"_deleteP",value:function(e){var t,r,n=this;return r=this.index(e),t=this.at(r).href,this.requestP("DELETE",t).fail((function(e,t,r){return null!=n.modelName?n.reportOzFailure("delete".concat(n.modelName,"Failure"),e,t,r):n.reportOzFailure("deleteOzResourceFailure",e,t,r)}))}},{key:"deleteAllJP",value:(t=(0,i.Z)((0,n.Z)().mark((function e(){var t,r,i,a,o,s,l,c=this;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.models.length>0){e.next=2;break}return e.abrupt("return");case 2:return a=[],l=[],this.models.forEach((function(e){return l.push(e.id),a.push(c._deleteP(e.id))})),e.next=7,Promise.all(a);case 7:for(o=[],t=0,i=l.length;t<i;t++)s=l[t],null!=(r=this.index(s))?o.push(this._delete(r)):o.push(void 0);return e.abrupt("return",o);case 10:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}]),s}(Nr);return e.prototype.model=Or,e.prototype.modelName="CatalogSpaceUser",e}.call(void 0);var Lr,Mr,Br,Fr,Hr,Ur=r(351003),qr=r(149895),Vr=r(635398),Wr=(r(496181),r(274225)),Jr=r(784090),Gr=(Lr=function(e){(0,T.Z)(s,e);var t,r=(0,P.Z)(s);function s(e){var t;return(0,a.Z)(this,s),t=r.call(this),(0,A.Z)(t,"_models",Mr,(0,C.Z)(t)),t.initializedWithAssetsP=Jr.Deferred(),t._dirty=!0,t.reset(),t.addAssets(e),t}return(0,o.Z)(s,[{key:"setAssets",value:function(e){return this._dirty=!0,this.reset(),this.addAssets(e)}},{key:"addAssets",value:function(e){if(null!=e){var t,r=(0,$.Z)(e);try{for(r.s();!(t=r.n()).done;){var n=t.value;this._add(n)}}catch(e){r.e(e)}finally{r.f()}return this.totalCount=e.length,this.initializedWithAssetsP.resolve()}}},{key:"reset",value:function(){return this._dirty?(null!=this._models?this._models.splice(0,this._models.length):this._models=new H.Z,this.indices={},this.page=0,this.pageSize=100,this.finished=!0,this.length=0,this.totalCount=null,this._dirty=!1,this):this}},{key:"fetchP",value:function(){return this.finished||console.log("Finished is not true in LocalPagedlist"),Jr.Deferred().reject().promise()}},{key:"allJP",value:(t=(0,i.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.allP();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"allP",value:function(){return Jr.Deferred().resolve(this.models.slice()).promise()}},{key:"indexP",value:function(e){var t=this;return this.initializedWithAssetsP.then((function(){return s.prototype.__proto__.indexP.call(t,e)}))}},{key:"assets",get:function(){return this}}]),s}(Wr.Z),Mr=(0,z.Z)(Lr.prototype,"_models",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Lr),Kr=r(516641),Yr=r(190960),Xr=r(21080),Qr=r(784090),en=function(e){return e.asset.base=e.base},tn=(0,Kr.Z)(Xr.Z)((Fr=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(e){var n,i;return(0,a.Z)(this,r),en(e),i=t.call(this,e.asset),(0,A.Z)(i,"hackSpaceContext",Hr,(0,C.Z)(i)),i.albumAssetRelativeUrl=e.links.self.href,i.order=null===(n=e.payload)||void 0===n?void 0:n.order,i}return(0,o.Z)(r,[{key:"refreshP",value:function(){var e=this,t=this._linkBase.fullHref(this.albumAssetRelativeUrl)+"?"+Qr.param({embed:"asset;user"});return this.requestP("GET",t).done((function(t){var r;return e.order=null===(r=t.payload)||void 0===r?void 0:r.order,en(t),e.setAttributes(t.asset)}))}},{key:"setHackSpaceContext",value:function(e){this.hackSpaceContext=e}},{key:"setRatingP",value:function(e){console.error("if you implement this be sure you understand the confusing rating model")}},{key:"setRatingJP",value:function(e){console.error("if you implement this be sure you understand the confusing rating model")}},{key:"setFlagP",value:function(e){console.error("if you implement this be sure you understand the confusing review model")}},{key:"setFlagJP",value:function(e){console.error("if you implement this be sure you understand the confusing review model")}},{key:"getRating",value:function(){var e,t,n=null===(e=this.hackSpaceContext)||void 0===e||null===(t=e.owner)||void 0===t?void 0:t.id;return null==n?(console.error("SpaceAsset.getRating ownerAccountId not retrievable"),0):(0,q.Z)((0,V.Z)(r.prototype),"getRating",this).call(this,n)}},{key:"getFlag",value:function(){var e,t,n=null===(e=this.hackSpaceContext)||void 0===e||null===(t=e.owner)||void 0===t?void 0:t.id;return null==n?(console.error("SpaceAsset.getFlag ownerAccountId not retrievable"),0):(0,q.Z)((0,V.Z)(r.prototype),"getFlag",this).call(this,n)}},{key:"getOrder",value:function(){return this.order||""}},{key:"getReportAbuseHref",value:function(){return"/abuse_reports?asset-href=".concat(this.linkFullPath("self"))}},{key:"getLikesCount",value:function(){var e,t;return re.Z.is_enabled("lots_of_likes")?7*(null===(e=this.attributes.links["/rels/favorites"])||void 0===e?void 0:e.count):null===(t=this.attributes.links["/rels/favorites"])||void 0===t?void 0:t.count}},{key:"getLikesHref",value:function(){return this.linkHref("/rels/favorites")}},{key:"_getLikeUrl",value:function(){return this.linkHref("/rels/this_user_favorite")}},{key:"isLiked",value:function(){return this.getLikesCount()>0}},{key:"isLikedByUser",value:function(){return this.isLiked()&&null!=this._getLikeUrl()}},{key:"likeP",value:function(){return this.requestP("PUT","".concat(this.getLikesHref(),"/").concat(this.createUuid()),"{}")}},{key:"unLikeP",value:function(){var e=this._getLikeUrl();if(null!=e)return this.requestP("DELETE",e,"{}")}},{key:"getCommentCount",value:function(){var e;return null===(e=this.attributes.links["/rels/comments"])||void 0===e?void 0:e.count}},{key:"getCommentsHref",value:function(){return this.linkHref("/rels/comments")}},{key:"hasComments",value:function(){return this.getCommentCount()>0}}]),r}(Yr.Z),Hr=(0,z.Z)(Fr.prototype,"hackSpaceContext",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Br=Fr))||Br;tn.pollAssetUntilAvailableJP=function(e){var t=!1,r=!1;return Yr.Z.pollAssetUntilCheckJP(Yr.Z,e,(function(e){return!!e.hasAnyRendition()||(t?r:(t=!0,setTimeout((function(){return r=!0}),5e3),!1))}))};const rn=function(){var e,t,r=(e=function(e){(0,T.Z)(n,e);var r=(0,P.Z)(n);function n(){var e;(0,a.Z)(this,n);for(var i=arguments.length,o=new Array(i),s=0;s<i;s++)o[s]=arguments[s];return e=r.call.apply(r,[this].concat(o)),(0,A.Z)(e,"hackSpaceContext",t,(0,C.Z)(e)),e}return(0,o.Z)(n,[{key:"setHackSpaceContext",value:function(e){var t,r,n,i,a;if(this.hackSpaceContext!==e){for(this.hackSpaceContext=e,a=[],r=0,n=(i=this.models).length;r<n;r++)t=i[r],a.push(t.setHackSpaceContext(e));return a}}},{key:"_add",value:function(){for(var e,t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];return r[0].setHackSpaceContext(this.hackSpaceContext),(e=(0,q.Z)((0,V.Z)(n.prototype),"_add",this)).call.apply(e,[this].concat(r))}},{key:"getReviewedAssetLikeCountP",value:function(e){var t=this;return this.allP().then((function(r){var n,i;for(t.reviewSelectedCount=0,n=0,i=r.length;n<i;n++)r[n].isLikedByUser(e)&&(t.reviewSelectedCount+=1);return t.reviewSelectedCount}))}}]),n}(Vr.Z),t=(0,z.Z)(e.prototype,"hackSpaceContext",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),e);return r.prototype.model=tn,r.prototype.modelName="SpaceAsset",r}.call(void 0);var nn=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){return(0,a.Z)(this,r),t.apply(this,arguments)}return(0,o.Z)(r,[{key:"_createDefaultAssetOptions",value:function(){return{embed:"asset",order_after:"-",exclude:"incomplete",subtype:this.hasDisplaySettings()?"image;video;layout_segment":"image;video"}}},{key:"assets",get:function(){return this.getAssets(this._defaultAssetOptions)},set:function(e){this._assets=e}},{key:"getAssets",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var a=(e=(0,q.Z)((0,V.Z)(r.prototype),"getAssets",this)).call.apply(e,[this].concat(n));return a.setHackSpaceContext(this.getAnySpaceHack()),a}},{key:"_getAssetsLink",value:function(){return"".concat(this.linkHref("self"),"/assets")}},{key:"isShared",value:function(){return!0}},{key:"getGalleryLink",value:function(){var e;return null===(e=this.attributes.payload)||void 0===e?void 0:e.web_space_href}},{key:"getName",value:function(e){var t,r=(null===(t=this.attributes.payload)||void 0===t?void 0:t.name)||"";return null!=e&&r.length>e&&(r=r.substr(0,e)),r}},{key:"getReportAbuseHref",value:function(){return"/abuse_reports?album-href=".concat(this.linkFullPath("self"))}},{key:"getChildAlbumsLink",value:function(){return this.linkHref("/rels/child_albums")}},{key:"getSpace",value:function(){if(null==this.spaces)return null;for(var e=0,t=this.spaces.length;e<t;e++){var r=this.spaces.at(e),n=r.getSubType();if("gallery"!==n&&"review"!==n)return r}}},{key:"setSpace",value:function(e){var t;return null!==(t=this.spaces)&&void 0!==t||(this.spaces=new Gr([])),this.spaces.addAssets([e]),this.spaces}},{key:"getReviewSpace",value:function(){return null}},{key:"getAnySpaceHack",value:function(){return null!=this.spaces?this.spaces.at(0):null}}]),r}(or);nn.prototype.coverClass=F.Z,nn.prototype.assetListClass=rn;const an=nn;var on=r(784090);const sn=function(){var e=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){return(0,a.Z)(this,r),t.apply(this,arguments)}return(0,o.Z)(r,[{key:"createManyP",value:function(e,t){var r,n,i=this;return r="".concat(e.href,"/resources"),n={resources:t},this.requestP("PUT",r,JSON.stringify(n)).done((function(){return i.markDirty()})).fail((function(e,t,r){return i.reportOzFailure("addSpaceAlbumResourcesFailure",e,t,r)}))}},{key:"createP",value:function(e,t){var n,i,a;return i="".concat(e.href,"/resources"),a="/v2/spaces/".concat(e.id,"/albums/").concat(t.id),n={resources:[t]},(0,q.Z)((0,V.Z)(r.prototype),"createP",this).call(this,i,n,a)}},{key:"deleteManyP",value:function(e,t){var r,n,i=this;return n={resource_ids:t.join(";")},r="".concat(e,"/resources?")+on.param(n),this.requestP("DELETE",r).done((function(){var e,r,n,a,o;for(o=[],e=0,a=t.length;e<a;e++)r=t[e],null!=(n=i.index(r))?o.push(i._delete(n)):o.push(void 0);return o})).fail((function(e,t,r){return i.reportOzFailure("deleteSpaceAlbumResourcesFailure",e,t,r)}))}}]),r}(mr.Z);return e.prototype.model=an,e.prototype.modelName="SpaceAlbum",e}.call(void 0);var ln,cn,un,pn,dn,mn,hn,vn,gn,fn,bn,yn,_n,wn,kn,Zn,xn=r(957488),Sn=r.n(xn),$n=r(784090),An=(ln=function(e){(0,T.Z)(l,e);var t,r,s=(0,P.Z)(l);function l(e,t){var r,n,i;return(0,a.Z)(this,l),i=s.call(this,e),(0,A.Z)(i,"albums",cn,(0,C.Z)(i)),(0,A.Z)(i,"userAndOwnerRefreshPromise",un,(0,C.Z)(i)),(0,A.Z)(i,"owner",pn,(0,C.Z)(i)),(0,A.Z)(i,"user",dn,(0,C.Z)(i)),(0,A.Z)(i,"users",mn,(0,C.Z)(i)),(0,A.Z)(i,"inMaintenance",hn,(0,C.Z)(i)),(0,A.Z)(i,"inInvalid",vn,(0,C.Z)(i)),null!==(n=(r=i).users)&&void 0!==n||(r.users=new Nr("".concat(i.linkHref("self"),"/users?embed=user"))),i}return(0,o.Z)(l,[{key:"author",get:function(){var e;return null===(e=this.attributes.payload.profile_info)||void 0===e?void 0:e.author}},{key:"description",get:function(){var e;return null===(e=this.attributes.payload.profile_info)||void 0===e?void 0:e.description}},{key:"firstAlbum",get:function(){var e;return null===(e=this.albums)||void 0===e?void 0:e.at(0)}},{key:"setAttributes",value:function(e){var t,r,n;if((0,q.Z)((0,V.Z)(l.prototype),"setAttributes",this).call(this,e),(null===(t=e.resources)||void 0===t?void 0:t.length)>0){var i;n=[];var a,o=(0,$.Z)(e.resources);try{for(o.s();!(a=o.n()).done;){var s=a.value;"album"===s.type&&(s.base=e.base,(i=new an(s)).setSpace(this),n.push(i))}}catch(e){o.e(e)}finally{o.f()}if(null!=this.albums)for(var c=0;c<n.length;c++){i=n[c];var u=this.albums.at(c);if(u.id!==i.id||u.attributes.updated!==i.attributes.updated){n.length>0&&(this.albums=new Gr(n));break}}else n.length>0&&(this.albums=new Gr(n))}return null!==(r=this.albums)&&void 0!==r||(this.albums=new sn(this.linkHref("/rels/space_resources"))),null!=e.space_user&&(e.space_user.base=e.base,this.user=new Er(e.space_user)),null!=e.owner&&(e.owner.base=e.base,this.owner=new Pr.Z(e.owner)),this}},{key:"webHref",value:function(){return this.linkHref("/rels/web_space")}},{key:"hasCatalog",value:function(){var e;return null!=(null===(e=this.attributes.links)||void 0===e?void 0:e["/rels/catalog"])}},{key:"isOwner",value:function(){return this.hasCatalog()}},{key:"hasLegacyFilters",value:function(){return!0!==this.attributes.payload.presentationFilters}},{key:"getSubType",value:function(){return this.attributes.subtype}},{key:"getSharesHref",value:function(){return"".concat(window.location.origin,"/shares/").concat(this.id)}},{key:"_refreshP",value:function(e){var t=this;return e="shared"===this.getSubType()?e||"".concat(this.href,"?embed=owner%3Bspace_user%3Bfirst_resource"):e||"".concat(this.href,"?embed=owner%3Bspace_user"),(0,q.Z)((0,V.Z)(l.prototype),"_refreshP",this).call(this,e).then((function(){if(t.inMaintenance)return t.inMaintenance=!1})).fail((function(e,r,n){503===r&&(t.inMaintenance=!0),404===r&&(t.isInvalid=!0)}))}},{key:"ensureUserAndOwnerP",value:function(){var e=this;return null!=this.userAndOwnerRefreshPromise?this.userAndOwnerRefreshPromise:null!=this.user&&null!=this.owner||this.inMaintenance||this.isInvalid?$n.Deferred().resolve():(this.userAndOwnerRefreshPromise=this.refreshP(),this.userAndOwnerRefreshPromise.always((function(){e.userAndOwnerRefreshPromise=null})))}},{key:"ensureUserAndOwnerJP",value:function(){return this.safeToJSPromise(this.ensureUserAndOwnerP())}},{key:"hasDefaultBehanceAvatar",value:function(e){return-1!==e.indexOf("no-image")}},{key:"getAvatarHref",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"large",t=qr.R.host,r=window.SharesConfig.ownerId;if(t&&r){var n=function(e){return e<10?"0".concat(e):"".concat(e)},i=new Date,a=i.getFullYear(),o=n(i.getMonth()+1),s=n(i.getDate()),l="".concat(a).concat(o).concat(s,"000000");return"".concat(t,"/v2/avatars/").concat(r,"/").concat(l,"/").concat(e)}}},{key:"downloadEnabled",value:function(){var e;return!0===this.attributes.payload.download||!0===(null===(e=this.user)||void 0===e?void 0:e.canEdit())}},{key:"isPrivate",value:function(){return!0===this.attributes.payload.private}},{key:"isMetadataVisible",value:function(){var e;return!0===this.attributes.payload.metadata||!0===(null===(e=this.user)||void 0===e?void 0:e.canEdit())}},{key:"isLocationVisible",value:function(){var e;return!0===this.attributes.payload.location||!0===(null===(e=this.user)||void 0===e?void 0:e.canEdit())}},{key:"isReview",value:function(){var e;return"review"===(null===(e=this.attributes)||void 0===e?void 0:e.subtype)&&!this.isPrivate()}},{key:"getReviewCount",value:function(){var e,t;return null!=(null===(e=this.attributes.payload)||void 0===e?void 0:e.count)&&(null===(t=this.attributes.payload)||void 0===t?void 0:t.count)>0?this.attributes.payload.count:null}},{key:"hasReviewCount",value:function(){return this.getReviewCount>0}},{key:"isGallerySpace",value:function(){var e;return"gallery"===(null===(e=this.attributes)||void 0===e?void 0:e.subtype)}},{key:"_isCommentsFavoritesDisabled",value:function(e){return!(!this.isGallerySpace()||null!=e)||e}},{key:"isCommentsDisabled",value:function(){return this._isCommentsFavoritesDisabled(this.attributes.payload.comments_disabled)}},{key:"isFavoritesDisabled",value:function(){return this._isCommentsFavoritesDisabled(this.attributes.payload.favorites_disabled)}},{key:"commentsAndLikesEnabled",value:function(){return!(!0===this.attributes.payload.comments_disabled||!0===this.attributes.payload.favorites_disabled)}},{key:"_ensureUploadPermissionsJP",value:(r=(0,i.Z)((0,n.Z)().mark((function e(){var t;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.ensureUserAndOwnerJP();case 2:if(null!==(t=this.user)&&void 0!==t&&t.canContribute()||this.isOwner()){e.next=4;break}return e.abrupt("return",Promise.reject("You must have contribute access to the space"));case 4:if(null!=this.owner){e.next=6;break}return e.abrupt("return",Promise.reject("The owner info must be loaded"));case 6:if("shared"===this.getSubType()){e.next=8;break}return e.abrupt("return",Promise.reject("Only shared subtype spaces can be contributed to."));case 8:if(null!=this.firstAlbum){e.next=10;break}return e.abrupt("return",Promise.reject("This space has no space album to contribute to."));case 10:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"copyAssetToSpaceJP",value:(t=(0,i.Z)((0,n.Z)().mark((function e(t,r){var i,a,o,s,l,c,u,p,d,m,h,v,g,f,b,y,_,w,k,Z,x,S=arguments;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return l=S.length>2&&void 0!==S[2]?S[2]:[],e.next=3,this._ensureUploadPermissionsJP();case 3:if(!t.hasExternalDevelopSettings()){e.next=7;break}return e.next=6,t.getDevelopSettingsJP();case 6:c=e.sent;case 7:return delete(p=t.cloneAttributes().payload).copy,null===(i=p.importSource)||void 0===i||delete i.localAssetId,null===(a=p.importSource)||void 0===a||delete a.lrcatStoreProviderId,null===(o=p.importSource)||void 0===o||delete o.lrcatImageId,null===(s=p.importSource)||void 0===s||delete s.status,0===Object.keys(null!=p.importSource?p.importSource:{}).length&&delete p.importSource,delete p.autoTags,delete p.aesthetics,delete p.bestFrame,delete p.blur,delete p.cropHints,delete p.quality,delete p.changedAtTime,delete p.changedOnDevice,delete p.stacks,delete p.ratings,l.includes("ratings")||0!==t.getRating()&&(p.ratings={},p.ratings[this.owner.id]={rating:t.getRating(),date:(new Date).toISOString()}),delete p.reviews,l.includes("reviews")||"unflagged"!==t.getFlag()&&(p.reviews={},p.reviews[this.owner.id]={flag:t.getFlag(),date:(new Date).toISOString()}),l.includes("location")&&(delete p.location,null!=(null===(d=p.xmp)||void 0===d?void 0:d.iptcCore)&&(delete p.xmp.iptcCore.CountryCode,delete p.xmp.iptcCore.Location,0===Object.keys(p.xmp.iptcCore).length&&delete p.xmp.iptcCore),null!=(null===(m=p.xmp)||void 0===m?void 0:m.photoshop)&&(delete p.xmp.photoshop.City,delete p.xmp.photoshop.Country,delete p.xmp.photoshop.State,0===Object.keys(p.xmp.photoshop).length&&delete p.xmp.photoshop)),l.includes("keywords")&&null!=(null===(h=p.xmp)||void 0===h?void 0:h.dc)&&(delete p.xmp.dc.subject,0===Object.keys(p.xmp.dc).length&&delete p.xmp.dc),t.developHasPixelMasks()&&(v=t.getAux(),p.aux=t.getDevelopPixelMaskIds().reduce((function(e,t){return e[t]=Object.assign({},v[t]),e}),{})),(g=Sn()({},{payload:p},Vr.Z.defaultPayloadForNewAsset(r))).subtype=t.attributes.subtype,g.captureDate=t.attributes.captureDate,f=this.createUuid(),b="/v2/spaces/".concat(this.id,"/assets/").concat(f),y=this.createUuid(),_="".concat(this.firstAlbum.href,"/assets/").concat(f),w="".concat(_,"/revisions/").concat(y),e.next=40,this.requestJP("PUT",w,JSON.stringify(g));case 40:if(null==c){e.next=48;break}if(re.Z.is_enabled("debug")&&console.log("Copying asset with external develop settings..."),!t.developHasPixelMasks()){e.next=45;break}return e.next=45,t.copyAuxToSpaceAssetJP(this.id,f,y);case 45:return k="".concat(b,"/revisions/").concat(y,"/xmp/develop"),e.next=48,this.requestJP("PUT",k,c,{contentType:"application/rdf+xml"});case 48:if(!t.hasMaster()){e.next=57;break}return Z="".concat(b,"/revisions/").concat(y,"/master"),(u={"X-Generate-Renditions":"all","X-Async-Copy":!0})["X-Generate-Proxies"]="all",l.length>0&&(u["X-Redact-Meta"]=l.join(",")),e.next=55,this.requestJP("PUT","".concat(Z),JSON.stringify({file_href:t.linkFullPath("/rels/master")}),{headers:u});case 55:e.next=61;break;case 57:if(!t.isProxyOnly()){e.next=61;break}return x="".concat(b,"/revisions/").concat(y,"/proxies/").concat(this.createUuid()),e.next=61,this.requestJP("PUT","".concat(x),JSON.stringify({file_href:t.linkFullPath("/rels/proxy_type/2560")}),{headers:{"X-Generate-Renditions":"all","X-Async-Copy":!0}});case 61:return e.next=63,tn.pollAssetUntilAvailableJP(b);case 63:this.firstAlbum.markAssetsDirty(!0);case 64:case"end":return e.stop()}}),e,this)}))),function(e,r){return t.apply(this,arguments)})},{key:"createNewEmptyAssetP",value:function(e,t,r){var n=this,i=$n.Deferred();return this._ensureUploadPermissionsJP().then((function(){if(null==r)return i.reject("You must provide a batch time for uploads.");var a=Vr.Z.defaultPayloadForUpload(e,r);a.subtype=Ur.Z.ozSubtype(e.file),a.payload.captureDate="0000-00-00T00:00:00",a.payload.importSource.importedBy=t.id,null!=e.sha256&&(a.payload.importSource.sha256=e.sha256);var o=n.createUuid(),s="/v2/spaces/".concat(n.id,"/assets/").concat(o),l=n.createUuid(),c="".concat(n.firstAlbum.href,"/assets/").concat(o),u="".concat(c,"/revisions/").concat(l),p="".concat(s,"/revisions/").concat(l);return n.requestP("PUT",u,JSON.stringify(a)).then((function(){i.resolve(p,o)})).fail((function(e,t,r){i.reject(e,t,r)}))}),(function(e){i.reject(e)})),i.promise()}},{key:"getSlideshowEmbedHref",value:function(e){return null==e?"".concat(window.location.origin,"/embed/shares/").concat(this.id,"/slideshow?background_color=%23191919&color=%23cccdcd"):"Light"===e.getPresentationStyleId()?"".concat(window.location.origin,"/embed/shares/").concat(this.id,"/slideshow?background_color=%23FBFBFB&color=%23707070"):"".concat(window.location.origin,"/embed/shares/").concat(this.id,"/slideshow?background_color=%232D2D2D&color=%23999999")}},{key:"getSlideshowEmbedCode",value:function(e){return"<div class='lr_embed' style='position: relative; padding-bottom: 50%; height: 0; overflow: hidden;'><iframe id='iframe' src='".concat(this.getSlideshowEmbedHref(e)||"","' frameborder='0'style='width:100%; height:100%; position: absolute; top:0; left:0;' ></iframe></div>")}}]),l}(de.Z),cn=(0,z.Z)(ln.prototype,"albums",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),un=(0,z.Z)(ln.prototype,"userAndOwnerRefreshPromise",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),pn=(0,z.Z)(ln.prototype,"owner",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),dn=(0,z.Z)(ln.prototype,"user",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),mn=(0,z.Z)(ln.prototype,"users",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),hn=(0,z.Z)(ln.prototype,"inMaintenance",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),vn=(0,z.Z)(ln.prototype,"inInvalid",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ln),Cn=(gn=Ce.Z.byVal,fn=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){var e;(0,a.Z)(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.Z)(e,"private",bn,(0,C.Z)(e)),e}return(0,o.Z)(r)}(Gt.Z),bn=(0,z.Z)(fn.prototype,"private",[gn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),fn),Tn=(yn=Ce.Z.byRef(Cn),_n=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){var e;(0,a.Z)(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.Z)(e,"payload",wn,(0,C.Z)(e)),e}return(0,o.Z)(r)}(Jt.Z),wn=(0,z.Z)(_n.prototype,"payload",[yn],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_n),Pn=r(784090),zn=(kn=function(e){(0,T.Z)(u,e);var t,r,s,l,c=(0,P.Z)(u);function u(){var e;(0,a.Z)(this,u);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e=c.call.apply(c,[this].concat(r)),(0,A.Z)(e,"invites",Zn,(0,C.Z)(e)),e}return(0,o.Z)(u,[{key:"setAttributes",value:function(e){var t,r;(0,q.Z)((0,V.Z)(u.prototype),"setAttributes",this).call(this,e),null!==(t=this.invites)&&void 0!==t||(this.invites=new Rr("".concat(this.linkHref("self"),"/invites?embed=user"))),null!==(r=this.users)&&void 0!==r||(this.users=new Dr("".concat(this.linkHref("self"),"/users?embed=user")))}},{key:"loadAllInvitesAndUsersJP",value:(l=(0,i.Z)((0,n.Z)().mark((function e(){var t;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(t=[]).push(this.invites.allJP()),t.push(this.users.allJP()),e.next=5,Promise.all(t);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(){return l.apply(this,arguments)})},{key:"hasShortWebHref",value:function(){var e;return(null===(e=this.webHref())||void 0===e?void 0:e.length)<30}},{key:"pollForShortWebHrefP",value:function(){var e=this,t=Pn.Deferred();if(this.hasShortWebHref())t.resolve();else{var r=0;!function n(){return r++,e.refreshP().done((function(){!e.hasShortWebHref()&&r<5?setTimeout(n,350):e.hasShortWebHref()?t.resolve():(ae.Z.reportFailure("pollForShortUrlFailure"),t.reject())})).fail((function(){t.reject()}))}()}return t.promise()}},{key:"getFilterFlags",value:function(){var e;return(null===(e=this.attributes.payload.filters)||void 0===e?void 0:e.flags)||[]}},{key:"enableNewPresentationFiltersP",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this.updateAttributesP("enableSpacePresentationFilters",{payload:{presentationFilters:e}})}},{key:"setDownloadEnabledP",value:function(e){return this.downloadEnabled()===e?Pn.Deferred().resolve():this.updateAttributesP("setSpaceDownloadEnabled",{payload:{download:e}})}},{key:"setAllowInviteRequestsJP",value:(s=(0,i.Z)((0,n.Z)().mark((function e(t){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("shared"!==this.attributes.subtype){e.next=4;break}return e.next=3,this.updateAttributesP("setAllowInviteRequests",{payload:{allowInviteRequests:t}});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)}))),function(e){return s.apply(this,arguments)})},{key:"allowInviteRequests",get:function(){return!0===this.attributes.payload.allowInviteRequests}},{key:"isOwner",value:function(){return!0}},{key:"hideUrl",get:function(){return!0===this.attributes.payload.hide_url}},{key:"reenableProofingJP",value:(r=(0,i.Z)((0,n.Z)().mark((function e(t){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateAttributesP("reshareAlbum",{payload:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"disableProofingJP",value:(t=(0,i.Z)((0,n.Z)().mark((function e(t){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateAttributesP("unshareAlbum",{payload:t});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),u}(An),Zn=(0,z.Z)(kn.prototype,"invites",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),kn);zn.prototype.attributeClass=Tn;const En=zn;var On,In,Rn,jn,Nn,Dn,Ln,Mn,Bn,Fn,Hn=r(784090),Un=(On=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(e){var n;return(0,a.Z)(this,r),n=t.call(this),(0,A.Z)(n,"_models",In,(0,C.Z)(n)),n}return(0,o.Z)(r,[{key:"reset",value:function(){return this._dirty?(this._models=new H.Z,this.indices={},this.page=0,this.pageSize=100,this.finished=!1,this.length=0,this.totalCount=null,this._dirty=!1,this):this}},{key:"fetchP",value:function(){return this.finished?Hn.Deferred().reject().promise():Hn.Deferred()}},{key:"assets",get:function(){return this}}]),r}(Gr),In=(0,z.Z)(On.prototype,"_models",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),On),qn=r(784090),Vn=(Rn=function(e){(0,T.Z)(f,e);var t,r,s,l,c,u,p,d,m,h,v,g=(0,P.Z)(f);function f(){var e;(0,a.Z)(this,f);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e=g.call.apply(g,[this].concat(r)),(0,A.Z)(e,"currentProofingClient",jn,(0,C.Z)(e)),(0,A.Z)(e,"isProofLoading",Nn,(0,C.Z)(e)),(0,A.Z)(e,"proofingClientList",Dn,(0,C.Z)(e)),(0,A.Z)(e,"selectedAssetsForFiltering",Ln,(0,C.Z)(e)),(0,A.Z)(e,"commentedAssetsForFiltering",Mn,(0,C.Z)(e)),(0,A.Z)(e,"spaces",Bn,(0,C.Z)(e)),(0,A.Z)(e,"reviewAssets",Fn,(0,C.Z)(e)),e}return(0,o.Z)(f,[{key:"_getAttributesMiddleware",value:function(){return[sr(this)]}},{key:"setAttributes",value:function(e){var t;(0,q.Z)((0,V.Z)(f.prototype),"setAttributes",this).call(this,e),"cluster"===this.getSubtype()&&(this.attributes.incomplete=e.incomplete),["cluster","project"].includes(this.getSubtype())&&null==this.topics&&(this.topics=this._createTopics()),this._initSpaces(),re.Z.is_enabled("collaborative_proofing")&&(null!==(t=this.reviewAssets)&&void 0!==t||(this.reviewAssets=new Un),this.reviewAssets.space=this.spaces)}},{key:"markAssetsDirty",value:function(){var e,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(0,q.Z)((0,V.Z)(f.prototype),"markAssetsDirty",this).call(this,t),null===(e=this.topics)||void 0===e||e.markAssetsDirty()}},{key:"_createDefaultAssetOptions",value:function(){return{embed:"asset;spaces;user",order_after:"-",subtype:"image;video",exclude:"incomplete"}}},{key:"_createTopics",value:function(){return new xr(this.linkHref("/rels/child_albums")).setParentAlbum(this)}},{key:"assets",get:function(){var e;return this.isCluster()||this.isProjectV1()?null===(e=this.topics)||void 0===e?void 0:e.assets:this.getAssets(this._defaultAssetOptions)},set:function(e){this._assets=e}},{key:"_initSpaces",value:function(){if(this.spaces=new H.Z,null!=this.attributes.spaces){var e,t=(0,$.Z)(this.attributes.spaces);try{for(t.s();!(e=t.n()).done;){var r=e.value;r.base=this.attributes.base,this.spaces.push(new En(r))}}catch(e){t.e(e)}finally{t.f()}}}},{key:"hasOpenInviteRequests",value:function(){var e=this.getSpace();return(null==e?void 0:e.invites.length)>0&&e.invites.models.filter((function(e){return e.isRequest()&&"open"===e.status})).length>0}},{key:"isSharePublic",value:function(){var e=this.getSpace();return null!=e&&!e.isPrivate()}},{key:"isShared",value:function(){var e=this.getSpace();return null!=e&&(!e.isPrivate()||(!(!e.allowInviteRequests&&e.hideUrl)||(null!=e.users&&null!=e.users.modelsBindable.find((function(e){return"accepted"===e.status}))||null!=e.invites&&null!=e.invites.modelsBindable.find((function(e){return"open"===e.status})))))}},{key:"isSharedJP",value:(v=(0,i.Z)((0,n.Z)().mark((function e(){var t;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.isShared()){e.next=2;break}return e.abrupt("return",!0);case 2:if(null!=(t=this.getSpace())){e.next=5;break}return e.abrupt("return",!1);case 5:return e.next=7,t.loadAllInvitesAndUsersJP();case 7:return e.abrupt("return",this.isShared());case 8:case"end":return e.stop()}}),e,this)}))),function(){return v.apply(this,arguments)})},{key:"getFilterFlags",value:function(){var e=[],t=this.getSpace();return null!=t&&(e=t.getFilterFlags()),e}},{key:"getSpace",value:function(){if(null==this.spaces)return null;for(var e=0,t=this.spaces.length;e<t;e++){var r=this.spaces.at(e),n=r.getSubType();if("gallery"!==n&&"review"!==n)return r}}},{key:"hasAnyRejectedAssetsJP",value:(h=(0,i.Z)((0,n.Z)().mark((function e(){var t,r;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={flag:"reject",subtype:"image;video",limit:1},e.next=3,this.getAssets(t,!0).pageP(0);case 3:return r=e.sent,e.abrupt("return",r.length>0);case 5:case"end":return e.stop()}}),e,this)}))),function(){return h.apply(this,arguments)})},{key:"canSafelyConvertLegacyShareFiltersJP",value:(m=(0,i.Z)((0,n.Z)().mark((function e(){var t,r,i;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==(t=this.getSpace())){e.next=25;break}if(!t.hasLegacyFilters()){e.next=22;break}if(0!==(r=this.getFilterFlags()).length&&3!==r.length){e.next=11;break}return e.next=7,this.hasAnyRejectedAssetsJP();case 7:return i=e.sent,e.abrupt("return",Promise.resolve(!i));case 11:if(1!==r.length||!r.includes("pick")){e.next=15;break}return e.abrupt("return",Promise.resolve(!0));case 15:if(!r.includes("pick")||!r.includes("unflagged")){e.next=19;break}return e.abrupt("return",Promise.resolve(!0));case 19:case 22:case 25:return e.abrupt("return",Promise.resolve(!1));case 20:e.next=23;break;case 23:e.next=26;break;case 26:case"end":return e.stop()}}),e,this)}))),function(){return m.apply(this,arguments)})},{key:"safeConvertLegacyShareFiltersJP",value:(d=(0,i.Z)((0,n.Z)().mark((function e(){var t,r,i,a;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==(t=this.getSpace())){e.next=20;break}if(!t.hasLegacyFilters()){e.next=20;break}return e.next=5,this.canSafelyConvertLegacyShareFiltersJP();case 5:if(!e.sent){e.next=20;break}if(1!==(r=this.getFilterFlags()).length||!r.includes("pick")){e.next=16;break}return i=this.updateAttributesP("safeConvertFilters",{presentation:{filters:{pickedOnly:!0}}}),a=t.enableNewPresentationFiltersP(),e.next=13,qn.when([i,a]);case 13:ae.Z.report("albumSafeLegacyFilterConversion",{pickedOnly:!0}),e.next=19;break;case 16:return e.next=18,t.enableNewPresentationFiltersP();case 18:ae.Z.report("albumSafeLegacyFilterConversion");case 19:return e.abrupt("return",Promise.resolve());case 20:return e.abrupt("return",Promise.reject());case 21:case"end":return e.stop()}}),e,this)}))),function(){return d.apply(this,arguments)})},{key:"hasPublicReview",value:function(){var e=!1,t=this.getReviewSpace();return null!=t&&(e=!t.isPrivate()),e}},{key:"getReviewSpace",value:function(){if(null==this.spaces)return null;for(var e=0,t=this.spaces.length;e<t;e++){var r=this.spaces.at(e);if("review"===r.getSubType())return r}}},{key:"hasGallerySpace",value:function(){if(null!=this.spaces)for(var e=0,t=this.spaces.length;e<t;e++)if("gallery"===this.spaces.at(e).getSubType())return!0}},{key:"updateAttributeP",value:function(e,t,r){var n={};return n[t]=r,(0,q.Z)((0,V.Z)(f.prototype),"updateAttributeP",this).call(this,e,"payload",n)}},{key:"renameP",value:function(e){return this.updateAttributesP("renameAlbum",{payload:{name:e}})}},{key:"setNameJP",value:(p=(0,i.Z)((0,n.Z)().mark((function e(t){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.renameP(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(e){return p.apply(this,arguments)})},{key:"setStoryTitleJP",value:(u=(0,i.Z)((0,n.Z)().mark((function e(t){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateAttributesP("setAlbumTitle",{payload:{story:{title:t}}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(e){return u.apply(this,arguments)})},{key:"deleteStoryTitleJP",value:(c=(0,i.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateAttributesP("setAlbumTitle",{payload:{story:{title:null}}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return c.apply(this,arguments)})},{key:"setStoryAuthorJP",value:(l=(0,i.Z)((0,n.Z)().mark((function e(t){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateAttributesP("setAlbumAuthor",{payload:{story:{author:t}}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(e){return l.apply(this,arguments)})},{key:"deleteStoryAuthorJP",value:(s=(0,i.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateAttributesP("setAlbumAuthor",{payload:{story:{author:null}}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return s.apply(this,arguments)})},{key:"reparentP",value:function(e){return null!=e?this.updateAttributesP("reparentAlbum",{payload:{parent:{id:e}}}):this.updateAttributesP("reparentAlbum",{payload:{parent:null}})}},{key:"setSlideshowSettingsP",value:function(e){var t=this.getSlideshowSettings();return qn.extend(t,e),this.updateAttributesP("setSlideshowSettings",{payload:{presentation:{slideshow:e}}})}},{key:"setPresentationSettingsP",value:function(e){var t=this.getPresentationSettings();return qn.extend(!0,t,e),this.updateAttributesP("setPresentationSettings",{payload:{presentation:e}})}},{key:"setPresentationFilterPickedOnlyP",value:function(e){var t=this;return this.updateAttributesP("setPresentationFilterPickedOnlyP",{payload:{presentation:{filters:{pickedOnly:e}}}}).then((function(){t.markFilteredAssetsDirty()}))}},{key:"setPresentationFilterRatingAtLeastP",value:function(e){var t,r=this;return t=0===e?"clearPresentationFilterRatingAtLeastP":"setPresentationFilterRatingAtLeastP",this.updateAttributesP(t,{payload:{presentation:{filters:{ratingAtLeast:e}}}}).then((function(){r.markFilteredAssetsDirty()}))}},{key:"clearPresentationFilterSettingsP",value:function(){var e=this;return this.updateAttributesP("clearPresentationFiltersP",{payload:{presentation:{filters:null}}}).then((function(){e.markFilteredAssetsDirty()}))}},{key:"saveCoverSettingsP",value:function(e){var t=this.getCoverSettings();return qn.extend(t,e),this.updateAttributesP("setCoverSettings",{payload:{presentation:{cover:e}}})}},{key:"resetCoverCropSettingsP",value:function(){return this.updateAttributesP("setCoverCropSettings",{payload:{presentation:{cover:{cropHints:{}}}}})}},{key:"hideInOrganizeP",value:function(){return this.updateAttributesP("hideInOrganize",{payload:{hideInOrganize:!0,parent:null}})}},{key:"showInOrganizeP",value:function(){return this.updateAttributesP("hideInOrganize",{payload:{hideInOrganize:!1}})}},{key:"deleteSpaceP",value:function(e){var t=this;return this.requestP("DELETE",e.href).then((function(){return t.markAssetsDirty(),t.refreshP()}))}},{key:"createSpaceJP",value:(r=(0,i.Z)((0,n.Z)().mark((function e(t){var r,i,a,o,s,l,c,u,p,d,m=arguments;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(["review","shared"].includes(r=m.length>1&&void 0!==m[1]?m[1]:"shared")){e.next=3;break}throw"This method needs to be updated for the new space subtype";case 3:return a=this._linkBase.fullHref("spaces/".concat(this.createUuid())),o=(new Date).toISOString(),t.userCreated=o,t.userUpdated=o,s={payload:t,subtype:r,resources:[{id:this.id,type:"album"}]},this.markAssetsDirty(),e.prev=9,l={"If-None-Match":this.id},e.next=13,this.requestJP("PUT",a,JSON.stringify(s),{headers:l});case 13:return e.next=15,this.refreshP();case 15:return i="shared"===r?this.getSpace():this.getReviewSpace(),e.prev=16,e.next=19,i.pollForShortWebHrefP();case 19:return e.abrupt("return",e.sent);case 22:e.prev=22,e.t0=e.catch(16);case 24:e.next=40;break;case 26:if(e.prev=26,e.t1=e.catch(9),c=(0,W.Z)(e.t1,3),u=c[0],p=c[1],d=c[2],412!==p){e.next=38;break}return e.next=32,this.refreshP();case 32:if(null!=(i="shared"===r?this.getSpace():this.getReviewSpace())){e.next=36;break}throw this.reportOzFailure("createSpace412RefreshFailure",u,p,d),e.t1;case 36:e.next=40;break;case 38:throw this.reportOzFailure("createSpaceFailure",u,p,d),e.t1;case 40:case"end":return e.stop()}}),e,this,[[9,26],[16,22]])}))),function(e){return r.apply(this,arguments)})},{key:"createSpaceP",value:function(e){var t=qn.Deferred();return this.createSpaceJP.then((function(e){return t.resolve(e)}),(function(e){return t.reject(e)})),t.promise()}},{key:"_getAssetsLink",value:function(){return this.linkHref("self")+"/assets"}},{key:"hasAssetsP",value:function(e){return e=qn.extend({limit:1},e),new cr.Z(this._getAssetsLink(),e).pageP(0).then((function(e){return e.length>0}))}},{key:"removeManyAssetsP",value:function(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.length>0&&("string"==typeof e[0]||e[0]instanceof String)?e:e.map((function(e){return e.id})),r=n?this.assets.deleteAssetsP(e):this.assets.deleteManyP(t,"removeAssetsFromAlbum"),this.assetsIdsRemoved(t,!0),r}},{key:"assetsIdsRemoved",value:function(e){var t,r,n=null===(t=this.getAttribute("payload").cover)||void 0===t?void 0:t.id,i=null!=n&&e.includes(n);i&&this.deleteAlbumCoverP();var a=null===(r=this._coverFallbackAsset)||void 0===r?void 0:r.id;(null!=a&&e.includes(a)||i)&&this.markAssetsDirty(!0)}},{key:"deleteAssetsLocally",value:function(e){this.assets.deleteLocally(e)}},{key:"coverIsSet",value:function(){return null!=this.getAttribute("payload").cover}},{key:"setAlbumCoverP",value:function(e){var t,r=this;null!=e?(t={}).id=e:t=null;var n=qn.Deferred().resolve().promise();return qn.when(this.updateAttributesP("setAlbumCover",{payload:{cover:t}}),n).done((function(){return null!=e?r.assets.getP(t.id).done((function(e){return r._setCover(e)})):r._setCover(null)}))}},{key:"setAlbumCoverJP",value:(t=(0,i.Z)((0,n.Z)().mark((function e(t){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.setAlbumCoverP(t);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"deleteAlbumCoverP",value:function(){return this._setCover(null),this.updateAttributesP("deleteAlbumCover",{payload:{cover:null}})}},{key:"addAsset",value:function(e){var t=this,r=new lr.Z(e);return r.refreshP().done((function(){t.assets.index(r.id)>=0||t.assets._add(r)}))}},{key:"_refreshP",value:function(e){return e=e||"".concat(this.href,"?embed=spaces"),(0,q.Z)((0,V.Z)(f.prototype),"_refreshP",this).call(this,e)}},{key:"isProjectV1",value:function(){var e,t,r,n,i,a;return null!=(null===(e=this.attributes)||void 0===e||null===(t=e.payload)||void 0===t||null===(r=t.presentation)||void 0===r?void 0:r.portfolio)||"project"===this.getSubtype()&&1===(null===(n=this.attributes)||void 0===n||null===(i=n.payload)||void 0===i||null===(a=i.publishInfo)||void 0===a?void 0:a.version)}},{key:"isCluster",value:function(){return"cluster"===this.getSubtype()}},{key:"createClustersP",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="".concat(this.href,"/clusters");e.length>0&&(t+="?".concat(e));var r={};return re.Z.is_enabled("best_photos_trust_oz_ignore_ratings_flags")&&(r={weights:{importance_weights:{rating:[0,0,0,0,0,0],hasTitle:0,hasCaption:0,flags:{pick:0,reject:0,unflagged:0}}}}),this.requestP("POST",t,JSON.stringify(r)).then((function(e,t,r){var n=new f(r.getResponseHeader("Location"));return re.Z.is_enabled("debug_best_photos")&&(n.debugClusterRequestId=r.getResponseHeader("x-request-id")),n}))}},{key:"refreshUntilClusteringCompletesP",value:function(e){var t=this,r=qn.Deferred(),n=1e3,i=0,a=0;return function o(){return null==e||e()?n*i>=18e4?(ae.Z.report("bestPhotosClusterTimeout"),void r.reject("timeout")):t.refreshP().done((function(){a=0,++i,!0===t.attributes.incomplete||re.Z.is_enabled("best_photos_load_forever")?(re.Z.is_enabled("debug")&&console.log("Still clustering."),setTimeout(o,n)):(re.Z.is_enabled("debug")&&console.log("Clustering complete!"),r.resolve())})).fail((function(){++a<=2?(ae.Z.report("bestPhotosClusterRefreshRetry"),setTimeout(o,n)):(ae.Z.report("bestPhotosClusterFail"),r.reject("fail"))})):r.reject("aborted")}(),r.promise()}},{key:"loadClustersP",value:function(){return this.topics.loadAssetsP(!1,!0)}},{key:"getReviewedAssetsP",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all_clients",n=this.getReviewSpace();return null!=n?(this.isProofLoading=!0,t&&this.assets.markDirty().reset(),this.reviewAssets.markDirty().reset(),this.assets.getReviewedAssetsP(n,r).done((function(t){e.proofingClientList=e.assets.proofingClientList,e.selectedAssetsForFiltering=e.assets.selectedAssetsForFiltering,e.commentedAssetsForFiltering=e.assets.commentedAssetsForFiltering,e.reviewAssets.addAssets(t)})).always((function(){e.currentProofingClient=r,e.reviewAssets.finished=!0,e.isProofLoading=!1}))):(this.reviewAssets.finished=!0,qn.Deferred().resolve([]).promise())}},{key:"splitAtAssetP",value:function(e,t,r,n){var i;return"first"===t?(i="left",e=this.assets.at(0).id):i=t,this.createNewLayoutSegmentP(e,i,r,n)}},{key:"createNewLayoutSegmentP",value:function(e,t,r,n){var i=this,a=this.createUuid(),o=oe.Z.catalogContext.href,s="".concat(o,"/assets/").concat(a,"/revisions/").concat(this.createUuid()),l={payload:{name:null!=r?r:"",description:null!=n?n:""},subtype:"layout_segment"};return this.requestP("PUT",s,JSON.stringify(l)).then((function(){var r=i.assets.index(e);if(!(r>=0))return qn.Deferred().reject("Unknown asset id ".concat(e));var n=r;return"right"===t&&n++,i.assets.addOrderedAssetIdsP([a],n)}))}},{key:"convertToDisplay",value:function(){var e;0===this.attributes.payload.presentation.explore.version&&this.attributes.dispatch("convertToDisplay"),1===(null===(e=this.attributes.payload.presentation.slideshow)||void 0===e?void 0:e.version)&&this.setSlideshowSettingsP(this.getSlideshowSettings().convertV1Properties().toJSON())}}]),f}(or),jn=(0,z.Z)(Rn.prototype,"currentProofingClient",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Nn=(0,z.Z)(Rn.prototype,"isProofLoading",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Dn=(0,z.Z)(Rn.prototype,"proofingClientList",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ln=(0,z.Z)(Rn.prototype,"selectedAssetsForFiltering",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Mn=(0,z.Z)(Rn.prototype,"commentedAssetsForFiltering",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Bn=(0,z.Z)(Rn.prototype,"spaces",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Fn=(0,z.Z)(Rn.prototype,"reviewAssets",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Rn);Vn.prototype.coverClass=F.Z,Vn.prototype.assetListClass=cr.Z;const Wn=Vn;var Jn=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){return(0,a.Z)(this,r),t.apply(this,arguments)}return(0,o.Z)(r,[{key:"setAttributes",value:function(e){var t;return this.order=null===(t=e.payload)||void 0===t?void 0:t.order,(0,q.Z)((0,V.Z)(r.prototype),"setAttributes",this).call(this,e)}},{key:"getOrder",value:function(){return this.order||""}}]),r}(or),Gn=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){return(0,a.Z)(this,r),t.apply(this,arguments)}return(0,o.Z)(r,[{key:"reparentP",value:function(e){return null!=e?this.updateAttributesP("reparentFolder",{payload:{parent:{id:e}}}):this.updateAttributesP("reparentFolder",{payload:{parent:null}})}}]),r}(Jn);Gn.prototype.assetListClass=cr.Z;const Kn=Gn;var Yn,Xn,Qn=(Yn=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(){var e;(0,a.Z)(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e=t.call.apply(t,[this].concat(i)),(0,A.Z)(e,"current",Xn,(0,C.Z)(e)),e}return(0,o.Z)(r,[{key:"setOzContent",value:function(e){var t,r,n,i,a,o=this,s=e.catalog;this.base="".concat(s.base).concat(s.links.self.href,"/");var l=(null===(t=e.ozAlbums)||void 0===t?void 0:t.length)||0,c=(null===(r=e.ozProjects)||void 0===r?void 0:r.length)||0;if(0===l&&0===c)return this.allPhotos=new B(s),this.allPhotos.path=[],void(this.rootFolder=this.allPhotos);this.rootFolder=new te;var u=(null===(n=e.recents)||void 0===n?void 0:n.assets)||[];this._addAssets(s,u);var p=[];e.ozAlbums.forEach((function(e){p.push(new Q(e))})),p.sort(N.Z.localeCompare);var d=new Map,m=[];e.ozCollectionSets.forEach((function(e){var t=new L(e);m.push(t),d.set(e.id,t)})),this.allAlbums=new M,m.forEach((function(e){(e.parentId?d.get(e.parentId):o.allAlbums).addFolder(e)})),p.forEach((function(e){(e.parentId?d.get(e.parentId):o.allAlbums).addAlbum(e)}));var h=function(e){return e.model.payload.userCreated||e.model.created},v=p.slice();v.sort((function(e,t){return N.Z.localeCompare(h(t),h(e))})),this.rootFolder.recentAlbums={recents:v,all:this.allAlbums};var g=function e(t,r){if(t.path=r,t.isFolder){var n=[].concat((0,R.Z)(r),[t]);t.folders.forEach((function(t){return e(t,n)})),t.albums.forEach((function(t){return e(t,n)}))}};if(null!==(i=e.recents)&&void 0!==i&&i.assets?g(this.allAlbums,[this.rootFolder]):(this.rootFolder=this.allAlbums,g(this.allAlbums,[])),(null===(a=e.ozProjects)||void 0===a?void 0:a.length)>0){var f=new ee;e.ozProjects.forEach((function(e){var t=new Q(e);t.path=[o.rootFolder,f],f.addAlbum(t)})),f.recents=f.albums.slice(),f.albums.sort(N.Z.localeCompare),f.path=[this.rootFolder],this.rootFolder.albumRowSource=f}}},{key:"setContent",value:function(e){var t;function r(e){var t=null==e?void 0:e.base,r=(null==e?void 0:e.resources)||[];return r.forEach((function(e){return e.base=t})),r}var n=r(null===(t=e.recents)||void 0===t?void 0:t.assets),i=r(e.collections).map((function(e){return new Wn(e)})),a=r(e.collection_sets).map((function(e){return new Kn(e)}));this.setOzContent({account:e.account,catalog:e.catalog,recents:{assets:n},ozAlbums:i,ozCollectionSets:a})}},{key:"_addAssets",value:function(e,t){return this.allPhotos=new B(e),this.allPhotos.path=[this.rootFolder],this.rootFolder.assetRowSource=new U(t),this.rootFolder.assetRowSeeMoreSource=this.allPhotos,t.length}}]),r}(j.Z),Xn=(0,z.Z)(Yn.prototype,"current",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Yn),ei={"en-US":function(){return Promise.resolve().then(r.bind(r,544550))},"en-GB":function(){return r.e(6873).then(r.bind(r,156699))},"cs-CZ":function(){return r.e(1363).then(r.bind(r,654709))},"da-DK":function(){return r.e(6906).then(r.bind(r,835907))},"de-DE":function(){return r.e(8715).then(r.bind(r,75509))},"es-ES":function(){return r.e(3366).then(r.bind(r,754443))},"es-MX":function(){return r.e(7352).then(r.bind(r,377567))},"fi-FI":function(){return r.e(858).then(r.bind(r,102103))},"fr-FR":function(){return r.e(3025).then(r.bind(r,170437))},"fr-CA":function(){return r.e(7343).then(r.bind(r,679540))},"hu-HU":function(){return r.e(3607).then(r.bind(r,925739))},"id-ID":function(){return r.e(2358).then(r.bind(r,51818))},"it-IT":function(){return r.e(9092).then(r.bind(r,833806))},"ja-JP":function(){return r.e(3498).then(r.bind(r,787517))},"ko-KR":function(){return r.e(140).then(r.bind(r,180308))},"nb-NO":function(){return r.e(8486).then(r.bind(r,836866))},"nl-NL":function(){return r.e(7301).then(r.bind(r,573241))},"pl-PL":function(){return r.e(692).then(r.bind(r,235688))},"pt-BR":function(){return r.e(8743).then(r.bind(r,975106))},"ru-RU":function(){return r.e(290).then(r.bind(r,804171))},"sv-SE":function(){return r.e(6234).then(r.bind(r,405865))},"th-TH":function(){return r.e(5847).then(r.bind(r,82990))},"tr-TR":function(){return r.e(7041).then(r.bind(r,36239))},"uk-UA":function(){return r.e(3029).then(r.bind(r,769566))},"vi-VN":function(){return r.e(1202).then(r.bind(r,832749))},"zh-CN":function(){return r.e(3469).then(r.bind(r,768709))},"zh-TW":function(){return r.e(4266).then(r.bind(r,95704))}},ti={en:"en-US",zh:"zh-CN",es:"es-ES",fr:"fr-FR",cs:"cs-CZ",da:"da-DK",de:"de-DE",fi:"fi-FI",hu:"hu-HU",id:"id-ID",it:"it-IT",ja:"ja-JP",ko:"ko-KR",nb:"nb-NO",nl:"nl-NL",pl:"pl-PL",pt:"pt-BR",ru:"ru-RU",sv:"sv-SE",th:"th-TH",tr:"tr-TR",uk:"uk-UA",vi:"vi-VN"},ri={"en-us":"English, US","en-gb":"English, UK","ja-jp":"日本語","zh-cn":"简体中文","zh-tw":"繁體中文","de-de":"Deutsch","pt-br":"Português, Brasil","es-es":"Español, España","es-mx":"Español, México","fr-ca":"Français, Canada","fr-fr":"Français, France","id-id":"Bahasa Indonesia","it-it":"Italiano","ko-kr":"한국어","ru-ru":"Русский","nl-nl":"Nederlands","sv-se":"Svenska","th-th":"ภาษาไทย","uk-ua":"Українська","hu-hu":"Magyar","cs-cz":"Čeština","da-dk":"Dansk","fi-fi":"Suomi","nb-no":"Norsk","pl-pl":"Polski","tr-tr":"Türkçe","zz-zz":"Mock Test"},ni=r(544550);const ii=new(function(){function e(){for(var t in(0,a.Z)(this,e),ni.default.activate(),this._activeCode=ni.default.code,window.navigator.language?this._preferedLanguages=[window.navigator.language]:this._preferedLanguages=window.navigator.languages||[window.navigator.userLanguage],this._preferedLanguages=this._preferedLanguages.map((function(e){return e.toLowerCase()})),this.languagePackLoaders={},ei)this.languagePackLoaders[t.toLowerCase()]=ei[t];for(var r in this.languageFallbacks={},ti)this.languageFallbacks[r.toLowerCase()]=ti[r].toLowerCase()}var t;return(0,o.Z)(e,[{key:"preferedLanguages",get:function(){return this.clientSpecifiedLanguage?[].concat(this.clientSpecifiedLanguage,this._preferedLanguages):this._preferedLanguages}},{key:"availableTranslations",get:function(){return Object.getOwnPropertyNames(this.languagePackLoaders)}},{key:"getTranslationName",value:function(e){return ri[e]?ri[e]:e}},{key:"setPreferredLanguageP",value:(t=(0,i.Z)((0,n.Z)().mark((function e(t){var r,i,a,o,s,l,c,u;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t&&(this.clientSpecifiedLanguage=t.toLowerCase()),i=(0,$.Z)(this.preferedLanguages),e.prev=2,i.s();case 4:if((a=i.n()).done){e.next=14;break}if(o=a.value,s=/([a-zA-Z]+)([-_]([a-zA-Z]+))/.exec(o),l=s?s[1]:void 0,c=this.languageFallbacks[l]||this.languageFallbacks[o],!(r=this.languagePackLoaders[o]||this.languagePackLoaders[c])){e.next=12;break}return e.abrupt("break",14);case 12:e.next=4;break;case 14:e.next=19;break;case 16:e.prev=16,e.t0=e.catch(2),i.e(e.t0);case 19:return e.prev=19,i.f(),e.finish(19);case 22:if(!r){e.next=29;break}return e.next=25,r();case 25:return(u=e.sent).default.activate(),this._activeCode=u.default.code,e.abrupt("return",this._activeCode);case 29:throw new Error(this._activeCode);case 30:case"end":return e.stop()}}),e,this,[[2,16,19,22]])}))),function(e){return t.apply(this,arguments)})}]),e}());var ai=r(481785),oi=r(772076),si={_unsetContent:void 0,_validSession:!1,setContent:function(e){if(si._validSession){var t=new Qn;t.setContent(e),t.current=t.rootFolder,si.sources=t,si._unsetContent=void 0}else si._unsetContent=e},setFeatures:function(e){if(e){var t,r=Object.getOwnPropertyNames(e),n=(0,$.Z)(r);try{for(n.s();!(t=n.n()).done;){var i=t.value;re.Z._override(i,e[i])}}catch(e){n.e(e)}finally{n.f()}}},setPreferredLanguageP:function(e){return ii.setPreferredLanguageP(e).catch((function(e){}))},setSession:function(e){K.session=e,oi.Z.reset(),oe.Z.haveNginxProxy=!1,oe.Z.hostOverride=e.host,oe.Z.authErrorCallback=function(){return console.warn("LR auth error")},pe.Z.setAuthHeaders(e.accessToken,e.apiKey),ai.Z.setAuthHeaders(e.accessToken,e.apiKey),si._validSession=!0,si._unsetContent&&si.setContent(si._unsetContent)}};const li=si;var ci=r(537188),ui=r.n(ci),pi=r(165764),di=r.n(pi),mi=r(774154),hi=r.n(mi),vi=r(811949),gi=r.n(vi),fi=r(934809),bi=r.n(fi),yi=r(12509),_i=r.n(yi),wi=r(63440),ki={};ki.styleTagTransform=_i(),ki.setAttributes=gi(),ki.insert=hi().bind(null,"head"),ki.domAPI=di(),ki.insertStyleElement=bi(),ui()(wi.Z,ki);const Zi=wi.Z&&wi.Z.locals?wi.Z.locals:void 0;var xi=r(550833),Si=(r(485143),r(61018)),$i=["spectrum","express"],Ai=["medium","large","medium-express","large-express"],Ci=["light","lightest","dark","darkest","light-express","lightest-express","dark-express","darkest-express"],Ti=function(e){(0,T.Z)(s,e);var t,r=(0,P.Z)(s);function s(){var e;(0,a.Z)(this,s),(e=r.call(this))._dir="",e._theme="spectrum",e._color="",e._scale="",e.trackedChildren=new Set,e._updateRequested=!1,e._contextConsumers=new Map,e.attachShadow({mode:"open"});var t=document.importNode(s.template.content,!0);return e.shadowRoot.appendChild(t),e.shouldAdoptStyles(),e.addEventListener("sp-query-theme",e.onQueryTheme),e.addEventListener("sp-language-context",e._handleContextPresence),e.updateComplete=e.__createDeferredPromise(),e}return(0,o.Z)(s,[{key:"dir",get:function(){return this._dir},set:function(e){if(e!==this.dir){this.setAttribute("dir",e),this._dir=e;var t="rtl"===e?e:"ltr";this.trackedChildren.forEach((function(e){e.setAttribute("dir",t)}))}}},{key:"attributeChangedCallback",value:function(e,t,r){t!==r&&("color"===e?this.color=r:"scale"===e?this.scale=r:"lang"===e&&r?(this.lang=r,this._provideContext()):"theme"===e?this.theme=r:"dir"===e&&(this.dir=r))}},{key:"requestUpdate",value:function(){void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow?this.shouldAdoptStyles():window.ShadyCSS.styleElement(this)}},{key:"theme",get:function(){var e=s.themeFragmentsByKind.get("theme"),t=(e&&e.get("default")||{}).name;return this._theme||t||""},set:function(e){if(e!==this._theme){var t=e&&$i.includes(e)?e:this.theme;t!==this._theme&&(this._theme=t,this.requestUpdate()),t?this.setAttribute("theme",t):this.removeAttribute("theme")}}},{key:"color",get:function(){var e=s.themeFragmentsByKind.get("color"),t=(e&&e.get("default")||{}).name;return this._color||t||""},set:function(e){if(e!==this._color){var t=e&&Ci.includes(e)?e:this.color;t!==this._color&&(this._color=t,this.requestUpdate()),t?this.setAttribute("color",t):this.removeAttribute("color")}}},{key:"scale",get:function(){var e=s.themeFragmentsByKind.get("scale"),t=(e&&e.get("default")||{}).name;return this._scale||t||""},set:function(e){if(e!==this._scale){var t=e&&Ai.includes(e)?e:this.scale;t!==this._scale&&(this._scale=t,this.requestUpdate()),t?this.setAttribute("scale",t):this.removeAttribute("scale")}}},{key:"styles",get:function(){var e=this,t=(0,R.Z)(s.themeFragmentsByKind.keys()),r=function(t,r,n){var i=n&&"theme"!==n&&"express"===e.theme?t.get("".concat(r,"-express")):t.get(r),a="spectrum"===r||!n||e.hasAttribute(n);if(i&&a)return i.styles};return(0,R.Z)(t.reduce((function(t,n){var i,a=s.themeFragmentsByKind.get(n);if("app"===n||"core"===n)i=r(a,n);else{var o=e[n];i=r(a,o,n)}return i&&t.push(i),t}),[]))}},{key:"__createDeferredPromise",value:function(){var e=this;return new Promise((function(t){e.__resolve=t}))}},{key:"onQueryTheme",value:function(e){if(!e.defaultPrevented){e.preventDefault();var t=e.detail;t.color=this.color||void 0,t.scale=this.scale||void 0,t.lang=this.lang||document.documentElement.lang||navigator.language,t.theme=this.theme||void 0}}},{key:"connectedCallback",value:function(){if(this.shouldAdoptStyles(),void 0!==window.ShadyCSS&&window.ShadyCSS.styleElement(this),s.instances.add(this),!this.hasAttribute("dir")){for(var e=this.assignedSlot||this.parentNode;e!==document.documentElement&&!(e instanceof s);)e=e.assignedSlot||e.parentNode||e.host;this.dir="rtl"===e.dir?e.dir:"ltr"}}},{key:"disconnectedCallback",value:function(){s.instances.delete(this)}},{key:"startManagingContentDirection",value:function(e){this.trackedChildren.add(e)}},{key:"stopManagingContentDirection",value:function(e){this.trackedChildren.delete(e)}},{key:"shouldAdoptStyles",value:(t=(0,i.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=this._updateRequested,e.t0){e.next=9;break}return this.updateComplete=this.__createDeferredPromise(),this._updateRequested=!0,e.next=6,!1;case 6:this._updateRequested=e.sent,this.adoptStyles(),this.__resolve(!0);case 9:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"adoptStyles",value:function(){var e=this,t=this.styles;if(void 0!==window.ShadyCSS&&!window.ShadyCSS.nativeShadow&&window.ShadyCSS.ScopingShim){var r,n=[],i=(0,$.Z)(s.themeFragmentsByKind);try{for(i.s();!(r=i.n()).done;){var a,o=(0,W.Z)(r.value,2),l=o[0],c=o[1],u=(0,$.Z)(c);try{for(u.s();!(a=u.n()).done;){var p=(0,W.Z)(a.value,2),d=p[0],m=p[1].styles;if("default"!==d){var h=m.cssText;s.defaultFragments.has(d)||(h=h.replace(":host",":host([".concat(l,"='").concat(d,"'])"))),n.push(h)}}}catch(e){u.e(e)}finally{u.f()}}}catch(e){i.e(e)}finally{i.f()}window.ShadyCSS.ScopingShim.prepareAdoptedCssText(n,this.localName),window.ShadyCSS.prepareTemplate(s.template,this.localName)}else if(Si.FV){var v,g=[],f=(0,$.Z)(t);try{for(f.s();!(v=f.n()).done;){var b=v.value;g.push(b.styleSheet)}}catch(e){f.e(e)}finally{f.f()}this.shadowRoot.adoptedStyleSheets=g}else this.shadowRoot.querySelectorAll("style").forEach((function(e){return e.remove()})),t.forEach((function(t){var r=document.createElement("style");r.textContent=t.cssText,e.shadowRoot.appendChild(r)}))}},{key:"_provideContext",value:function(){var e=this;this._contextConsumers.forEach((function(t){var r=(0,W.Z)(t,2),n=r[0],i=r[1];return n(e.lang,i)}))}},{key:"_handleContextPresence",value:function(e){var t=this;e.stopPropagation();var r=e.composedPath()[0];if(!this._contextConsumers.has(r)){this._contextConsumers.set(r,[e.detail.callback,function(){return t._contextConsumers.delete(r)}]);var n=this._contextConsumers.get(r)||[],i=(0,W.Z)(n,2),a=i[0],o=i[1];a&&o&&a(this.lang||document.documentElement.lang||navigator.language,o)}}}],[{key:"observedAttributes",get:function(){return["color","scale","theme","lang","dir"]}},{key:"template",get:function(){return this.templateElement||(this.templateElement=document.createElement("template"),this.templateElement.innerHTML="<slot></slot>"),this.templateElement}},{key:"registerThemeFragment",value:function(e,t,r){var n=s.themeFragmentsByKind.get(t)||new Map;0===n.size&&(s.themeFragmentsByKind.set(t,n),n.set("default",{name:e,styles:r}),s.defaultFragments.add(e)),n.set(e,{name:e,styles:r}),s.instances.forEach((function(e){return e.shouldAdoptStyles()}))}}]),s}((0,xi.Z)(HTMLElement));Ti.themeFragmentsByKind=new Map,Ti.defaultFragments=new Set(["spectrum"]),Ti.instances=new Set,customElements.define("sp-theme",Ti);var Pi,zi=r(488925);const Ei=(0,Si.iv)(Pi||(Pi=(0,zi.Z)(["\n:host,:root{--spectrum-global-color-status:Verified;--spectrum-global-color-version:5.1.0;--spectrum-global-color-opacity-100:1;--spectrum-global-color-opacity-90:0.9;--spectrum-global-color-opacity-80:0.8;--spectrum-global-color-opacity-70:0.7;--spectrum-global-color-opacity-60:0.6;--spectrum-global-color-opacity-55:0.55;--spectrum-global-color-opacity-50:0.5;--spectrum-global-color-opacity-42:0.42;--spectrum-global-color-opacity-40:0.4;--spectrum-global-color-opacity-30:0.3;--spectrum-global-color-opacity-25:0.25;--spectrum-global-color-opacity-20:0.2;--spectrum-global-color-opacity-15:0.15;--spectrum-global-color-opacity-10:0.1;--spectrum-global-color-opacity-8:0.08;--spectrum-global-color-opacity-7:0.07;--spectrum-global-color-opacity-6:0.06;--spectrum-global-color-opacity-5:0.05;--spectrum-global-color-opacity-4:0.04;--spectrum-global-color-opacity-0:0;--spectrum-global-color-celery-400-rgb:13,171,37;--spectrum-global-color-celery-400:rgb(var(--spectrum-global-color-celery-400-rgb));--spectrum-global-color-celery-500-rgb:45,191,58;--spectrum-global-color-celery-500:rgb(var(--spectrum-global-color-celery-500-rgb));--spectrum-global-color-celery-600-rgb:80,208,82;--spectrum-global-color-celery-600:rgb(var(--spectrum-global-color-celery-600-rgb));--spectrum-global-color-celery-700-rgb:115,224,107;--spectrum-global-color-celery-700:rgb(var(--spectrum-global-color-celery-700-rgb));--spectrum-global-color-chartreuse-400-rgb:138,180,3;--spectrum-global-color-chartreuse-400:rgb(var(--spectrum-global-color-chartreuse-400-rgb));--spectrum-global-color-chartreuse-500-rgb:154,198,11;--spectrum-global-color-chartreuse-500:rgb(var(--spectrum-global-color-chartreuse-500-rgb));--spectrum-global-color-chartreuse-600-rgb:170,216,22;--spectrum-global-color-chartreuse-600:rgb(var(--spectrum-global-color-chartreuse-600-rgb));--spectrum-global-color-chartreuse-700-rgb:187,232,41;--spectrum-global-color-chartreuse-700:rgb(var(--spectrum-global-color-chartreuse-700-rgb));--spectrum-global-color-yellow-400-rgb:216,181,0;--spectrum-global-color-yellow-400:rgb(var(--spectrum-global-color-yellow-400-rgb));--spectrum-global-color-yellow-500-rgb:233,199,0;--spectrum-global-color-yellow-500:rgb(var(--spectrum-global-color-yellow-500-rgb));--spectrum-global-color-yellow-600-rgb:247,216,4;--spectrum-global-color-yellow-600:rgb(var(--spectrum-global-color-yellow-600-rgb));--spectrum-global-color-yellow-700-rgb:249,233,97;--spectrum-global-color-yellow-700:rgb(var(--spectrum-global-color-yellow-700-rgb));--spectrum-global-color-magenta-400-rgb:209,43,114;--spectrum-global-color-magenta-400:rgb(var(--spectrum-global-color-magenta-400-rgb));--spectrum-global-color-magenta-500-rgb:227,69,137;--spectrum-global-color-magenta-500:rgb(var(--spectrum-global-color-magenta-500-rgb));--spectrum-global-color-magenta-600-rgb:241,97,156;--spectrum-global-color-magenta-600:rgb(var(--spectrum-global-color-magenta-600-rgb));--spectrum-global-color-magenta-700-rgb:252,124,173;--spectrum-global-color-magenta-700:rgb(var(--spectrum-global-color-magenta-700-rgb));--spectrum-global-color-fuchsia-400-rgb:191,43,191;--spectrum-global-color-fuchsia-400:rgb(var(--spectrum-global-color-fuchsia-400-rgb));--spectrum-global-color-fuchsia-500-rgb:211,65,213;--spectrum-global-color-fuchsia-500:rgb(var(--spectrum-global-color-fuchsia-500-rgb));--spectrum-global-color-fuchsia-600-rgb:228,91,229;--spectrum-global-color-fuchsia-600:rgb(var(--spectrum-global-color-fuchsia-600-rgb));--spectrum-global-color-fuchsia-700-rgb:239,120,238;--spectrum-global-color-fuchsia-700:rgb(var(--spectrum-global-color-fuchsia-700-rgb));--spectrum-global-color-purple-400-rgb:145,70,236;--spectrum-global-color-purple-400:rgb(var(--spectrum-global-color-purple-400-rgb));--spectrum-global-color-purple-500-rgb:162,94,246;--spectrum-global-color-purple-500:rgb(var(--spectrum-global-color-purple-500-rgb));--spectrum-global-color-purple-600-rgb:178,119,250;--spectrum-global-color-purple-600:rgb(var(--spectrum-global-color-purple-600-rgb));--spectrum-global-color-purple-700-rgb:192,143,252;--spectrum-global-color-purple-700:rgb(var(--spectrum-global-color-purple-700-rgb));--spectrum-global-color-indigo-400-rgb:90,96,235;--spectrum-global-color-indigo-400:rgb(var(--spectrum-global-color-indigo-400-rgb));--spectrum-global-color-indigo-500-rgb:110,115,246;--spectrum-global-color-indigo-500:rgb(var(--spectrum-global-color-indigo-500-rgb));--spectrum-global-color-indigo-600-rgb:132,136,253;--spectrum-global-color-indigo-600:rgb(var(--spectrum-global-color-indigo-600-rgb));--spectrum-global-color-indigo-700-rgb:153,157,255;--spectrum-global-color-indigo-700:rgb(var(--spectrum-global-color-indigo-700-rgb));--spectrum-global-color-seafoam-400-rgb:0,146,140;--spectrum-global-color-seafoam-400:rgb(var(--spectrum-global-color-seafoam-400-rgb));--spectrum-global-color-seafoam-500-rgb:0,165,159;--spectrum-global-color-seafoam-500:rgb(var(--spectrum-global-color-seafoam-500-rgb));--spectrum-global-color-seafoam-600-rgb:26,185,178;--spectrum-global-color-seafoam-600:rgb(var(--spectrum-global-color-seafoam-600-rgb));--spectrum-global-color-seafoam-700-rgb:66,202,195;--spectrum-global-color-seafoam-700:rgb(var(--spectrum-global-color-seafoam-700-rgb));--spectrum-global-color-red-400-rgb:221,33,24;--spectrum-global-color-red-400:rgb(var(--spectrum-global-color-red-400-rgb));--spectrum-global-color-red-500-rgb:238,67,49;--spectrum-global-color-red-500:rgb(var(--spectrum-global-color-red-500-rgb));--spectrum-global-color-red-600-rgb:249,99,76;--spectrum-global-color-red-600:rgb(var(--spectrum-global-color-red-600-rgb));--spectrum-global-color-red-700-rgb:255,129,107;--spectrum-global-color-red-700:rgb(var(--spectrum-global-color-red-700-rgb));--spectrum-global-color-orange-400-rgb:232,116,0;--spectrum-global-color-orange-400:rgb(var(--spectrum-global-color-orange-400-rgb));--spectrum-global-color-orange-500-rgb:249,137,23;--spectrum-global-color-orange-500:rgb(var(--spectrum-global-color-orange-500-rgb));--spectrum-global-color-orange-600-rgb:255,162,59;--spectrum-global-color-orange-600:rgb(var(--spectrum-global-color-orange-600-rgb));--spectrum-global-color-orange-700-rgb:255,188,102;--spectrum-global-color-orange-700:rgb(var(--spectrum-global-color-orange-700-rgb));--spectrum-global-color-green-400-rgb:0,149,98;--spectrum-global-color-green-400:rgb(var(--spectrum-global-color-green-400-rgb));--spectrum-global-color-green-500-rgb:28,168,114;--spectrum-global-color-green-500:rgb(var(--spectrum-global-color-green-500-rgb));--spectrum-global-color-green-600-rgb:52,187,132;--spectrum-global-color-green-600:rgb(var(--spectrum-global-color-green-600-rgb));--spectrum-global-color-green-700-rgb:75,205,149;--spectrum-global-color-green-700:rgb(var(--spectrum-global-color-green-700-rgb));--spectrum-global-color-blue-400-rgb:29,128,245;--spectrum-global-color-blue-400:rgb(var(--spectrum-global-color-blue-400-rgb));--spectrum-global-color-blue-500-rgb:64,150,243;--spectrum-global-color-blue-500:rgb(var(--spectrum-global-color-blue-500-rgb));--spectrum-global-color-blue-600-rgb:94,170,247;--spectrum-global-color-blue-600:rgb(var(--spectrum-global-color-blue-600-rgb));--spectrum-global-color-blue-700-rgb:124,189,250;--spectrum-global-color-blue-700:rgb(var(--spectrum-global-color-blue-700-rgb));--spectrum-global-color-gray-50-rgb:0,0,0;--spectrum-global-color-gray-50:rgb(var(--spectrum-global-color-gray-50-rgb));--spectrum-global-color-gray-75-rgb:14,14,14;--spectrum-global-color-gray-75:rgb(var(--spectrum-global-color-gray-75-rgb));--spectrum-global-color-gray-100-rgb:29,29,29;--spectrum-global-color-gray-100:rgb(var(--spectrum-global-color-gray-100-rgb));--spectrum-global-color-gray-200-rgb:48,48,48;--spectrum-global-color-gray-200:rgb(var(--spectrum-global-color-gray-200-rgb));--spectrum-global-color-gray-300-rgb:75,75,75;--spectrum-global-color-gray-300:rgb(var(--spectrum-global-color-gray-300-rgb));--spectrum-global-color-gray-400-rgb:106,106,106;--spectrum-global-color-gray-400:rgb(var(--spectrum-global-color-gray-400-rgb));--spectrum-global-color-gray-500-rgb:141,141,141;--spectrum-global-color-gray-500:rgb(var(--spectrum-global-color-gray-500-rgb));--spectrum-global-color-gray-600-rgb:176,176,176;--spectrum-global-color-gray-600:rgb(var(--spectrum-global-color-gray-600-rgb));--spectrum-global-color-gray-700-rgb:208,208,208;--spectrum-global-color-gray-700:rgb(var(--spectrum-global-color-gray-700-rgb));--spectrum-global-color-gray-800-rgb:235,235,235;--spectrum-global-color-gray-800:rgb(var(--spectrum-global-color-gray-800-rgb));--spectrum-global-color-gray-900-rgb:255,255,255;--spectrum-global-color-gray-900:rgb(var(--spectrum-global-color-gray-900-rgb));--spectrum-alias-background-color-primary:var(\n--spectrum-global-color-gray-100\n);--spectrum-alias-background-color-secondary:var(\n--spectrum-global-color-gray-75\n);--spectrum-alias-background-color-tertiary:var(\n--spectrum-global-color-gray-50\n);--spectrum-alias-background-color-modal-overlay:rgba(0,0,0,.6);--spectrum-alias-dropshadow-color:rgba(0,0,0,.8);--spectrum-alias-background-color-hover-overlay:hsla(0,0%,100%,.08);--spectrum-alias-highlight-hover:hsla(0,0%,100%,.08);--spectrum-alias-highlight-down:hsla(0,0%,100%,.15);--spectrum-alias-highlight-selected:rgba(64,150,243,.2);--spectrum-alias-highlight-selected-hover:rgba(64,150,243,.3);--spectrum-alias-text-highlight-color:rgba(64,150,243,.3);--spectrum-alias-background-color-quickactions:rgba(29,29,29,.9);--spectrum-alias-border-color-selected:var(\n--spectrum-global-color-blue-600\n);--spectrum-alias-border-color-translucent:hsla(0,0%,100%,.1);--spectrum-alias-radial-reaction-color-default:hsla(0,0%,92%,.6);--spectrum-alias-pasteboard-background-color:var(\n--spectrum-global-color-gray-50\n);--spectrum-alias-appframe-border-color:var(\n--spectrum-global-color-gray-50\n);--spectrum-alias-appframe-separator-color:var(\n--spectrum-global-color-gray-50\n);--spectrum-scrollbar-mac-s-track-background-color:var(\n--spectrum-global-color-gray-100\n);--spectrum-scrollbar-mac-m-track-background-color:var(\n--spectrum-global-color-gray-100\n);--spectrum-scrollbar-mac-l-track-background-color:var(\n--spectrum-global-color-gray-100\n);--spectrum-well-background-color:hsla(0,0%,92%,.02)}:host,:root{color-scheme:dark}:host,:root{--spectrum-overlay-opacity:0.6;--spectrum-drop-shadow-color-rgb:0,0,0;--spectrum-drop-shadow-color-opacity:0.8;--spectrum-drop-shadow-color:rgba(var(--spectrum-drop-shadow-color-rgb),var(--spectrum-drop-shadow-color-opacity));--spectrum-background-base-color:var(--spectrum-gray-50);--spectrum-background-layer-1-color:var(--spectrum-gray-75);--spectrum-background-layer-2-color:var(--spectrum-gray-100);--spectrum-neutral-background-color-default:var(--spectrum-gray-400);--spectrum-neutral-background-color-hover:var(--spectrum-gray-300);--spectrum-neutral-background-color-down:var(--spectrum-gray-200);--spectrum-neutral-background-color-key-focus:var(--spectrum-gray-300);--spectrum-neutral-subdued-background-color-default:var(\n--spectrum-gray-400\n);--spectrum-neutral-subdued-background-color-hover:var(--spectrum-gray-300);--spectrum-neutral-subdued-background-color-down:var(--spectrum-gray-200);--spectrum-neutral-subdued-background-color-key-focus:var(\n--spectrum-gray-300\n);--spectrum-accent-background-color-default:var(\n--spectrum-accent-color-600\n);--spectrum-accent-background-color-hover:var(--spectrum-accent-color-500);--spectrum-accent-background-color-down:var(--spectrum-accent-color-400);--spectrum-accent-background-color-key-focus:var(\n--spectrum-accent-color-500\n);--spectrum-informative-background-color-default:var(\n--spectrum-informative-color-600\n);--spectrum-informative-background-color-hover:var(\n--spectrum-informative-color-500\n);--spectrum-informative-background-color-down:var(\n--spectrum-informative-color-400\n);--spectrum-informative-background-color-key-focus:var(\n--spectrum-informative-color-500\n);--spectrum-negative-background-color-default:var(\n--spectrum-negative-color-600\n);--spectrum-negative-background-color-hover:var(\n--spectrum-negative-color-500\n);--spectrum-negative-background-color-down:var(\n--spectrum-negative-color-400\n);--spectrum-negative-background-color-key-focus:var(\n--spectrum-negative-color-500\n);--spectrum-positive-background-color-default:var(\n--spectrum-positive-color-600\n);--spectrum-positive-background-color-hover:var(\n--spectrum-positive-color-500\n);--spectrum-positive-background-color-down:var(\n--spectrum-positive-color-400\n);--spectrum-positive-background-color-key-focus:var(\n--spectrum-positive-color-500\n);--spectrum-notice-background-color-default:var(\n--spectrum-notice-color-800\n);--spectrum-gray-background-color-default:var(--spectrum-gray-700);--spectrum-red-background-color-default:var(--spectrum-red-700);--spectrum-orange-background-color-default:var(--spectrum-orange-800);--spectrum-yellow-background-color-default:var(--spectrum-yellow-1000);--spectrum-chartreuse-background-color-default:var(\n--spectrum-chartreuse-900\n);--spectrum-celery-background-color-default:var(--spectrum-celery-800);--spectrum-green-background-color-default:var(--spectrum-green-700);--spectrum-seafoam-background-color-default:var(--spectrum-seafoam-700);--spectrum-cyan-background-color-default:var(--spectrum-cyan-700);--spectrum-blue-background-color-default:var(--spectrum-blue-700);--spectrum-indigo-background-color-default:var(--spectrum-indigo-700);--spectrum-purple-background-color-default:var(--spectrum-purple-700);--spectrum-fuchsia-background-color-default:var(--spectrum-fuchsia-700);--spectrum-magenta-background-color-default:var(--spectrum-magenta-700);--spectrum-neutral-visual-color:var(--spectrum-gray-600);--spectrum-accent-visual-color:var(--spectrum-accent-color-900);--spectrum-informative-visual-color:var(--spectrum-informative-color-900);--spectrum-negative-visual-color:var(--spectrum-negative-color-700);--spectrum-notice-visual-color:var(--spectrum-notice-color-900);--spectrum-positive-visual-color:var(--spectrum-positive-color-800);--spectrum-gray-visual-color:var(--spectrum-gray-600);--spectrum-red-visual-color:var(--spectrum-red-700);--spectrum-orange-visual-color:var(--spectrum-orange-900);--spectrum-yellow-visual-color:var(--spectrum-yellow-1100);--spectrum-chartreuse-visual-color:var(--spectrum-chartreuse-900);--spectrum-celery-visual-color:var(--spectrum-celery-800);--spectrum-green-visual-color:var(--spectrum-green-800);--spectrum-seafoam-visual-color:var(--spectrum-seafoam-800);--spectrum-cyan-visual-color:var(--spectrum-cyan-900);--spectrum-blue-visual-color:var(--spectrum-blue-900);--spectrum-indigo-visual-color:var(--spectrum-indigo-900);--spectrum-purple-visual-color:var(--spectrum-purple-900);--spectrum-fuchsia-visual-color:var(--spectrum-fuchsia-900);--spectrum-magenta-visual-color:var(--spectrum-magenta-900);--spectrum-opacity-checkerboard-square-dark:var(--spectrum-gray-800);--spectrum-gray-50-rgb:0,0,0;--spectrum-gray-50:rgba(var(--spectrum-gray-50-rgb));--spectrum-gray-75-rgb:14,14,14;--spectrum-gray-75:rgba(var(--spectrum-gray-75-rgb));--spectrum-gray-100-rgb:29,29,29;--spectrum-gray-100:rgba(var(--spectrum-gray-100-rgb));--spectrum-gray-200-rgb:48,48,48;--spectrum-gray-200:rgba(var(--spectrum-gray-200-rgb));--spectrum-gray-300-rgb:75,75,75;--spectrum-gray-300:rgba(var(--spectrum-gray-300-rgb));--spectrum-gray-400-rgb:106,106,106;--spectrum-gray-400:rgba(var(--spectrum-gray-400-rgb));--spectrum-gray-500-rgb:141,141,141;--spectrum-gray-500:rgba(var(--spectrum-gray-500-rgb));--spectrum-gray-600-rgb:176,176,176;--spectrum-gray-600:rgba(var(--spectrum-gray-600-rgb));--spectrum-gray-700-rgb:208,208,208;--spectrum-gray-700:rgba(var(--spectrum-gray-700-rgb));--spectrum-gray-800-rgb:235,235,235;--spectrum-gray-800:rgba(var(--spectrum-gray-800-rgb));--spectrum-gray-900-rgb:255,255,255;--spectrum-gray-900:rgba(var(--spectrum-gray-900-rgb));--spectrum-blue-100-rgb:0,38,81;--spectrum-blue-100:rgba(var(--spectrum-blue-100-rgb));--spectrum-blue-200-rgb:0,50,106;--spectrum-blue-200:rgba(var(--spectrum-blue-200-rgb));--spectrum-blue-300-rgb:0,64,135;--spectrum-blue-300:rgba(var(--spectrum-blue-300-rgb));--spectrum-blue-400-rgb:0,78,166;--spectrum-blue-400:rgba(var(--spectrum-blue-400-rgb));--spectrum-blue-500-rgb:0,92,200;--spectrum-blue-500:rgba(var(--spectrum-blue-500-rgb));--spectrum-blue-600-rgb:6,108,231;--spectrum-blue-600:rgba(var(--spectrum-blue-600-rgb));--spectrum-blue-700-rgb:29,128,245;--spectrum-blue-700:rgba(var(--spectrum-blue-700-rgb));--spectrum-blue-800-rgb:64,150,243;--spectrum-blue-800:rgba(var(--spectrum-blue-800-rgb));--spectrum-blue-900-rgb:94,170,247;--spectrum-blue-900:rgba(var(--spectrum-blue-900-rgb));--spectrum-blue-1000-rgb:124,189,250;--spectrum-blue-1000:rgba(var(--spectrum-blue-1000-rgb));--spectrum-blue-1100-rgb:152,206,253;--spectrum-blue-1100:rgba(var(--spectrum-blue-1100-rgb));--spectrum-blue-1200-rgb:179,222,254;--spectrum-blue-1200:rgba(var(--spectrum-blue-1200-rgb));--spectrum-blue-1300-rgb:206,234,255;--spectrum-blue-1300:rgba(var(--spectrum-blue-1300-rgb));--spectrum-blue-1400-rgb:227,243,255;--spectrum-blue-1400:rgba(var(--spectrum-blue-1400-rgb));--spectrum-red-100-rgb:87,0,0;--spectrum-red-100:rgba(var(--spectrum-red-100-rgb));--spectrum-red-200-rgb:110,0,0;--spectrum-red-200:rgba(var(--spectrum-red-200-rgb));--spectrum-red-300-rgb:138,0,0;--spectrum-red-300:rgba(var(--spectrum-red-300-rgb));--spectrum-red-400-rgb:167,0,0;--spectrum-red-400:rgba(var(--spectrum-red-400-rgb));--spectrum-red-500-rgb:196,7,6;--spectrum-red-500:rgba(var(--spectrum-red-500-rgb));--spectrum-red-600-rgb:221,33,24;--spectrum-red-600:rgba(var(--spectrum-red-600-rgb));--spectrum-red-700-rgb:238,67,49;--spectrum-red-700:rgba(var(--spectrum-red-700-rgb));--spectrum-red-800-rgb:249,99,76;--spectrum-red-800:rgba(var(--spectrum-red-800-rgb));--spectrum-red-900-rgb:255,129,107;--spectrum-red-900:rgba(var(--spectrum-red-900-rgb));--spectrum-red-1000-rgb:255,158,140;--spectrum-red-1000:rgba(var(--spectrum-red-1000-rgb));--spectrum-red-1100-rgb:255,183,169;--spectrum-red-1100:rgba(var(--spectrum-red-1100-rgb));--spectrum-red-1200-rgb:255,205,195;--spectrum-red-1200:rgba(var(--spectrum-red-1200-rgb));--spectrum-red-1300-rgb:255,223,217;--spectrum-red-1300:rgba(var(--spectrum-red-1300-rgb));--spectrum-red-1400-rgb:255,237,234;--spectrum-red-1400:rgba(var(--spectrum-red-1400-rgb));--spectrum-orange-100-rgb:72,24,1;--spectrum-orange-100:rgba(var(--spectrum-orange-100-rgb));--spectrum-orange-200-rgb:92,32,0;--spectrum-orange-200:rgba(var(--spectrum-orange-200-rgb));--spectrum-orange-300-rgb:115,43,0;--spectrum-orange-300:rgba(var(--spectrum-orange-300-rgb));--spectrum-orange-400-rgb:138,55,0;--spectrum-orange-400:rgba(var(--spectrum-orange-400-rgb));--spectrum-orange-500-rgb:162,68,0;--spectrum-orange-500:rgba(var(--spectrum-orange-500-rgb));--spectrum-orange-600-rgb:186,82,0;--spectrum-orange-600:rgba(var(--spectrum-orange-600-rgb));--spectrum-orange-700-rgb:210,98,0;--spectrum-orange-700:rgba(var(--spectrum-orange-700-rgb));--spectrum-orange-800-rgb:232,116,0;--spectrum-orange-800:rgba(var(--spectrum-orange-800-rgb));--spectrum-orange-900-rgb:249,137,23;--spectrum-orange-900:rgba(var(--spectrum-orange-900-rgb));--spectrum-orange-1000-rgb:255,162,59;--spectrum-orange-1000:rgba(var(--spectrum-orange-1000-rgb));--spectrum-orange-1100-rgb:255,188,102;--spectrum-orange-1100:rgba(var(--spectrum-orange-1100-rgb));--spectrum-orange-1200-rgb:253,210,145;--spectrum-orange-1200:rgba(var(--spectrum-orange-1200-rgb));--spectrum-orange-1300-rgb:255,226,181;--spectrum-orange-1300:rgba(var(--spectrum-orange-1300-rgb));--spectrum-orange-1400-rgb:255,239,213;--spectrum-orange-1400:rgba(var(--spectrum-orange-1400-rgb));--spectrum-yellow-100-rgb:53,36,0;--spectrum-yellow-100:rgba(var(--spectrum-yellow-100-rgb));--spectrum-yellow-200-rgb:68,47,0;--spectrum-yellow-200:rgba(var(--spectrum-yellow-200-rgb));--spectrum-yellow-300-rgb:86,62,0;--spectrum-yellow-300:rgba(var(--spectrum-yellow-300-rgb));--spectrum-yellow-400-rgb:103,77,0;--spectrum-yellow-400:rgba(var(--spectrum-yellow-400-rgb));--spectrum-yellow-500-rgb:122,92,0;--spectrum-yellow-500:rgba(var(--spectrum-yellow-500-rgb));--spectrum-yellow-600-rgb:141,108,0;--spectrum-yellow-600:rgba(var(--spectrum-yellow-600-rgb));--spectrum-yellow-700-rgb:161,126,0;--spectrum-yellow-700:rgba(var(--spectrum-yellow-700-rgb));--spectrum-yellow-800-rgb:180,144,0;--spectrum-yellow-800:rgba(var(--spectrum-yellow-800-rgb));--spectrum-yellow-900-rgb:199,162,0;--spectrum-yellow-900:rgba(var(--spectrum-yellow-900-rgb));--spectrum-yellow-1000-rgb:216,181,0;--spectrum-yellow-1000:rgba(var(--spectrum-yellow-1000-rgb));--spectrum-yellow-1100-rgb:233,199,0;--spectrum-yellow-1100:rgba(var(--spectrum-yellow-1100-rgb));--spectrum-yellow-1200-rgb:247,216,4;--spectrum-yellow-1200:rgba(var(--spectrum-yellow-1200-rgb));--spectrum-yellow-1300-rgb:249,233,97;--spectrum-yellow-1300:rgba(var(--spectrum-yellow-1300-rgb));--spectrum-yellow-1400-rgb:252,243,170;--spectrum-yellow-1400:rgba(var(--spectrum-yellow-1400-rgb));--spectrum-chartreuse-100-rgb:32,43,0;--spectrum-chartreuse-100:rgba(var(--spectrum-chartreuse-100-rgb));--spectrum-chartreuse-200-rgb:42,56,0;--spectrum-chartreuse-200:rgba(var(--spectrum-chartreuse-200-rgb));--spectrum-chartreuse-300-rgb:54,72,0;--spectrum-chartreuse-300:rgba(var(--spectrum-chartreuse-300-rgb));--spectrum-chartreuse-400-rgb:66,88,0;--spectrum-chartreuse-400:rgba(var(--spectrum-chartreuse-400-rgb));--spectrum-chartreuse-500-rgb:79,105,0;--spectrum-chartreuse-500:rgba(var(--spectrum-chartreuse-500-rgb));--spectrum-chartreuse-600-rgb:93,123,0;--spectrum-chartreuse-600:rgba(var(--spectrum-chartreuse-600-rgb));--spectrum-chartreuse-700-rgb:107,142,0;--spectrum-chartreuse-700:rgba(var(--spectrum-chartreuse-700-rgb));--spectrum-chartreuse-800-rgb:122,161,0;--spectrum-chartreuse-800:rgba(var(--spectrum-chartreuse-800-rgb));--spectrum-chartreuse-900-rgb:138,180,3;--spectrum-chartreuse-900:rgba(var(--spectrum-chartreuse-900-rgb));--spectrum-chartreuse-1000-rgb:154,198,11;--spectrum-chartreuse-1000:rgba(var(--spectrum-chartreuse-1000-rgb));--spectrum-chartreuse-1100-rgb:170,216,22;--spectrum-chartreuse-1100:rgba(var(--spectrum-chartreuse-1100-rgb));--spectrum-chartreuse-1200-rgb:187,232,41;--spectrum-chartreuse-1200:rgba(var(--spectrum-chartreuse-1200-rgb));--spectrum-chartreuse-1300-rgb:205,246,72;--spectrum-chartreuse-1300:rgba(var(--spectrum-chartreuse-1300-rgb));--spectrum-chartreuse-1400-rgb:225,253,132;--spectrum-chartreuse-1400:rgba(var(--spectrum-chartreuse-1400-rgb));--spectrum-celery-100-rgb:0,47,7;--spectrum-celery-100:rgba(var(--spectrum-celery-100-rgb));--spectrum-celery-200-rgb:0,61,9;--spectrum-celery-200:rgba(var(--spectrum-celery-200-rgb));--spectrum-celery-300-rgb:0,77,12;--spectrum-celery-300:rgba(var(--spectrum-celery-300-rgb));--spectrum-celery-400-rgb:0,95,15;--spectrum-celery-400:rgba(var(--spectrum-celery-400-rgb));--spectrum-celery-500-rgb:0,113,15;--spectrum-celery-500:rgba(var(--spectrum-celery-500-rgb));--spectrum-celery-600-rgb:0,132,15;--spectrum-celery-600:rgba(var(--spectrum-celery-600-rgb));--spectrum-celery-700-rgb:0,151,20;--spectrum-celery-700:rgba(var(--spectrum-celery-700-rgb));--spectrum-celery-800-rgb:13,171,37;--spectrum-celery-800:rgba(var(--spectrum-celery-800-rgb));--spectrum-celery-900-rgb:45,191,58;--spectrum-celery-900:rgba(var(--spectrum-celery-900-rgb));--spectrum-celery-1000-rgb:80,208,82;--spectrum-celery-1000:rgba(var(--spectrum-celery-1000-rgb));--spectrum-celery-1100-rgb:115,224,107;--spectrum-celery-1100:rgba(var(--spectrum-celery-1100-rgb));--spectrum-celery-1200-rgb:147,237,131;--spectrum-celery-1200:rgba(var(--spectrum-celery-1200-rgb));--spectrum-celery-1300-rgb:180,247,162;--spectrum-celery-1300:rgba(var(--spectrum-celery-1300-rgb));--spectrum-celery-1400-rgb:213,252,202;--spectrum-celery-1400:rgba(var(--spectrum-celery-1400-rgb));--spectrum-green-100-rgb:10,44,28;--spectrum-green-100:rgba(var(--spectrum-green-100-rgb));--spectrum-green-200-rgb:7,59,36;--spectrum-green-200:rgba(var(--spectrum-green-200-rgb));--spectrum-green-300-rgb:0,76,46;--spectrum-green-300:rgba(var(--spectrum-green-300-rgb));--spectrum-green-400-rgb:0,93,57;--spectrum-green-400:rgba(var(--spectrum-green-400-rgb));--spectrum-green-500-rgb:0,111,69;--spectrum-green-500:rgba(var(--spectrum-green-500-rgb));--spectrum-green-600-rgb:0,130,82;--spectrum-green-600:rgba(var(--spectrum-green-600-rgb));--spectrum-green-700-rgb:0,149,98;--spectrum-green-700:rgba(var(--spectrum-green-700-rgb));--spectrum-green-800-rgb:28,168,114;--spectrum-green-800:rgba(var(--spectrum-green-800-rgb));--spectrum-green-900-rgb:52,187,132;--spectrum-green-900:rgba(var(--spectrum-green-900-rgb));--spectrum-green-1000-rgb:75,205,149;--spectrum-green-1000:rgba(var(--spectrum-green-1000-rgb));--spectrum-green-1100-rgb:103,222,168;--spectrum-green-1100:rgba(var(--spectrum-green-1100-rgb));--spectrum-green-1200-rgb:137,236,188;--spectrum-green-1200:rgba(var(--spectrum-green-1200-rgb));--spectrum-green-1300-rgb:177,244,209;--spectrum-green-1300:rgba(var(--spectrum-green-1300-rgb));--spectrum-green-1400-rgb:214,249,228;--spectrum-green-1400:rgba(var(--spectrum-green-1400-rgb));--spectrum-seafoam-100-rgb:18,43,42;--spectrum-seafoam-100:rgba(var(--spectrum-seafoam-100-rgb));--spectrum-seafoam-200-rgb:19,57,55;--spectrum-seafoam-200:rgba(var(--spectrum-seafoam-200-rgb));--spectrum-seafoam-300-rgb:16,73,70;--spectrum-seafoam-300:rgba(var(--spectrum-seafoam-300-rgb));--spectrum-seafoam-400-rgb:3,91,88;--spectrum-seafoam-400:rgba(var(--spectrum-seafoam-400-rgb));--spectrum-seafoam-500-rgb:0,108,104;--spectrum-seafoam-500:rgba(var(--spectrum-seafoam-500-rgb));--spectrum-seafoam-600-rgb:0,127,121;--spectrum-seafoam-600:rgba(var(--spectrum-seafoam-600-rgb));--spectrum-seafoam-700-rgb:0,146,140;--spectrum-seafoam-700:rgba(var(--spectrum-seafoam-700-rgb));--spectrum-seafoam-800-rgb:0,165,159;--spectrum-seafoam-800:rgba(var(--spectrum-seafoam-800-rgb));--spectrum-seafoam-900-rgb:26,185,178;--spectrum-seafoam-900:rgba(var(--spectrum-seafoam-900-rgb));--spectrum-seafoam-1000-rgb:66,202,195;--spectrum-seafoam-1000:rgba(var(--spectrum-seafoam-1000-rgb));--spectrum-seafoam-1100-rgb:102,218,211;--spectrum-seafoam-1100:rgba(var(--spectrum-seafoam-1100-rgb));--spectrum-seafoam-1200-rgb:139,232,225;--spectrum-seafoam-1200:rgba(var(--spectrum-seafoam-1200-rgb));--spectrum-seafoam-1300-rgb:179,242,237;--spectrum-seafoam-1300:rgba(var(--spectrum-seafoam-1300-rgb));--spectrum-seafoam-1400-rgb:215,248,244;--spectrum-seafoam-1400:rgba(var(--spectrum-seafoam-1400-rgb));--spectrum-cyan-100-rgb:0,41,68;--spectrum-cyan-100:rgba(var(--spectrum-cyan-100-rgb));--spectrum-cyan-200-rgb:0,54,88;--spectrum-cyan-200:rgba(var(--spectrum-cyan-200-rgb));--spectrum-cyan-300-rgb:0,69,108;--spectrum-cyan-300:rgba(var(--spectrum-cyan-300-rgb));--spectrum-cyan-400-rgb:0,86,128;--spectrum-cyan-400:rgba(var(--spectrum-cyan-400-rgb));--spectrum-cyan-500-rgb:0,103,147;--spectrum-cyan-500:rgba(var(--spectrum-cyan-500-rgb));--spectrum-cyan-600-rgb:0,121,167;--spectrum-cyan-600:rgba(var(--spectrum-cyan-600-rgb));--spectrum-cyan-700-rgb:0,140,186;--spectrum-cyan-700:rgba(var(--spectrum-cyan-700-rgb));--spectrum-cyan-800-rgb:4,160,205;--spectrum-cyan-800:rgba(var(--spectrum-cyan-800-rgb));--spectrum-cyan-900-rgb:23,180,221;--spectrum-cyan-900:rgba(var(--spectrum-cyan-900-rgb));--spectrum-cyan-1000-rgb:57,199,234;--spectrum-cyan-1000:rgba(var(--spectrum-cyan-1000-rgb));--spectrum-cyan-1100-rgb:96,216,243;--spectrum-cyan-1100:rgba(var(--spectrum-cyan-1100-rgb));--spectrum-cyan-1200-rgb:134,230,250;--spectrum-cyan-1200:rgba(var(--spectrum-cyan-1200-rgb));--spectrum-cyan-1300-rgb:170,242,255;--spectrum-cyan-1300:rgba(var(--spectrum-cyan-1300-rgb));--spectrum-cyan-1400-rgb:206,249,255;--spectrum-cyan-1400:rgba(var(--spectrum-cyan-1400-rgb));--spectrum-indigo-100-rgb:26,29,97;--spectrum-indigo-100:rgba(var(--spectrum-indigo-100-rgb));--spectrum-indigo-200-rgb:35,39,125;--spectrum-indigo-200:rgba(var(--spectrum-indigo-200-rgb));--spectrum-indigo-300-rgb:46,50,158;--spectrum-indigo-300:rgba(var(--spectrum-indigo-300-rgb));--spectrum-indigo-400-rgb:58,63,189;--spectrum-indigo-400:rgba(var(--spectrum-indigo-400-rgb));--spectrum-indigo-500-rgb:73,78,216;--spectrum-indigo-500:rgba(var(--spectrum-indigo-500-rgb));--spectrum-indigo-600-rgb:90,96,235;--spectrum-indigo-600:rgba(var(--spectrum-indigo-600-rgb));--spectrum-indigo-700-rgb:110,115,246;--spectrum-indigo-700:rgba(var(--spectrum-indigo-700-rgb));--spectrum-indigo-800-rgb:132,136,253;--spectrum-indigo-800:rgba(var(--spectrum-indigo-800-rgb));--spectrum-indigo-900-rgb:153,157,255;--spectrum-indigo-900:rgba(var(--spectrum-indigo-900-rgb));--spectrum-indigo-1000-rgb:174,177,255;--spectrum-indigo-1000:rgba(var(--spectrum-indigo-1000-rgb));--spectrum-indigo-1100-rgb:194,196,255;--spectrum-indigo-1100:rgba(var(--spectrum-indigo-1100-rgb));--spectrum-indigo-1200-rgb:212,213,255;--spectrum-indigo-1200:rgba(var(--spectrum-indigo-1200-rgb));--spectrum-indigo-1300-rgb:227,228,255;--spectrum-indigo-1300:rgba(var(--spectrum-indigo-1300-rgb));--spectrum-indigo-1400-rgb:240,240,255;--spectrum-indigo-1400:rgba(var(--spectrum-indigo-1400-rgb));--spectrum-purple-100-rgb:50,16,104;--spectrum-purple-100:rgba(var(--spectrum-purple-100-rgb));--spectrum-purple-200-rgb:67,13,140;--spectrum-purple-200:rgba(var(--spectrum-purple-200-rgb));--spectrum-purple-300-rgb:86,16,173;--spectrum-purple-300:rgba(var(--spectrum-purple-300-rgb));--spectrum-purple-400-rgb:106,29,200;--spectrum-purple-400:rgba(var(--spectrum-purple-400-rgb));--spectrum-purple-500-rgb:126,49,222;--spectrum-purple-500:rgba(var(--spectrum-purple-500-rgb));--spectrum-purple-600-rgb:145,70,236;--spectrum-purple-600:rgba(var(--spectrum-purple-600-rgb));--spectrum-purple-700-rgb:162,94,246;--spectrum-purple-700:rgba(var(--spectrum-purple-700-rgb));--spectrum-purple-800-rgb:178,119,250;--spectrum-purple-800:rgba(var(--spectrum-purple-800-rgb));--spectrum-purple-900-rgb:192,143,252;--spectrum-purple-900:rgba(var(--spectrum-purple-900-rgb));--spectrum-purple-1000-rgb:206,166,253;--spectrum-purple-1000:rgba(var(--spectrum-purple-1000-rgb));--spectrum-purple-1100-rgb:219,188,254;--spectrum-purple-1100:rgba(var(--spectrum-purple-1100-rgb));--spectrum-purple-1200-rgb:230,207,255;--spectrum-purple-1200:rgba(var(--spectrum-purple-1200-rgb));--spectrum-purple-1300-rgb:240,224,255;--spectrum-purple-1300:rgba(var(--spectrum-purple-1300-rgb));--spectrum-purple-1400-rgb:248,237,255;--spectrum-purple-1400:rgba(var(--spectrum-purple-1400-rgb));--spectrum-fuchsia-100-rgb:70,14,68;--spectrum-fuchsia-100:rgba(var(--spectrum-fuchsia-100-rgb));--spectrum-fuchsia-200-rgb:93,9,92;--spectrum-fuchsia-200:rgba(var(--spectrum-fuchsia-200-rgb));--spectrum-fuchsia-300-rgb:120,0,120;--spectrum-fuchsia-300:rgba(var(--spectrum-fuchsia-300-rgb));--spectrum-fuchsia-400-rgb:146,0,147;--spectrum-fuchsia-400:rgba(var(--spectrum-fuchsia-400-rgb));--spectrum-fuchsia-500-rgb:169,19,170;--spectrum-fuchsia-500:rgba(var(--spectrum-fuchsia-500-rgb));--spectrum-fuchsia-600-rgb:191,43,191;--spectrum-fuchsia-600:rgba(var(--spectrum-fuchsia-600-rgb));--spectrum-fuchsia-700-rgb:211,65,213;--spectrum-fuchsia-700:rgba(var(--spectrum-fuchsia-700-rgb));--spectrum-fuchsia-800-rgb:228,91,229;--spectrum-fuchsia-800:rgba(var(--spectrum-fuchsia-800-rgb));--spectrum-fuchsia-900-rgb:239,120,238;--spectrum-fuchsia-900:rgba(var(--spectrum-fuchsia-900-rgb));--spectrum-fuchsia-1000-rgb:246,149,243;--spectrum-fuchsia-1000:rgba(var(--spectrum-fuchsia-1000-rgb));--spectrum-fuchsia-1100-rgb:251,175,246;--spectrum-fuchsia-1100:rgba(var(--spectrum-fuchsia-1100-rgb));--spectrum-fuchsia-1200-rgb:254,199,248;--spectrum-fuchsia-1200:rgba(var(--spectrum-fuchsia-1200-rgb));--spectrum-fuchsia-1300-rgb:255,220,250;--spectrum-fuchsia-1300:rgba(var(--spectrum-fuchsia-1300-rgb));--spectrum-fuchsia-1400-rgb:255,235,252;--spectrum-fuchsia-1400:rgba(var(--spectrum-fuchsia-1400-rgb));--spectrum-magenta-100-rgb:83,3,41;--spectrum-magenta-100:rgba(var(--spectrum-magenta-100-rgb));--spectrum-magenta-200-rgb:106,0,52;--spectrum-magenta-200:rgba(var(--spectrum-magenta-200-rgb));--spectrum-magenta-300-rgb:133,0,65;--spectrum-magenta-300:rgba(var(--spectrum-magenta-300-rgb));--spectrum-magenta-400-rgb:161,0,78;--spectrum-magenta-400:rgba(var(--spectrum-magenta-400-rgb));--spectrum-magenta-500-rgb:186,22,93;--spectrum-magenta-500:rgba(var(--spectrum-magenta-500-rgb));--spectrum-magenta-600-rgb:209,43,114;--spectrum-magenta-600:rgba(var(--spectrum-magenta-600-rgb));--spectrum-magenta-700-rgb:227,69,137;--spectrum-magenta-700:rgba(var(--spectrum-magenta-700-rgb));--spectrum-magenta-800-rgb:241,97,156;--spectrum-magenta-800:rgba(var(--spectrum-magenta-800-rgb));--spectrum-magenta-900-rgb:252,124,173;--spectrum-magenta-900:rgba(var(--spectrum-magenta-900-rgb));--spectrum-magenta-1000-rgb:255,152,191;--spectrum-magenta-1000:rgba(var(--spectrum-magenta-1000-rgb));--spectrum-magenta-1100-rgb:255,179,207;--spectrum-magenta-1100:rgba(var(--spectrum-magenta-1100-rgb));--spectrum-magenta-1200-rgb:255,202,221;--spectrum-magenta-1200:rgba(var(--spectrum-magenta-1200-rgb));--spectrum-magenta-1300-rgb:255,221,233;--spectrum-magenta-1300:rgba(var(--spectrum-magenta-1300-rgb));--spectrum-magenta-1400-rgb:255,236,243;--spectrum-magenta-1400:rgba(var(--spectrum-magenta-1400-rgb))}:host,:root{--spectrum-menu-item-background-color-default-rgb:255,255,255;--spectrum-menu-item-background-color-default-opacity:0;--spectrum-menu-item-background-color-default:rgba(var(--spectrum-menu-item-background-color-default-rgb),var(--spectrum-menu-item-background-color-default-opacity));--spectrum-menu-item-background-color-hover:var(\n--spectrum-transparent-white-200\n);--spectrum-menu-item-background-color-down:var(\n--spectrum-transparent-white-200\n);--spectrum-menu-item-background-color-key-focus:var(\n--spectrum-transparent-white-200\n);--spectrum-drop-zone-background-color-rgb:var(\n--spectrum-blue-900-rgb\n)}\n"])));var Oi;const Ii=(0,Si.iv)(Oi||(Oi=(0,zi.Z)(['\n:host,:root{--spectrum-global-animation-linear:cubic-bezier(0,0,1,1);--spectrum-global-animation-duration-0:0ms;--spectrum-global-animation-duration-100:130ms;--spectrum-global-animation-duration-200:160ms;--spectrum-global-animation-duration-300:190ms;--spectrum-global-animation-duration-400:220ms;--spectrum-global-animation-duration-500:250ms;--spectrum-global-animation-duration-600:300ms;--spectrum-global-animation-duration-700:350ms;--spectrum-global-animation-duration-800:400ms;--spectrum-global-animation-duration-900:450ms;--spectrum-global-animation-duration-1000:500ms;--spectrum-global-animation-duration-2000:1000ms;--spectrum-global-animation-duration-4000:2000ms;--spectrum-global-animation-ease-in-out:cubic-bezier(0.45,0,0.4,1);--spectrum-global-animation-ease-in:cubic-bezier(0.5,0,1,1);--spectrum-global-animation-ease-out:cubic-bezier(0,0,0.4,1);--spectrum-global-animation-ease-linear:cubic-bezier(0,0,1,1);--spectrum-global-color-status:Verified;--spectrum-global-color-version:5.1.0;--spectrum-global-color-static-black-rgb:0,0,0;--spectrum-global-color-static-black:rgb(var(--spectrum-global-color-static-black-rgb));--spectrum-global-color-static-white-rgb:255,255,255;--spectrum-global-color-static-white:rgb(var(--spectrum-global-color-static-white-rgb));--spectrum-global-color-static-blue-rgb:0,87,191;--spectrum-global-color-static-blue:rgb(var(--spectrum-global-color-static-blue-rgb));--spectrum-global-color-static-gray-50-rgb:255,255,255;--spectrum-global-color-static-gray-50:rgb(var(--spectrum-global-color-static-gray-50-rgb));--spectrum-global-color-static-gray-75-rgb:255,255,255;--spectrum-global-color-static-gray-75:rgb(var(--spectrum-global-color-static-gray-75-rgb));--spectrum-global-color-static-gray-100-rgb:255,255,255;--spectrum-global-color-static-gray-100:rgb(var(--spectrum-global-color-static-gray-100-rgb));--spectrum-global-color-static-gray-200-rgb:235,235,235;--spectrum-global-color-static-gray-200:rgb(var(--spectrum-global-color-static-gray-200-rgb));--spectrum-global-color-static-gray-300-rgb:217,217,217;--spectrum-global-color-static-gray-300:rgb(var(--spectrum-global-color-static-gray-300-rgb));--spectrum-global-color-static-gray-400-rgb:179,179,179;--spectrum-global-color-static-gray-400:rgb(var(--spectrum-global-color-static-gray-400-rgb));--spectrum-global-color-static-gray-500-rgb:146,146,146;--spectrum-global-color-static-gray-500:rgb(var(--spectrum-global-color-static-gray-500-rgb));--spectrum-global-color-static-gray-600-rgb:110,110,110;--spectrum-global-color-static-gray-600:rgb(var(--spectrum-global-color-static-gray-600-rgb));--spectrum-global-color-static-gray-700-rgb:71,71,71;--spectrum-global-color-static-gray-700:rgb(var(--spectrum-global-color-static-gray-700-rgb));--spectrum-global-color-static-gray-800-rgb:34,34,34;--spectrum-global-color-static-gray-800:rgb(var(--spectrum-global-color-static-gray-800-rgb));--spectrum-global-color-static-gray-900-rgb:0,0,0;--spectrum-global-color-static-gray-900:rgb(var(--spectrum-global-color-static-gray-900-rgb));--spectrum-global-color-static-red-400-rgb:237,64,48;--spectrum-global-color-static-red-400:rgb(var(--spectrum-global-color-static-red-400-rgb));--spectrum-global-color-static-red-500-rgb:217,28,21;--spectrum-global-color-static-red-500:rgb(var(--spectrum-global-color-static-red-500-rgb));--spectrum-global-color-static-red-600-rgb:187,2,2;--spectrum-global-color-static-red-600:rgb(var(--spectrum-global-color-static-red-600-rgb));--spectrum-global-color-static-red-700-rgb:154,0,0;--spectrum-global-color-static-red-700:rgb(var(--spectrum-global-color-static-red-700-rgb));--spectrum-global-color-static-red-800-rgb:124,0,0;--spectrum-global-color-static-red-800:rgb(var(--spectrum-global-color-static-red-800-rgb));--spectrum-global-color-static-orange-400-rgb:250,139,26;--spectrum-global-color-static-orange-400:rgb(var(--spectrum-global-color-static-orange-400-rgb));--spectrum-global-color-static-orange-500-rgb:233,117,0;--spectrum-global-color-static-orange-500:rgb(var(--spectrum-global-color-static-orange-500-rgb));--spectrum-global-color-static-orange-600-rgb:209,97,0;--spectrum-global-color-static-orange-600:rgb(var(--spectrum-global-color-static-orange-600-rgb));--spectrum-global-color-static-orange-700-rgb:182,80,0;--spectrum-global-color-static-orange-700:rgb(var(--spectrum-global-color-static-orange-700-rgb));--spectrum-global-color-static-orange-800-rgb:155,64,0;--spectrum-global-color-static-orange-800:rgb(var(--spectrum-global-color-static-orange-800-rgb));--spectrum-global-color-static-yellow-200-rgb:250,237,123;--spectrum-global-color-static-yellow-200:rgb(var(--spectrum-global-color-static-yellow-200-rgb));--spectrum-global-color-static-yellow-300-rgb:250,224,23;--spectrum-global-color-static-yellow-300:rgb(var(--spectrum-global-color-static-yellow-300-rgb));--spectrum-global-color-static-yellow-400-rgb:238,205,0;--spectrum-global-color-static-yellow-400:rgb(var(--spectrum-global-color-static-yellow-400-rgb));--spectrum-global-color-static-yellow-500-rgb:221,185,0;--spectrum-global-color-static-yellow-500:rgb(var(--spectrum-global-color-static-yellow-500-rgb));--spectrum-global-color-static-yellow-600-rgb:201,164,0;--spectrum-global-color-static-yellow-600:rgb(var(--spectrum-global-color-static-yellow-600-rgb));--spectrum-global-color-static-yellow-700-rgb:181,144,0;--spectrum-global-color-static-yellow-700:rgb(var(--spectrum-global-color-static-yellow-700-rgb));--spectrum-global-color-static-yellow-800-rgb:160,125,0;--spectrum-global-color-static-yellow-800:rgb(var(--spectrum-global-color-static-yellow-800-rgb));--spectrum-global-color-static-chartreuse-300-rgb:176,222,27;--spectrum-global-color-static-chartreuse-300:rgb(var(--spectrum-global-color-static-chartreuse-300-rgb));--spectrum-global-color-static-chartreuse-400-rgb:157,203,13;--spectrum-global-color-static-chartreuse-400:rgb(var(--spectrum-global-color-static-chartreuse-400-rgb));--spectrum-global-color-static-chartreuse-500-rgb:139,182,4;--spectrum-global-color-static-chartreuse-500:rgb(var(--spectrum-global-color-static-chartreuse-500-rgb));--spectrum-global-color-static-chartreuse-600-rgb:122,162,0;--spectrum-global-color-static-chartreuse-600:rgb(var(--spectrum-global-color-static-chartreuse-600-rgb));--spectrum-global-color-static-chartreuse-700-rgb:106,141,0;--spectrum-global-color-static-chartreuse-700:rgb(var(--spectrum-global-color-static-chartreuse-700-rgb));--spectrum-global-color-static-chartreuse-800-rgb:90,120,0;--spectrum-global-color-static-chartreuse-800:rgb(var(--spectrum-global-color-static-chartreuse-800-rgb));--spectrum-global-color-static-celery-200-rgb:126,229,114;--spectrum-global-color-static-celery-200:rgb(var(--spectrum-global-color-static-celery-200-rgb));--spectrum-global-color-static-celery-300-rgb:87,212,86;--spectrum-global-color-static-celery-300:rgb(var(--spectrum-global-color-static-celery-300-rgb));--spectrum-global-color-static-celery-400-rgb:48,193,61;--spectrum-global-color-static-celery-400:rgb(var(--spectrum-global-color-static-celery-400-rgb));--spectrum-global-color-static-celery-500-rgb:15,172,38;--spectrum-global-color-static-celery-500:rgb(var(--spectrum-global-color-static-celery-500-rgb));--spectrum-global-color-static-celery-600-rgb:0,150,20;--spectrum-global-color-static-celery-600:rgb(var(--spectrum-global-color-static-celery-600-rgb));--spectrum-global-color-static-celery-700-rgb:0,128,15;--spectrum-global-color-static-celery-700:rgb(var(--spectrum-global-color-static-celery-700-rgb));--spectrum-global-color-static-celery-800-rgb:0,107,15;--spectrum-global-color-static-celery-800:rgb(var(--spectrum-global-color-static-celery-800-rgb));--spectrum-global-color-static-green-400-rgb:29,169,115;--spectrum-global-color-static-green-400:rgb(var(--spectrum-global-color-static-green-400-rgb));--spectrum-global-color-static-green-500-rgb:0,148,97;--spectrum-global-color-static-green-500:rgb(var(--spectrum-global-color-static-green-500-rgb));--spectrum-global-color-static-green-600-rgb:0,126,80;--spectrum-global-color-static-green-600:rgb(var(--spectrum-global-color-static-green-600-rgb));--spectrum-global-color-static-green-700-rgb:0,105,65;--spectrum-global-color-static-green-700:rgb(var(--spectrum-global-color-static-green-700-rgb));--spectrum-global-color-static-green-800-rgb:0,86,53;--spectrum-global-color-static-green-800:rgb(var(--spectrum-global-color-static-green-800-rgb));--spectrum-global-color-static-seafoam-200-rgb:75,206,199;--spectrum-global-color-static-seafoam-200:rgb(var(--spectrum-global-color-static-seafoam-200-rgb));--spectrum-global-color-static-seafoam-300-rgb:32,187,180;--spectrum-global-color-static-seafoam-300:rgb(var(--spectrum-global-color-static-seafoam-300-rgb));--spectrum-global-color-static-seafoam-400-rgb:0,166,160;--spectrum-global-color-static-seafoam-400:rgb(var(--spectrum-global-color-static-seafoam-400-rgb));--spectrum-global-color-static-seafoam-500-rgb:0,145,139;--spectrum-global-color-static-seafoam-500:rgb(var(--spectrum-global-color-static-seafoam-500-rgb));--spectrum-global-color-static-seafoam-600-rgb:0,124,118;--spectrum-global-color-static-seafoam-600:rgb(var(--spectrum-global-color-static-seafoam-600-rgb));--spectrum-global-color-static-seafoam-700-rgb:0,103,99;--spectrum-global-color-static-seafoam-700:rgb(var(--spectrum-global-color-static-seafoam-700-rgb));--spectrum-global-color-static-seafoam-800-rgb:10,83,80;--spectrum-global-color-static-seafoam-800:rgb(var(--spectrum-global-color-static-seafoam-800-rgb));--spectrum-global-color-static-blue-200-rgb:130,193,251;--spectrum-global-color-static-blue-200:rgb(var(--spectrum-global-color-static-blue-200-rgb));--spectrum-global-color-static-blue-300-rgb:98,173,247;--spectrum-global-color-static-blue-300:rgb(var(--spectrum-global-color-static-blue-300-rgb));--spectrum-global-color-static-blue-400-rgb:66,151,244;--spectrum-global-color-static-blue-400:rgb(var(--spectrum-global-color-static-blue-400-rgb));--spectrum-global-color-static-blue-500-rgb:27,127,245;--spectrum-global-color-static-blue-500:rgb(var(--spectrum-global-color-static-blue-500-rgb));--spectrum-global-color-static-blue-600-rgb:4,105,227;--spectrum-global-color-static-blue-600:rgb(var(--spectrum-global-color-static-blue-600-rgb));--spectrum-global-color-static-blue-700-rgb:0,87,190;--spectrum-global-color-static-blue-700:rgb(var(--spectrum-global-color-static-blue-700-rgb));--spectrum-global-color-static-blue-800-rgb:0,72,153;--spectrum-global-color-static-blue-800:rgb(var(--spectrum-global-color-static-blue-800-rgb));--spectrum-global-color-static-indigo-200-rgb:178,181,255;--spectrum-global-color-static-indigo-200:rgb(var(--spectrum-global-color-static-indigo-200-rgb));--spectrum-global-color-static-indigo-300-rgb:155,159,255;--spectrum-global-color-static-indigo-300:rgb(var(--spectrum-global-color-static-indigo-300-rgb));--spectrum-global-color-static-indigo-400-rgb:132,137,253;--spectrum-global-color-static-indigo-400:rgb(var(--spectrum-global-color-static-indigo-400-rgb));--spectrum-global-color-static-indigo-500-rgb:109,115,246;--spectrum-global-color-static-indigo-500:rgb(var(--spectrum-global-color-static-indigo-500-rgb));--spectrum-global-color-static-indigo-600-rgb:87,93,232;--spectrum-global-color-static-indigo-600:rgb(var(--spectrum-global-color-static-indigo-600-rgb));--spectrum-global-color-static-indigo-700-rgb:68,74,208;--spectrum-global-color-static-indigo-700:rgb(var(--spectrum-global-color-static-indigo-700-rgb));--spectrum-global-color-static-indigo-800-rgb:68,74,208;--spectrum-global-color-static-indigo-800:rgb(var(--spectrum-global-color-static-indigo-800-rgb));--spectrum-global-color-static-purple-400-rgb:178,121,250;--spectrum-global-color-static-purple-400:rgb(var(--spectrum-global-color-static-purple-400-rgb));--spectrum-global-color-static-purple-500-rgb:161,93,246;--spectrum-global-color-static-purple-500:rgb(var(--spectrum-global-color-static-purple-500-rgb));--spectrum-global-color-static-purple-600-rgb:142,67,234;--spectrum-global-color-static-purple-600:rgb(var(--spectrum-global-color-static-purple-600-rgb));--spectrum-global-color-static-purple-700-rgb:120,43,216;--spectrum-global-color-static-purple-700:rgb(var(--spectrum-global-color-static-purple-700-rgb));--spectrum-global-color-static-purple-800-rgb:98,23,190;--spectrum-global-color-static-purple-800:rgb(var(--spectrum-global-color-static-purple-800-rgb));--spectrum-global-color-static-fuchsia-400-rgb:228,93,230;--spectrum-global-color-static-fuchsia-400:rgb(var(--spectrum-global-color-static-fuchsia-400-rgb));--spectrum-global-color-static-fuchsia-500-rgb:211,63,212;--spectrum-global-color-static-fuchsia-500:rgb(var(--spectrum-global-color-static-fuchsia-500-rgb));--spectrum-global-color-static-fuchsia-600-rgb:188,39,187;--spectrum-global-color-static-fuchsia-600:rgb(var(--spectrum-global-color-static-fuchsia-600-rgb));--spectrum-global-color-static-fuchsia-700-rgb:163,10,163;--spectrum-global-color-static-fuchsia-700:rgb(var(--spectrum-global-color-static-fuchsia-700-rgb));--spectrum-global-color-static-fuchsia-800-rgb:135,0,136;--spectrum-global-color-static-fuchsia-800:rgb(var(--spectrum-global-color-static-fuchsia-800-rgb));--spectrum-global-color-static-magenta-200-rgb:253,127,175;--spectrum-global-color-static-magenta-200:rgb(var(--spectrum-global-color-static-magenta-200-rgb));--spectrum-global-color-static-magenta-300-rgb:242,98,157;--spectrum-global-color-static-magenta-300:rgb(var(--spectrum-global-color-static-magenta-300-rgb));--spectrum-global-color-static-magenta-400-rgb:226,68,135;--spectrum-global-color-static-magenta-400:rgb(var(--spectrum-global-color-static-magenta-400-rgb));--spectrum-global-color-static-magenta-500-rgb:205,40,111;--spectrum-global-color-static-magenta-500:rgb(var(--spectrum-global-color-static-magenta-500-rgb));--spectrum-global-color-static-magenta-600-rgb:179,15,89;--spectrum-global-color-static-magenta-600:rgb(var(--spectrum-global-color-static-magenta-600-rgb));--spectrum-global-color-static-magenta-700-rgb:149,0,72;--spectrum-global-color-static-magenta-700:rgb(var(--spectrum-global-color-static-magenta-700-rgb));--spectrum-global-color-static-magenta-800-rgb:119,0,58;--spectrum-global-color-static-magenta-800:rgb(var(--spectrum-global-color-static-magenta-800-rgb));--spectrum-global-color-static-transparent-white-200:hsla(0,0%,100%,.1);--spectrum-global-color-static-transparent-white-300:hsla(0,0%,100%,.25);--spectrum-global-color-static-transparent-white-400:hsla(0,0%,100%,.4);--spectrum-global-color-static-transparent-white-500:hsla(0,0%,100%,.55);--spectrum-global-color-static-transparent-white-600:hsla(0,0%,100%,.7);--spectrum-global-color-static-transparent-white-700:hsla(0,0%,100%,.8);--spectrum-global-color-static-transparent-white-800:hsla(0,0%,100%,.9);--spectrum-global-color-static-transparent-white-900-rgb:255,255,255;--spectrum-global-color-static-transparent-white-900:rgb(var(--spectrum-global-color-static-transparent-white-900-rgb));--spectrum-global-color-static-transparent-black-200:rgba(0,0,0,.1);--spectrum-global-color-static-transparent-black-300:rgba(0,0,0,.25);--spectrum-global-color-static-transparent-black-400:rgba(0,0,0,.4);--spectrum-global-color-static-transparent-black-500:rgba(0,0,0,.55);--spectrum-global-color-static-transparent-black-600:rgba(0,0,0,.7);--spectrum-global-color-static-transparent-black-700:rgba(0,0,0,.8);--spectrum-global-color-static-transparent-black-800:rgba(0,0,0,.9);--spectrum-global-color-static-transparent-black-900-rgb:0,0,0;--spectrum-global-color-static-transparent-black-900:rgb(var(--spectrum-global-color-static-transparent-black-900-rgb));--spectrum-global-color-sequential-cerulean:#e9fff1,#c8f1e4,#a5e3d7,#82d5ca,#68c5c1,#54b4ba,#3fa2b2,#2991ac,#2280a2,#1f6d98,#1d5c8d,#1a4b83,#1a3979,#1a266f,#191264,#180057;--spectrum-global-color-sequential-forest:#ffffdf,#e2f6ba,#c4eb95,#a4e16d,#8dd366,#77c460,#5fb65a,#48a754,#36984f,#2c894d,#237a4a,#196b47,#105c45,#094d41,#033f3e,#00313a;--spectrum-global-color-sequential-rose:#fff4dd,#ffddd7,#ffc5d2,#feaecb,#fa96c4,#f57ebd,#ef64b5,#e846ad,#d238a1,#bb2e96,#a3248c,#8a1b83,#71167c,#560f74,#370b6e,#000968;--spectrum-global-color-diverging-orange-yellow-seafoam:#580000,#79260b,#9c4511,#bd651a,#dd8629,#f5ad52,#fed693,#ffffe0,#bbe4d1,#76c7be,#3ea8a6,#208288,#076769,#00494b,#002c2d;--spectrum-global-color-diverging-red-yellow-blue:#4a001e,#751232,#a52747,#c65154,#e47961,#f0a882,#fad4ac,#ffffe0,#bce2cf,#89c0c4,#579eb9,#397aa8,#1c5796,#163771,#10194d;--spectrum-global-color-diverging-red-blue:#4a001e,#731331,#9f2945,#cc415a,#e06e85,#ed9ab0,#f8c3d9,#faf0ff,#c6d0f2,#92b2de,#5d94cb,#2f74b3,#265191,#163670,#0b194c;--spectrum-semantic-negative-background-color:var(\n--spectrum-global-color-static-red-600\n);--spectrum-semantic-negative-color-default:var(\n--spectrum-global-color-red-500\n);--spectrum-semantic-negative-color-hover:var(\n--spectrum-global-color-red-600\n);--spectrum-semantic-negative-color-dark:var(\n--spectrum-global-color-red-600\n);--spectrum-semantic-negative-border-color:var(\n--spectrum-global-color-red-400\n);--spectrum-semantic-negative-icon-color:var(\n--spectrum-global-color-red-600\n);--spectrum-semantic-negative-status-color:var(\n--spectrum-global-color-red-400\n);--spectrum-semantic-negative-text-color-large:var(\n--spectrum-global-color-red-500\n);--spectrum-semantic-negative-text-color-small:var(\n--spectrum-global-color-red-600\n);--spectrum-semantic-negative-text-color-small-hover:var(\n--spectrum-global-color-red-700\n);--spectrum-semantic-negative-text-color-small-down:var(\n--spectrum-global-color-red-700\n);--spectrum-semantic-negative-text-color-small-key-focus:var(\n--spectrum-global-color-red-600\n);--spectrum-semantic-negative-color-down:var(\n--spectrum-global-color-red-700\n);--spectrum-semantic-negative-color-key-focus:var(\n--spectrum-global-color-red-400\n);--spectrum-semantic-negative-background-color-default:var(\n--spectrum-global-color-static-red-600\n);--spectrum-semantic-negative-background-color-hover:var(\n--spectrum-global-color-static-red-700\n);--spectrum-semantic-negative-background-color-down:var(\n--spectrum-global-color-static-red-800\n);--spectrum-semantic-negative-background-color-key-focus:var(\n--spectrum-global-color-static-red-700\n);--spectrum-semantic-notice-background-color:var(\n--spectrum-global-color-static-orange-600\n);--spectrum-semantic-notice-color-default:var(\n--spectrum-global-color-orange-500\n);--spectrum-semantic-notice-color-dark:var(\n--spectrum-global-color-orange-600\n);--spectrum-semantic-notice-border-color:var(\n--spectrum-global-color-orange-400\n);--spectrum-semantic-notice-icon-color:var(\n--spectrum-global-color-orange-600\n);--spectrum-semantic-notice-status-color:var(\n--spectrum-global-color-orange-400\n);--spectrum-semantic-notice-text-color-large:var(\n--spectrum-global-color-orange-500\n);--spectrum-semantic-notice-text-color-small:var(\n--spectrum-global-color-orange-600\n);--spectrum-semantic-notice-color-down:var(\n--spectrum-global-color-orange-700\n);--spectrum-semantic-notice-color-key-focus:var(\n--spectrum-global-color-orange-400\n);--spectrum-semantic-notice-background-color-default:var(\n--spectrum-global-color-static-orange-600\n);--spectrum-semantic-notice-background-color-hover:var(\n--spectrum-global-color-static-orange-700\n);--spectrum-semantic-notice-background-color-down:var(\n--spectrum-global-color-static-orange-800\n);--spectrum-semantic-notice-background-color-key-focus:var(\n--spectrum-global-color-static-orange-700\n);--spectrum-semantic-positive-background-color:var(\n--spectrum-global-color-static-green-600\n);--spectrum-semantic-positive-color-default:var(\n--spectrum-global-color-green-500\n);--spectrum-semantic-positive-color-dark:var(\n--spectrum-global-color-green-600\n);--spectrum-semantic-positive-border-color:var(\n--spectrum-global-color-green-400\n);--spectrum-semantic-positive-icon-color:var(\n--spectrum-global-color-green-600\n);--spectrum-semantic-positive-status-color:var(\n--spectrum-global-color-green-400\n);--spectrum-semantic-positive-text-color-large:var(\n--spectrum-global-color-green-500\n);--spectrum-semantic-positive-text-color-small:var(\n--spectrum-global-color-green-600\n);--spectrum-semantic-positive-color-down:var(\n--spectrum-global-color-green-700\n);--spectrum-semantic-positive-color-key-focus:var(\n--spectrum-global-color-green-400\n);--spectrum-semantic-positive-background-color-default:var(\n--spectrum-global-color-static-green-600\n);--spectrum-semantic-positive-background-color-hover:var(\n--spectrum-global-color-static-green-700\n);--spectrum-semantic-positive-background-color-down:var(\n--spectrum-global-color-static-green-800\n);--spectrum-semantic-positive-background-color-key-focus:var(\n--spectrum-global-color-static-green-700\n);--spectrum-semantic-informative-background-color:var(\n--spectrum-global-color-static-blue-600\n);--spectrum-semantic-informative-color-default:var(\n--spectrum-global-color-blue-500\n);--spectrum-semantic-informative-color-dark:var(\n--spectrum-global-color-blue-600\n);--spectrum-semantic-informative-border-color:var(\n--spectrum-global-color-blue-400\n);--spectrum-semantic-informative-icon-color:var(\n--spectrum-global-color-blue-600\n);--spectrum-semantic-informative-status-color:var(\n--spectrum-global-color-blue-400\n);--spectrum-semantic-informative-text-color-large:var(\n--spectrum-global-color-blue-500\n);--spectrum-semantic-informative-text-color-small:var(\n--spectrum-global-color-blue-600\n);--spectrum-semantic-informative-color-down:var(\n--spectrum-global-color-blue-700\n);--spectrum-semantic-informative-color-key-focus:var(\n--spectrum-global-color-blue-400\n);--spectrum-semantic-informative-background-color-default:var(\n--spectrum-global-color-static-blue-600\n);--spectrum-semantic-informative-background-color-hover:var(\n--spectrum-global-color-static-blue-700\n);--spectrum-semantic-informative-background-color-down:var(\n--spectrum-global-color-static-blue-800\n);--spectrum-semantic-informative-background-color-key-focus:var(\n--spectrum-global-color-static-blue-700\n);--spectrum-semantic-cta-background-color-default:var(\n--spectrum-global-color-static-blue-600\n);--spectrum-semantic-cta-background-color-hover:var(\n--spectrum-global-color-static-blue-700\n);--spectrum-semantic-cta-background-color-down:var(\n--spectrum-global-color-static-blue-800\n);--spectrum-semantic-cta-background-color-key-focus:var(\n--spectrum-global-color-static-blue-700\n);--spectrum-semantic-emphasized-border-color-default:var(\n--spectrum-global-color-blue-500\n);--spectrum-semantic-emphasized-border-color-hover:var(\n--spectrum-global-color-blue-600\n);--spectrum-semantic-emphasized-border-color-down:var(\n--spectrum-global-color-blue-700\n);--spectrum-semantic-emphasized-border-color-key-focus:var(\n--spectrum-global-color-blue-600\n);--spectrum-semantic-neutral-background-color-default:var(\n--spectrum-global-color-static-gray-700\n);--spectrum-semantic-neutral-background-color-hover:var(\n--spectrum-global-color-static-gray-800\n);--spectrum-semantic-neutral-background-color-down:var(\n--spectrum-global-color-static-gray-900\n);--spectrum-semantic-neutral-background-color-key-focus:var(\n--spectrum-global-color-static-gray-800\n);--spectrum-semantic-presence-color-1:var(\n--spectrum-global-color-static-red-500\n);--spectrum-semantic-presence-color-2:var(\n--spectrum-global-color-static-orange-400\n);--spectrum-semantic-presence-color-3:var(\n--spectrum-global-color-static-yellow-400\n);--spectrum-semantic-presence-color-4-rgb:75,204,162;--spectrum-semantic-presence-color-4:rgb(var(--spectrum-semantic-presence-color-4-rgb));--spectrum-semantic-presence-color-5-rgb:0,199,255;--spectrum-semantic-presence-color-5:rgb(var(--spectrum-semantic-presence-color-5-rgb));--spectrum-semantic-presence-color-6-rgb:0,140,184;--spectrum-semantic-presence-color-6:rgb(var(--spectrum-semantic-presence-color-6-rgb));--spectrum-semantic-presence-color-7-rgb:126,75,243;--spectrum-semantic-presence-color-7:rgb(var(--spectrum-semantic-presence-color-7-rgb));--spectrum-semantic-presence-color-8:var(\n--spectrum-global-color-static-fuchsia-600\n);--spectrum-global-dimension-static-percent-50:50%;--spectrum-global-dimension-static-percent-70:70%;--spectrum-global-dimension-static-percent-100:100%;--spectrum-global-dimension-static-breakpoint-xsmall:304px;--spectrum-global-dimension-static-breakpoint-small:768px;--spectrum-global-dimension-static-breakpoint-medium:1280px;--spectrum-global-dimension-static-breakpoint-large:1768px;--spectrum-global-dimension-static-breakpoint-xlarge:2160px;--spectrum-global-dimension-static-grid-columns:12;--spectrum-global-dimension-static-grid-fluid-width:100%;--spectrum-global-dimension-static-grid-fixed-max-width:1280px;--spectrum-global-dimension-static-size-0:0px;--spectrum-global-dimension-static-size-10:1px;--spectrum-global-dimension-static-size-25:2px;--spectrum-global-dimension-static-size-40:3px;--spectrum-global-dimension-static-size-50:4px;--spectrum-global-dimension-static-size-65:5px;--spectrum-global-dimension-static-size-75:6px;--spectrum-global-dimension-static-size-85:7px;--spectrum-global-dimension-static-size-100:8px;--spectrum-global-dimension-static-size-115:9px;--spectrum-global-dimension-static-size-125:10px;--spectrum-global-dimension-static-size-130:11px;--spectrum-global-dimension-static-size-150:12px;--spectrum-global-dimension-static-size-160:13px;--spectrum-global-dimension-static-size-175:14px;--spectrum-global-dimension-static-size-185:15px;--spectrum-global-dimension-static-size-200:16px;--spectrum-global-dimension-static-size-225:18px;--spectrum-global-dimension-static-size-250:20px;--spectrum-global-dimension-static-size-275:22px;--spectrum-global-dimension-static-size-300:24px;--spectrum-global-dimension-static-size-325:26px;--spectrum-global-dimension-static-size-350:28px;--spectrum-global-dimension-static-size-400:32px;--spectrum-global-dimension-static-size-450:36px;--spectrum-global-dimension-static-size-500:40px;--spectrum-global-dimension-static-size-550:44px;--spectrum-global-dimension-static-size-600:48px;--spectrum-global-dimension-static-size-700:56px;--spectrum-global-dimension-static-size-800:64px;--spectrum-global-dimension-static-size-900:72px;--spectrum-global-dimension-static-size-1000:80px;--spectrum-global-dimension-static-size-1200:96px;--spectrum-global-dimension-static-size-1700:136px;--spectrum-global-dimension-static-size-2400:192px;--spectrum-global-dimension-static-size-2500:200px;--spectrum-global-dimension-static-size-2600:208px;--spectrum-global-dimension-static-size-2800:224px;--spectrum-global-dimension-static-size-3200:256px;--spectrum-global-dimension-static-size-3400:272px;--spectrum-global-dimension-static-size-3500:280px;--spectrum-global-dimension-static-size-3600:288px;--spectrum-global-dimension-static-size-3800:304px;--spectrum-global-dimension-static-size-4600:368px;--spectrum-global-dimension-static-size-5000:400px;--spectrum-global-dimension-static-size-6000:480px;--spectrum-global-dimension-static-size-16000:1280px;--spectrum-global-dimension-static-font-size-50:11px;--spectrum-global-dimension-static-font-size-75:12px;--spectrum-global-dimension-static-font-size-100:14px;--spectrum-global-dimension-static-font-size-150:15px;--spectrum-global-dimension-static-font-size-200:16px;--spectrum-global-dimension-static-font-size-300:18px;--spectrum-global-dimension-static-font-size-400:20px;--spectrum-global-dimension-static-font-size-500:22px;--spectrum-global-dimension-static-font-size-600:25px;--spectrum-global-dimension-static-font-size-700:28px;--spectrum-global-dimension-static-font-size-800:32px;--spectrum-global-dimension-static-font-size-900:36px;--spectrum-global-dimension-static-font-size-1000:40px;--spectrum-global-font-family-base:adobe-clean,"Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Trebuchet MS","Lucida Grande",sans-serif;--spectrum-global-font-family-serif:adobe-clean-serif,"Source Serif Pro",Georgia,serif;--spectrum-global-font-family-code:"Source Code Pro",Monaco,monospace;--spectrum-global-font-weight-thin:100;--spectrum-global-font-weight-ultra-light:200;--spectrum-global-font-weight-light:300;--spectrum-global-font-weight-regular:400;--spectrum-global-font-weight-medium:500;--spectrum-global-font-weight-semi-bold:600;--spectrum-global-font-weight-bold:700;--spectrum-global-font-weight-extra-bold:800;--spectrum-global-font-weight-black:900;--spectrum-global-font-style-regular:normal;--spectrum-global-font-style-italic:italic;--spectrum-global-font-letter-spacing-none:0;--spectrum-global-font-letter-spacing-small:0.0125em;--spectrum-global-font-letter-spacing-han:0.05em;--spectrum-global-font-letter-spacing-medium:0.06em;--spectrum-global-font-line-height-large:1.7;--spectrum-global-font-line-height-medium:1.5;--spectrum-global-font-line-height-small:1.3;--spectrum-global-font-multiplier-0:0em;--spectrum-global-font-multiplier-25:0.25em;--spectrum-global-font-multiplier-75:0.75em;--spectrum-global-font-font-family-ar:myriad-arabic,adobe-clean,"Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Trebuchet MS","Lucida Grande",sans-serif;--spectrum-global-font-font-family-he:myriad-hebrew,adobe-clean,"Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Trebuchet MS","Lucida Grande",sans-serif;--spectrum-global-font-font-family-zh:adobe-clean-han-traditional,source-han-traditional,"MingLiu","Heiti TC Light","sans-serif";--spectrum-global-font-font-family-zhhans:adobe-clean-han-simplified-c,source-han-simplified-c,"SimSun","Heiti SC Light","sans-serif";--spectrum-global-font-font-family-ko:adobe-clean-han-korean,source-han-korean,"Malgun Gothic","Apple Gothic","sans-serif";--spectrum-global-font-font-family-ja:adobe-clean-han-japanese,"Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3","Osaka",YuGothic,"Yu Gothic","メイリオ",Meiryo,"MS Pゴシック","MS PGothic","sans-serif";--spectrum-global-font-font-family-condensed:adobe-clean-han-traditional,source-han-traditional,"MingLiu","Heiti TC Light",adobe-clean,"Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Trebuchet MS","Lucida Grande",sans-serif;--spectrum-alias-loupe-entry-animation-duration:var(\n--spectrum-global-animation-duration-300\n);--spectrum-alias-loupe-exit-animation-duration:var(\n--spectrum-global-animation-duration-300\n);--spectrum-alias-heading-text-line-height:var(\n--spectrum-global-font-line-height-small\n);--spectrum-alias-heading-text-font-weight-regular:var(\n--spectrum-global-font-weight-bold\n);--spectrum-alias-heading-text-font-weight-regular-strong:var(\n--spectrum-global-font-weight-black\n);--spectrum-alias-heading-text-font-weight-light:var(\n--spectrum-global-font-weight-light\n);--spectrum-alias-heading-text-font-weight-light-strong:var(\n--spectrum-global-font-weight-bold\n);--spectrum-alias-heading-text-font-weight-heavy:var(\n--spectrum-global-font-weight-black\n);--spectrum-alias-heading-text-font-weight-heavy-strong:var(\n--spectrum-global-font-weight-black\n);--spectrum-alias-heading-text-font-weight-quiet:var(\n--spectrum-global-font-weight-light\n);--spectrum-alias-heading-text-font-weight-quiet-strong:var(\n--spectrum-global-font-weight-bold\n);--spectrum-alias-heading-text-font-weight-strong:var(\n--spectrum-global-font-weight-black\n);--spectrum-alias-heading-text-font-weight-strong-strong:var(\n--spectrum-global-font-weight-black\n);--spectrum-alias-heading-margin-bottom:var(\n--spectrum-global-font-multiplier-25\n);--spectrum-alias-subheading-text-font-weight:var(\n--spectrum-global-font-weight-bold\n);--spectrum-alias-subheading-text-font-weight-strong:var(\n--spectrum-global-font-weight-black\n);--spectrum-alias-body-text-font-family:var(\n--spectrum-global-font-family-base\n);--spectrum-alias-body-text-line-height:var(\n--spectrum-global-font-line-height-medium\n);--spectrum-alias-body-text-font-weight:var(\n--spectrum-global-font-weight-regular\n);--spectrum-alias-body-text-font-weight-strong:var(\n--spectrum-global-font-weight-bold\n);--spectrum-alias-body-margin-bottom:var(\n--spectrum-global-font-multiplier-75\n);--spectrum-alias-detail-text-font-weight:var(\n--spectrum-global-font-weight-bold\n);--spectrum-alias-detail-text-font-weight-regular:var(\n--spectrum-global-font-weight-bold\n);--spectrum-alias-detail-text-font-weight-light:var(\n--spectrum-global-font-weight-regular\n);--spectrum-alias-detail-text-font-weight-strong:var(\n--spectrum-global-font-weight-black\n);--spectrum-alias-article-heading-text-font-weight:var(\n--spectrum-global-font-weight-bold\n);--spectrum-alias-article-heading-text-font-weight-strong:var(\n--spectrum-global-font-weight-black\n);--spectrum-alias-article-heading-text-font-weight-quiet:var(\n--spectrum-global-font-weight-regular\n);--spectrum-alias-article-heading-text-font-weight-quiet-strong:var(\n--spectrum-global-font-weight-bold\n);--spectrum-alias-article-body-text-font-weight:var(\n--spectrum-global-font-weight-regular\n);--spectrum-alias-article-body-text-font-weight-strong:var(\n--spectrum-global-font-weight-black\n);--spectrum-alias-article-subheading-text-font-weight:var(\n--spectrum-global-font-weight-bold\n);--spectrum-alias-article-subheading-text-font-weight-strong:var(\n--spectrum-global-font-weight-black\n);--spectrum-alias-article-detail-text-font-weight:var(\n--spectrum-global-font-weight-regular\n);--spectrum-alias-article-detail-text-font-weight-strong:var(\n--spectrum-global-font-weight-bold\n);--spectrum-alias-code-text-font-family:var(\n--spectrum-global-font-family-code\n);--spectrum-alias-code-text-font-weight-regular:var(\n--spectrum-global-font-weight-regular\n);--spectrum-alias-code-text-font-weight-strong:var(\n--spectrum-global-font-weight-bold\n);--spectrum-alias-code-text-line-height:var(\n--spectrum-global-font-line-height-medium\n);--spectrum-alias-code-margin-bottom:var(\n--spectrum-global-font-multiplier-0\n);--spectrum-alias-font-family-ar:var(--spectrum-global-font-font-family-ar);--spectrum-alias-font-family-he:var(--spectrum-global-font-font-family-he);--spectrum-alias-font-family-zh:var(--spectrum-global-font-font-family-zh);--spectrum-alias-font-family-zhhans:var(\n--spectrum-global-font-font-family-zhhans\n);--spectrum-alias-font-family-ko:var(--spectrum-global-font-font-family-ko);--spectrum-alias-font-family-ja:var(--spectrum-global-font-font-family-ja);--spectrum-alias-font-family-condensed:var(\n--spectrum-global-font-font-family-condensed\n);--spectrum-alias-component-text-line-height:var(\n--spectrum-global-font-line-height-small\n);--spectrum-alias-han-component-text-line-height:var(\n--spectrum-global-font-line-height-medium\n);--spectrum-alias-serif-text-font-family:var(\n--spectrum-global-font-family-serif\n);--spectrum-alias-han-heading-text-line-height:var(\n--spectrum-global-font-line-height-medium\n);--spectrum-alias-han-heading-text-font-weight-regular:var(\n--spectrum-global-font-weight-bold\n);--spectrum-alias-han-heading-text-font-weight-regular-emphasis:var(\n--spectrum-global-font-weight-extra-bold\n);--spectrum-alias-han-heading-text-font-weight-regular-strong:var(\n--spectrum-global-font-weight-black\n);--spectrum-alias-han-heading-text-font-weight-quiet-strong:var(\n--spectrum-global-font-weight-bold\n);--spectrum-alias-han-heading-text-font-weight-light:var(\n--spectrum-global-font-weight-light\n);--spectrum-alias-han-heading-text-font-weight-light-emphasis:var(\n--spectrum-global-font-weight-regular\n);--spectrum-alias-han-heading-text-font-weight-light-strong:var(\n--spectrum-global-font-weight-bold\n);--spectrum-alias-han-heading-text-font-weight-heavy:var(\n--spectrum-global-font-weight-black\n);--spectrum-alias-han-heading-text-font-weight-heavy-emphasis:var(\n--spectrum-global-font-weight-black\n);--spectrum-alias-han-heading-text-font-weight-heavy-strong:var(\n--spectrum-global-font-weight-black\n);--spectrum-alias-han-body-text-line-height:var(\n--spectrum-global-font-line-height-large\n);--spectrum-alias-han-body-text-font-weight-regular:var(\n--spectrum-global-font-weight-regular\n);--spectrum-alias-han-body-text-font-weight-emphasis:var(\n--spectrum-global-font-weight-bold\n);--spectrum-alias-han-body-text-font-weight-strong:var(\n--spectrum-global-font-weight-black\n);--spectrum-alias-han-subheading-text-font-weight-regular:var(\n--spectrum-global-font-weight-bold\n);--spectrum-alias-han-subheading-text-font-weight-emphasis:var(\n--spectrum-global-font-weight-extra-bold\n);--spectrum-alias-han-subheading-text-font-weight-strong:var(\n--spectrum-global-font-weight-black\n);--spectrum-alias-han-detail-text-font-weight:var(\n--spectrum-global-font-weight-regular\n);--spectrum-alias-han-detail-text-font-weight-emphasis:var(\n--spectrum-global-font-weight-bold\n);--spectrum-alias-han-detail-text-font-weight-strong:var(\n--spectrum-global-font-weight-black\n)}:host,:root{--spectrum-alias-item-height-s:var(--spectrum-global-dimension-size-300);--spectrum-alias-item-height-m:var(--spectrum-global-dimension-size-400);--spectrum-alias-item-height-l:var(--spectrum-global-dimension-size-500);--spectrum-alias-item-height-xl:var(--spectrum-global-dimension-size-600);--spectrum-alias-item-rounded-border-radius-s:var(\n--spectrum-global-dimension-size-150\n);--spectrum-alias-item-rounded-border-radius-m:var(\n--spectrum-global-dimension-size-200\n);--spectrum-alias-item-rounded-border-radius-l:var(\n--spectrum-global-dimension-size-250\n);--spectrum-alias-item-rounded-border-radius-xl:var(\n--spectrum-global-dimension-size-300\n);--spectrum-alias-item-text-size-s:var(\n--spectrum-global-dimension-font-size-75\n);--spectrum-alias-item-text-size-m:var(\n--spectrum-global-dimension-font-size-100\n);--spectrum-alias-item-text-size-l:var(\n--spectrum-global-dimension-font-size-200\n);--spectrum-alias-item-text-size-xl:var(\n--spectrum-global-dimension-font-size-300\n);--spectrum-alias-item-text-padding-top-s:var(\n--spectrum-global-dimension-static-size-50\n);--spectrum-alias-item-text-padding-top-m:var(\n--spectrum-global-dimension-size-75\n);--spectrum-alias-item-text-padding-top-xl:var(\n--spectrum-global-dimension-size-150\n);--spectrum-alias-item-text-padding-bottom-m:var(\n--spectrum-global-dimension-size-115\n);--spectrum-alias-item-text-padding-bottom-l:var(\n--spectrum-global-dimension-size-130\n);--spectrum-alias-item-text-padding-bottom-xl:var(\n--spectrum-global-dimension-size-175\n);--spectrum-alias-item-icon-padding-top-s:var(\n--spectrum-global-dimension-size-50\n);--spectrum-alias-item-icon-padding-top-m:var(\n--spectrum-global-dimension-size-85\n);--spectrum-alias-item-icon-padding-top-l:var(\n--spectrum-global-dimension-size-125\n);--spectrum-alias-item-icon-padding-top-xl:var(\n--spectrum-global-dimension-size-160\n);--spectrum-alias-item-icon-padding-bottom-s:var(\n--spectrum-global-dimension-size-50\n);--spectrum-alias-item-icon-padding-bottom-m:var(\n--spectrum-global-dimension-size-85\n);--spectrum-alias-item-icon-padding-bottom-l:var(\n--spectrum-global-dimension-size-125\n);--spectrum-alias-item-icon-padding-bottom-xl:var(\n--spectrum-global-dimension-size-160\n);--spectrum-alias-item-padding-s:var(--spectrum-global-dimension-size-115);--spectrum-alias-item-padding-m:var(--spectrum-global-dimension-size-150);--spectrum-alias-item-padding-l:var(--spectrum-global-dimension-size-185);--spectrum-alias-item-padding-xl:var(--spectrum-global-dimension-size-225);--spectrum-alias-item-rounded-padding-s:var(\n--spectrum-global-dimension-size-150\n);--spectrum-alias-item-rounded-padding-m:var(\n--spectrum-global-dimension-size-200\n);--spectrum-alias-item-rounded-padding-l:var(\n--spectrum-global-dimension-size-250\n);--spectrum-alias-item-rounded-padding-xl:var(\n--spectrum-global-dimension-size-300\n);--spectrum-alias-item-icononly-padding-s:var(\n--spectrum-global-dimension-size-50\n);--spectrum-alias-item-icononly-padding-m:var(\n--spectrum-global-dimension-size-85\n);--spectrum-alias-item-icononly-padding-l:var(\n--spectrum-global-dimension-size-125\n);--spectrum-alias-item-icononly-padding-xl:var(\n--spectrum-global-dimension-size-160\n);--spectrum-alias-item-control-gap-s:var(\n--spectrum-global-dimension-size-115\n);--spectrum-alias-item-control-gap-m:var(\n--spectrum-global-dimension-size-125\n);--spectrum-alias-item-control-gap-l:var(\n--spectrum-global-dimension-size-130\n);--spectrum-alias-item-control-gap-xl:var(\n--spectrum-global-dimension-size-160\n);--spectrum-alias-item-workflow-icon-gap-s:var(\n--spectrum-global-dimension-size-85\n);--spectrum-alias-item-workflow-icon-gap-m:var(\n--spectrum-global-dimension-size-100\n);--spectrum-alias-item-workflow-icon-gap-l:var(\n--spectrum-global-dimension-size-115\n);--spectrum-alias-item-workflow-icon-gap-xl:var(\n--spectrum-global-dimension-size-125\n);--spectrum-alias-item-mark-gap-s:var(--spectrum-global-dimension-size-85);--spectrum-alias-item-mark-gap-m:var(--spectrum-global-dimension-size-100);--spectrum-alias-item-mark-gap-l:var(--spectrum-global-dimension-size-115);--spectrum-alias-item-mark-gap-xl:var(\n--spectrum-global-dimension-size-125\n);--spectrum-alias-item-ui-icon-gap-s:var(\n--spectrum-global-dimension-size-85\n);--spectrum-alias-item-ui-icon-gap-m:var(\n--spectrum-global-dimension-size-100\n);--spectrum-alias-item-ui-icon-gap-l:var(\n--spectrum-global-dimension-size-115\n);--spectrum-alias-item-ui-icon-gap-xl:var(\n--spectrum-global-dimension-size-125\n);--spectrum-alias-item-clearbutton-gap-s:var(\n--spectrum-global-dimension-size-50\n);--spectrum-alias-item-clearbutton-gap-m:var(\n--spectrum-global-dimension-size-85\n);--spectrum-alias-item-clearbutton-gap-l:var(\n--spectrum-global-dimension-size-125\n);--spectrum-alias-item-clearbutton-gap-xl:var(\n--spectrum-global-dimension-size-150\n);--spectrum-alias-item-workflow-padding-left-s:var(\n--spectrum-global-dimension-size-85\n);--spectrum-alias-item-workflow-padding-left-l:var(\n--spectrum-global-dimension-size-160\n);--spectrum-alias-item-workflow-padding-left-xl:var(\n--spectrum-global-dimension-size-185\n);--spectrum-alias-item-rounded-workflow-padding-left-s:var(\n--spectrum-global-dimension-size-125\n);--spectrum-alias-item-rounded-workflow-padding-left-l:var(\n--spectrum-global-dimension-size-225\n);--spectrum-alias-item-mark-padding-top-s:var(\n--spectrum-global-dimension-size-40\n);--spectrum-alias-item-mark-padding-top-l:var(\n--spectrum-global-dimension-size-115\n);--spectrum-alias-item-mark-padding-top-xl:var(\n--spectrum-global-dimension-size-130\n);--spectrum-alias-item-mark-padding-bottom-s:var(\n--spectrum-global-dimension-size-40\n);--spectrum-alias-item-mark-padding-bottom-l:var(\n--spectrum-global-dimension-size-115\n);--spectrum-alias-item-mark-padding-bottom-xl:var(\n--spectrum-global-dimension-size-130\n);--spectrum-alias-item-mark-padding-left-s:var(\n--spectrum-global-dimension-size-85\n);--spectrum-alias-item-mark-padding-left-l:var(\n--spectrum-global-dimension-size-160\n);--spectrum-alias-item-mark-padding-left-xl:var(\n--spectrum-global-dimension-size-185\n);--spectrum-alias-item-control-1-size-s:var(\n--spectrum-global-dimension-static-size-100\n);--spectrum-alias-item-control-1-size-m:var(\n--spectrum-global-dimension-size-100\n);--spectrum-alias-item-control-2-size-m:var(\n--spectrum-global-dimension-size-175\n);--spectrum-alias-item-control-2-size-l:var(\n--spectrum-global-dimension-size-200\n);--spectrum-alias-item-control-2-size-xl:var(\n--spectrum-global-dimension-size-225\n);--spectrum-alias-item-control-2-size-xxl:var(\n--spectrum-global-dimension-size-250\n);--spectrum-alias-item-control-2-border-radius-s:var(\n--spectrum-global-dimension-size-75\n);--spectrum-alias-item-control-2-border-radius-m:var(\n--spectrum-global-dimension-size-85\n);--spectrum-alias-item-control-2-border-radius-l:var(\n--spectrum-global-dimension-size-100\n);--spectrum-alias-item-control-2-border-radius-xl:var(\n--spectrum-global-dimension-size-115\n);--spectrum-alias-item-control-2-border-radius-xxl:var(\n--spectrum-global-dimension-size-125\n);--spectrum-alias-item-control-2-padding-s:var(\n--spectrum-global-dimension-size-75\n);--spectrum-alias-item-control-2-padding-m:var(\n--spectrum-global-dimension-size-115\n);--spectrum-alias-item-control-2-padding-l:var(\n--spectrum-global-dimension-size-150\n);--spectrum-alias-item-control-2-padding-xl:var(\n--spectrum-global-dimension-size-185\n);--spectrum-alias-item-control-3-height-m:var(\n--spectrum-global-dimension-size-175\n);--spectrum-alias-item-control-3-height-l:var(\n--spectrum-global-dimension-size-200\n);--spectrum-alias-item-control-3-height-xl:var(\n--spectrum-global-dimension-size-225\n);--spectrum-alias-item-control-3-border-radius-s:var(\n--spectrum-global-dimension-size-75\n);--spectrum-alias-item-control-3-border-radius-m:var(\n--spectrum-global-dimension-size-85\n);--spectrum-alias-item-control-3-border-radius-l:var(\n--spectrum-global-dimension-size-100\n);--spectrum-alias-item-control-3-border-radius-xl:var(\n--spectrum-global-dimension-size-115\n);--spectrum-alias-item-control-3-padding-s:var(\n--spectrum-global-dimension-size-75\n);--spectrum-alias-item-control-3-padding-m:var(\n--spectrum-global-dimension-size-115\n);--spectrum-alias-item-control-3-padding-l:var(\n--spectrum-global-dimension-size-150\n);--spectrum-alias-item-control-3-padding-xl:var(\n--spectrum-global-dimension-size-185\n);--spectrum-alias-item-mark-size-s:var(\n--spectrum-global-dimension-size-225\n);--spectrum-alias-item-mark-size-l:var(\n--spectrum-global-dimension-size-275\n);--spectrum-alias-item-mark-size-xl:var(\n--spectrum-global-dimension-size-325\n);--spectrum-alias-heading-xxxl-text-size:var(\n--spectrum-global-dimension-font-size-1300\n);--spectrum-alias-heading-xxl-text-size:var(\n--spectrum-global-dimension-font-size-1100\n);--spectrum-alias-heading-xl-text-size:var(\n--spectrum-global-dimension-font-size-900\n);--spectrum-alias-heading-l-text-size:var(\n--spectrum-global-dimension-font-size-700\n);--spectrum-alias-heading-m-text-size:var(\n--spectrum-global-dimension-font-size-500\n);--spectrum-alias-heading-s-text-size:var(\n--spectrum-global-dimension-font-size-300\n);--spectrum-alias-heading-xs-text-size:var(\n--spectrum-global-dimension-font-size-200\n);--spectrum-alias-heading-xxs-text-size:var(\n--spectrum-global-dimension-font-size-100\n);--spectrum-alias-heading-xxxl-margin-top:var(\n--spectrum-global-dimension-font-size-1200\n);--spectrum-alias-heading-xxl-margin-top:var(\n--spectrum-global-dimension-font-size-900\n);--spectrum-alias-heading-xl-margin-top:var(\n--spectrum-global-dimension-font-size-800\n);--spectrum-alias-heading-l-margin-top:var(\n--spectrum-global-dimension-font-size-600\n);--spectrum-alias-heading-m-margin-top:var(\n--spectrum-global-dimension-font-size-400\n);--spectrum-alias-heading-s-margin-top:var(\n--spectrum-global-dimension-font-size-200\n);--spectrum-alias-heading-xs-margin-top:var(\n--spectrum-global-dimension-font-size-100\n);--spectrum-alias-heading-xxs-margin-top:var(\n--spectrum-global-dimension-font-size-75\n);--spectrum-alias-heading-han-xxxl-text-size:var(\n--spectrum-global-dimension-font-size-1300\n);--spectrum-alias-heading-han-xxl-text-size:var(\n--spectrum-global-dimension-font-size-900\n);--spectrum-alias-heading-han-xl-text-size:var(\n--spectrum-global-dimension-font-size-800\n);--spectrum-alias-heading-han-l-text-size:var(\n--spectrum-global-dimension-font-size-600\n);--spectrum-alias-heading-han-m-text-size:var(\n--spectrum-global-dimension-font-size-400\n);--spectrum-alias-heading-han-s-text-size:var(\n--spectrum-global-dimension-font-size-300\n);--spectrum-alias-heading-han-xs-text-size:var(\n--spectrum-global-dimension-font-size-200\n);--spectrum-alias-heading-han-xxs-text-size:var(\n--spectrum-global-dimension-font-size-100\n);--spectrum-alias-heading-han-xxxl-margin-top:var(\n--spectrum-global-dimension-font-size-1200\n);--spectrum-alias-heading-han-xxl-margin-top:var(\n--spectrum-global-dimension-font-size-800\n);--spectrum-alias-heading-han-xl-margin-top:var(\n--spectrum-global-dimension-font-size-700\n);--spectrum-alias-heading-han-l-margin-top:var(\n--spectrum-global-dimension-font-size-500\n);--spectrum-alias-heading-han-m-margin-top:var(\n--spectrum-global-dimension-font-size-300\n);--spectrum-alias-heading-han-s-margin-top:var(\n--spectrum-global-dimension-font-size-200\n);--spectrum-alias-heading-han-xs-margin-top:var(\n--spectrum-global-dimension-font-size-100\n);--spectrum-alias-heading-han-xxs-margin-top:var(\n--spectrum-global-dimension-font-size-75\n);--spectrum-alias-component-border-radius:var(\n--spectrum-global-dimension-size-50\n);--spectrum-alias-component-border-radius-quiet:var(\n--spectrum-global-dimension-static-size-0\n);--spectrum-alias-component-focusring-gap:var(\n--spectrum-global-dimension-static-size-0\n);--spectrum-alias-component-focusring-gap-emphasized:var(\n--spectrum-global-dimension-static-size-25\n);--spectrum-alias-component-focusring-size:var(\n--spectrum-global-dimension-static-size-10\n);--spectrum-alias-component-focusring-size-emphasized:var(\n--spectrum-global-dimension-static-size-25\n);--spectrum-alias-input-border-size:var(\n--spectrum-global-dimension-static-size-10\n);--spectrum-alias-input-focusring-gap:var(\n--spectrum-global-dimension-static-size-0\n);--spectrum-alias-input-quiet-focusline-gap:var(\n--spectrum-global-dimension-static-size-10\n);--spectrum-alias-control-two-size-m:var(\n--spectrum-global-dimension-size-175\n);--spectrum-alias-control-two-size-l:var(\n--spectrum-global-dimension-size-200\n);--spectrum-alias-control-two-size-xl:var(\n--spectrum-global-dimension-size-225\n);--spectrum-alias-control-two-size-xxl:var(\n--spectrum-global-dimension-size-250\n);--spectrum-alias-control-two-border-radius-s:var(\n--spectrum-global-dimension-size-75\n);--spectrum-alias-control-two-border-radius-m:var(\n--spectrum-global-dimension-size-85\n);--spectrum-alias-control-two-border-radius-l:var(\n--spectrum-global-dimension-size-100\n);--spectrum-alias-control-two-border-radius-xl:var(\n--spectrum-global-dimension-size-115\n);--spectrum-alias-control-two-border-radius-xxl:var(\n--spectrum-global-dimension-size-125\n);--spectrum-alias-control-two-focus-ring-border-radius-s:var(\n--spectrum-global-dimension-size-125\n);--spectrum-alias-control-two-focus-ring-border-radius-m:var(\n--spectrum-global-dimension-size-130\n);--spectrum-alias-control-two-focus-ring-border-radius-l:var(\n--spectrum-global-dimension-size-150\n);--spectrum-alias-control-two-focus-ring-border-radius-xl:var(\n--spectrum-global-dimension-size-160\n);--spectrum-alias-control-two-focus-ring-border-radius-xxl:var(\n--spectrum-global-dimension-size-175\n);--spectrum-alias-control-three-height-m:var(\n--spectrum-global-dimension-size-175\n);--spectrum-alias-control-three-height-l:var(\n--spectrum-global-dimension-size-200\n);--spectrum-alias-control-three-height-xl:var(\n--spectrum-global-dimension-size-225\n);--spectrum-alias-infieldbutton-icon-margin-y-s:var(\n--spectrum-global-dimension-size-50\n);--spectrum-alias-infieldbutton-icon-margin-y-m:var(\n--spectrum-global-dimension-size-85\n);--spectrum-alias-infieldbutton-icon-margin-y-l:var(\n--spectrum-global-dimension-size-125\n);--spectrum-alias-infieldbutton-icon-margin-y-xl:var(\n--spectrum-global-dimension-size-160\n);--spectrum-alias-infieldbutton-border-radius:var(\n--spectrum-global-dimension-size-50\n);--spectrum-alias-infieldbutton-border-radius-sided:0;--spectrum-alias-infieldbutton-border-size:var(\n--spectrum-global-dimension-static-size-10\n);--spectrum-alias-infieldbutton-fill-padding-s:var(\n--spectrum-global-dimension-size-50\n);--spectrum-alias-infieldbutton-fill-padding-m:var(\n--spectrum-global-dimension-size-85\n);--spectrum-alias-infieldbutton-fill-padding-l:var(\n--spectrum-global-dimension-size-125\n);--spectrum-alias-infieldbutton-fill-padding-xl:var(\n--spectrum-global-dimension-size-160\n);--spectrum-alias-infieldbutton-padding-s:0;--spectrum-alias-infieldbutton-padding-m:0;--spectrum-alias-infieldbutton-padding-l:0;--spectrum-alias-infieldbutton-padding-xl:0;--spectrum-alias-infieldbutton-full-height-s:var(\n--spectrum-global-dimension-size-300\n);--spectrum-alias-infieldbutton-full-height-m:var(\n--spectrum-global-dimension-size-400\n);--spectrum-alias-infieldbutton-full-height-l:var(\n--spectrum-global-dimension-size-500\n);--spectrum-alias-infieldbutton-full-height-xl:var(\n--spectrum-global-dimension-size-600\n);--spectrum-alias-infieldbutton-half-height-s:var(\n--spectrum-global-dimension-size-150\n);--spectrum-alias-infieldbutton-half-height-m:var(\n--spectrum-global-dimension-size-200\n);--spectrum-alias-infieldbutton-half-height-l:var(\n--spectrum-global-dimension-size-250\n);--spectrum-alias-infieldbutton-half-height-xl:var(\n--spectrum-global-dimension-size-300\n);--spectrum-alias-clearbutton-icon-margin-s:var(\n--spectrum-global-dimension-size-100\n);--spectrum-alias-clearbutton-icon-margin-m:var(\n--spectrum-global-dimension-size-150\n);--spectrum-alias-clearbutton-icon-margin-l:var(\n--spectrum-global-dimension-size-185\n);--spectrum-alias-clearbutton-icon-margin-xl:var(\n--spectrum-global-dimension-size-225\n);--spectrum-alias-clearbutton-border-radius:var(\n--spectrum-global-dimension-size-50\n);--spectrum-alias-combobox-quiet-button-offset-x:var(\n--spectrum-global-dimension-size-100\n);--spectrum-alias-percent-50:50%;--spectrum-alias-percent-70:70%;--spectrum-alias-percent-100:100%;--spectrum-alias-breakpoint-xsmall:304px;--spectrum-alias-breakpoint-small:768px;--spectrum-alias-breakpoint-medium:1280px;--spectrum-alias-breakpoint-large:1768px;--spectrum-alias-breakpoint-xlarge:2160px;--spectrum-alias-grid-columns:12;--spectrum-alias-grid-fluid-width:100%;--spectrum-alias-grid-fixed-max-width:1280px;--spectrum-alias-border-size-thin:var(\n--spectrum-global-dimension-static-size-10\n);--spectrum-alias-border-size-thick:var(\n--spectrum-global-dimension-static-size-25\n);--spectrum-alias-border-size-thicker:var(\n--spectrum-global-dimension-static-size-50\n);--spectrum-alias-border-size-thickest:var(\n--spectrum-global-dimension-static-size-100\n);--spectrum-alias-border-offset-thin:var(\n--spectrum-global-dimension-static-size-25\n);--spectrum-alias-border-offset-thick:var(\n--spectrum-global-dimension-static-size-50\n);--spectrum-alias-border-offset-thicker:var(\n--spectrum-global-dimension-static-size-100\n);--spectrum-alias-border-offset-thickest:var(\n--spectrum-global-dimension-static-size-200\n);--spectrum-alias-grid-baseline:var(\n--spectrum-global-dimension-static-size-100\n);--spectrum-alias-grid-gutter-xsmall:var(\n--spectrum-global-dimension-static-size-200\n);--spectrum-alias-grid-gutter-small:var(\n--spectrum-global-dimension-static-size-300\n);--spectrum-alias-grid-gutter-medium:var(\n--spectrum-global-dimension-static-size-400\n);--spectrum-alias-grid-gutter-large:var(\n--spectrum-global-dimension-static-size-500\n);--spectrum-alias-grid-gutter-xlarge:var(\n--spectrum-global-dimension-static-size-600\n);--spectrum-alias-grid-margin-xsmall:var(\n--spectrum-global-dimension-static-size-200\n);--spectrum-alias-grid-margin-small:var(\n--spectrum-global-dimension-static-size-300\n);--spectrum-alias-grid-margin-medium:var(\n--spectrum-global-dimension-static-size-400\n);--spectrum-alias-grid-margin-large:var(\n--spectrum-global-dimension-static-size-500\n);--spectrum-alias-grid-margin-xlarge:var(\n--spectrum-global-dimension-static-size-600\n);--spectrum-alias-grid-layout-region-margin-bottom-xsmall:var(\n--spectrum-global-dimension-static-size-200\n);--spectrum-alias-grid-layout-region-margin-bottom-small:var(\n--spectrum-global-dimension-static-size-300\n);--spectrum-alias-grid-layout-region-margin-bottom-medium:var(\n--spectrum-global-dimension-static-size-400\n);--spectrum-alias-grid-layout-region-margin-bottom-large:var(\n--spectrum-global-dimension-static-size-500\n);--spectrum-alias-grid-layout-region-margin-bottom-xlarge:var(\n--spectrum-global-dimension-static-size-600\n);--spectrum-alias-radial-reaction-size-default:var(\n--spectrum-global-dimension-static-size-550\n);--spectrum-alias-focus-ring-gap:var(\n--spectrum-global-dimension-static-size-25\n);--spectrum-alias-focus-ring-size:var(\n--spectrum-global-dimension-static-size-25\n);--spectrum-alias-focus-ring-gap-small:var(\n--spectrum-global-dimension-static-size-0\n);--spectrum-alias-focus-ring-size-small:var(\n--spectrum-global-dimension-static-size-10\n);--spectrum-alias-dropshadow-blur:var(--spectrum-global-dimension-size-50);--spectrum-alias-dropshadow-offset-y:var(\n--spectrum-global-dimension-size-10\n);--spectrum-alias-font-size-default:var(\n--spectrum-global-dimension-font-size-100\n);--spectrum-alias-layout-label-gap-size:var(\n--spectrum-global-dimension-size-100\n);--spectrum-alias-pill-button-text-size:var(\n--spectrum-global-dimension-font-size-100\n);--spectrum-alias-pill-button-text-baseline:var(\n--spectrum-global-dimension-static-size-150\n);--spectrum-alias-border-radius-xsmall:var(\n--spectrum-global-dimension-size-10\n);--spectrum-alias-border-radius-small:var(\n--spectrum-global-dimension-size-25\n);--spectrum-alias-border-radius-regular:var(\n--spectrum-global-dimension-size-50\n);--spectrum-alias-border-radius-medium:var(\n--spectrum-global-dimension-size-100\n);--spectrum-alias-border-radius-large:var(\n--spectrum-global-dimension-size-200\n);--spectrum-alias-border-radius-xlarge:var(\n--spectrum-global-dimension-size-300\n);--spectrum-alias-focus-ring-border-radius-xsmall:var(\n--spectrum-global-dimension-size-50\n);--spectrum-alias-focus-ring-border-radius-small:var(\n--spectrum-global-dimension-static-size-65\n);--spectrum-alias-focus-ring-border-radius-medium:var(\n--spectrum-global-dimension-size-150\n);--spectrum-alias-focus-ring-border-radius-large:var(\n--spectrum-global-dimension-size-250\n);--spectrum-alias-focus-ring-border-radius-xlarge:var(\n--spectrum-global-dimension-size-350\n);--spectrum-alias-single-line-height:var(\n--spectrum-global-dimension-size-400\n);--spectrum-alias-single-line-width:var(\n--spectrum-global-dimension-size-2400\n);--spectrum-alias-workflow-icon-size-s:var(\n--spectrum-global-dimension-size-200\n);--spectrum-alias-workflow-icon-size-m:var(\n--spectrum-global-dimension-size-225\n);--spectrum-alias-workflow-icon-size-xl:var(\n--spectrum-global-dimension-size-275\n);--spectrum-alias-ui-icon-alert-size-75:var(\n--spectrum-global-dimension-size-200\n);--spectrum-alias-ui-icon-alert-size-100:var(\n--spectrum-global-dimension-size-225\n);--spectrum-alias-ui-icon-alert-size-200:var(\n--spectrum-global-dimension-size-250\n);--spectrum-alias-ui-icon-alert-size-300:var(\n--spectrum-global-dimension-size-275\n);--spectrum-alias-ui-icon-triplegripper-size-100-height:var(\n--spectrum-global-dimension-size-100\n);--spectrum-alias-ui-icon-doublegripper-size-100-width:var(\n--spectrum-global-dimension-size-200\n);--spectrum-alias-ui-icon-singlegripper-size-100-width:var(\n--spectrum-global-dimension-size-300\n);--spectrum-alias-ui-icon-cornertriangle-size-75:var(\n--spectrum-global-dimension-size-65\n);--spectrum-alias-ui-icon-cornertriangle-size-200:var(\n--spectrum-global-dimension-size-75\n);--spectrum-alias-ui-icon-asterisk-size-75:var(\n--spectrum-global-dimension-static-size-100\n);--spectrum-alias-ui-icon-asterisk-size-100:var(\n--spectrum-global-dimension-size-100\n)}:host,:root{--spectrum-alias-transparent-blue-background-color-hover:rgba(0,87,190,.15);--spectrum-alias-transparent-blue-background-color-down:rgba(0,72,153,.3);--spectrum-alias-transparent-blue-background-color-key-focus:var(\n--spectrum-alias-transparent-blue-background-color-hover\n);--spectrum-alias-transparent-blue-background-color-mouse-focus:var(\n--spectrum-alias-transparent-blue-background-color-hover\n);--spectrum-alias-transparent-blue-background-color:var(\n--spectrum-alias-component-text-color-default\n);--spectrum-alias-transparent-red-background-color-hover:rgba(154,0,0,.15);--spectrum-alias-transparent-red-background-color-down:rgba(124,0,0,.3);--spectrum-alias-transparent-red-background-color-key-focus:var(\n--spectrum-alias-transparent-red-background-color-hover\n);--spectrum-alias-transparent-red-background-color-mouse-focus:var(\n--spectrum-alias-transparent-red-background-color-hover\n);--spectrum-alias-transparent-red-background-color:var(\n--spectrum-alias-component-text-color-default\n);--spectrum-alias-component-text-color-disabled:var(\n--spectrum-global-color-gray-500\n);--spectrum-alias-component-text-color-default:var(\n--spectrum-global-color-gray-800\n);--spectrum-alias-component-text-color-hover:var(\n--spectrum-global-color-gray-900\n);--spectrum-alias-component-text-color-down:var(\n--spectrum-global-color-gray-900\n);--spectrum-alias-component-text-color-key-focus:var(\n--spectrum-alias-component-text-color-hover\n);--spectrum-alias-component-text-color-mouse-focus:var(\n--spectrum-alias-component-text-color-hover\n);--spectrum-alias-component-text-color:var(\n--spectrum-alias-component-text-color-default\n);--spectrum-alias-component-text-color-selected-default:var(\n--spectrum-alias-component-text-color-default\n);--spectrum-alias-component-text-color-selected-hover:var(\n--spectrum-alias-component-text-color-hover\n);--spectrum-alias-component-text-color-selected-down:var(\n--spectrum-alias-component-text-color-down\n);--spectrum-alias-component-text-color-selected-key-focus:var(\n--spectrum-alias-component-text-color-key-focus\n);--spectrum-alias-component-text-color-selected-mouse-focus:var(\n--spectrum-alias-component-text-color-mouse-focus\n);--spectrum-alias-component-text-color-selected:var(\n--spectrum-alias-component-text-color-selected-default\n);--spectrum-alias-component-text-color-emphasized-selected-default:var(\n--spectrum-global-color-static-white\n);--spectrum-alias-component-text-color-emphasized-selected-hover:var(\n--spectrum-alias-component-text-color-emphasized-selected-default\n);--spectrum-alias-component-text-color-emphasized-selected-down:var(\n--spectrum-alias-component-text-color-emphasized-selected-default\n);--spectrum-alias-component-text-color-emphasized-selected-key-focus:var(\n--spectrum-alias-component-text-color-emphasized-selected-default\n);--spectrum-alias-component-text-color-emphasized-selected-mouse-focus:var(\n--spectrum-alias-component-text-color-emphasized-selected-default\n);--spectrum-alias-component-text-color-emphasized-selected:var(\n--spectrum-alias-component-text-color-emphasized-selected-default\n);--spectrum-alias-component-text-color-error-default:var(\n--spectrum-semantic-negative-text-color-small\n);--spectrum-alias-component-text-color-error-hover:var(\n--spectrum-semantic-negative-text-color-small-hover\n);--spectrum-alias-component-text-color-error-down:var(\n--spectrum-semantic-negative-text-color-small-down\n);--spectrum-alias-component-text-color-error-key-focus:var(\n--spectrum-semantic-negative-text-color-small-key-focus\n);--spectrum-alias-component-text-color-error-mouse-focus:var(\n--spectrum-semantic-negative-text-color-small-key-focus\n);--spectrum-alias-component-text-color-error:var(\n--spectrum-alias-component-text-color-error-default\n);--spectrum-alias-component-icon-color-disabled:var(\n--spectrum-alias-icon-color-disabled\n);--spectrum-alias-component-icon-color-default:var(\n--spectrum-alias-icon-color\n);--spectrum-alias-component-icon-color-hover:var(\n--spectrum-alias-icon-color-hover\n);--spectrum-alias-component-icon-color-down:var(\n--spectrum-alias-icon-color-down\n);--spectrum-alias-component-icon-color-key-focus:var(\n--spectrum-alias-icon-color-hover\n);--spectrum-alias-component-icon-color-mouse-focus:var(\n--spectrum-alias-icon-color-down\n);--spectrum-alias-component-icon-color:var(\n--spectrum-alias-component-icon-color-default\n);--spectrum-alias-component-icon-color-selected:var(\n--spectrum-alias-icon-color-selected-neutral-subdued\n);--spectrum-alias-component-icon-color-emphasized-selected-default:var(\n--spectrum-global-color-static-white\n);--spectrum-alias-component-icon-color-emphasized-selected-hover:var(\n--spectrum-alias-component-icon-color-emphasized-selected-default\n);--spectrum-alias-component-icon-color-emphasized-selected-down:var(\n--spectrum-alias-component-icon-color-emphasized-selected-default\n);--spectrum-alias-component-icon-color-emphasized-selected-key-focus:var(\n--spectrum-alias-component-icon-color-emphasized-selected-default\n);--spectrum-alias-component-icon-color-emphasized-selected:var(\n--spectrum-alias-component-icon-color-emphasized-selected-default\n);--spectrum-alias-component-background-color-disabled:var(\n--spectrum-global-color-gray-200\n);--spectrum-alias-component-background-color-quiet-disabled:var(\n--spectrum-alias-background-color-transparent\n);--spectrum-alias-component-background-color-quiet-selected-disabled:var(\n--spectrum-alias-component-background-color-disabled\n);--spectrum-alias-component-background-color-default:var(\n--spectrum-global-color-gray-75\n);--spectrum-alias-component-background-color-hover:var(\n--spectrum-global-color-gray-50\n);--spectrum-alias-component-background-color-down:var(\n--spectrum-global-color-gray-200\n);--spectrum-alias-component-background-color-key-focus:var(\n--spectrum-global-color-gray-50\n);--spectrum-alias-component-background-color:var(\n--spectrum-alias-component-background-color-default\n);--spectrum-alias-component-background-color-selected-default:var(\n--spectrum-global-color-gray-200\n);--spectrum-alias-component-background-color-selected-hover:var(\n--spectrum-global-color-gray-200\n);--spectrum-alias-component-background-color-selected-down:var(\n--spectrum-global-color-gray-200\n);--spectrum-alias-component-background-color-selected-key-focus:var(\n--spectrum-global-color-gray-200\n);--spectrum-alias-component-background-color-selected:var(\n--spectrum-alias-component-background-color-selected-default\n);--spectrum-alias-component-background-color-quiet-default:var(\n--spectrum-alias-background-color-transparent\n);--spectrum-alias-component-background-color-quiet-hover:var(\n--spectrum-alias-background-color-transparent\n);--spectrum-alias-component-background-color-quiet-down:var(\n--spectrum-global-color-gray-300\n);--spectrum-alias-component-background-color-quiet-key-focus:var(\n--spectrum-alias-background-color-transparent\n);--spectrum-alias-component-background-color-quiet:var(\n--spectrum-alias-component-background-color-quiet-default\n);--spectrum-alias-component-background-color-quiet-selected-default:var(\n--spectrum-alias-component-background-color-selected-default\n);--spectrum-alias-component-background-color-quiet-selected-hover:var(\n--spectrum-alias-component-background-color-selected-hover\n);--spectrum-alias-component-background-color-quiet-selected-down:var(\n--spectrum-alias-component-background-color-selected-down\n);--spectrum-alias-component-background-color-quiet-selected-key-focus:var(\n--spectrum-alias-component-background-color-selected-key-focus\n);--spectrum-alias-component-background-color-quiet-selected:var(\n--spectrum-alias-component-background-color-selected-default\n);--spectrum-alias-component-background-color-emphasized-selected-default:var(\n--spectrum-semantic-cta-background-color-default\n);--spectrum-alias-component-background-color-emphasized-selected-hover:var(\n--spectrum-semantic-cta-background-color-hover\n);--spectrum-alias-component-background-color-emphasized-selected-down:var(\n--spectrum-semantic-cta-background-color-down\n);--spectrum-alias-component-background-color-emphasized-selected-key-focus:var(\n--spectrum-semantic-cta-background-color-key-focus\n);--spectrum-alias-component-background-color-emphasized-selected:var(\n--spectrum-alias-component-background-color-emphasized-selected-default\n);--spectrum-alias-component-border-color-disabled:var(\n--spectrum-alias-border-color-disabled\n);--spectrum-alias-component-border-color-quiet-disabled:var(\n--spectrum-alias-border-color-transparent\n);--spectrum-alias-component-border-color-default:var(\n--spectrum-alias-border-color\n);--spectrum-alias-component-border-color-hover:var(\n--spectrum-alias-border-color-hover\n);--spectrum-alias-component-border-color-down:var(\n--spectrum-alias-border-color-down\n);--spectrum-alias-component-border-color-key-focus:var(\n--spectrum-alias-border-color-key-focus\n);--spectrum-alias-component-border-color:var(\n--spectrum-alias-component-border-color-default\n);--spectrum-alias-component-border-color-selected-default:var(\n--spectrum-alias-border-color\n);--spectrum-alias-component-border-color-selected-hover:var(\n--spectrum-alias-border-color-hover\n);--spectrum-alias-component-border-color-selected-down:var(\n--spectrum-alias-border-color-down\n);--spectrum-alias-component-border-color-selected-key-focus:var(\n--spectrum-alias-border-color-key-focus\n);--spectrum-alias-component-border-color-selected:var(\n--spectrum-alias-component-border-color-selected-default\n);--spectrum-alias-component-border-color-quiet-default:var(\n--spectrum-alias-border-color-transparent\n);--spectrum-alias-component-border-color-quiet-hover:var(\n--spectrum-alias-border-color-transparent\n);--spectrum-alias-component-border-color-quiet-down:var(\n--spectrum-alias-border-color-transparent\n);--spectrum-alias-component-border-color-quiet-key-focus:var(\n--spectrum-alias-border-color-key-focus\n);--spectrum-alias-component-border-color-quiet:var(\n--spectrum-alias-component-border-color-quiet-default\n);--spectrum-alias-component-border-color-quiet-selected-default:var(\n--spectrum-global-color-gray-200\n);--spectrum-alias-component-border-color-quiet-selected-hover:var(\n--spectrum-global-color-gray-200\n);--spectrum-alias-component-border-color-quiet-selected-down:var(\n--spectrum-global-color-gray-200\n);--spectrum-alias-component-border-color-quiet-selected-key-focus:var(\n--spectrum-alias-border-color-key-focus\n);--spectrum-alias-component-border-color-quiet-selected:var(\n--spectrum-alias-component-border-color-quiet-selected-default\n);--spectrum-alias-component-border-color-emphasized-selected-default:var(\n--spectrum-semantic-cta-background-color-default\n);--spectrum-alias-component-border-color-emphasized-selected-hover:var(\n--spectrum-semantic-cta-background-color-hover\n);--spectrum-alias-component-border-color-emphasized-selected-down:var(\n--spectrum-semantic-cta-background-color-down\n);--spectrum-alias-component-border-color-emphasized-selected-key-focus:var(\n--spectrum-semantic-cta-background-color-key-focus\n);--spectrum-alias-component-border-color-emphasized-selected:var(\n--spectrum-alias-component-border-color-emphasized-selected-default\n);--spectrum-alias-toggle-background-color-default:var(\n--spectrum-global-color-gray-700\n);--spectrum-alias-toggle-background-color-hover:var(\n--spectrum-global-color-gray-800\n);--spectrum-alias-toggle-background-color-down:var(\n--spectrum-global-color-gray-900\n);--spectrum-alias-toggle-background-color-key-focus:var(\n--spectrum-global-color-gray-800\n);--spectrum-alias-toggle-background-color:var(\n--spectrum-alias-toggle-background-color-default\n);--spectrum-alias-toggle-background-color-emphasized-selected-default:var(\n--spectrum-global-color-blue-500\n);--spectrum-alias-toggle-background-color-emphasized-selected-hover:var(\n--spectrum-global-color-blue-600\n);--spectrum-alias-toggle-background-color-emphasized-selected-down:var(\n--spectrum-global-color-blue-700\n);--spectrum-alias-toggle-background-color-emphasized-selected-key-focus:var(\n--spectrum-global-color-blue-600\n);--spectrum-alias-toggle-background-color-emphasized-selected:var(\n--spectrum-alias-toggle-background-color-emphasized-selected-default\n);--spectrum-alias-toggle-border-color-default:var(\n--spectrum-global-color-gray-700\n);--spectrum-alias-toggle-border-color-hover:var(\n--spectrum-global-color-gray-800\n);--spectrum-alias-toggle-border-color-down:var(\n--spectrum-global-color-gray-900\n);--spectrum-alias-toggle-border-color-key-focus:var(\n--spectrum-global-color-gray-800\n);--spectrum-alias-toggle-border-color:var(\n--spectrum-alias-toggle-border-color-default\n);--spectrum-alias-toggle-icon-color-selected:var(\n--spectrum-global-color-gray-75\n);--spectrum-alias-toggle-icon-color-emphasized-selected:var(\n--spectrum-global-color-gray-75\n);--spectrum-alias-input-border-color-disabled:var(\n--spectrum-alias-border-color-transparent\n);--spectrum-alias-input-border-color-quiet-disabled:var(\n--spectrum-alias-border-color-mid\n);--spectrum-alias-input-border-color-default:var(\n--spectrum-alias-border-color\n);--spectrum-alias-input-border-color-hover:var(\n--spectrum-alias-border-color-hover\n);--spectrum-alias-input-border-color-down:var(\n--spectrum-alias-border-color-mouse-focus\n);--spectrum-alias-input-border-color-mouse-focus:var(\n--spectrum-alias-border-color-mouse-focus\n);--spectrum-alias-input-border-color-key-focus:var(\n--spectrum-alias-border-color-key-focus\n);--spectrum-alias-input-border-color:var(\n--spectrum-alias-input-border-color-default\n);--spectrum-alias-input-border-color-invalid-default:var(\n--spectrum-semantic-negative-color-default\n);--spectrum-alias-input-border-color-invalid-hover:var(\n--spectrum-semantic-negative-color-hover\n);--spectrum-alias-input-border-color-invalid-down:var(\n--spectrum-semantic-negative-color-down\n);--spectrum-alias-input-border-color-invalid-mouse-focus:var(\n--spectrum-semantic-negative-color-hover\n);--spectrum-alias-input-border-color-invalid-key-focus:var(\n--spectrum-alias-border-color-key-focus\n);--spectrum-alias-input-border-color-invalid:var(\n--spectrum-alias-input-border-color-invalid-default\n);--spectrum-alias-background-color-yellow-default:var(\n--spectrum-global-color-static-yellow-300\n);--spectrum-alias-background-color-yellow-hover:var(\n--spectrum-global-color-static-yellow-400\n);--spectrum-alias-background-color-yellow-key-focus:var(\n--spectrum-global-color-static-yellow-400\n);--spectrum-alias-background-color-yellow-down:var(\n--spectrum-global-color-static-yellow-500\n);--spectrum-alias-background-color-yellow:var(\n--spectrum-alias-background-color-yellow-default\n);--spectrum-alias-infieldbutton-background-color:var(\n--spectrum-global-color-gray-200\n);--spectrum-alias-infieldbutton-fill-loudnessLow-border-color-disabled:transparent;--spectrum-alias-infieldbutton-fill-loudnessMedium-border-color-disabled:transparent;--spectrum-alias-infieldbutton-fill-loudnessHigh-border-color-disabled:var(\n--spectrum-alias-component-background-color-disabled\n);--spectrum-alias-infieldbutton-fill-border-color-default:var(\n--spectrum-alias-input-border-color-default\n);--spectrum-alias-infieldbutton-fill-border-color-hover:var(\n--spectrum-alias-input-border-color-hover\n);--spectrum-alias-infieldbutton-fill-border-color-down:var(\n--spectrum-alias-input-border-color-down\n);--spectrum-alias-infieldbutton-fill-border-color-mouse-focus:var(\n--spectrum-alias-input-border-color-mouse-focus\n);--spectrum-alias-infieldbutton-fill-border-color-key-focus:var(\n--spectrum-alias-input-border-color-key-focus\n);--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-default:transparent;--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-hover:transparent;--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-down:transparent;--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-key-focus:transparent;--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-disabled:transparent;--spectrum-alias-infieldbutton-fill-loudnessMedium-background-color-default:var(\n--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-default\n);--spectrum-alias-infieldbutton-fill-loudnessMedium-background-color-hover:var(\n--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-hover\n);--spectrum-alias-infieldbutton-fill-loudnessMedium-background-color-down:var(\n--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-down\n);--spectrum-alias-infieldbutton-fill-loudnessMedium-background-color-key-focus:var(\n--spectrum-alias-infieldbutton-fill-loudnessLow-background-color-key-focus\n);--spectrum-alias-infieldbutton-fill-loudnessMedium-background-color-disabled:transparent;--spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-default:var(\n--spectrum-alias-component-background-color-default\n);--spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-hover:var(\n--spectrum-alias-component-background-color-hover\n);--spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-down:var(\n--spectrum-alias-component-background-color-down\n);--spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-key-focus:var(\n--spectrum-alias-component-background-color-key-focus\n);--spectrum-alias-infieldbutton-fill-loudnessHigh-background-color-disabled:var(\n--spectrum-alias-component-background-color-disabled\n);--spectrum-alias-tabitem-text-color-default:var(\n--spectrum-alias-label-text-color\n);--spectrum-alias-tabitem-text-color-hover:var(\n--spectrum-alias-text-color-hover\n);--spectrum-alias-tabitem-text-color-down:var(\n--spectrum-alias-text-color-down\n);--spectrum-alias-tabitem-text-color-key-focus:var(\n--spectrum-alias-text-color-hover\n);--spectrum-alias-tabitem-text-color-mouse-focus:var(\n--spectrum-alias-text-color-hover\n);--spectrum-alias-tabitem-text-color:var(\n--spectrum-alias-tabitem-text-color-default\n);--spectrum-alias-tabitem-text-color-selected-default:var(\n--spectrum-global-color-gray-900\n);--spectrum-alias-tabitem-text-color-selected-hover:var(\n--spectrum-alias-tabitem-text-color-selected-default\n);--spectrum-alias-tabitem-text-color-selected-down:var(\n--spectrum-alias-tabitem-text-color-selected-default\n);--spectrum-alias-tabitem-text-color-selected-key-focus:var(\n--spectrum-alias-tabitem-text-color-selected-default\n);--spectrum-alias-tabitem-text-color-selected-mouse-focus:var(\n--spectrum-alias-tabitem-text-color-selected-default\n);--spectrum-alias-tabitem-text-color-selected:var(\n--spectrum-alias-tabitem-text-color-selected-default\n);--spectrum-alias-tabitem-text-color-emphasized:var(\n--spectrum-alias-tabitem-text-color-default\n);--spectrum-alias-tabitem-text-color-emphasized-selected-default:var(\n--spectrum-global-color-static-blue-500\n);--spectrum-alias-tabitem-text-color-emphasized-selected-hover:var(\n--spectrum-alias-tabitem-text-color-emphasized-selected-default\n);--spectrum-alias-tabitem-text-color-emphasized-selected-down:var(\n--spectrum-alias-tabitem-text-color-emphasized-selected-default\n);--spectrum-alias-tabitem-text-color-emphasized-selected-key-focus:var(\n--spectrum-alias-tabitem-text-color-emphasized-selected-default\n);--spectrum-alias-tabitem-text-color-emphasized-selected-mouse-focus:var(\n--spectrum-alias-tabitem-text-color-emphasized-selected-default\n);--spectrum-alias-tabitem-text-color-emphasized-selected:var(\n--spectrum-alias-tabitem-text-color-emphasized-selected-default\n);--spectrum-alias-tabitem-selection-indicator-color-default:var(\n--spectrum-alias-tabitem-text-color-selected-default\n);--spectrum-alias-tabitem-selection-indicator-color-emphasized:var(\n--spectrum-alias-tabitem-text-color-emphasized-selected-default\n);--spectrum-alias-tabitem-icon-color-disabled:var(\n--spectrum-alias-text-color-disabled\n);--spectrum-alias-tabitem-icon-color-default:var(\n--spectrum-alias-icon-color\n);--spectrum-alias-tabitem-icon-color-hover:var(\n--spectrum-alias-icon-color-hover\n);--spectrum-alias-tabitem-icon-color-down:var(\n--spectrum-alias-icon-color-down\n);--spectrum-alias-tabitem-icon-color-key-focus:var(\n--spectrum-alias-icon-color-hover\n);--spectrum-alias-tabitem-icon-color-mouse-focus:var(\n--spectrum-alias-icon-color-down\n);--spectrum-alias-tabitem-icon-color:var(\n--spectrum-alias-tabitem-icon-color-default\n);--spectrum-alias-tabitem-icon-color-selected:var(\n--spectrum-alias-icon-color-selected-neutral\n);--spectrum-alias-tabitem-icon-color-emphasized:var(\n--spectrum-alias-tabitem-text-color-default\n);--spectrum-alias-tabitem-icon-color-emphasized-selected:var(\n--spectrum-alias-tabitem-text-color-emphasized-selected-default\n);--spectrum-alias-assetcard-selectionindicator-background-color-ordered:var(\n--spectrum-global-color-blue-500\n);--spectrum-alias-assetcard-overlay-background-color:rgba(27,127,245,.1);--spectrum-alias-assetcard-border-color-selected:var(\n--spectrum-global-color-blue-500\n);--spectrum-alias-assetcard-border-color-selected-hover:var(\n--spectrum-global-color-blue-500\n);--spectrum-alias-assetcard-border-color-selected-down:var(\n--spectrum-global-color-blue-600\n);--spectrum-alias-background-color-default:var(\n--spectrum-global-color-gray-100\n);--spectrum-alias-background-color-disabled:var(\n--spectrum-global-color-gray-200\n);--spectrum-alias-background-color-transparent:transparent;--spectrum-alias-background-color-overbackground-down:hsla(0,0%,100%,.2);--spectrum-alias-background-color-quiet-overbackground-hover:hsla(0,0%,100%,.1);--spectrum-alias-background-color-quiet-overbackground-down:hsla(0,0%,100%,.2);--spectrum-alias-background-color-overbackground-disabled:hsla(0,0%,100%,.1);--spectrum-alias-background-color-quickactions-overlay:rgba(0,0,0,.2);--spectrum-alias-placeholder-text-color:var(\n--spectrum-global-color-gray-800\n);--spectrum-alias-placeholder-text-color-hover:var(\n--spectrum-global-color-gray-900\n);--spectrum-alias-placeholder-text-color-down:var(\n--spectrum-global-color-gray-900\n);--spectrum-alias-placeholder-text-color-selected:var(\n--spectrum-global-color-gray-800\n);--spectrum-alias-label-text-color:var(--spectrum-global-color-gray-700);--spectrum-alias-text-color:var(--spectrum-global-color-gray-800);--spectrum-alias-text-color-hover:var(--spectrum-global-color-gray-900);--spectrum-alias-text-color-down:var(--spectrum-global-color-gray-900);--spectrum-alias-text-color-key-focus:var(\n--spectrum-global-color-blue-600\n);--spectrum-alias-text-color-mouse-focus:var(\n--spectrum-global-color-blue-600\n);--spectrum-alias-text-color-disabled:var(--spectrum-global-color-gray-500);--spectrum-alias-text-color-invalid:var(--spectrum-global-color-red-500);--spectrum-alias-text-color-selected:var(--spectrum-global-color-blue-600);--spectrum-alias-text-color-selected-neutral:var(\n--spectrum-global-color-gray-900\n);--spectrum-alias-text-color-overbackground:var(\n--spectrum-global-color-static-white\n);--spectrum-alias-text-color-overbackground-disabled:hsla(0,0%,100%,.2);--spectrum-alias-text-color-quiet-overbackground-disabled:hsla(0,0%,100%,.2);--spectrum-alias-heading-text-color:var(--spectrum-global-color-gray-900);--spectrum-alias-border-color:var(--spectrum-global-color-gray-400);--spectrum-alias-border-color-hover:var(--spectrum-global-color-gray-500);--spectrum-alias-border-color-down:var(--spectrum-global-color-gray-500);--spectrum-alias-border-color-key-focus:var(\n--spectrum-global-color-blue-400\n);--spectrum-alias-border-color-mouse-focus:var(\n--spectrum-global-color-blue-500\n);--spectrum-alias-border-color-disabled:var(\n--spectrum-global-color-gray-200\n);--spectrum-alias-border-color-extralight:var(\n--spectrum-global-color-gray-100\n);--spectrum-alias-border-color-light:var(--spectrum-global-color-gray-200);--spectrum-alias-border-color-mid:var(--spectrum-global-color-gray-300);--spectrum-alias-border-color-dark:var(--spectrum-global-color-gray-400);--spectrum-alias-border-color-darker-default:var(\n--spectrum-global-color-gray-600\n);--spectrum-alias-border-color-darker-hover:var(\n--spectrum-global-color-gray-900\n);--spectrum-alias-border-color-darker-down:var(\n--spectrum-global-color-gray-900\n);--spectrum-alias-border-color-transparent:transparent;--spectrum-alias-border-color-translucent-dark:rgba(0,0,0,.05);--spectrum-alias-border-color-translucent-darker:rgba(0,0,0,.1);--spectrum-alias-focus-color:var(--spectrum-global-color-blue-400);--spectrum-alias-focus-ring-color:var(--spectrum-alias-focus-color);--spectrum-alias-track-color-default:var(--spectrum-global-color-gray-300);--spectrum-alias-track-fill-color-overbackground:var(\n--spectrum-global-color-static-white\n);--spectrum-alias-track-color-disabled:var(\n--spectrum-global-color-gray-300\n);--spectrum-alias-track-color-overbackground:hsla(0,0%,100%,.2);--spectrum-alias-icon-color:var(--spectrum-global-color-gray-700);--spectrum-alias-icon-color-overbackground:var(\n--spectrum-global-color-static-white\n);--spectrum-alias-icon-color-hover:var(--spectrum-global-color-gray-900);--spectrum-alias-icon-color-down:var(--spectrum-global-color-gray-900);--spectrum-alias-icon-color-key-focus:var(\n--spectrum-global-color-gray-900\n);--spectrum-alias-icon-color-disabled:var(--spectrum-global-color-gray-400);--spectrum-alias-icon-color-overbackground-disabled:hsla(0,0%,100%,.2);--spectrum-alias-icon-color-quiet-overbackground-disabled:hsla(0,0%,100%,.15);--spectrum-alias-icon-color-selected-neutral:var(\n--spectrum-global-color-gray-900\n);--spectrum-alias-icon-color-selected-neutral-subdued:var(\n--spectrum-global-color-gray-800\n);--spectrum-alias-icon-color-selected:var(--spectrum-global-color-blue-500);--spectrum-alias-icon-color-selected-hover:var(\n--spectrum-global-color-blue-600\n);--spectrum-alias-icon-color-selected-down:var(\n--spectrum-global-color-blue-700\n);--spectrum-alias-icon-color-selected-focus:var(\n--spectrum-global-color-blue-600\n);--spectrum-alias-image-opacity-disabled:var(\n--spectrum-global-color-opacity-30\n);--spectrum-alias-toolbar-background-color:var(\n--spectrum-global-color-gray-100\n);--spectrum-alias-code-highlight-color-default:var(\n--spectrum-global-color-gray-800\n);--spectrum-alias-code-highlight-background-color:var(\n--spectrum-global-color-gray-75\n);--spectrum-alias-code-highlight-color-keyword:var(\n--spectrum-global-color-fuchsia-600\n);--spectrum-alias-code-highlight-color-section:var(\n--spectrum-global-color-red-600\n);--spectrum-alias-code-highlight-color-literal:var(\n--spectrum-global-color-blue-600\n);--spectrum-alias-code-highlight-color-attribute:var(\n--spectrum-global-color-seafoam-600\n);--spectrum-alias-code-highlight-color-class:var(\n--spectrum-global-color-magenta-600\n);--spectrum-alias-code-highlight-color-variable:var(\n--spectrum-global-color-purple-600\n);--spectrum-alias-code-highlight-color-title:var(\n--spectrum-global-color-indigo-600\n);--spectrum-alias-code-highlight-color-string:var(\n--spectrum-global-color-fuchsia-600\n);--spectrum-alias-code-highlight-color-function:var(\n--spectrum-global-color-blue-600\n);--spectrum-alias-code-highlight-color-comment:var(\n--spectrum-global-color-gray-700\n);--spectrum-alias-categorical-color-1:var(\n--spectrum-global-color-static-seafoam-200\n);--spectrum-alias-categorical-color-2:var(\n--spectrum-global-color-static-indigo-700\n);--spectrum-alias-categorical-color-3:var(\n--spectrum-global-color-static-orange-500\n);--spectrum-alias-categorical-color-4:var(\n--spectrum-global-color-static-magenta-500\n);--spectrum-alias-categorical-color-5:var(\n--spectrum-global-color-static-indigo-200\n);--spectrum-alias-categorical-color-6:var(\n--spectrum-global-color-static-celery-200\n);--spectrum-alias-categorical-color-7:var(\n--spectrum-global-color-static-blue-500\n);--spectrum-alias-categorical-color-8:var(\n--spectrum-global-color-static-purple-800\n);--spectrum-alias-categorical-color-9:var(\n--spectrum-global-color-static-yellow-500\n);--spectrum-alias-categorical-color-10:var(\n--spectrum-global-color-static-orange-700\n);--spectrum-alias-categorical-color-11:var(\n--spectrum-global-color-static-green-600\n);--spectrum-alias-categorical-color-12:var(\n--spectrum-global-color-static-chartreuse-300\n);--spectrum-alias-categorical-color-13:var(\n--spectrum-global-color-static-blue-200\n);--spectrum-alias-categorical-color-14:var(\n--spectrum-global-color-static-fuchsia-500\n);--spectrum-alias-categorical-color-15:var(\n--spectrum-global-color-static-magenta-200\n);--spectrum-alias-categorical-color-16:var(\n--spectrum-global-color-static-yellow-200\n)}:host,:root{--spectrum-colorcontrol-checkerboard-light-color:var(\n--spectrum-global-color-static-white\n);--spectrum-colorcontrol-checkerboard-dark-color:var(\n--spectrum-global-color-static-gray-300\n)}:host,:root{-webkit-tap-highlight-color:rgba(0,0,0,0)}:host,:root{--spectrum-focus-indicator-color:var(--spectrum-blue-800);--spectrum-static-white-focus-indicator-color:var(--spectrum-white);--spectrum-static-black-focus-indicator-color:var(--spectrum-black);--spectrum-overlay-color:var(--spectrum-black);--spectrum-opacity-disabled:0.3;--spectrum-neutral-subdued-content-color-selected:var(\n--spectrum-neutral-subdued-content-color-down\n);--spectrum-accent-content-color-selected:var(\n--spectrum-accent-content-color-down\n);--spectrum-disabled-background-color:var(--spectrum-gray-200);--spectrum-disabled-static-white-background-color:var(\n--spectrum-transparent-white-200\n);--spectrum-disabled-static-black-background-color:var(\n--spectrum-transparent-black-200\n);--spectrum-background-opacity-default:0;--spectrum-background-opacity-hover:0.1;--spectrum-background-opacity-down:0.1;--spectrum-background-opacity-key-focus:0.1;--spectrum-neutral-content-color-default:var(--spectrum-gray-800);--spectrum-neutral-content-color-hover:var(--spectrum-gray-900);--spectrum-neutral-content-color-down:var(--spectrum-gray-900);--spectrum-neutral-content-color-focus-hover:var(\n--spectrum-neutral-content-color-down\n);--spectrum-neutral-content-color-focus:var(\n--spectrum-neutral-content-color-down\n);--spectrum-neutral-content-color-key-focus:var(--spectrum-gray-900);--spectrum-neutral-subdued-content-color-default:var(--spectrum-gray-700);--spectrum-neutral-subdued-content-color-hover:var(--spectrum-gray-800);--spectrum-neutral-subdued-content-color-down:var(--spectrum-gray-900);--spectrum-neutral-subdued-content-color-key-focus:var(\n--spectrum-gray-800\n);--spectrum-accent-content-color-default:var(--spectrum-accent-color-900);--spectrum-accent-content-color-hover:var(--spectrum-accent-color-1000);--spectrum-accent-content-color-down:var(--spectrum-accent-color-1100);--spectrum-accent-content-color-key-focus:var(\n--spectrum-accent-color-1000\n);--spectrum-negative-content-color-default:var(\n--spectrum-negative-color-900\n);--spectrum-negative-content-color-hover:var(\n--spectrum-negative-color-1000\n);--spectrum-negative-content-color-down:var(--spectrum-negative-color-1100);--spectrum-negative-content-color-key-focus:var(\n--spectrum-negative-color-1000\n);--spectrum-disabled-content-color:var(--spectrum-gray-400);--spectrum-disabled-static-white-content-color:var(\n--spectrum-transparent-white-500\n);--spectrum-disabled-static-black-content-color:var(\n--spectrum-transparent-black-500\n);--spectrum-disabled-border-color:var(--spectrum-gray-300);--spectrum-disabled-static-white-border-color:var(\n--spectrum-transparent-white-300\n);--spectrum-disabled-static-black-border-color:var(\n--spectrum-transparent-black-300\n);--spectrum-negative-border-color-default:var(\n--spectrum-negative-color-900\n);--spectrum-negative-border-color-hover:var(--spectrum-negative-color-1000);--spectrum-negative-border-color-down:var(--spectrum-negative-color-1100);--spectrum-negative-border-color-focus-hover:var(\n--spectrum-negative-border-color-down\n);--spectrum-negative-border-color-focus:var(--spectrum-negative-color-1000);--spectrum-negative-border-color-key-focus:var(\n--spectrum-negative-color-1000\n);--spectrum-swatch-border-color:var(--spectrum-gray-900);--spectrum-swatch-border-opacity:0.51;--spectrum-swatch-disabled-icon-border-color:var(--spectrum-black);--spectrum-swatch-disabled-icon-border-opacity:0.51;--spectrum-thumbnail-border-color:var(--spectrum-gray-800);--spectrum-thumbnail-border-opacity:0.1;--spectrum-thumbnail-opacity-disabled:var(--spectrum-opacity-disabled);--spectrum-opacity-checkerboard-square-light:var(--spectrum-white);--spectrum-avatar-opacity-disabled:var(--spectrum-opacity-disabled);--spectrum-color-area-border-color:var(--spectrum-gray-900);--spectrum-color-area-border-opacity:0.1;--spectrum-color-slider-border-color:var(--spectrum-gray-900);--spectrum-color-slider-border-opacity:0.1;--spectrum-color-loupe-drop-shadow-color:var(\n--spectrum-transparent-black-300\n);--spectrum-color-loupe-drop-shadow-y:2px;--spectrum-color-loupe-drop-shadow-blur:8px;--spectrum-color-loupe-inner-border:var(--spectrum-transparent-black-200);--spectrum-color-loupe-outer-border:var(--spectrum-white);--spectrum-card-selection-background-color:var(--spectrum-gray-100);--spectrum-card-selection-background-color-opacity:0.95;--spectrum-drop-zone-background-color:var(--spectrum-accent-visual-color);--spectrum-drop-zone-background-color-opacity:0.1;--spectrum-drop-zone-background-color-opacity-filled:0.3;--spectrum-coach-mark-pagination-color:var(--spectrum-gray-600);--spectrum-color-handle-inner-border-color:var(--spectrum-black);--spectrum-color-handle-inner-border-opacity:0.42;--spectrum-color-handle-outer-border-opacity:var(\n--spectrum-color-handle-inner-border-opacity\n);--spectrum-floating-action-button-drop-shadow-color:var(\n--spectrum-transparent-black-300\n);--spectrum-floating-action-button-shadow-color:var(\n--spectrum-floating-action-button-drop-shadow-color\n);--spectrum-white-rgb:255,255,255;--spectrum-white:rgba(var(--spectrum-white-rgb));--spectrum-transparent-white-100-rgb:255,255,255;--spectrum-transparent-white-100-opacity:0;--spectrum-transparent-white-100:rgba(var(--spectrum-transparent-white-100-rgb),var(--spectrum-transparent-white-100-opacity));--spectrum-transparent-white-200-rgb:255,255,255;--spectrum-transparent-white-200-opacity:0.1;--spectrum-transparent-white-200:rgba(var(--spectrum-transparent-white-200-rgb),var(--spectrum-transparent-white-200-opacity));--spectrum-transparent-white-300-rgb:255,255,255;--spectrum-transparent-white-300-opacity:0.25;--spectrum-transparent-white-300:rgba(var(--spectrum-transparent-white-300-rgb),var(--spectrum-transparent-white-300-opacity));--spectrum-transparent-white-400-rgb:255,255,255;--spectrum-transparent-white-400-opacity:0.4;--spectrum-transparent-white-400:rgba(var(--spectrum-transparent-white-400-rgb),var(--spectrum-transparent-white-400-opacity));--spectrum-transparent-white-500-rgb:255,255,255;--spectrum-transparent-white-500-opacity:0.55;--spectrum-transparent-white-500:rgba(var(--spectrum-transparent-white-500-rgb),var(--spectrum-transparent-white-500-opacity));--spectrum-transparent-white-600-rgb:255,255,255;--spectrum-transparent-white-600-opacity:0.7;--spectrum-transparent-white-600:rgba(var(--spectrum-transparent-white-600-rgb),var(--spectrum-transparent-white-600-opacity));--spectrum-transparent-white-700-rgb:255,255,255;--spectrum-transparent-white-700-opacity:0.8;--spectrum-transparent-white-700:rgba(var(--spectrum-transparent-white-700-rgb),var(--spectrum-transparent-white-700-opacity));--spectrum-transparent-white-800-rgb:255,255,255;--spectrum-transparent-white-800-opacity:0.9;--spectrum-transparent-white-800:rgba(var(--spectrum-transparent-white-800-rgb),var(--spectrum-transparent-white-800-opacity));--spectrum-transparent-white-900-rgb:255,255,255;--spectrum-transparent-white-900:rgba(var(--spectrum-transparent-white-900-rgb));--spectrum-black-rgb:0,0,0;--spectrum-black:rgba(var(--spectrum-black-rgb));--spectrum-transparent-black-100-rgb:0,0,0;--spectrum-transparent-black-100-opacity:0;--spectrum-transparent-black-100:rgba(var(--spectrum-transparent-black-100-rgb),var(--spectrum-transparent-black-100-opacity));--spectrum-transparent-black-200-rgb:0,0,0;--spectrum-transparent-black-200-opacity:0.1;--spectrum-transparent-black-200:rgba(var(--spectrum-transparent-black-200-rgb),var(--spectrum-transparent-black-200-opacity));--spectrum-transparent-black-300-rgb:0,0,0;--spectrum-transparent-black-300-opacity:0.25;--spectrum-transparent-black-300:rgba(var(--spectrum-transparent-black-300-rgb),var(--spectrum-transparent-black-300-opacity));--spectrum-transparent-black-400-rgb:0,0,0;--spectrum-transparent-black-400-opacity:0.4;--spectrum-transparent-black-400:rgba(var(--spectrum-transparent-black-400-rgb),var(--spectrum-transparent-black-400-opacity));--spectrum-transparent-black-500-rgb:0,0,0;--spectrum-transparent-black-500-opacity:0.55;--spectrum-transparent-black-500:rgba(var(--spectrum-transparent-black-500-rgb),var(--spectrum-transparent-black-500-opacity));--spectrum-transparent-black-600-rgb:0,0,0;--spectrum-transparent-black-600-opacity:0.7;--spectrum-transparent-black-600:rgba(var(--spectrum-transparent-black-600-rgb),var(--spectrum-transparent-black-600-opacity));--spectrum-transparent-black-700-rgb:0,0,0;--spectrum-transparent-black-700-opacity:0.8;--spectrum-transparent-black-700:rgba(var(--spectrum-transparent-black-700-rgb),var(--spectrum-transparent-black-700-opacity));--spectrum-transparent-black-800-rgb:0,0,0;--spectrum-transparent-black-800-opacity:0.9;--spectrum-transparent-black-800:rgba(var(--spectrum-transparent-black-800-rgb),var(--spectrum-transparent-black-800-opacity));--spectrum-transparent-black-900-rgb:0,0,0;--spectrum-transparent-black-900:rgba(var(--spectrum-transparent-black-900-rgb));--spectrum-radio-button-selection-indicator:4px;--spectrum-field-label-to-component:0px;--spectrum-help-text-to-component:0px;--spectrum-button-minimum-width-multiplier:2.25;--spectrum-divider-thickness-small:1px;--spectrum-divider-thickness-medium:2px;--spectrum-divider-thickness-large:4px;--spectrum-swatch-rectangle-width-multiplier:2;--spectrum-swatch-slash-thickness-extra-small:2px;--spectrum-swatch-slash-thickness-small:3px;--spectrum-swatch-slash-thickness-medium:4px;--spectrum-swatch-slash-thickness-large:5px;--spectrum-progress-bar-minimum-width:48px;--spectrum-progress-bar-maximum-width:768px;--spectrum-meter-minimum-width:48px;--spectrum-meter-maximum-width:768px;--spectrum-in-line-alert-minimum-width:240px;--spectrum-popover-tip-width:16px;--spectrum-popover-tip-height:8px;--spectrum-menu-item-label-to-description:1px;--spectrum-picker-minimum-width-multiplier:2;--spectrum-picker-end-edge-to-disclousure-icon-quiet:var(\n--spectrum-picker-end-edge-to-disclosure-icon-quiet\n);--spectrum-picker-end-edge-to-disclosure-icon-quiet:0px;--spectrum-text-field-minimum-width-multiplier:1.5;--spectrum-combo-box-minimum-width-multiplier:2.5;--spectrum-combo-box-quiet-minimum-width-multiplier:2;--spectrum-combo-box-visual-to-field-button-quiet:0px;--spectrum-alert-dialog-minimum-width:288px;--spectrum-alert-dialog-maximum-width:480px;--spectrum-contextual-help-minimum-width:268px;--spectrum-breadcrumbs-height:var(--spectrum-component-height-300);--spectrum-breadcrumbs-height-compact:var(--spectrum-component-height-200);--spectrum-breadcrumbs-end-edge-to-text:0px;--spectrum-breadcrumbs-truncated-menu-to-separator-icon:0px;--spectrum-breadcrumbs-start-edge-to-truncated-menu:0px;--spectrum-breadcrumbs-truncated-menu-to-bottom-text:0px;--spectrum-alert-banner-to-top-workflow-icon:var(\n--spectrum-alert-banner-top-to-workflow-icon\n);--spectrum-alert-banner-to-top-text:var(\n--spectrum-alert-banner-top-to-text\n);--spectrum-alert-banner-to-bottom-text:var(\n--spectrum-alert-banner-bottom-to-text\n);--spectrum-color-area-border-width:var(--spectrum-border-width-100);--spectrum-color-area-border-rounding:var(--spectrum-corner-radius-100);--spectrum-color-wheel-color-area-margin:12px;--spectrum-color-slider-border-width:1px;--spectrum-color-slider-border-rounding:4px;--spectrum-floating-action-button-drop-shadow-blur:12px;--spectrum-floating-action-button-drop-shadow-y:4px;--spectrum-illustrated-message-maximum-width:380px;--spectrum-search-field-minimum-width-multiplier:3;--spectrum-color-loupe-height:64px;--spectrum-color-loupe-width:48px;--spectrum-color-loupe-bottom-to-color-handle:12px;--spectrum-color-loupe-outer-border-width:var(--spectrum-border-width-200);--spectrum-color-loupe-inner-border-width:1px;--spectrum-card-minimum-width:100px;--spectrum-card-preview-minimum-height:130px;--spectrum-card-selection-background-size:40px;--spectrum-drop-zone-width:428px;--spectrum-drop-zone-content-maximum-width:var(\n--spectrum-illustrated-message-maximum-width\n);--spectrum-drop-zone-border-dash-length:8px;--spectrum-drop-zone-border-dash-gap:4px;--spectrum-drop-zone-title-size:var(\n--spectrum-illustrated-message-title-size\n);--spectrum-drop-zone-cjk-title-size:var(\n--spectrum-illustrated-message-cjk-title-size\n);--spectrum-drop-zone-body-size:var(\n--spectrum-illustrated-message-body-size\n);--spectrum-color-handle-border-width:var(--spectrum-border-width-200);--spectrum-color-handle-inner-border-width:1px;--spectrum-color-handle-outer-border-width:1px;--spectrum-color-handle-drop-shadow-x:0;--spectrum-color-handle-drop-shadow-y:0;--spectrum-color-handle-drop-shadow-blur:0;--spectrum-tab-item-height-small:var(--spectrum-component-height-200);--spectrum-tab-item-height-medium:var(--spectrum-component-height-300);--spectrum-tab-item-height-large:var(--spectrum-component-height-400);--spectrum-tab-item-height-extra-large:var(\n--spectrum-component-height-500\n);--spectrum-tab-item-compact-height-small:var(\n--spectrum-component-height-75\n);--spectrum-tab-item-compact-height-medium:var(\n--spectrum-component-height-100\n);--spectrum-tab-item-compact-height-large:var(\n--spectrum-component-height-200\n);--spectrum-tab-item-compact-height-extra-large:var(\n--spectrum-component-height-300\n);--spectrum-tab-item-start-to-edge-quiet:0px;--spectrum-android-elevation:2dp;--spectrum-spacing-50:2px;--spectrum-spacing-75:4px;--spectrum-spacing-100:8px;--spectrum-spacing-200:12px;--spectrum-spacing-300:16px;--spectrum-spacing-400:24px;--spectrum-spacing-500:32px;--spectrum-spacing-600:40px;--spectrum-spacing-700:48px;--spectrum-spacing-800:64px;--spectrum-spacing-900:80px;--spectrum-spacing-1000:96px;--spectrum-focus-indicator-thickness:2px;--spectrum-focus-indicator-gap:2px;--spectrum-border-width-200:2px;--spectrum-border-width-400:4px;--spectrum-field-edge-to-text-quiet:0px;--spectrum-field-edge-to-visual-quiet:0px;--spectrum-field-edge-to-border-quiet:0px;--spectrum-field-edge-to-alert-icon-quiet:0px;--spectrum-field-edge-to-validation-icon-quiet:0px;--spectrum-text-underline-thickness:1px;--spectrum-text-underline-gap:1px;--spectrum-informative-color-100:var(--spectrum-blue-100);--spectrum-informative-color-200:var(--spectrum-blue-200);--spectrum-informative-color-300:var(--spectrum-blue-300);--spectrum-informative-color-400:var(--spectrum-blue-400);--spectrum-informative-color-500:var(--spectrum-blue-500);--spectrum-informative-color-600:var(--spectrum-blue-600);--spectrum-informative-color-700:var(--spectrum-blue-700);--spectrum-informative-color-800:var(--spectrum-blue-800);--spectrum-informative-color-900:var(--spectrum-blue-900);--spectrum-informative-color-1000:var(--spectrum-blue-1000);--spectrum-informative-color-1100:var(--spectrum-blue-1100);--spectrum-informative-color-1200:var(--spectrum-blue-1200);--spectrum-informative-color-1300:var(--spectrum-blue-1300);--spectrum-informative-color-1400:var(--spectrum-blue-1400);--spectrum-negative-color-100:var(--spectrum-red-100);--spectrum-negative-color-200:var(--spectrum-red-200);--spectrum-negative-color-300:var(--spectrum-red-300);--spectrum-negative-color-400:var(--spectrum-red-400);--spectrum-negative-color-500:var(--spectrum-red-500);--spectrum-negative-color-600:var(--spectrum-red-600);--spectrum-negative-color-700:var(--spectrum-red-700);--spectrum-negative-color-800:var(--spectrum-red-800);--spectrum-negative-color-900:var(--spectrum-red-900);--spectrum-negative-color-1000:var(--spectrum-red-1000);--spectrum-negative-color-1100:var(--spectrum-red-1100);--spectrum-negative-color-1200:var(--spectrum-red-1200);--spectrum-negative-color-1300:var(--spectrum-red-1300);--spectrum-negative-color-1400:var(--spectrum-red-1400);--spectrum-notice-color-100:var(--spectrum-orange-100);--spectrum-notice-color-200:var(--spectrum-orange-200);--spectrum-notice-color-300:var(--spectrum-orange-300);--spectrum-notice-color-400:var(--spectrum-orange-400);--spectrum-notice-color-500:var(--spectrum-orange-500);--spectrum-notice-color-600:var(--spectrum-orange-600);--spectrum-notice-color-700:var(--spectrum-orange-700);--spectrum-notice-color-800:var(--spectrum-orange-800);--spectrum-notice-color-900:var(--spectrum-orange-900);--spectrum-notice-color-1000:var(--spectrum-orange-1000);--spectrum-notice-color-1100:var(--spectrum-orange-1100);--spectrum-notice-color-1200:var(--spectrum-orange-1200);--spectrum-notice-color-1300:var(--spectrum-orange-1300);--spectrum-notice-color-1400:var(--spectrum-orange-1400);--spectrum-positive-color-100:var(--spectrum-green-100);--spectrum-positive-color-200:var(--spectrum-green-200);--spectrum-positive-color-300:var(--spectrum-green-300);--spectrum-positive-color-400:var(--spectrum-green-400);--spectrum-positive-color-500:var(--spectrum-green-500);--spectrum-positive-color-600:var(--spectrum-green-600);--spectrum-positive-color-700:var(--spectrum-green-700);--spectrum-positive-color-800:var(--spectrum-green-800);--spectrum-positive-color-900:var(--spectrum-green-900);--spectrum-positive-color-1000:var(--spectrum-green-1000);--spectrum-positive-color-1100:var(--spectrum-green-1100);--spectrum-positive-color-1200:var(--spectrum-green-1200);--spectrum-positive-color-1300:var(--spectrum-green-1300);--spectrum-positive-color-1400:var(--spectrum-green-1400);--spectrum-default-font-family:var(--spectrum-sans-serif-font-family);--spectrum-sans-serif-font-family:Adobe Clean;--spectrum-serif-font-family:Adobe Clean Serif;--spectrum-cjk-font-family:Adobe Clean Han;--spectrum-light-font-weight:300;--spectrum-regular-font-weight:400;--spectrum-medium-font-weight:500;--spectrum-bold-font-weight:700;--spectrum-extra-bold-font-weight:800;--spectrum-black-font-weight:900;--spectrum-italic-font-style:italic;--spectrum-default-font-style:normal;--spectrum-line-height-100:1.3;--spectrum-line-height-200:1.5;--spectrum-cjk-line-height-100:1.5;--spectrum-cjk-line-height-200:1.7;--spectrum-cjk-letter-spacing:0.05em;--spectrum-heading-sans-serif-font-family:var(\n--spectrum-sans-serif-font-family\n);--spectrum-heading-serif-font-family:var(--spectrum-serif-font-family);--spectrum-heading-cjk-font-family:var(--spectrum-cjk-font-family);--spectrum-heading-sans-serif-light-font-weight:var(\n--spectrum-light-font-weight\n);--spectrum-heading-sans-serif-light-font-style:var(\n--spectrum-default-font-style\n);--spectrum-heading-serif-light-font-weight:var(\n--spectrum-regular-font-weight\n);--spectrum-heading-serif-light-font-style:var(\n--spectrum-default-font-style\n);--spectrum-heading-cjk-light-font-weight:var(--spectrum-light-font-weight);--spectrum-heading-cjk-light-font-style:var(--spectrum-default-font-style);--spectrum-heading-sans-serif-font-style:var(\n--spectrum-default-font-style\n);--spectrum-heading-serif-font-style:var(--spectrum-default-font-style);--spectrum-heading-cjk-font-style:var(--spectrum-default-font-style);--spectrum-heading-sans-serif-heavy-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-heading-sans-serif-heavy-font-style:var(\n--spectrum-default-font-style\n);--spectrum-heading-serif-heavy-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-heading-serif-heavy-font-style:var(\n--spectrum-default-font-style\n);--spectrum-heading-cjk-heavy-font-weight:var(--spectrum-black-font-weight);--spectrum-heading-cjk-heavy-font-style:var(--spectrum-default-font-style);--spectrum-heading-sans-serif-light-strong-font-weight:var(\n--spectrum-bold-font-weight\n);--spectrum-heading-sans-serif-light-strong-font-style:var(\n--spectrum-default-font-style\n);--spectrum-heading-serif-light-strong-font-weight:var(\n--spectrum-bold-font-weight\n);--spectrum-heading-serif-light-strong-font-style:var(\n--spectrum-default-font-style\n);--spectrum-heading-cjk-light-strong-font-weight:var(\n--spectrum-extra-bold-font-weight\n);--spectrum-heading-cjk-light-strong-font-style:var(\n--spectrum-default-font-style\n);--spectrum-heading-sans-serif-strong-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-heading-sans-serif-strong-font-style:var(\n--spectrum-default-font-style\n);--spectrum-heading-serif-strong-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-heading-serif-strong-font-style:var(\n--spectrum-default-font-style\n);--spectrum-heading-cjk-strong-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-heading-cjk-strong-font-style:var(\n--spectrum-default-font-style\n);--spectrum-heading-sans-serif-heavy-strong-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-heading-sans-serif-heavy-strong-font-style:var(\n--spectrum-default-font-style\n);--spectrum-heading-serif-heavy-strong-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-heading-serif-heavy-strong-font-style:var(\n--spectrum-default-font-style\n);--spectrum-heading-cjk-heavy-strong-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-heading-cjk-heavy-strong-font-style:var(\n--spectrum-default-font-style\n);--spectrum-heading-sans-serif-light-emphasized-font-weight:var(\n--spectrum-light-font-weight\n);--spectrum-heading-sans-serif-light-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-heading-serif-light-emphasized-font-weight:var(\n--spectrum-regular-font-weight\n);--spectrum-heading-serif-light-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-heading-cjk-light-emphasized-font-weight:var(\n--spectrum-regular-font-weight\n);--spectrum-heading-cjk-light-emphasized-font-style:var(\n--spectrum-default-font-style\n);--spectrum-heading-sans-serif-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-heading-serif-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-heading-cjk-emphasized-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-heading-cjk-emphasized-font-style:var(\n--spectrum-default-font-style\n);--spectrum-heading-sans-serif-heavy-emphasized-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-heading-sans-serif-heavy-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-heading-serif-heavy-emphasized-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-heading-serif-heavy-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-heading-cjk-heavy-emphasized-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-heading-cjk-heavy-emphasized-font-style:var(\n--spectrum-default-font-style\n);--spectrum-heading-sans-serif-light-strong-emphasized-font-weight:var(\n--spectrum-bold-font-weight\n);--spectrum-heading-sans-serif-light-strong-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-heading-serif-light-strong-emphasized-font-weight:var(\n--spectrum-bold-font-weight\n);--spectrum-heading-serif-light-strong-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-heading-cjk-light-strong-emphasized-font-weight:var(\n--spectrum-extra-bold-font-weight\n);--spectrum-heading-cjk-light-strong-emphasized-font-style:var(\n--spectrum-default-font-style\n);--spectrum-heading-sans-serif-strong-emphasized-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-heading-sans-serif-strong-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-heading-serif-strong-emphasized-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-heading-serif-strong-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-heading-cjk-strong-emphasized-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-heading-cjk-strong-emphasized-font-style:var(\n--spectrum-default-font-style\n);--spectrum-heading-sans-serif-heavy-strong-emphasized-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-heading-sans-serif-heavy-strong-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-heading-serif-heavy-strong-emphasized-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-heading-serif-heavy-strong-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-heading-cjk-heavy-strong-emphasized-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-heading-cjk-heavy-strong-emphasized-font-style:var(\n--spectrum-default-font-style\n);--spectrum-heading-size-xxxl:var(--spectrum-font-size-1300);--spectrum-heading-size-xxl:var(--spectrum-font-size-1100);--spectrum-heading-size-xl:var(--spectrum-font-size-900);--spectrum-heading-size-l:var(--spectrum-font-size-700);--spectrum-heading-size-m:var(--spectrum-font-size-500);--spectrum-heading-size-s:var(--spectrum-font-size-300);--spectrum-heading-size-xs:var(--spectrum-font-size-200);--spectrum-heading-size-xxs:var(--spectrum-font-size-100);--spectrum-heading-cjk-size-xxxl:var(--spectrum-font-size-1300);--spectrum-heading-cjk-size-xxl:var(--spectrum-font-size-900);--spectrum-heading-cjk-size-xl:var(--spectrum-font-size-800);--spectrum-heading-cjk-size-l:var(--spectrum-font-size-600);--spectrum-heading-cjk-size-m:var(--spectrum-font-size-400);--spectrum-heading-cjk-size-s:var(--spectrum-font-size-300);--spectrum-heading-cjk-size-xs:var(--spectrum-font-size-200);--spectrum-heading-cjk-size-xxs:var(--spectrum-font-size-100);--spectrum-heading-line-height:var(--spectrum-line-height-100);--spectrum-heading-cjk-line-height:var(--spectrum-cjk-line-height-100);--spectrum-heading-margin-top-multiplier:0.88888889;--spectrum-heading-margin-bottom-multiplier:0.25;--spectrum-heading-color:var(--spectrum-gray-900);--spectrum-body-sans-serif-font-family:var(\n--spectrum-sans-serif-font-family\n);--spectrum-body-serif-font-family:var(--spectrum-serif-font-family);--spectrum-body-cjk-font-family:var(--spectrum-cjk-font-family);--spectrum-body-sans-serif-font-weight:var(--spectrum-regular-font-weight);--spectrum-body-sans-serif-font-style:var(--spectrum-default-font-style);--spectrum-body-serif-font-weight:var(--spectrum-regular-font-weight);--spectrum-body-serif-font-style:var(--spectrum-default-font-style);--spectrum-body-cjk-font-weight:var(--spectrum-regular-font-weight);--spectrum-body-cjk-font-style:var(--spectrum-default-font-style);--spectrum-body-sans-serif-strong-font-weight:var(\n--spectrum-bold-font-weight\n);--spectrum-body-sans-serif-strong-font-style:var(\n--spectrum-default-font-style\n);--spectrum-body-serif-strong-font-weight:var(--spectrum-bold-font-weight);--spectrum-body-serif-strong-font-style:var(--spectrum-default-font-style);--spectrum-body-cjk-strong-font-weight:var(--spectrum-black-font-weight);--spectrum-body-cjk-strong-font-style:var(--spectrum-default-font-style);--spectrum-body-sans-serif-emphasized-font-weight:var(\n--spectrum-regular-font-weight\n);--spectrum-body-sans-serif-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-body-serif-emphasized-font-weight:var(\n--spectrum-regular-font-weight\n);--spectrum-body-serif-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-body-cjk-emphasized-font-weight:var(\n--spectrum-extra-bold-font-weight\n);--spectrum-body-cjk-emphasized-font-style:var(\n--spectrum-default-font-style\n);--spectrum-body-sans-serif-strong-emphasized-font-weight:var(\n--spectrum-bold-font-weight\n);--spectrum-body-sans-serif-strong-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-body-serif-strong-emphasized-font-weight:var(\n--spectrum-bold-font-weight\n);--spectrum-body-serif-strong-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-body-cjk-strong-emphasized-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-body-cjk-strong-emphasized-font-style:var(\n--spectrum-default-font-style\n);--spectrum-body-size-xxxl:var(--spectrum-font-size-600);--spectrum-body-size-xxl:var(--spectrum-font-size-500);--spectrum-body-size-xl:var(--spectrum-font-size-400);--spectrum-body-size-l:var(--spectrum-font-size-300);--spectrum-body-size-m:var(--spectrum-font-size-200);--spectrum-body-size-s:var(--spectrum-font-size-100);--spectrum-body-size-xs:var(--spectrum-font-size-75);--spectrum-body-line-height:var(--spectrum-line-height-200);--spectrum-body-cjk-line-height:var(--spectrum-cjk-line-height-200);--spectrum-body-margin-multiplier:0.75;--spectrum-body-color:var(--spectrum-gray-800);--spectrum-detail-sans-serif-font-family:var(\n--spectrum-sans-serif-font-family\n);--spectrum-detail-serif-font-family:var(--spectrum-serif-font-family);--spectrum-detail-cjk-font-family:var(--spectrum-cjk-font-family);--spectrum-detail-sans-serif-font-weight:var(--spectrum-bold-font-weight);--spectrum-detail-sans-serif-font-style:var(--spectrum-default-font-style);--spectrum-detail-serif-font-weight:var(--spectrum-bold-font-weight);--spectrum-detail-serif-font-style:var(--spectrum-default-font-style);--spectrum-detail-cjk-font-weight:var(--spectrum-extra-bold-font-weight);--spectrum-detail-cjk-font-style:var(--spectrum-default-font-style);--spectrum-detail-sans-serif-light-font-weight:var(\n--spectrum-regular-font-weight\n);--spectrum-detail-sans-serif-light-font-style:var(\n--spectrum-default-font-style\n);--spectrum-detail-serif-light-font-weight:var(\n--spectrum-regular-font-weight\n);--spectrum-detail-serif-light-font-style:var(\n--spectrum-default-font-style\n);--spectrum-detail-cjk-light-font-weight:var(--spectrum-light-font-weight);--spectrum-detail-cjk-light-font-style:var(--spectrum-default-font-style);--spectrum-detail-sans-serif-strong-font-weight:var(\n--spectrum-bold-font-weight\n);--spectrum-detail-sans-serif-strong-font-style:var(\n--spectrum-default-font-style\n);--spectrum-detail-serif-strong-font-weight:var(\n--spectrum-bold-font-weight\n);--spectrum-detail-serif-strong-font-style:var(\n--spectrum-default-font-style\n);--spectrum-detail-cjk-strong-font-weight:var(--spectrum-black-font-weight);--spectrum-detail-cjk-strong-font-style:var(--spectrum-default-font-style);--spectrum-detail-sans-serif-light-strong-font-weight:var(\n--spectrum-regular-font-weight\n);--spectrum-detail-sans-serif-light-strong-font-style:var(\n--spectrum-default-font-style\n);--spectrum-detail-serif-light-strong-font-weight:var(\n--spectrum-regular-font-weight\n);--spectrum-detail-serif-light-strong-font-style:var(\n--spectrum-default-font-style\n);--spectrum-detail-cjk-light-strong-font-weight:var(\n--spectrum-extra-bold-font-weight\n);--spectrum-detail-cjk-light-strong-font-style:var(\n--spectrum-default-font-style\n);--spectrum-detail-sans-serif-emphasized-font-weight:var(\n--spectrum-bold-font-weight\n);--spectrum-detail-sans-serif-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-detail-serif-emphasized-font-weight:var(\n--spectrum-bold-font-weight\n);--spectrum-detail-serif-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-detail-cjk-emphasized-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-detail-cjk-emphasized-font-style:var(\n--spectrum-default-font-style\n);--spectrum-detail-sans-serif-light-emphasized-font-weight:var(\n--spectrum-regular-font-weight\n);--spectrum-detail-sans-serif-light-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-detail-serif-light-emphasized-font-weight:var(\n--spectrum-regular-font-weight\n);--spectrum-detail-serif-light-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-detail-cjk-light-emphasized-font-weight:var(\n--spectrum-regular-font-weight\n);--spectrum-detail-cjk-light-emphasized-font-style:var(\n--spectrum-default-font-style\n);--spectrum-detail-sans-serif-strong-emphasized-font-weight:var(\n--spectrum-bold-font-weight\n);--spectrum-detail-sans-serif-strong-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-detail-serif-strong-emphasized-font-weight:var(\n--spectrum-bold-font-weight\n);--spectrum-detail-serif-strong-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-detail-cjk-strong-emphasized-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-detail-cjk-strong-emphasized-font-style:var(\n--spectrum-default-font-style\n);--spectrum-detail-sans-serif-light-strong-emphasized-font-weight:var(\n--spectrum-regular-font-weight\n);--spectrum-detail-sans-serif-light-strong-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-detail-serif-light-strong-emphasized-font-weight:var(\n--spectrum-regular-font-weight\n);--spectrum-detail-serif-light-strong-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-detail-cjk-light-strong-emphasized-font-weight:var(\n--spectrum-extra-bold-font-weight\n);--spectrum-detail-cjk-light-strong-emphasized-font-style:var(\n--spectrum-default-font-style\n);--spectrum-detail-size-xl:var(--spectrum-font-size-200);--spectrum-detail-size-l:var(--spectrum-font-size-100);--spectrum-detail-size-m:var(--spectrum-font-size-75);--spectrum-detail-size-s:var(--spectrum-font-size-50);--spectrum-detail-line-height:var(--spectrum-line-height-100);--spectrum-detail-cjk-line-height:var(--spectrum-cjk-line-height-100);--spectrum-detail-margin-top-multiplier:0.88888889;--spectrum-detail-margin-bottom-multiplier:0.25;--spectrum-detail-letter-spacing:0.06em;--spectrum-detail-sans-serif-text-transform:uppercase;--spectrum-detail-serif-text-transform:uppercase;--spectrum-detail-color:var(--spectrum-gray-900);--spectrum-code-font-family:Source Code Pro;--spectrum-code-cjk-font-family:var(--spectrum-code-font-family);--spectrum-code-font-weight:var(--spectrum-regular-font-weight);--spectrum-code-font-style:var(--spectrum-default-font-style);--spectrum-code-cjk-font-weight:var(--spectrum-regular-font-weight);--spectrum-code-cjk-font-style:var(--spectrum-default-font-style);--spectrum-code-strong-font-weight:var(--spectrum-bold-font-weight);--spectrum-code-strong-font-style:var(--spectrum-default-font-style);--spectrum-code-cjk-strong-font-weight:var(--spectrum-black-font-weight);--spectrum-code-cjk-strong-font-style:var(--spectrum-default-font-style);--spectrum-code-emphasized-font-weight:var(--spectrum-regular-font-weight);--spectrum-code-emphasized-font-style:var(--spectrum-italic-font-style);--spectrum-code-cjk-emphasized-font-weight:var(\n--spectrum-bold-font-weight\n);--spectrum-code-cjk-emphasized-font-style:var(\n--spectrum-default-font-style\n);--spectrum-code-strong-emphasized-font-weight:var(\n--spectrum-bold-font-weight\n);--spectrum-code-strong-emphasized-font-style:var(\n--spectrum-italic-font-style\n);--spectrum-code-cjk-strong-emphasized-font-weight:var(\n--spectrum-black-font-weight\n);--spectrum-code-cjk-strong-emphasized-font-style:var(\n--spectrum-default-font-style\n);--spectrum-code-size-xl:var(--spectrum-font-size-400);--spectrum-code-size-l:var(--spectrum-font-size-300);--spectrum-code-size-m:var(--spectrum-font-size-200);--spectrum-code-size-s:var(--spectrum-font-size-100);--spectrum-code-size-xs:var(--spectrum-font-size-75);--spectrum-code-line-height:var(--spectrum-line-height-200);--spectrum-code-cjk-line-height:var(--spectrum-cjk-line-height-200);--spectrum-code-color:var(--spectrum-gray-800)}:host,:root{--spectrum-neutral-background-color-selected-default:var(\n--spectrum-gray-700\n);--spectrum-neutral-background-color-selected-hover:var(\n--spectrum-gray-800\n);--spectrum-neutral-background-color-selected-down:var(--spectrum-gray-900);--spectrum-neutral-background-color-selected-key-focus:var(\n--spectrum-gray-800\n);--spectrum-color-handle-outer-border-color:var(--spectrum-black);--spectrum-slider-track-thickness:2px;--spectrum-slider-handle-gap:4px;--spectrum-picker-border-width:var(--spectrum-border-width-100);--spectrum-border-width-100:1px;--spectrum-accent-color-100:var(--spectrum-blue-100);--spectrum-accent-color-200:var(--spectrum-blue-200);--spectrum-accent-color-300:var(--spectrum-blue-300);--spectrum-accent-color-400:var(--spectrum-blue-400);--spectrum-accent-color-500:var(--spectrum-blue-500);--spectrum-accent-color-600:var(--spectrum-blue-600);--spectrum-accent-color-700:var(--spectrum-blue-700);--spectrum-accent-color-800:var(--spectrum-blue-800);--spectrum-accent-color-900:var(--spectrum-blue-900);--spectrum-accent-color-1000:var(--spectrum-blue-1000);--spectrum-accent-color-1100:var(--spectrum-blue-1100);--spectrum-accent-color-1200:var(--spectrum-blue-1200);--spectrum-accent-color-1300:var(--spectrum-blue-1300);--spectrum-accent-color-1400:var(--spectrum-blue-1400);--spectrum-heading-sans-serif-font-weight:var(--spectrum-bold-font-weight);--spectrum-heading-serif-font-weight:var(--spectrum-bold-font-weight);--spectrum-heading-cjk-font-weight:var(--spectrum-extra-bold-font-weight);--spectrum-heading-sans-serif-emphasized-font-weight:var(\n--spectrum-bold-font-weight\n);--spectrum-heading-serif-emphasized-font-weight:var(\n--spectrum-bold-font-weight\n)}:host,:root{--system-spectrum-actionbutton-background-color-default:var(\n--spectrum-gray-75\n);--system-spectrum-actionbutton-background-color-hover:var(\n--spectrum-gray-200\n);--system-spectrum-actionbutton-background-color-down:var(\n--spectrum-gray-300\n);--system-spectrum-actionbutton-background-color-focus:var(\n--spectrum-gray-200\n);--system-spectrum-actionbutton-border-color-default:var(\n--spectrum-gray-400\n);--system-spectrum-actionbutton-border-color-hover:var(--spectrum-gray-500);--system-spectrum-actionbutton-border-color-down:var(--spectrum-gray-600);--system-spectrum-actionbutton-border-color-focus:var(--spectrum-gray-500);--system-spectrum-actionbutton-content-color-default:var(\n--spectrum-neutral-content-color-default\n);--system-spectrum-actionbutton-content-color-hover:var(\n--spectrum-neutral-content-color-hover\n);--system-spectrum-actionbutton-content-color-down:var(\n--spectrum-neutral-content-color-down\n);--system-spectrum-actionbutton-content-color-focus:var(\n--spectrum-neutral-content-color-key-focus\n);--system-spectrum-actionbutton-background-color-disabled:transparent;--system-spectrum-actionbutton-border-color-disabled:var(\n--spectrum-disabled-border-color\n);--system-spectrum-actionbutton-content-color-disabled:var(\n--spectrum-disabled-content-color\n);--system-spectrum-actionbutton-quiet-background-color-default:transparent;--system-spectrum-actionbutton-quiet-background-color-hover:var(\n--spectrum-gray-200\n);--system-spectrum-actionbutton-quiet-background-color-down:var(\n--spectrum-gray-300\n);--system-spectrum-actionbutton-quiet-background-color-focus:var(\n--spectrum-gray-200\n);--system-spectrum-actionbutton-quiet-border-color-default:transparent;--system-spectrum-actionbutton-quiet-border-color-hover:transparent;--system-spectrum-actionbutton-quiet-border-color-down:transparent;--system-spectrum-actionbutton-quiet-border-color-focus:transparent;--system-spectrum-actionbutton-quiet-background-color-disabled:transparent;--system-spectrum-actionbutton-quiet-border-color-disabled:transparent;--system-spectrum-actionbutton-selected-background-color-default:var(\n--spectrum-neutral-subdued-background-color-default\n);--system-spectrum-actionbutton-selected-background-color-hover:var(\n--spectrum-neutral-subdued-background-color-hover\n);--system-spectrum-actionbutton-selected-background-color-down:var(\n--spectrum-neutral-subdued-background-color-down\n);--system-spectrum-actionbutton-selected-background-color-focus:var(\n--spectrum-neutral-subdued-background-color-key-focus\n);--system-spectrum-actionbutton-selected-border-color-default:transparent;--system-spectrum-actionbutton-selected-border-color-hover:transparent;--system-spectrum-actionbutton-selected-border-color-down:transparent;--system-spectrum-actionbutton-selected-border-color-focus:transparent;--system-spectrum-actionbutton-selected-content-color-default:var(\n--spectrum-white\n);--system-spectrum-actionbutton-selected-content-color-hover:var(\n--spectrum-white\n);--system-spectrum-actionbutton-selected-content-color-down:var(\n--spectrum-white\n);--system-spectrum-actionbutton-selected-content-color-focus:var(\n--spectrum-white\n);--system-spectrum-actionbutton-selected-background-color-disabled:var(\n--spectrum-disabled-background-color\n);--system-spectrum-actionbutton-selected-border-color-disabled:transparent;--system-spectrum-actionbutton-selected-emphasized-background-color-default:var(\n--spectrum-accent-background-color-default\n);--system-spectrum-actionbutton-selected-emphasized-background-color-hover:var(\n--spectrum-accent-background-color-hover\n);--system-spectrum-actionbutton-selected-emphasized-background-color-down:var(\n--spectrum-accent-background-color-down\n);--system-spectrum-actionbutton-selected-emphasized-background-color-focus:var(\n--spectrum-accent-background-color-key-focus\n);--system-spectrum-actionbutton-staticblack-quiet-border-color-default:transparent;--system-spectrum-actionbutton-staticwhite-quiet-border-color-default:transparent;--system-spectrum-actionbutton-staticblack-quiet-border-color-hover:transparent;--system-spectrum-actionbutton-staticwhite-quiet-border-color-hover:transparent;--system-spectrum-actionbutton-staticblack-quiet-border-color-down:transparent;--system-spectrum-actionbutton-staticwhite-quiet-border-color-down:transparent;--system-spectrum-actionbutton-staticblack-quiet-border-color-focus:transparent;--system-spectrum-actionbutton-staticwhite-quiet-border-color-focus:transparent;--system-spectrum-actionbutton-staticblack-quiet-border-color-disabled:transparent;--system-spectrum-actionbutton-staticwhite-quiet-border-color-disabled:transparent;--system-spectrum-actionbutton-staticblack-background-color-default:transparent;--system-spectrum-actionbutton-staticblack-background-color-hover:var(\n--spectrum-transparent-black-300\n);--system-spectrum-actionbutton-staticblack-background-color-down:var(\n--spectrum-transparent-black-400\n);--system-spectrum-actionbutton-staticblack-background-color-focus:var(\n--spectrum-transparent-black-300\n);--system-spectrum-actionbutton-staticblack-border-color-default:var(\n--spectrum-transparent-black-400\n);--system-spectrum-actionbutton-staticblack-border-color-hover:var(\n--spectrum-transparent-black-500\n);--system-spectrum-actionbutton-staticblack-border-color-down:var(\n--spectrum-transparent-black-600\n);--system-spectrum-actionbutton-staticblack-border-color-focus:var(\n--spectrum-transparent-black-500\n);--system-spectrum-actionbutton-staticblack-content-color-default:var(\n--spectrum-black\n);--system-spectrum-actionbutton-staticblack-content-color-hover:var(\n--spectrum-black\n);--system-spectrum-actionbutton-staticblack-content-color-down:var(\n--spectrum-black\n);--system-spectrum-actionbutton-staticblack-content-color-focus:var(\n--spectrum-black\n);--system-spectrum-actionbutton-staticblack-focus-indicator-color:var(\n--spectrum-static-black-focus-indicator-color\n);--system-spectrum-actionbutton-staticblack-background-color-disabled:transparent;--system-spectrum-actionbutton-staticblack-border-color-disabled:var(\n--spectrum-disabled-static-black-border-color\n);--system-spectrum-actionbutton-staticblack-content-color-disabled:var(\n--spectrum-disabled-static-black-content-color\n);--system-spectrum-actionbutton-staticblack-selected-background-color-default:var(\n--spectrum-transparent-black-800\n);--system-spectrum-actionbutton-staticblack-selected-background-color-hover:var(\n--spectrum-transparent-black-900\n);--system-spectrum-actionbutton-staticblack-selected-background-color-down:var(\n--spectrum-transparent-black-900\n);--system-spectrum-actionbutton-staticblack-selected-background-color-focus:var(\n--spectrum-transparent-black-900\n);--system-spectrum-actionbutton-staticblack-selected-border-color-disabled:transparent;--system-spectrum-actionbutton-staticblack-selected-content-color-default:var(\n--spectrum-white\n);--system-spectrum-actionbutton-staticblack-selected-content-color-hover:var(\n--spectrum-white\n);--system-spectrum-actionbutton-staticblack-selected-content-color-down:var(\n--spectrum-white\n);--system-spectrum-actionbutton-staticblack-selected-content-color-focus:var(\n--spectrum-white\n);--system-spectrum-actionbutton-staticblack-selected-background-color-disabled:var(\n--spectrum-disabled-static-black-background-color\n);--system-spectrum-actionbutton-staticwhite-background-color-default:transparent;--system-spectrum-actionbutton-staticwhite-background-color-hover:var(\n--spectrum-transparent-white-300\n);--system-spectrum-actionbutton-staticwhite-background-color-down:var(\n--spectrum-transparent-white-400\n);--system-spectrum-actionbutton-staticwhite-background-color-focus:var(\n--spectrum-transparent-white-300\n);--system-spectrum-actionbutton-staticwhite-border-color-default:var(\n--spectrum-transparent-white-400\n);--system-spectrum-actionbutton-staticwhite-border-color-hover:var(\n--spectrum-transparent-white-500\n);--system-spectrum-actionbutton-staticwhite-border-color-down:var(\n--spectrum-transparent-white-600\n);--system-spectrum-actionbutton-staticwhite-border-color-focus:var(\n--spectrum-transparent-white-500\n);--system-spectrum-actionbutton-staticwhite-content-color-default:var(\n--spectrum-white\n);--system-spectrum-actionbutton-staticwhite-content-color-hover:var(\n--spectrum-white\n);--system-spectrum-actionbutton-staticwhite-content-color-down:var(\n--spectrum-white\n);--system-spectrum-actionbutton-staticwhite-content-color-focus:var(\n--spectrum-white\n);--system-spectrum-actionbutton-staticwhite-focus-indicator-color:var(\n--spectrum-static-white-focus-indicator-color\n);--system-spectrum-actionbutton-staticwhite-background-color-disabled:transparent;--system-spectrum-actionbutton-staticwhite-border-color-disabled:var(\n--spectrum-disabled-static-white-border-color\n);--system-spectrum-actionbutton-staticwhite-content-color-disabled:var(\n--spectrum-disabled-static-white-content-color\n);--system-spectrum-actionbutton-staticwhite-selected-background-color-default:var(\n--spectrum-transparent-white-800\n);--system-spectrum-actionbutton-staticwhite-selected-background-color-hover:var(\n--spectrum-transparent-white-900\n);--system-spectrum-actionbutton-staticwhite-selected-background-color-down:var(\n--spectrum-transparent-white-900\n);--system-spectrum-actionbutton-staticwhite-selected-background-color-focus:var(\n--spectrum-transparent-white-900\n);--system-spectrum-actionbutton-staticwhite-selected-content-color-default:var(\n--spectrum-black\n);--system-spectrum-actionbutton-staticwhite-selected-content-color-hover:var(\n--spectrum-black\n);--system-spectrum-actionbutton-staticwhite-selected-content-color-down:var(\n--spectrum-black\n);--system-spectrum-actionbutton-staticwhite-selected-content-color-focus:var(\n--spectrum-black\n);--system-spectrum-actionbutton-staticwhite-selected-background-color-disabled:var(\n--spectrum-disabled-static-white-background-color\n);--system-spectrum-actionbutton-staticwhite-selected-border-color-disabled:transparent}:host,:root{--system-spectrum-checkbox-control-color-default:var(--spectrum-gray-600);--system-spectrum-checkbox-control-color-hover:var(--spectrum-gray-700);--system-spectrum-checkbox-control-color-down:var(--spectrum-gray-800);--system-spectrum-checkbox-control-color-focus:var(--spectrum-gray-700);--system-spectrum-checkbox-control-selected-color-default:var(\n--spectrum-gray-700\n);--system-spectrum-checkbox-control-selected-color-hover:var(\n--spectrum-gray-800\n);--system-spectrum-checkbox-control-selected-color-down:var(\n--spectrum-gray-900\n)}:host,:root{--system-spectrum-button-background-color-default:var(--spectrum-gray-75);--system-spectrum-button-background-color-hover:var(--spectrum-gray-200);--system-spectrum-button-background-color-down:var(--spectrum-gray-300);--system-spectrum-button-background-color-focus:var(--spectrum-gray-200);--system-spectrum-button-border-color-default:var(--spectrum-gray-400);--system-spectrum-button-border-color-hover:var(--spectrum-gray-500);--system-spectrum-button-border-color-down:var(--spectrum-gray-600);--system-spectrum-button-border-color-focus:var(--spectrum-gray-500);--system-spectrum-button-content-color-default:var(\n--spectrum-neutral-content-color-default\n);--system-spectrum-button-content-color-hover:var(\n--spectrum-neutral-content-color-hover\n);--system-spectrum-button-content-color-down:var(\n--spectrum-neutral-content-color-down\n);--system-spectrum-button-content-color-focus:var(\n--spectrum-neutral-content-color-key-focus\n);--system-spectrum-button-background-color-disabled:transparent;--system-spectrum-button-border-color-disabled:var(\n--spectrum-disabled-border-color\n);--system-spectrum-button-content-color-disabled:var(\n--spectrum-disabled-content-color\n);--system-spectrum-button-accent-background-color-default:var(\n--spectrum-accent-background-color-default\n);--system-spectrum-button-accent-background-color-hover:var(\n--spectrum-accent-background-color-hover\n);--system-spectrum-button-accent-background-color-down:var(\n--spectrum-accent-background-color-down\n);--system-spectrum-button-accent-background-color-focus:var(\n--spectrum-accent-background-color-key-focus\n);--system-spectrum-button-accent-border-color-default:transparent;--system-spectrum-button-accent-border-color-hover:transparent;--system-spectrum-button-accent-border-color-down:transparent;--system-spectrum-button-accent-border-color-focus:transparent;--system-spectrum-button-accent-content-color-default:var(\n--spectrum-white\n);--system-spectrum-button-accent-content-color-hover:var(--spectrum-white);--system-spectrum-button-accent-content-color-down:var(--spectrum-white);--system-spectrum-button-accent-content-color-focus:var(--spectrum-white);--system-spectrum-button-accent-background-color-disabled:var(\n--spectrum-disabled-background-color\n);--system-spectrum-button-accent-border-color-disabled:transparent;--system-spectrum-button-accent-content-color-disabled:var(\n--spectrum-disabled-content-color\n);--system-spectrum-button-accent-outline-background-color-default:transparent;--system-spectrum-button-accent-outline-background-color-hover:var(\n--spectrum-accent-color-200\n);--system-spectrum-button-accent-outline-background-color-down:var(\n--spectrum-accent-color-300\n);--system-spectrum-button-accent-outline-background-color-focus:var(\n--spectrum-accent-color-200\n);--system-spectrum-button-accent-outline-border-color-default:var(\n--spectrum-accent-color-900\n);--system-spectrum-button-accent-outline-border-color-hover:var(\n--spectrum-accent-color-1000\n);--system-spectrum-button-accent-outline-border-color-down:var(\n--spectrum-accent-color-1100\n);--system-spectrum-button-accent-outline-border-color-focus:var(\n--spectrum-accent-color-1000\n);--system-spectrum-button-accent-outline-content-color-default:var(\n--spectrum-accent-content-color-default\n);--system-spectrum-button-accent-outline-content-color-hover:var(\n--spectrum-accent-content-color-hover\n);--system-spectrum-button-accent-outline-content-color-down:var(\n--spectrum-accent-content-color-down\n);--system-spectrum-button-accent-outline-content-color-focus:var(\n--spectrum-accent-content-color-key-focus\n);--system-spectrum-button-accent-outline-background-color-disabled:transparent;--system-spectrum-button-accent-outline-border-color-disabled:var(\n--spectrum-disabled-border-color\n);--system-spectrum-button-accent-outline-content-color-disabled:var(\n--spectrum-disabled-content-color\n);--system-spectrum-button-negative-background-color-default:var(\n--spectrum-negative-background-color-default\n);--system-spectrum-button-negative-background-color-hover:var(\n--spectrum-negative-background-color-hover\n);--system-spectrum-button-negative-background-color-down:var(\n--spectrum-negative-background-color-down\n);--system-spectrum-button-negative-background-color-focus:var(\n--spectrum-negative-background-color-key-focus\n);--system-spectrum-button-negative-border-color-default:transparent;--system-spectrum-button-negative-border-color-hover:transparent;--system-spectrum-button-negative-border-color-down:transparent;--system-spectrum-button-negative-border-color-focus:transparent;--system-spectrum-button-negative-content-color-default:var(\n--spectrum-white\n);--system-spectrum-button-negative-content-color-hover:var(\n--spectrum-white\n);--system-spectrum-button-negative-content-color-down:var(--spectrum-white);--system-spectrum-button-negative-content-color-focus:var(\n--spectrum-white\n);--system-spectrum-button-negative-background-color-disabled:var(\n--spectrum-disabled-background-color\n);--system-spectrum-button-negative-border-color-disabled:transparent;--system-spectrum-button-negative-content-color-disabled:var(\n--spectrum-disabled-content-color\n);--system-spectrum-button-negative-outline-background-color-default:transparent;--system-spectrum-button-negative-outline-background-color-hover:var(\n--spectrum-negative-color-200\n);--system-spectrum-button-negative-outline-background-color-down:var(\n--spectrum-negative-color-300\n);--system-spectrum-button-negative-outline-background-color-focus:var(\n--spectrum-negative-color-200\n);--system-spectrum-button-negative-outline-border-color-default:var(\n--spectrum-negative-color-900\n);--system-spectrum-button-negative-outline-border-color-hover:var(\n--spectrum-negative-color-1000\n);--system-spectrum-button-negative-outline-border-color-down:var(\n--spectrum-negative-color-1100\n);--system-spectrum-button-negative-outline-border-color-focus:var(\n--spectrum-negative-color-1000\n);--system-spectrum-button-negative-outline-content-color-default:var(\n--spectrum-negative-content-color-default\n);--system-spectrum-button-negative-outline-content-color-hover:var(\n--spectrum-negative-content-color-hover\n);--system-spectrum-button-negative-outline-content-color-down:var(\n--spectrum-negative-content-color-down\n);--system-spectrum-button-negative-outline-content-color-focus:var(\n--spectrum-negative-content-color-key-focus\n);--system-spectrum-button-negative-outline-background-color-disabled:transparent;--system-spectrum-button-negative-outline-border-color-disabled:var(\n--spectrum-disabled-border-color\n);--system-spectrum-button-negative-outline-content-color-disabled:var(\n--spectrum-disabled-content-color\n);--system-spectrum-button-primary-background-color-default:var(\n--spectrum-neutral-background-color-default\n);--system-spectrum-button-primary-background-color-hover:var(\n--spectrum-neutral-background-color-hover\n);--system-spectrum-button-primary-background-color-down:var(\n--spectrum-neutral-background-color-down\n);--system-spectrum-button-primary-background-color-focus:var(\n--spectrum-neutral-background-color-key-focus\n);--system-spectrum-button-primary-border-color-default:transparent;--system-spectrum-button-primary-border-color-hover:transparent;--system-spectrum-button-primary-border-color-down:transparent;--system-spectrum-button-primary-border-color-focus:transparent;--system-spectrum-button-primary-content-color-default:var(\n--spectrum-white\n);--system-spectrum-button-primary-content-color-hover:var(--spectrum-white);--system-spectrum-button-primary-content-color-down:var(--spectrum-white);--system-spectrum-button-primary-content-color-focus:var(--spectrum-white);--system-spectrum-button-primary-background-color-disabled:var(\n--spectrum-disabled-background-color\n);--system-spectrum-button-primary-border-color-disabled:transparent;--system-spectrum-button-primary-content-color-disabled:var(\n--spectrum-disabled-content-color\n);--system-spectrum-button-primary-outline-background-color-default:transparent;--system-spectrum-button-primary-outline-background-color-hover:var(\n--spectrum-gray-300\n);--system-spectrum-button-primary-outline-background-color-down:var(\n--spectrum-gray-400\n);--system-spectrum-button-primary-outline-background-color-focus:var(\n--spectrum-gray-300\n);--system-spectrum-button-primary-outline-border-color-default:var(\n--spectrum-gray-800\n);--system-spectrum-button-primary-outline-border-color-hover:var(\n--spectrum-gray-900\n);--system-spectrum-button-primary-outline-border-color-down:var(\n--spectrum-gray-900\n);--system-spectrum-button-primary-outline-border-color-focus:var(\n--spectrum-gray-900\n);--system-spectrum-button-primary-outline-content-color-default:var(\n--spectrum-neutral-content-color-default\n);--system-spectrum-button-primary-outline-content-color-hover:var(\n--spectrum-neutral-content-color-hover\n);--system-spectrum-button-primary-outline-content-color-down:var(\n--spectrum-neutral-content-color-down\n);--system-spectrum-button-primary-outline-content-color-focus:var(\n--spectrum-neutral-content-color-key-focus\n);--system-spectrum-button-primary-outline-background-color-disabled:transparent;--system-spectrum-button-primary-outline-border-color-disabled:var(\n--spectrum-disabled-border-color\n);--system-spectrum-button-primary-outline-content-color-disabled:var(\n--spectrum-disabled-content-color\n);--system-spectrum-button-secondary-background-color-default:var(\n--spectrum-gray-200\n);--system-spectrum-button-secondary-background-color-hover:var(\n--spectrum-gray-300\n);--system-spectrum-button-secondary-background-color-down:var(\n--spectrum-gray-400\n);--system-spectrum-button-secondary-background-color-focus:var(\n--spectrum-gray-300\n);--system-spectrum-button-secondary-border-color-default:transparent;--system-spectrum-button-secondary-border-color-hover:transparent;--system-spectrum-button-secondary-border-color-down:transparent;--system-spectrum-button-secondary-border-color-focus:transparent;--system-spectrum-button-secondary-content-color-default:var(\n--spectrum-neutral-content-color-default\n);--system-spectrum-button-secondary-content-color-hover:var(\n--spectrum-neutral-content-color-hover\n);--system-spectrum-button-secondary-content-color-down:var(\n--spectrum-neutral-content-color-down\n);--system-spectrum-button-secondary-content-color-focus:var(\n--spectrum-neutral-content-color-key-focus\n);--system-spectrum-button-secondary-background-color-disabled:var(\n--spectrum-disabled-background-color\n);--system-spectrum-button-secondary-border-color-disabled:transparent;--system-spectrum-button-secondary-content-color-disabled:var(\n--spectrum-disabled-content-color\n);--system-spectrum-button-secondary-outline-background-color-default:transparent;--system-spectrum-button-secondary-outline-background-color-hover:var(\n--spectrum-gray-300\n);--system-spectrum-button-secondary-outline-background-color-down:var(\n--spectrum-gray-400\n);--system-spectrum-button-secondary-outline-background-color-focus:var(\n--spectrum-gray-300\n);--system-spectrum-button-secondary-outline-border-color-default:var(\n--spectrum-gray-300\n);--system-spectrum-button-secondary-outline-border-color-hover:var(\n--spectrum-gray-400\n);--system-spectrum-button-secondary-outline-border-color-down:var(\n--spectrum-gray-500\n);--system-spectrum-button-secondary-outline-border-color-focus:var(\n--spectrum-gray-400\n);--system-spectrum-button-secondary-outline-content-color-default:var(\n--spectrum-neutral-content-color-default\n);--system-spectrum-button-secondary-outline-content-color-hover:var(\n--spectrum-neutral-content-color-hover\n);--system-spectrum-button-secondary-outline-content-color-down:var(\n--spectrum-neutral-content-color-down\n);--system-spectrum-button-secondary-outline-content-color-focus:var(\n--spectrum-neutral-content-color-key-focus\n);--system-spectrum-button-secondary-outline-background-color-disabled:transparent;--system-spectrum-button-secondary-outline-border-color-disabled:var(\n--spectrum-disabled-border-color\n);--system-spectrum-button-secondary-outline-content-color-disabled:var(\n--spectrum-disabled-content-color\n);--system-spectrum-button-quiet-background-color-default:transparent;--system-spectrum-button-quiet-background-color-hover:var(\n--spectrum-gray-200\n);--system-spectrum-button-quiet-background-color-down:var(\n--spectrum-gray-300\n);--system-spectrum-button-quiet-background-color-focus:var(\n--spectrum-gray-200\n);--system-spectrum-button-quiet-border-color-default:transparent;--system-spectrum-button-quiet-border-color-hover:transparent;--system-spectrum-button-quiet-border-color-down:transparent;--system-spectrum-button-quiet-border-color-focus:transparent;--system-spectrum-button-quiet-background-color-disabled:transparent;--system-spectrum-button-quiet-border-color-disabled:transparent;--system-spectrum-button-selected-background-color-default:var(\n--spectrum-neutral-subdued-background-color-default\n);--system-spectrum-button-selected-background-color-hover:var(\n--spectrum-neutral-subdued-background-color-hover\n);--system-spectrum-button-selected-background-color-down:var(\n--spectrum-neutral-subdued-background-color-down\n);--system-spectrum-button-selected-background-color-focus:var(\n--spectrum-neutral-subdued-background-color-key-focus\n);--system-spectrum-button-selected-border-color-default:transparent;--system-spectrum-button-selected-border-color-hover:transparent;--system-spectrum-button-selected-border-color-down:transparent;--system-spectrum-button-selected-border-color-focus:transparent;--system-spectrum-button-selected-content-color-default:var(\n--spectrum-white\n);--system-spectrum-button-selected-content-color-hover:var(\n--spectrum-white\n);--system-spectrum-button-selected-content-color-down:var(--spectrum-white);--system-spectrum-button-selected-content-color-focus:var(\n--spectrum-white\n);--system-spectrum-button-selected-background-color-disabled:var(\n--spectrum-disabled-background-color\n);--system-spectrum-button-selected-border-color-disabled:transparent;--system-spectrum-button-selected-emphasized-background-color-default:var(\n--spectrum-accent-background-color-default\n);--system-spectrum-button-selected-emphasized-background-color-hover:var(\n--spectrum-accent-background-color-hover\n);--system-spectrum-button-selected-emphasized-background-color-down:var(\n--spectrum-accent-background-color-down\n);--system-spectrum-button-selected-emphasized-background-color-focus:var(\n--spectrum-accent-background-color-key-focus\n);--system-spectrum-button-staticblack-quiet-border-color-default:transparent;--system-spectrum-button-staticwhite-quiet-border-color-default:transparent;--system-spectrum-button-staticblack-quiet-border-color-hover:transparent;--system-spectrum-button-staticwhite-quiet-border-color-hover:transparent;--system-spectrum-button-staticblack-quiet-border-color-down:transparent;--system-spectrum-button-staticwhite-quiet-border-color-down:transparent;--system-spectrum-button-staticblack-quiet-border-color-focus:transparent;--system-spectrum-button-staticwhite-quiet-border-color-focus:transparent;--system-spectrum-button-staticblack-quiet-border-color-disabled:transparent;--system-spectrum-button-staticwhite-quiet-border-color-disabled:transparent;--system-spectrum-button-staticwhite-background-color-default:var(\n--spectrum-transparent-white-800\n);--system-spectrum-button-staticwhite-background-color-hover:var(\n--spectrum-transparent-white-900\n);--system-spectrum-button-staticwhite-background-color-down:var(\n--spectrum-transparent-white-900\n);--system-spectrum-button-staticwhite-background-color-focus:var(\n--spectrum-transparent-white-900\n);--system-spectrum-button-staticwhite-border-color-default:transparent;--system-spectrum-button-staticwhite-border-color-hover:transparent;--system-spectrum-button-staticwhite-border-color-down:transparent;--system-spectrum-button-staticwhite-border-color-focus:transparent;--system-spectrum-button-staticwhite-content-color-default:var(\n--spectrum-black\n);--system-spectrum-button-staticwhite-content-color-hover:var(\n--spectrum-black\n);--system-spectrum-button-staticwhite-content-color-down:var(\n--spectrum-black\n);--system-spectrum-button-staticwhite-content-color-focus:var(\n--spectrum-black\n);--system-spectrum-button-staticwhite-focus-indicator-color:var(\n--spectrum-static-white-focus-indicator-color\n);--system-spectrum-button-staticwhite-background-color-disabled:var(\n--spectrum-disabled-static-white-background-color\n);--system-spectrum-button-staticwhite-border-color-disabled:transparent;--system-spectrum-button-staticwhite-content-color-disabled:var(\n--spectrum-disabled-static-white-content-color\n);--system-spectrum-button-staticwhite-outline-background-color-default:transparent;--system-spectrum-button-staticwhite-outline-background-color-hover:var(\n--spectrum-transparent-white-300\n);--system-spectrum-button-staticwhite-outline-background-color-down:var(\n--spectrum-transparent-white-400\n);--system-spectrum-button-staticwhite-outline-background-color-focus:var(\n--spectrum-transparent-white-300\n);--system-spectrum-button-staticwhite-outline-border-color-default:var(\n--spectrum-transparent-white-800\n);--system-spectrum-button-staticwhite-outline-border-color-hover:var(\n--spectrum-transparent-white-900\n);--system-spectrum-button-staticwhite-outline-border-color-down:var(\n--spectrum-transparent-white-900\n);--system-spectrum-button-staticwhite-outline-border-color-focus:var(\n--spectrum-transparent-white-900\n);--system-spectrum-button-staticwhite-outline-content-color-default:var(\n--spectrum-white\n);--system-spectrum-button-staticwhite-outline-content-color-hover:var(\n--spectrum-white\n);--system-spectrum-button-staticwhite-outline-content-color-down:var(\n--spectrum-white\n);--system-spectrum-button-staticwhite-outline-content-color-focus:var(\n--spectrum-white\n);--system-spectrum-button-staticwhite-outline-focus-indicator-color:var(\n--spectrum-static-white-focus-indicator-color\n);--system-spectrum-button-staticwhite-outline-background-color-disabled:transparent;--system-spectrum-button-staticwhite-outline-border-color-disabled:var(\n--spectrum-disabled-static-white-border-color\n);--system-spectrum-button-staticwhite-outline-content-color-disabled:var(\n--spectrum-disabled-static-white-content-color\n);--system-spectrum-button-staticwhite-selected-background-color-default:var(\n--spectrum-transparent-white-800\n);--system-spectrum-button-staticwhite-selected-background-color-hover:var(\n--spectrum-transparent-white-900\n);--system-spectrum-button-staticwhite-selected-background-color-down:var(\n--spectrum-transparent-white-900\n);--system-spectrum-button-staticwhite-selected-background-color-focus:var(\n--spectrum-transparent-white-900\n);--system-spectrum-button-staticwhite-selected-content-color-default:var(\n--spectrum-black\n);--system-spectrum-button-staticwhite-selected-content-color-hover:var(\n--spectrum-black\n);--system-spectrum-button-staticwhite-selected-content-color-down:var(\n--spectrum-black\n);--system-spectrum-button-staticwhite-selected-content-color-focus:var(\n--spectrum-black\n);--system-spectrum-button-staticwhite-selected-background-color-disabled:var(\n--spectrum-disabled-static-white-background-color\n);--system-spectrum-button-staticwhite-selected-border-color-disabled:transparent;--system-spectrum-button-staticwhite-secondary-background-color-default:var(\n--spectrum-transparent-white-200\n);--system-spectrum-button-staticwhite-secondary-background-color-hover:var(\n--spectrum-transparent-white-300\n);--system-spectrum-button-staticwhite-secondary-background-color-down:var(\n--spectrum-transparent-white-400\n);--system-spectrum-button-staticwhite-secondary-background-color-focus:var(\n--spectrum-transparent-white-300\n);--system-spectrum-button-staticwhite-secondary-border-color-default:transparent;--system-spectrum-button-staticwhite-secondary-border-color-hover:transparent;--system-spectrum-button-staticwhite-secondary-border-color-down:transparent;--system-spectrum-button-staticwhite-secondary-border-color-focus:transparent;--system-spectrum-button-staticwhite-secondary-content-color-default:var(\n--spectrum-white\n);--system-spectrum-button-staticwhite-secondary-content-color-hover:var(\n--spectrum-white\n);--system-spectrum-button-staticwhite-secondary-content-color-down:var(\n--spectrum-white\n);--system-spectrum-button-staticwhite-secondary-content-color-focus:var(\n--spectrum-white\n);--system-spectrum-button-staticwhite-secondary-focus-indicator-color:var(\n--spectrum-static-white-focus-indicator-color\n);--system-spectrum-button-staticwhite-secondary-background-color-disabled:var(\n--spectrum-disabled-static-white-background-color\n);--system-spectrum-button-staticwhite-secondary-border-color-disabled:transparent;--system-spectrum-button-staticwhite-secondary-content-color-disabled:var(\n--spectrum-disabled-static-white-content-color\n);--system-spectrum-button-staticwhite-secondary-outline-background-color-default:transparent;--system-spectrum-button-staticwhite-secondary-outline-background-color-hover:var(\n--spectrum-transparent-white-300\n);--system-spectrum-button-staticwhite-secondary-outline-background-color-down:var(\n--spectrum-transparent-white-400\n);--system-spectrum-button-staticwhite-secondary-outline-background-color-focus:var(\n--spectrum-transparent-white-300\n);--system-spectrum-button-staticwhite-secondary-outline-border-color-default:var(\n--spectrum-transparent-white-300\n);--system-spectrum-button-staticwhite-secondary-outline-border-color-hover:var(\n--spectrum-transparent-white-400\n);--system-spectrum-button-staticwhite-secondary-outline-border-color-down:var(\n--spectrum-transparent-white-500\n);--system-spectrum-button-staticwhite-secondary-outline-border-color-focus:var(\n--spectrum-transparent-white-400\n);--system-spectrum-button-staticwhite-secondary-outline-content-color-default:var(\n--spectrum-white\n);--system-spectrum-button-staticwhite-secondary-outline-content-color-hover:var(\n--spectrum-white\n);--system-spectrum-button-staticwhite-secondary-outline-content-color-down:var(\n--spectrum-white\n);--system-spectrum-button-staticwhite-secondary-outline-content-color-focus:var(\n--spectrum-white\n);--system-spectrum-button-staticwhite-secondary-outline-focus-indicator-color:var(\n--spectrum-static-white-focus-indicator-color\n);--system-spectrum-button-staticwhite-secondary-outline-background-color-disabled:transparent;--system-spectrum-button-staticwhite-secondary-outline-border-color-disabled:var(\n--spectrum-disabled-static-white-border-color\n);--system-spectrum-button-staticwhite-secondary-outline-content-color-disabled:var(\n--spectrum-disabled-static-white-content-color\n);--system-spectrum-button-staticblack-background-color-default:var(\n--spectrum-transparent-black-800\n);--system-spectrum-button-staticblack-background-color-hover:var(\n--spectrum-transparent-black-900\n);--system-spectrum-button-staticblack-background-color-down:var(\n--spectrum-transparent-black-900\n);--system-spectrum-button-staticblack-background-color-focus:var(\n--spectrum-transparent-black-900\n);--system-spectrum-button-staticblack-border-color-default:transparent;--system-spectrum-button-staticblack-border-color-hover:transparent;--system-spectrum-button-staticblack-border-color-down:transparent;--system-spectrum-button-staticblack-border-color-focus:transparent;--system-spectrum-button-staticblack-content-color-default:var(\n--spectrum-white\n);--system-spectrum-button-staticblack-content-color-hover:var(\n--spectrum-white\n);--system-spectrum-button-staticblack-content-color-down:var(\n--spectrum-white\n);--system-spectrum-button-staticblack-content-color-focus:var(\n--spectrum-white\n);--system-spectrum-button-staticblack-focus-indicator-color:var(\n--spectrum-static-black-focus-indicator-color\n);--system-spectrum-button-staticblack-background-color-disabled:var(\n--spectrum-disabled-static-black-background-color\n);--system-spectrum-button-staticblack-border-color-disabled:transparent;--system-spectrum-button-staticblack-content-color-disabled:var(\n--spectrum-disabled-static-black-content-color\n);--system-spectrum-button-staticblack-outline-background-color-default:transparent;--system-spectrum-button-staticblack-outline-background-color-hover:var(\n--spectrum-transparent-black-300\n);--system-spectrum-button-staticblack-outline-background-color-down:var(\n--spectrum-transparent-black-400\n);--system-spectrum-button-staticblack-outline-background-color-focus:var(\n--spectrum-transparent-black-300\n);--system-spectrum-button-staticblack-outline-border-color-default:var(\n--spectrum-transparent-black-400\n);--system-spectrum-button-staticblack-outline-border-color-hover:var(\n--spectrum-transparent-black-500\n);--system-spectrum-button-staticblack-outline-border-color-down:var(\n--spectrum-transparent-black-600\n);--system-spectrum-button-staticblack-outline-border-color-focus:var(\n--spectrum-transparent-black-500\n);--system-spectrum-button-staticblack-outline-content-color-default:var(\n--spectrum-black\n);--system-spectrum-button-staticblack-outline-content-color-hover:var(\n--spectrum-black\n);--system-spectrum-button-staticblack-outline-content-color-down:var(\n--spectrum-black\n);--system-spectrum-button-staticblack-outline-content-color-focus:var(\n--spectrum-black\n);--system-spectrum-button-staticblack-outline-focus-indicator-color:var(\n--spectrum-static-black-focus-indicator-color\n);--system-spectrum-button-staticblack-outline-background-color-disabled:transparent;--system-spectrum-button-staticblack-outline-border-color-disabled:var(\n--spectrum-disabled-static-black-border-color\n);--system-spectrum-button-staticblack-outline-content-color-disabled:var(\n--spectrum-disabled-static-black-content-color\n);--system-spectrum-button-staticblack-secondary-background-color-default:var(\n--spectrum-transparent-black-200\n);--system-spectrum-button-staticblack-secondary-background-color-hover:var(\n--spectrum-transparent-black-300\n);--system-spectrum-button-staticblack-secondary-background-color-down:var(\n--spectrum-transparent-black-400\n);--system-spectrum-button-staticblack-secondary-background-color-focus:var(\n--spectrum-transparent-black-300\n);--system-spectrum-button-staticblack-secondary-border-color-default:transparent;--system-spectrum-button-staticblack-secondary-border-color-hover:transparent;--system-spectrum-button-staticblack-secondary-border-color-down:transparent;--system-spectrum-button-staticblack-secondary-border-color-focus:transparent;--system-spectrum-button-staticblack-secondary-content-color-default:var(\n--spectrum-black\n);--system-spectrum-button-staticblack-secondary-content-color-hover:var(\n--spectrum-black\n);--system-spectrum-button-staticblack-secondary-content-color-down:var(\n--spectrum-black\n);--system-spectrum-button-staticblack-secondary-content-color-focus:var(\n--spectrum-black\n);--system-spectrum-button-staticblack-secondary-focus-indicator-color:var(\n--spectrum-static-black-focus-indicator-color\n);--system-spectrum-button-staticblack-secondary-background-color-disabled:var(\n--spectrum-disabled-static-black-background-color\n);--system-spectrum-button-staticblack-secondary-border-color-disabled:transparent;--system-spectrum-button-staticblack-secondary-content-color-disabled:var(\n--spectrum-disabled-static-black-content-color\n);--system-spectrum-button-staticblack-secondary-outline-background-color-default:transparent;--system-spectrum-button-staticblack-secondary-outline-background-color-hover:var(\n--spectrum-transparent-black-300\n);--system-spectrum-button-staticblack-secondary-outline-background-color-down:var(\n--spectrum-transparent-black-400\n);--system-spectrum-button-staticblack-secondary-outline-background-color-focus:var(\n--spectrum-transparent-black-300\n);--system-spectrum-button-staticblack-secondary-outline-border-color-default:var(\n--spectrum-transparent-black-300\n);--system-spectrum-button-staticblack-secondary-outline-border-color-hover:var(\n--spectrum-transparent-black-400\n);--system-spectrum-button-staticblack-secondary-outline-border-color-down:var(\n--spectrum-transparent-black-500\n);--system-spectrum-button-staticblack-secondary-outline-border-color-focus:var(\n--spectrum-transparent-black-400\n);--system-spectrum-button-staticblack-secondary-outline-content-color-default:var(\n--spectrum-black\n);--system-spectrum-button-staticblack-secondary-outline-content-color-hover:var(\n--spectrum-black\n);--system-spectrum-button-staticblack-secondary-outline-content-color-down:var(\n--spectrum-black\n);--system-spectrum-button-staticblack-secondary-outline-content-color-focus:var(\n--spectrum-black\n);--system-spectrum-button-staticblack-secondary-outline-focus-indicator-color:var(\n--spectrum-static-black-focus-indicator-color\n);--system-spectrum-button-staticblack-secondary-outline-background-color-disabled:transparent;--system-spectrum-button-staticblack-secondary-outline-border-color-disabled:var(\n--spectrum-disabled-static-black-border-color\n);--system-spectrum-button-staticblack-secondary-outline-content-color-disabled:var(\n--spectrum-disabled-static-black-content-color\n)}:host,:root{--system-spectrum-closebutton-background-color-default:transparent;--system-spectrum-closebutton-background-color-hover:var(\n--spectrum-gray-200\n);--system-spectrum-closebutton-background-color-down:var(\n--spectrum-gray-300\n);--system-spectrum-closebutton-background-color-focus:var(\n--spectrum-gray-200\n)}:host,:root{--system-spectrum-radio-button-border-color-default:var(\n--spectrum-gray-600\n);--system-spectrum-radio-button-border-color-hover:var(--spectrum-gray-700);--system-spectrum-radio-button-border-color-down:var(--spectrum-gray-800);--system-spectrum-radio-button-border-color-focus:var(--spectrum-gray-700);--system-spectrum-radio-button-checked-border-color-default:var(\n--spectrum-gray-700\n);--system-spectrum-radio-button-checked-border-color-hover:var(\n--spectrum-gray-800\n);--system-spectrum-radio-button-checked-border-color-down:var(\n--spectrum-gray-900\n);--system-spectrum-radio-button-checked-border-color-focus:var(\n--spectrum-gray-800\n);--system-spectrum-radio-emphasized-button-checked-border-color-default:var(\n--spectrum-accent-color-900\n);--system-spectrum-radio-emphasized-button-checked-border-color-hover:var(\n--spectrum-accent-color-1000\n);--system-spectrum-radio-emphasized-button-checked-border-color-down:var(\n--spectrum-accent-color-1100\n);--system-spectrum-radio-emphasized-button-checked-border-color-focus:var(\n--spectrum-accent-color-1000\n)}:host,:root{--system-spectrum-switch-background-color-selected-default:var(\n--spectrum-gray-700\n);--system-spectrum-switch-background-color-selected-hover:var(\n--spectrum-gray-800\n);--system-spectrum-switch-background-color-selected-down:var(\n--spectrum-gray-900\n);--system-spectrum-switch-background-color-selected-focus:var(\n--spectrum-gray-800\n);--system-spectrum-switch-handle-border-color-default:var(\n--spectrum-gray-600\n);--system-spectrum-switch-handle-border-color-hover:var(\n--spectrum-gray-700\n);--system-spectrum-switch-handle-border-color-down:var(--spectrum-gray-800);--system-spectrum-switch-handle-border-color-focus:var(\n--spectrum-gray-700\n);--system-spectrum-switch-handle-border-color-selected-default:var(\n--spectrum-gray-700\n);--system-spectrum-switch-handle-border-color-selected-hover:var(\n--spectrum-gray-800\n);--system-spectrum-switch-handle-border-color-selected-down:var(\n--spectrum-gray-900\n);--system-spectrum-switch-handle-border-color-selected-focus:var(\n--spectrum-gray-800\n)}:host,:root{--system-spectrum-toast-background-color-default:var(\n--spectrum-neutral-subdued-background-color-default\n)}:host,:root{--system-spectrum-actiongroup-gap-size-compact:0;--system-spectrum-actiongroup-horizontal-spacing-compact:-1px;--system-spectrum-actiongroup-vertical-spacing-compact:-1px}:host,:root{--system-spectrum-tag-border-color:var(--spectrum-gray-700);--system-spectrum-tag-border-color-hover:var(--spectrum-gray-800);--system-spectrum-tag-border-color-active:var(--spectrum-gray-900);--system-spectrum-tag-border-color-focus:var(--spectrum-gray-800);--system-spectrum-tag-size-small-corner-radius:var(\n--spectrum-corner-radius-100\n);--system-spectrum-tag-size-medium-corner-radius:var(\n--spectrum-corner-radius-100\n);--system-spectrum-tag-size-large-corner-radius:var(\n--spectrum-corner-radius-100\n);--system-spectrum-tag-background-color:var(--spectrum-gray-75);--system-spectrum-tag-background-color-hover:var(--spectrum-gray-75);--system-spectrum-tag-background-color-active:var(--spectrum-gray-200);--system-spectrum-tag-background-color-focus:var(--spectrum-gray-75);--system-spectrum-tag-content-color:var(\n--spectrum-neutral-subdued-content-color-default\n);--system-spectrum-tag-content-color-hover:var(\n--spectrum-neutral-subdued-content-color-hover\n);--system-spectrum-tag-content-color-active:var(\n--spectrum-neutral-subdued-content-color-down\n);--system-spectrum-tag-content-color-focus:var(\n--spectrum-neutral-subdued-content-color-key-focus\n);--system-spectrum-tag-border-color-selected:var(\n--spectrum-neutral-subdued-background-color-default\n);--system-spectrum-tag-border-color-selected-hover:var(\n--spectrum-neutral-subdued-background-color-hover\n);--system-spectrum-tag-border-color-selected-active:var(\n--spectrum-neutral-subdued-background-color-down\n);--system-spectrum-tag-border-color-selected-focus:var(\n--spectrum-neutral-subdued-background-color-key-focus\n);--system-spectrum-tag-background-color-selected:var(\n--spectrum-neutral-subdued-background-color-default\n);--system-spectrum-tag-background-color-selected-hover:var(\n--spectrum-neutral-subdued-background-color-hover\n);--system-spectrum-tag-background-color-selected-active:var(\n--spectrum-neutral-subdued-background-color-down\n);--system-spectrum-tag-background-color-selected-focus:var(\n--spectrum-neutral-subdued-background-color-key-focus\n);--system-spectrum-tag-border-color-disabled:transparent;--system-spectrum-tag-background-color-disabled:var(\n--spectrum-disabled-background-color\n);--system-spectrum-tag-size-small-spacing-inline-start:var(\n--spectrum-component-edge-to-visual-75\n);--system-spectrum-tag-size-small-label-spacing-inline-end:var(\n--spectrum-component-edge-to-text-75\n);--system-spectrum-tag-size-small-clear-button-spacing-inline-end:var(\n--spectrum-component-edge-to-visual-75\n);--system-spectrum-tag-size-medium-spacing-inline-start:var(\n--spectrum-component-edge-to-visual-100\n);--system-spectrum-tag-size-medium-label-spacing-inline-end:var(\n--spectrum-component-edge-to-text-100\n);--system-spectrum-tag-size-medium-clear-button-spacing-inline-end:var(\n--spectrum-component-edge-to-visual-100\n);--system-spectrum-tag-size-large-spacing-inline-start:var(\n--spectrum-component-edge-to-visual-200\n);--system-spectrum-tag-size-large-label-spacing-inline-end:var(\n--spectrum-component-edge-to-text-200\n);--system-spectrum-tag-size-large-clear-button-spacing-inline-end:var(\n--spectrum-component-edge-to-visual-200\n)}:host,:root{--system-spectrum-tooltip-backgound-color-default-neutral:var(\n--spectrum-neutral-subdued-background-color-default\n)}:host,:root{--system-spectrum-picker-background-color-default:var(--spectrum-gray-75);--system-spectrum-picker-background-color-default-open:var(\n--spectrum-gray-200\n);--system-spectrum-picker-background-color-active:var(--spectrum-gray-300);--system-spectrum-picker-background-color-hover:var(--spectrum-gray-200);--system-spectrum-picker-background-color-hover-open:var(\n--spectrum-gray-200\n);--system-spectrum-picker-background-color-key-focus:var(\n--spectrum-gray-200\n);--system-spectrum-picker-border-color-default:var(--spectrum-gray-500);--system-spectrum-picker-border-color-default-open:var(\n--spectrum-gray-500\n);--system-spectrum-picker-border-color-hover:var(--spectrum-gray-600);--system-spectrum-picker-border-color-hover-open:var(--spectrum-gray-600);--system-spectrum-picker-border-color-active:var(--spectrum-gray-700);--system-spectrum-picker-border-color-key-focus:var(--spectrum-gray-600)}:host,:root{--system-spectrum-slider-track-color:var(--spectrum-gray-300);--system-spectrum-slider-track-fill-color:var(--spectrum-gray-700);--system-spectrum-slider-ramp-track-color:var(--spectrum-gray-400);--system-spectrum-slider-ramp-track-color-disabled:var(\n--spectrum-gray-200\n);--system-spectrum-slider-handle-background-color:transparent;--system-spectrum-slider-handle-background-color-disabled:transparent;--system-spectrum-slider-ramp-handle-background-color:var(\n--spectrum-gray-100\n);--system-spectrum-slider-ticks-handle-background-color:var(\n--spectrum-gray-100\n);--system-spectrum-slider-handle-border-color:var(--spectrum-gray-700);--system-spectrum-slider-handle-disabled-background-color:var(\n--spectrum-gray-100\n);--system-spectrum-slider-tick-mark-color:var(--spectrum-gray-300);--system-spectrum-slider-handle-border-color-hover:var(\n--spectrum-gray-800\n);--system-spectrum-slider-handle-border-color-down:var(--spectrum-gray-800);--system-spectrum-slider-handle-border-color-key-focus:var(\n--spectrum-gray-800\n);--system-spectrum-slider-handle-focus-ring-color-key-focus:var(\n--spectrum-focus-indicator-color\n)}:host,:root{--system-spectrum-popover-border-width:var(--spectrum-border-width-100)}:host,:root{--system-spectrum-stepper-border-width:var(--spectrum-border-width-100);--system-spectrum-stepper-button-border-width-reset:var(\n--spectrum-border-width-100\n);--system-spectrum-stepper-button-icon-nudge:calc(var(--spectrum-corner-radius-100)*-1/2);--system-spectrum-stepper-button-gap-reset:0px;--system-spectrum-stepper-button-border-radius-reset:0px;--system-spectrum-stepper-border-color:var(--spectrum-gray-500);--system-spectrum-stepper-border-color-hover:var(--spectrum-gray-600);--system-spectrum-stepper-border-color-focus:var(--spectrum-gray-800);--system-spectrum-stepper-border-color-focus-hover:var(\n--spectrum-gray-900\n);--system-spectrum-stepper-border-color-keyboard-focus:var(\n--spectrum-gray-900\n);--system-spectrum-stepper-button-background-color-default:var(\n--spectrum-gray-75\n);--system-spectrum-stepper-button-background-color-hover:var(\n--spectrum-gray-200\n);--system-spectrum-stepper-button-background-color-focus:var(\n--spectrum-gray-300\n);--system-spectrum-stepper-button-background-color-keyboard-focus:var(\n--spectrum-gray-200\n)}:host,:root{--system-spectrum-textfield-border-color:var(--spectrum-gray-500);--system-spectrum-textfield-border-color-hover:var(--spectrum-gray-600);--system-spectrum-textfield-border-color-focus:var(--spectrum-gray-800);--system-spectrum-textfield-border-color-focus-hover:var(\n--spectrum-gray-900\n);--system-spectrum-textfield-border-color-keyboard-focus:var(\n--spectrum-gray-900\n);--system-spectrum-textfield-border-width:var(--spectrum-border-width-100)}:host,:root{--system-spectrum-search-border-radius:var(--spectrum-corner-radius-100);--system-spectrum-search-edge-to-visual:var(\n--spectrum-component-edge-to-visual-100\n);--system-spectrum-search-border-color-default:var(--spectrum-gray-500);--system-spectrum-search-border-color-hover:var(--spectrum-gray-600);--system-spectrum-search-border-color-focus:var(--spectrum-gray-800);--system-spectrum-search-border-color-focus-hover:var(--spectrum-gray-900);--system-spectrum-search-border-color-key-focus:var(--spectrum-gray-900);--system-spectrum-search-sizes-border-radius:var(\n--spectrum-corner-radius-100\n);--system-spectrum-search-sizes-edge-to-visual:var(\n--spectrum-component-edge-to-visual-75\n);--system-spectrum-search-sizem-border-radius:var(\n--spectrum-corner-radius-100\n);--system-spectrum-search-sizem-edge-to-visual:var(\n--spectrum-component-edge-to-visual-100\n);--system-spectrum-search-sizel-border-radius:var(\n--spectrum-corner-radius-100\n);--system-spectrum-search-sizel-edge-to-visual:var(\n--spectrum-component-edge-to-visual-200\n);--system-spectrum-search-sizexl-border-radius:var(\n--spectrum-corner-radius-100\n);--system-spectrum-search-sizexl-edge-to-visual:var(\n--spectrum-component-edge-to-visual-300\n)}:host,:root{--system-spectrum-tabs-font-weight:var(--spectrum-default-font-weight)}:host,:root{--system:spectrum;--spectrum-animation-linear:cubic-bezier(0,0,1,1);--spectrum-animation-duration-0:0ms;--spectrum-animation-duration-100:130ms;--spectrum-animation-duration-200:160ms;--spectrum-animation-duration-300:190ms;--spectrum-animation-duration-400:220ms;--spectrum-animation-duration-500:250ms;--spectrum-animation-duration-600:300ms;--spectrum-animation-duration-700:350ms;--spectrum-animation-duration-800:400ms;--spectrum-animation-duration-900:450ms;--spectrum-animation-duration-1000:500ms;--spectrum-animation-duration-2000:1000ms;--spectrum-animation-duration-4000:2000ms;--spectrum-animation-ease-in-out:cubic-bezier(0.45,0,0.4,1);--spectrum-animation-ease-in:cubic-bezier(0.5,0,1,1);--spectrum-animation-ease-out:cubic-bezier(0,0,0.4,1);--spectrum-animation-ease-linear:cubic-bezier(0,0,1,1);--spectrum-sans-serif-font:var(--spectrum-sans-serif-font-family);--spectrum-sans-font-family-stack:var(--spectrum-sans-serif-font),adobe-clean,"Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Trebuchet MS","Lucida Grande",sans-serif;--spectrum-serif-font:var(--spectrum-serif-font-family);--spectrum-serif-font-family-stack:var(--spectrum-serif-font),adobe-clean-serif,"Source Serif Pro",Georgia,serif;--spectrum-code-font-family-stack:"Source Code Pro",Monaco,monospace;--spectrum-cjk-font:var(--spectrum-cjk-font-family);--spectrum-cjk-font-family-stack:var(--spectrum-cjk-font),adobe-clean-han-japanese,sans-serif;--spectrum-docs-static-white-background-color-rgb:15,121,125;--spectrum-docs-static-white-background-color:rgba(var(--spectrum-docs-static-white-background-color-rgb));--spectrum-docs-static-black-background-color-rgb:206,247,243;--spectrum-docs-static-black-background-color:rgba(var(--spectrum-docs-static-black-background-color-rgb))}\n\n/*!\nCopyright 2023 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the "License");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/:host,:root{--spectrum-font-family-ar:myriad-arabic,adobe-clean,"Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Trebuchet MS","Lucida Grande",sans-serif;--spectrum-font-family-he:myriad-hebrew,adobe-clean,"Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Trebuchet MS","Lucida Grande",sans-serif;--spectrum-font-family:var(--spectrum-sans-font-family-stack);--spectrum-font-style:var(--spectrum-default-font-style);--spectrum-font-size:var(--spectrum-font-size-100);font-family:var(--spectrum-font-family);font-size:var(--spectrum-font-size);font-style:var(--spectrum-font-style)}.spectrum:lang(ar){font-family:var(--spectrum-font-family-ar)}.spectrum:lang(he){font-family:var(--spectrum-font-family-he)}.spectrum-Heading{--spectrum-heading-sans-serif-font-family:var(\n--spectrum-sans-font-family-stack\n);--spectrum-heading-serif-font-family:var(\n--spectrum-serif-font-family-stack\n);--spectrum-heading-cjk-font-family:var(--spectrum-cjk-font-family-stack);--spectrum-heading-cjk-letter-spacing:var(--spectrum-cjk-letter-spacing);--spectrum-heading-font-color:var(--spectrum-heading-color);--spectrum-heading-margin-start:calc(var(--mod-heading-font-size, var(--spectrum-heading-font-size))*var(--spectrum-heading-margin-top-multiplier));--spectrum-heading-margin-end:calc(var(--mod-heading-font-size, var(--spectrum-heading-font-size))*var(--spectrum-heading-margin-bottom-multiplier))}@media (forced-colors:active){.spectrum-Heading{--highcontrast-heading-font-color:Text}}.spectrum-Heading--sizeXXS{--spectrum-heading-font-size:var(--spectrum-heading-size-xxs);--spectrum-heading-cjk-font-size:var(--spectrum-heading-cjk-size-xxs)}.spectrum-Heading--sizeXS{--spectrum-heading-font-size:var(--spectrum-heading-size-xs);--spectrum-heading-cjk-font-size:var(--spectrum-heading-cjk-size-xs)}.spectrum-Heading--sizeS{--spectrum-heading-font-size:var(--spectrum-heading-size-s);--spectrum-heading-cjk-font-size:var(--spectrum-heading-cjk-size-s)}.spectrum-Heading--sizeM{--spectrum-heading-font-size:var(--spectrum-heading-size-m);--spectrum-heading-cjk-font-size:var(--spectrum-heading-cjk-size-m)}.spectrum-Heading--sizeL{--spectrum-heading-font-size:var(--spectrum-heading-size-l);--spectrum-heading-cjk-font-size:var(--spectrum-heading-cjk-size-l)}.spectrum-Heading--sizeXL{--spectrum-heading-font-size:var(--spectrum-heading-size-xl);--spectrum-heading-cjk-font-size:var(--spectrum-heading-cjk-size-xl)}.spectrum-Heading--sizeXXL{--spectrum-heading-font-size:var(--spectrum-heading-size-xxl);--spectrum-heading-cjk-font-size:var(--spectrum-heading-cjk-size-xxl)}.spectrum-Heading--sizeXXXL{--spectrum-heading-font-size:var(--spectrum-heading-size-xxxl);--spectrum-heading-cjk-font-size:var(--spectrum-heading-cjk-size-xxxl)}.spectrum-Heading{color:var(\n--highcontrast-heading-font-color,var(--mod-heading-font-color,var(--spectrum-heading-font-color))\n);font-family:var(\n--mod-heading-sans-serif-font-family,var(--spectrum-heading-sans-serif-font-family)\n);font-size:var(--mod-heading-font-size,var(--spectrum-heading-font-size));font-style:var(\n--mod-heading-sans-serif-font-style,var(--spectrum-heading-sans-serif-font-style)\n);font-weight:var(\n--mod-heading-sans-serif-font-weight,var(--spectrum-heading-sans-serif-font-weight)\n);line-height:var(\n--mod-heading-line-height,var(--spectrum-heading-line-height)\n);margin-block-end:0;margin-block-start:0}.spectrum-Heading .spectrum-Heading-strong,.spectrum-Heading strong{font-style:var(\n--mod-heading-sans-serif-strong-font-style,var(--spectrum-heading-sans-serif-strong-font-style)\n);font-weight:var(\n--mod-heading-sans-serif-strong-font-weight,var(--spectrum-heading-sans-serif-strong-font-weight)\n)}.spectrum-Heading .spectrum-Heading-emphasized,.spectrum-Heading em{font-style:var(\n--mod-heading-sans-serif-emphasized-font-style,var(--spectrum-heading-sans-serif-emphasized-font-style)\n);font-weight:var(\n--mod-heading-sans-serif-emphasized-font-weight,var(--spectrum-heading-sans-serif-emphasized-font-weight)\n)}.spectrum-Heading .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading em strong,.spectrum-Heading strong em{font-style:var(\n--mod-heading-sans-serif-strong-emphasized-font-style,var(--spectrum-heading-sans-serif-strong-emphasized-font-style)\n);font-weight:var(\n--mod-heading-sans-serif-strong-emphasized-font-weight,var(--spectrum-heading-sans-serif-strong-emphasized-font-weight)\n)}.spectrum-Heading:lang(ja),.spectrum-Heading:lang(ko),.spectrum-Heading:lang(zh){font-family:var(\n--mod-heading-cjk-font-family,var(--spectrum-heading-cjk-font-family)\n);font-size:var(\n--mod-heading-cjk-font-size,var(--spectrum-heading-cjk-font-size)\n);font-style:var(\n--mod-heading-cjk-font-style,var(--spectrum-heading-cjk-font-style)\n);font-weight:var(\n--mod-heading-cjk-font-weight,var(--spectrum-heading-cjk-font-weight)\n);letter-spacing:var(\n--mod-heading-cjk-letter-spacing,var(--spectrum-heading-cjk-letter-spacing)\n);line-height:var(\n--mod-heading-cjk-line-height,var(--spectrum-heading-cjk-line-height)\n)}.spectrum-Heading:lang(ja) .spectrum-Heading-emphasized,.spectrum-Heading:lang(ja) em,.spectrum-Heading:lang(ko) .spectrum-Heading-emphasized,.spectrum-Heading:lang(ko) em,.spectrum-Heading:lang(zh) .spectrum-Heading-emphasized,.spectrum-Heading:lang(zh) em{font-style:var(\n--mod-heading-cjk-emphasized-font-style,var(--spectrum-heading-cjk-emphasized-font-style)\n);font-weight:var(\n--mod-heading-cjk-emphasized-font-weight,var(--spectrum-heading-cjk-emphasized-font-weight)\n)}.spectrum-Heading:lang(ja) .spectrum-Heading-strong,.spectrum-Heading:lang(ja) strong,.spectrum-Heading:lang(ko) .spectrum-Heading-strong,.spectrum-Heading:lang(ko) strong,.spectrum-Heading:lang(zh) .spectrum-Heading-strong,.spectrum-Heading:lang(zh) strong{font-style:var(\n--mod-heading-cjk-strong-font-style,var(--spectrum-heading-cjk-strong-font-style)\n);font-weight:var(\n--mod-heading-cjk-strong-font-weight,var(--spectrum-heading-cjk-strong-font-weight)\n)}.spectrum-Heading:lang(ja) .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading:lang(ja) em strong,.spectrum-Heading:lang(ja) strong em,.spectrum-Heading:lang(ko) .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading:lang(ko) em strong,.spectrum-Heading:lang(ko) strong em,.spectrum-Heading:lang(zh) .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading:lang(zh) em strong,.spectrum-Heading:lang(zh) strong em{font-style:var(\n--mod-heading-cjk-strong-emphasized-font-style,var(--spectrum-heading-cjk-strong-emphasized-font-style)\n);font-weight:var(\n--mod-heading-cjk-strong-emphasized-font-weight,var(--spectrum-heading-cjk-strong-emphasized-font-weight)\n)}.spectrum-Heading--heavy{font-style:var(\n--mod-heading-sans-serif-heavy-font-style,var(--spectrum-heading-sans-serif-heavy-font-style)\n);font-weight:var(\n--mod-heading-sans-serif-heavy-font-weight,var(--spectrum-heading-sans-serif-heavy-font-weight)\n)}.spectrum-Heading--heavy .spectrum-Heading-strong,.spectrum-Heading--heavy strong{font-style:var(\n--mod-heading-sans-serif-heavy-strong-font-style,var(--spectrum-heading-sans-serif-heavy-strong-font-style)\n);font-weight:var(\n--mod-heading-sans-serif-heavy-strong-font-weight,var(--spectrum-heading-sans-serif-heavy-strong-font-weight)\n)}.spectrum-Heading--heavy .spectrum-Heading-emphasized,.spectrum-Heading--heavy em{font-style:var(\n--mod-heading-sans-serif-heavy-emphasized-font-style,var(--spectrum-heading-sans-serif-heavy-emphasized-font-style)\n);font-weight:var(\n--mod-heading-sans-serif-heavy-emphasized-font-weight,var(--spectrum-heading-sans-serif-heavy-emphasized-font-weight)\n)}.spectrum-Heading--heavy .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--heavy em strong,.spectrum-Heading--heavy strong em{font-style:var(\n--mod-heading-sans-serif-heavy-strong-emphasized-font-style,var(--spectrum-heading-sans-serif-heavy-strong-emphasized-font-style)\n);font-weight:var(\n--mod-heading-sans-serif-heavy-strong-emphasized-font-weight,var(--spectrum-heading-sans-serif-heavy-strong-emphasized-font-weight)\n)}.spectrum-Heading--heavy:lang(ja),.spectrum-Heading--heavy:lang(ko),.spectrum-Heading--heavy:lang(zh){font-style:var(\n--mod-heading-cjk-heavy-font-style,var(--spectrum-heading-cjk-heavy-font-style)\n);font-weight:var(\n--mod-heading-cjk-heavy-font-weight,var(--spectrum-heading-cjk-heavy-font-weight)\n)}.spectrum-Heading--heavy:lang(ja) .spectrum-Heading-emphasized,.spectrum-Heading--heavy:lang(ja) em,.spectrum-Heading--heavy:lang(ko) .spectrum-Heading-emphasized,.spectrum-Heading--heavy:lang(ko) em,.spectrum-Heading--heavy:lang(zh) .spectrum-Heading-emphasized,.spectrum-Heading--heavy:lang(zh) em{font-style:var(\n--mod-heading-cjk-heavy-emphasized-font-style,var(--spectrum-heading-cjk-heavy-emphasized-font-style)\n);font-weight:var(\n--mod-heading-cjk-heavy-emphasized-font-weight,var(--spectrum-heading-cjk-heavy-emphasized-font-weight)\n)}.spectrum-Heading--heavy:lang(ja) .spectrum-Heading-strong,.spectrum-Heading--heavy:lang(ja) strong,.spectrum-Heading--heavy:lang(ko) .spectrum-Heading-strong,.spectrum-Heading--heavy:lang(ko) strong,.spectrum-Heading--heavy:lang(zh) .spectrum-Heading-strong,.spectrum-Heading--heavy:lang(zh) strong{font-style:var(\n--mod-heading-cjk-heavy-strong-font-style,var(--spectrum-heading-cjk-heavy-strong-font-style)\n);font-weight:var(\n--mod-heading-cjk-heavy-strong-font-weight,var(--spectrum-heading-cjk-heavy-strong-font-weight)\n)}.spectrum-Heading--heavy:lang(ja) .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--heavy:lang(ja) em strong,.spectrum-Heading--heavy:lang(ja) strong em,.spectrum-Heading--heavy:lang(ko) .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--heavy:lang(ko) em strong,.spectrum-Heading--heavy:lang(ko) strong em,.spectrum-Heading--heavy:lang(zh) .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--heavy:lang(zh) em strong,.spectrum-Heading--heavy:lang(zh) strong em{font-style:var(\n--mod-heading-cjk-heavy-strong-emphasized-font-style,var(--spectrum-heading-cjk-heavy-strong-emphasized-font-style)\n);font-weight:var(\n--mod-heading-cjk-heavy-strong-emphasized-font-weight,var(--spectrum-heading-cjk-heavy-strong-emphasized-font-weight)\n)}.spectrum-Heading--light{font-style:var(\n--mod-heading-sans-serif-light-font-style,var(--spectrum-heading-sans-serif-light-font-style)\n);font-weight:var(\n--mod-heading-sans-serif-light-font-weight,var(--spectrum-heading-sans-serif-light-font-weight)\n)}.spectrum-Heading--light .spectrum-Heading-emphasized,.spectrum-Heading--light em{font-style:var(\n--mod-heading-sans-serif-light-emphasized-font-style,var(--spectrum-heading-sans-serif-light-emphasized-font-style)\n);font-weight:var(\n--mod-heading-sans-serif-light-emphasized-font-weight,var(--spectrum-heading-sans-serif-light-emphasized-font-weight)\n)}.spectrum-Heading--light .spectrum-Heading-strong,.spectrum-Heading--light strong{font-style:var(\n--mod-heading-sans-serif-light-strong-font-style,var(--spectrum-heading-sans-serif-light-strong-font-style)\n);font-weight:var(\n--mod-heading-sans-serif-light-strong-font-weight,var(--spectrum-heading-sans-serif-light-strong-font-weight)\n)}.spectrum-Heading--light .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--light em strong,.spectrum-Heading--light strong em{font-style:var(\n--mod-heading-sans-serif-light-strong-emphasized-font-style,var(--spectrum-heading-sans-serif-light-strong-emphasized-font-style)\n);font-weight:var(\n--mod-heading-sans-serif-light-strong-emphasized-font-weight,var(--spectrum-heading-sans-serif-light-strong-emphasized-font-weight)\n)}.spectrum-Heading--light:lang(ja),.spectrum-Heading--light:lang(ko),.spectrum-Heading--light:lang(zh){font-style:var(\n--mod-heading-cjk-light-font-style,var(--spectrum-heading-cjk-light-font-style)\n);font-weight:var(\n--mod-heading-cjk-light-font-weight,var(--spectrum-heading-cjk-light-font-weight)\n)}.spectrum-Heading--light:lang(ja) .spectrum-Heading-strong,.spectrum-Heading--light:lang(ja) strong,.spectrum-Heading--light:lang(ko) .spectrum-Heading-strong,.spectrum-Heading--light:lang(ko) strong,.spectrum-Heading--light:lang(zh) .spectrum-Heading-strong,.spectrum-Heading--light:lang(zh) strong{font-style:var(\n--mod-heading-cjk-light-strong-font-style,var(--spectrum-heading-cjk-light-strong-font-style)\n);font-weight:var(\n--mod-heading-cjk-light-strong-font-weight,var(--spectrum-heading-cjk-light-strong-font-weight)\n)}.spectrum-Heading--light:lang(ja) .spectrum-Heading-emphasized,.spectrum-Heading--light:lang(ja) em,.spectrum-Heading--light:lang(ko) .spectrum-Heading-emphasized,.spectrum-Heading--light:lang(ko) em,.spectrum-Heading--light:lang(zh) .spectrum-Heading-emphasized,.spectrum-Heading--light:lang(zh) em{font-style:var(\n--mod-heading-cjk-light-emphasized-font-style,var(--spectrum-heading-cjk-light-emphasized-font-style)\n);font-weight:var(\n--mod-heading-cjk-light-emphasized-font-weight,var(--spectrum-heading-cjk-light-emphasized-font-weight)\n)}.spectrum-Heading--light:lang(ja) .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--light:lang(ja) em strong,.spectrum-Heading--light:lang(ja) strong em,.spectrum-Heading--light:lang(ko) .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--light:lang(ko) em strong,.spectrum-Heading--light:lang(ko) strong em,.spectrum-Heading--light:lang(zh) .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--light:lang(zh) em strong,.spectrum-Heading--light:lang(zh) strong em{font-style:var(\n--mod-heading-cjk-light-strong-emphasized-font-style,var(--spectrum-heading-cjk-light-strong-emphasized-font-style)\n);font-weight:var(\n--mod-heading-cjk-light-strong-emphasized-font-weight,var(--spectrum-heading-cjk-light-strong-emphasized-font-weight)\n)}.spectrum-Heading--serif{font-family:var(\n--mod-heading-serif-font-family,var(--spectrum-heading-serif-font-family)\n);font-style:var(\n--mod-heading-serif-font-style,var(--spectrum-heading-serif-font-style)\n);font-weight:var(\n--mod-heading-serif-font-weight,var(--spectrum-heading-serif-font-weight)\n)}.spectrum-Heading--serif .spectrum-Heading-emphasized,.spectrum-Heading--serif em{font-style:var(\n--mod-heading-serif-emphasized-font-style,var(--spectrum-heading-serif-emphasized-font-style)\n);font-weight:var(\n--mod-heading-serif-emphasized-font-weight,var(--spectrum-heading-serif-emphasized-font-weight)\n)}.spectrum-Heading--serif .spectrum-Heading-strong,.spectrum-Heading--serif strong{font-style:var(\n--mod-heading-serif-strong-font-style,var(--spectrum-heading-serif-strong-font-style)\n);font-weight:var(\n--mod-heading-serif-strong-font-weight,var(--spectrum-heading-serif-strong-font-weight)\n)}.spectrum-Heading--serif .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--serif em strong,.spectrum-Heading--serif strong em{font-style:var(\n--mod-heading-serif-strong-emphasized-font-style,var(--spectrum-heading-serif-strong-emphasized-font-style)\n);font-weight:var(\n--mod-heading-serif-strong-emphasized-font-weight,var(--spectrum-heading-serif-strong-emphasized-font-weight)\n)}.spectrum-Heading--serif.spectrum-Heading--heavy{font-style:var(\n--mod-heading-serif-heavy-font-style,var(--spectrum-heading-serif-heavy-font-style)\n);font-weight:var(\n--mod-heading-serif-heavy-font-weight,var(--spectrum-heading-serif-heavy-font-weight)\n)}.spectrum-Heading--serif.spectrum-Heading--heavy .spectrum-Heading-strong,.spectrum-Heading--serif.spectrum-Heading--heavy strong{font-style:var(\n--mod-heading-serif-heavy-strong-font-style,var(--spectrum-heading-serif-heavy-strong-font-style)\n);font-weight:var(\n--mod-heading-serif-heavy-strong-font-weight,var(--spectrum-heading-serif-heavy-strong-font-weight)\n)}.spectrum-Heading--serif.spectrum-Heading--heavy .spectrum-Heading-emphasized,.spectrum-Heading--serif.spectrum-Heading--heavy em{font-style:var(\n--mod-heading-serif-heavy-emphasized-font-style,var(--spectrum-heading-serif-heavy-emphasized-font-style)\n);font-weight:var(\n--mod-heading-serif-heavy-emphasized-font-weight,var(--spectrum-heading-serif-heavy-emphasized-font-weight)\n)}.spectrum-Heading--serif.spectrum-Heading--heavy .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--serif.spectrum-Heading--heavy em strong,.spectrum-Heading--serif.spectrum-Heading--heavy strong em{font-style:var(\n--mod-heading-serif-heavy-strong-emphasized-font-style,var(--spectrum-heading-serif-heavy-strong-emphasized-font-style)\n);font-weight:var(\n--mod-heading-serif-heavy-strong-emphasized-font-weight,var(--spectrum-heading-serif-heavy-strong-emphasized-font-weight)\n)}.spectrum-Heading--serif.spectrum-Heading--light{font-style:var(\n--mod-heading-serif-light-font-style,var(--spectrum-heading-serif-light-font-style)\n);font-weight:var(\n--mod-heading-serif-light-font-weight,var(--spectrum-heading-serif-light-font-weight)\n)}.spectrum-Heading--serif.spectrum-Heading--light .spectrum-Heading-emphasized,.spectrum-Heading--serif.spectrum-Heading--light em{font-style:var(\n--mod-heading-serif-light-emphasized-font-style,var(--spectrum-heading-serif-light-emphasized-font-style)\n);font-weight:var(\n--mod-heading-serif-light-emphasized-font-weight,var(--spectrum-heading-serif-light-emphasized-font-weight)\n)}.spectrum-Heading--serif.spectrum-Heading--light .spectrum-Heading-strong,.spectrum-Heading--serif.spectrum-Heading--light strong{font-style:var(\n--mod-heading-serif-light-strong-font-style,var(--spectrum-heading-serif-light-strong-font-style)\n);font-weight:var(\n--mod-heading-serif-light-strong-font-weight,var(--spectrum-heading-serif-light-strong-font-weight)\n)}.spectrum-Heading--serif.spectrum-Heading--light .spectrum-Heading-strong.spectrum-Heading-emphasized,.spectrum-Heading--serif.spectrum-Heading--light em strong,.spectrum-Heading--serif.spectrum-Heading--light strong em{font-style:var(\n--mod-heading-serif-light-strong-emphasized-font-style,var(--spectrum-heading-serif-light-strong-emphasized-font-style)\n);font-weight:var(\n--mod-heading-serif-light-strong-emphasized-font-weight,var(--spectrum-heading-serif-light-strong-emphasized-font-weight)\n)}.spectrum-Typography .spectrum-Heading{margin-block-end:var(\n--mod-heading-margin-end,var(--spectrum-heading-margin-end)\n);margin-block-start:var(\n--mod-heading-margin-start,var(--spectrum-heading-margin-start)\n)}.spectrum-Body{--spectrum-body-sans-serif-font-family:var(\n--spectrum-sans-font-family-stack\n);--spectrum-body-serif-font-family:var(--spectrum-serif-font-family-stack);--spectrum-body-cjk-font-family:var(--spectrum-cjk-font-family-stack);--spectrum-body-cjk-letter-spacing:var(--spectrum-cjk-letter-spacing);--spectrum-body-margin:calc(var(--mod-body-font-size, var(--spectrum-body-font-size))*var(--spectrum-body-margin-multiplier));--spectrum-body-font-color:var(--spectrum-body-color)}@media (forced-colors:active){.spectrum-body{--highcontrast-body-font-color:Text}}.spectrum-Body--sizeXS{--spectrum-body-font-size:var(--spectrum-body-size-xs)}.spectrum-Body--sizeS{--spectrum-body-font-size:var(--spectrum-body-size-s)}.spectrum-Body--sizeM{--spectrum-body-font-size:var(--spectrum-body-size-m)}.spectrum-Body--sizeL{--spectrum-body-font-size:var(--spectrum-body-size-l)}.spectrum-Body--sizeXL{--spectrum-body-font-size:var(--spectrum-body-size-xl)}.spectrum-Body--sizeXXL{--spectrum-body-font-size:var(--spectrum-body-size-xxl)}.spectrum-Body--sizeXXXL{--spectrum-body-font-size:var(--spectrum-body-size-xxxl)}.spectrum-Body{color:var(\n--highcontrast-body-font-color,var(--mod-body-font-color,var(--spectrum-body-font-color))\n);font-family:var(\n--mod-body-sans-serif-font-family,var(--spectrum-body-sans-serif-font-family)\n);font-size:var(--mod-body-font-size,var(--spectrum-body-font-size));font-style:var(\n--mod-body-sans-serif-font-style,var(--spectrum-body-sans-serif-font-style)\n);font-weight:var(\n--mod-body-sans-serif-font-weight,var(--spectrum-body-sans-serif-font-weight)\n);line-height:var(--mod-body-line-height,var(--spectrum-body-line-height));margin-block-end:0;margin-block-start:0}.spectrum-Body .spectrum-Body-strong,.spectrum-Body strong{font-style:var(\n--mod-body-sans-serif-strong-font-style,var(--spectrum-body-sans-serif-strong-font-style)\n);font-weight:var(\n--mod-body-sans-serif-strong-font-weight,var(--spectrum-body-sans-serif-strong-font-weight)\n)}.spectrum-Body .spectrum-Body-emphasized,.spectrum-Body em{font-style:var(\n--mod-body-sans-serif-emphasized-font-style,var(--spectrum-body-sans-serif-emphasized-font-style)\n);font-weight:var(\n--mod-body-sans-serif-emphasized-font-weight,var(--spectrum-body-sans-serif-emphasized-font-weight)\n)}.spectrum-Body .spectrum-Body-strong.spectrum-Body-emphasized,.spectrum-Body em strong,.spectrum-Body strong em{font-style:var(\n--mod-body-sans-serif-strong-emphasized-font-style,var(--spectrum-body-sans-serif-strong-emphasized-font-style)\n);font-weight:var(\n--mod-body-sans-serif-strong-emphasized-font-weight,var(--spectrum-body-sans-serif-strong-emphasized-font-weight)\n)}.spectrum-Body:lang(ja),.spectrum-Body:lang(ko),.spectrum-Body:lang(zh){font-family:var(\n--mod-body-cjk-font-family,var(--spectrum-body-cjk-font-family)\n);font-style:var(\n--mod-body-cjk-font-style,var(--spectrum-body-cjk-font-style)\n);font-weight:var(\n--mod-body-cjk-font-weight,var(--spectrum-body-cjk-font-weight)\n);letter-spacing:var(\n--mod-body-cjk-letter-spacing,var(--spectrum-body-cjk-letter-spacing)\n);line-height:var(\n--mod-body-cjk-line-height,var(--spectrum-body-cjk-line-height)\n)}.spectrum-Body:lang(ja) .spectrum-Body-strong,.spectrum-Body:lang(ja) strong,.spectrum-Body:lang(ko) .spectrum-Body-strong,.spectrum-Body:lang(ko) strong,.spectrum-Body:lang(zh) .spectrum-Body-strong,.spectrum-Body:lang(zh) strong{font-style:var(\n--mod-body-cjk-strong-font-style,var(--spectrum-body-cjk-strong-font-style)\n);font-weight:var(\n--mod-body-cjk-strong-font-weight,var(--spectrum-body-cjk-strong-font-weight)\n)}.spectrum-Body:lang(ja) .spectrum-Body-emphasized,.spectrum-Body:lang(ja) em,.spectrum-Body:lang(ko) .spectrum-Body-emphasized,.spectrum-Body:lang(ko) em,.spectrum-Body:lang(zh) .spectrum-Body-emphasized,.spectrum-Body:lang(zh) em{font-style:var(\n--mod-body-cjk-emphasized-font-style,var(--spectrum-body-cjk-emphasized-font-style)\n);font-weight:var(\n--mod-body-cjk-emphasized-font-weight,var(--spectrum-body-cjk-emphasized-font-weight)\n)}.spectrum-Body:lang(ja) .spectrum-Body-strong.spectrum-Body-emphasized,.spectrum-Body:lang(ja) em strong,.spectrum-Body:lang(ja) strong em,.spectrum-Body:lang(ko) .spectrum-Body-strong.spectrum-Body-emphasized,.spectrum-Body:lang(ko) em strong,.spectrum-Body:lang(ko) strong em,.spectrum-Body:lang(zh) .spectrum-Body-strong.spectrum-Body-emphasized,.spectrum-Body:lang(zh) em strong,.spectrum-Body:lang(zh) strong em{font-style:var(\n--mod-body-cjk-strong-emphasized-font-style,var(--spectrum-body-cjk-strong-emphasized-font-style)\n);font-weight:var(\n--mod-body-cjk-strong-emphasized-font-weight,var(--spectrum-body-cjk-strong-emphasized-font-weight)\n)}.spectrum-Body--serif{font-family:var(\n--mod-body-serif-font-family,var(--spectrum-body-serif-font-family)\n);font-style:var(\n--mod-body-serif-font-style,var(--spectrum-body-serif-font-style)\n);font-weight:var(\n--mod-body-serif-font-weight,var(--spectrum-body-serif-font-weight)\n)}.spectrum-Body--serif .spectrum-Body-strong,.spectrum-Body--serif strong{font-style:var(\n--mod-body-serif-strong-font-style,var(--spectrum-body-serif-strong-font-style)\n);font-weight:var(\n--mod-body-serif-strong-font-weight,var(--spectrum-body-serif-strong-font-weight)\n)}.spectrum-Body--serif .spectrum-Body-emphasized,.spectrum-Body--serif em{font-style:var(\n--mod-body-serif-emphasized-font-style,var(--spectrum-body-serif-emphasized-font-style)\n);font-weight:var(\n--mod-body-serif-emphasized-font-weight,var(--spectrum-body-serif-emphasized-font-weight)\n)}.spectrum-Body--serif .spectrum-Body-strong.spectrum-Body-emphasized,.spectrum-Body--serif em strong,.spectrum-Body--serif strong em{font-style:var(\n--mod-body-serif-strong-emphasized-font-style,var(--spectrum-body-serif-strong-emphasized-font-style)\n);font-weight:var(\n--mod-body-serif-strong-emphasized-font-weight,var(--spectrum-body-serif-strong-emphasized-font-weight)\n)}.spectrum-Typography .spectrum-Body{margin-block-end:var(--mod-body-margin,var(--spectrum-body-margin))}.spectrum-Detail{--spectrum-detail-sans-serif-font-family:var(\n--spectrum-sans-font-family-stack\n);--spectrum-detail-serif-font-family:var(\n--spectrum-serif-font-family-stack\n);--spectrum-detail-cjk-font-family:var(--spectrum-cjk-font-family-stack);--spectrum-detail-margin-start:calc(var(--mod-detail-font-size, var(--spectrum-detail-font-size))*var(--spectrum-detail-margin-top-multiplier));--spectrum-detail-margin-end:calc(var(--mod-detail-font-size, var(--spectrum-detail-font-size))*var(--spectrum-detail-margin-bottom-multiplier));--spectrum-detail-font-color:var(--spectrum-detail-color)}@media (forced-colors:active){.spectrum-Detail{--highcontrast-detail-font-color:Text}}.spectrum-Detail--sizeS{--spectrum-detail-font-size:var(--spectrum-detail-size-s)}.spectrum-Detail--sizeM{--spectrum-detail-font-size:var(--spectrum-detail-size-m)}.spectrum-Detail--sizeL{--spectrum-detail-font-size:var(--spectrum-detail-size-l)}.spectrum-Detail--sizeXL{--spectrum-detail-font-size:var(--spectrum-detail-size-xl)}.spectrum-Detail{color:var(\n--highcontrast-detail-font-color,var(--mod-detail-font-color,var(--spectrum-detail-font-color))\n);font-family:var(\n--mod-detail-sans-serif-font-family,var(--spectrum-detail-sans-serif-font-family)\n);font-size:var(--mod-detail-font-size,var(--spectrum-detail-font-size));font-style:var(\n--mod-detail-sans-serif-font-style,var(--spectrum-detail-sans-serif-font-style)\n);font-weight:var(\n--mod-detail-sans-serif-font-weight,var(--spectrum-detail-sans-serif-font-weight)\n);letter-spacing:var(\n--mod-detail-letter-spacing,var(--spectrum-detail-letter-spacing)\n);line-height:var(\n--mod-detail-line-height,var(--spectrum-detail-line-height)\n);margin-block-end:0;margin-block-start:0;text-transform:uppercase}.spectrum-Detail .spectrum-Detail-strong,.spectrum-Detail strong{font-style:var(\n--mod-detail-sans-serif-strong-font-style,var(--spectrum-detail-sans-serif-strong-font-style)\n);font-weight:var(\n--mod-detail-sans-serif-strong-font-weight,var(--spectrum-detail-sans-serif-strong-font-weight)\n)}.spectrum-Detail .spectrum-Detail-emphasized,.spectrum-Detail em{font-style:var(\n--mod-detail-sans-serif-emphasized-font-style,var(--spectrum-detail-sans-serif-emphasized-font-style)\n);font-weight:var(\n--mod-detail-sans-serif-emphasized-font-weight,var(--spectrum-detail-sans-serif-emphasized-font-weight)\n)}.spectrum-Detail .spectrum-Detail-strong.spectrum-Detail-emphasized,.spectrum-Detail em strong,.spectrum-Detail strong em{font-style:var(\n--mod-detail-sans-serif-strong-emphasized-font-style,var(--spectrum-detail-sans-serif-strong-emphasized-font-style)\n);font-weight:var(\n--mod-detail-sans-serif-strong-emphasized-font-weight,var(--spectrum-detail-sans-serif-strong-emphasized-font-weight)\n)}.spectrum-Detail:lang(ja),.spectrum-Detail:lang(ko),.spectrum-Detail:lang(zh){font-family:var(\n--mod-detail-cjk-font-family,var(--spectrum-detail-cjk-font-family)\n);font-style:var(\n--mod-detail-cjk-font-style,var(--spectrum-detail-cjk-font-style)\n);font-weight:var(\n--mod-detail-cjk-font-weight,var(--spectrum-detail-cjk-font-weight)\n);line-height:var(\n--mod-detail-cjk-line-height,var(--spectrum-detail-cjk-line-height)\n)}.spectrum-Detail:lang(ja) .spectrum-Detail-strong,.spectrum-Detail:lang(ja) strong,.spectrum-Detail:lang(ko) .spectrum-Detail-strong,.spectrum-Detail:lang(ko) strong,.spectrum-Detail:lang(zh) .spectrum-Detail-strong,.spectrum-Detail:lang(zh) strong{font-style:var(\n--mod-detail-cjk-strong-font-style,var(--spectrum-detail-cjk-strong-font-style)\n);font-weight:var(\n--mod-detail-cjk-strong-font-weight,var(--spectrum-detail-cjk-strong-font-weight)\n)}.spectrum-Detail:lang(ja) .spectrum-Detail-emphasized,.spectrum-Detail:lang(ja) em,.spectrum-Detail:lang(ko) .spectrum-Detail-emphasized,.spectrum-Detail:lang(ko) em,.spectrum-Detail:lang(zh) .spectrum-Detail-emphasized,.spectrum-Detail:lang(zh) em{font-style:var(\n--mod-detail-cjk-emphasized-font-style,var(--spectrum-detail-cjk-emphasized-font-style)\n);font-weight:var(\n--mod-detail-cjk-emphasized-font-weight,var(--spectrum-detail-cjk-emphasized-font-weight)\n)}.spectrum-Detail:lang(ja) .spectrum-Detail-strong.spectrum-Detail-emphasized,.spectrum-Detail:lang(ja) em strong,.spectrum-Detail:lang(ja) strong em,.spectrum-Detail:lang(ko) .spectrum-Detail-strong.spectrum-Detail-emphasized,.spectrum-Detail:lang(ko) em strong,.spectrum-Detail:lang(ko) strong em,.spectrum-Detail:lang(zh) .spectrum-Detail-strong.spectrum-Detail-emphasized,.spectrum-Detail:lang(zh) em strong,.spectrum-Detail:lang(zh) strong em{font-style:var(\n--mod-detail-cjk-strong-emphasized-font-style,var(--spectrum-detail-cjk-strong-emphasized-font-style)\n);font-weight:var(\n--mod-detail-cjk-strong-emphasized-font-weight,var(--spectrum-detail-cjk-strong-emphasized-font-weight)\n)}.spectrum-Detail--serif{font-family:var(\n--mod-detail-serif-font-family,var(--spectrum-detail-serif-font-family)\n);font-style:var(\n--mod-detail-serif-font-style,var(--spectrum-detail-serif-font-style)\n);font-weight:var(\n--mod-detail-serif-font-weight,var(--spectrum-detail-serif-font-weight)\n)}.spectrum-Detail--serif .spectrum-Detail-strong,.spectrum-Detail--serif strong{font-style:var(\n--mod-detail-serif-strong-font-style,var(--spectrum-detail-serif-strong-font-style)\n);font-weight:var(\n--mod-detail-serif-strong-font-weight,var(--spectrum-detail-serif-strong-font-weight)\n)}.spectrum-Detail--serif .spectrum-Detail-emphasized,.spectrum-Detail--serif em{font-style:var(\n--mod-detail-serif-emphasized-font-style,var(--spectrum-detail-serif-emphasized-font-style)\n);font-weight:var(\n--mod-detail-serif-emphasized-font-weight,var(--spectrum-detail-serif-emphasized-font-weight)\n)}.spectrum-Detail--serif .spectrum-Detail-strong.spectrum-Detail-emphasized,.spectrum-Detail--serif em strong,.spectrum-Detail--serif strong em{font-style:var(\n--mod-detail-serif-strong-emphasized-font-style,var(--spectrum-detail-serif-strong-emphasized-font-style)\n);font-weight:var(\n--mod-detail-serif-strong-emphasized-font-weight,var(--spectrum-detail-serif-strong-emphasized-font-weight)\n)}.spectrum-Detail--light{font-style:var(\n--mod-detail-sans-serif-light-font-style,var(--spectrum-detail-sans-serif-light-font-style)\n);font-weight:var(\n--spectrum-detail-sans-serif-light-font-weight,var(--spectrum-detail-sans-serif-light-font-weight)\n)}.spectrum-Detail--light .spectrum-Detail-strong,.spectrum-Detail--light strong{font-style:var(\n--mod-detail-sans-serif-light-strong-font-style,var(--spectrum-detail-sans-serif-light-strong-font-style)\n);font-weight:var(\n--mod-detail-sans-serif-light-strong-font-weight,var(--spectrum-detail-sans-serif-light-strong-font-weight)\n)}.spectrum-Detail--light .spectrum-Detail-emphasized,.spectrum-Detail--light em{font-style:var(\n--mod-detail-sans-serif-light-emphasized-font-style,var(--spectrum-detail-sans-serif-light-emphasized-font-style)\n);font-weight:var(\n--mod-detail-sans-serif-light-emphasized-font-weight,var(--spectrum-detail-sans-serif-light-emphasized-font-weight)\n)}.spectrum-Detail--light .spectrum-Detail-strong.spectrum-Body-emphasized,.spectrum-Detail--light em strong,.spectrum-Detail--light strong em{font-style:var(\n--mod-detail-sans-serif-light-strong-emphasized-font-style,var(--spectrum-detail-sans-serif-light-strong-emphasized-font-style)\n);font-weight:var(\n--mod-detail-sans-serif-light-strong-emphasized-font-weight,var(--spectrum-detail-sans-serif-light-strong-emphasized-font-weight)\n)}.spectrum-Detail--light:lang(ja),.spectrum-Detail--light:lang(ko),.spectrum-Detail--light:lang(zh){font-style:var(\n--mod-detail-cjk-light-font-style,var(--spectrum-detail-cjk-light-font-style)\n);font-weight:var(\n--mod-detail-cjk-light-font-weight,var(--spectrum-detail-cjk-light-font-weight)\n)}.spectrum-Detail--light:lang(ja) .spectrum-Detail-strong,.spectrum-Detail--light:lang(ja) strong,.spectrum-Detail--light:lang(ko) .spectrum-Detail-strong,.spectrum-Detail--light:lang(ko) strong,.spectrum-Detail--light:lang(zh) .spectrum-Detail-strong,.spectrum-Detail--light:lang(zh) strong{font-style:var(\n--mod-detail-cjk-light-strong-font-style,var(--spectrum-detail-cjk-light-strong-font-style)\n);font-weight:var(\n--mod-detail-cjk-light-strong-font-weight,var(--spectrum-detail-cjk-light-strong-font-weight)\n)}.spectrum-Detail--light:lang(ja) .spectrum-Detail-emphasized,.spectrum-Detail--light:lang(ja) em,.spectrum-Detail--light:lang(ko) .spectrum-Detail-emphasized,.spectrum-Detail--light:lang(ko) em,.spectrum-Detail--light:lang(zh) .spectrum-Detail-emphasized,.spectrum-Detail--light:lang(zh) em{font-style:var(\n--mod-detail-cjk-light-emphasized-font-style,var(--spectrum-detail-cjk-light-emphasized-font-style)\n);font-weight:var(\n--mod-detail-cjk-light-emphasized-font-weight,var(--spectrum-detail-cjk-light-emphasized-font-weight)\n)}.spectrum-Detail--light:lang(ja) .spectrum-Detail-strong.spectrum-Detail-emphasized,.spectrum-Detail--light:lang(ko) .spectrum-Detail-strong.spectrum-Detail-emphasized,.spectrum-Detail--light:lang(zh) .spectrum-Detail-strong.spectrum-Detail-emphasized{font-style:var(\n--mod-detail-cjk-light-strong-emphasized-font-style,var(--spectrum-detail-cjk-light-strong-emphasized-font-style)\n);font-weight:var(\n--mod-detail-cjk-light-strong-emphasized-font-weight,var(--spectrum-detail-cjk-light-strong-emphasized-font-weight)\n)}.spectrum-Detail--serif.spectrum-Detail--light{font-style:var(\n--mod-detail-serif-light-font-style,var(--spectrum-detail-serif-light-font-style)\n);font-weight:var(\n--mod-detail-serif-light-font-weight,var(--spectrum-detail-serif-light-font-weight)\n)}.spectrum-Detail--serif.spectrum-Detail--light .spectrum-Detail-strong,.spectrum-Detail--serif.spectrum-Detail--light strong{font-style:var(\n--mod-detail-serif-light-strong-font-style,var(--spectrum-detail-serif-light-strong-font-style)\n);font-weight:var(\n--mod-detail-serif-light-strong-font-weight,var(--spectrum-detail-serif-light-strong-font-weight)\n)}.spectrum-Detail--serif.spectrum-Detail--light .spectrum-Detail-emphasized,.spectrum-Detail--serif.spectrum-Detail--light em{font-style:var(\n--mod-detail-serif-light-emphasized-font-style,var(--spectrum-detail-serif-light-emphasized-font-style)\n);font-weight:var(\n--mod-detail-serif-light-emphasized-font-weight,var(--spectrum-detail-serif-light-emphasized-font-weight)\n)}.spectrum-Detail--serif.spectrum-Detail--light .spectrum-Detail-strong.spectrum-Body-emphasized,.spectrum-Detail--serif.spectrum-Detail--light em strong,.spectrum-Detail--serif.spectrum-Detail--light strong em{font-style:var(\n--mod-detail-serif-light-strong-emphasized-font-style,var(--spectrum-detail-serif-light-strong-emphasized-font-style)\n);font-weight:var(\n--mod-detail-serif-light-strong-emphasized-font-weight,var(--spectrum-detail-serif-light-strong-emphasized-font-weight)\n)}.spectrum-Typography .spectrum-Detail{margin-block-end:var(\n--mod-detail-margin-end,var(--spectrum-detail-margin-end)\n);margin-block-start:var(\n--mod-detail-margin-start,var(--spectrum-detail-margin-start)\n)}.spectrum-Code{--spectrum-code-font-family:var(--spectrum-code-font-family-stack);--spectrum-code-cjk-letter-spacing:var(--spectrum-cjk-letter-spacing);--spectrum-code-font-color:var(--spectrum-code-color)}@media (forced-colors:active){.spectrum-Code{--highcontrast-code-font-color:Text}}.spectrum-Code--sizeXS{--spectrum-code-font-size:var(--spectrum-code-size-xs)}.spectrum-Code--sizeS{--spectrum-code-font-size:var(--spectrum-code-size-s)}.spectrum-Code--sizeM{--spectrum-code-font-size:var(--spectrum-code-size-m)}.spectrum-Code--sizeL{--spectrum-code-font-size:var(--spectrum-code-size-l)}.spectrum-Code--sizeXL{--spectrum-code-font-size:var(--spectrum-code-size-xl)}.spectrum-Code{color:var(\n--highcontrast-code-font-color,var(--mod-code-font-color,var(--spectrum-code-font-color))\n);font-family:var(--mod-code-font-family,var(--spectrum-code-font-family));font-size:var(--mod-code-font-size,var(--spectrum-code-font-size));font-style:var(--mod-code-font-style,var(--spectrum-code-font-style));font-weight:var(--mod-code-font-weight,var(--spectrum-code-font-weight));line-height:var(--mod-code-line-height,var(--spectrum-code-line-height));margin-block-end:0;margin-block-start:0}.spectrum-Code .spectrum-Code-strong,.spectrum-Code strong{font-style:var(\n--mod-code-strong-font-style,var(--spectrum-code-strong-font-style)\n);font-weight:var(\n--mod-code-strong-font-weight,var(--spectrum-code-strong-font-weight)\n)}.spectrum-Code .spectrum-Code-emphasized,.spectrum-Code em{font-style:var(\n--mod-code-emphasized-font-style,var(--spectrum-code-emphasized-font-style)\n);font-weight:var(\n--mod-code-emphasized-font-weight,var(--spectrum-code-emphasized-font-weight)\n)}.spectrum-Code .spectrum-Code-strong.spectrum-Code-emphasized,.spectrum-Code em strong,.spectrum-Code strong em{font-style:var(\n--mod-code-strong-emphasized-font-style,var(--spectrum-code-strong-emphasized-font-style)\n);font-weight:var(\n--mod-code-strong-emphasized-font-weight,var(--spectrum-code-strong-emphasized-font-weight)\n)}.spectrum-Code:lang(ja),.spectrum-Code:lang(ko),.spectrum-Code:lang(zh){font-family:var(\n--mod-code-cjk-font-family,var(--spectrum-code-cjk-font-family)\n);font-style:var(\n--mod-code-cjk-font-style,var(--spectrum-code-cjk-font-style)\n);font-weight:var(\n--mod-code-cjk-font-weight,var(--spectrum-code-cjk-font-weight)\n);letter-spacing:var(\n--mod-code-cjk-letter-spacing,var(--spectrum-code-cjk-letter-spacing)\n);line-height:var(\n--mod-code-cjk-line-height,var(--spectrum-code-cjk-line-height)\n)}.spectrum-Code:lang(ja) .spectrum-Code-strong,.spectrum-Code:lang(ja) strong,.spectrum-Code:lang(ko) .spectrum-Code-strong,.spectrum-Code:lang(ko) strong,.spectrum-Code:lang(zh) .spectrum-Code-strong,.spectrum-Code:lang(zh) strong{font-style:var(\n--mod-code-cjk-strong-font-style,var(--spectrum-code-cjk-strong-font-style)\n);font-weight:var(\n--mod-code-cjk-strong-font-weight,var(--spectrum-code-cjk-strong-font-weight)\n)}.spectrum-Code:lang(ja) .spectrum-Code-emphasized,.spectrum-Code:lang(ja) em,.spectrum-Code:lang(ko) .spectrum-Code-emphasized,.spectrum-Code:lang(ko) em,.spectrum-Code:lang(zh) .spectrum-Code-emphasized,.spectrum-Code:lang(zh) em{font-style:var(\n--mod-code-cjk-emphasized-font-style,var(--spectrum-code-cjk-emphasized-font-style)\n);font-weight:var(\n--mod-code-cjk-emphasized-font-weight,var(--spectrum-code-cjk-emphasized-font-weight)\n)}.spectrum-Code:lang(ja) .spectrum-Code-strong.spectrum-Code-emphasized,.spectrum-Code:lang(ja) em strong,.spectrum-Code:lang(ja) strong em,.spectrum-Code:lang(ko) .spectrum-Code-strong.spectrum-Code-emphasized,.spectrum-Code:lang(ko) em strong,.spectrum-Code:lang(ko) strong em,.spectrum-Code:lang(zh) .spectrum-Code-strong.spectrum-Code-emphasized,.spectrum-Code:lang(zh) em strong,.spectrum-Code:lang(zh) strong em{font-style:var(\n--mod-code-cjk-strong-emphasized-font-style,var(--spectrum-code-cjk-strong-emphasized-font-style)\n);font-weight:var(\n--mod-code-cjk-strong-emphasized-font-weight,var(--spectrum-code-cjk-strong-emphasized-font-weight)\n)}:host{display:block}#scale,#theme{height:100%;width:100%}\n'])));var Ri;Ti.registerThemeFragment("spectrum","theme",Ii),Ti.registerThemeFragment("darkest","color",Ei);const ji=(0,Si.iv)(Ri||(Ri=(0,zi.Z)(["\n:host,:root{--spectrum-global-color-status:Verified;--spectrum-global-color-version:5.1.0;--spectrum-global-color-opacity-100:1;--spectrum-global-color-opacity-90:0.9;--spectrum-global-color-opacity-80:0.8;--spectrum-global-color-opacity-70:0.7;--spectrum-global-color-opacity-60:0.6;--spectrum-global-color-opacity-55:0.55;--spectrum-global-color-opacity-50:0.5;--spectrum-global-color-opacity-42:0.42;--spectrum-global-color-opacity-40:0.4;--spectrum-global-color-opacity-30:0.3;--spectrum-global-color-opacity-25:0.25;--spectrum-global-color-opacity-20:0.2;--spectrum-global-color-opacity-15:0.15;--spectrum-global-color-opacity-10:0.1;--spectrum-global-color-opacity-8:0.08;--spectrum-global-color-opacity-7:0.07;--spectrum-global-color-opacity-6:0.06;--spectrum-global-color-opacity-5:0.05;--spectrum-global-color-opacity-4:0.04;--spectrum-global-color-opacity-0:0;--spectrum-global-color-celery-400-rgb:34,184,51;--spectrum-global-color-celery-400:rgb(var(--spectrum-global-color-celery-400-rgb));--spectrum-global-color-celery-500-rgb:68,202,73;--spectrum-global-color-celery-500:rgb(var(--spectrum-global-color-celery-500-rgb));--spectrum-global-color-celery-600-rgb:105,220,99;--spectrum-global-color-celery-600:rgb(var(--spectrum-global-color-celery-600-rgb));--spectrum-global-color-celery-700-rgb:142,235,127;--spectrum-global-color-celery-700:rgb(var(--spectrum-global-color-celery-700-rgb));--spectrum-global-color-chartreuse-400-rgb:148,192,8;--spectrum-global-color-chartreuse-400:rgb(var(--spectrum-global-color-chartreuse-400-rgb));--spectrum-global-color-chartreuse-500-rgb:166,211,18;--spectrum-global-color-chartreuse-500:rgb(var(--spectrum-global-color-chartreuse-500-rgb));--spectrum-global-color-chartreuse-600-rgb:184,229,37;--spectrum-global-color-chartreuse-600:rgb(var(--spectrum-global-color-chartreuse-600-rgb));--spectrum-global-color-chartreuse-700-rgb:205,245,71;--spectrum-global-color-chartreuse-700:rgb(var(--spectrum-global-color-chartreuse-700-rgb));--spectrum-global-color-yellow-400-rgb:228,194,0;--spectrum-global-color-yellow-400:rgb(var(--spectrum-global-color-yellow-400-rgb));--spectrum-global-color-yellow-500-rgb:244,213,0;--spectrum-global-color-yellow-500:rgb(var(--spectrum-global-color-yellow-500-rgb));--spectrum-global-color-yellow-600-rgb:249,232,92;--spectrum-global-color-yellow-600:rgb(var(--spectrum-global-color-yellow-600-rgb));--spectrum-global-color-yellow-700-rgb:252,246,187;--spectrum-global-color-yellow-700:rgb(var(--spectrum-global-color-yellow-700-rgb));--spectrum-global-color-magenta-400-rgb:222,61,130;--spectrum-global-color-magenta-400:rgb(var(--spectrum-global-color-magenta-400-rgb));--spectrum-global-color-magenta-500-rgb:237,87,149;--spectrum-global-color-magenta-500:rgb(var(--spectrum-global-color-magenta-500-rgb));--spectrum-global-color-magenta-600-rgb:249,114,167;--spectrum-global-color-magenta-600:rgb(var(--spectrum-global-color-magenta-600-rgb));--spectrum-global-color-magenta-700-rgb:255,143,185;--spectrum-global-color-magenta-700:rgb(var(--spectrum-global-color-magenta-700-rgb));--spectrum-global-color-fuchsia-400-rgb:205,57,206;--spectrum-global-color-fuchsia-400:rgb(var(--spectrum-global-color-fuchsia-400-rgb));--spectrum-global-color-fuchsia-500-rgb:223,81,224;--spectrum-global-color-fuchsia-500:rgb(var(--spectrum-global-color-fuchsia-500-rgb));--spectrum-global-color-fuchsia-600-rgb:235,110,236;--spectrum-global-color-fuchsia-600:rgb(var(--spectrum-global-color-fuchsia-600-rgb));--spectrum-global-color-fuchsia-700-rgb:244,140,242;--spectrum-global-color-fuchsia-700:rgb(var(--spectrum-global-color-fuchsia-700-rgb));--spectrum-global-color-purple-400-rgb:157,87,243;--spectrum-global-color-purple-400:rgb(var(--spectrum-global-color-purple-400-rgb));--spectrum-global-color-purple-500-rgb:172,111,249;--spectrum-global-color-purple-500:rgb(var(--spectrum-global-color-purple-500-rgb));--spectrum-global-color-purple-600-rgb:187,135,251;--spectrum-global-color-purple-600:rgb(var(--spectrum-global-color-purple-600-rgb));--spectrum-global-color-purple-700-rgb:202,159,252;--spectrum-global-color-purple-700:rgb(var(--spectrum-global-color-purple-700-rgb));--spectrum-global-color-indigo-400-rgb:104,109,244;--spectrum-global-color-indigo-400:rgb(var(--spectrum-global-color-indigo-400-rgb));--spectrum-global-color-indigo-500-rgb:124,129,251;--spectrum-global-color-indigo-500:rgb(var(--spectrum-global-color-indigo-500-rgb));--spectrum-global-color-indigo-600-rgb:145,149,255;--spectrum-global-color-indigo-600:rgb(var(--spectrum-global-color-indigo-600-rgb));--spectrum-global-color-indigo-700-rgb:167,170,255;--spectrum-global-color-indigo-700:rgb(var(--spectrum-global-color-indigo-700-rgb));--spectrum-global-color-seafoam-400-rgb:0,158,152;--spectrum-global-color-seafoam-400:rgb(var(--spectrum-global-color-seafoam-400-rgb));--spectrum-global-color-seafoam-500-rgb:3,178,171;--spectrum-global-color-seafoam-500:rgb(var(--spectrum-global-color-seafoam-500-rgb));--spectrum-global-color-seafoam-600-rgb:54,197,189;--spectrum-global-color-seafoam-600:rgb(var(--spectrum-global-color-seafoam-600-rgb));--spectrum-global-color-seafoam-700-rgb:93,214,207;--spectrum-global-color-seafoam-700:rgb(var(--spectrum-global-color-seafoam-700-rgb));--spectrum-global-color-red-400-rgb:234,56,41;--spectrum-global-color-red-400:rgb(var(--spectrum-global-color-red-400-rgb));--spectrum-global-color-red-500-rgb:246,88,67;--spectrum-global-color-red-500:rgb(var(--spectrum-global-color-red-500-rgb));--spectrum-global-color-red-600-rgb:255,117,94;--spectrum-global-color-red-600:rgb(var(--spectrum-global-color-red-600-rgb));--spectrum-global-color-red-700-rgb:255,149,129;--spectrum-global-color-red-700:rgb(var(--spectrum-global-color-red-700-rgb));--spectrum-global-color-orange-400-rgb:244,129,12;--spectrum-global-color-orange-400:rgb(var(--spectrum-global-color-orange-400-rgb));--spectrum-global-color-orange-500-rgb:254,154,46;--spectrum-global-color-orange-500:rgb(var(--spectrum-global-color-orange-500-rgb));--spectrum-global-color-orange-600-rgb:255,181,88;--spectrum-global-color-orange-600:rgb(var(--spectrum-global-color-orange-600-rgb));--spectrum-global-color-orange-700-rgb:253,206,136;--spectrum-global-color-orange-700:rgb(var(--spectrum-global-color-orange-700-rgb));--spectrum-global-color-green-400-rgb:18,162,108;--spectrum-global-color-green-400:rgb(var(--spectrum-global-color-green-400-rgb));--spectrum-global-color-green-500-rgb:43,180,125;--spectrum-global-color-green-500:rgb(var(--spectrum-global-color-green-500-rgb));--spectrum-global-color-green-600-rgb:67,199,143;--spectrum-global-color-green-600:rgb(var(--spectrum-global-color-green-600-rgb));--spectrum-global-color-green-700-rgb:94,217,162;--spectrum-global-color-green-700:rgb(var(--spectrum-global-color-green-700-rgb));--spectrum-global-color-blue-400-rgb:52,143,244;--spectrum-global-color-blue-400:rgb(var(--spectrum-global-color-blue-400-rgb));--spectrum-global-color-blue-500-rgb:84,163,246;--spectrum-global-color-blue-500:rgb(var(--spectrum-global-color-blue-500-rgb));--spectrum-global-color-blue-600-rgb:114,183,249;--spectrum-global-color-blue-600:rgb(var(--spectrum-global-color-blue-600-rgb));--spectrum-global-color-blue-700-rgb:143,202,252;--spectrum-global-color-blue-700:rgb(var(--spectrum-global-color-blue-700-rgb));--spectrum-global-color-gray-50-rgb:29,29,29;--spectrum-global-color-gray-50:rgb(var(--spectrum-global-color-gray-50-rgb));--spectrum-global-color-gray-75-rgb:38,38,38;--spectrum-global-color-gray-75:rgb(var(--spectrum-global-color-gray-75-rgb));--spectrum-global-color-gray-100-rgb:50,50,50;--spectrum-global-color-gray-100:rgb(var(--spectrum-global-color-gray-100-rgb));--spectrum-global-color-gray-200-rgb:63,63,63;--spectrum-global-color-gray-200:rgb(var(--spectrum-global-color-gray-200-rgb));--spectrum-global-color-gray-300-rgb:84,84,84;--spectrum-global-color-gray-300:rgb(var(--spectrum-global-color-gray-300-rgb));--spectrum-global-color-gray-400-rgb:112,112,112;--spectrum-global-color-gray-400:rgb(var(--spectrum-global-color-gray-400-rgb));--spectrum-global-color-gray-500-rgb:144,144,144;--spectrum-global-color-gray-500:rgb(var(--spectrum-global-color-gray-500-rgb));--spectrum-global-color-gray-600-rgb:178,178,178;--spectrum-global-color-gray-600:rgb(var(--spectrum-global-color-gray-600-rgb));--spectrum-global-color-gray-700-rgb:209,209,209;--spectrum-global-color-gray-700:rgb(var(--spectrum-global-color-gray-700-rgb));--spectrum-global-color-gray-800-rgb:235,235,235;--spectrum-global-color-gray-800:rgb(var(--spectrum-global-color-gray-800-rgb));--spectrum-global-color-gray-900-rgb:255,255,255;--spectrum-global-color-gray-900:rgb(var(--spectrum-global-color-gray-900-rgb));--spectrum-alias-background-color-primary:var(\n--spectrum-global-color-gray-100\n);--spectrum-alias-background-color-secondary:var(\n--spectrum-global-color-gray-75\n);--spectrum-alias-background-color-tertiary:var(\n--spectrum-global-color-gray-50\n);--spectrum-alias-background-color-modal-overlay:rgba(0,0,0,.5);--spectrum-alias-dropshadow-color:rgba(0,0,0,.5);--spectrum-alias-background-color-hover-overlay:hsla(0,0%,100%,.06);--spectrum-alias-highlight-hover:hsla(0,0%,100%,.07);--spectrum-alias-highlight-down:hsla(0,0%,100%,.1);--spectrum-alias-highlight-selected:rgba(84,163,246,.15);--spectrum-alias-highlight-selected-hover:rgba(84,163,246,.25);--spectrum-alias-text-highlight-color:rgba(84,163,246,.25);--spectrum-alias-background-color-quickactions:rgba(50,50,50,.9);--spectrum-alias-border-color-selected:var(\n--spectrum-global-color-blue-600\n);--spectrum-alias-border-color-translucent:hsla(0,0%,100%,.1);--spectrum-alias-radial-reaction-color-default:hsla(0,0%,92%,.6);--spectrum-alias-pasteboard-background-color:var(\n--spectrum-global-color-gray-50\n);--spectrum-alias-appframe-border-color:var(\n--spectrum-global-color-gray-50\n);--spectrum-alias-appframe-separator-color:var(\n--spectrum-global-color-gray-50\n);--spectrum-scrollbar-mac-s-track-background-color:var(\n--spectrum-global-color-gray-100\n);--spectrum-scrollbar-mac-m-track-background-color:var(\n--spectrum-global-color-gray-100\n);--spectrum-scrollbar-mac-l-track-background-color:var(\n--spectrum-global-color-gray-100\n);--spectrum-well-background-color:hsla(0,0%,92%,.02);--spectrum-well-border-color:hsla(0,0%,100%,.05)}:host,:root{color-scheme:dark}:host,:root{--spectrum-overlay-opacity:0.5;--spectrum-drop-shadow-color-rgb:0,0,0;--spectrum-drop-shadow-color-opacity:0.5;--spectrum-drop-shadow-color:rgba(var(--spectrum-drop-shadow-color-rgb),var(--spectrum-drop-shadow-color-opacity));--spectrum-background-base-color:var(--spectrum-gray-50);--spectrum-background-layer-1-color:var(--spectrum-gray-75);--spectrum-background-layer-2-color:var(--spectrum-gray-100);--spectrum-neutral-background-color-default:var(--spectrum-gray-400);--spectrum-neutral-background-color-hover:var(--spectrum-gray-300);--spectrum-neutral-background-color-down:var(--spectrum-gray-200);--spectrum-neutral-background-color-key-focus:var(--spectrum-gray-300);--spectrum-neutral-subdued-background-color-default:var(\n--spectrum-gray-400\n);--spectrum-neutral-subdued-background-color-hover:var(--spectrum-gray-300);--spectrum-neutral-subdued-background-color-down:var(--spectrum-gray-200);--spectrum-neutral-subdued-background-color-key-focus:var(\n--spectrum-gray-300\n);--spectrum-accent-background-color-default:var(\n--spectrum-accent-color-500\n);--spectrum-accent-background-color-hover:var(--spectrum-accent-color-400);--spectrum-accent-background-color-down:var(--spectrum-accent-color-300);--spectrum-accent-background-color-key-focus:var(\n--spectrum-accent-color-400\n);--spectrum-informative-background-color-default:var(\n--spectrum-informative-color-500\n);--spectrum-informative-background-color-hover:var(\n--spectrum-informative-color-400\n);--spectrum-informative-background-color-down:var(\n--spectrum-informative-color-300\n);--spectrum-informative-background-color-key-focus:var(\n--spectrum-informative-color-400\n);--spectrum-negative-background-color-default:var(\n--spectrum-negative-color-500\n);--spectrum-negative-background-color-hover:var(\n--spectrum-negative-color-400\n);--spectrum-negative-background-color-down:var(\n--spectrum-negative-color-300\n);--spectrum-negative-background-color-key-focus:var(\n--spectrum-negative-color-400\n);--spectrum-positive-background-color-default:var(\n--spectrum-positive-color-500\n);--spectrum-positive-background-color-hover:var(\n--spectrum-positive-color-400\n);--spectrum-positive-background-color-down:var(\n--spectrum-positive-color-300\n);--spectrum-positive-background-color-key-focus:var(\n--spectrum-positive-color-400\n);--spectrum-notice-background-color-default:var(\n--spectrum-notice-color-800\n);--spectrum-gray-background-color-default:var(--spectrum-gray-700);--spectrum-red-background-color-default:var(--spectrum-red-700);--spectrum-orange-background-color-default:var(--spectrum-orange-800);--spectrum-yellow-background-color-default:var(--spectrum-yellow-1000);--spectrum-chartreuse-background-color-default:var(\n--spectrum-chartreuse-900\n);--spectrum-celery-background-color-default:var(--spectrum-celery-800);--spectrum-green-background-color-default:var(--spectrum-green-700);--spectrum-seafoam-background-color-default:var(--spectrum-seafoam-700);--spectrum-cyan-background-color-default:var(--spectrum-cyan-700);--spectrum-blue-background-color-default:var(--spectrum-blue-700);--spectrum-indigo-background-color-default:var(--spectrum-indigo-700);--spectrum-purple-background-color-default:var(--spectrum-purple-700);--spectrum-fuchsia-background-color-default:var(--spectrum-fuchsia-700);--spectrum-magenta-background-color-default:var(--spectrum-magenta-700);--spectrum-neutral-visual-color:var(--spectrum-gray-600);--spectrum-accent-visual-color:var(--spectrum-accent-color-900);--spectrum-informative-visual-color:var(--spectrum-informative-color-900);--spectrum-negative-visual-color:var(--spectrum-negative-color-700);--spectrum-notice-visual-color:var(--spectrum-notice-color-900);--spectrum-positive-visual-color:var(--spectrum-positive-color-800);--spectrum-gray-visual-color:var(--spectrum-gray-600);--spectrum-red-visual-color:var(--spectrum-red-700);--spectrum-orange-visual-color:var(--spectrum-orange-900);--spectrum-yellow-visual-color:var(--spectrum-yellow-1100);--spectrum-chartreuse-visual-color:var(--spectrum-chartreuse-900);--spectrum-celery-visual-color:var(--spectrum-celery-800);--spectrum-green-visual-color:var(--spectrum-green-800);--spectrum-seafoam-visual-color:var(--spectrum-seafoam-800);--spectrum-cyan-visual-color:var(--spectrum-cyan-900);--spectrum-blue-visual-color:var(--spectrum-blue-900);--spectrum-indigo-visual-color:var(--spectrum-indigo-900);--spectrum-purple-visual-color:var(--spectrum-purple-900);--spectrum-fuchsia-visual-color:var(--spectrum-fuchsia-900);--spectrum-magenta-visual-color:var(--spectrum-magenta-900);--spectrum-opacity-checkerboard-square-dark:var(--spectrum-gray-800);--spectrum-gray-50-rgb:29,29,29;--spectrum-gray-50:rgba(var(--spectrum-gray-50-rgb));--spectrum-gray-75-rgb:38,38,38;--spectrum-gray-75:rgba(var(--spectrum-gray-75-rgb));--spectrum-gray-100-rgb:50,50,50;--spectrum-gray-100:rgba(var(--spectrum-gray-100-rgb));--spectrum-gray-200-rgb:63,63,63;--spectrum-gray-200:rgba(var(--spectrum-gray-200-rgb));--spectrum-gray-300-rgb:84,84,84;--spectrum-gray-300:rgba(var(--spectrum-gray-300-rgb));--spectrum-gray-400-rgb:112,112,112;--spectrum-gray-400:rgba(var(--spectrum-gray-400-rgb));--spectrum-gray-500-rgb:144,144,144;--spectrum-gray-500:rgba(var(--spectrum-gray-500-rgb));--spectrum-gray-600-rgb:178,178,178;--spectrum-gray-600:rgba(var(--spectrum-gray-600-rgb));--spectrum-gray-700-rgb:209,209,209;--spectrum-gray-700:rgba(var(--spectrum-gray-700-rgb));--spectrum-gray-800-rgb:235,235,235;--spectrum-gray-800:rgba(var(--spectrum-gray-800-rgb));--spectrum-gray-900-rgb:255,255,255;--spectrum-gray-900:rgba(var(--spectrum-gray-900-rgb));--spectrum-blue-100-rgb:0,56,119;--spectrum-blue-100:rgba(var(--spectrum-blue-100-rgb));--spectrum-blue-200-rgb:0,65,138;--spectrum-blue-200:rgba(var(--spectrum-blue-200-rgb));--spectrum-blue-300-rgb:0,77,163;--spectrum-blue-300:rgba(var(--spectrum-blue-300-rgb));--spectrum-blue-400-rgb:0,89,194;--spectrum-blue-400:rgba(var(--spectrum-blue-400-rgb));--spectrum-blue-500-rgb:3,103,224;--spectrum-blue-500:rgba(var(--spectrum-blue-500-rgb));--spectrum-blue-600-rgb:19,121,243;--spectrum-blue-600:rgba(var(--spectrum-blue-600-rgb));--spectrum-blue-700-rgb:52,143,244;--spectrum-blue-700:rgba(var(--spectrum-blue-700-rgb));--spectrum-blue-800-rgb:84,163,246;--spectrum-blue-800:rgba(var(--spectrum-blue-800-rgb));--spectrum-blue-900-rgb:114,183,249;--spectrum-blue-900:rgba(var(--spectrum-blue-900-rgb));--spectrum-blue-1000-rgb:143,202,252;--spectrum-blue-1000:rgba(var(--spectrum-blue-1000-rgb));--spectrum-blue-1100-rgb:174,219,254;--spectrum-blue-1100:rgba(var(--spectrum-blue-1100-rgb));--spectrum-blue-1200-rgb:204,233,255;--spectrum-blue-1200:rgba(var(--spectrum-blue-1200-rgb));--spectrum-blue-1300-rgb:232,246,255;--spectrum-blue-1300:rgba(var(--spectrum-blue-1300-rgb));--spectrum-blue-1400-rgb:255,255,255;--spectrum-blue-1400:rgba(var(--spectrum-blue-1400-rgb));--spectrum-red-100-rgb:123,0,0;--spectrum-red-100:rgba(var(--spectrum-red-100-rgb));--spectrum-red-200-rgb:141,0,0;--spectrum-red-200:rgba(var(--spectrum-red-200-rgb));--spectrum-red-300-rgb:165,0,0;--spectrum-red-300:rgba(var(--spectrum-red-300-rgb));--spectrum-red-400-rgb:190,4,3;--spectrum-red-400:rgba(var(--spectrum-red-400-rgb));--spectrum-red-500-rgb:215,25,19;--spectrum-red-500:rgba(var(--spectrum-red-500-rgb));--spectrum-red-600-rgb:234,56,41;--spectrum-red-600:rgba(var(--spectrum-red-600-rgb));--spectrum-red-700-rgb:246,88,67;--spectrum-red-700:rgba(var(--spectrum-red-700-rgb));--spectrum-red-800-rgb:255,117,94;--spectrum-red-800:rgba(var(--spectrum-red-800-rgb));--spectrum-red-900-rgb:255,149,129;--spectrum-red-900:rgba(var(--spectrum-red-900-rgb));--spectrum-red-1000-rgb:255,176,161;--spectrum-red-1000:rgba(var(--spectrum-red-1000-rgb));--spectrum-red-1100-rgb:255,201,189;--spectrum-red-1100:rgba(var(--spectrum-red-1100-rgb));--spectrum-red-1200-rgb:255,222,216;--spectrum-red-1200:rgba(var(--spectrum-red-1200-rgb));--spectrum-red-1300-rgb:255,241,238;--spectrum-red-1300:rgba(var(--spectrum-red-1300-rgb));--spectrum-red-1400-rgb:255,255,255;--spectrum-red-1400:rgba(var(--spectrum-red-1400-rgb));--spectrum-orange-100-rgb:102,37,0;--spectrum-orange-100:rgba(var(--spectrum-orange-100-rgb));--spectrum-orange-200-rgb:117,45,0;--spectrum-orange-200:rgba(var(--spectrum-orange-200-rgb));--spectrum-orange-300-rgb:137,55,0;--spectrum-orange-300:rgba(var(--spectrum-orange-300-rgb));--spectrum-orange-400-rgb:158,66,0;--spectrum-orange-400:rgba(var(--spectrum-orange-400-rgb));--spectrum-orange-500-rgb:180,78,0;--spectrum-orange-500:rgba(var(--spectrum-orange-500-rgb));--spectrum-orange-600-rgb:202,93,0;--spectrum-orange-600:rgba(var(--spectrum-orange-600-rgb));--spectrum-orange-700-rgb:225,109,0;--spectrum-orange-700:rgba(var(--spectrum-orange-700-rgb));--spectrum-orange-800-rgb:244,129,12;--spectrum-orange-800:rgba(var(--spectrum-orange-800-rgb));--spectrum-orange-900-rgb:254,154,46;--spectrum-orange-900:rgba(var(--spectrum-orange-900-rgb));--spectrum-orange-1000-rgb:255,181,88;--spectrum-orange-1000:rgba(var(--spectrum-orange-1000-rgb));--spectrum-orange-1100-rgb:253,206,136;--spectrum-orange-1100:rgba(var(--spectrum-orange-1100-rgb));--spectrum-orange-1200-rgb:255,225,179;--spectrum-orange-1200:rgba(var(--spectrum-orange-1200-rgb));--spectrum-orange-1300-rgb:255,242,221;--spectrum-orange-1300:rgba(var(--spectrum-orange-1300-rgb));--spectrum-orange-1400-rgb:255,253,249;--spectrum-orange-1400:rgba(var(--spectrum-orange-1400-rgb));--spectrum-yellow-100-rgb:76,54,0;--spectrum-yellow-100:rgba(var(--spectrum-yellow-100-rgb));--spectrum-yellow-200-rgb:88,64,0;--spectrum-yellow-200:rgba(var(--spectrum-yellow-200-rgb));--spectrum-yellow-300-rgb:103,76,0;--spectrum-yellow-300:rgba(var(--spectrum-yellow-300-rgb));--spectrum-yellow-400-rgb:119,89,0;--spectrum-yellow-400:rgba(var(--spectrum-yellow-400-rgb));--spectrum-yellow-500-rgb:136,104,0;--spectrum-yellow-500:rgba(var(--spectrum-yellow-500-rgb));--spectrum-yellow-600-rgb:155,120,0;--spectrum-yellow-600:rgba(var(--spectrum-yellow-600-rgb));--spectrum-yellow-700-rgb:174,137,0;--spectrum-yellow-700:rgba(var(--spectrum-yellow-700-rgb));--spectrum-yellow-800-rgb:192,156,0;--spectrum-yellow-800:rgba(var(--spectrum-yellow-800-rgb));--spectrum-yellow-900-rgb:211,174,0;--spectrum-yellow-900:rgba(var(--spectrum-yellow-900-rgb));--spectrum-yellow-1000-rgb:228,194,0;--spectrum-yellow-1000:rgba(var(--spectrum-yellow-1000-rgb));--spectrum-yellow-1100-rgb:244,213,0;--spectrum-yellow-1100:rgba(var(--spectrum-yellow-1100-rgb));--spectrum-yellow-1200-rgb:249,232,92;--spectrum-yellow-1200:rgba(var(--spectrum-yellow-1200-rgb));--spectrum-yellow-1300-rgb:252,246,187;--spectrum-yellow-1300:rgba(var(--spectrum-yellow-1300-rgb));--spectrum-yellow-1400-rgb:255,255,255;--spectrum-yellow-1400:rgba(var(--spectrum-yellow-1400-rgb));--spectrum-chartreuse-100-rgb:48,64,0;--spectrum-chartreuse-100:rgba(var(--spectrum-chartreuse-100-rgb));--spectrum-chartreuse-200-rgb:55,74,0;--spectrum-chartreuse-200:rgba(var(--spectrum-chartreuse-200-rgb));--spectrum-chartreuse-300-rgb:65,87,0;--spectrum-chartreuse-300:rgba(var(--spectrum-chartreuse-300-rgb));--spectrum-chartreuse-400-rgb:76,102,0;--spectrum-chartreuse-400:rgba(var(--spectrum-chartreuse-400-rgb));--spectrum-chartreuse-500-rgb:89,118,0;--spectrum-chartreuse-500:rgba(var(--spectrum-chartreuse-500-rgb));--spectrum-chartreuse-600-rgb:102,136,0;--spectrum-chartreuse-600:rgba(var(--spectrum-chartreuse-600-rgb));--spectrum-chartreuse-700-rgb:117,154,0;--spectrum-chartreuse-700:rgba(var(--spectrum-chartreuse-700-rgb));--spectrum-chartreuse-800-rgb:132,173,1;--spectrum-chartreuse-800:rgba(var(--spectrum-chartreuse-800-rgb));--spectrum-chartreuse-900-rgb:148,192,8;--spectrum-chartreuse-900:rgba(var(--spectrum-chartreuse-900-rgb));--spectrum-chartreuse-1000-rgb:166,211,18;--spectrum-chartreuse-1000:rgba(var(--spectrum-chartreuse-1000-rgb));--spectrum-chartreuse-1100-rgb:184,229,37;--spectrum-chartreuse-1100:rgba(var(--spectrum-chartreuse-1100-rgb));--spectrum-chartreuse-1200-rgb:205,245,71;--spectrum-chartreuse-1200:rgba(var(--spectrum-chartreuse-1200-rgb));--spectrum-chartreuse-1300-rgb:231,254,154;--spectrum-chartreuse-1300:rgba(var(--spectrum-chartreuse-1300-rgb));--spectrum-chartreuse-1400-rgb:255,255,255;--spectrum-chartreuse-1400:rgba(var(--spectrum-chartreuse-1400-rgb));--spectrum-celery-100-rgb:0,69,10;--spectrum-celery-100:rgba(var(--spectrum-celery-100-rgb));--spectrum-celery-200-rgb:0,80,12;--spectrum-celery-200:rgba(var(--spectrum-celery-200-rgb));--spectrum-celery-300-rgb:0,94,14;--spectrum-celery-300:rgba(var(--spectrum-celery-300-rgb));--spectrum-celery-400-rgb:0,109,15;--spectrum-celery-400:rgba(var(--spectrum-celery-400-rgb));--spectrum-celery-500-rgb:0,127,15;--spectrum-celery-500:rgba(var(--spectrum-celery-500-rgb));--spectrum-celery-600-rgb:0,145,18;--spectrum-celery-600:rgba(var(--spectrum-celery-600-rgb));--spectrum-celery-700-rgb:4,165,30;--spectrum-celery-700:rgba(var(--spectrum-celery-700-rgb));--spectrum-celery-800-rgb:34,184,51;--spectrum-celery-800:rgba(var(--spectrum-celery-800-rgb));--spectrum-celery-900-rgb:68,202,73;--spectrum-celery-900:rgba(var(--spectrum-celery-900-rgb));--spectrum-celery-1000-rgb:105,220,99;--spectrum-celery-1000:rgba(var(--spectrum-celery-1000-rgb));--spectrum-celery-1100-rgb:142,235,127;--spectrum-celery-1100:rgba(var(--spectrum-celery-1100-rgb));--spectrum-celery-1200-rgb:180,247,162;--spectrum-celery-1200:rgba(var(--spectrum-celery-1200-rgb));--spectrum-celery-1300-rgb:221,253,211;--spectrum-celery-1300:rgba(var(--spectrum-celery-1300-rgb));--spectrum-celery-1400-rgb:255,255,255;--spectrum-celery-1400:rgba(var(--spectrum-celery-1400-rgb));--spectrum-green-100-rgb:4,67,41;--spectrum-green-100:rgba(var(--spectrum-green-100-rgb));--spectrum-green-200-rgb:0,78,47;--spectrum-green-200:rgba(var(--spectrum-green-200-rgb));--spectrum-green-300-rgb:0,92,56;--spectrum-green-300:rgba(var(--spectrum-green-300-rgb));--spectrum-green-400-rgb:0,108,67;--spectrum-green-400:rgba(var(--spectrum-green-400-rgb));--spectrum-green-500-rgb:0,125,78;--spectrum-green-500:rgba(var(--spectrum-green-500-rgb));--spectrum-green-600-rgb:0,143,93;--spectrum-green-600:rgba(var(--spectrum-green-600-rgb));--spectrum-green-700-rgb:18,162,108;--spectrum-green-700:rgba(var(--spectrum-green-700-rgb));--spectrum-green-800-rgb:43,180,125;--spectrum-green-800:rgba(var(--spectrum-green-800-rgb));--spectrum-green-900-rgb:67,199,143;--spectrum-green-900:rgba(var(--spectrum-green-900-rgb));--spectrum-green-1000-rgb:94,217,162;--spectrum-green-1000:rgba(var(--spectrum-green-1000-rgb));--spectrum-green-1100-rgb:129,233,184;--spectrum-green-1100:rgba(var(--spectrum-green-1100-rgb));--spectrum-green-1200-rgb:177,244,209;--spectrum-green-1200:rgba(var(--spectrum-green-1200-rgb));--spectrum-green-1300-rgb:223,250,234;--spectrum-green-1300:rgba(var(--spectrum-green-1300-rgb));--spectrum-green-1400-rgb:254,255,252;--spectrum-green-1400:rgba(var(--spectrum-green-1400-rgb));--spectrum-seafoam-100-rgb:18,65,63;--spectrum-seafoam-100:rgba(var(--spectrum-seafoam-100-rgb));--spectrum-seafoam-200-rgb:14,76,73;--spectrum-seafoam-200:rgba(var(--spectrum-seafoam-200-rgb));--spectrum-seafoam-300-rgb:4,90,87;--spectrum-seafoam-300:rgba(var(--spectrum-seafoam-300-rgb));--spectrum-seafoam-400-rgb:0,105,101;--spectrum-seafoam-400:rgba(var(--spectrum-seafoam-400-rgb));--spectrum-seafoam-500-rgb:0,122,117;--spectrum-seafoam-500:rgba(var(--spectrum-seafoam-500-rgb));--spectrum-seafoam-600-rgb:0,140,135;--spectrum-seafoam-600:rgba(var(--spectrum-seafoam-600-rgb));--spectrum-seafoam-700-rgb:0,158,152;--spectrum-seafoam-700:rgba(var(--spectrum-seafoam-700-rgb));--spectrum-seafoam-800-rgb:3,178,171;--spectrum-seafoam-800:rgba(var(--spectrum-seafoam-800-rgb));--spectrum-seafoam-900-rgb:54,197,189;--spectrum-seafoam-900:rgba(var(--spectrum-seafoam-900-rgb));--spectrum-seafoam-1000-rgb:93,214,207;--spectrum-seafoam-1000:rgba(var(--spectrum-seafoam-1000-rgb));--spectrum-seafoam-1100-rgb:132,230,223;--spectrum-seafoam-1100:rgba(var(--spectrum-seafoam-1100-rgb));--spectrum-seafoam-1200-rgb:176,242,236;--spectrum-seafoam-1200:rgba(var(--spectrum-seafoam-1200-rgb));--spectrum-seafoam-1300-rgb:223,249,246;--spectrum-seafoam-1300:rgba(var(--spectrum-seafoam-1300-rgb));--spectrum-seafoam-1400-rgb:254,255,254;--spectrum-seafoam-1400:rgba(var(--spectrum-seafoam-1400-rgb));--spectrum-cyan-100-rgb:0,61,98;--spectrum-cyan-100:rgba(var(--spectrum-cyan-100-rgb));--spectrum-cyan-200-rgb:0,71,111;--spectrum-cyan-200:rgba(var(--spectrum-cyan-200-rgb));--spectrum-cyan-300-rgb:0,85,127;--spectrum-cyan-300:rgba(var(--spectrum-cyan-300-rgb));--spectrum-cyan-400-rgb:0,100,145;--spectrum-cyan-400:rgba(var(--spectrum-cyan-400-rgb));--spectrum-cyan-500-rgb:0,116,162;--spectrum-cyan-500:rgba(var(--spectrum-cyan-500-rgb));--spectrum-cyan-600-rgb:0,134,180;--spectrum-cyan-600:rgba(var(--spectrum-cyan-600-rgb));--spectrum-cyan-700-rgb:0,153,198;--spectrum-cyan-700:rgba(var(--spectrum-cyan-700-rgb));--spectrum-cyan-800-rgb:14,173,215;--spectrum-cyan-800:rgba(var(--spectrum-cyan-800-rgb));--spectrum-cyan-900-rgb:44,193,230;--spectrum-cyan-900:rgba(var(--spectrum-cyan-900-rgb));--spectrum-cyan-1000-rgb:84,211,241;--spectrum-cyan-1000:rgba(var(--spectrum-cyan-1000-rgb));--spectrum-cyan-1100-rgb:127,228,249;--spectrum-cyan-1100:rgba(var(--spectrum-cyan-1100-rgb));--spectrum-cyan-1200-rgb:167,241,255;--spectrum-cyan-1200:rgba(var(--spectrum-cyan-1200-rgb));--spectrum-cyan-1300-rgb:215,250,255;--spectrum-cyan-1300:rgba(var(--spectrum-cyan-1300-rgb));--spectrum-cyan-1400-rgb:255,255,255;--spectrum-cyan-1400:rgba(var(--spectrum-cyan-1400-rgb));--spectrum-indigo-100-rgb:40,44,140;--spectrum-indigo-100:rgba(var(--spectrum-indigo-100-rgb));--spectrum-indigo-200-rgb:47,52,163;--spectrum-indigo-200:rgba(var(--spectrum-indigo-200-rgb));--spectrum-indigo-300-rgb:57,63,187;--spectrum-indigo-300:rgba(var(--spectrum-indigo-300-rgb));--spectrum-indigo-400-rgb:70,75,211;--spectrum-indigo-400:rgba(var(--spectrum-indigo-400-rgb));--spectrum-indigo-500-rgb:85,91,231;--spectrum-indigo-500:rgba(var(--spectrum-indigo-500-rgb));--spectrum-indigo-600-rgb:104,109,244;--spectrum-indigo-600:rgba(var(--spectrum-indigo-600-rgb));--spectrum-indigo-700-rgb:124,129,251;--spectrum-indigo-700:rgba(var(--spectrum-indigo-700-rgb));--spectrum-indigo-800-rgb:145,149,255;--spectrum-indigo-800:rgba(var(--spectrum-indigo-800-rgb));--spectrum-indigo-900-rgb:167,170,255;--spectrum-indigo-900:rgba(var(--spectrum-indigo-900-rgb));--spectrum-indigo-1000-rgb:188,190,255;--spectrum-indigo-1000:rgba(var(--spectrum-indigo-1000-rgb));--spectrum-indigo-1100-rgb:208,210,255;--spectrum-indigo-1100:rgba(var(--spectrum-indigo-1100-rgb));--spectrum-indigo-1200-rgb:226,228,255;--spectrum-indigo-1200:rgba(var(--spectrum-indigo-1200-rgb));--spectrum-indigo-1300-rgb:243,243,254;--spectrum-indigo-1300:rgba(var(--spectrum-indigo-1300-rgb));--spectrum-indigo-1400-rgb:255,255,255;--spectrum-indigo-1400:rgba(var(--spectrum-indigo-1400-rgb));--spectrum-purple-100-rgb:76,13,157;--spectrum-purple-100:rgba(var(--spectrum-purple-100-rgb));--spectrum-purple-200-rgb:89,17,177;--spectrum-purple-200:rgba(var(--spectrum-purple-200-rgb));--spectrum-purple-300-rgb:105,28,200;--spectrum-purple-300:rgba(var(--spectrum-purple-300-rgb));--spectrum-purple-400-rgb:122,45,218;--spectrum-purple-400:rgba(var(--spectrum-purple-400-rgb));--spectrum-purple-500-rgb:140,65,233;--spectrum-purple-500:rgba(var(--spectrum-purple-500-rgb));--spectrum-purple-600-rgb:157,87,243;--spectrum-purple-600:rgba(var(--spectrum-purple-600-rgb));--spectrum-purple-700-rgb:172,111,249;--spectrum-purple-700:rgba(var(--spectrum-purple-700-rgb));--spectrum-purple-800-rgb:187,135,251;--spectrum-purple-800:rgba(var(--spectrum-purple-800-rgb));--spectrum-purple-900-rgb:202,159,252;--spectrum-purple-900:rgba(var(--spectrum-purple-900-rgb));--spectrum-purple-1000-rgb:215,182,254;--spectrum-purple-1000:rgba(var(--spectrum-purple-1000-rgb));--spectrum-purple-1100-rgb:228,204,254;--spectrum-purple-1100:rgba(var(--spectrum-purple-1100-rgb));--spectrum-purple-1200-rgb:239,223,255;--spectrum-purple-1200:rgba(var(--spectrum-purple-1200-rgb));--spectrum-purple-1300-rgb:249,240,255;--spectrum-purple-1300:rgba(var(--spectrum-purple-1300-rgb));--spectrum-purple-1400-rgb:255,253,255;--spectrum-purple-1400:rgba(var(--spectrum-purple-1400-rgb));--spectrum-fuchsia-100-rgb:107,3,106;--spectrum-fuchsia-100:rgba(var(--spectrum-fuchsia-100-rgb));--spectrum-fuchsia-200-rgb:123,0,123;--spectrum-fuchsia-200:rgba(var(--spectrum-fuchsia-200-rgb));--spectrum-fuchsia-300-rgb:144,0,145;--spectrum-fuchsia-300:rgba(var(--spectrum-fuchsia-300-rgb));--spectrum-fuchsia-400-rgb:165,13,166;--spectrum-fuchsia-400:rgba(var(--spectrum-fuchsia-400-rgb));--spectrum-fuchsia-500-rgb:185,37,185;--spectrum-fuchsia-500:rgba(var(--spectrum-fuchsia-500-rgb));--spectrum-fuchsia-600-rgb:205,57,206;--spectrum-fuchsia-600:rgba(var(--spectrum-fuchsia-600-rgb));--spectrum-fuchsia-700-rgb:223,81,224;--spectrum-fuchsia-700:rgba(var(--spectrum-fuchsia-700-rgb));--spectrum-fuchsia-800-rgb:235,110,236;--spectrum-fuchsia-800:rgba(var(--spectrum-fuchsia-800-rgb));--spectrum-fuchsia-900-rgb:244,140,242;--spectrum-fuchsia-900:rgba(var(--spectrum-fuchsia-900-rgb));--spectrum-fuchsia-1000-rgb:250,168,245;--spectrum-fuchsia-1000:rgba(var(--spectrum-fuchsia-1000-rgb));--spectrum-fuchsia-1100-rgb:254,194,248;--spectrum-fuchsia-1100:rgba(var(--spectrum-fuchsia-1100-rgb));--spectrum-fuchsia-1200-rgb:255,219,250;--spectrum-fuchsia-1200:rgba(var(--spectrum-fuchsia-1200-rgb));--spectrum-fuchsia-1300-rgb:255,239,252;--spectrum-fuchsia-1300:rgba(var(--spectrum-fuchsia-1300-rgb));--spectrum-fuchsia-1400-rgb:255,253,255;--spectrum-fuchsia-1400:rgba(var(--spectrum-fuchsia-1400-rgb));--spectrum-magenta-100-rgb:118,0,58;--spectrum-magenta-100:rgba(var(--spectrum-magenta-100-rgb));--spectrum-magenta-200-rgb:137,0,66;--spectrum-magenta-200:rgba(var(--spectrum-magenta-200-rgb));--spectrum-magenta-300-rgb:160,0,77;--spectrum-magenta-300:rgba(var(--spectrum-magenta-300-rgb));--spectrum-magenta-400-rgb:182,18,90;--spectrum-magenta-400:rgba(var(--spectrum-magenta-400-rgb));--spectrum-magenta-500-rgb:203,38,109;--spectrum-magenta-500:rgba(var(--spectrum-magenta-500-rgb));--spectrum-magenta-600-rgb:222,61,130;--spectrum-magenta-600:rgba(var(--spectrum-magenta-600-rgb));--spectrum-magenta-700-rgb:237,87,149;--spectrum-magenta-700:rgba(var(--spectrum-magenta-700-rgb));--spectrum-magenta-800-rgb:249,114,167;--spectrum-magenta-800:rgba(var(--spectrum-magenta-800-rgb));--spectrum-magenta-900-rgb:255,143,185;--spectrum-magenta-900:rgba(var(--spectrum-magenta-900-rgb));--spectrum-magenta-1000-rgb:255,172,202;--spectrum-magenta-1000:rgba(var(--spectrum-magenta-1000-rgb));--spectrum-magenta-1100-rgb:255,198,218;--spectrum-magenta-1100:rgba(var(--spectrum-magenta-1100-rgb));--spectrum-magenta-1200-rgb:255,221,233;--spectrum-magenta-1200:rgba(var(--spectrum-magenta-1200-rgb));--spectrum-magenta-1300-rgb:255,240,245;--spectrum-magenta-1300:rgba(var(--spectrum-magenta-1300-rgb));--spectrum-magenta-1400-rgb:255,252,253;--spectrum-magenta-1400:rgba(var(--spectrum-magenta-1400-rgb))}:host,:root{--spectrum-menu-item-background-color-default-rgb:255,255,255;--spectrum-menu-item-background-color-default-opacity:0;--spectrum-menu-item-background-color-default:rgba(var(--spectrum-menu-item-background-color-default-rgb),var(--spectrum-menu-item-background-color-default-opacity));--spectrum-menu-item-background-color-hover:var(\n--spectrum-transparent-white-200\n);--spectrum-menu-item-background-color-down:var(\n--spectrum-transparent-white-200\n);--spectrum-menu-item-background-color-key-focus:var(\n--spectrum-transparent-white-200\n);--spectrum-drop-zone-background-color-rgb:var(\n--spectrum-blue-900-rgb\n)}\n"])));var Ni;Ti.registerThemeFragment("dark","color",ji);const Di=(0,Si.iv)(Ni||(Ni=(0,zi.Z)(["\n:host,:root{--spectrum-global-color-status:Verified;--spectrum-global-color-version:5.1.0;--spectrum-global-color-opacity-100:1;--spectrum-global-color-opacity-90:0.9;--spectrum-global-color-opacity-80:0.8;--spectrum-global-color-opacity-70:0.7;--spectrum-global-color-opacity-60:0.6;--spectrum-global-color-opacity-55:0.55;--spectrum-global-color-opacity-50:0.5;--spectrum-global-color-opacity-42:0.42;--spectrum-global-color-opacity-40:0.4;--spectrum-global-color-opacity-30:0.3;--spectrum-global-color-opacity-25:0.25;--spectrum-global-color-opacity-20:0.2;--spectrum-global-color-opacity-15:0.15;--spectrum-global-color-opacity-10:0.1;--spectrum-global-color-opacity-8:0.08;--spectrum-global-color-opacity-7:0.07;--spectrum-global-color-opacity-6:0.06;--spectrum-global-color-opacity-5:0.05;--spectrum-global-color-opacity-4:0.04;--spectrum-global-color-opacity-0:0;--spectrum-global-color-celery-400-rgb:39,187,54;--spectrum-global-color-celery-400:rgb(var(--spectrum-global-color-celery-400-rgb));--spectrum-global-color-celery-500-rgb:7,167,33;--spectrum-global-color-celery-500:rgb(var(--spectrum-global-color-celery-500-rgb));--spectrum-global-color-celery-600-rgb:0,145,18;--spectrum-global-color-celery-600:rgb(var(--spectrum-global-color-celery-600-rgb));--spectrum-global-color-celery-700-rgb:0,124,15;--spectrum-global-color-celery-700:rgb(var(--spectrum-global-color-celery-700-rgb));--spectrum-global-color-chartreuse-400-rgb:152,197,10;--spectrum-global-color-chartreuse-400:rgb(var(--spectrum-global-color-chartreuse-400-rgb));--spectrum-global-color-chartreuse-500-rgb:135,177,3;--spectrum-global-color-chartreuse-500:rgb(var(--spectrum-global-color-chartreuse-500-rgb));--spectrum-global-color-chartreuse-600-rgb:118,156,0;--spectrum-global-color-chartreuse-600:rgb(var(--spectrum-global-color-chartreuse-600-rgb));--spectrum-global-color-chartreuse-700-rgb:103,136,0;--spectrum-global-color-chartreuse-700:rgb(var(--spectrum-global-color-chartreuse-700-rgb));--spectrum-global-color-yellow-400-rgb:232,198,0;--spectrum-global-color-yellow-400:rgb(var(--spectrum-global-color-yellow-400-rgb));--spectrum-global-color-yellow-500-rgb:215,179,0;--spectrum-global-color-yellow-500:rgb(var(--spectrum-global-color-yellow-500-rgb));--spectrum-global-color-yellow-600-rgb:196,159,0;--spectrum-global-color-yellow-600:rgb(var(--spectrum-global-color-yellow-600-rgb));--spectrum-global-color-yellow-700-rgb:176,140,0;--spectrum-global-color-yellow-700:rgb(var(--spectrum-global-color-yellow-700-rgb));--spectrum-global-color-magenta-400-rgb:222,61,130;--spectrum-global-color-magenta-400:rgb(var(--spectrum-global-color-magenta-400-rgb));--spectrum-global-color-magenta-500-rgb:200,34,105;--spectrum-global-color-magenta-500:rgb(var(--spectrum-global-color-magenta-500-rgb));--spectrum-global-color-magenta-600-rgb:173,9,85;--spectrum-global-color-magenta-600:rgb(var(--spectrum-global-color-magenta-600-rgb));--spectrum-global-color-magenta-700-rgb:142,0,69;--spectrum-global-color-magenta-700:rgb(var(--spectrum-global-color-magenta-700-rgb));--spectrum-global-color-fuchsia-400-rgb:205,58,206;--spectrum-global-color-fuchsia-400:rgb(var(--spectrum-global-color-fuchsia-400-rgb));--spectrum-global-color-fuchsia-500-rgb:182,34,183;--spectrum-global-color-fuchsia-500:rgb(var(--spectrum-global-color-fuchsia-500-rgb));--spectrum-global-color-fuchsia-600-rgb:157,3,158;--spectrum-global-color-fuchsia-600:rgb(var(--spectrum-global-color-fuchsia-600-rgb));--spectrum-global-color-fuchsia-700-rgb:128,0,129;--spectrum-global-color-fuchsia-700:rgb(var(--spectrum-global-color-fuchsia-700-rgb));--spectrum-global-color-purple-400-rgb:157,87,244;--spectrum-global-color-purple-400:rgb(var(--spectrum-global-color-purple-400-rgb));--spectrum-global-color-purple-500-rgb:137,61,231;--spectrum-global-color-purple-500:rgb(var(--spectrum-global-color-purple-500-rgb));--spectrum-global-color-purple-600-rgb:115,38,211;--spectrum-global-color-purple-600:rgb(var(--spectrum-global-color-purple-600-rgb));--spectrum-global-color-purple-700-rgb:93,19,183;--spectrum-global-color-purple-700:rgb(var(--spectrum-global-color-purple-700-rgb));--spectrum-global-color-indigo-400-rgb:104,109,244;--spectrum-global-color-indigo-400:rgb(var(--spectrum-global-color-indigo-400-rgb));--spectrum-global-color-indigo-500-rgb:82,88,228;--spectrum-global-color-indigo-500:rgb(var(--spectrum-global-color-indigo-500-rgb));--spectrum-global-color-indigo-600-rgb:64,70,202;--spectrum-global-color-indigo-600:rgb(var(--spectrum-global-color-indigo-600-rgb));--spectrum-global-color-indigo-700-rgb:50,54,168;--spectrum-global-color-indigo-700:rgb(var(--spectrum-global-color-indigo-700-rgb));--spectrum-global-color-seafoam-400-rgb:0,161,154;--spectrum-global-color-seafoam-400:rgb(var(--spectrum-global-color-seafoam-400-rgb));--spectrum-global-color-seafoam-500-rgb:0,140,135;--spectrum-global-color-seafoam-500:rgb(var(--spectrum-global-color-seafoam-500-rgb));--spectrum-global-color-seafoam-600-rgb:0,119,114;--spectrum-global-color-seafoam-600:rgb(var(--spectrum-global-color-seafoam-600-rgb));--spectrum-global-color-seafoam-700-rgb:0,99,95;--spectrum-global-color-seafoam-700:rgb(var(--spectrum-global-color-seafoam-700-rgb));--spectrum-global-color-red-400-rgb:234,56,41;--spectrum-global-color-red-400:rgb(var(--spectrum-global-color-red-400-rgb));--spectrum-global-color-red-500-rgb:211,21,16;--spectrum-global-color-red-500:rgb(var(--spectrum-global-color-red-500-rgb));--spectrum-global-color-red-600-rgb:180,0,0;--spectrum-global-color-red-600:rgb(var(--spectrum-global-color-red-600-rgb));--spectrum-global-color-red-700-rgb:147,0,0;--spectrum-global-color-red-700:rgb(var(--spectrum-global-color-red-700-rgb));--spectrum-global-color-orange-400-rgb:246,133,17;--spectrum-global-color-orange-400:rgb(var(--spectrum-global-color-orange-400-rgb));--spectrum-global-color-orange-500-rgb:228,111,0;--spectrum-global-color-orange-500:rgb(var(--spectrum-global-color-orange-500-rgb));--spectrum-global-color-orange-600-rgb:203,93,0;--spectrum-global-color-orange-600:rgb(var(--spectrum-global-color-orange-600-rgb));--spectrum-global-color-orange-700-rgb:177,76,0;--spectrum-global-color-orange-700:rgb(var(--spectrum-global-color-orange-700-rgb));--spectrum-global-color-green-400-rgb:0,143,93;--spectrum-global-color-green-400:rgb(var(--spectrum-global-color-green-400-rgb));--spectrum-global-color-green-500-rgb:0,122,77;--spectrum-global-color-green-500:rgb(var(--spectrum-global-color-green-500-rgb));--spectrum-global-color-green-600-rgb:0,101,62;--spectrum-global-color-green-600:rgb(var(--spectrum-global-color-green-600-rgb));--spectrum-global-color-green-700-rgb:0,81,50;--spectrum-global-color-green-700:rgb(var(--spectrum-global-color-green-700-rgb));--spectrum-global-color-blue-400-rgb:20,122,243;--spectrum-global-color-blue-400:rgb(var(--spectrum-global-color-blue-400-rgb));--spectrum-global-color-blue-500-rgb:2,101,220;--spectrum-global-color-blue-500:rgb(var(--spectrum-global-color-blue-500-rgb));--spectrum-global-color-blue-600-rgb:0,84,182;--spectrum-global-color-blue-600:rgb(var(--spectrum-global-color-blue-600-rgb));--spectrum-global-color-blue-700-rgb:0,68,145;--spectrum-global-color-blue-700:rgb(var(--spectrum-global-color-blue-700-rgb));--spectrum-global-color-gray-50-rgb:255,255,255;--spectrum-global-color-gray-50:rgb(var(--spectrum-global-color-gray-50-rgb));--spectrum-global-color-gray-75-rgb:253,253,253;--spectrum-global-color-gray-75:rgb(var(--spectrum-global-color-gray-75-rgb));--spectrum-global-color-gray-100-rgb:248,248,248;--spectrum-global-color-gray-100:rgb(var(--spectrum-global-color-gray-100-rgb));--spectrum-global-color-gray-200-rgb:230,230,230;--spectrum-global-color-gray-200:rgb(var(--spectrum-global-color-gray-200-rgb));--spectrum-global-color-gray-300-rgb:213,213,213;--spectrum-global-color-gray-300:rgb(var(--spectrum-global-color-gray-300-rgb));--spectrum-global-color-gray-400-rgb:177,177,177;--spectrum-global-color-gray-400:rgb(var(--spectrum-global-color-gray-400-rgb));--spectrum-global-color-gray-500-rgb:144,144,144;--spectrum-global-color-gray-500:rgb(var(--spectrum-global-color-gray-500-rgb));--spectrum-global-color-gray-600-rgb:109,109,109;--spectrum-global-color-gray-600:rgb(var(--spectrum-global-color-gray-600-rgb));--spectrum-global-color-gray-700-rgb:70,70,70;--spectrum-global-color-gray-700:rgb(var(--spectrum-global-color-gray-700-rgb));--spectrum-global-color-gray-800-rgb:34,34,34;--spectrum-global-color-gray-800:rgb(var(--spectrum-global-color-gray-800-rgb));--spectrum-global-color-gray-900-rgb:0,0,0;--spectrum-global-color-gray-900:rgb(var(--spectrum-global-color-gray-900-rgb));--spectrum-alias-background-color-primary:var(\n--spectrum-global-color-gray-50\n);--spectrum-alias-background-color-secondary:var(\n--spectrum-global-color-gray-100\n);--spectrum-alias-background-color-tertiary:var(\n--spectrum-global-color-gray-300\n);--spectrum-alias-background-color-modal-overlay:rgba(0,0,0,.4);--spectrum-alias-dropshadow-color:rgba(0,0,0,.15);--spectrum-alias-background-color-hover-overlay:rgba(0,0,0,.04);--spectrum-alias-highlight-hover:rgba(0,0,0,.06);--spectrum-alias-highlight-down:rgba(0,0,0,.1);--spectrum-alias-highlight-selected:rgba(2,101,220,.1);--spectrum-alias-highlight-selected-hover:rgba(2,101,220,.2);--spectrum-alias-text-highlight-color:rgba(2,101,220,.2);--spectrum-alias-background-color-quickactions:hsla(0,0%,97%,.9);--spectrum-alias-border-color-selected:var(\n--spectrum-global-color-blue-500\n);--spectrum-alias-border-color-translucent:rgba(0,0,0,.1);--spectrum-alias-radial-reaction-color-default:rgba(34,34,34,.6);--spectrum-alias-pasteboard-background-color:var(\n--spectrum-global-color-gray-300\n);--spectrum-alias-appframe-border-color:var(\n--spectrum-global-color-gray-300\n);--spectrum-alias-appframe-separator-color:var(\n--spectrum-global-color-gray-300\n);--spectrum-scrollbar-mac-s-track-background-color:var(\n--spectrum-global-color-gray-75\n);--spectrum-scrollbar-mac-m-track-background-color:var(\n--spectrum-global-color-gray-75\n);--spectrum-scrollbar-mac-l-track-background-color:var(\n--spectrum-global-color-gray-75\n);--spectrum-well-background-color:rgba(34,34,34,.02)}:host,:root{color-scheme:light}:host,:root{--spectrum-overlay-opacity:0.4;--spectrum-drop-shadow-color-rgb:0,0,0;--spectrum-drop-shadow-color-opacity:0.15;--spectrum-drop-shadow-color:rgba(var(--spectrum-drop-shadow-color-rgb),var(--spectrum-drop-shadow-color-opacity));--spectrum-background-base-color:var(--spectrum-gray-200);--spectrum-background-layer-1-color:var(--spectrum-gray-100);--spectrum-background-layer-2-color:var(--spectrum-gray-50);--spectrum-neutral-background-color-default:var(--spectrum-gray-800);--spectrum-neutral-background-color-hover:var(--spectrum-gray-900);--spectrum-neutral-background-color-down:var(--spectrum-gray-900);--spectrum-neutral-background-color-key-focus:var(--spectrum-gray-900);--spectrum-neutral-subdued-background-color-default:var(\n--spectrum-gray-600\n);--spectrum-neutral-subdued-background-color-hover:var(--spectrum-gray-700);--spectrum-neutral-subdued-background-color-down:var(--spectrum-gray-800);--spectrum-neutral-subdued-background-color-key-focus:var(\n--spectrum-gray-700\n);--spectrum-accent-background-color-default:var(\n--spectrum-accent-color-900\n);--spectrum-accent-background-color-hover:var(--spectrum-accent-color-1000);--spectrum-accent-background-color-down:var(--spectrum-accent-color-1100);--spectrum-accent-background-color-key-focus:var(\n--spectrum-accent-color-1000\n);--spectrum-informative-background-color-default:var(\n--spectrum-informative-color-900\n);--spectrum-informative-background-color-hover:var(\n--spectrum-informative-color-1000\n);--spectrum-informative-background-color-down:var(\n--spectrum-informative-color-1100\n);--spectrum-informative-background-color-key-focus:var(\n--spectrum-informative-color-1000\n);--spectrum-negative-background-color-default:var(\n--spectrum-negative-color-900\n);--spectrum-negative-background-color-hover:var(\n--spectrum-negative-color-1000\n);--spectrum-negative-background-color-down:var(\n--spectrum-negative-color-1100\n);--spectrum-negative-background-color-key-focus:var(\n--spectrum-negative-color-1000\n);--spectrum-positive-background-color-default:var(\n--spectrum-positive-color-900\n);--spectrum-positive-background-color-hover:var(\n--spectrum-positive-color-1000\n);--spectrum-positive-background-color-down:var(\n--spectrum-positive-color-1100\n);--spectrum-positive-background-color-key-focus:var(\n--spectrum-positive-color-1000\n);--spectrum-notice-background-color-default:var(\n--spectrum-notice-color-600\n);--spectrum-gray-background-color-default:var(--spectrum-gray-700);--spectrum-red-background-color-default:var(--spectrum-red-900);--spectrum-orange-background-color-default:var(--spectrum-orange-600);--spectrum-yellow-background-color-default:var(--spectrum-yellow-400);--spectrum-chartreuse-background-color-default:var(\n--spectrum-chartreuse-500\n);--spectrum-celery-background-color-default:var(--spectrum-celery-600);--spectrum-green-background-color-default:var(--spectrum-green-900);--spectrum-seafoam-background-color-default:var(--spectrum-seafoam-900);--spectrum-cyan-background-color-default:var(--spectrum-cyan-900);--spectrum-blue-background-color-default:var(--spectrum-blue-900);--spectrum-indigo-background-color-default:var(--spectrum-indigo-900);--spectrum-purple-background-color-default:var(--spectrum-purple-900);--spectrum-fuchsia-background-color-default:var(--spectrum-fuchsia-900);--spectrum-magenta-background-color-default:var(--spectrum-magenta-900);--spectrum-neutral-visual-color:var(--spectrum-gray-500);--spectrum-accent-visual-color:var(--spectrum-accent-color-800);--spectrum-informative-visual-color:var(--spectrum-informative-color-800);--spectrum-negative-visual-color:var(--spectrum-negative-color-800);--spectrum-notice-visual-color:var(--spectrum-notice-color-700);--spectrum-positive-visual-color:var(--spectrum-positive-color-700);--spectrum-gray-visual-color:var(--spectrum-gray-500);--spectrum-red-visual-color:var(--spectrum-red-800);--spectrum-orange-visual-color:var(--spectrum-orange-700);--spectrum-yellow-visual-color:var(--spectrum-yellow-600);--spectrum-chartreuse-visual-color:var(--spectrum-chartreuse-600);--spectrum-celery-visual-color:var(--spectrum-celery-700);--spectrum-green-visual-color:var(--spectrum-green-700);--spectrum-seafoam-visual-color:var(--spectrum-seafoam-700);--spectrum-cyan-visual-color:var(--spectrum-cyan-600);--spectrum-blue-visual-color:var(--spectrum-blue-800);--spectrum-indigo-visual-color:var(--spectrum-indigo-800);--spectrum-purple-visual-color:var(--spectrum-purple-800);--spectrum-fuchsia-visual-color:var(--spectrum-fuchsia-800);--spectrum-magenta-visual-color:var(--spectrum-magenta-800);--spectrum-opacity-checkerboard-square-dark:var(--spectrum-gray-200);--spectrum-gray-50-rgb:255,255,255;--spectrum-gray-50:rgba(var(--spectrum-gray-50-rgb));--spectrum-gray-75-rgb:253,253,253;--spectrum-gray-75:rgba(var(--spectrum-gray-75-rgb));--spectrum-gray-100-rgb:248,248,248;--spectrum-gray-100:rgba(var(--spectrum-gray-100-rgb));--spectrum-gray-200-rgb:230,230,230;--spectrum-gray-200:rgba(var(--spectrum-gray-200-rgb));--spectrum-gray-300-rgb:213,213,213;--spectrum-gray-300:rgba(var(--spectrum-gray-300-rgb));--spectrum-gray-400-rgb:177,177,177;--spectrum-gray-400:rgba(var(--spectrum-gray-400-rgb));--spectrum-gray-500-rgb:144,144,144;--spectrum-gray-500:rgba(var(--spectrum-gray-500-rgb));--spectrum-gray-600-rgb:109,109,109;--spectrum-gray-600:rgba(var(--spectrum-gray-600-rgb));--spectrum-gray-700-rgb:70,70,70;--spectrum-gray-700:rgba(var(--spectrum-gray-700-rgb));--spectrum-gray-800-rgb:34,34,34;--spectrum-gray-800:rgba(var(--spectrum-gray-800-rgb));--spectrum-gray-900-rgb:0,0,0;--spectrum-gray-900:rgba(var(--spectrum-gray-900-rgb));--spectrum-blue-100-rgb:224,242,255;--spectrum-blue-100:rgba(var(--spectrum-blue-100-rgb));--spectrum-blue-200-rgb:202,232,255;--spectrum-blue-200:rgba(var(--spectrum-blue-200-rgb));--spectrum-blue-300-rgb:181,222,255;--spectrum-blue-300:rgba(var(--spectrum-blue-300-rgb));--spectrum-blue-400-rgb:150,206,253;--spectrum-blue-400:rgba(var(--spectrum-blue-400-rgb));--spectrum-blue-500-rgb:120,187,250;--spectrum-blue-500:rgba(var(--spectrum-blue-500-rgb));--spectrum-blue-600-rgb:89,167,246;--spectrum-blue-600:rgba(var(--spectrum-blue-600-rgb));--spectrum-blue-700-rgb:56,146,243;--spectrum-blue-700:rgba(var(--spectrum-blue-700-rgb));--spectrum-blue-800-rgb:20,122,243;--spectrum-blue-800:rgba(var(--spectrum-blue-800-rgb));--spectrum-blue-900-rgb:2,101,220;--spectrum-blue-900:rgba(var(--spectrum-blue-900-rgb));--spectrum-blue-1000-rgb:0,84,182;--spectrum-blue-1000:rgba(var(--spectrum-blue-1000-rgb));--spectrum-blue-1100-rgb:0,68,145;--spectrum-blue-1100:rgba(var(--spectrum-blue-1100-rgb));--spectrum-blue-1200-rgb:0,53,113;--spectrum-blue-1200:rgba(var(--spectrum-blue-1200-rgb));--spectrum-blue-1300-rgb:0,39,84;--spectrum-blue-1300:rgba(var(--spectrum-blue-1300-rgb));--spectrum-blue-1400-rgb:0,28,60;--spectrum-blue-1400:rgba(var(--spectrum-blue-1400-rgb));--spectrum-red-100-rgb:255,235,231;--spectrum-red-100:rgba(var(--spectrum-red-100-rgb));--spectrum-red-200-rgb:255,221,214;--spectrum-red-200:rgba(var(--spectrum-red-200-rgb));--spectrum-red-300-rgb:255,205,195;--spectrum-red-300:rgba(var(--spectrum-red-300-rgb));--spectrum-red-400-rgb:255,183,169;--spectrum-red-400:rgba(var(--spectrum-red-400-rgb));--spectrum-red-500-rgb:255,155,136;--spectrum-red-500:rgba(var(--spectrum-red-500-rgb));--spectrum-red-600-rgb:255,124,101;--spectrum-red-600:rgba(var(--spectrum-red-600-rgb));--spectrum-red-700-rgb:247,92,70;--spectrum-red-700:rgba(var(--spectrum-red-700-rgb));--spectrum-red-800-rgb:234,56,41;--spectrum-red-800:rgba(var(--spectrum-red-800-rgb));--spectrum-red-900-rgb:211,21,16;--spectrum-red-900:rgba(var(--spectrum-red-900-rgb));--spectrum-red-1000-rgb:180,0,0;--spectrum-red-1000:rgba(var(--spectrum-red-1000-rgb));--spectrum-red-1100-rgb:147,0,0;--spectrum-red-1100:rgba(var(--spectrum-red-1100-rgb));--spectrum-red-1200-rgb:116,0,0;--spectrum-red-1200:rgba(var(--spectrum-red-1200-rgb));--spectrum-red-1300-rgb:89,0,0;--spectrum-red-1300:rgba(var(--spectrum-red-1300-rgb));--spectrum-red-1400-rgb:67,0,0;--spectrum-red-1400:rgba(var(--spectrum-red-1400-rgb));--spectrum-orange-100-rgb:255,236,204;--spectrum-orange-100:rgba(var(--spectrum-orange-100-rgb));--spectrum-orange-200-rgb:255,223,173;--spectrum-orange-200:rgba(var(--spectrum-orange-200-rgb));--spectrum-orange-300-rgb:253,210,145;--spectrum-orange-300:rgba(var(--spectrum-orange-300-rgb));--spectrum-orange-400-rgb:255,187,99;--spectrum-orange-400:rgba(var(--spectrum-orange-400-rgb));--spectrum-orange-500-rgb:255,160,55;--spectrum-orange-500:rgba(var(--spectrum-orange-500-rgb));--spectrum-orange-600-rgb:246,133,17;--spectrum-orange-600:rgba(var(--spectrum-orange-600-rgb));--spectrum-orange-700-rgb:228,111,0;--spectrum-orange-700:rgba(var(--spectrum-orange-700-rgb));--spectrum-orange-800-rgb:203,93,0;--spectrum-orange-800:rgba(var(--spectrum-orange-800-rgb));--spectrum-orange-900-rgb:177,76,0;--spectrum-orange-900:rgba(var(--spectrum-orange-900-rgb));--spectrum-orange-1000-rgb:149,61,0;--spectrum-orange-1000:rgba(var(--spectrum-orange-1000-rgb));--spectrum-orange-1100-rgb:122,47,0;--spectrum-orange-1100:rgba(var(--spectrum-orange-1100-rgb));--spectrum-orange-1200-rgb:97,35,0;--spectrum-orange-1200:rgba(var(--spectrum-orange-1200-rgb));--spectrum-orange-1300-rgb:73,25,1;--spectrum-orange-1300:rgba(var(--spectrum-orange-1300-rgb));--spectrum-orange-1400-rgb:53,18,1;--spectrum-orange-1400:rgba(var(--spectrum-orange-1400-rgb));--spectrum-yellow-100-rgb:251,241,152;--spectrum-yellow-100:rgba(var(--spectrum-yellow-100-rgb));--spectrum-yellow-200-rgb:248,231,80;--spectrum-yellow-200:rgba(var(--spectrum-yellow-200-rgb));--spectrum-yellow-300-rgb:248,217,4;--spectrum-yellow-300:rgba(var(--spectrum-yellow-300-rgb));--spectrum-yellow-400-rgb:232,198,0;--spectrum-yellow-400:rgba(var(--spectrum-yellow-400-rgb));--spectrum-yellow-500-rgb:215,179,0;--spectrum-yellow-500:rgba(var(--spectrum-yellow-500-rgb));--spectrum-yellow-600-rgb:196,159,0;--spectrum-yellow-600:rgba(var(--spectrum-yellow-600-rgb));--spectrum-yellow-700-rgb:176,140,0;--spectrum-yellow-700:rgba(var(--spectrum-yellow-700-rgb));--spectrum-yellow-800-rgb:155,120,0;--spectrum-yellow-800:rgba(var(--spectrum-yellow-800-rgb));--spectrum-yellow-900-rgb:133,102,0;--spectrum-yellow-900:rgba(var(--spectrum-yellow-900-rgb));--spectrum-yellow-1000-rgb:112,83,0;--spectrum-yellow-1000:rgba(var(--spectrum-yellow-1000-rgb));--spectrum-yellow-1100-rgb:91,67,0;--spectrum-yellow-1100:rgba(var(--spectrum-yellow-1100-rgb));--spectrum-yellow-1200-rgb:72,51,0;--spectrum-yellow-1200:rgba(var(--spectrum-yellow-1200-rgb));--spectrum-yellow-1300-rgb:54,37,0;--spectrum-yellow-1300:rgba(var(--spectrum-yellow-1300-rgb));--spectrum-yellow-1400-rgb:40,26,0;--spectrum-yellow-1400:rgba(var(--spectrum-yellow-1400-rgb));--spectrum-chartreuse-100-rgb:219,252,110;--spectrum-chartreuse-100:rgba(var(--spectrum-chartreuse-100-rgb));--spectrum-chartreuse-200-rgb:203,244,67;--spectrum-chartreuse-200:rgba(var(--spectrum-chartreuse-200-rgb));--spectrum-chartreuse-300-rgb:188,233,42;--spectrum-chartreuse-300:rgba(var(--spectrum-chartreuse-300-rgb));--spectrum-chartreuse-400-rgb:170,216,22;--spectrum-chartreuse-400:rgba(var(--spectrum-chartreuse-400-rgb));--spectrum-chartreuse-500-rgb:152,197,10;--spectrum-chartreuse-500:rgba(var(--spectrum-chartreuse-500-rgb));--spectrum-chartreuse-600-rgb:135,177,3;--spectrum-chartreuse-600:rgba(var(--spectrum-chartreuse-600-rgb));--spectrum-chartreuse-700-rgb:118,156,0;--spectrum-chartreuse-700:rgba(var(--spectrum-chartreuse-700-rgb));--spectrum-chartreuse-800-rgb:103,136,0;--spectrum-chartreuse-800:rgba(var(--spectrum-chartreuse-800-rgb));--spectrum-chartreuse-900-rgb:87,116,0;--spectrum-chartreuse-900:rgba(var(--spectrum-chartreuse-900-rgb));--spectrum-chartreuse-1000-rgb:72,96,0;--spectrum-chartreuse-1000:rgba(var(--spectrum-chartreuse-1000-rgb));--spectrum-chartreuse-1100-rgb:58,77,0;--spectrum-chartreuse-1100:rgba(var(--spectrum-chartreuse-1100-rgb));--spectrum-chartreuse-1200-rgb:44,59,0;--spectrum-chartreuse-1200:rgba(var(--spectrum-chartreuse-1200-rgb));--spectrum-chartreuse-1300-rgb:33,44,0;--spectrum-chartreuse-1300:rgba(var(--spectrum-chartreuse-1300-rgb));--spectrum-chartreuse-1400-rgb:24,31,0;--spectrum-chartreuse-1400:rgba(var(--spectrum-chartreuse-1400-rgb));--spectrum-celery-100-rgb:205,252,191;--spectrum-celery-100:rgba(var(--spectrum-celery-100-rgb));--spectrum-celery-200-rgb:174,246,157;--spectrum-celery-200:rgba(var(--spectrum-celery-200-rgb));--spectrum-celery-300-rgb:150,238,133;--spectrum-celery-300:rgba(var(--spectrum-celery-300-rgb));--spectrum-celery-400-rgb:114,224,106;--spectrum-celery-400:rgba(var(--spectrum-celery-400-rgb));--spectrum-celery-500-rgb:78,207,80;--spectrum-celery-500:rgba(var(--spectrum-celery-500-rgb));--spectrum-celery-600-rgb:39,187,54;--spectrum-celery-600:rgba(var(--spectrum-celery-600-rgb));--spectrum-celery-700-rgb:7,167,33;--spectrum-celery-700:rgba(var(--spectrum-celery-700-rgb));--spectrum-celery-800-rgb:0,145,18;--spectrum-celery-800:rgba(var(--spectrum-celery-800-rgb));--spectrum-celery-900-rgb:0,124,15;--spectrum-celery-900:rgba(var(--spectrum-celery-900-rgb));--spectrum-celery-1000-rgb:0,103,15;--spectrum-celery-1000:rgba(var(--spectrum-celery-1000-rgb));--spectrum-celery-1100-rgb:0,83,13;--spectrum-celery-1100:rgba(var(--spectrum-celery-1100-rgb));--spectrum-celery-1200-rgb:0,64,10;--spectrum-celery-1200:rgba(var(--spectrum-celery-1200-rgb));--spectrum-celery-1300-rgb:0,48,7;--spectrum-celery-1300:rgba(var(--spectrum-celery-1300-rgb));--spectrum-celery-1400-rgb:0,34,5;--spectrum-celery-1400:rgba(var(--spectrum-celery-1400-rgb));--spectrum-green-100-rgb:206,248,224;--spectrum-green-100:rgba(var(--spectrum-green-100-rgb));--spectrum-green-200-rgb:173,244,206;--spectrum-green-200:rgba(var(--spectrum-green-200-rgb));--spectrum-green-300-rgb:137,236,188;--spectrum-green-300:rgba(var(--spectrum-green-300-rgb));--spectrum-green-400-rgb:103,222,168;--spectrum-green-400:rgba(var(--spectrum-green-400-rgb));--spectrum-green-500-rgb:73,204,147;--spectrum-green-500:rgba(var(--spectrum-green-500-rgb));--spectrum-green-600-rgb:47,184,128;--spectrum-green-600:rgba(var(--spectrum-green-600-rgb));--spectrum-green-700-rgb:21,164,110;--spectrum-green-700:rgba(var(--spectrum-green-700-rgb));--spectrum-green-800-rgb:0,143,93;--spectrum-green-800:rgba(var(--spectrum-green-800-rgb));--spectrum-green-900-rgb:0,122,77;--spectrum-green-900:rgba(var(--spectrum-green-900-rgb));--spectrum-green-1000-rgb:0,101,62;--spectrum-green-1000:rgba(var(--spectrum-green-1000-rgb));--spectrum-green-1100-rgb:0,81,50;--spectrum-green-1100:rgba(var(--spectrum-green-1100-rgb));--spectrum-green-1200-rgb:5,63,39;--spectrum-green-1200:rgba(var(--spectrum-green-1200-rgb));--spectrum-green-1300-rgb:10,46,29;--spectrum-green-1300:rgba(var(--spectrum-green-1300-rgb));--spectrum-green-1400-rgb:10,32,21;--spectrum-green-1400:rgba(var(--spectrum-green-1400-rgb));--spectrum-seafoam-100-rgb:206,247,243;--spectrum-seafoam-100:rgba(var(--spectrum-seafoam-100-rgb));--spectrum-seafoam-200-rgb:170,241,234;--spectrum-seafoam-200:rgba(var(--spectrum-seafoam-200-rgb));--spectrum-seafoam-300-rgb:140,233,226;--spectrum-seafoam-300:rgba(var(--spectrum-seafoam-300-rgb));--spectrum-seafoam-400-rgb:101,218,210;--spectrum-seafoam-400:rgba(var(--spectrum-seafoam-400-rgb));--spectrum-seafoam-500-rgb:63,201,193;--spectrum-seafoam-500:rgba(var(--spectrum-seafoam-500-rgb));--spectrum-seafoam-600-rgb:15,181,174;--spectrum-seafoam-600:rgba(var(--spectrum-seafoam-600-rgb));--spectrum-seafoam-700-rgb:0,161,154;--spectrum-seafoam-700:rgba(var(--spectrum-seafoam-700-rgb));--spectrum-seafoam-800-rgb:0,140,135;--spectrum-seafoam-800:rgba(var(--spectrum-seafoam-800-rgb));--spectrum-seafoam-900-rgb:0,119,114;--spectrum-seafoam-900:rgba(var(--spectrum-seafoam-900-rgb));--spectrum-seafoam-1000-rgb:0,99,95;--spectrum-seafoam-1000:rgba(var(--spectrum-seafoam-1000-rgb));--spectrum-seafoam-1100-rgb:12,79,76;--spectrum-seafoam-1100:rgba(var(--spectrum-seafoam-1100-rgb));--spectrum-seafoam-1200-rgb:18,60,58;--spectrum-seafoam-1200:rgba(var(--spectrum-seafoam-1200-rgb));--spectrum-seafoam-1300-rgb:18,44,43;--spectrum-seafoam-1300:rgba(var(--spectrum-seafoam-1300-rgb));--spectrum-seafoam-1400-rgb:15,31,30;--spectrum-seafoam-1400:rgba(var(--spectrum-seafoam-1400-rgb));--spectrum-cyan-100-rgb:197,248,255;--spectrum-cyan-100:rgba(var(--spectrum-cyan-100-rgb));--spectrum-cyan-200-rgb:164,240,255;--spectrum-cyan-200:rgba(var(--spectrum-cyan-200-rgb));--spectrum-cyan-300-rgb:136,231,250;--spectrum-cyan-300:rgba(var(--spectrum-cyan-300-rgb));--spectrum-cyan-400-rgb:96,216,243;--spectrum-cyan-400:rgba(var(--spectrum-cyan-400-rgb));--spectrum-cyan-500-rgb:51,197,232;--spectrum-cyan-500:rgba(var(--spectrum-cyan-500-rgb));--spectrum-cyan-600-rgb:18,176,218;--spectrum-cyan-600:rgba(var(--spectrum-cyan-600-rgb));--spectrum-cyan-700-rgb:1,156,200;--spectrum-cyan-700:rgba(var(--spectrum-cyan-700-rgb));--spectrum-cyan-800-rgb:0,134,180;--spectrum-cyan-800:rgba(var(--spectrum-cyan-800-rgb));--spectrum-cyan-900-rgb:0,113,159;--spectrum-cyan-900:rgba(var(--spectrum-cyan-900-rgb));--spectrum-cyan-1000-rgb:0,93,137;--spectrum-cyan-1000:rgba(var(--spectrum-cyan-1000-rgb));--spectrum-cyan-1100-rgb:0,74,115;--spectrum-cyan-1100:rgba(var(--spectrum-cyan-1100-rgb));--spectrum-cyan-1200-rgb:0,57,93;--spectrum-cyan-1200:rgba(var(--spectrum-cyan-1200-rgb));--spectrum-cyan-1300-rgb:0,42,70;--spectrum-cyan-1300:rgba(var(--spectrum-cyan-1300-rgb));--spectrum-cyan-1400-rgb:0,30,51;--spectrum-cyan-1400:rgba(var(--spectrum-cyan-1400-rgb));--spectrum-indigo-100-rgb:237,238,255;--spectrum-indigo-100:rgba(var(--spectrum-indigo-100-rgb));--spectrum-indigo-200-rgb:224,226,255;--spectrum-indigo-200:rgba(var(--spectrum-indigo-200-rgb));--spectrum-indigo-300-rgb:211,213,255;--spectrum-indigo-300:rgba(var(--spectrum-indigo-300-rgb));--spectrum-indigo-400-rgb:193,196,255;--spectrum-indigo-400:rgba(var(--spectrum-indigo-400-rgb));--spectrum-indigo-500-rgb:172,175,255;--spectrum-indigo-500:rgba(var(--spectrum-indigo-500-rgb));--spectrum-indigo-600-rgb:149,153,255;--spectrum-indigo-600:rgba(var(--spectrum-indigo-600-rgb));--spectrum-indigo-700-rgb:126,132,252;--spectrum-indigo-700:rgba(var(--spectrum-indigo-700-rgb));--spectrum-indigo-800-rgb:104,109,244;--spectrum-indigo-800:rgba(var(--spectrum-indigo-800-rgb));--spectrum-indigo-900-rgb:82,88,228;--spectrum-indigo-900:rgba(var(--spectrum-indigo-900-rgb));--spectrum-indigo-1000-rgb:64,70,202;--spectrum-indigo-1000:rgba(var(--spectrum-indigo-1000-rgb));--spectrum-indigo-1100-rgb:50,54,168;--spectrum-indigo-1100:rgba(var(--spectrum-indigo-1100-rgb));--spectrum-indigo-1200-rgb:38,41,134;--spectrum-indigo-1200:rgba(var(--spectrum-indigo-1200-rgb));--spectrum-indigo-1300-rgb:27,30,100;--spectrum-indigo-1300:rgba(var(--spectrum-indigo-1300-rgb));--spectrum-indigo-1400-rgb:20,22,72;--spectrum-indigo-1400:rgba(var(--spectrum-indigo-1400-rgb));--spectrum-purple-100-rgb:246,235,255;--spectrum-purple-100:rgba(var(--spectrum-purple-100-rgb));--spectrum-purple-200-rgb:238,221,255;--spectrum-purple-200:rgba(var(--spectrum-purple-200-rgb));--spectrum-purple-300-rgb:230,208,255;--spectrum-purple-300:rgba(var(--spectrum-purple-300-rgb));--spectrum-purple-400-rgb:219,187,254;--spectrum-purple-400:rgba(var(--spectrum-purple-400-rgb));--spectrum-purple-500-rgb:204,164,253;--spectrum-purple-500:rgba(var(--spectrum-purple-500-rgb));--spectrum-purple-600-rgb:189,139,252;--spectrum-purple-600:rgba(var(--spectrum-purple-600-rgb));--spectrum-purple-700-rgb:174,114,249;--spectrum-purple-700:rgba(var(--spectrum-purple-700-rgb));--spectrum-purple-800-rgb:157,87,244;--spectrum-purple-800:rgba(var(--spectrum-purple-800-rgb));--spectrum-purple-900-rgb:137,61,231;--spectrum-purple-900:rgba(var(--spectrum-purple-900-rgb));--spectrum-purple-1000-rgb:115,38,211;--spectrum-purple-1000:rgba(var(--spectrum-purple-1000-rgb));--spectrum-purple-1100-rgb:93,19,183;--spectrum-purple-1100:rgba(var(--spectrum-purple-1100-rgb));--spectrum-purple-1200-rgb:71,12,148;--spectrum-purple-1200:rgba(var(--spectrum-purple-1200-rgb));--spectrum-purple-1300-rgb:51,16,106;--spectrum-purple-1300:rgba(var(--spectrum-purple-1300-rgb));--spectrum-purple-1400-rgb:35,15,73;--spectrum-purple-1400:rgba(var(--spectrum-purple-1400-rgb));--spectrum-fuchsia-100-rgb:255,233,252;--spectrum-fuchsia-100:rgba(var(--spectrum-fuchsia-100-rgb));--spectrum-fuchsia-200-rgb:255,218,250;--spectrum-fuchsia-200:rgba(var(--spectrum-fuchsia-200-rgb));--spectrum-fuchsia-300-rgb:254,199,248;--spectrum-fuchsia-300:rgba(var(--spectrum-fuchsia-300-rgb));--spectrum-fuchsia-400-rgb:251,174,246;--spectrum-fuchsia-400:rgba(var(--spectrum-fuchsia-400-rgb));--spectrum-fuchsia-500-rgb:245,146,243;--spectrum-fuchsia-500:rgba(var(--spectrum-fuchsia-500-rgb));--spectrum-fuchsia-600-rgb:237,116,237;--spectrum-fuchsia-600:rgba(var(--spectrum-fuchsia-600-rgb));--spectrum-fuchsia-700-rgb:224,85,226;--spectrum-fuchsia-700:rgba(var(--spectrum-fuchsia-700-rgb));--spectrum-fuchsia-800-rgb:205,58,206;--spectrum-fuchsia-800:rgba(var(--spectrum-fuchsia-800-rgb));--spectrum-fuchsia-900-rgb:182,34,183;--spectrum-fuchsia-900:rgba(var(--spectrum-fuchsia-900-rgb));--spectrum-fuchsia-1000-rgb:157,3,158;--spectrum-fuchsia-1000:rgba(var(--spectrum-fuchsia-1000-rgb));--spectrum-fuchsia-1100-rgb:128,0,129;--spectrum-fuchsia-1100:rgba(var(--spectrum-fuchsia-1100-rgb));--spectrum-fuchsia-1200-rgb:100,6,100;--spectrum-fuchsia-1200:rgba(var(--spectrum-fuchsia-1200-rgb));--spectrum-fuchsia-1300-rgb:71,14,70;--spectrum-fuchsia-1300:rgba(var(--spectrum-fuchsia-1300-rgb));--spectrum-fuchsia-1400-rgb:50,13,49;--spectrum-fuchsia-1400:rgba(var(--spectrum-fuchsia-1400-rgb));--spectrum-magenta-100-rgb:255,234,241;--spectrum-magenta-100:rgba(var(--spectrum-magenta-100-rgb));--spectrum-magenta-200-rgb:255,220,232;--spectrum-magenta-200:rgba(var(--spectrum-magenta-200-rgb));--spectrum-magenta-300-rgb:255,202,221;--spectrum-magenta-300:rgba(var(--spectrum-magenta-300-rgb));--spectrum-magenta-400-rgb:255,178,206;--spectrum-magenta-400:rgba(var(--spectrum-magenta-400-rgb));--spectrum-magenta-500-rgb:255,149,189;--spectrum-magenta-500:rgba(var(--spectrum-magenta-500-rgb));--spectrum-magenta-600-rgb:250,119,170;--spectrum-magenta-600:rgba(var(--spectrum-magenta-600-rgb));--spectrum-magenta-700-rgb:239,90,152;--spectrum-magenta-700:rgba(var(--spectrum-magenta-700-rgb));--spectrum-magenta-800-rgb:222,61,130;--spectrum-magenta-800:rgba(var(--spectrum-magenta-800-rgb));--spectrum-magenta-900-rgb:200,34,105;--spectrum-magenta-900:rgba(var(--spectrum-magenta-900-rgb));--spectrum-magenta-1000-rgb:173,9,85;--spectrum-magenta-1000:rgba(var(--spectrum-magenta-1000-rgb));--spectrum-magenta-1100-rgb:142,0,69;--spectrum-magenta-1100:rgba(var(--spectrum-magenta-1100-rgb));--spectrum-magenta-1200-rgb:112,0,55;--spectrum-magenta-1200:rgba(var(--spectrum-magenta-1200-rgb));--spectrum-magenta-1300-rgb:84,3,42;--spectrum-magenta-1300:rgba(var(--spectrum-magenta-1300-rgb));--spectrum-magenta-1400-rgb:60,6,29;--spectrum-magenta-1400:rgba(var(--spectrum-magenta-1400-rgb))}:host,:root{--spectrum-menu-item-background-color-default-rgb:0,0,0;--spectrum-menu-item-background-color-default-opacity:0;--spectrum-menu-item-background-color-default:rgba(var(--spectrum-menu-item-background-color-default-rgb),var(--spectrum-menu-item-background-color-default-opacity));--spectrum-menu-item-background-color-hover:var(\n--spectrum-transparent-black-200\n);--spectrum-menu-item-background-color-down:var(\n--spectrum-transparent-black-200\n);--spectrum-menu-item-background-color-key-focus:var(\n--spectrum-transparent-black-200\n);--spectrum-drop-zone-background-color-rgb:var(\n--spectrum-blue-800-rgb\n)}\n"])));var Li;Ti.registerThemeFragment("light","color",Di);const Mi=(0,Si.iv)(Li||(Li=(0,zi.Z)(["\n:host,:root{--spectrum-global-color-status:Verified;--spectrum-global-color-version:5.1.0;--spectrum-global-color-opacity-100:1;--spectrum-global-color-opacity-90:0.9;--spectrum-global-color-opacity-80:0.8;--spectrum-global-color-opacity-70:0.7;--spectrum-global-color-opacity-60:0.6;--spectrum-global-color-opacity-55:0.55;--spectrum-global-color-opacity-50:0.5;--spectrum-global-color-opacity-42:0.42;--spectrum-global-color-opacity-40:0.4;--spectrum-global-color-opacity-30:0.3;--spectrum-global-color-opacity-25:0.25;--spectrum-global-color-opacity-20:0.2;--spectrum-global-color-opacity-15:0.15;--spectrum-global-color-opacity-10:0.1;--spectrum-global-color-opacity-8:0.08;--spectrum-global-color-opacity-7:0.07;--spectrum-global-color-opacity-6:0.06;--spectrum-global-color-opacity-5:0.05;--spectrum-global-color-opacity-4:0.04;--spectrum-global-color-opacity-0:0;--spectrum-global-color-celery-400-rgb:48,193,61;--spectrum-global-color-celery-400:rgb(var(--spectrum-global-color-celery-400-rgb));--spectrum-global-color-celery-500-rgb:15,172,38;--spectrum-global-color-celery-500:rgb(var(--spectrum-global-color-celery-500-rgb));--spectrum-global-color-celery-600-rgb:0,150,20;--spectrum-global-color-celery-600:rgb(var(--spectrum-global-color-celery-600-rgb));--spectrum-global-color-celery-700-rgb:0,128,15;--spectrum-global-color-celery-700:rgb(var(--spectrum-global-color-celery-700-rgb));--spectrum-global-color-chartreuse-400-rgb:157,203,13;--spectrum-global-color-chartreuse-400:rgb(var(--spectrum-global-color-chartreuse-400-rgb));--spectrum-global-color-chartreuse-500-rgb:139,182,4;--spectrum-global-color-chartreuse-500:rgb(var(--spectrum-global-color-chartreuse-500-rgb));--spectrum-global-color-chartreuse-600-rgb:122,162,0;--spectrum-global-color-chartreuse-600:rgb(var(--spectrum-global-color-chartreuse-600-rgb));--spectrum-global-color-chartreuse-700-rgb:106,141,0;--spectrum-global-color-chartreuse-700:rgb(var(--spectrum-global-color-chartreuse-700-rgb));--spectrum-global-color-yellow-400-rgb:238,205,0;--spectrum-global-color-yellow-400:rgb(var(--spectrum-global-color-yellow-400-rgb));--spectrum-global-color-yellow-500-rgb:221,185,0;--spectrum-global-color-yellow-500:rgb(var(--spectrum-global-color-yellow-500-rgb));--spectrum-global-color-yellow-600-rgb:201,164,0;--spectrum-global-color-yellow-600:rgb(var(--spectrum-global-color-yellow-600-rgb));--spectrum-global-color-yellow-700-rgb:181,144,0;--spectrum-global-color-yellow-700:rgb(var(--spectrum-global-color-yellow-700-rgb));--spectrum-global-color-magenta-400-rgb:226,68,135;--spectrum-global-color-magenta-400:rgb(var(--spectrum-global-color-magenta-400-rgb));--spectrum-global-color-magenta-500-rgb:205,40,111;--spectrum-global-color-magenta-500:rgb(var(--spectrum-global-color-magenta-500-rgb));--spectrum-global-color-magenta-600-rgb:179,15,89;--spectrum-global-color-magenta-600:rgb(var(--spectrum-global-color-magenta-600-rgb));--spectrum-global-color-magenta-700-rgb:149,0,72;--spectrum-global-color-magenta-700:rgb(var(--spectrum-global-color-magenta-700-rgb));--spectrum-global-color-fuchsia-400-rgb:211,63,212;--spectrum-global-color-fuchsia-400:rgb(var(--spectrum-global-color-fuchsia-400-rgb));--spectrum-global-color-fuchsia-500-rgb:188,39,187;--spectrum-global-color-fuchsia-500:rgb(var(--spectrum-global-color-fuchsia-500-rgb));--spectrum-global-color-fuchsia-600-rgb:163,10,163;--spectrum-global-color-fuchsia-600:rgb(var(--spectrum-global-color-fuchsia-600-rgb));--spectrum-global-color-fuchsia-700-rgb:135,0,136;--spectrum-global-color-fuchsia-700:rgb(var(--spectrum-global-color-fuchsia-700-rgb));--spectrum-global-color-purple-400-rgb:161,93,246;--spectrum-global-color-purple-400:rgb(var(--spectrum-global-color-purple-400-rgb));--spectrum-global-color-purple-500-rgb:142,67,234;--spectrum-global-color-purple-500:rgb(var(--spectrum-global-color-purple-500-rgb));--spectrum-global-color-purple-600-rgb:120,43,216;--spectrum-global-color-purple-600:rgb(var(--spectrum-global-color-purple-600-rgb));--spectrum-global-color-purple-700-rgb:98,23,190;--spectrum-global-color-purple-700:rgb(var(--spectrum-global-color-purple-700-rgb));--spectrum-global-color-indigo-400-rgb:109,115,246;--spectrum-global-color-indigo-400:rgb(var(--spectrum-global-color-indigo-400-rgb));--spectrum-global-color-indigo-500-rgb:87,93,232;--spectrum-global-color-indigo-500:rgb(var(--spectrum-global-color-indigo-500-rgb));--spectrum-global-color-indigo-600-rgb:68,74,208;--spectrum-global-color-indigo-600:rgb(var(--spectrum-global-color-indigo-600-rgb));--spectrum-global-color-indigo-700-rgb:53,58,176;--spectrum-global-color-indigo-700:rgb(var(--spectrum-global-color-indigo-700-rgb));--spectrum-global-color-seafoam-400-rgb:0,166,160;--spectrum-global-color-seafoam-400:rgb(var(--spectrum-global-color-seafoam-400-rgb));--spectrum-global-color-seafoam-500-rgb:0,145,139;--spectrum-global-color-seafoam-500:rgb(var(--spectrum-global-color-seafoam-500-rgb));--spectrum-global-color-seafoam-600-rgb:0,124,118;--spectrum-global-color-seafoam-600:rgb(var(--spectrum-global-color-seafoam-600-rgb));--spectrum-global-color-seafoam-700-rgb:0,103,99;--spectrum-global-color-seafoam-700:rgb(var(--spectrum-global-color-seafoam-700-rgb));--spectrum-global-color-red-400-rgb:237,64,48;--spectrum-global-color-red-400:rgb(var(--spectrum-global-color-red-400-rgb));--spectrum-global-color-red-500-rgb:217,28,21;--spectrum-global-color-red-500:rgb(var(--spectrum-global-color-red-500-rgb));--spectrum-global-color-red-600-rgb:187,2,2;--spectrum-global-color-red-600:rgb(var(--spectrum-global-color-red-600-rgb));--spectrum-global-color-red-700-rgb:154,0,0;--spectrum-global-color-red-700:rgb(var(--spectrum-global-color-red-700-rgb));--spectrum-global-color-orange-400-rgb:250,139,26;--spectrum-global-color-orange-400:rgb(var(--spectrum-global-color-orange-400-rgb));--spectrum-global-color-orange-500-rgb:233,117,0;--spectrum-global-color-orange-500:rgb(var(--spectrum-global-color-orange-500-rgb));--spectrum-global-color-orange-600-rgb:209,97,0;--spectrum-global-color-orange-600:rgb(var(--spectrum-global-color-orange-600-rgb));--spectrum-global-color-orange-700-rgb:182,80,0;--spectrum-global-color-orange-700:rgb(var(--spectrum-global-color-orange-700-rgb));--spectrum-global-color-green-400-rgb:0,148,97;--spectrum-global-color-green-400:rgb(var(--spectrum-global-color-green-400-rgb));--spectrum-global-color-green-500-rgb:0,126,80;--spectrum-global-color-green-500:rgb(var(--spectrum-global-color-green-500-rgb));--spectrum-global-color-green-600-rgb:0,105,65;--spectrum-global-color-green-600:rgb(var(--spectrum-global-color-green-600-rgb));--spectrum-global-color-green-700-rgb:0,86,53;--spectrum-global-color-green-700:rgb(var(--spectrum-global-color-green-700-rgb));--spectrum-global-color-blue-400-rgb:27,127,245;--spectrum-global-color-blue-400:rgb(var(--spectrum-global-color-blue-400-rgb));--spectrum-global-color-blue-500-rgb:4,105,227;--spectrum-global-color-blue-500:rgb(var(--spectrum-global-color-blue-500-rgb));--spectrum-global-color-blue-600-rgb:0,87,190;--spectrum-global-color-blue-600:rgb(var(--spectrum-global-color-blue-600-rgb));--spectrum-global-color-blue-700-rgb:0,72,153;--spectrum-global-color-blue-700:rgb(var(--spectrum-global-color-blue-700-rgb));--spectrum-global-color-gray-50-rgb:255,255,255;--spectrum-global-color-gray-50:rgb(var(--spectrum-global-color-gray-50-rgb));--spectrum-global-color-gray-75-rgb:255,255,255;--spectrum-global-color-gray-75:rgb(var(--spectrum-global-color-gray-75-rgb));--spectrum-global-color-gray-100-rgb:255,255,255;--spectrum-global-color-gray-100:rgb(var(--spectrum-global-color-gray-100-rgb));--spectrum-global-color-gray-200-rgb:235,235,235;--spectrum-global-color-gray-200:rgb(var(--spectrum-global-color-gray-200-rgb));--spectrum-global-color-gray-300-rgb:217,217,217;--spectrum-global-color-gray-300:rgb(var(--spectrum-global-color-gray-300-rgb));--spectrum-global-color-gray-400-rgb:179,179,179;--spectrum-global-color-gray-400:rgb(var(--spectrum-global-color-gray-400-rgb));--spectrum-global-color-gray-500-rgb:146,146,146;--spectrum-global-color-gray-500:rgb(var(--spectrum-global-color-gray-500-rgb));--spectrum-global-color-gray-600-rgb:110,110,110;--spectrum-global-color-gray-600:rgb(var(--spectrum-global-color-gray-600-rgb));--spectrum-global-color-gray-700-rgb:71,71,71;--spectrum-global-color-gray-700:rgb(var(--spectrum-global-color-gray-700-rgb));--spectrum-global-color-gray-800-rgb:34,34,34;--spectrum-global-color-gray-800:rgb(var(--spectrum-global-color-gray-800-rgb));--spectrum-global-color-gray-900-rgb:0,0,0;--spectrum-global-color-gray-900:rgb(var(--spectrum-global-color-gray-900-rgb));--spectrum-alias-background-color-primary:var(\n--spectrum-global-color-gray-50\n);--spectrum-alias-background-color-secondary:var(\n--spectrum-global-color-gray-100\n);--spectrum-alias-background-color-tertiary:var(\n--spectrum-global-color-gray-300\n);--spectrum-alias-background-color-modal-overlay:rgba(0,0,0,.4);--spectrum-alias-dropshadow-color:rgba(0,0,0,.15);--spectrum-alias-background-color-hover-overlay:rgba(0,0,0,.04);--spectrum-alias-highlight-hover:rgba(0,0,0,.06);--spectrum-alias-highlight-down:rgba(0,0,0,.1);--spectrum-alias-highlight-selected:rgba(4,105,227,.1);--spectrum-alias-highlight-selected-hover:rgba(4,105,227,.2);--spectrum-alias-text-highlight-color:rgba(4,105,227,.2);--spectrum-alias-background-color-quickactions:hsla(0,0%,100%,.9);--spectrum-alias-border-color-selected:var(\n--spectrum-global-color-blue-500\n);--spectrum-alias-border-color-translucent:rgba(0,0,0,.1);--spectrum-alias-radial-reaction-color-default:rgba(34,34,34,.6);--spectrum-alias-pasteboard-background-color:var(\n--spectrum-global-color-gray-300\n);--spectrum-alias-appframe-border-color:var(\n--spectrum-global-color-gray-300\n);--spectrum-alias-appframe-separator-color:var(\n--spectrum-global-color-gray-300\n)}:host,:root{color-scheme:light}:host,:root{--spectrum-overlay-opacity:0.4;--spectrum-drop-shadow-color-rgb:0,0,0;--spectrum-drop-shadow-color-opacity:0.15;--spectrum-drop-shadow-color:rgba(var(--spectrum-drop-shadow-color-rgb),var(--spectrum-drop-shadow-color-opacity));--spectrum-background-base-color:var(--spectrum-gray-200);--spectrum-background-layer-1-color:var(--spectrum-gray-100);--spectrum-background-layer-2-color:var(--spectrum-gray-50);--spectrum-neutral-background-color-default:var(--spectrum-gray-800);--spectrum-neutral-background-color-hover:var(--spectrum-gray-900);--spectrum-neutral-background-color-down:var(--spectrum-gray-900);--spectrum-neutral-background-color-key-focus:var(--spectrum-gray-900);--spectrum-neutral-subdued-background-color-default:var(\n--spectrum-gray-600\n);--spectrum-neutral-subdued-background-color-hover:var(--spectrum-gray-700);--spectrum-neutral-subdued-background-color-down:var(--spectrum-gray-800);--spectrum-neutral-subdued-background-color-key-focus:var(\n--spectrum-gray-700\n);--spectrum-accent-background-color-default:var(\n--spectrum-accent-color-900\n);--spectrum-accent-background-color-hover:var(--spectrum-accent-color-1000);--spectrum-accent-background-color-down:var(--spectrum-accent-color-1100);--spectrum-accent-background-color-key-focus:var(\n--spectrum-accent-color-1000\n);--spectrum-informative-background-color-default:var(\n--spectrum-informative-color-900\n);--spectrum-informative-background-color-hover:var(\n--spectrum-informative-color-1000\n);--spectrum-informative-background-color-down:var(\n--spectrum-informative-color-1100\n);--spectrum-informative-background-color-key-focus:var(\n--spectrum-informative-color-1000\n);--spectrum-negative-background-color-default:var(\n--spectrum-negative-color-900\n);--spectrum-negative-background-color-hover:var(\n--spectrum-negative-color-1000\n);--spectrum-negative-background-color-down:var(\n--spectrum-negative-color-1100\n);--spectrum-negative-background-color-key-focus:var(\n--spectrum-negative-color-1000\n);--spectrum-positive-background-color-default:var(\n--spectrum-positive-color-900\n);--spectrum-positive-background-color-hover:var(\n--spectrum-positive-color-1000\n);--spectrum-positive-background-color-down:var(\n--spectrum-positive-color-1100\n);--spectrum-positive-background-color-key-focus:var(\n--spectrum-positive-color-1000\n);--spectrum-notice-background-color-default:var(\n--spectrum-notice-color-600\n);--spectrum-gray-background-color-default:var(--spectrum-gray-700);--spectrum-red-background-color-default:var(--spectrum-red-900);--spectrum-orange-background-color-default:var(--spectrum-orange-600);--spectrum-yellow-background-color-default:var(--spectrum-yellow-400);--spectrum-chartreuse-background-color-default:var(\n--spectrum-chartreuse-500\n);--spectrum-celery-background-color-default:var(--spectrum-celery-600);--spectrum-green-background-color-default:var(--spectrum-green-900);--spectrum-seafoam-background-color-default:var(--spectrum-seafoam-900);--spectrum-cyan-background-color-default:var(--spectrum-cyan-900);--spectrum-blue-background-color-default:var(--spectrum-blue-900);--spectrum-indigo-background-color-default:var(--spectrum-indigo-900);--spectrum-purple-background-color-default:var(--spectrum-purple-900);--spectrum-fuchsia-background-color-default:var(--spectrum-fuchsia-900);--spectrum-magenta-background-color-default:var(--spectrum-magenta-900);--spectrum-neutral-visual-color:var(--spectrum-gray-500);--spectrum-accent-visual-color:var(--spectrum-accent-color-800);--spectrum-informative-visual-color:var(--spectrum-informative-color-800);--spectrum-negative-visual-color:var(--spectrum-negative-color-800);--spectrum-notice-visual-color:var(--spectrum-notice-color-700);--spectrum-positive-visual-color:var(--spectrum-positive-color-700);--spectrum-gray-visual-color:var(--spectrum-gray-500);--spectrum-red-visual-color:var(--spectrum-red-800);--spectrum-orange-visual-color:var(--spectrum-orange-700);--spectrum-yellow-visual-color:var(--spectrum-yellow-600);--spectrum-chartreuse-visual-color:var(--spectrum-chartreuse-600);--spectrum-celery-visual-color:var(--spectrum-celery-700);--spectrum-green-visual-color:var(--spectrum-green-700);--spectrum-seafoam-visual-color:var(--spectrum-seafoam-700);--spectrum-cyan-visual-color:var(--spectrum-cyan-600);--spectrum-blue-visual-color:var(--spectrum-blue-800);--spectrum-indigo-visual-color:var(--spectrum-indigo-800);--spectrum-purple-visual-color:var(--spectrum-purple-800);--spectrum-fuchsia-visual-color:var(--spectrum-fuchsia-800);--spectrum-magenta-visual-color:var(--spectrum-magenta-800);--spectrum-opacity-checkerboard-square-dark:var(--spectrum-gray-200);--spectrum-gray-50-rgb:255,255,255;--spectrum-gray-50:rgba(var(--spectrum-gray-50-rgb));--spectrum-gray-75-rgb:253,253,253;--spectrum-gray-75:rgba(var(--spectrum-gray-75-rgb));--spectrum-gray-100-rgb:248,248,248;--spectrum-gray-100:rgba(var(--spectrum-gray-100-rgb));--spectrum-gray-200-rgb:230,230,230;--spectrum-gray-200:rgba(var(--spectrum-gray-200-rgb));--spectrum-gray-300-rgb:213,213,213;--spectrum-gray-300:rgba(var(--spectrum-gray-300-rgb));--spectrum-gray-400-rgb:177,177,177;--spectrum-gray-400:rgba(var(--spectrum-gray-400-rgb));--spectrum-gray-500-rgb:144,144,144;--spectrum-gray-500:rgba(var(--spectrum-gray-500-rgb));--spectrum-gray-600-rgb:109,109,109;--spectrum-gray-600:rgba(var(--spectrum-gray-600-rgb));--spectrum-gray-700-rgb:70,70,70;--spectrum-gray-700:rgba(var(--spectrum-gray-700-rgb));--spectrum-gray-800-rgb:34,34,34;--spectrum-gray-800:rgba(var(--spectrum-gray-800-rgb));--spectrum-gray-900-rgb:0,0,0;--spectrum-gray-900:rgba(var(--spectrum-gray-900-rgb));--spectrum-blue-100-rgb:224,242,255;--spectrum-blue-100:rgba(var(--spectrum-blue-100-rgb));--spectrum-blue-200-rgb:202,232,255;--spectrum-blue-200:rgba(var(--spectrum-blue-200-rgb));--spectrum-blue-300-rgb:181,222,255;--spectrum-blue-300:rgba(var(--spectrum-blue-300-rgb));--spectrum-blue-400-rgb:150,206,253;--spectrum-blue-400:rgba(var(--spectrum-blue-400-rgb));--spectrum-blue-500-rgb:120,187,250;--spectrum-blue-500:rgba(var(--spectrum-blue-500-rgb));--spectrum-blue-600-rgb:89,167,246;--spectrum-blue-600:rgba(var(--spectrum-blue-600-rgb));--spectrum-blue-700-rgb:56,146,243;--spectrum-blue-700:rgba(var(--spectrum-blue-700-rgb));--spectrum-blue-800-rgb:20,122,243;--spectrum-blue-800:rgba(var(--spectrum-blue-800-rgb));--spectrum-blue-900-rgb:2,101,220;--spectrum-blue-900:rgba(var(--spectrum-blue-900-rgb));--spectrum-blue-1000-rgb:0,84,182;--spectrum-blue-1000:rgba(var(--spectrum-blue-1000-rgb));--spectrum-blue-1100-rgb:0,68,145;--spectrum-blue-1100:rgba(var(--spectrum-blue-1100-rgb));--spectrum-blue-1200-rgb:0,53,113;--spectrum-blue-1200:rgba(var(--spectrum-blue-1200-rgb));--spectrum-blue-1300-rgb:0,39,84;--spectrum-blue-1300:rgba(var(--spectrum-blue-1300-rgb));--spectrum-blue-1400-rgb:0,28,60;--spectrum-blue-1400:rgba(var(--spectrum-blue-1400-rgb));--spectrum-red-100-rgb:255,235,231;--spectrum-red-100:rgba(var(--spectrum-red-100-rgb));--spectrum-red-200-rgb:255,221,214;--spectrum-red-200:rgba(var(--spectrum-red-200-rgb));--spectrum-red-300-rgb:255,205,195;--spectrum-red-300:rgba(var(--spectrum-red-300-rgb));--spectrum-red-400-rgb:255,183,169;--spectrum-red-400:rgba(var(--spectrum-red-400-rgb));--spectrum-red-500-rgb:255,155,136;--spectrum-red-500:rgba(var(--spectrum-red-500-rgb));--spectrum-red-600-rgb:255,124,101;--spectrum-red-600:rgba(var(--spectrum-red-600-rgb));--spectrum-red-700-rgb:247,92,70;--spectrum-red-700:rgba(var(--spectrum-red-700-rgb));--spectrum-red-800-rgb:234,56,41;--spectrum-red-800:rgba(var(--spectrum-red-800-rgb));--spectrum-red-900-rgb:211,21,16;--spectrum-red-900:rgba(var(--spectrum-red-900-rgb));--spectrum-red-1000-rgb:180,0,0;--spectrum-red-1000:rgba(var(--spectrum-red-1000-rgb));--spectrum-red-1100-rgb:147,0,0;--spectrum-red-1100:rgba(var(--spectrum-red-1100-rgb));--spectrum-red-1200-rgb:116,0,0;--spectrum-red-1200:rgba(var(--spectrum-red-1200-rgb));--spectrum-red-1300-rgb:89,0,0;--spectrum-red-1300:rgba(var(--spectrum-red-1300-rgb));--spectrum-red-1400-rgb:67,0,0;--spectrum-red-1400:rgba(var(--spectrum-red-1400-rgb));--spectrum-orange-100-rgb:255,236,204;--spectrum-orange-100:rgba(var(--spectrum-orange-100-rgb));--spectrum-orange-200-rgb:255,223,173;--spectrum-orange-200:rgba(var(--spectrum-orange-200-rgb));--spectrum-orange-300-rgb:253,210,145;--spectrum-orange-300:rgba(var(--spectrum-orange-300-rgb));--spectrum-orange-400-rgb:255,187,99;--spectrum-orange-400:rgba(var(--spectrum-orange-400-rgb));--spectrum-orange-500-rgb:255,160,55;--spectrum-orange-500:rgba(var(--spectrum-orange-500-rgb));--spectrum-orange-600-rgb:246,133,17;--spectrum-orange-600:rgba(var(--spectrum-orange-600-rgb));--spectrum-orange-700-rgb:228,111,0;--spectrum-orange-700:rgba(var(--spectrum-orange-700-rgb));--spectrum-orange-800-rgb:203,93,0;--spectrum-orange-800:rgba(var(--spectrum-orange-800-rgb));--spectrum-orange-900-rgb:177,76,0;--spectrum-orange-900:rgba(var(--spectrum-orange-900-rgb));--spectrum-orange-1000-rgb:149,61,0;--spectrum-orange-1000:rgba(var(--spectrum-orange-1000-rgb));--spectrum-orange-1100-rgb:122,47,0;--spectrum-orange-1100:rgba(var(--spectrum-orange-1100-rgb));--spectrum-orange-1200-rgb:97,35,0;--spectrum-orange-1200:rgba(var(--spectrum-orange-1200-rgb));--spectrum-orange-1300-rgb:73,25,1;--spectrum-orange-1300:rgba(var(--spectrum-orange-1300-rgb));--spectrum-orange-1400-rgb:53,18,1;--spectrum-orange-1400:rgba(var(--spectrum-orange-1400-rgb));--spectrum-yellow-100-rgb:251,241,152;--spectrum-yellow-100:rgba(var(--spectrum-yellow-100-rgb));--spectrum-yellow-200-rgb:248,231,80;--spectrum-yellow-200:rgba(var(--spectrum-yellow-200-rgb));--spectrum-yellow-300-rgb:248,217,4;--spectrum-yellow-300:rgba(var(--spectrum-yellow-300-rgb));--spectrum-yellow-400-rgb:232,198,0;--spectrum-yellow-400:rgba(var(--spectrum-yellow-400-rgb));--spectrum-yellow-500-rgb:215,179,0;--spectrum-yellow-500:rgba(var(--spectrum-yellow-500-rgb));--spectrum-yellow-600-rgb:196,159,0;--spectrum-yellow-600:rgba(var(--spectrum-yellow-600-rgb));--spectrum-yellow-700-rgb:176,140,0;--spectrum-yellow-700:rgba(var(--spectrum-yellow-700-rgb));--spectrum-yellow-800-rgb:155,120,0;--spectrum-yellow-800:rgba(var(--spectrum-yellow-800-rgb));--spectrum-yellow-900-rgb:133,102,0;--spectrum-yellow-900:rgba(var(--spectrum-yellow-900-rgb));--spectrum-yellow-1000-rgb:112,83,0;--spectrum-yellow-1000:rgba(var(--spectrum-yellow-1000-rgb));--spectrum-yellow-1100-rgb:91,67,0;--spectrum-yellow-1100:rgba(var(--spectrum-yellow-1100-rgb));--spectrum-yellow-1200-rgb:72,51,0;--spectrum-yellow-1200:rgba(var(--spectrum-yellow-1200-rgb));--spectrum-yellow-1300-rgb:54,37,0;--spectrum-yellow-1300:rgba(var(--spectrum-yellow-1300-rgb));--spectrum-yellow-1400-rgb:40,26,0;--spectrum-yellow-1400:rgba(var(--spectrum-yellow-1400-rgb));--spectrum-chartreuse-100-rgb:219,252,110;--spectrum-chartreuse-100:rgba(var(--spectrum-chartreuse-100-rgb));--spectrum-chartreuse-200-rgb:203,244,67;--spectrum-chartreuse-200:rgba(var(--spectrum-chartreuse-200-rgb));--spectrum-chartreuse-300-rgb:188,233,42;--spectrum-chartreuse-300:rgba(var(--spectrum-chartreuse-300-rgb));--spectrum-chartreuse-400-rgb:170,216,22;--spectrum-chartreuse-400:rgba(var(--spectrum-chartreuse-400-rgb));--spectrum-chartreuse-500-rgb:152,197,10;--spectrum-chartreuse-500:rgba(var(--spectrum-chartreuse-500-rgb));--spectrum-chartreuse-600-rgb:135,177,3;--spectrum-chartreuse-600:rgba(var(--spectrum-chartreuse-600-rgb));--spectrum-chartreuse-700-rgb:118,156,0;--spectrum-chartreuse-700:rgba(var(--spectrum-chartreuse-700-rgb));--spectrum-chartreuse-800-rgb:103,136,0;--spectrum-chartreuse-800:rgba(var(--spectrum-chartreuse-800-rgb));--spectrum-chartreuse-900-rgb:87,116,0;--spectrum-chartreuse-900:rgba(var(--spectrum-chartreuse-900-rgb));--spectrum-chartreuse-1000-rgb:72,96,0;--spectrum-chartreuse-1000:rgba(var(--spectrum-chartreuse-1000-rgb));--spectrum-chartreuse-1100-rgb:58,77,0;--spectrum-chartreuse-1100:rgba(var(--spectrum-chartreuse-1100-rgb));--spectrum-chartreuse-1200-rgb:44,59,0;--spectrum-chartreuse-1200:rgba(var(--spectrum-chartreuse-1200-rgb));--spectrum-chartreuse-1300-rgb:33,44,0;--spectrum-chartreuse-1300:rgba(var(--spectrum-chartreuse-1300-rgb));--spectrum-chartreuse-1400-rgb:24,31,0;--spectrum-chartreuse-1400:rgba(var(--spectrum-chartreuse-1400-rgb));--spectrum-celery-100-rgb:205,252,191;--spectrum-celery-100:rgba(var(--spectrum-celery-100-rgb));--spectrum-celery-200-rgb:174,246,157;--spectrum-celery-200:rgba(var(--spectrum-celery-200-rgb));--spectrum-celery-300-rgb:150,238,133;--spectrum-celery-300:rgba(var(--spectrum-celery-300-rgb));--spectrum-celery-400-rgb:114,224,106;--spectrum-celery-400:rgba(var(--spectrum-celery-400-rgb));--spectrum-celery-500-rgb:78,207,80;--spectrum-celery-500:rgba(var(--spectrum-celery-500-rgb));--spectrum-celery-600-rgb:39,187,54;--spectrum-celery-600:rgba(var(--spectrum-celery-600-rgb));--spectrum-celery-700-rgb:7,167,33;--spectrum-celery-700:rgba(var(--spectrum-celery-700-rgb));--spectrum-celery-800-rgb:0,145,18;--spectrum-celery-800:rgba(var(--spectrum-celery-800-rgb));--spectrum-celery-900-rgb:0,124,15;--spectrum-celery-900:rgba(var(--spectrum-celery-900-rgb));--spectrum-celery-1000-rgb:0,103,15;--spectrum-celery-1000:rgba(var(--spectrum-celery-1000-rgb));--spectrum-celery-1100-rgb:0,83,13;--spectrum-celery-1100:rgba(var(--spectrum-celery-1100-rgb));--spectrum-celery-1200-rgb:0,64,10;--spectrum-celery-1200:rgba(var(--spectrum-celery-1200-rgb));--spectrum-celery-1300-rgb:0,48,7;--spectrum-celery-1300:rgba(var(--spectrum-celery-1300-rgb));--spectrum-celery-1400-rgb:0,34,5;--spectrum-celery-1400:rgba(var(--spectrum-celery-1400-rgb));--spectrum-green-100-rgb:206,248,224;--spectrum-green-100:rgba(var(--spectrum-green-100-rgb));--spectrum-green-200-rgb:173,244,206;--spectrum-green-200:rgba(var(--spectrum-green-200-rgb));--spectrum-green-300-rgb:137,236,188;--spectrum-green-300:rgba(var(--spectrum-green-300-rgb));--spectrum-green-400-rgb:103,222,168;--spectrum-green-400:rgba(var(--spectrum-green-400-rgb));--spectrum-green-500-rgb:73,204,147;--spectrum-green-500:rgba(var(--spectrum-green-500-rgb));--spectrum-green-600-rgb:47,184,128;--spectrum-green-600:rgba(var(--spectrum-green-600-rgb));--spectrum-green-700-rgb:21,164,110;--spectrum-green-700:rgba(var(--spectrum-green-700-rgb));--spectrum-green-800-rgb:0,143,93;--spectrum-green-800:rgba(var(--spectrum-green-800-rgb));--spectrum-green-900-rgb:0,122,77;--spectrum-green-900:rgba(var(--spectrum-green-900-rgb));--spectrum-green-1000-rgb:0,101,62;--spectrum-green-1000:rgba(var(--spectrum-green-1000-rgb));--spectrum-green-1100-rgb:0,81,50;--spectrum-green-1100:rgba(var(--spectrum-green-1100-rgb));--spectrum-green-1200-rgb:5,63,39;--spectrum-green-1200:rgba(var(--spectrum-green-1200-rgb));--spectrum-green-1300-rgb:10,46,29;--spectrum-green-1300:rgba(var(--spectrum-green-1300-rgb));--spectrum-green-1400-rgb:10,32,21;--spectrum-green-1400:rgba(var(--spectrum-green-1400-rgb));--spectrum-seafoam-100-rgb:206,247,243;--spectrum-seafoam-100:rgba(var(--spectrum-seafoam-100-rgb));--spectrum-seafoam-200-rgb:170,241,234;--spectrum-seafoam-200:rgba(var(--spectrum-seafoam-200-rgb));--spectrum-seafoam-300-rgb:140,233,226;--spectrum-seafoam-300:rgba(var(--spectrum-seafoam-300-rgb));--spectrum-seafoam-400-rgb:101,218,210;--spectrum-seafoam-400:rgba(var(--spectrum-seafoam-400-rgb));--spectrum-seafoam-500-rgb:63,201,193;--spectrum-seafoam-500:rgba(var(--spectrum-seafoam-500-rgb));--spectrum-seafoam-600-rgb:15,181,174;--spectrum-seafoam-600:rgba(var(--spectrum-seafoam-600-rgb));--spectrum-seafoam-700-rgb:0,161,154;--spectrum-seafoam-700:rgba(var(--spectrum-seafoam-700-rgb));--spectrum-seafoam-800-rgb:0,140,135;--spectrum-seafoam-800:rgba(var(--spectrum-seafoam-800-rgb));--spectrum-seafoam-900-rgb:0,119,114;--spectrum-seafoam-900:rgba(var(--spectrum-seafoam-900-rgb));--spectrum-seafoam-1000-rgb:0,99,95;--spectrum-seafoam-1000:rgba(var(--spectrum-seafoam-1000-rgb));--spectrum-seafoam-1100-rgb:12,79,76;--spectrum-seafoam-1100:rgba(var(--spectrum-seafoam-1100-rgb));--spectrum-seafoam-1200-rgb:18,60,58;--spectrum-seafoam-1200:rgba(var(--spectrum-seafoam-1200-rgb));--spectrum-seafoam-1300-rgb:18,44,43;--spectrum-seafoam-1300:rgba(var(--spectrum-seafoam-1300-rgb));--spectrum-seafoam-1400-rgb:15,31,30;--spectrum-seafoam-1400:rgba(var(--spectrum-seafoam-1400-rgb));--spectrum-cyan-100-rgb:197,248,255;--spectrum-cyan-100:rgba(var(--spectrum-cyan-100-rgb));--spectrum-cyan-200-rgb:164,240,255;--spectrum-cyan-200:rgba(var(--spectrum-cyan-200-rgb));--spectrum-cyan-300-rgb:136,231,250;--spectrum-cyan-300:rgba(var(--spectrum-cyan-300-rgb));--spectrum-cyan-400-rgb:96,216,243;--spectrum-cyan-400:rgba(var(--spectrum-cyan-400-rgb));--spectrum-cyan-500-rgb:51,197,232;--spectrum-cyan-500:rgba(var(--spectrum-cyan-500-rgb));--spectrum-cyan-600-rgb:18,176,218;--spectrum-cyan-600:rgba(var(--spectrum-cyan-600-rgb));--spectrum-cyan-700-rgb:1,156,200;--spectrum-cyan-700:rgba(var(--spectrum-cyan-700-rgb));--spectrum-cyan-800-rgb:0,134,180;--spectrum-cyan-800:rgba(var(--spectrum-cyan-800-rgb));--spectrum-cyan-900-rgb:0,113,159;--spectrum-cyan-900:rgba(var(--spectrum-cyan-900-rgb));--spectrum-cyan-1000-rgb:0,93,137;--spectrum-cyan-1000:rgba(var(--spectrum-cyan-1000-rgb));--spectrum-cyan-1100-rgb:0,74,115;--spectrum-cyan-1100:rgba(var(--spectrum-cyan-1100-rgb));--spectrum-cyan-1200-rgb:0,57,93;--spectrum-cyan-1200:rgba(var(--spectrum-cyan-1200-rgb));--spectrum-cyan-1300-rgb:0,42,70;--spectrum-cyan-1300:rgba(var(--spectrum-cyan-1300-rgb));--spectrum-cyan-1400-rgb:0,30,51;--spectrum-cyan-1400:rgba(var(--spectrum-cyan-1400-rgb));--spectrum-indigo-100-rgb:237,238,255;--spectrum-indigo-100:rgba(var(--spectrum-indigo-100-rgb));--spectrum-indigo-200-rgb:224,226,255;--spectrum-indigo-200:rgba(var(--spectrum-indigo-200-rgb));--spectrum-indigo-300-rgb:211,213,255;--spectrum-indigo-300:rgba(var(--spectrum-indigo-300-rgb));--spectrum-indigo-400-rgb:193,196,255;--spectrum-indigo-400:rgba(var(--spectrum-indigo-400-rgb));--spectrum-indigo-500-rgb:172,175,255;--spectrum-indigo-500:rgba(var(--spectrum-indigo-500-rgb));--spectrum-indigo-600-rgb:149,153,255;--spectrum-indigo-600:rgba(var(--spectrum-indigo-600-rgb));--spectrum-indigo-700-rgb:126,132,252;--spectrum-indigo-700:rgba(var(--spectrum-indigo-700-rgb));--spectrum-indigo-800-rgb:104,109,244;--spectrum-indigo-800:rgba(var(--spectrum-indigo-800-rgb));--spectrum-indigo-900-rgb:82,88,228;--spectrum-indigo-900:rgba(var(--spectrum-indigo-900-rgb));--spectrum-indigo-1000-rgb:64,70,202;--spectrum-indigo-1000:rgba(var(--spectrum-indigo-1000-rgb));--spectrum-indigo-1100-rgb:50,54,168;--spectrum-indigo-1100:rgba(var(--spectrum-indigo-1100-rgb));--spectrum-indigo-1200-rgb:38,41,134;--spectrum-indigo-1200:rgba(var(--spectrum-indigo-1200-rgb));--spectrum-indigo-1300-rgb:27,30,100;--spectrum-indigo-1300:rgba(var(--spectrum-indigo-1300-rgb));--spectrum-indigo-1400-rgb:20,22,72;--spectrum-indigo-1400:rgba(var(--spectrum-indigo-1400-rgb));--spectrum-purple-100-rgb:246,235,255;--spectrum-purple-100:rgba(var(--spectrum-purple-100-rgb));--spectrum-purple-200-rgb:238,221,255;--spectrum-purple-200:rgba(var(--spectrum-purple-200-rgb));--spectrum-purple-300-rgb:230,208,255;--spectrum-purple-300:rgba(var(--spectrum-purple-300-rgb));--spectrum-purple-400-rgb:219,187,254;--spectrum-purple-400:rgba(var(--spectrum-purple-400-rgb));--spectrum-purple-500-rgb:204,164,253;--spectrum-purple-500:rgba(var(--spectrum-purple-500-rgb));--spectrum-purple-600-rgb:189,139,252;--spectrum-purple-600:rgba(var(--spectrum-purple-600-rgb));--spectrum-purple-700-rgb:174,114,249;--spectrum-purple-700:rgba(var(--spectrum-purple-700-rgb));--spectrum-purple-800-rgb:157,87,244;--spectrum-purple-800:rgba(var(--spectrum-purple-800-rgb));--spectrum-purple-900-rgb:137,61,231;--spectrum-purple-900:rgba(var(--spectrum-purple-900-rgb));--spectrum-purple-1000-rgb:115,38,211;--spectrum-purple-1000:rgba(var(--spectrum-purple-1000-rgb));--spectrum-purple-1100-rgb:93,19,183;--spectrum-purple-1100:rgba(var(--spectrum-purple-1100-rgb));--spectrum-purple-1200-rgb:71,12,148;--spectrum-purple-1200:rgba(var(--spectrum-purple-1200-rgb));--spectrum-purple-1300-rgb:51,16,106;--spectrum-purple-1300:rgba(var(--spectrum-purple-1300-rgb));--spectrum-purple-1400-rgb:35,15,73;--spectrum-purple-1400:rgba(var(--spectrum-purple-1400-rgb));--spectrum-fuchsia-100-rgb:255,233,252;--spectrum-fuchsia-100:rgba(var(--spectrum-fuchsia-100-rgb));--spectrum-fuchsia-200-rgb:255,218,250;--spectrum-fuchsia-200:rgba(var(--spectrum-fuchsia-200-rgb));--spectrum-fuchsia-300-rgb:254,199,248;--spectrum-fuchsia-300:rgba(var(--spectrum-fuchsia-300-rgb));--spectrum-fuchsia-400-rgb:251,174,246;--spectrum-fuchsia-400:rgba(var(--spectrum-fuchsia-400-rgb));--spectrum-fuchsia-500-rgb:245,146,243;--spectrum-fuchsia-500:rgba(var(--spectrum-fuchsia-500-rgb));--spectrum-fuchsia-600-rgb:237,116,237;--spectrum-fuchsia-600:rgba(var(--spectrum-fuchsia-600-rgb));--spectrum-fuchsia-700-rgb:224,85,226;--spectrum-fuchsia-700:rgba(var(--spectrum-fuchsia-700-rgb));--spectrum-fuchsia-800-rgb:205,58,206;--spectrum-fuchsia-800:rgba(var(--spectrum-fuchsia-800-rgb));--spectrum-fuchsia-900-rgb:182,34,183;--spectrum-fuchsia-900:rgba(var(--spectrum-fuchsia-900-rgb));--spectrum-fuchsia-1000-rgb:157,3,158;--spectrum-fuchsia-1000:rgba(var(--spectrum-fuchsia-1000-rgb));--spectrum-fuchsia-1100-rgb:128,0,129;--spectrum-fuchsia-1100:rgba(var(--spectrum-fuchsia-1100-rgb));--spectrum-fuchsia-1200-rgb:100,6,100;--spectrum-fuchsia-1200:rgba(var(--spectrum-fuchsia-1200-rgb));--spectrum-fuchsia-1300-rgb:71,14,70;--spectrum-fuchsia-1300:rgba(var(--spectrum-fuchsia-1300-rgb));--spectrum-fuchsia-1400-rgb:50,13,49;--spectrum-fuchsia-1400:rgba(var(--spectrum-fuchsia-1400-rgb));--spectrum-magenta-100-rgb:255,234,241;--spectrum-magenta-100:rgba(var(--spectrum-magenta-100-rgb));--spectrum-magenta-200-rgb:255,220,232;--spectrum-magenta-200:rgba(var(--spectrum-magenta-200-rgb));--spectrum-magenta-300-rgb:255,202,221;--spectrum-magenta-300:rgba(var(--spectrum-magenta-300-rgb));--spectrum-magenta-400-rgb:255,178,206;--spectrum-magenta-400:rgba(var(--spectrum-magenta-400-rgb));--spectrum-magenta-500-rgb:255,149,189;--spectrum-magenta-500:rgba(var(--spectrum-magenta-500-rgb));--spectrum-magenta-600-rgb:250,119,170;--spectrum-magenta-600:rgba(var(--spectrum-magenta-600-rgb));--spectrum-magenta-700-rgb:239,90,152;--spectrum-magenta-700:rgba(var(--spectrum-magenta-700-rgb));--spectrum-magenta-800-rgb:222,61,130;--spectrum-magenta-800:rgba(var(--spectrum-magenta-800-rgb));--spectrum-magenta-900-rgb:200,34,105;--spectrum-magenta-900:rgba(var(--spectrum-magenta-900-rgb));--spectrum-magenta-1000-rgb:173,9,85;--spectrum-magenta-1000:rgba(var(--spectrum-magenta-1000-rgb));--spectrum-magenta-1100-rgb:142,0,69;--spectrum-magenta-1100:rgba(var(--spectrum-magenta-1100-rgb));--spectrum-magenta-1200-rgb:112,0,55;--spectrum-magenta-1200:rgba(var(--spectrum-magenta-1200-rgb));--spectrum-magenta-1300-rgb:84,3,42;--spectrum-magenta-1300:rgba(var(--spectrum-magenta-1300-rgb));--spectrum-magenta-1400-rgb:60,6,29;--spectrum-magenta-1400:rgba(var(--spectrum-magenta-1400-rgb))}:host,:root{--spectrum-menu-item-background-color-default-rgb:0,0,0;--spectrum-menu-item-background-color-default-opacity:0;--spectrum-menu-item-background-color-default:rgba(var(--spectrum-menu-item-background-color-default-rgb),var(--spectrum-menu-item-background-color-default-opacity));--spectrum-menu-item-background-color-hover:var(\n--spectrum-transparent-black-200\n);--spectrum-menu-item-background-color-down:var(\n--spectrum-transparent-black-200\n);--spectrum-menu-item-background-color-key-focus:var(\n--spectrum-transparent-black-200\n);--spectrum-drop-zone-background-color-rgb:var(\n--spectrum-blue-800-rgb\n)}\n"])));var Bi;Ti.registerThemeFragment("lightest","color",Mi);const Fi=(0,Si.iv)(Bi||(Bi=(0,zi.Z)(['\n:host,:root{--spectrum-global-dimension-scale-factor:1;--spectrum-global-dimension-size-0:0px;--spectrum-global-dimension-size-10:1px;--spectrum-global-dimension-size-25:2px;--spectrum-global-dimension-size-30:2px;--spectrum-global-dimension-size-40:3px;--spectrum-global-dimension-size-50:4px;--spectrum-global-dimension-size-65:5px;--spectrum-global-dimension-size-75:6px;--spectrum-global-dimension-size-85:7px;--spectrum-global-dimension-size-100:8px;--spectrum-global-dimension-size-115:9px;--spectrum-global-dimension-size-125:10px;--spectrum-global-dimension-size-130:11px;--spectrum-global-dimension-size-150:12px;--spectrum-global-dimension-size-160:13px;--spectrum-global-dimension-size-175:14px;--spectrum-global-dimension-size-185:15px;--spectrum-global-dimension-size-200:16px;--spectrum-global-dimension-size-225:18px;--spectrum-global-dimension-size-250:20px;--spectrum-global-dimension-size-275:22px;--spectrum-global-dimension-size-300:24px;--spectrum-global-dimension-size-325:26px;--spectrum-global-dimension-size-350:28px;--spectrum-global-dimension-size-400:32px;--spectrum-global-dimension-size-450:36px;--spectrum-global-dimension-size-500:40px;--spectrum-global-dimension-size-550:44px;--spectrum-global-dimension-size-600:48px;--spectrum-global-dimension-size-650:52px;--spectrum-global-dimension-size-675:54px;--spectrum-global-dimension-size-700:56px;--spectrum-global-dimension-size-750:60px;--spectrum-global-dimension-size-800:64px;--spectrum-global-dimension-size-900:72px;--spectrum-global-dimension-size-1000:80px;--spectrum-global-dimension-size-1125:90px;--spectrum-global-dimension-size-1200:96px;--spectrum-global-dimension-size-1250:100px;--spectrum-global-dimension-size-1600:128px;--spectrum-global-dimension-size-1700:136px;--spectrum-global-dimension-size-1800:144px;--spectrum-global-dimension-size-2000:160px;--spectrum-global-dimension-size-2400:192px;--spectrum-global-dimension-size-2500:200px;--spectrum-global-dimension-size-3000:240px;--spectrum-global-dimension-size-3400:272px;--spectrum-global-dimension-size-3600:288px;--spectrum-global-dimension-size-4600:368px;--spectrum-global-dimension-size-5000:400px;--spectrum-global-dimension-size-6000:480px;--spectrum-global-dimension-font-size-25:10px;--spectrum-global-dimension-font-size-50:11px;--spectrum-global-dimension-font-size-75:12px;--spectrum-global-dimension-font-size-100:14px;--spectrum-global-dimension-font-size-150:15px;--spectrum-global-dimension-font-size-200:16px;--spectrum-global-dimension-font-size-300:18px;--spectrum-global-dimension-font-size-400:20px;--spectrum-global-dimension-font-size-500:22px;--spectrum-global-dimension-font-size-600:25px;--spectrum-global-dimension-font-size-700:28px;--spectrum-global-dimension-font-size-800:32px;--spectrum-global-dimension-font-size-900:36px;--spectrum-global-dimension-font-size-1000:40px;--spectrum-global-dimension-font-size-1100:45px;--spectrum-global-dimension-font-size-1200:50px;--spectrum-global-dimension-font-size-1300:60px;--spectrum-alias-item-text-padding-top-l:var(\n--spectrum-global-dimension-size-115\n);--spectrum-alias-item-text-padding-bottom-s:var(\n--spectrum-global-dimension-static-size-65\n);--spectrum-alias-item-workflow-padding-left-m:var(\n--spectrum-global-dimension-size-125\n);--spectrum-alias-item-rounded-workflow-padding-left-m:var(\n--spectrum-global-dimension-size-175\n);--spectrum-alias-item-rounded-workflow-padding-left-xl:21px;--spectrum-alias-item-mark-padding-top-m:var(\n--spectrum-global-dimension-static-size-75\n);--spectrum-alias-item-mark-padding-bottom-m:var(\n--spectrum-global-dimension-static-size-75\n);--spectrum-alias-item-mark-padding-left-m:var(\n--spectrum-global-dimension-size-125\n);--spectrum-alias-item-control-1-size-l:var(\n--spectrum-global-dimension-size-125\n);--spectrum-alias-item-control-1-size-xl:var(\n--spectrum-global-dimension-size-125\n);--spectrum-alias-item-control-2-size-s:var(\n--spectrum-global-dimension-size-150\n);--spectrum-alias-item-control-3-height-s:var(\n--spectrum-global-dimension-size-150\n);--spectrum-alias-item-control-3-width-s:23px;--spectrum-alias-item-control-3-width-m:var(\n--spectrum-global-dimension-static-size-325\n);--spectrum-alias-item-control-3-width-l:29px;--spectrum-alias-item-control-3-width-xl:33px;--spectrum-alias-item-mark-size-m:var(\n--spectrum-global-dimension-size-250\n);--spectrum-alias-component-focusring-border-radius:var(\n--spectrum-global-dimension-static-size-65\n);--spectrum-alias-control-two-size-s:var(\n--spectrum-global-dimension-size-150\n);--spectrum-alias-control-three-height-s:var(\n--spectrum-global-dimension-size-150\n);--spectrum-alias-control-three-width-s:23px;--spectrum-alias-control-three-width-m:var(\n--spectrum-global-dimension-static-size-325\n);--spectrum-alias-control-three-width-l:29px;--spectrum-alias-control-three-width-xl:33px;--spectrum-alias-focus-ring-border-radius-regular:var(\n--spectrum-global-dimension-static-size-100\n);--spectrum-alias-focus-ring-radius-default:var(\n--spectrum-global-dimension-static-size-100\n);--spectrum-alias-workflow-icon-size-l:var(\n--spectrum-global-dimension-static-size-250\n);--spectrum-alias-ui-icon-chevron-size-75:var(\n--spectrum-global-dimension-static-size-125\n);--spectrum-alias-ui-icon-chevron-size-100:var(\n--spectrum-global-dimension-static-size-125\n);--spectrum-alias-ui-icon-chevron-size-200:var(\n--spectrum-global-dimension-static-size-150\n);--spectrum-alias-ui-icon-chevron-size-300:var(\n--spectrum-global-dimension-static-size-175\n);--spectrum-alias-ui-icon-chevron-size-400:var(\n--spectrum-global-dimension-static-size-200\n);--spectrum-alias-ui-icon-chevron-size-500:var(\n--spectrum-global-dimension-static-size-200\n);--spectrum-alias-ui-icon-checkmark-size-50:var(\n--spectrum-global-dimension-static-size-125\n);--spectrum-alias-ui-icon-checkmark-size-75:var(\n--spectrum-global-dimension-static-size-125\n);--spectrum-alias-ui-icon-checkmark-size-100:var(\n--spectrum-global-dimension-static-size-125\n);--spectrum-alias-ui-icon-checkmark-size-200:var(\n--spectrum-global-dimension-static-size-150\n);--spectrum-alias-ui-icon-checkmark-size-300:var(\n--spectrum-global-dimension-static-size-175\n);--spectrum-alias-ui-icon-checkmark-size-400:var(\n--spectrum-global-dimension-static-size-200\n);--spectrum-alias-ui-icon-checkmark-size-500:var(\n--spectrum-global-dimension-static-size-200\n);--spectrum-alias-ui-icon-checkmark-size-600:var(\n--spectrum-global-dimension-static-size-225\n);--spectrum-alias-ui-icon-dash-size-50:var(\n--spectrum-global-dimension-static-size-100\n);--spectrum-alias-ui-icon-dash-size-75:var(\n--spectrum-global-dimension-static-size-100\n);--spectrum-alias-ui-icon-dash-size-100:var(\n--spectrum-global-dimension-static-size-125\n);--spectrum-alias-ui-icon-dash-size-200:var(\n--spectrum-global-dimension-static-size-150\n);--spectrum-alias-ui-icon-dash-size-300:var(\n--spectrum-global-dimension-static-size-150\n);--spectrum-alias-ui-icon-dash-size-400:var(\n--spectrum-global-dimension-static-size-175\n);--spectrum-alias-ui-icon-dash-size-500:var(\n--spectrum-global-dimension-static-size-200\n);--spectrum-alias-ui-icon-dash-size-600:var(\n--spectrum-global-dimension-static-size-225\n);--spectrum-alias-ui-icon-cross-size-75:var(\n--spectrum-global-dimension-static-size-100\n);--spectrum-alias-ui-icon-cross-size-100:var(\n--spectrum-global-dimension-static-size-100\n);--spectrum-alias-ui-icon-cross-size-200:var(\n--spectrum-global-dimension-static-size-125\n);--spectrum-alias-ui-icon-cross-size-300:var(\n--spectrum-global-dimension-static-size-150\n);--spectrum-alias-ui-icon-cross-size-400:var(\n--spectrum-global-dimension-static-size-150\n);--spectrum-alias-ui-icon-cross-size-500:var(\n--spectrum-global-dimension-static-size-175\n);--spectrum-alias-ui-icon-cross-size-600:var(\n--spectrum-global-dimension-static-size-200\n);--spectrum-alias-ui-icon-arrow-size-75:var(\n--spectrum-global-dimension-static-size-125\n);--spectrum-alias-ui-icon-arrow-size-100:var(\n--spectrum-global-dimension-static-size-125\n);--spectrum-alias-ui-icon-arrow-size-200:var(\n--spectrum-global-dimension-static-size-150\n);--spectrum-alias-ui-icon-arrow-size-300:var(\n--spectrum-global-dimension-static-size-175\n);--spectrum-alias-ui-icon-arrow-size-400:var(\n--spectrum-global-dimension-static-size-200\n);--spectrum-alias-ui-icon-arrow-size-500:var(\n--spectrum-global-dimension-static-size-225\n);--spectrum-alias-ui-icon-arrow-size-600:var(\n--spectrum-global-dimension-static-size-250\n);--spectrum-alias-ui-icon-triplegripper-size-100-width:var(\n--spectrum-global-dimension-static-size-125\n);--spectrum-alias-ui-icon-doublegripper-size-100-height:var(\n--spectrum-global-dimension-static-size-50\n);--spectrum-alias-ui-icon-singlegripper-size-100-height:var(\n--spectrum-global-dimension-static-size-25\n);--spectrum-alias-ui-icon-cornertriangle-size-100:var(\n--spectrum-global-dimension-static-size-65\n);--spectrum-alias-ui-icon-cornertriangle-size-300:var(\n--spectrum-global-dimension-static-size-85\n);--spectrum-alias-ui-icon-asterisk-size-200:var(\n--spectrum-global-dimension-static-size-125\n);--spectrum-alias-ui-icon-asterisk-size-300:var(\n--spectrum-global-dimension-static-size-125\n);--spectrum-dialog-confirm-title-text-size:var(\n--spectrum-alias-heading-s-text-size\n);--spectrum-dialog-confirm-description-text-size:var(\n--spectrum-global-dimension-font-size-100\n);--spectrum-dialog-confirm-padding:var(\n--spectrum-global-dimension-static-size-500\n);--spectrum-listitem-m-texticon-padding-left:var(\n--spectrum-global-dimension-size-125\n);--spectrum-listitem-m-textthumbnail-padding-left:var(\n--spectrum-global-dimension-size-125\n)}:host,:root{--spectrum-global-alias-appframe-border-size:2px}:host,:root{--spectrum-field-label-text-to-asterisk-small:4px;--spectrum-field-label-text-to-asterisk-medium:4px;--spectrum-field-label-text-to-asterisk-large:5px;--spectrum-field-label-text-to-asterisk-extra-large:5px;--spectrum-field-label-top-to-asterisk-small:8px;--spectrum-field-label-top-to-asterisk-medium:12px;--spectrum-field-label-top-to-asterisk-large:15px;--spectrum-field-label-top-to-asterisk-extra-large:19px;--spectrum-field-label-top-margin-small:0px;--spectrum-field-label-top-margin-medium:4px;--spectrum-field-label-top-margin-large:5px;--spectrum-field-label-top-margin-extra-large:5px;--spectrum-field-label-to-component-quiet-small:-8px;--spectrum-field-label-to-component-quiet-medium:-8px;--spectrum-field-label-to-component-quiet-large:-12px;--spectrum-field-label-to-component-quiet-extra-large:-15px;--spectrum-help-text-top-to-workflow-icon-small:4px;--spectrum-help-text-top-to-workflow-icon-medium:3px;--spectrum-help-text-top-to-workflow-icon-large:6px;--spectrum-help-text-top-to-workflow-icon-extra-large:9px;--spectrum-status-light-dot-size-small:8px;--spectrum-status-light-dot-size-medium:8px;--spectrum-status-light-dot-size-large:10px;--spectrum-status-light-dot-size-extra-large:10px;--spectrum-status-light-top-to-dot-small:8px;--spectrum-status-light-top-to-dot-medium:12px;--spectrum-status-light-top-to-dot-large:15px;--spectrum-status-light-top-to-dot-extra-large:19px;--spectrum-action-button-edge-to-hold-icon-extra-small:3px;--spectrum-action-button-edge-to-hold-icon-small:3px;--spectrum-action-button-edge-to-hold-icon-medium:4px;--spectrum-action-button-edge-to-hold-icon-large:5px;--spectrum-action-button-edge-to-hold-icon-extra-large:6px;--spectrum-tooltip-tip-width:8px;--spectrum-tooltip-tip-height:4px;--spectrum-tooltip-maximum-width:160px;--spectrum-progress-circle-size-small:16px;--spectrum-progress-circle-size-medium:32px;--spectrum-progress-circle-size-large:64px;--spectrum-progress-circle-thickness-small:2px;--spectrum-progress-circle-thickness-medium:3px;--spectrum-progress-circle-thickness-large:4px;--spectrum-toast-height:48px;--spectrum-toast-maximum-width:336px;--spectrum-toast-top-to-workflow-icon:15px;--spectrum-toast-top-to-text:14px;--spectrum-toast-bottom-to-text:17px;--spectrum-action-bar-height:48px;--spectrum-action-bar-top-to-item-counter:14px;--spectrum-swatch-size-extra-small:16px;--spectrum-swatch-size-small:24px;--spectrum-swatch-size-medium:32px;--spectrum-swatch-size-large:40px;--spectrum-progress-bar-thickness-small:4px;--spectrum-progress-bar-thickness-medium:6px;--spectrum-progress-bar-thickness-large:8px;--spectrum-progress-bar-thickness-extra-large:10px;--spectrum-meter-default-width:192px;--spectrum-meter-thickness-small:4px;--spectrum-meter-thickness-large:6px;--spectrum-tag-top-to-avatar-small:4px;--spectrum-tag-top-to-avatar-medium:6px;--spectrum-tag-top-to-avatar-large:9px;--spectrum-tag-top-to-cross-icon-small:8px;--spectrum-tag-top-to-cross-icon-medium:12px;--spectrum-tag-top-to-cross-icon-large:15px;--spectrum-popover-top-to-content-area:4px;--spectrum-menu-item-edge-to-content-not-selected-small:28px;--spectrum-menu-item-edge-to-content-not-selected-medium:32px;--spectrum-menu-item-edge-to-content-not-selected-large:38px;--spectrum-menu-item-edge-to-content-not-selected-extra-large:45px;--spectrum-menu-item-top-to-disclosure-icon-small:7px;--spectrum-menu-item-top-to-disclosure-icon-medium:11px;--spectrum-menu-item-top-to-disclosure-icon-large:14px;--spectrum-menu-item-top-to-disclosure-icon-extra-large:17px;--spectrum-menu-item-top-to-selected-icon-small:7px;--spectrum-menu-item-top-to-selected-icon-medium:11px;--spectrum-menu-item-top-to-selected-icon-large:14px;--spectrum-menu-item-top-to-selected-icon-extra-large:17px;--spectrum-slider-control-to-field-label-small:5px;--spectrum-slider-control-to-field-label-medium:8px;--spectrum-slider-control-to-field-label-large:11px;--spectrum-slider-control-to-field-label-extra-large:14px;--spectrum-picker-visual-to-disclosure-icon-small:7px;--spectrum-picker-visual-to-disclosure-icon-medium:8px;--spectrum-picker-visual-to-disclosure-icon-large:9px;--spectrum-picker-visual-to-disclosure-icon-extra-large:10px;--spectrum-text-area-minimum-width:112px;--spectrum-text-area-minimum-height:56px;--spectrum-combo-box-visual-to-field-button-small:7px;--spectrum-combo-box-visual-to-field-button-medium:8px;--spectrum-combo-box-visual-to-field-button-large:9px;--spectrum-combo-box-visual-to-field-button-extra-large:10px;--spectrum-thumbnail-size-50:16px;--spectrum-thumbnail-size-75:18px;--spectrum-thumbnail-size-100:20px;--spectrum-thumbnail-size-200:22px;--spectrum-thumbnail-size-300:26px;--spectrum-thumbnail-size-400:28px;--spectrum-thumbnail-size-500:32px;--spectrum-thumbnail-size-600:36px;--spectrum-thumbnail-size-700:40px;--spectrum-thumbnail-size-800:44px;--spectrum-thumbnail-size-900:50px;--spectrum-thumbnail-size-1000:56px;--spectrum-alert-dialog-title-size:var(--spectrum-heading-size-s);--spectrum-alert-dialog-description-size:var(--spectrum-body-size-s);--spectrum-opacity-checkerboard-square-size:8px;--spectrum-contextual-help-title-size:var(--spectrum-heading-size-xs);--spectrum-contextual-help-body-size:var(--spectrum-heading-size-s);--spectrum-breadcrumbs-height-multiline:72px;--spectrum-breadcrumbs-top-to-text:13px;--spectrum-breadcrumbs-top-to-text-compact:11px;--spectrum-breadcrumbs-top-to-text-multiline:12px;--spectrum-breadcrumbs-bottom-to-text:15px;--spectrum-breadcrumbs-bottom-to-text-compact:12px;--spectrum-breadcrumbs-bottom-to-text-multiline:9px;--spectrum-breadcrumbs-start-edge-to-text:8px;--spectrum-breadcrumbs-top-text-to-bottom-text:9px;--spectrum-breadcrumbs-top-to-separator-icon:19px;--spectrum-breadcrumbs-top-to-separator-icon-compact:15px;--spectrum-breadcrumbs-top-to-separator-icon-multiline:15px;--spectrum-breadcrumbs-separator-icon-to-bottom-text-multiline:11px;--spectrum-breadcrumbs-top-to-truncated-menu:8px;--spectrum-breadcrumbs-top-to-truncated-menu-compact:4px;--spectrum-avatar-size-50:16px;--spectrum-avatar-size-75:18px;--spectrum-avatar-size-100:20px;--spectrum-avatar-size-200:22px;--spectrum-avatar-size-300:26px;--spectrum-avatar-size-400:28px;--spectrum-avatar-size-500:32px;--spectrum-avatar-size-600:36px;--spectrum-avatar-size-700:40px;--spectrum-alert-banner-minimum-height:48px;--spectrum-alert-banner-width:832px;--spectrum-alert-banner-top-to-workflow-icon:15px;--spectrum-alert-banner-top-to-text:14px;--spectrum-alert-banner-bottom-to-text:17px;--spectrum-rating-indicator-width:18px;--spectrum-rating-indicator-to-icon:4px;--spectrum-color-area-width:192px;--spectrum-color-area-minimum-width:64px;--spectrum-color-area-height:192px;--spectrum-color-area-minimum-height:64px;--spectrum-color-wheel-width:192px;--spectrum-color-wheel-minimum-width:175px;--spectrum-color-slider-length:192px;--spectrum-color-slider-minimum-length:80px;--spectrum-illustrated-message-title-size:var(--spectrum-heading-size-m);--spectrum-illustrated-message-cjk-title-size:var(\n--spectrum-heading-cjk-size-m\n);--spectrum-illustrated-message-body-size:var(--spectrum-body-size-s);--spectrum-coach-mark-minimum-width:296px;--spectrum-coach-mark-edge-to-content:var(--spectrum-spacing-400);--spectrum-coach-mark-pagination-text-to-bottom-edge:33px;--spectrum-coach-mark-media-minimum-height:166px;--spectrum-accordion-top-to-text-compact-small:2px;--spectrum-accordion-top-to-text-regular-small:5px;--spectrum-accordion-small-top-to-text-spacious:9px;--spectrum-accordion-top-to-text-compact-medium:4px;--spectrum-accordion-top-to-text-regular-medium:8px;--spectrum-accordion-top-to-text-spacious-medium:12px;--spectrum-accordion-top-to-text-compact-large:4px;--spectrum-accordion-top-to-text-regular-large:9px;--spectrum-accordion-top-to-text-spacious-large:12px;--spectrum-accordion-top-to-text-compact-extra-large:5px;--spectrum-accordion-top-to-text-regular-extra-large:9px;--spectrum-accordion-top-to-text-spacious-extra-large:13px;--spectrum-accordion-bottom-to-text-compact-small:2px;--spectrum-accordion-bottom-to-text-regular-small:7px;--spectrum-accordion-bottom-to-text-spacious-small:11px;--spectrum-accordion-bottom-to-text-compact-medium:5px;--spectrum-accordion-bottom-to-text-regular-medium:9px;--spectrum-accordion-bottom-to-text-spacious-medium:13px;--spectrum-accordion-bottom-to-text-compact-large:8px;--spectrum-accordion-bottom-to-text-regular-large:11px;--spectrum-accordion-bottom-to-text-spacious-large:16px;--spectrum-accordion-bottom-to-text-compact-extra-large:8px;--spectrum-accordion-bottom-to-text-regular-extra-large:12px;--spectrum-accordion-bottom-to-text-spacious-extra-large:16px;--spectrum-accordion-minimum-width:200px;--spectrum-accordion-disclosure-indicator-to-text:0px;--spectrum-accordion-edge-to-disclosure-indicator:0px;--spectrum-accordion-edge-to-text:0px;--spectrum-accordion-focus-indicator-gap:0px;--spectrum-accordion-content-area-top-to-content:8px;--spectrum-accordion-content-area-bottom-to-content:16px;--spectrum-color-handle-size:16px;--spectrum-color-handle-size-key-focus:32px;--spectrum-tab-item-to-tab-item-horizontal-small:21px;--spectrum-tab-item-to-tab-item-horizontal-medium:24px;--spectrum-tab-item-to-tab-item-horizontal-large:27px;--spectrum-tab-item-to-tab-item-horizontal-extra-large:30px;--spectrum-tab-item-to-tab-item-vertical-small:4px;--spectrum-tab-item-to-tab-item-vertical-medium:4px;--spectrum-tab-item-to-tab-item-vertical-large:5px;--spectrum-tab-item-to-tab-item-vertical-extra-large:5px;--spectrum-tab-item-start-to-edge-small:12px;--spectrum-tab-item-start-to-edge-medium:12px;--spectrum-tab-item-start-to-edge-large:13px;--spectrum-tab-item-start-to-edge-extra-large:13px;--spectrum-tab-item-top-to-text-small:11px;--spectrum-tab-item-bottom-to-text-small:12px;--spectrum-tab-item-top-to-text-medium:14px;--spectrum-tab-item-bottom-to-text-medium:14px;--spectrum-tab-item-top-to-text-large:16px;--spectrum-tab-item-bottom-to-text-large:18px;--spectrum-tab-item-top-to-text-extra-large:19px;--spectrum-tab-item-bottom-to-text-extra-large:20px;--spectrum-tab-item-top-to-text-compact-small:4px;--spectrum-tab-item-bottom-to-text-compact-small:5px;--spectrum-tab-item-top-to-text-compact-medium:6px;--spectrum-tab-item-bottom-to-text-compact-medium:8px;--spectrum-tab-item-top-to-text-compact-large:10px;--spectrum-tab-item-bottom-to-text-compact-large:12px;--spectrum-tab-item-top-to-text-compact-extra-large:12px;--spectrum-tab-item-bottom-to-text-compact-extra-large:13px;--spectrum-tab-item-top-to-workflow-icon-small:13px;--spectrum-tab-item-top-to-workflow-icon-medium:15px;--spectrum-tab-item-top-to-workflow-icon-large:17px;--spectrum-tab-item-top-to-workflow-icon-extra-large:19px;--spectrum-tab-item-top-to-workflow-icon-compact-small:3px;--spectrum-tab-item-top-to-workflow-icon-compact-medium:7px;--spectrum-tab-item-top-to-workflow-icon-compact-large:9px;--spectrum-tab-item-top-to-workflow-icon-compact-extra-large:11px;--spectrum-tab-item-focus-indicator-gap-small:7px;--spectrum-tab-item-focus-indicator-gap-medium:8px;--spectrum-tab-item-focus-indicator-gap-large:9px;--spectrum-tab-item-focus-indicator-gap-extra-large:10px;--spectrum-side-navigation-width:192px;--spectrum-side-navigation-minimum-width:160px;--spectrum-side-navigation-maximum-width:240px;--spectrum-side-navigation-second-level-edge-to-text:24px;--spectrum-side-navigation-third-level-edge-to-text:36px;--spectrum-side-navigation-with-icon-second-level-edge-to-text:50px;--spectrum-side-navigation-with-icon-third-level-edge-to-text:62px;--spectrum-side-navigation-item-to-item:4px;--spectrum-side-navigation-item-to-header:16px;--spectrum-tray-top-to-content-area:4px;--spectrum-workflow-icon-size-50:14px;--spectrum-workflow-icon-size-75:16px;--spectrum-workflow-icon-size-100:18px;--spectrum-workflow-icon-size-200:20px;--spectrum-workflow-icon-size-300:22px;--spectrum-text-to-visual-50:6px;--spectrum-text-to-visual-75:7px;--spectrum-text-to-visual-100:8px;--spectrum-text-to-visual-200:9px;--spectrum-text-to-visual-300:10px;--spectrum-text-to-control-75:9px;--spectrum-text-to-control-100:10px;--spectrum-text-to-control-200:11px;--spectrum-text-to-control-300:13px;--spectrum-component-height-50:20px;--spectrum-component-height-75:24px;--spectrum-component-height-100:32px;--spectrum-component-height-200:40px;--spectrum-component-height-300:48px;--spectrum-component-height-400:56px;--spectrum-component-height-500:64px;--spectrum-component-pill-edge-to-visual-75:10px;--spectrum-component-pill-edge-to-visual-100:14px;--spectrum-component-pill-edge-to-visual-200:18px;--spectrum-component-pill-edge-to-visual-300:21px;--spectrum-component-pill-edge-to-visual-only-75:4px;--spectrum-component-pill-edge-to-visual-only-100:7px;--spectrum-component-pill-edge-to-visual-only-200:10px;--spectrum-component-pill-edge-to-visual-only-300:13px;--spectrum-component-pill-edge-to-text-75:12px;--spectrum-component-pill-edge-to-text-100:16px;--spectrum-component-pill-edge-to-text-200:20px;--spectrum-component-pill-edge-to-text-300:24px;--spectrum-component-edge-to-visual-50:6px;--spectrum-component-edge-to-visual-75:7px;--spectrum-component-edge-to-visual-100:10px;--spectrum-component-edge-to-visual-200:13px;--spectrum-component-edge-to-visual-300:15px;--spectrum-component-edge-to-visual-only-50:3px;--spectrum-component-edge-to-visual-only-75:4px;--spectrum-component-edge-to-visual-only-100:7px;--spectrum-component-edge-to-visual-only-200:10px;--spectrum-component-edge-to-visual-only-300:13px;--spectrum-component-edge-to-text-50:8px;--spectrum-component-edge-to-text-75:9px;--spectrum-component-edge-to-text-100:12px;--spectrum-component-edge-to-text-200:15px;--spectrum-component-edge-to-text-300:18px;--spectrum-component-top-to-workflow-icon-50:3px;--spectrum-component-top-to-workflow-icon-75:4px;--spectrum-component-top-to-workflow-icon-100:7px;--spectrum-component-top-to-workflow-icon-200:10px;--spectrum-component-top-to-workflow-icon-300:13px;--spectrum-component-top-to-text-50:3px;--spectrum-component-top-to-text-75:4px;--spectrum-component-top-to-text-100:6px;--spectrum-component-top-to-text-200:9px;--spectrum-component-top-to-text-300:12px;--spectrum-component-bottom-to-text-50:3px;--spectrum-component-bottom-to-text-75:5px;--spectrum-component-bottom-to-text-100:9px;--spectrum-component-bottom-to-text-200:11px;--spectrum-component-bottom-to-text-300:14px;--spectrum-component-to-menu-small:6px;--spectrum-component-to-menu-medium:6px;--spectrum-component-to-menu-large:7px;--spectrum-component-to-menu-extra-large:8px;--spectrum-field-edge-to-disclosure-icon-75:7px;--spectrum-field-edge-to-disclosure-icon-100:11px;--spectrum-field-edge-to-disclosure-icon-200:14px;--spectrum-field-edge-to-disclosure-icon-300:17px;--spectrum-field-end-edge-to-disclosure-icon-75:7px;--spectrum-field-end-edge-to-disclosure-icon-100:11px;--spectrum-field-end-edge-to-disclosure-icon-200:14px;--spectrum-field-end-edge-to-disclosure-icon-300:17px;--spectrum-field-top-to-disclosure-icon-75:7px;--spectrum-field-top-to-disclosure-icon-100:11px;--spectrum-field-top-to-disclosure-icon-200:14px;--spectrum-field-top-to-disclosure-icon-300:17px;--spectrum-field-top-to-alert-icon-small:4px;--spectrum-field-top-to-alert-icon-medium:7px;--spectrum-field-top-to-alert-icon-large:10px;--spectrum-field-top-to-alert-icon-extra-large:13px;--spectrum-field-top-to-validation-icon-small:7px;--spectrum-field-top-to-validation-icon-medium:11px;--spectrum-field-top-to-validation-icon-large:14px;--spectrum-field-top-to-validation-icon-extra-large:17px;--spectrum-field-top-to-progress-circle-small:4px;--spectrum-field-top-to-progress-circle-medium:8px;--spectrum-field-top-to-progress-circle-large:12px;--spectrum-field-top-to-progress-circle-extra-large:16px;--spectrum-field-edge-to-alert-icon-small:9px;--spectrum-field-edge-to-alert-icon-medium:12px;--spectrum-field-edge-to-alert-icon-large:15px;--spectrum-field-edge-to-alert-icon-extra-large:18px;--spectrum-field-edge-to-validation-icon-small:9px;--spectrum-field-edge-to-validation-icon-medium:12px;--spectrum-field-edge-to-validation-icon-large:15px;--spectrum-field-edge-to-validation-icon-extra-large:18px;--spectrum-field-text-to-alert-icon-small:8px;--spectrum-field-text-to-alert-icon-medium:12px;--spectrum-field-text-to-alert-icon-large:15px;--spectrum-field-text-to-alert-icon-extra-large:18px;--spectrum-field-text-to-validation-icon-small:8px;--spectrum-field-text-to-validation-icon-medium:12px;--spectrum-field-text-to-validation-icon-large:15px;--spectrum-field-text-to-validation-icon-extra-large:18px;--spectrum-field-width:192px;--spectrum-character-count-to-field-quiet-small:-3px;--spectrum-character-count-to-field-quiet-medium:-3px;--spectrum-character-count-to-field-quiet-large:-3px;--spectrum-character-count-to-field-quiet-extra-large:-4px;--spectrum-side-label-character-count-to-field:12px;--spectrum-side-label-character-count-top-margin-small:4px;--spectrum-side-label-character-count-top-margin-medium:8px;--spectrum-side-label-character-count-top-margin-large:11px;--spectrum-side-label-character-count-top-margin-extra-large:14px;--spectrum-disclosure-indicator-top-to-disclosure-icon-small:7px;--spectrum-disclosure-indicator-top-to-disclosure-icon-medium:11px;--spectrum-disclosure-indicator-top-to-disclosure-icon-large:14px;--spectrum-disclosure-indicator-top-to-disclosure-icon-extra-large:17px;--spectrum-navigational-indicator-top-to-back-icon-small:7px;--spectrum-navigational-indicator-top-to-back-icon-medium:11px;--spectrum-navigational-indicator-top-to-back-icon-large:14px;--spectrum-navigational-indicator-top-to-back-icon-extra-large:17px;--spectrum-color-control-track-width:24px;--spectrum-font-size-50:11px;--spectrum-font-size-75:12px;--spectrum-font-size-100:14px;--spectrum-font-size-200:16px;--spectrum-font-size-300:18px;--spectrum-font-size-400:20px;--spectrum-font-size-500:22px;--spectrum-font-size-600:25px;--spectrum-font-size-700:28px;--spectrum-font-size-800:32px;--spectrum-font-size-900:36px;--spectrum-font-size-1000:40px;--spectrum-font-size-1100:45px;--spectrum-font-size-1200:50px;--spectrum-font-size-1300:60px}:host,:root{--spectrum-edge-to-visual-only-75:4px;--spectrum-edge-to-visual-only-100:7px;--spectrum-edge-to-visual-only-200:10px;--spectrum-edge-to-visual-only-300:13px;--spectrum-slider-tick-mark-height:10px;--spectrum-slider-ramp-track-height:16px;--spectrum-colorwheel-path:"M 95 95 m -95 0 a 95 95 0 1 0 190 0 a 95 95 0 1 0 -190 0.2 M 95 95 m -73 0 a 73 73 0 1 0 146 0 a 73 73 0 1 0 -146 0";--spectrum-colorwheel-path-borders:"M 96 96 m -96 0 a 96 96 0 1 0 192 0 a 96 96 0 1 0 -192 0.2 M 96 96 m -72 0 a 72 72 0 1 0 144 0 a 72 72 0 1 0 -144 0";--spectrum-colorwheel-colorarea-container-size:144px;--spectrum-colorloupe-checkerboard-fill:url(#checkerboard-primary);--spectrum-menu-item-selectable-edge-to-text-not-selected-small:28px;--spectrum-menu-item-selectable-edge-to-text-not-selected-medium:32px;--spectrum-menu-item-selectable-edge-to-text-not-selected-large:38px;--spectrum-menu-item-selectable-edge-to-text-not-selected-extra-large:45px;--spectrum-menu-item-checkmark-height-small:10px;--spectrum-menu-item-checkmark-height-medium:10px;--spectrum-menu-item-checkmark-height-large:12px;--spectrum-menu-item-checkmark-height-extra-large:14px;--spectrum-menu-item-checkmark-width-small:10px;--spectrum-menu-item-checkmark-width-medium:10px;--spectrum-menu-item-checkmark-width-large:12px;--spectrum-menu-item-checkmark-width-extra-large:14px;--spectrum-rating-icon-spacing:var(--spectrum-spacing-75);--spectrum-button-top-to-text-small:5px;--spectrum-button-bottom-to-text-small:4px;--spectrum-button-top-to-text-medium:7px;--spectrum-button-bottom-to-text-medium:8px;--spectrum-button-top-to-text-large:10px;--spectrum-button-bottom-to-text-large:10px;--spectrum-button-top-to-text-extra-large:13px;--spectrum-button-bottom-to-text-extra-large:13px;--spectrum-alert-banner-close-button-spacing:var(--spectrum-spacing-100);--spectrum-alert-banner-edge-to-divider:var(--spectrum-spacing-100);--spectrum-alert-banner-edge-to-button:var(--spectrum-spacing-100);--spectrum-alert-banner-text-to-button-vertical:var(\n--spectrum-spacing-100\n)}:host,:root{--spectrum-checkbox-control-size-small:12px;--spectrum-checkbox-control-size-medium:14px;--spectrum-checkbox-control-size-large:16px;--spectrum-checkbox-control-size-extra-large:18px;--spectrum-checkbox-top-to-control-small:6px;--spectrum-checkbox-top-to-control-medium:9px;--spectrum-checkbox-top-to-control-large:12px;--spectrum-checkbox-top-to-control-extra-large:15px;--spectrum-switch-control-width-small:23px;--spectrum-switch-control-width-medium:26px;--spectrum-switch-control-width-large:29px;--spectrum-switch-control-width-extra-large:33px;--spectrum-switch-control-height-small:12px;--spectrum-switch-control-height-medium:14px;--spectrum-switch-control-height-large:16px;--spectrum-switch-control-height-extra-large:18px;--spectrum-switch-top-to-control-small:6px;--spectrum-switch-top-to-control-medium:9px;--spectrum-switch-top-to-control-large:12px;--spectrum-switch-top-to-control-extra-large:15px;--spectrum-radio-button-control-size-small:12px;--spectrum-radio-button-control-size-medium:14px;--spectrum-radio-button-control-size-large:16px;--spectrum-radio-button-control-size-extra-large:18px;--spectrum-radio-button-top-to-control-small:6px;--spectrum-radio-button-top-to-control-medium:9px;--spectrum-radio-button-top-to-control-large:12px;--spectrum-radio-button-top-to-control-extra-large:15px;--spectrum-slider-control-height-small:14px;--spectrum-slider-control-height-medium:16px;--spectrum-slider-control-height-large:18px;--spectrum-slider-control-height-extra-large:20px;--spectrum-slider-handle-size-small:14px;--spectrum-slider-handle-size-medium:16px;--spectrum-slider-handle-size-large:18px;--spectrum-slider-handle-size-extra-large:20px;--spectrum-slider-handle-border-width-down-small:5px;--spectrum-slider-handle-border-width-down-medium:6px;--spectrum-slider-handle-border-width-down-large:7px;--spectrum-slider-handle-border-width-down-extra-large:8px;--spectrum-slider-bottom-to-handle-small:5px;--spectrum-slider-bottom-to-handle-medium:8px;--spectrum-slider-bottom-to-handle-large:11px;--spectrum-slider-bottom-to-handle-extra-large:14px;--spectrum-corner-radius-75:2px;--spectrum-corner-radius-100:4px;--spectrum-corner-radius-200:8px;--spectrum-drop-shadow-x:0px;--spectrum-drop-shadow-y:1px;--spectrum-drop-shadow-blur:4px}\n'])));var Hi,Ui,qi,Vi;Ti.registerThemeFragment("medium","scale",Fi);var Wi={make:function(e){return Wi=x.ZP.make({render:function(e,t){var r=t.sp$45theme=e.pushTemplateNode(na);e.attachEvent(t.sp$45theme,"contextmenu",ra),e.enterNode(r),e.runBinder(ta,ea,t,!0),e.runBinder(Qi,Xi,t,!0);var n=t.organizerContent=Ji.make(e);n.$_parent=t,n.template.run(e,n),e.exitNode(r)},dispose:function(e,t){t.sp$45theme._jsx_data=null,e.removeSignals(t.sp$3645theme_class_binder,t.sp$3645theme_class_invalidate),e.removeSignals(t.sp$3645theme_color_binder,t.sp$3645theme_color_invalidate),t.organizerContent.template.dispose(e,t.organizerContent)},move:function(e,t){e.pushNode(t.sp$45theme)},reuse:function(e,t){e.runBinder(ta,ea,t,!1),e.runBinder(Qi,Xi,t,!1),t.organizerContent.template.reuse(e,t.organizerContent)},init:function(e,t){t.sp$45theme._jsx_data=t},firstChild:function(e,t){return t.sp$45theme},prepare:function(e){e.attr._scale||(e.attr._scale=e.ensureAttr("scale")),e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._color||(e.attr._color=e.ensureAttr("color"))}}),Wi.make(e)}},Ji={make:function(e){return(Ji=e.makeComponent(I.Z,{attributes:[{name:"sources",get:function(){var e=this.$_view;if(e)return e.$_parent.$_scope._this._sources},set:function(e){var t=this.$_view;t&&(t.$_parent.$_scope._this._sources=e)}}],events:[{name:"source-changed",value:Yi},{name:"selected-changed",value:Ki},{name:"double-click",value:Gi}],init:function(e,t){e.$_parent.$_scope._this._organizerController=t},dispose:function(e,t){e.$_parent.$_scope._this._organizerController=null}})).make(e)}};function Gi(e){var t=this.$_view;t&&t.$_parent.$_scope._this._doubleClickAsset(e)}function Ki(e){var t=this.$_view;t&&t.$_parent.$_scope._this._selectedChanged(e)}function Yi(e){var t=this.$_view;t&&t.$_parent.$_scope._this._sourceChanged(e)}function Xi(e,t,r,n,i,a){t.sp$3645theme_color_binder=r,t.sp$3645theme_color_invalidate=n;var o=t.sp$3645theme_color_value;(a||o!==i)&&(t.sp$3645theme_color_value=i,t.sp$3645theme_color_state=e.attr._color(t.sp$45theme,"color",i,t.sp$3645theme_color_state))}function Qi(e){return e.$_scope._this._color}function ea(e,t,r,n,i,a){t.sp$3645theme_class_binder=r,t.sp$3645theme_class_invalidate=n;var o=t.sp$3645theme_class_value;(a||o!==i)&&(t.sp$3645theme_class_value=i,t.sp$3645theme_class_state=e.attr._class(t.sp$45theme,"class",i,t.sp$3645theme_class_state))}function ta(e){return Zi.container}function ra(e){var t=this._jsx_data;t&&t.$_scope._this._onRightClick(e)}var na=(0,S.z)((function(e){var t=e.makeNode("sp-theme");return e.attr._scale(t,"scale","medium"),t})),ia=(Hi=function(e){(0,T.Z)(r,e);var t=(0,P.Z)(r);function r(e){var n;if((0,a.Z)(this,r),n=t.call(this),(0,A.Z)(n,"_organizerController",Ui,(0,C.Z)(n)),(0,A.Z)(n,"_color",qi,(0,C.Z)(n)),(0,A.Z)(n,"_sources",Vi,(0,C.Z)(n)),n._color=e.color,n._base=li.sources.base,n._sources=li.sources,e.initialSourceId===n._sources.allPhotos.model.id)n._sources.current=n._sources.allPhotos;else{var i=function e(t,r){if(t&&r){var n=t.albums,i=t.folders,a=n.find((function(e){return e.id===r}));if(a)return a;var o,s=(0,$.Z)(i);try{for(s.s();!(o=s.n()).done;){var l=e(o.value,r);if(l)return l}}catch(e){s.e(e)}finally{s.f()}}}(n._sources.allAlbums,e.initialSourceId);n._sources.current=i||n._sources.rootFolder}return n.scope.singleSelect="single"===e.selectionMode,n.scope.selectionType=e.selectionType,n}return(0,o.Z)(r,[{key:"clearSelection",value:function(){var e;null===(e=this._organizerController)||void 0===e||e.clearSelection()}},{key:"_sourceChanged",value:function(e){this.trigger("lr-source-changed",null==e?void 0:e.metadata)}},{key:"_doubleClickAsset",value:function(e){this.trigger("lr-double-click",e)}},{key:"_selectedChanged",value:function(e){var t,r=[],n=(0,$.Z)(e.values());try{for(n.s();!(t=n.n()).done;){var i=t.value.item;delete i.base,r.push(i)}}catch(e){n.e(e)}finally{n.f()}this.trigger("lr-selected-changed",{base:this._base,resources:r})}},{key:"_onRightClick",value:function(e){e.preventDefault();var t=document.elementsFromPoint(e.clientX,e.clientY),r=null==t?void 0:t.find((function(e){return e.classList.contains("grid-asset")}));return this.trigger("lr-right-click",{clientX:e.clientX,clientY:e.clientY,assetId:null==r?void 0:r.id,selected:!(null==r||!r.classList.contains("selected"))}),!1}},{key:"render",value:function(){return{template:Wi,_this:this}}}],[{key:"getEvents",value:function(){return["lr-selected-changed","lr-double-click","lr-source-changed","lr-right-click"]}}]),r}(O.Z),Ui=(0,z.Z)(Hi.prototype,"_organizerController",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),qi=(0,z.Z)(Hi.prototype,"_color",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Vi=(0,z.Z)(Hi.prototype,"_sources",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Hi),aa=function(){function e(t){(0,a.Z)(this,e),this._app=new ia(t)}return(0,o.Z)(e,[{key:"getEvents",value:function(){return ia.getEvents()}},{key:"on",value:function(e,t){this._app.on(e,(function(e){t(e)}))}},{key:"connect",value:function(){if(this._app.start(document.getElementById("main")),"creative_cloud_cloud_docs_v5_3"===J.clientId){var e,t=null===(e=document.body.shadowRoot)||void 0===e?void 0:e.getElementById("actual");t&&(t.style.minHeight="calc(100vh - var(--swc-body-margins-block, 0px))")}}},{key:"disconnect",value:function(){var e;null===(e=this._app)||void 0===e||e.dispose(),this._app=void 0}},{key:"clearSelection",value:function(){var e;null===(e=this._app)||void 0===e||e.clearSelection()}}]),e}(),oa={setContentP:function(e){li.setContent(e)},setFeaturesP:function(e){li.setFeatures(e)},setSessionP:function(e){li.setSession(e)},setPreferredLanguageP:function(e){return(0,i.Z)((0,n.Z)().mark((function t(){return(0,n.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,li.setPreferredLanguageP(e);case 2:case"end":return t.stop()}}),t)})))()},instanceP:function(e){return _(new aa(e))}};document.oncontextmenu=function(){return!1},window.addEventListener("dragover",(function(e){return e.preventDefault()}),!1),window.addEventListener("drop",(function(e){return e.preventDefault()}),!1),h(oa,function(e,t=self,r="*"){return{postMessage:(t,n)=>e.postMessage(t,r,n),addEventListener:t.addEventListener.bind(t),removeEventListener:t.removeEventListener.bind(t)}}(window.parent))},297064:(e,t,r)=>{"use strict";r.d(t,{Z:()=>me});var n=r(685271),i=r(504397),a=r(282466),o=r(89211),s=r(143681),l=r(236229),c=r(668962),u=r(749886),p=r(673136),d=r(588816),m=r(878537),h=r(54262),v=r(548967),g=r(704083),f=(r(35812),r(537188)),b=r.n(f),y=r(165764),_=r.n(y),w=r(774154),k=r.n(w),Z=r(811949),x=r.n(Z),S=r(934809),$=r.n(S),A=r(12509),C=r.n(A),T=r(838734),P={};P.styleTagTransform=C(),P.setAttributes=x(),P.insert=k().bind(null,"head"),P.domAPI=_(),P.insertStyleElement=$(),b()(T.Z,P);const z=T.Z&&T.Z.locals?T.Z.locals:void 0;var E=r(846031),O=(r(290671),r(816221),r(17938),r(573467),r(255187),r(203454),r(693508),r(697458)),I=r(97865),R=r(193776),j=r(439433),N=r(975157),D=r(285397),L=r.n(D);function M(e){return new N.Z(e.base).fullHref(e.links.self.href)}var B,F,H,U=function(){function e(){(0,o.Z)(this,e),this._assetsOfId={},this._subtype="image;video"}return(0,s.Z)(e,[{key:"subtype",set:function(e){"image"!==e&&"video"!==e&&"image;video"!==e||(this._subtype=e)}},{key:"assetsOfSource",value:function(e){if("catalog"===(null==e?void 0:e.type)){var t=e.id;if(!this._assetsOfId[t]){var r=M(e),n={subtype:this._subtype,captured_before:O.v.MAXIMUM_DATE,exclude:"incomplete"},i=new I.Z("".concat(r,"/assets"),n);i.reset(),this._assetsOfId[t]=i}return this._assetsOfId[t]}if("album"===(null==e?void 0:e.type)){var a=e.id;if(!this._assetsOfId[a]){var o=M(e),s={subtype:this._subtype,embed:"asset",order_after:"-"},l=new R.Z("".concat(o,"/assets"),s);l.reset(),this._assetsOfId[a]=l}return this._assetsOfId[a]}if("search"===(null==e?void 0:e.type)){var c=L()(e);if(!this._assetsOfId[c]){var u={id:e.catalogId},p=new j.Z(u,e.searchText,e.filterList,e.sortOrderBy,e.sortOrderDirection);this._assetsOfId[c]=p}return this._assetsOfId[c]}}},{key:"fetchAssetsP",value:function(e){var t=this.assetsOfSource(e);return t?t.fetchP().then((function(e){return e.resources})):Promise.reject("no asset source")}}]),e}(),q=(r(367469),r(461852)),V=r(186968),W={make:function(e){return(W=e.makeComponent(V.Z,{attributes:[{name:"context",get:function(){var e=this.$_view;if(e)return e.$_scope._this.context},set:function(e){var t=this.$_view;t&&(t.$_scope._this.context=e)}}],events:[{name:"selected-changed",value:G},{name:"double-click",value:J}]})).make(e)}};function J(e){var t=this.$_view;t&&t.$_scope._this.trigger("double-click",e)}function G(e){var t=this.$_view;t&&t.$_scope._this.trigger("selected-changed",e)}var K=(B=function(e){(0,c.Z)(r,e);var t=(0,u.Z)(r);function r(e,n){var i;return(0,o.Z)(this,r),i=t.call(this),(0,a.Z)(i,"context",F,(0,l.Z)(i)),(0,a.Z)(i,"selectionMode",H,(0,l.Z)(i)),Object.assign((0,l.Z)(i),e),i.scope.assetSourceManager=n,i.watch((function(){return i.selectionMode}),(function(e){return i.scope.singleSelect="single"===e})),i}return(0,s.Z)(r,[{key:"render",value:function(){return{template:W,_this:this}}}]),r}(q.Z),F=(0,p.Z)(B.prototype,"context",[v.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=(0,p.Z)(B.prototype,"selectionMode",[v.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"extended"}}),B),Y=r(189256),X=r(663831),Q={};Q.styleTagTransform=C(),Q.setAttributes=x(),Q.insert=k().bind(null,"head"),Q.domAPI=_(),Q.insertStyleElement=$(),b()(X.Z,Q);const ee=X.Z&&X.Z.locals?X.Z.locals:void 0;var te,re,ne,ie,ae=function(){function e(){(0,o.Z)(this,e),this._container=document.createElement("div"),this._properties={context:void 0,selectionMode:"single"}}return(0,s.Z)(e,[{key:"connect",value:function(t){var r=this;if(!this._container.isConnected){t.appendChild(this._container),this._app=new K(this._properties,e._assetSourceManager);var n=function(e,t){var n={bubbles:!0,composed:!0,detail:t};r._container.dispatchEvent(new CustomEvent(e,n))};this._app.on("selected-changed",(function(e){return n("selected-changed",e)})),this._app.on("double-click",(function(e){return n("double-click",e)})),this._app.start(this._container)}}},{key:"disconnect",value:function(){this._container.remove(),this._app.dispose(),this._app=void 0}},{key:"theme",set:function(e){if("darkest"===e||"dark"===e||"light"===e||"lightest"===e){var t,r,n=(0,E.Z)(this._container.classList.values());try{for(n.s();!(r=n.n()).done;){var i=r.value;i.includes("lrgrid--")&&(t=i)}}catch(e){n.e(e)}finally{n.f()}t&&this._container.classList.remove(t),this._container.classList.add(ee["lrgrid--".concat(e)])}}},{key:"_setProperty",value:function(e,t){this._properties[e]=t,this._app&&(this._app[e]=t)}},{key:"context",set:function(e){this._setProperty("context",e)}},{key:"selectionMode",set:function(e){this._setProperty("selectionMode",e)}},{key:"selectionType",set:function(t){e._assetSourceManager.subtype=t}}],[{key:"session",set:function(e){Y.Z.haveNginxProxy=!1,Y.Z.hostOverride="https://".concat(e.host),O.Z.setAuthHeaders(e.accessToken,e.apiKey)}}]),e}();ae._assetSourceManager=new U,ae.propertyNames=["context","selectionMode"],e=r.hmd(e);var oe={make:function(e){return oe=n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(de);pe(t,r),e.attachEvent(t.div,"selected-changed",ue),e.attachEvent(t.div,"double-click",ce),e.runBinder(le,se,t,!0)},dispose:function(e,t){t.div._jsx_data=null,e.removeSignals(t.div_class_binder,t.div_class_invalidate),pe(t,null)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){pe(t,t.div),e.runBinder(le,se,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"))}}),oe.make(e)}};function se(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function le(e){return z.view}function ce(e){var t=this._jsx_data;t&&t.$_scope._this._handleEvent(e)}function ue(e){var t=this._jsx_data;t&&t.$_scope._this._handleEvent(e)}function pe(e,t){e.$_scope._this._element=t}var de=(0,i.z)((function(e){return e.makeNode("div")})),me=(0,d.Z)((0,h.Z)("LrGridContent",{events:["selected-changed","double-click"]}),e,"LrGridContent")((re=function(e){(0,c.Z)(r,e);var t=(0,u.Z)(r);function r(){var e;(0,o.Z)(this,r);for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return e=t.call.apply(t,[this].concat(i)),(0,a.Z)(e,"context",ne,(0,l.Z)(e)),(0,a.Z)(e,"_element",ie,(0,l.Z)(e)),e}return(0,s.Z)(r,[{key:"attached",value:function(){var e=this;this._grid=new ae,this.watch((function(){return e.context}),(function(t){return e._grid.context=t})),this.watch((function(){return e.scope.singleSelect}),(function(t){return e._grid.selectionMode=t?"single":"extended"})),this.watch((function(){return e.scope.selectionType}),(function(t){return e._grid.selectionType=t})),this._grid.connect(this._element)}},{key:"detached",value:function(){this._grid.disconnect(),this._grid=void 0}},{key:"_handleEvent",value:function(e){e.stopPropagation(),this.trigger(e.type,e.detail)}},{key:"render",value:function(){return{template:oe,_this:this}}}]),r}(m.Z),ne=(0,p.Z)(re.prototype,"context",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ie=(0,p.Z)(re.prototype,"_element",[v.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),te=re))||te},341538:(e,t,r)=>{"use strict";r.d(t,{Z:()=>ne});var n=r(685271),i=r(504397),a=r(568121),o=r(282466),s=r(89211),l=r(143681),c=r(236229),u=r(668962),p=r(749886),d=r(673136),m=r(588816),h=r(878537),v=r(54262),g=r(548967),f=r(704083),b=(r(893248),r(35812),r(359538),r(537188)),y=r.n(b),_=r(165764),w=r.n(_),k=r(774154),Z=r.n(k),x=r(811949),S=r.n(x),$=r(934809),A=r.n($),C=r(12509),T=r.n(C),P=r(30623),z={};z.styleTagTransform=T(),z.setAttributes=S(),z.insert=Z().bind(null,"head"),z.domAPI=w(),z.insertStyleElement=A(),y()(P.Z,z);const E=P.Z&&P.Z.locals?P.Z.locals:void 0;var O,I,R,j,N,D,L,M;e=r.hmd(e);var B={make:function(e){return B=n.ZP.make({render:function(e,t){var r=t.nav=e.pushTemplateNode(ee);e.enterNode(r);var n=t.div=e.pushTemplateNode(Q);e.enterNode(n),e.runBinder(X,Y,t,!0);var i=t.repeat=F.make(e);i.$_parent=t,i.template.run(e,i),e.exitNode(n),e.exitNode(r)},dispose:function(e,t){e.removeSignals(t.div_class_binder,t.div_class_invalidate),t.repeat.template.dispose(e,t.repeat)},move:function(e,t){e.pushNode(t.nav)},reuse:function(e,t){e.runBinder(X,Y,t,!1),t.repeat.template.reuse(e,t.repeat)},firstChild:function(e,t){return t.nav},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}}),B.make(e)}},F={make:function(e){return F=e.makeComponent(a.Z,{args:2,props:{getCollection:function(e){return e.$_parent.$_scope._this.truncateList}},blocks:[{name:"children",template:n.ZP.make({render:function(e,t){var r=t.li=e.pushTemplateNode(K);e.enterNode(r);var n=t.a=e.pushTemplateNode(G);e.attachEvent(t.a,"click",J),e.enterNode(n),t.span=e.pushTemplateNode(W),e.exitNode(n),e.exitNode(r),e.runBinder(V,q,t,!0),e.runBinder(U,H,t,!0)},dispose:function(e,t){t.a._jsx_data=null,e.removeSignals(t.li_class$45cursor$45default_binder,t.li_class$45cursor$45default_invalidate),e.removeSignals(t.span_text$45content_binder,t.span_text$45content_invalidate)},move:function(e,t){e.pushNode(t.li)},reuse:function(e,t){e.runBinder(V,q,t,!1),e.runBinder(U,H,t,!1)},init:function(e,t){t.a._jsx_data=t},firstChild:function(e,t){return t.li},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._class$45cursor$45default||(e.attr._class$45cursor$45default=e.ensureAttr("class-cursor-default")),e.attr._text$45content||(e.attr._text$45content=e.ensureAttr("text-content"))}})}]}),F.make(e)}};function H(e,t,r,n,i,a){t.span_text$45content_binder=r,t.span_text$45content_invalidate=n;var o=t.span_text$45content_value;(a||o!==i)&&(t.span_text$45content_value=i,t.span_text$45content_state=e.attr._text$45content(t.span,"text-content",i,t.span_text$45content_state))}function U(e){return e.v0}function q(e,t,r,n,i,a){t.li_class$45cursor$45default_binder=r,t.li_class$45cursor$45default_invalidate=n;var o=t.li_class$45cursor$45default_value;(a||o!==i)&&(t.li_class$45cursor$45default_value=i,t.li_class$45cursor$45default_state=e.attr._class$45cursor$45default(t.li,"class-cursor-default",i,t.li_class$45cursor$45default_state))}function V(e){return e.v1===Math.floor(e.$_parent.$_parent.$_scope._this.internalLength/te)&&e.$_parent.$_parent.$_scope._this.internalList.length>e.$_parent.$_parent.$_scope._this.internalLength}var W=(0,i.z)((function(e){return e.makeNode("span")}));function J(e){var t=this._jsx_data;t&&t.$_parent.$_parent.$_scope._this.click(t.v1,e)}var G=(0,i.z)((function(e){var t=e.makeNode("a");return e.attr._class(t,"class","breadcrumb-link"),t})),K=(0,i.z)((function(e){var t=e.makeNode("li");return e.attr._class(t,"class","breadcrumb"),t}));function Y(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function X(e){return E.breadcrumbs}var Q=(0,i.z)((function(e){return e.makeNode("div")})),ee=(0,i.z)((function(e){return e.makeNode("nav")})),te=2;function re(e,t){return e.length>=t?e.slice(0,e.length-t):[]}var ne=(0,m.Z)((0,v.Z)("OrganizerBreadcrumb",{events:["click"]}),e,"OrganizerBreadcrumb")((I=function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(){var e;(0,s.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,o.Z)(e,"autoUpdate",R,(0,c.Z)(e)),(0,o.Z)(e,"list",j,(0,c.Z)(e)),(0,o.Z)(e,"breadcrumbLength",N,(0,c.Z)(e)),(0,o.Z)(e,"internalList",D,(0,c.Z)(e)),(0,o.Z)(e,"truncateList",L,(0,c.Z)(e)),(0,o.Z)(e,"internalLength",M,(0,c.Z)(e)),e}return(0,l.Z)(r,[{key:"attached",value:function(){this.internalLength=this.breadcrumbLength>=5?this.breadcrumbLength:5,this.internalList=this.list,this.truncateList=this.truncateBreadCrumbs(this.internalList)}},{key:"push",value:function(e){this.internalList=this.internalList.concat(e),this.truncateList=this.truncateBreadCrumbs(this.internalList)}},{key:"pop",value:function(e){var t=e;this.internalList.length>1&&(e>=this.internalList.length&&(t=this.internalList.length-1),this.internalList=re(this.internalList,t)),this.truncateList=this.truncateBreadCrumbs(this.internalList)}},{key:"setList",value:function(e){null!=e&&(this.internalList=e,this.truncateList=this.truncateBreadCrumbs(this.internalList))}},{key:"length",get:function(){return this.internalList.length}},{key:"currentList",get:function(){return this.internalList}},{key:"truncateBreadCrumbs",value:function(e){var t,r,n;return e.length>this.internalLength?(r=function(e,t){return e.slice(0,t)}(e,Math.floor(this.internalLength/te)),n=function(e,t){return e.length>=t?e.slice(e.length-t,e.length):[]}(e,Math.ceil(this.internalLength/te)),t=r.concat(["…"]).concat(n)):t=e,t}},{key:"updateBreadCrumb",value:function(e){this.internalList.length>this.internalLength?e<=Math.floor(this.internalLength/te)?this.internalList=re(this.internalList,this.internalList.length-e-1):e>=Math.ceil(this.internalLength/te)&&(this.internalList=re(this.internalList,this.internalLength-e)):this.internalList=re(this.internalList,this.internalList.length-e-1),this.truncateList=this.truncateBreadCrumbs(this.internalList)}},{key:"click",value:function(e,t){"…"!==t.currentTarget.textContent&&this.autoUpdate&&this.updateBreadCrumb(e),this.trigger("click",{item:t.currentTarget.textContent,index:e})}},{key:"render",value:function(){return{template:B,_this:this}}}]),r}(h.Z),R=(0,d.Z)(I.prototype,"autoUpdate",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),j=(0,d.Z)(I.prototype,"list",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return["/"]}}),N=(0,d.Z)(I.prototype,"breadcrumbLength",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 5}}),D=(0,d.Z)(I.prototype,"internalList",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),L=(0,d.Z)(I.prototype,"truncateList",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),M=(0,d.Z)(I.prototype,"internalLength",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=I))||O},364082:(e,t,r)=>{"use strict";r.d(t,{Z:()=>re});var n=r(685271),i=r(878537),a=r(504397),o=r(224440),s=r(282466),l=r(89211),c=r(143681),u=r(236229),p=r(668962),d=r(749886),m=r(673136),h=r(588816),v=r(54262),g=r(548967),f=r(704083),b=(r(816221),r(321500),r(573467),r(290671),r(17938),r(587621),r(468316),r(886023),r(508460),r(425969)),y=r(349300),_=r(297064),w=r(537188),k=r.n(w),Z=r(165764),x=r.n(Z),S=r(774154),$=r.n(S),A=r(811949),C=r.n(A),T=r(934809),P=r.n(T),z=r(12509),E=r.n(z),O=r(532622),I={};I.styleTagTransform=E(),I.setAttributes=C(),I.insert=$().bind(null,"head"),I.domAPI=x(),I.insertStyleElement=P(),k()(O.Z,I);const R=O.Z&&O.Z.locals?O.Z.locals:void 0;var j,N,D,L,M,B,F;e=r.hmd(e);var H={make:function(e){return H=n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(te);e.enterNode(r),e.runBinder(ee,Q,t,!0);var n=t.organizerHeader=Y.make(e);n.$_parent=t,n.template.run(e,n);var i=t.div1=e.pushTemplateNode(K);e.enterNode(i);var a=t.using=U.make(e);a.$_parent=t,a.template.run(e,a),e.exitNode(i),e.exitNode(r)},dispose:function(e,t){e.removeSignals(t.div_class_binder,t.div_class_invalidate),t.organizerHeader.template.dispose(e,t.organizerHeader),t.using.template.dispose(e,t.using)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(ee,Q,t,!1),t.organizerHeader.template.reuse(e,t.organizerHeader),t.using.template.reuse(e,t.using)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}}),H.make(e)}},U={make:function(e){return U=e.makeComponent(o.Z,{args:1,props:{getValue:function(e){return e.$_parent.$_scope._this._sourceRenderer}},blocks:[{name:"children",template:n.ZP.make({render:function(e,t){var r=t.sourceRenderer_base=t.v0,n=t.sourceRenderer=q.make(e,r).make(e);n.$_parent=t,n.template.run(e,n)},dispose:function(e,t){t.sourceRenderer.template.dispose(e,t.sourceRenderer)},move:function(e,t){t.sourceRenderer.template.move(e,t.sourceRenderer)},reuse:function(e,t){var r=t.v0;if(r!==t.sourceRenderer_base){t.sourceRenderer_base=r;var n=q.make(e,r).make(e);n.$_parent=t,e.replaceTemplate(t.sourceRenderer,n),t.sourceRenderer=n}else t.sourceRenderer.template.reuse(e,t.sourceRenderer)},firstChild:function(e,t){return t.sourceRenderer.template.firstChild(e,t.sourceRenderer)},lastChild:function(e,t){return t.sourceRenderer.template.lastChild(e,t.sourceRenderer)}})}]}),U.make(e)}},q={make:function(e,t){return(q=i.Z.makeDynamic({attributes:[{name:"context",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this._context},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this._context=e)}}],events:[{name:"selected-changed",value:G},{name:"double-click",value:J},{name:"folder-click",value:W},{name:"album-click",value:V}]})).make(e,t)}};function V(e,t){var r=this.$_view;r&&r.$_parent.$_parent.$_parent.$_scope._this._onAlbumClick(t)}function W(e,t){var r=this.$_view;r&&r.$_parent.$_parent.$_parent.$_scope._this._onFolderClick(t)}function J(e){var t=this.$_view;t&&t.$_parent.$_parent.$_parent.$_scope._this.trigger("double-click",e)}function G(e){var t=this.$_view;t&&t.$_parent.$_parent.$_parent.$_scope._this._onSelectedChanged(e)}var K=(0,a.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","content"),t})),Y={make:function(e){return(Y=e.makeComponent(b.Z,{attributes:[{name:"allPhotos",get:function(){var e,t=this.$_view;if(t)return null===(e=t.$_parent.$_scope._this.sources)||void 0===e?void 0:e.allPhotos},original:"all-photos"},{name:"source",get:function(){var e=this.$_view;if(e)return e.$_parent.$_scope._this._source},set:function(e){var t=this.$_view;t&&(t.$_parent.$_scope._this._source=e)}}],events:[{name:"click-source",value:X}]})).make(e)}};function X(e){var t=this.$_view;t&&(t.$_parent.$_scope._this.sources.current=e)}function Q(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function ee(e){return R.container}var te=(0,a.z)((function(e){return e.makeNode("div")})),re=(0,h.Z)((0,v.Z)("OrganizerContent",{events:["source-changed","selected-changed","double-click"]}),e,"OrganizerContent")((N=function(e){(0,p.Z)(r,e);var t=(0,d.Z)(r);function r(){var e;return(0,l.Z)(this,r),e=t.call(this),(0,s.Z)(e,"sources",D,(0,u.Z)(e)),(0,s.Z)(e,"_context",L,(0,u.Z)(e)),(0,s.Z)(e,"_source",M,(0,u.Z)(e)),(0,s.Z)(e,"_sourceRenderer",B,(0,u.Z)(e)),(0,s.Z)(e,"_gridSelection",F,(0,u.Z)(e)),e._preselected=new Map,e.watch((function(){return e.sources&&e.sources.current}),(function(t){var r,n,i;e._sourceWillChange(),null!=t&&t.assets&&(r=t.assets,i=_.Z),null!=t&&t.model&&(n=t.model,i=_.Z),null!=t&&t.search&&(n=t.search,i=_.Z),null!=t&&t.isFolder&&(n=t,i=y.Z),e._context={preselected:Array.from(e._preselected.keys()),source:n,assets:r},e._source=t,e._sourceRenderer=i,e.trigger("source-changed",t)})),e.watch((function(){return e.selection}),(function(t){return e.trigger("selected-changed",t)})),e}return(0,c.Z)(r,[{key:"_gridSelectedCount",get:function(){return this._gridSelection?this._gridSelection.selected.length-this._gridSelection.deselected.length:0}},{key:"_sourceWillChange",value:function(){var e,t,r=this;this.scope.singleSelect&&this._gridSelectedCount>0&&this._preselected.clear(),null===(e=this._gridSelection)||void 0===e||e.selected.forEach((function(e){r._preselected.set(e.id,{item:e,source:r._source})})),null===(t=this._gridSelection)||void 0===t||t.deselected.forEach((function(e){return r._preselected.delete(e.id)}))}},{key:"clearSelection",value:function(){var e,t;this._context={preselected:[],source:null===(e=this._context)||void 0===e?void 0:e.source,assets:null===(t=this._context)||void 0===t?void 0:t.assets},this._preselected.clear()}},{key:"selection",get:function(){var e,t,r=this,n=new Map;return this.scope.singleSelect&&0!==this._gridSelectedCount||this._preselected.forEach((function(e,t){return n.set(t,e)})),null===(e=this._gridSelection)||void 0===e||e.selected.forEach((function(e){n.set(e.id,{item:e,source:r._source})})),null===(t=this._gridSelection)||void 0===t||t.deselected.forEach((function(e){return n.delete(e.id)})),n}},{key:"_onSelectedChanged",value:function(e){this.scope.singleSelect&&(e.selected.length>0||e.deselected.length>0)&&this._preselected.clear(),this._gridSelection=e}},{key:"_onFolderClick",value:function(e){this.sources.current=e}},{key:"_onAlbumClick",value:function(e){this.sources.current=e}},{key:"render",value:function(){return{template:H,_this:this}}}]),r}(i.Z),D=(0,m.Z)(N.prototype,"sources",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,m.Z)(N.prototype,"_context",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,m.Z)(N.prototype,"_source",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=(0,m.Z)(N.prototype,"_sourceRenderer",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=(0,m.Z)(N.prototype,"_gridSelection",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=N))||j},425969:(e,t,r)=>{"use strict";r.d(t,{Z:()=>re});var n=r(685271),i=r(504397),a=r(519055),o=r(278387),s=r(282466),l=r(89211),c=r(143681),u=r(236229),p=r(668962),d=r(749886),m=r(673136),h=r(588816),v=r(878537),g=r(54262),f=r(548967),b=r(704083),y=(r(35812),r(819785),r(457685),r(587621),r(468316),r(893248),r(341538)),_=r(234002),w=r(537188),k=r.n(w),Z=r(165764),x=r.n(Z),S=r(774154),$=r.n(S),A=r(811949),C=r.n(A),T=r(934809),P=r.n(T),z=r(12509),E=r.n(z),O=r(162547),I={};I.styleTagTransform=E(),I.setAttributes=C(),I.insert=$().bind(null,"head"),I.domAPI=x(),I.insertStyleElement=P(),k()(O.Z,I);const R=O.Z&&O.Z.locals?O.Z.locals:void 0;var j,N,D,L,M;e=r.hmd(e);var B={make:function(e){return B=n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(te);e.enterNode(r);var n=t.div1=e.pushTemplateNode(ee);e.enterNode(n),e.runBinder(Q,X,t,!0),e.runBinder(Y,K,t,!0);var i=t.organizerBreadcrumb=J.make(e);i.$_parent=t,i.template.run(e,i),e.exitNode(n);var a=t._if=F.make(e);a.$_parent=t,a.template.run(e,a),e.exitNode(r)},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.organizerBreadcrumb.template.dispose(e,t.organizerBreadcrumb),t._if.template.dispose(e,t._if)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(Q,X,t,!1),e.runBinder(Y,K,t,!1),t.organizerBreadcrumb.template.reuse(e,t.organizerBreadcrumb),t._if.template.reuse(e,t._if)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._id||(e.attr._id=e.ensureAttr("id"))}}),B.make(e)}},F={make:function(e){return F=e.makeComponent(a.Z,{props:{getCondition:function(e){return e.$_parent.$_scope._this._searchSource}},blocks:[{name:"children",template:n.ZP.make({render:function(e,t){var r=t.span=e.pushTemplateNode(W);e.enterNode(r),e.runBinder(V,q,t,!0);var n=t.organizerSearch=H.make(e);n.$_parent=t,n.template.run(e,n),e.exitNode(r)},dispose:function(e,t){e.removeSignals(t.span_class_binder,t.span_class_invalidate),t.organizerSearch.template.dispose(e,t.organizerSearch)},move:function(e,t){e.pushNode(t.span)},reuse:function(e,t){e.runBinder(V,q,t,!1),t.organizerSearch.template.reuse(e,t.organizerSearch)},firstChild:function(e,t){return t.span},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})}]}),F.make(e)}},H={make:function(e){return(H=e.makeComponent(_.Z,{attributes:[{name:"allPhotos",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this.allPhotos},original:"all-photos",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this.allPhotos=e)}},{name:"source",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this.source},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this.source=e)}}],events:[{name:"select-source",value:U}]})).make(e)}};function U(e){var t=this.$_view;t&&t.$_parent.$_parent.$_parent.$_scope._this.trigger("click-source",e)}function q(e,t,r,n,i,a){t.span_class_binder=r,t.span_class_invalidate=n;var o=t.span_class_value;(a||o!==i)&&(t.span_class_value=i,t.span_class_state=e.attr._class(t.span,"class",i,t.span_class_state))}function V(e){return R.search}var W=(0,i.z)((function(e){return e.makeNode("span")})),J={make:function(e){return(J=e.makeComponent(y.Z,{attributes:[{name:"autoUpdate",value:!0,original:"auto-update"},{name:"list",get:function(){var e=this.$_view;if(e)return e.$_parent.$_scope._this._itemNameList},set:function(e){var t=this.$_view;t&&(t.$_parent.$_scope._this._itemNameList=e)}}],events:[{name:"click",value:G}],init:function(e,t){e.$_parent.$_scope._this.breadcrumbs=t},dispose:function(e,t){e.$_parent.$_scope._this.breadcrumbs=null}})).make(e)}};function G(e){var t=this.$_view;t&&t.$_parent.$_scope._this._handleClick(e)}function K(e,t,r,n,i,a){t.div1_class_binder=r,t.div1_class_invalidate=n;var o=t.div1_class_value;(a||o!==i)&&(t.div1_class_value=i,t.div1_class_state=e.attr._class(t.div1,"class",i,t.div1_class_state))}function Y(e){return R.breadcrumbs}function X(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function Q(e){return R.header}var ee=(0,i.z)((function(e){var t=e.makeNode("div");return e.attr._id(t,"id","breadcrumb-link"),t})),te=(0,i.z)((function(e){return e.makeNode("div")})),re=(0,h.Z)((0,g.Z)("OrganizerHeader",{events:["click-source"]}),e,"OrganizerHeader")((N=function(e){(0,p.Z)(r,e);var t=(0,d.Z)(r);function r(){var e;(0,l.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,s.Z)(e,"allPhotos",D,(0,u.Z)(e)),(0,s.Z)(e,"source",L,(0,u.Z)(e)),(0,s.Z)(e,"searchInput",M,(0,u.Z)(e)),e}return(0,c.Z)(r,[{key:"attached",value:function(){var e=this;this.watch((function(){return e._itemNameList}),(function(t){var r;null===(r=e.breadcrumbs)||void 0===r||r.setList(t)}))}},{key:"_sourcePath",get:function(){return this.source?this.source.path?[].concat((0,o.Z)(this.source.path),[this.source]):[this.source]:[]}},{key:"_itemNameList",get:function(){return this._sourcePath?this._sourcePath.map((function(e){return(t=e.name)?t.length>30?"".concat(t.substr(0,27),"..."):t:"";var t})):[]}},{key:"_searchSource",get:function(){var e;if(this.allPhotos&&this.source&&"album"!==this.scope.selectionType){var t=this.source;return t.search?t.path.slice(-1).pop():"album"===(null===(e=t.model)||void 0===e?void 0:e.type)?t:this.allPhotos}}},{key:"_handleClick",value:function(e){var t=this.breadcrumbs.length-1;t>=0&&t<this._sourcePath.length-1&&this.trigger("click-source",this._sourcePath[t])}},{key:"render",value:function(){return{template:B,_this:this}}}]),r}(v.Z),D=(0,m.Z)(N.prototype,"allPhotos",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,m.Z)(N.prototype,"source",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,m.Z)(N.prototype,"searchInput",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=N))||j},234002:(e,t,r)=>{"use strict";r.d(t,{Z:()=>$});var n,i,a,o,s=r(282466),l=r(89211),c=r(143681),u=r(236229),p=r(668962),d=r(749886),m=r(673136),h=r(588816),v=r(878537),g=r(54262),f=r(704083),b=(r(35812),r(587621),r(468316),r(893248),r(457685),r(19630)),y=r(278387),_=(r(367469),r(630647)),w=function(){function e(t,r,n,i){var a;(0,l.Z)(this,e);var o="album"===(null===(a=r.model)||void 0===a?void 0:a.type)?{lightroom_album_id:r.model.id}:{};this.path=[].concat((0,y.Z)(r.path),[r]),this.search={type:"search",catalogId:t.id,searchText:n,filterList:Object.assign(o,i)},this.metadata={type:"internal",subtype:"search"}}return(0,c.Z)(e,[{key:"name",get:function(){return(0,_.zt)('$$$/organizer/search-results=Search results for "{searchText}"',{searchText:this.search.searchText})}}]),e}();e=r.hmd(e);var k={make:function(e){return(k=e.makeComponent(b.Z,{attributes:[{name:"placeholderText",get:function(){var e=this.$_view;if(e)return e.$_scope._this._placeholderText},set:function(e){var t=this.$_view;t&&(t.$_scope._this._placeholderText=e)}},{name:"executedSearchText",get:function(){var e=this.$_view;if(e)return e.$_scope._this._executedSearchText},set:function(e){var t=this.$_view;t&&(t.$_scope._this._executedSearchText=e)}}],events:[{name:"search-click",value:S},{name:"search-enter",value:x},{name:"cancel-click",value:Z}]})).make(e)}};function Z(){var e=this.$_view;e&&e.$_scope._this._didCancelSearch()}function x(e){var t=this.$_view;t&&t.$_scope._this._didCommitSearchText(e)}function S(e){var t=this.$_view;t&&t.$_scope._this._didCommitSearchText(e)}var $=(0,h.Z)((0,g.Z)("OrganizerSearch",{events:["select-source"]}),e,"OrganizerSearch")((i=function(e){(0,p.Z)(r,e);var t=(0,d.Z)(r);function r(){var e;(0,l.Z)(this,r);for(var n=arguments.length,i=new Array(n),c=0;c<n;c++)i[c]=arguments[c];return e=t.call.apply(t,[this].concat(i)),(0,s.Z)(e,"allPhotos",a,(0,u.Z)(e)),(0,s.Z)(e,"source",o,(0,u.Z)(e)),e}return(0,c.Z)(r,[{key:"_searchSource",get:function(){var e;if(this.allPhotos&&this.source){var t=this.source;return t.search?t.path.slice(-1).pop():"album"===(null===(e=t.model)||void 0===e?void 0:e.type)?t:this.allPhotos}}},{key:"_executedSearchText",get:function(){var e;return null!==(e=this.source)&&void 0!==e&&e.search?this.source.search.searchText:""}},{key:"_placeholderText",get:function(){var e=this._searchSource;return e?(0,_.zt)("$$$/organizer/search-holder=Search {name}",{name:e.name}):""}},{key:"_didCommitSearchText",value:function(e){this.trigger("select-source",new w(this.allPhotos.model,this._searchSource,e))}},{key:"_didCancelSearch",value:function(){this.trigger("select-source",this._searchSource)}},{key:"render",value:function(){return{template:k,_this:this}}}]),r}(v.Z),a=(0,m.Z)(i.prototype,"allPhotos",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,m.Z)(i.prototype,"source",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n=i))||n},349300:(e,t,r)=>{"use strict";r.d(t,{Z:()=>de});var n=r(685271),i=r(504397),a=r(519055),o=r(282466),s=r(89211),l=r(143681),c=r(236229),u=r(736781),p=r(993184),d=r(668962),m=r(749886),h=r(673136),v=r(588816),g=r(878537),f=r(54262),b=r(412333),y=r(548967),_=r(704083),w=(r(819785),r(785226),r(913688),r(126752)),k=r(846841),Z=(r(41332),r(819218)),x=r(551464),S=r(855999),$=r(823063),A=r(158271),C=r(177881),T=(r(573467),r(508460),r(886023),r(290671),r(816221),r(17938),r(112957)),P=r(283824),z=function(e){(0,d.Z)(r,e);var t=(0,m.Z)(r);function r(){var e;return(0,s.Z)(this,r),(e=t.call(this))._selected=new P.Z,e._deselected=new P.Z,e._preselected=new P.Z,e}return(0,l.Z)(r,[{key:"sourceChanged",value:function(e,t){var r=this;this.clear(),null==t||t.forEach((function(e){return r._preselected.set(e,!0)}))}},{key:"clear",value:function(){this._selected.clear(),this._deselected.clear(),this._preselected.clear()}},{key:"isSelected",value:function(e){return this._selected.has(e)||this._preselected.has(e)&&!this._deselected.has(e)}},{key:"select",value:function(e){this._preselected.has(e.id)?this._deselected.has(e.id)?this._deselected.delete(e.id):this._deselected.set(e.id,e.model):this._selected.has(e.id)?this._selected.delete(e.id):this._selected.set(e.id,e.model)}},{key:"selection",get:function(){return{selected:Array.from(this._selected.values()),deselected:Array.from(this._deselected.values())}}},{key:"count",get:function(){return this._selected.size-this._deselected.size}}]),r}(T.Z),E=r(15897),O=r(537188),I=r.n(O),R=r(165764),j=r.n(R),N=r(774154),D=r.n(N),L=r(811949),M=r.n(L),B=r(934809),F=r.n(B),H=r(12509),U=r.n(H),q=r(940182),V={};V.styleTagTransform=U(),V.setAttributes=M(),V.insert=D().bind(null,"head"),V.domAPI=j(),V.insertStyleElement=F(),I()(q.Z,V);const W=q.Z&&q.Z.locals?q.Z.locals:void 0;var J,G,K,Y,X,Q;e=r.hmd(e);var ee={make:function(e){return ee=n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(ce);le(t,r),e.enterNode(r),e.runBinder(se,oe,t,!0);var n=t.activeVirtualScroll=te.make(e);n.$_parent=t,n.template.run(e,n),e.exitNode(r)},dispose:function(e,t){e.removeSignals(t.div_class_binder,t.div_class_invalidate),t.activeVirtualScroll.template.dispose(e,t.activeVirtualScroll),le(t,null)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){le(t,t.div),e.runBinder(se,oe,t,!1),t.activeVirtualScroll.template.reuse(e,t.activeVirtualScroll)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}}),ee.make(e)}},te={make:function(e){return(te=e.makeComponent(C.Z,{attributes:[{name:"verticalScroll",value:!0,original:"vertical-scroll"},{name:"horizontalScroll",value:!1,original:"horizontal-scroll"},{name:"scrollComponent",get:function(){if(this.$_view)return ue},set:function(e){this.$_view&&(ue=e)}},{name:"class",get:function(){if(this.$_view)return["scroller","torq-scrollbar"]}},{name:"mapping",get:function(){if(this.$_view)return pe},set:function(e){this.$_view&&(pe=e)}}],spreads:[function(e){return e.$_parent.$_scope._this.undeclaredAttributes()}],blocks:[{name:"children",template:e.makeComponent(k.K4,{blocks:[{name:"children",template:e.makeComponent(a.Z,{props:{getCondition:function(e){return e.$_parent.$_parent.$_parent.$_scope._this._viewingFolder}},blocks:[{name:"children",template:e.makeComponent(E.Z,{attributes:[{name:"context",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_scope._this.context},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_scope._this.context=e)}},{name:"viewWidth",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_parent.$_scope._this._viewWidth},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_parent.$_scope._this._viewWidth=e)}}],events:[{name:"selected-changed",value:ae},{name:"double-click",value:ie},{name:"album-click",value:ne},{name:"folder-click",value:re}]})}]})}]})}],init:function(e,t){e.$_parent.$_scope._this.virtualScroll=t},dispose:function(e,t){e.$_parent.$_scope._this.virtualScroll=null}})).make(e)}};function re(e,t){var r=this.$_view;r&&r.$_parent.$_parent.$_parent.$_parent.$_scope._this.trigger("folder-click",e,t)}function ne(e,t){var r=this.$_view;r&&r.$_parent.$_parent.$_parent.$_parent.$_scope._this._onAlbumClick(e,t)}function ie(e){var t=this.$_view;t&&t.$_parent.$_parent.$_parent.$_parent.$_scope._this.trigger("double-click",e)}function ae(e){var t=this.$_view;t&&t.$_parent.$_parent.$_parent.$_parent.$_scope._this.trigger("selected-changed",e)}function oe(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function se(e){return W.view}function le(e,t){e.$_scope._this._contentElement=t}var ce=(0,i.z)((function(e){return e.makeNode("div")})),ue=Z.Z.edge||Z.Z.ie?$.Z:S.Z,pe=E.Z.map(),de=(0,v.Z)((0,f.Z)("FolderContent",{fork:!0,events:["selected-changed","double-click","album-click","folder-click"]}),e,"FolderContent")((G=function(e){(0,d.Z)(r,e);var t=(0,m.Z)(r);function r(){var e;(0,s.Z)(this,r),e=t.call(this),(0,o.Z)(e,"context",K,(0,c.Z)(e)),(0,o.Z)(e,"_viewWidth",Y,(0,c.Z)(e)),(0,o.Z)(e,"_viewHeight",X,(0,c.Z)(e)),(0,o.Z)(e,"virtualScroll",Q,(0,c.Z)(e));var n=e.scope.touchMapper=new x.Z;return e.link(new A.Z(n,(0,c.Z)(e))),"album"===e.scope.selectionType&&(e.scope.albumSelectionController=new z,e.watch((function(){return e.scope.albumSelectionController.selection}),(function(t){return e.trigger("selected-changed",t)})),e.watch((function(){return e.context}),(function(t){e.scope.albumSelectionController.sourceChanged(null,null==t?void 0:t.preselected)}))),e}return(0,l.Z)(r,[{key:"attached",value:function(){(0,u.Z)((0,p.Z)(r.prototype),"attached",this).call(this),this._updateSize(),this.link((0,w.Oo)(window,"resize",this._updateSize))}},{key:"_updateSize",value:function(){this._viewWidth=this._contentElement.offsetWidth,this._viewHeight=this._contentElement.offsetHeight}},{key:"containsElement",value:function(e){var t;return null===(t=this._contentElement)||void 0===t?void 0:t.contains(e)}},{key:"_onAlbumClick",value:function(e,t){"album"===this.scope.selectionType?(this.scope.singleSelect&&!this.scope.albumSelectionController.isSelected(t.id)&&this.scope.albumSelectionController.clear(),this.scope.albumSelectionController.select(t,e.shiftKey)):this.trigger("album-click",e,t)}},{key:"_viewingFolder",get:function(){var e,t;return null===(e=this.context)||void 0===e||null===(t=e.source)||void 0===t?void 0:t.isFolder}},{key:"render",value:function(){return{template:ee,_this:this}}}]),r}(g.Z),K=(0,h.Z)(G.prototype,"context",[_.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=(0,h.Z)(G.prototype,"_viewWidth",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),X=(0,h.Z)(G.prototype,"_viewHeight",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),Q=(0,h.Z)(G.prototype,"virtualScroll",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,h.Z)(G.prototype,"_updateSize",[b.Z],Object.getOwnPropertyDescriptor(G.prototype,"_updateSize"),G.prototype),J=G))||J},15897:(e,t,r)=>{"use strict";r.d(t,{Z:()=>lr});var n=r(685271),i=r(504397),a=r(519055),o=r(282466),s=r(89211),l=r(143681),c=r(236229),u=r(668962),p=r(749886),d=r(673136),m=r(588816),h=r(878537),v=r(54262),g=r(548967),f=r(704083),b=(r(35812),r(893248),r(367469),r(819785),r(630647)),y=r(736781),_=r(993184),w=r(108445),k=r(840901),Z=r(633525),x=r(537188),S=r.n(x),$=r(165764),A=r.n($),C=r(774154),T=r.n(C),P=r(811949),z=r.n(P),E=r(934809),O=r.n(E),I=r(12509),R=r.n(I),j=r(970557),N={};N.styleTagTransform=R(),N.setAttributes=z(),N.insert=T().bind(null,"head"),N.domAPI=A(),N.insertStyleElement=O(),S()(j.Z,N);const D=j.Z&&j.Z.locals?j.Z.locals:void 0;var L,M={make:function(e){return M=n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(re);e.enterNode(r);var n=t.span=e.pushTemplateNode(te);e.enterNode(n),e.runBinder(ee,Q,t,!0),e.exitNode(n);var i=t.span1=e.pushTemplateNode(X);e.attachEvent(t.span1,"click",Y),e.enterNode(i),e.runBinder(K,G,t,!0),e.exitNode(i),e.exitNode(r),e.runBinder(J,W,t,!0),e.runBinder(V,q,t,!0),e.runBinder(U,H,t,!0),e.runBinder(F,B,t,!0)},dispose:function(e,t){t.div_spread_spread_state=e.updateSpreadAttribute(t.div,null,t,t.div_spread_spread_state),t.div_spread_value=void 0,e.removeSignals(t.span_binder,t.span_invalidate),t.span_content=e.disposeContent(t.span_content),t.span_value1=void 0,t.span1._jsx_data=null,e.removeSignals(t.span_binder1,t.span_invalidate1),t.span_content1=e.disposeContent(t.span_content1),t.span_value3=void 0,e.removeSignals(t.div_class_binder,t.div_class_invalidate),e.removeSignals(t.div_spread_binder,t.div_spread_invalidate),e.removeSignals(t.span_class_binder,t.span_class_invalidate),e.removeSignals(t.span1_class_binder,t.span1_class_invalidate)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(ee,Q,t,!1),e.runBinder(K,G,t,!1),e.runBinder(J,W,t,!1),e.runBinder(V,q,t,!1),e.runBinder(U,H,t,!1),e.runBinder(F,B,t,!1)},init:function(e,t){t.span1._jsx_data=t},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._id||(e.attr._id=e.ensureAttr("id"))}}),M.make(e)}};function B(e,t,r,n,i,a){t.span1_class_binder=r,t.span1_class_invalidate=n;var o=t.span1_class_value;(a||o!==i)&&(t.span1_class_value=i,t.span1_class_state=e.attr._class(t.span1,"class",i,t.span1_class_state))}function F(e){return D.all}function H(e,t,r,n,i,a){t.span_class_binder=r,t.span_class_invalidate=n;var o=t.span_class_value;(a||o!==i)&&(t.span_class_value=i,t.span_class_state=e.attr._class(t.span,"class",i,t.span_class_state))}function U(e){return D.title}function q(e,t,r,n,i,a){t.div_spread_binder=r,t.div_spread_invalidate=n;var o=t.div_spread_value;(a||o!==i)&&(t.div_spread_value=i,t.div_spread_spread_state=e.updateSpreadAttribute(t.div,i,t,t.div_spread_spread_state))}function V(e){return e.$_scope._this.itemAttributes}function W(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function J(e){return D.container}function G(e,t,r,n,i,a){t.span_binder1=r,t.span_invalidate1=n;var o=t.span_value3;(a||o!==i)&&(t.span_value3=i,t.span_content1=e.renderContent(t.span_content1,i))}function K(e){return(0,b.zt)("$$$/organizer/see-all=Show All")}function Y(e){var t=this._jsx_data;t&&t.$_scope._this.onSeeAllClick(e)}var X=(0,i.z)((function(e){var t=e.makeNode("span");return e.attr._id(t,"id","all-source-link"),t}));function Q(e,t,r,n,i,a){t.span_binder=r,t.span_invalidate=n;var o=t.span_value1;(a||o!==i)&&(t.span_value1=i,t.span_content=e.renderContent(t.span_content,i))}function ee(e){return e.$_scope._this.title}var te=(0,i.z)((function(e){return e.makeNode("span")})),re=(0,i.z)((function(e){return e.makeNode("div")})),ne=(0,w.Z)({type:"recentTitle",events:["see-all-click"]})(L=function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(){return(0,s.Z)(this,r),t.apply(this,arguments)}return(0,l.Z)(r,[{key:"updateLayout",value:function(e,t){(0,y.Z)((0,_.Z)(r.prototype),"updateLayout",this).call(this,e,48)}}]),r}(k.Z))||L,ie={recentTitle:function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(){return(0,s.Z)(this,r),t.apply(this,arguments)}return(0,l.Z)(r,[{key:"title",get:function(){var e;return null===(e=this.virtualItem)||void 0===e?void 0:e.title}},{key:"onSeeAllClick",value:function(e){var t;null===(t=this.virtualItem)||void 0===t||t.trigger("see-all-click",e)}},{key:"render",value:function(){return{template:M,_this:this}}}]),r}(Z.Z)},ae=r(267333),oe=r(527427),se=(r(457685),r(41332),r(575933)),le={};le.styleTagTransform=R(),le.setAttributes=z(),le.insert=T().bind(null,"head"),le.domAPI=A(),le.insertStyleElement=O(),S()(se.Z,le);const ce=se.Z&&se.Z.locals?se.Z.locals:void 0;var ue=r(696034),pe={make:function(e){return pe=e.makeComponent(ue.Z,{attributes:[{name:"version",value:"1.1"},{name:"x",value:"0"},{name:"y",value:"0"},{name:"viewBox",value:"0 0 15 12"},{name:"xml:space",value:"preserve"}],blocks:[{name:"children",template:n.ZP.make({render:function(e,t){t.path=e.pushTemplateNode(de)},move:function(e,t){e.pushNode(t.path)},firstChild:function(e,t){return t.path},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._d||(e.attr._d=e.ensureAttr("d"))}})}]}),pe.make(e)}},de=(0,i.z)((function(e){var t=e.makeNode("path");return e.attr._class(t,"class","st0"),e.attr._d(t,"d","M5.7.2C5.6.1 5.5 0 5.3 0H.5C.2 0 0 .2 0 .5V2h7L5.7.2zM14.5 3H0v8.5c0 .3.2.5.5.5h14c.3 0 .5-.2.5-.5v-8c0-.3-.2-.5-.5-.5z"),t}));const me={template:pe};var he,ve,ge,fe={make:function(e){return fe=n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(Me);e.attachEvent(t.div,"click",je),e.enterNode(r);var n=t.div1=e.pushTemplateNode(Me);e.enterNode(n),e.runBinder(Re,Ie,t,!0),e.exitNode(n);var i=t.div2=e.pushTemplateNode(Me);e.enterNode(i);var a=t.div3=e.pushTemplateNode(Me);e.enterNode(a),e.runBinder(Oe,Ee,t,!0),e.exitNode(a);var o=t.div4=e.pushTemplateNode(Me);e.enterNode(o),e.runBinder(ze,Pe,t,!0),e.exitNode(o),e.exitNode(i),e.exitNode(r),e.runBinder(Te,Ce,t,!0),e.runBinder(Ae,$e,t,!0),e.runBinder(Se,xe,t,!0),e.runBinder(Ze,ke,t,!0),e.runBinder(we,_e,t,!0),e.runBinder(ye,be,t,!0)},dispose:function(e,t){t.div._jsx_data=null,t.div_spread_spread_state=e.updateSpreadAttribute(t.div,null,t,t.div_spread_spread_state),t.div_spread_value=void 0,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_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,e.removeSignals(t.div_class_binder,t.div_class_invalidate),e.removeSignals(t.div_spread_binder,t.div_spread_invalidate),e.removeSignals(t.div1_class_binder,t.div1_class_invalidate),e.removeSignals(t.div2_class_binder,t.div2_class_invalidate),e.removeSignals(t.div3_class_binder,t.div3_class_invalidate),e.removeSignals(t.div4_class_binder,t.div4_class_invalidate)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(Re,Ie,t,!1),e.runBinder(Oe,Ee,t,!1),e.runBinder(ze,Pe,t,!1),e.runBinder(Te,Ce,t,!1),e.runBinder(Ae,$e,t,!1),e.runBinder(Se,xe,t,!1),e.runBinder(Ze,ke,t,!1),e.runBinder(we,_e,t,!1),e.runBinder(ye,be,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"))}}),fe.make(e)}};function be(e,t,r,n,i,a){t.div4_class_binder=r,t.div4_class_invalidate=n;var o=t.div4_class_value;(a||o!==i)&&(t.div4_class_value=i,t.div4_class_state=e.attr._class(t.div4,"class",i,t.div4_class_state))}function ye(e){return ce.count}function _e(e,t,r,n,i,a){t.div3_class_binder=r,t.div3_class_invalidate=n;var o=t.div3_class_value;(a||o!==i)&&(t.div3_class_value=i,t.div3_class_state=e.attr._class(t.div3,"class",i,t.div3_class_state))}function we(e){return ce.name}function ke(e,t,r,n,i,a){t.div2_class_binder=r,t.div2_class_invalidate=n;var o=t.div2_class_value;(a||o!==i)&&(t.div2_class_value=i,t.div2_class_state=e.attr._class(t.div2,"class",i,t.div2_class_state))}function Ze(e){return ce.info}function xe(e,t,r,n,i,a){t.div1_class_binder=r,t.div1_class_invalidate=n;var o=t.div1_class_value;(a||o!==i)&&(t.div1_class_value=i,t.div1_class_state=e.attr._class(t.div1,"class",i,t.div1_class_state))}function Se(e){return ce.preview}function $e(e,t,r,n,i,a){t.div_spread_binder=r,t.div_spread_invalidate=n;var o=t.div_spread_value;(a||o!==i)&&(t.div_spread_value=i,t.div_spread_spread_state=e.updateSpreadAttribute(t.div,i,t,t.div_spread_spread_state))}function Ae(e){return e.$_scope._this.itemAttributes}function Ce(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function Te(e){return ce.folder}function Pe(e,t,r,n,i,a){t.div_binder2=r,t.div_invalidate2=n;var o=t.div_value5;(a||o!==i)&&(t.div_value5=i,t.div_content2=e.renderContent(t.div_content2,i))}function ze(e){return e.$_scope._this.count}function Ee(e,t,r,n,i,a){t.div_binder1=r,t.div_invalidate1=n;var o=t.div_value3;(a||o!==i)&&(t.div_value3=i,t.div_content1=e.renderContent(t.div_content1,i))}function Oe(e){return e.$_scope._this.name}function Ie(e,t,r,n,i,a){t.div_binder=r,t.div_invalidate=n;var o=t.div_value1;(a||o!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function Re(e){return me}function je(e){var t=this._jsx_data;t&&t.$_scope._this.virtualItem&&t.$_scope._this.virtualItem.trigger("click",e)}var Ne,De,Le,Me=(0,i.z)((function(e){return e.makeNode("div")})),Be=(0,w.Z)({type:"folder",events:["click"]})((ve=function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(){var e;(0,s.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,o.Z)(e,"item",ge,(0,c.Z)(e)),e}return(0,l.Z)(r,[{key:"folder",get:function(){return this.item}}]),r}(k.Z),ge=(0,d.Z)(ve.prototype,"item",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),he=ve))||he,Fe={folder:function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(){return(0,s.Z)(this,r),t.apply(this,arguments)}return(0,l.Z)(r,[{key:"folder",get:function(){return this.virtualItem?this.virtualItem.item:void 0}},{key:"name",get:function(){return this.folder?this.folder.name:""}},{key:"count",get:function(){var e=this.folder?this.folder.folders.length:0,t=this.folder?this.folder.albums.length:0;return e<=0&&t<=0?(0,b.zt)("$$$/js/site/folder/folder/empty=Empty"):e<=0?1===t?(0,b.zt)("$$$/js/site/folder/folder/album_count_one=1 album"):(0,b.zt)("$$$/js/site/folder/folder/album_count={albumCount} albums",{albumCount:t}):t<=0?1===e?(0,b.zt)("$$$/js/site/folder/folder/folder_count_one=1 folder"):(0,b.zt)("$$$/js/site/folder/folder/folder_count={folderCount} folders",{folderCount:e}):1===t?1===e?(0,b.zt)("$$$/js/site/folder/folder/one_folder_one_album_count=1 folder, 1 album"):(0,b.zt)("$$$/js/site/folder/folder/folder_one_album_count={folderCount} folders, 1 album",{folderCount:e}):1===e?(0,b.zt)("$$$/js/site/folder/folder/one_folder_album_count=1 folder, {albumCount} albums",{albumCount:t}):(0,b.zt)("$$$/js/site/folder/folder/folder_album_count={folderCount} folders, {albumCount} albums",{albumCount:t,folderCount:e})}},{key:"render",value:function(){return{template:fe,_this:this}}}]),r}(Z.Z)},He={make:function(e){return He=n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(dt);e.attachEvent(t.div,"click",pt),e.enterNode(r),t.div1=e.pushTemplateNode(ut);var n=t.div2=e.pushTemplateNode(ut);e.enterNode(n);var i=t.div3=e.pushTemplateNode(ut);e.enterNode(i),e.runBinder(ct,lt,t,!0),e.exitNode(i);var a=t.div4=e.pushTemplateNode(ut);e.enterNode(a),e.runBinder(st,ot,t,!0),e.exitNode(a),e.exitNode(n),e.exitNode(r),e.runBinder(at,it,t,!0),e.runBinder(nt,rt,t,!0),e.runBinder(tt,et,t,!0),e.runBinder(Qe,Xe,t,!0),e.runBinder(Ye,Ke,t,!0),e.runBinder(Ge,Je,t,!0),e.runBinder(We,Ve,t,!0),e.runBinder(qe,Ue,t,!0)},dispose:function(e,t){t.div._jsx_data=null,t.div_spread_spread_state=e.updateSpreadAttribute(t.div,null,t,t.div_spread_spread_state),t.div_spread_value=void 0,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_binder1,t.div_invalidate1),t.div_content1=e.disposeContent(t.div_content1),t.div_value3=void 0,e.removeSignals(t.div_class_binder,t.div_class_invalidate),e.removeSignals(t.div_spread_binder,t.div_spread_invalidate),e.removeSignals(t.div1_class_binder,t.div1_class_invalidate),e.removeSignals(t.div1_class_binder1,t.div1_class_invalidate1),e.removeSignals(t.div1_style$45background$45image_binder,t.div1_style$45background$45image_invalidate),e.removeSignals(t.div2_class_binder,t.div2_class_invalidate),e.removeSignals(t.div3_class_binder,t.div3_class_invalidate),e.removeSignals(t.div4_class_binder,t.div4_class_invalidate)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(ct,lt,t,!1),e.runBinder(st,ot,t,!1),e.runBinder(at,it,t,!1),e.runBinder(nt,rt,t,!1),e.runBinder(tt,et,t,!1),e.runBinder(Qe,Xe,t,!1),e.runBinder(Ye,Ke,t,!1),e.runBinder(Ge,Je,t,!1),e.runBinder(We,Ve,t,!1),e.runBinder(qe,Ue,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")),e.attr._style$45background$45image||(e.attr._style$45background$45image=e.ensureAttr("style-background-image"))}}),He.make(e)}};function Ue(e,t,r,n,i,a){t.div4_class_binder=r,t.div4_class_invalidate=n;var o=t.div4_class_value;(a||o!==i)&&(t.div4_class_value=i,t.div4_class_state=e.attr._class(t.div4,"class",i,t.div4_class_state))}function qe(e){return ce.count}function Ve(e,t,r,n,i,a){t.div3_class_binder=r,t.div3_class_invalidate=n;var o=t.div3_class_value;(a||o!==i)&&(t.div3_class_value=i,t.div3_class_state=e.attr._class(t.div3,"class",i,t.div3_class_state))}function We(e){return ce.name}function Je(e,t,r,n,i,a){t.div2_class_binder=r,t.div2_class_invalidate=n;var o=t.div2_class_value;(a||o!==i)&&(t.div2_class_value=i,t.div2_class_state=e.attr._class(t.div2,"class",i,t.div2_class_state))}function Ge(e){return ce.info}function Ke(e,t,r,n,i,a){t.div1_style$45background$45image_binder=r,t.div1_style$45background$45image_invalidate=n;var o=t.div1_style$45background$45image_value;(a||o!==i)&&(t.div1_style$45background$45image_value=i,t.div1_style$45background$45image_state=e.attr._style$45background$45image(t.div1,"style-background-image",i,t.div1_style$45background$45image_state))}function Ye(e){return e.$_scope._this.backgroundUrl}function Xe(e,t,r,n,i,a){t.div1_class_binder1=r,t.div1_class_invalidate1=n;var o=t.div1_class_value1;(a||o!==i)&&(t.div1_class_value1=i,t.div1_class_state1=e.attr._class(t.div1,"class",i,t.div1_class_state1))}function Qe(e){return e.$_scope._this.isSelected?ce.selected:void 0}function et(e,t,r,n,i,a){t.div1_class_binder=r,t.div1_class_invalidate=n;var o=t.div1_class_value;(a||o!==i)&&(t.div1_class_value=i,t.div1_class_state=e.attr._class(t.div1,"class",i,t.div1_class_state))}function tt(e){return ce.preview}function rt(e,t,r,n,i,a){t.div_spread_binder=r,t.div_spread_invalidate=n;var o=t.div_spread_value;(a||o!==i)&&(t.div_spread_value=i,t.div_spread_spread_state=e.updateSpreadAttribute(t.div,i,t,t.div_spread_spread_state))}function nt(e){return e.$_scope._this.itemAttributes}function it(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function at(e){return ce.album}function ot(e,t,r,n,i,a){t.div_binder1=r,t.div_invalidate1=n;var o=t.div_value3;(a||o!==i)&&(t.div_value3=i,t.div_content1=e.renderContent(t.div_content1,i))}function st(e){return e.$_scope._this.count}function lt(e,t,r,n,i,a){t.div_binder=r,t.div_invalidate=n;var o=t.div_value1;(a||o!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function ct(e){return e.$_scope._this.name}var ut=(0,i.z)((function(e){return e.makeNode("div")}));function pt(e){var t=this._jsx_data;t&&t.$_scope._this.virtualItem&&t.$_scope._this.virtualItem.trigger("click",e)}var dt=(0,i.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","ze-album"),t})),mt=(0,w.Z)({type:"album"})((De=function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(){var e;(0,s.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,o.Z)(e,"item",Le,(0,c.Z)(e)),e}return(0,l.Z)(r)}(k.Z),Le=(0,d.Z)(De.prototype,"item",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),Ne=De))||Ne,ht={album:function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(){return(0,s.Z)(this,r),t.apply(this,arguments)}return(0,l.Z)(r,[{key:"album",get:function(){return this.virtualItem?this.virtualItem.item:void 0}},{key:"name",get:function(){return this.album?this.album.name:""}},{key:"count",get:function(){return this.album&&this.album.isComplete?this.album.assetCount:""}},{key:"backgroundUrl",get:function(){if(this.album&&this.album.coverThumbnail){var e=this.album.coverThumbnail.displayUrl;if(e)return"url(".concat(e,")")}}},{key:"isSelected",get:function(){var e,t;return null===(e=this.scope.albumSelectionController)||void 0===e?void 0:e.isSelected(null===(t=this.album)||void 0===t?void 0:t.id)}},{key:"render",value:function(){return{template:He,_this:this}}}]),r}(Z.Z)},vt=r(5073),gt={};gt.styleTagTransform=R(),gt.setAttributes=z(),gt.insert=T().bind(null,"head"),gt.domAPI=A(),gt.insertStyleElement=O(),S()(vt.Z,gt);const ft=vt.Z&&vt.Z.locals?vt.Z.locals:void 0;var bt,yt={make:function(e){return yt=n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(Tt);e.enterNode(r),t.div1=e.pushTemplateNode(Tt),e.exitNode(r),e.runBinder(Zt,kt,t,!0),e.runBinder(wt,_t,t,!0)},dispose:function(e,t){t.div_spread_spread_state=e.updateSpreadAttribute(t.div,null,t,t.div_spread_spread_state),t.div_spread_value=void 0,e.removeSignals(t.div_spread_binder,t.div_spread_invalidate),e.removeSignals(t.div1_class_binder,t.div1_class_invalidate)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(Zt,kt,t,!1),e.runBinder(wt,_t,t,!1)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}}),yt.make(e)}};function _t(e,t,r,n,i,a){t.div1_class_binder=r,t.div1_class_invalidate=n;var o=t.div1_class_value;(a||o!==i)&&(t.div1_class_value=i,t.div1_class_state=e.attr._class(t.div1,"class",i,t.div1_class_state))}function wt(e){return ft.separator}function kt(e,t,r,n,i,a){t.div_spread_binder=r,t.div_spread_invalidate=n;var o=t.div_spread_value;(a||o!==i)&&(t.div_spread_value=i,t.div_spread_spread_state=e.updateSpreadAttribute(t.div,i,t,t.div_spread_spread_state))}function Zt(e){return e.$_scope._this.itemAttributes}var xt,St,$t,At,Ct,Tt=(0,i.z)((function(e){return e.makeNode("div")})),Pt=(0,w.Z)({type:"separator"})(bt=function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(){return(0,s.Z)(this,r),t.apply(this,arguments)}return(0,l.Z)(r,[{key:"updateLayout",value:function(e,t){(0,y.Z)((0,_.Z)(r.prototype),"updateLayout",this).call(this,e,41)}}]),r}(k.Z))||bt,zt={separator:function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(){return(0,s.Z)(this,r),t.apply(this,arguments)}return(0,l.Z)(r,[{key:"render",value:function(){return{template:yt,_this:this}}}]),r}(Z.Z)};e=r.hmd(e);var Et={make:function(e){return Et=n.ZP.make({render:function(e,t){var r=t.g=!e._group_g&&e.pushTemplateNode(nr);r&&e.enterNode(r);var n=t._if=Yt.make(e);n.$_parent=t,n.template.run(e,n);var i=t._if1=qt.make(e);i.$_parent=t,i.template.run(e,i);var a=t._if2=Lt.make(e);a.$_parent=t,a.template.run(e,a);var o=t._if3=Rt.make(e);o.$_parent=t,o.template.run(e,o);var s=t._if4=Ot.make(e);s.$_parent=t,s.template.run(e,s),r&&e.exitNode(r)},dispose:function(e,t){t._if.template.dispose(e,t._if),t._if1.template.dispose(e,t._if1),t._if2.template.dispose(e,t._if2),t._if3.template.dispose(e,t._if3),t._if4.template.dispose(e,t._if4)},move:function(e,t){t.g?e.pushNode(t.g):(t._if.template.move(e,t._if),t._if1.template.move(e,t._if1),t._if2.template.move(e,t._if2),t._if3.template.move(e,t._if3),t._if4.template.move(e,t._if4))},reuse:function(e,t){t._if.template.reuse(e,t._if),t._if1.template.reuse(e,t._if1),t._if2.template.reuse(e,t._if2),t._if3.template.reuse(e,t._if3),t._if4.template.reuse(e,t._if4)},firstChild:function(e,t){return t.g||t._if.template.firstChild(e,t._if)},lastChild:function(e,t){return t.g||t._if4.template.lastChild(e,t._if4)}}),Et.make(e)}},Ot={make:function(e){return(Ot=e.makeComponent(a.Z,{props:{getCondition:function(e){var t,r;return(null===(t=e.$_parent.$_scope._this._source)||void 0===t||null===(r=t.albums)||void 0===r?void 0:r.length)>0}},blocks:[{name:"children",template:e.makeComponent(oe.Z,{attributes:[{name:"items",get:function(){var e,t=this.$_view;if(t)return null===(e=t.$_parent.$_parent.$_scope._this._source)||void 0===e?void 0:e.albums}},{name:"itemType",get:function(){if(this.$_view)return mt},original:"item-type",set:function(e){this.$_view&&(mt=e)}},{name:"itemsPerRow",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this._itemsPerRow},original:"items-per-row",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this._itemsPerRow=e)}},{name:"itemSpacing",get:function(){if(this.$_view)return ir},original:"item-spacing",set:function(e){this.$_view&&(ir=e)}},{name:"itemHeight",get:function(){if(this.$_view)return or},original:"item-height",set:function(e){this.$_view&&(or=e)}},{name:"bottomMargin",get:function(){if(this.$_view)return sr},original:"bottom-margin",set:function(e){this.$_view&&(sr=e)}}],events:[{name:"item-click",value:It}]})}]})).make(e)}};function It(e,t){var r=this.$_view;r&&r.$_parent.$_parent.$_scope._this.trigger("album-click",e,t)}var Rt={make:function(e){return(Rt=e.makeComponent(a.Z,{props:{getCondition:function(e){var t,r;return(null===(t=e.$_parent.$_scope._this._source)||void 0===t||null===(r=t.folders)||void 0===r?void 0:r.length)>0}},blocks:[{name:"children",template:n.ZP.make({render:function(e,t){var r=t.gridGroup=Nt.make(e);r.$_parent=t,r.template.run(e,r);var n=t.separatorItem=jt.make(e);n.$_parent=t,n.template.run(e,n)},dispose:function(e,t){t.gridGroup.template.dispose(e,t.gridGroup),t.separatorItem.template.dispose(e,t.separatorItem)},move:function(e,t){t.gridGroup.template.move(e,t.gridGroup),t.separatorItem.template.move(e,t.separatorItem)},reuse:function(e,t){t.gridGroup.template.reuse(e,t.gridGroup),t.separatorItem.template.reuse(e,t.separatorItem)},firstChild:function(e,t){return t.gridGroup.template.firstChild(e,t.gridGroup)},lastChild:function(e,t){return t.separatorItem.template.lastChild(e,t.separatorItem)}})}]})).make(e)}},jt={make:function(e){return(jt=e.makeComponent(Pt,{})).make(e)}},Nt={make:function(e){return(Nt=e.makeComponent(oe.Z,{attributes:[{name:"items",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this._source.folders},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this._source.folders=e)}},{name:"itemType",get:function(){if(this.$_view)return Be},original:"item-type",set:function(e){this.$_view&&(Be=e)}},{name:"itemsPerRow",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this._itemsPerRow},original:"items-per-row",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this._itemsPerRow=e)}},{name:"itemSpacing",get:function(){if(this.$_view)return ir},original:"item-spacing",set:function(e){this.$_view&&(ir=e)}},{name:"itemHeight",get:function(){if(this.$_view)return ar},original:"item-height",set:function(e){this.$_view&&(ar=e)}}],events:[{name:"item-click",value:Dt}]})).make(e)}};function Dt(e,t){var r=this.$_view;r&&r.$_parent.$_parent.$_parent.$_scope._this.trigger("folder-click",e,t)}var Lt={make:function(e){return(Lt=e.makeComponent(a.Z,{props:{getCondition:function(e){var t;return(null===(t=e.$_parent.$_scope._this._source)||void 0===t?void 0:t.assetRowSource)&&"album"!==e.$_parent.$_scope._this.scope.selectionType}},blocks:[{name:"children",template:n.ZP.make({render:function(e,t){var r=t.recentTitleItem=Ht.make(e);r.$_parent=t,r.template.run(e,r);var n=t.lrGridBlock=Mt.make(e);n.$_parent=t,n.template.run(e,n)},dispose:function(e,t){t.recentTitleItem.template.dispose(e,t.recentTitleItem),t.lrGridBlock.template.dispose(e,t.lrGridBlock)},move:function(e,t){t.recentTitleItem.template.move(e,t.recentTitleItem),t.lrGridBlock.template.move(e,t.lrGridBlock)},reuse:function(e,t){t.recentTitleItem.template.reuse(e,t.recentTitleItem),t.lrGridBlock.template.reuse(e,t.lrGridBlock)},firstChild:function(e,t){return t.recentTitleItem.template.firstChild(e,t.recentTitleItem)},lastChild:function(e,t){return t.lrGridBlock.template.lastChild(e,t.lrGridBlock)}})}]})).make(e)}},Mt={make:function(e){return(Mt=e.makeComponent(ae.Z,{attributes:[{name:"context",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this._assetRowContext},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this._assetRowContext=e)}}],events:[{name:"selected-changed",value:Ft},{name:"double-click",value:Bt}]})).make(e)}};function Bt(e){var t=this.$_view;t&&t.$_parent.$_parent.$_parent.$_scope._this.trigger("double-click",e)}function Ft(e){var t=this.$_view;t&&t.$_parent.$_parent.$_parent.$_scope._this.trigger("selected-changed",e)}var Ht={make:function(e){return(Ht=e.makeComponent(ne,{attributes:[{name:"title",get:function(){if(this.$_view)return(0,b.zt)("$$$/organizer/recent-photos=Recent Photos")}}],events:[{name:"see-all-click",value:Ut}]})).make(e)}};function Ut(e){var t=this.$_view;t&&t.$_parent.$_parent.$_parent.$_scope._this.trigger("album-click",e,t.$_parent.$_parent.$_parent.$_scope._this._source.assetRowSeeMoreSource)}var qt={make:function(e){return(qt=e.makeComponent(a.Z,{props:{getCondition:function(e){var t;return null===(t=e.$_parent.$_scope._this._source)||void 0===t?void 0:t.recentAlbums}},blocks:[{name:"children",template:n.ZP.make({render:function(e,t){var r=t.recentTitleItem=Gt.make(e);r.$_parent=t,r.template.run(e,r);var n=t.gridGroup=Wt.make(e);n.$_parent=t,n.template.run(e,n);var i=t.separatorItem=Vt.make(e);i.$_parent=t,i.template.run(e,i)},dispose:function(e,t){t.recentTitleItem.template.dispose(e,t.recentTitleItem),t.gridGroup.template.dispose(e,t.gridGroup),t.separatorItem.template.dispose(e,t.separatorItem)},move:function(e,t){t.recentTitleItem.template.move(e,t.recentTitleItem),t.gridGroup.template.move(e,t.gridGroup),t.separatorItem.template.move(e,t.separatorItem)},reuse:function(e,t){t.recentTitleItem.template.reuse(e,t.recentTitleItem),t.gridGroup.template.reuse(e,t.gridGroup),t.separatorItem.template.reuse(e,t.separatorItem)},firstChild:function(e,t){return t.recentTitleItem.template.firstChild(e,t.recentTitleItem)},lastChild:function(e,t){return t.separatorItem.template.lastChild(e,t.separatorItem)}})}]})).make(e)}},Vt={make:function(e){return(Vt=e.makeComponent(Pt,{})).make(e)}},Wt={make:function(e){return(Wt=e.makeComponent(oe.Z,{attributes:[{name:"items",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this._recentAlbums},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this._recentAlbums=e)}},{name:"itemType",get:function(){if(this.$_view)return mt},original:"item-type",set:function(e){this.$_view&&(mt=e)}},{name:"itemsPerRow",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this._itemsPerRow},original:"items-per-row",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this._itemsPerRow=e)}},{name:"itemSpacing",get:function(){if(this.$_view)return ir},original:"item-spacing",set:function(e){this.$_view&&(ir=e)}},{name:"itemHeight",get:function(){if(this.$_view)return or},original:"item-height",set:function(e){this.$_view&&(or=e)}}],events:[{name:"item-click",value:Jt}]})).make(e)}};function Jt(e,t){var r=this.$_view;r&&r.$_parent.$_parent.$_parent.$_scope._this.trigger("album-click",e,t)}var Gt={make:function(e){return(Gt=e.makeComponent(ne,{attributes:[{name:"title",get:function(){if(this.$_view)return(0,b.zt)("$$$/organizer/recent-albums=Recent Albums")}}],events:[{name:"see-all-click",value:Kt}]})).make(e)}};function Kt(e){var t=this.$_view;t&&t.$_parent.$_parent.$_parent.$_scope._this.trigger("folder-click",e,t.$_parent.$_parent.$_parent.$_scope._this._source.recentAlbums.all)}var Yt={make:function(e){return(Yt=e.makeComponent(a.Z,{props:{getCondition:function(e){var t;return null===(t=e.$_parent.$_scope._this._source)||void 0===t?void 0:t.albumRowSource}},blocks:[{name:"children",template:n.ZP.make({render:function(e,t){var r=t.recentTitleItem=tr.make(e);r.$_parent=t,r.template.run(e,r);var n=t.gridGroup=Qt.make(e);n.$_parent=t,n.template.run(e,n);var i=t.separatorItem=Xt.make(e);i.$_parent=t,i.template.run(e,i)},dispose:function(e,t){t.recentTitleItem.template.dispose(e,t.recentTitleItem),t.gridGroup.template.dispose(e,t.gridGroup),t.separatorItem.template.dispose(e,t.separatorItem)},move:function(e,t){t.recentTitleItem.template.move(e,t.recentTitleItem),t.gridGroup.template.move(e,t.gridGroup),t.separatorItem.template.move(e,t.separatorItem)},reuse:function(e,t){t.recentTitleItem.template.reuse(e,t.recentTitleItem),t.gridGroup.template.reuse(e,t.gridGroup),t.separatorItem.template.reuse(e,t.separatorItem)},firstChild:function(e,t){return t.recentTitleItem.template.firstChild(e,t.recentTitleItem)},lastChild:function(e,t){return t.separatorItem.template.lastChild(e,t.separatorItem)}})}]})).make(e)}},Xt={make:function(e){return(Xt=e.makeComponent(Pt,{})).make(e)}},Qt={make:function(e){return(Qt=e.makeComponent(oe.Z,{attributes:[{name:"items",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this._recentConnectedAlbums},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this._recentConnectedAlbums=e)}},{name:"itemType",get:function(){if(this.$_view)return mt},original:"item-type",set:function(e){this.$_view&&(mt=e)}},{name:"itemsPerRow",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this._itemsPerRow},original:"items-per-row",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this._itemsPerRow=e)}},{name:"itemSpacing",get:function(){if(this.$_view)return ir},original:"item-spacing",set:function(e){this.$_view&&(ir=e)}},{name:"itemHeight",get:function(){if(this.$_view)return or},original:"item-height",set:function(e){this.$_view&&(or=e)}}],events:[{name:"item-click",value:er}]})).make(e)}};function er(e,t){var r=this.$_view;r&&r.$_parent.$_parent.$_parent.$_scope._this.trigger("album-click",e,t)}var tr={make:function(e){return(tr=e.makeComponent(ne,{attributes:[{name:"title",get:function(){if(this.$_view)return(0,b.zt)("$$$/organizer/recent-connected-albums=Recent Connected Albums")}}],events:[{name:"see-all-click",value:rr}]})).make(e)}};function rr(e){var t=this.$_view;t&&t.$_parent.$_parent.$_parent.$_scope._this.trigger("folder-click",e,t.$_parent.$_parent.$_parent.$_scope._this._source.albumRowSource)}var nr=(0,i.z)((function(e){return e.makeNode("g")})),ir=20,ar=100,or=120,sr=20,lr=(0,m.Z)((0,v.Z)("FolderGroups",{events:["selected-changed","double-click","album-click","folder-click"]}),e,"FolderGroups")((St=function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(){var e;(0,s.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,o.Z)(e,"context",$t,(0,c.Z)(e)),(0,o.Z)(e,"viewWidth",At,(0,c.Z)(e)),(0,o.Z)(e,"titleItem",Ct,(0,c.Z)(e)),e}return(0,l.Z)(r,[{key:"_source",get:function(){var e;return null===(e=this.context)||void 0===e?void 0:e.source}},{key:"_itemsPerRow",get:function(){var e=this.viewWidth+ir;return Math.floor(e/(130+ir))}},{key:"_recentAlbums",get:function(){var e,t,r=null===(e=this._source)||void 0===e||null===(t=e.recentAlbums)||void 0===t?void 0:t.recents;return r?r.slice(0,2*this._itemsPerRow):[]}},{key:"_recentConnectedAlbums",get:function(){var e,t,r=null===(e=this._source)||void 0===e||null===(t=e.albumRowSource)||void 0===t?void 0:t.recents;return r?r.slice(0,this._itemsPerRow):[]}},{key:"_assetRowContext",get:function(){var e;if(null!==(e=this._source)&&void 0!==e&&e.assetRowSource)return{preselected:this.context.preselected,source:{assets:this._source.assetRowSource.assets}}}},{key:"render",value:function(){return{template:Et,_this:this}}}],[{key:"map",value:function(){var e={};return Object.assign(e,ie),Object.assign(e,ae.Z.map()),Object.assign(e,Fe),Object.assign(e,ht),Object.assign(e,zt),e}}]),r}(h.Z),$t=(0,d.Z)(St.prototype,"context",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),At=(0,d.Z)(St.prototype,"viewWidth",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),Ct=(0,d.Z)(St.prototype,"titleItem",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),xt=St))||xt},527427:(e,t,r)=>{"use strict";r.d(t,{Z:()=>L});var n,i,a,o,s,l,c,u,p,d,m,h,v,g=r(685271),f=r(878537),b=r(568121),y=r(519055),_=r(224440),w=r(282466),k=r(89211),Z=r(143681),x=r(236229),S=r(668962),$=r(749886),A=r(673136),C=r(588816),T=r(54262),P=r(704083),z=(r(35812),r(736781)),E=r(993184),O=(r(573467),r(508460),r(704589)),I=r(321849),R=(n=function(e){(0,S.Z)(r,e);var t=(0,$.Z)(r);function r(){var e;(0,k.Z)(this,r);for(var n=arguments.length,l=new Array(n),c=0;c<n;c++)l[c]=arguments[c];return e=t.call.apply(t,[this].concat(l)),(0,w.Z)(e,"itemsPerRow",i,(0,x.Z)(e)),(0,w.Z)(e,"itemSpacing",a,(0,x.Z)(e)),(0,w.Z)(e,"itemHeight",o,(0,x.Z)(e)),(0,w.Z)(e,"bottomMargin",s,(0,x.Z)(e)),e}return(0,Z.Z)(r,[{key:"updateLayout",value:function(e,t){var n,i,a=this,o=this.paginatedList=new I.Z,s=e-2*this.margin+this.itemSpacing;if(!(s<=0||0===this.itemsPerRow)){var l=Math.round(s/this.itemsPerRow-this.itemSpacing);i=this.top,n=this.left+this.margin;var c=0;this.width=0,this.height=0,this.forEach((function(e){e.parent=a,c%a.itemsPerRow==0&&(n=a.left+a.margin,a.height+=a.itemHeight,c>0&&(i+=a.itemHeight+a.itemSpacing,a.height+=a.itemSpacing)),e.layout(n,i,l,a.itemHeight),n+=e._width+a.itemSpacing,o.add(e,e._top,e._top+e._height),a.width=Math.max(a.width,e._left+e._width-a.left),c+=1})),this.height+=this.bottomMargin,(0,z.Z)((0,E.Z)(r.prototype),"updateLayout",this).call(this,this.width,this.height)}}}]),r}(O.Z),i=(0,A.Z)(n.prototype,"itemsPerRow",[P.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),a=(0,A.Z)(n.prototype,"itemSpacing",[P.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),o=(0,A.Z)(n.prototype,"itemHeight",[P.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),s=(0,A.Z)(n.prototype,"bottomMargin",[P.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),n);e=r.hmd(e);var j={make:function(e){return j=e.makeComponent(_.Z,{args:1,props:{getValue:function(e){return e.$_scope._this.itemType}},blocks:[{name:"children",template:e.makeComponent(y.Z,{props:{getCondition:function(e){return e.$_parent.$_scope._this.items&&e.$_parent.$_scope._this.items.length>0}},blocks:[{name:"children",template:e.makeComponent(R,{attributes:[{name:"itemsPerRow",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.itemsPerRow},original:"items-per-row",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.itemsPerRow=e)}},{name:"itemSpacing",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.itemSpacing},original:"item-spacing",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.itemSpacing=e)}},{name:"itemHeight",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.itemHeight},original:"item-height",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.itemHeight=e)}},{name:"bottomMargin",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.bottomMargin},original:"bottom-margin",set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.bottomMargin=e)}}],blocks:[{name:"children",template:e.makeComponent(b.Z,{args:1,props:{getCollection:function(e){return e.$_parent.$_parent.$_parent.$_scope._this.items}},blocks:[{name:"children",template:g.ZP.make({render:function(e,t){var r=t.virtualItemClass_base=t.$_parent.$_parent.$_parent.v0,n=t.virtualItemClass=N.make(e,r).make(e);n.$_parent=t,n.template.run(e,n)},dispose:function(e,t){t.virtualItemClass.template.dispose(e,t.virtualItemClass)},move:function(e,t){t.virtualItemClass.template.move(e,t.virtualItemClass)},reuse:function(e,t){var r=t.$_parent.$_parent.$_parent.v0;if(r!==t.virtualItemClass_base){t.virtualItemClass_base=r;var n=N.make(e,r).make(e);n.$_parent=t,e.replaceTemplate(t.virtualItemClass,n),t.virtualItemClass=n}else t.virtualItemClass.template.reuse(e,t.virtualItemClass)},firstChild:function(e,t){return t.virtualItemClass.template.firstChild(e,t.virtualItemClass)},lastChild:function(e,t){return t.virtualItemClass.template.lastChild(e,t.virtualItemClass)}})}]})}]})}]})}]}),j.make(e)}},N={make:function(e,t){return(N=f.Z.makeDynamic({attributes:[{name:"item",get:function(){var e=this.$_view;if(e)return e.$_parent.v0},set:function(e){var t=this.$_view;t&&(t.$_parent.v0=e)}}],events:[{name:"click",value:D}]})).make(e,t)}};function D(e){var t=this.$_view;t&&t.$_parent.$_parent.$_parent.$_parent.$_parent.$_scope._this.trigger("item-click",e,t.$_parent.v0)}var L=(0,C.Z)((0,T.Z)("GridGroup",{events:["item-click"]}),e,"GridGroup")((c=function(e){(0,S.Z)(r,e);var t=(0,$.Z)(r);function r(){var e;(0,k.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,w.Z)(e,"items",u,(0,x.Z)(e)),(0,w.Z)(e,"itemType",p,(0,x.Z)(e)),(0,w.Z)(e,"itemsPerRow",d,(0,x.Z)(e)),(0,w.Z)(e,"itemSpacing",m,(0,x.Z)(e)),(0,w.Z)(e,"itemHeight",h,(0,x.Z)(e)),(0,w.Z)(e,"bottomMargin",v,(0,x.Z)(e)),e}return(0,Z.Z)(r,[{key:"render",value:function(){return{template:j,_this:this}}}]),r}(f.Z),u=(0,A.Z)(c.prototype,"items",[P.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p=(0,A.Z)(c.prototype,"itemType",[P.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,A.Z)(c.prototype,"itemsPerRow",[P.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),m=(0,A.Z)(c.prototype,"itemSpacing",[P.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),h=(0,A.Z)(c.prototype,"itemHeight",[P.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),v=(0,A.Z)(c.prototype,"bottomMargin",[P.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),l=c))||l},190960:(e,t,r)=>{"use strict";r.d(t,{B:()=>U,Z:()=>V});var n,i,a,o,s,l,c=r(85663),u=r(934331),p=r(760567),d=r(846031),m=r(282466),h=r(89211),v=r(143681),g=r(236229),f=r(736781),b=r(993184),y=r(668962),_=r(749886),w=r(673136),k=r(548967),Z=(r(35812),r(816221),r(321500),r(573467),r(290671),r(17938),r(457685),r(808410),r(888784),r(8856),r(893248),r(391162),r(587621),r(558901),r(635105),r(64209),r(824098),r(593798),r(693508),r(111519),r(304893),r(819785),r(653960),r(936963),r(923304),r(127387),r(255187),r(322511),r(542543),r(531072),r(721141),r(373636),r(582909),r(276839),r(783754)),x=r(41332),S=r(253544),$=r(630647),A=(r(351003),r(128894)),C=r(184946),T=r(819218),P=r(121094),z=r(272745),E=r(697458),O=r(189256),I=(r(975157),r(167822)),R=r(505341),j=r(902310),N=r(690027),D=r(919369),L=r(684643),M=r(678147),B=(r(422397),r(40445)),F=r(784090),H=new M.Z(10),U=["score","balancing","content","dof","emphasis","harmony","lighting","repetition","rot","symmetry","vivid"],q=(n=function(e){(0,y.Z)(B,e);var t,r,n,w,k,I,M=(0,_.Z)(B);function B(){var e;(0,h.Z)(this,B);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e=M.call.apply(M,[this].concat(r)),(0,m.Z)(e,"importedByUser",i,(0,g.Z)(e)),(0,m.Z)(e,"_selectedVersion",a,(0,g.Z)(e)),(0,m.Z)(e,"generatingRenditionsCount",o,(0,g.Z)(e)),(0,m.Z)(e,"pollingRenditionsCount",s,(0,g.Z)(e)),(0,m.Z)(e,"revising",l,(0,g.Z)(e)),e}return(0,v.Z)(B,[{key:"setAttributes",value:function(e){var t,r,n;(0,f.Z)((0,b.Z)(B.prototype),"setAttributes",this).call(this,e),null!==(t=this.namedVersions)&&void 0!==t||(this.namedVersions=new N.Z(this,"".concat(this.linkHref("self"),"/versions"),{created_as:"manual",embed:"user"})),null!==(r=this.autoVersions)&&void 0!==r||(this.autoVersions=new N.Z(this,"".concat(this.linkHref("self"),"/versions"),{created_as:"auto",embed:"user"})),null!==(n=this.auxParts)&&void 0!==n||(this.auxParts=new Map),null!=e.importedByUser?this.importedByUser=new j.Z(e.importedByUser):this.importedByUser=null,L.Z.registerKeywords(this)}},{key:"payload",value:function(){return this.attributes.payload}},{key:"xmp",value:function(){return this.attributes.payload.xmp}},{key:"develop",get:function(){return this.payload().develop}},{key:"importSource",value:function(){return this.attributes.payload.importSource}},{key:"purgeDate",value:function(){return this.attributes.payload.purgeDate}},{key:"personName",value:function(){return this.attributes.payload.name}},{key:"restoreInProgress",value:function(){var e;return null===(e=this.attributes)||void 0===e?void 0:e.restore_in_progress}},{key:"purgeRemainingDays",value:function(){var e=(new Date).getTime(),t=Date.parse(this.purgeDate())-e;return Math.floor(t/864e5)}},{key:"iacDeleteRemainingHours",value:function(){var e=(new Date).getTime()-this.getOzCreatedDate(),t=Math.max(e,0);return 48-Math.floor(t/36e5)}},{key:"faceData",value:function(){var e,t,r;return null===(e=this.attributes.payload.xmp)||void 0===e||null===(t=e["mwg-rs"])||void 0===t||null===(r=t.Regions)||void 0===r?void 0:r.RegionList}},{key:"getPersonIdsDetected",value:function(){if(null==this.faceData())return null;var e=[],t=this.faceData();for(var r in t){var n=t[r].Extensions["adobe-fi"].People;if(n)for(var i=0,a=Object.keys(n);i<a.length;i++){var o=a[i];e.push(o)}}return e}},{key:"getPersonRecognitionAppName",value:function(){if(null==this.faceData())return null;var e=this.faceData();for(var t in e)return e[t].Extensions["adobe-fi"].Application}},{key:"getPersonRecognitionAppVersion",value:function(){if(null==this.faceData())return null;var e=this.faceData();for(var t in e)return e[t].Extensions["adobe-fi"].Version}},{key:"debugGetKpTags",value:function(){var e,t=[],r=(0,d.Z)(this.getKeywordsArray());try{for(r.s();!(e=r.n()).done;){var n=e.value;0===n.indexOf("kp_")&&t.push(n)}}catch(e){r.e(e)}finally{r.f()}return t}},{key:"isImportedBy",value:function(e){var t;return(null===(t=this.importSource())||void 0===t?void 0:t.importedBy)===e.id}},{key:"hasImportDevice",value:function(){var e;return null!=(null===(e=this.importSource())||void 0===e?void 0:e.importedOnDevice)}},{key:"getImportDevice",value:function(){var e,t;return null!==(e=null===(t=this.importSource())||void 0===t?void 0:t.importedOnDevice)&&void 0!==e?e:""}},{key:"getFileSize",value:function(){var e,t;return null!==(e=null===(t=this.importSource())||void 0===t?void 0:t.fileSize)&&void 0!==e?e:0}},{key:"getFileSizeInMB",value:function(){var e;if(null!=(null===(e=this.importSource())||void 0===e?void 0:e.fileSize)){var t=this.importSource().fileSize;return Math.round(t/1048576)}}},{key:"getContentType",value:function(){var e;return null===(e=this.importSource())||void 0===e?void 0:e.contentType}},{key:"hasKeyword",value:function(e){return!0===this.getKeywords()[e]}},{key:"getKeywords",value:function(){var e,t;return(null===(e=this.xmp())||void 0===e||null===(t=e.dc)||void 0===t?void 0:t.subject)||{}}},{key:"getKeywordsArray",value:function(){var e=this.getKeywords(),t=[];for(var r in e)e[r]&&t.push(r);return t.sort(),t}},{key:"getCaptureDate",value:function(){var e=this.payload().captureDate;if(e===E.v.UNKNOWN_DATE||null===e)return null;var t=e.slice(0,19);return new Date(Date.parse(t))}},{key:"getImportDate",value:function(){var e,t=null===(e=this.importSource())||void 0===e?void 0:e.importTimestamp;return t===E.v.UNKNOWN_DATE?null:new Date(Date.parse(t))}},{key:"getFormattedCaptureDate",value:function(){var e=this.getCaptureDate();return null!=e?Z.Z.formatDate(e,"long"):(0,$.zt)("$$$/js/oz_resource/unknown_date=Date unknown")}},{key:"getFormattedImportDate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"long",t=this.getImportDate();return null!=t?Z.Z.formatDate(t,e):(0,$.zt)("$$$/js/oz_resource/unknown_date=Date unknown")}},{key:"getFileName",value:function(){var e,t;return x.Z.is_enabled("debug_empty_filenames")?"":(null===(e=this.importSource())||void 0===e?void 0:e.fileName)||(null===(t=this.payload())||void 0===t?void 0:t.FileName)||""}},{key:"getFileExtension",value:function(){var e=this.getFileName(),t=e.lastIndexOf(".");return-1!==t?e.substr(t+1).toLowerCase():""}},{key:"getAspectRatio",value:function(){var e=this.getCroppedDimensions();return e[0]/e[1]}},{key:"getDownload2048Href",value:function(){return this.getHackRenditionDownloadHref("2048",!0)}},{key:"getDownload2048FileSizeP",value:function(){var e=this;if(null!=this.downloadFileSizePromise)return this.downloadFileSizePromise;var t=this.getRenditionHref("2048",!0);return null!=t?this.downloadFileSizePromise=this.requestP("HEAD",t,"",{contentType:""}).then((function(t,r,n){var i=n.getResponseHeader("Content-Length");return e.downloadFileSize=Math.max(0,i)})):F.Deferred().reject()}},{key:"getHackRenditionDownloadHref",value:function(e,t){return this.linkHref("/rels/rendition_type/".concat(e))}},{key:"getRenditionHref",value:function(e,t){return this.hackCacheableLinkHref("/rels/rendition_type/".concat(e))}},{key:"getBestRenditionTypeForSize",value:function(e,t){var r,n,i,a=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(x.Z.is_enabled("pixel_density_multiplier")||a)&&(e*=P.Z.pixelDensity,t*=P.Z.pixelDensity);var o=Math.max(null!=e?e:0,null!=t?t:0);r=o>2048?["panorama","2048","1280"]:o>1280?["2048","1280"]:o>640?["1280","2048"]:o>320?["640"]:["thumbnail2x"];var s,l=(0,d.Z)(r);try{for(l.s();!(s=l.n()).done;)if(i=s.value,this.hasValidRendition(i)){n=i;break}}catch(e){l.e(e)}finally{l.f()}if(null!=n)return n;var c,u=(0,d.Z)(r);try{for(u.s();!(c=u.n()).done;)if(i=c.value,this.hasRendition(i)){n=i;break}}catch(e){u.e(e)}finally{u.f()}return n||"thumbnail2x"}},{key:"getLargestAvailableRendition",value:function(){for(var e=0,t=["panorama","2048","1280","640","thumbnail2x"];e<t.length;e++){var r=t[e];if(this.hasRendition(r))return r}return null}},{key:"getBestRenditionHrefForSize",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=this.getBestRenditionTypeForSize(e,t,r);return this.getRenditionHref(n)}},{key:"hackCacheableLinkHref",value:function(e){var t;return O.Z.haveNginxProxy?null===(t=this.linkHref(e))||void 0===t?void 0:t.replace("/v2/","/v2c/"):this.linkHref(e)}},{key:"hasMaster",value:function(){return null!=this.attributes.links["/rels/master"]}},{key:"hasProxy",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"2560";return null!=this.attributes.links["/rels/proxy_type/".concat(e)]}},{key:"hasRenditionGenerateHref",value:function(e){return this.hasLink("/rels/rendition_generate/".concat(e))}},{key:"isProxyOnly",value:function(){var e;return!0===(null===(e=this.importSource())||void 0===e?void 0:e.willNotUploadMaster)}},{key:"getMasterHref",value:function(){return arguments.length>0&&void 0!==arguments[0]&&!arguments[0]?this.linkHref("/rels/master"):this.hackCacheableLinkHref("/rels/master")}},{key:"getProxyHref",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"2560";return this.hackCacheableLinkHref("/rels/proxy_type/".concat(e))}},{key:"hasExternalDevelopSettings",value:function(){return this.hasDevelopSettingsHref()}},{key:"hasAux",value:function(){return null!=this.payload().aux}},{key:"getAux",value:function(){return this.payload().aux}},{key:"getAuxHref",value:function(e){return this.getAux()[e]?this.linkHref("/rels/aux/".concat(e)):""}},{key:"hasAuxHref",value:function(e){var t;return(null===(t=this.getAuxHref(e))||void 0===t?void 0:t.length)>0}},{key:"findAuxId",value:function(e){var t=this.getAux();if(t)return Object.keys(t).find((function(r){var n=t[r];return!(null!=e.type&&e.type!==n.type||null!=e.digest&&e.digest!==n.digest||null!=e.sha256&&e.sha256!==n.sha256||null!=e.fileSize&&e.fileSize!==n.fileSize)}))}},{key:"generateAuxId",value:function(){var e;do{var t;e=this.createUuid()}while(null!=(null===(t=this.getAux())||void 0===t?void 0:t[e]));return e}},{key:"getValidAuxIdsByDigest",value:function(){var e=this,t=this.getAux();return t?Object.entries(t).filter((function(t){var r=(0,p.Z)(t,1)[0];return e.hasAuxHref(r)})).reduce((function(e,t){var r=(0,p.Z)(t,2),n=r[0];return e[r[1].digest]=n,e}),{}):{}}},{key:"uploadAuxJP",value:(I=(0,u.Z)((0,c.Z)().mark((function e(t,r){var n,i,a=this;return(0,c.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=this.auxParts.get(r))){e.next=3;break}return e.abrupt("return",n.uploadedJP());case 3:return e.t0=R.Z,e.next=6,A.default.getTokenJP();case 6:return e.t1=e.sent,e.t0.setAuthHeaders.call(e.t0,e.t1,"LightroomMobileWeb1"),i=this.linkHref("/rels/aux_create/parts").replace("{sha256}",r).replace("{type}","mask").replace("{upload_status}","pending").replace("{file_size}",t.byteLength).replace("{part_size}",5242880).replace("{content_type}","application/octet-stream"),this.auxParts.set(r,n=new R.Z(i)),e.abrupt("return",n.uploadJP(t).finally((function(){return a.auxParts.delete(r)})));case 11:case"end":return e.stop()}}),e,this)}))),function(e,t){return I.apply(this,arguments)})},{key:"hasPixelMasks",value:function(){return Object.keys(this.getPixelMasks()).length>0}},{key:"getPixelMasks",value:function(){if(!this.hasAux())return{};var e=this.getAux();return Object.keys(e).filter((function(t){return"mask"===e[t].type})).reduce((function(t,r){return t[r]=e[r],t}),{})}},{key:"getDevelopPixelMasks",value:function(){var e,t;return null!==(e=null===(t=this.attributes.payload.develop)||void 0===t?void 0:t.masks)&&void 0!==e?e:{}}},{key:"developHasPixelMasks",value:function(){return Object.keys(this.getDevelopPixelMasks()).length>0}},{key:"getDevelopDevice",value:function(){var e;return null===(e=this.attributes.payload.develop)||void 0===e?void 0:e.device}},{key:"hasDevelopDevice",value:function(){var e;return(null===(e=this.getDevelopDevice())||void 0===e?void 0:e.length)>0}},{key:"getDevelopedByUserName",value:function(){var e,t;return null===(e=this.attributes)||void 0===e||null===(t=e.developedByUser)||void 0===t?void 0:t.full_name}},{key:"fetchDevelopPixelMasksJP",value:(k=(0,u.Z)((0,c.Z)().mark((function e(){var t,r=this;return(0,c.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.getDevelopPixelMasks(),e.t0=Object,e.next=4,Promise.all(Object.entries(t).map(function(){var e=(0,u.Z)((0,c.Z)().mark((function e(t){var n,i,a,o,s,l,u;return(0,c.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(0,p.Z)(t,2),i=n[0],a=n[1].digest,o=r.getAuxHref(i),e.next=4,r.requestJP("GET",o,null,{responseType:"arraybuffer"});case 4:return s=e.sent,l=(0,p.Z)(s,1),u=l[0],e.abrupt("return",[a,u]);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 4:return e.t1=e.sent,e.abrupt("return",e.t0.fromEntries.call(e.t0,e.t1));case 6:case"end":return e.stop()}}),e,this)}))),function(){return k.apply(this,arguments)})},{key:"getDevelopPixelMasksDigests",value:function(){var e=this.getDevelopPixelMasks();return Object.values(e).map((function(e){return e.digest}))}},{key:"getDevelopPixelMaskIds",value:function(){var e=this.getDevelopPixelMasks();return Object.keys(e)}},{key:"hasDevelopSettingsHref",value:function(){return this.hasLink("/rels/xmp/develop")}},{key:"getDevelopSettingsHref",value:function(){return this.linkHref("/rels/xmp/develop")}},{key:"canCreateDefaultAutoVersion",value:function(){var e=this.payload().develop;return null!=e&&""!==e.xmpCameraRaw}},{key:"getAutoVersionDevelopSettingsJP",value:(w=(0,u.Z)((0,c.Z)().mark((function e(){var t,r,n,i,a,o;return(0,c.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.payload(),i=n.develop,e.next=3,this.getDevelopSettingsJP();case 3:return a=e.sent,o={croppedWidth:null!==(t=i.croppedWidth)&&void 0!==t?t:this.getOriginalDimensions()[0],croppedHeight:null!==(r=i.croppedHeight)&&void 0!==r?r:this.getOriginalDimensions()[1]},(null==a?void 0:a.length)>0&&(o.xmpCameraRaw=a),null!=i.userOrientation&&(o.userOrientation=i.userOrientation),null!=i.userUpdated&&(o.userUpdated=i.userUpdated),null!=i.crsVersion&&(o.crsVersion=i.crsVersion),e.abrupt("return",o);case 10:case"end":return e.stop()}}),e,this)}))),function(){return w.apply(this,arguments)})},{key:"hasSyncedAux",value:function(){var e=this.getAux(),t=this.getDevelopPixelMasks(),r=!0;for(var n in e){var i=this.hasAuxHref(n);if(null!=t[n]&&!i){r=!1;break}}return r}},{key:"hasSyncedDevelopSettings",value:function(){return!!this.isVideo()||null!=this.getDevelopSettingsSync()||this.hasDevelopSettingsHref()&&this.hasSyncedAux()}},{key:"getDevelopSettingsSync",value:function(){var e,t=null===(e=this.payload().develop)||void 0===e?void 0:e.xmpCameraRaw;return t?t.sha256?null!=this.externalEditSettings&&null!=this.externalEditSettingsDigest&&this.externalEditSettingsDigest===t.sha256?this.externalEditSettings:void 0:t:""}},{key:"getDevelopSettingsJP",value:(n=(0,u.Z)((0,c.Z)().mark((function e(){var t,r,n,i,a,o,s,l,u,d;return(0,c.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.isVideo()){e.next=3;break}return n=this.payload().develop,e.abrupt("return",null!=n?n:"");case 3:if(!(i=this.getDevelopSettingsSync())){e.next=6;break}return e.abrupt("return",i);case 6:if(x.Z.is_enabled("debug")&&console.log("Edit settings external. Downloading now..."),a="",!(o=null===(t=this.payload().develop)||void 0===t||null===(r=t.xmpCameraRaw)||void 0===r?void 0:r.sha256)){e.next=28;break}if(null==(l=null===(s=this.attributes.links)||void 0===s?void 0:s["/rels/xmp/develop"])||!l.href){e.next=28;break}return e.prev=12,e.next=15,this.requestJP("GET",this.getDevelopSettingsHref(),null,{contentType:""});case 15:u=e.sent,d=(0,p.Z)(u,1),a=d[0],e.next=24;break;case 20:throw e.prev=20,e.t0=e.catch(12),S.Z.reportFailure("editSettingsDownloadFailure"),new Error;case 24:if(l.sha256!==o){e.next=28;break}return this.externalEditSettingsDigest=o,this.externalEditSettings=a,e.abrupt("return",a);case 28:return e.abrupt("return",a);case 29:case"end":return e.stop()}}),e,this,[[12,20]])}))),function(){return n.apply(this,arguments)})},{key:"uploadExternalizedSettingsJP",value:(r=(0,u.Z)((0,c.Z)().mark((function e(t,r){var n;return(0,c.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.getLatestRevisionHref()+"/xmp/develop",e.next=3,this.requestJP("PUT",n,t,{contentType:"application/rdf+xml",headers:{"X-Generate-Renditions":"all"}});case 3:this.externalEditSettings=t,this.externalEditSettingsDigest=r;case 5:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)})},{key:"getOrientation",value:function(){var e;return null===(e=this.payload().develop)||void 0===e?void 0:e.userOrientation}},{key:"hasVideoDuration",value:function(){var e,t;return(null===(e=this.payload().video)||void 0===e?void 0:e.duration)&&(null===(t=this.payload().video)||void 0===t?void 0:t.frameRate)}},{key:"getVideoFrameRate",value:function(){var e,t=null===(e=this.payload().video)||void 0===e?void 0:e.frameRate;if(null!=t&&t instanceof Array&&2===t.length)try{return 1*t[0]/t[1]}catch(e){}return null}},{key:"getVideoPlaybackRate",value:function(){var e=this.getVideoFrameRate();return e>60?Math.min(30/e,1):1}},{key:"getVideoDuration",value:function(){var e,t,r,n=this.payload(),i=null===(e=n.video)||void 0===e?void 0:e.duration;if(null!=i&&i instanceof Array&&2===i.length)try{r=i[0]/i[1]}catch(e){}if(1===(null===(t=n.develop)||void 0===t?void 0:t.version)){var a=n.develop.temporal;if(null!=a){var o=a.temporalFraction,s=void 0===o?C.Z.TEMPORAL_FRACTION_DEFAULT:o;if(null!=a.duration){if(0===r)return null;r=a.duration/s}else null!=a.inPoint&&(r-=a.inPoint/s)}}if(null!=(r=Math.max(Math.round(r),1))){var l=r%60,c=Math.floor(r/60);return l<10?"".concat(c,":0").concat(l):"".concat(c,":").concat(l)}return null}},{key:"getVideoAspectRatio",value:function(){var e,t=null===(e=this.payload().video)||void 0===e?void 0:e.displayAspectRatio;return 2!==(null==t?void 0:t.length)?null:t}},{key:"getVideoTimes",value:function(){var e=this.payload().develop;return 1===(null==e?void 0:e.version)?C.Z.calculateFriendlyTemporalValues(e.temporal):{}}},{key:"getCroppedDimensions",value:function(){var e,t,r=this.payload().develop;if(null!=r&&(t=r.croppedWidth,e=r.croppedHeight),!(t>0&&e>0)){var n=this.getOriginalDimensions(),i=(0,p.Z)(n,2);t=i[0],e=i[1]}return t>0&&e>0||(t=480,e=320),[t,e]}},{key:"getOriginalDimensions",value:function(){var e,t,r=this.importSource();if(null!=r&&(t=r.originalWidth,e=r.originalHeight),this.isVideo()&&!this.hasProxy("1080p")&&!this.hasRendition("1080p")){var n=this.getVideoAspectRatio();null!=n&&(e>t?n.sort((function(e,t){return e-t})):n.sort((function(e,t){return t-e})),t*=n[0]*e/(n[1]*t))}return[t,e]}},{key:"hasOriginalDimensions",value:function(){var e=this.importSource();return null!=e.originalWidth&&null!=e.originalHeight}},{key:"getOriginalDimensionsString",value:function(){var e=this.getOriginalDimensions(),t="".concat(Math.round(e[0])," x ").concat(Math.round(e[1]));if(this.isVideo()){var r=this.getVideoAspectRatio();null!=r&&(t+=" (".concat(r.join(":"),")"))}else t+=" (".concat(this.getOriginalDimensionsInMP(),"MP)");return t}},{key:"getOriginalDimensionsInMP",value:function(){var e=this.getOriginalDimensions(),t=(0,p.Z)(e,2),r=t[0],n=t[1];if(null!=r&&null!=n)return Math.round(r*n/1e6)}},{key:"getRenditionDimensions",value:function(e){var t,r,n=this.getCroppedDimensions();return["thumbnail2x","640","1280","2048","panorama","360p","720p","1080p"].includes(e)?("thumbnail2x"===e?r=t=320:"640"===e?r=t=640:"1280"===e?r=t=1280:"2048"===e?r=t=2048:"panorama"===e?r=t=8192:"360p"===e?t=360:"720p"===e?t=720:"1080p"===e&&(t=1080),this._getScaledDimensions(n,r,t)):n}},{key:"getProxyDimensions",value:function(){return this._getScaledDimensions(this.getCroppedDimensions(),2560,2560)}},{key:"_getScaledDimensions",value:function(e,t,r){var n=(0,p.Z)(e,2),i=n[0],a=n[1];return a>r&&(a=r,i=e[0]*r/e[1]|0),i>t&&(i=t,a=e[1]*t/e[0]|0),[i,a]}},{key:"getCaption",value:function(){var e,t;return(null===(e=this.xmp())||void 0===e||null===(t=e.dc)||void 0===t?void 0:t.description)||""}},{key:"getFlag",value:function(e){var t,r,n=null!=e?e:null===(t=O.Z.account)||void 0===t?void 0:t.id;return null==n?"unflagged":(null===(r=this._getFlag(n))||void 0===r?void 0:r.flag)||"unflagged"}},{key:"_getFlag",value:function(e){var t;return null===(t=this.attributes.payload.reviews)||void 0===t?void 0:t[e]}},{key:"hasFlag",value:function(e){return this.getFlag()===e}},{key:"getRating",value:function(e){var t,r,n=null!=e?e:null===(t=O.Z.account)||void 0===t?void 0:t.id;return null==n?0:(null===(r=this._getRating(n))||void 0===r?void 0:r.rating)||0}},{key:"_getRating",value:function(e){var t;return null===(t=this.attributes.payload.ratings)||void 0===t?void 0:t[e]}},{key:"location",value:function(){var e;return null===(e=this.attributes.payload)||void 0===e?void 0:e.location}},{key:"hasAnyLocationInfo",value:function(){return this.hasGPSLocation()||this.getLocationText().length>0||this.getCity().length>0||this.getState().length>0||this.getCountry().length>0}},{key:"hasGPSLocation",value:function(){var e,t=null===(e=this.attributes.payload)||void 0===e?void 0:e.location;return null!=(null==t?void 0:t.latitude)&&null!=t.longitude&&0!==(null==t?void 0:t.latitude)&&0!==t.longitude}},{key:"getGPSLocation",value:function(){if(!this.hasGPSLocation())return null;var e=this.attributes.payload.location;return{lat:e.latitude,long:e.longitude}}},{key:"getLocationText",value:function(){var e,t,r;return null!==(e=null===(t=this.xmp())||void 0===t||null===(r=t.iptcCore)||void 0===r?void 0:r.Location)&&void 0!==e?e:""}},{key:"getCity",value:function(){var e,t,r,n,i;return null!==(e=null!==(t=null===(r=this.xmp())||void 0===r||null===(n=r.photoshop)||void 0===n?void 0:n.City)&&void 0!==t?t:null===(i=this.location())||void 0===i?void 0:i.city)&&void 0!==e?e:""}},{key:"getState",value:function(){var e,t,r,n,i;return null!==(e=null!==(t=null===(r=this.xmp())||void 0===r||null===(n=r.photoshop)||void 0===n?void 0:n.State)&&void 0!==t?t:null===(i=this.location())||void 0===i?void 0:i.state)&&void 0!==e?e:""}},{key:"getCountry",value:function(){var e,t,r,n,i;return null!==(e=null!==(t=null===(r=this.xmp())||void 0===r||null===(n=r.photoshop)||void 0===n?void 0:n.Country)&&void 0!==t?t:null===(i=this.location())||void 0===i?void 0:i.country)&&void 0!==e?e:""}},{key:"_getRenditionLink",value:function(e){var t;return null===(t=this.attributes.links)||void 0===t?void 0:t["/rels/rendition_type/".concat(e)]}},{key:"_getRenditionLinks",value:function(){var e={};for(var t in this.attributes.links){var r=this.attributes.links[t];"/rels/rendition_type/"===t.substr(0,21)&&(e[t]=r)}return e}},{key:"hasRendition",value:function(e){var t;return null!=(null===(t=this._getRenditionLink(e))||void 0===t?void 0:t.href)}},{key:"hasValidRendition",value:function(e){var t=this._getRenditionLink(e);return null!=t&&null!=t.href&&!t.invalid}},{key:"hasValidVideoRendition",value:function(){return this.hasValidRendition("720p")||this.hasValidRendition("1080p")}},{key:"hasAnyRendition",value:function(){var e=this._getRenditionLinks();for(var t in e)if(null!=e[t].href)return!0;return!1}},{key:"hasAnyValidRendition",value:function(){var e=this._getRenditionLinks();for(var t in e){var r=e[t];if(null!=r.href&&!r.invalid)return!0}return!1}},{key:"hasRenditions",value:function(e){var t,r=(0,d.Z)(e);try{for(r.s();!(t=r.n()).done;){var n=t.value;if(!this.hasRendition(n))return!1}}catch(e){r.e(e)}finally{r.f()}return!0}},{key:"hasValidRenditions",value:function(e){var t,r=(0,d.Z)(e);try{for(r.s();!(t=r.n()).done;){var n=t.value;if(!this.hasValidRendition(n))return!1}}catch(e){r.e(e)}finally{r.f()}return!0}},{key:"shouldPollForDefaultRenditions",value:function(){var e=H.defaultRenditionsForAsset(this);return!this.hasValidRenditions(e)&&["rendering","rendering-edits"].includes(this.getMissingStatus())}},{key:"pollForDefaultRenditions",value:(t=(0,u.Z)((0,c.Z)().mark((function e(t){return(0,c.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.shouldPollForDefaultRenditions()){e.next=2;break}return e.abrupt("return",F.Deferred().reject().promise());case 2:return this.pollingRenditionsCount++,e.prev=3,e.next=6,H.pollForValidRenditions(this,t);case 6:e.next=10;break;case 8:e.prev=8,e.t0=e.catch(3);case 10:this.pollingRenditionsCount--;case 11:case"end":return e.stop()}}),e,this,[[3,8]])}))),function(e){return t.apply(this,arguments)})},{key:"getTitle",value:function(){var e,t;return(null===(e=this.xmp())||void 0===e||null===(t=e.dc)||void 0===t?void 0:t.title)||""}},{key:"getCopyright",value:function(){var e,t;return(null===(e=this.xmp())||void 0===e||null===(t=e.dc)||void 0===t?void 0:t.rights)||""}},{key:"getCameraMake",value:function(){var e,t;return(null===(e=this.xmp())||void 0===e||null===(t=e.tiff)||void 0===t?void 0:t.Make)||""}},{key:"getCameraModel",value:function(){var e,t;return(null===(e=this.xmp())||void 0===e||null===(t=e.tiff)||void 0===t?void 0:t.Model)||""}},{key:"getCameraLens",value:function(){var e,t;return(null===(e=this.xmp())||void 0===e||null===(t=e.aux)||void 0===t?void 0:t.Lens)||""}},{key:"getExposureTime",value:function(){var e,t,r=null===(e=this.xmp())||void 0===e||null===(t=e.exif)||void 0===t?void 0:t.ExposureTime;if(null!=r)return 1===r[1]?r[0]+" "+(0,$.zt)("$$$/js/oz_resource/time_in_seconds=sec"):r[0]+"/"+r[1]+" "+(0,$.zt)("$$$/js/oz_resource/time_in_seconds=sec")}},{key:"getFocalRatio",value:function(){var e,t,r=null===(e=this.xmp())||void 0===e||null===(t=e.exif)||void 0===t?void 0:t.FNumber;if(null!=r)return"f / "+1*r[0]/r[1]}},{key:"getIsoSpeedRating",value:function(){var e,t,r=null===(e=this.xmp())||void 0===e||null===(t=e.exif)||void 0===t?void 0:t.ISOSpeedRatings;if(null!=r)return"ISO ".concat(r)}},{key:"getFocalLength",value:function(){var e,t,r=null===(e=this.xmp())||void 0===e||null===(t=e.exif)||void 0===t?void 0:t.FocalLength;if((null==r?void 0:r.length)>0)return 1*r[0]/r[1]+" mm"}},{key:"hasAutoTag",value:function(e){var t;return null!=(null===(t=this.getAutoTags())||void 0===t?void 0:t[e])}},{key:"getAutoTags",value:function(){var e,t;return null===(e=this.attributes.payload)||void 0===e||null===(t=e.autoTags)||void 0===t?void 0:t.tags}},{key:"debugGetExperimentalAutoTags",value:function(){var e,t;return null===(e=this.attributes.payload)||void 0===e||null===(t=e["X-autoTags-hashtag2"])||void 0===t?void 0:t.tags}},{key:"debugGetAutoTagClassifiers",value:function(){var e,t;return null===(e=this.attributes.payload)||void 0===e||null===(t=e["X-autoTags-classifiers"])||void 0===t?void 0:t.tags}},{key:"isValid",value:function(){if(this.hasMaster()||this.hasProxy())return!0}},{key:"wasImportedByWeb",value:function(){return this.hasImportDevice()?null!=this.getImportDevice().match(/Lightroom Web/)||null!=this.getImportDevice().match(/Revel Web/):null!=this.importedByUser&&this.importedByUser.id===(null===(e=O.Z.account)||void 0===e?void 0:e.id);var e}},{key:"getMissingThumbStatus",value:function(){return this.getRenditionHref("thumbnail2x")?"":this.getMissingStatus()}},{key:"getMissingLoupeStatus",value:function(){return!this.getRenditionHref("2048")||this.isVideo()&&!this.hasValidVideoRendition()?this.getMissingStatus():""}},{key:"getMissingStatus",value:function(){var e=null!=this.getMasterHref()||null!=this.getProxyHref(),t=this.wasImportedByWeb(),r=this.wasCreatedInLastHour();return this.wasDevelopUpdatedInLastThirtyMins()?"rendering-edits":t&&this.wasCreatedJustNow()?"rendering":e?r?"rendering":"rendering-error":t?"web-upload-failed":r?"syncing":"stuck-syncing"}},{key:"wasCreatedJustNow",value:function(){var e=this.getImportDate();return null!=e&&new Date-e<6e5}},{key:"newestDevelopUserUpdated",get:function(){var e;if(this.isVideo()){var t,r,n,i,a=null===(t=this.develop)||void 0===t||null===(r=t.adjustments)||void 0===r?void 0:r.userUpdated,o=null===(n=this.develop)||void 0===n||null===(i=n.temporal)||void 0===i?void 0:i.userUpdated;return null==a?o:null==o||a>o?a:o}return null===(e=this.develop)||void 0===e?void 0:e.userUpdated}},{key:"wasCreatedInLastHour",value:function(){var e=this.getImportDate();return null!=e&&new Date-e<36e5}},{key:"wasDevelopUpdatedInLastThirtyMins",value:function(){var e=this.newestDevelopUserUpdated;return null!=e&&new Date-new Date(e)<18e5}},{key:"isVideo",value:function(){return"video"===this.attributes.subtype}},{key:"isPhoto",value:function(){return"image"===this.attributes.subtype}},{key:"isLayoutSegment",value:function(){return"layout_segment"===this.attributes.subtype}},{key:"isDeleted",value:function(){return"deleted_image"===this.attributes.subtype||"deleted_video"===this.attributes.subtype}},{key:"isPerson",value:function(){return"person"===this.attributes.subtype}},{key:"isPlayable",value:function(){return this.getRenditionHref("360p")||this.getRenditionHref("720p")}},{key:"hasEdits",value:function(){var e;return null!=(null===(e=this.payload().develop)||void 0===e?void 0:e.xmpCameraRaw)}},{key:"hasAesthetics",value:function(){return null!=this.getAesthetics()}},{key:"getAesthetics",value:function(){var e;return null===(e=this.attributes.payload)||void 0===e?void 0:e.aesthetics}},{key:"getBlurScores",value:function(){var e,t;return(null===(e=this.attributes.payload)||void 0===e?void 0:e.blur)||(null===(t=this.attributes.payload)||void 0===t?void 0:t["X-Blur"])}},{key:"getQuality",value:function(){var e;return null===(e=this.attributes.payload)||void 0===e?void 0:e.quality}},{key:"hasBestFrameScore",value:function(){return null!=this.attributes.bestFrame&&null!=this.attributes.bestFrame.frame&&null!=this.attributes.bestFrame.face}},{key:"getBestFrameScore",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(e&&["frame","face"].includes(e))return this.getBestFrameScores()[e]||0;var t=this.getBestFrameScores();return t.frame+t.face}},{key:"getBestFrameScores",value:function(){var e;return null!==(e=this.attributes.bestFrame)&&void 0!==e?e:{}}},{key:"getAestheticScore",value:function(){var e,t;return null==(null===(e=this.attributes.payload)||void 0===e?void 0:e.aesthetics)?0:null===(t=this.attributes.payload)||void 0===t?void 0:t.aesthetics.score}},{key:"_getGPanoData",value:function(){var e,t;return null===(e=this.attributes.payload)||void 0===e||null===(t=e.xmp)||void 0===t?void 0:t.GPano}},{key:"hasGPanoInfo",value:function(){var e,t;return null!=(null===(e=this.attributes.payload)||void 0===e||null===(t=e.xmp)||void 0===t?void 0:t.GPano)}},{key:"canViewAsPanorama",value:function(){var e=!1;if(this.hasGPanoInfo()){var t=this._getGPanoData(),r=1*t.CroppedAreaImageWidthPixels/t.CroppedAreaImageHeightPixels<2;e=!T.Z.mobile&&(t.UsePanoramaViewer||"equirectangular"===this.getProjectionType())&&!r}return e}},{key:"getProjectionType",value:function(){var e="";return this.hasGPanoInfo()&&(e=this._getGPanoData().ProjectionType),e}},{key:"getHAOV",value:function(){var e=0;if(this.hasGPanoInfo()){var t=this._getGPanoData();e=t.CroppedAreaImageWidthPixels/t.FullPanoWidthPixels*360}return e}},{key:"getVAOV",value:function(){var e=0;if(this.hasGPanoInfo()){var t=this._getGPanoData();e=t.CroppedAreaImageHeightPixels/t.FullPanoHeightPixels*180}return e}},{key:"isPartialPanorama",value:function(){var e=!1;if(this.hasGPanoInfo()){var t=this._getGPanoData();e=t.CroppedAreaImageWidthPixels/t.CroppedAreaImageHeightPixels!=2}return e}},{key:"getFullPanoDimensions",value:function(){var e=[];if(this.hasGPanoInfo()){var t,r,n=this._getGPanoData(),i=this.getOriginalDimensions();e[0]=null!==(t=n.FullPanoWidthPixels)&&void 0!==t?t:i[0],e[1]=null!==(r=n.FullPanoHeightPixels)&&void 0!==r?r:i[1]}return e}},{key:"selectedVersion",get:function(){var e;return null!=this._selectedVersion&&(null===(e=this.payload().develop)||void 0===e?void 0:e.userUpdated)===this._selectedVersionUserUpdated?this._selectedVersion:null},set:function(e){var t;return this._selectedVersion=e,this._selectedVersionUserUpdated=null===(t=this.payload().develop)||void 0===t?void 0:t.userUpdated}},{key:"selectedVersionUserUpdated",get:function(){return this._selectedVersionUserUpdated},set:function(e){this._selectedVersionUserUpdated=e}},{key:"getRenditionPublicHrefP",value:function(e){var t={rendition_path:this.linkFullPath("/rels/rendition_type/".concat(e))};return this.requestP("POST","/api/public_rendition_url",JSON.stringify(t)).then((function(e){return e.href}))}},{key:"importedByOwner",value:function(){return null==this.importedByUser}},{key:"haveImporterDisplayInfo",value:function(){var e,t;return(null===(e=this.importedByUser)||void 0===e||null===(t=e.getFullName())||void 0===t?void 0:t.length)>0}},{key:"getFirstRevisionHref",value:function(){return this._getRevisionHref(0)}},{key:"getLatestRevisionHref",value:function(){return this._getRevisionHref(this.attributes.revision_ids.length-1)}},{key:"_getRevisionHref",value:function(e){var t=this.attributes.links.self.href,r=this.attributes.revision_ids[e],n="".concat(t,"/revisions/").concat(r);return this._linkBase.fullHref(n)}},{key:"setDevelopJP",value:function(e,t,r,n){return new D.Z(this,e,t,n).saveJP(r)}},{key:"debugToggleHDREditModeJP",value:function(){var e=!this.hdrEnabled;return this.safeToJSPromise(this._createChildRevisionP("debugToggleHDRMode",{payload:{develop:{crsHDREditMode:e}}},!0))}},{key:"hdrEnabled",get:function(){var e;return!0===(null===(e=this.develop)||void 0===e?void 0:e.crsHDREditMode)}},{key:"_doRevisionChangeP",value:function(e,t,r,n,i){var a,o=this,s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;return x.Z.is_enabled("debug")&&z.Z._forceFailNextRequest&&(s=2),a=i?{"X-Generate-Renditions":"all"}:{},this.requestP("PUT",this._getChildRevisionHref(t),JSON.stringify("function"==typeof r?r():r),{headers:a}).then((function(){return o.revisingApplyList.shift(),o.refreshP().then((function(){return o.revisingApplyList.map((function(e){return e()}))}))}),(function(a,l,c){var u,p=s<2&&(0===l||l>=500||400===l&&null!=(null==a||null===(u=a.errors)||void 0===u?void 0:u.parent_revision_id));return p?S.Z.report("".concat(e,"Retry")):(o.reportOzFailure("".concat(e,"Failure"),a,l,c),o.revisingApplyList.shift()),o.refreshP().then((function(){return p?o._doRevisionChangeP(e,t,r,n,i,s+1):F.Deferred().reject(!0)}),(function(){o.attributes=n}))}))}},{key:"createChildRevisionJP",value:function(e,t,r,n){var i=this,a=F.extend(!0,{},this.attributes.toJSON()),o=function(){var e=t(!0);e&&(i.attributes=F.extend(!0,i.attributes.toJSON(),e))};o();var s,l=this.revising=(s=function(){return i.safeToJSPromise(i._doRevisionChangeP(e,i.createUuid(),t,a,r))},null!=i.revising?(i.revisingApplyList.push(o),i.revising.then(s)):(i.revisingApplyList=[o],s()));return null==n||n.then((function(){return i.refreshJP()})),(null!=n?n:l).finally((function(){l===i.revising&&(i.revising=null)})),this.revising}},{key:"_createChildRevisionP",value:function(e,t){var r,n,i,a=this,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=arguments.length>3?arguments[3]:void 0;null!==(n=(r=t.payload).userUpdated)&&void 0!==n||(r.userUpdated=(new Date).toISOString());var l=F.extend(!0,{},this.attributes.toJSON()),c=function(){a.attributes=F.extend(!0,a.attributes.toJSON(),t)};c();var u=this.createUuid();return null!=this.revising?(this.revisingApplyList.push(c),i=this.revising.then((function(){return a._doRevisionChangeP(e,u,t,l,o)}))):(this.revisingApplyList=[c],i=this._doRevisionChangeP(e,u,t,l,o)),this.revising=i,null!=s&&(this.revising=i=i.then((function(){return s().then((function(){return a.refreshP()}))}))),this.revising.always((function(){i===a.revising&&(a.revising=null)}))}},{key:"_getChildRevisionHref",value:function(e){return"".concat(this.getLatestRevisionHref(),"/children/").concat(e)}},{key:"latestRevision",value:function(){return this.attributes.revision_ids[this.attributes.revision_ids.length-1]}},{key:"isGeneratingRenditions",value:function(){return this.generatingRenditionsCount>0}},{key:"isPollingForRenditions",value:function(){return this.pollingRenditionsCount>0}},{key:"isUpdating",get:function(){return this.revising||this.isGeneratingRenditions()||this.isPollingForRenditions()}},{key:"generateRenditionsP",value:function(e){var t=this,r=this.getLatestRevisionHref();if(null!=r){this.generatingRenditionsCount++,r+="/renditions";var n={"X-Generate-Renditions":e};return this.requestP("POST",r,"",{headers:n}).then((function(r){return H.pollForValidRenditionsP(t,(function(){return!0}),e.split(","))})).always((function(){return t.generatingRenditionsCount--})).fail((function(e,r,n){t.reportOzFailure("generateRenditionsFailure",e,r,n)}))}return F.Deferred().reject()}}]),B}(I.Z),i=(0,w.Z)(n.prototype,"importedByUser",[k.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,w.Z)(n.prototype,"_selectedVersion",[k.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,w.Z)(n.prototype,"generatingRenditionsCount",[k.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),s=(0,w.Z)(n.prototype,"pollingRenditionsCount",[k.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),l=(0,w.Z)(n.prototype,"revising",[k.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n);q.pollAssetUntilCheckJP=function(e,t,r){return new Promise((function(n,i){var a=function(){var r=(0,u.Z)((0,c.Z)().mark((function r(){var n;return(0,c.Z)().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=new e(t),r.next=3,n.initializedP();case 3:return r.abrupt("return",r.sent);case 4:case"end":return r.stop()}}),r)})));return function(){return r.apply(this,arguments)}}(),o=500,s=new Date;!function e(){return setTimeout((0,u.Z)((0,c.Z)().mark((function t(){var l;return(0,c.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o+=500,t.prev=1,t.next=4,a();case 4:l=t.sent,r(l)?n(l):e(),t.next=12;break;case 8:t.prev=8,t.t0=t.catch(1),new Date-s>3e5?i("timeout"):e();case 12:case"end":return t.stop()}}),t,null,[[1,8]])}))),o)}()}))},q.prototype.attributeClass=B.Z;const V=q},505341:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var n=r(85663),i=r(934331),a=r(89211),o=r(143681),s=r(668962),l=r(749886),c=(r(573467),r(693508),r(816221),r(290671),r(17938),r(819785),r(261148),r(784425),r(595249),r(185466),r(370843),r(961626),r(897995),r(518926),r(725676),r(81738),r(479959),r(879587),r(353478),r(643300),r(363242),r(911895),r(301207),r(792647),r(879104),r(497814),r(78019),r(474646),r(28227),r(420879),r(680851),r(725637),r(686862),r(169513),r(993224),r(604542),r(292381),r(936963),r(923304),r(41332)),u=r(253544),p=function(e){(0,s.Z)(p,e);var t,r=(0,l.Z)(p);function p(){return(0,a.Z)(this,p),r.apply(this,arguments)}return(0,o.Z)(p,[{key:"uploadedJP",value:function(){return this._uploadPromise}},{key:"uploadJP",value:function(e){var t;return null!==(t=this._uploadPromise)&&void 0!==t||(this._uploadPromise=this._uploadJP(e)),this._uploadPromise}},{key:"_uploadJP",value:(t=(0,i.Z)((0,n.Z)().mark((function e(t){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.initializedJP();case 2:return e.next=4,Promise.all(this.attributes.parts.map((function(e){var r=e.href,a=e.byte_start,o=e.byte_end;return c.Z.is_enabled("force_develop_aux_upload_failure")&&(r+="error"),fetch(r,{method:"PUT",headers:{"Content-Type":"application/octet-stream"},body:new Uint8Array(t,a,o-a+1)}).then(function(){var e=(0,i.Z)((0,n.Z)().mark((function e(t){var i;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.ok){e.next=6;break}return e.next=3,t.text();case 3:throw i=e.sent,u.Z.track("Error","binary_upload_data","API",{"event.errorType":"auxUpload.Error","event.uploadMethod":"direct_upload","event.url":r,"event.error_desc":i}),new Error("Error uploading aux");case 6:return e.abrupt("return",t);case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())})));case 4:return e.abrupt("return",this.requestJP("POST",this.linkFullPath("rels/complete_upload")));case 5:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),p}(r(167822).Z)},113909:(e,t,r)=>{"use strict";r.d(t,{Z:()=>b});var n,i,a=r(846031),o=r(85663),s=r(934331),l=r(282466),c=r(89211),u=r(143681),p=r(236229),d=r(668962),m=r(749886),h=r(673136),v=r(548967),g=(r(573467),r(693508),r(367469),r(127387),r(35812),r(290671),r(816221),r(17938),r(697458)),f=r(784090),b=(n=function(e){(0,d.Z)(n,e);var t,r=(0,m.Z)(n);function n(e,t){var a,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,c.Z)(this,n),a=r.call(this,e),(0,l.Z)(a,"loaded",i,(0,p.Z)(a)),a.asset_ids=t,a.options=o,a}return(0,u.Z)(n,[{key:"loadJP",value:(t=(0,s.Z)((0,o.Z)().mark((function e(){return(0,o.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.safeToJSPromise(this.loadP());case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"loadP",value:function(){var e=this,t=f.param(Object.assign({},this.options,{asset_ids:this.asset_ids.join(",")}));return this.requestP("GET","".concat(this.href,"?").concat(t)).then((function(t,r,n){var i={},o={},s=0,l=0,c=n.getResponseHeader("x-request-id");if(null!=t.resources){s=t.resources.length;var u,p=(0,a.Z)(t.resources);try{for(p.s();!(u=p.n()).done;){var d=u.value;d.base=t.base,i[d.id]=new e.model(d)}}catch(e){p.e(e)}finally{p.f()}}if(null!=t.errors){l=t.errors.length;var m,h=(0,a.Z)(t.errors);try{for(h.s();!(m=h.n()).done;){var v=m.value;v.base=t.base,o[v.id]=v}}catch(e){h.e(e)}finally{h.f()}}return{assets:i,asset_count:s,errors:o,error_count:l,request_id:c}}))}}]),n}(g.Z),i=(0,h.Z)(n.prototype,"loaded",[v.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n);b.prototype.model=null},40445:(e,t,r)=>{"use strict";r.d(t,{Z:()=>H});var n,i,a,o,s,l,c,u,p,d,m,h,v,g,f,b,y,_,w,k,Z,x,S,$,A,C,T=r(282466),P=r(143681),z=r(89211),E=r(236229),O=r(668962),I=r(749886),R=r(673136),j=r(565803),N=(r(35812),r(986540)),D=r(919894),L=(n=j.Z.byVal,i=j.Z.byVal,a=function(e){(0,O.Z)(r,e);var t=(0,I.Z)(r);function r(){var e;(0,z.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,T.Z)(e,"croppedWidth",o,(0,E.Z)(e)),(0,T.Z)(e,"croppedHeight",s,(0,E.Z)(e)),e}return(0,P.Z)(r)}(D.Z),o=(0,R.Z)(a.prototype,"croppedWidth",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,R.Z)(a.prototype,"croppedHeight",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a),M=(l=j.Z.byVal,c=j.Z.byVal,u=function(e){(0,O.Z)(r,e);var t=(0,I.Z)(r);function r(){var e;(0,z.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,T.Z)(e,"originalWidth",p,(0,E.Z)(e)),(0,T.Z)(e,"originalHeight",d,(0,E.Z)(e)),e}return(0,P.Z)(r)}(D.Z),p=(0,R.Z)(u.prototype,"originalWidth",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,R.Z)(u.prototype,"originalHeight",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u),B=(m=j.Z.byVal,h=j.Z.byOptionalRef(L),v=j.Z.byOptionalRef(M),g=function(e){(0,O.Z)(r,e);var t=(0,I.Z)(r);function r(){var e;(0,z.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,T.Z)(e,"captureDate",f,(0,E.Z)(e)),(0,T.Z)(e,"develop",b,(0,E.Z)(e)),(0,T.Z)(e,"importSource",y,(0,E.Z)(e)),e}return(0,P.Z)(r)}(D.Z),f=(0,R.Z)(g.prototype,"captureDate",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,R.Z)(g.prototype,"develop",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,R.Z)(g.prototype,"importSource",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g),F=(_=j.Z.alias("/rels/rendition_type/2048"),w=j.Z.byVal,k=function(e){(0,O.Z)(r,e);var t=(0,I.Z)(r);function r(){var e;(0,z.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,T.Z)(e,"rendition2048",Z,(0,E.Z)(e)),e}return(0,P.Z)(r)}(D.Z),Z=(0,R.Z)(k.prototype,"rendition2048",[_,w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k),H=(x=j.Z.byRef(B),S=j.Z.byRef(F),$=function(e){(0,O.Z)(r,e);var t=(0,I.Z)(r);function r(){var e;(0,z.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,T.Z)(e,"payload",A,(0,E.Z)(e)),(0,T.Z)(e,"links",C,(0,E.Z)(e)),e}return(0,P.Z)(r)}(N.Z),A=(0,R.Z)($.prototype,"payload",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,R.Z)($.prototype,"links",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$)},986540:(e,t,r)=>{"use strict";r.d(t,{Z:()=>G});var n,i,a,o,s,l,c,u,p,d,m,h,v,g,f,b,y,_,w,k,Z,x,S,$,A,C,T,P,z,E,O,I,R,j,N=r(282466),D=r(143681),L=r(89211),M=r(236229),B=r(668962),F=r(749886),H=r(673136),U=r(565803),q=(r(35812),r(919894)),V=(n=U.Z.byVal,i=U.Z.byVal,a=function(e){(0,B.Z)(r,e);var t=(0,F.Z)(r);function r(){var e;(0,L.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,N.Z)(e,"author",o,(0,M.Z)(e)),(0,N.Z)(e,"description",s,(0,M.Z)(e)),e}return(0,D.Z)(r)}(q.Z),o=(0,H.Z)(a.prototype,"author",[n],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,H.Z)(a.prototype,"description",[i],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a),W=(l=U.Z.byVal,c=function(e){(0,B.Z)(r,e);var t=(0,F.Z)(r);function r(){var e;(0,L.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,N.Z)(e,"flags",u,(0,M.Z)(e)),e}return(0,D.Z)(r)}(q.Z),u=(0,H.Z)(c.prototype,"flags",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c),J=(p=U.Z.byVal,d=U.Z.byVal,m=U.Z.byVal,h=U.Z.byVal,v=U.Z.byVal,g=U.Z.byVal,f=U.Z.byRef(V),b=U.Z.byRef(W),y=function(e){(0,B.Z)(r,e);var t=(0,F.Z)(r);function r(){var e;(0,L.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,N.Z)(e,"private",_,(0,M.Z)(e)),(0,N.Z)(e,"download",w,(0,M.Z)(e)),(0,N.Z)(e,"metadata",k,(0,M.Z)(e)),(0,N.Z)(e,"location",Z,(0,M.Z)(e)),(0,N.Z)(e,"favorites_disabled",x,(0,M.Z)(e)),(0,N.Z)(e,"comments_disabled",S,(0,M.Z)(e)),(0,N.Z)(e,"profile_info",$,(0,M.Z)(e)),(0,N.Z)(e,"filters",A,(0,M.Z)(e)),e}return(0,D.Z)(r)}(q.Z),_=(0,H.Z)(y.prototype,"private",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,H.Z)(y.prototype,"download",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,H.Z)(y.prototype,"metadata",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,H.Z)(y.prototype,"location",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,H.Z)(y.prototype,"favorites_disabled",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,H.Z)(y.prototype,"comments_disabled",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=(0,H.Z)(y.prototype,"profile_info",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,H.Z)(y.prototype,"filters",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y),G=(C=U.Z.byVal,T=U.Z.byVal,P=U.Z.byVal,z=U.Z.byRef(J),E=function(e){(0,B.Z)(r,e);var t=(0,F.Z)(r);function r(){var e;(0,L.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,N.Z)(e,"id",O,(0,M.Z)(e)),(0,N.Z)(e,"created",I,(0,M.Z)(e)),(0,N.Z)(e,"updated",R,(0,M.Z)(e)),(0,N.Z)(e,"payload",j,(0,M.Z)(e)),e}return(0,D.Z)(r)}(q.Z),O=(0,H.Z)(E.prototype,"id",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,H.Z)(E.prototype,"created",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,H.Z)(E.prototype,"updated",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=(0,H.Z)(E.prototype,"payload",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E)},919894:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n=r(89211),i=r(143681),a=r(736781),o=r(993184),s=r(668962),l=r(749886),c=(r(367469),r(776683)),u=r.n(c),p=r(957488),d=r.n(p),m=function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(){return(0,n.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r,[{key:"toJSON",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return d()(u()(this._originalSourceJson),(0,a.Z)((0,o.Z)(r.prototype),"toJSON",this).call(this,e))}},{key:"fromJSON",value:function(e){return this._originalSourceJson=e,Object.assign(this,e),this.exportables.fromJSON(this,e),this}}]),r}(r(235750).Z)},651580:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(89211),i=r(143681),a=r(668962),o=r(749886),s=(r(255187),r(203454),r(189256),r(167822)),l=(r(253544),function(e){(0,a.Z)(r,e);var t=(0,o.Z)(r);function r(){return(0,n.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r,[{key:"matchesSyncChange",value:function(e){if("error"===this.getType())return e.id===this.getSourceId();if(this.getType()!==e.type)return!1;if("asset"===e.type){if("delete"===e.action)return this.isDeleted()&&this.getChangedId()===e.id;if("create"===e.action)return this.isCreated()&&!this.isDeleted()&&this.getChangedId()===e.id;if("update"===e.action)return this.getChangedId()===e.id&&this.attributes.revision_ids.includes(e.revision_id)}return!1}},{key:"isCatalogUpdateError",value:function(){return"error"===this.getType()}},{key:"isStorageExceededError",value:function(){return"StorageExceededError"===this.getSubtype()}},{key:"getType",value:function(){return this.attributes.type}},{key:"getSubtype",value:function(){return this.attributes.subtype}},{key:"isCreated",value:function(){return null!=this.attributes.created}},{key:"isDeleted",value:function(){return!0===this.attributes.deleted}},{key:"getChangedId",value:function(){return this.attributes.id}},{key:"getSourceId",value:function(){var e,t;return null===(e=this.attributes)||void 0===e||null===(t=e.source)||void 0===t?void 0:t.id}}]),r}(s.Z))},325887:(e,t,r)=>{"use strict";var n,i,a,o=r(85663),s=r(760567),l=r(934331),c=r(846031),u=r(725115),p=r(282466),d=r(89211),m=r(143681),h=r(236229),v=r(668962),g=r(749886),f=r(673136),b=r(491464),y=r(548967),_=(r(824098),r(573467),r(290671),r(816221),r(17938),r(693508),r(721141),r(893248),r(111519),r(913688),r(41332)),w=(r(253544),r(772076)),k=r(697458),Z=r(189256),x=r(167822),S=r(651580);n=(0,b.Z)(500),i=function(e){(0,v.Z)(n,e);var t,r=(0,g.Z)(n);function n(e){var t;return(0,d.Z)(this,n),t=r.call(this,e),(0,p.Z)(t,"pendingRequestCount",a,(0,h.Z)(t)),w.Z.on("requests-idle",(function(){t.assetMap={}})),t.pendingRequestCount=0,t}return(0,m.Z)(n,[{key:"isSyncing",get:function(){return this.pendingRequestCount>0}},{key:"setAssetFlagJP",value:function(e,t){this._initSyncUpdate();var r=this._makeAssetPayloadUpdateData(e);return r.payload.reviews=(0,u.Z)({},Z.Z.account.id,{flag:t,date:r.updated}),this.assetUpdateQueue.push(r),e.optimisticUpdatePayload(r.payload,r.revision_id),this._doSyncUpdate(),this.syncPromise}},{key:"_removeExistingAssetUpdate",value:function(e,t){return this.assetUpdateQueue=this.assetUpdateQueue.filter((function(r){return!function(r){var n;return r.id===e.id&&(null===(n=r.payload)||void 0===n?void 0:n[t])}(r)}))}},{key:"setAssetRatingJP",value:function(e,t){this._initSyncUpdate();var r=this._makeAssetPayloadUpdateData(e);return r.payload.ratings=(0,u.Z)({},Z.Z.account.id,{rating:t,date:r.updated}),this.assetUpdateQueue.push(r),e.optimisticUpdatePayload(r.payload,r.revision_id),this._doSyncUpdate(),this.syncPromise}},{key:"flagManyAssetsJP",value:function(e,t){var r,n=(0,c.Z)(e);try{for(n.s();!(r=n.n()).done;){var i=r.value;this.setAssetFlagJP(i,t)}}catch(e){n.e(e)}finally{n.f()}return this.syncPromise}},{key:"deleteManyAssetIdsJP",value:function(e){var t,r=(0,c.Z)(e);try{for(r.s();!(t=r.n()).done;){var n=t.value;this.deleteAssetIdJP(n)}}catch(e){r.e(e)}finally{r.f()}return this.syncPromise}},{key:"restoreManyAssetIdsJP",value:function(e){var t,r=(0,c.Z)(e);try{for(r.s();!(t=r.n()).done;){var n=t.value;this.restoreAssetIdJP(n);var i={id:n,action:"delete",type:"asset"};this._addExpectedSyncUpdate(i)}}catch(e){r.e(e)}finally{r.f()}return this.syncPromise}},{key:"deleteAssetIdJP",value:function(e){var t={id:e,revision_id:"".concat(this.createUuid()),action:"delete",type:"asset"};return this._addAssetDeleteJP(t)}},{key:"restoreAssetIdJP",value:function(e){var t={id:"".concat(this.createUuid()),revision_id:"".concat(this.createUuid()),type:"asset",action:"create",restore_from:{id:e}};return this._addAssetRestoreJP(t)}},{key:"_makeAssetPayloadUpdateData",value:function(e,t,r){var n=(new Date).toISOString(),i={id:e.id,updated:n,revision_id:"".concat(this.createUuid()),action:"update",type:"asset",if_match:e.latestRevision(),payload:{userUpdated:n}};return this.assetMap[e.id]=e,i}},{key:"_initSyncUpdate",value:function(){var e=this;null==this.assetUpdateQueue&&(this.assetUpdateQueue=[],this.assetMap={},this.syncPromise=new Promise((function(t,r){e.syncResolve=t,e.syncReject=r})))}},{key:"_addAssetDeleteJP",value:function(e){return this._initSyncUpdate(),this.assetUpdateQueue.push(e),this._doSyncUpdate(),this.syncPromise}},{key:"_addAssetRestoreJP",value:function(e){return this._initSyncUpdate(),this.assetUpdateQueue.push(e),this._doSyncUpdate(),this.syncPromise}},{key:"_addExpectedSyncUpdate",value:function(e){return e._excludeFromRequest=!0,this.assetUpdateQueue.push(e),this.syncPromise}},{key:"_refreshFailedAssets",value:function(e){var t,r=(0,c.Z)(e);try{for(r.s();!(t=r.n()).done;){var n,i=t.value;"asset"===i.type&&"update"===i.action&&(null===(n=this.get(i.id))||void 0===n||n.refreshP())}}catch(e){r.e(e)}finally{r.f()}}},{key:"_readSyncForSuccessJP",value:function(e,t,r){var n=this;return new Promise((function(i,a){var o=t,s=!0;r.catch((function(){return s=!1})),function e(t){n.requestP("GET",t).then((function(t){if(!s)return a("sync requests failed while reading for success");var r,n=new x.Z(t),l=(0,c.Z)(n.attributes.updates);try{for(l.s();!(r=l.n()).done;){var u=r.value,p=new S.Z(u);o=o.filter((function(e){var t=p.matchesSyncChange(e);return t&&p.isStorageExceededError(),!t}))}}catch(e){l.e(e)}finally{l.f()}0===o.length?i():setTimeout((function(){return e(n.linkHref("next"))}),1e3)})).fail((function(e,t,r){a([e,t,r]),n._refreshFailedAssets(o),n.reportOzFailure("syncReadFailure",e,t,r)}))}(e)}))}},{key:"get",value:function(e){return this.assetMap[e]}},{key:"_batchRequested",value:function(){this.successCheckAssetId=this.successCheckP=this.assetUpdateQueue=this.syncResolve=this.syncReject=this.syncPromise=null}},{key:"_makeBatchSyncRequestJP",value:function(e){var t=this;return new Promise((function(r,n){return t.requestP("POST",t.href,JSON.stringify(e)).done((function(e){return r(e)})).fail((function(){return n()}))}))}},{key:"_doSyncUpdate",value:(t=(0,l.Z)((0,o.Z)().mark((function e(){var t,r,n,i,a,l,u,p,d,m,h,v,g,f,b,y=this;return(0,o.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(t=this.syncPromise,r=this.syncResolve,n=this.syncReject,i=this.assetUpdateQueue,a=i.filter((function(e){return!e._excludeFromRequest})),this.successCheckP,this._batchRequested(),++this.pendingRequestCount,l=[],u=0;u<a.length;)l.push(a.slice(u,u+100)),u+=100;return p=l.shift(),e.prev=13,e.next=16,this._makeBatchSyncRequestJP(p);case 16:d=e.sent,m=new x.Z(d),h=m.linkHref("/rels/future_updates"),this._readSyncForSuccessJP(h,i,t).then((function(){_.Z.is_enabled("debug")&&console.log("sync complete"),r()})).catch((function(e){var t=(0,s.Z)(e,1)[0];_.Z.is_enabled("debug")&&console.warn("sync failed"),n([t])})).finally((function(){--y.pendingRequestCount}));case 20:if(!(l.length>0)){e.next=26;break}return p=l.shift(),e.next=24,this._makeBatchSyncRequestJP(p);case 24:e.next=20;break;case 26:e.next=33;break;case 28:e.prev=28,e.t0=e.catch(13),v=(0,c.Z)(p);try{for(v.s();!(g=v.n()).done;)b=g.value,null===(f=this.get(b.id))||void 0===f||f.refreshP()}catch(e){v.e(e)}finally{v.f()}n();case 33:case"end":return e.stop()}}),e,this,[[13,28]])}))),function(){return t.apply(this,arguments)})}]),n}(k.Z),a=(0,f.Z)(i.prototype,"pendingRequestCount",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,f.Z)(i.prototype,"_doSyncUpdate",[n],Object.getOwnPropertyDescriptor(i.prototype,"_doSyncUpdate"),i.prototype)},820775:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var n=r(89211),i=r(143681),a=r(736781),o=r(993184),s=r(668962),l=r(749886),c=(r(189256),r(167822)),u=r(902310),p=function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(){return(0,n.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r,[{key:"setAttributes",value:function(e){return(0,a.Z)((0,o.Z)(r.prototype),"setAttributes",this).call(this,e),null!=e.author&&(e.author.base=e.base,this.author=new u.Z(e.author)),this}},{key:"isAuthoredBy",value:function(e){var t;return null!=e&&(null===(t=this.attributes.author)||void 0===t?void 0:t.id)===e.id}},{key:"getBody",value:function(){var e;return(null===(e=this.attributes.payload)||void 0===e?void 0:e.body)||""}},{key:"removeP",value:function(){return this.requestP("DELETE",this.href)}}]),r}(c.Z)},919369:(e,t,r)=>{"use strict";r.d(t,{Z:()=>k});var n=r(829293),i=r(760567),a=r(85663),o=r(846031),s=r(934331),l=r(387358),c=r(89211),u=r(143681),p=(r(573467),r(693508),r(111519),r(367469),r(290671),r(816221),r(17938),r(808410),r(304893),r(819785),r(824098),r(593798),r(499313),r(261148),r(485143),r(936963),r(923304),r(41332)),d=r(253544),m=r(630647),h=r(258579),v=r(536978),g=(r(351003),r(190960)),f=(r(505341),r(189256)),b=r(678147),y=(0,v.Z)("general:develop_save_sequence"),_=new b.Z(10),w=function(){function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;(0,c.Z)(this,e),this.asset=t,this.payload={develop:r,userUpdated:i},this.masks=n,this.externalEditSettings=null}return(0,u.Z)(e,[{key:"setExternalSettings",value:function(e){this.externalEditSettings=e}}]),e}(),k=function(){function e(){(0,c.Z)(this,e);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];this.saveDevelopInfo=(0,l.Z)(w,r)}var t,r,v;return(0,u.Z)(e,[{key:"saveJP",value:function(e){var t=this;return new Promise(function(){var r=(0,s.Z)((0,a.Z)().mark((function r(n,i){var s,l,c,u,h;return(0,a.Z)().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:s=new Promise((function(e){t.saveDevelopInfo.resolveRenditionsPromise=e})).finally((function(){return null==e?void 0:e()})),l=Object.assign(t.saveDevelopInfo,{startTime:new Date,resolve:n,reject:i,renditionsDonePromise:s,saveSequence:[t._configureDevelopJP,t._externalizeDevelopSettingsJP,t._createNewAssetRevisionJP,t._uploadAuxJP,t._uploadEditSettingsJP,t._pollForUpdatedRenditionsJP]}),r.prev=2,window.onbeforeunload=function(){return(0,m.zt)("$$$/js/viewer/save/save_in_progress=Save in progress")},p.Z.is_enabled("debug")&&y("Save sequence started."),c=(0,o.Z)(l.saveSequence),r.prev=6,c.s();case 8:if((u=c.n()).done){r.next=14;break}return h=u.value,r.next=12,h.call(t,l);case 12:r.next=8;break;case 14:r.next=19;break;case 16:r.prev=16,r.t0=r.catch(6),c.e(r.t0);case 19:return r.prev=19,c.f(),r.finish(19);case 22:n(),r.next=30;break;case 25:r.prev=25,r.t1=r.catch(2),console.error(r.t1),i(),d.Z.reportFailure("setDevelopJPFailure");case 30:return r.prev=30,window.onbeforeunload=null,p.Z.is_enabled("debug")&&y("Save sequence completed."),r.finish(30);case 34:case"end":return r.stop()}}),r,null,[[2,25,30,34],[6,16,19,22]])})));return function(e,t){return r.apply(this,arguments)}}())}},{key:"_configureDevelopJP",value:function(e){var t=e.payload.develop,r=e.masks,n=e.asset;return new Promise((function(i,a){var o=p.Z.is_enabled("force_externalize_edit_settings")||Object.keys(r).length>0;if(p.Z.is_enabled("force_partial_externalize_edit_settings")){if(!window.confirm("Create a partial external edit (to test this sync state)? Check your debug features if this is unexpected"))return a();o=!0}n.isVideo()||(o||t.xmpCameraRaw.length>f.Z.XMP_CAMERA_RAW_MAX_LENGTH)&&(p.Z.is_enabled("debug")&&console.log("Making inline edit settings external. Edit settings size in bytes: "+t.xmpCameraRaw.length),e.setExternalSettings(t.xmpCameraRaw)),i()}))}},{key:"_externalizeDevelopSettingsJP",value:function(e){var t=e.payload.develop,r=e.externalEditSettings;return new Promise(function(){var e=(0,s.Z)((0,a.Z)().mark((function e(n,i){return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,null==r){e.next=6;break}return t.xmpCameraRaw={},e.next=5,(0,h.Z)("SHA-256",r);case 5:t.xmpCameraRaw.sha256=e.sent;case 6:n(),e.next=14;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0),d.Z.reportFailure("editSetDevelopDigestGenFailure"),i();case 14:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(t,r){return e.apply(this,arguments)}}())}},{key:"_createNewAssetRevisionJP",value:(v=(0,s.Z)((0,a.Z)().mark((function e(t){var r,l,c,u,p,m,v,g,f,b,y;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.asset,l=t.payload,c=t.masks,u=t.externalEditSettings,p=t.renditionsDonePromise,!r.isVideo()){e.next=15;break}return m=null==u,v=function(){return{payload:l}},e.prev=4,e.next=7,r.createChildRevisionJP("setDevelopSettings",v,m);case 7:e.next=13;break;case 9:e.prev=9,e.t0=e.catch(4),console.error(e.t0),d.Z.reportFailure("editSetDevelopRevisionFailure");case 13:e.next=35;break;case 15:return e.t1=Object,e.next=18,Promise.all(Object.entries(c).filter((function(e){return(0,i.Z)(e,2)[1]instanceof ArrayBuffer})).map(function(){var e=(0,s.Z)((0,a.Z)().mark((function e(t){var r,n,o;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=(0,i.Z)(t,2),n=r[0],o=r[1],e.t0=n,e.next=4,(0,h.Z)("SHA-256",o);case 4:return e.t1=e.sent,e.abrupt("return",[e.t0,e.t1]);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 18:return e.t2=e.sent,g=e.t1.fromEntries.call(e.t1,e.t2),f=function(e){if(!e){var t=new Set(Object.keys(c));if(l.aux=void 0,0===t.size)l.develop.masks=null;else{l.develop.masks={};for(var a=0,s=Object.entries(r.getDevelopPixelMasks());a<s.length;a++){var u=(0,i.Z)(s[a],2),p=u[0],d=u[1].digest;t.has(d)||(l.develop.masks[p]=null)}var m,h=(0,o.Z)(t);try{for(h.s();!(m=h.n()).done;){var v,f,b=m.value,y=void 0,_={type:"mask",digest:b},w=c[b],k=g[b];if(w&&k?(_=(0,n.Z)((0,n.Z)({},_),{},{sha256:k,fileSize:w.byteLength}),null!==(v=y=r.findAuxId(_))&&void 0!==v||(y=r.generateAuxId()),null!==(f=l.aux)&&void 0!==f||(l.aux={}),l.aux[y]=_):y=r.findAuxId(_),!y)throw new Error("Need aux id");l.develop.masks[y]={digest:b}}}catch(e){h.e(e)}finally{h.f()}}return{payload:l}}},b=r.selectedVersionUserUpdated,null!=r.selectedVersion&&(r.selectedVersionUserUpdated=l.develop.userUpdated),y=null==u,e.prev=24,e.next=27,r.createChildRevisionJP("setDevelopSettings",f,y,p);case 27:e.next=35;break;case 29:throw e.prev=29,e.t3=e.catch(24),console.error(e.t3),r.selectedVersionUserUpdated=b,d.Z.reportFailure("editSetDevelopRevisionFailure"),e.t3;case 35:case"end":return e.stop()}}),e,null,[[4,9],[24,29]])}))),function(e){return v.apply(this,arguments)})},{key:"_uploadAuxJP",value:(r=(0,s.Z)((0,a.Z)().mark((function e(t){var r,n,o,s;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.asset,n=t.payload.aux,o=t.masks,n){e.next=3;break}return e.abrupt("return");case 3:return s=[],e.next=6,Promise.all(Object.entries(n).map((function(e){var t=(0,i.Z)(e,2),n=t[0],a=t[1],l=a.digest,c=a.sha256,u=o[l];if(u instanceof ArrayBuffer)return s.push(n),r.uploadAuxJP(u,c)})));case 6:return e.abrupt("return",g.Z.pollAssetUntilCheckJP(g.Z,r.linkHref("self"),(function(e){return s.every((function(t){return e.hasLink("/rels/aux/".concat(t))}))})));case 7:case"end":return e.stop()}}),e)}))),function(e){return r.apply(this,arguments)})},{key:"_uploadEditSettingsJP",value:(t=(0,s.Z)((0,a.Z)().mark((function e(t){var r,n,i,o;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=t.asset,n=t.externalEditSettings,i=t.payload,e.prev=1,null==n||p.Z.is_enabled("force_partial_externalize_edit_settings")){e.next=6;break}return o=i.develop.xmpCameraRaw.sha256,e.next=6,r.uploadExternalizedSettingsJP(n,o);case 6:e.next=13;break;case 8:throw e.prev=8,e.t0=e.catch(1),console.error(e.t0),d.Z.reportFailure("editSetDevelopUploadSettingsFailure"),e.t0;case 13:case"end":return e.stop()}}),e,null,[[1,8]])}))),function(e){return t.apply(this,arguments)})},{key:"_pollForUpdatedRenditionsJP",value:function(e){var t=e.asset,r=e.startTime,n=e.resolveRenditionsPromise;return new Promise(function(){var e=(0,s.Z)((0,a.Z)().mark((function e(i,o){var s,l,c;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s=new Date,d.Z.report("editUpdateAsset",{loadTimeMs:s-r}),e.prev=2,l=_.pollForValidRenditions(t,(function(){return!0})),i(),e.next=7,l;case 7:n(),c=new Date,d.Z.report("editGenerateRenditions",{loadTimeMs:c-s}),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(2),console.error(e.t0),d.Z.reportFailure("editRenditionGenerationFailure");case 16:case"end":return e.stop()}}),e,null,[[2,12]])})));return function(t,r){return e.apply(this,arguments)}}())}}]),e}()},678147:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(846031),i=r(85663),a=r(934331),o=r(89211),s=r(143681),l=r(792228),c=r(74424),u=(r(378702),r(808410),r(573467),r(693508),r(255187),r(203454),r(290671),r(816221),r(17938),r(253544)),p=(r(41332),r(962843)),d=(0,c.Z)("activateNextRequestIfPossible"),m=(0,c.Z)("activatePolling"),h=(0,c.Z)("stopPolling"),v=(0,c.Z)("shouldContinuePolling"),g=(0,c.Z)("refreshAndCheck"),f=function(){function e(t){(0,o.Z)(this,e),Object.defineProperty(this,g,{value:k}),Object.defineProperty(this,v,{value:w}),Object.defineProperty(this,h,{value:_}),Object.defineProperty(this,m,{value:y}),Object.defineProperty(this,d,{value:b}),this.pendingRequests=[],this.activeRequests={},this.maxRequests=t}var t;return(0,s.Z)(e,[{key:"numActiveRequests",get:function(){return Object.keys(this.activeRequests).length}},{key:"numPendingRequests",get:function(){return this.pendingRequests.length}},{key:"defaultRenditionsForAsset",value:function(e){return e.isVideo()?["thumbnail2x","2048","360p","1080p"]:["thumbnail2x","2048"]}},{key:"pollForValidRenditions",value:(t=(0,a.Z)((0,i.Z)().mark((function e(t,r,n){var a,o;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==n&&(n=this.defaultRenditionsForAsset(t)),null==(a=this.activeRequests[t.id])||!n.every((function(e){return a.renditions.includes(e)}))){e.next=9;break}return a.requestCount++,a.continueCallbacks.push(r),e.next=7,a.deferred.promise;case 7:e.next=11;break;case 9:o=new p.Z,a={id:t.id,asset:t,requestCount:1,deferred:o,continueCallbacks:[r],renditions:n};case 11:return this.pendingRequests.push(a),(0,l.Z)(this,d)[d](),e.next=15,a.deferred.promise;case 15:case"end":return e.stop()}}),e,this)}))),function(e,r,n){return t.apply(this,arguments)})}]),e}();function b(){if(this.numActiveRequests<this.maxRequests&&!(this.numPendingRequests<=0)){var e=this.pendingRequests.shift();(0,l.Z)(this,m)[m](e)}}function y(e){e.totalWaitTime=0,e.pollingPeriod=5e3,e.maximumWaitTime=25e5,this.activeRequests[e.id]=e,(0,l.Z)(this,g)[g](e)}function _(e,t){delete this.activeRequests[e.id],t?e.deferred.resolve():e.deferred.reject(),(0,l.Z)(this,d)[d]()}function w(e){var t;if(!((null===(t=e.continueCallbacks)||void 0===t?void 0:t.length)>0))return!1;var r,i=(0,n.Z)(e.continueCallbacks);try{for(i.s();!(r=i.n()).done;)if((0,r.value)())return!0}catch(e){i.e(e)}finally{i.f()}return!1}function k(e){var t=this;if((0,l.Z)(this,v)[v](e)){var r=e.asset,n=e.renditions;r.hasValidRenditions(n)?(u.Z.report("renditionsGenerated",{loadTimeMs:e.totalWaitTime,webSource:r.wasImportedByWeb()}),(0,l.Z)(this,h)[h](e,!0)):(e.totalWaitTime+=e.pollingPeriod,e.totalWaitTime>e.maximumWaitTime?(u.Z.reportFailure("renditionsNotGenerated",{webSource:r.wasImportedByWeb()}),(0,l.Z)(this,h)[h](e,!1)):(setTimeout((function(){r.refreshP().done((function(){return(0,l.Z)(t,g)[g](e)})).fail((function(){return(0,l.Z)(t,h)[h](e,!1)}))}),e.pollingPeriod),e.pollingPeriod>=6e4||(e.pollingPeriod+=5e3)))}else(0,l.Z)(this,h)[h](e,!1)}},496181:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i}),r(41332);var n=r(121094);const i={_isBetter:function(e,t){return e<0?t<0&&e>t:t<0||e<t},getBestHrefForSize:function(e,t){var r=-1/0,i="";for(var a in t*=n.Z.pixelDensity,e){var o=e[a],s=a-t;this._isBetter(s,r)&&(i=o,r=s)}return i}}},684643:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n}),r(367469),r(808410);const n={_seenKeywords:{},registerKeywords:function(e){Object.assign(this._seenKeywords,e.getKeywords())},getAllKeywords:function(){return Object.keys(this._seenKeywords)}}},795486:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(89211),i=r(143681),a=r(736781),o=r(993184),s=r(668962),l=r(749886),c=r(902310),u=function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(){return(0,n.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r,[{key:"setAttributes",value:function(e){return(0,a.Z)((0,o.Z)(r.prototype),"setAttributes",this).call(this,e),null!=e.author&&(this.author=new c.Z(e.author)),this}},{key:"isAuthoredBy",value:function(e){var t;return null!=e&&(null===(t=this.attributes.author)||void 0===t?void 0:t.id)===e.id}}]),r}(r(167822).Z)},697458:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m,v:()=>d});var n=r(89211),i=r(143681),a=r(736781),o=r(993184),s=r(668962),l=r(749886),c=(r(35812),r(721141),r(367469),r(272745)),u=r(189256),p=(r(41332),r(253544)),d={MINIMUM_DATE:"-0001-12-31T23:59:59",UNKNOWN_DATE:"0000-00-00T00:00:00",MAXIMUM_DATE:"9999-12-31T23:59:59"},m=function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(){var e;(0,n.Z)(this,r);for(var i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return(e=t.call.apply(t,[this].concat(a))).serviceKey="oz",e.handleAuthErrors=!0,e}return(0,i.Z)(r,[{key:"_onAuthError",value:function(){var e;return!!this.handleAuthErrors&&(null===(e=u.Z.authErrorCallback)||void 0===e?void 0:e.call(u.Z))}},{key:"_isAuthError",value:function(e,t,r){return 401===t}},{key:"reportOzFailure",value:function(e,t,r,n){var i,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};i=null!=t?JSON.stringify(t).substr(0,200):"unknown error";var o=Object.assign({errorCode:null!=r?r:"undefined",errorDescription:i},a);if(null!=n){var s=n.getResponseHeader("x-request-id");null!=s&&s.length>0&&(o.requestId=s)}p.Z.reportFailure(e,o)}},{key:"requestP",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=this.authHeaders;return null!=s&&((i=Object.assign({},i)).headers=Object.assign({},s,i.headers)),(0,a.Z)((0,o.Z)(r.prototype),"requestP",this).call(this,e,t,n,i)}}],[{key:"setAuthHeaders",value:function(e,t){var r={Authorization:"Bearer ".concat(e),"x-api-key":t};this.prototype.authHeaders=r}}]),r}(c.Z)},189256:(e,t,r)=>{"use strict";r.d(t,{Z:()=>v});var n,i,a,o,s,l,c,u=r(282466),p=r(89211),d=r(143681),m=r(673136),h=r(548967);r(573467),r(508460),r(41332);const v=new(n=function(){function e(){(0,p.Z)(this,e),this.XMP_CAMERA_RAW_MAX_LENGTH=10240,this.MAX_COMMENT_LENGTH=1023,(0,u.Z)(this,"account",i,this),(0,u.Z)(this,"userDefaults",a,this),(0,u.Z)(this,"catalogContext",o,this),(0,u.Z)(this,"spaceContext",s,this),(0,u.Z)(this,"lastAssetEditTime",l,this),(0,u.Z)(this,"_savingEditCount",c,this),this._hostOverride="https://lightroom.adobe.com",this._callbacks=[],this.defaultPageSize=100,this.haveNginxProxy=!0,this.authErrorCallback=void 0}return(0,d.Z)(e,[{key:"hostOverride",get:function(){return this._hostConfig},set:function(e){var t=this;this._hostConfig=e,this._callbacks.forEach((function(e){return e(t)}))}},{key:"startAssetEdit",value:function(){this._savingEditCount++}},{key:"endAssetEdit",value:function(){this._savingEditCount--}},{key:"savingEdit",get:function(){return this._savingEditCount>0}},{key:"isNewUser",get:function(){if(!this.account.isSubscriber())return!1;var e=this.account.subscriptionStartDate(),t=new Date;return Math.floor((t-e)/864e5)<7}},{key:"watch",value:function(e){this._callbacks.push(e)}}]),e}(),i=(0,m.Z)(n.prototype,"account",[h.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,m.Z)(n.prototype,"userDefaults",[h.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,m.Z)(n.prototype,"catalogContext",[h.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,m.Z)(n.prototype,"spaceContext",[h.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,m.Z)(n.prototype,"lastAssetEditTime",[h.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),c=(0,m.Z)(n.prototype,"_savingEditCount",[h.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),n)},167822:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(89211),i=r(143681),a=r(400989),o=r(668962),s=r(749886),l=(r(373636),r(582909),r(721141),r(819785),r(489955)),c=r(41332),u=r(253544),p=r(272745),d=r(189256),m=r(975157),h=r(697458),v=r(986540),g=r(784090),f=function(e){(0,o.Z)(r,e);var t=(0,s.Z)(r);function r(e){var i;return(0,n.Z)(this,r),"string"==typeof e||e instanceof String?(i=t.call(this,e))._initPromise=i.refreshP():((i=t.call(this)).setAttributes(e),i.href=i.linkHref("self")),(0,a.Z)(i)}return(0,i.Z)(r,[{key:"initializedP",value:function(){var e=this;return null!=this._initPromise?this._initPromise.then((function(){return e})):g.Deferred().resolve(this).promise()}},{key:"initializedJP",value:function(){return this.safeToJSPromise(this.initializedP.apply(this,arguments))}},{key:"cloneAttributes",value:function(){return this.attributes.toJSON()}},{key:"linkHref",value:function(e){var t,r,n=null===(t=this.attributes.links)||void 0===t||null===(r=t[e])||void 0===r?void 0:r.href;return this._linkBase.fullHref(n)}},{key:"linkFullPath",value:function(e){var t,r,n=null===(t=this.attributes.links)||void 0===t||null===(r=t[e])||void 0===r?void 0:r.href;return this._linkBase.fullPath(n)}},{key:"hasLink",value:function(e){var t,r;return null!=(null===(t=this.attributes.links)||void 0===t||null===(r=t[e])||void 0===r?void 0:r.href)}},{key:"getAttribute",value:function(e){return this.attributes[e]}},{key:"_getAttributeClass",value:function(){return this.attributeClass||v.Z}},{key:"_createAttributes",value:function(e){var t,r=this._getAttributeClass(),n=null!==(t=this._attributes)&&void 0!==t?t:new r;return n.fromJSON(e),n}},{key:"attributes",get:function(){return l.Z.recordEvent(this,"attributes"),this._attributes},set:function(e){this._attributes=this._createAttributes(e),l.Z.recordChange(this,"attributes")}},{key:"setAttributes",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.attributes=e,this.id=this.attributes.id,this._linkBase=new m.Z(this.attributes.base),this}},{key:"setAttribute",value:function(e,t){this.attributes[e]=t}},{key:"refreshJP",value:function(){return this.safeToJSPromise(this.refreshP())}},{key:"refreshP",value:function(){return this._refreshP()}},{key:"_refreshP",value:function(e){var t=this;return this.requestP("GET",e).done((function(e){return t.setAttributes(e)})).promise()}},{key:"updateAttributesP",value:function(e,t){return null==t.payload&&(t.payload={}),t.payload.userUpdated=(new Date).toISOString(),this._updateAttributesP(t,e)}},{key:"_updateAttributesP",value:function(e,t){var r,n=this,i=g.extend(!0,{},this.attributes.toJSON()),a=function(){return n.attributes=g.extend(!0,n.attributes.toJSON(),e)};return a(),null!=this.updating?(this.updatingApplyList.push(a),r=this.updating.then((function(){return n._doUpdateP(t,e,i)}))):(this.updatingApplyList=[a],r=this._doUpdateP(t,e,i)),this.updating=r,this.updating.always((function(){var e;null===(e=d.Z.catalogContext)||void 0===e||e.assetUpdated(),r===n.updating&&(n.updating=null)}))}},{key:"_doUpdateP",value:function(e,t,r){var n=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return c.Z.is_enabled("debug")&&p.Z._forceFailNextRequest&&(i=2),this.requestP("POST",this.href,JSON.stringify(t)).then((function(){return null!=e&&u.Z.report(e),n.updatingApplyList.shift(),n.refreshP().then((function(){return n.updatingApplyList.map((function(e){return e()}))}))}),(function(a,o,s){var l=i<2&&(0===o||o>=500);return l?null!=e&&u.Z.report("".concat(e,"Retry")):(null!=e&&n.reportOzFailure("".concat(e,"Failure"),a,o,s),n.updatingApplyList.shift()),n.refreshP().then((function(){return l?n._doUpdateP(e,t,r,i+1):g.Deferred().reject(a,o,s)}),(function(){n.attributes=r}))}))}},{key:"getOzCreatedDate",value:function(){var e=this.attributes.created;return e===h.v.UNKNOWN_DATE?null:new Date(Date.parse(e))}},{key:"getOzUpdatedDate",value:function(){var e=this.attributes.updated;return e===h.v.UNKNOWN_DATE?null:new Date(Date.parse(e))}},{key:"getUserCreatedDate",value:function(){var e,t=null===(e=this.attributes.payload)||void 0===e?void 0:e.userCreated;return null==t||t===h.v.UNKNOWN_DATE?null:new Date(Date.parse(t))}},{key:"getUserUpdatedDate",value:function(){var e,t=null===(e=this.attributes.payload)||void 0===e?void 0:e.userUpdated;return null==t||t===h.v.UNKNOWN_DATE?null:new Date(Date.parse(t))}},{key:"getBestCreatedDate",value:function(){var e;return null!==(e=this.getUserCreatedDate())&&void 0!==e?e:this.getOzCreatedDate()}},{key:"getBestUpdatedDate",value:function(){var e;return null!==(e=this.getUserUpdatedDate())&&void 0!==e?e:this.getOzUpdatedDate()}},{key:"getBestCreatedDateAttribute",value:function(){var e,t;return null!==(e=null===(t=this.attributes.payload)||void 0===t?void 0:t.userCreated)&&void 0!==e?e:this.attributes.created}},{key:"getMostRecentDate",value:function(){return new Date(Math.max(this.getBestCreatedDate(),this.getBestUpdatedDate()))}},{key:"getBestUpdatedDateAttribute",value:function(){var e,t;return null!==(e=null===(t=this.attributes.payload)||void 0===t?void 0:t.userUpdated)&&void 0!==e?e:this.attributes.updated}}]),r}(h.Z)},251617:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var n=r(85663),i=r(934331),a=r(846031),o=r(89211),s=r(143681),l=r(668962),c=r(749886),u=(r(973774),r(290671),r(816221),r(17938),r(721141),r(573467),r(693508),r(470373),r(19067),r(340781),r(420531)),p=r(41332),d=r(274225),m=r(189256),h=r(975157),v=r(167822),g=r(784090),f=function(e){(0,l.Z)(v,e);var t,r,d=(0,c.Z)(v);function v(e,t){var r,n,i,a;return(0,o.Z)(this,v),(a=d.call(this,e))._dirty=!0,null==(null===(r=t)||void 0===r?void 0:r.limit)&&(p.Z.is_enabled("override_oz_limit_5")?t=g.extend(t||{},{limit:5}):p.Z.is_enabled("override_oz_limit_500")?t=g.extend(t||{},{limit:500}):100!==m.Z.defaultPageSize&&(t=g.extend(t||{},{limit:m.Z.defaultPageSize}))),a.pageSize=null!==(n=null===(i=t)||void 0===i?void 0:i.limit)&&void 0!==n?n:100,a.options=t,a.reset(),a}return(0,s.Z)(v,[{key:"setCacheSource",value:function(e){this.cacheSource=e}},{key:"reset",value:function(){var e;return this._dirty?(this._models?this._disposeModels():this._models=new u.Z,p.Z.is_enabled("custom_sort_dialog")&&(this.customSortPropPath=null),this.indices={},this.fetchUrl=this.href,this.finished=!1,this.totalCount=null,this.length=0,this.page=0,this._dirty=!1,null!=this.options&&(this.pageSize=this.options.limit,this.fetchUrl+="?"+g.param(this.options)),null!==(e=this.pageSize)&&void 0!==e||(this.pageSize=100),this):this}},{key:"_disposeModels",value:function(){this._models.splice(0,this._models.length)}},{key:"numLoaded",value:function(){return this.length}},{key:"_parse",value:function(e){return e.resources}},{key:"fetchP",value:function(){var e=this;return null==this.fetchUrl?g.Deferred().reject().promise():this.fetching?this.fetching:(this.fetching=this.requestP("GET",this.fetchUrl)).always((function(){e.fetching=void 0})).fail((function(t,r,n){null!=e.modelName?e.reportOzFailure("fetchP".concat(e.modelName,"Failure"),t,r,n):e.reportOzFailure("fetchPFailure",t,r,n),e.fetchUrl=void 0,e._dirty=!0})).done((function(t){e.length;var r,n=e._parse(t),i=(0,a.Z)(n);try{for(i.s();!(r=i.n()).done;){var o,s=r.value;s.base=t.base,o=new e.model(s,e),e._add(o)}}catch(e){i.e(e)}finally{i.f()}if(e.page++,0===n.length)e.fetchUrl=void 0;else{var l,c,u=null===(l=t.links)||void 0===l||null===(c=l[e.nextPageLink||"next"])||void 0===c?void 0:c.href,p=new h.Z(t.base);e.fetchUrl=p.fullHref(u)}null==e.fetchUrl&&(e.finished=!0,e.totalCount=e._models.length)}))}},{key:"createP",value:function(e,t,r){var n=this;if(null!=t.payload&&"Catalog"!==this.modelName){var i,a,o,s,l=(new Date).toISOString();null!==(a=(i=t.payload).userCreated)&&void 0!==a||(i.userCreated=l),null!==(s=(o=t.payload).userUpdated)&&void 0!==s||(o.userUpdated=l)}return this.requestP("PUT",e,JSON.stringify(t)).then((function(e,t,i){var a=null!=r?r:i.getResponseHeader("Location");return n._addCreatedP(a)})).fail((function(e,t,r){null!=n.modelName?n.reportOzFailure("create".concat(n.modelName,"Failure"),e,t,r):n.reportOzFailure("createOzResourceFailure",e,t,r)}))}},{key:"createJP",value:(r=(0,i.Z)((0,n.Z)().mark((function e(t,r,i){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.createP(t,r,i);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(e,t,n){return r.apply(this,arguments)})},{key:"_addCreatedP",value:function(e){var t=this;return this.requestP("GET",e).then((function(e){var r=new t.model(e,t);return t._add(r,!0),null!=t.totalCount&&t.totalCount++,r}))}},{key:"deleteP",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.index(e),i=this.at(n).href;return null!=r&&(i+="?"+g.param(r)),this.requestP("DELETE",i).done((function(){var r;(null===(r=t.at(n))||void 0===r?void 0:r.id)===e&&t._delete(n)})).fail((function(e,r,n){null!=t.modelName?t.reportOzFailure("delete".concat(t.modelName,"Failure"),e,r,n):t.reportOzFailure("deleteOzResourceFailure",e,r,n)}))}},{key:"deleteJP",value:(t=(0,i.Z)((0,n.Z)().mark((function e(t){var r,i=arguments;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=i.length>1&&void 0!==i[1]?i[1]:null,e.next=3,this.deleteP(t,r);case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"optimisticDeleteP",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=this.index(e),i=this.at(n).href;this._delete(n);var a=function(){return t.requestP("DELETE",i).fail((function(e,r,n){null!=t.modelName?t.reportOzFailure("delete".concat(t.modelName,"Failure"),e,r,n):t.reportOzFailure("deleteOzResourceFailure",e,r,n)}))};return null!=r?r.then((function(){return a()})):a()}},{key:"_unshift",value:function(e){this._models.unshift(e)}},{key:"_add",value:function(e,t){if(this.get(e.id)&&this._delete(this.index(e.id)),this._push(e),this.finished&&null!=this.totalCount)return this.totalCount++}},{key:"_delete",value:function(e){null!=e&&(this._models.splice(e,1),null!=this.totalCount&&this.totalCount--,this._reindex())}},{key:"firstP",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return t<this._models.length?g.Deferred().resolve(this.at(t)).promise():1===this.pageSize?this.fetchP().then((function(){return t<e._models.length?g.Deferred().resolve(e.at(t)).promise():g.Deferred().reject().promise()})):this.fetchP().then((function(){return e.atP(t)}))}},{key:"getTotalCountHref",value:function(){return null}},{key:"totalCountP",value:function(){var e=this;if(null!=this.totalCount)return g.Deferred().resolve(this.totalCount).promise();var t=this.getTotalCountHref();return null!=this.totalCountPromise?this.haveQueuedTotalCount?this.totalCountPromise:this.isDirty()?(this.haveQueuedTotalCount=!0,this.totalCountPromise.then((function(){return e.totalCountP()}))):this.totalCountPromise:(this.totalCountPromise=null!=t?this.requestP("GET",t).done((function(t){return e.totalCount=Math.max(e._models.length,parseInt(t.total_count))})).then((function(){return e.totalCountP()})):this.allP().then((function(){return e.totalCount=e._models.length})),this.totalCountPromise.always((function(){e.totalCountPromise=null})))}}]),v}(d.Z);f.prototype.model=v.Z},274225:(e,t,r)=>{"use strict";r.d(t,{Z:()=>k});var n,i,a,o,s,l,c=r(846031),u=r(85663),p=r(934331),d=r(282466),m=r(89211),h=r(143681),v=r(236229),g=r(668962),f=r(749886),b=r(673136),y=r(548967),_=(r(35812),r(573467),r(693508),r(893248),r(470373),r(19067),r(290671),r(816221),r(17938),r(8856),r(973774),r(824098),r(613903),r(718080),r(888784),r(420531),r(41332),r(697458)),w=(r(189256),r(975157),r(167822),r(784090)),k=(n=function(e){(0,g.Z)(k,e);var t,r,n,b,y,_=(0,f.Z)(k);function k(){var e;(0,m.Z)(this,k);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e=_.call.apply(_,[this].concat(r)),(0,d.Z)(e,"finished",i,(0,v.Z)(e)),(0,d.Z)(e,"length",a,(0,v.Z)(e)),(0,d.Z)(e,"totalCount",o,(0,v.Z)(e)),(0,d.Z)(e,"_models",s,(0,v.Z)(e)),(0,d.Z)(e,"_dirty",l,(0,v.Z)(e)),e}return(0,h.Z)(k,[{key:"markDirty",value:function(){return this._dirty=!0,this.trigger("dirty"),this}},{key:"isDirty",value:function(){return this._dirty}},{key:"_add",value:function(e){null==this.indices[e.id]&&this._push(e)}},{key:"_push",value:function(e){this._models.push(e),this.indices[e.id]=this.length++,this.trigger("modelIndexChanged")}},{key:"_reindex",value:function(e){null==e&&(this.indices={},e=0);for(var t=this.models,r=this.indices,n=e,i=t.length-1;n<=i;n++)r[t[n].id]=n;this.length=t.length,this.trigger("modelIndexChanged")}},{key:"models",get:function(){return this._models.base}},{key:"modelsBindable",get:function(){return this._models}},{key:"isEmpty",value:function(){return 0===this._models.length}},{key:"isEmptyJP",value:(y=(0,p.Z)((0,u.Z)().mark((function e(){return(0,u.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.isEmpty()){e.next=8;break}if(!this.finished){e.next=3;break}return e.abrupt("return",!0);case 3:return e.next=5,this.fetchP();case 5:return e.abrupt("return",this.isEmpty());case 8:return e.abrupt("return",!1);case 9:case"end":return e.stop()}}),e,this)}))),function(){return y.apply(this,arguments)})},{key:"isKnownEmpty",value:function(){return this.isEmpty()&&this.finished}},{key:"fetchJP",value:(b=(0,p.Z)((0,u.Z)().mark((function e(){return(0,u.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.safeToJSPromise(this.fetchP());case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return b.apply(this,arguments)})},{key:"allJP",value:(n=(0,p.Z)((0,u.Z)().mark((function e(){return(0,u.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.allP();case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"allP",value:function(){var e=this;return this.finished?w.Deferred().resolve(this.models.slice()).promise():this.fetchP().then((function(){return e.allP()}))}},{key:"at",value:function(e){return this._models.at(e)}},{key:"atP",value:function(e){var t=this;return e<this._models.length?w.Deferred().resolve(this.at(e)).promise():this.fetchP().then((function(){return t.atP(e)}))}},{key:"atJP",value:function(e){var t=this;return e<this._models.length?Promise.resolve(this.at(e)):this.fetchJP().then((function(){return t.atJP(e)}))}},{key:"firstP",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return e<this._models.length?w.Deferred().resolve(this.at(e)).promise():w.Deferred().reject().promise()}},{key:"range",value:function(e,t){var r,n=Math.max(0,e);return r=null!=this.totalCount?Math.min(this.totalCount,t+1):t+1,this._models.sliceToArray(n,r)}},{key:"rangeP",value:function(e,t){var r=this;if(t<this._models.length||this.finished){var n=this.range(e,t);return w.Deferred().resolve(n).promise()}return this.fetchP().then((function(){return r.rangeP(e,t)}))}},{key:"get",value:function(e){var t=this.index(e);return this.at(t)}},{key:"getP",value:function(e){var t=this;return this.indexP(e).then((function(e){return t.at(e)}))}},{key:"getJP",value:function(e){var t=this;return this.indexJP(e).then((function(e){return t.at(e)}))}},{key:"index",value:function(e){return this.indices[e]}},{key:"indexP",value:function(e){var t=this;if(e){var r=this.index(e);return null!=r?w.Deferred().resolve(r).promise():this.fetchP().then((function(){return t.indexP(e)}))}return w.Deferred().reject()}},{key:"indexJP",value:function(e){var t=this;if(e){var r=this.index(e);return null!=r?Promise.resolve(r):this.fetchJP().then((function(){return t.indexJP(e)}))}return Promise.reject()}},{key:"isPageLoaded",value:function(e){var t=this.pageSize*e+this.pageSize;return this.length>t||this.finished}},{key:"isPagePastEnd",value:function(e){var t=this.pageSize*e;return this.finished&&e>0&&t>=this.length}},{key:"pageP",value:function(e){return this.pagesP(e,e+1)}},{key:"pageJP",value:(r=(0,p.Z)((0,u.Z)().mark((function e(t){return(0,u.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pagesJP(t,t+1);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"pages",value:function(e,t){var r=this.pageSize*e,n=this.pageSize*t;return this._models.sliceToArray(r,n)}},{key:"pagesP",value:function(e,t){var r=this,n=this.pageSize*t,i=n<=this.length,a=this.finished&&n>=this.length;return i||a?w.Deferred().resolve(this.pages(e,t),a).promise():this.fetchP().then((function(){return r.pagesP(e,t)}))}},{key:"pagesJP",value:(t=(0,p.Z)((0,u.Z)().mark((function e(t,r){return(0,u.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.pagesP(t,r);case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(e,r){return t.apply(this,arguments)})},{key:"totalCountP",value:function(){return null!=this.totalCount?w.Deferred().resolve(this.totalCount).promise():w.Deferred().reject()}},{key:"pagesLoaded",value:function(){return this.finished?Math.ceil(this.length/this.pageSize):Math.floor(this.length/this.pageSize)}},{key:"deleteLocally",value:function(e){this._deleteMany(e)}},{key:"_deleteMany",value:function(e){var t,r,n=[],i=(0,c.Z)(e);try{for(i.s();!(r=i.n()).done;){var a=r.value;null!=(t=this.index(a))&&n.push(t)}}catch(e){i.e(e)}finally{i.f()}n.sort((function(e,t){return e-t}));for(var o=0,s=0;s<n.length;s++)t=n[s],this._models.splice(t-o++,1);null!=this.totalCount&&(this.totalCount-=e.length),n.length>0&&this._reindex()}},{key:"getDisplayIndex",value:function(e){return null==e?null:this._models.filter((function(e){return!e.isLayoutSegment()})).findIndex((function(t){return t.id===e.id}))}},{key:"sortByCustomJP",value:function(e,t){var r=this;return this.customSortPropPath=t,new Promise((function(t,n){r._models.sort(e),r._reindex(),r.markDirty(),t()}))}},{key:"isCustomSorted",get:function(){return null!=this.customSortPropPath}},{key:"reverseCustomSort",value:function(){this._models.reverse(),this._reindex()}},{key:"includesLayoutSegments",value:function(){var e,t;return(null===(e=this.options)||void 0===e||null===(t=e.subtype)||void 0===t?void 0:t.indexOf("layout_segment"))>=0}}]),k}(_.Z),i=(0,b.Z)(n.prototype,"finished",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,b.Z)(n.prototype,"length",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),o=(0,b.Z)(n.prototype,"totalCount",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,b.Z)(n.prototype,"_models",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,b.Z)(n.prototype,"_dirty",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n)},902310:(e,t,r)=>{"use strict";r.d(t,{Z:()=>$});var n,i,a=r(85663),o=r(934331),s=r(282466),l=r(89211),c=r(143681),u=r(236229),p=r(736781),d=r(993184),m=r(668962),h=r(749886),v=r(673136),g=r(548967),f=(r(35812),r(587621),r(558901),r(573467),r(693508),r(457685),r(888784),r(721141),r(41332)),b=r(351003),y=r(253544),_=r(272745),w=r(496181),k=r(189256),Z=r(167822),x=r(697458),S=r(784090),$=(n=function(e){(0,m.Z)(v,e);var t,r,n=(0,h.Z)(v);function v(){var e;(0,l.Z)(this,v);for(var t=arguments.length,r=new Array(t),a=0;a<t;a++)r[a]=arguments[a];return e=n.call.apply(n,[this].concat(r)),(0,s.Z)(e,"pollingForOzAvatar",i,(0,u.Z)(e)),e}return(0,c.Z)(v,[{key:"setAttributes",value:function(e){return null!=this.attributes&&(this.attributes.avatar=void 0),(0,p.Z)((0,d.Z)(v.prototype),"setAttributes",this).call(this,e)}},{key:"getInitials",value:function(){var e;return null!==(e=this.attributes.first_name)&&void 0!==e&&e.length?this.attributes.last_name?this.attributes.first_name[0]+this.attributes.last_name[0]:this.attributes.first_name[0]:null}},{key:"getFullName",value:function(){var e;return null!==(e=this.attributes.full_name)&&void 0!==e?e:""}},{key:"hackCacheableLinkHref",value:function(e){if(null!=e)return e.replace("/v2/","/v2c/")}},{key:"getAvatarUrl",value:function(e){var t={};for(var r in this.attributes.links){var n=this.attributes.links[r];if("/rels/avatars/"===r.substr(0,14)){var i=n.href,a=n.size;null!=i&&null!=a&&(t[a]=i)}}var o=w.Z.getBestHrefForSize(t,e);return this.hackCacheableLinkHref(this._linkBase.fullHref(o))}},{key:"hasPlaceholderAvatar",value:function(){var e;return!0===(null===(e=this.attributes.avatar)||void 0===e?void 0:e.placeholder)}},{key:"_getBehancePublicProfileP",value:function(){var e="https://".concat(window.__adobe_behance_api_host,"/v2/users/").concat(k.Z.account.getWCDGuid(),"?api_key=").concat(window.__adobe_behance_api_key);return _.Z.prototype.requestP("GET",e)}},{key:"_getBehanceUserP",value:function(){return this._getBehancePublicProfileP().then((function(e){return e.user})).fail((function(e,t){y.Z.reportFailure("getBehanceUserFailure")}))}},{key:"getBehanceAvatarP",value:function(e){return this._getBehanceUserP().then((function(t){return w.Z.getBestHrefForSize(t.images,e)}))}},{key:"getBehanceHasPlaceholderJP",value:(r=(0,o.Z)((0,a.Z)().mark((function e(){var t;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._getBehancePublicProfileP();case 2:if(null==(t=e.sent).valid||0!==t.valid){e.next=7;break}return e.abrupt("return",!0);case 7:return e.abrupt("return",1===t.user.has_default_image);case 8:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"updateBehanceAvatarP",value:function(e){var t,r,n=this;if(b.Z.isImage(e))return r=b.Z.getFileExtension(e.name),t="extension=".concat(r),this.avatarRequest(t,e);r=e.getFileExtension(),t="extension=".concat(r);var i=e.getRenditionHref("2048");return this.ozImageP=x.Z.prototype.requestP("GET",i,null,{responseType:"arraybuffer",cancelPromise:this._cancelDeferred}),this.ozImageP.fail((function(){return n._deferred.reject()})),this.ozImageP.then((function(e,r,i){return n.avatarRequest(t,e)}))}},{key:"avatarRequest",value:function(e,t){var r=this,n={contentType:"application/x-www-form-urlencoded"},i="".concat(this._linkBase.hostUrl,"/behance_presigned_url/v2/project/editor/auto_sign_request?api_key=").concat(window.__adobe_behance_api_key);return _.Z.prototype.requestP("POST",i,e,n).then((function(e){var a=e.uri.replace(/^(https:\/\/s3.amazonaws.com)/g,"".concat(r._linkBase.hostUrl,"/aws_s3"));return _.Z.prototype.requestP("PUT",a,t).then((function(){i="".concat(r._linkBase.hostUrl,"/behance_change_avatar/v2/profile/avatar?api_key=").concat(window.__adobe_behance_api_key);var t="source_url=".concat(e.object.location);return _.Z.prototype.requestP("POST",i,t,n).then((function(e){return y.Z.report("galleryEditAvatar"),r.updateOzAvatarP()}),(function(){y.Z.reportFailure("updateBehanceAvatarFailure")}))}),(function(e,t){y.Z.reportFailure("putScratchBehanceAvatarFailure")}))}),(function(e,t){y.Z.reportFailure("getPreSignedBehanceUrlFailure")}))}},{key:"deleteBehanceAvatarJP",value:(t=(0,o.Z)((0,a.Z)().mark((function e(){var t,r;return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(f.Z.is_enabled("debug")){e.next=2;break}return e.abrupt("return");case 2:return t={contentType:"application/x-www-form-urlencoded"},r="".concat(this._linkBase.hostUrl,"/behance_change_avatar/v2/profile/avatar?api_key=").concat(window.__adobe_behance_api_key),e.prev=4,e.next=7,_.Z.prototype.requestP("DELETE",r,{},t);case 7:return e.next=9,this.updateOzAvatarP();case 9:console.log("Avatar deleted"),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(4),console.log("Failed to delete avatar");case 15:case"end":return e.stop()}}),e,this,[[4,12]])}))),function(){return t.apply(this,arguments)})},{key:"haveAvatarLinksChanged",value:function(){for(var e in this.attributes.links){var t=this.attributes.links[e];if(-1!==e.indexOf("avatars")&&null!=t.href&&t.href!==this.oldLinks[e].href)return!0}return!1}},{key:"updateOzAvatarP",value:function(){var e=this;this.pollingForOzAvatar=!0,this.oldLinks=S.extend(!0,{},this.attributes.links);var t=this._linkBase.fullHref("v2/avatars/".concat(this.id));return this.requestP("POST",t,JSON.stringify({refresh:!0})).then((function(){return e._pollForOzAvatarUpdateP()}),(function(){return y.Z.reportFailure("updateAvatarFailure")})).always((function(){return e.pollingForOzAvatar=!1}))}},{key:"_pollForOzAvatarUpdateP",value:function(){var e=this,t=S.Deferred();if(this.haveAvatarLinksChanged())t.resolve();else{var r=0;!function n(){r++,e.refreshP().done((function(){!e.haveAvatarLinksChanged()&&r<6?setTimeout(n,1e3):e.haveAvatarLinksChanged()?t.resolve():(y.Z.reportFailure("pollForAvatarUpdateFailure"),t.reject())})).fail((function(){t.reject()}))}()}return t.promise()}}]),v}(Z.Z),i=(0,v.Z)(n.prototype,"pollingForOzAvatar",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n)},922313:(e,t,r)=>{"use strict";r.d(t,{Z:()=>k});var n,i,a,o=r(760567),s=r(85663),l=r(934331),c=r(282466),u=r(89211),p=r(143681),d=r(236229),m=r(736781),h=r(993184),v=r(668962),g=r(749886),f=r(673136),b=r(548967),y=(r(457685),r(573467),r(693508),r(587621),r(558901),r(816221),r(304893),r(290671),r(17938),r(819785),r(593798),r(697458)),_=r(167822),w=r(902310),k=(n=function(e){(0,v.Z)(k,e);var t,r,n,f,b,_=(0,g.Z)(k);function k(e,t){var r;return(0,u.Z)(this,k),r=_.call(this,e),(0,c.Z)(r,"pollingForRendition",i,(0,d.Z)(r)),(0,c.Z)(r,"importedByUser",a,(0,d.Z)(r)),r.parent=t,r}return(0,p.Z)(k,[{key:"setAttributes",value:function(e){(0,m.Z)((0,h.Z)(k.prototype),"setAttributes",this).call(this,e),null!=e.importedByUser&&(this.importedByUser=new w.Z(e.importedByUser))}},{key:"isAutoVersion",get:function(){return!this.isNamedVersion}},{key:"isNamedVersion",get:function(){return!0===this.attributes.payload.createdManually}},{key:"name",get:function(){return this.attributes.payload.name}},{key:"develop",get:function(){return this.attributes.payload.develop}},{key:"hasExternalDevelopSettings",value:function(){return this.hasLink("/rels/xmp/develop")}},{key:"getExternalEditSettingsJP",value:(b=(0,l.Z)((0,s.Z)().mark((function e(){var t;return(0,s.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==this.externalEditSettings){e.next=2;break}return e.abrupt("return",this.externalEditSettings);case 2:return e.next=4,y.Z.prototype.requestJP("GET",this.linkHref("/rels/xmp/develop"),null,{contentType:""});case 4:return t=e.sent,e.abrupt("return",this.externalEditSettings=t[0]);case 6:case"end":return e.stop()}}),e,this)}))),function(){return b.apply(this,arguments)})},{key:"getDevelopSettingsJP",value:(f=(0,l.Z)((0,s.Z)().mark((function e(){return(0,s.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.hasExternalDevelopSettings()){e.next=6;break}return e.next=3,this.getExternalEditSettingsJP();case 3:return e.abrupt("return",e.sent);case 6:return e.abrupt("return",this.attributes.payload.develop.xmpCameraRaw);case 7:case"end":return e.stop()}}),e,this)}))),function(){return f.apply(this,arguments)})},{key:"renameJP",value:(n=(0,l.Z)((0,s.Z)().mark((function e(t){var r;return(0,s.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0===(null===(r=t)||void 0===r?void 0:r.length)&&(t=null),t!==this.name){e.next=3;break}return e.abrupt("return");case 3:return e.next=5,this.updateAttributesP("renameVersion",{payload:{name:t}});case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"uploadExternalizedSettingsJP",value:(r=(0,l.Z)((0,s.Z)().mark((function e(t){var r;return(0,s.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.linkHref("/rels/xmp_develop_create").replace("{revision_id}",this.attributes.revision_ids[0]),e.next=3,y.Z.prototype.requestJP("PUT",r,t,{contentType:"application/rdf+xml"});case 3:return e.next=5,this.refreshP();case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"getRenditionHref",value:function(e,t){return this.hackCacheableLinkHref("/rels/rendition_type/".concat(e))}},{key:"hackCacheableLinkHref",value:function(e){var t;return null===(t=this.linkHref(e))||void 0===t?void 0:t.replace("/v2/","/v2c/")}},{key:"pollForRendition",value:function(){var e=this,t=0;this.pollingForRendition||(this.pollingForRendition=!0,function r(){t++,e.refreshP().done((function(){e.shouldPollForRendition()&&t<6?setTimeout(r,1e3):e.shouldPollForRendition()||(e.pollingForRendition=!1)})).fail((function(){return e.pollingForRendition=!1}))}())}},{key:"shouldPollForRendition",value:function(){var e;if(null==(null===(e=this.attributes.links)||void 0===e?void 0:e.href))return!0}},{key:"getDevelopPixelMasks",value:function(){var e,t;return null!==(e=null===(t=this.attributes.payload.develop)||void 0===t?void 0:t.masks)&&void 0!==e?e:{}}},{key:"fetchDevelopPixelMasksJP",value:(t=(0,l.Z)((0,s.Z)().mark((function e(){var t,r,n=this;return(0,s.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.getDevelopPixelMasks(),r=this.parent.parentAsset,e.t0=Object,e.next=5,Promise.all(Object.entries(t).map(function(){var e=(0,l.Z)((0,s.Z)().mark((function e(t){var i,a,l,c,u,p,d;return(0,s.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=(0,o.Z)(t,2),a=i[0],l=i[1].digest,c=r.getAuxHref(a),e.next=4,n.requestJP("GET",c,null,{responseType:"arraybuffer"});case 4:return u=e.sent,p=(0,o.Z)(u,1),d=p[0],e.abrupt("return",[l,d]);case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 5:return e.t1=e.sent,e.abrupt("return",e.t0.fromEntries.call(e.t0,e.t1));case 7:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}]),k}(_.Z),i=(0,f.Z)(n.prototype,"pollingForRendition",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,f.Z)(n.prototype,"importedByUser",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n)},272745:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var n=r(846031),i=r(89211),a=r(143681),o=r(668962),s=r(749886),l=(r(255187),r(203454),r(816221),r(261148),r(573467),r(784425),r(595249),r(185466),r(370843),r(961626),r(897995),r(518926),r(725676),r(81738),r(479959),r(879587),r(353478),r(643300),r(363242),r(911895),r(301207),r(792647),r(879104),r(497814),r(78019),r(474646),r(28227),r(420879),r(680851),r(725637),r(686862),r(169513),r(993224),r(604542),r(292381),r(290671),r(17938),r(923304),r(328614),r(693508),r(587621),r(558901),r(35812),r(112957)),c=r(41332),u=r(882973),p=(r(630647),r(253544)),d=(r(62800),r(666222)),m=r(772076),h=r(784090),v=function(e){(0,o.Z)(r,e);var t=(0,s.Z)(r);function r(e){var n;return(0,i.Z)(this,r),(n=t.call(this)).href=e,n}return(0,a.Z)(r,[{key:"_onAuthError",value:function(){}},{key:"_onOzMaintenanceError",value:function(){window.location.href.includes("redirect")||window.location.reload(),p.Z.report("ozMaintenanceInApp")}},{key:"_isAuthError",value:function(e,t,r){return 401===t}},{key:"_isOzMaintenanceError",value:function(e,t,r){return 503===t&&"MaintenanceError"===(null==e?void 0:e.code)}},{key:"createUuid",value:function(){var e,t="",r=window.crypto||window.msCrypto;if(null!=(null==r?void 0:r.getRandomValues)){var i=new Uint8Array(16);r.getRandomValues(i),i[6]=15&i[6]|64,i[8]=63&i[8]|128;var a,o=(0,n.Z)(i);try{for(o.s();!(a=o.n()).done;)1===(e=a.value.toString(16)).length?t+="0"+e:t+=e}catch(e){o.e(e)}finally{o.f()}}else{for(var s=new Array(4),l=(0,d.r)().uint32,c=0;c<=3;c++)s[c]=l();s[1]=(4294905855&s[1]|16384)>>>0,s[2]=(1073741823&s[2]|2147483648)>>>0;for(var u=0,p=s;u<p.length;u++){for(e=p[u].toString(16);e.length<8;)e="0"+e;t+=e}}return t}},{key:"requestWithRetryP",value:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=0,o=h.Deferred(),s=function(){return a>i?o.reject.apply(o,arguments):(0!==a&&p.Z.report("retryRequestP"),this.requestP(e,t,r,n).done((function(){return o.resolve.apply(o,arguments)})).fail((function(){return++a,s()})))}.bind(this);return s(),o.promise()}},{key:"safeToJSPromise",value:function(e){return new Promise((function(t,r){return e.done((function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return t(r)})).fail((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r(t)}))}))}},{key:"requestJP",value:function(){return this.safeToJSPromise(this.requestP.apply(this,arguments))}},{key:"requestP",value:function(e,t,n){var i,a=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},s=!1;if(c.Z.is_enabled("debug")&&r._forceFailNextRequest||null!==u.Z&&void 0!==u.Z&&u.Z.doRandomFailure(t))return r._forceFailNextRequest=!1,console.error(t),h.Deferred().reject("debugForcedFailure",-1).promise();if(m.Z.isServiceDown(this.serviceKey))return i=h.Deferred(),setTimeout((function(){return i.reject()}),0),i.promise();var l,p,d=o.headers,v=o.contentType,g=o.async,f=o.responseType,b=o.cancelPromise;null==g&&(g=!0);var y=!f||""===f||"text"===f;y&&!o.hasOwnProperty("contentType")&&null==v&&(v="application/json;charset=utf-8"),i=h.Deferred();var _=new XMLHttpRequest;for(var w in _.open(e,t||this.href,!0===g),null!=f&&(_.responseType=f),_.setRequestHeader("X-Requested-With","XMLHttpRequest"),d){var k=d[w];null!=k&&_.setRequestHeader(w,k)}if(null!=window.FormData&&n instanceof window.FormData||n instanceof Blob?(p=function(e){return i.notify(e)},_.upload.addEventListener("progress",p),n instanceof Blob&&_.setRequestHeader("Content-Type",v)):null!=v&&_.setRequestHeader("Content-Type",v),m.Z.makingRequest(),_.send(n),null!=b&&b.then((function(){return s=!0,_.abort(),i.reject("aborted")})),window.ActiveXObject){var Z=function(){if(_.onreadystatechange=null,4!==_.readyState)return _.abort()};l=function(){return _.onreadystatechange=null,null!=p&&_.upload.removeEventListener("progress",p),h(window).off("unload",Z)},h(window).on("unload",Z)}var x=function(){if(null!=x&&4===_.readyState){var e,r;x=null,null===(e=l)||void 0===e||e();var o=_.status,c=o>=200&&o<300||304===o;if(y&&"string"==typeof _.responseText)try{n="application/rdf+xml"===_.getResponseHeader("Content-Type")?_.responseText:h.parseJSON(_.responseText.replace("while (1) {}",""))}catch(e){}else n=_.response;if(c)r=i.resolve;else{if(null!=_){var u=_.getResponseHeader("x-request-id");o>=400&&o<500?null!=u&&u.length>0&&console.warn("".concat(o," request id: ").concat(u," (4xx responses are common for some API calls, especially when polling for renditions or attempting to add duplicate photos)")):null!=u&&u.length>0&&console.error("Failed request id: ".concat(u))}r=i.reject}if(r(n,o,_),a._isAuthError(n,o,_)&&a._onAuthError(),a._isOzMaintenanceError(n,o,_)){if(null==t&&(t=a.href),t.includes("sdk"))return i.reject({code:n.code});if(!t.includes("v2/spaces"))return a._onOzMaintenanceError()}else if((o>=500||0===o)&&!s)return m.Z.checkService(a.serviceKey)}};return g?4===_.readyState?setTimeout(x):_.onreadystatechange=x:x(),i.promise()}}]),r}(l.Z);v.debugForceFailNextRequest=function(){c.Z.is_enabled("debug")&&(v._forceFailNextRequest=!0)},v.prototype.serviceKey="base";const g=v},772076:(e,t,r)=>{"use strict";r.d(t,{Z:()=>C});var n,i,a,o,s,l=r(668962),c=r(749886),u=r(282466),p=r(143681),d=r(89211),m=r(673136),h=r(491464),v=r(548967),g=(r(573467),r(693508),r(290671),r(816221),r(17938),r(653960),r(913688),r(112957)),f=r(41332),b=r(819218),y=r(189256),_=null,w=null,k=[],Z=(n=(0,p.Z)((function e(t){(0,d.Z)(this,e),(0,u.Z)(this,"serviceDown",i,this),(0,u.Z)(this,"statusCheckHref",a,this),this.statusCheckHref=t,this.polling=!1,this.downCycleCount=0})),i=(0,m.Z)(n.prototype,"serviceDown",[v.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,m.Z)(n.prototype,"statusCheckHref",[v.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n);k={oz:new Z("".concat(y.Z.hostOverride,"/v2/version"))},y.Z.watch((function(e){k.oz.statusCheckHref="".concat(e.hostOverride,"/v2/version")}));var x=function(){var e;return null===(e=w)||void 0===e?void 0:e.networkStatusChanged()},S=!navigator.onLine,$=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];null!=k[e]&&k[e].serviceDown!==t&&(k[e].serviceDown=t,r&&x())};window.addEventListener("DOMContentLoaded",(function(){b.Z.mobile||(window.addEventListener("offline",(function(){S||(S=!0,x())})),window.addEventListener("online",(function(){if(S){for(var e in S=!1,k)"oz"!==e&&$(e,!1);w.checkService("oz"),x()}})))}));var A=(o=(0,h.Z)(5e3),s=function(e){(0,l.Z)(r,e);var t=(0,c.Z)(r);function r(){var e;return(0,d.Z)(this,r),(e=t.call(this))._requestsActive=!1,e.setRequestsActive(!0),e}return(0,p.Z)(r,[{key:"makingRequest",value:function(){this.setRequestsActive(!0),this._waitForIdle()}},{key:"_waitForIdle",value:function(){this.setRequestsActive(!1)}},{key:"setRequestsActive",value:function(e){this._requestsActive&&!e?(f.Z.is_enabled("debug")&&console.log("[[ Service Requests Idle ]]"),this.trigger("requests-idle")):!this._requestsActive&&e&&(f.Z.is_enabled("debug")&&console.log("[[ Service Requests Active ]]"),this.trigger("requests-active")),this._requestsActive=e}},{key:"registerApp",value:function(e){_=e}},{key:"isServiceUnreliable",value:function(e){return this.isServiceDown(e)||this.isPollingService(e)}},{key:"isServiceDown",value:function(e){return!!S||"base"!==e&&(null!=k[e]?k[e].serviceDown:((f.Z.is_enabled("debug")||f.Z.is_enabled("automation"))&&alert("Tried to get status for unknown service [".concat(e,"]")),!1))}},{key:"debugSetServiceDown",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];k[e].serviceDown=t,x()}},{key:"isNetworkDown",value:function(){return S}},{key:"isPollingService",value:function(e){return!0===k[e].polling}},{key:"reset",value:function(){for(var e=0,t=Object.values(k);e<t.length;e++){var r=t[e];r.polling=!1,r.serviceDown=!1}}},{key:"checkService",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("base"!==e){var r=k[e];t?r.downCycleCount=0:r.serviceDown||r.downCycleCount++,r.downCycleCount>=3?r.polling||r.serviceDown||(r.serviceDown=!0,x()):function(e){if(!S&&null!=k[e]&&!k[e].polling){k[e].polling=!0;var t=0;!function r(){(function(e){return new Promise((function(t,r){var n=k[e],i=n.statusCheckHref,a=new XMLHttpRequest;a.onload=function(){!1===n.polling&&!1===n.serviceDown||(n.polling=!1,$(e,!1,!1),x(),t())},a.onerror=function(){$(e,!0),r()},a.open("GET",i),a.setRequestHeader("X-LrWeb-Check","status"),a.send()}))})(e).catch((function(){if(S)return k[e].polling=!1,void x();10==++t?(k[e].polling=!1,x()):setTimeout((function(){r()}),5e3)}))}(),x()}}(e)}}},{key:"networkStatusChanged",value:function(){var e;null===(e=_)||void 0===e||e.networkStatusChanged(),this.trigger("network-status-changed")}},{key:"whenServiceAvailableP",value:function(e){var t=this;return this.isServiceDown(e)?new Promise((function(r,n){t.on("network-status-changed",(function n(){t.isServiceDown(e)||(t.off("network-status-changed",n),r())}))})):Promise.resolve()}}]),r}(g.Z),(0,m.Z)(s.prototype,"_waitForIdle",[o],Object.getOwnPropertyDescriptor(s.prototype,"_waitForIdle"),s.prototype),s);w=new A,f.Z.is_enabled("debug")&&(window.ServiceStatus=w);const C=w},45632:()=>{},252056:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(89211),i=r(143681),a=r(783754),o=r(630647),s=function(){function e(t,r,i){(0,n.Z)(this,e),this.code=t,this.zstringData=r,this.cldrLocale=i}return(0,i.Z)(e,[{key:"activate",value:function(){console.log("Activating language pack: ".concat(this.code)),o.Z.locale=this.code,o.Z.translations=this.zstringData.translations,a.Z.data=this.cldrLocale}}]),e}()},544550:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>o});var n=r(252056),i=r(45632);const a=JSON.parse('{"calendar":{"dateFormats":{"full":"EEEE, MMMM d, y","long":"MMMM d, y","medium":"MMM d, y","short":"M/d/yy"},"timeFormats":{"full":"h:mm:ssa zzzz","long":"h:mm:ssa z","medium":"h:mm:ssa","short":"h:mma"},"dateTimeFormats":{"full":"{1} \'at\' {0}","long":"{1} \'at\' {0}","medium":"{1}, {0}","short":"{1}, {0}","availableFormats":{"yMMM":"MMM y","yMMMM":"MMMM y"},"intervalFormats":{"yMMMEd":{"d":"E, MMM d – E, MMM d, y","M":"E, MMM d – E, MMM d, y","y":"E, MMM d, y – E, MMM d, y"},"yMMMd":{"d":"MMM d – d, y","M":"MMM d – MMM d, y","y":"MMM d, y – MMM d, y"},"yMd":{"d":"M/d/y – M/d/y","M":"M/d/y – M/d/y","y":"M/d/y – M/d/y"}}},"months":{"format":{"abbreviated":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"wide":["January","February","March","April","May","June","July","August","September","October","November","December"]},"stand-alone":{"narrow":["J","F","M","A","M","J","J","A","S","O","N","D"]}},"days":{"format":{"abbreviated":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"short":["Su","Mo","Tu","We","Th","Fr","Sa"],"wide":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},"stand-alone":{"narrow":["S","M","T","W","T","F","S"]}},"dayPeriods":{"format":{"midnight":"midnight","am":"AM","am-variant":"am","noon":"noon","pm":"PM","pm-variant":"pm","morning1":"in the morning","afternoon1":"in the afternoon","evening1":"in the evening","night1":"at night"},"stand-alone":{"midnight":"midnight","am":"AM","noon":"noon","pm":"PM","morning1":"morning","afternoon1":"afternoon","evening1":"evening","night1":"night"}}},"fields":{"year":{"pastRelativeTime":["{0} year ago","{0} years ago"]},"month":{"pastRelativeTime":["{0} month ago","{0} months ago"]},"week":{"pastRelativeTime":["{0} week ago","{0} weeks ago"]},"day":{"pastRelativeTime":["{0} day ago","{0} days ago"]},"hour":{"pastRelativeTime":["{0} hour ago","{0} hours ago"]},"minute":{"pastRelativeTime":["{0} minute ago","{0} minutes ago"]},"second":{"pastRelativeTime":["{0} second ago","{0} seconds ago"]}},"timeZoneNames":{"gmtFormat":"GMT{0}","hourFormat":"+HH:mm;-HH:mm"}}'),o=new n.Z("en-US",i,a)},826054:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(846031);r(468247),r(587621),r(558901),r(276839),r(290671),r(816221),r(17938);const i=function(e,t){var r=t.trim(),i=(r=(r=r.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),a=e;e.payload&&e.attributes&&(a=null!=e.payload()[i[0]]?e.payload():e.attributes);var o,s=(0,n.Z)(i);try{for(s.s();!(o=s.n()).done;){var l=o.value;if(null==a[l])return"";a=a[l]}}catch(e){s.e(e)}finally{s.f()}return null!=a?a:""}},184946:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(89211),i=r(143681),a=function(){function e(){(0,n.Z)(this,e)}return(0,i.Z)(e,null,[{key:"calculateFriendlyTemporalValues",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.duration,n=t.inPoint,i=t.temporalFraction,a=void 0===i?e.TEMPORAL_FRACTION_DEFAULT:i;return{trimStart:null!=n?n/a:null,trimEnd:null!=r?(n+r)/a:null}}}]),e}();a.TEMPORAL_FRACTION_DEFAULT=1e8},669756:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(89211),i=r(143681),a=(r(573467),r(693508),function(){function e(){var t=this;(0,n.Z)(this,e),e.readyJP=new Promise((function(e){t._readyResolve=e}))}return(0,i.Z)(e,[{key:"setGetTokenMethod",value:function(e){this.getTokenMethod=e}},{key:"setAuthReady",value:function(){this.isReady=!0,this._readyResolve()}},{key:"getToken",value:function(){if(null!=this.getTokenMethod)return this.getTokenMethod()}},{key:"readyJP",get:function(){return e.readyJP}},{key:"signedIn",get:function(){return null!=this.getToken()}}]),e}());a.readyJP=void 0,a.isReady=!1;const o=new a},363111:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(41332);const i=function(e){return n.Z.is_enabled("automation")?e:void 0}},167331:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var n,i,a=r(282466),o=r(89211),s=r(143681),l=r(673136),c=r(548967),u=(r(587621),r(558901),r(531072),r(923304),r(573467),r(328614),r(276839),r(630647));const p=new(n=function(){function e(){(0,o.Z)(this,e),(0,a.Z)(this,"data",i,this)}return(0,s.Z)(e,[{key:"formatDateAgo",value:function(e){var t=(new Date-e)/1e3;return this.formatSecondsAgo(t)}},{key:"formatSecondsAgo",value:function(e,t){null==t&&(t=!1);var r,n,i,a,o=this._getLocale().fields;return e<60?(r=e,n="second",i="$$$/js/viewer/loupe/sidebar/timestamp/seconds_ago={x} s"):e<3600?(r=e/60,n="minute",i="$$$/js/viewer/loupe/sidebar/timestamp/minutes_ago={x} m"):e<86400?(r=e/3600,n="hour",i="$$$/js/viewer/loupe/sidebar/timestamp/hours_ago={x} h"):e<2592e3?(r=e/86400,n="day",i="$$$/js/viewer/loupe/sidebar/timestamp/days_ago={x} d"):e<31536e3?(r=e/2592e3,n="month",i="$$$/js/viewer/loupe/sidebar/timestamp/months_ago={x} M"):(r=e/31536e3,n="year",i="$$$/js/viewer/loupe/sidebar/timestamp/years_ago={x} Y"),r=Math.floor(r),t?(0,u.zt)(i,{x:r}):(a=o[n].pastRelativeTime,(a=1===r||1===a.length?a[0]:a[1]).replace("{0}",r))}},{key:"formatDateRange",value:function(e,t,r){var n;n="full"===r?"yMMMEd":"short"===r?"yMd":"yMMMd";var i,a=this._getLocaleCalendar().dateTimeFormats.intervalFormats[n];if(t<e){var o=t;t=e,e=o}if(e.getFullYear()===t.getFullYear())if(e.getMonth()===t.getMonth()){if(e.getDay()===t.getDay())return this.formatDate(e,r);i="d"}else i="M";else i="y";var s=a[i];return this._fillPattern(s,e,t)}},{key:"formatDateTime",value:function(e,t){var r=this._getLocaleCalendarPattern("dateTime",t);return r=(r=r.replace("{0}",this._getLocaleCalendarPattern("time",t))).replace("{1}",this._getLocaleCalendarPattern("date",t)),this._fillPattern(r,e)}},{key:"formatTime",value:function(e,t){var r=this._getLocaleCalendarPattern("time",t);return this._fillPattern(r,e)}},{key:"formatDate",value:function(e,t){var r=this._getLocaleCalendarPattern("date",t);return this._fillPattern(r,e)}},{key:"formatShortYearMonth",value:function(e){var t=this._getLocaleCalendar().dateTimeFormats.availableFormats.yMMM,r=this._fillPattern(t,e);return r[0].toUpperCase()+r.substr(1)}},{key:"formatWideYearMonth",value:function(e){var t,r=this._getLocaleCalendar().dateTimeFormats.availableFormats.yMMMM;return(t=r?this._fillPattern(r,e):this.formatShortYearMonth(e))[0].toUpperCase()+t.substr(1)}},{key:"getMonthField",value:function(e,t){var r=this._getLocaleCalendar().months;return t=t||"wide",(r["stand-alone"][t]||r.format[t])[e]}},{key:"getDayField",value:function(e,t){var r=this._getLocaleCalendar().days;return t=t||"wide",(r["stand-alone"][t]||r.format[t])[e]}},{key:"_getLocale",value:function(){return this.data}},{key:"_getLocaleCalendar",value:function(){return this._getLocale().calendar}},{key:"_getLocaleCalendarPattern",value:function(e,t){return"date"===e||"dateTime"===e?"spectrum-custom-compact"===t?t="medium":"spectrum-full"===t&&(t="full"):"time"===e&&("spectrum-custom-compact"!==t&&"spectrum-full"!==t||(t="short")),this._getLocaleCalendar()[e+"Formats"][t||"long"]||""}},{key:"_fillPattern",value:function(e,t,r){var n,i=t,a=this._getLocaleCalendar(),o=this._getLocale().timeZoneNames;if(r){var s,l,c=e.replace(/'(''|[^'])*'/g,"").match(/([a-zA-z])\1*/g);e:for(h=0;h<c.length;h++)for(l=c[h],s=h+1;s<c.length;s++)if(l===c[s]){n=l;break e}}for(var u=function(e,t){for(var r=t-(e=e.toString()).length,n="",i=0;i<r;i++)n+="0";return n+e},p=function(e,s){var l=e.length;switch(e===n&&(i===t?t=void 0:i=r),s){case"h":case"H":var c=i.getHours();return"h"===s&&(c>11&&(c-=12),0===c&&(c=12)),2===l?u(c,2):c;case"m":case"s":var p="m"===s?i.getMinutes():i.getSeconds();return 2===l?u(p,2):p;case"a":var d=a.dayPeriods.format,m=i.getHours()<12?"am-variant":"pm-variant";return d.hasOwnProperty(m)||(m="am-variant"===m?"am":"pm"),a.dayPeriods.format[m];case"y":var h=i.getFullYear();switch(l){case 1:return h;case 2:return h.toString().substr(-2)}break;case"M":case"L":if(1===l)return i.getMonth()+1;if(2===l)return u(i.getMonth()+1,2);case"E":case"c":var v;if(3===l?v="abbreviated":4===l?v="wide":5===l&&(v="narrow"),v){var g,f=a["M"===s||"L"===s?"months":"days"];if("M"===s||"E"===s?(g=f.format[v])||(g=f["stand-alone"][v]):(g=f["stand-alone"][v])||(g=f.format[v]),p=g["M"===s||"L"===s?i.getMonth():i.getDay()])return p}break;case"d":return p=i.getDate(),2===l?u(p,2):p;case"z":case"v":var b=i.getTimezoneOffset();if(0===b)return o.gmtZeroFormat||o.gmtFormat.replace("{0}","");var y=o.gmtFormat,_=o.hourFormat.split(";",2),w=b<0?_[0]:_[1],k=Math.abs(b),Z=(c=Math.floor(k/60),k%60);return w=(w=(w=(w=w.replace("HH",u(c,2))).replace("H",c)).replace("mm",u(Z,2))).replace("m",Z),y.replace("{0}",w)}return""},d=e.match(/(^|''|[^'])+/g),m="",h=0;h<d.length;h++){var v=d[h];m+=h%2==0?v.replace(/([a-zA-z])\1*/g,p):v}return m.replace("''","'")}}]),e}(),i=(0,l.Z)(n.prototype,"data",[c.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n)},41332:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var n,i,a=r(760567),o=r(846031),s=r(282466),l=r(89211),c=r(143681),u=r(673136),p=r(548967),d=(r(290671),r(816221),r(17938),r(593798),r(886023),r(639452)),m=r(330918),h=r.n(m),v=new(n=function(){function e(){(0,l.Z)(this,e),(0,s.Z)(this,"features",i,this);var t,r=this.features,n=(0,o.Z)(h());try{for(n.s();!(t=n.n()).done;){var c=t.value;r.add(c)}}catch(e){n.e(e)}finally{n.f()}var u,p,d=null!==(u=window.MidwayFeatures)&&void 0!==u?u:null===(p=window.PageResources)||void 0===p?void 0:p.features.enabled_features;if(d)for(var m=0,v=Object.entries(d);m<v.length;m++){var g=(0,a.Z)(v[m],2),f=g[0],b=g[1];this._override(f,b)}}return(0,c.Z)(e,[{key:"is_enabled",value:function(e){return this.features.has(e)}},{key:"all_enabled",value:function(){return Array.from(this.features)}},{key:"prerelease_enabled",value:function(){var e,t;return!0===(null===(e=window)||void 0===e||null===(t=e.PageResources)||void 0===t?void 0:t.features.prerelease)}},{key:"prerelease_features",value:function(){var e,t;return null===(e=window)||void 0===e||null===(t=e.PageResources)||void 0===t?void 0:t.features.prerelease_hash}},{key:"_override",value:function(e,t){"string"!=typeof e||e.length<1||(t?this.features.add(e):this.features.delete(e))}}]),e}(),i=(0,u.Z)(n.prototype,"features",[p.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new d.Z}}),n);window.Feature=v;const g=v},128894:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>_});var n=r(85663),i=r(934331),a=r(829293),o=r(89211),s=r(143681),l=(r(573467),r(693508),r(587621),r(558901),r(255187),r(203454),r(35812),r(508460),r(936963),r(923304),r(757043)),c=r(772280),u=r(962843),p=r(41332),d=r(253544),m=r(882660),h=r(102705);r(816221),r(290671),r(17938),r(990665),r(108882),r(328614);const v=function(e){if(e)return(e instanceof URL?e:new URL(e,window.location.href)).toString()};var g=r(669756),f=r(74462).Z,b=new c.Z,y=function(){function e(){var t=this;if((0,o.Z)(this,e),this.callbacks={},f.sdk||f.embed)e.readyJP=Promise.resolve(),this.readyOrRenderTimeoutDeferred=new u.Z,this.readyOrRenderTimeoutDeferred.resolve();else{this.readyOrRenderTimeoutDeferred=new u.Z,this.renderTimeout=!1,setTimeout((function(){g.Z.isReady||(t.renderTimeout=!0,t.readyOrRenderTimeoutDeferred.resolve())}),2e3);var r=window.location.hostname,n=document.documentElement.lang.replace("-","_"),i=m.hostnames,s=m.scope,c=i[r]||i.default,d=c.client_id,h=c.env,v={client_id:d,locale:n,scope:s,autoValidateToken:!0===window.imsForceValidateToken,environment:h};g.Z.setGetTokenMethod((function(){return t.getToken()})),e.readyJP=new Promise((function(r,n){var i=(0,a.Z)((0,a.Z)({},v),{},{onReady:function(){if(o.isSignedInUser()){var n=o.getAccessToken(),i=n.token,a=n.expire;if(e.setSignedIn(i,a),!t.isSignedIn()&&"/cookies"!==window.location.pathname)return void(window.location.href="/cookies")}else e.setSignedOut();p.Z.is_enabled("debug_delay_ims_ready")?setTimeout((function(){return r(o)}),5e3):r(o)},onError:function(t,r){console.error("login status error:",t,r),e.setSignedOut(),n()}}),o=new l.AdobeIMS(i);t.adobeid=i,t.adobeIMS=o,o.initialize()})),e.readyJP.then((function(){t.renderTimeout||t.readyOrRenderTimeoutDeferred.resolve(),g.Z.setAuthReady()})).catch((function(){t.renderTimeout||t.readyOrRenderTimeoutDeferred.reject()}))}}var t,r,c;return(0,s.Z)(e,[{key:"checkEduPrivacySettings",value:(c=(0,i.Z)((0,n.Z)().mark((function e(){var t,r;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getProfileJP();case 2:if(t=e.sent,null!=(r=t.tags)){e.next=6;break}return e.abrupt("return");case 6:(r.includes("edu")||r.includes("edu_k12")||r.includes("edu_hed"))&&h.Z.updateSettingsForEduAccount();case 7:case"end":return e.stop()}}),e,this)}))),function(){return c.apply(this,arguments)})},{key:"readyJP",get:function(){return e.readyJP}},{key:"readyOrRenderTimeoutJP",get:function(){return this.readyOrRenderTimeoutDeferred.promise}},{key:"locale",set:function(e){var t;this.adobeid?this.adobeid.locale=e.replace("-","_"):null!==(t=window)&&void 0!==t&&t.adobeid&&(window.adobeid.locale=e.replace("-","_"))}},{key:"on",value:function(e,t){var r,n;null!==(n=(r=this.callbacks)[e])&&void 0!==n||(r[e]=[]),this.callbacks[e].push(t)}},{key:"isSignedIn",value:function(){return null!=this.getToken()}},{key:"getSigninRedirectUrl",value:function(e){var t=v(e),r=window.location,n=r.hostname,i=r.href;return"https://".concat(n,"/signin?redirect=").concat(encodeURIComponent(null!=t?t:i))}},{key:"signIn",value:function(e){d.Z.flush(),this.adobeIMS.signIn({redirect_uri:this.getSigninRedirectUrl(e)})}},{key:"signOut",value:function(t){var r;this.signingOut||(d.Z.flush(),this.signingOut=!0,e.setSignedOut(),null===(r=this.callbacks.signOut)||void 0===r||r.forEach((function(e){return e()})),t=v(t),this.adobeIMS.signOut({redirect_uri:t}))}},{key:"signUp",value:function(e){d.Z.flush(),null==e?this.adobeIMS.signUp():(e=v(e),this.adobeIMS.signUp({redirect_uri:this.getSigninRedirectUrl(e),el:!0}))}},{key:"socialSignIn",value:function(e,t){d.Z.flush(),null==t?this.adobeIMS.signInWithSocialProvider(e):(t=v(t),this.adobeIMS.signInWithSocialProvider(e,{redirect_uri:this.getSigninRedirectUrl(t)}))}},{key:"getToken",value:function(){return b.get("lrw_token")}},{key:"getTokenJP",value:(r=(0,i.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.readyJP;case 2:if(!this.adobeIMS.isSignedInUser()){e.next=6;break}return e.abrupt("return",this.getToken());case 6:throw new Error("Cannot get token for unauthenticated user");case 7:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"getProfileJP",value:(t=(0,i.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.readyJP;case 2:if(!this.adobeIMS.isSignedInUser()){e.next=15;break}return e.prev=3,e.next=6,this.adobeIMS.getProfile();case 6:return e.abrupt("return",e.sent);case 9:throw e.prev=9,e.t0=e.catch(3),console.error("getProfile error",e.t0),e.t0;case 13:e.next=16;break;case 15:throw new Error("Cannot get profile for unauthenticated user");case 16:case"end":return e.stop()}}),e,this,[[3,9]])}))),function(){return t.apply(this,arguments)})}],[{key:"cookieOptions",get:function(){return{path:"/",secure:!0,domain:window.location.hostname.replace(/^f\d+\./,"")}}},{key:"setSignedIn",value:function(e,t){b.set("lrw_token",e,(0,a.Z)({expires:t},this.cookieOptions))}},{key:"setSignedOut",value:function(){b.remove("lrw_token",this.cookieOptions)}}]),e}();y.readyJP=void 0;const _=new y},253544:(e,t,r)=>{"use strict";r.d(t,{Z:()=>F});var n=r(363073),i=r(85663),a=r(934331),o=r(89211),s=r(143681),l=r(236229),c=r(668962),u=r(749886),p=r(792228),d=r(74424),m=(r(587621),r(558901),r(923304),r(573467),r(328614),r(816221),r(290671),r(17938),r(108882),r(468316),r(378702),r(693508),r(35812),r(127387),r(255187),r(203454),r(367469),r(721141),r(531072),r(112957)),h=r(772280),v=r(808795),g=r.n(v),f=r(189256),b=r(435007),y=r(41332),_=r(630647),w=r(386765),k=r(536978),Z=r(819218),x=r(347458),S=r(163328),$=r(880640),A=r(632603),C=r(669756),T=r(846031),P=r(760567),z=(r(485143),(0,d.Z)("features"));const E=new(function(){function e(){(0,o.Z)(this,e),Object.defineProperty(this,z,{writable:!0,value:new Set}),this.readyJP=y.Z.is_enabled("floodgate")?this.init():Promise.resolve()}var t,r;return(0,s.Z)(e,[{key:"enabled",value:function(e){return(0,p.Z)(this,z)[z].has(e)}},{key:"init",value:(r=(0,a.Z)((0,i.Z)().mark((function e(){var t,r;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=new AbortController,r=setTimeout((function(){return t.abort("TimeoutError")}),5e3),e.prev=2,e.next=5,this._init(t);case 5:e.next=11;break;case 7:e.prev=7,e.t0=e.catch(2),"TimeoutError"===t.signal.reason?F.reportFailure("floodgateTimeoutFailure"):F.reportFailure("floodgateInitFailure"),console.error("floodgate initialization failed",e.t0);case 11:clearTimeout(r);case 12:case"end":return e.stop()}}),e,this,[[2,7]])}))),function(){return r.apply(this,arguments)})},{key:"_init",value:(t=(0,a.Z)((0,i.Z)().mark((function e(t){var r,n,a,o,s,l,c,u,d,m,h,v,g,f;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,C.Z.readyJP;case 2:if(r=C.Z.getToken(),!y.Z.is_enabled("debug_floodgate_timeout")){e.next=6;break}return e.next=6,new Promise((function(e){return setTimeout(e,5500)}));case 6:if(!r){e.next=35;break}return l={"lightroom.adobe.com":["https://p13n.adobe.io","LrWebFloodgateProd"]}[window.location.hostname]||["https://p13n-stage.adobe.io","LrWebFloodgateStage"],c=(0,P.Z)(l,2),u=c[0],d=c[1],e.next=10,fetch("".concat(u,"/fg/api/v3/feature?clientId=").concat(d),{headers:{Authorization:"Bearer ".concat(r),"x-api-key":d},signal:t.signal});case 10:return m=e.sent,e.next=13,m.json();case 13:if(e.t2=a=e.sent,e.t1=null===e.t2,e.t1){e.next=17;break}e.t1=void 0===a;case 17:if(!e.t1){e.next=21;break}e.t3=void 0,e.next=22;break;case 21:e.t3=null===(o=a.releases)||void 0===o||null===(s=o[0])||void 0===s?void 0:s.features;case 22:if(e.t4=n=e.t3,e.t0=null!==e.t4,!e.t0){e.next=26;break}e.t0=void 0!==n;case 26:if(!e.t0){e.next=30;break}e.t5=n,e.next=31;break;case 30:e.t5=[];case 31:h=e.t5,v=(0,T.Z)(h);try{for(v.s();!(g=v.n()).done;)f=g.value,(0,p.Z)(this,z)[z].add(f)}catch(e){v.e(e)}finally{v.f()}y.Z.is_enabled("debug")&&console.log("Floodgate features: ",h.join(","));case 35:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})}]),e}());var O=r(102705),I=r(74462).Z,R=(0,k.Z)("metrics_track:info"),j=(0,k.Z)("metrics_report:info"),N=(0,k.Z)("metrics_verbose:info"),D=new h.Z,L=new URLSearchParams(window.location.search),M=(0,d.Z)("getSanitizedUrl");function B(){var e=window.location,t=new URLSearchParams(e.search);t.delete("code"),t.delete("password");var r=t.size>0?"?".concat(t.toString()):"";return"".concat(e.host).concat(e.pathname).concat(r)}const F=new(function(e){(0,c.Z)(q,e);var t,d,m,h,v,k,T,P,z,F,H,U=(0,u.Z)(q);function q(){var e,t;return(0,o.Z)(this,q),e=U.call(this),Object.defineProperty((0,l.Z)(e),M,{value:B}),I.sdk?e.disabled=!0:(e.disabled=!1,e.setPage(null!==(t=window.metricsPageName)&&void 0!==t?t:"unknown"),e.setViewChangeSource("pageLoad"),e.initPromise=e._initializeJP().then((function(){return e.initPromise=null})).catch((function(e){y.Z.is_enabled("debug")&&console.error("Metrics initialization failed. Error:",e)})),e.reportPageLoad(),e.watch((function(){return _.Z.locale}),(function(t){null!=t&&e._updateLocale()}))),e}return(0,s.Z)(q,[{key:"ingestPage",get:function(){return b.pageNames[this.page]}},{key:"setPage",value:function(e){null!=b.pageNames[e]?(this.page=e,this.wildcardPath||(this.wildcardPath="/")):console.error("Invalid page name key",e)}},{key:"spaPageChanged",value:function(e){this.ingestPage!==b.pageNames[e]&&(this.setPage(e),this.reportPageLoad(!0))}},{key:"_initializeJP",value:(H=(0,a.Z)((0,i.Z)().mark((function e(){return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([new Promise((function(e){return S.Z.complete.push(e)})),_.Z.readyJP,C.Z.readyJP,A.Z.readyJP,O.Z.consentedJP,y.Z.is_enabled("floodgate")?E.readyJP:Promise.resolve()]);case 2:return e.next=4,this._initializeIngestJP();case 4:try{this._debuglogMetricStatus()}catch(e){}case 5:case"end":return e.stop()}}),e,this)}))),function(){return H.apply(this,arguments)})},{key:"_updateLocale",value:function(){var e,t;this._canTrackIngest()&&(this._ingestDefaultPayload["event.language"]=_.Z.getLocaleWithUnderscore()),this._canReportAdobe()&&window.digitalData._set("digitalData.page.pageInfo.language",null!==(e=null===(t=_.Z.locale)||void 0===t?void 0:t.toLowerCase())&&void 0!==e?e:"us")}},{key:"_getImsUtilsJP",value:(F=(0,a.Z)((0,i.Z)().mark((function e(){var t,a;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new n.Z((function(e,t){return Promise.all([r.e(9788),r.e(3763)]).then(r.bind(r,128894)).then(e,t)}));case 2:return t=e.sent,a=t.default,e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)}))),function(){return F.apply(this,arguments)})},{key:"_initializeIngestJP",value:(z=(0,a.Z)((0,i.Z)().mark((function e(){var t,r,n,o,s,l,c,u,p,d,m,h,v,b,y,w;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.disabled){e.next=2;break}return e.abrupt("return");case 2:return t={getAccessToken:function(e){return(0,a.Z)((0,i.Z)().mark((function t(){var r;return(0,i.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,C.Z.readyJP;case 3:r=C.Z.getToken(),t.next=8;break;case 6:t.prev=6,t.t0=t.catch(0);case 8:e(null,r);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})))()},getAgent:function(e,t){t(null,{keepalive:!0})}},this._debugLog&&(t.log=function(e){return N(e)}),r=function(){switch(window.location.hostname){case"lightroom.adobe.com":return"prod";case"stage.adobelr.com":return"stage";default:return"dev"}}(),n="2.0.0",o={ENVIRONMENT:r,ALLOW_NO_TOKEN:!0,ANALYTICS_MAX_QUEUED_EVENTS:100,ANALYTICS_API_KEY:"LightroomMobileWeb1",ANALYTICS_X_PRODUCT:"".concat(window.location.hostname,"/").concat(n),ANALYTICS_PROJECT:"lr-web-service"},this._ingest=new(g())(t,o),this._ingest.enable(!0),this._ingestDefaultPayload={"event.language":_.Z.getLocaleWithUnderscore(),"event.session_guid":"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})),"event.offline":!1,"event.user_agent":navigator.userAgent,"event.category":"WEB","event.referrer":document.referrer,"source.name":"Lightroom","source.platform":"Web","source.device":Z.Z.mobile?"mobile":"desktop","source.version":n},l=[],(s=L).has("sdid")&&l.push("sdid=".concat(s.get("sdid"))),s.has("promoid")&&l.push("promoid=".concat(s.get("promoid"))),null!=(c=f.Z.account)&&(this._ingestDefaultPayload["event.user_guid"]=c.getWCDGuid(),u=E.enabled("twp_unconverted")?"subscriber_twp":c.getStatus(),this._ingestDefaultPayload["user.service_level"]=u),e.next=18,this._getImsUtilsJP();case 18:if(p=e.sent,null!=(null==(d=p.adobeid)?void 0:d.client_id)&&(this._ingestDefaultPayload["source.client_id"]=d.client_id),I.sdk){e.next=30;break}return e.prev=22,e.next=25,p.getProfileJP();case 25:m=e.sent,e.next=30;break;case 28:e.prev=28,e.t0=e.catch(22);case 30:return null!=m&&null!=(v=null===(h=m.serviceAccounts)||void 0===h?void 0:h[0])&&(this._ingestDefaultPayload["user.service_code"]=v.serviceCode),e.next=33,Promise.all([A.Z.readyJP,$.Z.readyJP]);case 33:return null!=$.Z.code&&(this._ingestDefaultPayload["custom.country_code"]=$.Z.code),null!=D.get("lrig")&&(this._ingestDefaultPayload["event.context_guid"]="internal"),e.next=37,A.Z.loadVisitorGuid();case 37:if(null!=(b=e.sent)&&(this._ingestDefaultPayload["event.visitor_guid"]=b),l.length>0&&(this._ingestDefaultPayload["exp.campaign_id"]=l.join("&")),this._debugLog)for(y in N("Ingest common variables:"),this._ingestDefaultPayload)w=this._ingestDefaultPayload[y],N("\t".concat(y,": ").concat(w));case 41:case"end":return e.stop()}}),e,this,[[22,28]])}))),function(){return z.apply(this,arguments)})},{key:"setAdobePageVariables",value:function(e){this.pageVariables=e}},{key:"setNewNavigationContext",value:function(e){this.navView=e,this.contextSequence=1}},{key:"setViewChangeSource",value:function(e){this.viewChangeSource=e}},{key:"reportViewChange",value:function(e,t,r){this.view=e,this.wildcardPath=t,this._reportAdobeViewChange(this.view),this._reportNRViewChange(this.view,this.wildcardPath,r)}},{key:"reportWithView",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this._report(t,e,r)}},{key:"report",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._report(e,this.view,t)}},{key:"track",value:function(e,t,r){for(var n,i,a=arguments.length,o=new Array(a>3?a-3:0),s=3;s<a;s++)o[s-3]=arguments[s];if(1===o.length){var l=o[0];"string"==typeof l||l instanceof String?n=l:i=l}else o.length>1&&(n=o[0],i=o[1]);this._track(e,t,r,n,i)}},{key:"_debuglogMetricStatus",value:function(){var e=this;y.Z.is_enabled("debug")&&(null!=this.debugLogTimeout&&clearTimeout(this.debugLogTimeout),this.debugLogTimeout=setTimeout((function(){console.group("Metrics State"),console.log("Adobe metrics (Launch) enabled : ",e._canReportAdobe()),console.log("NewRelic metrics enabled: ",e._canReportNewrelic()),console.log("Ingest metrics enabled: ",null!=e._ingest),console.groupEnd(),e.debugLogTimeout=null}),500))}},{key:"reportAdobeOnly",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._report(e,this.view,t,"adobe")}},{key:"reportNROnly",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._report(e,this.view,t,"newrelic")}},{key:"reportPageLoad",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];try{var t=this.page,r=this.ingestPage;if(null!=t){var n=(0,p.Z)(this,M)[M]();"Landing"===r?this.track(r,"Default","page","render",{"event.url":n}):this.track("Default","Page",r,"render",{"event.url":n});var i=e;this._reportAdobeViewChange("".concat(t,"Load"),i),this.flush()}else y.Z.is_enabled("debug")&&console.error("No page name on page load.")}catch(e){console.error("Error: ".concat(e))}}},{key:"reportFailure",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.failure="true",this._report(e,this.view,t)}},{key:"reportClickWithView",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.reportWithView(e,t,r)}},{key:"_debugLog",get:function(){return!this.disabled&&(y.Z.is_enabled("debug_log_metrics_track")||y.Z.is_enabled("debug_log_metrics_report")||y.Z.is_enabled("debug_log_metrics_verbose"))}},{key:"_report",value:(P=(0,a.Z)((0,i.Z)().mark((function e(t,r,n){var a,o,s,l,c,u,p,d=arguments;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=d.length>3&&void 0!==d[3]?d[3]:null,e.prev=1,y.Z.is_enabled("automation")&&(n.automation=!0),!this._debugLog){e.next=17;break}if(!this.initPromise){e.next=13;break}return e.prev=5,e.next=8,this.initPromise;case 8:e.next=13;break;case 10:return e.prev=10,e.t0=e.catch(5),e.abrupt("return");case 13:for(s in o=null!=r?" view[".concat(r,"]"):"",j("".concat("adobe"===a?"Adobe":"newrelic"===a?"NewRelic":"",": [").concat(t,"]").concat(o," path[").concat(this.wildcardPath,"]"),n),n)l=n[s],N("\t\t".concat(s,": ").concat(l));case 17:for(u in null!=a&&"adobe"!==a||this._reportAdobe(t,r,n),null!=a&&"newrelic"!==a||this._reportNR(t,r,n),c={},n)p=n[u],"automation"!==u&&(c["lrw.".concat(u)]=p);null!=a&&"adobe"!==a||this._track("Legacy","Metric",t,"click",c,"ingest"),e.next=27;break;case 24:return e.prev=24,e.t1=e.catch(1),e.abrupt("return",console.log("Error: ".concat(e.t1)));case 27:case"end":return e.stop()}}),e,this,[[1,24],[5,10]])}))),function(e,t,r){return P.apply(this,arguments)})},{key:"_reportNR",value:(T=(0,a.Z)((0,i.Z)().mark((function e(t,r,n){var a,o,s,l;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._canReportNewrelic()){e.next=2;break}return e.abrupt("return");case 2:if(o={page:this.page},!this.initPromise){e.next=12;break}return e.prev=4,e.next=7,this.initPromise;case 7:e.next=12;break;case 9:return e.prev=9,e.t0=e.catch(4),e.abrupt("return");case 12:for(s in null!=r&&(o.view=r),n)l=n[s],o[s]=l;o.visitor_guid=null===(a=window._satellite)||void 0===a?void 0:a.getVisitorId().getMarketingCloudVisitorID(),window.newrelic.addPageAction(t,o);case 16:case"end":return e.stop()}}),e,this,[[4,9]])}))),function(e,t,r){return T.apply(this,arguments)})},{key:"_reportNRViewChange",value:(k=(0,a.Z)((0,i.Z)().mark((function e(t,r,n){var a,o,s,l,c,u,p,d,m,h;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.initPromise){e.next=9;break}return e.prev=1,e.next=4,this.initPromise;case 4:e.next=9;break;case 6:return e.prev=6,e.t0=e.catch(1),e.abrupt("return");case 9:if(a="".concat(window.location.host).concat(r),o=window,s=o.newrelic,l=null==s?void 0:s.interaction(),this._debugLog){for(p in u=[],n)d=n[p],u.push("query-".concat(p,"=").concat(d));null==this.viewChangeSource&&console.warn("No view change source"),j("NewRelic View: view[".concat(t,"], interaction[").concat(a,"], changeSource[").concat(null!==(c=this.viewChangeSource)&&void 0!==c?c:"","] vars[").concat(u.join("&"),"]"))}if(this._canReportNewrelic()){e.next=15;break}return e.abrupt("return");case 15:if(null!=l){e.next=18;break}return this.viewChangeSource=null,e.abrupt("return");case 18:for(m in l.setName(a),l.setAttribute("view",t),null!=this.viewChangeSource&&(l.setAttribute("view-change-source",this.viewChangeSource),this.viewChangeSource=null),n)h=n[m],l.setAttribute("query-".concat(m),h);l.save();case 23:case"end":return e.stop()}}),e,this,[[1,6]])}))),function(e,t,r){return k.apply(this,arguments)})},{key:"_canReport",value:function(){return!this.disabled&&[O.f.CORE,O.f.PERFORMANCE].every((function(e){return O.Z.consentedGroups.includes(e)}))}},{key:"_canReportAdobe",value:function(){return this._canReport()&&null!=window.digitalData&&null!=window._satellite}},{key:"_canReportNewrelic",value:function(){return this._canReport()&&null!=window.newrelic}},{key:"_canTrackIngest",value:function(){return this._canReport()&&null!=this._ingest}},{key:"_initAdobeLaunchGlobals",value:function(){var e,t;this.adobeLaunchGlobalsInitialized||(window.digitalData._set("digitalData.page.pageInfo.siteSection","lightroom.adobe.com"),window.digitalData._set("digitalData.page.pageInfo.language",null!==(e=null===(t=_.Z.locale)||void 0===t?void 0:t.toLowerCase())&&void 0!==e?e:"us"),window.digitalData._set("digitalData.page.pageInfo.legacyMarketSegment","com"),window.digitalData._set("digitalData.lightroom.test","lr_no_test"),window.digitalData._set("digitalData.page.pageInfo.pageName",this.page),window.digitalData._set("digitalData.primaryProduct.productInfo.productName","Lightroom"),this.adobeLaunchGlobalsInitialized=!0)}},{key:"_debugGetDigitalDataPageInfo",value:function(){var e=Object.assign({},window.digitalData.page.pageInfo);return delete e.location,delete e.queryParameters,e}},{key:"_reportAdobe",value:(v=(0,a.Z)((0,i.Z)().mark((function e(t,r,n){var a,o,s,l;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this._canReportAdobe()){e.next=2;break}return e.abrupt("return");case 2:if(!this.initPromise){e.next=11;break}return e.prev=3,e.next=6,this.initPromise;case 6:e.next=11;break;case 8:return e.prev=8,e.t0=e.catch(3),e.abrupt("return");case 11:if(this._initAdobeLaunchGlobals(),window.digitalData._set("digitalData.primaryEvent.eventInfo.eventName","".concat(t)),window.digitalData._set("digitalData.page.attributes",n),window._satellite.track("event",{digitalData:window.digitalData._snapshot()}),this._debugLog)for(s in a=window.digitalData,N("Report Launch event [".concat(t,"]")),o=Object.assign({eventName:a.primaryEvent.eventInfo.eventName},this._debugGetDigitalDataPageInfo(),a.page.attributes),N("\t\tDigitalData",window.digitalData),o)l=o[s],N("\t\t".concat(s,": ").concat(JSON.stringify(l)));window.digitalData._delete("digitalData.primaryEvent.eventInfo.eventName"),window.digitalData._delete("digitalData.page.attributes");case 18:case"end":return e.stop()}}),e,this,[[3,8]])}))),function(e,t,r){return v.apply(this,arguments)})},{key:"_reportAdobeViewChange",value:(h=(0,a.Z)((0,i.Z)().mark((function e(t){var r,n,a,o=arguments;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=o.length>1&&void 0!==o[1]&&o[1],this._canReportAdobe()){e.next=3;break}return e.abrupt("return");case 3:if(n=this.page,!this.initPromise){e.next=13;break}return e.prev=5,e.next=8,this.initPromise;case 8:e.next=13;break;case 10:return e.prev=10,e.t0=e.catch(5),e.abrupt("return");case 13:this._initAdobeLaunchGlobals(),window.digitalData._set("digitalData.page.pageInfo.pageName",n),window.digitalData._set("digitalData.page.pageInfo.template",t),a=r?"state":"event",window._satellite.track(a,{digitalData:window.digitalData._snapshot()}),this._debugLog&&(j("Adobe Launch View: view[".concat(t,"] hierarchy[").concat(this.wildcardPath,"] asPageLoad: ").concat(r)),this._canReportAdobe()||j("\t\tNOT ACTUALLY SENDING"),N("\t\tDigitalData",window.digitalData));case 19:case"end":return e.stop()}}),e,this,[[5,10]])}))),function(e){return h.apply(this,arguments)})},{key:"_track",value:(m=(0,a.Z)((0,i.Z)().mark((function e(t,r,n,a,o){var s,l,c,u,p,d=arguments;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(s=d.length>5&&void 0!==d[5]?d[5]:null,e.prev=1,y.Z.is_enabled("automation")&&(null!==(l=o)&&void 0!==l||(o={}),o.automation=!0,w.q.metricTriggered("".concat(t,":").concat(r,":").concat(n))),c="".concat(null!=t?t:"",":").concat(null!=r?r:"",":").concat(null!=n?n:""),null!=a&&(c+=":".concat(a)),!this._debugLog){e.next=19;break}if(!this.initPromise){e.next=15;break}return e.prev=7,e.next=10,this.initPromise;case 10:e.next=15;break;case 12:return e.prev=12,e.t0=e.catch(7),e.abrupt("return");case 15:for(u in R("".concat("adobe"===s?"Adobe":"newrelic"===s?"NewRelic":"ingest"===s?"Ingest":"",": ").concat(c," path[").concat(this.wildcardPath,"]")),this._canTrackIngest()||R("\t\tNOT ACTUALLY TRACKING"),o)p=o[u],R("\t\t".concat(u,": ").concat(p));case 19:null!=s&&"adobe"!==s||this._reportAdobe(c,this.view,o),null!=s&&"newrelic"!==s||this._reportNR(c,this.view,o),null!=s&&"ingest"!==s||this._trackIngest(t,r,n,a,o),e.next=27;break;case 24:return e.prev=24,e.t1=e.catch(1),e.abrupt("return",console.error("Error: ".concat(e.t1)));case 27:case"end":return e.stop()}}),e,this,[[1,24],[7,12]])}))),function(e,t,r,n,i){return m.apply(this,arguments)})},{key:"_trackIngest",value:(d=(0,a.Z)((0,i.Z)().mark((function e(t,r,n,a,o){var s,l,c;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.initPromise){e.next=9;break}return e.prev=1,e.next=4,this.initPromise;case 4:e.next=9;break;case 6:return e.prev=6,e.t0=e.catch(1),e.abrupt("return");case 9:if(this._canTrackIngest()){e.next=11;break}return e.abrupt("return");case 11:s=x.Z.extend(!0,{},this._ingestDefaultPayload),s=x.Z.extend(s,o),null!=n&&(s["event.subtype"]=n.toLowerCase().replace(/[^a-z\-]/,"")),null!=r&&(s["event.subcategory"]=r),null!=a&&(s["event.type"]=a.toLowerCase().replace(/[^a-z\-]/,"")),null!=t&&(s["event.workflow"]=t),y.Z.is_enabled("debug")&&"Legacy"!==t&&(null!=a&&(l=Boolean(a.match(/[^a-z\-]/))),null!=n&&(c=Boolean(n.match(/[^a-z\-]/))),(l||c)&&console.warn("invalid metric format",{type:a,action:n})),this._ingestDefaultPayload["event.contextSequence"]=this.contextSequence++,this._ingest.postEvent(s);case 20:case"end":return e.stop()}}),e,this,[[1,6]])}))),function(e,t,r,n,i){return d.apply(this,arguments)})},{key:"flush",value:function(){this._flush()}},{key:"_flush",value:(t=(0,a.Z)((0,i.Z)().mark((function e(){var t;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.initPromise){e.next=9;break}return e.prev=1,e.next=4,this.initPromise;case 4:e.next=9;break;case 6:return e.prev=6,e.t0=e.catch(1),e.abrupt("return");case 9:null===(t=this._ingest)||void 0===t||t.flush(!0);case 10:case"end":return e.stop()}}),e,this,[[1,6]])}))),function(){return t.apply(this,arguments)})}]),q}(m.Z))},102705:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m,f:()=>p});var n=r(85663),i=r(846031),a=r(934331),o=r(89211),s=r(143681),l=(r(573467),r(693508),r(111519),r(255187),r(203454),r(587621),r(276839),r(888784),r(558901),r(356803),r(35812),r(635105),r(8856),r(819785),r(290671),r(816221),r(17938),r(41332)),c=r(163328),u=new(r(772280).Z),p={CORE:"C0001",PERFORMANCE:"C0002",EXTEND:"C0003",ADVERTISING:"C0004"},d=function(){function e(){var t,r,n,i;(0,o.Z)(this,e),null!==(t=window.adobePrivacy)&&void 0!==t&&t.hasUserProvidedConsent()?(e.consented=!0,e.consentedGroups=null!==(r=null===(n=window.adobePrivacy)||void 0===n||null===(i=n.activeCookieGroups)||void 0===i?void 0:i.call(n))&&void 0!==r?r:[],e.consentedJP=Promise.resolve()):e.consentedJP=new Promise((function(t,r){var n=function(){var r,n,i;e.consented=!0,e.consentedGroups=null!==(r=null===(n=window.adobePrivacy)||void 0===n||null===(i=n.activeCookieGroups)||void 0===i?void 0:i.call(n))&&void 0!==r?r:[],t(),l.Z.is_enabled("prevent_privacy_cleanup")||a()},i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"privacy not consented";e.consented=!1,e.consentedGroups=[],r(t),l.Z.is_enabled("prevent_privacy_cleanup")||a()},a=function(){window.removeEventListener("adobePrivacy:PrivacyConsent",n),window.removeEventListener("adobePrivacy:PrivacyReject",i),window.removeEventListener("adobePrivacy:PrivacyCustom",n)};window.addEventListener("adobePrivacy:PrivacyConsent",n),window.addEventListener("adobePrivacy:PrivacyReject",i),window.addEventListener("adobePrivacy:PrivacyCustom",n),c.Z.interactive.push((function(){if(null==window.adobePrivacy){if(l.Z.is_enabled("automation"))return;i("privacy script did not load")}}))})),l.Z.is_enabled("debug")&&e.consentedJP.finally((function(){null==window.adobePrivacy?console.log("Privacy Status: script not loaded (not on VPN?)"):e.consented?console.log("Privacy Status: consented"):console.log("Privacy Status: rejected")})).catch((function(){}))}var t;return(0,s.Z)(e,[{key:"consented",get:function(){return e.consented}},{key:"consentedJP",get:function(){return e.consentedJP}},{key:"consentedGroups",get:function(){return e.consentedGroups}},{key:"updateSettingsForEduAccount",value:(t=(0,a.Z)((0,n.Z)().mark((function t(){var r,a,o,s,c,p,d,m,h,v,g,f,b,y,_,w;return(0,n.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.consentedJP;case 3:t.next=9;break;case 5:if(t.prev=5,t.t0=t.catch(0),null!=window.adobePrivacy){t.next=9;break}return t.abrupt("return");case 9:if(window.adobePrivacy.activeCookieGroups().includes("C0004")&&null!=document.cookie){r="OptanonConsent",a=function(e){return document.cookie.split("".concat(e,"="))[1].split(";")[0]};try{!(o=a(r))||-1===o.indexOf("C0004:1")&&-1===o.indexOf("C0004%3A1")||(s=o.replace("C0004:1","C0004:0").replace("C0004%3A1","C0004%3A0"),c=new Date((new Date).setFullYear((new Date).getFullYear()+1)),p=window.location.hostname,d=p.endsWith(".adobe.com")?".adobe.com":p,m="; expires="+c.toUTCString(),h="; domain= ".concat(d),v="".concat(r,"=").concat(s).concat(m).concat(h).concat("; path=/").concat("; SameSite=Lax"),document.cookie=v)}catch(e){console.error("Error updating cookie",e)}}return t.next=13,window.adobePrivacy.loadOneTrust();case 13:if(null!=window.Optanon){g=window.Optanon.GetDomainData().Groups,f=g.find((function(e){return"C0004"===e.OptanonGroupId})),b=f.Cookies.map((function(e){return e.Name})).sort(),y=(0,i.Z)(b);try{for(y.s();!(_=y.n()).done;){w=_.value,l.Z.is_enabled("debug")&&console.log("deleting marketing cookie ".concat(w));try{u.remove(w)}catch(e){console.error("error removing cookie '".concat(w,"'"))}}}catch(e){y.e(e)}finally{y.f()}}case 14:case"end":return t.stop()}}),t,null,[[0,5]])}))),function(){return t.apply(this,arguments)})}]),e}();d.consented=void 0,d.consentedGroups=[],d.consentedJP=void 0;const m=new d},572623:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(89211),i=r(143681),a=r(41332),o=r(90542);const s=new(function(){function e(){(0,n.Z)(this,e)}return(0,i.Z)(e,[{key:"width",get:function(){return null==this.scrollBarWidth&&this.calculateScrollBarWidth(),this.scrollBarWidth}},{key:"calculateScrollBarWidth",value:function(){var e=window.document.createElement("div");window.document.body.appendChild(e),e.className=o.Z.test_outer;var t=window.document.createElement("div");e.appendChild(t);var r=e.offsetWidth-t.offsetWidth;this.scrollBarWidth=r||0,a.Z.is_enabled("debug_verbose")&&console.log("ScrollBarInfo.width calculated as ".concat(this.scrollBarWidth)),e.removeChild(t),window.document.body.removeChild(e)}}]),e}())},64445:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(89211),i=r(143681),a=r(127658),o=(r(721141),r(573467),r(693508),r(489955)),s=r(189256),l=function(e){return"defaultuser.".concat(e)},c=function(e){try{var t=JSON.parse(window.localStorage.getItem(l(e)));if(null!==t&&"object"===(0,a.Z)(t))return t}catch(e){}return{}};const u=new(function(){function e(){(0,n.Z)(this,e),this.shown=null}return(0,i.Z)(e,[{key:"account",get:function(){return s.Z.account}},{key:"getShown",value:function(e){return this.account?this.account.settings.getTipShown(e):(o.Z.active&&o.Z.recordEvent(this,"change"),this.shown||(this.shown=c("tips_shown")),this.shown[e])}},{key:"setShownJP",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.account?this.account.settings.setTipShownJP(e,t):(this.shown||(this.shown=c("tips_shown")),this.shown[e]!==t&&(o.Z.active&&o.Z.recordChange(this,"change"),this.shown[e]=t,this._save()),Promise.resolve())}},{key:"clearShownJP",value:function(e){if(this.account)return this.account.settings.clearTipShownJP(e);this.shown.hasOwnProperty(e)&&(delete this.shown[e],o.Z.active&&o.Z.recordChange(this,"change"),this._save())}},{key:"reset",value:function(){o.Z.active&&o.Z.recordChange(this,"change"),this.shown={},this._save()}},{key:"_restore",value:function(){this.shown=c("tips_shown")}},{key:"_save",value:function(){!function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];try{window.localStorage.setItem(l(e),JSON.stringify(t))}catch(e){}}("tips_shown",this.shown)}}]),e}())},819218:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(89211),i=r(143681);r(587621),r(531072),r(340781),r(308967);const a=new(function(){function e(){(0,n.Z)(this,e),this.userAgent=null}return(0,i.Z)(e,[{key:"_userAgent",get:function(){return this.userAgent?this.userAgent:window.navigator.userAgent}},{key:"_version",value:function(e){var t=this._userAgent.match(e);if(t&&t.length>1){var r=parseInt(t[1],10);return t.length>2?{major:r,minor:parseInt(t[2],10)}:r}}},{key:"iOS",get:function(){return this._version(/(?:CPU iPhone|iPod|iPad; CPU) OS ([0-9]+)_([0-9]+)/)}},{key:"edge",get:function(){return this._version(/Edge\/([\d]+)\./)}},{key:"edgeChromium",get:function(){return this._version(/Edg\/([\d]+)\./)}},{key:"android",get:function(){return/Android|Silk/.test(this._userAgent)}},{key:"silk",get:function(){return/Silk/.test(this._userAgent)}},{key:"ie",get:function(){return/MSIE|Trident/.test(this._userAgent)}},{key:"mobile",get:function(){return/Mobile|Android/i.test(this._userAgent)}},{key:"win",get:function(){return/Windows/.test(this._userAgent)}},{key:"win32",get:function(){return this.win&&!/Win64|WOW64/.test(this._userAgent)}},{key:"mac",get:function(){return!this.silk&&/Macintosh/.test(this._userAgent)}},{key:"chrome",get:function(){return this._version(/Chrome\/([\d]+)/i)}},{key:"safari",get:function(){if(/Safari/i.test(this._userAgent)&&!/(?:CriOS|Silk|Android)/i.test(this._userAgent))return this._version(/Version\/([\d]+)/)}},{key:"safariMajorMinor",get:function(){if(/Safari/i.test(this._userAgent)&&!/(?:CriOS|Silk|Android)/i.test(this._userAgent))return this._version(/Version\/([\d]+)\.([\d]+)/)}},{key:"firefox",get:function(){return this._version(/Firefox\/([\d]+)/)}}]),e}())},674961:(e,t,r)=>{"use strict";r.d(t,{Z:()=>w});var n,i,a,o=r(760567),s=r(282466),l=r(89211),c=r(143681),u=r(236229),p=r(668962),d=r(749886),m=r(673136),h=r(846031),v=r(222606),g=r(548967),f=(r(893248),r(587621),r(276839),r(819785),r(35812),r(290671),r(816221),r(17938),r(127387),r(888784),r(531072),r(4085),r(359538),r(735541),r(558901),r(945628),r(923304),r(573467),r(328614),r(913688),r(962843)),b=r(112957),y=r(956508);function _(e,t,r,n){if(0===t.length)return e;var i=t[0],a=t.slice(1),o="{".concat(i,"}"),s=e.split(o).map((function(e){return _(e,a,r,n)})),l=[].concat(s.shift());if(n)var c=r[i];else(c={})[i]=r[i];var u,p=(0,h.Z)(s);try{for(p.s();!(u=p.n()).done;){var d=u.value;l=l.concat(c,d)}}catch(e){p.e(e)}finally{p.f()}return n?l.join(""):l}var w=(n=function(e){(0,p.Z)(r,e);var t=(0,d.Z)(r);function r(){var e;return(0,l.Z)(this,r),e=t.call(this),(0,s.Z)(e,"locale",i,(0,u.Z)(e)),(0,s.Z)(e,"translations",a,(0,u.Z)(e)),e._readyDeferred=new f.Z,e._isReady=!1,e.watch((function(){return e.locale}),(function(t){null==t||e._isReady||(e._isReady=!0,e._readyDeferred.resolve())})),e}return(0,c.Z)(r,[{key:"readyJP",get:function(){return this._readyDeferred.promise}},{key:"language_display_name",get:function(){return this.locale_hash[this.locale]}},{key:"language_code",get:function(){return this.locale.split("-")[0]}},{key:"translate",value:function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=e.indexOf("="),i=e.slice(0,n),a=e.slice(n+1),o=this.translations?this.translations[i]:void 0;return o=o||a,i.match(/^\$\$\$/)||console.log("ZString should start with '".concat("$$$","': ").concat(e)),t&&(o=_(o,Object.getOwnPropertyNames(t),t,r)),o}},{key:"addTextTranslations",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if("en-US"!==this.locale){var r,n=this.translations,i="$".repeat(3)+t,a=(0,h.Z)(e.split("\n"));try{for(a.s();!(r=a.n()).done;){var s=r.value,l=s.length,c='"'===s.charAt(0)?1:0,u='"'===s.charAt(l-1)?l-1:l;if((s=s.substring(c,u)).startsWith(i)){var p=s.split("="),d=(0,o.Z)(p,2),m=d[0],v=d[1];n[m]=v.replace(/\\["']/g,(function(e){return e[1]})).replace(/\\n/g,(function(e){return"\n"}))}}}catch(e){a.e(e)}finally{a.f()}}}},{key:"getLocaleWithUnderscore",value:function(){this.locale.replace("-","_")}},{key:"humanFileSizeValue",value:function(e){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,r=1024,n=0;if(arguments.length>1&&void 0!==arguments[1]&&!arguments[1])for(;Math.abs(e)>=r&&n<t;)e/=r,++n;else n=3,e/=Math.pow(r,n);return[e,n]}},{key:"humanFileSize",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=[this.translate("$$$/js/zstring/common/bytes=B"),this.translate("$$$/js/zstring/common/kilobytes=KB"),this.translate("$$$/js/zstring/common/megabytes=MB"),this.translate("$$$/js/zstring/common/gigabytes=GB"),this.translate("$$$/js/zstring/common/terabytes=TB")],i=this.humanFileSizeValue(e,r,n.length),a=(0,o.Z)(i,2),s=a[0],l=a[1];t=l<1?0:t;var c=this.translate("$$$/js/zstring/common/decimal_separator=.");return this.translate("$$$/js/zstring/common/storage_format={number} {unit}",{number:s.toFixed(t).replace(".",c),unit:n[l]})}},{key:"humanCountValue",value:function(e){var t,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,n=1e3;for(arguments.length>1&&void 0!==arguments[1]&&!arguments[1]?t=0:(t=2,e/=Math.pow(n,t));Math.abs(e)>=n&&t<r;)e/=n,++t;return[e,t]}},{key:"humanCount",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=["",this.translate("$$$/js/zstring/common/thousand=K"),this.translate("$$$/js/zstring/common/million=M"),this.translate("$$$/js/zstring/common/billion=B"),this.translate("$$$/js/zstring/common/trillion=T")],i=this.humanCountValue(e,r,n.length),a=(0,o.Z)(i,2),s=a[0],l=a[1];l<1&&(t=0);var c=this.translate("$$$/js/zstring/common/decimal_separator=."),u=s.toFixed(t).replace(/\.0+$/,"").replace(".",c);return this.translate("$$$/js/zstring/compact_storage_format={count}{units}",{count:u,units:n[l]})}},{key:"humanDurationValue",value:function(e,t){for(var r=[1e3,60,60,24],n=0;Math.abs(e)>=r[0]&&n<t;)e/=r[0],r.shift(),++n;return[e,n]}},{key:"humanDuration",value:function(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=this.translate("$$$/js/zstring/duration={duration} {unit_string}"),l=[this.translate("$$$/js/zstring/common/milliseconds=ms"),this.translate("$$$/js/zstring/common/seconds=seconds"),this.translate("$$$/js/zstring/common/minutes=minutes"),this.translate("$$$/js/zstring/common/hours=hours"),this.translate("$$$/js/zstring/common/days=days")],c=[this.translate("$$$/js/zstring/common/milliseconds=ms"),this.translate("$$$/js/zstring/common/second=second"),this.translate("$$$/js/zstring/common/minute=minute"),this.translate("$$$/js/zstring/common/hour=hour"),this.translate("$$$/js/zstring/common/day=day")],u=[this.translate("$$$/js/zstring/common/milliseconds_short=ms"),this.translate("$$$/js/zstring/common/seconds_short=sec"),this.translate("$$$/js/zstring/common/minutes_short=min"),this.translate("$$$/js/zstring/common/hours_short=hr")];if(a){var p=this.humanDurationValue(e,u.length),d=(0,o.Z)(p,2);t=d[0],r=d[1]}else{var m=this.humanDurationValue(e,l.length),h=(0,o.Z)(m,2);t=h[0],r=h[1]}var v,g=(t=n>0?Math.ceil(t/n)*n:t).toFixed(i);return v=a?u[r]:"1"===g?c[r]:l[r],s.replace("{duration}",g).replace("{unit_string}",v)}},{key:"humanDimensions",value:function(e){var t=e[0],r=e[1];return null!=t&&null!=r?"".concat(Math.round(t)," x ").concat(Math.round(r)):""}},{key:"humanNumber",value:function(e){var t=this.translate("$$$/js/zstring/common/decimal_separator=."),r=this.translate("$$$/js/zstring/common/thousand_separator=,");return e.toString().replace(".",t).replace(/\B(?=(\d{3})+(?!\d))/g,r)}},{key:"ok_string",value:function(){return this.translate("$$$/zstring/common/ok=OK")}},{key:"cancel_string",value:function(){return this.translate("$$$/zstring/common/cancel=Cancel")}},{key:"continue_string",value:function(){return this.translate("$$$/zstring/common/continue=Continue")}},{key:"submit_string",value:function(){return this.translate("$$$/zstring/common/submit=Submit")}},{key:"close_string",value:function(){return this.translate("$$$/zstring/common/close=Close")}},{key:"retry_string",value:function(){return this.translate("$$$/zstring/common/retry=Retry")}},{key:"or_cap_string",value:function(){return this.translate("$$$/zstring/common/or_caps=OR")}},{key:"or_string",value:function(){return this.translate("$$$/zstring/common/or=or")}},{key:"back_string",value:function(){return this.translate("$$$/js/zstring/common/back=Back")}},{key:"on_string",value:function(){return this.translate("$$$/js/zstring/common/on=On")}},{key:"off_string",value:function(){return this.translate("$$$/js/zstring/common/off=Off")}},{key:"next_string",value:function(){return this.translate("$$$/js/zstring/common/next=Next")}},{key:"try_again_string",value:function(){return this.translate("$$$/js/zstring/common/try_again=Try Again")}},{key:"get_started_string",value:function(){return this.translate("$$$/js/zstring/common/get_started=Get Started")}},{key:"select_files_string",value:function(){return this.translate("$$$/js/zstring/common/select_files=Select files…")}},{key:"add_photos_string",value:function(){return this.translate("$$$/js/zstring/common/add_photos=Add photos")}},{key:"locale_hash",get:function(){var e,t={},r=(0,h.Z)(y.supported);try{for(r.s();!(e=r.n()).done;){var n=e.value,i=y.display_names[n];i&&(t[n]=i)}}catch(e){r.e(e)}finally{r.f()}return t}}]),r}(b.Z),i=(0,m.Z)(n.prototype,"locale",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,m.Z)(n.prototype,"translations",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,m.Z)(n.prototype,"locale_hash",[v.Z],Object.getOwnPropertyDescriptor(n.prototype,"locale_hash"),n.prototype),n)},93511:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=window.matchMedia("(hover: hover)").matches},427456:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n="ontouchstart"in document||navigator.maxTouchPoints>0},258579:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(85663),i=r(934331),a=(r(573467),r(693508),r(210212));const o=function(){var e=(0,i.Z)((0,n.Z)().mark((function e(t,r){var i;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return"string"==typeof r&&(r=(new TextEncoder).encode(r)),e.next=3,crypto.subtle.digest("SHA-256",r);case 3:return i=e.sent,e.abrupt("return",(0,a.z)(i));case 5:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}()},210212:(e,t,r)=>{"use strict";r.d(t,{z:()=>n}),r(816221),r(261148),r(573467),r(784425),r(595249),r(185466),r(370843),r(961626),r(897995),r(518926),r(725676),r(81738),r(479959),r(879587),r(353478),r(643300),r(363242),r(911895),r(301207),r(792647),r(879104),r(497814),r(78019),r(474646),r(28227),r(420879),r(680851),r(725637),r(686862),r(169513),r(993224),r(604542),r(292381),r(340781),r(127387),r(819785),r(886023),r(290671),r(132741),r(923304),r(328614);var n=function(e){return Array.from(new Uint8Array(e)).map((function(e){return e.toString(16).padStart(2,"0")})).join("")}},536978:(e,t,r)=>{"use strict";r.d(t,{Z:()=>_});var n,i=r(760567),a=r(846031),o=(r(290671),r(816221),r(17938),r(127387),r(587621),r(35812),r(542915)),s=r(271475),l=r.n(s),c=r(41332),u=/^debug_log_((?:_(?!_)|[^_])*[^_])(?:__(.*))?/,p=[],d=(0,a.Z)(c.Z.all_enabled());try{for(d.s();!(n=d.n()).done;){var m=n.value,h=u.exec(m);if(null!=h){var v=(0,i.Z)(h,3),g=v[1],f=v[2],b=void 0===f?"*":f;p.push("".concat(g,":").concat(b))}}}catch(e){d.e(e)}finally{d.f()}var y=p.join(",");l().enable(y),o.Z.enable(y);const _=l()},481419:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(489955),i=r(862240),a=r(535788),o=n.Z.recordEvent,s=n.Z.recordChange;const l=i.Z.makePropertyDecorator((function(e,t,r,i){var l=arguments.length>4&&void 0!==arguments[4]&&arguments[4],c=r.initializer;return{configurable:!0,enumerable:!1,get:function(){var e;n.Z.active&&o(this,t);var r=i||t,s=(0,a.tv)(r);return null==s&&c&&(s=c.call(this),(0,a.co)(r,s,l)),null!==(e=s)&&void 0!==e?e:void 0},set:function(e){var r=i||t,n=(0,a.tv)(r);null==n&&c&&(n=c.call(this),(0,a.co)(r,n,l)),n!==e&&((0,a.co)(r,e),s(this,t,e,n))}}}))},516641:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(846031),i=(r(290671),r(816221),r(17938),r(94395));function a(e){return function(t){if(e){Array.isArray(e)||(e=[e]);var r,a=(0,n.Z)(e);try{for(a.s();!(r=a.n()).done;){var o=r.value;(0,i.Z)(t,o)}}catch(e){a.e(e)}finally{a.f()}}}}},632603:(e,t,r)=>{"use strict";r.d(t,{Z:()=>u});var n=r(85663),i=r(934331),a=r(89211),o=r(143681),s=(r(573467),r(693508),r(816221),r(290671),r(17938),r(41332)),l=r(74462).Z,c=function(){function e(){if((0,a.Z)(this,e),l.sdk)e.readyJP=Promise.resolve();else{window.marketingtech={adobe:{launch:{property:"global",environment:this.launchEnvironment},target:!0,audienceManager:!1}};var t=function(){var e=(0,i.Z)((0,n.Z)().mark((function e(){return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.resolve().then(r.t.bind(r,978746,23));case 2:return e.next=4,window.__satelliteLoadedPromise;case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e.readyJP=t()}s.Z.is_enabled("debug")&&e.readyJP.then((function(){return console.log("Adobe Launch Status: initialized")}),(function(e){return console.log("Adobe Launch Status: error initializing",e)}))}var t,c;return(0,o.Z)(e,[{key:"launchEnvironment",get:function(){return"lightroom.adobe.com"===window.location.hostname?"production":"stage"}},{key:"readyJP",get:function(){return e.readyJP}},{key:"loadVisitorGuid",value:(c=(0,i.Z)((0,n.Z)().mark((function t(){return(0,n.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return null==e.visitorGuidPromise&&(e.visitorGuidPromise=this._loadVisitorGuid()),t.next=3,e.visitorGuidPromise;case 3:return t.abrupt("return",t.sent);case 4:case"end":return t.stop()}}),t,this)}))),function(){return c.apply(this,arguments)})},{key:"_loadVisitorGuid",value:(t=(0,i.Z)((0,n.Z)().mark((function e(){var t=this;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.readyJP;case 2:return e.next=4,new Promise((function(e){var r;if(t.visitorGuid=null===(r=window._satellite)||void 0===r?void 0:r.getVisitorId().getMarketingCloudVisitorID((function(e){return t.visitorGuid=e})),t.visitorGuid)e();else var n=0,i=window.setInterval((function(){var r,a=null===(r=window.s_adblightroomweb)||void 0===r?void 0:r.marketingCloudVisitorID;n++,(null!=a||n>25)&&(t.visitorGuid=a,clearInterval(i),e())}),200)}));case 4:return e.abrupt("return",this.visitorGuid);case 5:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}]),e}();c.readyJP=void 0,c.visitorGuidPromise=void 0;const u=new c},359878:(e,t,r)=>{"use strict";r.d(t,{h5:()=>g,nH:()=>a}),r(816221),r(321500),r(573467),r(290671),r(17938);var n="tooltip",i="lottie",a={EDIT_FIRST_PHOTO:"onboard_edit_first",SIDEBAR_HOME:"onboard_sidebar_home"},o="edit_presets",s="edit_healing",l="edit_adjust",c="edit_crop",u="edit_masking",p="edit_versions",d="edit_healing_new",m="edit_geometry_moved",h="edit_healing_brush",v="edit_lens_blur",g=new Map;g.set(a.SIDEBAR_HOME,{type:n,key:a.SIDEBAR_HOME,priority:100,text:"$$$/js/tips/onboard/sidebar/home=Click here to get back to the home view",delay:4e3}),g.set(a.EDIT_FIRST_PHOTO,{type:n,key:a.EDIT_FIRST_PHOTO,priority:100,text:"$$$/js/tips/onboard/first_photo_tip=Click here to edit your photo",delay:2e3}),g.set(o,{type:i,lottieId:"presets",key:o}),g.set(s,{type:i,lottieId:"healing",key:s}),g.set(l,{type:i,lottieId:"adjust",key:l}),g.set(c,{type:i,lottieId:"crop",key:c}),g.set(u,{type:i,lottieId:"masking",key:u}),g.set(p,{type:i,lottieId:"versions",key:p}),g.set(d,{type:n,key:d,text:"$$$/js/tips/edit/healing_new=Healing is here! Click here to explore."}),g.set(m,{type:n,key:m,text:"$$$/js/tips/edit/geometry_moved=Geometry has moved."}),g.set(h,{type:i,key:h}),g.set(v,{type:i,key:v})},396102:(e,t,r)=>{"use strict";r.d(t,{Z:()=>Z});var n,i,a,o,s,l,c=r(85663),u=r(934331),p=r(282466),d=r(89211),m=r(143681),h=r(792228),v=r(74424),g=r(673136),f=r(548967),b=(r(378702),r(816221),r(573467),r(485143),r(290671),r(17938),r(693508),r(189256)),y=r(41332),_=r(780876),w=r(359878);function k(e){var t=this;if(!y.Z.is_enabled("automation_no_coachtips"))if(this.hoverTipShowing)setTimeout((function(){(0,h.Z)(t,l)[l](e)}),500);else{var r,n;if(null!=this.visibleTip&&(null!==(r=e.priority)&&void 0!==r?r:0)<=(null!==(n=this.visibleTip.priority)&&void 0!==n?n:0))return;this.isTipAvailable(e.key)&&(this.visibleTip=e,this.setTipShown(e.key))}}const Z=new(o=(0,v.Z)("availableTipKeys"),s=(0,v.Z)("tipsShownThisSession"),l=(0,v.Z)("showTip"),n=function(){function e(){(0,d.Z)(this,e),Object.defineProperty(this,l,{value:k}),(0,p.Z)(this,"hoverTipShowing",i,this),(0,p.Z)(this,"visibleTip",a,this),Object.defineProperty(this,o,{writable:!0,value:new Set}),Object.defineProperty(this,s,{writable:!0,value:new Set})}var t,r;return(0,m.Z)(e,[{key:"registerTip",value:function(e){(0,h.Z)(this,o)[o].add(e)}},{key:"unregisterTip",value:function(e){var t;(0,h.Z)(this,o)[o].delete(e),(null===(t=this.visibleTip)||void 0===t?void 0:t.key)===e&&(this.visibleTip=null)}},{key:"settings",get:function(){var e,t;return null!==(e=null===(t=b.Z.account)||void 0===t?void 0:t.settings)&&void 0!==e?e:_.Z.tipSettings}},{key:"isTipActive",get:function(){return null!==this.visibleTip}},{key:"setHoverTipShowing",value:function(e){this.hoverTipShowing=e}},{key:"getTipShown",value:function(e){return this.settings.getTipShown(e)}},{key:"hasShownTipThisSession",value:function(e){return(0,h.Z)(this,s)[s].has(e)}},{key:"isTipVisible",value:function(e){var t;return(null===(t=this.visibleTip)||void 0===t?void 0:t.key)===e}},{key:"isTipAvailable",value:function(e){return(0,h.Z)(this,o)[o].has(e)}},{key:"setTipShown",value:(r=(0,u.Z)((0,c.Z)().mark((function e(t,r){return(0,c.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(0,h.Z)(this,s)[s].add(t),e.next=3,this.settings.setTipShownJP(t,r);case 3:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)})},{key:"clearTipShown",value:(t=(0,u.Z)((0,c.Z)().mark((function e(t){return(0,c.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.settings.clearTipShown(t);case 2:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"triggerTipWhenVisible",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5e3,n=new Date,i=setInterval((function(){(t.isTipAvailable(e)&&(t.triggerTip(e),1)||new Date-n>r)&&clearInterval(i)}),100)}},{key:"triggerTip",value:function(e){var t=this;if(this.isTipAvailable(e)||console.error("cannot show tip ".concat(e," in this view")),!this.getTipShown(e)||y.Z.is_enabled("debug_coach_tips")){var r=w.h5.get(e);null!=r.delay?setTimeout((function(){(0,h.Z)(t,l)[l](r)}),r.delay):(0,h.Z)(this,l)[l](r)}}},{key:"closeTip",value:function(e){var t;(null===(t=this.visibleTip)||void 0===t?void 0:t.key)===e&&(this.visibleTip=null)}}]),e}(),i=(0,g.Z)(n.prototype,"hoverTipShowing",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),a=(0,g.Z)(n.prototype,"visibleTip",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),n)},314313:(e,t,r)=>{"use strict";r.d(t,{Z:()=>X});var n,i,a,o,s,l,c,u,p,d,m,h,v=r(85663),g=r(934331),f=r(685271),b=(r(978788),r(504397)),y=r(282466),_=r(89211),w=r(143681),k=r(236229),Z=r(668962),x=r(749886),S=r(792228),$=r(74424),A=r(673136),C=r(588816),T=r(878537),P=r(54262),z=r(548967),E=r(704083),O=(r(35812),r(378702),r(785226),r(573467),r(693508),r(914644)),I=(r(165997),r(126752)),R=r(396102),j=r(630647);e=r.hmd(e);var N={make:function(e){return N=f.ZP.make({render:function(e,t){var r=t.g=!e._group_g&&e.pushTemplateNode(Y);r&&e.enterNode(r),e.runBinder(K,G,t,!0);var n=t.sp$45tooltip=e.pushTemplateNode(J);W(t,n),e.attachEvent(t.sp$45tooltip,"click",V),e.enterNode(n),e.runBinder(q,U,t,!0),e.exitNode(n),r&&e.exitNode(r),e.runBinder(H,F,t,!0),e.runBinder(B,M,t,!0),e.runBinder(L,D,t,!0)},dispose:function(e,t){e.removeSignals(t.g_binder,t.g_invalidate),t.g_content=e.disposeContent(t.g_content),t.g_value1=void 0,t.sp$45tooltip._jsx_data=null,t.sp$3645tooltip_spread_spread_state=e.updateSpreadAttribute(t.sp$45tooltip,null,t,t.sp$3645tooltip_spread_spread_state),t.sp$3645tooltip_spread_value=void 0,e.removeSignals(t.sp$45tooltip_binder,t.sp$45tooltip_invalidate),t.sp$45tooltip_content=e.disposeContent(t.sp$45tooltip_content),t.sp$45tooltip_value1=void 0,e.removeSignals(t.sp$3645tooltip_style$45display_binder,t.sp$3645tooltip_style$45display_invalidate),e.removeSignals(t.sp$3645tooltip_placement_binder,t.sp$3645tooltip_placement_invalidate),e.removeSignals(t.sp$3645tooltip_spread_binder,t.sp$3645tooltip_spread_invalidate),W(t,null)},move:function(e,t){t.g?e.pushNode(t.g):(e.moveContent(t.g_content),e.pushNode(t.sp$45tooltip))},reuse:function(e,t){e.runBinder(K,G,t,!1),W(t,t.sp$45tooltip),e.runBinder(q,U,t,!1),e.runBinder(H,F,t,!1),e.runBinder(B,M,t,!1),e.runBinder(L,D,t,!1)},init:function(e,t){t.sp$45tooltip._jsx_data=t},firstChild:function(e,t){return t.g||e.contentFirstChild(t.g_content)},lastChild:function(e,t){return t.g||t.sp$45tooltip},prepare:function(e){e.attr._open||(e.attr._open=e.ensureAttr("open")),e.attr._variant||(e.attr._variant=e.ensureAttr("variant")),e.attr._style$45display||(e.attr._style$45display=e.ensureAttr("style-display")),e.attr._placement||(e.attr._placement=e.ensureAttr("placement"))}}),N.make(e)}};function D(e,t,r,n,i,a){t.sp$3645tooltip_spread_binder=r,t.sp$3645tooltip_spread_invalidate=n;var o=t.sp$3645tooltip_spread_value;(a||o!==i)&&(t.sp$3645tooltip_spread_value=i,t.sp$3645tooltip_spread_spread_state=e.updateSpreadAttribute(t.sp$45tooltip,i,t,t.sp$3645tooltip_spread_spread_state))}function L(e){return e.$_scope._this.undeclaredAttributes()}function M(e,t,r,n,i,a){t.sp$3645tooltip_placement_binder=r,t.sp$3645tooltip_placement_invalidate=n;var o=t.sp$3645tooltip_placement_value;(a||o!==i)&&(t.sp$3645tooltip_placement_value=i,t.sp$3645tooltip_placement_state=e.attr._placement(t.sp$45tooltip,"placement",i,t.sp$3645tooltip_placement_state))}function B(e){return e.$_scope._this.placement}function F(e,t,r,n,i,a){t.sp$3645tooltip_style$45display_binder=r,t.sp$3645tooltip_style$45display_invalidate=n;var o=t.sp$3645tooltip_style$45display_value;(a||o!==i)&&(t.sp$3645tooltip_style$45display_value=i,t.sp$3645tooltip_style$45display_state=e.attr._style$45display(t.sp$45tooltip,"style-display",i,t.sp$3645tooltip_style$45display_state))}function H(e){return e.$_scope._this.tipIsVisible?void 0:"none"}function U(e,t,r,n,i,a){t.sp$45tooltip_binder=r,t.sp$45tooltip_invalidate=n;var o=t.sp$45tooltip_value1;(a||o!==i)&&(t.sp$45tooltip_value1=i,t.sp$45tooltip_content=e.renderContent(t.sp$45tooltip_content,i))}function q(e){var t;return e.$_scope._this.tipIsVisible?(0,j.zt)(null===(t=R.Z.visibleTip)||void 0===t?void 0:t.text):""}function V(){var e=this._jsx_data;e&&(0,S.Z)(e.$_scope._this,m)[m]()}function W(e,t){e.$_scope._this.overlayRef=t}var J=(0,b.z)((function(e){var t=e.makeNode("sp-tooltip");return e.attr._open(t,"open",!0),e.attr._variant(t,"variant","info"),t}));function G(e,t,r,n,i,a){t.g_binder=r,t.g_invalidate=n;var o=t.g_value1;(a||o!==i)&&(t.g_value1=i,t.g_content=e.renderContent(t.g_content,i))}function K(e){return e.$_scope._this.children}var Y=(0,b.z)((function(e){return e.makeNode("g")})),X=(0,C.Z)((0,P.Z)("TipPlacementView"),e,"TipPlacementView")((p=(0,$.Z)("showTip"),d=(0,$.Z)("closeOverlay"),m=(0,$.Z)("clearTip"),h=(0,$.Z)("onTargetClick"),i=function(e){(0,Z.Z)(r,e);var t=(0,x.Z)(r);function r(){var e;(0,_.Z)(this,r);for(var n=arguments.length,i=new Array(n),v=0;v<n;v++)i[v]=arguments[v];return e=t.call.apply(t,[this].concat(i)),Object.defineProperty((0,k.Z)(e),h,{value:ne}),Object.defineProperty((0,k.Z)(e),m,{value:re}),Object.defineProperty((0,k.Z)(e),d,{value:ee}),Object.defineProperty((0,k.Z)(e),p,{value:Q}),(0,y.Z)(e,"tipKey",a,(0,k.Z)(e)),(0,y.Z)(e,"offset",o,(0,k.Z)(e)),(0,y.Z)(e,"targetElement",s,(0,k.Z)(e)),(0,y.Z)(e,"placement",l,(0,k.Z)(e)),(0,y.Z)(e,"useOverlay",c,(0,k.Z)(e)),(0,y.Z)(e,"tipOpen",u,(0,k.Z)(e)),e}return(0,w.Z)(r,[{key:"attached",value:function(){var e=this;R.Z.registerTip(this.tipKey),window.requestAnimationFrame((function(){e.link((0,I.Oo)(e.targetElement,"click",(function(){return(0,S.Z)(e,h)[h]()}),!0)),e.useOverlay&&e.link((0,I.Oo)(e.targetElement,"sp-closed",(function(){return(0,S.Z)(e,m)[m]()})))})),this.useOverlay&&this.watch((function(){return e.tipIsVisible}),(function(){e.tipIsVisible?(0,S.Z)(e,p)[p]():(0,S.Z)(e,m)[m]()}))}},{key:"detached",value:function(){R.Z.unregisterTip(this.tipKey),this.useOverlay&&(0,S.Z)(this,d)[d]()}},{key:"tipIsVisible",get:function(){var e;return(null===(e=R.Z.visibleTip)||void 0===e?void 0:e.key)===this.tipKey}},{key:"render",value:function(){return{template:N,_this:this}}}]),r}(T.Z),a=(0,A.Z)(i.prototype,"tipKey",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,A.Z)(i.prototype,"offset",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,A.Z)(i.prototype,"targetElement",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,A.Z)(i.prototype,"placement",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c=(0,A.Z)(i.prototype,"useOverlay",[E.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),u=(0,A.Z)(i.prototype,"tipOpen",[z.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),n=i))||n;function Q(){this.closeOverlayPromise=O.Overlay.open(this.targetElement,"custom",this.overlayRef,{offset:this.offset,placement:this.placement})}function ee(){return te.apply(this,arguments)}function te(){return(te=(0,g.Z)((0,v.Z)().mark((function e(){return(0,v.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=this.closeOverlayPromise){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.closeOverlayPromise;case 4:(0,e.sent)(),this.closeOverlayPromise=null;case 7:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}function re(){this.tipIsVisible&&((0,S.Z)(this,d)[d](),R.Z.visibleTip=null)}function ne(){(0,S.Z)(this,m)[m]()}},573179:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var n,i=r(85663),a=r(934331),o=r(89211),s=r(143681),l=r(673136),c=r(222606),u=(r(573467),r(693508),r(359538),r(913688),r(41332)),p=r(819218),d=r(630647),m=r(253544),h=r(149895),v=r(62583);const g=new(n=function(){function e(){(0,o.Z)(this,e)}return(0,s.Z)(e,[{key:"isSupported",get:function(){return!!u.Z.is_enabled("develop_force_enable")||!u.Z.is_enabled("develop_force_disable")&&!p.Z.edge&&!p.Z.mobile&&!p.Z.win32&&null!=window.WebAssembly&&null!=document.createElement("canvas").getContext(u.Z.is_enabled("develop_hdr")?"webgl2":"webgl")}},{key:"version",get:function(){return h.Z.VERSION}},{key:"loadJP",value:function(){var e=this,t=new Date;if(null!=this.loading)return this.loading;var r=this.version;return m.Z.report("editBridgeInitializing",{version:r}),this.loading=new Promise(function(){var n=(0,a.Z)((0,i.Z)().mark((function n(a,o){var s,l,c,u,p;return(0,i.Z)().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(e.isSupported){n.next=2;break}return n.abrupt("return",o());case 2:return s=h.Z.PATHS,l=s.ic_web_js,c=s.app_manifest,n.next=5,(0,v.e)(l,c);case 5:return u=n.sent,n.prev=6,n.next=9,(0,v.g)(u);case 9:p=n.sent,n.next=16;break;case 12:return n.prev=12,n.t0=n.catch(6),m.Z.reportFailure("editBridgeFailed",{version:r}),n.abrupt("return",o(n.t0));case 16:return n.next=18,p.initialize("0".repeat(32),!1);case 18:if("en-US"===d.Z.locale){n.next=21;break}return n.next=21,p.setLocale(d.Z.locale);case 21:m.Z.report("editBridgeInitialized",{version:r,loadTimeMs:new Date-t}),a(e.bridge=p);case 23:case"end":return n.stop()}}),n,null,[[6,12]])})));return function(e,t){return n.apply(this,arguments)}}())}}]),e}(),(0,l.Z)(n.prototype,"isSupported",[c.Z],Object.getOwnPropertyDescriptor(n.prototype,"isSupported"),n.prototype),n)},62583:(e,t,r)=>{"use strict";r.d(t,{e:()=>s,g:()=>l});var n=r(85663),i=r(934331),a=(r(573467),r(693508),r(816221),r(290671),r(17938),r(127387),r(990665),r(108882),r(443099)),o=r(41332),s=function(){var e=(0,i.Z)((0,n.Z)().mark((function e(t,r){var i,s,l,c,u;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!o.Z.is_enabled("develop_force_legacy")){e.next=4;break}i="legacy",e.next=8;break;case 4:return e.next=6,Promise.all([(0,a.C6)(),(0,a.Wy)()]);case 6:s=e.sent,i=s.every(Boolean)?"modern":"legacy";case 8:return(l=[]).push("self.type = '".concat(i,"'")),l.push("self.origin = '".concat(window.location.origin,"'")),null!=r&&l.push("self.appManifest = '".concat(r,"'")),l.push("importScripts('".concat(t,"')")),c=new Blob([l.join(";")],{type:"text/javascript"}),u=URL.createObjectURL(c),e.abrupt("return",new Worker(u));case 16:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),l=function(e,t){var r=new Promise((function(n,i){o.Z.is_enabled("force_edit_bridge_failure")&&i();var a={},s=0,l=function(t){return function(){for(var n,i=arguments.length,o=new Array(i),l=0;l<i;l++)o[l]=arguments[l];return"function"==typeof o[o.length-1]?a[s]=o.pop():r=new Promise((function(e){return a[s]=e})),e.postMessage({id:s,method:t,params:o}),s++,null!==(n=r)&&void 0!==n?n:c}},c={getFunctions:l()};e.addEventListener("message",(function(e){var t=e.data,r=a[t.id];null!=r&&(r.call(c,t.result),delete a[t.id])})),e.addEventListener("error",i),c.getFunctions((function(e){for(var r=0;r<e.length;r++){var i=e[r];c[i]=l(r)}n(c,t)}))}));return o.Z.is_enabled("develop_simulate_slow_load")&&(r=r.then((function(e){return new Promise((function(r){return setTimeout((function(){return r(e,t)}),3e4)}))}))),r}},535788:(e,t,r)=>{"use strict";r.d(t,{co:()=>o,tv:()=>a}),r(35812),r(721141);var n="lrweb-ls-",i="lrweb-ls-";function a(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1]?"".concat(i).concat(e):"".concat(n).concat(e);try{var r=window.localStorage.getItem(t);if(null!=r)return JSON.parse(r)}catch(e){}}function o(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2]?"".concat(i).concat(e):"".concat(n).concat(e);try{null==t?window.localStorage.removeItem(r):window.localStorage.setItem(r,JSON.stringify(t))}catch(e){}}},166169:(e,t,r)=>{"use strict";var n,i=r(829293),a=r(89211),o=r(143681),s=r(668962),l=r(749886),c=r(673136),u=r(412333),p=(r(35812),r(816221),r(321500),r(573467),r(290671),r(17938),r(936963),r(923304),r(785226),r(693508),r(913688),r(713761));new(n=function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(){var e;(0,a.Z)(this,r);for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i))).commands=new Map,e}return(0,o.Z)(r,[{key:"register",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var r in t=(0,i.Z)((0,i.Z)({},t),e.constructor._commandRegistrations)){var n=t[r];this.registerCommand(r,e,n)}}},{key:"registerCommand",value:function(e,t,r){var n=this;if(this.commands.has(e))throw new Error("Command ".concat(e," is already registered"));if(this.commands.set(e,r.bind(t)),t instanceof p.Z)return t.link((function(){return n.deregisterCommand(e)}))}},{key:"deregisterCommand",value:function(e){this.commands.delete(e)}},{key:"hasCommand",value:function(e){return this.commands.has(e)}},{key:"executeWhenReadyJP",value:function(e){for(var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,n=arguments.length,i=new Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];return new Promise((function(n,a){var o=function(){var r=t.commands.get(e);return null!=r&&(r.apply(void 0,i),n(),!0)};if(!o()){var s=0;!function e(){++s>r?a():window.requestAnimationFrame((function(){o()||e()}))}()}}))}},{key:"execute",value:function(e){var t=this.commands.get(e);if(null==t)throw new Error("Unknown command ".concat(e));for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];t.apply(void 0,n)}}]),r}(r(112957).Z),(0,c.Z)(n.prototype,"executeWhenReadyJP",[u.Z],Object.getOwnPropertyDescriptor(n.prototype,"executeWhenReadyJP"),n.prototype),(0,c.Z)(n.prototype,"execute",[u.Z],Object.getOwnPropertyDescriptor(n.prototype,"execute"),n.prototype),n)},951395:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n}),r(255187);const n=function(e){return e.isContentEditable||["input","select","textarea","sp-action-menu","sp-picker","sp-menu","sp-menu-group","sp-menu-item","sp-search","sp-slider","sp-textfield"].includes(e.tagName.toLowerCase())}},347458:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n}),r(367469),r(923304),r(573467),r(328614),r(290671),r(816221),r(17938);const n={extend:function e(){for(var t=!1,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];if("boolean"==typeof n[0]&&(t=n[0],n.shift()),!t)return Object.assign.apply(Object,n);for(var a={},o=function(t){for(var r in t){var n;Object.prototype.hasOwnProperty.call(t,r)&&("[object Object]"===(null===(n=t[r])||void 0===n?void 0:n.toString())?a[r]=e(!0,a[r],t[r]):void 0!==t[r]&&(a[r]=t[r]))}},s=0,l=n;s<l.length;s++)o(l[s]);return a}}},237267:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d});var n,i=r(89211),a=r(143681),o=r(668962),s=r(749886),l=r(673136),c=r(412333),u=(r(913688),r(380349)),p=r(819218),d=(n=function(e){(0,o.Z)(r,e);var t=(0,s.Z)(r);function r(){var e;return(0,i.Z)(this,r),(e=t.call(this)).defaultPreventDefault=!1,e.captureClicks=!0,e.velocityScale=2.2,e.mouseDragMinOffset=5,e}return(0,a.Z)(r,[{key:"onMouseMove",value:function(e){if(p.Z.safari&&this.touches.get("mouse")&&!e.buttons&&this.onMouseUp(e),!this.allowHtmlDrag||!u.ZP.isAnyAncestorDraggable(e.target)){var t=this.touches.get("mouse");t&&t.update(e,e),this.sendUpdateEvent(e),this.computePreventDefault&&(e.stopImmediatePropagation(),e.preventDefault())}}}]),r}(u.ZP),(0,l.Z)(n.prototype,"onMouseMove",[c.Z],Object.getOwnPropertyDescriptor(n.prototype,"onMouseMove"),n.prototype),n)},551464:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(143681),i=r(89211),a=r(668962),o=r(749886),s=r(370832),l=r(237267),c=function(e){(0,a.Z)(r,e);var t=(0,o.Z)(r);function r(){return(0,i.Z)(this,r),t.call(this,{mouse:!0,touch:!0,pointer:!0},l.Z,!1,!0)}return(0,n.Z)(r)}(s.Z)},880640:(e,t,r)=>{"use strict";r.d(t,{Z:()=>h});var n,i,a,o=r(282466),s=r(89211),l=r(143681),c=r(236229),u=r(668962),p=r(749886),d=r(673136),m=r(548967);r(573467),r(693508);const h=new((a=function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(){var e;return(0,s.Z)(this,r),e=t.call(this),(0,o.Z)(e,"_code",i,(0,c.Z)(e)),e._resolved=!1,r.readyJP=new Promise((function(t){e._readyResolve=t})),setTimeout((function(){e._resolved||(e._resolved=!0,e._readyResolve())}),5e3),e}return(0,l.Z)(r,[{key:"code",get:function(){return this._code},set:function(e){this._code=e,null==e||this._resolved||(this._resolved=!0,this._readyResolve())}}]),r}(r(112957).Z)).readyJP=void 0,n=a,i=(0,d.Z)(n.prototype,"_code",[m.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),n)},855999:(e,t,r)=>{"use strict";r.d(t,{Z:()=>Ot});var n=r(725115),i=r(685271),a=(r(304834),r(504397)),o=r(519055),s=r(89211),l=r(143681),c=r(236229),u=r(736781),p=r(993184),d=r(668962),m=r(749886),h=r(673136),v=r(588816),g=r(54262),f=r(600531),b=(r(785226),r(913688),r(41332),r(318266)),y=r(143e3),_=r(991815),w=r(584438),k=r(951395),Z=r(862156),x=r(537188),S=r.n(x),$=r(165764),A=r.n($),C=r(774154),T=r.n(C),P=r(811949),z=r.n(P),E=r(934809),O=r.n(E),I=r(12509),R=r.n(I),j=r(970938),N={};N.styleTagTransform=R(),N.setAttributes=z(),N.insert=T().bind(null,"head"),N.domAPI=A(),N.insertStyleElement=O(),S()(j.Z,N);const D=j.Z&&j.Z.locals?j.Z.locals:void 0;e=r.hmd(e);var L,M,B=r(784090),F={make:function(e){return F=i.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(zt);Pt(t,r),e.attachEvent(t.div,"focus",Tt),e.attachEvent(t.div,"blur",Ct),e.attachEvent(t.div,"wheel",At),e.attachEvent(t.div,"mouseover",$t),e.attachEvent(t.div,"mouseleave",St),e.enterNode(r);var n=t.div1=e.pushTemplateNode(xt);Zt(t,n),e.attachEvent(t.div1,"scroll",wt),e.enterNode(n);var i=t.div2=e.pushTemplateNode(xt);e.enterNode(i),e.runBinder(_t,yt,t,!0),e.exitNode(i),e.exitNode(n),e.runBinder(bt,ft,t,!0),e.runBinder(gt,vt,t,!0),e.runBinder(ht,mt,t,!0),e.runBinder(dt,pt,t,!0),e.runBinder(ut,ct,t,!0),e.runBinder(lt,st,t,!0),e.runBinder(ot,at,t,!0),e.runBinder(it,nt,t,!0),e.runBinder(rt,tt,t,!0),e.runBinder(et,Qe,t,!0);var a=t._if=_e.make(e);a.$_parent=t,a.template.run(e,a);var o=t._if1=H.make(e);o.$_parent=t,o.template.run(e,o),e.exitNode(r)},dispose:function(e,t){t.div._jsx_data=null,t.div1_interaction_value=void 0,t.div1._jsx_data=null,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),e.removeSignals(t.div_class_binder1,t.div_class_invalidate1),e.removeSignals(t.div_class_binder2,t.div_class_invalidate2),e.removeSignals(t.div_style_binder,t.div_style_invalidate),e.removeSignals(t.div1_class_binder,t.div1_class_invalidate),e.removeSignals(t.div1_style$45width_binder,t.div1_style$45width_invalidate),e.removeSignals(t.div1_style$45height_binder,t.div1_style$45height_invalidate),e.removeSignals(t.div1_interaction_binder,t.div1_interaction_invalidate),e.removeSignals(t.div2_class_binder,t.div2_class_invalidate),e.removeSignals(t.div2_style$45transform_binder,t.div2_style$45transform_invalidate),t._if.template.dispose(e,t._if),t._if1.template.dispose(e,t._if1),Pt(t,null),Zt(t,null)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){Pt(t,t.div),Zt(t,t.div1),e.runBinder(_t,yt,t,!1),e.runBinder(bt,ft,t,!1),e.runBinder(gt,vt,t,!1),e.runBinder(ht,mt,t,!1),e.runBinder(dt,pt,t,!1),e.runBinder(ut,ct,t,!1),e.runBinder(lt,st,t,!1),e.runBinder(ot,at,t,!1),e.runBinder(it,nt,t,!1),e.runBinder(rt,tt,t,!1),e.runBinder(et,Qe,t,!1),t._if.template.reuse(e,t._if),t._if1.template.reuse(e,t._if1)},init:function(e,t){t.div._jsx_data=t,t.div1._jsx_data=t},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._tabindex||(e.attr._tabindex=e.ensureAttr("tabindex")),e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._style||(e.attr._style=e.ensureAttr("style")),e.attr._style$45width||(e.attr._style$45width=e.ensureAttr("style-width")),e.attr._style$45height||(e.attr._style$45height=e.ensureAttr("style-height")),e.attr._interaction||(e.attr._interaction=e.ensureAttr("interaction")),e.attr._style$45transform||(e.attr._style$45transform=e.ensureAttr("style-transform"))}}),F.make(e)}},H={make:function(e){return H=e.makeComponent(o.Z,{props:{getCondition:function(e){return e.$_parent.$_scope._this.shouldHorizontalScroll}},blocks:[{name:"children",template:i.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(ye);e.attachEvent(t.div,"mouseover",be),e.enterNode(r);var n=t.div1=e.pushTemplateNode(Ke);fe(t,n);var i=t.div2=e.pushTemplateNode(We);ve(t,i),e.exitNode(r),e.runBinder(me,de,t,!0),e.runBinder(pe,ue,t,!0),e.runBinder(ce,le,t,!0),e.runBinder(se,oe,t,!0),e.runBinder(ae,ie,t,!0),e.runBinder(ne,re,t,!0),e.runBinder(te,ee,t,!0),e.runBinder(Q,X,t,!0),e.runBinder(Y,K,t,!0),e.runBinder(G,J,t,!0),e.runBinder(W,V,t,!0),e.runBinder(q,U,t,!0)},dispose:function(e,t){t.div._jsx_data=null,t.div1_interaction_value=void 0,t.div1._jsx_data=null,t.div2_interaction_value=void 0,t.div2._jsx_data=null,e.removeSignals(t.div_class_binder,t.div_class_invalidate),e.removeSignals(t.div1_class_binder,t.div1_class_invalidate),e.removeSignals(t.div1_style$45transform_binder,t.div1_style$45transform_invalidate),e.removeSignals(t.div1_style$45width_binder,t.div1_style$45width_invalidate),e.removeSignals(t.div1_style$45height_binder,t.div1_style$45height_invalidate),e.removeSignals(t.div1_interaction_binder,t.div1_interaction_invalidate),e.removeSignals(t.div2_class_binder,t.div2_class_invalidate),e.removeSignals(t.div2_style$45transform_binder,t.div2_style$45transform_invalidate),e.removeSignals(t.div2_style$45width_binder,t.div2_style$45width_invalidate),e.removeSignals(t.div2_style$45height_binder,t.div2_style$45height_invalidate),e.removeSignals(t.div2_class_binder1,t.div2_class_invalidate1),e.removeSignals(t.div2_interaction_binder,t.div2_interaction_invalidate),fe(t,null),ve(t,null)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){fe(t,t.div1),ve(t,t.div2),e.runBinder(me,de,t,!1),e.runBinder(pe,ue,t,!1),e.runBinder(ce,le,t,!1),e.runBinder(se,oe,t,!1),e.runBinder(ae,ie,t,!1),e.runBinder(ne,re,t,!1),e.runBinder(te,ee,t,!1),e.runBinder(Q,X,t,!1),e.runBinder(Y,K,t,!1),e.runBinder(G,J,t,!1),e.runBinder(W,V,t,!1),e.runBinder(q,U,t,!1)},init:function(e,t){t.div._jsx_data=t,t.div1._jsx_data=t,t.div2._jsx_data=t},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._style$45transform||(e.attr._style$45transform=e.ensureAttr("style-transform")),e.attr._style$45width||(e.attr._style$45width=e.ensureAttr("style-width")),e.attr._style$45height||(e.attr._style$45height=e.ensureAttr("style-height")),e.attr._interaction||(e.attr._interaction=e.ensureAttr("interaction"))}})}]}),H.make(e)}};function U(e,t,r,n,i,a,o){t.div2_interaction_binder=r,t.div2_interaction_invalidate=n;var s=t.div2_interaction_value;(a||s!==i)&&(t.div2_interaction_value=i,t.div2_interaction_state=e.attr._interaction(t.div2,"interaction",i,t.div2_interaction_state,he,e,o))}function q(e){return{name:"scrollbar",model:{type:"thumb",x:!0,y:0,track:e.$_parent.$_parent.$_scope._this.horizontalTrack,thumb:e.$_parent.$_parent.$_scope._this.horizontalThumb}}}function V(e,t,r,n,i,a){t.div2_class_binder1=r,t.div2_class_invalidate1=n;var o=t.div2_class_value1;(a||o!==i)&&(t.div2_class_value1=i,t.div2_class_state1=e.attr._class(t.div2,"class",i,t.div2_class_state1))}function W(e){return D.torq_scrollbar_thumb}function J(e,t,r,n,i,a){t.div2_style$45height_binder=r,t.div2_style$45height_invalidate=n;var o=t.div2_style$45height_value;(a||o!==i)&&(t.div2_style$45height_value=i,t.div2_style$45height_state=e.attr._style$45height(t.div2,"style-height",i,t.div2_style$45height_state))}function G(e){return e.$_parent.$_parent.$_scope._this.horizontalThumbHeight}function K(e,t,r,n,i,a){t.div2_style$45width_binder=r,t.div2_style$45width_invalidate=n;var o=t.div2_style$45width_value;(a||o!==i)&&(t.div2_style$45width_value=i,t.div2_style$45width_state=e.attr._style$45width(t.div2,"style-width",i,t.div2_style$45width_state))}function Y(e){return e.$_parent.$_parent.$_scope._this.horizontalThumbWidth}function X(e,t,r,n,i,a){t.div2_style$45transform_binder=r,t.div2_style$45transform_invalidate=n;var o=t.div2_style$45transform_value;(a||o!==i)&&(t.div2_style$45transform_value=i,t.div2_style$45transform_state=e.attr._style$45transform(t.div2,"style-transform",i,t.div2_style$45transform_state))}function Q(e){return e.$_parent.$_parent.$_scope._this.horizontalThumbTransform}function ee(e,t,r,n,i,a){t.div2_class_binder=r,t.div2_class_invalidate=n;var o=t.div2_class_value;(a||o!==i)&&(t.div2_class_value=i,t.div2_class_state=e.attr._class(t.div2,"class",i,t.div2_class_state))}function te(e){return Z.Z.thumb}function re(e,t,r,n,i,a,o){t.div1_interaction_binder=r,t.div1_interaction_invalidate=n;var s=t.div1_interaction_value;(a||s!==i)&&(t.div1_interaction_value=i,t.div1_interaction_state=e.attr._interaction(t.div1,"interaction",i,t.div1_interaction_state,ge,e,o))}function ne(e){return{name:"scrollbar",model:{type:"track",x:!0,y:0,track:e.$_parent.$_parent.$_scope._this.horizontalTrack}}}function ie(e,t,r,n,i,a){t.div1_style$45height_binder=r,t.div1_style$45height_invalidate=n;var o=t.div1_style$45height_value;(a||o!==i)&&(t.div1_style$45height_value=i,t.div1_style$45height_state=e.attr._style$45height(t.div1,"style-height",i,t.div1_style$45height_state))}function ae(e){return e.$_parent.$_parent.$_scope._this.horizontalTrackHeight}function oe(e,t,r,n,i,a){t.div1_style$45width_binder=r,t.div1_style$45width_invalidate=n;var o=t.div1_style$45width_value;(a||o!==i)&&(t.div1_style$45width_value=i,t.div1_style$45width_state=e.attr._style$45width(t.div1,"style-width",i,t.div1_style$45width_state))}function se(e){return e.$_parent.$_parent.$_scope._this.horizontalTrackWidth}function le(e,t,r,n,i,a){t.div1_style$45transform_binder=r,t.div1_style$45transform_invalidate=n;var o=t.div1_style$45transform_value;(a||o!==i)&&(t.div1_style$45transform_value=i,t.div1_style$45transform_state=e.attr._style$45transform(t.div1,"style-transform",i,t.div1_style$45transform_state))}function ce(e){return e.$_parent.$_parent.$_scope._this.horizontalTrackTransform}function ue(e,t,r,n,i,a){t.div1_class_binder=r,t.div1_class_invalidate=n;var o=t.div1_class_value;(a||o!==i)&&(t.div1_class_value=i,t.div1_class_state=e.attr._class(t.div1,"class",i,t.div1_class_state))}function pe(e){return Z.Z.track}function de(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function me(e){return Z.Z.scrollbar}function he(e){var t=this._jsx_data;t&&t.div2_interaction_state.onEvent(t,t.div2,e,t.div2_interaction_value)}function ve(e,t){e.$_parent.$_parent.$_scope._this.horizontalThumb=t}function ge(e){var t=this._jsx_data;t&&t.div1_interaction_state.onEvent(t,t.div1,e,t.div1_interaction_value)}function fe(e,t){e.$_parent.$_parent.$_scope._this.horizontalTrack=t}function be(){var e=this._jsx_data;e&&e.$_parent.$_parent.$_scope._this.thumbHover()}var ye=(0,a.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","torq-scrollbar-horizontal"),t})),_e={make:function(e){return _e=e.makeComponent(o.Z,{props:{getCondition:function(e){return e.$_parent.$_scope._this.shouldVerticalScroll}},blocks:[{name:"children",template:i.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(Xe);e.attachEvent(t.div,"mouseover",Ye),e.enterNode(r);var n=t.div1=e.pushTemplateNode(Ke);Ge(t,n);var i=t.div2=e.pushTemplateNode(We);Ve(t,i),e.exitNode(r),e.runBinder(Ue,He,t,!0),e.runBinder(Fe,Be,t,!0),e.runBinder(Me,Le,t,!0),e.runBinder(De,Ne,t,!0),e.runBinder(je,Re,t,!0),e.runBinder(Ie,Oe,t,!0),e.runBinder(Ee,ze,t,!0),e.runBinder(Pe,Te,t,!0),e.runBinder(Ce,Ae,t,!0),e.runBinder($e,Se,t,!0),e.runBinder(xe,Ze,t,!0),e.runBinder(ke,we,t,!0)},dispose:function(e,t){t.div._jsx_data=null,t.div1_interaction_value=void 0,t.div1._jsx_data=null,t.div2_interaction_value=void 0,t.div2._jsx_data=null,e.removeSignals(t.div_class_binder,t.div_class_invalidate),e.removeSignals(t.div1_class_binder,t.div1_class_invalidate),e.removeSignals(t.div1_style$45transform_binder,t.div1_style$45transform_invalidate),e.removeSignals(t.div1_style$45width_binder,t.div1_style$45width_invalidate),e.removeSignals(t.div1_style$45height_binder,t.div1_style$45height_invalidate),e.removeSignals(t.div1_interaction_binder,t.div1_interaction_invalidate),e.removeSignals(t.div2_class_binder,t.div2_class_invalidate),e.removeSignals(t.div2_style$45transform_binder,t.div2_style$45transform_invalidate),e.removeSignals(t.div2_style$45width_binder,t.div2_style$45width_invalidate),e.removeSignals(t.div2_style$45height_binder,t.div2_style$45height_invalidate),e.removeSignals(t.div2_class_binder1,t.div2_class_invalidate1),e.removeSignals(t.div2_interaction_binder,t.div2_interaction_invalidate),Ge(t,null),Ve(t,null)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){Ge(t,t.div1),Ve(t,t.div2),e.runBinder(Ue,He,t,!1),e.runBinder(Fe,Be,t,!1),e.runBinder(Me,Le,t,!1),e.runBinder(De,Ne,t,!1),e.runBinder(je,Re,t,!1),e.runBinder(Ie,Oe,t,!1),e.runBinder(Ee,ze,t,!1),e.runBinder(Pe,Te,t,!1),e.runBinder(Ce,Ae,t,!1),e.runBinder($e,Se,t,!1),e.runBinder(xe,Ze,t,!1),e.runBinder(ke,we,t,!1)},init:function(e,t){t.div._jsx_data=t,t.div1._jsx_data=t,t.div2._jsx_data=t},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._style$45transform||(e.attr._style$45transform=e.ensureAttr("style-transform")),e.attr._style$45width||(e.attr._style$45width=e.ensureAttr("style-width")),e.attr._style$45height||(e.attr._style$45height=e.ensureAttr("style-height")),e.attr._interaction||(e.attr._interaction=e.ensureAttr("interaction"))}})}]}),_e.make(e)}};function we(e,t,r,n,i,a,o){t.div2_interaction_binder=r,t.div2_interaction_invalidate=n;var s=t.div2_interaction_value;(a||s!==i)&&(t.div2_interaction_value=i,t.div2_interaction_state=e.attr._interaction(t.div2,"interaction",i,t.div2_interaction_state,qe,e,o))}function ke(e){return{name:"scrollbar",model:{type:"thumb",x:0,y:!0,track:e.$_parent.$_parent.$_scope._this.verticalTrack,thumb:e.$_parent.$_parent.$_scope._this.verticalThumb}}}function Ze(e,t,r,n,i,a){t.div2_class_binder1=r,t.div2_class_invalidate1=n;var o=t.div2_class_value1;(a||o!==i)&&(t.div2_class_value1=i,t.div2_class_state1=e.attr._class(t.div2,"class",i,t.div2_class_state1))}function xe(e){return D.torq_scrollbar_thumb}function Se(e,t,r,n,i,a){t.div2_style$45height_binder=r,t.div2_style$45height_invalidate=n;var o=t.div2_style$45height_value;(a||o!==i)&&(t.div2_style$45height_value=i,t.div2_style$45height_state=e.attr._style$45height(t.div2,"style-height",i,t.div2_style$45height_state))}function $e(e){return e.$_parent.$_parent.$_scope._this.verticalThumbHeight}function Ae(e,t,r,n,i,a){t.div2_style$45width_binder=r,t.div2_style$45width_invalidate=n;var o=t.div2_style$45width_value;(a||o!==i)&&(t.div2_style$45width_value=i,t.div2_style$45width_state=e.attr._style$45width(t.div2,"style-width",i,t.div2_style$45width_state))}function Ce(e){return e.$_parent.$_parent.$_scope._this.verticalThumbWidth}function Te(e,t,r,n,i,a){t.div2_style$45transform_binder=r,t.div2_style$45transform_invalidate=n;var o=t.div2_style$45transform_value;(a||o!==i)&&(t.div2_style$45transform_value=i,t.div2_style$45transform_state=e.attr._style$45transform(t.div2,"style-transform",i,t.div2_style$45transform_state))}function Pe(e){return e.$_parent.$_parent.$_scope._this.verticalThumbTransform}function ze(e,t,r,n,i,a){t.div2_class_binder=r,t.div2_class_invalidate=n;var o=t.div2_class_value;(a||o!==i)&&(t.div2_class_value=i,t.div2_class_state=e.attr._class(t.div2,"class",i,t.div2_class_state))}function Ee(e){return Z.Z.thumb}function Oe(e,t,r,n,i,a,o){t.div1_interaction_binder=r,t.div1_interaction_invalidate=n;var s=t.div1_interaction_value;(a||s!==i)&&(t.div1_interaction_value=i,t.div1_interaction_state=e.attr._interaction(t.div1,"interaction",i,t.div1_interaction_state,Je,e,o))}function Ie(e){return{name:"scrollbar",model:{type:"track",x:0,y:!0,track:e.$_parent.$_parent.$_scope._this.verticalTrack}}}function Re(e,t,r,n,i,a){t.div1_style$45height_binder=r,t.div1_style$45height_invalidate=n;var o=t.div1_style$45height_value;(a||o!==i)&&(t.div1_style$45height_value=i,t.div1_style$45height_state=e.attr._style$45height(t.div1,"style-height",i,t.div1_style$45height_state))}function je(e){return e.$_parent.$_parent.$_scope._this.verticalTrackHeight}function Ne(e,t,r,n,i,a){t.div1_style$45width_binder=r,t.div1_style$45width_invalidate=n;var o=t.div1_style$45width_value;(a||o!==i)&&(t.div1_style$45width_value=i,t.div1_style$45width_state=e.attr._style$45width(t.div1,"style-width",i,t.div1_style$45width_state))}function De(e){return e.$_parent.$_parent.$_scope._this.verticalTrackWidth}function Le(e,t,r,n,i,a){t.div1_style$45transform_binder=r,t.div1_style$45transform_invalidate=n;var o=t.div1_style$45transform_value;(a||o!==i)&&(t.div1_style$45transform_value=i,t.div1_style$45transform_state=e.attr._style$45transform(t.div1,"style-transform",i,t.div1_style$45transform_state))}function Me(e){return e.$_parent.$_parent.$_scope._this.verticalTrackTransform}function Be(e,t,r,n,i,a){t.div1_class_binder=r,t.div1_class_invalidate=n;var o=t.div1_class_value;(a||o!==i)&&(t.div1_class_value=i,t.div1_class_state=e.attr._class(t.div1,"class",i,t.div1_class_state))}function Fe(e){return Z.Z.track}function He(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function Ue(e){return Z.Z.scrollbar}function qe(e){var t=this._jsx_data;t&&t.div2_interaction_state.onEvent(t,t.div2,e,t.div2_interaction_value)}function Ve(e,t){e.$_parent.$_parent.$_scope._this.verticalThumb=t}var We=(0,a.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","torq-scrollbar-thumb"),t}));function Je(e){var t=this._jsx_data;t&&t.div1_interaction_state.onEvent(t,t.div1,e,t.div1_interaction_value)}function Ge(e,t){e.$_parent.$_parent.$_scope._this.verticalTrack=t}var Ke=(0,a.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","torq-scrollbar-track"),t}));function Ye(){var e=this._jsx_data;e&&e.$_parent.$_parent.$_scope._this.thumbHover()}var Xe=(0,a.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","torq-scrollbar-vertical"),t}));function Qe(e,t,r,n,i,a){t.div2_style$45transform_binder=r,t.div2_style$45transform_invalidate=n;var o=t.div2_style$45transform_value;(a||o!==i)&&(t.div2_style$45transform_value=i,t.div2_style$45transform_state=e.attr._style$45transform(t.div2,"style-transform",i,t.div2_style$45transform_state))}function et(e){return e.$_scope._this.scrollTransform}function tt(e,t,r,n,i,a){t.div2_class_binder=r,t.div2_class_invalidate=n;var o=t.div2_class_value;(a||o!==i)&&(t.div2_class_value=i,t.div2_class_state=e.attr._class(t.div2,"class",i,t.div2_class_state))}function rt(e){return Z.Z.innerView}function nt(e,t,r,n,i,a,o){t.div1_interaction_binder=r,t.div1_interaction_invalidate=n;var s=t.div1_interaction_value;(a||s!==i)&&(t.div1_interaction_value=i,t.div1_interaction_state=e.attr._interaction(t.div1,"interaction",i,t.div1_interaction_state,kt,e,o))}function it(e){return{name:"scroll"}}function at(e,t,r,n,i,a){t.div1_style$45height_binder=r,t.div1_style$45height_invalidate=n;var o=t.div1_style$45height_value;(a||o!==i)&&(t.div1_style$45height_value=i,t.div1_style$45height_state=e.attr._style$45height(t.div1,"style-height",i,t.div1_style$45height_state))}function ot(e){return e.$_scope._this.innerHeight}function st(e,t,r,n,i,a){t.div1_style$45width_binder=r,t.div1_style$45width_invalidate=n;var o=t.div1_style$45width_value;(a||o!==i)&&(t.div1_style$45width_value=i,t.div1_style$45width_state=e.attr._style$45width(t.div1,"style-width",i,t.div1_style$45width_state))}function lt(e){return e.$_scope._this.innerWidth}function ct(e,t,r,n,i,a){t.div1_class_binder=r,t.div1_class_invalidate=n;var o=t.div1_class_value;(a||o!==i)&&(t.div1_class_value=i,t.div1_class_state=e.attr._class(t.div1,"class",i,t.div1_class_state))}function ut(e){return Z.Z.overflowView}function pt(e,t,r,n,i,a){t.div_style_binder=r,t.div_style_invalidate=n;var o=t.div_style_value;(a||o!==i)&&(t.div_style_value=i,t.div_style_state=e.attr._style(t.div,"style",i,t.div_style_state))}function dt(e){return e.$_scope._this.style}function mt(e,t,r,n,i,a){t.div_class_binder2=r,t.div_class_invalidate2=n;var o=t.div_class_value2;(a||o!==i)&&(t.div_class_value2=i,t.div_class_state2=e.attr._class(t.div,"class",i,t.div_class_state2))}function ht(e){return(0,n.Z)({},Z.Z.scrollActive,e.$_scope._this.scrollActive)}function vt(e,t,r,n,i,a){t.div_class_binder1=r,t.div_class_invalidate1=n;var o=t.div_class_value1;(a||o!==i)&&(t.div_class_value1=i,t.div_class_state1=e.attr._class(t.div,"class",i,t.div_class_state1))}function gt(e){return e.$_scope._this.className}function ft(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function bt(e){return Z.Z.outerView}function yt(e,t,r,n,i,a){t.div_binder=r,t.div_invalidate=n;var o=t.div_value1;(a||o!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function _t(e){return e.$_scope._this.children}function wt(e){var t=this._jsx_data;t&&t.$_scope._this.handleScroll(e)}function kt(e){var t=this._jsx_data;t&&t.div1_interaction_state.onEvent(t,t.div1,e,t.div1_interaction_value)}function Zt(e,t){e.$_scope._this.overflowElement=t}var xt=(0,a.z)((function(e){return e.makeNode("div")}));function St(e){var t=this._jsx_data;t&&t.$_scope._this.onMouseleave(e)}function $t(e){var t=this._jsx_data;t&&t.$_scope._this.onMouseover(e)}function At(e){var t=this._jsx_data;t&&t.$_scope._this.onMouseWheel(e)}function Ct(e){var t=this._jsx_data;t&&t.$_scope._this.onBlur(e)}function Tt(e){var t=this._jsx_data;t&&t.$_scope._this.onFocus(e)}function Pt(e,t){e.$_scope._this.element=t}var zt=(0,a.z)((function(e){var t=e.makeNode("div");return e.attr._tabindex(t,"tabindex","1"),t})),Et=["scroll"];Et.push("mouseover","mouseleave");var Ot=(0,v.Z)((0,g.Z)("UIScroll",{events:Et,fork:!0,scrollBarSize:10,scrollBarMargin:2}),e,"UIScroll")((M=function(e){(0,d.Z)(r,e);var t=(0,m.Z)(r);function r(){var e;return(0,s.Z)(this,r),(e=t.call(this)).scrollInfo.duration=150,e.animation.frictionLeft=new y.Z(.005),e.animation.frictionTop=new y.Z(.005),e.scrollInfo&&e.scrollInfo.keyboardEnabled&&(e.keyboardManager=e.link(new _.Z((0,c.Z)(e),w.Z,e.keyHandlers)),e.keyboardMove=e.scrollInfo&&e.scrollInfo.keyboardMove?e.scrollInfo.keyboardMove:40),e}return(0,l.Z)(r,[{key:"attached",value:function(){var e=this;(0,u.Z)((0,p.Z)(r.prototype),"attached",this).call(this),this.listenTo(this.scope.touchMapper.touchManager,"touchStarted",this.touchStarted),ResizeObserver&&(this.resizeObserver=new ResizeObserver((function(){return e.updateSize()})),this.resizeObserver.observe(this.element))}},{key:"detached",value:function(){var e;(0,u.Z)((0,p.Z)(r.prototype),"detached",this).call(this),null===(e=this.resizeObserver)||void 0===e||e.unobserve(this.element)}},{key:"touchStarted",value:function(){this.animation.done||this.animation.stop()}},{key:"isAnimating",get:function(){return!!this.animation&&!this.animation.done}},{key:"onMouseWheel",value:function(e){var t=e.deltaX,n=e.deltaY,i=e.target,a=B(i);if("hidden"!==a.css("overflow")&&"visible"!==a.css("overflow")&&(i.scrollHeight>i.clientHeight||i.scrollWidth>i.clientWidth)){var o=i.offsetHeight,s=i.offsetWidth,l=i.scrollHeight>i.scrollTop+o,c=i.scrollTop>0,d=i.scrollWidth>i.scrollLeft+s,m=i.scrollLeft>0;if("hidden"!==a.css("overflow-y")&&(n>0&&l||n<0&&c))return;if("hidden"!==a.css("overflow-x")&&(t>0&&d||t<0&&m))return}(0,u.Z)((0,p.Z)(r.prototype),"onMouseWheel",this).call(this,e)}},{key:"onMouseover",value:function(e){this.trigger("mouseover",e)}},{key:"onMouseleave",value:function(e){this.trigger("mouseleave",e)}},{key:"verticalThumbHeight",get:function(){return Math.max(40,Math.min(1,Math.max(0,this.innerHeight/this.contentHeight))*this.verticalTrackHeight)}},{key:"updateSizeImpl",value:function(){this.element&&(this.viewWidth===this.element.clientWidth&&this.viewHeight===this.element.clientHeight||(this.viewWidth=this.element.clientWidth,this.viewHeight=this.element.clientHeight,this.updateScroll()))}},{key:"scrollTop",get:function(){return this.displayScrollTop}},{key:"offsetTop",get:function(){return this.element.getBoundingClientRect().top}},{key:"height",get:function(){return this.innerHeight}},{key:"shouldVerticalScroll",get:function(){return this.verticalScroll&&this.contentHeight>this.innerHeight}},{key:"shouldHorizontalScroll",get:function(){return this.horizontalScroll&&this.contentWidth>this.innerWidth}},{key:"focused",get:function(){return this._focused&&this.element===document.activeElement||!this.element.contains(document.activeElement)},set:function(e){this._focused=e}},{key:"canHandleKeyEvent",value:function(e){return!(0,k.Z)(e.target)&&(this.focused||this.handleKeyboardGlobally)}},{key:"keyHandlers",get:function(){var e=this;return{"move-down:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.displayScrollLeft,e.requestedScrollTop+40))},"move-up:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.displayScrollLeft,e.requestedScrollTop-40))},"meta-up:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.displayScrollLeft,0))},"meta-down:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.displayScrollLeft,e.contentHeight))},"page-down:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.displayScrollLeft,e.requestedScrollTop+e.innerHeight))},"page-up:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.displayScrollLeft,e.requestedScrollTop-e.innerHeight))},"home:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.displayScrollLeft,0))},"end:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.displayScrollLeft,e.contentHeight))},"move-left:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.requestedScrollLeft-e.keyboardMove,e.displayScrollTop))},"move-right:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.requestedScrollLeft+e.keyboardMove,e.displayScrollTop))},"meta-left:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(0,e.displayScrollTop))},"meta-right:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.contentWidth,e.displayScrollTop))}}}},{key:"handleScroll",value:function(e){e.preventDefault(),e.stopPropagation(),this.overflowElement.scrollTop=0}},{key:"scrollTo",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];(0,u.Z)((0,p.Z)(r.prototype),"scrollTo",this).call(this,e,t,n,i)}},{key:"render",value:function(){return{template:F,_this:this}}}]),r}(b.Z),(0,h.Z)(M.prototype,"onMouseover",[f.Z],Object.getOwnPropertyDescriptor(M.prototype,"onMouseover"),M.prototype),(0,h.Z)(M.prototype,"onMouseleave",[f.Z],Object.getOwnPropertyDescriptor(M.prototype,"onMouseleave"),M.prototype),L=M))||L},823063:(e,t,r)=>{"use strict";r.d(t,{Z:()=>ut});var n=r(725115),i=r(685271),a=(r(304834),r(504397)),o=r(282466),s=r(89211),l=r(143681),c=r(236229),u=r(668962),p=r(749886),d=r(673136),m=r(588816),h=r(878537),v=r(54262),g=r(412333),f=r(600531),b=r(548967),y=r(704083),_=(r(35812),r(785226),r(913688),r(753194)),w=r(991815),k=r(584438),Z=r(180184),x=r(862156),S=r(819218),$=r(951395),A=r(126752),C=r(904951),T=r(537188),P=r.n(T),z=r(165764),E=r.n(z),O=r(774154),I=r.n(O),R=r(811949),j=r.n(R),N=r(934809),D=r.n(N),L=r(12509),M=r.n(L),B=r(692569),F={};F.styleTagTransform=M(),F.setAttributes=j(),F.insert=I().bind(null,"head"),F.domAPI=E(),F.insertStyleElement=D(),P()(B.Z,F);const H=B.Z&&B.Z.locals?B.Z.locals:void 0;var U,q,V,W,J,G,K,Y,X,Q,ee,te,re,ne,ie,ae,oe,se,le,ce,ue,pe,de,me,he,ve,ge,fe,be,ye;e=r.hmd(e);var _e={make:function(e){return _e=i.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(lt);st(t,r),e.attachEvent(t.div,"focus",ot),e.attachEvent(t.div,"blur",at),e.attachEvent(t.div,"mouseover",it),e.attachEvent(t.div,"mouseleave",nt),e.enterNode(r);var n=t.div1=e.pushTemplateNode(rt);tt(t,n),e.attachEvent(t.div1,"scroll",et),e.enterNode(n);var i=t.div2=e.pushTemplateNode(rt);e.enterNode(i),e.runBinder(Xe,Ye,t,!0),e.exitNode(i),e.exitNode(n),e.exitNode(r),e.runBinder(Ke,Ge,t,!0),e.runBinder(Je,We,t,!0),e.runBinder(Ve,qe,t,!0),e.runBinder(Ue,He,t,!0),e.runBinder(Fe,Be,t,!0),e.runBinder(Me,Le,t,!0),e.runBinder(De,Ne,t,!0),e.runBinder(je,Re,t,!0),e.runBinder(Ie,Oe,t,!0),e.runBinder(Ee,ze,t,!0),e.runBinder(Pe,Te,t,!0),e.runBinder(Ce,Ae,t,!0),e.runBinder($e,Se,t,!0),e.runBinder(xe,Ze,t,!0),e.runBinder(ke,we,t,!0)},dispose:function(e,t){t.div._jsx_data=null,t.div1._jsx_data=null,t.div1_interaction_value=void 0,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),e.removeSignals(t.div_class_binder1,t.div_class_invalidate1),e.removeSignals(t.div_class_binder2,t.div_class_invalidate2),e.removeSignals(t.div_style_binder,t.div_style_invalidate),e.removeSignals(t.div1_class_binder,t.div1_class_invalidate),e.removeSignals(t.div1_class_binder1,t.div1_class_invalidate1),e.removeSignals(t.div1_style$45overflow$45x_binder,t.div1_style$45overflow$45x_invalidate),e.removeSignals(t.div1_style$45overflow$45y_binder,t.div1_style$45overflow$45y_invalidate),e.removeSignals(t.div1_style$45position_binder,t.div1_style$45position_invalidate),e.removeSignals(t.div1_style$45width_binder,t.div1_style$45width_invalidate),e.removeSignals(t.div1_style$45height_binder,t.div1_style$45height_invalidate),e.removeSignals(t.div1_interaction_binder,t.div1_interaction_invalidate),e.removeSignals(t.div2_class_binder,t.div2_class_invalidate),e.removeSignals(t.div2_style$45height_binder,t.div2_style$45height_invalidate),e.removeSignals(t.div2_style$45position_binder,t.div2_style$45position_invalidate),st(t,null),tt(t,null)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){st(t,t.div),tt(t,t.div1),e.runBinder(Xe,Ye,t,!1),e.runBinder(Ke,Ge,t,!1),e.runBinder(Je,We,t,!1),e.runBinder(Ve,qe,t,!1),e.runBinder(Ue,He,t,!1),e.runBinder(Fe,Be,t,!1),e.runBinder(Me,Le,t,!1),e.runBinder(De,Ne,t,!1),e.runBinder(je,Re,t,!1),e.runBinder(Ie,Oe,t,!1),e.runBinder(Ee,ze,t,!1),e.runBinder(Pe,Te,t,!1),e.runBinder(Ce,Ae,t,!1),e.runBinder($e,Se,t,!1),e.runBinder(xe,Ze,t,!1),e.runBinder(ke,we,t,!1)},init:function(e,t){t.div._jsx_data=t,t.div1._jsx_data=t},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._tabindex||(e.attr._tabindex=e.ensureAttr("tabindex")),e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._style||(e.attr._style=e.ensureAttr("style")),e.attr._style$45overflow$45x||(e.attr._style$45overflow$45x=e.ensureAttr("style-overflow-x")),e.attr._style$45overflow$45y||(e.attr._style$45overflow$45y=e.ensureAttr("style-overflow-y")),e.attr._style$45position||(e.attr._style$45position=e.ensureAttr("style-position")),e.attr._style$45width||(e.attr._style$45width=e.ensureAttr("style-width")),e.attr._style$45height||(e.attr._style$45height=e.ensureAttr("style-height")),e.attr._interaction||(e.attr._interaction=e.ensureAttr("interaction"))}}),_e.make(e)}};function we(e,t,r,n,i,a){t.div2_style$45position_binder=r,t.div2_style$45position_invalidate=n;var o=t.div2_style$45position_value;(a||o!==i)&&(t.div2_style$45position_value=i,t.div2_style$45position_state=e.attr._style$45position(t.div2,"style-position",i,t.div2_style$45position_state))}function ke(e){return e.$_scope._this.scrollsDocument?"relative":void 0}function Ze(e,t,r,n,i,a){t.div2_style$45height_binder=r,t.div2_style$45height_invalidate=n;var o=t.div2_style$45height_value;(a||o!==i)&&(t.div2_style$45height_value=i,t.div2_style$45height_state=e.attr._style$45height(t.div2,"style-height",i,t.div2_style$45height_state))}function xe(e){return e.$_scope._this.contentHeight}function Se(e,t,r,n,i,a){t.div2_class_binder=r,t.div2_class_invalidate=n;var o=t.div2_class_value;(a||o!==i)&&(t.div2_class_value=i,t.div2_class_state=e.attr._class(t.div2,"class",i,t.div2_class_state))}function $e(e){return x.Z.innerView}function Ae(e,t,r,n,i,a,o){t.div1_interaction_binder=r,t.div1_interaction_invalidate=n;var s=t.div1_interaction_value;(a||s!==i)&&(t.div1_interaction_value=i,t.div1_interaction_state=e.attr._interaction(t.div1,"interaction",i,t.div1_interaction_state,Qe,e,o))}function Ce(e){return{name:"scroll"}}function Te(e,t,r,n,i,a){t.div1_style$45height_binder=r,t.div1_style$45height_invalidate=n;var o=t.div1_style$45height_value;(a||o!==i)&&(t.div1_style$45height_value=i,t.div1_style$45height_state=e.attr._style$45height(t.div1,"style-height",i,t.div1_style$45height_state))}function Pe(e){return e.$_scope._this.scrollsDocument?"auto":e.$_scope._this.innerHeight}function ze(e,t,r,n,i,a){t.div1_style$45width_binder=r,t.div1_style$45width_invalidate=n;var o=t.div1_style$45width_value;(a||o!==i)&&(t.div1_style$45width_value=i,t.div1_style$45width_state=e.attr._style$45width(t.div1,"style-width",i,t.div1_style$45width_state))}function Ee(e){return e.$_scope._this.innerWidth}function Oe(e,t,r,n,i,a){t.div1_style$45position_binder=r,t.div1_style$45position_invalidate=n;var o=t.div1_style$45position_value;(a||o!==i)&&(t.div1_style$45position_value=i,t.div1_style$45position_state=e.attr._style$45position(t.div1,"style-position",i,t.div1_style$45position_state))}function Ie(e){return e.$_scope._this.scrollsDocument?"static":"absolute"}function Re(e,t,r,n,i,a){t.div1_style$45overflow$45y_binder=r,t.div1_style$45overflow$45y_invalidate=n;var o=t.div1_style$45overflow$45y_value;(a||o!==i)&&(t.div1_style$45overflow$45y_value=i,t.div1_style$45overflow$45y_state=e.attr._style$45overflow$45y(t.div1,"style-overflow-y",i,t.div1_style$45overflow$45y_state))}function je(e){return e.$_scope._this.styleOverflowY}function Ne(e,t,r,n,i,a){t.div1_style$45overflow$45x_binder=r,t.div1_style$45overflow$45x_invalidate=n;var o=t.div1_style$45overflow$45x_value;(a||o!==i)&&(t.div1_style$45overflow$45x_value=i,t.div1_style$45overflow$45x_state=e.attr._style$45overflow$45x(t.div1,"style-overflow-x",i,t.div1_style$45overflow$45x_state))}function De(e){return e.$_scope._this.horizontalScroll?"scroll":"hidden"}function Le(e,t,r,n,i,a){t.div1_class_binder1=r,t.div1_class_invalidate1=n;var o=t.div1_class_value1;(a||o!==i)&&(t.div1_class_value1=i,t.div1_class_state1=e.attr._class(t.div1,"class",i,t.div1_class_state1))}function Me(e){return H.scrollBarStyles}function Be(e,t,r,n,i,a){t.div1_class_binder=r,t.div1_class_invalidate=n;var o=t.div1_class_value;(a||o!==i)&&(t.div1_class_value=i,t.div1_class_state=e.attr._class(t.div1,"class",i,t.div1_class_state))}function Fe(e){return x.Z.overflowView}function He(e,t,r,n,i,a){t.div_style_binder=r,t.div_style_invalidate=n;var o=t.div_style_value;(a||o!==i)&&(t.div_style_value=i,t.div_style_state=e.attr._style(t.div,"style",i,t.div_style_state))}function Ue(e){return e.$_scope._this.style}function qe(e,t,r,n,i,a){t.div_class_binder2=r,t.div_class_invalidate2=n;var o=t.div_class_value2;(a||o!==i)&&(t.div_class_value2=i,t.div_class_state2=e.attr._class(t.div,"class",i,t.div_class_state2))}function Ve(e){return(0,n.Z)({},x.Z.scrollActive,e.$_scope._this.scrollActive)}function We(e,t,r,n,i,a){t.div_class_binder1=r,t.div_class_invalidate1=n;var o=t.div_class_value1;(a||o!==i)&&(t.div_class_value1=i,t.div_class_state1=e.attr._class(t.div,"class",i,t.div_class_state1))}function Je(e){return e.$_scope._this.className}function Ge(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function Ke(e){return x.Z.outerView}function Ye(e,t,r,n,i,a){t.div_binder=r,t.div_invalidate=n;var o=t.div_value1;(a||o!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function Xe(e){return e.$_scope._this.children}function Qe(e){var t=this._jsx_data;t&&t.div1_interaction_state.onEvent(t,t.div1,e,t.div1_interaction_value)}function et(e){var t=this._jsx_data;t&&t.$_scope._this.onScroll(e)}function tt(e,t){e.$_scope._this.outerScrollView=t}var rt=(0,a.z)((function(e){return e.makeNode("div")}));function nt(e){var t=this._jsx_data;t&&t.$_scope._this.onMouseleave(e)}function it(e){var t=this._jsx_data;t&&t.$_scope._this.onMouseover(e)}function at(e){var t=this._jsx_data;t&&t.$_scope._this.onBlur(e)}function ot(e){var t=this._jsx_data;t&&t.$_scope._this.onFocus(e)}function st(e,t){e.$_scope._this.element=t}var lt=(0,a.z)((function(e){var t=e.makeNode("div");return e.attr._tabindex(t,"tabindex","1"),t})),ct=(!!_.Z.navigator&&_.Z.navigator.platform,["scroll"]);ct.push("mouseover","mouseleave");var ut=(U=(0,m.Z)((0,v.Z)("ScrollFull",{events:ct,fork:!0}),e,"ScrollFull"),q=(0,y.Z)("class"),V=(0,f.Z)(101),W=(0,f.Z)(15e3),U((G=function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(){var e;return(0,s.Z)(this,r),e=t.call(this),(0,o.Z)(e,"className",K,(0,c.Z)(e)),(0,o.Z)(e,"style",Y,(0,c.Z)(e)),(0,o.Z)(e,"scrollsDocument",X,(0,c.Z)(e)),(0,o.Z)(e,"verticalScroll",Q,(0,c.Z)(e)),(0,o.Z)(e,"horizontalScroll",ee,(0,c.Z)(e)),(0,o.Z)(e,"scrollInfo",te,(0,c.Z)(e)),(0,o.Z)(e,"handleKeyboardGlobally",re,(0,c.Z)(e)),(0,o.Z)(e,"contentWidth",ne,(0,c.Z)(e)),(0,o.Z)(e,"contentHeight",ie,(0,c.Z)(e)),(0,o.Z)(e,"scrollBarPadding",ae,(0,c.Z)(e)),(0,o.Z)(e,"viewWidth",oe,(0,c.Z)(e)),(0,o.Z)(e,"viewHeight",se,(0,c.Z)(e)),(0,o.Z)(e,"inputConfig",le,(0,c.Z)(e)),(0,o.Z)(e,"focusOnAttach",ce,(0,c.Z)(e)),(0,o.Z)(e,"requestedScrollLeft",ue,(0,c.Z)(e)),(0,o.Z)(e,"requestedScrollTop",pe,(0,c.Z)(e)),(0,o.Z)(e,"directionLeft",de,(0,c.Z)(e)),(0,o.Z)(e,"directionTop",me,(0,c.Z)(e)),(0,o.Z)(e,"displayScrollLeft",he,(0,c.Z)(e)),(0,o.Z)(e,"displayScrollTop",ve,(0,c.Z)(e)),(0,o.Z)(e,"scrolling",ge,(0,c.Z)(e)),(0,o.Z)(e,"trackHovered",fe,(0,c.Z)(e)),(0,o.Z)(e,"offsetX",be,(0,c.Z)(e)),(0,o.Z)(e,"offsetY",ye,(0,c.Z)(e)),e.userEvent=!1,e.animation=e.link(new Z.Z),e.watch((function(){return e.className}),e.updateSize),e.watch((function(){return e.verticalScroll}),e.updateScroll),e.watch((function(){return e.horizontalScroll}),e.updateScroll),e.watch((function(){return e.contentWidth}),e.updateScroll),e.watch((function(){return e.contentHeight}),e.updateScroll),e.watch((function(){return e.scrollBarPadding}),e.updateScroll),e.listenTo(e.animation,"update",e.onAnimationUpdate),e.scrollInfo&&e.scrollInfo.keyboardEnabled&&(e.keyboardManager=e.link(new w.Z((0,c.Z)(e),k.Z,e.keyHandlers)),e.keyboardMove=e.scrollInfo&&e.scrollInfo.keyboardMove?e.scrollInfo.keyboardMove:40),e.removeScrolling=(0,C.Z)((function(){e.scrolling=!1,e.trackHovered=!1}),1e3),e}return(0,l.Z)(r,[{key:"scrollKeyboardAnimated",value:function(e,t){this.animationEnabled?this.animateTo(e,t):this.scrollTo(e,t,!1,!0)}},{key:"animateTo",value:function(e,t){this.animation.scroll(this.displayScrollLeft,this.displayScrollTop,e,t,this.scrollInfo)}},{key:"animationEnabled",get:function(){return!!this.scrollInfo&&("keyboard"===this.scrollInfo.animation||"enabled"===this.scrollInfo.animation)}},{key:"onFocus",value:function(e){this.focused=!0}},{key:"onBlur",value:function(e){this.focused=!1}},{key:"attached",value:function(){var e=this;this.updateSize(),this.resizeLink=this.link((0,A.Oo)(window,"resize",this.updateSize)),this.scrollsDocument&&(this.scrollLink=this.link((0,A.Oo)(document,"scroll",this.onScroll))),this.focusOnAttach&&this.element.focus(),this.scrollsDocument?this.updateLink=this.watch((function(){return e.contentHeight}),this.updateSize):this.updateLink=this.watch((function(){return e.contentHeight}),this.updateScroll)}},{key:"detached",value:function(){this.scrollLink&&(this.disposeLink(this.scrollLink),this.scrollLink=null),this.resizeLink&&(this.disposeLink(this.resizeLink),this.resizeLink=null),this.updateLink&&(this.disposeLink(this.updateLink),this.updateLink=null)}},{key:"scrollableElementHeight",get:function(){var e=document.documentElement.clientHeight;return Math.min(e-this.element.offsetTop,this.element.offsetTop+this.element.clientHeight)}},{key:"updateSizeImpl",value:function(){if(this.element){var e=this.scrollsDocument?this.scrollableElementHeight:this.element.clientHeight;this.viewWidth===this.element.clientWidth&&this.viewHeight===e||(this.viewWidth=this.element.clientWidth,this.viewHeight=e,this.updateScroll())}}},{key:"scrollTop",get:function(){return this.displayScrollTop}},{key:"offsetTop",get:function(){return this.element.getBoundingClientRect().top}},{key:"height",get:function(){return this.innerHeight}},{key:"updateSize",value:function(){var e=this;this.updateSizeImpl(),S.Z.edge&&requestAnimationFrame((function(){e.updateSizeImpl()}))}},{key:"innerWidth",get:function(){return this.viewWidth-(this.verticalScroll?this.scrollBarPadding:0)}},{key:"innerHeight",get:function(){return this.viewHeight-(this.horizontalScroll?this.scrollBarPadding:0)}},{key:"scrollTopAmount",get:function(){return this.requestedScrollTop-this.displayScrollTop}},{key:"scrollLeftAmount",get:function(){return this.requestedScrollLeft-this.displayScrollLeft}},{key:"onAnimationUpdate",value:function(e,t){this.request(e,t),this.updateScroll()}},{key:"onScroll",value:function(e){this.displayScrollTop=this.requestedScrollTop=this.scrollsDocument?document.documentElement.scrollTop:this.outerScrollView.scrollTop,this.trigger("scroll",e),this.updateBoundingClientRect()}},{key:"updateScroll",value:function(){this.updateScrollNow()}},{key:"onMouseover",value:function(e){this.trigger("mouseover",e)}},{key:"onMouseleave",value:function(e){this.trigger("mouseleave",e)}},{key:"onStart",value:function(){}},{key:"onEnd",value:function(){}},{key:"onUpdate",value:function(){}},{key:"canHandleKeyEvent",value:function(e){return!(0,$.Z)(e.target)&&(this.focused||this.handleKeyboardGlobally)}},{key:"keyHandlers",get:function(){var e=this;return{"move-down:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.displayScrollLeft,e.requestedScrollTop+40))},"move-up:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.displayScrollLeft,e.requestedScrollTop-40))},"meta-up:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.displayScrollLeft,0))},"meta-down:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.displayScrollLeft,e.contentHeight))},"page-down:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.displayScrollLeft,e.requestedScrollTop+e.innerHeight))},"page-up:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.displayScrollLeft,e.requestedScrollTop-e.innerHeight))},"home:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.displayScrollLeft,0))},"end:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.displayScrollLeft,e.contentHeight))},"move-left:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.requestedScrollLeft-e.keyboardMove,e.displayScrollTop))},"move-right:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.requestedScrollLeft+e.keyboardMove,e.displayScrollTop))},"meta-left:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(0,e.displayScrollTop))},"meta-right:down":function(t){e.canHandleKeyEvent(t)&&(t.stopPropagation(),t.preventDefault(),e.scrollKeyboardAnimated(e.contentWidth,e.displayScrollTop))}}}},{key:"updateScrollNow",value:function(){null!=this.element&&(this.displayScrollLeft=this.requestedScrollLeft=this.horizontalScroll?Math.min(Math.max(0,this.requestedScrollLeft),Math.max(0,this.contentWidth-this.innerWidth)):0,this.scrollsDocument?(this.displayScrollTop=this.requestedScrollTop=this.verticalScroll?Math.min(Math.max(0,this.requestedScrollTop),Math.max(0,document.documentElement.scrollHeight-this.innerHeight)):0,document.documentElement.scrollTop=this.displayScrollTop):(this.displayScrollTop=this.requestedScrollTop=this.verticalScroll?Math.min(Math.max(0,this.requestedScrollTop),Math.max(0,this.contentHeight-this.innerHeight)):0,this.outerScrollView.scrollTop=this.displayScrollTop),this.updateBoundingClientRect(),this.trigger("scroll",this.userEvent),this.setupScrolling())}},{key:"updateBoundingClientRect",value:function(){var e=this.element.getBoundingClientRect();this.offsetX=this.displayScrollLeft-e.left,this.offsetY=this.displayScrollTop-e.top}},{key:"request",value:function(e,t){this.directionLeft=t===this.requestedScrollTop?0:e>this.requestedScrollLeft?1:-1,this.directionTop=t===this.requestedScrollTop?0:t>this.requestedScrollTop?1:-1,this.requestedScrollLeft=e,this.requestedScrollTop=t}},{key:"scrollTo",value:function(e,t){var r=this,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return this.userEvent=n,this.animation.stop(),e=this.horizontalScroll?Math.min(Math.max(0,e),Math.max(0,this.contentWidth-this.innerWidth)):0,t=this.verticalScroll?Math.min(Math.max(0,t),Math.max(0,this.contentHeight-document.documentElement.clientHeight)):0,(this.requestedScrollLeft!==e||this.requestedScrollTop!==t)&&(this.request(e,t),this.updateScrollNow(),requestAnimationFrame((function(){r.updateScrollNow()})),!0)}},{key:"setupScrolling",value:function(){this.scrolling=!0,this.removeScrolling()}},{key:"scrollTransform",get:function(){return e=-this.displayScrollLeft,t=-this.displayScrollTop,"translate3D(".concat(e,"px, ").concat(t,"px, 0)");var e,t}},{key:"verticalLeft",get:function(){return this.viewWidth-this.scrollBarSize-this.scrollBarMargin}},{key:"horizontalTop",get:function(){return this.viewHeight-this.scrollBarSize-this.scrollBarMargin}},{key:"scrollActive",get:function(){return this.scrolling}},{key:"focused",get:function(){return this._focused&&this.element===document.activeElement||!this.element.contains(document.activeElement)},set:function(e){this._focused=e}},{key:"styleOverflowY",get:function(){return this.scrollsDocument?"visible":this.verticalScroll?"scroll":"hidden"}},{key:"render",value:function(){return{template:_e,_this:this}}}]),r}(h.Z),K=(0,d.Z)(G.prototype,"className",[q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=(0,d.Z)(G.prototype,"style",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,d.Z)(G.prototype,"scrollsDocument",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Q=(0,d.Z)(G.prototype,"verticalScroll",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),ee=(0,d.Z)(G.prototype,"horizontalScroll",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),te=(0,d.Z)(G.prototype,"scrollInfo",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{animation:!1,duration:100,friction:100,keyboardEnabled:!0,keyboardMove:40}}}),re=(0,d.Z)(G.prototype,"handleKeyboardGlobally",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),ne=(0,d.Z)(G.prototype,"contentWidth",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),ie=(0,d.Z)(G.prototype,"contentHeight",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),ae=(0,d.Z)(G.prototype,"scrollBarPadding",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),oe=(0,d.Z)(G.prototype,"viewWidth",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),se=(0,d.Z)(G.prototype,"viewHeight",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),le=(0,d.Z)(G.prototype,"inputConfig",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),ce=(0,d.Z)(G.prototype,"focusOnAttach",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),ue=(0,d.Z)(G.prototype,"requestedScrollLeft",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),pe=(0,d.Z)(G.prototype,"requestedScrollTop",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),de=(0,d.Z)(G.prototype,"directionLeft",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),me=(0,d.Z)(G.prototype,"directionTop",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),he=(0,d.Z)(G.prototype,"displayScrollLeft",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),ve=(0,d.Z)(G.prototype,"displayScrollTop",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),ge=(0,d.Z)(G.prototype,"scrolling",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),fe=(0,d.Z)(G.prototype,"trackHovered",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),be=(0,d.Z)(G.prototype,"offsetX",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ye=(0,d.Z)(G.prototype,"offsetY",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,d.Z)(G.prototype,"updateSize",[V],Object.getOwnPropertyDescriptor(G.prototype,"updateSize"),G.prototype),(0,d.Z)(G.prototype,"onScroll",[f.Z],Object.getOwnPropertyDescriptor(G.prototype,"onScroll"),G.prototype),(0,d.Z)(G.prototype,"updateScroll",[f.Z],Object.getOwnPropertyDescriptor(G.prototype,"updateScroll"),G.prototype),(0,d.Z)(G.prototype,"onMouseover",[f.Z],Object.getOwnPropertyDescriptor(G.prototype,"onMouseover"),G.prototype),(0,d.Z)(G.prototype,"onMouseleave",[f.Z],Object.getOwnPropertyDescriptor(G.prototype,"onMouseleave"),G.prototype),(0,d.Z)(G.prototype,"onStart",[g.Z],Object.getOwnPropertyDescriptor(G.prototype,"onStart"),G.prototype),(0,d.Z)(G.prototype,"onEnd",[g.Z],Object.getOwnPropertyDescriptor(G.prototype,"onEnd"),G.prototype),(0,d.Z)(G.prototype,"onUpdate",[g.Z],Object.getOwnPropertyDescriptor(G.prototype,"onUpdate"),G.prototype),(0,d.Z)(G.prototype,"updateBoundingClientRect",[W],Object.getOwnPropertyDescriptor(G.prototype,"updateBoundingClientRect"),G.prototype),J=G))||J)},978788:(e,t,r)=>{"use strict";var n=r(846031),i=(r(290671),r(816221),r(17938),r(587621),r(308967),r(459471)),a=r(875937),o=(r(951898),/^SP-|^UE-|^OVERLAY-TRIGGER$/),s={update:function(e,t){t?e.setAttribute("selected",""):e.removeAttribute("selected")},read:function(e){return null!=e.getAttribute("selected")},onEvent:a.Z};function l(e){return{update:function(t,r){r?t.setAttribute(e,r):t.removeAttribute(e)},read:function(t){return t.getAttribute(e)},onEvent:a.Z}}var c=function(e,t,r,i,a){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];if(a){if(!i){var s,c=(0,n.Z)(o);try{for(c.s();!(s=c.n()).done;){var u=s.value;e.addEventListener(u,a,!1)}}catch(e){c.e(e)}finally{c.f()}i=l(t)}return e._TorqUpdate=!0,i.update(e,r),e._TorqUpdate=!1,i}r?e.setAttribute(t,r):e.removeAttribute(t)};function u(e,t,r,n,i){if(o.test(e.tagName))return"selected"===t&&"SP-ACTION-BUTTON"===e.tagName?function(e,t,r,n,i){if(i)return n||(e.addEventListener("click",i,!1),n=s),e._TorqUpdate=!0,n.update(e,null!=r&&r),e._TorqUpdate=!1,n;r?e.setAttribute(t,""):e.removeAttribute(t)}(e,t,r,n,i):"selected"===t&&"SP-ACTION-GROUP"===e.tagName?c(e,t,null!=r?r:"[]",n,i,["click","keydown","keyup"]):"selected"===t&&"SP-TABS"===e.tagName||"selected"===t&&"SP-RADIO-GROUP"===e.tagName?c(e,t,r,n,i,["click","keydown","keyup"]):"open"===t&&"OVERLAY-TRIGGER"===e.tagName?c(e,t,r,n,i):function(e,t,r){r?e.setAttribute(t,""):e.removeAttribute(t)}(e,t,r);null==r?e.removeAttribute(t):e.setAttribute(t,r)}var p,d=JSON.parse('["active","allow-multiple","animating","auto","collapsible","compact","corner","cover","deletable","dialog","dismissable","dragged","dragging","editable","emphasized","enableTabsScroll","error","expanded","flexible","focused","grows","hasSubmenu","hide-stepper","highlight","hold-affordance","horizontal","icon","ignore","indeterminate","invalid","justified","keyboard-focused","layer","left","manage-tab-index","mixed-value","multiline","negative","no-divider","no-wrap","nothing","notice","open","opened","over-background","positive","quiet","resizable","responsive","scroller","selectable","selected","selects-single","self-managed","side-label","sortable","text-only","tick-labels","tip","toggles","underlay","valid","vertical"]'),m=(0,n.Z)(d);try{for(m.s();!(p=m.n()).done;){var h=p.value;(0,i.Ve)(h,u)}}catch(e){m.e(e)}finally{m.f()}},149895:(e,t,r)=>{"use strict";var n,i;r.d(t,{R:()=>i,Z:()=>n});var a=window;n=a.DevelopResources,i=a.PageResources},62800:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n,i=r(975260),a=r(386765);n={app:null,appController:null,keyboardController:null,scrollableDocument:!1},a.q.enabled&&(a.q.AppGlobals=n),i.c.enabled&&(i.c.AppGlobals=n);const o=n},121094:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n,i,a=r(427456),o=r(819218);const s={COMPACT_SIZE:668,MINIMAL_SIZE:320,touch:a.Z,gesture:"GestureEvent"in window,mouse:!a.Z||o.Z.win,hover:window.matchMedia("(hover: hover)").matches,geolocation:null!=navigator.geolocation,pixelDensity:null!=(n=window.devicePixelRatio)?n:1,wasm:null!=window.WebAssembly,webgl:null!=((i=document.createElement("canvas")).getContext("webgl")||i.getContext("experimental-webgl")),hasLocalStorage:function(){try{return localStorage.setItem("dummy_key","dummy_key"),localStorage.removeItem("dummy_key"),!0}catch(e){return!1}}(),viewportWidth:function(){return document.documentElement.clientWidth},viewportHeight:function(){return document.documentElement.clientHeight},isCompact:function(e,t){return this.isCompactWidth(e)||this.isCompactHeight(t)},isCompactWidth:function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.viewportWidth())<=this.COMPACT_SIZE},isCompactHeight:function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.viewportHeight())<=this.COMPACT_SIZE},isCompactScreen:function(){return screen.width<=this.COMPACT_SIZE||screen.height<=this.COMPACT_SIZE},isMinimal:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.viewportWidth(),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.viewportHeight();return e<=this.MINIMAL_SIZE||t<=this.MINIMAL_SIZE},isFullscreen:function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement},isFullscreenEnabled:function(){return!o.Z.silk&&(document.fullscreenEnabled||document.mozFullScreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled)},isVideoSupported:function(){try{return null!=document.createElement("video").canPlayType}catch(e){return!1}}}},940222:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n,i,a=r(89211),o=r(143681),s=(r(340781),r(630647),r(121094)),l=r(149895);n=function(){function e(t){(0,a.Z)(this,e),this.prefix=null!=t?"accounts.".concat(t.id,"."):"defaultuser."}return(0,o.Z)(e,[{key:"getItem",value:function(e){if(s.Z.hasLocalStorage)return window.localStorage.getItem(this.prefix+e)}},{key:"setItem",value:function(e,t){if(s.Z.hasLocalStorage)return null==t||""===t?this.removeItem(e):window.localStorage.setItem(this.prefix+e,t)}},{key:"removeItem",value:function(e){return window.localStorage.removeItem(this.prefix+e)}},{key:"getItemOrDefault",value:function(e){var t,r;return r=null!=this.getItem(e)?this.getItem(e):this.defaultFor(e),t=this._parseValue(e,r),this._validateValue(e,t)}},{key:"defaultFor",value:function(e){var t,r;return(null!=(t=this.getPreferenceInfo(e))?t.default:void 0)||(null!=t&&null!=(r=t.choices)?r[0]:void 0)||""}},{key:"typeFor",value:function(e){var t;return null!=(t=this.getPreferenceInfo(e))?t.type:void 0}},{key:"getPreferenceInfo",value:function(e){var t,r,n,i;for(t=0,n=(i=this.CONFIGURABLE_KEYS).length;t<n;t++)if((r=i[t]).key===e)return r}},{key:"resetToDefaults",value:function(){var e,t,r,n,i;for(i=[],e=0,r=(n=this.CONFIGURABLE_KEYS).length;e<r;e++)t=n[e],i.push(this.setItem(t.key,null));return i}},{key:"_parseValue",value:function(t,r){switch(this.typeFor(t)){case e.TYPE_BOOLEAN:return 1===parseInt(r);case e.TYPE_TEXT:case e.TYPE_CHOICE:return r;case e.TYPE_INTEGER:return parseInt(r)}}},{key:"_validateValue",value:function(t,r){var n,i,a,o;switch(this.typeFor(t)){case e.TYPE_BOOLEAN:if(!0===r||!1===r)return r;break;case e.TYPE_TEXT:if("string"==typeof r)return r;break;case e.TYPE_CHOICE:for(n=0,a=(o=this.getPreferenceInfo(t).choices).length;n<a;n++)if(r===o[n].value)return r;break;case e.TYPE_INTEGER:if(null!=(i=this.getPreferenceInfo(t)).min&&null!=i.max){if(r<=i.max&&r>=i.min)return r}else if("number"==typeof r)return r}return this.defaultFor(t)}}]),e}();const c=new n(null!=(i=null!=l.R?l.R.account_attributes:void 0)?i:null)},337720:(e,t,r)=>{"use strict";r.d(t,{Z:()=>k});var n,i,a,o,s,l,c,u,p,d=r(282466),m=r(89211),h=r(143681),v=r(673136),g=r(548967),f=(r(973774),r(888784),r(824098),r(573467),r(635105),r(975260)),b=r(386765),y=r(189256),_=(r(432032),r(657680)),w=r(784090);n=function(){function e(){(0,m.Z)(this,e),(0,d.Z)(this,"_state",i,this),(0,d.Z)(this,"uploadStatus",a,this),(0,d.Z)(this,"currentSpace",o,this),(0,d.Z)(this,"publicGallery",s,this),(0,d.Z)(this,"publicGalleryLoaded",l,this),(0,d.Z)(this,"shareSidebarAlbums",c,this),(0,d.Z)(this,"pageJustLoaded",u,this),this.libraryPages=!1,this.newUser=!1,this.catalogs=null,this.spaces=null,this.embedded=null,this.recentAlbumsAndAdhocs=new Array,this.deletedAssets={},this.stateIsDirty=!1,this.firstAppState=!0,this.imageCache=new _.Z,this.showFirstEditTip=!1}return(0,h.Z)(e,[{key:"state",get:function(){return this._state},set:function(e){return null!=this._state&&(this.firstAppState=!1),this._state=e}},{key:"catalog",get:function(){return y.Z.catalogContext}},{key:"space",get:function(){return this.currentSpace||y.Z.spaceContext}},{key:"account",get:function(){return y.Z.account}},{key:"setSpaceContext",value:function(e){this.currentSpace=e}},{key:"ownedLibraryView",get:function(){var e;return!!this.libraryPages&&!(null!=(e=this.state)?e.isSharedWithYouGrid():void 0)}},{key:"nonFreemiumLibraryPages",get:function(){return this.libraryPages&&null!=this.catalog}},{key:"loadPublicGalleryP",value:function(){var e=this;return this.libraryPages?this.catalog.gallerySpaces.allP().done((function(t){return t.length>0&&(e.publicGallery=t[0]),e.publicGalleryLoaded=!0})):w.Deferred().reject()}},{key:"addRecentAlbumsAndAdhocs",value:function(e){if(this.hasRecentAlbum(e)?e.id!==this.recentAlbumsAndAdhocs[this.recentAlbumsAndAdhocs.length-1].id&&(this.recentAlbumsAndAdhocs.splice(this.recentAlbumsAndAdhocs.indexOf(this.findInRecentAlbum(e)),1),this.recentAlbumsAndAdhocs.push(e)):this.recentAlbumsAndAdhocs.push(e),this.recentAlbumsAndAdhocs.length>3)return this.recentAlbumsAndAdhocs.shift()}},{key:"deleteRecentAlbumsAndAdhocs",value:function(e){if(this.hasRecentAlbum(e))return this.recentAlbumsAndAdhocs.splice(this.recentAlbumsAndAdhocs.indexOf(e),1)}},{key:"hasRecentAlbum",value:function(e){return this.recentAlbumsAndAdhocs.filter((function(t){return t.id===(null!=e?e.id:void 0)})).length>0}},{key:"findInRecentAlbum",value:function(e){return this.recentAlbumsAndAdhocs.find((function(t){return t.id===(null!=e?e.id:void 0)}))}},{key:"assetIdsDeleted",value:function(e){var t,r,n,i;for(i=[],t=0,n=e.length;t<n;t++)r=e[t],i.push(this.deletedAssets[r]=!0);return i}},{key:"assetIdsRestored",value:function(e){var t,r,n,i;for(i=[],t=0,n=e.length;t<n;t++)r=e[t],i.push(this.deletedAssets[r]=!1);return i}},{key:"isAssetIdDeleted",value:function(e){return!0===this.deletedAssets[e]}}]),e}(),i=(0,v.Z)(n.prototype,"_state",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,v.Z)(n.prototype,"uploadStatus",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,v.Z)(n.prototype,"currentSpace",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,v.Z)(n.prototype,"publicGallery",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,v.Z)(n.prototype,"publicGalleryLoaded",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),c=(0,v.Z)(n.prototype,"shareSidebarAlbums",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,v.Z)(n.prototype,"pageJustLoaded",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),p=new(p=n),b.q.enabled&&(b.q.AppData=p),f.c.enabled&&(f.c.AppData=p);const k=p},158271:(e,t,r)=>{"use strict";r.d(t,{Z:()=>l});var n=r(89211),i=r(143681),a=r(668962),o=r(749886),s=(r(470373),r(19067),r(41332),r(951160));r(874647),r(10905),r(991815),r(584438),r(166169);const l=function(e){(0,a.Z)(r,e);var t=(0,o.Z)(r);function r(e,i){var a;return(0,n.Z)(this,r),(a=t.call(this,e)).gridController=i,a}return(0,i.Z)(r,[{key:"allowEditing",get:function(){var e,t;return(null!=(e=this.gridController)&&null!=(t=e.scope)?t.allowEditing:void 0)||!1}},{key:"priority",get:function(){var e;return"drag-and-drop"===this.state.interactionName&&1===this.touches.length&&(e=this.touches.at(0),!!this.gridController.containsElement(e.event.target)&&("wait"===this.eventState?this.waitTime>=400?(this.hold(),200):(this.waiting||(this.wait(400),this.waiting=!0,this.didHoldSelection=!1),!1):(this.waiting=!1,!1)))}},{key:"hold",value:function(){var e,t,r,n;if(this.allowEditing){if(null==(t=null!=(e=(n=this.touches.at(0)).model)&&null!=(r=e.model)?r.item:void 0))return;return t.trigger("select-toggle",n.event),this.didHoldSelection=!0,this.mapper.touchManager.preventDefault=!0}}}]),r}(s.Z)},118142:(e,t,r)=>{"use strict";r.d(t,{Z:()=>le});var n=r(685271),i=r(878537),a=r(504397),o=r(224440),s=r(282466),l=r(89211),c=r(143681),u=r(236229),p=r(668962),d=r(749886),m=r(673136),h=r(588816),v=r(54262),g=r(600531),f=r(491464),b=r(548967),y=r(704083),_=(r(913688),r(420531)),w=(r(41332),r(192678)),k=r.n(w),Z=r(727188),x=r(62800),S=(r(907532),r(537188)),$=r.n(S),A=r(165764),C=r.n(A),T=r(774154),P=r.n(T),z=r(811949),E=r.n(z),O=r(934809),I=r.n(O),R=r(12509),j=r.n(R),N=r(743451),D={};D.styleTagTransform=j(),D.setAttributes=E(),D.insert=P().bind(null,"head"),D.domAPI=C(),D.insertStyleElement=I(),$()(N.Z,D);const L=N.Z&&N.Z.locals?N.Z.locals:void 0;var M,B,F,H,U,q,V,W,J;e=r.hmd(e);var G={make:function(e){return G=n.ZP.make({render:function(e,t){var r=t.g=!e._group_g&&e.pushTemplateNode(se);r&&e.enterNode(r);var n=t.using=ae.make(e);n.$_parent=t,n.template.run(e,n);var i=t.using1=ne.make(e);i.$_parent=t,i.template.run(e,i);var a=t.div=e.pushTemplateNode(re);e.enterNode(a),e.runBinder(te,ee,t,!0),e.exitNode(a),e.runBinder(Q,X,t,!0);var o=t.using2=K.make(e);o.$_parent=t,o.template.run(e,o),r&&e.exitNode(r)},dispose:function(e,t){t.using.template.dispose(e,t.using),t.using1.template.dispose(e,t.using1),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),t.using2.template.dispose(e,t.using2)},move:function(e,t){t.g?e.pushNode(t.g):(t.using.template.move(e,t.using),t.using1.template.move(e,t.using1),e.pushNode(t.div),t.using2.template.move(e,t.using2))},reuse:function(e,t){t.using.template.reuse(e,t.using),t.using1.template.reuse(e,t.using1),e.runBinder(te,ee,t,!1),e.runBinder(Q,X,t,!1),t.using2.template.reuse(e,t.using2)},firstChild:function(e,t){return t.g||t.using.template.firstChild(e,t.using)},lastChild:function(e,t){return t.g||t.using2.template.lastChild(e,t.using2)},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}}),G.make(e)}},K={make:function(e){return K=e.makeComponent(o.Z,{args:1,props:{getValue:function(e){return e.$_parent.$_scope._this.footerClass}},blocks:[{name:"children",template:n.ZP.make({render:function(e,t){var r=t.footerClass_base=t.v0,n=t.footerClass=Y.make(e,r).make(e);n.$_parent=t,n.template.run(e,n)},dispose:function(e,t){t.footerClass.template.dispose(e,t.footerClass)},move:function(e,t){t.footerClass.template.move(e,t.footerClass)},reuse:function(e,t){var r=t.v0;if(r!==t.footerClass_base){t.footerClass_base=r;var n=Y.make(e,r).make(e);n.$_parent=t,e.replaceTemplate(t.footerClass,n),t.footerClass=n}else t.footerClass.template.reuse(e,t.footerClass)},firstChild:function(e,t){return t.footerClass.template.firstChild(e,t.footerClass)},lastChild:function(e,t){return t.footerClass.template.lastChild(e,t.footerClass)}})}]}),K.make(e)}},Y={make:function(e,t){return(Y=i.Z.makeDynamic({})).make(e,t)}};function X(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function Q(e){return e.$_scope._this.containerClasses}function ee(e,t,r,n,i,a){t.div_binder=r,t.div_invalidate=n;var o=t.div_value1;(a||o!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function te(e){return e.$_scope._this.renderContent()}var re=(0,a.z)((function(e){return e.makeNode("div")})),ne={make:function(e){return ne=e.makeComponent(o.Z,{args:1,props:{getValue:function(e){return e.$_parent.$_scope._this.positionedContentClass}},blocks:[{name:"children",template:n.ZP.make({render:function(e,t){var r=t.positionedContentClass_base=t.v0,n=t.positionedContentClass=ie.make(e,r).make(e);n.$_parent=t,n.template.run(e,n)},dispose:function(e,t){t.positionedContentClass.template.dispose(e,t.positionedContentClass)},move:function(e,t){t.positionedContentClass.template.move(e,t.positionedContentClass)},reuse:function(e,t){var r=t.v0;if(r!==t.positionedContentClass_base){t.positionedContentClass_base=r;var n=ie.make(e,r).make(e);n.$_parent=t,e.replaceTemplate(t.positionedContentClass,n),t.positionedContentClass=n}else t.positionedContentClass.template.reuse(e,t.positionedContentClass)},firstChild:function(e,t){return t.positionedContentClass.template.firstChild(e,t.positionedContentClass)},lastChild:function(e,t){return t.positionedContentClass.template.lastChild(e,t.positionedContentClass)}})}]}),ne.make(e)}},ie={make:function(e,t){return(ie=i.Z.makeDynamic({attributes:[{name:"gridAssetSource",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this.assetSource},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_parent.$_scope._this.assetSource=e)}}]})).make(e,t)}},ae={make:function(e){return ae=e.makeComponent(o.Z,{args:1,props:{getValue:function(e){return e.$_parent.$_scope._this.headerClass}},blocks:[{name:"children",template:n.ZP.make({render:function(e,t){var r=t.headerClass_base=t.v0,n=t.headerClass=oe.make(e,r).make(e);n.$_parent=t,n.template.run(e,n)},dispose:function(e,t){t.headerClass.template.dispose(e,t.headerClass)},move:function(e,t){t.headerClass.template.move(e,t.headerClass)},reuse:function(e,t){var r=t.v0;if(r!==t.headerClass_base){t.headerClass_base=r;var n=oe.make(e,r).make(e);n.$_parent=t,e.replaceTemplate(t.headerClass,n),t.headerClass=n}else t.headerClass.template.reuse(e,t.headerClass)},firstChild:function(e,t){return t.headerClass.template.firstChild(e,t.headerClass)},lastChild:function(e,t){return t.headerClass.template.lastChild(e,t.headerClass)}})}]}),ae.make(e)}},oe={make:function(e,t){return(oe=i.Z.makeDynamic({attributes:[{name:"theme",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_parent.$_scope._this}}]})).make(e,t)}},se=(0,a.z)((function(e){return e.makeNode("g")}));const le=(M=(0,h.Z)((0,v.Z)("Theme",{events:["asset-click","toggle-asset-select","scroll-to-asset","segment-click"]}),e,"Theme"),B=(0,g.Z)(101),M((H=function(e){(0,p.Z)(r,e);var t=(0,d.Z)(r);function r(){var e;return(0,l.Z)(this,r),e=t.call(this),(0,s.Z)(e,"controller",U,(0,u.Z)(e)),(0,s.Z)(e,"source",q,(0,u.Z)(e)),(0,s.Z)(e,"viewWidth",V,(0,u.Z)(e)),(0,s.Z)(e,"viewHeight",W,(0,u.Z)(e)),(0,s.Z)(e,"virtualScroll",J,(0,u.Z)(e)),e._initialize(),e}return(0,c.Z)(r,[{key:"_initialize",value:function(){return this.lastAssetLength=0,this._watchAssetSource(),this._watchViewDimensions()}},{key:"_watchAssetSource",value:function(){var e=this;return this.watchCollection((function(){return e.assetSource.modelsBindable}),(function(t){return e.assetSourceModelsChanged(t)}),!0),this.watch((function(){return e.assetSource}),(function(){return e.assetSourceChanged()}),!0),this.watch((function(){var t;return null!=(t=e.assetSource)?t.finished:void 0}),(function(t){if(t)return e.updateLayout()}))}},{key:"_watchViewDimensions",value:function(){var e=this;return this.watch((function(){return e.viewWidth}),(function(){return e.viewDimensionsChanged()}))}},{key:"assetSourceModelsChanged",value:function(e){return e.length>=this.lastAssetLength?this.updateLayout():this.resetLayout()}},{key:"assetSourceChanged",value:function(){return this.scrollToTarget=null,this.resetLayout()}},{key:"viewDimensionsChanged",value:function(){var e,t;return this.resetLayout(),null!=(e=this.virtualScroll)&&null!=(t=e.scroll)?t.updateSize():void 0}},{key:"_updateThumbSize",value:function(){}},{key:"scrollToTarget",get:function(){var e;return null!=(null!=(e=this.scope)?e.controller:void 0)?this.scope.controller.scrollTarget:this._scrollToTarget},set:function(e){var t;return null!=(null!=(t=this.scope)?t.controller:void 0)?this.scope.controller.scrollTarget=e:this._scrollToTarget=e}},{key:"_canUpdateThumbSize",value:function(){return null!=this.viewWidth&&this.viewWidth>0&&null!=this.viewHeight&&null!=this.layout&&null!=this.assetSource}},{key:"_watchThumbSize",value:function(){var e=this;return this.multiWatch([function(){return Z.Z.thumbSize},function(){return e.viewHeight}],(function(){var t;if(t=e.scope.isSelecting&&e.scope.useLegacySelection?50:0,(e.lastThumbSize!==Z.Z.thumbSize||e.lastThumbSizeVH!==e.viewHeight+t)&&(e.lastThumbSize=Z.Z.thumbSize,e.lastThumbSizeVH=e.viewHeight+t,e._canUpdateThumbSize()))return e._updateThumbSize()})),window.requestAnimationFrame((function(){if(e._canUpdateThumbSize())return e._updateThumbSize()}))}},{key:"updateLayout",value:function(){var e,t,r=this;if(this.viewWidth>0)return e=this._getModelsForLayout(),this.lastAssetLength=null!=(t=null!=e?e.length:void 0)?t:0,this.updateLayoutItems(null!=e?e:[]),null!=this.scrollToTarget?(this.trigger("scroll-to-asset",this.scrollToTarget),window.requestAnimationFrame((function(){if(null!=r.scrollToTarget)return r.trigger("scroll-to-asset",r.scrollToTarget)})),null!=this.clearScrollTargetTimeout&&clearTimeout(this.clearScrollTargetTimeout),this.clearScrollTargetTimeout=setTimeout((function(){return r.scrollToTarget=null}),1500)):void 0}},{key:"_getModelsForLayout",value:function(){var e;return null!=(e=this.assetSource)?e.models:void 0}},{key:"updateLayoutItems",value:function(e){}},{key:"resetLayout",value:function(){var e;return this.lastAssetLength=0,null!=(e=this.layout)&&e.reset(),this.updateLayout()}},{key:"resetLayoutForThumbResize",value:function(e){var t,r,n,i,a;return n=null!=(t=this.virtualScroll)?t.scroll:void 0,!this.scrollToTarget&&null!=e&&e.length>0&&null!=n&&(e instanceof _.Z&&(e=e.base),i=n.displayScrollTop,a=k()(e,{top:i},(function(e){return e.top})),this.scrollToTarget=null!=(r=e[a])?r.asset:void 0),this.resetLayout()}},{key:"needsLayout",value:function(){}},{key:"assetSource",get:function(){var e;return null!=(e=this.source)?e.assets:void 0}},{key:"reset",value:function(){}},{key:"headerClass",get:function(){}},{key:"footerClass",get:function(){}},{key:"positionedContentClass",get:function(){}},{key:"containerClasses",get:function(){var e;return e=[L.container],x.Z.scrollableDocument||e.push(L.useFlex),e}},{key:"render",value:function(){return{template:G,_this:this}}}]),r}(i.Z),U=(0,m.Z)(H.prototype,"controller",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=(0,m.Z)(H.prototype,"source",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=(0,m.Z)(H.prototype,"viewWidth",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),W=(0,m.Z)(H.prototype,"viewHeight",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),J=(0,m.Z)(H.prototype,"virtualScroll",[b.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,m.Z)(H.prototype,"_updateThumbSize",[f.Z],Object.getOwnPropertyDescriptor(H.prototype,"_updateThumbSize"),H.prototype),(0,m.Z)(H.prototype,"updateLayout",[B],Object.getOwnPropertyDescriptor(H.prototype,"updateLayout"),H.prototype),F=H))||F)},907532:(e,t,r)=>{"use strict";r.d(t,{Z:()=>we});var n=r(685271),i=r(504397),a=r(519055),o=r(282466),s=r(89211),l=r(143681),c=r(236229),u=r(668962),p=r(749886),d=r(673136),m=r(548967),h=r(704083),v=(r(35812),r(314774)),g=r(878537),f=(r(41332),r(630647)),b=r(337720),y=r(72417),_=r(262587),w=r(537188),k=r.n(w),Z=r(165764),x=r.n(Z),S=r(774154),$=r.n(S),A=r(811949),C=r.n(A),T=r(934809),P=r.n(T),z=r(12509),E=r.n(z),O=r(614830),I={};I.styleTagTransform=E(),I.setAttributes=C(),I.insert=$().bind(null,"head"),I.domAPI=x(),I.insertStyleElement=P(),k()(O.Z,I);const R=O.Z&&O.Z.locals?O.Z.locals:void 0;var j,N,D,L,M,B,F,H,U={make:function(e){return U=n.ZP.make({render:function(e,t){var r=t.g=!e._group_g&&e.pushTemplateNode(_e);r&&e.enterNode(r);var n=t.div=e.pushTemplateNode(ye);be(t,n),e.attachEvent(t.div,"mouseover",fe),e.attachEvent(t.div,"mouseout",ge),e.enterNode(n),e.runBinder(ve,he,t,!0),e.runBinder(me,de,t,!0),e.runBinder(pe,ue,t,!0),e.runBinder(ce,le,t,!0),e.runBinder(se,oe,t,!0);var i=t._if=Q.make(e);i.$_parent=t,i.template.run(e,i);var a=t._if1=W.make(e);a.$_parent=t,a.template.run(e,a);var o=t._if2=V.make(e);o.$_parent=t,o.template.run(e,o),e.exitNode(n);var s=t._if3=q.make(e);s.$_parent=t,s.template.run(e,s),r&&e.exitNode(r)},dispose:function(e,t){t.div._jsx_data=null,t.div_spread_spread_state=e.updateSpreadAttribute(t.div,null,t,t.div_spread_spread_state),t.div_spread_value=void 0,t.div_spread_spread_state1=e.updateSpreadAttribute(t.div,null,t,t.div_spread_spread_state1),t.div_spread_value1=void 0,e.removeSignals(t.div_class_binder,t.div_class_invalidate),e.removeSignals(t.div_style$45background$45image_binder,t.div_style$45background$45image_invalidate),e.removeSignals(t.div_hovering_binder,t.div_hovering_invalidate),e.removeSignals(t.div_spread_binder,t.div_spread_invalidate),e.removeSignals(t.div_spread_binder1,t.div_spread_invalidate1),t._if.template.dispose(e,t._if),t._if1.template.dispose(e,t._if1),t._if2.template.dispose(e,t._if2),t._if3.template.dispose(e,t._if3),be(t,null)},move:function(e,t){t.g?e.pushNode(t.g):(e.pushNode(t.div),t._if3.template.move(e,t._if3))},reuse:function(e,t){be(t,t.div),e.runBinder(ve,he,t,!1),e.runBinder(me,de,t,!1),e.runBinder(pe,ue,t,!1),e.runBinder(ce,le,t,!1),e.runBinder(se,oe,t,!1),t._if.template.reuse(e,t._if),t._if1.template.reuse(e,t._if1),t._if2.template.reuse(e,t._if2),t._if3.template.reuse(e,t._if3)},init:function(e,t){t.div._jsx_data=t},firstChild:function(e,t){return t.g||t.div},lastChild:function(e,t){return t.g||t._if3.template.lastChild(e,t._if3)},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._style$45background$45image||(e.attr._style$45background$45image=e.ensureAttr("style-background-image")),e.attr._hovering||(e.attr._hovering=e.ensureAttr("hovering"))}}),U.make(e)}},q={make:function(e){return(q=e.makeComponent(a.Z,{props:{getCondition:function(e){return null!=(e.$_parent.$_scope.ref1=e.$_parent.$_scope._this.asset)?e.$_parent.$_scope.ref1.isVideo():void 0}},blocks:[{name:"children",template:e.makeComponent(_.Z,{attributes:[{name:"asset",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.asset},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.asset=e)}}],init:function(e,t){e.$_parent.$_parent.$_scope._this.video=t},dispose:function(e,t){e.$_parent.$_parent.$_scope._this.video=null}})}]})).make(e)}},V={make:function(e){return(V=e.makeComponent(a.Z,{props:{getCondition:function(e){return null!=e.$_parent.$_scope._this.asset&&!e.$_parent.$_scope._this.hasPhotoUrl}},blocks:[{name:"children",template:e.makeComponent(y.Z,{attributes:[{name:"asset",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.asset},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.asset=e)}},{name:"hovering",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.hovering},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.hovering=e)}}]})}]})).make(e)}},W={make:function(e){return W=e.makeComponent(a.Z,{props:{getCondition:function(e){return e.$_parent.$_scope._this.showAvatar}},blocks:[{name:"children",template:n.ZP.make({render:function(e,t){t.div=e.pushTemplateNode(X),e.runBinder(Y,K,t,!0),e.runBinder(G,J,t,!0)},dispose:function(e,t){e.removeSignals(t.div_title_binder,t.div_title_invalidate),e.removeSignals(t.div_style$45background$45image_binder,t.div_style$45background$45image_invalidate)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(Y,K,t,!1),e.runBinder(G,J,t,!1)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._title||(e.attr._title=e.ensureAttr("title")),e.attr._style$45background$45image||(e.attr._style$45background$45image=e.ensureAttr("style-background-image"))}})}]}),W.make(e)}};function J(e,t,r,n,i,a){t.div_style$45background$45image_binder=r,t.div_style$45background$45image_invalidate=n;var o=t.div_style$45background$45image_value;(a||o!==i)&&(t.div_style$45background$45image_value=i,t.div_style$45background$45image_state=e.attr._style$45background$45image(t.div,"style-background-image",i,t.div_style$45background$45image_state))}function G(e){return e.$_parent.$_parent.$_scope._this.importerAvatarUrl}function K(e,t,r,n,i,a){t.div_title_binder=r,t.div_title_invalidate=n;var o=t.div_title_value;(a||o!==i)&&(t.div_title_value=i,t.div_title_state=e.attr._title(t.div,"title",i,t.div_title_state))}function Y(e){return e.$_parent.$_parent.$_scope._this.importerAvatarTitle}var X=(0,i.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","importer"),t})),Q={make:function(e){return Q=e.makeComponent(a.Z,{props:{getCondition:function(e){return(null!=(e.$_parent.$_scope.ref=e.$_parent.$_scope._this.asset)?e.$_parent.$_scope.ref.isVideo():void 0)&&e.$_parent.$_scope._this.asset.hasValidVideoRendition()}},blocks:[{name:"children",template:n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(ae);e.enterNode(r),e.runBinder(ie,ne,t,!0);var n=t.span=e.pushTemplateNode(re);e.enterNode(n),e.runBinder(te,ee,t,!0),e.exitNode(n),e.exitNode(r)},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.span_binder,t.span_invalidate),t.span_content=e.disposeContent(t.span_content),t.span_value1=void 0},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(ie,ne,t,!1),e.runBinder(te,ee,t,!1)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})}]}),Q.make(e)}};function ee(e,t,r,n,i,a){t.span_binder=r,t.span_invalidate=n;var o=t.span_value1;(a||o!==i)&&(t.span_value1=i,t.span_content=e.renderContent(t.span_content,i))}function te(e){return e.$_parent.$_parent.$_scope._this.asset.getVideoDuration()}var re=(0,i.z)((function(e){return e.makeNode("span")}));function ne(e,t,r,n,i,a){t.div_binder=r,t.div_invalidate=n;var o=t.div_value1;(a||o!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function ie(e){return v.Z}var ae=(0,i.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","badge-v2 video"),t}));function oe(e,t,r,n,i,a){t.div_spread_binder1=r,t.div_spread_invalidate1=n;var o=t.div_spread_value1;(a||o!==i)&&(t.div_spread_value1=i,t.div_spread_spread_state1=e.updateSpreadAttribute(t.div,i,t,t.div_spread_spread_state1))}function se(e){return e.$_scope._this.undeclaredAttributes()}function le(e,t,r,n,i,a){t.div_spread_binder=r,t.div_spread_invalidate=n;var o=t.div_spread_value;(a||o!==i)&&(t.div_spread_value=i,t.div_spread_spread_state=e.updateSpreadAttribute(t.div,i,t,t.div_spread_spread_state))}function ce(e){return e.$_scope._this.itemAttributes}function ue(e,t,r,n,i,a){t.div_hovering_binder=r,t.div_hovering_invalidate=n;var o=t.div_hovering_value;(a||o!==i)&&(t.div_hovering_value=i,t.div_hovering_state=e.attr._hovering(t.div,"hovering",i,t.div_hovering_state))}function pe(e){return e.$_scope._this.hovering}function de(e,t,r,n,i,a){t.div_style$45background$45image_binder=r,t.div_style$45background$45image_invalidate=n;var o=t.div_style$45background$45image_value;(a||o!==i)&&(t.div_style$45background$45image_value=i,t.div_style$45background$45image_state=e.attr._style$45background$45image(t.div,"style-background-image",i,t.div_style$45background$45image_state))}function me(e){return e.$_scope._this.photoUrl}function he(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function ve(e){return e.$_scope._this.cssClasses}function ge(){var e=this._jsx_data;e&&(e.$_scope._this.hovering=!1)}function fe(){var e=this._jsx_data;e&&(e.$_scope._this.hovering=!0)}function be(e,t){e.$_scope._this.elementRef=t}var ye=(0,i.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","image"),t})),_e=(0,i.z)((function(e){return e.makeNode("g")}));const we=(j=function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(){var e;(0,s.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,o.Z)(e,"parent",N,(0,c.Z)(e)),(0,o.Z)(e,"asset",D,(0,c.Z)(e)),(0,o.Z)(e,"photoUrl",L,(0,c.Z)(e)),(0,o.Z)(e,"hasPhotoUrl",M,(0,c.Z)(e)),(0,o.Z)(e,"showImporter",B,(0,c.Z)(e)),(0,o.Z)(e,"elementRef",F,(0,c.Z)(e)),(0,o.Z)(e,"hovering",H,(0,c.Z)(e)),e}return(0,l.Z)(r,[{key:"cssClasses",get:function(){var e,t;return e=[R.adaptiveAsset],"reject"===(null!=(t=this.asset)?t.getFlag():void 0)&&e.push("reject"),e}},{key:"space",get:function(){var e,t;return null!=(e=this.scope.controller)&&null!=(t=e.source)?t.space:void 0}},{key:"assetOwnerUser",get:function(){var e,t,r;return null!=(e=null!=(t=this.asset.importedByUser)?t:null!=(r=this.space)?r.owner:void 0)?e:b.Z.account}},{key:"showAvatar",get:function(){return!!this.showImporter&&null!=this.assetOwnerUser}},{key:"importerAvatarUrl",get:function(){return"url(".concat(this.assetOwnerUser.getAvatarUrl(64),")")}},{key:"importerAvatarTitle",get:function(){return(0,f.zt)("$$$/js/grid/imported_by=Added by {name}",{name:this.assetOwnerUser.getFullName()})}},{key:"play",value:function(){var e;return null!=(e=this.video)?e.play():void 0}},{key:"stop",value:function(){var e;return null!=(e=this.video)?e.stop():void 0}},{key:"render",value:function(){var e,t;return{template:U,get ref(){return e},set ref(t){e=t},get ref1(){return t},set ref1(e){t=e},_this:this}}}]),r}(g.Z),N=(0,d.Z)(j.prototype,"parent",[h.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,d.Z)(j.prototype,"asset",[h.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,d.Z)(j.prototype,"photoUrl",[h.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,d.Z)(j.prototype,"hasPhotoUrl",[h.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),B=(0,d.Z)(j.prototype,"showImporter",[h.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=(0,d.Z)(j.prototype,"elementRef",[h.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=(0,d.Z)(j.prototype,"hovering",[m.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),j)},572261:(e,t,r)=>{"use strict";r.d(t,{Z:()=>j});var n=r(685271),i=r(504397),a=r(89211),o=r(143681),s=r(668962),l=r(749886),c=r(588816),u=r(878537),p=r(54262),d=r(630647),m=r(537188),h=r.n(m),v=r(165764),g=r.n(v),f=r(774154),b=r.n(f),y=r(811949),_=r.n(y),w=r(934809),k=r.n(w),Z=r(12509),x=r.n(Z),S=r(644113),$={};$.styleTagTransform=x(),$.setAttributes=_(),$.insert=b().bind(null,"head"),$.domAPI=g(),$.insertStyleElement=k(),h()(S.Z,$);const A=S.Z&&S.Z.locals?S.Z.locals:void 0;var C;e=r.hmd(e);var T={make:function(e){return T=n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(R);e.enterNode(r);var n=t.div1=e.pushTemplateNode(I);e.enterNode(n),e.runBinder(O,E,t,!0),e.exitNode(n),e.exitNode(r),e.runBinder(z,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(O,E,t,!1),e.runBinder(z,P,t,!1)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}}),T.make(e)}};function P(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function z(e){return A.grid_error}function E(e,t,r,n,i,a){t.div_binder=r,t.div_invalidate=n;var o=t.div_value1;(a||o!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function O(e){return e.$_scope._this.errorString}var I=(0,i.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","content"),t})),R=(0,i.z)((function(e){return e.makeNode("div")}));const j=(0,c.Z)((0,p.Z)("GridErrorView"),e,"GridErrorView")(C=function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(){return(0,a.Z)(this,r),t.apply(this,arguments)}return(0,o.Z)(r,[{key:"errorString",get:function(){return(0,d.zt)("$$$/js/activegrid/error_view_message=Error loading photos. Please refresh or try again later.")}},{key:"render",value:function(){return{template:T,_this:this}}}]),r}(u.Z))||C},280292:(e,t,r)=>{"use strict";r.d(t,{Z:()=>D});var n=r(685271),i=r(504397),a=r(89211),o=r(143681),s=r(668962),l=r(749886),c=r(588816),u=r(878537),p=r(54262),d=(r(115884),r(62800)),m=r(537188),h=r.n(m),v=r(165764),g=r.n(v),f=r(774154),b=r.n(f),y=r(811949),_=r.n(y),w=r(934809),k=r.n(w),Z=r(12509),x=r.n(Z),S=r(270253),$={};$.styleTagTransform=x(),$.setAttributes=_(),$.insert=b().bind(null,"head"),$.domAPI=g(),$.insertStyleElement=k(),h()(S.Z,$);const A=S.Z&&S.Z.locals?S.Z.locals:void 0;var C,T=r(211062);e=r.hmd(e);var P={make:function(e){return P=n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(N);e.enterNode(r);var n=t.div1=e.pushTemplateNode(j);e.enterNode(n),e.runBinder(R,I,t,!0),e.runBinder(O,E,t,!0);var i=t.loadingThrobber=z.make(e);i.$_parent=t,i.template.run(e,i),e.exitNode(n),e.exitNode(r)},dispose:function(e,t){e.removeSignals(t.div_class_binder,t.div_class_invalidate),e.removeSignals(t.div_class_binder1,t.div_class_invalidate1),t.loadingThrobber.template.dispose(e,t.loadingThrobber)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(R,I,t,!1),e.runBinder(O,E,t,!1),t.loadingThrobber.template.reuse(e,t.loadingThrobber)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}}),P.make(e)}},z={make:function(e){return(z=e.makeComponent(T.Z,{})).make(e)}};function E(e,t,r,n,i,a){t.div_class_binder1=r,t.div_class_invalidate1=n;var o=t.div_class_value1;(a||o!==i)&&(t.div_class_value1=i,t.div_class_state1=e.attr._class(t.div,"class",i,t.div_class_state1))}function O(e){return d.Z.scrollableDocument?A.fixed:void 0}function I(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==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 A.grid_loading}var j=(0,i.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","content"),t})),N=(0,i.z)((function(e){return e.makeNode("div")}));const D=(0,c.Z)((0,p.Z)("GridLoadingView"),e,"GridLoadingView")(C=function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(){return(0,a.Z)(this,r),t.apply(this,arguments)}return(0,o.Z)(r,[{key:"render",value:function(){return{template:P}}}]),r}(u.Z))||C},741408:(e,t,r)=>{"use strict";r.d(t,{Z:()=>fe});var n=r(504397),i=r(519055),a=r(685271),o=r(282466),s=r(89211),l=r(143681),c=r(236229),u=r(668962),p=r(749886),d=r(673136),m=r(588816),h=r(878537),v=r(54262),g=r(548967),f=r(704083),b=(r(785226),r(35812),r(126752)),y=(r(41332),r(855999)),_=r(823063),w=r(62800),k=r(177881),Z=r(422397),x=r(280292),S=r(736781),$=r(993184);r(115884);const A=function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(){return(0,s.Z)(this,r),t.apply(this,arguments)}return(0,l.Z)(r,[{key:"updateSticky",value:function(e){var t,n,i,a,o;if((0,S.Z)((0,$.Z)(r.prototype),"updateSticky",this).call(this,e),Z.Z.torqNativeScrollingEnabled()&&null!=this.visibleSticky){for(o=[],t=0,i=(a=this.visibleSticky).length;t<i;t++)(n=a[t]).fixed?o.push(n.fixedTop-=e.top):o.push(void 0);return o}}}]),r}(r(846841).K4);var C=r(537188),T=r.n(C),P=r(165764),z=r.n(P),E=r(774154),O=r.n(E),I=r(811949),R=r.n(I),j=r(934809),N=r.n(j),D=r(12509),L=r.n(D),M=r(821213),B={};B.styleTagTransform=L(),B.setAttributes=R(),B.insert=O().bind(null,"head"),B.domAPI=z(),B.insertStyleElement=N(),T()(M.Z,B);const F=M.Z&&M.Z.locals?M.Z.locals:void 0;var H,U,q,V,W,J,G,K,Y,X,Q,ee,te,re,ne,ie,ae,oe;e=r.hmd(e),ae=null;var se={make:function(e){return se=a.ZP.make({render:function(e,t){var r=t.g=!e._group_g&&e.pushTemplateNode(de);r&&e.enterNode(r);var n=t._if=le.make(e);n.$_parent=t,n.template.run(e,n),r&&e.exitNode(r)},dispose:function(e,t){t._if.template.dispose(e,t._if)},move:function(e,t){t.g?e.pushNode(t.g):t._if.template.move(e,t._if)},reuse:function(e,t){t._if.template.reuse(e,t._if)},firstChild:function(e,t){return t.g||t._if.template.firstChild(e,t._if)},lastChild:function(e,t){return t.g||t._if.template.lastChild(e,t._if)}}),se.make(e)}},le={make:function(e){return le=e.makeComponent(i.Z,{props:{getCondition:function(e){return e.$_parent.$_scope._this._shouldShowThrobber}},blocks:[{name:"else",template:e.makeComponent(oe,{attributes:[{name:"mapping",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.mapping},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.mapping=e)}},{name:"virtualScroll",get:function(){var e=this.$_view;if(e)return e.$_parent.$_parent.$_scope._this.virtualScroll},set:function(e){var t=this.$_view;t&&(t.$_parent.$_parent.$_scope._this.virtualScroll=e)}},{name:"scrollComponent",get:function(){if(this.$_view)return ae},set:function(e){this.$_view&&(ae=e)}}],spreads:[function(e){return e.$_parent.$_parent.$_scope._this.undeclaredAttributes()}],blocks:[{name:"children",template:a.ZP.make({render:function(e,t){e.runBinder(ue,ce,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(ue,ce,t,!1)},firstChild:function(e,t){return e.contentFirstChild(t.expr_content)},lastChild:function(e,t){return e.contentLastChild(t.expr_content)}})}],events:[{name:"scroll",value:pe}]})},{name:"children",template:e.makeComponent(x.Z,{})}]}),le.make(e)}};function ce(e,t,r,n,i,a){t.expr_binder=r,t.expr_invalidate=n;var o=t.expr_value1;(a||o!==i)&&(t.expr_value1=i,t.expr_content=e.renderContent(t.expr_content,i))}function ue(e){return e.$_parent.$_parent.$_parent.$_scope._this.children}function pe(){var e=this.$_view;e&&e.$_parent.$_parent.$_scope._this._onScroll()}var de=(0,n.z)((function(e){return e.makeNode("g")})),me={make:function(e){return me=e.makeComponent(k.Z,{attributes:[{name:"class",get:function(){var e=this.$_view;if(e)return e.$_scope._this.classes},set:function(e){var t=this.$_view;t&&(t.$_scope._this.classes=e)}},{name:"verticalScroll",get:function(){var e=this.$_view;if(e)return!(null!=(e.$_scope.ref=e.$_scope._this.scope.interactionState)?e.$_scope.ref.croppingHero:void 0)},original:"vertical-scroll"},{name:"mapping",get:function(){var e=this.$_view;if(e)return e.$_scope._this.mapping},set:function(e){var t=this.$_view;t&&(t.$_scope._this.mapping=e)}},{name:"scrollsDocument",get:function(){if(this.$_view)return w.Z.scrollableDocument},original:"scrolls-document",set:function(e){this.$_view&&(w.Z.scrollableDocument=e)}},{name:"autoScroll",get:function(){var e=this.$_view;if(e)return!(null!=(e.$_scope.ref1=e.$_scope._this.scope.interactionState)?e.$_scope.ref1.croppingHero:void 0)},original:"auto-scroll"},{name:"scrollComponent",get:function(){if(this.$_view)return ae},set:function(e){this.$_view&&(ae=e)}}],spreads:[function(e){return e.$_scope._this.undeclaredAttributes()}],blocks:[{name:"children",template:e.makeComponent(A,{attributes:[{name:"margin",get:function(){var e=this.$_view;if(e)return e.$_parent.$_scope._this.margin},set:function(e){var t=this.$_view;t&&(t.$_parent.$_scope._this.margin=e)}}],blocks:[{name:"children",template:a.ZP.make({render:function(e,t){e.runBinder(ve,he,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(ve,he,t,!1)},firstChild:function(e,t){return e.contentFirstChild(t.expr_content)},lastChild:function(e,t){return e.contentLastChild(t.expr_content)}})}]})}],events:[{name:"scroll",value:ge}],init:function(e,t){e.$_scope._this.virtualScroll=t},dispose:function(e,t){e.$_scope._this.virtualScroll=null}}),me.make(e)}};function he(e,t,r,n,i,a){t.expr_binder=r,t.expr_invalidate=n;var o=t.expr_value1;(a||o!==i)&&(t.expr_value1=i,t.expr_content=e.renderContent(t.expr_content,i))}function ve(e){return e.$_parent.$_parent.$_scope._this.children}function ge(){var e=this.$_view;if(e)return e.$_scope._this.trigger("scroll")}H=(0,m.Z)((0,v.Z)("GridScrollerScrollView",{events:["scroll"]}),e,"GridScrollerScrollView"),U=(0,f.Z)("class"),oe=H((V=function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(){var e;return(0,s.Z)(this,r),e=t.call(this),(0,o.Z)(e,"mapping",W,(0,c.Z)(e)),(0,o.Z)(e,"margin",J,(0,c.Z)(e)),(0,o.Z)(e,"virtualScroll",G,(0,c.Z)(e)),(0,o.Z)(e,"className",K,(0,c.Z)(e)),ae=Z.Z.torqNativeScrollingEnabled()?_.Z:y.Z,e}return(0,l.Z)(r,[{key:"classes",get:function(){var e,t;return(e=null!=(t=this.className)?t:[]).push(F.scroller),Z.Z.torqNativeScrollingEnabled()&&e.push(F.native),e}},{key:"attached",value:function(){var e=this;return this.resizeLink=this.link((0,b.Oo)(window,"resize",(function(){return e.updateSize()}))),this.listenTo(this.scope,"resize",this.updateSize),this.updateSize()}},{key:"detached",value:function(){if(this.resizeLink)return this.disposeLink(this.resizeLink),this.resizeLink=null}},{key:"updateSize",value:function(){var e;return null!=(e=this.virtualScroll.scroll)?e.updateSize():void 0}},{key:"render",value:function(){var e,t;return{template:me,get ref(){return e},set ref(t){e=t},get ref1(){return t},set ref1(e){t=e},_this:this}}}]),r}(h.Z),W=(0,d.Z)(V.prototype,"mapping",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,d.Z)(V.prototype,"margin",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),G=(0,d.Z)(V.prototype,"virtualScroll",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=(0,d.Z)(V.prototype,"className",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=V))||q;const fe=(Y=(0,m.Z)((0,v.Z)("GridScroller"),e,"GridScroller"),X=(0,f.Z)("class"),Y((ee=function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(){var e;(0,s.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,o.Z)(e,"mapping",te,(0,c.Z)(e)),(0,o.Z)(e,"margin",re,(0,c.Z)(e)),(0,o.Z)(e,"virtualScroll",ne,(0,c.Z)(e)),(0,o.Z)(e,"className",ie,(0,c.Z)(e)),e}return(0,l.Z)(r,[{key:"_shouldShowThrobber",get:function(){return!1}},{key:"_onScroll",value:function(){}},{key:"forceUpdateSize",value:function(){var e;return null!=(e=this.virtualScroll.scroll)?e.updateSize():void 0}},{key:"render",value:function(){return{template:se,_this:this}}}]),r}(h.Z),te=(0,d.Z)(ee.prototype,"mapping",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),re=(0,d.Z)(ee.prototype,"margin",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),ne=(0,d.Z)(ee.prototype,"virtualScroll",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ie=(0,d.Z)(ee.prototype,"className",[X],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=ee))||Q)},72417:(e,t,r)=>{"use strict";r.d(t,{Z:()=>se});var n=r(685271),i=r(504397),a=r(519055),o=r(282466),s=r(89211),l=r(143681),c=r(236229),u=r(668962),p=r(749886),d=r(673136),m=r(588816),h=r(878537),v=r(54262),g=r(704083),f=(r(35812),r(783754)),b=r(386765),y=r(630647),_=r(337720),w=r(285537),k=r(879555),Z=r(537188),x=r.n(Z),S=r(165764),$=r.n(S),A=r(774154),C=r.n(A),T=r(811949),P=r.n(T),z=r(934809),E=r.n(z),O=r(12509),I=r.n(O),R=r(209074),j={};j.styleTagTransform=I(),j.setAttributes=P(),j.insert=C().bind(null,"head"),j.domAPI=$(),j.insertStyleElement=E(),x()(R.Z,j);const N=R.Z&&R.Z.locals?R.Z.locals:void 0;var D,L,M,B;e=r.hmd(e);var F={make:function(e){return F=n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(oe);e.enterNode(r),e.runBinder(ae,ie,t,!0);var n=t._if=H.make(e);n.$_parent=t,n.template.run(e,n),e.exitNode(r)},dispose:function(e,t){e.removeSignals(t.div_class_binder,t.div_class_invalidate),t._if.template.dispose(e,t._if)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(ae,ie,t,!1),t._if.template.reuse(e,t._if)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}}),F.make(e)}},H={make:function(e){return H=e.makeComponent(a.Z,{props:{getCondition:function(e){return e.$_parent.$_scope._this.showMessages}},blocks:[{name:"else",template:n.ZP.make({render:function(e,t){e.runBinder(ne,re,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(ne,re,t,!1)},firstChild:function(e,t){return e.contentFirstChild(t.expr_content)},lastChild:function(e,t){return e.contentLastChild(t.expr_content)}})},{name:"children",template:n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(oe);e.enterNode(r);var n=t.div1=e.pushTemplateNode(te);e.enterNode(n),e.runBinder(ee,Q,t,!0),e.exitNode(n);var i=t.p=e.pushTemplateNode(X);e.enterNode(i),e.runBinder(Y,K,t,!0),e.exitNode(i);var a=t.p1=e.pushTemplateNode(X);e.enterNode(a),e.runBinder(G,J,t,!0),e.exitNode(a);var o=t.p2=e.pushTemplateNode(X);e.enterNode(o),e.runBinder(W,V,t,!0),e.exitNode(o),e.exitNode(r),e.runBinder(q,U,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.p_binder,t.p_invalidate),t.p_content=e.disposeContent(t.p_content),t.p_value1=void 0,e.removeSignals(t.p_binder1,t.p_invalidate1),t.p_content1=e.disposeContent(t.p_content1),t.p_value3=void 0,e.removeSignals(t.p_binder2,t.p_invalidate2),t.p_content2=e.disposeContent(t.p_content2),t.p_value5=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(ee,Q,t,!1),e.runBinder(Y,K,t,!1),e.runBinder(G,J,t,!1),e.runBinder(W,V,t,!1),e.runBinder(q,U,t,!1)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}})}]}),H.make(e)}};function U(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function q(e){return N.messages_v2}function V(e,t,r,n,i,a){t.p_binder2=r,t.p_invalidate2=n;var o=t.p_value5;(a||o!==i)&&(t.p_value5=i,t.p_content2=e.renderContent(t.p_content2,i))}function W(e){return e.$_parent.$_parent.$_scope._this.message}function J(e,t,r,n,i,a){t.p_binder1=r,t.p_invalidate1=n;var o=t.p_value3;(a||o!==i)&&(t.p_value3=i,t.p_content1=e.renderContent(t.p_content1,i))}function G(e){return e.$_parent.$_parent.$_scope._this.dateStr}function K(e,t,r,n,i,a){t.p_binder=r,t.p_invalidate=n;var o=t.p_value1;(a||o!==i)&&(t.p_value1=i,t.p_content=e.renderContent(t.p_content,i))}function Y(e){return null!=(e.$_parent.$_parent.$_scope.ref=null!=(e.$_parent.$_parent.$_scope.ref1=e.$_parent.$_parent.$_scope._this.asset)?e.$_parent.$_parent.$_scope.ref1.getFileName():void 0)?e.$_parent.$_parent.$_scope.ref:""}var X=(0,i.z)((function(e){return e.makeNode("p")}));function Q(e,t,r,n,i,a){t.div_binder=r,t.div_invalidate=n;var o=t.div_value1;(a||o!==i)&&(t.div_value1=i,t.div_content=e.renderContent(t.div_content,i))}function ee(e){return e.$_parent.$_parent.$_scope._this.icon}var te=(0,i.z)((function(e){var t=e.makeNode("div");return e.attr._class(t,"class","icon"),t}));function re(e,t,r,n,i,a){t.expr_binder=r,t.expr_invalidate=n;var o=t.expr_value1;(a||o!==i)&&(t.expr_value1=i,t.expr_content=e.renderContent(t.expr_content,i))}function ne(e){return e.$_parent.$_parent.$_scope._this.icon}function ie(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function ae(e){return N.root_v2}var oe=(0,i.z)((function(e){return e.makeNode("div")}));const se=(0,m.Z)((0,v.Z)("PhotoImageMissingView"),e,"PhotoImageMissingView")((L=function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(){var e;(0,s.Z)(this,r);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,o.Z)(e,"asset",M,(0,c.Z)(e)),(0,o.Z)(e,"hovering",B,(0,c.Z)(e)),e}return(0,l.Z)(r,[{key:"icon",get:function(){return k.Z}},{key:"message",get:function(){return _.Z.ownedLibraryView&&null!=this.asset?w.Z.getTerseMissingStatusMessage(this.asset):""}},{key:"dateStr",get:function(){var e,t;return null!=(e=null!=(t=this.asset)?t.getImportDate():void 0)?(0,y.zt)("$$$/js/photo_missing_view/import_date=Imported on {date}",{date:f.Z.formatDate(e,"short")}):(0,y.zt)("$$$/js/photo_missing_view/unknown_import_date=Unknown import date.")}},{key:"showMessages",get:function(){var e;return _.Z.ownedLibraryView&&(this.hovering||b.q.forceGridHover||(null!=(e=this.scope.delegate)?e.showAllErrorMessages:void 0))}},{key:"render",value:function(){var e,t;return{template:F,get ref(){return e},set ref(t){e=t},get ref1(){return t},set ref1(e){t=e},_this:this}}}]),r}(h.Z),M=(0,d.Z)(L.prototype,"asset",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=(0,d.Z)(L.prototype,"hovering",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=L))||D},285537:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a}),r(127387),r(587621),r(276839),r(41332);var n,i=r(630647);const a=n={_makeDateForAssetDistance:function(e){var t;return null==e?0:(t=(t=e.getHours())<2?1:t<12?8:t<17?14:t<21?18:22,e.setHours(t),e.setMilliseconds(0),e.setSeconds(0),e.setMinutes(0),e.getTime())},assetDistance:function(e,t){var r,i,a,o,s,l,c,u,p;for(a=[],(i=[]).push(n._makeDateForAssetDistance(e.getCaptureDate())),a.push(n._makeDateForAssetDistance(t.getCaptureDate())),o=e.getGPSLocation(),s=t.getGPSLocation(),i.push((null!=o?o.lat:void 0)||0),a.push((null!=s?s.lat:void 0)||0),i.push((null!=o?o.long:void 0)||0),a.push((null!=s?s.long:void 0)||0),p=0,c=l=0,u=i.length;l<u;c=++l)r=i[c],p+=Math.pow(a[c]-r,2);return Math.sqrt(p)},getMissingStatusMessage:function(e){return this.getMissingStatusMessages(e).join(" ")},getTerseMissingStatusMessage:function(e){var t,r;if(r=e.getMissingStatus(),t=e.getImportDevice().split("{")[0],null!=e.restoreInProgress())return(0,i.zt)("$$$/js/missing_status_terse/restoring=Restoring...");switch(r){case"rendering":case"rendering-edits":return(0,i.zt)("$$$/js/missing_status_terse/rendering=Rendering...");case"rendering-error":return(0,i.zt)("$$$/js/missing_status_terse/error_rendering=Error rendering");case"syncing":return e.wasImportedByWeb()?(0,i.zt)("$$$/js/missing_status_terse/uploading=Uploading..."):(0,i.zt)("$$$/js/missing_status_terse/syncing_from_device=Syncing from {device}.",{device:t});case"stuck-syncing":return(0,i.zt)("$$$/js/missing_status/error_image_stuck/open_in_lr=Open Lightroom on {device} to continue syncing.",{device:t});case"web-upload-failed":return(0,i.zt)("$$$/js/missing_status_terse/upload_failed=Web upload failed");default:return""}},getMissingStatusMessages:function(e){var t,r,n;switch(r=e.getFileName()||"",t=e.getImportDevice().split("{")[0],n=[],e.getMissingStatus()){case"rendering":n.push((0,i.zt)("$$$/js/missing_status/still_rendering_file=Still rendering file ‘{filename}’.",{filename:r}));break;case"rendering-edits":n.push((0,i.zt)("$$$/js/missing_status/update_rendering_file=Still rendering file ‘{filename}’ with edits.",{filename:r}));break;case"rendering-error":n.push((0,i.zt)("$$$/js/missing_status/error_rendering_file=Error rendering file ‘{filename}’.",{filename:r}));break;case"syncing":n.push((0,i.zt)("$$$/js/missing_status/syncing_from_device=Syncing file ‘{filename}’ from {device}.",{filename:r,device:t}));break;case"web-upload-failed":n.push((0,i.zt)("$$$/js/missing_status/upload_failed=Web upload failed for file ‘{filename}’.",{filename:r}));break;case"stuck-syncing":n.push((0,i.zt)("$$$/js/loupe/error_image_stuck=Sync has not finished for file ‘{filename}’.",{filename:r})),n.push((0,i.zt)("$$$/js/loupe/error_image_stuck/open_in_lr=Open Lightroom on {device} to continue syncing.",{device:t}))}return e.wasImportedByWeb()?n.push((0,i.zt)("$$$/js/missing_status/uploaded_date=Uploaded on {date}.",{device:t,date:e.getFormattedImportDate("short")})):n.push((0,i.zt)("$$$/js/missing_status/import_date=Added on {date}.",{date:e.getFormattedImportDate("short")})),n}}},422397:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d});var n,i,a,o=r(41332),s=r(572623),l=r(819218),c=r(573179),u=r(121094),p=r(337720);const d={MINIMUM_ASSETS_FOR_JOURNAL_COVER:10,isUploadEnabled:(!l.Z.safari||l.Z.safari>5)&&window.File&&(window.FileReader&&(n=null!=(i=window.crypto)?i:window.msCrypto)&&(null!=(a=n.subtle)?a:n.webkitSubtle)||window.Worker)&&window.XMLHttpRequest&&!1===(new XMLHttpRequest).withCredentials,isDownloadEnabled:function(e){return!(null!=e?e.isVideo():void 0)},isLoupeEdgeToEdge:function(){return u.Z.touch&&!l.Z.win},isLoupeOmni:function(){return p.Z.libraryPages&&!l.Z.mobile},isSearchDisabled:function(){return o.Z.is_enabled("search_sneak_disabled")},isDevelopEnabled:function(){return c.Z.isSupported},_getSpaceContext:function(){var e,t;return p.Z.libraryPages?null!=(e=p.Z.state)&&null!=(t=e.getGridSource())?t.space:void 0:p.Z.space},showLoupeMetadata:function(){var e;return!!p.Z.ownedLibraryView||(null!=(e=this._getSpaceContext())?e.isMetadataVisible():void 0)},showLoupeLocation:function(){var e;return!!p.Z.ownedLibraryView||(null!=(e=this._getSpaceContext())?e.isLocationVisible():void 0)},canCopy:function(){return!l.Z.safari||l.Z.safari>9},torqNativeScrollingEnabled:function(){return!!o.Z.is_enabled("scroll_full")||!!this.useFullMobileScroll()||l.Z.edge||l.Z.ie},useFullMobileScroll:function(){var e;return!!o.Z.is_enabled("scroll_full")||0===s.Z.width&&!p.Z.libraryPages&&!(null!=(e=p.Z.space)?e.isGallerySpace():void 0)},canUseBestPhotosOnThisScreen:function(){var e;return e=u.Z.MINIMAL_SIZE,!!(u.Z.viewportWidth()>=700&&u.Z.viewportHeight()>=e)},isBestPhotosSimilarityDisabled:function(){return!p.Z.account.isSimilarityDataProcessed()},showKeywordPanel:function(){return p.Z.libraryPages}}},707078:(e,t,r)=>{"use strict";r.d(t,{P:()=>a});var n=r(41332),i=r(819218),a=function(e){var t;return i.Z.win&&"bt2100_hlg"===(null!=e&&null!=(t=e.payload().video)?t.transferFunction:void 0)&&n.Z.is_enabled("video_v2_windows_special_rendition")}},432032:(e,t,r)=>{"use strict";var n,i,a,o,s,l,c=r(282466),u=r(89211),p=r(143681),d=r(673136),m=r(548967),h=(r(891218),r(784090));l=0,n=function(){function e(t){(0,u.Z)(this,e),(0,c.Z)(this,"loadTime",i,this),this.href=t.href,this._deferred=h.Deferred(),this.requestCount=1,this.requestOrderId=l++,this.isLoaded=!1,this.loadedP=this._deferred.promise()}return(0,p.Z)(e,[{key:"loadP",value:function(e){var t,r,n,i=this;return e.startImageLoad(),r=new Date,t=e.batchStartTime,n=function(){if(e.batchStartTime===t)return e.finishImageLoad(r)},this.image=new Image,this.image.onload=function(){return i.isLoaded=!0,i.loadTime=new Date-r,n(),i._deferred.resolve()},this.image.onerror=function(){return i.isLoaded=!1,e.cancelImageLoad(),i._deferred.reject()},this.image.src=this.href,this.loadedP}}]),e}(),i=(0,d.Z)(n.prototype,"loadTime",[m.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=function(){function e(){(0,u.Z)(this,e),(0,c.Z)(this,"loadCount",o,this),(0,c.Z)(this,"totalLoadTimeMs",s,this),this.batchOpenRequests=0,this.batchCompletedCount=0}return(0,p.Z)(e,[{key:"thumbLoadAvgMs",get:function(){return 0===this.loadCount?0:this.totalLoadTimeMs/this.loadCount}},{key:"startBatch",value:function(){return this.batchStartTime=new Date,this.lastEndTime=this.batchStartTime,this.batchOpenRequests=1}},{key:"startImageLoad",value:function(){return null!=this.batchStartTime?this.batchOpenRequests++:this.startBatch()}},{key:"cancelImageLoad",value:function(){return this.batchOpenRequests--}},{key:"finishImageLoad",value:function(e){var t,r;return t=(r=new Date)-this.lastEndTime,this.totalLoadTimeMs+=t,this.loadCount++,this.batchOpenRequests--,this.batchOpenRequests<=0?(this.batchStartTime=null,this.batchOpenRequests<0?console.warn("Negative open requests: ".concat(this.batchOpenRequests)):void 0):this.lastEndTime=r}}]),e}(),o=(0,d.Z)(a.prototype,"loadCount",[m.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),s=(0,d.Z)(a.prototype,"totalLoadTimeMs",[m.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}})},780876:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c}),r(816221),r(573467),r(693508),r(290671),r(17938),r(721141);var n,i=r(41332),a=r(92008),o=r(64445),s=r(940222),l=r(784090);const c=n={getShareSidebarSort:function(){var e;return"alpha"===(e=s.Z.getItem("share.sidebar.sort"))||"date_desc"===e?e:"date_desc"},setShareSidebarSort:function(e){return"alpha"!==e&&"date_desc"!==e&&(e="alpha"),s.Z.setItem("share.sidebar.sort",e)},getCollectionSort:function(){var e;return"alpha"===(e=s.Z.getItem("collections.sort"))||"date_desc"===e?e:"alpha"},setCollectionSort:function(e){return"alpha"!==e&&"date_desc"!==e&&(e="alpha"),s.Z.setItem("collections.sort",e)},getConnectionsExpanded:function(){return"true"===s.Z.getItem("sidebar.connections.expanded")},setConnectionsExpanded:function(e){return s.Z.setItem("sidebar.connections.expanded",!0===e)},getSharedWithYouExpanded:function(){return"true"===s.Z.getItem("sidebar.shared_with_you.expanded")},setSharedWithYouExpanded:function(e){return s.Z.setItem("sidebar.shared_with_you.expanded",!0===e)},getSharedPhotosExpanded:function(){return"true"===s.Z.getItem("sidebar.shared_photos.expanded")},setSharedPhotosExpanded:function(e){return s.Z.setItem("sidebar.shared_photos.expanded",!0===e)},getShowBadged:function(){return"show"===s.Z.getItem("assets.badged")},setShowBadged:function(e){var t;return t=e?"show":"hide",s.Z.setItem("assets.badged",t)},tipSettings:{getTipShown:function(e){return o.Z.getShown(e)},setTipShownP:function(e,t){var r;return r=l.Deferred(),o.Z.setShownJP(e,t).then(r.resolve).catch(r.reject),r.promise()},setTipShownJP:function(e,t){return o.Z.setShownJP(e,t)},clearTipShownP:function(e){var t,r;return Array.isArray(e)||(e=[e]),t=l.Deferred(),Promise.all(function(){var t,n,i;for(i=[],t=0,n=e.length;t<n;t++)r=e[t],i.push(o.Z.clearShownJP(r));return i}()).then(t.resolve).catch(t.reject),t.promise()},_getTipsData:function(){return JSON.parse(s.Z.getItem("tips_data")||"{}")},_setTipsData:function(e){return s.Z.setItem("tips_data",JSON.stringify(e))},getTipData:function(e){return this._getTipsData()[e]},setTipDataP:function(e,t){var r;return(r=this._getTipsData())[e]=t,this._setTipsData(r),l.Deferred().resolve().promise()},clearTipsP:function(){return o.Z.reset(),this._setTipsData({}),l.Deferred().resolve().promise()}},allPhotos:{getSortMode:function(){return"captured_asc"===s.Z.getItem("assets.sort")?a.Z.SORT_OLDEST_FIRST:a.Z.SORT_NEWEST_FIRST},setSortMode:function(e){var t;return t=e===a.Z.SORT_NEWEST_FIRST?"captured_desc":"captured_asc",s.Z.setItem("assets.sort",t)}},album:{getSortMode:function(e){var t;return"captured_desc"===(t=s.Z.getItem("albums.".concat(e.id,".sort")))?a.Z.SORT_NEWEST_FIRST:"custom"===t?a.Z.SORT_CUSTOM:a.Z.SORT_OLDEST_FIRST},setSortMode:function(e,t){var r;return r=t===a.Z.SORT_NEWEST_FIRST?"captured_desc":t===a.Z.SORT_CUSTOM?"custom":"captured_asc",s.Z.setItem("albums.".concat(e.id,".sort"),r)}},album_folder:{getExpanded:function(e){return"false"!==s.Z.getItem("album_folders.".concat(e.id,".expanded"))},setExpanded:function(e,t){return s.Z.setItem("album_folders.".concat(e.id,".expanded"),t)}},space:{getSortMode:function(e){var t;return"captured_asc"===(t=s.Z.getItem("spaces.".concat(e.id,".sort")))?a.Z.SORT_OLDEST_FIRST:"custom"===t?a.Z.SORT_CUSTOM:a.Z.SORT_NEWEST_FIRST},setSortMode:function(e,t){var r;return r=t===a.Z.SORT_NEWEST_FIRST?"captured_desc":t===a.Z.SORT_CUSTOM?"custom":"captured_asc",s.Z.setItem("spaces.".concat(e.id,".sort"),r)}}};i.Z.is_enabled("debug")&&(window.LocalSettings=n)},657680:(e,t,r)=>{"use strict";r.d(t,{Z:()=>E});var n,i,a,o,s,l,c,u,p,d,m,h,v=r(278387),g=r(85663),f=r(934331),b=r(760567),y=r(282466),_=r(89211),w=r(143681),k=r(673136),Z=r(548967),x=(r(888784),r(573467),r(693508),r(816221),r(261148),r(784425),r(595249),r(185466),r(370843),r(961626),r(897995),r(518926),r(725676),r(81738),r(479959),r(879587),r(353478),r(643300),r(363242),r(911895),r(301207),r(792647),r(879104),r(497814),r(78019),r(474646),r(28227),r(420879),r(680851),r(725637),r(686862),r(169513),r(993224),r(604542),r(292381),r(290671),r(17938),r(990665),r(108882),r(893248),r(869831)),S=r.n(x),$=r(41332),A=r(697458),C=r(121094),T=r(891218),P=(r(432032),r(784090)),z=[].indexOf;m=["thumbnail2x","640","1280","2048","panorama"],h=0,d=["2048-avif","panorama-avif"],u=function(){var e,t,r,n,i,a,o=(e=function(){function e(o,s,l,c){var u,p,d=this;(0,_.Z)(this,e),(0,y.Z)(this,"loadTime",t,this),(0,y.Z)(this,"loadEndTime",r,this),(0,y.Z)(this,"priority",n,this),(0,y.Z)(this,"requestOrderId",i,this),(0,y.Z)(this,"loadedHref",a,this),this.priority=o,this.asset=s,this.rendition=l,this.href=c,this._deferred=P.Deferred(),this._cancelDeferred=P.Deferred(),this.requestCount=1,this.isLoaded=!1,this.isQueued=!1;var m=this.asset.getRenditionDimensions(this.rendition),h=(0,b.Z)(m,2);p=h[0],u=h[1],this.megaPixels=p*u/1048576,this.ozImageP=null,this.loadedP=this._deferred.promise(),this.loadedJP=new Promise((function(e,t){return d.loadedP.done((function(){return e()})).fail((function(){return t}))}))}var o;return(0,w.Z)(e,[{key:"loadJP",value:(o=(0,f.Z)((0,g.Z)().mark((function e(t){return(0,g.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==this.image){e.next=2;break}return e.abrupt("return",this.loadedJP);case 2:return e.next=4,this.loadP(t);case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e,this)}))),function(e){return o.apply(this,arguments)})},{key:"loadP",value:function(e){var t,r,n,i=this;if(null!=this.image)return this.loadedP;if(this.isQueued=!1,this.requestOrderId=h++,e.startImageLoad(),r=new Date,t=e.batchStartTime,n=function(){if(e.batchStartTime===t)return e.finishImageLoad(i,r)},this.image=new Image,this.image.onload=function(){return i.isLoaded=!0,i.loadedHref=i.image.src,i.loadEndTime=new Date,i.loadTime=i.loadEndTime-r,n(),i._deferred.resolve()},this.image.onerror=function(){return i.isLoaded=!1,e.cancelImageLoad(i,r),i._deferred.reject()},this.useOzCredentials){if(null!=this.ozImageP)return;this.ozImageP=A.Z.prototype.requestP("GET",this.href,null,{responseType:"arraybuffer",cancelPromise:this._cancelDeferred}),this.ozImageP.fail((function(){return i._deferred.reject(),e.cancelImageLoad(i,r)})),this.ozImageP.then((function(e,t,r){var n;return n=new Blob([new Uint8Array(e)],{type:r.getResponseHeader("Content-Type")}),i.image.src=URL.createObjectURL(n)}))}else this.image.src=this.href;return this.loadedP}},{key:"cancel",value:function(){var e;return this.useOzCredentials?this._cancelDeferred.resolve():null!=(e=this.image)?e.src="":void 0}},{key:"dispose",value:function(){var e;if(null!=(null!=(e=this.image)?e.src:void 0)&&this.useOzCredentials)return URL.revokeObjectURL(this.image.src)}}]),e}(),t=(0,k.Z)(e.prototype,"loadTime",[Z.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),r=(0,k.Z)(e.prototype,"loadEndTime",[Z.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n=(0,k.Z)(e.prototype,"priority",[Z.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),i=(0,k.Z)(e.prototype,"requestOrderId",[Z.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,k.Z)(e.prototype,"loadedHref",[Z.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),e);return o.useOzCredentials=!1,o}.call(void 0),n=function(){function e(){(0,_.Z)(this,e),(0,y.Z)(this,"loadCount",i,this),(0,y.Z)(this,"loadTimeMs",a,this),(0,y.Z)(this,"megaPixelsLoaded",o,this),(0,y.Z)(this,"cancelledCount",s,this),(0,y.Z)(this,"megaPixelsCancelled",l,this)}return(0,w.Z)(e,[{key:"megaPixelsPerSecond",get:function(){return 0===this.loadCount?0:this.megaPixelsLoaded/(this.loadTimeMs/1e3)}},{key:"errorAdjustedMegaPixelsPerSecond",get:function(){return 0===this.loadCount?0:(this.megaPixelsLoaded+this.megaPixelsCancelled/2)/(this.loadTimeMs/1e3)}},{key:"update",value:function(e,t){return this.loadCount++,this.loadTimeMs+=e,this.megaPixelsLoaded+=t}},{key:"updateCancelled",value:function(e,t){return this.cancelledCount++,this.loadTimeMs+=e,this.megaPixelsCancelled+=t}}]),e}(),i=(0,k.Z)(n.prototype,"loadCount",[Z.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),a=(0,k.Z)(n.prototype,"loadTimeMs",[Z.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),o=(0,k.Z)(n.prototype,"megaPixelsLoaded",[Z.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),s=(0,k.Z)(n.prototype,"cancelledCount",[Z.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),l=(0,k.Z)(n.prototype,"megaPixelsCancelled",[Z.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),p=n,c=function(){function e(){(0,_.Z)(this,e),this.timingInfo=new p,this.batchOpenRequests=0,this.batchCompletedCount=0,this.recentTimingInfo=[]}return(0,w.Z)(e,[{key:"startBatch",value:function(){return this.batchStartTime=new Date,this.lastEndTime=this.batchStartTime,this.lastErrorEndTime=this.batchStartTime,this.batchTiming=new p,this.batchOpenRequests=1}},{key:"startImageLoad",value:function(){return null!=this.batchStartTime?this.batchOpenRequests++:this.startBatch()}},{key:"cancelImageLoad",value:function(e,t){return this._finish(e,t,!1)}},{key:"finishImageLoad",value:function(e,t){return this._finish(e,t,!0)}},{key:"_finish",value:function(e,t,r){var n,i;if(n=(i=new Date)-this.lastEndTime,this.lastEndTime=i,r?(this.timingInfo.update(n,e.megaPixels),this.batchTiming.update(n,e.megaPixels)):(this.timingInfo.updateCancelled(n,e.megaPixels),this.batchTiming.updateCancelled(n,e.megaPixels)),this.batchOpenRequests--,this.batchOpenRequests<=0&&(this.batchStartTime=null,this.batchOpenRequests<0))return console.warn("ImageCache: Negative open requests: ".concat(this.batchOpenRequests))}}]),e}();const E=function(){var e=function(){function e(){var t;(0,_.Z)(this,e),this.queuedRequests=new(S())((function(e,t){return e.priority>t.priority})),this.usePixelDensityMultiplier,this.maxRequestCount=20,this.stats=new c,t=C.Z.isCompactScreen()?2:5,this.caches={thumbnail2x:new T.LRUCache(1e3*t),640:new T.LRUCache(1e3*t),1280:new T.LRUCache(200*t),2048:new T.LRUCache(100*t),panorama:new T.LRUCache(100*t),"2048-avif":new T.LRUCache(100*t),"panorama-avif":new T.LRUCache(100*t)}}return(0,w.Z)(e,[{key:"setUseOzCredentials",value:function(e){return u.prototype.useOzCredentials=e}},{key:"check",value:function(e,t,r){var n;return n=e.getBestRenditionTypeForSize(t,r,!0),this.caches[n].get(e.getRenditionHref(n))}},{key:"checkAssetHref",value:function(e,t){var r,n,i,a,o,s;for(o=m,$.Z.is_enabled("hdr_renditions")&&(o=(s=m.slice()).push.apply(s,(0,v.Z)(d))),r=0,i=o.length;r<i;r++)if(a=o[r],(null!=(n=this.caches[a].get(t))?n.asset:void 0)===e)return n;return null}},{key:"get",value:function(e,t,r,n){var i,a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return i=t.getBestRenditionTypeForSize(r,n,!0),this.getRendition(e,t,i,a,!1)}},{key:"stop",value:function(e){if(null!=e&&!e.isLoaded)return e.requestCount--,0===e.requestCount?(this.caches[e.rendition].remove(e.href),e.cancel()):void 0}},{key:"getFastPreview",value:function(e,t){var r,n,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"2048",o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(i=m.indexOf(a),("2048"===a||"panorama"===a)&&s&&(n="".concat(a,"-avif"),null!=(r=this.caches[n].get("".concat(t.getRenditionHref(n),".avif")))?r.isLoaded:void 0))return r;for(;i>=0;){if(n=m[i],null!=(r=this.caches[n].get(t.getRenditionHref(n)))?r.isLoaded:void 0)return r;i--}return this.getRendition(e,t,"thumbnail2x",o)}},{key:"getRendition",value:function(e,t,r){var n,i,a,o=this,s=arguments.length>3&&void 0!==arguments[3]&&arguments[3],l=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return $.Z.is_enabled("debug")&&z.call(m,r)<0&&console.warn("Unexpected rendition type ".concat(r)),null==(i=t.getRenditionHref(r))?null:("2048"!==r&&"panorama"!==r||!l||(i="".concat(i,".avif"),r="".concat(r,"-avif")),null==(a=(n=this.caches[r]).get(i))||a.isLoaded||s||a.requestCount++,s||(null!=a?a.isQueued&&e!==a.priority&&(a.priority=e,this._queueRequest(a)):(a=new u(e,t,r,i),n.set(i,a),this.stats.batchOpenRequests<this.maxRequestCount?a.loadP(this.stats).always((function(){return window.requestAnimationFrame((function(){return o._checkQueue()}))})):this._queueRequest(a))),a)}},{key:"_queueRequest",value:function(e){return e.isQueued=!0,this.queuedRequests.add({priority:e.priority,imageInfo:e})}},{key:"_checkQueue",value:function(){var e,t,r=this;if(this.stats.batchOpenRequests<this.maxRequestCount)for(;this.queuedRequests.size>0;)if((t=this.queuedRequests.poll()).priority===t.imageInfo.priority&&(e=t.imageInfo).isQueued&&e.requestCount>0)return void e.loadP(this.stats).always((function(){return window.requestAnimationFrame((function(){return r._checkQueue()}))}))}}]),e}();return e.IMMEDIATE_PRIORITY=999999999,e}.call(void 0)},19630:(e,t,r)=>{"use strict";r.d(t,{Z:()=>ie});var n=r(685271),i=r(504397),a=r(282466),o=r(89211),s=r(143681),l=r(236229),c=r(668962),u=r(749886),p=r(673136),d=r(588816),m=r(878537),h=r(54262),v=r(548967),g=r(704083),f=(r(35812),r(468247),r(163991)),b=r(829822),y=r(537188),_=r.n(y),w=r(165764),k=r.n(w),Z=r(774154),x=r.n(Z),S=r(811949),$=r.n(S),A=r(934809),C=r.n(A),T=r(12509),P=r.n(T),z=r(708925),E={};E.styleTagTransform=P(),E.setAttributes=$(),E.insert=x().bind(null,"head"),E.domAPI=k(),E.insertStyleElement=C(),_()(z.Z,E);const O=z.Z&&z.Z.locals?z.Z.locals:void 0;e=r.hmd(e);var I={make:function(e){return I=n.ZP.make({render:function(e,t){var r=t.div=e.pushTemplateNode(ne);e.enterNode(r),t.input=e.pushTemplateNode(re),e.attachEvent(t.input,"focus",Q),e.attachEvent(t.input,"blur",X),e.attachEvent(t.input,"keydown",Y);var n=t.a=e.pushTemplateNode(K);e.attachEvent(t.a,"click",G),e.enterNode(n),e.runBinder(J,W,t,!0),e.exitNode(n);var i=t.a1=e.pushTemplateNode(V);e.attachEvent(t.a1,"click",q),e.enterNode(i),e.runBinder(U,H,t,!0),e.exitNode(i),e.exitNode(r),e.runBinder(F,B,t,!0,!0),e.runBinder(M,L,t,!0),e.runBinder(D,N,t,!0),e.runBinder(j,R,t,!0)},dispose:function(e,t){t.input._jsx_data=null,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,t.a1._jsx_data=null,e.removeSignals(t.a_binder1,t.a_invalidate1),t.a_content1=e.disposeContent(t.a_content1),t.a_value3=void 0,e.removeSignals(t.input_value_binder,t.input_value_invalidate),e.removeSignals(t.div_class_binder,t.div_class_invalidate),e.removeSignals(t.input_placeholder_binder,t.input_placeholder_invalidate),e.removeSignals(t.input_maxlength_binder,t.input_maxlength_invalidate)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(J,W,t,!1),e.runBinder(U,H,t,!1),e.runBinder(F,B,t,!1,!0),e.runBinder(M,L,t,!1),e.runBinder(D,N,t,!1),e.runBinder(j,R,t,!1)},init:function(e,t){t.input._jsx_data=t,t.a._jsx_data=t,t.a1._jsx_data=t},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class")),e.attr._type||(e.attr._type=e.ensureAttr("type")),e.attr._id||(e.attr._id=e.ensureAttr("id")),e.attr._placeholder||(e.attr._placeholder=e.ensureAttr("placeholder")),e.attr._value||(e.attr._value=e.ensureAttr("value")),e.attr._maxlength||(e.attr._maxlength=e.ensureAttr("maxlength"))}}),I.make(e)}};function R(e,t,r,n,i,a){t.input_maxlength_binder=r,t.input_maxlength_invalidate=n;var o=t.input_maxlength_value;(a||o!==i)&&(t.input_maxlength_value=i,t.input_maxlength_state=e.attr._maxlength(t.input,"maxlength",i,t.input_maxlength_state))}function j(e){return e.$_scope.searchInputField.CHAR_LIMIT}function N(e,t,r,n,i,a){t.input_placeholder_binder=r,t.input_placeholder_invalidate=n;var o=t.input_placeholder_value;(a||o!==i)&&(t.input_placeholder_value=i,t.input_placeholder_state=e.attr._placeholder(t.input,"placeholder",i,t.input_placeholder_state))}function D(e){return e.$_scope._this.placeholderText}function L(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function M(e){return e.$_scope._this._searchInputClasses()}function B(e,t,r,n,i,a){t.input_value_binder=r,t.input_value_invalidate=n;var o=t.input_value_value;(a||o!==i)&&(t.input_value_value=i,t.input_value_state=e.attr._value(t.input,"value",i,t.input_value_state,ee))}function F(e){return e.$_scope._this._searchText}function H(e,t,r,n,i,a){t.a_binder1=r,t.a_invalidate1=n;var o=t.a_value3;(a||o!==i)&&(t.a_value3=i,t.a_content1=e.renderContent(t.a_content1,i))}function U(e){return b.Z}function q(){var e=this._jsx_data;e&&e.$_scope._this._onCancelIconClick()}var V=(0,i.z)((function(e){var t=e.makeNode("a");return e.attr._class(t,"class","search-action cancel"),e.attr._id(t,"id","search-cancel-button"),t}));function W(e,t,r,n,i,a){t.a_binder=r,t.a_invalidate=n;var o=t.a_value1;(a||o!==i)&&(t.a_value1=i,t.a_content=e.renderContent(t.a_content,i))}function J(e){return f.Z}function G(){var e=this._jsx_data;e&&e.$_scope._this._onSearchIconClick()}var K=(0,i.z)((function(e){var t=e.makeNode("a");return e.attr._class(t,"class","search-action go"),e.attr._id(t,"id","search-go-button"),t}));function Y(e){var t=this._jsx_data;t&&t.$_scope._this._onInputKeydown(e)}function X(){var e=this._jsx_data;e&&(e.$_scope._this._focused=!1)}function Q(){var e=this._jsx_data;e&&(e.$_scope._this._focused=!0)}function ee(e){var t=this._jsx_data;t&&t.input_value_state.onEvent(t,t.input,e,t.input_value_value,te)}function te(e,t){return e.$_scope._this._searchText=t,e.$_scope._this._searchText}var re=(0,i.z)((function(e){var t=e.makeNode("input");return e.attr._type(t,"type","text"),e.attr._class(t,"class","search"),e.attr._id(t,"id","search-input-text"),t})),ne=(0,i.z)((function(e){return e.makeNode("div")}));const ie=function(){var t,r,n,i,f,b,y=(0,d.Z)((0,h.Z)("SearchInputField",{events:["search-click","search-enter","cancel-click"]}),e,"SearchInputField")((r=function(e){(0,c.Z)(r,e);var t=(0,u.Z)(r);function r(){var e;(0,o.Z)(this,r);for(var s=arguments.length,c=new Array(s),u=0;u<s;u++)c[u]=arguments[u];return e=t.call.apply(t,[this].concat(c)),(0,a.Z)(e,"placeholderText",n,(0,l.Z)(e)),(0,a.Z)(e,"executedSearchText",i,(0,l.Z)(e)),(0,a.Z)(e,"_searchText",f,(0,l.Z)(e)),(0,a.Z)(e,"_focused",b,(0,l.Z)(e)),e}return(0,s.Z)(r,[{key:"attached",value:function(){var e=this;return this.watch((function(){return e.executedSearchText}),(function(t){return e._searchText=t}))}},{key:"searchText",get:function(){var e;return null!=(e=this._searchText)?e.trim():void 0}},{key:"_onInputKeydown",value:function(e){if(13===e.which&&(this.searchText.length>0||this.executedSearchText.length>0))return this.trigger("search-enter",this.searchText)}},{key:"_onSearchIconClick",value:function(){if(this.searchText.length>0)return this.trigger("search-click",this.searchText)}},{key:"_onCancelIconClick",value:function(){return this.trigger("cancel-click")}},{key:"_searchInputClasses",value:function(){var e,t;return e=[O.search_input],this.executedSearchText===this.searchText&&(null!=(t=this.searchText)?t.length:void 0)>0&&e.push("executed"),this._focused&&e.push("focused"),e}},{key:"render",value:function(){return{template:I,searchInputField:r,_this:this}}}]),r}(m.Z),n=(0,p.Z)(r.prototype,"placeholderText",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),i=(0,p.Z)(r.prototype,"executedSearchText",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),f=(0,p.Z)(r.prototype,"_searchText",[v.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),b=(0,p.Z)(r.prototype,"_focused",[v.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),t=r))||t;return y.prototype.CHAR_LIMIT=1024,y}.call(void 0)},635398:(e,t,r)=>{"use strict";r.d(t,{Z:()=>x});var n,i=r(85663),a=r(934331),o=r(282466),s=r(89211),l=r(143681),c=r(236229),u=r(736781),p=r(993184),d=r(668962),m=r(749886),h=r(673136),v=r(767407),g=r(548967),f=(r(718080),r(35812),r(945628),r(573467),r(64209),r(693508),r(470373),r(19067),r(322511),r(542543),r(913688),r(457685),r(957488)),b=r.n(f),y=r(41332),_=r(351003),w=(r(92008),r(149895)),k=r(190960),Z=r(251617);const x=n=function(){var e,t,r=(e=function(e){(0,d.Z)(h,e);var r,n=(0,m.Z)(h);function h(e,r){var i;return(0,s.Z)(this,h),y.Z.is_enabled("debug_force_show_error_assets")&&"incomplete"===(null!=r?r.exclude:void 0)&&delete r.exclude,i=n.call(this,e,r),(0,o.Z)(i,"haveNonOwnerAssets",t,(0,c.Z)(i)),null!=i.options.captured_before&&(i.nextPageLink="prev"),i}return(0,l.Z)(h,[{key:"_add",value:function(e,t){return null!=e.importedByUser&&(this.haveNonOwnerAssets=!0),(0,u.Z)((0,p.Z)(h.prototype),"_add",this).call(this,e,t)}},{key:"_parse",value:function(e){var t;return t=(0,u.Z)((0,p.Z)(h.prototype),"_parse",this).call(this,e),null!=this.options.captured_before&&t.reverse(),t}},{key:"getTotalAesthetic",value:function(e){var t,r,n,i,a,o,s,l;for(l=0,n=0,i=(a=this.models).length;n<i;n++)null!=(null!=(o=(t=a[n]).attributes)&&null!=(s=o.payload)?s.aesthetics:void 0)&&(l+=t.attributes.payload.aesthetics[e]);return r=l/this.models.length,y.Z.is_enabled("debug")&&console.log("Total ".concat(e," is ").concat(l,", avg ").concat(r.toFixed(1))),l}},{key:"getAestheticStats",value:function(){var e,t,r,n;for(n={},t=0,r=k.B.length;t<r;t++)n[e=k.B[t]]=this.getTotalAesthetic(e);return n}},{key:"displayEmpty",get:function(){return this.modelsBindable.every((function(e){return e.isLayoutSegment()}))}},{key:"displayLength",get:function(){return this.modelsBindable.reduce((function(e,t){return t.isLayoutSegment()?e:e+1}),0)}},{key:"nextDisplayIndexJP",value:(r=(0,a.Z)((0,i.Z)().mark((function e(t){var r,n;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t+1,!(this.finished||n<this.length)){e.next=14;break}if(!(null!=(r=this.at(n))?r.isLayoutSegment():void 0)){e.next=7;break}return e.abrupt("return",this.nextDisplayIndexJP(n));case 7:if(null==r){e.next=11;break}return e.abrupt("return",n);case 11:return e.abrupt("return",null);case 12:e.next=17;break;case 14:return e.next=16,this.fetchJP();case 16:return e.abrupt("return",this.nextDisplayIndexJP());case 17:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"prevDisplayIndex",value:function(e){var t,r;for(r=e-1;r>=0&&(null!=(t=this.at(r))?t.isLayoutSegment():void 0);)r--;return null!=t?r:null}},{key:"getAssetSectionText",value:function(e,t){var r,n,i,a;if(null==e)return[null,null];for(n=this.index(e.id),--n;n>=0&&!(i=this.at(n)).isLayoutSegment();)--n;return(null!=i?i.isLayoutSegment():void 0)&&(a=i.title,r=i.description),n<=0&&((null!=a?a.length:void 0)>0||(a=t)),[a,r]}}]),h}(Z.Z),t=(0,h.Z)(e.prototype,"haveNonOwnerAssets",[g.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,h.Z)(e.prototype,"displayEmpty",[v.Z],Object.getOwnPropertyDescriptor(e.prototype,"displayEmpty"),e.prototype),(0,h.Z)(e.prototype,"displayLength",[v.Z],Object.getOwnPropertyDescriptor(e.prototype,"displayLength"),e.prototype),e);return r.prototype.model=k.Z,r.prototype.modelName="Asset",r}.call(void 0);n.defaultPayloadForNewAsset=function(e,t){var r;return{payload:{userCreated:r=e.toISOString(),userUpdated:r,importSource:{importedOnDevice:null!=t?t:"Lightroom Web {0363f1a98b0c507a237977267358886724194e58198ae5efc58c659238ee8fc3}",importTimestamp:r}}}},n.defaultPayloadForUpload=function(e,t,r){var i,a,o=e.file,s=e.payload;return(a=n.defaultPayloadForNewAsset(t,r)).payload.importSource.fileSize=o.size,a.payload.importSource.fileName=o.name,y.Z.is_enabled("upload_async")&&!_.Z.isVideo(o)&&(i=w.Z.VERSION,a.payload.develop={crsVersion:i}),null!=s&&b()(a.payload,s),a}},136441:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(143681),i=r(89211),a=r(668962),o=r(749886),s=(r(41332),r(473174)),l=(r(697458),r(113909));const c=function(){var e=function(e){(0,a.Z)(r,e);var t=(0,o.Z)(r);function r(e,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{embed:"asset;spaces;user"};return(0,i.Z)(this,r),t.call(this,e,n,a)}return(0,n.Z)(r)}(l.Z);return e.prototype.model=s.Z,e}.call(void 0)},777857:(e,t,r)=>{"use strict";r.d(t,{Z:()=>c});var n=r(143681),i=r(89211),a=r(668962),o=r(749886),s=r(305365),l=r(113909);const c=function(){var e=function(e){(0,a.Z)(r,e);var t=(0,o.Z)(r);function r(){return(0,i.Z)(this,r),t.apply(this,arguments)}return(0,n.Z)(r)}(l.Z);return e.prototype.model=s.Z,e}.call(void 0)},473174:(e,t,r)=>{"use strict";r.d(t,{Z:()=>d});var n,i=r(89211),a=r(143681),o=r(736781),s=r(993184),l=r(668962),c=r(749886),u=(r(253544),r(305365)),p=(r(21080),r(784090));n=function(e){return e.asset.base=e.base,e.asset.spaces=e.spaces};const d=function(e){(0,l.Z)(r,e);var t=(0,c.Z)(r);function r(e){var a,o;return(0,i.Z)(this,r),n(e),(a=t.call(this,e.asset)).albumAssetRelativeUrl=e.links.self.href,a.order=null!=(o=e.payload)?o.order:void 0,a}return(0,a.Z)(r,[{key:"refreshP",value:function(){var e,t,i=this;return null!=this.albumAssetRelativeUrl?(e={embed:"spaces;asset;user"},t=this._linkBase.fullHref(this.albumAssetRelativeUrl)+"?"+p.param(e),this.requestP("GET",t).done((function(e){var t;return i.order=null!=(t=e.payload)?t.order:void 0,n(e),i.setAttributes(e.asset)}))):(0,o.Z)((0,s.Z)(r.prototype),"refreshP",this).call(this)}},{key:"getOrder",value:function(){return this.order||""}},{key:"setOrder",value:function(e){return this.order=e}}]),r}(u.Z)},193776:(e,t,r)=>{"use strict";r.d(t,{Z:()=>k});var n=r(760567),i=r(85663),a=r(934331),o=r(278387),s=r(89211),l=r(143681),c=r(668962),u=r(749886),p=(r(888784),r(470373),r(19067),r(973774),r(127387),r(35812),r(819785),r(8856),r(573467),r(693508),r(893248),r(721141),r(816221),r(485143),r(290671),r(17938),r(886023),r(41332)),d=r(253544),m=r(473174),h=r(97865),v=(r(325887),r(550163)),g=r(882973),f=r(647285),b=r(811735),y=(r(189256),r(136441)),_=r(784090),w=[].indexOf;const k=function(){var e=function(e){(0,c.Z)(Z,e);var t,r,m,h,k=(0,u.Z)(Z);function Z(){return(0,s.Z)(this,Z),k.apply(this,arguments)}return(0,l.Z)(Z,[{key:"isOrdered",value:function(){return 0===this.length||""!==this.at(0).getOrder()}},{key:"addAssetsP",value:function(e){var t,r;return r=function(){var r,n,i;for(i=[],r=0,n=e.length;r<n;r++)t=e[r],i.push(t.id);return i}(),this._addAssetIdsP(r)}},{key:"addAssetIdsP",value:function(e){return this._addAssetIdsP(e)}},{key:"addOrderedAssetIdsP",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this._doInsertIdsOrderingP(e,t,r)}},{key:"hasOrdering",value:function(e){var t,r,n,i;for(t=r=0,n=e.length;r<n;t=++r)if(e[t].id!==(null!=(i=this.at(t))?i.id:void 0))return!1;return!0}},{key:"addOrderedAssetsP",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this._doOrderingP(e,t,r)}},{key:"reorderAssetIdsP",value:function(e,t){var r,n,i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return r=function(){var t,r,i;for(i=[],t=0,r=e.length;t<r;t++)n=e[t],i.push(this.get(n));return i}.call(this),this._doOrderingP(r,t,i)}},{key:"reorderAssetsP",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this._doOrderingP(e,t,r)}},{key:"addAndReorderAssetsP",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return this._doOrderingP(e,t,r)}},{key:"_doInsertIdsOrderingP",value:function(e,t,r){var n,i,a,o=this;return!this.finished&&(r||!this.isOrdered()||t>=this.length||-1===t)?this.allP().then((function(){return o._doInsertIdsOrderingP(e,t,r)})):(-1===t&&(t=this.length),this.isOrdered()&&!r?null!=(i=this._getOrdersForInsert(e.length,t))?this._applyReorderDataP(e,i,[],[]):this._doInsertIdsOrderingP(e,t,!0):null==(a=this._getOrders(e.length+this.length))?(d.Z.reportFailure("albumAssetLex64ReindexFailure"),_.Deferred().reject()):(n=a.splice(t,e.length),this._applyReorderDataP(e,n,this.models,a)))}},{key:"_doOrderingP",value:function(e,t,r){var n,i,a,s,l,c,u,p,m,h,v,g,f,b,y,k,Z=this;if(!this.finished&&(r||!this.isOrdered()||t>=this.length))return this.allP().then((function(){return Z._doOrderingP(e,t,r)}));for(-1===t&&(t=this.length),g=0,u=0,h=e.length;u<h;u++)n=e[u],null==this.index(n.id)&&g++;if(this.isOrdered()&&!r){if(null==(y=this._getOrdersForInsert(e.length,t)))return this._doOrderingP(e,t,!0);i=e}else{if(null==(y=this._getOrders(g+this.length)))return d.Z.reportFailure("albumAssetLex64ReindexFailure"),_.Deferred().reject();for(i=[],c=p=0,k=this.length;p<=k;c=p+=1){var x;c===t&&(x=i).push.apply(x,(0,o.Z)(e)),c<this.length&&(a=this.models[c],w.call(e,a)<0&&i.push(a))}}for(f=[],b=[],s=[],l=[],c=m=0,v=i.length;m<v;c=++m)n=i[c],null!=this.index(n.id)?(s.push(n),l.push(y[c])):(f.push(n),b.push(y[c]));return this._applyReorderDataP(f,b,s,l)}},{key:"_getOrdersForInsert",value:function(e,t){var r,n;if(!(t-1>=0&&t-1<this.length&&""===(n=this.at(t-1).getOrder())||t<this.length&&""===(r=this.at(t).getOrder())))return this._getOrders(e,n,r)}},{key:"_getOrders",value:function(e,t,r){var n,i,a,o,s;if(!g.Z.doRandomFailure("getLex64Orders")){if(1===e)return null!=(a=null!=t&&null!=r?v.Z.insertBetween(t,r,"middle"):null!=t?v.Z.insertAfter(t,"middle"):null!=r?v.Z.insertBefore(r,"middle"):v.Z.MIDPOINT)?[a]:void 0;for(i=null!=t?t:null!=r?v.Z.insertBefore(r,"middle"):v.Z.MIDPOINT,o=[],n=1,s=e;n<=s;n+=1){if(null==(a=null!=r?v.Z.insertBetween(i,r,"low"):v.Z.insertAfter(i,"low")))return;o.push(a),i=a}return o}}},{key:"_applyReorderDataP",value:function(e,t,r,n){var i,a,s,l,c,u,m,h,v,g,f,b,w,k,Z,x,S,$,A,C,T,P=this;if(l=_.Deferred(),p.Z.is_enabled("debug_verbose")&&(console.log("applying reorder"),console.log("current order: ".concat(function(){var e,t,r,n;for(n=[],e=0,t=(r=this.models).length;e<t;e++)a=r[e],n.push(a.getOrder());return n}.call(this).join(" "))),console.log("new asset orders: ".concat(t.join(" "))),console.log("existing asset orders: ".concat(n.join(" ")))),T=(new Date).toISOString(),Z=!0,A=[],e.length>0)if(k=[],"string"==typeof(u=e[0])||u instanceof String)Z=!1,(k=e).length<=5?($=this._addAssetIdsP(k,t,T).then((function(){return new y.Z(P.href,k).loadP()})).then((function(e){var t,r;for(r in t=e.assets)a=t[r],P._add(a);return l.notify("optimistically-applied"),e.error_count>0&&(d.Z.reportFailure("assetInsertFailure"),p.Z.is_enabled("debug")&&console.log("".concat(e.error_count," failures inserting ").concat(k.length," assets"),e.errors)),P._sortByOrder()})),A.push($)):(Z=!1,A.push(this._addAssetIdsP(k,t,T)));else{for(m=h=0,f=e.length;h<f;m=++h)(a=e[m]).setOrder(t[m]),this._add(a),k.push(a.id);l.notify("optimistically-applied"),A.push(this._addAssetIdsP(k,t,T))}if(r.length>0){for(m=v=0,b=r.length;v<b;m=++v)(a=r[m]).order=n[m];s=r.map((function(e){return{id:e.id,payload:{userUpdated:T,order:e.order}}})),r.length>10?A.push(this._debouncedBulkUpdateAttributesJP("updateOrder",s)):A.push(this._bulkUpdateAttributesP(s))}if(Z?this._sortByOrder():this.markDirty(),p.Z.is_enabled("debug")){for(x={},S=0,c=0,g=0,w=(C=this.models).length;g<w;g++)null==(a=C[g]).order?p.Z.is_enabled("debug_verbose")&&console.error("Asset with null order (this is legal at the end)",a):a.order<null?(console.error("Asset out of order",a),++S):x.hasOwnProperty(a.order)&&(console.error("Duplicate asset order",a.order,a),++c),x[a.order]=!0;S>0&&d.Z.report("albumAssetOutOfOrder",{count:S}),c>0&&d.Z.report("albumAssetDuplicateOrder",{count:c})}return(i=_).when.apply(i,(0,o.Z)(A)).then(l.resolve).fail(l.reject),l.promise()}},{key:"_sortByOrder",value:function(){return this.modelsBindable.sort((function(e,t){var r,n,i,a,o,s;return(i=e.getOrder())!==(s=t.getOrder())?""===i?1:""===s?-1:i>s?1:-1:(r=e.payload().captureDate)!==(a=t.payload().captureDate)?r>a?1:-1:(n=e.attributes.created)>(o=t.attributes.created)?1:n<o?-1:0})),this._reindex()}},{key:"deleteAssetsP",value:function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return t=e.map((function(e){return e.id})),this.deleteAssetIdsP(t,r)}},{key:"deleteAssetIdsP",value:function(e){var t,r,n,i,a=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;for(n=0,i=e.length;n<i;n++)t=e[n],null!=(r=this.index(t))&&this._delete(r);return null!=o?o.then((function(){return a.deleteManyP(e,"removeAssetsFromAlbum",!1)})):this.deleteManyP(e,"removeAssetsFromAlbum",!1)}},{key:"_getOrdersForAppendJP",value:(h=(0,a.Z)((0,i.Z)().mark((function e(t){var r;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=this.parentAlbum){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,e.next=5,this.parentAlbum.getLastOrderedAssetP();case 5:r=e.sent,e.next=10;break;case 8:e.prev=8,e.t0=e.catch(2);case 10:if(null!=r&&""!==r.getOrder()){e.next=12;break}return e.abrupt("return");case 12:return e.abrupt("return",this._getOrders(t.length,r.getOrder()));case 13:case"end":return e.stop()}}),e,this,[[2,8]])}))),function(e){return h.apply(this,arguments)})},{key:"_addAssetIdsV2JP",value:(m=(0,a.Z)((0,i.Z)().mark((function e(t,r,n){var a,o,s,l,c,u,p,d;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=r){e.next=4;break}return e.next=3,this._getOrdersForAppendJP(t);case 3:r=e.sent;case 4:null==n&&(n=(new Date).toISOString()),l=r?t.map((function(e,t){return[e,r[t]]})):t.map((function(e){return[e]})),o=50,d=[],s=c=0,u=l.length-1,p=o;case 9:if(0===p||!(p>0?c<=u:c>=u)){e.next=19;break}return a=l.slice(s,s+o),e.t0=d,e.next=14,this._doAddAssetIdsV2JP(a,n);case 14:e.t1=e.sent,e.t0.push.call(e.t0,e.t1);case 16:s=c+=p,e.next=9;break;case 19:return e.abrupt("return",d);case 20:case"end":return e.stop()}}),e,this)}))),function(e,t,r){return m.apply(this,arguments)})},{key:"_addAssetIdsP",value:function(){var e,t;return t=this._addAssetIdsV2JP.apply(this,arguments),e=_.Deferred(),t.then((function(t){var r;return(r=e).resolve.apply(r,(0,o.Z)(null!=t?t:[]))}),(function(t){var r;return(r=e).reject.apply(r,(0,o.Z)(null!=t?t:[]))})),e}},{key:"_doAddAssetIdsP",value:function(e,t,r){var n,i;return i=_.Deferred(),n=t&&t.length===e.length?e.map((function(e,n){return{id:e,payload:{userCreated:r,userUpdated:r,order:t[n]}}})):e.map((function(e){return{id:e,payload:{userCreated:r,userUpdated:r}}})),this.requestP("PUT",this.href,JSON.stringify({resources:n})).always((function(e,t){return t>=200&&t<300||null!=e.errors&&403===t?i.resolve(e,t):i.reject(e,t)})),i.promise()}},{key:"_doAddAssetIdsV2JP",value:function(e,t){return this.safeToJSPromise(this._doAddAssetIdsV2P(e,t))}},{key:"_doAddAssetIdsV2P",value:function(e,t){var r,i;return i=_.Deferred(),r=e.map((function(e){var r,i,a,o=(0,n.Z)(e,2);return i=o[0],a=o[1],r={id:i,payload:{userCreated:t,userUpdated:t}},null!=a&&(r.payload.order=a),r})),this.requestP("PUT",this.href,JSON.stringify({resources:r})).always((function(e,t){return t>=200&&t<300||null!=e.errors&&403===t?i.resolve(e,t):i.reject(e,t)})),i.promise()}},{key:"getTotalCountHref",value:function(){var e;return!0===this.options.album_filters?null:(e={},null!=this.options.exclude&&(e.exclude=this.options.exclude),null!=this.options.subtype&&(e.subtype=this.options.subtype),"".concat(this.href,"/count?").concat(_.param(e)))}},{key:"_deleteManyP",value:function(e,t){var r=this;return this.requestP("DELETE",this.href,"asset_ids=".concat(e.join("%3B")),{contentType:"application/x-www-form-urlencoded;charset=UTF-8"}).fail((function(e,n,i){var a;return a=null!=t?"".concat(t,"Failure"):"deleteAssetsFailure",r.reportOzFailure(a,e,n,i)}))}},{key:"_debouncedBulkUpdateAttributesJP",value:function(e,t){var r,n,i=this;return null==(r=this.debouncedRequests)[e]&&(r[e]={}),this.debouncedRequests[e].assetData=t,n=function(){return null!=i.debouncedRequests[e].timeout&&clearTimeout(i.debouncedRequests[e].timeout),i.debouncedRequests[e].timeout=setTimeout((function(){return i._bulkUpdateAttributesP(i.debouncedRequests[e].assetData).done((function(){return i.debouncedRequests[e].resolve(),i.debouncedRequests[e]=null})).fail((function(){return i.debouncedRequests[e].reject()}))}),5e3)},null!=this.debouncedRequests[e].promise?n():this.debouncedRequests[e].promise=new Promise((function(t,r){return i.debouncedRequests[e].resolve=t,i.debouncedRequests[e].reject=r,n()})),this.debouncedRequests[e].promise}},{key:"_bulkUpdateAttributesP",value:function(e){var t,r=this;return t={resources:e},this.requestP("POST",this.href,JSON.stringify(t)).then((function(){var e,n,i,a,o,s,l;for(l=[],n=0,i=(a=t.resources).length;n<i;n++)null!=(null!=(o=(e=a[n]).payload)?o.order:void 0)?l.push(null!=(s=r.get(e.id))?s.setOrder(e.payload.order):void 0):l.push(void 0);return l}))}},{key:"getReviewedAssetsP",value:function(e,t){var r=this;return null!=this.proofingAssetsDeferred?this.proofingAssetsDeferred:this.proofingAssetsDeferred=this.allP().then((function(n){var i,a,s,l,c,u,p,d,m;for(s=[],r.proofingClientIdList=new Set,r.proofingClientList=new Set,r.selectedAssetsForFiltering=new Set,r.commentedAssetsForFiltering=new Set,r.selectedPromises=[],r.commentedPromises=[],m=function(n){var i,a;return i=n.getLikesHref(e),(a=new b.Z(i)).allP().then((function(){var e,i,o,l,c;for(c=[],i=0,o=(l=a.modelsBindable.base).length;i<o;i++)e=l[i].author,r.proofingClientIdList.has(e.id)||r.proofingClientList.add(e),r.proofingClientIdList.add(e.id),e.id===t&&"all_clients"!==t?(r.selectedAssetsForFiltering.add(n),c.push(s.push(n))):c.push(void 0);return c}))},d=function(n){var i,a;return i=n.getCommentsHref(e),(a=new f.Z(i)).allP().then((function(){var e,i,o,l,c;for(c=[],i=0,o=(l=a.modelsBindable.base).length;i<o;i++)e=l[i].author,r.proofingClientIdList.has(e.id)||r.proofingClientList.add(e),r.proofingClientIdList.add(e.id),e.id===t&&"all_clients"!==t?(r.commentedAssetsForFiltering.add(n),c.push(s.push(n))):c.push(void 0);return c}))},c=0,u=n.length;c<u;c++)a=n[c],t?(a.getLikesCount(e)>0&&("all_clients"===t&&(r.selectedAssetsForFiltering.add(a),s.push(a)),r.selectedPromises.push(m(a))),a.getCommentCount(e)>0&&("all_clients"===t&&(r.commentedAssetsForFiltering.add(a),s.push(a)),r.commentedPromises.push(d(a)))):(p=a.getLikesCount(e),a.isLikedByUser(e)&&(p-=1),r.reviewSelectedCount+=p,l=a.getCommentCount(e),(p>0||l>0)&&s.push(a));return r.selectAndCommentPromises=r.selectedPromises.concat(r.commentedPromises),(i=_).when.apply(i,(0,o.Z)(r.selectAndCommentPromises)).always((function(){return r.proofingAssetsDeferred=null})).then((function(){return s.sort((function(t,r){return r.getLikesCount(e)-t.getLikesCount(e)}))}))}))}},{key:"deleteRedundantLayoutSegmentsJP",value:(r=(0,a.Z)((0,i.Z)().mark((function e(){var t,r,n,a,o,s;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(n=new Set,o=null,s=this.models,r=0,a=s.length;r<a;r++)(t=s[r]).isLayoutSegment()?(null!=o&&(o.layoutSegmentHasText?t.layoutSegmentHasText||n.add(t.id):n.add(o.id)),o=t):o=null;if(!(n.size>0)){e.next=8;break}return e.next=7,this.deleteAssetIdsP(Array.from(n));case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"deleteAllLayoutSegmentsJP",value:(t=(0,a.Z)((0,i.Z)().mark((function e(){var t,r,n,a,o,s,l,c=arguments;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=c.length>0&&void 0!==c[0]&&c[0],o=[],l=this.models,n=a=0,s=l.length;case 4:if(!(a<s)){e.next=12;break}if(r=l[n],!t||0!==n){e.next=8;break}return e.abrupt("continue",9);case 8:r.isLayoutSegment()&&o.push(r.id);case 9:n=++a,e.next=4;break;case 12:if(!(o.length>0)){e.next=16;break}return e.next=15,this.deleteAssetIdsP(o);case 15:return e.abrupt("return",e.sent);case 16:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"validateLayoutSegmentsJP",value:function(){var e,t,r,n,i,a;for(a=[],t=r=0,n=(i=this.models).length;r<n;t=++r)(e=i[t]).isLayoutSegment()?a.push(e.migrateNameToTitleP()):a.push(void 0);return a}}]),Z}(h.Z);return e.prototype.model=m.Z,e.prototype.modelName="CatalogAlbumAsset",e.prototype.debouncedRequests={},e}.call(void 0)},305365:(e,t,r)=>{"use strict";r.d(t,{Z:()=>T});var n,i,a,o,s,l,c=r(725115),u=r(85663),p=r(934331),d=r(282466),m=r(89211),h=r(143681),v=r(236229),g=r(736781),f=r(993184),b=r(668962),y=r(749886),_=r(673136),w=r(516641),k=r(548967),Z=(r(35812),r(808410),r(573467),r(693508),r(587621),r(276839),r(468247),r(888784),r(111519),r(373636),r(582909),r(721141),r(824098),r(41332)),x=r(630647),S=(r(253544),r(190960)),$=r(189256),A=r(21080),C=r(784090);const T=(n=(0,w.Z)(A.Z),l=n((a=function(e){(0,b.Z)(a,e);var t,r,n,i=(0,y.Z)(a);function a(){var e;(0,m.Z)(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return e=i.call.apply(i,[this].concat(r)),(0,d.Z)(e,"albumsList",o,(0,v.Z)(e)),(0,d.Z)(e,"deletedRestoreState",s,(0,v.Z)(e)),e}return(0,h.Z)(a,[{key:"setCaptionP",value:function(e){var t;return this.getCaption()===e||null==e?(t=C.Deferred(),null!=e?t.resolve():t.reject(),t.promise()):this._createChildRevisionP("setCaption",{payload:{xmp:{dc:{description:e}}}})}},{key:"setTitleP",value:function(e){var t,r,n,i,a,o;return this.getTitle()===e||null==e?(r=C.Deferred(),null!=e?r.resolve():r.reject(),r.promise()):(t=null!=(i=null!=(a=this.attributes.payload)&&null!=(o=a.xmp)?o.dc:void 0)?i:{},(n=C.extend(!0,{},t)).title=e,this._createChildRevisionP("setTitle",{payload:{xmp:{dc:n}}}))}},{key:"_setAutotagFeedbackP",value:function(e,t){var r,n,i,a,o,s;if(null==(r=null!=(a=this.attributes.payload)&&null!=(o=a.autoTags)?o.tags:void 0))return C.Deferred().reject("no autotags on this asset");for(s=C.extend(!0,{},r),"all"===e&&(e=Object.keys(s)),n=0,i=e.length;n<i;n++)s[e[n]]=t;return this._createChildRevisionP("setAutotagFeedback",{payload:{autoTags:{tags:s}}})}},{key:"acceptAllAutoTagsP",value:function(){return this._setAutotagFeedbackP("all",!0)}},{key:"rejectAllAutoTagsP",value:function(){return this._setAutotagFeedbackP("all",!1)}},{key:"acceptAutoTagP",value:function(e){return this._setAutotagFeedbackP([e],!0)}},{key:"rejectAutoTagP",value:function(e){return this._setAutotagFeedbackP([e],!1)}},{key:"setFlagP",value:function(e){var t,r;return t={flag:e,date:(new Date).toISOString()},(r={})[$.Z.account.id]=t,this._createChildRevisionP("setFlag",{payload:{reviews:r}})}},{key:"setFlagJP",value:(n=(0,p.Z)((0,u.Z)().mark((function e(t){return(0,u.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.safeToJSPromise(this.setFlagP(t));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"setRatingP",value:function(e){var t,r;return t={rating:e,date:(new Date).toISOString()},(r={})[$.Z.account.id]=t,this._createChildRevisionP("setRating",{payload:{ratings:r}})}},{key:"setRatingJP",value:(r=(0,p.Z)((0,u.Z)().mark((function e(t){return(0,u.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.safeToJSPromise(this.setRatingP(t));case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:"addKeywordP",value:function(e){var t,r,n,i,a,o,s;for(r=(0,x.zt)("$$$/js/keyword_entry_delimiter=,"),t={payload:{xmp:{dc:{subject:{}}}}},a=0,n=0,s=(o=e.split(r)).length;n<s;n++)(i=(e=o[n]).trim()).length>0&&(a++,t.payload.xmp.dc.subject[i]=!0);return a>0?this._createChildRevisionP("addKeyword",t):C.Deferred().resolve().promise()}},{key:"removeKeywordP",value:function(e){var t;return 1===(t=this.getKeywordsArray()).length&&t.indexOf(e)>=0?1===Object.keys(this.xmp().dc).length?this._createChildRevisionP("removeKeyword",{payload:{xmp:{dc:null}}}):this._createChildRevisionP("removeKeyword",{payload:{xmp:{dc:{subject:null}}}}):this._createChildRevisionP("removeKeyword",{payload:{xmp:{dc:{subject:(0,c.Z)({},"".concat(e),null)}}}})}},{key:"setDevelopJP",value:function(){var e,t,r=this;$.Z.startAssetEdit();for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return(t=(e=(0,g.Z)((0,f.Z)(a.prototype),"setDevelopJP",this)).call.apply(e,[this].concat(i))).then((function(){return $.Z.lastAssetEditTime=r.newestDevelopUserUpdated})),t.finally((function(){return $.Z.endAssetEdit()})),t}},{key:"optimisticUpdatePayload",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(this.attributes=C.extend(!0,this.attributes.toJSON(),{payload:e}),t)return this.attributes.revision_ids.push(t)}},{key:"getLikesCount",value:function(){var e,t,r,n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return Z.Z.is_enabled("lots_of_likes")?7*(null!=(e=this._getSpace(null!=i?i.id:void 0))&&null!=(t=e.links["/rels/favorites"])?t.count:void 0):null!=(r=this._getSpace(null!=i?i.id:void 0))&&null!=(n=r.links["/rels/favorites"])?n.count:void 0}},{key:"isLiked",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.getLikesCount(e)>0}},{key:"isLikedByUser",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.isLiked(e)&&null!=this._getLikeUrl(e)}},{key:"getLikesHref",value:function(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null!=(e=this._getSpace(null!=r?r.id:void 0))&&null!=(t=e.links["/rels/favorites"])?t.href:void 0}},{key:"_getLikeUrl",value:function(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null!=(e=this._getSpace(null!=r?r.id:void 0))&&null!=(t=e.links["/rels/this_user_favorite"])?t.href:void 0}},{key:"likeP",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.requestP("PUT","".concat(this.getLikesHref(t),"/").concat(this.createUuid()),"{}").fail((function(t,r,n){return e.reportOzFailure("likeAssetFailure",t,r,n)}))}},{key:"unLikeP",value:function(){var e,t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(null!=(e=this._getLikeUrl(r)))return this.requestP("DELETE",e,"{}").fail((function(e,r,n){return t.reportOzFailure("unlikeAssetFailure",e,r,n)}))}},{key:"getCommentCount",value:function(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null!=(e=this._getSpace(null!=r?r.id:void 0))&&null!=(t=e.links["/rels/comments"])?t.count:void 0}},{key:"hasComments",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.getCommentCount(e)>0}},{key:"getCommentsHref",value:function(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null!=(e=this._getSpace(null!=r?r.id:void 0))&&null!=(t=e.links["/rels/comments"])?t.href:void 0}},{key:"setCaptureDateP",value:function(e){var t;return this.getCaptureDate()===e?C.Deferred().resolve().promise():(t={payload:{captureDate:e.toISOString()}},this._createChildRevisionP("setCaptureDate",t))}},{key:"_getSpace",value:function(e){var t,r,n,i;if(!this.attributes.spaces)return null;if(null!=e){for(t=0,r=(n=this.attributes.spaces).length;t<r;t++)if((i=n[t]).id===e)return i;return null}return this._getFirstSpace()}},{key:"_getFirstSpace",value:function(){var e;return Z.Z.is_enabled("debug")&&null!=this.attributes.spaces&&console.warn("Need to remove usage of _getFirstSpace."),null!=(e=this.attributes.spaces)?e[0]:void 0}},{key:"getCatalogHref",value:function(){return"".concat(this._linkBase.basePath,"assets/").concat(this.id)}},{key:"copyAuxToSpaceAssetJP",value:(t=(0,p.Z)((0,u.Z)().mark((function e(t,r,n){var i,a,o,s;return(0,u.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i="/v2/spaces/".concat(t,"/assets/").concat(r),s=this.getDevelopPixelMaskIds(),a="".concat(i,"/revisions/").concat(n,"/aux"),o={source_href:this.getCatalogHref(),aux_ids:s},e.next=6,this.requestJP("PUT",a,JSON.stringify(o));case 6:return e.abrupt("return",S.Z.pollAssetUntilCheckJP(S.Z,i,(function(e){return s.every((function(t){return e.hasLink("/rels/aux/".concat(t))}))})));case 7:case"end":return e.stop()}}),e,this)}))),function(e,r,n){return t.apply(this,arguments)})},{key:"getAlbumListP",value:function(e){var t,r=this;return t=this._linkBase.fullHref("assets/".concat(e,"/albums")),this.requestP("GET",t).done((function(e){return r.albumsList=e.resources.filter((function(e){return"collection"===e.subtype}))}))}},{key:"_assetStoreUpdate",value:function(e,t){var r,n;if(n=new Date(e.attributes.updated),r=new Date(t.updated),isNaN(n)||isNaN(r)||r>n)return null==t.spaces&&(t.spaces=e.attributes.spaces),e.setAttributes(t)}},{key:"debugTouchUpdatedP",value:function(e){var t;return t={payload:{userUpdated:e.toISOString()}},this._createChildRevisionP("debugTouchUpdated",t)}}]),a}(S.Z),o=(0,_.Z)(a.prototype,"albumsList",[k.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,_.Z)(a.prototype,"deletedRestoreState",[k.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),i=a))||i);l.pollUntilValidAssetJP=function(e){return S.Z.pollAssetUntilCheckJP(l,e,(function(e){return e.isValid()}))}},97865:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var n=r(85663),i=r(934331),a=r(89211),o=r(143681),s=r(668962),l=r(749886),c=(r(35812),r(721141),r(573467),r(693508),r(893248),r(8856),r(973774),r(127387),r(351003)),u=r(635398),p=r(305365),d=(r(325887),r(189256)),m=r(957488),h=r.n(m),v=r(784090);const g=function(){var e=function(e){(0,s.Z)(p,e);var t,r=(0,l.Z)(p);function p(){return(0,a.Z)(this,p),r.apply(this,arguments)}return(0,o.Z)(p,[{key:"getTotalCountHref",value:function(){var e;return e={},null!=this.options.exclude&&(e.exclude=this.options.exclude),null!=this.options.subtype&&(e.subtype=this.options.subtype),"".concat(this.href,"/count?").concat(v.param(e))}},{key:"debugCreateEmptyAssetP",value:function(){var e,t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e=v.Deferred(),this.pageP(0).then((function(){var i,a,o,s,l;return o={size:1234,name:"DEBUG_LONGFILENAMEFOROVERFLOWTESTING.JPG"},(s=u.Z.defaultPayloadForUpload({file:o},r,n)).subtype="image",s.payload.captureDate=r.toISOString(),s.payload.importSource.importedBy=d.Z.account.id,s.payload.importSource.originalWidth=s.payload.importSource.originalHeight=Math.floor(2264*Math.random())+1e3,a=t.createUuid(),i="".concat(t.href,"/").concat(a),l="".concat(i,"/revisions/").concat(t.createUuid()),t.requestP("PUT",l,JSON.stringify(s)).done((function(t){return e.resolve(l,a)}))})).fail((function(){return e.reject()})),e.promise()}},{key:"createNewEmptyAssetP",value:function(e,t,r){var n,i=this;return n=v.Deferred(),null==r?n.reject():(this.pageP(0).then((function(){var a,o,s,l;return(s=u.Z.defaultPayloadForUpload(e,r)).subtype=c.Z.ozSubtype(e.file),s.payload.captureDate="0000-00-00T00:00:00",s.payload.importSource.importedBy=t.id,null!=e.sha256&&(s.payload.importSource.sha256=e.sha256),o=i.createUuid(),a="".concat(i.href,"/").concat(o),l="".concat(a,"/revisions/").concat(i.createUuid()),i.requestP("PUT",l,JSON.stringify(s)).done((function(e){return n.resolve(l,o)}))})).fail((function(){return n.reject()})),n.promise())}},{key:"debugCopyAssetAsProxyOnlyJP",value:(t=(0,i.Z)((0,n.Z)().mark((function e(t){var r,i,a,o,s,l,c;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.hasExternalDevelopSettings()){e.next=2;break}return e.abrupt("return",Promise.reject("no support for external develop settings"));case 2:return(o=t.cloneAttributes().payload).importSource.willNotUploadMaster=!0,(a=h()({},{payload:o},u.Z.defaultPayloadForNewAsset(new Date))).subtype=t.attributes.subtype,a.captureDate=t.attributes.captureDate,i=this.createUuid(),r="".concat(this.href,"/").concat(i),c=this.createUuid(),l="".concat(r,"/revisions/").concat(c),e.next=13,this.requestJP("PUT",l,JSON.stringify(a));case 13:return s="".concat(r,"/revisions/").concat(c,"/proxies/").concat(this.createUuid()),e.next=16,this.requestJP("PUT","".concat(s),JSON.stringify({file_href:t.linkFullPath("/rels/proxy_type/2560")}),{headers:{"X-Generate-Renditions":"all","X-Async-Copy":!0}});case 16:return e.abrupt("return",r);case 17:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"deleteManyP",value:function(e,t){var r,n,i,a=this,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];for(n=void 0,r=0;r<e.length;)i=e.slice(r,r+=100),n=n?n.pipe(function(e){return function(){return a._deleteManyP(e,t)}}(i)):this._deleteManyP(i,t);return n.then((function(){var t,r,n,i,s,l,c,u,p;for(i=[],s=0,c=e.length;s<c;s++)r=e[s],null!=(n=a.index(r))&&i.push(n);for(i.sort((function(e,t){return e-t})),p=0,t=l=0,u=i.length;l<u;t=++l)n=i[t],a._models.splice(n-p++,1);return null!=a.totalCount&&o&&(a.totalCount-=e.length),i.length>0&&a._reindex(),i}))}},{key:"deleteManyJP",value:function(e,t){var r;return r=this._deleteManyJP(e,t),this._deleteMany(e),r}},{key:"restoreManyJP",value:function(e,t){return this._restoreManyJP(e,t)}},{key:"_deleteManyJP",value:function(e,t){return d.Z.catalogContext.catalogUpdates.deleteManyAssetIdsJP(e)}},{key:"_restoreManyJP",value:function(e,t){return d.Z.catalogContext.catalogUpdates.restoreManyAssetIdsJP(e)}},{key:"_deleteManyP",value:function(e,t){var r=this;return this.requestP("DELETE",this.href,"asset_ids=".concat(e.join("%3B")),{contentType:"application/x-www-form-urlencoded;charset=UTF-8"}).fail((function(e,n,i){var a;return a=null!=t?"".concat(t,"Failure"):"deleteAssetsFailure",r.reportOzFailure(a,e,n,i)}))}}]),p}(u.Z);return e.prototype.model=p.Z,e.prototype.modelName="CatalogAsset",e}.call(void 0)},647285:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var n=r(89211),i=r(143681),a=r(736781),o=r(993184),s=r(668962),l=r(749886),c=r(820775),u=r(251617);const p=function(){var e=function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(){return(0,n.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r,[{key:"createP",value:function(e,t){var n,i=this;return n={payload:{body:e}},this.allP().then((function(){return(0,a.Z)((0,o.Z)(r.prototype),"createP",i).call(i,i.href+"/"+i.createUuid(),n)}))}},{key:"_add",value:function(e,t){return t?(this._unshift(e),this._reindex()):(0,a.Z)((0,o.Z)(r.prototype),"_add",this).call(this,e)}}]),r}(u.Z);return e.prototype.model=c.Z,e.prototype.modelName="Comment",e}.call(void 0)},550163:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n,i=r(760567),a=(r(119861),r(978996),r(587621),r(538941),r(328614),r(308967),r(35812),r(893248),r(127387),r(276839),r(468247),r(41332)),o=r(253544);(n={lex64Encoding:"-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz",invalidRegExp:new RegExp("[^a-zA-Z0-9_-]","g"),maxLength:1024,nearStepEncodingWidth:4,MIDPOINT:"Uzzz",insertBefore:function(e,t){var r=this;if(!this.invalidRegExp.test(e))return this.tryCatch("InsertBefore",(function(){return r._insertBefore(e,t)}))},insertBetween:function(e,t,r){var n=this;if(!this.invalidRegExp.test(e)&&!this.invalidRegExp.test(t))return this.tryCatch("InsertBetween",(function(){return n._insertBetween(e,t,r)}))},insertAfter:function(e,t){var r=this;if(!this.invalidRegExp.test(e))return this.tryCatch("InsertAfter",(function(){return r._insertAfter(e,t)}))},tryCatch:function(e,t){var r;try{if(!0===this._debugForceReindexNextOrder)throw this._debugForceReindexNextOrder=!1,"Forced Lex64 Error";return t()}catch(t){return r=t,a.Z.is_enabled("debug")&&console.log("".concat(e," Exception: ").concat(r)),void o.Z.reportFailure("assetOrderLex64Error",{errorDescription:r})}},_insertBefore:function(e,t){var r,n,a,o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(null===s&&(s=e),n=this.lex64Encoding,"high"===t){if(o=n.slice(-1),e[0]===o&&e[1]===o)return s=e,this._insertBefore(e.substring(1),t,s.substring(1));var l=this.copyAndFill(e),c=(0,i.Z)(l,2);return c[0],r=c[1],this.nextOrderString(r,-1)}return a=n[0],this._insertBetween(a,e,t)},_insertBetween:function(e,t,r){var n,i,a,o,s,l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(n=e.charCodeAt(0),a=t.charCodeAt(0),l.length>this.maxLength)throw"Buffer Exhausted";if(i=this.decode[n],o=this.decode[a],i>this.maxDecodeValue||o>this.maxDecodeValue)throw"Invalid Character";if(i===o)return l+=this.encode[i],0!==n&&(e=e.substring(1)),0!==a&&(t=t.substring(1)),this._insertBetween(e,t,r,l);if(o<i)throw"Parameters out of Order";return i+1<o?(s=this.getCharBetween(i,o,r),l+this.encode[s]):(l+=this.encode[i],0!==n&&(e=e.substring(1)),this._insertAfter(e,r,l))},_insertAfter:function(e){var t,r,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"middle",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if((r=this.decode[e.charCodeAt(0)])===this.maxDecodeValue&&("low"!==a||e[1]===e[0]))return o+=this.encode[r],e=e.substring(1),this._insertAfter(e,a,o);if("low"===a){var s=this.copyAndFill(e),l=(0,i.Z)(s,2);l[0],t=l[1],o+=this.nextOrderString(t,1)}else n=this.getCharBetween(r,this.maxDecodeValue+1,a),o+=this.encode[n];if(o.length>this.maxLength)throw"Buffer Exhausted";return o},getCharBetween:function(e,t,r){if(t<=e+1)throw"Invalid values";if(t===e+2)return e+1;switch(r){case"low":return e+1;case"high":return t-1;default:return Math.floor(e+(t-e)/2)}},copyAndFill:function(e){var t,r,n,i,a,o,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.maxLength,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.encode[0];for(i=s<=this.nearStepEncodingWidth?s-1:this.nearStepEncodingWidth,o=Array(s+1),t=r=0,a=i;r<a&&(n=e[t],!(t>=e.length));t=r+=1){if(this.decode[n.charCodeAt(0)]>this.maxDecodeValue)return[s+1,o];o[t]=n}for(;t<i;)o[t]=l,t++;if((o=o.join("")).length>this.maxLength)throw"Buffer Exhausted";return[i,o]},nextOrderString:function(e){var t,r,n,i,a,o,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0;if(t=this.encode[0],i=this.maxDecodeValue,n=e.length,"string"==typeof e&&(e=e.split("")),1!==s&&-1!==s)throw"Invalid Arguments";if(r=n,a=e[--r],(o=this.decode[a.charCodeAt(0)])>this.maxDecodeValue)throw"Invalid Character";if(o===i){if(0===r)return l;e[r]=t}else e[r]=this.encode[o+s],r=0;for(;0!==r;){if(a=e[--r],(o=this.decode[a.charCodeAt(0)])>this.maxDecodeValue)throw"Invalid Character";if(o!==i){e[r]=this.encode[o+s];break}if(0===r)return l;e[r]=t}return 0===this.decode[e[n-1].charCodeAt(0)]?this.nextOrderString(e,s,l):e.join("").trim()},setupEncoding:function(){var e,t,r,n,i;for(this.decode=Array([256]),this.encode=this.lex64Encoding,t=r=0;r<=255;t=++r)this.decode[t]=255;for(this.decode[0]=0,this.maxDecodeValue=this.encode.length-1,t=n=0,i=this.encode.length;n<i;t=n+=1)e=this.encode.charCodeAt(t),this.decode[e]=t;return this.decode[void 0]=this.decode[0],this.decode.NaN=this.decode[0]}}).setupEncoding();const s=n},21080:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(89211),i=r(143681),a=(r(457685),r(322511),r(542543),r(808410),r(784090));const o=function(){function e(){(0,n.Z)(this,e)}return(0,i.Z)(e,[{key:"title",get:function(){var e;return null!=(e=this.payload().title)?e:this.payload().name}},{key:"description",get:function(){return this.payload().description}},{key:"migrateNameToTitleP",value:function(){var e,t;if(null!=(e=this.payload().name))return t={name:null},null==this.payload().title&&(t.title=e),this._createChildRevisionP("migrateLayoutSegmentNameToTitle",{payload:t})}},{key:"setLayoutSegmentP",value:function(e,t){var r;return r={},null!=this.attributes.payload.name&&(r.name=null),e!==this.attributes.payload.title&&(r.title=e),t!==this.attributes.payload.description&&(r.description=t),Object.keys(r).length>0?this._createChildRevisionP("updateLayoutSegment",{payload:r}):a.Deferred().resolve()}},{key:"layoutSegmentHasText",get:function(){var e,t;return(null!=(e=this.title)?e.length:void 0)>0||(null!=(t=this.description)?t.length:void 0)>0}}]),e}()},811735:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p});var n=r(89211),i=r(143681),a=r(668962),o=r(749886),s=(r(923304),r(573467),r(328614),r(41332)),l=r(795486),c=r(251617),u=r(784090);const p=function(){var e=function(e){(0,a.Z)(r,e);var t=(0,o.Z)(r);function r(){return(0,n.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r,[{key:"_parse",value:function(e){var t,r,n,i,a,o,l,c;if(i=e.resources,s.Z.is_enabled("lots_of_likes"))for(o=0,c=(n=i).length;o<c;o++)for(r=n[o],a=l=0;l<=7;a=++l)(t=u.extend(!0,{},r)).id+=a.toString(),i.push(t);return i}}]),r}(c.Z);return e.prototype.model=l.Z,e.prototype.modelName="Like",e}.call(void 0)},975157:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(89211),i=r(143681),a=(r(888784),r(35812),r(189256));const o=function(){function e(t){var r;(0,n.Z)(this,e),null!=a.Z.hostOverride?this.hostUrl=a.Z.hostOverride:this.hostUrl="",r=null!=t?t.indexOf("/",8):-1,this.basePath=-1===r?"":t.substr(r)}return(0,i.Z)(e,[{key:"fullPath",value:function(e){if(null!=e)return 0===e.indexOf("http://")||0===e.indexOf("https://")||"/"===e[0]?e:"".concat(this.basePath).concat(e)}},{key:"fullHref",value:function(e){if(null!=e)return 0===e.indexOf("http://")||0===e.indexOf("https://")?e:"/"===e[0]?"".concat(this.hostUrl).concat(e):"".concat(this.hostUrl).concat(this.basePath).concat(e)}}]),e}()},690027:(e,t,r)=>{"use strict";r.d(t,{Z:()=>_});var n=r(85663),i=r(934331),a=r(89211),o=r(143681),s=r(736781),l=r(993184),c=r(668962),u=r(749886),p=r(673136),d=r(767407),m=(r(573467),r(693508),r(819785),r(816221),r(290671),r(17938),r(824098),r(457685),r(35812),r(913688),r(41332)),h=r(253544),v=r(258579),g=(r(351003),r(347458)),f=r(189256),b=r(922313),y=r(251617);const _=function(){var e,t=(e=function(e){(0,c.Z)(b,e);var t,r,p,d=(0,u.Z)(b);function b(e,t,r){var n;return(0,a.Z)(this,b),(n=d.call(this,t,r)).parentAsset=e,n}return(0,o.Z)(b,[{key:"_add",value:function(e,t){return t?(this._models.unshift(e),this._reindex()):(0,s.Z)((0,l.Z)(b.prototype),"_add",this).call(this,e)}},{key:"deleteAllJP",value:(p=(0,i.Z)((0,n.Z)().mark((function e(){var t,r,i,a,o;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(i=this.models.map((function(e){return e.id})),o=[],t=0,a=i.length;t<a;t++)r=i[t],o.push(this.optimisticDeleteP(r));return e.next=5,Promise.all(o);case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e,this)}))),function(){return p.apply(this,arguments)})},{key:"canFilterByCreator",value:function(e){return this.filterVersionsCreatedByUser(e).length>0&&this.filterVersionsNotCreatedByUser(e).length>0}},{key:"_versionIsCreatedByUser",value:function(e,t){var r,n;return r=f.Z.account.id,t?null==e.importedByUser:r===(null!=(n=e.importedByUser)?n.id:void 0)}},{key:"_filteredOwnerVersions",get:function(){var e=this;return this.modelsBindable.filter((function(t){return e._versionIsCreatedByUser(t,!0)}))}},{key:"_filteredUserVersions",get:function(){var e=this;return this.modelsBindable.filter((function(t){return e._versionIsCreatedByUser(t,!1)}))}},{key:"_filteredNotOwnerVersions",get:function(){var e=this;return this.modelsBindable.filter((function(t){return!e._versionIsCreatedByUser(t,!0)}))}},{key:"_filteredNotUserVersions",get:function(){var e=this;return this.modelsBindable.filter((function(t){return!e._versionIsCreatedByUser(t,!1)}))}},{key:"filterVersionsCreatedByUser",value:function(e){return e?this._filteredOwnerVersions:this._filteredUserVersions}},{key:"filterVersionsNotCreatedByUser",value:function(e){return e?this._filteredNotOwnerVersions:this._filteredNotUserVersions}},{key:"_createVersionJP",value:(r=(0,i.Z)((0,n.Z)().mark((function e(t,r,i){var a,o,s,l,c;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r.processingModel="lightroom",s={subtype:"edit",asset:{sha256:this.parentAsset.importSource().sha256},payload:{createdManually:i,develop:r},importedOnDevice:{formFactor:"web"}},i?t.length>0&&(s.payload.name=t):null!=t&&(s.payload.userCreated=s.payload.userUpdated=t),null==r.xmpCameraRaw||!(r.xmpCameraRaw.length>f.Z.XMP_CAMERA_RAW_MAX_LENGTH||m.Z.is_enabled("force_externalize_edit_settings")||null!=r.masks)){e.next=10;break}return c=r.xmpCameraRaw,e.next=8,(0,v.Z)("SHA-256",c);case 8:l=e.sent,r.xmpCameraRaw={sha256:l};case 10:if(a=this.createJP("".concat(this.href,"/").concat(this.createUuid()),s),null==c){e.next=17;break}return e.next=14,a;case 14:return o=e.sent,e.next=17,o.uploadExternalizedSettingsJP(c);case 17:return e.abrupt("return",a);case 18:case"end":return e.stop()}}),e,this)}))),function(e,t,n){return r.apply(this,arguments)})},{key:"createAutoJP",value:function(e,t){var r;return r={},null!==this.parentAsset.getContentType()&&(r["content.mimeType"]=this.parentAsset.getContentType()),m.Z.is_enabled("hdr_edit_in_sdr")&&(r["content.version"]=!0===e.crsHDREditMode?"hdr":"sdr"),h.Z.track("Develop","Versions","implicitly-created",r),this._createVersionJP(t,e,!1)}},{key:"createNamedJP",value:function(e,t){return this._createVersionJP(e,t,!0)}},{key:"createNamedFromAutoVersionJP",value:(t=(0,i.Z)((0,n.Z)().mark((function e(t,r){var i;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=g.Z.extend({},r.develop),!r.hasExternalDevelopSettings()){e.next=5;break}return e.next=4,r.getDevelopSettingsJP();case 4:i.xmpCameraRaw=e.sent;case 5:return delete i.userUpdated,delete i.userCreated,e.abrupt("return",this._createVersionJP(t,i,!0));case 8:case"end":return e.stop()}}),e,this)}))),function(e,r){return t.apply(this,arguments)})}]),b}(y.Z),(0,p.Z)(e.prototype,"_filteredOwnerVersions",[d.Z],Object.getOwnPropertyDescriptor(e.prototype,"_filteredOwnerVersions"),e.prototype),(0,p.Z)(e.prototype,"_filteredUserVersions",[d.Z],Object.getOwnPropertyDescriptor(e.prototype,"_filteredUserVersions"),e.prototype),(0,p.Z)(e.prototype,"_filteredNotOwnerVersions",[d.Z],Object.getOwnPropertyDescriptor(e.prototype,"_filteredNotOwnerVersions"),e.prototype),(0,p.Z)(e.prototype,"_filteredNotUserVersions",[d.Z],Object.getOwnPropertyDescriptor(e.prototype,"_filteredNotUserVersions"),e.prototype),e);return t.prototype.model=b.Z,t.prototype.modelName="Version",t}.call(void 0)},481785:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var n,i=r(89211),a=r(143681),o=r(668962),s=r(749886),l=(r(721141),r(367469),r(272745)),c=r(189256),u=r(5081),p=r(41332),d=r(630647),m=r(748354),h=r(128894),v=r(74462).Z;const g=n=function(e){(0,o.Z)(r,e);var t=(0,s.Z)(r);function r(){return(0,i.Z)(this,r),t.apply(this,arguments)}return(0,a.Z)(r,[{key:"doUnwantedSearchJP",value:function(e,t,r,n){var i,a,o,s,l,p;return o=m.Z.isProd?"lightroom-production":"lightroom-stage",p=u[o].unwanted_host,i=u[o].unwanted_app_token,l={"x-api-key":"LightroomMobileWeb1",Authorization:"Bearer ".concat(h.default.getToken()),"x-app-token":i},s=[{catalogId:e.id},{accountId:c.Z.account.id}],null!==t&&s.push({albumId:t.id}),a={experienceId:"Default-Unwanted-Photos",queries:[{id:"query1",start:n,limit:r,scope:{entities:["LRPhoto"]},filters:s}]},this.requestJP("POST","https://".concat(p,"/uss/v3/query"),JSON.stringify(a),{headers:l,contentType:"application/vnd.adobe.search-request+json"})}},{key:"doInsightsSearchP",value:function(){var e,t,r,n;return e=m.Z.isProd?"lightroom-production":"lightroom-stage",r=u[e].host,t={"x-api-key":"LightroomMobileWeb1","x-product":"Lightroom Web","x-product-location":"Lightroom Web",Authorization:"Bearer ".concat(h.default.getToken())},n={q:"",scope:["lightroom"],asset_type:["image","video"],facets_fields:["lightroom_flag","lightroom_edited","lightroom_flash","lightroom_depthmap","asset_type","type","file_name_extension","rating","lightroom_orientation","lightroom_camera","lightroom_lens","lightroom_flength","lightroom_fstop","lightroom_iso","lightroom_ss","lightroom_keyword","lightroom_location","lightroom_person"],fields_excluded:["links","tags"],hints:[{lightroom_version:"3"}],limit:1},this.requestP("POST","https://".concat(r,"/universal-search/v2/search"),JSON.stringify(n),{headers:t,contentType:"application/vnd.adobe.search-request+json"})}},{key:"doSearchP",value:function(e,t,n,i,a){var o,s;return s={"x-product-location":"main search input"},o={scope:["lightroom"],q:e,limit:t,start_index:n,fields_excluded:["links","tags"],locale:d.Z.getLocaleWithUnderscore(),fetch_fields:{includes:["lightroom_album_id"]}},"__clear_search_cache__"===e&&(o.lightroom_disable_cache="true"),null!=a&&Object.assign(o,a),null!=i&&Object.assign(o,i),v.sdk?(Object.assign(s,r.authHeaders),this.requestP("POST","/search_sdk_api/universal-search-lr/v2/search",JSON.stringify(o),{headers:s,contentType:"application/vnd.adobe.search-request+json"})):p.Z.is_enabled("debug_uss_stage_fac_endpoint")?(null==o.hints&&(o.hints=[]),o.hints.push({lightroom_version:"3"}),this.requestP("POST","/search_api_fac/universal-search-lr/v2/search",JSON.stringify(o),{headers:s,contentType:"application/vnd.adobe.search-request+json"})):this.requestP("POST","/search_api/universal-search-lr/v2/search",JSON.stringify(o),{headers:s,contentType:"application/vnd.adobe.search-request+json"})}}],[{key:"setAuthHeaders",value:function(e,t){return this.authHeaders={Authorization:"Bearer ".concat(e),"x-api-key":t}}}]),r}(l.Z);p.Z.is_enabled("debug")&&(window.LrSearch=n)},439433:(e,t,r)=>{"use strict";r.d(t,{Z:()=>C});var n,i,a,o,s,l=r(282466),c=r(236229),u=r(736781),p=r(993184),d=r(673136),m=r(143681),h=r(89211),v=r(668962),g=r(749886),f=r(548967),b=(r(587621),r(468316),r(721141),r(35812),r(888784),r(817838),r(824098),r(573467),r(816221),r(693508),r(290671),r(17938),r(420531)),y=r(41332),_=r(253544),w=r(337720),k=r(274225),Z=r(305365),x=r(777857),S=r(481785),$=r(189256),A=r(784090);Z.Z,s=0;const C=(n=function(e){(0,v.Z)(r,e);var t=(0,g.Z)(r);function r(e,n){var u,p=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},d=arguments.length>3?arguments[3]:void 0,m=arguments.length>4?arguments[4]:void 0,v=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[];return(0,h.Z)(this,r),u=t.call(this),(0,l.Z)(u,"sortOrderBy",i,(0,c.Z)(u)),(0,l.Z)(u,"sortOrderDirection",a,(0,c.Z)(u)),(0,l.Z)(u,"errored",o,(0,c.Z)(u)),u.catalog=e,u.searchText=n,u.filterParams=p,u.sortOrderBy=d,u.sortOrderDirection=m,u.insertedAssets=v,u._dirty=!0,u._searchId=s++,u.search=new S.Z,y.Z.is_enabled("search_ml_feedback")&&(u.requestLog=[]),u.assetSearchData={},u.reset(),u}return(0,m.Z)(r,[{key:"reset",value:function(){var e;return this._dirty?(this._models=new b.Z(this.insertedAssets),this.indices={},this.page=0,this.pageSize=null!=(e=this.filterParams.limit)?e:100,this.finished=!1,this.errored=!1,this.length=0,this.totalCount=null,this._dirty=!1,this.insertedAssets.length>0&&this._reindex(),this):this}},{key:"getSearchId",value:function(){return s}},{key:"markDirty",value:function(){return(0,u.Z)((0,p.Z)(r.prototype),"markDirty",this).call(this),this.totalCount=null,this}},{key:"getSearchQueryString",value:function(){return this.searchText}},{key:"_reportError",value:function(e,t,r){var n;return null==e&&(e="unknown"),null==t&&(t="unknown"),n=r.getResponseHeader("x-request-id"),_.Z.reportFailure("searchFailure",{errorCode:e,errorDescription:t,requestId:n})}},{key:"fetchP",value:function(){var e,t,r,n=this;return this.finished?A.Deferred().reject().promise():this.fetching?this.fetching:(e=this._models,this.sortOrderBy,this.sortOrderDirection,null==this.sortOrderBy&&null==this.sortOrderDirection||(r={},null!=this.sortOrderDirection&&(r.sort_order=this.sortOrderDirection),null!=this.sortOrderBy&&(r.sort_orderby=this.sortOrderBy)),t=this.fetching=this.search.doSearchP(this.searchText,this.pageSize,this.page*this.pageSize,this.filterParams,r),y.Z.is_enabled("debug_simulate_slow_search")&&(t=t.then((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n;return n=A.Deferred(),setTimeout((function(){var e;return(e=n).resolve.apply(e,t)}),3e3),n}))),t.always((function(){return n.fetching=void 0})).fail((function(e,t,r){return n.errored=!0,n._reportError(t,JSON.stringify(e),r),n._dirty=!0})).then((function(r,i,a){var o,s,l,c,u,p,d,m,h,v,g,f,b,_,k,Z,S,A,C,T,P,z,E,O,I;if(n._models===e){if(null!=r&&null!=r.status&&200<=(v=r.status[0].status)&&v<=299){if(E=a.getResponseHeader("x-request-id"),n.totalCount=null!=(g=null!=(_=r.result_sets)&&null!=(k=_[0])?k.total_items:void 0)?g:0,(I=null!=(Z=null!=(S=r.result_sets)&&null!=(A=S[0])&&null!=(C=A.items)?C.length:void 0)?Z:0)>0&&null!=(null!=(T=r.result_sets)?T[0]:void 0)){for(h=[],m={},u=0,d=(P=r.result_sets[0].items).length;u<d;u++)z=P[u],null==(p=z.asset_id)||null!=m[p]||null!=n.index(p)||w.Z.isAssetIdDeleted(p)||(h.push(p),m[p]=!0,n.assetSearchData[p]=z);c="/v2/catalogs/".concat(n.catalog.id,"/assets"),$.Z.hostOverride&&(c="".concat($.Z.hostOverride).concat(c)),o=new x.Z(c,h,{embed:"user"}),t=o.loadP().then((function(t){var r,i,a,o;if(n._models===e){for(o=t.request_id,i=0,a=h.length;i<a;i++)p=h[i],null!=(r=t.assets[p])&&n._add(r);return y.Z.is_enabled("search_ml_feedback")?n.requestLog.push({searchRequestId:E,ozRequestId:o,ozIds:h}):void 0}})).always((function(){if(n._models===e)return I<n.pageSize?(n.finished=!0,n.totalCount=n._models.length):void 0}))}else n.finished=!0,n.totalCount=n._models.length;return n.page++,n.page*n.pageSize>=1e4&&(n.finished=!0,n.totalCount=n._models.length),t}return null!=(O=null!=r&&null!=(f=r.status)?f[0]:void 0)&&(null!=(l=null!=(b=O.errors)?b[0]:void 0)&&(s=JSON.stringify(l)),n._reportError(O.status,s,a)),n.finished=!0,n.totalCount=n._models.length}})))}},{key:"deleteAssetsLocally",value:function(e){return this.deleteLocally(e)}},{key:"assets",get:function(){return this}},{key:"getAssetParentAlbumIds",value:function(e){var t,r;return null==(null!=(t=this.assetSearchData)&&null!=(r=t[e])?r.lightroom_album_id:void 0)?[]:this.assetSearchData[e].lightroom_album_id}},{key:"_getPageNumberForAssetId",value:function(e){var t,r,n,i;for(n=t=0,r=(i=this.requestLog).length;t<r;n=++t)if(i[n].ozIds.indexOf(e)>=0)return n;return-1}},{key:"_initsearchFeedbackData",value:function(e,t){var r;return r={client_request_id:this.requestLog[e].ozRequestId,false_positive_results:[],allow_asset_view:!1},null!=t&&(r.feedback=t),{created:Date.now(),account_id:$.Z.account.id,catalog_id:w.Z.catalog.id,type:"autotag_search",source:{client:"LrW",search_url:window.__adobe_search_api_host,search_query:this.getSearchQueryString(),search_request_id:this.requestLog[e].searchRequestId,payload:r}}}},{key:"sendSearchFeedbackJP",value:function(e){var t,r,n,i,a,o,s,l,c,u,p=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;for(c=new Array(this.requestLog.length).fill(null),r=0,a=e.length;r<a;r++)n=e[r],(s=this._getPageNumberForAssetId(n))<0||(null==(t=c[s])&&(t=c[s]=this._initsearchFeedbackData(s,p)),t.source.payload.false_positive_results.push(n));for(l=[],i=0,o=(u=c.filter((function(e){return null!=e}))).length;i<o;i++)t=u[i],l.push(w.Z.catalog.submitSearchFeedbackJP(t));return Promise.all(l)}}]),r}(k.Z),i=(0,d.Z)(n.prototype,"sortOrderBy",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,d.Z)(n.prototype,"sortOrderDirection",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),o=(0,d.Z)(n.prototype,"errored",[f.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n)},351003:(e,t,r)=>{"use strict";r.d(t,{Z:()=>p}),r(888784),r(587621),r(558901),r(35812),r(457685),r(391162),r(923304),r(573467),r(328614),r(499313),r(261148),r(816221),r(784425),r(595249),r(185466),r(370843),r(961626),r(897995),r(518926),r(725676),r(81738),r(479959),r(879587),r(353478),r(643300),r(363242),r(911895),r(301207),r(792647),r(879104),r(497814),r(78019),r(474646),r(28227),r(420879),r(680851),r(725637),r(686862),r(169513),r(993224),r(604542),r(292381);var n,i,a,o=r(41332),s=r(630647),l=r(882973),c=r(784090),u=[].indexOf;i=0,a=0;const p=n={CHUNK_THRESHOLD:209715200,VIDEO_EXTENSIONS:["3gp","3gpp","avi","dxo","m2ts","m4v","mov","mp4","mpe","mpeg","mpg","mpg4","mts","qt"],ALL_VIDEO_EXTENSIONS:["264","3g2","3gp","3gpp","3gpp2","asf","avc","avi","divx","dv","flv","m1v","m2p","m2t","m2ts","m2v","m4v","mkv","mov","mp4","mpe","mpeg","mpg","mpg4","mpv","mts","ogg","ogv","ps","qt","tod","ts","vob","webm","wmv"],RAW_EXTENSIONS:["3fr","arq","arw","cr2","cr3","crw","dcr","dng","erf","fff","gpr","iiq","kdc","mef","mfw","mos","mrw","nef","nefx","nrw","orf","pef","psd","raf","raw","rw2","rwl","sr2","srf","srw","x3f"],JPEG_EXTENSIONS:["jfif","jpe","jpg","jpeg"],PNG_EXTENSIONS:["png"],TIFF_EXTENSIONS:["tif","tiff"],GIF_EXTENSIONS:["gif"],HEIF_EXTENSIONS:["heif","heic","hif"],JXL_EXTENSIONS:["jxl"],AVIF_EXTENSIONS:["avif"],downloadAssetP:function(e,t){var r,n,i;return 0===(r=(r=e.getFileName()).replace(/[;\/?:@=&"<>#%{}\|\\^~\]`]/g,"")).length&&(r=this.getDefaultFilename(e)),t?(n=e.getMasterHref(!1),i="".concat(n,"/filename/").concat(r)):(n=e.getDownload2048Href(),r=r.replace(/\.[^.]+$/,".jpg"),i="".concat(n,"/filename/").concat(r)),window.location.href=i,c.Deferred().resolve().promise()},getDefaultFilename:function(e){return e.isVideo()?this.defaultVideoFilename():this.defaultPhotoFilename()},defaultPhotoFilename:function(){return(0,s.zt)("$$$/js/viewer/download/no_filename=photo.jpg")},defaultVideoFilename:function(){return(0,s.zt)("$$$/js/viewer/download/no_filename_video=video.mp4")},isSupportedUploadType:function(e){return this.isImage(e)||this.isVideo(e)},isSupportedBehanceProfileImageType:function(e){var t;return null!=(t=this.extName(e))&&(u.call(this.JPEG_EXTENSIONS,t)>=0||u.call(this.PNG_EXTENSIONS,t)>=0||u.call(this.GIF_EXTENSIONS,t)>=0)},isUploadSupportedFormat:function(e){return this.isImage(e)||this.isVideo(e)},isUploadSupported:function(e){var t,r,n,i;return!!o.Z.is_enabled("debug_upload_anything")||(t=this.isImage(e),r=this.isVideo(e),!(!t&&!r)&&(t?0<(n=e.size)&&n<1073741824:0<(i=e.size)&&i<4294967296))},isVideo:function(e){var t;return null!=(t=this.extName(e))&&u.call(this.ALL_VIDEO_EXTENSIONS,t)>=0},isImage:function(e){var t;return null!=(t=this.extName(e))&&(u.call(this.JPEG_EXTENSIONS,t)>=0||u.call(this.PNG_EXTENSIONS,t)>=0||u.call(this.TIFF_EXTENSIONS,t)>=0||u.call(this.RAW_EXTENSIONS,t)>=0||u.call(this.HEIF_EXTENSIONS,t)>=0||u.call(this.JXL_EXTENSIONS,t)>=0||u.call(this.AVIF_EXTENSIONS,t)>=0)},_extensionInList:function(e,t){var r;return null!=(r=this.extName(e))&&u.call(t,r)>=0},isJpeg:function(e){return this._extensionInList(e,this.JPEG_EXTENSIONS)},isRaw:function(e){return this._extensionInList(e,this.RAW_EXTENSIONS)},isPng:function(e){return this._extensionInList(e,this.PNG_EXTENSIONS)},isTiff:function(e){return this._extensionInList(e,this.TIFF_EXTENSIONS)},isXmp:function(e){return"xmp"===this.extName(e)},contentTypeForUpload:function(e){return this.isVideo(e)?"video/*":this.isJpeg(e)?"image/jpeg":this.isPng(e)?"image/png":this.isTiff(e)?"image/tiff":"application/octet-stream"},ozSubtype:function(e){return this.isVideo(e)?"video":!!this.isImage(e)&&"image"},extName:function(e){var t;if(t=e.name)return this.getFileExtension(t)},getFileExtension:function(e){var t;return-1!==(t=e.lastIndexOf("."))?e.substr(t+1).toLowerCase():""},browserCanLoadImage:function(e){var t;return null!=(t=this.getFileExtension(e))&&("jpg"===t||"jpeg"===t)},isDigestReliable:function(){return 0===a?!(i>2):!(i>a+2)},digestP:function(e,t){var r,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return i>0?(r=c.Deferred(),n._digestP(e,t).done((function(){var e;return(e=r).resolve.apply(e,arguments)})).fail((function(){return n.digestP(e,t,i-1).done((function(){var e;return(e=r).resolve.apply(e,arguments)})).fail((function(){var e;return(e=r).reject.apply(e,arguments)}))})),r.promise()):n._digestP(e,t)},_digestP:function(e,t){var r,n,o,s,u,p,d,m,h,v,g;return n=c.Deferred(),o="unknown",g=t?Math.min(1e4,Math.max(e.size/4,2e3)):6e4,v=setTimeout((function(){if(i++,n.reject("".concat(o,": timeout")),null!=p&&2!==p.readyState)return p.abort()}),g),l.Z.doRandomFailure("digestP for ".concat(e.name),.25)?n.promise():(s=function(e){if("pending"===n.state())return i++,clearTimeout(v),n.reject("".concat(o,": ").concat(e))},u=function(e){if("pending"===n.state())return a++,n.resolve(e),clearTimeout(v)},(r=null!=(d=window.crypto)?d:window.msCrypto)&&(h=null!=(m=r.subtle)?m:r.webkitSubtle)?(o="filereader",(p=new FileReader).onload=function(){var e,t;return e=p.result,window.msCrypto?(o="msCrypto",(t=window.msCrypto.subtle.digest({name:"SHA-256"},e)).oncomplete=function(e){return u(e.target.result)},t.onerror=function(e){var t;return s(null!=e&&null!=(t=e.toString())?t.substr(0,100):void 0)}):(o="crypto",h.digest({name:"SHA-256"},e).then((function(e){return u(e)})).catch((function(e){var t;return"string"!=typeof(t=(null!=e?e.name:void 0)||(null!=e?e.toString().substr(0,100):void 0))&&(t="unknown"),s(t)})))},p.onerror=function(e){var t;return e instanceof ProgressEvent?t=e.lengthComputable?"progressevent as error ".concat(e.loaded," / ").concat(e.total):"progressevent as error, not computable":"string"!=typeof(t=(null!=e?e.name:void 0)||(null!=e?e.toString().substr(0,100):void 0))&&(t="unknown"),s(t)},p.readAsArrayBuffer(e),n.then((function(e){var t,r,n,i,a;if(e instanceof ArrayBuffer){for(a="",r=0,n=(i=new Uint8Array(e)).length;r<n;r++)1===(t=i[r].toString(16)).length?a+="0"+t:a+=t;return a}return e}))):n.reject())}}},748354:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(89211),i=r(143681);r(923304),r(573467),r(328614),r(816221),r(290671),r(17938),r(108882);const a=new(function(){var e=function(){function e(){(0,n.Z)(this,e)}return(0,i.Z)(e,[{key:"hostName",get:function(){return(null!==window?window.location.hostname:void 0)||this.prodHostName}},{key:"pathName",get:function(){return(null!==window?window.location.pathname:void 0)||""}},{key:"isProd",get:function(){return this.hostName===this.prodHostName}},{key:"isStage",get:function(){return!this.isProd}},{key:"objectToUrlParamString",value:function(e){return new URLSearchParams(e).toString()}}]),e}();return e.prototype.prodHostName="lightroom.adobe.com",e}.call(void 0))},94395:(e,t,r)=>{"use strict";var n;function i(e,t,r){var i,a,o,s,l,c;for(a in o=Object.getOwnPropertyDescriptors(t.prototype),r&&(s=new Set(r)),c=[],o)if(i=o[a],null!=s||"constructor"!==a)if(null==s||s.has(a)){if(null!=e.prototype[a])throw new Error("Mixin method ".concat(null!=(l=t.prototype.constructor)?l.name:void 0,".").concat(a," hides ").concat(n(e,a),".").concat(a));c.push(Object.defineProperty(e.prototype,a,i))}else c.push(void 0);return c}r.d(t,{Z:()=>i}),r(457685),r(362499),r(343378),r(816221),r(573467),r(485143),r(290671),r(17938),r(936963),r(923304),r(35812),r(378702),n=function(e,t){var r;return r=function(e){return e.hasOwnProperty(t)?e.constructor.name:r(Object.getPrototypeOf(e))},r(e.prototype)}},92008:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o}),r(923304),r(573467),r(328614),r(587621),r(531072),r(929216);var n,i=r(731351),a=r(826054);const o=n={SORT_NEWEST_FIRST:0,SORT_OLDEST_FIRST:1,SORT_CUSTOM:2,_localeCompare:function(e,t){var r;return e=e.toString(),t=t.toString(),0===(r=e.toLocaleLowerCase().localeCompare(t.toLocaleLowerCase()))?e.localeCompare(t):r},localeCompare:function(e,t){return n.logicalStringComparison(e,t)},stringToArrayOfCharactersAndNumbers:function(e){return(null!=e?e.length:void 0)>0?e.match(/([\d]+)|[^\d]+/g):[]},_stringTokenComparison:function(e,t){var r,i;return r=parseFloat(e),i=parseFloat(t),isNaN(r)&&isNaN(i)?""===e?-1:""===t?1:n._localeCompare(e,t):isNaN(r)?1:isNaN(i)?-1:r-i},logicalStringComparison:function(e,t){var r,i,a,o,s,l,c,u,p;for(i=n.stringToArrayOfCharactersAndNumbers(e.toString()),a=(s=n.stringToArrayOfCharactersAndNumbers(t.toString())).length,u=c=0,p=i.length;c<p;u=++c){if(r=i[u],u>=a)return 1;if(o=s[u],0!==(l=n._stringTokenComparison(r,o)))return l}return l},ozModelCreatedCompareAsc:function(e,t){var r,n;return(r=e.getBestCreatedDateAttribute())===(n=t.getBestCreatedDateAttribute())?0:r>n?1:-1},ozModelCreatedCompareDesc:function(e,t){return n.ozModelCreatedCompareAsc(t,e)},assetQualityCompareAsc:function(e,t){var r,a,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.assetCaptureDateCompareAsc;return r=i.Z.calculateImportance(e,!0),a=i.Z.calculateImportance(t,!0),Math.abs(r-a)<.001?o(e,t):r-a},assetQualityCompareDesc:function(e,t){return n.assetQualityCompareAsc(t,e,n.assetCaptureDateCompareDesc)},_dateCompare:function(e,t,r){var i,a,o,s,l;return i=("function"==typeof e[s=r[0]]?e[s]():void 0)||null,a=("function"==typeof t[s]?t[s]():void 0)||null,o=null===i&&null===a,l=(null!=i?i.getTime():void 0)===(null!=a?a.getTime():void 0),o?r.length>1?(r.shift(),n._dateCompare(e,t,r)):0:l&&r.length>1?(r.shift(),n._dateCompare(e,t,r)):null===i?-1:null===a?1:i-a},assetCaptureDateCompareLikeOzAsc:function(e,t){return n._dateCompare(e,t,["getCaptureDate","getOzCreatedDate"])},assetCaptureDateCompareLikeOzDesc:function(e,t){return n.assetCaptureDateCompareLikeOzAsc(t,e)},assetCaptureDateCompareAsc:function(e,t){var r,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return 0===(r=n._dateCompare(e,t,["getCaptureDate"]))&&i?n.assetFileNameCompareAsc(e,t):r},assetCaptureDateCompareDesc:function(e,t){return n.assetCaptureDateCompareAsc(t,e)},assetImportDateCompareAsc:function(e,t){var r;return 0===(r=n._dateCompare(e,t,["getImportDate","getCaptureDate"]))?n.assetFileNameCompareAsc(e,t):r},assetImportDateCompareDesc:function(e,t){return n.assetImportDateCompareAsc(t,e)},assetModifiedDateCompareAsc:function(e,t){var r;return 0===(r=n._dateCompare(e,t,["getUserUpdatedDate","getCaptureDate"]))?n.assetFileNameCompareAsc(e,t):r},assetModifiedDateCompareDesc:function(e,t){return n.assetModifiedDateCompareAsc(t,e)},assetRatingCompareAsc:function(e,t){var r,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n.assetCaptureDateCompareAsc;return(r=e.getRating())===(i=t.getRating())?a(e,t):r-i},assetRatingCompareDesc:function(e,t){return n.assetRatingCompareAsc(t,e,n.assetCaptureDateCompareDesc)},assetFileNameCompareAsc:function(e,t){var r,i,a;return r=e.getFileName(),i=t.getFileName(),""===r&&""===i?n.assetCaptureDateCompareAsc(e,t,!1):""===r?-1:""===i?1:0===(a=n.logicalStringComparison(r,i))?n.assetCaptureDateCompareAsc(e,t,!1):a},assetFilenameCompareDesc:function(e,t){return n.assetFilenameCompareAsc(t,e)},makeCustomSortPropertyComparer:function(e){return function(t,r){return(parseFloat((0,a.Z)(r,e))||0)-(parseFloat((0,a.Z)(t,e))||0)}}}},731351:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o}),r(340781),r(200386),r(468247),r(945628),r(35812),r(929216);var n,i,a=r(41332);i=function(e){return Math.abs(e)<1e-4},(n={calculateCombinedAestheticRating:function(e){var t,r,n,i;if(null==(t=e.getAesthetics()))return 0;for(r in n=0,t)"number"==typeof(i=t[r])&&"version"!==r&&0!==this.importanceWeights.aestheticWeights[r]&&(n+=i*this.importanceWeights.aestheticWeights[r]);return n<0&&(n=0),n},calculateImportance:function(e){var t,r,n,i,o,s,l,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return null==c&&(c=null!=(s=null!=(l=this.bestPhotosState)?l.senseiOnlyCalculation:void 0)&&s),a.Z.is_enabled("best_photos_trust_oz")?parseInt(e.hackBestPhotosOrder):a.Z.is_enabled("best_aesthetics_score_only")?e.getAestheticScore():((r=this._calculateBaseImportance(e,c))+(t=this._getAutoTagImportance(e,c))+(o=this._getFrameImportance(e))+(i=this._getFaceImportance(e))+(n=this._getBlurImportance(e)))/this._getNormalizer(r,t,o,i,n)},_calculateBaseImportance:function(e){var t,r,n,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=0,(r=!i&&!(null!=(n=this.bestPhotosState)?n.senseiOnlyCalculation:void 0))&&(t+=this._getFlagImportance(e),t+=this._getRatingImportance(e),t+=this._getTitleImportance(e),t+=this._getCaptionImportance(e),t+=this._getEditImportance(e)),t=(t+=this._getAestheticImportance(e))/this._getMaxAestheticScore(i)*100,r&&(t+=this._getRatedFlaggedPenalty(e)),t},_getNormalizer:function(e,t,r,n,a){var o;return o=0,i(e)||(o+=1),i(t)||(o+=this.importanceWeights.autoTagScore),i(r)||(o+=this.importanceWeights.frameScore),i(n)||(o+=this.importanceWeights.faceScore),i(a)||(o+=this.importanceWeights.blurScore),o},_getFrameImportance:function(e){return e.getBestFrameScore("frame")*this.importanceWeights.frameScore/this.maxScores.frame*100},_getFaceImportance:function(e){var t,r,n,i;return t=e.getBestFrameScore("face"),r=null!=(n=null!=(i=this.bestPhotosState)?i.peopleMultiplier:void 0)?n:1,t>=this.importanceWeights.faceScoreOutlierMin?t*this.importanceWeights.faceScoreOutlier*r/this.maxScores.face*100:t*this.importanceWeights.faceScore*r/this.maxScores.face*100},_getBlurImportance:function(e){var t,r,n,i,o,s,l;if(t=e.getBlurScores(),r=this.importanceWeights.blur,null==t)return 0;for(l=0,n=0,o=(s=["desired","undesired","clear","acceptable"]).length;n<o;n++)i=s[n],this._shouldIgnoreBlurScore(e,i)||(l+=t[i]*r[i]);return a.Z.is_enabled("debug_best_photos")&&(l+=(t.desired+t.clear+t.acceptable)*r.goodScore,l+=(t.undesired+.5*t.acceptable)*r.badScore),l},_shouldIgnoreBlurScore:function(e,t){var r,n,i,a,o;if("desired"===t){if(null==(r=e.getAutoTags()))return!1;for(i=n=0,a=(o=this.importanceWeights.blur.desiredIgnoreTags).length;n<a;i=++n)if(r[o[i]]>this.importanceWeights.blur.desiredIgnoreThresholds[i])return!0}return!1},_getFlagImportance:function(e){var t;return t=e.getFlag(),this.importanceWeights.flags[t]},_getRatingImportance:function(e){var t;return t=e.getRating(),this.importanceWeights.rating[t]},_getTitleImportance:function(e){return""!==e.getTitle().trim()?this.importanceWeights.hasTitle:0},_getCaptionImportance:function(e){return""!==e.getCaption().trim()?this.importanceWeights.hasCaption:0},_getAestheticImportance:function(e){return this.importanceWeights.aestheticScore*this.calculateCombinedAestheticRating(e)},_getEditImportance:function(e){return e.hasEdits()?this.importanceWeights.hasEdits:0},_getRatedFlaggedPenalty:function(e){var t,r,n;return(null!=(n=this.bestPhotosState)?n.excludeRatedFlagged:void 0)?(r=0!==e.getRating(),t="unflagged"!==e.getFlag(),r||t?-1e3:0):0},_isPeopleTagType:function(e){return"people"===e||"people_secondary"===e||"faces"===e},_getAutoTagImportance:function(e){var t,r,n,i,a,o,s,l=arguments.length>1&&void 0!==arguments[1]&&arguments[1];for(i in r=e.getAutoTags(),n=0,a=this.autoTagMaxPercent*this._getAestheticImportance(e),r)t=r[i]*((null!=(o=this.autoTagLookupTable[i])?o.weight:void 0)||0),null!=this.bestPhotosState&&this._isPeopleTagType(null!=(s=this.autoTagLookupTable[i])?s.type:void 0)&&(t*=this.bestPhotosState.peopleMultiplier),n+=t;return Math.min(n,a)*this.importanceWeights.autoTagScore/this._getMaxAutoTagScore(l)*100},autoTagMaxPercent:.3,autoTagWeights:{people:{weight:.005,tags:["person","human","people","couple","friends","man","guy","men","male","father","dad","female","woman","lady","women","mother","mom","boy","son","girl","daughter","adult","kid","baby","child","children","couple","family","teenager","young adult"]},people_adjectives:{weight:.02,tags:["beautiful","beauty","pretty","cute","glamour","sexy","attractive","handsome","fashion"]},people_secondary:{weight:.005,tags:["businesswoman","businessman","businesspeople","bride","groom","manager","executive","engineer","architect","student","waiter","worker","police","doctor","patient","senior","elderly","mature","audience","team","teacher","wife","husband","partner"]},people_actions:{weight:.005,tags:["walking","looking","drinking","handshake","talking","togetherness","social"]},on_people:{weight:.005,tags:["dress","skin"]},emotion:{weight:.005,tags:["happy","cheerful","love","happiness","friendship"]},faces:{weight:.02,tags:["smiling","smile","face","portrait","expression"]},on_faces:{weight:.005,tags:["blond","blonde","brunette","hair","glasses","sunglasses","head"]}},autoTagLookupTable:{},importanceWeights:{flags:{pick:50,reject:-20,unflagged:0},aestheticScore:.3,autoTagScore:.1,aestheticWeights:{balancing:0,blur:0,content:0,dof:0,emphasis:0,harmony:0,lighting:0,repetition:0,rot:0,score:1,symmetry:0,vivid:0},hasEdits:0,rating:[0,5,10,20,40,80],hasTitle:5,hasCaption:5,frameScore:10,faceScore:1,faceScoreOutlierMin:.9,faceScoreOutlier:2,blurScore:1,blur:{desired:.8,desiredIgnoreTags:["landscape"],desiredIgnoreThresholds:[55],undesired:-.2,clear:0,acceptable:0,goodScore:-.2,badScore:0},undesiredBlurCutoff:98},calculateImportanceBreakdown:function(e){var t,r,n,i,a,o,s,l,c,u,p;return p=null!=(s=null!=(l=this.bestPhotosState)?l.senseiOnlyCalculation:void 0)&&s,r=this._calculateBaseImportance(e,p),t=this._getAutoTagImportance(e,p),a=this._getFrameImportance(e),i=this._getFaceImportance(e),n=this._getBlurImportance(e),o=this._getNormalizer(r,t,a,i,n),{total:this.calculateImportance(e,p).toFixed(4),base:"".concat((r/o).toFixed(2)," (").concat(r.toFixed(2),")"),autotags:"".concat((t/o).toFixed(4)," (").concat(t.toFixed(4),")"),frame:"".concat((a/o).toFixed(4)," (").concat(a.toFixed(4),")"),face:"".concat((i/o).toFixed(4)," (").concat(i.toFixed(4),")"),blur:"".concat((n/o).toFixed(4)," (").concat(n.toFixed(4),")"),normalizer:o,flag:"".concat(this._getFlagImportance(e).toFixed(2)),rating:"".concat(this._getRatingImportance(e).toFixed(2)),title:"".concat(this._getTitleImportance(e).toFixed(2)),caption:"".concat(this._getCaptionImportance(e).toFixed(2)),edited:"".concat(this._getEditImportance(e).toFixed(2)),"Frame Raw":e.getBestFrameScore("frame").toFixed(4),"Face Raw":e.getBestFrameScore("face").toFixed(4),"Num Faces":null!=(c=e.getBestFrameScores().numFaces)?c:"null","Oz Score":parseFloat(null!=(u=e.hackBestPhotosOrder)?u:0).toFixed(1)}},calculateBestQualityAsset:function(e,t){var r,n,i,a,o;for(o=-1e4,i=0,a=e.length;i<a;i++){if(!(r=e[i]).hasBestFrameScore(t))return null;r.getBestFrameScore(t)>o&&(o=(n=r).getBestFrameScore(t))}return n},_calculateAutoTagLookupTable:function(){var e,t,r,n,i;for(i in r=[],t=this.autoTagWeights)e=t[i],r.push(function(){var t,r,a,o;for(o=[],t=0,r=(a=e.tags).length;t<r;t++)n=a[t],o.push(this.autoTagLookupTable[n]={weight:e.weight,type:i});return o}.call(this));return r},_getMaxAestheticScore:function(e){return e?this.maxScores.aesthetics.senseiOnly:this.maxScores.aesthetics.allProperties},_getMaxAutoTagScore:function(e){return e?this.maxScores.autoTag.senseiOnly:this.maxScores.autoTag.allProperties},_calculateMaxScores:function(){var e,t,r,n,i;return r=(e=(t=100*(i=this.importanceWeights).aestheticScore)+i.flags.pick+i.hasEdits+i.rating[5]+i.hasTitle+i.hasCaption)*this.autoTagMaxPercent,n=t*this.autoTagMaxPercent,this.maxScores={aesthetics:{senseiOnly:t,allProperties:e},autoTag:{senseiOnly:n,allProperties:r},frame:1,face:1}},setBestPhotosState:function(e){this.bestPhotosState=e}})._calculateAutoTagLookupTable(),n._calculateMaxScores(),a.Z.is_enabled("debug")&&(window.StoryHelper=n);const o=n},386765:(e,t,r)=>{"use strict";r.d(t,{q:()=>n});var n,i,a,o,s,l,c,u=r(85663),p=r(934331),d=r(282466),m=r(89211),h=r(143681),v=r(236229),g=r(668962),f=r(749886),b=r(673136),y=r(548967),_=(r(470373),r(19067),r(573467),r(693508),r(127387),r(35812),r(112957)),w=r(41332);w.Z.is_enabled("automation")?(o=function(e,t){var r;return(r=document.createElement("a")).download=t,r.href=e,document.body.appendChild(r),r.click(),document.body.removeChild(r)},a={},s={},l=function(e){(0,g.Z)(r,e);var t=(0,f.Z)(r);function r(){var e;return(0,m.Z)(this,r),e=t.call(this),(0,d.Z)(e,"forceGridHover",c,(0,v.Z)(e)),e.forceGridHover=w.Z.is_enabled("automation_force_grid_hover"),e}return(0,h.Z)(r,[{key:"metricTriggered",value:function(e){return null==s[e]&&(s[e]=0),s[e]++}}]),r}(_.Z),c=(0,b.Z)(l.prototype,"forceGridHover",[y.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),n=l,window.Automation=n=new n,window.AutomationManager=i={set:function(e,t,r){return a[e]=t,window.Automation[e]=r},remove:function(e){return delete window.Debug[e],delete a[e]}},i.set("scrollGridto","Scroll the current torq grid to (left, top)",(function(e,t){return setTimeout((function(){var r,n,i,a,o;return null!=(null!=(n=window.Automation.controller)&&null!=(i=n.virtualScroll)&&null!=(a=i.scroll)?a.scrollTo:void 0)?window.Automation.controller.virtualScroll.scroll.scrollTo(e,t):null!=(null!=(o=window.Automation.controller.scroll)?o.scrollTo:void 0)&&"function"==typeof(r=window.Automation.controller.scroll).scrollTo?r.scrollTo(e,t):void 0}),300)})),i.set("animateGridto","Animate the current torq grid to (left, top)",(function(e,t){var r,n,i;return null!=(r=window.Automation.controller)&&null!=(n=r.virtualScroll)&&null!=(i=n.scroll)&&"function"==typeof i.animateTo?i.animateTo(e,t):void 0})),i.set("setGridHover","true/false - Force torq grid to hovered state",(function(e){return window.Automation.forceGridHover=e})),i.set("getVisibleGridAssets","idsOnly(=true), includePartiallyVisible(=false) - Get visible grid assets",(function(e,t){var r;return null!=(r=window.Automation.controller)?r.getAssetsInView(e,t):void 0})),i.set("getInviteLinkForEmail","Get the invite link for a share invite on the currently viewed album (email)",(function(e){var t;return null!=(t=window.Automation.controller)?t.automationGetInviteLinkForEmail(e):void 0})),i.set("didMetricTrigger","Check if a metric was triggered. Pass a count if you need to confirm the number of times it fired.",(function(e,t){return null!=s[e]&&(null==t||s[e]===t)})),i.set("clearMetricCache","Clears the cache used to track automation for metrics.",(function(){return s={}})),i.set("downloadRendition","In Loupe view, download the 2048 renditon for the current image",(function(){var e,t,r,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"2048";return null==(e=window.Automation.asset)?console.error("Automation.downloadRendition() will only work in Loupe view"):(r=e.getRenditionHref("2048"),t="image".concat(n,".jpg"),o(r,t),t)})),i.set("getNamedVersionMasks","In Loupe view, get the masks (an object) for a named version at the given index",(function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return null==(e=window.Automation.asset)?console.error("Automation.getNamedVersionMasks() will only work in Loupe view"):e.namedVersions.at(t).getDevelopPixelMasks()})),i.set("deleteAllDiscovers","Delete discovers for the current logged-in author. Will delete all by default, or `numToDelete` if given.",(0,p.Z)((0,u.Z)().mark((function e(){var t,r,n,i,a=arguments;return(0,u.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=a.length>0&&void 0!==a[0]?a[0]:null,null!=(null!=(i=null!=(r=window.Automation.controller)?r.scope.store:void 0)&&null!=(n=i.author)?n.me:void 0)){e.next=4;break}return e.abrupt("return",console.error("Error accessing store"));case 4:return e.next=6,i.author.me.debugDeleteAllDiscovers(t);case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}}),e)})))),i.set("resetProfileEdits","Reset your author profile in Community.",(0,p.Z)((0,u.Z)().mark((function e(){var t,r,n;return(0,u.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=(null!=(n=null!=(t=window.Automation.controller)?t.scope.store:void 0)&&null!=(r=n.author)?r.me:void 0)){e.next=3;break}return e.abrupt("return",console.error("Error accessing store"));case 3:return e.next=5,n.author.me.debugResetAllProfileEdits();case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e)})))),i.set("help","list available commands",(function(){var e,t,r,n;for(t in r="",a)e=a[t],n=Array(22-t.length).join(" "),r+="\n".concat(t,":").concat(n).concat(e);return r}))):(window.Automation=n={},window.AutomationManager=i={set:function(){},remove:function(){}})},975260:(e,t,r)=>{"use strict";r.d(t,{c:()=>n}),r(721141),r(127387),r(35812);var n,i,a,o,s,l=r(772280),c=r(41332),u=r(347458);c.Z.is_enabled("debug")?(o=new l.Z,a={},s={usedLrMobile:{enabled:!1,value:!1},usedLrDesktop:{enabled:!1,value:!1},accountStatus:{enabled:!1,value:"trial"},debugDialogTab:"Account"},window.Debug=n={enabled:!0,overrides:o.get("debug_overrides")||u.Z.extend(!0,{},s),saveOverrides:function(){var e;return(e=new Date).setFullYear(e.getFullYear()+1),o.set("debug_overrides",JSON.stringify(n.overrides),{path:"/",expires:e})},clearOverrides:function(){return n.overrides=u.Z.extend(!0,{},s),o.remove("debug_overrides",{path:"/"})}},n.overrides=u.Z.extend(!0,{},s,n.overrides),window.DebugManager=i={set:function(e,t,r){return a[e]=t,n[e]=r},remove:function(e){return delete n[e],delete a[e]}},i.set("help","list available commands",(function(){var e,t,r,n;for(t in r="",a)e=a[t],n=Array(15-t.length).join(" "),r+="\n".concat(t,":").concat(n).concat(e);return r}))):(window.Debug=n={},window.DebugManager=i={set:function(){},remove:function(){}})},882973:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(41332),i=r(975260);const a={shouldOverrideLrDesktopUsage:function(){return n.Z.is_enabled("debug")&&i.c.overrides.usedLrDesktop.enabled},getLrDesktopUsageOverride:function(){return i.c.overrides.usedLrDesktop.value},setLrDesktopUsageOverride:function(e,t){return i.c.overrides.usedLrDesktop.enabled=e,i.c.overrides.usedLrDesktop.value=t},shouldOverrideLrMobileUsage:function(){return n.Z.is_enabled("debug")&&i.c.overrides.usedLrMobile.enabled},getLrMobileUsageOverride:function(){return i.c.overrides.usedLrMobile.value},setLrMobileUsageOverride:function(e,t){return i.c.overrides.usedLrMobile.enabled=e,i.c.overrides.usedLrMobile.value=t},getDebugDialogTab:function(){return i.c.overrides.debugDialogTab},setDebugDialogTab:function(e){return i.c.overrides.debugDialogTab=e},doRandomFailure:function(e,t){var r;return!(null!=(r=n.Z.is_enabled("debug_random_failures")&&Math.random()<t)&&!r||(console.log("Randomly failing ".concat(e)),0))},setDoFailureFeedDashboard:function(e){return i.c.overrides.failFeedDashboard=e},getDoFailureFeedDashboard:function(){return i.c.overrides.failFeedDashboard}}},163328:(e,t,r)=>{"use strict";r.d(t,{Z:()=>m});var n,i,a=r(89211),o=r(143681),s=r(668962),l=r(749886),c=r(673136),u=r(412333),p=(r(888784),r(587621),r(913688),r(902527)),d=[].indexOf;n=function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(e,n){var i;return(0,a.Z)(this,r),(i=t.call(this)).readyState=e,i.eventName=n,i}return(0,o.Z)(r,[{key:"register",value:function(){var e;return e=document.readyState,d.call(this.readyState,e)>=0?setTimeout(this.run,0):window.addEventListener(this.eventName,this.exec)}},{key:"exec",value:function(){return this.run()}}]),r}(p.Z),(0,c.Z)(n.prototype,"exec",[u.Z],Object.getOwnPropertyDescriptor(n.prototype,"exec"),n.prototype);const m={interactive:new(i=n)(["interactive","complete"],"DOMContentLoaded"),complete:new i(["complete"],"load")}},211062:(e,t,r)=>{"use strict";r.d(t,{Z:()=>M});var n=r(685271),i=r(504397),a=r(282466),o=r(89211),s=r(143681),l=r(236229),c=r(668962),u=r(749886),p=r(673136),d=r(588816),m=r(878537),h=r(54262),v=r(704083),g=(r(35812),r(537188)),f=r.n(g),b=r(165764),y=r.n(b),_=r(774154),w=r.n(_),k=r(811949),Z=r.n(k),x=r(934809),S=r.n(x),$=r(12509),A=r.n($),C=r(316704),T={};T.styleTagTransform=A(),T.setAttributes=Z(),T.insert=w().bind(null,"head"),T.domAPI=y(),T.insertStyleElement=S(),f()(C.Z,T);const P=C.Z&&C.Z.locals?C.Z.locals:void 0;var z,E,O;e=r.hmd(e);var I={make:function(e){return I=n.ZP.make({render:function(e,t){t.div=e.pushTemplateNode(L),e.runBinder(D,N,t,!0),e.runBinder(j,R,t,!0)},dispose:function(e,t){t.div_spread_spread_state=e.updateSpreadAttribute(t.div,null,t,t.div_spread_spread_state),t.div_spread_value=void 0,e.removeSignals(t.div_class_binder,t.div_class_invalidate),e.removeSignals(t.div_spread_binder,t.div_spread_invalidate)},move:function(e,t){e.pushNode(t.div)},reuse:function(e,t){e.runBinder(D,N,t,!1),e.runBinder(j,R,t,!1)},firstChild:function(e,t){return t.div},prepare:function(e){e.attr._class||(e.attr._class=e.ensureAttr("class"))}}),I.make(e)}};function R(e,t,r,n,i,a){t.div_spread_binder=r,t.div_spread_invalidate=n;var o=t.div_spread_value;(a||o!==i)&&(t.div_spread_value=i,t.div_spread_spread_state=e.updateSpreadAttribute(t.div,i,t,t.div_spread_spread_state))}function j(e){return e.$_scope._this.undeclaredAttributes()}function N(e,t,r,n,i,a){t.div_class_binder=r,t.div_class_invalidate=n;var o=t.div_class_value;(a||o!==i)&&(t.div_class_value=i,t.div_class_state=e.attr._class(t.div,"class",i,t.div_class_state))}function D(e){return"".concat(P.loading_throbber," ").concat(e.$_scope._this.size)}var L=(0,i.z)((function(e){var t=e.makeNode("div"),r=e.makeNode("div");e.attr._class(r,"class","dot"),e.appendNode(t,r);var n=e.makeNode("div");e.attr._class(n,"class","dot"),e.appendNode(t,n);var i=e.makeNode("div");return e.attr._class(i,"class","dot"),e.appendNode(t,i),t}));const M=(0,d.Z)((0,h.Z)("LoadingThrobber"),e,"LoadingThrobber")((E=function(e){(0,c.Z)(r,e);var t=(0,u.Z)(r);function r(){var e;(0,o.Z)(this,r);for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return e=t.call.apply(t,[this].concat(i)),(0,a.Z)(e,"size",O,(0,l.Z)(e)),e}return(0,s.Z)(r,[{key:"render",value:function(){return{template:I,_this:this}}}]),r}(m.Z),O=(0,p.Z)(E.prototype,"size",[v.Z],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return"normal"}}),z=E))||z},592423:(e,t,r)=>{let n;if(document.currentScript)n=document.currentScript.src;else{const e=document.getElementsByTagName("script");n=e[e.length-1].src}r.p=new URL(n).origin+r.p},330918:e=>{e.exports=["essentials","show_failed_discover_publish","access_platform_v3","discover_onboarding_minimal","prevent_privacy_cleanup","edit_luminance_masking","masking_duplicate_and_invert","masking_delete_all","masking_add_subtract","academy-pips-alignment","news_update","sushi_1","develop_healing_early_access","news_auto","recently_added","sort-discover-following","develop_ingest_variables","geometry_in_crop","sushi_2","figment","hindi","lens_blur","lens_blur_update_histogram_on_focus","cuttlefish","masking_error_buttons","hdr_renditions","hdr_edit_in_sdr","develop_hdr_unavailable","develop_histogram","news_multiple","point_color_overlay_tweak","academy_new_badge","develop_histogram_only_adjust","hdr_learn_more_link","develop_no_title","develop_retouch_recompute","lens_blur_playback","map_interactive","point_color_playback"]},882660:e=>{e.exports={hostnames:{"lightroom.adobe.com":{client_id:"LightroomMobileWeb1"},"dev.adobelr.com":{client_id:"LightroomMobileWeb1",env:"stg1"},default:{client_id:"LightroomMobileWeb1",env:"stg1"}},scope:"AdobeID,openid,gnav,creative_sdk,creative_cloud,additional_info.roles,portfolio.sdk.accounts,portfolio.sdk.import"}},5081:e=>{e.exports={"lightroom-production":{name:"prod",host:"adobesearch.adobe.io",unwanted_host:"uss-lr-organize.adobe.io",unwanted_app_token:"8494d9d7-11a2-48de-b0cc-f928d4ddb13f",host_fac:"adobesearch.adobe.io",host_lr:"adobesearch-lr.adobe.io",api_key:"LrWebUssService"},"lightroom-stage":{name:"stage",host:"adobesearch-stage.adobe.io",unwanted_host:"uss-lr-organize-stage.adobe.io",unwanted_app_token:"6ac45059-41a0-4fda-869b-14051fd7c71c",host_fac:"adobesearch-fac-stage.adobe.io",host_lr:"adobesearch-lr-stage.adobe.io",api_key:"LrWebUssService"}}},435007:e=>{e.exports={pageNames:{"abuse-report":"abuse-report",academy:"academy",insights:"insights",author:"author",debug:"debug","community-blocking":"community-blocking","community-featured-edits":"community-featured-edits","community-guidelines":"community-guidelines",discover:"discover",downloader:"downloader",gallery:"gallery",home:"home",homepage:"Landing",landing:"Landing",learn:"learn",libraries:"libraries",news:"news",share:"share","try-edit":"try-edit",tv:"tv",unauthorized:"unauthorized",unsupported:"unsupported",unknown:"unknown","update-lightroom":"update-lightroom"}}},956508:e=>{e.exports={supported:["cs-CZ","da-DK","de-DE","en-GB","en-US","es-ES","es-MX","fi-FI","fr-CA","fr-FR","hi-IN","hu-HU","id-ID","it-IT","ja-JP","ko-KR","nb-NO","nl-NL","pl-PL","pt-BR","ru-RU","sv-SE","th-TH","tr-TR","uk-UA","vi-VN","zh-CN","zh-TW"],display_names:{"en-US":"English, US","en-GB":"English, UK","ja-JP":"日本語","zh-CN":"简体中文","zh-TW":"繁體中文","de-DE":"Deutsch","pt-BR":"Português, Brasil","es-ES":"Español, España","es-MX":"Español, México","fr-CA":"Français, Canada","fr-FR":"Français, France","id-ID":"Bahasa Indonesia","it-IT":"Italiano","ko-KR":"한국어","ru-RU":"Русский","nl-NL":"Nederlands","sv-SE":"Svenska","th-TH":"ภาษาไทย","uk-UA":"Українська","hi-IN":"हिन्दी","hu-HU":"Magyar","cs-CZ":"Čeština","da-DK":"Dansk","fi-FI":"Suomi","nb-NO":"Norsk","pl-PL":"Polski","tr-TR":"Türkçe","vi-VN":"Tiếng Việt","zz-ZZ":"Mock Test"},urls:{ad_choices_url:"https://www.adobe.com/${adobecom_country_fragment}privacy/opt-out.html#interest-based-ads",privacy_url:"http://www.adobe.com/${adobecom_country_fragment}privacy.html",terms_url:"http://www.adobe.com/${adobecom_country_fragment}legal/general-terms.html",privacy_url_for_shares:"http://www.adobe.com/${adobecom_country_fragment}privacy/policy-linkfree.html",terms_url_for_shares:"http://www.adobe.com/${adobecom_country_fragment}legal/general-terms.html",support_url:"https://helpx.adobe.com/${adobecom_country_fragment}lightroom-cc.html",cpra_personal_info_url:"https://www.adobe.com/privacy/us-rights.html",bonanza_feedback_url:"https://helpx.adobe.com/${adobecom_country_fragment}lightroom-cc/using/in-app-feedback-program.html",signup_url:{locales:{"zh-CN":"https://www.adobe.com/creativecloud/photography.html",default:"https://www.adobe.com/${adobecom_country_fragment}creativecloud/photography.html"}},renew_url:"https://account.adobe.com?promoid=2SLRC4PQ&mv=other",renew_stage_url:"https://stage.account.adobe.com?promoid=2SLRC4PQ&mv=other",subscribe_url:"https://www.adobe.com/${adobecom_country_fragment}creativecloud/photography/compare-plans.html?promoid=2NVQC8FR&mv=other",upgrade_storage_url:"http://www.adobe.com/go/lrcc_upgrade",hdr_blog_max23_url:"http://www.adobe.com/go/hdr_explained",stage_account_url:"https://stage.account.adobe.com",download_lightroom_url:"https://creative.adobe.com/products/download/lightroom?locale=${locale}",welcome_download_lightroom_url:"https://creative.adobe.com/products/download/lightroom?sdid=5F1G8NTM&mv=other&locale=${locale}",welcome_to_lightroom_try_for_free_url:"https://creative.adobe.com/products/download/lightroom?promoid=Z2G1FY7X&mv=other&locale=${locale}",pricing_url:"https://www.adobe.com/${adobecom_country_fragment}creativecloud/photography/compare-plans.html?promoid=XFWLHGM1&mv=other&locale=${locale}",pricing_a_url:"https://www.adobe.com/${adobecom_country_fragment}creativecloud/photography/compare-plans.html?promoid=D4P81RPV&mv=other&locale=${locale}",pricing_b_url:"https://www.adobe.com/${adobecom_country_fragment}creativecloud/photography/compare-plans.html?promoid=DZTGZWKM&mv=other&locale=${locale}",pricing_c_url:"https://www.adobe.com/${adobecom_country_fragment}creativecloud/photography/compare-plans.html?promoid=DW3G119N&mv=other&locale=${locale}",plans_url:"https://www.adobe.com/${adobecom_country_fragment}products/photoshop-lightroom/compare-plans.html?promoid=VKW3KGR6&mv=other",plans_a_url:"https://www.adobe.com/${adobecom_country_fragment}products/photoshop-lightroom/compare-plans.html?promoid=FR7NZ55F&mv=other&locale=${locale}",plans_b_url:"https://www.adobe.com/${adobecom_country_fragment}products/photoshop-lightroom/compare-plans.html?promoid=DRCF151P&mv=other&locale=${locale}",plans_c_url:"https://www.adobe.com/${adobecom_country_fragment}products/photoshop-lightroom/compare-plans.html?promoid=FHRLZDMH&mv=other&locale=${locale}",trial_url:"https://www.adobe.com/${adobecom_country_fragment}products/photoshop-lightroom/compare-plans.html?promoid=X2PHHV1S&mv=other",trial_a_url:"https://www.adobe.com/${adobecom_country_fragment}products/photoshop-lightroom/compare-plans.html?promoid=D8F91MYT&mv=other&locale=${locale}",trial_b_url:"https://www.adobe.com/${adobecom_country_fragment}products/photoshop-lightroom/compare-plans.html?promoid=DD5B1J7S&mv=other&locale=${locale}",trial_c_url:"https://www.adobe.com/${adobecom_country_fragment}products/photoshop-lightroom/compare-plans.html?promoid=DMMD18RQ&mv=other&locale=${locale}",trial_header_url:"https://www.adobe.com/${adobecom_country_fragment}products/photoshop-lightroom/compare-plans.html?promoid=F89JZN3K&mv=other&locale=${locale}",trial_header_a_url:"https://www.adobe.com/${adobecom_country_fragment}products/photoshop-lightroom/compare-plans.html?promoid=FVYPZ1FD&mv=other&locale=${locale}",trial_header_b_url:"https://www.adobe.com/${adobecom_country_fragment}products/photoshop-lightroom/compare-plans.html?promoid=FZPQYWPC&mv=other&locale=${locale}",trial_header_c_url:"https://www.adobe.com/${adobecom_country_fragment}products/photoshop-lightroom/compare-plans.html?promoid=G4FRYRYB&mv=other&locale=${locale}",buy_url:"https://www.adobe.com/${adobecom_country_fragment}creativecloud/photography/compare-plans.html?promoid=F4KHZRTL&mv=other&locale=${locale}",buy_a_url:"https://www.adobe.com/${adobecom_country_fragment}creativecloud/photography/compare-plans.html?promoid=CZY71WFW&mv=other&locale=${locale}",buy_b_url:"https://www.adobe.com/${adobecom_country_fragment}creativecloud/photography/compare-plans.html?promoid=FD1KZJCJ&mv=other&locale=${locale}",buy_c_url:"https://www.adobe.com/${adobecom_country_fragment}creativecloud/photography/compare-plans.html?promoid=FMHMZ8WG&mv=other&locale=${locale}",lrmobile_branch_url:"https://lightroom.app.link/friy7F70Xcb",lrmobile_branch_a_url:"https://lightroom.app.link/Pc0Kq9aDypb",lrmobile_branch_b_url:"https://lightroom.app.link/qAVbnBrDypb",lrmobile_branch_c_url:"https://lightroom.app.link/AAZFytvDypb",lrmobile_branch_qrcode_url:"https://lightroom.app.link/TSsswqZnQxb",retired_trial_6_url:"https://www.adobe.com/${adobecom_country_fragment}products/photoshop-lightroom/compare-plans.html?promoid=LLVYT9J4&mv=other&locale=${locale}",retired_trial_7_url:"https://www.adobe.com/${adobecom_country_fragment}products/photoshop-lightroom/compare-plans.html?promoid=LVC1T222&mv=other&locale=${locale}",retired_buy_1_url:"https://www.adobe.com/${adobecom_country_fragment}creativecloud/photography/compare-plans.html?promoid=DHWC1DHR&mv=other&locale=${locale}",ccp_help_url:"https://helpx.adobe.com/${adobecom_country_fragment}lightroom/how-to/get-started-photography.html",learn_more_url:"http://www.adobe.com/${adobecom_country_fragment}products/lightroom-mobile.html",lrmobile_iphone_url:"https://itunes.apple.com/${country_code_downcase}/app/adobe-lightroom/id878783582?ls=1&mt=8",lrmobile_ipad_url:"https://itunes.apple.com/${country_code_downcase}/app/adobe-lightroom/id804177739?ls=1&mt=8",lrmobile_android_url:"https://play.google.com/store/apps/details?id=com.adobe.lrmobile",photoshop_url:"https://www.adobe.com/${adobecom_country_fragment}products/photoshop.html",support_file_sync_url:"https://helpx.adobe.com/${adobecom_country_fragment}lightroom/kb/sync-different-lightroom-desktop-catalog-with-mobile.html",support_fileformats_url:"https://helpx.adobe.com/${adobecom_country_fragment}lightroom/help/supported-file-formats.html",lr_support_fileformats_url:"https://helpx.adobe.com/${adobecom_country_fragment}lightroom/help/supported-file-formats.html"},adobecom_language_codes:{"bg-BG":"bg","cs-CZ":"cz","da-DK":"dk","de-AT":"at","de-CH":"ch_de","de-DE":"de","de-LU":"lu_de","en-AU":"au","en-BE":"be_en","en-CA":"ca","en-CY":"cy_en","en-GB":"uk","en-GR":"gr_en","en-HK":"hk_en","en-IE":"ie","en-IL":"il_en","en-IN":"in","en-LU":"lu_en","en-MT":"mt","en-NZ":"nz","en-sea":"sea","en-UK":"uk","en-US":null,"es-ES":"es","es-LA":"la","es-MX":"mx","et-EE":"ee","fi-FI":"fi","fr-BE":"be_fr","fr-CA":"ca_fr","fr-CH":"ch_fr","fr-FR":"fr","fr-LU":"lu_fr","he-IL":"il_he","hi-IN":"in_hi","hu-HU":"hu","it-CH":"ch_it","id-ID":"sea","it-IT":"it","ja-JP":"jp","ko-KR":"kr","lt-LT":"lt","lv-LV":"lv","nb-NO":"no","nl-BE":"be_nl","nl-NL":"nl","pl-PL":"pl","pt-BR":"br","pt-PT":"pt","ro-RO":"ro","ru-RU":"ru","sk-SK":"sk","sl-SI":"si","sv-SE":"se","th-TH":"sea","tr-TR":"tr","uk-UA":"ua","vi-VN":"sea","zh-CN":"cn","zh-HK":"hk_zh","zh-TW":"tw","zz-ZZ":null}}},666222:(e,t)=>{t.r=function(){return function(e){for(var t=0,r=0,n=0,i=1,a=[],o=0,s=function(){var e=4022871197,t=function(t){t=t.toString();for(var r=0;r<t.length;r++){var n=.02519603282416938*(e+=t.charCodeAt(r));n-=e=n>>>0,e=(n*=e)>>>0,e+=4294967296*(n-=e)}return 2.3283064365386963e-10*(e>>>0)};return t.version="Mash 0.9",t}(),l=(t=s(" "),r=s(" "),n=s(" "),0);l<8;l++)a[l]=s(" ");0==e.length&&(e=[+new Date]);for(var c=0;c<e.length;c++)for((t-=s(e[c]))<0&&(t+=1),(r-=s(e[c]))<0&&(r+=1),(n-=s(e[c]))<0&&(n+=1),l=0;l<8;l++)a[l]-=s(e[c]),a[l]<0&&(a[l]+=1);var u=function(){o=8*a[o]|0;var e=a[o],s=2091639*t+2.3283064365386963e-10*i;return t=r,r=n,n=s-(i=0|s),a[o]-=n,a[o]<0&&(a[o]+=1),e};return u.uint32=function(){return 4294967296*u()},u.fract53=function(){return u()+11102230246251565e-32*(2097152*u()|0)},u.addNoise=function(){for(var e=arguments.length-1;e>=0;e--)for(l=0;l<8;l++)a[l]-=s(arguments[e]),a[l]<0&&(a[l]+=1)},u.version="Kybos 0.9",u.args=e,u}(Array.prototype.slice.call(arguments))}},891218:function(){function e(e){this.size=0,this.limit=e,this._keymap={}}e.prototype.put=function(e,t){var r={key:e,value:t};if(this._keymap[e]=r,this.tail?(this.tail.newer=r,r.older=this.tail):this.head=r,this.tail=r,this.size===this.limit)return item=this.shift(),item.value&&item.value.dispose&&item.value.dispose(),item;this.size++},e.prototype.shift=function(){var e=this.head;return e&&(this.head.newer?(this.head=this.head.newer,this.head.older=void 0):this.head=void 0,e.newer=e.older=void 0,delete this._keymap[e.key]),e},e.prototype.get=function(e,t){var r=this._keymap[e];if(void 0!==r)return r===this.tail||(r.newer&&(r===this.head&&(this.head=r.newer),r.newer.older=r.older),r.older&&(r.older.newer=r.newer),r.newer=void 0,r.older=this.tail,this.tail&&(this.tail.newer=r),this.tail=r),t?r:r.value},e.prototype.find=function(e){return this._keymap[e]},e.prototype.set=function(e,t){var r,n=this.get(e,!0);return n?(r=n.value,n.value=t):(r=this.put(e,t))&&(r=r.value),r},e.prototype.remove=function(e){var t=this._keymap[e];if(t)return delete this._keymap[t.key],t.newer&&t.older?(t.older.newer=t.newer,t.newer.older=t.older):t.newer?(t.newer.older=void 0,this.head=t.newer):t.older?(t.older.newer=void 0,this.tail=t.older):this.head=this.tail=void 0,this.size--,t.value},e.prototype.removeAll=function(){this.head=this.tail=void 0,this.size=0,this._keymap={}},"function"==typeof Object.keys?e.prototype.keys=function(){return Object.keys(this._keymap)}:e.prototype.keys=function(){var e=[];for(var t in this._keymap)e.push(t);return e},e.prototype.forEach=function(e,t,r){var n;if(!0===t?(r=!0,t=void 0):"object"!=typeof t&&(t=this),r)for(n=this.tail;n;)e.call(t,n.key,n.value,this),n=n.older;else for(n=this.head;n;)e.call(t,n.key,n.value,this),n=n.newer},e.prototype.toJSON=function(){for(var e=[],t=this.head;t;)e.push({key:t.key.toJSON(),value:t.value.toJSON()}),t=t.newer;return e},e.prototype.toString=function(){for(var e="",t=this.head;t;)e+=String(t.key)+":"+t.value,(t=t.newer)&&(e+=" < ");return e},"object"==typeof this&&(this.LRUCache=e)},212699:e=>{"use strict";e.exports="data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%224%22%20height%3D%227%22%3E%3Cpath%20style%3D%22fill%3A%23767676%22%20d%3D%22M4%203.5a.498.498%200%200%200-.147-.354l-3-3a.5.5%200%201%200-.707.708L2.793%203.5.147%206.146a.5.5%200%201%200%20.707.707l3-3A.498.498%200%200%200%204%203.5Z%22%2F%3E%3C%2Fsvg%3E"},683813:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},616264:(e,t,r)=>{var n=r(683813);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.__esModule=!0,e.exports.default=e.exports},833982:e=>{e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},614757:e=>{e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},733951:(e,t,r)=>{var n=r(616264),i=r(833982),a=r(157947),o=r(614757);e.exports=function(e){return n(e)||i(e)||a(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},37225:e=>{function t(r){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},157947:(e,t,r)=>{var n=r(683813);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},623172:(e,t,r)=>{"use strict";r.d(t,{FV:()=>s,ec:()=>d,i1:()=>m,iv:()=>p});var n=r(846031),i=r(89211),a=r(143681),o=(r(587621),r(322511),r(542543),r(573467),r(816221),r(290671),r(659153),r(17938),r(936963),r(923304),r(64209),r(819785),r(508460),window),s=o.ShadowRoot&&(void 0===o.ShadyCSS||o.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,l=Symbol(),c=new WeakMap,u=function(){function e(t,r,n){if((0,i.Z)(this,e),this._$cssResult$=!0,n!==l)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}return(0,a.Z)(e,[{key:"styleSheet",get:function(){var e=this.o,t=this.t;if(s&&void 0===e){var r=void 0!==t&&1===t.length;r&&(e=c.get(t)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&c.set(t,e))}return e}},{key:"toString",value:function(){return this.cssText}}]),e}(),p=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=1===e.length?e[0]:r.reduce((function(t,r,n){return t+function(e){if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")}(r)+e[n+1]}),e[0]);return new u(i,e,l)},d=function(e,t){s?e.adoptedStyleSheets=t.map((function(e){return e instanceof CSSStyleSheet?e:e.styleSheet})):t.forEach((function(t){var r=document.createElement("style"),n=o.litNonce;void 0!==n&&r.setAttribute("nonce",n),r.textContent=t.cssText,e.appendChild(r)}))},m=s?function(e){return e}:function(e){return e instanceof CSSStyleSheet?function(e){var t,r="",i=(0,n.Z)(e.cssRules);try{for(i.s();!(t=i.n()).done;)r+=t.value.cssText}catch(e){i.e(e)}finally{i.f()}return function(e){return new u("string"==typeof e?e:e+"",void 0,l)}(r)}(e):e}},932039:(e,t,r)=>{"use strict";r.d(t,{eZ:()=>i});var n=r(829293),i=(r(378702),function(e){var t=e.finisher,r=e.descriptor;return function(e,i){var a;if(void 0===i){var o=null!==(a=e.originalKey)&&void 0!==a?a:e.key,s=null!=r?{kind:"method",placement:"prototype",key:o,descriptor:r(e.key)}:(0,n.Z)((0,n.Z)({},e),{},{key:o});return null!=t&&(s.finisher=function(e){t(e,o)}),s}var l=e.constructor;void 0!==r&&Object.defineProperty(e,i,r(i)),null==t||t(l,i)}})},221075:(e,t,r)=>{"use strict";r(367469),r(932039)},61739:(e,t,r)=>{"use strict";r.d(t,{C:()=>i});var n=r(829293);function i(e){return function(t,r){return void 0!==r?function(e,t,r){t.constructor.createProperty(r,e)}(e,t,r):function(e,t){return"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?(0,n.Z)((0,n.Z)({},t),{},{finisher:function(r){r.createProperty(t.key,e)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer:function(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher:function(r){r.createProperty(t.key,e)}}}(e,t)}}r(322511),r(542543),r(573467)},845191:(e,t,r)=>{"use strict";r(932039)},705432:(e,t,r)=>{"use strict";var n;r(824098),r(573467),r(932039),null===(n=window.HTMLSlotElement)||void 0===n||n.prototype.assignedElements},314721:(e,t,r)=>{"use strict";r(932039),r(705432)},789708:(e,t,r)=>{"use strict";r(573467),r(693508),r(932039)},466735:(e,t,r)=>{"use strict";r.d(t,{I:()=>a});var n=r(127658),i=(r(322511),r(542543),r(573467),r(932039));function a(e,t){return(0,i.eZ)({descriptor:function(r){var i={get:function(){var t,r;return null!==(r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e))&&void 0!==r?r:null},enumerable:!0,configurable:!0};if(t){var a="symbol"==(0,n.Z)(r)?Symbol():"__"+r;i.get=function(){var t,r;return void 0===this[a]&&(this[a]=null!==(r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e))&&void 0!==r?r:null),this[a]}}return i}})}},171155:(e,t,r)=>{"use strict";r(61739)},855977:(e,t,r)=>{"use strict";r.d(t,{FV:()=>h.FV,Ts:()=>y,fl:()=>k,iv:()=>h.iv});var n,i=r(846031),a=r(278387),o=r(127658),s=r(85663),l=r(934331),c=r(89211),u=r(143681),p=r(668962),d=r(749886),m=r(550833),h=(r(721141),r(817148),r(816221),r(321500),r(573467),r(290671),r(17938),r(693508),r(508460),r(973774),r(888784),r(322511),r(542543),r(378702),r(362499),r(35812),r(4085),r(485143),r(718080),r(275997),r(196499),r(623172)),v=window,g=v.trustedTypes,f=g?g.emptyScript:"",b=v.reactiveElementPolyfillSupport,y={toAttribute:function(e,t){switch(t){case Boolean:e=e?f:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute:function(e,t){var r=e;switch(t){case Boolean:r=null!==e;break;case Number:r=null===e?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch(e){r=null}}return r}},_=function(e,t){return t!==e&&(t==t||e==e)},w={attribute:!0,type:String,converter:y,reflect:!1,hasChanged:_},k=function(e){(0,p.Z)(n,e);var t,r=(0,d.Z)(n);function n(){var e;return(0,c.Z)(this,n),(e=r.call(this))._$Ei=new Map,e.isUpdatePending=!1,e.hasUpdated=!1,e._$El=null,e.u(),e}return(0,u.Z)(n,[{key:"u",value:function(){var e,t=this;this._$E_=new Promise((function(e){return t.enableUpdating=e})),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(e=this.constructor.h)||void 0===e||e.forEach((function(e){return e(t)}))}},{key:"addController",value:function(e){var t,r;(null!==(t=this._$ES)&&void 0!==t?t:this._$ES=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&(null===(r=e.hostConnected)||void 0===r||r.call(e))}},{key:"removeController",value:function(e){var t;null===(t=this._$ES)||void 0===t||t.splice(this._$ES.indexOf(e)>>>0,1)}},{key:"_$Eg",value:function(){var e=this;this.constructor.elementProperties.forEach((function(t,r){e.hasOwnProperty(r)&&(e._$Ei.set(r,e[r]),delete e[r])}))}},{key:"createRenderRoot",value:function(){var e,t=null!==(e=this.shadowRoot)&&void 0!==e?e:this.attachShadow(this.constructor.shadowRootOptions);return(0,h.ec)(t,this.constructor.elementStyles),t}},{key:"connectedCallback",value:function(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$ES)||void 0===e||e.forEach((function(e){var t;return null===(t=e.hostConnected)||void 0===t?void 0:t.call(e)}))}},{key:"enableUpdating",value:function(e){}},{key:"disconnectedCallback",value:function(){var e;null===(e=this._$ES)||void 0===e||e.forEach((function(e){var t;return null===(t=e.hostDisconnected)||void 0===t?void 0:t.call(e)}))}},{key:"attributeChangedCallback",value:function(e,t,r){this._$AK(e,r)}},{key:"_$EO",value:function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:w,i=this.constructor._$Ep(e,n);if(void 0!==i&&!0===n.reflect){var a=(void 0!==(null===(r=n.converter)||void 0===r?void 0:r.toAttribute)?n.converter:y).toAttribute(t,n.type);this._$El=e,null==a?this.removeAttribute(i):this.setAttribute(i,a),this._$El=null}}},{key:"_$AK",value:function(e,t){var r,n=this.constructor,i=n._$Ev.get(e);if(void 0!==i&&this._$El!==i){var a=n.getPropertyOptions(i),o="function"==typeof a.converter?{fromAttribute:a.converter}:void 0!==(null===(r=a.converter)||void 0===r?void 0:r.fromAttribute)?a.converter:y;this._$El=i,this[i]=o.fromAttribute(t,a.type),this._$El=null}}},{key:"requestUpdate",value:function(e,t,r){var n=!0;void 0!==e&&(((r=r||this.constructor.getPropertyOptions(e)).hasChanged||_)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===r.reflect&&this._$El!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,r))):n=!1),!this.isUpdatePending&&n&&(this._$E_=this._$Ej())}},{key:"_$Ej",value:(t=(0,l.Z)((0,s.Z)().mark((function e(){var t;return(0,s.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.isUpdatePending=!0,e.prev=1,e.next=4,this._$E_;case 4:e.next=9;break;case 6:e.prev=6,e.t0=e.catch(1),Promise.reject(e.t0);case 9:if(t=this.scheduleUpdate(),e.t1=null!=t,!e.t1){e.next=14;break}return e.next=14,t;case 14:return e.abrupt("return",!this.isUpdatePending);case 15:case"end":return e.stop()}}),e,this,[[1,6]])}))),function(){return t.apply(this,arguments)})},{key:"scheduleUpdate",value:function(){return this.performUpdate()}},{key:"performUpdate",value:function(){var e,t=this;if(this.isUpdatePending){this.hasUpdated,this._$Ei&&(this._$Ei.forEach((function(e,r){return t[r]=e})),this._$Ei=void 0);var r=!1,n=this._$AL;try{(r=this.shouldUpdate(n))?(this.willUpdate(n),null===(e=this._$ES)||void 0===e||e.forEach((function(e){var t;return null===(t=e.hostUpdate)||void 0===t?void 0:t.call(e)})),this.update(n)):this._$Ek()}catch(e){throw r=!1,this._$Ek(),e}r&&this._$AE(n)}}},{key:"willUpdate",value:function(e){}},{key:"_$AE",value:function(e){var t;null===(t=this._$ES)||void 0===t||t.forEach((function(e){var t;return null===(t=e.hostUpdated)||void 0===t?void 0:t.call(e)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}},{key:"_$Ek",value:function(){this._$AL=new Map,this.isUpdatePending=!1}},{key:"updateComplete",get:function(){return this.getUpdateComplete()}},{key:"getUpdateComplete",value:function(){return this._$E_}},{key:"shouldUpdate",value:function(e){return!0}},{key:"update",value:function(e){var t=this;void 0!==this._$EC&&(this._$EC.forEach((function(e,r){return t._$EO(r,t[r],e)})),this._$EC=void 0),this._$Ek()}},{key:"updated",value:function(e){}},{key:"firstUpdated",value:function(e){}}],[{key:"addInitializer",value:function(e){var t;this.finalize(),(null!==(t=this.h)&&void 0!==t?t:this.h=[]).push(e)}},{key:"observedAttributes",get:function(){var e=this;this.finalize();var t=[];return this.elementProperties.forEach((function(r,n){var i=e._$Ep(n,r);void 0!==i&&(e._$Ev.set(i,n),t.push(i))})),t}},{key:"createProperty",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:w;if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){var r="symbol"==(0,o.Z)(e)?Symbol():"__"+e,n=this.getPropertyDescriptor(e,r,t);void 0!==n&&Object.defineProperty(this.prototype,e,n)}}},{key:"getPropertyDescriptor",value:function(e,t,r){return{get:function(){return this[t]},set:function(n){var i=this[e];this[t]=n,this.requestUpdate(e,i,r)},configurable:!0,enumerable:!0}}},{key:"getPropertyOptions",value:function(e){return this.elementProperties.get(e)||w}},{key:"finalize",value:function(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;var e=Object.getPrototypeOf(this);if(e.finalize(),void 0!==e.h&&(this.h=(0,a.Z)(e.h)),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){var t,r=this.properties,n=[].concat((0,a.Z)(Object.getOwnPropertyNames(r)),(0,a.Z)(Object.getOwnPropertySymbols(r))),o=(0,i.Z)(n);try{for(o.s();!(t=o.n()).done;){var s=t.value;this.createProperty(s,r[s])}}catch(e){o.e(e)}finally{o.f()}}return this.elementStyles=this.finalizeStyles(this.styles),!0}},{key:"finalizeStyles",value:function(e){var t=[];if(Array.isArray(e)){var r,n=new Set(e.flat(1/0).reverse()),a=(0,i.Z)(n);try{for(a.s();!(r=a.n()).done;){var o=r.value;t.unshift((0,h.i1)(o))}}catch(e){a.e(e)}finally{a.f()}}else void 0!==e&&t.push((0,h.i1)(e));return t}},{key:"_$Ep",value:function(e,t){var r=t.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof e?e.toLowerCase():void 0}}]),n}((0,m.Z)(HTMLElement));k.finalized=!0,k.elementProperties=new Map,k.elementStyles=[],k.shadowRootOptions={mode:"open"},null==b||b({ReactiveElement:k}),(null!==(n=v.reactiveElementVersions)&&void 0!==n?n:v.reactiveElementVersions=[]).push("1.6.1")},657357:(e,t,r)=>{"use strict";r.d(t,{o:()=>m});var n=r(89211),i=r(143681),a=r(736781),o=r(993184),s=r(668962),l=r(749886),c=(r(816221),r(573467),r(485143),r(290671),r(17938),r(508460),r(587621),r(468316),r(61018)),u=new Set,p=new MutationObserver((function(){var e="rtl"===document.documentElement.dir?document.documentElement.dir:"ltr";u.forEach((function(t){t.setAttribute("dir",e)}))}));p.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});var d=function(e){return void 0!==e.startManagingContentDirection||"SP-THEME"===e.tagName},m=function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(){return(0,n.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r)}(function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(){return(0,n.Z)(this,r),t.apply(this,arguments)}return(0,i.Z)(r,[{key:"isLTR",get:function(){return"ltr"===this.dir}},{key:"hasVisibleFocusInTree",value:function(){var e=this.getRootNode().activeElement;if(!e)return!1;try{return e.matches(":focus-visible")||e.matches(".focus-visible")}catch(t){return e.matches(".focus-visible")}}},{key:"connectedCallback",value:function(){var e=this;if(!this.hasAttribute("dir")){for(var t=this.assignedSlot||this.parentNode;t!==document.documentElement&&!d(t);)t=t.assignedSlot||t.parentNode||t.host;if(this.dir="rtl"===t.dir?t.dir:this.dir||"ltr",t===document.documentElement)u.add(this);else{var n=t.localName;n.search("-")>-1&&!customElements.get(n)?customElements.whenDefined(n).then((function(){t.startManagingContentDirection(e)})):t.startManagingContentDirection(this)}this._dirParent=t}(0,a.Z)((0,o.Z)(r.prototype),"connectedCallback",this).call(this)}},{key:"disconnectedCallback",value:function(){(0,a.Z)((0,o.Z)(r.prototype),"disconnectedCallback",this).call(this),this._dirParent&&(this._dirParent===document.documentElement?u.delete(this):this._dirParent.stopManagingContentDirection(this),this.removeAttribute("dir"))}}]),r}(c.oi))},890489:(e,t,r)=>{"use strict";function n(e,t){window.__swc,customElements.define(e,t)}r.d(t,{N:()=>n})},927948:(e,t,r)=>{"use strict";r.d(t,{A:()=>g});var n,i=r(488925),a=r(89211),o=r(143681),s=r(668962),l=r(749886),c=(r(378702),r(913688),r(61018)),u=r(657357),p=r(741239),d=r(399891),m=Object.defineProperty,h=Object.getOwnPropertyDescriptor,v=function(e,t,r,n){for(var i,a=n>1?void 0:n?h(t,r):t,o=e.length-1;o>=0;o--)(i=e[o])&&(a=(n?i(t,r,a):i(a))||a);return n&&a&&m(t,r,a),a},g=function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(){return(0,a.Z)(this,r),t.apply(this,arguments)}return(0,o.Z)(r,[{key:"render",value:function(){return(0,c.dy)(n||(n=(0,i.Z)(["\n            <slot></slot>\n        "])))}}],[{key:"styles",get:function(){return[d.Z]}}]),r}(u.o);v([(0,p.Cb)()],g.prototype,"label",2),v([(0,p.Cb)({reflect:!0})],g.prototype,"size",2)},399891:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n,i=r(488925);const a=(0,r(61018).iv)(n||(n=(0,i.Z)(["\n:host{fill:currentColor;color:inherit;display:inline-block;pointer-events:none}:host(:not(:root)){overflow:hidden}@media (forced-colors:active){:host{forced-color-adjust:auto}}:host{--spectrum-icon-size-s:var(\n--spectrum-alias-workflow-icon-size-s,var(--spectrum-global-dimension-size-200)\n);--spectrum-icon-size-m:var(\n--spectrum-alias-workflow-icon-size-m,var(--spectrum-global-dimension-size-225)\n);--spectrum-icon-size-l:var(--spectrum-alias-workflow-icon-size-l);--spectrum-icon-size-xl:var(\n--spectrum-alias-workflow-icon-size-xl,var(--spectrum-global-dimension-size-275)\n);--spectrum-icon-size-xxl:var(--spectrum-global-dimension-size-400)}:host([size=s]){height:var(--spectrum-icon-size-s);width:var(--spectrum-icon-size-s)}:host([size=m]){height:var(--spectrum-icon-size-m);width:var(--spectrum-icon-size-m)}:host([size=l]){height:var(--spectrum-icon-size-l);width:var(--spectrum-icon-size-l)}:host([size=xl]){height:var(--spectrum-icon-size-xl);width:var(--spectrum-icon-size-xl)}:host([size=xxl]){height:var(--spectrum-icon-size-xxl);width:var(--spectrum-icon-size-xxl)}:host{height:var(\n--spectrum-icon-tshirt-size-height,var(\n--spectrum-alias-workflow-icon-size,var(--spectrum-global-dimension-size-225)\n)\n);width:var(\n--spectrum-icon-tshirt-size-width,var(\n--spectrum-alias-workflow-icon-size,var(--spectrum-global-dimension-size-225)\n)\n)}#container{height:100%}::slotted(*),img,svg{color:inherit;height:100%;vertical-align:top;width:100%}@media (forced-colors:active){::slotted(*),img,svg{forced-color-adjust:auto}}\n"])))},849464:(e,t,r)=>{"use strict";var n,i=r(89211),a=r(143681),o=r(668962),s=r(749886),l=r(61018),c=r(927948),u=r(488925),p=r(325829),d=function(e){(0,o.Z)(r,e);var t=(0,s.Z)(r);function r(){return(0,i.Z)(this,r),t.apply(this,arguments)}return(0,a.Z)(r,[{key:"render",value:function(){return(0,p._)(l.dy),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.width,r=void 0===t?24:t,i=e.height,a=void 0===i?24:i,o=e.hidden,s=void 0!==o&&o,l=e.title,c=void 0===l?"Full Screen Exit":l;return(0,p.A)(n||(n=(0,u.Z)(['<svg\n    xmlns="http://www.w3.org/2000/svg"\n    height=','\n    viewBox="0 0 36 36"\n    width=',"\n    aria-hidden=",'\n    role="img"\n    fill="currentColor"\n    aria-label=','\n  >\n    <path\n      d="M6 2.5V8H.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5H8V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5ZM30 8V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5V10h7.5a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5ZM0 26.5v1a.5.5 0 0 0 .5.5H6v5.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V26H.5a.5.5 0 0 0-.5.5ZM30 28h5.5a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5H28v7.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5Z"\n    />\n    <rect height="16" rx=".5" ry=".5" width="20" x="8" y="10" />\n  </svg>'])),a,r,s?"true":"false",c)}({hidden:!this.label,title:this.label})}}]),r}(c.A);(0,r(890489).N)("sp-icon-full-screen-exit",d)},145303:(e,t,r)=>{"use strict";var n,i=r(89211),a=r(143681),o=r(668962),s=r(749886),l=r(61018),c=r(927948),u=r(488925),p=r(325829),d=function(e){(0,o.Z)(r,e);var t=(0,s.Z)(r);function r(){return(0,i.Z)(this,r),t.apply(this,arguments)}return(0,a.Z)(r,[{key:"render",value:function(){return(0,p._)(l.dy),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.width,r=void 0===t?24:t,i=e.height,a=void 0===i?24:i,o=e.hidden,s=void 0!==o&&o,l=e.title,c=void 0===l?"Full Screen":l;return(0,p.A)(n||(n=(0,u.Z)(['<svg\n    xmlns="http://www.w3.org/2000/svg"\n    height=','\n    viewBox="0 0 36 36"\n    width=',"\n    aria-hidden=",'\n    role="img"\n    fill="currentColor"\n    aria-label=','\n  >\n    <path\n      d="M32 24.5V30h-5.5a.5.5 0 0 0-.5.5v1a.5.5 0 0 0 .5.5H34v-7.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5ZM4 30v-5.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5V32h7.5a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5ZM26 4.5v1a.5.5 0 0 0 .5.5H32v5.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V4h-7.5a.5.5 0 0 0-.5.5ZM4 6h5.5a.5.5 0 0 0 .5-.5v-1a.5.5 0 0 0-.5-.5H2v7.5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5Z"\n    />\n    <rect height="16" rx=".5" ry=".5" width="20" x="8" y="10" />\n  </svg>'])),a,r,s?"true":"false",c)}({hidden:!this.label,title:this.label})}}]),r}(c.A);(0,r(890489).N)("sp-icon-full-screen",d)},964552:(e,t,r)=>{"use strict";var n,i=r(89211),a=r(143681),o=r(668962),s=r(749886),l=r(61018),c=r(927948),u=r(488925),p=r(325829),d=function(e){(0,o.Z)(r,e);var t=(0,s.Z)(r);function r(){return(0,i.Z)(this,r),t.apply(this,arguments)}return(0,a.Z)(r,[{key:"render",value:function(){return(0,p._)(l.dy),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.width,r=void 0===t?24:t,i=e.height,a=void 0===i?24:i,o=e.hidden,s=void 0!==o&&o,l=e.title,c=void 0===l?"Pause":l;return(0,p.A)(n||(n=(0,u.Z)(['<svg\n    xmlns="http://www.w3.org/2000/svg"\n    height=','\n    viewBox="0 0 36 36"\n    width=',"\n    aria-hidden=",'\n    role="img"\n    fill="currentColor"\n    aria-label=','\n  >\n    <g>\n      <rect height="28" rx="1" width="8" x="6" y="4" />\n      <rect height="28" rx="1" width="8" x="20" y="4" />\n    </g>\n  </svg>'])),a,r,s?"true":"false",c)}({hidden:!this.label,title:this.label})}}]),r}(c.A);(0,r(890489).N)("sp-icon-pause",d)},563101:(e,t,r)=>{"use strict";var n,i=r(89211),a=r(143681),o=r(668962),s=r(749886),l=r(61018),c=r(927948),u=r(488925),p=r(325829),d=function(e){(0,o.Z)(r,e);var t=(0,s.Z)(r);function r(){return(0,i.Z)(this,r),t.apply(this,arguments)}return(0,a.Z)(r,[{key:"render",value:function(){return(0,p._)(l.dy),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.width,r=void 0===t?24:t,i=e.height,a=void 0===i?24:i,o=e.hidden,s=void 0!==o&&o,l=e.title,c=void 0===l?"Play":l;return(0,p.A)(n||(n=(0,u.Z)(['<svg\n    xmlns="http://www.w3.org/2000/svg"\n    height=','\n    viewBox="0 0 36 36"\n    width=',"\n    aria-hidden=",'\n    role="img"\n    fill="currentColor"\n    aria-label=','\n  >\n    <path\n      d="M9.46 4H7a1 1 0 0 0-1 1v26a1 1 0 0 0 1 1h2.46a2 2 0 0 0 1.007-.272l22.064-12.866a1 1 0 0 0 0-1.724L10.467 4.272A2 2 0 0 0 9.46 4Z"\n    />\n  </svg>'])),a,r,s?"true":"false",c)}({hidden:!this.label,title:this.label})}}]),r}(c.A);(0,r(890489).N)("sp-icon-play",d)},263517:(e,t,r)=>{"use strict";var n,i=r(89211),a=r(143681),o=r(668962),s=r(749886),l=r(61018),c=r(927948),u=r(488925),p=r(325829),d=function(e){(0,o.Z)(r,e);var t=(0,s.Z)(r);function r(){return(0,i.Z)(this,r),t.apply(this,arguments)}return(0,a.Z)(r,[{key:"render",value:function(){return(0,p._)(l.dy),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.width,r=void 0===t?24:t,i=e.height,a=void 0===i?24:i,o=e.hidden,s=void 0!==o&&o,l=e.title,c=void 0===l?"Volume Mute":l;return(0,p.A)(n||(n=(0,u.Z)(['<svg\n    xmlns="http://www.w3.org/2000/svg"\n    height=','\n    viewBox="0 0 36 36"\n    width=',"\n    aria-hidden=",'\n    role="img"\n    fill="currentColor"\n    aria-label=','\n  >\n    <path\n      d="M12 27a10.983 10.983 0 0 1 4-8.478V5a.726.726 0 0 0-1.194-.571l-6.639 6.8c-.439.446-.726.844-1.422.844H1a1 1 0 0 0-1 1v9.923a1 1 0 0 0 1 1h5.745c.697 0 .996.411 1.422.845l4.005 4.102A11.022 11.022 0 0 1 12 27Z"\n    />\n    <path\n      d="M23 18.1a8.9 8.9 0 1 0 8.9 8.9 8.9 8.9 0 0 0-8.9-8.9ZM16 27a6.935 6.935 0 0 1 1.475-4.252l9.777 9.777A6.966 6.966 0 0 1 16 27Zm12.525 4.252-9.777-9.777a6.966 6.966 0 0 1 9.777 9.777Z"\n    />\n  </svg>'])),a,r,s?"true":"false",c)}({hidden:!this.label,title:this.label})}}]),r}(c.A);(0,r(890489).N)("sp-icon-volume-mute",d)},331647:(e,t,r)=>{"use strict";var n,i=r(89211),a=r(143681),o=r(668962),s=r(749886),l=r(61018),c=r(927948),u=r(488925),p=r(325829),d=function(e){(0,o.Z)(r,e);var t=(0,s.Z)(r);function r(){return(0,i.Z)(this,r),t.apply(this,arguments)}return(0,a.Z)(r,[{key:"render",value:function(){return(0,p._)(l.dy),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.width,r=void 0===t?24:t,i=e.height,a=void 0===i?24:i,o=e.hidden,s=void 0!==o&&o,l=e.title,c=void 0===l?"Volume Three":l;return(0,p.A)(n||(n=(0,u.Z)(['<svg\n    xmlns="http://www.w3.org/2000/svg"\n    height=','\n    viewBox="0 0 36 36"\n    width=',"\n    aria-hidden=",'\n    role="img"\n    fill="currentColor"\n    aria-label=','\n  >\n    <path\n      d="M6.745 12.073H1a1 1 0 0 0-1 1v9.923a1 1 0 0 0 1 1h5.745a1.429 1.429 0 0 1 .93.345l7.131 7.259A.727.727 0 0 0 16 31.029V5a.726.726 0 0 0-1.194-.571l-7.127 7.3a1.437 1.437 0 0 1-.934.344ZM22.04 18a6.936 6.936 0 0 1-1.407 4.192.981.981 0 0 0 .086 1.288l.016.016a.991.991 0 0 0 1.487-.09 8.954 8.954 0 0 0-.027-10.853.991.991 0 0 0-1.484-.087l-.015.016a.982.982 0 0 0-.085 1.292A6.944 6.944 0 0 1 22.041 18Z"\n    />\n    <path\n      d="M28.04 18a12.937 12.937 0 0 1-3.115 8.435.972.972 0 0 0 .063 1.317l.014.014a1.003 1.003 0 0 0 1.474-.069 14.98 14.98 0 0 0-.026-19.43 1 1 0 0 0-1.469-.07l-.014.014a.977.977 0 0 0-.066 1.323A12.94 12.94 0 0 1 28.04 18Z"\n    />\n    <path\n      d="M34.04 18a18.92 18.92 0 0 1-4.823 12.642 1 1 0 0 0 .024 1.375l.014.015a.98.98 0 0 0 1.422-.023 20.862 20.862 0 0 0 5.306-14.01 20.868 20.868 0 0 0-5.326-14.034.985.985 0 0 0-1.423-.02l-.015.015a.996.996 0 0 0-.021 1.374A18.923 18.923 0 0 1 34.04 18Z"\n    />\n  </svg>'])),a,r,s?"true":"false",c)}({hidden:!this.label,title:this.label})}}]),r}(c.A);(0,r(890489).N)("sp-icon-volume-three",d)},325829:(e,t,r)=>{"use strict";r.d(t,{A:()=>i,_:()=>a}),r(35812),r(64209),r(573467);var n,i=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];return n?n.apply(void 0,[e].concat(r)):r.reduce((function(t,r,n){return t+r+e[n+1]}),e[0])},a=function(e){n=e}},192482:(e,t,r)=>{"use strict";r.d(t,{I:()=>a});var n=r(85663),i=r(934331),a=(r(573467),r(693508),r(816221),r(290671),r(17938),function(){var e=(0,i.Z)((0,n.Z)().mark((function e(t,i,a,o){var s,l;return(0,n.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,r.e(4644).then(r.bind(r,914644));case 3:return s=e.sent,l=s.Overlay,e.abrupt("return",l.open(t,i,a,o));case 6:case"end":return e.stop()}}),e)})));return function(t,r,n,i){return e.apply(this,arguments)}}())},914644:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Overlay:()=>He});var n,i=r(85663),a=r(829293),o=r(934331),s=r(89211),l=r(143681),c=(r(573467),r(693508),r(278387)),u=r(846031),p=(r(888784),r(255187),r(203454),r(819785),r(816221),r(290671),r(17938),r(929216),r(35812),r(893248),r(508460),r(973774),r(488925)),d=r(760567),m=r(236229),h=r(736781),v=r(993184),g=r(668962),f=r(749886),b=(r(378702),r(913688),r(367469),r(61018)),y=r(657357),_=r(53794),w=r(741239),k=r(920242),Z=r(219772);const x=(0,b.iv)(n||(n=(0,p.Z)(["\n@keyframes sp-overlay-fade-in{0%{opacity:0;transform:var(--sp-overlay-from)}to{opacity:1;transform:translate(0)}}@keyframes sp-overlay-fade-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:var(--sp-overlay-from)}}:host{display:inline-block;left:-9999em;max-height:100%;pointer-events:none;position:fixed;top:-9999em;z-index:1000}:host(:focus){outline:none}:host([placement=none]){height:100vh;height:100dvh;height:-webkit-fill-available;height:fill-available;left:0;position:fixed;top:0}#contents,sp-theme{height:100%}#contents{--swc-overlay-animation-distance:var(\n--spectrum-picker-m-texticon-popover-offset-y,var(--spectrum-global-dimension-size-75)\n);animation-duration:var(\n--swc-test-duration,var(--spectrum-global-animation-duration-200,.16s)\n);animation-timing-function:var(\n--spectrum-global-animation-ease-out,ease-out\n);box-sizing:border-box;display:inline-block;opacity:1;pointer-events:none;visibility:visible}:host([actual-placement*=top]) #contents{--sp-overlay-from:translateY(var(--spectrum-global-dimension-size-75));align-items:flex-end;display:inline-flex;padding-top:var(--swc-overlay-animation-distance)}:host([actual-placement*=right]) #contents{--sp-overlay-from:translateX(calc(var(--spectrum-global-dimension-size-75)*-1));padding-right:var(--swc-overlay-animation-distance)}:host([actual-placement*=bottom]) #contents{--sp-overlay-from:translateY(calc(var(--spectrum-global-dimension-size-75)*-1));padding-bottom:var(--swc-overlay-animation-distance)}:host([actual-placement*=left]) #contents{--sp-overlay-from:translateX(var(--spectrum-global-dimension-size-75));padding-left:var(--swc-overlay-animation-distance)}:host([animating]) ::slotted(*){pointer-events:none}:host(:not([animating])) ::slotted(*){pointer-events:auto}#contents ::slotted(*){position:relative}\n"])));var S=function e(t){if(!t)return null;var r=t.closest("active-overlay");if(r)return r;var n=t.getRootNode();return n.host?e(n.host):null},$=function e(t,r){var n=[];if(!t)return[];var i,a=(0,u.Z)(r);try{for(a.s();!(i=a.n()).done;){var o=i.value;o.root&&S(o.root)===t&&(n.push(o),n.push.apply(n,(0,c.Z)(e(o,r))))}}catch(e){a.e(e)}finally{a.f()}return n};function A(e){return e.split("-")[1]}function C(e){return"y"===e?"height":"width"}function T(e){return e.split("-")[0]}function P(e){return["top","bottom"].includes(T(e))?"x":"y"}function z(e,t,r){let{reference:n,floating:i}=e;const a=n.x+n.width/2-i.width/2,o=n.y+n.height/2-i.height/2,s=P(t),l=C(s),c=n[l]/2-i[l]/2,u="x"===s;let p;switch(T(t)){case"top":p={x:a,y:n.y-i.height};break;case"bottom":p={x:a,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:o};break;case"left":p={x:n.x-i.width,y:o};break;default:p={x:n.x,y:n.y}}switch(A(t)){case"start":p[s]-=c*(r&&u?-1:1);break;case"end":p[s]+=c*(r&&u?-1:1)}return p}function E(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function O(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function I(e,t){var r;void 0===t&&(t={});const{x:n,y:i,platform:a,rects:o,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:d=!1,padding:m=0}=t,h=E(m),v=s[d?"floating"===p?"reference":"floating":p],g=O(await a.getClippingRect({element:null==(r=await(null==a.isElement?void 0:a.isElement(v)))||r?v:v.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),f="floating"===p?{...o.floating,x:n,y:i}:o.reference,b=await(null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),y=await(null==a.isElement?void 0:a.isElement(b))&&await(null==a.getScale?void 0:a.getScale(b))||{x:1,y:1},_=O(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:f,offsetParent:b,strategy:l}):f);return{top:(g.top-_.top+h.top)/y.y,bottom:(_.bottom-g.bottom+h.bottom)/y.y,left:(g.left-_.left+h.left)/y.x,right:(_.right-g.right+h.right)/y.x}}const R=Math.min,j=Math.max;function N(e,t,r){return j(e,R(t,r))}const D=e=>({name:"arrow",options:e,async fn(t){const{element:r,padding:n=0}=e||{},{x:i,y:a,placement:o,rects:s,platform:l}=t;if(null==r)return{};const c=E(n),u={x:i,y:a},p=P(o),d=C(p),m=await l.getDimensions(r),h="y"===p?"top":"left",v="y"===p?"bottom":"right",g=s.reference[d]+s.reference[p]-u[p]-s.floating[d],f=u[p]-s.reference[p],b=await(null==l.getOffsetParent?void 0:l.getOffsetParent(r));let y=b?"y"===p?b.clientHeight||0:b.clientWidth||0:0;0===y&&(y=s.floating[d]);const _=g/2-f/2,w=c[h],k=y-m[d]-c[v],Z=y/2-m[d]/2+_,x=N(w,Z,k),S=null!=A(o)&&Z!=x&&s.reference[d]/2-(Z<w?c[h]:c[v])-m[d]/2<0;return{[p]:u[p]-(S?Z<w?w-Z:k-Z:0),data:{[p]:x,centerOffset:Z-x}}}}),L=(["top","right","bottom","left"].reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]),{left:"right",right:"left",bottom:"top",top:"bottom"});function M(e){return e.replace(/left|right|bottom|top/g,(e=>L[e]))}const B={start:"end",end:"start"};function F(e){return e.replace(/start|end/g,(e=>B[e]))}const H=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r;const{placement:n,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:h=!0,...v}=e,g=T(n),f=T(o)===o,b=await(null==s.isRTL?void 0:s.isRTL(l.floating)),y=p||(f||!h?[M(o)]:function(e){const t=M(e);return[F(e),t,F(t)]}(o));p||"none"===m||y.push(...function(e,t,r,n){const i=A(e);let a=function(e,t,r){const n=["left","right"],i=["right","left"],a=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return r?t?i:n:t?n:i;case"left":case"right":return t?a:o;default:return[]}}(T(e),"start"===r,n);return i&&(a=a.map((e=>e+"-"+i)),t&&(a=a.concat(a.map(F)))),a}(o,h,m,b));const _=[o,...y],w=await I(t,v),k=[];let Z=(null==(r=i.flip)?void 0:r.overflows)||[];if(c&&k.push(w[g]),u){const{main:e,cross:t}=function(e,t,r){void 0===r&&(r=!1);const n=A(e),i=P(e),a=C(i);let o="x"===i?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[a]>t.floating[a]&&(o=M(o)),{main:o,cross:M(o)}}(n,a,b);k.push(w[e],w[t])}if(Z=[...Z,{placement:n,overflows:k}],!k.every((e=>e<=0))){var x,S;const e=((null==(x=i.flip)?void 0:x.index)||0)+1,t=_[e];if(t)return{data:{index:e,overflows:Z},reset:{placement:t}};let r=null==(S=Z.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:S.placement;if(!r)switch(d){case"bestFit":{var $;const e=null==($=Z.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:$[0];e&&(r=e);break}case"initialPlacement":r=o}if(n!==r)return{reset:{placement:r}}}return{}}}},U=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:r,y:n}=t,i=await async function(e,t){const{placement:r,platform:n,elements:i}=e,a=await(null==n.isRTL?void 0:n.isRTL(i.floating)),o=T(r),s=A(r),l="x"===P(r),c=["left","top"].includes(o)?-1:1,u=a&&l?-1:1,p="function"==typeof t?t(e):t;let{mainAxis:d,crossAxis:m,alignmentAxis:h}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return s&&"number"==typeof h&&(m="end"===s?-1*h:h),l?{x:m*u,y:d*c}:{x:d*c,y:m*u}}(t,e);return{x:r+i.x,y:n+i.y,data:i}}}},q=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:i}=t,{mainAxis:a=!0,crossAxis:o=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=e,c={x:r,y:n},u=await I(t,l),p=P(T(i)),d=function(e){return"x"===e?"y":"x"}(p);let m=c[p],h=c[d];if(a){const e="y"===p?"bottom":"right";m=N(m+u["y"===p?"top":"left"],m,m-u[e])}if(o){const e="y"===d?"bottom":"right";h=N(h+u["y"===d?"top":"left"],h,h-u[e])}const v=s.fn({...t,[p]:m,[d]:h});return{...v,data:{x:v.x-r,y:v.y-n}}}}},V=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:r,rects:n,platform:i,elements:a}=t,{apply:o=(()=>{}),...s}=e,l=await I(t,s),c=T(r),u=A(r),p="x"===P(r),{width:d,height:m}=n.floating;let h,v;"top"===c||"bottom"===c?(h=c,v=u===(await(null==i.isRTL?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(v=c,h="end"===u?"top":"bottom");const g=m-l[h],f=d-l[v];let b=g,y=f;if(p?y=R(d-l.right-l.left,f):b=R(m-l.bottom-l.top,g),!t.middlewareData.shift&&!u){const e=j(l.left,0),t=j(l.right,0),r=j(l.top,0),n=j(l.bottom,0);p?y=d-2*(0!==e||0!==t?e+t:j(l.left,l.right)):b=m-2*(0!==r||0!==n?r+n:j(l.top,l.bottom))}await o({...t,availableWidth:y,availableHeight:b});const _=await i.getDimensions(a.floating);return d!==_.width||m!==_.height?{reset:{rects:!0}}:{}}}};function W(e){var t;return(null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function J(e){return W(e).getComputedStyle(e)}const G=Math.min,K=Math.max,Y=Math.round;function X(e){const t=J(e);let r=parseFloat(t.width),n=parseFloat(t.height);const i=e.offsetWidth,a=e.offsetHeight,o=Y(r)!==i||Y(n)!==a;return o&&(r=i,n=a),{width:r,height:n,fallback:o}}function Q(e){return ie(e)?(e.nodeName||"").toLowerCase():""}let ee;function te(){if(ee)return ee;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(ee=e.brands.map((e=>e.brand+"/"+e.version)).join(" "),ee):navigator.userAgent}function re(e){return e instanceof W(e).HTMLElement}function ne(e){return e instanceof W(e).Element}function ie(e){return e instanceof W(e).Node}function ae(e){return"undefined"!=typeof ShadowRoot&&(e instanceof W(e).ShadowRoot||e instanceof ShadowRoot)}function oe(e){const{overflow:t,overflowX:r,overflowY:n,display:i}=J(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(i)}function se(e){return["table","td","th"].includes(Q(e))}function le(e){const t=/firefox/i.test(te()),r=J(e),n=r.backdropFilter||r.WebkitBackdropFilter;return"none"!==r.transform||"none"!==r.perspective||!!n&&"none"!==n||t&&"filter"===r.willChange||t&&!!r.filter&&"none"!==r.filter||["transform","perspective"].some((e=>r.willChange.includes(e)))||["paint","layout","strict","content"].some((e=>{const t=r.contain;return null!=t&&t.includes(e)}))}function ce(){return/^((?!chrome|android).)*safari/i.test(te())}function ue(e){return["html","body","#document"].includes(Q(e))}function pe(e){return ne(e)?e:e.contextElement}const de={x:1,y:1};function me(e){const t=pe(e);if(!re(t))return de;const r=t.getBoundingClientRect(),{width:n,height:i,fallback:a}=X(t);let o=(a?Y(r.width):r.width)/n,s=(a?Y(r.height):r.height)/i;return o&&Number.isFinite(o)||(o=1),s&&Number.isFinite(s)||(s=1),{x:o,y:s}}function he(e,t,r,n){var i,a;void 0===t&&(t=!1),void 0===r&&(r=!1);const o=e.getBoundingClientRect(),s=pe(e);let l=de;t&&(n?ne(n)&&(l=me(n)):l=me(e));const c=s?W(s):window,u=ce()&&r;let p=(o.left+(u&&(null==(i=c.visualViewport)?void 0:i.offsetLeft)||0))/l.x,d=(o.top+(u&&(null==(a=c.visualViewport)?void 0:a.offsetTop)||0))/l.y,m=o.width/l.x,h=o.height/l.y;if(s){const e=W(s),t=n&&ne(n)?W(n):n;let r=e.frameElement;for(;r&&n&&t!==e;){const e=me(r),t=r.getBoundingClientRect(),n=getComputedStyle(r);t.x+=(r.clientLeft+parseFloat(n.paddingLeft))*e.x,t.y+=(r.clientTop+parseFloat(n.paddingTop))*e.y,p*=e.x,d*=e.y,m*=e.x,h*=e.y,p+=t.x,d+=t.y,r=W(r).frameElement}}return{width:m,height:h,top:d,right:p+m,bottom:d+h,left:p,x:p,y:d}}function ve(e){return((ie(e)?e.ownerDocument:e.document)||window.document).documentElement}function ge(e){return ne(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function fe(e){return he(ve(e)).left+ge(e).scrollLeft}function be(e){if("html"===Q(e))return e;const t=e.assignedSlot||e.parentNode||ae(e)&&e.host||ve(e);return ae(t)?t.host:t}function ye(e){const t=be(e);return ue(t)?t.ownerDocument.body:re(t)&&oe(t)?t:ye(t)}function _e(e,t){var r;void 0===t&&(t=[]);const n=ye(e),i=n===(null==(r=e.ownerDocument)?void 0:r.body),a=W(n);return i?t.concat(a,a.visualViewport||[],oe(n)?n:[]):t.concat(n,_e(n))}function we(e,t,r){let n;if("viewport"===t)n=function(e,t){const r=W(e),n=ve(e),i=r.visualViewport;let a=n.clientWidth,o=n.clientHeight,s=0,l=0;if(i){a=i.width,o=i.height;const e=ce();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:a,height:o,x:s,y:l}}(e,r);else if("document"===t)n=function(e){const t=ve(e),r=ge(e),n=e.ownerDocument.body,i=K(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=K(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let o=-r.scrollLeft+fe(e);const s=-r.scrollTop;return"rtl"===J(n).direction&&(o+=K(t.clientWidth,n.clientWidth)-i),{width:i,height:a,x:o,y:s}}(ve(e));else if(ne(t))n=function(e,t){const r=he(e,!0,"fixed"===t),n=r.top+e.clientTop,i=r.left+e.clientLeft,a=re(e)?me(e):{x:1,y:1};return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:n*a.y}}(t,r);else{const r={...t};if(ce()){var i,a;const t=W(e);r.x-=(null==(i=t.visualViewport)?void 0:i.offsetLeft)||0,r.y-=(null==(a=t.visualViewport)?void 0:a.offsetTop)||0}n=r}return O(n)}function ke(e,t){return re(e)&&"fixed"!==J(e).position?t?t(e):e.offsetParent:null}function Ze(e,t){const r=W(e);let n=ke(e,t);for(;n&&se(n)&&"static"===J(n).position;)n=ke(n,t);return n&&("html"===Q(n)||"body"===Q(n)&&"static"===J(n).position&&!le(n))?r:n||function(e){let t=be(e);for(;re(t)&&!ue(t);){if(le(t))return t;t=be(t)}return null}(e)||r}function xe(e,t,r){const n=re(t),i=ve(t),a=he(e,!0,"fixed"===r,t);let o={scrollLeft:0,scrollTop:0};const s={x:0,y:0};if(n||!n&&"fixed"!==r)if(("body"!==Q(t)||oe(i))&&(o=ge(t)),re(t)){const e=he(t,!0);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=fe(i));return{x:a.left+o.scrollLeft-s.x,y:a.top+o.scrollTop-s.y,width:a.width,height:a.height}}const Se={getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:i}=e;const a="clippingAncestors"===r?function(e,t){const r=t.get(e);if(r)return r;let n=_e(e).filter((e=>ne(e)&&"body"!==Q(e))),i=null;const a="fixed"===J(e).position;let o=a?be(e):e;for(;ne(o)&&!ue(o);){const e=J(o),t=le(o);"fixed"===e.position?i=null:(a?t||i:t||"static"!==e.position||!i||!["absolute","fixed"].includes(i.position))?i=e:n=n.filter((e=>e!==o)),o=be(o)}return t.set(e,n),n}(t,this._c):[].concat(r),o=[...a,n],s=o[0],l=o.reduce(((e,r)=>{const n=we(t,r,i);return e.top=K(n.top,e.top),e.right=G(n.right,e.right),e.bottom=G(n.bottom,e.bottom),e.left=K(n.left,e.left),e}),we(t,s,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:r,strategy:n}=e;const i=re(r),a=ve(r);if(r===a)return t;let o={scrollLeft:0,scrollTop:0},s={x:1,y:1};const l={x:0,y:0};if((i||!i&&"fixed"!==n)&&(("body"!==Q(r)||oe(a))&&(o=ge(r)),re(r))){const e=he(r);s=me(r),l.x=e.x+r.clientLeft,l.y=e.y+r.clientTop}return{width:t.width*s.x,height:t.height*s.y,x:t.x*s.x-o.scrollLeft*s.x+l.x,y:t.y*s.y-o.scrollTop*s.y+l.y}},isElement:ne,getDimensions:function(e){return re(e)?X(e):e.getBoundingClientRect()},getOffsetParent:Ze,getDocumentElement:ve,getScale:me,async getElementRects(e){let{reference:t,floating:r,strategy:n}=e;const i=this.getOffsetParent||Ze,a=this.getDimensions;return{reference:xe(t,await i(r),n),floating:{x:0,y:0,...await a(r)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===J(e).direction};function $e(e,t,r,n){void 0===n&&(n={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=!0,animationFrame:s=!1}=n,l=i&&!s,c=l||a?[...ne(e)?_e(e):e.contextElement?_e(e.contextElement):[],..._e(t)]:[];c.forEach((e=>{l&&e.addEventListener("scroll",r,{passive:!0}),a&&e.addEventListener("resize",r)}));let u,p=null;if(o){let n=!0;p=new ResizeObserver((()=>{n||r(),n=!1})),ne(e)&&!s&&p.observe(e),ne(e)||!e.contextElement||s||p.observe(e.contextElement),p.observe(t)}let d=s?he(e):null;return s&&function t(){const n=he(e);!d||n.x===d.x&&n.y===d.y&&n.width===d.width&&n.height===d.height||r(),d=n,u=requestAnimationFrame(t)}(),r(),()=>{var e;c.forEach((e=>{l&&e.removeEventListener("scroll",r),a&&e.removeEventListener("resize",r)})),null==(e=p)||e.disconnect(),p=null,s&&cancelAnimationFrame(u)}}const Ae=(e,t,r)=>{const n=new Map,i={platform:Se,...r},a={...i.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:o}=r,s=a.filter(Boolean),l=await(null==o.isRTL?void 0:o.isRTL(t));let c=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:p}=z(c,n,l),d=n,m={},h=0;for(let r=0;r<s.length;r++){const{name:a,fn:v}=s[r],{x:g,y:f,data:b,reset:y}=await v({x:u,y:p,initialPlacement:n,placement:d,strategy:i,middlewareData:m,rects:c,platform:o,elements:{reference:e,floating:t}});u=null!=g?g:u,p=null!=f?f:p,m={...m,[a]:{...m[a],...b}},y&&h<=50&&(h++,"object"==typeof y&&(y.placement&&(d=y.placement),y.rects&&(c=!0===y.rects?await o.getElementRects({reference:e,floating:t,strategy:i}):y.rects),({x:u,y:p}=z(c,d,l))),r=-1)}return{x:u,y:p,placement:d,strategy:i,middlewareData:m}})(e,t,{...i,platform:a})};var Ce,Te,Pe=Object.defineProperty,ze=Object.getOwnPropertyDescriptor,Ee=function(e,t,r,n){for(var i,a=n>1?void 0:n?ze(t,r):t,o=e.length-1;o>=0;o--)(i=e[o])&&(a=(n?i(t,r,a):i(a))||a);return n&&a&&Pe(t,r,a),a},Oe={initial:"idle",states:{idle:{on:{active:"active"}},active:{on:{hiding:"hiding",idle:"idle"}},hiding:{on:{dispose:"dispose"}},dispose:{on:{disposed:"disposed"}},disposed:{on:{}}}},Ie=function(e,t){return e?t&&Oe.states[e].on[t]||e:Oe.initial},Re=function(e){var t;return null!=(t={left:["right","bottom","top"],"left-start":["right-start","bottom","top"],"left-end":["right-end","bottom","top"],right:["left","bottom","top"],"right-start":["left-start","bottom","top"],"right-end":["left-end","bottom","top"],top:["bottom","left","right"],"top-start":["bottom-start","left","right"],"top-end":["bottom-end","left","right"],bottom:["top","left","right"],"bottom-start":["top-start","left","right"],"bottom-end":["top-end","left","right"]}[e])?t:[e]},je=function(e){(0,g.Z)(w,e);var t,r,n,a,c,u,y=(0,f.Z)(w);function w(){var e;return(0,s.Z)(this,w),(e=y.call(this)).contentAnimationPromise=Promise.resolve(!0),e.resolveContentAnimationPromise=function(){},e._state=Ie(),e.animating=!1,e.theme={},e.tabbingAway=!1,e.offset=6,e.skidding=0,e.interaction="hover",e.positionAnimationFrame=0,e.willNotifyClosed=!1,e.isConstrained=!1,e.updateOverlayPosition=function(){"modal"!==e.interaction&&e.cleanup?e.dispatchEvent(new Event("close")):e.setOverlayPosition()},e.resetOverlayPosition=function(){e.style.removeProperty("max-height"),e.style.removeProperty("height"),e.initialHeight=void 0,e.isConstrained=!1,e.offsetHeight,e.setOverlayPosition()},e.setOverlayPosition=(0,o.Z)((0,i.Z)().mark((function t(){var r,n,a,o,s,l,c,u,p,d,h;return(0,i.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=function(e){var t=window.devicePixelRatio||1;return Math.round(e*t)/t||-1e4},e.placement&&"none"!==e.placement){t.next=3;break}return t.abrupt("return");case 3:return t.next=5,document.fonts?document.fonts.ready:Promise.resolve();case 5:return n=e.virtualTrigger?H({padding:8,fallbackPlacements:Re(e.placement)}):H({padding:8}),a=[U({mainAxis:e.offset,crossAxis:e.skidding}),q({padding:8}),n,V({padding:8,apply:function(t){var r=t.availableWidth,n=t.availableHeight,i=t.rects.floating,a=Math.max(100,Math.floor(n)),o=i.height;e.initialHeight=(e.isConstrained||e.virtualTrigger)&&e.initialHeight||o,e.isConstrained=o<e.initialHeight||a<=o;var s=e.isConstrained?"".concat(a,"px"):"";Object.assign(e.style,{maxWidth:"".concat(Math.floor(r),"px"),maxHeight:s,height:s})}})],e.overlayContentTip&&a.push(D({element:e.overlayContentTip})),t.next=9,Ae(e.virtualTrigger||e.trigger,(0,m.Z)(e),{placement:e.placement,middleware:a,strategy:"fixed"});case 9:o=t.sent,s=o.x,l=o.y,c=o.placement,u=o.middlewareData,Object.assign(e.style,{top:"0px",left:"0px",transform:"translate(".concat(r(s),"px, ").concat(r(l),"px)")}),c!==e.getAttribute("actual-placement")&&(e.setAttribute("actual-placement",c),e.overlayContent.setAttribute("placement",c)),e.overlayContentTip&&u.arrow&&(p=u.arrow,d=p.x,h=p.y,Object.assign(e.overlayContentTip.style,{left:null!=d?"".concat(r(d),"px"):"",top:null!=h?"".concat(r(h),"px"):"",right:"",bottom:""}));case 15:case"end":return t.stop()}}),t)}))),e.handleInlineTriggerKeydown=function(t){var r=t.code,n=t.shiftKey;if("Tab"===r){if(n)return e.tabbingAway=!0,void e.dispatchEvent(new Event("close"));t.stopPropagation(),t.preventDefault(),e.focus()}},e.stealOverlayContentPromise=Promise.resolve(),e.stealOverlayContentPromise=new Promise((function(t){return e.stealOverlayContentResolver=t})),e}return(0,l.Z)(w,[{key:"state",get:function(){return this._state},set:function(e){var t=Ie(this.state,e);t!==this.state&&(this._state=t,"active"===this.state||"hiding"===this.state?this.setAttribute("state",this.state):this.removeAttribute("state"))}},{key:"focus",value:(u=(0,o.Z)((0,i.Z)().mark((function e(){var t,r;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=(0,Z.i)(this))){e.next=10;break}if(e.t0=t.updateComplete,!e.t0){e.next=6;break}return e.next=6,t.updateComplete;case 6:((r=this.getRootNode().activeElement)===this||!this.contains(r))&&t.focus(),e.next=11;break;case 10:(0,h.Z)((0,v.Z)(w.prototype),"focus",this).call(this);case 11:this.removeAttribute("tabindex");case 12:case"end":return e.stop()}}),e,this)}))),function(){return u.apply(this,arguments)})},{key:"hasTheme",get:function(){return!!this.theme.color||!!this.theme.scale||!!this.theme.lang}},{key:"hasModalRoot",get:function(){return!!this._modalRoot}},{key:"feature",value:function(){this.contains(document.activeElement)||(this.tabIndex=-1);var e=S(this.trigger);e&&"open"===e.slot&&(this._modalRoot=e._modalRoot||e),("modal"===this.interaction||this._modalRoot)&&(this.slot="open","modal"===this.interaction&&this.setAttribute("aria-modal","true"),this._modalRoot&&(null==e||e.feature()))}},{key:"obscure",value:function(e){if(this.slot&&"modal"===e){if(this.removeAttribute("slot"),this.removeAttribute("aria-modal"),"modal"!==this.interaction){var t=S(this.trigger);return this._modalRoot=null==t?void 0:t.obscure(e),this._modalRoot}return this}}},{key:"willUpdate",value:(c=(0,o.Z)((0,i.Z)().mark((function e(){return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.t0=this.hasUpdated||!this.overlayContent||!this.trigger,e.t0){e.next=11;break}if(this.stealOverlayContent(this.overlayContent),this.state="active",this.feature(),e.t1=this.placement&&"none"!==this.placement,!e.t1){e.next=10;break}return e.next=9,this.updateOverlayPosition();case 9:document.addEventListener("sp-update-overlays",this.resetOverlayPosition);case 10:this.placement&&"none"!==this.placement&&(this.contentAnimationPromise=this.applyContentAnimation("sp-overlay-fade-in"));case 11:case"end":return e.stop()}}),e,this)}))),function(){return c.apply(this,arguments)})},{key:"openCallback",value:(a=(0,o.Z)((0,i.Z)().mark((function e(t){return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.updateComplete;case 2:if(e.t0=this.receivesFocus,!e.t0){e.next=6;break}return e.next=6,this.focus();case 6:return e.next=8,t();case 8:this.trigger.dispatchEvent(new CustomEvent("sp-opened",{bubbles:!0,composed:!0,cancelable:!0,detail:{interaction:this.interaction}}));case 9:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"open",value:function(e){this.extractDetail(e)}},{key:"extractDetail",value:function(e){this.overlayContent=e.content,this.overlayContentTip=e.contentTip,this.trigger=e.trigger,this.virtualTrigger=e.virtualTrigger,this.placement=e.placement,this.offset=e.offset,this.skidding=e.skidding||0,this.interaction=e.interaction,this.theme=e.theme,this.receivesFocus=e.receivesFocus,this.root=e.root}},{key:"dispose",value:function(){"dispose"===this.state&&(this.timeout&&(clearTimeout(this.timeout),delete this.timeout),this.trigger.removeEventListener("keydown",this.handleInlineTriggerKeydown),this.returnOverlayContent(),this.state="disposed",this.willNotifyClosed&&(this.overlayContent.dispatchEvent(new Event("sp-overlay-closed")),this.willNotifyClosed=!1),this.cleanup&&this.cleanup())}},{key:"stealOverlayContent",value:function(e){this.originalPlacement=e.getAttribute("placement"),this.restoreContent=(0,k.G)([e],this,{position:"beforeend",prepareCallback:function(e){var t=e.slot,r=e.placement;return e.removeAttribute("slot"),function(e){e.slot=t,e.placement=r}}}),this.stealOverlayContentResolver()}},{key:"returnOverlayContent",value:function(){if(this.restoreContent){var e=this.restoreContent(),t=(0,d.Z)(e,1)[0];this.restoreContent=void 0,this.willNotifyClosed=!0,this.originalPlacement&&(t.setAttribute("placement",this.originalPlacement),delete this.originalPlacement)}}},{key:"placeOverlay",value:(n=(0,o.Z)((0,i.Z)().mark((function e(){return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:!this.placement||"none"===this.placement||(this.cleanup=$e(this.virtualTrigger||this.trigger,this,this.updateOverlayPosition,{elementResize:!1}));case 1:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"hide",value:(r=(0,o.Z)((0,i.Z)().mark((function e(){var t,r=arguments;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=!(r.length>0&&void 0!==r[0])||r[0],e.t0="active"===this.state,!e.t0){e.next=9;break}if(this.state="hiding",e.t1=t,!e.t1){e.next=8;break}return e.next=8,this.applyContentAnimation("sp-overlay-fade-out");case 8:this.state="dispose";case 9:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"schedulePositionUpdate",value:function(){var e=this;cancelAnimationFrame(this.positionAnimationFrame),this.positionAnimationFrame=requestAnimationFrame((function(){e.cleanup?e.updateOverlayPosition():e.placeOverlay()}))}},{key:"onSlotChange",value:function(){this.schedulePositionUpdate()}},{key:"applyContentAnimation",value:function(e){var t=this;return"none"===this.placement?Promise.resolve(!0):(this.resolveContentAnimationPromise(),new Promise((function(r){t.resolveContentAnimationPromise=function(){r(!1)};var n=t.shadowRoot.querySelector("#contents"),i=function i(a){e===a.animationName&&(n.removeEventListener("animationend",i),n.removeEventListener("animationcancel",i),t.animating=!1,r("animationcancel"===a.type))};n.addEventListener("animationend",i),n.addEventListener("animationcancel",i),n.style.animationName=e,t.animating=!0})))}},{key:"renderTheme",value:function(e){var t=this.theme,r=t.color,n=t.scale,i=t.lang,a=t.theme;return(0,b.dy)(Ce||(Ce=(0,p.Z)(["\n            <sp-theme\n                theme=","\n                color=","\n                scale=","\n                lang=",'\n                part="theme"\n            >\n                ',"\n            </sp-theme>\n        "])),(0,_.o)(a),(0,_.o)(r),(0,_.o)(n),(0,_.o)(i),e)}},{key:"render",value:function(){var e=(0,b.dy)(Te||(Te=(0,p.Z)(['\n            <div id="contents">\n                <slot @slotchange=',"></slot>\n            </div>\n        "])),this.onSlotChange);return this.hasTheme?this.renderTheme(e):e}},{key:"getUpdateComplete",value:(t=(0,o.Z)((0,i.Z)().mark((function e(){var t,r,n,a;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(t=[(0,h.Z)((0,v.Z)(w.prototype),"getUpdateComplete",this).call(this),this.stealOverlayContentPromise]).push(this.contentAnimationPromise),void 0!==this.overlayContent.updateComplete&&t.push(this.overlayContent.updateComplete),e.next=4,Promise.all(t);case 4:return r=e.sent,n=(0,d.Z)(r,1),a=n[0],e.abrupt("return",a);case 8:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"disconnectedCallback",value:function(){document.removeEventListener("sp-update-overlays",this.resetOverlayPosition),(0,h.Z)((0,v.Z)(w.prototype),"disconnectedCallback",this).call(this)}}],[{key:"styles",get:function(){return[x]}},{key:"create",value:function(e){var t=new w;return e.content&&t.open(e),t}}]),w}(y.o),Ne=je;Ee([(0,w.Cb)()],Ne.prototype,"_state",2),Ee([(0,w.Cb)({reflect:!0,type:Boolean})],Ne.prototype,"animating",2),Ee([(0,w.Cb)({reflect:!0})],Ne.prototype,"placement",2),Ee([(0,w.Cb)({attribute:!1})],Ne.prototype,"theme",2),Ee([(0,w.Cb)({attribute:!1})],Ne.prototype,"receivesFocus",2),r(936963),r(923304);var De=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,s.Z)(this,e),this.warmUpDelay=1e3,this.coolDownDelay=1e3,this.isWarm=!1,this.timeout=0,Object.assign(this,t)}var t;return(0,l.Z)(e,[{key:"openTimer",value:(t=(0,o.Z)((0,i.Z)().mark((function e(t){var r=this;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.cancelCooldownTimer(),this.component&&t===this.component){e.next=2;break}return e.abrupt("return",(this.component&&(this.close(this.component),this.cancelCooldownTimer()),this.component=t,!this.isWarm&&(this.promise=new Promise((function(e){r.resolve=e,r.timeout=window.setTimeout((function(){r.resolve&&(r.resolve(!1),r.isWarm=!0)}),r.warmUpDelay)})),this.promise)));case 2:if(!this.promise){e.next=4;break}return e.abrupt("return",this.promise);case 4:throw new Error("Inconsistent state");case 5:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"close",value:function(e){this.component&&this.component===e&&(this.resetCooldownTimer(),this.timeout>0&&(clearTimeout(this.timeout),this.timeout=0),this.resolve&&(this.resolve(!0),delete this.resolve),delete this.promise,delete this.component)}},{key:"resetCooldownTimer",value:function(){var e=this;this.isWarm&&(this.cooldownTimeout&&window.clearTimeout(this.cooldownTimeout),this.cooldownTimeout=window.setTimeout((function(){e.isWarm=!1,delete e.cooldownTimeout}),this.coolDownDelay))}},{key:"cancelCooldownTimer",value:function(){this.cooldownTimeout&&window.clearTimeout(this.cooldownTimeout),delete this.cooldownTimeout}}]),e}();(0,r(890489).N)("active-overlay",Ne);var Le=function(e,t){for(var r=document.elementFromPoint(e,t);null!=r&&r.shadowRoot;){var n=r.shadowRoot.elementFromPoint(e,t);if(!n||n===r)break;r=n}return r};function Me(){return new Promise((function(e){return requestAnimationFrame((function(){return e()}))}))}var Be=function(){function e(){var t=this;(0,s.Z)(this,e),this.overlays=[],this.preventMouseRootClose=!1,this.root=document.body,this.handlingResize=!1,this.overlayTimer=new De,this.canTabTrap=!0,this.trappingInited=!1,this._eventsAreBound=!1,this._bodyMarginsApplied=!1,this.forwardContextmenuEvent=function(){var e=(0,o.Z)((0,i.Z)().mark((function e(r){var n,a;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.overlays[t.overlays.length-1],e.t0=!t.trappingInited||"modal"!==a.interaction||r.target!==t.overlayHolder,e.t0){e.next=8;break}return r.stopPropagation(),r.preventDefault(),e.next=7,t.closeTopOverlay();case 7:null==(n=Le(r.clientX,r.clientY))||n.dispatchEvent(new MouseEvent("contextmenu",r));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this.handleOverlayClose=function(e){var r=e.root;r&&t.closeOverlaysForRoot(r)},this.handleMouseCapture=function(e){var r=t.topOverlay;if(e.target&&r&&r.overlayContent&&!function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)&&function(e){return 0===e.button}(e)){if(e.target instanceof Node){if(e.composedPath().indexOf(r.overlayContent)>=0)return void(t.preventMouseRootClose=!0);t.preventMouseRootClose=!1}}else t.preventMouseRootClose=!0},this._doesNotCloseOnFirstClick=!1,this.handleMouse=function(e){var r;if(t._doesNotCloseOnFirstClick)t._doesNotCloseOnFirstClick=!1;else if(!t.preventMouseRootClose&&!e.defaultPrevented){for(var n=[],i=t.overlays.length;i&&0===n.length;){i-=1;var a=t.overlays[i],o=e.composedPath();(!o.includes(a.trigger)||"hover"!==a.interaction)&&!o.includes(a.overlayContent)&&n.push(a)}for(var s=null==(r=t.topOverlay)?void 0:r.root,l=S(s);s&&l;)n.push(l),s=null==(l=S(s))?void 0:l.root;l&&n.push(l),n.forEach((function(e){return t.hideAndCloseOverlay(e)}))}},this.handleKeydown=function(e){"Escape"===e.code&&t.closeTopOverlay()},this.handleResize=function(){t.handlingResize||(t.handlingResize=!0,requestAnimationFrame((0,o.Z)((0,i.Z)().mark((function e(){var r;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.overlays.map((function(e){return e.updateOverlayPosition()})),e.next=3,Promise.all(r);case 3:t.handlingResize=!1;case 4:case"end":return e.stop()}}),e)})))))},this.initTabTrapping()}var t,r,n;return(0,l.Z)(e,[{key:"initTabTrapping",value:function(){var e=this;if("loading"!==document.readyState){if(!this.trappingInited)if(this.document.body.shadowRoot)this.canTabTrap=!1;else if(this.document.body.attachShadow({mode:"open"}),this.document.body.shadowRoot){this.trappingInited=!0;var t=this.document.body.shadowRoot;t.innerHTML='\n            <style>\n            :host {\n                position: relative;\n            }\n            #actual {\n                position: relative;\n                height: calc(100% - var(--swc-body-margins-block, 0px));\n                z-index: 0;\n                min-height: calc(100vh - var(--swc-body-margins-block, 0px));\n                min-height: calc(100dvh - var(--swc-body-margins-block, 0px));\n            }\n            #holder {\n                display: none;\n                align-items: center;\n                justify-content: center;\n                flex-flow: column;\n                width: 100%;\n                height: 100%;\n                position: absolute;\n                top: 0;\n                left: 0;\n            }\n            [name="open"]::slotted(*) {\n                pointer-events: all;\n            }\n            #actual[aria-hidden] + #holder {\n                display: flex;\n            }\n            </style>\n            <div id="actual"><slot></slot></div>\n            <div id="holder"><slot name="open"></slot></div>\n        ',this.tabTrapper=t.querySelector("#actual"),this.overlayHolder=t.querySelector("#holder"),this.tabTrapper.attachShadow({mode:"open"}),this.tabTrapper.shadowRoot&&(this.tabTrapper.shadowRoot.innerHTML="<slot></slot>"),this.overlayHolder.addEventListener("contextmenu",this.forwardContextmenuEvent,!0),requestAnimationFrame((function(){e.applyBodyMargins(),new ResizeObserver((function(){e.applyBodyMargins()})).observe(document.body)}))}}else document.addEventListener("readystatechange",(function(){e.initTabTrapping()}),{once:!0})}},{key:"applyBodyMargins",value:function(){var e=getComputedStyle(document.body),t=e.marginLeft,r=e.marginRight,n=e.marginTop,i=e.marginBottom,a=0===parseFloat(t)&&0===parseFloat(r)&&0===parseFloat(n)&&0===parseFloat(i);a&&!this._bodyMarginsApplied||(this.tabTrapper.style.setProperty("--swc-body-margins-inline","calc(".concat(t," + ").concat(r,")")),this.tabTrapper.style.setProperty("--swc-body-margins-block","calc(".concat(n," + ").concat(i,")")),this._bodyMarginsApplied=!a)}},{key:"startTabTrapping",value:function(){this.initTabTrapping(),this.canTabTrap&&(this.tabTrapper.tabIndex=-1,this.tabTrapper.setAttribute("aria-hidden","true"))}},{key:"stopTabTrapping",value:function(){!this.canTabTrap||!this.trappingInited||(this.tabTrapper.removeAttribute("tabindex"),this.tabTrapper.removeAttribute("aria-hidden"))}},{key:"document",get:function(){return this.root.ownerDocument||document}},{key:"topOverlay",get:function(){return this.overlays.slice(-1)[0]}},{key:"findOverlayForContent",value:function(e){var t,r=(0,u.Z)(this.overlays);try{for(r.s();!(t=r.n()).done;){var n=t.value;if(e===n.overlayContent)return n}}catch(e){r.e(e)}finally{r.f()}}},{key:"addEventListeners",value:function(){this._eventsAreBound||(this._eventsAreBound=!0,this.document.addEventListener("click",this.handleMouseCapture,!0),this.document.addEventListener("click",this.handleMouse),this.document.addEventListener("keydown",this.handleKeydown),this.document.addEventListener("sp-overlay-close",this.handleOverlayClose),window.addEventListener("resize",this.handleResize))}},{key:"isClickOverlayActiveForTrigger",value:function(e){return this.overlays.some((function(t){return e===t.trigger&&"click"===t.interaction}))}},{key:"openOverlay",value:(n=(0,o.Z)((0,i.Z)().mark((function e(t){var r,n,a,s,l,c,u,p;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.addEventListeners(),!this.findOverlayForContent(t.content)){e.next=2;break}return e.abrupt("return",!1);case 2:if(t.notImmediatelyClosable&&(this._doesNotCloseOnFirstClick=!0),"modal"===t.interaction&&this.startTabTrapping(),r=t.content,n=t.trigger,r.overlayWillOpenCallback&&r.overlayWillOpenCallback({trigger:n}),!t.delayed){e.next=12;break}return a=[this.overlayTimer.openTimer(t.content)],t.abortPromise&&a.push(t.abortPromise),e.next=9,Promise.race(a);case 9:if(!(s=e.sent)){e.next=12;break}return e.abrupt("return",(r.overlayOpenCancelledCallback&&r.overlayOpenCancelledCallback({trigger:n}),s));case 12:if(t.root&&this.closeOverlaysForRoot(t.root),"click"!==t.interaction){e.next=16;break}this.closeAllHoverOverlays(),e.next=18;break;case 16:if("hover"!==t.interaction||!this.isClickOverlayActiveForTrigger(t.trigger)){e.next=18;break}return e.abrupt("return",!0);case 18:return l=Ne.create(t),this.overlays.length&&this.overlays[this.overlays.length-1].obscure(l.interaction),document.body.appendChild(l),e.next=23,Me();case 23:return this.overlays.push(l),e.next=26,l.updateComplete;case 26:if(this.addOverlayEventListeners(l),e.t0=void 0!==r.open,!e.t0){e.next=32;break}return e.next=31,Me();case 31:r.open=!0;case 32:return c=function(){},r.overlayOpenCallback&&(u=l.trigger,p=r.overlayOpenCallback,c=function(){var e=(0,o.Z)((0,i.Z)().mark((function e(){return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p({trigger:u});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()),e.next=36,l.openCallback(c);case 36:return e.abrupt("return",!1);case 37:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"addOverlayEventListeners",value:function(e){var t=this;switch(e.addEventListener("close",(function(){t.hideAndCloseOverlay(e,!0)})),e.interaction){case"replace":this.addReplaceOverlayEventListeners(e);break;case"inline":this.addInlineOverlayEventListeners(e)}}},{key:"addReplaceOverlayEventListeners",value:function(e){var t=this;e.addEventListener("keydown",(function(r){"Tab"===r.code&&(r.stopPropagation(),t.closeOverlay(e.overlayContent),e.tabbingAway=!0,e.trigger.focus(),e.trigger.dispatchEvent(new KeyboardEvent("keydown",r)))}))}},{key:"addInlineOverlayEventListeners",value:function(e){var t=this;e.trigger.addEventListener("keydown",e.handleInlineTriggerKeydown),e.addEventListener("keydown",(function(r){var n=r.code,i=r.shiftKey;if("Tab"===n){if(e.tabbingAway=!0,i){var a=document.createElement("span");return a.tabIndex=-1,e.trigger.hasAttribute("slot")&&(a.slot=e.trigger.slot),e.trigger.insertAdjacentElement("afterend",a),a.focus(),void a.remove()}r.stopPropagation();var o=e.trigger;void 0!==o.open&&(o.open=!1),t.closeOverlay(e.overlayContent),e.trigger.focus()}}))}},{key:"closeOverlay",value:function(e){var t=this;this.overlayTimer.close(e),requestAnimationFrame((function(){var r=t.findOverlayForContent(e),n=[r];n.push.apply(n,(0,c.Z)($(r,t.overlays))),n.forEach((function(e){return t.hideAndCloseOverlay(e)}))}))}},{key:"closeAllHoverOverlays",value:function(){var e,t=(0,u.Z)(this.overlays);try{for(t.s();!(e=t.n()).done;){var r=e.value;"hover"===r.interaction&&this.hideAndCloseOverlay(r,!1)}}catch(e){t.e(e)}finally{t.f()}}},{key:"closeOverlaysForRoot",value:function(e){var t,r=this,n=[],i=(0,u.Z)(this.overlays);try{for(i.s();!(t=i.n()).done;){var a=t.value;a.root&&a.root===e&&(n.push(a),n.push.apply(n,(0,c.Z)($(a,this.overlays))))}}catch(e){i.e(e)}finally{i.f()}n.forEach((function(e){return r.hideAndCloseOverlay(e,!0,!0)}))}},{key:"manageFocusAfterCloseWhenOverlaysRemain",value:(r=(0,o.Z)((0,i.Z)().mark((function e(t,r){var n;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((n=this.overlays[this.overlays.length-1]).feature(),"modal"!==n.interaction&&!n.hasModalRoot){e.next=8;break}if(!t){e.next=4;break}return e.abrupt("return");case 4:return e.next=6,(r||n).focus();case 6:e.next=9;break;case 8:this.stopTabTrapping();case 9:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)})},{key:"manageFocusAfterCloseWhenLastOverlay",value:function(e){this.stopTabTrapping();var t="modal"===e.interaction,r="auto"===e.receivesFocus,n="replace"===e.interaction,i="inline"===e.interaction,a=(n||i)&&!e.tabbingAway;if(e.tabbingAway=!1,t||r||a){var o,s,l=e.overlayContent.getRootNode().activeElement;(t||e.overlayContent.contains(l)||(s=(o=e.trigger.getRootNode()).activeElement,o.contains(s))||o.host&&o.host===s)&&e.trigger.focus()}}},{key:"hideAndCloseOverlay",value:(t=(0,o.Z)((0,i.Z)().mark((function e(t,r,n){var a,o,s,l;return(0,i.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:if(void 0===(a=t.overlayContent).overlayWillCloseCallback){e.next=7;break}if(o=t.trigger,!a.overlayWillCloseCallback({trigger:o})){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,t.hide(r);case 9:if(void 0!==a.open&&(a.open=!1),!a.overlayCloseCallback){e.next=14;break}return s=t.trigger,e.next=14,a.overlayCloseCallback({trigger:s});case 14:if("dispose"==t.state){e.next=16;break}return e.abrupt("return");case 16:if((l=this.overlays.indexOf(t))>=0&&this.overlays.splice(l,1),!this.overlays.length){e.next=23;break}return e.next=21,this.manageFocusAfterCloseWhenOverlaysRemain(n||"hover"===t.interaction,t.trigger);case 21:e.next=24;break;case 23:this.manageFocusAfterCloseWhenLastOverlay(t);case 24:return e.next=26,t.updateComplete;case 26:t.remove(),t.dispose(),t.trigger.dispatchEvent(new CustomEvent("sp-closed",{bubbles:!0,composed:!0,cancelable:!0,detail:{interaction:t.interaction}}));case 29:case"end":return e.stop()}}),e,this)}))),function(e,r,n){return t.apply(this,arguments)})},{key:"closeTopOverlay",value:function(){return this.hideAndCloseOverlay(this.topOverlay,!0)}}]),e}(),Fe=function(){function e(t,r,n){(0,s.Z)(this,e),this.isOpen=!1,this.owner=t,this.overlayElement=n,this.interaction=r}var t,r;return(0,l.Z)(e,[{key:"open",value:(r=(0,o.Z)((0,i.Z)().mark((function t(r){var n,o,s,l,c,u,p,d,m,h,v,g,f,b;return(0,i.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=r.abortPromise,o=r.delayed,s=r.offset,l=void 0===s?0:s,c=r.placement,u=void 0===c?"top":c,p=r.receivesFocus,d=r.notImmediatelyClosable,m=r.virtualTrigger,h=r.root,!this.isOpen){t.next=3;break}return t.abrupt("return",!0);case 3:return void 0===o&&(o=this.overlayElement.hasAttribute("delayed")),v={color:void 0,scale:void 0,lang:void 0,theme:void 0},g=new CustomEvent("sp-query-theme",{bubbles:!0,composed:!0,detail:v,cancelable:!0}),this.owner.dispatchEvent(g),f={},b=new CustomEvent("sp-overlay-query",{bubbles:!0,composed:!0,detail:f,cancelable:!0}),this.overlayElement.dispatchEvent(b),t.next=10,e.overlayStack.openOverlay((0,a.Z)({abortPromise:n,content:this.overlayElement,contentTip:f.overlayContentTipElement,delayed:o,offset:l,placement:u,trigger:this.owner,interaction:this.interaction,theme:v,receivesFocus:p,root:h,notImmediatelyClosable:d,virtualTrigger:m},f));case 10:return this.isOpen=!0,t.abrupt("return",!0);case 12:case"end":return t.stop()}}),t,this)}))),function(e){return r.apply(this,arguments)})},{key:"close",value:function(){e.overlayStack.closeOverlay(this.overlayElement)}}],[{key:"open",value:(t=(0,o.Z)((0,i.Z)().mark((function t(r,n,a,o){var s;return(0,i.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=new e(r,n,a),t.next=3,s.open(o);case 3:return t.abrupt("return",(function(){s.close()}));case 4:case"end":return t.stop()}}),t)}))),function(e,r,n,i){return t.apply(this,arguments)})},{key:"update",value:function(){var e=new CustomEvent("sp-update-overlays",{bubbles:!0,composed:!0,cancelable:!0});document.dispatchEvent(e)}}]),e}(),He=Fe;He.overlayStack=new Be},219772:(e,t,r)=>{"use strict";r.d(t,{i:()=>n});var n=function(e){return e.querySelector('button:not([tabindex="-1"]), [href]:not([tabindex="-1"]), input:not([tabindex="-1"]), select:not([tabindex="-1"]), textarea:not([tabindex="-1"]), [tabindex]:not([tabindex="-1"]), [focusable]:not([tabindex="-1"])')}},920242:(e,t,r)=>{"use strict";r.d(t,{G:()=>n});var n=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{position:"beforeend"},n=r.position,i=r.prepareCallback,a=e.length;if(0===a)return function(){return e};var o=1,s=0;("afterbegin"===n||"afterend"===n)&&(o=-1,s=a-1);var l=new Array(a),c=new Array(a),u=document.createComment("placeholder for reparented element");do{var p=e[s];i&&(c[s]=i(p)),l[s]=u.cloneNode();var d=p.parentElement||p.getRootNode();d&&d!==p&&d.replaceChild(l[s],p),t.insertAdjacentElement(n,p),s+=o}while(--a>0);return function(){return function(e,t){for(var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],n=0;n<t.length;++n){var i=t[n],a=e[n],o=a.parentElement||a.getRootNode();r[n]&&r[n](i),o&&o!==a&&o.replaceChild(i,a),delete e[n]}return t}(l,e,c)}}},165997:(e,t,r)=>{"use strict";var n,i=r(488925),a=r(85663),o=r(934331),s=r(236229),l=r(736781),c=r(993184),u=r(89211),p=r(143681),d=r(668962),m=r(749886),h=r(550833),v=(r(378702),r(913688),r(573467),r(693508),r(255187),r(587621),r(468316),r(35812),r(276839),r(824098),r(127387),r(817148),r(61018)),g=r(657357),f=r(741239),b=r(890489),y=r(192482);const _=(0,v.iv)(n||(n=(0,i.Z)(["\n:host{--spectrum-overlay-animation-distance:6px;--spectrum-overlay-animation-duration:var(\n--spectrum-animation-duration-100\n);opacity:0;pointer-events:none;transition:transform var(--spectrum-overlay-animation-duration) ease-in-out,opacity var(--spectrum-overlay-animation-duration) ease-in-out,visibility 0s linear var(--spectrum-overlay-animation-duration);visibility:hidden}:host([open]){opacity:1;pointer-events:auto;transition-delay:0s;visibility:visible}:host([open]) .spectrum-Tooltip--bottom-end,:host([open]) .spectrum-Tooltip--bottom-left,:host([open]) .spectrum-Tooltip--bottom-right,:host([open]) .spectrum-Tooltip--bottom-start,:host([placement*=bottom][open]){--spectrum-overlay-animation-distance:6px;transform:translateY(var(--spectrum-overlay-animation-distance))}:host([open]),:host([open]) .spectrum-Tooltip--top-end,:host([open]) .spectrum-Tooltip--top-left,:host([open]) .spectrum-Tooltip--top-right,:host([open]) .spectrum-Tooltip--top-start,:host([placement*=top][open]){--spectrum-overlay-animation-distance:6px;transform:translateY(calc(var(--spectrum-overlay-animation-distance)*-1))}:host([dir=rtl][open]) .spectrum-Tooltip--start,:host([dir=rtl][open]) .spectrum-Tooltip--start-bottom,:host([dir=rtl][open]) .spectrum-Tooltip--start-top,:host([open]) .spectrum-Tooltip--end,:host([open]) .spectrum-Tooltip--end-bottom,:host([open]) .spectrum-Tooltip--end-top,:host([open]) .spectrum-Tooltip--right-bottom,:host([open]) .spectrum-Tooltip--right-top,:host([placement*=right][open]){--spectrum-overlay-animation-distance:6px;transform:translateX(var(--spectrum-overlay-animation-distance))}:host([dir=rtl][open]) .spectrum-Tooltip--end,:host([dir=rtl][open]) .spectrum-Tooltip--end-bottom,:host([dir=rtl][open]) .spectrum-Tooltip--end-top,:host([open]) .spectrum-Tooltip--left-bottom,:host([open]) .spectrum-Tooltip--left-top,:host([open]) .spectrum-Tooltip--start,:host([open]) .spectrum-Tooltip--start-bottom,:host([open]) .spectrum-Tooltip--start-top,:host([placement*=left][open]){--spectrum-overlay-animation-distance:6px;transform:translateX(calc(var(--spectrum-overlay-animation-distance)*-1))}:host{--spectrum-tooltip-animation-duration:var(\n--spectrum-animation-duration-100\n);--spectrum-tooltip-animation-distance:var(--spectrum-spacing-75);--spectrum-tooltip-margin:0px;--spectrum-tooltip-height:var(--spectrum-component-height-75);--spectrum-tooltip-max-inline-size:var(--spectrum-tooltip-maximum-width);--spectrum-tooltip-border-radius:var(--spectrum-corner-radius-100);--spectrum-tooltip-icon-width:var(--spectrum-workflow-icon-size-50);--spectrum-tooltip-icon-height:var(--spectrum-workflow-icon-size-50);--spectrum-tooltip-font-size:var(--spectrum-font-size-75);--spectrum-tooltip-line-height:var(--spectrum-line-height-100);--spectrum-tooltip-cjk-line-height:var(--spectrum-line-height-cjk-100);--spectrum-tooltip-font-weight:var(--spectrum-font-weight-regular);--spectrum-tooltip-spacing-inline:var(\n--spectrum-component-edge-to-text-75\n);--spectrum-tooltip-spacing-block-start:var(\n--spectrum-component-top-to-text-75\n);--spectrum-tooltip-spacing-block-end:var(\n--spectrum-component-bottom-to-text-75\n);--spectrum-tooltip-icon-spacing-inline-start:var(\n--spectrum-text-to-visual-75\n);--spectrum-tooltip-icon-spacing-inline-end:var(\n--spectrum-text-to-visual-75\n);--spectrum-tooltip-icon-spacing-block-start:var(\n--spectrum-component-top-to-workflow-icon-75\n);--spectrum-tooltip-background-color-informative:var(\n--spectrum-informative-background-color-default\n);--spectrum-tooltip-background-color-positive:var(\n--spectrum-positive-background-color-default\n);--spectrum-tooltip-background-color-negative:var(\n--spectrum-negative-background-color-default\n);--spectrum-tooltip-content-color:var(--spectrum-white);--spectrum-tooltip-tip-inline-size:var(--spectrum-tooltip-tip-width);--spectrum-tooltip-tip-block-size:var(--spectrum-tooltip-tip-height);--spectrum-tooltip-pointer-corner-spacing:var(\n--spectrum-corner-radius-100\n);--spectrum-tooltip-background-color-default:var(\n--spectrum-tooltip-backgound-color-default-neutral\n)}@media (forced-colors:active){:host{border:1px solid #0000}#tip{--highcontrast-tooltip-background-color-default:CanvasText;--highcontrast-tooltip-background-color-informative:CanvasText;--highcontrast-tooltip-background-color-positive:CanvasText;--highcontrast-tooltip-background-color-negative:CanvasText;forced-color-adjust:none}}:host{-webkit-font-smoothing:antialiased;align-items:center;background-color:var(\n--highcontrast-tooltip-background-color-default,var(\n--mod-tooltip-background-color-default,var(--spectrum-tooltip-background-color-default)\n)\n);block-size:auto;border-radius:var(\n--mod-tooltip-border-radius,var(--spectrum-tooltip-border-radius)\n);box-sizing:border-box;color:var(\n--mod-tooltip-content-color,var(--spectrum-tooltip-content-color)\n);display:inline-flex;flex-direction:row;font-size:var(--mod-tooltip-font-size,var(--spectrum-tooltip-font-size));font-weight:var(\n--mod-tooltip-font-weight,var(--spectrum-tooltip-font-weight)\n);line-height:var(\n--mod-tooltip-line-height,var(--spectrum-tooltip-line-height)\n);max-inline-size:var(\n--mod-tooltip-max-inline-size,var(--spectrum-tooltip-max-inline-size)\n);min-block-size:var(--mod-tooltip-height,var(--spectrum-tooltip-height));padding-inline:var(\n--mod-tooltip-spacing-inline,var(--spectrum-tooltip-spacing-inline)\n);position:relative;vertical-align:top;width:auto;word-break:break-word}:host(:lang(ja)),:host(:lang(ko)),:host(:lang(zh)){line-height:var(\n--mod-tooltip-cjk-line-height,var(--spectrum-tooltip-cjk-line-height)\n)}:host{cursor:default;-webkit-user-select:none;user-select:none}p{margin:0}:host([variant=info]){background-color:var(\n--highcontrast-tooltip-background-color-informative,var(\n--mod-tooltip-background-color-informative,var(--spectrum-tooltip-background-color-informative)\n)\n)}:host([variant=positive]){background-color:var(\n--highcontrast-tooltip-background-color-positive,var(\n--mod-tooltip-background-color-positive,var(--spectrum-tooltip-background-color-positive)\n)\n)}:host([variant=negative]){background-color:var(\n--highcontrast-tooltip-background-color-negative,var(\n--mod-tooltip-background-color-negative,var(--spectrum-tooltip-background-color-negative)\n)\n)}#tip{background-color:var(\n--highcontrast-tooltip-background-color-default,var(\n--mod-tooltip-background-color-default,var(--spectrum-tooltip-background-color-default)\n)\n);clip-path:polygon(0 -5%,50% 100%,100% -5%);height:var(\n--mod-tooltip-tip-block-size,var(--spectrum-tooltip-tip-block-size)\n);left:50%;position:absolute;top:100%;transform:translateX(-50%);width:var(\n--mod-tooltip-tip-inline-size,var(--spectrum-tooltip-tip-inline-size)\n)}:host([variant=info]) #tip{background-color:var(\n--highcontrast-tooltip-background-color-informative,var(\n--mod-tooltip-background-color-informative,var(--spectrum-tooltip-background-color-informative)\n)\n)}:host([variant=positive]) #tip{background-color:var(\n--highcontrast-tooltip-background-color-positive,var(\n--mod-tooltip-background-color-positive,var(--spectrum-tooltip-background-color-positive)\n)\n)}:host([variant=negative]) #tip{background-color:var(\n--highcontrast-tooltip-background-color-negative,var(\n--mod-tooltip-background-color-negative,var(--spectrum-tooltip-background-color-negative)\n)\n)}.spectrum-Tooltip--top-end #tip,.spectrum-Tooltip--top-left #tip,.spectrum-Tooltip--top-right #tip,.spectrum-Tooltip--top-start #tip,:host([placement*=top]) #tip{top:100%}.spectrum-Tooltip--bottom-end #tip,.spectrum-Tooltip--bottom-left #tip,.spectrum-Tooltip--bottom-right #tip,.spectrum-Tooltip--bottom-start #tip,:host([placement*=bottom]) #tip{bottom:100%;clip-path:polygon(50% 0,0 105%,100% 105%);top:auto}.spectrum-Tooltip--bottom-end #tip,.spectrum-Tooltip--bottom-left #tip,.spectrum-Tooltip--bottom-right #tip,.spectrum-Tooltip--bottom-start #tip,.spectrum-Tooltip--top-end #tip,.spectrum-Tooltip--top-left #tip,.spectrum-Tooltip--top-right #tip,.spectrum-Tooltip--top-start #tip{transform:none}.spectrum-Tooltip--bottom-left #tip,.spectrum-Tooltip--top-left #tip{left:var(\n--mod-tooltip-pointer-corner-spacing,var(--spectrum-tooltip-pointer-corner-spacing)\n)}.spectrum-Tooltip--bottom-right #tip,.spectrum-Tooltip--top-right #tip{left:auto;right:var(\n--mod-tooltip-pointer-corner-spacing,var(--spectrum-tooltip-pointer-corner-spacing)\n)}.spectrum-Tooltip--bottom-start #tip,.spectrum-Tooltip--top-start #tip{left:var(\n--mod-tooltip-pointer-corner-spacing,var(--spectrum-tooltip-pointer-corner-spacing)\n);right:auto}:host([dir=rtl]) .spectrum-Tooltip--bottom-start #tip,:host([dir=rtl]) .spectrum-Tooltip--top-start #tip{left:auto;right:var(\n--mod-tooltip-pointer-corner-spacing,var(--spectrum-tooltip-pointer-corner-spacing)\n)}.spectrum-Tooltip--bottom-end #tip,.spectrum-Tooltip--top-end #tip{left:auto;right:var(\n--mod-tooltip-pointer-corner-spacing,var(--spectrum-tooltip-pointer-corner-spacing)\n)}:host([dir=rtl]) .spectrum-Tooltip--bottom-end #tip,:host([dir=rtl]) .spectrum-Tooltip--top-end #tip{left:var(\n--mod-tooltip-pointer-corner-spacing,var(--spectrum-tooltip-pointer-corner-spacing)\n);right:auto}.spectrum-Tooltip--end #tip,.spectrum-Tooltip--end-bottom #tip,.spectrum-Tooltip--end-top #tip,.spectrum-Tooltip--left-bottom #tip,.spectrum-Tooltip--left-top #tip,.spectrum-Tooltip--right-bottom #tip,.spectrum-Tooltip--right-top #tip,.spectrum-Tooltip--start #tip,.spectrum-Tooltip--start-bottom #tip,.spectrum-Tooltip--start-top #tip,:host([placement*=left]) #tip,:host([placement*=right]) #tip{height:var(\n--mod-tooltip-tip-inline-size,var(--spectrum-tooltip-tip-inline-size)\n);top:50%;transform:translateY(-50%);width:var(\n--mod-tooltip-tip-block-size,var(--spectrum-tooltip-tip-block-size)\n)}.spectrum-Tooltip--end-bottom #tip,.spectrum-Tooltip--end-top #tip,.spectrum-Tooltip--left-bottom #tip,.spectrum-Tooltip--left-top #tip,.spectrum-Tooltip--right-bottom #tip,.spectrum-Tooltip--right-top #tip,.spectrum-Tooltip--start-bottom #tip,.spectrum-Tooltip--start-top #tip{top:auto;transform:none}.spectrum-Tooltip--end #tip,.spectrum-Tooltip--end-bottom #tip,.spectrum-Tooltip--end-top #tip,.spectrum-Tooltip--right-bottom #tip,.spectrum-Tooltip--right-top #tip,:host([placement*=right]) #tip{clip-path:polygon(0 50%,105% 100%,105% 0);left:calc(var(\n--mod-tooltip-tip-block-size,\nvar(--spectrum-tooltip-tip-block-size)\n)*-1);right:100%}.spectrum-Tooltip--left-bottom #tip,.spectrum-Tooltip--left-top #tip,.spectrum-Tooltip--start #tip,.spectrum-Tooltip--start-bottom #tip,.spectrum-Tooltip--start-top #tip,:host([placement*=left]) #tip{clip-path:polygon(-5% 0,-5% 100%,100% 50%);left:100%}.spectrum-Tooltip--end-top #tip,.spectrum-Tooltip--left-top #tip,.spectrum-Tooltip--right-top #tip,.spectrum-Tooltip--start-top #tip{top:var(\n--mod-tooltip-pointer-corner-spacing,var(--spectrum-tooltip-pointer-corner-spacing)\n)}.spectrum-Tooltip--end-bottom #tip,.spectrum-Tooltip--left-bottom #tip,.spectrum-Tooltip--right-bottom #tip,.spectrum-Tooltip--start-bottom #tip{bottom:var(\n--mod-tooltip-pointer-corner-spacing,var(--spectrum-tooltip-pointer-corner-spacing)\n)}:host([dir=rtl]) .spectrum-Tooltip--end #tip,:host([dir=rtl]) .spectrum-Tooltip--end-bottom #tip,:host([dir=rtl]) .spectrum-Tooltip--end-top #tip{clip-path:polygon(-5% 0,-5% 100%,100% 50%);left:100%;right:calc(var(\n--mod-tooltip-tip-block-size,\nvar(--spectrum-tooltip-tip-block-size)\n)*-1)}:host([dir=rtl]) .spectrum-Tooltip--start #tip,:host([dir=rtl]) .spectrum-Tooltip--start-bottom #tip,:host([dir=rtl]) .spectrum-Tooltip--start-top #tip{clip-path:polygon(0 50%,105% 100%,105% 0);left:calc(var(\n--mod-tooltip-tip-block-size,\nvar(--spectrum-tooltip-tip-block-size)\n)*-1);right:100%}::slotted([slot=icon]){align-self:flex-start;flex-shrink:0;height:var(--mod-tooltip-icon-height,var(--spectrum-tooltip-icon-height));margin-block-start:var(\n--mod-tooltip-icon-spacing-block-start,var(--spectrum-tooltip-icon-spacing-block-start)\n);margin-inline-end:var(\n--mod-tooltip-icon-spacing-inline-end,var(--spectrum-tooltip-icon-spacing-inline-end)\n);margin-inline-start:calc(var(\n--mod-tooltip-icon-spacing-inline-start,\nvar(--spectrum-tooltip-icon-spacing-inline-start)\n) - var(\n--mod-tooltip-spacing-inline,\nvar(--spectrum-tooltip-spacing-inline)\n));width:var(--mod-tooltip-icon-width,var(--spectrum-tooltip-icon-width))}#label{line-height:var(\n--mod-tooltip-line-height,var(--spectrum-tooltip-line-height)\n);margin-block-end:var(\n--mod-tooltip-spacing-block-end,var(--spectrum-tooltip-spacing-block-end)\n);margin-block-start:var(\n--mod-tooltip-spacing-block-start,var(--spectrum-tooltip-spacing-block-start)\n)}.spectrum-Tooltip--top-end,.spectrum-Tooltip--top-left,.spectrum-Tooltip--top-right,.spectrum-Tooltip--top-start,:host,:host([placement*=top]){margin-bottom:calc(var(\n--mod-tooltip-tip-block-size,\nvar(--spectrum-tooltip-tip-block-size)\n) + var(--mod-tooltip-margin, var(--spectrum-tooltip-margin)))}.spectrum-Tooltip--bottom-end,.spectrum-Tooltip--bottom-left,.spectrum-Tooltip--bottom-right,.spectrum-Tooltip--bottom-start,:host([placement*=bottom]){margin-top:calc(var(\n--mod-tooltip-tip-block-size,\nvar(--spectrum-tooltip-tip-block-size)\n) + var(--mod-tooltip-margin, var(--spectrum-tooltip-margin)))}.spectrum-Tooltip--right-bottom,.spectrum-Tooltip--right-top,:host([placement*=right]){margin-left:calc(var(\n--mod-tooltip-tip-block-size,\nvar(--spectrum-tooltip-tip-block-size)\n) + var(--mod-tooltip-margin, var(--spectrum-tooltip-margin)))}.spectrum-Tooltip--left-bottom,.spectrum-Tooltip--left-top,:host([placement*=left]){margin-right:calc(var(\n--mod-tooltip-tip-block-size,\nvar(--spectrum-tooltip-tip-block-size)\n) + var(--mod-tooltip-margin, var(--spectrum-tooltip-margin)))}.spectrum-Tooltip--start,.spectrum-Tooltip--start-bottom,.spectrum-Tooltip--start-top{margin-inline-end:calc(var(\n--mod-tooltip-tip-block-size,\nvar(--spectrum-tooltip-tip-block-size)\n) + var(--mod-tooltip-margin, var(--spectrum-tooltip-margin)))}.spectrum-Tooltip--end,.spectrum-Tooltip--end-bottom,.spectrum-Tooltip--end-top{margin-inline-start:calc(var(\n--mod-tooltip-tip-block-size,\nvar(--spectrum-tooltip-tip-block-size)\n) + var(--mod-tooltip-margin, var(--spectrum-tooltip-margin)))}:host{--spectrum-tooltip-backgound-color-default-neutral:var(\n--system-spectrum-tooltip-backgound-color-default-neutral\n)}:host([placement]) #tip[style]{transform:none}\n"])));var w,k=Object.defineProperty,Z=Object.getOwnPropertyDescriptor,x=function(e,t,r,n){for(var i,a=n>1?void 0:n?Z(t,r):t,o=e.length-1;o>=0;o--)(i=e[o])&&(a=(n?i(t,r,a):i(a))||a);return n&&a&&k(t,r,a),a},S=function(e){(0,d.Z)(r,e);var t=(0,m.Z)(r);function r(){return(0,u.Z)(this,r),t.apply(this,arguments)}return(0,p.Z)(r,[{key:"disconnectedCallback",value:function(){this.dispatchEvent(new Event("disconnected"))}}]),r}((0,h.Z)(HTMLElement));(0,b.N)("tooltip-proxy",S);var $=function(e){(0,d.Z)(n,e);var t,r=(0,m.Z)(n);function n(){var e;return(0,u.Z)(this,n),(e=r.call(this))._tooltipId="sp-tooltip-describedby-helper-".concat(n.instanceCount++),e.selfManaged=!1,e.offset=6,e.hadTooltipId=!1,e.open=!1,e.placement="top",e._variant="",e.abortOverlay=function(){},e.openOverlay=function(){var t=e.parentElement,r=new Promise((function(t){e.abortOverlay=t}));e.closeOverlayCallback=(0,y.I)(t,"hover",(0,s.Z)(e),{abortPromise:r,offset:e.offset,placement:e.placement})},e.closeOverlay=function(){var t=(0,o.Z)((0,a.Z)().mark((function t(r){return(0,a.Z)().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r||"pointerleave"!==r.type||r.relatedTarget!==(0,s.Z)(e)){t.next=3;break}return e.addEventListener("pointerleave",(function(t){t.relatedTarget!==e.parentElement&&e.closeOverlay(t)}),{once:!0}),t.abrupt("return");case 3:if(e.abortOverlay&&e.abortOverlay(!0),t.t0=e.closeOverlayCallback,!t.t0){t.next=11;break}return t.next=8,e.closeOverlayCallback;case 8:t.t1=t.sent,(0,t.t1)(),delete e.closeOverlayCallback;case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),e.addEventListener("sp-overlay-query",e.onOverlayQuery),e}return(0,p.Z)(n,[{key:"variant",get:function(){return this._variant},set:function(e){if(e!==this.variant){if(["info","positive","negative"].includes(e))return this.setAttribute("variant",e),void(this._variant=e);this.removeAttribute("variant"),this._variant=""}}},{key:"onOverlayQuery",value:function(e){!e.target||e.target!==this||(e.detail.overlayContentTipElement=this.tipElement)}},{key:"generateProxy",value:function(){this._proxy||(this._proxy=document.createElement("tooltip-proxy"),this._proxy.id=this._tooltipId,this._proxy.hidden=!0,this._proxy.slot="hidden-tooltip-content",this._proxy.setAttribute("role","tooltip"),this._proxy.addEventListener("disconnected",this.closeOverlay))}},{key:"overlayWillOpenCallback",value:function(e){var t=e.trigger;this.setAttribute("aria-hidden","true"),this.generateProxy(),this._proxy.textContent=this.textContent;var r=t.getAttribute("aria-describedby")||"";this.hadTooltipId=r.search(this._tooltipId)>-1,this.insertAdjacentElement("beforebegin",this._proxy),!this.hadTooltipId&&(r?t.setAttribute("aria-describedby","".concat(r," ").concat(this._tooltipId)):t.setAttribute("aria-describedby","".concat(this._tooltipId)))}},{key:"overlayOpenCancelledCallback",value:function(e){var t=e.trigger;this.overlayCloseCallback({trigger:t})}},{key:"overlayCloseCallback",value:function(e){var t=this,r=e.trigger,n=(r.getAttribute("aria-describedby")||"").split(/\s+/);this.hadTooltipId||(n=n.filter((function(e){return e!==t._tooltipId}))),n.length?r.setAttribute("aria-describedby",n.join(" ")):r.removeAttribute("aria-describedby"),this.removeAttribute("aria-hidden"),this.removeProxy()}},{key:"removeProxy",value:function(){this._proxy.remove()}},{key:"manageTooltip",value:function(){var e=this.parentElement;this.selfManaged?(this.slot&&(this.previousSlot=this.slot),this.slot="self-managed-tooltip",e.addEventListener("pointerenter",this.openOverlay),e.addEventListener("focusin",this.openOverlay),e.addEventListener("pointerleave",this.closeOverlay),e.addEventListener("focusout",this.closeOverlay)):(this.previousSlot?this.slot=this.previousSlot:"self-managed-tooltip"===this.slot&&this.removeAttribute("slot"),e.removeEventListener("pointerenter",this.openOverlay),e.removeEventListener("focusin",this.openOverlay),e.removeEventListener("pointerleave",this.closeOverlay),e.removeEventListener("focusout",this.closeOverlay))}},{key:"render",value:function(){return(0,v.dy)(w||(w=(0,i.Z)(['\n            <slot name="icon"></slot>\n            <span id="label"><slot></slot></span>\n            <span id="tip"></span>\n        '])))}},{key:"update",value:(t=(0,o.Z)((0,a.Z)().mark((function e(t){return(0,a.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.has("open")&&this.selfManaged&&(this.open?this.openOverlay():this.closeOverlay()),this.generateProxy(),(0,l.Z)((0,c.Z)(n.prototype),"update",this).call(this,t);case 1:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"updated",value:function(e){(0,l.Z)((0,c.Z)(n.prototype),"updated",this).call(this,e),e.has("selfManaged")&&this.manageTooltip()}}],[{key:"styles",get:function(){return[_]}}]),n}(g.o);$.instanceCount=0,x([(0,f.Cb)({type:Boolean,attribute:"self-managed"})],$.prototype,"selfManaged",2),x([(0,f.Cb)({type:Number,reflect:!0})],$.prototype,"offset",2),x([(0,f.Cb)({type:Boolean,reflect:!0})],$.prototype,"open",2),x([(0,f.Cb)({reflect:!0})],$.prototype,"placement",2),x([(0,f.IO)("#tip")],$.prototype,"tipElement",2),x([(0,f.Cb)({type:String})],$.prototype,"variant",1),(0,b.N)("sp-tooltip",$)},154735:(e,t,r)=>{"use strict";r.d(t,{FV:()=>d.FV,dy:()=>m.dy,iv:()=>d.iv,oi:()=>h});var n,i,a=r(89211),o=r(143681),s=r(236229),l=r(736781),c=r(993184),u=r(668962),p=r(749886),d=(r(304906),r(855977)),m=r(799314),h=(d.fl,function(e){(0,u.Z)(r,e);var t=(0,p.Z)(r);function r(){var e;return(0,a.Z)(this,r),(e=t.apply(this,arguments)).renderOptions={host:(0,s.Z)(e)},e._$Do=void 0,e}return(0,o.Z)(r,[{key:"createRenderRoot",value:function(){var e,t,n=(0,l.Z)((0,c.Z)(r.prototype),"createRenderRoot",this).call(this);return null!==(e=(t=this.renderOptions).renderBefore)&&void 0!==e||(t.renderBefore=n.firstChild),n}},{key:"update",value:function(e){var t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),(0,l.Z)((0,c.Z)(r.prototype),"update",this).call(this,e),this._$Do=(0,m.sY)(t,this.renderRoot,this.renderOptions)}},{key:"connectedCallback",value:function(){var e;(0,l.Z)((0,c.Z)(r.prototype),"connectedCallback",this).call(this),null===(e=this._$Do)||void 0===e||e.setConnected(!0)}},{key:"disconnectedCallback",value:function(){var e;(0,l.Z)((0,c.Z)(r.prototype),"disconnectedCallback",this).call(this),null===(e=this._$Do)||void 0===e||e.setConnected(!1)}},{key:"render",value:function(){return m.Jb}}]),r}(d.fl));h.finalized=!0,h._$litElement$=!0,null===(n=globalThis.litElementHydrateSupport)||void 0===n||n.call(globalThis,{LitElement:h});var v=globalThis.litElementPolyfillSupport;null==v||v({LitElement:h}),(null!==(i=globalThis.litElementVersions)&&void 0!==i?i:globalThis.litElementVersions=[]).push("3.3.2")},270918:(e,t,r)=>{"use strict";r.d(t,{XM:()=>s,Xe:()=>l,pX:()=>o});var n=r(278387),i=r(89211),a=r(143681),o={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},s=function(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return{_$litDirective$:e,values:r}}},l=function(){function e(t){(0,i.Z)(this,e)}return(0,a.Z)(e,[{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AT",value:function(e,t,r){this._$Ct=e,this._$AM=t,this._$Ci=r}},{key:"_$AS",value:function(e,t){return this.update(e,t)}},{key:"update",value:function(e,t){return this.render.apply(this,(0,n.Z)(t))}}]),e}()},863654:(e,t,r)=>{"use strict";r.d(t,{o:()=>i});var n=r(799314),i=function(e){return null!=e?e:n.Ld}},799314:(e,t,r)=>{"use strict";r.d(t,{Jb:()=>O,Ld:()=>I,dy:()=>E,sY:()=>G});var n,i=r(668962),a=r(749886),o=r(846031),s=r(278387),l=r(760567),c=r(89211),u=r(143681),p=r(127658),d=(r(893248),r(135668),r(816221),r(573467),r(290671),r(17938),r(322511),r(542543),r(119861),r(978996),r(587621),r(538941),r(328614),r(35812),r(659153),r(308967),r(735541),r(936963),r(923304),r(356803),r(276839),r(888784),r(457685),r(817838),window),m=d.trustedTypes,h=m?m.createPolicy("lit-html",{createHTML:function(e){return e}}):void 0,v="$lit$",g="lit$".concat((Math.random()+"").slice(9),"$"),f="?"+g,b="<".concat(f,">"),y=document,_=function(){return y.createComment("")},w=function(e){return null===e||"object"!=(0,p.Z)(e)&&"function"!=typeof e},k=Array.isArray,Z="[ \t\n\f\r]",x=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,S=/-->/g,$=/>/g,A=RegExp(">|".concat(Z,"(?:([^\\s\"'>=/]+)(").concat(Z,"*=").concat(Z,"*(?:[^ \t\n\f\r\"'`<>=]|(\"|')|))|$)"),"g"),C=/'/g,T=/"/g,P=/^(?:script|style|textarea|title)$/i,z=function(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return{_$litType$:e,strings:t,values:n}}},E=z(1),O=(z(2),Symbol.for("lit-noChange")),I=Symbol.for("lit-nothing"),R=new WeakMap,j=y.createTreeWalker(y,129,null,!1),N=function(e,t){for(var r,n=e.length-1,i=[],a=2===t?"<svg>":"",o=x,s=0;s<n;s++){for(var l=e[s],c=void 0,u=void 0,p=-1,d=0;d<l.length&&(o.lastIndex=d,null!==(u=o.exec(l)));)d=o.lastIndex,o===x?"!--"===u[1]?o=S:void 0!==u[1]?o=$:void 0!==u[2]?(P.test(u[2])&&(r=RegExp("</"+u[2],"g")),o=A):void 0!==u[3]&&(o=A):o===A?">"===u[0]?(o=null!=r?r:x,p=-1):void 0===u[1]?p=-2:(p=o.lastIndex-u[2].length,c=u[1],o=void 0===u[3]?A:'"'===u[3]?T:C):o===T||o===C?o=A:o===S||o===$?o=x:(o=A,r=void 0);var m=o===A&&e[s+1].startsWith("/>")?" ":"";a+=o===x?l+b:p>=0?(i.push(c),l.slice(0,p)+v+l.slice(p)+g+m):l+g+(-2===p?(i.push(void 0),s):m)}var f=a+(e[n]||"<?>")+(2===t?"</svg>":"");if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==h?h.createHTML(f):f,i]},D=function(){function e(t,r){var n,i=t.strings,a=t._$litType$;(0,c.Z)(this,e),this.parts=[];var u=0,p=0,d=i.length-1,h=this.parts,b=N(i,a),y=(0,l.Z)(b,2),w=y[0],k=y[1];if(this.el=e.createElement(w,r),j.currentNode=this.el.content,2===a){var Z=this.el.content,x=Z.firstChild;x.remove(),Z.append.apply(Z,(0,s.Z)(x.childNodes))}for(;null!==(n=j.nextNode())&&h.length<d;){if(1===n.nodeType){if(n.hasAttributes()){var S,$=[],A=(0,o.Z)(n.getAttributeNames());try{for(A.s();!(S=A.n()).done;){var C=S.value;if(C.endsWith(v)||C.startsWith(g)){var T=k[p++];if($.push(C),void 0!==T){var z=n.getAttribute(T.toLowerCase()+v).split(g),E=/([.?@])?(.*)/.exec(T);h.push({type:1,index:u,name:E[2],strings:z,ctor:"."===E[1]?H:"?"===E[1]?q:"@"===E[1]?V:F})}else h.push({type:6,index:u})}}}catch(e){A.e(e)}finally{A.f()}for(var O=0,I=$;O<I.length;O++){var R=I[O];n.removeAttribute(R)}}if(P.test(n.tagName)){var D=n.textContent.split(g),L=D.length-1;if(L>0){n.textContent=m?m.emptyScript:"";for(var M=0;M<L;M++)n.append(D[M],_()),j.nextNode(),h.push({type:2,index:++u});n.append(D[L],_())}}}else if(8===n.nodeType)if(n.data===f)h.push({type:2,index:u});else for(var B=-1;-1!==(B=n.data.indexOf(g,B+1));)h.push({type:7,index:u}),B+=g.length-1;u++}}return(0,u.Z)(e,null,[{key:"createElement",value:function(e,t){var r=y.createElement("template");return r.innerHTML=e,r}}]),e}();function L(e,t){var r,n,i,a,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,s=arguments.length>3?arguments[3]:void 0;if(t===O)return t;var l=void 0!==s?null===(r=o._$Co)||void 0===r?void 0:r[s]:o._$Cl,c=w(t)?void 0:t._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(n=null==l?void 0:l._$AO)||void 0===n||n.call(l,!1),void 0===c?l=void 0:(l=new c(e))._$AT(e,o,s),void 0!==s?(null!==(i=(a=o)._$Co)&&void 0!==i?i:a._$Co=[])[s]=l:o._$Cl=l),void 0!==l&&(t=L(e,l._$AS(e,t.values),l,s)),t}var M=function(){function e(t,r){(0,c.Z)(this,e),this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=r}return(0,u.Z)(e,[{key:"parentNode",get:function(){return this._$AM.parentNode}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"u",value:function(e){var t,r=this._$AD,n=r.el.content,i=r.parts,a=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:y).importNode(n,!0);j.currentNode=a;for(var o=j.nextNode(),s=0,l=0,c=i[0];void 0!==c;){if(s===c.index){var u=void 0;2===c.type?u=new B(o,o.nextSibling,this,e):1===c.type?u=new c.ctor(o,c.name,c.strings,this,e):6===c.type&&(u=new W(o,this,e)),this._$AV.push(u),c=i[++l]}s!==(null==c?void 0:c.index)&&(o=j.nextNode(),s++)}return j.currentNode=y,a}},{key:"v",value:function(e){var t,r=0,n=(0,o.Z)(this._$AV);try{for(n.s();!(t=n.n()).done;){var i=t.value;void 0!==i&&(void 0!==i.strings?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}}catch(e){n.e(e)}finally{n.f()}}}]),e}(),B=function(){function e(t,r,n,i){var a;(0,c.Z)(this,e),this.type=2,this._$AH=I,this._$AN=void 0,this._$AA=t,this._$AB=r,this._$AM=n,this.options=i,this._$Cp=null===(a=null==i?void 0:i.isConnected)||void 0===a||a}return(0,u.Z)(e,[{key:"_$AU",get:function(){var e,t;return null!==(t=null===(e=this._$AM)||void 0===e?void 0:e._$AU)&&void 0!==t?t:this._$Cp}},{key:"parentNode",get:function(){var e=this._$AA.parentNode,t=this._$AM;return void 0!==t&&11===(null==e?void 0:e.nodeType)&&(e=t.parentNode),e}},{key:"startNode",get:function(){return this._$AA}},{key:"endNode",get:function(){return this._$AB}},{key:"_$AI",value:function(e){e=L(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),w(e)?e===I||null==e||""===e?(this._$AH!==I&&this._$AR(),this._$AH=I):e!==this._$AH&&e!==O&&this._(e):void 0!==e._$litType$?this.g(e):void 0!==e.nodeType?this.$(e):function(e){return k(e)||"function"==typeof(null==e?void 0:e[Symbol.iterator])}(e)?this.T(e):this._(e)}},{key:"k",value:function(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}},{key:"$",value:function(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}},{key:"_",value:function(e){this._$AH!==I&&w(this._$AH)?this._$AA.nextSibling.data=e:this.$(y.createTextNode(e)),this._$AH=e}},{key:"g",value:function(e){var t,r=e.values,n=e._$litType$,i="number"==typeof n?this._$AC(e):(void 0===n.el&&(n.el=D.createElement(n.h,this.options)),n);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===i)this._$AH.v(r);else{var a=new M(i,this),o=a.u(this.options);a.v(r),this.$(o),this._$AH=a}}},{key:"_$AC",value:function(e){var t=R.get(e.strings);return void 0===t&&R.set(e.strings,t=new D(e)),t}},{key:"T",value:function(t){k(this._$AH)||(this._$AH=[],this._$AR());var r,n,i=this._$AH,a=0,s=(0,o.Z)(t);try{for(s.s();!(n=s.n()).done;){var l=n.value;a===i.length?i.push(r=new e(this.k(_()),this.k(_()),this,this.options)):r=i[a],r._$AI(l),a++}}catch(e){s.e(e)}finally{s.f()}a<i.length&&(this._$AR(r&&r._$AB.nextSibling,a),i.length=a)}},{key:"_$AR",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling,r=arguments.length>1?arguments[1]:void 0;for(null===(e=this._$AP)||void 0===e||e.call(this,!1,!0,r);t&&t!==this._$AB;){var n=t.nextSibling;t.remove(),t=n}}},{key:"setConnected",value:function(e){var t;void 0===this._$AM&&(this._$Cp=e,null===(t=this._$AP)||void 0===t||t.call(this,e))}}]),e}(),F=function(){function e(t,r,n,i,a){(0,c.Z)(this,e),this.type=1,this._$AH=I,this._$AN=void 0,this.element=t,this.name=r,this._$AM=i,this.options=a,n.length>2||""!==n[0]||""!==n[1]?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=I}return(0,u.Z)(e,[{key:"tagName",get:function(){return this.element.tagName}},{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0,i=this.strings,a=!1;if(void 0===i)e=L(this,e,t,0),(a=!w(e)||e!==this._$AH&&e!==O)&&(this._$AH=e);else{var o,s,l=e;for(e=i[0],o=0;o<i.length-1;o++)(s=L(this,l[r+o],t,o))===O&&(s=this._$AH[o]),a||(a=!w(s)||s!==this._$AH[o]),s===I?e=I:e!==I&&(e+=(null!=s?s:"")+i[o+1]),this._$AH[o]=s}a&&!n&&this.j(e)}},{key:"j",value:function(e){e===I?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}]),e}(),H=function(e){(0,i.Z)(r,e);var t=(0,a.Z)(r);function r(){var e;return(0,c.Z)(this,r),(e=t.apply(this,arguments)).type=3,e}return(0,u.Z)(r,[{key:"j",value:function(e){this.element[this.name]=e===I?void 0:e}}]),r}(F),U=m?m.emptyScript:"",q=function(e){(0,i.Z)(r,e);var t=(0,a.Z)(r);function r(){var e;return(0,c.Z)(this,r),(e=t.apply(this,arguments)).type=4,e}return(0,u.Z)(r,[{key:"j",value:function(e){e&&e!==I?this.element.setAttribute(this.name,U):this.element.removeAttribute(this.name)}}]),r}(F),V=function(e){(0,i.Z)(r,e);var t=(0,a.Z)(r);function r(e,n,i,a,o){var s;return(0,c.Z)(this,r),(s=t.call(this,e,n,i,a,o)).type=5,s}return(0,u.Z)(r,[{key:"_$AI",value:function(e){var t;if((e=null!==(t=L(this,e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,0))&&void 0!==t?t:I)!==O){var r=this._$AH,n=e===I&&r!==I||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,i=e!==I&&(r===I||n);n&&this.element.removeEventListener(this.name,this,r),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}}},{key:"handleEvent",value:function(e){var t,r;"function"==typeof this._$AH?this._$AH.call(null!==(r=null===(t=this.options)||void 0===t?void 0:t.host)&&void 0!==r?r:this.element,e):this._$AH.handleEvent(e)}}]),r}(F),W=function(){function e(t,r,n){(0,c.Z)(this,e),this.element=t,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}return(0,u.Z)(e,[{key:"_$AU",get:function(){return this._$AM._$AU}},{key:"_$AI",value:function(e){L(this,e)}}]),e}(),J=d.litHtmlPolyfillSupport;null==J||J(D,B),(null!==(n=d.litHtmlVersions)&&void 0!==n?n:d.litHtmlVersions=[]).push("2.7.4");var G=function(e,t,r){var n,i,a=null!==(n=null==r?void 0:r.renderBefore)&&void 0!==n?n:t,o=a._$litPart$;if(void 0===o){var s=null!==(i=null==r?void 0:r.renderBefore)&&void 0!==i?i:null;a._$litPart$=o=new B(t.insertBefore(_(),s),s,void 0,null!=r?r:{})}return o._$AI(e),o}},741239:(e,t,r)=>{"use strict";r.d(t,{Cb:()=>n.C,IO:()=>i.I});var n=r(61739),i=(r(171155),r(221075),r(466735));r(845191),r(789708),r(705432),r(314721)},53794:(e,t,r)=>{"use strict";r.d(t,{o:()=>n.o});var n=r(863654)},988042:(e,t,r)=>{"use strict";r.d(t,{V:()=>p});var n=r(760567),i=r(89211),a=r(143681),o=r(400989),s=r(668962),l=r(749886),c=(r(457685),r(936963),r(923304),r(64209),r(573467),r(808410),r(35812),r(255187),r(203454),r(587621),r(558901),r(816221),r(485143),r(290671),r(17938),r(508460),r(356803),r(893248),r(799314)),u=r(270918),p=(0,u.XM)(function(e){(0,s.Z)(r,e);var t=(0,l.Z)(r);function r(e){var n,a;if((0,i.Z)(this,r),n=t.call(this,e),e.type!==u.pX.ATTRIBUTE||"style"!==e.name||(null===(a=e.strings)||void 0===a?void 0:a.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");return(0,o.Z)(n)}return(0,a.Z)(r,[{key:"render",value:function(e){return Object.keys(e).reduce((function(t,r){var n=e[r];return null==n?t:t+"".concat(r=r.includes("-")?r:r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase(),":").concat(n,";")}),"")}},{key:"update",value:function(e,t){var r=this,i=(0,n.Z)(t,1)[0],a=e.element.style;if(void 0===this.ut){for(var o in this.ut=new Set,i)this.ut.add(o);return this.render(i)}for(var s in this.ut.forEach((function(e){null==i[e]&&(r.ut.delete(e),e.includes("-")?a.removeProperty(e):a[e]="")})),i){var l=i[s];if(null!=l){this.ut.add(s);var u="string"==typeof l&&l.endsWith(" !important");s.includes("-")||u?a.setProperty(s,u?l.slice(0,-11):l,u?"important":""):a[s]=l}}return c.Jb}}]),r}(u.Xe))},61018:(e,t,r)=>{"use strict";r.d(t,{FV:()=>n.FV,dy:()=>n.dy,iv:()=>n.iv,oi:()=>n.oi}),r(855977),r(799314);var n=r(154735)},673136:(e,t,r)=>{"use strict";function n(e,t,r,n,i){var a={};return Object.keys(n).forEach((function(e){a[e]=n[e]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce((function(r,n){return n(e,t,r)||r}),a),i&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(i):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(e,t,a),a=null),a}r.d(t,{Z:()=>n})},772686:(e,t,r)=>{"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,{Z:()=>n})},623078:(e,t,r)=>{"use strict";function n(e){if(Array.isArray(e))return e}r.d(t,{Z:()=>n})},623110:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(772686);function i(e){if(Array.isArray(e))return(0,n.Z)(e)}},236229:(e,t,r)=>{"use strict";function n(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.d(t,{Z:()=>n})},934331:(e,t,r)=>{"use strict";function n(e,t,r,n,i,a,o){try{var s=e[a](o),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,i)}function i(e){return function(){var t=this,r=arguments;return new Promise((function(i,a){var o=e.apply(t,r);function s(e){n(o,i,a,s,l,"next",e)}function l(e){n(o,i,a,s,l,"throw",e)}s(void 0)}))}}r.d(t,{Z:()=>i})},89211:(e,t,r)=>{"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.d(t,{Z:()=>n})},792228:(e,t,r)=>{"use strict";function n(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}r.d(t,{Z:()=>n})},74424:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=0;function i(e){return"__private_"+n+++"_"+e}},387358:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(759269),i=r(969826);function a(e,t,r){return a=(0,i.Z)()?Reflect.construct.bind():function(e,t,r){var i=[null];i.push.apply(i,t);var a=new(Function.bind.apply(e,i));return r&&(0,n.Z)(a,r.prototype),a},a.apply(null,arguments)}},143681:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(626110);function i(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,n.Z)(i.key),i)}}function a(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}},846031:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(757387);function i(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=(0,n.Z)(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0,a=function(){};return{s:a,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,o=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw o}}}}},749886:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(993184),i=r(969826),a=r(400989);function o(e){var t=(0,i.Z)();return function(){var r,i=(0,n.Z)(e);if(t){var o=(0,n.Z)(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return(0,a.Z)(this,r)}}},725115:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(626110);function i(e,t,r){return(t=(0,n.Z)(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},736781:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(543188);function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var i=(0,n.Z)(e,t);if(i){var a=Object.getOwnPropertyDescriptor(i,t);return a.get?a.get.call(arguments.length<3?e:r):a.value}},i.apply(this,arguments)}},993184:(e,t,r)=>{"use strict";function n(e){return n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},n(e)}r.d(t,{Z:()=>n})},668962:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(759269);function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,n.Z)(e,t)}},282466:(e,t,r)=>{"use strict";function n(e,t,r,n){r&&Object.defineProperty(e,t,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(n):void 0})}r.d(t,{Z:()=>n})},746622:(e,t,r)=>{"use strict";function n(e){return-1!==Function.toString.call(e).indexOf("[native code]")}r.d(t,{Z:()=>n})},969826:(e,t,r)=>{"use strict";function n(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}r.d(t,{Z:()=>n})},684310:(e,t,r)=>{"use strict";function n(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}r.d(t,{Z:()=>n})},20599:(e,t,r)=>{"use strict";function n(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,o,s=[],l=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}r.d(t,{Z:()=>n})},731885:(e,t,r)=>{"use strict";function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(t,{Z:()=>n})},652099:(e,t,r)=>{"use strict";function n(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.d(t,{Z:()=>n})},829293:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(725115);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}},400989:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(127658),i=r(236229);function a(e,t){if(t&&("object"===(0,n.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.Z)(e)}},85663:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(127658);function i(){i=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var i=t&&t.prototype instanceof h?t:h,o=Object.create(i.prototype),s=new A(n||[]);return a(o,"_invoke",{value:Z(e,r,s)}),o}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=p;var m={};function h(){}function v(){}function g(){}var f={};u(f,s,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(C([])));y&&y!==t&&r.call(y,s)&&(f=y);var _=g.prototype=h.prototype=Object.create(f);function w(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function i(a,o,s,l){var c=d(e[a],e,o);if("throw"!==c.type){var u=c.arg,p=u.value;return p&&"object"==(0,n.Z)(p)&&r.call(p,"__await")?t.resolve(p.__await).then((function(e){i("next",e,s,l)}),(function(e){i("throw",e,s,l)})):t.resolve(p).then((function(e){u.value=e,s(u)}),(function(e){return i("throw",e,s,l)}))}l(c.arg)}var o;a(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){i(e,r,t,n)}))}return o=o?o.then(n,n):n()}})}function Z(e,t,r){var n="suspendedStart";return function(i,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===i)throw a;return{value:void 0,done:!0}}for(r.method=i,r.arg=a;;){var o=r.delegate;if(o){var s=x(o,r);if(s){if(s===m)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var l=d(e,t,r);if("normal"===l.type){if(n=r.done?"completed":"suspendedYield",l.arg===m)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n="completed",r.method="throw",r.arg=l.arg)}}}function x(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var i=d(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,m;var a=i.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,m):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,m)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function $(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function C(e){if(e){var t=e[s];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,i=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:T}}function T(){return{value:void 0,done:!0}}return v.prototype=g,a(_,"constructor",{value:g,configurable:!0}),a(g,"constructor",{value:v,configurable:!0}),v.displayName=u(g,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,u(e,c,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(k.prototype),u(k.prototype,l,(function(){return this})),e.AsyncIterator=k,e.async=function(t,r,n,i,a){void 0===a&&(a=Promise);var o=new k(p(t,r,n,i),a);return e.isGeneratorFunction(r)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},w(_),u(_,c,"Generator"),u(_,s,(function(){return this})),u(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=C,A.prototype={constructor:A,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach($),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return o.type="throw",o.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],o=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var s=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(s&&l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),$(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;$(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:C(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),m}},e}},759269:(e,t,r)=>{"use strict";function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}r.d(t,{Z:()=>n})},760567:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(623078),i=r(20599),a=r(757387),o=r(731885);function s(e,t){return(0,n.Z)(e)||(0,i.Z)(e,t)||(0,a.Z)(e,t)||(0,o.Z)()}},543188:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(993184);function i(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,n.Z)(e)););return e}},488925:(e,t,r)=>{"use strict";function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.d(t,{Z:()=>n})},278387:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(623110),i=r(684310),a=r(757387),o=r(652099);function s(e){return(0,n.Z)(e)||(0,i.Z)(e)||(0,a.Z)(e)||(0,o.Z)()}},671077:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(127658);function i(e,t){if("object"!==(0,n.Z)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!==(0,n.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},626110:(e,t,r)=>{"use strict";r.d(t,{Z:()=>a});var n=r(127658),i=r(671077);function a(e){var t=(0,i.Z)(e,"string");return"symbol"===(0,n.Z)(t)?t:String(t)}},127658:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.d(t,{Z:()=>n})},757387:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(772686);function i(e,t){if(e){if("string"==typeof e)return(0,n.Z)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,n.Z)(e,t):void 0}}},550833:(e,t,r)=>{"use strict";r.d(t,{Z:()=>s});var n=r(993184),i=r(759269),a=r(746622),o=r(387358);function s(e){var t="function"==typeof Map?new Map:void 0;return s=function(e){if(null===e||!(0,a.Z)(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return(0,o.Z)(e,arguments,(0,n.Z)(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,i.Z)(r,e)},s(e)}}},a={};function o(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={id:e,loaded:!1,exports:{}};return i[e].call(r.exports,r,r.exports,o),r.loaded=!0,r.exports}o.m=i,o.c=a,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>r[e]));return a.default=()=>r,o.d(i,a),i},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,r)=>(o.f[r](e,t),t)),[])),o.u=e=>(({140:"sdk/ko-KR",290:"sdk/ru-RU",692:"sdk/pl-PL",858:"sdk/fi-FI",1202:"sdk/vi-VN",1363:"sdk/cs-CZ",2358:"sdk/id-ID",3025:"sdk/fr-FR",3029:"sdk/uk-UA",3366:"sdk/es-ES",3469:"sdk/zh-CN",3498:"sdk/ja-JP",3607:"sdk/hu-HU",3763:"shared_utils/ImsUtils",4266:"sdk/zh-TW",4947:"debug/debugphotooverlays",5847:"sdk/th-TH",6234:"sdk/sv-SE",6873:"sdk/en-GB",6906:"sdk/da-DK",7041:"sdk/tr-TR",7301:"sdk/nl-NL",7343:"sdk/fr-CA",7352:"sdk/es-MX",8486:"sdk/nb-NO",8715:"sdk/de-DE",8743:"sdk/pt-BR",9092:"sdk/it-IT"}[e]||e)+"."+{140:"66f0169b2ccb3b1fe4e6",290:"c15963cf5525a6f2228f",692:"d1d6e48afd78a7bdcf5c",858:"6721af4d748e934b0245",1202:"a3ed6140c1ec290e747e",1363:"eb72c97a58503b0f85c1",2358:"fecee286c47d97326763",3025:"32fccc8b775b93a13bb2",3029:"4790e90157f2b607ea4a",3366:"6ea3a86232b1792744e3",3469:"a74f38101dcd7f4c5ae7",3498:"ff83a25a08bfde71a228",3607:"441fd671b06aaaceb3fd",3763:"9c0ee070cc1d99d6266e",4266:"fedc0f05229214158298",4644:"82b6e092c8117006914f",4865:"04cddb1c2ef158b3689d",4947:"91d302352957a1e6e9fc",5847:"9dda3cf83f955d093e2e",6234:"b015a98946b518346c4f",6873:"97401c9bcc05b01db681",6906:"7e56ee70ee1336a9bdbc",7041:"8218024a0b01bbd16f40",7301:"27b8caeebd8dbdf416ad",7343:"1099714b35dcbc30f907",7352:"62467a9ea87169252692",8486:"b6596ef9fcc3b99be186",8715:"c02387d628833e6a7341",8743:"ab9f5447b5b324558db6",9092:"ef5e978cce7f80caca57",9788:"e8ae89a987a833a8d1ed"}[e]+".js"),o.miniCssF=e=>{},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},n="LrWeb:",o.l=(e,t,i,a)=>{if(r[e])r[e].push(t);else{var s,l;if(void 0!==i)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var p=c[u];if(p.getAttribute("src")==e||p.getAttribute("data-webpack")==n+i){s=p;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",n+i),s.src=e),r[e]=[t];var d=(t,n)=>{s.onerror=s.onload=null,clearTimeout(m);var i=r[e];if(delete r[e],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((e=>e(n))),t)return t(n)},m=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),l&&document.head.appendChild(s)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),o.p="/legacy/",(()=>{o.b=document.baseURI||self.location.href;var e={6890:0,3763:0,4644:0,4893:0,9861:0,8121:0,3944:0,9788:0};o.f.j=(t,r)=>{var n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var i=new Promise(((r,i)=>n=e[t]=[r,i]));r.push(n[2]=i);var a=o.p+o.u(t),s=new Error;o.l(a,(r=>{if(o.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+i+": "+a+")",s.name="ChunkLoadError",s.type=i,s.request=a,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,i,[a,s,l]=r,c=0;if(a.some((t=>0!==e[t]))){for(n in s)o.o(s,n)&&(o.m[n]=s[n]);l&&l(o)}for(t&&t(r);c<a.length;c++)i=a[c],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=self.webpackChunkLrWeb=self.webpackChunkLrWeb||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),o.nc=void 0,o(o.s=540212)})();