PageSourceSearch

https://nemolchi.kz/vm/chunk-CyAeOPma2.js

js nemolchi.kz collected 2026-10-05 22:39:27 UTC 5,518 bytes, 2 lines download raw bytes

1import{D,Ri as k,_t as K$1,at as Ie,zi as kD,zn as W$1}from"./chunk-B6M1Bjt5.js";import{o as b,s as j}from"./chunk-0SrEL-p72.js";import{s as x6,t as Ap}from"./chunk-CJ0O99UV.js";import{m as r,n as U$1,r as _,t as C}from"./chunk-4POXnEPv.js";import{n as p,t as o}from"./chunk-BXk7DH13.js";import{ft as y}from"./chunk-BcY68Qra.js";import{_ as w,i as G$1,p as Y,s as L,u as P$1}from"./chunk-BTGfdyPD.js";import{t as n}from"./chunk-D1OJXypn.js";import{t as i}from"./chunk-upBEhams.js";import{i as _$1,n as E$1}from"./chunk-BO99Vsvl.js";import{t as A}from"./chunk-C8L-pk_E.js";import{a as J,c as X$1}from"./chunk-BvdDSzOL.js";var B=Ap.object({id:Ap.number(),email:Ap.string()});var N=Ap.object({id:Ap.number(),name:Ap.string(),type:Ap.enum(i).optional(),virt_pool:Ap.record(Ap.string(),Ap.unknown()).optional()});var F=Ap.object({id:Ap.number(),name:Ap.string(),is_main:Ap.boolean().optional(),boot_order:Ap.number().optional(),bus:Ap.enum(J).optional(),iso_mounted:Ap.boolean().optional(),linked_clone:Ap.boolean().optional(),snapshot_count:Ap.number().optional(),state:Ap.enum(E$1).optional(),bill_options:Ap.object({image_gib:Ap.number().nullable(),image_limit_exceeded:Ap.boolean()}).optional()}).optional();var U=Ap.object({id:Ap.number(),name:Ap.string()}).nullable().optional();var z=Ap.object({id:Ap.number(),name:Ap.string(),manage_disk_enabled:Ap.boolean().optional(),virtualization_type:Ap.enum(n).optional()}).optional();var K=Ap.object({id:Ap.number(),name:Ap.string()});var P=Ap.object({id:Ap.number(),name:Ap.string(),is_main:Ap.boolean().optional(),boot_order:Ap.number().optional()});var T=C(Ap.object({id:Ap.number(),name:Ap.string(),target_dev:Ap.string(),size_mib:Ap.number(),size_mib_new:Ap.number().optional(),expand_part:Ap.string().nullable().optional(),iso:Ap.number().nullable().optional(),backup_count:Ap.number().optional(),type:Ap.enum(X$1),account:B.optional(),storage:N.optional(),host:F,node:U,cluster:z,tags:Ap.array(K).nullable().optional(),lun_id:Ap.number().nullable().optional(),wwn:Ap.string().optional(),is_shared:Ap.boolean().optional(),hosts:Ap.array(P).nullable().optional()}));var M=C(Ap.string());var W=Ap.object({id:Ap.number(),name:Ap.string().optional(),state:Ap.enum(_$1)});var E=Ap.object({id:Ap.number(),name:Ap.string(),type:Ap.enum(i),available_mib:Ap.number().optional()});var X=Ap.object({node:W,storage:E,state:Ap.enum(A),available_mib:Ap.number()});var G=Ap.object({node:Ap.object({id:Ap.number(),state:Ap.enum(_$1)}),storage:E.extend({available_mib:Ap.number()}),state:Ap.enum(A)});var O=C(X);var V=C(G);var St=(()=>{class o$1{#t=D(y);getDiskList(e){return this.#t.getDiskList(_(e),void 0,U$1(e)).pipe(Ie(i=>x6(T,i)))}getHardDriveList(e){return this.getDiskList(K$1(W$1({},e),{where:P$1(e?.where,L(`type`,X$1.HARD_DRIVE))}))}getHardDriveAndCdromList(e){return this.getDiskList(K$1(W$1({},e),{where:P$1(e?.where,G$1(`type`,[X$1.HARD_DRIVE,X$1.CDROM]))}))}getCdromList(e){return this.getDiskList(K$1(W$1({},e),{where:P$1(e?.where,L(`type`,X$1.CDROM))}))}getHostCdromList(e){return this.getCdromList({where:G$1(`host.id`,e)})}getHostHardDriveList(e){return this.getHardDriveList({where:G$1(`host.id`,e)})}getHostHardDriveAndBlockDeviceList(e){return this.getDiskList({where:P$1(G$1(`host.id`,e),G$1(`type`,[X$1.HARD_DRIVE,X$1.BLOCK_DEVICE]))})}getDiskByID(e){return this.getDiskList({where:w(e)}).pipe(Y())}migrateDisk(e,i){return this.#t.migrateDisk(e,i).pipe(Ie(r$1=>x6(r,r$1)))}getDiskMigrateLocalStorages(e,i){return this.#t.localStorageListToMigrateDisk(e,void 0,U$1(i)).pipe(Ie(r=>x6(O,r)))}getDiskMigrateLocalStoragesFilterOptions(e,i){return this.#t.localStorageListToMigrateDisk(e,void 0,{params:{filter:i}}).pipe(Ie(r=>x6(M,r)))}getDiskMigrateNetworkStorages(e,i){return this.#t.networkStorageListToMigrateDisk(e,void 0,U$1(i)).pipe(Ie(r=>x6(V,r)))}getDiskMigrateNetworkStoragesFilterOptions(e,i){return this.#t.networkStorageListToMigrateDisk(e,void 0,{params:{filter:i}}).pipe(Ie(r=>x6(M,r)))}createDisk(e){return this.#t.createDisk(e).pipe(Ie(i=>x6(r,i)))}editDisk(e,i){return this.#t.editDisk(e,i).pipe(Ie(r$2=>x6(r,r$2)))}deleteDisk(e){return this.#t.removeDisk(e).pipe(Ie(i=>x6(r,i)))}restoreDisk(e,i){return this.#t.restoreDisk(e,i).pipe(Ie(r$3=>x6(r,r$3)))}getEditDiskBatchUrl(e){return j(p(this.#t,this.#t.editDisk,e,{}))}getDiskByIDUrl(e){return o(this.#t,this.#t.getDiskList,{where:w(e)})}getHardDriveListBatchUrl(e){let i=P$1(e?.where,L(`type`,X$1.HARD_DRIVE));return j(p(this.#t,this.#t.getDiskList,{where:i},void 0,U$1(K$1(W$1({},e),{where:i}))))}static{this.ɵfac=function(i){return new(i||o$1)}}static{this.ɵprov=k({token:o$1,factory:o$1.ɵfac})}}return o$1})();var yt=(()=>{class o{#t=D(y);#e=D(b);groupDeleteDisk(e){return this.#e.request(e.map(i=>({service:this.#t,method:this.#t.removeDisk,args:[i]})))}groupEditDisk(e){return this.#e.request(e.map(Y=>{var x=Y,{id:i}=x,r=kD(x,[`id`]);return{service:this.#t,method:this.#t.editDisk,args:[i,r]}}))}groupMigrateDisk(e,i){return this.#e.request(e.map(r=>({service:this.#t,method:this.#t.migrateDisk,args:[r.id,K$1(W$1({},i),{storage:r.dst_storage})]})))}groupRestoreDisk(e){return this.#e.request(e.map(i=>({service:this.#t,method:this.#t.restoreDisk,args:[i.disk.id,{backup:i.id}]})))}groupEditConnectedDisks(e){return this.groupEditDisk(e)}static{this.ɵfac=function(i){return new(i||o)}}static{this.ɵprov=k({token:o,factory:o.ɵfac})}}return o}
1)();function Rt(o){return o?`size_mib`in o&&`storage`in o:!1}export{St as n,yt as r,Rt as t};
2//# debugId=4b25da9c-7d9a-5735-ba80-557035d3421c

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.