https://www.fashionpersonnel.co.uk/_next/static/chunks/pages/organization/wizard-94e3f5a5a7dcd27f.js
1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f91fb9fb-0998-431c-ac1f-eb9001e685da",e._sentryDebugIdIdentifier="sentry-dbid-f91fb9fb-0998-431c-ac1f-eb9001e685da")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1735,3462,3749,9153],{1635:(e,n,i)=>{"use strict";i.d(n,{A:()=>s,X:()=>d});var t=i(37876);i(14232);let a=e=>"currentColor"===e?"":`var(--color-${e})`,r=({title:e,theme:n=null,titleId:i="",...a})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"1em",height:"1em","aria-labelledby":i,...a,children:[e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsxs)("g",{className:"check_double_svg__nc-icon-wrapper",children:[(0,t.jsx)("path",{d:"M60.3 11.388 31.4 46.274l-4.652-4.651-1.922 2.32 5.617 5.618A1.5 1.5 0 0 0 31.5 50h.07a1.5 1.5 0 0 0 1.085-.541L62.612 13.3Z","data-color":"color-2"}),(0,t.jsx)("path",{d:"M16.5 50a1.5 1.5 0 0 1-1.061-.439L1.379 35.5 3.5 33.379l12.9 12.9 28.9-34.891 2.31 1.914-29.955 36.155A1.5 1.5 0 0 1 16.57 50Z"})]})]}),d=({color:e="currentColor",title:n,fill:i,...d})=>(0,t.jsx)(r,{color:a(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:a(e),fill:a(e)}}:null,fill:i??a(e),title:n,...d}),s=d},3264:e=>{e.exports={wizardStepButtonList:"wizard_wizardStepButtonList__lxnDn",wizardStepSimpleList:"wizard_wizardStepSimpleList__9cmLN"}},20908:(e,n,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/organization/wizard",function(){return i(56143)}])},21069:(e,n,i)=>{"use strict";i.d(n,{A:()=>d});var t=i(37876);i(14232);let a=e=>"currentColor"===e?"":`var(--color-${e})`,r=({title:e,theme:n=null,titleId:i="",...a})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64",width:"1em",height:"1em","aria-labelledby":i,...a,children:[e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsx)("path",{d:"M42 11.171 39.172 14l16 16H2v4h53.172l-16 16L42 52.829l19.414-19.415a2 2 0 0 0 0-2.828L42 11.171z",className:"arrow-long-right_svg__nc-icon-wrapper"})]}),d=({color:e="currentColor",title:n,fill:i,...d})=>(0,t.jsx)(r,{color:a(e),className:"currentColor"===e?"icon-current-color":"",..."currentColor"!==e?{style:{color:a(e),fill:a(e)}}:null,fill:i??a(e),title:n,...d})},21963:(e,n,i)=>{"use strict";i.d(n,{AI:()=>c,Br:()=>d,IT:()=>m,LI:()=>l,Wx:()=>a,ii:()=>o,lv:()=>v,yB:()=>r});var t=i(16636);let a=e=>({...e,fields:Object.keys(e.fields).filter(n=>e.fields[n])}),r=(e,n)=>{let i={};return e.forEach(e=>{i={...i,...d(e,n)}}),i},d=(e,n)=>{let i=Object.keys(e.fields),a={};for(let r of i){if("object"==typeof e.fields[r]){a={...a,[r]:s(r,e,n)};continue}let i=e.fields[r];if(n[i]&&n[i].tid){a={...a,[r]:(0,t.DD)(n[i])};continue}if(n[i]&&n[i].length>0&&n[i][0].tid){a={...a,[r]:(0,t.BC)(n[i])};continue}n[i]&&"Image"===n[i].__typename&&(a=n[i].url?{...a,[r]:n[i].url}:{...a,[r]:null}),a={...a,[r]:n[i]}}return a},s=(e,n,i)=>{let t=n.fields[e],a={};return t&&Object.keys(t.fields).forEach(r=>{if("object"==typeof t.fields[e])a={...a,[r]:s(r,n,i)};else{let e=t.fields[r];a={...a,[r]:i?.[t.name]?.[e]}}}),a},o=(e,n,i=!1)=>{let t={};return e.forEach(e=>{t={...t,...l(e,n,i)}}),t},l=(e,n,i=!1)=>{let t=Object.keys(e.fields),a={};for(let r of t){let t=e.fields[r];if(t){if(n[r]&&n[r].tid&&!n[r].level){a={...a,[t]:i?{tid:n[r].tid,label:n[r].name}:n[r].tid};continue}if(n[r]&&n[r].length>0&&n[r][0]?.tid&&!n[r][0]?.level){a={...a,[t]:n[r].map(e=>i?{tid:e.tid,label:e.label}:e.tid)};continue}if(n[r]&&n[r].length>0&&n[r][0]?.term&&n[r][0]?.level>=0&&n[r][0]?.term?.tid===0){a={...a,[t]:n[r].map(e=>({level:e.level,label:e.term.label}))};continue}if(n[r]&&n[r].length>0&&n[r][0]?.term&&n[r][0]?.level>=0){a={...a,[t]:n[r].map(({term:e,__typename:n,label:i,...t})=>({tid:e.tid,...t}))};continue}if(e.fields[r]&&"object"==typeof e.fields[r]){let i=e.fields[r];if(!n?.[r]||0===Object.keys(n?.[r]).length){a={...a,[i.name]:void 0};continue}a={...a,[i.name]:u(r,e,n)};continue}a={...a,[t]:n[r]}}}return a},u=(e,n,i)=>{let t=n.fields[e],a={};
1return t&&Object.keys(t.fields).forEach(r=>{"object"==typeof t.fields[e]?a={...a,[t.fields[r]]:u(r,n,i)}:i?.[e]&&(a={...a,[t.fields[r]]:i[e][r]})}),a},c=(e,n)=>n.privateFields?.[e],m=(e,n)=>{if(!n?.includes)return!1;let i=0,t=Object.keys(e.fields);for(let e of t)n.includes(e)&&i++;return i===t.length},v=e=>Object.values(e).sort((n,i)=>{let t=n?.order??Object.keys(e).indexOf(n.key),a=i?.order??Object.keys(e).indexOf(i.key);return t<a?-1:+(t>a)}).reduce(function(e,n){return e[n.key]=n,e},{})},24368:(e,n,i)=>{"use strict";i.d(n,{A:()=>s,k:()=>d});var t=i(37876);i(14232);var a=i(3264),r=i.n(a);let d=({children:e})=>(0,t.jsx)("div",{className:r().wizardStepSimpleList,children:e}),s=d},26326:(e,n,i)=>{"use strict";i.d(n,{f:()=>r});var t=i(78805),a=i(69139);let r=({gssp:e,redirectTo:n="/403",addDestinationParameterFromUrl:i=!0})=>async r=>{let d=await (0,t.wz)(r),s=await (0,t.wR)(r),o=await (0,t.Gv)(d),l=await (0,t.qc)(d);if(!s){let e="/user/login";return i&&(e+="?destination="+encodeURIComponent(r.resolvedUrl)),{redirect:{destination:(0,a.OM)(r,e),permanent:!1},props:{}}}return o||l?e?await e(r):{props:{}}:{redirect:{destination:(0,a.OM)(r,n),permanent:!1},props:{}}}},28983:(e,n,i)=>{"use strict";i.d(n,{A:()=>d,f:()=>d});var t=i(37876),a=i(98252),r=i.n(a);function d({}){return(0,t.jsx)("div",{className:r().wizardConnector,children:(0,t.jsx)("span",{})})}},33374:(e,n,i)=>{"use strict";i.d(n,{A:()=>c,k:()=>c});var t=i(37876),a=i(17175);i(14232);var r=i(98252),d=i.n(r),s=i(1635),o=i(71411);let l=(0,o.P)("span"),u=(0,a.F)([d().wizardStep],{variants:{active:{true:d().wizardStepActive},current:{false:d().notCurrentStep}}});function c({index:e,text:n,selected:i=!1,checked:a=!1,current:r=!1,checkIconTitle:m="Checked"}){return(0,t.jsxs)("div",{className:u({active:i,current:r}),children:[(0,t.jsx)(l,{className:d().wizardStepNumber,animate:i?a?"activeAndChecked":"active":"inactive",variants:{active:{backgroundColor:"var(--wizard-step-number-active-bg)",borderColor:"var(--wizard-step-number-active-border-color)",color:"var(--wizard-step-number-active-color)"},inactive:{backgroundColor:"var(--wizard-step-number-upcoming-bg)",borderColor:"var(--wizard-step-number-upcoming-border-color)",color:"var(--wizard-step-number-upcoming-color)"},activeAndChecked:{backgroundColor:"var(--wizard-step-number-completed-bg)",borderColor:"var(--wizard-step-number-completed-border-color)",color:"var(--wizard-step-number-completed-color)"}},transition:{duration:.3},children:(0,t.jsx)(o.P.span,{initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.4},children:a?(0,t.jsx)(s.A,{height:"12",width:"12",title:m}):e+1},a.toString())}),(0,t.jsx)("span",{children:n})]})}},47209:(e,n,i)=>{var t={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"organization"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"organization"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"content"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Organization"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"salutation"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"firstName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"position"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"countryCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine1"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine2"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine3"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"administrativeArea"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"locality"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zip"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lat"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lon"},arguments:[],directives:[]}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"CustomOrganizationGroupFields"},directives:[]}]}}]}}]}}]}}],loc:{start:0,end:569}};t.loc.source={body:'#import "~/graphql/queries/organizationGroup/customOrganizationGroupFields.gql"\n\nquery organization {\n organization {\n errors\n content {\n ... on Organization {\n id\n name\n salutation\n firstName\n lastName\n phone\n position\n address {\n address\n countryCode\n addressLine1\n addressLine2\n addressLine3\n administrativeArea\n locality\n zip\n lat\n lon\n }\n ...CustomOrganizationGroupFields\n }\n }\n }\n}\n',name:"GraphQL request",locationOffset:{line:1,column:1}};var a={};t.definitions=t.definitions.concat(i(68601).definitions.filter(function(e){if("FragmentDefinition"!==e.kind)return!0;var n=e.name.value;return!a[n]&&(a[n]=!0,!0)}));var r={};function d(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}t.definitions.forEach(function(e){if(e.name){var n=new Set;!function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})}(e,n),r[e.name.value]=n}}),e.exports=t,e.exports.organization=function(e,n){var i={kind:e.kind,definitions:[d(e,n)]};e.hasOwnProperty("loc")&&(i.loc=e.loc);var t=r[n]||new Set,a=new Set,s=new Set;for(t.forEach(function(e){s.add(e)});s.size>0;){var o=s;
1s=new Set,o.forEach(function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach(function(e){s.add(e)}))})}return a.forEach(function(n){var t=d(e,n);t&&i.definitions.push(t)}),i}(t,"organization")},56143:(e,n,i)=>{"use strict";i.r(n),i.d(n,{__N_SSP:()=>ee,default:()=>en});var t=i(37876),a=i(14232),r=i(31167),d=i(64177),s=i(89099),o=i.n(s),l=i(77742),u=i(8733),c=i(54036),m=i(53248),v=i(98878),f=i.n(v);let p=(0,a.createContext)(null),g=({children:e})=>{let[n,i]=(0,a.useState)(!1),[r,d]=(0,a.useState)(""),[s,o]=(0,a.useState)([]),[l,u]=(0,a.useState)([]),[c,m]=(0,a.useState)([null,null]),[v,f]=(0,a.useState)(null);return(0,t.jsx)(p.Provider,{value:{submitted:n,setSubmitted:i,submittedMessage:r,setSubmittedMessage:d,stepsGroupInfo:s,setStepsGroupInfo:o,stepsFieldGroups:l,setStepsFieldGroups:u,stepButtons:v,setStepButtons:f,stepsData:c,setStepsData:m},children:e})},k=()=>(0,a.useContext)(p);function h({children:e}){return(0,t.jsx)(t.Fragment,{children:e})}let b=(0,a.createContext)({currentStep:1,numberSteps:null,steps:[]});function x({children:e}){let n=(0,a.useContext)(b);return(0,t.jsx)("div",{children:e.filter(Boolean).map((e,i)=>n.currentStep!==i+1?null:e)})}var S=i(93619),z=i(92347),N=i(3098),w=i(56897),_=i(21963);let y=({onPrevious:e,onFinish:n,organizationGroup:i,organizationFieldGroupsInfo:a})=>{let{stepsFieldGroups:r,setStepsData:d,stepsData:s}=k();return r[1]?(0,t.jsx)(S.C,{name:"group",bundle:"organization",fieldGroups:[r[1]],entity:(0,_.yB)(a,i),onSubmit:e=>{s[1]=e,d([...s]),n()},renderButtons:({isValid:n,isSubmitting:i})=>(0,t.jsxs)(N.q,{justifyContent:"flex-end",gap:5,children:[(0,t.jsx)(w.Z,{children:(0,t.jsx)(z.$n,{type:"button",buttonStyle:"secondary",onClick:e,children:(0,t.jsx)(u.A,{id:"previous",defaultMessage:"Previous"})})}),(0,t.jsx)(w.Z,{children:(0,t.jsx)(z.$n,{type:"submit","data-test-id":"organization_wizard_company_info_submit",disabled:i||!n,buttonStyle:"primary",children:(0,t.jsx)(u.A,{id:"submit",defaultMessage:"Submit"})})})]})}):null},j=({onNext:e,organizationGroup:n,organizationFieldGroupsInfo:i})=>{let{stepsFieldGroups:a,setStepsData:r,stepsData:d}=k();return a[0]?(0,t.jsx)(S.C,{name:"group",bundle:"organization",fieldGroups:[a[0]],entity:(0,_.yB)(i,n),onSubmit:n=>{d[0]=n,r([...d]),e()},renderButtons:({isValid:e,isSubmitting:n})=>(0,t.jsxs)(N.q,{justifyContent:"flex-end",gap:5,children:[(0,t.jsx)(w.Z,{children:(0,t.jsx)(z.$n,{type:"button",buttonStyle:"secondary",onClick:()=>{o().back()},children:(0,t.jsx)(u.A,{id:"cancel",defaultMessage:"Cancel"})})}),(0,t.jsx)(w.Z,{children:(0,t.jsx)(z.$n,{type:"submit",disabled:n||!e,buttonStyle:"primary","data-test-id":"organization-wizard-personalinfo-submit",children:(0,t.jsx)(u.A,{id:"next",defaultMessage:"Next"})})})]})}):null},F=e=>(0,t.jsxs)(x,{children:[(0,t.jsx)(h,{children:(0,t.jsx)(j,{...e})}),(0,t.jsx)(h,{children:(0,t.jsx)(y,{...e})})]});var C=i(10797),O=i(51009),A=i(88564),D=i(80841),E=i(80243),I=i(65656),L=i(66874),G=i(63750),B=i(21069),P=i(86338),T=i.n(P);let M=(e,n,i)=>{n(e+1),i&&i(e+1)},R=(e,n,i)=>{n(e-1),i&&i(e-1)},Z=({children:e,nextLabel:n="Next",previousLabel:i="Previous",finishLabel:r="Finish",steps:d,renderButtons:s,onFinish:o,onNext:l,onPrevious:u,goToStep:c})=>{let[m,v]=(0,a.useState)(1),f=d.length;return(0,t.jsxs)(b.Provider,{value:{currentStep:m,numberSteps:f,steps:d},children:[e({numberSteps:f,currentStep:m,onPrevious:()=>R(m,v,u),onNext:()=>M(m,v,l),goToStep:e=>{v(e),c&&c(e)},onFinish:o}),(0,t.jsx)(I.A,{size:"large"}),s?s({numberSteps:f,currentStep:m,onPrevious:()=>R(m,v,u),onNext:()=>M(m,v,l),onFinish:o}):(0,t.jsxs)("div",{className:T().wizardActions,children:[m<f&&(0,t.jsxs)(z.Ay,{type:"button",buttonStyle:"secondary",onClick:e=>M(m,v,l),children:[n,"\xa0",(0,t.jsx)(B.A,{title:"Next step"})]}),m===f&&(0,t.jsx)(z.Ay,{type:"button",buttonStyle:"secondary",...o?{onClick:o}:null,children:r}),m>1&&(0,t.jsx)(z.Ay,{type:"button",buttonStyle:"secondary",raised:!1,onClick:e=>R(m,v,u),children:i})]})]})};var q=i(59128),W=i(33374),$=i(28983),V=i(24368);function K(){let{currentStep:e,steps:n}=(0,a.useContext)(b);return(0,t.jsx)(V.A,{children:n.map((i,r)=>(0,t.jsxs)(a.Fragment,{children:[(0,t.jsx)(W.A,{text:i,selected:r<=e-1,index:r,current:r===e-1}),r<n.length-1&&(0,t.jsx)($.A,{})]},r))})}var U=i(49101),H=i(35581),X=i(47209),Q=i.n(X),Y=i(78805);let J=e=>{let n=(0,l.A)(),i=(0,H.WV)(),s=(0,C.D)(),v=(0,U.a6)(i),p={...i.WIZARD.ORGANIZATIONS.ORGANIZATION_GROUP_FIELDS.personal_info},g={...i.WIZARD.ORGANIZATIONS.ORGANIZATION_GROUP_FIELDS.company_info},h=Object.values(i.ORGANIZATIONS.ORGANIZATION_GROUP_FIELDS),b=[n.formatMessage({id:"organization_wizard_step_personal_information",defaultMessage:"Personal information"}),n.formatMessage({id:"organization_wizard_step_company_information",defaultMessage:"Company information"})],x=null,S=null,{setStepsGroupInfo:z,setStepsFieldGroups:N,stepsData:w,stepButtons:y,stepsGroupInfo:j}=k(),{data:B,error:P,loading:T}=(0,r.I)(Q(),{skip:!(e.user&&(0,Y.Gv)(e.user))}),[M,{error:R,data:W}]=(0,d.n)(f(),{onCompleted:e=>{e.updateOrganization?.errors?.length===0&&o().replace("/dashboard").then(()=>{s.addFlag({type:"success",text:n.formatMessage({id:"organization_group_update_info_success",defaultMessage:"Organization was updated"})})})}});if((0,a.useEffect)(()=>{z([p,g]),N([(0,_.Wx)(p),(0,_.Wx)(g)])},[]),P&&(x=(0,t.jsx)(D.s,{alertStyle:"danger",type:"assertive",children:(0,t.jsx)(u.A,{id:"organization_group_load_error",defaultMessage:"Error getting information from organization."})})),T)return null;B&&(S=B.organization.content),R&&(x=(0,t.jsx)(D.s,{alertStyle:"danger",type:"assertive",children:(0,t.jsx)(u.A,{id:"organization_group_update_error",defaultMessage:"Error updating information from organization."})})),W?.updateOrganization?.errors?.length>0&&(x=(0,t.jsx)(m.k,{errors:W?.updateOrganization?.errors}));let $=()=>{let e,n;M({variables:{data:(e=(0,_.ii)([j[0]],w[0]),n=(0,_.ii)([j[1]],w[1]),{...e,...n})}})};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(E.$,{children:[x&&(0,t.jsxs)(t.Fragment,{children:[x,(0,t.jsx)(I.K,{})]}),(0,t.jsxs)(L.g,{size:"medium",children:[(0,t.jsx)(I.K,{size:"large"}),(0,t.jsx)(G.k,{children:(0,t.jsx)(c.M,{maxHeight:v.logo.singlePageMaxHeight})}),(0,t.jsx)(I.K,{size:"medium"}),(0,t.jsx)(Z,{steps:b,renderButtons:({})=>(0,t.jsx)(q.I,{orientation:"right",children:y}),children:({onNext:e,onPrevious:n})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(K,{}),(0,t.jsx)(I.K,{size:"medium"}),(0,t.jsx)(A.a,{children:(0,t.jsx)(I.K,{padding:6,children:(0,t.jsx)(F,{onFinish:$,onNext:e,onPrevious:n,organizationGroup:S,organizationFieldGroupsInfo:h})})})]})})]})]}),(0,t.jsx)(O.H,{}),(0,t.jsx)(I.K,{})]})};(0,i(26326).f)({});var ee=!0;let en=({user:e})=>(0,t.jsxs)(g,{children:[(0,t.jsx)(J,{user:e}),";"]})},68601:e=>{var n={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"CustomOrganizationGroupFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Organization"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}],loc:{start:0,end:64}};n.loc.source={body:"fragment CustomOrganizationGroupFields on Organization {\n id\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};function t(e,n){for(var i=0;i<e.definitions.length;i++){var t=e.definitions[i];if(t.name&&t.name.value==n)return t}}n.definitions.forEach(function(e){if(e.name){var n=new Set;!function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);
1else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})}(e,n),i[e.name.value]=n}}),e.exports=n,e.exports.CustomOrganizationGroupFields=function(e,n){var a={kind:e.kind,definitions:[t(e,n)]};e.hasOwnProperty("loc")&&(a.loc=e.loc);var r=i[n]||new Set,d=new Set,s=new Set;for(r.forEach(function(e){s.add(e)});s.size>0;){var o=s;s=new Set,o.forEach(function(e){d.has(e)||(d.add(e),(i[e]||new Set).forEach(function(e){s.add(e)}))})}return d.forEach(function(n){var i=t(e,n);i&&a.definitions.push(i)}),a}(n,"CustomOrganizationGroupFields")},86338:e=>{e.exports={wizardActions:"wizard_wizardActions__2mi20"}},98252:e=>{e.exports={wizardStep:"wizard_wizardStep__xaza3",wizardStepActive:"wizard_wizardStepActive__1yuiC",notCurrentStep:"wizard_notCurrentStep__KuiU1",wizardStepNumber:"wizard_wizardStepNumber__R8WBA",wizardConnector:"wizard_wizardConnector__yh8uA",bottomBorder:"wizard_bottomBorder__72End",bottomBorderActiveAndNotChecked:"wizard_bottomBorderActiveAndNotChecked__b6Y7C",wizardStepButton:"wizard_wizardStepButton__0B_GD",wizardStepButtonActive:"wizard_wizardStepButtonActive__mHmJt",wizardStepButtonDisabled:"wizard_wizardStepButtonDisabled__TGuiV",wizardStepButtonNumber:"wizard_wizardStepButtonNumber__YLjtD",arrowWrapper:"wizard_arrowWrapper__4PFXz",arrow:"wizard_arrow__o4l2D"}},98878:e=>{var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"data"}},type:{kind:"NamedType",name:{kind:"Name",value:"OrganizationInput"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateOrganization"},arguments:[{kind:"Argument",name:{kind:"Name",value:"data"},value:{kind:"Variable",name:{kind:"Name",value:"data"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"errors"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"content"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Organization"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"salutation"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"academicPrefix"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"firstName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"academicPostfix"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"position"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"size"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"tid"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"label"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"countryCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine1"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine2"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"addressLine3"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"administrativeArea"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"locality"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zip"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lat"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lon"},arguments:[],directives:[]}]}}]}}]}}]}}]}}],loc:{start:0,end:584}};n.loc.source={body:"mutation($data: OrganizationInput) {\n updateOrganization(data: $data) {\n errors\n content {\n ... on Organization {\n id\n name\n salutation\n academicPrefix\n firstName\n lastName\n academicPostfix\n phone\n position\n size {\n tid\n label\n }\n address {\n address\n countryCode\n addressLine1\n addressLine2\n addressLine3\n administrativeArea\n locality\n zip\n lat\n lon\n }\n }\n }\n }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};var i={};n.definitions.forEach(function(e){if(e.name){var n=new Set;!function e(n,i){if("FragmentSpread"===n.kind)i.add(n.name.value);
1else if("VariableDefinition"===n.kind){var t=n.type;"NamedType"===t.kind&&i.add(t.name.value)}n.selectionSet&&n.selectionSet.selections.forEach(function(n){e(n,i)}),n.variableDefinitions&&n.variableDefinitions.forEach(function(n){e(n,i)}),n.definitions&&n.definitions.forEach(function(n){e(n,i)})}(e,n),i[e.name.value]=n}}),e.exports=n}},e=>{e.O(0,[1121,6701,8230,9307,4272,5406,8724,4133,7302,7579,8564,8618,2557,2243,6989,7843,5411,3057,261,636,6593,8792],()=>e(e.s=20908)),_N_E=e.O()}]); 2//# sourceMappingURL=wizard-94e3f5a5a7dcd27f.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.