@flarehr/apollo-workplace-policies 0.1.550 → 0.1.553

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.html CHANGED
@@ -11,7 +11,7 @@
11
11
  href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
12
12
  rel="stylesheet"
13
13
  />
14
- <script type="module" crossorigin src="/workplace-policies.js"></script>
14
+ <script type="module" crossorigin src="https://npm-cdn.flarehr.com/@flarehr/apollo-workplace-policies/dist/workplace-policies.js"></script>
15
15
  </head>
16
16
  <style>
17
17
  :root {
@@ -42,9 +42,9 @@ Documentation available at: https://thoth-org.github.io/Thoth.Json/documentation
42
42
  *
43
43
  * This source code is licensed under the MIT license found in the
44
44
  * LICENSE file in the root directory of this source tree.
45
- */var e=require$$0;function h(te,ee){return te===ee&&(te!==0||1/te===1/ee)||te!==te&&ee!==ee}var k=typeof Object.is=="function"?Object.is:h,l$1=e.useState,m=e.useEffect,n=e.useLayoutEffect,p=e.useDebugValue;function q(te,ee){var ne=ee(),re=l$1({inst:{value:ne,getSnapshot:ee}}),ie=re[0].inst,se=re[1];return n(function(){ie.value=ne,ie.getSnapshot=ee,r$2(ie)&&se({inst:ie})},[te,ne,ee]),m(function(){return r$2(ie)&&se({inst:ie}),te(function(){r$2(ie)&&se({inst:ie})})},[te]),p(ne),ne}function r$2(te){var ee=te.getSnapshot;te=te.value;try{var ne=ee();return!k(te,ne)}catch{return!0}}function t(te,ee){return ee()}var u$1=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?t:q;useSyncExternalStoreShim_production_min.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:u$1,shim.exports=useSyncExternalStoreShim_production_min;var shimExports=shim.exports;class Util_ElmishState$3{constructor(ee,ne,re){this.arg=ne,this.dependencies=re;const ie=ee(),se=[];let oe;const me=ProgramModule_init(ie)(this.arg);let ge=me[0],fe=me[1];oe=[[ge,ae=>{se.push(ae)},!1,se],fe],this.state=oe[0],this.cmd=oe[1],this.subscribe=ae=>{let de=!1;const Te=isDisposable(this.state[0]);return ProgramModule_runWith(this.arg,ProgramModule_withSetState((Ae,ue)=>{const pe=this.state;this.state=[Ae,ue,!0,se],Ae!==pe[0]&&ae()},ProgramModule_map((Ae,ue)=>{const pe=this.cmd;return this.cmd=Cmd_none(),[this.state[0],pe]},(Ae,ue,pe)=>Ae(ue)(this.state[0]),uncurry3(Ae=>Ae),uncurry3(Ae=>Ae),uncurry2(Ae=>Ae),Ae=>[ue=>Ae[0](ue)?!0:Te&&de,ue=>{const pe=ue;isDisposable(pe)?disposeSafe(pe):Ae[1](ue)}],ie))),()=>{de=!0}}}}function Util_ElmishState$3_$ctor_Z29FF63CF(te,ee,ne){return new Util_ElmishState$3(te,ee,ne)}function Util_ElmishState$3__get_State(te){return te.state}function Util_ElmishState$3__get_Subscribe(te){return te.subscribe}function Util_ElmishState$3__IsOutdated_1954DBC6(te,ee,ne){return equals$1(te.arg,ee)?!equals$1(te.dependencies,ne):!0}function React_useElmish_Z6C327F2E(te,ee,ne){const re=h$1(()=>Util_ElmishState$3_$ctor_Z29FF63CF(te,ee,ne)),ie=re[0];Util_ElmishState$3__IsOutdated_1954DBC6(ie,ee,ne)&&re[1](Util_ElmishState$3_$ctor_Z29FF63CF(te,ee,ne));const se=shimExports.useSyncExternalStore(Util_ElmishState$3__get_Subscribe(ie),()=>Util_ElmishState$3__get_State(ie)),oe=se[2],me=se[3],ge=se[1];return p$1(()=>{if(oe&&me.length>0){let fe=getEnumerator(me);try{for(;fe["System.Collections.IEnumerator.MoveNext"]();){const ae=fe["System.Collections.Generic.IEnumerator`1.get_Current"]();setTimeout(()=>{ge(ae)})}}finally{disposeSafe(fe)}clear(me)}},[oe,me]),[se[0],ge]}const useEffectWithDeps=(te,ee)=>{p$1(()=>{const ne=te();return()=>{ne.Dispose()}},ee)},Interop_reactApi=Cn,ReactInterop_useEffectWithDeps=useEffectWithDeps;function React_createDisposable_3A5B6456(te){return{Dispose(){te()}}}function useReact_useEffectOnce_3A5B6456(te){const ee=Interop_reactApi.useRef(!1);useReact_useEffect_311B4086(()=>{ee.current||(ee.current=!0,te())},[])}function useReact_useEffect_311B4086(te,ee){ReactInterop_useEffectWithDeps(ne=>(te(),React_createDisposable_3A5B6456(()=>{})),ee)}function useReact_useRef_1505(te){return Interop_reactApi.useRef(te)}function React_lazy$0027_4712D3AE(te,ee){return Interop_reactApi.createElement(Interop_reactApi.lazy(()=>te),ee)}function React_suspense_1FEFDAB5(te){let ee;return Interop_reactApi.createElement(Interop_reactApi.Suspense,(ee={fallback:defaultOf()},Object.assign({},ee)),...te)}function useFeliz_React__React_useState_Static_1505(te){return Interop_reactApi.useState(te)}class Deferred$1 extends Union{constructor(ee,ne){super(),this.tag=ee,this.fields=ne}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function Deferred_inProgress(te){return te.tag===1}function notifyCompletion(te){let ee;ee=new CustomEvent("step-completion",{bubbles:!0}),te.dispatchEvent(ee)}class AsyncOperationStatus$1 extends Union{constructor(ee,ne){super(),this.tag=ee,this.fields=ne}cases(){return["Requested","Finished"]}}let Page$2=class extends Union{constructor(ee,ne){super(),this.tag=ee,this.fields=ne}cases(){return["Main","ReviewPolicy"]}};class State extends Record{constructor(ee,ne,re,ie,se,oe,me){super(),this.Page=ee,this.ReviewItemList=ne,this.GetInitStateStatus=re,this.PresentPoliciesStatus=ie,this.OpenPolicyStatus=se,this.AcceptPolicyStatus=oe,this.ContinueStatus=me}}class Msg extends Union{constructor(ee,ne){super(),this.tag=ee,this.fields=ne}cases(){return["FetchReviewItemList","NavigatePage","PresentPolicies","OpenPolicy","AcceptPolicy","Continue","NotifyCompletion"]}}function StateModule_init(){return[new State(new Page$2(0,[]),empty$3(),new Deferred$1(0,[]),new Deferred$1(0,[]),new Deferred$1(0,[]),new Deferred$1(0,[]),new Deferred$1(0,[])),singleton$2(te=>{te(new Msg(0,[new AsyncOperationStatus$1(0,[])]))})]}function StateModule_update(te,ee,ne){let re,ie;switch(ee.tag){case 1:return[new State(ee.fields[0],ne.ReviewItemList,ne.GetInitStateStatus,ne.PresentPoliciesStatus,ne.OpenPolicyStatus,new Deferred$1(0,[]),ne.ContinueStatus),ee.fields[0].tag===1?singleton$2(se=>{se(new Msg(3,[ee.fields[0].fields[0],new AsyncOperationStatus$1(0,[])]))}):Cmd_none()];case 2:return ee.fields[1].tag===1?[new State(ne.Page,ne.ReviewItemList,ne.GetInitStateStatus,new Deferred$1(2,[ee.fields[1].fields[0]]),ne.OpenPolicyStatus,ne.AcceptPolicyStatus,ne.ContinueStatus),Cmd_none()]:[new State(ne.Page,ne.ReviewItemList,ne.GetInitStateStatus,new Deferred$1(1,[]),ne.OpenPolicyStatus,ne.AcceptPolicyStatus,ne.ContinueStatus),Cmd_OfAsyncWith_perform(se=>{Cmd_OfAsync_start(se)},se=>BackendService__SendCommand_Z3B2D738(te,se),new CommandTypeDto(0,[{PolicyIdentifierList:map$3(se=>se.Policy.Identifier,ee.fields[0])}]),se=>{const oe=[ee.fields[0],new AsyncOperationStatus$1(1,[se])];return new Msg(2,[oe[0],oe[1]])})];case 3:return ee.fields[1].tag===1?[new State(ne.Page,map$3(se=>equals$1(ee.fields[0].Policy.Identifier,se.Policy.Identifier)?new PolicyReviewItemDto(se.Policy,PolicyReviewItemStatusDto__ToNextStatus_468E0CC(se.Status,new PolicyReviewItemStatusDto(1,[]))):se,ne.ReviewItemList),ne.GetInitStateStatus,ne.PresentPoliciesStatus,new Deferred$1(2,[ee.fields[1].fields[0]]),ne.AcceptPolicyStatus,ne.ContinueStatus),Cmd_none()]:[new State(ne.Page,ne.ReviewItemList,ne.GetInitStateStatus,ne.PresentPoliciesStatus,new Deferred$1(1,[]),ne.AcceptPolicyStatus,ne.ContinueStatus),Cmd_OfAsyncWith_perform(se=>{Cmd_OfAsync_start(se)},se=>BackendService__SendCommand_Z3B2D738(te,se),new CommandTypeDto(1,[ee.fields[0].Policy.Identifier]),se=>{const oe=[ee.fields[0],new AsyncOperationStatus$1(1,[se])];return new Msg(3,[oe[0],oe[1]])})];case 4:if(ee.fields[1].tag===1){const se=map$3(oe=>equals$1(ee.fields[0].Policy.Identifier,oe.Policy.Identifier)?new PolicyReviewItemDto(oe.Policy,PolicyReviewItemStatusDto__ToNextStatus_468E0CC(oe.Status,new PolicyReviewItemStatusDto(2,[]))):oe,ne.ReviewItemList);return[new State((re=ne.Page,re.tag===1?(ie=re.fields[0],new Page$2(1,[new PolicyReviewItemDto(ie.Policy,PolicyReviewItemStatusDto__ToNextStatus_468E0CC(ie.Status,new PolicyReviewItemStatusDto(2,[])))])):new Page$2(0,[])),se,ne.GetInitStateStatus,ne.PresentPoliciesStatus,ne.OpenPolicyStatus,new Deferred$1(2,[ee.fields[1].fields[0]]),ne.ContinueStatus),ee.fields[1].fields[0].tag===0?Cmd_ofEffect(oe=>{startImmediate(singleton.Delay(()=>singleton.Bind(sleep(1e3),()=>(oe(new Msg(1,[new Page$2(0,[])])),singleton.Zero()))))}):Cmd_none()]}else return[new State(ne.Page,ne.ReviewItemList,ne.GetInitStateStatus,ne.PresentPoliciesStatus,ne.OpenPolicyStatus,new Deferred$1(1,[]),ne.ContinueStatus),Cmd_OfAsyncWith_perform(se=>{Cmd_OfAsync_start(se)},se=>BackendService__SendCommand_Z3B2D738(te,se),new CommandTypeDto(2,[ee.fields[0].Policy.Identifier]),se=>{const oe=[ee.fields[0],new AsyncOperationStatus$1(1,[se])];return new Msg(4,[oe[0],oe[1]])})];case 5:if(ee.fields[1].tag===1)return[new State(ne.Page,ne.ReviewItemList,ne.GetInitStateStatus,ne.PresentPoliciesStatus,ne.OpenPolicyStatus,ne.AcceptPolicyStatus,new Deferred$1(2,[ee.fields[1].fields[0]])),singleton$2(se=>{se(new Msg(6,[]))})];switch(ne.ContinueStatus.tag){case 0:case 2:case 3:return[new State(ne.Page,ne.ReviewItemList,ne.GetInitStateStatus,ne.PresentPoliciesStatus,ne.OpenPolicyStatus,ne.AcceptPolicyStatus,new Deferred$1(1,[])),Cmd_OfAsyncWith_perform(oe=>{Cmd_OfAsync_start(oe)},oe=>BackendService__SendCommand_Z3B2D738(te,oe),new CommandTypeDto(3,[{PolicyIdentifierList:map$3(oe=>oe.Policy.Identifier,ee.fields[0])}]),oe=>{const me=[ee.fields[0],new AsyncOperationStatus$1(1,[oe])];return new Msg(5,[me[0],me[1]])})];default:return[ne,Cmd_none()]}case 6:return notifyCompletion(document.querySelector("apollo-workplace-policies-app")),[ne,Cmd_none()];default:if(ee.fields[0].tag===1){let se,oe;switch(ee.fields[0].fields[0].tag===1||ee.fields[0].fields[0].fields[0].tag===1?oe=1:oe=0,oe){case 0:{const ge=ee.fields[0].fields[0].fields[0].fields[0];se=[ge.PolicyReviewList,singleton$2(fe=>{fe(new Msg(2,[ge.PolicyReviewList,new AsyncOperationStatus$1(0,[])]))})];break}default:se=[void 0,Cmd_none()]}const me=se[0];return[new State(ne.Page,me??ne.ReviewItemList,new Deferred$1(2,[ee.fields[0].fields[0]]),ne.PresentPoliciesStatus,ne.OpenPolicyStatus,ne.AcceptPolicyStatus,ne.ContinueStatus),se[1]]}else return[new State(ne.Page,ne.ReviewItemList,new Deferred$1(1,[]),ne.PresentPoliciesStatus,ne.OpenPolicyStatus,ne.AcceptPolicyStatus,ne.ContinueStatus),Cmd_OfAsyncWith_perform(se=>{Cmd_OfAsync_start(se)},()=>BackendService__GetInitState(te),void 0,se=>new Msg(0,[new AsyncOperationStatus$1(1,[se])]))]}}const scriptRel="modulepreload",assetsURL=function(te,ee){return te[0]==="."?new URL(te,ee).href:te},seen={},__vitePreload=function(ee,ne,re){return ee()},TextLayer$1=`:root{--react-pdf-text-layer: 1;--highlight-bg-color: rgba(180, 0, 170, 1);--highlight-selected-bg-color: rgba(0, 100, 0, 1)}@media screen and (forced-colors: active){:root{--highlight-bg-color: Highlight;--highlight-selected-bg-color: ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.textLayer{position:absolute;text-align:initial;top:0;right:0;bottom:0;left:0;overflow:hidden;line-height:1;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;margin:0;transform-origin:0 0}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:var(--highlight-bg-color);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::-moz-selection{background:transparent}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;top:100%;right:0;bottom:0;left:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.textLayer .endOfContent.active{top:0}
45
+ */var e=require$$0;function h(te,ee){return te===ee&&(te!==0||1/te===1/ee)||te!==te&&ee!==ee}var k=typeof Object.is=="function"?Object.is:h,l$1=e.useState,m=e.useEffect,n=e.useLayoutEffect,p=e.useDebugValue;function q(te,ee){var ne=ee(),re=l$1({inst:{value:ne,getSnapshot:ee}}),ie=re[0].inst,se=re[1];return n(function(){ie.value=ne,ie.getSnapshot=ee,r$2(ie)&&se({inst:ie})},[te,ne,ee]),m(function(){return r$2(ie)&&se({inst:ie}),te(function(){r$2(ie)&&se({inst:ie})})},[te]),p(ne),ne}function r$2(te){var ee=te.getSnapshot;te=te.value;try{var ne=ee();return!k(te,ne)}catch{return!0}}function t(te,ee){return ee()}var u$1=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?t:q;useSyncExternalStoreShim_production_min.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:u$1,shim.exports=useSyncExternalStoreShim_production_min;var shimExports=shim.exports;class Util_ElmishState$3{constructor(ee,ne,re){this.arg=ne,this.dependencies=re;const ie=ee(),se=[];let oe;const me=ProgramModule_init(ie)(this.arg);let ge=me[0],fe=me[1];oe=[[ge,ae=>{se.push(ae)},!1,se],fe],this.state=oe[0],this.cmd=oe[1],this.subscribe=ae=>{let de=!1;const Te=isDisposable(this.state[0]);return ProgramModule_runWith(this.arg,ProgramModule_withSetState((Ae,ue)=>{const pe=this.state;this.state=[Ae,ue,!0,se],Ae!==pe[0]&&ae()},ProgramModule_map((Ae,ue)=>{const pe=this.cmd;return this.cmd=Cmd_none(),[this.state[0],pe]},(Ae,ue,pe)=>Ae(ue)(this.state[0]),uncurry3(Ae=>Ae),uncurry3(Ae=>Ae),uncurry2(Ae=>Ae),Ae=>[ue=>Ae[0](ue)?!0:Te&&de,ue=>{const pe=ue;isDisposable(pe)?disposeSafe(pe):Ae[1](ue)}],ie))),()=>{de=!0}}}}function Util_ElmishState$3_$ctor_Z29FF63CF(te,ee,ne){return new Util_ElmishState$3(te,ee,ne)}function Util_ElmishState$3__get_State(te){return te.state}function Util_ElmishState$3__get_Subscribe(te){return te.subscribe}function Util_ElmishState$3__IsOutdated_1954DBC6(te,ee,ne){return equals$1(te.arg,ee)?!equals$1(te.dependencies,ne):!0}function React_useElmish_Z6C327F2E(te,ee,ne){const re=h$1(()=>Util_ElmishState$3_$ctor_Z29FF63CF(te,ee,ne)),ie=re[0];Util_ElmishState$3__IsOutdated_1954DBC6(ie,ee,ne)&&re[1](Util_ElmishState$3_$ctor_Z29FF63CF(te,ee,ne));const se=shimExports.useSyncExternalStore(Util_ElmishState$3__get_Subscribe(ie),()=>Util_ElmishState$3__get_State(ie)),oe=se[2],me=se[3],ge=se[1];return p$1(()=>{if(oe&&me.length>0){let fe=getEnumerator(me);try{for(;fe["System.Collections.IEnumerator.MoveNext"]();){const ae=fe["System.Collections.Generic.IEnumerator`1.get_Current"]();setTimeout(()=>{ge(ae)})}}finally{disposeSafe(fe)}clear(me)}},[oe,me]),[se[0],ge]}const useEffectWithDeps=(te,ee)=>{p$1(()=>{const ne=te();return()=>{ne.Dispose()}},ee)},Interop_reactApi=Cn,ReactInterop_useEffectWithDeps=useEffectWithDeps;function React_createDisposable_3A5B6456(te){return{Dispose(){te()}}}function useReact_useEffectOnce_3A5B6456(te){const ee=Interop_reactApi.useRef(!1);useReact_useEffect_311B4086(()=>{ee.current||(ee.current=!0,te())},[])}function useReact_useEffect_311B4086(te,ee){ReactInterop_useEffectWithDeps(ne=>(te(),React_createDisposable_3A5B6456(()=>{})),ee)}function useReact_useRef_1505(te){return Interop_reactApi.useRef(te)}function React_lazy$0027_4712D3AE(te,ee){return Interop_reactApi.createElement(Interop_reactApi.lazy(()=>te),ee)}function React_suspense_1FEFDAB5(te){let ee;return Interop_reactApi.createElement(Interop_reactApi.Suspense,(ee={fallback:defaultOf()},Object.assign({},ee)),...te)}function useFeliz_React__React_useState_Static_1505(te){return Interop_reactApi.useState(te)}class Deferred$1 extends Union{constructor(ee,ne){super(),this.tag=ee,this.fields=ne}cases(){return["HasNotStartedYet","InProgress","Resolved","Failed"]}}function Deferred_inProgress(te){return te.tag===1}function notifyCompletion(te){let ee;ee=new CustomEvent("step-completion",{bubbles:!0}),te.dispatchEvent(ee)}class AsyncOperationStatus$1 extends Union{constructor(ee,ne){super(),this.tag=ee,this.fields=ne}cases(){return["Requested","Finished"]}}let Page$2=class extends Union{constructor(ee,ne){super(),this.tag=ee,this.fields=ne}cases(){return["Main","ReviewPolicy"]}};class State extends Record{constructor(ee,ne,re,ie,se,oe,me){super(),this.Page=ee,this.ReviewItemList=ne,this.GetInitStateStatus=re,this.PresentPoliciesStatus=ie,this.OpenPolicyStatus=se,this.AcceptPolicyStatus=oe,this.ContinueStatus=me}}class Msg extends Union{constructor(ee,ne){super(),this.tag=ee,this.fields=ne}cases(){return["FetchReviewItemList","NavigatePage","PresentPolicies","OpenPolicy","AcceptPolicy","Continue","NotifyCompletion"]}}function StateModule_init(){return[new State(new Page$2(0,[]),empty$3(),new Deferred$1(0,[]),new Deferred$1(0,[]),new Deferred$1(0,[]),new Deferred$1(0,[]),new Deferred$1(0,[])),singleton$2(te=>{te(new Msg(0,[new AsyncOperationStatus$1(0,[])]))})]}function StateModule_update(te,ee,ne){let re,ie;switch(ee.tag){case 1:return[new State(ee.fields[0],ne.ReviewItemList,ne.GetInitStateStatus,ne.PresentPoliciesStatus,ne.OpenPolicyStatus,new Deferred$1(0,[]),ne.ContinueStatus),ee.fields[0].tag===1?singleton$2(se=>{se(new Msg(3,[ee.fields[0].fields[0],new AsyncOperationStatus$1(0,[])]))}):Cmd_none()];case 2:return ee.fields[1].tag===1?[new State(ne.Page,ne.ReviewItemList,ne.GetInitStateStatus,new Deferred$1(2,[ee.fields[1].fields[0]]),ne.OpenPolicyStatus,ne.AcceptPolicyStatus,ne.ContinueStatus),Cmd_none()]:[new State(ne.Page,ne.ReviewItemList,ne.GetInitStateStatus,new Deferred$1(1,[]),ne.OpenPolicyStatus,ne.AcceptPolicyStatus,ne.ContinueStatus),Cmd_OfAsyncWith_perform(se=>{Cmd_OfAsync_start(se)},se=>BackendService__SendCommand_Z3B2D738(te,se),new CommandTypeDto(0,[{PolicyIdentifierList:map$3(se=>se.Policy.Identifier,ee.fields[0])}]),se=>{const oe=[ee.fields[0],new AsyncOperationStatus$1(1,[se])];return new Msg(2,[oe[0],oe[1]])})];case 3:return ee.fields[1].tag===1?[new State(ne.Page,map$3(se=>equals$1(ee.fields[0].Policy.Identifier,se.Policy.Identifier)?new PolicyReviewItemDto(se.Policy,PolicyReviewItemStatusDto__ToNextStatus_468E0CC(se.Status,new PolicyReviewItemStatusDto(1,[]))):se,ne.ReviewItemList),ne.GetInitStateStatus,ne.PresentPoliciesStatus,new Deferred$1(2,[ee.fields[1].fields[0]]),ne.AcceptPolicyStatus,ne.ContinueStatus),Cmd_none()]:[new State(ne.Page,ne.ReviewItemList,ne.GetInitStateStatus,ne.PresentPoliciesStatus,new Deferred$1(1,[]),ne.AcceptPolicyStatus,ne.ContinueStatus),Cmd_OfAsyncWith_perform(se=>{Cmd_OfAsync_start(se)},se=>BackendService__SendCommand_Z3B2D738(te,se),new CommandTypeDto(1,[ee.fields[0].Policy.Identifier]),se=>{const oe=[ee.fields[0],new AsyncOperationStatus$1(1,[se])];return new Msg(3,[oe[0],oe[1]])})];case 4:if(ee.fields[1].tag===1){const se=map$3(oe=>equals$1(ee.fields[0].Policy.Identifier,oe.Policy.Identifier)?new PolicyReviewItemDto(oe.Policy,PolicyReviewItemStatusDto__ToNextStatus_468E0CC(oe.Status,new PolicyReviewItemStatusDto(2,[]))):oe,ne.ReviewItemList);return[new State((re=ne.Page,re.tag===1?(ie=re.fields[0],new Page$2(1,[new PolicyReviewItemDto(ie.Policy,PolicyReviewItemStatusDto__ToNextStatus_468E0CC(ie.Status,new PolicyReviewItemStatusDto(2,[])))])):new Page$2(0,[])),se,ne.GetInitStateStatus,ne.PresentPoliciesStatus,ne.OpenPolicyStatus,new Deferred$1(2,[ee.fields[1].fields[0]]),ne.ContinueStatus),ee.fields[1].fields[0].tag===0?Cmd_ofEffect(oe=>{startImmediate(singleton.Delay(()=>singleton.Bind(sleep(1e3),()=>(oe(new Msg(1,[new Page$2(0,[])])),singleton.Zero()))))}):Cmd_none()]}else return[new State(ne.Page,ne.ReviewItemList,ne.GetInitStateStatus,ne.PresentPoliciesStatus,ne.OpenPolicyStatus,new Deferred$1(1,[]),ne.ContinueStatus),Cmd_OfAsyncWith_perform(se=>{Cmd_OfAsync_start(se)},se=>BackendService__SendCommand_Z3B2D738(te,se),new CommandTypeDto(2,[ee.fields[0].Policy.Identifier]),se=>{const oe=[ee.fields[0],new AsyncOperationStatus$1(1,[se])];return new Msg(4,[oe[0],oe[1]])})];case 5:if(ee.fields[1].tag===1)return[new State(ne.Page,ne.ReviewItemList,ne.GetInitStateStatus,ne.PresentPoliciesStatus,ne.OpenPolicyStatus,ne.AcceptPolicyStatus,new Deferred$1(2,[ee.fields[1].fields[0]])),singleton$2(se=>{se(new Msg(6,[]))})];switch(ne.ContinueStatus.tag){case 0:case 2:case 3:return[new State(ne.Page,ne.ReviewItemList,ne.GetInitStateStatus,ne.PresentPoliciesStatus,ne.OpenPolicyStatus,ne.AcceptPolicyStatus,new Deferred$1(1,[])),Cmd_OfAsyncWith_perform(oe=>{Cmd_OfAsync_start(oe)},oe=>BackendService__SendCommand_Z3B2D738(te,oe),new CommandTypeDto(3,[{PolicyIdentifierList:map$3(oe=>oe.Policy.Identifier,ee.fields[0])}]),oe=>{const me=[ee.fields[0],new AsyncOperationStatus$1(1,[oe])];return new Msg(5,[me[0],me[1]])})];default:return[ne,Cmd_none()]}case 6:return notifyCompletion(document.querySelector("apollo-workplace-policies-app")),[ne,Cmd_none()];default:if(ee.fields[0].tag===1){let se,oe;switch(ee.fields[0].fields[0].tag===1||ee.fields[0].fields[0].fields[0].tag===1?oe=1:oe=0,oe){case 0:{const ge=ee.fields[0].fields[0].fields[0].fields[0];se=[ge.PolicyReviewList,singleton$2(fe=>{fe(new Msg(2,[ge.PolicyReviewList,new AsyncOperationStatus$1(0,[])]))})];break}default:se=[void 0,Cmd_none()]}const me=se[0];return[new State(ne.Page,me??ne.ReviewItemList,new Deferred$1(2,[ee.fields[0].fields[0]]),ne.PresentPoliciesStatus,ne.OpenPolicyStatus,ne.AcceptPolicyStatus,ne.ContinueStatus),se[1]]}else return[new State(ne.Page,ne.ReviewItemList,new Deferred$1(1,[]),ne.PresentPoliciesStatus,ne.OpenPolicyStatus,ne.AcceptPolicyStatus,ne.ContinueStatus),Cmd_OfAsyncWith_perform(se=>{Cmd_OfAsync_start(se)},()=>BackendService__GetInitState(te),void 0,se=>new Msg(0,[new AsyncOperationStatus$1(1,[se])]))]}}const scriptRel="modulepreload",assetsURL=function(te){return"https://npm-cdn.flarehr.com/@flarehr/apollo-workplace-policies/dist/"+te},seen={},__vitePreload=function(ee,ne,re){return ee()},TextLayer$1=`:root{--react-pdf-text-layer: 1;--highlight-bg-color: rgba(180, 0, 170, 1);--highlight-selected-bg-color: rgba(0, 100, 0, 1)}@media screen and (forced-colors: active){:root{--highlight-bg-color: Highlight;--highlight-selected-bg-color: ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.textLayer{position:absolute;text-align:initial;top:0;right:0;bottom:0;left:0;overflow:hidden;line-height:1;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;margin:0;transform-origin:0 0}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:var(--highlight-bg-color);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::-moz-selection{background:transparent}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;top:100%;right:0;bottom:0;left:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.textLayer .endOfContent.active{top:0}
46
46
  `,AnnotationLayer$1=`:root{--react-pdf-annotation-layer: 1;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color: Highlight;--input-focus-outline: 1px solid Canvas;--input-unfocused-border-color: transparent;--input-disabled-border-color: transparent;--input-hover-border-color: black;--link-outline: none}@media screen and (forced-colors: active){:root{--input-focus-border-color: CanvasText;--input-unfocused-border-color: ActiveText;--input-disabled-border-color: GrayText;--input-hover-border-color: Highlight;--link-outline: 1.5px solid LinkText}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid selectedItem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert(100%);backdrop-filter:invert(100%)}}.annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0;z-index:3}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg) translate(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg) translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg) translateY(-100%)}.annotationLayer canvas{position:absolute;width:100%;height:100%}.annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;margin:0;transform-origin:0 0}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:rgba(255,255,0,1);box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%;top:0;left:0}.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-image:none;background-color:transparent}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{position:absolute;width:100%;height:100%;top:0;left:0}.annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}
