PageSourceSearch

https://login.commonsku.com/dist/react/components-AllowDeny.7a4a59f2.chunk.js

js commonsku.com collected 2026-10-02 03:15:08 UTC 3,548 bytes, 2 lines download raw bytes

1"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__=globalThis.__LOADABLE_LOADED_CHUNKS__||[]).push([[5549],{6720(e,t,i){i.r(t),i.d(t,{default:()=>d});var s=i(3602),n=i(41594),l=i(63988);const o=e=>{let{height:t}=e;return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:t,viewBox:"0 0 1510 310",fill:"none",preserveAspectRatio:"none",children:(0,l.jsx)("path",{d:"M858 52.2161C498 -49.6986 200.667 20.7424 0 68.7022V310H1510V52.2166L1508.43 52.7138C1352.99 101.997 1202.45 149.728 858 52.2161Z",fill:"#EDF4F7"})})};var r=i(67564),a=i(75158),c=i(22078);const x=()=>(0,l.jsx)("img",{"data-test-name":"CommonskuMainLogoBlue",src:"/images/commonsku-main-logo-blue.svg",alt:"commonsku",style:{height:"43.75px",marginLeft:"20px"}}),d=e=>{let{scopes:t,client_name:i}=e;const d=(0,a.Us)(),{hasCapabilities:h}=(0,c.el)(d),[m,g]=(0,n.useState)(!1),p=(0,n.useRef)(null);return(0,n.useEffect)(()=>{m&&p.current.submit()},[m]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(s.Col,{style:{display:"flex",flexDirection:"column",justifyContent:"space-between",height:"100%",width:"100%",overflow:"hidden"},children:[(0,l.jsxs)(s.Row,{style:{flex:"0 0 85px",margin:0,width:"100%",backgroundColor:"white"},children:[(0,l.jsx)("a",{href:"https://www.commonsku.com/",style:{padding:"20px 0"},children:(0,l.jsx)(x,{})}),(0,l.jsx)("hr",{style:{margin:0,width:"100%",maxWidth:"100rem"}})]}),(0,l.jsxs)(s.Col,{style:{flex:"1 1 0",flexDirection:"column",justifyContent:"center",overflow:"auto",padding:"40px 20px 20px",textAlign:"center"},children:[(0,l.jsxs)(s.Row,{style:{marginBottom:"32px",justifyContent:"center"},children:["zapier"===i.toLowerCase()?(0,l.jsx)("img",{src:"/images/zapier-logo_black.svg",alt:"zapier",style:{marginRight:"20px"}}):(0,l.jsx)("h1",{style:{marginRight:"20px",marginTop:"-10px"},children:i}),(0,l.jsx)("img",{src:"/images/sync_alt.svg",alt:"sync"}),(0,l.jsx)(x,{})]}),"zapier"!==i.toLowerCase()||h(["CONNECT-ZAPIER"])?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{style:{fontSize:"32px",fontStyle:"normal",fontWeight:600,marginBottom:"48px"},children:[i," is requesting permission",(0,l.jsx)("br",{})," to access your commonsku account"]}),0===t.length?null:(0,l.jsxs)("div",{style:{justifyContent:"center",display:"inline-grid"},children:[(0,l.jsxs)("b",{style:{textAlign:"left"},children:[i," will be able to: "]}),(0,l.jsx)("ul",{style:{listStyleType:"none",textAlign:"left",marginTop:"16px"},children:t.map((e,t)=>(0,l.jsxs)("li",{style:{marginBottom:"10px"},children:[" → ",e.description]},t))})]}),(0,l.jsx)("form",{ref:p,action:"",method:"POST",children:(0,l.jsxs)(s.Row,{style:{justifyContent:"center"},children:[(0,l.jsx)("input",{name:"allow",value:m?"1":"0",type:"hidden"}),(0,l.jsx)(s.Button,{variant:"secondary",size:"medium",id:"deny",style:{marginRight:"24px"},onClick:e=>{e.preventDefault(),r.x.close()},children:"Deny"}),(0,l.jsx)(s.Button,{variant:"cta",size:"medium",id:"allow",onClick:e=>{e.preventDefault(),g(!0)},children:"Allow"})]})}),(0,l.jsxs)("div",{style:{marginTop:"20px"},children:[(0,l.jsx)("a",{children:"Learn"})," more about this integration."]})]}):(0,l.jsxs)("div",{style:{fontSize:"32px",fontStyle:"normal",fontWeight:600,marginBottom:"48px"},children:["You do not have permission to access ",i,(0,l.jsx)("br",{})," please contact an administrator."]})]})]}),(0,l.jsx)("div",{style:{position:"fixed",bottom:0,margin:0,padding:0,lineHeight:0,width:"100%",zIndex:"-1"},children:(0,l.jsx)(o,{height:150})})]})}}}]);
2//# sourceMappingURL=components-AllowDeny.7a4a59f2.chunk.js.map

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.