1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1785],{1594:e=>{e.exports={btn__wrapper:"inbox_btn__wrapper__j79op",grid__inboxes:"inbox_grid__inboxes__hQz69",grid__widget:"inbox_grid__widget__Ehrp2",grid__color:"inbox_grid__color__v7Ybn",preview__wrapper:"inbox_preview__wrapper__9QzHn",form__builder:"inbox_form__builder__p_3g4",builder__row:"inbox_builder__row__2nVYN",builder__item:"inbox_builder__item__Sbswy",item__pointer:"inbox_item__pointer__nlJ8B",item__disabled:"inbox_item__disabled__k4nR8",item__actions:"inbox_item__actions__gzNDj",item__group:"inbox_item__group__CauNI",button__trash:"inbox_button__trash__F0Qbg",builder__tree:"inbox_builder__tree__vkeUp",builder__options:"inbox_builder__options__V0Mja",button__plus:"inbox_button__plus__NDymQ",button__wrapper:"inbox_button__wrapper__eijZ9",snippet:"inbox_snippet__Zn3MF"}},2465:(e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i="arrow-right-to-bracket",s=["sign-in"],t="f090",n=["M320 64c0 17.7 14.3 32 32 32l64 0c17.7 0 32 14.3 32 32l0 256c0 17.7-14.3 32-32 32l-64 0c-17.7 0-32 14.3-32 32s14.3 32 32 32l64 0c53 0 96-43 96-96l0-256c0-53-43-96-96-96l-64 0c-17.7 0-32 14.3-32 32z","M342.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L242.7 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l210.7 0-73.4 73.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l128-128z"];a.definition={prefix:"fad",iconName:i,icon:[512,512,s,t,n]},a.faArrowRightToBracket=a.definition,a.prefix="fad",a.iconName=i,a.width=512,a.height=512,a.ligatures=s,a.unicode=t,a.svgPathData=n,a.aliases=s},3578:(e,a,i)=>{"use strict";i.d(a,{On:()=>n,ZR:()=>c,kB:()=>t});var s=i(69923);async function t(e){let a=await fetch("".concat("/api","/user/custom-domains?userId=").concat(e),{headers:{}});return await (0,s.OS)(a,200)}async function n(e){let a=await fetch("".concat("/api","/user/custom-domains/").concat(e),{method:"DELETE",headers:{}});await (0,s.G$)(a,200)}async function c(e,a){let i=await fetch("".concat("/api","/user/custom-domains"),{method:"POST",body:JSON.stringify({hostname:a,userId:e.authorization.managerId}),headers:{"Content-Type":"application/json"}});return await (0,s.OS)(i,201)}},5987:(e,a,i)=>{"use strict";var s=i(52315);a.mw={prefix:s.prefix,iconName:s.iconName,icon:[s.width,s.height,s.aliases,s.unicode,s.svgPathData]},a.iW=a.mw,s.prefix,s.iconName,s.width,s.height,s.aliases,s.unicode,s.svgPathData,s.aliases},18006:(e,a,i)=>{"use strict";var s=i(18975);a.mw={prefix:s.prefix,iconName:s.iconName,icon:[s.width,s.height,s.aliases,s.unicode,s.svgPathData]},a.Te=a.mw,s.prefix,s.iconName,s.width,s.height,s.aliases,s.unicode,s.svgPathData,s.aliases},18975:(e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i="paintbrush-fine",s=["paint-brush-alt","paint-brush-fine","paintbrush-alt"],t="f5a9",n=["M0 480c0 17.7 14.3 32 32 32l144 0c61.9 0 112-50.1 112-112c0-10-1.3-19.7-3.8-29c-26.4-26.5-52.7-52.8-79.2-79.2c-9.3-2.4-19-3.8-29-3.8c-61.9 0-112 50.1-112 112c0 3.9 .2 7.8 .6 11.6C66.4 429.1 54.4 448 36.8 448L32 448c-17.7 0-32 14.3-32 32z","M559.6 95.6c21.9-21.9 21.9-57.3 0-79.2s-57.3-21.9-79.2 0L205.1 291.7l79.2 79.2L559.6 95.6z"];a.definition={prefix:"fad",iconName:i,icon:[576,512,s,t,n]},a.faPaintbrushFine=a.definition,a.prefix="fad",a.iconName=i,a.width=576,a.height=512,a.ligatures=s,a.unicode=t,a.svgPathData=n,a.aliases=s},19694:e=>{e.exports={search__wrapper:"dashelems_search__wrapper__G89Sn",search__close:"dashelems_search__close__D9JTK",searchclose__icon:"dashelems_searchclose__icon__OumkL",current__grid:"dashelems_current__grid__07WtX",disable_grid:"dashelems_disable_grid__H1AFi",two__third:"dashelems_two__third__WKCv_",with__separator:"dashelems_with__separator__0Dulf",with__border:"dashelems_with__border__UEfTJ",flex:"dashelems_flex__Yv2jH",body__list:"dashelems_body__list__CwTNQ",input__list:"dashelems_input__list__gLxBk",anim__none:"dashelems_anim__none__AUvmd",body__table:"dashelems_body__table__gUQak",timestamp:"dashelems_timestamp__UohhX",timestamp2:"dashelems_timestamp2__X9etF",content:"dashelems_content__s0pxm",truncat_descrip:"dashelems_truncat_descrip__Q8ny1",alt:"dashelems_alt__C8hOa",env:"dashelems_env__UfO_m",info:"dashelems_info__THtAQ",actions:"dashelems_actions__VFlBC",name:"dashelems_name__CAwe_",flag:"dashelems_flag__H53M0",table__alt:"dashelems_table__alt__ihe3V",filename:"dashelems_filename__uDaRs",recipient:"dashelems_recipient__0CR2C",filetype:"dashelems_filetype__Zr0Xh",filesize:"dashelems_filesize__Fzw67",list_second_mail:"dashelems_list_second_mail__bHM8m",list__actions:"dashelems_list__actions__5N1Sw",spacer:"dashelems_spacer__8TU5T",success:"dashelems_success__UvrZx",failed:"dashelems_failed__AHfOh",infor:"dashelems_infor__UlnOu",param__list:"dashelems_param__list__vPyZP",inline__box:"dashelems_inline__box__1F1RJ",email:"dashelems_email__6IiRl",dropdown__wrapper:"dashelems_dropdown__wrapper__TXynM",dropdown__addr:"dashelems_dropdown__addr__OGCXz",addr__toolbar:"dashelems_addr__toolbar__3ToXG",addr__list:"dashelems_addr__list__O05A9",edit__contact:"dashelems_edit__contact__Qmt2r",upl__actions:"dashelems_upl__actions__LxFtf",addr__icon:"dashelems_addr__icon__gatyE",addrhidden__icon:"dashelems_addrhidden__icon__223pN",deleted:"dashelems_deleted__Cr7ou",letter:"dashelems_letter__ERviE",checked:"dashelems_checked__9sC1y",addr__sso:"dashelems_addr__sso__yD3KB",upl__actions_button:"dashelems_upl__actions_button__E_ApF",addr__contact:"dashelems_addr__contact__reSBQ",infos:"dashelems_infos__v8myk",role:"dashelems_role__Spoc9",billing:"dashelems_billing__FWnjG",manager:"dashelems_manager__u6s4p",admin:"dashelems_admin__RTddU",addr__actions:"dashelems_addr__actions__BDEs6",grey:"dashelems_grey__0Z3_
10",modal_body__border:"dashelems_modal_body__border__MHMjw",contacts__list:"dashelems_contacts__list__acX9M",mh__none:"dashelems_mh__none__c9YGa",disabled:"dashelems_disabled__nZlpu",reach__end:"dashelems_reach__end__L1v3n",hint__toggle:"dashelems_hint__toggle__ifxSR",sticky__search:"dashelems_sticky__search__9xmtE",toggle_params:"dashelems_toggle_params__ka7qr",hoverSpin:"dashelems_hoverSpin__3Y4JZ",btn__sort:"dashelems_btn__sort__StiRB",edit_button:"dashelems_edit_button__f5rzr",intitle:"dashelems_intitle___KfOU",badge__nbdownloads:"dashelems_badge__nbdownloads__obE1d",tooltip__wrap:"dashelems_tooltip__wrap__ivgZZ",group__recip:"dashelems_group__recip__No24y",header__table:"dashelems_header__table__QGNii",dash__tabs:"dashelems_dash__tabs__fb8ig",pcustom:"dashelems_pcustom__PRQWq",pcustom2:"dashelems_pcustom2__QSdGm",active:"dashelems_active__WOfoE",grid__tabs:"dashelems_grid__tabs__RugUN",info__icon:"dashelems_info__icon__fndNb",btn__icon:"dashelems_btn__icon__yEUWX",hint__absolute:"dashelems_hint__absolute__HBij2",head__actions:"dashelems_head__actions__J7LGJ",infolog:"dashelems_infolog__lrVuq",iconwrap:"dashelems_iconwrap__7jSEF",dashwrap:"dashelems_dashwrap__oyVpQ",apple__icon:"dashelems_apple__icon__sQC8j",ms__icon:"dashelems_ms__icon__Bo2Gy",google__icon:"dashelems_google__icon__GfsT_",sso__icon:"dashelems_sso__icon__tZDrG"}},20645:(e,a,i)=>{"use strict";i.d(a,{b:()=>x});var s=i(37876),t=i(14232),n=i(6284),c=i(89099),o=i(91839),_=i(75824),l=i(80701),d=i.n(l),r=i(50341),m=i(85516),h=i(45624),u=i(30657),p=i(92934),b=i(48230),f=i.n(b);function g(e){let{pushLink:a}=e,{t:i}=(0,o.Bd)(),[c,_]=(0,t.useState)(!1),l=()=>_(!c);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("button",{id:"hintQrCode",type:"button",className:"btn btn-outline-primary",onClick:l,children:i("common:button.qr_code")}),(0,s.jsxs)(m.A,{isOpen:c,toggle:l,fade:!1,className:"modal-dialog-centered text-center",children:[(0,s.jsx)(h.A,{toggle:l,children:(0,s.jsx)("div",{children:i("common:button.qr_code")})}),(0,s.jsxs)(u.A,{className:"".concat(d().qrcode_wrapper," mb-0"),children:[(0,s.jsx)(r.r,{value:a,logoImage:"".concat(n.O3,"/apple-touch-icon.png"),quietZone:10,size:160,bgColor:"#ffffff",fgColor:"#3f51b5",logoOpacity:1,logoWidth:40}),(0,s.jsx)("div",{className:"d-none",children:(0,s.jsx)(r.r,{id:"qrcode-download",value:a,size:512,bgColor:"#ffffff",fgColor:"#3f51b5"})}),(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsxs)(f(),{href:"#",className:"btn btn-primary w-100 btn-lg",onClick:e=>{e.preventDefault();let i=document.getElementById("qrcode-download");if(i)try{let e=i.toDataURL("image/png").replace("image/png","image/octet-stream"),s=document.createElement("a");s.href=e;let t=(e=>{try{let a=new URL(e),i="default",s=a.hostname.split(".");if(s.length>=3)i=s[0];else if(a.hostname.includes("localhost")){let e=a.hostname.match(/^([^.]+)\.localhost$/);e&&(i=e[1])}let t=a.pathname.split("/").filter(Boolean),n=t[t.length-1]||"unknown";return"".concat(i,"_").concat(n)}catch(a){return console.error("Invalid URL:",e),"invalid_push"}})(a);s.download="transfernow.net_".concat(t,".png"),document.body.appendChild(s),s.click(),document.body.removeChild(s)}catch(e){console.error("Error while downloading the QR code:",e)}},children:[i("common:button.download")," (png)"]})})]}),(0,s.jsx)(p.A,{children:(0,s.jsx)("button",{type:"button",className:"btn btn-outline-primary w-100",onClick:l,children:i("common:button.close")})})]})]})}function x(e){let{subdomain:a,customDomainName:i}=e,t=(0,c.useRouter)(),{t:l}=(0,o.Bd)(),d="".concat(n.Lx).concat(i||"".concat(a,".").concat(n.jg),"/").concat(t.locale,"/push");return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{children:(0,s.jsx)("strong",{className:"text-success",children:l("dash_inboxes:push_link_active")})}),(0,s.jsxs)("div",{className:"mt-2",children:[(0,s.jsx)("div",{children:l("dash_inboxes:your_push_link")}),(0,s.jsxs)("div",{className:"input-group input-group-md m-0 mt-3",children:[(0,s.jsx)("input",{type:"text",className:"form-control",defaultValue:d,readOnly:!0,id:"push-link"}),(0,s.jsxs)("div",{className:"input-group-append",children:[(0,s.jsx)(g,{pushLink:d}),(0,s.jsx)("button",{type:"button",className:"btn btn-outline-primary",onClick:async()=>{await navigator.clipboard.writeText(d),_.oR.success(l("common:notif.link_copied_to_clipboard"))},children:l("common:button.copy")})]})]})]})]})}},27318:(e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i="right-left",s=["exchange-alt"],t="f362",n=["M0 384c0 8.5 3.4 16.6 9.4 22.6l96 96c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6l0-64 320 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-320 0 0-64c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9l-96 96c-6 6-9.4 14.1-9.4 22.6z","M0 128c0-17.7 14.3-32 32-32l320 0 0-64c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l96 96c6 6 9.4 14.1 9.4 22.6s-3.4 16.6-9.4 22.6l-96 96c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6l0-64L32 160c-17.7 0-32-14.3-32-32z"];a.definition={prefix:"fad",iconName:i,icon:[512,512,s,t,n]},a.faRightLeft=a.definition,a.prefix="fad",a.iconName=i,a.width=512,a.height=512,a.ligatures=s,a.unicode=t,a.svgPathData=n,a.aliases=s},28550:(e,a,i)=>{"use strict";i.d(a,{A:()=>c});var s=i(37876),t=i(29943),n=i.n(t);i(14232);let c=e=>{let{type:a,theme:i,position:t,extraWording:c}=e;return(0,s.jsxs)("div",{className:"".concat(n().wrapper," ").concat("dark"===i?n().dark:n().light," ").concat("dark2"===i&&n().dark2," ").concat("image"===i&&n().image," ").concat("fixed"===t?n().fixed:""," ").concat("gradient"===i?n().gradient:""),children:[(0,s.jsx)("div",{className:"".concat(n().spinner," ").concat("small"===a?n().small:n().large),children:(0,s.jsx)("svg",{className:"custo__loader_spinner",viewBox:"0 0 50 50",children:(0,s.jsx)("circle",{cx:"25",cy:"25",r:"20",fill:"none",strokeWidth:"5"})})}),c?(0,s.jsx)("div",{className:n().wording,children:c}):""]})}},29943:e=>{e.exports={wrapper:"loader_wrapper__xfBWL",fixed:"loader_fixed__OJ_2y",light:"loader_light__S9lcK",gradient:"loader_gradient__0I615",dark:"loader_dark__xBPVG",spinner:"loader_spinner__uqtcs",dark2:"loader_dark2__Q0OCd",image:"loader_image__pWIF2",rotate:"loader_rotate__53Igo",dash:"loader_dash__BUcqO",small:"loader_small__ub4BY",large:"loader_large__Bfgfp",wording:"loader_wording__OGt
1wj"}},32446:(e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i="arrow-right-from-bracket",s=["sign-out"],t="f08b",n=["M0 128L0 384c0 53 43 96 96 96l64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-64 0c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l64 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 32C43 32 0 75 0 128z","M502.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-128 128c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L402.7 288 192 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l210.7 0-73.4-73.4c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l128 128z"];a.definition={prefix:"fad",iconName:i,icon:[512,512,s,t,n]},a.faArrowRightFromBracket=a.definition,a.prefix="fad",a.iconName=i,a.width=512,a.height=512,a.ligatures=s,a.unicode=t,a.svgPathData=n,a.aliases=s},37892:(e,a)=>{"use strict";a.mw={prefix:"fad",iconName:"bolt",icon:[448,512,[9889,"zap"],"f0e7",["M349.4 44.6c5.9-13.7 1.5-29.7-10.6-38.5s-28.6-8-39.9 1.8l-256 224c-10 8.8-13.6 22.9-8.9 35.3S50.7 288 64 288l111.5 0L98.6 467.4c-5.9 13.7-1.5 29.7 10.6 38.5s28.6 8 39.9-1.8l256-224c10-8.8 13.6-22.9 8.9-35.3s-16.6-20.7-30-20.7l-111.5 0L349.4 44.6z",""]]},a.zm=a.mw},38963:(e,a,i)=>{"use strict";i.d(a,{$$:()=>r,N4:()=>n,Ol:()=>_,P3:()=>d,Pl:()=>o,f5:()=>t,fK:()=>c,tX:()=>l});var s=i(69923);async function t(e){let a=await fetch("".concat("/api","/user/users/").concat(e.authorization.managerId,"/subdomains"),{headers:{}});return await (0,s.OS)(a,200)}async function n(e,a,i){let t=await fetch("".concat("/api","/user/subdomains/").concat(e),{method:"PUT",body:JSON.stringify({name:a,signInProviders:i}),headers:{"Content-Type":"application/json"}});await (0,s.G$)(t,200)}async function c(e,a){let i=await fetch("".concat("/api","/user/subdomains/").concat(e,"/uploader"),{method:"PUT",body:JSON.stringify(a),headers:{"Content-Type":"application/json"}});await (0,s.G$)(i,200)}async function o(e){let a=await fetch("".concat("/api","/user/subdomains/").concat(e),{method:"DELETE",headers:{}});await (0,s.G$)(a,200)}async function _(e,a,i){let t=await fetch("".concat("/api","/user/subdomains"),{method:"POST",body:JSON.stringify({name:a,userId:e.authorization.managerId,signInProviders:i}),headers:{"Content-Type":"application/json"}});return await (0,s.OS)(t,201)}async function l(e,a){let i=await fetch("".concat("/api","/user/subdomains/").concat(e,"/customization"),{method:"PATCH",body:JSON.stringify({operations:a}),headers:{"Content-Type":"application/json"}});return await (0,s.OS)(i,200)}async function d(e,a){let i=await fetch("".concat("/api","/user/subdomains/").concat(e,"/email-customization"),{method:"PATCH",body:JSON.stringify({operations:a}),headers:{"Content-Type":"application/json"}});return await (0,s.OS)(i,200)}async function r(e,a){let i=await fetch("".concat("/api","/user/subdomains/").concat(e,"/opengraph-customization"),{method:"PATCH",body:JSON.stringify({operations:a}),headers:{"Content-Type":"application/json"}});return await (0,s.OS)(i,200)}},40825:(e,a,i)=>{"use strict";var s=i(2465);a.mw={prefix:s.prefix,iconName:s.iconName,icon:[s.width,s.height,s.aliases,s.unicode,s.svgPathData]},a.Kh=a.mw,s.prefix,s.iconName,s.width,s.height,s.aliases,s.unicode,s.svgPathData,s.aliases},44817:(e,a,i)=>{"use strict";i.r(a),i.d(a,{__N_SSP:()=>J,default:()=>Q});var s=i(37876),t=i(14232),n=i(62867),c=i(52550),o=i(36207),_=i.n(o),l=i(89891),d=i.n(l),r=i(1594),m=i.n(r),h=i(16220),u=i(80701),p=i.n(u),b=i(97460),f=i(19694),g=i.n(f),x=i(48230),w=i.n(x),y=i(54288),j=i(28550),N=i(85516),v=i(45624),z=i(30657),C=i(92934),M=i(91839);let k=e=>{let{closeModal:a,deleteWidget:i}=e,{t}=(0,M.Bd)();return(0,s.jsxs)(N.A,{isOpen:!0,toggle:a,fade:!1,className:"modal-dialog-centered",children:[(0,s.jsx)(v.A,{toggle:a,children:t("dash_inboxes:delete_widget")}),(0,s.jsx)(z.A,{children:(0,s.jsx)("p",{className:"fs17 m-0",children:t("dash_inboxes:careful_delete_widget")})}),(0,s.jsxs)(C.A,{className:"btn-toolbar justify-content-between",children:[(0,s.jsx)("button",{type:"button",className:"btn btn-outline-danger w-100 btn-xl mb-2",onClick:async()=>{await a(),await i()},children:t("common:button.delete")}),(0,s.jsx)("button",{type:"button",className:"btn btn-primary w-100 btn-xl mb-2",onClick:a,children:t("common:button.cancel")})]})]})};var O=i(75824),S=i(96275),P=i(5987),T=i(23644);function D(){let{t:e}=(0,M.Bd)(),[a,i]=(0,t.useState)(),[n,c]=(0,t.useState)(!1),[o,l]=(0,t.useState)(),{auth:d}=(0,S.J)();async function r(){i(await (0,y.Fk)(d)),c(!1)}async function m(a){c(!0),await (0,y.vU)(a),await r(),O.oR.info(e("dash_inboxes:notif_widget_deleted"))}return(0,t.useEffect)(()=>{r()},[]),(0,s.jsxs)("div",{children:[o&&(0,s.jsx)(k,{deleteWidget:()=>m(o),closeModal:()=>l(void 0)}),n&&(0,s.jsx)(j.A,{}),a&&(0,s.jsxs)("div",{className:"".concat(p().dash__box," ").concat(_().anim__scaleIn),children:[(0,s.jsxs)("div",{className:p().body__title,children:[(0,s.jsxs)("div",{className:"mb-3",children:[a.length," ",e("dash_inboxes:widget_title")]}),(0,s.jsx)(b.g,{id:"hintWidgets",icon:P.iW,className:p().body__icon}),(0,s.jsx)(T.Q,{targetId:"hintWidgets",content:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{children:e("dash_inboxes:integrate_tnow_your_website")}),(0,s.jsx)("p",{className:"m-0",children:e("dash_inboxes:integrate_tnow_text1")})]}),position:"left",fade:!0,size:"lg"})]}),0==a.length&&(0,s.jsx)("div",{className:"my-3",children:e("dash_inboxes:have_no_widgets")}),(0,s.jsxs)("div",{children:[a.length>0&&(0,s.jsx)("div",{children:(0,s.jsx)("ul",{className:"".concat(g().body__list," ").concat(g().body__table," ").concat(_().scrollbar),children:a.map(a=>(0,s.jsxs)("li",{children:[(0,s.jsx)("span",{}),(0,s.jsxs)("span",{className:"".concat(g().name," ").concat(_().truncat),children:["Widget - ",a.customization.langCode," - ",a.uploader.recipientLabel]}),(0,s.jsxs)("span",{className:"".concat(g().actions),children:[(0,s.jsx)(w(),{href:"/dashboard/admin/inboxes/widget/".concat(a.id),className:"text-link blue",children:e("common:button.edit")}),(0,s.jsx)(w(),{href:"#",className:"text-link red",onClick:()=>{l(a.id)},children:e("common:button.delete")})]})]},a.id))})}),(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:"mt-3",children:(0,s.jsx)(w(),{href:"/dashboard/admin/inboxes/widget",className:"btn btn-primary",children:e("common:button.create_widget")})})})]})]})]})}var L=i(69923);async function E(e,a,i){let s=await fetch("".concat("/api","/user/subdomains/").concat(e,"/toggle-uploader"),{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({uploaderDisabled:a,teamMemberUploaderDisabled:i})});await (0,L.G$)(s,200)}var A=i(20645),U=i(38963),B=i(3578),R=i(85971),I=i(134);function F(){let{t:e}=(0,M.Bd)(),[a,i]=(0,t.useState)(),[n,c]=(0,t.useState)(),[o,l]=(0,t.useState)(!1),[d,r]=(0,t.useState)(!1),{auth:h}=(0,S.J)();async function u(){let e=await (0,U.f5)(h);if(e.length>0){i(e[0]);let a=await (0,B.kB)(h.authorization.managerId||"");a.length>0&&c(a[0].hostname)}r(!1),l(!0)}return(0,t.useEffect)(()=>{u()},[]),(0,s.jsxs)("div",{children:[d&&(0,s.jsx)(j.A,{position:"fixed"}),o&&(0,s.jsxs)("div",{className:"".concat(p().dash__box," ").concat(_().anim__scaleIn),children:[(0,s.jsxs)("div",{className:p().body__title,children:[e("request:receive_files_by_link"),(0,s.jsx)(b.g,{id:"hintPush",icon:P.iW,className:p().body__icon}),(0,s.jsx)(T.Q,{targetId:"hintPush",content:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("p",{children:e("dash_inboxes:receive_push_link")}),(0,s.jsx)("p",{className:"m-0",children:e("dash_inboxes:edit_recipients")})]}),position:"right",fade:!0,size:"lg"})]}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{children:[!a&&(0,s.jsx)("div",{children:(0,s.jsx)("em",{children:e("dash_inboxes:no_subdomain_detected")})}),!a&&(0,s.jsx)("div",{className:"mb-3",children:(0,s.jsx)(w(),{href:"/dashboard/customization",className:"btn btn-primary mt-3",children:e("common:label.create_my_subdomain")})}),a&&a.uploaderDisabled&&(0,s.jsx)("div",{children:(0,s.jsx)("em",{children:e("dash_inboxes:push_link_inactive")})}),a&&!a.uploaderDisabled&&(0,s.jsx)(A.b,{subdomain:a.name,customDomainName:n})]}),a&&(0,s.jsxs)("div",{className:"".concat(m().btn__wrapper," mt-3"),children:[(0,s.jsx)(w(),{href:"/dashboard/admin/inboxes/push",className:"btn btn-primary me-2",children:e("common:button.configure")}),a.uploaderDisabled&&(0,s.jsx)("button",{type:"button",className:"btn btn-outline-primary",onClick:async()=>{r(!0),await E(a.id,!1,a.teamMemberUploaderDisabled),await u()},children:e("common:button.activate")}),!a.uploaderDisabled&&(0,s.jsx)("button",{type:"button",className:"btn btn-outline-primary",onClick:async()=>{r(!0),await E(a.id,!0,a.teamMemberUploaderDisabled),await u()},children:e("common:button.deactivate")})]})]}),a&&(h.planType===R.OL.ENTERPRISE||h.planType===R.OL.TEAM)&&h.authorization.permissions.includes(I.aW.TRANSFER_MANAGER)&&
1(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("hr",{className:"my-4",style:{color:"#8c8d97"}}),(0,s.jsxs)("div",{className:"mt-4",children:[(0,s.jsx)("div",{className:p().body__title,children:e("dash_inboxes:team_member_push_title")}),(0,s.jsx)("div",{children:a.teamMemberUploaderDisabled?(0,s.jsx)("em",{children:e("dash_inboxes:team_member_push_disabled")}):(0,s.jsx)("em",{children:e("dash_inboxes:team_member_push_enabled")})}),(0,s.jsxs)("div",{className:"".concat(m().btn__wrapper," mt-3"),children:[a.teamMemberUploaderDisabled&&(0,s.jsx)("button",{type:"button",className:"btn btn-outline-primary",onClick:async()=>{r(!0),await E(a.id,a.uploaderDisabled,!1),await u()},children:e("common:button.activate")}),!a.teamMemberUploaderDisabled&&(0,s.jsx)("button",{type:"button",className:"btn btn-outline-primary",onClick:async()=>{r(!0),await E(a.id,a.uploaderDisabled,!0),await u()},children:e("common:button.deactivate")})]})]})]})]})]})}let G=()=>{let{t:e}=(0,M.Bd)(),{auth:a}=(0,S.J)();return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"".concat(d().dashboard__wrapper," ").concat(d().with__sidebar),children:[(0,s.jsx)(h.A,{}),(0,s.jsxs)("section",{className:"".concat(d().current__view," ").concat(d().with__sidebar," ").concat(d().wide," ").concat(_().scrollbar),children:[(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{children:(0,s.jsx)("div",{className:d().title__wrapper,children:(0,s.jsxs)("div",{children:[(0,s.jsx)("h1",{className:d().main__title,children:e("dash_inboxes:reception_parameters")}),(0,s.jsx)("div",{className:d().sub__title,children:e("dash_inboxes:configure_push_widgets")})]})})}),(0,s.jsxs)("div",{className:m().grid__widget,children:[(0,s.jsx)(F,{}),(0,s.jsx)(D,{})]})]}),(0,s.jsx)(c.A,{type:"muted",isLoggedIn:!!a.user})]})]})})};G.seo=e=>{let{t:a}=e;return(0,s.jsx)(n.bV,{title:"".concat(a("dash_inboxes:reception_parameters")," â TransferNow"),description:"",noindex:!0,nofollow:!0})};var J=!0;let Q=G},51998:(e,a,i)=>{"use strict";var s=i(32446);a.mw={prefix:s.prefix,iconName:s.iconName,icon:[s.width,s.height,s.aliases,s.unicode,s.svgPathData]},a.db=a.mw,s.prefix,s.iconName,s.width,s.height,s.aliases,s.unicode,s.svgPathData,s.aliases},52315:(e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i="circle-info",s=["info-circle"],t="f05a",n="M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0 0-88c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l24 0 0 64-24 0zm40-144a32 32 0 1 0 0-64 32 32 0 1 0 0 64z";a.definition={prefix:"far",iconName:i,icon:[512,512,s,t,n]},a.faCircleInfo=a.definition,a.prefix="far",a.iconName=i,a.width=512,a.height=512,a.ligatures=s,a.unicode=t,a.svgPathData=n,a.aliases=s},54288:(e,a,i)=>{"use strict";i.d(a,{$f:()=>o,C$:()=>c,Fk:()=>t,gD:()=>n,vU:()=>l,zM:()=>_});var s=i(69923);async function t(e){let a=await fetch("".concat("/api","/user/users/").concat(e.authorization.managerId,"/widgets"),{method:"GET",headers:{}});return await (0,s.OS)(a,200)}async function n(e){let a=await fetch("".concat("/api","/user/widgets/").concat(e),{method:"GET",headers:{}});return await (0,s.OS)(a,200)}async function c(e){let a=await fetch("".concat("/api","/user/widgets"),{method:"POST",body:JSON.stringify({userId:e.authorization.managerId}),headers:{"Content-Type":"application/json"}});return await (0,s.OS)(a,201)}async function o(e,a){let i=await fetch("".concat("/api","/user/widgets/").concat(e,"/uploader"),{method:"PUT",body:JSON.stringify(a),headers:{"Content-Type":"application/json"}});await (0,s.G$)(i,200)}async function _(e,a){let i=await fetch("".concat("/api","/user/widgets/").concat(e,"/customization"),{method:"PATCH",body:JSON.stringify({operations:a}),headers:{"Content-Type":"application/json"}});await (0,s.G$)(i,200)}async function l(e){let a=await fetch("".concat("/api","/user/widgets/").concat(e),{method:"DELETE",headers:{}});await (0,s.G$)(a,200)}},55013:(e,a,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/admin/inboxes",function(){return i(44817)}])},57449:(e,a,i)=>{"use strict";var s=i(27318);a.mw={prefix:s.prefix,iconName:s.iconName,icon:[s.width,s.height,s.aliases,s.unicode,s.svgPathData]},a._q=a.mw,s.prefix,s.iconName,s.width,s.height,s.aliases,s.unicode,s.svgPathData,s.aliases},58318:(e,a)=>{"use strict";a.mw={prefix:"fad",iconName:"inbox-in",icon:[512,512,[128229,"inbox-arrow-down"],"f310",["M0 368l0 96c0 26.5 21.5 48 48 48l416 0c26.5 0 48-21.5 48-48l0-96c0-26.5-21.5-48-48-48l-76.2 0c-12.1 0-23.2 6.8-28.6 17.7l-14.3 28.6c-5.4 10.8-16.5 17.7-28.6 17.7l-120.4 0c-12.1 0-23.2-6.8-28.6-17.7l-14.3-28.6c-5.4-10.8-16.5-17.7-28.6-17.7L48 320c-26.5 0-48 21.5-48 48z","M256 0c17.7 0 32 14.3 32 32l0 178.7 41.4-41.4c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-96 96c-12.5 12.5-32.8 12.5-45.3 0l-96-96c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L224 210.7 224 32c0-17.7 14.3-32 32-32z"]]},a.jA=a.mw},73056:(e,a)=>{"use strict";a.mw={prefix:"fad",iconName:"user",icon:[448,512,[128100,62144],"f007",["M96 128a128 128 0 1 0 256 0A128 128 0 1 0 96 128z","M0 482.3C0 383.8 79.8 304 178.3 304h91.4C368.2 304 448 383.8 448 482.3c0 16.4-13.3 29.7-29.7 29.7H29.7C13.3 512 0 498.7 0 482.3z"]]},a.X4=a.mw},73283:(e,a,i)=>{"use strict";var s=i(91573);a.mw={prefix:s.prefix,iconName:s.iconName,icon:[s.width,s.height,s.aliases,s.unicode,s.svgPathData]},a.ay=a.mw,s.prefix,s.iconName,s.width,s.height,s.aliases,s.unicode,s.svgPathData,s.aliases},78705:(e,a)=>{"use strict";a.mw={prefix:"fab",iconName:"youtube",icon:[576,512,[61802],"f167","M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"]},a.B4=a.mw},82457:(e,a)=>{"use strict";a.mw={prefix:"fad",iconName:"align-left",icon:[448,512,[],"f036",["M0 64C0 81.7 14.3 96 32 96l224 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 32C14.3 32 0 46.3 0 64zM0 320c0 17.7 14.3 32 32 32l224 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 288c-17.7 0-32 14.3-32 32z","M416 480c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 416c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0zm0-256c17.7 0 32-14.3 32-32s-14.3-32-32-32L32 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l384 0z"]]},a.ec=a.mw},83963:(e,a)=>{"use strict";a.mw={prefix:"fad",iconName:"grip",icon:[448,512,["grip-horizontal"],"f58d",["M0 328c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48zm160 0c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48zm160 0c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48z","M0 136c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48zm160 0c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48zm288 0l0 48c0 22.1-17.9 40-40 40l-48 0c-22.1 0-40-17.9-40-40l0-48c0-22.1 17.9-40 40-40l48 0c22.1 0 40 17.9 40 40z"]]},a.Mb=a.mw},84177:(e,a)=>{"use strict";a.mw={prefix:"fad",iconName:"users",icon:[640,512,[],"f0c0",["M0 298.7C0 310.4 9.6 320 21.3 320l213.3 0c.2 0 .4 0 .7 0c-26.6-23.5-43.3-57.8-43.3-96c0-7.6 .7-15 1.9-22.3
1c-13.6-6.3-28.7-9.7-44.6-9.7l-42.7 0C47.8 192 0 239.8 0 298.7zM64 80a80 80 0 1 0 160 0A80 80 0 1 0 64 80zM404.7 320c.2 0 .4 0 .7 0l213.3 0c11.8 0 21.3-9.6 21.3-21.3C640 239.8 592.2 192 533.3 192l-42.7 0c-15.9 0-31 3.5-44.6 9.7c1.3 7.2 1.9 14.7 1.9 22.3c0 38.2-16.8 72.5-43.3 96zM432 80a80 80 0 1 0 160 0A80 80 0 1 0 432 80z","M320 320a96 96 0 1 0 0-192 96 96 0 1 0 0 192zm-58.7 32C187.7 352 128 411.7 128 485.3c0 14.7 11.9 26.7 26.7 26.7l330.7 0c14.7 0 26.7-11.9 26.7-26.7C512 411.7 452.3 352 378.7 352l-117.3 0z"]]},a.gd=a.mw},91573:(e,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i="screen-users",s=["users-class"],t="f63d",n=["M32 64C32 28.7 60.7 0 96 0L544 0c35.3 0 64 28.7 64 64l0 184.4c-17-15.2-39.4-24.4-64-24.4l0-160L96 64l0 160c-24.6 0-47 9.2-64 24.4L32 64z","M96 384a64 64 0 1 0 0-128 64 64 0 1 0 0 128zM64 416c-35.3 0-64 28.7-64 64c0 17.7 14.3 32 32 32l128 0c17.7 0 32-14.3 32-32c0-35.3-28.7-64-64-64l-64 0zm256-32a64 64 0 1 0 0-128 64 64 0 1 0 0 128zm-32 32c-35.3 0-64 28.7-64 64c0 17.7 14.3 32 32 32l128 0c17.7 0 32-14.3 32-32c0-35.3-28.7-64-64-64l-64 0zm320-96a64 64 0 1 0 -128 0 64 64 0 1 0 128 0zM448 480c0 17.7 14.3 32 32 32l128 0c17.7 0 32-14.3 32-32c0-35.3-28.7-64-64-64l-64 0c-35.3 0-64 28.7-64 64z"];a.definition={prefix:"fad",iconName:i,icon:[640,512,s,t,n]},a.faScreenUsers=a.definition,a.prefix="fad",a.iconName=i,a.width=640,a.height=512,a.ligatures=s,a.unicode=t,a.svgPathData=n,a.aliases=s},93658:(e,a)=>{"use strict";a.mw={prefix:"fad",iconName:"wrench",icon:[512,512,[128295],"f0ad",["M0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L297.5 310.5c-44.5-16.1-79.9-51.5-96-96L19.9 396.1C7.2 408.8 0 426.1 0 444.1zM104 432a24 24 0 1 1 -48 0 24 24 0 1 1 48 0z","M352 320c88.4 0 160-71.6 160-160c0-15.3-2.2-30.1-6.2-44.2c-3.1-10.8-16.4-13.2-24.3-5.3l-76.8 76.8c-3 3-7.1 4.7-11.3 4.7L336 192c-8.8 0-16-7.2-16-16l0-57.4c0-4.2 1.7-8.3 4.7-11.3l76.8-76.8c7.9-7.9 5.4-21.2-5.3-24.3C382.1 2.2 367.3 0 352 0C263.6 0 192 71.6 192 160s71.6 160 160 160z"]]},a.h6=a.mw}},e=>{e.O(0,[3266,2362,2550,6729,9116,5824,636,6593,8792],()=>e(e.s=55013)),_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.