PageSourceSearch

https://rivian.com/.next-30463f42c7f96803829e56267a4e602d6fcf694c-…/static/chunks/7bdc1aba.19f235d0b78cbe06.js

js rivian.com collected 2026-09-24 15:19:43 UTC 301,185 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7281],{19487:function(e,t,n){n.r(t),n.d(t,{ChatCTA:function(){return lf},ChatProvider:function(){return tj},ChatWidget:function(){return lp},LanguageCodes:function(){return K},getChatAvailability:function(){return tf}});var i=n(67294),r=n(73935),a=n(86854),o=n(64687),s=n.n(o),u=n(15861);n(58981);var l=n(25934),c=n(4942),d=n(95998),p=n(21302),m=n(33668),h=n(22805),f=n(67878),E=n(97901),g=n(67177),x=n(9855),y=n(2286),v=n(24404),A=n(85579),C=n(70399),_=n(5943),T=n(41451),D=n(91),k=n(65885),S=n(87462),b=n(72536),w=n(29604),O=n(15671),N=n(43144),P=n(71002),I=n(32531),F=n(58018),R=n(61120),L=n(86848),B=n(60663),M=n(20297),V=n(82505),U=n(83279),G=n(79464),j="SET_HAS_ERROR",Z=function(e){return/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},H=function(){return"undefined"!=typeof window&&void 0!==window.navigator&&null!==navigator.userAgent.match(/Android|BlackBerry|iPhone|iPad|iPod|Opera Mini|IEMobile/i)},z=/rivian.com$/gi,W=function(e){var t;if(!e)return!1;try{t=new URL(e)}catch(e){return!1}return z.test(t.hostname)},Y=function(e){var t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||"th")},K=Object.freeze({"en-US":"en-US","en-CA":"en-CA","fr-CA":"fr-CA"}),X=function(e){if(!e)return"";var t=e.split(":"),n=parseInt(t[0],10),i=12;n>12?i=n-12:n>0&&(i=n);var r=t[1],a=n<12?"AM":"PM";return parseInt(r,10)>0?"".concat(i,":").concat(r," ").concat(a):"".concat(i," ").concat(a)},q=function(e){if(!e)return null;var t=e.time,n=e.locale,i=void 0===n?K["en-US"]:n,r=e.options;return t?new Date(t).toLocaleString(i,void 0===r?{hour:"numeric",minute:"numeric",hour12:!0}:r):null};function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(n),!0).forEach(function(t){(0,c.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var $=function(e,t,n){if(!e)return{isChatAvailable:!1,errors:t};var i={loading:!1,isChatAvailable:e.available,chatAvailabilityMessage:e.message,estimatedWaitTime:e.estimatedWaitTime,errors:t},r=e.hoursOfOperation;if(!r)return i;var a,o,s={timezone:r.timeZoneKey,name:r.name,weekdays:{grouped:""},weekends:{grouped:""}};return r.hours.forEach(function(e){var t=X(null==e?void 0:e.start),i=X(null==e?void 0:e.end),u=(new Date).toLocaleTimeString(n,{timeZone:r.timeZoneKey,timeZoneName:"short"}).split(" ")[2];/Saturday|Sunday/.test(null==e?void 0:e.day)?(s.weekends[null==e?void 0:e.day]=t||i?"".concat(t,"-").concat(i," (").concat(u,")"):"Closed",o||s.weekends.grouped?o||s.weekends.grouped===s.weekends[null==e?void 0:e.day]||(s.weekends.grouped="",o=!0):s.weekends.grouped=s.weekends[null==e?void 0:e.day]):(s.weekdays[null==e?void 0:e.day]=t||i?"".concat(t,"-").concat(i," (").concat(u,")"):"Closed",a||s.weekdays.grouped?a||s.weekdays.grouped===s.weekdays[null==e?void 0:e.day]||(s.weekdays.grouped="",a=!0):s.weekdays.grouped=s.weekdays[null==e?void 0:e.day])}),J(J({},i),s)},ee="Customer Service Specialist",et="****** CUSTOMER IS IN QUEUE ******",en="application/vnd.amazonaws.connect.event.participant.joined",ei="application/vnd.amazonaws.connect.event.transfer.failed",er="application/vnd.amazonaws.connect.event.transfer.succeeded",ea="application/vnd.amazonaws.connect.event.participant.left",eo="AGENT",es="CUSTOMER",eu="SYSTEM",el="EVENT",ec="MESSAGE",ed={RETURN_TO_CHAT:{eventAction:"Return to chat"},CHAT_START:{eventAction:"Chat Start"},CLOSE_CHAT:{eventAction:"Close chat"},CANCEL_CHAT:{eventAction:"Cancel chat"},NEXT:{eventAction:"Chat Next"},CLICKED_X:{eventAction:"Clicked X"},DOWNLOAD_TRANSCRIPT:{eventAction:"Download Transcript"},EMAIL_CLICK:{eventAction:"Email Click"},MAXIMIZE:{eventAction:"Maximize"}
1,MINIMIZE:{eventAction:"Minimize"},MUTE:{eventAction:"Mute"},OPEN:{eventAction:"Open"},PRIVACY_POLICY_LINK:{eventAction:"Privacy Policy Link"},RESTART_CHAT:{eventAction:"Restart Chat"}},ep="emailAddress",em="CANCEL_CHAT",eh="OPEN_URL",ef="Category",eE="Queue",eg="ChatSession",ex="Offline",ey="Feedback",ev={ROADSIDE_ASSISTANCE:["RoadsideAssistance"],VEHICLE_SERVICE:["Charging","VehicleService"]},eA=["                    ###########                   \n","                  ###############                 \n","               #####################              \n","             ########         ########            \n","          ########    ##   ##    ########         \n","        ########   #####   #####   ########       \n","     ########    #######   #######   ########     \n","   ########   ########       ########   ########  \n","  ########  ########           ########  ######## \n","           ########             ########          \n","  ########  ########           ########  ######## \n","   ########   ########       ########   ########  \n","     ########    #######   #######   ########     \n","        ########   #####   #####   ########       \n","          ########    ##   ##    ########         \n","             ########         ########            \n","               #####################              \n","                  ###############                 \n","                    ###########                   \n","                                                  \n"],eC=function(e){if(!e||"string"!=typeof e)return ee;var t=e.split(":");return t&&t.length&&t[t.length-1]||ee},e_=function(e){var t=d.Z.get("window").height,n=parseFloat(e);return p.Z.roundToNearestPixel(t*n/100)},eT=function(e){var t=d.Z.get("window").width,n=parseFloat(e);return p.Z.roundToNearestPixel(t*n/100)},eD=function(e){var t=e.chatInputRef,n=e.chatSessionFlatListRef,r=e.height;if(e.isDesktop)return{};var o=(0,i.useState)(!1),s=(0,a.Z)(o,2),u=s[0],l=s[1],c=(0,i.useState)(r),d=(0,a.Z)(c,2),p=d[0],h=d[1],f=t.current;return(0,i.useEffect)(function(){if("undefined"!=typeof window){var e=t.current;(null==e?void 0:e.addEventListener)&&(null==e||e.addEventListener("focus",function(){return l(!0)},!0),null==e||e.addEventListener("blur",function(){return l(!1)},!0))}else m.Z.addListener("keyboardDidShow",function(){return l("focus",!0)}),m.Z.addListener("keyboardDidHide",function(){return l("blur",!1)});return function(){if("undefined"!=typeof window){var e=t.current;(null==e?void 0:e.removeEventListener)&&(null==e||e.removeEventListener("focus",function(){return l(!0)},!0),null==e||e.removeEventListener("blur",function(){return l(!1)},!0))}else m.Z.removeListener("keyboardDidShow",function(){return l(!0)}),m.Z.removeListener("keyboardDidHide",function(){return l(!1)})}},[]),(0,i.useEffect)(function(){"undefined"!=typeof window&&setTimeout(function(){h((null===(t=window)||void 0===t||null===(i=t.visualViewport)||void 0===i?void 0:i.height)||(null===(r=window)||void 0===r?void 0:r.innerHeight)),null===(e=window)||void 0===e||e.scrollTo(0,0);var e,t,i,r,a=n.current;setTimeout(function(){null==a||a.scrollToEnd({animated:!0})},100)},250)},[u,f]),{isKeyboardVisible:u,viewHeight:p,dismissKeyboard:function(){m.Z.dismiss(),l(!1)}}};function ek(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}var eS,eb,ew=function(e){window.dataLayer&&window.dataLayer.push(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ek(Object(n),!0).forEach(function(t){(0,c.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ek(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({event:"chat",eventCategory:"Chat"},e))},eO=function(e){var t=e||{},n=t.getChatCategories,i=t.getChatCategoryAvailability,r={};return null==i||i.forEach(function(e){(null==e?void 0:e.id)&&(r[e.id]=e)}),{chatCategories:n,chatCategoriesAvailability:r}},eN=function(e){if(!e)return"";var t=e.split(":"),n=parseInt(t[0],10),i=12;n>12?i=n-12:n>0&&(i=n);var r=t[1],a=n<12?"AM":"PM";return parseInt(r,10)>0?"".concat(i,":").concat(r," ").concat(a):"".concat(i," ").concat(a)}
1,eP={weekdays:["Monday","Tuesday","Wednesday","Thursday","Friday"],weekends:["Saturday","Sunday"]},eI=function(e,t,n,i){var r,a=e.grouped,o=e.startDay,s=e.type,u=t.TimeZoneKey,l=t.hours;if(a){var c=l[o]||{},d=eN(c.start),p=eN(c.end),m=(new Date).toLocaleTimeString(i,{timeZone:u,timeZoneName:"short"}).split(" ").pop(),h=d||p?"".concat(d,"-").concat(p," (").concat(m,")"):(null==n?void 0:n.closed)||"Closed";return["".concat(n[s],": ").concat(h)]}return(null==eP||null===(r=eP[s])||void 0===r?void 0:r.map(function(t){return"".concat(t,": ").concat(e[t])}))||[]},eF=function(e,t){var n=e.labels,i=function(e,t){if(!e)return{timezone:"",name:"",weekdays:{},weekends:{}};var n=e.hoo_data;if(!n)return{timezone:"",name:"",weekdays:{},weekends:{}};var i,r,a={timezone:n.TimeZoneKey,name:n.name,weekdays:{grouped:"",startDay:"Monday",type:"weekdays"},weekends:{grouped:"",startDay:"Saturday",type:"weekends"}};return((null==Object?void 0:Object.entries((null==n?void 0:n.hours)||{}))||[]).forEach(function(e){var o=e[0],s=e[1],u=eN(null==s?void 0:s.start),l=eN(null==s?void 0:s.end),c=(new Date).toLocaleTimeString(t,{timeZone:n.TimeZoneKey,timeZoneName:"short"}).split(" ")[2];/Saturday|Sunday/.test(o)?(a.weekends[o]=u||l?"".concat(u,"-").concat(l," (").concat(c,")"):"Closed",r||a.weekends.grouped?r||a.weekends.grouped===a.weekends[o]||(a.weekends.grouped="",r=!0):a.weekends.grouped=a.weekends[o]):(a.weekdays[o]=u||l?"".concat(u,"-").concat(l," (").concat(c,")"):"Closed",i||a.weekdays.grouped?i||a.weekdays.grouped===a.weekdays[o]||(a.weekdays.grouped="",i=!0):a.weekdays.grouped=a.weekdays[o])}),a}(e,t),r=(null==e?void 0:e.hoo_data)||{},a=i||{},o=a.weekdays,s=a.weekends;return([].concat((0,T.Z)(eI(o,r,n,t)),(0,T.Z)(eI(s,r,n,t))).join("\n")||"").trim()},eR=function(e,t){var n=e||{},i=n.holidays,r=n.labels,o=[];return null==i||i.forEach(function(e){var n=e||{},i=n.date,s=n.is_all_day,u=n.start_time,l=n.end_time,c=n.timezone,d=i?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K["en-US"],n=new Intl.DateTimeFormat(t,{month:"long",day:"numeric"}),i=e.split("-"),r=(0,a.Z)(i,3),o=r[0],s=r[1],u=r[2];return n.format(new Date(o,s-1,u))}(i,t):"";if(s)o.push("".concat(d,": ").concat(r.closed));else{var p=eN(u),m=eN(l),h=(new Date).toLocaleTimeString(t,{timeZone:c,timeZoneName:"short"}).split(" ")[2];o.push("".concat(d,": ").concat(p,"-").concat(m," (").concat(h,")"))}}),(o.join("\n")||"").trim()},eL=function(e){var t;return(null==e?void 0:e.Type)===ec&&(null==e||null===(t=e.Content)||void 0===t?void 0:t.includes("agent_type"))&&(null==e?void 0:e.ParticipantRole)===eu},eB=function(e){var t=function(e){if(!e)return{};var t=new Date(e);return{formattedDate:t.toLocaleDateString(navigator.language,{month:"short",day:"numeric",year:"numeric"}),formattedTime:t.toLocaleTimeString(navigator.language,{hour:"2-digit",minute:"2-digit",hour12:!0,timeZoneName:"short"})}}(e);return"".concat(null==t?void 0:t.formattedTime)},eM=function(e){e.includes("@")?window.open("mailto:".concat(e),"_self"):window.open("tel:".concat(e),"_self")},eV=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(null===(t=window)||void 0===t?void 0:t.ReactNativeWebView)&&window.ReactNativeWebView.postMessage(JSON.stringify({eventName:e,eventMessage:n}))},eU=function(){var e,t,n=new URLSearchParams(null===(e=window)||void 0===e||null===(t=e.location)||void 0===t?void 0:t.search);return null==n?void 0:n.get("chatCategory")},eG=function(){var e,t;return null===(e=window)||void 0===e||null===(t=e.localStorage)||void 0===t?void 0:t.getItem("riv-chat-session")},ej=function(){var e,t;return JSON.parse(null===(e=window)||void 0===e||null===(t=e.localStorage)||void 0===t?void 0:t.getItem("riv-chat-user"))},eZ=function(){var e,t;return JSON.parse(null===(e=window)||void 0===e||null===(t=e.localStorage)||void 0===t?void 0:t.getItem("riv-chat-meta"))},eH=/(<\/?a.*?>)/,ez=/position_in_queue:\d+,estimated_wait_time:\d+/,eW=/({.*?})/g;connect.ChatSession.setGlobalConfig({region:"us-east-1"});var eY,eK,eX,eq,eQ,eJ,e$,e0,e1,e2,e4,e3,e5,e8,e6,e7=(eY=(0,u.Z)(s().mark(function e(t){var n,i,r,a;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(eS){e.next=2;break}return e.abrupt("return",[]);case 2:return e.next=4,eS.getTranscript({maxResults:100});case 4:if(i=null==(n=e.sent)?void 0:n.data){e.next=8;break}return e.abrupt("return",[]);case 8:return t({type:"UPDATE_MESSAGES_WITH_TRANSCRIPT",value:(a=null==(r=i.Transcript)?void 0:r.filter(function(e){return!(ez.test(e.Content)||e.Content===et||eL(e))}))||[]}),e.abrupt("return",a);case 12:case"end":return e.stop()}},e)})),function(e){return eY.apply(this,arguments)}),e9=(eK=(0,u.Z)(s().mark(function e(t,n){var i;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw Error('getRemoteActiveChatSession - Missing GQL API Endpoint. Please provide the appropriate GQL endpoint (via the "gqlAPIEndpoint" prop to ChatProvider) needed to fetch active chat.');case 2:if(e.prev=2,eS){e.next=9;break}return n({type:"SHOW_SPINNER",value:!0}),e.next=7,tl(t);case 7:(i=e.sent)&&n({type:"SET_CHAT_DETAILS",value:i.participantMetadata});case 9:e.next=13;break;case 11:e.prev=11,e.t0=e.catch(2);case 13:return e.prev=13,n({type:"SHOW_SPINNER",value:!1}),e.finish(13);case 16:case"end":return e.stop()}},e,null,[[2,11,13,16]])})),function(e,t){return eK.apply(this,arguments)}),te=(eX=(0,u.Z)(s().mark(function e(t,n){return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw Error('endActiveChatSession - Missing GQL API Endpoint. Please provide the appropriate GQL endpoint (via the "gqlAPIEndpoint" prop to ChatProvider) needed to end active chat.');case 2:return e.prev=2,e.abrupt("return",tc(t));case 6:return e.prev=6,e.t0=e.catch(2),n({type:"SHOW_SPINNER",value:!1}),e.abrupt("return",Promise.reject(e.t0));case 10:case"end":return e.stop()}},e,null,[[2,6]])})),function(e,t){return eX.apply(this,arguments)}),tt=(eq=(0,u.Z)(s().mark(function e(t,n,i){var r,a,o,u,l,c,d,p,m,h;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(l=i.chatDetails,c=i.chatOptions,d=i.step,!eS&&l&&l.contactId){e.next=3;break}return e.abrupt("return");case 3:return e.prev=3,eS=connect.ChatSession.create({chatDetails:l,type:es,options:{region:(null==c?void 0:c.region)||"us-east-1"}}
1),n({type:"SHOW_SPINNER",value:!0}),e.next=8,null===(p=eS)||void 0===p?void 0:p.connect();case 8:e.sent,n({type:j,value:!1}),e.next=24;break;case 12:if(e.prev=12,e.t0=e.catch(3),!(null===e.t0||void 0===e.t0?void 0:e.t0.connectCalled)||(null===e.t0||void 0===e.t0?void 0:e.t0.connectSuccess)||!(null==l?void 0:l.contactId)||"AccessDeniedException"!==(null===e.t0||void 0===e.t0||null===(m=e.t0._debug)||void 0===m||null===(h=m._debug)||void 0===h?void 0:h.type)){e.next=21;break}return e.next=17,ti(t,n);case 17:e.sent||(eS=null,n({type:j,value:!0}),"SHOW_CHAT_SESSION"!==d&&n({type:"PURGE_DATA_STORE"})),e.next=24;break;case 21:eS=null,n({type:j,value:!0}),"SHOW_CHAT_SESSION"!==d&&n({type:"PURGE_DATA_STORE"});case 24:null===(r=eS)||void 0===r||r.onConnectionEstablished(function(e){var t,i,r;n({type:"SET_CONNECTION_DETAILS",value:(null!==(t=null===(i=eS)||void 0===i||null===(r=i.controller)||void 0===r?void 0:r.connectionHelper)&&void 0!==t?t:{}).connectionDetailsProvider}),e7(n)}),null===(a=eS)||void 0===a||a.onMessage(function(e){td(e.data,n)}),null===(o=eS)||void 0===o||o.onTyping(function(e){var t;(null!==(t=null==e?void 0:e.data)&&void 0!==t?t:{}).ParticipantRole===eo&&(n({type:"SET_AGENT_TYPING",value:!0}),tp(n))}),null===(u=eS)||void 0===u||u.onConnectionBroken(function(e){eS=null,n({type:j,value:!0})});case 28:case"end":return e.stop()}},e,null,[[3,12]])})),function(e,t,n){return eq.apply(this,arguments)}),tn=(eQ=(0,u.Z)(s().mark(function e(t,n){var i,r,a,o,u,l,c,d,p=arguments;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(c=p.length>2&&void 0!==p[2]&&p[2],!(null===(i=eS)||void 0===i||null===(r=i.controller)||void 0===r||null===(a=r.connectionHelper)||void 0===a?void 0:a.isStarted)||"Ended"===(null===(o=eS)||void 0===o||null===(u=o.controller)||void 0===u||null===(l=u.connectionHelper)||void 0===l?void 0:l.status)){e.next=11;break}e.prev=2,null===(d=eS)||void 0===d||d.disconnectParticipant().then(function(){n({type:j,value:!1}),eS=null}).catch(function(e){return n({type:j,value:!0}),Promise.reject(e)}),e.next=11;break;case 6:return e.prev=6,e.t0=e.catch(2),eS=null,n({type:j,value:!0}),e.abrupt("return",Promise.reject(e.t0));case 11:if(!c){e.next=13;break}return e.abrupt("return",te(t,n));case 13:return e.abrupt("return",Promise.resolve());case 14:case"end":return e.stop()}},e,null,[[2,6]])})),function(e,t){return eQ.apply(this,arguments)}),ti=(eJ=(0,u.Z)(s().mark(function e(t,n){var i,r,a,o,u;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,tu(t,n);case 2:return(i=e.sent)&&(null==i?void 0:i.Transcript)&&(a=null==i||null===(r=i.Transcript)||void 0===r?void 0:r.filter(function(e){return!(ez.test(e.Content)||e.Content===et||eL(e))}),u=null==(o=null==i?void 0:i.Transcript.find(function(e){return"application/vnd.amazonaws.connect.event.chat.ended"===(null==e?void 0:e.ContentType)}))?void 0:o.AbsoluteTime,n({type:"UPDATE_MESSAGES_WITH_TRANSCRIPT",value:a}),n({type:"SET_CHAT_SESSION_CLOSED",value:{chatEndTime:u,chatEndedBy:"REMOTE",chatEnded:!0}})),e.abrupt("return",i);case 5:case"end":return e.stop()}},e)})),function(e,t){return eJ.apply(this,arguments)}),tr=function(){var e;null===(e=eS)||void 0===e||e.sendEvent({contentType:"application/vnd.amazonaws.connect.event.typing"})},ta=(e$=(0,u.Z)(s().mark(function e(t,n){var i;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null===(i=eS)||void 0===i?void 0:i.sendMessage({message:n,contentType:"text/plain"}).catch(function(e){t({type:j,value:!0})});case 2:case"end":return e.stop()}},e)})),function(e,t){return e$.apply(this,arguments)}),to=function(e,t){if(!e)throw Error("getChatAvailability - Missing GQL API Endpoint. Please provide the appropriate GQL endpoint (e.g. getChatAvailability(gqlAPIEndpoint, interval)) needed to fetch chat CTA parameters.");var n,i=(n=(0,u.Z)(s().mark(function n(r,a){var o,u,c,d,p;return s().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,fetch(e,{method:"POST",headers:{"Content-Type":"application/json","dc-cid":(0,l.Z)()},body:JSON.stringify({query:"{\n            chatAvailability {\n              available\n              message\n              estimatedWaitTime\n              hoursOfOperation {\n                name\n                timeZoneKey\n                hours {\n                  day\n                  start\n                  end\n                }\n              }\n            }\n          }"})});case 3:return u=n.sent,n.next=6,u.json();case 6:return d=$((null!==(o=null==(c=n.sent)?void 0:c.data)&&void 0!==o?o:{}
1).chatAvailability,null==c?void 0:c.errors,K["en-US"]),t&&t(d),n.abrupt("return",d);case 14:if(n.prev=14,n.t0=n.catch(0),!(r<a)){n.next=18;break}return n.abrupt("return",setTimeout(function(){return i(r+1,a)},5e3));case 18:return p=$(null,[{message:n.t0}]),t&&t(p),n.abrupt("return",void 0);case 21:case"end":return n.stop()}},n,null,[[0,14]])})),function(e,t){return n.apply(this,arguments)});i(0,5)},ts=(e0=(0,u.Z)(s().mark(function e(t,n,i){var r,a,o,u,c,d;return s().wrap(function(e){for(var s,p,m;;)switch(e.prev=e.next){case 0:return r=i.firstName,a=i.lastName,o=i.email,u=i.category,c=i.groupName,s=void 0,p=void 0,d=new URLSearchParams(null===(s=window)||void 0===s||null===(p=s.location)||void 0===p?void 0:p.search).get("launchChat")?"MOBILE":"WEB",e.abrupt("return",fetch(n,{method:"POST",headers:{"Content-Type":"application/json","dc-cid":(0,l.Z)(),"u-sess":eG()},body:JSON.stringify({query:'\n        mutation {\n          startChatContactV2(\n            chatUser: {\n              firstName: "'.concat(r,'",\n              lastName: "').concat(a,'",\n              displayName: "').concat(r," ").concat(a,'",\n              username: "').concat(o,'"\n              category: "').concat(u,'"\n              groupName: "').concat(c,'"\n              chatSource: "').concat(d,'"\n            }\n          ) {\n            contactId,\n            participantId,\n            participantToken\n            region\n          }\n        }\n      ')})}).then(function(e){return e.json()}).then(function(e){var t;return null==e||null===(t=e.data)||void 0===t?void 0:t.startChatContactV2}).catch(function(e){t({type:"SHOW_SPINNER",value:!1}),t({type:j,value:!0})}));case 3:case"end":return e.stop()}},e)})),function(e,t,n){return e0.apply(this,arguments)}),tu=(e1=(0,u.Z)(s().mark(function e(t,n){return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",fetch(t,{method:"POST",headers:{"Content-Type":"application/json","dc-cid":(0,l.Z)(),"u-sess":eG()},body:JSON.stringify({query:"{\n        getLatestChatSessionTranscript{\n          ContactId\n          InitialContactId\n          InstanceId\n          Transcript{\n            Id\n            Content\n            AbsoluteTime\n            ContentType\n            DisplayName\n            ParticipantId\n            ParticipantRole\n            Type\n          }\n        }\n      }\n      "})}).then(function(e){return e.json()}).then(function(e){var t;return null==e||null===(t=e.data)||void 0===t?void 0:t.getLatestChatSessionTranscript}).catch(function(e){n({type:"SHOW_SPINNER",value:!1}),n({type:j,value:!0})}));case 1:case"end":return e.stop()}},e)})),function(e,t){return e1.apply(this,arguments)}),tl=(e2=(0,u.Z)(s().mark(function e(t){var n,i,r,a;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(t,{method:"POST",headers:{"Content-Type":"application/json","dc-cid":(0,l.Z)(),"u-sess":eG()},body:JSON.stringify({query:"{\n            getLatestChatSession{\n              participantMetadata{\n                contactId,\n                participantId,\n                participantToken\n                region\n              }\n              status\n              chatId\n            }\n          }\n        "})});case 2:return i=e.sent,e.next=5,i.json();case 5:if((null==(a=null==(r=e.sent)||null===(n=r.data)||void 0===n?void 0:n.getLatestChatSession)?void 0:a.status)==="CLOSED_BY_CUSTOMER"){e.next=9;break}return e.abrupt("return",a);case 9:return e.abrupt("return",{});case 10:case"end":return e.stop()}},e)})),function(e){return e2.apply(this,arguments)}),tc=(e4=(0,u.Z)(s().mark(function e(t){var n,i;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(t,{method:"POST",headers:{"Content-Type":"application/json","dc-cid":(0,l.Z)(),"u-sess":eG()},body:JSON.stringify({query:"mutation {\n            closeLatestChatSession{\n              success\n            }\n          }\n        "})});case 2:return n=e.sent,e.next=5,n.json();case 5:return i=e.sent,e.abrupt("return",null==i?void 0:i.data.closeLatestChatSession);case 7:case"end":return e.stop()}},e)})),function(e){return e4.apply(this,arguments)}),td=function(e,t){var n;switch(null==e?void 0:e.ContentType){case"text/plain":switch(null==e?void 0:e.ParticipantRole){case eu:if(null==e||null===(n=e.Content)||void 0===n?void 0:n.includes("agent_type")){t({type:"SET_CEC_TITLE",value:eC(e.Content)});break}if("Now transferring."===(null==e?void 0:e.Content)){t({type:"EVENT_TRANSFER_IN_PROGRESS",value:!0});break}if(ez.test(null==e?void 0:e.Content)){var i,r=null==e||null===(i=e.Content)||void 0===i?void 0:i.match(/\d+/g);t({type:"SET_QUEUE_ID",value:null==e?void 0:e.Id}),t({type:"SET_POSITION_IN_QUEUE",value:r}),t({type:"SHOW_WAIT_IN_QUEUE"})}break;case es:(null==e?void 0:e.Content)!==et&&t({type:"ADD_MESSAGE",value:e});break;case eo:t({type:"SET_PLAY_NOTIFICTION_SOUND",value:!1}),t({type:"ADD_MESSAGE",value:e}),t({type:"SET_AGENT_TYPING",value:!1})}return;case en:(null==e?void 0:e.ParticipantRole)===eo&&(t({type:"SET_AGENT_NAME",value:(null==e?void 0:e.DisplayName)||ee}),t({type:"SET_START_CHAT_TIME",value:null==e?void 0:e.AbsoluteTime}),t({type:"ADD_MESSAGE",value:e}),t({type:"EVENT_TRANSFER_IN_PROGRESS",value:!1}));break;case ei:t({type:"ADD_MESSAGE",value:e}),t({type:"EVENT_TRANSFER_IN_PROGRESS",value:!1});break;case er:t({type:"ADD_MESSAGE",value:e}),t({type:"EVENT_TRANSFER_IN_PROGRESS",value:!0});break;case ea:t({type:"ADD_MESSAGE",value:e}),t({type:"EVENT_PARTICIPANT_LEFT",value:e});break;case"application/vnd.amazonaws.connect.event.chat.ended":eS=null,t({type:"EVENT_CHAT_ENDED"})}},tp=function(e){eb&&clearTimeout(eb),eb=setTimeout(function(){return e({type:"SET_AGENT_TYPING",value:!1})},1e4)},tm=(e3=(0,u.Z)(s().mark(function e(t){var n,i,r,a,o;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.CSATBody,i=t.gqlAPIEndpoint,e.prev=1,r="\n        mutation{\n            postCSAT(\n              csatBody: ".concat(n,"\n            ){\n                status,\n                message,\n                name\n            }\n        }\n    "),e.next=5,fetch(i,{method:"POST",headers:{"Content-Type":"application/json","dc-cid":(0,l.Z)()},body:JSON.stringify({query:r})});case 5:return a=e.sent,e.next=8,a.json();case 8:return o=e.sent,e.abrupt("return",o);case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",e.t0);case 15:case"end":return e.stop()}},e,null,[[1,12]])})),function(e){return e3.apply(this,arguments)}),th=(e5=(0,u.Z)(s().mark(function e(t){var n,i,r,a,o,u;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=void 0===(n=t.groupName)?"customer":n,r=t.gqlAPIEndpoint,e.prev=1,a='\n      {\n        getChatCategories(\n          chatCategoriesInput:{categoryId:"", groupName: "'.concat(i,'"}\n        ){\n          category_id\n          description\n          display_name\n          group_name\n          name\n          queue_id\n        }\n        getChatCategoryAvailability( chatCategoryAvailabilityInput:{categoryId:"", groupName: "').concat(i,'"}){\n          chat_available\n          holidays {\n            activity_type\n            date\n            description\n            end_time\n            is_all_day\n            name\n            start_time\n            timezone\n          }\n          hoo_data {\n            TimeZoneKey\n            name\n            hours{\n              Monday{ \n                start \n                end\n              }\n              Tuesday{ \n                start \n                end\n              }\n              Wednesday{ \n                start \n                end\n              }\n              Thursday{ \n                start \n                end\n              }\n              Friday{ \n                start \n                end\n              }\n              Saturday{ \n                start \n                end\n              }\n              Sunday{ \n                start \n                end\n              }\n            }\n          }\n          id \n          reason_code \n        }\n      }\n    '),e.next=5,fetch(r,{method:"POST",headers:{"Content-Type":"application/json","dc-cid":(0,l.Z)()},body:JSON.stringify({query:a})});case 5:return o=e.sent,e.next=8,o.json();case 8:return u=e.sent,e.abrupt("return",eO(null==u?void 0:u.data));case 12:return e.prev=12,e.t0=e.catch(1),e.abrupt("return",e.t0);case 15:case"end":return e.stop()}},e,null,[[1,12]])})),function(e){return e5.apply(this,arguments)}),tf=function(e,t,n){var r=(0,i.useState)({loading:!0,isChatAvailable:!1,
1chatAvailabilityMessage:"",estimatedWaitTime:null,timezone:"",name:"",weekdays:{},weekends:{}}),o=(0,a.Z)(r,2),s=o[0],u=o[1],l=(0,i.useState)(null),c=(0,a.Z)(l,2),d=c[0],p=c[1];return(0,i.useEffect)(function(){return n&&!d?(to(e,u),p(t?setInterval(function(){return to(e,u)},t):null)):(clearInterval(d),p(null)),function(){clearInterval(d)}},[n]),s},tE=i.createContext(),tg=function(){return new URLSearchParams(window.location.search).get("launchChat")},tx={agentName:ee,cecTitle:ee,averageWaitTime:null,chatDetails:null,chatEnded:!1,chatEndedBy:null,chatEndTime:null,chatSessionOpen:!1,chatOptions:{},chatStartTime:null,chatStrings:{availabilityLabels:{},common:{},components:{},customer:{},features:{},screens:{},supportWidget:{}},connectionDetails:null,expandChat:!1,feedbackSatisfaction:null,hasError:!1,hasNetworkingError:!1,hasUnreadMessages:!1,isAgentTyping:!1,isMobile:"web"!==h.Z.OS,isWeb:"web"===h.Z.OS&&!H(),messages:[],playNotificationSound:!1,playSound:!0,positionInQueue:0,queueId:null,showChat:!1,showSpinner:!1,step:"SHOW_USER_FORM",transferInProgress:!1,user:{firstName:"",lastName:"",email:"",category:""},categoryList:[],teamAvailability:{},groupName:"customer",loadingCategories:!1},ty={agentName:ee,cecTitle:ee,averageWaitTime:null,chatDetails:null,chatEnded:!1,chatEndedBy:null,chatEndTime:null,chatSessionOpen:!1,chatOptions:{},chatStartTime:null,chatStrings:{availabilityLabels:{},common:{},components:{},customer:{},features:{},screens:{},supportWidget:{}},connectionDetails:null,expandChat:!0,feedbackSatisfaction:null,hasError:!1,hasNetworkingError:!1,hasUnreadMessages:!1,isAgentTyping:!1,isMobile:"web"!==h.Z.OS,isWeb:"web"===h.Z.OS&&!H(),messages:[],playNotificationSound:!1,playSound:!0,positionInQueue:0,queueId:null,showChat:!0,showSpinner:!1,step:"SHOW_CATEGORY_PAGE",transferInProgress:!1,user:(e8=new URLSearchParams(window.location.search),{firstName:(null==(e6=ej())?void 0:e6.firstName)||e8.get("chatFName"),lastName:(null==e6?void 0:e6.lastName)||e8.get("chatLName"),email:(null==e6?void 0:e6.email)||e8.get("chatEmail"),category:""}),categoryList:[],teamAvailability:{},groupName:"customer",loadingCategories:!0};function tv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function tA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tv(Object(n),!0).forEach(function(t){(0,c.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tv(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var tC=tg()?ty:tx,t_=function(e,t){var n,i,r,a,o,s,u,l,c,d,p,m;switch(t.type){case"ADD_MESSAGE":var f=t.value.ParticipantRole===eo,E=f&&!e.expandChat,g=f&&"web"===h.Z.OS&&e.playSound&&!(null===(n=window)||void 0===n||null===(i=n.document)||void 0===i?void 0:i.hasFocus());return(null===(r=e.messages)||void 0===r?void 0:r.length)<1&&t.value.Type===el?e:tA(tA({},e),{},{hasUnreadMessages:E,playNotificationSound:g,messages:[].concat((0,T.Z)(e.messages),[t.value]),step:"SHOW_CHAT_SESSION"});case"EVENT_CHAT_ENDED":return e.expandChat?tA(tA({},e),{},{showSpinner:!1,chatEnded:!0,hasError:e.hasError||"SHOW_WAIT_IN_QUEUE"===e.step}):tA(tA({},tC),{},{user:e.user,chatStrings:e.chatStrings,gqlAPIEndpoint:e.gqlAPIEndpoint,categoryList:e.categoryList,teamAvailability:e.teamAvailability});case"EVENT_PARTICIPANT_LEFT":return e.expandChat?tA(tA({},e),{},{chatEndTime:t.value.AbsoluteTime,chatEndedBy:t.value.DisplayName,chatSessionOpen:e.transferInProgress,showSpinner:e.transferInProgress}):tA(tA({},tC),{},{user:e.user,chatStrings:e.chatStrings,gqlAPIEndpoint:e.gqlAPIEndpoint,categoryList:e.categoryList,teamAvailability:e.teamAvailability});case"EVENT_TRANSFER_IN_PROGRESS":return tA(tA({},e),{},{chatSessionOpen:!0,transferInProgress:t.value});case"INITIATE_CHAT":return e.hasError?tA(tA({},e),{},{step:"SHOW_CATEGORY_PAGE",showSpinner:!0,chatStartTime:null,messages:[],hasError:!1}):tA(tA({},e),{},{showSpinner:!0,chatStartTime:null,messages:[]});case"PURGE_DATA_STORE":var x=tA(tA({},tC),{},{user:tg()?tA(tA({},e.user),{},{category:""}):e.user,chatStrings:e.chatStrings,gqlAPIEndpoint:e.gqlAPIEndpoint,categoryList:e.categoryList,teamAvailability:e.teamAvailability});return tA({},x);case"SET_AGENT_NAME":return tA(tA({},e),{},{agentName:t.value});case"SET_CEC_TITLE":return tA(tA({},e),{},{cecTitle:t.value});case"SET_AGENT_TYPING":return tA(tA({},e),{},{isAgentTyping:t.value});case"SET_CATEGORY":return tA(tA({},e),{},{user:tA(tA({},e.user),{},{category:t.value})});case"SET_CHAT_THEME":return tA(tA({},e),{},{chatTheme:t.value});case"SET_CHAT_DETAILS":var y=(null==t?void 0:t.value)||{},v=y.region,A=y.contactId,C=y.participantId,_=y.participantToken;return tA(tA({},e),{},{chatDetails:{contactId:A,participantId:C,participantToken:_},chatSessionOpen:!0,chatOptions:{region:v}});case"SET_CHAT_SESSION_CLOSED":return tA(tA({},e),{},{chatEnded:!0,chatSessionOpen:!0,chatEndTime:null==t?void 0:t.value.chatEndTime,chatEndedBy:null==t?void 0:t.value.chatEndedBy});case"SET_CONNECTION_DETAILS":var k=t.value;
1k.chatClient,k.connectionDetails;var S=(0,D.Z)(k,["chatClient","connectionDetails"]);return tA(tA({},e),{},{connectionDetails:S});case"SET_EMAIL":return tA(tA({},e),{},{user:tA(tA({},e.user),{},{email:t.value})});case"SET_FEEDBACK_SATISFACTION":return tA(tA({},e),{},{feedbackSatisfaction:t.value});case"SET_FEEDBACK_SELECTIONS":var b=t.value;return e.feedbackSelections.has(b)?e.feedbackSelections.delete(b):e.feedbackSelections.add(b),tA({},e);case"SET_FIRST_NAME":return tA(tA({},e),{},{user:tA(tA({},e.user),{},{firstName:t.value})});case j:var w=t.value?null:e.chatDetails;return tA(tA({},e),{},{hasError:t.value,chatDetails:w});case"SET_HAS_NETWORKING_ERROR":return tA(tA({},e),{},{hasNetworkingError:t.value});case"SET_GROUP_NAME":return tA(tA({},e),{},{groupName:t.value});case"LOADING_CATEGORIES":return tA(tA({},e),{},{loadingCategories:t.value});case"SET_LAST_NAME":return tA(tA({},e),{},{user:tA(tA({},e.user),{},{lastName:t.value})});case"SET_PLAY_NOTIFICTION_SOUND":return tA(tA({},e),{},{playNotificationSound:t.value});case"SET_PLAY_SOUND":return tA(tA({},e),{},{playSound:t.value});case"SET_POSITION_IN_QUEUE":return tA(tA({},e),{},{positionInQueue:t.value[0],averageWaitTime:t.value[1]});case"SET_QUEUE_ID":return tA(tA({},e),{},{queueId:t.value});case"SET_SHOW_FULL_WINDOW":return tA(tA({},e),{},{expandChat:t.value,hasUnreadMessages:t.value});case"SET_USER":return tA(tA({},e),{},{user:{firstName:(null==e||null===(a=e.user)||void 0===a?void 0:a.firstName)||(null===(o=t.value)||void 0===o?void 0:o.firstName),lastName:(null==e||null===(s=e.user)||void 0===s?void 0:s.lastName)||(null===(u=t.value)||void 0===u?void 0:u.lastName),email:(null==e||null===(l=e.user)||void 0===l?void 0:l.email)||(null===(c=t.value)||void 0===c?void 0:c.email),category:null==e||null===(d=e.user)||void 0===d?void 0:d.category}});case"SET_START_CHAT_TIME":return m={chatEndTime:null,chatEndedBy:null,chatEnded:!1,feedbackSatisfaction:null},e.transferInProgress||(m.chatStartTime=t.value,m.messages=[]),tA(tA({},e),m);case"SHOW_CHAT_SESSION":case"SHOW_USER_FORM":case"SHOW_CATEGORY_PAGE":case"SHOW_OFFLINE_PAGE":case"SHOW_WAIT_IN_QUEUE":return tA(tA({},e),{},{step:t.type,showSpinner:!1});case"SHOW_CHAT_WIDGET":return tA(tA({},e),{},{showChat:t.value,hasError:!1});case"SHOW_SPINNER":return tA(tA({},e),{},{showSpinner:t.value});case"UPDATE_MESSAGES_WITH_TRANSCRIPT":if("SHOW_CHAT_SESSION"!==e.step&&(null===(p=t.value)||void 0===p?void 0:p.length)>0){var O=t.value.filter(function(e){return e.ParticipantRole===eo&&e.Type===ec});if((null==O?void 0:O.length)>0){var N,P,I="web"===h.Z.OS&&e.playSound&&!(null===(N=window)||void 0===N||null===(P=N.document)||void 0===P?void 0:P.hasFocus());return tA(tA({},e),{},{messages:t.value,step:"SHOW_CHAT_SESSION",hasUnreadMessages:!e.expandChat,playNotificationSound:I})}}return tA(tA({},e),{},{messages:t.value});case"UPDATE_STATE":return tA(tA({},e),t.value);case"UPDATE_CATEGORIES_AND_AVAILIBILITY":var F=t.value,R=F.chatCategories,L=F.chatCategoriesAvailability;return tA(tA({},e),{},{categoryList:R,teamAvailability:L});default:return tA({},e)}}
1,tT=new k.Z,tD={setItem:"web"===h.Z.OS?function(e,t){try{var n;null===(n=window)||void 0===n||n.localStorage.setItem("@".concat(e),JSON.stringify(t))}catch(e){}}:(tB=(0,u.Z)(s().mark(function e(t,i){var r,a;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.resolve().then(n.bind(n,16598));case 2:return r=e.sent,e.prev=3,e.next=6,null==r||null===(a=r.default)||void 0===a?void 0:a.setItem("@".concat(t),JSON.stringify(i));case 6:e.next=10;break;case 8:e.prev=8,e.t0=e.catch(3);case 10:case"end":return e.stop()}},e,null,[[3,8]])})),function(e,t){return tB.apply(this,arguments)}),getItem:"web"===h.Z.OS?function(e){try{var t;return JSON.parse((null===(t=window)||void 0===t?void 0:t.localStorage.getItem("@".concat(e)))||"false")}catch(e){return null}}:(tM=(0,u.Z)(s().mark(function e(t){var i,r,a;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.resolve().then(n.bind(n,16598));case 2:return i=e.sent,e.prev=3,e.next=6,null==i||null===(r=i.default)||void 0===r?void 0:r.getItem("@".concat(t));case 6:return a=e.sent,e.abrupt("return",JSON.parse(a||"false"));case 10:return e.prev=10,e.t0=e.catch(3),e.abrupt("return",null);case 13:case"end":return e.stop()}},e,null,[[3,10]])})),function(e){return tM.apply(this,arguments)}),removeItem:"web"===h.Z.OS?function(e){try{var t;null===(t=window)||void 0===t||t.localStorage.removeItem("@".concat(e))}catch(e){}}:(tV=(0,u.Z)(s().mark(function e(t){var i,r;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.resolve().then(n.bind(n,16598));case 2:return i=e.sent,e.prev=3,e.next=6,null==i||null===(r=i.default)||void 0===r?void 0:r.removeItem("@".concat(t));case 6:e.next=10;break;case 8:e.prev=8,e.t0=e.catch(3);case 10:case"end":return e.stop()}},e,null,[[3,8]])})),function(e){return tV.apply(this,arguments)})},tk=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=e.value,i=(0,D.Z)(e,["name","value"]);try{tT.set("__".concat(t),JSON.stringify(n),i)}catch(e){}},tS=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=(0,D.Z)(e,["name"]);try{return t?tT.get("__".concat(t),n):tT.getAll(n)}catch(e){return null}},tb=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=(0,D.Z)(e,["name"]);if(!t)return null;try{return tT.remove("__".concat(t),n)}catch(e){return null}};function tw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function tO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tw(Object(n),!0).forEach(function(t){(0,c.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tw(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var tN=function(e,t){var n;return tO(tO({},e),{},{postCSAT:function(e){return tm({CSATBody:e.CSATBody,gqlAPIEndpoint:e.gqlAPIEndpoint})},endChat:(n=(0,u.Z)(s().mark(function n(i){return s().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",tn(e.gqlAPIEndpoint,t,i));case 1:case"end":return n.stop()}},n)})),function(e){return n.apply(this,arguments)}),sendChat:function(e){return ta(t,e)},setEmail:function(e){return t({type:"SET_EMAIL",value:e})},setExpandChat:function(e){return t({type:"SET_SHOW_FULL_WINDOW",value:e})},setFeedbackSatisfaction:function(e){return t({type:"SET_FEEDBACK_SATISFACTION",value:e})},setFeedbackSelections:function(e){return t({type:"SET_FEEDBACK_SELECTIONS",value:e})},resetStore:function(){return t({type:"PURGE_DATA_STORE"})},setFirstName:function(e){return t({type:"SET_FIRST_NAME",value:e})},setCategory:function(e){return t({type:"SET_CATEGORY",value:e})},setLastName:function(e){return t({type:"SET_LAST_NAME",value:e})},setPlayNotificationSound:function(e){return t({type:"SET_PLAY_NOTIFICTION_SOUND",value:e})},setPlaySound:function(e){return t({type:"SET_PLAY_SOUND",value:e})},setPositionInQueue:function(e){return t({type:"SET_POSITION_IN_QUEUE",value:e})},setShowChat:function(e){return t({type:"SHOW_CHAT_WIDGET",value:e})},setShowCategoryPage:function(e){return t({type:"SHOW_CATEGORY_PAGE",value:e})},setUser:function(e){return t({type:"SET_USER",value:e})},setGroupName:function(e){return t({type:"SET_GROUP_NAME",value:e})},setCategoriesAndAvailability:function(e){return t({type:"UPDATE_CATEGORIES_AND_AVAILIBILITY",value:e})}
1,setLoadingCategories:function(e){return t({type:"LOADING_CATEGORIES",value:e})},setChatTheme:function(e){return t({type:"SET_CHAT_THEME",value:e})},getRemoteActiveChatSession:function(e){return e9(e,t)},startChat:function(n,i,r){var a;return function(e,t,n,i){var r;if(!e)throw Error('startChat - Missing GQL API Endpoint. Please provide the appropriate GQL endpoint (via the "gqlAPIEndpoint" prop to ChatProvider) needed to initiate a chat.');return n({type:"INITIATE_CHAT"}),(r=(0,u.Z)(s().mark(function i(r){return s().wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return i.abrupt("return",t?t(r):ts(n,e,r));case 1:case"end":return i.stop()}},i)})),function(e){return r.apply(this,arguments)})(i).then(function(e){n({type:"SET_CHAT_DETAILS",value:e}),n({type:j,value:!1})}).catch(function(e){n({type:j,value:!0}),n({type:"SHOW_SPINNER",value:!1})})}(n,i,t,tO(tO({},e.user),{groupName:(null==r?void 0:r.groupName)||e.groupName||"customer",category:(null==r?void 0:r.category)||(null===(a=e.user)||void 0===a?void 0:a.category)||"General"}))},setShowOfflinePage:function(e){return t({type:"SHOW_OFFLINE_PAGE",value:e})}})},tP=function(e,t,n){var i,r,a=+new Date,o=!(i=null==e?void 0:e.createdOn)||+i+864e5<a;return!e||o?(n&&tb({name:"RIV_CHAT_STATE",domain:n}),(null==e||null===(r=e.user)||void 0===r?void 0:r.email)?tO(tO({},t),{},{createdOn:a,user:null==e?void 0:e.user}):tO(tO({},t),{},{createdOn:a})):tO(tO(tO({},t),e),{},{createdOn:a})};function tI(e){var t,n,r,o=e.children,s=(0,D.Z)(e,["children"]),u=s.gqlAPIEndpoint;s.locale;var l=K["en-US"],c=".rivian.com",d=(0,i.useState)(!1),p=(0,a.Z)(d,2),m=p[0],E=p[1],g=(0,i.useReducer)(t_,tO(tO({},tC),{},{gqlAPIEndpoint:u})),x=(0,a.Z)(g,2),y=x[0],v=x[1];(0,i.useEffect)(function(){v({type:"UPDATE_STATE",value:tP(tD.getItem("RIV_CHAT_STATE"),tO(tO({},tC),{},{gqlAPIEndpoint:u,locale:l}))})},[]);var A=function(e){v({type:"SET_HAS_NETWORKING_ERROR",value:"offline"===(null==e?void 0:e.type)})};(0,i.useEffect)(function(){tD.getItem("LOCAL_CHAT_STATE")&&tD.removeItem("LOCAL_CHAT_STATE")},[]),(0,i.useEffect)(function(){if("web"===h.Z.OS){var e=tS({name:"RIV_CHAT_STATE",path:"/",domain:c});e&&e.chatDetails&&(null==e?void 0:e.chatSessionOpen)&&v({type:"UPDATE_STATE",value:tP(e,y,c)}),E(!0)}},[c]),(0,i.useEffect)(function(){if(m){if("web"===h.Z.OS&&(null==y?void 0:y.chatSessionOpen)){y.messages,y.chatStrings,y.gqlAPIEndpoint;var e=y.connectionDetails,t=(0,D.Z)(y,["messages","chatStrings","gqlAPIEndpoint","connectionDetails"]),n=e||{};n.participantToken;var i=(0,D.Z)(n,["participantToken"]);tk({name:"RIV_CHAT_STATE",path:"/",domain:c,maxAge:3600,value:tO(tO({},t),{},{connectionDetails:i}
1)})}tD.setItem("RIV_CHAT_STATE",y)}},[y,c,m]),(0,i.useEffect)(function(){(null==y?void 0:y.chatSessionOpen)&&m&&tt(u,v,tO({},y))},[y,m]),(0,i.useEffect)(function(){var e;return(null===(e=window)||void 0===e?void 0:e.addEventListener)&&(window.addEventListener("offline",A),window.addEventListener("online",A)),function(){var e;(null===(e=window)||void 0===e?void 0:e.removeEventListener)&&(window.removeEventListener("offline",A),window.removeEventListener("online",A))}},[]);var C=function(e){var t,n,i;"active"===e&&(n=(t=tO({},y)).chatDetails,i=t.chatSessionOpen,(eS||!n)&&i&&e7(v))};(0,i.useEffect)(function(){var e=f.Z.addEventListener("change",C);return function(){null==e||e.remove()}},[]),(0,i.useEffect)(function(){var e,t,n;(null==y?void 0:y.chatSessionOpen)&&m||!y.user||y.loadingCategories||(null==y||null===(e=y.chatDetails)||void 0===e?void 0:e.contactId)||!(null==y||null===(t=y.chatDetails)||void 0===t?void 0:t.participantId)||!(null==y||null===(n=y.chatDetails)||void 0===n?void 0:n.participantToken)||!tg()||e9(u,v)},[null==y?void 0:y.loadingCategories,null==y?void 0:y.user,null==y||null===(t=y.chatDetails)||void 0===t?void 0:t.participantToken]),(0,i.useEffect)(function(){var e,t,n,i,r=new URLSearchParams(window.location.search),a=ej();v({type:"SET_USER",value:{firstName:(null==y||null===(e=y.user)||void 0===e?void 0:e.firstName)||(null==a?void 0:a.firstName)||r.get("chatFName"),lastName:(null==y||null===(t=y.user)||void 0===t?void 0:t.lastName)||(null==a?void 0:a.lastName)||r.get("chatLName"),email:(null==y||null===(n=y.user)||void 0===n?void 0:n.email)||(null==a?void 0:a.email)||r.get("chatEmail"),category:(null==y||null===(i=y.user)||void 0===i?void 0:i.category)||""}})},[window.location.search,null===(n=window)||void 0===n||null===(r=n.localStorage)||void 0===r?void 0:r.getItem("riv-chat-user")]);var _=tN(y,v);return i.createElement(tE.Provider,{value:_},o)}var tF="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,tR=(0,i.createContext)();function tL(e){var t=e.children,n=e.locale,r=(0,i.useState)(n?K[n]:""),o=(0,a.Z)(r,2),s=o[0],u=o[1];return tF(function(){var e=eZ();s||"undefined"==typeof window||"en-US"===window.navigator.language||(null==e?void 0:e.languageTag)||u(window.navigator.language)},[s]),(0,i.useEffect)(function(){var e=eZ();(null==e?void 0:e.languageTag)?u(e.languageTag):n&&u(function(e){return n&&K[n]&&e!==K[n]?K[n]:e})},[window.location.search,window.localStorage,n]),i.createElement(tR.Provider,{value:s},t)}var tB,tM,tV,tU,tG=function(){return(0,i.useContext)(tR)};function tj(e){var t=e.children,n=e.locale,r=(0,D.Z)(e,["children","locale"]);return i.createElement(tL,{locale:n},i.createElement(tI,r,t))}function tZ(){return(tZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var tH,tz=function(e){return i.createElement("svg",tZ({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none"},e),tU||(tU=i.createElement("path",{stroke:"#151515",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 9a1.334 1.334 0 0 1-1.333 1.333h-8L1 13V2.333A1.333 1.333 0 0 1 2.333 1h9.334A1.333 1.333 0 0 1 13 2.333z"})))};function tW(){return(tW=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var tY,tK=function(e){return i.createElement("svg",tW({xmlns:"http://www.w3.org/2000/svg",width:10,height:10,fill:"none"},e),tH||(tH=i.createElement("path",{stroke:"#151515",strokeLinecap:"round",strokeWidth:1.5,d:"m8.861 1.061-7.8 7.8M8.939 8.861l-7.8-7.8"})))};function tX(){return(tX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var tq,tQ=function(e){return i.createElement("svg",tX({xmlns:"http://www.w3.org/2000/svg",width:11,height:2,fill:"none"},e),tY||(tY=i.createElement("path",{stroke:"#151515",strokeLinecap:"round",strokeWidth:1.5,d:"M10.25.75H.75"})))};function tJ(){return(tJ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var t$,t0=function(e){return i.createElement("svg",tJ({xmlns:"http://www.w3.org/2000/svg",width:14,height:15,fill:"none"},e),tq||(tq=i.createElement("path",{stroke:"#151515",strokeLinecap:"round",strokeWidth:1.5,d:"M7.347 2.317v11.031M12.918 7.778H1.887"})))};function t1(){return(t1=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var t2,t4=function(e){return i.createElement("svg",t1({xmlns:"http://www.w3.org/2000/svg",width:21,height:15,fill:"none"},e),t$||(t$=i.createElement("path",{stroke:"gray",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9 2 5.667 4.857H3v4.286h2.667L9 12zM15.733 2C17.185 3.326 18 5.125 18 7s-.815 3.674-2.267 5M13 4.496c.726.664 1.133 1.563 1.133 2.5 0 .938-.407 1.837-1.133 2.5"})))};function t3(){return(t3=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var t5=function(e){return i.createElement("svg",t3({xmlns:"http://www.w3.org/2000/svg",width:21,height:14,fill:"none"},e),t2||(t2=i.createElement("path",{stroke:"#DC3127",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M9 2 5.667 4.857H3v4.286h2.667L9 12zM18 5l-4 4M14 5l4 4"})))},t8=b.ZP.View.withConfig({displayName:"indexstyles__StyledButton",componentId:"sc-1i7k06n-0"})([""," "," "," "," "," "," ",""],function(e){return e.isWeb&&(0,b.iv)(["curs
1or:pointer;"])},function(e){return e.centered&&(0,b.iv)(["justify-content:center;align-items:center;"])},function(e){return e.defaultButton&&(0,b.iv)(["width:264px;height:48px;border-radius:4px;"])},function(e){return!e.isVisible&&(0,b.iv)(["display:none;"])},function(e){return e.styles&&(0,b.iv)(["",""],e.styles)},function(e){return e.disabled&&(0,b.iv)(["opacity:0.5;"])},function(e){return e.disabled&&e.isWeb&&(0,b.iv)(["cursor:default;opacity:0.5;"])});function t6(e){var t=e.children,n=e.centered,r=e.defaultButton,a=e.isVisible,o=e.styles,s=e.disabled,u=e.onMouseEnter,l=(0,D.Z)(e,["children","centered","defaultButton","isVisible","styles","disabled","onMouseEnter"]);return i.createElement(E.Z,l,i.createElement(t8,{centered:n,defaultButton:r,isVisible:a,isWeb:"web"===h.Z.OS,styles:o,disabled:s,onMouseEnter:u},t))}t6.defaultProps={isVisible:!0,centered:!0};var t7=b.ZP.View.withConfig({displayName:"indexstyles__ContainerView",componentId:"sc-13kc7b-0"})(["background:#f0f1f0;border-top-left-radius:8px;border-top-right-radius:8px;margin-top:",";display:flex;align-items:center;justify-content:space-between;flex-flow:row nowrap;"],function(e){return e.isMobile?"50px":"0px"}),t9=b.ZP.View.withConfig({displayName:"indexstyles__IconWrappers",componentId:"sc-13kc7b-1"})(["",";"],function(e){return e.styles&&(0,b.iv)(["",""],e.styles)}),ne=b.ZP.Text.withConfig({displayName:"indexstyles__ChatLabel",componentId:"sc-13kc7b-2"})(["margin-left:-10px;font-family:Sohne;font-weight:500;font-size:12px;line-height:16px;color:#151515;"]),nt=b.ZP.Text.withConfig({displayName:"indexstyles__NewMessageLabel",componentId:"sc-13kc7b-3"})(["margin-left:2px;font-family:Sohne;font-size:12px;line-height:16px;color:#151515;"]),nn=b.ZP.View.withConfig({displayName:"indexstyles__RightContentWrappers",componentId:"sc-13kc7b-4"})(["flex-flow:row nowrap;justify-content:flex-start;align-items:center;",""],function(e){return e.width&&(0,b.iv)(["width:",";"],e.width)}),ni=b.ZP.View.withConfig({displayName:"indexstyles__Badge",componentId:"sc-13kc7b-5"})(["width:8px;height:8px;border-radius:8px;background:#ffac00;margin-right:12px;margin-top:-12px;margin-left:-20px;"]),nr=b.ZP.View.withConfig({displayName:"indexstyles__WrapperView",componentId:"sc-13kc7b-6"})(["background:transparent;height:",";border-top-left-radius:8px;border-top-right-radius:8px;display:flex;flex-flow:column;",""],function(e){return e.isMobile?"90px":"40px"},function(e){return(e.isMobile||e.smScreen)&&(0,b.iv)(["width:40px;"])}),na={},no=function(e,t){return(no=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function ns(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}no(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var nu,nl,nc,nd=function(){return(nd=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};
1function np(e,t,n){if(n||2==arguments.length)for(var i,r=0,a=t.length;r<a;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function nm(e){return e.type===nl.literal}function nh(e){return e.type===nl.number}function nf(e){return e.type===nl.date}function nE(e){return e.type===nl.time}function ng(e){return e.type===nl.select}function nx(e){return e.type===nl.plural}function ny(e){return e.type===nl.tag}function nv(e){return!(!e||"object"!==(0,P.Z)(e)||e.type!==nc.number)}function nA(e){return!(!e||"object"!==(0,P.Z)(e)||e.type!==nc.dateTime)}"function"==typeof SuppressedError&&SuppressedError,(nC=nu||(nu={}))[nC.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",nC[nC.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",nC[nC.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",nC[nC.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",nC[nC.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",nC[nC.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",nC[nC.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",nC[nC.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",nC[nC.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",nC[nC.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",nC[nC.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",nC[nC.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",nC[nC.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",nC[nC.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",nC[nC.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",nC[nC.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",nC[nC.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",nC[nC.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",nC[nC.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",nC[nC.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",nC[nC.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",nC[nC.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",nC[nC.INVALID_TAG=23]="INVALID_TAG",nC[nC.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",nC[nC.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",nC[nC.UNCLOSED_TAG=27]="UNCLOSED_TAG",(n_=nl||(nl={}))[n_.literal=0]="literal",n_[n_.argument=1]="argument",n_[n_.number=2]="number",n_[n_.date=3]="date",n_[n_.time=4]="time",n_[n_.select=5]="select",n_[n_.plural=6]="plural",n_[n_.pound=7]="pound",n_[n_.tag=8]="tag",(nT=nc||(nc={}))[nT.number=0]="number",nT[nT.dateTime=1]="dateTime";var nC,n_,nT,nD,nk=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,nS=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,nb=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,nw=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,nO=/^(@+)?(\+|#+)?[rs]?$/g,nN=/(\*)(0+)|(#+)(0+)|(0+)/g,nP=/^(0+)$/;function nI(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(nO,function(e,n,i){return"string"!=typeof i?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===i?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof i?i.length:0)),""}),t}function nF(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}var nR=new RegExp("^".concat(nk.source,"*")),nL=new RegExp("".concat(nk.source,"*$"));function nB(e,t){return{start:e,end:t}}var nM=!!String.prototype.startsWith,nV=!!String.fromCodePoint,nU=!!Object.fromEntries,nG=!!String.prototype.codePointAt,nj=!!String.prototype.trimStart,nZ=!!String.prototype.trimEnd,nH=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&9007199254740991>=Math.abs(e)},nz=!0;try{nz="a"===(null===(nD=n$("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===nD?void 0:nD[0])}catch(e){nz=!1}var nW,nY=nM?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},nK=nV?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,i="",r=e.length,a=0;r>a;){if((n=e[a++])>1114111)throw RangeError(n+" is not a valid code point");i+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return i},nX=nU?Object.fromEntries:function(e){for(var t={},n=0;n<e.length;n++){var i=e[n],r=i[0],a=i[1];t[r]=a}return t},nq=nG?function(e,t){return e.codePointAt(t)}:function(e,t){var n=e.length;if(!(t<0||t>=n)){var i,r=e.charCodeAt(t);return r<55296||r>56319||t+1===n||(i=e.charCodeAt(t+1))<56320||i>57343?r:i-56320+(r-55296<<10)+65536}},nQ=nj?function(e){return e.trimStart()}:function(e){return e.replace(nR,"")},nJ=nZ?function(e){return e.trimEnd()}:function(e){return e.replace(nL,"")};function n$(e,t){return new RegExp(e,t)}if(nz){var n0=n$("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");nW=function(e,t){var n;return n0.lastIndex=t,null!==(n=n0.exec(e)[1])&&void 0!==n?n:""}}else nW=function(e,t){for(var n=[];;){var i,r=nq(e,t);if(void 0===r||n4(r)||(i=r)>=33&&i<=35||36===i||i>=37&&i<=39||40===i||41===i||42===i||43===i||44===i||45===i||i>=46&&i<=47||i>=58&&i<=59||i>=60&&i<=62||i>=63&&i<=64||91===i||92===i||93===i||94===i||96===i||123===i||124===i||125===i||126===i||161===i||i>=162&&i<=165||166===i||167===i||169===i||171===i||172===i||174===i||176===i||177===i||182===i||187===i||191===i||215===i||247===i||i>=8208&&i<=8213||i>=8214&&i<=8215||8216===i||8217===i||8218===i||i>=8219&&i<=8220||8221===i||8222===i||8223===i||i>=8224&&i<=8231||i>=8240&&i<=8248||8249===i||8250===i||i>=8251&&i<=8254||i>=8257&&i<=8259||8260===i||8261===i||8262===i||i>=8263&&i<=8273||8274===i||8275===i||i>=8277&&i<=8286||i>=8592&&i<=8596||i>=8597&&i<=8601||i>=8602&&i<=8603||i>=8604&&i<=8607||8608===i||i>=8609&&i<=8610||8611===i||i>=8612&&i<=8613||8614===i||i>=8615&&i<=8621||8622===i||i>=8623&&i<=8653||i>=8654&&i<=8655||i>=8656&&i<=8657||8658===i||8659===i||8660===i||i>=8661&&i<=8691||i>=8692&&i<=8959||i>=8960&&i<=8967||8968===i||8969===i||8970===i||8971===i||i>=8972&&i<=8991||i>=8992&&i<=8993||i>=8994&&i<=9e3||9001===i||9002===i||i>=9003&&i<=9083||9084===i||i>=9085&&i<=9114||i>=9115&&i<=9139||i>=9140&&i<=9179||i>=9180&&i<=9185||i>=9186&&i<=9254||i>=9255&&i<=9279||i>=9280&&i<=9290||i>=9291&&i<=9311||i>=9472&&i<=9654||9655===i||i>
1=9656&&i<=9664||9665===i||i>=9666&&i<=9719||i>=9720&&i<=9727||i>=9728&&i<=9838||9839===i||i>=9840&&i<=10087||10088===i||10089===i||10090===i||10091===i||10092===i||10093===i||10094===i||10095===i||10096===i||10097===i||10098===i||10099===i||10100===i||10101===i||i>=10132&&i<=10175||i>=10176&&i<=10180||10181===i||10182===i||i>=10183&&i<=10213||10214===i||10215===i||10216===i||10217===i||10218===i||10219===i||10220===i||10221===i||10222===i||10223===i||i>=10224&&i<=10239||i>=10240&&i<=10495||i>=10496&&i<=10626||10627===i||10628===i||10629===i||10630===i||10631===i||10632===i||10633===i||10634===i||10635===i||10636===i||10637===i||10638===i||10639===i||10640===i||10641===i||10642===i||10643===i||10644===i||10645===i||10646===i||10647===i||10648===i||i>=10649&&i<=10711||10712===i||10713===i||10714===i||10715===i||i>=10716&&i<=10747||10748===i||10749===i||i>=10750&&i<=11007||i>=11008&&i<=11055||i>=11056&&i<=11076||i>=11077&&i<=11078||i>=11079&&i<=11084||i>=11085&&i<=11123||i>=11124&&i<=11125||i>=11126&&i<=11157||11158===i||i>=11159&&i<=11263||i>=11776&&i<=11777||11778===i||11779===i||11780===i||11781===i||i>=11782&&i<=11784||11785===i||11786===i||11787===i||11788===i||11789===i||i>=11790&&i<=11798||11799===i||i>=11800&&i<=11801||11802===i||11803===i||11804===i||11805===i||i>=11806&&i<=11807||11808===i||11809===i||11810===i||11811===i||11812===i||11813===i||11814===i||11815===i||11816===i||11817===i||i>=11818&&i<=11822||11823===i||i>=11824&&i<=11833||i>=11834&&i<=11835||i>=11836&&i<=11839||11840===i||11841===i||11842===i||i>=11843&&i<=11855||i>=11856&&i<=11857||11858===i||i>=11859&&i<=11903||i>=12289&&i<=12291||12296===i||12297===i||12298===i||12299===i||12300===i||12301===i||12302===i||12303===i||12304===i||12305===i||i>=12306&&i<=12307||12308===i||12309===i||12310===i||12311===i||12312===i||12313===i||12314===i||12315===i||12316===i||12317===i||i>=12318&&i<=12319||12320===i||12336===i||64830===i||64831===i||i>=65093&&i<=65094)break;n.push(r),t+=r>=65536?2:1}return nK.apply(void 0,n)};var n1=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var i=[];!this.isEOF();){var r,a=this.char();if(123===a){if((r=this.parseArgument(e,n)).err)return r;i.push(r.val)}else{if(125===a&&e>0)break;if(35!==a||"plural"!==t&&"selectordinal"!==t){if(60===a&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(nu.UNMATCHED_CLOSING_TAG,nB(this.clonePosition(),this.clonePosition()))}if(60===a&&!this.ignoreTag&&n2(this.peek()||0)){if((r=this.parseTag(e,t)).err)return r;i.push(r.val)}else{if((r=this.parseLiteral(e,t)).err)return r;i.push(r.val)}}else{var o=this.clonePosition();this.bump(),i.push({type:nl.pound,location:nB(o,this.clonePosition())})}}}return{val:i,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:nl.literal,value:"<".concat(i,"/>"),location:nB(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,t,!0);if(r.err)return r;var a=r.val,o=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!n2(this.char()))return this.error(nu.INVALID_TAG,nB(o,this.clonePosition()));var s=this.clonePosition();return i!==this.parseTagName()?this.error(nu.UNMATCHED_CLOSING_TAG,nB(s,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:nl.tag,value:i,children:a,location:nB(n,this.clonePosition())},err:null}:this.error(nu.INVALID_TAG,nB(o,this.clonePosition())))}return this.error(nu.UNCLOSED_TAG,nB(n,this.clonePosition()))}return this.error(nu.INVALID_TAG,nB(n,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),i="";;){var r=this.tryParseQuote(t);if(r)i+=r;else{var a=this.tryParseUnquoted(e,t);if(a)i+=a;else{var o=this.tryParseLeftAngleBracket();if(!o)break;i+=o}}}var s=nB(n,this.clonePosition());return{val:{type:nl.literal,value:i,location:s},err:null}},e.prototype.tryParseLeftAngleBracket=function(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(n2(e=this.peek()||0)||47===e)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";
1case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(n);this.bump()}return nK.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),nK(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(nu.EXPECT_ARGUMENT_CLOSING_BRACE,nB(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(nu.EMPTY_ARGUMENT,nB(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(nu.MALFORMED_ARGUMENT,nB(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(nu.EXPECT_ARGUMENT_CLOSING_BRACE,nB(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:nl.argument,value:i,location:nB(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(nu.EXPECT_ARGUMENT_CLOSING_BRACE,nB(n,this.clonePosition())):this.parseArgumentOptions(e,t,i,n);default:return this.error(nu.MALFORMED_ARGUMENT,nB(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=nW(this.message,t),i=t+n.length;return this.bumpTo(i),{value:n,location:nB(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,i){var r,a=this.clonePosition(),o=this.parseIdentifierIfPossible().value,s=this.clonePosition();switch(o){case"":return this.error(nu.EXPECT_ARGUMENT_TYPE,nB(a,s));case"number":case"date":case"time":this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((g=this.parseSimpleArgStyleIfPossible()).err)return g;if(0===(m=nJ(g.val)).length)return this.error(nu.EXPECT_ARGUMENT_STYLE,nB(this.clonePosition(),this.clonePosition()));u={style:m,styleLocation:nB(l,this.clonePosition())}}if((x=this.tryParseArgumentClose(i)).err)return x;var c=nB(i,this.clonePosition());if(u&&nY(null==u?void 0:u.style,"::",0)){var d,p=nQ(u.style.slice(2));if("number"===o)return(g=this.parseNumberSkeletonFromString(p,u.styleLocation)).err?g:{val:{type:nl.number,value:n,location:c,style:g.val},err:null};if(0===p.length)return this.error(nu.EXPECT_DATE_TIME_SKELETON,c);var m={type:nc.dateTime,pattern:p,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?(d={},p.replace(nS,function(e){var t=e.length;switch(e[0]){case"G":d.era=4===t?"long":5===t?"narrow":"short";break;case"y":d.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":d.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":d.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":d.weekday=4===t?"short":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");d.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");d.weekday=["short","long","narrow","short"][t-4];break;case"a":d.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":d.hourCycle="h12",d.hour=["numeric","2-digit"][t-1];break;case"H":d.hourCycle="h23",d.hour=["numeric","2-digit"][t-1];break;case"K":d.hourCycle="h11",d.hour=["numeric","2-digit"][t-1];break;case"k":d.hourCycle="h24",d.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":d.minute=["numeric","2-digit"][t-1];break;case"s":d.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":d.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),d):{}}
1;return{val:{type:"date"===o?nl.date:nl.time,value:n,location:c,style:m},err:null}}return{val:{type:"number"===o?nl.number:"date"===o?nl.date:nl.time,value:n,location:c,style:null!==(r=null==u?void 0:u.style)&&void 0!==r?r:null},err:null};case"plural":case"selectordinal":case"select":var h=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(nu.EXPECT_SELECT_ARGUMENT_OPTIONS,nB(h,nd({},h)));this.bumpSpace();var f=this.parseIdentifierIfPossible(),E=0;if("select"!==o&&"offset"===f.value){if(!this.bumpIf(":"))return this.error(nu.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,nB(this.clonePosition(),this.clonePosition()));if(this.bumpSpace(),(g=this.tryParseDecimalInteger(nu.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,nu.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;this.bumpSpace(),f=this.parseIdentifierIfPossible(),E=g.val}var g,x,y=this.tryParsePluralOrSelectOptions(e,o,t,f);if(y.err)return y;if((x=this.tryParseArgumentClose(i)).err)return x;var v=nB(i,this.clonePosition());return"select"===o?{val:{type:nl.select,value:n,options:nX(y.val),location:v},err:null}:{val:{type:nl.plural,value:n,options:nX(y.val),offset:E,pluralType:"plural"===o?"cardinal":"ordinal",location:v},err:null};default:return this.error(nu.INVALID_ARGUMENT_TYPE,nB(a,s))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(nu.EXPECT_ARGUMENT_CLOSING_BRACE,nB(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(nu.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,nB(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");for(var t=[],n=0,i=e.split(nb).filter(function(e){return e.length>0});n<i.length;n++){var r=i[n].split("/");if(0===r.length)throw Error("Invalid number skeleton");for(var a=r[0],o=r.slice(1),s=0;s<o.length;s++)if(0===o[s].length)throw Error("Invalid number skeleton");t.push({stem:a,options:o})}return t}(e)}catch(e){return this.error(nu.INVALID_NUMBER_SKELETON,t)}return{val:{type:nc.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?function(e){for(var t={},n=0;n<e.length;n++){var i=e[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=nd(nd(nd({},t),{notation:"scientific"}),i.options.reduce(function(e,t){return nd(nd({},e),nF(t)||{})},{}));continue;case"engineering":t=nd(nd(nd({},t),{notation:"engineering"}),i.options.reduce(function(e,t){return nd(nd({},e),nF(t)||{})},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"integer-width":if(i.options.length>1)throw RangeError("integer-width stems only accept a single optional option");i.options[0].replace(nN,function(e,n,i,r,a,o){if(n)t.minimumIntegerDigits=i.length;else{if(r&&a)throw Error("We currently do not support maximum integer digits");if(o)throw Error("We currently do not support exact integer digits")}return""});continue}if(nP.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(nw.test(i.stem)){if(i.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(nw,function(e,n,i,r,a,o){return"*"===i?t.minimumFractionDigits=n.length:r&&"#"===r[0]?t.maximumFractionDigits=r.length:a&&o?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+o.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""});var r=i.options[0];"w"===r?t=nd(nd({}
1,t),{trailingZeroDisplay:"stripIfInteger"}):r&&(t=nd(nd({},t),nI(r)))}else if(nO.test(i.stem))t=nd(nd({},t),nI(i.stem));else{var a=nF(i.stem);a&&(t=nd(nd({},t),a));var o=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!nP.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(i.stem);o&&(t=nd(nd({},t),o))}}return t}(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,i){for(var r,a=!1,o=[],s=new Set,u=i.value,l=i.location;;){if(0===u.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(nu.EXPECT_PLURAL_ARGUMENT_SELECTOR,nu.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;l=nB(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}if(s.has(u))return this.error("select"===t?nu.DUPLICATE_SELECT_ARGUMENT_SELECTOR:nu.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===u&&(a=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?nu.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:nu.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,nB(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,n);if(m.err)return m;var h=this.tryParseArgumentClose(p);if(h.err)return h;o.push([u,{value:m.val,location:nB(p,this.clonePosition())}]),s.add(u),this.bumpSpace(),u=(r=this.parseIdentifierIfPossible()).value,l=r.location}return 0===o.length?this.error("select"===t?nu.EXPECT_SELECT_ARGUMENT_SELECTOR:nu.EXPECT_PLURAL_ARGUMENT_SELECTOR,nB(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(nu.MISSING_OTHER_CLAUSE,nB(this.clonePosition(),this.clonePosition())):{val:o,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var r=!1,a=0;!this.isEOF();){var o=this.char();if(!(o>=48&&o<=57))break;r=!0,a=10*a+(o-48),this.bump()}var s=nB(i,this.clonePosition());return r?nH(a*=n)?{val:a,err:null}:this.error(t,s):this.error(e,s)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=nq(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(nY(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&n4(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function n2(e){return e>=97&&e<=122||e>=65&&e<=90}function n4(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function n3(e,t){void 0===t&&(t={});var n=new n1(e,t=nd({shouldParseSkeletons:!0,requiresOtherClause:!0},t)).parse();if(n.err){var i=SyntaxError(nu[n.err.kind]);throw i.location=n.err.location,i.originalMessage=n.err.message,i}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,ng(t)||nx(t))for(var n in t.options)delete t.options[n].location,e(t.options[n].value);else nh(t)&&nv(t.style)||(nf(t)||nE(t))&&nA(t.style)?delete t.style.location:ny(t)&&e(t.children)})}(n.val),n.val}function n5(e,t){var n=t&&t.cache?t.cache:it,i=t&&t.serializer?t.serializer:n7;return(t&&t.strategy?t.strategy:function(e,t){var n,i,r;return n=1===e.length?n8:n6,i=t.cache.create(),r=t.serializer,n.bind(this,e,i,r)})(e,{cache:n,serializer:i})}function n8(e,t,n,i){var r=null==i||"number"==typeof i||"boolean"==typeof i?i:n(i),a=t.get(r);return void 0===a&&(a=e.call(this,i),t.set(r,a)),a}function n6(e,t,n){var i=Array.prototype.slice.call(arguments,3),r=n(i),a=t.get(r);return void 0===a&&(a=e.apply(this,i),t.set(r,a)),a}var n7=function(){return JSON.stringify(arguments)};function n9(){this.cache=Object.create(null)}n9.prototype.get=function(e){return this.cache[e]},n9.prototype.set=function(e,t){this.cache[e]=t};var ie,it={create:function(){return new n9}},ii={variadic:function(e,t){var n,i;return n=t.cache.create(),i=t.serializer,n6.bind(this,e,n,i)},monadic:function(e,t){var n,i;return n=t.cache.create(),i=t.serializer,n8.bind(this,e,n,i)}};(ir=ie||(ie={})).MISSING_VALUE="MISSING_VALUE",ir.INVALID_VALUE="INVALID_VALUE",ir.MISSING_INTL_API="MISSING_INTL_API";var ir,ia,io=function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.code=n,r.originalMessage=i,r}return ns(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),is=function(e){function t(t,n,i,r){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),ie.INVALID_VALUE,r)||this}return ns(t,e),t}(io),iu=function(e){function t(t,n,i){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),ie.INVALID_VALUE,i)||this}return ns(t,e),t}(io),il=function(e){function t(t,n){return e.call(this,'The intl str
1ing context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),ie.MISSING_VALUE,n)||this}return ns(t,e),t}(io);function ic(e){return"function"==typeof e}function id(e,t,n,i,r,a,o){if(1===e.length&&nm(e[0]))return[{type:ia.literal,value:e[0].value}];for(var s=[],u=0;u<e.length;u++){var l=e[u];if(nm(l))s.push({type:ia.literal,value:l.value});else if(l.type===nl.pound)"number"==typeof a&&s.push({type:ia.literal,value:n.getNumberFormat(t).format(a)});else{var c=l.value;if(!r||!(c in r))throw new il(c,o);var d=r[c];if(l.type===nl.argument)d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),s.push({type:"string"==typeof d?ia.literal:ia.object,value:d});else if(nf(l)){var p="string"==typeof l.style?i.date[l.style]:nA(l.style)?l.style.parsedOptions:void 0;s.push({type:ia.literal,value:n.getDateTimeFormat(t,p).format(d)})}else if(nE(l))p="string"==typeof l.style?i.time[l.style]:nA(l.style)?l.style.parsedOptions:void 0,s.push({type:ia.literal,value:n.getDateTimeFormat(t,p).format(d)});else if(nh(l))(p="string"==typeof l.style?i.number[l.style]:nv(l.style)?l.style.parsedOptions:void 0)&&p.scale&&(d*=p.scale||1),s.push({type:ia.literal,value:n.getNumberFormat(t,p).format(d)});else{if(ny(l)){var m,h=l.children,f=l.value,E=r[f];if(!ic(E))throw new iu(f,"function",o);var g=E(id(h,t,n,i,r,a).map(function(e){return e.value}));Array.isArray(g)||(g=[g]),s.push.apply(s,g.map(function(e){return{type:"string"==typeof e?ia.literal:ia.object,value:e}}))}if(ng(l)){if(!(m=l.options[d]||l.options.other))throw new is(l.value,d,Object.keys(l.options),o);s.push.apply(s,id(m.value,t,n,i,r))}else if(nx(l)){if(!(m=l.options["=".concat(d)])){if(!Intl.PluralRules)throw new io('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ie.MISSING_INTL_API,o);var x=n.getPluralRules(t,{type:l.pluralType}).select(d-(l.offset||0));m=l.options[x]||l.options.other}if(!m)throw new is(l.value,d,Object.keys(l.options),o);s.push.apply(s,id(m.value,t,n,i,r,d-(l.offset||0)))}}}}return s.length<2?s:s.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===ia.literal&&t.type===ia.literal?n.value+=t.value:e.push(t),e},[])}function ip(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}(im=ia||(ia={}))[im.literal=0]="literal",im[im.object=1]="object";var im,ih,iE,ig=function(){function e(t,n,i,r){var a,o,s=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce(function(e,t){return e.length&&t.type===ia.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return id(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(s.locales)[0]}},this.getAst=function(){return s.ast},"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:null==r?void 0:r.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(a=e.formats,i?Object.keys(a).reduce(function(e,t){var n,r;return e[t]=(n=a[t],(r=i[t])?nd(nd(nd({},n||{}),r||{}),Object.keys(n).reduce(function(e,t){return e[t]=nd(nd({},n[t]),r[t]||{}),e},{})):n),e},nd({},a)):a),this.locales=n,this.formatters=r&&r.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:n5(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,np([void 0],t,!1)))},{cache:ip(o.number),strategy:ii.variadic}),getDateTimeFormat:n5(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,np([void 0],t,!1)))},{cache:ip(o.dateTime),strategy:ii.variadic}),getPluralRules:n5(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,np([void 0],t,!1)))},{cache:ip(o.pluralRules),strategy:ii.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale}
1,enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.__parse=n3,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),ix=function(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,i.get?i:{enumerable:!0,get:function(){return e[t]}})}),n}(Object.freeze({__proto__:null,get ErrorCode(){return ie},FormatError:io,IntlMessageFormat:ig,InvalidValueError:is,InvalidValueTypeError:iu,MissingValueError:il,get PART_TYPE(){return ia},default:ig,formatToParts:id,isFormatXMLElementFn:ic})),iy={},iv={},iA=w.Z;Object.defineProperty(na,"__esModule",{value:!0}),na.createI18NTypedManager=iz=na.createI18NManager=na.convertSelfClosingTag=na.addTemplatesArgsTypings=na.I18NManager=void 0;var iC=iA(s()),i_=iA(u.Z),iT=iA(O.Z),iD=iA(N.Z),ik=iA(c.Z),iS=iA(D.Z),ib=iA(P.Z),iw=(ih||(ih=1,Object.defineProperty(iy,"__esModule",{value:!0}),iy.getValue=function(e,t){return t.split(/[.[\]]/).filter(Boolean).reduce(function(e,t){return null==e?void 0:e[t]},e)}),iy),iO=function(){if(iE)return iv;iE=1;var e=w.Z;Object.defineProperty(iv,"__esModule",{value:!0}),iv.createProxyWithFallback=void 0;var t=e(P.Z);return iv.createProxyWithFallback=function e(n,i,r){var a=new WeakMap;return new Proxy(n,{get:function(n,o,s){var u,l,c=Reflect.get(n,o,s);return r||((u=Reflect.get(null!=i?i:{},o,s),void 0===c&&"symbol"!==(0,t.default)(o))?(l=!0,c=u):l=!1),Object(c)!==c||"function"==typeof c?c:(a.has(c)||a.set(c,e(c,u,r||l)),a.get(c))}})},iv}(),iN=["key"];function iP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function iI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iP(Object(n),!0).forEach(function(t){(0,ik.default)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iP(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var iF=/<[a-zA-Z]*\s?\/>/g,iR=function(e){var t=e.match(iF),n=new Map;return null==t||t.forEach(function(t){e=e.replace(t,function(e){var t=e.substring(1,e.length-2).trim();if(n.has(t))return n.get(t);var i="<".concat(t,"></").concat(t,">");return n.set(t,i),i}(t))}),e};na.convertSelfClosingTag=iR;var iL,iB,iM=(iL=0,function(){return"key_".concat(iL+=1)}),iV=function(e){if(null!==e&&"object"===(0,ib.default)(e)){var t=e.key;return iI(iI({},(0,iS.default)(e,iN)),{},{key:null!=t?t:iM()})}return e},iU=function(e){return e.map(function(e){return iV(e)})},iG=function(e){return Object.keys(e||{}).reduce(function(t,n){var i=e[n];return t[n]="function"==typeof i?function(e){e=iU(e);var t=null==i?void 0:i(e);return Array.isArray(t)?iU(t):iV(t)}:i,t},{})},ij=(iB=new WeakMap,function(e,t){if(!iB.has(e)){var n=function(e,t){var n;try{if(n=e())return iG(n)}catch(e){n=t}return n}(e,t);n&&iB.set(e,n)}return iB.get(e)}),iZ=function(){function e(t){var n,i=this;(0,iT.default)(this,e),(0,ik.default)(this,"load",(n=(0,i_.default)(iC.default.mark(function e(t){var n,r,a,o,s,u;return iC.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=(r=i.args).locales,o=r.loadLocale,s=r.logError,u=r.fallback,e.prev=1,null!=a&&a.includes(t)){e.next=4;break}throw Error("Locale ".concat(t," not found in the list of available locales"));case 4:return e.next=6,o(t);case 6:n=e.sent,i.selectedLocale=t,e.next=14;break;case 10:e.prev=10,e.t0=e.catch(1),null==s||s(e.t0,{message:"failed to load i18n resources"}),n={};case 14:i.resourcesCache=(0,iO.createProxyWithFallback)(n,u);case 15:case"end":return e.stop()}},e,null,[[1,10]])})),function(e){return n.apply(this,arguments)})),(0,ik.default)(this,"trans",function(e,t){var n=i.args,r=n.logError,a=n.fallback,o=n.getDefaultTags,s=n.throwIfMissingInterpolatedValues,u=i.resourcesCache,l=i.selectedLocale;i.resourcesCache||null==r||r(Error("RESOURCES_CACHE_NOT_FOUND"),{message:"Resources cache not found. Did you forget to call `load(locale)`?"});var c=u?(0,iw.getValue)(u,e):(0,iw.getValue)(a,e);c||(null==r||r(Error("MISSING_RESOURCE_KEY"),{message:"missing key ".concat(e)}),c="");var d=t?iG(t):void 0,p=o?iI(iI({},ij(o,{})),d):d;t&&Object.keys(t).forEach(function(e){if(-1===c.indexOf(e))throw Error("".concat(e," is not a qualified value"))});try{return new ix.IntlMessageFormat(iR(c),l).format(p)}catch(e){if(null==r||r(Error(e.code),{message:e.message}),!s)return c;throw Error(e)}}),(0,ik.default)(this,"t",this.trans),this.args=t}return(0,iD.default)(e,[{key:"resources",get:function(){return this.resourcesCache}}]),e}();na.I18NManager=iZ;var iH=function(e){return new iZ(e)},iz=na.createI18NManager=iH,iW=function(e,t){var n=function(t){for(var n=arguments.length,i=Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return e.t.apply(e,[t].concat(i))};return iI(iI({},e),{},{t:n,trans:n,get resources(){return e.resourcesCache}})};na.addTemplatesArgsTypings=iW,na.createI18NTypedManager=function(e){return iW(iH(e))};var iY,iK={general:"General",charging:"Charging",orders:"Orders",insurance:"Insurance","roadside-assistance":"Roadside Assistance","vehicle-service":"Vehicle Service","fleet-os":"FleetOS",other:"Other","orders-billing":"Orders & Billing"},iX={monday:"Monday",tuesday:"Tuesday",wednesday:"Wednesday",thursday:"Thursday",friday:"Friday",saturday:"Saturday",sunday:"Sunday"},iq={CONTACT_EMAIL:"[email protected]",ERROR_MESSAGE_WITH_EMAIL:"Apologies, looks like chat is currently offline.\nEmail us with your questions:\n",ERROR_MESSAGE_WITH_RECONNECT:"Apologies, looks like we’ve been disconnected.",RECONNECT_MESSAGE:"Reconnecting...",SM_END_CHAT:"{name} has closed your chat at {time}",SM_LEFT_CHAT:"{name} has left your chat at {time}",SM_JOINED_CHAT:"{name} has joined your chat at {time}",SM_REJOINED_CHAT:"{name} has rejoined your chat at {time}",SM_TRANSFER_COMPLETE:"Transfer successful!",SM_TRANSFER_INCOMPLETE:"Transfer incomplete",REQUIRED_FIELD:"required",VALID_EMAIL_MESSAGE:"Please enter a valid email address",CHAT_LABEL:"Chat",NEW_MESSAGE_LABEL:"(New message)",CHAT_TRANSCRIPT:"Chat transcript",DOWNLOAD_CHAT_TRANSCRIPT:"Download Chat Transcript",TRANSCRIPT_DOWNLOADED:"Transcript downloaded",MOBILE_CHAT_RECONNECTING:"No internet connection.\nTrying to re
1connect...",SOMETHING_WENT_WRONG:"Something went wrong — chat ended.\nPlease start a new conversation",NO_CONNECTION:"No connection"},iQ={AGENT_IS_TYPING:"{agent} is typing...",CHAT_IS_STARTING:"Chat is starting...",CHAT_STARTED:"Chat started: {time}",INPUT_PLACEHOLDER:"Type your message...",CSAT_QUESTION_1:"How satisfied were you with the customer service provided?",CSAT_QUESTION_2:"Have more to share?",CSAT_PLACE_HOLDER:"Feedback",MOBILE_INPUT_PLACEHOLDER:"Message us...",MOBILE_INITIAL_MESSAGE:"You're on with a"},iJ={BUTTON_TEXT_NO:"No",BUTTON_TEXT_YES:"Yes",CANCEL_CHAT:"Cancel Chat Request",CEC_TITLE:"Customer Service Specialist",CLOSE_CHAT:"Close Chat",DOMAIN_NAME:".rivian.com",RETURN_TO_CHAT:"Return to chat",START_CHAT:"Start Chat",NEXT:"Next",SUBMIT:"Submit",BACK:"Back",SERVICE_ERROR_MESSAGE:"Oops! Something went wrong. Please try again.",OPTIONAL_TEXT:"Optional",CHAT_TEAM_OFFLINE:"Chat Team Offline",CLOSE_TEXT:"Close",END_CHAT:"End chat",KEEP_WAITING:"Keep waiting",CANCEL:"Cancel",END:"End",UNAVAILABLE:"Chat unavailable",KEEP_CHATTING:"Keep chatting"},i$={CHAT_UNAVAILABLE:"Chat is Unavailable",CHAT_SCREEN_FEEDBACK_MESSAGE:"Did we resolve your request?",CHAT_SCREEN_FEEDBACK_THANKYOU:"Thank you for your\nfeedback",WAIT_SCREEN_ALERT_MESSAGE:"Do you want to leave\nyour place in line?",EMAIL:"Email",FIRST_NAME:"First Name",LAST_NAME:"Last Name",PRIVACY_POLICY:"Privacy Policy",TERMS_TEXT:"Chats are transcribed for customer service and quality assurance purposes. Please see the Rivian {PRIVACY_POLICY} for more information.",URL_PRIVACY_POLICY:"https://rivian.com/privacy-policy",HOURS:"hours",MINUTES:"minutes",QUEUE_MESSAGE:"Hello {name}\nyou’re number {position} in line.",UNDER_MINUTE:"less than a minute",WAIT_TIME_MESSAGE:"Estimated wait time:\n{wait}",CATEGORY_GREETING:"Hi {name},\nWhat can we help you with today?",CHAT_CATEGORIES:"Orders;Account;General;Charging;Vehicle Service",SINGLE_CATEGORY_GREETING:"Hi {name},",TEAM_OFFLINE_MESSAGE:"The Rivian {team} Team is currently unavailable.",TEAM_OFFLINE_CTA:"Contact us by clicking the button below.",POSITION_TEXT:"You're {position} in line",ADDITIONAL_INFO_TEXT:"Feel free to look around or leave the app, just come back here to start chatting with us.",ESTIMATED_WAIT_TEXT:"We’ll be with you in {wait}",MOBILE_CATEGORY_GREETING:"Hi, {name}.\nWhat can we help with?",QUEUE_OFFLINE_CTA_SSOC_ROADSIDE:"Roadside Assistance",QUEUE_OFFLINE_CTA_SSOC_SERVICE:"Rivian Service",QUEUE_OFFLINE_SUBTITLE_SSOC:"Please give us a call.",QUEUE_OFFLINE_TITLE_END_SSOC:"team isn't available to chat",QUEUE_OFFLINE_TEAM_SSOC:"Service",QUEUE_OFFLINE_TITLE_START_SSOC:"The",QUEUE_OFFLINE_CTA_CEC:"Email us",QUEUE_OFFLINE_FOOTER_CEC:"Send us an email anytime.",QUEUE_OFFLINE_SUBTITLE_CEC:"Hours of operation",QUEUE_OFFLINE_TEAM_CEC:"Support",QUEUE_OFFLINE_TITLE_START_CEC:"The",QUEUE_OFFLINE_TITLE_END_CEC:"team is currently offline",SHARE_FEEDBACK_TEXT:"Share Feedback",SATISFACTION_PROMPT:"Did you get the help you needed?",SATISFACTION_ACKNOWLEDGEMENT:"Great! We’re always here if you need us.",CALL_FOR_HELP_PROMPT:"We’re just a call away if you still need help.",ARE_YOU_SURE_PROMPT:"Are you sure?",END_CHAT_MODAL_TEXT:"You can always start a new chat.",CANCEL_CHAT_MODAL_TEXT:"You’ll give up your spot in line. You can start a new chat anytime.",CANCEL_CHAT_TEXT:"Cancel chat",NO_THANKS:"No thanks",CALL_US:"Call Us"},i0={CHAT_TITLE:"Chat",EMAIL_TITLE:"Email",PHONE_TITLE:"Phone",PHONE_LINKTITLE:"(888) RIVIA
1N1",PHONE_LINKHREF:"1-888-748-4261",EMAIL_LINKTITLE:"[email protected]",EMAIL_LINKHREF:"[email protected]",SUPPORT_WIDGET_TITLE:"Contact Us"},i1={ALTERNATE_CONTACT_BFE318AD_4514_4C36_8D03_D523903F7D8F:"1-855-RIV-B2B1",AWAY_MESSAGE_BFE318AD_4514_4C36_8D03_D523903F7D8F:"Thanks for your message. It looks like we’re currently unavailable to assist via chat. Please reach out to the relevant phone or email listed in the Customer Support section of the help center instead.",TEAM_NAME_BFE318AD_4514_4C36_8D03_D523903F7D8F:"Fleet",ALTERNATE_CONTACT_16E0A67D_65A5_4049_953F_8BF61088D23A:"1-855-RIV-B2B1",AWAY_MESSAGE_16E0A67D_65A5_4049_953F_8BF61088D23A:"Thanks for your message. It looks like we’re currently unavailable to assist via chat. Please reach out to the relevant phone or email listed in the Customer Support section of the help center instead.",TEAM_NAME_16E0A67D_65A5_4049_953F_8BF61088D23A:"Fleet",CATOOO_DISPLAY_NAME:"FleetOS",CATOOP_DISPLAY_NAME:"Orders & Billing",CATOOM_DISPLAY_NAME:"Vehicle Service",CATOOQ_DISPLAY_NAME:"Other"},i2={ALTERNATE_CONTACT_29FF95C4_D94B_11EC_9D64_0242AC120002:"1-855-RIV-B2B1",AWAY_MESSAGE_29FF95C4_D94B_11EC_9D64_0242AC120002:"Thanks for your message. It looks like we’re currently unavailable to assist via chat. Please reach out to the relevant phone or email listed in the Customer Support section of the help center instead.",TEAM_NAME_29FF95C4_D94B_11EC_9D64_0242AC120002:"Fleet",ALTERNATE_CONTACT_16E0A67D_65A5_4049_953F_8BF61088D23A:"1-855-RIV-B2B1",AWAY_MESSAGE_16E0A67D_65A5_4049_953F_8BF61088D23A:"Thanks for your message. It looks like we’re currently unavailable to assist via chat. Please reach out to the relevant phone or email listed in the Customer Support section of the help center instead.",TEAM_NAME_16E0A67D_65A5_4049_953F_8BF61088D23A:"Fleet",CATOOL_DISPLAY_NAME:"FleetOS",CATOOM_DISPLAY_NAME:"Vehicle Service",CATOON_DISPLAY_NAME:"Other"},i4={CATOOG_DISPLAY_NAME:"Collision Parts",CATOOH_DISPLAY_NAME:"Collision Technical Support",CATOOI_DISPLAY_NAME:"Collision Specialist",CATOOJ_DISPLAY_NAME:"Other",ALTERNATE_CONTACT_9599DC71_8169_4EE3_88B4_256F8117E968:"1-(888)-384-3640",AWAY_MESSAGE_9599DC71_8169_4EE3_88B4_256F8117E968:"The Rivian Certified Collision Team is temporarily unavailable via chat. Please email [email protected] or phone us at the number listed below.",TEAM_NAME_9599DC71_8169_4EE3_88B4_256F8117E968:"Certified Collision Support"},i3={CUSTOMER_SERVICE_SPECIALIST:"Customer Service Specialist",FIELD_SERVICE_ADVISOR:"Field Service Advisor",RIVIAN_INSURANCE_ADVISOR:"Rivian Insurance Advisor",SERVICE_SUPPORT_ADVISOR:"Service Support Advisor",CEC_FLEET:"Fleet Specialist",FLEET_OPS:"Fleet Ops Engineer",VS_FLEET:"Service Support Advisor"},i5={WEEKDAYS:"Weekdays",WEEKENDS:"Weekends",CLOSED:"Closed"},i8={CATOOA_DISPLAY_NAME:"General",CATOOB_DISPLAY_NAME:"Charging",CATOOD_DISPLAY_NAME:"Orders",CATOOE_DISPLAY_NAME:"Roadside Assistance",CATOOF_DISPLAY_NAME:"Rivian Service",ALTERNATE_CONTACT_7AB5FDFB_5112_4455_933F_86D85598008D:"[email protected]",AWAY_MESSAGE_7AB5FDFB_5112_4455_933F_86D85598008D:"This team is temporarily unavailable.",TEAM_NAME_7AB5FDFB_5112_4455_933F_86D85598008D:"Customer Support",ALTERNATE_CONTACT_E2B0B68B_0D10_4E36_84B2_CF87AAB645A6:"1-(855)-RIVIAN-5",AWAY_MESSAGE_E2B0B68B_0D10_4E36_84B2_CF87AAB645A6:"This team is temporarily unavailable. If you’re experiencing an emergency or requesting Vehicle Services, the fastest way to contact us is through the phone number below.",TEAM_NAME_5DCB64FE_E2B0B68B_0D10_4E36_84B2_CF87AAB645A6:"Vehicle Services",ALTERNATE_CONTACT_91425189_CA7D_4015_B2E9_0697FA72DDEE:"[email protected]",AWAY_MESSAGE_91425189_CA7D_4015_B2E9_0697FA72DDEE:"This team is temporarily unavailable.",TEAM_NAME_91425189_CA7D_4015_B2E9_0697FA72DDEE:"Customer Support",ALTERNATE_CONTACT_700383E6_C466_4D44_837F_1A823BFD77F2:"1-(844)-RIVIAN-4",AWAY_MESSAGE_700383E6_C466_4D44_837F_1A823BFD77F2:"This team is temporarily unavailable. If you’re experiencing an emergency or requesting Roadside Assistance, the fastest way to contact us is through the phone number below.",TEAM_NAME_700383E6_C466_4D44_837F_1A823BFD77F2:"Roadside Assistance",ALTERNATE_CONTACT_5DCB64FE_919A_4E13_ACBD_D3EF96CC18A6:"1-(855)-RIVIAN-5",AWAY_MESSAGE_5DCB64FE_919A_4E13_ACBD_D3EF96CC18A6:"This team is temporarily unavailable. If you’re experiencing an emergency or requesting Vehicle Services, the fastest way to contact us is through the phone number below.",TEAM_NAME_5DCB64FE_919A_4E13_ACBD_D3EF96CC18A6:"Vehicle Services"},i6=Object.freeze({__proto__:null,agentTitles:i3,availabilityLabels:i5,categories:iK,collision:i4,common:iJ,components:iq,customer:i8,daysOfTheWeek:iX,default:{categories:iK,daysOfTheWeek:iX,components:iq,features:iQ,common:iJ,screens:i$,supportWidget:i0,fleetGroup2:i1,fleetGroup1:i2,collision:i4,agentTitles:i3,availabilityLabels:i5,customer:i8},features:iQ,fleetGroup1:i2,fleetGroup2:i1,screens:i$,supportWidget:i0}),i7=Object.values(K),i9=iz({loadLocale:function(e){if(!i7.includes(e))throw Error("Locale ".concat(e," is not supported"));return n(19549)("./".concat(e,".json"))},fallback:i6,locales:i7}),re=!1,rt=function(){var e,t=(0,i.useState)(!1),n=(0,a.Z)(t,2),r=n[0],o=n[1],s=(0,i.useRef)(),u=tG(),l=(e=(0,i.useRef)(),(0,i.useEffect)(function(){e.current=u}),e.current);return(0,i.useEffect)(function(){s.current||l===u||(o(!1),s.current=!0,i9.load(u).then(function(){re=!0,s.current=!1,o(!0)}))},[u,l]),{t:i9.t,loaded:r||re}};function rn(e){var t=e.expandChat,n=e.hasUnreadMessages,r=e.onClosePress,a=e.onMinMaxPress,o=e.playSound,s=e.showVolumeButton,u=e.smScreen,l=e.toggleSound,c=rt().t,d=(0,i.useContext)(tE).isMobile,p={padding:"10px 15px",height:"40px",display:"flex",justifyContent:"center"},m=function(e){ew(e),a()};return i.createElement(nr,{isMobile:d},t?i.createElement(t7,{isMobile:d},i.createElement(t6,{styles:p,onPress:function(){return m(ed.MINIMIZE)}},i.createElement(tQ,null)),!(d||u)&&void 0!==s&&s&&i.createElement(t6,{styles:p,onPress:function(){ew(ed.MUTE),l(!o)}},o?i.createElement(t4,null):i.createElement(t5,null)),i.createElement(t6,{styles:p,onPress:r},i.createElement(tK,null))):i.createElement(t6,{styles:{background:"#f0f1f0",borderTopLeftRadius:"8px",borderTopRightRadius:"8px",flex:1,marginTop:d?"50px":"0px",display:"flex",alignItems:"center",justifyContent:"space-between",flexFlow:"row nowrap"},onPress:function(){return m(ed.MAXIMIZE)}},d||u?i.createElement(nn,null,i.createElement(t9,{styles:p},i.createElement(tz,null)),n&&i.createElement(ni,null)):i.createElement(nn,null,i.createElement(t9,{styles:p},i.createElement(tz,null)),n&&i.createElement(ni,null),i.createElement(ne,null,c("components.CHAT_LABEL")),n&&i.createElement(nt,null,c("components.NEW_MESSAGE_LABEL"))),!(d||u)&&i.createElement(t9,{styles:p},i.createElement(t0,null))))}function ri(){return(ri=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var rr=function(e){return i.createElement("svg",ri({xmlns:"http://www.w3.org/2000/svg",width:16,height:10,fill:"none"},e),iY||(iY=i.createElement("path",{stroke:"#151515",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 9 1 5l4-4M1 5h14"})))},ra=b.ZP.View.withConfig({displayName:"indexstyles__Divider",componentId:"sc-1x924pj-0"})(["flex:1;margin:17px;border:1px solid #d8d8d8;"]),ro=b.ZP.Text.withConfig({displayName:"indexstyles__StyledSystemMessage",componentId:"sc-1x924pj-1"})(["width:100%;padding-left:5px;padding-right:5px;margin-top:10px;margin-bottom:10px;font-family:Sohne;font-size:12px;line-height:16px;align-self:center;color:",";text-align:center;"],function(e){var t=e.isWeb,n=e.theme;return t?"#808080":n.SECONDARY_TEXT}),rs=function(e,t,n,i){switch(null==n?void 0:n.ContentType){case ei:return[e("components.SM_TRANSFER_INCOMPLETE"),e("components.SM_REJOINED_CHAT",{agent:t,time:q({time:n.AbsoluteTime})})];case er:return[e("components.SM_TRANSFER_COMPLETE")];case en:return[e("components.SM_JOINED_CHAT",{name:n.DisplayName,time:q({time:n.AbsoluteTime})})];case ea:return[e(i?"components.SM_END_CHAT":"components.SM_LEFT_CHAT",{name:n.DisplayName,time:q({time:n.AbsoluteTime})})];default:return[]}};function ru(e){var t=e.agentName,n=e.chat,r=e.chatEnded,o=rt().t,s=(0,i.useContext)(tE).isWeb,u=(0,i.useState)(t),l=(0,a.Z)(u,2),c=l[0],d=l[1];return(0,i.useEffect)(function(){n.ContentType===ei&&d(t)},[n]),i.createElement(g.Z,null,r&&i.createElement(ra,null),rs(o,c,n,r).map(function(e,t){return i.createElement(ro,{key:"".concat(e.ContentType).concat(t),isWeb:s},e)}))}var rl=b.ZP.Text.withConfig({displayName:"indexstyles__StyledLink",componentId:"if3v95-0"})(["text-decoration-line:underline;color:",";
1"],function(e){return e.hoverColor&&e.isHover?e.hoverColor:e.color});function rc(e){var t=e.color,n=e.download,r=e.hoverColor,o=e.href,s=e.isMobile,u=e.label,l=e.linkRef,c=e.target,d=(0,i.useState)(!1),p=(0,a.Z)(d,2),m=p[0],h=p[1];(0,i.useEffect)(function(){if(l&&n){var e=l.current;null==e||e.setNativeProps({download:n})}return function(){}},[]);var f=s?{onPress:function(){return eV(eh,o)}}:{accessibilityRole:"link",target:c||(W(o)?"":"_blank"),rel:"noopener",href:o};return i.createElement(rl,(0,S.Z)({},f,{ref:l,color:t,hoverColor:r,isHover:m,onMouseEnter:function(){return h(!0)},onMouseLeave:function(){return h(!1)}}),u)}rc.defaultProps={color:"#151515",hoverColor:"#0e5d8f"};var rd,rp=function(e,t,n,i){var r,a,o=[].concat((0,T.Z)(eA),["".concat("Rivian Chat Transcript",": ").concat(q({time:t,options:{dateStyle:"short"}}),"\n\n")]),s=e.map(function(e){var t=e.AbsoluteTime,r=e.Content,a=e.DisplayName;return r?"".concat(q({time:t,options:{}})," - ").concat(a,": ").concat(r||"","\n------\n"):rs(i,a,e,n).map(function(e){return"".concat(e,"\n")})}),u=new Blob([].concat((0,T.Z)(o),(0,T.Z)(s)),{type:"text/plain"}),l=null===(r=window)||void 0===r||null===(a=r.URL)||void 0===a?void 0:a.createObjectURL(u);return setTimeout(function(){var e,t;null===(e=window)||void 0===e||null===(t=e.URL)||void 0===t||t.revokeObjectURL(l)},3e3),l};function rm(e){var t=e.chatEndTime,n=e.chatStartTime,r=e.downloadText,a=e.isMobile,o=e.messages,s=rt().t,u=(0,i.useRef)();return i.createElement(rc,{hoverColor:null,href:rp(o,n,t,s),isMobile:a,label:r,linkRef:u,download:"chat-transcript.txt",target:"_blank"})}function rh(){return(rh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var rf=function(e){return i.createElement("svg",rh({xmlns:"http://www.w3.org/2000/svg",width:12,height:46,fill:"none"},e),rd||(rd=i.createElement("path",{fill:"#151515",d:"M10.14 31.368V.2H1.886v31.168zm-4.16 4.288c-2.815 0-5.055 2.176-5.055 5.056 0 2.816 2.24 4.992 5.056 4.992 2.88 0 5.184-2.176 5.184-4.992 0-2.88-2.304-5.056-5.184-5.056"})))},rE=b.ZP.View.withConfig({displayName:"indexstyles__StyledLoadingDot",componentId:"sc-1ucle5q-0"}
1)(["height:8px;width:8px;border-radius:24px;border:1px solid #c4c4c4;margin:24px 4px;"]),rg=b.ZP.View.withConfig({displayName:"indexstyles__StyledLoadingDotsContainer",componentId:"sc-1ucle5q-1"})(["display:flex;flex-flow:row;align-items:center;justify-content:center;"]);function rx(e){var t=e.numOfDots,n=e.delay,r=e.waiting,o=(0,i.useState)(function(){for(var e=[],n=0;n<t;n++){var i=new x.default.Value(0);e.push(i)}return e}),s=(0,a.Z)(o,1)[0],u=function e(t,i){var r=i;t>=s.length&&(t=0,r=0===i?1:0);var a=t+1;x.default.timing(s[t],{toValue:r,duration:n,useNativeDriver:!1}).start(function(){return e(a,r)})};return(0,i.useEffect)(function(){r&&u(0,0)},[]),i.createElement(rg,null,s.map(function(e,t){return i.createElement(rE,{key:"dot_".concat(t),as:x.default.View,style:{backgroundColor:e.interpolate({inputRange:[0,1],outputRange:["#ffffff","#c4c4c4"]})}})}))}rx.defaultProps={numOfDots:3,delay:200};var ry=b.ZP.Text.withConfig({displayName:"indexstyles__CommonText",componentId:"sc-19yzl8l-0"})(["font-family:Sohne;font-size:16px;font-weight:500;line-height:24px;text-align:center;"]),rv=b.ZP.View.withConfig({displayName:"indexstyles__AlertWrapperView",componentId:"sc-19yzl8l-1"})(["position:absolute;top:0;left:0;right:0;bottom:0;"]),rA=b.ZP.View.withConfig({displayName:"indexstyles__ContainerView",componentId:"sc-19yzl8l-2"})(["height:100%;position:absolute;top:0;left:0;right:0;border-top-left-radius:8px;border-top-right-radius:8px;align-items:center;",""],function(e){return e.isBlur?(0,b.iv)(["background-color:rgba(0,0,0,0.5);"]):(0,b.iv)(["background:#ffffff;"])}),rC=b.ZP.TouchableWithoutFeedback.withConfig({displayName:"indexstyles__MessageView",componentId:"sc-19yzl8l-3"})(["flex:1;top:0;left:0;right:0;border-top-left-radius:8px;border-top-right-radius:8px;align-items:center;background:#f0f1f0;"]),r_=b.ZP.View.withConfig({displayName:"indexstyles__MessageContainer",componentId:"sc-19yzl8l-4"})(["width:100%;border-top-left-radius:8px;border-top-right-radius:8px;align-items:center;justify-content:center;background:#f0f1f0;"]),rT=(0,b.ZP)(ry).withConfig({displayName:"indexstyles__MessageText",componentId:"sc-19yzl8l-5"})(["color:#151515;",""],function(e){return e.center?(0,b.iv)(["padding-bottom:60px;padding-top:60px;"]):(0,b.iv)(["padding-bottom:20px;padding-top:40px;"])}),rD=b.ZP.View.withConfig({displayName:"indexstyles__ButtonContainer",componentId:"sc-19yzl8l-6"})(["margin-bottom:64px;width:156px;height:40px;flex-direction:row;justify-content:space-between;"]),rk=(0,b.ZP)(ry).withConfig({displayName:"indexstyles__ButtonText",componentId:"sc-19yzl8l-7"})(["color:",";"],function(e){return e.dark?"#151515":"#ffffff"}),rS=(0,b.ZP)(rk).withConfig({displayName:"indexstyles__BackButtonText",componentId:"sc-19yzl8l-8"})(["padding-left:12px;"]),rb=b.ZP.View.withConfig({displayName:"indexstyles__ErrorView",componentId:"sc-19yzl8l-9"})(["flex:1;flex-basis:100%;width:100%;justify-content:center;align-items:center;"]),rw=b.ZP.View.withConfig({displayName:"indexstyles__ErrorIcon",componentId:"sc-19yzl8l-10"})(["padding-bottom:24px;"]),rO=(0,b.ZP)(ry).withConfig({displayName:"indexstyles__ErrorMessage",componentId:"sc-19yzl8l-11"})(["padding-bottom:56px;padding-left:20px;padding-right:20px;color:#151515;"]),rN=b.ZP.Text.withConfig({displayName:"indexstyles__EmailLink",componentId:"sc-19yzl8l-12"})(["text-decoration-line:underline;"]),rP=(0,b.ZP)(ry).withConfig({displayName:"indexstyles__ReconnectingText",componentId:"sc-19yzl8l-13"})(["font-weight:normal;color:#505050;"]),rI=(0,b.ZP)(ry).withConfig({displayName:"indexstyles__TranscriptText",componentId:"sc-19yzl8l-14"})(["color:#151515;",""],function(e){return e.underline&&(0,b.iv)(["text-decoration-line:underline;"])}),rF=b.ZP.View.withConfig({displayName:"indexstyles__TranscriptView",componentId:"sc-19yzl8l-15"})(["flex:1;display:flex;justify-content:flex-end;padding-bottom:90px;"]);function rR(e){var t=e.isChatSession,n=void 0!==t&&t,r=e.isErrorView,o=void 0!==r&&r,s=e.isReconnecting,u=void 0===s||s,l=e.message,c=e.onBackPress,d=e.onCloseChat,p=e.onNoPress,m=e.onYesPress,h=rt().t,f=(0,i.useContext)(tE),g=f.chatEndTime,x=f.chatStartTime,v=f.isMobile,A=f.messages,C=(0,i.useState)(!1),_=(0,a.Z)(C,2),T=_[0],D=_[1],k=n||o;return i.createElement(rv,null,i.createElement(E.Z,{onPress:p,disabled:k},i.createElement(rA,{isBlur:!k},o?i.createElement(rb,null,i.createElement(rw,null,i.createElement(rf,null)),i.createElement(rO,null,h(u?"components.ERROR_MESSAGE_WITH_RECONNECT":"components.ERROR_MESSAGE_WITH_EMAIL"),!u&&i.createElement(rN,{onPress:function(){v?y.Z.openURL("mailto:".concat(h("components.CONTACT_EMAIL"))):(window.open("mailto:".concat(h("components.CONTACT_EMAIL"))),ew(ed.EMAIL_CLICK))}},h("components.CONTACT_EMAIL"))),u&&i.createElement(i.Fragment,null,i.createElement(rP,null,h("components.RECONNECT_MESSAGE")),i.createElement(rx,null))):i.createElement(rC,null,i.createElement(r_,null,c&&i.createElement(t6,{defaultButton:!0,onPress:c,styles:{flexDirection:"row",marginTop:"16px",border:"1px solid #d8d8d8"}},i.createElement(rr,null),i.createElement(rS,{dark:!0},h("common.RETURN_TO_CHAT"))),i.createElement(rT,{center:!p&&!m},l),p&&m&&i.createElement(rD,null,i.createElement(t6,{onPress:m,styles:{width:"70px",height:"40px",borderRadius:"4px",background:"#151515"}},i.createElement(rk,null,h("common.BUTTON_TEXT_YES"))),i.createElement(t6,{onPress:p,styles:{width:"70px",height:"40px",borderRadius:"4px",background:"#151515"}},i.createElement(rk,null,h("common.BUTTON_TEXT_NO")))))),n&&T&&i.createElement(rF,null,i.createElement(rI,null,h("components.TRANSCRIPT_DOWNLOADED"))),n&&!T&&i.createElement(rF,null,i.createElement(rm,{chatEndTime:g,chatStartTime:x,downloadText:i.createElement(rI,{onPress:function(){D(!0),ew(ed.DOWNLOAD_TRANSCRIPT)},underline:!0},h("components.DOWNLOAD_CHAT_TRANSCRIPT")),isMobile:v,messages:A})),(n||o)&&i.createElement(t6,{defaultButton:!0,onPress:d,styles:{position:"absolute",bottom:"24px",border:"1px solid #d8d8d8",background:"#ffffff"}},i.createElement(rk,{dark:!0},h("common.CLOSE_CHAT"))))))}function rL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function rB(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?rL(Object(n),!0).forEach(function(t){(0,c.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rL(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var rM={RIVIAN_YELLOW:"#FFAC00",BLACK:"#000000",WHITE:"#FFFFFF",WATER10:"#ECF0F4",WATER50:"#2F4B5F",WATER100:"#1F3442",FOREST10:"#EEEFE6",FOREST50:"#465243",FOREST100:"#313A2E",SAND10:"#F9F2E8",SAND25:"#E9DFCA",SAND50:"#8A7667",SAND100:"#594941",MARSH50:"#7F835E",MARSH100:"#424431",FIELD50:"#EBC288",FIELD100:"#9F7F4F",CLAY50:"#EBB293",CLAY100:"#A15842",SUN_YELLOW:"#FAD44E",SUNSET_RED:"#FB7D69",SKY_BLUE:"#4393FE",DUSK_PINK:"#ED7DA1",AURORA_GREEN:"#A7E565",SUCCESS:"#4A8231",ERROR:"#DC3127",WARNING:"#D58103",INFO:"#005E7D",HYPERLINK:"#0E5D8F"},rV={light:{FOREGROUND:"#212121",BACKGROUND:"#FFFFFF",GREY1:"#F2F2F2",GREY2:"#ECECEC",GREY3:"#CBCBCB",GREY4:"#636363",GREY5:"#494949",PRIMARY_TEXT:"#212121",SECONDARY_TEXT:"#494949",DEFAULT_BUTTON:"#000000",ACTIVE_BUTTON:"#4D4D4D",DISABLED_BUTTON:"#B2B2B2"},dark:{FOREGROUND:"#BAC5CF",BACKGROUND:"#12171D",GREY1:"#1E262E",GREY2:"#232B33",GREY3:"#333D46",GREY4:"#4C5A66",GREY5:"#8A97A2",PRIMARY_TEXT:"#BAC5CF",SECONDARY_TEXT:"#8A97A2",DEFAULT_BUTTON:"#8A97A2",ACTIVE_BUTTON:"#4C5A66",DISABLED_BUTTON:"#333D46"}},rU={light:{IS_DARK_MODE:!1,THEME_MODE:"light",CUSTOMER_CHAT_BUBBLE:rM.SAND25,CHAT_SESSION_BACKGROUND:rM.SAND10,TEXT_INPUT_BACKGROUND:rV.light.GREY1},dark:{IS_DARK_MODE:!0,THEME_MODE:"dark",CUSTOMER_CHAT_BUBBLE:rV.dark.GREY3,CHAT_SESSION_BACKGROUND:rV.dark.GREY2,TEXT_INPUT_BACKGROUND:rV.dark.GREY1}},rG=b.ZP.View.withConfig({displayName:"indexstyles__ChatWrapperView",componentId:"sc-663di9-0"})(["background:",";flex:1;align-items:center;position:relative;border-top-left-radius:8px;border-top-right-radius:8px;"," ",""],rM.WHITE,function(e){return e.isMobileApp?(0,b.iv)(["width:100vw;height:",";transition:width 1s,height 150ms;overflow-y:hidden;position:absolute;top:0;bottom:0;left:0;right:0;"],e.isKeyboardVisible?"".concat(e.heightWithKeyboard,"px"):"100vh"):e.isMobile?(0,b.iv)(["width:100%;"]):(0,b.iv)(["height:",";width:",";overflow-y:hidden;"],e.height?"".concat(e.height,"px"):"500px",e.width?"".concat(e.width,"px"):"300px")},function(e){return e.styles&&(0,b.iv)(["",""],e.styles)}),rj=b.ZP.View.withConfig({displayName:"indexstyles__ChatContainerView",componentId:"sc-663di9-1"})(["flex:1;height:100%;width:100%;background-color:",";"],function(e){return e.theme.BACKGROUND}),rZ=b.ZP.View.withConfig({displayName:"indexstyles__Body",componentId:"sc-663di9-2"})(["flex:11;",""],function(e){return!e.expandChat&&(0,b.iv)(["display:none;"])});b.ZP.Text.withConfig({displayName:"indexstyles__PrivacyLink",componentId:"sc-663di9-3"})(["text-decoration-line:underline;"]);var rH,rz=function(e){(0,I.Z)(r,e);var t,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=(0,R.Z)(r);return e=t?Reflect.construct(n,arguments,(0,R.Z)(this).constructor):n.apply(this,arguments),(0,F.Z)(this,e)});function r(e){var t;return(0,O.Z)(this,r),(t=n.call(this,e)).state={hasError:!1,expandChat:e.expandChat,smScreen:e.smScreen,onClosePress:e.onClosePress,onMinMaxPress:e.onMinMaxPress},t}return(0,N.Z)(r,[{key:"componentDidCatch",value:function(e,t){}},{key:"render",value:function(){return this.state.hasError?i.createElement(rj,null,i.createElement(rn,{expandChat:this.state.expandChat,hasUnreadMessages:!1,onClosePress:this.state.onClosePress,onMinMaxPress:this.state.onMinMaxPress,playSound:!1,showVolumeButton:!1,smScreen:this.state.smScreen,toggleSound:function(){}}),i.createElement(rR,{isChatSession:!1,isErrorView:!0,isReconnecting:!1,message:"",onBackPress:function(){},onCloseChat:this.state.onClosePress,onNoPress:function(){},onYesPress:function(){}})):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{hasError:!0}}}]),r}(i.Component);function rW(){return(rW=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var rY,rK=function(e){return i.createElement("svg",rW({xmlns:"http://www.w3.org/2000/svg",width:10,height:6,fill:"none"},e),rH||(rH=i.createElement("path",{stroke:"#151515",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 1 5 5 1 1"})))};function rX(){return(rX=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var rq=function(e){return i.createElement("svg",rX({xmlns:"http://www.w3.org/2000/svg",width:10,height:6,fill:"none"},e),rY||(rY=i.createElement("path",{stroke:"#151515",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"m1 5 4-4 4 4"})))},rQ=b.ZP.View.withConfig({displayName:"indexstyles__Container",componentId:"iy80zf-0"})(["width:262px;"]),rJ=b.ZP.View.withConfig({displayName:"indexstyles__PickerContainer",componentId:"iy80zf-1"}
1)(["height:56px;margin-bottom:8px;background:#ffffff;border:1px solid ",";border-radius:4px;",""],function(e){return e.hasError?"#DC3127":"#D8D8D8"},function(e){return e.isActive&&(0,b.iv)([""])});b.ZP.Text.withConfig({displayName:"indexstyles__ErrorMessage",componentId:"iy80zf-2"})(["font-size:12px;font-family:Sohne;line-height:16px;color:#dc3127;height:16px;margin-bottom:8px;"]);var r$,r0,r1=(0,b.ZP)(x.default.Text).withConfig({displayName:"indexstyles__Label",componentId:"iy80zf-3"})(["font-family:Sohne;position:absolute;left:16px;right:16px;"," ",""],function(e){return e.isActive||e.hasValue?(0,b.iv)(["height:16px;top:8px;font-size:12px;line-height:16px;color:#505050;"]):(0,b.iv)(["height:24px;top:16px;font-size:16px;line-height:24px;color:#5e5e5e;"])},function(e){return e.hasError&&(0,b.iv)(["color:#dc3127;"])}),r2=b.ZP.View.withConfig({displayName:"indexstyles__DropdownContainer",componentId:"iy80zf-4"})([""]),r4=b.ZP.FlatList.withConfig({displayName:"indexstyles__DropdownList",componentId:"iy80zf-5"})(["border-bottom-right-radius:4px;border-bottom-left-radius:4px;border:1px #d8d8d8 solid;top:-1px;max-height:140px;overflow-y:scroll;background:#fff;"]),r3=b.ZP.Text.withConfig({displayName:"indexstyles__ButtonText",componentId:"iy80zf-6"})(["font-family:Sohne;font-size:16px;height:24px;line-height:24px;text-align:left;left:16px;width:88%;font-weight:normal;position:absolute;top:24px;"]),r5={borderTop:"1px #D8D8D8 solid",width:"calc(100% - 16px)",display:"flex",alignSelf:"center"},r8=b.ZP.Text.withConfig({displayName:"indexstyles__ListText",componentId:"iy80zf-7"})(["font-size:'16px';font-family:'Sohne';padding:12px 8px;width:100%;"]),r6=b.ZP.TouchableOpacity.withConfig({displayName:"indexstyles__ListItem",componentId:"iy80zf-8"})(["padding:2px 0px;"]),r7={float:"right"},r9={position:"absolute",right:"22px",top:"9px",backgroundColor:"#fff"},ae=b.ZP.View.withConfig({displayName:"indexstyles__PickerDropdownContainer",componentId:"iy80zf-9"})(["top:21px;position:absolute;width:100%;"]),at=function(e){var t=e.isActive;return{height:"56px",background:"transparent",borderTopLeftRadius:"4px",borderTopRightRadius:"4px",borderBottomRightRadius:t?"0px":"4px",borderBottomLeftRadius:t?"0px":"4px",borderTopWidth:"1px",borderRightWidth:"1px",borderBottomWidth:t?"0px":"1px",borderLeftWidth:"1px",borderStyle:"solid",borderColor:"rgb(216, 216, 216)"}};function an(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function ai(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?an(Object(n),!0).forEach(function(t){(0,c.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):an(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ar(e){var t,n,r=e.title,o=e.value,s=e.onValueChange,u=e.formatValue,l=e.options,c=e.isDisabled,d=e.pickerMessage,p=(0,i.useContext)(tE).isWeb,m=(0,i.useState)(!1),f=(0,a.Z)(m,2),E=f[0],g=f[1],x=(0,i.useState)(!1),y=(0,a.Z)(x,2),v=y[0],A=y[1],C=(0,i.useRef)(),_=function(){c||A(!v),g(!1)};return t=function(){A(!1)},n=function(e){C.current&&!C.current.contains(e.target)&&t()},(0,i.useEffect)(function(){var e;return(null===(e=window)||void 0===e?void 0:e.addEventListener)&&window.addEventListener("click",n),function(){var e;(null===(e=window)||void 0===e?void 0:e.addEventListener)&&window.removeEventListener("click",n)}}),i.createElement(rQ,null,!p&&i.createElement(rJ,{isActive:v},i.createElement(r1,{hasValue:!!o},r),i.createElement(ae,null,i.createElement(L.Z,{style:ai(ai({},{position:"absolute",height:"24px",left:"12px",width:"88%",fontFamily:"Sohne",fontSize:"16px",lineHeight:"24px",color:"#151515",border:"none",backgroundColor:"transparent"}),ai({},h.Z.select({web:{outline:"none"}}))),enabled:!c,value:o,onFocus:function(){A(!0)},accessibilityRole:"combobox",onValueChange:function(e){return s(e)}},[""].concat((0,T.Z)(l)).map(function(e,t){return i.createElement(L.Z.Item,{label:u(e.category_id),value:e.category_id,key:"".concat(e.category_id,"-").concat(t),accessibilityRole:"option"})})),i.createElement(rK,{style:r9}))),p&&i.createElement(r2,{ref:C},i.createElement(t6,{styles:at({isActive:v&&!c}),onPress:_,defaultButton:!1,disabled:c,accessibilityRole:"combobox",accessibilityState:{disabled:c}},i.createElement(r1,{hasValue:!!o},r),i.createElement(r3,{isActive:v},u(o),v?i.createElement(rq,{style:r7}):i.createElement(rK,{style:r7}))),v&&!c&&i.createElement(r4,{style:{borderTop:"none"},accessibilityRole:"listbox",data:null==l?void 0:l.map(function(e){return{id:e.category_id,title:u(e.category_id)}}),keyExtractor:function(e){return e.id},renderItem:function(e){var t=e.item,n=e.index;return i.createElement(r6,{onPress:function(){return s(t.id),void _()},style:r5,accessibilityRole:"option"},i.createElement(r8,{onMouseEnter:function(){return g(n)},onMouseLeave:function(){return g(!1)},style:E===n&&{backgroundColor:"#F0F1F0"}},t.title))}})),v&&p?null:d)}function aa(){return(aa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var ao=function(e){return i.createElement("svg",aa({xmlns:"http://www.w3.org/2000/svg",width:117,height:24,fill:"none",viewBox:"0 0 200 40"},e),r$||(r$=i.createElement("path",{fill:"#151515",d:"M72.372 16.577c0-3.409-2.311-6.732-7.282-6.732H52.232v20.226h4.335V13.485h7.89c2.427 0 3.582 1.186 3.582 3.092 0 1.936-1.157 3.121-3.583 3.121H61.1c-1.52 0-2.375.855-2.375 2.375v1.267h2.408c1.126 0 1.964.377 2.66 1.272l4.275 5.46h5.316l-5.952-7.57c3.178-.725 4.94-2.8
106 4.94-5.925M87.956 9.843h-4.335v20.226h4.335zM121.362 9.843h-4.623L109.4 25.505l-7.34-15.662h-4.623l9.651 20.228h4.623zM135.256 9.843h-4.335v20.226h4.335zM159.299 9.843h-4.623l-9.939 20.226h4.623l1.243-2.6c.519-1.098 1.329-1.59 2.543-1.59h7.513l-.896-1.907c-.549-1.186-1.445-1.733-2.773-1.733h-3.842l3.842-7.975 7.627 15.805h4.624zM200 9.843h-4.19v15.026L183.703 9.843h-4.969v20.228h4.19V15.044l12.105 15.027H200zM41.078 18.41C38.75 16.01 26.156 3.02 23.795 1.146 22.971.485 21.911 0 20.58 0c-1.332 0-2.393.484-3.215 1.145C15.005 3.019 2.41 16.009.081 18.41c-.19.218-.019.562.267.562 1.163 0 3.86.004 5.484.004.572 0 .742-.1 1.102-.487l2.15-2.307c2.276-2.455 7.83-7.875 9.859-9.584.762-.641 1.625-.62 1.637-.62.012 0 .875-.021 1.637.62 2.03 1.711 7.583 7.131 9.86 9.584l2.15 2.307c.36.387.529.487 1.101.487 1.623 0 4.32-.004 5.484-.004.286.002.456-.344.266-.562M.08 21.503c2.328 2.401 14.922 15.392 17.283 17.266.823.66 1.884 1.145 3.215 1.145 1.332 0 2.393-.485 3.215-1.145 2.36-1.874 14.954-14.865 17.282-17.266.19-.219.018-.562-.268-.562-1.163 0-3.858-.004-5.483-.004-.572 0-.742.1-1.102.486l-2.15 2.308c-2.277 2.454-7.83 7.874-9.86 9.583-.762.642-1.624.621-1.636.621-.013 0-.875.02-1.637-.62-2.03-1.712-7.583-7.132-9.86-9.584l-2.15-2.308c-.36-.386-.53-.486-1.102-.486-1.622 0-4.32.004-5.483.004-.282 0-.454.343-.264.562"})),r0||(r0=i.createElement("path",{fill:"#151515",d:"M19.057 24.252c-1.038-.948-2.867-2.722-3.548-3.517-.31-.352-.29-.791-.29-.791s-.02-.44.29-.791c.68-.795 2.51-2.57 3.548-3.518.425-.396.527-.646.527-1.132V9.109c0-.216-.253-.351-.45-.17-2.315 2.145-7.473 7.256-9.203 9.237-.827.876-.75 1.77-.75 1.77s-.075.89.75 1.77c1.732 1.98 6.89 7.092 9.204 9.235.206.18.45.068.45-.187v-5.378c0-.49-.103-.74-.528-1.134M22.102 24.256c1.039-.948 2.868-2.722 3.548-3.517.311-.352.29-.791.29-.791s.021-.44-.29-.791c-.68-.795-2.51-2.57-3.548-3.518-.425-.396-.527-.646-.527-1.132V9.13c0-.256.243-.368.45-.188 2.315 2.144 7.474 7.255 9.203 9.236.826.877.75 1.77.75 1.77s.076.89-.75 1.77c-1.731 1.98-6.89 7.092-9.203 9.236-.207.18-.45.067-.45-.188v-5.378c.002-.488.102-.736.527-1.132"})))},as=b.ZP.View.withConfig({displayName:"indexstyles__ContainerView",componentId:"h4lte8-0"})(["flex:1;display:flex;align-items:center;justify-content:center;"]),au=b.ZP.View.withConfig({displayName:"indexstyles__LogoView",componentId:"h4lte8-1"})(["width:200px;height:39.91px;flex:1;display:flex;align-items:center;justify-content:center;"]),al=b.ZP.View.withConfig({displayName:"indexstyles__InputView",componentId:"h4lte8-2"})(["justify-content:flex-start;flex:3;z-index:1;align-items:center;"]),ac=b.ZP.View.withConfig({displayName:"indexstyles__ButtonView",componentId:"h4lte8-3"})(["flex:2;display:flex;align-items:center;justify-content:flex-end;"]),ad=b.ZP.View.withConfig({displayName:"indexstyles__ButtonsContainer",componentId:"h4lte8-4"})(["margin-bottom:16px;"]),ap=b.ZP.Text.withConfig({displayName:"indexstyles__ButtonText",componentId:"h4lte8-5"})(["font-family:Sohne;font-size:16px;height:24px;line-height:24px;font-weight:500;text-align:right;color:",";"],function(e){return e.chatUnavailable?"#151515":"#ffffff"}),am=b.ZP.View.withConfig({displayName:"indexstyles__TextView",componentId:"h4lte8-6"})(["margin-bottom:16px;align-items:center;max-width:262px;text-align:center;display:flex;flex-basis:content;"]),ah=(0,b.ZP)(am).withConfig({displayName:"indexstyles__SingleCategoryView",componentId:"h4lte8-7"})(["margin-bottom:0;"]),af=(0,b.ZP)(am).withConfig({displayName:"indexstyles__TeamMessage",componentId:"h4lte8-8"})(["top:16px;width:100%;"]),aE=b.ZP.Text.withConfig({displayName:"indexstyles__Text",componentId:"h4lte8-9"})(["font-family:Sohne;font-size:16px;height:24px;line-height:24px;flex-basis:content;display:",";"],function(e){return e.isMobile?"flex":"table"}),ag=(0,b.ZP)(aE).withConfig({displayName:"indexstyles__TeamMessageText",componentId:"h4lte8-10"})(["font-size:14px;color:#494949;line-height:18px;flex-direction:column;"]),ax=(0,b.ZP)(ag).withConfig({displayName:"indexstyles__SingleCategoryText",componentId:"h4lte8-11"})(["color:#151515;"]),ay=(0,b.ZP)(ag).withConfig({displayName:"indexstyles__HolidayText",componentId:"h4lte8-12"})(["color:#a05942;"]),av=b.ZP.ActivityIndicator.withConfig({displayName:"indexstyles__Spinner",componentId:"h4lte8-13"})(["flex:5;"]),aA=b.ZP.View.withConfig({displayName:"indexstyles__Spacer",componentId:"h4lte8-14"})(["flex:4;"]),aC=b.ZP.View.withConfig({displayName:"indexstyles__SpinnerContainer",componentId:"h4lte8-15"})(["display:flex;align-items:center;flex:5;"]);function a_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function aT(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?a_(Object(n),!0).forEach(function(t){(0,c.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function aD(e){var t=e.getChatTokensFunc,n=e.preselectedCategory,r=rt().t,o=(0,i.useContext)(tE),s=o.chatStrings,u=o.gqlAPIEndpoint,l=o.locale,c=o.isMobile,d=o.showSpinner,p=o.startChat,m=o.setCategory,h=o.categoryList,f=o.teamAvailability,E=o.showChat,g=o.groupName,x=void 0===g?"customer":g,y=o.loadingCategories,v=o.user,A=v.firstName,C=v.lastName,_=v.category,T=o.isWeb,D=(0,i.useRef)(),k=!!_,S=!k||d,b=(0,i.useState)({}),w=(0,a.Z)(b,2),O=w[0],N=w[1],P=function(e){"Enter"===e.key&&k&&(null==O?void 0:O.chat_available)&&(ew(ed.CHAT_START),p(u,t))};(0,i.useEffect)(function(){var e,t;return!c&&(null===(e=window)||void 0===e?void 0:e.addEventListener)&&(null==D||null===(t=D.current)||void 0===t||t.addEventListener("keydown",P)),function(){var e,t;!c&&(null===(e=window)||void 0===e?void 0:e.removeEventListener)&&(null==D||null===(t=D.current)||void 0===t||t.removeEventListener("keydown",P))}},[]);var I=function(e){if(!e)return"";var t,n,i=(null==h?void 0:h.find(function(t){return e===t.category_id}))||{},r="".concat(null==i||null===(t=i.category_id)||void 0===t?void 0:t.toUpperCase(),"_DISPLAY_NAME");return(null==s||null===(n=s[x])||void 0===n?void 0:n[r])||i.display_name},F=function(e){var t,n,i=(null==h?void 0:h.find(function(t){return e===t.category_id}))||{},a=f?f[i.queue_id||""]:{};return aT(aT(aT({},a),(n=((null==a?void 0:a.id)||"").toUpperCase().replace(/-/g,"_"),{altContact:r("customer.ALTERNATE_CONTACT_".concat(n)),awayMessage:r("customer.AWAY_MESSAGE_".concat(n)),teamName:r("customer.TEAM_NAME_".concat(n)),labels:{weekdays:r("availabilityLabels.WEEKDAYS"),weekends:r("availabilityLabels.WEEKENDS"),closed:r("availabilityLabels.CLOSED")}})),(null==a||null===(t=a.hoo_data)||void 0===t?void 0:t.hours)?{is24Hrs:0===((null==Object?void 0:Object.entries(a.hoo_data.hours).filter(function(e){if(!(null==e?void 0:e.length)||!e[1])return!0;var t=e[1];return!("00:00:00.000000"===t.start&&"00:00:00.000000"===t.end)}))||[]).length}:{is24Hrs:!1})};function R(){var e,t=r("screens.TEAM_OFFLINE_MESSAGE",{team:null!==(e=null==O?void 0:O.teamName)&&void 0!==e?e:""}),n=(null==O?void 0:O.altContact)?" ".concat(r("screens.TEAM_OFFLINE_CTA")):"";return i.createElement(ah,null,i.createElement(ax,{isMobile:!T},"".concat(t).concat(n)))}function L(){var e;return(null==O?void 0:O.chat_available)||!_?null:i.createElement(af,null,i.createElement(ag,{isMobile:!T},(null==O?void 0:O.is24Hrs)||!(null==O?void 0:O.chat_available)&&"holiday"!==O.reason_code&&"outside_hoo"!==O.reason_code?(null==O?void 0:O.awayMessage)||"":(null==O?void 0:O.is24Hrs)?"":eF(O,l),i.createElement(ay,{isMobile:!T},(null==O||null===(e=O.holidays)||void 0===e?void 0:e.length)?eR(O,l):"")))}return(0,i.useEffect)(function(){N(F(_))},[_,y]),(0,i.useEffect)(function(){if(n&&!_&&E&&!y){m(n);var e=F(n);N(e),(null==e?void 0:e.chat_available)&&(ew(ed.CHAT_START),p(u,t,{category:n,groupName:x}))}},[E,n,f,y]),i.createElement(as,{ref:D},i.createElement(au,null,i.createElement(ao,null)),d||y?i.createElement(aC,null,i.createElement(av,{color:"#000",size:"large"}),i.createElement(aA,null)):i.createElement(function(){return i.createElement(i.Fragment,null,i.createElement(al,null,i.createElement(am,null,i.createElement(aE,{isMobile:!T},(null==h?void 0:h.length)>1?r("screens.CATEGORY_GREETING",{name:"".concat(A," ").concat(C)}):r("screens.SINGLE_CATEGORY_GREETING",{name:"".concat(A," ").concat(C)}))),(null==h?void 0:h.length)>1?i.createElement(ar,{title:"Category",value:_,isDisabled:d,isRequired:!0,errorsEnabled:!_,onValueChange:m,formatValue:I,options:h,pickerMessage:i.createElement(L,null)}):i.createElement(i.Fragment,null,i.createElement(R,null),i.createElement(L,null))),i.createElement(ac,null,i.createElement(ad,null,!(O.chat_available||!O.altContact||!_)&&i.createElement(t6,{defaultButton:!0,onPress:function(){eM(O.altContact)},disabled:S,accessibilityRole:"button",accessibilityState:{disabled:S},styles:{background:S?"#C4C4C4":"#151515",marginBottom:"8px"}},i.createElement(ap,null,null==O?void 0:O.altContact)),i.createElement(t6,{defaultButton:!0,onPress:function(){(null==O?void 0:O.chat_available)&&(ew(ed.CHAT_START),p(u,t))},disabled:S||!O.chat_available,accessibilityRole:"button",accessibilityState:{disabled:S||!O.chat_available},styles:{background:_&&!O.chat_available?"#FFFFFF":S?"#C4C4C4":"#151515",border:!O.chat_available&&"1px solid #CBCBCB"}},i.createElement(ap,{chatUnavailable:_&&!O.chat_available},_&&!O.chat_available?r("common.CHAT_TEAM_OFFLINE"):r("common.START_CHAT"))))))},null))}function ak(){return(ak=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var aS=function(e){return i.createElement("svg",ak({xmlns:"http://www.w3.org/2000/svg",width:12,height:13,fill:"none"},e),on||(on=i.createElement("path",{fill:"#fff",d:"M6.495.505a.7.7 0 0 0-.99 0L1.05 4.96a.7.7 0 0 0 .99.99L6 1.99l3.96 3.96a.7.7 0 1 0 .99-.99zM6.7 13V1H5.3v12z"})))},ab=b.ZP.View.withConfig({displayName:"indexstyles__InputFieldContainer",componentId:"xjhwyj-0"})(["flex:",";flex-direction:row;margin:16px;background:#ffffff;border-radius:16px;min-height:32px;max-height:84px;"],function(e){return e.flexSize}),aw=b.ZP.TextInput.withConfig({displayName:"indexstyles__StyledInputField",componentId:"xjhwyj-1"})(["flex:3;padding-top:0px;margin-top:6px;margin-bottom:6px;margin-left:16px;margin-right:32px;font-size:14px;line-height:20px;font-family:Sohne;min-height:20px;max-height:60px;background:#ffffff;"]);function aO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function aN(e){var t=e.flexSize,n=e.inputContainerRef,r=e.onChange,o=e.onChangeText,s=e.onPress,u=e.placeholder,l=e.value,d=e.name,p=(0,D.Z)(e,["flexSize","inputContainerRef","onChange","onChangeText","onPress","placeholder","value","name"]),m=(0,i.useState)(null),f=(0,a.Z)(m,2),E=f[0],g=f[1],x=(0,i.useState)(!1),y=(0,a.Z)(x,2),v=y[0],A=y[1],C=(0,i.useRef)();(0,i.useEffect)(function(){if(v){var e=C.current;null==e||e.focus(),A(!1)}},[v]),(0,i.useEffect)(function(){var e=C.current;g(null==e?void 0:e.clientHeight)},[]);var _=function(){var e,t=(null!==(e=null==C?void 0:C.current)&&void 0!==e?e:{}).style;t&&(null==t?void 0:t.height)&&(t.height="".concat(E,"px")),l&&s(),A(!0)};return i.createElement(ab,{flexSize:t,ref:n},i.createElement(aw,(0,S.Z)({ref:C,accessible:!0,accessibilityLabel:d||"riv-chat-input-field",style:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?aO(Object(n),!0).forEach(function(t){(0,c.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aO(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},h.Z.select({web:{outline:"none"}})),multiline:!0,onChangeText:o,onChange:function(e){var t;r&&r(e),(t=e.target)&&t.scrollHeight&&(t.style.height="inherit",t.style.height="".concat(t.scrollHeight,"px"))},placeholder:u,value:l,onSubmitEditing:_,blurOnSubmit:!0,maxLength:1e3},p)),i.createElement(t6,{onPress:_,styles:{flex:2,position:"absolute",right:"4px",top:"4px",height:"24px",width:"24px",borderRadius:"50px",background:"#151515"}},i.createElement(aS,null)))}var aP=b.ZP.View.withConfig({displayName:"indexstyles__ContainerView",componentId:"sc-16j5q0e-0"})(["max-height:116px;display:flex;justify-content:center;flex-flow:row nowrap;background:#f0f1f0;bottom:0px;left:0px;right:0px;"]);function aI(e){var t=e.chatInputRef,n=e.onSend,r=e.placeholder,o=(0,i.useState)(""),s=(0,a.Z)(o,2),u=s[0],l=s[1],c=(0,i.useState)(0),d=(0,a.Z)(c,2),p=d[0],m=d[1],h=(0,i.useRef)(!1),f=(0,i.useRef)();return(0,i.useEffect)(function(){(null==u?void 0:u.trim())&&!(null==h?void 0:h.current)&&(h.current=!0,f.current=setTimeout(function(){h.current=!1,m(p+500),tr()},500+p))},[u]),i.createElement(aP,null,i.createElement(aN,{flexSize:1,inputContainerRef:t,onChangeText:function(e){l(e)},placeholder:r,value:u,onPress:function(){clearInterval(null==f?void 0:f.current),m(0),h.current=!1,n(u),l("")}}))}var aF=function(e,t){for(var n in t)e[n]=t[n];return e};function aR(e,t,n){for(var i in t.numeric&&(t.asciinumeric=!0,t.alphanumeric=!0),t.ascii&&(t.asciinumeric=!0,t.alpha=!0),t.asciinumeric&&(t.alphanumeric=!0),t.alpha&&(t.alphanumeric=!0),t.alphanumeric&&(t.domain=!0),t.emoji&&(t.domain=!0),t){var r=(i in n||(n[i]=[]),n[i]);0>r.indexOf(e)&&r.push(e)}}function aL(e){void 0===e&&(e=null),this.j={},this.jr=[],this.jd=null,this.t=e}aL.groups={},aL.prototype={accepts:function(){return!!this.t},go:function(e){var t=this.j[e];if(t)return t;for(var n=0;n<this.jr.length;n++){var i=this.jr[n][0],r=this.jr[n][1];if(r&&i.test(e))return r}return this.jd},has:function(e,t){return void 0===t&&(t=!1),t?e in this.j:!!this.go(e)},ta:function(e,t,n,i){for(var r=0;r<e.length;r++)this.tt(e[r],t,n,i)},tr:function(e,t,n,i){var r;return i=i||aL.groups,t&&t.j?r=t:(r=new aL(t),n&&i&&aR(t,n,i)),this.jr.push([e,r]),r},ts:function(e,t,n,i){var r=this,a=e.length;if(!a)return r;for(var o=0;o<a-1;o++)r=r.tt(e[o]);return r.tt(e[a-1],t,n,i)},tt:function(e,t,n,i){if(i=i||aL.groups,t&&t.j)return this.j[e]=t,t;var r,a=this.go(e);return a?(aF((r=new aL).j,a.j),r.jr.push.apply(r.jr,a.jr),r.jd=a.jd,r.t=a.t):r=new aL,t&&(i&&(r.t&&"string"==typeof r.t?aR(t,aF(function(e,t){var n={};for(var i in t)t[i].indexOf(e)>=0&&(n[i]=!0);return n}(r.t,i),n),i):n&&aR(t,n,i)),r.t=t),this.j[e]=r,r}};var aB=function(e,t,n,i,r){return e.ta(t,n,i,r)},aM=function(e,t,n,i,r){return e.tr(t,n,i,r)},aV=function(e,t,n,i,r){return e.ts(t,n,i,r)},aU=function(e,t,n,i,r){return e.tt(t,n,i,r)},aG="WORD",aj="COLON",aZ="HYPHEN",aH="SLASH",az=Object.freeze({__proto__:null,WORD:aG,UWORD:"UWORD",LOCALHOST:"LOCALHOST",TLD:"TLD",UTLD:"UTLD",SCHEME:"SCHEME",SLASH_SCHEME:"SLASH_SCHEME",NUM:"NUM",WS:"WS",NL:"NL",OPENBRACE:"OPENBRACE",OPENBRACKET:"OPENBRACKET",OPENANGLEBRACKET:"OPENANGLEBRACKET",OPENPAREN:"OPENPAREN",CLOSEBRACE:"CLOSEBRACE",CLOSEBRACKET:"CLOSEBRACKET",CLOSEANGLEBRACKET:"CLOSEANGLEBRACKET",CLOSEPAREN:"CLOSEPAREN",AMPERSAND:"AMPERSAND",APOSTROPHE:"APOSTROPHE",ASTERISK:"ASTERISK",AT:"AT",BACKSLASH:"BACKSLASH",BACKTICK:"BACKTICK",CARET:"CARET",COLON:aj,COMMA:"COMMA",DOLLAR:"DOLLAR",DOT:"DOT",EQUALS:"EQUALS",EXCLAMATION:"EXCLAMATION",HYPHEN:aZ,PERCENT:"PERCENT",PIPE:"PIPE",PLUS:"PLUS",POUND:"POUND",QUERY:"QUERY",QUOTE:"QUOTE",SEMI:"SEMI",SLASH:aH,TILDE:"TILDE",UNDERSCORE:"UNDERSCORE",EMOJI:"EMOJI",SYM:"SYM"}),aW=/[a-z]/,aY=/(?:[A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08C7\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u
10EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\u9FFC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7BF\uA7C2-\uA7CA\uA7F5-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82C[\uDC00-\uDD1E\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDEC0-\uDEEB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDD\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])/,aK=/(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])/,aX=/\d/,aq=/\s/,aQ=null,aJ=null;function a$(e,t,n,i,r){for(var a,o=t.length,s=0;s<o-1;s++){var u=t[s];e.j[u]?a=e.j[u]:((a=new aL(i)).jr=r.slice(),e.j[u]=a),e=a}return(a=new aL(n)).jr=r.slice(),e.j[t[o-1]]=a,a}function a0(e){for(var t=[],n=[],i=0;i<e.length;){for(var r=0;"0123456789".indexOf(e[i+r])>=0;)r++;if(r>0){t.push(n.join(""));for(var a=parseInt(e.substring(i,i+r),10);a>0;a--)n.pop();i+=r}else n.push(e[i]),i++}return t}var a1={defaultProtocol:"http",events:null,format:a4,formatHref:a4,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function a2(e,t){void 0===t&&(t=null);var n=aF({},a1);e&&(n=aF(n,e instanceof a2?e.o:e));for(var i=n.ignoreTags,r=[],a=0;a<i.length;a++)r.push(i[a].toUpperCase());this.o=n,t&&(this.defaultRender=t),this.ignoreTags=r}function a4(e){return e}function a3(e,t){this.t="token",this.v=e,this.tk=t}function a5(e,t){var n=function(t){(0,I.Z)(r,a3);var n,i=(n=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=(0,R.Z)(r);return e=n?Reflect.construct(t,arguments,(0,R.Z)(this).constructor):t.apply(this,arguments),(0,F.Z)(this,e)});function r(t,n){var a;return(0,O.Z)(this,r),(a=i.call(this,t,n)).t=e,a}return r}();for(var i in t)n.prototype[i]=t[i];return n.t=e,n}a2.prototype={o:a1,ignoreTags:[],defaultRender:function(e){return e},check:function(e){return this.get("validate",e.toString(),e)},get:function(e,t,n){var i=null!=t,r=this.o[e];return r&&("object"===(0,P.Z)(r)?"function"==typeof(r=n.t in r?r[n.t]:a1[e])&&i&&(r=r(t,n)):"function"==typeof r&&i&&(r=r(t,n.t,n))),r},getObj:function(e,t,n){var i=this.o[e];return"function"==typeof i&&null!=t&&(i=i(t,n.t,n)),i},render:function(e){var t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}},a3.prototype={isLink:!1,toString:function(){return this.v},toHref:function(e){return this.toString()},toFormattedString:function(e){var t=this.toString(),n=e.get("truncate",t,this),i=e.get("format",t,this);return n&&i.length>n?i.substring(0,n)+"…":i},toFormattedHref:function(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex:function(){return this.tk[0].s},endIndex:function(){return this.tk[this.tk.length-1].e},toObject:function(e){return void 0===e&&(e=a1.defaultProtocol),{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject:function(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate:function(e){return e.get("validate",this.toString(),this)},render:function(e){var t=this.toHref(e.get("defaultProtocol")),n=e.get("formatHref",t,this),i=e.get("tagName",t,this),r=this.toFormattedString(e),a={}
1,o=e.get("className",t,this),s=e.get("target",t,this),u=e.get("rel",t,this),l=e.getObj("attributes",t,this),c=e.getObj("events",t,this);return a.href=n,o&&(a.class=o),s&&(a.target=s),u&&(a.rel=u),l&&aF(a,l),{tagName:i,attributes:a,content:r,eventListeners:c}}};var a8=a5("email",{isLink:!0,toHref:function(){return"mailto:"+this.toString()}}),a6=a5("text"),a7=a5("nl"),a9=a5("url",{isLink:!0,toHref:function(e){return void 0===e&&(e=a1.defaultProtocol),this.hasProtocol()?this.v:"".concat(e,"://").concat(this.v)},hasProtocol:function(){var e=this.tk;return e.length>=2&&"LOCALHOST"!==e[0].t&&e[1].t===aj}}),oe=function(e){return new aL(e)};function ot(e,t,n){var i=n[0].s,r=n[n.length-1].e;return new e(t.slice(i,r),n)}var on,oi,or,oa={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function oo(e){return oa.initialized||function(){oa.scanner=function(e){void 0===e&&(e=[]);var t={};aL.groups=t;var n=new aL;null==aQ&&(aQ=a0("aaa1rp3barth4b0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0faromeo7ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4vianca6w0s2x0a2z0ure5ba0by2idu3namex3narepublic11d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2ntley5rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re2s2c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y0eats7k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0cast4mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking0channel11l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dabur3d1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t0isalat7u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0at2delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d0network8tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntdoor4ier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0ardian6cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5gtv3iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0eles2s3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6logistics9properties14fh2g1h1i0a1ds2m1nder2le4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3ncaster5ia3d0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4de2k2psy3ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0cys3drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7serati6ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic3tual5v1w1x1y1z2na0b1goya4me2tura4vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rthwesternmutual14on4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9dnavy5lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3ssagens7y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0america6xi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cher3ks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0a1b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp2w2ell3ia1ksha5oes2p0ping5uji3w0time7i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ffany5ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0channel7ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5m\xf6gensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lkswagen7vo3te1ing3o2yage5u0elos6wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4finity6ihuan4n2xx2yz3yac
1hts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2")),null==aJ&&(aJ=a0("ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5تصالات6رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2")),aU(n,"'","APOSTROPHE"),aU(n,"{","OPENBRACE"),aU(n,"[","OPENBRACKET"),aU(n,"<","OPENANGLEBRACKET"),aU(n,"(","OPENPAREN"),aU(n,"}","CLOSEBRACE"),aU(n,"]","CLOSEBRACKET"),aU(n,">","CLOSEANGLEBRACKET"),aU(n,")","CLOSEPAREN"),aU(n,"&","AMPERSAND"),aU(n,"*","ASTERISK"),aU(n,"@","AT"),aU(n,"`","BACKTICK"),aU(n,"^","CARET"),aU(n,":",aj),aU(n,",","COMMA"),aU(n,"$","DOLLAR"),aU(n,".","DOT"),aU(n,"=","EQUALS"),aU(n,"!","EXCLAMATION"),aU(n,"-",aZ),aU(n,"%","PERCENT"),aU(n,"|","PIPE"),aU(n,"+","PLUS"),aU(n,"#","POUND"),aU(n,"?","QUERY"),aU(n,'"',"QUOTE"),aU(n,"/",aH),aU(n,";","SEMI"),aU(n,"~","TILDE"),aU(n,"_","UNDERSCORE"),aU(n,"\\","BACKSLASH");var i=aM(n,aX,"NUM",(0,c.Z)({},"numeric",!0));aM(i,aX,i);var r=aM(n,aW,aG,(0,c.Z)({},"ascii",!0));aM(r,aW,r);var a=aM(n,aY,"UWORD",(0,c.Z)({},"alpha",!0));aM(a,aW),aM(a,aY,a);var o=aM(n,aq,"WS",(0,c.Z)({},"whitespace",!0));aU(n,"\n","NL",(0,c.Z)({},"whitespace",!0)),aU(o,"\n"),aM(o,aq,o);var s=aM(n,aK,"EMOJI",(0,c.Z)({},"emoji",!0));aM(s,aK,s),aU(s,"️",s),aM(aU(s,"‍"),aK,s);for(var u=[[aW,r]],l=[[aW,null],[aY,a]],d=0;d<aQ.length;d++)a$(n,aQ[d],"TLD",aG,u);for(var p=0;p<aJ.length;p++)a$(n,aJ[p],"UTLD","UWORD",l);aR("TLD",{tld:!0,ascii:!0},t),aR("UTLD",{utld:!0,alpha:!0},t),a$(n,"file","SCHEME",aG,u),a$(n,"mailto","SCHEME",aG,u),a$(n,"http","SLASH_SCHEME",aG,u),a$(n,"https","SLASH_SCHEME",aG,u),a$(n,"ftp","SLASH_SCHEME",aG,u),a$(n,"ftps","SLASH_SCHEME",aG,u),aR("SCHEME",{scheme:!0,ascii:!0},t),aR("SLASH_SCHEME",{slashscheme:!0,ascii:!0},t),e=e.sort(function(e,t){return e[0]>t[0]?1:-1});for(var m=0;m<e.length;m++){var h=e[m][0],f=e[m][1],E=(0,c.Z)({},f?"scheme":"slashscheme",!0);h.indexOf("-")>=0?E.domain=!0:aW.test(h)?aX.test(h)?E.asciinumeric=!0:E.ascii=!0:E.numeric=!0,aV(n,h,h,E)}return aV(n,"localhost","LOCALHOST",{ascii:!0}),n.jd=new aL("SYM"),{start:n,tokens:aF({groups:t},az)}}(oa.customSchemes);for(var e,t,n,i,r,a,o,s,u,l,d,p,m,h,f,E,g,x,y,v,A,C,_,T,D,k,S,b,w,O,N,P,I,F,R,L,B,M,V=0;V<oa.tokenQueue.length;V++)oa.tokenQueue[V][1]({scanner:oa.scanner});oa.parser=(t=(e=oa.scanner.tokens.groups).domain.concat(["AMPERSAND","ASTERISK","AT","BACKSLASH","BACKTICK","CARET","DOLLAR","EQUALS",aZ,"NUM","PERCENT","PIPE","PLUS","POUND",aH,"SYM","TILDE","UNDERSCORE"]),n=["APOSTROPHE","CLOSEANGLEBRACKET","CLOSEBRACE","CLOSEBRACKET","CLOSEPAREN",aj,"COMMA","DOT","EXCLAMATION","OPENANGLEBRACKET","OPENBRACE","OPENBRACKET","OPENPAREN","QUERY","QUOTE","SEMI"],i=["AMPERSAND","APOSTROPHE","ASTERISK","BACKSLASH","BACKTICK","CARET","CLOSEBRACE","DOLLAR","EQUALS",aZ,"OPENBRACE","PERCENT","PIPE","PLUS","POUND","QUERY",aH,"SYM","TILDE","UNDERSCORE"],aB(a=aU(r=oe(),"TILDE"),i,a),aB(a,e.domain,a),o=oe(),s=oe(),u=oe(),aB(r,e.domain,o),aB(r,e.scheme,
1s),aB(r,e.slashscheme,u),aB(o,i,a),aB(o,e.domain,o),l=aU(o,"AT"),aU(a,"AT",l),aU(s,"AT",l),aU(u,"AT",l),aB(d=aU(a,"DOT"),i,a),aB(d,e.domain,a),p=oe(),aB(l,e.domain,p),aB(p,e.domain,p),aB(m=aU(p,"DOT"),e.domain,p),h=oe(a8),aB(m,e.tld,h),aB(m,e.utld,h),aU(l,"LOCALHOST",h),aB(f=aU(p,aZ),e.domain,p),aB(h,e.domain,p),aU(h,"DOT",m),aU(h,aZ,f),aB(aU(h,aj),e.numeric,a8),E=aU(o,aZ),g=aU(o,"DOT"),aB(E,e.domain,o),aB(g,i,a),aB(g,e.domain,o),x=oe(a9),aB(g,e.tld,x),aB(g,e.utld,x),aB(x,e.domain,o),aB(x,i,a),aU(x,"DOT",g),aU(x,aZ,E),aU(x,"AT",l),y=aU(x,aj),v=oe(a9),aB(y,e.numeric,v),A=oe(a9),C=oe(),aB(A,t,A),aB(A,n,C),aB(C,t,A),aB(C,n,C),aU(x,aH,A),aU(v,aH,A),_=aU(s,aj),T=aU(u,aj),D=aU(T,aH),k=aU(D,aH),aB(s,e.domain,o),aU(s,"DOT",g),aU(s,aZ,E),aB(u,e.domain,o),aU(u,"DOT",g),aU(u,aZ,E),aB(_,e.domain,A),aU(_,aH,A),aB(k,e.domain,A),aB(k,t,A),aU(k,aH,A),S=aU(A,"OPENBRACE"),b=aU(A,"OPENBRACKET"),w=aU(A,"OPENANGLEBRACKET"),O=aU(A,"OPENPAREN"),aU(C,"OPENBRACE",S),aU(C,"OPENBRACKET",b),aU(C,"OPENANGLEBRACKET",w),aU(C,"OPENPAREN",O),aU(S,"CLOSEBRACE",A),aU(b,"CLOSEBRACKET",A),aU(w,"CLOSEANGLEBRACKET",A),aU(O,"CLOSEPAREN",A),aU(S,"CLOSEBRACE",A),N=oe(a9),P=oe(a9),I=oe(a9),F=oe(a9),aB(S,t,N),aB(b,t,P),aB(w,t,I),aB(O,t,F),R=oe(),L=oe(),B=oe(),M=oe(),aB(S,n),aB(b,n),aB(w,n),aB(O,n),aB(N,t,N),aB(P,t,P),aB(I,t,I),aB(F,t,F),aB(N,n,N),aB(P,n,P),aB(I,n,I),aB(F,n,F),aB(R,t,R),aB(L,t,P),aB(B,t,I),aB(M,t,F),aB(R,n,R),aB(L,n,L),aB(B,n,B),aB(M,n,M),aU(P,"CLOSEBRACKET",A),aU(I,"CLOSEANGLEBRACKET",A),aU(F,"CLOSEPAREN",A),aU(N,"CLOSEBRACE",A),aU(L,"CLOSEBRACKET",A),aU(B,"CLOSEANGLEBRACKET",A),aU(M,"CLOSEPAREN",A),aU(R,"CLOSEPAREN",A),aU(r,"LOCALHOST",x),aU(r,"NL",a7),{start:r,tokens:az});for(var U=0;U<oa.pluginQueue.length;U++)oa.pluginQueue[U][1]({scanner:oa.scanner,parser:oa.parser});oa.initialized=!0}(),function(e,t,n){for(var i=n.length,r=0,a=[],o=[];r<i;){for(var s=e,u=null,l=null,c=0,d=null,p=-1;r<i&&!(u=s.go(n[r].t));)o.push(n[r++]);for(;r<i&&(l=u||s.go(n[r].t));)u=null,(s=l).accepts()?(p=0,d=s):p>=0&&p++,r++,c++;if(p<0)(r-=c)<i&&(o.push(n[r]),r++);else{o.length>0&&(a.push(ot(a6,t,o)),o=[]),r-=p,c-=p;var m=d.t,h=n.slice(r-c,r);a.push(ot(m,t,h))}}return o.length>0&&a.push(ot(a6,t,o)),a}(oa.parser.start,e,function(e,t){for(var n=function(e){for(var t=[],n=e.length,i=0;i<n;){var r=e.charCodeAt(i),a=void 0,o=r<55296||r>56319||i+1===n||(a=e.charCodeAt(i+1))<56320||a>57343?e[i]:e.slice(i,i+2);t.push(o),i+=o.length}return t}(t.replace(/[A-Z]/g,function(e){return e.toLowerCase()})),i=n.length,r=[],a=0,o=0;o<i;){for(var s=e,u=null,l=0,c=null,d=-1,p=-1;o<i&&(u=s.go(n[o]));)(s=u).accepts()?(d=0,p=0,c=s):d>=0&&(d+=n[o].length,p++),l+=n[o].length,a+=n[o].length,o++;a-=d,o-=p,l-=d,r.push({t:c.t,v:t.slice(a-l,a),s:a-l,e:a})}return r}(oa.scanner.start,e))}function os(e,t,n){if(void 0===t&&(t=null),void 0===n&&(n=null),t&&"object"===(0,P.Z)(t)){if(n)throw Error("linkifyjs: Invalid link type ".concat(t,"; must be a string"));n=t,t=null}for(var i=new a2(n),r=oo(e),a=[],o=0;o<r.length;o++){var s=r[o];!s.isLink||t&&s.t!==t||a.push(s.toFormattedObject(i))}return a}function ou(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function ol(e){var t=e.tagName,n=e.attributes,i=e.content;return"<".concat(t," ").concat(function(e){var t=[];for(var n in e){var i=e[n]+"";t.push("".concat(n,'="').concat(i.replace(/"/g,"&quot;"),'"'))}return t.join(" ")}(n),">").concat(ou(i),"</").concat(t,">")}function oc(e,t){void 0===t&&(t={}),t=new a2(t,ol);for(var n=oo(e),i=[],r=0;r<n.length;r++){var a=n[r];"nl"===a.t&&t.get("nl2br")?i.push("<br>\n"):a.isLink&&t.check(a)?i.push(t.render(a)):i.push(ou(a.toString()))}return i.join("")}function od(){return(od=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}String.prototype.linkify||Object.defineProperty(String.prototype,"linkify",{writable:!1,value:function(e){return oc(this,e)}});var op=function(e){return i.createElement("svg",od({xmlns:"http://www.w3.org/2000/svg",width:24,height:23,fill:"none"},e),oi||(oi=i.createElement("path",{fill:"#151515",d:"M23.953 10.609c-1.357-1.384-8.701-8.87-10.078-9.95A2.957 2.957 0 0 0 12.001 0c-.777 0-1.396.28-1.875.66C8.749 1.74 1.404 9.225.047 10.609c-.11.126-.01.324.156.324l3.198.002c.333 0 .432-.057.642-.28l1.254-1.33c1.327-1.414 4.566-4.537 5.749-5.522.445-.37.947-.358.955-.358.007 0 .51-.012.954.358 1.184.986 4.422 4.109 5.75 5.522l1.253 1.33c.21.223.309.28.643.28l3.197-.002c.167.001.266-.198.155-.324M.047 12.39c1.357 1.385 8.701 8.87 10.077 9.95.48.38 1.1.66 1.875.66.777 0 1.396-.28 1.875-.66 1.376-1.08 8.72-8.565 10.078-9.95.11-.125.01-.323-.157-.323l-3.197-.002c-.334 0-.433.057-.642.28l-1.254 1.33c-1.328 1.414-4.566 4.537-5.75 5.522-.444.37-.947.358-.954.358-.007 0-.51.012-.955-.358-1.183-.986-4.421-4.11-5.749-5.522l-1.254-1.33c-.21-.223-.308-.28-.642-.28l-3.197.002c-.165 0-.265.198-.154.324"})),or||(or=i.createElement("path",{fill:"#151515",d:"M11.113 13.975c-.606-.546-1.672-1.569-2.07-2.027-.18-.202-.169-.456-.169-.456s-.011-.253.17-.455c.397-.459 1.463-1.48 2.069-2.027.248-.229.307-.372.307-.653V5.25c0-.125-.148-.202-.262-.098C9.808 6.387 6.8 9.332 5.79 10.474c-.482.505-.437 1.02-.437 1.02s-.044.513.437 1.02c1.01 1.14 4.018 4.086 5.367 5.322.12.103.262.039.262-.109V14.63c0-.283-.06-.427-.307-.654M12.888 13.977c.606-.546 1.672-1.568 2.07-2.027.18-.202.168-.455.168-.455s.012-.253-.169-.456c-.397-.458-1.463-1.48-2.069-2.027-.248-.228-.307-.372-.307-.652V5.26c0-.147.142-.212.262-.108 1.35 1.235 4.358 4.18 5.367 5.322.481.505.437 1.02.437 1.02s.044.513-.437 1.02c-1.01 1.14-4.018 4.086-5.367 5.322-.12.104-.262.039-.262-.108v-3.1c.001-.28.06-.423.307-.652"})))},om=b.ZP.SafeAreaView.withConfig({displayName:"indexstyles__ContainerView",componentId:"sc-1aqz6fi-0"})(["width:100%;margin-vertical:4px;"]),oh=b.ZP.View.withConfig({displayName:"indexstyles__TextView",componentId:"sc-1aqz6fi-1"})(["background:",";border-top-left-radius:8px;border-top-right-radius:8px;border-bottom-left-radius:","px;border-bottom-right-radius:","px;justify-content:flex-start;",""],function(e){return e.isAgent?"#f0f1f0":"#151515"},function(e){return e.isAgent?0:8},function(e){return e.isAgent?8:0},function(e){return e.isAgent?(0,b.iv)(["margin-right:72px;margin-left:16px;"]):(0,b.iv)(["margin-right:16px;margin-left:72px;"])}),of=b.ZP.Text.withConfig({displayName:"indexstyles__TextLabel",componentId:"sc-1aqz6fi-2"})(["margin:16px;font-family:Sohne;font-size:14px;line-height:20px;color:",";"],function(e){return e.isAgent?"#151515":"#ffffff"}),oE=b.ZP.View.withConfig({displayName:"indexstyles__AgentView",componentId:"sc-1aqz6fi-3"})(["flex-direction:row;margin-top:8px;margin-left:16px;"]),og=b.ZP.View.withConfig({displayName:"indexstyles__AgentAvatar",componentId:"sc-1aqz6fi-4"})(["width:40px;height:40px;border-radius:20px;background:#f0f1f0;justify-content:center;align-items:center;"]),ox=b.ZP.Text.withConfig({displayName:"indexstyles__AgentNameLabel",componentId:"sc-1aqz6fi-5"})(["margin-left:8px;font-family:Sohne;font-size:12px;line-height:16px;color:#c4c4c4;"]);function oy(e){var t=e.cecTitle,n=e.chat,r=e.index,a=e.isMobile,o=(null==n?void 0:n.ParticipantRole)!==es,s=oc(null==n?void 0:n.Content).split(eH),u=os(null==n?void 0:n.Content);return i.createElement(om,{key:null==n?void 0:n.Id},i.createElement(oh,{isAgent:o},i.createElement(of,{isAgent:o},s.map(function(e,t){if(e.match(eH))return null;var n=u.find(function(t){return t.value===e});return n?i.createElement(rc,{key:"".concat(n.value,"_").concat(t),color:o?"#151515":"#ffffff",hoverColor:o?"#0e5d8f":"#4896C8",href:n.href,isMobile:a,label:n.value}):i.createElement(v.Z,{key:"".concat(e,"_").concat(t)},e)}))),o&&0===r&&i.createElement(oE,null,i.createElement(og,null,i.createElement(op,null)),i.createElement(ox,null,t)))}var ov=b.ZP.SafeAreaView.withConfig({displayName:"indexstyles__ContainerView",componentId:"sc-1yeq5qx-0"})(["flex:1;margin-top:0px;"]),oA=b.ZP.Text.withConfig({displayName:"indexstyles__StartTime",componentId:"sc-1yeq5qx-1"}
1)(["height:16px;margin-vertical:8px;font-family:Sohne;font-size:12px;line-height:16px;text-align:center;color:#808080;"]),oC=b.ZP.Text.withConfig({displayName:"indexstyles__StyledText",componentId:"sc-1yeq5qx-2"})(["position:absolute;bottom:12px;font-family:Sohne;font-size:12px;line-height:16px;color:#808080;align-self:center;"]),o_=b.ZP.Text.withConfig({displayName:"indexstyles__TypingStatus",componentId:"sc-1yeq5qx-3"})(["margin-left:16px;margin-top:12px;padding-bottom:8px;font-family:Sohne;font-size:14px;line-height:20px;color:#808080;"]);function oT(e){var t=e.agentName,n=e.cecTitle,r=e.chatSessionFlatListRef,a=e.chatStartTime,o=e.chatSessionOpen,s=e.isAgentTyping,u=e.messages,l=rt().t,c=(0,i.useContext)(tE).isMobile,d=u.length;return i.createElement(ov,null,d?i.createElement(A.Z,{ref:r,data:u,renderItem:function(e){var r=e.item,a=e.index;return(null==r?void 0:r.Type)===el?i.createElement(ru,{agentName:t,chat:r,chatEnded:!o&&a===d-1}):i.createElement(oy,{cecTitle:n,chat:r,index:a,isMobile:c})},keyExtractor:function(e,t){return t.toString()},onContentSizeChange:function(){var e=r.current;setTimeout(function(){null==e||e.scrollToEnd({animated:!0})},50)},ListHeaderComponent:function(){return a&&i.createElement(oA,null,l("features.CHAT_STARTED",{time:q({time:a})}))},ListFooterComponent:function(){return i.createElement(o_,null,s?l("features.AGENT_IS_TYPING",{agent:t}):"")}}):i.createElement(oC,null,l("features.CHAT_IS_STARTING")))}var oD=b.ZP.KeyboardAvoidingView.withConfig({displayName:"indexstyles__ContainerView",componentId:"s84mgf-0"})(["flex:1;display:flex;"]),ok=b.ZP.View.withConfig({displayName:"indexstyles__ButtonContainer",componentId:"s84mgf-1"})(["height:80px;background:#f0f1f0;"]),oS=b.ZP.Text.withConfig({displayName:"indexstyles__ButtonText",componentId:"s84mgf-2"})(["position:absolute;height:24px;font-family:Sohne;font-size:16px;line-height:24px;font-weight:500;text-align:center;color:#ffffff;"]),ob=b.ZP.ActivityIndicator.withConfig({displayName:"indexstyles__Spinner",componentId:"s84mgf-3"})([""]);function ow(e){var t,n=e.getChatTokensFunc,r=e.setHeightWithKeyboard,a=e.setIsKeyboardVisible,o=(0,i.useContext)(tE),s=o.agentName,u=o.chatEndTime,l=o.chatSessionOpen,c=o.chatStartTime,d=o.chatStrings,p=o.gqlAPIEndpoint,m=o.isAgentTyping,h=o.isMobile,f=o.messages,E=o.sendChat,g=o.showSpinner,x=o.startChat,y=o.cecTitle,v=rt().t,A=tf(p,null,!0),C=(0,i.useRef)(),_=(0,i.useRef)(),T=!(h||H()),D=eD({chatInputRef:_,chatSessionFlatListRef:C,height:e_(100),isDesktop:T}),k=D.viewHeight,S=D.isKeyboardVisible;(0,i.useEffect)(function(){a(S),r(k)},[k]);var b=null!==(t=null==A?void 0:A.isChatAvailable)&&void 0!==t&&t;return i.createElement(oD,{behavior:h?"padding":null,keyboardVerticalOffset:h?84:e_(100)},i.createElement(oT,{agentName:s,cecTitle:(null==d?void 0:d.agentTitles)&&(null==d?void 0:d.agentTitles[(null==y?void 0:y.toUpperCase())||""])||v("common.CUSTOMER_SERVICE_SPECIALIST")||v("common.CEC_TITLE"),chatEndTime:u,chatSessionFlatListRef:C,chatSessionOpen:l,chatStartTime:c,isAgentTyping:m,messages:f}),u?i.createElement(oO,{buttonText:v(b?"common.START_CHAT":"screens.CHAT_UNAVAILABLE"),isChatAvailable:b,onPress:function(){ew(ed.RESTART_CHAT),x(p,n)},showSpinner:(null==A?void 0:A.loading)||g}):i.createElement(aI,{chatInputRef:_,onSend:E,placeholder:v("features.INPUT_PLACEHOLDER")}))}function oO(e){var t=e.buttonText,n=e.isChatAvailable,r=e.onPress,a=e.showSpinner;return i.createElement(ok,null,i.createElement(t6,{defaultButton:!0,onPress:r,disabled:a||!n,styles:{alignSelf:"center",top:"16px",bottom:"24px",background:a||!n?"#c4c4c4":"#151515"}},a?i.createElement(ob,{color:"#ffffff"}):i.createElement(oS,null,t)))}var oN=b.ZP.View.withConfig({displayName:"indexstyles__ContainerView",componentId:"sc-18wpc99-0"})(["flex:1;align-items:center;justify-content:center;padding-bottom:40px;"]),oP=b.ZP.Text.withConfig({displayName:"indexstyles__QueuePositionLabel",componentId:"sc-18wpc99-1"})(["font-family:Sohne;font-size:64px;line-height:78px;font-weight:500;text-align:center;color:#151515;"]),oI=b.ZP.Text.withConfig({displayName:"indexstyles__MessageText",componentId:"sc-18wpc99-2"}
1)(["width:200px;font-family:Sohne;font-size:16px;font-weight:500;line-height:24px;text-align:center;color:#151515;margin:24px 0;"]),oF=b.ZP.Text.withConfig({displayName:"indexstyles__WaitTimeText",componentId:"sc-18wpc99-3"})(["font-family:Sohne;font-size:16px;line-height:24px;text-align:center;color:#151515;"]),oR=b.ZP.Text.withConfig({displayName:"indexstyles__ButtonText",componentId:"sc-18wpc99-4"})(["position:absolute;font-family:Sohne;font-size:16px;font-weight:500;line-height:24px;text-align:right;color:#151515;"]);function oL(e){var t=e.onCancelPress,n=e.waiting,r=rt().t,a=(0,i.useContext)(tE),o=a.averageWaitTime,s=a.isMobile,u=a.positionInQueue,l=a.queueId,c=a.sendChat,d=a.user.firstName;return(0,i.useEffect)(function(){l&&c(et)},[l]),i.createElement(oN,null,i.createElement(oP,null,"".concat(u)),i.createElement(oI,null,r("screens.QUEUE_MESSAGE",{name:d,position:u})),i.createElement(oF,null,r("screens.WAIT_TIME_MESSAGE",{wait:function(e){if(e<60)return r("screens.UNDER_MINUTE");var t=Math.floor(e/60);return t<60?"".concat(t," - ").concat(t+1," ").concat(r("screens.MINUTES")):"".concat(Math.floor(t/60)," ").concat(r("screens.HOURS"))}(o)})),i.createElement(rx,{isMobile:s,waiting:n}),i.createElement(t6,{defaultButton:!0,styles:{position:"absolute",bottom:"24px",border:"1px solid #d8d8d8"},onPress:function(){ew(ed.CANCEL_CHAT),t()}},i.createElement(oR,null,r("common.CANCEL_CHAT"))))}var oB=b.ZP.View.withConfig({displayName:"indexstyles__Container",componentId:"sc-4g6pxf-0"})(["width:262px;"]),oM=b.ZP.View.withConfig({displayName:"indexstyles__TextContainer",componentId:"sc-4g6pxf-1"})(["height:56px;margin-bottom:8px;background:#ffffff;border:1px solid ",";border-radius:4px;"],function(e){return e.hasError?"#DC3127":e.isActive?"#151515":"#D8D8D8"}),oV=b.ZP.Text.withConfig({displayName:"indexstyles__ErrorMessage",componentId:"sc-4g6pxf-2"})(["font-size:12px;font-family:Sohne;line-height:16px;color:#dc3127;height:16px;margin-bottom:8px;"]),oU=(0,b.ZP)(x.default.Text).withConfig({displayName:"indexstyles__Label",componentId:"sc-4g6pxf-3"})(["font-family:Sohne;position:absolute;left:16px;right:16px;"," ",""],function(e){return e.isActive||e.hasValue?(0,b.iv)(["height:16px;top:8px;font-size:12px;line-height:16px;color:#505050;"]):(0,b.iv)(["height:24px;top:16px;font-size:16px;line-height:24px;color:#5e5e5e;"])},function(e){return e.hasError&&(0,b.iv)(["color:#dc3127;"])}),oG=b.ZP.TextInput.withConfig({displayName:"indexstyles__InputField",componentId:"sc-4g6pxf-4"})(["position:absolute;height:24px;top:21px;left:16px;width:88%;font-family:Sohne;font-size:16px;line-height:24px;color:#151515;",""],function(e){return e.hasError&&(0,b.iv)(["color:#dc3127;"])});function oj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function oZ(e){var t=e.title,n=e.value,r=e.type,o=e.error,s=e.isRequired,u=e.errorsEnabled,l=e.onChangeText,d=e.maxLength,p=e.autoCapitalize,m=rt().t,f=(0,i.useState)(!1),E=(0,a.Z)(f,2),g=E[0],x=E[1],y=(0,i.useState)(u&&o&&o.length>0),v=(0,a.Z)(y,2),A=v[0],C=v[1],_=(0,i.useState)(o),T=(0,a.Z)(_,2),D=T[0],k=T[1],b=A&&u;return i.createElement(oB,null,i.createElement(oM,{hasError:b,isActive:g},i.createElement(oU,{isActive:g,hasValue:null!=n&&n,hasError:b},t),i.createElement(oG,(0,S.Z)({accessible:!0,accessibilityLabel:t,style:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oj(Object(n),!0).forEach(function(t){(0,c.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oj(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},h.Z.select({web:{outline:"none"}})),autoCapitalize:p,value:n,isActive:g,maxLength:void 0===d?50:d,onFocus:function(){x(!0)},onBlur:function(){var e;x(!1),s&&!n&&u?(k("".concat((e=null==t?void 0:t.toLowerCase())?e.charAt(0).toUpperCase()+e.slice(1):""," ").concat(m("components.REQUIRED_FIELD"))),C(!0)):r===ep&&!Z(n)&&u?(k(m("components.VALID_EMAIL_MESSAGE")),C(!0)):C(!1)},onChangeText:function(e){(r===ep&&Z(n)||r!==ep)&&l&&l(e)},onTextInput:function(){return C(!1)},textContentType:r,autoCorrect:!1,underlineColorAndroid:"transparent",hasError:b},e))),b&&i.createElement(oV,null,D))}oZ.defaultProps={errorsEnabled:!0};var oH=b.ZP.View.withConfig({displayName:"indexstyles__ContainerView",componentId:"sc-1a0e58a-0"})(["flex:1;align-items:center;display:flex;align-items:center;justify-content:center;background:",";"],rM.WHITE),oz=b.ZP.View.withConfig({displayName:"indexstyles__LogoView",componentId:"sc-1a0e58a-1"}
1)(["width:200px;height:39.91px;flex:1;display:flex;align-items:center;justify-content:center;"]),oW=b.ZP.View.withConfig({displayName:"indexstyles__InputView",componentId:"sc-1a0e58a-2"})(["justify-content:flex-start;align-items:flex-start;flex:4;"]),oY=b.ZP.View.withConfig({displayName:"indexstyles__ButtonView",componentId:"sc-1a0e58a-3"})(["flex:1;display:flex;align-items:center;justify-content:flex-end;"]),oK=b.ZP.Text.withConfig({displayName:"indexstyles__ButtonText",componentId:"sc-1a0e58a-4"})(["font-family:Sohne;font-size:16px;height:24px;line-height:24px;font-weight:500;text-align:right;color:#ffffff;"]),oX=b.ZP.Text.withConfig({displayName:"indexstyles__TermsText",componentId:"sc-1a0e58a-5"})(["width:250px;height:28px;font-family:Sohne;font-size:10px;line-height:14px;color:#808080;"]),oq=b.ZP.Text.withConfig({displayName:"indexstyles__PrivacyLink",componentId:"sc-1a0e58a-6"})(["text-decoration-line:underline;"]),oQ=b.ZP.ActivityIndicator.withConfig({displayName:"indexstyles__Spinner",componentId:"sc-1a0e58a-7"})([""]);function oJ(){var e=rt().t,t=(0,i.useContext)(tE),n=t.isMobile,r=t.setEmail,a=t.setFirstName,o=t.setLastName,s=t.showSpinner,u=t.setShowCategoryPage,l=t.user,c=l.firstName,d=void 0===c?"":c,p=l.lastName,m=void 0===p?"":p,h=l.email,f=void 0===h?"":h,E=e("screens.TERMS_TEXT"),g=(0,i.useRef)(),x=!!(d&&m&&Z(f)),v=!x||s,A=function(e){"Enter"===e.key&&x&&u(!0)};return(0,i.useEffect)(function(){var e,t;return!n&&(null===(e=window)||void 0===e?void 0:e.addEventListener)&&(null==g||null===(t=g.current)||void 0===t||t.addEventListener("keydown",A)),function(){var e,t;!n&&(null===(e=window)||void 0===e?void 0:e.removeEventListener)&&(null==g||null===(t=g.current)||void 0===t||t.removeEventListener("keydown",A))}},[d,m,f]),i.createElement(oH,{ref:g},i.createElement(oz,null,i.createElement(ao,null)),i.createElement(oW,null,i.createElement(oZ,{title:e("screens.FIRST_NAME"),value:d,type:"name",isRequired:!0,errorsEnabled:!d,onChangeText:a}),i.createElement(oZ,{title:e("screens.LAST_NAME"),value:m,type:"familyName",isRequired:!0,errorsEnabled:(null==d?void 0:d.length)>0&&!m,onChangeText:o}),i.createElement(oZ,{title:e("screens.EMAIL"),value:f,type:ep,isRequired:!0,errorsEnabled:(null==d?void 0:d.length)>0&&(null==m?void 0:m.length)>0&&!Z(f),onChangeText:r,autoCapitalize:"none"}),i.createElement(oX,null,E&&E.split(eW).map(function(t){return t.match(eW)?i.createElement(oq,{key:t,onPress:function(){n?y.Z.openURL(e("screens.URL_PRIVACY_POLICY")):(window.open(e("screens.URL_PRIVACY_POLICY"),"_blank"),ew(ed.PRIVACY_POLICY_LINK))}},e("screens.PRIVACY_POLICY")):t}))),i.createElement(oY,null,i.createElement(t6,{defaultButton:!0,onPress:function(){ew(ed.NEXT_BUTTON),u(!0)},disabled:v,accessibilityRole:"button",accessibilityState:{disabled:v},styles:{background:v?"#C4C4C4":"#151515",marginBottom:"16px"}},s?i.createElement(oQ,{color:"#ffffff"}):i.createElement(oK,null,e("common.NEXT")))))}var o$=(0,b.ZP)(C.Z).withConfig({displayName:"BackButton__StyledPressable",componentId:"sc-1f3u0wy-0"})(["padding-top:36px;padding-left:18px;padding-right:24px;padding-bottom:18px;flex-direction:row;align-items:center;"]);function o0(e){var t=e.onPress,n=e.strokeColor,r=e.children,a=(0,D.Z)(e,["onPress","strokeColor","children"]),o=(0,b.Fg)(),s=(void 0===n?"":n)||o.FOREGROUND;return i.createElement(o$,(0,S.Z)({onPress:t},a,{hitSlop:15}),i.createElement("svg",{width:"9",height:"14",viewBox:"0 0 9 14",fill:s,xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M7.22393 13.7824L0.737219 7.54404C0.5818 7.3909 0.5 7.20553 0.5 7.00403C0.5 6.79447 0.58998 6.59298 0.745399 6.46402L7.22393 0.217617C7.36299 0.0805987 7.54294 0 7.75562 0C8.18098 0 8.5 0.322395 8.5 0.741508C8.5 0.934945 8.4182 1.12838 8.28732 1.2654L2.33231 7.00403L8.28732 12.7427C8.4182 12.8797 8.5 13.0651 8.5 13.2666C8.5 13.6857 8.18098 14 7.75562 14C7.54294 14 7.36299 13.9194 7.22393 13.7824Z",fill:s})),r)}function o1(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}var o2=U.Z;function o4(e){var t=e.height,n=e.width,r=e.style,a=(0,b.Fg)(),o=(0,i.useRef)(new x.default.Value(-n)).current,s=function e(){x.default.timing(o,{toValue:n,duration:1700,useNativeDriver:!0}).start(function(){o.setValue(-n),e()})};return(0,i.useEffect)(function(){s()},[o]),i.createElement(g.Z,{style:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?o1(Object(n),!0).forEach(function(t){(0,c.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o1(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({background:"".concat(a.GREY1),overflow:"hidden",height:t,width:n},r)},i.createElement(x.default.View,{style:{background:"".concat(a.GREY1),width:"100%",height:"100%",transform:[{translateX:o}]}},i.createElement(o2,{style:{width:"100%",height:"100%"},colors:[a.GREY1,a.GREY3,a.GREY1],start:{x:1,y:1}})))}var o3={v:"5.5.7",meta:{g:"LottieFiles AE 0.1.21",a:"",k:"",d:"",tc:""},fr:60,ip:0,op:241,w:547,h:532,nm:"Logo_Loader_a10",ddd:0,assets:[],layers:[{ddd:0,ind:1,ty:4,nm:"Vector 27",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[353.921,265.88,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.344,-1.524],[4.49,-4.11],[.009,-2.117],[0,-4.642],[-.893,.78],[-7.487,8.584],[0,0],[3.571,3.8],[10.015,9.293],[0,-1.107],[0,-6.52],[-1.839,-1.719],[-2.943,-3.446],[0,0]],o:[[-2.943,3.446],[-1.839,1.719],[0,6.52],[0,1.107],[10.006,-9.293],[3.571,-3.809],[0,0],[-7.478,-8.584],[-.893,-.78],[0,4.642],[0,2.108],[4.49,4.11],[1.344,1.524],[0,0]],v:[[-4.874,3.428],[-20.219,18.674],[-22.499,23.582],[-22.499,46.889],[-20.555,47.704],[19.248,7.672],[22.492,0],[19.248,-7.672],[-20.555,-47.704],[-22.499,-46.889],[-22.499,-23.582],[-20.219,-18.674],[-4.874,-3.428],[-3.619,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[.082352941176,.082352941176,.082352941176,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:5,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:19,ix:2},o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[130]},{t:240,s:[490]}],ix:3},m:1,ix:4,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:2,ty:4,nm:"Vector 26",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[193.096,265.873,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.344,-1.524],[-4.49,-4.11],[0,-2.126],[0,-4.642],[.893,.78],[7.487,8.584],[0,0],[-3.58,3.8],[-10.015,9.293],[0,-.939],[0,-6.52],[1.839,-1.719],[2.943,-3.446],[0,0]],o:[[2.943,3.446],[1.839,1.71],[0,6.52],[0,1.107],[-10.006,-9.293],[-3.571,-3.809],[0,0],[7.478,-8.584],[.849,-.788],[0,4.633],[0,2.108],[-4.49,4.11],[-1.344,1.524],[0,0]],v:[[4.875,3.413],[20.219,18.659],[22.5,23.575],[22.5,46.882],[20.555,47.697],[-19.247,7.665],[-22.491,-.006],[-19.247,-7.678],[20.555,-47.71],[22.5,-46.975],[22.5,-23.597],[20.219,-18.689],[4.875,-3.443],[3.619,-.015]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[.082352941176,.082352941176,.082352941176,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:5,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:19,ix:2},o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[130]},{t:240,s:[490]}],ix:3},m:1,ix:3,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:3,ty:4,nm:"Vector 25",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[273.481,402.122,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}}
1,ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[3.562,2.861],[10.068,10.409],[-1.22,0],[-7.018,0],[-1.556,-1.674],[0,0],[-8.777,-7.415],[-.053,0],[-3.297,2.782],[-9.847,10.639],[-1.556,1.674],[-2.475,0],[-5.029,0],[.822,-.948],[10.209,-8.123],[5.763,0]],o:[[-10.209,-8.123],[-.822,-.948],[5.029,0],[2.475,0],[1.556,1.674],[9.847,10.63],[3.297,2.782],[.053,0],[8.777,-7.406],[0,0],[1.556,-1.674],[7.027,0],[1.237,0],[-10.068,10.409],[-3.553,2.861],[-5.754,0]],v:[[-13.904,36.165],[-88.647,-38.672],[-87.507,-41.108],[-63.791,-41.126],[-59.027,-39.018],[-49.728,-29.016],[-7.089,12.522],[-.009,15.215],[7.071,12.522],[49.711,-29.016],[59.01,-39.018],[63.774,-41.126],[87.489,-41.108],[88.647,-38.672],[13.904,36.165],[0,41.126]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[.082352941176,.082352941176,.082352941176,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:5,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:19,ix:2},o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[130]},{t:240,s:[490]}],ix:3},m:1,ix:3,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:4,ty:4,nm:"Vector 24",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[273.503,129.879,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.562,-2.861],[-10.068,-10.409],[1.237,.009],[7.018,0],[1.556,1.674],[0,0],[8.777,7.415],[.053,0],[3.297,-2.782],[9.847,-10.639],[1.556,-1.674],[2.475,0],[5.029,0],[-.822,.948],[-10.209,8.123],[-5.763,0]],o:[[10.209,8.123],[.822,.948],[-5.029,0],[-2.475,0],[-1.556,-1.674],[-9.847,-10.63],[-3.297,-2.782],[-.053,0],[-8.777,7.406],[0,0],[-1.556,1.674],[-7.027,0],[-1.237,0],[10.068,-10.409],[3.553,-2.861],[5.754,0]],v:[[13.907,-36.165],[88.651,38.672],[87.501,41.108],[63.786,41.126],[59.022,39.018],[49.723,29.016],[7.084,-12.522],[.004,-15.215],[-7.077,-12.522],[-49.716,29.016],[-59.015,39.018],[-63.779,41.126],[-87.494,41.108],[-88.652,38.672],[-13.9,-36.165],[.004,-41.126]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.082352941176,.082352941176,.082352941176,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:1.7,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:19,ix:2},o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[130]},{t:240,s:[490]}],ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:5,ty:4,nm:"Vector 23",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[353.921,265.88,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.344,-1.524],[4.49,-4.11],[.009,-2.117],[0,-4.642],[-.893,.78],[-7.487,8.584],[0,0],[3.571,3.8],[10.015,9.293],[0,-1.107],[0,-6.52],[-1.839,-1.719],[-2.943,-3.446],[0,0]],o:[[-2.943,3.446],[-1.839,1.719],[0,6.52],[0,1.107],[10.006,-9.293],[3.571,-3.809],[0,0],[-7.478,-8.584],[-.893,-.78],[0,4.642],[0,2.108],[4.49,4.11],[1.344,1.524],[0,0]],v:[[-4.874,3.428],[-20.219,18.674],[-22.499,23.582],[-22.499,46.889],[-20.555,47.704],[19.248,7.672],[22.492,0],[19.248,-7.672],[-20.555,-47.704],[-22.499,-46.889],[-22.499,-23.582],[-20.219,-18.674],[-4.874,-3.428],[-3.619,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[.082352941176,.082352941176,.082352941176,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:5,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:19,ix:2},o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{t:240,s:[360]}],ix:3},m:1,ix:4,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:6,ty:4,nm:"Vector 22",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[193.096,265.873,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}}
1,ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.344,-1.524],[-4.49,-4.11],[0,-2.126],[0,-4.642],[.893,.78],[7.487,8.584],[0,0],[-3.58,3.8],[-10.015,9.293],[0,-.939],[0,-6.52],[1.839,-1.719],[2.943,-3.446],[0,0]],o:[[2.943,3.446],[1.839,1.71],[0,6.52],[0,1.107],[-10.006,-9.293],[-3.571,-3.809],[0,0],[7.478,-8.584],[.849,-.788],[0,4.633],[0,2.108],[-4.49,4.11],[-1.344,1.524],[0,0]],v:[[4.875,3.413],[20.219,18.659],[22.5,23.575],[22.5,46.882],[20.555,47.697],[-19.247,7.665],[-22.491,-.006],[-19.247,-7.678],[20.555,-47.71],[22.5,-46.975],[22.5,-23.597],[20.219,-18.689],[4.875,-3.443],[3.619,-.015]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[.082352941176,.082352941176,.082352941176,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:5,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:19,ix:2},o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{t:240,s:[360]}],ix:3},m:1,ix:3,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:7,ty:4,nm:"Vector 21",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[273.481,402.122,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[3.562,2.861],[10.068,10.409],[-1.22,0],[-7.018,0],[-1.556,-1.674],[0,0],[-8.777,-7.415],[-.053,0],[-3.297,2.782],[-9.847,10.639],[-1.556,1.674],[-2.475,0],[-5.029,0],[.822,-.948],[10.209,-8.123],[5.763,0]],o:[[-10.209,-8.123],[-.822,-.948],[5.029,0],[2.475,0],[1.556,1.674],[9.847,10.63],[3.297,2.782],[.053,0],[8.777,-7.406],[0,0],[1.556,-1.674],[7.027,0],[1.237,0],[-10.068,10.409],[-3.553,2.861],[-5.754,0]],v:[[-13.904,36.165],[-88.647,-38.672],[-87.507,-41.108],[-63.791,-41.126],[-59.027,-39.018],[-49.728,-29.016],[-7.089,12.522],[-.009,15.215],[7.071,12.522],[49.711,-29.016],[59.01,-39.018],[63.774,-41.126],[87.489,-41.108],[88.647,-38.672],[13.904,36.165],[0,41.126]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[.082352941176,.082352941176,.082352941176,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:5,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:19,ix:2},o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{t:240,s:[360]}],ix:3},m:1,ix:3,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:8,ty:4,nm:"Vector 20",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[273.503,129.879,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.562,-2.861],[-10.068,-10.409],[1.237,.009],[7.018,0],[1.556,1.674],[0,0],[8.777,7.415],[.053,0],[3.297,-2.782],[9.847,-10.639],[1.556,-1.674],[2.475,0],[5.029,0],[-.822,.948],[-10.209,8.123],[-5.763,0]],o:[[10.209,8.123],[.822,.948],[-5.029,0],[-2.475,0],[-1.556,-1.674],[-9.847,-10.63],[-3.297,-2.782],[-.053,0],[-8.777,7.406],[0,0],[-1.556,1.674],[-7.027,0],[-1.237,0],[10.068,-10.409],[3.553,-2.861],[5.754,0]],v:[[13.907,-36.165],[88.651,38.672],[87.501,41.108],[63.786,41.126],[59.022,39.018],[49.723,29.016],[7.084,-12.522],[.004,-15.215],[-7.077,-12.522],[-49.716,29.016],[-59.015,39.018],[-63.779,41.126],[-87.494,41.108],[-88.652,38.672],[-13.9,-36.165],[.004,-41.126]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.082352941176,.082352941176,.082352941176,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:1.7,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:19,ix:2},o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{t:240,s:[360]}],ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:9,ty:4,nm:"Vector 31",td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[353.921,265.88,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}}
1,ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.344,-1.524],[4.49,-4.11],[.009,-2.117],[0,-4.642],[-.893,.78],[-7.487,8.584],[0,0],[3.571,3.8],[10.015,9.293],[0,-1.107],[0,-6.52],[-1.839,-1.719],[-2.943,-3.446],[0,0]],o:[[-2.943,3.446],[-1.839,1.719],[0,6.52],[0,1.107],[10.006,-9.293],[3.571,-3.809],[0,0],[-7.478,-8.584],[-.893,-.78],[0,4.642],[0,2.108],[4.49,4.11],[1.344,1.524],[0,0]],v:[[-4.874,3.428],[-20.219,18.674],[-22.499,23.582],[-22.499,46.889],[-20.555,47.704],[19.248,7.672],[22.492,0],[19.248,-7.672],[-20.555,-47.704],[-22.499,-46.889],[-22.499,-23.582],[-20.219,-18.674],[-4.874,-3.428],[-3.619,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:5,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:100,ix:2},o:{a:0,k:0,ix:3},m:1,ix:4,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:10,ty:4,nm:"Vector 19",tt:2,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[353.921,265.88,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.344,-1.524],[4.49,-4.11],[.009,-2.117],[0,-4.642],[-.893,.78],[-7.487,8.584],[0,0],[3.571,3.8],[10.015,9.293],[0,-1.107],[0,-6.52],[-1.839,-1.719],[-2.943,-3.446],[0,0]],o:[[-2.943,3.446],[-1.839,1.719],[0,6.52],[0,1.107],[10.006,-9.293],[3.571,-3.809],[0,0],[-7.478,-8.584],[-.893,-.78],[0,4.642],[0,2.108],[4.49,4.11],[1.344,1.524],[0,0]],v:[[-4.874,3.428],[-20.219,18.674],[-22.499,23.582],[-22.499,46.889],[-20.555,47.704],[19.248,7.672],[22.492,0],[19.248,-7.672],[-20.555,-47.704],[-22.499,-46.889],[-22.499,-23.582],[-20.219,-18.674],[-4.874,-3.428],[-3.619,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[.921568627451,.921568627451,.921568627451,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:12,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:100,ix:2},o:{a:0,k:0,ix:3},m:1,ix:4,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:11,ty:4,nm:"Vector 30",td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[193.096,265.873,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.344,-1.524],[-4.49,-4.11],[0,-2.126],[0,-4.642],[.893,.78],[7.487,8.584],[0,0],[-3.58,3.8],[-10.015,9.293],[0,-.939],[0,-6.52],[1.839,-1.719],[2.943,-3.446],[0,0]],o:[[2.943,3.446],[1.839,1.71],[0,6.52],[0,1.107],[-10.006,-9.293],[-3.571,-3.809],[0,0],[7.478,-8.584],[.849,-.788],[0,4.633],[0,2.108],[-4.49,4.11],[-1.344,1.524],[0,0]],v:[[4.875,3.413],[20.219,18.659],[22.5,23.575],[22.5,46.882],[20.555,47.697],[-19.247,7.665],[-22.491,-.006],[-19.247,-7.678],[20.555,-47.71],[22.5,-46.975],[22.5,-23.597],[20.219,-18.689],[4.875,-3.443],[3.619,-.015]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:5,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:100,ix:2},o:{a:0,k:0,ix:3},m:1,ix:3,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:12,ty:4,nm:"Vector 18",tt:2,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[193.096,265.873,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}}
1,ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.344,-1.524],[-4.49,-4.11],[0,-2.126],[0,-4.642],[.893,.78],[7.487,8.584],[0,0],[-3.58,3.8],[-10.015,9.293],[0,-.939],[0,-6.52],[1.839,-1.719],[2.943,-3.446],[0,0]],o:[[2.943,3.446],[1.839,1.71],[0,6.52],[0,1.107],[-10.006,-9.293],[-3.571,-3.809],[0,0],[7.478,-8.584],[.849,-.788],[0,4.633],[0,2.108],[-4.49,4.11],[-1.344,1.524],[0,0]],v:[[4.875,3.413],[20.219,18.659],[22.5,23.575],[22.5,46.882],[20.555,47.697],[-19.247,7.665],[-22.491,-.006],[-19.247,-7.678],[20.555,-47.71],[22.5,-46.975],[22.5,-23.597],[20.219,-18.689],[4.875,-3.443],[3.619,-.015]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[.921568627451,.921568627451,.921568627451,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:12,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:100,ix:2},o:{a:0,k:0,ix:3},m:1,ix:3,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:13,ty:4,nm:"Vector 29",td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[273.481,402.122,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[3.562,2.861],[10.068,10.409],[-1.22,0],[-7.018,0],[-1.556,-1.674],[0,0],[-8.777,-7.415],[-.053,0],[-3.297,2.782],[-9.847,10.639],[-1.556,1.674],[-2.475,0],[-5.029,0],[.822,-.948],[10.209,-8.123],[5.763,0]],o:[[-10.209,-8.123],[-.822,-.948],[5.029,0],[2.475,0],[1.556,1.674],[9.847,10.63],[3.297,2.782],[.053,0],[8.777,-7.406],[0,0],[1.556,-1.674],[7.027,0],[1.237,0],[-10.068,10.409],[-3.553,2.861],[-5.754,0]],v:[[-13.904,36.165],[-88.647,-38.672],[-87.507,-41.108],[-63.791,-41.126],[-59.027,-39.018],[-49.728,-29.016],[-7.089,12.522],[-.009,15.215],[7.071,12.522],[49.711,-29.016],[59.01,-39.018],[63.774,-41.126],[87.489,-41.108],[88.647,-38.672],[13.904,36.165],[0,41.126]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:5,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:100,ix:2},o:{a:0,k:168.5,ix:3},m:1,ix:3,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:14,ty:4,nm:"Vector 17",tt:2,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[273.481,402.122,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[3.562,2.861],[10.068,10.409],[-1.22,0],[-7.018,0],[-1.556,-1.674],[0,0],[-8.777,-7.415],[-.053,0],[-3.297,2.782],[-9.847,10.639],[-1.556,1.674],[-2.475,0],[-5.029,0],[.822,-.948],[10.209,-8.123],[5.763,0]],o:[[-10.209,-8.123],[-.822,-.948],[5.029,0],[2.475,0],[1.556,1.674],[9.847,10.63],[3.297,2.782],[.053,0],[8.777,-7.406],[0,0],[1.556,-1.674],[7.027,0],[1.237,0],[-10.068,10.409],[-3.553,2.861],[-5.754,0]],v:[[-13.904,36.165],[-88.647,-38.672],[-87.507,-41.108],[-63.791,-41.126],[-59.027,-39.018],[-49.728,-29.016],[-7.089,12.522],[-.009,15.215],[7.071,12.522],[49.711,-29.016],[59.01,-39.018],[63.774,-41.126],[87.489,-41.108],[88.647,-38.672],[13.904,36.165],[0,41.126]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[.921568627451,.921568627451,.921568627451,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:12,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:100,ix:2},o:{a:0,k:168.5,ix:3},m:1,ix:3,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:15,ty:4,nm:"Vector 28",td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[273.503,129.879,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}}
1,ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.562,-2.861],[-10.068,-10.409],[1.237,.009],[7.018,0],[1.556,1.674],[0,0],[8.777,7.415],[.053,0],[3.297,-2.782],[9.847,-10.639],[1.556,-1.674],[2.475,0],[5.029,0],[-.822,.948],[-10.209,8.123],[-5.763,0]],o:[[10.209,8.123],[.822,.948],[-5.029,0],[-2.475,0],[-1.556,-1.674],[-9.847,-10.63],[-3.297,-2.782],[-.053,0],[-8.777,7.406],[0,0],[-1.556,1.674],[-7.027,0],[-1.237,0],[10.068,-10.409],[3.553,-2.861],[5.754,0]],v:[[13.907,-36.165],[88.651,38.672],[87.501,41.108],[63.786,41.126],[59.022,39.018],[49.723,29.016],[7.084,-12.522],[.004,-15.215],[-7.077,-12.522],[-49.716,29.016],[-59.015,39.018],[-63.779,41.126],[-87.494,41.108],[-88.652,38.672],[-13.9,-36.165],[.004,-41.126]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:1.7,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:16,ty:4,nm:"Vector 16",tt:2,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[273.503,129.879,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.562,-2.861],[-10.068,-10.409],[1.237,.009],[7.018,0],[1.556,1.674],[0,0],[8.777,7.415],[.053,0],[3.297,-2.782],[9.847,-10.639],[1.556,-1.674],[2.475,0],[5.029,0],[-.822,.948],[-10.209,8.123],[-5.763,0]],o:[[10.209,8.123],[.822,.948],[-5.029,0],[-2.475,0],[-1.556,-1.674],[-9.847,-10.63],[-3.297,-2.782],[-.053,0],[-8.777,7.406],[0,0],[-1.556,1.674],[-7.027,0],[-1.237,0],[10.068,-10.409],[3.553,-2.861],[5.754,0]],v:[[13.907,-36.165],[88.651,38.672],[87.501,41.108],[63.786,41.126],[59.022,39.018],[49.723,29.016],[7.084,-12.522],[.004,-15.215],[-7.077,-12.522],[-49.716,29.016],[-59.015,39.018],[-63.779,41.126],[-87.494,41.108],[-88.652,38.672],[-13.9,-36.165],[.004,-41.126]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.921568627451,.921568627451,.921568627451,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:4,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:304,st:4,bm:0}],markers:[]},o5={v:"5.5.7",meta:{g:"LottieFiles AE 0.1.21",a:"",k:"",d:"",tc:""},fr:60,ip:0,op:241,w:547,h:532,nm:"Logo_Loader_a10_DARK",ddd:0,assets:[],layers:[{ddd:0,ind:1,ty:4,nm:"Vector 27",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[353.921,265.88,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.344,-1.524],[4.49,-4.11],[.009,-2.117],[0,-4.642],[-.893,.78],[-7.487,8.584],[0,0],[3.571,3.8],[10.015,9.293],[0,-1.107],[0,-6.52],[-1.839,-1.719],[-2.943,-3.446],[0,0]],o:[[-2.943,3.446],[-1.839,1.719],[0,6.52],[0,1.107],[10.006,-9.293],[3.571,-3.809],[0,0],[-7.478,-8.584],[-.893,-.78],[0,4.642],[0,2.108],[4.49,4.11],[1.344,1.524],[0,0]],v:[[-4.874,3.428],[-20.219,18.674],[-22.499,23.582],[-22.499,46.889],[-20.555,47.704],[19.248,7.672],[22.492,0],[19.248,-7.672],[-20.555,-47.704],[-22.499,-46.889],[-22.499,-23.582],[-20.219,-18.674],[-4.874,-3.428],[-3.619,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:5,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:19,ix:2},o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[130]},{t:240,s:[490]}],ix:3},m:1,ix:4,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:2,ty:4,nm:"Vector 26",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[193.096,265.873,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}}
1,ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.344,-1.524],[-4.49,-4.11],[0,-2.126],[0,-4.642],[.893,.78],[7.487,8.584],[0,0],[-3.58,3.8],[-10.015,9.293],[0,-.939],[0,-6.52],[1.839,-1.719],[2.943,-3.446],[0,0]],o:[[2.943,3.446],[1.839,1.71],[0,6.52],[0,1.107],[-10.006,-9.293],[-3.571,-3.809],[0,0],[7.478,-8.584],[.849,-.788],[0,4.633],[0,2.108],[-4.49,4.11],[-1.344,1.524],[0,0]],v:[[4.875,3.413],[20.219,18.659],[22.5,23.575],[22.5,46.882],[20.555,47.697],[-19.247,7.665],[-22.491,-.006],[-19.247,-7.678],[20.555,-47.71],[22.5,-46.975],[22.5,-23.597],[20.219,-18.689],[4.875,-3.443],[3.619,-.015]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:5,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:19,ix:2},o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[130]},{t:240,s:[490]}],ix:3},m:1,ix:3,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:3,ty:4,nm:"Vector 25",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[273.481,402.122,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[3.562,2.861],[10.068,10.409],[-1.22,0],[-7.018,0],[-1.556,-1.674],[0,0],[-8.777,-7.415],[-.053,0],[-3.297,2.782],[-9.847,10.639],[-1.556,1.674],[-2.475,0],[-5.029,0],[.822,-.948],[10.209,-8.123],[5.763,0]],o:[[-10.209,-8.123],[-.822,-.948],[5.029,0],[2.475,0],[1.556,1.674],[9.847,10.63],[3.297,2.782],[.053,0],[8.777,-7.406],[0,0],[1.556,-1.674],[7.027,0],[1.237,0],[-10.068,10.409],[-3.553,2.861],[-5.754,0]],v:[[-13.904,36.165],[-88.647,-38.672],[-87.507,-41.108],[-63.791,-41.126],[-59.027,-39.018],[-49.728,-29.016],[-7.089,12.522],[-.009,15.215],[7.071,12.522],[49.711,-29.016],[59.01,-39.018],[63.774,-41.126],[87.489,-41.108],[88.647,-38.672],[13.904,36.165],[0,41.126]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:5,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:19,ix:2},o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[130]},{t:240,s:[490]}],ix:3},m:1,ix:3,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:4,ty:4,nm:"Vector 24",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[273.503,129.879,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.562,-2.861],[-10.068,-10.409],[1.237,.009],[7.018,0],[1.556,1.674],[0,0],[8.777,7.415],[.053,0],[3.297,-2.782],[9.847,-10.639],[1.556,-1.674],[2.475,0],[5.029,0],[-.822,.948],[-10.209,8.123],[-5.763,0]],o:[[10.209,8.123],[.822,.948],[-5.029,0],[-2.475,0],[-1.556,-1.674],[-9.847,-10.63],[-3.297,-2.782],[-.053,0],[-8.777,7.406],[0,0],[-1.556,1.674],[-7.027,0],[-1.237,0],[10.068,-10.409],[3.553,-2.861],[5.754,0]],v:[[13.907,-36.165],[88.651,38.672],[87.501,41.108],[63.786,41.126],[59.022,39.018],[49.723,29.016],[7.084,-12.522],[.004,-15.215],[-7.077,-12.522],[-49.716,29.016],[-59.015,39.018],[-63.779,41.126],[-87.494,41.108],[-88.652,38.672],[-13.9,-36.165],[.004,-41.126]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:1.7,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:19,ix:2},o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[130]},{t:240,s:[490]}],ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:5,ty:4,nm:"Vector 23",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[353.921,265.88,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}}
1,ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.344,-1.524],[4.49,-4.11],[.009,-2.117],[0,-4.642],[-.893,.78],[-7.487,8.584],[0,0],[3.571,3.8],[10.015,9.293],[0,-1.107],[0,-6.52],[-1.839,-1.719],[-2.943,-3.446],[0,0]],o:[[-2.943,3.446],[-1.839,1.719],[0,6.52],[0,1.107],[10.006,-9.293],[3.571,-3.809],[0,0],[-7.478,-8.584],[-.893,-.78],[0,4.642],[0,2.108],[4.49,4.11],[1.344,1.524],[0,0]],v:[[-4.874,3.428],[-20.219,18.674],[-22.499,23.582],[-22.499,46.889],[-20.555,47.704],[19.248,7.672],[22.492,0],[19.248,-7.672],[-20.555,-47.704],[-22.499,-46.889],[-22.499,-23.582],[-20.219,-18.674],[-4.874,-3.428],[-3.619,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:5,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:19,ix:2},o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{t:240,s:[360]}],ix:3},m:1,ix:4,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:6,ty:4,nm:"Vector 22",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[193.096,265.873,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.344,-1.524],[-4.49,-4.11],[0,-2.126],[0,-4.642],[.893,.78],[7.487,8.584],[0,0],[-3.58,3.8],[-10.015,9.293],[0,-.939],[0,-6.52],[1.839,-1.719],[2.943,-3.446],[0,0]],o:[[2.943,3.446],[1.839,1.71],[0,6.52],[0,1.107],[-10.006,-9.293],[-3.571,-3.809],[0,0],[7.478,-8.584],[.849,-.788],[0,4.633],[0,2.108],[-4.49,4.11],[-1.344,1.524],[0,0]],v:[[4.875,3.413],[20.219,18.659],[22.5,23.575],[22.5,46.882],[20.555,47.697],[-19.247,7.665],[-22.491,-.006],[-19.247,-7.678],[20.555,-47.71],[22.5,-46.975],[22.5,-23.597],[20.219,-18.689],[4.875,-3.443],[3.619,-.015]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:5,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:19,ix:2},o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{t:240,s:[360]}],ix:3},m:1,ix:3,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:7,ty:4,nm:"Vector 21",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[273.481,402.122,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[3.562,2.861],[10.068,10.409],[-1.22,0],[-7.018,0],[-1.556,-1.674],[0,0],[-8.777,-7.415],[-.053,0],[-3.297,2.782],[-9.847,10.639],[-1.556,1.674],[-2.475,0],[-5.029,0],[.822,-.948],[10.209,-8.123],[5.763,0]],o:[[-10.209,-8.123],[-.822,-.948],[5.029,0],[2.475,0],[1.556,1.674],[9.847,10.63],[3.297,2.782],[.053,0],[8.777,-7.406],[0,0],[1.556,-1.674],[7.027,0],[1.237,0],[-10.068,10.409],[-3.553,2.861],[-5.754,0]],v:[[-13.904,36.165],[-88.647,-38.672],[-87.507,-41.108],[-63.791,-41.126],[-59.027,-39.018],[-49.728,-29.016],[-7.089,12.522],[-.009,15.215],[7.071,12.522],[49.711,-29.016],[59.01,-39.018],[63.774,-41.126],[87.489,-41.108],[88.647,-38.672],[13.904,36.165],[0,41.126]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:5,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:19,ix:2},o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{t:240,s:[360]}],ix:3},m:1,ix:3,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:8,ty:4,nm:"Vector 20",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[273.503,129.879,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}}
1,ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.562,-2.861],[-10.068,-10.409],[1.237,.009],[7.018,0],[1.556,1.674],[0,0],[8.777,7.415],[.053,0],[3.297,-2.782],[9.847,-10.639],[1.556,-1.674],[2.475,0],[5.029,0],[-.822,.948],[-10.209,8.123],[-5.763,0]],o:[[10.209,8.123],[.822,.948],[-5.029,0],[-2.475,0],[-1.556,-1.674],[-9.847,-10.63],[-3.297,-2.782],[-.053,0],[-8.777,7.406],[0,0],[-1.556,1.674],[-7.027,0],[-1.237,0],[10.068,-10.409],[3.553,-2.861],[5.754,0]],v:[[13.907,-36.165],[88.651,38.672],[87.501,41.108],[63.786,41.126],[59.022,39.018],[49.723,29.016],[7.084,-12.522],[.004,-15.215],[-7.077,-12.522],[-49.716,29.016],[-59.015,39.018],[-63.779,41.126],[-87.494,41.108],[-88.652,38.672],[-13.9,-36.165],[.004,-41.126]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[1,1,1,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:1.7,ix:5},lc:2,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:19,ix:2},o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[0]},{t:240,s:[360]}],ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:9,ty:4,nm:"Vector 31",td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[353.921,265.88,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.344,-1.524],[4.49,-4.11],[.009,-2.117],[0,-4.642],[-.893,.78],[-7.487,8.584],[0,0],[3.571,3.8],[10.015,9.293],[0,-1.107],[0,-6.52],[-1.839,-1.719],[-2.943,-3.446],[0,0]],o:[[-2.943,3.446],[-1.839,1.719],[0,6.52],[0,1.107],[10.006,-9.293],[3.571,-3.809],[0,0],[-7.478,-8.584],[-.893,-.78],[0,4.642],[0,2.108],[4.49,4.11],[1.344,1.524],[0,0]],v:[[-4.874,3.428],[-20.219,18.674],[-22.499,23.582],[-22.499,46.889],[-20.555,47.704],[19.248,7.672],[22.492,0],[19.248,-7.672],[-20.555,-47.704],[-22.499,-46.889],[-22.499,-23.582],[-20.219,-18.674],[-4.874,-3.428],[-3.619,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[.082352941176,.082352941176,.082352941176,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:5,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:100,ix:2},o:{a:0,k:0,ix:3},m:1,ix:4,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:10,ty:4,nm:"Vector 32",tt:2,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[353.921,265.88,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[1.344,-1.524],[4.49,-4.11],[.009,-2.117],[0,-4.642],[-.893,.78],[-7.487,8.584],[0,0],[3.571,3.8],[10.015,9.293],[0,-1.107],[0,-6.52],[-1.839,-1.719],[-2.943,-3.446],[0,0]],o:[[-2.943,3.446],[-1.839,1.719],[0,6.52],[0,1.107],[10.006,-9.293],[3.571,-3.809],[0,0],[-7.478,-8.584],[-.893,-.78],[0,4.642],[0,2.108],[4.49,4.11],[1.344,1.524],[0,0]],v:[[-4.874,3.428],[-20.219,18.674],[-22.499,23.582],[-22.499,46.889],[-20.555,47.704],[19.248,7.672],[22.492,0],[19.248,-7.672],[-20.555,-47.704],[-22.499,-46.889],[-22.499,-23.582],[-20.219,-18.674],[-4.874,-3.428],[-3.619,0]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"gr",it:[{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Group 1",np:0,cix:2,bm:0,ix:2,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[.317647058824,.313725490196,.313725490196,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:12,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:100,ix:2},o:{a:0,k:0,ix:3},m:1,ix:4,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:11,ty:4,nm:"Vector 30",td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[193.096,265.873,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}}
1,ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.344,-1.524],[-4.49,-4.11],[0,-2.126],[0,-4.642],[.893,.78],[7.487,8.584],[0,0],[-3.58,3.8],[-10.015,9.293],[0,-.939],[0,-6.52],[1.839,-1.719],[2.943,-3.446],[0,0]],o:[[2.943,3.446],[1.839,1.71],[0,6.52],[0,1.107],[-10.006,-9.293],[-3.571,-3.809],[0,0],[7.478,-8.584],[.849,-.788],[0,4.633],[0,2.108],[-4.49,4.11],[-1.344,1.524],[0,0]],v:[[4.875,3.413],[20.219,18.659],[22.5,23.575],[22.5,46.882],[20.555,47.697],[-19.247,7.665],[-22.491,-.006],[-19.247,-7.678],[20.555,-47.71],[22.5,-46.975],[22.5,-23.597],[20.219,-18.689],[4.875,-3.443],[3.619,-.015]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[.082352941176,.082352941176,.082352941176,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:5,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:100,ix:2},o:{a:0,k:0,ix:3},m:1,ix:3,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:12,ty:4,nm:"Vector 18",tt:2,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[193.096,265.873,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-1.344,-1.524],[-4.49,-4.11],[0,-2.126],[0,-4.642],[.893,.78],[7.487,8.584],[0,0],[-3.58,3.8],[-10.015,9.293],[0,-.939],[0,-6.52],[1.839,-1.719],[2.943,-3.446],[0,0]],o:[[2.943,3.446],[1.839,1.71],[0,6.52],[0,1.107],[-10.006,-9.293],[-3.571,-3.809],[0,0],[7.478,-8.584],[.849,-.788],[0,4.633],[0,2.108],[-4.49,4.11],[-1.344,1.524],[0,0]],v:[[4.875,3.413],[20.219,18.659],[22.5,23.575],[22.5,46.882],[20.555,47.697],[-19.247,7.665],[-22.491,-.006],[-19.247,-7.678],[20.555,-47.71],[22.5,-46.975],[22.5,-23.597],[20.219,-18.689],[4.875,-3.443],[3.619,-.015]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[.317647058824,.313725490196,.313725490196,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:12,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:100,ix:2},o:{a:0,k:0,ix:3},m:1,ix:3,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:13,ty:4,nm:"Vector 29",td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[273.481,402.122,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[3.562,2.861],[10.068,10.409],[-1.22,0],[-7.018,0],[-1.556,-1.674],[0,0],[-8.777,-7.415],[-.053,0],[-3.297,2.782],[-9.847,10.639],[-1.556,1.674],[-2.475,0],[-5.029,0],[.822,-.948],[10.209,-8.123],[5.763,0]],o:[[-10.209,-8.123],[-.822,-.948],[5.029,0],[2.475,0],[1.556,1.674],[9.847,10.63],[3.297,2.782],[.053,0],[8.777,-7.406],[0,0],[1.556,-1.674],[7.027,0],[1.237,0],[-10.068,10.409],[-3.553,2.861],[-5.754,0]],v:[[-13.904,36.165],[-88.647,-38.672],[-87.507,-41.108],[-63.791,-41.126],[-59.027,-39.018],[-49.728,-29.016],[-7.089,12.522],[-.009,15.215],[7.071,12.522],[49.711,-29.016],[59.01,-39.018],[63.774,-41.126],[87.489,-41.108],[88.647,-38.672],[13.904,36.165],[0,41.126]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[.082352941176,.082352941176,.082352941176,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:5,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:100,ix:2},o:{a:0,k:168.5,ix:3},m:1,ix:3,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:14,ty:4,nm:"Vector 17",tt:2,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[273.481,402.122,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}}
1,ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[3.562,2.861],[10.068,10.409],[-1.22,0],[-7.018,0],[-1.556,-1.674],[0,0],[-8.777,-7.415],[-.053,0],[-3.297,2.782],[-9.847,10.639],[-1.556,1.674],[-2.475,0],[-5.029,0],[.822,-.948],[10.209,-8.123],[5.763,0]],o:[[-10.209,-8.123],[-.822,-.948],[5.029,0],[2.475,0],[1.556,1.674],[9.847,10.63],[3.297,2.782],[.053,0],[8.777,-7.406],[0,0],[1.556,-1.674],[7.027,0],[1.237,0],[-10.068,10.409],[-3.553,2.861],[-5.754,0]],v:[[-13.904,36.165],[-88.647,-38.672],[-87.507,-41.108],[-63.791,-41.126],[-59.027,-39.018],[-49.728,-29.016],[-7.089,12.522],[-.009,15.215],[7.071,12.522],[49.711,-29.016],[59.01,-39.018],[63.774,-41.126],[87.489,-41.108],[88.647,-38.672],[13.904,36.165],[0,41.126]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"st",c:{a:0,k:[.317647058824,.313725490196,.313725490196,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:12,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tm",s:{a:0,k:0,ix:1},e:{a:0,k:100,ix:2},o:{a:0,k:168.5,ix:3},m:1,ix:3,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:15,ty:4,nm:"Vector 28",td:1,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[273.503,129.879,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.562,-2.861],[-10.068,-10.409],[1.237,.009],[7.018,0],[1.556,1.674],[0,0],[8.777,7.415],[.053,0],[3.297,-2.782],[9.847,-10.639],[1.556,-1.674],[2.475,0],[5.029,0],[-.822,.948],[-10.209,8.123],[-5.763,0]],o:[[10.209,8.123],[.822,.948],[-5.029,0],[-2.475,0],[-1.556,-1.674],[-9.847,-10.63],[-3.297,-2.782],[-.053,0],[-8.777,7.406],[0,0],[-1.556,1.674],[-7.027,0],[-1.237,0],[10.068,-10.409],[3.553,-2.861],[5.754,0]],v:[[13.907,-36.165],[88.651,38.672],[87.501,41.108],[63.786,41.126],[59.022,39.018],[49.723,29.016],[7.084,-12.522],[.004,-15.215],[-7.077,-12.522],[-49.716,29.016],[-59.015,39.018],[-63.779,41.126],[-87.494,41.108],[-88.652,38.672],[-13.9,-36.165],[.004,-41.126]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.082352941176,.082352941176,.082352941176,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:1.7,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:304,st:4,bm:0},{ddd:0,ind:16,ty:4,nm:"Vector 16",tt:2,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[273.503,129.879,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{ind:0,ty:"sh",ix:1,ks:{a:0,k:{i:[[-3.562,-2.861],[-10.068,-10.409],[1.237,.009],[7.018,0],[1.556,1.674],[0,0],[8.777,7.415],[.053,0],[3.297,-2.782],[9.847,-10.639],[1.556,-1.674],[2.475,0],[5.029,0],[-.822,.948],[-10.209,8.123],[-5.763,0]],o:[[10.209,8.123],[.822,.948],[-5.029,0],[-2.475,0],[-1.556,-1.674],[-9.847,-10.63],[-3.297,-2.782],[-.053,0],[-8.777,7.406],[0,0],[-1.556,1.674],[-7.027,0],[-1.237,0],[10.068,-10.409],[3.553,-2.861],[5.754,0]],v:[[13.907,-36.165],[88.651,38.672],[87.501,41.108],[63.786,41.126],[59.022,39.018],[49.723,29.016],[7.084,-12.522],[.004,-15.215],[-7.077,-12.522],[-49.716,29.016],[-59.015,39.018],[-63.779,41.126],[-87.494,41.108],[-88.652,38.672],[-13.9,-36.165],[.004,-41.126]],c:!0},ix:2},nm:"Path 1",mn:"ADBE Vector Shape - Group",hd:!1},{ty:"st",c:{a:0,k:[.317647058824,.313725490196,.313725490196,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:4,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,0],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[300,300],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Vector",np:2,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:304,st:4,bm:0}],markers:[]},o8=b.ZP.View.withConfig({displayName:"indexstyles__LogoContainer",componentId:"sc-1r0ef1h-0"})(["display:flex;justify-content:space-between;align-items:center;"]);function o6(){var e={loop:!0,autoplay:!0,animationData:(0,b.Fg)().IS_DARK_MODE?o5:o3,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}};return i.createElement(o8,null,i.createElement(G.Z,{options:e,height:120,width:116,style:{width:120,height:116}}))}var o7=b.ZP.View.withConfig({displayName:"indexstyles__ModalView",componentId:"sc-5bcl2n-0"})(["background:",";border-radius:20px;margin-right:20px;padding:32px;elevation:5;z-index:10;left:50%;
1top:50%;-webkit-transform:translate(-50%,-50%);"],function(e){return e.theme.BACKGROUND}),o9=b.ZP.View.withConfig({displayName:"indexstyles__CenteredView",componentId:"sc-5bcl2n-1"})(["position:fixed;height:100vh;width:100vw;background-color:",";z-index:10;top:0;left:0;bottom:0;right:0;"],function(e){return e.theme.IS_DARK_MODE?"rgba(186,197,207,0.4)":"rgba(33,33,33,0.4)"}),se=b.ZP.Text.withConfig({displayName:"indexstyles__ModalHeaderText",componentId:"sc-5bcl2n-2"})(["font-size:28px;margin-bottom:8px;color:",";text-align:start;"],function(e){return e.theme.PRIMARY_TEXT}),st=b.ZP.Text.withConfig({displayName:"indexstyles__ModalText",componentId:"sc-5bcl2n-3"})(["font-size:14px;color:",";text-align:start;"],function(e){return e.theme.PRIMARY_TEXT}),sn=b.ZP.Text.withConfig({displayName:"indexstyles__ButtonText",componentId:"sc-5bcl2n-4"})(["height:24px;font-size:16px;line-height:24px;text-align:center;color:",";"],function(e){return e.theme.BACKGROUND}),si=b.ZP.View.withConfig({displayName:"indexstyles__ButtonContainer",componentId:"sc-5bcl2n-5"})(["background:"," border-radius:50px;align-items:center;margin-top:32px;margin-bottom:24px;"],function(e){return e.theme.DEFAULT_BUTTON});function sr(e){var t=e.modalVisible,n=e.children,r=e.modalHeaderText,a=e.modalBodyText,o=e.primaryButtonLabel,s=e.onPrimaryButtonClick;return t?i.createElement(o9,null,i.createElement(o7,null,r&&i.createElement(se,null,r),a&&i.createElement(st,null,a),o&&s&&i.createElement(si,null,i.createElement(t6,{defaultButton:!0,onPress:s},i.createElement(sn,null,o))),n)):null}var sa=b.ZP.View.withConfig({displayName:"indexstyles__ContainerView",componentId:"sc-7as3jo-0"})(["padding:40px 24px;display:flex;flex:1;background-color:",";"],function(e){return e.theme.BACKGROUND}),so=b.ZP.Text.withConfig({displayName:"indexstyles__PositionText",componentId:"sc-7as3jo-1"})(["font-size:16px;color:",";"],function(e){return e.theme.PRIMARY_TEXT}),ss=b.ZP.Text.withConfig({displayName:"indexstyles__EstimatedWaitText",componentId:"sc-7as3jo-2"})(["font-size:32px;color:",";margin-top:16px;margin-bottom:40px;"],function(e){return e.theme.PRIMARY_TEXT}),su=b.ZP.Text.withConfig({displayName:"indexstyles__NoConnectionText",componentId:"sc-7as3jo-3"})(["font-size:32px;color:",";margin-top:16px;text-align:center;"],function(e){return e.theme.PRIMARY_TEXT}),sl=b.ZP.Text.withConfig({displayName:"indexstyles__AdditionalInfoText",componentId:"sc-7as3jo-4"})(["font-size:14px;color:",";margin-bottom:112px;"],function(e){return e.theme.SECONDARY_TEXT}),sc=b.ZP.Text.withConfig({displayName:"indexstyles__ReconnectText",componentId:"sc-7as3jo-5"})(["font-size:14px;color:",";margin-top:16px;margin-bottom:112px;text-align:center;"],function(e){return e.theme.SECONDARY_TEXT}),sd=b.ZP.Text.withConfig({displayName:"indexstyles__TextButton",componentId:"sc-7as3jo-6"})(["font-size:14px;line-height:15.4px;text-decoration:underline;text-decoration-color:",";text-align:center;color:",";"],function(e){return e.theme.PRIMARY_TEXT},function(e){return e.theme.PRIMARY_TEXT}),sp=b.ZP.Text.withConfig({displayName:"indexstyles__CancelText",componentId:"sc-7as3jo-7"})(["font-size:16px;line-height:16px;margin:16px;text-align:center;color:",";"],function(e){return e.theme.DEFAULT_BUTTON});function sm(){var e=rt().t,t=(0,i.useContext)(tE),n=t.averageWaitTime,r=t.positionInQueue,o=t.queueId,l=t.sendChat,c=t.step,d=t.hasNetworkingError,p=t.endChat,m=t.resetStore,h=(0,B.useNavigation)(),f=(0,i.useState)(!1),E=(0,a.Z)(f,2),x=E[0],y=E[1];return(0,i.useEffect)(function(){o&&l(et)},[o]),(0,i.useEffect)(function(){"SHOW_CHAT_SESSION"===c&&h.navigate(eg)},[c,h]),i.useLayoutEffect(function(){"SHOW_WAIT_IN_QUEUE"===c&&o&&h.setOptions({headerRight:function(){return i.createElement(t6,{onPress:function(){y(!x)},styles:{marginTop:16}},i.createElement(sp,null,e("common.CANCEL")))}})},[h,o]),d?i.createElement(sa,null,i.createElement(su,null,e("components.NO_CONNECTION")),i.createElement(sc,null,e("components.RECONNECT_MESSAGE")),i.createElement(o6,null)):i.createElement(sa,null,i.createElement(sr,{modalVisible:x,modalHeaderText:e("screens.ARE_YOU_SURE_PROMPT"),modalBodyText:e("screens.CANCEL_CHAT_MODAL_TEXT"),primaryButtonLabel:e("screens.CANCEL_CHAT_TEXT"),onPrimaryButtonClick:(0,u.Z)(s().mark(function e(){return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return ew(ed.CANCEL_CHAT),e.next=3,p(!0);case 3:m(),eV(em);case 5:case"end":return e.stop()}},e)}))},i.createElement(t6,{onPress:function(){return y(!x)}},i.createElement(sd,null,e("common.KEEP_WAITING")))),i.createElement(so,null,o?e("screens.POSITION_TEXT",{position:Y(r)}):i.createElement(o4,{height:24,width:140})),i.createElement(ss,null,o?e("screens.ESTIMATED_WAIT_TEXT",{wait:function(t){if(t<60)return e("screens.UNDER_MINUTE");var n=Math.floor(t/60);return n<60?"".concat(n," - ").concat(n+1," ").concat(e("screens.MINUTES")):"".concat(Math.floor(n/60)," ").concat(e("screens.HOURS"))}(n)}):i.createElement(o4,{height:74,width:327})),i.createElement(sl,null,o?e("screens.ADDITIONAL_INFO_TEXT"):i.createElement(o4,{height:42,width:327})),i.createElement(g.Z,null,i.createElement(o6,null)))}var sh=b.ZP.View.withConfig({displayName:"indexstyles__ContainerView",componentId:"sc-1n4ssog-0"})(["display:flex;align-items:center;justify-content:center;flex-flow:row nowrap;background:",";width:100%;max-height:161px;padding:16px;"],function(e){return e.theme.BACKGROUND}),sf=b.ZP.View.withConfig({displayName:"indexstyles__InputFieldContainer",componentId:"sc-1n4ssog-1"})(["flex:",";flex-direction:row;background:",";border-radius:24px;min-height:48px;max-height:128px;align-items:center;width:100%;padding-vertical:12px;"],function(e){return e.flexSize},function(e){return e.theme.TEXT_INPUT_BACKGROUND}),sE=b.ZP.TextInput.withConfig({displayName:"indexstyles__StyledInputField",componentId:"sc-1n4ssog-2"})(["font-size:16px;line-height:20px;font-family:Sohne;min-height:20px;max-height:105px;padding-left:16px;padding-right:52px;width:100%;color:",";"],function(e){return e.theme.PRIMARY_TEXT});function sg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function sx(e){var t=e.flexSize,n=e.inputContainerRef,r=e.onChange,o=e.onChangeText,s=e.onPress,u=e.placeholder,l=e.value,d=(0,D.Z)(e,["flexSize","inputContainerRef","onChange","onChangeText","onPress","placeholder","value"]),p=(0,i.useState)(null),m=(0,a.Z)(p,2),f=m[0],E=m[1],g=(0,i.useState)(!1),x=(0,a.Z)(g,2),y=x[0],v=x[1],A=(0,i.useContext)(tE).chatTheme,C=(0,b.Fg)(),_=(0,i.useRef)();(0,i.useEffect)(function(){if(y){var e=_.current;null==e||e.focus(),v(!1)}},[y]),(0,i.useEffect)(function(){var e=_.current;E(null==e?void 0:e.clientHeight)},[]);var T=function(){var e,t=(null!==(e=null==_?void 0:_.current)&&void 0!==e?e:{}).style;t&&(null==t?void 0:t.height)&&(t.height="".concat(f,"px")),l&&s(),v(!0)};return i.createElement(sh,{id:"rivian-chat-input"},i.createElement(sf,{flexSize:t,ref:n},i.createElement(sE,(0,S.Z)({ref:_,style:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?sg(Object(n),!0).forEach(function(t){(0,c.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sg(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},h.Z.select({web:{outline:"none"}})),multiline:!0,onChangeText:o,onChange:function(e){var t;r&&r(e),(t=e.target)&&t.scrollHeight&&(t.style.height="inherit",t.style.height="".concat(t.scrollHeight,"px"))},placeholder:u,placeholderTextColor:"dark"===A?rV.dark.GREY4:rV.light.GREY4,value:l,onSubmitEditing:T,blurOnSubmit:!0,maxLength:1e3},d)),i.createElement(t6,{onPress:T,styles:{height:"24px",width:"24px",borderRadius:"50px",marginLeft:"auto",marginRight:"12px",marginTop:"auto",background:l.length?C.ACTIVE_BUTTON:C.DISABLED_BUTTON},disabled:0===l.length},i.createElement(aS,null))))}function sy(e){var t=e.chatInputRef,n=e.onSend,r=e.placeholder,o=(0,i.useState)(""),s=(0,a.Z)(o,2),u=s[0],l=s[1],c=(0,i.useState)(0),d=(0,a.Z)(c,2),p=d[0],m=d[1],h=(0,i.useRef)(!1),f=(0,i.useRef)();return(0,i.useEffect)(function(){(null==u?void 0:u.trim())&&!(null==h?void 0:h.current)&&(h.current=!0,f.current=setTimeout(function(){h.current=!1,m(p+500),tr()},500+p))},[u]),i.createElement(sx,{flexSize:1,inputContainerRef:t,onChangeText:function(e){l(e)},placeholder:r,value:u,onPress:function(){clearInterval(null==f?void 0:f.current),m(0),h.current=!1,n(u),l("")}})}var sv=b.ZP.SafeAreaView.withConfig({displayName:"indexstyles__ContainerView",componentId:"sc-1r0ivpy-0"})(["margin-vertical:8px;"]),sA=b.ZP.View.withConfig({displayName:"indexstyles__TextView",componentId:"sc-1r0ivpy-1"})(["background:",";border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-left-radius:","px;border-bottom-right-radius:","px;justify-content:flex-start;",""],function(e){return e.isAgent?e.theme.BACKGROUND:e.theme.CUSTOMER_CHAT_BUBBLE},function(e){return e.isAgent?0:16},function(e){return e.isAgent?16:0},function(e){return e.isAgent?(0,b.iv)(["margin-right:72px;margin-left:16px;"]):(0,b.iv)(["margin-right:16px;margin-left:72px;"])}),sC=b.ZP.Text.withConfig({displayName:"indexstyles__TextLabel",componentId:"sc-1r0ivpy-2"})(["margin:16px;font-family:Sohne;font-size:16px;line-height:24px;color:",";"],function(e){return e.theme.PRIMARY_TEXT}),s_=b.ZP.View.withConfig({displayName:"indexstyles__SubtextView",componentId:"sc-1r0ivpy-3"})(["flex-direction:row;margin-top:8px;margin-left:16px;"]),sT=(0,b.ZP)(s_).withConfig({displayName:"indexstyles__SubtextViewRight",componentId:"sc-1r0ivpy-4"})(["justify-content:flex-end;margin-right:16px;"]),sD=b.ZP.Text.withConfig({displayName:"indexstyles__SubtextLabel",componentId:"sc-1r0ivpy-5"})(["margin-left:8px;font-family:Sohne;font-size:12px;line-height:12px;color:",";"],function(e){return e.theme.SECONDARY_TEXT});function sk(e){var t=e.chat,n=e.timestamp,r=(null==t?void 0:t.ParticipantRole)!==es,a=oc(null==t?void 0:t.Content).split(eH),o=os(null==t?void 0:t.Content);return i.createElement(sv,{key:null==t?void 0:t.Id},i.createElement(sA,{isAgent:r},i.createElement(sC,{isAgent:r},a.map(function(e,t){if(e.match(eH))return null;var n=o.find(function(t){return t.value===e});return n?i.createElement(rc,{key:"".concat(n.value,"_").concat(t),color:rM.HYPERLINK,href:n.href,label:n.value,isMobile:!0}):i.createElement(v.Z,{key:"".concat(e,"_").concat(t)},e)}))),n&&i.createElement(i.Fragment,null,r?i.createElement(s_,null,i.createElement(sD,null,n)):i.createElement(sT,null,i.createElement(sD,null,n))))}var sS=b.ZP.SafeAreaView.withConfig({displayName:"indexstyles__ContainerView",componentId:"sc-9m29vd-0"})(["flex:1;margin-top:0px;"]),sb=b.ZP.Text.withConfig({displayName:"indexstyles__HeaderText",componentId:"sc-9m29vd-1"})(["height:16px;margin-top:36px;margin-bottom:12px;font-family:Sohne;font-size:12px;line-height:16px;text-align:center;color:",";"],function(e){return e.theme.SECONDARY_TEXT}),sw=b.ZP.Text.withConfig({displayName:"indexstyles__StyledText",componentId:"sc-9m29vd-2"})(["position:absolute;bottom:12px;font-family:Sohne;font-size:12px;line-height:16px;color:#808080;align-self:center;"]);b.ZP.Text.withConfig({displayName:"indexstyles__TypingStatus",componentId:"sc-9m29vd-3"})(["margin-left:16px;margin-top:12px;padding-bottom:8px;font-family:Sohne;font-size:14px;line-height:20px;"]);var sO={v:"4.8.0",meta:{g:"LottieFiles AE 2.0.4",a:"",k:"",d:"",tc:""},fr:60,ip:0,op:210,w:500,h:500,nm:"Loader_Wheel_Loop_Thick_Lightmode",ddd:0,assets:[],layers:[{ddd:0,ind:1,ty:4,nm:"Shape Layer 2",parent:2,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}}
1,ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[565,565],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[.286274509804,.286274509804,.286274509804,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:58,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,-.5],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.685],y:[1]},o:{x:[.901],y:[0]},t:30,s:[0]},{t:210,s:[82]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.332],y:[0]},t:0,s:[18]},{t:210,s:[100]}],ix:2},o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[-90]},{t:210,s:[335]}],ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:211,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Shape Layer 1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[250,250,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[80,80,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[565,565],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[.796078431373,.796078431373,.796078431373,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:58,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,-.5],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:211,st:0,bm:0}],markers:[]},sN={v:"4.8.0",meta:{g:"LottieFiles AE 2.0.4",a:"",k:"",d:"",tc:""},fr:60,ip:0,op:210,w:500,h:500,nm:"Loader_Wheel_Loop_Thick_Dark",ddd:0,assets:[],layers:[{ddd:0,ind:1,ty:4,nm:"Shape Layer 2",parent:2,sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[0,0,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[100,100,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[565,565],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[.541176470588,.592156862745,.635294117647,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:58,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,-.5],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1},{ty:"tm",s:{a:1,k:[{i:{x:[.685],y:[1]},o:{x:[.901],y:[0]},t:30,s:[0]},{t:210,s:[82]}],ix:1},e:{a:1,k:[{i:{x:[0],y:[1]},o:{x:[.332],y:[0]},t:0,s:[18]},{t:210,s:[100]}],ix:2},o:{a:1,k:[{i:{x:[.833],y:[.833]},o:{x:[.167],y:[.167]},t:0,s:[-90]},{t:210,s:[335]}],ix:3},m:1,ix:2,nm:"Trim Paths 1",mn:"ADBE Vector Filter - Trim",hd:!1}],ip:0,op:211,st:0,bm:0},{ddd:0,ind:2,ty:4,nm:"Shape Layer 1",sr:1,ks:{o:{a:0,k:100,ix:11},r:{a:0,k:0,ix:10},p:{a:0,k:[250,250,0],ix:2},a:{a:0,k:[0,0,0],ix:1},s:{a:0,k:[80,80,100],ix:6}},ao:0,shapes:[{ty:"gr",it:[{d:1,ty:"el",s:{a:0,k:[565,565],ix:2},p:{a:0,k:[0,0],ix:3},nm:"Ellipse Path 1",mn:"ADBE Vector Shape - Ellipse",hd:!1},{ty:"st",c:{a:0,k:[.2,.239215686275,.274509803922,1],ix:3},o:{a:0,k:100,ix:4},w:{a:0,k:58,ix:5},lc:1,lj:1,ml:4,bm:0,nm:"Stroke 1",mn:"ADBE Vector Graphic - Stroke",hd:!1},{ty:"tr",p:{a:0,k:[0,-.5],ix:2},a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},r:{a:0,k:0,ix:6},o:{a:0,k:100,ix:7},sk:{a:0,k:0,ix:4},sa:{a:0,k:0,ix:5},nm:"Transform"}],nm:"Ellipse 1",np:3,cix:2,bm:0,ix:1,mn:"ADBE Vector Group",hd:!1}],ip:0,op:211,st:0,bm:0}],markers:[]},sP=b.ZP.View.withConfig({displayName:"indexstyles__LogoContainer",componentId:"sc-1kwzwfv-0"})(["display:flex;justify-content:space-between;align-items:center;"]);function sI(){var e={loop:!0,autoplay:!0,animationData:(0,b.Fg)().IS_DARK_MODE?sN:sO,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}};return i.createElement(sP,null,i.createElement(G.Z,{options:e}))}var sF=b.ZP.View.withConfig({displayName:"indexstyles__StyledLoadingDot",componentId:"sc-6tct
10q-0"})(["background:",";height:12px;width:12px;border-radius:24px;margin:24px 4px;"],function(e){return e.theme.PRIMARY_TEXT}),sR=b.ZP.View.withConfig({displayName:"indexstyles__StyledLoadingDotsContainer",componentId:"sc-6tct0q-1"})(["display:flex;flex-flow:row;align-items:center;justify-content:center;"]);function sL(e){var t=e.numOfDots,n=e.delay,r=e.waiting,o=(0,i.useState)(function(){for(var e=[],n=0;n<t;n++){var i=new x.default.Value(0);e.push(i)}return e}),s=(0,a.Z)(o,1)[0],u=function e(t,i){var r=i;t>=s.length&&(t=0,r=0===i?1:0);var a=t+1;x.default.timing(s[t],{toValue:r,duration:n,useNativeDriver:!1}).start(function(){return e(a,r)})};return(0,i.useEffect)(function(){r&&u(0,0)},[]),i.createElement(sR,null,s.map(function(e,t){return i.createElement(sF,{key:"dot_".concat(t),as:x.default.View,style:{opacity:e.interpolate({inputRange:[0,1,2],outputRange:[.1,.2,.3]})}})}))}sL.defaultProps={numOfDots:3,delay:200};var sB=b.ZP.SafeAreaView.withConfig({displayName:"indexstyles__ContainerView",componentId:"pez66c-0"})(["margin-vertical:8px;"]),sM=b.ZP.View.withConfig({displayName:"indexstyles__ErrorContainer",componentId:"pez66c-1"})(["border-top-color:",";border-top-style:solid;border-top-width:1px;margin:16px;align-items:center;"],function(e){return e.theme.SECONDARY_TEXT}),sV=b.ZP.View.withConfig({displayName:"indexstyles__LoaderContainer",componentId:"pez66c-2"})(["height:24px;width:24px;"]),sU=b.ZP.Text.withConfig({displayName:"indexstyles__ErrorText",componentId:"pez66c-3"})(["margin-top:12px;margin-bottom:12px;text-align:center;font-family:Sohne;font-size:12px;line-height:15.6px;color:",";"],function(e){return e.theme.GREY5}),sG=b.ZP.View.withConfig({displayName:"indexstyles__BubbleView",componentId:"pez66c-4"})(["background:",";border-top-left-radius:16px;border-top-right-radius:16px;border-bottom-left-radius:0px;border-bottom-right-radius:16px;justify-content:center;margin-right:72px;margin-left:16px;width:84px;height:44px;"],function(e){return e.theme.BACKGROUND});function sj(e){var t=e.isAgentTyping,n=(0,i.useContext)(tE),r=n.hasError,a=n.hasNetworkingError,o=n.chatEnded,s=n.chatEndedBy,u=rt().t;return a?i.createElement(sM,null,i.createElement(sU,null,u("components.MOBILE_CHAT_RECONNECTING")),i.createElement(sV,null,i.createElement(sI,null))):!r||o&&"REMOTE"===s?t?i.createElement(sB,null,i.createElement(sG,null,i.createElement(sL,{numOfDots:3,delay:200,waiting:!0}))):null:i.createElement(sM,null,i.createElement(sU,null,u("components.SOMETHING_WENT_WRONG")))}function sZ(e){var t=e.agentName,n=e.cecTitle,r=e.chatSessionFlatListRef,a=e.chatSessionOpen,o=e.isAgentTyping,s=e.messages,u=rt().t,l=s.length,c=function(e,t){for(var n=eB(e.AbsoluteTime),i=t+1;i<l;i++){var r=s[i],a=r.Type,o=r.AbsoluteTime,u=r.ParticipantRole;if(a!==el){if(u===e.ParticipantRole&&eB(o)===n)return"";break}}return n};return i.createElement(sS,null,l?i.createElement(A.Z,{ref:r,data:s,renderItem:function(e){var n=e.item,r=e.index;return(null==n?void 0:n.Type)===el?i.createElement(ru,{agentName:t,chat:n,chatEnded:!a&&r===l-1}):i.createElement(sk,{agentName:t,chat:n,index:r,timestamp:c(n,r)})},keyExtractor:function(e,t){return t.toString()},onContentSizeChange:function(){var e=r.current;setTimeout(function(){null==e||e.scrollToEnd({animated:!0})},50)},ListHeaderComponent:function(){return i.createElement(sb,null,"".concat(u("features.MOBILE_INITIAL_MESSAGE")," ").concat(n))},ListFooterComponent:i.createElement(sj,{isAgentTyping:o})}):i.createElement(sw,null,u("features.CHAT_IS_STARTING")))}var sH=b.ZP.KeyboardAvoidingView.withConfig({displayName:"indexstyles__ContainerView",componentId:"sc-169kvqf-0"})(["flex:1;display:flex;background:",";font-family:Sohne;"],function(e){return e.theme.CHAT_SESSION_BACKGROUND}),sz=b.ZP.View.withConfig({displayName:"indexstyles__ButtonContainer",componentId:"sc-169kvqf-1"})(["margin-bottom:24px;align-items:center;color:",";background:",";border-radius:50px;width:100%;"],function(e){return e.theme.BACKGROUND},function(e){return e.theme.DEFAULT_BUTTON}),sW=b.ZP.View.withConfig({displayName:"indexstyles__CloseChatFeedbackContainer",componentId:"sc-169kvqf-2"})(["display:flex;background:",";font-size:16px;line-height:16px;padding:24px 24px 55px 24px;"],function(e){return e.theme.CHAT_SESSION_BACKGROUND}),sY=b.ZP.Text.withConfig({displayName:"indexstyles__TextButton",componentId:"sc-169kvqf-3"})(["font-size:14px;line-height:15.4px;text-decoration:underline;text-decoration-color:",";text-align:center;color:",";"],function(e){return e.theme.PRIMARY_TEXT},function(e){return e.theme.PRIMARY_TEXT});b.ZP.Text.withConfig({displayName:"indexstyles__ButtonText",componentId:"sc-169kvqf-4"})(["height:24px;font-size:16px;line-height:24px;text-align:center;color:",";"],function(e){return e.theme.BACKGROUND});var sK=b.ZP.Text.withConfig({displayName:"indexstyles__EndText",componentId:"sc-169kvqf-5"})(["font-size:16px;line-height:16px;margin:16px;text-align:center;color:",";"],function(e){return e.theme.DEFAULT_BUTTON});function sX(e){var t=e.onClosePress,n=e.showFeedback,r=rt().t,a=(0,B.useNavigation)();return i.createElement(sW,null,i.createElement(sz,null,i.createElement(t6,{defaultButton:!0,onPress:t,disabled:!1},r("common.CLOSE_TEXT"))),(void 0===n||n)&&i.createElement(sY,{onPress:function(){return a.navigate(ey)}},r("screens.SHARE_FEEDBACK_TEXT")))}function sq(e){var t=e.strokeColor;return i.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M13 20L21 12L13 4",stroke:t,strokeWidth:"1.5",strokeLinecap:"square",strokeLinejoin:"round"}),i.createElement("path",{d:"M3 12H21",stroke:t,strokeWidth:"1.5"}))}b.ZP.ActivityIndicator.withConfig({displayName:"indexstyles__Spinner",componentId:"sc-169kvqf-6"})([""]);var sQ=b.ZP.TouchableOpacity.withConfig({displayName:"indexstyles__CategoryItemContainer",componentId:"sc-19lg2t6-0"})(["flex-direction:row;justify-content:space-between;padding-top:24px;padding-bottom:16px;display:flex;border-style:solid;border-bottom-width:1px;border-bottom-color:",";"],function(e){return e.theme.PRIMARY_TEXT}),sJ=b.ZP.View.withConfig({displayName:"indexstyles__CategoryItemIconContainer",componentId:"sc-19lg2t6-1"})(["top:4px;"]),s$=b.ZP.Text.withConfig({displayName:"indexstyles__Body",componentId:"sc-19lg2t6-2"})(["font-family:Sohne;font-size:20px;line-height:28px;color:",";"],function(e){return e.theme.PRIMARY_TEXT}),s0=(0,b.ZP)(A.Z).withConfig({displayName:"indexstyles__CategoryFlatlist",componentId:"sc-19lg2t6-3"})(["padding-top:40px;padding-bottom:16px;width:100%;"]);function s1(e){var t=e.title,n=e.handleCategoryPress,r=e.item,a=(0,i.useContext)(tE).chatTheme;return i.createElement(sQ,{onPress:function(){return n(r)}},i.createElement(s$,null,t),i.createElement(sJ,null,i.createElement(sq,{strokeColor:"dark"===a?rM.WHITE:rM.BLACK})))}function s2(e){var t=e.title,n=e.formatValue,r=e.options,a=e.getChatTokensFunc,o=(0,i.useContext)(tE),s=o.startChat,u=o.setShowOfflinePage,l=o.setCategory,c=o.gqlAPIEndpoint,d=o.groupName,p=void 0===d?"customer":d,m=o.teamAvailability,h=o.hasNetworkingError,f=function(e){var t;if(h)eV("NO_CONNECTION");else{var n=e.category_id,i=e.queue_id,r=e.name,o=!!m&&(null===(t=m[i||""])||void 0===t?void 0:t.chat_available);l(e),o?(ew({eventAction:ed.CHAT_START}),s(c,a,{category:n,groupName:p})):u(r)}};return i.createElement(s0,{title:t,data:r,renderItem:function(e){var t=e.item;return i.createElement(s1,{title:n(t.category_id),item:t,handleCategoryPress:f})},keyExtractor:function(e){return e.category_id}})}var s4=b.ZP.View.withConfig({displayName:"indexstyles__ContainerView",componentId:"sc-1cdb92t-0"})(["flex:1;display:flex;align-items:flex-start;flex-direction:column;padding:40px 24px 40px 24px;background-color:",";"],function(e){return e.theme.BACKGROUND});b.ZP.View.withConfig({displayName:"indexstyles__ButtonsContainer",componentId:"sc-1cdb92t-1"})(["margin-bottom:16px;"]);var s3=b.ZP.Text.withConfig({displayName:"indexstyles__Headline",componentId:"sc-1cdb92t-2"})(["font-family:Sohne;font-size:32px;line-height:37px;letter-spacing:-0.32px;text-align:left;color:",";"],function(e){return e.theme.PRIMARY_TEXT}),s5=b.ZP.View.withConfig({displayName:"indexstyles__SingleCategoryView",componentId:"sc-1cdb92t-3"})(["margin-bottom:0;"]),s8=b.ZP.View.withConfig({displayName:"indexstyles__TeamMessage",componentId:"sc-1cdb92t-4"})(["top:16px;width:100%;"]),s6=b.ZP.Text.withConfig({displayName:"indexstyles__Text",componentId:"sc-1cdb92t-5"})(["font-family:Sohne;font-size:32px;line-height:116%;flex-basis:content;display:",";"],function(e){return e.isMobile?"flex":"table"}),s7=(0,b.ZP)(s6).withConfig({displayName:"indexstyles__TeamMessageText",componentId:"sc-1cdb92t-6"})(["font-size:14px;color:",";line-height:18px;flex-direction:column;"],function(e){return e.theme.SECONDARY_TEXT}),s9=(0,b.ZP)(s7).withConfig({displayName:"indexstyles__SingleCategoryText",componentId:"sc-1cdb92t-7"})(["color:#151515;"]),ue=(0,b.ZP)(s7).withConfig({displayName:"indexstyles__HolidayText",componentId:"sc-1cdb92t-8"})(["color:#a05942;"]);function ut(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function un(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?ut(Object(n),!0).forEach(function(t){(0,c.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ut(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function ui(){var e=(0,b.Fg)();return i.createElement("svg",{width:"13",height:"14",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.createElement("path",{d:"M12.4764 9.58346V11.3369C12.4771 11.4997 12.4438 11.6608 12.3787 11.81C12.3136 11.9591 12.2182 12.093 12.0984 12.2031C11.9787 12.3131 11.8374 12.3969 11.6835 12.449C11.5296 12.5012 11.3665 12.5206 11.2047 12.5059C9.40972 12.3105 7.68548 11.6959 6.17057 10.7115C4.76113 9.81414 3.56618 8.61681 2.67057 7.20458C1.68472 5.67976 1.07121 3.9437 0.879735 2.13704C0.865158 1.97541 0.884328 1.81251 0.936027 1.65871C0.987725 1.50491 1.07082 1.36358 1.18001 1.24372C1.28921 1.12386 1.42212 1.02809 1.57028 0.962518C1.71844 0.896946 1.8786 0.863002 2.04057 0.86285H3.79057C4.07366 0.860058 4.34811 0.960506 4.56276 1.14547C4.77741 1.33043 4.91761 1.5873 4.95723 1.86817C5.0311 2.42933 5.16808 2.9803 5.36557 3.5106C5.44405 3.7198 5.46104 3.94716 5.41451 4.16574C5.36799 4.38432 5.2599 4.58496 5.10307 4.74387L4.36223 5.48618C5.19264 6.94948 6.40183 8.16107 7.86223 8.99312L8.60307 8.25082C8.76167 8.09367 8.96191 7.98537 9.18005 7.93876C9.3982 7.89214 9.62511 7.90916 9.8339 7.9878C10.3631 8.18568 10.913 8.32293 11.4731 8.39694C11.7564 8.437 12.0152 8.58001 12.2002 8.79878C12.3852 9.01755 12.4835 9.29681 12.4764 9.58346Z",stroke:e.BACKGROUND,strokeLinecap:"round",strokeLinejoin:"round"}))}b.ZP.ActivityIndicator.withConfig({displayName:"indexstyles__Spinner",componentId:"sc-1cdb92t-9"})(["flex:5;"]),b.ZP.View.withConfig({displayName:"indexstyles__Spacer",componentId:"sc-1cdb92t-10"})(["flex:4;"]),b.ZP.View.withConfig({displayName:"indexstyles__SpinnerContainer",componentId:"sc-1cdb92t-11"})(["display:flex;align-items:center;flex-direction:row;width:100%;justify-content:center;"]);var ur="PRIMARY",ua="SECONDARY",uo="TERTIARY",us={light:(uI={},(0,c.Z)(uI,ur,{background:{default:rV.light.DEFAULT_BUTTON,active:rV.light.ACTIVE_BUTTON,disabled:r
1V.light.DISABLED_BUTTON},border:{default:"transparent",active:"transparent",disabled:"transparent"},color:{default:rV.light.BACKGROUND,active:rV.light.GREY2,disabled:rV.light.GREY2}}),(0,c.Z)(uI,ua,{background:{default:"transparent",active:"transparent",disabled:"transparent"},border:{default:"1px solid ".concat(rV.light.DEFAULT_BUTTON),active:"1px solid ".concat(rV.light.ACTIVE_BUTTON),disabled:"1px solid ".concat(rV.light.DISABLED_BUTTON)},color:{default:rV.light.PRIMARY_TEXT,active:rV.light.ACTIVE_BUTTON,disabled:rV.light.DISABLED_BUTTON}}),(0,c.Z)(uI,uo,{background:{default:"transparent",active:"transparent",disabled:"transparent"},border:{default:"transparent",active:"transparent",disabled:"transparent"},color:{default:rV.light.FOREGROUND,active:rV.light.ACTIVE_BUTTON,disabled:rV.light.DISABLED_BUTTON}}),uI),dark:(uF={},(0,c.Z)(uF,ur,{background:{default:rV.dark.DEFAULT_BUTTON,active:rV.dark.ACTIVE_BUTTON,disabled:rV.dark.DISABLED_BUTTON},border:{default:"transparent",active:"transparent",disabled:"transparent"},color:{default:rV.dark.BACKGROUND,active:rV.dark.GREY2,disabled:rV.dark.GREY2}}),(0,c.Z)(uF,ua,{background:{default:"transparent",active:"transparent",disabled:"transparent"},border:{default:"1px solid ".concat(rV.dark.DEFAULT_BUTTON),active:"1px solid ".concat(rV.dark.ACTIVE_BUTTON),disabled:"1px solid ".concat(rV.dark.DISABLED_BUTTON)},color:{default:rV.dark.PRIMARY_TEXT,active:rV.dark.ACTIVE_BUTTON,disabled:r
1V.dark.DISABLED_BUTTON}}),(0,c.Z)(uF,uo,{background:{default:"transparent",active:"transparent",disabled:"transparent"},border:{default:"transparent",active:"transparent",disabled:"transparent"},color:{default:rV.dark.DEFAULT_BUTTON,active:rV.dark.ACTIVE_BUTTON,disabled:rV.dark.DISABLED_BUTTON}}),uF)},uu=b.ZP.View.withConfig({displayName:"indexstyles__ButtonContainer",componentId:"sc-3t75dh-0"})(["display:flex;align-items:flex-start;justify-content:flex-start;padding-horizontal:16px;width:100%;"]),ul=b.ZP.View.withConfig({displayName:"indexstyles__StyledButton",componentId:"sc-3t75dh-1"})(["align-items:center;justify-content:center;background:"," border:"," border-radius:55px;height:48px;width:100%;",""],function(e){var t=e.theme,n=e.variant;return us[t.THEME_MODE][n].background.default},function(e){var t=e.theme,n=e.variant;return us[t.THEME_MODE][n].border.default},function(e){return e.isWeb&&(0,b.iv)(["cursor:pointer;"])}),uc=b.ZP.Text.withConfig({displayName:"indexstyles__StyledContent",componentId:"sc-3t75dh-2"})(["font-family:Sohne;font-size:16px;height:24px;line-height:24px;color:",";text-decoration-line:",";"],function(e){var t=e.theme,n=e.variant;return us[t.THEME_MODE][n].color.default},function(e){return e.variant===uo?"underline":"none"});function ud(e){var t=e.children,n=e.variant,r=e.style,a=(0,D.Z)(e,["children","variant","style"]);return i.createElement(E.Z,a,i.createElement(uu,{style:r},i.createElement(ul,{variant:n,isWeb:"web"===h.Z.OS},i.createElement(uc,{variant:n},t))))}var up=b.ZP.View.withConfig({displayName:"indexstyles__ContainerView",componentId:"c4xlfe-0"})(["display:flex;align-items:flex-start;justify-content:flex-start;height:100%;background-color:",";"],function(e){return e.theme.BACKGROUND}),um=b.ZP.Text.withConfig({displayName:"indexstyles__HighlightText",componentId:"c4xlfe-1"})(["background-color:",";"],function(e){var t=e.theme;return t.IS_DARK_MODE?t.GREY2:t.SAND10}),uh=b.ZP.View.withConfig({displayName:"indexstyles__HoOContainer",componentId:"c4xlfe-2"})(["height:316px;width:100%;"]),uf=b.ZP.Text.withConfig({displayName:"indexstyles__Headline",componentId:"c4xlfe-3"})(["font-family:Sohne;font-size:32px;line-height:37px;padding-horizontal:24px;padding-top:40px;color:",";"],function(e){return e.theme.FOREGROUND}),uE=b.ZP.Text.withConfig({displayName:"indexstyles__Body",componentId:"c4xlfe-4"})(["font-family:Sohne;font-size:16px;line-height:24px;padding-horizontal:24px;color:",";"],function(e){return e.theme.FOREGROUND}),ug=b.ZP.View.withConfig({displayName:"indexstyles__IconContainer",componentId:"c4xlfe-5"})(["padding-horizontal:10px;"]),ux=(0,b.ZP)(uE).withConfig({displayName:"indexstyles__Subtitle",componentId:"c4xlfe-6"})(["margin-top:56px;color:",";"],function(e){return e.theme.FOREGROUND}),uy=(0,b.ZP)(uE).withConfig({displayName:"indexstyles__Footer",componentId:"c4xlfe-7"})(["margin-horizontal:auto;margin-top:auto;color:",";"],function(e){return e.theme.FOREGROUND}),uv=(0,b.ZP)(U.Z).withConfig({displayName:"indexstyles__StyledGradient",componentId:"c4xlfe-8"})(["flex:1;position:absolute;width:100%;height:46px;margin-top:270px;"]);b.ZP.View.withConfig({displayName:"indexstyles__TextView",componentId:"c4xlfe-9"})(["margin-bottom:16px;align-items:center;max-width:262px;text-align:left;display:flex;flex-basis:content;"]);var uA=b.ZP.Text.withConfig({displayName:"indexstyles__Text",componentId:"c4xlfe-10"})(["font-family:Sohne;font-size:24px;height:24px;line-height:24px;flex-basis:content;display:",";"],function(e){return e.isMobile?"flex":"table"}),uC=(0,b.ZP)(uA).withConfig({displayName:"indexstyles__TeamMessageText",componentId:"c4xlfe-11"})(["font-size:20px;color:",";line-height:28px;flex-direction:column;"],function(e){return e.theme.FOREGROUND});(0,b.ZP)(uC).withConfig({displayName:"indexstyles__HolidayText",componentId:"c4xlfe-12"})(["color:",";"],function(e){return e.theme.CLAY100});var u_=b.ZP.View.withConfig({displayName:"indexstyles__TeamMessage",componentId:"o1oxba-0"})(["top:16px;width:100%;"]),uT=b.ZP.Text.withConfig({displayName:"indexstyles__Text",componentId:"o1oxba-1"})(["font-family:Sohne;font-size:32px;line-height:116%;flex-basis:content;display:flex;color:",";"],function(e){return e.theme.FOREGROUND}),uD=(0,b.ZP)(uT).withConfig({displayName:"indexstyles__TeamMessageText",componentId:"o1oxba-2"})(["font-size:20px;color:",";line-height:28px;flex-direction:column;"],function(e){return e.theme.FOREGROUND}),uk=(0,b.ZP)(uD).withConfig({displayName:"indexstyles__HolidayText",componentId:"o1oxba-3"})(["color:",";"],function(e){var t=e.theme;return t.IS_DARK_MODE?t.SUNSET_RED:t.CLAY100});function uS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function ub(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?uS(Object(n),!0).forEach(function(t){(0,c.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uS(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function uw(){var e,t,n,r,a,o=(0,i.useContext)(tE),s=o.locale,u=o.categoryList,l=o.teamAvailability,c=o.user.category,d=rt().t,p=(r=(null==u?void 0:u.find(function(e){return c.category_id===e.category_id}))||{},ub(ub(ub({},a=l?l[r.queue_id||""]:{}),(n=((null==a?void 0:a.id)||"").toUpperCase().replace(/-/g,"_"),{altContact:d("customer.ALTERNATE_CONTACT_".concat(n)),awayMessage:d("customer.AWAY_MESSAGE_".concat(n)),teamName:d("customer.TEAM_NAME_".concat(n)),labels:{weekdays:d("availabilityLabels.WEEKDAYS"),weekends:d("availabilityLabels.WEEKENDS"),closed:d("availabilityLabels.CLOSED")}})),(null==a||null===(e=a.hoo_data)||void 0===e?void 0:e.hours)?{is24Hrs:0===((null==Object?void 0:Object.entries(a.hoo_data.hours).filter(function(e){if(!(null==e?void 0:e.length)||!e[1])return!0;var t=e[1];return!("00:00:00.000000"===t.start&&"00:00:00.000000"===t.end)}))||[]).length}:{is24Hrs:!1}));return i.createElement(u_,null,i.createElement(uD,null,(null==p||!p.is24Hrs)&&((null==p?void 0:p.chat_available)||"holiday"===p.reason_code||"outside_hoo"===p.reason_code)?eF(p,s):(null==p?void 0:p.awayMessage)||"",i.createElement(uk,null,(null==p||null===(t=p.holidays)||void 0===t?void 0:t.length)?eR(p,!1):"")))}function uO(e){var t=e.hoO,n=(0,b.Fg)();return t?i.createElement(uh,null,i.createElement(_.Z,{keyboardDismissMode:"on-drag",keyboardShouldPersistTaps:"always",showsVerticalScrollIndicator:!1,scrollEventThrottle:12,style:{paddingHorizontal:12,margin:12},contentContainerStyle:{paddingBottom:20}},t),i.createElement(uv,{colors:n.IS_DARK_MODE?["rgba(31, 31, 33, 0)","rgba(31, 31, 33, 1)"]:["rgba(255, 255, 255, 0)","rgba(255, 255, 255, 1)"]})):null}function uN(e){var t=e.titleStart,n=e.titleMid,r=e.titleEnd;return i.createElement(uf,null,"".concat(t," "),i.createElement(um,null,n)," ".concat(r))}function uP(e){var t=e.buttonText,n=e.buttonIcon,r=e.footerText,a=e.hoursOfOperation,o=e.onButtonPress,s=e.subtitle,u=e.titleStart,l=e.titleMid,c=e.titleEnd;return i.createElement(up,null,i.createElement(uN,{titleStart:u,titleMid:l,titleEnd:c}),i.createElement(ux,null,s),i.createElement(uO,{hoO:a}),i.createElement(uy,null,r),i.createElement(ud,{variant:ur,onPress:o,style:{marginVertical:"24px"}},n?i.createElement(ug,null,n):null,t))}var uI,uF,uR,uL=b.ZP.View.withConfig({displayName:"indexstyles__ContainerView",componentId:"sc-1sh4cxv-0"})(["display:flex;height:100%;background-color:",";align-items:center;justify-content:center;padding:24px;font-family:Sohne;"],rM.FOREST100),uB={backgroundColor:"".concat(rM.FOREST100),borderBottomColor:"".concat(rM.FOREST100)},uM=b.ZP.Text.withConfig({displayName:"indexstyles__Headline",componentId:"sc-1sh4cxv-1"})(["font-size:38px;line-height:43px;letter-spacing:-0.48px;text-align:left;color:",";"],rM.FOREST10),uV=b.ZP.View.withConfig({displayName:"indexstyles__IconsContainer",componentId:"sc-1sh4cxv-2"})(["height:80px;margin-top:48px;display:flex;flex-direction:row;width:100%;"]),uU=b.ZP.View.withConfig({displayName:"indexstyles__IconButton",componentId:"sc-1sh4cxv-3"})(["border-radius:50px;height:80px;width:80px;color:",";background-color:",";align-items:center;justify-content:center;margin-right:32px;"],rM.FOREST100,rM.FOREST10),uG=b.ZP.View.withConfig({displayName:"indexstyles__FeedbackFooterContainer",componentId:"sc-1sh4cxv-4"})(["position:absolute;bottom:12px;width:100%;padding-left:24px;padding-right:24px;"]),uj=b.ZP.Text.withConfig({displayName:"indexstyles__ButtonText",componentId:"sc-1sh4cxv-5"})(["border:1px solid ",";color:",";width:100%;text-align:center;padding:16px 0;border-radius:48px;font-size:16px;margin-bottom:24px;"],rM.WHITE,rM.WHITE),uZ=b.ZP.Text.withConfig({displayName:"indexstyles__NoThanksText",componentId:"sc-1sh4cxv-6"})(["align-self:center;font-size:14px;margin-bottom:24px;color:",";text-decoration:"," underline;"],rM.WHITE,rM.WHITE);function uH(){return(uH=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var uz,uW=function(e){return i.createElement("svg",uH({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,f
1ill:"none"},e),uR||(uR=i.createElement("path",{fill:"#212121",fillRule:"evenodd",d:"M9.086.594A1 1 0 0 1 10 0a4 4 0 0 1 4 4v3h4.655a3 3 0 0 1 2.994 3.45l-1.38 9A3 3 0 0 1 17.275 22H3a3 3 0 0 1-3-3v-7a3 3 0 0 1 3-3h2.35zM5 11H3a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h2zm2 9v-9.788l3.608-8.118A2 2 0 0 1 12 4v4a1 1 0 0 0 1 1h5.671a1 1 0 0 1 1 1.15l-1.38 9a1 1 0 0 1-1 .85z",clipRule:"evenodd"})))};function uY(){return(uY=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var uK=function(e){return i.createElement("svg",uY({xmlns:"http://www.w3.org/2000/svg",width:22,height:22,fill:"none"},e),uz||(uz=i.createElement("path",{fill:"#212121",fillRule:"evenodd",d:"M12.914 21.406A1 1 0 0 1 12 22a4 4 0 0 1-4-4v-3H3.345a3 3 0 0 1-2.994-3.45l1.38-9A3 3 0 0 1 4.725 0H19a3 3 0 0 1 3 3v7a3 3 0 0 1-3 3h-2.35zM17 11h2a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1h-2zm-2-9v9.788l-3.608 8.118A2 2 0 0 1 10 18v-4a1 1 0 0 0-1-1H3.329a1 1 0 0 1-1-1.15l1.38-9a1 1 0 0 1 1-.85z",clipRule:"evenodd"})))};function uX(e){var t=e.hidden,n=rt().t,r=(0,i.useContext)(tE).setFeedbackSatisfaction;return void 0!==t&&t?null:i.createElement(i.Fragment,null,i.createElement(E.Z,{onPress:function(){r(n("common.BUTTON_TEXT_YES")),ew({eventAction:"Did you get the help you needed?",eventLabel:"YES"})}},i.createElement(uU,null,i.createElement(uW,null))),i.createElement(E.Z,{onPress:function(){r(n("common.BUTTON_TEXT_NO")),ew({eventAction:"Did you get the help you needed?",eventLabel:"NO"})}},i.createElement(uU,null,i.createElement(uK,null))))}function uq(e){var t,n=e.feedbackSatisfaction,r=rt().t,a=(0,i.useContext)(tE),o=a.resetStore,l=a.endChat,c=(t=(0,u.Z)(s().mark(function e(){return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l(!0);case 2:o(),eV(em);case 4:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)});return i.createElement(uG,null,n===r("common.BUTTON_TEXT_NO")&&i.createElement(i.Fragment,null,i.createElement(t6,{onPress:function(){eV(eh,"tel:".concat(r("supportWidget.PHONE_LINKHREF")))}},i.createElement(uj,null,r("screens.CALL_US"))),i.createElement(t6,{onPress:c},i.createElement(uZ,null,r("screens.NO_THANKS")))),n===r("common.BUTTON_TEXT_YES")&&i.createElement(t6,{onPress:c},i.createElement(uj,null,r("common.CLOSE_TEXT"))))}var uQ=[{name:ef,title:"",component:function(e){var t=e.getChatTokensFunc,n=e.preselectedCategory,r=rt().t,o=(0,i.useContext)(tE),l=o.chatStrings,c=o.gqlAPIEndpoint,d=o.locale,p=o.showSpinner,m=o.startChat,h=o.step,f=o.setCategory,E=o.categoryList,g=o.teamAvailability,x=o.groupName,y=void 0===x?"customer":x,v=o.loadingCategories,A=o.endChat,C=o.resetStore,_=o.setShowOfflinePage,T=o.user,D=T.firstName,k=T.category,S=(0,i.useRef)(),b=(0,i.useState)({}),w=(0,a.Z)(b,2),O=w[0],N=w[1],P=(0,B.useNavigation)();(0,i.useEffect)(function(){"SHOW_WAIT_IN_QUEUE"===h?P.navigate(eE):"SHOW_OFFLINE_PAGE"===h&&P.navigate(ex)},[h,P]);var I=function(e){if(!e)return"";var t,n,i=(null==E?void 0:E.find(function(t){return e===t.category_id}))||{},r="".concat(null==i||null===(t=i.category_id)||void 0===t?void 0:t.toUpperCase(),"_DISPLAY_NAME");return(null==l||null===(n=l[y])||void 0===n?void 0:n[r])||i.display_name},F=function(e){var t,n=(null==E?void 0:E.find(function(t){return e===t.category_id}))||{},i=g?g[n.queue_id||""]:{};return un(un(un({selectedCategoryMetaData:n},i),function(e){if(!l[y])return{altContact:"",awayMessage:"",teamName:""};var t=((null==e?void 0:e.id)||"").toUpperCase().replace(/-/g,"_");return{altContact:r("customer.ALTERNATE_CONTACT_".concat(t)),awayMessage:r("customer.AWAY_MESSAGE_".concat(t)),teamName:r("customer.TEAM_NAME_".concat(t)),labels:{weekdays:r("availabilityLabels.WEEKDAYS"),weekends:r("availabilityLabels.WEEKENDS"),closed:r("availabilityLabels.CLOSED")}}}(i)),(null==i||null===(t=i.hoo_data)||void 0===t?void 0:t.hours)?{is24Hrs:0===((null==Object?void 0:Object.entries(i.hoo_data.hours).filter(function(e){if(!(null==e?void 0:e.length)||!e[1])return!0;var t=e[1];return!("00:00:00.000000"===t.start&&"00:00:00.000000"===t.end)}))||[]).length}:{is24Hrs:!1})};function R(){var e=r("screens.TEAM_OFFLINE_MESSAGE",{team:O.teamName}),t=(null==O?void 0:O.altContact)?" ".concat(r("screens.TEAM_OFFLINE_CTA")):"";return i.createElement(s5,null,i.createElement(s9,{isMobile:!0},"".concat(e).concat(t)))}function L(){var e;return(null==O?void 0:O.chat_available)||!k?null:i.createElement(s8,null,i.createElement(s7,{isMobile:!0},(null==O?void 0:O.is24Hrs)||!(null==O?void 0:O.chat_available)&&"holiday"!==O.reason_code&&"outside_hoo"!==O.reason_code?(null==O?void 0:O.awayMessage)||"":(null==O?void 0:O.is24Hrs)?"":eF(O,d),i.createElement(ue,{isMobile:!0},(null==O||null===(e=O.holidays)||void 0===e?void 0:e.length)?eR(O,d):"")))}return(0,i.useEffect)(function(){N(F(k))},[k,v]),(0,i.useEffect)(function(){if(n&&!k&&!v){var e,i=F(n);(f(null==i?void 0:i.selectedCategoryMetaData),N(i),null==i?void 0:i.chat_available)?(ew(ed.CHAT_START),m(c,t,{category:n,groupName:y})):_(null==i||null===(e=i.selectedCategoryMetaData)||void 0===e?void 0:e.name)}},[n,g,v]),(0,i.useEffect)(function(){p||v?P.setOptions({headerLeft:function(){return null}}):P.setOptions({headerLeft:function(){return i.createElement(o0,{onPress:(0,u.Z)(s().mark(function e(){return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A(!0);case 2:C(),eV(em);case 4:case"end":return e.stop()}},e)}))})}})},[p,v]),p&&v?i.createElement(o6,null):p||v?i.createElement(sm,null):i.createElement(s4,{ref:S},i.createElement(function(){return i.createElement(i.Fragment,null,i.createElement(s3,{isMobile:!0},r("screens.MOBILE_CATEGORY_GREETING",{name:null!=D?D:""})),(null==E?void 0:E.length)>1?i.createElement(s2,{title:r("common.CATEGORY"),formatValue:I,options:E,getChatTokensFunc:t}):i.createElement(i.Fragment,null,i.createElement(R,null),i.createElement(L,null)))},null))}},{name:eE,title:"",component:sm},{name:eg,title:"",component:function(e){var t,n,r=e.setHeightWithKeyboard,o=e.setIsKeyboardVisible,l=rt().t,c=(0,i.useContext)(tE),d=c.agentName,p=c.chatEndTime,m=c.chatSessionOpen,h=c.chatStartTime,f=c.chatStr
1ings,E=c.isAgentTyping,g=c.isMobile,x=c.messages,y=c.sendChat,v=c.endChat,A=c.chatEnded,C=c.cecTitle,_=c.resetStore,T=c.hasError,D=c.hasNetworkingError,k=(0,B.useNavigation)(),S=(0,i.useRef)(),b=(0,i.useRef)(),w=(0,i.useState)(!1),O=(0,a.Z)(w,2),N=O[0],P=O[1],I=!(g||H()),F=eD({chatInputRef:b,chatSessionFlatListRef:S,height:e_(100),isDesktop:I}),R=F.viewHeight,L=F.isKeyboardVisible,M=function(){P(!N)},V=(t=(0,u.Z)(s().mark(function e(){return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,v(!0);case 2:_(),eV(em);case 4:case"end":return e.stop()}},e)})),function(){return t.apply(this,arguments)}),U=(n=(0,u.Z)(s().mark(function e(){return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return P(!N),e.next=3,v(!0);case 3:k.navigate(ey);case 4:case"end":return e.stop()}},e)})),function(){return n.apply(this,arguments)});return(0,i.useEffect)(function(){o(L),r(R),setTimeout(function(){var e;null==S||null===(e=S.current)||void 0===e||e.scrollToEnd({animated:!0})},50)},[R]),i.useLayoutEffect(function(){k.setOptions({headerRight:function(){return p||D?null:i.createElement(t6,{onPress:M,styles:{marginTop:16}},i.createElement(sK,null,l("common.END")))}})},[k,p,D]),i.createElement(sH,{behavior:g?"padding":null,keyboardVerticalOffset:g?84:e_(100)},i.createElement(sr,{modalVisible:N,modalHeaderText:l("screens.ARE_YOU_SURE_PROMPT"),modalBodyText:l("screens.END_CHAT_MODAL_TEXT"),primaryButtonLabel:l("common.END_CHAT"),onPrimaryButtonClick:U},i.createElement(t6,{onPress:function(){return P(!N)}},i.createElement(sY,null,l("common.KEEP_CHATTING")))),i.createElement(sZ,{agentName:d,cecTitle:(null==f?void 0:f.agentTitles)&&(null==f?void 0:f.agentTitles[(null==C?void 0:C.toUpperCase())||""])||l("common.CUSTOMER_SERVICE_SPECIALIST")||l("common.CEC_TITLE"),chatSessionFlatListRef:S,chatSessionOpen:m,chatStartTime:h,isAgentTyping:E,messages:x}),A||T||D?i.createElement(sX,{onClosePress:V,showFeedback:!D}):i.createElement(sy,{chatInputRef:b,onSend:y,placeholder:l("features.MOBILE_INPUT_PLACEHOLDER")}))}},{name:ex,title:"",component:function(){var e=rt().t,t=(0,i.useContext)(tE),n=t.user.category,r=t.endChat,a=t.resetStore,o=e("customer.ALTERNATE_CONTACT_700383E6_C466_4D44_837F_1A823BFD77F2"),l=e("customer.ALTERNATE_CONTACT_5DCB64FE_919A_4E13_ACBD_D3EF96CC18A6"),c=n.name,d=(0,B.useNavigation)();return i.useLayoutEffect(function(){d.setOptions({headerLeft:function(){return i.createElement(o0,{onPress:(0,u.Z)(s().mark(function e(){return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r();case 2:a(),eV(em);case 4:case"end":return e.stop()}},e)}))})}})},[d]),ev.VEHICLE_SERVICE.includes(c)?i.createElement(uP,{titleStart:e("screens.QUEUE_OFFLINE_TITLE_START_SSOC"),titleMid:e("screens.QUEUE_OFFLINE_TEAM_SSOC"),titleEnd:e("screens.QUEUE_OFFLINE_TITLE_END_SSOC"),subtitle:e("screens.QUEUE_OFFLINE_SUBTITLE_SSOC"),buttonText:e("screens.QUEUE_OFFLINE_CTA_SSOC_SERVICE"),buttonIcon:i.createElement(ui,null),onButtonPress:function(){l&&eV(eh,"tel:".concat(l))}}):ev.ROADSIDE_ASSISTANCE.includes(c)?i.createElement(uP,{titleStart:e("screens.QUEUE_OFFLINE_TITLE_START_SSOC"),titleMid:e("screens.QUEUE_OFFLINE_TEAM_SSOC"),titleEnd:e("screens.QUEUE_OFFLINE_TITLE_END_SSOC"),subtitle:e("screens.QUEUE_OFFLINE_SUBTITLE_SSOC"),buttonText:e("screens.QUEUE_OFFLINE_CTA_SSOC_ROADSIDE"),buttonIcon:i.createElement(ui,null),onButtonPress:function(){o&&eV(eh,"tel:".concat(o))}}):i.createElement(uP,{titleStart:e("screens.QUEUE_OFFLINE_TITLE_START_CEC"),titleMid:e("screens.QUEUE_OFFLINE_TEAM_CEC"),titleEnd:e("screens.QUEUE_OFFLINE_TITLE_END_CEC"),subtitle:e("screens.QUEUE_OFFLINE_SUBTITLE_CEC"),footerText:e("screens.QUEUE_OFFLINE_FOOTER_CEC"),buttonText:e("screens.QUEUE_OFFLINE_CTA_CEC"),onButtonPress:function(){eV(eh,"mailto:".concat(e("components.CONTACT_EMAIL")))},hoursOfOperation:i.createElement(uw,null)})}},{name:ey,title:"",component:function(){var e,t=(0,i.useContext)(tE),n=t.feedbackSatisfaction,r=t.endChat,a=t.resetStore,o=(0,b.Fg)(),l=(0,B.useNavigation)(),c=function(){var e=rt().t,t=(0,i.useContext)(tE).feedbackSatisfaction,n=e("common.BUTTON_TEXT_YES"),r=e("common.BUTTON_TEXT_NO");switch(t){case n:return e("screens.SATISFACTION_ACKNOWLEDGEMENT");case r:return e("screens.CALL_FOR_HELP_PROMPT");default:return e("screens.SATISFACTION_PROMPT")}}(),d=(e=(0,u.Z)(s().mark(function e(){return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return eV(em),e.next=3,r(!0);case 3:a();case 4:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)});
1return i.useLayoutEffect(function(){l.setOptions({headerStyle:uB,headerLeft:function(){return i.createElement(o0,{strokeColor:o.WHITE,onPress:d})}})},[l]),i.createElement(uL,null,i.createElement(uM,null,c),i.createElement(uV,null,i.createElement(uX,{hidden:!!n})),i.createElement(uq,{feedbackSatisfaction:n}))}}];function uJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function u$(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uJ(Object(n),!0).forEach(function(t){(0,c.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uJ(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var u0=(0,V.Z)();function u1(e){var t,n,r=e.expandChat,a=e.onClosePress,o=e.step,s=e.getChatTokensFunc,u=e.category,l=e.waiting,c=e.setHeightWithKeyboard,d=e.setIsKeyboardVisible,p=(n=rU[t=(0,i.useContext)(tE).chatTheme],rB(rB(rB({},rV[t]),n),rM));return i.createElement(b.f6,{theme:p},i.createElement(rj,null,i.createElement(rZ,{expandChat:r},i.createElement(M.Z,null,i.createElement(u0.Navigator,{initialRouteName:ef},uQ.map(function(e,t){var n=e.name,r=e.title,m=e.component;return i.createElement(u0.Screen,{name:n,key:t,options:function(e){var t,n=e.route;return{title:(null==n||null===(t=n.params)||void 0===t?void 0:t.title)||r||"",headerTitleAlign:"center",headerLeft:function(){return i.createElement(o0,{onPress:function(){return eV(em)}})},headerStatusBarHeight:"ios"===h.Z.OS?54:34,headerStyle:{backgroundColor:p.BACKGROUND,borderBottomColor:p.BACKGROUND,elevation:0,shadowOpacity:0,zIndex:20}}}},function(e){return i.createElement(m,u$(u$({},e),{},{getChatTokensFunc:s,preselectedCategory:u,setHeightWithKeyboard:c,setIsKeyboardVisible:d,onCancelPress:a,waiting:l,step:o}))})}))))))}function u2(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function u4(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u2(Object(n),!0).forEach(function(t){(0,c.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u2(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u3(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var u5=/^[a-zà-öø-ÿ]+|[A-ZÀ-ÖØ-ß][a-zà-öø-ÿ]+|[a-zà-öø-ÿ]+|[0-9]+|[A-ZÀ-ÖØ-ß]+(?![a-zà-öø-ÿ])/g,u8=/\S+/g;function u6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function u7(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u6(Object(n),!0).forEach(function(t){(0,c.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u6(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u9(e){var t,n,r,o=e.height,l=e.styles,c=e.user,d=e.width,p=e.category,m=e.groupName,h=e.getChatTokensFunc,f=e.onClose,E=e.waiting,g=void 0===E||E,y=rt().t,v=(0,i.useContext)(tE),A=v.chatStrings,C=v.endChat,_=v.expandChat,T=v.feedbackSatisfaction,D=v.hasError,k=v.hasNetworkingError,S=v.hasUnreadMessages,b=v.isMobile,w=v.isWeb,O=v.playNotificationSound,N=v.playSound,P=v.resetStore,I=v.setExpandChat,F=v.setFeedbackSatisfaction,R=v.setPlaySound,L=v.setShowChat,B=v.setShowCategoryPage,M=v.setUser,V=v.showChat,U=v.showSpinner,G=v.step,j=v.setChatTheme;eo=rt().t,es=tG(),el=(eu=(0,i.useContext)(tE)).gqlAPIEndpoint,ec=eu.setLoadingCategories,ep=eu.setGroupName,em=eu.setCategoriesAndAvailability,(0,i.useEffect)(function(){var e;el&&(e=(0,u.Z)(s().mark(function e(){var t;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return ec(!0),ep(m),e.prev=2,e.next=5,th({gqlAPIEndpoint:el,groupName:m,locale:es});
1case 5:(t=e.sent).chatCategories.forEach(function(e){var t,n;e.display_name=eo("categories.".concat((function(e,t){var n=t||{},i=n.keepSpecialCharacters,r=void 0!==i&&i,a=n.keep,o=n.prefix,s=void 0===o?"":o,u=e.trim().normalize("NFC"),l=u.includes(" "),c=function(e,t){var n,i={parts:[],prefixes:[]},r=0,a=function(e,t){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return u3(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u3(e,void 0)}}(e))){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,a,o=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(s)throw a}}}}(e.matchAll(t));try{for(a.s();!(n=a.n()).done;){var o=n.value;if("number"==typeof o.index){var s=o[0];i.parts.push(s);var u=e.slice(r,o.index).trim();i.prefixes.push(u),r=o.index+s.length}}}catch(e){a.e(e)}finally{a.f()}var l=e.slice(r).trim();return l&&(i.parts.push(""),i.prefixes.push(l)),i}(u,l?u8:u5);return c.parts.map(function(e,t){var n=c.prefixes[t]||"",i=e;return!1===r&&(a&&(i=i.normalize("NFD").replace(RegExp("[^a-zA-Z\xd8\xdf\xf80-9".concat(a.join(""),"]"),"g"),"")),a||(i=i.normalize("NFD").replace(/[^a-zA-ZØßø0-9]/g,""),n="")),a&&(n=n.replace(RegExp("[^".concat(a.join(""),"]"),"g"),"")),0===t?n+i:n||i?l&&!n&&s.match(/\s/)?" "+i:(n||s)+i:""}).filter(Boolean)})(null!==(t=e.display_name)&&void 0!==t?t:e.name,u4(u4({},n),{},{prefix:"-"})).join("").toLowerCase()))}),em(t),e.next=12;break;case 10:e.prev=10,e.t0=e.catch(2);case 12:ec(!1);case 13:case"end":return e.stop()}},e,null,[[2,10]])})),function(){return e.apply(this,arguments)})(m)},[el,m,es]);var Z=A.common,H=Z.CANCEL_CHAT,z=Z.CLOSE_CHAT,W=Z.DOMAIN_NAME,Y=Z.RETURN_TO_CHAT,K=(0,i.useState)(""),X=(0,a.Z)(K,2),q=X[0],Q=X[1],J=(0,i.useState)({height:e_(100),width:eT(100)}),$=(0,a.Z)(J,2),ee=$[0],et=$[1],en=(0,i.useRef)(new x.default.Value(_?1:0)).current,ei=new URLSearchParams(window.location.search),er=ei.get("launchChat");(0,i.useEffect)(function(){!(null==c?void 0:c.email)||"SHOW_USER_FORM"!==G||U||er||(M(c),B(!0))},[G,c,window.location.search]),(0,i.useEffect)(function(){g&&x.default.spring(en,{toValue:_?1:0,bounciness:0,useNativeDriver:!1}).start()},[V,_]);var ea=function(){et({height:e_(100),width:eT(100)})};(0,i.useEffect)(function(){var e;return(null===(e=window)||void 0===e?void 0:e.addEventListener)&&window.addEventListener("resize",ea),function(){var e;(null===(e=window)||void 0===e?void 0:e.removeEventListener)&&window.removeEventListener("resize",ea)}},[]);var eo,es,eu,el,ec,ep,em,eh,ef,eE,eg,ex=(eh=(0,u.Z)(s().mark(function e(){return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return setTimeout(function(){return I(!1)},50),e.next=3,C();case 3:L(!1),Q(null),f&&f({feedback:null!=T?T:""}),P(),tD.removeItem("RIV_CHAT_STATE"),tb({name:"RIV_CHAT_STATE",domain:W});case 9:case"end":return e.stop()}},e)})),function(){return eh.apply(this,arguments)}),ey=(ef=(0,u.Z)(s().mark(function e(){return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return ew({eventAction:H,eventLabel:"YES"}),e.next=3,ex();case 3:case"end":return e.stop()}},e)})),function(){return ef.apply(this,arguments)}),ev=(eE=(0,u.Z)(s().mark(function e(){return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return ew(ed.CLICKED_X),e.next=3,ex();case 3:case"end":return e.stop()}},e)})),function(){return eE.apply(this,arguments)}),eA=function(){ew({eventAction:H,eventLabel:"NO"}),Q(!1)};"SHOW_WAIT_IN_QUEUE"===G?ev=function(){Q(y("screens.WAIT_SCREEN_ALERT_MESSAGE")),ew(ed.CLICKED_X)}:"SHOW_CHAT_SESSION"===G&&(T?(ey=null,eA=null):(w&&(ev=function(){Q(y("screens.CHAT_SCREEN_FEEDBACK_MESSAGE")),ew(ed.CLICKED_X)}),t=(0,u.Z)(s().mark(function e(){return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return F(y("common.BUTTON_TEXT_YES")),e.next=3,C();case 3:Q(y("screens.CHAT_SCREEN_FEEDBACK_THANKYOU")),ew({eventAction:"CHAT_SCREEN_FEEDBACK_MESSAGE",eventLabel:"YES"});case 5:case"end":return e.stop()}},e)})),ey=function(){return t.apply(this,arguments)},n=(0,u.Z)(s().mark(function e(){return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return F(y("common.BUTTON_TEXT_NO")),e.next=3,C();case 3:Q(y("screens.CHAT_SCREEN_FEEDBACK_THANKYOU")),ew({eventAction:"CHAT_SCREEN_FEEDBACK_MESSAGE",eventLabel:"NO"});case 5:case"end":return e.stop()}},e)})),eA=function(){return n.apply(this,arguments)},eg=function(){Q(!1),ew({eventAction:Y})}));var eC=(r=(0,u.Z)(s().mark(function e(){return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return ew({eventAction:z}),e.next=3,ex();case 3:case"end":return e.stop()}},e)})),function(){return r.apply(this,arguments)}),eD=ee.width<=768,ek=ee.width<=480,eS=(0,i.useState)(null),eb=(0,a.Z)(eS,2),eO=eb[0],eN=eb[1],eP=(0,i.useState)(null),eI=(0,a.Z)(eP,2),eF=eI[0],eR=eI[1],eL=o,eB=d,eM=l;_&&eD&&!er?(eL=eF?eO:ee.height,eB=ee.width,eM=u7(u7({},l),{},{position:b?"absolute":"fixed",top:0,bottom:0,left:0,right:0})):!_&&(b||eD||ek)&&(eB=44),(0,i.useEffect)(function(){window&&window.document&&(window.document.body.style.position=eD&&_?"fixed":"")},[_,eD]);var eV="SHOW_CHAT_SESSION"===G,eG=!eV&&(k||D),eH=function(){return I(!_)},ez=ej();return(0,i.useEffect)(function(){var e=eZ();j((null==e?void 0:e.chatTheme)||ei.get("chatTheme")||"light"),"true"!==er||_||I(!0)},[window.location.search,window.localStorage]),i.createElement(rG,{as:x.default.View,style:b||er?{}:{height:en.interpolate({inputRange:[0,1],outputRange:["".concat(V?"40px":"0px"),"".concat(eL,"px")]})},dimensions:ee,height:_?eL:40,isMobile:b,smScreen:eD,xsScreen:ek,styles:eM,width:eB,isMobileApp:er,isKeyboardVisible:eF,heightWithKeyboard:eO},er?i.createElement(u1,{expandChat:_,onClosePress:ev,step:G,getChatTokensFunc:h,category:(null==ez?void 0:ez.chatCategory)||eU()||p,waiting:g,setHeightWithKeyboard:eN,setIsKeyboardVisible:eR}):i.createElement(rz,{expandChat:_,smScreen:eD,onClosePress:ev,onMinMaxPress:eH},i.createElement(rj,null,i.createElement(rn,{expandChat:_,hasUnreadMessages:S,onClosePress:ev,onMinMaxPress:eH,playSound:N,showVolumeButton:"SHOW_USER_FORM"!==G,smScreen:eD,toggleSound:R}),i.createElement(rZ,{expandChat:_},"SHOW_USER_FORM"===G&&i.createElement(oJ,{getChatTokensFunc:h}),"SHOW_CATEGORY_PAGE"===G&&i.createElement(aD,{getChatTokensFunc:h,preselectedCategory:p}),"SHOW_WAIT_IN_QUEUE"===G&&i.createElement(oL,{onCancelPress:ev,waiting:g}),"SHOW_CHAT_SESSION"===G&&i.createElement(ow,{getChatTokensFunc:h,setHeightWithKeyboard:eN,setIsKeyboardVisible:eR})),O&&i.createElement("audio",{src:"https://assets.rivian.com/2md5qhoeajym/2A1K8QZlRAt0lxXYjHHK70/06142229f29a413adafffad3b7f2248f/NewMessage.mp3",autoPlay:!0})),(!!q||eG)&&_&&i.createElement(rR,{isChatSession:eV,isErrorView:eG,isReconnecting:!D&&k,message:q,onBackPress:eg,onCloseChat:eC,onNoPress:eA,onYesPress:ey})))}var le=function(e){var t,n,r=(0,i.useRef)(null);return(0,i.useEffect)(function(){var t,n,i,a,o,s,u,l,c,d=null===(l=window)||void 0===l||null===(c=l.document)||void 0===c?void 0:c.querySelector("#".concat(e)),p=d||(null==(u=null===(o=window)||void 0===o||null===(s=o.document)||void 0===s?void 0:s.createElement("div"))||u.setAttribute("id",e),u);return d||null===(t=window)||void 0===t||null===(n=t.document)||void 0===n||n.body.insertBefore(p,null===(i=window)||void 0===i||null===(a=i.document)||void 0===a?void 0:a.body.lastElementChild.nextElementSibling),p.appendChild(r.current),function(){r.current.remove(),-1===p.childNodes.length&&p.remove()}},[]),r.current||(r.current=null===(t=window)||void 0===t||null===(n=t.document)||void 0===n?void 0:n.createElement("div")),r.current},lt=function(e){var t=e.id,n=e.children,i=le(t);return(0,r.createPortal)(n,i)},ln=b.ZP.View.withConfig({displayName:"indexstyles__ContainerView",componentId:"sc-1anbczz-0"})(["display:flex;flex-direction:column;height:100%;width:100%;background-color:",";"],rV.light.BACKGROUND),li=b.ZP.View.withConfig({displayName:"indexstyles__ContentView",componentId:"sc-1anbczz-1"})(["margin:auto;"]),lr=b.ZP.Text.withConfig({displayName:"indexstyles__Title",componentId:"sc-1anbczz-2"})(["font-size:32px;color:",";text-align:center;"],rV.light.FOREGROUND),la=b.ZP.Text.withConfig({displayName:"indexstyles__Subtitle",componentId:"sc-1anbczz-3"})(["font-size:14px;color:",";text-align:center;margin-top:16px;"],rV.light.FOREGROUND),lo=b.ZP.Text.withConfig({displayName:"indexstyles__ButtonText",componentId:"sc-1anbczz-4"})(["font-size:16px;line-height:16px;color:",";text-align:center;"],rV.light.BACKGROUND),ls={backgroundColor:rV.light.FOREGROUND,height:48,borderRadius:48,marginHorizontal:16,marginBottom:40,marginTop:"auto"};function lu(){var e,t=rt().t,n=(0,i.useContext)(tE),r=n.endChat,a=n.resetStore,o=(e=(0,u.Z)(s().mark(function e(){return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r(!0);case 2:a(),eV(em);case 4:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)});return i.createElement(ln,null,i.createElement(li,null,i.createElement(lr,null,t("common.UNAVAILABLE")),i.createElement(la,null,t("common.SERVICE_ERROR_MESSAGE"))),i.createElement(t6,{onPress:o,styles:ls},i.createElement(lo,null,t("common.CLOSE_TEXT"))))}var ll=function(e){(0,I.Z)(r,e);var t,n=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}(),function(){var e,n=(0,R.Z)(r);return e=t?Reflect.construct(n,arguments,(0,R.Z)(this).constructor):n.apply(this,arguments),(0,F.Z)(this,e)});function r(e){var t;return(0,O.Z)(this,r),(t=n.call(this,e)).state={hasError:!1},t}
1return(0,N.Z)(r,[{key:"componentDidCatch",value:function(e,t){}},{key:"render",value:function(){return this.state.hasError?i.createElement(lu,null):this.props.children}}],[{key:"getDerivedStateFromError",value:function(e){return{hasError:!0}}}]),r}(i.Component),lc=b.ZP.View.withConfig({displayName:"ChatWidget__MainViewBackground",componentId:"k51v0o-0"})(["background:",";"," height:100vh;width:100vw;overflow-y:hidden;top:0;bottom:0;left:0;right:0;position:absolute;"],function(e){return rU[e.chatTheme].CHAT_SESSION_BACKGROUND},function(e){return e.zIndex&&(0,b.iv)(["z-index:",";"],e.zIndex)});function ld(e){var t=e.launchChat,n=(0,D.Z)(e,["launchChat"]);return t?i.createElement(ll,null,i.createElement(u9,n)):i.createElement(u9,n)}function lp(e){var t,n,r=e.portalRootId,a=(e.styles||{}).zIndex,o=(0,i.useContext)(tE).chatTheme,s=new URLSearchParams(null===(t=window)||void 0===t||null===(n=t.location)||void 0===n?void 0:n.search),u=null==s?void 0:s.get("launchChat"),l=i.createElement(ld,(0,S.Z)({launchChat:u},e));return i.createElement(i.Fragment,null,u&&i.createElement(lc,{zIndex:a,chatTheme:void 0===o?"light":o}),r?i.createElement(lt,{id:r},l):l)}var lm=b.ZP.Text.withConfig({displayName:"indexstyles__StyledText",componentId:"jy9nwu-0"})(["font-family:Sohne Mono;color:#000000;font-size:17px;font-weight:700;margin-bottom:5px;",""],function(e){return e.underline&&"\n    text-decoration-line: underline;\n  "});function lh(e){var t,n=e.isDisabled,r=e.label,a=e.onOpen,o=e.statusLabels,s=(0,D.Z)(e,["isDisabled","label","onOpen","statusLabels"]),u=(0,i.useContext)(tE),l=u.chatSessionOpen,c=u.chatStartTime,d=u.setExpandChat,p=u.setShowChat,m=u.showChat;return n?t="string"==typeof o.chatUnavailable?i.createElement(lm,null,o.chatUnavailable):o.chatUnavailable:l&&c?t="string"==typeof o.onChatInSession?i.createElement(lm,null,o.onChatInSession):o.onChatInSession:m?t="string"==typeof o.onOpenWidget?i.createElement(lm,null,o.onOpenWidget):o.onOpenWidget:(t="string"==typeof r?i.createElement(lm,{underline:!0},r):r,i.createElement(t6,(0,S.Z)({},s,{centered:!1,disabled:n,onPress:function(){a&&a(),ew(ed.OPEN),p(!0),d(!0)}}),t))}function lf(e){return i.createElement(lh,e)}if(lh.defaultProps={isDisabled:!1,label:"Start a chat",statusLabels:{chatUnavailable:"Chat is unavailable",onChatInSession:"Chat in session",onOpenWidget:"Starting chat"}},window&&window.document){var lE=window.document.getElementById("react-chat-app");lE&&r.render(i.createElement(function(){return i.createElement(tj,{gqlAPIEndpoint:"<gql_endpoint>"},i.createElement(lp,{height:500,styles:{fontFamily:"Sohne",position:"fixed",bottom:"0px",right:"40px"},user:null,groupName:"customer",category:null,width:300}))},null),lE)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.