1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="02f22e31-7533-4762-bf28-adbbe09a692f",e._sentryDebugIdIdentifier="sentry-dbid-02f22e31-7533-4762-bf28-adbbe09a692f")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[123],{2148:(e,t,a)=>{"use strict";a.d(t,{o1:()=>m,y$:()=>p});var s=a(15383),i=a(72940),o=a(9974),l=a(70794),r=a.n(l);let p=({size:e})=>(0,s.jsx)(i.iuy,{className:r()["loading-icon"],size:e}),m=({size:e})=>(0,s.jsx)(o.deV,{className:r()["loading-icon"],size:e})},47638:e=>{e.exports={"template-wrapper":"message-template_template-wrapper__PlhNz",templateWrapper:"message-template_template-wrapper__PlhNz","template-container":"message-template_template-container__sN0rf",templateContainer:"message-template_template-container__sN0rf","template-header":"message-template_template-header__HO5wW",templateHeader:"message-template_template-header__HO5wW","template-header-title":"message-template_template-header-title__lIk7r",templateHeaderTitle:"message-template_template-header-title__lIk7r","template-header-button":"message-template_template-header-button__fBA1A",templateHeaderButton:"message-template_template-header-button__fBA1A","template-select-container":"message-template_template-select-container__xgKh1",templateSelectContainer:"message-template_template-select-container__xgKh1","template-filter":"message-template_template-filter__yWBv3",templateFilter:"message-template_template-filter__yWBv3","template-sort":"message-template_template-sort__i9ItI",templateSort:"message-template_template-sort__i9ItI","template-list":"message-template_template-list__TO4mK",templateList:"message-template_template-list__TO4mK","with-quickstart":"message-template_with-quickstart__mif8r",withQuickstart:"message-template_with-quickstart__mif8r","quickstart-badge":"message-template_quickstart-badge__I9kfS",quickstartBadge:"message-template_quickstart-badge__I9kfS","quickstart-badge-icon":"message-template_quickstart-badge-icon__8m1Gd",quickstartBadgeIcon:"message-template_quickstart-badge-icon__8m1Gd","quickstart-config-wrapper":"message-template_quickstart-config-wrapper__iCHuD",quickstartConfigWrapper:"message-template_quickstart-config-wrapper__iCHuD","quickstart-config-button":"message-template_quickstart-config-button__eJeph",quickstartConfigButton:"message-template_quickstart-config-button__eJeph","quickstart-config-button-active":"message-template_quickstart-config-button-active__7kkvR",quickstartConfigButtonActive:"message-template_quickstart-config-button-active__7kkvR","quickstart-config-icon":"message-template_quickstart-config-icon__QlIId",quickstartConfigIcon:"message-template_quickstart-config-icon__QlIId","quickstart-popover":"message-template_quickstart-popover__6gTBW",quickstartPopover:"message-template_quickstart-popover__6gTBW","quickstart-popover-header":"message-template_quickstart-popover-header__xyK9b",quickstartPopoverHeader:"message-template_quickstart-popover-header__xyK9b","quickstart-popover-slot":"message-template_quickstart-popover-slot__XfhFP",quickstartPopoverSlot:"message-template_quickstart-popover-slot__XfhFP","quickstart-popover-slot-active":"message-template_quickstart-popover-slot-active__kG9jd",quickstartPopoverSlotActive:"message-template_quickstart-popover-slot-active__kG9jd","quickstart-popover-slot-label":"message-template_quickstart-popover-slot-label__w2MS7",quickstartPopoverSlotLabel:"message-template_quickstart-popover-slot-label__w2MS7","quickstart-popover-slot-number":"message-template_quickstart-popover-slot-number__h25En",quickstartPopoverSlotNumber:"message-template_quickstart-popover-slot-number__h25En","quickstart-popover-slot-number-active":"message-template_quickstart-popover-slot-number-active__rryvj",quickstartPopoverSlotNumberActive:"message-template_quickstart-popover-slot-number-active__rryvj","quickstart-popover-slot-number-occupied":"message-template_quickstart-popover-slot-number-occupied__XNtHz",quickstartPopoverSlotNumberOccupied:"message-template_quickstart-popover-slot-number-occupied__XNtHz","quickstart-popover-slot-number-empty":"message-template_quickstart-popover-slot-number-empty__n86h5",quickstartPopoverSlotNumberEmpty:"message-template_quickstart-popover-slot-number-empty__n86h5","quickstart-popover-slot-title":"message-template_quickstart-popover-slot-title__aqErg",quickstartPopoverSlotTitle:"message-template_quickstart-popover-slot-title__aqErg","quickstart-popover-slot-not-found":"message-template_quickstart-popover-slot-not-found__qaeQ_",quickstartPopoverSlotNotFound:"message-template_quickstart-popover-slot-not-found__qaeQ_","quickstart-popover-divider":"message-template_quickstart-popover-divider__JmBow",quickstartPopoverDivider:"message-template_quickstart-popover-divider__JmBow","quickstart-popover-remove":"message-template_quickstart-popover-remove__5Q7aX",quickstartPopoverRemove:"message-template_quickstart-popover-remove__5Q7aX","template-item-footer-actions":"message-template_template-item-footer-actions__f5Z_Z",templateItemFooterActions:"message-template_template-item-footer-actions__f5Z_Z",collapsed:"message-template_collapsed__CQrad","template-item-footer":"message-template_template-item-footer__k_d53",templateItemFooter:"message-template_template-item-footer__k_d53","pagination-container":"message-template_pagination-container__Fhtru",paginationContainer:"message-template_pagination-container__Fhtru","pagination-button":"message-template_pagination-button__5_lER",paginationButton:"message-template_pagination-button__5_lER","pagination-button-text":"message-template_pagination-button-text__bc4LU",paginationButtonText:"message-template_pagination-button-text__bc4LU","pagination-button-icon":"message-template_pagination-button-icon__OCrja",paginationButtonIcon:"message-template_pagination-button-icon__OCrja","spinner-container":"message-template_spinner-container__SQu54",spinnerContainer:"message-template_spinner-container__SQu54","empty-list":"message-template_empty-list__pz4yP",emptyList:"message-template_empty-list__pz4yP","template-item":"message-template_template-item__v1bxh",templateItem:"message-template_template-item__v1bxh","template-item-header":"message-template_template-item-header__2C_tL",templateItemHeader:"message-template_template-item-header__2C_tL","template-item-title":"message-template_template-item-title__8ZPnM",templateItemTitle:"message-template_template-item-title__8ZPnM","template-item-ex-title-container":"message-template_template-item-ex-title-container__TM1_N",templateItemExTitleContainer:"message-template_template-item-ex-title-container__TM1_N","template-item-expand-button":"message-template_template-item-expand-button__Wl_zt",templateItemExpandButton:"message-template_template-item-expand-button__Wl_zt","template-item-description":"message-template_template-item-description__gcGh9",templateItemDescription:"message-template_template-item-description__gcGh9","template-item-favorite-button":"message-template_template-item-favorite-button__ZSOhi",templateItemFavoriteButton:"message-template_template-item-favorite-button__ZSOhi","template-item-footer-separator":"message-template_template-item-footer-separator__nV9l3",templateItemFooterSeparator:"message-template_template-item-footer-separator__nV9l3","share-label":"message-template_share-label__xWNvX",shareLabel:"message-template_share-label__xWNvX"}},70794:e=>{e.exports={"loading-icon":"spinner_loading-icon__tS2d7",loadingIcon:"spinner_loading-icon__tS2d7",spin:"spinner_spin__cnY6o","spinner-with-text":"spinner_spinner-with-text__I2UmB",spinnerWithText:"spinner_spinner-with-text__I2UmB","loading-text":"spinner_loading-text__3t4Tp",loadingText:"spinner_loading-text__3t4Tp"}},90123:(e,t,a)=>{"use strict";a.d(t,{r:()=>x,S:()=>h});var s=a(15383),i=a(47638),o=a.n(i),l=a(14343),r=a(61174),p=a(98096),m=a(73754),n=a(99945),c=a(60796),_=a(75477),u=a(64983),d=a.n(u),g=a(99081),v=a(11929),k=a(2148);let q=(e,t)=>
1{for(let a of g.mN)if(e[a]===t)return a;return null},b=({position:e})=>(0,s.jsxs)("span",{className:o()["quickstart-badge"],children:[(0,s.jsx)(v.XD3,{className:o()["quickstart-badge-icon"]}),e]}),f=({templateId:e,quickstartProps:t})=>{let{config:a,templateTitleMap:i,slotTemplatesLoading:r,onConfigUpdate:p}=t,[m,n]=(0,l.useState)(!1),_=(0,l.useRef)(null),u=q(a.slots,e),d=null!==u,b=(0,l.useCallback)(e=>{e.stopPropagation(),n(e=>!e)},[]),f=(0,l.useCallback)(t=>{if(a.slots[t]===e)p({slots:{[t]:void 0}});else{let a={[t]:e};null!==u&&(a[u]=void 0),p({slots:a})}n(!1)},[a,e,u,p]),h=(0,l.useCallback)(e=>{e.stopPropagation(),null!==u&&p({slots:{[u]:void 0}}),n(!1)},[u,p]);return(0,l.useEffect)(()=>{if(!m)return;let e=e=>{_.current&&!_.current.contains(e.target)&&n(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[m]),(0,s.jsxs)("div",{ref:_,className:o()["quickstart-config-wrapper"],children:[(0,s.jsx)(c.m,{title:"ã¯ã¤ãã¯ã¹ã¿ã¼ãã«è¨å®",children:(0,s.jsx)("button",{className:`${o()["quickstart-config-button"]} ${d?o()["quickstart-config-button-active"]:""}`,onClick:b,children:d?(0,s.jsx)(v.XD3,{className:o()["quickstart-config-icon"]}):(0,s.jsx)(v.QWc,{className:o()["quickstart-config-icon"]})})}),m&&(0,s.jsxs)("div",{className:o()["quickstart-popover"],children:[(0,s.jsx)("div",{className:o()["quickstart-popover-header"],children:"ã¯ã¤ãã¯ã¹ã¿ã¼ãã«è¨å®"}),g.mN.map(t=>{let l=a.slots[t],p=l===e,m=l?i[l]:void 0;return(0,s.jsxs)("button",{onClick:e=>{e.stopPropagation(),f(t)},className:`${o()["quickstart-popover-slot"]} ${p?o()["quickstart-popover-slot-active"]:""}`,children:[(0,s.jsxs)("span",{className:o()["quickstart-popover-slot-label"],children:[(0,s.jsx)("span",{className:`${o()["quickstart-popover-slot-number"]} ${p?o()["quickstart-popover-slot-number-active"]:l?o()["quickstart-popover-slot-number-occupied"]:o()["quickstart-popover-slot-number-empty"]}`,children:t}),"ã©ãã« ",t]}),l&&!p&&!m&&(r?(0,s.jsx)(k.y$,{size:14}):(0,s.jsx)("span",{className:o()["quickstart-popover-slot-not-found"],children:"ç¾å¨å©ç¨ã§ãã¾ãã"})),l&&!p&&m&&(0,s.jsx)("span",{className:o()["quickstart-popover-slot-title"],title:m,children:m})]},t)}),d&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:o()["quickstart-popover-divider"]}),(0,s.jsx)("button",{className:o()["quickstart-popover-remove"],onClick:h,children:"è§£é¤ãã"})]})]})]})},h=(0,p.J1)` 2 fragment MessageTemplateFragment on MessageTemplate { 3 id 4 title 5 description 6 content 7 scope 8 createdBy { 9 id 10 accountName 11 } 12 groupIds 13 scope 14 createdAtUnixSecond 15 isFavorite 16 } 17`,x=({messageTemplateFragment:e,onClickTemplate:t,onFavoriteToggle:a,from:i,quickstartProps:p})=>{let u=(0,l.useContext)(m.I),g=e.createdBy?.accountName||"䏿ãªã¦ã¼ã¶ã¼",v=u?.user?.id===e.createdBy?.id&&"USER"!==e.scope,[k,h]=(0,l.useState)(!1),x=p?q(p.config.slots,e.id):null,N=(0,l.useCallback)(t=>{t.stopPropagation(),a(e.id)},[a,e.id]),j=(0,l.useCallback)(e=>{e.stopPropagation(),h(e=>!e)},[]);return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:`${o()["template-item"]} ${k?"":o().collapsed}`,children:[(0,s.jsxs)("div",{className:o()["template-item-header"],children:[(0,s.jsx)("div",{className:o()["template-item-title"],onClick:()=>{t(e),r.A.clickTemplate(e.id,i,!0)},children:e.title}),(0,s.jsxs)("div",{className:o()["template-item-ex-title-container"],children:[v&&(0,s.jsx)("div",{className:o()["share-label"],children:"å ±æ"}),null!==x&&(0,s.jsx)(b,{position:x}),(0,s.jsx)("div",{className:o()["template-item-expand-button"],children:k?(0,s.jsx)(n.mlL,{size:24,onClick:j}):(0,s.jsx)(n.nwe,{size:24,onClick:j})})]})]}),(0,s.jsx)("div",{className:o()["template-item-description"],children:(0,s.jsx)("p",{children:e.description})}),(0,s.jsxs)("div",{className:o()["template-item-footer"],children:[(0,s.jsxs)("div",{className:p?o()["template-item-footer-actions"]:void 0,children:[e.isFavorite?(0,s.jsx)(c.m,{title:"ãæ°ã«å ¥ãããåé¤",children:(0,s.jsx)("button",{className:o()["template-item-favorite-button"],onClick:N,children:(0,s.jsx)(_.SeC,{style:{color:"#f0a30c",fontSize:"20px"}})})}):(0,s.jsx)(c.m,{title:"ãæ°ã«å ¥ãã«ä¿å",children:(0,s.jsx)("button",{className:o()["template-item-favorite-button"],onClick:N,children:(0,s.jsx)(_.mxc,{style:{color:"#f0a30c",fontSize:"20px"}})})}),p&&(0,s.jsx)(f,{templateId:e.id,quickstartProps:p})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("span",{children:g}),(0,s.jsx)("span",{className:o()["template-item-footer-separator"],children:"-"}),(0,s.jsx)("span",{children:d().unix(e.createdAtUnixSecond).format("YYYY/MM/DD")})]})]})]},e.id)})}},99081:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>q,mN:()=>l});var s=a(14343),i=a(8053),o=a(14400);let l=[1,2,3],r=i.uRe().optional(),p=i.Ikc({slots:i.Ikc({1:r,2:r,3:r})}),m="quickstartTemplateConfig",n={slots:{1:void 0,2:void 0,3:void 0}},c={...n,initialized:!1},_=new Set,u=c;{let e=function(){try{let e=window.localStorage.getItem(m);if(!e)return null;return p.parse(JSON.parse(e))}catch(e){return o.Cp(e),null}}();u={...e||n,initialized:null!==e}}function d(e){return _.add(e),()=>{_.delete(e)}}function g(){return u}function v(){return c}function k(e){let t={slots:{...u.slots,...e.slots}};try{p.parse(t),window.localStorage.setItem(m,JSON.stringify(t)),u={...t,initialized:!0}
17,_.forEach(e=>e())}catch(e){o.Cp(e)}}function q(){let{initialized:e,...t}=(0,s.useSyncExternalStore)(d,g,v);return{quickstartTemplateConfig:t,initialized:e,updateQuickstartTemplateConfig:k}}}}]);
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.