PageSourceSearch

https://abem-nacional.com.br/common.6d92aaaedfefafab.js

js abem-nacional.com.br collected 2026-10-04 06:06:05 UTC 83,682 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkabem=self.webpackChunkabem||[]).push([[2076],{98576(A,d,_){_.d(d,{c:()=>f});var b=_(51927);const o=typeof window<"u"?window:void 0;let y;typeof document<"u"&&document;const p=(i,a,s)=>{const e=a.startsWith("animation")?(t=i,void 0===y&&(y=void 0===t.style.animationName&&void 0!==t.style.webkitAnimationName?"-webkit-":""),y):"";var t;i.style.setProperty(e+a,s)},u=(i=[],a)=>{if(void 0!==a){const s=Array.isArray(a)?a:[a];return[...i,...s]}return i},f=i=>{let a,s,e,t,c,l,v,n,h,m,r,w=[],C=[],M=[],P=!1,B={},G=[],q=[],ee={},W=0,Z=!1,$=!1,z=!0,k=!1,Q=!0,X=!1;const E=i,F=[],S=[],L=[],x=[],I=[],N=[],ce=[],de=[],ue=[],pe=[],K=[],be="function"==typeof AnimationEffect||void 0!==o&&"function"==typeof o.AnimationEffect,H="function"==typeof Element&&"function"==typeof Element.prototype.animate&&be,he=()=>K,fe=(O,T)=>{const j=T.findIndex(D=>D.c===O);j>-1&&T.splice(j,1)},se=(O,T)=>((T?.oneTimeCallback?S:F).push({c:O,o:T}),r),me=()=>{H&&(K.forEach(O=>{O.cancel()}),K.length=0)},oe=()=>void 0!==c?c:v?v.getFill():"both",ie=()=>void 0!==n?n:void 0!==l?l:v?v.getDirection():"normal",re=()=>Z?"linear":void 0!==e?e:v?v.getEasing():"linear",J=()=>$?0:void 0!==h?h:void 0!==s?s:v?v.getDuration():0,ae=()=>void 0!==t?t:v?v.getIterations():1,le=()=>void 0!==m?m:void 0!==a?a:v?v.getDelay():0,ne=()=>{0!==W&&(W--,0===W&&((()=>{ue.forEach(R=>R()),pe.forEach(R=>R());const O=z?1:0,T=G,j=q,D=ee;x.forEach(R=>{const V=R.classList;T.forEach(Y=>
1V.add(Y)),j.forEach(Y=>V.remove(Y));for(const Y in D)D.hasOwnProperty(Y)&&p(R,Y,D[Y])}),h=void 0,n=void 0,m=void 0,F.forEach(R=>R.c(O,r)),S.forEach(R=>R.c(O,r)),S.length=0,Q=!0,z&&(k=!0),z=!0})(),v&&v.animationFinish()))},_e=()=>{(()=>{ce.forEach(D=>D()),de.forEach(D=>D());const O=C,T=M,j=B;x.forEach(D=>{const R=D.classList;O.forEach(V=>R.add(V)),T.forEach(V=>R.remove(V));for(const V in j)j.hasOwnProperty(V)&&p(D,V,j[V])})})(),w.length>0&&H&&(x.forEach(O=>{const T=O.animate(w,{id:E,delay:le(),duration:J(),easing:re(),iterations:ae(),fill:oe(),direction:ie()});T.pause(),K.push(T)}),K.length>0&&(K[0].onfinish=()=>{ne()})),P=!0},te=O=>{O=Math.min(Math.max(O,0),.9999),H&&K.forEach(T=>{T.currentTime=T.effect.getComputedTiming().delay+J()*O,T.pause()})},ve=O=>{K.forEach(T=>{T.effect.updateTiming({delay:le(),duration:J(),easing:re(),iterations:ae(),fill:oe(),direction:ie()})}),void 0!==O&&te(O)},U=(O=!1,T=!0,j)=>(O&&I.forEach(D=>{D.update(O,T,j)}),H&&ve(j),r),ge=()=>{P&&(H?K.forEach(O=>{O.pause()}):x.forEach(O=>{p(O,"animation-play-state","paused")}),X=!0)},ye=O=>new Promise(T=>{O?.sync&&($=!0,se(()=>$=!1,{oneTimeCallback:!0})),P||_e(),k&&(H&&(te(0),ve()),k=!1),Q&&(W=I.length+1,Q=!1);const j=()=>{fe(D,S),T()},D=()=>{fe(j,L),T()};se(D,{oneTimeCallback:!0}),L.push({c:j,o:{oneTimeCallback:!0}}),I.forEach(R=>{R.play()}),H?(K.forEach(R=>{R.play()}),0!==w.length&&0!==x.length||ne()):ne(),X=!1}),we=(O,T)=>{const j=w[0];return void 0===j||void 0!==j.offset&&0!==j.offset?w=[{offset:0,[O]:T},...w]:j[O]=T,r};return r={parentAnimation:v,elements:x,childAnimations:I,id:E,animationFinish:ne,from:we,to:(O,T)=>{const j=w[w.length-1];return void 0===j||void 0!==j.offset&&1!==j.offset?w=[...w,{offset:1,[O]:T}]:j[O]=T,r},fromTo:(O,T,j)=>we(O,T).to(O,j),parent:O=>(v=O,r),play:ye,pause:()=>(I.forEach(O=>{O.pause()}),ge(),r),stop:()=>{I.forEach(O=>{O.stop()}),P&&(me(),P=!1),Z=!1,$=!1,Q=!0,n=void 0,h=void 0,m=void 0,W=0,k=!1,z=!0,X=!1,L.forEach(O=>O.c(0,r)),L.length=0},destroy:O=>{return I.forEach(T=>{T.destroy(O)}),T=O,me(),T&&(N.forEach(O=>{O?.parentNode&&O.parentNode.removeChild(O)}),N.length=0),x.length=0,I.length=0,w.length=0,F.length=0,S.length=0,P=!1,Q=!0,r;var T},keyframes:O=>{const T=w!==O;return w=O,T&&(j=w,H&&he().forEach(D=>{const R=D.effect;if(R.setKeyframes)R.setKeyframes(j);else{const V=new KeyframeEffect(R.target,j,R.getTiming());D.effect=V}})),r;var j},addAnimation:O=>{if(null!=O)if(Array.isArray(O))for(const T of O)T.parent(r),I.push(T);else O.parent(r),I.push(O);return r},addElement:O=>{if(null!=O)if(1===O.nodeType)x.push(O);else if(O.length>=0)for(let T=0;T<O.length;T++)x.push(O[T]);else(0,b.j)("createAnimation - Invalid addElement value.");return r},update:U,fill:O=>(c=O,U(!0),r),direction:O=>(l=O,U(!0),r),iterations:O=>(t=O,U(!0),r),duration:O=>(H||0!==O||(O=1),s=O,U(!0),r),easing:O=>(e=O,U(!0),r),delay:O=>(a=O,U(!0),r),getWebAnimations:he,getKeyframes:()=>w,getFill:oe,getDirection:ie,getDelay:le,getIterations:ae,getEasing:re,getDuration:J,afterAddRead:O=>(ue.push(O),r),afterAddWrite:O=>(pe.push(O),r),afterClearStyles:(O=[])=>{for(const T of O)ee[T]="";return r},afterStyles:(O={})=>(ee=O,r),afterRemoveClass:O=>(q=u(q,O),r),afterAddClass:O=>(G=u(G,O),r),beforeAddRead:O=>(ce.push(O),r),beforeAddWrite:O=>(de.push(O),r),beforeClearStyles:(O=[])=>{for(const T of O)B[T]="";return r},beforeStyles:(O={})=>(B=O,r),beforeRemoveClass:O=>(M=u(M,O),r),beforeAddClass:O=>(C=u(C,O),r),onFinish:se,isRunning:()=>0!==W&&!X,progressStart:(O=!1,T)=>(I.forEach(j=>{j.progressStart(O,T)}),ge(),Z=O,P||_e(),U(!1,!0,T),r),progressStep:O=>(I.forEach(T=>{T.progressStep(O)}),te(O),r),progressEnd:(O,T,j)=>(Z=!1,I.forEach(D=>{D.progressEnd(O,T,j)}),void 0!==j&&(h=j),k=!1,z=!0,0===O?(n="reverse"===ie()?"normal":"reverse","reverse"===n&&(z=!1),H?(U(),te(1-T)):(m=(1-T)*J()*-1,U(!1,!1))):1===O&&(H?(U(),te(T)):(m=T*J()*-1,U(!1,!1))),void 0===O||v||ye(),r)}}},83549(A,d,_){_.d(d,{c:()=>y});var b=_(48225),o=_(90906),g=_(3787);const y=(p,u)=>{let f,i;const a=(t,c,l)=>{if(typeof document>"u")return;const v=document.elementFromPoint(t,c);v&&u(v)&&!v.disabled?v!==f&&(e(),s(v,l)):e()},s=(t,c)=>{f=t,i||(i=f);const l=f;(0,b.w)(()=>l.classList.add("ion-activated")),c()},e=(t=!1)=>
1{if(!f)return;const c=f;(0,b.w)(()=>c.classList.remove("ion-activated")),t&&i!==f&&f.click(),f=void 0};return(0,g.createGesture)({el:p,gestureName:"buttonActiveDrag",threshold:0,onStart:t=>a(t.currentX,t.currentY,o.b),onMove:t=>a(t.currentX,t.currentY,o.a),onEnd:()=>{e(!0),(0,o.h)(),i=void 0}})}},16780(A,d,_){_.d(d,{g:()=>o});var b=_(99596);const o=()=>{if(void 0!==b.w)return b.w.Capacitor}},47620(A,d,_){_.d(d,{c:()=>b,i:()=>o});const b=(g,y,p)=>"function"==typeof p?p(g,y):"string"==typeof p?g[p]===y[p]:Array.isArray(y)?y.includes(g):g===y,o=(g,y,p)=>void 0!==g&&(Array.isArray(g)?g.some(u=>b(u,y,p)):b(g,y,p))},86090(A,d,_){_.d(d,{startFocusVisible:()=>y});const b="ion-focused",g=["Tab","ArrowDown","Space","Escape"," ","Shift","Enter","ArrowLeft","ArrowRight","ArrowUp","Home","End"],y=p=>{let u=[],f=!0;const i=p?p.shadowRoot:document,a=p||document.body,s=n=>{u.forEach(h=>h.classList.remove(b)),n.forEach(h=>h.classList.add(b)),u=n},e=()=>{f=!1,s([])},t=n=>{f=g.includes(n.key),f||s([])},c=n=>{if(f&&void 0!==n.composedPath){const h=n.composedPath().filter(m=>!!m.classList&&m.classList.contains("ion-focusable"));s(h)}},l=()=>{i.activeElement===a&&s([])};return i.addEventListener("keydown",t),i.addEventListener("focusin",c),i.addEventListener("focusout",l),i.addEventListener("touchstart",e,{passive:!0}),i.addEventListener("mousedown",e),{destroy:()=>{i.removeEventListener("keydown",t),i.removeEventListener("focusin",c),i.removeEventListener("focusout",l),i.removeEventListener("touchstart",e),i.removeEventListener("mousedown",e)},setFocus:s}}},90906(A,d,_){_.d(d,{I:()=>o,a:()=>i,b:()=>f,c:()=>u,d:()=>s,h:()=>a});var b=_(16780),o=function(e){return e.Heavy="HEAVY",e.Medium="MEDIUM",e.Light="LIGHT",e}(o||{});const y={getEngine(){const e=(0,b.g)();if(e?.isPluginAvailable("Haptics"))return e.Plugins.Haptics},available(){if(!this.getEngine())return!1;const t=(0,b.g)();return"web"!==t?.getPlatform()||typeof navigator<"u"&&void 0!==navigator.vibrate},impact(e){const t=this.getEngine();t&&t.impact({style:e.style})},notification(e){const t=this.getEngine();t&&t.notification({type:e.type})},selection(){this.impact({style:o.Light})},selectionStart(){const e=this.getEngine();e&&e.selectionStart()},selectionChanged(){const e=this.getEngine();e&&e.selectionChanged()},selectionEnd(){const e=this.getEngine();e&&e.selectionEnd()}},p=()=>y.available(),u=()=>{p()&&y.selection()},f=()=>{p()&&y.selectionStart()},i=()=>{p()&&y.selectionChanged()},a=()=>{p()&&y.selectionEnd()},s=e=>{p()&&y.impact(e)}},18620(A,d,_){_.d(d,{I:()=>u,a:()=>e,b:()=>s,c:()=>p,d:()=>h,e:()=>t,f:()=>c,g:()=>a,h:()=>v,i:()=>i,p:()=>n,r:()=>m,s:()=>l});var b=_(10467),o=_(3418),g=_(48225);const p="ion-content",u=".ion-content-scroll-host",f=`${p}, ${u}`,i=r=>"ION-CONTENT"===r.tagName,a=function(){var r=(0,b.A)(function*(w){return i(w)?(yield new Promise(C=>(0,o.c)(w,C)),w.getScrollElement()):w});return function(C){return r.apply(this,arguments)}}(),s=r=>r.querySelector(u)||r.querySelector(f),e=r=>r.closest(f),t=r=>r.querySelector(u),c=r=>{if(i(r))return r.querySelector("ion-refresher");const w=r.closest(p);if(null===w)return null;const C=t(w);return null!==C&&C.contains(r)?w.querySelector("ion-refresher"):null},l=(r,w)=>i(r)?r.scrollToTop(w):Promise.resolve(r.scrollTo({top:0,left:0,behavior:"smooth"})),v=(r,w,C,M)=>i(r)?r.scrollByPoint(w,C,M):Promise.resolve(r.scrollBy({top:C,left:w,behavior:M>0?"smooth":"auto"})),n=r=>(0,g.t)(r,p),h=r=>{if(i(r)){const C=r.scrollY;return r.scrollY=!1,C}return r.style.setProperty("overflow","hidden"),!0},m=(r,w)=>{i(r)?r.scrollY=w:r.style.removeProperty("overflow")}},19225(A,d,_){_.d(d,{a:()=>b,b:()=>c,c:()=>f,d:()=>l,e:()=>G,f:()=>u,g:()=>v,h:()=>o,i:()=>g,j:()=>M,k:()=>P,l:()=>i,m:()=>e,n:()=>n,o:()=>p,p:()=>s,q:()=>y,r:()=>C,s:()=>B,t:()=>t,u:()=>r,v:()=>w,w:()=>a,x:()=>m,y:()=>h});const b="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M244 400 100 256l144-144M120 256h292' stroke-linecap='square' stroke-miterlimit='10' stroke-width='48px' class='ionicon-fill-none'/></svg>",o="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m112 268 144 144 144-144M256 392V100' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>",g="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M368 64 144 256l224 192z'/></svg>",y="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m64 144 192 224 192-224z'/></svg>",p="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M448 368 256 144 64 368z'/></svg>",u="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M416 128 192 384l-96-96' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",f="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M328 112 184 256l144 144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>",i="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m112 184 144 144 144-144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>",a="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='m136 208 120-104 120 104M136 304l120 104 120-104' class='ionicon-fill-none'/></svg>
1",s="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m184 112 144 144-144 144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>",e="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m184 112 144 144-144 144' stroke-linecap='round' stroke-linejoin='round' stroke-width='48px' class='ionicon-fill-none'/></svg>",t="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='m289.94 256 95-95A24 24 0 0 0 351 127l-95 95-95-95a24 24 0 0 0-34 34l95 95-95 95a24 24 0 1 0 34 34l95-95 95 95a24 24 0 0 0 34-34Z'/></svg>",c="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48m75.31 260.69a16 16 0 1 1-22.62 22.62L256 278.63l-52.69 52.68a16 16 0 0 1-22.62-22.62L233.37 256l-52.68-52.69a16 16 0 0 1 22.62-22.62L256 233.37l52.69-52.68a16 16 0 0 1 22.62 22.62L278.63 256Z'/></svg>",l="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M400 145.49 366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256z'/></svg>",v="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><circle cx='256' cy='256' r='192' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",n="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><circle cx='256' cy='256' r='48'/><circle cx='416' cy='256' r='48'/><circle cx='96' cy='256' r='48'/></svg>",h="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><circle cx='256' cy='256' r='64'/><path d='M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96c-42.52 0-84.33 12.15-124.27 36.11-40.73 24.43-77.63 60.12-109.68 106.07a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416c46.71 0 93.81-14.43 136.2-41.72 38.46-24.77 72.72-59.66 99.08-100.92a32.2 32.2 0 0 0-.1-34.76M256 352a96 96 0 1 1 96-96 96.11 96.11 0 0 1-96 96'/></svg>",m="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448M248 315.85l-51.79-51.79a2 2 0 0 0-3.39 1.69 64.11 64.11 0 0 0 53.49 53.49 2 2 0 0 0 1.69-3.39M264 196.15 315.87 248a2 2 0 0 0 3.4-1.69 64.13 64.13 0 0 0-53.55-53.55 2 2 0 0 0-1.72 3.39'/><path d='M491 273.36a32.2 32.2 0 0 0-.1-34.76c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.68 96a226.5 226.5 0 0 0-71.82 11.79 4 4 0 0 0-1.56 6.63l47.24 47.24a4 4 0 0 0 3.82 1.05 96 96 0 0 1 116 116 4 4 0 0 0 1.05 3.81l67.95 68a4 4 0 0 0 5.4.24 343.8 343.8 0 0 0 67.24-77.4M256 352a96 96 0 0 1-93.3-118.63 4 4 0 0 0-1.05-3.81l-66.84-66.87a4 4 0 0 0-5.41-.23c-24.39 20.81-47 46.13-67.67 75.72a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.39 76.14 98.28 100.65C162.06 402 207.92 416 255.68 416a238.2 238.2 0 0 0 72.64-11.55 4 4 0 0 0 1.61-6.64l-47.47-47.46a4 4 0 0 0-3.81-1.05A96 96 0 0 1 256 352'/></svg>",r="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M80 160h352M80 256h352M80 352h352' stroke-linecap='round' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/></svg>",w="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M64 384h384v-42.67H64Zm0-106.67h384v-42.66H64ZM64 128v42.67h384V128Z'/></svg>",C="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M400 256H112' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",M="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'>
1<path d='M96 256h320M96 176h320M96 336h320' stroke-linecap='round' stroke-linejoin='round' class='ionicon-fill-none ionicon-stroke-width'/></svg>",P="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M118 304h276M118 208h276' stroke-linecap='square' stroke-linejoin='round' stroke-width='44px' class='ionicon-fill-none'/></svg>",B="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M221.09 64a157.09 157.09 0 1 0 157.09 157.09A157.1 157.1 0 0 0 221.09 64Z' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/><path d='M338.29 338.29 448 448' stroke-linecap='round' stroke-miterlimit='10' class='ionicon-fill-none ionicon-stroke-width'/></svg>",G="data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' class='ionicon'><path d='M464 428 339.92 303.9a160.48 160.48 0 0 0 30.72-94.58C370.64 120.37 298.27 48 209.32 48S48 120.37 48 209.32s72.37 161.32 161.32 161.32a160.48 160.48 0 0 0 94.58-30.72L428 464ZM209.32 319.69a110.38 110.38 0 1 1 110.37-110.37 110.5 110.5 0 0 1-110.37 110.37'/></svg>"},7975(A,d,_){_.d(d,{c:()=>y,g:()=>p});var b=_(99596),o=_(3418),g=_(48225);const y=(f,i,a)=>{let s,e;if(void 0!==b.w&&"MutationObserver"in b.w){const v=Array.isArray(i)?i:[i];s=new MutationObserver(n=>{for(const h of n)for(const m of h.addedNodes)if(m.nodeType===Node.ELEMENT_NODE&&v.includes(m.slot))return a(),void(0,o.r)(()=>t(m))}),s.observe(f,{childList:!0,subtree:!0})}const t=v=>{var n;e&&(e.disconnect(),e=void 0),e=new MutationObserver(h=>{a();for(const m of h)for(const r of m.removedNodes)r.nodeType===Node.ELEMENT_NODE&&r.slot===i&&l()}),e.observe(null!==(n=v.parentElement)&&void 0!==n?n:v,{subtree:!0,childList:!0})},l=()=>{e&&(e.disconnect(),e=void 0)};return{destroy:()=>{s&&(s.disconnect(),s=void 0),l()}}},p=(f,i,a)=>{const s=null==f?0:f.toString().length,e=u(s,i);if(void 0===a)return e;try{return a(s,i)}catch(t){return(0,g.j)("[ion-input] - Exception in provided `counterFormatter`:",t),e}},u=(f,i)=>`${f} / ${i}`},63877(A,d,_){_.d(d,{c:()=>o}),_(48225);const o=(g,y,p=["item-multiple-inputs"])=>{const u=g.closest("ion-item");if(!u||typeof MutationObserver>"u")return;const f=()=>p.map(s=>u.classList.contains(s)).join(",");let i=f();const a=new MutationObserver(()=>{const s=f();s!==i&&(i=s,y())});return a.observe(u,{attributes:!0,attributeFilter:["class"]}),a}},19043(A,d,_){_.d(d,{K:()=>y,a:()=>g});var b=_(16780),o=function(p){return p.Unimplemented="UNIMPLEMENTED",p.Unavailable="UNAVAILABLE",p}(o||{}),g=function(p){return p.Body="body",p.Ionic="ionic",p.Native="native",p.None="none",p}(g||{});const y={getEngine(){const p=(0,b.g)();if(p?.isPluginAvailable("Keyboard"))return p.Plugins.Keyboard},getResizeMode(){const p=this.getEngine();return p?.getResizeMode?p.getResizeMode().catch(u=>{if(u.code!==o.Unimplemented)throw u}):Promise.resolve(void 0)}}},81148(A,d,_){_.d(d,{c:()=>u});var b=_(10467),o=_(99596),g=_(19043);const y=f=>void 0===o.d||f===g.a.None||void 0===f?null:o.d.querySelector("ion-app")??o.d.body,p=f=>{const i=y(f);return null===i?0:i.clientHeight},u=function(){var f=(0,b.A)(function*(i){let a,s,e,t;const c=function(){var m=(0,b.A)(function*(){const r=yield g.K.getResizeMode(),w=void 0===r?void 0:r.mode;a=()=>{void 0===t&&(t=p(w)),e=!0,l(e,w)},s=()=>{e=!1,l(e,w)},null==o.w||o.w.addEventListener("keyboardWillShow",a),null==o.w||o.w.addEventListener("keyboardWillHide",s)});return function(){return m.apply(this,arguments)}}(),l=(m,r)=>{i&&i(m,v(r))},v=m=>{if(0===t||t===p(m))return;const r=y(m);return null!==r?new Promise(w=>{const M=new ResizeObserver(()=>{r.clientHeight===t&&(M.disconnect(),w())});M.observe(r)}):void 0};return yield c(),{init:c,destroy:()=>{null==o.w||o.w.removeEventListener("keyboardWillShow",a),null==o.w||o.w.removeEventListener("keyboardWillHide",s),a=s=void 0},isKeyboardVisible:()=>e}});return function(a){return f.apply(this,arguments)}}()},13224(A,d,_){_.d(d,{Z1:()=>y,startKeyboardAssist:()=>e});var b=_(19043);_(16780),_(99596);const y="ionKeyboardDidShow";let f={},i={},a=!1;const e=M=>{if(b.K.getEngine())t(M);
1else{if(!M.visualViewport)return;i=C(M.visualViewport),M.visualViewport.onresize=()=>{w(M),v()||n(M)?c(M):h(M)&&l(M)}}},t=M=>{M.addEventListener("keyboardDidShow",P=>c(M,P)),M.addEventListener("keyboardDidHide",()=>l(M))},c=(M,P)=>{m(M,P),a=!0},l=M=>{r(M),a=!1},v=()=>!a&&f.width===i.width&&(f.height-i.height)*i.scale>150,n=M=>a&&!h(M),h=M=>a&&i.height===M.innerHeight,m=(M,P)=>{const G=new CustomEvent(y,{detail:{keyboardHeight:P?P.keyboardHeight:M.innerHeight-i.height}});M.dispatchEvent(G)},r=M=>{const P=new CustomEvent("ionKeyboardDidHide");M.dispatchEvent(P)},w=M=>{f=Object.assign({},i),i=C(M.visualViewport)},C=M=>({width:Math.round(M.width),height:Math.round(M.height),offsetTop:M.offsetTop,offsetLeft:M.offsetLeft,pageTop:M.pageTop,pageLeft:M.pageLeft,scale:M.scale})},87930(A,d,_){_.d(d,{c:()=>o});var b=_(10467);const o=()=>{let g;return{lock:function(){var p=(0,b.A)(function*(){const u=g;let f;return g=new Promise(i=>f=i),void 0!==u&&(yield u),f});return function(){return p.apply(this,arguments)}}()}}},66538(A,d,_){_.d(d,{c:()=>g});var b=_(99596),o=_(3418);const g=(y,p,u)=>{let f;const i=()=>!(void 0===p()||void 0!==y.label||null===u()),s=()=>{const t=p();if(void 0===t)return;if(!i())return void t.style.removeProperty("width");const c=u().scrollWidth;if(0===c&&null===t.offsetParent&&void 0!==b.w&&"IntersectionObserver"in b.w){if(void 0!==f)return;const l=f=new IntersectionObserver(v=>{1===v[0].intersectionRatio&&(s(),l.disconnect(),f=void 0)},{threshold:.01,root:y});return void l.observe(t)}t.style.setProperty("width",.75*c+"px")};return{calculateNotchWidth:()=>{i()&&(0,o.r)(()=>{s()})},destroy:()=>{f&&(f.disconnect(),f=void 0)}}}},17764(A,d,_){_.d(d,{S:()=>o});const o={bubbles:{dur:1e3,circles:9,fn:(g,y,p)=>{const u=g*y/p-g+"ms",f=2*Math.PI*y/p;return{r:5,style:{top:32*Math.sin(f)+"%",left:32*Math.cos(f)+"%","animation-delay":u}}}},circles:{dur:1e3,circles:8,fn:(g,y,p)=>{const u=y/p,f=g*u-g+"ms",i=2*Math.PI*u;return{r:5,style:{top:32*Math.sin(i)+"%",left:32*Math.cos(i)+"%","animation-delay":f}}}},circular:{dur:1400,elmDuration:!0,circles:1,fn:()=>({r:20,cx:48,cy:48,fill:"none",viewBox:"24 24 48 48",transform:"translate(0,0)",style:{}})},crescent:{dur:750,circles:1,fn:()=>({r:26,style:{}})},dots:{dur:750,circles:3,fn:(g,y)=>({r:6,style:{left:32-32*y+"%","animation-delay":-110*y+"ms"}})},lines:{dur:1e3,lines:8,fn:(g,y,p)=>({y1:14,y2:26,style:{transform:`rotate(${360/p*y+(y<p/2?180:-180)}deg)`,"animation-delay":g*y/p-g+"ms"}})},"lines-small":{dur:1e3,lines:8,fn:(g,y,p)=>({y1:12,y2:20,style:{transform:`rotate(${360/p*y+(y<p/2?180:-180)}deg)`,"animation-delay":g*y/p-g+"ms"}})},"lines-sharp":{dur:1e3,lines:12,fn:(g,y,p)=>({y1:17,y2:29,style:{transform:`rotate(${30*y+(y<6?180:-180)}deg)`,"animation-delay":g*y/p-g+"ms"}})},"lines-sharp-small":{dur:1e3,lines:12,fn:(g,y,p)=>({y1:12,y2:20,style:{transform:`rotate(${30*y+(y<6?180:-180)}deg)`,"animation-delay":g*y/p-g+"ms"}})}}},35218(A,d,_){_.d(d,{c:()=>b});const b=o=>{const g=o.classList.contains("ion-touched"),y=o.classList.contains("ion-invalid");return g&&y}},94211(A,d,_){_.d(d,{w:()=>b});const b=(y,p,u)=>{if(typeof MutationObserver>"u")return;const f=new MutationObserver(i=>{u(o(i,p))});return f.observe(y,{childList:!0,subtree:!0}),f},o=(y,p)=>{let u;return y.forEach(f=>{for(let i=0;i<f.addedNodes.length;i++)u=g(f.addedNodes[i],p)||u}),u},g=(y,p)=>{if(1!==y.nodeType)return;const u=y;return(u.tagName===p.toUpperCase()?[u]:Array.from(u.querySelectorAll(p))).find(i=>i.value===u.value)}},22476(A,d,_){var b=_(29293).default,o=this&&this.__createBinding||(Object.create?function(r,w,C,M){void 0===M&&(M=C);var P=Object.getOwnPropertyDescriptor(w,C);(!P||("get"in P?!w.__esModule:P.writable||P.configurable))&&(P={enumerable:!0,get:function(){return w[C]}}),Object.defineProperty(r,M,P)}:function(r,w,C,M){void 0===M&&(M=C),r[M]=w[C]}),g=this&&this.__setModuleDefault||(Object.create?function(r,w){Object.defineProperty(r,"default",{enumerable:!0,value:w})}:function(r,w){r.default=w}),y=this&&this.__importStar||function(){var r=function(w){return(r=Object.getOwnPropertyNames||function(C){var M=[];for(var P in C)Object.prototype.hasOwnProperty.call(C,P)&&(M[M.length]=P);return M})(w)};return function(w){if(w&&w.__esModule)return w;var C={};if(null!=w)for(var M=r(w),P=0;P<M.length;P++)"default"!==M[P]&&o(C,w,M[P]);return g(C,w),C}}();Object.defineProperty(d,"__esModule",{value:!0}),d.HomeComponent=void 0;const p=_(37854),u=_(7901),f=_(84341),i=_(60177),a=_(11020),s=_(2338),e=_(39633),t=y(_(49849)),c=y(_(7901)),l=y(_(11020)),v=y(_(2338)),n=["cd"],h=r=>[r];let m=(()=>{class r{user;url_prova;started;inicio;countdown_config;countdown;listeners=[];constructor(){this.countdown_config={notify:0}}ngAfterViewInit(){this.init_countdown()}init_countdown(){var C=this;this.listeners.push(this.countdown.event.subscribe(function(){var M=b(function*(P){console.log(P),"done"==P.action&&(C.started=!0)});return function(P){return M.apply(this,arguments)}}()))}ngOnDestroy(){for(let C of this.listeners)C.unsubscribe()}ngOnInit(){var C=this;return b(function*(){C.countdown_config={leftTime:C.inicio,notify:1},C.started=C.countdown_config.leftTime<=0})()}static \u0275fac=function(M){return new(M||r)};static \u0275cmp=t.\u0275\u0275defineComponent({type:r,selectors:[["home-prova"]],viewQuery:function(M,P){if(1&M&&t.\u0275\u0275viewQuery(n,5),2&M){let B;t.\u0275\u0275queryRefresh(B=t.\u0275\u0275loadQuery())&&(P.countdown=B.first)}},inputs:{user:"user",url_prova:"url_prova",inicio:"inicio"},decls:27,vars:8,consts:[["cd",""],[1,"container"],[1,"card"],[1,"bg","shadow"],[1,"content","ion-padding"],[1,"primary"],[1,"content"],[3,"config"],["styleClass","btn-prova",3,"disabled","rounded","routerLink"]],template:function(M,P){1&M&&(t.\u0275\u0275elementStart(0,"div",1)(1,"div",2)(2,"div",3)(3,"div",4)(4,"h1",5),t.\u0275\u0275text(5),t.\u0275\u0275elementEnd()(),t.\u0275\u0275element(6,"p-divider"),t.\u0275\u0275elementStart(7,"div",4)(8,"div")(9,"span",5),t.\u0275\u0275text(10," Inscri\xe7\xe3o "),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(11,"strong"),t.\u0275\u0275text(12),t.\u0275\u0275elementEnd()(),t.\u0275\u0275elementStart(13,"div")(14,"span",5),t.\u0275\u0275text(15,"Situa\xe7\xe3o"),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(16,"strong"),t.\u0275\u0275text(17," Inscri\xe7\xe3o Efetivada "),t.\u0275\u0275elementEnd()()(),t.\u0275\u0275element(18,"p-divider"),t.\u0275\u0275elementStart(19,"div",6),t.\u0275\u0275element(2
10,"info-instrucoes"),t.\u0275\u0275elementStart(21,"span"),t.\u0275\u0275text(22," Prova liberada em: "),t.\u0275\u0275element(23,"countdown",7,0),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(25,"p-button",8),t.\u0275\u0275text(26," INICIAR PROVA ON-LINE "),t.\u0275\u0275elementEnd()()()()()),2&M&&(t.\u0275\u0275advance(5),t.\u0275\u0275textInterpolate1(" ",null==P.user?null:P.user.titulo_prova," "),t.\u0275\u0275advance(7),t.\u0275\u0275textInterpolate1(" ",null==P.user?null:P.user.inscricao," "),t.\u0275\u0275advance(11),t.\u0275\u0275property("config",P.countdown_config),t.\u0275\u0275advance(2),t.\u0275\u0275property("disabled",!P.started)("rounded",!0)("routerLink",t.\u0275\u0275pureFunction1(6,h,P.url_prova)))},dependencies:[i.CommonModule,f.FormsModule,p.CountdownComponent,u.RouterModule,c.RouterLink,a.ButtonModule,l.Button,s.DividerModule,v.Divider,e.InstrucoesComponent],styles:[".large-alert[_ngcontent-%COMP%]{--max-width: 90vw;--min-width: 65vw}.error-alert[_ngcontent-%COMP%]{--max-height: 320px}.title[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;-moz-column-gap:2em;column-gap:2em}.title[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:200px}@media(max-width:430px){.title[_ngcontent-%COMP%]{justify-content:center}}[_nghost-%COMP%]{background-image:url(/assets/imgs/BG_Principal.png);background-size:cover;height:auto;min-width:-webkit-fill-available;min-width:-moz-available;min-width:stretch}.no-padding[_ngcontent-%COMP%]{padding:0}ion-header[_ngcontent-%COMP%]{background:var(--background)!important}.shadow[_ngcontent-%COMP%]{--box-shadow: 5px 6px 4px 5px rgba(0, 0, 0, .3);
1box-shadow:var(--box-shadow);-webkit-box-shadow:var(--box-shadow);-moz-box-shadow:var(--box-shadow);border-radius:30px;--border-radius: 30px}.transparent[_ngcontent-%COMP%]{background:transparent;--background: transparent}p-inputmask[_ngcontent-%COMP%]{width:100%;--padding-start: 0}.p-inputtext[_ngcontent-%COMP%]:enabled:focus{box-shadow:unset}.header[_ngcontent-%COMP%]{margin-bottom:20px}.clickable[_ngcontent-%COMP%]{cursor:pointer}.acessibility[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:baseline;-moz-column-gap:10px;column-gap:10px;flex-wrap:wrap}.title[_ngcontent-%COMP%]{color:var(--primary-prova);text-transform:uppercase;font-weight:600}.sub-title[_ngcontent-%COMP%]{color:var(--secondary-prova)}.primary[_ngcontent-%COMP%]{color:var(--primary-prova)}.secondary[_ngcontent-%COMP%]{color:var(--secondary-prova)}.selected[_ngcontent-%COMP%]{font-weight:700;color:#fff}.danger[_ngcontent-%COMP%]{color:var(--alert-prova)}.x1[_ngcontent-%COMP%]{font-size:1rem!important}.x1[_ngcontent-%COMP%]    {font-size:1rem!important}.x1[_ngcontent-%COMP%]     .overflow{overflow-x:auto}.x1[_ngcontent-%COMP%]     .overflow img{max-width:500px}.x1[_ngcontent-%COMP%]     .alternativas img{max-width:150px}.x2[_ngcontent-%COMP%]{font-size:1.3rem!important}.x2[_ngcontent-%COMP%]    {font-size:1.3rem!important}.x2[_ngcontent-%COMP%]     .overflow{overflow-x:auto}.x2[_ngcontent-%COMP%]     .overflow img{max-width:600px}.x2[_ngcontent-%COMP%]     .alternativas img{max-width:250px}.x3[_ngcontent-%COMP%]{font-size:1.6rem!important}.x3[_ngcontent-%COMP%]    {font-size:1.6rem!important}.x3[_ngcontent-%COMP%]     .overflow{overflow-x:auto}.x3[_ngcontent-%COMP%]     .overflow img{max-width:700px}.x3[_ngcontent-%COMP%]     .alternativas img{max-width:300px}.x4[_ngcontent-%COMP%]{font-size:1.9rem!important}.x4[_ngcontent-%COMP%]    {font-size:1.9rem!important}.x5[_ngcontent-%COMP%]{font-size:2.2rem!important}.x5[_ngcontent-%COMP%]    {font-size:2.2rem!important}",".container[_ngcontent-%COMP%]{padding:1em 3em;display:flex;flex-direction:column;row-gap:2em}.bg[_ngcontent-%COMP%]{background-color:#fff;padding-left:6em;padding-bottom:2em;position:relative}.list-md[_ngcontent-%COMP%]{border-radius:15px}.card[_ngcontent-%COMP%]{display:flex;flex-direction:column;background:transparent}.content[_ngcontent-%COMP%]{max-width:65vw;display:flex;flex-direction:column;row-gap:1em}ion-item-divider[_ngcontent-%COMP%]{margin-bottom:1em}.image[_ngcontent-%COMP%]{position:absolute;z-index:100;right:3em;top:30em}ion-item[_ngcontent-%COMP%]{--background: transparent}.card-header[_ngcontent-%COMP%]{padding:1em;color:#fff;font-size:20px}.selected[_ngcontent-%COMP%]{--background: var(--ion-color-primary)}.card-body[_ngcontent-%COMP%]{display:flex;flex-direction:column;row-gap:.5em;padding:1em}@media(max-width:1100px){.image[_ngcontent-%COMP%]{display:none}.content[_ngcontent-%COMP%]{max-width:unset;padding:0}.container[_ngcontent-%COMP%]{padding:1em}}@media(max-width:1440px){.bg[_ngcontent-%COMP%]{padding-left:2em;padding-right:1em}.image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:350px}}@media(max-width:500px){h1[_ngcontent-%COMP%]{font-size:2.3rem;margin-top:1em;text-align:center}}"]})}return r})();d.HomeComponent=m},85113(A,d,_){var b=this&&this.__createBinding||(Object.create?function(m,r,w,C){void 0===C&&(C=w);var M=Object.getOwnPropertyDescriptor(r,w);(!M||("get"in M?!r.__esModule:M.writable||M.configurable))&&(M={enumerable:!0,get:function(){return r[w]}}),Object.defineProperty(m,C,M)}:function(m,r,w,C){void 0===C&&(C=w),m[C]=r[w]}),o=this&&this.__setModuleDefault||(Object.create?function(m,r){Object.defineProperty(m,"default",{enumerable:!0,value:r})}:function(m,r){m.default=r}),g=this&&this.__importStar||function(){var m=function(r){return(m=Object.getOwnPropertyNames||function(w){var C=[];for(var M in w)Object.prototype.hasOwnProperty.call(w,M)&&(C[C.length]=M);return C})(r)};return function(r){if(r&&r.__esModule)return r;var w={};if(null!=r)for(var C=m(r),M=0;M<C.length;M++)"default"!==C[M]&&b(w,r,C[M]);return o(w,r),w}}();Object.defineProperty(d,"__esModule",{value:!0}),d.MetadataQuestoesComponent=void 0;const y=_(60177),p=_(84341),u=_(13345),f=_(25874),i=g(_(49849)),a=g(_(60177)),s=g(_(84341)),e=g(_(13345)),t=g(_(25874));function c(m,r){if(1&m){const w=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"p-select",6),i.\u0275\u0275twoWayListener("ngModelChange",function(M){i.\u0275\u0275restoreView(w);const P=i.\u0275\u0275nextContext(2).$implicit,B=i.\u0275\u0275nextContext();return i.\u0275\u0275twoWayBindingSet(B.form["id-"+P.id],M)||(B.form["id-"+P.id]=M),i.\u0275\u0275resetVie
1w(M)}),i.\u0275\u0275listener("ngModelChange",function(){i.\u0275\u0275restoreView(w);const M=i.\u0275\u0275nextContext(2).$implicit,P=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(P.filter_options(M))}),i.\u0275\u0275elementEnd()}if(2&m){const w=i.\u0275\u0275nextContext(2).$implicit,C=i.\u0275\u0275nextContext();i.\u0275\u0275property("name",i.\u0275\u0275interpolate1("campo-",w.title))("filter",!0)("showClear",!0),i.\u0275\u0275twoWayProperty("ngModel",C.form["id-"+w.id]),i.\u0275\u0275property("options",w.available_options)}}function l(m,r){if(1&m){const w=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"p-multiSelect",7),i.\u0275\u0275twoWayListener("ngModelChange",function(M){i.\u0275\u0275restoreView(w);const P=i.\u0275\u0275nextContext(2).$implicit,B=i.\u0275\u0275nextContext();return i.\u0275\u0275twoWayBindingSet(B.form["id-"+P.id],M)||(B.form["id-"+P.id]=M),i.\u0275\u0275resetView(M)}),i.\u0275\u0275listener("ngModelChange",function(){i.\u0275\u0275restoreView(w);const M=i.\u0275\u0275nextContext(2).$implicit,P=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(P.filter_options(M))}),i.\u0275\u0275elementEnd()}if(2&m){const w=i.\u0275\u0275nextContext(2).$implicit,C=i.\u0275\u0275nextContext();i.\u0275\u0275property("name",i.\u0275\u0275interpolate1("campo-",w.title))("filter",!0)("selectionLimit",w.max_options),i.\u0275\u0275twoWayProperty("ngModel",C.form["id-"+w.id]),i.\u0275\u0275property("options",w.available_options)}}function v(m,r){if(1&m&&(i.\u0275\u0275elementStart(0,"div",3)(1,"label"),i.\u0275\u0275text(2),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(3,c,1,6,"p-select",4)(4,l,1,6,"p-multiSelect",5),i.\u0275\u0275elementEnd()),2&m){const w=i.\u0275\u0275nextContext().$implicit;i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(w.title),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",1===w.max_options),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",1!==w.max_options)}}function n(m,r){if(1&m&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275template(1,v,5,3,"div",2),i.\u0275\u0275elementContainerEnd()),2&m){const w=r.$implicit,C=i.\u0275\u0275nextContext();i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",C.is_available(w))}}d.MetadataQuestoesComponent=(()=>{class m{form={};metadata=[];area;set_options(){for(let w of this.metadata)w.available_options=JSON.parse(JSON.stringify(w.options))}filter_options(w){for(let C of this.metadata)w.id==C.parent_id&&(C.available_options=C.options.filter(M=>M.parent_ids.includes(this.form["id-"+w.id])))}is_available(w){return w.areas.includes(this.area)&&(!w.parent_id||this.form["id-"+w.parent_id])}static \u0275fac=function(C){return new(C||m)};static \u0275cmp=i.\u0275\u0275defineComponent({type:m,selectors:[["metadata-questoes"]],inputs:{form:"form",metadata:"metadata",area:"area"},decls:2,vars:1,consts:[["name","MATRIZ"],[4,"ngFor","ngForOf"],["class","form-group",4,"ngIf"],[1,"form-group"],["placeholder","Selecione","appendTo","body","styleClass","form-control","optionValue","id","optionLabel","title",3,"filter","showClear","name","ngModel","options","ngModelChange",4,"ngIf"],["placeholder","Selecione","appendTo","body","styleClass","form-control","optionValue","id","optionLabel","title",3,"filter","selectionLimit","name","ngModel","options","ngModelChange",4,"ngIf"],["placeholder","Selecione","appendTo","body","styleClass","form-control","optionValue","id","optionLabel","title",3,"ngModelChange","filter","showClear","name","ngModel","options"],["placeholder","Selecione","appendTo","body","styleClass","form-control","optionValue","id","optionLabel","title",3,"ngModelChange","filter","selectionLimit","name","ngModel","options"]],template:function(C,M){1&C&&(i.\u0275\u0275elementStart(0,"section",0),i.\u0275\u0275template(1,n,2,1,"ng-container",1),i.\u0275\u0275elementEnd()),2&C&&(i.\u0275\u0275advance(),i.\u0275\u0275property("ngForOf",M.metadata))},dependencies:[y.CommonModule,a.NgForOf,a.NgIf,p.FormsModule,s.NgControlStatus,s.NgModel,u.SelectModule,e.Select,f.MultiSelectModule,t.MultiSelect],encapsulation:2})}return m})()},3711(A,d,_){var b=this&&this.__createBinding||(Object.create?function(f,i,a,s){void 0===s&&(s=a);var e=Object.getOwnPropertyDescriptor(i,a);(!e||("get"in e?!i.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return i[a]}}),Object.defineProperty(f,s,e)}:function(f,i,a,s){void 0===s&&(s=a),f[s]=i[a]}),o=this&&this.__setModuleDefault||(Object.create?function(f,i){Object.defineProperty(f,"default",{enumerable:!0,value:i})}:function(f,i){f.default=i}),g=this&&this.__importStar||function(){var f=function(i){return(f=Object.getOwnPropertyNames||function(a){var s=[];for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&(s[s.length]=e);return s})(i)};return function(i){if(i&&i.__esModule)return i;var a={};if(null!=i)for(var s=f(i),e=0;e<s.length;e++)"default"!==s[e]&&b(a,i,s[e]);return o(a,i),a}}();Object.defineProperty(d,"__esModule",{value:!0}),d.TawktoComponent=void 0;const y=_(60177),p=g(_(49849));d.TawktoComponent=(()=>{class f{_renderer;_document;id;constructor(a,s){this._renderer=a,this._document=s}ngOnInit(){const a=this._renderer.createElement("script");a.text=`var Tawk_API = Tawk_API || {}, Tawk_LoadStart = new Date();\n    (function () {\n      var s1 = document.createElement("script"), s0 = document.getElementsByTagName("script")[0];\n      s1.async = true;\n      s1.src = 'https://embed.tawk.to/${this.id}/default';\n      s1.charset = 'UTF-8';\n      s1.setAttribute('crossorigin', '*');\n      s0.parentNode.insertBefore(s1, s0);\n    })();`,this._renderer.appendChild(this._document.body,a)}static \u0275fac=function(s){return new(s||f)(p.\u0275\u0275directiveInject(p.Renderer2),p.\u0275\u0275directiveInject(y.DOCUMENT))};static \u0275cmp=p.\u0275\u0275defineComponent({type:f,selectors:[["ngx-tawk"]],inputs:{id:"id"},standalone:!1,decls:0,vars:0,template:function(s,e){},encapsulation:2})}return f})()},28574(A,d,_){var b=this&&this.__createBinding||(Object.create?function(f,i,a,s){void 0===s&&(s=a);var e=Object.getOwnPropertyDescriptor(i,a);(!e||("get"in e?!i.__esModule:e.writable||e.configurable))&&(e={enumerable:!0,get:function(){return i[a]}}),Object.defineProperty(f,s,e)}:function(f,i,a,s){void 0===s&&(s=a),f[s]=i[a]}),o=this&&this.__setModuleDefault||(Object.create?function(f,i){Object.defineProperty(f,"default",{enumerable:!0,value:i})}:function(f,i){f.default=i}),g=this&&this.__importStar||function(){var f=function(i){return(f=Object.getOwnPropertyNames||function(a){var s=[];for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&(s[s.length]=e);return s})(i)};return function(i){if(i&&i.__esModule)return i;var a={};if(null!=i)for(var s=f(i),e=0;e<s.length;e++)"default"!==s[e]&&b(a,i,s[e]);return o(a,i),a}}();Object.defineProperty(d,"__esModule",{value:!0}),d.TawktoModule=void 0;const y=_(3711),p=g(_(49849));d.TawktoModule=(()=>{class f{static \u0275fac=function(s){return new(s||f)};static \u0275mod=p.\u0275\u0275defineNgModule({type:f,bootstrap:[y.TawktoComponent]});static \u0275inj=p.\u0275\u0275defineInjector({})}return f})()},72589(A,d,_){Object.defineProperty(d,"__esModule",{value:!0}),d.VoteList=d.Votes=d.Appeal=d.CandidateStatus=d.Candidate=d.Election=void 0;const b=_(14765);d.Election=class o extends b.Form{id;open_date;close_date;title;description;positions;restrictions;edital;apply_limit;constructor(){super(),this.positions=[],this.description="",this.title="",this.close_date="",this.open_date="",this.restrictions={}}setup(e){this.id=e.id,this.open_date=e.open_date,this.close_date=e.close_date,this.title=e.title,this.description=e.description,this.apply_limit=e.apply_limit,this.edital=e.edital;for(let t=0;t<e.positions.length;t++){let c=new g;c.associates=e.positions[t].associates,c.available=e.positions[t].available,c.id=e.positions[t].position_id,c.votes=e.positions[t].maximum_votes,c.is_new=!1,this.positions.push(c)}this.restrictions={admission:e.admission,region:e.regions}}add_position(){this.positions.push(new g)}remove_position(e){this.positions.splice(e,1);let t=this.positions;this.positions=new Array,this.positions=t}};class g{id;available;associates;votes;is_new;constructor(){this.id=null,this.available=null,this.associates=[],this.votes=1,this.is_new=!0}}d.Candidate=class p extends b.Form{associate_name;position_id;position_name;election_id;associate_id;category;associate_status;region;admission_date;region_date;status;reason;appeals;last_appeal;constructor(){super()}setup(e){this.associate_name=e.associate_name,this.position_id=e.position_id,this.position_name=e.position_name,this.election_id=e.election_id,this.associate_id=e.associate_id,this.category=e.category,this.associate_status=e.associate_status,this.region=e.region,this.admission_date=e.admission_date,this.region_date=e.region_date,this.status=e.status,this.reason=e.reason,this.appeals=JSON.parse(e.appeals),this.appeals.length&&(this.last_appeal=this.appeals[this.appeals.length-1])}},d.CandidateStatus=class u{ENVIADO=1;APROVADO=2;REPROVADO=3;RECURSO=4;RECURSO_REJEITADO=5;text(e){return e?e==this.ENVIADO?"Candidatura Submetida":e==this.APROVADO?"Candidatura Aprovada":e==this.REPROVADO?"Candidatura Reprovada":e==this.RECURSO?"Recurso Submetido":e==this.RECURSO_REJEITADO?"Recurso Rejeitado":void 0:""}},d.Appeal=class f extends b.Form{file;reason;item;constructor(){super(),this.validations.file=new b.Validation,this.validations.reason=new b.Validation,this.file={path:null,file:null}}setup(e){this.item=e}
1handle_file(e){const t=e.target.files,c=t[0];if(t&&c){const l=new FileReader;this.file.path=c.name,l.onload=this._handle_reader_loaded.bind(this),l.readAsDataURL(c)}else this.validate_file()}_handle_reader_loaded(e){this.file.file=e.target.result,this.validate_file()}validate_file(){const e=this.validations.file;return e.clear(),!!(this.file.file&&this.file.file.length>0)||(e.add_message("Selecione um arquivo"),!1)}get_values(){let e=JSON.parse(JSON.stringify(this));return delete e.validation,e}},d.Votes=class i extends b.Form{election_id;positions;constructor(){super(),this.positions=[]}setup(e){this.election_id=e.id;for(let t=0;t<e.positions.length;t++)this.positions.push({id:e.positions[t].id,candidates:[]})}},d.VoteList=class a{id;positions;title;close}},74966(A,d,_){Object.defineProperty(d,"__esModule",{value:!0}),d.Types=d.Metadata=d.Matriz=void 0;const b=_(14765);d.Matriz=class o extends b.Form{id;title;areas=[];setup(u){this.id=u.id,this.title=u.title;let f="string"==typeof u.areas?JSON.parse(u.areas):u.areas;this.areas=[];for(let i of f){let a={id:i.id,title:i.title,metadata:[]};for(let s of i.metadata){let e=new g;e.setup(s),a.metadata.push(e)}this.areas.push(a)}}};class g extends b.Form{id;title;type_id;type;options;available_options;areas;parent_id;last_option;max_options;custom_order;used=!1;constructor(){super(),this.parent_id=null,this.options=[],this.last_option=0,this.max_options=1}add_option(){this.last_option++,this.options.push({id:this.last_option,title:"",uses:0,parent_ids:[],custom_order:0})}remove_option(u){this.options.splice(u,1)}setup(u){this.last_option=0,this.id=u.id,this.title=u.title,this.options="string"==typeof u.options?JSON.parse(u.options):u.options,this.options||(this.options=[]);for(let i of this.options)i.id>this.last_option&&(this.last_option=i.id);this.areas="string"==typeof u.areas?JSON.parse(u.areas):u.areas,this.areas||(this.areas=[]),this.parent_id=u.parent_id,this.max_options=u.max_options,this.custom_order=u.custom_order;let f=new y;this.type_id=this.parent_id?f.SECUNDARIO:f.PRINCIPAL,this.type=this.parent_id?"Secund\xe1rio":"Principal",this.used=u.used}get_values(){let u=super.get_values();return(new y).PRINCIPAL===this.type_id&&(u.parent_id=null),u}}d.Metadata=g;class y{PRINCIPAL=1;SECUNDARIO=2;list=[{value:this.PRINCIPAL,label:"Principal"},{value:this.SECUNDARIO,label:"Secundario"}]}d.Types=y},39050(A,d,_){Object.defineProperty(d,"__esModule",{value:!0}),d.SubEventType=d.Proposals=d.SubEvents=void 0;const b=_(14765);d.SubEvents=class o extends b.Form{description;id;event_id;price;title;vacancies;type;room;start_time;end_time;start_date;hours;speaker;video;display_time;restrictions;setup(u){this.description=u.description,this.id=u.id,this.event_id=u.event_id,this.price=u.price/100,this.title=u.title,this.vacancies=u.max_vacancies,this.type=u.type_id,this.room=u.room,this.start_time=u.start_time,this.end_time=u.end_time,this.start_date=u.start_date,this.hours=u.hours,this.speaker=u.speaker,this.video=u.video,this.restrictions=u.restrictions,this.display_time=u.display_time}initial_validation(){super.initial_validation(),this.validations.title=new b.Validation,this.validations.vacancies=new b.Validation,this.validations.description=new b.Validation,this.validations.room=new b.Validation,this.validations.price=new b.Validation,this.validations.start_time=new b.Validation,this.validations.end_time=new b.Validation,this.validations.start_date=new b.Validation}validate_all(){super.validate_all()}constructor(){super(),this.initial_validation(),this.start_time="00:00:00",this.end_time="00:00:00",this.restrictions=[]}get_values(){let u=super.get_values();return u.price=100*this.price,u}},d.Proposals=class g extends b.Form{id;event_id;sub_event_id;proposal;is_open;restrictions;setup(u){this.id=u.id,this.event_id=u.event_id,this.sub_event_id=u.sub_event_id,this.proposal=u.proposal,this.is_open=u.is_open,"string"==typeof u.restrictions&&(this.restrictions=JSON.parse(u.restrictions)),this.restrictions=u.restrictions}constructor(){super(),this.restrictions=[],this.is_open=!1,this.proposal=""}};var y=function(p){return p[p.OUTROS=10]="OUTROS",p[p.LIVE=21]="LIVE",p}(y||(d.SubEventType=y={}))},70853(A,d,_){Object.defineProperty(d,"__esModule",{value:!0}),d.Evaluation=d.EvaluationScores=d.FinalSubmissions=d.Themes=d.SubmissionsTemplate=d.Submissions=d.SubmissionTypes=d.SubmissionType=d.SubmissionUser=d.Appraisers=d.AppraiserTypes=void 0;const b=_(89377),o=_(27321),g=_(14765);d.AppraiserTypes=class y{ONLINE=1;PRESENCIAL=2;AMBOS=3;list=[new g.ModelItem(this.ONLINE,"Online"),new g.ModelItem(this.PRESENCIAL,"Presencial"),new g.ModelItem(this.AMBOS,"Ambos")]},d.Appraisers=class p extends g.Form{users;event_id;theme_id;constructor(){super(),this.users=[]}get_values(){let n=[];for(let h=0;h<this.users.length;h++)n.push({id:this.users[h].id,coordenator:this.users[h].coordenator,type_id:this.users[h].type_id,themes:this.users[h].themes});return{event_id:this.event_id,users:n}}add_user(n){this.users.push(n)}remove_user(n){let h=this.users.splice(n,1),m=this.users;return this.users=new Array,this.users=m,h[0]}},d.SubmissionUser=class u extends o.User{submissions;coordenator;type_id;awaiting;themes;constructor(){super(),this.submissions=0,this.coordenator=!1,this.type_id=1}setup(n){super.setup(n),n.id&&(this.id=n.id),this.submissions=n.submissions?n.submissions:0,this.coordenator=n.coordenator,this.type_id=n.type_id,this.awaiting=n.awaiting,this.themes=n.themes}},d.SubmissionType=class f{id;type;resume_titles};class i{CIENTIFICO=1;RELATO=2;list=[{id:this.CIENTIFICO,type:"Trabalho cient\xedfico",resume_titles:[{text:"Introdu\xe7\xe3o"},{text:"Objetivos"},{text:"M\xe9todos"},{text:"Resultados / Discuss\xe3o"},{text:"Conclus\xf5es"}]},{id:this.RELATO,type:"Relato de experi\xeancia",resume_titles:[{text:"Introdu\xe7\xe3o"},{text:"Objetivos"},{text:"Relato de experi\xeancia"},{text:"Reflex\xe3o sobre a experi\xeancia"},{text:"Conclus\xf5es ou recomenda\xe7\xf5es"}]}]}d.SubmissionTypes=i,d.Submissions=class a extends g.Form{id;file;file_name;file_path;status_id;event_id;type;theme_id;type_id;author;coauthors;title;resume;resume_size;terms;keywords;idiom;COAUTHOR_LIMIT=5;COAUTHOR_MIN_LIMIT=0;RESUME_LIMIT=3500;constructor(){super(),this.coauthors=[];for(let n=0;n<this.COAUTHOR_MIN_LIMIT;n++)this.coauthors.push(new o.Author);this.author=new o.Author,this.title="",this.file_name="",this.resume=[],this.resume_size=0,this.terms=!1,this.keywords=""}set_resume(){let n;
1if(this.type_id=this.type.id,this.type.resume_titles){for(n=this.type.resume_titles.length-this.resume.length;n>0;n--)this.resume.push({title:"",text:"",validation:new g.Validation});for(;n<0;n++)this.resume.pop();for(let h=0;h<this.type.resume_titles.length;h++)this.resume[h].title=this.type.resume_titles[h].text}}validate_resumes(){for(let n of this.resume)n.validation.clear(),n.text.length<100&&n.validation.add_message("Esse campo precisa de no minimo 100 caracteres")}limit_resume(n,h){let m=0;for(let r=0;r<this.resume.length;r++)m+=this.resume[r].text.length;m>this.RESUME_LIMIT&&(n.text=n.text.substr(0,n.text.length-Math.abs(this.RESUME_LIMIT-m)),h.open(b.AlertModalComponent).componentInstance.error("ATEN\xc7\xc3O, O SEU RESUMO PASSOU O LIMITE DE CARACTERES PERMITIDO, O TEXTO SER\xc1 CORTADO")),m=0;for(let r=0;r<this.resume.length;r++)m+=this.resume[r].text.length;this.resume_size=m}setup(n,h){if(this.id=n.id,this.file_path=n.file_path,this.status_id=n.status_id,this.event_id=n.event_id,this.title=n.title,this.theme_id=n.theme_id,this.keywords=n.keywords,this.idiom=n.idiom,n.author&&this.author.setup(n.author),n.coauthors)for(let m=0;m<n.coauthors.length;m++){let r=new o.Author;r.setup(n.coauthors[m]),this.coauthors.push(r)}this.set_resume(),this.setup_resume(n.resume,h)}is_valid(n=null){let h=super.is_valid();for(let m=0;m<this.coauthors.length;m++)h=this.coauthors[m].is_valid()&&h;h=this.author.is_valid()&&h,h=h&&this.validate_unique_cpfs();for(let m of this.resume)h=h&&!m.validation.failed;return h||n.open(b.AlertModalComponent).componentInstance.error("Erro! Verifique os campos marcados em vermelho"),h&&this.terms}validate_unique_cpfs(){let n=!0;for(let h=0;h<this.coauthors.length;h++){this.author.cpf==this.coauthors[h].cpf&&(this.author.validations.cpf.add_message("CPF duplicado"),this.coauthors[h].validations.cpf.add_message("CPF duplicado"),n=!1);for(let m=h+1;m<this.coauthors.length;m++)this.coauthors[m].cpf==this.coauthors[h].cpf&&(this.coauthors[m].validations.cpf.add_message("CPF duplicado"),this.coauthors[h].validations.cpf.add_message("CPF duplicado"),n=!1)}return n}validate_all(){this.validate_coauthor(),this.validate_theme(),this.validate_title(),this.validate_type(),this.validate_resumes(),this.validate_keywords()}initial_validation(){this.validations.coauthor=new g.Validation,this.validations.title=new g.Validation,this.validations.theme=new g.Validation,this.validations.file=new g.Validation,this.validations.type=new g.Validation,this.validations.keywords=new g.Validation}validate_keywords(){let n=this.validations.keywords;n.clear(),this.keywords.length<3&&n.add_message("Adicione pelo menos uma palavra chave")}validate_theme(){let n=this.validations.theme;n.clear(),this.theme_id||n.add_message("Selecione um tema")}validate_type(){let n=this.validations.type;n.clear(),this.type_id||n.add_message("Selecione um tipo")}validate_title(){let n=this.validations.title;n.clear(),this.title.length<10&&n.add_message("Titulo do trabalho muito curto")}validate_file(){let n=this.validations.file;n.clear(),this.file_name.length<1&&n.add_message("Nenhum arquivo selecionado")}validate_coauthor(){let n=this.validations.coauthor;n.clear(),this.coauthors.length<this.COAUTHOR_MIN_LIMIT&&n.add_message("S\xe3o necessarios pelo menos "+this.COAUTHOR_MIN_LIMIT+" co-autores")}add_coauthor(n){this.coauthors.length<this.COAUTHOR_LIMIT?this.coauthors.push(new o.Author):n.open(b.AlertModalComponent).componentInstance.error("Limite de autores secund\xe1rios atingido")}remove_coauthor(n){if(this.coauthors.length>this.COAUTHOR_MIN_LIMIT){this.coauthors.splice(n,1);let h=this.coauthors;this.coauthors=[],this.coauthors=h}}move_coauthor(n,h){let m=this.coauthors,r=m[n];m[n]=m[n+h],m[n+h]=r,this.coauthors=null,this.coauthors=m}handle_file(n){var h=n.target.files,m=h[0];if(h&&m){var r=new FileReader;this.file_name=m.name,r.onload=this._handle_reader_loaded.bind(this),r.readAsDataURL(m)}}_handle_reader_loaded(n){this.file=n.target.result}get_values(){let n=super.get_values();n.title=this.title.toUpperCase(),n.author=this.author.get_values();let h=[],m="";for(let r=0;r<this.resume.length;r++)m+=this.resume[r].title+"\n"+this.resume[r].text+"\n\n";n.resume=m;for(let r=0;r<this.coauthors.length;r++)h.push(this.coauthors[r].get_values());return n.coauthors=h,n}setup_resume(n,h){let r=n.split("\n\n"+this.resume[1].title);this.resume[0].text=r[0].substr(this.resume[0].title.length+1);let C,w=r[1];for(C=1;C<this.resume.length-1;C++)r=w.split(this.resume[C+1].title+"\n"),this.resume[C].text=r[0].trim(),w=r[1];this.resume[C].text=w.trim(),this.limit_resume(this.resume[C],h)}},d.SubmissionsTemplate=class s extends g.Form{id;event_id;file_path;description;title;file;file_name;certificate;vacancies;minimum_score;types;use_theme;top_certificate;type_id;input_type;extensions;presential_evaluation;requires_info;constructor(){super(),this.description="",this.file_path="",this.title="";let n=new i;this.types=[];for(let h=0;h<n.list.length;h++)this.types.push({id:n.list[h].id,quota:0,type:n.list[h].type});this.use_theme=!1,this.type_id=null,this.top_certificate="",this.presential_evaluation=!1}setup(n){if(this.id=n.id,this.event_id=n.event_id,this.file_path=n.file_path,this.description=n.description,this.title=n.title,this.certificate=n.certificate,this.vacancies=n.vacancies,this.minimum_score=n.minimum_score,this.requires_info=n.requires_info,n.types)for(let h=0;h<n.types.length;h++)for(let m=0;
1m<this.types.length;m++)n.types[h].id==this.types[m].id&&(this.types[m].quota=n.types[h].quota);this.use_theme=n.use_theme,this.top_certificate=n.top_certificate,this.presential_evaluation=n.presential_evaluation,this.type_id=n.type_id}handle_file(n){var h=n.target.files,m=h[0];if(h&&m){var r=new FileReader;this.file_name=m.name,r.onload=this._handle_reader_loaded.bind(this),r.readAsDataURL(m)}}_handle_reader_loaded(n){this.file=n.target.result}},d.Themes=class e extends g.Form{id;title;description;event_id;setup(n){this.id=n.id,this.title=n.title,this.description=n.description,this.event_id=n.event_id}},d.FinalSubmissions=class t extends g.Form{id;file;file_name;file_path;event_id;image;image_name;description;image_extension;requires_info;constructor(n,h){super(),this.file_name="",this.id=n,this.event_id=h,this.description="",this.image_extension=null,this.requires_info=!1}validate_all(){this.validate_file(),this.requires_info&&(this.validate_image(),this.validate_description())}initial_validation(){this.validations.file=new g.Validation,this.validations.image=new g.Validation,this.validations.description=new g.Validation}validate_file(){let n=this.validations.file;n.clear(),this.file_name.length<1&&n.add_message("Nenhum arquivo selecionado")}validate_image(){let n=this.validations.image;n.clear(),this.image_name.length<1&&n.add_message("Nenhuma imagem selecionada")}validate_description(){let n=this.validations.description;n.clear(),this.description.length<10&&n.add_message("Descri\xe7ao muito curta"),this.description.length>550&&n.add_message("Descri\xe7ao muito longa - M\xe1ximo de 550 caracteres permitido")}handle_file(n){var h=n.target.files,m=h[0];if(h&&m){var r=new FileReader;this.file_name=m.name,r.onload=this._handle_reader_loaded.bind(this),r.readAsDataURL(m)}}_handle_reader_loaded(n){this.file=n.target.result}handle_image(n){var h=n.target.files,m=h[0];if(h&&m){var r=new FileReader;this.image_name=m.name,r.onload=this._handle_reader_image_loaded.bind(this),r.readAsDataURL(m)}}_handle_reader_image_loaded(n){this.image=n.target.result}};class c{criterias=[{criteria:"Pertin\xeancia",description:"Resumo adequado \xe0 tem\xe1tica central e eixos do Congresso."},{criteria:"Cumprimento de Normas",description:"Resumo atende aos crit\xe9rios e padr\xf5es, definidos no edital, para o formato escolhido"},{criteria:"Qualidade e Coer\xeancia",description:"Resumo apresenta o conte\xfado com clareza, objetividade e integra\xe7\xe3o entre os t\xf3picos do formato escolhido"},{criteria:"Adequa\xe7\xe3o da An\xe1lise e Discuss\xe3o",description:"Resumo apresenta reflex\xf5es, conclus\xf5es e/ou recomenda\xe7\xf5es expl\xedcitas e relacionadas ao objeto de estudo/interesse"},{criteria:"Relev\xe2ncia",description:"Resumo apresenta contribui\xe7\xe3o para desenvolvimento da educa\xe7\xe3o m\xe9dica, aplica\xe7\xe3o em outros contextos/institui\xe7\xf5es e/ou inova\xe7\xe3o nas pr\xe1ticas educacionais"}]}d.EvaluationScores=c,d.Evaluation=class l{modal;submission_id;template_id;evaluation;evaluation_score;theme_id;event_id;theme;title;resume;approved;type;file_path;is_oral;comments;reproved;constructor(n){this.modal=n,this.is_oral=-1,this.reproved=[]}setup(n){let h=new c;this.submission_id=n.id,this.template_id=n.template_id,this.evaluation=[];for(let m=0;m<h.criterias.length;m++)this.evaluation.push({criteria:h.criterias[m].criteria,score:0,description:h.criterias[m].description});this.evaluation_score=0,this.theme_id=n.theme_id,this.event_id=n.event_id,this.theme=n.theme,this.title=n.title,this.resume=n.resume,this.approved=void 0,this.type=n.type_name,this.file_path=n.file_path}modify_evaluation(n,h){this.evaluation[n].score=h;let m=0;for(let r=0;r<this.evaluation.length;r++)m+=this.evaluation[r].score;this.evaluation_score=m/this.evaluation.length}is_valid(){let n=!0;return this.evaluation.forEach(h=>{0==h.score&&(this.modal.open(b.AlertModalComponent).componentInstance.error("Avalie o crit\xe9rio "+h.criteria),n=!1)}),-1===this.is_oral&&this.approved&&(this.modal.open(b.AlertModalComponent).componentInstance.error("Defina se o trabalho \xe9 indicado para apresenta\xe7\xe3o oral"),n=!1),n}}},88720(A,d,_){Object.defineProperty(d,"__esModule",{value:!0}),d.PoolRestrictions=d.PoolAnswers=d.Pools=d.PoolTypes=d.Answer=d.Answers=d.QuestionType=d.Question=d.EventSurvey=d.Survey=void 0;const b=_(50965),o=_(14765);class g extends o.Form{title;questions;id;constructor(){super(),this.title="",this.questions=[],this.id=null}get_values(){let l=super.get_values();for(let v=0;v<this.questions.length;v++)delete l.questions[v].validations;return l}add_question(){this.questions.push(new p)}remove_question(l){this.questions.splice(l,1);let v=this.questions;this.questions=new Array,this.questions=v}setup(l){this.title=l.title,this.id=l.id;let h,v=[],n=l.questions.sort((m,r)=>m.display_order>r.display_order?1:-1);for(let m=0;m<l.questions.length;m++)h=new p,h.display_order=n[m].display_order,h.question=n[m].question,h.type_id=n[m].type_id,h.id=n[m].id,v.push(h);this.questions=v}}d.Survey=g,d.EventSurvey=class y extends g{event_id;display_order;import(l){let h,v=this.questions,n=l.questions.sort((m,r)=>m.display_order>r.display_order?1:-1);for(let m=0;m<l.questions.length;m++)h=new p,h.display_order=n[m].display_order,h.question=n[m].question,h.type_id=n[m].type_id,v.push(h);this.questions=v}
1setup(l){super.setup(l),this.display_order=l.display_order,this.event_id=l.event_id}};class p extends o.Form{question;display_order;type_id;id;constructor(){super(),this.question="",this.display_order=null,this.type_id=null,this.id=null}}d.Question=p;class u{evaluate=1;expectations=2;text=3;textarea=4;yesno=5;list(){return[{id:this.evaluate,name:"Avalia\xe7\xe3o"},{id:this.expectations,name:"Expectativas"},{id:this.yesno,name:"Sim / N\xe3o"},{id:this.text,name:"Resposta curta"},{id:this.textarea,name:"Resposta longa"}]}}d.QuestionType=u,d.Answers=class f extends o.Form{answers;constructor(l){super();let v=[];for(let n=0;n<l.length;n++){let h=new i;h.question_id=l[n].id,h.type=l[n].type_id,v.push(h)}this.answers=v}is_valid(){let l=!0;for(let v=0;v<this.answers.length;v++)this.answers[v].is_valid()||(l=!1);return l}get_values(){let l=[];for(let v=0;v<this.answers.length;v++)l.push(this.answers[v].get_values());return l}};class i extends o.Form{answer;type;question_id;constructor(){super(),this.answer="",this.validations.answer=new o.Validation}validate_all(){let l=new u,v=this.validations.answer;v.clear(),this.type!=l.textarea&&(!this.answer||0==this.answer.length)&&v.add_message("Essa resposta \xe9 obrigat\xf3ria!")}}d.Answer=i,d.PoolTypes=class a{VOTACAO=1;ELEICAO=2;list=[new o.ModelItem(this.VOTACAO,"Vota\xe7\xe3o"),new o.ModelItem(this.ELEICAO,"Elei\xe7\xe3o")]},d.Pools=class s extends o.Form{id;active;question;answers;multiple;end_date;voted;votes;total;restrictions;public_results;results_end_date;can_vote;vote_exception;type_id;use_images;formatter;constructor(){super(),this.answers=[],this.votes=[],this.formatter=new b.Formatter,this.restrictions=new t,this.public_results=!1,this.type_id=1,this.active=!1,this.use_images=!1}add_answer(){this.answers.push(new e)}get_votes(){return{votes:this.votes,id:this.id}}remove_answer(l){this.answers.splice(l,1);let v=this.answers;this.answers=null,this.answers=v}setup(l){this.id=l.id,this.question=l.question,this.answers=[],this.use_images=l.use_images,l.answers.forEach(v=>{let n=new e;n.setup(v),this.answers.push(n)}),this.multiple=l.multiple,this.end_date=this.formatter.date_model(l.end_date),this.results_end_date=this.formatter.date_model(l.results_end_date),this.voted=l.voted,this.restrictions.setup(l.restrictions),this.public_results=l.public_results,this.active=l.active,this.can_vote=l.can_vote,this.vote_exception=l.vote_exception,this.type_id=l.type_id,this.total=l.total}get_values(){let l=super.get_values();return l.end_date=this.formatter.date_model(l.end_date),l}};class e{id;total;answer;image;constructor(){this.image=new o.FormImage}setup(l){this.id=l.id,this.total=l.total,this.answer=l.answer,this.image.image=l.image}}d.PoolAnswers=e;class t{event;associate;constructor(){this.event={id:-1,join:!1,paid:!1},this.associate={is_associate:!1,active:!1,regions:[],positions:[]}}get_values(){return JSON.parse(JSON.stringify(this))}setup(l){l&&(l.event&&(this.event=l.event),l.associate&&(this.associate=l.associate))}}d.PoolRestrictions=t},98485(A,d){Object.defineProperty(d,"__esModule",{value:!0}),d.Xlsx=void 0,d.Xlsx=class _{file;handle_file(o){const g=o.target.files,y=g[0];if(g&&y){const p=new FileReader;p.onload=this._handle_reader_loaded.bind(this),p.readAsText(y)}}_handle_reader_loaded(o){this.file=o.target.result}}},90586(A,d,_){var b=_(29293).default,o=this&&this.__createBinding||(Object.create?function(s,e,t,c){void 0===c&&(c=t);var l=Object.getOwnPropertyDescriptor(e,t);(!l||("get"in l?!e.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return e[t]}}),Object.defineProperty(s,c,l)}:function(s,e,t,c){void 0===c&&(c=t),s[c]=e[t]}),g=this&&this.__setModuleDefault||(Object.create?function(s,e){Object.defineProperty(s,"default",{enumerable:!0,value:e})}:function(s,e){s.default=e}),y=this&&this.__importStar||function(){var s=function(e){return(s=Object.getOwnPropertyNames||function(t){var c=[];for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(c[c.length]=l);return c})(e)};return function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var c=s(e),l=0;l<c.length;l++)"default"!==c[l]&&o(t,e,c[l]);return g(t,e),t}}();Object.defineProperty(d,"__esModule",{value:!0}),d.CandidatesService=void 0;const p=_(72718),u=y(_(49849)),f=y(_(37554)),i=y(_(13664));d.CandidatesService=(()=>{class s{api;auth;type_id;constructor(t,c){this.api=t,this.auth=c}type_restriction(t,c){let l=!1;if("string"==typeof t.type_restricted){let v=t.type_restricted.split(",");for(let n of v)l=l||parseInt(n)==c;console.log(l,v,c)}else l=t.type_restricted==c,console.log(l,t);return{reason:t.type_allowed,is_valid:l}}apply_list(){var t=this;return b(function*(){try{t.type_id=yield t.auth.type_id();const c=yield t.api.recover("elections/candidates/apply").toProm
1ise(),l=[],v=new p.AssociateStatus;for(let n of c.list){n.restrictions=[],console.log(n.type_restricted,t.type_id);let h=t.type_restriction(n,c.associate.type_id);n.restrictions.push({reason:"Status de associa\xe7\xe3o: Adimplente",is_valid:c.associate.status===v.ATIVO}),n.restrictions.push(h),n.restrictions.push({reason:"Per\xedodo m\xednimo na Regional (meses): "+n.region_months,is_valid:1==n.region_restricted}),n.restrictions.push({reason:"Per\xedodo m\xednimo de associa\xe7\xe3o (meses): "+n.associate_months,is_valid:1==n.admission_restricted}),n.can_apply=!0;for(let m of n.restrictions)n.can_apply=n.can_apply&&m.is_valid;l.push(n)}return c.associate.status=t.auth.status(),c.list=l,Promise.resolve(c)}catch(c){return Promise.reject(c.error)}})()}apply(t,c){var l=this;return b(function*(){try{const v=yield l.api.insert("elections/candidates/apply/:election/:position",{election:t,position:c}).toPromise();return Promise.resolve(v)}catch(v){return Promise.reject(v.error)}})()}cancel_application(t,c){var l=this;return b(function*(){try{const v=yield l.api.remove("elections/candidates/apply/:election/:position",{election:t,position:c}).toPromise();return Promise.resolve(v)}catch(v){return Promise.reject(v.error)}})()}appeal(t,c,l,v){var n=this;return b(function*(){try{const h=yield n.api.insert("elections/candidates/appeal/:election/:position",{election:t,position:c,reason:l,file:v}).toPromise();return Promise.resolve(h)}catch(h){return Promise.reject(h.error)}})()}approve(t,c,l){var v=this;return b(function*(){try{const n=yield v.api.update("elections/candidates/approve/:election/:position/:associate",{election:t,position:c,associate:l}).toPromise();return Promise.resolve(n)}catch(n){return Promise.reject(n.error)}})()}reject(t,c,l,v){var n=this;return b(function*(){try{const h=yield n.api.update("elections/candidates/reject/:election/:position/:associate",{election:t,position:c,associate:l,reason:v}).toPromise();return Promise.resolve(h)}catch(h){return Promise.reject(h.error)}})()}reprove(t,c,l){var v=this;return b(function*(){try{const n=yield v.api.update("elections/candidates/reprove/:election/:position/:associate",{election:t,position:c,associate:l}).toPromise();return Promise.resolve(n)}catch(n){return Promise.reject(n.error)}})()}static \u0275fac=function(c){return new(c||s)(u.\u0275\u0275inject(f.ApiService),u.\u0275\u0275inject(i.AuthService))};static \u0275prov=u.\u0275\u0275defineInjectable({token:s,factory:s.\u0275fac,providedIn:"root"})}return s})()},70337(A,d,_){var b=_(29293).default,o=this&&this.__createBinding||(Object.create?function(a,s,e,t){void 0===t&&(t=e);var c=Object.getOwnPropertyDescriptor(s,e);(!c||("get"in c?!s.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return s[e]}}),Object.defineProperty(a,t,c)}:function(a,s,e,t){void 0===t&&(t=e),a[t]=s[e]}),g=this&&this.__setModuleDefault||(Object.create?function(a,s){Object.defineProperty(a,"default",{enumerable:!0,value:s})}:function(a,s){a.default=s}),y=this&&this.__importStar||function(){var a=function(s){return(a=Object.getOwnPropertyNames||function(e){var t=[];for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&(t[t.length]=c);return t})(s)};return function(s){if(s&&s.__esModule)return s;var e={};if(null!=s)for(var t=a(s),c=0;c<t.length;c++)"default"!==t[c]&&o(e,s,t[c]);return g(e,s),e}}();Object.defineProperty(d,"__esModule",{value:!0}),d.Questoes=d.CadernoProvaService=void 0;const p=y(_(49849)),u=y(_(37554));d.CadernoProvaService=(()=>{class a{api;constructor(e){this.api=e}selected(e){var t=this;return b(function*(){try{return yield t.api.recover("progresso/caderno/:prova/questoes-selecionadas",{prova:e}).toPromise()}catch{return Promise.resolve({results:[],total:0})}})()}finish(e){var t=this;return b(function*(){try{return yield t.api.update("progresso/caderno/:prova/questoes-selecionadas",{prova:e}).toPromise()}catch(c){return Promise.reject(c.error)}})()}select(e,t){var c=this;return b(function*(){try{return yield c.api.update("progresso/caderno/:prova/:id",{prova:t,id:e}).toPromise()}catch(l){return Promise.reject(l.error)}})()}remove(e,t){var c=this;return b(function*(){try{return yield c.api.remove("progresso/caderno/:prova/:id",{prova:t,id:e}).toPromise()}catch(l){return Promise.reject(l.error)}})()}versao(e,t){var c=this;return b(function*(){try{return yield c.api.recover("progresso/caderno/:prova/questoes-selecionadas/:versao",{prova:e,versao:t}).toPromise()}catch{return Promise.resolve([])}})()}static \u0275fac=function(t){return new(t||a)(p.\u0275\u0275inject(u.ApiService))};static \u0275prov=p.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})(),d.Questoes=class i{area;usuario;user_id;instituicao;exibir;enunciado;correta;incorreta1;incorreta2;incorreta3;incorretas;gabarito;bibliografia;total;indice;id;status;comentario;matriz;selected;constructor(){this.matriz=[]}}},28404(A,d,_){var b=_(29293).default,o=this&&this.__createBinding||(Object.create?function(a,s,e,t){void 0===t&&(t=e);var c=Object.getOwnPropertyDescriptor(s,e);(!c||("get"in c?!s.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return s[e]}}),Object.defineProperty(a,t,c)}:function(a,s,e,t){void 0===t&&(t=e),a[t]=s[e]}),g=this&&this.__setModuleDefault||(Object.create?function(a,s){Object.defineProperty(a,"default",{enumerable:!0,value:s})}:function(a,s){a.default=s}),y=this&&this.__importStar||function(){var a=function(s){return(a=Object.getOwnPropertyNames||function(e){var t=[];for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&(t[t.length]=c);return t})(s)};return function(s){if(s&&s.__esModule)return s;var e={};if(null!=s)for(var t=a(s),c=0;c<t.length;c++)"default"!==t[c]&&o(e,s,t[c]);return g(e,s),e}}();Object.defineProperty(d,"__esModule",{value:!0}),d.ConfigService=void 0;const p=_(59091),u=y(_(49849)),f=y(_(37554));d.ConfigService=(()=>{class a{api;paginator;_tawkto;constructor(e){this.api=e,this.paginator={page_report_template:"Exibindo {first} a {last} de {totalRecords} resultados"}}tawkto(){var e=this;return b(function*(){if(e._tawkto)return Promise.resolve(e._tawkto);try{return e._tawkto=yield(0,p.lastValueFrom)(e.api.recover("tawkto")),Promise.resolve(e._tawkto)}catch{return{id:"",enabled:{events:!1,progresso:!1,associado:!1,login:!1}}}})()}static \u0275fac=function(t){return new(t||a)(u.\u0275\u0275inject(f.ApiService))};static \u0275prov=u.\u0275\u0275defineInjectable({token:a,factory:a.\u0275fac,providedIn:"root"})}return a})()},55008(A,d,_){var b=_(29293).default,o=this&&this.__createBinding||(Object.create?function(i,a,s,e){void 0===e&&(e=s);var t=Object.getOwnPropertyDescriptor(a,s);(!t||("get"in t?!a.__esModule:t.writable||t.configurable))&&(t={enumerable:!0,get:function(){return a[s]}}),Object.defineProperty(i,e,t)}:function(i,a,s,e){void 0===e&&(e=s),i[e]=a[s]}),g=this&&this.__setModuleDefault||(Object.create?function(i,a){Object.defineProperty(i,"default",{enumerable:!0,value:a})}:function(i,a){i.default=a}),y=this&&this.__importStar||function(){var i=function(a){return(i=Object.getOwnPropertyNames||function(s){var e=[];for(var t in s)Object.prototype.hasOwnProperty.call(s,t)&&(e[e.length]=t);return e})(a)};
1return function(a){if(a&&a.__esModule)return a;var s={};if(null!=a)for(var e=i(a),t=0;t<e.length;t++)"default"!==e[t]&&o(s,a,e[t]);return g(s,a),s}}();Object.defineProperty(d,"__esModule",{value:!0}),d.MatrizService=void 0;const p=y(_(49849)),u=y(_(37554));d.MatrizService=(()=>{class i{api;constructor(s){this.api=s}load(s){var e=this;return b(function*(){try{return yield e.api.recover("progresso/matriz/:id",{id:s}).toPromise()}catch(t){return Promise.reject(t.error)}})()}list(){var s=this;return b(function*(){try{return yield s.api.recover("progresso/matriz",{}).toPromise()}catch(e){return Promise.reject(e.error)}})()}create(s){var e=this;return b(function*(){try{return yield e.api.insert("progresso/matriz",s.get_values()).toPromise()}catch(t){return Promise.reject(t.error)}})()}update(s){var e=this;return b(function*(){try{return yield e.api.update("progresso/matriz/:id",s.get_values()).toPromise()}catch(t){return Promise.reject(t.error)}})()}delete(s){var e=this;return b(function*(){try{return yield e.api.remove("progresso/matriz/:id",{id:s}).toPromise()}catch(t){return Promise.reject(t.error)}})()}static \u0275fac=function(e){return new(e||i)(p.\u0275\u0275inject(u.ApiService))};static \u0275prov=p.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})()},17618(A,d,_){var b=_(29293).default,o=this&&this.__createBinding||(Object.create?function(i,a,s,e){void 0===e&&(e=s);var t=Object.getOwnPropertyDescriptor(a,s);(!t||("get"in t?!a.__esModule:t.writable||t.configurable))&&(t={enumerable:!0,get:function(){return a[s]}}),Object.defineProperty(i,e,t)}:function(i,a,s,e){void 0===e&&(e=s),i[e]=a[s]}),g=this&&this.__setModuleDefault||(Object.create?function(i,a){Object.defineProperty(i,"default",{enumerable:!0,value:a})}:function(i,a){i.default=a}),y=this&&this.__importStar||function(){var i=function(a){return(i=Object.getOwnPropertyNames||function(s){var e=[];for(var t in s)Object.prototype.hasOwnProperty.call(s,t)&&(e[e.length]=t);return e})(a)};return function(a){if(a&&a.__esModule)return a;var s={};if(null!=a)for(var e=i(a),t=0;t<e.length;t++)"default"!==e[t]&&o(s,a,e[t]);return g(s,a),s}}();Object.defineProperty(d,"__esModule",{value:!0}),d.ProgressoMetadataService=void 0;const p=y(_(49849)),u=y(_(37554));d.ProgressoMetadataService=(()=>{class i{api;constructor(s){this.api=s}load(s){var e=this;return b(function*(){try{return yield e.api.recover("progresso/metadata/:id",{id:s}).toPromise()}catch(t){return Promise.reject(t.error)}})()}list(){var s=this;return b(function*(){try{return yield s.api.recover("progresso/metadata",{}).toPromise()}catch(e){return Promise.reject(e.error)}})()}create(s){var e=this;return b(function*(){try{return yield e.api.insert("progresso/metadata",s.get_values()).toPromise()}catch(t){return Promise.reject(t.error)}})()}update(s){var e=this;return b(function*(){try{return yield e.api.update("progresso/metadata/:id",s.get_values()).toPromise()}catch(t){return Promise.reject(t.error)}})()}delete(s){var e=this;return b(function*(){try{return yield e.api.remove("progresso/metadata/:id",{id:s}).toPromise()}catch(t){return Promise.reject(t.error)}})()}static \u0275fac=function(e){return new(e||i)(p.\u0275\u0275inject(u.ApiService))};static \u0275prov=p.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})()},56871(A,d,_){var b=_(29293).default,o=this&&this.__createBinding||(Object.create?function(e,t,c,l){void 0===l&&(l=c);var v=Object.getOwnPropertyDescriptor(t,c);(!v||("get"in v?!t.__esModule:v.writable||v.configurable))&&(v={enumerable:!0,get:function(){return t[c]}}),Object.defineProperty(e,l,v)}:function(e,t,c,l){void 0===l&&(l=c),e[l]=t[c]}),g=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),y=this&&this.__importStar||function(){var e=function(t){return(e=Object.getOwnPropertyNames||function(c){var l=[];for(var v in c)Object.prototype.hasOwnProperty.call(c,v)&&(l[l.length]=v);return l})(t)};return function(t){if(t&&t.__esModule)return t;var c={};if(null!=t)for(var l=e(t),v=0;v<l.length;v++)"default"!==l[v]&&o(c,t,l[v]);return g(c,t),c}}();Object.defineProperty(d,"__esModule",{value:!0}),d.ProgressoProvaService=void 0;
1const p=_(49849),u=_(89377),f=y(_(49849)),i=y(_(37554)),a=y(_(39078));d.ProgressoProvaService=(()=>{class e{api;modal;_selected;_emitter;constructor(c,l){this.api=c,this.modal=l,this._emitter=new p.EventEmitter}observable(){return this._emitter}change(c){this._selected=c,this._emitter.emit(c)}selected(){return this._selected}load(c){var l=this;return b(function*(){try{return yield l.api.recover("progresso/prova/:id",{id:c}).toPromise()}catch(v){return Promise.reject(v.error)}})()}list(c,l){var v=this;return b(function*(){try{return yield v.api.recover("progresso/prova",{limit:c,offset:l}).toPromise()}catch(n){return Promise.reject(n.error)}})()}relatorio_alunos(c){var l=this;return b(function*(){l.api.recover("progresso/alunos/:id/confirmados",{id:c}).toPromise().then(v=>{l.api.external_download(v.download_file,{},"relatorio.xlsx")})})()}notificar_escolas(c){var l=this;return b(function*(){try{const v=yield l.api.insert("progresso/prova/:prova/notify_schools",{prova:c}).toPromise();l.modal.open(u.AlertModalComponent).componentInstance.success(v.message)}catch(v){l.modal.open(u.AlertModalComponent).componentInstance.error(v.error.message)}})()}download_dados_geral(c){var l=this;return b(function*(){l.api.download("progresso/dados/geral/:prova",{prova:c},"dados-prova.xlsx")})()}static \u0275fac=function(l){return new(l||e)(f.\u0275\u0275inject(i.ApiService),f.\u0275\u0275inject(a.NgbModal))};static \u0275prov=f.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})()},75506(A,d,_){_.r(d),_.d(d,{Card:()=>Q,CardClasses:()=>z,CardModule:()=>X,CardStyle:()=>$});var b=_(49769),o=_(35547),g=_(60414),y=_(80998),p=_(5779),u=_(75517),f=_(94068),a=_(4128);const s=["header"],e=["title"],t=["subtitle"],c=["content"],l=["footer"],v=["*",[["p-header"]],[["p-footer"]]],n=["*","p-header","p-footer"];function h(E,F){1&E&&o.eu8(0)}function m(E,F){if(1&E&&(o.j41(0,"div",1),o.SdG(1,1),o.DNE(2,h,1,0,"ng-container",2),o.k0s()),2&E){const S=o.XpG();o.HbH(S.cx("header")),o.Y8G("pBind",S.ptm("header")),o.R7$(2),o.Y8G("ngTemplateOutlet",S.headerTemplate||S._headerTemplate)}}function r(E,F){if(1&E&&(o.qex(0),o.EFF(1),o.bVm()),2&E){const S=o.XpG(2);o.R7$(),o.JRh(S.header)}}function w(E,F){1&E&&o.eu8(0)}function C(E,F){if(1&E&&(o.j41(0,"div",1),o.DNE(1,r,2,1,"ng-container",3)(2,w,1,0,"ng-container",2),o.k0s()),2&E){const S=o.XpG();o.HbH(S.cx("title")),o.Y8G("pBind",S.ptm("title")),o.R7$(),o.Y8G("ngIf",S.header&&!S._titleTemplate&&!S.titleTemplate),o.R7$(),o.Y8G("ngTemplateOutlet",S.titleTemplate||S._titleTemplate)}}function M(E,F){if(1&E&&(o.qex(0),o.EFF(1),o.bVm()),2&E){const S=o.XpG(2);o.R7$(),o.JRh(S.subheader)}}function P(E,F){1&E&&o.eu8(0)}function B(E,F){if(1&E&&(o.j41(0,"div",1),o.DNE(1,M,2,1,"ng-container",3)(2,P,1,0,"ng-container",2),o.k0s()),2&E){const S=o.XpG();o.HbH(S.cx("subtitle")),o.Y8G("pBind",S.ptm("subtitle")),o.R7$(),o.Y8G("ngIf",S.subheader&&!S._subtitleTemplate&&!S.subtitleTemplate),o.R7$(),o.Y8G("ngTemplateOutlet",S.subtitleTemplate||S._subtitleTemplate)}}function G(E,F){1&E&&o.eu8(0)}function q(E,F){1&E&&o.eu8(0)}function ee(E,F){if(1&E&&(o.j41(0,"div",1),o.SdG(1,2),o.DNE(2,q,1,0,"ng-container",2),o.k0s()),2&E){const S=o.XpG();o.HbH(S.cx("footer")),o.Y8G("pBind",S.ptm("footer")),o.R7$(2),o.Y8G("ngTemplateOutlet",S.footerTemplate||S._footerTemplate)}}const Z={root:"p-card p-component",header:"p-card-header",body:"p-card-body",caption:"p-card-caption",title:"p-card-title",subtitle:"p-card-subtitle",content:"p-card-content",footer:"p-card-footer"};let $=(()=>{class E extends a.j{name="card";style="\n    \n    .p-card {\n        background: dt('card.background');\n        color: dt('card.color');\n        box-shadow: dt('card.shadow');\n        border-radius: dt('card.border.radius');\n        display: flex;\n        flex-direction: column;\n    }\n\n    .p-card-caption {\n        display: flex;\n        flex-direction: column;\n        gap: dt('card.caption.gap');\n    }\n\n    .p-card-body {\n        padding: dt('card.body.padding');\n        display: flex;\n        flex-direction: column;\n        gap: dt('card.body.gap');\n    }\n\n    .p-card-title {\n        font-size: dt('card.title.font.size');\n        font-weight: dt('card.title.font.weight');\n    }\n\n    .p-card-subtitle {\n        color: dt('card.subtitle.color');\n    }\n\n\n    .p-card {\n        display: block;\n    }\n";classes=Z;static \u0275fac=(()=>{let S;return function(x){return(S||(S=o.xGo(E)))(x||E)}})();static \u0275prov=g.jDH({token:E,factory:E.\u0275fac})}return E})();var z=function(E){return E.root="p-card",E.header="p-card-header",E.body="p-card-body",E.caption="p-card-caption",E.title="p-card-title",E.subtitle="p-card-subtitle",E.content="p-card-content",E.footer="p-card-footer",E}(z||{});const k=new g.nKC("CARD_INSTANCE");let Q=(()=>{class E extends u.$G{componentName="Card";$pcCard=(0,g.WQX)(k,{optional:!0,skipSelf:!0})??void 0;bindDirectiveInstance=(0,g.WQX)(f.Y,{self:!0});_componentStyle=(0,g.WQX)($);onAfterViewChecked(){this.bindDirectiveInstance.setAttrs(this.ptms(["host","root"]))}header;subheader;
1set style(S){(0,y.aI)(this._style(),S)||(this._style.set(S),this.el?.nativeElement&&S&&Object.keys(S).forEach(L=>{this.el.nativeElement.style[L]=S[L]}))}get style(){return this._style()}styleClass;headerFacet;footerFacet;headerTemplate;titleTemplate;subtitleTemplate;contentTemplate;footerTemplate;_headerTemplate;_titleTemplate;_subtitleTemplate;_contentTemplate;_footerTemplate;_style=(0,g.vPA)(null);getBlockableElement(){return this.el.nativeElement}templates;onAfterContentInit(){this.templates.forEach(S=>{switch(S.getType()){case"header":this._headerTemplate=S.template;break;case"title":this._titleTemplate=S.template;break;case"subtitle":this._subtitleTemplate=S.template;break;case"content":default:this._contentTemplate=S.template;break;case"footer":this._footerTemplate=S.template}})}static \u0275fac=(()=>{let S;return function(x){return(S||(S=o.xGo(E)))(x||E)}})();static \u0275cmp=o.VBU({type:E,selectors:[["p-card"]],contentQueries:function(L,x,I){if(1&L&&o.wni(I,p.Header,5)(I,p.Footer,5)(I,s,4)(I,e,4)(I,t,4)(I,c,4)(I,l,4)(I,p.PrimeTemplate,4),2&L){let N;o.mGM(N=o.lsd())&&(x.headerFacet=N.first),o.mGM(N=o.lsd())&&(x.footerFacet=N.first),o.mGM(N=o.lsd())&&(x.headerTemplate=N.first),o.mGM(N=o.lsd())&&(x.titleTemplate=N.first),o.mGM(N=o.lsd())&&(x.subtitleTemplate=N.first),o.mGM(N=o.lsd())&&(x.contentTemplate=N.first),o.mGM(N=o.lsd())&&(x.footerTemplate=N.first),o.mGM(N=o.lsd())&&(x.templates=N)}},hostVars:4,hostBindings:function(L,x){2&L&&(o.Aen(x._style()),o.HbH(x.cn(x.cx("root"),x.styleClass)))},inputs:{header:"header",subheader:"subheader",style:"style",styleClass:"styleClass"},features:[o.Jv_([$,{provide:k,useExisting:E},{provide:u.bt,useExisting:E}]),o.nM4([f.Y]),o.Vt3],ngContentSelectors:n,decls:8,vars:11,consts:[[3,"pBind","class",4,"ngIf"],[3,"pBind"],[4,"ngTemplateOutlet"],[4,"ngIf"]],template:function(L,x){1&L&&(o.NAR(v),o.DNE(0,m,3,4,"div",0),o.j41(1,"div",1),o.DNE(2,C,3,5,"div",0)(3,B,3,5,"div",0),o.j41(4,"div",1),o.SdG(5),o.DNE(6,G,1,0,"ng-container",2),o.k0s(),o.DNE(7,ee,3,4,"div",0),o.k0s()),2&L&&(o.Y8G("ngIf",x.headerFacet||x.headerTemplate||x._headerTemplate),o.R7$(),o.HbH(x.cx("body")),o.Y8G("pBind",x.ptm("body")),o.R7$(),o.Y8G("ngIf",x.header||x.titleTemplate||x._titleTemplate),o.R7$(),o.Y8G("ngIf",x.subheader||x.subtitleTemplate||x._subtitleTemplate),o.R7$(),o.HbH(x.cx("content")),o.Y8G("pBind",x.ptm("content")),o.R7$(2),o.Y8G("ngTemplateOutlet",x.contentTemplate||x._contentTemplate),o.R7$(),o.Y8G("ngIf",x.footerFacet||x.footerTemplate||x._footerTemplate))},dependencies:[b.MD,b.bT,b.T3,p.SharedModule,f.C,f.Y],encapsulation:2,changeDetection:0})}return E})(),X=(()=>{class E{static \u0275fac=function(L){return new(L||E)};static \u0275mod=o.$C({type:E});static \u0275inj=g.G2t({imports:[Q,p.SharedModule,f.C,p.SharedModule,f.C]})}return E})()}}]);

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.