https://www.sexpositiveportland.org/_next/static/chunks/pages/_admin/design/edit-5cd6e8eb1a465dfe.js
1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9eb421aa-16cb-45e0-ba5b-e3320fbe1490",e._sentryDebugIdIdentifier="sentry-dbid-9eb421aa-16cb-45e0-ba5b-e3320fbe1490")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6896],{6724:(e,t,n)=>{"use strict";n.d(t,{AT:()=>d,Ez:()=>m,F0:()=>u,J_:()=>l,LZ:()=>p,Xs:()=>c,ZW:()=>h,cd:()=>x,gs:()=>f,i4:()=>o});var r=n(86191),s=n(24447);let i=` 2 childUsage 3 description 4 key 5 id 6 inheritsFrom 7 parentId 8 presetName 9 references 10 route 11 style 12 value 13 title 14 type 15`,a=` 16 id 17 assets { 18 cssUrl 19 jsUrl 20 buildPath 21 } 22 attrs { 23 description 24 key 25 title 26 type 27 } 28 components { 29 ${i} 30 } 31 css 32`,o=(0,r.J1)` 33 query GetWebSite { 34 getWebSite { 35 ${a} 36 } 37 } 38`,l=(0,r.J1)` 39 mutation UpdateWebSite($id: ID!, $input: UpdateWebSiteInput!) { 40 updateWebSite(id: $id, input: $input) { 41 result { 42 ${a} 43 } 44 ${s.VE} 45 } 46 } 47`,d=(0,r.J1)` 48 mutation CreateWebComponent($input: CreateWebComponentInput!) { 49 createWebComponent(input: $input) { 50 result { 51 ${i} 52 } 53 ${s.VE} 54 } 55 } 56`,p=(0,r.J1)` 57 mutation UpdateWebComponent($id: ID!, $input: UpdateWebComponentInput!) { 58 updateWebComponent(id: $id, input: $input) { 59 result { 60 ${i} 61 } 62 ${s.VE} 63 } 64 } 65`,c=(0,r.J1)` 66 mutation DestroyWebComponent($id: ID!) { 67 destroyWebComponent(id: $id) { 68 result { 69 ${i} 70 } 71 ${s.VE} 72 } 73 } 74`,m=(0,r.J1)` 75 mutation ExportWebSite($input: ExportWebSiteInput!) { 76 exportWebSite(input: $input) { 77 result { 78 id 79 } 80 ${s.VE} 81 } 82 } 83`,u=(0,r.J1)` 84 mutation ImportWebSite($input: ImportWebSiteInput!) { 85 importWebSite(input: $input) { 86 result { 87 id 88 } 89 ${s.VE} 90 } 91 } 92`,x=(0,r.J1)` 93 mutation SetWebsiteTemplate($input: SetWebsiteTemplateInput!) { 94 setWebsiteTemplate(input: $input) { 95 result { 96 id 97 templateName 98 } 99 ${s.VE} 100 } 101 } 102`,f=(0,r.J1)` 103 mutation UpdateWebsiteMetaTags($input: UpdateWebsiteMetaTagsInput!) { 104 updateWebsiteMetaTags(input: $input) { 105 result { 106 id 107 } 108 ${s.VE} 109 } 110 } 111`,h=(0,r.J1)` 112 mutation UpdateWebsiteCustomFonts($input: UpdateWebsiteCustomFontsInput!) { 113 updateWebsiteCustomFonts(input: $input) { 114 result { 115 id 116 } 117 ${s.VE} 118 } 119 } 120`},20994:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(37876),s=n(48014),i=n(22767);function a(e){let{type:t}=e;return e.valid?(console.error("Invalid invocation of AuthErrorResponse"),(0,r.jsx)(r.Fragment,{})):"loading"===t?(0,r.jsx)(i.A,{}):"unauthenticated"===t?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"p",children:"Login required."}),(0,r.jsx)(s.A,{})]}):"unauthorized"===t?(0,r.jsx)("p",{className:"p",children:"Insufficient privileges."}):null}},60476:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_admin/design/edit",function(){return n(69199)}])},62455:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(37876),s=n(49995);function i(e){let{badgeStyle:t="outline",children:n,type:i="default",withDot:a}=e,o="",l="";return"outline"===t?(o="border",l="text-new-gray-800 bg-white border border-new-gray-800","active"===i?l="bg-white text-gf-green border-gf-green":"inactive"===i?l="bg-white text-new-gray-500 border-new-gray-500":"notice"===i?l="bg-white text-notice border-notice":"warning"===i?l="bg-white text-warning border-warning":"danger"===i&&(l="bg-white text-danger border-danger")):l="active"===i?"bg-[#DDF3E5] text-[#047144]":"warning"===i?"bg-[#FEEDEC] text-[#E2382C]":"bg-secondary-100 text-secondary-950",(0,r.jsxs)("span",{className:(0,s.A)("cursor-default font-medium text-sm px-3 py-1 rounded-full whitespace-nowrap",o,l,e.className),onClick:e.onClick,"data-sentry-component":"Badge","data-sentry-source-file":"Badge.tsx",children:[function(){if(!a)return null;let t="bg-new-gray-800";"active"===i?t="bg-gf-green":"inactive"===i?t="bg-new-gray-500":"notice"===i?t="bg-notice":"warning"===i?t="bg-warning":"danger"===i&&(t="bg-danger"),t=(0,s.A)(t,e.dotClassName);let n={};return e.dotColor&&(n={backgroundColor:e.dotColor}),(0,r.jsx)("span",{className:(0,s.A)("w-2 h-2 mr-2 inline-flex rounded-full",t),style:n,"data-sentry-component":"dot","data-sentry-source-file":"Badge.tsx"})}(),(0,r.jsx)("span",{children:n})]})}}
120,69199:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>er});var r=n(37876),s=n(5811),i=n(10969),a=n(28418),o=n(78950),l=n(22611),d=n(16710),p=n(13310),c=n(82037),m=n(62195),u=n(23060),x=n(14232),f=n(62455);function h(e){let{component:t,usingEdit:n}=e;return(0,r.jsx)(f.A,{onClick:()=>n.handleEditComponent(t),className:"cursor-pointer hover:bg-green-100 transition","data-sentry-element":"Badge","data-sentry-component":"AttributeBadge","data-sentry-source-file":"AttributeBadge.tsx",children:t.key})}function g(e){let{attrs:t,usingEdit:n}=e;return(0,r.jsx)("div",{className:"flex gap-1","data-sentry-component":"AttributeList","data-sentry-source-file":"AttributeList.tsx",children:t?.length===0?(0,r.jsx)("div",{children:"(None)"}):(0,r.jsx)(r.Fragment,{children:t?.map(e=>(0,r.jsx)(h,{component:e,usingEdit:n},e.id))})})}var y=n(14668),b=n(19070),j=n(88129);function C(e){let{form:t}=e,{register:n,watch:s}=t;if("GF_PRESET"!==s("type"))return null;let o=s("presetName");if(!o)return null;let l=m.w.find(e=>e.name===o);if(!l)return console.warn(`No preset found for ${s("presetName")}`),null;let p=l.attributes;return p?(0,r.jsxs)("div",{className:i.Ay.formClass,"data-sentry-component":"EditPresetAttributes","data-sentry-source-file":"EditPresetAttributes.tsx",children:[(0,r.jsxs)("h2",{className:"h2",style:{margin:0},children:["<",l.name,"> Attributes"]}),p.map(e=>(0,r.jsxs)(a.fh,{children:[(0,r.jsx)(a.Dk,{children:e.key}),(0,r.jsx)("input",{type:"hidden",...n(`presetAttributes.${e.key}.key`,{value:e.key})}),"enum"===e.type&&(0,r.jsx)(d.A,{register:n(`presetAttributes.${e.key}.value`),options:e.enumOptions}),"enum"!==e.type&&(0,r.jsx)(a.ks,{register:n(`presetAttributes.${e.key}.value`)})]},e.key))]}):(console.warn(`No attributes found for ${s("presetName")}`),null)}var E=n(73e3),v=n(88247);function w(e){let{usingEdit:t}=e,n=e.componentType||"page",s=t.currentComponent(),{hookForm:f,site:h}=t,{components:w}=h||{components:[]},{formState:{errors:k},register:A,handleSubmit:I,setValue:N,watch:T}=f,S=I(function(e){let n,r,{presetAttributes:i,...a}=e;i&&Object.entries(i).length>0&&(n=Object.entries(i).map(([e,t])=>({key:e,value:t.value})));let o=[];if(a.attributes){let e=n?.map(e=>e.key)||[];o=(a.attributes||[]).filter(t=>!e.includes(t.key))}(o||n)&&(r=[...o||[],...n||[]]),r&&(r=r.filter(e=>e.value),a={...a,attributes:r}),"REFERENCE"!==a.type&&(a={...a,references:null}),t.handleChildComponentChange({...s,...a})}),[F,$]=(0,x.useState)(!1),[U,L]=(0,x.useState)(!1),[D,R]=(0,x.useState)(!1),[W,P]=(0,x.useState)(!1),[M,G]=(0,x.useState)(8),[J,B]=(0,x.useState)(8);function V(){F&&s?(t.handleChildComponentDelete(s),$(!1)):$(!0)}function _(){return(0,r.jsx)(d.A,{register:A("references",{required:!0}),"data-sentry-element":"Select","data-sentry-component":"referencesDropDown","data-sentry-source-file":"ComponentForm.tsx",children:w.filter(e=>!e.parentId).sort((e,t)=>(e.title||e.key||"").localeCompare(t.title||t.key||"")).map(e=>(0,r.jsx)("option",{value:e.key,children:e.title},e.key))})}(0,x.useEffect)(()=>{if(s){N("childUsage",s.childUsage||"ATTRIBUTE"),N("key",s.key||""),N("presetName",s.presetName||""),N("references",s.references||""),N("route",s.route||""),N("style",s.style||""),N("title",s.title||""),N("type",s.type||"TEXT"),N("value",s.value||"");let e=t.componentAttributes(s).filter(e=>"TEMPLATE"!==e.childUsage);N("attributes",e.map(e=>({key:e.key,value:e.value}))),N("presetAttributes",e.reduce((e,t)=>{let n={key:t.key,value:t.value};return{...e,[t.key]:n}},{}))}},[s]);let q=T("childUsage"),H=T("references"),O=T("presetName");return((0,x.useEffect)(()=>R(!1),[q]),(0,x.useEffect)(()=>L(!1),[H]),(0,x.useEffect)(()=>P(!1),[O]),s)?(0,r.jsxs)("div",{"data-sentry-component":"ComponentForm","data-sentry-source-file":"ComponentForm.tsx",children:[t.stack.length>1&&(0,r.jsx)("div",{className:"pr-4",children:(0,r.jsx)(c.HI,{onClick:()=>t.popStack(),children:"Back"})}),(0,r.jsxs)("form",{onSubmit:function(e){e.preventDefault(),e.stopPropagation(),S(e)},className:i.Ay.formClass,children:[(0,r.jsxs)(a.fh,{"data-sentry-element":"FormRow","data-sentry-source-file":"ComponentForm.tsx",children:[(0,r.jsxs)(a.Dk,{"data-sentry-element":"RowLabel","data-sentry-source-file":"ComponentForm.tsx",children:["Title",!s?.parentId&&(0,r.jsx)(l.A,{})]}),(0,r.jsx)(a.ks,{register:A("title",{required:!s.parentId}),"data-sentry-element":"TextInput","data-sentry-source-file":"ComponentForm.tsx"}),(0,r.jsx)(a.Kw,{errors:k,name:"title","data-sentry-element":"ErrorMessage","data-sentry-source-file":"ComponentForm.tsx"})]}),(0,r.jsxs)(a.fh,{"data-sentry-element":"FormRow","data-sentry-source-file":"ComponentForm.tsx",children:[(0,r.jsxs)(a.Dk,{"data-sentry-element":"RowLabel","data-sentry-source-file":"ComponentForm.tsx",children:["Key",(0,r.jsx)(l.A,{"data-sentry-element":"RequiredFieldAsterisk","data-sentry-source-file":"ComponentForm.tsx"})]}),(0,r.jsx)(a.ks,{register:A("key",{required:!0}),"data-sentry-element":"TextInput","data-sentry-source-file":"ComponentForm.tsx"})]}),s.id&&(0,r.jsxs)(a.fh,{children:[(0,r.jsx)(a.J3,{children:"ID"}),(0,r.jsx)(c.Ex,{children:s.id})]}),s.parentId&&(0,r.jsxs)(a.fh,{children:[(0,r.jsx)(a.J3,{children:"Parent"}),(0,r.jsxs)("div",{className:"flex flex-wrap gap-2",children:[h?.components.filter(e=>e.id===s.parentId).map(e=>(0,r.jsx)(c.Ex,{onClick:()=>{e.id&&t.handleEditComponent(e)},className:"cursor-pointer",children:e.title||e.key},e.id)),h?.components.filter(e=>e.id===s.parentId).length===0&&(0,r.jsx)("span",{className:"text-gray-500",children:"Not found"})]})]}),s.key&&(0,r.jsxs)(a.fh,{children:[(0,r.jsx)(a.J3,{children:"Referenced By"}),(0,r.jsxs)("div",{className:"flex flex-wrap gap-2",children:[h?.components.filter(e=>e.references===s.key).map(e=>(0,r.jsx)(c.Ex,{onClick:()=>{e.id&&t.handleEditComponent(e)},className:"cursor-pointer",children:e.title||e.key},e.id)),h?.components.filter(e=>e.references===s.key).length===0&&(0,r.jsx)("span",{className:"text-gray-500",children:"None"})]})]}),!s.parentId&&("HTML"===T("type")||"page"===n)&&(0,r.jsxs)(a.fh,{children:[(0,r.jsx)(a.Dk,{children:"Page route"}),(0,r.jsx)(a.ks,{register:A("route"),placeholder:"HTML"===T("type")?"/my-page":void 0}),(0,r.jsx)("div",{className:"text-sm text-gray-500 mt-1",children:"HTML"===T("type")&&"Adding a route makes this component a page"}),(0,r.jsx)(a.Kw,{errors:k,name:"route"})]}),(0,r.jsx)(a.fh,{"data-sentry-element":"FormRow","data-sentry-source-file":"ComponentForm.tsx",children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(a.Dk,{"data-sentry-element":"RowLabel","data-sentry-source-file":"ComponentForm.tsx",children:["Type",(0,r.jsx)(l.A,{"data-sentry-element":"RequiredFieldAsterisk","data-sentry-source-file":"ComponentForm.tsx"})]}),(0,r.jsx)(a.z6,{radios:u.JQ,idPrefix:"AttributeForm",register:A("type",{required:!0}),"data-sentry-element":"RadioGroup","data-sentry-source-file":"ComponentForm.tsx"}),(0,r.jsx)(a.Kw,{errors:k,name:"type","data-sentry-element":"ErrorMessage","data-sentry-source-file":"ComponentForm.tsx"})]})}),"REFERENCE"===T("type")&&(0,r.jsx)(a.fh,{children:s.id?(0,r.jsx)(r.Fragment,{children:U?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.Dk,{children:"References Component"}),(0,r.jsxs)("div",{className:"flex gap-4",children:[_(),(0,r.jsx)("div",{className:"a",onClick:()=>L(!1),children:"dismiss"})]})]}):(0,r.jsxs)("div",{className:"flex",children:[(0,r.jsx)(a.J3,{children:"References Component"}),(0,r.jsxs)("div",{className:"flex gap-4",children:[(0,r.jsx)(c.Ex,{onClick:()=>s.references&&function(e){let n=w.find(t=>t.key===e);n&&t.handleEditComponent(n)}(s.references),children:T("references")}),(0,r.jsx)("div",{className:"a",onClick:()=>L(!0),children:"change"})]})]})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.Dk,{children:"References Component (key)"}),_(),(0,r.jsx)(a.Kw,{errors:k,name:"references"})]})}),"GF_PRESET"===T("type")&&(0,r.jsx)(a.fh,{children:s.id&&!W?(0,r.jsxs)("div",{className:"flex",children:[(0,r.jsx)(a.J3,{children:"Preset"}),(0,r.jsxs)("div",{className:"flex gap-4",children:[(0,r.jsx)(c.Ex,{children:T("presetName")}),(0,r.jsx)("div",{className:"a",onClick:()=>P(!0),children:"change"})]})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(a.Dk,{children:["Preset",(0,r.jsx)(l.A,{})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(d.A,{register:A("presetName",{required:!0}),children:m.w.map(e=>(0,r.jsx)("option",{value:e.name,children:e.name},e.name))}),(0,r.jsx)(a.Kw,{errors:k,name:"presetName"})]}),(0,r.jsx)("div",{className:"a",onClick:()=>P(!1),children:"dismiss"})]})}),s.parentId&&(0,r.jsx)(a.fh,{children:s.id&&!D?(0,r.jsxs)("div",{className:"flex",children:[(0,r.jsx)(a.J3,{children:"Child Usage"}),(0,r.jsxs)("div",{className:"flex gap-4",children:[(0,r.jsx)(c.Ex,{children:T("childUsage")}),(0,r.jsx)("div",{className:"a",onClick:()=>R(!0),children:"change"})]})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(a.Dk,{children:["Child Usage",(0,r.jsx)(l.A,{})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(a.z6,{idPrefix:"AttributeForm",radios:u.mh,register:A("
120childUsage",{required:!0})}),(0,r.jsx)(a.Kw,{errors:k,name:"childUsage"})]}),s.id&&(0,r.jsx)("div",{className:"a",onClick:()=>R(!1),children:"dismiss"})]})]})}),"TEXT"===T("type")&&(0,r.jsxs)(a.fh,{children:[(0,r.jsx)(a.Dk,{children:"Text"}),(0,r.jsx)(a.ks,{register:A("value")}),(0,r.jsx)(a.Kw,{errors:k,name:"value"})]}),"HTML"===T("type")&&(0,r.jsxs)(a.fh,{children:[(0,r.jsx)(a.Dk,{children:"HTML"}),(0,r.jsx)(a.fs,{register:A("value"),rows:M,onFocus:function(){B(8),G(20)}}),(0,r.jsx)(a.Kw,{errors:k,name:"value"})]}),(0,r.jsxs)(a.fh,{"data-sentry-element":"FormRow","data-sentry-source-file":"ComponentForm.tsx",children:[(0,r.jsx)(a.Dk,{"data-sentry-element":"RowLabel","data-sentry-source-file":"ComponentForm.tsx",children:"Template Tags"}),(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,r.jsx)(g,{attrs:t.componentAttributes(s).filter(e=>"TEMPLATE"===e.childUsage),usingEdit:t,"data-sentry-element":"AttributeList","data-sentry-source-file":"ComponentForm.tsx"}),(0,r.jsxs)(y.A,{onClick:()=>t.handleNewAttribute({childUsage:"TEMPLATE"}),"data-sentry-element":"SecondaryButton","data-sentry-source-file":"ComponentForm.tsx",children:[(0,r.jsx)(p.A,{className:"w-4 h-4 color-white fill-current","data-sentry-element":"PlusIcon","data-sentry-source-file":"ComponentForm.tsx"})," Add tag"]})]})]}),["HTML","REFERENCE","GF_PRESET"].includes(T("type"))&&(0,r.jsxs)(a.fh,{children:[(0,r.jsx)(a.Dk,{children:"Style CSS"}),(0,r.jsx)(a.fs,{register:A("style"),rows:J,onFocus:function(){G(8),B(20)}}),(0,r.jsx)(a.Kw,{errors:k,name:"style"})]}),(0,r.jsxs)(a.vZ,{label:"Attributes",className:i.Ay.formClass,"data-sentry-element":"FieldSet2","data-sentry-source-file":"ComponentForm.tsx",children:[(0,r.jsx)(C,{form:f,"data-sentry-element":"EditPresetAttributes","data-sentry-source-file":"ComponentForm.tsx"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"flex justify-between items-center",children:[(0,r.jsx)("h2",{className:"h2",children:"All Attributes"}),(0,r.jsxs)(E.A,{onClick:()=>t.handleNewAttribute(),"data-sentry-element":"ActionButton","data-sentry-source-file":"ComponentForm.tsx",children:[(0,r.jsx)(p.A,{className:"w-4 h-4 color-white fill-current","data-sentry-element":"PlusIcon","data-sentry-source-file":"ComponentForm.tsx"})," Add attribute"]})]}),(0,r.jsx)(g,{attrs:t.componentAttributes(s).filter(e=>"TEMPLATE"!==e.childUsage),usingEdit:t,"data-sentry-element":"AttributeList","data-sentry-source-file":"ComponentForm.tsx"})]})]}),t.processingError&&(0,r.jsx)("div",{className:"text-red-500",children:t.processingError.message}),(0,r.jsx)(v.A,{mutationInfo:t.mutationInfo,successMessage:"Component saved","data-sentry-element":"AshMutationResult","data-sentry-source-file":"ComponentForm.tsx"}),(0,r.jsx)(b.A,{loading:t.processing,cancel:{onClick:()=>t.popStack(),disabled:t.stack.length<=1},"data-sentry-element":"SubmitButtonRow","data-sentry-source-file":"ComponentForm.tsx"}),s.id&&(0,r.jsxs)("div",{className:"flex justify-center",children:[(0,r.jsx)(c.et,{onClick:V,withIcon:!0}),(0,r.jsxs)(o.A,{isOpen:F,onClose:()=>$(!1),children:[(0,r.jsx)("h2",{className:"h2 text-center",children:"Delete Attribute"}),(0,r.jsx)("p",{className:"p",children:"Are you sure you want to delete this attribute?"}),(0,r.jsxs)(b.A,{cancel:{onClick:()=>$(!1)},submitButton:{handleClick:()=>V()},children:[(0,r.jsx)(j.A,{className:"w-4 h-4"}),"Yes"]})]})]})]})]}):null}var k=n(49995);function A(e){let{active:t,children:n,onClick:s}=e;return(0,r.jsxs)("li",{className:(0,k.A)("group flex flex-col transition",t||"cursor-pointer"),onClick:s,"data-sentry-component":"NavItem","data-sentry-source-file":"NavItem.tsx",children:[(0,r.jsx)("div",{className:"px-3",children:n}),(0,r.jsx)("div",{className:(0,k.A)("h-1 mx-[1px] translate-y-[1px]","bg-gf-green-dark","transition group-hover:opacity-100",t||"opacity-0")}),(0,r.jsx)("div",{className:"h-[1px] bg-slate-300"})]})}function I(e){let{activeId:t,items:n,onTabClick:s}=e;return(0,r.jsx)("ul",{className:"Navigation flex","data-sentry-component":"TabbedNavigation","data-sentry-source-file":"TabbedNavigation.tsx",children:n.map(e=>(0,r.jsx)(A,{active:e.id===t,onClick:()=>s&&s(e.id),children:e.label},e.id))})}var N=n(88992),T=n(64177);let S=x.forwardRef(function({title:e,titleId:t,...n},r){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?x.createElement("title",{id:t}
120,e):null,x.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 8.25H7.5a2.25 2.25 0 00-2.25 2.25v9a2.25 2.25 0 002.25 2.25h9a2.25 2.25 0 002.25-2.25v-9a2.25 2.25 0 00-2.25-2.25H15m0-3l-3-3m0 0l-3 3m3-3V15"}))}),F=x.forwardRef(function({title:e,titleId:t,...n},r){return x.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true",ref:r,"aria-labelledby":t},n),e?x.createElement("title",{id:t},e):null,x.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 8.25H7.5a2.25 2.25 0 00-2.25 2.25v9a2.25 2.25 0 002.25 2.25h9a2.25 2.25 0 002.25-2.25v-9a2.25 2.25 0 00-2.25-2.25H15M9 12l3 3m0 0l3-3m-3 3V2.25"}))});var $=n(86879),U=n(33881),L=n(10688),D=n(26975),R=n(85819),W=n(6195),P=n(46338),M=n(94569),G=n(6724);function J(){let{handleSubmit:e,register:t}=(0,N.mN)({defaultValues:{importWebsite:{objectUrl:"s3://mp1md-pub/temp/website.json"},exportWebsite:{objectUrl:"s3://mp1md-pub/temp/website.json"},importContent:{url:"s3://mp1md-pri/temp/content.json"},exportContent:{url:"s3://mp1md-pri/temp/content.json"},exportForms:{url:"s3://mp1md-pub/temp/forms.json"},importForms:{url:"s3://mp1md-pub/temp/forms.json"},exportSettings:{url:"s3://mp1md-pri/temp/group-settings.json"},importSettings:{url:"s3://mp1md-pri/temp/group-settings.json"}}}),[n,s]=(0,T.n)(G.Ez),[i,a]=(0,T.n)(G.F0),[o,l]=(0,T.n)(W.y3),[d,p]=(0,T.n)(W.lA),[c,m]=(0,T.n)(P.l9),[u,x]=(0,T.n)(P.CQ),[f,h]=(0,R.X)(M.Js),[g,y]=(0,R.X)(M.cX);return(0,r.jsxs)("div",{className:"flex flex-col gap-8","data-sentry-component":"ImportExport","data-sentry-source-file":"ImportExport.tsx",children:[(0,r.jsx)($.A,{className:"flex items-center","data-sentry-element":"SectionHeading","data-sentry-source-file":"ImportExport.tsx",children:"Website Components"}),(0,r.jsx)(B,{operation:"export",heading:"Export Website Design",helpText:"Export the website design to a cloud file specified by the following URL.",mutationResult:s,handleSubmit:e(function(e){n({variables:{input:e.exportWebsite}})}),register:t("exportWebsite.objectUrl"),"data-sentry-element":"ImportExportForm","data-sentry-source-file":"ImportExport.tsx"}),(0,r.jsx)(B,{operation:"import",heading:"Import Website Design",helpText:"Import a website design from a cloud file specified by the following URL. This destructively replaces the current web site design.",mutationResult:a,handleSubmit:e(function(e){i({variables:{input:e.importWebsite}})}),register:t("importWebsite.objectUrl"),"data-sentry-element":"ImportExportForm","data-sentry-source-file":"ImportExport.tsx"}),(0,r.jsx)($.A,{className:"flex items-center","data-sentry-element":"SectionHeading","data-sentry-source-file":"ImportExport.tsx",children:"Content"}),(0,r.jsx)(B,{operation:"export",heading:"Export Content",helpText:"Export the group's content to a cloud file specified by the following URL.",mutationResult:l,handleSubmit:e(function(e){o({variables:{input:e.exportContent}})}),register:t("exportContent.url"),"data-sentry-element":"ImportExportForm","data-sentry-source-file":"ImportExport.tsx"}),(0,r.jsx)(B,{operation:"import",heading:"Import Content",helpText:"Import all content from another group. This includes navigation links and text content.",mutationResult:p,handleSubmit:e(function(e){d({variables:{input:e.importContent}})}),register:t("importContent.url"),"data-sentry-element":"ImportExportForm","data-sentry-source-file":"ImportExport.tsx"}),(0,r.jsx)($.A,{className:"flex items-center","data-sentry-element":"SectionHeading","data-sentry-source-file":"ImportExport.tsx",children:"Forms"}),(0,r.jsx)(B,{operation:"export",heading:"Export Forms",helpText:"Export the group's forms to a cloud file specified by the following URL.",mutationResult:m,handleSubmit:e(function(e){c({variables:{input:e.exportForms}})}),register:t("exportForms.url"),"data-sentry-element":"ImportExportForm","data-sentry-source-file":"ImportExport.tsx"}),(0,r.jsx)(B,{operation:"import",heading:"Import Forms",helpText:"Import all forms from another group. This includes all form definitions and form submissions.",mutationResult:x,handleSubmit:e(function(e){u({variables:{input:e.importForms}})}),register:t("importForms.url"),"data-sentry-element":"ImportExportForm","data-sentry-source-file":"ImportExport.tsx"}),(0,r.jsx)($.A,{className:"flex items-center","data-sentry-element":"SectionHeading","data-sentry-source-file":"ImportExport.tsx",children:"Group Settings"}),(0,r.jsx)(B,{operation:"export",heading:"Export Group Settings",helpText:"Export the group's settings to a cloud file specified by the following URL.",ashMutationResult:h,handleSubmit:e(function(e){f({variables:{input:e.exportSettings}},"exportGroupSettings")}),register:t("exportSettings.url"),"data-sentry-element":"ImportExportForm","data-sentry-source-file":"ImportExport.tsx"}),(0,r.jsx)(B,{operation:"import",heading:"Import Group Settings",helpText:"Import group settings from a cloud file specified by the following URL.",ashMutationResult:y,handleSubmit:e(function(e){g({variables:{input:e.importSettings}},"importGroupSettings")}),register:t("importSettings.url"),"data-sentry-element":"ImportExportForm","data-sentry-source-file":"ImportExport.tsx"})]})}function B(e){let{heading:t,helpText:n,ashMutationResult:s,mutationResult:i,handleSubmit:o,operation:l,register:d}=e;return(0,r.jsxs)("form",{onSubmit:o,"data-sentry-component":"ImportExportForm","data-sentry-source-file":"ImportExport.tsx",children:[(0,r.jsxs)(L.A,{className:"flex items-center","data-sentry-element":"RowLabel","data-sentry-source-file":"ImportExport.tsx",children:["export"===l?(0,r.jsx)(S,{className:"size-5 mr-2"}):(0,r.jsx)(F,{className:"size-5 mr-2"}),t]}),(0,r.jsx)("p",{className:"p",children:n}),(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)("div",{className:"font-semibold",children:"URL"}),(0,r.jsx)(U.A,{mutationInfo:s,"data-sentry-element":"AshMutationErrors","data-sentry-source-file":"ImportExport.tsx"}),(0,r.jsx)(D.A,{error:i?.error,"data-sentry-element":"ApolloApiError","data-sentry-source-file":"ImportExport.tsx"}),(0,r.jsxs)("div",{className:"flex flex-col sm:flex-row sm:justify-between items-center sm:items-center gap-2 gap-y-4",children:[(0,r.jsx)(a.ks,{register:d,className:"w-[30rem]","data-sentry-element":"TextInput","data-sentry-source-file":"ImportExport.tsx"}),(0,r.jsxs)(b.A,{loading:!!i?.loading,marginTopClass:"",submitButton:{bgColorClass:"import"===l?"bg-red-600":void 0},"data-sentry-element":"SubmitButtonRow","data-sentry-source-file":"ImportExport.tsx",children:["export"===l?(0,r.jsx)(S,{className:"size-5 mr-2"}):(0,r.jsx)(F,{className:"size-5 mr-2"}),"export"===l?"Export":"Import"]})]})]})]})}var V=n(12089),_=n(35739);function q(e){let{usingEdit:t}=e,{site:n}=t,s=t.currentPage();function i(e,t){return(e.title||"")>(t.title||"")?1:-1}let a=n?.components||[];return(0,r.jsx)("div",{"data-sentry-component":"SharedComponentControls","data-sentry-source-file":"SharedComponentControls.tsx",children:(0,r.jsxs)("div",{className:"flex justify-between items-start gap-2",children:[(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsx)("div",{className:"font-bold",children:"Editing component:"}),(0,r.jsx)(d.A,{onChange:function(e){let n=e.nativeEvent.target.selectedIndex,r=e.nativeEvent.target[n].value;t.editPage(r)},value:s?.id,"data-sentry-element":"Select","data-sentry-source-file":"SharedComponentControls.tsx",children:function(e){let t=[],n=[];
120e.forEach(e=>{e.parentId||(e.route?t.push(e):n.push(e))});let s=e=>{let t=e.title?`${e.title} (${e.key})`:e.key;return(0,r.jsx)("option",{className:"hover:cursor-pointer hover:bg-green-200",value:e.id,"data-sentry-component":"renderComponent","data-sentry-source-file":"SharedComponentControls.tsx",children:t},e.id)},a=[(0,r.jsx)("option",{disabled:!0,value:"",children:"--- Pages ---"},"pages-header")];return t.sort(i).forEach(e=>{a.push(s(e))}),a.push((0,r.jsx)("option",{disabled:!0,value:"",children:"--- Shared Components ---"},"shared-components-header")),n.sort(i).forEach(e=>{a.push(s(e))}),a}(a)})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-y-2",children:[t.isAtTopLevel()&&(0,r.jsxs)(E.A,{onClick:()=>t.handleCloneButtonClick(),className:"flex gap-x-1 items-center",children:[(0,r.jsx)(V.A,{className:"h-5 w-5"}),"Clone Component"]}),(0,r.jsxs)(E.A,{onClick:()=>t.handleAddButtonClick("component"),className:"flex gap-x-1 items-center","data-sentry-element":"ActionButton","data-sentry-source-file":"SharedComponentControls.tsx",children:[(0,r.jsx)(_.A,{className:"h-5 w-5","data-sentry-element":"PlusIcon","data-sentry-source-file":"SharedComponentControls.tsx"}),"Add Component"]})]})]})})}let H=[{id:"website",label:"Website Details"},{id:"components",label:"Components"},{id:"import-export",label:"Import & Export"}];function O(e){let{usingEdit:t}=e,{buildPath:n,processing:s,setTabId:o,tabId:l}=t,d=(0,N.mN)({defaultValues:{css:t.site?.css||""}}),{handleSubmit:p,register:c}=d;return(0,x.useEffect)(()=>{t.site&&d.reset({css:t.site.css})},[t.site]),(0,r.jsxs)("div",{className:"flex flex-col gap-4","data-sentry-component":"WebSiteEdit","data-sentry-source-file":"WebSiteEdit.tsx",children:[(0,r.jsx)(I,{items:H,activeId:l,onTabClick:e=>o(e),"data-sentry-element":"TabbedNavigation","data-sentry-source-file":"WebSiteEdit.tsx"}),(0,r.jsxs)("div",{children:["website"===l&&(0,r.jsxs)("form",{className:i.Ay.formClass,onSubmit:p(function(e){t.updateWebSite(e)}),children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(a.Dk,{children:"Website"}),(0,r.jsx)("div",{children:t.site?.id})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(a.Dk,{children:"Build Path"}),(0,r.jsx)("input",{type:"text",disabled:!0,value:n,className:"w-full"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)(a.Dk,{children:"Global CSS"}),(0,r.jsx)("div",{children:(0,r.jsx)(a.fs,{register:c("css"),placeholder:".some-class { color: red; }",rows:8})})]}),(0,r.jsx)("div",{children:(0,r.jsx)(b.A,{loading:s})})]}),"components"===l&&(0,r.jsxs)("div",{className:"flex flex-col gap-8",children:[(0,r.jsx)("div",{className:"border-b-2 border-b-slate-400 pb-4",children:(0,r.jsx)(q,{usingEdit:t})}),(0,r.jsx)(w,{usingEdit:t,componentType:t.currentPage()?.route?"page":"component"})]}),"import-export"===l&&(0,r.jsx)("div",{className:"flex flex-col gap-8",children:(0,r.jsx)(J,{})})]})]})}var X=n(31167),z=n(24447),K=n(13220);let Z="home-page";var Q=n(20994),Y=n(91725),ee=n.n(Y),et=n(20585),en=n(16798);let er=(0,s.PA)(function(){let e=function(){let e=(0,K.Hh)("content"),[t,n]=(0,R.X)(G.LZ),[r,s]=(0,T.n)(G.Xs),[i,a]=(0,T.n)(G.AT),o=(0,X.I)(G.i4,{skip:!e.valid,onCompleted:function(e){b((0,u.sP)(e.getWebSite))}}),[l,d]=(0,T.n)(G.J_),{loading:p,error:c}=o,[m,f]=(0,x.useState)([]),[h,g]=(0,x.useState)(),[y,b]=(0,x.useState)(),[j,C]=(0,x.useState)("components"),E=(0,N.mN)({defaultValues:{childUsage:"ATTRIBUTE",key:"",presetName:"",references:"",type:"TEXT",value:""}}),[v,w]=(0,x.useState)(0),k=n.loading||a.loading||s.loading||d.loading,A=a.error||s.error||d.error,I=(0,K.Jc)(),S=I.webSiteAssets?.buildPath;async function F(e){if(!y?.id)throw Error("Site not loaded");let t=await l({variables:{id:y.id,input:e}}),n=(0,z.VY)(t,"updateWebSite");return n.data&&b(n.data),n}async function $(e){let n;if(!y)throw Error("Site not loaded");let{attrs:r,id:s,...a}=U(e);if(s)n=await t({variables:{id:s,input:a}},"updateWebComponent");else{let e={...a,webSiteId:y.id};n=await i({variables:{input:e}})}return L(n,s)}function U(e){let{__typename:t,...n}=e;return n}function L(e,t){e.errors||(t||J(e.data.createWebComponent.result),o.refetch())}async function D(e){let{id:t}=e;(await r({variables:{id:t}})).errors||o.refetch()}function W(e){if(e.id)return B(e.id)}function P(){M()}function M(){f([])}function J(e){if(0===m.length||!e?.id)return m;let t=[...m.slice(0,m.length-1),e.id];return f(t),t}function B(e){let t=[...m,e];return f(t),t}function V(){let e=m.length>0?m[m.length-1]:null;return"#new"===e?h:y?.components.find(t=>
120t.id===e)}async function _(){if(!y)throw Error("Site not loaded");let e=m[0],t=y?.components.find(t=>t.id===e);if(!t)return;let{id:n}=U(t),r={cloneFromId:n,webSiteId:y.id};return L(await i({variables:{input:r}}))}return(0,x.useEffect)(()=>{if(y?.components&&0===m.length){let e=y.components.find(e=>e.key===Z);e&&W(e)}},[y,m.length]),{authResult:e,addingComponent:h,buildPath:S,cacheVersion:v,componentAttributes:function(e){return y?.components.filter(t=>t.parentId===e.id)||[]},currentComponent:V,currentPage:function(){let e=m[0];if(e)return y?.components.find(t=>t.id===e)},editPage:function(e){let t=y?.components.find(t=>t.id===e);t?.id&&f([t.id])},handleAddButtonClick:function(e){let t={childUsage:"TEMPLATE",type:"HTML",value:"",key:"new-page",route:"/new-page",title:"New Page"};"component"===e&&(t={childUsage:"TEMPLATE",type:"HTML",value:"",key:"new-component",route:"",title:"New Component"}),g(t),B("#new")},handleCancelEdit:M,handleChildComponentChange:$,handleChildComponentDelete:D,handleCloneButtonClick:_,handleComponentSelect:function(e){let t=(e=e||Z)&&y?.components.find(t=>t.id===e);t&&(m.length>0?J(t):W(t))},handleEditComponent:W,handleNewAttribute:function(e){let t=V();t&&(g({childUsage:"ATTRIBUTE",parentId:t.id,type:"TEXT",value:"",...e}),B("#new"))},hookForm:E,isAtTopLevel:function(){return 1===m.length},loadingSite:p,mutationInfo:n,popStack:function(){if(0===m.length)return m;let e=m.slice(0,m.length-1);return f(e),0===e.length&&P&&P(),e},processing:k,processingError:A,replaceTopStackItem:J,setCacheVersion:w,setTabId:C,site:y,siteError:c,stack:m,tabId:j,updateWebSite:F}}(),{authResult:t,hookForm:n}=e,{watch:s}=n,i=e.currentComponent(),a=i&&function(e){if(!e.key||!e.id)return;let t=ee()(e.key,{pascalCase:!0}),n=e.id.replace(/-/g,"");return`${t}${n}`}(i),o=s("style");return(o&&a&&(o=o.replace(/\{\{cmpClass\}\}/g,a)),t.valid)?(0,r.jsxs)(et.A,{"data-sentry-element":"AdminLayout","data-sentry-component":"WebsiteDesigner","data-sentry-source-file":"edit.tsx",children:[(0,r.jsx)(en.A,{backUri:"/_admin","data-sentry-element":"AdminTitleBar","data-sentry-source-file":"edit.tsx",children:"Edit Website"}),e.loadingSite&&(0,r.jsx)("div",{className:"text-red-500",children:"Loading..."}),e.siteError&&(0,r.jsx)("div",{className:"text-red-500",children:e.siteError.message}),(0,r.jsx)("div",{className:"grow relative overflow-y-scroll p-4",children:(0,r.jsx)(O,{usingEdit:e,"data-sentry-element":"WebSiteEdit","data-sentry-source-file":"edit.tsx"})})]}):(0,Q.A)(t)})},91725:e=>{"use strict";let t=(e,t)=>{if(!("string"==typeof e||Array.isArray(e)))throw TypeError("Expected the input to be `string | string[]`");return(t=Object.assign({pascalCase:!1},t),0===(e=Array.isArray(e)?e.map(e=>e.trim()).filter(e=>e.length).join("-"):e.trim()).length)?"":1===e.length?t.pascalCase?e.toUpperCase():e.toLowerCase():(e!==e.toLowerCase()&&(e=(e=>{let t=!1,n=!1,r=!1;for(let s=0;s<e.length;s++){let i=e[s];t&&/[a-zA-Z]/.test(i)&&i.toUpperCase()===i?(e=e.slice(0,s)+"-"+e.slice(s),t=!1,r=n,n=!0,s++):n&&r&&/[a-zA-Z]/.test(i)&&i.toLowerCase()===i?(e=e.slice(0,s-1)+"-"+e.slice(s-1),r=n,n=!1,t=!0):(t=i.toLowerCase()===i&&i.toUpperCase()!==i,r=n,n=i.toUpperCase()===i&&i.toLowerCase()!==i)}return e})(e)),(e=>t.pascalCase?e.charAt(0).toUpperCase()+e.slice(1):e)(e=e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(e,t)=>t.toUpperCase()).replace(/\d+(\w|$)/g,e=>e.toUpperCase())))};e.exports=t,e.exports.default=t},94569:(e,t,n)=>{"use strict";n.d(t,{FF:()=>u,Js:()=>h,Q9:()=>b,U$:()=>C,Ui:()=>c,Vy:()=>d,Zl:()=>j,cX:()=>g,cl:()=>y,fY:()=>o,fk:()=>l,hJ:()=>f,o8:()=>m,rh:()=>x,x5:()=>p});var r=n(86191),s=n(24447);let i=` 121 elementFonts { 122 bodyFontId 123 buttonFontId 124 h1FontId 125 h2FontId 126 h3FontId 127 linkFontId 128 navFontId 129 } 130 fonts { 131 id 132 fontFamily 133 stylesheetUrl 134 type 135 vendorString 136 variants { 137 format 138 style 139 weight 140 urls { 141 format 142 url 143 } 144 } 145 } 146 selectedFonts { 147 id 148 catalogKey 149 customFontId 150 } 151`,a=` 152 abbreviation 153 bankDescriptionName 154 mailingAddress 155 eventsConfig {
156 chargeTimeOffset 157 eventsEmail { 158 name 159 address 160 replyTo 161 } 162 memberDraftsEnabled 163 realtimeCharge 164 } 165 features { 166 allowEmailChange 167 bypassEmailRateLimit 168 pointsEnabled 169 electionsEnabled 170 emailRateLimit 171 emailsEnabled 172 maxContacts 173 reportsEnabled 174 sampleEventsEnabled 175 showAttendeePayAmount 176 volunteersEnabled 177 } 178 id 179 logos { 180 landscape 181 emailLandscape 182 mobileLandscape 183 favicon 184 square 185 } 186 membershipConfig { 187 membershipEmail { 188 name 189 address 190 replyTo 191 } 192 trialTerm 193 } 194 membershipPlans(sort: $sort) { 195 id 196 isDisabled 197 isLifetime 198 name 199 ordinal 200 term 201 text 202 variants { 203 amount 204 id 205 isDefault 206 isDisabled 207 name 208 position 209 } 210 } 211 name 212 paymentProvider 213 slug 214 square { 215 accessToken 216 applicationId 217 locationId 218 } 219 stripe { 220 accountId 221 } 222 taxRate 223 timezone 224 trialEndsAt 225 websiteUrl 226 windowTitleName 227`,o=(0,r.J1)` 228 query GetGroup($sort: [MembershipPlanSortInput]) { 229 getGroup { 230 ${a} 231 } 232 } 233`,l=(0,r.J1)` 234 query GetFinancesGroup { 235 getFinancesGroup { 236 id 237 paymentProvider 238 square { 239 applicationId 240 locationId 241 } 242 stripe { 243 accountId 244 } 245 trialEndsAt 246 } 247 } 248`,d=(0,r.J1)` 249 query GetEventsGroup { 250 getEventsGroup { 251 id 252 eventsConfig { 253 chargeTimeOffset 254 eventsEmail { 255 name 256 address 257 replyTo 258 } 259 memberDraftsEnabled 260 realtimeCharge 261 } 262 } 263 } 264`,p=(0,r.J1)` 265 query GetMembersGroup { 266 getMembersGroup { 267 id 268 duesLetterSettings { 269 daysOffset 270 enabled 271 reminderName 272 } 273 membershipConfig { 274 membershipEmail { 275 name 276 address 277 replyTo 278 } 279 trialTerm 280 } 281 membershipPlans { 282 id 283 isDisabled 284 isLifetime 285 name 286 ordinal 287 term 288 text 289 variants { 290 amount 291 id 292 isDefault 293 isDisabled 294 name 295 position 296 } 297 } 298 } 299 } 300`,c=(0,r.J1)` 301 mutation UpdateGroupBasics($input: UpdateGroupBasicsInput!, $sort: [MembershipPlanSortInput]) { 302 updateGroupBasics(input: $input) { 303 result { 304 ${a} 305 } 306 ${s.VE} 307 } 308 } 309`,m=(0,r.J1)` 310 mutation UpdateMembershipPlans($input: UpdateMembershipPlansInput!) { 311 updateMembershipPlans(input: $input) { 312 result { 313 membershipPlans { 314 id 315 isDisabled 316 isLifetime 317 name 318 ordinal 319 term 320 text 321 variants { 322 amount 323 id 324 isDefault 325 isDisabled 326 name 327 position 328 } 329 } 330 } 331 ${s.VE} 332 } 333 } 334`,u=(0,r.J1)` 335 mutation DeveloperUpdateGroup($input: DeveloperUpdateGroupInput!) { 336 developerUpdateGroup(input: $input) { 337 result { 338 features { 339 allowEmailChange 340 bypassEmailRateLimit 341 pointsEnabled 342 electionsEnabled 343 emailRateLimit 344 emailsEnabled 345 maxContacts 346 reportsEnabled 347 sampleEventsEnabled 348 showAttendeePayAmount 349 volunteersEnabled 350 } 351 paymentProvider 352 websiteUrl 353 square { 354 accessToken 355 applicationId 356 locationId 357 } 358 stripe { 359 accountId 360 } 361 trialEndsAt 362 } 363 ${s.VE} 364 } 365 } 366`,x=(0,r.J1)` 367 query GetContentGroup { 368 getContentGroup { 369 id 370 logos { 371 backgroundImage 372 defaultLogo 373 emailLandscape 374 favicon 375 footerLogo 376 landscape 377 mobileLandscape 378 square 379 } 380 website { 381 config { 382 accentColor
383 buttonBackgroundColor 384 buttonTextColor 385 cornerStyle 386 headingTextColor 387 linkTextColor 388 navMenuTextColor 389 navMenuTextHoverColor 390 pageBackgroundColor 391 pageBackgroundTextColor 392 primaryCardBackgroundColor 393 primaryCardTextColor 394 secondaryAccentColor 395 textColorOverAccent 396 ${i} 397 } 398 } 399 } 400 } 401`,f=(0,r.J1)` 402 mutation UpdateVisualSettings($input: UpdateVisualSettingsInput!) { 403 updateVisualSettings(input: $input) { 404 result { 405 logos { 406 backgroundImage 407 landscape 408 emailLandscape 409 mobileLandscape 410 favicon 411 square 412 } 413 website { 414 config { 415 accentColor 416 buttonBackgroundColor 417 buttonTextColor 418 cornerStyle 419 headingTextColor 420 linkTextColor 421 navMenuTextColor 422 navMenuTextHoverColor 423 pageBackgroundColor 424 pageBackgroun
424dTextColor 425 primaryCardBackgroundColor 426 primaryCardTextColor 427 secondaryAccentColor 428 textColorOverAccent 429 ${i} 430 } 431 } 432 } 433 ${s.VE} 434 } 435 } 436`,h=(0,r.J1)` 437 mutation ExportGroupSettings($input: ExportGroupSettingsInput!) { 438 exportGroupSettings(input: $input) { 439 result { 440 id 441 name 442 slug 443 } 444 errors { 445 code 446 message 447 } 448 } 449 } 450`,g=(0,r.J1)` 451 mutation ImportGroupSettings($input: ImportGroupSettingsInput!) { 452 importGroupSettings(input: $input) { 453 result { 454 id 455 name 456 slug 457 } 458 errors { 459 code 460 message 461 } 462 } 463 } 464`,y=(0,r.J1)` 465 mutation UpdateDuesLetterSetting($input: UpdateDuesLetterSettingInput!) { 466 updateDuesLetterSetting(input: $input) { 467 result { 468 duesLetterSettings { 469 daysOffset 470 enabled 471 reminderName 472 } 473 } 474 ${s.VE} 475 } 476 } 477`,b=(0,r.J1)` 478 mutation UpdateMembershipConfig($input: UpdateMembershipConfigInput!) { 479 updateMembershipConfig(input: $input) { 480 result { 481 membershipConfig { 482 membershipEmail { 483 name 484 address 485 replyTo 486 } 487 trialTerm 488 } 489 } 490 ${s.VE} 491 } 492 } 493`,j=(0,r.J1)` 494 mutation UpdateEventsConfig($input: UpdateEventsConfigInput!) { 495 updateEventsConfig(input: $input) { 496 result { 497 eventsConfig { 498 chargeTimeOffset 499 eventsEmail { 500 name 501 address 502 replyTo 503 } 504 memberDraftsEnabled 505 realtimeCharge 506 } 507 } 508 ${s.VE} 509 } 510 } 511`,C=(0,r.J1)` 512 mutation UpdateOnboardingCompletions( 513 $input: UpdateOnboardingCompletionsInput! 514 ) { 515 updateOnboardingCompletions(input: $input) { 516 result { 517 id 518 slug 519 name 520 onboardingItems { 521 slug 522 prompt 523 completion { 524 completedAt 525 } 526 } 527 } 528 errors { 529 code 530 fields 531 message 532 shortMessage 533 vars 534 } 535 } 536 } 537`}},e=>{e.O(0,[7214,9481,585,636,6593,8792],()=>e(e.s=60476)),_N_E=e.O()}]); 538//# sourceMappingURL=edit-5cd6e8eb1a465dfe.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.