1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6551],{85333:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/benefits/fee-waiver",function(){return n(13363)}])},74708:function(e,t,n){"use strict";n.d(t,{y:function(){return u}});var r=n(85893),o=n(67294),a=n(11163),i=n(59622),u=function(e){var t=e.children,n=e.mode,u=(0,a.useRouter)(),c=(0,o.useState)(!1),l=c[0],s=c[1],d=(0,o.useState)(!1),f=d[0],v=d[1],h="USER";return(0,o.useEffect)((function(){u.isReady&&(h===n||n.includes(h)?(s(!0),v(!0)):(s(!0),v(!1)))}),[u.isReady]),l?f?(0,r.jsx)(r.Fragment,{children:t}):(0,r.jsx)(i.default,{}):null}},71807:function(e,t,n){"use strict";n.d(t,{K:function(){return d},M:function(){return v}});var r=n(34727),o=n(14251),a=n(52875),i=n(46587),u=n(30120),c=n(29809),l=n(13307),s=n(67294),d=function(){var e=(0,c.Z)().config,t=(0,s.useState)((null===e||void 0===e?void 0:e.timezone)||"US/Central"),n=t[0],r=(t[1],(0,s.useCallback)((function(e){return u.ou.fromISO(e).setZone(n).toLocaleString(u.ou.DATE_SHORT)}),[n])),i=(0,s.useCallback)((function(e){return u.ou.fromISO(e).setZone(n).toLocaleString(u.ou.DATETIME_SHORT)}),[n]),l=(0,s.useCallback)((function(e){return u.ou.fromISO(e).setZone(n).toLocaleString(u.ou.DATE_MED)}),[n]),d=(0,s.useCallback)((function(e){return u.ou.fromISO(e).setZone(n).toLocaleString(u.ou.DATETIME_MED_WITH_WEEKDAY)}),[n]),f=(0,s.useCallback)((function(e){return u.ou.fromISO(e).setZone(n).toLocaleString(u.ou.DATE_MED_WITH_WEEKDAY)}),[n]),v=(0,s.useCallback)((function(e){return u.ou.fromISO(e).setZone(n).toLocaleString((0,a.Z)((0,o.Z)({},u.ou.DATE_MED_WITH_WEEKDAY),{weekday:"long"}))}),[n]),h=(0,s.useCallback)((function(e){return u.ou.fromISO(e).setZone(n).toLocaleString(u.ou.DATETIME_MED)}),[n]),m=(0,s.useCallback)((function(e){return u.ou.fromISO(e).setZone(n).toLocaleString((0,a.Z)((0,o.Z)({},u.ou.DATETIME_MED),{weekday:"long"}))}),[n]),g=(0,s.useCallback)((function(e){return u.ou.fromISO(e).setZone(n).toLocaleString(u.ou.DATETIME_FULL)}),[n]),p=(0,s.useCallback)((function(e){return u.ou.fromISO(e).setZone(n).toLocaleString((0,a.Z)((0,o.Z)({},u.ou.DATETIME_MED_WITH_WEEKDAY),{weekday:"long",month:"long"}))}),[n]),x=(0,s.useCallback)((function(e){return u.ou.fromISO(e).setZone(n).toLocaleString(u.ou.TIME_SIMPLE)}),[n]),Z=(0,s.useCallback)((function(e){var t=u.ou.fromISO(e).setZone(n);return"".concat(t.toLocaleString(u.ou.TIME_SIMPLE),", ").concat(t.toLocaleString(u.ou.DATE_SHORT))}),[n]);(0,s.useCallback)((function(e,t){return u.ou.fromISO(e).setZone(n).toLocaleString(u.ou[t])}),[n]);return{formatSlashesDate:r,formatDate:l,formatDateWithWeekday:f,formatDateWithLongWeekday:v,formatSlashes:i,displayFull:h,formatWithLongMonth:g,formatWithWeekday:d,formatWithLongWeekday:m,formatWithLongMonthLongWeekday:p,displayForTicketPackageDetails:(0,s.useCallback)((function(e){var t=u.ou.fromISO(e).setZone(n);return"".concat(t.toLocaleString(u.ou.TIME_SIMPLE),", ").concat(t.toLocaleString((0,a.Z)((0,o.Z)({},u.ou.DATE_MED_WITH_WEEKDAY),{weekday:"long"})))}),[n]),displayForCurrentCampaigns:(0,s.useCallback)((function(e){var t=u.ou.fromISO(e).setZone(n);return"".concat(t.toLocaleString((0,a.Z)((0,o.Z)({},u.ou.DATETIME_SHORT_WITH_SECONDS),{weekday:"short",minute:void 0})))}),[n]),displayTimeOnly:x,displayTimeFirstDate:Z,startOfDayAsISO:(0,s.useCallback)((function(e){return u.ou.fromJSDate(e).setZone(n).startOf("day").toISO()}),[n])}},f=function(){var e=(0,r.Z)((function(){var e;return(0,i.__generator)(this,(function(t){switch(t.label){case 0:return[4,(0,l.P_)()];case 1:return[2,(null===(e=t.sent())||void 0===e?void 0:e.timezone)||"US/Central"]}}))}));return function(){return e.apply(this,arguments)}}(),v={isTheFuture:function(e){return u.ou.fromISO(e)>u.ou.now()},nowToUtcIso:function(){return u.ou.utc().toISO()},formatWithLongWeekday:function(e,t){return u.ou.fromISO(e).setZone(t).toLocaleString((0,a.Z)((0,o.Z)({},u.ou.DATETIME_MED),{weekday:"long"}))},formatWithLongMonthLongWeekday:function(e,t){return u.ou.fromISO(e).setZone(t).toLocaleString((0,a.Z)((0,o.Z)({},u.ou.DATETIME_MED_WITH_WEEKDAY),{weekday:"long",month:"long"}))},getTz:(0,r.Z)((function(){return(0,i.__generator)(this,(function(e){switch(e.label){case 0:return[4,f()];case 1:return[2,e.sent()]}}))}))}},94453:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});var r=n(85893),o=(0,n(15295).Z)((0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M10 5a1 1 0 011 1v3h3a1 1 0 110 2h-3v3a1 1 0 11-2 0v-3H6a1 1 0 110-2h3V6a1 1 0 011-1z",clipRule:"evenodd"})}),"Plus")},32707:function(e,t,n){"use strict";n.d(t,{o:function(){return o}});var r=n(85893),o=(0,n(15295).Z)((0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z",clipRule:"evenodd"})}),"Search")},59622:function(e,t,n){"use strict";n.r(t);var r=n(85893),o=n(67294),a=n(41664),i=n.n(a),u=n(45955),c=n(66624),l=n(68592),s=n(77046),d=n(67398),f=n(13255),v=n(59084);t.default=function(){var e=(0,f.Z)(),t=(0,u.Z)(e.breakpoints.down("sm"));return(0,o.useEffect)((function(){v.w.push({event:"page_view"})}),[]),(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(c.Z,{component:"main",sx:{alignItems:"center",backgroundColor:"background.paper",display:"flex",flexGrow:1,py:"80px"},children:(0,r.jsxs)(l.Z,{maxWidth:"lg",children:[(0,r.jsx)(s.Z,{align:"center",variant:t?"h4":"h1",children:"404: The page you are looking for isn\u2019t here"}),(0,r.jsx)(s.Z,{align:"center",color:"textSecondary",sx:{mt:.5},variant:"subtitle2",children:"You either tried some shady route or you came here by mistake. Whichever it is, try using the navigation."}),(0,r.jsx)(c.Z,{sx:{display:"flex",justifyContent:"center",mt:6},children:(0,r.jsx)(c.Z,{alt:"Under development",component:"img",src:"/static/error/error404_".concat(e.palette.mode,".svg"),sx:{height:"auto",maxWidth:"100%",width:400}})}),(0,r.jsx)(c.Z,{sx:{display:"flex",justifyContent:"center",mt:6},children:(0,r.jsx)(i(),{href:"/",passHref:!0,children:(0,r.jsx)(d.Z,{component:"a",variant:"outlined",children:"Back to Dashboard"})})})]})})})}},13363:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return F}});var r=n(34727),o=n(69779),a=n(46587),i=n(85893),u=n(67294),c=n(41664),l=n.n(c),s=n(66624),d=n(68592),f=n(78047),v=n(77046),h=n(67398),m=n(74708),g=n(84498),p=n(14251),x=n(52875),Z=n(44747),S=n(75298),y=n(54937),E=n(32104),w=n(29350),T=n(35526),_=n(91076),I=n(90021),D=n(47773),j=n(32707),k=n(71807),b=n(96486),M=function(e){var t=e.credits,n=e.eventsAndTags,r=(0,Z.Z)(e,["credits","eventsAndTags"]),a=(0,k.K)().formatDate,c=(0,u.useState)([]),d=c[0],v=c[1],m=(0,u.useState)(""),g=m[0],M=m[1],A=(0,u.useReducer)((function(e,t){var n=t.type,r=t.value,o=t.id;switch(n){case"set":return r;case"set-value":return{items:e.items.map((function(e){return e.id===o&&(e.value=r),e})),logicOperator:T.G.And};default:return e}}),{items:[{id:"nameFilter",field:"name",value:"",operator:"contains"}],logicOperator:T.G.And}),O=A[0],W=A[1],C=(0,_.A)();(0,u.useEffect)((function(){var e,n;t&&v(t.map((function(t){var r;return{id:t.id,name:t.name,created:new Date(null===(r=t.created)||void 0===r?void 0:r.datetime),expires:new Date(t.end||864e13),productType:(0,b.compact)((0,o.Z)(null!==(e=null===t||void 0===t?void 0:t.categories)&&void 0!==e?e:[]).concat((0,o.Z)(null!==(n=null===t||void 0===t?void 0:t.events)&&void 0!==n?n:[])))}})))}),[t,a]);var L=[{field:"id"},{field:"name",headerName:"Name",flex:1.5},{field:"created",headerName:"Created",flex:1,type:"date",valueFormatter:function(e){return a(null===e||void 0===e?void 0:e.toISOString())}},{field:"productType",headerName:"Product Type",flex:1.5,renderCell:function(e){return(0,i.jsx)(s.Z,{sx:{height:"100%",display:"flex",flexFlow:"row wrap",alignItems:"center",gap:1,py:1},children:e.value.map((function(t){var r,o;return(0,i.jsx)(S.Z,{label:null===(r=null===n||void 0===n?void 0:n.find((function(e){return e.value===t})))||void 0===r?void 0:r.label},"".concat(t,"##").concat(null===(o=e.row)||void 0===o?void 0:o.id))}))})}},{field:"expires",headerName:"Experation Date",flex:1,type:"date",valueFormatter:function(e){return 864e13===e.getTime()?"\u221e":a(e.toISOString())}},{field:"actions",headerName:"Action",flex:1,renderCell:function(e){var t=e.row;return(0,i.jsx)(s.Z,{children:(0,i.jsx)(l(),{href:"/benefits/fee-waiver/".concat(t.id),passHref:!0,children:(0,i.jsx)(h.Z,{component:"a",children:"Edit"})})})}}];return(0,i.jsx)(D.O,{children:(0,i.jsxs)(y.Z,(0,x.Z)((0,p.Z)({},r),{children:[(0,i.jsx)(f.Z,{container:!0,spacing:3,sx:{p:2},children:(0,i.jsx)(f.Z,{size:{xs:12,md:12},children:(0,i.jsx)(E.Z,{fullWidth:!0,value:g,onChange:function(e){return M(e.target.value)},placeholder:"Search name",slotProps:{input:{startAdornment:(0,i.jsx)(w.Z,{position:"start",children:(0,i.jsx)(j.o,{fontSize:"small"})})}}})})}),(0,i.jsx)(I.K,{initialState:{density:"comfortable",sorting:{sortModel:[{field:"created",sort:"desc"}]}},hideFooter:!0,apiRef:C,columns:L,columnVisibilityModel:{id:!1},filterModel:O,onFilterModelChange:function(e){return W({type:"set",value:e})},rowHeight:80,rows:d,loading:!Array.isArray(t)})]}))})},A=n(94453),O=n(59084),W=n(13307),C=n(29809),L=function(){var e=(0,C.Z)().config,t=(0,u.useState)(),n=t[0],c=t[1],m=(0,u.useState)(),g=m[0],p=m[1],x=function(){var e=(0,r.Z)((function(){var e;return(0,a.__generator)(this,(function(t){switch(t.label){case 0:return[4,(0,W.s6)({source:"credits",search:[{fields:["companyId"],value:"1c222ced-b61d-485a-a71d-72e93257be26"},{fields:["type"],value:"waiver"}],filter:{"companyId.keyword":"1c222ced-b61d-485a-a71d-72e93257be26",type:"waiver"}})];case 1:return(e=t.sent())&&c(e.filter((function(e){return"waiver"===e.type})).toSorted((function(e,t){var n,r;return new Date(null===(n=t.created)||void 0===n?void 0:n.datetime).getTime()-new Date(null===(r=e.created)||void 0===r?void 0:r.datetime).getTime()}))),[2]}}))}));return function(){return e.apply(this,arguments)}}();return(0,u.useEffect)((function(){O.w.push({event:"page_view"}),x()}),[]),(0,u.useEffect)((function(){var t=function(){var t=(0,r.Z)((function(){var t,n,r,i;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return[4,(0,W.vw)()];case 1:return(t=a.sent())&&(n=(null!==t&&void 0!==t?t:[]).map((function(e){return{value:e.id,label:e.eventName}})),i=(null!==(r=null===e||void 0===e?void 0:e.tags)&&void 0!==r?r:[]).filter((function(e){return"event"===e.type})).map((function(e){return{value:e.id,label:e.text}})),p((0,b.compact)((0,o.Z)(n).concat((0,o.Z)(i))))),[2]}}))}));return function(){return t.apply(this,arguments)}}();t()}),[e]),(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(s.Z,{component:"main",sx:{flexGrow:1,py:6},children:(0,i.jsxs)(d.Z,{maxWidth:"xl",children:[(0,i.jsxs)(f.Z,{container:!0,justifyContent:"space-between",wrap:"nowrap",spacing:3,children:[(0,i.jsx)(f.Z,{children:(0,i.jsx)(v.Z,{color:"textPrimary",variant:"h2",children:"Fee Waivers"})}),(0,i.jsx)(f.Z,{children:(0,i.jsx)(s.Z,{sx:{m:-1},children:(0,i.jsx)(l(),{href:"/benefits/fee-waiver/new",passHref:!0,children:(0,i.jsx)(h.Z,{component:"a",color:"primary",startIcon:(0,i.jsx)(A.v,{fontSize:"small"}),sx:{m:1},variant:"contained",children:"Add Fee Waiver"})})})})]}),(0,i.jsx)(s.Z,{sx:{mt:3},children:(0,i.jsx)(M,{credits:n,eventsAndTags:g})})]})})})};L.getLayout=function(e){return(0,i.jsx)(m.y,{mode:"ADMIN",children:(0,i.jsx)(g.c,{children:e})})};var F=L},91076:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(67294),o=function(){return r.useRef(null)}}},function(e){e.O(0,[1664,8449,4450,9134,8904,6731,8047,854,5866,1362,1710,21,4498,9774,2888,179],(function(){return t=85333,e(e.s=t);var t}));var t=e.O();_N_E=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.