1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8c7d34df-6372-50ab-ac0e-30e3e8497ecb")}catch(e){}}(); 3import{a as H,b as re}from"./chunk-RIFL3OOI.js";import"./chunk-XPIB65IW.js";import"./chunk-XKGQNJCS.js";import"./chunk-BXHIM4XB.js";import"./chunk-LIY5Z5DX.js";import{V as B,W as ie}from"./chunk-HCJKPTGM.js";import"./chunk-XES6EBUH.js";import"./chunk-7IZ7IQFS.js";import"./chunk-U2AYKEFN.js";import"./chunk-7OBMBINE.js";import"./chunk-VAXTQMJG.js";import"./chunk-A7N55BD2.js";import"./chunk-X4TOIQZ5.js";import"./chunk-6CAXAEVI.js";import"./chunk-GNDBXVBS.js";import"./chunk-K7DQ2BDA.js";import{c as x,d as _e,e as U,f as ne,w as V,x as oe}from"./chunk-TTQKVDQ7.js";import"./chunk-XU2EZIUM.js";import"./chunk-OWUVXM77.js";import"./chunk-LSLVPR72.js";import"./chunk-XPG54CHE.js";import"./chunk-JWWDLNIS.js";import"./chunk-Z2XXL3OC.js";import"./chunk-44QRKRNY.js";import"./chunk-QAM7USJC.js";import"./chunk-QCMZCTJ7.js";import{e as T,f as te}from"./chunk-3HOIF7UE.js";import"./chunk-NHBFTOZL.js";import"./chunk-SX3LWQYR.js";import{n as w,o as q,p as z}from"./chunk-63XPFYYJ.js";import"./chunk-NDUJ7JZN.js";import{b,f as F,n as k,s as J,t as X,u as v}from"./chunk-AA5DU7ME.js";import"./chunk-KWRIU4RP.js";import{n as c,o as ee}from"./chunk-H7BNAZPX.js";import"./chunk-SUGUVUND.js";import"./chunk-RTQW647K.js";import"./chunk-UY2AHKUP.js";import{h as C,i as Z}from"./chunk-LADI2IVP.js";import"./chunk-U3IAJHAB.js";import"./chunk-YA4WYHG7.js";import{Ac as d,Bc as R,Db as o,Lc as i,Qc as s,Ub as L,Zb as W,fd as I,gd as m,hd as M,ke as K,tc as r,uc as _,vc as e,wc as a}from"./chunk-7WH55ISQ.js";import"./chunk-HEWAIBKK.js";import{G as j,u as D,z as $}from"./chunk-VWJE3CXY.js";import{e as Q}from"./chunk-XN77Q2IT.js";var Se,Te=Q(()=>{v();z();j();Z();ie();ne();_e();oe();te();re();ee();K();v();z();Se=(()=>{class E extends B{constructor(){super(),this.dateHint="yyyy-MM-dd",this.searchForm=this.nntfb.group({firstName:["",T.nonEmpty],lastName:["",T.nonEmpty],dob:["",[T.required,T.isoDateValidator()]]}),this.queryForm=this.nntfb.group({urn:["",[T.integer,T.required]],date:[$.now().format(D.ofPattern("yyyy-MM-dd")),[T.required,T.isoDateValidator()]]}),this.queryResult="",this.searchResult="";}query(){this.queryResult="",this.cd.markForCheck(),this.http.post(C.apiBaseUrl+"/api/admin/trinity-gateway/query",this.queryForm.getRawValue(),c()).subscribe(l=>{this.queryResult=JSON.stringify(l,null,4),this.cd.markForCheck();},()=>{this.queryResult="Error",this.cd.markForCheck();});}search(){this.searchResult="",this.cd.markForCheck(),this.http.post(C.apiBaseUrl+"/api/admin/trinity-gateway/search",this.searchForm.getRawValue(),c()).subscribe(l=>{this.searchResult=JSON.stringify(l,null,4),this.cd.markForCheck();},()=>{this.searchResult="Error",this.cd.markForCheck();});}clearQuery(){this.queryResult="",this.queryForm.reset({urn:"",date:""}),this.queryForm.markAsUntouched(),this.queryForm.markAsPristine(),this.cd.markForCheck();}clearSearch(){this.searchResult="",this.searchForm.reset({firstName:"",lastName:"",dob:""}),this.searchForm.markAsUntouched(),this.searchForm.markAsPristine(),this.cd.markForCheck();}static{this.ɵfac=function(N){return new(N||E)();};}static{this.ɵcmp=L({type:E,selectors:[["rs-trinity-relay"]],features:[W],decls:55,vars:12,consts:()=>{let l;l="First name";let N;N="Last name";let t;t="Date of birth";let A;A="URN";let u;u="Competition date";let S;S="Trinity gateway";let g;g="First name";let f;f="Last name";let p;p="Date of birth";let P;P="Clear ";let Y;Y="Search ";let O;O="URN";let h;h="Competition date";let G;G="Clear ";let y;return y="Query ",[g,f,p,P,Y,O,h,G,y,[1,"content-root"],[1,"rs-outline-top","rs-outline-bottom"],[1,"form-cell"],["placeholder",l,3,"formControl"],["placeholder",N,3,"formControl"],["placeholder",t,3,"formControl"],[1,"button-aligner"],["mat-stroked-button","",3,"click"],["mat-flat-button","","color","primary",3,"click","disabled"],[1,"result-cell"],["placeholder",A,3,"formControl"],["placeholder",u,3,"formControl"],["navHeader",S,3,"toggleAllEnabled"]];},template:function(N,t){N&1&&(_(0,"div",9)(1,"table")(2,"tbody",10)(3,"tr")(4,"td",11),d(5),_(6,"rs-form-field-compat")(7,"rs-form-field-label"),i(8,0),e(),a(9,"input",12),e(),_(10,"rs-form-field-compat")(11,"rs-form-field-label"),i(12,1),e(),a(13,"input",13),e(),_(14,"rs-form-field-compat")(15,"rs-form-field-label"),i(16,2),e(),_(17,"rs-form-field-error"),I(18),e(),a(19,"input",14),e(),_(20,"div",15)(21,"button",16),s("click",function(){return t.clearSearch();}),i(22,3),e(),_(23,"button",17),s("click",function(){return t.search();}),i(24,4),e()(),R(),e(),_(25,"td",18)(26,"pre"),I(27),e()()()(),_(28,"tbody")(29,"tr"),a(30,"td")(31,"td"),e()(),_(32,"tbody",10)(33,"tr")(34,"td",11),d(35),_(36,"rs-form-field-compat")(37,"rs-form-field-label"),i(38,5),e(),a(39,"input",19),e(),_(40,"rs-form-field-compat")(41,"rs-form-field-label"),i(42,6),e(),_(43,"rs-form-field-error"),I(44),e(),a(45,"input",20),e(),_(46,"div",15)(47,"button",16),s("click",function(){return t.clearQuery();}),i(48,7),e(),_(49,"button",17),s("click",function(){return t.query();}),i(50,8),e()(),R(),e(),_(51,"td",18)(52,"pre"),I(53),e()()()()()(),a(54,"rs-secondary-nav-panel",21)),N&2&&(o(9),r("formControl",t.searchForm.controls.firstName),o(4),r("formControl",t.searchForm.controls.lastName),o(5),m(t.dateHint),o(),r("formControl",t.searchForm.controls.dob),o(4),r("disabled",!t.searchForm.valid),o(4),M(" ",t.searchResult,` 4 `),o(12),r("formControl",t.queryForm.controls.urn),o(5),m(t.dateHint),o(),r("formControl",t.queryForm.controls.date),o(4),r("disabled",!t.queryForm.valid),o(4),M(" ",t.queryResult,` 5 `),o(),r("toggleAllEnabled",!1));},dependencies:[V,x,J,b,F,X,k,U,q,w,H],styles:[`[_nghost-%COMP%]{padding-left:248px;display:block}.content-root[_ngcontent-%COMP%]{padding-top:24px}table[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;min-width:900px;max-width:1050px}td[_ngcontent-%COMP%]{padding:24px}td[_ngcontent-%COMP%] > [_ngcontent-%COMP%]:not(:last-child){margin-bottom:24px}.form-cell[_ngcontent-%COMP%]{background:#fff;width:150px;max-width:150px}.result-cell[_ngcontent-%COMP%]{background:#fff}button[_ngcontent-%COMP%]{flex:1 1 0}button[_ngcontent-%COMP%]:first-child{margin-right:12px}.button-aligner[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;justify-content:stretch;align-items:flex-start} 6/*# sourceMappingURL=trinity-gateway.component-ITPNLPQM.css.map */`],changeDetection:0});}}return E;})();});Te();export{Se as TrinityGatewayComponent};/**i18n:98cd60948f00bf3240ebfd0e064bf0123c90f4a120e09300fa6f8d092a2b7bea*///# sourceMappingURL=chunk-QPVPNQWL.js.map 7//# debugId=8c7d34df-6372-50ab-ac0e-30e3e8497ecb
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.