PageSourceSearch

https://theorg.com/_next/static/chunks/pages/opt-out/position-confirm-718b457297bcb8cc.js

js theorg.com collected 2026-10-01 08:27:13 UTC 27,358 bytes, 23 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[341],{11687:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});var n=i(55942);let o={colors:{fg:{default:n.Hms.sand12,muted:n.Hms.sand10,soft:n.Hms.sand6,defaultInverse:n.Hms.sand1,mutedInverse:n.Hms.sand8,softInverse:n.Hms.sand11},bg:{default:"white",soft:n.Hms.sand1,softHover:n.Hms.sand3,softActive:n.Hms.sand5,muted:n.Hms.sand2,defaultInverse:n.Hms.sand12,defaultInverseHover:n.Hms.sand11,defaultInverseActive:"#5C5B58",accent:n.Zpd.purple7,accentHover:n.Zpd.purple6,accentActive:n.Zpd.purple7}}}},12389:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSG:()=>m,default:()=>x});var n=i(37876),o=i(14232),r=i(61157),a=i(21626),s=i(66299),c=i(89099),l=i(44345),d=i(66238);let p=a.Ay.div.withConfig({componentId:"sc-9bacefc0-0"})(["display:flex;flex-direction:column;align-items:center;gap:24px;width:400px;"]),u=a.Ay.div.withConfig({componentId:"sc-9bacefc0-1"})(["width:100%;border:1px solid var(--neutral-30);border-radius:8px;padding:16px;display:grid;grid-template-areas:'image name' 'image role';grid-row-gap:4px;grid-column-gap:12px;grid-template-columns:56px 1fr;background:var(--neutral-0);"]),g=(0,a.Ay)(d.Ay).withConfig({componentId:"sc-9bacefc0-2"})(["grid-area:image;grid-row-start:1;grid-row-end:3;"]),f=a.Ay.span.withConfig({componentId:"sc-9bacefc0-3"})(["grid-area:name;font-size:16px;font-weight:600;color:",";min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"],({theme:e})=>e.color("text")("textBlack")),h=a.Ay.span.withConfig({componentId:"sc-9bacefc0-4"})(["grid-area:role;font-size:14px;color:",";min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"],({theme:e})=>e.color("text")("secondary"));var m=!0;let x=()=>{let e=(0,c.useRouter)(),[t,i]=(0,o.useState)(null);return((0,o.useEffect)(()=>{if(!e.isReady)return;if(!("string"==typeof e.query.state?e.query.state:null))return void e.replace("/opt-out");let t=(0,l.Gu)(e.query);t?i(t):e.replace("/opt-out")},[e.query,e.isReady,e]),t)?(0,n.jsx)(r.Ay,{title:"Report position",subTitle:"Confirm the position that you want to remove",children:(0,n.jsxs)(p,{children:[(0,n.jsxs)(u,{children:[(0,n.jsx)(g,{image:t.profileImage??null,fullName:t.fullName,companyLogo:t.companyLogo??null,companyName:t.companyName,size:6}
1),(0,n.jsx)(f,{children:t.fullName}),(0,n.jsx)(h,{children:t.companyName})]}),(0,n.jsx)(s.A,{size:"large",width:"120px",label:"Confirm",variant:"primary",onClick:()=>{let t="string"==typeof e.query.state?e.query.state:null;t&&e.push(`/opt-out/email?state=${t}`)}})]})}):null}},24237:(e,t,i)=>{"use strict";i.d(t,{HB:()=>r,xC:()=>n,zu:()=>o});let n="https://ecosystem.hubspot.com/marketplace/listing/the-org",o="/api/auth/crm/hubspot-crm";function r(e){return"string"==typeof e&&e.startsWith("/api/auth/crm/")}},33374:(e,t,i)=>{"use strict";i.d(t,{$n:()=>f,pd:()=>$,aH:()=>l,Iz:()=>S,o5:()=>o,PD:()=>O.PD,ec:()=>O.ec,Wh:()=>O.Wh,nD:()=>O.nD,Fo:()=>O.Fo,EJ:()=>O.EJ});var n=i(21626);let o=n.Ay.p.withConfig({componentId:"sc-50ad6258-0"})(["margin:0;font-size:",";font-family:",";line-height:",";text-align:",";font-weight:",";color:",";white-space:",";"],e=>e.fontSize||"16px",e=>e.type,e=>e.lineHeight||1,e=>e.textAlign||"start",e=>e.fontWeight||400,e=>e.color||e.theme.color("text")("primary"),e=>e.whiteSpace||"pre-wrap");var r=i(37876);i(14232);var a=i(51758);let s=(0,n.Ay)(a.A).withConfig({componentId:"sc-5e6ba7f0-0"})([""]),c=n.Ay.div.withConfig({componentId:"sc-5e6ba7f0-1"})(["display:inline-flex;animation-name:rotate;animation-duration:",";animation-iteration-count:infinite;animation-direction:",";transform-origin:50% 50%;animation-timing-function:linear;@keyframes rotate{0%{transform:rotate(0);}100%{transform:rotate(360deg);}}"],e=>`${e.speed}s`,e=>e.reverse?"reverse":"normal"),l=({className:e,speed:t=1,reverse:i=!1,customLoadComponent:n})=>(0,r.jsx)(c,{className:e,speed:t,reverse:i,children:n||(0,r.jsx)(s,{})}),d=(e,t)=>{switch(e){case"default":return{background:"#FFFFFF",label:t?"#BC102F":"#111321",hover:"#F5F5F6"};case"ghost":return{background:"transparent",label:t?"#BC102F":"#111321",hover:"transparent"};case"primary":return{background:t?"#BC102F":"#111321",label:"#FFFFFF",hover:"#4B4D55"};case"tertiary":return{background:"#F2F2F2",label:t?"#BC102F":"#000",hover:"#E5E5E5"};default:return{background:"#111321",label:"#FFFFFF",hover:"transparent"}}},p=(0,n.Ay)(o).withConfig({componentId:"sc-92a8999b-0"})(["font-size:",";color:",";font-weight:",";",";"],e=>"small"===e.size?"14px":"16px",e=>d(e.variant,e.error).label,e=>e.rounded?500:600,e=>e.theme.media("xs")`
2    font-size: ${"small"===e.size||"medium"===e.size||e.size,"14px"};
3  `),u=n.Ay.button.withConfig({componentId:"sc-92a8999b-1"})(["white-space:nowrap;cursor:","!important;display:flex;gap:",";justify-content:center;align-items:center;padding:",";width:",";flex-shrink:0;border:",";border-radius:",";height:",";background:",";opacity:",";&:hover:not(:disabled){text-decoration:",";background:",";}"],e=>e.disabled?"not-allowed":"pointer",e=>e.label?"4px":0,e=>e.label?`0 ${e.endIcon?"8px":"12px"} 0 ${e.startIcon?"8px":"12px"}`:"0",e=>e.label?"auto":((e,t)=>{switch(t){case"small":return e?"32px":"36px";case"medium":default:return e?"36px":"40px";case"large":return"40px"}})(e.rounded,e.size),e=>"default"===e.variant?`1px solid ${e.theme.color("border")("primary")};`:"none",e=>e.rounded&&!e.label?"50%":e.rounded&&"large"===e.size||e.rounded?"40px":"8px",e=>"small"===e.size?"32px":"medium"===e.size?"36px":"large"===e.size?"40px":"36px",e=>d(e.variant,e.error).background,e=>e.disabled?.25:1,e=>"ghost"===e.variant?"underline":"none",e=>d(e.variant,e.error).hover),g=(0,n.Ay)(l).withConfig({componentId:"sc-92a8999b-2"})(["> svg > path{stroke:",";}"],e=>d(e.variant).label),f=({size:e="medium",variant:t="default",rounded:i=!1,disabled:n=!1,error:o=!1,label:a,startIcon:s,endIcon:c,onClick:l,className:d,tagName:f="button",to:h,loading:m=!1,...x})=>(0,r.jsxs)(u,{className:d,size:e,startIcon:s,endIcon:c,rounded:i,variant:t,disabled:n,error:o,onClick:e=>!!l&&!n&&l(e),label:a,as:f,to:h,...x,children:[s&&s,(0,r.jsx)(p,{size:e,variant:t,rounded:i,error:o,children:a}),c&&!m&&c,m&&(0,r.jsx)(g,{variant:t,size:e})]}),h=n.Ay.div.withConfig({componentId:"sc-5946217c-0"})([""]),m=n.Ay.label.withConfig({componentId:"sc-5946217c-1"})(["display:flex;margin-bottom:8px;align-items:center;"]),x=n.Ay.span.withConfig({componentId:"sc-5946217c-2"})(["font-family:",";line-height:1;font-size:14px;font-weight:500;"],e=>e.theme.font("interface")),b=(0,n.Ay)(x).withConfig({componentId:"sc-5946217c-3"})(["color:#000;"]),v=(0,n.Ay)(x).withConfig({componentId:"sc-5946217c-4"})(["font-size:14px;color:#737373;margin-left:8px;"]),w=(0,n.Ay)(x).withConfig({componentId:"sc-5946217c-5"})(["font-size:14px;color:#0f4be5;cursor:pointer;margin-left:auto;"]),y=n.Ay.input.withConfig({componentId:"sc-5946217c-6"})(["border-radius:8px;position:relative;border:none;line-height:24px;font-size:14px;padding:",";font-weight:400;color:",";font-family:",";width:100%;box-sizing:border-box;background:#fff;&::placeholder{color:#b3b3b3;}&:disabled{background:#fafafa;cursor:not-allowed;}&:focus{outline:none;}"],e=>(e=>{let{dimension:t,startIcon:i,endIcon:n}=e,o=`
4    4px ${n?"40px":"12px"} 4px ${i?"40px":"12px"}
5  `;switch(t){case"medium":default:return o;case"large":return`8px ${n?"40px":"12px"} 8px ${i?"40px":"12px"}`}})(e),e=>e.error?"#BC102F":"#000",e=>e.theme.font("interface")),A=(0,n.AH)(["content:'';position:absolute;inset:-2px;border-radius:inherit;"]),C=n.Ay.div.withConfig({componentId:"sc-5946217c-7"})(["position:relative;border-radius:8px;&::before{",";background:",";border:1px solid ",";}:focus-within{&::before{",";border:2px solid ",";inset:-2px;}}"],A,e=>e.disabled?"#FAFAFA":"transparent",e=>e.error?"#FD9797":"#E5E5E5",A,e=>e.error?"#FD9797":"#000000"),I=n.Ay.span.withConfig({componentId:"sc-5946217c-8"})(["position:absolute;z-index:1;"]),j=(0,n.Ay)(I).withConfig({componentId:"sc-5946217c-9"})(["top:","px;left:8px;"],e=>"medium"===e.dimension?4:8),k=(0,n.Ay)(I).withConfig({componentId:"sc-5946217c-10"})(["top:","px;right:8px;"],e=>"medium"===e.dimension?4:8),z=n.Ay.div.withConfig({componentId:"sc-5946217c-11"})(["font-family:",";margin-top:8px;display:flex;gap:6px;color:#bc102f;font-weight:400;font-size:14px;align-items:center;"],e=>e.theme.font("interface")),$=({className:e,label:t,optional:i,headerAction:n,error:o,startIcon:a,endIcon:s,dimension:c="large",...l})=>(0,r.jsxs)(h,{className:e,children:[t&&"string"==typeof t?(0,r.jsxs)(m,{htmlFor:l.id,children:[(0,r.jsx)(b,{children:t}),i&&(0,r.jsx)(v,{children:"optional"}),!!n&&(0,r.jsx)(w,{onClick:n.action,role:"button",children:n.label})]}):t,(0,r.jsxs)(C,{...l,error:o,children:[(0,r.jsx)(y,{...l,dimension:c,startIcon:a,endIcon:s,id:l.id,error:o}
5),a&&(0,r.jsx)(j,{dimension:c,children:a}),s&&(0,r.jsx)(k,{dimension:c,children:s})]}),o&&"string"==typeof o?(0,r.jsxs)(z,{children:[(0,r.jsxs)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("circle",{cx:"6.75",cy:"6.75",r:"6.75",fill:"#BC102F"}),(0,r.jsx)("path",{d:"M7.5 9.75C7.5 10.1642 7.16421 10.5 6.75 10.5C6.33579 10.5 6 10.1642 6 9.75C6 9.33579 6.33579 9 6.75 9C7.16421 9 7.5 9.33579 7.5 9.75Z",fill:"white"}),(0,r.jsx)("path",{d:"M6 3.75C6 3.33579 6.33579 3 6.75 3C7.16421 3 7.5 3.33579 7.5 3.75V7.25C7.5 7.66421 7.16421 8 6.75 8C6.33579 8 6 7.66421 6 7.25V3.75Z",fill:"white"})]}),o]}):o]}),F=n.Ay.div.withConfig({componentId:"sc-e02588f1-0"})(["display:flex;gap:6px;padding:4px;height:40px;background:#f2f2f2;border-radius:40px;box-sizing:border-box;align-items:center;width:fit-content;"]),_=n.Ay.div.withConfig({componentId:"sc-e02588f1-1"})(["user-select:none;height:32px;box-sizing:border-box;background:",";outline:",";padding-left:",";padding-right:12px;display:flex;align-items:center;box-shadow:",";border-radius:40px;cursor:pointer;display:flex;flex-direction:row;gap:4px;&:hover{background:",";}"],e=>e.$isSelected?"#FFF":"transparent",e=>e.$isSelected?"1px solid #E5E5E5":"none",e=>e.$hasIcon?"8px":"12px",e=>e.$isSelected?"0px 1px 3px rgba(0, 0, 0, 0.07)":"none",e=>e.$isSelected?"#FFF":"#E5E5E5"),H=n.Ay.div.withConfig({componentId:"sc-e02588f1-2"})(["display:flex;flex-direction:row;align-items:center;gap:8px;"]),E=(0,n.Ay)(o).withConfig({componentId:"sc-e02588f1-3"})(["white-space:nowrap;font-weight:500;font-size:14px;color:#000;"]),S=({className:e,segments:t,selectedSegmentId:i,onChange:n})=>(0,r.jsx)(F,{className:e,children:t.map(e=>(0,r.jsxs)(_,{onClick:()=>n(e.id),$isSelected:e.id===i,$hasIcon:!!e.leftIcon,children:[e.leftIcon,(0,r.jsxs)(H,{children:[(0,r.jsx)(E,{children:e.label}),e.rightElement]})]},e.id))});var O=i(61065)},43829:(e,t,i)=>{"use strict";i.d(t,{A:()=>c});var n=i(37876);i(14232);var o=i(21626),r=i(85332);let a=o.Ay.div.withConfig({componentId:"sc-6ceb8c91-0"})(["display:inline-flex;animation-name:rotate;animation-duration:",";animation-iteration-count:infinite;animation-direction:",";transform-origin:50% 50%;animation-timing-function:linear;@keyframes rotate{0%{transform:rotate(0);}100%{transform:rotate(360deg);}}"],e=>`${e.speed}s`,e=>e.reverse?"reverse":"normal"),s=({className:e,speed:t=1,reverse:i=!1,customLoadComponent:o})=>(0,n.jsx)(a,{className:e,speed:t,reverse:i,children:o||(0,n.jsx)(r.A,{})});s.defaultProps={className:void 0,speed:1,reverse:!1,customLoadComponent:void 0};let c=s},44345:(e,t,i)=>{"use strict";i.d(t,{CN:()=>s,Gu:()=>r,iU:()=>a});var n=i(70359);let o="state",r=e=>{let t="string"==typeof e?e:"string"==typeof e[o]?e[o]:null;if(t)try{let e=localStorage.getItem(t);return e?JSON.parse(e):null}catch(e){}return null},a=(e,t)=>{try{let i=t||(0,n.gZ)(),o=JSON.stringify(e);return localStorage.setItem(i,o),i}catch(e){}return null},s=(e,t,i)=>{let n=a(t,i);return n?{...e,[o]:n}:e}},51758:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n,o=i(14232);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}let a=function(e){return o.createElement("svg",r({width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n||(n=o.createElement("path",{d:"M18.25 12C18.25 13.2361 17.8834 14.4445 17.1967 15.4723C16.5099 16.5001 15.5338 17.3012 14.3918 17.7742C13.2497 18.2473 11.9931 18.3711 10.7807 18.1299C9.5683 17.8888 8.45466 17.2935 7.58058 16.4194C6.7065 15.5453 6.11125 14.4317 5.87009 13.2193C5.62893 12.0069 5.75271 10.7503 6.22575 9.60823C6.6988 8.46619 7.49988 7.49007 8.52769 6.80331C9.55549 6.11656 10.7639 5.75 12 5.75",stroke:"black",strokeWidth:1.5,strokeLinecap:"round"})))}},57861:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n,o=i(14232);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}let a=function(e){return o.createElement("svg",r({width:35,height:22,viewBox:"0 0 35 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n||(n=o.createElement("path",{d:"M25 8C22 8 21 6 21 4V0H14V4C14 6 13 8 10 8H4C2 8 0 10 0 12
5V22H7V15H14V8H21V15H28V22H35V12C35 10 33 8 31 8H25Z",fill:"black"})))}},58103:(e,t)=>{var i;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var i=arguments[t];if(i){var r=typeof i;if("string"===r||"number"===r)e.push(i);else if(Array.isArray(i)){if(i.length){var a=o.apply(null,i);a&&e.push(a)}}else if("object"===r){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){e.push(i.toString());continue}for(var s in i)n.call(i,s)&&i[s]&&e.push(s)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(i=(function(){return o}).apply(t,[]))||(e.exports=i)}()},61065:(e,t,i)=>{"use strict";i.d(t,{EJ:()=>r,Fo:()=>o,PD:()=>l,Wh:()=>a,ec:()=>s,nD:()=>c});var n=i(21626);let o=(0,n.AH)(["&::-webkit-scrollbar{display:none;}-ms-overflow-style:none;scrollbar-width:none;"]),r=(0,n.AH)(["white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"]),a=(0,n.AH)(["display:flex;flex-direction:row;align-items:center;"]),s=(0,n.AH)(["display:flex;flex-direction:column;"]),c=(0,n.AH)(["",""],e=>e.theme.media("sm")`
6    display: none;
7  `),l=(0,n.AH)(["display:none;",""],e=>e.theme.media("sm")`
8    display: initial;
9  `)},61157:(e,t,i)=>{"use strict";i.d(t,{Ay:()=>m});var n=i(37876),o=i(75267),r=i(77827),a=i(48230),s=i.n(a),c=i(21626),l=i(57861);let d=c.Ay.div.withConfig({componentId:"sc-15942cfd-0"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;min-height:100vh;"]),p=c.Ay.div.withConfig({componentId:"sc-15942cfd-1"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;gap:24px;width:100%;padding:0 16px;",""],({theme:e})=>e.media("md")`
10    padding: 0 24px;
11  `),u=(0,c.Ay)(s()).withConfig({componentId:"sc-15942cfd-2"})(["position:absolute;top:24px;display:flex;flex-direction:row;gap:8px;align-items:center;:hover{cursor:pointer;}"]),g=c.Ay.div.withConfig({componentId:"sc-15942cfd-3"})(["display:flex;flex-direction:column;gap:16px;"]),f=c.Ay.h1.withConfig({componentId:"sc-15942cfd-4"})(["margin:0;padding:0;font-family:",";font-size:34px;font-weight:900;line-height:34px;text-align:center;text-transform:uppercase;"],({theme:e})=>e.font("brand")),h=c.Ay.p.withConfig({componentId:"sc-15942cfd-5"})(["padding:0;margin:0;font-size:14px;font-weight:400;line-height:24.5px;text-align:center;max-width:458px;color:",";"],({theme:e})=>e.color("text")("secondary")),m=({children:e,title:t,subTitle:i})=>(0,n.jsxs)(o.Ay,{children:[(0,n.jsx)(r.A,{title:"Opt-out | The Org",description:"Opt-out of your account"}),(0,n.jsxs)(d,{children:[(0,n.jsx)(u,{href:"/",children:(0,n.jsx)(l.A,{})}),(0,n.jsxs)(p,{children:[(0,n.jsxs)(g,{children:[(0,n.jsx)(f,{children:t}),(0,n.jsx)(h,{children:i})]}),e]})]})]})},66299:(e,t,i)=>{"use strict";i.d(t,{A:()=>l});var n=i(37876),o=i(14232),r=i(48230),a=i.n(r),s=i(99785);let c=(0,o.forwardRef)(({as:e,className:t,endIcon:i,label:o,onClick:r,startIcon:c,to:l,width:d,destructive:p,disabled:u,loading:g,size:f,variant:h,inverse:m,target:x,preserveIconColor:b,...v},w)=>(0,n.jsxs)(s.bL,{ref:w,className:t,size:f,$destructive:p,variant:h,width:d,disabled:u,onClick:e=>{u?e.preventDefault():r&&r(e)},label:o,as:e||(l?a():"button"),href:l,$inverse:m,target:x,$loading:g,$preserveIconColor:b,...v,children:[c&&c,o&&(0,n.jsx)(s.JU,{size:f,$destructive:p,variant:h,$inverse:m,children:o}),i&&!g&&i,g&&(0,n.jsx)(s.E2,{children:(0,n.jsx)(s.vv,{variant:h,$destructive:p,size:f})})]}));c.defaultProps={className:void 0,endIcon:void 0,label:"",onClick:void 0,startIcon:void 0,to:void 0,width:void 0,destructive:!1,disabled:!1,loading:!1,size:"medium",variant:"default",inverse:!1,target:void 0};let l=c},70359:(e,t,i)=>{"use strict";i.d(t,{BM:()=>m,gr:()=>f,s6:()=>v,md:()=>y,z8:()=>w,hC:()=>I,Ib:()=>j,Y8:()=>k,gZ:()=>h});var n,o=i(23650),r=i(37880),a=i(30025),s=i(7347),c=i(95291),l=i(79350),d=i(22926);(0,l.J1)`
12    mutation loginByLightToken($token: UUID!) {
13  loginByLightToken(input: {token: $token, authClient: the_org}) {
14    authToken
15    user {
16      ...FullAuthUser
17    }
18  }
19}
20    ${d.p}`;var p=i(11606);i(63426);var u=i(24237);let g="https://theorg.com",f=async(e,t,i,n,o)=>{(0,s.Ui)(e.id,t),window.wsClient&&(window.wsClient.close(),window.wsClient.connect(),Object.keys(window.wsClient.operations).forEac
20h(e=>window.wsClient.sendMessage(e,r.default.GQL_START,window.wsClient.operations[e].options))),i.writeQuery({query:c.Ak,data:{me:e}});let l=o||n.asPath,d=["/login","/signup","/"].includes(l)?"/home":l;(0,a.Ay)(e);let p=n.asPath.split("#")[1],u=`${d}${p?`#${p}`:""}`;await n.replace(u),n.asPath!==u&&(window.location.href=u)},h=()=>"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)});var m=((n={}).login="login",n.signup="signup",n.connect="connect",n.gmail_connect="gmail_connect",n);let x=["openid","profile","email","offline_access","https://graph.microsoft.com/User.Read"],b=(e,t,i,n)=>{let r=(0,o.stringify)({client_id:"1013459544066-30taa40v99lg90rgrcmgp2jg0e5f2eba.apps.googleusercontent.com",redirect_uri:"https://theorg.com/api/auth/callback",scope:t.join(" "),response_type:"code",access_type:"offline",prompt:"consent",state:(0,o.stringify)({method:"google",context:i?`/?next=${i}`:"/",action:e,stateId:n})});return`https://accounts.google.com/o/oauth2/v2/auth?${r}`},v=(e,t,i)=>b(e,["https://www.googleapis.com/auth/userinfo.email","https://www.googleapis.com/auth/userinfo.profile"],t,i),w=(e,t,i)=>{let n=(0,o.stringify)({client_id:"eb5b1d71-8c8c-4674-840b-d22323006b11",redirect_uri:"https://theorg.com/api/auth/callback",scope:x.join(" "),response_type:"code",response_mode:"query",prompt:"select_account",state:(0,o.stringify)({method:"microsoft",context:t?`/?next=${t}`:"/",action:e,stateId:i})});return`https://login.microsoftonline.com/common/oauth2/v2.0/authorize?${n}`},y=e=>b("gmail_connect",["https://www.googleapis.com/auth/gmail.modify","https://www.googleapis.com/auth/userinfo.email"],e),A="https://app-eu1.hubspot.com/oauth/authorize",C="https://login.salesforce.com/services/oauth2/authorize",I=(e,t={})=>{let i=((e={})=>JSON.stringify({...e.reconnectIntegrationId&&{reconnectIntegrationId:e.reconnectIntegrationId}}))(t);switch(e){case p.U8.HubspotApp:return`${A}?${(0,o.stringify)({client_id:"2e9568bf-4bcb-4ca8-b0de-2a9ac1f5d566",redirect_uri:`${g}/api/auth/crm/hubspot-app`,scope:"oauth crm.objects.contacts.read crm.objects.contacts.write crm.objects.companies.read crm.objects.companies.write",state:i})}`;case p.U8.HubspotCrm:return`${A}?${(0,o.stringify)({client_id:"8d966367-0b26-4bac-9ac6-5bdf75ca78dc",redirect_uri:`${g}/api/auth/crm/hubspot-crm`,scope:"oauth crm.objects.contacts.read crm.objects.contacts.write crm.objects.companies.read crm.objects.companies.write crm.objects.owners.read",...t.oauthState?{state:t.oauthState}:t.reconnectIntegrationId&&{state:i}})}`;case p.U8.SalesforceApp:return`${C}?${(0,o.stringify)({client_id:"3MVG9ux34Ig8G5eo90bDs52RvSu5sBkwfjlciZ_gMvIWmd8PtuCRtWUFhrclU8sbXMm2gMJjkS5lk4JlYR3wb",redirect_uri:`${g}/api/auth/crm/salesforce-app`,response_type:"code",state:i})}`;case p.U8.SalesforceCrm:return`${C}?${(0,o.stringify)({client_id:"3MVG9ux34Ig8G5eo90bDs52RvSu5sBkwfjlciZ_gMvIWmd8PtuCRtWUFhrclU8sbXMm2gMJjkS5lk4JlYR3wb",redirect_uri:`${g}/api/auth/crm/salesforce-crm`,response_type:"code",...t.reconnectIntegrationId&&{state:i}})}`;default:return"/settings#crm"}},j=e=>`${u.zu}?${(0,o.stringify)({step:"authorize",returnUrl:"/settings?crm_success=hubspot#crm",...e&&{reconnectIntegrationId:e}})}`,k=e=>I(p.U8.SalesforceCrm,{reconnectIntegrationId:e})},70366:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/opt-out/position-confirm",function(){return i(12389)}])},75267:(e,t,i)=>{"use strict";i.d(t,{Ay:()=>s,Qp:()=>r});var n=i(37876);i(14232);var o=i(21626);let r=1288,a=o.Ay.div.withConfig({componentId:"sc-ef481bc8-0"})(["padding-left:","px;padding-right:","px;margin:0 auto;max-width:","px;box-sizing:content-box;"," > *{box-sizing:border-box;}"],16,16,e=>e.maxWidth,e=>e.theme.media("md")`
21    padding-left: ${20}px;
22    padding-right: ${20}px;
23  `),s=({children:e,className:t,maxWidth:i=r})=>(0,n.jsx)(a,{maxWidth:i,className:t,children:e})},85332:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var n,o=i(14232);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}let a=function(e){return o.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none"},e),n||(n=o.createElement("path",{fill:"#1B1B18",fillRule:"evenodd",d:"M7 1.5A5.5 5.5 0 1 0 12.5 7 .75.75 0 0 1 14 7a7 7 0 1 1-7-7 .75.75 0 0 1 0 1.5Z",clipRule:"evenodd"})))}},99785:(e,t,i)=>{"use strict";i.d(t,{E2:()=>g,JU:()=>u,bL:()=>f,vv:()=>h}),i(14232);
23var n=i(21626),o=i(33374),r=i(11687),a=i(55942),s=i(43829),c=i(9640);let l={background:"white",border:"1px solid transparent",disabledOpacity:"0.4",hover:"rgba(0, 0, 0, 0.03)",active:"rgba(0, 0, 0, 0.05)",icon:c.A.color("icon")("icon"),label:c.A.color("text")("primary")},d=(e,t,i)=>{if(t)switch(e){case"ghost":return{...l,background:"transparent",disabledOpacity:"0.3",hover:"#EC45451A",icon:"#DC1616",label:"#DC1616"};case"primary":return{...l,background:"#DC1616",disabledOpacity:"0.3",hover:"#ec4545eb",active:"#DC1616",icon:"white",label:"white"};default:return{...l,background:"white",border:"1px solid #FFB3B3",disabledOpacity:"0.5",hover:"#FFE8E8",icon:"#DC1616",label:"#DC1616"}}switch(e){case"default":return{...l,border:`1px solid ${c.A.color("border")("primary")}`};case"defaultSoft":return{...l,hover:r.A.colors.bg.softHover,active:r.A.colors.bg.softActive,border:`1px solid ${c.A.color("border")("primary")}`,label:r.A.colors.fg.muted};case"ghost":return{...l,background:"transparent",hover:i?a.dsW.whiteA4:"rgba(0, 0, 0, 0.05)",active:i?a.dsW.whiteA3:"rgba(0, 0, 0, 0.07)",label:i?r.A.colors.fg.defaultInverse:r.A.colors.fg.default,icon:i?c.A.color("icon")("iconInverse"):l.icon};case"ghostSoft":return{...l,background:"transparent",hover:i?a.dsW.whiteA7:r.A.colors.bg.softHover,active:i?a.dsW.whiteA6:r.A.colors.bg.softActive,label:r.A.colors.fg.muted};case"ghostUnderline":return{...l,background:"transparent",hover:"transparent",hoverDecoration:"underline",active:"transparent"};case"ghostAccent":return{...l,label:"#1754cf",background:"transparent",hover:"transparent",hoverDecoration:"underline",active:"transparent",icon:"#1754cf"};case"primary":return{...l,background:c.A.color("fill")("primary"),disabledOpacity:"0.2",hover:c.A.color("fill")("primaryHover"),icon:c.A.color("icon")("iconInverse"),label:r.A.colors.fg.defaultInverse,active:r.A.colors.bg.defaultInverseActive};case"primaryInverted":return{...l,background:"white",disabledOpacity:"0.2",hover:"rgba(255,255,255,0.9)",icon:c.A.color("icon")("iconInverse"),label:"black",active:"rgba(255,255,255,0.7)"};case"accent":return{...l,background:c.A.color("background")("fillBrand"),hover:c.A.color("background")("fillBrandHover"),active:c.A.color("background")("fillBrandActive"),label:"white",icon:"rgba(255, 255, 255, 0.7)"};case"muted":return{...l,background:a.cax.sandA3,hover:a.cax.sandA5,active:a.cax.sandA6,icon:a.cax.sandA10};default:return l}},p=e=>{switch(e){case"extraSmall":return{gap:"6px",height:"24px",padding:"0 6px",borderRadius:"6px",font:{size:"12px",weight:"500"}};case"small":return{gap:"8px",height:"28px",padding:"0 8px",borderRadius:"6px",font:{size:"14px",weight:"500"}};case"medium":default:return{gap:"8px",height:"32px",padding:"0 12px",borderRadius:"8px",font:{size:"14px",weight:"500"}};case"large":return{height:"40px",gap:"10px",padding:"0 20px",borderRadius:"10px",font:{size:"16px",weight:"500"}};case"xlarge":return{height:"48px",gap:"6px",padding:"0 24px",borderRadius:"24px",font:{size:"16px",weight:"500"}}}},u=(0,n.Ay)(o.o5).withConfig({componentId:"sc-f6bce7cf-0"})(["font-family:",";font-size:",";color:",";font-weight:",";"],c.A.font("interface"),({size:e})=>p(e).font?.size,({variant:e,$destructive:t,$inverse:i})=>d(e,t,i).label,({size:e})=>p(e).font?.weight),g=n.Ay.span.withConfig({componentId:"sc-f6bce7cf-1"})(["position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;"]),f=n.Ay.button.withConfig({componentId:"sc-f6bce7cf-2"})(["transition:all 0.1s ease-in-out;white-space:nowrap;cursor:"," !important;display:flex;flex-shrink:0;justify-content:center;align-items:center;position:relative;color:",";gap:",";width:",";height:",";padding:",";border:",";border-radius:",";background:",";opacity:",";"," svg{flex-shrink:0;","}&:hover:not(:disabled){background:",";",";}&:focus-visible:not(:disabled){outline:2px solid #003088;border-radius:5px;outline-offset:1px;background:",";}&:active:not(:disabled){background:",";}"],({disabled:e})=>e?"not-allowed":"pointer",({$destructive:e,variant:t,$inverse:i})=>d(t,e,i).label||c.A.color("text")("primary"),e=>e.label&&p(e.size).gap,({width:e,label:t,size:i})=>e||(t?"auto":p(i).height),e=>p(e.size).height,({size:e})=>{let t=p(e);return t.padding&&t.padding||"0 12px"},({$destructive:e,variant:t,$inverse:i})=>d(t,e,i).border,({size:e})=>p(e).borderRadius,({variant:e,$destructive:t,$inverse:i})=>d(e,t,i).background,({disabled:e,variant:t,$destructive:i,$inverse:n})=>e&&d(t,i,n).disabledOpacity,({$loading:e})=>e&&(0,n.AH)(["> *:not(","){visibility:hidden;}"],g),({$preserveIconColor:e,$destructive:t,variant:i,$inverse:o})=>!e&&(0,n.AH)(["path{fill:"," !important;}"],d(i,t,o).icon),({variant:e,$destructive:t,$inverse:i})=>d(e,t,i).hover,({variant:e,$destructive:t,$inverse:i})=>d(e,t,i).hoverDecoration&&`text-decoration: ${d(e,t,i).hoverDecoration}`,({variant:e,$destructive:t,$inverse:i})=>d(e,t,i).hover,({variant:e,$destructive:t,$inverse:i})=>d(e,t,i).active),h=(0,n.Ay)(s.A).withConfig({componentId:"sc-f6bce7cf-3"})(["svg{opacity:0.55;}> svg > path{fill:",";}"],({variant:e,$destructive:t,$inverse:i})=>d(e,t,i).icon)}},e=>{e.O(0,[8513,8230,5942,9327,9848,6238,1606,636,6593,8792],()=>e(e.s=70366)),_N_E=e.O()}]);

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.