123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114openEzjs_minopenPromiseopenExtension_utilsopenBrowserclasstypewindow=objectmethodalwaysOnTop:booltpropmethodfocused:booltpropmethodheight:intoptdefpropmethodid:intoptdefpropmethodincognito:booltpropmethodleft:intoptdefpropmethodsessionId:js_stringtoptdefpropmethodstate:js_stringtoptdefpropmethodtabs:Tabs.tabtjs_arraytoptdefpropmethodtitle:js_stringtoptdefpropmethodtop:intoptdefpropmethod_type:js_stringtoptdefpropmethodwidth:intoptdefpropendclasstypegetInfo=objectmethodpopulate:booloptdefpropmethodwindowTypes:js_stringtjs_arraytoptdefpropendclasstypecreateData=objectmethodallowScriptsToClose:booltoptdefpropmethodcookieStoreId:intoptdefpropmethodfocused:booltoptdefpropmethodheight:intoptdefpropmethodincognito:booltoptdefpropmethodleft:intoptdefpropmethodstate:js_stringtoptdefpropmethodtabId:intoptdefpropmethodtitlePreface:js_stringtoptdefpropmethodtop:intoptdefpropmethod_type:js_stringtoptdefpropmethodurl:js_stringtoptdefpropmethodurl_arr:js_stringtjs_arraytoptdefpropmethodwidth:intoptdefpropendclasstypeupdateInfo=objectmethoddrawAttention:booltoptdefpropmethodfocused:booltoptdefpropmethodheight:intoptdefpropmethodleft:intoptdefpropmethodstate:js_stringtoptdefpropmethodtitlePreface:js_stringtoptdefpropmethodtop:intoptdefpropmethodwidth:intoptdefpropendclasstypewindows=objectmethod_WINDOW_ID_NONE:intpropmethod_WINDOW_ID_CURRENT:intpropmethodget:int->getInfotoptdef->windowtpromisetmethmethodgetCurrent:getInfotoptdef->windowtpromisetmethmethodgetLastFocused:getInfotoptdef->windowtpromisetmethmethodgetAll:getInfotoptdef->windowtjs_arraytpromisetmethmethodcreate:createDatatoptdef->windowtpromisetmethmethodupdate:int->updateInfot->windowtpromisetmethmethodremove:int->unitpromisetmethmethodonCreated:windowteventtpropmethodonRemoved:inteventtpropmethodonFocusChanged:inteventtpropendletmake_createData?url?url_l?tabId?left?top?width?height?focused?typ?state?allowScriptsToClose?cookieStoreId?titlePreface()=letdata:createDatat=Unsafe.obj[||]in(matchurl,url_lwith|Some_,None->data##.url:=optdefstringurl|None,Some_->data##.url_arr:=optdef(of_listfstring)url_l|None,None->()|_->log_str"cannot define both url and url_l for window creation");data##.tabId:=Optdef.optiontabId;data##.left:=Optdef.optionleft;data##.top:=Optdef.optiontop;data##.width:=Optdef.optionwidth;data##.height:=Optdef.optionheight;beginmatchfocusedwith|None->()|Some_->data##.focused:=optdefboolfocusedend;data##._type:=optdefstringtyp;data##.state:=optdefstringstate;data##.allowScriptsToClose:=optdefboolallowScriptsToClose;data##.cookieStoreId:=Optdef.optioncookieStoreId;data##.titlePreface:=optdefstringtitlePreface;dataletmake_updateInfo?left?top?width?height?focused?drawAttention?state?titlePreface()=letdata:updateInfot=Unsafe.obj[||]indata##.left:=Optdef.optionleft;data##.top:=Optdef.optiontop;data##.width:=Optdef.optionwidth;data##.height:=Optdef.optionheight;data##.focused:=optdefboolfocused;data##.drawAttention:=optdefbooldrawAttention;data##.state:=optdefstringstate;data##.titlePreface:=optdefstringtitlePreface;dataletwindows:windowst=Unsafe.global##.browser##.windowsletonCreatedhandler=addListener1windows##.onCreatedhandlerletonRemovedhandler=addListener1windows##.onRemovedhandlerletonFocusChangedhandler=addListener1windows##.onFocusChangedhandler