1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5264],{9670:function(n,e,t){t.d(e,{$_:function(){return w},BQ:function(){return k},Ke:function(){return y},M9:function(){return Z},g$:function(){return I},pF:function(){return b}});var r=t(92228),o=t(98767),i=t(6281);function u(){var n=(0,r.Z)(["\n margin-top: 1.5rem;\n width: 32rem;\n"]);return u=function(){return n},n}function a(){var n=(0,r.Z)(["\n margin-top: 1.5rem;\n width: 100%;\n display: flex;\n flex-direction: row;\n"]);return a=function(){return n},n}function c(){var n=(0,r.Z)(["\n display: flex;\n flex-direction: column;\n .preference-checkbox {\n margin-top: 1rem;\n margin-bottom: 1.4rem;\n }\n"]);return c=function(){return n},n}function l(){var n=(0,r.Z)(["\n display: flex;\n text-align: left;\n height: 90vh;\n max-height: 640px;\n width: 1024px;\n padding: 1rem;\n background-color: var(--background-default);\n"]);return l=function(){return n},n}function f(){var n=(0,r.Z)(["\n width: 30%;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n color: #24334b;\n font-weight: 900;\n font-size: 20px;\n height: 100%;\n line-height: 27px;\n padding: 16px 20px;\n .upper {\n justify-content: normal;\n display: flex;\n flex-direction: column;\n .template-name {\n overflow: hidden;\n text-overflow: ellipsis;\n }\n\n .sub-text {\n color: #73819b;\n font-style: normal;\n font-weight: normal;\n font-size: 14px;\n line-height: 19px;\n margin-bottom: 1rem;\n }\n }\n"]);return f=function(){return n},n}function s(){var n=(0,r.Z)(["\n background: var(--background-frame);\n border-radius: 10px;\n display: flex;\n overflow: auto;\n flex-direction: column;\n justify-content: space-between;\n font-family: Inter;\n padding: 0 20px;\n padding-bottom: 20px;\n margin: 0 1%;\n width: 70%;\n"]);return s=function(){return n},n}function d(){var n=(0,r.Z)(["\n display: flex;\n flex-direction: column;\n .active {\n background: #f3ebf8;\n border-radius: 6px;\n }\n"]);return d=function(){return n},n}function p(){var n=(0,r.Z)(["\n width: 100%;\n font-size: 14px;\n line-height: 19px;\n align-items: center;\n color: #24324b;\n font-weight: normal;\n height: 36px;\n display: flex;\n align-items: center;\n margin-bottom: 2px;\n cursor: pointer;\n border: none;\n span {\n margin-left: 1.4rem;\n }\n &:hover {\n background: #f3ebf8;\n border-radius: 6px;\n }\n"]);return p=function(){return n},n}function m(){var n=(0,r.Z)(["\n border: none;\n cursor: not-allowed;\n "]);return m=function(){return n},n}function h(){var n=(0,r.Z)(["\n cursor: pointer;\n "]);return h=function(){return n},n}function v(){var n=(0,r.Z)(["\n align-items: left;\n cursor: pointer;\n display: flex;\n flex-direction: column;\n font-size: 14px;\n .link {\n display: flex;\n svg {\n align-self: center;\n margin-right: 0.4rem;\n }\n }\n span {\n .remove-section {\n width: 100%;\n ","\n }\n }\n"]);return v=function(){return n},n}function x(){var n=(0,r.Z)(["\n display: flex;\n margin-bottom: 1rem;\n font-style: normal;\n font-weight: normal;\n font-size: 14px;\n line-height: 19px;\n\n text-decoration: underline;\n\n svg {\n margin-right: 4px;\n }\n"]);return x=function(){return n},n}function g(){var n=(0,r.Z)(["\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n margin-top: 1rem;\n"]);return g=function(){return n},n}(0,o.default)(i.ZP)(u()),o.default.div(a()),o.default.div(c());var b=o.default.div(l()),y=o.default.div(f()),Z=o.default.div(s()),w=(o.default.div(d()),o.default.a(p()),o.default.div(v(),(function(n){return n.isDisabled?(0,o.css)(m()):(0,o.css)(h())}))),k=o.default.div(x()),I=o.default.div(g())},6281:function(n,e,t){t.d(e,{ZP:function(){return S}});var r=t(70865),o=t(96670),i=t(26297),u=t(92228),a=t(1899),c=t(52322),l=t(2784),f=t(36819),s=t(98767);function d(){var n=(0,u.Z)(["\n background-color: transparent;\n border: 0;\n color: ",";\n font-size: ",";\n letter-spacing: 0.56px;\n padding: 12px 10px 13px;\n text-align: left;\n\n :disabled {\n color: ",";\n pointer-events: none;\n }\n\n :disabled + label {\n color: ",";\n }\n\n ::placeholder {\n background: transparent;\n color: ",";\n opacity: ",";\n\n transition: color 0.15s ease-in-out;\n }\n"]);return d=function(){return n},n}var p=s.default.input(d(),(function(n){return n.theme.colors.text}),(function(n){return n.theme.fontSize.input}),(function(n){return n.theme.colors.label}),(function(n){return n.theme.colors.label}),(function(n){return n.isPlaceholderVisible?"color: var(--secondary-dark, #2C1338)":"transparent"}),(function(n){return n.isPlaceholderVisible?.5:1}));function m(){var n=(0,u.Z)(["\n background: transparent;\n border-radius: 8px;\n color: ",";\n cursor: text;\n display: block;\n font-family: ",";\n font-size: ",";\n padding: 12px 10px 13px;\n position: absolute;\n text-align: left;\n transition: all 0.15s ease-in-out;\n top: 0;\n width: auto;
1\n\n &:empty {\n display: none;\n }\n"]);return m=function(){return n},n}var h=s.default.label(m(),(function(n){return n.theme.colors.label}),(function(n){return n.theme.fonts.default}),(function(n){return n.theme.fontSize.label}));function v(){var n=(0,u.Z)(["\n /* ::before is the container for the error message content */\n ::before {\n bottom: -19px;\n color: ",';\n content: "','";\n font-family: ',";\n font-size: ",";\n position: absolute;\n right: 8px;\n transition: all 0.15s ease-in-out;\n z-index: 0;\n }\n\n ::before:empty {\n display: none;\n }\n "]);return v=function(){return n},n}function x(){var n=(0,u.Z)(["\n border-color: ",";\n "]);return x=function(){return n},n}function g(){var n=(0,u.Z)(["\n :hover {\n border-color: ",";\n }\n "]);return g=function(){return n},n}function b(){var n=(0,u.Z)(["\n opacity: 0.75;\n border-color: ",";\n background-color: ",";\n pointer-events: none;\n "]);return b=function(){return n},n}function y(){var n=(0,u.Z)(["\n border-color: ",";\n margin-bottom: 18px;\n\n "," {\n color: ",";\n }\n "]);return y=function(){return n},n}function Z(){var n=(0,u.Z)(["\n "," {\n background-color: ",";\n line-height: ",";\n padding: 3px 10px 0;\n top: -11px;\n }\n "]);return Z=function(){return n},n}function w(){var n=(0,u.Z)(["\n "," {\n &:focus::placeholder {\n color: ",";\n }\n }\n "]);return w=function(){return n},n}function k(){var n=(0,u.Z)(["\n background-color: ",";\n border: 1px solid ",";\n border-radius: 8px;\n display: flex;\n flex-direction: column;\n padding: 0 8px;\n position: relative;\n transition: margin-bottom 0.15s ease-in-out;\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n ","\n\n "," {\n /* When the input has focus, pin the label to the top of the container */\n &:focus + "," {\n background-color: ",";\n line-height: ",";\n padding: 3px 10px 0;\n top: -11px;\n }\n }\n"]);return k=function(){return n},n}var I=s.default.div(k(),(function(n){return n.theme.colors.white}),(function(n){return n.theme.colors.border}),(function(n){return(0,s.css)(v(),n.theme.colors.error,"string"===typeof n.error?n.error:"",n.theme.fonts.default,n.theme.fontSize.input)}),(function(n){return n.focused&&(0,s.css)(x(),n.theme.colors.label)}),(function(n){return!n.error&&!n.focused&&(0,s.css)(g(),n.theme.colors.borderHover)}),(function(n){return n.disabled&&(0,s.css)(b(),n.theme.colors.borderDisabled,n.theme.colors.disabled)}),(function(n){return n.error&&(0,s.css)(y(),n.theme.colors.error,h,n.theme.colors.error)}),(function(n){return n.expanded&&(0,s.css)(Z(),h,n.theme.colors.white,n.theme.fontSize.label)}),(function(n){return!n.expanded&&(0,s.css)(w(),p,n.theme.colors.label)}),p,h,(function(n){return n.theme.colors.white}),(function(n){return n.theme.fontSize.label})),P=function(n){return void 0!==("undefined"===typeof n?"undefined":(0,a.Z)(n))},S=function(n){var e,t,u=n.className,a=n.error,s=n.inputRef,d=n.label,m=n.type,v=(0,i.Z)(n,["className","error","inputRef","label","type"]),x=n.id||(0,f.Me)()[0],g=(0,l.useState)(n.autoFocus),b=g[0],y=g[1],Z=(0,l.useState)(P(null!==(t=n.defaultValue)&&void 0!==t?t:n.value)),w=Z[0],k=Z[1];(0,l.useEffect)((function(){var e;k(P(null!==(e=n.defaultValue)&&void 0!==e?e:n.value))}),[n.defaultValue,n.value]);var S={className:u,disabled:n.disabled,error:a,expanded:w,focused:b};return(0,c.jsxs)(I,(0,o.Z)((0,r.Z)({},S),{children:[(0,c.jsx)(p,(0,o.Z)((0,r.Z)({},v),{id:x,onBlur:function(e){y(!1),n.onBlur&&n.onBlur(e)},onChange:function(e){k(P(e.target.value)),n.onChange&&n.onChange(e)},onFocus:function(){y(!0)},ref:s,type:m})),(0,c.jsx)(h,{htmlFor:x,children:d}),"on"===(null===n||void 0===n?void 0:n.autoComplete)?(0,c.jsx)("datalist",{id:n.list,children:null===n||void 0===n||null===(e=n.completions)||void 0===e?void 0:e.map((function(n,e){return(0,c.jsx)("option",{value:n},e)}))}):null]}))}},37311:function(n,e,t){t.d(e,{Am:function(){return Z},R4:function(){return g},ay:function(){return y},lZ:function(){return w}});var r=t(98788),o=t(87394),i=t(92228),u=t(22970),a=t(10081),c=t(24432),l=t(33379),f=t(2784),s=t(36386),d=t.n(s);function p(){var n=(0,i.Z)(["\n query {\n preferenceSections {\n nodes {\n name\n sectionId\n sectionIndex\n routingOptions\n hasCustomRouting\n preferenceGroups {\n nodes {\n defaultStatus\n linkedNotifications\n notificationTemplates {\n nodes {\n name\n templateId\n designerVersion\n }\n }\n templateId\n templateName\n topicData\n topicIndex\n }\n }\n }\n }\n }\n"]);return p=function(){return n},n}function m(){var n=(0,i.Z)(["\n query {\n preferenceSections {\n nodes {\n preferenceGroups {\n nodes {\n templateId\n templateName\n }\n }\n }\n }\n }\n"]);return m=function(){return n},n}function h(){var n=(0,i.Z)(["\n mutation CopyPreferenceTemplate(\n $templateId: String!\n $destination: Destination\n ) {\n copyPreferenceTemplate(templateId: $templateId, destination: $destination) {\n success\n }\n }\n"]);return h=function(){return n},n}function v(){var n=(0,i.Z)(["\n mutation SavePreferenceSection($section: PreferenceSectionDataInput!) {\n savePreferenceSection(section: $section) {\n name\n sectionId\n sectionIndex\n preferenceGroups {\n nodes {\n defaultStatus\n linkedNotifications\n templateId\n templateName\n }\n }\n }\n }\n"]);return v=function(){return n},n}function x(){var n=(0,i.Z)(["\n mutation DeletePreferenceSection($sectionId: String!) {\n deletePreferenceSection(sectionId: $sectionId) {\n success\n }\n }\n"]);return x=function(){return n},n}
1var g=(0,a.Ps)(p()),b=(0,a.Ps)(m()),y=function(){return(0,c.aM)(b,{fetchPolicy:"cache-and-network"})},Z=(0,a.Ps)(h()),w=(0,a.Ps)(v()),k=(0,a.Ps)(x());e.ZP=function(){var n=(0,c.aM)(g,{fetchPolicy:"cache-and-network"}),e=(0,o.Z)((0,l.D)(w,{refetchQueries:[{query:g}]}),1)[0],t=(0,o.Z)((0,l.D)(k,{refetchQueries:[{query:g}]}),1)[0],i=(0,f.useMemo)((function(){return d()(function(){var n=(0,r.Z)((function(n,t){var r,o,i;return(0,u.__generator)(this,(function(u){switch(u.label){case 0:return[4,e({variables:{section:n}})];case 1:return r=u.sent(),o=r.data,i=o.savePreferenceSection.sectionId,t(i),[2]}}))}));return function(e,t){return n.apply(this,arguments)}}(),500)}),[]);function a(){return a=(0,r.Z)((function(n){var e,t,r,o,a,c,l,f;return(0,u.__generator)(this,(function(u){return t=(e=n||{}).hasCustomRouting,r=void 0!==t&&t,o=e.name,a=e.routingOptions,c=e.sectionId,l=void 0===c?"":c,f=e.sectionIndex,[2,new Promise((function(n){i({hasCustomRouting:r,name:o,routingOptions:a,sectionId:l,sectionIndex:f},n)}))]}))})),a.apply(this,arguments)}return[n,function(n){return a.apply(this,arguments)},t]}}}]);
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.