PageSourceSearch

https://pegbo.com/_next/static/chunks/5239.73a8ff685b60c663.js

js pegbo.com collected 2026-10-05 00:00:26 UTC 2,698 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5239],{55239:function(n,o,e){e.r(o),e.d(o,{default:function(){return g}});var i=e(26042),c=e(85893),r=e(80971),t=e(61410),l=e(34573),a=e(76384),d=e(46670),s=e(11163),u=e(67294),f=e(111),m=e(75448),C=e(69396),h=e(99534),x=e(74714),p=function(n){var o=n.onConfirm,e=n.onCancel,i=n.title,r=n.children,t=n.opened,l=n.cancel,a=n.confirm,d=n.confirmDisabled,s=n.size,u="string"==typeof r?(0,c.jsx)("div",{className:"text-[16px] font-normal leading-[20px]",children:r}):r;return(0,c.jsx)(x.u,{onClose:void 0===e?function(){}:e,title:i,opened:t,closeLabel:void 0===l?"Cancel":l,onConfirm:o,confirmLabel:void 0===a?"Confirm":a,confirmDisabled:void 0!==d&&d,size:void 0===s?560:s,children:u})},v=e(57684),b=e(48294),g=(0,d.Pi)(function(n){var o,e,d,x,g,j,y,E,w,N,k=n.containerCls,M=n.showSync,q=(0,m.aF)(),A=q.user,D=q.contractor,P=q.loadContractor,S=(0,t.uB)(),Z=(0,s.useRouter)(),_=(0,a.Wz)(Z.query.buildingConnectedError);(0,u.useEffect)(function(){if(_){var n=(0,i.Z)({},Z.query);delete n.buildingConnectedError,Z.replace({pathname:Z.pathname,query:n},void 0,{shallow:!0}),S.error("",_)}},[_]);var z=(d=(e={onCancel:function(){},onConfirm:o=function(){A&&(A.syncAccountEnabled=!1,(0,f.ci)())},confirm:"Don't show again",title:"Don't show again"}).onCancel,x=e.onConfirm,g=(0,h.Z)(e,["onCancel","onConfirm"]),y=(j=(0,u.useState)(!1))[0],E=j[1],N=(w={ConfirmationModal:function(n){var o=n.children;return(0,c.jsx)(p,(0,C.Z)((0,i.Z)({onConfirm:function(){x(),E(!1)},onCancel:function(){d&&d(),E(!1)},opened:y},g),{children:o}))},openConfirmationModal:function(){return E(!0)}}).ConfirmationModal,{PromotionConfirmationModal:function(){return(0,c.jsx)(N,{children:"You can come back to this later in your account under company information."})},onClose:w.openConfirmationModal}),I=z.PromotionConfirmationModal,L=z.onClose;return((0,u.useEffect)(function(){(null==A?void 0:A.contractorId)&&!1!==A.syncAccountEnabled&&!D&&P()},[A,D,P]),A&&D)?!1===A.syncAccountEnabled||D.buildingConnectedId?void 0!==M&&M?(0,c.jsx)(v.s,{}):null:(0,c.jsxs)("div",{className:void 0===k?"":k,children:[(0,c.jsxs)("div",{className:"bg-oslo-5 border-neutral-10 hflex flex-col items-stretch gap-2 rounded-md border p-3",children:[(0,c.jsxs)("div",{className:"hflex items-center gap-1",children:[(0,c.jsxs)("p",{className:"text-neutral-60 flex-1 text-[14px] font-[500] leading-[18px]",children:["Sync your account"," "]}),(0,c.jsx)(r.P,{onClick:L})]}),(0,c.jsx)("img",{src:(0,l.q)("images/building-connected.png"),width:236,height:58,alt:"building connected logo"}),(0,c.jsx)("div",{children:(0,c.jsx)(b.r,{label:"Sync Account"})})]}),(0,c.jsx)(I,{})]}):null})}}]);

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.