PageSourceSearch

https://milly-platform.app/_next/static/chunks/5472.ee34dffdfe76e17e.js

js milly-platform.app collected 2026-10-04 19:31:09 UTC 4,743 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5472],{36157:(e,t,o)=>{o.d(t,{M:()=>i});var s=o(27976),r=o(40850);let i=e=>"en"===e?s.c:r.ja},61005:(e,t,o)=>{o.d(t,{EG:()=>r,a_:()=>m,k7:()=>i,tA:()=>a,v6:()=>l});var s=o(71838);let r={page:"roomListPage",keyword:"roomListKeyword"},i={page:"allJobListPage",keyword:"allJobListKeyword"},l={page:"myJobListPage"},n=()=>{try{return window.sessionStorage}catch(e){return null}},a=(e,t)=>{let o=n();o&&(o.setItem(e.page,String(t.page)),e.keyword&&o.setItem(e.keyword,t.keyword))},u={page:1,keyword:""},m=(e,t)=>(0,s.JP)(e)?{page:(e=>{let t=n(),o=null==t?void 0:t.getItem(e.page);if(null==o)return 1;let s=Number(o);return Number.isInteger(s)&&s>0?s:1})(t),keyword:(e=>{var t;let o=n();return e.keyword&&null!=(t=null==o?void 0:o.getItem(e.keyword))?t:""})(t)}:u},61282:(e,t,o)=>{o.r(t),o.d(t,{MyJobs:()=>b});var s=o(37876),r=o(71647),i=o(90751),l=o(98585),n=o(40295),a=o(38388),u=o(82907),m=o(5754),c=o(71346),d=o(14232),p=o(22555),g=o(39626),y=o(71838),f=o(61005);let b=e=>{let{queryParams:t}=e,{t:o}=(0,n.B)(),b=(0,d.useRef)(null),[P]=(0,d.useState)(()=>(0,f.a_)(y.Z,f.v6)),[x,I]=(0,d.useState)(P.page),{data:h,status:L,refetch:w,isFetching:k}=(0,r.I)({query:{page:x,params:{...t,showMyJobs:!0}}}),v=(e,t)=>{var o;I(t),(0,y.kZ)(y.Z),null==(o=b.current)||o.scroll(0,0)},j=(0,d.useRef)(null);(0,d.useEffect)(()=>{if(j.current&&j.current!==t){var e;I(1),(0,y.kZ)(y.Z),null==(e=b.current)||e.scroll(0,0)}j.current=t},[t]),(0,d.useEffect)(()=>{if("success"===L&&(0,y.JP)(y.Z))return(0,y.cp)(y.Z,b.current)},[L,x,null==h?void 0:h.jobs]);let J=(0,d.useCallback)(e=>{(0,y.HJ)(y.Z,b.current,e),(0,f.tA)(f.v6,{page:x,keyword:""})},[x]);return(0,s.jsx)(a.A,{sx:{height:"100%",display:"flex",flexDirection:"column",pb:{xs:6,sm:0}},children:(0,s.jsx)(a.A,{ref:b,sx:{flexGrow:1,overflowY:"scroll",background:c.A[200]},children:(0,s.jsx)(u.A,{maxWidth:"sm",sx:{padding:"0px !important",display:"flex",flexDirection:"column"},children:(0,s.jsx)(i.Nu,{status:L,data:h,onRetry:w,isRetrying:k,children:e=>(0,s.jsx)(a.A,{sx:{flexGrow:1,display:"flex",flexDirection:"column",gap:"12px",overflowY:"auto",minHeight:"0px",padding:"24px"},children:0===e.jobs.length?(0,s.jsx)(l.p,{title:o("jobs.empty.title"),description:o("jobs.empty.description")}):(0,s.jsxs)(s.Fragment,{children:[e.jobs.map(e=>(0,s.jsx)(a.A,{"data-list-item-id":e.id,onClick:()=>J(e.id),children:(0,s.jsx)(g.A,{href:"/jobs/".concat(e.id),style:{color:"black"},children:(0,s.jsx)(p.o,{job:e,isMyCompanyJob:!0})})},e.id)),(0,s.jsx)(a.A,{sx:{display:"flex",justifyContent:"center",my:2},children:(0,s.jsx)(m.A,{count:e.totalPages,page:x,boundaryCount:0,siblingCount:2,color:"primary",shape:"rounded",size:"large",onChange:v})})]})})})})})})}},71838:(e,t,o)=>{o.d(t,{HJ:()=>c,JP:()=>d,P2:()=>i,Y8:()=>l,Z:()=>a,cp:()=>g,gx:()=>n,kZ:()=>p,uu:()=>r});let s="data-list-item-id",r={listPos:"companyListPosY",mainPos:"companyListMainPosY",itemId:"companyListLastCompanyId"},i={listPos:"customerListPosY",mainPos:"customerListMainPosY",itemId:"customerListLastCompanyId"},l={listPos:"roomListPosY",mainPos:"roomListMainPosY",itemId:"roomListLastRoomId",itemAttr:s},n={listPos:"allJobListPosY",mainPos:"allJobListMainPosY",itemId:"allJobListLastJobId",itemAttr:s},a={listPos:"myJobListPosY",mainPos:"myJobListMainPosY",itemId:"myJobListLastJobId",itemAttr:s},u=()=>"undefined"==typeof document?null:document.querySelector("main"),m=()=>{try{return window.sessionStorage}catch(e){return null}},c=(e,t,o)=>{var s,r,i;let l=m();if(!l)return;let n=null!=(r=null==t?void 0:t.scrollTop)?r:0,a=null!=(i=null==(s=u())?void 0:s.scrollTop)?i:0;l.setItem(e.listPos,String(n)),l.setItem(e.mainPos,String(a)),o&&l.setItem(e.itemId,o)},d=e=>{let t=m();if(!t)return!1;if(null!=t.getItem(e.itemId))return!0;let o=t.getItem(e.listPos),s=t.getItem(e.mainPos);return!!(null!=o&&Number(o)>0||null!=s&&Number(s)>0)},p=e=>{let t=m();t&&(t.removeItem(e.listPos),t.removeItem(e.mainPos),t.removeItem(e.itemId))},g=(e,t)=>{var o;let s=m();if(!s)return()=>void 0;let r=s.getItem(e.listPos),i=s.getItem(e.mainPos),l=s.getItem(e.itemId),n=null!=(o=e.itemAttr)?o:"data-company-id",a=null!=r?Number(r):0,c=null!=i?Number(i):0,d=!1,g=0,y=()=>{p(e)},f=()=>{if(d)return;if(g+=1,l){let e="undefined"!=typeof CSS&&"function"==typeof CSS.escape?CSS.escape(l):l.replace(/"/g,'\\"'),t=document.querySelector("[".concat(n,'="').concat(e,'"]'));if(t){t.scrollIntoView({block:"center",inline:"nearest"}),y();return}}let e=u(),o=!1;if(t&&a>0&&(t.scrollHeight-t.clientHeight>=a-1||g>=30)&&(t.scrollTop=a,o=!0),e&&c>0&&(e.scrollHeight-e.clientHeight>=c-1||g>=30)&&(e.scrollTop=c,o=!0),o||g>=30)return void y();requestAnimationFrame(f)};return requestAnimationFrame(f),()=>{d=!0}}}}]);

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.