PageSourceSearch

https://pitta-lab.com/_next/static/chunks/pages/enterprise/rooms/[id]-5c9a7ab42beb2a03ba40.js

js pitta-lab.com collected 2026-10-02 18:21:27 UTC 4,447 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4602],{68778:function(e,n,i){"use strict";i.d(n,{_T:function(){return m}});var t=i(85893),s=i(65988),r=i(67294),o=i(11163),c=i(14053),a=i(17575),u=i(54331),l=i(44022),d=i(84529),p=i(24900),v=i(95254),m=("calc(100vh - ".concat(80,"px)"),function(e){var n=e.children,i=(e.isTalk,(0,r.useState)(!1)),m=i[0],f=i[1],h=(0,r.useState)(!1),_=h[0],x=h[1],g=(0,r.useCallback)((function(){var e=document.body.scrollTop||document.documentElement.scrollTop;x(e>300)}),[]);(0,r.useEffect)((function(){return window.addEventListener("scroll",g),function(){return window.removeEventListener("scroll",g)}}),[g]);var w=function(){f((function(e){return!e}))},j=(0,o.useRouter)(),N=(0,a.I)(),k=N.data;if(N.isLoading)return(0,t.jsx)(l.g,{});k?null!==k&&void 0!==k&&k.isEnterprise||j.push((0,c.Bv)("mypage")):j.push((0,c.Bv)("root"));var E=[{title:"\u30db\u30fc\u30e0",icon:"/images/icon/icon_ep_hme.png",path:(0,c.Bv)("enterprise")},{title:"\u5f53\u9078\u6848\u4ef6\u4e00\u89a7",icon:"/images/icon/icon_ep_lst.png",path:(0,c.Bv)("enterprise/requests")},{title:"\u52df\u96c6\u6848\u4ef6\u4e00\u89a7",icon:"/images/icon/icon_ep_lst.png",path:(0,c.Bv)("enterprise/applications")},{title:"\u7279\u96c6\u8a18\u4e8b\u4e00\u89a7",icon:"/images/icon/icon_ep_arc.png",path:(0,c.Bv)("enterprise/posts")},{title:"\u30b5\u30fc\u30d3\u30b9\u4e00\u89a7",icon:"/images/icon/icon_ep_srv.png",path:(0,c.Bv)("enterprise/services")},{title:"\u6848\u4ef6\u6761\u4ef6",icon:"/images/icon/icon_ep_srv.png",path:(0,c.Bv)("enterprise/questionnaires")},{title:"\u30c8\u30fc\u30af",icon:"/images/icon/icon_ep_tlk.png",path:(0,c.Bv)("enterprise/rooms"),badgeCount:0},{title:"\u8a2d\u5b9a",icon:"/images/icon/icon_ep_set.png",path:(0,c.Bv)("enterprise/settings")}];return(0,t.jsxs)("div",{className:"jsx-558618216 "+((j.asPath.includes("/questionnaires")?"questionnaires":"enterprise")||""),children:[(0,t.jsx)(u.h,{}),(0,t.jsx)(d.K,{onToggleDrawer:w,showDrawer:m}),(0,t.jsxs)("main",{className:"jsx-558618216",children:[(0,t.jsx)(p.V,{items:E,enterprise:!0,showDrawer:m,onToggleDrawer:w}),n]}),(0,t.jsx)(v.Z,{}),(0,t.jsx)("div",{id:"footerFix",className:"jsx-558618216 "+"footerFixed ".concat(_&&"is-show")}),(0,t.jsx)("div",{onClick:function(){return window.scrollTo({top:0,behavior:"smooth"})},style:{opacity:_?1:0},className:"jsx-558618216 toTop",children:(0,t.jsx)("p",{className:"jsx-558618216",children:"Page Top"})}),(0,t.jsx)(s.default,{id:"558618216",children:["html{font-size:62.5%;}"]})]})})},30590:function(e,n,i){"use strict";i.r(n),i.d(n,{default:function(){return _}});var t=i(85893),s=i(87757),r=i.n(s),o=i(15861),c=i(67294),a=i(11163),u=i(12688),l=i(52715),d=i(49417),p=i(61415),v=i(34233);function m(e){var n=e.id,i=e.room,s=e.rooms,r=e.isActive;return n&&i?(0,t.jsx)("div",{className:"inner inner100p_tlk",children:(0,t.jsxs)("div",{className:"flst nw",children:[(0,t.jsx)(p.z,{currentRoomId:Array.isArray(n)?n[0]:n,rooms:s,isClient:!1,isActive:r}),(0,t.jsx)("div",{className:r?"chat":"chat active",children:i&&(0,t.jsx)(v.a,{room:i,isClient:!1})})]})}):null}var f=i(44022),h=i(68778);function _(){var e=(0,l.G)(),n=e.currentUser,i=e.loading,s=(0,a.useRouter)(),p=(0,c.useState)([]),v=p[0],_=p[1],x=(0,c.useState)(!0),g=x[0],w=x[1],j=(0,c.useState)(!0),N=j[0],k=j[1];(0,c.useEffect)((function(){i||(0,o.Z)(r().mark((function e(){var i;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,u.qk)({isClient:!1,uid:null===n||void 0===n?void 0:n.uid});case 2:i=e.sent,_(i),w(!1);case 5:case"end":return e.stop()}}),e)})))()}),[i]);var E=s.query.id,T=(0,d.XX)(E).data;return(0,c.useEffect)((function(){function e(){var e=window.innerWidth;k(e>=884)}return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[]),E&&T?g?(0,t.jsx)(f.g,{}):(0,t.jsx)(h._T,{isTalk:!0,children:(0,t.jsxs)("section",{className:"tlk content bgA pb0 room-mb room-ct-mb",children:[(0,t.jsx)("div",{onClick:function(){return k(!N)},className:N?"addr_open_close_btn sp":"addr_open_close_btn sp active"}),(0,t.jsx)(m,{id:E,room:T,rooms:v||[],isActive:N})]})}):null}},42489:function(e,n,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/enterprise/rooms/[id]",function(){return i(30590)}])}},function(e){e.O(0,[7749,5308,4349,6688,4696,7617,8460,4741,2663,5675,5499,5043,5347,3289,1952,2688,5104,8594,4233,9774,2888,179],(function(){return n=42489,e(e.s=n);var n}));var n=e.O();_N_E=n}]);

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.