PageSourceSearch

https://app.pxl.to/_next/static/chunks/pages/popup/hubspot-1a50b447f7fedde0.js

js pxl.to collected 2026-10-01 13:06:19 UTC 5,203 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3904],{86010:function(e,t,r){"use strict";t.Z=function(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=function e(t){var r,n,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t){if(Array.isArray(t))for(r=0;r<t.length;r++)t[r]&&(n=e(t[r]))&&(a&&(a+=" "),a+=n);else for(r in t)t[r]&&(a&&(a+=" "),a+=r)}return a}(e))&&(n&&(n+=" "),n+=t);return n}},66803:function(e,t,r){"use strict";var n=r(50029),a=r(17674),i=r(64687),s=r.n(i),o=r(24665),c=r(20564),l=r(5941),u=r(67294),d=r(33615),p=r(85893);t.Z=function(e){var t,r=e.title,i=e.method,h=e.endpoint,f=e.children,A=e.okText,g=e.initial,b=e.layout,m=e.width,x=e.open,y=e.callback,j=e.transformer,w=o.Z.useForm(),v=(0,a.Z)(w,1)[0],Z=(0,u.useState)(!1),O=Z[0],k=Z[1];(0,u.useEffect)(function(){v.setFieldsValue(g)},[g,v]);var E=(t=(0,n.Z)(s().mark(function e(t){var r;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,k(!0),j&&j(t),e.next=5,(0,d.W)({url:h,method:i,headers:{"content-type":"application/json"},body:JSON.stringify(t)});case 5:r=e.sent.data,k(!1),v.resetFields(),y(t,r),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(0),console.error(e.t0),c.ZP.error("string"==typeof e.t0?e.t0:"Unknown error");case 16:return e.prev=16,k(!1),e.finish(16);case 19:case"end":return e.stop()}},e,null,[[0,12,16,19]])})),function(e){return t.apply(this,arguments)});return(0,p.jsx)(l.Z,{title:r||void 0,confirmLoading:O,open:x,closeIcon:!0,width:m||450,okText:A||"Submit",onOk:function(){return v.submit()},onCancel:function(){v.resetFields(),y(null)},children:(0,p.jsxs)(o.Z,{layout:b||"vertical",name:"basic",form:v,onFinish:E,onFinishFailed:function(e){e.errorFields&&(console.error(e.errorFields[0].errors[0]),c.ZP.error(e.errorFields[0].errors[0]))},children:[(0,p.jsx)("br",{}),f]})})}},65410:function(e,t,r){"use strict";var n=r(86010),a=r(43450),i=r(85893);t.Z=function(e){var t=a.Z.useToken().token,r=t.colorBgContainer,s=t.colorText;return(0,i.jsx)("div",{className:(0,n.Z)("ant-page-header settings-page-header ant-page-header-ghost",e.className),style:{background:r},children:(0,i.jsxs)("div",{className:"ant-page-header-heading",children:[(0,i.jsxs)("div",{className:"ant-page-header-heading-left",children:[(0,i.jsx)("span",{className:"ant-page-header-heading-title",title:e.title,style:{color:s},children:e.title}),(0,i.jsx)("span",{className:"ant-page-header-heading-sub-title",style:{color:s},children:e.subTitle})]}),(0,i.jsx)("span",{className:"ant-page-header-heading-extra",children:(0,i.jsx)("div",{className:"ant-space ant-space-horizontal ant-space-align-center",style:{gap:"8px",color:s},children:(0,i.jsx)("div",{className:"ant-space-item",children:e.extra})})})]})})}},13390:function(e,t,r){"use strict";r.r(t);var n=r(59499),a=r(97729),i=r(87194),s=r(62673),o=r(82661),c=r(24665),l=r(66803),u=r(81643),d=r(25675),p=r.n(d),h=r(11163),f=r(65410),A=r(85893);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var m={data:{options:[]}};t.default=function(e){var t=(0,h.useRouter)(),r=(0,o.Z)("/api/administrator/integration/"+t.query.id,m),n=r.payload,d=r.pending;return t.query.id?(0,A.jsx)("div",{style:{background:"#f0f2f5",width:"100vw",height:"100vh"},children:(0,A.jsx)(l.Z,{title:(0,A.jsx)(f.Z,{className:"popup-page-header",title:"Connect with Hubspot",extra:(0,A.jsx)(a.C,{size:"large",src:(0,A.jsx)(p(),{alt:"image",src:u.Z})})}),method:"PUT",endpoint:"/api/administrator/integration/"+t.query.id,open:!0,initial:n,transformer:function(e){return e.data=b(b({},n.data),e.data)},callback:function(e,t){window.close()},children:(0,A.jsx)(i.Z,{spinning:d,children:(0,A.jsx)(c.Z.Item,{rules:[{message:"Select an audie
1nce",required:!0}],label:"Hubspot audience to store and manage your contacts",name:["data","list"],required:!1,children:(0,A.jsx)(s.Z,{style:{width:"100%"},placeholder:"Audience",children:n.data.options.map(function(e){return(0,A.jsx)(s.Z.Option,{value:e.id,children:e.name},e.id)})})})})})}):(0,A.jsx)("div",{})}},61503:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/popup/hubspot",function(){return r(13390)}])},81643:function(e,t){"use strict";t.Z={src:"/_next/static/media/hubspot.bfdc8a98.png",height:299,width:269,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAMAAAAC2hU0AAAAJ1BMVEVMaXH3ew33ewz3fhH1fxf4ewr2eQr/fxT5ewr2ew3/hjX2fBD0egq+ahVNAAAADXRSTlMAhq9lLN7SEsSXCVZHBWMV/wAAAAlwSFlzAAALEwAACxMBAJqcGAAAADJJREFUeJwVycERACAIxMAcIAraf70O+e2EFLwLsosMaLmLydZMdkav8ZEn4FUWsE8AHxYGALAuRthEAAAAAElFTkSuQmCC",blurWidth:7,blurHeight:8}}},function(e){e.O(0,[5675,7729,2888,9774,179],function(){return e(e.s=61503)}),_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.