!function(){"use strict";var e,t,n,r,i,o={200:function(e,t,n){n.r(t),n.d(t,{ReactComponent:function(){return c}});var r,i=n(49255),o=["title","titleId"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t=-r.height*t&&r.bottom<=window.innerHeight+n+r.height*t&&r.left>=-r.width*t&&r.right<=window.innerWidth+r.width*t},L=function(e){return/http(?:s?):\/\/(?:www\.)?youtu(?:be\.com\/watch\?v=|\.be\/)([\w\-\_]*)(&(amp;)?‌​[\w\?‌​=]*)?/.test(e)&&!e.includes("/channel/")},k=function(e,t){var n=e;return e.length>t&&(n=e.slice(0,t-3),n+="..."),n};var S=function(e,t){d.x3(e).then((function(){t&&t()}),(function(t){(0,c.ZI)("".concat(t,": Copy ").concat(e," Js Error"))}))},j=!1,I=function(){if(document&&!(j||!!document.getElementById("optimonk-script-loader"))){var e=document.createElement("script");e.onload=function(){j=!0},e.src="".concat((0,f.kB)(),"/optimonkScript.js"),document.body.appendChild(e)}},_=function(e,t){return Object.keys(e).forEach((function(n){var i=[];e.hasOwnProperty(n)&&(i=e[n]),t.hasOwnProperty(n)?t[n]=[].concat((0,r.A)(t[n]),(0,r.A)(i)):t[n]=i})),t},F=function(){var e,t=window.navigator.userAgent;return t&&(t=t.toLowerCase()),null===(e=t)||void 0===e?void 0:e.includes("headlesschrome")}},4472:function(e,t,n){n.d(t,{FF:function(){return d},ZI:function(){return u},nG:function(){return s}});var r=n(5544),i=n(32980),o=n(98120),a=n(71361),l=n(68240),c=n(87162),s="__celeroLogged",u=function(e,t){var n={};if(t)if("tags"in t||"context"in t||"fingerprint"in t||"level"in t||"contextData"in t)n=t;else{var l=t,c={};Object.entries(l).forEach((function(e){var t=(0,r.A)(e,2),n=t[0],i=t[1],o="string"==typeof i?i:String(i);o.length<=200&&(c[n]=o)})),n={tags:c,context:{details:l}}}var u,d=(u=e)instanceof Error||"object"==typeof u&&null!==u&&"stack"in u&&"message"in u?e:new Error("string"==typeof e?e:String(e));if(d[s])a.Z({category:"duplicate-log",level:n.level||"error",message:d.message,data:{tags:n.tags,context_keys:n.context?Object.keys(n.context):void 0}});else{try{Object.defineProperty(d,s,{value:!0,enumerable:!1,configurable:!0,writable:!1})}catch(e){}o.v4((function(e){e.setLevel(n.level||"error"),function(e,t){t&&Object.entries(t).forEach((function(t){var n=(0,r.A)(t,2),i=n[0],o=n[1];if(null!=o){var a="string"==typeof o?o:String(o);e.setTag(i,a.length>200?a.slice(0,200):a)}}))}(e,n.tags),n.context&&Object.entries(n.context).forEach((function(t){var n=(0,r.A)(t,2),i=n[0],o=n[1];e.setContext(i,o)})),n.contextData&&e.setContext("details",n.contextData),n.fingerprint&&n.fingerprint.length>0&&e.setFingerprint(n.fingerprint),i.Cp(d)}))}},d=function(e,t){o.v4((function(n){n.setLevel("warning"),t&&n.setContext("warning_details",t),n.setFingerprint([e]),i.wd(e,"warning")}))};t.Ay=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.gs,r=arguments.length>3?arguments[3]:void 0;n!==c.gs&&t((0,l.G)("".concat(n),"error",!0)),(e&&e.response&&e.response.status&&200===e.response.status||!e.response)&&u(e,{context:r?{details:r}:void 0,tags:{celeroSeverity:"Notification"}})}},9244:function(e,t,n){n.d(t,{R:function(){return r}});var r=function(e){return e.LOGGED_IN="loggedIn",e.NEWSESSION="newSession",e.CONTENTS="contents",e.SESSION="session",e}({})},9551:function(e,t,n){var r=n(23029),i=n(92901),o=n(40428),a=n(5536),l=function(){function e(){(0,r.A)(this,e)}return(0,i.A)(e,[{key:"register",value:function(e,t,n,r){var i={id:e,config:t,source:n,integration_id:r};o.A.dispatch((0,a.SX)(i))}},{key:"registerBatch",value:function(e){0!==e.length&&o.A.dispatch((0,a.N6)(e))}},{key:"get",value:function(e){var t,n=null===(t=o.A.getState().formsRegistry)||void 0===t?void 0:t.byId[e];if(n)return n.config}},{key:"getAccessControl",value:function(){var e,t=null===(e=o.A.getState().formsRegistry)||void 0===e?void 0:e.accessControlFormId;if(t)return this.get(t)}},{key:"has",value:function(e){var t;return!(null===(t=o.A.getState().formsRegistry)||void 0===t||!t.byId[e])}},{key:"list",value:function(){var e=o.A.getState();return e.formsRegistry?e.formsRegistry.allIds.map((function(t){return e.formsRegistry.byId[t]})):[]}},{key:"setAccessControl",value:function(e){this.has(e)&&o.A.dispatch((0,a.Uv)(e))}},{key:"clear",value:function(){o.A.dispatch((0,a.V)())}},{key:"subscribe",value:function(e){return o.A.subscribe((function(){e()}))}},{key:"getState",value:function(){return o.A.getState().formsRegistry}},{key:"debug",value:function(){this.list()}}],[{key:"getInstance",value:function(){return e.instance||(e.instance=new e),e.instance}}])}();l.instance=void 0;var c=l.getInstance();t.A=c,"undefined"!=typeof window&&(window.formsRegistryService=c)},11277:function(e,t,n){n.r(t),n.d(t,{ReactComponent:function(){return c}});var r,i=n(49255),o=["title","titleId"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t0;)"{"===n[h]?v++:"}"===n[h]&&v--,h++;a+=m+c(n.slice(p+1,h-1),t)+"}",i=h}else{var g=n.indexOf("{",i);if(-1===g){a+=n.slice(i);break}for(var w=n.slice(i,g).split(",").map((function(e){return e.trim()})).filter(Boolean),y=w.map((function(e){return e.startsWith(r)?e:"".concat(r," ").concat(e)})).join(", "),b=w.filter((function(e){return!e.startsWith(r)&&/^[.#:[]/.test(e)})).map((function(e){return"".concat(r).concat(e)})).join(", "),C=1,x=g+1;x0;)"{"===n[x]?C++:"}"===n[x]&&C--,x++;var E=n.slice(g+1,x-1);a+="".concat(y,"{").concat(E,"}"),b&&(a+="".concat(b,"{").concat(E,"}")),i=x}return a}return(0,r.useEffect)((function(){var e=!1,r=c(t||null,n),s=function(e){var t=c(e||null,n);if(t){if(!a.current){var r=document.createElement("style");r.setAttribute("data-component",n),r.setAttribute("data-source","base"),document.head.appendChild(r),a.current=r}a.current.textContent=t}else a.current&&(a.current.remove(),a.current=null)};if(s(i||null),o&&fetch(o).then((function(e){return e.ok?e.text():Promise.reject(new Error("Failed loading ".concat(o)))})).then((function(t){e||s(t)})).catch((function(){})),r){if(l.current)document.head.appendChild(l.current);else{var u=document.createElement("style");u.setAttribute("data-component",n),u.setAttribute("data-source","s3"),document.head.appendChild(u),l.current=u}l.current.textContent=r}else l.current&&(l.current.remove(),l.current=null);return function(){e=!0,a.current&&(a.current.remove(),a.current=null),l.current&&(l.current.remove(),l.current=null)}}),[t,i,o,n]),null}},13319:function(e,t,n){n.d(t,{h:function(){return s}});var r,i,o=n(49255),a=["title","titleId"];function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?x(e.favicon):x("/celero.ico")};(0,a.useEffect)((function(){var e=function(){var e=(0,i.A)((0,r.A)().m((function e(){var t;return(0,r.A)().w((function(e){for(;;)switch(e.n){case 0:return e.n=1,d.A.getCompanyCustomization().then((function(e){return e}));case 1:(t=e.v)&&O(t),w(!1);case 2:return e.a(2)}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[]);var L=(0,l.d4)((function(e){return{notification:e.notification}})).notification,k=L.message,S=L.isOpen,j=L.severity,I=function(){E((0,s.X)())},_=C||"";return(0,v.jsxs)(v.Fragment,{children:[C&&(0,v.jsx)(m.A,{faviconLink:_}),(0,v.jsxs)(v.Fragment,{children:[!g&&t,(0,v.jsx)(c.A,{variant:j,verticalPosition:"bottom",horizantalPosition:"center",message:k,isOpen:S,onClose:I})]})]})},g=h},14724:function(e,t,n){n.d(t,{GW:function(){return a},PU:function(){return c},kX:function(){return l}});var r=n(63503),i=n(49255),o=!1;function a(){o||(o=!0,setTimeout((function(){o=!1}),100),window.IDRViewer.prev())}function l(){o||(o=!0,setTimeout((function(){o=!1}),100),window.IDRViewer.next())}function c(e){var t=e.idrViewerElement,n=e.viewerOptions,o=e.isControlsBarParamEnabled,c=n.isShowControls,s=n.isPresentationMode,u=(0,i.useRef)(!1),d=function(e){u.current||window.disableNavigation||((e.deltaY>0||e.deltaX>0)&&l(),(e.deltaY<0||e.deltaX<0)&&a())},f=(0,i.useMemo)((function(){return(0,r.n)(d,1500,{leading:!0,trailing:!1})}),[]),p=function(e){f(e),e.preventDefault()},m=function(e){if(!u.current&&!window.disableNavigation)switch(e.key){case"PageUp":case"ArrowUp":case"ArrowLeft":a(),e.preventDefault();break;case"PageDown":case"ArrowDown":case"ArrowRight":l(),e.preventDefault()}},v=function(e){if(!u.current&&!window.disableNavigation)switch(e.key){case"PageUp":case"ArrowUp":if(e.preventDefault(),!t.current)break;t.current.scrollBy({top:-100,behavior:"smooth"});break;case"PageDown":case"ArrowDown":if(e.preventDefault(),!t.current)break;t.current.scrollBy({top:100,behavior:"smooth"});break;case"ArrowLeft":a();break;case"ArrowRight":l()}};window.IDRViewer.on("ready",(function(){var e;window.celeroData||(!s||c&&o?document.addEventListener("keydown",v):(document.addEventListener("keydown",m),null===(e=t.current)||void 0===e||e.addEventListener("wheel",p,{passive:!1})))}))}},15441:function(e,t,n){n.r(t),n.d(t,{ReactComponent:function(){return s}});var r,i,o=n(49255),a=["title","titleId"];function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t1||v()||r.touches&&1===r.touches.length&&(e=r.touches[0].clientX,t=!0,n=!1)}function i(r){if(!(window.visualViewport&&window.visualViewport.scale>1)&&t&&!v()&&r.touches&&0!==r.touches.length){var i=r.touches[0].clientX-e;!n&&Math.abs(i)>10&&(n=!0),n&&r.preventDefault()}}function a(r){if(!(window.visualViewport&&window.visualViewport.scale>1)&&t&&!v()){if(!r.changedTouches||0===r.changedTouches.length)return t=!1,void(n=!1);var i=r.changedTouches[0].clientX-e;Math.abs(i)>m&&(i<0&&y0&&y>1&&(0,o.GW)()),t=!1,n=!1}}}),[x,E,y,A,f]),(0,i.useEffect)((function(){if(!x&&!E&&!f){var e=!0,t=null;return window.addEventListener("wheel",r,{passive:!1}),function(){window.removeEventListener("wheel",r),t&&window.clearTimeout(t)}}function n(){e=!0}function r(r){if(Math.abs(r.deltaX)>Math.abs(r.deltaY)&&Math.abs(r.deltaX)>200){if(!e)return;e=!1,t&&window.clearTimeout(t),t=window.setTimeout(n,10),r.deltaX>0&&y1&&((0,o.GW)(),r.preventDefault())}}}),[x,E,y,A,f]),b?(0,p.jsx)(p.Fragment,{children:!x&&!E&&(0,p.jsxs)(p.Fragment,{children:[y>1&&(0,p.jsx)(g,{onClick:function(){(0,o.GW)()},"aria-label":"Previous slide",bgcolor:O,children:(0,p.jsx)(l.A,{fontSize:"large",style:{color:L}})}),y1&&void 0!==arguments[1]?arguments[1]:500;return e.length>t?"".concat(e.slice(0,t),"…(+").concat(e.length-t,")"):e},i=function(){var e=navigator.connection;if(e)return{effective_type:e.effectiveType,downlink:e.downlink,rtt:e.rtt,save_data:e.saveData}},o=function(e){if(null!=e){if("string"==typeof e)return r(e);if("number"==typeof e||"boolean"==typeof e)return String(e);try{return r(JSON.stringify(e))}catch(e){return"[unserializable]"}}},a=function(e){var t,n,r,a,l=e.config||{},c=e.response,s=null==l||null===(t=l.metadata)||void 0===t?void 0:t.start_time,u="number"==typeof s?Math.round(performance.now()-s):void 0,d=null==l?void 0:l.signal,f=(null==l?void 0:l.headers)&&(l.headers["X-Request-Id"]||l.headers["x-request-id"])||void 0;return{code:e.code,message:e.message,status:null!==(n=null==c?void 0:c.status)&&void 0!==n?n:0,status_text:null!==(r=null==c?void 0:c.statusText)&&void 0!==r?r:"",method:null==l||null===(a=l.method)||void 0===a?void 0:a.toUpperCase(),url:null==l?void 0:l.url,base_url:null==l?void 0:l.baseURL,request_id:"string"==typeof f?f:void 0,duration_ms:u,online:"undefined"==typeof navigator||navigator.onLine,visibility:"undefined"!=typeof document?document.visibilityState:"unknown",connection:i(),signal_aborted:null==d?void 0:d.aborted,signal_reason:null!=d&&d.aborted&&null!=d&&d.reason?String(d.reason):void 0,response_data_preview:o(null==c?void 0:c.data),request_headers:null!=l&&l.headers?JSON.parse(JSON.stringify(l.headers)):void 0,response_headers:null!=c&&c.headers?JSON.parse(JSON.stringify(c.headers)):void 0,no_response:!c}}},38219:function(e,t,n){n.r(t),n.d(t,{ReactComponent:function(){return s}});var r,i,o=n(49255),a=["title","titleId"];function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:g,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case h.h:return(0,o.A)((0,o.A)({},e),t.payload);case h.U:return(0,o.A)((0,o.A)({},e),{},{message:null,isOpen:!1});default:return e}},loader:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,t=arguments.length>1?arguments[1]:void 0;return t.type===f.r?(0,o.A)((0,o.A)({},e),t.payload):e},viewer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case x.T:return(0,o.A)((0,o.A)({},e),t.payload);case x.i:return(0,o.A)({},e);default:return e}},genericPaper:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,t=arguments.length>1?arguments[1]:void 0;return t.type===u.b?(0,o.A)((0,o.A)({},e),t.payload):e},tooltip:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:C,t=arguments.length>1?arguments[1]:void 0;return t.type===b.K?(0,o.A)((0,o.A)({},e),t.payload):e},bubble:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments.length>1?arguments[1]:void 0;return t.type===a.h?(0,o.A)((0,o.A)({},e),t.payload):e},theme:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y,t=arguments.length>1?arguments[1]:void 0;return t.type===w.L?(0,o.A)((0,o.A)({},e),t.payload):e},mobileMenu:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:v,t=arguments.length>1?arguments[1]:void 0;return t.type===m.W?(0,o.A)((0,o.A)({},e),t.payload):e},customEvents:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1?arguments[1]:void 0;return t.type===c.p?(0,o.A)((0,o.A)({},e),t.payload):e},marketoFormData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O,t=arguments.length>1?arguments[1]:void 0;return t.type===A.H?t.payload:e},defaultFormData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S,t=arguments.length>1?arguments[1]:void 0;return t.type===k.z?[].concat((0,L.A)(e),(0,L.A)(t.payload)):e},htmlSnippets:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:I,t=arguments.length>1?arguments[1]:void 0;return t.type===j.g?(0,L.A)(t.payload):e},companyForms:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:F,t=arguments.length>1?arguments[1]:void 0;return t.type===_.L?[].concat((0,L.A)(e),(0,L.A)(t.payload)):e},shortenData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:M,t=arguments.length>1?arguments[1]:void 0;return t.type===P.q?(0,o.A)((0,o.A)({},e),t.payload):e},inContentSearch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:B,t=arguments.length>1?arguments[1]:void 0;return t.type===R.e?(0,o.A)((0,o.A)({},e),t.payload):e},gdpr:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:N,t=arguments.length>1?arguments[1]:void 0;return t.type===D.j?(0,o.A)((0,o.A)({},e),t.payload):e},celeroFormBuilderData:T.G,formsRegistry:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:U,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case z.n:var n=t.payload,r=e.allIds.includes(n.id);return(0,o.A)((0,o.A)({},e),{},{byId:(0,o.A)((0,o.A)({},e.byId),{},(0,V.A)({},n.id,n)),allIds:r?e.allIds:[].concat((0,L.A)(e.allIds),[n.id])});case z.Jt:var i=t.payload,a=(0,o.A)({},e.byId),l=(0,L.A)(e.allIds);return i.forEach((function(e){a[e.id]=e,l.includes(e.id)||l.push(e.id)})),(0,o.A)((0,o.A)({},e),{},{byId:a,allIds:l});case z.x$:var c=t.payload;return(0,o.A)((0,o.A)({},e),{},{accessControlFormId:c});case z.eh:return U;default:return e}}}),H=(0,r.y$)(G,(0,r.Tw)(i.A))},44415:function(e,t,n){n.d(t,{Gb:function(){return o},He:function(){return i},Oh:function(){return h},Oo:function(){return v},aQ:function(){return a},g$:function(){return l},iQ:function(){return p},kB:function(){return m},lK:function(){return d},s_:function(){return c},vA:function(){return s}});var r=n(97027),i=function(e,t,n){var r=new RegExp("([?&])"+t+"=.*?(&|$)","i"),i=-1!==e.indexOf("?")?"&":"?";return e.match(r)?e.replace(r,"$1"+t+"="+n+"$2"):e+i+t+"="+n},o=function(e,t){return e.replace(new RegExp("[?&]"+t+"=[^&#]*(#.*)?$"),"$1").replace(new RegExp("([?&])"+t+"=[^&]*&"),"$1")},a=function(e){var t=document.createElement("a");return t.rel="nofollow",t.href=e,t.pathname},l=function(e){var t=document.createElement("a");return t.rel="nofollow",t.href=e,t},c=function(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&e[n]&&t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.length?t.join("&"):""},s=function(){var e,t=window.location.search;if(null!==(e=window.celeroData)&&void 0!==e&&e.url_full)try{t=new URL(window.celeroData.url_full).search}catch(e){}return r.A.parse(t)};window.addEventListener("onhashchange",(function(){var e=s();window.celeroURLParams=e}));var u=s();function d(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(""!==t&&(t+="&"),t+="".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(JSON.stringify(e[n]))));return t}function f(e){try{return e.startsWith("/")}catch(e){return!1}}function p(e){if("string"==typeof e&&e)return f(e)?(t=e,r=window.location.origin,null!==(n=window.celeroData)&&void 0!==n&&n.domain&&(r="https://"+window.celeroData.domain),f(t)?"".concat(r).concat(t):t):e;var t,n,r;if(Array.isArray(e))return e.map((function(e){return p(e)}));if("object"==typeof e&&null!==e){var i={};for(var o in e)e.hasOwnProperty(o)&&(o.toLowerCase().includes("color")&&"string"==typeof e[o]&&!e[o].startsWith("#")?i[o]="#"+e[o]:i[o]=p(e[o]));return i}return e}function m(){var e,t=window.location.origin;return null!==(e=window.celeroData)&&void 0!==e&&e.domain&&(t="https://"+window.celeroData.domain),t}function v(){var e=window.location.pathname,t=window.location.href,n=t.indexOf(e);return e+t.substring(n+e.length)}function h(e,t){try{var n=new URL(t,window.location.origin),r=new URLSearchParams(n.search),i=new URL(e,window.location.origin),o=new URLSearchParams(i.search);return r.forEach((function(e,t){o.set(t,e)})),"".concat(i.origin).concat(i.pathname,"?").concat(o.toString())}catch(t){return e}}window.celeroURLParams=u,window.addEventListener("onpushstate",(function(){var e=s();window.celeroURLParams=e})),window.history.pushState=new Proxy(window.history.pushState,{apply:function(e,t,n){var r=new Event("onpushstate");return dispatchEvent(r),e.apply(t,n)}})},45863:function(e,t,n){n.r(t),n.d(t,{ReactComponent:function(){return c}});var r,i=n(49255),o=["title","titleId"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:{},r=null,i=0,o=n.leading,a=void 0===o||o,l=n.trailing,c=void 0===l||l;return function(){for(var n=this,o=arguments.length,l=new Array(o),s=0;st?(r&&(clearTimeout(r),r=null),i=u,e.apply(this,l)):!r&&c&&(r=setTimeout((function(){i=a?Date.now():0,r=null,e.apply(n,l)}),d))}}function i(e,t){var n=null;return function(){for(var r=this,i=arguments.length,o=new Array(i),a=0;a0?n/r:0)).toFixed(2))})}),500)};return e.addEventListener("scroll",i,{passive:!0}),function(){e.removeEventListener("scroll",i),n&&window.clearTimeout(n)}}}}),[t,r]);return{rootRef:i,trackRef:a,emit:function(e,n){var r=Array.isArray(e)?e:[e];return w(t,r,n)}}}var b=n.p+"static/media/styles.9030d7c6ea9829b5d8eb.css",C=n(65983),x={SLUG:"carousel",NAME:"carousel",EVENTS:{VIEW:["view"],SCROLL:["scroll"],CARD_CLICK:["card","click"]}};function E(e){var t=e.title,n=e.cards,r=e.companyId,a=e.componentId,l=(0,u.b)(r,"carousel",a).stylesheet,c=y({componentSlug:x.SLUG,viewPayload:{component_title:t,cards_count:(null==n?void 0:n.length)||0},enableHorizontalScrollTracking:!0}),m=c.rootRef,v=c.trackRef,h=c.emit,g=b;(0,o.useEffect)((function(){}),[]);return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(d.A,{css:l,baseCss:g,componentName:x.NAME}),(0,C.jsxs)("div",{className:"carousel",ref:m,"data-celero-sp":x.NAME,"assistant-c-name":a?"carousel-".concat(a):"carousel",children:[t&&(0,C.jsx)("div",{className:"header",children:t}),(0,C.jsx)("div",{className:"body",children:(0,C.jsx)("div",{className:"track",ref:v,children:null==n?void 0:n.map((function(e,t){var n=(0,p.bN)(e.image_url||e.image),r=function(e){if(!e)return e;try{var t=new URL(e,window.location.origin),n=t.searchParams,r=(0,f.vA)();return Object.entries(r).forEach((function(e){var t=(0,i.A)(e,2),r=t[0],o=t[1];n.has(r)||null===o||(Array.isArray(o)?o.forEach((function(e){return null!==e&&n.append(r,e)})):n.set(r,o))})),t.toString()}catch(t){return e}}(e.link_url||e.href||e.link),o=e.description||e.subtitle||e.summary,a=e.keywords||e.tags;return(0,C.jsx)("a",{href:r,onClick:function(){h(x.EVENTS.CARD_CLICK,{card_eid:e.eid,card_title:e.title,link_url:r,position_index:t})},className:"card-link",children:(0,C.jsxs)("div",{className:"card",children:[n?(0,C.jsx)("img",{className:"media",src:n,alt:e.title}):(0,C.jsx)("div",{className:"media","aria-hidden":"true"}),(0,C.jsxs)("div",{className:"card-body",children:[(0,C.jsx)("div",{className:"title",children:e.title}),o&&(0,C.jsx)("div",{className:"subtitle",children:o}),a&&(0,C.jsxs)("div",{className:"keywords",children:[(0,C.jsx)(s.A,{className:"tag-icon"}),Array.isArray(a)?a.join(" · "):""]})]})]})},"".concat(e.eid||e.title,"-").concat(t))}))})})]})]})}var A=n.p+"static/media/styles.0c08e1d1f59677e6c07d.css",O={SLUG:"summary",NAME:"summary",EVENTS:{VIEW:["view"]}};function L(e){var t=e.title,n=void 0===t?"Summary":t,r=e.body,i=e.companyId,o=e.componentId,a=(0,u.b)(i,O.NAME,o).stylesheet,l=y({componentSlug:O.SLUG,viewPayload:{component_title:n}}).rootRef,c=A;return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(d.A,{css:a,baseCss:c,componentName:O.NAME}),(0,C.jsxs)("div",{className:"summary-container",ref:l,"data-celero-sp":O.NAME,"assistant-c-name":o?"summary-".concat(o):"summary",children:[n&&(0,C.jsx)("div",{className:"header",children:n}),(0,C.jsx)("div",{className:"card-body",children:r&&(0,C.jsx)("div",{className:"subtitle",children:r})})]})]})}var k=n(30991),S=n.p+"static/media/styles.43022456e85e3c7140ed.css",j={SLUG:"outline",NAME:"outline",EVENTS:{VIEW:["view"],ITEM_CLICK:["item","click"]}};function I(e){var t=e.title,n=e.items,r=e.onGoToPage,i=e.companyId,o=e.componentId,a=(0,u.b)(i,j.NAME,o).stylesheet,l=y({componentSlug:j.SLUG,viewPayload:{component_title:t,items_count:(null==n?void 0:n.length)||0}}),c=l.rootRef,s=l.emit,f=S;return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(d.A,{css:a,baseCss:f,componentName:j.NAME}),(0,C.jsxs)("div",{className:"outline",ref:c,"data-celero-sp":j.NAME,"assistant-c-name":o?"outline-".concat(o):"outline",children:[t&&(0,C.jsx)("div",{className:"header",children:t}),(0,C.jsx)("div",{className:"body",children:(0,C.jsx)("div",{className:"list",children:null==n?void 0:n.map((function(e,t){var n=e.title||e.description||e.text||"";return(0,C.jsxs)("div",{className:"item",role:"button",onClick:function(){return function(e,t){var n,i=null!==(n=e.page)&&void 0!==n?n:e.page_start;s(j.EVENTS.ITEM_CLICK,{item_title:e.title||e.description||e.text,position_index:t,target_page:i}),null!=i&&r&&r(i)}(e,t)},children:[(0,C.jsx)(k.A,{className:"icon"}),(0,C.jsx)("div",{className:"text",children:n})]},"".concat(n,"-").concat(t))}))})})]})]})}var _=n(91212),F=n(10467),P=n.p+"static/media/styles.37008852affbaa0cbdff.css",M={SLUG:"signature",NAME:"signature",EVENTS:{VIEW:["view"],SELECT_CHANGE:["mode","change"],INPUT_CHANGE:["input","change"],SUBMIT:["submit"],ERROR:["error"]}};function R(e,t){if(e&&t){var n,i=t.replace(/\[(\d+)\]/g,".$1").split("."),o=e,a=(0,r.A)(i);try{for(a.s();!(n=a.n()).done;){var l=n.value;if(l&&"$"!==l){if(null==o)return;o=o[l]}}}catch(e){a.e(e)}finally{a.f()}return o}}function B(e,t,n){if(e&&t)for(var r=t.replace(/\[(\d+)\]/g,".$1").split("."),i=e,o=0;o2097152)){e.n=2;break}return b(M.EVENTS.ERROR,{message:"file-too-large"}),e.a(2);case 2:(i=new FileReader).onload=function(){var e="string"==typeof i.result?i.result:void 0;T(e),b(M.EVENTS.INPUT_CHANGE,{kind:"image"})},i.readAsDataURL(r);case 3:return e.a(2)}}),e)})));return function(t){return e.apply(this,arguments)}}(),ee=function(){var e=(0,F.A)((0,_.A)().m((function e(){return(0,_.A)().w((function(e){for(;;)switch(e.n){case 0:return b(M.EVENTS.SUBMIT,{mode:k,has_value:!!N}),e.n=1,Promise.resolve(D(l,v,{type:k,value:N}));case 1:return e.a(2)}}),e)})));return function(){return e.apply(this,arguments)}}(),te=(0,o.useMemo)((function(){return"draw"===k?(0,C.jsxs)("div",{className:"media-container",children:[(0,C.jsx)("canvas",{ref:V,className:"media",height:150,onMouseDown:Z,onMouseMove:W,onMouseUp:X,onMouseLeave:X,onTouchStart:Y,onTouchMove:K,onTouchEnd:J}),N&&(0,C.jsx)("button",{type:"button",className:"clear","aria-label":"Clear signature",onClick:q,children:"×"})]}):"text"===k?(0,C.jsx)("input",{className:"media text-input",type:"text",placeholder:"Type your signature",value:"string"==typeof N?N:"",onChange:Q,maxLength:40}):(0,C.jsx)("input",{className:"media file-input",type:"file",accept:"image/*",onChange:$})}),[k,N]);return(0,C.jsxs)(C.Fragment,{children:[(0,C.jsx)(d.A,{css:h,baseCss:x,componentName:M.NAME}),(0,C.jsxs)("div",{className:"signature",ref:w,"data-celero-sp":M.NAME,"assistant-c-name":a?"signature-".concat(a):"signature",children:[n&&(0,C.jsx)("div",{className:"header",children:n}),(0,C.jsx)("div",{className:"body",children:(0,C.jsxs)("div",{className:"track",children:[(0,C.jsxs)("div",{role:"group","aria-label":"signature mode selector",children:[(0,C.jsx)("div",{className:"title",children:"Choose method"}),(0,C.jsx)("div",{className:"subtitle",children:(0,C.jsxs)("select",{className:"select",value:k,onChange:function(e){return t=e.target.value,S(t),"text"===t&&"string"==typeof(n=N)&&/^data:image\//.test(n)&&T(""),void b(M.EVENTS.SELECT_CHANGE,{mode:t});var t,n},children:[(0,C.jsx)("option",{value:"draw",children:"Draw"}),(0,C.jsx)("option",{value:"text",children:"Type it"}),(0,C.jsx)("option",{value:"image",children:"Upload"})]})})]}),(0,C.jsxs)("div",{className:"card",children:[te,(0,C.jsxs)("div",{className:"card-body",children:[(0,C.jsx)("div",{className:"title",children:"Your Signature:"}),N&&(0,C.jsx)("div",{className:"subtitle",children:"text"===k?(0,C.jsx)("span",{className:"typed-preview",children:N}):(0,C.jsx)("img",{className:"image-preview",src:N,alt:"Signature preview"})})]})]}),(0,C.jsx)("button",{className:"button",onClick:ee,type:"button",children:"Submit Signature"})]})})]})]})}var T=n.p+"static/media/styles.df18eb3c25e68962dd20.css",V=n(30495),z=(0,a.Ay)("div",{shouldForwardProp:function(e){return"contrastColor"!==e}})((function(e){return{display:"flex",flexDirection:"column",height:"100%",width:"100%",minWidth:0,color:e.contrastColor}})),U=(0,a.Ay)("div")({display:"flex",flexDirection:"column",gap:10,flex:1,minHeight:0,minWidth:0,overflowY:"auto"}),G=(0,a.Ay)("div")({display:"flex",flexDirection:"column",gap:10,flex:1,padding:"8px 10px 12px"});function H(e,t){var n,r,i,o;switch(e.type){case"summary":return(0,C.jsx)(L,{title:e.title||"",body:X(e,t,"body")||e.body,companyId:t.companyId,componentId:e.id});case"carousel":return(0,C.jsx)(E,{title:e.title||"",cards:W(e,t,"cards")||[],companyId:t.companyId,componentId:e.id});case"outline":return(0,C.jsx)(I,{title:e.title||"",items:W(e,t,"items")||[],onGoToPage:t.onGoToPage,companyId:t.companyId,componentId:e.id});case"signature":return(0,C.jsx)(N,{title:e.title||"Signature",companyId:t.companyId,componentId:e.id,ctx:t,typeBindingPath:(null==e||null===(n=e.dataBinding)||void 0===n||null===(r=n.signatureType)||void 0===r?void 0:r.path)||"signature.type",valueBindingPath:(null==e||null===(i=e.dataBinding)||void 0===i||null===(o=i.signatureValue)||void 0===o?void 0:o.path)||"signature.value",submitActionPath:(null==e?void 0:e.submitAction)||"signature.submit"});default:return null}}function Z(e){var t,n,r=e.config,a=e.ctx,s=(0,u.b)(a.companyId,"panel",r.id),f=s.stylesheet,p=s.loading,m=(0,l.A)(),v=(0,o.useMemo)((function(){if(a.backgroundColor)try{return m.palette.getContrastText(a.backgroundColor)}catch(e){return}}),[m,a.backgroundColor]),h=r.layout.tabs||[],g=r.layout.defaultTabId||(null===(t=h[0])||void 0===t?void 0:t.id),w=(0,o.useState)(g||""),y=(0,i.A)(w,2),b=y[0],x=y[1],E=(0,o.useMemo)((function(){return h.find((function(e){return e.id===b}))||h[0]}),[h,b]);(0,o.useEffect)((function(){if(a.isMobile){var e=function(e){var t,n=null==e||null===(t=e.detail)||void 0===t?void 0:t.tabId;n&&(h.some((function(e){return e.id===n}))&&x(n))};return window.addEventListener("dsl:setActiveTab",e),function(){return window.removeEventListener("dsl:setActiveTab",e)}}}),[a.isMobile,h]);var A=(0,o.useRef)(null);return(0,o.useEffect)((function(){A.current&&A.current.setAttribute("assistant-c-name","panel")})),(0,C.jsxs)(z,{ref:A,className:"root",contrastColor:v,"data-celero-sp":"panel","assistant-c-name":"panel",children:[(0,C.jsx)(d.A,{css:f,componentName:"panel",baseCss:T}),p&&(0,C.jsxs)(G,{className:"body",children:[!a.isMobile&&(0,C.jsx)(c.A,{variant:"rectangular",height:32,sx:{borderRadius:"12px",width:"100%"}}),(0,C.jsx)(c.A,{variant:"rounded",height:28,sx:{borderRadius:"8px"}}),(0,C.jsx)(c.A,{variant:"rounded",height:82,sx:{borderRadius:"8px"}}),(0,C.jsx)(c.A,{variant:"rounded",height:82,sx:{borderRadius:"8px"}}),(0,C.jsx)(c.A,{variant:"rounded",height:82,sx:{borderRadius:"8px"}})]}),!p&&(0,C.jsxs)(C.Fragment,{children:[!a.isMobile&&(0,C.jsx)("div",{className:"tabs","assistant-c-name":"panel-tabs",children:(0,C.jsx)(V.A,{items:h.map((function(e){return{id:e.id,label:e.label,icon:e.icon}})),value:Math.max(0,h.findIndex((function(e){return e.id===b}))),onChange:function(e){var t,n;return x((null===(t=h[e])||void 0===t?void 0:t.id)||(null===(n=h[0])||void 0===n?void 0:n.id))},variant:"scrollable",color:void 0,iconPosition:"start"})}),(0,C.jsx)(U,{className:"body",children:null==E||null===(n=E.components)||void 0===n?void 0:n.map((function(e){var t,n="string"==typeof e?e:null==e?void 0:e.id;if(!n)return null;var i=r.components,o=Array.isArray(i)?i.find((function(e){return e.id===n})):i[n];if(!o)return null;var l=!(null==o||null===(t=o.state)||void 0===t||!t.collapsed);return(0,C.jsx)("div",{children:!l&&H(o,a)},n)}))})]})]})}function W(e,t,n){var r;if(Array.isArray(e[n]))return e[n];var i=null===(r=e.dataBinding)||void 0===r?void 0:r[n];return"dataBinding"===(null==i?void 0:i.type)&&q((t.dataSources||{})[i.source],i.path)||[]}function X(e,t,n){var r;if(null!=e[n])return e[n];var i=null===(r=e.dataBinding)||void 0===r?void 0:r[n];return"dataBinding"===(null==i?void 0:i.type)?q((t.dataSources||{})[i.source],i.path):void 0}function q(e,t){if(t){var n,i=t.replace(/\[(\d+)\]/g,".$1").split("."),o=e,a=(0,r.A)(i);try{for(a.s();!(n=a.n()).done;){var l=n.value;if("$"!==l&&""!==l){if(null==o)return;o=o[l]}}}catch(e){a.e(e)}finally{a.f()}return o}}},65425:function(e,t,n){n.d(t,{A:function(){return k},Z:function(){return O}});var r=n(89379),i=n(91212),o=n(10467),a=n(57957),l=n(74859),c=n(97175),s=n.n(c),u=n(85191),d=n.n(u),f=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"panel","$comment":"cssClasses are documentation-only. Runtime styling is provided via external stylesheets and injected by the application. This schema supports both legacy static configuration and new patch-based state management.","title":"Panel DSL","type":"object","required":["version","type","id","components"],"properties":{"version":{"type":"string","pattern":"^\\\\d+\\\\.\\\\d+$"},"type":{"type":"string","const":"panel"},"id":{"type":"string"},"dataSources":{"oneOf":[{"type":"array","description":"Reusable data sources fetched by the parent; components bind into these results.","items":{"$ref":"#/$defs/DataSource","x-ai-editable":"yes"},"x-ai-editable":"yes"},{"type":"object","description":"Reusable data sources keyed by ID (for patch-based updates).","additionalProperties":{"$ref":"#/$defs/DataSource","x-ai-editable":"yes"},"x-ai-editable":"yes"}],"x-ai-editable":"yes"},"layout":{"type":"object","description":"Controls how the panel is organized and what components are displayed.","properties":{"kind":{"type":"string","enum":["tabs"],"description":"Layout of components across multiple tabs","x-ai-editable":"yes"},"tabs":{"oneOf":[{"type":"array","description":"The tabs that will be displayed in the panel. If only one tab is provided, it will be displayed as a single tab.","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique tab identifier","x-ai-editable":"yes"},"label":{"type":"string","description":"The text that will be displayed on the tab","x-ai-editable":"yes"},"components":{"type":"array","items":{"$ref":"#/$defs/TabComponentRef"},"description":"What components will be displayed in the tab","x-ai-editable":"yes"},"icon":{"type":"string","description":"Tab icon identifier","x-ai-editable":"yes"},"x-ai-editable":"yes"},"required":["id","label","components"],"x-ai-editable":"yes"},"x-ai-editable":"yes"},{"type":"object","description":"The tabs keyed by ID (for patch-based updates).","additionalProperties":{"type":"object","properties":{"id":{"type":"string","description":"Unique tab identifier","x-ai-editable":"yes"},"label":{"type":"string","description":"The text that will be displayed on the tab","x-ai-editable":"yes"},"components":{"type":"array","items":{"$ref":"#/$defs/TabComponentRef"},"description":"What components will be displayed in the tab","x-ai-editable":"yes"},"icon":{"type":"string","description":"Tab icon identifier","x-ai-editable":"yes"},"x-ai-editable":"yes"},"required":["id","label","components"],"x-ai-editable":"yes"},"x-ai-editable":"yes"}],"x-ai-editable":"yes"},"defaultTabId":{"type":"string","description":"ID of the default tab to show","x-ai-editable":"yes"},"x-ai-editable":"yes"},"required":["kind","tabs"],"x-ai-editable":"yes"},"position":{"type":"string","enum":["left","right"],"default":"left","description":"The location on the screen the panel will be displayed","x-ai-editable":"yes"},"components":{"oneOf":[{"type":"array","minItems":1,"items":{"$ref":"#/$defs/Component"}},{"type":"object","description":"Components keyed by ID (for patch-based updates).","additionalProperties":{"$ref":"#/$defs/Component"}}]}},"unevaluatedProperties":false,"$defs":{"dotPath":{"type":"string","pattern":"^[A-Za-z_][\\\\w]*(\\\\.[A-Za-z_][\\\\w]*)*$","description":"Dot path into JSON (e.g., recommendationApi.outline)"},"DataSource":{"type":"object","required":["id","kind","url"],"properties":{"id":{"type":"string","description":"Unique source id"},"kind":{"const":"http","description":"HTTP JSON source"},"url":{"type":"string","format":"uri"},"method":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"],"default":"GET"},"headers":{"type":"object","description":"Static request headers","additionalProperties":{"type":"string"}},"query":{"type":"object","description":"Query string parameters","additionalProperties":{"type":"string"}},"body":{"description":"Request body (for non-GET methods)","oneOf":[{"type":"object"},{"type":"string"}]},"expects":{"type":"string","const":"json","default":"json","description":"Response is JSON"},"timeoutMs":{"type":"integer","minimum":0,"default":10000},"cacheTtlMs":{"type":"integer","minimum":0},"pollMs":{"type":"integer","minimum":0,"description":"Optional polling interval (0 or omit = no polling)"}},"unevaluatedProperties":false},"Binding":{"type":"object","required":["type","source","path"],"properties":{"type":{"const":"dataBinding"},"source":{"type":"string","description":"id of a DataSource in parent dataSources[]"},"path":{"$ref":"#/$defs/dotPath","description":"Dot path into the JSON returned by the source"}},"unevaluatedProperties":false},"ComponentBase":{"$anchor":"ComponentBase","type":"object","required":["id","type"],"properties":{"id":{"type":"string"},"type":{"type":"string"},"title":{"type":"string","x-ai-editable":"yes"},"state":{"type":"object","description":"Will the component be displayed as collapsed or expanded when the panel is opened?","properties":{"collapsed":{"type":"boolean","default":false,"x-ai-editable":"yes"}}},"dataBinding":{"type":"object","description":"Map of component inputs (e.g., cards/items/body) → { type:\'dataBinding\', source, path }","additionalProperties":{"$ref":"#/$defs/Binding"},"x-ai-editable":"yes"}}},"TabComponentRef":{"type":"object","required":["id","type"],"properties":{"id":{"type":"string","description":"Component identifier"},"type":{"type":"string","description":"Component type"}},"additionalProperties":true},"Component":{"oneOf":[{"$ref":"carousel"},{"$ref":"outline"},{"$ref":"summary"},{"$ref":"signature"}]},"PanelPatches":{"$ref":"patches-schema","description":"JSON Patch operations for modifying panel configuration"}}}'),p=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"carousel","allOf":[{"$ref":"panel#/$defs/ComponentBase"},{"type":"object","properties":{"type":{"const":"carousel"},"cards":{"type":"array","items":{}},"carouselOptions":{"type":"object","properties":{"autoplay":{"type":"boolean","default":true},"intervalMs":{"type":"integer","minimum":0,"default":5000}},"unevaluatedProperties":false}},"required":["type"],"allOf":[{"if":{"required":["dataBinding"]},"then":{"properties":{"dataBinding":{"type":"object","propertyNames":{"enum":["cards"]}}}}}],"unevaluatedProperties":false}]}'),m=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"outline","allOf":[{"$ref":"panel#/$defs/ComponentBase"},{"type":"object","properties":{"type":{"const":"outline"},"items":{"type":"array","items":{}},"layout":{"type":"string","enum":["stack","accordion"],"default":"stack"}},"required":["type"],"allOf":[{"if":{"required":["dataBinding"]},"then":{"properties":{"dataBinding":{"type":"object","propertyNames":{"enum":["items"]}}}}}],"unevaluatedProperties":false}]}'),v=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"summary","allOf":[{"$ref":"panel#/$defs/ComponentBase"},{"type":"object","properties":{"type":{"const":"summary"},"body":{"type":"string"},"truncateChars":{"type":"integer","minimum":0,"default":800,"x-ai-editable":"yes"}},"required":["type"],"allOf":[{"if":{"required":["dataBinding"]},"then":{"properties":{"dataBinding":{"type":"object","propertyNames":{"enum":["body"]}}}}}],"unevaluatedProperties":false}]}'),h=JSON.parse('{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"signature","allOf":[{"$ref":"panel#/$defs/ComponentBase"},{"type":"object","properties":{"type":{"const":"signature"},"title":{"type":"string"},"submitAction":{"type":"string","description":"Path to submit action in ctx.actions (legacy fallback supported via data_binding.onSubmit)"}},"required":["type"],"allOf":[{"if":{"required":["dataBinding"]},"then":{"properties":{"dataBinding":{"type":"object","propertyNames":{"enum":["signatureType","signatureValue"]}}}}}],"unevaluatedProperties":false}]}'),g=null;function w(e){var t=function(){if(g)return g;var e=new(s())({allErrors:!0,strict:!1,validateFormats:!0,validateSchema:!1,allowUnionTypes:!0});return d()(e),e.addSchema(p),e.addSchema(m),e.addSchema(v),e.addSchema(h),e.addSchema(f),g=e.compile(f)}();return{valid:!!t(e),errors:t.errors||null}}var y=n(44415),b=n(96790);function C(e,t){var n=(0,y.kB)();return"".concat(n,"/company_files/company_documents/").concat(e).concat(t)}function x(){var e=(0,y.vA)(),t=e.panelId||e.panel_id;return Array.isArray(t)?t[0]||void 0:t||void 0}function E(e,t){if(!e)return null;var n;if("css"in e)return null!==(n=e.css)&&void 0!==n?n:null;if(t){var r,i=null===(r=e.instances)||void 0===r?void 0:r[t];if(null!=(null==i?void 0:i.css))return i.css}var o=e.type;if(null!=(null==o?void 0:o.css))return o.css;if(t){var a,l,c=null===(a=e.instances)||void 0===a?void 0:a[t];return null!==(l=null==c?void 0:c.css)&&void 0!==l?l:null}return null}function A(e){var t="https://feedapi.celero.io";try{var n=new URL(e,window.location.href);return n.origin!==new URL(t).origin?{}:/^\/api\/(viewer|feeds)\//.test(n.pathname)?(0,l.Mx)():{}}catch(e){return{}}}function O(e){return L.apply(this,arguments)}function L(){return L=(0,o.A)((0,i.A)().m((function e(t){var n;return(0,i.A)().w((function(e){for(;;)switch(e.n){case 0:if(Array.isArray(t)&&0!==t.length){e.n=1;break}return e.a(2,{});case 1:return n={},e.n=2,Promise.all(t.map(function(){var e=(0,o.A)((0,i.A)().m((function e(t){var o,a,l,c,s,u,d;return(0,i.A)().w((function(e){for(;;)switch(e.n){case 0:if("http"!==t.kind){e.n=9;break}return e.p=1,o=(t.method||"GET").toUpperCase(),a=t.url,l=(0,r.A)((0,r.A)((0,r.A)({},t.headers||{}),A(a)),{},{origin:window.location.origin}),c={method:o,headers:l,credentials:"omit"},"GET"!==o&&null!=t.body&&(c.body="string"==typeof t.body?t.body:JSON.stringify(t.body)),e.n=2,fetch(a,c);case 2:if((s=e.v).ok){e.n=3;break}throw new Error("HTTP ".concat(s.status));case 3:if("json"!==t.expects){e.n=5;break}return e.n=4,s.json();case 4:d=e.v,e.n=7;break;case 5:return e.n=6,s.text();case 6:d=e.v;case 7:u=d,n[t.id]=(0,b.QZ)(u),e.n=9;break;case 8:e.p=8,e.v;case 9:return e.a(2)}}),e,null,[[1,8]])})));return function(t){return e.apply(this,arguments)}}()));case 2:return e.a(2,n)}}),e)}))),L.apply(this,arguments)}var k={_allStylesheetsCache:new Map,_configCache:new Map,getAllComponentStylesheets:function(e){var t=this;return(0,o.A)((0,i.A)().m((function n(){var r,a,l;return(0,i.A)().w((function(n){for(;;)switch(n.n){case 0:if(e){n.n=1;break}return n.a(2,{});case 1:if(r=x()){n.n=2;break}return n.a(2,{});case 2:if(!(a=t._allStylesheetsCache.get(e))){n.n=3;break}return n.a(2,a);case 3:return l=(0,o.A)((0,i.A)().m((function t(){var n,o,a;return(0,i.A)().w((function(t){for(;;)switch(t.n){case 0:return t.p=0,t.n=1,fetch("".concat("https://p2api.celero.io","/api/stylesheets/?companyId=").concat(e,"&panelId=").concat(r),{method:"GET",headers:{"Content-Type":"application/json"},credentials:"omit"});case 1:if((n=t.v).ok){t.n=2;break}return t.a(2,{});case 2:return t.n=3,n.json();case 3:return o=t.v,a=(null==o?void 0:o.stylesheets)||{},t.a(2,a);case 4:return t.p=4,t.v,t.a(2,{})}}),t,null,[[0,4]])})))(),t._allStylesheetsCache.set(e,l),n.a(2,l)}}),n)})))()},getConfig:function(e){var t=this;return(0,o.A)((0,i.A)().m((function n(){var r,a,l;return(0,i.A)().w((function(n){for(;;)switch(n.n){case 0:if(e){n.n=1;break}return n.a(2,null);case 1:if(r=x()){n.n=2;break}return n.a(2,null);case 2:if(!(a=t._configCache.get(e))){n.n=4;break}return n.n=3,a;case 3:return n.a(2,n.v);case 4:return l=(0,o.A)((0,i.A)().m((function t(){var n,o,a,l,c,s,u,d,f,p,m,v;return(0,i.A)().w((function(t){for(;;)switch(t.n){case 0:return t.p=0,t.n=1,fetch("".concat("https://p2api.celero.io","/api/configs/?companyId=").concat(e,"&panelId=").concat(r),{method:"GET",headers:{"Content-Type":"application/json"},credentials:"omit"});case 1:if(!(n=t.v).ok){t.n=6;break}return t.n=2,n.json();case 2:if(l=t.v,!(c=(null==l||null===(o=l.configs)||void 0===o||null===(a=o.panel)||void 0===a?void 0:a.config)||(null==l?void 0:l.config)||l)){t.n=4;break}if(c.dataSources&&!Array.isArray(c.dataSources)&&(c.dataSources=Object.values(c.dataSources)),c.components&&!Array.isArray(c.components)&&(c.components=Object.values(c.components)),(s=w(c)).valid){t.n=3;break}throw u=(s.errors||[]).map((function(e){return"".concat(e.instancePath||"/"," ").concat(e.message||"").trim()})).join("; "),new Error("Invalid panel config: ".concat(u||"unknown error"));case 3:return t.a(2,c);case 4:case 5:t.n=7;break;case 6:case 7:t.n=9;break;case 8:t.p=8,t.v;case 9:return t.p=9,d=C(e,"/celero/panel/config.json"),t.n=10,fetch(d);case 10:if(!(f=t.v).ok){t.n=13;break}return t.n=11,f.json();case 11:if((p=t.v).dataSources&&!Array.isArray(p.dataSources)&&(p.dataSources=Object.values(p.dataSources)),p.components&&!Array.isArray(p.components)&&(p.components=Object.values(p.components)),(m=w(p)).valid){t.n=12;break}throw v=(m.errors||[]).map((function(e){return"".concat(e.instancePath||"/"," ").concat(e.message||"").trim()})).join("; "),new Error("Invalid panel config: ".concat(v||"unknown error"));case 12:return t.a(2,p);case 13:t.n=15;break;case 14:t.p=14,t.v;case 15:return t.a(2,null)}}),t,null,[[9,14],[0,8]])})))(),t._configCache.set(e,l),n.a(2,l)}}),n)})))()},getRecommendations:function(e){return(0,o.A)((0,i.A)().m((function t(){var n,r,o;return(0,i.A)().w((function(t){for(;;)switch(t.n){case 0:if(n="https://feedapi.celero.io"){t.n=1;break}throw new Error("REACT_APP_FEED_API environment variable is not configured");case 1:return r="".concat(n.replace(/\/$/,""),"/api/viewer/nextbestaction"),t.n=2,a.SP.post(r,e,{headers:(0,l.Mx)()});case 2:return o=t.v,t.a(2,(0,b.QZ)(o.data))}}),t)})))()},getComponentStylesheet:function(e,t,n){var r=this;return(0,o.A)((0,i.A)().m((function o(){var a,l;return(0,i.A)().w((function(i){for(;;)switch(i.n){case 0:if(e){i.n=1;break}return i.a(2,null);case 1:return i.p=1,i.n=2,r.getAllComponentStylesheets(e);case 2:return a=i.v,l=a[t],i.a(2,E(l,n));case 3:return i.p=3,i.v,i.a(2,null)}}),o,null,[[1,3]])})))()}}},66193:function(e,t,n){n.d(t,{G:function(){return a},X:function(){return o}});var r=n(89379),i=n(45051),o={open:!1,config:{id:0,integration_name:"",platform:"",type:"",display_name:"",display:{display_name:"",title:"",submitUrl:"",withLogo:!1,hiddenFields:[],fields:[],customStyles:{},identityField:""},integration_id:0},defaultValues:{show:!1,values:{}}},a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1?arguments[1]:void 0;return t.type===i.L?(0,r.A)((0,r.A)({},e),t.payload):e}},66241:function(e,t,n){n.r(t),n.d(t,{ReactComponent:function(){return s}});var r,i,o=n(49255),a=["title","titleId"];function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:null;if(null==e)return t;if("string"!=typeof e)return t;if(""===e||"undefined"===e||"null"===e)return t;if(e.trimStart().startsWith("<"))return t;try{return JSON.parse(e)}catch(e){return t}}},75800:function(e,t,n){n.r(t),n.d(t,{default:function(){return O}});var r=n(5544),i=n(89379),o=n(49255),a=n(62701),l=n(47081),c=n(97027),s=n(44415),u=n(24507),d=n(84899),f=n(95792),p=n(15811),m=n(55429),v=n(18229),h=n(56787),g=n(11422),w=n(65983),y=(0,u.Ay)("div")((function(e){var t=e.theme;return{position:"fixed",display:"flex",justifyContent:"center",alignItems:"center",top:e.viewerBarHeight+20,right:0,width:"50px",height:"50px",border:"1px solid #ccc",borderRadius:"45% 0px 0px 45%",cursor:"pointer",zIndex:t.zIndex.appBar}})),b=(0,u.Ay)("div")((function(e){var t=e.theme,n=e.background;return{color:t.palette.getContrastText(n),opacity:.5}})),C=(0,u.Ay)("div")((function(e){return{width:e.isMobile?"100vw":"100%",background:e.background,position:"relative",flex:1,minWidth:0,overflowY:"hidden"}})),x=(0,u.Ay)("div")((function(e){return{width:"100%",display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",height:50,position:"sticky",top:0,zIndex:100,paddingLeft:20,paddingRight:20,background:e.background}})),E=(0,u.Ay)(f.A)((function(e){var t=e.theme,n=e.background;return{padding:0,display:"flex",justifyContent:"center",alignItems:"center",background:"transparent",color:t.palette.getContrastText(n),"&:hover":{background:"transparent"}}})),A=(0,u.Ay)("div")({display:"flex",flexDirection:"column",gap:"10px",alignItems:"center"});function O(e){var t,n,u=(0,l.d4)((function(e){return{shortenData:e.shortenData}})).shortenData,O=(null==u?void 0:u.params)||{},L=(0,d.A)().isMobile,k=(0,h.A)().currentPageNumber,S=(0,s.vA)(),j=(null==O||null===(t=O.feed)||void 0===t?void 0:t.feed)||S.feed||(null==O||null===(n=O.feed)||void 0===n?void 0:n.search_in_feed)||S.search_in_feed,I=(0,a.A)(),_=(0,o.useRef)();(0,o.useEffect)((function(){var e,t,n,r,o;if(u&&null!=u&&null!==(e=u.params)&&void 0!==e&&e.feed){var a=(null==u?void 0:u.params)||{},l=(null==a||null===(t=a.feed)||void 0===t?void 0:t.feed)||S.feed||(null==a||null===(n=a.feed)||void 0===n?void 0:n.search_in_feed)||S.search_in_feed,s=(null==a||null===(r=a.feed)||void 0===r?void 0:r.model)||S.model,d=(null==a||null===(o=a.feed)||void 0===o?void 0:o.ui)||S.ui,f=(0,i.A)((0,i.A)({},S),{},{feed:l,model:s,ui:d}),p=c.A.stringify(f),m="".concat(window.location.pathname,"?").concat(p);setTimeout((function(){window.history.pushState({path:m},"",m)}),1e3)}}),[u]);var F=e.viewerBarHeight,P=e.background,M=e.accountId,R=e.feedsColor,B=e.handleSeachInFeedStatus,D=e.shouldOpenFeeds,N=e.contentUuid,T=o.useState(!0),V=(0,r.A)(T,2),z=V[0],U=V[1],G="boolean"==typeof D?D:z;return(0,w.jsxs)(w.Fragment,{children:[!G&&(0,w.jsx)(y,{theme:I,viewerBarHeight:F,onClick:function(){U(!0),B(!0)},children:(0,w.jsx)(b,{theme:I,background:P,children:(0,w.jsx)(m.A,{})})}),G&&(0,w.jsxs)(C,{isMobile:L,background:P,children:[(0,w.jsxs)(x,{background:P,children:[(0,w.jsx)(E,{theme:I,background:P,onClick:function(){U(!1),B(!1)},children:(0,w.jsx)(p.A,{})}),(0,w.jsx)(f.A,{onClick:function(){_&&_.current&&_.current.loadFeedElements(!0)},children:(0,w.jsx)(v.A,{})})]}),(0,w.jsx)(A,{children:(0,w.jsx)(g.A,{contentUuid:N,onGoToPage:function(e){window.IDRViewer&&"function"==typeof window.IDRViewer.goToPage&&window.IDRViewer.goToPage(e)},showFeeds:!0,feedName:j,accountId:M,feedsColor:R,currentPageNumber:k,feedRef:_})})]})]})}},77230:function(e,t,n){n.r(t),n.d(t,{default:function(){return h}});var r=n(89379),i=n(91212),o=n(60436),a=n(10467),l=n(5544),c=n(49255),s=n(47081),u=n(84899),d=n(65425),f=n(88990),p=n(64547),m=n(49698),v=n(65983);function h(e){var t,n,h,g,w=e.contentUuid,y=e.background,b=e.bottomOffset,C=void 0===b?56:b,x=e.topOffset,E=void 0===x?0:x,A=e.visible,O=void 0===A||A,L=(0,s.d4)((function(e){return{shortenData:e.shortenData}})).shortenData,k=(0,u.A)().isMobile,S=(0,c.useState)(null),j=(0,l.A)(S,2),I=j[0],_=j[1],F=(0,c.useState)({}),P=(0,l.A)(F,2),M=P[0],R=P[1],B=(0,c.useState)(!1),D=(0,l.A)(B,2),N=D[0],T=D[1],V=(0,c.useState)(null),z=(0,l.A)(V,2),U=z[0],G=z[1];return(0,c.useEffect)((function(){var e=!0;function t(){return(t=(0,a.A)((0,i.A)().m((function t(){var n,r,a,l,c,s,u,f,p,m,v,h;return(0,i.A)().w((function(t){for(;;)switch(t.n){case 0:return t.p=0,T(!0),G(null),t.n=1,d.A.getConfig(null==L||null===(n=L.company)||void 0===n||null===(r=n.id)||void 0===r?void 0:r.toString());case 1:if(a=t.v,e){_(a);try{u=(null==a?void 0:a.position)||"right",f=(null==L||null===(l=L.company)||void 0===l||null===(c=l.id)||void 0===c?void 0:c.toString())||"global",localStorage.setItem("sp_side_".concat(f),u),window.dispatchEvent(new CustomEvent("dsl:position",{detail:{side:u}})),p=((null==a||null===(s=a.layout)||void 0===s?void 0:s.tabs)||[]).map((function(e){return{id:e.id,label:e.label,icon:e.icon}})),m=p.some((function(e){return"content"===e.id})),v=m?p:[{id:"content",label:"Content",icon:"Feed"}].concat((0,o.A)(p)),window.dispatchEvent(new CustomEvent("dsl:tabs",{detail:{items:v}}))}catch(e){}}t.n=3;break;case 2:t.p=2,h=t.v,e&&G((null==h?void 0:h.message)||"Failed to load side panel config");case 3:return t.p=3,e&&T(!1),t.f(3);case 4:return t.a(2)}}),t,null,[[0,2,3,4]])})))).apply(this,arguments)}return function(){t.apply(this,arguments)}(),function(){e=!1}}),[w]),(0,c.useEffect)((function(){var e=!0;function t(){return(t=(0,a.A)((0,i.A)().m((function t(){var n,o,a,l;return(0,i.A)().w((function(t){for(;;)switch(t.n){case 0:if(t.p=0,null!=(n=I)&&n.dataSources){t.n=1;break}return t.a(2);case 1:return o=(0,f.J)({shortenData:L}),a=n.dataSources.map((function(e){return"http"===e.kind&&e.url.includes("/api/viewer/nextbestaction")?(0,r.A)((0,r.A)({},e),{},{method:"POST",headers:(0,r.A)({"Content-Type":"application/json"},e.headers||{}),body:{account_id:o.account_id,contact_id:o.contact_id,visitor_id:o.visitor_id,element_eid:o.element_eid,model:o.model,feed:o.feed,debug_mode:o.debug_mode}}):e})),t.n=2,(0,d.Z)(a);case 2:l=t.v,e&&R(l),t.n=4;break;case 3:t.p=3,t.v;case 4:return t.a(2)}}),t,null,[[0,3]])})))).apply(this,arguments)}return function(){t.apply(this,arguments)}(),function(){e=!1}}),[I,null==L||null===(t=L.company)||void 0===t?void 0:t.account_id,null==L?void 0:L.hash]),k?(0,v.jsxs)("div",{style:{position:"fixed",top:E,left:0,right:0,bottom:C,background:y,overflowY:"auto",zIndex:1100,padding:10,display:O?"block":"none"},children:[N&&(0,v.jsx)("div",{style:{padding:12,color:"#6b7280"},children:(null==I?void 0:I.loadingMessage)||"Loading…"}),!N&&U&&(0,v.jsx)("div",{style:{padding:12,color:"#d32f2f"},children:U}),!N&&!U&&I&&(0,v.jsx)(p.A,{config:I,ctx:{backgroundColor:y,contentUuid:w,onGoToPage:function(e){(0,m.N)(e);try{var t=new CustomEvent("dsl:goToPage",{detail:{page:e}});window.dispatchEvent(t)}catch(e){}},isMobile:k,accountId:null==L||null===(n=L.company)||void 0===n?void 0:n.account_id,companyId:null==L||null===(h=L.company)||void 0===h||null===(g=h.id)||void 0===g?void 0:g.toString(),dataSources:(0,r.A)({},M)}})]}):null}},77236:function(e,t,n){n.d(t,{V:function(){return r}});var r=function(e){return e.Mobile="mobile",e.Desktop="desktop",e.Tablet="tablet",e}({})},78217:function(e,t,n){e.exports=n.p+"static/media/kranesharelogo@3x.b9ff26ace5d8386d6e2c.png"},81046:function(e,t,n){var r,i,o=n(91212),a=n(10467),l=n(74859),c=n(57957),s=n(44415),u=n(5791),d=n(81114),f={loadContent:(i=(0,a.A)((0,o.A)().m((function e(t,n){var r;return(0,o.A)().w((function(e){for(;;)if(0===e.n)return r=(0,s.s_)({access_id:n,is_bot:!!window.celeroURLParams.is_bot,is_preview:!!(0,l.GB)()||void 0}),e.a(2,l.Ay.get("/api/content/".concat(t,"/?").concat(r),{headers:{"doc-referer":document.referrer}}))}),e)}))),function(e,t){return i.apply(this,arguments)}),loadCustomAnnotations:(r=(0,a.A)((0,o.A)().m((function e(t,n,r){var i;return(0,o.A)().w((function(e){for(;;)if(0===e.n)return n||(0,c.vx)("Please use valid Viewer Id",t),i="".concat(r?"?access_id="+r:""),e.a(2,l.Ay.get("/api/content/".concat(n,"/custom-annotation/").concat(i)))}),e)}))),function(e,t,n){return r.apply(this,arguments)}),checkIfURIIsValid:function(e,t,n,r){return e=e.trim(),l.Ay.post("/api/iframe-support/",{url:e}).then((function(n){return t(n,e,r)})).catch((function(t){return t.message.includes("504")?(0,u.xF)(d.qW.WARNING,{functionality:"iframe-support in viwerAPI.tsx",value:"timeout error while trying to check if url is supported to be opened in iframe: url:".concat(e),code:"IFRAME_SUPPORT_TIMEOUT"}):(0,c.vx)(t,n),Promise.reject(t)}))},searchInContent:function(e,t,n,r,i,o){var a=new FormData;return a.append("search_term",String(t)),a.append("page_size",String(n)),a.append("page",String(r)),a.append("surrounding_chars_limit",String(60)),l.Ay.post("/api/content/".concat(e,"/texts/"),a).then((function(e){i(e.data)})).catch((function(e){(0,c.vx)(e,o)}))}};t.A=f},81153:function(e,t,n){e.exports=n.p+"static/media/not_found.7e612ca030513f4d5916.jpg"},82626:function(e,t,n){n.r(t),n.d(t,{ReactComponent:function(){return c}});var r,i=n(49255),o=["title","titleId"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t255||isNaN(r)||r<0||r>255||isNaN(i)||i<0||i>255||isNaN(o)||o<0||o>1)throw new Error("Invalid RGBA values");return"#"+((1<<24)+(n<<16)+(r<<8)+i).toString(16).slice(1)}n.d(t,{H:function(){return r}})},88990:function(e,t,n){n.d(t,{J:function(){return a}});var r=n(89379),i=n(44415);function o(e){var t=(0,i.vA)()[e];return Array.isArray(t)?t[0]||void 0:t||void 0}function a(e,t){var n,i={feed:o("feed")||o("dsl_feed"),model:o("model")||o("dsl_model"),debug_mode:"true"===(o("debug_mode")||"false")},a=null==e?void 0:e.shortenData,l={account_id:null==a||null===(n=a.company)||void 0===n?void 0:n.account_id,element_eid:null!=a&&a.hash?"celero-".concat(a.hash):void 0},c={visitor_id:localStorage.getItem("visitor_id")||"test_visitor_id",contact_id:localStorage.getItem("contact_id")||"test_contact_id"};return(0,r.A)((0,r.A)((0,r.A)((0,r.A)((0,r.A)({},{model:"default",feed:"cognyte",debug_mode:!1}),c),l),i),t||{})}},90945:function(e,t,n){n.d(t,{b:function(){return l}});var r=n(5544),i=n(49255),o=n(65425),a=new Map;function l(e,t,n){var l=(0,i.useState)(null),c=(0,r.A)(l,2),s=c[0],u=c[1],d=(0,i.useState)(!1),f=(0,r.A)(d,2),p=f[0],m=f[1],v=(0,i.useState)(null),h=(0,r.A)(v,2),g=h[0],w=h[1];return(0,i.useEffect)((function(){if(e&&t){var r=!0;m(!0),w(null);var i="".concat(e,"::").concat(n||t),l=a.get(i);return void 0!==l?(u(l),m(!1),function(){r=!1}):(o.A.getComponentStylesheet(e,t,n).then((function(e){r&&(a.set(i,e),u(e))})).catch((function(e){r&&w((null==e?void 0:e.message)||"Failed to load stylesheet")})).finally((function(){r&&m(!1)})),function(){r=!1})}u(null)}),[e,t,n]),{stylesheet:s,loading:p,error:g}}},91260:function(e,t,n){n.r(t),n.d(t,{ReactComponent:function(){return c}});var r,i=n(49255),o=["title","titleId"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t=D)n=e.substring(0,r);else{var i=e.indexOf(" ",t);-1!==i&&i-t<=10&&(n=e.substring(0,i))}return n+"..."}(B,60),T="".concat(N," | ").concat(null==w||null===(f=w.company)||void 0===f?void 0:f.name);return(0,S.jsxs)(A.mg,{children:[(0,S.jsx)("title",{children:T}),P,(0,S.jsx)("meta",{property:"og:title",content:j}),(0,S.jsx)("meta",{property:"og:description",content:I}),(0,S.jsx)("meta",{property:"og:image",content:F}),(0,S.jsx)("meta",{name:"title",content:j}),(0,S.jsx)("meta",{name:"description",content:I}),(0,S.jsx)("meta",{name:"keywords",content:(null==v||null===(p=v.keywords)||void 0===p?void 0:p.join(", "))||k.d6}),(0,S.jsx)("meta",{property:"fb:app_id",content:"887434528837802"}),(0,S.jsx)("link",{rel:"canonical",href:window.location.href.split("?")[0]}),(0,S.jsx)("meta",{property:"og:url",content:window.location.href}),(0,S.jsx)("meta",{property:"og:type",content:"website"}),(0,S.jsx)("meta",{name:"author",content:null==w||null===(m=w.company)||void 0===m?void 0:m.name}),(0,S.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,S.jsx)("meta",{name:"twitter:title",content:j}),(0,S.jsx)("meta",{name:"twitter:description",content:I}),(0,S.jsx)("meta",{name:"twitter:image",content:C}),(0,S.jsx)("link",{rel:"alternate",type:"application/json+oembed",href:R}),(0,S.jsx)("link",{rel:"iframely",href:window.location.href,media:"(aspect-ratio: 1280/720)"})]})},I=n(5791),_=n(56115),F=n(89349),P=n(83365),M=(n(21399),n(21959),n(35427),n(68972),n(87973),n(25912)),R=n(63962),B=n(14724),D=n(87162),N=n(63503),T=function(){var e=0,t=function(e){return Math.hypot(e[0].clientX-e[1].clientX,e[0].clientY-e[1].clientY)},n=function(n){2===n.touches.length&&(e=t(n.touches))},r=(0,N.s)((function(n){if(2===n.touches.length){var r=t(n.touches);r>e?window.IDRViewer.zoomIn():r0?window.IDRViewer.zoomOut():e.deltaY<0&&window.IDRViewer.zoomIn())}),100),o=function(n){if(2===n.touches.length){var i=t(n.touches);(i>e||i0||e.deltaY<0)&&e.preventDefault(),i(e)},c=function(e){!e.ctrlKey&&!e.metaKey||"+"!==e.key&&"-"!==e.key||(e.preventDefault(),"+"===e.key?window.IDRViewer.zoomIn():"-"===e.key&&window.IDRViewer.zoomOut())};return(0,l.useEffect)((function(){return document.addEventListener("touchstart",n,{passive:!1}),document.addEventListener("touchmove",o,{passive:!1}),document.addEventListener("wheel",a,{passive:!1}),document.addEventListener("keydown",c),function(){document.removeEventListener("touchstart",n),document.removeEventListener("touchmove",o),document.removeEventListener("wheel",a),document.removeEventListener("keydown",c)}}),[]),(0,S.jsx)(S.Fragment,{})},V=n(47206),z="celero-image-expand-lightbox";function U(e){var t=function(){var e=document.getElementById(z);if(e)return e;(e=document.createElement("div")).id=z,e.style.cssText="\n position: fixed; inset: 0; z-index: 99999;\n background: rgba(0,0,0,0.8); display: none;\n align-items: center; justify-content: center;\n cursor: zoom-out;\n ";var t=document.createElement("div");return t.style.cssText="\n max-width: 90vw; max-height: 90vh; overflow: auto;\n background: white; border-radius: 8px; padding: 16px;\n box-shadow: 0 20px 60px rgba(0,0,0,0.5);\n ",t.id="".concat(z,"-inner"),e.appendChild(t),e.addEventListener("click",(function(){e.style.display="none",t.innerHTML=""})),document.body.appendChild(e),e}(),n=document.getElementById("".concat(z,"-inner")),r=e.getAttribute("href")||e.getAttributeNS("http://www.w3.org/1999/xlink","href");if(r){var i=document.createElement("img");i.src=r,i.style.cssText="max-width: 85vw; max-height: 85vh; display: block;",n.innerHTML="",n.appendChild(i),t.style.display="flex"}}function G(e){return{x:parseFloat(e.getAttribute("x")||"0"),y:parseFloat(e.getAttribute("y")||"0"),w:parseFloat(e.getAttribute("width")||"0"),h:parseFloat(e.getAttribute("height")||"0")}}function H(e){var t=document.getElementById("idrviewer-page".concat(e));if(t){var n=t.querySelector('svg[id^="pdf"]');if(n){var r=Array.from(n.querySelectorAll("image"));r.forEach((function(e,n){parseFloat(e.getAttribute("width")||"0")*parseFloat(e.getAttribute("height")||"0")<5e3||function(e,t,n){for(var r=G(e),i=n+1;i0&&a/l>.5)return!0}return!1}(e,r,n)||function(e,t){var n=e.getBoundingClientRect();if(0===n.width||0===n.height)return!1;var r=t.querySelector("[id^='p'][style*='height']");if(!r)return!1;for(var i=r.querySelectorAll(".t"),o=0,a=Array.from(i);o0&&s>0)return!0}return!1}(e,t)||(e.style.cursor="zoom-in",e.style.pointerEvents="all",e.addEventListener("mouseenter",(function(){e.style.filter="brightness(0.92)",e.style.outline="3px solid rgba(59,130,246,0.6)",e.style.outlineOffset="2px"})),e.addEventListener("mouseleave",(function(){e.style.filter="",e.style.outline="none"})),e.addEventListener("click",(function(t){t.preventDefault(),t.stopPropagation(),e.style.filter="",e.style.outline="none",U(e)})))}));var i=t.querySelector('[id^="pg"][id$="Overlay"]');i&&(i.style.pointerEvents="none")}}}var Z="data-in-view",W="idrviewer-page",X=function(){(0,l.useEffect)((function(){if(window.IDRViewer&&"undefined"!=typeof IntersectionObserver){var e=document.getElementById("idrviewer");if(e){var t=new IntersectionObserver((function(e){e.forEach((function(e){e.isIntersecting?e.target.setAttribute(Z,"true"):e.target.removeAttribute(Z)}))}),{root:e,threshold:.05}),n=function(){e.querySelectorAll('[id^="'.concat(W,'"]')).forEach((function(e){return t.observe(e)}))},r=function(){n()},i=function(e){var n=document.getElementById("".concat(W).concat(e.page));n&&(t.unobserve(n),n.removeAttribute(Z))};return window.IDRViewer.on("pageload",r),window.IDRViewer.on("pageunload",i),n(),function(){"function"==typeof window.IDRViewer.off&&(window.IDRViewer.off("pageload",r),window.IDRViewer.off("pageunload",i)),t.disconnect()}}}}),[])},q=function(e){var t=(0,u.d4)((function(e){return{theme:e.theme}})).theme,n=e.content,i=e.idrViewerElement,o=e.viewerOptions,a=e.isControlsBarParamEnabled,c=e.searchInFeedOpened,s=e.feedWidth,d=e.editModeAppBarGhostVisible,f=o.isPresentationMode,g=o.isWebsiteMode,w=o.isZoomFitPage,y=o.isHideNavigation,b=o.pageFit,C=(0,v.g7)(n,o,{editModeAppBarGhostVisible:d}),x=C.viewerHeight,E=C.viewerBarHeight,A=(0,M.A)().width,O=(0,m.A)().isMobile;(0,B.PU)({idrViewerElement:i,viewerOptions:o,isControlsBarParamEnabled:a});var L,k,j=(0,p.A)(),I=j.currentZoomSettings,_=j.currentPageNumber,F=j.loadedPages;L=!0,k=(0,l.useRef)(new Set),(0,l.useEffect)((function(){if(L&&window.IDRViewer)return window.IDRViewer.on("pageload",(function(e){var t=e.page;k.current.has(t)||(k.current.add(t),setTimeout((function(){return H(t)}),500))})),function(){k.current.clear();var e=document.getElementById(z);e&&e.remove()}}),[L]),X();var P=(0,l.useRef)(0),U=(0,l.useRef)(!1);var G=function(){var e,t=null==n||null===(e=n.config)||void 0===e?void 0:e.bounds[0][0],r=1200,i=c?A-s:A;i>1200&&i<=1920?r=.8*i:i>1920&&(r=.6*i);var o=t?Math.min(t,r):r;return i>o?i-o:0},Z=function(){var e=0,t=window.IDRViewer.ZOOM_FITWIDTH;switch(b){case"auto":f?t=window.IDRViewer.ZOOM_AUTO:(t=window.IDRViewer.ZOOM_FITWIDTH,e=G());break;case"fit-height":t=window.IDRViewer.ZOOM_FITHEIGHT;break;case"fit-width-with-margins":t=window.IDRViewer.ZOOM_FITWIDTH,e=G();break;case"fit-width":t=window.IDRViewer.ZOOM_FITWIDTH;break;case"fit-page":t=window.IDRViewer.ZOOM_FITPAGE;break;default:if(e=0,g)t=window.IDRViewer.ZOOM_FITWIDTH;else if(w||f)t=window.IDRViewer.ZOOM_FITPAGE;else{new Date(n.created_at).getTime()>1673526466580?t=window.IDRViewer.ZOOM_AUTO:(t=window.IDRViewer.ZOOM_FITWIDTH,e=G())}}return window.IDRViewer.config=(0,r.A)((0,r.A)({},window.IDRViewer.config),{},{paddingX:e,PADDING_HORIZONTAL:e}),window.IDRViewer.setZoom(t),{PADDING_HORIZONTAL:e}};(0,l.useEffect)((function(){f&&window.IDRViewer.setLayout(window.IDRViewer.LAYOUT_PRESENTATION),Z()}),[f,c,s,A]);var W=window.devicePixelRatio,q=window.devicePixelRatio,Y=function(){window.devicePixelRatio!==W&&(W=window.devicePixelRatio,q==window.devicePixelRatio?Z():window.IDRViewer.setZoom(window.IDRViewer.ZOOM_ACTUALSIZE))};return(0,l.useEffect)((function(){var e=(0,N.n)((function(e){var t=document.getElementById("idrviewer"),n=new e.constructor(e.type,e);null==t||t.dispatchEvent(n)}),500,{leading:!0,trailing:!1});return window.celeroData?(window.addEventListener("scroll",e),function(){return window.removeEventListener("scroll",e)}):(window.addEventListener("resize",Y),function(){window.removeEventListener("resize",Y)})}),[]),(0,l.useEffect)((function(){n&&requestAnimationFrame((function(){try{!function(e){var t=Z().PADDING_HORIZONTAL;f&&window.IDRViewer.setLayout(window.IDRViewer.LAYOUT_PRESENTATION);var n=(0,R.h)(e.base_url);window.IDRViewer.config=(0,r.A)((0,r.A)({PADDING_HORIZONTAL:t},e.config),{},{isR2L:!1,url:"".concat(n,"/")}),window.IDRViewer.setup()}(n)}catch(e){}}))}),[n]),(0,l.useEffect)((function(){(o.highlightLinks||U.current)&&F.includes(_)&&P.current!==_&&(P.current=_,function(e){if(e){var t=document.getElementById("idrviewer-page".concat(e));t&&setTimeout((function(){var e=t.getElementsByTagName("A");Array.from(e).forEach((function(e){e.setAttribute("style","box-shadow:0px 1px 2px rgba(0,0,0,0.1), 0px 2px 4px rgba(0,0,0,0.1), 0px 4px 8px rgba(0,0,0,0.1), 0px 8px 16px rgba(0,0,0,0.1); background-color: #2a2a2a; opacity:0.2; transition-timing-function:ease-in-out;"),setTimeout((function(){e.setAttribute("style","")}),1e3)}))}),1e3)}}(_))}),[_,F]),(0,l.useEffect)((function(){var e=(0,h.vA)();U.current=void 0===e.highlight_links||null===e.highlight_links||"true"===e.highlight_links}),[]),(0,S.jsxs)("div",{style:{height:"100%"},children:[!O&&(0,S.jsx)(T,{}),(0,S.jsx)(V.c,{contentId:n.uuid}),(0,S.jsx)("div",{id:"idrviewer",ref:i,className:function(){var e,t,r,i;if(g)return"is-website-mode ".concat("auto"===b||""===b?"auto-fit":"");if(f)return"".concat(y?"":"transition-slide"," presentation-mode");if(w&&1!=(null==n||null===(e=n.config)||void 0===e?void 0:e.pagecount))return"";var o=(null==n||null===(t=n.config)||void 0===t?void 0:t.bounds[0])&&(null==n||null===(r=n.config)||void 0===r?void 0:r.bounds[0][1]);return 1==(null==n||null===(i=n.config)||void 0===i?void 0:i.pagecount)&&o&&null!=I&&I.zoomValue&&x&&o*I.zoomValuet?"".concat(e.slice(0,t),"…"):e},te=function(e){var t,n={},r=Array.from(e.attributes).slice(0,50),i=(0,Q.A)(r);try{for(i.s();!(t=i.n()).done;){var o,a=t.value;n[a.name]=ee(null!==(o=a.value)&&void 0!==o?o:"",500)}}catch(e){i.e(e)}finally{i.f()}return n},ne=function(e,t){for(var n=[],r=e;r;){var i=r.getAttribute(t);i&&n.push(i),r=r.parentElement}return n.length?n:null},re="data-celero-inspector-ignore",ie=function(e,t,n){var r,i,o,a,l,c="function"==typeof e.composedPath?e.composedPath():null;if(Array.isArray(c)){var s,u=(0,Q.A)(c);try{for(u.s();!(s=u.n()).done;){var d=s.value;if(d instanceof Element){if(d.hasAttribute(re))return null;if(d.hasAttribute(t)){var f=d.getAttribute(t);if(f)return{element:d,name:f}}}}}catch(e){u.e(e)}finally{u.f()}}var p=null;if(e.target instanceof Element?p=e.target:e.target&&e.target instanceof Node&&(p=e.target.parentElement),p||"number"!=typeof(null==n?void 0:n.clientX)||"number"!=typeof(null==n?void 0:n.clientY)||(p=document.elementFromPoint(n.clientX,n.clientY)),null!==(r=p)&&void 0!==r&&null!==(i=r.closest)&&void 0!==i&&i.call(r,"[".concat(re,"]")))return null;var m=null!==(o=null===(a=p)||void 0===a||null===(l=a.closest)||void 0===l?void 0:l.call(a,"[".concat(t,"]")))&&void 0!==o?o:null;if(!m)return null;var v=m.getAttribute(t);return v?{element:m,name:v}:null},oe=function(e){var t=e.getBoundingClientRect();return{top:t.top,left:t.left,right:t.right,bottom:t.bottom,width:t.width,height:t.height}},ae=function(e,t){var n=document.createElement("div");return n.id=e,Object.assign(n.style,{position:"fixed",top:"0px",left:"0px",width:"0px",height:"0px",pointerEvents:"none",zIndex:"2147483647",border:"2px solid ".concat(t),background:"transparent",boxSizing:"border-box",borderRadius:"4px",display:"none"}),document.documentElement.appendChild(n),n},le=function(e,t){t?(e.style.display="block",e.style.transform="translate(".concat(t.left,"px, ").concat(t.top,"px)"),e.style.width="".concat(t.width,"px"),e.style.height="".concat(t.height,"px")):e.style.display="none"},ce=function(){try{return window.location.href}catch(e){return null}},se=function(e,t){var n,r,i,o,a,l=null!==(n=e.getAttribute(t))&&void 0!==n?n:"unknown",c=e instanceof HTMLElement?e.outerHTML:"",s=null!==(r=e.textContent)&&void 0!==r?r:"";return{name:l,url:ce(),rect:oe(e),tagName:null!==(i=e.tagName)&&void 0!==i?i:null,id:null!==(o=e.id)&&void 0!==o?o:null,className:null!==(a=e.className)&&void 0!==a?a:null,attributes:te(e),ancestry:ne(e,t),htmlSnippet:c?ee(c,2e3):null,textSnippet:s?ee(s.trim(),500):null}};function ue(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=null!==(e=n.markerAttribute)&&void 0!==e?e:"assistant-c-name",i=null!==(t=n.allowedParentOrigins)&&void 0!==t?t:null,o=Boolean(n.sendHover),a=!1,l=null,c=null,s=null,u=ae("celero-assistant-inspector-hover","#3b82f6"),d=ae("celero-assistant-inspector-selected","#10b981");d.style.borderWidth="3px";var f=function(e){try{window.parent.postMessage(e,"*")}catch(e){}},p=function(e){var t=document.documentElement;e?(null===s&&(s=t.style.cursor||""),t.style.cursor="pointer"):null!==s&&(t.style.cursor=s,s=null)},m=function(e){if((a=e)&&(v=!1,h=!1),!a)return l=null,c=null,le(u,null),le(d,null),void p(!1);p(!1)},v=!1,h=!1,g=0,w=0,y={left:0,top:0,width:0,height:0},b=!1,C=0,x=0,E=function(e,t,n){return Math.max(t,Math.min(e,n))},A=function(){return document.getElementById("celero-custom-cta-wrapper")},O=function(e){v=e,e?m(!1):h=!1;var t=A();t&&(t.style.cursor=e?"grab":"")},L=function(e){if(v){var t=A(),n=e.target;if(t&&n&&t.contains(n)){var r=t.getBoundingClientRect();g=e.clientX-r.left,w=e.clientY-r.top,C=e.clientX,x=e.clientY,b=!1,y={left:Number(t.dataset.safeLeft)||0,top:Number(t.dataset.safeTop)||0,width:Number(t.dataset.safeWidth)||0,height:Number(t.dataset.safeHeight)||0},h=!0,t.style.cursor="grabbing";try{var i,o;null===(i=(o=e.target).setPointerCapture)||void 0===i||i.call(o,e.pointerId)}catch(e){}e.preventDefault(),e.stopPropagation()}}},k=function(e){if(h){var t=A();if(t){!b&&(Math.abs(e.clientX-C)>3||Math.abs(e.clientY-x)>3)&&(b=!0);var n=t.getBoundingClientRect(),r=Math.max(0,y.width-n.width),i=Math.max(0,y.height-n.height),o=E(e.clientX-g,y.left,y.left+r),a=E(e.clientY-w,y.top,y.top+i);t.style.left="".concat(o,"px"),t.style.top="".concat(a,"px"),y.width>0&&y.height>0&&document.dispatchEvent(new CustomEvent("celero:cta-live-position",{detail:{x:E((o-y.left)/y.width,0,1),y:E((a-y.top)/y.height,0,1)}})),e.preventDefault()}}},S=function(e){if(h){h=!1;var t=A();if(t&&(t.style.cursor="grab",b)){var n=t.getBoundingClientRect(),r=y.width>0?E((n.left-y.left)/y.width,0,1):0,i=y.height>0?E((n.top-y.top)/y.height,0,1):0;f({channel:$.$d,version:$.S5,type:"cta-drag",phase:"drop",x:r,y:i}),document.dispatchEvent(new CustomEvent("celero:cta-live-position",{detail:{x:r,y:i}})),e.preventDefault()}}},j=function(e){if(v){var t=A(),n=e.target;t&&n&&t.contains(n)&&(e.preventDefault(),e.stopPropagation())}},I=!1,_=!1,F=0,P=0,M=0,R=0,B=null,D=!1,N=ae("celero-annotation-draw","#6C5CE7");N.style.background="rgba(108,92,231,0.14)",N.style.borderStyle="dashed";var T=function(){var e,t,n=_?!(t=null===(e=B)||void 0===e?void 0:e.getBoundingClientRect())||t.width<=0||t.height<=0?null:{x:t.left+F*t.width,y:t.top+P*t.height}:null;if(n){var r=Math.min(n.x,M),i=Math.min(n.y,R),o=Math.abs(M-n.x),a=Math.abs(R-n.y);le(N,{left:r,top:i,width:o,height:a,right:r+o,bottom:i+a})}else le(N,null)},V=function(e){if(I){var t=function(e,t){var n,r=document.elementsFromPoint(e,t),i=(0,Q.A)(r);try{for(i.s();!(n=i.n()).done;)for(var o=n.value;o;){if(o.id&&/^p\d+$/.test(o.id))return o;o=o.parentElement}}catch(e){i.e(e)}finally{i.f()}return null}(e.clientX,e.clientY);if(t){var n=t.getBoundingClientRect();if(!(n.width<=0||n.height<=0)){B=t,F=E((e.clientX-n.left)/n.width,0,1),P=E((e.clientY-n.top)/n.height,0,1),M=e.clientX,R=e.clientY,_=!0;try{var r,i;null===(r=(i=e.target).setPointerCapture)||void 0===r||r.call(i,e.pointerId)}catch(e){}T(),e.preventDefault(),e.stopPropagation()}}}},z=function(e){_&&(M=e.clientX,R=e.clientY,T(),e.preventDefault())},U=function(e){if(_){_=!1;var t=B;if(le(N,null),t){var n=t.getBoundingClientRect();if(!(n.width<=0||n.height<=0)){var r,i=F,o=P,a=(r=e.clientX,E((r-n.left)/n.width,0,1)),l=function(e){return E((e-n.top)/n.height,0,1)}(e.clientY),c=Math.min(i,a),s=Math.min(o,l),u=Math.abs(a-i),d=Math.abs(l-o);if(u<.01||d<.01)e.preventDefault();else{var p=parseInt(t.id.replace(/^p/,""),10);I=!1,D=!0,document.documentElement.style.cursor="",f({channel:$.$d,version:$.S5,type:"annotation-drawn",page_number:p,bounds:[c,s,u,d]}),e.preventDefault()}}}}},G=function(e){(I||_||D)&&(D=!1,e.preventDefault(),e.stopPropagation())},H=function(e){var t;if(a&&!v&&!h&&!I){var n=ie(e,r,{clientX:e.clientX,clientY:e.clientY}),i=null!==(t=null==n?void 0:n.element)&&void 0!==t?t:null;if(i!==l&&(le(u,(l=i)?oe(l):null),p(Boolean(l)),o)){var c=l?se(l,r):null;f({channel:$.$d,version:$.S5,type:"hover",component:c})}}},Z=function(){_&&T(),a&&(le(u,l?oe(l):null),le(d,c?oe(c):null))},W=function(e){if(a){var t=ie(e,r,{clientX:e.clientX,clientY:e.clientY});t&&(e.preventDefault(),e.stopPropagation(),c=t.element,le(d,oe(c)),f({channel:$.$d,version:$.S5,type:"select",component:se(c,r)}))}},X=function(e){a&&"Escape"===e.key&&(l=null,c=null,le(u,null),le(d,null),f({channel:$.$d,version:$.S5,type:"select",component:null}))},q=function(e){if((!i||i.includes(e.origin))&&(0,$.ZV)(e.data)){var t,n=e.data;if(n.channel===$.$d)if(n.version===$.S5)"set-enabled"===n.type?m(Boolean(n.enabled)):"set-drag-to-place"===n.type?O(Boolean(n.enabled)):"set-annotation-draw"===n.type?(t=Boolean(n.enabled),I=t,t&&(m(!1),O(!1)),_=!1,B=null,D=!1,le(N,null),document.documentElement.style.cursor=t?"crosshair":""):"clear-selection"===n.type&&(l=null,c=null,le(u,null),le(d,null))}};return window.addEventListener("message",q),window.addEventListener("pointermove",H,!0),window.addEventListener("click",W,!0),window.addEventListener("keydown",X,!0),window.addEventListener("scroll",Z,!0),window.addEventListener("resize",Z,!0),window.addEventListener("pointerdown",L,!0),window.addEventListener("pointermove",k,!0),window.addEventListener("pointerup",S,!0),window.addEventListener("click",j,!0),window.addEventListener("pointerdown",V,!0),window.addEventListener("pointermove",z,!0),window.addEventListener("pointerup",U,!0),window.addEventListener("click",G,!0),f({channel:$.$d,version:$.S5,type:"ready"}),function(){window.removeEventListener("message",q),window.removeEventListener("pointermove",H,!0),window.removeEventListener("click",W,!0),window.removeEventListener("keydown",X,!0),window.removeEventListener("scroll",Z,!0),window.removeEventListener("resize",Z,!0),window.removeEventListener("pointerdown",L,!0),window.removeEventListener("pointermove",k,!0),window.removeEventListener("pointerup",S,!0),window.removeEventListener("click",j,!0),window.removeEventListener("pointerdown",V,!0),window.removeEventListener("pointermove",z,!0),window.removeEventListener("pointerup",U,!0),window.removeEventListener("click",G,!0),u.remove(),d.remove(),N.remove()}}var de=n(49698);var fe=n(40472),pe=n(48623),me=n(58324),ve=n(38633),he=n(15884),ge=n(77998),we=n(83940),ye=n(81545),be=n(21146),Ce=n(25761),xe=(0,l.lazy)((function(){return Promise.all([n.e(300),n.e(428)]).then(n.bind(n,68292))})),Ee=(0,l.lazy)((function(){return Promise.all([n.e(300),n.e(428)]).then(n.bind(n,4570))})),Ae=(0,l.lazy)((function(){return Promise.all([n.e(997),n.e(729),n.e(566),n.e(182),n.e(472),n.e(157),n.e(702),n.e(515),n.e(772),n.e(860),n.e(114),n.e(489),n.e(300),n.e(428)]).then(n.bind(n,30852))})),Oe=(0,l.lazy)((function(){return Promise.all([n.e(300),n.e(428)]).then(n.bind(n,81124))})),Le=(0,l.lazy)((function(){return Promise.all([n.e(300),n.e(428)]).then(n.bind(n,78688))})),ke=(0,l.lazy)((function(){return Promise.all([n.e(997),n.e(729),n.e(566),n.e(182),n.e(472),n.e(157),n.e(702),n.e(515),n.e(772),n.e(860),n.e(114),n.e(489),n.e(300),n.e(428)]).then(n.bind(n,28740))})),Se=(0,l.lazy)((function(){return Promise.resolve().then(n.bind(n,68995))})),je=(0,l.lazy)((function(){return Promise.all([n.e(300),n.e(428)]).then(n.bind(n,92181))})),Ie=(0,l.lazy)((function(){return Promise.all([n.e(300),n.e(428)]).then(n.bind(n,30694))})),_e=(0,l.lazy)((function(){return Promise.resolve().then(n.bind(n,40472))})),Fe=(0,l.lazy)((function(){return Promise.all([n.e(997),n.e(729),n.e(566),n.e(182),n.e(472),n.e(157),n.e(702),n.e(515),n.e(772),n.e(860),n.e(114),n.e(489),n.e(300),n.e(428)]).then(n.bind(n,75800))})),Pe=(0,l.lazy)((function(){return Promise.all([n.e(997),n.e(729),n.e(566),n.e(182),n.e(472),n.e(157),n.e(702),n.e(515),n.e(772),n.e(860),n.e(114),n.e(489),n.e(300),n.e(428)]).then(n.bind(n,32283))})),Me=(0,l.lazy)((function(){return Promise.all([n.e(997),n.e(729),n.e(566),n.e(182),n.e(472),n.e(157),n.e(702),n.e(515),n.e(772),n.e(860),n.e(114),n.e(489),n.e(300),n.e(428)]).then(n.bind(n,77230))})),Re=(0,l.lazy)((function(){return Promise.all([n.e(300),n.e(428)]).then(n.bind(n,45967))})),Be=(0,l.lazy)((function(){return Promise.all([n.e(300),n.e(428)]).then(n.bind(n,19457))})),De=(0,l.lazy)((function(){return Promise.all([n.e(300),n.e(428)]).then(n.bind(n,89827))})),Ne={},Te=function(e){var t,n,C,A,O,L,k,M,R,B,N,T,V,z,U,G,H,Z,W,X,Q,ee,te,ne,re,ie,oe,ae,le,ce,se,Te,Ve,ze,Ue=e.contentId,Ge=e.isPreviewCampaign,He=e.viewerOptions,Ze=e.handleContentNotFound,We=(0,l.useRef)(null),Xe=(0,l.useRef)(null),qe=(0,u.wA)(),Ye=window.location.search;if(null!==(t=window.celeroData)&&void 0!==t&&t.url_full)try{Ye=new URL(window.celeroData.url_full).search}catch(e){}var Ke=s.A.parse(Ye),Je=Ke.access_id,Qe=He.isWithoutTracking,$e=He.isWithoutAnnotations,et=He.isWithoutIntegrations,tt=He.isHideNavigation,nt=He.isPresentationMode,rt=He.isShowControls,it=(0,u.d4)((function(e){return{theme:e.theme,shortenData:e.shortenData}})),ot=it.theme,at=it.shortenData,lt=nt?ot.palette.customViewer.viewerBackGroundColorPresentation:ot.palette.customViewer.viewerBackGroundColorDocument,ct=(0,g.MX)()||Qe,st=(0,l.useState)(),ut=(0,o.A)(st,2),dt=ut[0],ft=ut[1],pt=(0,l.useState)(nt),mt=(0,o.A)(pt,2),vt=mt[0],ht=mt[1],gt=(0,l.useState)(!1),wt=(0,o.A)(gt,2),yt=wt[0],bt=wt[1],Ct=(0,m.A)().isMobile,xt="pdftolink"===(null==at||null===(n=at.company)||void 0===n?void 0:n.account_type)||function(){var e,t=null!==(e=window.celeroData)&&void 0!==e&&e.url_full?new URL(window.celeroData.url_full).search:window.location.search;return"pdftolink"===s.A.parse(t).source}(),Et=xt&&"pdftolink_basic"!==(null==at?void 0:at.plan),At=Et?Ct?fe.PDFTOLINK_BANNER_HEIGHT_MOBILE:fe.PDFTOLINK_BANNER_HEIGHT:0,Ot=!!(Ke.feed||null!=at&&null!==(C=at.params)&&void 0!==C&&null!==(A=C.feed)&&void 0!==A&&A.feed||Ke.search_in_feed||null!=at&&null!==(O=at.params)&&void 0!==O&&null!==(L=O.feed)&&void 0!==L&&L.search_in_feed),Lt=Boolean(Ke.panelId||Ke.panel_id||(null==at||null===(k=at.params)||void 0===k||null===(M=k.feed)||void 0===M?void 0:M.panelId)||(null==at||null===(R=at.params)||void 0===R||null===(B=R.feed)||void 0===B?void 0:B.panel_id)),kt=(0,l.useState)(Ot&&!Ct),St=(0,o.A)(kt,2),jt=St[0],It=St[1],_t=(0,l.useState)(0),Ft=(0,o.A)(_t,2),Pt=Ft[0],Mt=Ft[1],Rt=(0,l.useState)("right"),Bt=(0,o.A)(Rt,2),Dt=Bt[0],Nt=Bt[1],Tt=x({bottom:(yt?76:16)+At}),Vt=(0,l.useState)(!1),zt=(0,o.A)(Vt,2),Ut=zt[0],Gt=zt[1],Ht=(0,p.A)().currentPageNumber,Zt=(0,be.y)(),Wt=(0,l.useState)(!1),Xt=(0,o.A)(Wt,2),qt=Xt[0],Yt=Xt[1],Kt=(0,l.useState)(!1),Jt=(0,o.A)(Kt,2),Qt=Jt[0],$t=Jt[1],en=!!He.isWithoutNavBar&&Zt&&!qt,tn=(0,v.g7)(dt,He,{editModeAppBarGhostVisible:en}),nn=tn.footerHeight,rn=tn.viewerBarHeight,on=(0,l.useState)(!1),an=(0,o.A)(on,2),ln=an[0],cn=an[1],sn=(0,l.useState)(362),un=(0,o.A)(sn,2),dn=un[0],fn=un[1],pn=(0,l.useState)(!1),mn=(0,o.A)(pn,2),vn=mn[0],hn=mn[1],gn=(0,l.useState)(null),wn=(0,o.A)(gn,2),yn=wn[0],bn=wn[1],Cn=(0,ve.Y)({content:dt||Ne}),xn=Cn.openUrl,En=Cn.openContent,An=Cn.dialog,On=(0,he.B)({content:dt||Ne}),Ln=On.triggerShareDialog,kn=On.ShareDialogLoader,Sn=(0,ge.p)({content:dt||Ne}).handleDownloadOriginalPdf,jn=(0,l.useState)(!1),In=(0,o.A)(jn,2),_n=In[0],Fn=In[1],Pn=(0,l.useState)(!1),Mn=(0,o.A)(Pn,2),Rn=Mn[0],Bn=Mn[1],Dn=(0,l.useCallback)((function(e){e.preventDefault(),hn(!0)}),[]);(0,l.useEffect)((function(){if("undefined"!=typeof window&&(window.parent!==window&&"true"===new URLSearchParams(window.location.search).get("celero_preview_app")))return ue({markerAttribute:"assistant-c-name",allowedParentOrigins:(0,i.A)($.XU)})}),[]),(0,l.useEffect)((function(){if("undefined"!=typeof window&&window.parent!==window&&"true"===new URLSearchParams(window.location.search).get("celero_preview_app")){var e=function(e){if((0,$.Id)(e)){var t=e.data;if("set-drag-to-place"===t.type){var n=Boolean(t.enabled);Fn(n),n&&Bn(!0)}}};return window.addEventListener("message",e),function(){return window.removeEventListener("message",e)}}}),[]),(0,l.useEffect)((function(){var e=function(e){var t,n;if(vn){var r,i=Lt&&"left"===Dt,o=Xe.current,a=null==o?void 0:o.getBoundingClientRect(),l=null!==(t=null==a?void 0:a.width)&&void 0!==t?t:window.innerWidth,c=null!==(n=null==a?void 0:a.left)&&void 0!==n?n:0;(r=i?e.clientX-c:l-(e.clientX-c))<250&&(r=250),r>800&&(r=800),fn(r)}},t=function(){hn(!1)};return vn?(window.addEventListener("mousemove",e),window.addEventListener("mouseup",t),document.body.style.cursor="col-resize",document.body.style.userSelect="none"):(document.body.style.cursor="",document.body.style.userSelect=""),function(){window.removeEventListener("mousemove",e),window.removeEventListener("mouseup",t),document.body.style.cursor="",document.body.style.userSelect=""}}),[vn,Lt,Dt]);var Nn=(0,l.useState)([]),Tn=(0,o.A)(Nn,2),Vn=Tn[0],zn=Tn[1];(0,l.useEffect)((function(){var e="viewer-mobile-topbar-offset",t=Ct&&!He.isWithoutNavBar;return document.body.classList.toggle(e,t),document.body.style.setProperty("--viewer-mobile-topbar-height","".concat(D.O5,"px")),function(){document.body.classList.remove(e),document.body.style.removeProperty("--viewer-mobile-topbar-height")}}),[Ct,He.isWithoutNavBar]);var Un=(0,l.useCallback)((function(e){It(e)}),[]);function Gn(){return(null==dt?void 0:dt.conversion_type)===a.d.VIDEO?(0,S.jsx)(Le,{content:dt,viewerOptions:He,editModeAppBarGhostVisible:en}):(0,S.jsx)(q,{content:dt,viewerOptions:He,idrViewerElement:We,isControlsBarParamEnabled:vt,isPreviewCampaign:Ge,searchInFeedOpened:jt,feedWidth:dn,editModeAppBarGhostVisible:en})}if((0,l.useEffect)((function(){Ct&&Lt&&0===Vn.length&&zn([{id:"content",label:"Content",icon:"Feed"}])}),[Ct,Lt]),(0,l.useEffect)((function(){var e=function(){Ct&&Lt&&Mt(0)},t=function(e){var t,n="left"===(null==e||null===(t=e.detail)||void 0===t?void 0:t.side)?"left":"right";Nt(n),cn(!0)},n=function(e){var t,n=null==e||null===(t=e.detail)||void 0===t?void 0:t.items;Array.isArray(n)&&n.length&&zn(n)};return window.addEventListener("dsl:goToPage",e),window.addEventListener("dsl:position",t),window.addEventListener("dsl:tabs",n),function(){window.removeEventListener("dsl:goToPage",e),window.removeEventListener("dsl:position",t),window.removeEventListener("dsl:tabs",n)}}),[Ct,Lt]),(0,l.useEffect)((function(){Ue?E.A.loadContent(Ue,Je).then((function(e){var t,n,i,o,a={};(e.data=(0,h.iQ)(e.data),null!=at&&null!==(t=at.company)&&void 0!==t&&t.is_plan_limit_reached)&&(0,I.xF)(b.qW.PLAN_LIMIT_REACHED,{value:null==at||null===(i=at.company)||void 0===i?void 0:i.plan_usage});if(202===e.status){var l,c,s;ft(e.data.content),a=null==e||null===(l=e.data)||void 0===l||null===(c=l.content)||void 0===c?void 0:c.content_customizations;var u=(0,g.zL)(w.w,null==at||null===(s=at.company)||void 0===s?void 0:s.company_customizations);qe((0,d.Y)(u)),(0,I.xF)(b.qW.WARNING,{functionality:"ViewerAPI.loadContent in Viewer container",value:e.data.message})}else{var p,m;ft(e.data);var v=(0,g.zL)(w.w,null==at||null===(p=at.company)||void 0===p?void 0:p.company_customizations);qe((0,d.Y)(v)),a=null==e||null===(m=e.data)||void 0===m?void 0:m.content_customizations}if(a){var y=(0,g.zL)(w.w,a);qe((0,d.Y)(y))}null!=e&&null!==(n=e.data)&&void 0!==n&&n.html_snippets&&qe((0,f.S)(null==e||null===(o=e.data)||void 0===o?void 0:o.html_snippets));(0,I.E1)("d5",(0,r.A)({},(0,I.wn)()))})).catch((function(e){var t,n,r,i,o,a,l,s,u,d,f,p,m;404!==(null===(t=e.response)||void 0===t?void 0:t.status)?"ERR_CANCELED"===e.code||null!==(n=e.message)&&void 0!==n&&n.includes("aborted")||(0,c.vx)("Error while loading content",qe,null,{message:e.message,status:(null===(r=e.response)||void 0===r?void 0:r.status)||"",statusText:(null===(i=e.response)||void 0===i?void 0:i.statusText)||"",url:(null===(o=e.config)||void 0===o?void 0:o.url)||"",method:(null===(a=e.config)||void 0===a?void 0:a.method)||"",data:"string"==typeof(null===(l=e.response)||void 0===l?void 0:l.data)||"number"==typeof(null===(s=e.response)||void 0===s?void 0:s.data)||"boolean"==typeof(null===(u=e.response)||void 0===u?void 0:u.data)?null===(d=e.response)||void 0===d?void 0:d.data:JSON.stringify(null===(f=e.response)||void 0===f?void 0:f.data),requestHeaders:null!==(p=e.config)&&void 0!==p&&p.headers?JSON.stringify(e.config.headers):"",responseHeaders:null!==(m=e.response)&&void 0!==m&&m.headers?JSON.stringify(e.response.headers):"",stack:e.stack||""}):Ze()})):(0,c.vx)("Please use valid content Id",qe)}),[Ue,Je]),(0,l.useEffect)((function(){var e=s.A.parse(window.location.search);ht("true"===e.controls)}),[]),(0,l.useEffect)((function(){if(Ot&&!Ct){var e=jt?"Open Sidebar":"Close Sidebar",t={account_id:null==at?void 0:at.company.account_id};(0,I.xF)(e,t)}}),[jt]),(0,l.useEffect)((function(){dt&&((0,I.I1)({page_number:Ht,content_id:dt.uuid,account_id:at.company.account_id,title:dt.version.version_details.name,version_number:dt.version.version_number,version_id:dt.version.version_details.uuid}),Gt(!0))}),[dt]),(0,l.useEffect)((function(){try{var e,t,n=(null==at||null===(e=at.company)||void 0===e||null===(t=e.id)||void 0===t?void 0:t.toString())||"global",r=localStorage.getItem("sp_side_".concat(n));"left"!==r&&"right"!==r||(Nt(r),cn(!0))}catch(e){}}),[null==at||null===(N=at.company)||void 0===N?void 0:N.id]),!dt)return null;var Hn=Zt&&!(null!=dt&&null!==(T=dt.content_action)&&void 0!==T&&T.is_enabled)&&!Qt;var Zn=vt&&rt,Wn=dt.shorten,Xn=null==Wn?void 0:Wn.split("/s/")[1],qn=null==Xn?void 0:Xn.split("/")[0],Yn=null==at?void 0:at.menu_items,Kn=null==at?void 0:at.buttons,Jn=null==at||null===(V=at.company)||void 0===V||!V.company_customizations||(null==at||null===(z=at.company)||void 0===z||null===(U=z.company_customizations)||void 0===U?void 0:U.is_sticky_bar);dt.content_customizations&&(Jn=dt.content_customizations.is_sticky_bar);var Qn=new Set(["image","audio","html","embed"]),$n=function(e,t){if(e)if(Qn.has(e.kind))En(e);else{var n={source:t,goToPage:function(e){return(0,de.N)(e,{headerOffset:rn,isPresentationMode:He.isPresentationMode})},goToTop:function(){return(0,de.N)(1,{headerOffset:rn,isPresentationMode:He.isPresentationMode})},next:function(){var e,t;return null===(e=window.IDRViewer)||void 0===e||null===(t=e.next)||void 0===t?void 0:t.call(e)},prev:function(){var e,t;return null===(e=window.IDRViewer)||void 0===e||null===(t=e.prev)||void 0===t?void 0:t.call(e)},openVideo:function(e){var t=e.src;return bn(null!=t?t:null)},openUrl:function(e,t){return xn(e,t)},share:function(){return Ln("buttons"===t?"Buttons":"Menu")},download:function(){return Sn()},print:function(){return window.print()},call:we.PS,sendEmail:we.Ed,openForm:(0,we.nX)(qe),openMicrosite:function(e,t){var n=e?"".concat(window.location.origin,"/s/").concat(e):"";n&&xn(n,t)}};(0,pe.w)(e,n)}},er=function(e,t,n){var r=(0,me.le)(e);(0,ye.W)({source:"viewer_bar_menu",element:ye.T5.MENU_ITEM,menu:ye.wL.VIEWER_BAR,value:null==e?void 0:e.title,itemIndex:t,layout:n,action:r}),$n(r,"menu")},tr=function(e){$n((0,me.V_)(e),"buttons")};function nr(e){var t=rn;(0,de.N)(e,{headerOffset:t,isPresentationMode:He.isPresentationMode})}var rr,ir;return(0,S.jsxs)("div",{id:"viewer-main-wrapper",ref:Xe,"assistant-c-name":"microsite",style:{position:"relative",height:"100%",background:lt},children:[He.isWithoutNavBar?en?(0,S.jsx)("div",{"data-celero-inspector-ignore":"true",style:{position:"sticky",top:0,zIndex:1100,display:"flex",alignItems:"center",boxSizing:"border-box",height:D.Hi,padding:"0 16px",background:(0,y.X4)(w.w.palette.primary.main,.04),borderBottom:"1.5px dashed ".concat((0,y.X4)(w.w.palette.primary.main,.5))},children:(0,S.jsx)(Ce.A,{element:"app-bar",variant:"block",label:"Add header bar",onDismiss:function(){return Yt(!0)}})}):null:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(v.Ay,{content:dt,viewerOptions:He,idrViewer:window.IDRViewer,isPreviewCampaign:Ge,menuItems:Yn,handleMenuItemClick:er,buttons:Kn,handleButtonClick:tr}),Ge&&(0,S.jsx)(J.A,{isStickyBar:Jn&&!He.isWithoutNavBar})]}),(0,S.jsxs)("div",{style:(0,r.A)((0,r.A)({},!jt||!Ot||Ct||Lt&&!ln?{}:Lt&&"left"===Dt?{marginLeft:dn}:{marginRight:dn}),{},{position:"relative"}),children:[(0,S.jsx)(j,{contentApiResponse:dt,shortenData:at}),Zn&&(0,S.jsxs)(l.Suspense,{fallback:(0,S.jsx)(S.Fragment,{}),children:[" ",(0,S.jsx)(je,{content:dt,setControlsBarOpened:bt})]}),!ct&&(0,S.jsxs)(l.Suspense,{fallback:(0,S.jsx)(S.Fragment,{}),children:[" ",(0,S.jsx)(xe,{content:dt})]}),!et&&!(0,g.MX)()&&!Boolean("Celero default"===(null==at||null===(G=at.company)||void 0===G?void 0:G.name))&&(0,S.jsxs)(l.Suspense,{fallback:(0,S.jsx)(S.Fragment,{}),children:[" ",(0,S.jsx)(Ee,{})]}),ct?Gn():Ut&&(0,S.jsx)(l.Suspense,{fallback:(0,S.jsx)(S.Fragment,{}),children:(0,S.jsx)(Ae,{content:dt,shortenData:at,children:Gn()})}),!tt&&(0,S.jsx)(l.Suspense,{fallback:(0,S.jsx)(S.Fragment,{}),children:(0,S.jsx)(ke,{content:dt,viewerOptions:He,backgroundColor:lt,disableSwipe:Boolean(Ct&&Lt&&"content"!==(null===(H=Vn[Pt])||void 0===H?void 0:H.id))})}),!$e&&(0,S.jsx)(_.A,{content:dt}),!$e&&(0,S.jsx)(F.A,{content:dt}),(0,S.jsx)(P.A,{isPresentationMode:nt,contentUuid:null==dt?void 0:dt.uuid,pageCount:(null==dt||null===(Z=dt.config)||void 0===Z?void 0:Z.pagecount)||1}),Ct&&Lt&&(0,S.jsx)(l.Suspense,{fallback:(0,S.jsx)(S.Fragment,{}),children:(0,S.jsx)(Me,{contentUuid:dt.uuid,background:lt,bottomOffset:nn+56+At,topOffset:rn,visible:Boolean((null===(W=Vn[Pt])||void 0===W?void 0:W.id)&&"content"!==(null===(X=Vn[Pt])||void 0===X?void 0:X.id))})}),Ct&&!Lt&&Boolean((null===(Q=Vn[Pt])||void 0===Q?void 0:Q.id)&&"content"!==(null===(ee=Vn[Pt])||void 0===ee?void 0:ee.id))&&(0,S.jsx)("div",{style:{position:"fixed",top:rn,left:0,right:0,bottom:nn+56+At,background:lt,overflowY:"auto",zIndex:1100,padding:"16px"},children:(0,S.jsx)(K.A,{contentUuid:dt.uuid,onGoToPage:function(e){nr(e)},showFeeds:!0,feedName:(null==at||null===(te=at.params)||void 0===te||null===(ne=te.feed)||void 0===ne?void 0:ne.feed)||Ke.feed||(null==at||null===(re=at.params)||void 0===re||null===(ie=re.feed)||void 0===ie?void 0:ie.search_in_feed)||Ke.search_in_feed||"default",accountId:null==at||null===(oe=at.company)||void 0===oe?void 0:oe.account_id,feedsColor:void 0,currentPageNumber:Ht,containerScroll:!0})}),"STICKY_CENTER_LEFT"===(null==dt||null===(ae=dt.content_action)||void 0===ae?void 0:ae.button_position)&&!Ct&&!Rn&&(0,S.jsx)("div",{className:Tt.centeredLeftSticky,children:(0,S.jsxs)(l.Suspense,{fallback:(0,S.jsx)(S.Fragment,{}),children:[" ",(0,S.jsx)(Se,{content:dt,withShadow:!0})]})}),("CUSTOM"===(null==dt||null===(le=dt.content_action)||void 0===le?void 0:le.button_position)||_n||Rn)&&!Ct&&(0,S.jsx)(l.Suspense,{fallback:(0,S.jsx)(S.Fragment,{}),children:(0,S.jsx)(De,{content:dt,containerRef:Xe,barHeight:rn,bottomReserve:nn+(yt?76:16)+72,feed:{open:Boolean(jt&&Ot&&!Ct),width:dn,side:Lt&&"left"===Dt?"left":"right"},isMobile:Ct,forceShow:_n||Rn,placing:_n})}),(0,S.jsx)("div",{style:(0,r.A)({minHeight:nn,position:"fixed",bottom:At,left:0,right:0,display:"flex",flexDirection:"column",justifyContent:"flex-start",alignItems:"center",background:lt,paddingTop:"10px",gap:5,zIndex:1200},!jt||!Ot||Ct||Lt&&!ln?{}:Lt&&"left"===Dt?{marginLeft:dn}:{marginRight:dn}),children:(0,S.jsx)(Y.A,{isMobile:Ct,currentPageNumber:Ht,pageCount:(null==dt||null===(ce=dt.config)||void 0===ce?void 0:ce.pagecount)||1,goToPage:nr,isPresentationMode:nt,backgroundColor:lt,mobileActiveTab:Pt,mobileTabs:Vn,onMobileTabChange:function(e){Mt(e);var t=Vn[e];if("content"===(null==t?void 0:t.id))It(!1);else{It(!0);try{window.dispatchEvent(new CustomEvent("dsl:setActiveTab",{detail:{tabId:t.id}}))}catch(e){}}},bottomChildren:Ct?(0,S.jsx)("div",{style:{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",padding:"5px 10px"},children:(0,S.jsx)(l.Suspense,{fallback:(0,S.jsx)(S.Fragment,{}),children:(0,S.jsx)(Ie,{content:dt,isPresentationMode:nt})})}):null,children:Ct&&(0,S.jsx)("div",{style:{display:"flex",flexDirection:"column",justifyContent:null!=at&&null!==(se=at.company)&&void 0!==se&&null!==(Te=se.company_customizations)&&void 0!==Te&&Te.is_powered_by_celero?"flex-end":"center",alignItems:"center",padding:"0px 30px",gap:"5px"},children:null!=dt&&null!==(ir=dt.content_action)&&void 0!==ir&&ir.is_enabled&&Ct?(0,S.jsx)(Se,{content:dt,withShadow:!1}):(0,S.jsx)(S.Fragment,{})})})}),(!Ct||Hn)&&(0,S.jsxs)("div",{className:Tt.poweredByWrapper,children:["STICKY_BOTTOM_LEFT"!==(null==dt||null===(rr=dt.content_action)||void 0===rr?void 0:rr.button_position)||Rn?(0,S.jsx)(S.Fragment,{}):(0,S.jsx)(Se,{content:dt,withShadow:!0}),Hn&&(0,S.jsx)(Ce.A,{element:"cta",variant:"button",label:"Add call to action",onDismiss:function(){return $t(!0)}}),!Ct&&(0,S.jsx)(l.Suspense,{fallback:(0,S.jsx)(S.Fragment,{}),children:(0,S.jsx)(Ie,{content:dt})})]}),(0,S.jsxs)(l.Suspense,{fallback:(0,S.jsx)(S.Fragment,{}),children:[" ",(0,S.jsx)(Oe,{})]}),Et&&(0,S.jsx)("div",{style:{position:"fixed",bottom:0,left:0,right:0,zIndex:1300},children:(0,S.jsx)(l.Suspense,{fallback:(0,S.jsx)(S.Fragment,{}),children:(0,S.jsx)(_e,{contentId:dt.uuid,backgroundColor:lt})})})]}),Ot&&!Ct&&(0,S.jsxs)("div",{style:(0,r.A)((0,r.A)({position:window.celeroData?"absolute":"fixed",top:rn},Lt&&"left"===Dt?{left:0,right:"auto"}:{right:0}),{},{overflow:"visible",width:jt?dn:0,transition:vn?"none":"width 0.3s",height:rn>0?"calc(100vh - ".concat(rn,"px)"):"100vh",background:lt,zIndex:1100,display:"flex"}),children:[!(Lt&&"left"===Dt)&&(0,S.jsx)("div",{onMouseDown:Dn,style:{width:"12px",cursor:"col-resize",height:"100%",flexShrink:0,backgroundColor:"transparent",zIndex:1102,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",left:0},title:"Drag to resize",children:(0,S.jsx)("div",{style:{width:"4px",height:"40px",borderRadius:"2px",backgroundColor:"rgba(0, 0, 0, 0.2)"}})}),(0,S.jsx)("div",{style:{flex:1,overflow:"auto",height:"100%",minWidth:0,paddingLeft:Lt&&"left"===Dt?0:"12px",paddingRight:Lt&&"left"===Dt?"12px":0},children:(0,S.jsx)(l.Suspense,{fallback:(0,S.jsx)(S.Fragment,{}),children:Lt?(0,S.jsx)(Pe,{viewerBarHeight:rn,accountId:null==at||null===(Ve=at.company)||void 0===Ve?void 0:Ve.account_id,shouldOpenFeeds:jt,handleSeachInFeedStatus:Un,contentUuid:dt.uuid,celeroId:(0,I.AS)(),shorten:qn,background:lt}):(0,S.jsx)(Fe,{viewerBarHeight:rn,accountId:null==at||null===(ze=at.company)||void 0===ze?void 0:ze.account_id,shouldOpenFeeds:jt,handleSeachInFeedStatus:Un,contentUuid:dt.uuid,celeroId:(0,I.AS)(),shorten:qn,background:lt})})}),Lt&&"left"===Dt&&(0,S.jsx)("div",{onMouseDown:Dn,style:{width:"12px",cursor:"col-resize",height:"100%",flexShrink:0,backgroundColor:"transparent",zIndex:1102,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",right:0},title:"Drag to resize",children:(0,S.jsx)("div",{style:{width:"4px",height:"40px",borderRadius:"2px",backgroundColor:"rgba(0, 0, 0, 0.2)"}})})]}),(0,S.jsxs)(l.Suspense,{fallback:(0,S.jsx)(S.Fragment,{}),children:[" ",(0,S.jsx)(Re,{})]}),(0,S.jsx)(l.Suspense,{fallback:(0,S.jsx)(S.Fragment,{}),children:(0,S.jsx)(Be,{url:yn,contentUUID:null==dt?void 0:dt.uuid,open:!!yn,onClose:function(){return bn(null)}})}),An,(0,S.jsx)(kn,{})]})}},93267:function(e,t,n){n.r(t),n.d(t,{ReactComponent:function(){return c}});var r,i=n(49255),o=["title","titleId"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t=i)&&Object.keys(l.O).every((function(e){return l.O[e](n[c])}))?n.splice(c--,1):(a=!1,i0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[n,r,i]},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,{a:t}),t},n=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},l.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var i=Object.create(null);l.r(i);var o={};t=t||[null,n({}),n([]),n(n)];for(var a=2&r&&e;("object"==typeof a||"function"==typeof a)&&!~t.indexOf(a);a=n(a))Object.getOwnPropertyNames(a).forEach((function(t){o[t]=function(){return e[t]}}));return o.default=function(){return e},l.d(i,o),i},l.d=function(e,t){for(var n in t)l.o(t,n)&&!l.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},l.f={},l.e=function(e){return Promise.all(Object.keys(l.f).reduce((function(t,n){return l.f[n](e,t),t}),[]))},l.u=function(e){return"https://engage.kraneshares.com/static/js/"+{114:"vendors-f6cbf06d",157:"vendors-96e7fe95",472:"vendors-059be3de",489:"vendors-27545368",515:"vendors-f92f78ac",566:"vendors-2b4841d6",702:"vendors-0860747a",729:"vendors-49d0a293",772:"vendors-0bc0478e",860:"vendors-386b9151",997:"vendors-cdd60c62"}[e]+"."+{114:"59d50cbb",157:"ae3a3d10",472:"b062d4c8",489:"be2f36b7",515:"852ce86b",566:"c9d8a2fe",702:"ff07639a",729:"d12e2f67",772:"7a9dc4c2",860:"b9eb15b7",997:"c713807d"}[e]+".js"},l.miniCssF=function(e){return"https://engage.kraneshares.com/static/css/vendors-8f161a59.8a414418.css"},l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},i="celero:",l.l=function(e,t,n,o){if(r[e])r[e].push(t);else{var a,c;if(void 0!==n)for(var s=document.getElementsByTagName("script"),u=0;u