PageSourceSearch

https://lionbolt.jp/918.91efc0d97c1a9eac.js

js lionbolt.jp collected 2026-10-08 20:45:17 UTC 8,704 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklionbolt_webapp=self.webpackChunklionbolt_webapp||[]).push([[918],{64225:(v,u,o)=>{o.d(u,{C:()=>d,_:()=>t});const d={SINGLE:"SINGLE",CROSS:"CROSS"};var t=(()=>{return(m=t||(t={})).BOOKS="BOOKS",m.DOCUMENTS="DOCUMENTS",t;var m})()},83641:(v,u,o)=>{o.r(u),o.d(u,{SearchHistoryPagesModule:()=>l});var d=o(43709),t=o(36895),m=o(83689),P=o(44582),n=o(94650),p=o(95353);class c{constructor(){}ngOnInit(){}}c.\u0275fac=function(g){return new(g||c)},c.\u0275cmp=n.Xpm({type:c,selectors:[["app-search-history-page"]],decls:3,vars:2,consts:[["mat-h2",""],[3,"pageSize","showContentTypeName"]],template:function(g,T){1&g&&(n.TgZ(0,"h2",0),n._uU(1,"\u691c\u7d22\u5c65\u6b74"),n.qZA(),n._UZ(2,"app-search-history-list",1)),2&g&&(n.xp6(2),n.Q6J("pageSize",50)("showContentTypeName",!0))},dependencies:[p.s],styles:["[_nghost-%COMP%]{display:block;padding:32px}h2[_ngcontent-%COMP%]{color:#0009}"]});const r=[{path:"",title:(0,d.U)("\u691c\u7d22\u5c65\u6b74"),component:c}];class l{}l.\u0275fac=function(g){return new(g||l)},l.\u0275mod=n.oAB({type:l}),l.\u0275inj=n.cJS({imports:[t.ez,m.Bz.forChild(r),P.x]})},79458:(v,u,o)=>{o.d(u,{_:()=>p});var d=o(64225),t=o(92340),m=o(94650),P=o(80529);const n=`${t.N.standardApiEndpoint}/search-history`;class p{constructor(r){this.api=r}getSearchHistoryRecords(r,l){return this.api.get(`${n}/records?limit=${r}&offset=${l}`)}getBooksSearchHistoryRecords(r,l){return this.api.get(`${n}/records?limit=${r}&offset=${l}&resourceType=${d._.BOOKS}`)}getDocumentsSearchHistoryRecords(r,l,f,g){let T=`${n}/records?limit=${r}&offset=${l}&resourceType=${d._.DOCUMENTS}&contentType=${f}`;return g&&(T+=`&contentsHolderCode=${g}`),this.api.get(T)}postSearchHistoryRecord(r){this.api.post(`${n}/records`,r).subscribe({next:l=>{},error:l=>{console.error(l)}})}}p.\u0275fac=function(r){return new(r||p)(m.LFG(P.eN))},p.\u0275prov=m.Yz7({token:p,factory:p.\u0275fac,providedIn:"root"})},27686:(v,u,o)=>{o.d(u,{cl:()=>O,gf:()=>L});var d=o(36895),t=o(94650),m=o(3238),P=o(99818),n=o(46289),p=o(47462),c=o(98739),r=o(18455),l=o(24363);function f(e,_){if(1&e&&(t.TgZ(0,"mat-option",19),t._uU(1),t.qZA()),2&e){const a=_.$implicit;t.Q6J("value",a),t.xp6(1),t.hij(" ",a," ")}}function g(e,_){if(1&e){const a=t.EpF();t.TgZ(0,"mat-form-field",16)(1,"mat-select",17),t.NdJ("selectionChange",function(s){t.CHM(a);const D=t.oxw(2);return t.KtG(D._changePageSize(s.value))}),t.YNc(2,f,2,2,"mat-option",18),t.qZA()()}if(2&e){const a=t.oxw(2);t.Q6J("appearance",a._formFieldAppearance)("color",a.color),t.xp6(1),t.Q6J("value",a.pageSize)("disabled",a.disabled)("panelClass",a.selectConfig.panelClass||"")("disableOptionCentering",a.selectConfig.disableOptionCentering)("aria-label",a._intl.itemsPerPageLabel),t.xp6(1),t.Q6J("ngForOf",a._displayedPageSizeOptions)}}function T(e,_){if(1&e&&(t.TgZ(0,"div",20),t._uU(1),t.qZA()),2&e){const a=t.oxw(2);t.xp6(1),t.Oqu(a.pageSize)}}function b(e,_){if(1&e&&(t.TgZ(0,"div",12)(1,"div",13),t._uU(2),t.qZA(),t.YNc(3,g,3,8,"mat-form-field",14),t.YNc(4,T,2,1,"div",15),t.qZA()),2&e){const a=t.oxw();t.xp6(2),t.hij(" ",a._intl.itemsPerPageLabel," "),t.xp6(1),t.Q6J("ngIf",a._displayedPageSizeOptions.length>1),t.xp6(1),t.Q6J("ngIf",a._displayedPageSizeOptions.length<=1)}}function y(e,_){if(1&e){const a=t.EpF();t.TgZ(0,"button",21),t.NdJ("click",function(){t.CHM(a);const s=t.oxw();return t.KtG(s.firstPage())}),t.O4$(),t.TgZ(1,"svg",7),t._UZ(2,"path",22),t.qZA()()}if(2&e){const a=t.oxw();t.Q6J("matTooltip",a._intl.firstPageLabel)("matTooltipDisabled",a._previousButtonsDisabled())("matTooltipPosition","above")("disabled",a._previousButtonsDisabled()),t.uIk("aria-label",a._intl.firstPageLabel)}}function h(e,_){if(1&e){const a=t.EpF();t.O4$(),t.kcU(),t.TgZ(0,"button",23),t.NdJ("click",function(){t.CHM(a);const s=t.oxw();return t.KtG(s.lastPage())}),t.O4$(),t.TgZ(1,"svg",7),t._UZ(2,"path",24),t.qZA()()}if(2&e){const a=t.oxw();t.Q6J("matTooltip",a._intl.lastPageLabel)("matTooltipDisabled",a._nextButtonsDisabled())("matTooltipPosition","above")("disabled",a._nextButtonsDisabled()),t.uIk("aria-label",a._intl.lastPageLabel)}}const M=new t.OlP("MAT_LEGACY_PAGINATOR_DEFAULT_OPTIONS");let O=(()=>{class e extends c.n7{constructor(a,i,s){super(a,i,s),s&&null!=s.formFieldAppearance&&(this._formFieldAppearance=s.formFieldAppearance)}}return e.\u0275fac=function(a){return new(a||e)(t.Y36(c.ye),t.Y36(t.sBO),t.Y36(M,8))},e.\u0275cmp=t.Xpm({type:e,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-paginator"],inputs:{disabled:"disabled"},exportAs:["matPaginator"],features:[t.qOj],decls:14,vars:14,consts:[[1,"mat-paginator-outer-container"],[1,"mat-paginator-container"],["class","mat-paginator-page-size",4,"ngIf"],[1,"mat-paginator-range-actions"],[1,"mat-paginator-range-label"],["mat-icon-button","","type","button","class","mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-previous",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["viewBox","0 0 24 24","focusable","false",1,"mat-paginator-icon"],["d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-next",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button","class","mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click",4,"ngIf"],[1,"mat-paginator-page-size"],[1,"mat-paginator-page-size-label"],["class","mat-paginator-page-size-select",3,"appearance","color",4,"ngIf"],["class","mat-paginator-page-size-value",4,"ngIf"],[1,"mat-paginator-page-size-select",3,"appearance","color"],[3,"value","disabled","panelClass","disableOptionCentering","aria-label","selectionChange"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"mat-paginator-page-size-value"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled","click"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(a,i){1&a&&(t.TgZ(0,"div",0)(1,"div",1),t.YNc(2,b,5,3,"div",2),t.TgZ(3,"div",3)(4,"div",4),t._uU(5),t.qZA(),t.YNc(6,y,3,5,"button",5),t.TgZ(7,"button",6),t.NdJ("click",function(){return i.previousPage()}),t.O4$(),t.TgZ(8,"svg",7),t._UZ(9,"path",8),t.qZA()(),t.kcU(),t.TgZ(10,"button",9),t.NdJ("click",function(){return i.nextPage()}),t.O4$(),t.TgZ(11,"svg",7),t._UZ(12,"path",10),t.qZA()(),t.YNc(13,h,3,5,"button",11),t.qZA()()()),2&a&&(t.xp6(2),t.Q6J("ngIf",!i.hidePageSize),t.xp6(3),t.hij(" ",i._intl.getRangeLabel(i.pageIndex,i.pageSize,i.length)," "),t.xp6(1),t.Q6J("ngIf",i.showFirstLastButtons),t.xp6(1),t.Q6J("matTooltip",i._intl.previousPageLabel)("matTooltipDisabled",i._previousButtonsDisabled())("matTooltipPosition","above")("disabled",i._previousButtonsDisabled()),t.uIk("aria-label",i._intl.previousPageLabel),t.xp6(3),t.Q6J("matTooltip",i._intl.nextPageLabel)("matTooltipDisabled",i._nextButtonsDisabled())("matTooltipPosition","above")("disabled",i._nextButtonsDisabled()),t.uIk("aria-label",i._intl.nextPageLabel),t.xp6(3),t.Q6J("ngIf",i.showFirstLastButtons))}
1,dependencies:[d.sg,d.O5,P.eB,r.v_,n.x8,l.CK,p.Kd],styles:[".mat-paginator{display:block}.mat-paginator-outer-container{display:flex}.mat-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap-reverse;width:100%}.mat-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-paginator-page-size{margin-right:0;margin-left:8px}.mat-paginator-page-size-label{margin:0 4px}.mat-paginator-page-size-select{margin:6px 4px 0 4px;width:56px}.mat-paginator-page-size-select.mat-form-field-appearance-outline{width:64px}.mat-paginator-page-size-select.mat-form-field-appearance-fill{width:64px}.mat-paginator-range-label{margin:0 32px 0 24px}.mat-paginator-range-actions{display:flex;align-items:center}.mat-paginator-icon{display:inline-block;width:28px;fill:currentColor}[dir=rtl] .mat-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-paginator-icon{fill:CanvasText}"],encapsulation:2,changeDetection:0}),e})(),L=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({providers:[c.ik],imports:[d.ez,P.yu,n.uw,p.AA,m.BQ]}),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.