PageSourceSearch

https://abem-nacional.com.br/7428.c2136dbd8c906e34.js

js abem-nacional.com.br collected 2026-10-04 06:09:52 UTC 7,063 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkabem=self.webpackChunkabem||[]).push([[7428],{67428(L,v,m){m.r(v),m.d(v,{ion_datetime_button:()=>x});var b=m(10467),d=m(48225),h=m(3418),D=m(94576),P=m(61902),l=m(94896);const x=class{constructor(s){var t=this;(0,d.r)(this,s),this.datetimeEl=null,this.overlayEl=null,this.datetimePresentation="date-time",this.datetimeActive=!1,this.color="primary",this.disabled=!1,this.getParsedDateValues=e=>null==e?[]:Array.isArray(e)?e:[e],this.setDateTimeText=(0,b.A)(function*(){var e,o,n,i,r;const{datetimeEl:c,datetimePresentation:O}=t;if(!c)return;const{value:A,locale:u,formatOptions:a,hourCycle:I,preferWheel:B,multiple:j,titleSelectedDatesFormatter:g}=c,f=t.getParsedDateValues(A),y=f.length>0?(0,l.D)(f):[yield c.getDefaultPart()];if(!y)return;const p=y[0],_=(0,l.d)(u,I);switch(t.dateText=t.timeText=void 0,O){case"date-time":case"time-date":const k=(0,l.P)(u,p,null!==(e=a?.date)&&void 0!==e?e:{month:"short",day:"numeric",year:"numeric"}),E=(0,l.O)(u,p,_,a?.time);B?t.dateText=`${k} ${E}`:(t.dateText=k,t.timeText=E);break;case"date":if(j&&1!==f.length){let T=`${f.length} days`;if(void 0!==g)try{T=g(f)}catch(M){(0,d.j)("[ion-datetime-button] - Exception in provided `titleSelectedDatesFormatter`:",M)}t.dateText=T}else t.dateText=(0,l.P)(u,p,null!==(o=a?.date)&&void 0!==o?o:{month:"short",day:"numeric",year:"numeric"});break;case"time":t.timeText=(0,l.O)(u,p,_,a?.time);break;case"month-year":t.dateText=(0,l.P)(u,p,null!==(n=a?.date)&&void 0!==n?n:{month:"long",year:"numeric"});break;case"month":t.dateText=(0,l.P)(u,p,null!==(i=a?.time)&&void 0!==i?i:{month:"long"});break;case"year":t.dateText=(0,l.P)(u,p,null!==(r=a?.time)&&void 0!==r?r:{year:"numeric"})}}),this.waitForDatetimeChanges=(0,b.A)(function*(){const{datetimeEl:e}=t;return e?new Promise(o=>{(0,h.f)(e,"ionRender",o,{once:!0})}):Promise.resolve()}),this.handleDateClick=function(){var e=(0,b.A)(function*(o){const{datetimeEl:n,datetimePresentation:i}=t;if(!n)return;let r=!1;switch(i){case"date-time":case"time-date":!n.preferWheel&&"date"!==n.presentation&&(n.presentation="date",r=!0)}t.selectedButton="date",t.presentOverlay(o,r,t.dateTargetEl)});return function(o){return e.apply(this,arguments)}}(),this.handleTimeClick=e=>{const{datetimeEl:o,datetimePresentation:n}=this;if(!o)return;let i=!1;switch(n){case"date-time":case"time-date":"time"!==o.presentation&&(o.presentation="time",i=!0)}this.selectedButton="time",this.presentOverlay(e,i,this.timeTargetEl)},this.presentOverlay=function(){var e=(0,b.A)(function*(o,n,i){const{overlayEl:r}=t;r&&("ION-POPOVER"===r.tagName?(n&&(yield t.waitForDatetimeChanges()),r.present(Object.assign(Object.assign({},o),{detail:{ionShadowTarget:i}}))):r.present())});return function(o,n,i){return e.apply(this,arguments)}}()}componentWillLoad(){var s=this;return(0,b.A)(function*(){const{datetime:t}=s;if(!t)return void(0,d.j)("[ion-datetime-button] - An ID associated with an ion-datetime instance is required to function properly.",s.el);const e=s.datetimeEl=document.getElementById(t);if(!e)return void(0,d.j)(`[ion-datetime-button] - No ion-datetime instance found for ID '${t}'.`,s.el);if("ION-DATETIME"!==e.tagName)return void(0,d.j)(`[ion-datetime-button] - Expected an ion-datetime instance for ID '${t}' but received '${e.tagName.toLowerCase()}' instead.`,e);new IntersectionObserver(i=>{s.datetimeActive=i[0].isIntersecting},{threshold:.01}).observe(e);const n=s.overlayEl=e.closest("ion-modal, ion-popover");n&&n.classList.add("ion-datetime-button-overlay"),(0,h.c)(e,()=>{const i=s.datetimePresentation=e.presentation||"date-time";switch(s.setDateTimeText(),(0,h.f)(e,"ionValueChange",s.setDateTimeText),i){case"date-time":case"date":case"month-year":case"month":case"year":s.selectedButton="date";break;case"time-date":case"time":s.selectedButton="time"}})})()}render(){const{color:s,dateText:t,timeText:e,selectedButton:o,datetimeActive:n,disabled:i}=this,r=(0,P.b)(this);return(0,d.h)(d.d,{key:"c28e5e428111f18eaceb030dca8aba5579867eaa",class:(0,D.c)(s,{[r]:!0,[`${o}-active`]:n,"datetime-button-disabled":i})},t&&(0,d.h)("button",{key:"a08f41b3150ef7171d0f1d9b3d69b51be67b7b84",class:"ion-activatable",id:"date-button","aria-expanded":n?"true":"false",onClick:this.handleDateClick,disabled:i,part:"native",ref:c=>this.dateTargetEl=c},(0,d.h)("slot",{key:"35ee68ca1cea59f03e1b59b72606e618141c8e1f",name:"date-target"},t),"md"===r&&(0,d.h)("ion-ripple-effect",{key:"4be53227aaf0acd20e8ebbff9f645140e8a96f33"})),e&&(0,d.h)("button",{key:"ab500f9b78f8c194180073eaf7325041adbd02f7",class:"ion-activatable",id:"time-button","aria-expanded":n?"true":"false",onClick:this.handleTimeClick,disabled:i,part:"native",ref:c=>this.timeTargetEl=c},(0,d.h)("slot",{key:"5822486dfdedba6c071a0f5233cc06f8321a1f5d",name:"time-target"},e),"md"===r&&(0,d.h)("ion-ripple-effect",{key:"054a4acb811a98cc6d9bb6a3cf51232a1f09b0ea"}
1)))}get el(){return(0,d.g)(this)}};x.style={ios:":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:1rem;cursor:pointer;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}:host button{-webkit-padding-start:13px;padding-inline-start:13px;-webkit-padding-end:13px;padding-inline-end:13px;padding-top:7px;padding-bottom:7px}:host button.ion-activated{color:var(--ion-color-step-600, var(--ion-text-color-step-400, #666666))}",md:":host{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}:host button{border-radius:8px;-webkit-margin-start:2px;margin-inline-start:2px;-webkit-margin-end:2px;margin-inline-end:2px;margin-top:0px;margin-bottom:0px;position:relative;-webkit-transition:150ms color ease-in-out;transition:150ms color ease-in-out;border:none;background:var(--ion-color-step-300, var(--ion-background-color-step-300, #edeef0));color:var(--ion-text-color, #000);font-family:inherit;font-size:1rem;cursor:pointer;overflow:hidden;-webkit-appearance:none;-moz-appearance:none;appearance:none}:host(.time-active) #time-button,:host(.date-active) #date-button{color:var(--ion-color-base)}:host(.datetime-button-disabled){pointer-events:none}:host(.datetime-button-disabled) button{opacity:0.4}:host button{-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px;padding-top:6px;padding-bottom:6px}"}}}]);

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.