47
- `,reactPdf=__vitePreload(()=>Promise.resolve().then(()=>index),void 0,document.currentScript&&document.currentScript.src||new URL("workplace-policies.js",document.baseURI).href);function setUpWorker(te){startImmediate(singleton.Delay(()=>singleton.TryWith(singleton.Delay(()=>singleton.Bind(awaitPromise(reactPdf),ee=>(ee.pdfjs.GlobalWorkerOptions.workerSrc=new URL(""+document.currentScript.src.replace("workplace-policies.js","")+"assets/pdf.worker.min-bc10fb5c.js",self.location).toString(),singleton.Zero()))),ee=>(te(),singleton.Zero()))))}const PdfCss_textLayer=(()=>toString$3(TextLayer$1))(),PdfCss_annotationLayer=(()=>toString$3(AnnotationLayer$1))(),PdfCss_all=PdfCss_textLayer+PdfCss_annotationLayer;class Document_Prop extends Union{constructor(ee,ne){super(),this.tag=ee,this.fields=ne}cases(){return["File","OnLoadSuccess","ClassName","OnItemClick","Children"]}}function Document_Component(te){return React_lazy$0027_4712D3AE(reactPdf.then(ee=>({default:ee.Document})),keyValueList(te,1))}class Page_Prop extends Union{constructor(ee,ne){super(),this.tag=ee,this.fields=ne}cases(){return["PageNumber","Width"]}}function Page_Component(te){return React_lazy$0027_4712D3AE(reactPdf.then(ee=>({default:ee.Page})),keyValueList(te,1))}class Thumbnail_Prop extends Union{constructor(ee,ne){super(),this.tag=ee,this.fields=ne}cases(){return["Key","PageNumber","Width"]}}function Thumbnail_Component(te){return React_lazy$0027_4712D3AE(reactPdf.then(ee=>({default:ee.Thumbnail})),keyValueList(te,1))}const index$1=`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.invisible{visibility:hidden}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.top-0{top:0}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.mr-4{margin-right:1rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-8{margin-top:2rem}.inline{display:inline}.flex{display:flex}.h-10{height:2.5rem}.h-20{height:5rem}.h-full{height:100%}.w-20{width:5rem}.w-\\[4\\.75rem\\]{width:4.75rem}.w-full{width:100%}.max-w-\\[560px\\]{max-width:560px}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.cursor-progress{cursor:progress}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-4{border-width:4px}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-primary-base{border-color:var(--fl-color-primary)}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-primary-base{background-color:var(--fl-color-primary)}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.align-bottom{vertical-align:bottom}.font-inter{font-family:Inter,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-8{line-height:2rem}.leading-tight{line-height:1.25}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-primary-base{color:var(--fl-color-primary)}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline-offset-2{text-underline-offset:2px}.opacity-\\[0\\.07\\]{opacity:.07}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-primary-base{--tw-ring-color: var(--fl-color-primary)}.ring-opacity-5{--tw-ring-opacity: .05}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\\:text-primary-base:hover{color:var(--fl-color-primary)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:ring-2:hover{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.hover\\:ring-primary-base:hover{--tw-ring-color: var(--fl-color-primary)}.focus-visible\\:outline:focus-visible{outline-style:solid}.focus-visible\\:outline-2:focus-visible{outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-primary-base:focus-visible{outline-color:var(--fl-color-primary)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:cursor-progress:disabled{cursor:progress}.disabled\\:border:disabled{border-width:1px}.disabled\\:border-gray-300:disabled{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.disabled\\:bg-gray-100:disabled{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.disabled\\:text-gray-400:disabled{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\\:mr-2{margin-right:.5rem}.sm\\:mr-2\\.5{margin-right:.625rem}.sm\\:mt-0{margin-top:0}.sm\\:mt-10{margin-top:2.5rem}.sm\\:mt-6{margin-top:1.5rem}.sm\\:mt-\\[1px\\]{margin-top:1px}.sm\\:w-\\[12\\.5rem\\]{width:12.5rem}.sm\\:w-\\[35rem\\]{width:35rem}.sm\\:max-w-\\[57rem\\]{max-width:57rem}.sm\\:flex-row{flex-direction:row}.sm\\:p-5{padding:1.25rem}.sm\\:p-6{padding:1.5rem}.sm\\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\\:py-16{padding-top:4rem;padding-bottom:4rem}.sm\\:py-2{padding-top:.5rem;padding-bottom:.5rem}.sm\\:py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.sm\\:py-20{padding-top:5rem;padding-bottom:5rem}.sm\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\\:text-base{font-size:1rem;line-height:1.5rem}.sm\\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\\:leading-6{line-height:1.5rem}.sm\\:leading-7{line-height:1.75rem}.sm\\:leading-8{line-height:2rem}.sm\\:leading-9{line-height:2.25rem}}@media (min-width: 768px){.md\\:py-3{padding-top:.75rem;padding-bottom:.75rem}.md\\:py-4{padding-top:1rem;padding-bottom:1rem}}@media (min-width: 1024px){.lg\\:visible{visibility:visible}}
47
+ `,reactPdf=__vitePreload(()=>Promise.resolve().then(()=>index),void 0);function setUpWorker(te){startImmediate(singleton.Delay(()=>singleton.TryWith(singleton.Delay(()=>singleton.Bind(awaitPromise(reactPdf),ee=>(ee.pdfjs.GlobalWorkerOptions.workerSrc=new URL("https://npm-cdn.flarehr.com/@flarehr/apollo-workplace-policies/dist/assets/pdf.worker.min-bc10fb5c.js",self.location).toString(),singleton.Zero()))),ee=>(te(),singleton.Zero()))))}const PdfCss_textLayer=(()=>toString$3(TextLayer$1))(),PdfCss_annotationLayer=(()=>toString$3(AnnotationLayer$1))(),PdfCss_all=PdfCss_textLayer+PdfCss_annotationLayer;class Document_Prop extends Union{constructor(ee,ne){super(),this.tag=ee,this.fields=ne}cases(){return["File","OnLoadSuccess","ClassName","OnItemClick","Children"]}}function Document_Component(te){return React_lazy$0027_4712D3AE(reactPdf.then(ee=>({default:ee.Document})),keyValueList(te,1))}class Page_Prop extends Union{constructor(ee,ne){super(),this.tag=ee,this.fields=ne}cases(){return["PageNumber","Width"]}}function Page_Component(te){return React_lazy$0027_4712D3AE(reactPdf.then(ee=>({default:ee.Page})),keyValueList(te,1))}class Thumbnail_Prop extends Union{constructor(ee,ne){super(),this.tag=ee,this.fields=ne}cases(){return["Key","PageNumber","Width"]}}function Thumbnail_Component(te){return React_lazy$0027_4712D3AE(reactPdf.then(ee=>({default:ee.Thumbnail})),keyValueList(te,1))}const index$1=`*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.invisible{visibility:hidden}.absolute{position:absolute}.relative{position:relative}.left-0{left:0}.top-0{top:0}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.mr-4{margin-right:1rem}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-8{margin-top:2rem}.inline{display:inline}.flex{display:flex}.h-10{height:2.5rem}.h-20{height:5rem}.h-full{height:100%}.w-20{width:5rem}.w-\\[4\\.75rem\\]{width:4.75rem}.w-full{width:100%}.max-w-\\[560px\\]{max-width:560px}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.cursor-progress{cursor:progress}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-4{border-width:4px}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-primary-base{border-color:var(--fl-color-primary)}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-primary-base{background-color:var(--fl-color-primary)}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-1{padding:.25rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.align-bottom{vertical-align:bottom}.font-inter{font-family:Inter,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-7{line-height:1.75rem}.leading-8{line-height:2rem}.leading-tight{line-height:1.25}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-primary-base{color:var(--fl-color-primary)}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline-offset-2{text-underline-offset:2px}.opacity-\\[0\\.07\\]{opacity:.07}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(209 213 219 / var(--tw-ring-opacity))}.ring-primary-base{--tw-ring-color: var(--fl-color-primary)}.ring-opacity-5{--tw-ring-opacity: .05}.hover\\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\\:text-primary-base:hover{color:var(--fl-color-primary)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:ring-2:hover{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.hover\\:ring-primary-base:hover{--tw-ring-color: var(--fl-color-primary)}.focus-visible\\:outline:focus-visible{outline-style:solid}.focus-visible\\:outline-2:focus-visible{outline-width:2px}.focus-visible\\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\\:outline-primary-base:focus-visible{outline-color:var(--fl-color-primary)}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:cursor-progress:disabled{cursor:progress}.disabled\\:border:disabled{border-width:1px}.disabled\\:border-gray-300:disabled{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.disabled\\:bg-gray-100:disabled{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.disabled\\:text-gray-400:disabled{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\\:mr-2{margin-right:.5rem}.sm\\:mr-2\\.5{margin-right:.625rem}.sm\\:mt-0{margin-top:0}.sm\\:mt-10{margin-top:2.5rem}.sm\\:mt-6{margin-top:1.5rem}.sm\\:mt-\\[1px\\]{margin-top:1px}.sm\\:w-\\[12\\.5rem\\]{width:12.5rem}.sm\\:w-\\[35rem\\]{width:35rem}.sm\\:max-w-\\[57rem\\]{max-width:57rem}.sm\\:flex-row{flex-direction:row}.sm\\:p-5{padding:1.25rem}.sm\\:p-6{padding:1.5rem}.sm\\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\\:py-16{padding-top:4rem;padding-bottom:4rem}.sm\\:py-2{padding-top:.5rem;padding-bottom:.5rem}.sm\\:py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}.sm\\:py-20{padding-top:5rem;padding-bottom:5rem}.sm\\:text-3xl{font-size:1.875rem;line-height:2.25rem}.sm\\:text-base{font-size:1rem;line-height:1.5rem}.sm\\:text-lg{font-size:1.125rem;line-height:1.75rem}.sm\\:leading-6{line-height:1.5rem}.sm\\:leading-7{line-height:1.75rem}.sm\\:leading-8{line-height:2rem}.sm\\:leading-9{line-height:2.25rem}}@media (min-width: 768px){.md\\:py-3{padding-top:.75rem;padding-bottom:.75rem}.md\\:py-4{padding-top:1rem;padding-bottom:1rem}}@media (min-width: 1024px){.lg\\:visible{visibility:visible}}
48
48
  `,css=(()=>toString$3(index$1))(),SvgCheck=te=>y$1("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...te},y$1("g",{clipPath:"url(#clip0_3040_23717)"},y$1("path",{d:"M12 24C18.6274 24 24 18.6274 24 12C24 5.37258 18.6274 0 12 0C5.37258 0 0 5.37258 0 12C0 18.6274 5.37258 24 12 24Z",fill:"currentColor"}),y$1("path",{d:"M6 12L10 16L18 8",stroke:"white",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),y$1("defs",null,y$1("clipPath",{id:"clip0_3040_23717"},y$1("rect",{width:24,height:24,fill:"white"})))),SvgChevronLeft=te=>y$1("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...te},y$1("path",{d:"M15 18L9 12L15 6",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),SvgChevronRight=te=>y$1("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...te},y$1("path",{d:"M9 6L15 12L9 18",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),SvgDownload=te=>y$1("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...te},y$1("path",{d:"M4 16L4 17C4 18.6569 5.34315 20 7 20L17 20C18.6569 20 20 18.6569 20 17L20 16M16 12L12 16M12 16L8 12M12 16L12 4",stroke:"#9CA3AF",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),SvgFileNoAccess=te=>y$1("svg",{width:33,height:32,viewBox:"0 0 33 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...te},y$1("g",{id:"file-no-access 1"},y$1("g",{id:"Group"},y$1("path",{id:"Vector",d:"M29.5 1H3.5V31H29.5V1Z",stroke:"#9CA3AF",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),y$1("path",{id:"Vector_2",d:"M11.5566 20.944L21.4406 11.06",stroke:"#9CA3AF",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),y$1("path",{id:"Vector_3",d:"M16.5 23C20.366 23 23.5 19.866 23.5 16C23.5 12.134 20.366 9 16.5 9C12.634 9 9.5 12.134 9.5 16C9.5 19.866 12.634 23 16.5 23Z",stroke:"#9CA3AF",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))),SvgFolderXmark=te=>y$1("svg",{width:32,height:28,viewBox:"0 0 32 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",...te},y$1("path",{d:"M28 4C30.1875 4 32 5.8125 32 8V24C32 26.25 30.1875 28 28 28H4C1.75 28 0 26.25 0 24V4C0 1.8125 1.75 0 4 0H11.3125C12.375 0 13.375 0.4375 14.125 1.1875L17 4H28ZM30 24V8C30 6.9375 29.0625 6 28 6H16.125L12.75 2.625C12.375 2.25 11.875 2 11.3125 2H4C2.875 2 2 2.9375 2 4V24C2 25.125 2.875 26 4 26H28C29.0625 26 30 25.125 30 24ZM20.6875 11.3125C21.0625 11.6875 21.0625 12.375 20.6875 12.75L17.375 16L20.6875 19.3125C21.0625 19.6875 21.0625 20.375 20.6875 20.75C20.3125 21.125 19.625 21.125 19.25 20.75L16 17.4375L12.6875 20.75C12.3125 21.125 11.625 21.125 11.25 20.75C10.875 20.375 10.875 19.6875 11.25 19.3125L14.5625 16L11.25 12.75C10.875 12.375 10.875 11.6875 11.25 11.3125C11.625 10.9375 12.3125 10.9375 12.6875 11.3125L16 14.625L19.25 11.3125C19.625 10.9375 20.3125 10.9375 20.6875 11.3125Z",fill:"currentColor"})),SvgLaunch=te=>y$1("svg",{width:20,height:20,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...te},y$1("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 4H15.5C15.6326 4 15.7597 4.05268 15.8535 4.14645C15.9473 4.24022 16 4.36739 16 4.5V9.5C15.9999 9.59894 15.9706 9.69565 15.9156 9.77789C15.8606 9.86013 15.7824 9.92421 15.691 9.962C15.6303 9.98677 15.5655 9.99967 15.5 10C15.4343 10.0001 15.3692 9.98729 15.3084 9.96223C15.2477 9.93718 15.1925 9.9004 15.146 9.854L13.354 8.061L10.707 10.707C10.6147 10.8025 10.5044 10.8787 10.3824 10.9311C10.2604 10.9835 10.1291 11.0111 9.99636 11.0123C9.86358 11.0134 9.7319 10.9881 9.609 10.9378C9.48611 10.8875 9.37446 10.8133 9.28056 10.7194C9.18667 10.6255 9.11242 10.5139 9.06214 10.391C9.01186 10.2681 8.98655 10.1364 8.98771 10.0036C8.98886 9.87082 9.01645 9.7396 9.06886 9.6176C9.12127 9.49559 9.19745 9.38525 9.29296 9.293L11.939 6.646L10.146 4.854C10.0759 4.78407 10.0281 4.6949 10.0087 4.59779C9.98935 4.50068 9.99926 4.40001 10.0372 4.30854C10.0751 4.21706 10.1393 4.13891 10.2217 4.08398C10.3041 4.02905 10.4009 3.99982 10.5 4ZM12 16H6C5.46957 16 4.96086 15.7893 4.58579 15.4142C4.21071 15.0391 4 14.5304 4 14V8C4 7.46957 4.21071 6.96086 4.58579 6.58579C4.96086 6.21071 5.46957 6 6 6H7C7.26522 6 7.51957 6.10536 7.70711 6.29289C7.89464 6.48043 8 6.73478 8 7C8 7.26522 7.89464 7.51957 7.70711 7.70711C7.51957 7.89464 7.26522 8 7 8H6V14H12V13C12 12.7348 12.1054 12.4804 12.2929 12.2929C12.4804 12.1054 12.7348 12 13 12C13.2652 12 13.5196 12.1054 13.7071 12.2929C13.8946 12.4804 14 12.7348 14 13V14C14 14.5304 13.7893 15.0391 13.4142 15.4142C13.0391 15.7893 12.5304 16 12 16Z",fill:"currentColor"})),SvgLoader=te=>y$1("svg",{width:21,height:20,viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...te},y$1("g",{id:"Loader Mini"},y$1("path",{id:"Ellipse 2",d:"M18.5 10C18.5 14.4183 14.9183 18 10.5 18C6.08172 18 2.5 14.4183 2.5 10C2.5 5.58172 6.08172 2 10.5 2C14.9183 2 18.5 5.58172 18.5 10ZM4.49743 10C4.49743 13.3151 7.18487 16.0026 10.5 16.0026C13.8151 16.0026 16.5026 13.3151 16.5026 10C16.5026 6.68487 13.8151 3.99743 10.5 3.99743C7.18487 3.99743 4.49743 6.68487 4.49743 10Z",fill:"white",fillOpacity:.3}),y$1("path",{id:"Ellipse 2_2",d:"M10.5 3C10.5 2.44772 10.9494 1.99356 11.4974 2.06242C12.2053 2.15137 12.8996 2.3348 13.5615 2.60896C14.5321 3.011 15.414 3.60028 16.1569 4.34315C16.8997 5.08602 17.489 5.96793 17.891 6.93853C18.1652 7.60043 18.3486 8.29473 18.4376 9.0026C18.5064 9.55057 18.0523 10 17.5 10C16.9477 10 16.5085 9.54925 16.4169 9.00462C16.342 8.55939 16.2169 8.12298 16.0433 7.7039C15.7417 6.97595 15.2998 6.31451 14.7426 5.75736C14.1855 5.20021 13.5241 4.75825 12.7961 4.45672C12.377 4.28313 11.9406 4.15804 11.4954 4.08314C10.9508 3.99152 10.5 3.55228 10.5 3Z",fill:"white"}))),SvgMenu=te=>y$1("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...te},y$1("path",{d:"M4 6H20M4 12H20M4 18H20",stroke:"#9CA3AF",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),SvgMinus=te=>y$1("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...te},y$1("path",{d:"M18 12H6",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),SvgPlus=te=>y$1("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...te},y$1("path",{d:"M12 6V12M12 12V18M12 12H18M12 12L6 12",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}));class Prop extends Union{constructor(ee,ne){super(),this.tag=ee,this.fields=ne}cases(){return["Height","Width","ClassName"]}}function importSvg(te,ee){return Interop_reactApi.createElement(te,keyValueList(ee,1))}function check(te){return importSvg(SvgCheck,te)}function chevronLeft(te){return importSvg(SvgChevronLeft,te)}function chevronRight(te){return importSvg(SvgChevronRight,te)}function download(te){return importSvg(SvgDownload,te)}function fileNoAccess(te){return importSvg(SvgFileNoAccess,te)}function folderXmark(te){return importSvg(SvgFolderXmark,te)}function launch(te){return importSvg(SvgLaunch,te)}function loader(te){return importSvg(SvgLoader,te)}function menu(te){return importSvg(SvgMenu,te)}function minus(te){return importSvg(SvgMinus,te)}function plus(te){return importSvg(SvgPlus,te)}function getKey(te){return te.PolicyType.tag===1?`${te.PolicyId}-C`:`${te.PolicyId}-I`}function Component$5(te){let ee,ne,re;const ie=te.item,se=te.dispatch,oe=useFeliz_React__React_useState_Static_1505(!1),me=oe[1],ge=equals$1(ie.Status,new PolicyReviewItemStatusDto(2,[]));return y$1("div",createObj(ofArray$2([["key",getKey(ie.Policy.Identifier)],["onMouseEnter",fe=>{me(!0)}],["onMouseLeave",fe=>{me(!1)}],["onClick",fe=>{se(new Msg(1,[new Page$2(1,[ie])]))}],["className",join(" ",toList(delay(()=>append(singleton$1("py-6 px-4 sm:px-6 shadow-sm rounded-lg text-left cursor-pointer"),delay(()=>singleton$1(ge?"ring-2 ring-primary-base":"ring-1 ring-gray-300 hover:ring-2 hover:ring-primary-base"))))))],(ee=[y$1("div",createObj(ofArray$2([["className","flex justify-between"],(ne=[y$1("div",{className:"text-base leading-6 font-semibold text-gray-900 mr-4",children:ie.Policy.Title}),y$1("div",createObj(ofArray$2([["className",join(" ",toList(delay(()=>append(singleton$1("ml-2"),delay(()=>singleton$1(ge?"text-primary-base":"text-gray-400"))))))],(re=toList(delay(()=>singleton$1(ge?check(empty$3()):chevronRight(singleton$2(new Prop(2,[oe[0]?"text-primary-base":""])))))),["children",Interop_reactApi.Children.toArray(Array.from(re))])])))],["children",Interop_reactApi.Children.toArray(Array.from(ne))])]))),y$1("div",{className:"text-sm leading-5 font-normal text-gray-500 mt-2",children:ie.Policy.Description}),y$1("div",{className:"text-sm leading-5 font-medium mt-3 text-primary-base hover:underline underline-offset-2",children:"View document (PDF)"})],["children",Interop_reactApi.Children.toArray(Array.from(ee))])])))}function canContinue(te){return forAll(ee=>equals$1(ee.Status,new PolicyReviewItemStatusDto(2,[])),te)}function title(te){return y$1("div",{className:"text-gray-900 text-2xl sm:text-3xl leading-8 sm:leading-9 font-bold",children:te})}function container(te){let ee;return y$1("div",createObj(ofArray$2([["className","w-full sm:w-[35rem] text-center bg-white mx-auto px-1 py-5 sm:py-16"],(ee=toList(delay(()=>te)),["children",Interop_reactApi.Children.toArray(Array.from(ee))])])))}function noPoliciesConfigured(te){let ee,ne;return container([y$1("div",createObj(ofArray$2([["className","mb-4 mx-auto w-20 h-20 p-6 relative"],(ee=[y$1("div",{className:"absolute top-0 left-0 w-full h-full bg-primary-base opacity-[0.07] rounded-full"}),folderXmark(singleton$2(new Prop(2,["text-primary-base"])))],["children",Interop_reactApi.Children.toArray(Array.from(ee))])]))),title("No statements available"),y$1("div",{className:"text-center text-gray-600 text-lg font-normal leading-7 sm:leading-8 mt-4",children:"It looks like there are no statements for you to review from your employer at this time."}),y$1("button",createObj(ofArray$2([["type","button"],(ne=`mt-8 sm:mt-10 mx-auto shadow-sm w-full sm:w-[12.5rem] h-10 px-4 py-2
49
49
  rounded-md flex justify-center items-center text-white text-base
50
50
  font-semibold leading-6 cursor-pointer bg-primary-base
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarehr/apollo-workplace-policies",
3
- "version": "0.1.550",
3
+ "version": "0.1.553",
4
4
  "description": "Flare Workplace Policies Components",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "files": [