PageSourceSearch

https://www.viurrspace.ca/3066.70790ebfa2900629.js

js viurrspace.ca collected 2026-10-02 07:39:57 UTC 4,237 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdspace_angular=self.webpackChunkdspace_angular||[]).push([[3066],{23066:(S,p,n)=>{n.r(p),n.d(p,{StartsWithDateComponent:()=>l});var W=n(31635),r=n(89417),c=n(68018),h=n(89777),_=n(57853),b=n(28028),d=n(41358),t=n(54438);function M(o,s){if(1&o&&(t.j41(0,"option",5),t.EFF(1),t.k0s()),2&o){const a=s.$implicit,e=t.XpG();t.Y8G("value",a)("selected",a===e.startsWithYear?"selected":null),t.R7$(),t.SpI(" ",a," ")}}function f(o,s){if(1&o&&(t.j41(0,"option",5),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&o){const a=s.$implicit,e=t.XpG();t.Y8G("value",a)("selected",a===e.startsWithMonth?"selected":null),t.R7$(),t.SpI(" ",t.bMT(2,3,"browse.startsWith.months."+a)," ")}}let l=class i extends _.d{constructor(){super(...arguments),this.startsWithMonth="none"}ngOnInit(){this.monthOptions=["none","january","february","march","april","may","june","july","august","september","october","november","december"],super.ngOnInit()}setStartsWithYearEvent(s){this.startsWithYear=+s.target.value,this.setStartsWithYearMonth(),this.setStartsWithParam(!0)}setStartsWithMonthEvent(s){this.startsWithMonth=s.target.value,this.setStartsWithYearMonth(),this.setStartsWithParam(!0)}getStartsWith(){const s=this.getStartsWithMonth();if(s>0&&(0,h.a4)(this.startsWithYear)&&-1!==this.startsWithYear){let a=""+s;return s<10&&(a=`0${s}`),`${this.startsWithYear}-${a}`}return(0,h.a4)(this.startsWithYear)&&this.startsWithYear>0?""+this.startsWithYear:void 0}setStartsWithYearMonth(){this.startsWith=this.getStartsWith()}setStartsWith(s){if(this.startsWith=s,(0,h.a4)(s)&&s.indexOf("-")>-1){const a=s.split("-");this.startsWithYear=+a[0];const e=+a[1];this.startsWithMonth=e<this.monthOptions.length?this.monthOptions[e]:this.monthOptions[0]}else this.startsWithYear=+s}getStartsWithMonth(){return this.monthOptions.indexOf(this.startsWithMonth)}static{this.\u0275fac=(()=>{let s;return function(e){return(s||(s=t.xGo(i)))(e||i)}})()}static{this.\u0275cmp=t.VBU({type:i,selectors:[["ds-starts-with-date"]],standalone:!0,features:[t.Vt3,t.aNF],decls:27,vars:25,consts:[[1,"w-100",3,"ngSubmit","formGroup"],[1,"row"],[1,"col-12","fw-bold","mb-1"],[1,"col-6","col-md-2"],["id","year-select",1,"form-select",3,"change"],[3,"value","selected"],["id","month-select",1,"form-select",3,"change"],[1,"col-12","col-md-6"],[1,"mb-3","input-group","pt-1","pt-md-0"],["type","text","name","startsWith","formControlName","startsWith",1,"form-control",3,"placeholder","value"],["type","submit","role","button","tabindex","0",1,"btn","btn-primary"],[1,"fas","fa-book-open"]],template:function(a,e){1&a&&(t.j41(0,"form",0),t.bIt("ngSubmit",function(){return e.submitForm(e.formData.value)}),t.j41(1,"div",1)(2,"span",2),t.EFF(3),t.nI1(4,"translate"),t.k0s(),t.j41(5,"div",3)(6,"select",4),t.nI1(7,"translate"),t.bIt("change",function(m){return e.setStartsWithYearEvent(m)}),t.j41(8,"option",5),t.EFF(9),t.nI1(10,"translate"),t.k0s(),t.Z7z(11,M,2,3,"option",5,t.fX1),t.k0s()(),t.j41(13,"div",3)(14,"select",6),t.nI1(15,"translate"),t.bIt("change",function(m){return e.setStartsWithMonthEvent(m)}),t.Z7z(16,f,3,5,"option",5,t.fX1),t.k0s()(),t.j41(18,"div",7)(19,"div",8),t.nrm(20,"input",9),t.nI1(21,"translate"),t.nI1(22,"translate"),t.j41(23,"button",10),t.nrm(24,"i",11),t.EFF(25),t.nI1(26,"translate"),t.k0s()()()()()),2&a&&(t.Y8G("formGroup",e.formData),t.R7$(3),t.SpI(" ",t.bMT(4,11,"browse.startsWith.jump")," "),t.R7$(3),t.BMQ("aria-label",t.bMT(7,13,"browse.startsWith.choose_year.label")),t.R7$(2),t.Y8G("value",-1)("selected",!e.startsWithYear),t.R7$(),t.SpI(" ",t.bMT(10,15,"browse.startsWith.choose_year")," "),t.R7$(2),t.Dyx(e.startsWithOptions),t.R7$(3),t.BMQ("aria-label",t.bMT(15,17,"browse.startsWith.months.none.label")),t.R7$(2),t.Dyx(e.monthOptions),t.R7$(4),t.FS9("placeholder",t.bMT(21,19,"browse.startsWith.type_date")),t.Y8G("value",e.getStartsWith()?e.getStartsWith():""),t.BMQ("aria-label",t.bMT(22,21,"browse.startsWith.type_date.label")),t.R7$(5),t.SpI(" ",t.bMT(26,23,"browse.startsWith.submit"),""))},dependencies:[r.YN,r.qT,r.xH,r.y7,r.me,r.BC,r.cb,r.X1,r.j4,r.JD,c.h,c.D9],styles:[".btn-secondary[_ngcontent-%COMP%]{background-color:var(--bs-input-bg);color:var(--bs-input-color)}"]})}};l=(0,W.Cg)([(0,b.RP)(d.c.date)],l)}}]);

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.