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

(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{1252:function(module,exports,__webpack_require__){function webpackAsyncContext(req){var ids=map[req];return ids?__webpack_require__.e(ids[1]).then(function(){var module=__webpack_require__(ids[0]);return"object"==typeof module&&module&&module.__esModule?module:Object.assign({},"object"==typeof module&&module,{default:module})}):Promise.resolve().then(function(){var e=new Error("Cannot find module \""+req+"\".");throw e.code="MODULE_NOT_FOUND",e})}var map={"./":[1251,244],"./af":[771,240],"./af.js":[771,240],"./agq":[770,239],"./agq.js":[770,239],"./ak":[769,238],"./ak.js":[769,238],"./am":[768,237],"./am.js":[768,237],"./ar":[767,236],"./ar.js":[767,236],"./ars":[766,235],"./ars.js":[766,235],"./as":[765,234],"./as.js":[765,234],"./asa":[764,233],"./asa.js":[764,233],"./ast":[763,232],"./ast.js":[763,232],"./az":[762,231],"./az.js":[762,231],"./bas":[761,230],"./bas.js":[761,230],"./be":[760,229],"./be.js":[760,229],"./bem":[759,228],"./bem.js":[759,228],"./bez":[758,227],"./bez.js":[758,227],"./bg":[757,226],"./bg.js":[757,226],"./bh":[756,225],"./bh.js":[756,225],"./bm":[755,224],"./bm.js":[755,224],"./bn":[754,223],"./bn.js":[754,223],"./bo":[753,222],"./bo.js":[753,222],"./br":[752,221],"./br.js":[752,221],"./brx":[751,220],"./brx.js":[751,220],"./bs":[750,219],"./bs.js":[750,219],"./ca":[749,218],"./ca.js":[749,218],"./ce":[748,217],"./ce.js":[748,217],"./cgg":[747,216],"./cgg.js":[747,216],"./chr":[746,215],"./chr.js":[746,215],"./ckb":[745,214],"./ckb.js":[745,214],"./cs":[744,213],"./cs.js":[744,213],"./cu":[743,212],"./cu.js":[743,212],"./cy":[742,211],"./cy.js":[742,211],"./da":[741,210],"./da.js":[741,210],"./dav":[740,209],"./dav.js":[740,209],"./de":[739,208],"./de.js":[739,208],"./dje":[738,207],"./dje.js":[738,207],"./dsb":[737,206],"./dsb.js":[737,206],"./dua":[736,205],"./dua.js":[736,205],"./dv":[735,204],"./dv.js":[735,204],"./dyo":[734,203],"./dyo.js":[734,203],"./dz":[733,202],"./dz.js":[733,202],"./ebu":[732,201],"./ebu.js":[732,201],"./ee":[731,200],"./ee.js":[731,200],"./el":[730,199],"./el.js":[730,199],"./en":[729,198],"./en.js":[729,198],"./eo":[728,197],"./eo.js":[728,197],"./es":[727,196],"./es.js":[727,196],"./et":[726,195],"./et.js":[726,195],"./eu":[725,194],"./eu.js":[725,194],"./ewo":[724,193],"./ewo.js":[724,193],"./fa":[723,192],"./fa.js":[723,192],"./ff":[722,191],"./ff.js":[722,191],"./fi":[721,190],"./fi.js":[721,190],"./fil":[720,189],"./fil.js":[720,189],"./fo":[719,188],"./fo.js":[719,188],"./fr":[718,187],"./fr.js":[718,187],"./fur":[717,186],"./fur.js":[717,186],"./fy":[716,185],"./fy.js":[716,185],"./ga":[715,184],"./ga.js":[715,184],"./gd":[714,183],"./gd.js":[714,183],"./gl":[713,182],"./gl.js":[713,182],"./gsw":[712,181],"./gsw.js":[712,181],"./gu":[711,180],"./gu.js":[711,180],"./guw":[710,179],"./guw.js":[710,179],"./guz":[709,178],"./guz.js":[709,178],"./gv":[708,177],"./gv.js":[708,177],"./ha":[707,176],"./ha.js":[707,176],"./haw":[706,175],"./haw.js":[706,175],"./he":[705,174],"./he.js":[705,174],"./hi":[704,173],"./hi.js":[704,173],"./hr":[703,172],"./hr.js":[703,172],"./hsb":[702,171],"./hsb.js":[702,171],"./hu":[701,170],"./hu.js":[701,170],"./hy":[700,169],"./hy.js":[700,169],"./id":[699,168],"./id.js":[699,168],"./ig":[698,167],"./ig.js":[698,167],"./ii":[697,166],"./ii.js":[697,166],"./in":[696,165],"./in.js":[696,165],"./index":[1250,243],"./index.js":[1249,242],"./is":[695,164],"./is.js":[695,164],"./it":[694,163],"./it.js":[694,163],"./iu":[693,162],"./iu.js":[693,162],"./iw":[692,161],"./iw.js":[692,161],"./ja":[691,160],"./ja.js":[691,160],"./jbo":[690,159],"./jbo.js":[690,159],"./jgo":[689,158],"./jgo.js":[689,158],"./ji":[688,157],"./ji.js":[688,157],"./jmc":[687,156],"./jmc.js":[687,156],"./jv":[686,155],"./jv.js":[686,155],"./jw":[685,154],"./jw.js":[685,154],"./ka":[684,153],"./ka.js":[684,153],"./kab":[683,152],"./kab.js":[683,152],"./kaj":[682,151],"./kaj.js":[682,151],"./kam":[681,150],"./kam.js":[681,150],"./kcg":[680,149],"./kcg.js":[680,149],"./kde":[679,148],"./kde.js":[679,148],"./kea":[678,147],"./kea.js":[678,147],"./khq":[677,146],"./khq.js":[677,146],"./ki":[676,145],"./ki.js":[676,145],"./kk":[675,144],"./kk.js":[675,144],"./kkj":[674,143],"./kkj.js":[674,143],"./kl":[673,142],"./kl.js":[673,142],"./kln":[672,141],"./kln.js":[672,141],"./km":[671,140],"./km.js":[671,140],"./kn":[670,139],"./kn.js":[670,139],"./ko":[669,138],"./ko.js":[669,138],"./kok":[668,137],"./kok.js":[668,137],"./ks":[667,136],"./ks.js":[667,136],"./ksb":[666,135],"./ksb.js":[666,135],"./ksf":[665,134],"./ksf.js":[665,134],"./ksh":[664,133],"./ksh.js":[664,133],"./ku":[663,132],"./ku.js":[663,132],"./kw":[662,131],"./kw.js":[662,131],"./ky":[661,130],"./ky.js":[661,130],"./lag":[660,129],"./lag.js":[660,129],"./lb":[659,128],"./lb.js":[659,128],"./lg":[658,127],"./lg.js":[658,127],"./lkt":[657,126],"./lkt.js":[657,126],"./ln":[656,125],"./ln.js":[656,125],"./lo":[655,124],"./lo.js":[655,124],"./lrc":[654,123],"./lrc.js":[654,123],"./lt":[653,122],"./lt.js":[653,122],"./lu":[652,121],"./lu.js":[652,121],"./luo":[651,120],"./luo.js":[651,120],"./luy":[650,119],"./luy.js":[650,119],"./lv":[649,118],"./lv.js":[649,118],"./mas":[648,117],"./mas.js":[648,117],"./mer":[647,116],"./mer.js":[647,116],"./mfe":[646,115],"./mfe.js":[646,115],"./mg":[645,114],"./mg.js":[645,114],"./mgh":[644,113],"./mgh.js":[644,113],"./mgo":[643,112],"./mgo.js":[643,112],"./mk":[642,111],"./mk.js":[642,111],"./ml":[641,110],"./ml.js":[641,110],"./mn":[640,109],"./mn.js":[640,109],"./mo":[639,108],"./mo.js":[639,108],"./mr":[638,107],"./mr.js":[638,107],"./ms":[637,106],"./ms.js":[637,106],"./mt":[636,105],"./mt.js":[636,105],"./mua":[635,104],"./mua.js":[635,104],"./my":[634,103],"./my.js":[634,103],"./mzn":[633,102],"./mzn.js":[633,102],"./nah":[632,101],"./nah.js":[632,101],"./naq":[631,100],"./naq.js":[631,100],"./nb":[630,99],"./nb.js":[630,99],"./nd":[629,98],"./nd.js":[629,98],"./nds":[628,97],"./nds.js":[628,97],"./ne":[627,96],"./ne.js":[627,96],"./nl":[626,95],"./nl.js":[626,95],"./nmg":[625,94],"./nmg.js":[625,94],"./nn":[624,93],"./nn.js":[624,93],"./nnh":[623,92],"./nnh.js":[623,92],"./no":[622,91],"./no.js":[622,91],"./nqo":[621,90],"./nqo.js":[621,90],"./nr":[620,89],"./nr.js":[620,89],"./nso":[619,88],"./nso.js":[619,88],"./nus":[618,87],"./nus.js":[618,87],"./ny":[617,86],"./ny.js":[617,86],"./nyn":[616,85],"./nyn.js":[616,85],"./om":[615,84],"./om.js":[615,84],"./or":[614,83],"./or.js":[614,83],"./os":[613,82],"./os.js":[613,82],"./pa":[612,81],"./pa.js":[612,81],"./pap":[611,80],"./pap.js":[611,80],"./pl":[610,79],"./pl.js":[610,79],"./prg":[609,78],"./prg.js":[609,78],"./ps":[608,77],"./ps.js":[608,77],"./pt":[607,76],"./pt.js":[607,76],"./qu":[606,75],"./qu.js":[606,75],"./rm":[605,74],"./rm.js":[605,74],"./rn":[604,73],"./rn.js":[604,73],"./ro":[603,72],"./ro.js":[603,72],"./rof":[602,71],"./rof.js":[602,71],"./ru":[601,70],"./ru.js":[601,70],"./rw":[600,69],"./rw.js":[600,69],"./rwk":[599,68],"./rwk.js":[599,68],"./sah":[598,67],"./sah.js":[598,67],"./saq":[597,66],"./saq.js":[597,66],"./sbp":[596,65],"./sbp.js":[596,65],"./sdh":[595,64],"./sdh.js":[595,64],"./se":[594,63],"./se.js":[594,63],"./seh":[593,62],"./seh.js":[593,62],"./ses":[592,61],"./ses.js":[592,61],"./sg":[591,60],"./sg.js":[591,60],"./sh":[590,59],"./sh.js":[590,59],"./shi":[589,58],"./shi.js":[589,58],"./si":[588,57],"./si.js":[588,57],"./sk":[587,56],"./sk.js":[587,56],"./sl":[586,55],"./sl.js":[586,55],"./sma":[585,54],"./sma.js":[585,54],"./smi":[584,53],"./smi.js":[584,53],"./smj":[583,52],"./smj.js":[583,52],"./smn":[582,51],"./smn.js":[582,51],"./sms":[581,50],"./sms.js":[581,50],"./sn":[580,49],"./sn.js":[580,49],"./so":[579,48],"./so.js":[579,48],"./sq":[578,47],"./sq.js":[578,47],"./sr":[577,46],"./sr.js":[577,46],"./ss":[576,45],"./ss.js":[576,45],"./ssy":[575,44],"./ssy.js":[575,44],"./st":[574,43],"./st.js":[574,43],"./sv":[573,42],"./sv.js":[573,42],"./sw":[572,41],"./sw.js":[572,41],"./syr":[571,40],"./syr.js":[571,40],"./ta":[570,39],"./ta.js":[570,39],"./te":[569,38],"./te.js":[569,38],"./teo":[568,37],"./teo.js":[568,37],"./th":[567,36],"./th.js":[567,36],"./ti":[566,35],"./ti.js":[566,35],"./tig":[565,34],"./tig.js":[565,34],"./tk":[564,33],"./tk.js":[564,33],"./tl":[563,32],"./tl.js":[563,32],"./tn":[562,31],"./tn.js":[562,31],"./to":[561,30],"./to.js":[561,30],"./tr":[560,29],"./tr.js":[560,29],"./ts":[559,28],"./ts.js":[559,28],"./twq":[558,27],"./twq.js":[558,27],"./tzm":[557,26],"./tzm.js":[557,26],"./ug":[556,25],"./ug.js":[556,25],"./uk":[555,24],"./uk.js":[555,24],"./ur":[554,23],"./ur.js":[554,23],"./uz":[553,22],"./uz.js":[553,22],"./vai":[552,21],"./vai.js":[552,21],"./ve":[551,20],"./ve.js":[551,20],"./vi":[550,19],"./vi.js":[550,19],"./vo":[549,18],"./vo.js":[549,18],"./vun":[548,17],"./vun.js":[548,17],"./wa":[547,16],"./wa.js":[547,16],"./wae":[546,15],"./wae.js":[546,15],"./wo":[545,14],"./wo.js":[545,14],"./xh":[544,13],"./xh.js":[544,13],"./xog":[543,12],"./xog.js":[543,12],"./yav":[542,11],"./yav.js":[542,11],"./yi":[541,10],"./yi.js":[541,10],"./yo":[540,9],"./yo.js":[540,9],"./yue":[539,8],"./yue.js":[539,8],"./zgh":[538,7],"./zgh.js":[538,7],"./zh":[537,6],"./zh.js":[537,6],"./zu":[536,5],"./zu.js":[536,5]};webpackAsyncContext.keys=function(){return Object.keys(map)},webpackAsyncContext.id=1252,module.exports=webpackAsyncContext},1260:function(){},1267:function(){},1275:function(){},1278:function(){},1282:function(){},1287:function(){},1289:function(){},355:function(module,__webpack_exports__,__webpack_require__){"use strict";function a11y_onLoadEvent(){function focusTriggersKeyboardModality(el){return el.matches(keyboardModalityWhitelist)}let hadKeyboardEvent=!1;const keyboardModalityWhitelist="input:not([type]),input[type=text],input[type=checkbox],input[type=radio],input[type=number],input[type=date],input[type=time],input[type=datetime],textarea,[role=textbox],select,[supports-modality=keyboard]";(function(){const css="body:not([modality=keyboard]) :focus { outline: none; }",head=document.head||document.getElementsByTagName("head")[0],style=document.createElement("style");style.type="text/css",style.id="disable-focus-ring",style.styleSheet?style.styleSheet.cssText=css:style.appendChild(document.createTextNode(css)),head.appendChild(style)})(),document.body.addEventListener("keydown",evt=>{a11y_shiftKeyPressed=evt.shiftKey,hadKeyboardEvent=!0,setTimeout(()=>{hadKeyboardEvent=!1},0)},!0),document.body.addEventListener("keyup",evt=>{a11y_shiftKeyPressed=evt.shiftKey}),document.body.addEventListener("focus",evt=>{(hadKeyboardEvent||focusTriggersKeyboardModality(evt.target))&&document.body.setAttribute("modality","keyboard")},!0),document.body.addEventListener("mousedown",()=>{document.body.removeAttribute("modality")},!0)}function initializeHelper_getCachedMessages(locale){const messageCache=localstorage.a.getGlobalItem(constants.a.LOCALSTORE_KEYS.LOCALE_CACHE_PREFIX);if(messageCache&&window.appVersionNumber&&messageCache.appVersionNumber===window.appVersionNumber&&messageCache.localeID===locale&&messageCache.messages)return Promise.resolve(messageCache.messages)}async function initializeHelper_getLocaleData(locale){const country=locale.substr(0,2),mod=await __webpack_require__(1252)(`./${country}`);return mod.default}async function initializeHelper_getMessagesFromJson(locale){return new Promise(resolve=>{i18n.a._readLocalJSONTable(`./locale/${locale}/strings.json`,resolve)})}function ReplaceAppDataTemplates_getAppName(){return{AEFT:"After Effects",DRWV:"Dreamweaver",IDSN:"InDesign",ILST:"Illustrator",MUSE:"Muse",PHXS:"Photoshop",PPRO:"Premiere Pro",LIRM:"Lightroom",SIMU:"CC App"}[host["default"].data.hostID]}function ReplaceAppDataTemplates_getAppData(){return{appName:ReplaceAppDataTemplates_getAppName(),userName:MainStore.a.user.UserProfile.firstName}}function ReplaceAppDataTemplates_replaceAppData(message,optionalFallbackMessage){const appData=ReplaceAppDataTemplates_getAppData();let _m=message;if(!_m)return optionalFallbackMessage?ReplaceAppDataTemplates_replaceAppData(optionalFallbackMessage):null;for(let key in appData)!0==!!appData[key]&&(_m=_m.replace(new RegExp(`\{${key}\}`,"g"),appData[key]));return /({\w+})/.test(_m)?optionalFallbackMessage?ReplaceAppDataTemplates_replaceAppData(optionalFallbackMessage):null:_m}function closeButton_objectWithoutProperties(obj,keys){var target={};for(var i in obj)0<=keys.indexOf(i)||Object.prototype.hasOwnProperty.call(obj,i)&&(target[i]=obj[i]);return target}function disconnectedState_objectWithoutProperties(obj,keys){var target={};for(var i in obj)0<=keys.indexOf(i)||Object.prototype.hasOwnProperty.call(obj,i)&&(target[i]=obj[i]);return target}function Video_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null==arguments[i]?{}:arguments[i],ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){Video_defineProperty(target,key,source[key])})}return target}function Video_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function debounce_debounce(func,wait=constants.a.DEBOUNCE.WAIT,options=constants.a.DEBOUNCE.OPTIONS){function invokeFunc(time){const args=lastArgs,thisArg=lastThis;return lastArgs=lastThis=void 0,lastInvokeTime=time,result=func.apply(thisArg,args),result}function leadingEdge(time){return lastInvokeTime=time,timerId=setTimeout(timerExpired,wait),leading?invokeFunc(time):result}function remainingWait(time){const timeSinceLastCall=time-lastCallTime,timeSinceLastInvoke=time-lastInvokeTime,result=wait-timeSinceLastCall;return maxing?_Mathmin(result,maxWait-timeSinceLastInvoke):result}function shouldInvoke(time){const timeSinceLastCall=time-lastCallTime,timeSinceLastInvoke=time-lastInvokeTime;return void 0===lastCallTime||timeSinceLastCall>=wait||0>timeSinceLastCall||maxing&&timeSinceLastInvoke>=maxWait}function timerExpired(){const time=Date.now();return shouldInvoke(time)?trailingEdge(time):void(timerId=setTimeout(timerExpired,remainingWait(time)))}function trailingEdge(time){return(timerId=void 0,trailing&&lastArgs)?invokeFunc(time):(lastArgs=lastThis=void 0,result)}function cancel(){void 0!==timerId&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0}function flush(){return void 0===timerId?result:trailingEdge(Date.now())}let lastInvokeTime=0,leading=!1,maxing=!1,trailing=!0,lastArgs,lastThis,maxWait,result,timerId,lastCallTime;if("function"!=typeof func)throw new TypeError("Expected a function");wait=+wait||0,"object"==typeof options&&(leading=!!options.leading,maxing="maxWait"in options,maxWait=maxing?_Mathmax(+options.maxWait||0,wait):maxWait,trailing="trailing"in options?!!options.trailing:trailing);let debounced=function(...args){const time=Date.now(),isInvoking=shouldInvoke(time);if(lastArgs=args,lastThis=this,lastCallTime=time,isInvoking){if(void 0===timerId)return leadingEdge(lastCallTime);if(maxing)return timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return void 0===timerId&&(timerId=setTimeout(timerExpired,wait)),result};return debounced.cancel=cancel,debounced.flush=flush,debounced}function S_Illu_DragNDropAe_160x120_objectWithoutProperties(obj,keys){var target={};for(var i in obj)0<=keys.indexOf(i)||Object.prototype.hasOwnProperty.call(obj,i)&&(target[i]=obj[i]);return target}function S_Illu_DragNDropPs_160x120_objectWithoutProperties(obj,keys){var target={};for(var i in obj)0<=keys.indexOf(i)||Object.prototype.hasOwnProperty.call(obj,i)&&(target[i]=obj[i]);return target}function DragAndDrop_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null==arguments[i]?{}:arguments[i],ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){DragAndDrop_defineProperty(target,key,source[key])})}return target}function DragAndDrop_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function CallToActionHandler_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null==arguments[i]?{}:arguments[i],ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){CallToActionHandler_defineProperty(target,key,source[key])})}return target}function CallToActionHandler_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function CallToActionHandler_handleCallToAction(data,containerAnalytics,logEvent,optionalComponentContext){let payload=null;if(logEvent&&containerAnalytics&&(payload=logEvent(containerAnalytics.component,CallToActionHandler_objectSpread({},containerAnalytics.eventData,{ctaEvent:data?data.ctaEvent:null,ctaData:data?data.ctaData:null,ctaURL:data?data.ctaURL:null,subtype:data?data.ctaLog:null}),"click")),data.ctaDefault&&"license"===data.ctaDefault.ctaAction&&data.ctaDefault.ctaWorkflow)cepBridge["default"].launchNGLBanner(data.ctaDefault.ctaWorkflow);else if("externalURL"===data.ctaAction){let ctaURL=data.ctaURL;if(payload&&data.ctaURL){const url=new URL(data.ctaURL);url.searchParams.set("guid",payload["event.guid"]),url.searchParams.set("product",payload["consumer.name"]),url.searchParams.set("product-version",payload["consumer.version"]),url.searchParams.set("location","CCXStart"),url.searchParams.set("location-version",payload["source.version"]),url.searchParams.set("trackingid","1NZGDC8F"),url.searchParams.set("mv","in-product"),ctaURL=url.toString()}platform["default"].openDefaultBrowserAuthenicated("ADOBEACCOUNT",ctaURL)}else"appEvent"===data.ctaAction&&CallToActionHandler_handleAppEvent(data,containerAnalytics,logEvent,optionalComponentContext)}function CallToActionHandler_handleAppEvent(data,containerAnalytics,logEvent=()=>{},optionalComponentContext){switch(data.ctaEvent){case constants.a.CTA_EVENTS.IN_APP_TUTORIAL:const ctaData=data.ctaData;if(!ctaData)return;ctaData instanceof Array?ctaData.forEach(cta=>{cta&&cta.tutorial_id&&CallToActionHandler_openInAppTutorial(cta.tutorial_id)}):ctaData.tutorial_id&&ctaData&&ctaData.tutorial_id&&CallToActionHandler_openInAppTutorial(ctaData.tutorial_id);break;case constants.a.CTA_EVENTS.PRESET:data.ctaData&&"CmdN"===data.ctaData.template_category?host["default"].defaultNewDocument():cepBridge["default"].sendEvent(data.ctaEvent,data.ctaData);break;case constants.a.CTA_EVENTS.VIDEO_OVERLAY:ModalController_ModalController.show(react.createElement(components_Video,{url:data.ctaURL,data:data,containerAnalytics:containerAnalytics,logEvent:logEvent}),optionalComponentContext);break;default:}}function CallToActionHandler_openInAppTutorial(tutorial_id){const tutorialData={source:"in-app-welcome",["PHXS"===host["default"].data.hostID?"tutorial":"tutorial_id"]:tutorial_id};cepBridge["default"].sendEvent("com.adobe.ccx.start.hostStartTutorial",tutorialData)}function Banner_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null==arguments[i]?{}:arguments[i],ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){Banner_defineProperty(target,key,source[key])})}return target}function Banner_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function S_Illu_PresetCustom_172_L_2x_objectWithoutProperties(obj,keys){var target={};for(var i in obj)0<=keys.indexOf(i)||Object.prototype.hasOwnProperty.call(obj,i)&&(target[i]=obj[i]);return target}function S_Illu_PresetEmptyDoc_172_L_2x_objectWithoutProperties(obj,keys){var target={};for(var i in obj)0<=keys.indexOf(i)||Object.prototype.hasOwnProperty.call(obj,i)&&(target[i]=obj[i]);return target}function S_Illu_PresetFilmVideo_172_L_2x_objectWithoutProperties(obj,keys){var target={};for(var i in obj)0<=keys.indexOf(i)||Object.prototype.hasOwnProperty.call(obj,i)&&(target[i]=obj[i]);return target}function S_Illu_PresetiPhoneX_172_L_2x_objectWithoutProperties(obj,keys){var target={};for(var i in obj)0<=keys.indexOf(i)||Object.prototype.hasOwnProperty.call(obj,i)&&(target[i]=obj[i]);return target}function S_Illu_PresetPostcard_172_L_2x_objectWithoutProperties(obj,keys){var target={};for(var i in obj)0<=keys.indexOf(i)||Object.prototype.hasOwnProperty.call(obj,i)&&(target[i]=obj[i]);return target}function S_Illu_PresetWeb_172_L_2x_objectWithoutProperties(obj,keys){var target={};for(var i in obj)0<=keys.indexOf(i)||Object.prototype.hasOwnProperty.call(obj,i)&&(target[i]=obj[i]);return target}function Presets_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null==arguments[i]?{}:arguments[i],ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){Presets_defineProperty(target,key,source[key])})}return target}function Presets_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function Sidebar_extends(){return Sidebar_extends=Object.assign||function(target){for(var i=1,source;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},Sidebar_extends.apply(this,arguments)}function LazyImageOverlay_LazyImageOverlay(){return react.createElement("div",{className:"image-grid__item-error"},react.createElement("span",{className:"image-grid__item-error-text"},react.createElement(index_es.b,{id:"search_error_image_too_big"})))}function RenditionBadge_RenditionBadge(){return react.createElement("div",{className:"rendition-badge"},react.createElement("img",{src:"./images/originalmissing.svg"}))}function throttle_throttle(func,wait=100){if("function"!=typeof func)throw new TypeError("Expected a function");return debounce_debounce(func,wait,{leading:!0,maxWait:wait,trailing:!0})}function VirtualScroller_overlapsSubstantially(start,next){const a=_Mathmax(start.x,next.x),b=_Mathmin(start.x+start.width,next.x+next.width),overlapPercentage=(b-a)/start.width;return .3<overlapPercentage}function standardizeFilenameTooltip(tip){return tip?tip.replace(/\:(?!\\)/g,"/").replace(/ /g,"\xA0").replace(/(\/|\\)/g,"$1\u200B"):void 0}function stockUtil_getStockData(representation){return representation&&representation.getValue(stockUtil_STOCK_NAMESPACE,stockUtil_STOCK_DATA_KEY)}function stockUtil_getStockDataForElement(element,index){const representation=index===void 0?element.getPrimaryRepresentation():element.representations[index],stockData=stockUtil_getStockData(representation);return stockData&&representation.isExternalLink&&representation.getCachedExternalLinkError()?stockUtil_getStockDataForElement(element,void 0===index?0:index+1):stockData}function stockUtil_composeStockLink(hostID,type,term){const baseURL=imsBridge.a.stage?stockUtil_STOCK_URL_SEARCH_STAGE:stockUtil_STOCK_URL_SEARCH;let category=-1,application=0;term="undefined"==typeof term?"":term,category={recent:0,saved:0,mobile:1,web:2,print:3,photo:4,film:5,art:6}[type]||1,application={PHXS:1,ILST:2}[hostID]||0,term=term?"k="+jsUtil.a.fixedEncodeURIComponent(term)+"&":"",term+=analytics_ingest.a.getAnalyticsQueryString()+"&";const query="filters[content_type:template]=1&filters[template_type_id][]="+application,cat=0===category?"":"&filters[template_category_id][]="+category;return baseURL+"?"+"ff_4815162342=true&"+term+query+cat+("&as_channel=adobe_apps&as_source=app&as_campclass=brand&as_campaign=templates_"+hostID)}function AccessibleButton_extends(){return AccessibleButton_extends=Object.assign||function(target){for(var i=1,source;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},AccessibleButton_extends.apply(this,arguments)}function Tutorials_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null==arguments[i]?{}:arguments[i],ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){Tutorials_defineProperty(target,key,source[key])})}return target}function Tutorials_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function Search_extends(){return Search_extends=Object.assign||function(target){for(var i=1,source;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},Search_extends.apply(this,arguments)}function MultiLinksBanner_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null==arguments[i]?{}:arguments[i],ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){MultiLinksBanner_defineProperty(target,key,source[key])})}return target}function MultiLinksBanner_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function S_Illu_IllustratorFirstMile_520x200_objectWithoutProperties(obj,keys){var target={};for(var i in obj)0<=keys.indexOf(i)||Object.prototype.hasOwnProperty.call(obj,i)&&(target[i]=obj[i]);return target}function S_Illu_PremiereFirstMile_520x200_objectWithoutProperties(obj,keys){var target={};for(var i in obj)0<=keys.indexOf(i)||Object.prototype.hasOwnProperty.call(obj,i)&&(target[i]=obj[i]);return target}function S_Illu_AfterEffectsFirstMile_520x200_objectWithoutProperties(obj,keys){var target={};for(var i in obj)0<=keys.indexOf(i)||Object.prototype.hasOwnProperty.call(obj,i)&&(target[i]=obj[i]);return target}function S_Illu_DreamweaverFirstMile_520x200_objectWithoutProperties(obj,keys){var target={};for(var i in obj)0<=keys.indexOf(i)||Object.prototype.hasOwnProperty.call(obj,i)&&(target[i]=obj[i]);return target}function S_Illu_InDesignFirstMile_520x200_objectWithoutProperties(obj,keys){var target={};for(var i in obj)0<=keys.indexOf(i)||Object.prototype.hasOwnProperty.call(obj,i)&&(target[i]=obj[i]);return target}function EmptyBanner_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null==arguments[i]?{}:arguments[i],ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){EmptyBanner_defineProperty(target,key,source[key])})}return target}function EmptyBanner_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function ListGrid_extends(){return ListGrid_extends=Object.assign||function(target){for(var i=1,source;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},ListGrid_extends.apply(this,arguments)}function FileLogic_getThumbnail(item,showDefaultThumbnail){const extension="extension"in item?item.extension:"",thumbnailPath="./images/thumbs/",genericDocumentThumbnail=thumbnailPath+"CCX_Start_DefaultThumb_other.png",iconThumbnail=item.icon?thumbnailPath+item.icon+".png":null;let fallbackThumbnail;switch(host["default"].data.hostID){case"PPRO":case"AEFT":case"DRWV":case"MUSE":return"prproj"===extension||"pproj"===extension||"aep"===extension||"dwt"===extension?thumbnailPath+host["default"].data.hostID+"_"+("pproj"===extension?"pproj":extension)+".ico":"Team Project"===item.kind||extension&&extension.startsWith("Team Project")?thumbnailPath+"DVA_TeamProject.svg":(fallbackThumbnail=iconThumbnail||genericDocumentThumbnail,item.thumb||fallbackThumbnail);default:return showDefaultThumbnail||!item.thumb?(fallbackThumbnail="PHXS"===host["default"].data.hostID||"ILST"===host["default"].data.hostID||"IDSN"===host["default"].data.hostID?thumbnailPath+"CCX_Start_DefaultThumb_Ps_Ai_Id.png":genericDocumentThumbnail,iconThumbnail||fallbackThumbnail):item.thumb||iconThumbnail;}}function getValue(propertyPath,obj){let properties=Array.isArray(propertyPath)?propertyPath:propertyPath.split(".");return 1<properties.length?(obj.hasOwnProperty(properties[0])&&"object"==typeof obj[properties[0]]||(obj[properties[0]]={}),getValue(properties.slice(1),obj[properties[0]])):obj[properties[0]]}function setValue(propertyPath,value,obj){let properties=Array.isArray(propertyPath)?propertyPath:propertyPath.split(".");return 1<properties.length?(obj.hasOwnProperty(properties[0])&&"object"==typeof obj[properties[0]]||(obj[properties[0]]={}),setValue(properties.slice(1),value,obj[properties[0]])):(obj[properties[0]]=value,!0)}function Recents_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null==arguments[i]?{}:arguments[i],ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){Recents_defineProperty(target,key,source[key])})}return target}function Recents_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function Placeholder_extends(){return Placeholder_extends=Object.assign||function(target){for(var i=1,source;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},Placeholder_extends.apply(this,arguments)}function Content_extends(){return Content_extends=Object.assign||function(target){for(var i=1,source;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},Content_extends.apply(this,arguments)}function Content_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null==arguments[i]?{}:arguments[i],ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){Content_defineProperty(target,key,source[key])})}return target}function Content_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function DefaultViewParser_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null==arguments[i]?{}:arguments[i],ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){DefaultViewParser_defineProperty(target,key,source[key])})}return target}function DefaultViewParser_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function YukonParser_objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null==arguments[i]?{}:arguments[i],ownKeys=Object.keys(source);"function"==typeof Object.getOwnPropertySymbols&&(ownKeys=ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym){return Object.getOwnPropertyDescriptor(source,sym).enumerable}))),ownKeys.forEach(function(key){YukonParser_defineProperty(target,key,source[key])})}return target}function YukonParser_defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function profile_isProfilePictureAvailable(){let available=!1;const expirationDays=profile_currentConfig.expirationDays,imageBase64=localstorage.a.getUserItem("profile_image"),timestamp=localstorage.a.getUserItem("profile_image_timestamp");if(imageBase64&&timestamp){const days=(new Date().getTime()-timestamp)/86400000;available=timestamp&&days<expirationDays}return available}function profile_fetchImage(userGUID,token,callback){let url;netUtil.a.promise("GET",profile_currentConfig.url,token).then(response=>{switch(typeof response){case"string":url=JSON.parse(response).user.avatar;break;case"object":url=response.user.avatar;break;default:}return url?void(netUtil.a.downLoadImage(url,blob=>{if(!blob)return void(callback&&callback(null));const reader=new FileReader;reader.readAsDataURL(blob),reader.onloadend=function(){const imageBase64=reader.result;localstorage.a.setUserItem("profile_image",imageBase64),localstorage.a.setUserItem("profile_image_timestamp",new Date().getTime()),log.a.toConsole("["+url+"] Downloaded profile image for user ["+userGUID+"]"),callback(imageBase64)}}),profile_retryAttempt=0):(log.a.toConsole("Avatar: No URL found, response: ",response),callback(null))}).catch(err=>{log.a.toConsole("Fail to download profile image with retryAttempt="+profile_retryAttempt+", "+err),0===profile_retryAttempt&&(imsBridge.a.clearAccessToken(),profile_getAvatar(userGUID,callback,++profile_retryAttempt))})}function profile_getAvatar(userGUID,callback,retryAttempt){if(profile_retryAttempt=retryAttempt||0,profile_currentConfig=profile_currentConfig||(imsBridge.a.stage?profile_CONFIGURATION.stage:profile_CONFIGURATION.prod),log.a.toConsole("Profile avatar request for user ["+userGUID+"] ("+imsBridge.a.environment+")"),profile_isProfilePictureAvailable(userGUID)){log.a.toConsole("Found cached profile avatar for user ["+userGUID+"]");const imageBase64=localstorage.a.getUserItem("profile_image");return void(callback&&callback(imageBase64))}imsBridge.a.getAccessToken(token=>{token?profile_fetchImage(userGUID,token,callback):log.a.toConsole("Avatar: No IMS token. Cannot fetch avatar")})}function AppEntry_updateHostData(data){MainStore.a.setMessageSeenFlag(!1);const list=data.tabs.recentfile.list;AppEntry_handleRecentsUpdated(list),MainStore.a.setHostData(data),MainStore.a.setSessionGuid(data.sessionGUID),analytics_ingest.a.setEnabledDelayed(data.userTrackingEnabled,data.sessionGUID)}function AppEntry_getLoggedInUserFromProcess(){log.a.toConsole("Checking for logged in user for high latency network");const VULCAN_GET_USER_RESPONSE="ccxprocess.GetUserResponse";return new Promise(resolve=>{function handleProcessResponse(event){clearTimeout(userMatchTimeout),Vulcan.a.removeMessageListener(Vulcan.b.TYPE_PREFIX+VULCAN_GET_USER_RESPONSE,handleProcessResponse,null);var userId="";if(event){const data=Vulcan.a.getPayload(event);try{userId=JSON.parse(data).userId}catch(e){log.a.toConsole("Error parsing user match data",e)}}log.a.toConsole("Sending logged in user as",userId),resolve(userId)}let userMatchTimeout;Vulcan.a.addMessageListener(Vulcan.b.TYPE_PREFIX+VULCAN_GET_USER_RESPONSE,handleProcessResponse,null);const request=new Vulcan.b(Vulcan.b.TYPE_PREFIX+"ccxprocess.GetUserRequest",void 0,void 0);Vulcan.a.dispatchMessage(request),userMatchTimeout=setTimeout(()=>{handleProcessResponse(null)},2e3)})}function AppEntry_initUser(hostData={},cachedProfile=null){if(!window.profile)MainStore.a.setUserData(jsUtil.a.convertToNglProfile(hostData));else{let profile=JSON.parse(window.profile.getProfile());cachedProfile&&(profile=cachedProfile),profile.isNGL=!0,MainStore.a.setUserData(profile),MainStore.a.user.isUserAvailable&&!cachedProfile&&localstorage.a.setGlobalItem("LastKnownProfile",profile)}if(MainStore.a.user.isUserAvailable||MainStore.a.user.originalUserShown||AppEntry_getLoggedInUserFromProcess().then(userId=>{if(!MainStore.a.user.isUserAvailable){const lastKnownProfile=localstorage.a.getGlobalItem("LastKnownProfile");lastKnownProfile&&lastKnownProfile.UserProfile.userId===userId?(log.a.toConsole("Logging in a high latency cached user"),AppEntry_initUser({},lastKnownProfile)):userId&&AppEntry_initUser({},{UserProfile:{userId:userId}})}}),MainStore.a.setLoading(!1),!MainStore.a.user.isUserAvailable)localstorage.a.configure("anonymous"),MainStore.a.setAvatar(""),imsBridge.a.clearAccessToken(),MainStore.a.user.originalUserShown||MainStore.a.user.isFRL?MainStore.a.setShouldUseDefaultLayoutInFallbackMode(!0,MainStore.a.user.isFRL?"FRL":"User signed out",{workflow:AppEntry_PROPERTY_KEYS.WORKFLOW_APPENTRY,type:AppEntry_PROPERTY_KEYS.EVENT_TYPE_MISC,subcategory:MainStore.a.user.isFRL?"FRL":"User signed out"}):(MainStore.a.setLoading(!0),setTimeout(()=>{MainStore.a.user.isUserAvailable||(MainStore.a.setLoading(!1),MainStore.a.setShouldUseDefaultLayoutInFallbackMode(!0,"No NGL Response",{workflow:AppEntry_PROPERTY_KEYS.WORKFLOW_NGL,type:AppEntry_PROPERTY_KEYS.EVENT_TYPE_ERROR,subcategory:"No NGL Response"}))},5e3));else{const userId=MainStore.a.user.UserProfile.userId;localstorage.a.configure(userId),imsBridge.a.configure(userId),imsBridge.a.getAccessToken(),perf.a.set(perf.a.TIMERS.AVATAR_IMG),iaw_profile.getAvatar(userId,avatarImage=>{perf.a.measure(perf.a.TIMERS.AVATAR_IMG),MainStore.a.setAvatar(avatarImage)})}log.a.toConsole("User profile updated. Current profile: "+(window.profile?window.profile.getProfile():"No-NGL")),MainStore.a.user.markOriginalUserShown()}function AppEntry_addProfileListeners(){AppEntry_lastPresentUser=localstorage.a.getGlobalItem("lastPresentUser")||"",localstorage.a.setGlobalItem("lastPresentUser",null),0<AppEntry_lastPresentUser.length&&(log.a.toConsole("Going into fallback as the user has changed"),MainStore.a.setShouldUseDefaultLayoutInFallbackMode(!0,"Logged in User Changed",{workflow:AppEntry_PROPERTY_KEYS.WORKFLOW_APPENTRY,type:AppEntry_PROPERTY_KEYS.EVENT_TYPE_MISC,subcategory:"Logged in User Changed"}),MainStore.a.user.setChicletHidden()),cepBridge["default"].addEventListener("com.adobe.csxs.events.ProfileChanged",function(){const oldUser=MainStore.a.user.UserProfile.userId;AppEntry_lastPresentUser=oldUser||AppEntry_lastPresentUser,AppEntry_initUser();const newUser=MainStore.a.user.UserProfile.userId;0<AppEntry_lastPresentUser.length&&0<newUser.length&&AppEntry_lastPresentUser!==newUser&&(localstorage.a.setGlobalItem("lastPresentUser",AppEntry_lastPresentUser),window.location.reload())}),Object(mobx_module.u)(MainStore.a.user,"subscriptionStatus",()=>{host["default"].getSophiaData(host["default"].data).then(sophiaData=>{AppEntry_updateSophiaData(sophiaData,!0)})})}function AppEntry_updateSophiaData(data,forced=!1){0===data.cards.length&&!forced||0<MainStore.a.lastKnownSophiaData.length&&(delete data.settings,MainStore.a.lastKnownSophiaData===JSON.stringify(data))||(AppEntry_unobserveHomeScreenVisible(),forced||!host["default"].data.homeScreenVisible?(MainStore.a.setShouldUseDefaultLayoutInFallbackMode(0===data.cards.length,0===data.cards.length?"No cards available":"Cards available",{workflow:AppEntry_PROPERTY_KEYS.WORKFLOW_APPENTRY,type:AppEntry_PROPERTY_KEYS.EVENT_TYPE_ERROR,subcategory:"No cards available",error:{type:"server",desc:0===data.cards.length?"No cards available":"Cards available"}}),MainStore.a.setMessageSeenFlag(!1),MainStore.a.setSophiaData(data)):AppEntry_unobserveHomeScreenVisible=Object(mobx_module.u)(host["default"].data,"homeScreenVisible",()=>{AppEntry_unobserveHomeScreenVisible(),AppEntry_unobserveHomeScreenVisible=()=>{},MainStore.a.setShouldUseDefaultLayoutInFallbackMode(!1,"Wait for visibility change",{}),MainStore.a.setSophiaData(data)}))}function AppEntry_handleData(data,isCached){perf.a.set(perf.a.TIMERS.HOSTJS),proxy_Proxy.checkCredentials(),AppEntry_initUser(data),AppEntry_addProfileListeners(),window.__adobe_cep__&&log.a.logJSONDelayed("host data",data);const store=MainStore.a;store.setHostData(data),host["default"].mainStore=MainStore.a,data.tabs.recentfile.list&&initializeHelper_updateFileAvailability(data.tabs.recentfile.list),store.recentFilesStore.addRecentFiles(data.tabs.recentfile.list);const prefs={mru:data.tabs.recentfile,ccfiles:data.tabs.ccfiles};store.prefs.loadPrefs(),store.recentFilesStore.prefs.loadPrefs(prefs.mru),store.ccFilesStore.prefs.loadPrefs(prefs.ccfiles),store.setSessionGuid(data.sessionGUID);const hostData=store.hostData;host["default"].data=hostData,analytics_pip.a.configure(hostData.userTrackingEnabled,constants.a.ANALYTICS.HIGHBEAM_CATEGORY),analytics_ingest.a.configure(hostData.userTrackingEnabled&&!isCached,new StartIngestAdapter_StartIngestAdapter),host["default"].sophiaStore=store.sophiaStore,MainStore.a.user.isFRL?(MainStore.a.setShouldUseDefaultLayoutInFallbackMode(!0,"FRL User",{workflow:AppEntry_PROPERTY_KEYS.WORKFLOW_APPENTRY,type:AppEntry_PROPERTY_KEYS.EVENT_TYPE_MISC,subcategory:"FRL User as expected"}),AppEntry_enableUI()):host["default"].getSophiaData(hostData).then(data=>{0===data.cards.length&&MainStore.a.setShouldUseDefaultLayoutInFallbackMode(!0,MainStore.a.errorMessageForDefaultLayout,{workflow:AppEntry_PROPERTY_KEYS.WORKFLOW_APPENTRY,type:AppEntry_PROPERTY_KEYS.EVENT_TYPE_ERROR,subcategory:"No cards available",error:{type:"server",desc:"No cards available"}}),data.isCached&&AppEntry_addSophiaPatchListener(),store.setSophiaData(data),store.patchSharedSettings(data.settings),AppEntry_enableUI()}),perf.a.measure(perf.a.TIMERS.HOSTJS)}function AppEntry_enableUI(){let showPage=MainStore.a.prefs.currentRoute;MainStore.a.navigate(showPage),analytics_ingest.a.logMiscellaneousEvent("start-ui",showPage),initializeHelper_getMessages(host["default"].data.language,()=>{perf.a.set(perf.a.TIMERS.RENDER),react_dom.render(react.createElement(app_App,null),document.getElementById("main")),perf.a.measure(perf.a.TIMERS.RENDER),setTimeout(AppEntry_lateLoad,0)})}function AppEntry_handleRecentsUpdated(data){data&&(initializeHelper_updateFileAvailability(data),MainStore.a.recentFilesStore.addRecentFiles(data))}function AppEntry_addSophiaPatchListener(){cepBridge["default"].available&&Vulcan.a.addMessageListener(Vulcan.b.TYPE_PREFIX+constants.a.IPCEVENT.VULCAN_PSDK_BROADCAST,msg=>{const responseData=Vulcan.a.getPayload(msg),data=JSON.parse(responseData);data.productLanguage===host["default"].data.language&&data.subscriptionStatus===MainStore.a.user.subscriptionStatus&&data.productCode===host["default"].data.hostID&&data.release===constants.a.CCX_START_RELEASE_ID&&host["default"].getSophiaData(host["default"].data,!0,MainStore.a.sophiaStore.src).then(sophiaData=>{AppEntry_updateSophiaData(sophiaData)})})}function AppEntry_lateLoad(){perf.a.measure(perf.a.TIMERS.COMPLETE),window.lateLoad(),cepBridge["default"].addEventListener(constants.a.IPCEVENT.HOSTSTATUSCHANGED,evt=>{host["default"].handleStatusChange(evt).then(AppEntry_handleRecentsUpdated)}),host["default"].addVisibilityListener(),cepBridge["default"].available&&Vulcan.a.addMessageListener(Vulcan.b.TYPE_PREFIX+constants.a.IPCEVENT.VULCAN_START_SETTINGS_PATCH_UPDATE,msg=>{const responseData=Vulcan.a.getPayload(msg),data=JSON.parse(responseData);MainStore.a.user.UserProfile.userId===data.userId&&MainStore.a.patchSharedSettings(data.settings)},null),MainStore.a.sophiaStore&&MainStore.a.sophiaStore.isCached?host["default"].getSophiaData(host["default"].data,!0,MainStore.a.sophiaStore.src).then(data=>{MainStore.a.patchSharedSettings(data.settings),AppEntry_updateSophiaData(data,window.cep&&0!==window.cep.fs.stat(MainStore.a.sophiaStore.src).err)}):AppEntry_addSophiaPatchListener(),MainStore.a.setDebugMode(cepBridge["default"].debugMode),log.a.init(MainStore.a.hostData.hostID)}var _Mathround=Math.round,_Mathfloor=Math.floor,_Mathceil=Math.ceil,_Mathmin=Math.min,_Mathmax=Math.max;__webpack_require__.r(__webpack_exports__);var card_card=__webpack_require__(781),learn_card=__webpack_require__(1289),colors=__webpack_require__(1287),user_profile=__webpack_require__(780),image_grid=__webpack_require__(779),lazy_image=__webpack_require__(778),mixins=__webpack_require__(1282),progress_indicator=__webpack_require__(777),rendition_badge=__webpack_require__(776),variables=__webpack_require__(1278),virtual_scroller=__webpack_require__(775),perf=__webpack_require__(10),log=__webpack_require__(1),constants=__webpack_require__(360);class Dispatch{constructor(){this.events={},this.burnt={},this.RETROACTIVE="-retro"}on(name,callback,ctx){return(this.events[name]||(this.events[name]=[])).push({fn:callback,ctx:ctx}),!this.burnt[name]||-1===name.indexOf(this.RETROACTIVE)||callback.apply(ctx,this.burnt[name]),this}once(name,callback,ctx){const self=this,fn=function(){self.off(name,fn),callback.apply(ctx,arguments)};return this.on(name,fn,ctx)}trigger(name){const data=[].slice.call(arguments,1),evtArr=(this.events[name]||[]).slice();let i=0,evt;for(i;evt=evtArr[i];i++)evt.fn.apply(evt.ctx,data);return-1!==name.indexOf(this.RETROACTIVE)&&(this.burnt[name]=data),this}off(name,callback){const evts=this.events[name],liveEvents=[];if(evts&&callback)for(let i=0,len=evts.length;i<len;i++)evts[i].fn!==callback&&liveEvents.push(evts[i]);return liveEvents.length?this.events[name]=liveEvents:delete this.events[name],this}}var host=__webpack_require__(354),platform=__webpack_require__(76),cepBridge=__webpack_require__(11);const a11y_KEYS_OF_INTEREST_MAC=[{keyCode:36},{keyCode:48},{keyCode:48,shiftKey:!0},{keyCode:49},{keyCode:53},{keyCode:115},{keyCode:116},{keyCode:119},{keyCode:121},{keyCode:123},{keyCode:124},{keyCode:125},{keyCode:126},{keyCode:0},{keyCode:11},{keyCode:8},{keyCode:2},{keyCode:14},{keyCode:3},{keyCode:5},{keyCode:4},{keyCode:34},{keyCode:38},{keyCode:40},{keyCode:37},{keyCode:46},{keyCode:45},{keyCode:31},{keyCode:35},{keyCode:12},{keyCode:15},{keyCode:1},{keyCode:17},{keyCode:32},{keyCode:9},{keyCode:13},{keyCode:7},{keyCode:16},{keyCode:6},{keyCode:50},{keyCode:18},{keyCode:19},{keyCode:20},{keyCode:21},{keyCode:23},{keyCode:22},{keyCode:26},{keyCode:28},{keyCode:25},{keyCode:29},{keyCode:27},{keyCode:24},{keyCode:33},{keyCode:30},{keyCode:42},{keyCode:41},{keyCode:39},{keyCode:43},{keyCode:47},{keyCode:44},{keyCode:0,shiftKey:!0},{keyCode:11,shiftKey:!0},{keyCode:8,shiftKey:!0},{keyCode:2,shiftKey:!0},{keyCode:14,shiftKey:!0},{keyCode:3,shiftKey:!0},{keyCode:5,shiftKey:!0},{keyCode:4,shiftKey:!0},{keyCode:34,shiftKey:!0},{keyCode:38,shiftKey:!0},{keyCode:40,shiftKey:!0},{keyCode:37,shiftKey:!0},{keyCode:46,shiftKey:!0},{keyCode:45,shiftKey:!0},{keyCode:31,shiftKey:!0},{keyCode:35,shiftKey:!0},{keyCode:12,shiftKey:!0},{keyCode:15,shiftKey:!0},{keyCode:1,shiftKey:!0},{keyCode:17,shiftKey:!0},{keyCode:32,shiftKey:!0},{keyCode:9,shiftKey:!0},{keyCode:13,shiftKey:!0},{keyCode:7,shiftKey:!0},{keyCode:16,shiftKey:!0},{keyCode:6,shiftKey:!0},{keyCode:50,shiftKey:!0},{keyCode:18,shiftKey:!0},{keyCode:19,shiftKey:!0},{keyCode:20,shiftKey:!0},{keyCode:21,shiftKey:!0},{keyCode:23,shiftKey:!0},{keyCode:22,shiftKey:!0},{keyCode:26,shiftKey:!0},{keyCode:28,shiftKey:!0},{keyCode:25,shiftKey:!0},{keyCode:29,shiftKey:!0},{keyCode:27,shiftKey:!0},{keyCode:24,shiftKey:!0},{keyCode:33,shiftKey:!0},{keyCode:30,shiftKey:!0},{keyCode:42,shiftKey:!0},{keyCode:41,shiftKey:!0},{keyCode:39,shiftKey:!0},{keyCode:43,shiftKey:!0},{keyCode:47,shiftKey:!0},{keyCode:44,shiftKey:!0},{keyCode:75},{keyCode:67},{keyCode:78},{keyCode:69},{keyCode:51}],a11y_KEYS_OF_INTEREST_WIN=[{keyCode:13},{keyCode:9},{keyCode:9,shiftKey:!0},{keyCode:32},{keyCode:27},{keyCode:36},{keyCode:33},{keyCode:35},{keyCode:34},{keyCode:37},{keyCode:39},{keyCode:40},{keyCode:38},{keyCode:65},{keyCode:66},{keyCode:67},{keyCode:68},{keyCode:69},{keyCode:70},{keyCode:71},{keyCode:72},{keyCode:73},{keyCode:74},{keyCode:75},{keyCode:76},{keyCode:77},{keyCode:78},{keyCode:79},{keyCode:80},{keyCode:81},{keyCode:82},{keyCode:83},{keyCode:84},{keyCode:85},{keyCode:86},{keyCode:87},{keyCode:88},{keyCode:89},{keyCode:90},{keyCode:192},{keyCode:49},{keyCode:50},{keyCode:51},{keyCode:52},{keyCode:53},{keyCode:54},{keyCode:55},{keyCode:56},{keyCode:57},{keyCode:48},{keyCode:189},{keyCode:187},{keyCode:219},{keyCode:221},{keyCode:220},{keyCode:186},{keyCode:222},{keyCode:188},{keyCode:190},{keyCode:191},{keyCode:65,shiftKey:!0},{keyCode:66,shiftKey:!0},{keyCode:67,shiftKey:!0},{keyCode:68,shiftKey:!0},{keyCode:69,shiftKey:!0},{keyCode:70,shiftKey:!0},{keyCode:71,shiftKey:!0},{keyCode:72,shiftKey:!0},{keyCode:73,shiftKey:!0},{keyCode:74,shiftKey:!0},{keyCode:75,shiftKey:!0},{keyCode:76,shiftKey:!0},{keyCode:77,shiftKey:!0},{keyCode:78,shiftKey:!0},{keyCode:79,shiftKey:!0},{keyCode:80,shiftKey:!0},{keyCode:81,shiftKey:!0},{keyCode:82,shiftKey:!0},{keyCode:83,shiftKey:!0},{keyCode:84,shiftKey:!0},{keyCode:85,shiftKey:!0},{keyCode:86,shiftKey:!0},{keyCode:87,shiftKey:!0},{keyCode:88,shiftKey:!0},{keyCode:89,shiftKey:!0},{keyCode:90,shiftKey:!0},{keyCode:192,shiftKey:!0},{keyCode:49,shiftKey:!0},{keyCode:50,shiftKey:!0},{keyCode:51,shiftKey:!0},{keyCode:52,shiftKey:!0},{keyCode:53,shiftKey:!0},{keyCode:54,shiftKey:!0},{keyCode:55,shiftKey:!0},{keyCode:56,shiftKey:!0},{keyCode:57,shiftKey:!0},{keyCode:48,shiftKey:!0},{keyCode:189,shiftKey:!0},{keyCode:187,shiftKey:!0},{keyCode:219,shiftKey:!0},{keyCode:221,shiftKey:!0},{keyCode:220,shiftKey:!0},{keyCode:186,shiftKey:!0},{keyCode:222,shiftKey:!0},{keyCode:188,shiftKey:!0},{keyCode:190,shiftKey:!0},{keyCode:191,shiftKey:!0},{keyCode:111},{keyCode:106},{keyCode:109},{keyCode:107},{keyCode:8}],a11y_KEYS={TAB:9,ENTER:13,ESC:27,SPACE:32,PAGEUP:33,PAGEDOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40},a11y_FOCUSABLE_SELECTOR="input:not([type=\"hidden\"]):not(:disabled), select:not(:disabled),a[href],textarea:not(:disabled),button:not(:disabled),[tabindex]",a11y_WHITESPACEREGEX=/\s+/g,a11y_REGEXREGEX=/[-[\]{}()*+?.,\\^$|#\s]/g;let a11y_searchString="",a11y_searchTimeout;const a11y_nodeCache={};let a11y_cacheIndex=1,a11y_shiftKeyPressed=!1;class a11y_A11Y{static getInstance(){return this._instance||(this._instance=new a11y_A11Y),this._instance}constructor(){a11y_onLoadEvent()}get keys(){return a11y_KEYS}get shiftKeyPressed(){return a11y_shiftKeyPressed}registerKeyEventsInterest(){const keyEventsInterest=platform["default"].isWindowsOS()?a11y_KEYS_OF_INTEREST_WIN:a11y_KEYS_OF_INTEREST_MAC;cepBridge["default"].registerKeyEventsInterest(JSON.stringify(keyEventsInterest))}isHidden(node){if(node===document.documentElement)return!1;if(node.focusableCacheIndex)return a11y_nodeCache[node.focusableCacheIndex];let result=!1;const style=window.getComputedStyle(node);return"hidden"===style.visibility||"none"===style.display?result=!0:node.parentNode&&(result=this.isHidden(node.parentNode)),node.focusableCacheIndex=a11y_cacheIndex,a11y_nodeCache[node.focusableCacheIndex]=result,a11y_cacheIndex++,result}isFocusable(el){return el.matches(a11y_FOCUSABLE_SELECTOR)&&!this.isHidden(el)}focusable(el,tabbable,includeEl){"string"==typeof el&&(el=document.querySelector(el));const basicFocusables=[],candidateNodelist=el.querySelectorAll(a11y_FOCUSABLE_SELECTOR),candidates=Array.prototype.slice.call(candidateNodelist);let orderedFocusables=[],candidate,candidateTabIndex;includeEl&&candidates.unshift(el);for(let i=0,l=candidates.length;i<l;i++)(candidate=candidates[i],candidateTabIndex=candidate.tabIndex,!(0>candidateTabIndex&&tabbable||this.isHidden(candidate)))&&(0>=candidateTabIndex?basicFocusables.push(candidate):orderedFocusables.push({tabIndex:candidateTabIndex,node:candidate}));return orderedFocusables=orderedFocusables.sort((a,b)=>a.tabIndex-b.tabIndex).map(a=>a.node),Array.prototype.push.apply(orderedFocusables,basicFocusables),orderedFocusables}tabbable(el,includeEl){return"string"==typeof el&&(el=document.querySelector(el)),this.focusable(el,!0,includeEl)}descendantHasFocus(el){return"string"==typeof el&&(el=document.querySelector(el)),el===document.activeElement||el.contains(document.activeElement)}alphanumericSearch(evt,items,currentItem){var _StringfromCharCode=String.fromCharCode;const charCode=evt.charCode;let index=-1;if(!(32>=charCode||evt.ctrlKey||evt.metaKey||evt.altKey)){const stringFromCharCode=_StringfromCharCode(charCode);if(stringFromCharCode!==a11y_searchString&&(a11y_searchString+=_StringfromCharCode(charCode)),clearTimeout(a11y_searchTimeout),a11y_searchTimeout=setTimeout(()=>{a11y_searchString=""},800),items=items.filter(el=>{const textContent=el.textContent.replace(a11y_WHITESPACEREGEX," ").trim();return new RegExp("^"+a11y_searchString.replace(a11y_REGEXREGEX,"\\$&"),"i").test(textContent)}),items.length)return(index=items.indexOf(currentItem),-1===index)?items[0]:1<a11y_searchString.length?items:index===items.length-1?items[0]:items[index+1]}}getAdjacentElementVertically(items,currentItem,up){let i=items.indexOf(currentItem),rect=currentItem.getBoundingClientRect(),nextRowTop=null,candidates=[];const direction=up?-1:1,rowTop=rect.top,colLeft=rect.left;let adjacentItem=items[i+direction];for(i+=direction;adjacentItem&&adjacentItem.getBoundingClientRect;){if(rect=adjacentItem.getBoundingClientRect(),null===nextRowTop&&rowTop!==rect.top&&(nextRowTop=rect.top),nextRowTop)if(nextRowTop===rect.top)candidates.push({item:adjacentItem,rect:rect});else break;i+=direction,adjacentItem=items[i]}candidates=candidates.sort((a,b)=>a.rect.left-b.rect.left);const filtered=candidates.filter(candidate=>(rect=candidate.rect,colLeft<=rect.right));if(filtered.length)return filtered[0].item;return candidates.length?candidates[candidates.length-1].item:void 0}}var a11y=a11y_A11Y.getInstance(),i18n=__webpack_require__(50),index_es=__webpack_require__(369),localstorage=__webpack_require__(18),MainStore=__webpack_require__(361);const initializeHelper_getMessages=async(locale,callback)=>{if(locale){"es_MX"===locale&&(locale="es_ES"),"fr_MA"===locale&&(locale="fr_FR"),log.a.toConsole("i18n.fetching: "+locale),perf.a.set(perf.a.TIMERS.I18N),i18n.a.configure(locale);const[messages,localeData]=await Promise.all([initializeHelper_getCachedMessages(locale)||initializeHelper_getMessagesFromJson(locale),initializeHelper_getLocaleData(locale)]);Object(index_es.e)(localeData),MainStore.a.setMessages(messages),perf.a.measure(perf.a.TIMERS.I18N),perf.a.measure(perf.a.TIMERS.LOADTIME),perf.a.report(!0),cepBridge["default"].sendEvent(constants.a.IPCEVENT.EXTENSIONREADY,null),callback&&callback()}},initializeHelper_updateFileAvailability=files=>{files.forEach(file=>{file.availableLocally=!("Team Project"!==file.kind)||cepBridge["default"].fileExists(file.tip)})};var mobx_module=__webpack_require__(51),index_module=__webpack_require__(359),classnames=__webpack_require__(358),classnames_default=__webpack_require__.n(classnames),Provider=__webpack_require__(1241),Provider_default=__webpack_require__.n(Provider),react=__webpack_require__(356),react_default=__webpack_require__.n(react),prop_types=__webpack_require__(357),prop_types_default=__webpack_require__.n(prop_types),components_start=__webpack_require__(143),Button=__webpack_require__(374),Button_default=__webpack_require__.n(Button),Slider=__webpack_require__(1215),Slider_default=__webpack_require__.n(Slider),Label=__webpack_require__(1185),Label_default=__webpack_require__.n(Label),Select=__webpack_require__(534),Select_default=__webpack_require__.n(Select),Wait=__webpack_require__(418),Wait_default=__webpack_require__.n(Wait),mobx_state_tree_module=__webpack_require__(390),LayoutDebugController_decorate=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r},LayoutDebugController_metadata=function(k,v){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(k,v)};const LayoutDebugController_styles=__webpack_require__(1106),LayoutDebugController_APPS=[{label:"Photoshop",value:"photoshop_cc"},{label:"Illustrator",value:"illustrator_cc"},{label:"After Effects",value:"aftereffects_cc"},{label:"Premiere Pro",value:"premierepro_cc"},{label:"Indesign",value:"indesign_cc"},{label:"Dreamweaver",value:"dreamweaver_cc"}],LayoutDebugController_LOCALES=[{label:"English",value:"en-US"},{label:"French",value:"fr-FR"},{label:"German",value:"de-DE"},{label:"Japanese",value:"ja-JP"},{label:"Korean",value:"ko-KR"},{label:"Spanish",value:"es-ES"}];let LayoutDebugController_LayoutDebugController=class extends react.Component{constructor(){super(...arguments),this.isLoading=!1}changeTheme(value){Object(components_start.setColorTheme)(value),MainStore.a.setColorTheme(value),this.props.forceUpdate()}componentWillMount(){this._disposeAutorun=Object(mobx_module.f)(()=>{this.fetchNewLayoutJson(this.appName,this.locale,MainStore.a.prefs.currentRoute)})}componentWillUnmount(){this._disposeAutorun()}async fetchNewLayoutJson(appName="photoshop_cc",locale="en-US",tab="home"){if(MainStore.a.layoutDebugPanelVisible){this.isLoading=!0;const rsp=await fetch("https://cdn.contentful.com/spaces/26hmpptqwub2/entries?access_token=57d4c1b53259cf54f6169283123e87074db4d2629067a6854cada0348005c1e8"+`&content_type=experience${"home"===tab?"Home":"Learn"}&locale=${locale}&include=10`),json=await rsp.json();json.items=json.items.filter(item=>item.fields.app===appName),MainStore.a.setLayoutDebugOverride(json),this.isLoading=!1}}copyToClipboard(str){const el=document.createElement("textarea");el.value=str,document.body.appendChild(el),el.select(),document.execCommand("copy"),document.body.removeChild(el)}render(){const maxRecentFiles=MainStore.a.recentFilesStore.items&&MainStore.a.recentFilesStore.items.length;let numberOfRecentFiles=maxRecentFiles;0<=MainStore.a.recentFilesStore.artificialLength&&(numberOfRecentFiles=MainStore.a.recentFilesStore.artificialLength);document.body.classList.contains("theme-dark")?"dark":"light";return react.createElement("div",{className:classnames_default()(LayoutDebugController_styles.root,MainStore.a.layoutDebugPanelVisible&&LayoutDebugController_styles.visible)},react.createElement(Button_default.a,{className:LayoutDebugController_styles.toggleButton,variant:MainStore.a.shouldUseDefaultLayoutInFallbackMode?"warning":"primary",onClick:()=>MainStore.a.enableLayoutDebugPanel(!MainStore.a.layoutDebugPanelVisible),"data-qe-id":"empty-ccfiles--learn-more"},"Debug"),react.createElement("div",{className:classnames_default()(LayoutDebugController_styles.innerContainer)},react.createElement(Label_default.a,null,"LAYOUT DEBUGGER"),react.createElement("div",{className:LayoutDebugController_styles.fieldEdit},react.createElement(Button_default.a,{onClick:()=>this.changeTheme("dark"),quiet:!0},"Dark"),react.createElement(Button_default.a,{onClick:()=>this.changeTheme("light"),quiet:!0},"Light")),react.createElement("div",{className:LayoutDebugController_styles.fieldEdit},"Number of Launches ( ",MainStore.a.prefs.launchCount," )",react.createElement(Slider_default.a,{value:20<MainStore.a.prefs.launchCount?20:MainStore.a.prefs.launchCount,min:0,max:20,onChange:value=>{MainStore.a.prefs.changeLaunchCount(value)}})),react.createElement("div",{className:LayoutDebugController_styles.fieldEdit},"Number of Recent Files ( ",numberOfRecentFiles," )",react.createElement(Slider_default.a,{value:numberOfRecentFiles,min:0,max:maxRecentFiles,onChange:value=>{MainStore.a.recentFilesStore.setArtificialLength(value)}})),react.createElement("div",null,react.createElement("div",null,"Render a Layout"),react.createElement(Select_default.a,{onChange:value=>this.appName=value,options:[{label:"Select an App",value:""}].concat(LayoutDebugController_APPS)}),react.createElement(Select_default.a,{onChange:value=>this.locale=value,options:[{label:"Select a Locale",value:""}].concat(LayoutDebugController_LOCALES)}),this.isLoading&&react.createElement("div",null,react.createElement(Wait_default.a,{size:"S"}))),react.createElement("div",{className:LayoutDebugController_styles.row},react.createElement(Button_default.a,{style:{maxWidth:"80px"},onClick:()=>window.location.reload()},"Reload"),react.createElement(Button_default.a,{style:{maxWidth:"100px"},onClick:()=>window.localStorage.clear()},"X LocalStore")),react.createElement("div",{className:LayoutDebugController_styles.row},react.createElement(Button_default.a,{onClick:()=>{this.copyToClipboard(JSON.stringify(Object(mobx_state_tree_module.d)(MainStore.a.sophiaStore),null,"\t"))}},"Copy SophiaData")),""!==MainStore.a.errorMessageForDefaultLayout&&react.createElement("div",{style:{marginTop:"8px",userSelect:"all"}},"Error cause for default layout:",MainStore.a.errorMessageForDefaultLayout)))}};LayoutDebugController_decorate([mobx_module.t,LayoutDebugController_metadata("design:type",Object)],LayoutDebugController_LayoutDebugController.prototype,"locale",void 0),LayoutDebugController_decorate([mobx_module.t,LayoutDebugController_metadata("design:type",Object)],LayoutDebugController_LayoutDebugController.prototype,"appName",void 0),LayoutDebugController_decorate([mobx_module.t,LayoutDebugController_metadata("design:type",Object)],LayoutDebugController_LayoutDebugController.prototype,"isLoading",void 0),LayoutDebugController_LayoutDebugController=LayoutDebugController_decorate([index_module.a],LayoutDebugController_LayoutDebugController);var components_LayoutDebugController=LayoutDebugController_LayoutDebugController,ReplaceAppDataTemplates=ReplaceAppDataTemplates_replaceAppData;const WelcomeMessage_styles=__webpack_require__(1104);class WelcomeMessage_WelcomeMessage extends react_default.a.Component{constructor(){super(...arguments),this.internationalizeText=id=>this.context.intl.formatMessage({id},ReplaceAppDataTemplates_getAppData())}componentDidMount(){MainStore.a.setMessageSeenFlag(!0)}render(){const{fallbackMessage,ctx,message}=this.props;return MainStore.a.didViewWelcomeMessagePerSession?null:message&&""!==message?react_default.a.createElement("header",{className:WelcomeMessage_styles.root},ReplaceAppDataTemplates(message,ReplaceAppDataTemplates(fallbackMessage||"",this.internationalizeText(`${host["default"].data.hostID}_default_welcome_message_${ctx.stageName}`)))):null}}WelcomeMessage_WelcomeMessage.contextTypes={intl:prop_types_default.a.any};const HLayout_styles=__webpack_require__(461);var components_HLayout=props=>react.createElement("div",{className:classnames_default()(HLayout_styles.HLayout,!props.unpadded&&HLayout_styles.padded,props.row&&HLayout_styles.rowMode)},props.children);const VLayout_styles=__webpack_require__(461);var components_VLayout=props=>react.createElement("div",{className:classnames_default()(VLayout_styles.VLayout,!props.unpadded&&VLayout_styles.padded)},props.children);const ScrollView_styles=__webpack_require__(461);var components_ScrollView=props=>react.createElement("div",{className:classnames_default()(ScrollView_styles.scrollView,props.disableScroll&&ScrollView_styles.disableScroll)},react.createElement(components_VLayout,{unpadded:!0},props.children)),Toast=__webpack_require__(1101),Link=__webpack_require__(460),Link_default=__webpack_require__.n(Link),Dialog=__webpack_require__(1078),Dialog_default=__webpack_require__.n(Dialog),Icon=__webpack_require__(459),Icon_default=__webpack_require__.n(Icon),ModalContainer=__webpack_require__(1076),ModalContainer_default=__webpack_require__.n(ModalContainer),closeButton_extends=Object.assign||function(target){for(var i=1,source;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},closeButton=_ref=>{let{styles={}}=_ref,props=closeButton_objectWithoutProperties(_ref,["styles"]);return react_default.a.createElement("svg",closeButton_extends({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 21 21"},props),react_default.a.createElement("defs",null),react_default.a.createElement("g",{id:"Close_btn","data-name":"Close btn",transform:"translate(-1608 -271)"},react_default.a.createElement("circle",{id:"Close_button_back_cirle","data-name":"Close button back cirle",className:styles["cls-1"]||"cls-1",cx:"10.5",cy:"10.5",r:"10.5",transform:"translate(1608 271)"}),react_default.a.createElement("path",{id:"Union_146","data-name":"Union 146",className:styles["cls-2"]||"cls-2",d:"M-2052-9537l-4 4 4-4-4-4 4 4 4-4-4 4 4 4z",transform:"translate(3670.5 9818.5)"})))};const ModalController_styles=__webpack_require__(1056);let ModalController_modalKey,ModalController_modalContext;class ModalController_ModalController{static dispatch(event){try{ModalController_modalContext.context.dispatch.trigger(event)}catch(error){}}static close(){ModalContainer_default.a.hide(ModalController_modalKey),ModalController_ModalController.dispatch(constants.a.events.MODAL_CLOSED)}static show(content,context){ModalController_modalContext=context,ModalController_modalKey=ModalContainer_default.a.show(react.createElement(Dialog_default.a,{backdropClickable:!0,className:ModalController_styles.root,onOpen:ModalController_ModalController.dispatch(constants.a.events.MODAL_OPENED),onClose:()=>ModalController_ModalController.dispatch(constants.a.events.MODAL_CLOSED)},react.createElement("div",{className:ModalController_styles.container},react.cloneElement(content,{onClose:ModalController_ModalController.close}),react.createElement(Button_default.a,{className:ModalController_styles.closeButton,variant:"action",quiet:!0,label:null,icon:react.createElement(Icon_default.a,null,react.createElement(closeButton,null)),onClick:ModalController_ModalController.close}))),ModalController_modalContext)}}var disconnectedState_extends=Object.assign||function(target){for(var i=1,source;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},disconnectedState=_ref=>{let{styles={}}=_ref,props=disconnectedState_objectWithoutProperties(_ref,["styles"]);return react_default.a.createElement("svg",disconnectedState_extends({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 176.086 113"},props),react_default.a.createElement("defs",null),react_default.a.createElement("g",{id:"Group_63308","data-name":"Group 63308",transform:"translate(-860.879 -421.5)"},react_default.a.createElement("path",{id:"Line_11","data-name":"Line 11",className:styles["cls-1"]||"cls-1",transform:"translate(875.571 439.369)",d:"M159.762 0H0"}),react_default.a.createElement("path",{id:"Line_12","data-name":"Line 12",className:styles["cls-1"]||"cls-1",transform:"translate(886.048 431.512)",d:"M13.095 0H0"}),react_default.a.createElement("path",{id:"Path_1099","data-name":"Path 1099",className:styles["cls-2"]||"cls-2",d:"M807.8 78.762v30.119a2.627 2.627 0 0 0 2.619 2.619h154.524a2.627 2.627 0 0 0 2.619-2.619V4.119a2.627 2.627 0 0 0-2.619-2.619H810.419a2.627 2.627 0 0 0-2.619 2.619v35.357",transform:"translate(67.902 421.5)"}),react_default.a.createElement("path",{id:"Line_13","data-name":"Line 13",className:styles["cls-2"]||"cls-2",transform:"translate(863 468.048)",d:"M0 25.143L25.274 0"}),react_default.a.createElement("path",{id:"Line_14","data-name":"Line 14",className:styles["cls-2"]||"cls-2",transform:"translate(863 468.048)",d:"M25.274 25.143L0 0"})))},Video_decorate=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r},Video_metadata=function(k,v){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(k,v)};const Video_styles=__webpack_require__(1054);let Video_Video=class extends react.Component{constructor(){super(...arguments),this.isError=!1,this.onError=()=>{this.isError=!0},this.onVisibilityChange=()=>{const{logEvent,containerAnalytics,data}=this.props;logEvent("videoLightbox",Video_objectSpread({},containerAnalytics.eventData,{subtype:"close",tutorialName:data?data.ctaLog:null,tutorialAction:this.props.url}),"click"),this.props.onClose&&this.props.onClose()},this.refreshVideo=()=>{const{logEvent,containerAnalytics,data}=this.props;logEvent("videoLightbox",Video_objectSpread({},containerAnalytics.eventData,{subtype:"refresh",tutorialName:data?data.ctaLog:null,tutorialAction:this.props.url}),"click"),this.isError=!1},this.setVideoRef=videoRef=>{videoRef&&(this.videoRef=videoRef)}}componentDidMount(){const{logEvent,containerAnalytics,data}=this.props;if(logEvent("videoLightbox",Video_objectSpread({},containerAnalytics.eventData,{tutorialName:data&&data.ctaLog,tutorialAction:this.props.url}),"render"),host["default"].data){const unobserveHomeScreenVisible=Object(mobx_module.u)(host["default"].data,"homeScreenVisible",()=>{unobserveHomeScreenVisible(),this.onVisibilityChange()})}}render(){const{onClose,url}=this.props;return react.createElement("div",{className:Video_styles.root},this.isError?react.createElement("span",null,react.createElement(Icon_default.a,{className:Video_styles.messageIcon},react.createElement(disconnectedState,null)),react.createElement("div",{className:Video_styles.message},react.createElement(index_es.b,{id:"video_no_connection_message"})),react.createElement("div",{className:Video_styles.submessage},react.createElement(index_es.b,{id:"video_no_connection_submessage"})),react.createElement("div",{className:Video_styles.actionSet},react.createElement(Button_default.a,{variant:"primary",label:react.createElement(index_es.b,{id:"video_no_connection_cancel_btn"}),onClick:onClose}),react.createElement(Button_default.a,{variant:"primary",label:react.createElement(index_es.b,{id:"video_no_connection_retry_btn"}),onClick:this.refreshVideo}))):react.createElement("video",{ref:this.setVideoRef,autoPlay:!0,loop:!1,muted:!1,controls:!0,controlsList:"nodownload nofullscreen noremoteplayback",width:"100%",height:"auto",onError:this.onError},react.createElement("source",{src:url})))}};Video_decorate([mobx_module.t,Video_metadata("design:type",Object)],Video_Video.prototype,"isError",void 0),Video_decorate([mobx_module.t,Video_metadata("design:type",Object)],Video_Video.prototype,"videoRef",void 0),Video_Video=Video_decorate([index_module.a],Video_Video);var components_Video=Video_Video,analytics_ingest=__webpack_require__(60);const ToastWrapper_styles=__webpack_require__(1052);let ToastWrapper_ToastWrapper=class extends react.Component{constructor(){super(...arguments),this.variants=style=>{switch(style){case"informative":return"info";case"positive":return"success";case"negative":return"error";case"neutral":default:return"neutral";}},this.openLink=fields=>{const{logEvent}=this.props;switch(fields.ctaAction){case"appEvent":analytics_ingest.a.logClickedEvent("toast",{subtype:"show-video",containerAnalyticsParams:ToastWrapper_containerAnalyticsParams}),ModalController_ModalController.show(react.createElement(components_Video,{url:fields.ctaURL,data:fields,logEvent:logEvent,containerAnalytics:ToastWrapper_containerAnalyticsParams}),this);break;case"externalURL":analytics_ingest.a.logClickedEvent("toast",{subtype:"learn-more",containerAnalyticsParams:ToastWrapper_containerAnalyticsParams}),platform["default"].openDefaultBrowserAuthenicated("ADOBEACCOUNT",fields.ctaURL);break;default:}},this.close=(fields,sys,closeEvent,cb)=>{closeEvent&&analytics_ingest.a.logClickedEvent("toast",{subtype:"dismiss",containerAnalyticsParams:ToastWrapper_containerAnalyticsParams}),this.registerId(sys.id),cb&&cb(fields,sys)},this.registerId=id=>{MainStore.a.setSharedSetting("toast",id,!0)},this.onKeyDown=evt=>{switch(evt.keyCode){case a11y.keys.ENTER:evt.target.click();break;case a11y.keys.SPACE:evt.target.click();break;default:}}}componentDidMount(){MainStore.a.sophiaReady&&(ToastWrapper_containerAnalyticsParams=MainStore.a.sophiaStore.cardControl[constants.a.SOPHIA_SURFACEID.TOAST].containerAnalyticsParams[0]),analytics_ingest.a.logRenderedEvent("toast",{containerAnalyticsParams:ToastWrapper_containerAnalyticsParams})}render(){const{fields,sys}=this.props;return sys&&fields&&!MainStore.a.sharedSettings.toast.get(sys.id)?react.createElement("div",{className:ToastWrapper_styles.root},react.createElement(Toast.Toast,{className:ToastWrapper_styles.toast,closable:!0,onClose:()=>{this.close(fields,sys,!0)},variant:this.variants(fields.style)},react.createElement("span",null,ReplaceAppDataTemplates(fields.message)),fields.cta&&react.createElement(react.Fragment,null,react.createElement("span",null,"|"),react.createElement("span",{className:ToastWrapper_styles.link},react.createElement(Link_default.a,{tabIndex:0,variant:"overBackground",onClick:()=>{this.close(fields,sys,!1,this.openLink)},onKeyDown:this.onKeyDown},ReplaceAppDataTemplates(fields.cta)))))):null}},ToastWrapper_containerAnalyticsParams;ToastWrapper_ToastWrapper=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([index_module.a],ToastWrapper_ToastWrapper);var components_ToastWrapper=ToastWrapper_ToastWrapper,S_Illu_DragNDropAe_160x120_extends=Object.assign||function(target){for(var i=1,source;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},S_Illu_DragNDropAe_160x120=_ref=>{let{styles={}}=_ref,props=S_Illu_DragNDropAe_160x120_objectWithoutProperties(_ref,["styles"]);return react_default.a.createElement("svg",S_Illu_DragNDropAe_160x120_extends({xmlns:"http://www.w3.org/2000/svg",height:"120",id:"S_Illu_DragNDropAe_160x120",viewBox:"0 0 160 120",width:"160"},props),react_default.a.createElement("defs",null),react_default.a.createElement("title",null,"S_Illu_DragNDropAe_160x120"),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M134.034 47.332h-15.976v-8.246a1.744 1.744 0 0 0-2.977-1.232L94.56 58.374a1.744 1.744 0 0 0 1.232 2.977h7.654A11.5 11.5 0 0 0 101.981 67a11.641 11.641 0 0 0 23.277.321h8.776a2.016 2.016 0 0 0 2.013-2.013V49.346a2.016 2.016 0 0 0-2.013-2.014zm-17.976-7.627v15.912a11.6 11.6 0 0 0-11.2 3.734h-8.446zm-2.43 36.944A9.658 9.658 0 0 1 103.981 67a9.544 9.544 0 0 1 2.119-6.024 9.6 9.6 0 0 1 10.633-3.1 9.6 9.6 0 0 1 6.506 8.509l.01.15c.011.155.022.308.022.465a9.657 9.657 0 0 1-9.643 9.649zm20.406-11.326h-8.893c0-.022-.01-.043-.014-.065a11.455 11.455 0 0 0-.28-1.325l-.038-.152a11.5 11.5 0 0 0-.443-1.254 8.027 8.027 0 0 0-.089-.214 11.507 11.507 0 0 0-.586-1.157c-.037-.065-.077-.127-.115-.191a11.525 11.525 0 0 0-.745-1.1l-.078-.095a11.672 11.672 0 0 0-.876-.985c-.027-.027-.052-.057-.08-.084a11.641 11.641 0 0 0-1-.873c-.059-.046-.117-.093-.178-.138a11.163 11.163 0 0 0-1.089-.722c-.069-.041-.14-.08-.21-.12a12.035 12.035 0 0 0-1.207-.59c-.017-.007-.033-.017-.05-.024v-6.902h15.976l.013.014zM22.015 53.734H19.94a1.693 1.693 0 0 1-1.69-1.692v-2.075a1.693 1.693 0 0 1 1.691-1.691h2.075a1.692 1.692 0 0 1 1.691 1.692v2.073a1.694 1.694 0 0 1-1.692 1.693zm-1.765-2h1.457v-1.457h-1.456zm1.767-1.456zM33.769 53.738h-2.075A1.694 1.694 0 0 1 30 52.045v-2.074a1.693 1.693 0 0 1 1.7-1.691h2.075a1.692 1.692 0 0 1 1.69 1.691v2.074a1.693 1.693 0 0 1-1.696 1.693zm-1.766-2h1.457v-1.457H32zm1.767-1.456zM46.216 53.742H44.14a1.7 1.7 0 0 1-1.691-1.694v-2.073a1.693 1.693 0 0 1 1.692-1.69h2.076a1.7 1.7 0 0 1 1.689 1.692v2.074a1.69 1.69 0 0 1-1.689 1.691zm0-2zm-1.763 0h1.456v-1.457h-1.46zM57.967 53.746h-2.074a1.693 1.693 0 0 1-1.693-1.692V49.98a1.7 1.7 0 0 1 1.7-1.692h2.074a1.694 1.694 0 0 1 1.691 1.692v2.074a1.694 1.694 0 0 1-1.698 1.692zm-1.765-2h1.457v-1.457H56.2zm1.767-1.456zM69.721 53.75h-2.075a1.692 1.692 0 0 1-1.69-1.691v-2.075a1.693 1.693 0 0 1 1.691-1.692h2.075a1.694 1.694 0 0 1 1.691 1.692v2.074a1.693 1.693 0 0 1-1.692 1.692zm-1.765-2h1.457v-1.457h-1.456zm1.766-1.456zM22.015 80.734H19.94a1.693 1.693 0 0 1-1.69-1.692v-2.075a1.693 1.693 0 0 1 1.691-1.691h2.075a1.692 1.692 0 0 1 1.691 1.692v2.073a1.694 1.694 0 0 1-1.692 1.693zm-1.765-2h1.457v-1.457h-1.456zm1.767-1.456zM33.769 80.738h-2.075A1.694 1.694 0 0 1 30 79.045v-2.074a1.693 1.693 0 0 1 1.7-1.691h2.075a1.692 1.692 0 0 1 1.69 1.691v2.074a1.693 1.693 0 0 1-1.696 1.693zm-1.766-2h1.457v-1.457H32zm1.767-1.456zM46.216 80.742H44.14a1.7 1.7 0 0 1-1.691-1.694v-2.073a1.693 1.693 0 0 1 1.692-1.69h2.076a1.7 1.7 0 0 1 1.689 1.692v2.074a1.69 1.69 0 0 1-1.689 1.691zm0-2zm-1.763 0h1.456v-1.457h-1.46zM57.967 80.746h-2.074a1.693 1.693 0 0 1-1.693-1.692V76.98a1.7 1.7 0 0 1 1.7-1.692h2.074a1.694 1.694 0 0 1 1.691 1.692v2.074a1.694 1.694 0 0 1-1.698 1.692zm-1.765-2h1.457v-1.457H56.2zm1.767-1.456zM69.721 80.75h-2.075a1.692 1.692 0 0 1-1.69-1.691v-2.075a1.693 1.693 0 0 1 1.691-1.692h2.075a1.694 1.694 0 0 1 1.691 1.692v2.074a1.693 1.693 0 0 1-1.692 1.692zm-1.765-2h1.457v-1.457h-1.456zm1.766-1.456z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M73.5 86h-57a3.5 3.5 0 0 1-3.5-3.5v-36a3.5 3.5 0 0 1 3.5-3.5h57a3.5 3.5 0 0 1 3.5 3.5v36a3.5 3.5 0 0 1-3.5 3.5zm-57-40a.5.5 0 0 0-.5.5v36a.5.5 0 0 0 .5.5h57a.5.5 0 0 0 .5-.5v-36a.5.5 0 0 0-.5-.5z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M45 73a1 1 0 0 1-1-1V57a1 1 0 0 1 2 0v15a1 1 0 0 1-1 1zM93.621 105.6a1.5 1.5 0 0 0-2.121 0l-8.5 8.47V88.5a1.5 1.5 0 0 0-3 0v25.51l-8.441-8.41a1.5 1.5 0 0 0-2.118 2.125l10.269 10.23a2.581 2.581 0 0 0 3.636 0l10.271-10.234a1.5 1.5 0 0 0 .004-2.121zM137.642 86H94.358A8.388 8.388 0 0 1 86 77.6V20.44a8.389 8.389 0 0 1 8.358-8.4h31.655a10.472 10.472 0 0 1 7.461 3.1l9.423 9.45A10.579 10.579 0 0 1 146 32.11V77.6a8.388 8.388 0 0 1-8.358 8.4zM94.358 15.041A5.384 5.384 0 0 0 89 20.44V77.6a5.384 5.384 0 0 0 5.358 5.4h43.284A5.384 5.384 0 0 0 143 77.6V32.11a7.6 7.6 0 0 0-2.227-5.4l-9.423-9.449a7.488 7.488 0 0 0-5.337-2.22z"}))},S_Illu_DragNDropPs_160x120_extends=Object.assign||function(target){for(var i=1,source;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},S_Illu_DragNDropPs_160x120=_ref=>{let{styles={}}=_ref,props=S_Illu_DragNDropPs_160x120_objectWithoutProperties(_ref,["styles"]);return react_default.a.createElement("svg",S_Illu_DragNDropPs_160x120_extends({xmlns:"http://www.w3.org/2000/svg",height:"120",id:"S_Illu_DragNDropPs_160x120",viewBox:"0 0 160 120",width:"160"},props),react_default.a.createElement("defs",null),react_default.a.createElement("title",null,"S_Illu_DragNDropPs_160x120"),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M92.591 105.6a1.5 1.5 0 0 0-2.121 0L82 114.036V90.5a1.5 1.5 0 0 0-3 0v23.54l-8.471-8.44a1.5 1.5 0 0 0-2.117 2.125l10.268 10.231a2.582 2.582 0 0 0 3.636 0l10.271-10.234a1.5 1.5 0 0 0 .004-2.122zM120.509 31a1.5 1.5 0 0 1-1.492-1.5v-3.127c0-.124-.112-.373-.25-.373H42.233c-.138 0-.25.249-.25.373V29.5a1.492 1.492 0 1 1-2.983 0v-3.127a3.233 3.233 0 0 1 3.233-3.225h76.534A3.233 3.233 0 0 1 122 26.373V29.5a1.5 1.5 0 0 1-1.491 1.5zM111.522 22a1.49 1.49 0 0 1-1.478-1.5v-2.263c0-.125-.562-.237-.7-.237H51.478c-.137 0-.522.112-.522.237V20.5a1.478 1.478 0 1 1-2.956 0v-2.263a3.219 3.219 0 0 1 3.2-3.227h58.6a3.219 3.219 0 0 1 3.2 3.227V20.5a1.489 1.489 0 0 1-1.478 1.5zM110.48 61.311h-.018a9.207 9.207 0 1 1 .018-18.411h.02a9.207 9.207 0 1 1-.02 18.414zm-.014-2h.014a7.234 7.234 0 0 0 7.244-7.192 7.244 7.244 0 1 0-12.375 5.066 7.213 7.213 0 0 0 5.117 2.126z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M127.749 32.081h-94.5A3.243 3.243 0 0 0 30 35.308v59.466A3.242 3.242 0 0 0 33.251 98h41.486a1.5 1.5 0 0 0 0-3h-39.41l30.944-30.069a1.878 1.878 0 0 1 2.646.008L99.135 95H86.121a1.5 1.5 0 1 0 0 3h39.9a.91.91 0 0 0 1.158 0h.568A3.242 3.242 0 0 0 131 94.774V35.308a3.243 3.243 0 0 0-3.251-3.227zM91.085 84.172l8.606-8.972a2.629 2.629 0 0 1 3.566.006L122.989 95H101.97zM128 94.774a.24.24 0 0 1-.251.226h-1.936l-21.14-21.211a4.6 4.6 0 0 0-6.408 0l-8.6 8.968-19.336-19.234a3.879 3.879 0 0 0-5.459-.023L33 94.474V35.308c0-.125.113-.308.251-.308h94.5c.138 0 .251.183.251.308z"}))},DragAndDrop_decorate=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r};const DragAndDrop_styles=__webpack_require__(1050),DragAndDrop_sharedStyles=__webpack_require__(381);let DragAndDrop_DragAndDrop=class extends react.Component{constructor(){super(...arguments),this.isDragging=!1,this.handleOpenButton=debounce_debounce(()=>{this.props.logEvent(this.props.containerAnalytics.component,DragAndDrop_objectSpread({},this.props.containerAnalytics.eventData,{subtype:"cmd-o"}),"click"),host["default"].openPlaceDialog()}),this.onKeyDown=evt=>{switch(evt.keyCode){case a11y.keys.ENTER:evt.target.click();break;case a11y.keys.SPACE:evt.target.click();break;default:}},this.wrapSubtextWithAction=subtext=>{const myRex=/(\[([^)]+)\])/,foundLink=myRex.exec(subtext),brokenText=foundLink&&subtext.split(foundLink[1]);return foundLink?react.createElement("span",{className:DragAndDrop_styles.subText},brokenText&&brokenText[0],react.createElement("span",{className:DragAndDrop_styles.select},react.createElement(Link_default.a,{tabIndex:0,onClick:this.handleOpenButton,onKeyDown:this.onKeyDown},foundLink&&foundLink[2])),brokenText&&brokenText[1]):subtext},this.getIcon=app=>"PHXS"===app?react.createElement(S_Illu_DragNDropPs_160x120,null):"AEFT"===app?react.createElement(S_Illu_DragNDropAe_160x120,null):null}render(){const{cardHeight,grow,headerText,descriptionText,sideImage}=this.props;return react.createElement("div",{className:classnames_default()(DragAndDrop_styles.root,DragAndDrop_sharedStyles.root,DragAndDrop_sharedStyles[cardHeight],!!grow&&DragAndDrop_sharedStyles.grow,this.isDragging&&DragAndDrop_styles.drag),onDragLeave:()=>{this.isDragging=!1},onDragOver:()=>{this.isDragging=!0},onDrop:()=>{this.isDragging=!1}},react.createElement("div",{className:DragAndDrop_styles.icon},sideImage?react.createElement("img",{src:MainStore.a.getFullAssetPath(sideImage.fields.image.fields.file)}):this.getIcon(host["default"].data.hostID)),react.createElement("span",{className:DragAndDrop_styles.mainText},ReplaceAppDataTemplates(headerText)),descriptionText&&react.createElement("span",{className:DragAndDrop_styles.subText},this.wrapSubtextWithAction(descriptionText)))}};DragAndDrop_decorate([mobx_module.t,function(k,v){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(k,v)}("design:type",Object)],DragAndDrop_DragAndDrop.prototype,"isDragging",void 0),DragAndDrop_DragAndDrop=DragAndDrop_decorate([index_module.a],DragAndDrop_DragAndDrop);var components_DragAndDrop=DragAndDrop_DragAndDrop;const Banner_styles=__webpack_require__(1048),Banner_sharedStyles=__webpack_require__(381);let Banner_Banner=class extends react.Component{openLink(data){const{containerAnalytics,logEvent}=this.props;CallToActionHandler_handleCallToAction(data,containerAnalytics,logEvent,this)}render(){const{bgAnchor,bgImage,sideImage,descriptionText="",headerText,primaryCTA,secondaryCTA,textPosition,cardHeight,style,grow,center,buttonCTA,learn}=this.props,inlineStyles={backgroundImage:bgImage&&`url('${MainStore.a.getFullAssetPath(bgImage.fields.file)}')`||null,backgroundColor:learn?"transparent":null};return react.createElement("div",{className:classnames_default()(Banner_styles.root,Banner_sharedStyles.root,Banner_sharedStyles[cardHeight||"short"],bgImage&&Banner_styles.hasBackgroundImage,sideImage&&Banner_styles.hasSideImage,!!grow&&Banner_sharedStyles.grow,!!grow&&Banner_styles.rowView,!grow&&"medium"===cardHeight&&Banner_styles.columnView,!grow&&!cardHeight&&Banner_styles.columnViewShort,Banner_styles[`bgImage_${bgAnchor||"middle"}`],Banner_styles[`bgSize_${cardHeight||"short"}`],!!center&&Banner_styles.centerMiddle),style:Banner_objectSpread({},style,inlineStyles)},react.createElement("div",{className:classnames_default()(Banner_styles.textContent,!!grow&&Banner_sharedStyles.short,"tall"===cardHeight&&Banner_styles[textPosition])},react.createElement("header",{className:classnames_default()(Banner_styles.headerText,Banner_styles[cardHeight||"short"])},ReplaceAppDataTemplates(headerText)),react.createElement("span",{className:Banner_styles.bodyText},ReplaceAppDataTemplates(descriptionText)),primaryCTA?react.createElement("div",{className:Banner_styles.ctaGroup},react.createElement(Button_default.a,{className:secondaryCTA?Banner_styles.ctaButton:null,variant:function(type){return"blue"===type?"cta":"none"===type?"quiet":"primary"}(primaryCTA.fields.style||"default"),onClick:()=>this.openLink(primaryCTA.fields)},primaryCTA.fields.cta),react.createElement("span",null),secondaryCTA?react.createElement(Button_default.a,{className:Banner_styles.ctaButton,variant:"quiet",onClick:()=>this.openLink(secondaryCTA.fields)},secondaryCTA.fields.cta):null):null),sideImage?react.createElement("div",{className:Banner_styles.iconContent},react.createElement("img",{src:MainStore.a.getFullAssetPath(sideImage.fields.image.fields.file)})):null)}};Banner_Banner.contextTypes={dispatch:prop_types_default.a.any},Banner_Banner=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([index_module.a],Banner_Banner);var components_Banner=Banner_Banner;const Modal_styles=__webpack_require__(1046);let Modal_Modal=class extends react.Component{render(){const{}=this.props;return react.createElement("div",{className:Modal_styles.root},react.createElement("div",{className:Modal_styles.container},this.props.children))}};Modal_Modal=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([index_module.a],Modal_Modal);var S_Illu_PresetCustom_172_L_2x_extends=Object.assign||function(target){for(var i=1,source;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},S_Illu_PresetEmptyDoc_172_L_2x_extends=Object.assign||function(target){for(var i=1,source;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},S_Illu_PresetFilmVideo_172_L_2x_extends=Object.assign||function(target){for(var i=1,source;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},S_Illu_PresetiPhoneX_172_L_2x_extends=Object.assign||function(target){for(var i=1,source;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},S_Illu_PresetPostcard_172_L_2x_extends=Object.assign||function(target){for(var i=1,source;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},S_Illu_PresetWeb_172_L_2x_extends=Object.assign||function(target){for(var i=1,source;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},react_dom=__webpack_require__(362),react_dom_default=__webpack_require__.n(react_dom);const{UP:Keyboard_UP,DOWN:Keyboard_DOWN,LEFT:Keyboard_LEFT,RIGHT:Keyboard_RIGHT,HOME:Keyboard_HOME,END:Keyboard_END,ENTER:Keyboard_ENTER,SPACE:Keyboard_SPACE}=a11y.keys;class Keyboard_Collection extends react_default.a.Component{constructor(){super(...arguments),this._selectedIndex=0,this.items=[]}get selectedIndex(){return this._selectedIndex}set selectedIndex(newIndex){const oldItem=this.items[this._selectedIndex],newItem=this.items[newIndex];this._selectedIndex=newIndex,oldItem&&oldItem.element&&(oldItem.element.tabIndex=-1),newItem&&newItem.element&&(newItem.element.tabIndex=0)}registerItem(index,item){this.items[index]=item}unregisterItem(index){for(delete this.items[index];this.items.length&&!this.items[this.items.length-1];)this.items.length--}render(){return react_default.a.createElement(Keyboard_Collection.Context.Provider,{value:this},react_default.a.cloneElement(react_default.a.Children.only(this.props.children),{tabIndex:-1}))}}Keyboard_Collection.Context=react_default.a.createContext(null);class Keyboard_ItemImpl extends react_default.a.Component{constructor(){super(...arguments),this.element=null,this.onKeyDown=evt=>{if(evt.keyCode===Keyboard_ENTER||evt.keyCode===Keyboard_SPACE)evt.currentTarget.click(),evt.preventDefault();else if(-1!==[Keyboard_UP,Keyboard_DOWN,Keyboard_LEFT,Keyboard_RIGHT,Keyboard_HOME,Keyboard_END].indexOf(evt.keyCode)){evt.preventDefault();const adjacentItem=this.findAdjacentItem(evt.keyCode);adjacentItem&&adjacentItem.element&&(this.props.collection.selectedIndex=adjacentItem.props.index,adjacentItem.element.focus())}}}componentDidMount(){this.props.collection.registerItem(this.props.index,this),this.updateRef()}componentWillUnmount(){this.props.collection.unregisterItem(this.props.index,this)}componentWillReceiveProps(nextProps){this.props.collection.unregisterItem(this.props.index,this),nextProps.collection.registerItem(nextProps.index,this)}componentDidUpdate(){this.updateRef()}updateRef(){const newElement=react_dom_default.a.findDOMNode(this);this.element!==newElement&&this.element&&(this.element.removeEventListener("keydown",this.onKeyDown),this.element.tabIndex=-1),newElement instanceof HTMLElement?(newElement.tabIndex=this.isSelected?0:-1,this.element!==newElement&&(newElement.addEventListener("keydown",this.onKeyDown),this.element=newElement)):this.element=null}render(){return this.props.children}get isSelected(){return this.props.collection.selectedIndex===this.props.index}getRect(){return this.element&&this.element.getBoundingClientRect()}findAdjacentItem(keyCode){const{index}=this.props,items=this.props.collection.items,len=items.length,myRect=this.getRect(),direction=keyCode===Keyboard_LEFT||keyCode===Keyboard_UP?-1:1;if(keyCode===Keyboard_END)return items[items.length-1];if(keyCode===Keyboard_HOME)return items[0];if(keyCode===Keyboard_LEFT||keyCode===Keyboard_RIGHT)return items[index+direction];if(keyCode===Keyboard_UP||keyCode===Keyboard_DOWN){let direction=keyCode===Keyboard_UP?-1:1,nextItem,suboptimalItem;for(let nextIndex=index+direction;(nextItem=items[nextIndex])&&nextItem.element;nextIndex+=direction){const nextRect=nextItem.getRect(),verticalOverlapPercentage=(_Mathmin(myRect.right,nextRect.right)-_Mathmax(myRect.left,nextRect.left))/myRect.width;if(nextRect.top!==myRect.top){if(.3<verticalOverlapPercentage)return nextItem;suboptimalItem||(suboptimalItem=nextItem)}}return suboptimalItem}}}var Keyboard={Collection:Keyboard_Collection,Item:props=>react_default.a.createElement(Keyboard_Collection.Context.Consumer,null,collection=>react_default.a.createElement(Keyboard_ItemImpl,{collection:collection,index:props.index},props.children))},Presets_Presets_1;const Presets_styles=__webpack_require__(1044),Presets_sharedStyles=__webpack_require__(381);let Presets_Presets=Presets_Presets_1=class extends react.Component{get textAlign(){switch(this.props.textPosition){case"leftTop":case"leftMiddle":case"leftBottom":case"centerTop":case"centerMiddle":case"centerBottom":case"rightTop":case"rightMiddle":case"rightBottom":default:return"center";}}handleClick(presetData){const{ctaData,ctaLog}=presetData,{logEvent,containerAnalytics}=this.props;logEvent(containerAnalytics.component,Presets_objectSpread({},containerAnalytics.eventData,{presetID:ctaData.id,presetName:ctaLog,presetType:ctaData.title,subtype:"cmd-n"}),"click"),CallToActionHandler_handleAppEvent(presetData)}renderImage(imageData){const localPreset=Presets_Presets_1.localPresets[imageData.fileName];return localPreset?react.createElement(Icon_default.a,{preserveAspectRatio:"xMinYMid slice"},localPreset):react.createElement("img",{src:imageData.url})}componentDidMount(){this.scrubbedPresets.forEach(preset=>{const{fields,sys}=preset;this.props.logEvent(this.props.containerAnalytics.component,Presets_objectSpread({},this.props.containerAnalytics.eventData,{presetID:fields.ctaData?fields.ctaData.id:null,presetName:fields.ctaLog,presetType:fields.ctaData?fields.ctaData.title:null}),"render")})}get scrubbedPresets(){const scrubbedPresets=[];return this.props.presets.forEach(preset=>{try{let{fields,sys}=preset,imageData=fields.image.fields.file;scrubbedPresets.push(preset)}catch(e){console.warn(`Missing data field from contentful: ${e}`)}}),scrubbedPresets}render(){const{cardHeight,grow,headerText,presets,logEvent,containerAnalytics}=this.props,rootStyles={textAlign:this.textAlign};return react.createElement("div",{className:classnames_default()(Presets_sharedStyles.root,Presets_sharedStyles.flexCenterCenter,Presets_sharedStyles.accessibility,Presets_sharedStyles[cardHeight||"short"],grow&&Presets_sharedStyles.grow,Presets_styles.root,Presets_styles[cardHeight||"default"]),style:rootStyles},react.createElement("div",null,react.createElement("div",{className:Presets_styles.header},headerText),react.createElement(Keyboard.Collection,null,react.createElement("div",{className:classnames_default()(Presets_sharedStyles.flexCenterCenter,Presets_styles.presetRow)},this.scrubbedPresets.map((preset,index)=>{const{fields,sys}=preset,imageData=fields.image.fields.file;return react.createElement(Keyboard.Item,{index:index,key:index},react.createElement("div",{key:sys.id,className:Presets_styles.presetContainer,onClick:()=>this.handleClick(preset.fields)},react.createElement("div",{className:classnames_default()(Presets_sharedStyles.flexCenterCenter,Presets_styles.imageContainer)},this.renderImage(imageData)),react.createElement("div",{className:Presets_styles.name},fields.name),fields.description&&react.createElement("div",{className:Presets_styles.description},fields.description)))})))))}};Presets_Presets.defaultProps={presets:[],textPosition:"centerMiddle"},Presets_Presets.localPresets={"ai_a4_icon_over.svg":react.createElement(_ref=>{let{styles={}}=_ref,props=S_Illu_PresetEmptyDoc_172_L_2x_objectWithoutProperties(_ref,["styles"]);return react_default.a.createElement("svg",S_Illu_PresetEmptyDoc_172_L_2x_extends({xmlns:"http://www.w3.org/2000/svg","data-name":"S_Illu_PresetEmptyDoc_172_L@2x",height:"344",id:"S_Illu_PresetEmptyDoc_172_L_2x",viewBox:"0 0 344 344",width:"344"},props),react_default.a.createElement("defs",null),react_default.a.createElement("title",null,"S_Illu_PresetEmptyDoc_172_L@2x"),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M231 276H113a21.023 21.023 0 0 1-21-21V101a21.023 21.023 0 0 1 21-21h88.867a22.888 22.888 0 0 1 16.052 6.526l27.132 26.438A23.128 23.128 0 0 1 252 129.437V255a21.024 21.024 0 0 1-21 21zM113 86a15.017 15.017 0 0 0-15 15v154a15.017 15.017 0 0 0 15 15h118a15.017 15.017 0 0 0 15-15V129.437a17.091 17.091 0 0 0-5.137-12.176l-27.132-26.437A16.912 16.912 0 0 0 201.867 86z"}))},null),"ai_hdtv_icon_over.svg":react.createElement(_ref=>{let{styles={}}=_ref,props=S_Illu_PresetFilmVideo_172_L_2x_objectWithoutProperties(_ref,["styles"]);return react_default.a.createElement("svg",S_Illu_PresetFilmVideo_172_L_2x_extends({xmlns:"http://www.w3.org/2000/svg","data-name":"S_Illu_PresetFilmVideo_172_L@2x",height:"344",id:"S_Illu_PresetFilmVideo_172_L_2x",viewBox:"0 0 344 344",width:"344"},props),react_default.a.createElement("defs",null),react_default.a.createElement("title",null,"S_Illu_PresetFilmVideo_172_L@2x"),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M275.87 250H68.129A8.268 8.268 0 0 1 60 241.618V104.382A8.268 8.268 0 0 1 68.129 96H275.87a8.268 8.268 0 0 1 8.13 8.382v137.236a8.268 8.268 0 0 1-8.13 8.382zM68.129 102A2.268 2.268 0 0 0 66 104.382v137.236A2.268 2.268 0 0 0 68.129 244H275.87a2.3 2.3 0 0 0 2.13-2.382V104.382a2.268 2.268 0 0 0-2.13-2.382z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M150.608 187.5a4.571 4.571 0 0 1-2.507-.75 4.635 4.635 0 0 1-2.1-3.895v-42.709a4.635 4.635 0 0 1 2.1-3.895 4.567 4.567 0 0 1 4.348-.363l48.757 21.353a4.643 4.643 0 0 1 0 8.518l-48.757 21.353a4.588 4.588 0 0 1-1.841.388zm0-48a.574.574 0 0 0-.317.1.631.631 0 0 0-.289.546v42.708a.631.631 0 0 0 .289.546.565.565 0 0 0 .555.048L199.6 162.1a.643.643 0 0 0 0-1.19l-48.757-21.353a.59.59 0 0 0-.237-.057zM263 228H137a3 3 0 0 1 0-6h126a3 3 0 0 1 0 6zM99 228H81a3 3 0 0 1 0-6h18a3 3 0 0 1 0 6zM118 235a10 10 0 1 1 10-10 10.011 10.011 0 0 1-10 10zm0-16a6 6 0 1 0 6 6 6.006 6.006 0 0 0-6-6z"}))},null),"ai_iphone_icon_over.svg":react.createElement(_ref=>{let{styles={}}=_ref,props=S_Illu_PresetiPhoneX_172_L_2x_objectWithoutProperties(_ref,["styles"]);return react_default.a.createElement("svg",S_Illu_PresetiPhoneX_172_L_2x_extends({xmlns:"http://www.w3.org/2000/svg","data-name":"S_Illu_PresetiPhoneX_172_L@2x",height:"344",id:"S_Illu_PresetiPhoneX_172_L_2x",viewBox:"0 0 344 344",width:"344"},props),react_default.a.createElement("defs",null),react_default.a.createElement("title",null,"S_Illu_PresetiPhoneX_172_L@2x"),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M199.323 256h-54.646A14.693 14.693 0 0 1 130 241.324V102.676A14.693 14.693 0 0 1 144.677 88h54.646A14.693 14.693 0 0 1 214 102.676v138.648A14.693 14.693 0 0 1 199.323 256zM144.677 94a8.687 8.687 0 0 0-8.677 8.676v138.648a8.687 8.687 0 0 0 8.677 8.676h54.646a8.687 8.687 0 0 0 8.677-8.676V102.676A8.687 8.687 0 0 0 199.323 94z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M187.185 108h-30.378a6.014 6.014 0 0 1-5.807-6.184V100a2 2 0 0 1 4 0v1.816a2.027 2.027 0 0 0 1.807 2.184h30.378a2.026 2.026 0 0 0 1.81-2.184V100a2 2 0 0 1 4 0v1.816a6.012 6.012 0 0 1-5.81 6.184z"}))},null),"ai_other_icon_over.svg":react.createElement(_ref=>{let{styles={}}=_ref,props=S_Illu_PresetCustom_172_L_2x_objectWithoutProperties(_ref,["styles"]);return react_default.a.createElement("svg",S_Illu_PresetCustom_172_L_2x_extends({xmlns:"http://www.w3.org/2000/svg","data-name":"S_Illu_PresetCustom_172_L@2x",height:"344",id:"S_Illu_PresetCustom_172_L_2x",viewBox:"0 0 344 344",width:"344"},props),react_default.a.createElement("defs",null),react_default.a.createElement("title",null,"S_Illu_PresetCustom_172_L@2x"),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M181.118 178.208l20.228-20.228 8.02 8.02-20.228 20.228a2 2 0 0 0 2.828 2.828l20.5-20.5a3.62 3.62 0 0 0 0-5.109l-8.568-8.567a3.623 3.623 0 0 0-5.107 0l-20.5 20.5a2 2 0 0 0 2.828 2.828zM158.973 216.4l-15.78 15.776-8.02-8.02 15.778-15.778a2 2 0 0 0-2.828-2.828l-17.916 17.916a1.989 1.989 0 0 0-.492.811l-5.428 17.123a2 2 0 0 0 1.906 2.6 1.944 1.944 0 0 0 .719-.135l16.275-6.275a1.983 1.983 0 0 0 .7-.451l17.913-17.914a2 2 0 1 0-2.828-2.828zm-29.615 22.24l3.525-11.118 7.043 7.043zM214.861 223.264l-70.777-70.777a3.9 3.9 0 0 0-5.5 0L125.23 165.84a3.888 3.888 0 0 0 0 5.5l70.779 70.781a3.892 3.892 0 0 0 5.5 0l13.355-13.355a3.892 3.892 0 0 0-.003-5.502zm-16.025 16.025l-70.777-70.621 13.275-13.275 6.527 6.512-6.6 6.6 2.828 2.828 6.608-6.608 5.19 5.179-6.615 6.615 2.828 2.828 6.618-6.618 5.19 5.179-6.623 6.623 2.828 2.828 6.626-6.626 5.19 5.178-6.632 6.634 2.828 2.828 6.635-6.637 5.191 5.179-6.643 6.641 2.828 2.828 6.646-6.644 5.19 5.178-6.65 6.652 2.828 2.828 6.653-6.655 5.191 5.179-6.661 6.659 2.828 2.828 6.664-6.662 5.189 5.178-6.668 6.668 2.828 2.828 6.671-6.671 5.19 5.179z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M231 276H113a21.023 21.023 0 0 1-21-21V101a21.023 21.023 0 0 1 21-21h88.867a22.888 22.888 0 0 1 16.052 6.526l27.132 26.438A23.128 23.128 0 0 1 252 129.437V255a21.024 21.024 0 0 1-21 21zM113 86a15.017 15.017 0 0 0-15 15v154a15.017 15.017 0 0 0 15 15h118a15.017 15.017 0 0 0 15-15V129.437a17.091 17.091 0 0 0-5.137-12.176l-27.132-26.437A16.912 16.912 0 0 0 201.867 86z"}))},null),"ai_poster_icon_over.svg":react.createElement(_ref=>{let{styles={}}=_ref,props=S_Illu_PresetPostcard_172_L_2x_objectWithoutProperties(_ref,["styles"]);return react_default.a.createElement("svg",S_Illu_PresetPostcard_172_L_2x_extends({xmlns:"http://www.w3.org/2000/svg","data-name":"S_Illu_PresetPostcard_172_L@2x",height:"344",id:"S_Illu_PresetPostcard_172_L_2x",viewBox:"0 0 344 344",width:"344"},props),react_default.a.createElement("defs",null),react_default.a.createElement("title",null,"S_Illu_PresetPostcard_172_L@2x"),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M200.688 124a10.65 10.65 0 0 1 7.512 3.1l18.882 18.991a9.891 9.891 0 0 1 2.918 7.002V215.3a8.864 8.864 0 0 1-9 8.7H111a8.864 8.864 0 0 1-9-8.7v-82.6a8.864 8.864 0 0 1 9-8.7zm0-6H111a14.87 14.87 0 0 0-15 14.7v82.6a14.869 14.869 0 0 0 15 14.7h110a14.869 14.869 0 0 0 15-14.7v-62.207a15.855 15.855 0 0 0-4.662-11.236l-18.884-18.992A16.683 16.683 0 0 0 200.688 118z"}))},null),"ai_webpage_icon_over.svg":react.createElement(_ref=>{let{styles={}}=_ref,props=S_Illu_PresetWeb_172_L_2x_objectWithoutProperties(_ref,["styles"]);return react_default.a.createElement("svg",S_Illu_PresetWeb_172_L_2x_extends({xmlns:"http://www.w3.org/2000/svg","data-name":"S_Illu_PresetWeb_172_L@2x",height:"344",id:"S_Illu_PresetWeb_172_L_2x",viewBox:"0 0 344 344",width:"344"},props),react_default.a.createElement("defs",null),react_default.a.createElement("title",null,"S_Illu_PresetWeb_172_L@2x"),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M89.3 114H75.278a2.9 2.9 0 0 1-2.99-2.8 3.588 3.588 0 0 1 2.99-3.2H89.3a3.588 3.588 0 0 1 2.991 3.2A2.9 2.9 0 0 1 89.3 114z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M277.482 96H66.517A6.525 6.525 0 0 0 60 102.518v140.964A6.525 6.525 0 0 0 66.517 250h210.965a6.525 6.525 0 0 0 6.518-6.518V102.518A6.525 6.525 0 0 0 277.482 96zm-210.965 6h210.965a.518.518 0 0 1 .518.518V118H66v-15.482a.518.518 0 0 1 .517-.518zm210.965 142H66.517a.518.518 0 0 1-.517-.518V123.988h212v119.494a.518.518 0 0 1-.518.518z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M171 139a44 44 0 1 0 44 44 44.049 44.049 0 0 0-44-44zm-39.95 46h16.014a64.818 64.818 0 0 0 2.572 16h-14.352a39.717 39.717 0 0 1-4.234-16zM173 161v-17.95a39.866 39.866 0 0 1 4.645.5 80.721 80.721 0 0 1 9.4 17.448zm15.422 4a58.777 58.777 0 0 1 2.638 16H173v-16zM169 161h-13.878a86.164 86.164 0 0 1 9.243-17.45 39.935 39.935 0 0 1 4.635-.5zm0 4v16h-18.054a60.467 60.467 0 0 1 2.786-16zm-21.936 16H131.05a39.717 39.717 0 0 1 4.234-16h14.352a64.818 64.818 0 0 0-2.572 16zm3.882 4H169v16h-15.268a60.467 60.467 0 0 1-2.786-16zM169 205v17.95a39.935 39.935 0 0 1-4.635-.5 86.164 86.164 0 0 1-9.243-17.45zm4 0h13.7a91.88 91.88 0 0 1-9.071 17.451 39.769 39.769 0 0 1-4.624.5zm0-4v-16h18.014a62.44 62.44 0 0 1-2.921 16zm21.9-16h16.05a39.717 39.717 0 0 1-4.234 16H192.2a66.678 66.678 0 0 0 2.7-16zm.042-4a63.3 63.3 0 0 0-2.43-16h14.206a39.717 39.717 0 0 1 4.234 16zm9.453-20h-13.156a79.571 79.571 0 0 0-7.858-16.04A40.192 40.192 0 0 1 204.393 161zm-45.68-16.07a84.375 84.375 0 0 0-7.791 16.07h-13.317a40.192 40.192 0 0 1 21.106-16.07zM137.607 205h13.317a84.375 84.375 0 0 0 7.789 16.07A40.192 40.192 0 0 1 137.607 205zm45.586 16.1a89.682 89.682 0 0 0 7.7-16.1h13.5a40.185 40.185 0 0 1-21.2 16.1z"}))},null)},Presets_Presets=Presets_Presets_1=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([index_module.a],Presets_Presets);var components_Presets=Presets_Presets,List=__webpack_require__(422),Heading=__webpack_require__(421),Heading_default=__webpack_require__.n(Heading),Sidebar_decorate=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r};const Sidebar_styles=__webpack_require__(1042),Sidebar_ActionButton=(props={})=>react_default.a.createElement("div",{style:{marginBottom:15}},react_default.a.createElement(Button_default.a,Sidebar_extends({variant:"primary"},props),props.children));class Sidebar_SideNavigation extends react_default.a.Component{sendClickEvent(navbutton){let containerAnalyticsParams={};const cardControl=MainStore.a.sophiaStore.cardControl||{};switch(navbutton){case"home":containerAnalyticsParams=((cardControl[constants.a.SOPHIA_SURFACEID.HOME]||{}).containerAnalyticsParams||{})[0];break;case"learn":containerAnalyticsParams=((cardControl[constants.a.SOPHIA_SURFACEID.LEARN]||{}).containerAnalyticsParams||[])[0];break;default:}analytics_ingest.a.logClickedEvent("left-nav",{subtype:navbutton,containerAnalyticsParams})}render(){return react_default.a.createElement(Keyboard.Collection,null,react_default.a.createElement(List.List,{className:Sidebar_styles.SideNavigation},this.props.items.map((item,index)=>""===item.data?item.content:react_default.a.createElement(Keyboard.Item,{index:index,key:item.key},react_default.a.createElement(List.ListItem,{className:classnames_default()({"is-active":index===this.props.selectedIndex}),id:`left-nav-${item.data}`,onClick:()=>{item.data&&MainStore.a.prefs.currentRoute!==item.data&&this.sendClickEvent(item.data),this.props.onChange&&this.props.onChange(item.data)},"data-qe-id":item.qeId},item.content)))))}}let Sidebar_Sidebar=class extends react_default.a.Component{constructor(){super(...arguments),this.handleOpenButton=debounce_debounce(()=>{analytics_ingest.a.logClickedEvent("sidebar-work-open",{viewType:this.context.panel&&this.context.panel.currentItemView,filter:this.context.panel&&this.context.panel.filterMode,sortOrder:this.context.panel&&this.context.panel.sortMode}),host["default"].openDocument()}),this.onOpenDVA=debounce_debounce(()=>{host["default"].openDVATeamProject()}),this.handleCreateButton=debounce_debounce(()=>{analytics_ingest.a.logClickedEvent("sidebar-work-new",{viewType:this.context.panel&&this.context.panel.currentItemView,filter:this.context.panel&&this.context.panel.filterMode,sortOrder:this.context.panel&&this.context.panel.sortMode}),host["default"].defaultNewDocument()}),this.onCreateDVA=debounce_debounce(()=>{host["default"].defaultNewDVATeamProject()}),this.onOpenRushProject=debounce_debounce(()=>{host["default"].openRushProject()}),this.hasLearnPanel=!1}get store(){return this.context.store}componentDidMount(){const{webTutorials}=MainStore.a.sophiaStore.tutorials;let desiredPage=this.store.prefs.currentRoute;0<host["default"].getSophiaCardOrder(constants.a.SOPHIA_SURFACEID.LEARN).length&&webTutorials.length?this.hasLearnPanel=!0:"learn"===desiredPage&&(desiredPage="home"),MainStore.a.user.isFRL||(analytics_ingest.a.logRenderedEvent("learn-menu",{totalWebTutorials:webTutorials.length}),!this.hasLearnPanel&&analytics_ingest.a.logErrorEvent("learnTab",{totalWebTutorials:webTutorials.length,error:{desc:MainStore.a.errorMessageForDefaultLayout||"missing-tutorials",type:"learntab"},containerAnalyticsParams:MainStore.a.sophiaStore.analyticsParams})),desiredPage!==this.store.prefs.currentRoute&&this.store.navigate(desiredPage)}render(){const bi=host["default"].data.buttonInfo;let tabs=[{key:"home",content:react_default.a.createElement(index_es.b,{id:"start_home"}),data:"home"}];this.hasLearnPanel&&!MainStore.a.shouldUseDefaultLayoutInFallbackMode&&tabs.push({key:"learn",content:react_default.a.createElement(index_es.b,{id:"start_learn"}),data:"learn"});const yourWorkTabs=Object.keys(host["default"].data.tabs).filter(key=>host["default"].data.tabs[key]&&"recentfile"!==key&&"ccfiles"!==key&&(!MainStore.a.user.isFRL||"ccphotos"!==key)).map((key,index)=>{const panel=host["default"].data.tabs[key];return{key:panel.type,content:react_default.a.createElement(index_es.b,{key:index,id:panel.label}),qeId:"tab-item__"+panel.label,data:panel.type}});1<yourWorkTabs.length&&tabs.push({key:"section",content:react_default.a.createElement(Heading_default.a,{key:"section-break",size:5,style:{marginLeft:12,marginTop:24,marginBottom:14}},react_default.a.createElement(index_es.b,{id:"start_your_work"})),data:""}),tabs=tabs.concat(yourWorkTabs);const selectedIndex=tabs.findIndex(tab=>tab.data===this.store.prefs.currentRoute);return react_default.a.createElement("div",{className:Sidebar_styles.root},react_default.a.createElement("div",{className:Sidebar_styles.innerContainer},react_default.a.createElement(Sidebar_SideNavigation,{items:tabs,onChange:routeName=>this.store.navigate(routeName),selectedIndex:selectedIndex}),react_default.a.createElement("div",{className:Sidebar_styles.appActions},react_default.a.createElement(Sidebar_ActionButton,{id:"sidebar-work--create",onClick:this.handleCreateButton,"data-qe-id":"sidebar-work--create"},bi.create_button_newdocs&&bi.create_button_newdocs.label||react_default.a.createElement(index_es.b,{id:"common_create"})),react_default.a.createElement(Sidebar_ActionButton,{id:"sidebar-work--open",onClick:this.handleOpenButton,"data-qe-id":"sidebar-work--open"},bi.create_button_open&&bi.create_button_open.label||react_default.a.createElement(index_es.b,{id:"common_open..."}))),react_default.a.createElement("div",{className:Sidebar_styles.appActions},bi.create_button_open_rush&&react_default.a.createElement(Sidebar_ActionButton,{id:"sidebar-work--DVA-open-rush",onClick:this.onOpenRushProject,"data-qe-id":"sidebar-work--DVA-open-rush",quiet:!0},bi.create_button_open_rush&&bi.create_button_open_rush.label||react_default.a.createElement(index_es.b,{id:"create_button_open_rush"})),bi.create_button_new_production&&react_default.a.createElement(Sidebar_ActionButton,{id:"sidebar-work--DVA-create",onClick:this.onCreateDVA,"data-qe-id":"sidebar-work--DVA-create",quiet:!0},bi.create_button_new_production&&bi.create_button_new_production.label||react_default.a.createElement(index_es.b,{id:"create_button_new_production"})),bi.create_button_open_production&&react_default.a.createElement(Sidebar_ActionButton,{id:"sidebar-work--DVA-open",onClick:this.onOpenDVA,"data-qe-id":"sidebar-work--DVA-open",quiet:!0},bi.create_button_open_production&&bi.create_button_open_production.label||react_default.a.createElement(index_es.b,{id:"create_button_open_production"})))))}};Sidebar_Sidebar.contextTypes={store:prop_types_default.a.any,panel:prop_types_default.a.any},Sidebar_decorate([mobx_module.t,function(k,v){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(k,v)}("design:type",Object)],Sidebar_Sidebar.prototype,"hasLearnPanel",void 0),Sidebar_Sidebar=Sidebar_decorate([index_module.a],Sidebar_Sidebar);var components_Sidebar=Sidebar_Sidebar,Federer=__webpack_require__(405),LazyImage_decorate=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r};let LazyImage_LazyImage=class extends react.Component{componentWillMount(){this.fetch(this.props.lazySrc)}componentWillReceiveProps(nextProps){nextProps.lazySrc!==this.props.lazySrc&&this.fetch(nextProps.lazySrc)}fetch(lazySrc){this.lazyResultUrl=null;lazySrc&&Federer.a.getImageBlobURL(lazySrc).then(url=>{this.lazyResultUrl=url})}render(){return react.createElement("div",{className:"lazy-image__container"},react.createElement("img",{className:classnames_default()({"lazy-image__container--loading":this.props.lazySrc&&!this.lazyResultUrl}),src:this.lazyResultUrl||this.props.src}))}};LazyImage_decorate([mobx_module.t,function(k,v){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(k,v)}("design:type",Object)],LazyImage_LazyImage.prototype,"lazyResultUrl",void 0),LazyImage_LazyImage=LazyImage_decorate([index_module.a],LazyImage_LazyImage);var lazy_image_LazyImage=LazyImage_LazyImage;let ProgressIndicator_ProgressIndicator=class extends react.Component{constructor(){super(...arguments),this.onCancel=ev=>{ev.stopPropagation(),this.props.progress.cancel()}}render(){const progress=this.props.progress;return react.createElement("div",{className:classnames_default()("progress-container",progress&&"is-opening-file")},react.createElement("div",{className:"progress-bar",onClick:ev=>ev.stopPropagation()},react.createElement("div",{className:"progress-bar-inset",style:{width:(progress&&progress.percent||0)+"%"}})),react.createElement(Button_default.a,{variant:"primary",onClick:this.onCancel},"Cancel"))}};ProgressIndicator_ProgressIndicator=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([index_module.a],ProgressIndicator_ProgressIndicator);var progress_indicator_ProgressIndicator=ProgressIndicator_ProgressIndicator,ImageGrid_decorate=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r},ImageGrid_metadata=function(k,v){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(k,v)};let ImageGrid_ImageGrid=class extends react.Component{constructor(){super(...arguments),this.downloadsInProgress=new Map,this.dimensionsAreDirty=!0,this.displayImageDimensions=new Map,this.onResize=throttle_throttle(()=>{this.dimensionsAreDirty=!0,this.forceUpdate()},100),this.onClick=(evt,image)=>{const id=this.getImageIdentifier(image);if(analytics_ingest.a.logClickedEvent("search-card",image),!!this.props.imageClickCallback){const downloadProgress=this.props.imageClickCallback(evt,image);downloadProgress&&(downloadProgress.then(()=>{this.downloadsInProgress.delete(id)}),this.downloadsInProgress.set(id,downloadProgress))}}}getImageIdentifier(image){return image.identifier||image.href}componentDidMount(){window.addEventListener("resize",this.onResize),this.dimensionsAreDirty=!0,this.calculateDisplayWidths()}componentWillReceiveProps(){this.dimensionsAreDirty=!0}componentWillUnmount(){window.removeEventListener("resize",this.onResize)}componentDidUpdate(){this.dimensionsAreDirty&&(this.calculateDisplayWidths(),this.dimensionsAreDirty=!1)}calculateDisplayWidths(){const images=this.props.images,{maxRows,gapSize,showIncompleteRows,rowMaxHeight}=this.props;if(!this.containerEl||!images)return;this.rowWidth=this.containerEl.offsetWidth,this.displayImageDimensions.clear();const maxRatio=this.rowWidth/rowMaxHeight;let rowRatio=0,currentRow=[],rowCount=0;for(let i=0,len=images.length;i<len;i++)if(!isNaN(images[i].thumb.aspectRatio)&&(0===rowRatio?rowRatio=images[i].thumb.aspectRatio:rowRatio+=images[i].thumb.aspectRatio,currentRow.push(images[i]),rowRatio>maxRatio||i===len-1&&showIncompleteRows)){const h=_Mathmin(this.rowWidth/rowRatio,rowMaxHeight);if(currentRow.forEach(rowImage=>{this.displayImageDimensions.set(rowImage,{width:h*rowImage.thumb.aspectRatio-gapSize,height:h,marginBottom:gapSize,marginRight:gapSize})}),rowRatio=0,rowCount++,currentRow=[],rowCount>=maxRows)break}this.props.imageDimensionsCalculatedCallback&&this.props.imageDimensionsCalculatedCallback(this.displayImageDimensions)}render(){const images=this.props.images.map((image,index)=>{if(!this.displayImageDimensions.has(image))return null;let dims=this.displayImageDimensions.get(image),progress=this.downloadsInProgress.get(this.getImageIdentifier(image));return react.createElement("div",{key:index,tabIndex:0===index?0:-1,className:"image-grid__item",onClick:evt=>this.onClick(evt,image,index),"data-qe-id":"image-grid-item__"+index,style:{width:dims.width,height:dims.height,marginBottom:dims.marginBottom,marginRight:dims.marginRight,display:"inline-block",cursor:"pointer"}},react.createElement(lazy_image_LazyImage,{lazySrc:image.thumb.rendition,src:image.thumb.href}),image.isFullRendition!==void 0&&!image.isFullRendition&&react.createElement(RenditionBadge_RenditionBadge,null),react.createElement(LazyImageOverlay_LazyImageOverlay,null),progress&&react.createElement(progress_indicator_ProgressIndicator,{progress:progress}))});return react.createElement("div",{className:classnames_default()("image-grid",{"download-in-progress":0<this.downloadsInProgress.size}),ref:el=>this.containerEl=el,style:{width:"100%"}},react.createElement(Keyboard.Collection,null,react.createElement("div",{style:{width:this.rowWidth,backgroundColor:"transparent"}},images.map((item,index)=>react.createElement(Keyboard.Item,{key:index,index:index},item)))))}};ImageGrid_ImageGrid.defaultProps={maxRows:3,gapSize:5,showIncompleteRows:!1},ImageGrid_decorate([mobx_module.t,ImageGrid_metadata("design:type",Object)],ImageGrid_ImageGrid.prototype,"downloadsInProgress",void 0),ImageGrid_decorate([mobx_module.t,ImageGrid_metadata("design:type",Object)],ImageGrid_ImageGrid.prototype,"rowWidth",void 0),ImageGrid_decorate([mobx_module.t,ImageGrid_metadata("design:type",Object)],ImageGrid_ImageGrid.prototype,"dimensionsAreDirty",void 0),ImageGrid_ImageGrid=ImageGrid_decorate([index_module.a],ImageGrid_ImageGrid);var image_grid_ImageGrid=ImageGrid_ImageGrid;class KnuthPlass{constructor(getAspectRatio){this.SHORT_THRESHOLD=.5,this.SNAP_POINTS=[[1,4,1],[1,3,1],[1,2,1.25],[2,3,1],[3,4,1]],this.getAspectRatio=getAspectRatio}_calculateBadness(availableWidth,contentWidth,isLast,shortLastLinePenalty){var badness,isShort;return contentWidth<.1*availableWidth?1e3:(badness=this._calculateDelta(availableWidth,contentWidth),isShort=contentWidth<availableWidth*this.SHORT_THRESHOLD,isShort&&(isLast?badness*=shortLastLinePenalty:badness+=(availableWidth-contentWidth)/availableWidth),badness)}_calculateDelta(availableWidth,contentWidth){var delta;return delta=contentWidth-availableWidth,delta/=contentWidth<availableWidth?contentWidth:availableWidth,delta*delta}_calculateShortLastLinePenalty(assets,rowWidth,cellHeight){var asset,i,k,maxCells,minCells,numAssets,penalty,ref,width;for(numAssets=assets.length,minCells=0,maxCells=2*_Mathceil(rowWidth/cellHeight),(i=k=0,ref=_Mathmin(maxCells,numAssets-1));k<=ref&&(asset=assets[numAssets-1-i],width=this.getAspectRatio(asset)*cellHeight,!(width>=rowWidth));i=k+=1);return penalty=(i-minCells)/(maxCells-minCells),penalty*penalty}calculateBreaks(assets,rowWidth,cellGap,cellHeight){var aspectRatio,asset,availableWidth,badness,bestBadness,bestBreak,breaks,contentWidth,currentBestBadness,currentBestBreak,currentBreak,i,isLast,j,k,l,len,len1,len2,m,maxCellWidth,minCellWidth,numAssets,numCells,o,previousBreak,shortLastLinePenalty,totalWidth,width,widths;for(minCellWidth=.8*cellHeight,numAssets=assets.length,maxCellWidth=1.1*rowWidth,shortLastLinePenalty=this._calculateShortLastLinePenalty(assets,rowWidth,cellHeight),totalWidth=Array(numAssets),width=0,(i=k=0,len=assets.length);k<len;i=++k)asset=assets[i],aspectRatio=this.getAspectRatio(asset),width+=_Mathmax(minCellWidth,_Mathmin(maxCellWidth,aspectRatio*cellHeight)),totalWidth[i]=width;for(bestBadness=Array(numAssets),bestBreak=Array(numAssets),(i=l=0,len1=assets.length);l<len1;i=++l){for(asset=assets[i],isLast=i===numAssets-1,0===i?(contentWidth=totalWidth[i],currentBestBadness=0):(contentWidth=totalWidth[i]-totalWidth[i-1],currentBestBadness=bestBadness[i-1]),currentBestBadness+=this._calculateBadness(rowWidth,contentWidth,isLast,shortLastLinePenalty),currentBestBreak=i-1,availableWidth=rowWidth,j=m=i-2;-1<=m&&(availableWidth-=cellGap,!(0>=availableWidth))&&!(-1===j?contentWidth=totalWidth[i]:(numCells=i-j,contentWidth=totalWidth[i]-totalWidth[j]),numCells=i-j,5<=numCells&&2*availableWidth<contentWidth);j=m+=-1)badness=0,-1<j&&(badness+=bestBadness[j]),badness+=this._calculateBadness(availableWidth,contentWidth,isLast,shortLastLinePenalty),badness<currentBestBadness&&(currentBestBadness=badness,currentBestBreak=j);bestBadness[i]=currentBestBadness,bestBreak[i]=currentBestBreak}for(breaks=[],currentBreak=numAssets-1;0<=currentBreak;)breaks.unshift(currentBreak),currentBreak=bestBreak[currentBreak];for(widths=[],previousBreak=-1,(o=0,len2=breaks.length);o<len2;o++)currentBreak=breaks[o],width=-1===previousBreak?totalWidth[currentBreak]:totalWidth[currentBreak]-totalWidth[previousBreak],widths.push(width),previousBreak=currentBreak;return[breaks,widths]}calculateRowLayout(assets,contentWidth,rowWidth,startPosition,endPosition,cellGap,cellHeight,snapThreshold){var SNAP_POINTS,aspectRatio,aspectRatios,asset,availableWidth,averageCellWidth,bestSnapDelta,bestSnapIndex,bestSnapPosition,cellEndPosition,deltaAdjust,denominator,evenCellWidth,i,isShort,k,l,leftAssets,leftSnapFraction,leftSnapThreshold,leftWidths,len,len1,len2,len3,m,maxAspectRatio,minAspectRatio,minCellWidth,minimumWidth,n,numAssets,numerator,o,p,q,r,ref,ref1,ref2,rightAssets,rightSnapFraction,rightSnapThreshold,rightWidths,scale,shortThresholdWidth,snap,snapDelta,snapPosition,subdivisions,totalMinimumWidth,totalWidth,width,widths,x;for((null===snapThreshold||void 0===snapThreshold)&&(snapThreshold=.05),SNAP_POINTS=this.SNAP_POINTS,minCellWidth=.8*cellHeight,numAssets=assets.length,aspectRatios=Array(numAssets),(i=k=0,len=assets.length);k<len;i=++k)asset=assets[i],aspectRatios[i]=this.getAspectRatio(asset);if(minAspectRatio=_Mathmin.apply(Math,aspectRatios),maxAspectRatio=_Mathmax.apply(Math,aspectRatios),availableWidth=endPosition-startPosition-(numAssets-1)*cellGap,shortThresholdWidth=availableWidth*this.SHORT_THRESHOLD,isShort=contentWidth<shortThresholdWidth,minAspectRatio>.95*maxAspectRatio&&(subdivisions=numAssets,isShort&&(averageCellWidth=contentWidth/numAssets,n=_Mathfloor(availableWidth/averageCellWidth),n>=numAssets&&(this._calculateDelta(availableWidth,averageCellWidth*n)<this._calculateDelta(availableWidth,averageCellWidth*(n+1))?subdivisions=n:subdivisions=n+1),averageCellWidth*subdivisions<shortThresholdWidth&&(subdivisions=0))),0<subdivisions){for(widths=Array(numAssets),evenCellWidth=availableWidth/subdivisions,x=startPosition,(i=l=0,ref=numAssets-1);l<=ref;i=l+=1)width=_Mathround(startPosition+i*cellGap+(i+1)*evenCellWidth)-x,widths[i]=width,x+=width+cellGap;subdivisions===numAssets&&(widths[numAssets-1]=endPosition-(x-width-cellGap))}else if(isShort)for(widths=Array(numAssets),i=m=0,len1=assets.length;m<len1;i=++m)asset=assets[i],widths[i]=_Mathfloor(this.getAspectRatio(asset)*cellHeight);else{for(totalWidth=Array(numAssets),width=0,(i=o=0,len2=aspectRatios.length);o<len2;i=++o)aspectRatio=aspectRatios[i],width+=_Mathmax(minCellWidth,_Mathmin(aspectRatio*cellHeight,1.1*rowWidth)),totalWidth[i]=width;for(contentWidth<availableWidth?(totalMinimumWidth=.75*(minCellWidth*numAssets),scale=(availableWidth-totalMinimumWidth)/(contentWidth-totalMinimumWidth)):(totalMinimumWidth=0,scale=availableWidth/contentWidth),bestSnapDelta=snapThreshold*rowWidth,bestSnapIndex=-1,(i=p=0,ref1=numAssets-2);p<=ref1;i=p+=1)for(minimumWidth=totalMinimumWidth/numAssets*(i+1),cellEndPosition=startPosition+minimumWidth+i*cellGap+scale*(totalWidth[i]-minimumWidth),(q=0,len3=SNAP_POINTS.length);q<len3;q++)snap=SNAP_POINTS[q],numerator=snap[0],denominator=snap[1],deltaAdjust=snap[2],snapPosition=_Mathround(numerator/denominator*(rowWidth-(denominator-1)*cellGap)+(numerator-1)*cellGap),snapDelta=Math.abs(cellEndPosition-snapPosition)/deltaAdjust,snapDelta<bestSnapDelta&&(bestSnapPosition=snapPosition,bestSnapDelta=snapDelta,bestSnapIndex=i);if(0<=bestSnapIndex)leftAssets=assets.slice(0,bestSnapIndex+1),rightAssets=assets.slice(bestSnapIndex+1),leftSnapFraction=(bestSnapPosition-startPosition)/(endPosition-startPosition),rightSnapFraction=(endPosition-bestSnapPosition)/(endPosition-startPosition),leftSnapThreshold=snapThreshold*leftSnapFraction*(2-leftSnapFraction),rightSnapThreshold=snapThreshold*rightSnapFraction*(2-rightSnapFraction),leftWidths=this.calculateRowLayout(leftAssets,totalWidth[bestSnapIndex],rowWidth,startPosition,bestSnapPosition,cellGap,cellHeight,leftSnapThreshold),rightWidths=this.calculateRowLayout(rightAssets,totalWidth[numAssets-1]-totalWidth[bestSnapIndex],rowWidth,bestSnapPosition+cellGap,endPosition,cellGap,cellHeight,rightSnapThreshold),widths=leftWidths.concat(rightWidths);else{for(widths=Array(numAssets),x=startPosition,(i=r=0,ref2=numAssets-2);r<=ref2;i=r+=1)minimumWidth=totalMinimumWidth/numAssets*(i+1),width=_Mathround(startPosition+minimumWidth+i*cellGap+scale*(totalWidth[i]-minimumWidth))-x,widths[i]=width,x+=width+cellGap;widths[numAssets-1]=endPosition-x}}return widths}}var LrSDKHelper=__webpack_require__(456),es=__webpack_require__(785),VirtualScroller_decorate=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r},VirtualScroller_metadata=function(k,v){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(k,v)},VirtualScroller_Cell_1;let VirtualScroller_Cell=VirtualScroller_Cell_1=class extends react.Component{constructor(){super(...arguments),this.clickHandler=evt=>{const photo=this.props.photo;if(analytics_ingest.a.logClickedEvent("search-card",photo),!!this.props.onClick){const progress=this.props.onClick(evt,photo);this.progress=progress,progress.then(()=>{this.progress=void 0},()=>{this.progress=void 0})}}}componentDidMount(){VirtualScroller_Cell_1.renderedCellForPhoto.set(this.props.photo,this)}componentWillUnmount(){VirtualScroller_Cell_1.renderedCellForPhoto.delete(this.props.photo)}render(){const photo=this.props.photo,thumb=photo.thumb,viewWidth=this.props.width,viewHeight=this.props.height,imageStyle={};if(viewWidth/viewHeight>thumb.aspectRatio){const widthRatio=viewWidth/thumb.width;imageStyle.width="100%",imageStyle.top=(viewHeight-thumb.height*widthRatio)/2}else{const heightRatio=viewHeight/thumb.height;imageStyle.position="absolute",imageStyle.height="100%",imageStyle.left=(viewWidth-thumb.width*heightRatio)/2}let blobUrlOrPromise=VirtualScroller_Cell_1.photoBlobURLs.get(photo),url;return blobUrlOrPromise||(blobUrlOrPromise=Federer.a.getImageBlobURL(photo.thumb.rendition),VirtualScroller_Cell_1.photoBlobURLs.set(photo,blobUrlOrPromise)),blobUrlOrPromise instanceof Promise?blobUrlOrPromise.then(resolvedUrl=>{VirtualScroller_Cell_1.photoBlobURLs.set(photo,resolvedUrl),this.forceUpdate()}):url=blobUrlOrPromise,react.createElement("div",{className:classnames_default()("virtual-scroller__item-container",this.props.isActive&&"virtual-scroller__active-item",this.progress&&"download-in-progress"),style:this.props.style,onClick:this.clickHandler},react.createElement("div",{className:"virtual-scroller__item"},url&&react.createElement("img",{style:imageStyle,src:url}),!photo.isFullRendition&&react.createElement(RenditionBadge_RenditionBadge,null),react.createElement(LazyImageOverlay_LazyImageOverlay,null),this.progress&&react.createElement(progress_indicator_ProgressIndicator,{progress:this.progress})))}};VirtualScroller_Cell.photoBlobURLs=new WeakMap,VirtualScroller_Cell.renderedCellForPhoto=new WeakMap,VirtualScroller_decorate([mobx_module.t,VirtualScroller_metadata("design:type",LrSDKHelper.a)],VirtualScroller_Cell.prototype,"progress",void 0),VirtualScroller_Cell=VirtualScroller_Cell_1=VirtualScroller_decorate([index_module.a],VirtualScroller_Cell);let VirtualScroller_VirtualScroller=class extends react.Component{constructor(){super(...arguments),this.activeItemIndex=0,this.waitingForMoreItems=!1,this.renderCell=({index,key,style})=>{const photo=this.photos[index];return react.createElement(VirtualScroller_Cell,{key:key,isActive:index===this.activeItemIndex,photo:photo,style:style,onClick:this.props.imageClickCallback,width:style.width,height:style.height})},this.getAspectRatio=photo=>photo.thumb.aspectRatio,this.positions=[],this.getCellSizeAndPosition=({index})=>this.positions[index],this.onScroll=throttle_throttle(({clientHeight,scrollHeight,scrollTop})=>{0<scrollHeight&&0<scrollTop&&1500>scrollHeight-(scrollTop+clientHeight)&&!this.waitingForMoreItems&&(this.waitingForMoreItems=!0,console.log("Fetching more CC Photos..."),this.props.searchStore.getMoreCcPhotos().then(()=>{this.waitingForMoreItems=!1}))},150),this.onKeyDown=e=>{const key=e.which||e.keyCode,startPosition=this.positions[this.activeItemIndex];switch(key){case a11y.keys.RIGHT:e.preventDefault(),this.activeItemIndex<this.photos.length-1&&this.activeItemIndex++;break;case a11y.keys.LEFT:e.preventDefault(),0<this.activeItemIndex&&this.activeItemIndex--;break;case a11y.keys.DOWN:e.preventDefault();for(let nextIndex=this.activeItemIndex+1,pos;pos=this.positions[nextIndex];nextIndex++)if(pos.y!==startPosition.y&&VirtualScroller_overlapsSubstantially(startPosition,pos))return void(this.activeItemIndex=nextIndex);break;case a11y.keys.UP:e.preventDefault();for(let nextIndex=this.activeItemIndex-1,pos;pos=this.positions[nextIndex];nextIndex--)if(pos.y!==startPosition.y&&VirtualScroller_overlapsSubstantially(startPosition,pos))return void(this.activeItemIndex=nextIndex);break;case a11y.keys.SPACE:e.preventDefault();const activeCell=VirtualScroller_Cell.renderedCellForPhoto.get(this.photos[this.activeItemIndex]);activeCell&&activeCell.clickHandler(e);break;default:}}}get photos(){return this.props.searchStore.ccPhotosResults}positionItems(photos,width){let knuthPlass=new KnuthPlass(this.getAspectRatio);this.positions=[];width-=15;const margin=8,size=150;let previousBreak=-1,top=0,left=0;const[breaks,widths]=knuthPlass.calculateBreaks(photos,width,margin,size);for(let i=0,l=breaks.length;i<l;++i){const currentBreak=breaks[i],rowWidth=widths[i],rowItems=photos.slice(previousBreak+1,currentBreak+1),sum=rowItems.reduce((sum,item)=>sum+item.thumb.aspectRatio,0),rowHeight=_Mathmax(_Mathmin(_Mathround(rowWidth/sum),size+50),size-50),cellWidths=knuthPlass.calculateRowLayout(rowItems,rowWidth,width,0,width,margin,rowHeight);left=0,rowItems.forEach((item,i)=>{const cellWidth=cellWidths[i];this.positions.push({x:left,y:top,width:cellWidth,height:rowHeight}),left+=cellWidth+margin}),top+=rowHeight+margin,previousBreak=currentBreak}}render(){return react.createElement("div",{style:{height:"100%"},onKeyDown:this.onKeyDown},react.createElement(es.a,{shallowCompareActiveItemIndex:this.activeItemIndex},({height,width})=>{if(width&&height){const photos=this.photos||[];return this.positionItems(photos,width,height),react.createElement(es.b,{className:"virtual-scroller",onKeyDown:this.onKeyDown,style:{overflowX:"hidden"},cellCount:photos.length,cellRenderer:this.renderCell,cellSizeAndPositionGetter:this.getCellSizeAndPosition,onScroll:this.onScroll,scrollToCell:this.activeItemIndex,height:height,width:width})}}))}};VirtualScroller_decorate([mobx_module.t,VirtualScroller_metadata("design:type",Object)],VirtualScroller_VirtualScroller.prototype,"activeItemIndex",void 0),VirtualScroller_decorate([mobx_module.t,VirtualScroller_metadata("design:type",Object)],VirtualScroller_VirtualScroller.prototype,"waitingForMoreItems",void 0),VirtualScroller_VirtualScroller=VirtualScroller_decorate([index_module.a],VirtualScroller_VirtualScroller);var virtual_scroller_VirtualScroller=VirtualScroller_VirtualScroller,react_spectrum_Tooltip=__webpack_require__(413),Tooltip_default=__webpack_require__.n(react_spectrum_Tooltip),OverlayTrigger=__webpack_require__(404),OverlayTrigger_default=__webpack_require__.n(OverlayTrigger);class SpectrumAddons_Tooltip extends react_default.a.Component{render(){return react_default.a.createElement(OverlayTrigger_default.a,{trigger:"hover",placement:this.props.placement,delayShow:500},react_default.a.createElement("span",null,this.props.children),react_default.a.createElement(Tooltip_default.a,{"data-qe-id":this.props.qeId},this.props.message))}}SpectrumAddons_Tooltip.defaultProps={placement:"bottom"};let WorkCard_WorkCard=class extends react.Component{constructor(){super(...arguments),this.showDefaultThumbnail=!1,this.onClick=debounce_debounce(()=>{const VIEWMODE="grid",item=this.props.item,panel=this.context.panel,ingestData={subcategory:item.subcategory,size:item.size,extension:item.kind,viewType:VIEWMODE,filter:panel&&panel.store&&panel.store.prefs.filterString,sortOrder:panel&&panel.sortMode};if(!item.action)analytics_ingest.a.logClickedEvent("work-card",ingestData),host["default"].openMRU(item,VIEWMODE);else switch(item.action){case"ccfiles":analytics_ingest.a.logClickedEvent("work-card",ingestData),host["default"].openCCFilesDocument(item,VIEWMODE);break;case"startertemplate":case"templatefile":case"presetfile":case"custom":analytics_ingest.a.logClickedEvent("custom-item",item),host["default"].openCustomItem(item);break;default:}}),this.onImageLoadError=evt=>{this.showDefaultThumbnail=!0,evt.target.src=this.getThumbnail()}}getThumbnail(){const item=this.props.item,thumbnailPath="./images/thumbs/",genericDocumentThumbnail=thumbnailPath+"CCX_Start_DefaultThumb_other.png",iconThumbnail=item.icon?thumbnailPath+item.icon+".png":null;let fallbackThumbnail;switch(host["default"].data.hostID){case"PPRO":case"AEFT":case"DRWV":case"MUSE":return"prproj"===item.extension||"pproj"===item.extension||"aep"===item.extension||"dwt"===item.extension?thumbnailPath+host["default"].data.hostID+"_"+("pproj"===item.extension?"pproj":item.extension)+".ico":"Team Project"===item.kind||item.extension&&item.extension.startsWith("Team Project")?thumbnailPath+"DVA_TeamProject.svg":(fallbackThumbnail=iconThumbnail||genericDocumentThumbnail,item.thumb||fallbackThumbnail);default:return this.showDefaultThumbnail||!item.thumb?(fallbackThumbnail="PHXS"===host["default"].data.hostID||"ILST"===host["default"].data.hostID||"IDSN"===host["default"].data.hostID?thumbnailPath+"CCX_Start_DefaultThumb_Ps_Ai_Id.png":genericDocumentThumbnail,iconThumbnail||fallbackThumbnail):item.thumb||iconThumbnail;}}getCardContentClass(){return"card__content"+(this.props.item.availableLocally?" card__content__available":" card__content__unavailable")}render(){const item=this.props.item,hasTip=item.availableLocally&&item.tip;return react.createElement("div",{className:"card","data-qe-id":"work-card__"+item.name},react.createElement(SpectrumAddons_Tooltip,{qeId:hasTip?"work-card--tooltip__"+item.name:"work-card--alternate-tooltip__"+item.name,message:hasTip?standardizeFilenameTooltip(item.tip):react.createElement(index_es.b,{id:"file_not_available_locally"})},react.createElement("div",{className:this.getCardContentClass(),tabIndex:-1,onKeyDown:this.props.onKeyDown,onClick:this.onClick},react.createElement("div",{className:"card__thumbnail"},react.createElement("img",{src:this.getThumbnail(),onError:this.onImageLoadError})),react.createElement("div",{className:"card__info"},react.createElement("div",{className:"card__title-wrapper card--truncate-text"},react.createElement("span",{className:"card__title"},item.name)),react.createElement("div",{className:"card__subtitle card--truncate-text"},item.lastOpened&&react.createElement(index_es.c,{value:item.lastOpened}))))))}};WorkCard_WorkCard.contextTypes={panel:prop_types_default.a.any},WorkCard_WorkCard=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([index_module.a],WorkCard_WorkCard);var card_WorkCard=WorkCard_WorkCard,Grid_decorate=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r},Grid_metadata=function(k,v){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(k,v)};let Grid_Grid=class extends react.Component{constructor(props,context){super(props,context),this.cards=[],this.card=this.props.cardType?this.props.cardType:card_WorkCard}render(){return react.createElement(Keyboard.Collection,null,react.createElement("div",{className:"panel-recent__grid",style:this.props.wrap?{flexWrap:"wrap"}:{}},this.props.items.map((item,index)=>react.createElement(Keyboard.Item,{key:index,index:index},react.createElement(this.card,{key:index,item:item})))))}};Grid_decorate([mobx_module.t,Grid_metadata("design:type",Object)],Grid_Grid.prototype,"card",void 0),Grid_Grid=Grid_decorate([index_module.a,Grid_metadata("design:paramtypes",[Object,Object])],Grid_Grid);var grid_Grid=Grid_Grid,imsBridge=__webpack_require__(32),netUtil=__webpack_require__(104),jsUtil=__webpack_require__(61);const stockUtil_STOCK_NAMESPACE="adobestock",stockUtil_STOCK_DATA_KEY="trackingdata",stockUtil_STOCK_URL_SEARCH="https://stock.adobe.com/Search",stockUtil_STOCK_URL_SEARCH_STAGE="https://primary.stock.stage.adobe.com/Search";var stockUtil={getElementStockId:function(element){const stockData=stockUtil_getStockDataForElement(element);return stockData?+stockData.content_id:null},getElementStockLicense:function(element){const stockData=stockUtil_getStockDataForElement(element);return stockData&&stockData.state==="purchased"?new String(stockData.license):null},licenseTemplate:function(imageId,licenseType){return new Promise((resolve,reject)=>{imsBridge.a.getAccessToken(token=>{if(!token)return void reject(new Error("Invalid access token."));let url=imsBridge.a.stage?"https://stock-stage.adobe.io/Rest/Libraries/1/Content/License?":"https://stock.adobe.io/Rest/Libraries/1/Content/License?";url+="content_id="+imageId+"&license="+licenseType,netUtil.a.promise("GET",url,token).then(res=>{"string"==typeof res&&(res=JSON.parse(res)),resolve(res)}).catch(err=>{reject(err)})})})},composeStockLink:stockUtil_composeStockLink,openStockLink:function(hostID,type,term){const uri=stockUtil_composeStockLink(hostID,type,term);return platform["default"].openDefaultBrowserAuthenicated("ADOBESTOCK",uri),uri},openStockSearchLink:function(term="",filters=""){const baseURL=imsBridge.a.stage?stockUtil_STOCK_URL_SEARCH_STAGE:stockUtil_STOCK_URL_SEARCH;term=term?"k="+jsUtil.a.fixedEncodeURIComponent(term)+"&":"",term+=filters?filters+"&":"",term+=analytics_ingest.a.getAnalyticsQueryString()+"&";const uri=baseURL+"?"+term;return platform["default"].openDefaultBrowserAuthenicated("ADOBESTOCK",uri),uri}};let SearchCard_SearchCard=class extends card_WorkCard{constructor(){super(...arguments),this.onClick=debounce_debounce(()=>{const VIEWMODE="grid",item=this.props.item;if(!item.action||"recentfiles"===item.contentType)analytics_ingest.a.logClickedEvent("search-card",item),host["default"].openMRU(item,VIEWMODE);else switch(item.action){case"ccfiles":analytics_ingest.a.logClickedEvent("search-card",item),host["default"].openCCFilesDocument(item,VIEWMODE);break;case"startertemplate":case"templatefile":case"presetfile":case"custom":analytics_ingest.a.logClickedEvent("custom-item",item),host["default"].openCustomItem(item);break;default:}})}render(){const item=this.props.item,hasTip=item.availableLocally&&item.tip;return react.createElement("div",{className:"card","data-qe-id":"search-card__"+item.name,onClick:this.onClick},react.createElement(SpectrumAddons_Tooltip,{qeId:hasTip?"work-card--tooltip__"+item.name:"work-card--alternate-tooltip__"+item.name,message:hasTip?standardizeFilenameTooltip(item.tip):react.createElement(index_es.b,{id:"file_not_available_locally"})},react.createElement("div",{className:this.getCardContentClass(),tabIndex:-1,onKeyDown:this.props.onKeyDown},react.createElement("div",{className:"card__thumbnail"},react.createElement("img",{src:this.getThumbnail()})),react.createElement("div",{className:"card__info"},react.createElement("div",{className:"card__title-wrapper card--truncate-text"},react.createElement("span",{className:"card__title"},item.name)),react.createElement("div",{className:"card__subtitle card--truncate-text"},item.extension&&item.extension.toUpperCase())))))}};SearchCard_SearchCard=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([index_module.a],SearchCard_SearchCard);var CreativeCloud=__webpack_require__(979),CreativeCloud_default=__webpack_require__.n(CreativeCloud),Lightroom=__webpack_require__(976),Lightroom_default=__webpack_require__.n(Lightroom),Clock=__webpack_require__(494),Clock_default=__webpack_require__.n(Clock),Stock=__webpack_require__(971),Stock_default=__webpack_require__.n(Stock),Efficient=__webpack_require__(968),Efficient_default=__webpack_require__.n(Efficient),LinkOut=__webpack_require__(493),LinkOut_default=__webpack_require__.n(LinkOut),Breadcrumbs=__webpack_require__(963),Breadcrumbs_default=__webpack_require__.n(Breadcrumbs),Autocomplete=__webpack_require__(950),Autocomplete_default=__webpack_require__.n(Autocomplete),react_spectrum_Search=__webpack_require__(492),Search_default=__webpack_require__.n(react_spectrum_Search),Icon_Search=__webpack_require__(491),Icon_Search_default=__webpack_require__.n(Icon_Search);class AccessibleButton_AccessibleButton extends react_default.a.Component{constructor(){super(...arguments),this.onClick=()=>{this.props.onClick()},this.onKeyDown=evt=>{const{onClick}=this.props;switch(evt.keyCode){case a11y.keys.ENTER:onClick();break;case a11y.keys.SPACE:onClick();break;default:}}}render(){const{props}=this;return react_default.a.createElement("a",AccessibleButton_extends({},props,{tabIndex:0,onKeyDown:this.onKeyDown,onClick:this.onClick}),this.props.children)}}var StartIngestUtil=__webpack_require__(378),ChevronRight=__webpack_require__(925),ChevronRight_default=__webpack_require__.n(ChevronRight),Tutorials_decorate=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r};const Tutorials_styles=__webpack_require__(927),Tutorials_sharedStyles=__webpack_require__(381),Tutorials_MAX_TUTORIALS_PER_ROW=4,Tutorials_getDurationStringFromSeconds=(seconds=0)=>`${_Mathfloor(seconds/60)}m`;let Tutorials_InAppTutorials=class extends react_default.a.Component{constructor(){super(...arguments),this.shouldShowAll=!1}render(){const{headerText,descriptionText}=this.props,{logEvent,containerAnalytics}=this.props,tutorials=MainStore.a.sophiaStore.tutorials.inAppTutorials;return tutorials&&tutorials.length?react_default.a.createElement("div",{ref:element=>this.refRootElement=element,className:Tutorials_styles.root},react_default.a.createElement(Heading_default.a,{className:Tutorials_styles.sectionHeader,size:4},headerText),react_default.a.createElement("div",{className:Tutorials_styles.headerRow},react_default.a.createElement("span",{className:Tutorials_styles.sectionSubheader},descriptionText),tutorials.length>Tutorials_MAX_TUTORIALS_PER_ROW&&react_default.a.createElement(AccessibleButton_AccessibleButton,{className:`${Tutorials_styles.expandListToggle} ${Tutorials_sharedStyles.flexCenterCenter} ${this.shouldShowAll?Tutorials_styles.shouldShowAll:""}`,onClick:()=>{logEvent("show-all",Tutorials_objectSpread({},containerAnalytics.eventData),"click"),this.shouldShowAll=!this.shouldShowAll,this.shouldShowAll&&this.refRootElement&&setTimeout(()=>{this.refRootElement.scrollIntoView&&this.refRootElement.scrollIntoView({behavior:"smooth"})},0)}},react_default.a.createElement(index_es.b,{id:"show_all_tuts"}),react_default.a.createElement(ChevronRight_default.a,null))),react_default.a.createElement(Tutorials_InAppTutorialCards,{tutorials:tutorials.slice(0,this.shouldShowAll?_Mathmin(tutorials.length,20):Tutorials_MAX_TUTORIALS_PER_ROW),logEvent:logEvent,containerAnalytics:containerAnalytics})):null}};Tutorials_decorate([mobx_module.t,function(k,v){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(k,v)}("design:type",Object)],Tutorials_InAppTutorials.prototype,"shouldShowAll",void 0),Tutorials_InAppTutorials=Tutorials_decorate([index_module.a],Tutorials_InAppTutorials);class Tutorials_WebTutorials extends react_default.a.Component{render(){const{headerText,descriptionText}=this.props,{logEvent,containerAnalytics}=this.props,tutorials=MainStore.a.sophiaStore.tutorials.webTutorials;return tutorials&&tutorials.length?react_default.a.createElement("div",{className:Tutorials_styles.root},react_default.a.createElement(Heading_default.a,{className:Tutorials_styles.sectionHeader,size:4},headerText),react_default.a.createElement("span",{className:Tutorials_styles.sectionSubheader},descriptionText),react_default.a.createElement(Tutorials_WebTutorialTable,{tutorials:tutorials,logEvent:logEvent,containerAnalytics:containerAnalytics})):null}}class Tutorials_InAppTutorialCards extends react_default.a.Component{openInAppTutorial(tutorial){const{logEvent,containerAnalytics}=this.props;containerAnalytics&&logEvent&&logEvent(containerAnalytics.component,Tutorials_objectSpread({},containerAnalytics.eventData,{subtype:StartIngestUtil.a.KEYS.SUBTYPE_INAPPTUT,tutorialID:tutorial.tutorialUUID||tutorial.aem_id,tutorialName:tutorial.metadata&&tutorial.metadata.descriptions?tutorial.metadata.descriptions.short:null,tutorialLevel:tutorial.metadata?tutorial.metadata.level:null,tutorialAction:tutorial.metadata?tutorial.metadata.urls.helpx:null}),"click"),CallToActionHandler_openInAppTutorial(tutorial.aem_id)}componentDidMount(){const{tutorials,containerAnalytics,logEvent}=this.props;containerAnalytics&&logEvent&&tutorials.forEach((tutorial,i)=>{i>Tutorials_MAX_TUTORIALS_PER_ROW||logEvent(StartIngestUtil.a.KEYS.CONTENT_TYPE_TUTORIAL,Tutorials_objectSpread({},containerAnalytics.eventData,{tutorialID:tutorial.tutorialUUID||tutorial.aem_id,tutorialName:tutorial.metadata?tutorial.metadata.descriptions.short:null,tutorialAction:tutorial.metadata?tutorial.metadata.urls.helpx:null,subtype:StartIngestUtil.a.KEYS.SUBTYPE_INAPPTUT}),"render")})}renderTutorials(){const{expandGridView,tutorials}=this.props;return react_default.a.createElement("div",{className:`${Tutorials_styles.tutorialCardsRow} ${expandGridView?Tutorials_styles.expandGridView:""}`},tutorials.map((tutorial,i)=>{const{metadata}=tutorial;return react_default.a.createElement(AccessibleButton_AccessibleButton,{key:i,onClick:()=>this.openInAppTutorial(tutorial),className:Tutorials_styles.tutorialCard},react_default.a.createElement("img",{src:MainStore.a.getFullAssetPath(metadata.images,"thumbnailPath","thumbnail")}),react_default.a.createElement("div",{className:Tutorials_styles.cardInfo},react_default.a.createElement(Heading_default.a,{className:Tutorials_styles.tutorialTitle,size:3},ReplaceAppDataTemplates(metadata.title)),react_default.a.createElement("span",null,ReplaceAppDataTemplates(metadata.descriptions.long)),react_default.a.createElement("div",{className:Tutorials_styles.cardMiniInfo},react_default.a.createElement(Clock_default.a,{size:"XS"}),react_default.a.createElement("span",null,Tutorials_getDurationStringFromSeconds(metadata.duration_in_seconds)),react_default.a.createElement("span",{className:Tutorials_styles.openTutorialDescription},react_default.a.createElement(LinkOut_default.a,{size:"XS"}),this.context.intl.formatMessage({id:"link_opens_in_app"},{appName:ReplaceAppDataTemplates_getAppName()})))))}))}render(){const{expandGridView}=this.props;return expandGridView?react_default.a.createElement("div",{className:Tutorials_styles.root},this.renderTutorials()):this.renderTutorials()}}Tutorials_InAppTutorialCards.contextTypes={intl:prop_types_default.a.any};class Tutorials_WebTutorialTable extends react_default.a.Component{openTutorialInBrowser(tutorial){const{logEvent,containerAnalytics}=this.props;logEvent&&containerAnalytics&&logEvent(containerAnalytics.component,Tutorials_objectSpread({},containerAnalytics.eventData,{subtype:StartIngestUtil.a.KEYS.SUBTYPE_WEBTUT,tutorialID:tutorial.tutorialUUID||tutorial.aem_id,tutorialName:tutorial.metadata?tutorial.metadata.descriptions.short:null,tutorialLevel:tutorial.metadata?tutorial.metadata.level:null,tutorialAction:tutorial.metadata?tutorial.metadata.urls.helpx:null}),"click"),tutorial.metadata?platform["default"].openDefaultBrowserAuthenicated("ADOBELEARN",tutorial.metadata.urls.helpx):null}componentDidMount(){const{tutorials,containerAnalytics,logEvent}=this.props;containerAnalytics&&logEvent&&tutorials.forEach(tutorial=>{logEvent(StartIngestUtil.a.KEYS.CONTENT_TYPE_TUTORIAL,Tutorials_objectSpread({},containerAnalytics.eventData,{tutorialID:tutorial.tutorialUUID||tutorial.aem_id,tutorialName:tutorial.metadata?tutorial.metadata.descriptions.short:null,tutorialAction:tutorial.metadata?tutorial.metadata.urls.helpx:null,subtype:StartIngestUtil.a.KEYS.SUBTYPE_WEBTUT}),"render")})}render(){const{tutorials}=this.props;return react_default.a.createElement("div",{className:Tutorials_styles.tutorialTable},tutorials.map((tutorial,i)=>{const{metadata}=tutorial;return react_default.a.createElement(AccessibleButton_AccessibleButton,{key:i,onClick:()=>{this.openTutorialInBrowser(tutorial)},className:Tutorials_styles.tutorialItem},react_default.a.createElement("div",{className:Tutorials_styles.tutorialCardCover,style:{backgroundImage:`url('${MainStore.a.getFullAssetPath(metadata.images,"thumbnailPath","thumbnail")}')`}}),react_default.a.createElement("div",{className:Tutorials_styles.cardInfo},react_default.a.createElement(Heading_default.a,{className:Tutorials_styles.tutorialTitle,size:3},ReplaceAppDataTemplates(metadata.title)),react_default.a.createElement(OverlayTrigger_default.a,{trigger:"hover",placement:"right bottom",delayShow:2e3},react_default.a.createElement("div",{className:Tutorials_styles.tutorialDescription},ReplaceAppDataTemplates(metadata.descriptions.long)),react_default.a.createElement(Tooltip_default.a,null,metadata.descriptions.long)),react_default.a.createElement("div",{className:Tutorials_styles.cardMiniInfo},react_default.a.createElement(Clock_default.a,{size:"XS"}),react_default.a.createElement("span",null,Tutorials_getDurationStringFromSeconds(metadata.duration_in_seconds)),react_default.a.createElement("span",{className:Tutorials_styles.openTutorialDescription},react_default.a.createElement(LinkOut_default.a,{size:"XS"}),react_default.a.createElement(index_es.b,{id:"link_opens_in_browser"})))))}))}}var Search_decorate=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r},Search_metadata=function(k,v){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(k,v)};__webpack_require__(952);const Search_FILTER={ALL:"all",RECENT_FILES:"recentfiles",CC_FILES:"ccfiles",CC_PHOTOS:"ccphotos"},Search_SEARCH_EXIT_ICON=react.createElement("svg",{width:"26px",height:"26px",viewBox:"0 0 26 26"},react.createElement("g",{transform:"translate(2434 -242)"},react.createElement("g",{transform:"translate(6.757 8.135)"},react.createElement("path",{className:"st0",d:"M-2429.1,252.7c-0.3,0-0.5-0.1-0.7-0.3l-4.9-4.9c-0.4-0.4-0.4-1,0-1.4l4.9-4.9c0.4-0.4,1-0.4,1.4,0 s0.4,1,0,1.4l-4.2,4.2l4.2,4.2c0.4,0.4,0.4,1,0,1.4C-2428.6,252.6-2428.9,252.7-2429.1,252.7z"}),react.createElement("path",{className:"st0",d:"M-2421.6,247.9h-12.4c-0.6,0-1-0.4-1-1c0-0.6,0.4-1,1-1h12.4c0.6,0,1,0.4,1,1 C-2420.6,247.4-2421,247.9-2421.6,247.9z"})),react.createElement("g",null,react.createElement("path",{className:"st0",d:"M-2421,268c-7.2,0-13-5.8-13-13c0-7.2,5.8-13,13-13c7.2,0,13,5.8,13,13C-2408,262.2-2413.8,268-2421,268z M-2421,244c-6.1,0-11,4.9-11,11s4.9,11,11,11s11-4.9,11-11S-2414.9,244-2421,244z"})))),Search_WaitIcon=props=>react.createElement("div",Search_extends({style:{display:"flex",alignItems:"center"}},props),react.createElement(Wait_default.a,{size:"S"}));class Search_BreadcrumbModel{constructor(label,action){this.label=label,this.action=action,action&&(this.href="#")}}let Search_Search=class extends react.Component{constructor(props,context){super(props,context),this.q="",this.breadcrumbVisible=!1,this.maxNumCardsToShow=0,this.filter=Search_FILTER.ALL,this.breadcrumb=[],this.isSearching=!1,this.wasSearchCancelled=!1,this.onResize=()=>{const element=this.recentFilesGridWrapperEl||this.ccFilesGridWrapperEl;this.updateGrid(element)},this.online=()=>{this.searchStore.clearMessage()},this.offline=()=>{this.searchStore.setMessage({title:this.props.intl.formatMessage({id:"search_no_connection_title"}),message:this.props.intl.formatMessage({id:"search_no_connection"}),state:"offline"})},this.inAppTutorialsSource=[],this.updateGrid=throttle_throttle(element=>{var _NumberparseInt=Number.parseInt;if(element&&element.firstElementChild){const initialCardWidth=100;if(!this.cardWidth||this.cardWidth===initialCardWidth){const cardEl=element.firstElementChild.firstElementChild;if(cardEl){const computedStyle=window.getComputedStyle(cardEl),marginRight=_NumberparseInt(computedStyle["margin-right"],10),marginLeft=_NumberparseInt(computedStyle["margin-left"],10);this.cardWidth=cardEl.offsetWidth+marginRight+marginLeft}else this.cardWidth=initialCardWidth}this.cardWidth&&(this.maxNumCardsToShow=_Mathfloor((element.offsetWidth-1)/this.cardWidth))}},150),this.open=()=>{this.searchStore.panelOpened(),this.context.dispatch.trigger(constants.a.events.MODAL_OPENED),this.searchContainer.classList.add("search__container--active"),setTimeout(()=>this.searchFieldEl.focus(),150),document.addEventListener("keydown",this.onKeyEvt,!1),(!this.mainStore.online||this.mainStore.user.isFRL)&&this.offline()},this.close=()=>{this.searchStore.panelClosed(),this.context.dispatch.trigger(constants.a.events.MODAL_CLOSED),this.searchContainer.classList.remove("search__container--active"),this.context.dispatch.trigger(constants.a.events.CLOSE_SEARCH),document.removeEventListener("keydown",this.onKeyEvt),this.searchStore.clearResults(),this.q="",this.searchFieldInput.clearText(),this.searchStore.clearMessage()},this.onKeyEvt=evt=>{evt.keyCode===a11y.keys.ESC&&(evt.preventDefault(),analytics_ingest.a.logClickedEvent("search-exit-esc",this.q),this.close())},this.resetBreadcrumb=()=>{this.breadcrumb.splice(1,this.breadcrumb.length-1)},this.search=term=>{""===term.trim()||(analytics_ingest.a.logClickedEvent("search-submit",this.q),this.searchStore.clearResults(),this.searchStore.clearMessage(),this.filter=Search_FILTER.ALL,!this.mainStore.user.isUserAvailable&&(this.filter=Search_FILTER.RECENT_FILES),this.breadcrumbVisible&&this.toggleBreadCrumb(),this.searchStore.addSearchTerm(this.recentFilesStore,term),this.isSearching=!0,Federer.a.query(term.normalize()).then(res=>{if(this.wasSearchCancelled)return void(this.wasSearchCancelled=!1);this.searchStore.setRequestGuid(res.requestGUID),this.searchStore.setMetrics(res.metrics);const learnResults=res.result_sets.find(dir=>"learn"===dir.name);this.searchStore.setLearnResults(learnResults),this.searchStore.setStockResults(res.result_sets.find(dir=>"stock"===dir.name)),this.searchStore.setCcPhotosResults(res.result_sets.find(dir=>"lightroom"===dir.name));const inAppTutorialResults=[];this.inAppTutorialsSource.forEach(tutorial=>{-1!==[tutorial.metadata.title,tutorial.metadata.descriptions.short].join("").toLowerCase().indexOf(term.toLowerCase())&&inAppTutorialResults.push(tutorial)}),this.searchStore.setInAppTutorialResults(inAppTutorialResults),this.searchStore.logRecentFilesRenderedEvent(),this.searchStore.getMoreCcPhotos(),this.isSearching=!1,1===res.metrics.total_hits&&1===learnResults.total_hits&&0===learnResults.total_items&&(res.metrics.total_hits=0),0===res.metrics.total_hits&&0===this.searchStore.recentFilesTotal&&this.searchStore.setMessage({title:this.props.intl.formatMessage({id:"search_no_results_title"}),message:this.props.intl.formatMessage({id:"search_no_results"}),state:"noResults"})}).catch(err=>(log.a.logJSON(err),this.wasSearchCancelled?void(this.wasSearchCancelled=!1):this.mainStore.user.isUserAvailable?void(this.mainStore.online?this.searchStore.setMessage({title:this.props.intl.formatMessage({id:"search_error_no_access_title"}),message:this.props.intl.formatMessage({id:"search_error_no_access"}),state:"error"}):this.offline(),this.isSearching=!1):(this.isSearching=!1,void(this.searchStore.recentFilesTotal||this.searchStore.setMessage({title:this.props.intl.formatMessage({id:"search_no_results_title"}),message:this.props.intl.formatMessage({id:"search_no_results"}),state:"noResults"}))))))},this.cancelSearch=()=>{this.searchStore.clearMessage(),this.wasSearchCancelled=!0,this.isSearching=!1},this.scrollHandler=throttle_throttle(()=>{this.scrollContainer&&this.searchHeader.classList.toggle("search__bar--hanging",0<this.scrollContainer.scrollTop)},40),this.toggleBreadCrumb=()=>{this.breadcrumbVisible=!this.breadcrumbVisible},this.onCCPhotoCalculated=items=>{this.searchStore.setCcPhotosInitialCount(items&&items.size)},this.onStockCalculated=items=>{this.searchStore.setStockInitialCount(items&&items.size)},this.showAll=filter=>{let ingestEvent="search-filter-all";const lastFilter=this.filter;let text;switch(this.resetBreadcrumb(),filter){case Search_FILTER.RECENT_FILES:this.filter=filter,text=this.props.intl.formatMessage({id:"search_recents_header"},{count:this.searchStore.recentFilesTotal}),this.breadcrumb.push(new Search_BreadcrumbModel(text));break;case Search_FILTER.CC_FILES:this.filter=filter,text=this.props.intl.formatMessage({id:"search_ccfiles_header"},{count:this.searchStore.ccFilesResultsTotal}),this.breadcrumb.push(new Search_BreadcrumbModel(text));break;case Search_FILTER.CC_PHOTOS:this.filter=filter,text=this.props.intl.formatMessage({id:"search_lrphotos_header"},{count:this.searchStore.ccPhotosResultsTotal}),this.breadcrumb.push(new Search_BreadcrumbModel(text));break;default:this.filter=Search_FILTER.ALL,ingestEvent="search-filter-breadcrumb";}analytics_ingest.a.logClickedEvent(ingestEvent,{term:this.q,mode:this.filter===Search_FILTER.ALL?lastFilter:this.filter,requestGUID:this.searchStore.requestGUID})},this.handleSearchExit=()=>{analytics_ingest.a.logClickedEvent("search-exit"),this.close()},this.onKeyDown=(evt,cb)=>{switch(evt.keyCode){case a11y.keys.ENTER:case a11y.keys.SPACE:evt.preventDefault(),evt.stopPropagation(),cb();break;default:}};const allResultsStr=this.props.intl.formatMessage({id:"search_all_results"});this.breadcrumb=[new Search_BreadcrumbModel(allResultsStr,this.showAll)]}get mainStore(){return this.context.store}get searchStore(){return this.context.store.searchStore}get recentFilesStore(){return this.context.store.recentFilesStore}get searchFieldEl(){return react_dom_default.a.findDOMNode(this.searchFieldInput).querySelector("input")}componentDidUpdate(){const element=this.recentFilesGridWrapperEl||this.ccFilesGridWrapperEl;this.updateGrid(element)}get visibleRecentFiles(){return this.searchStore.recentFilesResults.slice(0,this.maxNumCardsToShow)}get hasMultipleRowsOfRecentFiles(){return this.searchStore.recentFilesTotal>this.visibleRecentFiles.length}get visibleCCFiles(){return this.searchStore.ccFilesResults.slice(0,this.maxNumCardsToShow)}get hasMultipleRowsOfCCFiles(){return this.searchStore.ccFilesResultsTotal>this.visibleCCFiles.length}componentDidMount(){this.inAppTutorialsSource=this.mainStore.sophiaStore.tutorials.inAppTutorials,window.addEventListener("resize",this.onResize),this.context.dispatch.on(constants.a.events.OPEN_SEARCH,this.open,this),Object(mobx_module.v)(()=>this.mainStore.online,isOnline=>{isOnline&&!this.mainStore.user.isFRL?this.online():this.offline()},{fireImmediately:!0}),Object(mobx_module.v)(()=>this.mainStore.user.UserProfile.userId+this.mainStore.proxyUser+this.mainStore.proxyPassword,()=>{this.searchStore.term&&(this.isSearching=!1,this.search(this.searchStore.term))},{fireImmediately:!0}),Object(mobx_module.v)(()=>this.visibleRecentFiles,()=>{this.updateGrid(this.recentFilesGridWrapperEl)}),Object(mobx_module.v)(()=>this.visibleCCFiles,()=>{this.updateGrid(this.ccFilesGridWrapperEl)})}componentWillUnmount(){window.removeEventListener("resize",this.onResize),document.removeEventListener("keydown",this.onKeyEvt),this.context.dispatch.off(constants.a.events.OPEN_SEARCH,this.open)}openLearnLink(link,pos){analytics_ingest.a.logClickedEvent("open-learn-link",{url:link,position:pos,term:this.searchStore.term,requestGUID:this.searchStore.requestGUID}),link=analytics_ingest.a.composeURLWithAnalyticsQueryString(link),platform["default"].openDefaultBrowserAuthenicated("ADOBELEARN",link)}openLearnSeeAll(term,products=[]){let link=this.composeLearnSeeMoreLink(term,products);link=analytics_ingest.a.composeURLWithAnalyticsQueryString(link),analytics_ingest.a.logClickedEvent("search-filter-all",{term:this.q,mode:"learn",requestGUID:this.searchStore.requestGUID}),platform["default"].openDefaultBrowserAuthenicated("ADOBESEARCH",link)}composeLearnSeeMoreLink(term,products=[]){const learnUrl=`https://helpx.adobe.com/${i18n.a.getLocalizedGoURLSuffix(host["default"].data.language)}/search.html`,encodedProductNames=products.map(item=>encodeURIComponent(item)),queryParams=0===products.length?"":`&f:@CommonProduct=[${encodedProductNames.join(",")}]&t=AEM`;return`${learnUrl}#q=${encodeURIComponent(term)}&t=AEM&sort=relevancy${queryParams}`}getTempDir(){if(window.cep){const path=platform["default"].getTempDir()+"com.adobe.ccx.start.uss.lrphotos/";if(window.cep.fs.stat(path).err){const dp=window.cep.fs.makedir(path);dp.err?log.a.toConsole(`unable to create temp directory ${path} (${dp.err})`):log.a.toConsole("temp directory created successfully",path)}else log.a.toConsole("temp directory already exists",path);return path}}deleteTempFiles(age=60000){if(!window.cep)return;const now=Date.now(),tempDirPath=this.getTempDir(),dp=window.cep.fs.readdir(tempDirPath);return dp.err?void log.a.toConsole(`unable to list files in the temp directory ${tempDirPath} (${dp.err})`):void dp.data.forEach(filename=>{const tempFile=`${tempDirPath}/${filename}`,stat=window.cep.fs.stat(tempFile);if(stat.err)return void log.a.toConsole(`unable to read temp file info ${tempFile} (${stat.err})`);if(!(now-+stat.data.mtime<age)){const fp=window.cep.fs.deleteFile(tempFile);fp.err&&log.a.toConsole(`unable to delete temp file ${tempFile} (${fp.err})`)}})}blobToBase64(blob,cb){const reader=new FileReader;reader.onload=function(){const dataUrl=reader.result,base64=dataUrl.split(",")[1];cb(base64)},reader.readAsDataURL(blob)}openLinkCallback(img){img&&img._links&&img._links.source&&platform["default"].openDefaultBrowserAuthenicated("ADOBESTOCK",img._links.source.href)}openStockLink(term,hostId){analytics_ingest.a.logClickedEvent("search-filter-all",{term:term,mode:"stock",requestGUID:this.searchStore.requestGUID});let filters;"ILST"===hostId&&(filters="filters[content_type:zip_vector]=1"),stockUtil.openStockSearchLink(term,filters)}_makeSearchBlock(){return react.createElement("div",{className:"search__block__header"},react.createElement("div",{className:"search__block__header__title"},react.createElement(Breadcrumbs_default.a,{items:this.breadcrumb,onBreadcrumbClick:(nav,_,evt)=>{evt.preventDefault(),nav.action()}})))}_makeSearchAllHeader(opts){const{handler,id,id2,headerIcon,headerMessage,metaMessage,metaLinkCondition,body,external}=opts;return react.createElement("div",{className:"search__block","data-qe-id":`search__block--${id}`},react.createElement("div",{className:"search__block__header"},react.createElement("div",{className:"search__block__header__title"},headerIcon,headerMessage),react.createElement("div",{className:"search__block__header__meta"},metaMessage,metaLinkCondition&&react.createElement("span",{className:"search__block__header__meta__link",tabIndex:0,"data-qe-id":`search-${id2||id}_seeAll`,onClick:handler,onKeyDown:evt=>this.onKeyDown(evt,handler)},react.createElement(index_es.b,{id:"search_see_all"}),external&&react.createElement(LinkOut_default.a,{size:"S"})))),body)}render(){const productName=this.props.intl.formatMessage({id:"product_title_"+host["default"].data.hostID});let filterSearchBlock;switch(this.filter){case Search_FILTER.RECENT_FILES:filterSearchBlock=react.createElement("div",{className:"search__block","data-qe-id":"search__block--recents"},this._makeSearchBlock("recents"),react.createElement("div",{ref:el=>this.recentFilesGridWrapperEl=el,className:"search__block__grid search__block__grid--recent"},react.createElement(grid_Grid,{items:this.searchStore.recentFilesResults,cardType:SearchCard_SearchCard,wrap:!0})));break;case Search_FILTER.CC_FILES:filterSearchBlock=react.createElement("div",{className:"search__block","data-qe-id":"search__block--ccfiles"},this._makeSearchBlock("ccfiles"),react.createElement("div",{ref:el=>this.ccFilesGridWrapperEl=el,className:"search__block__grid search__block__grid--ccfiles"},react.createElement(grid_Grid,{items:this.searchStore.ccFilesResults,cardType:SearchCard_SearchCard})));break;case Search_FILTER.CC_PHOTOS:filterSearchBlock=react.createElement("div",{className:"search__block",style:{height:"100%"},"data-qe-id":"search__block--ccphotos"},this._makeSearchBlock("ccphotos"),react.createElement(virtual_scroller_VirtualScroller,{searchStore:this.searchStore,imageClickCallback:(evt,img)=>LrSDKHelper.b.openLightroomFile(img.asset_id)}));break;case Search_FILTER.ALL:filterSearchBlock=react.createElement(react.Fragment,null,0<this.searchStore.recentFilesTotal&&this._makeSearchAllHeader({id:"recents",handler:()=>this.showAll(Search_FILTER.RECENT_FILES),headerIcon:react.createElement(Clock_default.a,{size:"S"}),headerMessage:react.createElement(index_es.b,{id:"search_recents_header",values:{count:this.searchStore.recentFilesTotal}}),metaMessage:react.createElement(index_es.b,{id:"search_files_results",values:{numResults:this.searchStore.recentFilesTotal}}),metaLinkCondition:this.hasMultipleRowsOfRecentFiles,body:react.createElement("div",{ref:el=>this.recentFilesGridWrapperEl=el,className:"search__block__grid search__block__grid--all"},react.createElement(grid_Grid,{items:this.visibleRecentFiles,cardType:SearchCard_SearchCard}))}),0<this.searchStore.ccFilesResultsTotal&&this._makeSearchAllHeader({id:"ccfiles",id2:"ccFiles",handler:()=>this.showAll(Search_FILTER.CC_FILES),headerIcon:react.createElement(CreativeCloud_default.a,{size:"S"}),headerMessage:react.createElement(index_es.b,{id:"listview_ccfiles_tab_label"}),metaMessage:react.createElement(index_es.b,{id:"search_files_results",values:{numResults:this.searchStore.ccFilesResultsTotal}}),metaLinkCondition:this.hasMultipleRowsOfCCFiles,body:react.createElement("div",{ref:el=>this.ccFilesGridWrapperEl=el,className:"search__block__grid search__block__grid--all"},react.createElement(grid_Grid,{ref:el=>this.ccFilesGridEl=el,items:this.visibleCCFiles,cardType:SearchCard_SearchCard}))}),0<this.searchStore.ccPhotosResults.length&&this._makeSearchAllHeader({id:"ccphotos",id2:"ccPhotos",handler:()=>this.showAll(Search_FILTER.CC_PHOTOS),headerIcon:react.createElement(Lightroom_default.a,{size:"S"}),headerMessage:react.createElement("span",null,"Lr Photos"),metaMessage:react.createElement(index_es.b,{id:"search_lightroom_results",values:{numResults:this.searchStore.ccPhotosResultsTotal}}),metaLinkCondition:this.searchStore.ccPhotosInitialCount<this.searchStore.ccPhotosResultsTotal,body:react.createElement(image_grid_ImageGrid,{images:this.searchStore.ccPhotosResults,imageClickCallback:(evt,img)=>LrSDKHelper.b.openLightroomFile(img.asset_id),imageDimensionsCalculatedCallback:this.onCCPhotoCalculated,rowMaxHeight:150,maxRows:2,gapSize:8,showIncompleteRows:!0})}),(0<this.searchStore.learnResultsTotal||0<this.searchStore.inAppTutorialResults.length)&&this._makeSearchAllHeader({id:"learn",handler:()=>this.openLearnSeeAll(this.searchStore.term,this.searchStore.learnApplicableProducts),headerIcon:react.createElement(Efficient_default.a,{size:"S"}),headerMessage:react.createElement(index_es.b,{id:"search_learn_header",values:{productName:productName}}),metaMessage:react.createElement(index_es.b,{id:"search_learn_results",values:{numResults:this.searchStore.learnResultsTotal+this.searchStore.inAppTutorialResults.length}}),metaLinkCondition:this.searchStore.learnResultsTotal>this.searchStore.maxLearnResultsToShow,external:!0,body:react.createElement(react.Fragment,null,0<this.searchStore.inAppTutorialResults.length?react.createElement(Tutorials_InAppTutorialCards,{expandGridView:!0,tutorials:this.searchStore.inAppTutorialResults}):null,this.searchStore.learnResults.map((item,index)=>item._links?react.createElement("div",{className:"learn-result",key:index},react.createElement("div",{className:"learn-result__wrapper"},react.createElement("div",{className:"learn-result__title"},react.createElement("span",{onClick:()=>this.openLearnLink(item._links.source.href),onKeyDown:evt=>this.onKeyDown(evt,this.openLearnLink.bind(this,item._links.source.href)),tabIndex:0,"data-qe-id":"learn-result__"+item.asset_name},item.asset_name,react.createElement(LinkOut_default.a,{size:"S"}))),item._links.rendition&&react.createElement("img",{className:"learn-result__image",onClick:()=>this.openLearnLink(item._links.source.href,item.position),src:item._links.rendition[0].href}),react.createElement("div",{className:"learn-result__description"},item.learn_excerpt),react.createElement("div",{className:"learn-result__date"},this.props.intl.formatDate(item.modify_date,{year:"numeric",month:"long",day:"numeric"})))):null))}),0<this.searchStore.stockResults.length&&this._makeSearchAllHeader({id:"stock",handler:()=>this.openStockLink(this.q,host["default"].data.hostID),headerIcon:react.createElement(Stock_default.a,{size:"S"}),headerMessage:react.createElement("span",null,"Adobe Stock"),metaMessage:react.createElement(index_es.b,{id:"search_stock_results",values:{numResults:this.searchStore.stockResultsTotal}}),metaLinkCondition:this.searchStore.stockInitialCount<this.searchStore.stockResultsTotal,external:!0,body:react.createElement(image_grid_ImageGrid,{images:this.searchStore.stockResults,imageClickCallback:(evt,img)=>this.openLinkCallback(img),imageDimensionsCalculatedCallback:this.onStockCalculated,rowMaxHeight:150,maxRows:2,gapSize:8,showIncompleteRows:!0})}));break;default:}return react.createElement("div",{ref:el=>this.searchContainer=el,className:"search__container"},react.createElement("div",{ref:el=>this.searchHeader=el,className:"search__bar"},react.createElement("div",{className:"search__field-bumper search__field-bumper--left"},react.createElement("span",{className:"search__exit",onClick:this.handleSearchExit,"data-qe-id":"search-exit",onKeyDown:evt=>this.onKeyDown(evt,this.handleSearchExit.bind(this)),tabIndex:0},Search_SEARCH_EXIT_ICON,react.createElement(index_es.b,{id:"search_exit"}))),react.createElement("div",{className:"search__field-wrapper"},react.createElement(Autocomplete_default.a,{ref:autocomplete=>{autocomplete&&Object.defineProperty(autocomplete,"onTab",{configurable:!0,enumerable:!1,value:null})},onSelect:value=>{value||this.searchStore.clearResults(),this.q=value,this.search(this.q),this.searchFieldEl.blur()},allowCreate:!0,getCompletions:()=>this.searchStore.recentsTerms,onChange:value=>{this.searchStore.userSearchInput(),this.q=value,this.q&&this.searchFieldInput.setState({value:this.q}),this.isSearching&&""===this.q&&this.cancelSearch()}},react.createElement(Search_default.a,{ref:el=>this.searchFieldInput=el,value:this.q,maxLength:"128",icon:this.isSearching?react.createElement(Search_WaitIcon,null):react.createElement(Icon_Search_default.a,{size:"S"}),onChange:(val,event,{from})=>{"clearButton"===from&&(this.searchFieldInput.setState({value:""}),this.searchStore.clearResults())}})),react.createElement("span",{hidden:0<this.q.length,onClick:()=>this.searchFieldEl.focus(),className:"search__instruct search__instruct--inner"},react.createElement(index_es.a,{id:"search_esc_instruction"}))),react.createElement("div",{className:"search__field-bumper search__field-bumper--right"},react.createElement("span",{hidden:0===this.q.length,className:"search__instruct"},react.createElement(index_es.a,{id:"search_enter_instruction"})))),react.createElement("div",{className:"search__result-container scroll-container",ref:el=>this.scrollContainer=el,onScroll:this.scrollHandler},react.createElement("div",{className:"search__results scroll-pane",style:this.filter===Search_FILTER.CC_PHOTOS?{height:"calc(100% - 92px)",overflow:"initial"}:{}},filterSearchBlock,this.searchStore.message&&react.createElement("div",{className:"search__error-message"},react.createElement("div",{className:"search__error-message__image"},"error"===this.searchStore.messageState&&react.createElement(Search_ErrorIcon,null),"offline"===this.searchStore.messageState&&react.createElement(Search_OfflineIcon,null),"noResults"===this.searchStore.messageState&&react.createElement(Search_NoResultsIcon,null)),react.createElement("h5",{className:"search__error-message__title"},this.searchStore.messageTitle),react.createElement("div",{className:"search__error-message__text"},this.searchStore.message)))))}};Search_Search.contextTypes={store:prop_types_default.a.any,dispatch:prop_types_default.a.any},Search_decorate([mobx_module.t,Search_metadata("design:type",Object)],Search_Search.prototype,"q",void 0),Search_decorate([mobx_module.t,Search_metadata("design:type",Object)],Search_Search.prototype,"breadcrumbVisible",void 0),Search_decorate([mobx_module.t,Search_metadata("design:type",Object)],Search_Search.prototype,"maxNumCardsToShow",void 0),Search_decorate([mobx_module.t,Search_metadata("design:type",Object)],Search_Search.prototype,"filter",void 0),Search_decorate([mobx_module.t,Search_metadata("design:type",Array)],Search_Search.prototype,"breadcrumb",void 0),Search_decorate([mobx_module.t,Search_metadata("design:type",Object)],Search_Search.prototype,"isSearching",void 0),Search_decorate([mobx_module.g,Search_metadata("design:type",Object),Search_metadata("design:paramtypes",[])],Search_Search.prototype,"visibleRecentFiles",null),Search_decorate([mobx_module.g,Search_metadata("design:type",Object),Search_metadata("design:paramtypes",[])],Search_Search.prototype,"hasMultipleRowsOfRecentFiles",null),Search_decorate([mobx_module.g,Search_metadata("design:type",Object),Search_metadata("design:paramtypes",[])],Search_Search.prototype,"visibleCCFiles",null),Search_decorate([mobx_module.g,Search_metadata("design:type",Object),Search_metadata("design:paramtypes",[])],Search_Search.prototype,"hasMultipleRowsOfCCFiles",null),Search_Search=Search_decorate([index_module.a,Search_metadata("design:paramtypes",[Object,Object])],Search_Search);var components_Search=Object(index_es.f)(Search_Search);const Search_ErrorIcon=()=>react.createElement("svg",{id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 137.89 92.04"}," ",react.createElement("title",null,"search-error")," ",react.createElement("path",{d:"M151.5,44h-68a1.5,1.5,0,0,0,0,3h68a.5.5,0,0,1,.5.5V57H80a1,1,0,0,0,0,2h51v52H56.5a.5.5,0,0,1-.5-.5v-36a1.5,1.5,0,0,0-3,0v36a3.5,3.5,0,0,0,3.5,3.5h95a3.5,3.5,0,0,0,3.5-3.5v-63A3.5,3.5,0,0,0,151.5,44Zm0,67H133V59h19v51.5A.5.5,0,0,1,151.5,111Z",transform:"translate(-17.11 -21.96)"})," ",react.createElement("path",{d:"M54.28,69.43A23.74,23.74,0,1,0,34.75,59.16L18.5,75.4a4.75,4.75,0,1,0,6.72,6.72L41.54,65.8l0-.05A23.58,23.58,0,0,0,54.28,69.43Zm0-44.43A20.72,20.72,0,1,1,33.57,45.72,20.72,20.72,0,0,1,54.28,25ZM23.1,80a1.75,1.75,0,1,1-2.48-2.48l16-16A23.91,23.91,0,0,0,39.14,64Z",transform:"translate(-17.11 -21.96)"})," ",react.createElement("path",{d:"M45.67,54.33a1.5,1.5,0,0,0,2.12,0h0l6.71-6.71,6.71,6.71a1.5,1.5,0,0,0,2.12-2.12L56.62,45.5l6.71-6.71a1.5,1.5,0,0,0-2.12-2.12L54.5,43.38l-6.71-6.71a1.5,1.5,0,0,0-2.12,2.12l6.71,6.71-6.71,6.71a1.5,1.5,0,0,0,0,2.12Z",transform:"translate(-17.11 -21.96)"})," "),Search_OfflineIcon=()=>react.createElement("svg",{id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 141.78 105.5"}," ",react.createElement("title",null,"search-no-connection")," ",react.createElement("path",{d:"M56.37,82H24.86a4.09,4.09,0,0,1-3.55-6.14L37.07,48.55h0a4.05,4.05,0,0,1,3.55-2h0a4.05,4.05,0,0,1,3.55,2L59.92,75.86A4.09,4.09,0,0,1,56.37,82ZM39.67,50,23.91,77.36A1.09,1.09,0,0,0,24.86,79H56.37a1.09,1.09,0,0,0,.95-1.64L41.56,50a1.07,1.07,0,0,0-.95-.55h0A1.08,1.08,0,0,0,39.67,50Z",transform:"translate(-20.76 -20.5)"})," ",react.createElement("path",{d:"M40.5,69A1.5,1.5,0,0,1,39,67.5v-7a1.5,1.5,0,0,1,3,0v7A1.5,1.5,0,0,1,40.5,69Z",transform:"translate(-20.76 -20.5)"})," ",react.createElement("circle",{cx:"19.74",cy:"53",r:"1.9"})," ",react.createElement("path",{d:"M119.75,86.41a1.5,1.5,0,0,1-1.06-2.56,26.43,26.43,0,0,0,0-37.37,1.5,1.5,0,0,1,2.12-2.12,29.43,29.43,0,0,1,0,41.61h0A1.5,1.5,0,0,1,119.75,86.41Z",transform:"translate(-20.76 -20.5)"})," ",react.createElement("path",{d:"M80.25,86.41A1.5,1.5,0,0,1,79.19,86a29.43,29.43,0,0,1,0-41.61h0a1.5,1.5,0,0,1,2.12,2.12,26.43,26.43,0,0,0,0,37.37,1.5,1.5,0,0,1-1.06,2.56Z",transform:"translate(-20.76 -20.5)"})," ",react.createElement("path",{d:"M131.23,97.89a1.5,1.5,0,0,1-1.06-2.56,42.66,42.66,0,0,0,0-60.33h0a1.5,1.5,0,0,1,2.12-2.12,45.66,45.66,0,0,1,0,64.57h0A1.5,1.5,0,0,1,131.23,97.89Z",transform:"translate(-20.76 -20.5)"})," ",react.createElement("path",{d:"M68.77,97.89a1.5,1.5,0,0,1-1.06-.44,45.69,45.69,0,0,1-6.92-8.88A1.5,1.5,0,1,1,63.37,87h0a42.71,42.71,0,0,0,6.46,8.29,1.5,1.5,0,0,1-1.06,2.56Z",transform:"translate(-20.76 -20.5)"})," ",react.createElement("path",{d:"M56.3,60.28l-.22,0a1.5,1.5,0,0,1-1.27-1.7A46,46,0,0,1,67.71,32.88,1.5,1.5,0,1,1,69.83,35a43,43,0,0,0-12,24A1.5,1.5,0,0,1,56.3,60.28Z",transform:"translate(-20.76 -20.5)"})," ",react.createElement("path",{d:"M143.17,109.83a1.5,1.5,0,0,1-1.06-2.56,59.55,59.55,0,0,0,0-84.21,1.5,1.5,0,0,1,2.12-2.12h0a62.55,62.55,0,0,1,0,88.45h0A1.5,1.5,0,0,1,143.17,109.83Z",transform:"translate(-20.76 -20.5)"})," ",react.createElement("path",{d:"M56.83,109.83a1.5,1.5,0,0,1-1.06-.44,62.31,62.31,0,0,1-12.9-18.76,1.5,1.5,0,1,1,2.74-1.23h0a59.34,59.34,0,0,0,12.28,17.86,1.5,1.5,0,0,1-1.06,2.56Z",transform:"translate(-20.76 -20.5)"})," ",react.createElement("path",{d:"M44.25,41.8a1.5,1.5,0,0,1-1.37-2.11,62.31,62.31,0,0,1,12.9-18.75,1.5,1.5,0,1,1,2.13,2.12h0A59.31,59.31,0,0,0,45.62,40.91,1.5,1.5,0,0,1,44.25,41.8Z",transform:"translate(-20.76 -20.5)"})," ",react.createElement("path",{d:"M99.5,126a1.5,1.5,0,0,1-1.5-1.5v-60a1.5,1.5,0,0,1,3,0v60A1.5,1.5,0,0,1,99.5,126Z",transform:"translate(-20.76 -20.5)"})," "),Search_NoResultsIcon=()=>react.createElement("svg",{id:"Layer_1","data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 149.89 98.04"}," ",react.createElement("title",null,"search-no-results")," ",react.createElement("path",{d:"M55.28,67.43A23.74,23.74,0,1,0,35.75,57.16L19.5,73.4a4.75,4.75,0,1,0,6.72,6.72h0L42.54,63.8l0-.05A23.58,23.58,0,0,0,55.28,67.43Zm0-44.43A20.72,20.72,0,1,1,34.57,43.72,20.72,20.72,0,0,1,55.28,23ZM24.1,78a1.75,1.75,0,1,1-2.48-2.48h0l16-16A23.91,23.91,0,0,0,40.14,62Z",transform:"translate(-18.11 -19.96)"})," ",react.createElement("path",{d:"M46.67,52.33a1.5,1.5,0,0,0,2.12,0h0l6.71-6.71,6.71,6.71a1.5,1.5,0,0,0,2.12-2.12L57.62,43.5l6.71-6.71a1.5,1.5,0,0,0-2.12-2.12L55.5,41.38l-6.71-6.71a1.5,1.5,0,0,0-2.12,2.12l6.71,6.71-6.71,6.71A1.5,1.5,0,0,0,46.67,52.33Z",transform:"translate(-18.11 -19.96)"})," ",react.createElement("path",{d:"M164.5,42H83.74a1.5,1.5,0,0,0,0,3H164.5a.5.5,0,0,1,.5.5v69a.51.51,0,0,1-.5.5h-1.09L137.84,89a4.94,4.94,0,0,0-3.5-1.43h0A4.94,4.94,0,0,0,130.82,89l-9.7,10.26L99.39,77.37a4.16,4.16,0,0,0-3-1.25h0a4.16,4.16,0,0,0-3,1.23L57,113.28V72.54a1.5,1.5,0,0,0-3,0v42a3.5,3.5,0,0,0,3.5,3.5h107a3.5,3.5,0,0,0,3.5-3.5v-69A3.5,3.5,0,0,0,164.5,42ZM132.26,90.43a2.92,2.92,0,0,1,2.07-.83h0a2.93,2.93,0,0,1,2.08.84L160.6,115H136.69l-14.15-14.28ZM94.85,78.77a2.18,2.18,0,0,1,1.56-.65h0a2.18,2.18,0,0,1,1.56.66L133.87,115H58.11Z",transform:"translate(-18.11 -19.96)"})," ",react.createElement("path",{d:"M144.4,74.62h0a10.11,10.11,0,0,0,7.22-3A10.34,10.34,0,0,0,144.44,54h0a10.11,10.11,0,0,0-7.22,3,10.34,10.34,0,0,0,7.2,17.63ZM138.62,58.4a8.13,8.13,0,0,1,5.8-2.43h0a8.34,8.34,0,0,1,5.78,14.22,8.12,8.12,0,0,1-5.8,2.42h0a8.34,8.34,0,0,1-5.78-14.22Z",transform:"translate(-18.11 -19.96)"})," "),HorizontalDivider_styles=__webpack_require__(922);class HorizontalDivider_HorizontalDivider extends react_default.a.Component{render(){const{top,bottom}=this.props;return react_default.a.createElement("div",{className:classnames_default()(HorizontalDivider_styles.horizontalDivider,!!top&&HorizontalDivider_styles.top,!!bottom&&HorizontalDivider_styles.bottom)})}}var GlobeGrid=__webpack_require__(920),GlobeGrid_default=__webpack_require__.n(GlobeGrid);const MultiLinksBanner_styles=__webpack_require__(917),MultiLinksBanner_sharedStyles=__webpack_require__(381);class MultiLinksBanner_MultiLinksBanner extends react.Component{openLink(data){const{containerAnalytics,logEvent}=this.props;logEvent(containerAnalytics.component,MultiLinksBanner_objectSpread({},containerAnalytics.eventData,{ctaEvent:data?data.ctaEvent:null,ctaData:data?data.ctaData:null,subtype:data?data.ctaLog:null}),"click"),platform["default"].openDefaultBrowserAuthenicated("ADOBEACCOUNT",data.ctaURL)}render(){const{headerText,descriptionText,links,textPosition,bgImage,sideImage,cardHeight,learn}=this.props,inlineStyles={backgroundColor:learn?"transparent":"initial"};return react.createElement("div",{className:classnames_default()(MultiLinksBanner_styles.root,MultiLinksBanner_sharedStyles[cardHeight||"short"],!sideImage&&MultiLinksBanner_styles.center),style:MultiLinksBanner_objectSpread({},inlineStyles)},react.createElement("div",{className:MultiLinksBanner_styles.textContainer},react.createElement("div",{className:MultiLinksBanner_styles.headerText},headerText),links?react.createElement("div",{className:MultiLinksBanner_styles.multilinks},react.createElement(GlobeGrid_default.a,{className:MultiLinksBanner_styles.globeIcon}),react.createElement("div",{className:MultiLinksBanner_styles.descriptionText},descriptionText?`${descriptionText}:`:""),react.createElement("ul",{className:MultiLinksBanner_styles.links},links.map((link,i)=>react.createElement("li",{key:`${link.fields.cta}_${i}`},react.createElement(Link_default.a,{onClick:()=>this.openLink(link.fields)},link.fields.cta))))):null),sideImage?react.createElement("div",{className:MultiLinksBanner_styles.iconContent},react.createElement("img",{src:MainStore.a.getFullAssetPath(sideImage.fields.image.fields.file)})):null)}}var S_Illu_IllustratorFirstMile_520x200_extends=Object.assign||function(target){for(var i=1,source;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},S_Illu_IllustratorFirstMile_520x200=_ref=>{let{styles={}}=_ref,props=S_Illu_IllustratorFirstMile_520x200_objectWithoutProperties(_ref,["styles"]);return react_default.a.createElement("svg",S_Illu_IllustratorFirstMile_520x200_extends({xmlns:"http://www.w3.org/2000/svg",height:"200",id:"S_Illu_IllustratorFirstMile_520x200",viewBox:"0 0 520 200",width:"520"},props),react_default.a.createElement("defs",null),react_default.a.createElement("title",null,"S_Illu_IllustratorFirstMile_520x200"),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M460.91 147.011c-7.743-2.007-19.477-5.805-20.837-6.545-.51-.277-3.149-1.8-6.49-3.726-6.025-3.475-14.613-8.427-19.14-10.945l11.922-8.7a4.344 4.344 0 1 0-5.11-7.027L406 121.2c-3.256-1.593-6.762-2.746-10.439-2-4.012.811-14.616 4.011-20.58 5.846a7.905 7.905 0 0 0-5.545 6.746l-.522 4.993c-.262-.074-.5-.139-.706-.188a4.57 4.57 0 0 0-3.657.617 7.634 7.634 0 0 0-3 5.044c-.636 3.5 2.013 6.091 4.589 7.785l-2.858 2.247a1.51 1.51 0 0 0-.222.216l-7.421 8.856c-2.356 1.8-18.335 13.531-33.4 13.531-10.164 0-25.427-9.682-26.21-24.852-.246-4.779-.48-8.629-.707-12.371-.5-8.266-.977-16.086-1.488-32.4 3.456-.716 16.17-4.1 20.844-15.785a106.641 106.641 0 0 0 5.7-18.262 6.5 6.5 0 0 0-12.758-2.463 99.925 99.925 0 0 1-5.011 15.895c-1.677 4.193-6.311 6.322-9.174 7.267-.243-10.085-.4-31.121-.4-31.3a8.893 8.893 0 0 0-17.786 0c0 .523-.149 12.136-.377 19.284a31.451 31.451 0 0 1-2.327-1.251 22.863 22.863 0 0 1-7.961-8.519 5.5 5.5 0 0 0-9.934 4.723 33.767 33.767 0 0 0 12.3 13.268 32.941 32.941 0 0 0 7.454 3.375c-.338 8.39-.552 16.238-.76 23.837-.434 15.853-.809 29.543-2.137 41.5a18.019 18.019 0 0 1-8 13.317c-7.812 5.41-20.446 6.8-32.972 3.617-13.58-3.446-14.07-10.119-14.084-10.4v-.156a1.5 1.5 0 0 0 .113-.483c.086-1.562.549-6.03 1.653-7.93a4.974 4.974 0 0 1 3.487-2.158 1.5 1.5 0 0 0 1.358-1.687c-.283-2.194.39-4.054 1.8-4.974 1.675-1.091 6.229-1.684 8.385-.584.048 2.166-2.491 5.415-4.416 6.67a4.438 4.438 0 0 1-3.987.26 1.5 1.5 0 0 0-1.014 2.825 7.357 7.357 0 0 0 6.639-.572c2.4-1.565 6.655-6.388 5.617-10.445a1.507 1.507 0 0 0-.527-.808c-3.136-2.462-9.646-1.613-12.335.14a7.515 7.515 0 0 0-3.224 6.493 7.817 7.817 0 0 0-3.663 2.325c-.016-3.633.024-6.452.03-6.843.041-.568.16-3.583-1.76-5.181-.683-.568-1.009-3.345-.4-5.653.7-2.67 4.054-6.879 6.558-7.909 1.449 1.975 1.882 6.834 1.1 9.786a7.068 7.068 0 0 1-3.35 4.367 1.5 1.5 0 1 0 1.49 2.6 10.047 10.047 0 0 0 4.762-6.207c.882-3.353.764-10.7-2.614-13.405a1.5 1.5 0 0 0-1.178-.31c-4.149.673-8.729 6.719-9.674 10.311-.632 2.4-.814 6.893 1.384 8.724.636.528.736 2.033.686 2.673 0 .036 0 .071-.006.106s-.038 2.408-.034 5.682a40.167 40.167 0 0 0-2.647-2.236 10.142 10.142 0 0 0-2.826-9.679c-2.682-2.577-9.343-6.717-13.32-5.095a1.5 1.5 0 0 0-.844.878c-1.476 4.08 2.435 11.344 4.973 13.783a11.135 11.135 0 0 0 4.938 2.362 1.5 1.5 0 1 0 .56-2.947 8.349 8.349 0 0 1-3.419-1.579c-2.141-2.056-4.542-7.237-4.371-9.866 2.357-.152 6.913 2.233 9.405 4.628a7.14 7.14 0 0 1 1.759 7.574 1.5 1.5 0 0 0 .522 1.718c1.717 1.262 4.485 3.6 4.975 4.619a4.339 4.339 0 0 1 .344 1.366c.01.581.021 1.166.035 1.752-.019.3-.046.551-.071.72a1.53 1.53 0 0 0-.017.271l.128 4.147c.008.372.367 9.172 16.344 13.227a56.668 56.668 0 0 0 13.874 1.766c8.352 0 16.019-2 21.545-5.825a21.171 21.171 0 0 0 9.269-15.451c1.342-12.081 1.718-25.829 2.154-41.749.217-7.955.442-16.18.808-25.008a1.5 1.5 0 0 0-1.182-1.529 27 27 0 0 1-7.793-3.34 30.463 30.463 0 0 1-11.115-11.967 2.5 2.5 0 0 1 4.52-2.137 25.926 25.926 0 0 0 9.138 9.8 28.075 28.075 0 0 0 4.77 2.305 1.5 1.5 0 0 0 2-1.351c.287-6.987.458-21.465.458-21.57a5.893 5.893 0 0 1 11.786 0c0 .184.176 24.214.452 33.323a1.5 1.5 0 0 0 1.849 1.413c2.393-.574 10.407-2.961 13.058-9.586a101.228 101.228 0 0 0 5.17-16.438 3.5 3.5 0 0 1 6.871 1.331 103.449 103.449 0 0 1-5.543 17.707c-4.686 11.715-18.77 14-19.357 14.09a1.853 1.853 0 0 1-.21.015l-.118.007a1.5 1.5 0 0 0-1.414 1.543c.528 17.277 1.016 25.317 1.533 33.829.227 3.734.46 7.575.706 12.344.885 17.16 17.608 27.7 29.206 27.7 16.117 0 32.455-12.02 35.189-14.123l10.683-4.309a1.335 1.335 0 0 0 .156-.089 4.406 4.406 0 0 0 2.459 3.475 5.541 5.541 0 0 0 3.672.391 3.877 3.877 0 0 0 2.809 3.292 5.587 5.587 0 0 0 1.636.25 6.08 6.08 0 0 0 3.71-1.37 3.631 3.631 0 0 0 2.391.886h.022a8.525 8.525 0 0 0 5.888-3.252c6.263 3.891 14.718 6.917 20.5 7.19 3.651.176 7.686-.952 11.249-1.944 2.9-.807 5.648-1.576 7.119-1.305 2.637.479 14.649 6.01 22.08 9.612a1.48 1.48 0 0 0 .653.15 1.5 1.5 0 0 0 .655-2.849c-1.929-.936-18.966-9.159-22.852-9.864-2.145-.389-5.072.424-8.46 1.366-3.345.931-7.144 1.969-10.3 1.838-6.117-.289-15.54-3.962-21.452-8.363-4.336-3.227-8.217-4.877-12.71-6.787-1.958-.833-3.984-1.693-6.281-2.775-4.73-2.228-6.935-4.42-6.553-6.518a4.783 4.783 0 0 1 1.684-3.067 1.6 1.6 0 0 1 1.318-.215c1.918.462 7.435 2.41 12.3 4.129 2.914 1.029 5.667 2 7.308 2.533 4.792 1.552 12 .346 15.933-1.66a1.5 1.5 0 1 0-1.364-2.672 22.8 22.8 0 0 1-11.8 1.881l21.892-15.979c3.947 2.154 13.689 7.771 20.315 11.592 3.49 2.013 6.012 3.468 6.555 3.763 1.822.992 14.291 4.94 21.518 6.814a1.5 1.5 0 0 0 .753-2.9zm-72.658 14.272l.082.058a5.6 5.6 0 0 1-3.383 1.956c-.535 0-.822-.668-.825-.676a1.5 1.5 0 0 0-2.612-.352c-.015.02-1.483 1.982-3.428 1.392-1.161-.353-.656-2.261-.637-2.334a1.5 1.5 0 0 0-2.355-1.6 3.25 3.25 0 0 1-3.069.416c-1.1-.527-.847-2.339-.692-3.075l3.587-2.747 1.244.53c4.489 1.909 8.036 3.418 12.088 6.432zm-16.477-8.336l-4.975 3.81-5.123 2.066 3.578-4.27 3.706-2.914c.305.149.587.283.813.39.693.326 1.354.627 2.001.918zm7.943-12.515c-2.839-1-5.657-1.992-7.889-2.731l.586-5.595a4.911 4.911 0 0 1 3.442-4.192c5.912-1.818 16.409-4.987 20.294-5.773a12 12 0 0 1 7.07 1.085l-23.249 16.966a1.527 1.527 0 0 0-.254.24zm6.594 2.181a1.07 1.07 0 0 0-.106.095c-.92-.316-1.974-.684-3.108-1.083l23.172-16.91c.732.395 1.462.8 2.187 1.214l.4.226zm25.219-18.407c-.527-.288-1.058-.584-1.6-.89l-.985-.553 14.077-10.272a1.344 1.344 0 1 1 1.578 2.176zM161.8 177.994c-24.025 0-45.739-5.822-61.548-16.8a1.5 1.5 0 1 1 1.711-2.463c19.8 13.754 49.292 19.148 80.91 14.8a141.394 141.394 0 0 0 23.422-5.219 1.5 1.5 0 0 1 .964 2.841 141.574 141.574 0 0 1-23.977 5.35 157.952 157.952 0 0 1-21.482 1.491z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M387.893 93.433a2.482 2.482 0 0 1-.829-.144 2.412 2.412 0 0 1-1.624-2.3V60.036a2.44 2.44 0 0 1 4.181-1.709L411.7 80.846a2.439 2.439 0 0 1-2.089 4.122L397.332 83.2l-7.557 9.328a2.414 2.414 0 0 1-1.882.905zm.547-32.025v28l7.1-8.761a1.494 1.494 0 0 1 1.379-.54l11.481 1.655zM156.212 24.055a22.518 22.518 0 0 0-31.312.129 22.81 22.81 0 0 0-6.863 16.387c0 7.967 3.825 12.644 9.617 19.724.752.92 1.539 1.883 2.359 2.9a1.517 1.517 0 0 1 .334.947v.916A64.48 64.48 0 0 0 93.918 78.2c-12.185 9.417-18.9 22.446-18.9 36.686a1.5 1.5 0 1 0 3 0c0-27.261 26.645-45.818 52.324-46.834v7.482a4.092 4.092 0 0 0 .928 2.591l4.232 5.151a4.072 4.072 0 0 0 3.154 1.489h3.752a4.064 4.064 0 0 0 3.153-1.49l4.228-5.144a4.1 4.1 0 0 0 .933-2.6v-6.725a14.738 14.738 0 0 1 3.289-9.3c5.593-6.847 9.021-11.427 9.021-19a22.869 22.869 0 0 0-6.82-16.451zm-4.52 33.545a17.749 17.749 0 0 0-3.965 11.2v6.719a1.1 1.1 0 0 1-.25.7l-4.228 5.145a1.079 1.079 0 0 1-.836.394h-3.752a1.079 1.079 0 0 1-.837-.394l-4.231-5.15a1.088 1.088 0 0 1-.246-.687V68h11.166a1.5 1.5 0 0 0 0-3h-11.166v-.855a4.525 4.525 0 0 0-1-2.826c-.825-1.028-1.618-2-2.375-2.923-5.575-6.815-8.939-10.929-8.939-17.825A19.835 19.835 0 0 1 127 26.323a18.919 18.919 0 0 1 13.327-5.54h.365a18.554 18.554 0 0 1 13.417 5.417 19.886 19.886 0 0 1 5.928 14.31c0 6.559-3.016 10.569-8.345 17.09z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M125.9 136.433l-18.931-30.423a2.6 2.6 0 0 0-3.485-.874l-20.9 11.754-31.335 9a2.586 2.586 0 0 0-1.559 1.249 2.469 2.469 0 0 0-.179 1.924L60.264 162.9a2.6 2.6 0 0 0 3.183 1.669l5.881-1.689 2.546 4.091a2.573 2.573 0 0 0 2.192 1.213 2.625 2.625 0 0 0 1.289-.339l24.329-13.682 18.962-5.445a2.573 2.573 0 0 0 1.556-1.249 2.465 2.465 0 0 0 .18-1.924l-.815-2.563 5.418-3.047a2.544 2.544 0 0 0 1.214-1.576 2.459 2.459 0 0 0-.299-1.926zm-21.269-28.5l1.387 2.228-10.927 3.139zM74.21 165.048l-1.884-3.028 14.851-4.265zm-11.218-3.469l-10.467-32.936 54.375-15.615 9.436 29.694v.016l1.025 3.227zm55.647-21.517l-6.246-19.657 10.681 17.164z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M99.693 130.4a6.025 6.025 0 0 1-5.769-4.124 5.573 5.573 0 0 1 .414-4.352 5.867 5.867 0 0 1 3.6-2.865 6.076 6.076 0 0 1 7.455 3.89 5.57 5.57 0 0 1-.413 4.351 5.869 5.869 0 0 1-3.6 2.864 6.182 6.182 0 0 1-1.687.236zm-.061-9.578a4.142 4.142 0 0 0-1.148.161 3.883 3.883 0 0 0-2.385 1.889 3.592 3.592 0 0 0-.268 2.8 4.057 4.057 0 0 0 5 2.566 3.874 3.874 0 0 0 2.384-1.888 3.589 3.589 0 0 0 .268-2.8 4.012 4.012 0 0 0-3.851-2.724zM114.964 139.019a1 1 0 0 0-1.237-.685c-.737.212-1.569.425-2.452.63h-.007c-4.605 1.069-10.723 1.878-13.541.669l-11.979-6.223a2.638 2.638 0 0 0-3.46 1.024l-2.236 4.25-10.216-5.292a2.3 2.3 0 0 0-3.053.889l-2.249 4a1 1 0 0 0 1.743.98l2.25-4a.3.3 0 0 1 .39-.092l15.766 8.168a1 1 0 0 0 .92-1.775l-3.775-1.962 2.218-4.218a.632.632 0 0 1 .78-.2l12.043 6.257a10.73 10.73 0 0 0 3.287.715l-12.871 3.7c-1.222.35-4.1 1.334-4.493 2.889a1.381 1.381 0 0 0 .389 1.357c.361.349 1.463 1.413 8.339-.563a45.684 45.684 0 0 1 4.755-1.139 40.54 40.54 0 0 1-4.544 1.554l-1.9.58a3.794 3.794 0 0 0-2.376 1.531 1.554 1.554 0 0 0-.112 1.213 1 1 0 0 0 1.953-.334 3.78 3.78 0 0 1 1.118-.5l1.888-.575c8.62-2.475 8.167-4.055 8-4.649-.212-.738-.605-2.11-9.326.394a23.88 23.88 0 0 1-5.452 1.081 11.264 11.264 0 0 1 2.321-.92l23.988-6.889c.007 0 .012-.008.019-.01 1.377-.32 2.3-.582 2.435-.62a1 1 0 0 0 .677-1.235z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M70.581 141.69a1 1 0 1 0 .4-1.959 6.563 6.563 0 0 0-6.054 2.368 6.362 6.362 0 0 0-7.011-1.395 1 1 0 1 0 .8 1.832 3.985 3.985 0 0 1 3.5.091 6.631 6.631 0 0 0-3.8 2.557 1 1 0 1 0 1.6 1.195 4.787 4.787 0 0 1 3.744-1.962 18.316 18.316 0 0 0-.209 11.3 1 1 0 0 0 1.912-.584 16.336 16.336 0 0 1 .344-10.5 5.148 5.148 0 0 1 4.136 1.694 1 1 0 1 0 1.572-1.237 6.565 6.565 0 0 0-4.329-2.367 4.231 4.231 0 0 1 3.395-1.033zM389.769 54.939a5.046 5.046 0 0 0-9.363 2.616 5.037 5.037 0 0 0 .41 1.988L364.085 83.8a3.23 3.23 0 0 0-.7-.081h-.176a27.515 27.515 0 0 0-.175-17.113c-3.657-10.88-13.846-19.4-26.787-22.517a15.636 15.636 0 0 0 .253-2.772c0-10.438-10.093-18.93-22.5-18.93a25.487 25.487 0 0 0-12 2.933c-10.663-11.076-27.958-15.76-44.45-11.941-18.814 4.357-31.74 19.123-31.125 35.348-13.644 7.3-20.075 21.347-15.662 34.476 5.5 16.362 25.906 25.984 45.493 21.448a36.375 36.375 0 0 0 7.975-3.039 27.664 27.664 0 0 0 2.717 5.272 1.5 1.5 0 0 0 2.507-1.648 24.333 24.333 0 0 1-2.942-6.2 1.5 1.5 0 0 0-2.142-.881 37.044 37.044 0 0 1-8.792 3.571c-18.125 4.191-36.952-4.544-41.972-19.481-4.018-11.955 2.168-24.824 15.043-31.3a1.5 1.5 0 0 0 .822-1.447c-1.087-15.13 11.006-29.094 28.755-33.2 15.635-3.614 32.661 1.168 42.37 11.912a1.5 1.5 0 0 0 1.886.279A22.33 22.33 0 0 1 314 25.39c10.752 0 19.5 7.146 19.5 15.93a13.215 13.215 0 0 1-.5 3.509 1.5 1.5 0 0 0 1.144 1.87c12.606 2.585 22.584 10.58 26.041 20.865a24.6 24.6 0 0 1-.14 16.158h-.342a3.245 3.245 0 0 0-3.241 3.241v3.565c-4.7 6.537-12.266 11.363-21.238 13.441a43.336 43.336 0 0 1-6.812 1.007 1.5 1.5 0 0 0-1.136.649C321.43 114.184 310.4 119.5 298.5 119.5a1.5 1.5 0 0 0 0 3c12.6 0 24.343-5.571 30.839-14.586a46.013 46.013 0 0 0 6.567-1.023 41.185 41.185 0 0 0 17.121-8.336l-4.8 6.6c-.009 0-.016-.009-.024-.012a5.091 5.091 0 1 0 1.682 1.133l9.074-12.5a3.207 3.207 0 0 0 .745.094h3.677a3.244 3.244 0 0 0 3.24-3.24v-3.667a3.216 3.216 0 0 0-.82-2.133l16.247-23.558a5.119 5.119 0 0 0 1.064.753 1.5 1.5 0 0 0 1.4-2.655 2.053 2.053 0 0 1-1.108-1.815 2.046 2.046 0 0 1 3.8-1.054 1.5 1.5 0 0 0 2.561-1.562zm-42.687 56.771a2.049 2.049 0 0 1-1.582-3.781 2.039 2.039 0 0 1 1.569-.006 2.05 2.05 0 0 1 .013 3.787zm16.543-21.07a.24.24 0 0 1-.24.24h-3.677a.24.24 0 0 1-.241-.24v-3.677a.241.241 0 0 1 .241-.241h3.677a.241.241 0 0 1 .24.241z"}))},S_Illu_PremiereFirstMile_520x200_extends=Object.assign||function(target){for(var i=1,source;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},S_Illu_PremiereFirstMile_520x200=_ref=>{let{styles={}}=_ref,props=S_Illu_PremiereFirstMile_520x200_objectWithoutProperties(_ref,["styles"]);return react_default.a.createElement("svg",S_Illu_PremiereFirstMile_520x200_extends({xmlns:"http://www.w3.org/2000/svg",height:"200",id:"S_Illu_PremiereFirstMile_520x200",viewBox:"0 0 520 200",width:"520"},props),react_default.a.createElement("defs",null),react_default.a.createElement("title",null,"S_Illu_PremiereFirstMile_520x200"),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M89.262 74.481a2.171 2.171 0 0 0-1.395-.925L83 72.6v-2.932a2.63 2.63 0 0 0-.782-1.878 2.661 2.661 0 0 0-1.888-.777l-26.359-.005a.975.975 0 0 0-.367-.152l-28.563-5.585A2.184 2.184 0 0 0 22.476 63l-.784 4h-5.013a2.665 2.665 0 0 0-2.671 2.653v10.9L14 110.335a2.665 2.665 0 0 0 2.67 2.653L52.2 113l26.93 5.266a2.228 2.228 0 0 0 .419.041 2.19 2.19 0 0 0 2.145-1.766l.962-4.916a2.619 2.619 0 0 0 .34-1.273v-.469l6.6-33.757a2.168 2.168 0 0 0-.334-1.645zM24.438 63.38a.208.208 0 0 1 .219-.146l19.291 3.772L23.73 67zm-7.447 6.584l63.026.012-.008 40.061-63.026-.013zM79.509 116.3L62.628 113H80.34l-.616 3.154a.186.186 0 0 1-.215.146zm3.485-16.853v-24.8l4.484.877a.209.209 0 0 1 .147.218z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M23.686 107.913a1.694 1.694 0 0 1-1.677-1.692v-2.075a1.692 1.692 0 0 1 1.694-1.69h2.071a1.57 1.57 0 0 1 1.2.5 1.68 1.68 0 0 1 .495 1.2v2.073a1.7 1.7 0 0 1-1.691 1.691h-2.092zm.324-3.457v1.457h1.457v-1.457zm1.766-1zM35.44 107.921a1.694 1.694 0 0 1-1.677-1.693v-2.075a1.69 1.69 0 0 1 1.694-1.69h2.071a1.854 1.854 0 0 1 1.2.494 1.686 1.686 0 0 1 .5 1.2v2.074a1.7 1.7 0 0 1-1.692 1.691H35.44zm.324-3.458v1.458h1.456v-1.457zm1.766-1zM47.88 107.927a1.69 1.69 0 0 1-1.673-1.692v-2.074a1.7 1.7 0 0 1 1.693-1.691h2.076a.033.033 0 0 1 .014 0 1.693 1.693 0 0 1 1.676 1.692v2.075a1.692 1.692 0 0 1-1.694 1.69h-2.073zm.019-2zm.31-1.457v1.457h1.458v-1.458zM59.634 107.934a1.69 1.69 0 0 1-1.673-1.692v-2.074a1.7 1.7 0 0 1 1.691-1.691h2.076c.005.006.009 0 .014 0a1.693 1.693 0 0 1 1.676 1.693v2.074a1.692 1.692 0 0 1-1.693 1.69h-2.091zm.328-3.457v1.458h1.457v-1.457zM71.392 107.942a1.694 1.694 0 0 1-1.677-1.693v-2.075a1.7 1.7 0 0 1 1.691-1.69H73.496a1.693 1.693 0 0 1 1.676 1.692v2.075a1.692 1.692 0 0 1-1.694 1.69h-2.086zm.324-3.457v1.457h1.457v-1.457zM23.4 77.693A1.694 1.694 0 0 1 21.721 76v-2.071a1.694 1.694 0 0 1 1.69-1.693H25.5a1.7 1.7 0 0 1 1.678 1.691V76a1.69 1.69 0 0 1-1.691 1.692H23.4zm.016-2zm.308-1.458v1.457h1.457v-1.457zM35.15 77.686A1.69 1.69 0 0 1 33.475 76v-2.078a1.7 1.7 0 0 1 1.689-1.693h2.076c0 .007.009 0 .014 0a1.7 1.7 0 0 1 1.678 1.691v2.074a1.69 1.69 0 0 1-1.692 1.692h-2.09zm.324-3.457v1.457h1.456v-1.458zM47.6 77.68a1.7 1.7 0 0 1-1.679-1.691v-2.074a1.69 1.69 0 0 1 1.691-1.692h2.072a1.69 1.69 0 0 1 1.694 1.691v2.073a1.7 1.7 0 0 1-1.689 1.693H47.6zm.32-3.457v1.457h1.457v-1.458zm1.765-1zM59.353 77.674a1.7 1.7 0 0 1-1.68-1.691v-2.074a1.688 1.688 0 0 1 1.692-1.692h2.071a1.856 1.856 0 0 1 1.2.494 1.678 1.678 0 0 1 .5 1.2v2.074a1.7 1.7 0 0 1-1.69 1.693h-2.093zm.32-3.458v1.457h1.457v-1.457zm1.764-1zM71.1 77.666a1.69 1.69 0 0 1-1.674-1.69V73.9a1.69 1.69 0 0 1 1.691-1.692h2.072a1.619 1.619 0 0 1 1.2.493 1.681 1.681 0 0 1 .5 1.2v2.074a1.694 1.694 0 0 1-1.689 1.693h-2.1zm.325-3.456v1.456h1.457v-1.457zm1.765-1zM48 99.561a1 1 0 0 1-1-1v-17a1 1 0 0 1 2 0v17a1 1 0 0 1-1 1zM172.866 114.838a1.5 1.5 0 0 1-1.444-1.911c2.759-9.688-7.716-21.863-7.823-21.985a1.5 1.5 0 0 1 2.263-1.971c.476.548 11.644 13.542 8.446 24.778a1.5 1.5 0 0 1-1.442 1.089zM176.46 117.338a1.5 1.5 0 0 1-.731-2.81c8.721-4.856 9.062-16.005 9.064-16.117a1.5 1.5 0 0 1 1.5-1.469h.03a1.5 1.5 0 0 1 1.47 1.525c-.009.527-.353 12.974-10.6 18.681a1.484 1.484 0 0 1-.733.19zM185.937 122.882a33.233 33.233 0 0 1-9.115-1.292 1.5 1.5 0 0 1 .821-2.885c9.88 2.81 17.212-.357 17.285-.388a1.5 1.5 0 0 1 1.227 2.738 26.716 26.716 0 0 1-10.218 1.827zM178.367 131.207a1.5 1.5 0 0 1-1.254-.674c-1.36-2.064-2.6-4.1-3.692-6.061a1.5 1.5 0 0 1 2.621-1.459 93.468 93.468 0 0 0 3.576 5.869 1.5 1.5 0 0 1-1.251 2.325zM187.056 143.8a1.5 1.5 0 0 1-1.125-.507c-.052-.058-1.288-1.462-3.127-3.81a1.5 1.5 0 1 1 2.362-1.85c1.779 2.273 3 3.66 3.014 3.674a1.5 1.5 0 0 1-1.124 2.493zM165.811 152c-.052 0-.1 0-.157-.007a1.5 1.5 0 0 1-1.337-1.648c.066-.634 1.649-15.648 4.662-26.235a1.5 1.5 0 0 1 2.886.822c-2.943 10.337-4.548 25.57-4.564 25.724a1.5 1.5 0 0 1-1.49 1.344zM144.247 143.511a1.5 1.5 0 0 1-1.123-2.494c.537-.606 13.249-14.9 22.974-20.313a1.5 1.5 0 0 1 1.46 2.622c-9.277 5.166-22.06 19.535-22.188 19.679a1.5 1.5 0 0 1-1.123.506zM135 122.265a1.5 1.5 0 0 1-.427-2.938c.854-.253 21.014-6.163 31.893-3.064a1.5 1.5 0 1 1-.821 2.885c-10.042-2.855-30.018 3-30.219 3.055a1.5 1.5 0 0 1-.426.062zM168.557 115.612a1.5 1.5 0 0 1-1.312-.771c-4.981-8.945-23.959-14.138-24.15-14.189a1.5 1.5 0 1 1 .779-2.9c.83.223 20.4 5.573 25.992 15.627a1.5 1.5 0 0 1-1.309 2.23zM182.715 165.512a1.5 1.5 0 0 1-1.352-2.147s.238-.5.681-1.371a1.5 1.5 0 1 1 2.675 1.359c-.419.825-.646 1.3-.65 1.308a1.5 1.5 0 0 1-1.354.851zM186.063 159.163a1.485 1.485 0 0 1-.733-.192 1.5 1.5 0 0 1-.574-2.042c.441-.785.919-1.621 1.432-2.493a1.5 1.5 0 1 1 2.586 1.519c-.5.855-.969 1.673-1.4 2.443a1.5 1.5 0 0 1-1.311.765zm4.4-7.311a1.5 1.5 0 0 1-1.259-2.314q.769-1.191 1.592-2.4a1.5 1.5 0 0 1 2.48 1.69c-.535.784-1.052 1.567-1.551 2.339a1.5 1.5 0 0 1-1.264.685zm4.908-6.979a1.5 1.5 0 0 1-1.186-2.417 79.41 79.41 0 0 1 1.815-2.262 1.5 1.5 0 1 1 2.3 1.924q-.889 1.064-1.744 2.172a1.5 1.5 0 0 1-1.187.583zm5.63-6.4a1.5 1.5 0 0 1-1.046-2.575 39.992 39.992 0 0 1 2.191-1.984 1.5 1.5 0 0 1 1.925 2.3 37.003 37.003 0 0 0-2.024 1.833 1.5 1.5 0 0 1-1.047.424zM207.818 133.406a1.5 1.5 0 0 1-.662-2.847c.51-.25 1.017-.47 1.51-.654a1.5 1.5 0 1 1 1.053 2.808c-.4.152-.82.332-1.241.539a1.487 1.487 0 0 1-.66.154zM180.862 136.54a1.5 1.5 0 0 1-1.056-2.565s.413-.409 1.163-1.071a1.5 1.5 0 0 1 1.986 2.248c-.656.579-1.024.941-1.04.957a1.5 1.5 0 0 1-1.053.431zM186 132.327a1.5 1.5 0 0 1-.874-2.721 51.635 51.635 0 0 1 2.2-1.487 1.5 1.5 0 0 1 1.61 2.531c-.685.435-1.382.906-2.07 1.4a1.493 1.493 0 0 1-.866.277zm6.643-3.936a1.5 1.5 0 0 1-.638-2.858 33.1 33.1 0 0 1 2.485-1.048 1.5 1.5 0 0 1 1.051 2.81c-.743.278-1.5.6-2.262.954a1.489 1.489 0 0 1-.636.142zm7.344-2.317a1.5 1.5 0 0 1-.216-2.985 20.587 20.587 0 0 1 2.77-.22h.015a1.5 1.5 0 0 1 .015 3 17.346 17.346 0 0 0-2.363.189 1.513 1.513 0 0 1-.221.016zM209.03 127.2a1.5 1.5 0 0 1-.616-.133 13.033 13.033 0 0 0-1.253-.493 1.5 1.5 0 1 1 .949-2.846 16.37 16.37 0 0 1 1.539.6 1.5 1.5 0 0 1-.619 2.868zM200.042 114.739a1.5 1.5 0 0 1-.789-2.776 7.773 7.773 0 0 1 1.745-.727 1.5 1.5 0 1 1 .837 2.881 4.99 4.99 0 0 0-1.03.415 1.51 1.51 0 0 1-.763.207zM209.28 116.762a1.5 1.5 0 0 1-1.113-.494 8.255 8.255 0 0 0-1.884-1.579 1.5 1.5 0 1 1 1.528-2.582 11.187 11.187 0 0 1 2.581 2.149 1.5 1.5 0 0 1-1.112 2.506zM212.882 123.123a1.5 1.5 0 0 1-1.4-.972q-.263-.7-.535-1.325a1.5 1.5 0 0 1 2.752-1.194c.2.464.4.95.591 1.464a1.5 1.5 0 0 1-1.4 2.027zM229 112.889a1.489 1.489 0 0 1-.7-.177 1.5 1.5 0 0 0-.632-.066 1.5 1.5 0 1 1-.243-2.99 4.053 4.053 0 0 1 2.343.441 1.5 1.5 0 0 1-.763 2.792zM221.673 117.192a1.5 1.5 0 0 1-1.229-2.358 19.936 19.936 0 0 1 1.716-2.153 1.5 1.5 0 1 1 2.2 2.039 17.065 17.065 0 0 0-1.454 1.829 1.5 1.5 0 0 1-1.233.643zM218.488 122.962a1.5 1.5 0 0 1-1.365-2.12q.332-.732.66-1.4a1.5 1.5 0 0 1 2.694 1.32q-.309.63-.622 1.32a1.5 1.5 0 0 1-1.367.88zM240.948 127.341a1.49 1.49 0 0 1-.48-.079c-.449-.151-.908-.3-1.378-.438a1.5 1.5 0 0 1 .859-2.875q.756.227 1.479.471a1.5 1.5 0 0 1-.48 2.921zM233.359 125.618a1.484 1.484 0 0 1-.163-.009 26.089 26.089 0 0 0-2.806-.155h-.177a1.5 1.5 0 0 1-.025-3h.2a29.237 29.237 0 0 1 3.128.172 1.5 1.5 0 0 1-.159 2.992zM222.567 126.813a1.5 1.5 0 0 1-.527-2.9q.761-.287 1.529-.511a1.5 1.5 0 1 1 .844 2.879q-.661.194-1.318.44a1.482 1.482 0 0 1-.528.092zM252.658 161.034a1.5 1.5 0 0 1-1.2-.6c0-.007-.322-.428-.9-1.168a1.5 1.5 0 1 1 2.367-1.842c.6.771.928 1.208.928 1.208a1.5 1.5 0 0 1-1.2 2.4zM248.279 155.543a1.493 1.493 0 0 1-1.154-.542c-.55-.66-1.141-1.364-1.77-2.1a1.5 1.5 0 1 1 2.281-1.95c.638.748 1.239 1.461 1.8 2.133a1.5 1.5 0 0 1-1.153 2.458zm-5.44-6.267a1.492 1.492 0 0 1-1.11-.491q-.906-1-1.862-2.012a1.5 1.5 0 0 1 2.185-2.057q.972 1.035 1.9 2.051a1.5 1.5 0 0 1-1.109 2.509zm-5.751-5.983a1.5 1.5 0 0 1-1.048-.427c-.651-.636-1.31-1.266-1.975-1.883a1.5 1.5 0 1 1 2.04-2.2c.685.634 1.362 1.282 2.032 1.937a1.5 1.5 0 0 1-1.049 2.572zm-6.174-5.544a1.49 1.49 0 0 1-.944-.335 56.97 56.97 0 0 0-2.131-1.648 1.5 1.5 0 0 1 1.775-2.418 59.92 59.92 0 0 1 2.245 1.736 1.5 1.5 0 0 1-.945 2.665zM224.071 133.082a1.488 1.488 0 0 1-.7-.174q-.638-.339-1.261-.622a1.5 1.5 0 0 1 1.239-2.733q.706.321 1.428.7a1.5 1.5 0 0 1-.705 2.825zM233.483 182.83a1.5 1.5 0 0 1-1.44-1.08l-.419-1.433a1.5 1.5 0 1 1 2.879-.844l.42 1.438a1.5 1.5 0 0 1-1.02 1.86 1.526 1.526 0 0 1-.42.059zM231.216 175.155a1.5 1.5 0 0 1-1.437-1.073l-.933-3.12a1.5 1.5 0 0 1 2.874-.861l.934 3.126a1.5 1.5 0 0 1-1.438 1.928zM228.4 165.8a1.5 1.5 0 0 1-1.434-1.063l-.951-3.112a1.5 1.5 0 1 1 2.868-.88l.953 3.119a1.5 1.5 0 0 1-1 1.871 1.47 1.47 0 0 1-.436.065zm-2.878-9.341a1.5 1.5 0 0 1-1.432-1.051l-.976-3.1a1.5 1.5 0 1 1 2.861-.9l.979 3.111a1.5 1.5 0 0 1-1.432 1.948zm-2.972-9.311a1.5 1.5 0 0 1-1.425-1.034 493.92 493.92 0 0 0-1.019-3.083 1.5 1.5 0 1 1 2.844-.953c.336 1 .679 2.04 1.027 3.1a1.5 1.5 0 0 1-.96 1.892 1.518 1.518 0 0 1-.469.073zM219.4 137.905a1.5 1.5 0 0 1-1.41-.988q-.264-.728-.513-1.39a1.5 1.5 0 1 1 2.808-1.057c.17.451.344.927.525 1.422a1.5 1.5 0 0 1-1.41 2.013zM204.514 184.686h-.126a1.5 1.5 0 0 1-1.37-1.62s.044-.537.134-1.5a1.5 1.5 0 1 1 2.987.275c-.087.946-.131 1.474-.132 1.478a1.5 1.5 0 0 1-1.493 1.367zM205.313 176.666c-.055 0-.111 0-.167-.008A1.5 1.5 0 0 1 203.82 175c.113-1.023.238-2.12.375-3.275a1.5 1.5 0 1 1 2.979.351 511.906 511.906 0 0 0-.372 3.254 1.5 1.5 0 0 1-1.489 1.336zm1.2-9.782a1.4 1.4 0 0 1-.2-.014 1.5 1.5 0 0 1-1.285-1.688c.146-1.071.3-2.163.462-3.269a1.5 1.5 0 0 1 2.969.436 317.533 317.533 0 0 0-.458 3.237 1.5 1.5 0 0 1-1.485 1.298zm1.487-9.743a1.472 1.472 0 0 1-.255-.022 1.5 1.5 0 0 1-1.226-1.731c.187-1.091.382-2.179.583-3.256a1.5 1.5 0 0 1 2.949.553c-.2 1.061-.39 2.134-.574 3.209a1.5 1.5 0 0 1-1.477 1.247zm1.912-9.666a1.529 1.529 0 0 1-.34-.039 1.5 1.5 0 0 1-1.123-1.8c.258-1.113.524-2.194.8-3.235a1.5 1.5 0 1 1 2.9.767 103.456 103.456 0 0 0-.777 3.144 1.5 1.5 0 0 1-1.458 1.163zM212.688 138.04a1.5 1.5 0 0 1-1.4-2.049q.3-.764.613-1.452a1.5 1.5 0 1 1 2.732 1.241q-.282.62-.554 1.31a1.5 1.5 0 0 1-1.391.95zM167.386 168.571a1 1 0 0 1-1-1v-5.936a1 1 0 0 1 2 0v5.936a1 1 0 0 1-1 1zM167.386 180.934a1 1 0 0 1-1-1V174a1 1 0 0 1 2 0v5.936a1 1 0 0 1-1 .998zM164.172 171.785h-5.935a1 1 0 0 1 0-2h5.935a1 1 0 0 1 0 2zM176.535 171.785H170.6a1 1 0 0 1 0-2h5.935a1 1 0 0 1 0 2zM164.284 168.682a1 1 0 0 1-.707-.293l-1.874-1.874a1 1 0 0 1 1.414-1.414l1.874 1.874a1 1 0 0 1-.707 1.707zM172.363 176.761a1 1 0 0 1-.707-.293l-1.875-1.875a1 1 0 0 1 1.414-1.414l1.875 1.875a1 1 0 0 1-.707 1.707zM162.41 176.761a1 1 0 0 1-.707-1.707l1.874-1.875a1 1 0 0 1 1.414 1.414l-1.874 1.875a1 1 0 0 1-.707.293zM170.488 168.682a1 1 0 0 1-.707-1.707l1.875-1.874a1 1 0 0 1 1.414 1.414l-1.875 1.874a1 1 0 0 1-.707.293zM252.6 131.831a1 1 0 0 1-1-1V124.9a1 1 0 0 1 2 0v5.935a1 1 0 0 1-1 .996zM252.6 144.194a1 1 0 0 1-1-1v-5.935a1 1 0 0 1 2 0v5.935a1 1 0 0 1-1 1zM249.387 135.045h-5.935a1 1 0 0 1 0-2h5.935a1 1 0 0 1 0 2zM261.75 135.045h-5.935a1 1 0 0 1 0-2h5.935a1 1 0 0 1 0 2zM249.5 131.943a1 1 0 0 1-.707-.293l-1.875-1.874a1 1 0 0 1 1.415-1.414l1.874 1.874a1 1 0 0 1-.707 1.707zM257.577 140.021a1 1 0 0 1-.707-.293l-1.87-1.874a1 1 0 0 1 1.414-1.414l1.874 1.874a1 1 0 0 1-.707 1.707zM247.625 140.021a1 1 0 0 1-.708-1.707l1.875-1.874a1 1 0 1 1 1.414 1.414l-1.874 1.874a1 1 0 0 1-.707.293zM255.7 131.943a1 1 0 0 1-.707-1.707l1.874-1.874a1 1 0 0 1 1.414 1.414l-1.874 1.874a1 1 0 0 1-.707.293zM215.837 93.058a1 1 0 0 1-1-1v-5.936a1 1 0 0 1 2 0v5.936a1 1 0 0 1-1 1zM215.837 105.421a1 1 0 0 1-1-1v-5.935a1 1 0 1 1 2 0v5.935a1 1 0 0 1-1 1zM212.624 96.272h-5.936a1 1 0 0 1 0-2h5.936a1 1 0 0 1 0 2zM224.986 96.272h-5.935a1 1 0 0 1 0-2h5.935a1 1 0 0 1 0 2zM212.735 93.169a1 1 0 0 1-.707-.293L210.154 91a1 1 0 1 1 1.414-1.414l1.874 1.874a1 1 0 0 1-.707 1.707zM220.813 101.248a1 1 0 0 1-.707-.293l-1.874-1.874a1 1 0 1 1 1.414-1.414l1.875 1.874a1 1 0 0 1-.708 1.707zM210.861 101.248a1 1 0 0 1-.707-1.707l1.874-1.874a1 1 0 1 1 1.414 1.414l-1.874 1.874a.993.993 0 0 1-.707.293zM218.939 93.169a1 1 0 0 1-.707-1.707l1.874-1.874A1 1 0 0 1 221.521 91l-1.875 1.874a.993.993 0 0 1-.707.295zM240.617 105.406h-2.636a1 1 0 0 1 0-2h2.636a1 1 0 1 1 0 2zM248.138 105.406H245.5a1 1 0 0 1 0-2h2.636a1 1 0 0 1 0 2zM243.06 110.5a1 1 0 0 1-1-1v-2.644a1 1 0 0 1 2 0v2.644a1 1 0 0 1-1 1zM243.06 102.955a1 1 0 0 1-1-1v-2.644a1 1 0 1 1 2 0v2.644a1 1 0 0 1-1 1zM146.883 156.59h-2.636a1 1 0 0 1 0-2h2.636a1 1 0 0 1 0 2zM154.4 156.59h-2.636a1 1 0 0 1 0-2h2.636a1 1 0 0 1 0 2zM149.326 161.684a1 1 0 0 1-1-1v-2.644a1 1 0 0 1 2 0v2.644a1 1 0 0 1-1 1zM149.326 154.14a1 1 0 0 1-1-1v-2.64a1 1 0 0 1 2 0v2.645a1 1 0 0 1-1 .995zM197.5 103.076h-2.636a1 1 0 0 1 0-2h2.636a1 1 0 0 1 0 2zM205.024 103.076h-2.636a1 1 0 0 1 0-2h2.636a1 1 0 0 1 0 2zM199.946 108.169a1 1 0 0 1-1-1v-2.643a1 1 0 1 1 2 0v2.643a1 1 0 0 1-1 1zM199.946 100.625a1 1 0 0 1-1-1v-2.644a1 1 0 0 1 2 0v2.644a1 1 0 0 1-1 1zM258.231 33.327a1.5 1.5 0 0 0-1.946-.845 391.3 391.3 0 0 1-46.272 15c-1.727.441-2.925.386-3.284-.157-.475-.712.582-2.17 1.876-3.167a104.1 104.1 0 0 1 9.528-6.274c5.655-3.435 11.5-6.985 15.868-12.216a1.5 1.5 0 0 0-2.3-1.922 31.849 31.849 0 0 1-2.9 3.016 19.339 19.339 0 0 0-6.413-1.33l-1-.092c-3.315-.323-6.081-.242-8.93 3.966q-.167.246-.327.495a.932.932 0 0 0-.057.1l-7.709 14.144a1.484 1.484 0 0 0-.176.721 4.947 4.947 0 0 0-.556 1.983c-.03.036-.064.068-.091.107a8.816 8.816 0 0 0-.754 1.84c-.154.434-.408 1.151-.51 1.37l-.028.048c-.894 1.541-2.362 1.959-3.077 1.669-.927-.376-.579-2.08-.45-2.593 1.617-6.442 3.545-12.881 6.25-20.879a33.98 33.98 0 0 1 4.072-8.28c.755-1.031 3.055-4.176 5.555-5.584 2.361-1.334 9.7-2.647 13.233-2.8 2.237-.094 4.547-.061 6.779-.025 4.719.071 9.6.146 14.351-.962a1.5 1.5 0 0 0-.683-2.921c-4.388 1.026-8.872.958-13.622.883-2.275-.034-4.628-.07-6.951.027-3.285.139-11.41 1.388-14.584 3.182-3.051 1.725-5.643 5.258-6.5 6.419a36.638 36.638 0 0 0-4.5 9.095c-2.732 8.076-4.68 14.587-6.317 21.109-.874 3.478.58 5.433 2.231 6.1a4.247 4.247 0 0 0 1.6.3 6.264 6.264 0 0 0 5.168-3.2 8.049 8.049 0 0 0 .646-1.541 4.921 4.921 0 0 0 2.577.654 11.07 11.07 0 0 0 2.721-.387 394.516 394.516 0 0 0 46.629-15.118 1.5 1.5 0 0 0 .853-1.935zm-43.553-1.942l.262-.4c2.074-3.062 3.7-2.9 6.151-2.661.338.034.681.064 1.028.094a25.046 25.046 0 0 1 4.029.577 101.287 101.287 0 0 1-9.572 6.323c-2.044 1.241-4.124 2.519-6.156 3.875z"}),react_default.a.createElement("circle",{className:styles["cls-1"]||"cls-1",cx:"206.326",cy:"57.279",r:"1.645"}),react_default.a.createElement("circle",{className:styles["cls-1"]||"cls-1",cx:"206.326",cy:"64.279",r:"1.645"}),react_default.a.createElement("circle",{className:styles["cls-1"]||"cls-1",cx:"206.326",cy:"71.279",r:"1.645"}),react_default.a.createElement("circle",{className:styles["cls-1"]||"cls-1",cx:"206.326",cy:"78.279",r:"1.645"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M506.96 114H389.04a4.053 4.053 0 0 1-4.04-4.058V36.059A4.054 4.054 0 0 1 389.04 32h117.92a4.054 4.054 0 0 1 4.04 4.059v73.883a4.053 4.053 0 0 1-4.04 4.058zM389.04 35.022a1.036 1.036 0 0 0-1.032 1.037v73.883a1.036 1.036 0 0 0 1.032 1.037h117.92a1.036 1.036 0 0 0 1.032-1.037V36.059a1.036 1.036 0 0 0-1.032-1.037zM509.826 127.962h-75.774a1 1 0 1 1 0-2h75.774a1 1 0 1 1 0 2zM408.693 127.962h-22.071a1 1 0 1 1 0-2h22.071a1 1 0 1 1 0 2zM421.255 133.029a6.676 6.676 0 0 1-.5-13.336l.108-.014a2.828 2.828 0 0 1 .393-.032 6.691 6.691 0 1 1 0 13.382zm-.35-11.342a4.391 4.391 0 1 0 .35-.04.943.943 0 0 0-.119.014c-.077.01-.153.02-.231.026z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M437.469 92.408A3.473 3.473 0 0 1 434 88.944V57.249a3.471 3.471 0 0 1 4.849-3.177c.039.017.077.036.115.055l28.7 15.39a4.06 4.06 0 0 1 0 7.159l-28.7 15.39c-.038.019-.076.038-.115.055a3.47 3.47 0 0 1-1.38.287zm0-35.622a.464.464 0 0 0-.252.077.451.451 0 0 0-.209.386v31.7a.462.462 0 0 0 .606.439l28.622-15.349a1.063 1.063 0 0 0 0-1.874L437.614 56.81a.431.431 0 0 0-.145-.024zM329.324 137.353a1.5 1.5 0 0 0-2.121 2.121l6.653 6.653a1.5 1.5 0 0 0 2.122 0l24.476-24.475a1.5 1.5 0 1 0-2.121-2.121l-7.732 7.731a18.341 18.341 0 0 0-20.559-4.888 17.159 17.159 0 0 0-10.4 11.827 20.348 20.348 0 0 0 .3 11.96 18.274 18.274 0 0 0 32.45 2.824 1.5 1.5 0 0 0-2.546-1.588 15.273 15.273 0 0 1-27.123-2.36 17.4 17.4 0 0 1-.188-10.051 14.252 14.252 0 0 1 8.631-9.83 15.322 15.322 0 0 1 17.307 4.234l-13.556 13.556z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M453.829 147.2a1.5 1.5 0 0 0-1.5-1.479h-.006l-11.658.046a1.5 1.5 0 0 0 .006 3h.006l7.464-.029c-8.152 11.325-21.245 18.867-36.11 20.729-19.385 2.429-40.157-5.069-58.492-21.108a1.5 1.5 0 0 0-1.976 2.258c16.629 14.546 35.263 22.3 53.235 22.3a61.209 61.209 0 0 0 7.606-.471c15.869-1.987 29.85-10.131 38.466-22.358l.13 8.934a1.5 1.5 0 0 0 1.5 1.478h.022a1.5 1.5 0 0 0 1.478-1.521zM166 38.238l-8.671-7.1a1.5 1.5 0 1 0-1.9 2.32l5.662 4.636c-30.338 2.1-58.951 10-80.7 22.3a1.5 1.5 0 1 0 1.477 2.611c21.478-12.151 49.82-19.928 79.891-21.953l-4.594 5.611a1.5 1.5 0 1 0 2.321 1.9l6.726-8.216a1.5 1.5 0 0 0-.212-2.109zM102.5 171.777a5.569 5.569 0 0 0-10.831-.894l-20.008-8.335v-2.658a3.5 3.5 0 0 0-3.5-3.5h-4.213a3.467 3.467 0 0 0-1.013.167C49.571 144.53 42.5 130.7 42.5 116.5a1.5 1.5 0 0 0-3 0c0 14.663 7.025 28.885 20.312 41.263l-36.32-16.909a5.542 5.542 0 1 0-.968 2.076c.059-.079.1-.168.153-.25l37.756 17.577a.116.116 0 0 0 .018 0v3.849a3.5 3.5 0 0 0 3.5 3.5h4.219a3.5 3.5 0 0 0 3.439-2.917l19.827 8.259c.009.124.015.247.032.371a5.581 5.581 0 0 0 5.515 4.8 5.572 5.572 0 0 0 5.524-6.344zm-82.37-30.655a2.55 2.55 0 0 1-1.7 1 2.573 2.573 0 1 1-.35-5.122 2.573 2.573 0 0 1 2.048 4.124zm48.535 22.988a.5.5 0 0 1-.5.5h-4.217a.5.5 0 0 1-.5-.5v-4.22a.5.5 0 0 1 .5-.5h4.219a.5.5 0 0 1 .5.5zm30.374 9.99a2.554 2.554 0 0 1-1.7 1 2.573 2.573 0 1 1-.713-5.1 2.776 2.776 0 0 1 .362-.025 2.574 2.574 0 0 1 2.049 4.124zM302.114 101.98l6.86-6.824c2.791-2.777 3.766-6.349.458-9.674a11.777 11.777 0 0 0-4.585-2.959.286.286 0 0 0-.257.086l-1.024 1.018c-.114.113-.056.226.055.228a10.214 10.214 0 0 1 4.362 2.673c3.024 3.041 1.057 5.9-.054 7.008l-1 .991a29.414 29.414 0 0 0-2.063-2.245c-3.308-3.326-7.36-5.062-10.405-2.032-2.788 2.773-2.233 6.294.65 9.192a13.518 13.518 0 0 0 5.889 3.584c.084.029.113 0 .171-.057.288-.338.602-.65.943-.989zm-1.729-.94a10.314 10.314 0 0 1-3.735-2.446c-2.968-2.984-2.334-5.537-.856-7.008 1.966-1.956 4.715-1.412 7.967 1.856a19.737 19.737 0 0 1 1.976 2.274zM288.382 91.76l11.887-25.341c.058-.112.056-.169-.056-.282l-1.471-1.478c-.113-.113-.169-.115-.282-.058l-25.4 11.755 1.384 1.507 9.234-4.266 7.52 7.559-4.315 9.212a.219.219 0 0 0 .056.283l1.159 1.166c.085.085.155.09.221.027a.438.438 0 0 0 .063-.084zm-3.028-19.041l13.02-6.223-6.292 12.987zM311.8 123.47a1.494 1.494 0 0 1-1.113-.494c-.525-.58-52.632-58.1-65.795-62.8a1.5 1.5 0 1 1 1.008-2.826c13.868 4.951 64.849 61.22 67.012 63.612a1.5 1.5 0 0 1-1.112 2.506z"}))},S_Illu_AfterEffectsFirstMile_520x200_extends=Object.assign||function(target){for(var i=1,source;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},S_Illu_AfterEffectsFirstMile_520x200=_ref=>{let{styles={}}=_ref,props=S_Illu_AfterEffectsFirstMile_520x200_objectWithoutProperties(_ref,["styles"]);return react_default.a.createElement("svg",S_Illu_AfterEffectsFirstMile_520x200_extends({xmlns:"http://www.w3.org/2000/svg",height:"200",id:"S_Illu_AfterEffectsFirstMile_520x200",viewBox:"0 0 520 200",width:"520"},props),react_default.a.createElement("defs",null),react_default.a.createElement("title",null,"S_Illu_AfterEffectsFirstMile_520x200"),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M505.96 114H388.04a4.053 4.053 0 0 1-4.04-4.058V36.059A4.054 4.054 0 0 1 388.04 32h117.92a4.054 4.054 0 0 1 4.04 4.059v73.883a4.053 4.053 0 0 1-4.04 4.058zM388.04 35.022a1.036 1.036 0 0 0-1.032 1.037v73.883a1.036 1.036 0 0 0 1.032 1.037h117.92a1.036 1.036 0 0 0 1.032-1.037V36.059a1.036 1.036 0 0 0-1.032-1.037zM508.485 128H432.91a1 1 0 0 1 0-2h75.575a1 1 0 0 1 0 2zM407.617 128H385.6a1 1 0 0 1 0-2h22.013a1 1 0 0 1 0 2zM420.146 133.029a6.677 6.677 0 0 1-.5-13.336l.108-.014a2.814 2.814 0 0 1 .392-.032 6.691 6.691 0 0 1 0 13.382zm-.35-11.342a4.381 4.381 0 1 0 .35-.04.921.921 0 0 0-.119.014 4.29 4.29 0 0 1-.231.026z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M435.46 92.408a3.467 3.467 0 0 1-3.46-3.464V57.249a3.462 3.462 0 0 1 4.836-3.177c.039.017.078.036.115.055l28.622 15.39a4.065 4.065 0 0 1 0 7.159l-28.622 15.39a2.031 2.031 0 0 1-.115.055 3.451 3.451 0 0 1-1.376.287zm0-35.622a.467.467 0 0 0-.252.077.451.451 0 0 0-.208.386v31.7a.462.462 0 0 0 .605.439l28.547-15.349a1.064 1.064 0 0 0 0-1.874L435.605 56.81a.435.435 0 0 0-.145-.024zM77.47 169.308a1.9 1.9 0 0 1-1.84-2.566l5.1-13.8a1.912 1.912 0 0 1 3.113-.719l10.047 11.366a2.19 2.19 0 0 1-1.337 3.619l-14.942 2.1h-.141zm5.084-15.532l-5 13.515 14.716-2.063a.191.191 0 0 0 .116-.315zM452.829 147.2a1.5 1.5 0 0 0-1.5-1.479h-.006l-11.658.046a1.5 1.5 0 0 0 .006 3h.006l7.548-.03a44.643 44.643 0 0 1-29.084 20.721c-19.119 4.318-53.952-.675-94.368-27.62a1.394 1.394 0 0 0-1.546 2.321c22.8 15.2 54.551 29.552 81.96 29.552a66.19 66.19 0 0 0 14.567-1.533 47.383 47.383 0 0 0 31.112-22.4l.134 9.246a1.5 1.5 0 0 0 1.5 1.478h.022a1.5 1.5 0 0 0 1.478-1.523zM197.165 152.051a1.788 1.788 0 0 1-.9-.241l-1.91-1.1a1.8 1.8 0 0 1-.658-2.457l1.1-1.91a1.8 1.8 0 0 1 2.457-.657l1.909 1.1a1.8 1.8 0 0 1 .656 2.457l-1.1 1.91a1.8 1.8 0 0 1-1.554.898zm-1.459-3.022l1.342.775.775-1.342-1.342-.774zM207.988 158.3a1.793 1.793 0 0 1-.9-.241l-1.91-1.1a1.8 1.8 0 0 1-.658-2.457l1.1-1.91a1.8 1.8 0 0 1 2.458-.658l1.91 1.1a1.8 1.8 0 0 1 .657 2.458l-1.1 1.911a1.8 1.8 0 0 1-1.557.897zm-1.459-3.022l1.342.775.775-1.342-1.342-.775zM219.448 164.925a1.8 1.8 0 0 1-.9-.242l-1.909-1.1a1.8 1.8 0 0 1-.658-2.458l1.1-1.91a1.8 1.8 0 0 1 2.458-.657l1.91 1.1a1.8 1.8 0 0 1 .657 2.457l-1.1 1.91a1.793 1.793 0 0 1-1.093.838 1.82 1.82 0 0 1-.465.062zm-1.459-3.022l1.342.774.774-1.341-1.341-.775zm2.4-.4zM230.27 171.176a1.792 1.792 0 0 1-.9-.24l-1.91-1.1a1.8 1.8 0 0 1-.657-2.457l1.1-1.91a1.8 1.8 0 0 1 2.458-.657l1.909 1.1a1.8 1.8 0 0 1 .657 2.458l-1.1 1.91a1.8 1.8 0 0 1-1.557.896zm-1.458-3.021l1.341.775.775-1.341-1.342-.775zm2.4-.4zM241.093 177.43a1.793 1.793 0 0 1-.9-.241l-1.909-1.1a1.8 1.8 0 0 1-.658-2.457l1.1-1.91a1.8 1.8 0 0 1 2.458-.657l1.91 1.1a1.8 1.8 0 0 1 .657 2.457l-1.1 1.911a1.8 1.8 0 0 1-1.558.897zm-1.458-3.022l1.342.775.774-1.341-1.341-.775zm2.4-.4zm0 0zM213.559 123.643a1.793 1.793 0 0 1-.9-.241l-1.91-1.1a1.8 1.8 0 0 1-.657-2.458l1.1-1.909a1.8 1.8 0 0 1 2.458-.658l1.909 1.1a1.8 1.8 0 0 1 .657 2.458l-1.1 1.91a1.8 1.8 0 0 1-1.557.898zm-1.459-3.023l1.341.776.775-1.342-1.341-.775zM224.382 129.9a1.792 1.792 0 0 1-.9-.24l-1.909-1.1a1.8 1.8 0 0 1-.658-2.458l1.1-1.91a1.8 1.8 0 0 1 2.457-.657l1.911 1.1a1.8 1.8 0 0 1 .657 2.458l-1.1 1.909a1.8 1.8 0 0 1-1.558.898zm-1.459-3.022l1.342.776.776-1.342-1.342-.775zm2.4-.4zm0 0zM235.842 136.517a1.789 1.789 0 0 1-.9-.242l-1.91-1.1a1.8 1.8 0 0 1-.658-2.457l1.1-1.91a1.8 1.8 0 0 1 2.457-.657l1.91 1.1a1.8 1.8 0 0 1 .657 2.457l-1.1 1.911a1.787 1.787 0 0 1-1.092.837 1.829 1.829 0 0 1-.464.061zm-1.458-3.023l1.341.775.775-1.341-1.342-.775zM244.389 141.567a1.057 1.057 0 0 1-.531-.143 1.8 1.8 0 0 1-.7-2.371l.436-1.115a1.064 1.064 0 0 1 1.981.775l-.412 1.055a1.064 1.064 0 0 1-.77 1.8zM257.488 149.022a1.793 1.793 0 0 1-.9-.241l-1.91-1.1a1.8 1.8 0 0 1-.658-2.458l1.1-1.909a1.8 1.8 0 0 1 2.457-.658l1.91 1.1a1.8 1.8 0 0 1 .657 2.458l-1.1 1.91a1.8 1.8 0 0 1-1.556.898zM256.029 146l1.342.776.775-1.342-1.341-.775zM222.26 156.385a1.063 1.063 0 0 1-.92-1.6l9.041-15.649a1.064 1.064 0 0 1 1.842 1.064l-9.041 15.65a1.064 1.064 0 0 1-.922.535zM186.205 70.68a1.5 1.5 0 0 1-1.441-1.084l-1.364-4.743a1.5 1.5 0 0 1 .98-1.844l5.875-1.891a1.5 1.5 0 1 1 .92 2.855l-4.49 1.445.548 1.9L203.7 62.5a1.5 1.5 0 0 1 .843 2.879l-17.916 5.241a1.444 1.444 0 0 1-.422.06zM263.2 146.118a1 1 0 0 1-1-1l.2-93.069a1 1 0 0 1 1-1 1 1 0 0 1 1 1l-.2 93.068a1 1 0 0 1-1 1.001zM247.463 169.752a1.019 1.019 0 0 1-1.017-1.021l.2-79.6a1.018 1.018 0 0 1 1.019-1.015 1.019 1.019 0 0 1 1.017 1.021l-.2 79.6a1.018 1.018 0 0 1-1.019 1.015z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M268.361 45.486l-1.369-4.744a1.5 1.5 0 0 0-1.853-1.027l-29.718 8.495a1.5 1.5 0 0 0 .825 2.885l28.278-8.084.538 1.861-33.581 9.587-1.939-2.2a4.536 4.536 0 0 0 2.652-.887c.545-.441 2.17-2.121.176-5.2a34.574 34.574 0 0 1-2.868-5.733c-1.307-3.111-2.542-6.049-5.915-9.133a51.944 51.944 0 0 0-9.975-6.2 13.167 13.167 0 0 0-4.6-1.3 17.9 17.9 0 0 0-4.517.08l-9.789-11.076a1.5 1.5 0 0 0-2.112-.137l-3.818 3.335a1.5 1.5 0 0 0-.141 2.119L195.1 25.5c-6.5 3.152-19.218 8.858-23.011 9.912a32 32 0 0 1-7.135 1.1c-.942.065-1.9.13-2.937.246a1.8 1.8 0 0 0 .2 3.582 1.949 1.949 0 0 0 .2-.011c.986-.11 1.893-.171 2.785-.233a35.365 35.365 0 0 0 7.853-1.219c4.463-1.24 18.788-7.762 24.5-10.574L216.231 49.6l-.231-.078a78.658 78.658 0 0 1-7.562-2.92l-.151-3.44a1 1 0 1 0-2 .088l.1 2.317a25.156 25.156 0 0 1-3.082-2l1.343-1a1.5 1.5 0 1 0-1.788-2.408l-2.873 2.133a1.5 1.5 0 0 0-.114 2.316c4.459 4.045 9.889 5.926 15.14 7.746a60.982 60.982 0 0 1 10.354 4.321c1.241.709 2.389 1.873 2.078 2.52-.236.488-1.31.674-2.875.5-4.817-.546-9.5-.909-14.021-1.261-9.731-.756-18.923-1.469-28.765-3.855a1.5 1.5 0 0 0-.706 2.916 161.469 161.469 0 0 0 25.994 3.675 1.017 1.017 0 0 0-.448.826l-.2 57.228a1.036 1.036 0 0 0 1.032 1.04 1.036 1.036 0 0 0 1.036-1.032L208.7 62a1.033 1.033 0 0 0-.3-.73l1.92.151c4.5.35 9.151.711 13.915 1.25a12.39 12.39 0 0 0 1.395.084 7.423 7.423 0 0 0 1.921-.235l23.611 26.415a1.5 1.5 0 0 0 2.1.13l3.818-3.335a1.5 1.5 0 0 0 .138-2.123l-23.541-26.66 33.651-9.607a1.5 1.5 0 0 0 1.029-1.858zm-41.506 8.586a41.7 41.7 0 0 0-4.71-2.275L191.881 17.28l1.563-1.366 34.07 38.586c-.214-.146-.422-.293-.659-.428zM226 47.978a1.478 1.478 0 0 0-.537-.338l-18.488-20.935a12.338 12.338 0 0 1 1.659.082 10.284 10.284 0 0 1 3.717 1.04 49.9 49.9 0 0 1 9.211 5.7c2.888 2.639 3.948 5.161 5.175 8.081a36.91 36.91 0 0 0 3.116 6.2c.487.753.5 1.15.479 1.211a1.291 1.291 0 0 1-.779.245A4.893 4.893 0 0 1 226 47.978zm27.978 36.488l-1.566 1.367L230 60.76c.051-.088.108-.169.153-.263a3.591 3.591 0 0 0 .049-2.957z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M198.543 127.184a1.6 1.6 0 0 1-1.375-2.4l5.286-9.018a1.595 1.595 0 0 1 2.752 1.613l-5.286 9.021a1.592 1.592 0 0 1-1.377.784zM244.878 129.04l-2.352-1.358-21.643-19.21a2.326 2.326 0 0 0-3.281.2l-2.707 3.05-2.749-1.589a1.595 1.595 0 0 0-1.6 2.762l32.737 18.905a1.577 1.577 0 0 0 .8.215 1.6 1.6 0 0 0 .8-2.977zm-25.685-18.961a.2.2 0 0 1 .279-.016l13.876 12.316-16.573-9.579zM259.459 140.9a1.588 1.588 0 0 1-.8-.215L250.2 135.8a1.595 1.595 0 1 1 1.6-2.762l8.461 4.889a1.6 1.6 0 0 1-.8 2.977zM272.578 155.265a2.308 2.308 0 0 0-.777-1.6l-3.948-3.5 1.97-3.41a2.855 2.855 0 0 0-1.043-3.9 1.595 1.595 0 0 0-1.868 2.564l-21.591 37.373-58.37-33.723 5.7-9.867a1.6 1.6 0 0 0-2.763-1.6l-5.867 10.155a2.857 2.857 0 0 0 1.044 3.9l32.94 19.03 21.639 19.206a2.307 2.307 0 0 0 1.541.587h.141a2.315 2.315 0 0 0 1.6-.777l3.305-3.725a2.838 2.838 0 0 0 1.685-1.3l.981-1.7L272 156.947a2.309 2.309 0 0 0 .578-1.682zm-31.241 33.021a.225.225 0 0 1-.28.017l-13.874-12.313 16.571 9.573zm29.063-32.752l-16.2 18.257 12.566-21.751 3.622 3.215a.2.2 0 0 1 .066.136.188.188 0 0 1-.054.143z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M195 144.887a.989.989 0 0 1-.989-.989v-73.63a.989.989 0 0 1 1.978 0V143.9a.989.989 0 0 1-.989.987zM159 68.5a1.5 1.5 0 0 1-.635-.141 117.006 117.006 0 0 0-40.911-11.1 1.5 1.5 0 0 1 .222-2.992 119.986 119.986 0 0 1 41.961 11.378A1.5 1.5 0 0 1 159 68.5zM344.5 89h-31.431l30.6-7.444a1.5 1.5 0 0 0 1.111-1.8l-1.749-7.6a1.5 1.5 0 0 0-.673-.939 1.482 1.482 0 0 0-1.141-.182l-41.36 9.97a1.5 1.5 0 0 0-1.11 1.8L300 90.292v34.27a1.448 1.448 0 0 0 1.5 1.438h43a1.448 1.448 0 0 0 1.5-1.438v-34.13A1.443 1.443 0 0 0 344.5 89zm-41.045 7.44v-4.508h6.457l-4.563 4.508zm10.726-4.508h5.119l-4.564 4.508h-5.115zm9.386 0h5.741l-4.564 4.508H319zm10.01 0h5.741l-4.563 4.508h-5.741zm9.423.581v3.927h-3.976zm-29.643-11.668a1.145 1.145 0 0 0 .111.083l5.732 3.442-5.6 1.347-5.854-3.517zM323.1 78.5c.032.022.059.049.093.069l5.749 3.455-5.591 1.347-5.851-3.523zm9.137-2.2c.026.018.048.04.075.056l5.77 3.466-4.982 1.2-5.858-3.52zm9.12 1.989l-4.976-2.989 4.062-.979zM303.611 83.2c.043.032.082.068.129.1l5.706 3.428-6.368 1.535-1.078-4.68zM303 123.062V99h40v24.062zM114.264 57.846L93.738 36.915A5.571 5.571 0 1 0 84 37.959c.057.082.129.146.189.224L55.985 68.121a3.454 3.454 0 0 0-1.665-.441H50.1a3.5 3.5 0 0 0-3.5 3.5v4.22a3.478 3.478 0 0 0 1.109 2.541L33.824 93.945c-.118-.03-.229-.078-.35-.1a5.573 5.573 0 0 0-2.006 10.965 5.65 5.65 0 0 0 1 .092 5.55 5.55 0 0 0 3.242-10.085l13.867-15.976a3.471 3.471 0 0 0 .523.053h1.253A43.432 43.432 0 0 0 41.5 106c0 13.217 5.939 26.187 17.175 37.505a1.5 1.5 0 0 0 2.129-2.113C50.138 130.643 44.5 118.405 44.5 106c0-9.97 3.947-19.411 10.933-27.3a3.487 3.487 0 0 0 2.244-2.373 65.1 65.1 0 0 1 26.38-15.438 1.5 1.5 0 1 0-.907-2.859 69.422 69.422 0 0 0-25.333 14.044v-.9a3.447 3.447 0 0 0-.424-1.633l28.277-30.01a5.567 5.567 0 0 0 1.916.744c.138.025.276.023.414.038v27.678a2.412 2.412 0 0 0 1.625 2.3 2.472 2.472 0 0 0 .828.144 2.414 2.414 0 0 0 1.882-.907l7.557-9.328 12.283 1.77a2.439 2.439 0 0 0 2.089-4.122zM35 99.791a2.579 2.579 0 0 1-2.994 2.068 2.575 2.575 0 0 1-2.068-2.994 2.578 2.578 0 0 1 2.531-2.11 2.625 2.625 0 0 1 .464.042A2.576 2.576 0 0 1 35 99.791zm19.817-24.837c-.3.311-.6.623-.892.94H50.1a.5.5 0 0 1-.5-.5v-4.22a.5.5 0 0 1 .5-.5h4.22a.5.5 0 0 1 .5.5zm31.655-38.7a2.573 2.573 0 1 1 4.688-1.526A2.407 2.407 0 0 0 88 37.036v.251a2.544 2.544 0 0 1-1.528-1.033zm13 20.853a1.491 1.491 0 0 0-1.379.54L91 66.408V39.817a5.792 5.792 0 0 0 .756-.438c.039-.027.069-.063.108-.091l19.1 19.474zM95.919 185.752a5.944 5.944 0 0 1-2.07-.374l-29.384-10.894a5.873 5.873 0 0 1-3.285-3 5.642 5.642 0 0 1-.208-4.417L75.16 128.8a5.8 5.8 0 0 1 7.482-3.344l22.458 8.327a5.957 5.957 0 0 1 3.292 3l4.418 9.332a5.647 5.647 0 0 1 .2 4.409l-.608 1.636a1.5 1.5 0 1 1-2.812-1.043l.607-1.635a2.672 2.672 0 0 0-.1-2.083l-4.419-9.332a2.933 2.933 0 0 0-1.623-1.476L81.6 128.273a2.8 2.8 0 0 0-3.626 1.574l-14.189 38.267a2.664 2.664 0 0 0 .1 2.086 2.889 2.889 0 0 0 1.619 1.471l29.385 10.9a2.894 2.894 0 0 0 2.187-.061 2.666 2.666 0 0 0 1.439-1.513l6.047-16.31a1.5 1.5 0 1 1 2.812 1.043l-6.047 16.31a5.636 5.636 0 0 1-3.036 3.213 5.853 5.853 0 0 1-2.372.499zM144.084 156l-6.388-6.677c-2.091-2.186-4.693-4.908-8.271-5.725a17.491 17.491 0 0 0-4.433-.259l-6.309.188c-.928.027-1.917.064-2.914.18a1.5 1.5 0 0 0 .35 2.981c.877-.1 1.792-.137 2.653-.163l6.31-.188a15.04 15.04 0 0 1 3.676.186c2.7.617 4.956 2.977 6.77 4.874l6.388 6.678a1.5 1.5 0 1 0 2.168-2.075z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M140.627 174.509a6.371 6.371 0 0 1-4.118.206 23.351 23.351 0 0 1-7.115-2.6 48.519 48.519 0 0 1-4.253-2.807 82.144 82.144 0 0 0-2.886-1.987c-1.734-1.12-3.557-2.1-5.322-3.054l-4.19-2.257a12.894 12.894 0 0 1-2.956-1.951 3.349 3.349 0 0 1-1.105-2.26 5.768 5.768 0 0 1 1.9.119 73.634 73.634 0 0 1 11.52 2.986l.483.169a20.092 20.092 0 0 0 4.309 1.156 1.5 1.5 0 1 0 .353-2.979 10.6 10.6 0 0 1-1.587-.333 21.937 21.937 0 0 0-4.675-6.481 4.084 4.084 0 0 0-2.891-1.576 3.713 3.713 0 0 0-2.212.791l-1.391.887a1.5 1.5 0 1 0 1.616 2.528l1.388-.886a3.487 3.487 0 0 1 .57-.322c.083.02.277.145.73.628a35.5 35.5 0 0 1 2.634 3.045 76.653 76.653 0 0 0-10.333-2.568 7.438 7.438 0 0 0-3.414-.007 2.592 2.592 0 0 0-1.993 2.532 6.183 6.183 0 0 0 1.986 4.7 15.362 15.362 0 0 0 3.641 2.458l4.193 2.258c1.711.923 3.481 1.877 5.116 2.933.934.6 1.87 1.268 2.774 1.91a51.323 51.323 0 0 0 4.521 2.978 26.4 26.4 0 0 0 8.025 2.93 13.977 13.977 0 0 0 2.608.278 7.444 7.444 0 0 0 3.452-.767 1.5 1.5 0 0 0-1.381-2.664z"}))},S_Illu_DreamweaverFirstMile_520x200_extends=Object.assign||function(target){for(var i=1,source;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},S_Illu_DreamweaverFirstMile_520x200=_ref=>{let{styles={}}=_ref,props=S_Illu_DreamweaverFirstMile_520x200_objectWithoutProperties(_ref,["styles"]);return react_default.a.createElement("svg",S_Illu_DreamweaverFirstMile_520x200_extends({xmlns:"http://www.w3.org/2000/svg",height:"200",id:"S_Illu_DreamweaverFirstMile_520x200",viewBox:"0 0 520 200",width:"520"},props),react_default.a.createElement("defs",null),react_default.a.createElement("title",null,"S_Illu_DreamweaverFirstMile_520x200"),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M451.136 41.684A36.272 36.272 0 1 0 457 61.457a36.3 36.3 0 0 0-5.864-19.773zm-2.014 37.08a41.187 41.187 0 0 0-10.292-4.042 43.152 43.152 0 0 0 2.051-12.265h13.083a33.068 33.068 0 0 1-4.842 16.307zm-56.744 0a33.068 33.068 0 0 1-4.842-16.307h13.083a43.152 43.152 0 0 0 2.051 12.265 41.187 41.187 0 0 0-10.292 4.042zm0-34.612a41.226 41.226 0 0 0 10.292 4.042 43.139 43.139 0 0 0-2.051 12.263h-13.083a33.064 33.064 0 0 1 4.842-16.305zm56.2-.894c.014.022.031.043.045.065a33.076 33.076 0 0 1 5.341 17.134h-13.226a43.082 43.082 0 0 0-2.251-12.7 36.934 36.934 0 0 0 10.013-4.422c.032-.021.049-.053.078-.077zm-9.84 17.2H421.75V50.311a71.333 71.333 0 0 0 14.8-2.03 41.13 41.13 0 0 1 2.188 12.176zM421.75 48.31V37.475a19.692 19.692 0 0 0 7.578-1.959 39.145 39.145 0 0 1 6.541 10.884 69.452 69.452 0 0 1-14.119 1.91zm0-12.836v-6.7a36.566 36.566 0 0 1 6.192 5.2 17.643 17.643 0 0 1-6.192 1.5zm2.989-7.024a32.829 32.829 0 0 1 8.434 2.158 22.312 22.312 0 0 1-3.388 2.425 38.761 38.761 0 0 0-5.046-4.583zm-13.2 4.473a22.414 22.414 0 0 1-3.215-2.315 32.815 32.815 0 0 1 8.019-2.1 38.81 38.81 0 0 0-4.801 4.415zm8.208-4.39v6.941a17.686 17.686 0 0 1-6.385-1.591 36.444 36.444 0 0 1 6.388-5.35zm0 8.942v10.882a72.271 72.271 0 0 1-14.447-1.583 39.185 39.185 0 0 1 6.688-11.352 19.75 19.75 0 0 0 7.762 2.053zm-1.075 12.867a.951.951 0 0 0 .141.028c.313 0 .622-.009.934-.012v10.1h-17.128a41.134 41.134 0 0 1 2-11.793 73.292 73.292 0 0 0 14.056 1.677zm-16.053 12.115h17.131v10.1a74.013 74.013 0 0 0-15.133 1.693 41.169 41.169 0 0 1-1.998-11.793zm17.131 12.1v10.884a19.716 19.716 0 0 0-7.763 2.053 39.19 39.19 0 0 1-6.687-11.353 72.2 72.2 0 0 1 14.45-1.583zm0 12.883v6.941a36.482 36.482 0 0 1-6.385-5.349 17.7 17.7 0 0 1 6.385-1.591zm-3.4 6.968a32.743 32.743 0 0 1-8.02-2.1 22.274 22.274 0 0 1 3.215-2.314 38.811 38.811 0 0 0 4.802 4.415zm13.611-4.416a22.274 22.274 0 0 1 3.215 2.314 32.743 32.743 0 0 1-8.02 2.1 38.811 38.811 0 0 0 4.802-4.413zm-8.208 4.389v-6.94a17.713 17.713 0 0 1 6.386 1.592 36.525 36.525 0 0 1-6.389 5.349zm0-8.941V74.558a72.2 72.2 0 0 1 14.447 1.583 39.19 39.19 0 0 1-6.688 11.353 19.716 19.716 0 0 0-7.762-2.053zm0-12.883v-10.1h17.131a41.169 41.169 0 0 1-2 11.794 74.013 74.013 0 0 0-15.134-1.693zm25.7-30.909c-.017.01-.038.011-.055.022a35.027 35.027 0 0 1-9.582 4.2 41.239 41.239 0 0 0-6.68-11.331 24.877 24.877 0 0 0 4.023-3.051 33.271 33.271 0 0 1 12.287 10.161zm-41.1-10.155a24.916 24.916 0 0 0 3.853 2.942 41.293 41.293 0 0 0-6.858 11.874 39.466 39.466 0 0 1-9.87-3.835 33.278 33.278 0 0 1 12.87-10.98zm-12.88 48.948a39.389 39.389 0 0 1 9.87-3.835 41.254 41.254 0 0 0 6.857 11.873 24.953 24.953 0 0 0-3.854 2.942 33.286 33.286 0 0 1-12.873-10.98zm41.679 10.98a24.953 24.953 0 0 0-3.854-2.942 41.254 41.254 0 0 0 6.859-11.873 39.389 39.389 0 0 1 9.87 3.835 33.286 33.286 0 0 1-12.875 10.98zM232 167.915a2.533 2.533 0 0 1-.856-.148 2.493 2.493 0 0 1-1.679-2.376v-33.629a2.521 2.521 0 0 1 4.32-1.766l23.991 24.465a2.52 2.52 0 0 1-2.157 4.26l-13.419-1.935-8.256 10.192a2.493 2.493 0 0 1-1.944.937zm.465-34.98v31.1l7.94-9.8a1.5 1.5 0 0 1 1.379-.54l12.859 1.854zM148.926 86.583H140.3a1 1 0 0 1 0-2h8.626a1 1 0 0 1 0 2z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M205.575 148.587a10.632 10.632 0 0 1-10.506-9.178l-.032-.236a10.885 10.885 0 0 1 9.317-12.321c5.227-.7 15.85-2.177 24.972-3.441 5.167-.716 9.852-1.367 12.8-1.772a10.851 10.851 0 0 1 12.207 9.263 10.7 10.7 0 0 1-5.092 10.648 1.5 1.5 0 0 1-1.547-2.57 7.71 7.71 0 0 0 3.668-7.668 7.842 7.842 0 0 0-8.828-6.7c-2.951.405-7.635 1.054-12.8 1.77a8449.949 8449.949 0 0 1-24.985 3.443 7.8 7.8 0 0 0-5.207 3.029 7.909 7.909 0 0 0-1.538 5.908l.033.235a7.628 7.628 0 0 0 8.644 6.511l19.284-2.763a1.5 1.5 0 1 1 .426 2.969l-19.284 2.763a10.765 10.765 0 0 1-1.532.11zM167.236 166.473l-50.358-63.528a2.023 2.023 0 0 0-2.839-.327l-10.362 8.213a2.024 2.024 0 0 0-.328 2.839l50.357 63.53a2.015 2.015 0 0 0 1.352.754 2.349 2.349 0 0 0 .236.013 2 2 0 0 0 1.251-.438l10.363-8.214a2.024 2.024 0 0 0 .328-2.842zm-11.948 9.49a.02.02 0 0 1-.014-.007L104.919 112.4l10.392-8.21 3.134 3.956a.983.983 0 0 0-.72.21l-1.329 1.054a1 1 0 1 0 1.242 1.566l1.329-1.054a1 1 0 0 0 .368-.654l4.375 5.523a.986.986 0 0 0-.717.21l-3.988 3.162a1 1 0 1 0 1.242 1.566l3.988-3.161a1 1 0 0 0 .367-.652l4.374 5.521a.99.99 0 0 0-.715.209l-1.33 1.054a1 1 0 0 0 1.242 1.568l1.33-1.054a1 1 0 0 0 .366-.649l4.372 5.518a.986.986 0 0 0-.713.209l-3.987 3.162a1 1 0 1 0 1.242 1.566l3.988-3.161a1 1 0 0 0 .365-.646l4.371 5.517a1 1 0 0 0-.711.208l-1.329 1.053a1 1 0 0 0 1.242 1.568l1.33-1.053a.992.992 0 0 0 .364-.645l4.369 5.514a1 1 0 0 0-.708.208l-3.987 3.161a1 1 0 0 0 1.242 1.568l3.988-3.16a1 1 0 0 0 .363-.642l4.367 5.511a.981.981 0 0 0-.7.209L148 149.282a1 1 0 1 0 1.243 1.566l1.329-1.054a.992.992 0 0 0 .363-.638l4.364 5.509a.982.982 0 0 0-.7.208l-3.988 3.162a1 1 0 1 0 1.242 1.566l3.988-3.161a.993.993 0 0 0 .362-.636l4.362 5.506a.984.984 0 0 0-.7.209l-1.329 1.054a1 1 0 0 0 .622 1.783.987.987 0 0 0 .62-.217l1.329-1.054a.986.986 0 0 0 .362-.633l4.194 5.293z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M239.952 78.629H135.269A4.38 4.38 0 0 0 130.894 83v32.475a1.5 1.5 0 0 0 3 0V92.333h26.688v62.156a1 1 0 1 0 2 0v-1.273h33.16a1 1 0 0 0 0-2h-33.16V92.333h78.746v23.146a1.5 1.5 0 1 0 3 0V83a4.381 4.381 0 0 0-4.376-4.371zm1.376 11.7H133.894V83a1.377 1.377 0 0 1 1.375-1.375h104.683A1.378 1.378 0 0 1 241.328 83zM132.748 172.95a1.5 1.5 0 0 1-1.5-1.5v-15.265a1.5 1.5 0 0 1 3 0v15.265a1.5 1.5 0 0 1-1.5 1.5zM242.6 56.866a1 1 0 0 0-1 1v5.423l-5.487-5.489a1 1 0 0 0-1.414 1.414l4.435 4.436H165.28l4.435-4.436A1 1 0 0 0 168.3 57.8l-5.719 5.72v-5.654a1 1 0 1 0-2 0v13.568a1 1 0 0 0 2 0v-5.655L168.3 71.5a1 1 0 0 0 1.414-1.414l-4.434-4.436h73.854l-4.434 4.434a1 1 0 1 0 1.414 1.414l5.486-5.488v5.424a1 1 0 0 0 2 0V57.866a1 1 0 0 0-1-1zM48.113 119.213a1.5 1.5 0 0 1-1.5-1.419 80.49 80.49 0 0 1-.116-4.31A76.952 76.952 0 0 1 61.307 67.7a1.5 1.5 0 1 1 2.421 1.771A73.976 73.976 0 0 0 49.5 113.484c0 1.377.038 2.772.112 4.148a1.5 1.5 0 0 1-1.417 1.579zM94.9 141.433L75.969 111.01a2.6 2.6 0 0 0-3.485-.874l-20.9 11.754-31.335 9a2.586 2.586 0 0 0-1.559 1.249 2.469 2.469 0 0 0-.179 1.924L29.264 167.9a2.6 2.6 0 0 0 3.183 1.669l5.881-1.689 2.546 4.091a2.573 2.573 0 0 0 2.192 1.213 2.625 2.625 0 0 0 1.289-.339l24.329-13.682 18.962-5.445a2.573 2.573 0 0 0 1.554-1.248 2.465 2.465 0 0 0 .18-1.924l-.815-2.563 5.418-3.047a2.544 2.544 0 0 0 1.217-1.576 2.459 2.459 0 0 0-.3-1.927zm-21.269-28.5l1.387 2.228-10.927 3.139zM43.21 170.048l-1.884-3.028 14.851-4.264zm-11.218-3.469l-10.467-32.936L75.9 118.028l9.436 29.694v.016l1.025 3.227zm55.647-21.517l-6.246-19.657 10.681 17.164z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M68.693 135.4a6.025 6.025 0 0 1-5.769-4.124 5.573 5.573 0 0 1 .414-4.352 5.867 5.867 0 0 1 3.6-2.865 6.075 6.075 0 0 1 7.455 3.89 5.57 5.57 0 0 1-.413 4.351 5.869 5.869 0 0 1-3.6 2.864 6.182 6.182 0 0 1-1.687.236zm-.061-9.578a4.142 4.142 0 0 0-1.148.161 3.883 3.883 0 0 0-2.385 1.889 3.592 3.592 0 0 0-.268 2.8 4.059 4.059 0 0 0 5 2.566 3.874 3.874 0 0 0 2.384-1.888 3.589 3.589 0 0 0 .268-2.8 4.012 4.012 0 0 0-3.851-2.724zM83.964 144.019a1 1 0 0 0-1.237-.685c-.736.212-1.568.425-2.449.63h-.018c-4.605 1.068-10.718 1.875-13.535.667l-11.977-6.221a2.638 2.638 0 0 0-3.46 1.024l-2.236 4.25-10.216-5.292a2.3 2.3 0 0 0-3.053.889l-2.249 4a1 1 0 0 0 1.743.98l2.25-4a.3.3 0 0 1 .39-.092l15.766 8.168a1 1 0 0 0 .92-1.775l-3.775-1.962 2.218-4.218a.632.632 0 0 1 .78-.2l12.043 6.257a10.73 10.73 0 0 0 3.287.715l-12.871 3.7c-1.222.35-4.1 1.334-4.493 2.889a1.381 1.381 0 0 0 .389 1.357c.361.348 1.462 1.412 8.339-.563a45.684 45.684 0 0 1 4.755-1.139 40.54 40.54 0 0 1-4.544 1.554l-1.9.58a3.794 3.794 0 0 0-2.376 1.531 1.554 1.554 0 0 0-.112 1.213 1 1 0 0 0 1.953-.334 3.78 3.78 0 0 1 1.118-.5l1.888-.575c8.62-2.475 8.167-4.055 8-4.649-.212-.738-.605-2.109-9.326.394a23.88 23.88 0 0 1-5.452 1.081 11.264 11.264 0 0 1 2.321-.92l23.988-6.889c.007 0 .012-.008.019-.01 1.377-.32 2.3-.582 2.435-.62a1 1 0 0 0 .677-1.235z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M39.581 146.69a1 1 0 1 0 .4-1.959 6.571 6.571 0 0 0-6.054 2.368 6.362 6.362 0 0 0-7.011-1.395 1 1 0 1 0 .8 1.832 3.982 3.982 0 0 1 3.5.092 6.626 6.626 0 0 0-3.8 2.556 1 1 0 1 0 1.6 1.195 4.784 4.784 0 0 1 3.744-1.962 18.317 18.317 0 0 0-.209 11.3 1 1 0 1 0 1.912-.584 16.339 16.339 0 0 1 .344-10.5 5.15 5.15 0 0 1 4.136 1.695 1 1 0 1 0 1.572-1.237 6.559 6.559 0 0 0-4.328-2.367 4.225 4.225 0 0 1 3.394-1.034zM339.266 95.761a1.5 1.5 0 0 0 .272.243l8.58 5.969a933.55 933.55 0 0 0 1.432.7h16.3v24.889h-43.565v-25.637a1.5 1.5 0 0 0-3 0V128.3a2.259 2.259 0 0 0 2.256 2.256h45.052a2.259 2.259 0 0 0 2.256-2.256v-26.375a2.259 2.259 0 0 0-2.256-2.256h-16.482l-4.563-8.915a1.5 1.5 0 0 0-.207-.3l-3.921-4.48a4.779 4.779 0 0 0 3.321-1.667c1.108-1.395 1.412-3.813-1.06-6.412-4.634-4.87-9.535-9.579-15.888-15.267a36.637 36.637 0 0 0-8.388-5.7 17.766 17.766 0 0 0-4.455-1.306c-.037-.006-.072 0-.108-.007l-11.573-13.229a4.036 4.036 0 0 0-6.077 5.312l7.318 8.359a34.119 34.119 0 0 0-8.181 2.878c-2.071 1.059-4.1 2.248-6.067 3.4-4.1 2.4-7.967 4.665-12.291 5.933a1.5 1.5 0 0 0 .844 2.879c4.678-1.371 8.89-3.838 12.963-6.224 1.928-1.129 3.922-2.3 5.916-3.315a31.282 31.282 0 0 1 9.113-2.926l8.353 9.542a9.363 9.363 0 0 0-5.118 2.132l-.829.574a19.305 19.305 0 0 0-4.922 4.311 32.055 32.055 0 0 1-4.011-1.2 1.5 1.5 0 0 0-1.059 2.807c6.374 2.4 13.211 2.617 19.823 2.824a103.791 103.791 0 0 1 11.383.772c1.618.232 3.255.982 3.193 1.836-.039.548-.776 1.087-2.039 1.522l-.026.01c-.224.076-.46.15-.716.22a391.339 391.339 0 0 1-47.665 9.71 1.5 1.5 0 0 0 .205 2.986 1.48 1.48 0 0 0 .209-.015 394.051 394.051 0 0 0 47.963-9.767zm3.695-3.475l1.944 3.8-3.5-2.436-6.92-7.906a4.9 4.9 0 0 0 1.5-1.429zm-23.823-15.611a101.05 101.05 0 0 1-11.442-.793 25.085 25.085 0 0 1 3.218-2.481c.288-.2.573-.395.854-.591 2.017-1.42 3.35-2.358 6.666-.71.073.036.145.074.217.111l4.019 4.589a443.281 443.281 0 0 0-3.532-.125zm7.741.38l-6.106-6.974c-.016-.021-.033-.039-.05-.058l-12.205-13.942-.006-.007-9.061-10.351a1.035 1.035 0 1 1 1.559-1.361l28.89 33q-1.506-.185-3.021-.307zm-8.333-17.216a34.983 34.983 0 0 1 7.246 5.02c6.291 5.633 11.139 10.29 15.715 15.1.365.383 1.507 1.7.884 2.48-.478.6-1.962.964-3.5.059a1.455 1.455 0 0 0-.167-.085c-.237-.1-.469-.213-.7-.323z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M390.5 145.188h-10.883a1.478 1.478 0 0 0 .154-.65v-5.669a1.4 1.4 0 0 1 0-.567 1.5 1.5 0 0 0-1.5-1.5h-33.082v-4.735a1.5 1.5 0 0 0-3 0v4.733H308.54a1.5 1.5 0 0 0-1.5 1.5 1.4 1.4 0 0 1 0 .567v5.669a1.478 1.478 0 0 0 .154.65H296.5a2 2 0 0 0-2 2V161.7a2 2 0 0 0 2 2h23.272a2 2 0 0 0 2-2v-14.511a2 2 0 0 0-2-2h-9.886a1.478 1.478 0 0 0 .154-.65V139.8h32.149v4.736a1.478 1.478 0 0 0 .154.65h-10.127a2 2 0 0 0-2 2V161.7a2 2 0 0 0 2 2h23.272a2 2 0 0 0 2-2v-14.511a2 2 0 0 0-2-2h-10.453a1.478 1.478 0 0 0 .154-.65V139.8h31.582v4.736a1.478 1.478 0 0 0 .154.65h-9.7a2 2 0 0 0-2 2V161.7a2 2 0 0 0 2 2H390.5a2 2 0 0 0 2-2v-14.511a2 2 0 0 0-2-2.001zm-71.727 3V160.7H297.5v-12.512zm35.716 0V160.7h-21.273v-12.512zM389.5 160.7h-21.273v-12.512H389.5zM285 54.371a1.5 1.5 0 0 1-.955-.343c-.1-.079-9.808-8.031-29.563-18.072-18.874-9.591-44.24-14.456-75.395-14.456-26.34 0-51.983 4.823-74.157 13.946a1.5 1.5 0 1 1-1.141-2.774c22.532-9.271 48.57-14.172 75.3-14.172 31.632 0 57.455 4.974 76.754 14.783 20.088 10.21 29.715 18.1 30.115 18.433a1.5 1.5 0 0 1-.958 2.655zM99 81H80a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1h5V52h-5v5a1 1 0 0 1-1 1h-7a1 1 0 0 1-1-1V44a1 1 0 0 1 1-1h35a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6.982a1 1 0 0 1-1-1v-5H94v20h5a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1zm-17-3h15.088v-3.052H92a1 1 0 0 1-1-1V50a1 1 0 0 1 1-1h9a1 1 0 0 1 1 1v5h3v-9H74v9h3v-5a1 1 0 0 1 1-1h9a1 1 0 0 1 1 1v23.948a1 1 0 0 1-1 1h-5z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M513.876 108.4a5.05 5.05 0 1 0-8.179 5.688l-15.432 25.052a3.074 3.074 0 0 0-.387-.039h-.854c5.957-11.006 8.509-22.93 7.081-34.246-1.9-15.072-11.533-28.061-27.246-36.882l6.715-1.95a1.5 1.5 0 0 0-.837-2.881l-10.211 2.966a1.5 1.5 0 0 0-1 1.913l3.213 9.667a1.5 1.5 0 0 0 2.847-.945l-2.011-6.051c14.754 8.341 23.787 20.5 25.559 34.538 1.413 11.2-1.311 23.068-7.562 33.935a3.246 3.246 0 0 0-2.607 3.177v.992a71.083 71.083 0 0 1-5.557 7.192C462.29 167.669 440 177.5 416.242 177.5a82.218 82.218 0 0 1-36.035-7.911 1.5 1.5 0 1 0-1.3 2.7 85.2 85.2 0 0 0 37.338 8.208c24.615 0 47.728-10.2 63.411-27.987a74.835 74.835 0 0 0 3.833-4.733 3.285 3.285 0 0 0 .458.56L469.9 169.758c-.011 0-.02-.011-.03-.014a5.091 5.091 0 1 0 1.743 1.05l14.148-21.576a3.183 3.183 0 0 0 .44.044h3.677a3.244 3.244 0 0 0 3.241-3.24v-3.677a3.224 3.224 0 0 0-1.027-2.353l15.253-24.763a5.089 5.089 0 0 0 1.988.41 5.032 5.032 0 0 0 2.179-.5 5.056 5.056 0 0 0 2.364-6.739zm-43.744 66.784a2.05 2.05 0 1 1-.087-1.567 2.035 2.035 0 0 1 .087 1.57zm19.987-29.165a.24.24 0 0 1-.241.24H486.2a.24.24 0 0 1-.241-.24v-3.677a.241.241 0 0 1 .241-.241h3.677a.241.241 0 0 1 .241.241zm20.093-33.584a2.05 2.05 0 0 1-1.775-3.7 2.024 2.024 0 0 1 .884-.2 2.05 2.05 0 0 1 .891 3.9z"}))},S_Illu_InDesignFirstMile_520x200_extends=Object.assign||function(target){for(var i=1,source;i<arguments.length;i++)for(var key in source=arguments[i],source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key]);return target},S_Illu_InDesignFirstMile_520x200=_ref=>{let{styles={}}=_ref,props=S_Illu_InDesignFirstMile_520x200_objectWithoutProperties(_ref,["styles"]);return react_default.a.createElement("svg",S_Illu_InDesignFirstMile_520x200_extends({xmlns:"http://www.w3.org/2000/svg",height:"200",id:"S_Illu_InDesignFirstMile_520x200",viewBox:"0 0 520 200",width:"520"},props),react_default.a.createElement("defs",null),react_default.a.createElement("title",null,"S_Illu_InDesignFirstMile_520x200"),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M499.433 15.3a.548.548 0 0 0 0-.057 1.5 1.5 0 0 0 0-.335c0-.03 0-.06-.009-.09a1.464 1.464 0 0 0-.106-.367c-.007-.017-.018-.032-.026-.049a1.518 1.518 0 0 0-.112-.2c-.022-.033-.05-.058-.074-.088-.012-.014-.018-.032-.03-.046s-.024-.019-.035-.03a1.487 1.487 0 0 0-.3-.253.226.226 0 0 0-.022-.011 1.444 1.444 0 0 0-.328-.143 1.05 1.05 0 0 0-.1-.028 1.5 1.5 0 0 0-.372-.046l-.04.005a1.517 1.517 0 0 0-.352.06c-.017.005-.034 0-.051.009l-76.816 25.2a3.513 3.513 0 0 0-.739 6.334l18.2 11.135-.129 16.275a3.161 3.161 0 0 0 2.047 3 3.213 3.213 0 0 0 1.152.215 3.16 3.16 0 0 0 2.375-1.081l6.194-7.009a1.5 1.5 0 0 0-2.248-1.986l-6.194 7.009a.161.161 0 0 1-.206.051.164.164 0 0 1-.12-.176L441 58.066l25.94 15.885a3.513 3.513 0 0 0 5-1.471l27.369-56.775c0-.012.006-.024.011-.037a1.47 1.47 0 0 0 .113-.368zm-78.176 26.811a.493.493 0 0 1 .35-.429L488.623 19.7l-49.047 33.977L421.5 42.608a.492.492 0 0 1-.243-.497zm47.979 29.066a.512.512 0 0 1-.73.215l-26.2-16.041 51.829-35.834zM257.667 144.078a1.5 1.5 0 0 1-1.441-1.086 44.269 44.269 0 0 1 30.351-54.755 1.5 1.5 0 0 1 1.856 1.028l4.584 15.988a1.5 1.5 0 0 1-1.028 1.855 24.634 24.634 0 0 0-10.934 6.564 24.783 24.783 0 0 0-6.182 11.156 24.626 24.626 0 0 0 .228 12.749 1.5 1.5 0 0 1-1.029 1.856l-15.987 4.584a1.532 1.532 0 0 1-.418.061zm.714-21.814a41 41 0 0 0 .341 18.452l13.117-3.762a27.651 27.651 0 0 1-.2-11.385zm.731-2.91l13.252 3.3a27.786 27.786 0 0 1 5.521-9.96l-9.825-9.488a41.9 41.9 0 0 0-8.948 16.144zm11.029-18.306l9.826 9.49a27.647 27.647 0 0 1 9.764-5.861l-3.761-13.118a40.983 40.983 0 0 0-15.829 9.489z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M323.9 125.086a1.5 1.5 0 0 1-1.439-1.086 24.611 24.611 0 0 0-6.562-10.931 24.624 24.624 0 0 0-23.908-5.958 1.5 1.5 0 0 1-1.856-1.029l-4.584-15.988a1.5 1.5 0 0 1 1.028-1.855 44.04 44.04 0 0 1 22.755-.43c.052.008.105.018.157.031a1.511 1.511 0 0 1 .157.048 44.614 44.614 0 0 1 19.761 10.954 1.365 1.365 0 0 1 .123.107c.038.037.074.075.108.115a44 44 0 0 1 11.7 19.527 1.5 1.5 0 0 1-1.028 1.855l-15.988 4.585a1.5 1.5 0 0 1-.424.055zm-4.872-13.108a27.66 27.66 0 0 1 5.862 9.765l13.117-3.762a40.986 40.986 0 0 0-9.508-15.812zm-12.119-7.6a27.806 27.806 0 0 1 9.96 5.521l9.469-9.806a41.6 41.6 0 0 0-16.132-8.941zm-18.055-13.645l3.761 13.117a27.621 27.621 0 0 1 11.386-.2l3.3-13.231a41 41 0 0 0-18.447.314z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M310.568 173.4a1.5 1.5 0 0 1-1.442-1.087l-4.584-15.988a1.5 1.5 0 0 1 1.028-1.855 24.632 24.632 0 0 0 10.933-6.564 24.768 24.768 0 0 0 6.182-11.156 24.623 24.623 0 0 0-.224-12.75 1.5 1.5 0 0 1 1.029-1.854l15.988-4.585a1.5 1.5 0 0 1 1.855 1.028 44.267 44.267 0 0 1-30.352 54.755 1.488 1.488 0 0 1-.413.056zm-2.74-16.5l3.761 13.118a41 41 0 0 0 15.811-9.507l-9.808-9.472a27.653 27.653 0 0 1-9.764 5.861zm11.846-8.021l9.806 9.47a41.6 41.6 0 0 0 8.942-16.133l-13.227-3.3a27.786 27.786 0 0 1-5.521 9.966zm6.249-12.871l13.23 3.3a40.982 40.982 0 0 0-.316-18.445l-13.117 3.761a27.651 27.651 0 0 1 .203 11.387z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M298.715 175.078a44.329 44.329 0 0 1-42.489-32.086 1.5 1.5 0 0 1 1.028-1.856l15.988-4.584a1.505 1.505 0 0 1 1.856 1.029 24.636 24.636 0 0 0 6.564 10.933 24.778 24.778 0 0 0 11.152 6.182 24.624 24.624 0 0 0 12.751-.227 1.5 1.5 0 0 1 1.855 1.028l4.585 15.989a1.5 1.5 0 0 1-1.029 1.854 44.44 44.44 0 0 1-12.261 1.738zm-8.462-3.889a41.029 41.029 0 0 0 18.452-.341l-3.761-13.118a27.627 27.627 0 0 1-11.387.2zm-19.053-9.68a41.869 41.869 0 0 0 16.143 8.949l3.3-13.253a27.775 27.775 0 0 1-9.96-5.52zM259.549 143.6a40.985 40.985 0 0 0 9.489 15.829l9.489-9.827a27.645 27.645 0 0 1-5.86-9.764zM316.938 113.486a1.5 1.5 0 0 1-1.041-.42 24.778 24.778 0 0 0-11.158-6.185 1.5 1.5 0 1 1 .729-2.91 27.774 27.774 0 0 1 12.511 6.935 1.5 1.5 0 0 1-1.041 2.58z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M291.575 107.166a1.5 1.5 0 0 1-.413-2.941 27.617 27.617 0 0 1 14.306-.254 1.5 1.5 0 1 1-.729 2.91 24.6 24.6 0 0 0-12.75.227 1.488 1.488 0 0 1-.414.058z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M279.975 114.131a1.5 1.5 0 0 1-1.079-2.541 27.632 27.632 0 0 1 12.266-7.365 1.5 1.5 0 0 1 .827 2.883 24.634 24.634 0 0 0-10.934 6.564 1.493 1.493 0 0 1-1.08.459zM298.76 158.429a27.466 27.466 0 0 1-6.669-.82 1.5 1.5 0 1 1 .728-2.91 24.624 24.624 0 0 0 12.751-.227 1.5 1.5 0 0 1 .827 2.883 27.686 27.686 0 0 1-7.637 1.074zM317.583 150.449a1.5 1.5 0 0 1-1.08-2.541 24.764 24.764 0 0 0 6.185-11.159 1.5 1.5 0 0 1 2.911.729 27.794 27.794 0 0 1-6.935 12.512 1.5 1.5 0 0 1-1.081.459z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M273.417 125.966a1.485 1.485 0 0 1-.366-.045 1.5 1.5 0 0 1-1.091-1.819 27.79 27.79 0 0 1 6.94-12.512 1.5 1.5 0 1 1 2.16 2.082 24.784 24.784 0 0 0-6.184 11.158 1.5 1.5 0 0 1-1.459 1.136zM323.9 125.086a1.5 1.5 0 0 1-1.439-1.086 24.618 24.618 0 0 0-6.564-10.933 1.5 1.5 0 0 1 2.082-2.16 27.628 27.628 0 0 1 7.366 12.267 1.5 1.5 0 0 1-1.443 1.913zM305.982 157.413a1.5 1.5 0 0 1-.412-2.941 24.632 24.632 0 0 0 10.933-6.564 1.5 1.5 0 0 1 2.161 2.082 27.63 27.63 0 0 1-12.267 7.365 1.485 1.485 0 0 1-.415.058z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M324.145 138.614a1.54 1.54 0 0 1-.366-.045 1.5 1.5 0 0 1-1.091-1.82 24.62 24.62 0 0 0-.227-12.75 1.5 1.5 0 1 1 2.884-.826 27.634 27.634 0 0 1 .254 14.305 1.5 1.5 0 0 1-1.454 1.136zM273.655 139.494a1.5 1.5 0 0 1-1.441-1.086 27.638 27.638 0 0 1-.254-14.306 1.5 1.5 0 0 1 2.911.728 24.623 24.623 0 0 0 .227 12.751 1.5 1.5 0 0 1-1.029 1.855 1.483 1.483 0 0 1-.414.058zM292.456 157.654a1.526 1.526 0 0 1-.365-.045 27.767 27.767 0 0 1-12.511-6.935 1.5 1.5 0 1 1 2.082-2.16 24.777 24.777 0 0 0 11.157 6.185 1.5 1.5 0 0 1-.363 2.955z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M280.621 151.094a1.5 1.5 0 0 1-1.041-.42 27.631 27.631 0 0 1-7.366-12.266 1.5 1.5 0 1 1 2.884-.827 24.636 24.636 0 0 0 6.564 10.933 1.5 1.5 0 0 1-1.041 2.58zM367.756 108.632h-11.88a3.88 3.88 0 0 1-3.876-3.876v-11.88A3.881 3.881 0 0 1 355.876 89h11.88a1.5 1.5 0 0 1 0 3h-11.88a.877.877 0 0 0-.876.876v11.88a.876.876 0 0 0 .876.876h11.88a.876.876 0 0 0 .876-.876v-3.57a1.5 1.5 0 1 1 3 0v3.57a3.879 3.879 0 0 1-3.876 3.876z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M362.932 102.59a1.5 1.5 0 0 1-1.06-.439l-3.565-3.565a1.5 1.5 0 1 1 2.121-2.121l2.553 2.553 12.01-10.918a1.5 1.5 0 0 1 2.018 2.221L363.941 102.2a1.5 1.5 0 0 1-1.009.39zM367.756 140.708h-11.88a3.88 3.88 0 0 1-3.876-3.876v-11.88a3.88 3.88 0 0 1 3.876-3.875h11.88a1.5 1.5 0 0 1 0 3h-11.88a.876.876 0 0 0-.876.875v11.88a.876.876 0 0 0 .876.876h11.88a.876.876 0 0 0 .876-.876v-3.57a1.5 1.5 0 0 1 3 0v3.57a3.879 3.879 0 0 1-3.876 3.876z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M362.932 134.666a1.5 1.5 0 0 1-1.06-.439l-3.565-3.565a1.5 1.5 0 1 1 2.121-2.121l2.553 2.553 12.01-10.919a1.5 1.5 0 0 1 2.018 2.221l-13.068 11.881a1.5 1.5 0 0 1-1.009.389zM367.756 172.785h-11.88a3.881 3.881 0 0 1-3.876-3.876v-11.88a3.88 3.88 0 0 1 3.876-3.876h11.88a1.5 1.5 0 0 1 0 3h-11.88a.876.876 0 0 0-.876.876v11.88a.877.877 0 0 0 .876.876h11.88a.877.877 0 0 0 .876-.876v-3.571a1.5 1.5 0 0 1 3 0v3.571a3.88 3.88 0 0 1-3.876 3.876z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M362.932 166.743a1.5 1.5 0 0 1-1.06-.44l-3.565-3.564a1.5 1.5 0 1 1 2.121-2.121l2.553 2.552 12.01-10.918a1.5 1.5 0 0 1 2.018 2.221l-13.068 11.88a1.5 1.5 0 0 1-1.009.39zM206.723 59.361a17 17 0 1 1 17-17 17.019 17.019 0 0 1-17 17zm0-31a14 14 0 1 0 14 14 14.015 14.015 0 0 0-14-14z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M207 69a1 1 0 0 1-1-1V16.185a1 1 0 0 1 2 0V68a1 1 0 0 1-1 1z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M232.908 43h-51.816a1 1 0 0 1 0-2h51.816a1 1 0 1 1 0 2zM384.935 140.171c11.877-.329 20.016-10.693 26.188-19.681 8.027-11.688 14.055-25.272 24.055-35.485 1.352-1.38-.768-3.5-2.121-2.121-8.722 8.908-14.434 20.415-21.07 30.843-6.039 9.49-14.37 23.092-27.052 23.444-1.926.053-1.934 3.053 0 3zM132.056 60.174a1.5 1.5 0 0 1-1.126-2.49A52.035 52.035 0 0 1 170 40a1.5 1.5 0 0 1 0 3 49.038 49.038 0 0 0-36.817 16.664 1.5 1.5 0 0 1-1.127.51zM247.6 119.368a1.494 1.494 0 0 1-.662-.155c-7.036-3.464-10.409-13.456-13.979-24.036-3.352-9.933-6.819-20.205-13.4-25.509a1.5 1.5 0 0 1 1.882-2.336c7.259 5.854 10.868 16.546 14.357 26.886 3.366 9.972 6.544 19.391 12.462 22.3a1.5 1.5 0 0 1-.663 2.846zM96.085 95.57l-4.314-10.96c0-.011-.01-.019-.014-.029a1.275 1.275 0 0 0-.066-.127 1.448 1.448 0 0 0-.082-.144c0-.007-.008-.016-.014-.024l-4.114-5.751c.112.006.226.028.338.028a5.215 5.215 0 0 0 3.8-1.479c1.34-1.386 1.915-3.968-.5-7.058-4.655-5.973-9.627-11.79-16.119-18.864a41.086 41.086 0 0 0-8.733-7.286 19.893 19.893 0 0 0-4.729-1.917 1.484 1.484 0 0 0-.253-.042L49.714 25.744a4.356 4.356 0 1 0-7.091 5.063L50.1 41.258a38.378 38.378 0 0 0-9.769 2.342c-2.435.957-4.841 2.065-7.168 3.138-4.871 2.245-9.472 4.365-14.485 5.313A1.5 1.5 0 1 0 19.236 55c5.375-1.016 10.361-3.314 15.182-5.536 2.289-1.054 4.656-2.144 7.01-3.069a35.568 35.568 0 0 1 10.7-2.3l8.625 12.055c-2.336-.277-4.233.605-6.279 1.761a98.39 98.39 0 0 1-.993.552 21.206 21.206 0 0 0-6.035 4.349 36.388 36.388 0 0 1-4.506-1.837 1.5 1.5 0 1 0-1.328 2.689C48.467 67.05 56.1 68.042 63.473 69a117.841 117.841 0 0 1 12.7 2.126c1.848.453 3.71 1.528 3.521 2.627s-2.255 1.612-3.469 1.814A441.061 441.061 0 0 1 21.674 81.2a1.5 1.5 0 0 0 .06 3h.066a444.319 444.319 0 0 0 54.923-5.674c.023 0 .042-.01.064-.013L84.5 89.349c0 .007.012.012.017.019a1.55 1.55 0 0 0 .23.251l8.963 7.64a1.5 1.5 0 0 0 2.369-1.691zM64.772 46.478a38.547 38.547 0 0 1 8.018 6.714c6.435 7.008 11.36 12.772 15.968 18.679 1.042 1.336 1.306 2.506.7 3.127-.752.781-2.61.847-4.179-.3a1.5 1.5 0 0 0-.741-.275L64.411 46.287c.12.065.245.124.361.191zM50.714 63.78a25.822 25.822 0 0 1 4.217-2.69q.516-.285 1.018-.567c2.706-1.53 4.28-2.227 7.748-.058a1.516 1.516 0 0 0 .221.11l4.327 6.048c-1.47-.21-2.937-.408-4.386-.6a110.517 110.517 0 0 1-13.145-2.243zm21.566 3.488a1.493 1.493 0 0 0-.218-.467l-27-37.739a1.356 1.356 0 0 1 .316-1.892 1.362 1.362 0 0 1 1.012-.234 1.343 1.343 0 0 1 .881.552L76.32 68.09a74.268 74.268 0 0 0-4.04-.822zm14.559 20.189l-7.018-9.848a5.326 5.326 0 0 0 2.117-1.666l7.109 9.937 2.053 5.206z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M65.8 173.06a3.705 3.705 0 0 1-2.631-1.085A3.778 3.778 0 0 1 62 169.342v-83.1a1.443 1.443 0 0 1 1.43-1.5A1.558 1.558 0 0 1 65 86.241v83.094a.741.741 0 0 0 .287.513.727.727 0 0 0 .514.212V170h87.465c.261 0 .436-.355.517-.436A.876.876 0 0 0 154 169V67.01a1.741 1.741 0 0 0-.25-.8 3.174 3.174 0 0 0-.665-.215H92.234a1.5 1.5 0 0 1 0-3h60.856a4.268 4.268 0 0 1 2.844 1.143A4.221 4.221 0 0 1 157 67v102a3.8 3.8 0 0 1-1.089 2.68 3.946 3.946 0 0 1-2.635 1.32H65.811z"}),react_default.a.createElement("path",{className:styles["cls-1"]||"cls-1",d:"M101.5 72h-5a1 1 0 0 1 0-2h5a1 1 0 0 1 0 2zM144.5 72h-6a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2zM144.5 131h-34a1 1 0 0 1 0-2h34a1 1 0 0 1 0 2zM144.5 145h-34a1 1 0 0 1 0-2h34a1 1 0 0 1 0 2zM144.5 159h-34a1 1 0 0 1 0-2h34a1 1 0 0 1 0 2zM139.5 138h-29a1 1 0 0 1 0-2h29a1 1 0 0 1 0 2zM139.5 152h-29a1 1 0 0 1 0-2h29a1 1 0 0 1 0 2zM143 122H78a3 3 0 0 1-3-3V82.417a1 1 0 0 1 2 0V119a1 1 0 0 0 1 1h65a1 1 0 0 0 1-1V80a1 1 0 0 0-1-1H95.719a1 1 0 0 1 0-2H143a3 3 0 0 1 3 3v39a3 3 0 0 1-3 3zM101 159H78a3 3 0 0 1-3-3v-24a3 3 0 0 1 3-3h23a3 3 0 0 1 3 3v24a3 3 0 0 1-3 3zm-23-28a1 1 0 0 0-1 1v24a1 1 0 0 0 1 1h23a1 1 0 0 0 1-1v-24a1 1 0 0 0-1-1z"}))};const EmptyBanner_styles=__webpack_require__(915),EmptyBanner_sharedStyles=__webpack_require__(381);class EmptyBanner_EmptyBanner extends react_default.a.Component{constructor(){super(...arguments),this.getHardcodedIcon=app=>"ILST"===app?react_default.a.createElement(S_Illu_IllustratorFirstMile_520x200,null):"PPRO"===app?react_default.a.createElement(S_Illu_PremiereFirstMile_520x200,null):"AEFT"===app?react_default.a.createElement(S_Illu_AfterEffectsFirstMile_520x200,null):"DRWV"===app?react_default.a.createElement(S_Illu_DreamweaverFirstMile_520x200,null):"IDSN"===app?react_default.a.createElement(S_Illu_InDesignFirstMile_520x200,null):null}createNewDocument(data){this.props.logEvent(this.props.containerAnalytics.component,EmptyBanner_objectSpread({},this.props.containerAnalytics.eventData,{ctaEvent:data?data.ctaEvent:null,ctaData:data?data.ctaData:null,subtype:"cmd-n"}),"click"),host["default"].defaultNewDocument()}render(){const{headerText,descriptionText,primaryCTA,bgAnchor,bgImage,sideImage,style,grow,cardHeight}=this.props;return react_default.a.createElement("div",{className:classnames_default()(EmptyBanner_styles.root,EmptyBanner_sharedStyles[cardHeight||"xl"],!!grow&&EmptyBanner_sharedStyles.grow)},react_default.a.createElement("div",{className:EmptyBanner_styles.emptyBanner},sideImage?react_default.a.createElement("div",{className:EmptyBanner_styles.iconContent},react_default.a.createElement("img",{src:sideImage.fields.image.fields.file.url})):react_default.a.createElement("div",{className:EmptyBanner_styles.defaultIcon},this.getHardcodedIcon(host["default"].data.hostID)),react_default.a.createElement("header",{className:EmptyBanner_styles.header},ReplaceAppDataTemplates(headerText)),react_default.a.createElement("span",{className:descriptionText&&EmptyBanner_styles.description},ReplaceAppDataTemplates(descriptionText||"")),primaryCTA&&primaryCTA.fields.cta&&react_default.a.createElement("div",{className:EmptyBanner_styles.ctaGroup},react_default.a.createElement(Button_default.a,{variant:"cta",onClick:()=>{this.createNewDocument(primaryCTA.fields)}},primaryCTA.fields.cta))))}}const EllipsisText_styles=__webpack_require__(913);class EllipsisText_EllipsisText extends react_default.a.Component{wrapWithTooltip(content){return this.props.tooltipText?react_default.a.createElement(OverlayTrigger_default.a,{trigger:"hover",placement:"bottom left",delayShow:2e3},content,react_default.a.createElement(Tooltip_default.a,null,this.props.tooltipText)):content}render(){return react_default.a.createElement("div",{className:EllipsisText_styles.root},react_default.a.createElement("div",{className:EllipsisText_styles.fake},this.props.children),react_default.a.createElement("span",null,"\xA0"),this.wrapWithTooltip(react_default.a.createElement("div",{className:EllipsisText_styles.content},this.props.children)))}}var Table=__webpack_require__(911),TableSortArrow=__webpack_require__(490),TableSortArrow_default=__webpack_require__.n(TableSortArrow);const SortableTable_css=__webpack_require__(898);let SortableTable_SortableTable=class extends react_default.a.Component{render(){const{columns,items,renderCell,sortBy,sortDirection,onSort}=this.props,dir=1===sortDirection?1:-1,head=columns.map(column=>react_default.a.createElement(Table.TH,{onClick:()=>onSort(column,sortBy===column.key?-dir:dir),style:{whiteSpace:"nowrap",paddingBottom:12,paddingTop:12},className:classnames_default()("spectrum-Table-headCell","is-sortable",{"is-sorted-desc":1===dir,"is-sorted-asc":-1===dir})},react_default.a.createElement(index_es.b,{id:column.labelId}),react_default.a.createElement(TableSortArrow_default.a,{className:classnames_default()("spectrum-Table-sortedIcon",SortableTable_css.sortArrow,sortBy===column.key&&SortableTable_css.sortArrowVisible),size:null}))),body=items.map((item,index)=>react_default.a.createElement(Keyboard.Item,{index:index},react_default.a.createElement(Table.TR,{key:index,onClick:()=>this.props.onItemClick(item)},columns.map(column=>react_default.a.createElement(Table.TD,{key:column.key},renderCell(item,column)))))),shouldShowHeader=1<head.length;return react_default.a.createElement(Table.Table,{style:{width:"100%"},quiet:!0},react_default.a.createElement(Table.THead,null,shouldShowHeader&&head),react_default.a.createElement(Table.TBody,null,body))}};SortableTable_SortableTable=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([index_module.a],SortableTable_SortableTable);var pieces_SortableTable=SortableTable_SortableTable;const SortableGrid_cardGridStyles=__webpack_require__(489);let SortableGrid_SortableGrid=class extends react_default.a.Component{render(){const{columns,items,renderGridItem,sortBy,sortDirection,onSort}=this.props;return react_default.a.createElement("div",{className:SortableGrid_cardGridStyles.root},items.map((item,index)=>react_default.a.createElement(Keyboard.Item,{index:index,key:index},renderGridItem(item))))}};SortableGrid_SortableGrid=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([index_module.a],SortableGrid_SortableGrid);var pieces_SortableGrid=SortableGrid_SortableGrid,ViewList=__webpack_require__(893),ViewList_default=__webpack_require__.n(ViewList),ClassicGridView=__webpack_require__(890),ClassicGridView_default=__webpack_require__.n(ClassicGridView),fuse=__webpack_require__(784),fuse_default=__webpack_require__.n(fuse),ListGrid_metadata=function(k,v){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(k,v)};const ListGrid_styles=__webpack_require__(895),ListGrid_SortArrow=props=>react_default.a.createElement(TableSortArrow_default.a,{size:"XXS",style:{transition:"transform 125ms ease-in-out",transform:1===props.sortDirection?"rotateZ(0deg)":"rotateZ(180deg)"}}),ListGrid_FUSE_OPTIONS={shouldSort:!0,tokenize:!0,matchAllTokens:!0,threshold:.4,location:0,distance:1e3,maxPatternLength:32,minMatchCharLength:1,keys:["filterName","filterExtension"]};class ListGrid_ListGrid extends react_default.a.Component{get sortedItems(){let items=this.props.items.slice();const filter=this.props.filterString;return filter&&(items=new fuse_default.a(items,ListGrid_FUSE_OPTIONS).search(filter)),items=items.sort(ListGrid_ListGrid.sortAscWithSecondaryFallback(this.props.sortBy,this.props.secondarySortBy)),1===this.props.sortDirection&&items.reverse(),items}get currentSortColumn(){return this.props.columns.find(col=>col.key===this.props.sortBy)}render(){let mode=this.props.mode;"list"===mode&&this.props.disableListMode?mode="grid":"grid"==mode&&this.props.disableGridMode&&(mode="list");const sortOptions="grid"===mode&&react_default.a.createElement("div",{className:ListGrid_styles.sortOptions},react_default.a.createElement("div",{className:ListGrid_styles.sortFieldLabel},react_default.a.createElement(index_es.b,{id:"common_sort"})),react_default.a.createElement(Select_default.a,{quiet:!0,options:this.props.columns.map((column,i)=>({label:react_default.a.createElement(index_es.b,{id:column.labelId}),value:column.key,key:i})),value:this.currentSortColumn.key,onChange:value=>this.props.onSort(this.props.columns.find(col=>col.key===value),this.props.sortDirection)}),react_default.a.createElement("div",{className:ListGrid_styles.sortDivider}),react_default.a.createElement(Button_default.a,{variant:"tool",icon:react_default.a.createElement(ListGrid_SortArrow,{sortDirection:this.props.sortDirection}),onClick:evt=>{evt.stopPropagation(),this.props.onSort(this.currentSortColumn,1===this.props.sortDirection?-1:1)},"data-qe-id":"sort-button","data-qe-direction":this.props.sortDirection}));let modeButtons=!this.props.disableGridMode&&!this.props.disableListMode&&react_default.a.createElement("div",null,react_default.a.createElement(Button_default.a,{variant:"action",value:"grid","data-qe-id":"grid-view-toggle",icon:react_default.a.createElement(ClassicGridView_default.a,null),quiet:!0,tabIndex:0,selected:"grid"===mode,onClick:()=>{this.props.onModeChange("grid")}}),react_default.a.createElement(Button_default.a,{variant:"action",value:"list","data-qe-id":"list-view-toggle",icon:react_default.a.createElement(ViewList_default.a,null),quiet:!0,tabIndex:0,selected:"list"===mode,onClick:()=>{this.props.onModeChange("list")}}));const shouldShowHeader=1<this.props.columns.length;return react_default.a.createElement("div",{className:ListGrid_styles.root},shouldShowHeader&&react_default.a.createElement(react_default.a.Fragment,null,react_default.a.createElement("div",{className:ListGrid_styles.header},react_default.a.createElement(Heading_default.a,{size:3,style:{fontWeight:"normal"}},react_default.a.createElement(index_es.b,{id:this.props.titleId})),modeButtons),react_default.a.createElement("div",{className:classnames_default()(ListGrid_styles.headerSort,"list"===mode&&ListGrid_styles.headerSortAlignRight)},sortOptions,this.props.onFilterChange&&react_default.a.createElement("div",{className:ListGrid_styles.headerRight},react_default.a.createElement("label",{className:ListGrid_styles.filterLabel},this.context.intl.formatMessage({id:"common_filter"})),react_default.a.createElement(Search_default.a,{className:ListGrid_styles.filterInput,icon:null,defaultValue:this.props.filterString,onChange:this.props.onFilterChange,quiet:!0,placeholder:this.context.intl.formatMessage({id:"search_recent"}),style:{paddingLeft:0}})))),react_default.a.createElement(Keyboard.Collection,null,"list"===mode?react_default.a.createElement(pieces_SortableTable,ListGrid_extends({},this.props,{items:this.sortedItems})):react_default.a.createElement(pieces_SortableGrid,ListGrid_extends({},this.props,{items:this.sortedItems}))))}static sortAscWithSecondaryFallback(key,secondarySortKey){const primaryCompare=ListGrid_ListGrid.sortAsc(key),secondaryCompare=ListGrid_ListGrid.sortAsc(secondarySortKey);return function(a,b){return primaryCompare(a,b)||secondaryCompare(a,b)}}static sortAsc(key){return function(a,b){if(a[key]instanceof Date)return a[key]<b[key]?1:a[key]>b[key]?-1:0;if("number"==typeof a[key])return a[key]-b[key];if(!a[key]||!a[key])return 0;const x=a[key].toLocaleLowerCase(),y=b[key].toLocaleLowerCase();return x<y?-1:x>y?1:0}}}ListGrid_ListGrid.contextTypes={intl:prop_types_default.a.any},function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([mobx_module.g,ListGrid_metadata("design:type",Object),ListGrid_metadata("design:paramtypes",[])],ListGrid_ListGrid.prototype,"sortedItems",null);var ImageAspect_decorate=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r},ImageAspect_metadata=function(k,v){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(k,v)},ImageAspect_ImageAspect_1;const ImageAspect_styles=__webpack_require__(887);let ImageAspect_ImageAspect=ImageAspect_ImageAspect_1=class extends react_default.a.Component{constructor(){super(...arguments),this.isFallback=!1,this.onLoad=evt=>{const img=evt.currentTarget,w=img.naturalWidth,h=img.naturalHeight;this.aspect=w>h?"wide":h>w?"tall":"square",ImageAspect_ImageAspect_1.cache.set(this.currentSrc,this.aspect)},this.onError=()=>{this.isFallback=!0}}componentWillReceiveProps(nextProps){nextProps.src!==this.props.src&&(this.isFallback=!1,this.aspect=void 0)}get currentSrc(){return this.isFallback&&this.props.fallbackSrc?this.props.fallbackSrc:this.props.src}render(){const aspect=this.aspect||ImageAspect_ImageAspect_1.cache.get(this.currentSrc);return react_default.a.createElement("img",{className:classnames_default()(ImageAspect_styles.img,this.aspect&&ImageAspect_styles.hasDeterminedAspectRatio),src:this.currentSrc,onLoad:this.onLoad,onError:this.onError,"data-aspect":aspect,onDragStart:e=>{e&&this.props.preventDragAndDrop&&e.preventDefault()}})}};ImageAspect_ImageAspect.cache=new Map,ImageAspect_ImageAspect.defaultProps={preventDragAndDrop:!0},ImageAspect_decorate([mobx_module.t,ImageAspect_metadata("design:type",Object)],ImageAspect_ImageAspect.prototype,"isFallback",void 0),ImageAspect_decorate([mobx_module.t,ImageAspect_metadata("design:type",String)],ImageAspect_ImageAspect.prototype,"aspect",void 0),ImageAspect_ImageAspect=ImageAspect_ImageAspect_1=ImageAspect_decorate([index_module.a],ImageAspect_ImageAspect);var pieces_ImageAspect=ImageAspect_ImageAspect,FileListGrid_decorate=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r},FileListGrid_metadata=function(k,v){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(k,v)};const FileListGrid_cardGridStyles=__webpack_require__(489),FileListGrid_styles=__webpack_require__(885);class FileListGrid_TransientPrefs{constructor(){this.filterString="",this.currentItemView="list",this.sortDirection="asc",this.sortItem="name"}setFilterString(str){this.filterString=str}setItemView(view){this.currentItemView=view}setSortDirection(dir){this.sortDirection=dir}setSortItem(item){this.sortItem=item}}FileListGrid_decorate([mobx_module.t,FileListGrid_metadata("design:type",Object)],FileListGrid_TransientPrefs.prototype,"filterString",void 0),FileListGrid_decorate([mobx_module.t,FileListGrid_metadata("design:type",String)],FileListGrid_TransientPrefs.prototype,"currentItemView",void 0),FileListGrid_decorate([mobx_module.t,FileListGrid_metadata("design:type",String)],FileListGrid_TransientPrefs.prototype,"sortDirection",void 0),FileListGrid_decorate([mobx_module.t,FileListGrid_metadata("design:type",String)],FileListGrid_TransientPrefs.prototype,"sortItem",void 0);let FileListGrid_FileListGrid=class extends react_default.a.Component{constructor(){super(...arguments),this.handleMRUItemOpen=debounce_debounce(item=>{host["default"].openMRU(item,"list")}),this.onSort=(column,dir)=>{this.props.prefs.setSortItem(column.key),this.props.prefs.setSortDirection(0<dir?"desc":"asc")},this.renderGridItem=item=>{const content=react_default.a.createElement("div",{key:item.uniqueId,onClick:()=>this.props.onItemClick(item),className:FileListGrid_styles.gridItem},react_default.a.createElement("div",{className:classnames_default()(FileListGrid_styles.gridItemThumb,FileListGrid_cardGridStyles.card)},react_default.a.createElement(pieces_ImageAspect,{src:item.thumb||FileLogic_getThumbnail(item,!1),fallbackSrc:FileLogic_getThumbnail(item,!0)})),react_default.a.createElement("div",{className:FileListGrid_styles.gridItemName},react_default.a.createElement(EllipsisText_EllipsisText,null,item.name)),react_default.a.createElement("div",{className:FileListGrid_styles.gridItemType},this.formatItemKeyText(item,"name"===this.props.prefs.sortItem?"kind":this.props.prefs.sortItem)));return item.tip?react_default.a.createElement(OverlayTrigger_default.a,{trigger:"hover",placement:"bottom",delayShow:2e3},content,react_default.a.createElement(Tooltip_default.a,null,standardizeFilenameTooltip(item.tip))):content},this.renderCell=(item,column)=>{let value=this.formatItemKeyText(item,column.key);return"name"===column.key?react_default.a.createElement(EllipsisText_EllipsisText,{tooltipText:standardizeFilenameTooltip(item.tip)},value):react_default.a.createElement("span",{style:{whiteSpace:"nowrap"}},value)}}render(){const prefs=this.props.prefs;let mode="list"===prefs.currentItemView?"list":"grid";return react_default.a.createElement(ListGrid_ListGrid,{mode:mode,titleId:this.props.titleId,onModeChange:mode=>prefs.setItemView(mode),onFilterChange:str=>prefs.setFilterString(str.trim().normalize()),disableListMode:this.props.disableListMode,disableGridMode:this.props.disableGridMode,columns:this.props.columns,items:this.props.items,renderCell:this.renderCell,renderGridItem:this.renderGridItem,onItemClick:this.props.onItemClick,onSort:this.onSort,sortDirection:"asc"===prefs.sortDirection?-1:1,sortBy:prefs.sortItem,secondarySortBy:"name",filterString:prefs.filterString})}formatItemKeyText(item,key){const now=window.__TEST_RELATIVE_NOW||new Date().getTime();let value=item[key];return"lastOpened"===key?isNaN(item.lastOpened)||!item.lastOpened||0>item.lastOpened||item.lastOpened>now?value=" ":value=react_default.a.createElement(index_es.c,{value:item.lastOpened}):"size"==key&&(value=jsUtil.a.createFileSizeString(item.size)),value}};FileListGrid_FileListGrid.contextTypes={store:prop_types_default.a.any},FileListGrid_FileListGrid=FileListGrid_decorate([index_module.a],FileListGrid_FileListGrid);var components_FileListGrid=Object(index_es.f)(FileListGrid_FileListGrid);let Recents_Recents=class extends react_default.a.Component{constructor(){super(...arguments),this.onItemClick=item=>{const prefs=this.store.recentFilesStore.prefs,data={assetID:"",size:item.size,extension:item.kind,filter:prefs.filterString,sortOrder:prefs.sortDirection},containerAnalytics=Recents_objectSpread({},getValue(["containerAnalytics","eventData"],this.props));analytics_ingest.a.logClickedEvent("recents",Recents_objectSpread({},data,containerAnalytics)),host["default"].openMRU(item,prefs.currentItemView)}}get store(){return this.context.store}get shouldDisableGridMode(){const appId=host["default"].data.hostID;return!("AEFT"!==appId&&"DRWV"!==appId&&"PPRO"!==appId)}render(){return react_default.a.createElement(components_FileListGrid,{prefs:this.store.recentFilesStore.prefs,items:this.store.recentFilesStore.items.slice(0,this.store.recentFilesStore.realOrArtificialLength),disableGridMode:this.shouldDisableGridMode,onItemClick:this.onItemClick,titleId:"listview_recent_tab_label",columns:[{key:"name",labelId:"listview_recentfiles_table_name_label"},{key:"lastOpened",labelId:"listview_recentfiles_table_opened_label"},{key:"size",labelId:"listview_recentfiles_table_size_label"},{key:"kind",labelId:"listview_recentfiles_table_kind_label"}]})}};Recents_Recents.contextTypes={store:prop_types_default.a.any},Recents_Recents=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([index_module.a],Recents_Recents);var components_Recents=Recents_Recents,empty_ccfiles=__webpack_require__(883);let EmptyCCFiles_EmptyCCFiles=class extends react.Component{constructor(){super(...arguments),this.handleLearnMore=debounce_debounce(()=>{const suffix="_"+i18n.a.getLocalizedGoURLSuffix(host["default"].data.language,"help"),learnURL="https://www.adobe.com/go/ccfiles_learn"+("_en"==suffix?"":suffix);analytics_ingest.a.logClickedEvent("ccfiles-empty-learn",{subcategory:this.context.panel&&this.context.panel.panel,action:learnURL}),platform["default"].openDefaultBrowserAuthenicated("ADOBEACCOUNT",learnURL)}),this.handleViewOnWeb=debounce_debounce(()=>{const suffix="_"+i18n.a.getLocalizedGoURLSuffix(host["default"].data.language,"help"),webURL="https://www.adobe.com/go/ccfiles_web"+("_en"==suffix?"":suffix);analytics_ingest.a.logClickedEvent("ccfiles-empty-webview",{subcategory:this.context.panel&&this.context.panel.panel,action:webURL}),platform["default"].openDefaultBrowserAuthenicated("ADOBEACCOUNT",webURL)})}render(){return react.createElement("div",{className:"ccfiles-empty","data-qe-id":"empty-ccfiles"},react.createElement("span",{className:"ccfiles-empty__heading spc-typography--display-2"},react.createElement(index_es.b,{id:"start_ccfiles"})),react.createElement("div",{className:"grid grid--row"},react.createElement("div",{className:"ccfiles-empty__card"},react.createElement("svg",{className:"ccfiles-empty__logo",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 80 80",xmlSpace:"preserve"},react.createElement("g",null,react.createElement("path",{className:"st0",d:"M48.4,1.7c15,0,27.2,12.3,27.2,27.3S63.4,56.3,48.4,56.3c-4.6,0-20,0-24.2,0C11.6,56.3,1.4,46,1.4,33.4s10.2-22.9,22.8-22.9c1.3,0,2.6,0.1,3.9,0.3C33,5.2,40.3,1.7,48.4,1.7 M48.4,0.5c-4.1,0-8.1,0.9-11.8,2.6c-3.4,1.6-6.4,3.7-8.9,6.5c-1.1-0.2-2.3-0.2-3.4-0.2c-3.2,0-6.4,0.6-9.3,1.9c-2.9,1.2-5.4,2.9-7.6,5.1C5,18.5,3.3,21.1,2.1,24c-1.3,3-1.9,6.1-1.9,9.3c0,3.2,0.6,6.4,1.9,9.3c1.2,2.9,2.9,5.4,5.1,7.6c2.2,2.2,4.8,4,7.6,5.3c3,1.3,6.1,2,9.3,2h24.2c3.8,0,7.5-0.9,11-2.3c3.4-1.4,6.4-3.5,9-6.1c2.6-2.6,4.7-5.7,6.1-9.1c1.5-3.5,2.2-7.2,2.2-11.1s-0.8-7.6-2.2-11.1c-1.4-3.4-3.5-6.4-6.1-9c-2.6-2.6-5.6-4.7-9-6.1C55.9,1.2,52.2,0.5,48.4,0.5L48.4,0.5z"}),react.createElement("path",{className:"st0",d:"M21,34c-0.8-0.8-0.8-2.1,0-2.9c0.8-0.8,2.1-0.8,2.9,0l11,11.1c3.4,3.4,8.2,5.8,13.4,5.8c10.4,0,18.8-8.7,18.8-19.1S58.8,10,48.4,10c-4.4,0-8.5,1.5-11.7,4.1c-1.2-0.8-2.6-1.5-4-2.1c4.1-3.8,9.6-6.2,15.7-6.2c12.7,0,23,10.3,23,23s-10.3,23.3-23,23.3c-6.4,0-12.1-2.8-16.3-7L21,34z"}),react.createElement("path",{className:"st0",d:"M33.7,22.4c-2.5-2.2-5.9-3.5-9.5-3.5c-8,0-14.5,6.5-14.5,14.4c0,8,8.3,14.6,14.5,14.6h4.6c1.5,1.6,3.2,3.1,5.1,4.3h-9.7c-10.3,0-18.6-8.4-18.6-18.7s8.3-18.7,18.6-18.7c4.8,0,9.2,1.8,12.5,4.8l8.4,8.6c0.8,0.8,0.8,2.1,0,2.9s-2.1,0.8-2.9,0L33.7,22.4z"}))),react.createElement("span",{className:"ccfiles-empty__title spc-typography--display-1"},react.createElement(index_es.b,{id:"empty_ccfiles_title"})),react.createElement("span",{className:"ccfiles-empty__subtitle"},react.createElement(index_es.b,{id:"empty_ccfiles_subtitle"})),react.createElement("div",{className:"ccfiles-empty__buttons"},react.createElement(Button_default.a,{variant:"primary",quiet:!0,onClick:this.handleLearnMore,"data-qe-id":"empty-ccfiles--learn-more"},react.createElement(index_es.b,{id:"empty_ccfiles_learn"})),react.createElement(Button_default.a,{variant:"primary",onClick:this.handleViewOnWeb,"data-qe-id":"empty-ccfiles--view-web"},react.createElement(index_es.b,{id:"empty_ccfiles_view"}))))))}};EmptyCCFiles_EmptyCCFiles.contextTypes={panel:prop_types_default.a.any},EmptyCCFiles_EmptyCCFiles=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([index_module.a],EmptyCCFiles_EmptyCCFiles);var CCFiles_EmptyCCFiles=EmptyCCFiles_EmptyCCFiles;let OfflineCCFiles_OfflineCCFiles=class extends react.Component{constructor(){super(...arguments),this.retry=debounce_debounce(()=>{host["default"].ccfiles.sync()})}render(){return react.createElement("div",{className:"ccfiles-empty","data-qe-id":"offline-ccfiles"},react.createElement("span",{className:"ccfiles-empty__heading spc-typography--display-2"},react.createElement(index_es.b,{id:"start_ccfiles"})),react.createElement("div",{className:"grid grid--row"},react.createElement("div",{className:"ccfiles-empty__card"},react.createElement("svg",{className:"ccfiles-empty__logo",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 80 80",xmlSpace:"preserve"},react.createElement("g",null,react.createElement("path",{className:"st0",d:"M48.4,1.7c15,0,27.2,12.3,27.2,27.3S63.4,56.3,48.4,56.3c-4.6,0-20,0-24.2,0C11.6,56.3,1.4,46,1.4,33.4s10.2-22.9,22.8-22.9c1.3,0,2.6,0.1,3.9,0.3C33,5.2,40.3,1.7,48.4,1.7 M48.4,0.5c-4.1,0-8.1,0.9-11.8,2.6c-3.4,1.6-6.4,3.7-8.9,6.5c-1.1-0.2-2.3-0.2-3.4-0.2c-3.2,0-6.4,0.6-9.3,1.9c-2.9,1.2-5.4,2.9-7.6,5.1C5,18.5,3.3,21.1,2.1,24c-1.3,3-1.9,6.1-1.9,9.3c0,3.2,0.6,6.4,1.9,9.3c1.2,2.9,2.9,5.4,5.1,7.6c2.2,2.2,4.8,4,7.6,5.3c3,1.3,6.1,2,9.3,2h24.2c3.8,0,7.5-0.9,11-2.3c3.4-1.4,6.4-3.5,9-6.1c2.6-2.6,4.7-5.7,6.1-9.1c1.5-3.5,2.2-7.2,2.2-11.1s-0.8-7.6-2.2-11.1c-1.4-3.4-3.5-6.4-6.1-9c-2.6-2.6-5.6-4.7-9-6.1C55.9,1.2,52.2,0.5,48.4,0.5L48.4,0.5z"}),react.createElement("path",{className:"st0",d:"M21,34c-0.8-0.8-0.8-2.1,0-2.9c0.8-0.8,2.1-0.8,2.9,0l11,11.1c3.4,3.4,8.2,5.8,13.4,5.8c10.4,0,18.8-8.7,18.8-19.1S58.8,10,48.4,10c-4.4,0-8.5,1.5-11.7,4.1c-1.2-0.8-2.6-1.5-4-2.1c4.1-3.8,9.6-6.2,15.7-6.2c12.7,0,23,10.3,23,23s-10.3,23.3-23,23.3c-6.4,0-12.1-2.8-16.3-7L21,34z"}),react.createElement("path",{className:"st0",d:"M33.7,22.4c-2.5-2.2-5.9-3.5-9.5-3.5c-8,0-14.5,6.5-14.5,14.4c0,8,8.3,14.6,14.5,14.6h4.6c1.5,1.6,3.2,3.1,5.1,4.3h-9.7c-10.3,0-18.6-8.4-18.6-18.7s8.3-18.7,18.6-18.7c4.8,0,9.2,1.8,12.5,4.8l8.4,8.6c0.8,0.8,0.8,2.1,0,2.9s-2.1,0.8-2.9,0L33.7,22.4z"}))),react.createElement("span",{className:"ccfiles-empty__title spc-typography--display-1"},react.createElement(index_es.b,{id:"offline_ccfiles_title"})),react.createElement("span",{className:"ccfiles-empty__subtitle"},react.createElement(index_es.b,{id:"offline_ccfiles_subtitle"})),react.createElement("div",{className:"ccfiles-empty__buttons"},react.createElement(Button_default.a,{onClick:this.retry,"data-qe-id":"offline-retry"},react.createElement(index_es.b,{id:"offline_ccfiles_refresh"}))))))}};OfflineCCFiles_OfflineCCFiles=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([index_module.a],OfflineCCFiles_OfflineCCFiles);var CCFiles_OfflineCCFiles=OfflineCCFiles_OfflineCCFiles;let CCFiles_CCFiles=class extends react_default.a.Component{constructor(){super(...arguments),this.onItemClick=item=>{const prefs=this.store.recentFilesStore.prefs;analytics_ingest.a.logClickedEvent("work-item",{subcategory:"ccfiels",size:item.size,extension:item.kind,viewType:prefs.currentItemView,filter:prefs.filterString,sortOrder:prefs.sortDirection}),host["default"].openCCFilesDocument(item,prefs.currentItemView)}}get store(){return this.context.store}render(){const isReady=this.store.ccFilesReady&&host["default"].ccfiles&&!host["default"].ccfiles.syncing;return isReady?host["default"].ccfiles.online?0===this.store.ccFilesStore.items.length?react_default.a.createElement(CCFiles_EmptyCCFiles,null):react_default.a.createElement(components_FileListGrid,{prefs:this.store.ccFilesStore.prefs,items:this.store.ccFilesStore.items,titleId:"listview_ccfiles_tab_label",columns:[{key:"name",labelId:"listview_recentfiles_table_name_label"},{key:"lastOpened",labelId:"listview_ccfiles_table_modified_label"},{key:"size",labelId:"listview_recentfiles_table_size_label"},{key:"kind",labelId:"listview_recentfiles_table_kind_label"}],onItemClick:this.onItemClick}):react_default.a.createElement(CCFiles_OfflineCCFiles,null):react_default.a.createElement(react_default.a.Fragment,null,react_default.a.createElement("div",{className:"ccfiles-sync__heading spc-typography--title"},react_default.a.createElement(index_es.b,{id:"ccfiles_syncing_message"})),react_default.a.createElement(Wait_default.a,{centered:!0,size:"L"}))}};CCFiles_CCFiles.contextTypes={store:prop_types_default.a.any},CCFiles_CCFiles=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([index_module.a],CCFiles_CCFiles);var CCPhotos_decorate=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r};let CCPhotos_CCPhotos=class extends react_default.a.Component{constructor(){super(...arguments),this.hasStartedToLoad=!1}async ensureLoaded(){this.PanelCCPhotos||this.hasStartedToLoad||"PHXS"!==host["default"].data.hostID||(this.hasStartedToLoad=!0,perf.a.set(perf.a.TIMERS.PHOTOS),this.PanelCCPhotos=(await Promise.all([__webpack_require__.e(2),__webpack_require__.e(241)]).then(__webpack_require__.bind(null,1292))).default,perf.a.measure(perf.a.TIMERS.PHOTOS))}componentDidMount(){Object(mobx_module.v)(()=>MainStore.a.user.UserProfile.userId+MainStore.a.proxyUser+MainStore.a.proxyPassword,()=>{var oldPanel=this.PanelCCPhotos;this.PanelCCPhotos=void 0,setTimeout(()=>{this.PanelCCPhotos=oldPanel},0)},{fireImmediately:!0})}render(){const isOnPage="ccphotos"===MainStore.a.prefs.currentRoute;return isOnPage||this.hasStartedToLoad?(this.ensureLoaded(),this.PanelCCPhotos?react_default.a.createElement(this.PanelCCPhotos,{hidden:!isOnPage}):null):null}};CCPhotos_decorate([mobx_module.t,function(k,v){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(k,v)}("design:type",Object)],CCPhotos_CCPhotos.prototype,"PanelCCPhotos",void 0),CCPhotos_CCPhotos=CCPhotos_decorate([index_module.a],CCPhotos_CCPhotos);var components_CCPhotos=CCPhotos_CCPhotos;let UserProfile_UserProfile=class extends react.Component{constructor(){super(...arguments),this.openAccountInfo=debounce_debounce(()=>{let url=constants.a.SERVICE_URL.ACCOUNT;const locale=i18n.a.getLocalizedGoURLSuffix(host["default"].data.language,"account");"en"!==locale&&(url+=locale+"/"),analytics_ingest.a.logClickedEvent("acct-profile"),platform["default"].openDefaultBrowserAuthenicated("ADOBEACCOUNT",url)})}get store(){return this.context.store}render(){return this.store.user.isUserAvailable&&react.createElement("div",{className:"user-profile",onClick:this.openAccountInfo,"data-qe-id":"user-profile",tabIndex:0},!this.store.isLoading&&this.store.avatar&&react.createElement("img",{src:this.store.avatar}))}};UserProfile_UserProfile.contextTypes={store:prop_types_default.a.any},UserProfile_UserProfile=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([index_module.a],UserProfile_UserProfile);var header_UserProfile=UserProfile_UserProfile;const BackButton_styles=__webpack_require__(870),BackButton_ProductRune=Object(MainStore.b)((store,{children})=>react.createElement("img",{className:BackButton_styles.productRune,src:`./images/products/product-rune-${store.hostData.hostID}.svg`,alt:"","data-qe-id":"product-rune__"+store.hostData.hostID})),BackButton_BackImage=react.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:BackButton_styles.image,height:"10",id:"back-to-file",viewBox:"0 0 6 10",width:"6","data-qe-id":"back-to-file-chevron"},react.createElement("rect",{fill:"#ff13dc",opacity:"0",width:"6",height:"10"}),react.createElement("path",{d:"M0,4.99978a.99733.99733,0,0,0,.29272.70583L4.28414,9.69544a.99781.99781,0,1,0,1.43571-1.3861L2.40929,5l3.286-3.28482a.98982.98982,0,0,0,.30449-.7154A.99781.99781,0,0,0,4.30865.28L.29272,4.29439A.991.991,0,0,0,0,4.99978Z","data-name":"S MillerColumnsChevronPrevious",id:"S_MillerColumnsChevronPrevious"}));let BackButton_BackButton=class extends react.Component{goBackToFile(){log.a.toConsole("Back button clicked"),host["default"].goBackToFile()}render(){return react.createElement("div",{"data-qe-id":"back-to-file",className:[BackButton_styles.root,(host["default"].data.hasOpenDocuments||"PHXS"===host["default"].data.hostID)&&BackButton_styles.clickable].join(" "),onClick:this.goBackToFile},host["default"].data.hasOpenDocuments&&BackButton_BackImage,react.createElement(BackButton_ProductRune,null))}};BackButton_BackButton=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([index_module.a],BackButton_BackButton);var header_BackButton=Object(index_es.f)(BackButton_BackButton),UserStore=__webpack_require__(782),LicenseChiclet_decorate=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r};const LicenseChiclet_styles=__webpack_require__(866),LicenseChiclet_sharedStyles=__webpack_require__(381);let LicenseChiclet_LicenseChiclet=class extends react.Component{constructor(){super(...arguments),this.temporarilyHidden=!1}handleChicletClick(responseId){cepBridge["default"].launchNGLBanner(responseId),analytics_ingest.a.logClickedEvent(this.eventId,{trialDaysRemaining:this.trialDays,subtype:this.subtype});const reactionDisposer=Object(mobx_module.v)(()=>this.chicletData,(_,reaction)=>{this.temporarilyHidden=!1,reaction.dispose()});this.temporarilyHidden=!0,setTimeout(()=>{reactionDisposer(),this.temporarilyHidden=!1},3600000)}trialColor(remaining){let color="";return color=isNaN(remaining)||0>=remaining?constants.a.TRIAL_CARD.ERROR_COLOR:remaining<=constants.a.TRIAL_CARD.ERROR_BEGIN?constants.a.TRIAL_CARD.ERROR_COLOR:remaining<=constants.a.TRIAL_CARD.WARNING_BEGIN?constants.a.TRIAL_CARD.WARNING_COLOR:constants.a.TRIAL_CARD.DEFAULT_FILL_COLOR,color}setTimer(msLeft){this.timerId&&clearTimeout(this.timerId),this.timerId=setTimeout(()=>{this.forceUpdate()},msLeft)}get chicletData(){if(!MainStore.a.user.isUserAvailable)return null;const relationshipProfile=MainStore.a.user.RelationshipProfile.find(profile=>profile.usedForLegacyProfile);if(!relationshipProfile)return null;if(relationshipProfile.appEntitlementStatus&&"EXPIRED"===relationshipProfile.appEntitlementStatus){if(MainStore.a.user.LegacyProfile.licenseType===UserStore.a.TRIAL)return this.eventId="license",this.subtype="trial-expired",this.trialDays=0,{backgroundColor:constants.a.TRIAL_CARD.ERROR_COLOR,message:"license_trial_expired",action:"license_buy_now",response:"trial_expired_workflow"};if(MainStore.a.user.LegacyProfile.licenseType===UserStore.a.SUBSCRIPTION)return this.eventId="license-resolve",this.subtype="subscription-expired",{backgroundColor:constants.a.TRIAL_CARD.DEFAULT_FILL_COLOR,message:"license_subscription_ended",action:"license_renew_now",response:"subscription_expired_workflow"}}if(relationshipProfile.billingStatus&&"NORMAL"!==relationshipProfile.billingStatus){this.eventId="license-resolve",this.subtype="billing-error";let response="";switch(relationshipProfile.billingStatus){case"BILL_FAILURE":response="bill_failure_workflow",this.subtype="billing-failure";break;case"AUTH_FAILURE":response="bill_auth_failure_workflow",this.subtype="billing-auth-failure";break;case"CC_EXPIRED":response="bill_cc_expired_workflow",this.subtype="billing-cc-expired";break;case"PAYMENT_INSTRUMENT_MISSING":response="bill_payment_instrument_missing_workflow",this.subtype="billing-no-pay-info";}return{backgroundColor:constants.a.TRIAL_CARD.ERROR_COLOR,message:"license_billing_error",action:"license_resolve_now",response:response}}if(relationshipProfile.appEntitlementStatus&&"TRIAL"===relationshipProfile.appEntitlementStatus){const DAY=86400000;let currentTime=_Mathmax(relationshipProfile.profileGenerationTimestamp,new Date().valueOf());currentTime===relationshipProfile.profileGenerationTimestamp&&log.a.toConsole("Using the server time on the license chiclet. The current time is wrong");let msLeft=relationshipProfile.licenseExpiryTimestamp?new Date(relationshipProfile.licenseExpiryTimestamp).valueOf()-currentTime:0,daysLeft=msLeft/DAY;return daysLeft=_Mathceil(_Mathmax(daysLeft,0)),this.eventId="license",this.subtype="trial-buy-now",this.trialDays=daysLeft,this.setTimer(msLeft-daysLeft*DAY+DAY),{backgroundColor:this.trialColor(86400*daysLeft),message:1>=daysLeft?"license_last_day":"license_trial",action:"license_buy_now",daysLeft:daysLeft,response:"trial_expiry_warning_workflow"}}return null}logRenderEvent(){this.chicletData&&!this.temporarilyHidden&&this.eventId&&analytics_ingest.a.logRenderedEvent(this.eventId,{trialDaysRemaining:this.trialDays,subtype:this.subtype})}componentDidMount(){this.logRenderEvent()}componentDidUpdate(){this.logRenderEvent()}render(){const data=this.chicletData;return MainStore.a.user.chicletHidden||this.temporarilyHidden||!data?(log.a.toConsole(`Chiclet: Showing no chiclet: Temporary(${this.temporarilyHidden}), Data${window.profile&&window.profile.getProfile()}`),react.createElement("div",null)):(log.a.logJSON("Chiclet: Showing chiclet using data: "+(window.profile&&window.profile.getProfile()),data),react.createElement("div",{className:LicenseChiclet_styles.root,"data-qe-id":"trial-status",style:{backgroundColor:"#"+data.backgroundColor}},react.createElement("span",null,react.createElement(index_es.b,{id:data.message,values:{product:this.props.intl.formatMessage({id:"product_title_"+host["default"].data.hostID}),daysLeft:data.daysLeft}})),data.action&&!MainStore.a.user.isEnterprise&&react.createElement("span",{className:LicenseChiclet_sharedStyles.flexCenterCenter},react.createElement("span",{className:LicenseChiclet_styles.separator},"|"),react.createElement("a",{id:"license-action","data-qe-id":"license-action",href:"#",tabIndex:0,className:LicenseChiclet_styles.action,onClick:()=>this.handleChicletClick(data.response)},react.createElement(index_es.b,{id:data.action})))))}};LicenseChiclet_decorate([mobx_module.t,function(k,v){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(k,v)}("design:type",Object)],LicenseChiclet_LicenseChiclet.prototype,"temporarilyHidden",void 0),LicenseChiclet_LicenseChiclet=LicenseChiclet_decorate([index_module.a],LicenseChiclet_LicenseChiclet);var header_LicenseChiclet=Object(index_es.f)(LicenseChiclet_LicenseChiclet),Header_decorate=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r};const Header_styles=__webpack_require__(868);let Header_Header=class extends react_default.a.Component{constructor(){super(...arguments),this.isHanging=!1,this.hangHeader=()=>this.isHanging=!0,this.flattenHeader=()=>this.isHanging=!1,this.openSearch=()=>{MainStore.a.isLoading||(analytics_ingest.a.logClickedEvent("search-icon",this.context.store.prefs.currentTab||"home"),this.context.dispatch.trigger(constants.a.events.OPEN_SEARCH))},this.onKeyDown=evt=>{switch(evt.keyCode){case a11y.keys.ENTER:evt.target.click();break;case a11y.keys.SPACE:evt.target.click();break;default:}}}componentDidMount(){this.context.dispatch.on(constants.a.events.SCROLLFROMTOP,this.hangHeader),this.context.dispatch.on(constants.a.events.SCROLLTOTOP,this.flattenHeader)}componentWillUnmount(){this.context.dispatch.off(constants.a.events.SCROLLFROMTOP,this.hangHeader),this.context.dispatch.off(constants.a.events.SCROLLTOTOP,this.flattenHeader)}render(){return react_default.a.createElement(react_default.a.Fragment,null,react_default.a.createElement("div",{className:Header_styles.spacer}),react_default.a.createElement("div",{className:classnames_default()(Header_styles.root,this.isHanging&&Header_styles.hanging),onKeyDown:this.onKeyDown},react_default.a.createElement("span",{className:Header_styles.left},react_default.a.createElement(header_BackButton,null)),this.props.children,react_default.a.createElement("span",{className:Header_styles.right},!MainStore.a.isLoading&&react_default.a.createElement(header_LicenseChiclet,null),host["default"].showSearch&&react_default.a.createElement("div",{className:[Header_styles.search,MainStore.a.isLoading?Header_styles.faded:""].join(" "),"data-qe-id":"search-icon",onClick:this.openSearch},react_default.a.createElement(Icon_Search_default.a,{tabIndex:0,onKeyDown:evt=>{evt.target=evt.target.parentElement,this.onKeyDown(evt)}})),react_default.a.createElement(header_UserProfile,null))))}};Header_Header.contextTypes={dispatch:prop_types_default.a.any,store:prop_types_default.a.any},Header_decorate([mobx_module.t,function(k,v){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(k,v)}("design:type",Object)],Header_Header.prototype,"isHanging",void 0),Header_Header=Header_decorate([index_module.a],Header_Header);var header_Header=Header_Header;let Custom_Custom=class extends react_default.a.Component{constructor(){super(...arguments),this.prefs=new FileListGrid_TransientPrefs,this.onItemClick=item=>{analytics_ingest.a.logClickedEvent("custom-item",item),host["default"].openCustomItem(item)}}get store(){return this.context.store}get route(){return this.store.prefs.currentRoute}get items(){const panelData=host["default"].data.tabs[this.route];return panelData.list.map((item,idx)=>{item.position=idx,item.action=panelData.type;const o={name:item.name,identifier:item.identifier,position:item.position,action:item.action,thumb:item.thumb,icon:item.icon,kind:item.kind,lastOpened:item.lastOpened&&new Date(item.lastOpened),size:item.size&&jsUtil.a.createFileSizeString(item.size),availableLocally:!0};return item.rendered||(analytics_ingest.a.logRenderedEvent("custom-item",item),item.rendered=!0),o.availableLocally=!0,o})}get columns(){const item=this.items[0],headers=[{key:"name",labelId:"listview_recentfiles_table_name_label"}];return item&&item.lastOpened&&headers.push({key:"lastOpened",labelId:"listview_recentfiles_table_opened_label"}),item&&item.size&&headers.push({key:"size",labelId:"listview_recentfiles_table_size_label"}),item&&item.kind&&headers.push({key:"kind",labelId:"listview_recentfiles_table_kind_label"}),headers}render(){const panelData=host["default"].data.tabs[this.route];return panelData?react_default.a.createElement(components_FileListGrid,{prefs:this.prefs,items:this.items,disableGridMode:!panelData.thumbnailViewEnabled,disableListMode:!panelData.listViewEnabled,onItemClick:this.onItemClick,titleId:panelData.label,columns:this.columns}):null}};Custom_Custom.contextTypes={store:prop_types_default.a.any},Custom_Custom=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([index_module.a],Custom_Custom);var components_Custom=Custom_Custom;const LoadingState_styles=__webpack_require__(864);class LoadingState_LoadingState extends react_default.a.Component{render(){const{loading}=this.props;return react_default.a.createElement("div",{className:LoadingState_styles.root},react_default.a.createElement(header_Header,null),react_default.a.createElement(components_VLayout,{unpadded:!0},react_default.a.createElement(components_HLayout,{unpadded:!0},react_default.a.createElement("div",{className:LoadingState_styles.sidebar},react_default.a.createElement("div",{className:LoadingState_styles.grouped},react_default.a.createElement("div",{className:LoadingState_styles.longRectangle}),react_default.a.createElement("div",{className:LoadingState_styles.longRectangle}),react_default.a.createElement("div",{className:LoadingState_styles.longRectangle}),react_default.a.createElement("div",{className:LoadingState_styles.mediumRectangle}),react_default.a.createElement("div",{className:LoadingState_styles.shortRectangle}))),react_default.a.createElement(components_ScrollView,{disableScroll:!0},react_default.a.createElement("div",{className:LoadingState_styles.content},loading?react_default.a.createElement(react_default.a.Fragment,null,react_default.a.createElement("div",{className:LoadingState_styles.text},react_default.a.createElement(index_es.b,{id:"common_loading"})),react_default.a.createElement("div",null,react_default.a.createElement(Wait_default.a,{size:"L"}))):null)))))}}const Placeholder_styles=__webpack_require__(862),Placeholder_sharedStyles=__webpack_require__(381);class Placeholder_Placeholder extends react_default.a.Component{render(){return react_default.a.createElement("div",{className:classnames_default()(Placeholder_styles.root,Placeholder_sharedStyles.root,!!this.props.grow&&Placeholder_sharedStyles.grow)},react_default.a.createElement("span",{className:Placeholder_styles.name},"Placeholder for ",this.props.name))}static named(name){return props=>react_default.a.createElement(Placeholder_Placeholder,Placeholder_extends({name:name},props))}}let FallbackComponent_FallbackComponent=class extends react_default.a.Component{componentDidCatch(error,info){MainStore.a.setShouldUseDefaultLayoutInFallbackMode(!0,"FallbackComponent Error:"+error,{workflow:MainStore.a.prefs.currentRoute,error:{desc:error+info.componentStack,type:"content-component"},type:StartIngestUtil.a.KEYS.EVENT_TYPE_ERROR}),console.error("Failed to render layout! Falling back..."),console.error(error,info),log.a.toConsole("Failed to render layout! Falling back.."+error+(info&&info.componentStack))}render(){return this.props.children||null}};FallbackComponent_FallbackComponent=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([index_module.a],FallbackComponent_FallbackComponent);var LayoutManager_FallbackComponent=FallbackComponent_FallbackComponent,Content_Content_1;const Content_ContentContext=react_default.a.createContext({});let Content_Content=Content_Content_1=class extends react_default.a.Component{constructor(){super(...arguments),this.logEvent=(componentName,eventData,type)=>"render"===type?analytics_ingest.a.logRenderedEvent(componentName,Content_objectSpread({},eventData,{fieldData:this.fieldData})):analytics_ingest.a.logClickedEvent(componentName,Content_objectSpread({},eventData,{fieldData:this.fieldData})),this.internationalizeText=(id,values)=>this.context.intl.formatMessage({id},Content_objectSpread({},ReplaceAppDataTemplates_getAppData(),values))}get componentId(){const{ctx,id,defaultComponent}=this.props;return ctx.fields[id].sys.contentType.sys.id||defaultComponent}get fieldData(){return this.props.ctx.fields[this.props.id]}get contentData(){const fieldData=this.fieldData,{fields,sys}=fieldData;return{contentName:fields.headerText,contentId:sys.id}}componentDidMount(){const{component,eventData}=this.containerAnalytics;analytics_ingest.a.logRenderedEvent(component,Content_objectSpread({},eventData,{fieldData:this.fieldData}))}getContainerAnalyticsParams(component,route){if(MainStore.a.sophiaReady){const cardControl=MainStore.a.sophiaStore.cardControl||{};if("home"===route)return((cardControl[constants.a.SOPHIA_SURFACEID.HOME]||{}).containerAnalyticsParams||{})[0];const cardOrder=cardControl[constants.a.SOPHIA_SURFACEID.TUTORIALS]&&cardControl[constants.a.SOPHIA_SURFACEID.TUTORIALS].cardOrder||[],platforms=cardOrder.map(card=>{const cards=MainStore.a.sophiaStore.cards;try{let cardPlatform=cards[card].tutorials[0].metadata.platforms[0];if(-1<constants.a.LEARN_PLATFORMS.WEB.indexOf(cardPlatform))return constants.a.LEARN_PLATFORMS.WEB[0];if(-1<constants.a.LEARN_PLATFORMS.IN_APP.indexOf(cardPlatform))return constants.a.LEARN_PLATFORMS.IN_APP[0]}catch(err){return null}});return"learnFeedWeb"===component?((cardControl[constants.a.SOPHIA_SURFACEID.TUTORIALS]||{}).containerAnalyticsParams||[])[platforms.indexOf(constants.a.LEARN_PLATFORMS.WEB[0])]:"learnFeedInApp"===component?((cardControl[constants.a.SOPHIA_SURFACEID.TUTORIALS]||{}).containerAnalyticsParams||[])[platforms.indexOf(constants.a.LEARN_PLATFORMS.IN_APP[0])]:((cardControl[constants.a.SOPHIA_SURFACEID.LEARN]||{}).containerAnalyticsParams||[])[0]}}get containerAnalytics(){return{component:this.componentId,eventData:{workflow:this.props.ctx.fallbackLayout?"Home-Default":MainStore.a.prefs.currentRoute,value:"shortUiMessages"===this.componentId?this.props.ctx.fields.welcomeMessage.fields.message:null,stage:this.props.ctx.stageName,layout:this.props.ctx.layoutId,containerAnalyticsParams:this.props.ctx.fallbackLayout?null:this.getContainerAnalyticsParams(this.componentId,MainStore.a.prefs.currentRoute),numRecents:this.props.ctx.numRecents,totalWebTutorials:MainStore.a.sophiaStore.tutorials.webTutorials.length||null,totalInAppTutorials:MainStore.a.sophiaStore.tutorials.inAppTutorials.length||null}}}render(){!!MainStore.a.layoutDebugOverride;return react_default.a.createElement(Content_ContentContext.Consumer,null,ctx=>{if(!ctx||!ctx.sys||!ctx.fields)return null;let componentId=this.componentId,componentProps=[];const fieldData=this.fieldData;if(this.props.translate&&this.props.translate.forEach(t=>{const v=getValue(t,fieldData.fields);v&&setValue(t,this.internationalizeText(v,this.props.values),fieldData.fields)}),!fieldData)throw new Error(`Missing field data for component ${this.props.id} in layout ${ctx.layoutId} from provided fields ${Object.keys(ctx.fields).join(":")}`);if(componentId=fieldData.sys.contentType.sys.id,componentProps=Content_objectSpread({},fieldData.fields,{sys:fieldData.sys,logEvent:this.logEvent}),!Content_Content_1.isCurrentAppInFilterList(fieldData.apps))return null;const ContentComponent=Content_Content_1.MAP[componentId];if(!ContentComponent)throw log.a.toConsole(`No component exists for ${componentId}.`,{error:!0}),new Error(`No component exists for ${componentId} in layout ${ctx.layoutId} from provided fields ${Object.keys(ctx.fields).join(":")}`);return react_default.a.createElement(LayoutManager_FallbackComponent,null,react_default.a.createElement(ContentComponent,Content_extends({containerAnalytics:this.containerAnalytics},componentProps,this.props)))})}static isCurrentAppInFilterList(apps){if(!apps)return!0;if(!window.cep)return!0;return 0<=apps.indexOf({AEFT:"aftereffects_cc",DRWV:"dreamweaver_cc",IDSN:"indesign_cc",ILST:"illustrator_cc",MUSE:"muse_cc",PHXS:"photoshop_cc",PPRO:"premierepro_cc",LIRM:"lightroom_cc"}[MainStore.a.hostData.hostID])}};Content_Content.contextTypes={intl:prop_types_default.a.any},Content_Content.MAP={shortUiMessages:WelcomeMessage_WelcomeMessage,bannerBasic:components_Banner,bannerMultiLink:MultiLinksBanner_MultiLinksBanner,bannerEmpty:EmptyBanner_EmptyBanner,dragDrop:components_DragAndDrop,presetsAi:components_Presets,learnFeedInApp:Tutorials_InAppTutorials,learnFeedWeb:Tutorials_WebTutorials,recents:components_Recents,videoLightbox:components_Video,textLink:Placeholder_Placeholder.named("textLink"),imageLink:Placeholder_Placeholder.named("imageLink")},Content_Content=Content_Content_1=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([index_module.a],Content_Content);var LayoutManager_Content=props=>react_default.a.createElement(Content_ContentContext.Consumer,null,ctx=>react_default.a.createElement(Content_Content,Content_extends({},props,{ctx:ctx})));const PRESETS=[{fields:{name:"ILST_default_preset_name_a4",description:"ILST_default_preset_description_a4",image:{fields:{file:{fileName:"ai_a4_icon_over.svg"}}},ctaAction:"appEvent",ctaEvent:"FirstMileEvent.PresetClicked",ctaData:{appSpecificKey:{artboardLayout:0,artboardRowsOrCols:1,artboardSpacing:20,bleedOffset:[0,0,0,0],customFile:"",documentType:1,gridColor1:[65535,65535,65535],gridColor2:[52428,52428,52428],height:792,isATPG:"false",isArtboardLayoutLeftToRight:"true",lockBleed:!0,mode:"CMYK",numArtboards:1,pixelAspectRatio:1,ppi:72,previewMode:128,rasterEffectSettings:300,transparencyGrid:!1,width:612},artboardSpacing:20,description:"595.28 x 841.89 pt",height:841.8897637795,id:"",isPreset:"true",mime_type:"image/illustrator",mode:"CMYK",numArtboards:1,previews:[],price_prompt:"",resolution:300,size:0,template_category:"print",thumbnail_url:"SP_PrintDoc.png",tip:"ILST_default_preset_tip_a4",title:"A4",units:"millimetersUnit",width:595.2755905512,uuid:"8d7e8cc57cf74d1e8927ee03a024eed7",displayPosition:1,activeFilter:"print",loggedIngestRendered:!0,maxArtboards:null,previewMode:128,rasterEffectSettings:300,name:""}},sys:{}},{fields:{name:"ILST_default_preset_name_postcard",description:"ILST_default_preset_description_postcard",image:{fields:{file:{fileName:"ai_poster_icon_over.svg"}}},ctaAction:"appEvent",ctaEvent:"FirstMileEvent.PresetClicked",ctaData:{appSpecificKey:{artboardLayout:0,artboardRowsOrCols:1,artboardSpacing:20,bleedOffset:[0,0,0,0],customFile:"",documentType:5,gridColor1:[65535,65535,65535],gridColor2:[52428,52428,52428],height:560,isATPG:"false",isArtboardLayoutLeftToRight:"true",lockBleed:!0,mode:"RGB",numArtboards:1,pixelAspectRatio:1,ppi:72,previewMode:128,rasterEffectSettings:72,transparencyGrid:!1,width:960},artboardSpacing:20,description:"288 x 560 pt",height:288,id:"",isPreset:"true",mime_type:"image/illustrator",mode:"RGB",numArtboards:1,previews:[],price_prompt:"",resolution:72,size:0,template_category:"art",thumbnail_url:"SP_PresetArt.png",tip:"ILST_default_preset_tip_postcard",title:"Postcard",units:"millimetersUnit",width:560.0012598425,uuid:"6c8c406febe948a4875f4b895cfb7fed",displayPosition:0,activeFilter:"art",loggedIngestRendered:!0,maxArtboards:null,previewMode:128,rasterEffectSettings:72,name:""}},sys:{}},{fields:{name:"ILST_default_preset_name_weblarge",description:"ILST_default_preset_description_weblarge",image:{fields:{file:{fileName:"ai_webpage_icon_over.svg"}}},ctaAction:"appEvent",ctaEvent:"FirstMileEvent.PresetClicked",ctaData:{appSpecificKey:{artboardLayout:0,artboardRowsOrCols:1,artboardSpacing:20,bleedOffset:[0,0,0,0],customFile:"",documentType:2,gridColor1:[65535,65535,65535],gridColor2:[52428,52428,52428],height:560,isATPG:"false",isArtboardLayoutLeftToRight:"true",lockBleed:!0,mode:"RGB",numArtboards:1,pixelAspectRatio:1,ppi:72,previewMode:128,rasterEffectSettings:72,transparencyGrid:!1,width:960},artboardSpacing:20,description:"1920 x 1080 px",height:1080,id:"",isPreset:"true",mime_type:"image/illustrator",mode:"RGB",numArtboards:1,previews:[],price_prompt:"",resolution:72,size:0,template_category:"web",thumbnail_url:"SP_PresetWebDoc.png",tip:"ILST_default_preset_tip_weblarge",title:"Web-Large",units:"pixelsUnit",width:1920,uuid:"9367020fe7af4475bc0d07884c9f8584",displayPosition:1,activeFilter:"web",loggedIngestRendered:!0,maxArtboards:null,previewMode:128,rasterEffectSettings:72,name:""}},sys:{}},{fields:{name:"ILST_default_preset_name_iphone",description:"ILST_default_preset_description_iphone",image:{fields:{file:{fileName:"ai_iphone_icon_over.svg"}}},ctaAction:"appEvent",ctaEvent:"FirstMileEvent.PresetClicked",ctaData:{appSpecificKey:{artboardLayout:0,artboardRowsOrCols:1,artboardSpacing:20,bleedOffset:[0,0,0,0],customFile:"",documentType:6,gridColor1:[65535,65535,65535],gridColor2:[52428,52428,52428],height:2048,isATPG:"false",isArtboardLayoutLeftToRight:"true",lockBleed:!0,mode:"RGB",numArtboards:1,pixelAspectRatio:1,ppi:72,previewMode:128,rasterEffectSettings:72,transparencyGrid:!1,width:1536},artboardSpacing:20,description:"1125 x 2436 px",height:2436,id:"",isPreset:"true",mime_type:"image/illustrator",mode:"RGB",numArtboards:1,previews:[],price_prompt:"",resolution:72,size:0,template_category:"mobile",thumbnail_url:"SP_PresetMobilePhoneDoc.png",tip:"ILST_default_preset_tip_iphone",title:"iPhone X",units:"pixelsUnit",width:1125,uuid:"7ada8568610c4fcd9d742fbd03699db8",displayPosition:0,activeFilter:"mobile",loggedIngestRendered:!0,maxArtboards:null,previewMode:128,rasterEffectSettings:72,name:""}},sys:{}},{fields:{name:"ILST_default_preset_name_hdtv",description:"ILST_default_preset_description_hdtv",image:{fields:{file:{fileName:"ai_hdtv_icon_over.svg"}}},ctaAction:"appEvent",ctaEvent:"FirstMileEvent.PresetClicked",ctaData:{appSpecificKey:{artboardLayout:0,artboardRowsOrCols:1,artboardSpacing:20,bleedOffset:[0,0,0,0],customFile:"",documentType:3,gridColor1:[39321,39321,39321],gridColor2:[26214,26214,26214],height:480,isATPG:"false",isArtboardLayoutLeftToRight:"true",lockBleed:!0,mode:"RGB",numArtboards:1,pixelAspectRatio:1.2121,ppi:72,previewMode:128,rasterEffectSettings:72,transparencyGrid:!0,width:873},artboardSpacing:20,description:"1920 x 1080 px",height:1080,id:"",isPreset:"true",mime_type:"image/illustrator",mode:"RGB",numArtboards:1,previews:[],price_prompt:"",resolution:72,size:0,template_category:"film",thumbnail_url:"SP_PresetFilmVideo.png",tip:"ILST_default_preset_tip_hdtv",title:"HDV/HDTV 1080",units:"pixelsUnit",width:1920,uuid:"d35e735b9f4140f7bed20a81c79d689f",displayPosition:1,activeFilter:"film",loggedIngestRendered:!0,maxArtboards:null,previewMode:128,rasterEffectSettings:72,name:""}},sys:{}},{fields:{name:"ILST_default_preset_name_custom",description:"ILST_default_preset_description_custom",image:{fields:{file:{fileName:"ai_other_icon_over.svg"}}},ctaAction:"appEvent",ctaEvent:"FirstMileEvent.PresetClicked",ctaData:{template_category:"CmdN"}},sys:{}}];var HardcodedDefaultData=(application,stage)=>{const DEFAULT_DATA={PHXS:{stage1:{sys:{contentType:{sys:{id:"welcomeDragandDrop"}}},fields:{welcomeMessage:{fields:{message:`PHXS_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},hero:{fields:{descriptionText:"PHXS_default_draganddrop_select",headerText:"PHXS_default_draganddrop_main"},sys:{contentType:{sys:{id:"dragDrop"}}}}}},stage2:{sys:{contentType:{sys:{id:"homeRecentsOnly"}}},fields:{welcomeMessage:{fields:{message:`PHXS_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},bottom:{sys:{contentType:{sys:{id:"recents"}}}}}},stage3:{sys:{contentType:{sys:{id:"homeRecentsOnly"}}},fields:{welcomeMessage:{fields:{message:`PHXS_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},bottom:{sys:{contentType:{sys:{id:"recents"}}}}}},stage4:{sys:{contentType:{sys:{id:"homeRecentsOnly"}}},fields:{welcomeMessage:{fields:{message:`PHXS_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},bottom:{sys:{contentType:{sys:{id:"recents"}}}}}}},PPRO:{stage1:{sys:{contentType:{sys:{id:"welcomeBanner"}}},fields:{welcomeMessage:{fields:{message:`PPRO_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},hero:{fields:{descriptionText:"PPRO_default_banner_descriptionText",headerText:"PPRO_default_banner_headerText",primaryCTA:{fields:{cta:"common_create"}}},sys:{contentType:{sys:{id:"bannerEmpty"}}}}}},stage2:{sys:{contentType:{sys:{id:"homeRecentsOnly"}}},fields:{welcomeMessage:{fields:{message:`PPRO_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},bottom:{sys:{contentType:{sys:{id:"recents"}}}}}},stage3:{sys:{contentType:{sys:{id:"homeRecentsOnly"}}},fields:{welcomeMessage:{fields:{message:`PPRO_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},bottom:{sys:{contentType:{sys:{id:"recents"}}}}}},stage4:{sys:{contentType:{sys:{id:"homeRecentsOnly"}}},fields:{welcomeMessage:{fields:{message:`PPRO_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},bottom:{sys:{contentType:{sys:{id:"recents"}}}}}}},AEFT:{stage1:{sys:{contentType:{sys:{id:"welcomeBanner"}}},fields:{welcomeMessage:{fields:{message:`AEFT_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},hero:{fields:{descriptionText:"AEFT_default_banner_descriptionText",headerText:"AEFT_default_banner_headerText",primaryCTA:{fields:{cta:"common_new_project"}}},sys:{contentType:{sys:{id:"bannerEmpty"}}}}}},stage2:{sys:{contentType:{sys:{id:"homeRecentsOnly"}}},fields:{welcomeMessage:{fields:{message:`AEFT_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},bottom:{sys:{contentType:{sys:{id:"recents"}}}}}},stage3:{sys:{contentType:{sys:{id:"homeRecentsOnly"}}},fields:{welcomeMessage:{fields:{message:`AEFT_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},bottom:{sys:{contentType:{sys:{id:"recents"}}}}}},stage4:{sys:{contentType:{sys:{id:"homeRecentsOnly"}}},fields:{welcomeMessage:{fields:{message:`AEFT_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},bottom:{sys:{contentType:{sys:{id:"recents"}}}}}}},DRWV:{stage1:{sys:{contentType:{sys:{id:"welcomeBanner"}}},fields:{welcomeMessage:{fields:{message:`DRWV_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},hero:{fields:{headerText:"DRWV_default_banner_headerText",primaryCTA:{fields:{cta:"common_create"}}},sys:{contentType:{sys:{id:"bannerEmpty"}}}}}},stage2:{sys:{contentType:{sys:{id:"homeRecentsOnly"}}},fields:{welcomeMessage:{fields:{message:`DRWV_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},bottom:{sys:{contentType:{sys:{id:"recents"}}}}}},stage3:{sys:{contentType:{sys:{id:"homeRecentsOnly"}}},fields:{welcomeMessage:{fields:{message:`DRWV_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},bottom:{sys:{contentType:{sys:{id:"recents"}}}}}},stage4:{sys:{contentType:{sys:{id:"homeRecentsOnly"}}},fields:{welcomeMessage:{fields:{message:`DRWV_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},bottom:{sys:{contentType:{sys:{id:"recents"}}}}}}},IDSN:{stage1:{sys:{contentType:{sys:{id:"welcomeBanner"}}},fields:{welcomeMessage:{fields:{message:`IDSN_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},hero:{fields:{headerText:"IDSN_default_banner_headerText",descriptionText:"IDSN_default_banner_descriptionText",primaryCTA:{fields:{cta:"common_create"}}},sys:{contentType:{sys:{id:"bannerEmpty"}}}}}},stage2:{sys:{contentType:{sys:{id:"homeRecentsOnly"}}},fields:{welcomeMessage:{fields:{message:`IDSN_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},bottom:{sys:{contentType:{sys:{id:"recents"}}}}}},stage3:{sys:{contentType:{sys:{id:"homeRecentsOnly"}}},fields:{welcomeMessage:{fields:{message:`IDSN_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},bottom:{sys:{contentType:{sys:{id:"recents"}}}}}},stage4:{sys:{contentType:{sys:{id:"homeRecentsOnly"}}},fields:{welcomeMessage:{fields:{message:`IDSN_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},bottom:{sys:{contentType:{sys:{id:"recents"}}}}}}},ILST:{stage1:{sys:{contentType:{sys:{id:"welcomeBannerPresets"}}},fields:{welcomeMessage:{fields:{message:`ILST_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},hero:{fields:{descriptionText:"ILST_default_banner_descriptionText",headerText:"ILST_default_banner_headerText"},sys:{contentType:{sys:{id:"bannerEmpty"}}}},bottom:{fields:{headerText:`ILST_default_preset_message_${stage}`,presets:PRESETS},sys:{contentType:{sys:{id:"presetsAi"}}}}}},stage2:{sys:{contentType:{sys:{id:"welcomePresetsRecents"}}},fields:{welcomeMessage:{fields:{message:`ILST_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},bottom:{sys:{contentType:{sys:{id:"recents"}}}},hero:{fields:{headerText:`ILST_default_preset_message_${stage}`,presets:PRESETS},sys:{contentType:{sys:{id:"presetsAi"}}}}}},stage3:{sys:{contentType:{sys:{id:"welcomePresetsRecents"}}},fields:{welcomeMessage:{fields:{message:`ILST_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},bottom:{sys:{contentType:{sys:{id:"recents"}}}},hero:{fields:{headerText:`ILST_default_preset_message_${stage}`,presets:PRESETS},sys:{contentType:{sys:{id:"presetsAi"}}}}}},stage4:{sys:{contentType:{sys:{id:"welcomePresetsRecents"}}},fields:{welcomeMessage:{fields:{message:`ILST_default_welcome_message_${stage}`},sys:{contentType:{sys:{id:"shortUiMessages"}}}},bottom:{sys:{contentType:{sys:{id:"recents"}}}},hero:{fields:{headerText:`ILST_default_preset_message_${stage}`,presets:PRESETS},sys:{contentType:{sys:{id:"presetsAi"}}}}}}}};return DEFAULT_DATA[application][stage]};class DefaultViewParser_DefaultViewParser{constructor(layoutDefinitions){this.layoutDefinitions=layoutDefinitions}getLayoutStage(numRecents){if(10<numRecents)return"stage4";return 10>=numRecents&&6<=numRecents?"stage3":5>=numRecents&&1<=numRecents?"stage2":"stage1"}render(){const numRecents=MainStore.a.recentFilesStore.realOrArtificialLength,stageName=this.getLayoutStage(numRecents),stageData=HardcodedDefaultData(host["default"].data.hostID,stageName),layoutId=stageData.sys.contentType.sys.id,Layout=this.layoutDefinitions[layoutId];return react_default.a.createElement(Content_ContentContext.Provider,{value:DefaultViewParser_objectSpread({},stageData,{layoutId,numRecents,stageName,fallbackLayout:!0})},react_default.a.createElement(Layout,null))}}var LayoutManager_DefaultLayouts={welcomeDragandDrop:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(LayoutManager_Content,{id:"welcomeMessage",defaultComponent:"shortUiMessages",translate:["message"]}),react_default.a.createElement(LayoutManager_Content,{cardHeight:"xl",grow:!0,id:"hero",defaultComponent:"dragDrop",translate:["headerText","descriptionText"]})),homeRecentsOnly:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(LayoutManager_Content,{id:"welcomeMessage",defaultComponent:"shortUiMessages",translate:["message"]}),react_default.a.createElement(LayoutManager_Content,{id:"bottom",defaultComponent:"recents"})),welcomeBanner:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(LayoutManager_Content,{id:"welcomeMessage",defaultComponent:"shortUiMessages",translate:["message"]}),react_default.a.createElement(LayoutManager_Content,{id:"hero",cardHeight:"xl",defaultComponent:"bannerEmpty",translate:["headerText","descriptionText","primaryCTA.fields.cta"]})),welcomeBannerDragandDrop:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(LayoutManager_Content,{id:"welcomeMessage",defaultComponent:"shortUiMessages",translate:["message"]}),react_default.a.createElement(LayoutManager_Content,{id:"hero",cardHeight:"tall",defaultComponent:"bannerEmpty",translate:["headerText","descriptionText","primaryCTA.fields.cta"]}),react_default.a.createElement(components_HLayout,{row:!0},react_default.a.createElement(LayoutManager_Content,{cardHeight:"short",grow:!0,id:"bottom",defaultComponent:"dragDrop",translate:["headerText","descriptionText"]}))),welcomeBannerPresets:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(LayoutManager_Content,{id:"welcomeMessage",defaultComponent:"shortUiMessages",translate:["message"]}),react_default.a.createElement(LayoutManager_Content,{id:"hero",defaultComponent:"bannerEmpty",cardHeight:"tall",translate:["headerText","descriptionText","primaryCTA.fields.cta"]}),react_default.a.createElement(components_HLayout,{row:!0},react_default.a.createElement(LayoutManager_Content,{id:"bottom",grow:!0,defaultComponent:"presetsAi",translate:["headerText","presets.0.fields.ctaData.tip","presets.1.fields.ctaData.tip","presets.2.fields.ctaData.tip","presets.3.fields.ctaData.tip","presets.4.fields.ctaData.tip","presets.0.fields.name","presets.1.fields.name","presets.2.fields.name","presets.3.fields.name","presets.4.fields.name","presets.5.fields.name","presets.0.fields.description","presets.1.fields.description","presets.2.fields.description","presets.3.fields.description","presets.4.fields.description","presets.5.fields.description"]}))),welcomePresetsRecents:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(LayoutManager_Content,{id:"welcomeMessage",defaultComponent:"shortUiMessages",translate:["message"]}),react_default.a.createElement(LayoutManager_Content,{id:"hero",grow:!0,cardHeight:"short",defaultComponent:"presetsAi",translate:["headerText","presets.0.fields.ctaData.tip","presets.1.fields.ctaData.tip","presets.2.fields.ctaData.tip","presets.3.fields.ctaData.tip","presets.4.fields.ctaData.tip","presets.0.fields.name","presets.1.fields.name","presets.2.fields.name","presets.3.fields.name","presets.4.fields.name","presets.5.fields.name","presets.0.fields.description","presets.1.fields.description","presets.2.fields.description","presets.3.fields.description","presets.4.fields.description","presets.5.fields.description"]}),react_default.a.createElement(LayoutManager_Content,{id:"bottom",defaultComponent:"recents"}))};let FallbackLayout_FallbackLayout=class extends react_default.a.Component{componentDidMount(){analytics_ingest.a.logMiscellaneousEvent("home-default")}render(){switch(MainStore.a.prefs.currentRoute){case"home":return new DefaultViewParser_DefaultViewParser(LayoutManager_DefaultLayouts).render();case"learn":default:return null;}}};FallbackLayout_FallbackLayout=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([index_module.a],FallbackLayout_FallbackLayout);var LayoutManager_FallbackLayout=FallbackLayout_FallbackLayout;var LayoutManager_HomeLayouts={homeFullScreenBannerBannerBanner:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(LayoutManager_Content,{id:"welcomeMessage",defaultComponent:"shortUiMessages"}),react_default.a.createElement(LayoutManager_Content,{cardHeight:"tall",grow:!0,id:"hero",defaultComponent:"bannerBasic"}),react_default.a.createElement(components_HLayout,null,react_default.a.createElement(LayoutManager_Content,{grow:!0,id:"cardLeft",defaultComponent:"bannerBasic"}),react_default.a.createElement(LayoutManager_Content,{id:"cardRight",defaultComponent:"bannerBasic"}))),homeTwoThirdBannerBanner:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(LayoutManager_Content,{id:"welcomeMessage",defaultComponent:"shortUiMessages"}),react_default.a.createElement(components_HLayout,{row:!0},react_default.a.createElement(LayoutManager_Content,{cardHeight:"medium",grow:!0,id:"cardLeft",defaultComponent:"bannerBasic"}),react_default.a.createElement(LayoutManager_Content,{cardHeight:"medium",id:"cardRight",defaultComponent:"bannerBasic"})),react_default.a.createElement(LayoutManager_Content,{id:"bottom",defaultComponent:"recents"})),homeOneThirdBanner:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(LayoutManager_Content,{id:"welcomeMessage",defaultComponent:"shortUiMessages"}),react_default.a.createElement(LayoutManager_Content,{id:"top",defaultComponent:"bannerBasic"}),react_default.a.createElement(LayoutManager_Content,{id:"bottom",defaultComponent:"recents"})),homeRecentsOnly:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(LayoutManager_Content,{id:"welcomeMessage",defaultComponent:"shortUiMessages"}),react_default.a.createElement(LayoutManager_Content,{id:"bottom",defaultComponent:"recents"})),homeFullScreenAiBannerPresets:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(LayoutManager_Content,{id:"welcomeMessage",defaultComponent:"shortUiMessages"}),react_default.a.createElement(LayoutManager_Content,{cardHeight:"tall",grow:!0,id:"hero",defaultComponent:"bannerBasic"}),react_default.a.createElement(components_HLayout,{row:!0},react_default.a.createElement(LayoutManager_Content,{id:"bottom",grow:!0,defaultComponent:"presetsAi"}))),homeTwoThirdAiPresetsBanner:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(LayoutManager_Content,{id:"welcomeMessage",defaultComponent:"shortUiMessages"}),react_default.a.createElement(components_HLayout,{row:!0},react_default.a.createElement(LayoutManager_Content,{cardHeight:"medium",grow:!0,id:"cardLeft",defaultComponent:"presetsAi"}),react_default.a.createElement(LayoutManager_Content,{cardHeight:"medium",id:"cardRight",defaultComponent:"bannerBasic"})),react_default.a.createElement(LayoutManager_Content,{id:"bottom",defaultComponent:"recents"})),homeOneThirdAiPresets:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(LayoutManager_Content,{id:"welcomeMessage",defaultComponent:"shortUiMessages"}),react_default.a.createElement(LayoutManager_Content,{id:"top",defaultComponent:"presetsAi"}),react_default.a.createElement(LayoutManager_Content,{id:"bottom",defaultComponent:"recents"})),homeFullScreenPsBannerDragdropBanner:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(LayoutManager_Content,{id:"welcomeMessage",defaultComponent:"shortUiMessages"}),react_default.a.createElement(LayoutManager_Content,{cardHeight:"tall",grow:!0,id:"hero",defaultComponent:"bannerBasic"}),react_default.a.createElement(components_HLayout,null,react_default.a.createElement(LayoutManager_Content,{grow:!0,id:"cardLeft",defaultComponent:"bannerBasic"}),react_default.a.createElement(LayoutManager_Content,{id:"cardRight",defaultComponent:"dragDrop"}))),homeFullScreenAeBannerBannerDragdrop:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(LayoutManager_Content,{id:"welcomeMessage",defaultComponent:"shortUiMessages"}),react_default.a.createElement(LayoutManager_Content,{cardHeight:"tall",grow:!0,id:"hero",defaultComponent:"bannerBasic"}),react_default.a.createElement(components_HLayout,null,react_default.a.createElement(LayoutManager_Content,{grow:!0,id:"cardLeft",defaultComponent:"bannerBasic"}),react_default.a.createElement(LayoutManager_Content,{id:"cardRight",defaultComponent:"dragDrop"}))),homeTwoThirdAeBannerDragdrop:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(LayoutManager_Content,{id:"welcomeMessage",defaultComponent:"shortUiMessages"}),react_default.a.createElement(components_HLayout,{row:!0},react_default.a.createElement(LayoutManager_Content,{cardHeight:"medium",grow:!0,id:"cardLeft",defaultComponent:"bannerBasic"}),react_default.a.createElement(LayoutManager_Content,{cardHeight:"medium",id:"cardRight",defaultComponent:"dragDrop"})),react_default.a.createElement(LayoutManager_Content,{id:"bottom",defaultComponent:"recents"})),homeFullScreenEmptyState:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(LayoutManager_Content,{id:"welcomeMessage",defaultComponent:"shortUiMessages"}),react_default.a.createElement(LayoutManager_Content,{grow:!0,id:"empty",defaultComponent:"bannerEmpty"})),homeFullScreenEmptyStateTrial:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(LayoutManager_Content,{id:"welcomeMessage",defaultComponent:"shortUiMessages"}),react_default.a.createElement(LayoutManager_Content,{grow:!0,id:"middle",defaultComponent:"bannerEmpty"}),react_default.a.createElement(components_HLayout,null,react_default.a.createElement(LayoutManager_Content,{id:"footer",defaultComponent:"bannerBasic"}))),homeRecentsOnlyTrial:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(LayoutManager_Content,{id:"welcomeMessage",defaultComponent:"shortUiMessages"}),react_default.a.createElement(LayoutManager_Content,{id:"top",defaultComponent:"bannerBasic"}),react_default.a.createElement(LayoutManager_Content,{id:"middle",defaultComponent:"recents"}))};var LayoutManager_LearnLayouts={learnAll:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(components_HLayout,{row:!0},react_default.a.createElement(LayoutManager_Content,{learn:!0,id:"top",defaultComponent:"bannerBasic"})),react_default.a.createElement(LayoutManager_Content,{id:"inAppTuts",defaultComponent:"learnFeedInApp"}),react_default.a.createElement(LayoutManager_Content,{id:"webTuts",defaultComponent:"learnFeedWeb"}),react_default.a.createElement(HorizontalDivider_HorizontalDivider,{bottom:!0}),react_default.a.createElement(LayoutManager_Content,{learn:!0,center:!0,id:"footer",defaultComponent:"bannerBasic"})),learnAllMsg:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(LayoutManager_Content,{id:"welcomeMessage",defaultComponent:"shortUiMessages"}),react_default.a.createElement(components_HLayout,{row:!0},react_default.a.createElement(LayoutManager_Content,{learn:!0,id:"top",defaultComponent:"bannerBasic"})),react_default.a.createElement(LayoutManager_Content,{id:"inAppTuts",defaultComponent:"learnFeedInApp"}),react_default.a.createElement(LayoutManager_Content,{id:"webTuts",defaultComponent:"learnFeedWeb"}),react_default.a.createElement(HorizontalDivider_HorizontalDivider,{bottom:!0}),react_default.a.createElement(LayoutManager_Content,{learn:!0,center:!0,id:"footer",defaultComponent:"bannerBasic"})),learnWebOnly:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(components_HLayout,{row:!0},react_default.a.createElement(LayoutManager_Content,{learn:!0,id:"top",defaultComponent:"bannerBasic"})),react_default.a.createElement(LayoutManager_Content,{id:"webTuts",defaultComponent:"learnFeedWeb"}),react_default.a.createElement(HorizontalDivider_HorizontalDivider,{bottom:!0}),react_default.a.createElement(LayoutManager_Content,{learn:!0,center:!0,id:"footer",defaultComponent:"bannerBasic"})),learnInAppLoc:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(components_HLayout,{row:!0},react_default.a.createElement(LayoutManager_Content,{learn:!0,id:"hero",defaultComponent:"bannerMultiLink"})),react_default.a.createElement(HorizontalDivider_HorizontalDivider,{top:!0}),react_default.a.createElement(LayoutManager_Content,{id:"inAppTuts",defaultComponent:"learnFeedInApp"}),react_default.a.createElement(LayoutManager_Content,{id:"webTuts",defaultComponent:"learnFeedWeb"}),react_default.a.createElement(HorizontalDivider_HorizontalDivider,{bottom:!0}),react_default.a.createElement(LayoutManager_Content,{learn:!0,center:!0,id:"footer",defaultComponent:"bannerMultiLink"})),learnNoLoc:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(components_HLayout,{row:!0},react_default.a.createElement(LayoutManager_Content,{learn:!0,id:"top",defaultComponent:"bannerMultiLink"})),react_default.a.createElement(HorizontalDivider_HorizontalDivider,{top:!0}),react_default.a.createElement(LayoutManager_Content,{id:"webTuts",defaultComponent:"learnFeedWeb"}),react_default.a.createElement(HorizontalDivider_HorizontalDivider,{bottom:!0}),react_default.a.createElement(LayoutManager_Content,{learn:!0,center:!0,id:"footer",defaultComponent:"bannerMultiLink"})),learnNew:()=>react_default.a.createElement(components_VLayout,null,react_default.a.createElement(components_HLayout,{row:!0},react_default.a.createElement(LayoutManager_Content,{learn:!0,id:"hero",defaultComponent:"bannerBasic"})),react_default.a.createElement(LayoutManager_Content,{id:"webTuts",defaultComponent:"learnFeedWeb"}),react_default.a.createElement(HorizontalDivider_HorizontalDivider,{bottom:!0}),react_default.a.createElement(LayoutManager_Content,{learn:!0,center:!0,id:"footer",defaultComponent:"bannerBasic"}))},esm=__webpack_require__(486);class YukonParser_YukonParser{constructor(rawYukonJson,layoutDefinitions){this.data=Object(esm.a)(rawYukonJson)[0],this.layoutDefinitions=layoutDefinitions}getLayoutStage(numRecents){const conditions=this.data.fields.stageConditions;for(let i=conditions.length-1;0<=i;i--)if(numRecents>=conditions[i].recents)return conditions[i].layout;return"stage1"}render(){const numRecents=MainStore.a.recentFilesStore.realOrArtificialLength,stageName=this.getLayoutStage(numRecents),stageData=this.data.fields[stageName],layoutId=stageData.sys.contentType.sys.id,Layout=this.layoutDefinitions[layoutId];return react_default.a.createElement(Content_ContentContext.Provider,{value:YukonParser_objectSpread({},stageData,{stageName,layoutId,numRecents})},react_default.a.createElement(Layout,null))}}let LayoutManager_LayoutManager=class extends react_default.a.Component{componentDidCatch(err,info){log.a.toConsole(err+info.componentStack,{prefix:"Failed to render layout due to content component render failure! Falling back...",error:!0,route:MainStore.a.prefs.currentRoute}),MainStore.a.setShouldUseDefaultLayoutInFallbackMode(!0,`Content Componenet Error: ${err}`,{workflow:MainStore.a.prefs.currentRoute,error:{desc:err+info.componentStack,type:"content-component"},type:StartIngestUtil.a.KEYS.EVENT_TYPE_ERROR})}render(){if(MainStore.a.shouldUseDefaultLayoutInFallbackMode)return react_default.a.createElement(LayoutManager_FallbackLayout,null);try{switch(MainStore.a.prefs.currentRoute){case"home":return new YukonParser_YukonParser(MainStore.a.layoutDebugOverride||MainStore.a.sophiaStore.getContentForSurface(constants.a.SOPHIA_SURFACEID.HOME).content,LayoutManager_HomeLayouts).render();case"learn":return new YukonParser_YukonParser(MainStore.a.layoutDebugOverride||MainStore.a.sophiaStore.getContentForSurface(constants.a.SOPHIA_SURFACEID.LEARN).content,LayoutManager_LearnLayouts).render();default:return null;}}catch(err){return console.error(err),console.error("Failed to render layout! Falling back..."),log.a.toConsole(err+err.stack,{error:!0,prefix:"Failed to render layout! Falling back...",route:MainStore.a.prefs.currentRoute}),MainStore.a.online||analytics_ingest.a.logErrorEvent("defaultLayout",{route:MainStore.a.prefs.currentRoute,error:{desc:err+err.stack,type:"network"}}),!MainStore.a.user.isFRL&&MainStore.a.online&&analytics_ingest.a.logErrorEvent("defaultLayout",{route:MainStore.a.prefs.currentRoute,error:{desc:err+err.stack,type:"layout"}}),react_default.a.createElement(LayoutManager_FallbackLayout,null)}}};LayoutManager_LayoutManager=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([index_module.a],LayoutManager_LayoutManager);var components_LayoutManager=LayoutManager_LayoutManager;let MainWrapper_MainWrapper=class extends react_default.a.Component{get toastData(){return MainStore.a.sophiaStore.getContentForSurface(constants.a.SOPHIA_SURFACEID.TOAST)}render(){const route=MainStore.a.prefs.currentRoute;let toast;if(this.toastData)try{toast=Object(esm.a)(this.toastData.content)[0].fields.toast}catch(err){toast=null,analytics_ingest.a.logErrorEvent("toast",{error:{desc:err+err.stack,type:"toast-content"}})}let content=react_default.a.createElement(react_default.a.Fragment,null);switch(route){case"home":case"learn":case"ccfiles":content=this.props.children;break;case"ccphotos":break;case"custom":default:content=react_default.a.createElement(components_Custom,null);}return react_default.a.createElement(react_default.a.Fragment,null,react_default.a.createElement(header_Header,null),react_default.a.createElement(components_HLayout,{unpadded:!0},react_default.a.createElement(components_Sidebar,null),react_default.a.createElement(components_ScrollView,{disableScroll:"ccphotos"===route},react_default.a.createElement(components_Search,this.props),react_default.a.createElement(components_VLayout,null,react_default.a.createElement(components_CCPhotos,null),content))),toast&&react_default.a.createElement(components_ToastWrapper,toast))}};MainWrapper_MainWrapper=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r}([index_module.a],MainWrapper_MainWrapper);var components_MainWrapper=MainWrapper_MainWrapper,App_decorate=function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r},App_metadata=function(k,v){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(k,v)};__webpack_require__(789);const App_styles=__webpack_require__(787);let App_App=class extends react.Component{constructor(props,context){super(props,context),this._dispatch=new Dispatch,this.handleScroll=throttle_throttle(evt=>{0===evt.target.scrollTop?this._dispatch.trigger(constants.a.events.SCROLLTOTOP):this._dispatch.trigger(constants.a.events.SCROLLFROMTOP)},40),this.online=()=>{this.store.setOnline(!0)},this.offline=()=>{this.store.setOnline(!1)},this.lateLoad=()=>{cepBridge["default"].addThemeChangeListener(()=>{Object(components_start.setColorTheme)(null,themeColor=>{MainStore.a.setColorTheme(themeColor)})})},this.handleKeyDownEvent=evt=>{evt.keyCode===a11y.keys.ESC&&(evt.preventDefault(),cepBridge["default"].closeExtensionOnStatus("true"))},this.openSearch=()=>{this.appContainerEl.classList.add(App_styles.hide)},this.closeSearch=()=>{this.appContainerEl.classList.remove(App_styles.hide)},a11y.registerKeyEventsInterest(),this.addKeyDownListener(),this._dispatch.on(constants.a.events.OPEN_SEARCH,this.openSearch,this),this._dispatch.on(constants.a.events.CLOSE_SEARCH,this.closeSearch,this),this._dispatch.on(constants.a.events.MODAL_OPENED,this.modelOpened,this),this._dispatch.on(constants.a.events.MODAL_CLOSED,this.modelClosed,this),window.addLateLoadCallBack(this.lateLoad),Object(mobx_module.v)(()=>this.intlLocale,locale=>initializeHelper_getMessages(locale))}getChildContext(){return{store:MainStore.a,dispatch:this._dispatch}}get store(){return MainStore.a}componentWillMount(){MainStore.a.setColorTheme(document.body.classList.contains("theme-light")?"light":"dark")}get intlLocale(){return this.store.hostData.language.replace("_","-")}addKeyDownListener(){("PHXS"===host["default"].data.hostID||"ILST"===host["default"].data.hostID)&&setTimeout(()=>{document.addEventListener("keydown",this.handleKeyDownEvent)},100)}modelOpened(){document.removeEventListener("keydown",this.handleKeyDownEvent)}modelClosed(){this.addKeyDownListener()}componentDidMount(){window.addEventListener("online",this.online),window.addEventListener("offline",this.offline)}componentWillUnmount(){this._dispatch.off(constants.a.events.OPEN_SEARCH,this.openSearch),this._dispatch.off(constants.a.events.CLOSE_SEARCH,this.closeSearch),window.removeEventListener("online",this.online),window.removeEventListener("offline",this.offline)}get theme(){return MainStore.a.colorTheme}render(){let children;return MainStore.a.isLoading?children=react.createElement(index_es.d,{locale:this.intlLocale,messages:this.store.messages,key:this.intlLocale},react.createElement(LoadingState_LoadingState,{loading:!0})):this.store.ready&&(children=react.createElement(index_es.d,{locale:this.intlLocale,messages:this.store.messages,key:this.intlLocale},react.createElement("div",{className:App_styles.container,ref:el=>this.appContainerEl=el},react.createElement(components_MainWrapper,null,react.createElement(components_LayoutManager,null))))),react.createElement(Provider_default.a,{theme:this.theme,scale:"medium",onScroll:e=>{e.persist(),this.handleScroll(e)},className:classnames_default()(App_styles.root,"dark"===this.theme&&"theme-dark")},children,!MainStore.a.isLoading&&this.store.isDebugMode?react.createElement(components_LayoutDebugController,{forceUpdate:()=>this.forceUpdate()}):null)}};App_App.childContextTypes={store:prop_types_default.a.any,dispatch:prop_types_default.a.any},App_decorate([mobx_module.t,App_metadata("design:type",Object)],App_App.prototype,"search",void 0),App_App=App_decorate([index_module.a,App_metadata("design:paramtypes",[Object,Object])],App_App);var app_App=App_App,Vulcan=__webpack_require__(14);const proxy_PROXY_SETTINGS_RESPONSE="cclibraries.service.QueryProxySettingsResponse";class proxy_Proxy{static checkCredentials(){if(window.__adobe_cep__){const lastKnownProxy=localstorage.a.getGlobalItem("LastKnownProxySettings");proxy_Proxy.unRegisterListener=Object(mobx_module.v)(()=>MainStore.a.proxyUser+MainStore.a.proxyPassword,proxy_Proxy.updateCredentials),lastKnownProxy&&MainStore.a.updateProxySettings(lastKnownProxy.user,lastKnownProxy.password),window.addLateLoadCallBack(()=>{Vulcan.a.addMessageListener(Vulcan.b.TYPE_PREFIX+"cclibraries.service.ProxySettingsChanged",proxy_Proxy.requestSettings,null),proxy_Proxy.requestSettings()})}}static handleVulcanResponse(response){let data;if(response){const responseData=Vulcan.a.getPayload(response);try{if(data=JSON.parse(responseData),data.requestId!==proxy_Proxy.requestId)return void log.a.toConsole("Proxy response does not match request",response)}catch(e){return void log.a.toConsole("Error parsing proxy response",response)}}Vulcan.a.removeMessageListener(Vulcan.b.TYPE_PREFIX+proxy_PROXY_SETTINGS_RESPONSE,proxy_Proxy.handleVulcanResponse,null),clearTimeout(proxy_Proxy.vulcanMessageTimeout),proxy_Proxy.vulcanMessageTimeout="",proxy_Proxy.requestId="",response&&(data&&data.proxyUser?(MainStore.a.updateProxySettings(data.proxyUser,data.proxyPassword),localstorage.a.setGlobalItem("LastKnownProxySettings",{user:data.proxyUser,password:data.proxyPassword}),log.a.toConsole("Updated proxy settings")):(MainStore.a.updateProxySettings("",""),localstorage.a.setUserItem("LastKnownProxySettings",null),log.a.toConsole("Cleared proxy setttings")))}static requestSettings(){proxy_Proxy.vulcanMessageTimeout&&(clearTimeout(proxy_Proxy.vulcanMessageTimeout),proxy_Proxy.vulcanMessageTimeout=""),Vulcan.a.addMessageListener(Vulcan.b.TYPE_PREFIX+proxy_PROXY_SETTINGS_RESPONSE,proxy_Proxy.handleVulcanResponse,null);const proxyMessage=new Vulcan.b(Vulcan.b.TYPE_PREFIX+"cclibraries.service.QueryProxySettingsRequest","LIBS","1.0.0");proxy_Proxy.requestId=jsUtil.a.generateGUID(),proxyMessage.setPayload(JSON.stringify({requestId:proxy_Proxy.requestId,url:"https://ims-na1.adobelogin.com/"})),Vulcan.a.dispatchMessage(proxyMessage),proxy_Proxy.vulcanMessageTimeout=setTimeout(()=>{log.a.toConsole("Timeout getting proxy settings from the library process."),proxy_Proxy.handleVulcanResponse(null)},5e3)}static updateCredentials(){window.__adobe_cep__.imsSetProxyCredentials(MainStore.a.proxyUser,MainStore.a.proxyPassword),window.cep.util.storeProxyCredentials(MainStore.a.proxyUser,MainStore.a.proxyPassword)}}proxy_Proxy.requestId="",proxy_Proxy.unRegisterListener=()=>{};const profile_CONFIGURATION={stage:{url:"https://cc-collab-stage.adobe.io/profile",expirationDays:1},prod:{url:"https://cc-collab.adobe.io/profile",expirationDays:1}};let profile_retryAttempt=0,profile_currentConfig;var iaw_profile={getAvatar:profile_getAvatar};const StartIngestRenderHandler_PROPERTY_KEYS=StartIngestUtil.a.KEYS;var StartIngestRenderHandler=function(eventID,eventData,payload){if(!eventID)return void(payload=null);switch(eventID){case"tab":payload["event.workflow"]=eventData,payload["event.subcategory"]=eventData,payload["event.subtype"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_TAB;break;case"sophia-card":payload["event.workflow"]=eventData.workflow?jsUtil.a.capitalize(eventData.workflow):"",payload["event.subcategory"]=eventData.subcategory?jsUtil.a.capitalize(eventData.subcategory):StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_CARD,payload["event.subtype"]=eventData.subtype||StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_CARD,payload["content.id"]=eventData.cardID,payload["content.name"]=eventData.bodyCopy,payload["content.type"]=eventData.cardType,payload["content.action"]=eventData.actionURL,payload["ui.sequence"]=eventData.position,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams);break;case"trial-status":payload["event.workflow"]=StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_NAV,payload["event.subcategory"]=0<eventData.daysLeft?StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_TRIALCLOCK:StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_BUY,payload["event.subtype"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_NAV,payload["content.id"]=eventData.cardID,payload["content.type"]=eventData.cardType,payload["content.action"]=eventData.actionURL,payload["content.status"]=eventData.daysLeft,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams);break;case"work-panel":payload["event.workflow"]=StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_WORK,payload["event.subcategory"]=eventData.subcategory?jsUtil.a.capitalize(eventData.subcategory):"",payload["event.subtype"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_PANEL,payload["event.count"]=eventData.count,payload["ui.view_type"]=eventData.viewType?jsUtil.a.capitalize(eventData.viewType):"",payload["ui.filter"]=eventData.filter?jsUtil.a.capitalize(eventData.filter):"",payload["ui.sort_order"]=eventData.sortOrder?jsUtil.a.capitalize(eventData.sortOrder):"";break;case"work-card":payload["event.workflow"]=StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_WORK,payload["event.subcategory"]=eventData.subcategory?jsUtil.a.capitalize(eventData.subcategory):"",payload["event.subtype"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_CARD,payload["content.type"]=StartIngestRenderHandler_PROPERTY_KEYS.CONTENT_TYPE_FILE,payload["content.size"]=eventData.size,payload["content.extension"]=eventData.extension?eventData.extension.toUpperCase():"",payload["ui.view_type"]=eventData.viewType?jsUtil.a.capitalize(eventData.viewType):"",payload["ui.filter"]=eventData.filter&&""!==eventData.filter?jsUtil.a.capitalize(eventData.filter):StartIngestRenderHandler_PROPERTY_KEYS.UI_FILTER_NONE,payload["ui.sort_order"]=eventData.sortOrder?jsUtil.a.capitalize(eventData.sortOrder):"";break;case"custom-item":payload["event.workflow"]=StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_WORK,payload["event.subcategory"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_LEGEND,payload["event.subtype"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_CUSTOM,payload["content.type"]=eventData.identifier,payload["ui.sequence"]=eventData.position;break;case"search-card":payload["event.workflow"]=StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_SEARCH,payload["event.subcategory"]=jsUtil.a.capitalize(eventData.contentType),payload["event.subtype"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_CARD,payload["content.id"]=eventData.asset_id,payload["content.type"]=eventData.asset_type,payload["content.mimetype"]=eventData.type,payload["content.category"]=eventData.contentType,payload["ui.sequence"]=eventData.position,payload["ui.search_keyword"]=eventData.term,payload["search.request_guid"]=eventData.requestGUID,StartIngestUtil.a.addSearchSDMEnvAnalytics(payload);break;case"search-recentbox":payload["event.workflow"]=StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_SEARCH,payload["event.subcategory"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_SEARCH,payload["event.subtype"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_PANEL,payload["search.request_guid"]=eventData.requestGUID;break;case"search-category":payload["event.workflow"]=StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_SEARCH,payload["event.subcategory"]=jsUtil.a.capitalize(eventData.contentType),payload["event.subtype"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_PANEL,payload["event.count"]=eventData.count,payload["content.category"]=eventData.contentType,payload["ui.search_keyword"]=eventData.term,payload["search.request_guid"]=eventData.requestGUID,StartIngestUtil.a.addSearchSDMEnvAnalytics(payload);break;case"lightroom-organizer":payload["event.workflow"]=StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_WORK,payload["event.subcategory"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_LIGHTROOM,payload["event.subtype"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_PANEL;break;case"lightroom-edit":payload["event.workflow"]=StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_WORK,payload["event.subcategory"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_LIGHTROOM,payload["event.subtype"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_EDITOR,payload["content.id"]=eventData.id,payload["content.extension"]=eventData.extension,payload["content.mimetype"]=eventData.mimetype,payload["content.category"]=eventData.category;break;case"bannerBasic":payload["event.workflow"]=jsUtil.a.capitalize(eventData.workflow),payload["event.subcategory"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_BANNER_BASIC,payload["event.subtype"]=eventData.subtype?eventData.subtype.toLowerCase():StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_BANNER,payload["ui.view_type"]=eventData.stage+":"+eventData.layout,payload["content.status"]=eventData.workflow&&eventData.workflow===StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_DEFAULT?StartIngestRenderHandler_PROPERTY_KEYS.STATUS_LOCAL:StartIngestRenderHandler_PROPERTY_KEYS.STATUS_CACHED,payload["content.id"]=eventData.fieldData&&eventData.fieldData.sys.id||null,payload["content.name"]=eventData.fieldData&&eventData.fieldData.fields.headerText||null,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams),StartIngestUtil.a.mapStageConditions(payload,eventData.stage);break;case"bannerMultiLink":payload["event.workflow"]=StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_LEARN,payload["event.subcategory"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_BANNER_MULTI_LINK,payload["event.subtype"]=eventData.subtype?eventData.subtype.toLowerCase():StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_BANNER,payload["ui.view_type"]=eventData.stage+":"+eventData.layout,payload["content.status"]=StartIngestRenderHandler_PROPERTY_KEYS.STATUS_CACHED,payload["content.id"]=eventData.fieldData&&eventData.fieldData.sys.id||null,payload["content.name"]=eventData.fieldData&&eventData.fieldData.fields.headerText||null,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams),StartIngestUtil.a.mapStageConditions(payload,eventData.stage);break;case"bannerEmpty":payload["event.workflow"]=jsUtil.a.capitalize(eventData.workflow),payload["event.subcategory"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_BANNER_EMPTY,payload["event.subtype"]=eventData.subtype?eventData.subtype.toLowerCase():StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_BANNER,payload["event.value"]=StartIngestRenderHandler_PROPERTY_KEYS.VALUE_EMPTY,payload["ui.view_type"]=eventData.stage+":"+eventData.layout,payload["content.status"]=eventData.workflow&&eventData.workflow===StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_DEFAULT?StartIngestRenderHandler_PROPERTY_KEYS.STATUS_LOCAL:StartIngestRenderHandler_PROPERTY_KEYS.STATUS_CACHED,payload["content.id"]=eventData.fieldData&&eventData.fieldData.sys.id||null,payload["content.name"]=eventData.fieldData&&eventData.fieldData.fields.headerText||null,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams),StartIngestUtil.a.mapStageConditions(payload,eventData.stage);break;case"shortUiMessages":payload["event.workflow"]=jsUtil.a.capitalize(eventData.workflow),payload["event.subcategory"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_PERSONAL_MESSAGE,payload["event.subtype"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_MESSAGE,payload["event.value"]=eventData.message,payload["ui.view_type"]=eventData.stage+":"+eventData.layout,payload["content.status"]=eventData.workflow&&eventData.workflow===StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_DEFAULT?StartIngestRenderHandler_PROPERTY_KEYS.STATUS_LOCAL:StartIngestRenderHandler_PROPERTY_KEYS.STATUS_CACHED,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams),StartIngestUtil.a.mapStageConditions(payload,eventData.stage);break;case"recents":payload["event.workflow"]=jsUtil.a.capitalize(eventData.workflow),payload["event.subcategory"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_RECENT_FILES,payload["event.subtype"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_FILE,payload["ui.view_type"]=eventData.stage+":"+eventData.layout,payload["event.value"]=eventData.numRecents,payload["content.status"]=eventData.workflow&&eventData.workflow===StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_DEFAULT?StartIngestRenderHandler_PROPERTY_KEYS.STATUS_LOCAL:StartIngestRenderHandler_PROPERTY_KEYS.STATUS_CACHED,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams),StartIngestUtil.a.mapStageConditions(payload,eventData.stage);break;case"tutorial":payload["event.workflow"]=StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_LEARN,payload["event.subcategory"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_TUTORIAL,payload["event.subtype"]=eventData.subtype,payload["ui.view_type"]=eventData.stage+":"+eventData.layout,payload["content.status"]=StartIngestRenderHandler_PROPERTY_KEYS.STATUS_CACHED,payload["content.id"]=eventData.tutorialID,payload["content.name"]=eventData.tutorialName,payload["content.type"]=StartIngestRenderHandler_PROPERTY_KEYS.CONTENT_TYPE_TUTORIAL,StartIngestUtil.a.appendURLParameters(payload,eventData.tutorialAction),StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams),StartIngestUtil.a.mapStageConditions(payload,eventData.stage);break;case"learnFeedInApp":payload["event.workflow"]=StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_LEARN,payload["event.subcategory"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_IN_APP_FEED,payload["event.subtype"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_INAPPTUT,payload["ui.view_type"]=eventData.stage+":"+eventData.layout,payload["content.status"]=StartIngestRenderHandler_PROPERTY_KEYS.STATUS_CACHED,payload["content.size"]=eventData.totalInAppTutorials,payload["content.type"]=StartIngestRenderHandler_PROPERTY_KEYS.CONTENT_TYPE_INAPP,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams),StartIngestUtil.a.mapStageConditions(payload,eventData.stage);break;case"learnFeedWeb":payload["event.workflow"]=StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_LEARN,payload["event.subcategory"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_WEB_FEED,payload["event.subtype"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_WEBTUT,payload["ui.view_type"]=eventData.stage+":"+eventData.layout,payload["content.status"]=StartIngestRenderHandler_PROPERTY_KEYS.STATUS_CACHED,payload["content.size"]=eventData.totalWebTutorials,payload["content.type"]=StartIngestRenderHandler_PROPERTY_KEYS.CONTENT_TYPE_WEB,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams),StartIngestUtil.a.mapStageConditions(payload,eventData.stage);break;case"learn-menu":payload["event.workflow"]=StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_LEARN,payload["event.subcategory"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_LEARN_SIDEBAR,payload["event.subtype"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_LEARN_SIDEBAR,payload["content.status"]=StartIngestRenderHandler_PROPERTY_KEYS.STATUS_CACHED,payload["content.size"]=eventData.totalWebTutorials,payload["content.type"]=StartIngestRenderHandler_PROPERTY_KEYS.CONTENT_TYPE_WEB;break;case"dragDrop":payload["event.workflow"]=jsUtil.a.capitalize(eventData.workflow),payload["event.subcategory"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_DRAGDROP,payload["event.subtype"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_DRAGDROP,payload["ui.view_type"]=eventData.stage+":"+eventData.layout,payload["content.status"]=eventData.workflow&&eventData.workflow===StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_DEFAULT?StartIngestRenderHandler_PROPERTY_KEYS.STATUS_LOCAL:StartIngestRenderHandler_PROPERTY_KEYS.STATUS_CACHED,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams),StartIngestUtil.a.mapStageConditions(payload,eventData.stage);break;case"presetsAi":payload["event.workflow"]=jsUtil.a.capitalize(eventData.workflow),payload["event.subcategory"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_PRESETS,payload["event.subtype"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_PRESET,payload["ui.view_type"]=eventData.stage+":"+eventData.layout,payload["content.id"]=eventData.presetID,payload["content.name"]=eventData.presetName,payload["content.type"]=eventData.presetType,payload["content.status"]=eventData.workflow&&eventData.workflow===StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_DEFAULT?StartIngestRenderHandler_PROPERTY_KEYS.STATUS_LOCAL:StartIngestRenderHandler_PROPERTY_KEYS.STATUS_CACHED,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams),StartIngestUtil.a.mapStageConditions(payload,eventData.stage);break;case"videoLightbox":payload["event.workflow"]=jsUtil.a.capitalize(eventData.workflow),payload["event.subcategory"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_VIDEO,payload["event.subtype"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_LIGHTBOX,payload["ui.view_type"]=eventData.stage+":"+eventData.layout,payload["content.status"]=eventData.workflow&&eventData.workflow===StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_DEFAULT?StartIngestRenderHandler_PROPERTY_KEYS.STATUS_LOCAL:StartIngestRenderHandler_PROPERTY_KEYS.STATUS_CACHED,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams),StartIngestUtil.a.mapStageConditions(payload,eventData.stage),StartIngestUtil.a.appendURLParameters(payload,eventData.tutorialAction);break;case"toast":payload["event.workflow"]=StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_TOAST,payload["event.subcategory"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_TOAST,payload["event.subtype"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_TOAST,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams);break;case"license":payload["event.workflow"]=StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_NGL,payload["event.subcategory"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_CHICLET,payload["event.subtype"]=eventData.subtype?eventData.subtype.toLowerCase():StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_LICENSE,payload["event.value"]=eventData.trialDaysRemaining;break;case"license-resolve":payload["event.workflow"]=StartIngestRenderHandler_PROPERTY_KEYS.WORKFLOW_NGL,payload["event.subcategory"]=StartIngestRenderHandler_PROPERTY_KEYS.SUBCATEGORY_CHICLET,payload["event.subtype"]=eventData.subtype?eventData.subtype.toLowerCase():StartIngestRenderHandler_PROPERTY_KEYS.SUBTYPE_RESOLVE_LICENSE,payload["event.value"]=eventData.trialDaysRemaining;break;default:log.a.debug(StartIngestRenderHandler_PROPERTY_KEYS.DEFAULT_RENDER+jsUtil.a.capitalize(eventID)+JSON.stringify(eventData),!0);}};const StartIngestClickHandler_PROPERTY_KEYS=StartIngestUtil.a.KEYS;var StartIngestClickHandler=function(eventID,eventData,payload){if(!eventID)return void(payload=null);switch(eventID){case"first-run-video":payload["event.workflow"]=eventData.workflow?jsUtil.a.capitalize(eventData.workflow):"",payload["event.subcategory"]=eventData.subcategory?jsUtil.a.capitalize(eventData.subcategory):StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_CARD,payload["event.subtype"]=eventData.subtype||StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_CARD,payload["content.id"]=eventData.cardID,payload["content.name"]=eventData.bodyCopy,payload["content.type"]="video",payload["content.action"]=eventData.actionURL,payload["ui.sequence"]=eventData.position,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams);break;case"stock-footer-search":eventData.bodyCopy=""===eventData.bodyCopy?void 0:eventData.bodyCopy;case"sophia-card":payload["event.workflow"]=eventData.workflow?jsUtil.a.capitalize(eventData.workflow):"",payload["event.subcategory"]=eventData.subcategory?jsUtil.a.capitalize(eventData.subcategory):StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_CARD,payload["event.subtype"]=eventData.subtype||StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_CARD,payload["content.id"]=eventData.cardID,payload["content.name"]=eventData.bodyCopy,payload["content.type"]=eventData.cardType,payload["content.action"]="stock-footer-search"===eventID&&eventData.searchURL?eventData.searchURL:eventData.actionURL,payload["ui.sequence"]=eventData.position,payload["ui.search_keyword"]=eventData.search,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams);break;case"firstrun-create":case"firstrun-open":case"firstrun-next":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.PAGE_FIRSTRUN,payload["event.subcategory"]="firstrun-next"===eventID?StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_BUTTON_NEXT:StartIngestClickHandler_PROPERTY_KEYS.PAGE_FIRSTRUN,payload["event.subtype"]=eventData;break;case"acct-profile":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_NAV,payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_PROFILE,payload["event.subtype"]=StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_NAV;break;case"trial-status":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_NAV,payload["event.subcategory"]=0<eventData.daysLeft?StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_TRIALCLOCK:StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_BUY,payload["event.subtype"]=StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_NAV,payload["content.id"]=eventData.cardID,payload["content.type"]=eventData.cardType,payload["content.action"]=eventData.actionURL,payload["content.status"]=eventData.daysLeft,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams);break;case"panel-filter":case"panel-sort":case"panel-view-mode":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_WORK,payload["event.subcategory"]=eventData.subcategory?jsUtil.a.capitalize(eventData.subcategory):"",payload["event.subtype"]=StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_NEW,payload["ui.view_type"]=eventData.viewType?jsUtil.a.capitalize(eventData.viewType):"",payload["ui.filter"]=eventData.filter?jsUtil.a.capitalize(eventData.filter):"",payload["ui.sort_order"]=eventData.sortOrder?jsUtil.a.capitalize(eventData.sortOrder):"";break;case"ccfiles-empty-webview":case"ccfiles-empty-learn":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_WORK,payload["event.subcategory"]=eventData.subcategory?jsUtil.a.capitalize(eventData.subcategory):"",payload["event.subtype"]="ccfiles-empty-learn"===eventID?StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_CCFILE_LEARN:StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_CCFILE_WEBVIEW,payload["content.action"]=eventData.action;break;case"mru-empty-new":payload["event.subtype"]=StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_CREATE;case"mru-empty-learn":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_WORK,payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_RECENT;break;case"sidebar-work-change-panel":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_WORK,payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_LEGEND,payload["event.subtype"]=eventData.subtype,payload["ui.view_type"]=eventData.viewType?jsUtil.a.capitalize(eventData.viewType):"",payload["ui.filter"]=eventData.filter?jsUtil.a.capitalize(eventData.filter):"",payload["ui.sort_order"]=eventData.sortOrder?jsUtil.a.capitalize(eventData.sortOrder):"";break;case"sidebar-work-new":case"sidebar-work-open":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_WORK,payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_LEGEND,payload["event.subtype"]="sidebar-work-new"===eventID?StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_CREATE:StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_OPEN,payload["ui.view_type"]=eventData.viewType?jsUtil.a.capitalize(eventData.viewType):"",payload["ui.filter"]=eventData.filter?jsUtil.a.capitalize(eventData.filter):"",payload["ui.sort_order"]=eventData.sortOrder?jsUtil.a.capitalize(eventData.sortOrder):"";break;case"nav-tab-change":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_NAV,payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_CHANGETAB,payload["event.subtype"]=eventData;break;case"work-card":case"work-item":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_WORK,payload["event.subcategory"]=eventData.subcategory?jsUtil.a.capitalize(eventData.subcategory):"",payload["event.subtype"]=StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_CARD,payload["content.type"]=StartIngestClickHandler_PROPERTY_KEYS.CONTENT_TYPE_FILE,payload["content.size"]=eventData.size,payload["content.extension"]=eventData.extension?eventData.extension.toUpperCase():"",payload["ui.view_type"]=eventData.viewType?jsUtil.a.capitalize(eventData.viewType):"",payload["ui.filter"]=eventData.filter&&""!==eventData.filter?jsUtil.a.capitalize(eventData.filter):StartIngestClickHandler_PROPERTY_KEYS.UI_FILTER_NONE,payload["ui.sort_order"]=eventData.sortOrder?jsUtil.a.capitalize(eventData.sortOrder):"";break;case"custom-item":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_WORK,payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_LEGEND,payload["event.subtype"]=StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_CUSTOM,payload["content.type"]=eventData.identifier,payload["ui.sequence"]=eventData.position;break;case"open-team-project":case"new-team-project":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_WORK,payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_LEGEND,payload["event.subtype"]="new-team-project"===eventID?StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_TEAMNEW:StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_TEAMOPEN;break;case"search-icon":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_SEARCH,payload["event.subcategory"]=jsUtil.a.capitalize(eventData),payload["event.subtype"]=StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_START,payload["event.context_sequence"]=1,StartIngestUtil.a.addSearchSDMEnvAnalytics(payload);break;case"search-cmd-key":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_SEARCH,StartIngestUtil.a.addSearchSDMEnvAnalytics(payload);break;case"search-exit":case"search-exit-esc":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_SEARCH,payload["event.subtype"]=StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_EXIT,payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_SEARCH_RESULTS,payload["ui.view_type"]=StartIngestClickHandler_PROPERTY_KEYS.UI_FILTER_ALL,payload["ui.search_keyword"]=eventData,"search-exit-esc"===eventID&&(payload["event.subtype"]=StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_ESC),StartIngestUtil.a.addSearchSDMEnvAnalytics(payload);break;case"search-submit":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_SEARCH,payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_SEARCH,payload["event.subtype"]=StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_SUBMIT,payload["ui.view_type"]=StartIngestClickHandler_PROPERTY_KEYS.UI_FILTER_ALL,payload["ui.search_keyword"]=eventData,StartIngestUtil.a.addSearchSDMEnvAnalytics(payload);break;case"search-card":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_SEARCH,payload["event.subcategory"]=jsUtil.a.capitalize(eventData.contentType),payload["event.subtype"]=StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_CARD,payload["content.id"]=eventData.asset_id,payload["content.type"]=eventData.asset_type,payload["content.mimetype"]=eventData.type,payload["content.category"]=eventData.contentType,payload["ui.sequence"]=eventData.position,payload["ui.search_keyword"]=eventData.term,payload["search.request_guid"]=eventData.requestGUID,StartIngestUtil.a.addSearchSDMEnvAnalytics(payload);break;case"search-filter-all":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_SEARCH,payload["event.subcategory"]=jsUtil.a.capitalize(eventData.mode),payload["event.subtype"]=StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_SHOWALL,payload["ui.view_type"]=StartIngestClickHandler_PROPERTY_KEYS.UI_FILTER_ALL,payload["ui.search_keyword"]=eventData.term,payload["search.request_guid"]=eventData.requestGUID,StartIngestUtil.a.addSearchSDMEnvAnalytics(payload);break;case"search-filter-breadcrumb":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_SEARCH,payload["event.subcategory"]=jsUtil.a.capitalize(eventData.mode),payload["event.subtype"]=StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_BREADCRUMB,payload["ui.view_type"]=StartIngestClickHandler_PROPERTY_KEYS.UI_FILTER_ALL,payload["ui.search_keyword"]=eventData.term,payload["search.request_guid"]=eventData.requestGUID,StartIngestUtil.a.addSearchSDMEnvAnalytics(payload);break;case"open-learn-link":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_SEARCH,payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_SEARCH_LEARN,payload["event.subtype"]=StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_OPEN,payload["content.type"]=StartIngestClickHandler_PROPERTY_KEYS.CONTENT_TYPE_LEARN,payload["content.action"]=eventData.url,payload["ui.sequence"]=eventData.position,payload["ui.search_keyword"]=eventData.term,payload["search.request_guid"]=eventData.requestGUID,StartIngestUtil.a.addSearchSDMEnvAnalytics(payload);break;case"open-rush-project":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_WORK,payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_LEGEND,payload["event.subtype"]=StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_RUSHOPEN;break;case"lightroom-view":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_WORK,payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_LIGHTROOM,eventData.subtype&&(payload["event.subtype"]=eventData.subtype),eventData.count&&(payload["event.count"]=eventData.count),eventData.content&&Object.keys(eventData.content).forEach(key=>{payload[`content.${key}`]=eventData.content[key]});break;case"bannerBasic":payload["event.workflow"]=jsUtil.a.capitalize(eventData.workflow),payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_BANNER_BASIC,payload["event.subtype"]=eventData.subtype?eventData.subtype.toLowerCase():StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_BANNER,payload["ui.view_type"]=eventData.stage+":"+eventData.layout,payload["content.status"]=eventData.workflow&&eventData.workflow===StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_DEFAULT?StartIngestClickHandler_PROPERTY_KEYS.STATUS_LOCAL:StartIngestClickHandler_PROPERTY_KEYS.STATUS_CACHED,payload["content.id"]=eventData.fieldData&&eventData.fieldData.sys.id||null,payload["content.name"]=eventData.fieldData&&eventData.fieldData.fields.headerText||null,payload["content.action"]=eventData.ctaURL||StartIngestUtil.a.getContentIdFromCTAData(eventData.ctaData),StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams),StartIngestUtil.a.mapStageConditions(payload,eventData.stage);break;case"bannerMultiLink":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_LEARN,payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_BANNER_MULTI_LINK,payload["event.subtype"]=eventData.subtype?eventData.subtype.toLowerCase():StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_BANNER,payload["ui.view_type"]=eventData.stage+":"+eventData.layout,payload["content.status"]=StartIngestClickHandler_PROPERTY_KEYS.STATUS_CACHED,payload["content.id"]=eventData.fieldData&&eventData.fieldData.sys.id||null,payload["content.name"]=eventData.fieldData&&eventData.fieldData.fields.headerText||null,payload["content.action"]=eventData.ctaURL||StartIngestUtil.a.getContentIdFromCTAData(eventData.ctaData),StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams),StartIngestUtil.a.mapStageConditions(payload,eventData.stage);break;case"bannerEmpty":payload["event.workflow"]=jsUtil.a.capitalize(eventData.workflow),payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_BANNER_EMPTY,payload["event.subtype"]=eventData.subtype?eventData.subtype.toLowerCase():StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_BANNER,payload["event.value"]=StartIngestClickHandler_PROPERTY_KEYS.VALUE_EMPTY,payload["ui.view_type"]=eventData.stage+":"+eventData.layout,payload["content.status"]=eventData.workflow&&eventData.workflow===StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_DEFAULT?StartIngestClickHandler_PROPERTY_KEYS.STATUS_LOCAL:StartIngestClickHandler_PROPERTY_KEYS.STATUS_CACHED,payload["content.id"]=eventData.fieldData&&eventData.fieldData.sys.id||null,payload["content.name"]=eventData.fieldData&&eventData.fieldData.fields.headerText||null,payload["content.action"]=eventData.ctaURL||StartIngestUtil.a.getContentIdFromCTAData(eventData.ctaData),StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams),StartIngestUtil.a.mapStageConditions(payload,eventData.stage);break;case"recents":payload["event.workflow"]=jsUtil.a.capitalize(eventData.workflow),payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_RECENT_FILES,payload["event.subtype"]=StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_FILE,payload["ui.view_type"]=eventData.stage+":"+eventData.layout,payload["content.id"]=eventData.assetID,payload["content.type"]=StartIngestClickHandler_PROPERTY_KEYS.CONTENT_TYPE_RECENT,payload["content.size"]=eventData.size,payload["content.mimetype"]=eventData.extension,payload["content.status"]=eventData.workflow&&eventData.workflow===StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_DEFAULT?StartIngestClickHandler_PROPERTY_KEYS.STATUS_LOCAL:StartIngestClickHandler_PROPERTY_KEYS.STATUS_CACHED,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams),StartIngestUtil.a.mapStageConditions(payload,eventData.stage);break;case"learnFeedInApp":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_LEARN,payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_TUTORIAL,payload["event.subtype"]=eventData.subtype?eventData.subtype.toLowerCase():StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_INAPPTUT,payload["ui.view_type"]=eventData.stage+":"+eventData.layout,payload["content.id"]=eventData.tutorialID,payload["content.name"]=eventData.tutorialName,payload["content.category"]=eventData.tutorialLevel,payload["content.type"]=StartIngestClickHandler_PROPERTY_KEYS.CONTENT_TYPE_TUTORIAL,payload["content.status"]=StartIngestClickHandler_PROPERTY_KEYS.STATUS_CACHED,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams),StartIngestUtil.a.mapStageConditions(payload,eventData.stage),StartIngestUtil.a.appendURLParameters(payload,eventData.tutorialAction);break;case"learnFeedWeb":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_LEARN,payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_TUTORIAL,payload["event.subtype"]=eventData.subtype?eventData.subtype.toLowerCase():StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_WEBTUT,payload["ui.view_type"]=eventData.stage+":"+eventData.layout,payload["content.id"]=eventData.tutorialID,payload["content.name"]=eventData.tutorialName,payload["content.category"]=eventData.tutorialLevel,payload["content.type"]=StartIngestClickHandler_PROPERTY_KEYS.CONTENT_TYPE_TUTORIAL,payload["content.status"]=StartIngestClickHandler_PROPERTY_KEYS.STATUS_CACHED,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams),StartIngestUtil.a.mapStageConditions(payload,eventData.stage),StartIngestUtil.a.appendURLParameters(payload,eventData.tutorialAction);break;case"dragDrop":payload["event.workflow"]=jsUtil.a.capitalize(eventData.workflow),payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_DRAGDROP,payload["event.subtype"]=eventData.subtype?eventData.subtype.toLowerCase():StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_DRAGDROP,payload["ui.view_type"]=eventData.stage+":"+eventData.layout,payload["content.status"]=eventData.workflow&&eventData.workflow===StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_DEFAULT?StartIngestClickHandler_PROPERTY_KEYS.STATUS_LOCAL:StartIngestClickHandler_PROPERTY_KEYS.STATUS_CACHED,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams),StartIngestUtil.a.mapStageConditions(payload,eventData.stage);break;case"presetsAi":payload["event.workflow"]=jsUtil.a.capitalize(eventData.workflow),payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_PRESETS,payload["event.subtype"]=eventData.subtype?eventData.subtype.toLowerCase():StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_PRESET,payload["ui.view_type"]=eventData.stage+":"+eventData.layout,payload["content.id"]=eventData.presetID,payload["content.name"]=eventData.presetName,payload["content.type"]=eventData.presetType,payload["content.status"]=eventData.workflow&&eventData.workflow===StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_DEFAULT?StartIngestClickHandler_PROPERTY_KEYS.STATUS_LOCAL:StartIngestClickHandler_PROPERTY_KEYS.STATUS_CACHED,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams),StartIngestUtil.a.mapStageConditions(payload,eventData.stage);break;case"videoLightbox":payload["event.workflow"]=jsUtil.a.capitalize(eventData.workflow),payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_VIDEO,payload["event.subtype"]=eventData.subtype?eventData.subtype.toLowerCase():StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_LIGHTBOX,payload["ui.view_type"]=eventData.stage+":"+eventData.layout,payload["content.status"]=eventData.workflow&&eventData.workflow===StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_DEFAULT?StartIngestClickHandler_PROPERTY_KEYS.STATUS_LOCAL:StartIngestClickHandler_PROPERTY_KEYS.STATUS_CACHED,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams),StartIngestUtil.a.mapStageConditions(payload,eventData.stage),StartIngestUtil.a.appendURLParameters(payload,eventData.tutorialAction);break;case"toast":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_TOAST,payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_TOAST,payload["event.subtype"]=eventData.subtype?eventData.subtype.toLowerCase():StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_TOAST,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams);break;case"license":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_NGL,payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_CHICLET,payload["event.subtype"]=eventData.subtype?eventData.subtype.toLowerCase():StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_LICENSE,payload["event.value"]=eventData.trialDaysRemaining;break;case"license-resolve":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_NGL,payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_CHICLET,payload["event.subtype"]=eventData.subtype?eventData.subtype.toLowerCase():StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_RESOLVE_LICENSE,payload["event.value"]=eventData.trialDaysRemaining;break;case"show-all":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_LEARN,payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_TUTORIAL,payload["event.subtype"]=StartIngestClickHandler_PROPERTY_KEYS.SUBTYPE_SHOW_ALL,payload["ui.view_type"]=eventData.stage+":"+eventData.layout,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams),StartIngestUtil.a.mapStageConditions(payload,eventData.stage);break;case"left-nav":payload["event.workflow"]=StartIngestClickHandler_PROPERTY_KEYS.WORKFLOW_NAV,payload["event.subcategory"]=StartIngestClickHandler_PROPERTY_KEYS.SUBCATEGORY_LEFT_NAV,payload["event.subtype"]=eventData.subtype,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams);break;default:log.a.debug(StartIngestClickHandler_PROPERTY_KEYS.DEFAULT_CLICK+jsUtil.a.capitalize(eventID)+JSON.stringify(eventData),!0);}};const StartIngestMiscHandler_PROPERTY_KEYS=StartIngestUtil.a.KEYS;var StartIngestMiscHandler=function(eventID,eventData,payload){if(!eventID)return void(payload=null);switch(eventID){case"start-ui":payload["event.type"]=StartIngestMiscHandler_PROPERTY_KEYS.EVENT_TYPE_INIT,payload["event.workflow"]=StartIngestMiscHandler_PROPERTY_KEYS.WORKFLOW_INIT,payload["event.subtype"]=StartIngestMiscHandler_PROPERTY_KEYS.SUBTYPE_COMPONENT,payload["event.subcategory"]=StartIngestMiscHandler_PROPERTY_KEYS.SUBCATEGORY_INITIALIZE;break;case"home-default":payload["event.type"]=StartIngestMiscHandler_PROPERTY_KEYS.EVENT_TYPE_RENDER,payload["event.workflow"]=StartIngestMiscHandler_PROPERTY_KEYS.WORKFLOW_DEFAULT,payload["event.subtype"]=StartIngestMiscHandler_PROPERTY_KEYS.SUBTYPE_FALLBACK,payload["event.subcategory"]=StartIngestMiscHandler_PROPERTY_KEYS.SUBCATEGORY_DEFAULT_LAYOUT;break;case"video-watched":payload["event.type"]=StartIngestMiscHandler_PROPERTY_KEYS.EVENT_TYPE_VIDEO,payload["event.workflow"]=StartIngestMiscHandler_PROPERTY_KEYS.PAGE_FIRSTRUN,payload["event.subcategory"]=StartIngestMiscHandler_PROPERTY_KEYS.SUBCATEGORY_CARD,payload["event.subtype"]=StartIngestMiscHandler_PROPERTY_KEYS.SUBTYPE_VIDEO,payload["content.id"]=eventData.cardID,payload["content.name"]=eventData.bodyCopy,payload["content.type"]=eventData.cardType,payload["content.status"]=eventData.watched,payload["content.action"]=eventData.actionURL,payload["ui.sequence"]=eventData.position,StartIngestUtil.a.addSophiaAnalytics(payload,eventData.containerAnalyticsParams);break;case"lightroom":payload["event.workflow"]=StartIngestMiscHandler_PROPERTY_KEYS.WORKFLOW_WORK,payload["event.type"]=eventData.eventType,payload["event.subcategory"]="Lightroom",eventData.subtype&&(payload["event.subtype"]=eventData.subtype),"object"==typeof eventData.content&&["id","extension","mimetype","original_file_size","category","open_with_xmp"].forEach(key=>{eventData.content[key]&&(payload[`content.${key}`]=eventData.content[key])}),eventData.errorDesc&&(payload["event.error_desc"]=eventData.errorDesc);break;case"drag-drop":payload["event.type"]=StartIngestMiscHandler_PROPERTY_KEYS.EVENT_TYPE_DROP,payload["event.workflow"]=StartIngestMiscHandler_PROPERTY_KEYS.WORKFLOW_HOME,payload["event.subtype"]=StartIngestMiscHandler_PROPERTY_KEYS.SUBTYPE_DRAGDROP,payload["event.subcategory"]=StartIngestMiscHandler_PROPERTY_KEYS.SUBCATEGORY_DRAGDROP,payload["event.count"]=eventData.numfiles;break;case"perf":payload["event.type"]=StartIngestMiscHandler_PROPERTY_KEYS.EVENT_TYPE_PERF,payload["event.workflow"]=StartIngestMiscHandler_PROPERTY_KEYS.WORKFLOW_INIT,payload["event.subtype"]=StartIngestMiscHandler_PROPERTY_KEYS.SUBTYPE_COMPONENT,payload["event.subcategory"]=StartIngestMiscHandler_PROPERTY_KEYS.SUBCATEGORY_INITIALIZE,payload["content.status"]=eventData.time||null,payload["content.type"]=eventData.perf||null;break;case"fallback":payload["event.type"]=eventData.type||StartIngestMiscHandler_PROPERTY_KEYS.EVENT_TYPE_ERROR,payload["event.workflow"]=eventData.workflow||StartIngestMiscHandler_PROPERTY_KEYS.WORKFLOW_FALLBACK,payload["event.subtype"]=eventData.subtype?eventData.subtype.toLowerCase():StartIngestMiscHandler_PROPERTY_KEYS.SUBTYPE_FALLBACK,payload["event.subcategory"]=eventData.subcategory||StartIngestMiscHandler_PROPERTY_KEYS.SUBCATEGORY_FALLBACK,eventData.error&&StartIngestUtil.a.parseError(payload,eventData.error);break;default:log.a.debug(StartIngestMiscHandler_PROPERTY_KEYS.DEFAULT_MISC+jsUtil.a.capitalize(eventID)+JSON.stringify(eventData),!0);}};const StartIngestErrorHandler_PROPERTY_KEYS=StartIngestUtil.a.KEYS;var StartIngestErrorHandler=function(eventID,eventData,payload){if(!eventID)return void(payload=null);switch(eventID){case"defaultLayout":payload["event.workflow"]="home"===eventData.route?StartIngestErrorHandler_PROPERTY_KEYS.WORKFLOW_DEFAULT:StartIngestErrorHandler_PROPERTY_KEYS.WORKFLOW_LEARN,payload["event.subcategory"]=StartIngestErrorHandler_PROPERTY_KEYS.SUBCATEGORY_DEFAULT_LAYOUT,payload["event.subtype"]=eventData.subtype?eventData.subtype.toLowerCase():StartIngestErrorHandler_PROPERTY_KEYS.SUBTYPE_FALLBACK,payload["content.status"]=StartIngestErrorHandler_PROPERTY_KEYS.STATUS_LOCAL,StartIngestUtil.a.parseError(payload,eventData.error);break;case"learnTab":payload["event.workflow"]=StartIngestErrorHandler_PROPERTY_KEYS.WORKFLOW_LEARN,payload["event.subcategory"]=StartIngestErrorHandler_PROPERTY_KEYS.SUBCATEGORY_LEARN_SIDEBAR,payload["event.subtype"]=StartIngestErrorHandler_PROPERTY_KEYS.SUBTYPE_NO_LEARN_TAB,payload["content.size"]=eventData.totalWebTutorials,payload["content.type"]=StartIngestErrorHandler_PROPERTY_KEYS.CONTENT_TYPE_WEB,payload["exp.response_guid"]=eventData.responseGUID,StartIngestUtil.a.parseError(payload,eventData.error);break;case"toast":payload["event.workflow"]=StartIngestErrorHandler_PROPERTY_KEYS.WORKFLOW_TOAST,payload["event.subcategory"]=StartIngestErrorHandler_PROPERTY_KEYS.SUBCATEGORY_TOAST,payload["event.subtype"]=StartIngestErrorHandler_PROPERTY_KEYS.SUBTYPE_TOAST,payload["content.status"]=StartIngestErrorHandler_PROPERTY_KEYS.STATUS_LOCAL,StartIngestUtil.a.parseError(payload,eventData.error);break;case"sophia":payload["event.workflow"]=StartIngestErrorHandler_PROPERTY_KEYS.WORKFLOW_INIT,payload["event.subcategory"]=StartIngestErrorHandler_PROPERTY_KEYS.SUBCATEGORY_SOPHIA,payload["event.subtype"]=StartIngestErrorHandler_PROPERTY_KEYS.SUBTYPE_NETWORK,StartIngestUtil.a.parseError(payload,eventData.error);break;default:log.a.debug(StartIngestErrorHandler_PROPERTY_KEYS.DEFAULT_ERROR+jsUtil.a.capitalize(eventID)+JSON.stringify(eventData),!0);}};const StartIngestAdapter_PROPERTY_KEYS=StartIngestUtil.a.KEYS;class StartIngestAdapter_StartIngestAdapter{constructor(){this.processRenderEvent=StartIngestRenderHandler,this.processClickEvent=StartIngestClickHandler,this.processMiscellaneousEvent=StartIngestMiscHandler,this.processErrorEvent=StartIngestErrorHandler}configurationOptions(){return{INGEST_TYPE:"dunamis",PROJECT:"ccx-start-fm-service",API_KEY:"ccx-start-fm-service",X_PRODUCT:host["default"].data.hostID+"%2F"+host["default"].data.appVersion,USER_REGION:MainStore.a.user.UserProfile.countryCode}}configureBasePayload(basePayload){const hostData=host["default"].data,osVersion=platform["default"].osVersion(),osType=hostData.platform,payload={"source.name":"CCX-Start","source.version":window.appVersionNumber,"source.platform":osType,"source.os_version":osVersion,"source.client_id":imsBridge.a.getClientId(),"consumer.name":hostData.hostID,"consumer.version":hostData.appVersion,"consumer.platform":osType,"consumer.os_version":osVersion,"user.service_code":"creativecloud","user.service_level":"CS_LVL"+MainStore.a.user.LegacyProfile.licenseType,"event.context_guid":hostData.sessionGUID,"event.workflow":null,"event.category":StartIngestAdapter_PROPERTY_KEYS.CATEGORY_DESKTOP,"event.subcategory":null,"event.subtype":null,"event.user_guid":MainStore.a.user.UserProfile.userId,"event.user_agent":navigator.userAgent,"event.language":hostData.language,"event.session_guid":host["default"].mainStore.radarSessionGUID,"event.value":null,"content.id":null,"content.name":null,"content.type":null,"content.category":null,"content.status":null,"content.action":null,"content.author":null,"ui.view_type":null,"env.com.name":StartIngestAdapter_PROPERTY_KEYS.ENV_COM_NAME,"env.com.version":window.appVersionNumber,"env.fw.name":null};return basePayload?(jsUtil.a.assign(basePayload,payload),basePayload):payload}getAnalyticsQueryString(){const hostData=host["default"].data;let acctType="";switch(MainStore.a.user.UserProfile.accountType){case"type1":case"type2":case"type3":acctType="&uast="+MainStore.a.user.UserProfile.accountType.substr(MainStore.a.user.UserProfile.accountType.length-1);break;default:}return"locale="+hostData.language+"&x-product="+hostData.hostID+"%2F"+hostData.appVersion+"&x-product-location=CCXStart-welcome%2F"+host["default"].mainStore.radarVersion+"&x-radarSession="+host["default"].mainStore.radarSessionGUID+"&x-appSession="+hostData.sessionGUID+"&ute="+hostData.userTrackingEnabled+acctType}}var analytics_pip=__webpack_require__(59);__webpack_require__.d(__webpack_exports__,"updateHostData",function(){return AppEntry_updateHostData}),__webpack_require__.d(__webpack_exports__,"getLoggedInUserFromProcess",function(){return AppEntry_getLoggedInUserFromProcess}),__webpack_require__.d(__webpack_exports__,"initUser",function(){return AppEntry_initUser}),__webpack_require__.d(__webpack_exports__,"addProfileListeners",function(){return AppEntry_addProfileListeners}),__webpack_require__.d(__webpack_exports__,"updateSophiaData",function(){return AppEntry_updateSophiaData}),__webpack_require__.d(__webpack_exports__,"handleData",function(){return AppEntry_handleData}),__webpack_require__.d(__webpack_exports__,"enableUI",function(){return AppEntry_enableUI});const AppEntry_PROPERTY_KEYS=StartIngestUtil.a.KEYS;let AppEntry_lastPresentUser="",AppEntry_unobserveHomeScreenVisible=()=>{};perf.a.set(perf.a.TIMERS.LOADTIME)},456:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",function(){return DownloadProgress}),__webpack_require__.d(__webpack_exports__,"b",function(){return LrSDKHelper});var iaw_imsBridge__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(32),start_host__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(354),app_constants__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(360),iaw_log__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(1),bluebird__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1040),bluebird__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(bluebird__WEBPACK_IMPORTED_MODULE_4__),mobx__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(51),src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(14);window.VulcanInterface=src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_6__.a,window.VulcanMessage=src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_6__.b;const LIGHTROOM_SDK_SOURCE_URL={prod:"https://lightroom.adobe.com/sdk/lr-sdk.js",stage:"https://stage.adobelr.com/sdk/lr-sdk.js"};class DownloadProgress{constructor(){this.percent=0,this.promise=new Promise((resolve,reject)=>{this.resolve=resolve,this.reject=reject})}cancel(){}then(onFulfilled,onRejected){return this.promise.then(onFulfilled,onRejected)}catch(onRejected){return this.promise.catch(onRejected)}}(function(decorators,target,key,desc){var c=arguments.length,r=3>c?target:null===desc?desc=Object.getOwnPropertyDescriptor(target,key):desc,d;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(decorators,target,key,desc);else for(var i=decorators.length-1;0<=i;i--)(d=decorators[i])&&(r=(3>c?d(r):3<c?d(target,key,r):d(target,key))||r);return 3<c&&r&&Object.defineProperty(target,key,r),r})([mobx__WEBPACK_IMPORTED_MODULE_5__.t,function(k,v){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(k,v)}("design:type",Object)],DownloadProgress.prototype,"percent",void 0);class LrSDKHelper{static _loadSDK(){return LrSDKHelper._loadSDKPromise||(LrSDKHelper._loadSDKPromise=new bluebird__WEBPACK_IMPORTED_MODULE_4___default.a((resolve,reject)=>{const script=document.createElement("script"),sdkUrl=LIGHTROOM_SDK_SOURCE_URL[iaw_imsBridge__WEBPACK_IMPORTED_MODULE_0__.a.environment];iaw_log__WEBPACK_IMPORTED_MODULE_3__.a.toConsole("[LrSDKHelper] Loading Lr SDK from",sdkUrl),window.LrSDK=null,script.type="text/javascript",script.async=!0,script.src=sdkUrl,script.onload=()=>{resolve()},script.onerror=e=>{reject(e)},document.head.appendChild(script)})),LrSDKHelper._loadSDKPromise}static setup(options={}){return LrSDKHelper._sdkInitialized&&!options?LrSDKHelper._loadSDK():LrSDKHelper._loadSDK().then(()=>iaw_imsBridge__WEBPACK_IMPORTED_MODULE_0__.a.getAccessTokenP()).then(token=>{const credentials=Object.assign({token:token,clientId:app_constants__WEBPACK_IMPORTED_MODULE_2__.a.LIGHTROOM_CLIENT_ID,environment:iaw_imsBridge__WEBPACK_IMPORTED_MODULE_0__.a.environment},options||{});return LrSDK.initializeP(credentials,"catalog","importer")}).then(()=>{LrSDKHelper._sdkInitialized=!0})}static downloadLightroomFile(clientId,assetId,assetUrl,filename,options={},progress){const{retry=2,retryDelay=1e3}=options;return iaw_log__WEBPACK_IMPORTED_MODULE_3__.a.toConsole(`[downloadLightroomFile] downloading ${assetUrl}`),new Promise((resolve,reject)=>{const handleError=err=>(iaw_log__WEBPACK_IMPORTED_MODULE_3__.a.toConsole(`[downloadLightroomFile] Failed to download file from ${assetUrl}`,err),0===retry?void reject(err):void(iaw_log__WEBPACK_IMPORTED_MODULE_3__.a.toConsole("[downloadLightroomFile] will retry..."),setTimeout(()=>{LrSDKHelper.downloadLightroomFile(clientId,assetId,assetUrl,filename,{retry:retry-1,retryDelay},progress).then(resolve).catch(reject)},retryDelay)));let receivedMessage=!1;const cleanupVulcanListeners=()=>{src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_6__.a.removeMessageListener(src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_6__.b.TYPE_PREFIX+"ccxprocess.CCPhotoDownloadResponse",onPhotoDownloadComplete),src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_6__.a.removeMessageListener(src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_6__.b.TYPE_PREFIX+"ccxprocess.CCPhotoDownloadProgress",onPhotoDownloadProgress),src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_6__.a.removeMessageListener(src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_6__.b.TYPE_PREFIX+"ccxprocess.CCPhotoDownloadError",onPhotoDownloadError)},getDataFromMessage=message=>{const responseData=src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_6__.a.getPayload(message);let data;try{data=JSON.parse(responseData)}catch(e){return}if(data&&data.id===assetId)return data},onPhotoDownloadError=message=>{receivedMessage=!0,cleanupVulcanListeners();const data=getDataFromMessage(message);handleError(data&&data.error)},onPhotoDownloadProgress=message=>{receivedMessage=!0;const data=getDataFromMessage(message);data&&(progress.percent=data.percentage)},onPhotoDownloadComplete=message=>{receivedMessage=!0,cleanupVulcanListeners();const data=getDataFromMessage(message);data&&(iaw_log__WEBPACK_IMPORTED_MODULE_3__.a.toConsole(`[downloadLightroomFile] downloading succeeded ${assetUrl}, result is ${data.path}`),resolve(data.path))};(()=>{src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_6__.a.addMessageListener(src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_6__.b.TYPE_PREFIX+"ccxprocess.CCPhotoDownloadResponse",onPhotoDownloadComplete),src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_6__.a.addMessageListener(src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_6__.b.TYPE_PREFIX+"ccxprocess.CCPhotoDownloadProgress",onPhotoDownloadProgress),src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_6__.a.addMessageListener(src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_6__.b.TYPE_PREFIX+"ccxprocess.CCPhotoDownloadError",onPhotoDownloadError)})();const photoDownloadRequestMessage=new src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_6__.b(src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_6__.b.TYPE_PREFIX+"ccxprocess.CCPhotoDownloadRequest");photoDownloadRequestMessage.setPayload(JSON.stringify({clientId:clientId,id:assetId,url:assetUrl,filename:filename})),src_CEP_Vulcan__WEBPACK_IMPORTED_MODULE_6__.a.dispatchMessage(photoDownloadRequestMessage),setTimeout(()=>{receivedMessage||(cleanupVulcanListeners(),handleError(new Error("Timeout waiting for Vulcan message. Make sure your CCX process version is >= 2.2.0-36")))},5e3),progress.cancel=()=>{cleanupVulcanListeners(),receivedMessage=!0,iaw_log__WEBPACK_IMPORTED_MODULE_3__.a.toConsole("[downloadLightroomFile] cancel requested"),reject(new Error("Download cancelled"))}})}static openLightroomFile(assetId){let _asset,_fullXmpData;const progress=new DownloadProgress,_onOpenFileHandler=status=>{if(!status)iaw_log__WEBPACK_IMPORTED_MODULE_3__.a.logJSON("User cancelled Camera Raw file open, or data was malformed.",assetId);else{const newTitle=_asset.payload.importSource.fileName.replace(/\.\w+$/,"");start_host__WEBPACK_IMPORTED_MODULE_1__["default"].releaseFileReference(newTitle)}};return LrSDKHelper.setup().then(()=>LrSDK.catalog.assetUrlP(assetId)).then(assetURL=>LrSDK.catalog.getAssetP(assetURL)).then(asset=>(_asset=asset,LrSDK.catalog.xmpForAssetP(asset))).then(fullXmpData=>{_fullXmpData=fullXmpData;let imageUrl=_asset.links["/rels/master"]&&_asset.links["/rels/master"].href,fileName=_asset.payload.importSource.fileName;return imageUrl||(imageUrl=_asset.links["/rels/proxy_type/2560"].href,fileName=fileName.replace(/\.\w+$/,".DNG")),LrSDKHelper.downloadLightroomFile(app_constants__WEBPACK_IMPORTED_MODULE_2__.a.LIGHTROOM_CLIENT_ID,assetId,_asset.base+imageUrl,fileName,{},progress)}).then(path=>{_asset.payload.develop.userUpdated?start_host__WEBPACK_IMPORTED_MODULE_1__["default"].openPathWithXMP(path,_fullXmpData,_asset.payload.develop.userOrientation,_onOpenFileHandler):start_host__WEBPACK_IMPORTED_MODULE_1__["default"].openDocument(path,!0,_onOpenFileHandler),progress.resolve()}).catch(err=>{iaw_log__WEBPACK_IMPORTED_MODULE_3__.a.toConsole("openLightroomFile error: "+err),progress.resolve()}),progress}}LrSDKHelper._loadSDK()},775:function(){},776:function(){},777:function(){},778:function(){},779:function(){},780:function(){},781:function(){},883:function(){}}]);