luckysheet.umd.js 3.0 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511
  1. /*! @preserve
  2. * luckysheet
  3. * version: 2.1.13
  4. * https://github.com/mengshukeji/Luckysheet
  5. */
  6. var luckysheet=(()=>{var E1=Object.create,si=Object.defineProperty,N1=Object.defineProperties,P1=Object.getOwnPropertyDescriptor,L1=Object.getOwnPropertyDescriptors,z1=Object.getOwnPropertyNames,cu=Object.getOwnPropertySymbols,O1=Object.getPrototypeOf,uu=Object.prototype.hasOwnProperty,B1=Object.prototype.propertyIsEnumerable;var hu=(e,n,t)=>n in e?si(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Ue=(e,n)=>{for(var t in n||(n={}))uu.call(n,t)&&hu(e,t,n[t]);if(cu)for(var t of cu(n))B1.call(n,t)&&hu(e,t,n[t]);return e},du=(e,n)=>N1(e,L1(n)),H1=e=>si(e,"__esModule",{value:!0});var $e=(e,n)=>()=>(e&&(n=e(e=0)),n),kl=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),V1=(e,n)=>{for(var t in n)si(e,t,{get:n[t],enumerable:!0})},q1=(e,n,t)=>{if(n&&typeof n=="object"||typeof n=="function")for(let l of z1(n))!uu.call(e,l)&&l!=="default"&&si(e,l,{get:()=>n[l],enumerable:!(t=P1(n,l))||t.enumerable});return e},Nl=e=>q1(H1(si(e!=null?E1(O1(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var j1,me,Sl=$e(()=>{j1={autoFormatw:!1,accuracy:void 0,total:0,allowCopy:!0,showtoolbar:!0,showinfobar:!0,showsheetbar:!0,showstatisticBar:!0,pointEdit:!1,pointEditUpdate:null,pointEditZoom:1,userInfo:!1,userMenuItem:[],myFolderUrl:null,functionButton:null,showConfigWindowResize:!0,enableAddRow:!0,addRowCount:100,enableAddBackTop:!0,enablePage:!0,pageInfo:null,editMode:!1,beforeCreateDom:null,workbookCreateBefore:null,workbookCreateAfter:null,remoteFunction:null,fireMousedown:null,plugins:[],forceCalculation:!1,defaultColWidth:73,defaultRowHeight:19,defaultTextColor:"#000",defaultCellColor:"#fff"},me=j1});var U1,h,Xe=$e(()=>{U1={container:null,loadingObj:{},luckysheetfile:null,defaultcolumnNum:60,defaultrowNum:84,fullscreenmode:!0,devicePixelRatio:1,currentSheetIndex:0,calculateSheetIndex:0,flowdata:[],config:{},visibledatarow:[],visibledatacolumn:[],ch_width:0,rh_height:0,cellmainWidth:0,cellmainHeight:0,toolbarHeight:0,infobarHeight:0,calculatebarHeight:0,rowHeaderWidth:46,columnHeaderHeight:20,cellMainSrollBarSize:12,sheetBarHeight:31,statisticBarHeight:23,luckysheetTableContentHW:[0,0],defaultcollen:73,defaultrowlen:19,jfcountfuncTimeout:null,jfautoscrollTimeout:null,luckysheet_select_status:!1,luckysheet_select_save:[{row:[0,0],column:[0,0]}],luckysheet_selection_range:[],luckysheet_copy_save:{},luckysheet_paste_iscut:!1,filterchage:!0,luckysheet_filter_save:{row:[],column:[]},luckysheet_sheet_move_status:!1,luckysheet_sheet_move_data:[],luckysheet_scroll_status:!1,luckysheetisrefreshdetail:!0,luckysheetisrefreshtheme:!0,luckysheetcurrentisPivotTable:!1,luckysheet_rows_selected_status:!1,luckysheet_cols_selected_status:!1,luckysheet_rows_change_size:!1,luckysheet_rows_change_size_start:[],luckysheet_cols_change_size:!1,luckysheet_cols_change_size_start:[],luckysheet_cols_dbclick_timeout:null,luckysheet_cols_dbclick_times:0,luckysheetCellUpdate:[],luckysheet_shiftpositon:null,iscopyself:!0,orderbyindex:0,luckysheet_model_move_state:!1,luckysheet_model_xy:[0,0],luckysheet_model_move_obj:null,luckysheet_cell_selected_move:!1,luckysheet_cell_selected_move_index:[],luckysheet_cell_selected_extend:!1,luckysheet_cell_selected_extend_index:[],luckysheet_cell_selected_extend_time:null,clearjfundo:!0,jfundo:[],jfredo:[],lang:"en",createChart:"",highlightChart:"",zIndex:15,chartparam:{luckysheetCurrentChart:null,luckysheetCurrentChartActive:!1,luckysheetCurrentChartMove:null,luckysheetCurrentChartMoveTimeout:null,luckysheetCurrentChartMoveObj:null,luckysheetCurrentChartMoveXy:null,luckysheetCurrentChartMoveWinH:null,luckysheetCurrentChartMoveWinW:null,luckysheetCurrentChartResize:null,luckysheetCurrentChartResizeObj:null,luckysheetCurrentChartResizeXy:null,luckysheetCurrentChartResizeWinH:null,luckysheetCurrentChartResizeWinW:null,luckysheetInsertChartTosheetChange:!0,luckysheetCurrentChartZIndexRank:100,luckysheet_chart_redo_click:!1,luckysheetCurrentChartMaxState:!1,jfrefreshchartall:"",changeChartCellData:"",renderChart:"",getChartJson:""},functionList:null,luckysheet_function:null,chart_selection:{},currentChart:"",scrollRefreshSwitch:!0,measureTextCache:{},measureTextCellInfoCache:{},measureTextCacheTimeOut:null,cellOverflowMapCache:{},zoomRatio:1,visibledatacolumn_unique:null,visibledatarow_unique:null,showGridLines:!0,toobarObject:{},inlineStringEditCache:null,inlineStringEditRange:null,fontList:[],defaultFontSize:10,currentSheetView:"viewNormal",cooperativeEdit:{usernameTimeout:{},changeCollaborationSize:[],allDataColumnlen:[],merge_range:{},checkoutData:[]},asyncLoad:["core"],defaultCell:{bg:null,bl:0,ct:{fa:"General",t:"n"},fc:"rgb(51, 51, 51)",ff:0,fs:11,ht:1,it:0,vt:1,m:"",v:""},conditionFormatCells:{}},h=U1});function fe(e){return e==null||e.toString().replace(/\s/g,"")==""}function B(e){return!(e==null||e.toString().replace(/\s/g,"")===""||typeof e=="boolean"||isNaN(e))}function H(e){let n=!1;for(let t in Me)if(e==Me[t]){n=!0;break}return n}function $n(e){return!!/[\u4E00-\u9FA5]|[\uFE30-\uFFA0]/gi.exec(e)}function de(){return!!me.editMode}function Pl(){return!!h.allowEdit}function Nt(e,n,t,l,a){let o=!1;for(let s in h.config.merge){let u=e.merge[s];if(n<u.r){if(t>=u.r&&t<u.r+u.rs-1){if(l>=u.c&&l<=u.c+u.cs-1){o=!0;break}else if(a>=u.c&&a<=u.c+u.cs-1){o=!0;break}else if(l<u.c&&a>u.c+u.cs-1){o=!0;break}}else if(t>=u.r&&t==u.r+u.rs-1){if(l>u.c&&l<u.c+u.cs-1){o=!0;break}else if(a>u.c&&a<u.c+u.cs-1){o=!0;break}else if(l==u.c&&a<u.c+u.cs-1){o=!0;break}else if(l>u.c&&a==u.c+u.cs-1){o=!0;break}}else if(t>u.r+u.rs-1){if(l>u.c&&l<=u.c+u.cs-1){o=!0;break}else if(a>=u.c&&a<u.c+u.cs-1){o=!0;break}else if(l==u.c&&a<u.c+u.cs-1){o=!0;break}else if(l>u.c&&a==u.c+u.cs-1){o=!0;break}}}else if(n==u.r){if(t<u.r+u.rs-1){if(l>=u.c&&l<=u.c+u.cs-1){o=!0;break}else if(a>=u.c&&a<=u.c+u.cs-1){o=!0;break}else if(l<u.c&&a>u.c+u.cs-1){o=!0;break}}else if(t>=u.r+u.rs-1){if(l>u.c&&l<=u.c+u.cs-1){o=!0;break}else if(a>=u.c&&a<u.c+u.cs-1){o=!0;break}else if(l==u.c&&a<u.c+u.cs-1){o=!0;break}else if(l>u.c&&a==u.c+u.cs-1){o=!0;break}}}else if(n<=u.r+u.rs-1){if(l>=u.c&&l<=u.c+u.cs-1){o=!0;break}else if(a>=u.c&&a<=u.c+u.cs-1){o=!0;break}else if(l<u.c&&a>u.c+u.cs-1){o=!0;break}}}return o}function rs(e){return Math.ceil(e.charCodeAt().toString(2).length/8)}var Me,Pt=$e(()=>{Sl();Xe();Me={v:"#VALUE!",n:"#NAME?",na:"#N/A",r:"#REF!",d:"#DIV/0!",nm:"#NUM!",nl:"#NULL!",sp:"#SPILL!"}});function G1(e){return Math.floor(e)===e}function fu(e){var n={times:1,num:0};if(G1(e))return n.num=e,n;var t=e+"",l=t.indexOf("."),a=t.substr(l+1).length,o=Math.pow(10,a),s=parseInt(e*o+.5,10);return n.times=o,n.num=s,n}function ci(e,n,t){var l=fu(e),a=fu(n),o=l.num,s=a.num,u=l.times,d=a.times,f=u>d?u:d,m=null;switch(t){case"add":return u===d?m=o+s:u>d?m=o+s*(u/d):m=o*(d/u)+s,m/f;case"subtract":return u===d?m=o-s:u>d?m=o-s*(u/d):m=o*(d/u)-s,m/f;case"multiply":return m=o*s/(u*d),m;case"divide":return m=function(){var g=o/s,y=d/u;return ci(g,y,"multiply")}()}}function W1(e,n){if(n||(n=2),!B(e))return e;let t=e.toFixed(n),l=t.indexOf("."),a=t.substring(0,l),o=t.substring(l+1,t.length);if(o)for(let s=o.length-1;s!=0&&!(o.charAt(s)!="0"&&s==o.length-1);s--)o=o.substring(0,s);return Number(a+"."+o)}var mu=$e(()=>{Pt();Number.prototype.add=function(e){let n=parseFloat(e);if(typeof n!="number"||Number.isNaN(n))throw new Error("\u8BF7\u8F93\u5165\u6570\u5B57\u6216\u8005\u6570\u5B57\u5B57\u7B26\u4E32\uFF5E");return ci(this,n,"add")};Number.prototype.subtract=function(e){let n=parseFloat(e);if(typeof n!="number"||Number.isNaN(n))throw new Error("\u8BF7\u8F93\u5165\u6570\u5B57\u6216\u8005\u6570\u5B57\u5B57\u7B26\u4E32\uFF5E");return ci(this,n,"subtract")};Number.prototype.multiply=function(e){let n=parseFloat(e);if(typeof n!="number"||Number.isNaN(n))throw new Error("\u8BF7\u8F93\u5165\u6570\u5B57\u6216\u8005\u6570\u5B57\u5B57\u7B26\u4E32\uFF5E");return ci(this,n,"multiply")};Number.prototype.divide=function(e){let n=parseFloat(e);if(typeof n!="number"||Number.isNaN(n))throw new Error("\u8BF7\u8F93\u5165\u6570\u5B57\u6216\u8005\u6570\u5B57\u5B57\u7B26\u4E32\uFF5E");return ci(this,n,"divide")};Number.prototype.tofixed=function(e){let n=parseFloat(e);if(typeof n!="number"||Number.isNaN(n))throw new Error("\u8BF7\u8F93\u5165\u6570\u5B57\u6216\u8005\u6570\u5B57\u5B57\u7B26\u4E32\uFF5E");return W1(this,n)}});var pu,gu=$e(()=>{pu={container:"luckysheet",loading:{},column:60,row:84,allowCopy:!0,showtoolbar:!0,showinfobar:!0,showsheetbar:!0,showstatisticBar:!0,pointEdit:!1,pointEditUpdate:null,pointEditZoom:1,data:[{name:"Sheet1",color:"",status:"1",order:"0",data:[],config:{},index:0},{name:"Sheet2",color:"",status:"0",order:"1",data:[],config:{},index:1},{name:"Sheet3",color:"",status:"0",order:"2",data:[],config:{},index:2}],title:"Luckysheet Demo",userInfo:!1,userMenuItem:[{url:"www.baidu.com",icon:'<i class="fa fa-folder" aria-hidden="true"></i>',name:"\u6211\u7684\u8868\u683C"},{url:"www.baidu.com",icon:'<i class="fa fa-sign-out" aria-hidden="true"></i>',name:"\u9000\u51FA\u767B\u9646"}],myFolderUrl:"www.baidu.com",config:{},fullscreenmode:!0,devicePixelRatio:window.devicePixelRatio,allowEdit:!0,loadUrl:"",loadSheetUrl:"",gridKey:"",updateUrl:"",updateImageUrl:"",allowUpdate:!1,functionButton:"",showConfigWindowResize:!0,enableAddRow:!0,enableAddBackTop:!0,autoFormatw:!1,accuracy:void 0,pageInfo:{queryExps:"",reportId:"",fields:"",mobile:"",frezon:"",currentPage:"",totalPage:10,pageUrl:""},editMode:!1,beforeCreateDom:null,fireMousedown:null,lang:"en",plugins:[],forceCalculation:!1,rowHeaderWidth:46,columnHeaderHeight:20,defaultColWidth:73,defaultRowHeight:19,defaultFontSize:10,limitSheetNameLength:!0,defaultSheetNameMaxLength:31,sheetFormulaBar:!0,showtoolbarConfig:{},showsheetbarConfig:{},showstatisticBarConfig:{},cellRightClickConfig:{},sheetRightClickConfig:{},imageUpdateMethodConfig:{}}});var yu,vu=$e(()=>{yu={functionlist:{SUMIF:{d:"Returns a conditional sum across a range.",a:"A conditional sum across a range.",p:[{name:"range",detail:"The range which is tested against `criterion`."},{name:"criterion",detail:"The pattern or test to apply to `range`."},{name:"sum_range",detail:"The range to be summed, if different from `range`."}]},TAN:{d:"Returns the tangent of an angle provided in radians.",a:"Tangent of an angle provided in radians.",p:[{name:"angle",detail:"The angle to find the tangent of, in radians."}]},TANH:{d:"Returns the hyperbolic tangent of any real number.",a:"Hyperbolic tangent of any real number.",p:[{name:"value",detail:"Any real value to calculate the hyperbolic tangent of."}]},CEILING:{d:"Rounds a number up to the nearest integer multiple of specified significance `factor`.",a:"Rounds number up to nearest multiple of a factor.",p:[{name:"value",detail:"The value to round up to the nearest integer multiple of `factor`."},{name:"factor",detail:"The number to whose multiples `value` will be rounded."}]},ATAN:{d:"Returns the inverse tangent of a value, in radians.",a:"Inverse tangent of a value, in radians.",p:[{name:"value",detail:"The value for which to calculate the inverse tangent."}]},ASINH:{d:"Returns the inverse hyperbolic sine of a number.",a:"Inverse hyperbolic sine of a number.",p:[{name:"value",detail:"The value for which to calculate the inverse hyperbolic sine."}]},ABS:{d:"Returns the absolute value of a number.",a:"Absolute value of a number.",p:[{name:"value",detail:"The number of which to return the absolute value."}]},ACOS:{d:"Returns the inverse cosine of a value, in radians.",a:"Inverse cosine of a value, in radians.",p:[{name:"value",detail:"The value for which to calculate the inverse cosine. Must be between `-1` and `1`, inclusive."}]},ACOSH:{d:"Returns the inverse hyperbolic cosine of a number.",a:"Inverse hyperbolic cosine of a number.",p:[{name:"value",detail:"The value for which to calculate the inverse hyperbolic cosine. Must be greater than or equal to `1`."}]},MULTINOMIAL:{d:"Returns the factorial of the sum of values divided by the product of the values' factorials.",a:"Multinomial distribution function.",p:[{name:"value1",detail:"The first value or range to consider."},{name:"value2",detail:"Additional values or ranges to consider."}]},ATANH:{d:"Returns the inverse hyperbolic tangent of a number.",a:"Inverse hyperbolic tangent of a number.",p:[{name:"value",detail:"The value for which to calculate the inverse hyperbolic tangent. Must be between -1 and 1, exclusive."}]},ATAN2:{d:"Returns the angle between the x-axis and a line segment from the origin (0,0) to specified coordinate pair (`x`,`y`), in radians.",a:"Arctangent of a value.",p:[{name:"x",detail:"The x coordinate of the endpoint of the line segment for which to calculate the angle from the x-axis."},{name:"y",detail:"The y coordinate of the endpoint of the line segment for which to calculate the angle from the x-axis."}]},COUNTBLANK:{d:"Returns the number of empty values in a list of values and ranges.",a:"Number of empty values.",p:[{name:"value1",detail:"The first value or range in which to count the number of blanks."}]},COSH:{d:"Returns the hyperbolic cosine of any real number.",a:"Hyperbolic cosine of any real number.",p:[{name:"value",detail:"Any real value to calculate the hyperbolic cosine of."}]},INT:{d:"Rounds a number down to the nearest integer that is less than or equal to it.",a:"Rounds number down to nearest integer.",p:[{name:"value",detail:"The value to round down to the nearest integer."}]},ISEVEN:{d:"Checks whether the provided value is even.",a:"Whether the provided value is even.",p:[{name:"value",detail:"The value to be verified as even."}]},ISODD:{d:"Checks whether the provided value is odd.",a:"Whether the provided value is odd.",p:[{name:"value",detail:"The value to be verified as odd."}]},LCM:{d:"Returns the least common multiple of one or more integers.",a:"Least common multiple of one or more integers.",p:[{name:"value1",detail:"The first value or range whose factors to consider in a calculation to find the least common multiple."},{name:"value2",detail:"Additional values or ranges whose factors to consider to find the least common multiple."}]},LN:{d:"Returns the logarithm of a number, base e (Euler's number).",a:"The logarithm of a number, base e (euler's number).",p:[{name:"value",detail:"The value for which to calculate the logarithm, base e."}]},LOG:{d:"Returns the logarithm of a number with respect to a base.",a:"The logarithm of a number with respect to a base.",p:[{name:"value",detail:"The value for which to calculate the logarithm."},{name:"base",detail:"The base to use for calculation of the logarithm."}]},LOG10:{d:"Returns the logarithm of a number, base 10.",a:"The logarithm of a number, base 10.",p:[{name:"value",detail:"The value for which to calculate the logarithm, base 10."}]},MOD:{d:"Returns the result of the modulo operator, the remainder after a division operation.",a:"Modulo (remainder) operator.",p:[{name:"dividend",detail:"The number to be divided to find the remainder."},{name:"divisor",detail:"The number to divide by."}]},MROUND:{d:"Rounds one number to the nearest integer multiple of another.",a:"Rounds a number to the nearest integer multiple.",p:[{name:"value",detail:"The number to round to the nearest integer multiple of another."},{name:"factor",detail:"The number to whose multiples `value` will be rounded."}]},ODD:{d:"Rounds a number up to the nearest odd integer.",a:"Rounds a number up to the nearest odd integer.",p:[{name:"value",detail:"The value to round to the next greatest odd number."}]},SUMSQ:{d:"Returns the sum of the squares of a series of numbers and/or cells.",a:"Sum of squares.",p:[{name:"value1",detail:"The first number or range whose squares to add together."},{name:"value2",detail:"Additional numbers or ranges whose squares to add to the square(s) of `value1`."}]},COMBIN:{d:"Returns the number of ways to choose some number of objects from a pool of a given size of objects.",a:"Number of combinations from a set of objects.",p:[{name:"n",detail:"The size of the pool of objects to choose from."},{name:"k",detail:"The number of objects to choose."}]},SUM:{d:"Returns the sum of a series of numbers and/or cells.",a:"Sum of a series of numbers and/or cells.",p:[{name:"value1",detail:"The first number or range to add together."},{name:"value2",detail:"Additional numbers or ranges to add to `value1`."}]},SUBTOTAL:{d:"Returns a subtotal for a vertical range of cells using a specified aggregation function.",a:"Subtotal for a range using a specific function.",p:[{name:"function_code",detail:"The function to use in subtotal aggregation."},{name:"range1",detail:"The first range over which to calculate a subtotal."},{name:"range2",detail:"Additional ranges over which to calculate subtotals."}]},ASIN:{d:"Returns the inverse sine of a value, in radians.",a:"Inverse sine of a value, in radians.",p:[{name:"value",detail:"The value for which to calculate the inverse sine. Must be between `-1` and `1`, inclusive."}]},COUNTIF:{d:"Returns a conditional count across a range.",a:"A conditional count across a range.",p:[{name:"range",detail:"The range that is tested against `criterion`."},{name:"criterion",detail:"The pattern or test to apply to `range`."}]},RADIANS:{d:"Converts an angle value in degrees to radians.",a:"Converts an angle value in degrees to radians.",p:[{name:"angle",detail:"The angle to convert from degrees to radians."}]},RAND:{d:"Returns a random number between 0 inclusive and 1 exclusive.",a:"A random number between 0 inclusive and 1 exclusive.",p:[]},COUNTUNIQUE:{d:"Counts the number of unique values in a list of specified values and ranges.",a:"Counts number of unique values in a range.",p:[{name:"value1",detail:"The first value or range to consider for uniqueness."},{name:"value2",detail:"Additional values or ranges to consider for uniqueness."}]},DEGREES:{d:"Converts an angle value in radians to degrees.",a:"Converts an angle value in radians to degrees.",p:[{name:"angle",detail:"The angle to convert from radians to degrees."}]},ERFC:{d:"Returns the complementary Gauss error function of a value.",a:"Complementary gauss error function of a value.",p:[{name:"z",detail:"The number for which to calculate the complementary Gauss error function."}]},EVEN:{d:"Rounds a number up to the nearest even integer.",a:"Rounds a number up to the nearest even integer.",p:[{name:"value",detail:"The value to round to the next greatest even number."}]},EXP:{d:"Returns Euler's number, e (~2.718) raised to a power.",a:"Euler's number, e (~2.718) raised to a power.",p:[{name:"exponent",detail:"The exponent to raise e to."}]},FACT:{d:"Returns the factorial of a number.",a:"Factorial of a number.",p:[{name:"value",detail:"The number or reference to a number whose factorial will be calculated and returned."}]},FACTDOUBLE:{d:'Returns the "double factorial" of a number.',a:'"double factorial" of a number.',p:[{name:"value",detail:"The number or reference to a number whose double factorial will be calculated and returned."}]},PI:{d:"Returns the value of Pi to 14 decimal places.",a:"The number pi.",p:[]},FLOOR:{d:"Rounds a number down to the nearest integer multiple of specified significance `factor`.",a:"Rounds number down to nearest multiple of a factor.",p:[{name:"value",detail:"The value to round down to the nearest integer multiple of `factor`."},{name:"factor",detail:"The number to whose multiples `value` will be rounded."}]},GCD:{d:"Returns the greatest common divisor of one or more integers.",a:"Greatest common divisor of one or more integers.",p:[{name:"value1",detail:"The first value or range whose factors to consider in a calculation to find the greatest common divisor."},{name:"value2",detail:"Additional values or ranges whose factors to consider to find the greatest common divisor."}]},RANDBETWEEN:{d:"Returns a uniformly random integer between two values, inclusive.",a:"Random integer between two values, inclusive.",p:[{name:"low",detail:"The low end of the random range."},{name:"high",detail:"The high end of the random range."}]},ROUND:{d:"Rounds a number to a certain number of decimal places according to standard rules.",a:"Rounds a number according to standard rules.",p:[{name:"value",detail:"The value to round to `places` number of places."},{name:"places",detail:"The number of decimal places to which to round."}]},ROUNDDOWN:{d:"Rounds a number to a certain number of decimal places, always rounding down to the next valid increment.",a:"Rounds down a number.",p:[{name:"value",detail:"The value to round to `places` number of places, always rounding down."},{name:"places",detail:"The number of decimal places to which to round."}]},ROUNDUP:{d:"Rounds a number to a certain number of decimal places, always rounding up to the next valid increment.",a:"Rounds up a number.",p:[{name:"value",detail:"The value to round to `places` number of places, always rounding up."},{name:"places",detail:"The number of decimal places to which to round."}]},SERIESSUM:{d:"Given parameters `x`, `n`, `m`, and `a`, returns the power series sum a",a:"Sum of a power series.",p:[{name:"x",detail:"The input to the power series. Varies depending on the type of approximation, may be angle, exponent, or some other value."},{name:"n",detail:"The initial power to which to raise `x` in the power series."},{name:"m",detail:"The additive increment by which to increase `x`."},{name:"a",detail:"The array or range containing the coefficients of the power series."}]},SIGN:{d:"Given an input number, returns `-1` if it is negative, `1` if positive, and `0` if it is zero.",a:"Sign of a provided number (+/-/0).",p:[{name:"value",detail:"The value whose sign will be evaluated."}]},SIN:{d:"Returns the sine of an angle provided in radians.",a:"Sine of an angle provided in radians.",p:[{name:"angle",detail:"The angle to find the sine of, in radians."}]},SINH:{d:"Returns the hyperbolic sine of any real number.",a:"Hyperbolic sine of any real number.",p:[{name:"value",detail:"Any real value to calculate the hyperbolic sine of."}]},SQRT:{d:"Returns the positive square root of a positive number.",a:"Positive square root of a positive number.",p:[{name:"value",detail:"The number for which to calculate the positive square root."}]},SQRTPI:{d:"Returns the positive square root of the product of Pi and the given positive number.",a:"Square root of the product of pi and number.",p:[{name:"value",detail:"The number which will be multiplied by Pi and have the product's square root returned"}]},GAMMALN:{d:"Returns the logarithm of a specified Gamma function, base e (Euler's number).",a:"Logarithm of gamma function.",p:[{name:"value",detail:"The input to the Gamma function. The natural logarithm of Gamma(`value`) will be returned."}]},COS:{d:"Returns the cosine of an angle provided in radians.",a:"Cosine of an angle provided in radians.",p:[{name:"angle",detail:"The angle to find the cosine of, in radians."}]},TRUNC:{d:"Truncates a number to a certain number of significant digits by omitting less significant digits.",a:"Truncates a number.",p:[{name:"value",detail:"The value to be truncated."},{name:"places",detail:"The number of significant digits to the right of the decimal point to retain."}]},QUOTIENT:{d:"Returns one number divided by another.",a:"One number divided by another.",p:[{name:"dividend",detail:"The number to be divided."},{name:"divisor",detail:"The number to divide by."}]},POWER:{d:"Returns a number raised to a power.",a:"A number raised to a power.",p:[{name:"base",detail:"The number to raise to the `exponent` power."},{name:"exponent",detail:"The exponent to raise `base` to."}]},SUMIFS:{d:"Returns the sum of a range depending on multiple criteria.",a:"Sums a range depending on multiple criteria.",p:[{name:"sum_range",detail:"The range to sum."},{name:"criteria_range1",detail:"The range to check against criterion1."},{name:"criterion1",detail:"The pattern or test to apply to criteria_range1."},{name:"criteria_range2",detail:"Additional ranges to check."}]},GET_TARGET:{d:"Query target data.",a:"Query target data.",p:[]},GET_AIRTABLE_DATA:{d:"Query AirTable data.",a:"Query AirTable data.",p:[{name:"AirTable url",detail:"AirTable url address."},{name:"sort_column",detail:"The index of the column in current AirTable view containing the values by which to sort."},{name:"is_ascending",detail:"[Optional] - 1 or 0 indicating whether to sort `sort_column` in ascending order. 0 sorts in descending order.1 sorts in ascending order."}]},ASK_AI:{d:"Ask the AI questions.",a:"Ask the AI questions.",p:[{name:"question",detail:"Consult AI for the data you want."},{name:"criteria_range",detail:"In which range to process the data."}]},COUNTIFS:{d:"Returns the count of a range depending on multiple criteria.",a:"Count values depending on multiple criteria.",p:[{name:"criteria_range1",detail:"The range to check against `criterion1`."},{name:"criterion1",detail:"The pattern or test to apply to `criteria_range1`."},{name:"criteria_range2",detail:"Additional ranges to check."}]},PRODUCT:{d:"Returns the result of multiplying a series of numbers together.",a:"Result of multiplying a series of numbers together.",p:[{name:"factor1",detail:"The first number or range to calculate for the product."},{name:"factor2",detail:"More numbers or ranges to calculate for the product."}]},HARMEAN:{d:"Calculates the harmonic mean of a dataset.",a:"The harmonic mean of a dataset.",p:[{name:"value1",detail:"The first value or range of the population."},{name:"value2",detail:"Additional values or ranges to include in the population."}]},HYPGEOMDIST:{d:"Calculates the probability of drawing a certain number of successes in a certain number of tries given a population of a certain size containing a certain number of successes, without replacement of draws.",a:"Hypergeometric distribution probability.",p:[{name:"num_successes",detail:"The desired number of successes."},{name:"num_draws",detail:"The number of permitted draws."},{name:"successes_in_pop",detail:"The total number of successes in the population."},{name:"pop_size",detail:"The total size of the population"},{name:"cumulative",detail:`Determine the logical value of the function form.
  7. If cumulative is TRUE(), HYPGEOM.DIST returns the cumulative distribution function;
  8. if FALSE(), it returns the probability density function.`}]},INTERCEPT:{d:"Calculates the y-value at which the line resulting from linear regression of a dataset will intersect the y-axis (x=0).",a:"Y-intercept of line derived via linear regression.",p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data."},{name:"data_x",detail:"The range representing the array or matrix of independent data."}]},KURT:{d:'Calculates the kurtosis of a dataset, which describes the shape, and in particular the "peakedness" of that dataset.',a:"Kurtosis of a dataset.",p:[{name:"value1",detail:"The first value or range of the dataset."},{name:"value2",detail:"Additional values or ranges to include in the dataset."}]},LARGE:{d:"Returns the nth largest element from a data set, where n is user-defined.",a:"Nth largest element from a data set.",p:[{name:"data",detail:"Array or range containing the dataset to consider."},{name:"n",detail:"The rank from largest to smallest of the element to return."}]},STDEVA:{d:"Calculates the standard deviation based on a sample, setting text to the value `0`.",a:"Standard deviation of sample (text as 0).",p:[{name:"value1",detail:"The first value or range of the sample."},{name:"value2",detail:"Additional values or ranges to include in the sample."}]},STDEVP:{d:"Calculates the standard deviation based on an entire population.",a:"Standard deviation of an entire population.",p:[{name:"value1",detail:"The first value or range of the population."},{name:"value2",detail:"Additional values or ranges to include in the population."}]},GEOMEAN:{d:"Calculates the geometric mean of a dataset.",a:"The geometric mean of a dataset.",p:[{name:"value1",detail:"The first value or range of the population."},{name:"value2",detail:"Additional values or ranges to include in the population."}]},RANK_EQ:{d:"Returns the rank of a specified value in a dataset. If there is more than one entry of the same value in the dataset, the top rank of the entries will be returned.",a:"Top rank of a specified value in a dataset.",p:[{name:"value",detail:"The value whose rank will be determined."},{name:"data",detail:"The array or range containing the dataset to consider."},{name:"is_ascending",detail:"Whether to consider the values in `data` in descending or ascending order. If omitted, the default is descending (FALSE)."}]},RANK_AVG:{d:"Returns the rank of a specified value in a dataset. If there is more than one entry of the same value in the dataset, the average rank of the entries will be returned.",a:"Average rank of a specified value in a dataset.",p:[{name:"value",detail:"The value whose rank will be determined."},{name:"data",detail:"The array or range containing the dataset to consider."},{name:"is_ascending",detail:"Whether to consider the values in `data` in descending or ascending order. If omitted, the default is descending (FALSE)."}]},PERCENTRANK_EXC:{d:"Returns the percentage rank (percentile) from 0 to 1 exclusive of a specified value in a dataset.",a:"Percentage rank (percentile) from 0 to 1 exclusive.",p:[{name:"data",detail:"The array or range containing the dataset to consider."},{name:"value",detail:"The value whose percentage rank will be determined."},{name:"significant_digits",detail:"The number of significant figures to use in the calculation. Default is 3."}]},PERCENTRANK_INC:{d:"Returns the percentage rank (percentile) from 0 to 1 inclusive of a specified value in a dataset.",a:"Percentage rank (percentile) from 0 to 1 inclusive.",p:[{name:"data",detail:"The array or range containing the dataset to consider."},{name:"value",detail:"The value whose percentage rank will be determined."},{name:"significant_digits",detail:"The number of significant figures to use in the calculation. Default is 3."}]},FORECAST:{d:"Calculates the expected y-value for a specified x based on a linear regression of a dataset.",a:"Expected y-value based of linear regression.",p:[{name:"x",detail:"The value on the x-axis to forecast."},{name:"data_y",detail:"The range representing the array or matrix of dependent data."},{name:"data_x",detail:"The range representing the array or matrix of independent data."}]},FISHERINV:{d:"Returns the inverse Fisher transformation of a specified value.",a:"Inverse fisher transformation of a specified value.",p:[{name:"value",detail:"The value for which to calculate the inverse Fisher transformation."}]},FISHER:{d:"Returns the Fisher transformation of a specified value.",a:"Fisher transformation of a specified value.",p:[{name:"value",detail:"The value for which to calculate the Fisher transformation."}]},MODE_SNGL:{d:"Returns the most commonly occurring value in a dataset.",a:"Most commonly occurring value in a dataset.",p:[{name:"value1",detail:"The first value or range to consider when calculating mode."},{name:"value2",detail:"Additional values or ranges to consider when calculating mode."}]},WEIBULL_DIST:{d:"Returns the value of the Weibull distribution function (or Weibull cumulative distribution function) for a specified shape and scale.",a:"Weibull distribution function.",p:[{name:"x",detail:"The input to the Weibull distribution function."},{name:"shape",detail:"The shape parameter of the Weibull distribution function."},{name:"scale",detail:"The scale parameter of the Weibull distribution function."},{name:"cumulative",detail:"Whether to use the cumulative distribution function."}]},COUNT:{d:"Returns the number of numeric values in a dataset.",a:"The number of numeric values in dataset.",p:[{name:"value1",detail:"The first value or range to consider when counting."},{name:"value2",detail:"Additional values or ranges to consider when counting."}]},COUNTA:{d:"Returns the number of values in a dataset.",a:"The number of values in a dataset.",p:[{name:"value1",detail:"The first value or range to consider when counting."},{name:"value2",detail:"Additional values or ranges to consider when counting."}]},AVEDEV:{d:"Calculates the average of the magnitudes of deviations of data from a dataset's mean.",a:"Average magnitude of deviations from mean.",p:[{name:"value1",detail:"The first value or range of the sample."},{name:"value2",detail:"Additional values or ranges to include in the sample."}]},AVERAGE:{d:"Returns the numerical average value in a dataset, ignoring text.",a:"Numerical average value in a dataset, ignoring text.",p:[{name:"value1",detail:"The first value or range to consider when calculating the average value."},{name:"value2",detail:"Additional values or ranges to consider when calculating the average value."}]},AVERAGEA:{d:"Returns the numerical average value in a dataset.",a:"Numerical average value in a dataset.",p:[{name:"value1",detail:"The first value or range to consider when calculating the average value."},{name:"value2",detail:"Additional values or ranges to consider when calculating the average value."}]},BINOM_DIST:{d:"Calculates the probability of drawing a certain number of successes (or a maximum number of successes) in a certain number of tries given a population of a certain size containing a certain number of successes, with replacement of draws.",a:"Binomial distribution probability.",p:[{name:"num_successes",detail:"The number of successes for which to calculate the probability in `num_trials` trials."},{name:"num_trials",detail:"The number of independent trials."},{name:"prob_success",detail:"The probability of success in any given trial."},{name:"cumulative",detail:"Whether to use the binomial cumulative distribution."}]},BINOM_INV:{d:"Calculates the smallest value for which the cumulative binomial distribution is greater than or equal to a specified criteria.",a:"Inverse cumulative binomial distribution function.",p:[{name:"num_trials",detail:"The number of independent trials."},{name:"prob_success",detail:"The probability of success in any given trial."},{name:"target_prob",detail:"The desired threshold probability."}]},CONFIDENCE_NORM:{d:"Calculates the width of half the confidence interval for a normal distribution.",a:"Confidence interval for a normal distribution.",p:[{name:"alpha",detail:"One minus the desired confidence level. E.g. `0.1` for `0.9`, or 90%, confidence."},{name:"standard_deviation",detail:"The standard deviation of the population."},{name:"pop_size",detail:"The size of the population."}]},CORREL:{d:"Calculates r, the Pearson product-moment correlation coefficient of a dataset.",a:"Pearson Product-Moment Correlation Coefficient.",p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data."},{name:"data_x",detail:"The range representing the array or matrix of independent data."}]},COVARIANCE_P:{d:"Calculates the covariance of a dataset.",a:"The covariance of a dataset.",p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data."},{name:"data_x",detail:"The range representing the array or matrix of independent data."}]},COVARIANCE_S:{d:"Calculates the sample covariance of a dataset.",a:"The sample covariance of a dataset.",p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data."},{name:"data_x",detail:"The range representing the array or matrix of independent data."}]},DEVSQ:{d:"Calculates the sum of squares of deviations based on a sample.",a:"The sum of squares of deviations based on a sample.",p:[{name:"value1",detail:"The first value or range of the sample."},{name:"value2",detail:"Additional values or ranges to include in the sample."}]},EXPON_DIST:{d:"Returns the value of the exponential distribution function with a specified lambda at a specified value.",a:"Exponential distribution function.",p:[{name:"x",detail:"The input to the exponential distribution function."},{name:"lambda",detail:"The lambda to specify the exponential distribution function."},{name:"cumulative",detail:"Whether to use the exponential cumulative distribution."}]},AVERAGEIF:{d:"Returns the average of a range depending on criteria.",a:"Average of values depending on criteria.",p:[{name:"criteria_range",detail:"The range to check against `criterion`."},{name:"criterion",detail:"The pattern or test to apply to `criteria_range`."},{name:"average_range",detail:"The range to average. If not included, `criteria_range` is used for the average instead."}]},AVERAGEIFS:{d:"Returns the average of a range depending on multiple criteria.",a:"Average of values depending on multiple criteria.",p:[{name:"average_range",detail:"The range to average."},{name:"criteria_range1",detail:"The range to check against `criterion1`."},{name:"criterion1",detail:"The pattern or test to apply to `criteria_range1`."},{name:"criteria_range2",detail:"Additional ranges to check."}]},PERMUT:{d:"Returns the number of ways to choose some number of objects from a pool of a given size of objects, considering order.",a:"Number of permutations from a number of objects.",p:[{name:"n",detail:"The size of the pool of objects to choose from."},{name:"k",detail:"The number of objects to choose."}]},TRIMMEAN:{d:"Calculates the mean of a dataset excluding some proportion of data from the high and low ends of the dataset.",a:"Mean of a dataset excluding high/low ends.",p:[{name:"data",detail:"Array or range containing the dataset to consider."},{name:"exclude_proportion",detail:"The proportion of the dataset to exclude, from the extremities of the set."}]},PERCENTILE_EXC:{d:"Returns the value at a given percentile of a dataset exclusive of 0 and 1.",a:"Value at a given percentile of a dataset exclusive of 0 and 1.",p:[{name:"data",detail:"The array or range containing the dataset to consider."},{name:"percentile",detail:"The percentile, exclusive of 0 and 1, whose value within 'data' will be calculated and returned."}]},PERCENTILE_INC:{d:"Returns the value at a given percentile of a dataset.",a:"Value at a given percentile of a dataset.",p:[{name:"data",detail:"The array or range containing the dataset to consider."},{name:"percentile",detail:"The percentile whose value within `data` will be calculated and returned.`"}]},PEARSON:{d:"Calculates r, the Pearson product-moment correlation coefficient of a dataset.",a:"Pearson Product-Moment Correlation Coefficient.",p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data."},{name:"data_x",detail:"The range representing the array or matrix of independent data."}]},NORM_S_INV:{d:"Returns the value of the inverse standard normal distribution function for a specified value.",a:"Inverse standard normal distribution function.",p:[{name:"x",detail:"The input to the inverse standard normal distribution function."}]},NORM_S_DIST:{d:"Returns the value of the standard normal cumulative distribution function for a specified value.",a:"Standard normal cumulative distribution function.",p:[{name:"x",detail:"The input to the standard normal cumulative distribution function."},{name:"cumulative",detail:`Determine the logical value of the function form.
  9. If TRUE(), it returns the cumulative distribution function;
  10. If it is FALSE(), it returns the probability density function.`}]},NORM_INV:{d:"Returns the value of the inverse normal distribution function for a specified value, mean, and standard deviation.",a:"Inverse normal distribution function.",p:[{name:"x",detail:"The input to the inverse normal distribution function."},{name:"mean",detail:"The mean (mu) of the normal distribution function."},{name:"standard_deviation",detail:"The standard deviation (sigma) of the normal distribution function."}]},NORM_DIST:{d:"Returns the value of the normal distribution function (or normal cumulative distribution function) for a specified value, mean, and standard deviation.",a:"Normal distribution function.",p:[{name:"x",detail:"The input to the normal distribution function."},{name:"mean",detail:"The mean (mu) of the normal distribution function."},{name:"standard_deviation",detail:"The standard deviation (sigma) of the normal distribution function."},{name:"cumulative",detail:"Whether to use the normal cumulative distribution function rather than the distribution function."}]},NEGBINOM_DIST:{d:"Calculates the probability of drawing a certain number of failures before a certain number of successes given a probability of success in independent trials.",a:"Negative binomial distribution probability.",p:[{name:"num_failures",detail:"The number of failures to model."},{name:"num_successes",detail:"The number of successes to model."},{name:"prob_success",detail:"The probability of success in any given trial."},{name:"cumulative",detail:`Determine the logical value of the function form.
  11. If TRUE(), it returns the cumulative distribution function;
  12. If it is FALSE(), it returns the probability density function.`}]},MINA:{d:"Returns the minimum numeric value in a dataset.",a:"Minimum numeric value in a dataset.",p:[{name:"value1",detail:"The first value or range to consider when calculating the minimum value."},{name:"value2",detail:"Additional values or ranges to consider when calculating the minimum value."}]},MIN:{d:"Returns the minimum value in a numeric dataset.",a:"Minimum value in a numeric dataset.",p:[{name:"value1",detail:"The first value or range to consider when calculating the minimum value."},{name:"value2",detail:"Additional values or ranges to consider when calculating the minimum value."}]},MEDIAN:{d:"Returns the median value in a numeric dataset.",a:"Median value in a numeric dataset.",p:[{name:"value1",detail:"The first value or range to consider when calculating the median value."},{name:"value2",detail:"Additional values or ranges to consider when calculating the median value."}]},MAXA:{d:"Returns the maximum numeric value in a dataset.",a:"Maximum numeric value in a dataset.",p:[{name:"value1",detail:"The first value or range to consider when calculating the maximum value."},{name:"value2",detail:"Additional values or ranges to consider when calculating the maximum value."}]},MAX:{d:"Returns the maximum value in a numeric dataset.",a:"Maximum value in a numeric dataset.",p:[{name:"value1",detail:"The first value or range to consider when calculating the maximum value."},{name:"value2",detail:"Additional values or ranges to consider when calculating the maximum value."}]},LOGNORM_INV:{d:"Returns the value of the inverse log-normal cumulative distribution with given mean and standard deviation at a specified value.",a:"Inverse log-normal cumulative distribution function.",p:[{name:"x",detail:"The input to the inverse log-normal cumulative distribution function."},{name:"mean",detail:"The mean (mu) of the inverse log-normal cumulative distribution function."},{name:"standard_deviation",detail:"The standard deviation (sigma) of the inverse log-normal cumulative distribution function."}]},LOGNORM_DIST:{d:"Returns the value of the log-normal cumulative distribution with given mean and standard deviation at a specified value.",a:"Log-normal cumulative distribution probability.",p:[{name:"x",detail:"The input to the log-normal cumulative distribution function."},{name:"mean",detail:"The mean (mu) of the log-normal cumulative distribution function."},{name:"standard_deviation",detail:"The standard deviation (sigma) of the log-normal cumulative distribution function."},{name:"cumulative",detail:`Determine the logical value of the function form.
  13. If TRUE(), it returns the cumulative distribution function;
  14. If it is FALSE(), it returns the probability density function.`}]},Z_TEST:{d:"Returns the one-tailed p-value of a Z-test with standard distribution.",a:"One-tailed p-value of a z-test.",p:[{name:"data",detail:"The array or range containing the dataset to consider."},{name:"value",detail:"The test statistic to use in the Z-test."},{name:"standard_deviation",detail:"The standard deviation to assume for the Z-test. If this is not provided, the standard deviation of the data will be used."}]},PROB:{d:"Given a set of values and corresponding probabilities, calculates the probability that a value chosen at random falls between two limits.",a:"Probability values lie in a range.",p:[{name:"data",detail:"Array or range containing the dataset to consider."},{name:"probabilities",detail:"Array or range containing probabilities corresponding to `data`."},{name:"low_limit",detail:"The lower bound on the value range for which to calculate the probability."},{name:"high_limit",detail:"The upper bound on the value range for which to calculate the probability."}]},QUARTILE_EXC:{d:"Returns a value nearest to a specified quartile of a dataset exclusive of 0 and 4.",a:"Value nearest to a specific quartile of a dataset exclusive of 0 and 4.",p:[{name:"data",detail:"The array or range containing the dataset to consider."},{name:"quartile_number",detail:"Which quartile to return."}]},QUARTILE_INC:{d:"Returns a value nearest to a specified quartile of a dataset.",a:"Value nearest to a specific quartile of a dataset.",p:[{name:"data",detail:"The array or range containing the dataset to consider."},{name:"quartile_number",detail:"Which quartile value to return."}]},POISSON_DIST:{d:"Returns the value of the Poisson distribution function (or Poisson cumulative distribution function) for a specified value and mean.",a:"Poisson distribution function.",p:[{name:"x",detail:"The input to the Poisson distribution function."},{name:"mean",detail:"The mean (mu) of the Poisson distribution function."},{name:"cumulative",detail:"Whether to use the Poisson cumulative distribution function rather than the distribution function."}]},RSQ:{d:"Calculates the square of r, the Pearson product-moment correlation coefficient of a dataset.",a:"Square of the correlation coefficient.",p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data."},{name:"data_x",detail:"The range representing the array or matrix of independent data."}]},T_DIST:{d:"Calculates the left tail probability for a Student's t-distribution with a given input (x).",a:"The left-tailed Student's t-distribution",p:[{name:"x",detail:"The input to the t-distribution function."},{name:"degrees_freedom",detail:"The number of degrees of freedom."},{name:"cumulative",detail:"If cumulative is TRUE, T.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function."}]},T_DIST_2T:{d:"Calculates the probability for two tailed Student's t-distribution with a given input (x).",a:"The two tailed Student's t-distribution",p:[{name:"x",detail:"The input to the t-distribution function."},{name:"degrees_freedom",detail:"The number of degrees of freedom."}]},T_DIST_RT:{d:"Calculates the right tail probability for a Student's t-distribution with a given input (x).",a:"The right-tailed Student's t-distribution",p:[{name:"x",detail:"The input to the t-distribution function."},{name:"degrees_freedom",detail:"The number of degrees of freedom."}]},T_INV:{d:"Calculates the negative inverse of the one-tailed TDIST function.",a:"T.INV",p:[{name:"probability",detail:"The probability associated with the two-tailed t-distribution."},{name:"degrees_freedom",detail:"The number of degrees of freedom."}]},T_INV_2T:{d:"Calculates the inverse of the two-tailed TDIST function.",a:"T.INV.2T",p:[{name:"probability",detail:"The probability associated with the two-tailed t-distribution."},{name:"degrees_freedom",detail:"The number of degrees of freedom."}]},T_TEST:{d:"t-test. Returns the probability associated with Student's t-test. Determines whether two samples are likely to have come from the same two underlying populations that have the same mean.",a:"Returns the probability associated with t-test.",p:[{name:"range1",detail:"The first sample of data or group of cells to consider for the t-test."},{name:"range2",detail:"The second sample of data or group of cells to consider for the t-test."},{name:"tails",detail:"Specifies the number of distribution tails."},{name:"type",detail:"Specifies the type of t-test."}]},F_DIST:{d:"Calculates the left-tailed F probability distribution (degree of diversity) for two data sets with given input x. Alternately called Fisher-Snedecor distribution or Snedecor's F distribution.",a:"F probability distribution (left-tailed).",p:[{name:"x",detail:"The input to the F probability distribution function. The value at which to evaluate the function."},{name:"degrees_freedom1",detail:"The numerator of the number of degrees of freedom."},{name:"degrees_freedom2",detail:"The denominator of the number of degrees of freedom."},{name:"cumulative",detail:"Logical value that determines the form of the function."}]},F_DIST_RT:{d:"Calculates the right-tailed F probability distribution (degree of diversity) for two data sets with given input x. Alternately called Fisher-Snedecor distribution or Snedecor's F distribution.",a:"F probability distribution.",p:[{name:"x",detail:"The input to the F probability distribution function. The value at which to evaluate the function."},{name:"degrees_freedom1",detail:"The numerator of the number of degrees of freedom."},{name:"degrees_freedom2",detail:"The denominator of the number of degrees of freedom."}]},VAR_P:{d:"Calculates the variance based on an entire population.",a:"Variance of entire population.",p:[{name:"value1",detail:"The first value or range of the population."},{name:"value2",detail:"Additional values or ranges to include in the population."}]},VAR_S:{d:"Calculates the variance based on a sample.",a:"Variance.",p:[{name:"value1",detail:"The first value or range of the sample."},{name:"value2",detail:"Additional values or ranges to include in the sample."}]},VARA:{d:"Calculates the variance based on a sample, setting text to the value `0`.",a:"Variance of sample (text as 0).",p:[{name:"value1",detail:"The first value or range of the sample."},{name:"value2",detail:"Additional values or ranges to include in the sample."}]},VARPA:{d:"Calculates the variance based on an entire population, setting text to the value `0`.",a:"Variance of entire population (text as 0).",p:[{name:"value1",detail:"The first value or range of the population."},{name:"value2",detail:"Additional values or ranges to include in the population."}]},STEYX:{d:"Calculates the standard error of the predicted y-value for each x in the regression of a dataset.",a:"Standard error of predicted y-values in regression.",p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data."},{name:"data_x",detail:"The range representing the array or matrix of independent data."}]},STANDARDIZE:{d:"Calculates the normalized equivalent of a random variable given mean and standard deviation of the distribution.",a:"Normalized equivalent of a random variable.",p:[{name:"value",detail:"The value of the random variable to normalize."},{name:"mean",detail:"The mean of the distribution."},{name:"standard_deviation",detail:"The standard deviation of the distribution."}]},SMALL:{d:"Returns the nth smallest element from a data set, where n is user-defined.",a:"Nth smallest element in a data set.",p:[{name:"data",detail:"The array or range containing the dataset to consider."},{name:"n",detail:"The rank from smallest to largest of the element to return."}]},SLOPE:{d:"Calculates the slope of the line resulting from linear regression of a dataset.",a:"Slope of line from linear regression of data.",p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data."},{name:"data_x",detail:"The range representing the array or matrix of independent data."}]},SKEW:{d:"Calculates the skewness of a dataset, which describes the symmetry of that dataset about the mean.",a:"Skewness of a dataset.",p:[{name:"value1",detail:"The first value or range of the dataset."},{name:"value2",detail:"Additional values or ranges to include in the dataset."}]},SKEW_P:{d:"Calculates the skewness of a dataset, which describes the symmetry of that dataset about the mean. This assumes the dataset is for the population.",a:"Skewness of a population's dataset.",p:[{name:"value1",detail:"The first value or range of the dataset."},{name:"value2",detail:"Additional values or ranges to include in the dataset."}]},VLOOKUP:{d:"Vertical lookup. Searches down the first column of a range for a key and returns the value of a specified cell in the row found.",a:"Vertical lookup.",p:[{name:"search_key",detail:'The value to search for. For example, `42`, `"Cats"`, or `I24`.'},{name:"range",detail:"The range to consider for the search. The first column in the range is searched for the key specified in `search_key`."},{name:"index",detail:"The column index of the value to be returned, where the first column in `range` is numbered 1."},{name:"is_sorted",detail:"Indicates whether the column to be searched (the first column of the specified range) is sorted, in which case the closest match for `search_key` will be returned."}]},HLOOKUP:{d:"Horizontal lookup. Searches across the first row of a range for a key and returns the value of a specified cell in the column found.",a:"Horizontal lookup",p:[{name:"search_key",detail:'The value to search for. For example, `42`, `"Cats"`, or `I24`.'},{name:"range",detail:"The range to consider for the search. The first row in the range is searched for the key specified in `search_key`."},{name:"index",detail:"The row index of the value to be returned, where the first row in `range` is numbered 1."},{name:"is_sorted",detail:"Indicates whether the row to be searched (the first row of the specified range) is sorted."}]},LOOKUP:{d:"Looks through a sorted row or column for a key and returns the value of the cell in a result range located in the same position as the search row or column.",a:"Look up a value.",p:[{name:"search_key",detail:'The value to search for in the row or column. For example, `42`, `"Cats"`, or `I24`.'},{name:"search_range|search_result_array",detail:"One method of using this function is to provide a single sorted row or column `search_range` to look through for the `search_key` with a second argument `result_range`. The other way is to combine these two arguments into one `search_result_array` where the first row or column is searched and a value is returned from the last row or column in the array. If `search_key` is not found, a non-exact match may be returned."},{name:"result_range",detail:"The range from which to return a result. The value returned corresponds to the location where `search_key` is found in `search_range`. This range must be only a single row or column and should not be used if using the `search_result_array` method."}]},ADDRESS:{d:"Returns a cell reference as a string.",a:"Cell reference as a string.",p:[{name:"row",detail:"The row number of the cell reference"},{name:"column",detail:"The column number (not name) of the cell reference. `A` is column number `1`."},{name:"absolute_relative_mode",detail:"An indicator of whether the reference is row/column absolute. `1` is row and column absolute (e.g. $A$1), `2` is row absolute and column relative (e.g. A$1), `3` is row relative and column absolute (e.g. $A1), and `4` is row and column relative (e.g. A1)."},{name:"use_a1_notation",detail:"A boolean indicating whether to use `A1` style notation (TRUE) or `R1C1` style notation (FALSE)."},{name:"sheet",detail:"Text indicating the name of the sheet into which the address points."}]},INDIRECT:{d:"Returns a cell reference specified by a string.",a:"A cell reference specified by a string.",p:[{name:"cell_reference_as_string",detail:"A cell reference, written as a string with surrounding quotation marks."},{name:"is_A1_notation",detail:"Indicates if the cell reference is in A1 notation (TRUE) or R1C1 notation (FALSE)."}]},ROW:{d:"Returns the row number of a specified cell.",a:"Row number of a specified cell.",p:[{name:"cell_reference",detail:"The cell whose row number will be returned."}]},ROWS:{d:"Returns the number of rows in a specified array or range.",a:"Number of rows in a specified array or range.",p:[{name:"range",detail:"The range whose row count will be returned."}]},COLUMN:{d:"Returns the column number of a specified cell, with `A=1`.",a:"Column number of a specified cell.",p:[{name:"cell_reference",detail:"The cell whose column number will be returned. Column `A` corresponds to `1`."}]},COLUMNS:{d:"Returns the number of columns in a specified array or range.",a:"Number of columns in a specified array or range.",p:[{name:"range",detail:"The range whose column count will be returned."}]},OFFSET:{d:"Returns a range reference shifted a specified number of rows and columns from a starting cell reference.",a:"A range reference offset relative to a cell.",p:[{name:"cell_reference",detail:"The starting point from which to count the offset rows and columns."},{name:"offset_rows",detail:"The number of rows to offset by."},{name:"offset_columns",detail:"The number of columns to offset by."},{name:"height",detail:"The height of the range to return starting at the offset target."},{name:"width",detail:"The width of the range to return starting at the offset target."}]},MATCH:{d:"Returns the relative position of an item in a range that matches a specified value.",a:"Position of item in range that matches value.",p:[{name:"search_key",detail:'The value to search for. For example, `42`, `"Cats"`, or `I24`.'},{name:"range",detail:"The one-dimensional array to be searched."},{name:"search_type",detail:"The search method. `1` (default) finds the largest value less than or equal to `search_key` when `range` is sorted in ascending order. `0` finds the exact value when `range` is unsorted. `-1` finds the smallest value greater than or equal to `search_key` when `range` is sorted in descending order."}]},INDEX:{d:"Returns the content of a cell, specified by row and column offset.",a:"Content of cell specified by row and column offset.",p:[{name:"reference",detail:"The array of cells to be offset into."},{name:"row",detail:"The number of offset rows."},{name:"column",detail:"The number of offset columns."}]},GETPIVOTDATA:{d:"Extracts an aggregated value from a pivot table that corresponds to the specified row and column headings.",a:"Extracts an aggregated value from a pivot table that corresponds to the specified row and column headings.",p:[{name:"value_name",detail:"The name of the value in the pivot table for which you want to get data."},{name:"any_pivot_table_cell",detail:"Any reference to a cell in the desired pivot table (top corner recommended)."},{name:"original_column",detail:"The name of the column in the original data set (not the pivot table)."},{name:"pivot_item",detail:"The name of the row or column shown in the pivot table corresponding to *original_column* that you want to retrieve."}]},CHOOSE:{d:"Returns an element from a list of choices based on index.",a:"An element from a list of choices based on index.",p:[{name:"index",detail:"Which choice (of the up to 30 provided) to return."},{name:"choice1",detail:"A potential value to return. Required. May be a reference to a cell or an individual value."},{name:"choice2",detail:"Additional values among which to choose."}]},HYPERLINK:{d:"Creates a hyperlink inside a cell.",a:"Creates a hyperlink inside a cell.",p:[{name:"url",detail:"The full URL of the link location enclosed in quotation marks, or a reference to a cell containing such a URL."},{name:"link_label",detail:"The text to display in the cell as the link, enclosed in quotation marks, or a reference to a cell containing such a label."}]},TIME:{d:"Converts a provided hour, minute, and second into a time.",a:"Converts hour/minute/second into a time.",p:[{name:"hour",detail:"The hour component of the time."},{name:"minute",detail:"The minute component of the time."},{name:"second",detail:"The second component of the time."}]},TIMEVALUE:{d:"Returns the fraction of a 24-hour day the time represents.",a:"Converts a time string into its serial number representation.",p:[{name:"time_string",detail:"The string that holds the time representation."}]},EOMONTH:{d:"Returns a date on the last day of a month that falls a specified number of months before or after another date.",a:"Last day of a month before or after a date.",p:[{name:"start_date",detail:"The date from which to calculate the result."},{name:"months",detail:"The number of months before (negative) or after (positive) 'start_date' to consider."}]},EDATE:{d:"Returns a date a specified number of months before or after another date.",a:"Date a number of months before/after another date.",p:[{name:"start_date",detail:"The date from which to calculate the result."},{name:"months",detail:"The number of months before (negative) or after (positive) 'start_date' to calculate."}]},SECOND:{d:"Returns the second component of a specific time, in numeric format.",a:"Second component of a specific time.",p:[{name:"time",detail:"The time from which to calculate the second component"}]},MINUTE:{d:"Returns the minute component of a specific time, in numeric format.",a:"Minute component of a specific time.",p:[{name:"time",detail:"The time from which to calculate the minute component."}]},HOUR:{d:"Returns the hour component of a specific time, in numeric format.",a:"Hour component of a specific time.",p:[{name:"time",detail:"The time from which to calculate the hour component."}]},NOW:{d:"Returns the current date and time as a date value.",a:"Current date and time as a date value.",p:[]},NETWORKDAYS:{d:"Returns the number of net working days between two provided days.",a:"Net working days between two provided days.",p:[{name:"start_date",detail:"The start date of the period from which to calculate the number of net working days."},{name:"end_date",detail:"The end date of the period from which to calculate the number of net working days."},{name:"holidays",detail:"A range or array constant containing the date serial numbers to consider holidays."}]},NETWORKDAYS_INTL:{d:"Returns the number of net working days between two provided days excluding specified weekend days and holidays.",a:"Net working days between two dates (specifying weekends).",p:[{name:"start_date",detail:"The start date of the period from which to calculate the number of net working days."},{name:"end_date",detail:"The end date of the period from which to calculate the number of net working days."},{name:"weekend",detail:"A number or string representing which days of the week are considered weekends."},{name:"holidays",detail:"A range or array constant containing the dates to consider as holidays."}]},ISOWEEKNUM:{d:"Returns a number representing the ISO week of the year where the provided date falls.",a:"ISO week number of the year.",p:[{name:"date",detail:"The date for which to determine the ISO week number. Must be a reference to a cell containing a date, a function returning a date type, or a number."}]},WEEKNUM:{d:"Returns a number representing the week of the year where the provided date falls.",a:"Week number of the year.",p:[{name:"date",detail:"The date for which to determine the week number. Must be a reference to a cell containing a date, a function returning a date type, or a number."},{name:"type",detail:"A number representing the day that a week starts on. Sunday = 1."}]},WEEKDAY:{d:"Returns a number representing the day of the week of the date provided.",a:"Day of the week of the date provided (as number).",p:[{name:"date",detail:"The date for which to determine the day of the week. Must be a reference to a cell containing a date, a function returning a date type, or a number."},{name:"type",detail:"A number indicating which numbering system to use to represent weekdays. By default, counts starting with Sunday = 1."}]},DAY:{d:"Returns the day of the month that a specific date falls on, in numeric format.",a:"Day of the month that a specific date falls on.",p:[{name:"date",detail:"The date from which to extract the day."}]},DAYS:{d:"Returns the number of days between two dates.",a:"Number of days between two dates.",p:[{name:"end_date",detail:"The end of the date range."},{name:"start_date",detail:"The start of the date range."}]},DAYS360:{d:"Returns the difference between two days based on the 360 day year used in some financial interest calculations.",a:"Days between two dates on a 360-day year.",p:[{name:"start_date",detail:"The start date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number."},{name:"end_date",detail:"The end date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number."},{name:"method",detail:"An indicator of what day count method to use."}]},DATE:{d:"Converts a provided year, month, and day into a date.",a:"Converts year/month/day into a date.",p:[{name:"year",detail:"The year component of the date."},{name:"month",detail:"The month component of the date."},{name:"day",detail:"The day component of the date."}]},DATEVALUE:{d:"Converts a provided date string in a known format to a date value.",a:"Converts a date string to a date value.",p:[{name:"date_string",detail:"The string representing the date."}]},DATEDIF:{d:"Calculates the number of days, months, or years between two dates.",a:"Date Difference.",p:[{name:"start_date",detail:"The start date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number."},{name:"end_date",detail:"The end date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number."},{name:"unit",detail:'A string abbreviation for unit of time. For example, "M" for month. Accepted values are "Y","M","D","MD","YM","YD".'}]},WORKDAY:{d:"Calculates the date after a number of working days from a specified start date.",a:"Number of working days from start date.",p:[{name:"start_date",detail:"The date from which to begin counting."},{name:"num_days",detail:"The number of working days to advance from `start_date`. If negative, counts backwards."},{name:"holidays",detail:"A range or array constant containing the dates to consider holidays."}]},WORKDAY_INTL:{d:"Calculates the date after a specified number of workdays excluding specified weekend days and holidays.",a:"Date after a number of workdays (specifying weekends).",p:[{name:"start_date",detail:"The date from which to begin counting."},{name:"num_days",detail:"The number of working days to advance from `start_date`. If negative, counts backwards."},{name:"weekend",detail:"A number or string representing which days of the week are considered weekends."},{name:"holidays",detail:"A range or array constant containing the dates to consider holidays."}]},YEAR:{d:"Returns the year specified by a given date.",a:"Year specified by a given date.",p:[{name:"date",detail:"The date from which to extract the year."}]},YEARFRAC:{d:"Returns the number of years, including fractional years, between two dates using a specified day count convention.",a:"Exact number of years between two dates.",p:[{name:"start_date",detail:"The start date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number."},{name:"end_date",detail:"The end date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},TODAY:{d:"Returns the current date as a date value.",a:"Current date as a date value.",p:[]},MONTH:{d:"Returns the month of the year a specific date falls in, in numeric format.",a:"Month of the year a specific date falls in.",p:[{name:"date",detail:"The date from which to extract the month."}]},EFFECT:{d:"Calculates the annual effective interest rate given the nominal rate and number of compounding periods per year.",a:"Annual effective interest rate.",p:[{name:"nominal_rate",detail:"The nominal interest rate per year."},{name:"periods_per_year",detail:"The number of compounding periods per year."}]},DOLLAR:{d:"Formats a number into the currency specific to your spreadsheet locale.",a:"Formats a number as currency specific to your spreadsheet locale.",p:[{name:"number",detail:"The value to be formatted."},{name:"number_of_places",detail:"The number of decimal places to display."}]},DOLLARDE:{d:"Converts a price quotation given as a decimal fraction into a decimal value.",a:"Converts a decimal fraction to decimal value.",p:[{name:"fractional_price",detail:"The price quotation given using fractional decimal conventions."},{name:"unit",detail:"The units of the fraction, e.g. `8` for 1/8ths or `32` for 1/32nds."}]},DOLLARFR:{d:"Converts a price quotation given as a decimal value into a decimal fraction.",a:"Converts a decimal value to decimal fraction.",p:[{name:"decimal_price",detail:"The price quotation given as a decimal value."},{name:"unit",detail:"The units of the desired fraction, e.g. `8` for 1/8ths or `32` for 1/32nds."}]},DB:{d:"Calculates the depreciation of an asset for a specified period using the arithmetic declining balance method.",a:"Depreciation via declining balance method.",p:[{name:"cost",detail:"The initial cost of the asset."},{name:"salvage",detail:"The value of the asset at the end of depreciation."},{name:"life",detail:"The number of periods over which the asset is depreciated."},{name:"period",detail:"The single period within `life` for which to calculate depreciation."},{name:"month",detail:"The number of months in the first year of depreciation."}]},DDB:{d:"Calculates the depreciation of an asset for a specified period using the double-declining balance method.",a:"Depreciation via double-declining balance method.",p:[{name:"cost",detail:"The initial cost of the asset."},{name:"salvage",detail:"The value of the asset at the end of depreciation."},{name:"life",detail:"The number of periods over which the asset is depreciated."},{name:"period",detail:"The single period within `life` for which to calculate depreciation."},{name:"factor",detail:"The factor by which depreciation decreases."}]},RATE:{d:"Calculates the interest rate of an annuity investment based on constant-amount periodic payments and the assumption of a constant interest rate.",a:"Interest rate of an annuity investment.",p:[{name:"number_of_periods",detail:"The number of payments to be made."},{name:"payment_per_period",detail:"The amount per period to be paid."},{name:"present_value",detail:"The current value of the annuity."},{name:"future_value",detail:"The future value remaining after the final payment has been made."},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period."},{name:"rate_guess",detail:"An estimate for what the interest rate will be."}]},CUMPRINC:{d:"Calculates the cumulative principal paid over a range of payment periods for an investment based on constant-amount periodic payments and a constant interest rate.",a:"Cumulative principal paid over a set of periods.",p:[{name:"rate",detail:"The interest rate."},{name:"number_of_periods",detail:"The number of payments to be made."},{name:"present_value",detail:"The current value of the annuity."},{name:"first_period",detail:"The number of the payment period to begin the cumulative calculation."},{name:"last_period",detail:"The number of the payment period to end the cumulative calculation."},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period."}]},COUPNUM:{d:"Calculates the number of coupons, or interest payments, between the settlement date and the maturity date of the investment.",a:"Number of coupons between settlement and maturity.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},SYD:{d:"Calculates the depreciation of an asset for a specified period using the sum of years digits method.",a:"Depreciation via sum of years digits method.",p:[{name:"cost",detail:"The initial cost of the asset."},{name:"salvage",detail:"The value of the asset at the end of depreciation."},{name:"life",detail:"The number of periods over which the asset is depreciated."},{name:"period",detail:"The single period within `life` for which to calculate depreciation."}]},TBILLEQ:{d:"Calculates the equivalent annualized rate of return of a US Treasury Bill based on discount rate.",a:"Equivalent rate of return for a Treasury bill.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"discount",detail:"The discount rate of the bill at time of purchase."}]},TBILLYIELD:{d:"Calculates the yield of a US Treasury Bill based on price.",a:"The yield of a us treasury bill based on price.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"price",detail:"The price at which the security is bought per 100 face value."}]},TBILLPRICE:{d:"Calculates the price of a US Treasury Bill based on discount rate.",a:"Price of US treasury bill.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"discount",detail:"The discount rate of the bill at time of purchase."}]},PV:{d:"Calculates the present value of an annuity investment based on constant-amount periodic payments and a constant interest rate.",a:"Present value of an annuity investment.",p:[{name:"rate",detail:"The interest rate."},{name:"number_of_periods",detail:"The number of payments to be made."},{name:"payment_amount",detail:"The amount per period to be paid."},{name:"future_value",detail:"The future value remaining after the final payment has been made."},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period."}]},ACCRINT:{d:"Calculates the accrued interest of a security that has periodic payments.",a:"Accrued interest of security with periodic payments.",p:[{name:"issue",detail:"The date the security was initially issued."},{name:"first_payment",detail:"The first date interest will be paid."},{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"rate",detail:"The annualized rate of interest."},{name:"redemption",detail:"The redemption amount per 100 face value, or par."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."},{name:"calc_method",detail:`[Optional-defaults to TRUE()] - A logical value that specifies the method used to calculate the total accrued interest when the settlement date is later than the first interest accrual date.
  15. If the value is TRUE, the total accrued interest from the issue date to the settlement date is returned.
  16. If the value is FALSE, return the accrued interest from the first interest accrual date to the settlement date.`}]},ACCRINTM:{d:"Calculates the accrued interest of a security that pays interest at maturity.",a:"Accrued interest of security paying at maturity.",p:[{name:"issue",detail:"The date the security was initially issued."},{name:"maturity",detail:"The maturity date of the security."},{name:"rate",detail:"The annualized rate of interest."},{name:"redemption",detail:"The redemption amount per 100 face value, or par."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},COUPDAYBS:{d:"Calculates the number of days from the first coupon, or interest payment, until settlement.",a:"Number of days from first coupon to settlement.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},COUPDAYS:{d:"Calculates the number of days in the coupon, or interest payment, period that contains the specified settlement date.",a:"Days in coupon period containing settlement date.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},COUPDAYSNC:{d:"Calculates the number of days from the settlement date until the next coupon, or interest payment.",a:"Days from settlement until next coupon.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},COUPNCD:{d:"Calculates next coupon, or interest payment, date after the settlement date.",a:"Next coupon date after the settlement date.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},COUPPCD:{d:"Calculates last coupon, or interest payment, date before the settlement date.",a:"Last coupon date before settlement date.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},FV:{d:"Calculates the future value of an annuity investment based on constant-amount periodic payments and a constant interest rate.",a:"Future value of an annuity investment.",p:[{name:"rate",detail:"The interest rate."},{name:"number_of_periods",detail:"The number of payments to be made."},{name:"payment_amount",detail:"The amount per period to be paid."},{name:"present_value",detail:"The current value of the annuity."},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period."}]},FVSCHEDULE:{d:"Calculates the future value of some principal based on a specified series of potentially varying interest rates.",a:"Future value of principal from series of rates.",p:[{name:"principal",detail:"The amount of initial capital or value to compound against."},{name:"rate_schedule",detail:"A series of interest rates to compound against the `principal`."}]},YIELD:{d:"Calculates the annual yield of a security paying periodic interest, such as a US Treasury Bond, based on price.",a:"Annual yield of a security paying periodic interest.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"rate",detail:"The annualized rate of interest."},{name:"price",detail:"The price at which the security is bought per 100 face value."},{name:"redemption",detail:"The redemption amount per 100 face value, or par."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},YIELDDISC:{d:"Calculates the annual yield of a discount (non-interest-bearing) security, based on price.",a:"Annual yield of a discount security.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"price",detail:"The price at which the security is bought per 100 face value."},{name:"redemption",detail:"The redemption amount per 100 face value, or par."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},NOMINAL:{d:"Calculates the annual nominal interest rate given the effective rate and number of compounding periods per year.",a:"Annual nominal interest rate.",p:[{name:"effective_rate",detail:"The effective interest rate per year."},{name:"periods_per_year",detail:"The number of compounding periods per year."}]},XIRR:{d:"Calculates the internal rate of return of an investment based on a specified series of potentially irregularly spaced cash flows.",a:"Internal rate of return given non-periodic cashflows.",p:[{name:"cashflow_amounts",detail:"An array or range containing the income or payments associated with the investment."},{name:"cashflow_dates",detail:"An array or range with dates corresponding to the cash flows in `cashflow_amounts`."},{name:"rate_guess",detail:"An estimate for what the internal rate of return will be."}]},MIRR:{d:"Calculates the modified internal rate of return on an investment based on a series of periodic cash flows and the difference between the interest rate paid on financing versus the return received on reinvested income.",a:"Modified internal rate of return.",p:[{name:"cashflow_amounts",detail:"An array or range containing the income or payments associated with the investment."},{name:"financing_rate",detail:"The interest rate paid on funds invested."},{name:"reinvestment_return_rate",detail:"The return (as a percentage) earned on reinvestment of income received from the investment."}]},IRR:{d:"Calculates the internal rate of return on an investment based on a series of periodic cash flows.",a:"Internal rate of return given periodic cashflows.",p:[{name:"cashflow_amounts",detail:"An array or range containing the income or payments associated with the investment."},{name:"rate_guess",detail:"An estimate for what the internal rate of return will be."}]},NPV:{d:"Calculates the net present value of an investment based on a series of periodic cash flows and a discount rate.",a:"The net present value of an investment based on a series of periodic cash flows and a discount rate.",p:[{name:"discount",detail:"The discount rate of the investment over one period."},{name:"cashflow1",detail:"The first future cash flow."},{name:"cashflow2",detail:"Additional future cash flows."}]},XNPV:{d:"Calculates the net present value of an investment based on a specified series of potentially irregularly spaced cash flows and a discount rate.",a:"Net present value given non-periodic cashflows.",p:[{name:"discount",detail:"The discount rate of the investment over one period."},{name:"cashflow_amounts",detail:"A range of cells containing the income or payments associated with the investment."},{name:"cashflow_dates",detail:"A range of cells with dates corresponding to the cash flows in `cashflow_amounts`."}]},CUMIPMT:{d:"Calculates the cumulative interest over a range of payment periods for an investment based on constant-amount periodic payments and a constant interest rate.",a:"Cumulative interest paid over a set of periods.",p:[{name:"rate",detail:"The interest rate."},{name:"number_of_periods",detail:"The number of payments to be made."},{name:"present_value",detail:"The current value of the annuity."},{name:"first_period",detail:"The number of the payment period to begin the cumulative calculation."},{name:"last_period",detail:"The number of the payment period to end the cumulative calculation."},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period."}]},PMT:{d:"Calculates the periodic payment for an annuity investment based on constant-amount periodic payments and a constant interest rate.",a:"Periodic payment for an annuity investment.",p:[{name:"rate",detail:"The interest rate."},{name:"number_of_periods",detail:"The number of payments to be made."},{name:"present_value",detail:"The current value of the annuity."},{name:"future_value",detail:"The future value remaining after the final payment has been made."},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period."}]},IPMT:{d:"Calculates the payment on interest for an investment based on constant-amount periodic payments and a constant interest rate.",a:"Payment on interest for an investment.",p:[{name:"rate",detail:"The interest rate."},{name:"period",detail:"The amortization period, in terms of number of periods."},{name:"number_of_periods",detail:"The number of payments to be made."},{name:"present_value",detail:"The current value of the annuity."},{name:"future_value",detail:"The future value remaining after the final payment has been made."},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period."}]},PPMT:{d:"Calculates the payment on the principal of an investment based on constant-amount periodic payments and a constant interest rate.",a:"Payment on the principal of an investment.",p:[{name:"rate",detail:"The interest rate."},{name:"period",detail:"The amortization period, in terms of number of periods."},{name:"number_of_periods",detail:"The number of payments to be made."},{name:"present_value",detail:"The current value of the annuity."},{name:"future_value",detail:"The future value remaining after the final payment has been made."},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period."}]},INTRATE:{d:"Calculates the effective interest rate generated when an investment is purchased at one price and sold at another with no interest or dividends generated by the investment itself.",a:"Calculates effective interest rate.",p:[{name:"buy_date",detail:"The date of purchase of the investment."},{name:"sell_date",detail:"The date of sale of the investment."},{name:"buy_price",detail:"The price at which the investment was purchased."},{name:"sell_price",detail:"The price at which the investment was sold."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},PRICE:{d:"Calculates the price of a security paying periodic interest, such as a US Treasury Bond, based on expected yield.",a:"Price of a security paying periodic interest.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"rate",detail:"The annualized rate of interest."},{name:"yield",detail:"The expected annual yield of the security."},{name:"redemption",detail:"The redemption amount per 100 face value, or par."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},PRICEDISC:{d:"Calculates the price of a discount (non-interest-bearing) security, based on expected yield.",a:"Price of a discount security.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"discount",detail:"The discount rate of the security at time of purchase."},{name:"redemption",detail:"The redemption amount per 100 face value, or par."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},PRICEMAT:{d:"Calculates the price of a security paying interest at maturity, based on expected yield.",a:"Price of security paying interest at maturity.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"issue",detail:"The date the security was initially issued."},{name:"rate",detail:"The annualized rate of interest."},{name:"yield",detail:"The expected annual yield of the security."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},RECEIVED:{d:"Calculates the amount received at maturity for an investment in fixed-income securities purchased on a given date.",a:"Amount received at maturity for a security.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"investment",detail:"The amount invested (irrespective of face value of each security)."},{name:"discount",detail:"The discount rate of the security invested in."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},DISC:{d:"Calculates the discount rate of a security based on price.",a:"The discount rate of a security based on price.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"price",detail:"The price at which the security is bought per 100 face value."},{name:"redemption",detail:"The redemption amount per 100 face value, or par."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},NPER:{d:"Calculates the number of payment periods for an investment based on constant-amount periodic payments and a constant interest rate.",a:"Number of payment periods for an investment.",p:[{name:"rate",detail:"The interest rate."},{name:"payment_amount",detail:"The amount of each payment made."},{name:"present_value",detail:"The current value of the annuity."},{name:"future_value",detail:"The future value remaining after the final payment has been made."},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period."}]},SLN:{d:"Calculates the depreciation of an asset for one period using the straight-line method.",a:"Depreciation of asset using the straight-line method.",p:[{name:"cost",detail:"The initial cost of the asset."},{name:"salvage",detail:"The value of the asset at the end of depreciation."},{name:"life",detail:"The number of periods over which the asset is depreciated."}]},DURATION:{d:"Calculates the number of compounding periods required for an investment of a specified present value appreciating at a given rate to reach a target value.",a:"Number of periods for an investment to reach a value.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"rate",detail:"The annualized rate of interest."},{name:"yield",detail:"The expected annual yield of the security."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},MDURATION:{d:"Calculates the modified Macaulay duration of a security paying periodic interest, such as a US Treasury Bond, based on expected yield.",a:"Modified Macaulay duration.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"rate",detail:"The annualized rate of interest."},{name:"yield",detail:"The expected annual yield of the security."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},BIN2DEC:{d:"Converts a signed binary number to decimal format.",a:"Converts a signed binary number to decimal format.",p:[{name:"signed_binary_number",detail:"The signed 10-bit binary value to be converted to decimal, provided as a string."}]},BIN2HEX:{d:"Converts a signed binary number to signed hexadecimal format.",a:"Converts a binary number to hexadecimal.",p:[{name:"signed_binary_number",detail:"The signed 10-bit binary value to be converted to signed hexademical, provided as a string."},{name:"significant_digits",detail:"The number of significant digits to ensure in the result."}]},BIN2OCT:{d:"Converts a signed binary number to signed octal format.",a:"Converts a binary number to octal.",p:[{name:"signed_binary_number",detail:"The signed 10-bit binary value to be converted to signed octal, provided as a string."},{name:"significant_digits",detail:"The number of significant digits to ensure in the result."}]},DEC2BIN:{d:"Converts a decimal number to signed binary format.",a:"Converts a decimal number to signed binary format.",p:[{name:"decimal_number",detail:"The decimal value to be converted to signed binary, provided as a string."},{name:"significant_digits",detail:"The number of significant digits to ensure in the result."}]},DEC2HEX:{d:"Converts a decimal number to signed hexadecimal format.",a:"Converts a decimal number to hexadecimal.",p:[{name:"decimal_number",detail:"The decimal value to be converted to signed hexadecimal, provided as a string."},{name:"significant_digits",detail:"The number of significant digits to ensure in the result."}]},DEC2OCT:{d:"Converts a decimal number to signed octal format.",a:"Converts a decimal number to signed octal format.",p:[{name:"decimal_number",detail:"The decimal value to be converted to signed octal, provided as a string."},{name:"significant_digits",detail:"The number of significant digits to ensure in the result."}]},HEX2BIN:{d:"Converts a signed hexadecimal number to signed binary format.",a:"Converts a hexadecimal number to binary.",p:[{name:"signed_hexadecimal_number",detail:"The signed 40-bit hexadecimal value to be converted to signed binary, provided as a string."},{name:"significant_digits",detail:"The number of significant digits to ensure in the result."}]},HEX2DEC:{d:"Converts a signed hexadecimal number to decimal format.",a:"Converts a hexadecimal number to decimal.",p:[{name:"signed_hexadecimal_number",detail:"The signed 40-bit hexadecimal value to be converted to decimal, provided as a string."}]},HEX2OCT:{d:"Converts a signed hexadecimal number to signed octal format.",a:"Converts a hexadecimal number to octal.",p:[{name:"signed_hexadecimal_number",detail:"The signed 40-bit hexadecimal value to be converted to signed octal, provided as a string."},{name:"significant_digits",detail:"The number of significant digits to ensure in the result."}]},OCT2BIN:{d:"Converts a signed octal number to signed binary format.",a:"Converts an octal number to binary.",p:[{name:"signed_octal_number",detail:"The signed 30-bit octal value to be converted to signed binary, provided as a string."},{name:"significant_digits",detail:"The number of significant digits to ensure in the result."}]},OCT2DEC:{d:"Converts a signed octal number to decimal format.",a:"Converts a signed octal number to decimal format.",p:[{name:"signed_octal_number",detail:"The signed 30-bit octal value to be converted to decimal, provided as a string."}]},OCT2HEX:{d:"Converts a signed octal number to signed hexadecimal format.",a:"Converts an octal number to hexadecimal.",p:[{name:"signed_octal_number",detail:"The signed 30-bit octal value to be converted to signed hexadecimal, provided as a string."},{name:"significant_digits",detail:"The number of significant digits to ensure in the result."}]},COMPLEX:{d:"Creates a complex number given real and imaginary coefficients.",a:"Creates a complex number.",p:[{name:"real_part",detail:"The real coefficient."},{name:"imaginary_part",detail:"The imaginary coefficient."},{name:"suffix",detail:"The suffix for the imaginary coefficient, can only be 'i' or 'j'. If omitted, 'i' will be used."}]},IMREAL:{d:"Returns the real coefficient of a complex number.",a:"The real coefficient of a complex number.",p:[{name:"complex_number",detail:"The complex number, in the a+bi or a+bj format."}]},IMAGINARY:{d:"Returns the imaginary coefficient of a complex number.",a:"The imaginary coefficient of a complex number.",p:[{name:"complex_number",detail:"The complex number, in the a+bi or a+bj format."}]},IMCONJUGATE:{d:"Returns the complex conjugate of a number.",a:"The complex conjugate of a number.",p:[{name:"number",detail:"The complex number to calculate the conjugate for."}]},IMABS:{d:"Returns absolute value (or modulus) of a complex number.",a:"The absolute value of a complex number.",p:[{name:"number",detail:"The complex number to calculate the absolute value of."}]},DELTA:{d:"Compare two numeric values, returning 1 if they're equal.",a:"Compare two numeric values.",p:[{name:"number1",detail:"The first number to compare."},{name:"number2",detail:"The second number to compare."}]},IMSUM:{d:"Returns the sum of a series of complex numbers.",a:"Sum of a series of complex numbers.",p:[{name:"value1",detail:"The first complex number or range to add together."},{name:"value2",detail:"Additional complex numbers or ranges to add to `value1`."}]},IMSUB:{d:"Returns the difference between two complex numbers.",a:"The difference between two complex numbers.",p:[{name:"first_number",detail:"The complex number to subtract second_number from."},{name:"second_number",detail:"The complex number to subtract from first_number."}]},IMPRODUCT:{d:"Returns the result of multiplying a series of complex numbers together.",a:"Result of multiplying a series of complex numbers together.",p:[{name:"factor1",detail:"The first number or range to calculate for the product."},{name:"factor2",detail:"Additional complex numbers or ranges to calculate for the product."}]},IMDIV:{d:"Returns one complex number divided by another.",a:"One complex number divided by another.",p:[{name:"dividend",detail:"The complex number to be divided."},{name:"divisor",detail:"The complex number to divide by."}]},NOT:{d:"Returns the opposite of a logical value - `NOT(TRUE)` returns `FALSE`; `NOT(FALSE)` returns `TRUE`.",a:"Returns opposite of provided logical value.",p:[{name:"logical_expression",detail:"An expression or reference to a cell holding an expression that represents some logical value."}]},TRUE:{d:"Returns the logical value `TRUE`.",a:"Logical value `true`.",p:[]},FALSE:{d:"Returns the logical value `FALSE`.",a:"Logical value `false`.",p:[]},AND:{d:"Returns true if all of the provided arguments are logically true, and false if any of the provided arguments are logically false.",a:"Logical `and` operator.",p:[{name:"logical_expression1",detail:"An expression or reference to a cell containing an expression that represents some logical value, i.e. `TRUE` or `FALSE`, or an expression that can be coerced to a logical value."},{name:"logical_expression2",detail:"More expressions that represent logical values."}]},IFERROR:{d:"Returns the first argument if it is not an error value, otherwise returns the second argument if present, or a blank if the second argument is absent.",a:"Value if it is not an error, otherwise 2nd argument.",p:[{name:"value",detail:"The value to return if `value` itself is not an error."},{name:"value_if_error",detail:"The value the function returns if `value` is an error."}]},IF:{d:"Returns one value if a logical expression is `TRUE` and another if it is `FALSE`.",a:"Returns value depending on logical expression.",p:[{name:"logical_expression",detail:"An expression or reference to a cell containing an expression that represents some logical value, i.e. `TRUE` or `FALSE`."},{name:"value_if_true",detail:"The value the function returns if `logical_expression` is `TRUE`."},{name:"value_if_false",detail:"The value the function returns if `logical_expression` is `FALSE`."}]},OR:{d:"Returns true if any of the provided arguments are logically true, and false if all of the provided arguments are logically false.",a:"Logical `or` operator.",p:[{name:"logical_expression1",detail:"An expression or reference to a cell containing an expression that represents some logical value, i.e. `TRUE` or `FALSE`, or an expression that can be coerced to a logical value."},{name:"logical_expression2",detail:"More expressions that evaluate to logical values."}]},NE:{d:"Returns `TRUE` if two specified values are not equal and `FALSE` otherwise. Equivalent to the `!=` operator.",a:"Not equal.",p:[{name:"value1",detail:"The first value."},{name:"value2",detail:"The value to test against `value1` for inequality."}]},EQ:{d:"Returns `TRUE` if two specified values are equal and `FALSE` otherwise. Equivalent to the `==` operator.",a:"Equal.",p:[{name:"value1",detail:"The first value."},{name:"value2",detail:"The value to test against `value1` for equality."}]},GT:{d:"Returns `TRUE` if the first argument is strictly greater than the second, and `FALSE` otherwise. Equivalent to the `>` operator.",a:"Strictly greater than.",p:[{name:"value1",detail:"The value to test as being greater than `value2`."},{name:"value2",detail:"The second value."}]},GTE:{d:"Returns `TRUE` if the first argument is greater than or equal to the second, and `FALSE` otherwise. Equivalent to the `>=` operator.",a:"Greater than or equal to.",p:[{name:"value1",detail:"The value to test as being greater than or equal to `value2`."},{name:"value2",detail:"The second value."}]},LT:{d:"Returns `TRUE` if the first argument is strictly less than the second, and `FALSE` otherwise. Equivalent to the `<` operator.",a:"Less than.",p:[{name:"value1",detail:"The value to test as being less than `value2`."},{name:"value2",detail:"The second value."}]},LTE:{d:"Returns `TRUE` if the first argument is less than or equal to the second, and `FALSE` otherwise. Equivalent to the `<=` operator.",a:"Less than or equal to.",p:[{name:"value1",detail:"The value to test as being less than or equal to `value2`."},{name:"value2",detail:"The second value."}]},ADD:{d:"Returns the sum of two numbers. Equivalent to the `+` operator.",a:"Sum of two numbers",p:[{name:"value1",detail:"The first addend."},{name:"value2",detail:"The second addend."}]},MINUS:{d:"Returns the difference of two numbers. Equivalent to the `-` operator.",a:"Difference of two numbers",p:[{name:"value1",detail:"The minuend, or number to be subtracted from."},{name:"value2",detail:"The subtrahend, or number to subtract from `value1`."}]},MULTIPLY:{d:"Returns the product of two numbers. Equivalent to the `*` operator.",a:"Product of two numbers",p:[{name:"factor1",detail:"The first multiplicand."},{name:"factor2",detail:"The second multiplicand."}]},DIVIDE:{d:"Returns one number divided by another. Equivalent to the `/` operator.",a:"One number divided by another",p:[{name:"dividend",detail:"The number to be divided."},{name:"divisor",detail:"The number to divide by."}]},CONCAT:{d:"Returns the concatenation of two values. Equivalent to the `&` operator.",a:"Concatenation of two values",p:[{name:"value1",detail:"The value to which `value2` will be appended."},{name:"value2",detail:"The value to append to `value1`."}]},UNARY_PERCENT:{d:"Returns a value interpreted as a percentage; that is, `UNARY_PERCENT(100)` equals `1`.",a:"Value interpreted as a percentage.",p:[{name:"percentage",detail:"The value to interpret as a percentage."}]},CONCATENATE:{d:"Appends strings to one another.",a:"Appends strings to one another.",p:[{name:"string1",detail:"The initial string."},{name:"string2",detail:"More strings to append in sequence."}]},CODE:{d:"Returns the numeric Unicode map value of the first character in the string provided.",a:"Numeric unicode map value of character.",p:[{name:"string",detail:"The string whose first character's Unicode map value will be returned."}]},CHAR:{d:"Convert a number into a character according to the current Unicode table.",a:"Gets character associated with number.",p:[{name:"table_number",detail:"The number of the character to look up from the current Unicode table in decimal format."}]},ARABIC:{d:"Computes the value of a Roman numeral.",a:"Computes the value of a roman numeral.",p:[{name:"roman_numeral",detail:"The Roman numeral to format, whose value must be between 1 and 3999, inclusive."}]},ROMAN:{d:"Formats a number in Roman numerals.",a:"Formats a number in Roman numerals.",p:[{name:"number",detail:"The number to format, between 1 and 3999, inclusive."}]},REGEXEXTRACT:{d:"Extracts matching substrings according to a regular expression.",a:"Extracts matching substrings with regular expression.",p:[{name:"text",detail:"The input text."},{name:"regular_expression",detail:"The first part of `text` that matches this expression will be returned."}]},REGEXMATCH:{d:"Whether a piece of text matches a regular expression.",a:"Whether a piece of text matches regular expression.",p:[{name:"text",detail:"The text to be tested against the regular expression."},{name:"regular_expression",detail:"The regular expression to test the text against."}]},REGEXREPLACE:{d:"Replaces part of a text string with a different text string using regular expressions.",a:"Replaces text with regular expressions.",p:[{name:"text",detail:"The text, a part of which will be replaced."},{name:"regular_expression",detail:"The regular expression. All matching instances in `text` will be replaced."},{name:"replacement",detail:"The text which will be inserted into the original text."}]},T:{d:"Returns string arguments as text, or the empty string if the value is not text.",a:"String arguments as text.",p:[{name:"value",detail:"The argument to be converted to text."}]},FIXED:{d:"Formats a number with a fixed number of decimal places.",a:"Formats number with fixed number of decimal places.",p:[{name:"number",detail:"The number to format."},{name:"number_of_places",detail:"The number of decimal places to display in the result."},{name:"suppress_separator",detail:"Whether or not to suppress the thousands separator used in some locales (e.g. `1,000` becomes `1000`). Separators will be present if this value is 0 or omitted, and absent otherwise."}]},FIND:{d:"Returns the position at which a string is first found within text where the capitalization of letters matters. Returns `#VALUE!` if the string is not found.",a:"First position of string found in text, case-sensitive.",p:[{name:"search_for",detail:"The string to look for within `text_to_search`."},{name:"text_to_search",detail:"The text to search for the first occurrence of `search_for`."},{name:"starting_at",detail:"The character within `text_to_search` at which to start the search."}]},FINDB:{d:"Returns the position at which a string is first found within text counting each double-character as 2.",a:"Position at which a string is first found within text (binary).",p:[{name:"search_for",detail:"The string to look for within `text_to_search`."},{name:"text_to_search",detail:"The text to search for the first occurrence of `search_for`."},{name:"starting_at",detail:"The character within `text_to_search` at which to start the search."}]},JOIN:{d:"Concatenates the elements of one or more one-dimensional arrays using a specified delimiter.",a:"Concatenates elements of arrays with delimiter.",p:[{name:"delimiter",detail:"The character or string to place between each concatenated value."},{name:"value_or_array1",detail:"The value or values to be appended using `delimiter`."},{name:"value_or_array2",detail:"More values to be appended using `delimiter`."}]},LEFT:{d:"Returns a substring from the beginning of a specified string.",a:"Substring from beginning of specified string.",p:[{name:"string",detail:"The string from which the left portion will be returned."},{name:"number_of_characters",detail:"The number of characters to return from the left side of `string`."}]},RIGHT:{d:"Returns a substring from the end of a specified string.",a:"A substring from the end of a specified string.",p:[{name:"string",detail:"The string from which the right portion will be returned."},{name:"number_of_characters",detail:"The number of characters to return from the right side of `string`."}]},MID:{d:"Returns a segment of a string.",a:"A segment of a string.",p:[{name:"string",detail:"The string to extract a segment from."},{name:"starting_at",detail:"The index from the left of `string` from which to begin extracting. The first character in `string` has the index 1."},{name:"extract_length",detail:"The length of the segment to extract."}]},LEN:{d:"Returns the length of a string.",a:"Length of a string.",p:[{name:"text",detail:"The string whose length will be returned."}]},LENB:{d:"Returns the length of a string in bytes.",a:"Length of a string in bytes.",p:[{name:"text",detail:"The string whose length will be returned."}]},LOWER:{d:"Converts a specified string to lowercase.",a:"Converts a specified string to lowercase.",p:[{name:"text",detail:"The string to convert to lowercase."}]},UPPER:{d:"Converts a specified string to uppercase.",a:"Converts a specified string to uppercase.",p:[{name:"text",detail:"The string to convert to uppercase."}]},EXACT:{d:"Tests whether two strings are identical.",a:"Tests whether two strings are identical.",p:[{name:"string1",detail:"The first string to compare"},{name:"string2",detail:"The second string to compare"}]},REPLACE:{d:"Replaces part of a text string with a different text string.",a:"Replaces part of a text string with different text.",p:[{name:"text",detail:"The text, a part of which will be replaced."},{name:"position",detail:"The position where the replacement will begin (starting from 1)."},{name:"length",detail:"The number of characters in the text to be replaced."},{name:"new_text",detail:"The text which will be inserted into the original text."}]},REPT:{d:"Returns specified text repeated a number of times.",a:"Specified text repeated a number of times.",p:[{name:"text_to_repeat",detail:"The character or string to repeat."},{name:"number_of_repetitions",detail:"The number of times `text_to_repeat` should appear in the value returned."}]},SEARCH:{d:"Returns the position at which a string is first found within text and ignores capitalization of letters. Returns `#VALUE!` if the string is not found.",a:"First position of string found in text, ignoring case.",p:[{name:"search_for",detail:"The string to look for within `text_to_search`."},{name:"text_to_search",detail:"The text to search for the first occurrence of `search_for`."},{name:"starting_at",detail:"The character within `text_to_search` at which to start the search."}]},SUBSTITUTE:{d:"Replaces existing text with new text in a string.",a:"Replaces existing text with new text in a string.",p:[{name:"text_to_search",detail:"The text within which to search and replace."},{name:"search_for",detail:"The string to search for within `text_to_search`."},{name:"replace_with",detail:"The string that will replace `search_for`."},{name:"occurrence_number",detail:"The instance of `search_for` within `text_to_search` to replace with `replace_with`. By default, all occurrences of `search_for` are replaced; however, if `occurrence_number` is specified, only the indicated instance of `search_for` is replaced."}]},CLEAN:{d:"Returns the text with the non-printable ASCII characters removed.",a:"Removes non-printable characters from a piece of text.",p:[{name:"text",detail:"The text whose non-printable characters are to be removed."}]},TEXT:{d:"Converts a number into text according to a specified format.",a:"Formats a number into text.",p:[{name:"number",detail:"The number, date, or time to format."},{name:"format",detail:"The pattern by which to format the number, enclosed in quotation marks."}]},TRIM:{d:"Removes leading, trailing, and repeated spaces in text.",a:"Removes space characters.",p:[{name:"text",detail:"The text or reference to a cell containing text to be trimmed."}]},VALUE:{d:"Converts a string in any of the date, time or number formats that Google Sheets understands into a number.",a:"Converts a date/time/number string into a number.",p:[{name:"text",detail:"The string containing the value to be converted."}]},PROPER:{d:"Capitalizes each word in a specified string.",a:"Capitalizes each word in a specified string.",p:[{name:"text_to_capitalize",detail:"The text which will be returned with the first letter of each word in uppercase and all other letters in lowercase."}]},CONVERT:{d:"Converts a numeric value to a different unit of measure.",a:"Unit conversion for numbers.",p:[{name:"value",detail:"The numeric value in `start_unit` to convert to `end_unit`."},{name:"start_unit",detail:"The starting unit, the unit currently assigned to `value`."},{name:"end_unit",detail:"The unit of measure into which to convert the argument, `value`."}]},SUMX2MY2:{d:"Calculates the sum of the differences of the squares of values in two arrays.",a:"Sum of the differences of squares.",p:[{name:"array_x",detail:"The array or range of values whose squares will be reduced by the squares of corresponding entries in `array_y` and added together."},{name:"array_y",detail:"The array or range of values whose squares will be subtracted from the squares of corresponding entries in `array_x` and added together."}]},SUMX2PY2:{d:"Calculates the sum of the sums of the squares of values in two arrays.",a:"Sum of the sums of squares.",p:[{name:"array_x",detail:"The array or range of values whose squares will be added to the squares of corresponding entries in `array_y` and added together."},{name:"array_y",detail:"The array or range of values whose squares will be added to the squares of corresponding entries in `array_x` and added together."}]},SUMXMY2:{d:"Calculates the sum of the squares of differences of values in two arrays.",a:"Sum of the squares of differences.",p:[{name:"array_x",detail:"The array or range of values that will be reduced by corresponding entries in `array_y`, squared, and added together."},{name:"array_y",detail:"The array or range of values that will be subtracted from corresponding entries in `array_x`, the result squared, and all such results added together."}]},TRANSPOSE:{d:"Transposes the rows and columns of an array or range of cells.",a:"Transposes the rows and columns of an array.",p:[{name:"array_or_range",detail:"The array or range whose rows and columns will be swapped."}]},TREND:{d:"Given partial data about a linear trend, fits an ideal linear trend using the least squares method and/or predicts further values.",a:"Fits points to linear trend derived via least-squares.",p:[{name:"known_data_y",detail:"The array or range containing dependent (y) values that are already known, used to curve fit an ideal linear trend."},{name:"known_data_x",detail:"The values of the independent variable(s) corresponding with `known_data_y`."},{name:"new_data_x",detail:"The data points to return the `y` values for on the ideal curve fit."},{name:"b",detail:"Given a general linear form of `y = m*x+b` for a curve fit, calculates `b` if `TRUE` or forces `b` to be `0` and only calculates the `m` values if `FALSE`, i.e. forces the curve fit to pass through the origin."}]},FREQUENCY:{d:"Calculates the frequency distribution of a one-column array into specified classes.",a:"The frequency distribution of array.",p:[{name:"data",detail:"The array or range containing the values to be counted."},{name:"classes",detail:"The array or range containing the set of classes."}]},GROWTH:{d:"Given partial data about an exponential growth trend, fits an ideal exponential growth trend and/or predicts further values.",a:"Fits points to exponential growth trend.",p:[{name:"known_data_y",detail:"The array or range containing dependent (y) values that are already known, used to curve fit an ideal exponential growth curve."},{name:"known_data_x",detail:"The values of the independent variable(s) corresponding with `known_data_y`."},{name:"new_data_x",detail:"The data points to return the `y` values for on the ideal curve fit."},{name:"b",detail:"Given a general exponential form of `y = b*m^x` for a curve fit, calculates `b` if `TRUE` or forces `b` to be `1` and only calculates the `m` values if `FALSE`."}]},LINEST:{d:"Given partial data about a linear trend, calculates various parameters about the ideal linear trend using the least-squares method.",a:"Best-fit linear trend via least-squares.",p:[{name:"known_data_y",detail:"The array or range containing dependent (y) values that are already known, used to curve fit an ideal linear trend."},{name:"known_data_x",detail:"The values of the independent variable(s) corresponding with `known_data_y`."},{name:"calculate_b",detail:"Given a linear form of `y = m*x+b`, calculates the y-intercept (`b`) if `TRUE`. Otherwise, forces `b` to be `0` and only calculates the `m` values if `FALSE`, i.e. forces the curve fit to pass through the origin."},{name:"verbose",detail:"A flag specifying whether to return additional regression statistics or only the linear coefficients and the y-intercept (default)."}]},LOGEST:{d:"Given partial data about an exponential growth curve, calculates various parameters about the best fit ideal exponential growth curve.",a:"Best-fit exponential growth curve.",p:[{name:"known_data_y",detail:"The array or range containing dependent (y) values that are already known, used to curve fit an ideal exponential growth curve."},{name:"known_data_x",detail:"The values of the independent variable(s) corresponding with `known_data_y`."},{name:"b",detail:"Given a general exponential form of `y = b*m^x` for a curve fit, calculates `b` if `TRUE` or forces `b` to be `1` and only calculates the `m` values if `FALSE`."},{name:"verbose",detail:"A flag specifying whether to return additional regression statistics or only the calculated coefficient and exponents."}]},MDETERM:{d:"Returns the matrix determinant of a square matrix specified as an array or range.",a:"Matrix determinant of a square matrix.",p:[{name:"square_matrix",detail:"An array or range with an equal number of rows and columns representing a matrix whose determinant will be calculated."}]},MINVERSE:{d:"Returns the multiplicative inverse of a square matrix specified as an array or range.",a:"Multiplicative inverse of square matrix.",p:[{name:"square_matrix",detail:"An array or range with an equal number of rows and columns representing a matrix whose multiplicative inverse will be calculated."}]},MMULT:{d:"Calculates the matrix product of two matrices specified as arrays or ranges.",a:"The matrix product of two matrices.",p:[{name:"matrix1",detail:"The first matrix in the matrix multiplication operation, represented as an array or range."},{name:"matrix2",detail:"The second matrix in the matrix multiplication operation, represented as an array or range."}]},SUMPRODUCT:{d:"Calculates the sum of the products of corresponding entries in two equal-sized arrays or ranges.",a:"Sum of products of elements in two arrays.",p:[{name:"array1",detail:"The first array or range whose entries will be multiplied with corresponding entries in the second such array or range."},{name:"array2",detail:"The second array or range whose entries will be multiplied with corresponding entries in the first such array or range."}]},ISFORMULA:{d:"Checks whether a value is a formula.",a:"Whether a value is a formula.",p:[{name:"cell",detail:"The cell to be verified as containing a formula."}]},CELL:{d:"Returns the requested information about the specified cell.",a:"Gets information about a cell.",p:[{name:"info_type",detail:"The type of information requested (see article for available types)"},{name:"reference",detail:"The reference to the cell."}]},NA:{d:'Returns the "value not available" error, `#N/A`.',a:"The `#N/A` error.",p:[]},ERROR_TYPE:{d:"Returns a number corresponding to the error value in a different cell.",a:"Error value of cell (as number).",p:[{name:"reference",detail:"The cell to find the error number for although you can also provide the error value directly."}]},ISBLANK:{d:"Checks whether the referenced cell is empty.",a:"Whether the referenced cell is empty.",p:[{name:"value",detail:"Reference to the cell that will be checked for emptiness."}]},ISERR:{d:"Checks whether a value is an error other than `#N/A`.",a:"Whether a value is an error other than `#n/a`.",p:[{name:"value",detail:"The value to be verified as an error type other than `#N/A`."}]},ISERROR:{d:"Checks whether a value is an error.",a:"Whether a value is an error.",p:[{name:"value",detail:"The value to be verified as an error type."}]},ISLOGICAL:{d:"Checks whether a value is `TRUE` or `FALSE`.",a:"Whether a value is `true` or `false`.",p:[{name:"value",detail:"The value to be verified as a logical `TRUE` or `FALSE`."}]},ISNA:{d:"Checks whether a value is the error `#N/A`.",a:"Whether a value is the error `#n/a`.",p:[{name:"value",detail:"The value to be compared with the error value `#N/A`."}]},ISNONTEXT:{d:"Checks whether a value is non-textual.",a:"Whether a value is non-textual.",p:[{name:"value",detail:"The value to be checked."}]},ISNUMBER:{d:"Checks whether a value is a number.",a:"Whether a value is a number.",p:[{name:"value",detail:"The value to be verified as a number."}]},ISREF:{d:"Checks whether a value is a valid cell reference.",a:"Whether a value is a valid cell reference.",p:[{name:"value",detail:"The value to be verified as a cell reference."}]},ISTEXT:{d:"Checks whether a value is text.",a:"Whether a value is text.",p:[{name:"value",detail:"The value to be verified as text."}]},TYPE:{d:"Returns a number associated with the type of data passed into the function.",a:"Get the type of a value.",p:[{name:"value",detail:"The value whose type is to be determined."}]},N:{d:"Returns the argument provided as a number. Text is converted to 0 and errors are returned as-is.",a:"Argument provided as a number.",p:[{name:"value",detail:"The argument to be converted to a number."}]},TO_DATE:{d:"Converts a provided number to a date.",a:"Converts a provided number to a date.",p:[{name:"value",detail:"The argument or reference to a cell to be converted to a date."}]},TO_PURE_NUMBER:{d:"Converts a provided date/time, percentage, currency or other formatted numeric value to a pure number without formatting.",a:"Converts any numeric value to a pure number.",p:[{name:"value",detail:"The argument or reference to a cell to be converted to a pure number."}]},TO_TEXT:{d:"Converts a provided numeric value to a text value.",a:"Converts a provided numeric value to a text value.",p:[{name:"value",detail:"The argument or reference to a cell to be converted to text."}]},TO_DOLLARS:{d:"Converts a provided number to a dollar value.",a:"Converts a provided number to a dollar value.",p:[{name:"value",detail:"The argument or reference to a cell to be converted to a dollar value."}]},TO_PERCENT:{d:"Converts a provided number to a percentage.",a:"Converts a provided number to a percentage.",p:[{name:"value",detail:"The argument or reference to a cell to be converted to a percentage."}]},DGET:{d:"Returns a single value from a database table-like array or range using a SQL-like query.",a:"Single value from a table-like range.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DMAX:{d:"Returns the maximum value selected from a database table-like array or range using a SQL-like query.",a:"Maximum of values from a table-like range.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DMIN:{d:"Returns the minimum value selected from a database table-like array or range using a SQL-like query.",a:"Minimum of values from a table-like range.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DAVERAGE:{d:"Returns the average of a set of values selected from a database table-like array or range using a SQL-like query.",a:"Average of a set of values from a table-like range.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DCOUNT:{d:"Counts numeric values selected from a database table-like array or range using a SQL-like query.",a:"Counts values from a table-like range.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DCOUNTA:{d:"Counts values, including text, selected from a database table-like array or range using a SQL-like query.",a:"Counts values and text from a table-like range.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DPRODUCT:{d:"Returns the product of values selected from a database table-like array or range using a SQL-like query.",a:"Product of values from a table-like range.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DSTDEV:{d:"Returns the standard deviation of a population sample selected from a database table-like array or range using a SQL-like query.",a:"Standard deviation of population sample from table.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DSTDEVP:{d:"Returns the standard deviation of an entire population selected from a database table-like array or range using a SQL-like query.",a:"Standard deviation of entire population from table.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DSUM:{d:"Returns the sum of values selected from a database table-like array or range using a SQL-like query.",a:"Sum of values from a table-like range.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DVAR:{d:"Returns the variance of a population sample selected from a database table-like array or range using a SQL-like query.",a:"Variance of population sample from table-like range.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DVARP:{d:"Returns the variance of an entire population selected from a database table-like array or range using a SQL-like query.",a:"Variance of a population from a table-like range.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},AGE_BY_IDCARD:{d:"Calculate the age based on the Chinese ID number. Support 15 or 18",a:"Get age based on ID number.",p:[{name:"ID number",detail:"15-digit or 18-digit ID number or range."},{name:"Deadline",detail:"The deadline or range of age calculation. The default is the current day."}]},SEX_BY_IDCARD:{d:"Calculate gender based on Chinese ID number. Support 15 or 18",a:"Get gender based on ID number.",p:[{name:"ID number",detail:"15-digit or 18-digit ID number or range."}]},BIRTHDAY_BY_IDCARD:{d:"Calculate the birthday based on the Chinese ID number. Support 15 or 18",a:"Get the birthday based on the ID number.",p:[{name:"ID number",detail:"15-digit or 18-digit ID number or range."},{name:"Birthday format",detail:"Date type, default:0:[1900/01/01], 1:[1900-01-01], 2:[1900\u5E741\u67081\u65E5]"}]},PROVINCE_BY_IDCARD:{d:"Calculate the province of birthplace based on the Chinese ID number. Support 15 or 18",a:"Get the province of birthplace based on the ID number.",p:[{name:"ID number",detail:"15-digit or 18-digit ID number or range."}]},CITY_BY_IDCARD:{d:"Calculate the city of birthplace based on the Chinese ID number. Support 15 or 18",a:"Get the city of birthplace based on the ID number.",p:[{name:"ID number",detail:"15-digit or 18-digit ID number or range."}]},STAR_BY_IDCARD:{d:"Calculate the constellation based on the Chinese ID number. Support 15 or 18",a:"Get the constellation based on the ID number.",p:[{name:"ID number",detail:"15-digit or 18-digit ID number or range."}]},ANIMAL_BY_IDCARD:{d:"Calculate the zodiac (rat, ox, tiger, rabbit...) based on the Chinese ID number. Support 15 or 18",a:"Get the zodiac according to the ID number.",p:[{name:"ID number",detail:"15-digit or 18-digit ID number or range."}]},ISIDCARD:{d:"Verify that the format of the ID card is correct. Support 15 or 18",a:"Verify the correctness of the ID card format.",p:[{name:"ID number",detail:"15-digit or 18-digit ID number or range."}]},DM_TEXT_CUTWORD:{d:"Text segmentation. Split a series of words into a series of individual words",a:"Chinese text segmentation.",p:[{name:"Text",detail:"Any text that needs word segmentation."},{name:"Word segmentation mode",detail:"The default is 0[precision mode], 1[full mode], 2[search engine mode]."}]},DM_TEXT_TFIDF:{d:"Use tf-idf algorithm for keyword extraction. Identify keywords from a series of text",a:"tf-idf keyword recognition.",p:[{name:"Text",detail:"Any text that needs word segmentation."},{name:"Number of keywords",detail:"The number of keywords returned by the algorithm, the default is 20"},{name:"Corpus",detail:"Select a corpus in a specific field, the default is 0[General], 1[Finance], 2[Medical]"}]},DM_TEXT_TEXTRANK:{d:"Use TextRank algorithm to extract keywords. Identify keywords from a series of text",a:"TextRank keyword recognition.",p:[{name:"Text",detail:"Any text that needs word segmentation."},{name:"Number of keywords",detail:"The number of keywords returned by the algorithm, the default is 20"},{name:"Corpus",detail:"Select a corpus in a specific field, the default is 0[General], 1[Finance], 2[Medical]"}]},DATA_CN_STOCK_CLOSE:{d:"According to the stock code and date, return the corresponding stock closing price of A shares.",a:"Returns the closing price of stock.",p:[{name:"Stock code",detail:"6-digit stock code, required."},{name:"Date",detail:"The trading day of the stock, the default is the latest trading day"},{name:"Reversion and exclusion",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]"}]},DATA_CN_STOCK_OPEN:{d:"According to the stock code and date, return the opening price of stock.",a:"Return the opening price of a shares.",p:[{name:"Stock code",detail:"6-digit stock code, required."},{name:"Date",detail:"The trading day of the stock, the default is the latest trading day"},{name:"Reversion and exclusion",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]"}]},DATA_CN_STOCK_MAX:{d:"According to the stock code and date, return the highest price of stock.",a:"Return the highest price of stock.",p:[{name:"Stock code",detail:"6-digit stock code, required."},{name:"Date",detail:"The trading day of the stock, the default is the latest trading day"},{name:"Reversion and exclusion",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]"}]},DATA_CN_STOCK_MIN:{d:"According to the stock code and date, return the lowest price of stock.",a:"Returns the lowest price of stock.",p:[{name:"Stock code",detail:"6-digit stock code, required."},{name:"Date",detail:"The trading day of the stock, the default is the latest trading day"},{name:"Reversion and exclusion",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]"}]},DATA_CN_STOCK_VOLUMN:{d:"According to the stock code and date, return the corresponding stock trading volume of A shares.",a:"Returns the corresponding stock trading volume of A shares.",p:[{name:"Stock code",detail:"6-digit stock code, required."},{name:"Date",detail:"The trading day of the stock, the default is the latest trading day"},{name:"Reversion and exclusion",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]"}]},DATA_CN_STOCK_AMOUNT:{d:"According to the stock code and date, return the corresponding stock turnover of A shares.",a:"Returns the corresponding stock turnover of A shares.",p:[{name:"Stock code",detail:"6-digit stock code, required."},{name:"Date",detail:"The trading day of the stock, the default is the latest trading day"},{name:"Reversion and exclusion",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]"}]},ISDATE:{d:"Returns whether a value is a date.",a:"Whether a value is a date.",p:[{name:"value",detail:"The value to be verified as a date."}]},LINESPLINES:{d:"Generate sparklines embedded in the cell to describe the continuous trend of data",a:"Generate sparklines line chart",p:[{name:"Range",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc."},{name:"Line color",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #2ec7c9"},{name:"Line thickness",detail:"Line thickness of the line graph, the default is 1px"},{name:"Auxiliary line",detail:"A horizontal line, which can be min, max, avg, median, range or custom value, default 0 none"},{name:"Auxiliary line color",detail:"Color setting of auxiliary line, same as line color configuration, default #000"},{name:"Maximum mark",detail:"Identifies the maximum value of the line graph, the same line color configuration, default 0 does not display"},{name:"Minimum mark",detail:"Identify the minimum value of the line graph, the same line color configuration, default 0 does not display"},{name:"Mark size",detail:"The maximum and minimum mark size settings, the default is 1.5"}]},AREASPLINES:{d:"Generate sparklines embedded in the cell area chart, generally used to describe the continuous cumulative value trend of the data",a:"Generate sparklines area chart",p:[{name:"Range",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc."},{name:"Line color",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #2ec7c9"},{name:"Fill color",detail:"Form an area chart, the same line color configuration, default 0 does not display"},{name:"Line thickness",detail:"Line thickness of the line graph, the default is 1px"},{name:"Auxiliary line",detail:"A horizontal line, which can be min, max, avg, median, range or custom value, default 0 none"},{name:"Auxiliary line color",detail:"Color setting of auxiliary line, same as line color configuration, default #000"}]},COLUMNSPLINES:{d:"Generate sparklines embedded in the vertical histogram of cells, generally used to describe the size of discrete data",a:"Generate sparklines vertical histogram",p:[{name:"Range",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc."},{name:"Bar interval",detail:"The distance between bars, the default is 1"},{name:"Bar color",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #fc5c5c"},{name:"Negative bar color",detail:"Negative bar color setting, representing the color of negative value, same as the bar color configuration, default #97b552"},{name:"Max",detail:"The maximum value of the bar chart, used to standardize the length of the bar chart, the default is to automatically calculate false, auto, null"},{name:"Color palette",detail:"The color palette can set the color of each bar individually, multiple settings can be set, and two formats are supported: 1 color such as #000, which means that the color of the first bar is black; 2 value range: color, such as -2:# 000 indicates that the bar with a value of -2 is black, 0:5:#000 indicates that the bar with a value of 0-5 is black, and the default is empty"}]},STACKCOLUMNSPLINES:{d:"Generate sparklines, a cumulative vertical histogram embedded in a cell, generally used to describe the numerical size of multiple dimensions of discrete data",a:"Generate sparklines cumulative vertical histogram",p:[{name:"Range",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc."},{name:"Stack by column",detail:"If you need to stack by row, set this item to false or 0, the default is 1"},{name:"Bar interval",detail:"The distance between bars, the default is 1"},{name:"Max",detail:"The maximum value of the cumulative bar, used to regulate the length of the bar, the default is to automatically calculate false, auto, null"},{name:"Color palette",detail:"The color palette can individually set the bar color of each dimension, which can be set to the range of A1:A10, etc. The default is #2ec7c9, #fc5c5c, #5ab1ef, #ffb980..."}]},BARSPLINES:{d:"Generate sparklines embedded in the cell, generally used to describe the size of discrete data",a:"Generate sparklines horizontal bar graph",p:[{name:"Range",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc."},{name:"Bar interval",detail:"The distance between bars, the default is 1"},{name:"Bar color",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #fc5c5c"},{name:"Negative bar color",detail:"Negative bar color setting, representing the color of negative value, same as the bar color configuration, default #97b552"},{name:"Max",detail:"The maximum value of the bar chart, used to standardize the length of the bar chart, the default is to automatically calculate false, auto, null"},{name:"Color palette",detail:"The color palette can set the color of each bar individually, multiple settings can be set, and two formats are supported: 1 color such as #000, which means that the color of the first bar is black; 2 value range: color, such as -2:# 000 indicates that the bar with a value of -2 is black, 0:5:#000 indicates that the bar with a value of 0-5 is black, and the default is empty"}]},STACKBARSPLINES:{d:"Generate sparklines, a cumulative horizontal bar graph embedded in a cell, which is generally used to describe the numerical size of multiple dimensions of discrete data",a:"Generate sparklines cumulative horizontal bar graph",p:[{name:"Range",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc."},{name:"Stack by column",detail:"If you need to stack by row, set this item to false or 0, the default is 1"},{name:"Bar interval",detail:"The distance between bars, the default is 1"},{name:"Max",detail:"The maximum value of the cumulative bar, used to regulate the length of the bar, the default is to automatically calculate false, auto, null"},{name:"Color palette",detail:"The color palette can individually set the bar color of each dimension, which can be set to the range of A1:A10, etc. The default is #2ec7c9, #fc5c5c, #5ab1ef, #ffb980..."}]},DISCRETESPLINES:{d:"Generate sparklines embedded in the cell, generally used to describe the trend of discrete data",a:"Generate sparklines discrete graph",p:[{name:"Range",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc."},{name:"Segmentation threshold",detail:"Discrete graph column color distinction, for example: if the value is 0, blue is greater than 0, red is less than 0, and the default is 0"},{name:"Above threshold color",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #2ec7c9"},{name:"Below threshold color",detail:"The color setting of the bar below the threshold, the same as the color above the threshold, default #fc5c5c"}]},TRISTATESPLINES:{d:"Generate sparklines, a three-state graph embedded in the cell, which is generally used to describe the trend of three situations, such as winning, losing, or drawing.",a:"Generate sparklines three-state graph",p:[{name:"Range",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc."},{name:"Bar interval",detail:"The distance between bars, the default is 1"},{name:"Bar color",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #fc5c5c"},{name:"Negative bar color",detail:"Negative bar color setting, representing the color of negative value, same as the bar color configuration, default #97b552"},{name:"Zero value bar color",detail:"Zero value bar color setting, representing 0 value color, the same color configuration of the bar, default #999"},{name:"Color palette",detail:"The color palette can set the color of each bar individually, multiple settings can be set, and two formats are supported: 1 color such as #000, which means that the color of the first bar is black; 2 value range: color, such as -2:# 000 indicates that the bar with a value of -2 is black, 0:5:#000 indicates that the bar with a value of 0-5 is black, and the default is empty"}]},PIESPLINES:{d:"Generate sparklines pie chart embedded in the cell, generally used to describe the proportion of data",a:"Generate sparklines pie chart",p:[{name:"Range",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc."},{name:"Rotation angle",detail:"The rotation angle of the pie chart, the default is 0"},{name:"border",detail:"Pie chart border size, default is none 0"},{name:"Border color",detail:"The border color of the pie chart, the default is #000"},{name:"Color palette",detail:"The color of the slice can be set in the palette, which can be set to the range of A1:A10, etc. The default is #2ec7c9, #fc5c5c, #5ab1ef, #ffb980..."}]},BOXSPLINES:{d:"Generate sparklines embedded in the cell box plot, generally used to describe the statistical distribution of the data set",a:"Generate sparklines box plot",p:[{name:"Range",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc."},{name:"Outlier ratio",detail:"The threshold range of outliers, if it is 0 or false, it will not be displayed, the default is 1.5 times"},{name:"Target value",detail:"The target value setting on the box plot, the default is false and does not display"},{name:"Point size",detail:"The radius of the target point and outlier is set, the default is 1.5"}]},BULLETSPLINES:{d:"Generate sparklines embedded in the cell, generally used to describe the task achievement rate",a:"Generating sparklines bullets",p:[{name:"Target",detail:"The numerical value can be calculated effectively for the achieved target value, such as A1, 100, etc."},{name:"achieved",detail:"Only when the value is completed can the value be calculated effectively, such as A1, 100, etc."},{name:"Contrast",detail:"Comparative values, such as excess, minimum, and bottom line for awards, can be effectively calculated, such as A1, 100, etc. You can set up to 9 comparison values"}]},COMPOSESPLINES:{d:"Support multiple types of pictures in the same cell, each parameter represents a sparklines diagram",a:"Combine sparklines graphs into one cell",p:[{name:"config",detail:"Sparklines chart settings, such as A1:A20, a completed pie chart, line chart settings, etc."}]},SORT:{d:"Sorts the rows of a given array or range by the values in one or more columns.",a:"Sorts rows of range by specified column.",p:[{name:"range",detail:"The data to be sorted."},{name:"sort_column",detail:"The index of the column in `range` or a range outside of `range` containing the values by which to sort."},{name:"is_ascending",detail:"`TRUE` or `FALSE` indicating whether to sort `sort_column` in ascending order. `FALSE` sorts in descending order."},{name:"sort_column2",detail:"Additional columns."}]},FILTER:{d:"Returns a filtered version of the source range, returning only rows or columns which meet the specified conditions.",a:"Filters a range based off provided conditions.",p:[{name:"range",detail:"The data to be filtered."},{name:"condition1",detail:"A column or row containing true or false values corresponding to the first column or row of `range`, or an array formula evaluating to true or false."},{name:"condition2",detail:"Additional rows or columns containing boolean values `TRUE` or `FALSE` indicating whether the corresponding row or column in `range` should pass through `FILTER`. Can also contain array formula expressions which evaluate to such rows or columns. All conditions must be of the same type (row or column). Mixing row conditions and column conditions is not permitted."}]},UNIQUE:{d:"Returns unique rows in the provided source range, discarding duplicates. Rows are returned in the order in which they first appear in the source range.",a:"Unique rows in the provided source range.",p:[{name:"range",detail:"The data to filter by unique entries."},{name:"by_col",detail:"[Option] - Logical value, indicating how to compare; by row = FALSE() or omitted; by column = TRUE()."},{name:"occurs_once",detail:"[Option] - Logical value, only one occurrence in the unique value is returned = TRUE(); including all unique values = FALSE() or omitted."}]},RANDARRAY:{d:"Returns a grid of random numbers between 0 inclusive and 1 exclusive. The grid size will match the provided rows and columns arguments. If neither rows nor columns are provided, then the grid will be size 1 x 1.",a:"Returns a grid of random numbers.",p:[{name:"rows",detail:"The number of rows to populate with a random number."},{name:"columns",detail:"The number of columns to populate with a random number."}]},SEQUENCE:{d:"Returns a grid of sequential numbers starting at a specified start value and increasing by a specified step size. By default, the sequence starts at and increases by 1.",a:"Returns a grid of sequential numbers.",p:[{name:"rows",detail:"The number of rows in the function's resulting grid."},{name:"columns",detail:"The number of columns in the function's resulting grid. If omitted, the result grid will have 1 column."},{name:"start",detail:"The number, at which to start the sequence. If omitted, the sequence will start at 1."},{name:"step",detail:"The amount each value in the sequence will differ by. If omitted, each value will differ by 1."}]},EVALUATE:{d:"Evaluate a formula or expression expressed in words and return the result",a:"Evaluate according to literal formula or expression.",p:[{name:"expression",detail:"Formula or expression"}]},REMOTE:{d:"Calls a function on a remote server",a:"Calls a function on a remote back end server/API.",p:[{name:"remote_expression",detail:"Formula"}]}},toolbar:{undo:"Undo",redo:"Redo",paintFormat:"Paint format",currencyFormat:"Format as currency",percentageFormat:"Format as percent",numberDecrease:"Decrease decimal places",numberIncrease:"Increase decimal places",moreFormats:"More formats",font:"Font",fontSize:"Font size",bold:"Bold (Ctrl+B)",italic:"Italic (Ctrl+I)",strikethrough:"Strikethrough (Alt+Shift+5)",underline:"Underline",textColor:"Text color",chooseColor:"choose color",resetColor:"Reset",customColor:"CUSTOM",alternatingColors:"Alternating colors",confirmColor:"OK",cancelColor:"Cancel",collapse:"Collapse",fillColor:"Fill color",border:"Border",borderStyle:"Border style",mergeCell:"Merge cells",chooseMergeType:"Choose merge type",horizontalAlign:"Horizontal align",verticalAlign:"Vertical align",alignment:"Alignment",textWrap:"Text wrap",textWrapMode:"Text wrap mode",textRotate:"Text rotate",textRotateMode:"Text rotate mode",freezeTopRow:"Freeze first row",sortAndFilter:"Sort and filter",findAndReplace:"Find and replace",sum:"SUM",autoSum:"Auto SUM",moreFunction:"More functions",conditionalFormat:"Conditional format",postil:"Comment",pivotTable:"Pivot Table",chart:"Chart",screenshot:"Screenshot",splitColumn:"Split text",insertImage:"Insert image",exportXlsx:"Export Xlsx",insertLink:"Insert link",dataVerification:"Data verification",protection:"Protect the sheet",clearText:"Clear color",noColorSelectedText:"No color is selected",toolMore:"More",toolLess:"Less",toolClose:"Close",toolMoreTip:"More features",moreOptions:"More options",cellFormat:"Cell format config",print:"Print"},alternatingColors:{applyRange:"Apply to range",selectRange:"Select a data range",header:"Header",footer:"Footer",errorInfo:"Cannot perform this operation on multiple selection areas, please select a single area and try again",textTitle:"Format style",custom:"CUSTOM",close:"close",selectionTextColor:"Click to select text color",selectionCellColor:"Click to select cell color",removeColor:"Remove alternating colors",colorShow:"color",currentColor:"Current",tipSelectRange:"Please select the range of alternating colors",errorNoRange:"No range is selected",errorExistColors:"Alternating colors already exist and cannot be edited"},button:{confirm:"OK",cancel:"Cancel",close:"Close",update:"Update",delete:"Delete",insert:"Insert",prevPage:"Previous",nextPage:"Next",total:"total:"},paint:{start:"Paint format start",end:"ESC",tipSelectRange:"Please select the range to be copied",tipNotMulti:"Cannot perform this operation on multiple selection ranges"},format:{moreCurrency:"More currency formats",moreDateTime:"More date and time formats",moreNumber:"More number formats",titleCurrency:"Currency formats",decimalPlaces:"Decimal places",titleDateTime:"Date and time formats",titleNumber:"Number formats"},info:{detailUpdate:"New opened",detailSave:"Local cache restored",row:"",column:"",loading:"Loading...",copy:"Copy",return:"Exit",rename:"Rename",tips:"WorkBook rename",noName:"Untitled spreadsheet",wait:"waiting for update",add:"Add",addLast:"more rows at bottom",backTop:"Back to the top",pageInfo:"Total ${total}\uFF0C${totalPage} page\uFF0Ccurrent ${currentPage}",nextPage:"Next",tipInputNumber:"Please enter the number",tipInputNumberLimit:"The increase range is limited to 1-100",tipRowHeightLimit:"Row height must be between 0 ~ 545",tipColumnWidthLimit:"The column width must be between 0 ~ 2038",pageInfoFull:"Total ${total}\uFF0C${totalPage} page\uFF0CAll data displayed"},currencyDetail:{RMB:"RMB",USdollar:"US dollar",EUR:"EUR",GBP:"GBP",HK:"HK",JPY:"JPY",AlbanianLek:"Albanian Lek",AlgerianDinar:"Algerian Dinar",Afghani:"Afghani",ArgentinePeso:"Argentine Peso",UnitedArabEmiratesDirham:"United Arab Emirates Dirham",ArubanFlorin:"Aruban Florin",OmaniRial:"Omani Rial",Azerbaijanimanat:"Azerbaijani manat",EgyptianPound:"Egyptian Pound",EthiopianBirr:"Ethiopian Birr",AngolaKwanza:"Angola Kwanza",AustralianDollar:"Australian Dollar",Patacas:"Patacas",BarbadosDollar:"Barbados Dollar",PapuaNewGuineaKina:"Papua New Guinea Kina",BahamianDollar:"Bahamian Dollar",PakistanRupee:"Pakistan Rupee",ParaguayanGuarani:"Paraguayan Guarani",BahrainiDinar:"Bahraini Dinar",PanamanianBalboa:"Panamanian Balboa",Brazilianreal:"Brazilian real",Belarusianruble:"Belarusian ruble",BermudianDollar:"Bermudian Dollar",BulgarianLev:"Bulgarian Lev",IcelandKrona:"Iceland Krona",BosniaHerzegovinaConvertibleMark:"Bosnia-Herzegovina Convertible Mark",PolishZloty:"Polish Zloty",Boliviano:"Boliviano",BelizeDollar:"Belize Dollar",BotswanaPula:"Botswana Pula",NotDannuzhamu:"Not Dannuzhamu",BurundiFranc:"Burundi Franc",NorthKoreanWon:"North Korean Won",DanishKrone:"Danish Krone",EastCaribbeanDollar:"East Caribbean Dollar",DominicaPeso:"Dominica Peso",RussianRuble:"Russian Ruble",EritreanNakfa:"Eritrean Nakfa",CFAfranc:"CFA franc",PhilippinePeso:"Philippine Peso",FijiDollar:"Fiji Dollar",CapeVerdeEscudo:"Cape Verde Escudo",FalklandIslandsPound:"Falkland Islands Pound",GambianDalasi:"Gambian Dalasi",Congolesefranc:"Congolese franc",ColombianPeso:"Colombian Peso",CostaRicanColon:"Costa Rican Colon",CubanPeso:"Cuban Peso",Cubanconvertiblepeso:"Cuban convertible peso",GuyanaDollar:"Guyana Dollar",KazakhstanTenge:"Kazakhstan Tenge",Haitiangourde:"Haitian gourde",won:"won",NetherlandsAntillesGuilder:"Netherlands Antilles Guilder",Honduraslempiras:"Honduras lempiras",DjiboutiFranc:"Djibouti Franc",KyrgyzstanSom:"Kyrgyzstan Som",GuineaFranc:"Guinea Franc",CanadianDollar:"Canadian Dollar",GhanaianCedi:"Ghanaian Cedi",Cambodianriel:"Cambodian riel",CzechKoruna:"Czech Koruna",ZimbabweDollar:"Zimbabwe Dollar",QatariRiyal:"Qatari Riyal",CaymanIslandsDollar:"Cayman Islands Dollar",Comorianfranc:"Comorian franc",KuwaitiDinar:"Kuwaiti Dinar",CroatianKuna:"Croatian Kuna",KenyanShilling:"Kenyan Shilling",LesothoLoti:"Lesotho Loti",LaoKip:"Lao Kip",LebanesePound:"Lebanese Pound",Lithuanianlitas:"Lithuanian litas",LibyanDinar:"Libyan Dinar",LiberianDollar:"Liberian Dollar",RwandaFranc:"Rwanda Franc",RomanianLeu:"Romanian Leu",MalagasyAriary:"Malagasy Ariary",MaldivianRufiyaa:"Maldivian Rufiyaa",MalawiKwacha:"Malawi Kwacha",MalaysianRinggit:"Malaysian Ringgit",MacedoniawearingDinar:"Macedonia wearing Dinar",MauritiusRupee:"Mauritius Rupee",MauritanianOuguiya:"Mauritanian Ouguiya",MongolianTugrik:"Mongolian Tugrik",BangladeshiTaka:"Bangladeshi Taka",PeruvianNuevoSol:"Peruvian Nuevo Sol",MyanmarKyat:"Myanmar Kyat",MoldovanLeu:"Moldovan Leu",MoroccanDirham:"Moroccan Dirham",MozambiqueMetical:"Mozambique Metical",MexicanPeso:"Mexican Peso",NamibianDollar:"Namibian Dollar",SouthAfricanRand:"South African Rand",SouthSudanesePound:"South Sudanese Pound",NicaraguaCordoba:"Nicaragua Cordoba",NepaleseRupee:"Nepalese Rupee",NigerianNaira:"Nigerian Naira",NorwegianKrone:"Norwegian Krone",GeorgianLari:"Georgian Lari",RMBOffshore:"RMB (Offshore)",SwedishKrona:"Swedish Krona",SwissFranc:"Swiss Franc",SerbianDinar:"Serbian Dinar",SierraLeone:"Sierra Leone",SeychellesRupee:"Seychelles Rupee",SaudiRiyal:"Saudi Riyal",SaoTomeDobra:"Sao Tome Dobra",SaintHelenapound:"Saint Helena pound",SriLankaRupee:"Sri Lanka Rupee",SwazilandLilangeni:"Swaziland Lilangeni",SudanesePound:"Sudanese Pound",Surinamesedollar:"Surinamese dollar",SolomonIslandsDollar:"Solomon Islands Dollar",SomaliShilling:"Somali Shilling",TajikistanSomoni:"Tajikistan Somoni",PacificFranc:"Pacific Franc",ThaiBaht:"Thai Baht",TanzanianShilling:"Tanzanian Shilling",TonganPaanga:"Tongan Pa'anga",TrinidadandTobagoDollar:"Trinidad and Tobago Dollar",TunisianDinar:"Tunisian Dinar",TurkishLira:"Turkish Lira",VanuatuVatu:"Vanuatu Vatu",GuatemalanQuetzal:"Guatemalan Quetzal",CommissionBolivar:"Commission Bolivar",BruneiDollar:"Brunei Dollar",UgandanShilling:"Ugandan Shilling",UkrainianHryvnia:"Ukrainian Hryvnia",UruguayanPeso:"Uruguayan Peso",Uzbekistansom:"Uzbekistan som",WesternSamoaTala:"Western Samoa Tala",SingaporeDollar:"Singapore Dollar",NT:"NT",NewZealandDollar:"New Zealand Dollar",HungarianForint:"Hungarian Forint",SyrianPound:"Syrian Pound",JamaicanDollar:"Jamaican Dollar",ArmenianDram:"Armenian Dram",YemeniRial:"Yemeni Rial",IraqiDinar:"Iraqi Dinar",IranianRial:"Iranian Rial",NewIsraeliShekel:"New Israeli Shekel",IndianRupee:"Indian Rupee",IndonesianRupiah:"Indonesian Rupiah",JordanianDinar:"Jordanian Dinar",VND:"VND",ZambianKwacha:"Zambian Kwacha",GibraltarPound:"Gibraltar Pound",ChileanPeso:"Chilean Peso",CFAFrancBEAC:"CFA Franc BEAC"},defaultFmt:[{text:"Automatic",value:"General",example:""},{text:"Plain text",value:"@",example:""},{text:"",value:"split",example:""},{text:"Number",value:"##0.00",example:"1000.12"},{text:"Percent",value:"#0.00%",example:"12.21%"},{text:"Scientific",value:"0.00E+00",example:"1.01E+5"},{text:"",value:"split",example:""},{text:"Accounting",value:"\xA5(0.00)",example:"\xA5(1200.09)"},{text:"Currency",value:"\xA50.00",example:"\xA51200.09"},{text:"",value:"split",example:""},{text:"Date",value:"yyyy-MM-dd",example:"2017-11-29"},{text:"Time",value:"hh:mm AM/PM",example:"3:00 PM"},{text:"Time 24H",value:"hh:mm",example:"15:00"},{text:"Date time",value:"yyyy-MM-dd hh:mm AM/PM",example:"2017-11-29 3:00 PM"},{text:"Date time 24 H",value:"yyyy-MM-dd hh:mm",example:"2017-11-29 15:00"},{text:"",value:"split",example:""},{text:"Custom formats",value:"fmtOtherSelf",example:"more"}],dateFmtList:[{name:"1930-08-05",value:"yyyy-MM-dd"},{name:"1930/8/5",value:"yyyy/MM/dd"},{name:"08-05",value:"MM-dd"},{name:"8-5",value:"M-d"},{name:"13:30:30",value:"h:mm:ss"},{name:"13:30",value:"h:mm"},{name:"PM 01:30",value:"AM/PM hh:mm"},{name:"PM 1:30",value:"AM/PM h:mm"},{name:"PM 1:30:30",value:"AM/PM h:mm:ss"},{name:"08-05 PM 01:30",value:"MM-dd AM/PM hh:mm"}],fontFamily:{MicrosoftYaHei:"YaHei"},fontarray:["Times New Roman","Arial","Tahoma","Verdana"],fontjson:{"times new roman":0,arial:1,tahoma:2,verdana:3},border:{borderTop:"borderTop",borderBottom:"borderBottom",borderLeft:"borderLeft",borderRight:"borderRight",borderNone:"borderNone",borderAll:"borderAll",borderOutside:"borderOutside",borderInside:"borderInside",borderHorizontal:"borderHorizontal",borderVertical:"borderVertical",borderColor:"borderColor",borderSize:"borderSize"},merge:{mergeAll:"Merge all",mergeV:"Vertically",mergeH:"Horizontally",mergeCancel:"Unmerge",overlappingError:"Cannot merge overlapping areas",partiallyError:"Cannot perform this operation on partially merged cells"},align:{left:"left",center:"center",right:"right",top:"Top",middle:"Middle",bottom:"Bottom"},textWrap:{overflow:"Overflow",wrap:"Wrap",clip:"Clip"},rotation:{none:"None",angleup:"Tilt Up",angledown:"Tilt Down",vertical:"Stack Vertically",rotationUp:"Rotate Up",rotationDown:"Rotate Down"},freezen:{default:"Freeze",freezenRow:"First Row",freezenColumn:"First Column",freezenRC:"Both",freezenRowRange:"Freezen row range",freezenColumnRange:"Freezen column range",freezenRCRange:"Freezen both range",freezenCancel:"Cancel",noSeletionError:"No Range to be selected",rangeRCOverErrorTitle:"Freeze reminder",rangeRCOverError:"The frozen pane is beyond the visible range, which will lead to abnormal operation. Please reset the frozen area."},sort:{asc:"Ascending ",desc:"Descending ",custom:"Custom sort",hasTitle:"Data has a header row",sortBy:"Sort by",addOthers:"Add another sort column",close:"close",confirm:"sort",columnOperation:"Column",secondaryTitle:"then by",sortTitle:"Sort range",sortRangeTitle:"Sort range from",sortRangeTitleTo:"to",noRangeError:"Cannot perform this operation on multiple selection areas, please select a single range and try again",mergeError:"There are merged cells in the selection, this operation cannot be performed!",columnSortMergeError:"Column sorting will extend to the entire table selection. There are merged cells, this operation cannot be performed. Please use the sort feature in the toolbar."},filter:{filter:"create filter",sortByAsc:"Sort A-Z",sortByDesc:"Sort Z-A",filterByColor:"Filter by color",filterByCondition:"Filter by condition",filterByValues:"Filter by values",filiterInputNone:"None",filiterInputTip:"Enter filter value",filiterRangeStart:"",filiterRangeStartTip:"Value for formula",filiterRangeEnd:"and",filiterRangeEndTip:"Value for formula",filterValueByAllBtn:"Check all",filterValueByClearBtn:"Clear",filterValueByInverseBtn:"Inverse",filterValueByTip:"filter By Values",filterConform:"Confirm",filterCancel:"Cancel",clearFilter:"Clear filter",conditionNone:"None",conditionCellIsNull:"Is empty",conditionCellNotNull:"Is not empty",conditionCellTextContain:"Text contains",conditionCellTextNotContain:"Text does not contain",conditionCellTextStart:"Text starts with",conditionCellTextEnd:"Text ends with",conditionCellTextEqual:"Text is exactly",conditionCellDateEqual:"Date is",conditionCellDateBefore:"Date is before",conditionCellDateAfter:"Date is after",conditionCellGreater:"Greater than",conditionCellGreaterEqual:"Greater than or equal to",conditionCellLess:"Less than",conditionCellLessEqual:"Less than or equal to",conditionCellEqual:"Is equal to",conditionCellNotEqual:"Is not equal to",conditionCellBetween:"Is between",conditionCellNotBetween:"Is not between",filiterMoreDataTip:"Big amount of data! please wait",filiterMonthText:"Month",filiterYearText:"Year",filiterByColorTip:"Filter by cell color",filiterByTextColorTip:"Filter by font color",filterContainerOneColorTip:"This column contains only one color",filterDateFormatTip:"Date format",valueBlank:"(Null)",mergeError:"There are merged cells in the filter selection, this operation cannot be performed!"},rightclick:{copy:"Copy",copyAs:"Copy as",paste:"Paste",insert:"Insert",delete:"Delete",deleteCell:"Delete cell",deleteSelected:"Delete selected ",hide:"Hide",hideSelected:"Hide selected ",showHide:"Show hidden ",to:"Towards",left:"Left",right:"Right",top:"Top",bottom:"Bottom",moveLeft:"Move left",moveUp:"Move up",add:"Add",row:"Row",column:"Column",width:"Width",height:"Height",number:"Number",confirm:"Confirm",orderAZ:"A-Z order",orderZA:"Z-A order",clearContent:"Clear content",matrix:"Matrix operation",sortSelection:"Sort",filterSelection:"Filter",chartGeneration:"Create chart",firstLineTitle:"first line title",untitled:"untitled",array1:"One-dimensional array",array2:"Two-dimensional array",array3:"Multidimensional Arrays",diagonal:"Diagonal",antiDiagonal:"Anti-diagonal",diagonalOffset:"Diagonal offset",offset:"Offset",boolean:"Boolean",flip:"Flip",upAndDown:"Up and down",leftAndRight:"Left and right",clockwise:"Clockwise",counterclockwise:"Counterclockwise",transpose:"Transpose",matrixCalculation:"Matrix calculation",plus:"Plus",minus:"Minus",multiply:"Multiply",divided:"Divided",power:"Power",root:"Root",log:"Log",delete0:"Delete 0 values at both ends",removeDuplicate:"Remove duplicate values",byRow:"By row",byCol:"By column",generateNewMatrix:"Generate new matrix"},comment:{insert:"Insert",edit:"Edit",delete:"Delete",showOne:"Show/Hide",showAll:"Show/Hide All"},screenshot:{screenshotTipNoSelection:"Please select the scope of the screenshot",screenshotTipTitle:"Warning\uFF01",screenshotTipHasMerge:"This operation cannot be performed on merged cells",screenshotTipHasMulti:"This operation cannot be performed on multiple selection regions",screenshotTipSuccess:"Successful",screenshotImageName:"Screenshot",downLoadClose:"Close",downLoadCopy:"Copy to clipboard",downLoadBtn:"Download",browserNotTip:"not supported by IE browser!",rightclickTip:'Please right-click "copy" on the picture',successTip:'Successfully (if pasting fails, please right-click on the image to "copy image")'},splitText:{splitDelimiters:"Delimiters",splitOther:"Other",splitContinueSymbol:"Consecutive separators are treated as a single",splitDataPreview:"Preview",splitTextTitle:"Split text",splitConfirmToExe:"There is already data here, do you want to replace it?",tipNoMulti:"Cannot perform this operation on multiple selection areas, please select a single area and try again",tipNoMultiColumn:"Only one column of data can be converted at a time. The selected area can have multiple rows but not multiple columns. Please try again after selecting a single column range"},imageText:{imageSetting:"Image setting",close:"Close",conventional:"Conventional",moveCell1:"Move and resize cells",moveCell2:"Move and do not resize the cell",moveCell3:"Do not move and resize the cell",fixedPos:"Fixed position",border:"Border",width:"Width",radius:"Radius",style:"Style",solid:"Solid",dashed:"Dashed",dotted:"Dotted",double:"Double",color:"Color"},punctuation:{tab:"Tab",semicolon:"semicolon",comma:"comma",space:"space"},findAndReplace:{find:"Find",replace:"Replace",goto:"Go to",location:"Location",formula:"Formula",date:"Date",number:"Number",string:"String",error:"Error",condition:"Condition",rowSpan:"Row span",columnSpan:"Column span",locationExample:"Location",lessTwoRowTip:"Please select at least two rows",lessTwoColumnTip:"Please select at least two columns",findTextbox:"Find Content",replaceTextbox:"Replace Content",regexTextbox:"Regular Expression",wholeTextbox:"Whole word",distinguishTextbox:"Case sensitive",allReplaceBtn:"Replace All",replaceBtn:"Replace",allFindBtn:"Find All",findBtn:"Find next",noFindTip:"The content was not found",modeTip:"This operation is not available in this mode",searchTargetSheet:"Sheet",searchTargetCell:"Cell",searchTargetValue:"Value",searchInputTip:"Please enter the search content",noReplceTip:"There is nothing to replace",noMatchTip:"No match found",successTip:"${xlength} items found",locationConstant:"Constant",locationFormula:"Formula",locationDate:"Date",locationDigital:"Number",locationString:"String",locationBool:"Logical",locationError:"Error",locationNull:"Null",locationCondition:"Conditional format",locationRowSpan:"Row span",locationColumnSpan:"Column span",locationTiplessTwoRow:"Please select at least two rows",locationTiplessTwoColumn:"Please select at least two columns",locationTipNotFindCell:"Cell not found"},sheetconfig:{delete:"Delete",copy:"Copy",rename:"Rename",changeColor:"Change color",hide:"Hide",unhide:"Unhide",moveLeft:"Move left",moveRight:"Move right",resetColor:"Reset color",cancelText:"Cancel",chooseText:"Confirm color",tipNameRepeat:"The name of the tab page cannot be repeated! Please revise",noMoreSheet:"The workbook contains at least one visual worksheet. To delete the selected worksheet, please insert a new worksheet or show a hidden worksheet.",confirmDelete:"Are you sure to delete",redoDelete:"Can be undo by Ctrl+Z",noHide:"Can't hide, at least keep one sheet tag",chartEditNoOpt:"This operation is not allowed in chart editing mode!",sheetNameSpecCharError:`The name cannot contain:[ ] : ? * / ' "`,sheetNamecannotIsEmptyError:"Sheet name cannot be empty"},conditionformat:{conditionformat_greaterThan:"Conditionformat-GreaterThan",conditionformat_greaterThan_title:"Format cells greater than",conditionformat_lessThan:"Conditionformat-LessThan",conditionformat_lessThan_title:"Format cells smaller than",conditionformat_betweenness:"Conditionformat-Betweenness",conditionformat_betweenness_title:"Format cells with values between",conditionformat_equal:"Conditionformat-Equal",conditionformat_equal_title:"Format cells equal to",conditionformat_textContains:"Conditionformat-TextContains",conditionformat_textContains_title:"Format cells containing the following text",conditionformat_occurrenceDate:"Conditionformat-OccurrenceDate",conditionformat_occurrenceDate_title:"Format cells containing the following dates",conditionformat_duplicateValue:"Conditionformat-DuplicateValue",conditionformat_duplicateValue_title:"Format cells containing the following types of values",conditionformat_top10:"Conditionformat-Top10",conditionformat_top10_percent:"Conditionformat-Top10%",conditionformat_top10_title:"Format the cells with the highest value",conditionformat_last10:"Conditionformat-Last10",conditionformat_last10_percent:"Conditionformat-Last10%",conditionformat_last10_title:"Format the cells with the smallest value",conditionformat_AboveAverage:"Conditionformat-AboveAverage",conditionformat_AboveAverage_title:"Format cells above average",conditionformat_SubAverage:"Conditionformat-SubAverage",conditionformat_SubAverage_title:"Format cells below average",rule:"Rule",newRule:"New rule",editRule:"Edit rule",deleteRule:"Delete rule",deleteCellRule:"Delete cell rule",deleteSheetRule:"Delete sheet rule",manageRules:"Management rules",showRules:"Show its formatting rules",highlightCellRules:"Highlight cell rules",itemSelectionRules:"Item selection rules",conditionformatManageRules:"Conditional Formatting Rule Manager",format:"Format",setFormat:"Set format",setAs:"Set as",setAsByArea:"For the selected area, set to",applyRange:"Apply range",selectRange:"Select application range",selectRange_percent:"Percentage of selected range",selectRange_average:"Average value of selected range",selectRange_value:"Value in the selected range",pleaseSelectRange:"Please select application range",selectDataRange:"Select data range",selectCell:"select cell",pleaseSelectCell:"Please select cell",pleaseSelectADate:"Please select a date",pleaseEnterInteger:"Please enter an integer between 1 and 1000",onlySingleCell:"Only a single cell can be referenced",conditionValueCanOnly:"The condition value can only be a number or a single cell",ruleTypeItem1:"Format all cells based on their respective values",ruleTypeItem2:"Only format cells that contain",ruleTypeItem2_title:"Only for cells that meet the following conditions",ruleTypeItem3:"Format only the top or bottom numbers",ruleTypeItem3_title:"Is the value in the following ranking",ruleTypeItem4:"Format only values above or below the average",ruleTypeItem4_title:"Is a value that satisfies the following conditions",ruleTypeItem5:"Format only unique or repeated values",ruleTypeItem6:"Use formulas to determine which cells to format",formula:"Formula",textColor:"Text color",cellColor:"Cell color",confirm:"Confirm",confirmColor:"Confirm color",cancel:"Cancel",close:"Close",clearColorSelect:"Clear color select",sheet:"Sheet",currentSheet:"Current Sheet",dataBar:"data bar",dataBarColor:"data bar color",gradientDataBar_1:"Blue-white gradient data bar",gradientDataBar_2:"Green-white gradient data bar",gradientDataBar_3:"Red-white gradient data bar",gradientDataBar_4:"Orange-white gradient stripes",gradientDataBar_5:"Light blue-white gradient stripes",gradientDataBar_6:"Purple-white gradient data bar",solidColorDataBar_1:"Blue data bar",solidColorDataBar_2:"Green data bar",solidColorDataBar_3:"Red data bar",solidColorDataBar_4:"Orange data bar",solidColorDataBar_5:"Light blue data bar",solidColorDataBar_6:"Purple data bar",colorGradation:"color gradation",colorGradation_1:"Green-yellow-red color gradation",colorGradation_2:"Red-yellow-green color gradation",colorGradation_3:"Green-white-red color gradation",colorGradation_4:"Red-white-green color gradation",colorGradation_5:"Blue-white-red color gradation",colorGradation_6:"Red-white-blue color gradation",colorGradation_7:"White-red color gradation",colorGradation_8:"Red-white color gradation",colorGradation_9:"Green-white color gradation",colorGradation_10:"White-green color gradation",colorGradation_11:"Green-yellow color gradation",colorGradation_12:"Yellow-green color gradation",icons:"icons",pleaseSelectIcon:"Please click to select a group of icons:",cellValue:"Cell value",specificText:"Specific text",occurrence:"Date",greaterThan:"Greater than",lessThan:"Less than",between:"Between",equal:"Equal",in:"In",between2:"",contain:"Contain",textContains:"Text contains",duplicateValue:"Duplicate value",uniqueValue:"Unique value",top:"Top",top10:"Top 10",top10_percent:"Top 10%",last:"Last",last10:"Last 10",last10_percent:"Last 10%",oneself:"",above:"Above",aboveAverage:"Above average",below:"Below",belowAverage:"Below average",all:"All",yesterday:"YTD",today:"Today",tomorrow:"Tomorrow",lastWeek:"Last week",thisWeek:"This week",lastMonth:"Last month",thisMonth:"This month",lastYear:"Last year",thisYear:"This year",last7days:"Last 7 days",last30days:"Last 30 days",next7days:"Next 7 days",next30days:"Next 30 days",next60days:"Next 60 days",chooseRuleType:"Choose rule type",editRuleDescription:"Edit rule description",newFormatRule:"New format rule",editFormatRule:"Edit format rule",formatStyle:"Style",fillType:"Fill",color:"Color",twocolor:"Two-color",tricolor:"Tricolor",multicolor:"Multi color",grayColor:"Gray color",gradient:"Gradient",solid:"Solid",maxValue:"Max value",medianValue:"Median value",minValue:"Min value",direction:"Direction",threeWayArrow:"Three-way arrow",fourWayArrow:"Four-way arrow",fiveWayArrow:"Five-way arrow",threeTriangles:"Three triangles",shape:"Shape",threeColorTrafficLight:"Three-color traffic light",fourColorTrafficLight:"Four-color traffic light",threeSigns:"Three signs",greenRedBlackGradient:"Green-red-black gradient",rimless:"Rimless",bordered:"Bordered",mark:"Mark",threeSymbols:"Three symbols",tricolorFlag:"Tricolor flag",circled:"Circled",noCircle:"No circle",grade:"Grade",grade4:"4 Grade",grade5:"5 Grade",threeStars:"3 Stars",fiveQuadrantDiagram:"Five-quadrant diagram",fiveBoxes:"5 Boxes"},insertLink:{linkText:"Text",linkType:"Link type",external:"External link",internal:"Internal link",linkAddress:"Link address",linkSheet:"Worksheet",linkCell:"Cell reference",linkTooltip:"Tooltip",placeholder1:"Please enter the web link address",placeholder2:"Please enter the cell to be quoted, example A1",placeholder3:"Please enter the prompt content",tooltipInfo1:"Please enter a valid link",tooltipInfo2:"Please enter the correct cell reference"},dataVerification:{cellRange:"Cell range",selectCellRange:"Click to select a cell range",selectCellRange2:"Please select a range of cells",verificationCondition:"Verification condition",allowMultiSelect:"Allow multiple selection",dropdown:"drop-down list",checkbox:"Checkbox",number:"Number",number_integer:"Number-integer",number_decimal:"Number-decimal",text_content:"Text-content",text_length:"Text-length",date:"Date",validity:"Effectiveness",placeholder1:"Please enter the options, separated by commas, such as 1,2,3,4,5",placeholder2:"Please enter content",placeholder3:"Numeric value, such as 10",placeholder4:"Please enter the specified text",placeholder5:"Please enter the prompt displayed when the cell is selected",selected:"Selected",notSelected:"Not selected",between:"Between",notBetween:"Not between",equal:"Equal",notEqualTo:"Not equal to",moreThanThe:"More than the",lessThan:"Less than",greaterOrEqualTo:"Greater or equal to",lessThanOrEqualTo:"Less than or equal to",include:"Include",exclude:"Exclude",earlierThan:"Earlier than",noEarlierThan:"No earlier than",laterThan:"Later than",noLaterThan:"No later than",identificationNumber:"Identification number",phoneNumber:"Phone number",remote:"Automatic remote acquisition option",prohibitInput:"Prohibit input when input data is invalid",hintShow:"Show prompt when the cell is selected",deleteVerification:"Delete verification",tooltipInfo1:"The drop-down list option cannot be empty",tooltipInfo2:"Checkbox content cannot be empty",tooltipInfo3:"The value entered is not a numeric type",tooltipInfo4:"The value 2 cannot be less than the value 1",tooltipInfo5:"The text content cannot be empty",tooltipInfo6:"The value entered is not a date type",tooltipInfo7:"Date 2 cannot be less than date 1",textlengthInteger:"Text length must be an integer greater than or equal to 0"},formula:{sum:"Sum",average:"Average",count:"Count",max:"Max",min:"Min",ifGenerate:"If formula generator",find:"Learn more",tipNotBelongToIf:"This cell function does not belong to the if formula!",tipSelectCell:"Please select the cell to insert the function",ifGenCompareValueTitle:"Comparison value",ifGenSelectCellTitle:"Click to select cell",ifGenRangeTitle:"Range",ifGenRangeTo:"to",ifGenRangeEvaluate:"Range evaluate",ifGenSelectRangeTitle:"Click to select range",ifGenCutWay:"Partition way",ifGenCutSame:"Same Partition value",ifGenCutNpiece:"Partition by N",ifGenCutCustom:"Custom",ifGenCutConfirm:"Confirm",ifGenTipSelectCell:"Select cells",ifGenTipSelectCellPlace:"Please select cells",ifGenTipSelectRange:"Select range",ifGenTipSelectRangePlace:"Please select range",ifGenTipNotNullValue:"The comparison value cannot be empty!",ifGenTipLableTitile:"Label",ifGenTipRangeNotforNull:"The range cannot be empty!",ifGenTipCutValueNotforNull:"The partition value cannot be empty!",ifGenTipNotGenCondition:"No conditions are available for generation!"},formulaMore:{valueTitle:"Value",tipSelectDataRange:"Select data range",tipDataRangeTile:"Data range",findFunctionTitle:"Search function",tipInputFunctionName:"Function name or brief description of function",Array:"Array",Database:"Database",Date:"Date",Engineering:"Engineering",Filter:"Filter",Financial:"Financial",luckysheet:"Luckysheet",other:"Other",Logical:"Logical",Lookup:"Lookup",Math:"Math",Operator:"Operator",Parser:"Parser",Statistical:"Statistical",Text:"Text",dataMining:"Data Mining",selectFunctionTitle:"Select a function",calculationResult:"Result",tipSuccessText:"Success",tipParamErrorText:"Parameter type error",helpClose:"Close",helpCollapse:"Collapse",helpExample:"Example",helpAbstract:"Abstract",execfunctionError:"Error in the formula",execfunctionSelfError:"The formula cannot refer to its own cell",execfunctionSelfErrorResult:"The formula cannot refer to its own cell, which will lead to inaccurate calculation results",allowRepeatText:"Repeat",allowOptionText:"Option",selectCategory:"Or select a category"},drag:{noMerge:"Cannot perform this operation on merged cells",affectPivot:"This change cannot be made to the selected cell because it will affect the pivot table!",noMulti:"Cannot perform this operation on multiple selection areas, please select a single area",noPaste:"Unable to paste this content here, please select a cell in the paste area and try to paste again",noPartMerge:"Cannot perform this operation on partially merged cells",inputCorrect:"Please enter the correct value",notLessOne:"The number of rows and columns cannot be less than 1",offsetColumnLessZero:"The offset column cannot be negative!",pasteMustKeybordAlert:"Copy and paste in the Sheet: Ctrl + C to copy, Ctrl + V to paste, Ctrl + X to cut",pasteMustKeybordAlertHTMLTitle:"Copy and paste in the Sheet",pasteMustKeybordAlertHTML:"<span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + C</span>&nbsp;&nbsp;to copy<br/><span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + V</span>&nbsp;&nbsp;to paste<br/><span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + X</span>&nbsp;&nbsp;to cut"},paste:{warning:"Warning",errorNotAllowMulti:"Cannot perform this operation on multiple selection areas, please select a single range and try again",errorNotAllowMerged:"Cannot make partial changes to merged cells"},pivotTable:{title:"Pivot Table",closePannel:"Close",editRange:"Range",tipPivotFieldSelected:"Select the fields",tipClearSelectedField:"Clear all fields",btnClearSelectedField:"Clear",btnFilter:"Filter",titleRow:"Row",titleColumn:"Column",titleValue:"Value",tipShowColumn:"Statistics fields are displayed as columns",tipShowRow:"Statistics fields are displayed as rows",titleSelectionDataRange:"Select range",titleDataRange:"Data range",valueSum:"SUM",valueStatisticsSUM:"Sum",valueStatisticsCOUNT:"Count",valueStatisticsCOUNTA:"Count A",valueStatisticsCOUNTUNIQUE:"Count Unique",valueStatisticsAVERAGE:"Average",valueStatisticsMAX:"Max",valueStatisticsMIN:"Min",valueStatisticsMEDIAN:"Median",valueStatisticsPRODUCT:"Product",valueStatisticsSTDEV:"Stdev",valueStatisticsSTDEVP:"Stdevp",valueStatisticslet:"Var",valueStatisticsVARP:"VarP",errorNotAllowEdit:"This operation is prohibited in non-editing mode!",errorNotAllowMulti:"Cannot perform this operation on multiple selection areas, please select a single range and try again",errorSelectRange:"Please select the range of the new pivot table",errorIsDamage:"The source data of this pivot table is corrupted!",errorNotAllowPivotData:"Cannot select pivot table as source data!",errorSelectionRange:"Selection failed, wrong input range!",errorIncreaseRange:"Please expand the selected range!",titleAddColumn:"Add column to pivot table",titleMoveColumn:"Move the column to the white box below",titleClearColumnFilter:"Clear the filter for this column",titleFilterColumn:"Filter",titleSort:"Sort",titleNoSort:"No sort",titleSortAsc:"ASC",titleSortDesc:"DESC",titleSortBy:"Sort by",titleShowSum:"Show total",titleStasticTrue:"Yes",titleStasticFalse:"No"},dropCell:{copyCell:"Copy",sequence:"Sequence",onlyFormat:"Only format",noFormat:"Not format",day:"Day",workDay:"Work Day",month:"Month",year:"Year",chineseNumber:"Chinese numbers"},imageCtrl:{borderTile:"Image border color",borderCur:"Color"},protection:{protectiontTitle:"Protection",enterPassword:"Enter a password (optional)",enterHintTitle:"Prompt when editing is prohibited (optional)",enterHint:"The cell or chart you are trying to change is in a protected worksheet. If you want to change it, please unprotect the worksheet. You may need to enter a password",swichProtectionTip:"Protect the sheet and contents of locked cells",authorityTitle:"Allow users of this sheet to:",selectLockedCells:"Select locked cells",selectunLockedCells:"Select unlocked cells",formatCells:"Format cells",formatColumns:"Format columns",formatRows:"Format rows",insertColumns:"Insert columns",insertRows:"Insert rows",insertHyperlinks:"Insert hyperlinks",deleteColumns:"Delete columns",deleteRows:"Delete rows",sort:"Sort",filter:"Filter",usePivotTablereports:"Use Pivot Table reports",editObjects:"Edit objects",editScenarios:"Edit scenarios",allowRangeTitle:"Allow users of range to:",allowRangeAdd:"New...",allowRangeAddTitle:"Title",allowRangeAddSqrf:"Reference",selectCellRange:"Click to select a cell range",selectCellRangeHolder:"Cell range",allowRangeAddTitlePassword:"Password",allowRangeAddTitleHint:"Prompt",allowRangeAddTitleHintTitle:"Prompt when a password is set (optional)",allowRangeAddtitleDefault:"Input range name",rangeItemDblclick:"Double click to edit",rangeItemHasPassword:"Has password",rangeItemErrorTitleNull:"Title is null",rangeItemErrorRangeNull:"Reference is null",rangeItemErrorRange:"Reference is error",validationTitle:"Password validation",validationTips:"Need to enter a password to unlock the protection of the worksheet",validationInputHint:"Enter a password",checkPasswordNullalert:"Password is required!",checkPasswordWrongalert:"Incorrect password, please try again!",checkPasswordSucceedalert:"Unlock Succeed!",defaultRangeHintText:"The cell is being password protected.",defaultSheetHintText:"The cell or chart is in a protected worksheet. To make changes, please unprotect the worksheet. You may need to enter a password"},cellFormat:{cellFormatTitle:"Format cells",protection:"Protection",locked:"Locked",hidden:"Hidden",protectionTips:"To lock cells or hide formulas, protect the worksheet. On the toolbar, Click Protect Sheet Button",tipsPart:"Partial checked",tipsAll:"All checked",selectionIsNullAlert:"Selection is required!",sheetDataIsNullAlert:"error, Data is none!"},print:{normalBtn:"Normal",layoutBtn:"Page Layout",pageBtn:"Page\u2002break\u2002preview",menuItemPrint:"Print (Ctrl+P)",menuItemAreas:"Print areas",menuItemRows:"Print title rows",menuItemColumns:"Print title columns",suggest:"Any suggestions for the print function?",range:"Print Range",size:"Paper Size",direction:"Print Direction",horizontal:"Horizontal",vertical:"Vertical",title:"Print Setup",current:"Current Sheet",area:"Selected Range",letter:"letter",paper:"tabloid paper",law:"official paper",admin:"administrative paper",expire:"expired",remain:"remaining days",error:"error",showLine:"show grid line",show:"show",hide:"hide",preview:"preview"},edit:{typing:"typing"},websocket:{success:"WebSocket connection success",refresh:"An error occurred in the WebSocket connection, please refresh the page!",wait:"An error occurred in the WebSocket connection, please be patient!",close:"WebSocket connection closed",contact:"Server communication error occurred, please refresh the page and try again, if not, please contact the administrator!",support:"The current browser does not support WebSocket"},exportXlsx:{notice:"Please configure the export plugin",serverError:"server is under maintenance",title:"Export XLSX",range:"Range",currentSheet:"Current sheet",allSheets:"All sheets"}}});var ku,bu=$e(()=>{ku={functionlist:{SUMIF:{d:"\u5BF9\u8303\u56F4\u4E2D\u7B26\u5408\u6307\u5B9A\u6761\u4EF6\u7684\u503C\u6C42\u548C\u3002",a:"\u5BF9\u8303\u56F4\u4E2D\u7B26\u5408\u6307\u5B9A\u6761\u4EF6\u7684\u503C\u6C42\u548C\u3002",p:[{name:"\u8303\u56F4",detail:"\u8981\u6839\u636E\u6761\u4EF6\u8FDB\u884C\u68C0\u6D4B\u7684\u8303\u56F4\u3002"},{name:"\u6761\u4EF6",detail:`\u8981\u5E94\u7528\u4E8E\u8303\u56F4\u7684\u6A21\u5F0F\u6216\u6D4B\u8BD5\u6761\u4EF6\u3002
  17. \u5982\u679C\u8303\u56F4\u5305\u542B\u7684\u662F\u8981\u68C0\u6D4B\u7684\u6587\u672C\uFF0C\u5219\u6761\u4EF6\u5FC5\u987B\u4E3A\u5B57\u7B26\u4E32\u3002\u6761\u4EF6\u53EF\u4EE5\u5305\u542B\u901A\u914D\u7B26\uFF0C\u5305\u62EC\u7528\u4E8E\u5339\u914D\u5355\u4E2A\u5B57\u7B26\u7684?\u6216\u7528\u4E8E\u5339\u914D\u96F6\u4E2A\u6216\u8FDE\u7EED\u591A\u4E2A\u5B57\u7B26\u7684*\u3002\u8981\u5339\u914D\u95EE\u53F7\u661F\u53F7\u672C\u8EAB\uFF0C\u8BF7\u5728\u8BE5\u5B57\u7B26\u524D\u9762\u52A0\u4E0A\u6CE2\u6D6A\u53F7(~)\u524D\u7F00\uFF08\u5373~?\u548C~*\uFF09\u3002\u5B57\u7B26\u4E32\u6761\u4EF6\u5FC5\u987B\u7528\u5F15\u53F7\u62EC\u8D77\u6765\u3002\u51FD\u6570\u4F1A\u68C0\u67E5\u8303\u56F4\u4E2D\u7684\u6BCF\u4E2A\u5355\u5143\u683C\u4E0E\u6761\u4EF6\u662F\u5426\u76F8\u7B49\u6216\u5339\u914D\uFF08\u5982\u679C\u4F7F\u7528\u4E86\u901A\u914D\u7B26\uFF09\u3002
  18. \u5982\u679C\u8303\u56F4\u5305\u542B\u7684\u662F\u8981\u68C0\u6D4B\u7684\u6570\u5B57\uFF0C\u5219\u6761\u4EF6\u53EF\u4EE5\u662F\u5B57\u7B26\u4E32\u4E5F\u53EF\u4EE5\u662F\u6570\u5B57\u3002\u5982\u679C\u7ED9\u5B9A\u7684\u6761\u4EF6\u662F\u4E00\u4E2A\u6570\u5B57\uFF0C\u5219\u68C0\u67E5\u8303\u56F4\u4E2D\u7684\u6BCF\u4E2A\u5355\u5143\u683C\u662F\u5426\u7B49\u4E8E\u6761\u4EF6\u3002\u53E6\u5916\uFF0C\u6761\u4EF6\u4E5F\u53EF\u80FD\u662F\u5305\u542B\u6570\u5B57\u7684\u5B57\u7B26\u4E32\uFF08\u4E5F\u5C06\u5BF9\u5176\u8FDB\u884C\u76F8\u7B49\u68C0\u6D4B\uFF09\uFF0C\u6216\u8005\u5E26\u6709\u4EE5\u4E0B\u524D\u7F00\u7684\u6570\u5B57\uFF1A=\uFF08\u68C0\u67E5\u662F\u5426\u76F8\u7B49\uFF09\u3001>\uFF08\u68C0\u67E5\u8303\u56F4\u5355\u5143\u683C\u7684\u503C\u662F\u5426\u5927\u4E8E\u6761\u4EF6\u503C\uFF09\u6216<\uFF08\u68C0\u67E5\u8303\u56F4\u5355\u5143\u683C\u7684\u503C\u662F\u5426\u5C0F\u4E8E\u6761\u4EF6\u503C\uFF09`},{name:"\u6C42\u548C\u8303\u56F4",detail:"\u8981\u6C42\u548C\u7684\u8303\u56F4\uFF08\u5982\u679C\u4E0E\u8303\u56F4\u4E0D\u540C\uFF09\u3002"}]},TAN:{d:"\u8FD4\u56DE\u5DF2\u77E5\u89D2\u5EA6\u7684\u6B63\u5207\u503C\u3002",a:"\u8FD4\u56DE\u5DF2\u77E5\u89D2\u5EA6\u7684\u6B63\u5207\u503C\u3002",p:[{name:"\u89D2\u5EA6",detail:"\u8981\u6C42\u5176\u6B63\u5207\u503C\u7684\u89D2\u5EA6\uFF0C\u4EE5\u5F27\u5EA6\u8868\u793A\u3002"}]},TANH:{d:"\u8FD4\u56DE\u7ED9\u5B9A\u5B9E\u6570\u7684\u53CC\u66F2\u6B63\u5207\u503C\u3002",a:"\u8FD4\u56DE\u7ED9\u5B9A\u5B9E\u6570\u7684\u53CC\u66F2\u6B63\u5207\u503C\u3002",p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5176\u53CC\u66F2\u6B63\u5207\u503C\u7684\u5B9E\u6570\u3002"}]},CEILING:{d:"\u5C06\u6570\u503C\u5411\u4E0A\u53D6\u6574\u4E3A\u6700\u63A5\u8FD1\u7684\u6307\u5B9A\u56E0\u6570\u7684\u500D\u6570\u3002",a:"\u5C06\u6570\u503C\u5411\u4E0A\u53D6\u6574\u4E3A\u6700\u63A5\u8FD1\u7684\u6307\u5B9A\u56E0\u6570\u7684\u500D\u6570\u3002",p:[{name:"\u503C",detail:"\u8981\u5411\u4E0A\u820D\u5165\u7684\u6570\u503C\u3002"},{name:"\u56E0\u6570",detail:"\u8981\u5C06\u503C\u820D\u5165\u5230\u6B64\u6570\u7684\u6574\u6570\u500D\u3002"}]},ATAN:{d:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u6B63\u5207\u503C\uFF0C\u4EE5\u5F27\u5EA6\u8868\u793A\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u6B63\u5207\u503C",p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5176\u53CD\u6B63\u5207\u503C\u7684\u6570\u503C\u3002"}]},ASINH:{d:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u53CC\u66F2\u6B63\u5F26\u503C\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u53CC\u66F2\u6B63\u5F26\u503C\u3002",p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5176\u53CD\u53CC\u66F2\u6B63\u5F26\u503C\u7684\u6570\u503C\u3002"}]},ABS:{d:"\u8FD4\u56DE\u6570\u503C\u7684\u7EDD\u5BF9\u503C\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u7EDD\u5BF9\u503C\u3002",p:[{name:"value",detail:"\u8981\u8FD4\u56DE\u5176\u7EDD\u5BF9\u503C\u7684\u6570\u3002"}]},ACOS:{d:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u4F59\u5F26\u503C\uFF0C\u4EE5\u5F27\u5EA6\u8868\u793A\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u4F59\u5F26\u503C",p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5176\u53CD\u4F59\u5F26\u503C\u7684\u6570\u503C\u3002\u5FC5\u987B\u4ECB\u4E8E-1\u548C1\u4E4B\u95F4\uFF0C\u5305\u62EC\u4E24\u7AEF\u503C\u3002"}]},ACOSH:{d:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u53CC\u66F2\u4F59\u5F26\u503C\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u53CC\u66F2\u4F59\u5F26\u503C\u3002",p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5176\u53CD\u53CC\u66F2\u4F59\u5F26\u503C\u7684\u6570\u503C\u3002\u5FC5\u987B\u5927\u4E8E\u7B49\u4E8E1\u3002"}]},MULTINOMIAL:{d:"\u8FD4\u56DE\u53C2\u6570\u548C\u7684\u9636\u4E58\u9664\u4EE5\u5404\u53C2\u6570\u9636\u4E58\u7684\u4E58\u79EF\u540E\u5F97\u5230\u7684\u503C\u3002",a:"\u8FD4\u56DE\u53C2\u6570\u548C\u7684\u9636\u4E58\u9664\u4EE5\u5404\u53C2\u6570\u9636\u4E58\u7684\u4E58\u79EF\u540E\u5F97\u5230\u7684\u503C\u3002",p:[{name:"\u503C1",detail:"\u7528\u4E8E\u8BA1\u7B97\u7684\u7B2C\u4E00\u9879\u6570\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2",detail:"\u7528\u4E8E\u8BA1\u7B97\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002"}]},ATANH:{d:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u53CC\u66F2\u6B63\u5207\u503C\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u53CC\u66F2\u6B63\u5207\u503C\u3002",p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5176\u53CD\u53CC\u66F2\u6B63\u5207\u503C\u7684\u6570\u503C\u3002\u5FC5\u987B\u4ECB\u4E8E-1\u548C1\u4E4B\u95F4\uFF08\u4E0D\u5305\u62EC-1\u548C1\uFF09\u3002"}]},ATAN2:{d:"\u4EE5\u5F27\u5EA6\u4E3A\u5355\u4F4D\u8FD4\u56DE x \u8F74\u4E0E\u4ECE\u539F\u70B9 (0,0) \u5230\u6307\u5B9A\u5750\u6807\u70B9 (`x`,`y`) \u4E4B\u95F4\u8FDE\u7EBF\u7684\u5939\u89D2\u3002",a:"\u4EE5\u5F27\u5EA6\u4E3A\u5355\u4F4D\u8FD4\u56DE x \u8F74\u4E0E\u4ECE\u539F\u70B9 (0,0) \u5230\u6307\u5B9A\u5750\u6807\u70B9 (`x`,`y`) \u4E4B\u95F4\u8FDE\u7EBF\u7684\u5939\u89D2\u3002",p:[{name:"x",detail:"\u8981\u8BA1\u7B97\u5176\u4E0Ex\u8F74\u5939\u89D2\u5927\u5C0F\u7684\u7EBF\u6BB5\u7684\u7EC8\u70B9x\u5750\u6807\u3002"},{name:"y",detail:"\u8981\u8BA1\u7B97\u5176\u4E0Ex\u8F74\u5939\u89D2\u5927\u5C0F\u7684\u7EBF\u6BB5\u7684\u7EC8\u70B9y\u5750\u6807\u3002"}]},COUNTBLANK:{d:"\u8FD4\u56DE\u7ED9\u5B9A\u8303\u56F4\u5185\u7684\u7A7A\u5355\u5143\u683C\u6570\u3002",a:"\u8FD4\u56DE\u7ED9\u5B9A\u8303\u56F4\u5185\u7684\u7A7A\u5355\u5143\u683C\u6570\u3002",p:[{name:"\u8303\u56F4",detail:"\u8981\u7EDF\u8BA1\u7A7A\u767D\u5355\u5143\u683C\u6570\u91CF\u7684\u8303\u56F4\u3002"}]},COSH:{d:"\u8FD4\u56DE\u7ED9\u5B9A\u5B9E\u6570\u7684\u53CC\u66F2\u4F59\u5F26\u503C\u3002",a:"\u8FD4\u56DE\u7ED9\u5B9A\u5B9E\u6570\u7684\u53CC\u66F2\u4F59\u5F26\u503C\u3002",p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5176\u53CC\u66F2\u4F59\u5F26\u503C\u7684\u5B9E\u6570\u503C\u3002"}]},INT:{d:"\u5C06\u6570\u503C\u5411\u4E0B\u53D6\u6574\u4E3A\u5C0F\u4E8E\u6216\u7B49\u4E8E\u8BE5\u6570\u7684\u6700\u63A5\u8FD1\u7684\u6574\u6570\u3002",a:"\u5C06\u6570\u503C\u5411\u4E0B\u53D6\u6574\u4E3A\u5C0F\u4E8E\u6216\u7B49\u4E8E\u8BE5\u6570\u7684\u6700\u63A5\u8FD1\u7684\u6574\u6570\u3002",p:[{name:"\u503C",detail:"\u8981\u5411\u4E0B\u53D6\u6574\u4E3A\u6700\u63A5\u8FD1\u7684\u6574\u6570\u7684\u6570\u503C\u3002"}]},ISEVEN:{d:"\u68C0\u67E5\u6240\u63D0\u4F9B\u7684\u6570\u503C\u662F\u5426\u4E3A\u5076\u6570\u3002",a:"\u68C0\u67E5\u6240\u63D0\u4F9B\u7684\u6570\u503C\u662F\u5426\u4E3A\u5076\u6570\u3002",p:[{name:"\u503C",detail:`\u8981\u9A8C\u8BC1\u5176\u662F\u5426\u4E3A\u5076\u6570\u7684\u6570\u503C\u3002
  19. \u5982\u679C\u503C\u4E3A\u5076\u6570\u6216\u6307\u5411\u5305\u542B\u5076\u6570\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0CISEVEN\u5C06\u8FD4\u56DETRUE\uFF0C\u5426\u5219\u8FD4\u56DEFALSE\u3002`}]},ISODD:{d:"\u68C0\u67E5\u6240\u63D0\u4F9B\u7684\u6570\u503C\u662F\u5426\u4E3A\u5947\u6570\u3002",a:"\u68C0\u67E5\u6240\u63D0\u4F9B\u7684\u6570\u503C\u662F\u5426\u4E3A\u5947\u6570\u3002",p:[{name:"\u503C",detail:`\u8981\u9A8C\u8BC1\u5176\u662F\u5426\u4E3A\u5947\u6570\u7684\u6570\u503C\u3002
  20. \u5982\u679C\u503C\u4E3A\u5947\u6570\u6216\u6307\u5411\u5305\u542B\u5947\u6570\u7684\u5355\u5143\u683C\uFF0CISODD\u5C06\u8FD4\u56DETRUE\uFF0C\u5426\u5219\u8FD4\u56DEFALSE\u3002`}]},LCM:{d:"\u8FD4\u56DE\u4E00\u4E2A\u6216\u591A\u4E2A\u6574\u6570\u7684\u6700\u5C0F\u516C\u500D\u6570\u3002",a:"\u8FD4\u56DE\u4E00\u4E2A\u6216\u591A\u4E2A\u6574\u6570\u7684\u6700\u5C0F\u516C\u500D\u6570\u3002",p:[{name:"\u503C1",detail:"\u8981\u5728\u6C42\u6700\u5C0F\u516C\u500D\u6570\u6570\u7684\u8BA1\u7B97\u4E2D\u68C0\u67E5\u5176\u56E0\u6570\u7684\u7B2C\u4E00\u9879\u6570\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2",detail:"[\u53EF\u9009] - \u5728\u6C42\u6700\u5C0F\u516C\u500D\u6570\u65F6\u8981\u8003\u8651\u5176\u56E0\u6570\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002"}]},LN:{d:"\u8FD4\u56DE\u6570\u503C\u4EE5 e\uFF08\u6B27\u62C9\u6570\uFF09\u4E3A\u5E95\u7684\u5BF9\u6570\u3002",a:"\u8FD4\u56DE\u6570\u503C\u4EE5 e\uFF08\u6B27\u62C9\u6570\uFF09\u4E3A\u5E95\u7684\u5BF9\u6570\u3002",p:[{name:"\u503C",detail:`\u8981\u4EE5 e \u4E3A\u5E95\u6570\u8BA1\u7B97\u5176\u5BF9\u6570\u7684\u503C\u3002
  21. \u503C\u5FC5\u987B\u4E3A\u6B63\u6570\u3002`}]},LOG:{d:"\u6839\u636E\u6307\u5B9A\u5E95\u6570\u8FD4\u56DE\u6570\u5B57\u7684\u5BF9\u6570\u3002",a:"\u6839\u636E\u6307\u5B9A\u5E95\u6570\u8FD4\u56DE\u6570\u5B57\u7684\u5BF9\u6570\u3002",p:[{name:"\u503C",detail:"\u60F3\u8981\u8BA1\u7B97\u5176\u5BF9\u6570\u7684\u6B63\u5B9E\u6570\u3002"},{name:"\u5E95\u6570",detail:"[\u53EF\u9009] - \u5BF9\u6570\u7684\u5E95\u6570\u3002"}]},LOG10:{d:"\u8FD4\u56DE\u6570\u503C\u4EE510\u4E3A\u5E95\u7684\u5BF9\u6570\u3002",a:"\u8FD4\u56DE\u6570\u503C\u4EE510\u4E3A\u5E95\u7684\u5BF9\u6570\u3002",p:[{name:"\u503C",detail:`\u8981\u8BA1\u7B97\u5176\u4EE510\u4E3A\u5E95\u7684\u5BF9\u6570\u7684\u6570\u503C\u3002
  22. \u503C\u5FC5\u987B\u4E3A\u6B63\u503C\u3002`}]},MOD:{d:"\u8FD4\u56DE\u4E24\u6570\u76F8\u9664\u7684\u4F59\u6570, \u7ED3\u679C\u7684\u7B26\u53F7\u4E0E\u9664\u6570\u76F8\u540C\u3002",a:"\u8FD4\u56DE\u4E24\u6570\u76F8\u9664\u7684\u4F59\u6570\u3002",p:[{name:"\u88AB\u9664\u6570",detail:"\u8981\u5C06\u5176\u76F8\u9664\u4EE5\u5F97\u5230\u4F59\u6570\u7684\u6570\u503C\u3002"},{name:"\u9664\u6570",detail:"\u7528\u4E8E\u9664\u5176\u4ED6\u6570\u7684\u6570\u503C\u3002"}]},MROUND:{d:"\u5C06\u6570\u503C\u53D6\u6574\u4E3A\u53E6\u4E00\u6574\u6570\u6700\u63A5\u8FD1\u7684\u6574\u6570\u500D\u3002",a:"\u5C06\u6570\u503C\u53D6\u6574\u4E3A\u53E6\u4E00\u6574\u6570\u6700\u63A5\u8FD1\u7684\u6574\u6570\u500D\u3002",p:[{name:"\u503C",detail:"\u8981\u53D6\u6574\u4E3A\u53E6\u4E00\u6574\u6570\u6700\u63A5\u8FD1\u7684\u6574\u6570\u500D\u7684\u6570\u503C\u3002"},{name:"\u56E0\u6570",detail:"\u503C\u5C06\u53D6\u6B64\u56E0\u6570\u7684\u6574\u6570\u500D\u3002"}]},ODD:{d:"\u5C06\u6570\u503C\u5411\u4E0A\u53D6\u6574\u4E3A\u6700\u63A5\u8FD1\u7684\u5947\u6574\u6570\u3002",a:"\u5C06\u6570\u503C\u5411\u4E0A\u53D6\u6574\u4E3A\u6700\u63A5\u8FD1\u7684\u5947\u6574\u6570\u3002",p:[{name:"\u503C",detail:`\u8981\u5411\u4E0A\u53D6\u6574\u7684\u6570\u503C\uFF0C\u53D6\u6574\u503C\u4E3A\u5927\u4E8E\u6B64\u503C\u7684\u6700\u63A5\u8FD1\u7684\u5947\u6570\u3002
  23. \u5982\u679C\u503C\u4E3A\u8D1F\u6570\uFF0C\u5219\u5C06\u5176\u53D6\u6574\u4E3A\u7EDD\u5BF9\u503C\u5927\u4E8E\u8BE5\u503C\u7684\u76F8\u90BB\u8D1F\u5947\u6570\u3002`}]},SUMSQ:{d:"\u8FD4\u56DE\u4E00\u7EC4\u6570\u503C\u548C/\u6216\u5355\u5143\u683C\u7684\u5E73\u65B9\u603B\u548C\u3002",a:"\u8FD4\u56DE\u4E00\u7EC4\u6570\u503C\u548C/\u6216\u5355\u5143\u683C\u7684\u5E73\u65B9\u603B\u548C\u3002",p:[{name:"\u503C1",detail:"\u8981\u5C06\u5176\u5E73\u65B9\u76F8\u52A0\u7684\u7B2C\u4E00\u4E2A\u6570\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u8981\u5C06\u5176\u5E73\u65B9\u4E0E\u503C1\u7684\u5E73\u65B9\u76F8\u52A0\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002"}]},COMBIN:{d:"\u7ED9\u5B9A\u96C6\u5408\u4E2D\u7684\u5BF9\u8C61\u603B\u6570\u548C\u8981\u9009\u62E9\u7684\u5BF9\u8C61\u6570\u91CF\uFF0C\u8FD4\u56DE\u5171\u6709\u591A\u5C11\u79CD\u4E0D\u540C\u9009\u62E9\u65B9\u5F0F\u3002",a:"\u7ED9\u5B9A\u96C6\u5408\u4E2D\u7684\u5BF9\u8C61\u603B\u6570\u548C\u8981\u9009\u62E9\u7684\u5BF9\u8C61\u6570\u91CF",p:[{name:"n",detail:"\u8981\u4ECE\u4E2D\u8FDB\u884C\u9009\u62E9\u7684\u5BF9\u8C61\u96C6\u5408\u7684\u5927\u5C0F\u3002"},{name:"k",detail:"\u8981\u9009\u62E9\u7684\u5BF9\u8C61\u6570\u91CF\u3002"}]},SUM:{d:"\u8FD4\u56DE\u4E00\u7EC4\u6570\u503C\u548C/\u6216\u5355\u5143\u683C\u7684\u603B\u548C\u3002",a:"\u8FD4\u56DE\u4E00\u7EC4\u6570\u503C\u548C/\u6216\u5355\u5143\u683C\u7684\u603B\u548C\u3002",p:[{name:"\u503C1",detail:"\u8981\u76F8\u52A0\u7684\u7B2C\u4E00\u4E2A\u6570\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2",detail:"[\u53EF\u9009] - \u8981\u76F8\u52A0\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002"}]},SUBTOTAL:{d:"\u4F7F\u7528\u6307\u5B9A\u7684\u6C47\u603B\u51FD\u6570\uFF0C\u8FD4\u56DE\u4E00\u7CFB\u5217\u7EB5\u5411\u5355\u5143\u683C\u7684\u5206\u7C7B\u6C47\u603B\u3002",a:"\u4F7F\u7528\u6307\u5B9A\u7684\u6C47\u603B\u51FD\u6570",p:[{name:"\u51FD\u6570\u4EE3\u7801",detail:`\u7528\u4E8E\u8BA1\u7B97\u5206\u7C7B\u6C47\u603B\u7684\u51FD\u6570\u3002
  24. 1\u4EE3\u8868AVERAGE
  25. 2\u4EE3\u8868COUNT
  26. 3\u4EE3\u8868COUNTA
  27. 4\u4EE3\u8868MAX
  28. 5\u4EE3\u8868MIN
  29. 6\u4EE3\u8868PRODUCT
  30. 7\u4EE3\u8868STDEV
  31. 8\u4EE3\u8868STDEVP
  32. 9\u4EE3\u8868SUM
  33. 10\u4EE3\u8868VAR
  34. 11\u4EE3\u8868VARP
  35. \u901A\u8FC7\u5728\u8FD9\u4E9B2\u4F4D\u4EE3\u7801\u524D\u9644\u52A010\uFF08\u5BF9\u4E8E1\u4F4D\u4EE3\u7801\uFF09\u62161\uFF08\u5BF9\u4E8E2\u4F4D\u4EE3\u7801\uFF09\uFF0C\u53EF\u4EE5\u5C06\u9690\u85CF\u503C\u5FFD\u7565\u3002\u4F8B\u5982\uFF0C102\u4EE3\u8868\u5FFD\u7565\u9690\u85CF\u5355\u5143\u683C\u7684COUNT\uFF0C\u800C110\u5219\u4EE3\u8868\u5FFD\u7565\u9690\u85CF\u503C\u7684VAR\u3002`},{name:"\u8303\u56F41",detail:"\u8981\u8BA1\u7B97\u5206\u7C7B\u6C47\u603B\u7684\u7B2C\u4E00\u4E2A\u8303\u56F4\u3002"},{name:"\u8303\u56F42",detail:"[\u53EF\u9009] - \u8981\u8BA1\u7B97\u5206\u7C7B\u6C47\u603B\u7684\u5176\u4ED6\u8303\u56F4\u3002"}]},ASIN:{d:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u6B63\u5F26\u503C\uFF0C\u4EE5\u5F27\u5EA6\u8868\u793A\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u53CD\u6B63\u5F26\u503C",p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5176\u53CD\u6B63\u5F26\u503C\u7684\u6570\u503C\u3002\u5FC5\u987B\u4ECB\u4E8E-1\u548C1\u4E4B\u95F4\uFF0C\u5305\u62EC\u4E24\u7AEF\u503C\u3002"}]},COUNTIF:{d:"\u8FD4\u56DE\u8303\u56F4\u5185\u6EE1\u8DB3\u67D0\u4E2A\u6761\u4EF6\u7684\u5355\u5143\u683C\u7684\u6570\u91CF\u3002",a:"\u8FD4\u56DE\u8303\u56F4\u5185\u6EE1\u8DB3\u67D0\u4E2A\u6761\u4EF6\u7684\u5355\u5143\u683C\u7684\u6570\u91CF\u3002",p:[{name:"\u8303\u56F4",detail:"\u8981\u6839\u636E\u6761\u4EF6\u8FDB\u884C\u68C0\u6D4B\u7684\u8303\u56F4\u3002"},{name:"\u6761\u4EF6",detail:`\u8981\u5E94\u7528\u4E8E\u8303\u56F4\u7684\u6A21\u5F0F\u6216\u6D4B\u8BD5\u6761\u4EF6\u3002
  36. \u5982\u679C\u8303\u56F4\u5305\u542B\u7684\u662F\u8981\u68C0\u6D4B\u7684\u6587\u672C\uFF0C\u5219\u6761\u4EF6\u5FC5\u987B\u4E3A\u5B57\u7B26\u4E32\u3002\u6761\u4EF6\u53EF\u4EE5\u5305\u542B\u901A\u914D\u7B26\uFF0C\u5305\u62EC\u7528\u4E8E\u5339\u914D\u5355\u4E2A\u5B57\u7B26\u7684?\u6216\u7528\u4E8E\u5339\u914D\u96F6\u4E2A\u6216\u8FDE\u7EED\u591A\u4E2A\u5B57\u7B26\u7684*\u3002\u8981\u5339\u914D\u95EE\u53F7\u661F\u53F7\u672C\u8EAB\uFF0C\u8BF7\u5728\u8BE5\u5B57\u7B26\u524D\u9762\u52A0\u4E0A\u6CE2\u6D6A\u53F7(~)\u524D\u7F00\uFF08\u5373~?\u548C~*\uFF09\u3002\u5B57\u7B26\u4E32\u6761\u4EF6\u5FC5\u987B\u7528\u5F15\u53F7\u62EC\u8D77\u6765\u3002\u51FD\u6570\u4F1A\u68C0\u67E5\u8303\u56F4\u4E2D\u7684\u6BCF\u4E2A\u5355\u5143\u683C\u4E0E\u6761\u4EF6\u662F\u5426\u76F8\u7B49\u6216\u5339\u914D\uFF08\u5982\u679C\u4F7F\u7528\u4E86\u901A\u914D\u7B26\uFF09\u3002
  37. \u5982\u679C\u8303\u56F4\u5305\u542B\u7684\u662F\u8981\u68C0\u6D4B\u7684\u6570\u5B57\uFF0C\u5219\u6761\u4EF6\u53EF\u4EE5\u662F\u5B57\u7B26\u4E32\u4E5F\u53EF\u4EE5\u662F\u6570\u5B57\u3002\u5982\u679C\u7ED9\u5B9A\u7684\u6761\u4EF6\u662F\u4E00\u4E2A\u6570\u5B57\uFF0C\u5219\u68C0\u67E5\u8303\u56F4\u4E2D\u7684\u6BCF\u4E2A\u5355\u5143\u683C\u662F\u5426\u7B49\u4E8E\u6761\u4EF6\u3002\u53E6\u5916\uFF0C\u6761\u4EF6\u4E5F\u53EF\u80FD\u662F\u5305\u542B\u6570\u5B57\u7684\u5B57\u7B26\u4E32\uFF08\u4E5F\u5C06\u5BF9\u5176\u8FDB\u884C\u76F8\u7B49\u68C0\u6D4B\uFF09\uFF0C\u6216\u8005\u5E26\u6709\u4EE5\u4E0B\u524D\u7F00\u7684\u6570\u5B57\uFF1A=\u3001>\u3001>=\u3001<\u6216<=\uFF0C\u8FD9\u4E9B\u6761\u4EF6\u5C06\u5206\u522B\u7528\u4E8E\u68C0\u67E5\u8303\u56F4\u4E2D\u7684\u5355\u5143\u683C\u662F\u5426\u7B49\u4E8E\u3001\u5927\u4E8E\u3001\u5927\u4E8E\u7B49\u4E8E\u3001\u5C0F\u4E8E\u3001\u5C0F\u4E8E\u7B49\u4E8E\u6761\u4EF6\u503C\u3002`}]},RADIANS:{d:"\u5C06\u4EE5\u5EA6\u8868\u793A\u7684\u89D2\u5EA6\u503C\u8F6C\u6362\u4E3A\u5F27\u5EA6\u3002",a:"\u5C06\u4EE5\u5EA6\u8868\u793A\u7684\u89D2\u5EA6\u503C\u8F6C\u6362\u4E3A\u5F27\u5EA6\u3002",p:[{name:"\u89D2\u5EA6",detail:"\u8981\u4ECE\u5EA6\u8F6C\u6362\u4E3A\u5F27\u5EA6\u7684\u89D2\u5EA6\u3002"}]},RAND:{d:"\u8FD4\u56DE\u4E00\u4E2A\u4ECB\u4E8E0\u548C1\u4E4B\u95F4\uFF08\u5305\u62EC0\u4F46\u4E0D\u5305\u62EC1\uFF09\u7684\u968F\u673A\u6570\u3002",a:"\u8FD4\u56DE\u4E00\u4E2A\u4ECB\u4E8E0\u548C1\u4E4B\u95F4\uFF08\u5305\u62EC0\u4F46\u4E0D\u5305\u62EC1\uFF09\u7684\u968F\u673A\u6570\u3002",p:[]},COUNTUNIQUE:{d:"\u8BA1\u7B97\u4E00\u5217\u6307\u5B9A\u503C\u548C\u8303\u56F4\u4E2D\u4E0D\u91CD\u590D\u6570\u503C\u7684\u4E2A\u6570\u3002",a:"\u8BA1\u7B97\u4E00\u5217\u6307\u5B9A\u503C\u548C\u8303\u56F4\u4E2D\u4E0D\u91CD\u590D\u6570\u503C\u7684\u4E2A\u6570\u3002",p:[{name:"\u503C1",detail:"\u8981\u68C0\u67E5\u5176\u662F\u5426\u552F\u4E00\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2",detail:"[\u53EF\u9009] - \u8981\u68C0\u67E5\u662F\u5426\u552F\u4E00\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002"}]},DEGREES:{d:"\u5C06\u4EE5\u5F27\u5EA6\u8868\u793A\u7684\u89D2\u5EA6\u503C\u8F6C\u6362\u4E3A\u5EA6\u3002",a:"\u5C06\u4EE5\u5F27\u5EA6\u8868\u793A\u7684\u89D2\u5EA6\u503C\u8F6C\u6362\u4E3A\u5EA6\u3002",p:[{name:"\u89D2\u5EA6",detail:"\u8981\u4ECE\u5F27\u5EA6\u8F6C\u6362\u4E3A\u5EA6\u7684\u89D2\u5EA6\u3002"}]},ERFC:{d:"\u8FD4\u56DE\u6570\u503C\u7684\u4E92\u8865\u9AD8\u65AF\u8BEF\u5DEE\u51FD\u6570\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u4E92\u8865\u9AD8\u65AF\u8BEF\u5DEE\u51FD\u6570\u3002",p:[{name:"z",detail:"\u8981\u4E3A\u5176\u8BA1\u7B97\u4E92\u8865\u9AD8\u65AF\u8BEF\u5DEE\u51FD\u6570\u7684\u6570\u503C\u3002"}]},EVEN:{d:"\u5C06\u6570\u503C\u5411\u4E0A\u53D6\u6574\u4E3A\u6700\u63A5\u8FD1\u7684\u5076\u6574\u6570\u3002",a:"\u5C06\u6570\u503C\u5411\u4E0A\u53D6\u6574\u4E3A\u6700\u63A5\u8FD1\u7684\u5076\u6574\u6570\u3002",p:[{name:"\u503C",detail:`\u8981\u5411\u4E0A\u53D6\u6574\u7684\u6570\u503C\uFF0C\u53D6\u6574\u503C\u4E3A\u5927\u4E8E\u6B64\u503C\u7684\u6700\u63A5\u8FD1\u7684\u5076\u6570\u3002
  38. \u5982\u679C\u503C\u4E3A\u8D1F\u6570\uFF0C\u5219\u5C06\u5176\u53D6\u6574\u4E3A\u7EDD\u5BF9\u503C\u5927\u4E8E\u8BE5\u503C\u7684\u76F8\u90BB\u8D1F\u5076\u6570\u3002`}]},EXP:{d:"\u8FD4\u56DE\u6B27\u62C9\u6570 e (~2.718) \u7684\u6307\u5B9A\u6B21\u5E42\u3002",a:"\u8FD4\u56DE\u6B27\u62C9\u6570 e (~2.718) \u7684\u6307\u5B9A\u6B21\u5E42\u3002",p:[{name:"\u6307\u6570",detail:"\u6307\u5B9Ae\u7684\u81EA\u4E58\u5E42\u6B21\u503C\u3002"}]},FACT:{d:"\u8FD4\u56DE\u6570\u503C\u7684\u9636\u4E58\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u9636\u4E58\u3002",p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5E76\u8FD4\u56DE\u5176\u9636\u4E58\u7684\u6570\u5B57\u6216\u5BF9\u6570\u5B57\uFF08\u6240\u5728\u5355\u5143\u683C\uFF09\u7684\u5F15\u7528\u3002"}]},FACTDOUBLE:{d:"\u8FD4\u56DE\u6570\u503C\u7684\u201C\u53CC\u9636\u4E58\u201D\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u201C\u53CC\u9636\u4E58\u201D\u3002",p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5E76\u8FD4\u56DE\u5176\u53CC\u9636\u4E58\u7684\u6570\u5B57\u6216\u5BF9\u6570\u5B57\uFF08\u6240\u5728\u5355\u5143\u683C\uFF09\u7684\u5F15\u7528\u3002"}]},PI:{d:"\u8FD4\u56DE\u5E26\u670914\u4F4D\u5C0F\u6570\u7684 PI \u503C\u3002",a:"\u8FD4\u56DE\u5E26\u670914\u4F4D\u5C0F\u6570\u7684 PI \u503C\u3002",p:[]},FLOOR:{d:"\u5C06\u6570\u503C\u5411\u4E0B\u53D6\u6574\u4E3A\u6307\u5B9A\u56E0\u6570\u7684\u6700\u63A5\u8FD1\u7684\u6574\u6570\u500D\u3002",a:"\u5C06\u6570\u503C\u5411\u4E0B\u53D6\u6574\u4E3A\u6307\u5B9A\u56E0\u6570\u7684\u6700\u63A5\u8FD1\u7684\u6574\u6570\u500D\u3002",p:[{name:"\u503C",detail:"\u8981\u5411\u4E0B\u820D\u5165\u4E3A\u56E0\u6570\u7684\u6700\u63A5\u8FD1\u6574\u6570\u500D\u7684\u6570\u503C\u3002"},{name:"\u56E0\u6570",detail:`\u8981\u5C06\u503C\u820D\u5165\u5230\u6B64\u6570\u7684\u6574\u6570\u500D\u3002
  39. \u56E0\u6570\u4E0D\u5F97\u4E3A0\u3002`}]},GCD:{d:"\u8FD4\u56DE\u4E00\u4E2A\u6216\u591A\u4E2A\u6574\u6570\u7684\u6700\u5927\u516C\u7EA6\u6570\u3002",a:"\u8FD4\u56DE\u4E00\u4E2A\u6216\u591A\u4E2A\u6574\u6570\u7684\u6700\u5927\u516C\u7EA6\u6570\u3002",p:[{name:"\u503C1",detail:"\u8981\u5728\u67E5\u627E\u6700\u5927\u516C\u7EA6\u6570\u7684\u8BA1\u7B97\u4E2D\u68C0\u67E5\u5176\u56E0\u6570\u7684\u7B2C\u4E00\u9879\u6570\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2",detail:"[\u53EF\u9009] - \u5728\u6C42\u6700\u5927\u516C\u7EA6\u6570\u65F6\u8981\u8003\u8651\u5176\u56E0\u6570\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002"}]},RANDBETWEEN:{d:"\u8FD4\u56DE\u4ECB\u4E8E\u4E24\u4E2A\u6574\u6570\u4E4B\u95F4\uFF08\u5305\u62EC\u8FD9\u4E24\u4E2A\u6574\u6570\uFF09\u7684\u968F\u673A\u6570\u3002",a:"\u8FD4\u56DE\u4ECB\u4E8E\u4E24\u4E2A\u6574\u6570\u4E4B\u95F4\uFF08\u5305\u62EC\u8FD9\u4E24\u4E2A\u6574\u6570\uFF09\u7684\u968F\u673A\u6570\u3002",p:[{name:"\u4E0B\u754C",detail:"\u968F\u673A\u503C\u8303\u56F4\u7684\u4E0B\u754C\u3002"},{name:"\u4E0A\u754C",detail:"\u968F\u673A\u503C\u8303\u56F4\u7684\u4E0A\u754C\u3002"}]},ROUND:{d:"\u5C06\u6570\u5B57\u56DB\u820D\u4E94\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6570\u3002",a:"\u5C06\u6570\u5B57\u56DB\u820D\u4E94\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6570\u3002",p:[{name:"\u503C",detail:"\u8981\u56DB\u820D\u4E94\u5165\u7684\u6570\u5B57\u3002"},{name:"\u4F4D\u6570",detail:`\u8981\u8FDB\u884C\u56DB\u820D\u4E94\u5165\u8FD0\u7B97\u7684\u4F4D\u6570\u3002
  40. \u4F4D\u6570\u53EF\u4EE5\u53D6\u8D1F\u503C\uFF0C\u5728\u8FD9\u79CD\u60C5\u51B5\u4E0B\u4F1A\u5C06\u503C\u7684\u5C0F\u6570\u70B9\u5DE6\u4FA7\u90E8\u5206\u820D\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6570\u3002`}]},ROUNDDOWN:{d:"\u671D\u7740\u96F6\u7684\u65B9\u5411\u5C06\u6570\u5B57\u8FDB\u884C\u5411\u4E0B\u820D\u5165\u3002",a:"\u671D\u7740\u96F6\u7684\u65B9\u5411\u5C06\u6570\u5B57\u8FDB\u884C\u5411\u4E0B\u820D\u5165\u3002",p:[{name:"\u503C",detail:"\u9700\u8981\u5411\u4E0B\u820D\u5165\u7684\u4EFB\u610F\u5B9E\u6570\u3002"},{name:"\u4F4D\u6570",detail:`\u8981\u901A\u8FC7\u820D\u5165\u8FBE\u5230\u7684\u5C0F\u6570\u4F4D\u6570\u3002
  41. \u4F4D\u6570\u53EF\u4EE5\u53D6\u8D1F\u503C\uFF0C\u5728\u8FD9\u79CD\u60C5\u51B5\u4E0B\u4F1A\u5C06\u503C\u7684\u5C0F\u6570\u70B9\u5DE6\u4FA7\u90E8\u5206\u820D\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6570\u3002`}]},ROUNDUP:{d:"\u671D\u7740\u8FDC\u79BB 0\uFF08\u96F6\uFF09\u7684\u65B9\u5411\u5C06\u6570\u5B57\u8FDB\u884C\u5411\u4E0A\u820D\u5165\u3002",a:"\u671D\u7740\u8FDC\u79BB 0\uFF08\u96F6\uFF09\u7684\u65B9\u5411\u5C06\u6570\u5B57\u8FDB\u884C\u5411\u4E0A\u820D\u5165\u3002",p:[{name:"\u503C",detail:"\u8981\u5C06\u5176\u820D\u5165\u4E3A\u4F4D\u6570\u4F4D\u6570\u5B57\u7684\u503C\uFF0C\u59CB\u7EC8\u5411\u4E0A\u820D\u5165\u3002"},{name:"\u4F4D\u6570",detail:`\u8981\u901A\u8FC7\u820D\u5165\u8FBE\u5230\u7684\u5C0F\u6570\u4F4D\u6570\u3002
  42. \u4F4D\u6570\u53EF\u4EE5\u53D6\u8D1F\u503C\uFF0C\u5728\u8FD9\u79CD\u60C5\u51B5\u4E0B\u4F1A\u5C06\u503C\u7684\u5C0F\u6570\u70B9\u5DE6\u4FA7\u90E8\u5206\u820D\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6570\u3002`}]},SERIESSUM:{d:"\u7ED9\u5B9A\u53C2\u6570 x\u3001n\u3001m \u548C a\uFF0C\u8FD4\u56DE\u5E42\u7EA7\u6570\u7684\u548C a1xn + a2x(n+m) + ... + aix(n+(i-1)m)\uFF0C\u5176\u4E2D i \u4E3A\u8303\u56F4 a \u4E2D\u7684\u9879\u6570\u3002",a:"\u7ED9\u5B9A\u53C2\u6570 x\u3001n\u3001m \u548C a",p:[{name:"x",detail:"\u5E42\u7EA7\u6570\u7684\u8F93\u5165\u503C\u3002\u968F\u76F8\u5E94\u7684\u8FD1\u4F3C\u7C7B\u578B\u800C\u53D8\uFF0C\u6709\u53EF\u80FD\u4E3A\u89D2\u5EA6\u3001\u6307\u6570\u6216\u5176\u4ED6\u4E00\u4E9B\u503C\u3002"},{name:"n",detail:"\u5728\u5E42\u7EA7\u6570\u4E2Dx\u7684\u521D\u59CB\u81EA\u4E58\u5E42\u6B21\u3002"},{name:"m",detail:"x\u7684\u5E42\u6B21\u4E2D\u7684\u9644\u52A0\u589E\u91CF\u3002"},{name:"a",detail:"\u5305\u542B\u5E42\u7EA7\u6570\u7CFB\u6570\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002"}]},SIGN:{d:"\u7ED9\u5B9A\u8F93\u5165\u6570\u503C\uFF0C\u5982\u679C\u4E3A\u8D1F\u8FD4\u56DE-1\uFF1B\u5982\u679C\u4E3A\u6B63\u8FD4\u56DE1\uFF1B\u5982\u679C\u4E3A\u96F6\u5219\u8FD4\u56DE0\u3002",a:"\u7ED9\u5B9A\u8F93\u5165\u6570\u503C",p:[{name:"\u503C",detail:"\u8981\u8FD4\u56DE\u5176\u7B26\u53F7\u7684\u6570\u503C\u3002"}]},SIN:{d:"\u7ED9\u5B9A\u89D2\u5EA6\uFF08\u4EE5\u5F27\u5EA6\u8868\u793A\uFF09\uFF0C\u8FD4\u56DE\u5176\u6B63\u5F26\u503C\u3002",a:"\u7ED9\u5B9A\u89D2\u5EA6\uFF08\u4EE5\u5F27\u5EA6\u8868\u793A\uFF09",p:[{name:"\u89D2\u5EA6",detail:"\u8981\u8FD4\u56DE\u5176\u6B63\u5F26\u503C\u7684\u89D2\u5EA6\uFF0C\u4EE5\u5F27\u5EA6\u8868\u793A\u3002"}]},SINH:{d:"\u8FD4\u56DE\u7ED9\u5B9A\u5B9E\u6570\u7684\u53CC\u66F2\u6B63\u5F26\u503C\u3002",a:"\u8FD4\u56DE\u7ED9\u5B9A\u5B9E\u6570\u7684\u53CC\u66F2\u6B63\u5F26\u503C\u3002",p:[{name:"\u503C",detail:"\u8981\u8BA1\u7B97\u5176\u53CC\u66F2\u6B63\u5F26\u503C\u7684\u5B9E\u6570\u503C\u3002"}]},SQRT:{d:"\u8FD4\u56DE\u4E00\u4E2A\u6B63\u6570\u7684\u6B63\u5E73\u65B9\u6839\u3002",a:"\u8FD4\u56DE\u4E00\u4E2A\u6B63\u6570\u7684\u6B63\u5E73\u65B9\u6839\u3002",p:[{name:"\u503C",detail:`\u8981\u8BA1\u7B97\u5176\u6B63\u5E73\u65B9\u6839\u7684\u6570\u503C\u3002
  43. \u503C\u5FC5\u987B\u4E3A\u6B63\u6570\uFF1B\u5982\u679C\u4E3A\u8D1F\uFF0CSQRT \u5C06\u8FD4\u56DE #NUM! \u9519\u8BEF\u3002`}]},SQRTPI:{d:"\u8FD4\u56DE PI \u4E0E\u7ED9\u5B9A\u6B63\u6570\u4E58\u79EF\u7684\u6B63\u5E73\u65B9\u6839\u3002",a:"\u8FD4\u56DE PI \u4E0E\u7ED9\u5B9A\u6B63\u6570\u4E58\u79EF\u7684\u6B63\u5E73\u65B9\u6839\u3002",p:[{name:"\u503C",detail:`\u8981\u5C06\u5176\u4E0E PI \u76F8\u4E58\u5E76\u8FD4\u56DE\u8BE5\u4E58\u79EF\u7684\u5E73\u65B9\u6839\u7684\u6570\u503C
  44. \u503C\u5FC5\u987B\u4E3A\u6B63\u6570\uFF1B\u5982\u679C\u4E3A\u8D1F\u6570\uFF0CSQRTPI \u5C06\u8FD4\u56DE #NUM! \u9519\u8BEF\u3002`}]},GAMMALN:{d:"\u8FD4\u56DE\u6307\u5B9A\u4F3D\u739B\u51FD\u6570\u7684\u4EE5 e\uFF08\u6B27\u62C9\u6570\uFF09\u4E3A\u5E95\u7684\u5BF9\u6570\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u4F3D\u739B\u51FD\u6570\u7684\u4EE5 e\uFF08\u6B27\u62C9\u6570\uFF09\u4E3A\u5E95\u7684\u5BF9\u6570\u3002",p:[{name:"\u503C",detail:`\u4F3D\u739B\u51FD\u6570\u7684\u8F93\u5165\u503C\u3002\u8FD4\u56DE\u7684\u5C06\u662F\u4F3D\u739B (\u503C) \u7684\u81EA\u7136\u5BF9\u6570\u3002
  45. \u503C\u5FC5\u987B\u4E3A\u6B63\u6570\u3002`}]},COS:{d:"\u8FD4\u56DE\u7ED9\u5B9A\u89D2\u5EA6\u7684\u4F59\u5F26\u503C\uFF08\u89D2\u5EA6\u4EE5\u5F27\u5EA6\u8868\u793A\uFF09\u3002",a:"\u8FD4\u56DE\u7ED9\u5B9A\u89D2\u5EA6\u7684\u4F59\u5F26\u503C\uFF08\u89D2\u5EA6\u4EE5\u5F27\u5EA6\u8868\u793A\uFF09\u3002",p:[{name:"\u89D2\u5EA6",detail:"\u8981\u53D6\u5176\u4F59\u5F26\u503C\u7684\u89D2\u5EA6\uFF0C\u4EE5\u5F27\u5EA6\u8868\u793A\u3002"}]},TRUNC:{d:"\u622A\u9664\u6307\u5B9A\u6709\u6548\u4F4D\u4E4B\u5916\u7684\u90E8\u5206\uFF0C\u53D6\u6570\u636E\u7684\u6307\u5B9A\u6709\u6548\u4F4D\u3002",a:"\u622A\u9664\u6307\u5B9A\u6709\u6548\u4F4D\u4E4B\u5916\u7684\u90E8\u5206",p:[{name:"\u503C",detail:"\u8981\u622A\u53D6\u7684\u6570\u636E\u3002"},{name:"\u4F4D\u6570",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A0] - \u5C0F\u6570\u70B9\u53F3\u4FA7\u8981\u4FDD\u7559\u7684\u6709\u6548\u4F4D\u6570\u3002
  46. \u5982\u679C\u4F4D\u6570\u5927\u4E8E\u503C\u4E2D\u7684\u6709\u6548\u4F4D\u6570\uFF0C\u5219\u5C06\u201C\u503C\u201D\u539F\u6837\u8FD4\u56DE\u3002
  47. \u4F4D\u6570\u53EF\u4EE5\u53D6\u8D1F\u503C\uFF0C\u5728\u8FD9\u79CD\u60C5\u51B5\u4E0B\u4F1A\u5C06\u5C0F\u6570\u70B9\u5DE6\u4FA7\u6307\u5B9A\u4F4D\u6570\u7684\u503C\u66F4\u6539\u4E3A\u96F6\u3002\u5C0F\u6570\u70B9\u53F3\u4FA7\u7684\u6240\u6709\u4F4D\u6570\u90FD\u4F1A\u88AB\u820D\u5F03\u3002\u5982\u679C\u503C\u7684\u6240\u6709\u4F4D\u90FD\u88AB\u66F4\u6539\u4E3A\u96F6\uFF0C\u5219TRUNC\u4F1A\u8FD4\u56DE0\u3002`}]},QUOTIENT:{d:"\u8FD4\u56DE\u4EE5\u4E00\u4E2A\u6570\u9664\u4EE5\u53E6\u4E00\u4E2A\u6570\u6240\u5F97\u7684\u7ED3\u679C\uFF0C\u4E0D\u5305\u542B\u4F59\u6570\u3002",a:"\u8FD4\u56DE\u4EE5\u4E00\u4E2A\u6570\u9664\u4EE5\u53E6\u4E00\u4E2A\u6570\u6240\u5F97\u7684\u7ED3\u679C",p:[{name:"\u88AB\u9664\u6570",detail:"\u8981\u88AB\u9664\u7684\u6570\u503C\u3002"},{name:"\u9664\u6570",detail:`\u7528\u4E8E\u9664\u5176\u4ED6\u6570\u7684\u6570\u503C\u3002
  48. \u9664\u6570\u4E0D\u5F97\u4E3A0\u3002`}]},POWER:{d:"\u8FD4\u56DE\u6570\u503C\u7684\u6307\u5B9A\u6B21\u5E42\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u6307\u5B9A\u6B21\u5E42\u3002",p:[{name:"\u5E95\u6570",detail:`\u8981\u8BA1\u7B97\u5176\u6307\u6570\u6B21\u5E42\u7684\u6570\u503C\u3002
  49. \u5982\u679C\u5E95\u6570\u4E3A\u8D1F\uFF0C\u5219\u6307\u6570\u5FC5\u987B\u4E3A\u6574\u6570\u3002`},{name:"\u6307\u6570",detail:"\u6307\u5B9A\u5E95\u6570\u7684\u81EA\u4E58\u5E42\u6B21\u503C\u3002"}]},SUMIFS:{d:"\u6839\u636E\u591A\u9879\u6761\u4EF6\u8FD4\u56DE\u8303\u56F4\u4E4B\u548C\u3002",a:"\u6839\u636E\u591A\u9879\u6761\u4EF6\u8FD4\u56DE\u8303\u56F4\u4E4B\u548C\u3002",p:[{name:"\u6C42\u548C\u8303\u56F4",detail:"\u8981\u5BF9\u5176\u6C42\u548C\u7684\u8303\u56F4\u3002"},{name:"\u6761\u4EF6\u8303\u56F41",detail:"\u8981\u5728\u54EA\u4E2A\u8303\u56F4\u5185\u68C0\u67E5\u6761\u4EF61\u3002"},{name:"\u6761\u4EF61",detail:"\u8981\u5E94\u7528\u4E8E\u6761\u4EF6\u8303\u56F41\u7684\u6A21\u5F0F\u6216\u6D4B\u8BD5\u6761\u4EF6\u3002"},{name:"\u6761\u4EF6\u8303\u56F42, \u6761\u4EF62...",detail:"[ \u53EF\u9009 ] - \u8981\u68C0\u67E5\u7684\u5176\u4ED6\u8303\u56F4\u548C\u6761\u4EF6\u3002"}]},GET_TARGET:{d:"\u67E5\u8BE2\u76EE\u6807\u6570\u636E\u3002",a:"\u67E5\u8BE2\u76EE\u6807\u6570\u636E\u3002",p:[]},GET_AIRTABLE_DATA:{d:"\u67E5\u8BE2AirTable\u6570\u636E\u3002",a:"\u67E5\u8BE2AirTable\u6570\u636E\u3002",p:[{name:"AirTable \u5730\u5740",detail:"AirTable URL\u94FE\u63A5\u5730\u5740"},{name:"\u6392\u5E8F\u5217",detail:"\u8868\u793A\u8981\u6392\u5E8F\u7684\u5217\u7684\u6570\u5B57\u3002"},{name:"\u662F\u5426\u5347\u5E8F",detail:"[\u53EF\u9009] - 1 \u6216 0 \u8868\u793A\u662F\u5426\u6309\u5347\u5E8F\u5BF9 `\u6392\u5E8F\u5217` \u8FDB\u884C\u6392\u5E8F\u3002 0 \u6309\u964D\u5E8F\u6392\u5217\uFF0C1 \u6309\u5347\u5E8F\u6392\u5217\u3002"}]},ASK_AI:{d:"\u5411AI\u63D0\u95EE\u3002",a:"\u5411AI\u63D0\u95EE\u3002",p:[{name:"\u95EE\u9898",detail:"\u5411AI\u54A8\u8BE2\uFF0C\u4F60\u60F3\u5F97\u5230\u7684\u6570\u636E\u3002"},{name:"\u6761\u4EF6\u8303\u56F4",detail:"\u8981\u5728\u54EA\u4E2A\u8303\u56F4\u5185\u5904\u7406\u6570\u636E\u3002"}]},COUNTIFS:{d:"\u6839\u636E\u591A\u9879\u6761\u4EF6\u8FD4\u56DE\u8303\u56F4\u4E2D\u7684\u5355\u5143\u683C\u6570\u91CF\u3002",a:"\u6839\u636E\u591A\u9879\u6761\u4EF6\u8FD4\u56DE\u8303\u56F4\u4E2D\u7684\u5355\u5143\u683C\u6570\u91CF\u3002",p:[{name:"\u6761\u4EF6\u8303\u56F41",detail:"\u8981\u5728\u54EA\u4E2A\u8303\u56F4\u5185\u68C0\u67E5\u6761\u4EF61\u3002"},{name:"\u6761\u4EF61",detail:"\u8981\u5E94\u7528\u4E8E\u6761\u4EF6\u8303\u56F41\u7684\u6A21\u5F0F\u6216\u6D4B\u8BD5\u6761\u4EF6\u3002"},{name:"\u6761\u4EF6\u8303\u56F42, \u6761\u4EF62...",detail:"[ \u53EF\u9009 ] - \u8981\u68C0\u67E5\u7684\u5176\u4ED6\u8303\u56F4\u548C\u6761\u4EF6\uFF0C\u53EF\u91CD\u590D\u3002"}]},PRODUCT:{d:"\u8FD4\u56DE\u5C06\u4E00\u7EC4\u6570\u76F8\u4E58\u6240\u5F97\u7684\u7ED3\u679C\u3002",a:"\u8FD4\u56DE\u5C06\u4E00\u7EC4\u6570\u76F8\u4E58\u6240\u5F97\u7684\u7ED3\u679C\u3002",p:[{name:"\u4E58\u65701",detail:"\u7528\u4E8E\u8BA1\u7B97\u4E58\u79EF\u7684\u7B2C\u4E00\u4E2A\u6570\u503C\u6216\u8303\u56F4\u3002"},{name:"\u4E58\u65702 ... \u4E58\u657030",detail:"[\u53EF\u9009] - \u8981\u76F8\u4E58\u7684\u5176\u4ED6\u6570\u503C\u3002"}]},HARMEAN:{d:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u8C03\u548C\u5E73\u5747\u503C\u3002",a:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u8C03\u548C\u5E73\u5747\u503C\u3002",p:[{name:"\u503C1",detail:"\u6837\u672C\u4E2D\u7684\u7B2C\u4E00\u9879\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u6570\u636E\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002"}]},HYPGEOMDIST:{d:"\u8FD4\u56DE\u8D85\u51E0\u4F55\u5206\u5E03\u3002 \u5982\u679C\u5DF2\u77E5\u6837\u672C\u91CF\u3001\u603B\u4F53\u6210\u529F\u6B21\u6570\u548C\u603B\u4F53\u5927\u5C0F\uFF0C\u5219 HYPGEOM.DIST \u8FD4\u56DE\u6837\u672C\u53D6\u5F97\u5DF2\u77E5\u6210\u529F\u6B21\u6570\u7684\u6982\u7387\u3002",a:"\u8FD4\u56DE\u8D85\u51E0\u4F55\u5206\u5E03\u3002",p:[{name:"Sample_s",detail:"\u6837\u672C\u4E2D\u6210\u529F\u7684\u6B21\u6570\u3002"},{name:"Number_sample",detail:"\u6837\u672C\u91CF\u3002"},{name:"Population_s",detail:"\u603B\u4F53\u4E2D\u6210\u529F\u7684\u6B21\u6570\u3002"},{name:"Number_pop",detail:"\u603B\u4F53\u5927\u5C0F\u3002"},{name:"cumulative",detail:`\u51B3\u5B9A\u51FD\u6570\u5F62\u5F0F\u7684\u903B\u8F91\u503C\u3002
  50. \u5982\u679C cumulative \u4E3A TRUE()\uFF0C\u5219 HYPGEOM.DIST \u8FD4\u56DE\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\uFF1B
  51. \u5982\u679C\u4E3A FALSE()\uFF0C\u5219\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6570\u3002`}]},INTERCEPT:{d:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u7EBF\u6027\u56DE\u5F52\u65B9\u7A0B\u76F4\u7EBF\u4E0E Y \u8F74\u7684\u76F8\u4EA4\u70B9 (x=0) \u7684 y \u503C\u3002",a:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u7EBF\u6027\u56DE\u5F52\u65B9\u7A0B\u76F4\u7EBF\u4E0E Y \u8F74\u7684\u76F8\u4EA4\u70B9 (x=0) \u7684 y \u503C\u3002",p:[{name:"\u6570\u636E_y",detail:"\u4EE3\u8868\u56E0\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002"},{name:"\u6570\u636E_x",detail:"\u4EE3\u8868\u81EA\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002"}]},KURT:{d:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u5CED\u5EA6\uFF0C\u8BE5\u6307\u6807\u6307\u793A\u6570\u636E\u96C6\uFF08\u5206\u5E03\uFF09\u7684\u5F62\u6001\uFF0C\u5C24\u5176\u662F\u8BE5\u5F62\u6001\u7684\u9661\u5CED\u7A0B\u5EA6\u3002",a:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u5CED\u5EA6",p:[{name:"\u503C1",detail:"\u6570\u636E\u96C6\u4E2D\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u6570\u636E\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002"}]},LARGE:{d:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u7B2C n \u4E2A\u6700\u5927\u5143\u7D20\uFF0Cn \u7531\u7528\u6237\u6307\u5B9A\u3002",a:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u7B2C n \u4E2A\u6700\u5927\u5143\u7D20",p:[{name:"\u6570\u636E",detail:"\u5305\u542B\u76F8\u5173\u6570\u636E\u96C6\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002"},{name:"n",detail:`\u8981\u8FD4\u56DE\u7684\u5143\u7D20\u7684\u6392\u884C\u4F4D\u7F6E\uFF08\u4ECE\u5927\u5230\u5C0F\u987A\u5E8F\uFF09\u3002
  52. \u4F8B\u5982\uFF0C\u5C06n\u8BBE\u4E3A4\u5C06\u4F7FLARGE\u8FD4\u56DE\u6570\u636E\u4E2D\u6392\u540D\u7B2C4\u7684\u6700\u5927\u5143\u7D20\u3002`}]},STDEVA:{d:"\u57FA\u4E8E\u6837\u672C\u8BA1\u7B97\u6807\u51C6\u504F\u5DEE\uFF0C\u5C06\u6587\u672C\u53D6\u503C\u4E3A0\u3002",a:"\u57FA\u4E8E\u6837\u672C\u8BA1\u7B97\u6807\u51C6\u504F\u5DEE",p:[{name:"\u503C1",detail:"\u6837\u672C\u4E2D\u7684\u7B2C\u4E00\u9879\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2,\u2026",detail:"[\u53EF\u9009] - \u6837\u672C\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002"}]},STDEVP:{d:"\u57FA\u4E8E\u6837\u672C\u603B\u4F53\u8BA1\u7B97\u6807\u51C6\u504F\u5DEE\u3002",a:"\u57FA\u4E8E\u6837\u672C\u603B\u4F53\u8BA1\u7B97\u6807\u51C6\u504F\u5DEE\u3002",p:[{name:"\u503C1",detail:"\u6570\u636E\u96C6\u4E2D\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u6570\u636E\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002"}]},GEOMEAN:{d:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u51E0\u4F55\u5E73\u5747\u503C\u3002",a:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u51E0\u4F55\u5E73\u5747\u503C\u3002",p:[{name:"\u503C1",detail:"\u6837\u672C\u4E2D\u7684\u7B2C\u4E00\u9879\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u6570\u636E\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002"}]},RANK_EQ:{d:"\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u6570\u636E\u96C6\u4E2D\u7684\u6392\u540D\u3002\u5982\u679C\u76F8\u540C\u7684\u503C\u5728\u6570\u636E\u96C6\u4E2D\u5B58\u5728\u591A\u9879\uFF0C\u5219\u8FD4\u56DE\u5176\u4E2D\u7684\u6700\u9AD8\u6392\u540D\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u6570\u636E\u96C6\u4E2D\u7684\u6392\u540D\u3002\u5982\u679C\u76F8\u540C\u7684\u503C\u5728\u6570\u636E\u96C6\u4E2D\u5B58\u5728\u591A\u9879\uFF0C\u5219\u8FD4\u56DE\u5176\u4E2D\u7684\u6700\u9AD8\u6392\u540D\u3002",p:[{name:"number",detail:"\u8981\u786E\u5B9A\u5176\u6392\u540D\u7684\u503C\u3002"},{name:"ref",detail:"\u5305\u542B\u76F8\u5173\u6570\u636E\u96C6\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002"},{name:"order",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A\u6309\u964D\u5E8F (FALSE()) ] - \u8981\u6309\u5347\u5E8F\u8FD8\u662F\u6309\u964D\u5E8F\u8003\u8651\u201Cdata\u201D\u4E2D\u7684\u503C\u3002"}]},RANK_AVG:{d:"\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u6570\u636E\u96C6\u4E2D\u7684\u6392\u540D\u3002\u5982\u679C\u76F8\u540C\u7684\u503C\u5728\u6570\u636E\u96C6\u4E2D\u5B58\u5728\u591A\u9879\uFF0C\u5219\u8FD4\u56DE\u8FD9\u4E9B\u9879\u6392\u540D\u7684\u5E73\u5747\u503C\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u6570\u636E\u96C6\u4E2D\u7684\u6392\u540D\u3002\u5982\u679C\u76F8\u540C\u7684\u503C\u5728\u6570\u636E\u96C6\u4E2D\u5B58\u5728\u591A\u9879\uFF0C\u5219\u8FD4\u56DE\u8FD9\u4E9B\u9879\u6392\u540D\u7684\u5E73\u5747\u503C\u3002",p:[{name:"number",detail:"\u8981\u786E\u5B9A\u5176\u6392\u540D\u7684\u503C\u3002"},{name:"ref",detail:"\u5305\u542B\u76F8\u5173\u6570\u636E\u96C6\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002"},{name:"order",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A\u6309\u964D\u5E8F (FALSE()) ] - \u8981\u6309\u5347\u5E8F\u8FD8\u662F\u6309\u964D\u5E8F\u8003\u8651\u201Cdata\u201D\u4E2D\u7684\u503C\u3002"}]},PERCENTRANK_EXC:{d:"\u4EE5\u767E\u5206\u6570\u5F62\u5F0F\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u7ED9\u5B9A\u6570\u636E\u96C6\u4E2D\u7684\u767E\u5206\u6BD4\u6392\u540D\uFF08\u4ECB\u4E8E0\u548C1\u4E4B\u95F4\uFF0C\u4E0D\u5305\u62EC\u4E24\u7AEF\u503C\uFF09\u3002",a:"\u4EE5\u767E\u5206\u6570\u5F62\u5F0F\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u7ED9\u5B9A\u6570\u636E\u96C6\u4E2D\u7684\u767E\u5206\u6BD4\u6392\u540D\uFF08\u4ECB\u4E8E0\u548C1\u4E4B\u95F4\uFF0C\u4E0D\u5305\u62EC\u4E24\u7AEF\u503C\uFF09\u3002",p:[{name:"data",detail:"\u5305\u542B\u76F8\u5173\u6570\u636E\u96C6\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002"},{name:"x",detail:"\u8981\u786E\u5B9A\u5176\u767E\u5206\u6BD4\u6392\u4F4D\u7684\u503C\u3002"},{name:"significance",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 3] - \u8981\u5728\u8BA1\u7B97\u4E2D\u4F7F\u7528\u7684\u6709\u6548\u4F4D\u6570\u3002"}]},PERCENTRANK_INC:{d:"\u4EE5\u767E\u5206\u6BD4\u5F62\u5F0F\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u7ED9\u5B9A\u6570\u636E\u96C6\u4E2D\u7684\u767E\u5206\u6BD4\u6392\u540D\uFF08\u4ECB\u4E8E0\u548C1\u4E4B\u95F4\uFF0C\u5305\u62EC\u4E24\u7AEF\u503C\uFF09\u3002",a:"\u4EE5\u767E\u5206\u6BD4\u5F62\u5F0F\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u7ED9\u5B9A\u6570\u636E\u96C6\u4E2D\u7684\u767E\u5206\u6BD4\u6392\u540D\uFF08\u4ECB\u4E8E0\u548C1\u4E4B\u95F4\uFF0C\u5305\u62EC\u4E24\u7AEF\u503C\uFF09\u3002",p:[{name:"data",detail:"\u5305\u542B\u76F8\u5173\u6570\u636E\u96C6\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002"},{name:"x",detail:"\u8981\u786E\u5B9A\u5176\u767E\u5206\u6BD4\u6392\u4F4D\u7684\u503C\u3002"},{name:"significance",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 3] - \u8981\u5728\u8BA1\u7B97\u4E2D\u4F7F\u7528\u7684\u6709\u6548\u4F4D\u6570\u3002"}]},FORECAST:{d:"\u57FA\u4E8E\u6570\u636E\u96C6\u7684\u7EBF\u6027\u56DE\u5F52\uFF0C\u8BA1\u7B97\u6307\u5B9A x \u7684\u9884\u671F y \u503C\u3002",a:"\u57FA\u4E8E\u6570\u636E\u96C6\u7684\u7EBF\u6027\u56DE\u5F52",p:[{name:"x",detail:"x\u8F74\u4E0A\u7528\u4E8E\u9884\u6D4B\u7684\u503C\u3002"},{name:"\u6570\u636E_y",detail:"\u4EE3\u8868\u56E0\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002"},{name:"\u6570\u636E_x",detail:"\u4EE3\u8868\u81EA\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002"}]},FISHERINV:{d:"\u8FD4\u56DE\u6307\u5B9A\u6570\u503C\u7684 Fisher \u9006\u53D8\u6362\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u6570\u503C\u7684 Fisher \u9006\u53D8\u6362\u3002",p:[{name:"y",detail:"\u8981\u8BA1\u7B97\u5176Fisher\u9006\u53D8\u6362\u7684\u6570\u503C\u3002"}]},FISHER:{d:"\u8FD4\u56DE\u6307\u5B9A\u6570\u503C\u7684 Fisher \u53D8\u6362\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u6570\u503C\u7684 Fisher \u53D8\u6362\u3002",p:[{name:"x",detail:"\u8981\u8BA1\u7B97\u5176Fisher\u53D8\u6362\u7684\u6570\u503C\u3002"}]},MODE_SNGL:{d:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u51FA\u73B0\u6B21\u6570\u6700\u591A\u7684\u503C\u3002",a:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u51FA\u73B0\u6B21\u6570\u6700\u591A\u7684\u503C\u3002",p:[{name:"\u503C1",detail:"\u8BA1\u7B97\u6A21\u5F0F\u65F6\u8981\u68C0\u67E5\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u5728\u8BA1\u7B97\u6A21\u5F0F\u65F6\u8981\u8003\u8651\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002"}]},WEIBULL_DIST:{d:"\u7ED9\u5B9A\u5F62\u72B6\u548C\u5C3A\u5EA6\uFF0C\u8FD4\u56DE\u97E6\u4F2F\u5206\u5E03\u51FD\u6570\uFF08\u6216\u97E6\u4F2F\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\uFF09\u7684\u503C\u3002",a:"\u7ED9\u5B9A\u5F62\u72B6\u548C\u5C3A\u5EA6",p:[{name:"x",detail:"WEIBULL \u5206\u5E03\u51FD\u6570\u7684\u8F93\u5165\u503C\u3002"},{name:"alpha",detail:`Weibull \u5206\u5E03\u51FD\u6570\u7684\u5F62\u72B6\u53C2\u6570\u3002
  53. alpha \u503C\u5FC5\u987B\u5927\u4E8E 0\u3002`},{name:"beta",detail:`Weibull \u5206\u5E03\u51FD\u6570\u7684\u5C3A\u5EA6\u53C2\u6570\u3002
  54. beta \u503C\u5FC5\u987B\u5927\u4E8E 0\u3002`},{name:"cumulative",detail:"TRUE() \u8868\u793A\u4F7F\u7528\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\uFF0CFALSE() \u5219\u8868\u793A\u4F7F\u7528\u6982\u7387\u5BC6\u5EA6\u51FD\u6570\u3002"}]},COUNT:{d:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u6570\u503C\u7684\u4E2A\u6570\u3002",a:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u6570\u503C\u7684\u4E2A\u6570\u3002",p:[{name:"\u503C1",detail:"\u8BA1\u6570\u65F6\u8981\u68C0\u67E5\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u5728\u8BA1\u6570\u65F6\u8981\u68C0\u67E5\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002"}]},COUNTA:{d:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u503C\u7684\u6570\u91CF\u3002",a:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u503C\u7684\u6570\u91CF\u3002",p:[{name:"\u503C1",detail:"\u8BA1\u6570\u65F6\u8981\u68C0\u67E5\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u5728\u8BA1\u6570\u65F6\u8981\u68C0\u67E5\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002"}]},AVEDEV:{d:"\u8BA1\u7B97\u6570\u636E\u4E0E\u6570\u636E\u96C6\u5747\u503C\u4E4B\u95F4\u7684\u504F\u5DEE\u5927\u5C0F\u7684\u5E73\u5747\u503C\u3002",a:"\u8BA1\u7B97\u6570\u636E\u4E0E\u6570\u636E\u96C6\u5747\u503C\u4E4B\u95F4\u7684\u504F\u5DEE\u5927\u5C0F\u7684\u5E73\u5747\u503C\u3002",p:[{name:"\u503C1",detail:"\u6837\u672C\u4E2D\u7684\u7B2C\u4E00\u9879\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u6837\u672C\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002"}]},AVERAGE:{d:"\u8FD4\u56DE\u6570\u636E\u96C6\u7684\u7B97\u672F\u5E73\u5747\u503C\uFF0C\u5BF9\u6587\u672C\u5FFD\u7565\u4E0D\u8BA1\u3002",a:"\u8FD4\u56DE\u6570\u636E\u96C6\u7684\u7B97\u672F\u5E73\u5747\u503C",p:[{name:"\u503C1",detail:"\u8BA1\u7B97\u5E73\u5747\u503C\u65F6\u7528\u5230\u7684\u7B2C\u4E00\u4E2A\u6570\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u5728\u8BA1\u7B97\u5E73\u5747\u503C\u65F6\u8981\u8003\u8651\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002"}]},AVERAGEA:{d:"\u8FD4\u56DE\u6570\u636E\u96C6\u7684\u7B97\u672F\u5E73\u5747\u503C\u3002",a:"\u8FD4\u56DE\u6570\u636E\u96C6\u7684\u7B97\u672F\u5E73\u5747\u503C\u3002",p:[{name:"\u503C1",detail:"\u8BA1\u7B97\u5E73\u5747\u503C\u65F6\u7528\u5230\u7684\u7B2C\u4E00\u4E2A\u6570\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u5728\u8BA1\u7B97\u5E73\u5747\u503C\u65F6\u8981\u8003\u8651\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002"}]},BINOM_DIST:{d:"\u8FD4\u56DE\u4E00\u5143\u4E8C\u9879\u5F0F\u5206\u5E03\u7684\u6982\u7387\u3002",a:"\u8FD4\u56DE\u4E00\u5143\u4E8C\u9879\u5F0F\u5206\u5E03\u7684\u6982\u7387\u3002",p:[{name:"number_s",detail:"\u8BD5\u9A8C\u7684\u6210\u529F\u6B21\u6570\u3002"},{name:"trials",detail:"\u72EC\u7ACB\u68C0\u9A8C\u7684\u6B21\u6570\u3002"},{name:"probability_s",detail:"\u4EFB\u4E00\u7ED9\u5B9A\u68C0\u9A8C\u7684\u6210\u529F\u6982\u7387\u3002"},{name:"cumulative",detail:"\u662F\u5426\u4F7F\u7528\u4E8C\u9879\u5F0F\u7D2F\u79EF\u5206\u5E03\u3002"}]},BINOM_INV:{d:"\u8BA1\u7B97\u7D2F\u79EF\u4E8C\u9879\u5F0F\u5206\u5E03\u5927\u4E8E\u6216\u7B49\u4E8E\u6307\u5B9A\u6761\u4EF6\u7684\u6700\u5C0F\u503C\u3002",a:"\u8BA1\u7B97\u7D2F\u79EF\u4E8C\u9879\u5F0F\u5206\u5E03\u5927\u4E8E\u6216\u7B49\u4E8E\u6307\u5B9A\u6761\u4EF6\u7684\u6700\u5C0F\u503C\u3002",p:[{name:"trials",detail:"\u8D1D\u52AA\u5229\u8BD5\u9A8C\u6B21\u6570\u3002"},{name:"probability_s",detail:"\u4EFB\u4E00\u6B21\u7ED9\u5B9A\u68C0\u9A8C\u7684\u6210\u529F\u6982\u7387\u3002"},{name:"alpha",detail:"\u671F\u671B\u7684\u4E34\u754C\u6982\u7387\u3002"}]},CONFIDENCE_NORM:{d:"\u8BA1\u7B97\u6B63\u6001\u5206\u5E03\u7684\u7F6E\u4FE1\u533A\u95F4\u7684\u4E00\u534A\u5BBD\u5EA6\u3002",a:"\u8BA1\u7B97\u6B63\u6001\u5206\u5E03\u7684\u7F6E\u4FE1\u533A\u95F4\u7684\u4E00\u534A\u5BBD\u5EA6\u3002",p:[{name:"alpha",detail:`\u7528\u6765\u8BA1\u7B97\u7F6E\u4FE1\u6C34\u5E73\u7684\u663E\u8457\u6027\u6C34\u5E73\u3002
  55. \u7F6E\u4FE1\u6C34\u5E73\u7B49\u4E8E 100*(1 - alpha)%\uFF0C\u4EA6\u5373\uFF0C\u5982\u679C alpha \u4E3A 0.05\uFF0C\u5219\u7F6E\u4FE1\u6C34\u5E73\u4E3A 95%\u3002`},{name:"standard_dev",detail:"\u6570\u636E\u533A\u57DF\u7684\u603B\u4F53\u6807\u51C6\u504F\u5DEE\u3002"},{name:"size",detail:"\u6837\u672C\u603B\u91CF\u7684\u5927\u5C0F\u3002"}]},CORREL:{d:"\u8BA1\u7B97\u7ED9\u5B9A\u6570\u636E\u96C6\u7684\u76AE\u5C14\u900A\u79EF\u77E9\u76F8\u5173\u7CFB\u6570 r\u3002",a:"\u8BA1\u7B97\u7ED9\u5B9A\u6570\u636E\u96C6\u7684\u76AE\u5C14\u900A\u79EF\u77E9\u76F8\u5173\u7CFB\u6570 r\u3002",p:[{name:"\u6570\u636E_y",detail:"\u4EE3\u8868\u56E0\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002"},{name:"\u6570\u636E_x",detail:"\u4EE3\u8868\u81EA\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002"}]},COVARIANCE_P:{d:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u603B\u4F53\u534F\u65B9\u5DEE\u3002",a:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u603B\u4F53\u534F\u65B9\u5DEE\u3002",p:[{name:"\u6570\u636E_x",detail:"\u4EE3\u8868\u81EA\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002"},{name:"\u6570\u636E_y",detail:"\u4EE3\u8868\u56E0\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002"}]},COVARIANCE_S:{d:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u6837\u672C\u534F\u65B9\u5DEE\u3002",a:"\u8BA1\u7B97\u6570\u636E\u96C6\u7684\u6837\u672C\u534F\u65B9\u5DEE\u3002",p:[{name:"\u6570\u636E_x",detail:"\u4EE3\u8868\u81EA\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002"},{name:"\u6570\u636E_y",detail:"\u4EE3\u8868\u56E0\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002"}]},DEVSQ:{d:"\u57FA\u4E8E\u6837\u672C\u8BA1\u7B97\u5176\u504F\u5DEE\u7684\u5E73\u65B9\u548C\u3002",a:"\u57FA\u4E8E\u6837\u672C\u8BA1\u7B97\u5176\u504F\u5DEE\u7684\u5E73\u65B9\u548C\u3002",p:[{name:"\u503C1",detail:"\u6837\u672C\u4E2D\u7684\u7B2C\u4E00\u9879\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u6837\u672C\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002"}]},EXPON_DIST:{d:"\u8FD4\u56DE\u5E26\u6709\u6307\u5B9A Lambda \u548C\u6307\u5B9A\u503C\u7684\u6307\u6570\u5206\u5E03\u51FD\u6570\u7684\u503C\u3002",a:"\u8FD4\u56DE\u5E26\u6709\u6307\u5B9A Lambda \u548C\u6307\u5B9A\u503C\u7684\u6307\u6570\u5206\u5E03\u51FD\u6570\u7684\u503C\u3002",p:[{name:"x",detail:"\u6307\u6570\u5206\u5E03\u51FD\u6570\u7684\u8F93\u5165\u503C\u3002"},{name:"lambda",detail:"\u7528\u4E8E\u6307\u5B9A\u6307\u6570\u5206\u5E03\u51FD\u6570\u7684 lambda \u503C\u3002"},{name:"cumulative",detail:"\u662F\u5426\u4F7F\u7528\u6307\u6570\u7D2F\u79EF\u5206\u5E03\u3002"}]},AVERAGEIF:{d:"\u6839\u636E\u6761\u4EF6\u8FD4\u56DE\u8303\u56F4\u7684\u5E73\u5747\u503C\u3002",a:"\u6839\u636E\u6761\u4EF6\u8FD4\u56DE\u8303\u56F4\u7684\u5E73\u5747\u503C\u3002",p:[{name:"criteria_range",detail:"\u8981\u5BF9\u5176\u68C0\u67E5 criterion \u7684\u8303\u56F4\u3002"},{name:"criterion",detail:`\u8981\u5E94\u7528\u4E8E criteria_range \u7684\u6A21\u5F0F\u6216\u6D4B\u8BD5\u6761\u4EF6\u3002
  56. \u7B49\u4E8E\uFF1A"\u6587\u672C" \u6216 1 \u6216 "=\u6587\u672C" \u6216 "=1"
  57. \u5927\u4E8E\uFF1A">1"
  58. \u5927\u4E8E\u7B49\u4E8E\uFF1A">=1"
  59. \u5C0F\u4E8E\uFF1A"<1"
  60. \u5C0F\u4E8E\u7B49\u4E8E\uFF1A"<=1"
  61. \u4E0D\u7B49\u4E8E\uFF1A"<>1"\u6216"<>\u6587\u672C"`},{name:"average_range",detail:"[\u53EF\u9009] - \u8981\u8BA1\u7B97\u5E73\u5747\u503C\u7684\u8303\u56F4\u3002\u5982\u679C\u672A\u63D0\u4F9B\u6B64\u53C2\u6570\uFF0C\u5219\u6539\u7528 criteria_range \u6765\u8BA1\u7B97\u5E73\u5747\u503C\u3002"}]},AVERAGEIFS:{d:"\u6839\u636E\u591A\u9879\u6761\u4EF6\u8FD4\u56DE\u8303\u56F4\u7684\u5E73\u5747\u503C\u3002",a:"\u6839\u636E\u591A\u9879\u6761\u4EF6\u8FD4\u56DE\u8303\u56F4\u7684\u5E73\u5747\u503C\u3002",p:[{name:"average_range",detail:"\u8981\u8BA1\u7B97\u5E73\u5747\u503C\u7684\u8303\u56F4\u3002"},{name:"criteria_range1",detail:"\u8981\u5BF9\u5176\u68C0\u67E5 criterion1 \u7684\u8303\u56F4\u3002"},{name:"criterion1",detail:"\u8981\u5E94\u7528\u4E8E criteria_range1 \u7684\u6A21\u5F0F\u6216\u6D4B\u8BD5\u6761\u4EF6\u3002"},{name:"criteria_range2, criterion2, ...",detail:"[\u53EF\u9009] - \u8981\u68C0\u67E5\u7684\u5176\u4ED6\u8303\u56F4\u548C\u6761\u4EF6\u3002"}]},PERMUT:{d:"\u8FD4\u56DE\u53EF\u4ECE\u6570\u5B57\u5BF9\u8C61\u4E2D\u9009\u62E9\u7684\u7ED9\u5B9A\u6570\u76EE\u5BF9\u8C61\u7684\u6392\u5217\u6570\u3002",a:"\u8FD4\u56DE\u53EF\u4ECE\u6570\u5B57\u5BF9\u8C61\u4E2D\u9009\u62E9\u7684\u7ED9\u5B9A\u6570\u76EE\u5BF9\u8C61\u7684\u6392\u5217\u6570\u3002",p:[{name:"number",detail:"\u8868\u793A\u5BF9\u8C61\u4E2A\u6570\u7684\u6574\u6570\u3002"},{name:"number_chosen",detail:"\u8868\u793A\u6BCF\u4E2A\u6392\u5217\u4E2D\u5BF9\u8C61\u4E2A\u6570\u7684\u6574\u6570\u3002"}]},TRIMMEAN:{d:"\u5728\u6392\u9664\u6570\u636E\u96C6\u9AD8\u4F4E\u4E24\u7AEF\u7684\u90E8\u5206\u6570\u636E\u4E4B\u540E\u8BA1\u7B97\u6240\u5F97\u7684\u5747\u503C\u3002",a:"\u5728\u6392\u9664\u6570\u636E\u96C6\u9AD8\u4F4E\u4E24\u7AEF\u7684\u90E8\u5206\u6570\u636E\u4E4B\u540E\u8BA1\u7B97\u6240\u5F97\u7684\u5747\u503C\u3002",p:[{name:"\u6570\u636E",detail:"\u5305\u542B\u76F8\u5173\u6570\u636E\u96C6\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002"},{name:"\u6392\u9664\u6BD4\u4F8B",detail:`\u8981\u4ECE\u6570\u636E\u96C6\u7684\u6781\u503C\u90E8\u5206\u6392\u9664\u7684\u6570\u636E\u5360\u6570\u636E\u96C6\u7684\u6BD4\u4F8B\u3002
  62. \u6392\u9664\u6BD4\u4F8B\u5FC5\u987B\u5927\u4E8E\u7B49\u4E8E0\u4E14\u5C0F\u4E8E1\u3002`}]},PERCENTILE_EXC:{d:"\u8FD4\u56DE\u6570\u7EC4\u7684 K \u767E\u5206\u70B9\u503C\uFF0CK \u4ECB\u4E8E 0 \u5230 1 \u4E4B\u95F4\uFF0C\u4E0D\u542B 0 \u4E0E 1\u3002",a:"\u8FD4\u56DE\u6570\u7EC4\u7684 K \u767E\u5206\u70B9\u503C\uFF0CK \u4ECB\u4E8E 0 \u5230 1 \u4E4B\u95F4\uFF0C\u4E0D\u542B 0 \u4E0E 1\u3002",p:[{name:"array",detail:"\u5B9A\u4E49\u76F8\u5BF9\u4F4D\u7F6E\u7684\u6570\u7EC4\u6216\u6570\u636E\u533A\u57DF\u3002"},{name:"k",detail:"0 \u5230 1 \u4E4B\u95F4\u7684\u767E\u5206\u70B9\u503C\uFF0C\u4E0D\u5305\u542B 0 \u548C 1\u3002"}]},PERCENTILE_INC:{d:"\u8FD4\u56DE\u6570\u7EC4\u7684 K \u767E\u5206\u70B9\u503C\uFF0CK \u4ECB\u4E8E 0 \u5230 1 \u4E4B\u95F4\uFF0C\u5305\u542B 0 \u4E0E 1\u3002",a:"\u8FD4\u56DE\u6570\u7EC4\u7684 K \u767E\u5206\u70B9\u503C\uFF0CK \u4ECB\u4E8E 0 \u5230 1 \u4E4B\u95F4\uFF0C\u5305\u542B 0 \u4E0E 1\u3002",p:[{name:"array",detail:"\u5B9A\u4E49\u76F8\u5BF9\u4F4D\u7F6E\u7684\u6570\u7EC4\u6216\u6570\u636E\u533A\u57DF\u3002"},{name:"k",detail:"0 \u5230 1 \u4E4B\u95F4\u7684\u767E\u5206\u70B9\u503C\uFF0C\u5305\u542B 0 \u548C 1\u3002"}]},PEARSON:{d:"\u8FD4\u56DE\u76AE\u5C14\u751F(Pearson)\u4E58\u79EF\u77E9\u76F8\u5173\u7CFB\u6570 r\u3002",a:"\u8FD4\u56DE\u76AE\u5C14\u751F(Pearson)\u4E58\u79EF\u77E9\u76F8\u5173\u7CFB\u6570 r\u3002",p:[{name:"\u6570\u636E_x",detail:"\u4EE3\u8868\u81EA\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002"},{name:"\u6570\u636E_y",detail:"\u4EE3\u8868\u56E0\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002"}]},NORM_S_INV:{d:"\u8FD4\u56DE\u6807\u51C6\u6B63\u6001\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\u7684\u53CD\u51FD\u6570\u503C\u3002 \u8BE5\u5206\u5E03\u7684\u5E73\u5747\u503C\u4E3A 0\uFF0C\u6807\u51C6\u504F\u5DEE\u4E3A 1\u3002",a:"\u8FD4\u56DE\u6807\u51C6\u6B63\u6001\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\u7684\u53CD\u51FD\u6570\u503C\u3002 \u8BE5\u5206\u5E03\u7684\u5E73\u5747\u503C\u4E3A 0\uFF0C\u6807\u51C6\u504F\u5DEE\u4E3A 1\u3002",p:[{name:"probability",detail:"\u5BF9\u5E94\u4E8E\u6B63\u6001\u5206\u5E03\u7684\u6982\u7387\u3002"}]},NORM_S_DIST:{d:"\u8FD4\u56DE\u6807\u51C6\u6B63\u6001\u5206\u5E03\u51FD\u6570\uFF08\u8BE5\u5206\u5E03\u7684\u5E73\u5747\u503C\u4E3A 0\uFF0C\u6807\u51C6\u504F\u5DEE\u4E3A 1\uFF09\u3002",a:"\u8FD4\u56DE\u6807\u51C6\u6B63\u6001\u5206\u5E03\u51FD\u6570\uFF08\u8BE5\u5206\u5E03\u7684\u5E73\u5747\u503C\u4E3A 0\uFF0C\u6807\u51C6\u504F\u5DEE\u4E3A 1\uFF09\u3002",p:[{name:"z",detail:"\u9700\u8981\u8BA1\u7B97\u5176\u5206\u5E03\u7684\u6570\u503C\u3002"},{name:"cumulative",detail:`\u51B3\u5B9A\u51FD\u6570\u5F62\u5F0F\u7684\u903B\u8F91\u503C\u3002
  63. \u5982\u679C\u4E3A TRUE()\uFF0C\u5219\u8FD4\u56DE\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\uFF1B
  64. \u5982\u679C\u4E3A FALSE()\uFF0C\u5219\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6570\u3002`}]},NORM_INV:{d:"\u8FD4\u56DE\u6307\u5B9A\u5E73\u5747\u503C\u548C\u6807\u51C6\u504F\u5DEE\u7684\u6B63\u6001\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\u7684\u53CD\u51FD\u6570\u503C\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u5E73\u5747\u503C\u548C\u6807\u51C6\u504F\u5DEE\u7684\u6B63\u6001\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\u7684\u53CD\u51FD\u6570\u503C\u3002",p:[{name:"probability",detail:"\u5BF9\u5E94\u4E8E\u6B63\u6001\u5206\u5E03\u7684\u6982\u7387\u3002"},{name:"mean",detail:"\u5206\u5E03\u7684\u7B97\u672F\u5E73\u5747\u503C\u3002"},{name:"standard_dev",detail:"\u5206\u5E03\u7684\u6807\u51C6\u504F\u5DEE\u3002"}]},NORM_DIST:{d:"\u8FD4\u56DE\u6307\u5B9A\u5E73\u5747\u503C\u548C\u6807\u51C6\u504F\u5DEE\u7684\u6B63\u6001\u5206\u5E03\u51FD\u6570\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u5E73\u5747\u503C\u548C\u6807\u51C6\u504F\u5DEE\u7684\u6B63\u6001\u5206\u5E03\u51FD\u6570\u3002",p:[{name:"x",detail:"\u9700\u8981\u8BA1\u7B97\u5176\u5206\u5E03\u7684\u6570\u503C\u3002"},{name:"mean",detail:"\u5206\u5E03\u7684\u7B97\u672F\u5E73\u5747\u503C\u3002"},{name:"standard_dev",detail:"\u5206\u5E03\u7684\u6807\u51C6\u504F\u5DEE\u3002"},{name:"cumulative",detail:`\u51B3\u5B9A\u51FD\u6570\u5F62\u5F0F\u7684\u903B\u8F91\u503C\u3002
  65. \u5982\u679C\u4E3A TRUE()\uFF0C\u5219\u8FD4\u56DE\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\uFF1B
  66. \u5982\u679C\u4E3A FALSE()\uFF0C\u5219\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6570\u3002`}]},NEGBINOM_DIST:{d:"\u8FD4\u56DE\u8D1F\u4E8C\u9879\u5F0F\u5206\u5E03\u3002",a:"\u8FD4\u56DE\u8D1F\u4E8C\u9879\u5F0F\u5206\u5E03\u3002",p:[{name:"number_f",detail:"\u8981\u6A21\u62DF\u7684\u5931\u8D25\u6B21\u6570\u3002"},{name:"number_s",detail:"\u8981\u6A21\u62DF\u7684\u6210\u529F\u6B21\u6570\u3002"},{name:"probability_s",detail:"\u4EFB\u4E00\u6B21\u7ED9\u5B9A\u68C0\u9A8C\u7684\u6210\u529F\u6982\u7387\u3002"},{name:"cumulative",detail:`\u51B3\u5B9A\u51FD\u6570\u5F62\u5F0F\u7684\u903B\u8F91\u503C\u3002
  67. \u5982\u679C\u4E3A TRUE()\uFF0C\u5219\u8FD4\u56DE\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\uFF1B
  68. \u5982\u679C\u4E3A FALSE()\uFF0C\u5219\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6570\u3002`}]},MINA:{d:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u7684\u6700\u5C0F\u6570\u503C\u3002",a:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u7684\u6700\u5C0F\u6570\u503C\u3002",p:[{name:"\u503C1",detail:"\u8BA1\u7B97\u6700\u5C0F\u503C\u65F6\u6240\u7528\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2",detail:"[\u53EF\u9009] - \u5728\u8BA1\u7B97\u6700\u5C0F\u503C\u65F6\u8981\u8003\u8651\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002"}]},MIN:{d:"\u8FD4\u56DE\u6570\u503C\u6570\u636E\u96C6\u4E2D\u7684\u6700\u5C0F\u503C\u3002",a:"\u8FD4\u56DE\u6570\u503C\u6570\u636E\u96C6\u4E2D\u7684\u6700\u5C0F\u503C\u3002",p:[{name:"\u503C1",detail:"\u8BA1\u7B97\u6700\u5C0F\u503C\u65F6\u6240\u7528\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2",detail:"[\u53EF\u9009] - \u5728\u8BA1\u7B97\u6700\u5C0F\u503C\u65F6\u8981\u8003\u8651\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002"}]},MEDIAN:{d:"\u8FD4\u56DE\u6570\u503C\u6570\u636E\u96C6\u4E2D\u7684\u4E2D\u503C\u3002",a:"\u8FD4\u56DE\u6570\u503C\u6570\u636E\u96C6\u4E2D\u7684\u4E2D\u503C\u3002",p:[{name:"\u503C1",detail:"\u8BA1\u7B97\u4E2D\u503C\u65F6\u6240\u7528\u7684\u7B2C\u4E00\u4E2A\u6570\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2",detail:"[\u53EF\u9009] - \u5728\u8BA1\u7B97\u4E2D\u503C\u65F6\u8981\u8003\u8651\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002"}]},MAXA:{d:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u7684\u6700\u5927\u6570\u503C\u3002",a:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u7684\u6700\u5927\u6570\u503C\u3002",p:[{name:"\u503C1",detail:"\u8BA1\u7B97\u6700\u5927\u503C\u65F6\u6240\u7528\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u5728\u8BA1\u7B97\u6700\u5927\u503C\u65F6\u8981\u8003\u8651\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002"}]},MAX:{d:"\u8FD4\u56DE\u6570\u503C\u6570\u636E\u96C6\u4E2D\u7684\u6700\u5927\u503C\u3002",a:"\u8FD4\u56DE\u6570\u503C\u6570\u636E\u96C6\u4E2D\u7684\u6700\u5927\u503C\u3002",p:[{name:"\u503C1",detail:"\u8BA1\u7B97\u6700\u5927\u503C\u65F6\u6240\u7528\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2",detail:"[\u53EF\u9009] - \u5728\u8BA1\u7B97\u6700\u5927\u503C\u65F6\u8981\u8003\u8651\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002"}]},LOGNORM_INV:{d:"\u8FD4\u56DE x \u7684\u5BF9\u6570\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\u7684\u53CD\u51FD\u6570\u503C\u3002",a:"\u8FD4\u56DE x \u7684\u5BF9\u6570\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\u7684\u53CD\u51FD\u6570\u503C\u3002",p:[{name:"probability",detail:"\u4E0E\u5BF9\u6570\u5206\u5E03\u76F8\u5173\u7684\u6982\u7387\uFF0C\u4ECB\u4E8E 0 \u4E0E 1 \u4E4B\u95F4\uFF08\u4E0D\u542B 0 \u4E0E 1\uFF09\u3002"},{name:"mean",detail:"ln(x) \u7684\u5E73\u5747\u503C\u3002"},{name:"standard_dev",detail:"ln(x) \u7684\u6807\u51C6\u504F\u5DEE\uFF0C\u6B63\u6570\u3002"}]},LOGNORM_DIST:{d:"\u8FD4\u56DE x \u7684\u5BF9\u6570\u5206\u5E03\u51FD\u6570\u3002",a:"\u8FD4\u56DE x \u7684\u5BF9\u6570\u5206\u5E03\u51FD\u6570\u3002",p:[{name:"x",detail:"\u7528\u6765\u8BA1\u7B97\u51FD\u6570\u7684\u503C\u3002"},{name:"mean",detail:"ln(x) \u7684\u5E73\u5747\u503C\u3002"},{name:"standard_dev",detail:"ln(x) \u7684\u6807\u51C6\u504F\u5DEE\uFF0C\u6B63\u6570\u3002"},{name:"cumulative",detail:`\u51B3\u5B9A\u51FD\u6570\u5F62\u5F0F\u7684\u903B\u8F91\u503C\u3002
  69. \u5982\u679C\u4E3A TRUE()\uFF0C\u5219\u8FD4\u56DE\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\uFF1B
  70. \u5982\u679C\u4E3A FALSE()\uFF0C\u5219\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6570\u3002`}]},Z_TEST:{d:"\u8FD4\u56DE z \u68C0\u9A8C\u7684\u5355\u5C3E P \u503C\u3002",a:"\u8FD4\u56DE z \u68C0\u9A8C\u7684\u5355\u5C3E P \u503C\u3002",p:[{name:"array",detail:"\u7528\u6765\u68C0\u9A8C x \u7684\u6570\u7EC4\u6216\u6570\u636E\u533A\u57DF\u3002"},{name:"x",detail:"\u8981\u6D4B\u8BD5\u7684\u503C\u3002"},{name:"sigma",detail:"[\u53EF\u9009] - \u603B\u4F53\uFF08\u5DF2\u77E5\uFF09\u6807\u51C6\u504F\u5DEE\u3002 \u5982\u679C\u7701\u7565\uFF0C\u5219\u4F7F\u7528\u6837\u672C\u6807\u51C6\u504F\u5DEE\u3002"}]},PROB:{d:"\u8FD4\u56DE\u533A\u57DF\u4E2D\u7684\u6570\u503C\u843D\u5728\u6307\u5B9A\u533A\u95F4\u5185\u7684\u6982\u7387\u3002",a:"\u8FD4\u56DE\u533A\u57DF\u4E2D\u7684\u6570\u503C\u843D\u5728\u6307\u5B9A\u533A\u95F4\u5185\u7684\u6982\u7387\u3002",p:[{name:"x_range",detail:"\u5177\u6709\u5404\u81EA\u76F8\u5E94\u6982\u7387\u503C\u7684 x \u6570\u503C\u533A\u57DF\u3002"},{name:"prob_range",detail:"\u4E0E x_range \u4E2D\u7684\u503C\u76F8\u5173\u8054\u7684\u4E00\u7EC4\u6982\u7387\u503C\u3002"},{name:"lower_limit",detail:"\u8981\u8BA1\u7B97\u5176\u6982\u7387\u7684\u6570\u503C\u4E0B\u754C\u3002"},{name:"upper_limit",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A\u4E0B\u754C] - \u8981\u8BA1\u7B97\u5176\u6982\u7387\u7684\u53EF\u9009\u6570\u503C\u4E0A\u754C\u3002
  71. \u5982\u679C\u7701\u7565\u4E0A\u754C\uFF0CPROB\u5219\u8BA1\u7B97\u968F\u673A\u9009\u53D6\u76F8\u5E94\u503C\u7684\u6B21\u6570\u6070\u597D\u7B49\u4E8E\u4E0B\u754C\u7684\u6982\u7387\u3002`}]},QUARTILE_EXC:{d:"\u57FA\u4E8E 0 \u5230 1 \u4E4B\u95F4\uFF08\u4E0D\u5305\u62EC 0 \u548C 1\uFF09\u7684\u767E\u5206\u70B9\u503C\u8FD4\u56DE\u6570\u636E\u96C6\u7684\u56DB\u5206\u4F4D\u6570\u3002",a:"\u57FA\u4E8E 0 \u5230 1 \u4E4B\u95F4\uFF08\u4E0D\u5305\u62EC 0 \u548C 1\uFF09\u7684\u767E\u5206\u70B9\u503C\u8FD4\u56DE\u6570\u636E\u96C6\u7684\u56DB\u5206\u4F4D\u6570\u3002",p:[{name:"array",detail:"\u8981\u6C42\u5F97\u56DB\u5206\u4F4D\u6570\u503C\u7684\u6570\u7EC4\u6216\u6570\u5B57\u578B\u5355\u5143\u683C\u533A\u57DF\u3002"},{name:"quart",detail:`\u8981\u8FD4\u56DE\u7B2C\u51E0\u4E2A\u56DB\u5206\u4F4D\u503C\u3002
  72. 1\u8FD4\u56DE\u6570\u636E\u4E2D\u6700\u9760\u8FD1\u7B2C\u4E00\u4E2A\u56DB\u5206\u4F4D\u503C\u7684\u503C\uFF0825%\u6807\u8BB0\uFF09\u3002
  73. 2\u8FD4\u56DE\u6570\u636E\u4E2D\u6700\u63A5\u8FD1\u4E2D\u503C\u7684\u503C\uFF0850%\u6807\u8BB0\uFF09\u3002
  74. 3\u8FD4\u56DE\u6570\u636E\u4E2D\u6700\u63A5\u8FD1\u7B2C\u4E09\u4E2A\u56DB\u5206\u4F4D\u503C\u7684\u503C\uFF0875%\u6807\u8BB0\uFF09\u3002`}]},QUARTILE_INC:{d:"\u6839\u636E 0 \u5230 1 \u4E4B\u95F4\u7684\u767E\u5206\u70B9\u503C\uFF08\u5305\u542B 0 \u548C 1\uFF09\u8FD4\u56DE\u6570\u636E\u96C6\u7684\u56DB\u5206\u4F4D\u6570\u3002",a:"\u6839\u636E 0 \u5230 1 \u4E4B\u95F4\u7684\u767E\u5206\u70B9\u503C\uFF08\u5305\u542B 0 \u548C 1\uFF09\u8FD4\u56DE\u6570\u636E\u96C6\u7684\u56DB\u5206\u4F4D\u6570\u3002",p:[{name:"array",detail:"\u8981\u6C42\u5F97\u56DB\u5206\u4F4D\u6570\u503C\u7684\u6570\u7EC4\u6216\u6570\u5B57\u578B\u5355\u5143\u683C\u533A\u57DF\u3002"},{name:"quart",detail:`\u8981\u8FD4\u56DE\u7B2C\u51E0\u4E2A\u56DB\u5206\u4F4D\u503C\u3002
  75. 0\u8FD4\u56DE\u6570\u636E\u4E2D\u7684\u6700\u5C0F\u503C\uFF080%\u6807\u8BB0\uFF09\u3002
  76. 1\u8FD4\u56DE\u6570\u636E\u4E2D\u6700\u9760\u8FD1\u7B2C\u4E00\u4E2A\u56DB\u5206\u4F4D\u503C\u7684\u503C\uFF0825%\u6807\u8BB0\uFF09\u3002
  77. 2\u8FD4\u56DE\u6570\u636E\u4E2D\u6700\u63A5\u8FD1\u4E2D\u503C\u7684\u503C\uFF0850%\u6807\u8BB0\uFF09\u3002
  78. 3\u8FD4\u56DE\u6570\u636E\u4E2D\u6700\u63A5\u8FD1\u7B2C\u4E09\u4E2A\u56DB\u5206\u4F4D\u503C\u7684\u503C\uFF0875%\u6807\u8BB0\uFF09\u3002
  79. 4\u8FD4\u56DE\u6570\u636E\u4E2D\u7684\u6700\u5927\u503C\uFF08100%\u6807\u8BB0\uFF09\u3002`}]},POISSON_DIST:{d:"\u8FD4\u56DE\u6CCA\u677E\u5206\u5E03\u3002",a:"\u8FD4\u56DE\u6CCA\u677E\u5206\u5E03\u3002",p:[{name:"x",detail:"\u4E8B\u4EF6\u6570\u3002"},{name:"mean",detail:"\u671F\u671B\u503C\u3002\u975E\u8D1F\u6570"},{name:"cumulative",detail:`\u4E00\u903B\u8F91\u503C\uFF0C\u786E\u5B9A\u6240\u8FD4\u56DE\u7684\u6982\u7387\u5206\u5E03\u7684\u5F62\u5F0F\u3002
  80. \u5982\u679C\u4E3A TRUE()\uFF0C\u5219\u8FD4\u56DE\u53D1\u751F\u7684\u968F\u673A\u4E8B\u4EF6\u6570\u5728\u96F6\uFF08\u542B\u96F6\uFF09\u548C x\uFF08\u542B x\uFF09\u4E4B\u95F4\u7684\u7D2F\u79EF\u6CCA\u677E\u6982\u7387\uFF1B
  81. \u5982\u679C\u4E3A FALSE()\uFF0C\u5219\u8FD4\u56DE\u53D1\u751F\u7684\u4E8B\u4EF6\u6570\u6B63\u597D\u662F x \u7684\u6CCA\u677E\u6982\u7387\u5BC6\u5EA6\u51FD\u6570\u3002`}]},RSQ:{d:"\u8FD4\u56DE\u76AE\u5C14\u751F(Pearson)\u4E58\u79EF\u77E9\u76F8\u5173\u7CFB\u6570 r \u7684\u5E73\u65B9\u3002",a:"\u8FD4\u56DE\u76AE\u5C14\u751F(Pearson)\u4E58\u79EF\u77E9\u76F8\u5173\u7CFB\u6570 r \u7684\u5E73\u65B9\u3002",p:[{name:"\u6570\u636E_y",detail:"\u4EE3\u8868\u56E0\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002"},{name:"\u6570\u636E_x",detail:"\u4EE3\u8868\u81EA\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002"}]},T_DIST:{d:"\u8FD4\u56DE\u5B66\u751F\u7684\u5DE6\u5C3E t \u5206\u5E03\u3002",a:"\u8FD4\u56DE\u5B66\u751F\u7684\u5DE6\u5C3E t \u5206\u5E03\u3002",p:[{name:"x",detail:"T-\u5206\u5E03\u51FD\u6570\u7684\u8F93\u5165\u3002"},{name:"degrees_freedom",detail:"\u81EA\u7531\u5EA6\u6570\u503C\u3002"},{name:"tails",detail:`\u51B3\u5B9A\u51FD\u6570\u5F62\u5F0F\u7684\u903B\u8F91\u503C\u3002
  82. \u5982\u679C cumulative \u4E3A TRUE()\uFF0C\u5219 HYPGEOM.DIST \u8FD4\u56DE\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\uFF1B
  83. \u5982\u679C\u4E3A FALSE()\uFF0C\u5219\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6570\u3002`}]},T_DIST_2T:{d:"\u8FD4\u56DE\u5B66\u751F\u7684\u53CC\u5C3E t \u5206\u5E03\u3002",a:"\u8FD4\u56DE\u5B66\u751F\u7684\u53CC\u5C3E t \u5206\u5E03\u3002",p:[{name:"x",detail:"T-\u5206\u5E03\u51FD\u6570\u7684\u8F93\u5165\u3002"},{name:"degrees_freedom",detail:"\u81EA\u7531\u5EA6\u6570\u503C\u3002"}]},T_DIST_RT:{d:"\u8FD4\u56DE\u5B66\u751F\u7684\u53F3\u5C3E t \u5206\u5E03\u3002",a:"\u8FD4\u56DE\u5B66\u751F\u7684\u53F3\u5C3E t \u5206\u5E03\u3002",p:[{name:"x",detail:"T-\u5206\u5E03\u51FD\u6570\u7684\u8F93\u5165\u3002"},{name:"degrees_freedom",detail:"\u81EA\u7531\u5EA6\u6570\u503C\u3002"}]},T_INV:{d:"\u8FD4\u56DE\u5B66\u751F\u7684 t \u5206\u5E03\u7684\u5DE6\u5C3E\u53CD\u51FD\u6570\u3002",a:"\u8FD4\u56DE\u5B66\u751F\u7684 t \u5206\u5E03\u7684\u5DE6\u5C3E\u53CD\u51FD\u6570\u3002",p:[{name:"probability",detail:`\u4E0E\u5B66\u751F\u7684 t \u5206\u5E03\u76F8\u5173\u7684\u6982\u7387\u3002
  84. \u5FC5\u987B\u5927\u4E8E 0 \u4E14\u5C0F\u4E8E 1\u3002`},{name:"deg_freedom",detail:`\u81EA\u7531\u5EA6\u6570\u503C\u3002
  85. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u53C2\u6570\u4E0D\u662F\u6574\u6570\uFF0C\u5C06\u622A\u53D6\u5176\u6574\u6570\u90E8\u5206\u3002
  86. \u5FC5\u987B\u5927\u4E8E\u7B49\u4E8E 1\u3002`}]},T_INV_2T:{d:"\u8FD4\u56DE\u5B66\u751F t \u5206\u5E03\u7684\u53CC\u5C3E\u53CD\u51FD\u6570\u3002",a:"\u8FD4\u56DE\u5B66\u751F t \u5206\u5E03\u7684\u53CC\u5C3E\u53CD\u51FD\u6570\u3002",p:[{name:"probability",detail:`\u4E0E\u5B66\u751F\u7684 t \u5206\u5E03\u76F8\u5173\u7684\u6982\u7387\u3002
  87. \u5FC5\u987B\u5927\u4E8E 0 \u4E14\u5C0F\u4E8E1\u3002`},{name:"deg_freedom",detail:`\u81EA\u7531\u5EA6\u6570\u503C\u3002
  88. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u53C2\u6570\u4E0D\u662F\u6574\u6570\uFF0C\u5C06\u622A\u53D6\u5176\u6574\u6570\u90E8\u5206\u3002
  89. \u5FC5\u987B\u5927\u4E8E\u7B49\u4E8E 1\u3002`}]},T_TEST:{d:"\u8FD4\u56DE\u4E0Et-\u68C0\u9A8C\u76F8\u5173\u7684\u6982\u7387\u3002\u7528\u4E8E\u5224\u65AD\u4E24\u4E2A\u6837\u672C\u662F\u5426\u53EF\u80FD\u662F\u51FA\u81EA\u5E73\u5747\u503C\u76F8\u540C\u7684\u4E24\u4E2A\u6837\u672C\u603B\u4F53\u3002",a:"\u8FD4\u56DE\u4E0Et-\u68C0\u9A8C\u76F8\u5173\u7684\u6982\u7387\u3002\u7528\u4E8E\u5224\u65AD\u4E24\u4E2A\u6837\u672C\u662F\u5426\u53EF\u80FD\u662F\u51FA\u81EA\u5E73\u5747\u503C\u76F8\u540C\u7684\u4E24\u4E2A\u6837\u672C\u603B\u4F53\u3002",p:[{name:"array1",detail:"\u5C06\u7528\u4E8E t \u68C0\u9A8C\u7684\u7B2C\u4E00\u4E2A\u6570\u636E\u6837\u672C\u6216\u7B2C\u4E00\u7EC4\u5355\u5143\u683C\u3002"},{name:"array2",detail:"\u5C06\u7528\u4E8E t \u68C0\u9A8C\u7684\u7B2C\u4E8C\u4E2A\u6570\u636E\u6837\u672C\u6216\u7B2C\u4E8C\u7EC4\u5355\u5143\u683C\u3002"},{name:"tails",detail:`\u6307\u5B9A\u5206\u5E03\u7684\u5C3E\u6570\u3002
  90. \u5982\u679C\u4E3A 1\uFF1A\u4F7F\u7528\u5355\u5C3E\u5206\u5E03\u3002
  91. \u5982\u679C\u4E3A 2\uFF1A\u4F7F\u7528\u53CC\u5C3E\u5206\u5E03\u3002`},{name:"type",detail:`\u6307\u5B9A t \u68C0\u9A8C\u7684\u7C7B\u578B\u3002
  92. \u5982\u679C\u4E3A 1\uFF1A\u6267\u884C\u914D\u5BF9\u68C0\u9A8C\u3002
  93. \u5982\u679C\u4E3A 2\uFF1A\u6267\u884C\u53CC\u6837\u672C\u7B49\u65B9\u5DEE\uFF08\u540C\u65B9\u5DEE\uFF09\u68C0\u9A8C\u3002
  94. \u5982\u679C\u4E3A3\uFF1A\u6267\u884C\u53CC\u6837\u672C\u4E0D\u7B49\u65B9\u5DEE\uFF08\u5F02\u65B9\u5DEE\uFF09\u68C0\u9A8C\u3002`}]},F_DIST:{d:"\u7ED9\u5B9A\u8F93\u5165\u503C x\uFF0C\u8BA1\u7B97\u4E24\u4E2A\u6570\u636E\u96C6\u7684\u5DE6\u5C3E F \u6982\u7387\u5206\u5E03\uFF08\u5DEE\u5F02\u7A0B\u5EA6\uFF09\u3002\u6B64\u5206\u5E03\u4E5F\u79F0\u4E3A Fisher-Snedecor \u5206\u5E03\u6216 Snedecor F \u5206\u5E03\u3002",a:"\u7ED9\u5B9A\u8F93\u5165\u503C x",p:[{name:"x",detail:"\u7528\u6765\u8BA1\u7B97\u51FD\u6570\u7684\u503C\u3002"},{name:"degrees_freedom1",detail:"\u5206\u5B50\u81EA\u7531\u5EA6\u3002"},{name:"degrees_freedom2",detail:"\u5206\u6BCD\u81EA\u7531\u5EA6\u3002"},{name:"cumulative",detail:`\u7528\u4E8E\u786E\u5B9A\u51FD\u6570\u5F62\u5F0F\u7684\u903B\u8F91\u503C\u3002\u9ED8\u8BA4\u503C\u4E3A FALSE\u3002
  95. \u5982\u679C\u4E3A TRUE()\uFF1AF.DIST \u5C06\u8FD4\u56DE\u7D2F\u79EF\u5206\u5E03\u51FD\u6570\u503C\u3002
  96. \u5982\u679C\u4E3A FALSE()\uFF1AF.DIST \u5C06\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6570\u503C\u3002`}]},F_DIST_RT:{d:"\u7ED9\u5B9A\u8F93\u5165x\uFF0C\u8BA1\u7B97\u4E24\u4E2A\u6570\u636E\u96C6\u7684\u53F3\u5C3EF\u6982\u7387\u5206\u5E03\uFF08\u5DEE\u5F02\u7A0B\u5EA6\uFF09\u3002 \u6B64\u5206\u5E03\u4E5F\u79F0\u4E3AFisher-Snedecor\u5206\u5E03\u6216Snedecor F\u5206\u5E03\u3002",a:"\u7ED9\u5B9A\u8F93\u5165x",p:[{name:"x",detail:"\u7528\u6765\u8BA1\u7B97\u51FD\u6570\u7684\u503C\u3002"},{name:"degrees_freedom1",detail:"\u5206\u5B50\u81EA\u7531\u5EA6\u3002"},{name:"degrees_freedom2",detail:"\u5206\u6BCD\u81EA\u7531\u5EA6\u3002"}]},VAR_P:{d:"\u57FA\u4E8E\u6837\u672C\u603B\u4F53\u8BA1\u7B97\u65B9\u5DEE\u3002",a:"\u57FA\u4E8E\u6837\u672C\u603B\u4F53\u8BA1\u7B97\u65B9\u5DEE\u3002",p:[{name:"\u503C1",detail:"\u6570\u636E\u96C6\u4E2D\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2, \u2026",detail:"[\u53EF\u9009] - \u6570\u636E\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002"}]},VAR_S:{d:"\u57FA\u4E8E\u6837\u672C\u8BA1\u7B97\u65B9\u5DEE\u3002",a:"\u57FA\u4E8E\u6837\u672C\u8BA1\u7B97\u65B9\u5DEE\u3002",p:[{name:"\u503C1",detail:"\u6837\u672C\u4E2D\u7684\u7B2C\u4E00\u9879\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2, \u2026",detail:"[\u53EF\u9009] - \u6837\u672C\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002"}]},VARA:{d:"\u57FA\u4E8E\u6837\u672C\u8BA1\u7B97\u65B9\u5DEE\uFF0C\u5C06\u6587\u672C\u53D6\u503C\u4E3A0\u3002",a:"\u57FA\u4E8E\u6837\u672C\u8BA1\u7B97\u65B9\u5DEE",p:[{name:"value1",detail:"\u6837\u672C\u4E2D\u7684\u7B2C\u4E00\u9879\u503C\u6216\u8303\u56F4\u3002"},{name:"value2, ...",detail:"[\u53EF\u9009] - \u6837\u672C\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002"}]},VARPA:{d:"\u57FA\u4E8E\u6837\u672C\u603B\u4F53\u8BA1\u7B97\u65B9\u5DEE\uFF0C\u5C06\u6587\u672C\u53D6\u503C\u4E3A0\u3002",a:"\u57FA\u4E8E\u6837\u672C\u603B\u4F53\u8BA1\u7B97\u65B9\u5DEE",p:[{name:"\u503C1",detail:"\u6837\u672C\u4E2D\u7684\u7B2C\u4E00\u9879\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u6570\u636E\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u6570\u503C\u6216\u8303\u56F4\u3002"}]},STEYX:{d:"\u8FD4\u56DE\u901A\u8FC7\u7EBF\u6027\u56DE\u5F52\u6CD5\u9884\u6D4B\u6BCF\u4E2A x \u7684 y \u503C\u65F6\u6240\u4EA7\u751F\u7684\u6807\u51C6\u8BEF\u5DEE\u3002",a:"\u8FD4\u56DE\u901A\u8FC7\u7EBF\u6027\u56DE\u5F52\u6CD5\u9884\u6D4B\u6BCF\u4E2A x \u7684 y \u503C\u65F6\u6240\u4EA7\u751F\u7684\u6807\u51C6\u8BEF\u5DEE\u3002",p:[{name:"\u6570\u636E_y",detail:"\u4EE3\u8868\u56E0\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002"},{name:"\u6570\u636E_x",detail:"\u4EE3\u8868\u81EA\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002"}]},STANDARDIZE:{d:"\u7ED9\u5B9A\u5206\u5E03\u7684\u5747\u503C\u548C\u6807\u51C6\u504F\u5DEE\uFF0C\u8BA1\u7B97\u4E00\u4E2A\u968F\u673A\u53D8\u91CF\u6B63\u6001\u5316\u7684\u76F8\u5E94\u503C\u3002",a:"\u7ED9\u5B9A\u5206\u5E03\u7684\u5747\u503C\u548C\u6807\u51C6\u504F\u5DEE\uFF0C\u8BA1\u7B97\u4E00\u4E2A\u968F\u673A\u53D8\u91CF\u6B63\u6001\u5316\u7684\u76F8\u5E94\u503C\u3002",p:[{name:"x",detail:"\u8981\u6B63\u6001\u5316\u7684\u968F\u673A\u53D8\u91CF\u503C\u3002"},{name:"mean",detail:"\u5206\u5E03\u7684\u5747\u503C\u3002"},{name:"standard_dev",detail:"\u5206\u5E03\u7684\u6807\u51C6\u504F\u5DEE\u3002"}]},SMALL:{d:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u7684\u7B2C k \u4E2A\u6700\u5C0F\u503C\u3002",a:"\u8FD4\u56DE\u6570\u636E\u96C6\u4E2D\u7684\u7B2C k \u4E2A\u6700\u5C0F\u503C\u3002",p:[{name:"array",detail:"\u9700\u8981\u627E\u5230\u7B2C k \u4E2A\u6700\u5C0F\u503C\u7684\u6570\u7EC4\u6216\u6570\u503C\u6570\u636E\u533A\u57DF\u3002"},{name:"k",detail:"\u8981\u8FD4\u56DE\u7684\u6570\u636E\u5728\u6570\u7EC4\u6216\u6570\u636E\u533A\u57DF\u91CC\u7684\u4F4D\u7F6E\uFF08\u4ECE\u5C0F\u5230\u5927\uFF09\u3002"}]},SLOPE:{d:"\u8BA1\u7B97\u901A\u8FC7\u6570\u636E\u96C6\u7684\u7EBF\u6027\u56DE\u5F52\u5F97\u5230\u7684\u76F4\u7EBF\u7684\u659C\u7387\u3002",a:"\u8BA1\u7B97\u901A\u8FC7\u6570\u636E\u96C6\u7684\u7EBF\u6027\u56DE\u5F52\u5F97\u5230\u7684\u76F4\u7EBF\u7684\u659C\u7387\u3002",p:[{name:"\u6570\u636E_y",detail:"\u4EE3\u8868\u56E0\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002"},{name:"\u6570\u636E_x",detail:"\u4EE3\u8868\u81EA\u53D8\u91CF\u6570\u636E\u6570\u7EC4\u6216\u77E9\u9635\u7684\u8303\u56F4\u3002"}]},SKEW:{d:"\u8FD4\u56DE\u5206\u5E03\u7684\u504F\u659C\u5EA6\u3002 \u504F\u659C\u5EA6\u8868\u660E\u5206\u5E03\u76F8\u5BF9\u4E8E\u5E73\u5747\u503C\u7684\u4E0D\u5BF9\u79F0\u7A0B\u5EA6\u3002 \u6B63\u504F\u659C\u5EA6\u8868\u660E\u5206\u5E03\u7684\u4E0D\u5BF9\u79F0\u5C3E\u90E8\u8D8B\u5411\u4E8E\u66F4\u591A\u6B63\u503C\u3002 \u8D1F\u504F\u659C\u5EA6\u8868\u660E\u5206\u5E03\u7684\u4E0D\u5BF9\u79F0\u5C3E\u90E8\u8D8B\u5411\u4E8E\u66F4\u591A\u8D1F\u503C\u3002",a:"\u8FD4\u56DE\u5206\u5E03\u7684\u504F\u659C\u5EA6\u3002",p:[{name:"\u503C1",detail:"\u6570\u636E\u96C6\u4E2D\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u6570\u636E\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002"}]},SKEW_P:{d:"\u8FD4\u56DE\u57FA\u4E8E\u6837\u672C\u603B\u4F53\u7684\u5206\u5E03\u4E0D\u5BF9\u79F0\u5EA6\uFF1A\u8868\u660E\u5206\u5E03\u76F8\u5BF9\u4E8E\u5E73\u5747\u503C\u7684\u4E0D\u5BF9\u79F0\u7A0B\u5EA6\u3002",a:"\u8FD4\u56DE\u57FA\u4E8E\u6837\u672C\u603B\u4F53\u7684\u5206\u5E03\u4E0D\u5BF9\u79F0\u5EA6\uFF1A\u8868\u660E\u5206\u5E03\u76F8\u5BF9\u4E8E\u5E73\u5747\u503C\u7684\u4E0D\u5BF9\u79F0\u7A0B\u5EA6\u3002",p:[{name:"\u503C1",detail:"\u6570\u636E\u96C6\u4E2D\u7684\u7B2C\u4E00\u4E2A\u503C\u6216\u8303\u56F4\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9009] - \u6570\u636E\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u8303\u56F4\u3002"}]},VLOOKUP:{d:"\u7EB5\u5411\u67E5\u627E\u3002\u5728\u8303\u56F4\u7684\u7B2C\u4E00\u5217\u4E2D\u81EA\u4E0A\u800C\u4E0B\u641C\u7D22\u67D0\u4E2A\u952E\u503C\uFF0C\u5E76\u8FD4\u56DE\u6240\u627E\u5230\u7684\u884C\u4E2D\u6307\u5B9A\u5355\u5143\u683C\u7684\u503C\u3002",a:"\u7EB5\u5411\u67E5\u627E\u3002\u5728\u8303\u56F4\u7684\u7B2C\u4E00\u5217\u4E2D\u81EA\u4E0A\u800C\u4E0B\u641C\u7D22\u67D0\u4E2A\u952E\u503C",p:[{name:"\u641C\u7D22\u952E\u503C",detail:'\u8981\u641C\u7D22\u7684\u503C\uFF0C\u5982 42\u3001"Cats" \u6216 I24\u3002'},{name:"\u8303\u56F4",detail:"\u8981\u8FDB\u884C\u641C\u7D22\u7684\u8303\u56F4\u3002VLOOKUP \u5C06\u5728\u8BE5\u8303\u56F4\u7684\u7B2C\u4E00\u5217\u4E2D\u641C\u7D22\u641C\u7D22\u952E\u503C\u4E2D\u6307\u5B9A\u7684\u952E\u503C\u3002"},{name:"\u7D22\u5F15",detail:`\u8981\u8FD4\u56DE\u7684\u503C\u7684\u5217\u7D22\u5F15\uFF0C\u8303\u56F4\u4E2D\u7684\u7B2C\u4E00\u5217\u7F16\u53F7\u4E3A 1\u3002
  97. \u5982\u679C\u7D22\u5F15\u4E0D\u662F\u4ECB\u4E8E 1 \u548C\u8303\u56F4\u4E2D\u7684\u5217\u6570\u4E4B\u95F4\uFF0C\u5C06\u8FD4\u56DE #VALUE! \u3002`},{name:"\u5DF2\u6392\u5E8F",detail:`[\u9ED8\u8BA4\u503C\u4E3A TRUE() ] - \u6307\u793A\u8981\u641C\u7D22\u7684\u5217\uFF08\u6307\u5B9A\u8303\u56F4\u7684\u7B2C\u4E00\u5217\uFF09\u662F\u5426\u5DF2\u6392\u5E8F\u3002\u5927\u591A\u6570\u60C5\u51B5\u4E0B\uFF0C\u5EFA\u8BAE\u8BBE\u4E3A FALSE()\u3002
  98. \u5EFA\u8BAE\u5C06\u5DF2\u6392\u5E8F\u8BBE\u4E3A FALSE\u3002\u5982\u679C\u8BBE\u4E3A FALSE\uFF0C\u5C06\u8FD4\u56DE\u5B8C\u5168\u5339\u914D\u9879\u3002\u5982\u679C\u5B58\u5728\u591A\u4E2A\u5339\u914D\u503C\uFF0C\u5C06\u8FD4\u56DE\u627E\u5230\u7684\u7B2C\u4E00\u4E2A\u503C\u5BF9\u5E94\u7684\u5355\u5143\u683C\u7684\u5185\u5BB9\uFF0C\u5982\u679C\u627E\u4E0D\u5230\u5339\u914D\u503C\uFF0C\u5219\u8FD4\u56DE #N/A\u3002
  99. \u5982\u679C\u5C06\u5DF2\u6392\u5E8F\u8BBE\u4E3A TRUE \u6216\u7701\u7565\uFF0C\u5C06\u8FD4\u56DE\uFF08\u5C0F\u4E8E\u6216\u7B49\u4E8E\u641C\u7D22\u952E\u503C\u7684\uFF09\u6700\u63A5\u8FD1\u7684\u5339\u914D\u9879\u3002\u5982\u679C\u641C\u7D22\u7684\u5217\u4E2D\u6240\u6709\u7684\u503C\u5747\u5927\u4E8E\u641C\u7D22\u952E\u503C\uFF0C\u5219\u8FD4\u56DE #N/A\u3002`}]},HLOOKUP:{d:"\u6A2A\u5411\u67E5\u627E\u3002\u5728\u8303\u56F4\u7684\u7B2C\u4E00\u884C\u4E2D\u641C\u7D22\u67D0\u4E2A\u952E\u503C\uFF0C\u5E76\u8FD4\u56DE\u6240\u627E\u5230\u7684\u5217\u4E2D\u6307\u5B9A\u5355\u5143\u683C\u7684\u503C\u3002",a:"\u6A2A\u5411\u67E5\u627E\u3002\u5728\u8303\u56F4\u7684\u7B2C\u4E00\u884C\u4E2D\u641C\u7D22\u67D0\u4E2A\u952E\u503C",p:[{name:"\u641C\u7D22\u952E\u503C",detail:'\u8981\u641C\u7D22\u7684\u503C\u3002\u4F8B\u5982\uFF0C42\u3001"Cats"\u6216I24\u3002'},{name:"\u8303\u56F4",detail:"\u8981\u8FDB\u884C\u641C\u7D22\u7684\u8303\u56F4\u3002\u5C06\u5728\u8BE5\u8303\u56F4\u7684\u7B2C\u4E00\u884C\u4E2D\u641C\u7D22\u5728\u641C\u7D22\u952E\u503C\u4E2D\u6307\u5B9A\u7684\u952E\u503C\u3002"},{name:"\u7D22\u5F15",detail:`\u8981\u8FD4\u56DE\u7684\u503C\u7684\u884C\u7D22\u5F15\uFF0C\u8303\u56F4\u4E2D\u7684\u7B2C\u4E00\u884C\u7F16\u53F7\u4E3A1\u3002
  100. \u5982\u679C\u7D22\u5F15\u4E0D\u662F\u4ECB\u4E8E1\u548C\u8303\u56F4\u4E2D\u7684\u884C\u6570\u4E4B\u95F4\uFF0C\u5C06\u8FD4\u56DE#VALUE!\u3002`},{name:"\u5DF2\u6392\u5E8F",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3ATRUE()] - \u6307\u793A\u8981\u641C\u7D22\u7684\u884C\uFF08\u6307\u5B9A\u8303\u56F4\u7684\u7B2C\u4E00\u884C\uFF09\u662F\u5426\u5DF2\u6392\u5E8F\u3002
  101. \u5982\u679C\u5C06\u5DF2\u6392\u5E8F\u8BBE\u4E3ATRUE\u6216\u7701\u7565\uFF0C\u5C06\u8FD4\u56DE\u6700\u63A5\u8FD1\u7684\u5339\u914D\u503C\uFF08\u5C0F\u4E8E\u6216\u7B49\u4E8E\u641C\u7D22\u952E\u503C\uFF09\u3002\u5982\u679C\u5728\u641C\u7D22\u7684\u884C\u4E2D\u6240\u6709\u7684\u503C\u5747\u5927\u4E8E\u641C\u7D22\u952E\u503C\uFF0C\u5219\u8FD4\u56DE#N/A\u3002
  102. \u5982\u679C\u5C06\u5DF2\u6392\u5E8F\u8BBE\u4E3ATRUE\u6216\u5C06\u5176\u7701\u7565\uFF0C\u800C\u8303\u56F4\u7684\u9996\u884C\u5E76\u975E\u5904\u4E8E\u5DF2\u6392\u5E8F\u72B6\u6001\uFF0C\u5219\u8FD4\u56DE\u503C\u53EF\u80FD\u4F1A\u662F\u9519\u8BEF\u7684\u3002
  103. \u5982\u679C\u5C06\u5DF2\u6392\u5E8F\u8BBE\u4E3AFALSE\uFF0C\u5219\u4EC5\u8FD4\u56DE\u5B8C\u5168\u5339\u914D\u3002\u5982\u679C\u5B58\u5728\u591A\u4E2A\u5339\u914D\u503C\uFF0C\u5C06\u8FD4\u56DE\u4E0E\u627E\u5230\u7684\u7B2C\u4E00\u4E2A\u503C\u5BF9\u5E94\u7684\u5355\u5143\u683C\u7684\u5185\u5BB9\uFF0C\u5982\u679C\u627E\u4E0D\u5230\u5339\u914D\u503C\u5219\u8FD4\u56DE#N/A\u3002`}]},LOOKUP:{d:"\u5728\u884C\u6216\u5217\u4E2D\u67E5\u627E\u76F8\u5E94\u952E\uFF0C\u5E76\u5C06\u76F8\u5E94\u5355\u5143\u683C\u7684\u503C\u8FD4\u56DE\u5230\u4E0E\u641C\u7D22\u884C\u6216\u5217\u6240\u5728\u4F4D\u7F6E\u76F8\u540C\u7684\u7ED3\u679C\u8303\u56F4\u4E2D\u3002",a:"\u5728\u884C\u6216\u5217\u4E2D\u67E5\u627E\u76F8\u5E94\u952E",p:[{name:"\u641C\u7D22\u952E\u503C",detail:'\u8981\u5728\u884C\u6216\u5217\u4E2D\u641C\u7D22\u7684\u503C\u3002\u4F8B\u5982\uFF0C42\u3001"Cats" \u6216 I24\u3002'},{name:"\u641C\u7D22\u8303\u56F4 | \u641C\u7D22\u7ED3\u679C\u6570\u7EC4",detail:"\u4F7F\u7528 LOOKUP \u7684\u4E00\u79CD\u65B9\u6CD5\u662F\u7ED9\u5B9A\u5355\u884C\u6216\u5355\u5217\u5F62\u5F0F\u7684\u641C\u7D22\u8303\u56F4\u8FDB\u884C\u641C\u7D22\u67E5\u627E\uFF0C\u8FD9\u79CD\u65B9\u5F0F\u8981\u7528\u5230\u53E6\u4E00\u4E2A\u53C2\u6570\u7ED3\u679C\u8303\u56F4\u3002\u53E6\u4E00\u79CD\u65B9\u5F0F\u662F\u5C06\u8FD9\u4E24\u4E2A\u53C2\u6570\u5408\u5E76\u4E3A\u4E00\u4E2A\u641C\u7D22\u7ED3\u679C\u6570\u7EC4\uFF0C\u5176\u4E2D\u7B2C\u4E00\u884C\u6216\u7B2C\u4E00\u5217\u7528\u4E8E\u641C\u7D22\uFF0C\u5E76\u5C06\u8FD4\u56DE\u503C\u653E\u5728\u8BE5\u6570\u7EC4\u7684\u6700\u540E\u4E00\u884C\u6216\u6700\u540E\u4E00\u5217\u4E2D\u3002"},{name:"\u7ED3\u679C\u8303\u56F4",detail:"[ \u53EF\u9009 ] - \u7528\u4E8E\u5B58\u653E\u8FD4\u56DE\u7ED3\u679C\u7684\u8303\u56F4\u3002\u8FD4\u56DE\u503C\u5BF9\u5E94\u4E8E\u5728\u641C\u7D22\u8303\u56F4\u4E2D\u627E\u5230\u641C\u7D22\u952E\u503C\u7684\u4F4D\u7F6E\u3002\u6B64\u8303\u56F4\u5FC5\u987B\u4EC5\u4E3A\u5355\u884C\u6216\u5355\u5217\uFF0C\u800C\u5982\u679C\u60A8\u4F7F\u7528\u7684\u662F\u641C\u7D22\u7ED3\u679C\u6570\u7EC4\u65B9\u5F0F\uFF0C\u5219\u4E0D\u5E94\u63D0\u4F9B\u6B64\u53C2\u6570\u3002"}]},ADDRESS:{d:"\u8FD4\u56DE\u5B57\u7B26\u4E32\u5F62\u5F0F\u7684\u5355\u5143\u683C\u5F15\u7528\u3002",a:"\u8FD4\u56DE\u5B57\u7B26\u4E32\u5F62\u5F0F\u7684\u5355\u5143\u683C\u5F15\u7528\u3002",p:[{name:"row_num",detail:"\u4E00\u4E2A\u6570\u503C\uFF0C\u6307\u5B9A\u8981\u5728\u5355\u5143\u683C\u5F15\u7528\u4E2D\u4F7F\u7528\u7684\u884C\u53F7\u3002"},{name:"column_num",detail:"\u4E00\u4E2A\u6570\u503C\uFF0C\u6307\u5B9A\u8981\u5728\u5355\u5143\u683C\u5F15\u7528\u4E2D\u4F7F\u7528\u7684\u5217\u53F7\uFF08\u800C\u975E\u540D\u79F0\uFF09\u3002A\u5217\u7684\u7F16\u53F7\u4E3A1\u3002"},{name:"abs_num",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A1] - \u4E00\u4E2A\u6570\u503C\uFF0C\u6307\u5B9A\u8981\u8FD4\u56DE\u7684\u5F15\u7528\u7C7B\u578B\u3002
  104. 1 \u8868\u793A\u884C\u5217\u5747\u91C7\u7528\u7EDD\u5BF9\u503C\uFF08\u4F8B\u5982$A$1\uFF09\uFF1B
  105. 2 \u8868\u793A\u91C7\u7528\u7EDD\u5BF9\u884C\u53F7\uFF0C\u76F8\u5BF9\u5217\u6807\uFF08\u4F8B\u5982A$1\uFF09\uFF1B
  106. 3 \u8868\u793A\u91C7\u7528\u76F8\u5BF9\u884C\u53F7\uFF0C\u7EDD\u5BF9\u5217\u6807\uFF08\u4F8B\u5982$A1\uFF09\uFF1B
  107. 4 \u8868\u793A\u884C\u5217\u5747\u91C7\u7528\u76F8\u5BF9\u503C\uFF08\u4F8B\u5982A1\uFF09\u3002`},{name:"A1",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3ATRUE()] - \u4E00\u4E2A\u5E03\u5C14\u503C\uFF0C\u6307\u793A\u91C7\u7528A1\u6807\u8BB0\u5F62\u5F0F(TRUE)\u8FD8\u662FR1C1\u6807\u8BB0\u5F62\u5F0F(FALSE)\u3002"},{name:"sheet_text",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u7F3A\u7701] - \u7528\u4E8E\u6307\u5B9A\u5730\u5740\u6240\u6307\u5411\u7684\u5DE5\u4F5C\u8868\u540D\u79F0\u3002"}]},INDIRECT:{d:"\u8FD4\u56DE\u4EE5\u5B57\u7B26\u4E32\u6307\u5B9A\u7684\u5355\u5143\u683C\u5F15\u7528\u3002",a:"\u8FD4\u56DE\u4EE5\u5B57\u7B26\u4E32\u6307\u5B9A\u7684\u5355\u5143\u683C\u5F15\u7528\u3002",p:[{name:"ref_text",detail:"\u4EE5\u5E26\u5F15\u53F7\u7684\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\u7684\u5355\u5143\u683C\u5F15\u7528\u3002"},{name:"A1",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3ATRUE()] - \u4E00\u4E2A\u5E03\u5C14\u503C\uFF0C\u6307\u793A\u91C7\u7528A1\u6807\u8BB0\u5F62\u5F0F(TRUE)\u8FD8\u662FR1C1\u6807\u8BB0\u5F62\u5F0F(FALSE)\u3002"}]},ROW:{d:"\u8FD4\u56DE\u6307\u5B9A\u5355\u5143\u683C\u7684\u884C\u53F7",a:"\u8FD4\u56DE\u6307\u5B9A\u5355\u5143\u683C\u7684\u884C\u53F7",p:[{name:"reference",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A\u6B64\u516C\u5F0F\u6240\u5728\u7684\u5355\u5143\u683C] - \u8981\u8FD4\u56DE\u5176\u884C\u53F7\u7684\u5355\u5143\u683C\u3002
  108. \u5982\u679C\u5355\u5143\u683C\u5F15\u7528\u6307\u5411\u7684\u8303\u56F4\u5176\u5BBD\u5EA6\u5927\u4E8E\u4E00\u4E2A\u5355\u5143\u683C\uFF0C\u800C\u6B64\u516C\u5F0F\u4E0D\u662F\u7528\u4F5C\u6570\u7EC4\u516C\u5F0F\u7684\uFF0C\u8FD9\u65F6\u4F1A\u4EC5\u8FD4\u56DE\u5355\u5143\u683C\u5F15\u7528\u4E2D\u9996\u884C\u7684\u7F16\u53F7\u503C\u3002`}]},ROWS:{d:"\u8FD4\u56DE\u6307\u5B9A\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u884C\u6570\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u884C\u6570\u3002",p:[{name:"array",detail:"\u8981\u8FD4\u56DE\u5176\u884C\u6570\u7684\u8303\u56F4\u3002"}]},COLUMN:{d:"\u6309\u7167 `A=1` \u7684\u89C4\u5219\u8FD4\u56DE\u6307\u5B9A\u5355\u5143\u683C\u7684\u5217\u53F7\u3002",a:"\u6309\u7167 `A=1` \u7684\u89C4\u5219\u8FD4\u56DE\u6307\u5B9A\u5355\u5143\u683C\u7684\u5217\u53F7\u3002",p:[{name:"reference",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A\u5305\u542B\u6B64\u516C\u5F0F\u7684\u5355\u5143\u683C] - \u8981\u8FD4\u56DE\u5176\u5217\u53F7\u7684\u5355\u5143\u683C\u3002A\u5217\u5BF9\u5E94\u7684\u7F16\u53F7\u4E3A1\u3002
  109. \u5982\u679C\u5355\u5143\u683C\u5F15\u7528\u662F\u5BBD\u5EA6\u8D85\u8FC7\u4E00\u4E2A\u5355\u5143\u683C\u7684\u8303\u56F4\uFF0C\u800C\u6B64\u516C\u5F0F\u4E0D\u662F\u4F5C\u4E3A\u6570\u7EC4\u516C\u5F0F\u6765\u4F7F\u7528\u7684\uFF0C\u56E0\u6B64\u5C06\u8FD4\u56DE\u5355\u5143\u683C\u5F15\u7528\u4E2D\u7684\u7B2C\u4E00\u5217\u7684\u4F4D\u7F6E\u3002`}]},COLUMNS:{d:"\u8FD4\u56DE\u6307\u5B9A\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u5217\u6570\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u5217\u6570\u3002",p:[{name:"array",detail:"\u8981\u8FD4\u56DE\u5176\u5217\u6570\u7684\u8303\u56F4\u3002"}]},OFFSET:{d:"\u7ED9\u5B9A\u67D0\u8303\u56F4\u7684\u8D77\u59CB\u5355\u5143\u683C\u5F15\u7528\u4EE5\u53CA\u8BE5\u8303\u56F4\u6DB5\u76D6\u7684\u884C\u5217\u6570\u91CF\uFF0C\u8FD4\u56DE\u8BE5\u8303\u56F4\u7684\u5F15\u7528\u3002",a:"\u7ED9\u5B9A\u67D0\u8303\u56F4\u7684\u8D77\u59CB\u5355\u5143\u683C\u5F15\u7528\u4EE5\u53CA\u8BE5\u8303\u56F4\u6DB5\u76D6\u7684\u884C\u5217\u6570\u91CF\uFF0C\u8FD4\u56DE\u8BE5\u8303\u56F4\u7684\u5F15\u7528\u3002",p:[{name:"reference",detail:"\u7528\u4E8E\u8BA1\u7B97\u884C\u5217\u504F\u79FB\u91CF\u7684\u8D77\u70B9\u3002"},{name:"rows",detail:`\u8981\u504F\u79FB\u7684\u884C\u6570\u3002
  110. \u884C\u504F\u79FB\u91CF\u5FC5\u987B\u662F\u6574\u6570\uFF0C\u4F46\u4E5F\u53EF\u4EE5\u662F\u8D1F\u6570\u3002\u5982\u679C\u63D0\u4F9B\u7684\u53C2\u6570\u5E26\u6709\u5C0F\u6570\uFF0C\u5C0F\u6570\u90E8\u5206\u5C06\u88AB\u622A\u53BB\u3002`},{name:"cols",detail:`\u8981\u504F\u79FB\u7684\u5217\u6570\u3002
  111. \u5217\u504F\u79FB\u91CF\u5FC5\u987B\u662F\u6574\u6570\uFF0C\u4F46\u4E5F\u53EF\u4EE5\u662F\u8D1F\u6570\u3002\u5982\u679C\u63D0\u4F9B\u7684\u53C2\u6570\u5E26\u6709\u5C0F\u6570\uFF0C\u5C0F\u6570\u90E8\u5206\u5C06\u88AB\u622A\u53BB\u3002`},{name:"height",detail:"[\u53EF\u9009] - \u8981\u4ECE\u504F\u79FB\u76EE\u6807\u5F00\u59CB\u8FD4\u56DE\u7684\u8303\u56F4\u7684\u9AD8\u5EA6\u3002"},{name:"width",detail:"[\u53EF\u9009] - \u8981\u4ECE\u504F\u79FB\u76EE\u6807\u5F00\u59CB\u8FD4\u56DE\u7684\u8303\u56F4\u7684\u5BBD\u5EA6\u3002"}]},MATCH:{d:"\u5728\u5355\u5143\u683C\u4E2D\u641C\u7D22\u6307\u5B9A\u9879\uFF0C\u7136\u540E\u8FD4\u56DE\u8BE5\u9879\u5728\u5355\u5143\u683C\u533A\u57DF\u4E2D\u7684\u76F8\u5BF9\u4F4D\u7F6E\u3002",a:"\u5728\u5355\u5143\u683C\u4E2D\u641C\u7D22\u6307\u5B9A\u9879\uFF0C\u7136\u540E\u8FD4\u56DE\u8BE5\u9879\u5728\u5355\u5143\u683C\u533A\u57DF\u4E2D\u7684\u76F8\u5BF9\u4F4D\u7F6E\u3002",p:[{name:"lookup_value",detail:"\u8981\u5728 lookup_array \u4E2D\u5339\u914D\u7684\u503C\u3002"},{name:"lookup_array",detail:`\u8981\u641C\u7D22\u7684\u5355\u5143\u683C\u533A\u57DF\u3002
  112. \u5982\u679C\u6240\u7528\u7684\u8303\u56F4\u7684\u9AD8\u5EA6\u548C\u5BBD\u5EA6\u5747\u5927\u4E8E1\uFF0CMATCH\u5C06\u8FD4\u56DE#N/A!\u3002`},{name:"match_type",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A1] - \u8981\u91C7\u7528\u7684\u641C\u7D22\u65B9\u5F0F\u3002
  113. 1\u4E3A\u9ED8\u8BA4\u7C7B\u578B\uFF0C\u6B64\u65F6MATCH\u4F1A\u5047\u8BBE\u8303\u56F4\u5DF2\u6309\u5347\u5E8F\u6392\u5E8F\uFF0C\u5E76\u8FD4\u56DE\u5C0F\u4E8E\u7B49\u4E8E\u641C\u7D22\u952E\u503C\u7684\u6700\u5927\u503C\u3002
  114. 0\u8868\u793A\u5B8C\u5168\u5339\u914D\uFF0C\u5728\u8303\u56F4\u672A\u6392\u5E8F\u7684\u60C5\u51B5\u4E0B\u9700\u8981\u4F7F\u7528\u6B64\u65B9\u5F0F\u3002
  115. -1\u8BA9MATCH\u5047\u8BBE\u8303\u56F4\u662F\u6309\u964D\u5E8F\u6392\u5E8F\u7684\uFF0C\u5E76\u8FD4\u56DE\u5927\u4E8E\u7B49\u4E8E\u641C\u7D22\u952E\u503C\u7684\u6700\u5C0F\u503C\u3002`}]},INDEX:{d:"\u8FD4\u56DE\u8868\u683C\u6216\u4E2D\u7684\u5143\u7D20\u503C\uFF0C\u6B64\u5143\u7D20\u7531\u884C\u53F7\u548C\u5217\u53F7\u7684\u7D22\u5F15\u503C\u7ED9\u5B9A\u3002",a:"\u8FD4\u56DE\u8868\u683C\u6216\u4E2D\u7684\u5143\u7D20\u503C\uFF0C\u6B64\u5143\u7D20\u7531\u884C\u53F7\u548C\u5217\u53F7\u7684\u7D22\u5F15\u503C\u7ED9\u5B9A\u3002",p:[{name:"array",detail:"\u5355\u5143\u683C\u533A\u57DF\u6216\u6570\u7EC4\u5E38\u91CF\u3002"},{name:"row_num",detail:"\u9009\u62E9\u6570\u7EC4\u4E2D\u7684\u67D0\u884C\uFF0C\u51FD\u6570\u4ECE\u8BE5\u884C\u8FD4\u56DE\u6570\u503C\u3002"},{name:"column_num",detail:"\u9009\u62E9\u6570\u7EC4\u4E2D\u7684\u67D0\u5217\uFF0C\u51FD\u6570\u4ECE\u8BE5\u5217\u8FD4\u56DE\u6570\u503C\u3002"}]},GETPIVOTDATA:{d:"\u4ECE\u4E0E\u6307\u5B9A\u884C\u548C\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6570\u636E\u900F\u89C6\u8868\u4E2D\u63D0\u53D6\u6C47\u603B\u503C\u3002",a:"\u4ECE\u4E0E\u6307\u5B9A\u884C\u548C\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6570\u636E\u900F\u89C6\u8868\u4E2D\u63D0\u53D6\u6C47\u603B\u503C\u3002",p:[{name:"data_field",detail:`\u60A8\u60F3\u4ECE\u6570\u636E\u900F\u89C6\u8868\u4E2D\u83B7\u53D6\u5176\u6570\u636E\u7684\u503C\u540D\u79F0\u3002
  116. \u503C\u540D\u79F0\u5FC5\u987B\u62EC\u5728\u5F15\u53F7\u4E2D\u6216\u662F\u6307\u5411\u5305\u542B\u76F8\u5173\u6587\u672C\u7684\u4EFB\u4F55\u5355\u5143\u683C\u7684\u5F15\u7528\u3002
  117. \u5982\u679C\u6709\u591A\u4E2A\u503C\u5B57\u6BB5\uFF0C\u5219\u5FC5\u987B\u4F7F\u7528\u6570\u636E\u900F\u89C6\u8868\u4E2D\u663E\u793A\u7684\u786E\u5207\u540D\u79F0\uFF08\u5982\u201C\u9500\u552E\u603B\u989D\u201D\uFF09\u3002`},{name:"pivot_table",detail:"\u76EE\u6807\u6570\u636E\u900F\u89C6\u8868\u4E2D\u7684\u4EFB\u4F55\u5355\u5143\u683C\u7684\u5F15\u7528\uFF08\u63A8\u8350\u4F4D\u4E8E\u9876\u89D2\u7684\u5355\u5143\u683C\uFF09\u3002"},{name:"field1",detail:"[\u53EF\u9009] - \u6E90\u6570\u636E\u96C6\uFF08\u4E0D\u662F\u6570\u636E\u900F\u89C6\u8868\uFF09\u4E2D\u5217\u7684\u540D\u79F0\u3002"},{name:"item1",detail:"[\u53EF\u9009] - \u6570\u636E\u900F\u89C6\u8868\u4E2D\u663E\u793A\u7684\u4E0E\u60A8\u8981\u68C0\u7D22\u7684\u5B57\u6BB5\u540D\u79F0 1 \u76F8\u5BF9\u5E94\u7684\u884C\u6216\u5217\u7684\u540D\u79F0\u3002"}]},CHOOSE:{d:"\u57FA\u4E8E\u7D22\u5F15\u8FD4\u56DE\u9009\u9879\u5217\u8868\u4E2D\u7684\u5143\u7D20\u3002",a:"\u57FA\u4E8E\u7D22\u5F15\u8FD4\u56DE\u9009\u9879\u5217\u8868\u4E2D\u7684\u5143\u7D20\u3002",p:[{name:"index_num",detail:`\u6307\u5B9A\u8981\u8FD4\u56DE\u54EA\u4E00\u9879\u3002
  118. \u5982\u679C\u7D22\u5F15\u4E3A\u96F6\u3001\u8D1F\u503C\u6216\u5927\u4E8E\u63D0\u4F9B\u7684\u9009\u62E9\u6570\u91CF\uFF0C\u5C06\u8FD4\u56DE#VALUE!\u9519\u8BEF\u3002`},{name:"value1",detail:"\u4E00\u9879\u53EF\u80FD\u7684\u8FD4\u56DE\u503C\u3002\u5FC5\u987B\u63D0\u4F9B\u3002\u53EF\u4EE5\u662F\u5355\u5143\u683C\u5F15\u7528\u6216\u5355\u72EC\u7684\u503C\u3002"},{name:"value2",detail:"[\u53EF\u9009] - \u5176\u4ED6\u53EF\u4EE5\u9009\u62E9\u7684\u503C\u3002\u9009\u62E9"}]},HYPERLINK:{d:"\u5728\u5355\u5143\u683C\u5185\u521B\u5EFA\u4E00\u4E2A\u8D85\u94FE\u63A5\u3002",a:"\u5728\u5355\u5143\u683C\u5185\u521B\u5EFA\u4E00\u4E2A\u8D85\u94FE\u63A5\u3002",p:[{name:"\u7F51\u5740",detail:`\u4EE5\u5F15\u53F7\u62EC\u4F4F\u7684\u94FE\u63A5\u4F4D\u7F6E\u7684\u5B8C\u6574\u7F51\u5740\uFF0C\u6216\u5BF9\u5305\u542B\u8FD9\u79CD\u7F51\u5740\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3002
  119. \u4EC5\u5141\u8BB8\u67D0\u4E9B\u94FE\u63A5\u7C7B\u578B\u3002\u5176\u4E2D\u5305\u62EC\uFF1Ahttp://\u3001https://\u3001mailto:\u3001aim:\u3001ftp://\u3001gopher://\u3001telnet://\u548Cnews://\uFF0C\u660E\u786E\u7981\u7528\u4F7F\u7528\u5176\u4ED6\u534F\u8BAE\u3002\u5982\u679C\u6307\u5B9A\u7684\u662F\u5176\u4ED6\u534F\u8BAE\uFF0C\u5C06\u4F1A\u5728\u5355\u5143\u683C\u4E2D\u663E\u793A\u94FE\u63A5\u6807\u7B7E\uFF0C\u4F46\u8BE5\u6807\u7B7E\u4E0D\u4F1A\u4EE5\u94FE\u63A5\u5F62\u5F0F\u5448\u73B0\u3002
  120. \u5982\u679C\u672A\u6307\u5B9A\u534F\u8BAE\uFF0C\u5219\u5047\u8BBE\u4F7F\u7528http://\uFF0C\u5E76\u5C06\u5176\u4F5C\u4E3A\u7F51\u5740\u7684\u524D\u7F00\u3002`},{name:"\u94FE\u63A5\u6807\u7B7E",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A\u7F51\u5740] - \u8981\u5728\u5355\u5143\u683C\u4E2D\u4F5C\u4E3A\u94FE\u63A5\u663E\u793A\u7684\u6587\u672C\uFF08\u7528\u5F15\u53F7\u62EC\u8D77\u6765\u7684\uFF09\uFF0C\u6216\u8005\u6307\u5411\u5305\u542B\u8FD9\u79CD\u6807\u7B7E\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3002
  121. \u5982\u679C\u94FE\u63A5\u6807\u7B7E\u662F\u6307\u5411\u67D0\u4E2A\u7A7A\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0C\u5982\u679C\u7F51\u5740\u6709\u6548\uFF0C\u5C31\u5C06\u5176\u4F5C\u4E3A\u94FE\u63A5\u663E\u793A\uFF0C\u5426\u5219\u4F5C\u4E3A\u7EAF\u6587\u672C\u663E\u793A\u3002
  122. \u5982\u679C\u94FE\u63A5\u6807\u7B7E\u4E3A\u7A7A\u5B57\u7B26\u4E32\u5E38\u91CF("")\uFF0C\u6240\u5728\u5355\u5143\u683C\u663E\u793A\u7684\u5185\u5BB9\u5C06\u4E3A\u7A7A\u767D\uFF0C\u4F46\u901A\u8FC7\u70B9\u51FB\u8BE5\u5355\u5143\u683C\u6216\u8F6C\u5165\u8BE5\u5355\u5143\u683C\u4ECD\u7136\u53EF\u4EE5\u8BBF\u95EE\u94FE\u63A5\u3002`}]},TIME:{d:"\u5C06\u7ED9\u5B9A\u7684\u5C0F\u65F6\u3001\u5206\u949F\u548C\u79D2\u8F6C\u6362\u4E3A\u65F6\u95F4\u3002",a:"\u5C06\u7ED9\u5B9A\u7684\u5C0F\u65F6\u3001\u5206\u949F\u548C\u79D2\u8F6C\u6362\u4E3A\u65F6\u95F4\u3002",p:[{name:"\u5C0F\u65F6",detail:`0\uFF08\u96F6\uFF09\u5230 32767 \u4E4B\u95F4\u7684\u6570\u5B57\uFF0C\u4EE3\u8868\u5C0F\u65F6\u3002
  123. \u4EFB\u4F55\u5927\u4E8E 23 \u7684\u503C\u90FD\u4F1A\u9664\u4EE5 24\uFF0C\u4F59\u6570\u5C06\u4F5C\u4E3A\u5C0F\u65F6\u503C\u3002`},{name:"\u5206\u949F",detail:`0\uFF08\u96F6\uFF09\u5230 32767 \u4E4B\u95F4\u7684\u6570\u5B57\uFF0C\u4EE3\u8868\u5206\u949F\u3002
  124. \u4EFB\u4F55\u5927\u4E8E 59 \u7684\u503C\u5C06\u8F6C\u6362\u4E3A\u5C0F\u65F6\u548C\u5206\u949F\u3002`},{name:"\u79D2",detail:`0\uFF08\u96F6\uFF09\u5230 32767 \u4E4B\u95F4\u7684\u6570\u5B57\uFF0C\u4EE3\u8868\u79D2\u3002
  125. \u4EFB\u4F55\u5927\u4E8E 59 \u7684\u503C\u5C06\u8F6C\u6362\u4E3A\u5C0F\u65F6\u3001\u5206\u949F\u548C\u79D2\u3002`}]},TIMEVALUE:{d:"\u6309\u4E00\u592924\u5C0F\u65F6\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5206\u6570\u8868\u793A\u3002",a:"\u6309\u4E00\u592924\u5C0F\u65F6\u8FD4\u56DE\u8BE5\u65F6\u95F4\u7684\u5206\u6570\u8868\u793A\u3002",p:[{name:"time_text",detail:"\u7528\u4E8E\u8868\u793A\u65F6\u95F4\u7684\u5B57\u7B26\u4E32\u3002"}]},EOMONTH:{d:"\u8FD4\u56DE\u67D0\u4E2A\u6708\u4EFD\u6700\u540E\u4E00\u5929\u7684\u5E8F\u5217\u53F7\uFF0C\u8BE5\u6708\u4EFD\u5728\u53E6\u4E00\u4E2A\u65E5\u671F\u4E4B\u524D\u6216\u4E4B\u540E\u7684\u6570\u4E2A\u6708\uFF08\u6708\u6570\u7531\u53C2\u6570\u6307\u5B9A\uFF09\u3002",a:"\u8FD4\u56DE\u67D0\u4E2A\u6708\u4EFD\u6700\u540E\u4E00\u5929\u7684\u5E8F\u5217\u53F7",p:[{name:"start_date",detail:"\u7528\u4E8E\u8BA1\u7B97\u7ED3\u679C\u7684\u53C2\u7167\u65E5\u671F\u3002"},{name:"months",detail:"\u7528\u4E8E\u8BA1\u7B97\u7684\u8D77\u59CB\u65E5\u671F\u4E4B\u524D\uFF08\u8D1F\uFF09\u6216\u4E4B\u540E\uFF08\u6B63\uFF09\u7684\u6708\u6570\u3002\u8FD4\u56DE\u7684\u662F\u8BA1\u7B97\u6240\u5F97\u6708\u4EFD\u7684\u6700\u540E\u90A3\u5929\u3002"}]},EDATE:{d:"\u8FD4\u56DE\u8868\u793A\u67D0\u4E2A\u65E5\u671F\u7684\u5E8F\u5217\u53F7\uFF0C\u8BE5\u65E5\u671F\u5728\u53E6\u4E00\u4E2A\u65E5\u671F\u7684\u6570\u6708\u4E4B\u524D/\u4E4B\u540E\u3002",a:"\u8FD4\u56DE\u8868\u793A\u67D0\u4E2A\u65E5\u671F\u7684\u5E8F\u5217\u53F7",p:[{name:"start_date",detail:"\u7528\u4E8E\u8BA1\u7B97\u7ED3\u679C\u7684\u53C2\u7167\u65E5\u671F\u3002"},{name:"months",detail:"\u7528\u4E8E\u8BA1\u7B97\u7684\u8D77\u59CB\u65E5\u671F\u4E4B\u524D\uFF08\u8D1F\uFF09\u6216\u4E4B\u540E\uFF08\u6B63\uFF09\u7684\u6708\u6570\u3002"}]},SECOND:{d:"\u8FD4\u56DE\u65F6\u95F4\u503C\u7684\u79D2\u6570\u3002 \u79D2\u6570\u662F 0\uFF08\u96F6\uFF09\u5230 59 \u8303\u56F4\u5185\u7684\u6574\u6570\u3002",a:"\u8FD4\u56DE\u65F6\u95F4\u503C\u7684\u79D2\u6570\u3002 \u79D2\u6570\u662F 0\uFF08\u96F6\uFF09\u5230 59 \u8303\u56F4\u5185\u7684\u6574\u6570\u3002",p:[{name:"\u65F6\u95F4",detail:"\u7528\u4E8E\u8BA1\u7B97\u79D2\u949F\u90E8\u5206\u7684\u65F6\u95F4\u3002\u5FC5\u987B\u4E3A\u4EE5\u4E0B\u503C\u4E4B\u4E00\uFF1A\u6307\u5411\u5305\u542B\u65E5\u671F/\u65F6\u95F4\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F/\u65F6\u95F4\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002"}]},MINUTE:{d:"\u4EE5\u6570\u5B57\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u65F6\u95F4\u7684\u5206\u949F\u90E8\u5206\u3002",a:"\u4EE5\u6570\u5B57\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u65F6\u95F4\u7684\u5206\u949F\u90E8\u5206\u3002",p:[{name:"\u65F6\u95F4",detail:"\u7528\u4E8E\u8BA1\u7B97\u5206\u949F\u90E8\u5206\u7684\u65F6\u95F4\u3002\u5FC5\u987B\u4E3A\u4EE5\u4E0B\u503C\u4E4B\u4E00\uFF1A\u6307\u5411\u5305\u542B\u65E5\u671F/\u65F6\u95F4\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F/\u65F6\u95F4\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002"}]},HOUR:{d:"\u4EE5\u6570\u5B57\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u65F6\u95F4\u7684\u5C0F\u65F6\u90E8\u5206\u3002",a:"\u4EE5\u6570\u5B57\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u65F6\u95F4\u7684\u5C0F\u65F6\u90E8\u5206\u3002",p:[{name:"\u65F6\u95F4",detail:"\u7528\u4E8E\u8BA1\u7B97\u5C0F\u65F6\u90E8\u5206\u7684\u65F6\u95F4\u3002\u5FC5\u987B\u4E3A\u4EE5\u4E0B\u503C\u4E4B\u4E00\uFF1A\u6307\u5411\u5305\u542B\u65E5\u671F/\u65F6\u95F4\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F/\u65F6\u95F4\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002"}]},NOW:{d:"\u4EE5\u65E5\u671F\u503C\u683C\u5F0F\u8FD4\u56DE\u5F53\u524D\u65E5\u671F\u548C\u65F6\u95F4\u3002",a:"\u4EE5\u65E5\u671F\u503C\u683C\u5F0F\u8FD4\u56DE\u5F53\u524D\u65E5\u671F\u548C\u65F6\u95F4\u3002",p:[]},NETWORKDAYS:{d:"\u8FD4\u56DE\u6240\u63D0\u4F9B\u7684\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u51C0\u5DE5\u4F5C\u65E5\u5929\u6570\u3002",a:"\u8FD4\u56DE\u6240\u63D0\u4F9B\u7684\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u51C0\u5DE5\u4F5C\u65E5\u5929\u6570\u3002",p:[{name:"start_date",detail:"\u7528\u4E8E\u8BA1\u7B97\u51C0\u5DE5\u4F5C\u65E5\u5929\u6570\u7684\u65F6\u95F4\u6BB5\u5F00\u59CB\u65E5\u671F\u3002"},{name:"end_date",detail:"\u7528\u4E8E\u8BA1\u7B97\u51C0\u5DE5\u4F5C\u65E5\u5929\u6570\u7684\u65F6\u95F4\u6BB5\u7ED3\u675F\u65E5\u671F\u3002"},{name:"holidays",detail:`[\u53EF\u9009] - \u4E00\u4E2A\u8303\u56F4\u6216\u6570\u7EC4\u5E38\u91CF\uFF0C\u5176\u4E2D\u5305\u542B\u4F5C\u4E3A\u8282\u5047\u65E5\u7684\u65E5\u671F\u5E8F\u53F7\u3002
  126. \u5728\u8282\u5047\u65E5\u6570\u7EC4\u4E2D\u63D0\u4F9B\u7684\u503C\u5FC5\u987B\u662F\u65E5\u671F\u5E8F\u53F7\u503C\uFF08\u4F8B\u5982\u7531N\u6240\u8FD4\u56DE\u7684\u503C\uFF09\u6216\u65E5\u671F\u503C\uFF08\u4F8B\u5982\u7531DATE\u3001DATEVALUE\u6216TO_DATE\u8FD4\u56DE\u7684\u503C\uFF09\u3002\u7531\u8303\u56F4\u6307\u5B9A\u7684\u503C\u5E94\u8BE5\u662F\u6807\u51C6\u7684\u65E5\u671F\u503C\u6216\u65E5\u671F\u5E8F\u6570\u503C\u3002`}]},NETWORKDAYS_INTL:{d:"\u8FD4\u56DE\u7ED9\u5B9A\u7684\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u51C0\u5DE5\u4F5C\u65E5\u5929\u6570\uFF08\u6392\u9664\u6307\u5B9A\u7684\u5468\u672B\u548C\u8282\u5047\u65E5\uFF09\u3002",a:"\u8FD4\u56DE\u7ED9\u5B9A\u7684\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u51C0\u5DE5\u4F5C\u65E5\u5929\u6570\uFF08\u6392\u9664\u6307\u5B9A\u7684\u5468\u672B\u548C\u8282\u5047\u65E5\uFF09\u3002",p:[{name:"start_date",detail:"\u7528\u4E8E\u8BA1\u7B97\u51C0\u5DE5\u4F5C\u65E5\u5929\u6570\u7684\u65F6\u95F4\u6BB5\u5F00\u59CB\u65E5\u671F\u3002"},{name:"end_date",detail:"\u7528\u4E8E\u8BA1\u7B97\u51C0\u5DE5\u4F5C\u65E5\u5929\u6570\u7684\u65F6\u95F4\u6BB5\u7ED3\u675F\u65E5\u671F\u3002"},{name:"weekend",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A1] - \u7528\u4E8E\u8868\u793A\u54EA\u4E9B\u5929\u4E3A\u5468\u672B\u7684\u6570\u5B57\u6216\u5B57\u7B26\u4E32\u3002
  127. \u5B57\u7B26\u4E32\u65B9\u5F0F\uFF1A\u53EF\u4EE5\u4F7F\u7528\u75310\u548C1\u7EC4\u6210\u7684\u5B57\u7B26\u4E32\u6765\u6307\u5B9A\u5468\u672B\uFF0C\u4E32\u4E2D\u7684\u7B2C\u4E00\u4E2A\u6570\u5B57\u5B57\u7B26\u4EE3\u8868\u5468\u4E00\uFF0C\u6700\u540E\u4E00\u4E2A\u5219\u4EE3\u8868\u5468\u65E5\u3002\u96F6\u8868\u793A\u8FD9\u4E00\u5929\u662F\u5DE5\u4F5C\u65E5\uFF0C1\u8868\u793A\u8FD9\u4E00\u5929\u4E3A\u5468\u672B\u3002\u4F8B\u5982\uFF0C\u201C0000011\u201D\u8868\u793A\u5C06\u5468\u516D\u548C\u5468\u65E5\u4F5C\u4E3A\u5468\u672B\u3002
  128. \u6570\u5B57\u65B9\u5F0F\uFF1A\u8FD9\u79CD\u65B9\u5F0F\u4E0D\u4F7F\u7528\u4E0A\u8FF0\u5B57\u7B26\u4E32\u5F62\u5F0F\uFF0C\u800C\u662F\u4F7F\u7528\u4E00\u4E2A\u6570\u5B57\u30021 =\u5468\u516D/\u5468\u65E5\u4E3A\u5468\u672B\uFF0C2 =\u5468\u65E5/\u5468\u4E00\u4E3A\u5468\u672B\uFF0C\u4F9D\u6B64\u7C7B\u63A8\u52197 =\u5468\u4E94/\u5468\u516D\u300211 =\u5468\u65E5\u4E3A\u552F\u4E00\u5468\u672B\uFF0C12 =\u5468\u4E00\u4E3A\u552F\u4E00\u5468\u672B\uFF0C\u4F9D\u6B64\u7C7B\u63A8\u521917 =\u5468\u516D\u4E3A\u552F\u4E00\u5468\u672B\u3002`},{name:"holidays",detail:`[ \u53EF\u9009 ] - \u8FD9\u662F\u4E00\u4E2A\u8303\u56F4\u6216\u6570\u7EC4\u5E38\u91CF\uFF0C\u5176\u4E2D\u5305\u542B\u4F5C\u4E3A\u8282\u5047\u65E5\u7684\u65E5\u671F\u3002
  129. \u5728\u8282\u5047\u65E5\u6570\u7EC4\u5185\u63D0\u4F9B\u7684\u503C\u5FC5\u987B\u4E3A\u65E5\u671F\u5E8F\u6570\u503C\uFF08\u4F8B\u5982N\u7684\u8FD4\u56DE\u503C\uFF09\u6216\u65E5\u671F\u503C\uFF08\u4F8B\u5982DATE\u3001DATEVALUE\u6216TO_DATE\u7684\u8FD4\u56DE\u503C\uFF09\u3002\u7531\u8303\u56F4\u6307\u5B9A\u7684\u503C\u5E94\u8BE5\u662F\u6807\u51C6\u7684\u65E5\u671F\u503C\u6216\u65E5\u671F\u5E8F\u6570\u503C\u3002`}]},ISOWEEKNUM:{d:"\u8FD4\u56DE\u7ED9\u5B9A\u65E5\u671F\u5728\u5168\u5E74\u4E2D\u7684 ISO \u5468\u6570\u3002",a:"\u8FD4\u56DE\u7ED9\u5B9A\u65E5\u671F\u5728\u5168\u5E74\u4E2D\u7684 ISO \u5468\u6570\u3002",p:[{name:"date",detail:"\u7528\u4E8E\u65E5\u671F\u548C\u65F6\u95F4\u8BA1\u7B97\u7684\u65E5\u671F-\u65F6\u95F4\u4EE3\u7801\u3002"}]},WEEKNUM:{d:"\u8FD4\u56DE\u7279\u5B9A\u65E5\u671F\u7684\u5468\u6570\u3002",a:"\u8FD4\u56DE\u7279\u5B9A\u65E5\u671F\u7684\u5468\u6570\u3002",p:[{name:"serial_number",detail:"\u8981\u786E\u5B9A\u5176\u4F4D\u4E8E\u7B2C\u51E0\u5468\u7684\u65E5\u671F\uFF0C\u5FC5\u987B\u662F\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002"},{name:"return_type",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 1 ] - \u4EE3\u8868\u4E00\u5468\u8D77\u59CB\u65E5\u7684\u6570\u5B57\uFF0C\u7CFB\u7EDF\u4E5F\u4F7F\u7528\u8BE5\u6570\u5B57\u6765\u786E\u5B9A\u4E00\u5E74\u7684\u7B2C\u4E00\u5468\uFF081=\u5468\u65E5\uFF0C2=\u5468\u4E00\uFF09\u3002"}]},WEEKDAY:{d:"\u8FD4\u56DE\u4E00\u4E2A\u6570\u5B57\uFF0C\u5BF9\u5E94\u4E8E\u7ED9\u5B9A\u65E5\u671F\u6240\u5728\u7684\u661F\u671F\u51E0\u3002",a:"\u8FD4\u56DE\u4E00\u4E2A\u6570\u5B57\uFF0C\u5BF9\u5E94\u4E8E\u7ED9\u5B9A\u65E5\u671F\u6240\u5728\u7684\u661F\u671F\u51E0\u3002",p:[{name:"serial_number",detail:"\u8981\u4E3A\u5176\u786E\u5B9A\u661F\u671F\u51E0\u7684\u65E5\u671F\u3002\u5FC5\u987B\u662F\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002"},{name:"return_type",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 1] - \u4EE5\u6570\u5B57\u6307\u793A\u4F7F\u7528\u54EA\u79CD\u7F16\u53F7\u987A\u5E8F\u6765\u8868\u793A\u661F\u671F\u51E0\u3002\u9ED8\u8BA4\u60C5\u51B5\u4E0B\uFF0C\u6309\u661F\u671F\u65E5 (= 1) \u5F00\u59CB\u8BA1\u7B97\u3002
  130. \u5982\u679C\u7C7B\u578B\u4E3A 1\uFF0C\u5219\u661F\u671F\u503C\u5C06\u4ECE\u661F\u671F\u65E5\u5F00\u59CB\u7B97\u8D77\uFF0C\u5E76\u4E14\u661F\u671F\u65E5\u7684\u503C\u4E3A 1\uFF0C\u56E0\u6B64\u661F\u671F\u516D\u7684\u503C\u5C31\u662F 7\u3002
  131. \u5982\u679C\u7C7B\u578B\u4E3A 2\uFF0C\u5219\u661F\u671F\u503C\u5C06\u4ECE\u661F\u671F\u4E00\u5F00\u59CB\u7B97\u8D77\uFF0C\u5E76\u4E14\u661F\u671F\u4E00\u7684\u503C\u4E3A 1\uFF0C\u56E0\u6B64\u661F\u671F\u65E5\u7684\u503C\u5C31\u662F 7\u3002
  132. \u5982\u679C\u7C7B\u578B\u4E3A 3\uFF0C\u5219\u661F\u671F\u503C\u5C06\u4ECE\u661F\u671F\u4E00\u7B97\u8D77\uFF0C\u5E76\u4E14\u661F\u671F\u4E00\u7684\u503C\u4E3A 0\uFF0C\u56E0\u6B64\u661F\u671F\u65E5\u7684\u503C\u5C31\u662F 6\u3002`}]},DAY:{d:"\u4EE5\u6570\u5B57\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u65E5\u671F\u6240\u5728\u7684\u5F53\u6708\u51E0\u53F7\u3002",a:"\u4EE5\u6570\u5B57\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u65E5\u671F\u6240\u5728\u7684\u5F53\u6708\u51E0\u53F7\u3002",p:[{name:"serial_number",detail:"\u8981\u4ECE\u4E2D\u63D0\u53D6\u5177\u4F53\u51E0\u53F7\u7684\u65E5\u671F\u3002\u5FC5\u987B\u662F\u4EE5\u4E0B\u4E00\u79CD\uFF1A\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002"}]},DAYS:{d:"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u5929\u6570\u3002",a:"\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u5929\u6570\u3002",p:[{name:"end_date",detail:"\u8BA1\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u7ED3\u675F\u65E5\u671F\u3002\u5FC5\u987B\u662F\u4EE5\u4E0B\u4E00\u79CD\uFF1A\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002"},{name:"start_date",detail:"\u8BA1\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u5F00\u59CB\u65E5\u671F\u3002\u5FC5\u987B\u662F\u4EE5\u4E0B\u4E00\u79CD\uFF1A\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002"}]},DAYS360:{d:"\u6309\u7167\u6BCF\u5E74360\u5929\uFF0C\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u5DEE\uFF08\u7528\u4E8E\u8BA1\u7B97\u5229\u606F\uFF09\u3002",a:"\u6309\u7167\u6BCF\u5E74360\u5929\uFF0C\u8FD4\u56DE\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u5DEE\uFF08\u7528\u4E8E\u8BA1\u7B97\u5229\u606F\uFF09\u3002",p:[{name:"start_date",detail:"\u8BA1\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u5F00\u59CB\u65E5\u671F\u3002\u5FC5\u987B\u662F\u4EE5\u4E0B\u4E00\u79CD\uFF1A\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002"},{name:"end_date",detail:"\u8BA1\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u7ED3\u675F\u65E5\u671F\u3002\u5FC5\u987B\u662F\u4EE5\u4E0B\u4E00\u79CD\uFF1A\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002"},{name:"method",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3AFALSE()] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
  133. FALSE - \u91C7\u7528\u7F8E\u56FD (NASD) \u65B9\u6CD5\u65F6\uFF0C\u5982\u679C\u8D77\u59CB\u65E5\u671F\u4E3A\u67D0\u6708\u7684\u6700\u540E\u4E00\u5929\uFF0C\u4E3A\u4FBF\u4E8E\u8BA1\u7B97\uFF0C\u4F1A\u5C06\u8D77\u59CB\u65E5\u671F\u7684\u5F53\u6708\u51E0\u53F7\u66F4\u6539\u4E3A30\u3002\u6B64\u5916\uFF0C\u5982\u679C\u7ED3\u675F\u65E5\u671F\u662F\u6240\u5728\u6708\u4EFD\u7684\u6700\u540E\u4E00\u5929\uFF0C\u800C\u4E14\u8D77\u59CB\u65E5\u671F\u5728\u5176\u6240\u5728\u6708\u768430\u53F7\u4E4B\u524D\uFF0C\u5219\u5C06\u7ED3\u675F\u65E5\u671F\u66F4\u6539\u4E3A\u7ED3\u675F\u65E5\u671F\u4E4B\u540E\u90A3\u4E2A\u6708\u7684\u7B2C\u4E00\u5929\uFF0C\u5426\u5219\u5C06\u7ED3\u675F\u65E5\u671F\u66F4\u6539\u4E3A\u8BE5\u6708\u768430\u53F7\u3002
  134. TRUE - \u91C7\u7528\u6B27\u6D32\u65B9\u6CD5\u65F6\uFF0C\u4F1A\u5C06\u6240\u6709\u65E5\u671F\u572831\u53F7\u7684\u8D77\u59CB\u65E5\u671F\u6216\u7ED3\u675F\u65E5\u671F\u66F4\u6539\u4E3A\u5F53\u6708\u768430\u53F7\u3002`}]},DATE:{d:"\u5C06\u63D0\u4F9B\u7684\u5E74\u3001\u6708\u3001\u65E5\u8F6C\u6362\u4E3A\u65E5\u671F\u3002",a:"\u5C06\u63D0\u4F9B\u7684\u5E74\u3001\u6708\u3001\u65E5\u8F6C\u6362\u4E3A\u65E5\u671F\u3002",p:[{name:"year",detail:`\u65E5\u671F\u7684\u5E74\u4EFD\u90E8\u5206\uFF0C\u5305\u542B\u4E00\u5230\u56DB\u4F4D\u6570\u5B57\u3002
  135. \u4ECB\u4E8E 0\uFF08\u96F6\uFF09\u5230 1899 \u4E4B\u95F4\uFF0C\u4F1A\u5C06\u8BE5\u503C\u4E0E 1900 \u76F8\u52A0\u6765\u8BA1\u7B97\u5E74\u4EFD\uFF1B
  136. \u4ECB\u4E8E 1900 \u5230 9999 \u4E4B\u95F4\uFF0C\u5C06\u4F7F\u7528\u8BE5\u6570\u503C\u4F5C\u4E3A\u5E74\u4EFD\uFF1B
  137. \u5C0F\u4E8E 0 \u6216\u5927\u4E8E\u7B49\u4E8E 10000\uFF0C\u8FD4\u56DE \u9519\u8BEF\u503C #NUM!\u3002`},{name:"month",detail:`\u65E5\u671F\u7684\u6708\u4EFD\u90E8\u5206\uFF0C\u4E00\u4E2A\u6B63\u6574\u6570\u6216\u8D1F\u6574\u6570\u3002
  138. \u5982\u679C month \u5927\u4E8E 12\uFF0C\u5219 month \u4F1A\u5C06\u8BE5\u6708\u4EFD\u6570\u4E0E\u6307\u5B9A\u5E74\u4E2D\u7684\u7B2C\u4E00\u4E2A\u6708\u76F8\u52A0\u3002
  139. \u5982\u679C month \u5C0F\u4E8E 1\uFF0Cmonth \u5219\u4ECE\u6307\u5B9A\u5E74\u4EFD\u7684\u4E00\u6708\u4EFD\u5F00\u59CB\u9012\u51CF\u8BE5\u6708\u4EFD\u6570\uFF0C\u7136\u540E\u518D\u52A0\u4E0A 1 \u4E2A\u6708\u3002`},{name:"day",detail:`\u65E5\u671F\u7684\u65E5\u90E8\u5206\uFF0C\u4E00\u4E2A\u6B63\u6574\u6570\u6216\u8D1F\u6574\u6570\u3002
  140. \u5982\u679C day \u5927\u4E8E\u6708\u4E2D\u6307\u5B9A\u7684\u5929\u6570\uFF0C\u5219 day \u4F1A\u5C06\u5929\u6570\u4E0E\u8BE5\u6708\u4E2D\u7684\u7B2C\u4E00\u5929\u76F8\u52A0\u3002
  141. \u5982\u679C day \u5C0F\u4E8E 1\uFF0C\u5219 day \u4ECE\u6307\u5B9A\u6708\u4EFD\u7684\u7B2C\u4E00\u5929\u5F00\u59CB\u9012\u51CF\u8BE5\u5929\u6570\uFF0C\u7136\u540E\u518D\u52A0\u4E0A 1 \u5929\u3002`}]},DATEVALUE:{d:"\u5C06\u63D0\u4F9B\u7684\u65E5\u671F\u5B57\u7B26\u4E32\u8F6C\u6362\u4E3A\u65E5\u671F\u7684\u5E8F\u5217\u53F7\u3002",a:"\u5C06\u63D0\u4F9B\u7684\u65E5\u671F\u5B57\u7B26\u4E32\u8F6C\u6362\u4E3A\u65E5\u671F\u7684\u5E8F\u5217\u53F7\u3002",p:[{name:"date_text",detail:"\u8868\u793A\u65E5\u671F\u7684\u5B57\u7B26\u4E32\u3002"}]},DATEDIF:{d:"\u8BA1\u7B97\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u5929\u6570\u3001\u6708\u6570\u6216\u5E74\u6570\u3002",a:"\u8BA1\u7B97\u4E24\u4E2A\u65E5\u671F\u4E4B\u95F4\u7684\u5929\u6570\u3001\u6708\u6570\u6216\u5E74\u6570\u3002",p:[{name:"\u8D77\u59CB\u65E5\u671F",detail:"\u8BA1\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u5F00\u59CB\u65E5\u671F\u3002\u5FC5\u987B\u662F\u5BF9\u5305\u542BDATE\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DEDATE\u7C7B\u578B\u7684\u51FD\u6570\u6216\u6570\u5B57\u3002"},{name:"\u7ED3\u675F\u65E5\u671F",detail:"\u8BA1\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u7ED3\u675F\u65E5\u671F\u3002\u5FC5\u987B\u662F\u5BF9\u5305\u542BDATE\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DEDATE\u7C7B\u578B\u7684\u51FD\u6570\u6216\u6570\u5B57\u3002"},{name:"\u5355\u4F4D",detail:`\u65F6\u95F4\u5355\u4F4D\u7684\u7F29\u5199\u6587\u5B57\u3002\u4F8B\u5982 "M" \u4EE3\u8868\u6708\u3002\u6709\u6548\u503C\u5305\u62EC\uFF1A"Y"\u3001"M"\u3001"D"\u3001"MD"\u3001"YM" \u548C "YD"\u3002
  142. "Y"\uFF1A\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7ED3\u675F\u65E5\u671F\u4E4B\u95F4\u7684\u6574\u5E74\u6570\u3002
  143. "M"\uFF1A\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7ED3\u675F\u65E5\u671F\u4E4B\u95F4\u7684\u6574\u6708\u6570\u3002
  144. "D"\uFF1A\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7ED3\u675F\u65E5\u671F\u4E4B\u95F4\u7684\u5929\u6570\u3002
  145. "MD"\uFF1A\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7ED3\u675F\u65E5\u671F\u4E4B\u95F4\u7684\u5929\u6570\uFF08\u4E0D\u8BA1\u6574\u6708\u6570\uFF09\u3002
  146. "YM"\uFF1A\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7ED3\u675F\u65E5\u671F\u4E4B\u95F4\u7684\u6574\u6708\u6570\uFF08\u4E0D\u8BA1\u6574\u5E74\u6570\uFF09\u3002
  147. "YD"\uFF1A\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7ED3\u675F\u65E5\u671F\u4E4B\u95F4\u7684\u5929\u6570\uFF08\u5047\u8BBE\u8D77\u59CB\u65E5\u671F\u548C\u7ED3\u675F\u65E5\u671F\u7684\u95F4\u9694\u4E0D\u8D85\u8FC7\u4E00\u5E74\uFF09\u3002`}]},WORKDAY:{d:"\u6307\u5B9A\u5DE5\u4F5C\u65E5\u5929\u6570\uFF0C\u8BA1\u7B97\u7ED3\u675F\u65E5\u671F\u3002",a:"\u6307\u5B9A\u5DE5\u4F5C\u65E5\u5929\u6570\uFF0C\u8BA1\u7B97\u7ED3\u675F\u65E5\u671F\u3002",p:[{name:"start_date",detail:"\u8BA1\u7B97\u7684\u5F00\u59CB\u65E5\u671F\u3002"},{name:"days",detail:`start_date \u4E4B\u524D\u6216\u4E4B\u540E\u4E0D\u542B\u5468\u672B\u53CA\u8282\u5047\u65E5\u7684\u5929\u6570\u3002
  148. \u4E3A\u6B63\u503C\u5C06\u751F\u6210\u672A\u6765\u65E5\u671F\uFF1B
  149. \u4E3A\u8D1F\u503C\u751F\u6210\u8FC7\u53BB\u65E5\u671F\u3002`},{name:"holidays",detail:`[\u53EF\u9009] - \u4E00\u4E2A\u8303\u56F4\u6216\u6570\u7EC4\u5E38\u91CF\uFF0C\u5176\u4E2D\u5305\u542B\u4F5C\u4E3A\u8282\u5047\u65E5\u7684\u65E5\u671F\u5E8F\u53F7\u3002
  150. \u5728\u8282\u5047\u65E5\u6570\u7EC4\u4E2D\u63D0\u4F9B\u7684\u503C\u5FC5\u987B\u662F\u65E5\u671F\u5E8F\u53F7\u503C\uFF08\u4F8B\u5982\u7531N\u6240\u8FD4\u56DE\u7684\u503C\uFF09\u6216\u65E5\u671F\u503C\uFF08\u4F8B\u5982\u7531DATE\u3001DATEVALUE\u6216TO_DATE\u8FD4\u56DE\u7684\u503C\uFF09\u3002\u7531\u8303\u56F4\u6307\u5B9A\u7684\u503C\u5E94\u8BE5\u662F\u6807\u51C6\u7684\u65E5\u671F\u503C\u6216\u65E5\u671F\u5E8F\u6570\u503C\u3002`}]},WORKDAY_INTL:{d:"\u8FD4\u56DE\u6307\u5B9A\u7684\u82E5\u5E72\u4E2A\u5DE5\u4F5C\u65E5\u4E4B\u524D\u6216\u4E4B\u540E\u7684\u65E5\u671F\u7684\u5E8F\u5217\u53F7\uFF08\u4F7F\u7528\u81EA\u5B9A\u4E49\u5468\u672B\u53C2\u6570\uFF09\u3002 ",a:"\u8FD4\u56DE\u6307\u5B9A\u7684\u82E5\u5E72\u4E2A\u5DE5\u4F5C\u65E5\u4E4B\u524D\u6216\u4E4B\u540E\u7684\u65E5\u671F\u7684\u5E8F\u5217\u53F7\uFF08\u4F7F\u7528\u81EA\u5B9A\u4E49\u5468\u672B\u53C2\u6570\uFF09\u3002 ",p:[{name:"start_date",detail:"\u5F00\u59CB\u65E5\u671F\uFF08\u5C06\u88AB\u622A\u5C3E\u53D6\u6574\uFF09\u3002"},{name:"days",detail:`start_date \u4E4B\u524D\u6216\u4E4B\u540E\u7684\u5DE5\u4F5C\u65E5\u7684\u5929\u6570\u3002
  151. \u6B63\u503C\u8868\u793A\u672A\u6765\u65E5\u671F\uFF1B
  152. \u8D1F\u503C\u8868\u793A\u8FC7\u53BB\u65E5\u671F\uFF1B
  153. \u96F6\u503C\u8868\u793A\u5F00\u59CB\u65E5\u671F\u3002`},{name:"weekend",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A1] - \u7528\u4E8E\u8868\u793A\u54EA\u4E9B\u5929\u4E3A\u5468\u672B\u7684\u6570\u5B57\u6216\u5B57\u7B26\u4E32\u3002
  154. \u5B57\u7B26\u4E32\u65B9\u5F0F\uFF1A\u53EF\u4EE5\u4F7F\u7528\u75310\u548C1\u7EC4\u6210\u7684\u5B57\u7B26\u4E32\u6765\u6307\u5B9A\u5468\u672B\uFF0C\u4E32\u4E2D\u7684\u7B2C\u4E00\u4E2A\u6570\u5B57\u5B57\u7B26\u4EE3\u8868\u5468\u4E00\uFF0C\u6700\u540E\u4E00\u4E2A\u5219\u4EE3\u8868\u5468\u65E5\u3002\u96F6\u8868\u793A\u8FD9\u4E00\u5929\u662F\u5DE5\u4F5C\u65E5\uFF0C1\u8868\u793A\u8FD9\u4E00\u5929\u4E3A\u5468\u672B\u3002\u4F8B\u5982\uFF0C\u201C0000011\u201D\u8868\u793A\u5C06\u5468\u516D\u548C\u5468\u65E5\u4F5C\u4E3A\u5468\u672B\u3002
  155. \u6570\u5B57\u65B9\u5F0F\uFF1A\u8FD9\u79CD\u65B9\u5F0F\u4E0D\u4F7F\u7528\u4E0A\u8FF0\u5B57\u7B26\u4E32\u5F62\u5F0F\uFF0C\u800C\u662F\u4F7F\u7528\u4E00\u4E2A\u6570\u5B57\u30021 =\u5468\u516D/\u5468\u65E5\u4E3A\u5468\u672B\uFF0C2 =\u5468\u65E5/\u5468\u4E00\u4E3A\u5468\u672B\uFF0C\u4F9D\u6B64\u7C7B\u63A8\u52197 =\u5468\u4E94/\u5468\u516D\u300211 =\u5468\u65E5\u4E3A\u552F\u4E00\u5468\u672B\uFF0C12 =\u5468\u4E00\u4E3A\u552F\u4E00\u5468\u672B\uFF0C\u4F9D\u6B64\u7C7B\u63A8\u521917 =\u5468\u516D\u4E3A\u552F\u4E00\u5468\u672B\u3002`},{name:"holidays",detail:`[ \u53EF\u9009 ] - \u8FD9\u662F\u4E00\u4E2A\u8303\u56F4\u6216\u6570\u7EC4\u5E38\u91CF\uFF0C\u5176\u4E2D\u5305\u542B\u4F5C\u4E3A\u8282\u5047\u65E5\u7684\u65E5\u671F\u3002
  156. \u5728\u8282\u5047\u65E5\u6570\u7EC4\u5185\u63D0\u4F9B\u7684\u503C\u5FC5\u987B\u4E3A\u65E5\u671F\u5E8F\u6570\u503C\uFF08\u4F8B\u5982N\u7684\u8FD4\u56DE\u503C\uFF09\u6216\u65E5\u671F\u503C\uFF08\u4F8B\u5982DATE\u3001DATEVALUE\u6216TO_DATE\u7684\u8FD4\u56DE\u503C\uFF09\u3002\u7531\u8303\u56F4\u6307\u5B9A\u7684\u503C\u5E94\u8BE5\u662F\u6807\u51C6\u7684\u65E5\u671F\u503C\u6216\u65E5\u671F\u5E8F\u6570\u503C\u3002`}]},YEAR:{d:"\u8FD4\u56DE\u5BF9\u5E94\u4E8E\u67D0\u4E2A\u65E5\u671F\u7684\u5E74\u4EFD\u3002 Year \u4F5C\u4E3A 1900 - 9999 \u4E4B\u95F4\u7684\u6574\u6570\u8FD4\u56DE\u3002",a:"\u8FD4\u56DE\u5BF9\u5E94\u4E8E\u67D0\u4E2A\u65E5\u671F\u7684\u5E74\u4EFD\u3002 Year \u4F5C\u4E3A 1900 - 9999 \u4E4B\u95F4\u7684\u6574\u6570\u8FD4\u56DE\u3002",p:[{name:"serial_number",detail:"\u7528\u4E8E\u8BA1\u7B97\u5E74\u4EFD\u7684\u65E5\u671F\u3002\u5FC5\u987B\u662F\u4EE5\u4E0B\u4E00\u79CD\uFF1A\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002"}]},YEARFRAC:{d:"\u8FD4\u56DE start_date \u548C end_date \u4E4B\u95F4\u7684\u5929\u6570\u5360\u5168\u5E74\u5929\u6570\u7684\u767E\u5206\u6BD4\u3002",a:"\u8FD4\u56DE start_date \u548C end_date \u4E4B\u95F4\u7684\u5929\u6570\u5360\u5168\u5E74\u5929\u6570\u7684\u767E\u5206\u6BD4\u3002",p:[{name:"start_date",detail:"\u8BA1\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u5F00\u59CB\u65E5\u671F\u3002\u5FC5\u987B\u662F\u4EE5\u4E0B\u4E00\u79CD\uFF1A\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002"},{name:"end_date",detail:"\u8BA1\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u7ED3\u675F\u65E5\u671F\u3002\u5FC5\u987B\u662F\u4EE5\u4E0B\u4E00\u79CD\uFF1A\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u8981\u4F7F\u7528\u7684\u65E5\u8BA1\u6570\u57FA\u51C6\u7C7B\u578B\u3002
  157. 0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
  158. 1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  159. 2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
  160. 3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
  161. 4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`}]},TODAY:{d:"\u4EE5\u65E5\u671F\u503C\u683C\u5F0F\u8FD4\u56DE\u5F53\u524D\u65E5\u671F\u3002",a:"\u4EE5\u65E5\u671F\u503C\u683C\u5F0F\u8FD4\u56DE\u5F53\u524D\u65E5\u671F\u3002",p:[]},MONTH:{d:"\u8FD4\u56DE\u65E5\u671F\uFF08\u4EE5\u5E8F\u5217\u6570\u8868\u793A\uFF09\u4E2D\u7684\u6708\u4EFD\u3002 \u6708\u4EFD\u662F\u4ECB\u4E8E 1\uFF08\u4E00\u6708\uFF09\u5230 12\uFF08\u5341\u4E8C\u6708\uFF09\u4E4B\u95F4\u7684\u6574\u6570\u3002",a:"\u8FD4\u56DE\u65E5\u671F\uFF08\u4EE5\u5E8F\u5217\u6570\u8868\u793A\uFF09\u4E2D\u7684\u6708\u4EFD\u3002 \u6708\u4EFD\u662F\u4ECB\u4E8E 1\uFF08\u4E00\u6708\uFF09\u5230 12\uFF08\u5341\u4E8C\u6708\uFF09\u4E4B\u95F4\u7684\u6574\u6570\u3002",p:[{name:"serial_number",detail:"\u8981\u4ECE\u4E2D\u63D0\u53D6\u6708\u4EFD\u7684\u65E5\u671F\u3002\u5FC5\u987B\u662F\u4EE5\u4E0B\u4E00\u79CD\uFF1A\u5BF9\u5305\u542B\u65E5\u671F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u7C7B\u578B\u7684\u51FD\u6570\u6216\u8005\u6570\u5B57\u3002"}]},EFFECT:{d:"\u6839\u636E\u540D\u4E49\u5229\u7387\u53CA\u6BCF\u5E74\u7684\u590D\u5229\u8BA1\u606F\u671F\u6570\u6765\u8BA1\u7B97\u5B9E\u9645\u5E74\u5229\u7387\u3002",a:"\u6839\u636E\u540D\u4E49\u5229\u7387\u53CA\u6BCF\u5E74\u7684\u590D\u5229\u8BA1\u606F\u671F\u6570\u6765\u8BA1\u7B97\u5B9E\u9645\u5E74\u5229\u7387\u3002",p:[{name:"nominal_rate",detail:"\u6BCF\u5E74\u7684\u540D\u4E49\u5229\u7387\u3002"},{name:"npery",detail:"\u6BCF\u5E74\u7684\u590D\u5229\u8BA1\u7B97\u671F\u6570\u3002"}]},DOLLAR:{d:"\u5C06\u6570\u5B57\u683C\u5F0F\u8BBE\u7F6E\u4E3A\u4E0E\u8BED\u8A00\u533A\u57DF\u76F8\u5BF9\u5E94\u7684\u8D27\u5E01\u683C\u5F0F\u3002",a:"\u5C06\u6570\u5B57\u683C\u5F0F\u8BBE\u7F6E\u4E3A\u4E0E\u8BED\u8A00\u533A\u57DF\u76F8\u5BF9\u5E94\u7684\u8D27\u5E01\u683C\u5F0F\u3002",p:[{name:"number",detail:"\u8981\u8BBE\u7F6E\u683C\u5F0F\u7684\u503C\u3002"},{name:"decimals",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 2] - \u8981\u663E\u793A\u7684\u5C0F\u6570\u4F4D\u6570\u3002
  162. \u5982\u679C\u8FD9\u662F\u8D1F\u6570\uFF0C\u5219\u5C06\u6570\u5B57\u56DB\u820D\u4E94\u5165\u5230\u5C0F\u6570\u70B9\u5DE6\u4FA7\u3002`}]},DOLLARDE:{d:"\u5C06\u4EE5\u6574\u6570\u90E8\u5206\u548C\u5206\u6570\u90E8\u5206\u8F6C\u6362\u4E3A\u4EE5\u5C0F\u6570\u90E8\u5206\u8868\u793A\u7684\u91D1\u989D\u6570\u5B57",a:"\u5C06\u4EE5\u6574\u6570\u90E8\u5206\u548C\u5206\u6570\u90E8\u5206\u8F6C\u6362\u4E3A\u4EE5\u5C0F\u6570\u90E8\u5206\u8868\u793A\u7684\u91D1\u989D\u6570\u5B57",p:[{name:"fractional_dollar",detail:"\u4EE5\u6574\u6570\u90E8\u4EFD\u548C\u5206\u6570\u90E8\u5206\u8868\u793A\u7684\u6570\u5B57\uFF0C\u7528\u5C0F\u6570\u70B9\u9694\u5F00\u3002"},{name:"fraction",detail:"\u7528\u4F5C\u5206\u6570\u4E2D\u7684\u5206\u6BCD\u7684\u6574\u6570\u3002"}]},DOLLARFR:{d:"\u5C06\u5C0F\u6570\u8F6C\u6362\u4E3A\u5206\u6570\u8868\u793A\u7684\u91D1\u989D\u6570\u5B57\u3002",a:"\u5C06\u5C0F\u6570\u8F6C\u6362\u4E3A\u5206\u6570\u8868\u793A\u7684\u91D1\u989D\u6570\u5B57\u3002",p:[{name:"decimal_dollar",detail:"\u5C0F\u6570\u3002"},{name:"fraction",detail:"\u7528\u4F5C\u5206\u6570\u4E2D\u7684\u5206\u6BCD\u7684\u6574\u6570\u3002"}]},DB:{d:"\u4F7F\u7528\u56FA\u5B9A\u4F59\u989D\u9012\u51CF\u6CD5\uFF0C\u8FD4\u56DE\u6307\u5B9A\u671F\u95F4\u5185\u67D0\u9879\u56FA\u5B9A\u8D44\u4EA7\u7684\u6298\u65E7\u503C\u3002",a:"\u4F7F\u7528\u56FA\u5B9A\u4F59\u989D\u9012\u51CF\u6CD5\uFF0C\u8FD4\u56DE\u6307\u5B9A\u671F\u95F4\u5185\u67D0\u9879\u56FA\u5B9A\u8D44\u4EA7\u7684\u6298\u65E7\u503C\u3002",p:[{name:"cost",detail:"\u8D44\u4EA7\u539F\u503C\u3002"},{name:"salvage",detail:"\u6298\u65E7\u672B\u5C3E\u65F6\u7684\u503C\uFF08\u6709\u65F6\u4E5F\u79F0\u4E3A\u8D44\u4EA7\u6B8B\u503C\uFF09\u3002"},{name:"life",detail:"\u8D44\u4EA7\u7684\u6298\u65E7\u671F\u6570\uFF08\u6709\u65F6\u4E5F\u79F0\u4F5C\u8D44\u4EA7\u7684\u4F7F\u7528\u5BFF\u547D\uFF09\u3002"},{name:"period",detail:"\u5728\u4F7F\u7528\u671F\u9650\u5185\u8981\u8BA1\u7B97\u6298\u65E7\u7684\u6298\u65E7\u671F\u3002"},{name:"month",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A12] - \u6298\u65E7\u7B2C\u4E00\u5E74\u4E2D\u7684\u6708\u6570\u3002"}]},DDB:{d:"\u7528\u53CC\u500D\u4F59\u989D\u9012\u51CF\u6CD5\uFF0C\u8FD4\u56DE\u6307\u5B9A\u671F\u95F4\u5185\u67D0\u9879\u56FA\u5B9A\u8D44\u4EA7\u7684\u6298\u65E7\u503C\u3002",a:"\u7528\u53CC\u500D\u4F59\u989D\u9012\u51CF\u6CD5\uFF0C\u8FD4\u56DE\u6307\u5B9A\u671F\u95F4\u5185\u67D0\u9879\u56FA\u5B9A\u8D44\u4EA7\u7684\u6298\u65E7\u503C\u3002",p:[{name:"cost",detail:"\u8D44\u4EA7\u539F\u503C\u3002"},{name:"salvage",detail:"\u6298\u65E7\u672B\u5C3E\u65F6\u7684\u503C\uFF08\u6709\u65F6\u4E5F\u79F0\u4E3A\u8D44\u4EA7\u6B8B\u503C\uFF09\u3002"},{name:"life",detail:"\u8D44\u4EA7\u7684\u6298\u65E7\u671F\u6570\uFF08\u6709\u65F6\u4E5F\u79F0\u4F5C\u8D44\u4EA7\u7684\u4F7F\u7528\u5BFF\u547D\uFF09\u3002"},{name:"period",detail:"\u5728\u4F7F\u7528\u671F\u9650\u5185\u8981\u8BA1\u7B97\u6298\u65E7\u7684\u6298\u65E7\u671F\u3002"},{name:"factor",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A2] - \u6298\u65E7\u7684\u9012\u51CF\u7CFB\u6570\u3002"}]},RATE:{d:"\u8FD4\u56DE\u5E74\u91D1\u6BCF\u671F\u7684\u5229\u7387\u3002",a:"\u8FD4\u56DE\u5E74\u91D1\u6BCF\u671F\u7684\u5229\u7387\u3002",p:[{name:"nper",detail:"\u5E74\u91D1\u7684\u4ED8\u6B3E\u603B\u671F\u6570\u3002"},{name:"pmt",detail:"\u6BCF\u671F\u7684\u4ED8\u6B3E\u91D1\u989D\uFF0C\u5728\u5E74\u91D1\u5468\u671F\u5185\u4E0D\u80FD\u66F4\u6539\u3002"},{name:"pv",detail:"\u73B0\u503C\u5373\u4E00\u7CFB\u5217\u672A\u6765\u4ED8\u6B3E\u5F53\u524D\u503C\u7684\u603B\u548C\u3002"},{name:"fv",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A0] - \u672A\u6765\u503C\uFF0C\u6216\u5728\u6700\u540E\u4E00\u6B21\u4ED8\u6B3E\u540E\u5E0C\u671B\u5F97\u5230\u7684\u73B0\u91D1\u4F59\u989D\u3002"},{name:"type",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u65F6\u95F4\u662F\u5728\u671F\u521D\u8FD8\u662F\u671F\u672B\u3002
  163. 0 \u8868\u793A\u671F\u672B\uFF1B
  164. 1 \u8868\u793A\u671F\u521D\u3002`},{name:"guess",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A0.1] - \u9884\u671F\u5229\u7387\u3002"}]},CUMPRINC:{d:"\u57FA\u4E8E\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\uFF0C\u8BA1\u7B97\u6295\u8D44\u5728\u591A\u4E2A\u4ED8\u6B3E\u671F\u5185\u7684\u7D2F\u8BA1\u672C\u91D1\u507F\u8FD8\u989D\u3002",a:"\u57FA\u4E8E\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\uFF0C\u8BA1\u7B97\u6295\u8D44\u5728\u591A\u4E2A\u4ED8\u6B3E\u671F\u5185\u7684\u7D2F\u8BA1\u672C\u91D1\u507F\u8FD8\u989D\u3002",p:[{name:"rate",detail:"\u5229\u7387\u3002"},{name:"nper",detail:"\u603B\u4ED8\u6B3E\u671F\u6570\u3002"},{name:"pv",detail:"\u5E74\u91D1\u7684\u73B0\u503C\u3002"},{name:"start_period",detail:`\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u7B97\u7684\u4ED8\u6B3E\u671F\u5E8F\u53F7\u3002
  165. \u9996\u671F\u5FC5\u987B\u5927\u4E8E\u7B49\u4E8E1\u3002`},{name:"end_period",detail:`\u7ED3\u675F\u7D2F\u8BA1\u8BA1\u7B97\u7684\u4ED8\u6B3E\u671F\u5E8F\u53F7\u3002
  166. \u672B\u671F\u5FC5\u987B\u5927\u4E8E\u9996\u671F\u3002`},{name:"type",detail:`\u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u65F6\u95F4\u662F\u5728\u671F\u521D\u8FD8\u662F\u671F\u672B\u3002
  167. 0 \u8868\u793A\u671F\u672B\uFF1B
  168. 1 \u8868\u793A\u671F\u521D\u3002`}]},COUPNUM:{d:"\u8FD4\u56DE\u5728\u7ED3\u7B97\u65E5\u548C\u5230\u671F\u65E5\u4E4B\u95F4\u7684\u4ED8\u606F\u6B21\u6570\uFF0C\u5411\u4E0A\u820D\u5165\u5230\u6700\u8FD1\u7684\u6574\u6570\u3002",a:"\u8FD4\u56DE\u5728\u7ED3\u7B97\u65E5\u548C\u5230\u671F\u65E5\u4E4B\u95F4\u7684\u4ED8\u606F\u6B21\u6570\uFF0C\u5411\u4E0A\u820D\u5165\u5230\u6700\u8FD1\u7684\u6574\u6570\u3002",p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002\u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
  169. \u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
  170. \u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
  171. \u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
  172. 0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
  173. 1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  174. 2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
  175. 3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
  176. 4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`}]},SYD:{d:"\u8FD4\u56DE\u5728\u6307\u5B9A\u671F\u95F4\u5185\u8D44\u4EA7\u6309\u5E74\u9650\u603B\u548C\u6298\u65E7\u6CD5\u8BA1\u7B97\u7684\u6298\u65E7\u3002",a:"\u8FD4\u56DE\u5728\u6307\u5B9A\u671F\u95F4\u5185\u8D44\u4EA7\u6309\u5E74\u9650\u603B\u548C\u6298\u65E7\u6CD5\u8BA1\u7B97\u7684\u6298\u65E7\u3002",p:[{name:"cost",detail:"\u8D44\u4EA7\u539F\u503C\u3002"},{name:"salvage",detail:"\u6298\u65E7\u672B\u5C3E\u65F6\u7684\u503C\uFF08\u6709\u65F6\u4E5F\u79F0\u4E3A\u8D44\u4EA7\u6B8B\u503C\uFF09\u3002"},{name:"life",detail:"\u8D44\u4EA7\u7684\u6298\u65E7\u671F\u6570\uFF08\u6709\u65F6\u4E5F\u79F0\u4F5C\u8D44\u4EA7\u7684\u4F7F\u7528\u5BFF\u547D\uFF09\u3002"},{name:"period",detail:"\u5728\u4F7F\u7528\u671F\u9650\u5185\u8981\u8BA1\u7B97\u6298\u65E7\u7684\u6298\u65E7\u671F\u3002"}]},TBILLEQ:{d:"\u57FA\u4E8E\u8D34\u73B0\u7387\u8BA1\u7B97\u7F8E\u56FD\u653F\u5E9C\u77ED\u671F\u503A\u5238\u7684\u7B49\u6548\u5E74\u5316\u6536\u76CA\u7387\u3002",a:"\u57FA\u4E8E\u8D34\u73B0\u7387\u8BA1\u7B97\u7F8E\u56FD\u653F\u5E9C\u77ED\u671F\u503A\u5238\u7684\u7B49\u6548\u5E74\u5316\u6536\u76CA\u7387\u3002",p:[{name:"settlement",detail:"\u503A\u5238\u7684\u7ED3\u7B97\u65E5\u671F\uFF0C\u6B64\u65E5\u671F\u4E3A\u503A\u5238\u53D1\u884C\u540E\u4EA4\u4ED8\u7ED9\u4E70\u5BB6\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u503A\u5238\u7684\u5230\u671F\u6216\u7ED3\u675F\u65E5\u671F\uFF0C\u5C4A\u65F6\u53EF\u5C06\u5176\u4EE5\u9762\u503C\u6216\u7968\u9762\u4EF7\u503C\u8D4E\u56DE\u3002"},{name:"discount",detail:"\u503A\u5238\u8D2D\u4E70\u65F6\u7684\u8D34\u73B0\u7387\u3002"}]},TBILLYIELD:{d:"\u57FA\u4E8E\u4EF7\u683C\u8BA1\u7B97\u7F8E\u56FD\u653F\u5E9C\u77ED\u671F\u503A\u5238\u7684\u6536\u76CA\u7387\u3002",a:"\u57FA\u4E8E\u4EF7\u683C\u8BA1\u7B97\u7F8E\u56FD\u653F\u5E9C\u77ED\u671F\u503A\u5238\u7684\u6536\u76CA\u7387\u3002",p:[{name:"settlement",detail:"\u503A\u5238\u7684\u7ED3\u7B97\u65E5\u671F\uFF0C\u6B64\u65E5\u671F\u4E3A\u503A\u5238\u53D1\u884C\u540E\u4EA4\u4ED8\u7ED9\u4E70\u5BB6\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u503A\u5238\u7684\u5230\u671F\u6216\u7ED3\u675F\u65E5\u671F\uFF0C\u5C4A\u65F6\u53EF\u5C06\u5176\u4EE5\u9762\u503C\u6216\u7968\u9762\u4EF7\u503C\u8D4E\u56DE\u3002"},{name:"pr",detail:"\u503A\u5238\u7684\u8D2D\u4E70\u4EF7\u683C\u3002"}]},TBILLPRICE:{d:"\u57FA\u4E8E\u8D34\u73B0\u7387\u8BA1\u7B97\u7F8E\u56FD\u653F\u5E9C\u77ED\u671F\u503A\u5238\u7684\u4EF7\u683C\u3002",a:"\u57FA\u4E8E\u8D34\u73B0\u7387\u8BA1\u7B97\u7F8E\u56FD\u653F\u5E9C\u77ED\u671F\u503A\u5238\u7684\u4EF7\u683C\u3002",p:[{name:"settlement",detail:"\u503A\u5238\u7684\u7ED3\u7B97\u65E5\u671F\uFF0C\u6B64\u65E5\u671F\u4E3A\u503A\u5238\u53D1\u884C\u540E\u4EA4\u4ED8\u7ED9\u4E70\u5BB6\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u503A\u5238\u7684\u5230\u671F\u6216\u7ED3\u675F\u65E5\u671F\uFF0C\u5C4A\u65F6\u53EF\u5C06\u5176\u4EE5\u9762\u503C\u6216\u7968\u9762\u4EF7\u503C\u8D4E\u56DE\u3002"},{name:"discount",detail:"\u503A\u5238\u8D2D\u4E70\u65F6\u7684\u8D34\u73B0\u7387\u3002"}]},PV:{d:"\u57FA\u4E8E\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\uFF0C\u8BA1\u7B97\u5E74\u91D1\u6295\u8D44\u7684\u73B0\u503C\u3002",a:"\u57FA\u4E8E\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\uFF0C\u8BA1\u7B97\u5E74\u91D1\u6295\u8D44\u7684\u73B0\u503C\u3002",p:[{name:"rate",detail:"\u5404\u671F\u5229\u7387\u3002"},{name:"nper",detail:"\u5E74\u91D1\u7684\u4ED8\u6B3E\u603B\u671F\u6570\u3002"},{name:"pmt",detail:"\u6BCF\u671F\u7684\u4ED8\u6B3E\u91D1\u989D\uFF0C\u5728\u5E74\u91D1\u5468\u671F\u5185\u4E0D\u80FD\u66F4\u6539\u3002"},{name:"fv",detail:"[\u53EF\u9009] - \u672A\u6765\u503C\uFF0C\u6216\u5728\u6700\u540E\u4E00\u6B21\u4ED8\u6B3E\u540E\u5E0C\u671B\u5F97\u5230\u7684\u73B0\u91D1\u4F59\u989D\u3002"},{name:"type",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u65F6\u95F4\u662F\u5728\u671F\u521D\u8FD8\u662F\u671F\u672B\u3002
  177. 0 \u8868\u793A\u671F\u672B\uFF1B
  178. 1 \u8868\u793A\u671F\u521D\u3002`}]},ACCRINT:{d:"\u8FD4\u56DE\u5B9A\u671F\u4ED8\u606F\u8BC1\u5238\u7684\u5E94\u8BA1\u5229\u606F\u3002",a:"\u8FD4\u56DE\u5B9A\u671F\u4ED8\u606F\u8BC1\u5238\u7684\u5E94\u8BA1\u5229\u606F\u3002",p:[{name:"issue",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u53D1\u884C\u65E5\u3002"},{name:"first_interest",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u9996\u6B21\u8BA1\u606F\u65E5\u3002"},{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002"},{name:"rate",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002"},{name:"par",detail:"\u8BC1\u5238\u7684\u7968\u9762\u503C\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
  179. \u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
  180. \u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
  181. \u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
  182. 0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
  183. 1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  184. 2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
  185. 3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
  186. 4\u8868\u793A\u201C\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5\u201D - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`},{name:"calc_method",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3ATRUE()] - \u4E00\u4E2A\u903B\u8F91\u503C\uFF0C\u6307\u5B9A\u5F53\u7ED3\u7B97\u65E5\u671F\u665A\u4E8E\u9996\u6B21\u8BA1\u606F\u65E5\u671F\u65F6\u7528\u4E8E\u8BA1\u7B97\u603B\u5E94\u8BA1\u5229\u606F\u7684\u65B9\u6CD5\u3002
  187. \u5982\u679C\u503C\u4E3A TRUE\uFF0C\u5219\u8FD4\u56DE\u4ECE\u53D1\u884C\u65E5\u5230\u7ED3\u7B97\u65E5\u7684\u603B\u5E94\u8BA1\u5229\u606F\u3002
  188. \u5982\u679C\u503C\u4E3A FALSE\uFF0C\u5219\u8FD4\u56DE\u4ECE\u9996\u6B21\u8BA1\u606F\u65E5\u5230\u7ED3\u7B97\u65E5\u7684\u5E94\u8BA1\u5229\u606F\u3002`}]},ACCRINTM:{d:"\u8FD4\u56DE\u5728\u5230\u671F\u65E5\u652F\u4ED8\u5229\u606F\u7684\u6709\u4EF7\u8BC1\u5238\u7684\u5E94\u8BA1\u5229\u606F\u3002",a:"\u8FD4\u56DE\u5728\u5230\u671F\u65E5\u652F\u4ED8\u5229\u606F\u7684\u6709\u4EF7\u8BC1\u5238\u7684\u5E94\u8BA1\u5229\u606F\u3002",p:[{name:"issue",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u53D1\u884C\u65E5\u3002"},{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002"},{name:"rate",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002"},{name:"par",detail:"\u8BC1\u5238\u7684\u7968\u9762\u503C\u3002"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
  189. 0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
  190. 1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  191. 2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
  192. 3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
  193. 4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`}]},COUPDAYBS:{d:"\u8FD4\u56DE\u4ECE\u4ED8\u606F\u671F\u5F00\u59CB\u5230\u7ED3\u7B97\u65E5\u7684\u5929\u6570\u3002",a:"\u8FD4\u56DE\u4ECE\u4ED8\u606F\u671F\u5F00\u59CB\u5230\u7ED3\u7B97\u65E5\u7684\u5929\u6570\u3002",p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
  194. \u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
  195. \u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
  196. \u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
  197. 0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
  198. 1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  199. 2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
  200. 3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
  201. 4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`}]},COUPDAYS:{d:"\u8FD4\u56DE\u7ED3\u7B97\u65E5\u6240\u5728\u7684\u4ED8\u606F\u671F\u7684\u5929\u6570\u3002",a:"\u8FD4\u56DE\u7ED3\u7B97\u65E5\u6240\u5728\u7684\u4ED8\u606F\u671F\u7684\u5929\u6570\u3002",p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
  202. \u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
  203. \u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
  204. \u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
  205. 0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
  206. 1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  207. 2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
  208. 3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
  209. 4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`}]},COUPDAYSNC:{d:"\u8FD4\u56DE\u4ECE\u7ED3\u7B97\u65E5\u5230\u4E0B\u4E00\u7968\u606F\u652F\u4ED8\u65E5\u4E4B\u95F4\u7684\u5929\u6570\u3002",a:"\u8FD4\u56DE\u4ECE\u7ED3\u7B97\u65E5\u5230\u4E0B\u4E00\u7968\u606F\u652F\u4ED8\u65E5\u4E4B\u95F4\u7684\u5929\u6570\u3002",p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
  210. \u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
  211. \u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
  212. \u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
  213. 0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
  214. 1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  215. 2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
  216. 3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
  217. 4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`}]},COUPNCD:{d:"\u8BA1\u7B97\u7ED3\u7B97\u65E5\u4E4B\u540E\u7684\u4E0B\u4E00\u7968\u606F\u6216\u5229\u606F\u6D3E\u53D1\u65E5\u671F\u3002",a:"\u8BA1\u7B97\u7ED3\u7B97\u65E5\u4E4B\u540E\u7684\u4E0B\u4E00\u7968\u606F\u6216\u5229\u606F\u6D3E\u53D1\u65E5\u671F\u3002",p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
  218. \u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
  219. \u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
  220. \u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
  221. 0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
  222. 1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  223. 2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
  224. 3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
  225. 4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`}]},COUPPCD:{d:"\u8BA1\u7B97\u7ED3\u7B97\u65E5\u4E4B\u524D\u7684\u6700\u540E\u4E00\u4E2A\u7968\u606F\u6216\u5229\u606F\u652F\u4ED8\u65E5\u3002",a:"\u8BA1\u7B97\u7ED3\u7B97\u65E5\u4E4B\u524D\u7684\u6700\u540E\u4E00\u4E2A\u7968\u606F\u6216\u5229\u606F\u652F\u4ED8\u65E5\u3002",p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
  226. \u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
  227. \u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
  228. \u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
  229. 0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
  230. 1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  231. 2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
  232. 3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
  233. 4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`}]},FV:{d:"\u57FA\u4E8E\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\uFF0C\u8BA1\u7B97\u5E74\u91D1\u6295\u8D44\u7684\u672A\u6765\u4EF7\u503C\u3002",a:"\u57FA\u4E8E\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\uFF0C\u8BA1\u7B97\u5E74\u91D1\u6295\u8D44\u7684\u672A\u6765\u4EF7\u503C\u3002",p:[{name:"rate",detail:"\u5404\u671F\u5229\u7387\u3002"},{name:"nper",detail:"\u5E74\u91D1\u7684\u4ED8\u6B3E\u603B\u671F\u6570\u3002"},{name:"pmt",detail:"\u5404\u671F\u6240\u5E94\u652F\u4ED8\u7684\u91D1\u989D\uFF0C\u5728\u6574\u4E2A\u5E74\u91D1\u671F\u95F4\u4FDD\u6301\u4E0D\u53D8\u3002"},{name:"pv",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 0 ] - \u73B0\u503C\uFF0C\u6216\u4E00\u7CFB\u5217\u672A\u6765\u4ED8\u6B3E\u7684\u5F53\u524D\u503C\u7684\u7D2F\u79EF\u548C\u3002"},{name:"type",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 0 ] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u65F6\u95F4\u662F\u5728\u671F\u521D\u8FD8\u662F\u671F\u672B\u3002
  234. 0 \u8868\u793A\u671F\u672B\uFF1B
  235. 1 \u8868\u793A\u671F\u521D\u3002`}]},FVSCHEDULE:{d:"\u8FD4\u56DE\u5E94\u7528\u4E00\u7CFB\u5217\u590D\u5229\u7387\u8BA1\u7B97\u7684\u521D\u59CB\u672C\u91D1\u7684\u672A\u6765\u503C\u3002",a:"\u8FD4\u56DE\u5E94\u7528\u4E00\u7CFB\u5217\u590D\u5229\u7387\u8BA1\u7B97\u7684\u521D\u59CB\u672C\u91D1\u7684\u672A\u6765\u503C\u3002",p:[{name:"principal",detail:"\u73B0\u503C\u3002"},{name:"schedule",detail:`\u7528\u4E8E\u8BA1\u7B97\u672C\u91D1\u590D\u5229\u7684\u4E00\u7EC4\u5229\u7387\u3002
  236. \u5229\u7387\u8868\u5FC5\u987B\u662F\u8303\u56F4\u6216\u6570\u7EC4\uFF0C\u5176\u4E2D\u5305\u542B\u8981\u7528\u4E8E\u8BA1\u7B97\u590D\u5229\u7684\u4E00\u7EC4\u5229\u7387\u3002\u8FD9\u4E9B\u5229\u7387\u503C\u5E94\u8BE5\u4EE5\u5341\u8FDB\u5236\u5C0F\u6570\u5F62\u5F0F\u8868\u793A\uFF0C\u6216\u8005\u4F7F\u7528UNARY_PERCENT\u4EE5\u767E\u5206\u6BD4\u5F62\u5F0F\u8868\u793A\uFF0C\u5373\u8868\u793A\u4E3A0.09\u6216UNARY_PERCENT(9)\uFF0C\u800C\u4E0D\u8981\u8868\u793A\u4E3A9\u3002`}]},YIELD:{d:"\u8FD4\u56DE\u5B9A\u671F\u652F\u4ED8\u5229\u606F\u7684\u503A\u5238\u7684\u6536\u76CA\u7387\u3002",a:"\u8FD4\u56DE\u5B9A\u671F\u652F\u4ED8\u5229\u606F\u7684\u503A\u5238\u7684\u6536\u76CA\u7387\u3002",p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002"},{name:"rate",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002"},{name:"pr",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u4EF7\u683C\u3002"},{name:"redemption",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u6E05\u507F\u4EF7\u503C\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
  237. \u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
  238. \u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
  239. \u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
  240. 0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
  241. 1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  242. 2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
  243. 3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
  244. 4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`}]},YIELDDISC:{d:"\u57FA\u4E8E\u4EF7\u683C\u8BA1\u7B97\u6298\u4EF7\u53D1\u884C\u7684\uFF08\u4E0D\u5E26\u606F\uFF09\u503A\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002",a:"\u57FA\u4E8E\u4EF7\u683C\u8BA1\u7B97\u6298\u4EF7\u53D1\u884C\u7684\uFF08\u4E0D\u5E26\u606F\uFF09\u503A\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002",p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002"},{name:"pr",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u4EF7\u683C\u3002"},{name:"redemption",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u6E05\u507F\u4EF7\u503C\u3002"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
  245. 0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
  246. 1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  247. 2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
  248. 3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
  249. 4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`}]},NOMINAL:{d:"\u57FA\u4E8E\u7ED9\u5B9A\u7684\u5B9E\u9645\u5229\u7387\u548C\u5E74\u590D\u5229\u671F\u6570\uFF0C\u8FD4\u56DE\u540D\u4E49\u5E74\u5229\u7387\u3002",a:"\u57FA\u4E8E\u7ED9\u5B9A\u7684\u5B9E\u9645\u5229\u7387\u548C\u5E74\u590D\u5229\u671F\u6570\uFF0C\u8FD4\u56DE\u540D\u4E49\u5E74\u5229\u7387\u3002",p:[{name:"effect_rate",detail:"\u6BCF\u5E74\u7684\u5B9E\u9645\u5229\u7387\u3002"},{name:"npery",detail:"\u6BCF\u5E74\u7684\u590D\u5229\u671F\u6570\u3002"}]},XIRR:{d:"\u8FD4\u56DE\u4E00\u7EC4\u4E0D\u4E00\u5B9A\u5B9A\u671F\u53D1\u751F\u7684\u73B0\u91D1\u6D41\u7684\u5185\u90E8\u6536\u76CA\u7387\u3002",a:"\u8FD4\u56DE\u4E00\u7EC4\u4E0D\u4E00\u5B9A\u5B9A\u671F\u53D1\u751F\u7684\u73B0\u91D1\u6D41\u7684\u5185\u90E8\u6536\u76CA\u7387\u3002",p:[{name:"values",detail:`\u5176\u4E2D\u542B\u6709\u6295\u8D44\u76F8\u5173\u6536\u76CA\u6216\u652F\u51FA\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002
  250. \u73B0\u91D1\u6D41\u6570\u989D\u4E2D\u5FC5\u987B\u81F3\u5C11\u5305\u542B\u4E00\u9879\u8D1F\u7684\u548C\u4E00\u9879\u6B63\u7684\u73B0\u91D1\u6D41\u91D1\u989D\u624D\u80FD\u8BA1\u7B97\u56DE\u62A5\u7387\u3002`},{name:"dates",detail:"\u4E0E\u73B0\u91D1\u6D41\u6570\u989D\u53C2\u6570\u4E2D\u7684\u73B0\u91D1\u6D41\u5BF9\u5E94\u7684\u65E5\u671F\u6570\u7EC4\u6216\u8303\u56F4\u3002"},{name:"guess",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A0.1] - \u5BF9\u5185\u90E8\u56DE\u62A5\u7387\u7684\u4F30\u7B97\u503C\u3002"}]},MIRR:{d:"\u8FD4\u56DE\u4E00\u7CFB\u5217\u5B9A\u671F\u73B0\u91D1\u6D41\u7684\u4FEE\u6539\u540E\u5185\u90E8\u6536\u76CA\u7387\u3002",a:"\u8FD4\u56DE\u4E00\u7CFB\u5217\u5B9A\u671F\u73B0\u91D1\u6D41\u7684\u4FEE\u6539\u540E\u5185\u90E8\u6536\u76CA\u7387\u3002",p:[{name:"values",detail:`\u5176\u4E2D\u542B\u6709\u6295\u8D44\u76F8\u5173\u6536\u76CA\u6216\u652F\u51FA\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002
  251. \u73B0\u91D1\u6D41\u6570\u989D\u4E2D\u5FC5\u987B\u81F3\u5C11\u5305\u542B\u4E00\u9879\u8D1F\u7684\u548C\u4E00\u9879\u6B63\u7684\u73B0\u91D1\u6D41\u91D1\u989D\u624D\u80FD\u8BA1\u7B97\u56DE\u62A5\u7387\u3002`},{name:"finance_rate",detail:"\u73B0\u91D1\u6D41\u4E2D\u4F7F\u7528\u7684\u8D44\u91D1\u652F\u4ED8\u7684\u5229\u7387\u3002"},{name:"reinvest_rate",detail:"\u5C06\u73B0\u91D1\u6D41\u518D\u6295\u8D44\u7684\u6536\u76CA\u7387\u3002"}]},IRR:{d:"\u8FD4\u56DE\u7531\u503C\u4E2D\u7684\u6570\u5B57\u8868\u793A\u7684\u4E00\u7CFB\u5217\u73B0\u91D1\u6D41\u7684\u5185\u90E8\u6536\u76CA\u7387\u3002 ",a:"\u8FD4\u56DE\u7531\u503C\u4E2D\u7684\u6570\u5B57\u8868\u793A\u7684\u4E00\u7CFB\u5217\u73B0\u91D1\u6D41\u7684\u5185\u90E8\u6536\u76CA\u7387\u3002 ",p:[{name:"values",detail:`\u5176\u4E2D\u542B\u6709\u6295\u8D44\u76F8\u5173\u6536\u76CA\u6216\u652F\u51FA\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002
  252. \u73B0\u91D1\u6D41\u6570\u989D\u4E2D\u5FC5\u987B\u81F3\u5C11\u5305\u542B\u4E00\u9879\u8D1F\u7684\u548C\u4E00\u9879\u6B63\u7684\u73B0\u91D1\u6D41\u91D1\u989D\u624D\u80FD\u8BA1\u7B97\u56DE\u62A5\u7387\u3002`},{name:"guess",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A 0.1] - \u5185\u90E8\u6536\u76CA\u7387\u7684\u4F30\u503C\u3002"}]},NPV:{d:"\u4F7F\u7528\u8D34\u73B0\u7387\u548C\u4E00\u7CFB\u5217\u672A\u6765\u652F\u51FA\uFF08\u8D1F\u503C\uFF09\u548C\u6536\u76CA\uFF08\u6B63\u503C\uFF09\u6765\u8BA1\u7B97\u4E00\u9879\u6295\u8D44\u7684\u51C0\u73B0\u503C\u3002",a:"\u4F7F\u7528\u8D34\u73B0\u7387\u548C\u4E00\u7CFB\u5217\u672A\u6765\u652F\u51FA\uFF08\u8D1F\u503C\uFF09\u548C\u6536\u76CA\uFF08\u6B63\u503C\uFF09\u6765\u8BA1\u7B97\u4E00\u9879\u6295\u8D44\u7684\u51C0\u73B0\u503C\u3002",p:[{name:"rate",detail:"\u67D0\u4E00\u671F\u95F4\u7684\u8D34\u73B0\u7387\u3002"},{name:"value1",detail:"\u7B2C\u4E00\u7B14\u652F\u51FA\uFF08\u8D1F\u503C\uFF09\u548C\u6536\u76CA\uFF08\u6B63\u503C\uFF09\u3002"},{name:"value2, ...",detail:"[\u53EF\u9009] - \u5176\u4ED6\u652F\u51FA\uFF08\u8D1F\u503C\uFF09\u548C\u6536\u76CA\uFF08\u6B63\u503C\uFF09\u3002"}]},XNPV:{d:"\u8FD4\u56DE\u4E00\u7EC4\u73B0\u91D1\u6D41\u7684\u51C0\u73B0\u503C\uFF0C\u8FD9\u4E9B\u73B0\u91D1\u6D41\u4E0D\u4E00\u5B9A\u5B9A\u671F\u53D1\u751F\u3002",a:"\u8FD4\u56DE\u4E00\u7EC4\u73B0\u91D1\u6D41\u7684\u51C0\u73B0\u503C\uFF0C\u8FD9\u4E9B\u73B0\u91D1\u6D41\u4E0D\u4E00\u5B9A\u5B9A\u671F\u53D1\u751F\u3002",p:[{name:"rate",detail:"\u5E94\u7528\u4E8E\u73B0\u91D1\u6D41\u7684\u8D34\u73B0\u7387\u3002"},{name:"values",detail:"\u4E0E dates \u4E2D\u7684\u652F\u4ED8\u65F6\u95F4\u76F8\u5BF9\u5E94\u7684\u4E00\u7CFB\u5217\u73B0\u91D1\u6D41\u3002"},{name:"dates",detail:"\u4E0E\u73B0\u91D1\u6D41\u652F\u4ED8\u76F8\u5BF9\u5E94\u7684\u652F\u4ED8\u65E5\u671F\u8868\u3002"}]},CUMIPMT:{d:"\u57FA\u4E8E\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\uFF0C\u8BA1\u7B97\u6295\u8D44\u5728\u4E00\u7CFB\u5217\u4ED8\u6B3E\u671F\u5185\u7684\u7D2F\u8BA1\u5229\u606F\u3002",a:"\u57FA\u4E8E\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\uFF0C\u8BA1\u7B97\u6295\u8D44\u5728\u4E00\u7CFB\u5217\u4ED8\u6B3E\u671F\u5185\u7684\u7D2F\u8BA1\u5229\u606F\u3002",p:[{name:"rate",detail:"\u5229\u606F\u7387\u3002"},{name:"nper",detail:"\u603B\u4ED8\u6B3E\u671F\u6570\u3002"},{name:"pv",detail:"\u73B0\u503C\u3002"},{name:"start_period",detail:`\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u7B97\u7684\u4ED8\u6B3E\u671F\u5E8F\u53F7\u3002
  253. \u9996\u671F\u5FC5\u987B\u5927\u4E8E\u7B49\u4E8E1\u3002`},{name:"end_period",detail:`\u7ED3\u675F\u7D2F\u8BA1\u8BA1\u7B97\u7684\u4ED8\u6B3E\u671F\u5E8F\u53F7\u3002
  254. \u672B\u671F\u5FC5\u987B\u5927\u4E8E\u9996\u671F\u3002`},{name:"type",detail:`\u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u65F6\u95F4\u662F\u5728\u671F\u521D\u8FD8\u662F\u671F\u672B\u3002
  255. 0 \u8868\u793A\u671F\u672B\uFF1B
  256. 1 \u8868\u793A\u671F\u521D\u3002`}]},PMT:{d:"\u7528\u4E8E\u6839\u636E\u56FA\u5B9A\u4ED8\u6B3E\u989D\u548C\u56FA\u5B9A\u5229\u7387\u8BA1\u7B97\u8D37\u6B3E\u7684\u4ED8\u6B3E\u989D\u3002",a:"\u7528\u4E8E\u6839\u636E\u56FA\u5B9A\u4ED8\u6B3E\u989D\u548C\u56FA\u5B9A\u5229\u7387\u8BA1\u7B97\u8D37\u6B3E\u7684\u4ED8\u6B3E\u989D\u3002",p:[{name:"rate",detail:"\u8D37\u6B3E\u5229\u7387\u3002"},{name:"nper",detail:"\u8BE5\u9879\u8D37\u6B3E\u7684\u4ED8\u6B3E\u603B\u6570\u3002"},{name:"pv",detail:"\u73B0\u503C\uFF0C\u6216\u4E00\u7CFB\u5217\u672A\u6765\u4ED8\u6B3E\u989D\u73B0\u5728\u6240\u503C\u7684\u603B\u989D\uFF0C\u4E5F\u53EB\u672C\u91D1\u3002"},{name:"fv",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 0] - \u672A\u6765\u503C\uFF0C\u6216\u5728\u6700\u540E\u4E00\u6B21\u4ED8\u6B3E\u540E\u5E0C\u671B\u5F97\u5230\u7684\u73B0\u91D1\u4F59\u989D\u3002"},{name:"type",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u65F6\u95F4\u662F\u5728\u671F\u521D\u8FD8\u662F\u671F\u672B\u3002
  257. 0 \u8868\u793A\u671F\u672B\uFF1B
  258. 1 \u8868\u793A\u671F\u521D\u3002`}]},IPMT:{d:"\u57FA\u4E8E\u56FA\u5B9A\u5229\u7387\u53CA\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u65B9\u5F0F\uFF0C\u8FD4\u56DE\u7ED9\u5B9A\u671F\u6570\u5185\u5BF9\u6295\u8D44\u7684\u5229\u606F\u507F\u8FD8\u989D\u3002",a:"\u57FA\u4E8E\u56FA\u5B9A\u5229\u7387\u53CA\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u65B9\u5F0F\uFF0C\u8FD4\u56DE\u7ED9\u5B9A\u671F\u6570\u5185\u5BF9\u6295\u8D44\u7684\u5229\u606F\u507F\u8FD8\u989D\u3002",p:[{name:"rate",detail:"\u5404\u671F\u5229\u7387\u3002"},{name:"per",detail:"\u7528\u4E8E\u8BA1\u7B97\u5176\u5229\u606F\u6570\u989D\u7684\u671F\u6570\uFF0C\u5FC5\u987B\u5728 1 \u5230 nper \u4E4B\u95F4\u3002"},{name:"nper",detail:"\u5E74\u91D1\u7684\u4ED8\u6B3E\u603B\u671F\u6570\u3002"},{name:"pv",detail:"\u73B0\u503C\uFF0C\u6216\u4E00\u7CFB\u5217\u672A\u6765\u4ED8\u6B3E\u7684\u5F53\u524D\u503C\u7684\u7D2F\u79EF\u548C\u3002"},{name:"fv",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 0] - \u672A\u6765\u503C\uFF0C\u6216\u5728\u6700\u540E\u4E00\u6B21\u4ED8\u6B3E\u540E\u5E0C\u671B\u5F97\u5230\u7684\u73B0\u91D1\u4F59\u989D\u3002"},{name:"type",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u65F6\u95F4\u662F\u5728\u671F\u521D\u8FD8\u662F\u671F\u672B\u3002
  259. 0 \u8868\u793A\u671F\u672B\uFF1B
  260. 1 \u8868\u793A\u671F\u521D\u3002`}]},PPMT:{d:"\u8FD4\u56DE\u6839\u636E\u5B9A\u671F\u56FA\u5B9A\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\u800C\u5B9A\u7684\u6295\u8D44\u5728\u5DF2\u77E5\u671F\u95F4\u5185\u7684\u672C\u91D1\u507F\u4ED8\u989D\u3002",a:"\u8FD4\u56DE\u6839\u636E\u5B9A\u671F\u56FA\u5B9A\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\u800C\u5B9A\u7684\u6295\u8D44\u5728\u5DF2\u77E5\u671F\u95F4\u5185\u7684\u672C\u91D1\u507F\u4ED8\u989D\u3002",p:[{name:"rate",detail:"\u5404\u671F\u5229\u7387\u3002"},{name:"per",detail:"\u6307\u5B9A\u671F\u6570\uFF0C\u8BE5\u503C\u5FC5\u987B\u5728 1 \u5230 nper \u8303\u56F4\u5185\u3002"},{name:"nper",detail:"\u5E74\u91D1\u7684\u4ED8\u6B3E\u603B\u671F\u6570\u3002"},{name:"pv",detail:"\u73B0\u503C\u5373\u4E00\u7CFB\u5217\u672A\u6765\u4ED8\u6B3E\u5F53\u524D\u503C\u7684\u603B\u548C\u3002"},{name:"fv",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 0] - \u672A\u6765\u503C\uFF0C\u6216\u5728\u6700\u540E\u4E00\u6B21\u4ED8\u6B3E\u540E\u5E0C\u671B\u5F97\u5230\u7684\u73B0\u91D1\u4F59\u989D\u3002"},{name:"type",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u65F6\u95F4\u662F\u5728\u671F\u521D\u8FD8\u662F\u671F\u672B\u3002
  261. 0 \u8868\u793A\u671F\u672B\uFF1B
  262. 1 \u8868\u793A\u671F\u521D\u3002`}]},INTRATE:{d:"\u8FD4\u56DE\u5B8C\u5168\u6295\u8D44\u578B\u8BC1\u5238\u7684\u5229\u7387\u3002",a:"\u8FD4\u56DE\u5B8C\u5168\u6295\u8D44\u578B\u8BC1\u5238\u7684\u5229\u7387\u3002",p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002"},{name:"investment",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u6295\u8D44\u989D\u3002"},{name:"redemption",detail:"\u6709\u4EF7\u8BC1\u5238\u5230\u671F\u65F6\u7684\u5151\u6362\u503C\u3002"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
  263. 0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
  264. 1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  265. 2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
  266. 3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
  267. 4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`}]},PRICE:{d:"\u8FD4\u56DE\u5B9A\u671F\u4ED8\u606F\u7684\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684\u4EF7\u683C\u3002",a:"\u8FD4\u56DE\u5B9A\u671F\u4ED8\u606F\u7684\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684\u4EF7\u683C\u3002",p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002"},{name:"rate",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002"},{name:"yld",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002"},{name:"redemption",detail:"\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684\u6E05\u507F\u4EF7\u503C\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
  268. \u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
  269. \u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
  270. \u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
  271. 0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
  272. 1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  273. 2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
  274. 3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
  275. 4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`}]},PRICEDISC:{d:"\u8FD4\u56DE\u6298\u4EF7\u53D1\u884C\u7684\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684\u4EF7\u683C\u3002",a:"\u8FD4\u56DE\u6298\u4EF7\u53D1\u884C\u7684\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684\u4EF7\u683C\u3002",p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002"},{name:"discount",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u8D34\u73B0\u7387\u3002"},{name:"redemption",detail:"\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684\u6E05\u507F\u4EF7\u503C\u3002"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
  276. 0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
  277. 1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  278. 2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
  279. 3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
  280. 4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`}]},PRICEMAT:{d:"\u8FD4\u56DE\u5230\u671F\u4ED8\u606F\u7684\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684\u4EF7\u683C\u3002",a:"\u8FD4\u56DE\u5230\u671F\u4ED8\u606F\u7684\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684\u4EF7\u683C\u3002",p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002"},{name:"issue",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u53D1\u884C\u65E5\u3002"},{name:"rate",detail:"\u6709\u4EF7\u8BC1\u5238\u5728\u53D1\u884C\u65E5\u7684\u5229\u7387\u3002"},{name:"yld",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
  281. 0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
  282. 1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  283. 2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
  284. 3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
  285. 4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`}]},RECEIVED:{d:"\u8FD4\u56DE\u4E00\u6B21\u6027\u4ED8\u606F\u7684\u6709\u4EF7\u8BC1\u5238\u5230\u671F\u6536\u56DE\u7684\u91D1\u989D\u3002",a:"\u8FD4\u56DE\u4E00\u6B21\u6027\u4ED8\u606F\u7684\u6709\u4EF7\u8BC1\u5238\u5230\u671F\u6536\u56DE\u7684\u91D1\u989D\u3002",p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002"},{name:"investment",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u6295\u8D44\u989D\u3002"},{name:"discount",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u8D34\u73B0\u7387\u3002"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
  286. 0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
  287. 1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  288. 2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
  289. 3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
  290. 4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`}]},DISC:{d:"\u8FD4\u56DE\u6709\u4EF7\u8BC1\u5238\u7684\u8D34\u73B0\u7387\u3002",a:"\u8FD4\u56DE\u6709\u4EF7\u8BC1\u5238\u7684\u8D34\u73B0\u7387\u3002",p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002"},{name:"pr",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u4EF7\u683C\uFF08\u6309\u9762\u503C\u4E3A \uFFE5100 \u8BA1\u7B97\uFF09\u3002"},{name:"redemption",detail:"\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684\u6E05\u507F\u4EF7\u503C\u3002"},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
  291. 0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
  292. 1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  293. 2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
  294. 3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
  295. 4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`}]},NPER:{d:"\u57FA\u4E8E\u56FA\u5B9A\u5229\u7387\u53CA\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u65B9\u5F0F\uFF0C\u8FD4\u56DE\u67D0\u9879\u6295\u8D44\u7684\u603B\u671F\u6570\u3002",a:"\u57FA\u4E8E\u56FA\u5B9A\u5229\u7387\u53CA\u7B49\u989D\u5206\u671F\u4ED8\u6B3E\u65B9\u5F0F\uFF0C\u8FD4\u56DE\u67D0\u9879\u6295\u8D44\u7684\u603B\u671F\u6570\u3002",p:[{name:"rate",detail:"\u5404\u671F\u5229\u7387\u3002"},{name:"pmt",detail:"\u5404\u671F\u6240\u5E94\u652F\u4ED8\u7684\u91D1\u989D\uFF0C\u5728\u6574\u4E2A\u5E74\u91D1\u671F\u95F4\u4FDD\u6301\u4E0D\u53D8\u3002"},{name:"pv",detail:"\u73B0\u503C\uFF0C\u6216\u4E00\u7CFB\u5217\u672A\u6765\u4ED8\u6B3E\u7684\u5F53\u524D\u503C\u7684\u7D2F\u79EF\u548C\u3002"},{name:"fv",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A0] - \u672A\u6765\u503C\uFF0C\u6216\u5728\u6700\u540E\u4E00\u6B21\u4ED8\u6B3E\u540E\u5E0C\u671B\u5F97\u5230\u7684\u73B0\u91D1\u4F59\u989D\u3002"},{name:"type",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u65F6\u95F4\u662F\u5728\u671F\u521D\u8FD8\u662F\u671F\u672B\u3002
  296. 0 \u8868\u793A\u671F\u672B\uFF1B
  297. 1 \u8868\u793A\u671F\u521D\u3002`}]},SLN:{d:"\u8FD4\u56DE\u4E00\u4E2A\u671F\u95F4\u5185\u7684\u8D44\u4EA7\u7684\u76F4\u7EBF\u6298\u65E7\u3002",a:"\u8FD4\u56DE\u4E00\u4E2A\u671F\u95F4\u5185\u7684\u8D44\u4EA7\u7684\u76F4\u7EBF\u6298\u65E7\u3002",p:[{name:"cost",detail:"\u8D44\u4EA7\u539F\u503C\u3002"},{name:"salvage",detail:"\u6298\u65E7\u672B\u5C3E\u65F6\u7684\u503C\uFF08\u6709\u65F6\u4E5F\u79F0\u4E3A\u8D44\u4EA7\u6B8B\u503C\uFF09\u3002"},{name:"life",detail:"\u8D44\u4EA7\u7684\u6298\u65E7\u671F\u6570\uFF08\u6709\u65F6\u4E5F\u79F0\u4F5C\u8D44\u4EA7\u7684\u4F7F\u7528\u5BFF\u547D\uFF09\u3002"}]},DURATION:{d:"\u8FD4\u56DE\u5047\u8BBE\u9762\u503C \uFFE5100 \u7684\u5B9A\u671F\u4ED8\u606F\u6709\u4EF7\u8BC1\u5238\u7684\u4FEE\u6B63\u671F\u9650\u3002",a:"\u8FD4\u56DE\u5047\u8BBE\u9762\u503C \uFFE5100 \u7684\u5B9A\u671F\u4ED8\u606F\u6709\u4EF7\u8BC1\u5238\u7684\u4FEE\u6B63\u671F\u9650\u3002",p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002"},{name:"coupon",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002"},{name:"yld",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
  298. \u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
  299. \u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
  300. \u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
  301. 0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
  302. 1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  303. 2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
  304. 3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
  305. 4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`}]},MDURATION:{d:"\u8FD4\u56DE\u5047\u8BBE\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684 Macauley \u4FEE\u6B63\u671F\u9650\u3002",a:"\u8FD4\u56DE\u5047\u8BBE\u9762\u503C \uFFE5100 \u7684\u6709\u4EF7\u8BC1\u5238\u7684 Macauley \u4FEE\u6B63\u671F\u9650\u3002",p:[{name:"settlement",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u7ED3\u7B97\u65E5\u3002 \u6709\u4EF7\u8BC1\u5238\u7ED3\u7B97\u65E5\u662F\u5728\u53D1\u884C\u65E5\u4E4B\u540E\uFF0C\u6709\u4EF7\u8BC1\u5238\u5356\u7ED9\u8D2D\u4E70\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5230\u671F\u65E5\u3002 \u5230\u671F\u65E5\u662F\u6709\u4EF7\u8BC1\u5238\u6709\u6548\u671F\u622A\u6B62\u65F6\u7684\u65E5\u671F\u3002"},{name:"coupon",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002"},{name:"yld",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6570\u3002
  306. \u5982\u679C\u6309\u5E74\u652F\u4ED8\uFF0Cfrequency = 1\uFF1B
  307. \u6309\u534A\u5E74\u671F\u652F\u4ED8\uFF0Cfrequency = 2\uFF1B
  308. \u6309\u5B63\u652F\u4ED8\uFF0Cfrequency = 4\u3002`},{name:"basis",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A0] - \u6307\u793A\u8981\u4F7F\u7528\u54EA\u79CD\u5929\u6570\u8BA1\u7B97\u65B9\u6CD5\u3002
  309. 0\u8868\u793A\u201C\u7F8E\u56FD(NASD) 30/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u56FD\u5168\u56FD\u8BC1\u5238\u4EA4\u6613\u5546\u534F\u4F1A\u6807\u51C6\uFF0C\u5047\u8BBE\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\uFF0C\u5E76\u5BF9\u6240\u8F93\u5165\u7684\u6708\u672B\u65E5\u671F\u8FDB\u884C\u5177\u4F53\u8C03\u6574\u3002
  310. 1\u8868\u793A\u201C\u5B9E\u9645/\u5B9E\u9645\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8BA1\u7B97\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u4E8E\u7F8E\u56FD\u957F\u671F\u503A\u5238\uFF0C\u4E5F\u662F\u5728\u975E\u8D22\u7ECF\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  311. 2\u8868\u793A\u201C\u5B9E\u9645/360\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A360\u5929\u3002
  312. 3\u8868\u793A\u201C\u5B9E\u9645/365\u201D\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u4E8E\u6307\u5B9A\u65E5\u671F\u4E4B\u95F4\u7684\u5B9E\u9645\u5929\u6570\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u5047\u5B9A\u6BCF\u5E74\u4E3A365\u5929\u3002
  313. 4\u8868\u793A\u201C\u6B27\u6D3230/360\u201D\u65B9\u6CD5 - \u7C7B\u4F3C\u4E8E0\uFF0C\u6B64\u65B9\u6CD5\u57FA\u4E8E\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u8FDB\u884C\u8BA1\u7B97\uFF0C\u4F46\u6309\u7167\u6B27\u6D32\u91D1\u878D\u60EF\u4F8B\u5BF9\u6708\u672B\u65E5\u671F\u8FDB\u884C\u8C03\u6574\u3002`}]},BIN2DEC:{d:"\u5C06\u4E8C\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u8FDB\u5236\u6570\u3002",a:"\u5C06\u4E8C\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u8FDB\u5236\u6570\u3002",p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5341\u8FDB\u5236\u6570\u7684\u5E26\u7B26\u53F7\u768410\u4F4D\u4E8C\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  314. \u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u53F7\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8BF4\uFF0C\u8D1F\u6570\u662F\u4EE5\u4E8C\u7684\u8865\u7801\u5F62\u5F0F\u8868\u793A\u7684\u3002
  315. \u5BF9\u4E8E\u6B64\u51FD\u6570\uFF0C\u6700\u5927\u7684\u6B63\u6570\u8F93\u5165\u503C\u4E3A0111111111\uFF0C\u6700\u5C0F\u7684\u8D1F\u6570\u8F93\u5165\u503C\u4E3A1000000000\u3002
  316. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u4E8C\u8FDB\u5236\u6570\uFF0C\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0CBIN2DEC(100)\u548CBIN2DEC("100")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A4\u3002`}]},BIN2HEX:{d:"\u5C06\u4E8C\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u516D\u8FDB\u5236\u6570\u3002",a:"\u5C06\u4E8C\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u516D\u8FDB\u5236\u6570\u3002",p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u7684\u5E26\u7B26\u53F7\u768410\u4F4D\u4E8C\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  317. \u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u53F7\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8BF4\uFF0C\u8D1F\u6570\u662F\u4EE5\u4E8C\u7684\u8865\u7801\u5F62\u5F0F\u8868\u793A\u7684\u3002
  318. \u5BF9\u4E8E\u6B64\u51FD\u6570\uFF0C\u6700\u5927\u7684\u6B63\u6570\u8F93\u5165\u503C\u4E3A0111111111\uFF0C\u6700\u5C0F\u7684\u8D1F\u6570\u8F93\u5165\u503C\u4E3A1000000000\u3002
  319. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u4E8C\u8FDB\u5236\u6570\uFF0C\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0CBIN2HEX(11111)\u548CBIN2HEX("11111")\u5F97\u51FA \u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A1F\u3002`},{name:"places",detail:`[ \u53EF\u9009 ] - \u7ED3\u679C\u4E2D\u8981\u786E\u4FDD\u7684\u6709\u6548\u4F4D\u6570\u3002
  320. \u5982\u679C\u8BBE\u7F6E\u7684\u6709\u6548\u4F4D\u6570\u5927\u4E8E\u7ED3\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6570\uFF0C\u5219\u5728\u7ED3\u679C\u7684\u5DE6\u4FA7\u586B\u51450\uFF0C\u4F7F\u603B\u6709\u6548\u4F4D\u6570\u8FBE\u5230\u6709\u6548\u4F4D\u6570\u3002\u4F8B\u5982\uFF0CBIN2HEX("11111",8)\u6240\u5F97\u7684\u7ED3\u679C\u503C\u4E3A0000001F\u3002
  321. \u5982\u679C\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u4E3A1\uFF0C\u5219\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u5F53\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u5927\u4E8E\u7B49\u4E8E1000000000\u65F6\u5FFD\u7565\u6B64\u503C\u3002`}]},BIN2OCT:{d:"\u5C06\u4E8C\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u516B\u8FDB\u5236\u6570\u3002",a:"\u5C06\u4E8C\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u516B\u8FDB\u5236\u6570\u3002",p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u7684\u5E26\u7B26\u53F7\u768410\u4F4D\u4E8C\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  322. \u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u53F7\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8BF4\uFF0C\u8D1F\u6570\u662F\u4EE5\u4E8C\u7684\u8865\u7801\u5F62\u5F0F\u8868\u793A\u7684\u3002
  323. \u5BF9\u4E8E\u6B64\u51FD\u6570\uFF0C\u6700\u5927\u7684\u6B63\u6570\u8F93\u5165\u503C\u4E3A0111111111\uFF0C\u6700\u5C0F\u7684\u8D1F\u6570\u8F93\u5165\u503C\u4E3A1000000000\u3002
  324. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u4E8C\u8FDB\u5236\u6570\uFF0C\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0CBIN2OCT(11111)\u548CBIN2OCT("11111")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A37\u3002`},{name:"places",detail:`[ \u53EF\u9009 ] - \u7ED3\u679C\u4E2D\u8981\u786E\u4FDD\u7684\u6709\u6548\u4F4D\u6570\u3002
  325. \u5982\u679C\u8BBE\u7F6E\u7684\u6709\u6548\u4F4D\u6570\u5927\u4E8E\u7ED3\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6570\uFF0C\u5219\u5728\u7ED3\u679C\u7684\u5DE6\u4FA7\u586B\u51450\uFF0C\u4F7F\u603B\u6709\u6548\u4F4D\u6570\u8FBE\u5230\u6709\u6548\u4F4D\u6570\u3002\u4F8B\u5982\uFF0CBIN2OCT("11111")\u5F97\u5230\u7684\u7ED3\u679C\u503C\u4E3A00000037\u3002
  326. \u5982\u679C\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u4E3A1\uFF0C\u5219\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u5F53\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u5927\u4E8E\u7B49\u4E8E1000000000\u65F6\u5FFD\u7565\u6B64\u503C\u3002`}]},DEC2BIN:{d:"\u5C06\u5341\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u4E8C\u8FDB\u5236\u6570\u3002",a:"\u5C06\u5341\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u4E8C\u8FDB\u5236\u6570\u3002",p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u7684\u5341\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  327. \u5BF9\u4E8E\u6B64\u51FD\u6570\uFF0C\u6700\u5927\u7684\u6B63\u6570\u8F93\u5165\u503C\u4E3A511\uFF0C\u6700\u5C0F\u7684\u8D1F\u6570\u8F93\u5165\u503C\u4E3A-512\u3002
  328. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5341\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u5341\u8FDB\u5236\u6570\uFF0C\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0CDEC2BIN(199)\u548CDEC2BIN("199")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A11000111\u3002`},{name:"places",detail:`[ \u53EF\u9009 ] - \u7ED3\u679C\u4E2D\u8981\u786E\u4FDD\u7684\u6709\u6548\u4F4D\u6570\u3002
  329. \u5982\u679C\u8BBE\u7F6E\u7684\u6709\u6548\u4F4D\u6570\u5927\u4E8E\u7ED3\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6570\uFF0C\u5219\u5728\u7ED3\u679C\u7684\u5DE6\u4FA7\u586B\u51450\uFF0C\u4F7F\u603B\u6709\u6548\u4F4D\u6570\u8FBE\u5230\u6709\u6548\u4F4D\u6570\u3002
  330. \u5982\u679C\u5341\u8FDB\u5236\u6570\u4E3A\u8D1F\u6570\uFF0C\u5219\u5FFD\u7565\u6B64\u503C\u3002`}]},DEC2HEX:{d:"\u5C06\u5341\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u516D\u8FDB\u5236\u6570\u3002",a:"\u5C06\u5341\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u516D\u8FDB\u5236\u6570\u3002",p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u7684\u5341\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  331. \u6B64\u51FD\u6570\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6570\u503C\u4E3A549755813887\uFF0C\u6700\u5C0F\u8D1F\u6570\u503C\u4E3A-549755814888\u3002
  332. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5341\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u5341\u8FDB\u5236\u6570\uFF0C\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0CDEC2HEX(100)\u548CDEC2HEX("100")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A64\u3002`},{name:"places",detail:`[ \u53EF\u9009 ] - \u7ED3\u679C\u4E2D\u8981\u786E\u4FDD\u7684\u6709\u6548\u4F4D\u6570\u3002
  333. \u5982\u679C\u8BBE\u7F6E\u7684\u6709\u6548\u4F4D\u6570\u5927\u4E8E\u7ED3\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6570\uFF0C\u5219\u5728\u7ED3\u679C\u7684\u5DE6\u4FA7\u586B\u51450\uFF0C\u4F7F\u603B\u6709\u6548\u4F4D\u6570\u8FBE\u5230\u6709\u6548\u4F4D\u6570\u3002
  334. \u5982\u679C\u5341\u8FDB\u5236\u6570\u4E3A\u8D1F\u6570\uFF0C\u5219\u5FFD\u7565\u6B64\u503C\u3002`}]},DEC2OCT:{d:"\u5C06\u5341\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u516B\u8FDB\u5236\u6570\u3002",a:"\u5C06\u5341\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u516B\u8FDB\u5236\u6570\u3002",p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u7684\u5341\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  335. \u6B64\u51FD\u6570\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6570\u503C\u4E3A536870911\uFF0C\u6700\u5C0F\u8D1F\u6570\u503C\u4E3A-53687092\u3002
  336. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5341\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u5341\u8FDB\u5236\u6570\uFF0C\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0CDEC2OCT(199)\u548CDEC2OCT("199")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A307\u3002`},{name:"places",detail:`[ \u53EF\u9009 ] - \u7ED3\u679C\u4E2D\u8981\u786E\u4FDD\u7684\u6709\u6548\u4F4D\u6570\u3002
  337. \u5982\u679C\u8BBE\u7F6E\u7684\u6709\u6548\u4F4D\u6570\u5927\u4E8E\u7ED3\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6570\uFF0C\u5219\u5728\u7ED3\u679C\u7684\u5DE6\u4FA7\u586B\u51450\uFF0C\u4F7F\u603B\u6709\u6548\u4F4D\u6570\u8FBE\u5230\u6709\u6548\u4F4D\u6570\u3002
  338. \u5982\u679C\u5341\u8FDB\u5236\u6570\u4E3A\u8D1F\u6570\uFF0C\u5219\u5FFD\u7565\u6B64\u503C\u3002`}]},HEX2BIN:{d:"\u5C06\u5341\u516D\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u4E8C\u8FDB\u5236\u6570\u3002",a:"\u5C06\u5341\u516D\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u4E8C\u8FDB\u5236\u6570\u3002",p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u7684\u5E26\u7B26\u53F7\u768440\u4F4D\u5341\u516D\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  339. \u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u53F7\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8BF4\uFF0C\u8D1F\u6570\u662F\u4EE5\u4E8C\u7684\u8865\u7801\u5F62\u5F0F\u8868\u793A\u7684\u3002
  340. \u6B64\u51FD\u6570\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6570\u503C\u4E3A1FF\uFF0C\u6700\u5C0F\u8D1F\u6570\u503C\u4E3AFFFFFFFE00\u3002
  341. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u5341\u516D\u8FDB\u5236\u6570\uFF0C\u51FD\u6570\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0CHEX2BIN(199)\u548CHEX2BIN("199")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A110011001\u3002`},{name:"places",detail:`[ \u53EF\u9009 ] - \u7ED3\u679C\u4E2D\u8981\u786E\u4FDD\u7684\u6709\u6548\u4F4D\u6570\u3002
  342. \u5982\u679C\u8BBE\u7F6E\u7684\u6709\u6548\u4F4D\u6570\u5927\u4E8E\u7ED3\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6570\uFF0C\u5219\u5728\u7ED3\u679C\u7684\u5DE6\u4FA7\u586B\u51450\uFF0C\u4F7F\u603B\u6709\u6548\u4F4D\u6570\u8FBE\u5230\u6709\u6548\u4F4D\u6570\u3002
  343. \u5982\u679C\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u4E3A1\uFF0C\u5219\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u5F53\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u5927\u4E8E\u7B49\u4E8E8000000000\u65F6\u5FFD\u7565\u6B64\u503C\u3002`}]},HEX2DEC:{d:"\u5C06\u5341\u516D\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u8FDB\u5236\u6570\u3002",a:"\u5C06\u5341\u516D\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u8FDB\u5236\u6570\u3002",p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5341\u8FDB\u5236\u6570\u7684\u5E26\u7B26\u53F7\u768440\u4F4D\u5341\u516D\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  344. \u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u53F7\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8BF4\uFF0C\u8D1F\u6570\u662F\u4EE5\u4E8C\u7684\u8865\u7801\u5F62\u5F0F\u8868\u793A\u7684\u3002
  345. \u6B64\u51FD\u6570\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6570\u503C\u4E3A7fffffffff\uFF0C\u6700\u5C0F\u8D1F\u6570\u503C\u4E3A8000000000\u3002
  346. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u5341\u516D\u8FDB\u5236\u6570\uFF0C\u51FD\u6570\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0CHEX2DEC(199)\u548CHEX2DEC("199")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A409\u3002`}]},HEX2OCT:{d:"\u5C06\u5341\u516D\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u516B\u8FDB\u5236\u6570\u3002",a:"\u5C06\u5341\u516D\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u516B\u8FDB\u5236\u6570\u3002",p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u7684\u5E26\u7B26\u53F7\u768440\u4F4D\u5341\u516D\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  347. \u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u53F7\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8BF4\uFF0C\u8D1F\u6570\u662F\u4EE5\u4E8C\u7684\u8865\u7801\u5F62\u5F0F\u8868\u793A\u7684\u3002
  348. \u6B64\u51FD\u6570\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6570\u503C\u4E3A1FFFFFFF\uFF0C\u6700\u5C0F\u8D1F\u6570\u503C\u4E3AFFE0000000\u3002
  349. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u5341\u516D\u8FDB\u5236\u6570\uFF0C\u51FD\u6570\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0CHEX2OCT(199)\u548CHEX2OCT("199")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A631\u3002`},{name:"places",detail:`[ \u53EF\u9009 ] - \u7ED3\u679C\u4E2D\u8981\u786E\u4FDD\u7684\u6709\u6548\u4F4D\u6570\u3002
  350. \u5982\u679C\u8BBE\u7F6E\u7684\u6709\u6548\u4F4D\u6570\u5927\u4E8E\u7ED3\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6570\uFF0C\u5219\u5728\u7ED3\u679C\u7684\u5DE6\u4FA7\u586B\u51450\uFF0C\u4F7F\u603B\u6709\u6548\u4F4D\u6570\u8FBE\u5230\u6709\u6548\u4F4D\u6570\u3002
  351. \u5982\u679C\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u4E3A1\uFF0C\u5219\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u5F53\u7ED9\u5B9A\u7684\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u5927\u4E8E\u7B49\u4E8E8000000000\u65F6\u5FFD\u7565\u6B64\u503C\u3002`}]},OCT2BIN:{d:"\u5C06\u516B\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u4E8C\u8FDB\u5236\u6570\u3002",a:"\u5C06\u516B\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u4E8C\u8FDB\u5236\u6570\u3002",p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5E26\u7B26\u53F7\u7684\u4E8C\u8FDB\u5236\u6570\u7684\u5E26\u7B26\u53F7\u768430\u4F4D\u516B\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  352. \u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u53F7\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8BF4\uFF0C\u8D1F\u6570\u662F\u4EE5\u4E8C\u7684\u8865\u7801\u5F62\u5F0F\u8868\u793A\u7684\u3002
  353. \u6B64\u51FD\u6570\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6570\u503C\u4E3A777\uFF0C\u6700\u5C0F\u8D1F\u6570\u503C\u4E3A7777777000\u3002
  354. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u516B\u8FDB\u5236\u6570\uFF0C\u51FD\u6570\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0COCT2BIN(177)\u548COCT2BIN("177")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A1111111\u3002`},{name:"places",detail:`[ \u53EF\u9009 ] - \u7ED3\u679C\u4E2D\u8981\u786E\u4FDD\u7684\u6709\u6548\u4F4D\u6570\u3002
  355. \u5982\u679C\u8BBE\u7F6E\u7684\u6709\u6548\u4F4D\u6570\u5927\u4E8E\u7ED3\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6570\uFF0C\u5219\u5728\u7ED3\u679C\u7684\u5DE6\u4FA7\u586B\u51450\uFF0C\u4F7F\u603B\u6709\u6548\u4F4D\u6570\u8FBE\u5230\u6709\u6548\u4F4D\u6570\u3002
  356. \u5982\u679C\u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u4E3A1\uFF0C\u5219\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u5F53\u7ED9\u5B9A\u7684\u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u5927\u4E8E\u7B49\u4E8E4000000000\u65F6\u5FFD\u7565\u6B64\u503C\u3002`}]},OCT2DEC:{d:"\u5C06\u516B\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u8FDB\u5236\u6570\u3002",a:"\u5C06\u516B\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u8FDB\u5236\u6570\u3002",p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5341\u8FDB\u5236\u6570\u7684\u5E26\u7B26\u53F7\u768430\u4F4D\u516B\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  357. \u5E26\u7B26\u53F7\u7684ba\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u53F7\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8BF4\uFF0C\u8D1F\u6570\u662F\u4EE5\u4E8C\u7684\u8865\u7801\u5F62\u5F0F\u8868\u793A\u7684\u3002
  358. \u6B64\u51FD\u6570\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6570\u503C\u4E3A3777777777\uFF0C\u6700\u5C0F\u8D1F\u6570\u503C\u4E3A4000000000\u3002
  359. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u516B\u8FDB\u5236\u6570\uFF0C\u51FD\u6570\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0COCT2DEC(177)\u548COCT2DEC("177")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A127\u3002`}]},OCT2HEX:{d:"\u5C06\u516B\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u516D\u8FDB\u5236\u6570\u3002",a:"\u5C06\u516B\u8FDB\u5236\u6570\u8F6C\u6362\u4E3A\u5341\u516D\u8FDB\u5236\u6570\u3002",p:[{name:"number",detail:`\u8981\u8F6C\u6362\u4E3A\u5E26\u7B26\u53F7\u7684\u5341\u516D\u8FDB\u5236\u6570\u7684\u5E26\u7B26\u53F7\u768430\u4F4D\u516B\u8FDB\u5236\u6570\u503C\uFF08\u4EE5\u5B57\u7B26\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  360. \u5E26\u7B26\u53F7\u7684ba\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u53F7\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8BF4\uFF0C\u8D1F\u6570\u662F\u4EE5\u4E8C\u7684\u8865\u7801\u5F62\u5F0F\u8868\u793A\u7684\u3002
  361. \u6B64\u51FD\u6570\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6570\u503C\u4E3A3777777777\uFF0C\u6700\u5C0F\u8D1F\u6570\u503C\u4E3A4000000000\u3002
  362. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u662F\u6709\u6548\u7684\u516B\u8FDB\u5236\u6570\uFF0C\u51FD\u6570\u4F1A\u81EA\u52A8\u5C06\u5176\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u5B57\u7B26\u4E32\u8F93\u5165\u3002\u4F8B\u5982\uFF0COCT2HEX(177)\u548COCT2HEX("177")\u5F97\u51FA\u7684\u7ED3\u679C\u76F8\u540C\uFF0C\u5747\u4E3A7F\u3002`},{name:"places",detail:`[ \u53EF\u9009 ] - \u7ED3\u679C\u4E2D\u8981\u786E\u4FDD\u7684\u6709\u6548\u4F4D\u6570\u3002
  363. \u5982\u679C\u8BBE\u7F6E\u7684\u6709\u6548\u4F4D\u6570\u5927\u4E8E\u7ED3\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6570\uFF0C\u5219\u5728\u7ED3\u679C\u7684\u5DE6\u4FA7\u586B\u51450\uFF0C\u4F7F\u603B\u6709\u6548\u4F4D\u6570\u8FBE\u5230\u6709\u6548\u4F4D\u6570\u3002
  364. \u5982\u679C\u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u7684\u6700\u9AD8\u4F4D\u4E3A1\uFF0C\u5219\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u5F53\u7ED9\u5B9A\u7684\u5E26\u7B26\u53F7\u7684\u516B\u8FDB\u5236\u6570\u5927\u4E8E\u7B49\u4E8E4000000000\u65F6\u5FFD\u7565\u6B64\u503C\u3002`}]},COMPLEX:{d:"\u5C06\u5B9E\u7CFB\u6570\u53CA\u865A\u7CFB\u6570\u8F6C\u6362\u4E3A x+yi \u6216 x+yj \u5F62\u5F0F\u7684\u590D\u6570\u3002",a:"\u5C06\u5B9E\u7CFB\u6570\u53CA\u865A\u7CFB\u6570\u8F6C\u6362\u4E3A x+yi \u6216 x+yj \u5F62\u5F0F\u7684\u590D\u6570\u3002",p:[{name:"real_num",detail:"\u590D\u6570\u7684\u5B9E\u7CFB\u6570\u3002"},{name:"i_num",detail:"\u590D\u6570\u7684\u865A\u7CFB\u6570\u3002"},{name:"suffix",detail:'[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A "i"] - \u590D\u6570\u4E2D\u865A\u7CFB\u6570\u7684\u540E\u7F00\u3002'}]},IMREAL:{d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u590D\u6570\u7684\u5B9E\u7CFB\u6570\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u590D\u6570\u7684\u5B9E\u7CFB\u6570\u3002",p:[{name:"inumber",detail:"\u9700\u8981\u8BA1\u7B97\u5176\u5B9E\u7CFB\u6570\u7684\u590D\u6570\u3002"}]},IMAGINARY:{d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u590D\u6570\u7684\u865A\u7CFB\u6570\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u590D\u6570\u7684\u865A\u7CFB\u6570\u3002",p:[{name:"inumber",detail:"\u9700\u8981\u8BA1\u7B97\u5176\u865A\u7CFB\u6570\u7684\u590D\u6570\u3002"}]},IMCONJUGATE:{d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u590D\u6570\u7684\u5171\u8F6D\u590D\u6570\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u590D\u6570\u7684\u5171\u8F6D\u590D\u6570\u3002",p:[{name:"inumber",detail:"\u9700\u8981\u8BA1\u7B97\u5176\u5171\u8F6D\u6570\u7684\u590D\u6570\u3002"}]},IMABS:{d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u590D\u6570\u7684\u7EDD\u5BF9\u503C\uFF08\u6A21\uFF09\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u590D\u6570\u7684\u7EDD\u5BF9\u503C\uFF08\u6A21\uFF09\u3002",p:[{name:"inumber",detail:"\u8981\u8BA1\u7B97\u5176\u7EDD\u5BF9\u503C\u7684\u590D\u6570\u3002"}]},DELTA:{d:"\u68C0\u9A8C\u4E24\u4E2A\u503C\u662F\u5426\u76F8\u7B49\u3002 \u5982\u679C number1=number2\uFF0C\u5219\u8FD4\u56DE 1\uFF1B\u5426\u5219\u8FD4\u56DE 0\u3002",a:"\u68C0\u9A8C\u4E24\u4E2A\u503C\u662F\u5426\u76F8\u7B49\u3002 \u5982\u679C number1=number2\uFF0C\u5219\u8FD4\u56DE 1\uFF1B\u5426\u5219\u8FD4\u56DE 0\u3002",p:[{name:"number1",detail:"\u7B2C\u4E00\u4E2A\u6570\u5B57\u3002"},{name:"number2",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A 0] - \u7B2C\u4E8C\u4E2A\u6570\u5B57\u3002"}]},IMSUM:{d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684 1 \u81F3 255 \u4E2A\u590D\u6570\u7684\u548C\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684 1 \u81F3 255 \u4E2A\u590D\u6570\u7684\u548C\u3002",p:[{name:"inumber1",detail:"\u8981\u76F8\u52A0\u7684\u7B2C\u4E00\u4E2A\u590D\u6570"},{name:"inumber2, \u2026",detail:"[\u53EF\u9009] - \u8981\u4E0E\u503C1 \u76F8\u52A0\u7684\u5176\u4ED6\u590D\u6570"}]},IMSUB:{d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u4E24\u4E2A\u590D\u6570\u7684\u5DEE\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u4E24\u4E2A\u590D\u6570\u7684\u5DEE\u3002",p:[{name:"inumber1",detail:"\u4ECE\uFF08\u590D\uFF09\u6570\u4E2D\u51CF\u53BB inumber2\u3002"},{name:"inumber2",detail:"\u4ECE inumber1 \u4E2D\u51CF\uFF08\u590D\uFF09\u6570\u3002"}]},IMPRODUCT:{d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684 1 \u81F3 255 \u4E2A\u590D\u6570\u7684\u4E58\u79EF\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684 1 \u81F3 255 \u4E2A\u590D\u6570\u7684\u4E58\u79EF\u3002",p:[{name:"inumber1",detail:"\u7528\u4E8E\u8BA1\u7B97\u4E58\u79EF\u7684\u7B2C\u4E00\u4E2A\u590D\u6570"},{name:"inumber2, \u2026",detail:"[\u53EF\u9009] - \u8981\u76F8\u4E58\u7684\u5176\u4ED6\u590D\u6570\u3002"}]},IMDIV:{d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u4E24\u4E2A\u590D\u6570\u7684\u5546\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u4E24\u4E2A\u590D\u6570\u7684\u5546\u3002",p:[{name:"inumber1",detail:"\u590D\u6570\u5206\u5B50\u6216\u88AB\u9664\u6570\u3002"},{name:"inumber2",detail:"\u590D\u6570\u5206\u6BCD\u6216\u9664\u6570\u3002"}]},NOT:{d:"\u8FD4\u56DE\u67D0\u4E2A\u903B\u8F91\u503C\u7684\u76F8\u53CD\u503C - \u201CNOT(TRUE())\u201D\u5C06\u8FD4\u56DE FALSE\uFF1B\u201CNOT(FALSE())\u201D\u5C06\u8FD4\u56DE TRUE\u3002",a:"\u8FD4\u56DE\u67D0\u4E2A\u903B\u8F91\u503C\u7684\u76F8\u53CD\u503C - \u201CNOT(TRUE())\u201D\u5C06\u8FD4\u56DE FALSE\uFF1B\u201CNOT(FALSE())\u201D\u5C06\u8FD4\u56DE TRUE\u3002",p:[{name:"logical",detail:"\u8BA1\u7B97\u7ED3\u679C\u4E3A TRUE \u6216 FALSE \u7684\u4EFB\u4F55\u503C\u6216\u8868\u8FBE\u5F0F\u3002"}]},TRUE:{d:"\u8FD4\u56DE\u903B\u8F91\u503C TRUE\u3002",a:"\u8FD4\u56DE\u903B\u8F91\u503C TRUE\u3002",p:[]},FALSE:{d:"\u8FD4\u56DE\u903B\u8F91\u503C FALSE\u3002",a:"\u8FD4\u56DE\u903B\u8F91\u503C FALSE\u3002",p:[]},AND:{d:"\u6240\u6709\u53C2\u6570\u7684\u8BA1\u7B97\u7ED3\u679C\u4E3A TRUE \u65F6\uFF0C\u8FD4\u56DE TRUE\uFF1B\u53EA\u8981\u6709\u4E00\u4E2A\u53C2\u6570\u7684\u8BA1\u7B97\u7ED3\u679C\u4E3A FALSE\uFF0C\u5373\u8FD4\u56DE FALSE\u3002",a:"\u6240\u6709\u53C2\u6570\u7684\u8BA1\u7B97\u7ED3\u679C\u4E3A TRUE \u65F6\uFF0C\u8FD4\u56DE TRUE\uFF1B\u53EA\u8981\u6709\u4E00\u4E2A\u53C2\u6570\u7684\u8BA1\u7B97\u7ED3\u679C\u4E3A FALSE\uFF0C\u5373\u8FD4\u56DE FALSE\u3002",p:[{name:"logical1",detail:"\u8981\u6D4B\u8BD5\u7684\u7B2C\u4E00\u4E2A\u6761\u4EF6\uFF0C\u5176\u8BA1\u7B97\u7ED3\u679C\u53EF\u4EE5\u4E3A TRUE \u6216 FALSE\u3002"},{name:"logical2,...",detail:"[\u53EF\u9009] - \u8981\u6D4B\u8BD5\u7684\u5176\u4ED6\u6761\u4EF6\uFF0C\u5176\u8BA1\u7B97\u7ED3\u679C\u53EF\u4EE5\u4E3A TRUE \u6216 FALSE\uFF0C\u6700\u591A\u53EF\u5305\u542B 255 \u4E2A\u6761\u4EF6\u3002"}]},IFERROR:{d:"\u5982\u679C\u7B2C\u4E00\u4E2A\u53C2\u6570\u4E0D\u662F\u9519\u8BEF\u503C\uFF0C\u5C31\u8FD4\u56DE\u7B2C\u4E00\u4E2A\u53C2\u6570\uFF1B\u5426\u5219\uFF0C\u8FD4\u56DE\u7B2C\u4E8C\u4E2A\u53C2\u6570\u3002",a:"\u5982\u679C\u7B2C\u4E00\u4E2A\u53C2\u6570\u4E0D\u662F\u9519\u8BEF\u503C",p:[{name:"value",detail:"\u68C0\u67E5\u662F\u5426\u5B58\u5728\u9519\u8BEF\u7684\u53C2\u6570\u3002"},{name:"value_if_error",detail:"\u516C\u5F0F\u7684\u8BA1\u7B97\u7ED3\u679C\u9519\u8BEF\u65F6\u8FD4\u56DE\u7684\u503C\u3002 \u8BA1\u7B97\u4EE5\u4E0B\u9519\u8BEF\u7C7B\u578B\uFF1A#N/A\u3001#VALUE!\u3001#REF!\u3001#DIV/0!\u3001#NUM!\u3001#NAME? \u6216 #NULL!\u3002"}]},IF:{d:"\u5F53\u903B\u8F91\u8868\u8FBE\u5F0F\u7684\u503C\u4E3A TRUE \u65F6\u8FD4\u56DE\u4E00\u4E2A\u503C\uFF0C\u800C\u5F53\u5176\u4E3A FALSE \u65F6\u8FD4\u56DE\u53E6\u4E00\u4E2A\u503C\u3002",a:"\u5F53\u903B\u8F91\u8868\u8FBE\u5F0F\u7684\u503C\u4E3A TRUE \u65F6\u8FD4\u56DE\u4E00\u4E2A\u503C\uFF0C\u800C\u5F53\u5176\u4E3A FALSE \u65F6\u8FD4\u56DE\u53E6\u4E00\u4E2A\u503C\u3002",p:[{name:"logical_test",detail:"\u4E00\u4E2A\u8868\u8FBE\u5F0F\u6216\u5BF9\u5305\u542B\u8868\u8FBE\u5F0F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0C\u8BE5\u8868\u8FBE\u5F0F\u4EE3\u8868\u67D0\u79CD\u903B\u8F91\u503C\uFF08\u5373TRUE\u6216FALSE\uFF09\u3002"},{name:"value_if_true",detail:"\u5F53\u903B\u8F91\u8868\u8FBE\u5F0F\u4E3ATRUE\u65F6\u7684\u8FD4\u56DE\u503C\u3002"},{name:"value_if_false",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u4E3A\u7A7A\u767D] - \u5F53\u903B\u8F91\u8868\u8FBE\u5F0F\u7B49\u4E8EFALSE\u65F6\u7684\u51FD\u6570\u8FD4\u56DE\u503C\u3002"}]},OR:{d:"\u53EA\u8981\u6709\u4E00\u4E2A\u53C2\u6570\u7684\u8BA1\u7B97\u7ED3\u679C\u4E3A TRUE \u65F6\uFF0C\u8FD4\u56DE TRUE\uFF1B\u6240\u6709\u53C2\u6570\u7684\u8BA1\u7B97\u7ED3\u679C\u4E3A FALSE\uFF0C\u5373\u8FD4\u56DE FALSE\u3002",a:"\u53EA\u8981\u6709\u4E00\u4E2A\u53C2\u6570\u7684\u8BA1\u7B97\u7ED3\u679C\u4E3A TRUE \u65F6\uFF0C\u8FD4\u56DE TRUE\uFF1B\u6240\u6709\u53C2\u6570\u7684\u8BA1\u7B97\u7ED3\u679C\u4E3A FALSE\uFF0C\u5373\u8FD4\u56DE FALSE\u3002",p:[{name:"logical1",detail:"\u8981\u6D4B\u8BD5\u7684\u7B2C\u4E00\u4E2A\u6761\u4EF6\uFF0C\u5176\u8BA1\u7B97\u7ED3\u679C\u53EF\u4EE5\u4E3A TRUE \u6216 FALSE\u3002"},{name:"\u903B\u8F91\u8868\u8FBE\u5F0F2",detail:"[\u53EF\u9009] - \u5176\u4ED6\u8868\u8FBE\u5F0F\u6216\u5BF9\u5305\u542B\u8868\u8FBE\u5F0F\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0C\u8FD9\u4E9B\u8868\u8FBE\u5F0F\u4EE3\u8868\u67D0\u79CD\u903B\u8F91\u503C\uFF08\u5373TRUE\u6216FALSE\uFF09\u6216\u8005\u53EF\u4EE5\u5F3A\u5236\u8F6C\u6362\u4E3A\u903B\u8F91\u503C\u3002"}]},NE:{d:"\u5982\u679C\u6307\u5B9A\u7684\u503C\u4E0D\u76F8\u7B49\uFF0C\u5219\u8FD4\u56DE\u201CTRUE\u201D\uFF1B\u5426\u5219\u8FD4\u56DE\u201CFALSE\u201D\u3002\u76F8\u5F53\u4E8E\u201C<>\u201D\u8FD0\u7B97\u7B26\u3002",a:"\u5982\u679C\u6307\u5B9A\u7684\u503C\u4E0D\u76F8\u7B49\uFF0C\u5219\u8FD4\u56DE\u201CTRUE\u201D\uFF1B\u5426\u5219\u8FD4\u56DE\u201CFALSE\u201D\u3002\u76F8\u5F53\u4E8E\u201C<>\u201D\u8FD0\u7B97\u7B26\u3002",p:[{name:"value1",detail:"\u7B2C\u4E00\u4E2A\u503C\u3002"},{name:"value2",detail:"\u8981\u68C0\u67E5\u662F\u5426\u4E0E value1 \u4E0D\u76F8\u7B49\u7684\u503C\u3002"}]},EQ:{d:"\u5982\u679C\u6307\u5B9A\u7684\u503C\u76F8\u7B49\uFF0C\u5219\u8FD4\u56DE\u201CTRUE\u201D\uFF1B\u5426\u5219\u8FD4\u56DE\u201CFALSE\u201D\u3002\u76F8\u5F53\u4E8E\u201C=\u201D\u8FD0\u7B97\u7B26\u3002",a:"\u5982\u679C\u6307\u5B9A\u7684\u503C\u76F8\u7B49\uFF0C\u5219\u8FD4\u56DE\u201CTRUE\u201D\uFF1B\u5426\u5219\u8FD4\u56DE\u201CFALSE\u201D\u3002\u76F8\u5F53\u4E8E\u201C=\u201D\u8FD0\u7B97\u7B26\u3002",p:[{name:"value1",detail:"\u7B2C\u4E00\u4E2A\u503C\u3002"},{name:"value2",detail:"\u8981\u68C0\u67E5\u662F\u5426\u4E0E value1 \u76F8\u7B49\u7684\u503C\u3002"}]},GT:{d:"\u5982\u679C\u7B2C\u4E00\u4E2A\u53C2\u6570\u4E25\u683C\u5927\u4E8E\u7B2C\u4E8C\u4E2A\uFF0C\u5219\u8FD4\u56DE TRUE\uFF1B\u5426\u5219\u8FD4\u56DE FALSE\u3002\u76F8\u5F53\u4E8E\u201C>\u201D\u8FD0\u7B97\u7B26\u3002",a:"\u5982\u679C\u7B2C\u4E00\u4E2A\u53C2\u6570\u4E25\u683C\u5927\u4E8E\u7B2C\u4E8C\u4E2A\uFF0C\u5219\u8FD4\u56DE TRUE\uFF1B\u5426\u5219\u8FD4\u56DE FALSE\u3002\u76F8\u5F53\u4E8E\u201C>\u201D\u8FD0\u7B97\u7B26\u3002",p:[{name:"value1",detail:"\u8981\u6D4B\u8BD5\u5176\u662F\u5426\u5927\u4E8E value2 \u7684\u503C\u3002"},{name:"value2",detail:"\u7B2C\u4E8C\u4E2A\u503C\u3002"}]},GTE:{d:"\u5982\u679C\u7B2C\u4E00\u4E2A\u53C2\u6570\u5927\u4E8E\u6216\u7B49\u4E8E\u7B2C\u4E8C\u4E2A\uFF0C\u5219\u8FD4\u56DE TRUE\uFF1B\u5426\u5219\u8FD4\u56DE FALSE\u3002\u76F8\u5F53\u4E8E\u201C>=\u201D\u8FD0\u7B97\u7B26\u3002",a:"\u5982\u679C\u7B2C\u4E00\u4E2A\u53C2\u6570\u5927\u4E8E\u6216\u7B49\u4E8E\u7B2C\u4E8C\u4E2A\uFF0C\u5219\u8FD4\u56DE TRUE\uFF1B\u5426\u5219\u8FD4\u56DE FALSE\u3002\u76F8\u5F53\u4E8E\u201C>=\u201D\u8FD0\u7B97\u7B26\u3002",p:[{name:"value1",detail:"\u8981\u6D4B\u8BD5\u5176\u662F\u5426\u5927\u4E8E\u7B49\u4E8E value2 \u7684\u503C\u3002"},{name:"value2",detail:"\u7B2C\u4E8C\u4E2A\u503C\u3002"}]},LT:{d:"\u5982\u679C\u7B2C\u4E00\u4E2A\u53C2\u6570\u4E25\u683C\u5C0F\u4E8E\u7B2C\u4E8C\u4E2A\uFF0C\u5219\u8FD4\u56DE TRUE\uFF1B\u5426\u5219\u8FD4\u56DE FALSE\u3002\u76F8\u5F53\u4E8E\u201C<\u201D\u8FD0\u7B97\u7B26\u3002",a:"\u5982\u679C\u7B2C\u4E00\u4E2A\u53C2\u6570\u4E25\u683C\u5C0F\u4E8E\u7B2C\u4E8C\u4E2A\uFF0C\u5219\u8FD4\u56DE TRUE\uFF1B\u5426\u5219\u8FD4\u56DE FALSE\u3002\u76F8\u5F53\u4E8E\u201C<\u201D\u8FD0\u7B97\u7B26\u3002",p:[{name:"value1",detail:"\u8981\u6D4B\u8BD5\u5176\u662F\u5426\u5C0F\u4E8E value2 \u7684\u503C\u3002"},{name:"value2",detail:"\u7B2C\u4E8C\u4E2A\u503C\u3002"}]},LTE:{d:"\u5982\u679C\u7B2C\u4E00\u4E2A\u53C2\u6570\u5C0F\u4E8E\u6216\u7B49\u4E8E\u7B2C\u4E8C\u4E2A\uFF0C\u5219\u8FD4\u56DE TRUE\uFF1B\u5426\u5219\u8FD4\u56DE FALSE\u3002\u76F8\u5F53\u4E8E\u201C<=\u201D\u8FD0\u7B97\u7B26\u3002",a:"\u5982\u679C\u7B2C\u4E00\u4E2A\u53C2\u6570\u5C0F\u4E8E\u6216\u7B49\u4E8E\u7B2C\u4E8C\u4E2A\uFF0C\u5219\u8FD4\u56DE TRUE\uFF1B\u5426\u5219\u8FD4\u56DE FALSE\u3002\u76F8\u5F53\u4E8E\u201C<=\u201D\u8FD0\u7B97\u7B26\u3002",p:[{name:"value1",detail:"\u8981\u6D4B\u8BD5\u5176\u662F\u5426\u5C0F\u4E8E\u7B49\u4E8E value2 \u7684\u503C\u3002"},{name:"value2",detail:"\u7B2C\u4E8C\u4E2A\u503C\u3002"}]},ADD:{d:"\u8FD4\u56DE\u4E24\u4E2A\u6570\u503C\u4E4B\u548C\u3002\u76F8\u5F53\u4E8E `+` \u8FD0\u7B97\u7B26\u3002",a:"\u8FD4\u56DE\u4E24\u4E2A\u6570\u503C\u4E4B\u548C\u3002\u76F8\u5F53\u4E8E `+` \u8FD0\u7B97\u7B26\u3002",p:[{name:"value1",detail:"\u7B2C\u4E00\u4E2A\u52A0\u6570\u3002"},{name:"value2",detail:"\u7B2C\u4E8C\u4E2A\u52A0\u6570\u3002"}]},MINUS:{d:"\u8FD4\u56DE\u4E24\u4E2A\u6570\u503C\u4E4B\u5DEE\u3002\u76F8\u5F53\u4E8E\u201C-\u201D\u8FD0\u7B97\u7B26\u3002",a:"\u8FD4\u56DE\u4E24\u4E2A\u6570\u503C\u4E4B\u5DEE\u3002\u76F8\u5F53\u4E8E\u201C-\u201D\u8FD0\u7B97\u7B26\u3002",p:[{name:"value1",detail:"\u88AB\u51CF\u6570\uFF0C\u5373\u8981\u5BF9\u5176\u8BA1\u51CF\u7684\u6570\u503C\u3002"},{name:"value2",detail:"\u51CF\u6570\uFF0C\u5373\u8981\u4ECE value1 \u4E2D\u51CF\u9664\u7684\u6570\u503C\u3002"}]},MULTIPLY:{d:"\u8FD4\u56DE\u4E24\u4E2A\u6570\u7684\u4E58\u79EF\u3002\u76F8\u5F53\u4E8E\u201C*\u201D\u8FD0\u7B97\u7B26\u3002",a:"\u8FD4\u56DE\u4E24\u4E2A\u6570\u7684\u4E58\u79EF\u3002\u76F8\u5F53\u4E8E\u201C*\u201D\u8FD0\u7B97\u7B26\u3002",p:[{name:"value1",detail:"\u7B2C\u4E00\u4E2A\u4E58\u6570\u3002"},{name:"value2",detail:"\u7B2C\u4E8C\u4E2A\u4E58\u6570\u3002"}]},DIVIDE:{d:"\u8FD4\u56DE\u4E24\u4E2A\u53C2\u6570\u76F8\u9664\u6240\u5F97\u7684\u7ED3\u679C\u3002\u76F8\u5F53\u4E8E `/` \u8FD0\u7B97\u7B26\u3002",a:"\u8FD4\u56DE\u4E24\u4E2A\u53C2\u6570\u76F8\u9664\u6240\u5F97\u7684\u7ED3\u679C\u3002\u76F8\u5F53\u4E8E `/` \u8FD0\u7B97\u7B26\u3002",p:[{name:"value1",detail:"\u8981\u88AB\u9664\u7684\u6570\u503C\u3002"},{name:"value2",detail:`\u7528\u4E8E\u9664\u5176\u4ED6\u6570\u7684\u6570\u503C\u3002
  365. \u9664\u6570\u4E0D\u5F97\u4E3A0\u3002`}]},CONCAT:{d:"\u8FD4\u56DE\u4E24\u4E2A\u503C\u7684\u4E32\u8054\u3002\u76F8\u5F53\u4E8E `&` \u8FD0\u7B97\u7B26\u3002",a:"\u8FD4\u56DE\u4E24\u4E2A\u503C\u7684\u4E32\u8054\u3002\u76F8\u5F53\u4E8E `&` \u8FD0\u7B97\u7B26\u3002",p:[{name:"value1",detail:"value2 \u5C06\u9644\u4E8E\u5176\u540E\u7684\u503C\u3002"},{name:"value2",detail:"\u8981\u9644\u4E8E value1 \u4E4B\u540E\u7684\u503C\u3002"}]},UNARY_PERCENT:{d:"\u8FD4\u56DE\u6309\u767E\u5206\u6BD4\u89E3\u91CA\u7684\u6570\u503C\u3002\u4F8B\u5982\uFF0C\u201CUNARY_PERCENT(100)\u201D\u7B49\u4E8E1\u3002",a:"\u8FD4\u56DE\u6309\u767E\u5206\u6BD4\u89E3\u91CA\u7684\u6570\u503C\u3002\u4F8B\u5982\uFF0C\u201CUNARY_PERCENT(100)\u201D\u7B49\u4E8E1\u3002",p:[{name:"number",detail:"\u8981\u4F5C\u4E3A\u767E\u5206\u6BD4\u89E3\u91CA\u7684\u6570\u503C\u3002"}]},CONCATENATE:{d:"\u5C06\u4E24\u4E2A\u6216\u591A\u4E2A\u6587\u672C\u5B57\u7B26\u4E32\u8054\u63A5\u4E3A\u4E00\u4E2A\u5B57\u7B26\u4E32\u3002",a:"\u5C06\u4E24\u4E2A\u6216\u591A\u4E2A\u6587\u672C\u5B57\u7B26\u4E32\u8054\u63A5\u4E3A\u4E00\u4E2A\u5B57\u7B26\u4E32\u3002",p:[{name:"text1",detail:"\u521D\u59CB\u5B57\u7B26\u4E32\u3002"},{name:"text2 ...",detail:"[\u53EF\u9009] - \u8981\u6309\u987A\u5E8F\u8FDE\u63A5\u5728\u4E00\u8D77\u7684\u5176\u4ED6\u5B57\u7B26\u4E32\u3002"}]},CODE:{d:"\u8FD4\u56DE\u6240\u63D0\u4F9B\u7684\u5B57\u7B26\u4E32\u4E2D\u9996\u5B57\u7B26\u7684 Unicode \u6620\u5C04\u503C\u3002",a:"\u8FD4\u56DE\u6240\u63D0\u4F9B\u7684\u5B57\u7B26\u4E32\u4E2D\u9996\u5B57\u7B26\u7684 Unicode \u6620\u5C04\u503C\u3002",p:[{name:"text",detail:"\u8981\u8FD4\u56DE\u5176\u9996\u5B57\u7B26\u7684Unicode\u6620\u5C04\u503C\u7684\u5B57\u7B26\u4E32\u3002"}]},CHAR:{d:"\u6309\u7167\u5F53\u524D Unicode \u7F16\u7801\u8868\uFF0C\u5C06\u6570\u5B57\u8F6C\u6362\u4E3A\u5BF9\u5E94\u7684\u5B57\u7B26\u3002",a:"\u6309\u7167\u5F53\u524D Unicode \u7F16\u7801\u8868\uFF0C\u5C06\u6570\u5B57\u8F6C\u6362\u4E3A\u5BF9\u5E94\u7684\u5B57\u7B26\u3002",p:[{name:"number",detail:"\u4ECB\u4E8E 1 \u5230 255 \u4E4B\u95F4\u7684\u6570\u5B57\u3002"}]},ARABIC:{d:"\u5C06\u7F57\u9A6C\u6570\u5B57\u8F6C\u6362\u4E3A\u963F\u62C9\u4F2F\u6570\u5B57\u3002",a:"\u5C06\u7F57\u9A6C\u6570\u5B57\u8F6C\u6362\u4E3A\u963F\u62C9\u4F2F\u6570\u5B57\u3002",p:[{name:"text",detail:"\u8981\u8F6C\u6362\u683C\u5F0F\u7684\u7F57\u9A6C\u6570\u5B57"}]},ROMAN:{d:"\u5C06\u6570\u5B57\u683C\u5F0F\u8BBE\u7F6E\u4E3A\u7F57\u9A6C\u6570\u5B57\u5F62\u5F0F\u3002",a:"\u5C06\u6570\u5B57\u683C\u5F0F\u8BBE\u7F6E\u4E3A\u7F57\u9A6C\u6570\u5B57\u5F62\u5F0F\u3002",p:[{name:"number",detail:"\u8981\u8BBE\u7F6E\u683C\u5F0F\u7684\u6570\u5B57\uFF0C\u4ECB\u4E8E1\u52303999\u4E4B\u95F4\uFF08\u5305\u62EC\u8FD9\u4E24\u4E2A\u6570\u5B57\uFF09\u3002"}]},REGEXEXTRACT:{d:"\u6309\u7167\u6B63\u5219\u8868\u8FBE\u5F0F\u63D0\u53D6\u5339\u914D\u7684\u5B50\u4E32\u3002",a:"\u6309\u7167\u6B63\u5219\u8868\u8FBE\u5F0F\u63D0\u53D6\u5339\u914D\u7684\u5B50\u4E32\u3002",p:[{name:"text",detail:"\u8F93\u5165\u6587\u672C\u3002"},{name:"regular_expression",detail:"\u6B64\u51FD\u6570\u5C06\u8FD4\u56DE\u6587\u672C\u4E2D\u7B26\u5408\u6B64\u8868\u8FBE\u5F0F\u7684\u7B2C\u4E00\u4E2A\u5B50\u4E32\u3002"}]},REGEXMATCH:{d:"\u5224\u65AD\u4E00\u6BB5\u6587\u672C\u662F\u5426\u4E0E\u6B63\u5219\u8868\u8FBE\u5F0F\u76F8\u5339\u914D\u3002",a:"\u5224\u65AD\u4E00\u6BB5\u6587\u672C\u662F\u5426\u4E0E\u6B63\u5219\u8868\u8FBE\u5F0F\u76F8\u5339\u914D\u3002",p:[{name:"text",detail:"\u8981\u7528\u6B63\u5219\u8868\u8FBE\u5F0F\u6D4B\u8BD5\u7684\u6587\u672C\u3002"},{name:"regular_expression",detail:"\u7528\u6765\u6D4B\u8BD5\u6587\u672C\u7684\u6B63\u5219\u8868\u8FBE\u5F0F\u3002"}]},REGEXREPLACE:{d:"\u4F7F\u7528\u6B63\u5219\u8868\u8FBE\u5F0F\u5C06\u6587\u672C\u5B57\u7B26\u4E32\u4E2D\u7684\u4E00\u90E8\u5206\u66FF\u6362\u4E3A\u5176\u4ED6\u6587\u672C\u5B57\u7B26\u4E32\u3002",a:"\u4F7F\u7528\u6B63\u5219\u8868\u8FBE\u5F0F\u5C06\u6587\u672C\u5B57\u7B26\u4E32\u4E2D\u7684\u4E00\u90E8\u5206\u66FF\u6362\u4E3A\u5176\u4ED6\u6587\u672C\u5B57\u7B26\u4E32\u3002",p:[{name:"text",detail:"\u8981\u5BF9\u5176\u5C40\u90E8\u8FDB\u884C\u66FF\u6362\u64CD\u4F5C\u7684\u6587\u672C\u3002"},{name:"regular_expression",detail:"\u6B63\u5219\u8868\u8FBE\u5F0F\u3002 text \u4E2D\u6240\u6709\u5339\u914D\u7684\u5B9E\u4F8B\u90FD\u5C06\u88AB\u66FF\u6362\u3002"},{name:"replacement",detail:"\u8981\u63D2\u5165\u5230\u539F\u6709\u6587\u672C\u4E2D\u7684\u6587\u672C\u3002"}]},T:{d:"\u8FD4\u56DE\u6587\u672C\u683C\u5F0F\u7684\u5B57\u7B26\u4E32\u53C2\u6570\u3002",a:"\u8FD4\u56DE\u6587\u672C\u683C\u5F0F\u7684\u5B57\u7B26\u4E32\u53C2\u6570\u3002",p:[{name:"value",detail:`\u8981\u8F6C\u6362\u4E3A\u6587\u672C\u7684\u53C2\u6570\u3002
  366. \u5982\u679C\u503C\u4E3A\u6587\u672C\uFF0CT\u5C06\u8FD4\u56DE\u503C\u672C\u8EAB\u3002
  367. \u5982\u679C\u503C\u4E3A\u6307\u5411\u5305\u542B\u6587\u672C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0CT\u5C06\u8FD4\u56DE\u503C\u4E2D\u7684\u5185\u5BB9\u3002
  368. \u5982\u679C\u503C\u4E3A\u9519\u8BEF\u503C\u6216\u5305\u542B\u9519\u8BEF\u503C\u7684\u5355\u5143\u683C\uFF0CT\u5C06\u8FD4\u56DE\u8BE5\u9519\u8BEF\u503C\u3002
  369. \u5BF9\u4E8E\u6240\u6709\u5176\u4ED6\u60C5\u51B5\uFF0CT\u5C06\u8FD4\u56DE\u7A7A\u4E32\u3002`}]},FIXED:{d:"\u4EE5\u56FA\u5B9A\u7684\u5C0F\u6570\u4F4D\u6570\u8BBE\u7F6E\u6570\u5B57\u7684\u683C\u5F0F\u3002",a:"\u4EE5\u56FA\u5B9A\u7684\u5C0F\u6570\u4F4D\u6570\u8BBE\u7F6E\u6570\u5B57\u7684\u683C\u5F0F\u3002",p:[{name:"number",detail:"\u8981\u8FDB\u884C\u820D\u5165\u5E76\u8F6C\u6362\u4E3A\u6587\u672C\u7684\u6570\u5B57\u3002"},{name:"decimals",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A2] - \u7ED3\u679C\u4E2D\u8981\u663E\u793A\u7684\u5C0F\u6570\u4F4D\u6570\u3002
  370. \u5982\u679C\u6570\u503C\u7684\u6709\u6548\u4F4D\u6570\u5C0F\u4E8E\u5C0F\u6570\u4F4D\u6570\uFF0C\u5C06\u4EE5\u96F6\u586B\u5145\u3002\u5982\u679C\u6570\u503C\u7684\u6709\u6548\u4F4D\u6570\u5927\u4E8E\u5C0F\u6570\u4F4D\u6570\uFF0C\u5219\u5C06\u5176\u820D\u5165\u5230\u6240\u9700\u7684\u5C0F\u6570\u4F4D\u6570\u800C\u4E0D\u662F\u5C06\u5176\u622A\u65AD\u3002`},{name:"no_commas",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3AFALSE()] - \u4E00\u4E2A\u903B\u8F91\u503C\uFF0C\u5982\u679C\u4E3A TRUE()\uFF0C\u5219\u4F1A\u7981\u6B62 FIXED \u5728\u8FD4\u56DE\u7684\u6587\u672C\u4E2D\u5305\u542B\u9017\u53F7\u3002"}]},FIND:{d:"\u8FD4\u56DE\u5B57\u7B26\u4E32\u5728\u6587\u672C\u4E2D\u9996\u6B21\u51FA\u73B0\u7684\u4F4D\u7F6E\uFF08\u533A\u5206\u5927\u5C0F\u5199\uFF09\u3002",a:"\u8FD4\u56DE\u5B57\u7B26\u4E32\u5728\u6587\u672C\u4E2D\u9996\u6B21\u51FA\u73B0\u7684\u4F4D\u7F6E\uFF08\u533A\u5206\u5927\u5C0F\u5199\uFF09\u3002",p:[{name:"find_text",detail:"\u8981\u5728\u8981\u641C\u7D22\u7684\u6587\u672C\u4E2D\u67E5\u627E\u7684\u5B57\u7B26\u4E32\u3002"},{name:"within_text",detail:"\u8981\u5728\u5176\u4E2D\u641C\u7D22\u641C\u7D22\u5B57\u7B26\u4E32\u7684\u9996\u6B21\u51FA\u73B0\u4F4D\u7F6E\u7684\u6587\u672C\u3002"},{name:"start_num",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A1] - \u8981\u5728\u8981\u641C\u7D22\u7684\u6587\u672C\u4E2D\u5F00\u59CB\u641C\u7D22\u7684\u5B57\u7B26\u4F4D\u7F6E\u3002"}]},FINDB:{d:"\u8FD4\u56DE\u67D0\u4E2A\u5B57\u7B26\u4E32\u5728\u6587\u672C\u4E2D\u9996\u6B21\u51FA\u73B0\u7684\u4F4D\u7F6E\uFF08\u6BCF\u4E2A\u53CC\u5B57\u8282\u5B57\u7B26\u5360\u4E24\u4E2A\u4F4D\u7F6E\uFF09\u3002",a:"\u8FD4\u56DE\u67D0\u4E2A\u5B57\u7B26\u4E32\u5728\u6587\u672C\u4E2D\u9996\u6B21\u51FA\u73B0\u7684\u4F4D\u7F6E\uFF08\u6BCF\u4E2A\u53CC\u5B57\u8282\u5B57\u7B26\u5360\u4E24\u4E2A\u4F4D\u7F6E\uFF09\u3002",p:[{name:"find_text",detail:"\u8981\u5728\u8981\u641C\u7D22\u7684\u6587\u672C\u4E2D\u67E5\u627E\u7684\u5B57\u7B26\u4E32\u3002"},{name:"within_text",detail:"\u8981\u5728\u5176\u4E2D\u641C\u7D22\u641C\u7D22\u5B57\u7B26\u4E32\u7684\u9996\u6B21\u51FA\u73B0\u4F4D\u7F6E\u7684\u6587\u672C\u3002"},{name:"start_num",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A 1] - \u8981\u5728\u8981\u641C\u7D22\u7684\u6587\u672C\u4E2D\u5F00\u59CB\u641C\u7D22\u7684\u5B57\u7B26\u4F4D\u7F6E\u3002"}]},JOIN:{d:"\u5C06\u4E00\u4E2A\u6216\u591A\u4E2A\u4F7F\u7528\u6307\u5B9A\u5B9A\u754C\u7B26\u7684\u4E00\u7EF4\u6570\u7EC4\u7684\u5143\u7D20\u8FDE\u63A5\u5230\u4E00\u8D77\u3002",a:"\u5C06\u4E00\u4E2A\u6216\u591A\u4E2A\u4F7F\u7528\u6307\u5B9A\u5B9A\u754C\u7B26\u7684\u4E00\u7EF4\u6570\u7EC4\u7684\u5143\u7D20\u8FDE\u63A5\u5230\u4E00\u8D77\u3002",p:[{name:"separator",detail:`\u7F6E\u4E8E\u76F8\u4E92\u8FDE\u63A5\u7684\u503C\u4E4B\u95F4\u7684\u5B57\u7B26\u6216\u5B57\u7B26\u4E32\u3002
  371. \u5B9A\u754C\u7B26\u53EF\u4EE5\u4E3A\u7A7A\uFF0C\u4F8B\u5982JOIN(,{1,2,3})\u3002`},{name:"array1",detail:"\u8981\u4F7F\u7528\u5B9A\u754C\u7B26\u8FDE\u63A5\u7684\u4E00\u4E2A\u6216\u591A\u4E2A\u503C\u3002"},{name:"array2, ...",detail:"[\u53EF\u9009] - \u8981\u4F7F\u7528\u5B9A\u754C\u7B26\u8FDE\u63A5\u7684\u5176\u4ED6\u503C\u6216\u6570\u7EC4\u3002"}]},LEFT:{d:"\u4ECE\u6587\u672C\u5B57\u7B26\u4E32\u7684\u7B2C\u4E00\u4E2A\u5B57\u7B26\u5F00\u59CB\u8FD4\u56DE\u6307\u5B9A\u4E2A\u6570\u7684\u5B57\u7B26\u3002",a:"\u4ECE\u6587\u672C\u5B57\u7B26\u4E32\u7684\u7B2C\u4E00\u4E2A\u5B57\u7B26\u5F00\u59CB\u8FD4\u56DE\u6307\u5B9A\u4E2A\u6570\u7684\u5B57\u7B26\u3002",p:[{name:"text",detail:"\u5305\u542B\u8981\u63D0\u53D6\u7684\u5B57\u7B26\u7684\u6587\u672C\u5B57\u7B26\u4E32\u3002"},{name:"num_chars",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A1] - \u6307\u5B9A\u8981\u7531 LEFT \u63D0\u53D6\u7684\u5B57\u7B26\u7684\u6570\u91CF\u3002"}]},RIGHT:{d:"\u6839\u636E\u6240\u6307\u5B9A\u7684\u5B57\u7B26\u6570\u8FD4\u56DE\u6587\u672C\u5B57\u7B26\u4E32\u4E2D\u6700\u540E\u4E00\u4E2A\u6216\u591A\u4E2A\u5B57\u7B26\u3002",a:"\u6839\u636E\u6240\u6307\u5B9A\u7684\u5B57\u7B26\u6570\u8FD4\u56DE\u6587\u672C\u5B57\u7B26\u4E32\u4E2D\u6700\u540E\u4E00\u4E2A\u6216\u591A\u4E2A\u5B57\u7B26\u3002",p:[{name:"text",detail:"\u5305\u542B\u8981\u63D0\u53D6\u7684\u5B57\u7B26\u7684\u6587\u672C\u5B57\u7B26\u4E32\u3002"},{name:"num_chars",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A1] - \u6307\u5B9A\u8981\u7531 RIGHT \u63D0\u53D6\u7684\u5B57\u7B26\u7684\u6570\u91CF\u3002"}]},MID:{d:"\u8FD4\u56DE\u6587\u672C\u5B57\u7B26\u4E32\u4E2D\u4ECE\u6307\u5B9A\u4F4D\u7F6E\u5F00\u59CB\u7684\u7279\u5B9A\u6570\u76EE\u7684\u5B57\u7B26\u3002",a:"\u8FD4\u56DE\u6587\u672C\u5B57\u7B26\u4E32\u4E2D\u4ECE\u6307\u5B9A\u4F4D\u7F6E\u5F00\u59CB\u7684\u7279\u5B9A\u6570\u76EE\u7684\u5B57\u7B26\u3002",p:[{name:"text",detail:"\u5305\u542B\u8981\u63D0\u53D6\u7684\u5B57\u7B26\u7684\u6587\u672C\u5B57\u7B26\u4E32\u3002"},{name:"start_num",detail:"\u8981\u4ECE\u5B57\u7B26\u4E32\u4E2D\u5F00\u59CB\u63D0\u53D6\u7684\u4F4D\u7F6E\u3002\u5B57\u7B26\u4E32\u4E2D\u7B2C\u4E00\u4E2A\u5B57\u7B26\u7684\u7D22\u5F15\u4E3A1\u3002"},{name:"num_chars",detail:`\u6307\u5B9A\u8981\u7531 MID \u63D0\u53D6\u7684\u5B57\u7B26\u7684\u6570\u91CF\u3002
  372. \u5982\u679C\u63D0\u53D6\u7684\u5B57\u7B26\u6570\u5C1A\u4E0D\u8DB3\u63D0\u53D6\u957F\u5EA6\u4E2A\u5B57\u7B26\u65F6\u5C31\u5230\u8FBE\u4E86\u5B57\u7B26\u4E32\u5C3E\u90E8\uFF0C\u5219MID\u8FD4\u56DE\u4ECE\u5F00\u59CB\u4F4D\u7F6E\u5230\u5B57\u7B26\u4E32\u5C3E\u90E8\u7684\u5B57\u7B26\u3002`}]},LEN:{d:"\u8FD4\u56DE\u7ED9\u5B9A\u5B57\u7B26\u4E32\u7684\u957F\u5EA6\u3002",a:"\u8FD4\u56DE\u7ED9\u5B9A\u5B57\u7B26\u4E32\u7684\u957F\u5EA6\u3002",p:[{name:"text",detail:"\u8981\u8FD4\u56DE\u5176\u957F\u5EA6\u7684\u5B57\u7B26\u4E32\u3002"}]},LENB:{d:"\u8FD4\u56DE\u6587\u672C\u4E2D\u6240\u5305\u542B\u7684\u5B57\u7B26\u6570\u3002\u4E0E\u53CC\u5B57\u8282\u5B57\u7B26\u96C6(DBCS)\u4E00\u8D77\u4F7F\u7528\u3002",a:"\u8FD4\u56DE\u6587\u672C\u4E2D\u6240\u5305\u542B\u7684\u5B57\u7B26\u6570\u3002\u4E0E\u53CC\u5B57\u8282\u5B57\u7B26\u96C6(DBCS)\u4E00\u8D77\u4F7F\u7528\u3002",p:[{name:"text",detail:"\u8981\u8FD4\u56DE\u5176\u5B57\u8282\u6570\u7684\u5B57\u7B26\u4E32\u3002\uFF08\u4E00\u4E2A\u6C49\u5B57\u4E3A\u4E24\u4E2A\u5B57\u8282\u6570\uFF09"}]},LOWER:{d:"\u5C06\u6307\u5B9A\u5B57\u7B26\u4E32\u4E2D\u7684\u5B57\u6BCD\u8F6C\u6362\u4E3A\u5C0F\u5199\u3002",a:"\u5C06\u6307\u5B9A\u5B57\u7B26\u4E32\u4E2D\u7684\u5B57\u6BCD\u8F6C\u6362\u4E3A\u5C0F\u5199\u3002",p:[{name:"text",detail:"\u8981\u8F6C\u6362\u4E3A\u5C0F\u5199\u7684\u5B57\u7B26\u4E32\u3002"}]},UPPER:{d:"\u5C06\u6307\u5B9A\u5B57\u7B26\u4E32\u4E2D\u7684\u5B57\u6BCD\u8F6C\u6362\u4E3A\u5927\u5199\u3002",a:"\u5C06\u6307\u5B9A\u5B57\u7B26\u4E32\u4E2D\u7684\u5B57\u6BCD\u8F6C\u6362\u4E3A\u5927\u5199\u3002",p:[{name:"text",detail:"\u8981\u8F6C\u6362\u4E3A\u5927\u5199\u7684\u5B57\u7B26\u4E32\u3002"}]},EXACT:{d:"\u6BD4\u8F83\u4E24\u4E2A\u5B57\u7B26\u4E32\u662F\u5426\u76F8\u540C\u3002",a:"\u6BD4\u8F83\u4E24\u4E2A\u5B57\u7B26\u4E32\u662F\u5426\u76F8\u540C\u3002",p:[{name:"text1",detail:"\u8981\u6BD4\u8F83\u7684\u7B2C\u4E00\u4E2A\u5B57\u7B26\u4E32\u3002"},{name:"text2",detail:"\u8981\u6BD4\u8F83\u7684\u7B2C\u4E8C\u4E2A\u5B57\u7B26\u4E32\u3002"}]},REPLACE:{d:"\u5C06\u6587\u672C\u5B57\u7B26\u4E32\u7684\u4E00\u90E8\u5206\u66FF\u6362\u4E3A\u5176\u4ED6\u6587\u672C\u5B57\u7B26\u4E32\u3002",a:"\u5C06\u6587\u672C\u5B57\u7B26\u4E32\u7684\u4E00\u90E8\u5206\u66FF\u6362\u4E3A\u5176\u4ED6\u6587\u672C\u5B57\u7B26\u4E32\u3002",p:[{name:"old_text",detail:"\u8981\u5BF9\u5176\u5C40\u90E8\u8FDB\u884C\u66FF\u6362\u64CD\u4F5C\u7684\u6587\u672C\u3002"},{name:"start_num",detail:"\u5F00\u59CB\u8FDB\u884C\u66FF\u6362\u64CD\u4F5C\u7684\u4F4D\u7F6E\uFF08\u6587\u672C\u5F00\u5934\u4F4D\u7F6E\u4E3A 1\uFF09\u3002"},{name:"num_chars",detail:"\u8981\u5728\u6587\u672C\u4E2D\u66FF\u6362\u7684\u5B57\u7B26\u4E2A\u6570\u3002"},{name:"new_text",detail:"\u8981\u63D2\u5165\u5230\u539F\u6709\u6587\u672C\u4E2D\u7684\u6587\u672C\u3002"}]},REPT:{d:"\u8FD4\u56DE\u6307\u5B9A\u6587\u672C\u7684\u591A\u6B21\u91CD\u590D\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u6587\u672C\u7684\u591A\u6B21\u91CD\u590D\u3002",p:[{name:"text",detail:"\u8981\u91CD\u590D\u7684\u5B57\u7B26\u6216\u5B57\u7B26\u4E32\u3002"},{name:"number_times",detail:`\u8981\u91CD\u590D\u7684\u6587\u672C\u8981\u5728\u8FD4\u56DE\u503C\u4E2D\u51FA\u73B0\u7684\u6B21\u6570\u3002
  373. \u6700\u5927\u91CD\u590D\u6B21\u6570\u4E3A100\u3002\u5373\u4F7F\u91CD\u590D\u6B21\u6570\u5927\u4E8E100\uFF0CREPT\u4E5F\u4EC5\u5C06\u76F8\u5E94\u6587\u672C\u91CD\u590D100\u6B21\u3002`}]},SEARCH:{d:"\u8FD4\u56DE\u5B57\u7B26\u4E32\u5728\u6587\u672C\u4E2D\u9996\u6B21\u51FA\u73B0\u7684\u4F4D\u7F6E\uFF08\u4E0D\u533A\u5206\u5927\u5C0F\u5199\uFF09\u3002",a:"\u8FD4\u56DE\u5B57\u7B26\u4E32\u5728\u6587\u672C\u4E2D\u9996\u6B21\u51FA\u73B0\u7684\u4F4D\u7F6E\uFF08\u4E0D\u533A\u5206\u5927\u5C0F\u5199\uFF09\u3002",p:[{name:"find_text",detail:"\u8981\u5728\u8981\u641C\u7D22\u7684\u6587\u672C\u4E2D\u67E5\u627E\u7684\u5B57\u7B26\u4E32\u3002"},{name:"within_text",detail:"\u8981\u5728\u5176\u4E2D\u641C\u7D22\u641C\u7D22\u5B57\u7B26\u4E32\u7684\u9996\u6B21\u51FA\u73B0\u4F4D\u7F6E\u7684\u6587\u672C\u3002"},{name:"start_num",detail:"[ \u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3A1 ] - \u8981\u5728\u8981\u641C\u7D22\u7684\u6587\u672C\u4E2D\u5F00\u59CB\u641C\u7D22\u7684\u5B57\u7B26\u4F4D\u7F6E\u3002"}]},SUBSTITUTE:{d:"\u5728\u6587\u672C\u5B57\u7B26\u4E32\u4E2D\u7528 new_text \u66FF\u6362 old_text\u3002",a:"\u5728\u6587\u672C\u5B57\u7B26\u4E32\u4E2D\u7528 new_text \u66FF\u6362 old_text\u3002",p:[{name:"text",detail:"\u9700\u8981\u66FF\u6362\u5176\u4E2D\u5B57\u7B26\u7684\u6587\u672C\uFF0C\u6216\u5BF9\u542B\u6709\u6587\u672C\uFF08\u9700\u8981\u66FF\u6362\u5176\u4E2D\u5B57\u7B26\uFF09\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3002"},{name:"old_text",detail:"\u9700\u8981\u66FF\u6362\u7684\u6587\u672C\u3002"},{name:"new_text",detail:"\u7528\u4E8E\u66FF\u6362 old_text \u7684\u6587\u672C\u3002"},{name:"instance_num",detail:"[ \u53EF\u9009 ] - \u6307\u5B9A\u8981\u7528 new_text \u66FF\u6362 old_text \u7684\u4E8B\u4EF6\u3002 \u5982\u679C\u6307\u5B9A\u4E86 instance_num\uFF0C\u5219\u53EA\u6709\u6EE1\u8DB3\u8981\u6C42\u7684 old_text \u88AB\u66FF\u6362\u3002 \u5426\u5219\uFF0C\u6587\u672C\u4E2D\u51FA\u73B0\u7684\u6240\u6709 old_text \u90FD\u4F1A\u66F4\u6539\u4E3A new_text\u3002"}]},CLEAN:{d:"\u79FB\u9664\u6587\u672C\u4E2D\u7684\u4E0D\u53EF\u6253\u5370 ASCII \u5B57\u7B26\u540E\u5C06\u5176\u8FD4\u56DE\u3002",a:"\u79FB\u9664\u6587\u672C\u4E2D\u7684\u4E0D\u53EF\u6253\u5370 ASCII \u5B57\u7B26\u540E\u5C06\u5176\u8FD4\u56DE\u3002",p:[{name:"text",detail:"\u8981\u79FB\u9664\u5176\u4E2D\u4E0D\u53EF\u6253\u5370\u5B57\u7B26\u7684\u6587\u672C\u3002"}]},TEXT:{d:"\u6309\u7167\u6307\u5B9A\u683C\u5F0F\u5C06\u6570\u5B57\u8F6C\u6362\u4E3A\u6587\u672C\u3002",a:"\u6309\u7167\u6307\u5B9A\u683C\u5F0F\u5C06\u6570\u5B57\u8F6C\u6362\u4E3A\u6587\u672C\u3002",p:[{name:"value",detail:"\u8981\u8BBE\u7F6E\u683C\u5F0F\u7684\u6570\u5B57\u3001\u65E5\u671F\u6216\u65F6\u95F4\u3002"},{name:"format_text",detail:`\u4EE5\u62EC\u53F7\u62EC\u8D77\u6765\u7684\u6A21\u5F0F\u4E32\uFF0C\u5C06\u6309\u8BE5\u6A21\u5F0F\u8BBE\u7F6E\u6570\u5B57\u7684\u683C\u5F0F\u3002
  374. 0\u8868\u793A\u5728\u6570\u503C\u4F4D\u6570\u5C11\u4E8E\u683C\u5F0F\u6307\u5B9A\u7684\u4F4D\u6570\u65F6\u5FC5\u5B9A\u4EE5\u96F6\u586B\u5145\u3002\u4F8B\u5982\uFF0CTEXT(12.3,"000.00")\u5C06\u8FD4\u56DE012.30\u3002\u5F53\u6570\u503C\u7684\u5C0F\u6570\u4F4D\u6570\u8D85\u8FC7\u6A21\u5F0F\u6307\u5B9A\u7684\u5C0F\u6570\u4F4D\u6570\u65F6\uFF0C\u56DB\u820D\u4E94\u5165\u4E3A\u6307\u5B9A\u7684\u5C0F\u6570\u4F4D\u6570\u3002\u4F8B\u5982\uFF0CTEXT(12.305,"00.00")\u5C06\u8FD4\u56DE12.31\u3002
  375. #\u7C7B\u4F3C\u4E8E0\uFF0C\u4F46\u5E76\u4E0D\u662F\u5728\u5C0F\u6570\u70B9\u7684\u4E24\u4FA7\u90FD\u4EE5\u96F6\u586B\u5145\u3002\u4F8B\u5982\uFF0CTEXT(12.3,"###.##")\u5C06\u8FD4\u56DE12.3\u3002`}]},TRIM:{d:"\u5220\u9664\u6307\u5B9A\u5B57\u7B26\u4E32\u524D\u540E\u7684\u7A7A\u683C\u3002",a:"\u5220\u9664\u6307\u5B9A\u5B57\u7B26\u4E32\u524D\u540E\u7684\u7A7A\u683C\u3002",p:[{name:"text",detail:"\u8981\u4FEE\u526A\u7684\u5B57\u7B26\u4E32\u6216\u6307\u5411\u5305\u542B\u8BE5\u5B57\u7B26\u4E32\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3002"}]},VALUE:{d:"\u5C06\u53EF\u8BC6\u522B\u7684\u4EFB\u4F55\u65E5\u671F\u3001\u65F6\u95F4\u6216\u6570\u5B57\u683C\u5F0F\u7684\u5B57\u7B26\u4E32\u8F6C\u6362\u4E3A\u6570\u5B57\u3002",a:"\u5C06\u53EF\u8BC6\u522B\u7684\u4EFB\u4F55\u65E5\u671F\u3001\u65F6\u95F4\u6216\u6570\u5B57\u683C\u5F0F\u7684\u5B57\u7B26\u4E32\u8F6C\u6362\u4E3A\u6570\u5B57\u3002",p:[{name:"text",detail:"\u5305\u542B\u8981\u8F6C\u6362\u7684\u503C\u7684\u5B57\u7B26\u4E32\u3002"}]},PROPER:{d:"\u5C06\u6307\u5B9A\u5B57\u7B26\u4E32\u4E2D\u6BCF\u4E2A\u5355\u8BCD\u7684\u9996\u5B57\u6BCD\u8F6C\u4E3A\u5927\u5199\u3002",a:"\u5C06\u6307\u5B9A\u5B57\u7B26\u4E32\u4E2D\u6BCF\u4E2A\u5355\u8BCD\u7684\u9996\u5B57\u6BCD\u8F6C\u4E3A\u5927\u5199\u3002",p:[{name:"text",detail:"\u8981\u8F6C\u6362\u7684\u6587\u672C\uFF0C\u5176\u4E2D\u6BCF\u4E2A\u5355\u8BCD\u7684\u9996\u5B57\u6BCD\u90FD\u5C06\u8F6C\u4E3A\u5927\u5199\uFF0C\u6240\u6709\u5176\u4ED6\u5B57\u6BCD\u5219\u8F6C\u4E3A\u5C0F\u5199\u3002"}]},CONVERT:{d:"\u5C06\u6570\u5B57\u4ECE\u4E00\u79CD\u5EA6\u91CF\u7CFB\u7EDF\u8F6C\u6362\u4E3A\u53E6\u4E00\u79CD\u5EA6\u91CF\u7CFB\u7EDF\u3002",a:"\u5C06\u6570\u5B57\u4ECE\u4E00\u79CD\u5EA6\u91CF\u7CFB\u7EDF\u8F6C\u6362\u4E3A\u53E6\u4E00\u79CD\u5EA6\u91CF\u7CFB\u7EDF\u3002",p:[{name:"number",detail:"\u662F\u4EE5 from_unit \u4E3A\u5355\u4F4D\u7684\u9700\u8981\u8FDB\u884C\u8F6C\u6362\u7684\u6570\u503C\u3002"},{name:"from_unit",detail:"\u662F\u6570\u503C\u7684\u5355\u4F4D\u3002"},{name:"to_unit",detail:"\u662F\u7ED3\u679C\u7684\u5355\u4F4D\u3002"}]},SUMX2MY2:{d:"\u8FD4\u56DE\u4E24\u6570\u7EC4\u4E2D\u5BF9\u5E94\u6570\u503C\u7684\u5E73\u65B9\u5DEE\u4E4B\u548C\u3002",a:"\u8FD4\u56DE\u4E24\u6570\u7EC4\u4E2D\u5BF9\u5E94\u6570\u503C\u7684\u5E73\u65B9\u5DEE\u4E4B\u548C\u3002",p:[{name:"array_x",detail:"\u7B2C\u4E00\u4E2A\u6570\u7EC4\u6216\u6570\u503C\u533A\u57DF\u3002"},{name:"array_y",detail:"\u7B2C\u4E8C\u4E2A\u6570\u7EC4\u6216\u6570\u503C\u533A\u57DF\u3002"}]},SUMX2PY2:{d:"\u8FD4\u56DE\u4E24\u6570\u7EC4\u4E2D\u5BF9\u5E94\u6570\u503C\u7684\u5E73\u65B9\u548C\u4E4B\u548C\u3002",a:"\u8FD4\u56DE\u4E24\u6570\u7EC4\u4E2D\u5BF9\u5E94\u6570\u503C\u7684\u5E73\u65B9\u548C\u4E4B\u548C\u3002",p:[{name:"array_x",detail:"\u7B2C\u4E00\u4E2A\u6570\u7EC4\u6216\u6570\u503C\u533A\u57DF\u3002"},{name:"array_y",detail:"\u7B2C\u4E8C\u4E2A\u6570\u7EC4\u6216\u6570\u503C\u533A\u57DF\u3002"}]},SUMXMY2:{d:"\u8FD4\u56DE\u4E24\u6570\u7EC4\u4E2D\u5BF9\u5E94\u6570\u503C\u4E4B\u5DEE\u7684\u5E73\u65B9\u548C\u3002",a:"\u8FD4\u56DE\u4E24\u6570\u7EC4\u4E2D\u5BF9\u5E94\u6570\u503C\u4E4B\u5DEE\u7684\u5E73\u65B9\u548C\u3002",p:[{name:"array_x",detail:"\u7B2C\u4E00\u4E2A\u6570\u7EC4\u6216\u6570\u503C\u533A\u57DF\u3002"},{name:"array_y",detail:"\u7B2C\u4E8C\u4E2A\u6570\u7EC4\u6216\u6570\u503C\u533A\u57DF\u3002"}]},TRANSPOSE:{d:"\u5C06\u6570\u7EC4\u6216\u5355\u5143\u683C\u8303\u56F4\u7684\u884C\u5217\u8F6C\u7F6E\u3002",a:"\u5C06\u6570\u7EC4\u6216\u5355\u5143\u683C\u8303\u56F4\u7684\u884C\u5217\u8F6C\u7F6E\u3002",p:[{name:"array",detail:"\u8981\u5C06\u5176\u884C\u5217\u4E92\u6362\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002"}]},TREND:{d:"\u8FD4\u56DE\u7EBF\u6027\u8D8B\u52BF\u503C\u3002",a:"\u8FD4\u56DE\u7EBF\u6027\u8D8B\u52BF\u503C\u3002",p:[{name:"known_y",detail:`\u5173\u7CFB\u8868\u8FBE\u5F0F y = mx + b \u4E2D\u5DF2\u77E5\u7684 y \u503C\u96C6\u5408\u3002
  376. \u5982\u679C known_y \u4E3A\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0C\u5219 known_x \u7684\u7EF4\u6570\u5FC5\u987B\u4E0E\u4E4B\u76F8\u540C\uFF0C\u6216\u8005\u7701\u7565\u6B64\u53C2\u6570\u3002
  377. \u5982\u679C known_y \u4E3A\u4E00\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0Cknown_x \u5219\u53EF\u4EE3\u8868\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u591A\u4E2A\u81EA\u53D8\u91CF\u3002\u4E5F\u5C31\u662F\u8BF4\uFF0C\u5982\u679C known_y \u4E3A\u5355\u884C\uFF0C\u5219\u5C06 known_x \u4E2D\u7684\u6BCF\u884C\u89E3\u91CA\u4E3A\u5404\u81EA\u72EC\u7ACB\u7684\u503C\uFF0C\u7C7B\u4F3C\u60C5\u51B5\u4E5F\u9002\u7528\u4E8E known_y \u4E3A\u5355\u5217\u7684\u60C5\u51B5\u3002`},{name:"known_x",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u8BE5\u6570\u7EC4\u4E3A{1,2,3,...},\u5176\u5927\u5C0F\u4E0E known_y \u76F8\u540C] - \u5173\u7CFB\u8868\u8FBE\u5F0F y = mx + b \u4E2D\u5DF2\u77E5\u7684\u53EF\u9009 x \u503C\u96C6\u5408\u3002
  378. \u5982\u679C known_y \u4E3A\u4E00\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0Cknown_x \u5219\u53EF\u4EE3\u8868\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u591A\u4E2A\u81EA\u53D8\u91CF\u3002\u4E5F\u5C31\u662F\u8BF4\uFF0C\u5982\u679C known_y \u4E3A\u5355\u884C\uFF0C\u5219\u5C06 known_x \u4E2D\u7684\u6BCF\u884C\u89E3\u91CA\u4E3A\u5404\u81EA\u72EC\u7ACB\u7684\u503C\uFF0C\u7C7B\u4F3C\u60C5\u51B5\u4E5F\u9002\u7528\u4E8E known_y \u4E3A\u5355\u5217\u7684\u60C5\u51B5\u3002`},{name:"new_x",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u4E0E known_x \u76F8\u540C] - \u9700\u8981\u51FD\u6570 TREND \u8FD4\u56DE\u5BF9\u5E94 y \u503C\u7684\u65B0 x \u503C\u3002"},{name:"const",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3ATRUE()] - \u4E00\u4E2A\u903B\u8F91\u503C\uFF0C\u7528\u4E8E\u6307\u5B9A\u662F\u5426\u5C06\u5E38\u91CF b \u5F3A\u5236\u8BBE\u4E3A 0\u3002
  379. TRUE() \u8868\u793A b \u5C06\u6309\u6B63\u5E38\u8BA1\u7B97\uFF1B
  380. FALSE() \u8868\u793A b \u5C06\u88AB\u8BBE\u4E3A 0\uFF08\u96F6\uFF09\uFF0Cm \u5C06\u88AB\u8C03\u6574\u4EE5\u4F7F y = mx\u3002`}]},FREQUENCY:{d:"\u8BA1\u7B97\u6570\u503C\u5728\u67D0\u4E2A\u533A\u57DF\u5185\u7684\u51FA\u73B0\u9891\u7387\uFF0C\u7136\u540E\u8FD4\u56DE\u4E00\u4E2A\u5782\u76F4\u6570\u7EC4\u3002",a:"\u8BA1\u7B97\u6570\u503C\u5728\u67D0\u4E2A\u533A\u57DF\u5185\u7684\u51FA\u73B0\u9891\u7387\uFF0C\u7136\u540E\u8FD4\u56DE\u4E00\u4E2A\u5782\u76F4\u6570\u7EC4\u3002",p:[{name:"data_array",detail:"\u8981\u5BF9\u5176\u9891\u7387\u8FDB\u884C\u8BA1\u6570\u7684\u4E00\u7EC4\u6570\u503C\u6216\u5BF9\u8FD9\u7EC4\u6570\u503C\u7684\u5F15\u7528\u3002"},{name:"bins_array",detail:`\u8981\u5C06 data_array \u4E2D\u7684\u503C\u63D2\u5165\u5230\u7684\u95F4\u9694\u6570\u7EC4\u6216\u5BF9\u95F4\u9694\u7684\u5F15\u7528\u3002
  381. \u4E3A\u6E05\u6670\u8D77\u89C1\uFF0C\u5E94\u5C06\u7C7B\u522B\u6392\u5E8F\uFF0C\u4F46\u5982\u679C\u672A\u6392\u5E8F\uFF0CFREQUENCY\u4F1A\u5728\u5185\u90E8\u5BF9\u8FD9\u4E9B\u6307\u5B9A\u7684\u503C\u8FDB\u884C\u6392\u5E8F\u5E76\u8FD4\u56DE\u6B63\u786E\u7ED3\u679C\u3002`}]},GROWTH:{d:"\u4F7F\u7528\u73B0\u6709\u6570\u636E\u8BA1\u7B97\u9884\u6D4B\u7684\u6307\u6570\u7B49\u6BD4\u3002",a:"\u4F7F\u7528\u73B0\u6709\u6570\u636E\u8BA1\u7B97\u9884\u6D4B\u7684\u6307\u6570\u7B49\u6BD4\u3002",p:[{name:"known_y",detail:`\u5173\u7CFB\u8868\u8FBE\u5F0F y = b*m^x \u4E2D\u5DF2\u77E5\u7684 y \u503C\u96C6\u5408\u3002
  382. \u5982\u679C\u5DF2\u77E5\u6570\u636E_y\u4E3A\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0C\u5219\u5DF2\u77E5\u6570\u636E_x\u7684\u7EF4\u6570\u5FC5\u987B\u4E0E\u4E4B\u76F8\u540C\uFF0C\u6216\u8005\u7701\u7565\u6B64\u53C2\u6570\u3002
  383. \u5982\u679C\u5DF2\u77E5\u6570\u636E_y\u4E3A\u4E00\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0C\u5DF2\u77E5\u6570\u636E_x\u5219\u53EF\u4EE3\u8868\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u591A\u4E2A\u81EA\u53D8\u91CF\u3002\u4E5F\u5C31\u662F\u8BF4\uFF0C\u5982\u679C\u5DF2\u77E5\u6570\u636E_y\u4E3A\u5355\u884C\uFF0C\u5219\u5C06\u5DF2\u77E5\u6570\u636E_x\u4E2D\u7684\u6BCF\u884C\u89E3\u91CA\u4E3A\u5404\u81EA\u72EC\u7ACB\u7684\u503C\uFF0C\u7C7B\u4F3C\u60C5\u51B5\u4E5F\u9002\u7528\u4E8E\u5DF2\u77E5\u6570\u636E_y\u4E3A\u5355\u5217\u7684\u60C5\u51B5\u3002`},{name:"known_x",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u8BE5\u6570\u7EC4\u4E3A{1,2,3,...},\u5176\u5927\u5C0F\u4E0E known_y \u76F8\u540C] - \u5173\u7CFB\u8868\u8FBE\u5F0F y = b*m^x \u4E2D\u5DF2\u77E5\u7684\u53EF\u9009 x \u503C\u96C6\u5408\u3002
  384. \u5982\u679C\u5DF2\u77E5\u6570\u636E_y\u4E3A\u4E00\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0C\u5DF2\u77E5\u6570\u636E_x\u5219\u53EF\u4EE3\u8868\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u591A\u4E2A\u81EA\u53D8\u91CF\u3002\u4E5F\u5C31\u662F\u8BF4\uFF0C\u5982\u679C\u5DF2\u77E5\u6570\u636E_y\u4E3A\u5355\u884C\uFF0C\u5219\u5C06\u5DF2\u77E5\u6570\u636E_x\u4E2D\u7684\u6BCF\u884C\u89E3\u91CA\u4E3A\u5404\u81EA\u72EC\u7ACB\u7684\u503C\uFF0C\u7C7B\u4F3C\u60C5\u51B5\u4E5F\u9002\u7528\u4E8E\u5DF2\u77E5\u6570\u636E_y\u4E3A\u5355\u5217\u7684\u60C5\u51B5\u3002`},{name:"new_x",detail:"[\u53EF\u9009 - \u9ED8\u8BA4\u4E0E known_x \u76F8\u540C] - \u9700\u8981\u51FD\u6570 GROWTH \u8FD4\u56DE\u5BF9\u5E94 y \u503C\u7684\u65B0 x \u503C\u3002"},{name:"const",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3ATRUE()] -\u4E00\u4E2A\u903B\u8F91\u503C\uFF0C\u7528\u4E8E\u6307\u5B9A\u662F\u5426\u5C06\u5E38\u91CF b \u5F3A\u5236\u8BBE\u4E3A 1\u3002
  385. TRUE() \u8868\u793A b \u5C06\u6309\u6B63\u5E38\u8BA1\u7B97\uFF1B
  386. FALSE() \u8868\u793A b \u5C06\u88AB\u8BBE\u4E3A 1\uFF0Cm \u5C06\u88AB\u8C03\u6574\u4EE5\u4F7F y = m^x\u3002`}]},LINEST:{d:"\u53EF\u901A\u8FC7\u4F7F\u7528\u6700\u5C0F\u4E8C\u4E58\u6CD5\u8BA1\u7B97\u4E0E\u73B0\u6709\u6570\u636E\u6700\u4F73\u62DF\u5408\u7684\u76F4\u7EBF\uFF0C\u6765\u8BA1\u7B97\u67D0\u76F4\u7EBF\u7684\u7EDF\u8BA1\u503C\uFF0C\u7136\u540E\u8FD4\u56DE\u63CF\u8FF0\u6B64\u76F4\u7EBF\u7684\u6570\u7EC4\u3002",a:"\u53EF\u901A\u8FC7\u4F7F\u7528\u6700\u5C0F\u4E8C\u4E58\u6CD5\u8BA1\u7B97\u4E0E\u73B0\u6709\u6570\u636E\u6700\u4F73\u62DF\u5408\u7684\u76F4\u7EBF\uFF0C\u6765\u8BA1\u7B97\u67D0\u76F4\u7EBF\u7684\u7EDF\u8BA1\u503C\uFF0C\u7136\u540E\u8FD4\u56DE\u63CF\u8FF0\u6B64\u76F4\u7EBF\u7684\u6570\u7EC4\u3002",p:[{name:"known_y",detail:`\u5173\u7CFB\u8868\u8FBE\u5F0F y = mx + b \u4E2D\u5DF2\u77E5\u7684 y \u503C\u96C6\u5408\u3002
  387. \u5982\u679C known_y \u4E3A\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0C\u5219 known_x \u7684\u7EF4\u6570\u5FC5\u987B\u4E0E\u4E4B\u76F8\u540C\uFF0C\u6216\u8005\u7701\u7565\u6B64\u53C2\u6570\u3002
  388. \u5982\u679C known_y \u4E3A\u4E00\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0Cknown_x \u5219\u53EF\u4EE3\u8868\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u591A\u4E2A\u81EA\u53D8\u91CF\u3002\u4E5F\u5C31\u662F\u8BF4\uFF0C\u5982\u679C known_y \u4E3A\u5355\u884C\uFF0C\u5219\u5C06 known_x \u4E2D\u7684\u6BCF\u884C\u89E3\u91CA\u4E3A\u5404\u81EA\u72EC\u7ACB\u7684\u503C\uFF0C\u7C7B\u4F3C\u60C5\u51B5\u4E5F\u9002\u7528\u4E8E known_y \u4E3A\u5355\u5217\u7684\u60C5\u51B5\u3002`},{name:"known_x",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u8BE5\u6570\u7EC4\u4E3A{1,2,3,...},\u5176\u5927\u5C0F\u4E0E known_y \u76F8\u540C] - \u5173\u7CFB\u8868\u8FBE\u5F0F y = mx + b \u4E2D\u5DF2\u77E5\u7684\u53EF\u9009 x \u503C\u96C6\u5408\u3002
  389. \u5982\u679C known_y \u4E3A\u4E00\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0Cknown_x \u5219\u53EF\u4EE3\u8868\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u591A\u4E2A\u81EA\u53D8\u91CF\u3002\u4E5F\u5C31\u662F\u8BF4\uFF0C\u5982\u679C known_y \u4E3A\u5355\u884C\uFF0C\u5219\u5C06 known_x \u4E2D\u7684\u6BCF\u884C\u89E3\u91CA\u4E3A\u5404\u81EA\u72EC\u7ACB\u7684\u503C\uFF0C\u7C7B\u4F3C\u60C5\u51B5\u4E5F\u9002\u7528\u4E8E known_y \u4E3A\u5355\u5217\u7684\u60C5\u51B5\u3002`},{name:"const",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3ATRUE()] - \u4E00\u4E2A\u903B\u8F91\u503C\uFF0C\u7528\u4E8E\u6307\u5B9A\u662F\u5426\u5C06\u5E38\u91CF b \u5F3A\u5236\u8BBE\u4E3A 0\u3002
  390. TRUE() \u8868\u793A b \u5C06\u6309\u6B63\u5E38\u8BA1\u7B97\uFF1B
  391. FALSE() \u8868\u793A b \u5C06\u88AB\u8BBE\u4E3A 0\uFF08\u96F6\uFF09\uFF0Cm \u5C06\u88AB\u8C03\u6574\u4EE5\u4F7F y = mx\u3002`},{name:"stats",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3AFALSE()] - \u4E00\u4E2A\u903B\u8F91\u503C\uFF0C\u7528\u4E8E\u6307\u5B9A\u662F\u5426\u8FD4\u56DE\u9644\u52A0\u56DE\u5F52\u7EDF\u8BA1\u503C\u3002
  392. \u5982\u679C\u8BE6\u7EC6\u4E3ATRUE\uFF0C\u9664\u4E86\u5BF9\u5E94\u4E8E\u6BCF\u4E2A\u81EA\u53D8\u91CF\u7684\u4E00\u7EC4\u7EBF\u6027\u7CFB\u6570\u548Cy\u622A\u8DDD\u4E4B\u5916\uFF0CLINEST\u8FD8\u8FD4\u56DE\u4EE5\u4E0B\u4FE1\u606F\uFF1A
  393. \u6BCF\u9879\u7CFB\u6570\u548C\u622A\u8DDD\u7684\u6807\u51C6\u8BEF\u5DEE\u3001
  394. \u9650\u5B9A\u7CFB\u6570\uFF08\u4ECB\u4E8E0\u548C1\u4E4B\u95F4\uFF0C1\u8868\u793A\u5B8C\u5168\u76F8\u5173\uFF09\u3001
  395. \u56E0\u53D8\u91CF\u503C\u7684\u6807\u51C6\u8BEF\u5DEE\u3001
  396. F\u7EDF\u8BA1\u6216F\u89C2\u6D4B\u503C\uFF0C\u6307\u793A\u6240\u89C2\u6D4B\u5230\u7684\u56E0\u53D8\u91CF\u548C\u81EA\u53D8\u91CF\u53D8\u91CF\u4E4B\u95F4\u7684\u5173\u7CFB\u662F\u968F\u673A\u7684\u8FD8\u662F\u7EBF\u6027\u7684\u3001
  397. \u81EA\u7531\u5EA6\uFF0C\u7528\u4E8E\u5728\u53C2\u7167\u8868\u4E2D\u67E5\u627EF\u7EDF\u8BA1\u503C\u4EE5\u4F30\u7B97\u53EF\u4FE1\u5EA6\u3001
  398. \u56DE\u5F52\u5E73\u65B9\u548C\uFF0C\u4EE5\u53CA
  399. \u6B8B\u5DEE\u5E73\u65B9\u548C\u3002`}]},LOGEST:{d:"\u5728\u56DE\u5F52\u5206\u6790\u4E2D\uFF0C\u8BA1\u7B97\u6700\u7B26\u5408\u6570\u636E\u7684\u6307\u6570\u56DE\u5F52\u62DF\u5408\u66F2\u7EBF\uFF0C\u5E76\u8FD4\u56DE\u63CF\u8FF0\u8BE5\u66F2\u7EBF\u7684\u6570\u503C\u6570\u7EC4\u3002",a:"\u5728\u56DE\u5F52\u5206\u6790\u4E2D\uFF0C\u8BA1\u7B97\u6700\u7B26\u5408\u6570\u636E\u7684\u6307\u6570\u56DE\u5F52\u62DF\u5408\u66F2\u7EBF\uFF0C\u5E76\u8FD4\u56DE\u63CF\u8FF0\u8BE5\u66F2\u7EBF\u7684\u6570\u503C\u6570\u7EC4\u3002",p:[{name:"known_y",detail:`\u5173\u7CFB\u8868\u8FBE\u5F0F y = mx + b \u4E2D\u5DF2\u77E5\u7684 y \u503C\u96C6\u5408\u3002
  400. \u5982\u679C known_y \u4E3A\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0C\u5219 known_x \u7684\u7EF4\u6570\u5FC5\u987B\u4E0E\u4E4B\u76F8\u540C\uFF0C\u6216\u8005\u7701\u7565\u6B64\u53C2\u6570\u3002
  401. \u5982\u679C known_y \u4E3A\u4E00\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0Cknown_x \u5219\u53EF\u4EE3\u8868\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u591A\u4E2A\u81EA\u53D8\u91CF\u3002\u4E5F\u5C31\u662F\u8BF4\uFF0C\u5982\u679C known_y \u4E3A\u5355\u884C\uFF0C\u5219\u5C06 known_x \u4E2D\u7684\u6BCF\u884C\u89E3\u91CA\u4E3A\u5404\u81EA\u72EC\u7ACB\u7684\u503C\uFF0C\u7C7B\u4F3C\u60C5\u51B5\u4E5F\u9002\u7528\u4E8E known_y \u4E3A\u5355\u5217\u7684\u60C5\u51B5\u3002`},{name:"known_x",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u8BE5\u6570\u7EC4\u4E3A{1,2,3,...},\u5176\u5927\u5C0F\u4E0E known_y \u76F8\u540C] - \u5173\u7CFB\u8868\u8FBE\u5F0F y = mx + b \u4E2D\u5DF2\u77E5\u7684\u53EF\u9009 x \u503C\u96C6\u5408\u3002
  402. \u5982\u679C known_y \u4E3A\u4E00\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\uFF0Cknown_x \u5219\u53EF\u4EE3\u8868\u4E8C\u7EF4\u6570\u7EC4\u6216\u8303\u56F4\u4E2D\u7684\u591A\u4E2A\u81EA\u53D8\u91CF\u3002\u4E5F\u5C31\u662F\u8BF4\uFF0C\u5982\u679C known_y \u4E3A\u5355\u884C\uFF0C\u5219\u5C06 known_x \u4E2D\u7684\u6BCF\u884C\u89E3\u91CA\u4E3A\u5404\u81EA\u72EC\u7ACB\u7684\u503C\uFF0C\u7C7B\u4F3C\u60C5\u51B5\u4E5F\u9002\u7528\u4E8E known_y \u4E3A\u5355\u5217\u7684\u60C5\u51B5\u3002`},{name:"const",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3ATRUE()] - \u4E00\u4E2A\u903B\u8F91\u503C\uFF0C\u7528\u4E8E\u6307\u5B9A\u662F\u5426\u5C06\u5E38\u91CF b \u5F3A\u5236\u8BBE\u4E3A 0\u3002
  403. TRUE() \u8868\u793A b \u5C06\u6309\u6B63\u5E38\u8BA1\u7B97\uFF1B
  404. FALSE() \u8868\u793A b \u5C06\u88AB\u8BBE\u4E3A 0\uFF08\u96F6\uFF09\uFF0Cm \u5C06\u88AB\u8C03\u6574\u4EE5\u4F7F y = mx\u3002`},{name:"stats",detail:`[\u53EF\u9009 - \u9ED8\u8BA4\u503C\u4E3AFALSE()] - \u4E00\u4E2A\u903B\u8F91\u503C\uFF0C\u7528\u4E8E\u6307\u5B9A\u662F\u5426\u8FD4\u56DE\u9644\u52A0\u56DE\u5F52\u7EDF\u8BA1\u503C\u3002
  405. \u5982\u679C\u8BE6\u7EC6\u4E3ATRUE\uFF0C\u5219\u9664\u4E86\u4E3A\u6BCF\u4E2A\u81EA\u53D8\u91CF\u548C\u7CFB\u6570 b \u8FD4\u56DE\u4E00\u7EC4\u6307\u6570\u503C\u4E4B\u5916\uFF0CLOGEST \u8FD8\u5C06\u8FD4\u56DE\u4EE5\u4E0B\u6570\u636E\uFF1A
  406. \u6BCF\u9879\u6307\u6570\u548C\u7CFB\u6570\u7684\u6807\u51C6\u8BEF\u5DEE\u3001
  407. \u9650\u5B9A\u7CFB\u6570\uFF08\u4ECB\u4E8E 0 \u548C 1 \u4E4B\u95F4\uFF0C1 \u8868\u793A\u5B8C\u5168\u76F8\u5173\uFF09\u3001
  408. \u56E0\u53D8\u91CF\u503C\u7684\u6807\u51C6\u8BEF\u5DEE\u3001
  409. F \u7EDF\u8BA1\u6216 F \u89C2\u6D4B\u503C\uFF0C\u6307\u793A\u6240\u89C2\u6D4B\u5230\u7684\u56E0\u53D8\u91CF\u548C\u81EA\u53D8\u91CF\u4E4B\u95F4\u7684\u5173\u7CFB\u662F\u968F\u673A\u7684\u8FD8\u662F\u6307\u6570\u7684\u3001
  410. \u81EA\u7531\u5EA6 - \u7528\u4E8E\u5728\u53C2\u7167\u8868\u4E2D\u67E5\u627E F \u7EDF\u8BA1\u503C\u4EE5\u4F30\u7B97\u53EF\u4FE1\u5EA6\u3001
  411. \u56DE\u5F52\u5E73\u65B9\u548C\uFF0C\u4EE5\u53CA
  412. \u6B8B\u5DEE\u5E73\u65B9\u548C\u3002`}]},MDETERM:{d:"\u8FD4\u56DE\u4E00\u4E2A\u6570\u7EC4\u7684\u77E9\u9635\u884C\u5217\u5F0F\u7684\u503C\u3002",a:"\u8FD4\u56DE\u4E00\u4E2A\u6570\u7EC4\u7684\u77E9\u9635\u884C\u5217\u5F0F\u7684\u503C\u3002",p:[{name:"array",detail:"\u884C\u6570\u548C\u5217\u6570\u76F8\u7B49\u7684\u6570\u503C\u6570\u7EC4\u3002"}]},MINVERSE:{d:"\u8FD4\u56DE\u6570\u7EC4\u4E2D\u5B58\u50A8\u7684\u77E9\u9635\u7684\u9006\u77E9\u9635\u3002",a:"\u8FD4\u56DE\u6570\u7EC4\u4E2D\u5B58\u50A8\u7684\u77E9\u9635\u7684\u9006\u77E9\u9635\u3002",p:[{name:"array",detail:"\u884C\u6570\u548C\u5217\u6570\u76F8\u7B49\u7684\u6570\u503C\u6570\u7EC4\u3002"}]},MMULT:{d:"\u8FD4\u56DE\u4E24\u4E2A\u6570\u7EC4\u7684\u77E9\u9635\u4E58\u79EF\u3002\u7ED3\u679C\u77E9\u9635\u7684\u884C\u6570\u4E0E array1 \u7684\u884C\u6570\u76F8\u540C\uFF0C\u77E9\u9635\u7684\u5217\u6570\u4E0E array2 \u7684\u5217\u6570\u76F8\u540C\u3002",a:"\u8FD4\u56DE\u4E24\u4E2A\u6570\u7EC4\u7684\u77E9\u9635\u4E58\u79EF\u3002\u7ED3\u679C\u77E9\u9635\u7684\u884C\u6570\u4E0E array1 \u7684\u884C\u6570\u76F8\u540C\uFF0C\u77E9\u9635\u7684\u5217\u6570\u4E0E array2 \u7684\u5217\u6570\u76F8\u540C\u3002",p:[{name:"array1",detail:`\u8981\u8FDB\u884C\u77E9\u9635\u4E58\u6CD5\u8FD0\u7B97\u7684\u7B2C\u4E00\u4E2A\u77E9\u9635\u6570\u7EC4\u3002
  413. array1 \u5217\u6570\u5FC5\u987B\u4E0E array2 \u7684\u884C\u6570\u76F8\u540C`},{name:"array2",detail:`\u8981\u8FDB\u884C\u77E9\u9635\u4E58\u6CD5\u8FD0\u7B97\u7684\u7B2C\u4E8C\u4E2A\u77E9\u9635\u6570\u7EC4\u3002
  414. array2 \u7684\u884C\u6570\u5FC5\u987B\u4E0E array1 \u5217\u6570\u76F8\u540C`}]},SUMPRODUCT:{d:"\u5728\u7ED9\u5B9A\u7684\u51E0\u7EC4\u6570\u7EC4\u4E2D\uFF0C\u5C06\u6570\u7EC4\u95F4\u5BF9\u5E94\u7684\u5143\u7D20\u76F8\u4E58\uFF0C\u5E76\u8FD4\u56DE\u4E58\u79EF\u4E4B\u548C\u3002",a:"\u5728\u7ED9\u5B9A\u7684\u51E0\u7EC4\u6570\u7EC4\u4E2D\uFF0C\u5C06\u6570\u7EC4\u95F4\u5BF9\u5E94\u7684\u5143\u7D20\u76F8\u4E58\uFF0C\u5E76\u8FD4\u56DE\u4E58\u79EF\u4E4B\u548C\u3002",p:[{name:"array1",detail:"\u5176\u76F8\u5E94\u5143\u7D20\u9700\u8981\u8FDB\u884C\u76F8\u4E58\u5E76\u6C42\u548C\u7684\u7B2C\u4E00\u4E2A\u6570\u7EC4\u53C2\u6570\u3002"},{name:"array2",detail:"[\u53EF\u9009] - \u5176\u76F8\u5E94\u5143\u7D20\u9700\u8981\u8FDB\u884C\u76F8\u4E58\u5E76\u6C42\u548C\u7684\u5176\u5B83\u6570\u7EC4\u53C2\u6570\u3002"}]},ISFORMULA:{d:"\u68C0\u67E5\u516C\u5F0F\u662F\u5426\u4F4D\u4E8E\u5F15\u7528\u7684\u5355\u5143\u683C\u4E2D\u3002",a:"\u68C0\u67E5\u516C\u5F0F\u662F\u5426\u4F4D\u4E8E\u5F15\u7528\u7684\u5355\u5143\u683C\u4E2D\u3002",p:[{name:"cell",detail:`\u8981\u68C0\u67E5\u662F\u5426\u5B58\u5728\u516C\u5F0F\u7684\u5355\u5143\u683C\u3002
  415. \u5982\u679C cell \u4E3A\u5305\u542B\u516C\u5F0F\u7684\u5355\u5143\u683C\uFF0C\u5219 ISFORMULA \u5C06\u8FD4\u56DE TRUE\u3002\u5982\u679C cell \u4E3A\u76F8\u5E94\u5355\u5143\u683C\u8303\u56F4\uFF0C\u5219\u5F53\u8BE5\u8303\u56F4\u5185\u7684\u9996\u4E2A\u5355\u5143\u683C\u5305\u542B\u516C\u5F0F\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u8FD4\u56DE TRUE\u3002\u5982\u679C\u662F\u4EFB\u4F55\u5176\u4ED6\u503C\uFF0C\u7CFB\u7EDF\u90FD\u5C06\u8FD4\u56DE FALSE\u3002`}]},CELL:{d:"\u8FD4\u56DE\u6709\u5173\u5355\u5143\u683C\u7684\u683C\u5F0F\u3001\u4F4D\u7F6E\u6216\u5185\u5BB9\u7684\u4FE1\u606F\u3002",a:"\u8FD4\u56DE\u6709\u5173\u5355\u5143\u683C\u7684\u683C\u5F0F\u3001\u4F4D\u7F6E\u6216\u5185\u5BB9\u7684\u4FE1\u606F\u3002",p:[{name:"info_type",detail:"\u4E00\u4E2A\u6587\u672C\u503C\uFF0C\u6307\u5B9A\u8981\u8FD4\u56DE\u7684\u5355\u5143\u683C\u4FE1\u606F\u7684\u7C7B\u578B\u3002"},{name:"reference",detail:"\u9700\u8981\u5176\u76F8\u5173\u4FE1\u606F\u7684\u5355\u5143\u683C\u3002"}]},NA:{d:"\u8FD4\u56DE\u9519\u8BEF\u503C #N/A\u3002",a:"\u8FD4\u56DE\u9519\u8BEF\u503C #N/A\u3002",p:[]},ERROR_TYPE:{d:"\u8FD4\u56DE\u4E0E\u5176\u4ED6\u5355\u5143\u683C\u4E2D\u7684\u9519\u8BEF\u503C\u76F8\u5BF9\u5E94\u7684\u6570\u5B57\u3002",a:"\u8FD4\u56DE\u4E0E\u5176\u4ED6\u5355\u5143\u683C\u4E2D\u7684\u9519\u8BEF\u503C\u76F8\u5BF9\u5E94\u7684\u6570\u5B57\u3002",p:[{name:"error_val",detail:"\u7528\u4E8E\u67E5\u627E\u9519\u8BEF\u53F7\u7684\u5355\u5143\u683C\uFF0C\u867D\u7136\u60A8\u4E5F\u53EF\u4EE5\u76F4\u63A5\u63D0\u4F9B\u9519\u8BEF\u503C\u3002"}]},ISBLANK:{d:"\u68C0\u67E5\u6240\u5F15\u7528\u7684\u5355\u5143\u683C\u662F\u5426\u4E3A\u7A7A\u3002",a:"\u68C0\u67E5\u6240\u5F15\u7528\u7684\u5355\u5143\u683C\u662F\u5426\u4E3A\u7A7A\u3002",p:[{name:"value",detail:`\u5BF9\u8981\u68C0\u67E5\u5176\u662F\u5426\u4E3A\u7A7A\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\u3002
  416. \u5982\u679C\u662F\u7A7A\u5355\u5143\u683C\uFF0C\u5219 TRUE\uFF1B\u5426\u5219\u8FD4\u56DE FALSE\u3002`}]},ISERR:{d:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A #N/A \u4EE5\u5916\u7684\u9519\u8BEF\u503C\u3002",a:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A #N/A \u4EE5\u5916\u7684\u9519\u8BEF\u503C\u3002",p:[{name:"value",detail:`\u8981\u9A8C\u8BC1\u5176\u662F\u5426\u4E3A#N/A\u4EE5\u5916\u7684\u9519\u8BEF\u7C7B\u578B\u7684\u503C\u3002
  417. \u5982\u679C\u503C\u662F\u9664#N/A\u4E4B\u5916\u7684\u4EFB\u4F55\u9519\u8BEF\uFF08\u5305\u62EC#DIV/0!\u3001#NAME?\u3001#NULL!\u3001#NUM!\u3001#VALUE!\u548C#REF!\uFF09\uFF0CISERR\u5C06\u8FD4\u56DETRUE\u3002`}]},ISERROR:{d:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u9519\u8BEF\u503C\u3002",a:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u9519\u8BEF\u503C\u3002",p:[{name:"value",detail:`\u8981\u9A8C\u8BC1\u5176\u662F\u5426\u4E3A\u9519\u8BEF\u7C7B\u578B\u7684\u503C\u3002
  418. \u53EA\u8981\u503C\u662F\u67D0\u79CD\u9519\u8BEF\u503C\uFF08\u5305\u62EC#DIV/0!\u3001#N/A\u3001#NAME?\u3001#NULL!\u3001#NUM!\u3001#VALUE!\u548C#REF!\uFF09\uFF0CISERROR\u5C31\u4F1A\u8FD4\u56DETRUE\u3002`}]},ISLOGICAL:{d:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F TRUE \u8FD8\u662F FALSE\u3002",a:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F TRUE \u8FD8\u662F FALSE\u3002",p:[{name:"value",detail:`\u8981\u9A8C\u8BC1\u5176\u4E3A\u903B\u8F91TRUE\u8FD8\u662F\u903B\u8F91FALSE\u7684\u503C\u3002
  419. *\u5982\u679C\u503C\u4E3ATRUE\u6216FALSE\uFF0C\u6216\u4E3A\u6307\u5411\u503C\u4E3ATRUE\u6216FALSE\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0CISLOGICAL\u5C06\u8FD4\u56DETRUE\u3002`}]},ISNA:{d:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u9519\u8BEF\u503C #N/A\u3002",a:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u9519\u8BEF\u503C #N/A\u3002",p:[{name:"value",detail:`\u8981\u4E0E\u9519\u8BEF\u503C#N/A\u8FDB\u884C\u6BD4\u8F83\u7684\u503C\u3002
  420. *\u5982\u679C\u503C\u4E3A#N/A\u6216\u6307\u5411\u5305\u542B#N/A\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0C\u5219ISNA\u5C06\u8FD4\u56DETRUE\uFF0C\u5426\u5219\u8FD4\u56DEFALSE\u3002`}]},ISNONTEXT:{d:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u975E\u6587\u672C\u3002",a:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u975E\u6587\u672C\u3002",p:[{name:"value",detail:`\u8981\u68C0\u67E5\u7684\u6587\u672C\u3002
  421. *\u5982\u679C\u53C2\u6570\u4E3A\u6587\u672C\u503C\u6216\u6307\u5411\u5305\u542B\u6587\u672C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0CISNONTEXT\u5C06\u8FD4\u56DEFALSE\uFF0C\u5426\u5219\u8FD4\u56DETRUE\u3002
  422. \u5F53\u503C\u4E3A\u6307\u5411\u7A7A\u5355\u5143\u683C\u7684\u5F15\u7528\u65F6\uFF0CISNONTEXT\u4F1A\u8FD4\u56DETRUE\u3002
  423. \u5F53\u503C\u4E3A\u7A7A\u5B57\u7B26\u4E32\u65F6\uFF0CISNONTEXT\u5C06\u8FD4\u56DEFALSE\uFF0C\u56E0\u4E3A\u7A7A\u4E32\u88AB\u89C6\u4F5C\u6587\u672C\u3002`}]},ISNUMBER:{d:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u6570\u5B57\u3002",a:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u6570\u5B57\u3002",p:[{name:"value",detail:`\u8981\u9A8C\u8BC1\u5176\u662F\u5426\u4E3A\u6570\u5B57\u7684\u503C\u3002
  424. *\u5982\u679C\u53C2\u6570\u4E3A\u6570\u5B57\u6216\u6307\u5411\u5185\u5BB9\u4E3A\u6570\u5B57\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0CISNUMBER\u5C06\u8FD4\u56DETRUE\uFF0C\u5426\u5219\u8FD4\u56DEFALSE\u3002`}]},ISREF:{d:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u6709\u6548\u7684\u5355\u5143\u683C\u5F15\u7528\u3002",a:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u6709\u6548\u7684\u5355\u5143\u683C\u5F15\u7528\u3002",p:[{name:"value",detail:`\u8981\u9A8C\u8BC1\u5176\u662F\u5426\u4E3A\u5355\u5143\u683C\u5F15\u7528\u7684\u503C\u3002
  425. *\u5982\u679C\u53C2\u6570\u662F\u6709\u6548\u7684\u5355\u5143\u683C\u5F15\u7528\uFF0CISREF\u5C06\u8FD4\u56DETRUE\uFF0C\u5426\u5219\u8FD4\u56DEFALSE\u3002`}]},ISTEXT:{d:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u6587\u672C\u3002",a:"\u68C0\u67E5\u67D0\u4E2A\u503C\u662F\u5426\u4E3A\u6587\u672C\u3002",p:[{name:"value",detail:`\u8981\u9A8C\u8BC1\u5176\u662F\u5426\u4E3A\u6587\u672C\u7684\u503C\u3002
  426. \u5982\u679C\u53C2\u6570\u4E3A\u6587\u672C\u503C\u6216\u6307\u5411\u5305\u542B\u6587\u672C\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0CISTEXT\u5C06\u8FD4\u56DETRUE\uFF0C\u5426\u5219\u8FD4\u56DEFALSE\u3002`}]},TYPE:{d:"\u8FD4\u56DE\u6570\u503C\u7684\u7C7B\u578B\u3002",a:"\u8FD4\u56DE\u6570\u503C\u7684\u7C7B\u578B\u3002",p:[{name:"value",detail:`\u8981\u786E\u5B9A\u5176\u7C7B\u578B\u7684\u6570\u636E\u3002
  427. \u6570\u5B57 \u8FD4\u56DE 1;
  428. \u6587\u672C \u8FD4\u56DE 2;
  429. \u903B\u8F91\u503C \u8FD4\u56DE 4;
  430. \u9519\u8BEF\u503C \u8FD4\u56DE 16;
  431. \u6570\u7EC4 \u8FD4\u56DE 64;`}]},N:{d:"\u8FD4\u56DE\u8F6C\u5316\u4E3A\u6570\u503C\u540E\u7684\u503C\u3002",a:"\u8FD4\u56DE\u8F6C\u5316\u4E3A\u6570\u503C\u540E\u7684\u503C\u3002",p:[{name:"value",detail:`\u8981\u8F6C\u6362\u4E3A\u6570\u5B57\u7684\u53C2\u6570\u3002
  432. \u5982\u679C\u503C\u4E3A\u6570\u5B57\uFF0C\u5219\u8FD4\u56DE\u8BE5\u6570\u5B57\u3002
  433. \u5982\u679C\u503C\u4E3A\u65E5\u671F\uFF0C\u5219\u8FD4\u56DE\u8BE5\u65E5\u671F\u7684\u5E8F\u5217\u53F7\u3002
  434. \u5982\u679C\u503C\u4E3ATRUE\uFF0C\u5219\u8FD4\u56DE1\u3002
  435. \u5982\u679C\u503C\u4E3AFALSE\uFF0C\u5219\u8FD4\u56DE0\u3002
  436. \u5982\u679C\u503C\u4E3A\u9519\u8BEF\u503C\uFF0C\u5219\u8FD4\u56DE\u9519\u8BEF\u503C\u3002
  437. \u5982\u679C\u503C\u4E3A\u5176\u4ED6\u503C\uFF0C\u5219\u8FD4\u56DE0\u3002`}]},TO_DATE:{d:"\u5C06\u6307\u5B9A\u7684\u6570\u5B57\u8F6C\u6362\u4E3A\u65E5\u671F\u3002",a:"\u5C06\u6307\u5B9A\u7684\u6570\u5B57\u8F6C\u6362\u4E3A\u65E5\u671F\u3002",p:[{name:"value",detail:`\u8981\u8F6C\u6362\u4E3A\u65E5\u671F\u7684\u53C2\u6570\u6216\u5176\u5355\u5143\u683C\u5F15\u7528\u3002
  438. \u5982\u679C\u503C\u4E3A\u6570\u5B57\u6216\u6307\u5411\u5185\u5BB9\u4E3A\u6570\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0CTO_DATE\u4F1A\u5C06\u503C\u8F6C\u6362\u4E3A\u76F8\u5E94\u7684\u65E5\u671F\u5E76\u8FD4\u56DE\uFF0C\u503C\u4EE3\u8868\u4ECE\u5341\u4E8C\u670830\u65E5\u5230\u5BF9\u5E94\u7684\u65E5\u671F\u4E4B\u95F4\u7684\u5929\u6570\uFF0C
  439. \u8D1F\u503C\u8868\u793A\u5BF9\u5E94\u7684\u65E5\u671F\u5728\u5341\u4E8C\u670830\u65E5\u4E4B\u524D\uFF0C\u800C\u5C0F\u6570\u503C\u5219\u4EE3\u8868\u4E00\u5929\u4E2D\u4ECE\u5348\u591C\u7B97\u8D77\u7684\u65F6\u95F4\u3002
  440. \u5982\u679C\u503C\u4E0D\u662F\u6570\u5B57\u6216\u6307\u5411\u5185\u5BB9\u4E3A\u6570\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0C\u5219TO_DATE\u5C06\u5728\u4E0D\u505A\u4EFB\u4F55\u4FEE\u6539\u7684\u60C5\u51B5\u4E0B\u8FD4\u56DE\u503C\u3002`}]},TO_PURE_NUMBER:{d:"\u5C06\u7ED9\u5B9A\u7684\u65E5\u671F/\u65F6\u95F4\u3001\u767E\u5206\u6BD4\u3001\u8D27\u5E01\u91D1\u989D\u6216\u5176\u4ED6\u683C\u5F0F\u7684\u6570\u503C\u8F6C\u6362\u4E3A\u4E0D\u5E26\u683C\u5F0F\u7684\u7EAF\u6570\u5B57\u3002",a:"\u5C06\u7ED9\u5B9A\u7684\u65E5\u671F/\u65F6\u95F4\u3001\u767E\u5206\u6BD4\u3001\u8D27\u5E01\u91D1\u989D\u6216\u5176\u4ED6\u683C\u5F0F\u7684\u6570\u503C\u8F6C\u6362\u4E3A\u4E0D\u5E26\u683C\u5F0F\u7684\u7EAF\u6570\u5B57\u3002",p:[{name:"value",detail:`\u8981\u8F6C\u6362\u4E3A\u7EAF\u6570\u5B57\u7684\u53C2\u6570\u6216\u5176\u5355\u5143\u683C\u5F15\u7528\u3002
  441. \u5982\u679C\u503C\u4E3A\u6570\u5B57\u6216\u6307\u5411\u5305\u542B\u6570\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0CTO_PURE_NUMBER\u5C06\u4EE5\u4E0D\u5E26\u4EFB\u4F55\u683C\u5F0F\u4E0E\u89E3\u91CA\u7684\u5F62\u5F0F\u8FD4\u56DE\u503C\u3002
  442. \u5982\u679C\u503C\u4E0D\u662F\u6570\u5B57\u6216\u6307\u5411\u5185\u5BB9\u4E3A\u6570\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0C\u5219TO_PERCENT\u5C06\u5728\u4E0D\u505A\u4EFB\u4F55\u4FEE\u6539\u7684\u60C5\u51B5\u4E0B\u8FD4\u56DE\u503C\u3002`}]},TO_TEXT:{d:"\u5C06\u7ED9\u5B9A\u7684\u6570\u5B57\u503C\u8F6C\u6362\u4E3A\u6587\u672C\u683C\u5F0F\u3002",a:"\u5C06\u7ED9\u5B9A\u7684\u6570\u5B57\u503C\u8F6C\u6362\u4E3A\u6587\u672C\u683C\u5F0F\u3002",p:[{name:"value",detail:`\u8981\u8F6C\u6362\u4E3A\u6587\u672C\u7684\u53C2\u6570\u6216\u5176\u5355\u5143\u683C\u5F15\u7528\u3002
  443. \u5982\u679C\u503C\u4E3A\u6570\u5B57\u6216\u6307\u5411\u5305\u542B\u6570\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0CTO_TEXT\u5C06\u8FD4\u56DE\u5B57\u7B26\u4E32\u5F62\u5F0F\u7684\u503C\uFF0C\u5E76\u4FDD\u6301\u73B0\u6709\u683C\u5F0F\u3002\u5373\u539F\u4E3A\u8D27\u5E01\u7684\u4ECD\u4E3A\u8D27\u5E01\uFF0C\u539F\u4E3A\u5341\u8FDB\u5236\u6570\u7684\u4ECD\u4E3A\u5341\u8FDB\u5236\u6570\uFF0C\u539F\u4E3A\u767E\u5206\u6BD4\u7684\u4ECD\u4E3A\u767E\u5206\u6BD4\uFF0C\u539F\u4E3A\u65E5\u671F\u7684\u4ECD\u4E3A\u65E5\u671F\u3002
  444. \u5982\u679C\u503C\u4E0D\u662F\u6570\u5B57\u6216\u6307\u5411\u5185\u5BB9\u4E3A\u6570\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0C\u5219TO_TEXT\u5C06\u5728\u4E0D\u505A\u4EFB\u4F55\u4FEE\u6539\u7684\u60C5\u51B5\u4E0B\u8FD4\u56DE\u503C\u3002`}]},TO_DOLLARS:{d:"\u5C06\u6307\u5B9A\u7684\u6570\u5B57\u8F6C\u6362\u4E3A\u7F8E\u5143\u91D1\u989D\u3002",a:"\u5C06\u6307\u5B9A\u7684\u6570\u5B57\u8F6C\u6362\u4E3A\u7F8E\u5143\u91D1\u989D\u3002",p:[{name:"value",detail:`\u8981\u8F6C\u6362\u4E3A\u7F8E\u5143\u91D1\u989D\u7684\u53C2\u6570\u6216\u5176\u5355\u5143\u683C\u5F15\u7528\u3002
  445. \u5982\u679C\u503C\u4E0D\u662F\u6570\u5B57\u6216\u6307\u5411\u5185\u5BB9\u4E3A\u6570\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0C\u5219 TO_DOLLARS \u5C06\u5728\u4E0D\u505A\u4EFB\u4F55\u4FEE\u6539\u7684\u60C5\u51B5\u4E0B\u8FD4\u56DE\u503C\u3002`}]},TO_PERCENT:{d:"\u5C06\u6307\u5B9A\u7684\u6570\u5B57\u8F6C\u6362\u4E3A\u767E\u5206\u6BD4\u3002",a:"\u5C06\u6307\u5B9A\u7684\u6570\u5B57\u8F6C\u6362\u4E3A\u767E\u5206\u6BD4\u3002",p:[{name:"value",detail:`\u8981\u8F6C\u6362\u4E3A\u767E\u5206\u6BD4\u7684\u53C2\u6570\u6216\u5176\u5355\u5143\u683C\u5F15\u7528\u3002
  446. \u5982\u679C\u503C\u4E3A\u6570\u5B57\u6216\u6307\u5411\u5305\u542B\u6570\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0CTO_PERCENT\u4F1A\u4EE51 = 100%\u4E3A\u6807\u51C6\uFF0C\u5C06\u503C\u8F6C\u6362\u4E3A\u767E\u5206\u6BD4\u3002
  447. \u5982\u679C\u503C\u4E0D\u662F\u6570\u5B57\u6216\u6307\u5411\u5185\u5BB9\u4E3A\u6570\u503C\u7684\u5355\u5143\u683C\u7684\u5F15\u7528\uFF0C\u5219TO_PERCENT\u5C06\u5728\u4E0D\u505A\u4EFB\u4F55\u4FEE\u6539\u7684\u60C5\u51B5\u4E0B\u8FD4\u56DE\u503C\u3002`}]},DGET:{d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u4ECE\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5217\u4E2D\u63D0\u53D6\u7B26\u5408\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u4E2A\u503C\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u4ECE\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5217\u4E2D\u63D0\u53D6\u7B26\u5408\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u4E2A\u503C\u3002",p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
  448. field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002"}]},DMAX:{d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6700\u5927\u6570\u5B57\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6700\u5927\u6570\u5B57\u3002",p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
  449. field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002"}]},DMIN:{d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6700\u5C0F\u6570\u5B57\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6700\u5C0F\u6570\u5B57\u3002",p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
  450. field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002"}]},DAVERAGE:{d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u5BF9\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u503C\u6C42\u5E73\u5747\u503C\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u5BF9\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u503C\u6C42\u5E73\u5747\u503C\u3002",p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
  451. field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002"}]},DCOUNT:{d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u5305\u542B\u6570\u5B57\u7684\u5355\u5143\u683C\u7684\u4E2A\u6570\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u5305\u542B\u6570\u5B57\u7684\u5355\u5143\u683C\u7684\u4E2A\u6570\u3002",p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
  452. field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002"}]},DCOUNTA:{d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u975E\u7A7A\u5355\u5143\u683C\u7684\u4E2A\u6570\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u975E\u7A7A\u5355\u5143\u683C\u7684\u4E2A\u6570\u3002",p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
  453. field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002"}]},DPRODUCT:{d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u503C\u7684\u4E58\u79EF\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u503C\u7684\u4E58\u79EF\u3002",p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
  454. field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002"}]},DSTDEV:{d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5229\u7528\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u5B57\u4F5C\u4E3A\u4E00\u4E2A\u6837\u672C\u4F30\u7B97\u51FA\u7684\u603B\u4F53\u6807\u51C6\u504F\u5DEE\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5229\u7528\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u5B57\u4F5C\u4E3A\u4E00\u4E2A\u6837\u672C\u4F30\u7B97\u51FA\u7684\u603B\u4F53\u6807\u51C6\u504F\u5DEE\u3002",p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
  455. field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002"}]},DSTDEVP:{d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5229\u7528\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u5B57\u4F5C\u4E3A\u6837\u672C\u603B\u4F53\u8BA1\u7B97\u51FA\u7684\u603B\u4F53\u6807\u51C6\u504F\u5DEE\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5229\u7528\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u5B57\u4F5C\u4E3A\u6837\u672C\u603B\u4F53\u8BA1\u7B97\u51FA\u7684\u603B\u4F53\u6807\u51C6\u504F\u5DEE\u3002",p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
  456. field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002"}]},DSUM:{d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u5B57\u4E4B\u548C\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u5B57\u4E4B\u548C\u3002",p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
  457. field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002"}]},DVAR:{d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5229\u7528\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u5B57\u4F5C\u4E3A\u4E00\u4E2A\u6837\u672C\u4F30\u7B97\u51FA\u7684\u603B\u4F53\u65B9\u5DEE\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u8FD4\u56DE\u5229\u7528\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u5B57\u4F5C\u4E3A\u4E00\u4E2A\u6837\u672C\u4F30\u7B97\u51FA\u7684\u603B\u4F53\u65B9\u5DEE\u3002",p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
  458. field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002"}]},DVARP:{d:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u901A\u8FC7\u4F7F\u7528\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u5B57\u8BA1\u7B97\u6837\u672C\u603B\u4F53\u7684\u6837\u672C\u603B\u4F53\u65B9\u5DEE\u3002",a:"\u4F7F\u7528 SQL \u5F0F\u67E5\u8BE2\uFF0C\u901A\u8FC7\u4F7F\u7528\u5217\u8868\u6216\u6570\u636E\u5E93\u4E2D\u6EE1\u8DB3\u6307\u5B9A\u6761\u4EF6\u7684\u8BB0\u5F55\u5B57\u6BB5\uFF08\u5217\uFF09\u4E2D\u7684\u6570\u5B57\u8BA1\u7B97\u6837\u672C\u603B\u4F53\u7684\u6837\u672C\u603B\u4F53\u65B9\u5DEE\u3002",p:[{name:"database",detail:"\u6784\u6210\u5217\u8868\u6216\u6570\u636E\u5E93\u7684\u5355\u5143\u683C\u533A\u57DF\uFF0C\u5217\u8868\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6807\u7B7E\u3002"},{name:"field",detail:`\u6307\u5B9A database \u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u63D0\u53D6\u548C\u7528\u4E8E\u8BA1\u7B97\u7684\u503C\u3002
  459. field \u53EF\u4EE5\u662F\u4E0E database \u7B2C\u4E00\u884C\u4E2D\u67D0\u4E2A\u5217\u6807\u9898\u5BF9\u5E94\u7684\u6587\u672C\u6807\u7B7E\uFF0C\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u5173\u5217\u7684\u6570\u5B57\u7D22\u5F15\uFF0C\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u4E3A 1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u6761\u4EF6\u7684\u5355\u5143\u683C\u533A\u57DF\u3002\u8BA1\u7B97\u4E4B\u524D\u5C06\u4F7F\u7528\u8FD9\u4E9B\u6761\u4EF6\u6765\u8FC7\u6EE4 database \u4E2D\u7684\u503C\u3002"}]},AGE_BY_IDCARD:{d:"\u6839\u636E\u4E2D\u56FD\u8EAB\u4EFD\u8BC1\u53F7\u8BA1\u7B97\u51FA\u5E74\u9F84\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8BC1",a:"\u6839\u636E\u8EAB\u4EFD\u8BC1\u53F7\u5F97\u5230\u5E74\u9F84\u3002",p:[{name:"\u8EAB\u4EFD\u8BC1\u53F7",detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8BC1\u53F7\u6216\u8303\u56F4\u3002"},{name:"\u622A\u6B62\u65E5\u671F",detail:"\u5E74\u9F84\u8BA1\u7B97\u7684\u622A\u6B62\u65E5\u671F\u6216\u8303\u56F4\uFF0C\u9ED8\u8BA4\u4E3A\u5F53\u65E5\u3002"}]},SEX_BY_IDCARD:{d:"\u6839\u636E\u4E2D\u56FD\u8EAB\u4EFD\u8BC1\u53F7\u8BA1\u7B97\u51FA\u6027\u522B\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8BC1",a:"\u6839\u636E\u8EAB\u4EFD\u8BC1\u53F7\u5F97\u5230\u6027\u522B\u3002",p:[{name:"\u8EAB\u4EFD\u8BC1\u53F7",detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8BC1\u53F7\u6216\u8303\u56F4\u3002"}]},BIRTHDAY_BY_IDCARD:{d:"\u6839\u636E\u4E2D\u56FD\u8EAB\u4EFD\u8BC1\u53F7\u8BA1\u7B97\u51FA\u751F\u65E5\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8BC1",a:"\u6839\u636E\u8EAB\u4EFD\u8BC1\u53F7\u5F97\u5230\u751F\u65E5\u3002",p:[{name:"\u8EAB\u4EFD\u8BC1\u53F7",detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8BC1\u53F7\u6216\u8303\u56F4\u3002"},{name:"\u751F\u65E5\u683C\u5F0F",detail:"\u65E5\u671F\u7C7B\u578B,\u9ED8\u8BA40:[1900/01/01], 1:[1900-01-01], 2:[1900\u5E741\u67081\u65E5]"}]},PROVINCE_BY_IDCARD:{d:"\u6839\u636E\u4E2D\u56FD\u8EAB\u4EFD\u8BC1\u53F7\u8BA1\u7B97\u51FA\u7C4D\u8D2F\u7684\u7701\u4EFD\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8BC1",a:"\u6839\u636E\u8EAB\u4EFD\u8BC1\u53F7\u5F97\u5230\u7C4D\u8D2F\u7684\u7701\u4EFD\u3002",p:[{name:"\u8EAB\u4EFD\u8BC1\u53F7",detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8BC1\u53F7\u6216\u8303\u56F4\u3002"}]},CITY_BY_IDCARD:{d:"\u6839\u636E\u4E2D\u56FD\u8EAB\u4EFD\u8BC1\u53F7\u8BA1\u7B97\u51FA\u7C4D\u8D2F\u7684\u57CE\u5E02\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8BC1",a:"\u6839\u636E\u8EAB\u4EFD\u8BC1\u53F7\u5F97\u5230\u7C4D\u8D2F\u7684\u57CE\u5E02\u3002",p:[{name:"\u8EAB\u4EFD\u8BC1\u53F7",detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8BC1\u53F7\u6216\u8303\u56F4\u3002"}]},STAR_BY_IDCARD:{d:"\u6839\u636E\u4E2D\u56FD\u8EAB\u4EFD\u8BC1\u53F7\u8BA1\u7B97\u51FA\u661F\u5EA7\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8BC1",a:"\u6839\u636E\u8EAB\u4EFD\u8BC1\u53F7\u5F97\u5230\u661F\u5EA7\u3002",p:[{name:"\u8EAB\u4EFD\u8BC1\u53F7",detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8BC1\u53F7\u6216\u8303\u56F4\u3002"}]},ANIMAL_BY_IDCARD:{d:"\u6839\u636E\u4E2D\u56FD\u8EAB\u4EFD\u8BC1\u53F7\u8BA1\u7B97\u51FA\u751F\u8096\uFF08\u9F20\u3001\u725B\u3001\u864E\u3001\u5154...\uFF09\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8BC1",a:"\u6839\u636E\u8EAB\u4EFD\u8BC1\u53F7\u5F97\u5230\u751F\u8096\u3002",p:[{name:"\u8EAB\u4EFD\u8BC1\u53F7",detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8BC1\u53F7\u6216\u8303\u56F4\u3002"}]},ISIDCARD:{d:"\u9A8C\u8BC1\u8EAB\u4EFD\u8BC1\u7684\u683C\u5F0F\u662F\u5426\u6B63\u786E\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8BC1",a:"\u9A8C\u8BC1\u8EAB\u4EFD\u8BC1\u683C\u5F0F\u6B63\u786E\u6027\u3002",p:[{name:"\u8EAB\u4EFD\u8BC1\u53F7",detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8BC1\u53F7\u6216\u8303\u56F4\u3002"}]},DM_TEXT_CUTWORD:{d:"\u6587\u672C\u5206\u8BCD\u3002\u628A\u4E00\u8FDE\u4E32\u6587\u5B57\u62C6\u5206\u4E3A\u4E00\u7CFB\u5217\u5355\u72EC\u8BCD\u8BED",a:"\u4E2D\u6587\u6587\u672C\u5206\u8BCD\u3002",p:[{name:"\u6587\u672C",detail:"\u4EFB\u610F\u9700\u8981\u5206\u8BCD\u7684\u6587\u672C\u3002"},{name:"\u5206\u8BCD\u6A21\u5F0F",detail:"\u9ED8\u8BA4\u4E3A0[\u7CBE\u786E\u6A21\u5F0F], 1[\u5168\u6A21\u5F0F], 2[\u641C\u7D22\u5F15\u64CE\u6A21\u5F0F]\u3002"}]},DM_TEXT_TFIDF:{d:"\u91C7\u7528tf-idf\u7B97\u6CD5\u8FDB\u884C\u5173\u952E\u8BCD\u63D0\u53D6\u3002\u4ECE\u4E00\u8FDE\u4E32\u6587\u5B57\u4E2D\u8BC6\u522B\u5173\u952E\u8BCD",a:"tf-idf\u5173\u952E\u8BCD\u8BC6\u522B\u3002",p:[{name:"\u6587\u672C",detail:"\u4EFB\u610F\u9700\u8981\u5206\u8BCD\u7684\u6587\u672C\u3002"},{name:"\u5173\u952E\u8BCD\u4E2A\u6570",detail:"\u7B97\u6CD5\u8FD4\u56DE\u7684\u5173\u952E\u8BCD\u4E2A\u6570\uFF0C\u9ED8\u8BA420"},{name:"\u8BED\u6599\u5E93",detail:"\u9009\u62E9\u7279\u5B9A\u9886\u57DF\u7684\u8BED\u6599\u5E93\uFF0C\u9ED8\u8BA40[\u901A\u7528], 1[\u91D1\u878D], 2[\u533B\u7597]"}]},DM_TEXT_TEXTRANK:{d:"\u91C7\u7528TextRank\u7B97\u6CD5\u8FDB\u884C\u5173\u952E\u8BCD\u63D0\u53D6\u3002\u4ECE\u4E00\u8FDE\u4E32\u6587\u5B57\u4E2D\u8BC6\u522B\u5173\u952E\u8BCD",a:"TextRank\u5173\u952E\u8BCD\u8BC6\u522B\u3002",p:[{name:"\u6587\u672C",detail:"\u4EFB\u610F\u9700\u8981\u5206\u8BCD\u7684\u6587\u672C\u3002"},{name:"\u5173\u952E\u8BCD\u4E2A\u6570",detail:"\u7B97\u6CD5\u8FD4\u56DE\u7684\u5173\u952E\u8BCD\u4E2A\u6570\uFF0C\u9ED8\u8BA420"},{name:"\u8BED\u6599\u5E93",detail:"\u9009\u62E9\u7279\u5B9A\u9886\u57DF\u7684\u8BED\u6599\u5E93\uFF0C\u9ED8\u8BA40[\u901A\u7528], 1[\u91D1\u878D], 2[\u533B\u7597]"}]},DATA_CN_STOCK_CLOSE:{d:"\u6839\u636E\u80A1\u7968\u4EE3\u7801\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u6536\u76D8\u4EF7\u3002",a:"\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u6536\u76D8\u4EF7\u3002",p:[{name:"\u80A1\u7968\u4EE3\u7801",detail:"6\u4F4D\u80A1\u7968\u4EE3\u7801\uFF0C\u5FC5\u586B\u9879\u3002"},{name:"\u65E5\u671F",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8BA4\u4E3A\u6700\u65B0\u4EA4\u6613\u65E5"},{name:"\u590D\u6743\u9664\u6743",detail:"\u9009\u62E9\u80A1\u7968\u7684\u9664\u6743\u590D\u6743\u7C7B\u578B\uFF0C\u9ED8\u8BA40[\u524D\u590D\u6743], 1[\u539F\u59CB\u4EF7\u683C], 2[\u540E\u590D\u6743]"}]},DATA_CN_STOCK_OPEN:{d:"\u6839\u636E\u80A1\u7968\u4EE3\u7801\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u5F00\u76D8\u4EF7\u3002",a:"\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u5F00\u76D8\u4EF7\u3002",p:[{name:"\u80A1\u7968\u4EE3\u7801",detail:"6\u4F4D\u80A1\u7968\u4EE3\u7801\uFF0C\u5FC5\u586B\u9879\u3002"},{name:"\u65E5\u671F",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8BA4\u4E3A\u6700\u65B0\u4EA4\u6613\u65E5"},{name:"\u590D\u6743\u9664\u6743",detail:"\u9009\u62E9\u80A1\u7968\u7684\u9664\u6743\u590D\u6743\u7C7B\u578B\uFF0C\u9ED8\u8BA40[\u524D\u590D\u6743], 1[\u539F\u59CB\u4EF7\u683C], 2[\u540E\u590D\u6743]"}]},DATA_CN_STOCK_MAX:{d:"\u6839\u636E\u80A1\u7968\u4EE3\u7801\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u6700\u9AD8\u4EF7\u3002",a:"\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u6700\u9AD8\u4EF7\u3002",p:[{name:"\u80A1\u7968\u4EE3\u7801",detail:"6\u4F4D\u80A1\u7968\u4EE3\u7801\uFF0C\u5FC5\u586B\u9879\u3002"},{name:"\u65E5\u671F",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8BA4\u4E3A\u6700\u65B0\u4EA4\u6613\u65E5"},{name:"\u590D\u6743\u9664\u6743",detail:"\u9009\u62E9\u80A1\u7968\u7684\u9664\u6743\u590D\u6743\u7C7B\u578B\uFF0C\u9ED8\u8BA40[\u524D\u590D\u6743], 1[\u539F\u59CB\u4EF7\u683C], 2[\u540E\u590D\u6743]"}]},DATA_CN_STOCK_MIN:{d:"\u6839\u636E\u80A1\u7968\u4EE3\u7801\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u6700\u4F4E\u4EF7\u3002",a:"\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u6700\u4F4E\u4EF7\u3002",p:[{name:"\u80A1\u7968\u4EE3\u7801",detail:"6\u4F4D\u80A1\u7968\u4EE3\u7801\uFF0C\u5FC5\u586B\u9879\u3002"},{name:"\u65E5\u671F",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8BA4\u4E3A\u6700\u65B0\u4EA4\u6613\u65E5"},{name:"\u590D\u6743\u9664\u6743",detail:"\u9009\u62E9\u80A1\u7968\u7684\u9664\u6743\u590D\u6743\u7C7B\u578B\uFF0C\u9ED8\u8BA40[\u524D\u590D\u6743], 1[\u539F\u59CB\u4EF7\u683C], 2[\u540E\u590D\u6743]"}]},DATA_CN_STOCK_VOLUMN:{d:"\u6839\u636E\u80A1\u7968\u4EE3\u7801\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u6210\u4EA4\u91CF\u3002",a:"\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u6210\u4EA4\u91CF\u3002",p:[{name:"\u80A1\u7968\u4EE3\u7801",detail:"6\u4F4D\u80A1\u7968\u4EE3\u7801\uFF0C\u5FC5\u586B\u9879\u3002"},{name:"\u65E5\u671F",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8BA4\u4E3A\u6700\u65B0\u4EA4\u6613\u65E5"},{name:"\u590D\u6743\u9664\u6743",detail:"\u9009\u62E9\u80A1\u7968\u7684\u9664\u6743\u590D\u6743\u7C7B\u578B\uFF0C\u9ED8\u8BA40[\u524D\u590D\u6743], 1[\u539F\u59CB\u4EF7\u683C], 2[\u540E\u590D\u6743]"}]},DATA_CN_STOCK_AMOUNT:{d:"\u6839\u636E\u80A1\u7968\u4EE3\u7801\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u6210\u4EA4\u989D\u3002",a:"\u8FD4\u56DEA\u80A1\u5BF9\u5E94\u80A1\u7968\u6210\u4EA4\u989D\u3002",p:[{name:"\u80A1\u7968\u4EE3\u7801",detail:"6\u4F4D\u80A1\u7968\u4EE3\u7801\uFF0C\u5FC5\u586B\u9879\u3002"},{name:"\u65E5\u671F",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8BA4\u4E3A\u6700\u65B0\u4EA4\u6613\u65E5"},{name:"\u590D\u6743\u9664\u6743",detail:"\u9009\u62E9\u80A1\u7968\u7684\u9664\u6743\u590D\u6743\u7C7B\u578B\uFF0C\u9ED8\u8BA40[\u524D\u590D\u6743], 1[\u539F\u59CB\u4EF7\u683C], 2[\u540E\u590D\u6743]"}]},ISDATE:{d:"\u9A8C\u8BC1\u65E5\u671F\u7684\u683C\u5F0F\u662F\u5426\u6B63\u786E\u3002\u652F\u6301\u591A\u79CD\u65E5\u671F\u683C\u5F0F",a:"\u9A8C\u8BC1\u65E5\u671F\u683C\u5F0F\u6B63\u786E\u6027\u3002",p:[{name:"\u65E5\u671F",detail:"\u65E5\u671F\u503C\uFF0C\u4F8B\u59821990/01/01, 1990\u5E741\u67081\u65E5\u7B49\u3002"}]},LINESPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u6298\u7EBF\u56FEsparklines\uFF0C\u7528\u4E8E\u63CF\u8FF0\u6570\u636E\u7684\u8FDE\u7EED\u8D70\u52BF",a:"\u751F\u6210\u5355\u5143\u683C\u6298\u7EBF\u56FE",p:[{name:"\u6570\u636E\u8303\u56F4",detail:"\u6570\u636E\u8303\u56F4\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C {1,2,3,4,5}\u7B49\u3002"},{name:"\u7EBF\u6761\u989C\u8272",detail:"\u7EBF\u56FE\u7684\u7EBF\u6761\u989C\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u4E2A\u8303\u56F4A1\u3001\u8272\u8868\u7D22\u5F15\u6570\u503C\u6216\u8005\u5177\u4F53\u989C\u8272\u503C\uFF0C\u8BBE\u7F6E\u4E3A0\u6216false\u5219\u4E0D\u663E\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8BA4#2ec7c9"},{name:"\u7EBF\u6761\u7C97\u7EC6",detail:"\u6298\u7EBF\u56FE\u7EBF\u6BB5\u7C97\u7EC6\uFF0C\u9ED8\u8BA4\u4E3A1px"},{name:"\u8F85\u52A9\u7EBF",detail:"\u4E00\u6761\u6A2A\u7EBF\uFF0C\u53EF\u4EE5\u662Fmin\u3001max\u3001avg\u3001median\u3001\u8303\u56F4\u6216\u81EA\u5B9A\u4E49\u6570\u503C\uFF0C\u9ED8\u8BA40\u65E0"},{name:"\u8F85\u52A9\u7EBF\u989C\u8272",detail:"\u8F85\u52A9\u7EBF\u7684\u989C\u8272\u8BBE\u7F6E\uFF0C\u540C\u7EBF\u6761\u989C\u8272\u914D\u7F6E\uFF0C\u9ED8\u8BA4#000"},{name:"\u6700\u5927\u503C\u6807\u8BC6",detail:"\u6807\u8BC6\u7EBF\u56FE\u6700\u5927\u503C\uFF0C\u540C\u7EBF\u6761\u989C\u8272\u914D\u7F6E\uFF0C\u9ED8\u8BA40\u4E0D\u663E\u793A"},{name:"\u6700\u5C0F\u503C\u6807\u8BC6",detail:"\u6807\u8BC6\u7EBF\u56FE\u6700\u5C0F\u503C\uFF0C\u540C\u7EBF\u6761\u989C\u8272\u914D\u7F6E\uFF0C\u9ED8\u8BA40\u4E0D\u663E\u793A"},{name:"\u6807\u8BC6\u5927\u5C0F",detail:"\u6700\u5927\u503C\u548C\u6700\u5C0F\u503C\u7684\u6807\u8BC6\u5927\u5C0F\u8BBE\u7F6E\uFF0C\u9ED8\u8BA4\u4E3A1.5"}]},AREASPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u9762\u79EF\u56FEsparklines\uFF0C\u4E00\u822C\u7528\u4E8E\u63CF\u8FF0\u6570\u636E\u7684\u8FDE\u7EED\u7D2F\u79EF\u503C\u8D70\u52BF",a:"\u751F\u6210\u5355\u5143\u683C\u9762\u79EF\u56FE",p:[{name:"\u6570\u636E\u8303\u56F4",detail:"\u6570\u636E\u8303\u56F4\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C {1,2,3,4,5}\u7B49\u3002"},{name:"\u7EBF\u6761\u989C\u8272",detail:"\u7EBF\u56FE\u7684\u7EBF\u6761\u989C\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u4E2A\u8303\u56F4A1\u3001\u8272\u8868\u7D22\u5F15\u6570\u503C\u6216\u8005\u5177\u4F53\u989C\u8272\u503C\uFF0C\u8BBE\u7F6E\u4E3A0\u6216false\u5219\u4E0D\u663E\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8BA4#2ec7c9"},{name:"\u586B\u5145\u989C\u8272",detail:"\u5F62\u6210\u9762\u79EF\u56FE\uFF0C\u540C\u7EBF\u6761\u989C\u8272\u914D\u7F6E\uFF0C\u9ED8\u8BA40\u4E0D\u663E\u793A"},{name:"\u7EBF\u6761\u7C97\u7EC6",detail:"\u6298\u7EBF\u56FE\u7EBF\u6BB5\u7C97\u7EC6\uFF0C\u9ED8\u8BA4\u4E3A1px"},{name:"\u8F85\u52A9\u7EBF",detail:"\u4E00\u6761\u6A2A\u7EBF\uFF0C\u53EF\u4EE5\u662Fmin\u3001max\u3001avg\u3001median\u3001\u8303\u56F4\u6216\u81EA\u5B9A\u4E49\u6570\u503C\uFF0C\u9ED8\u8BA40\u65E0"},{name:"\u8F85\u52A9\u7EBF\u989C\u8272",detail:"\u8F85\u52A9\u7EBF\u7684\u989C\u8272\u8BBE\u7F6E\uFF0C\u540C\u7EBF\u6761\u989C\u8272\u914D\u7F6E\uFF0C\u9ED8\u8BA4#000"}]},COLUMNSPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u5782\u76F4\u67F1\u72B6\u56FEsparklines\uFF0C\u4E00\u822C\u7528\u4E8E\u63CF\u8FF0\u79BB\u6563\u6570\u636E\u4E4B\u95F4\u7684\u5927\u5C0F\u60C5\u51B5",a:"\u751F\u6210\u5355\u5143\u683C\u5782\u76F4\u67F1\u72B6\u56FE",p:[{name:"\u6570\u636E\u8303\u56F4",detail:"\u6570\u636E\u8303\u56F4\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C {1,2,3,4,5}\u7B49\u3002"},{name:"\u67F1\u6761\u95F4\u9694",detail:"\u67F1\u6761\u4E4B\u95F4\u7684\u95F4\u9694\u8DDD\u79BB\uFF0C\u9ED8\u8BA4\u4E3A1"},{name:"\u67F1\u6761\u989C\u8272",detail:"\u7EBF\u56FE\u7684\u7EBF\u6761\u989C\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u4E2A\u8303\u56F4A1\u3001\u8272\u8868\u7D22\u5F15\u6570\u503C\u6216\u8005\u5177\u4F53\u989C\u8272\u503C\uFF0C\u8BBE\u7F6E\u4E3A0\u6216false\u5219\u4E0D\u663E\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8BA4#fc5c5c"},{name:"\u8D1F\u5411\u67F1\u6761\u989C\u8272",detail:"\u8D1F\u5411\u67F1\u6761\u989C\u8272\u8BBE\u7F6E\uFF0C\u4EE3\u8868\u8D1F\u503C\u7684\u989C\u8272\uFF0C\u540C\u67F1\u6761\u989C\u8272\u914D\u7F6E\uFF0C\u9ED8\u8BA4#97b552"},{name:"\u6700\u5927\u503C",detail:"\u67F1\u56FE\u6700\u5927\u503C\uFF0C\u7528\u4E8E\u89C4\u8303\u67F1\u56FE\u957F\u5EA6\uFF0C\u9ED8\u8BA4\u4E3A\u81EA\u52A8\u8BA1\u7B97false\u3001auto\u3001null"},{name:"\u8272\u677F",detail:"\u8C03\u8272\u677F\u53EF\u4EE5\u5355\u72EC\u8BBE\u7F6E\u6BCF\u4E2A\u67F1\u6761\u7684\u989C\u8272\uFF0C\u53EF\u8BBE\u7F6E\u591A\u4E2A\uFF0C\u652F\u6301\u4E24\u79CD\u683C\u5F0F\uFF1A1\u989C\u8272\u4F8B\u5982#000\uFF0C\u4EE3\u8868\u7B2C\u4E00\u4E2A\u67F1\u7684\u989C\u8272\u662F\u9ED1\u8272\uFF1B2\u6570\u503C\u8303\u56F4:\u989C\u8272\uFF0C\u4F8B\u5982-2:#000\u8868\u793A\u6570\u503C\u4E3A-2\u7684\u67F1\u4E3A\u9ED1\u8272\uFF0C0:5:#000\u8868\u793A\u6570\u503C0-5\u7684\u67F1\u4E3A\u9ED1\u8272\uFF0C\u9ED8\u8BA4\u4E3A\u7A7A"}]},STACKCOLUMNSPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u7D2F\u79EF\u5782\u76F4\u67F1\u72B6\u56FEsparklines\uFF0C\u4E00\u822C\u7528\u4E8E\u63CF\u8FF0\u79BB\u6563\u6570\u636E\u591A\u4E2A\u7EF4\u5EA6\u7684\u6570\u503C\u5927\u5C0F",a:"\u751F\u6210\u5355\u5143\u683C\u7D2F\u79EF\u5782\u76F4\u67F1\u72B6\u56FE",p:[{name:"\u6570\u636E\u8303\u56F4",detail:"\u6570\u636E\u8303\u56F4\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C {1,2,3,4,5}\u7B49\u3002"},{name:"\u6309\u5217\u5806\u79EF",detail:"\u5982\u679C\u9700\u8981\u6309\u884C\u5806\u79EF\u5219\u672C\u9879\u8BBE\u4E3Afalse\u62160\uFF0C\u9ED8\u8BA4\u4E3A\u662F1"},{name:"\u67F1\u6761\u95F4\u9694",detail:"\u67F1\u6761\u4E4B\u95F4\u7684\u95F4\u9694\u8DDD\u79BB\uFF0C\u9ED8\u8BA4\u4E3A1"},{name:"\u6700\u5927\u503C",detail:"\u7D2F\u79EF\u67F1\u56FE\u6700\u5927\u503C\uFF0C\u7528\u4E8E\u89C4\u8303\u67F1\u56FE\u957F\u5EA6\uFF0C\u9ED8\u8BA4\u4E3A\u81EA\u52A8\u8BA1\u7B97false\u3001auto\u3001null"},{name:"\u7D2F\u79EF\u8272\u677F",detail:"\u8C03\u8272\u677F\u53EF\u4EE5\u5355\u72EC\u8BBE\u7F6E\u6BCF\u4E2A\u7EF4\u5EA6\u7684\u67F1\u6761\u989C\u8272\uFF0C\u53EF\u8BBE\u7F6E\u4E3AA1:A10\u7B49\u8303\u56F4\uFF0C\u9ED8\u8BA4\u4E3A#2ec7c9, #fc5c5c, #5ab1ef, #ffb980..."}]},BARSPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u6A2A\u5411\u6761\u5F62\u56FEsparklines\uFF0C\u4E00\u822C\u7528\u4E8E\u63CF\u8FF0\u79BB\u6563\u6570\u636E\u4E4B\u95F4\u7684\u5927\u5C0F\u60C5\u51B5",a:"\u751F\u6210\u5355\u5143\u683C\u6A2A\u5411\u6761\u5F62\u56FE",p:[{name:"\u6570\u636E\u8303\u56F4",detail:"\u6570\u636E\u8303\u56F4\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C {1,2,3,4,5}\u7B49\u3002"},{name:"\u67F1\u6761\u95F4\u9694",detail:"\u67F1\u6761\u4E4B\u95F4\u7684\u95F4\u9694\u8DDD\u79BB\uFF0C\u9ED8\u8BA4\u4E3A1"},{name:"\u67F1\u6761\u989C\u8272",detail:"\u7EBF\u56FE\u7684\u7EBF\u6761\u989C\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u4E2A\u8303\u56F4A1\u3001\u8272\u8868\u7D22\u5F15\u6570\u503C\u6216\u8005\u5177\u4F53\u989C\u8272\u503C\uFF0C\u8BBE\u7F6E\u4E3A0\u6216false\u5219\u4E0D\u663E\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8BA4#fc5c5c"},{name:"\u8D1F\u5411\u67F1\u6761\u989C\u8272",detail:"\u8D1F\u5411\u67F1\u6761\u989C\u8272\u8BBE\u7F6E\uFF0C\u4EE3\u8868\u8D1F\u503C\u7684\u989C\u8272\uFF0C\u540C\u67F1\u6761\u989C\u8272\u914D\u7F6E\uFF0C\u9ED8\u8BA4#97b552"},{name:"\u6700\u5927\u503C",detail:"\u67F1\u56FE\u6700\u5927\u503C\uFF0C\u7528\u4E8E\u89C4\u8303\u67F1\u56FE\u957F\u5EA6\uFF0C\u9ED8\u8BA4\u4E3A\u81EA\u52A8\u8BA1\u7B97false\u3001auto\u3001null"},{name:"\u8272\u677F",detail:"\u8C03\u8272\u677F\u53EF\u4EE5\u5355\u72EC\u8BBE\u7F6E\u6BCF\u4E2A\u67F1\u6761\u7684\u989C\u8272\uFF0C\u53EF\u8BBE\u7F6E\u591A\u4E2A\uFF0C\u652F\u6301\u4E24\u79CD\u683C\u5F0F\uFF1A1\u989C\u8272\u4F8B\u5982#000\uFF0C\u4EE3\u8868\u7B2C\u4E00\u4E2A\u67F1\u7684\u989C\u8272\u662F\u9ED1\u8272\uFF1B2\u6570\u503C\u8303\u56F4:\u989C\u8272\uFF0C\u4F8B\u5982-2:#000\u8868\u793A\u6570\u503C\u4E3A-2\u7684\u67F1\u4E3A\u9ED1\u8272\uFF0C0:5:#000\u8868\u793A\u6570\u503C0-5\u7684\u67F1\u4E3A\u9ED1\u8272\uFF0C\u9ED8\u8BA4\u4E3A\u7A7A"}]},STACKBARSPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u7D2F\u79EF\u6A2A\u5411\u6761\u5F62\u56FEsparklines\uFF0C\u4E00\u822C\u7528\u4E8E\u63CF\u8FF0\u79BB\u6563\u6570\u636E\u591A\u4E2A\u7EF4\u5EA6\u7684\u6570\u503C\u5927\u5C0F",a:"\u751F\u6210\u5355\u5143\u683C\u7D2F\u79EF\u6A2A\u5411\u6761\u5F62\u56FE",p:[{name:"\u6570\u636E\u8303\u56F4",detail:"\u6570\u636E\u8303\u56F4\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C {1,2,3,4,5}\u7B49\u3002"},{name:"\u6309\u5217\u5806\u79EF",detail:"\u5982\u679C\u9700\u8981\u6309\u884C\u5806\u79EF\u5219\u672C\u9879\u8BBE\u4E3Afalse\u62160\uFF0C\u9ED8\u8BA4\u4E3A\u662F1"},{name:"\u67F1\u6761\u95F4\u9694",detail:"\u67F1\u6761\u4E4B\u95F4\u7684\u95F4\u9694\u8DDD\u79BB\uFF0C\u9ED8\u8BA4\u4E3A1"},{name:"\u6700\u5927\u503C",detail:"\u7D2F\u79EF\u67F1\u56FE\u6700\u5927\u503C\uFF0C\u7528\u4E8E\u89C4\u8303\u67F1\u56FE\u957F\u5EA6\uFF0C\u9ED8\u8BA4\u4E3A\u81EA\u52A8\u8BA1\u7B97false\u3001auto\u3001null"},{name:"\u7D2F\u79EF\u8272\u677F",detail:"\u8C03\u8272\u677F\u53EF\u4EE5\u5355\u72EC\u8BBE\u7F6E\u6BCF\u4E2A\u7EF4\u5EA6\u7684\u67F1\u6761\u989C\u8272\uFF0C\u53EF\u8BBE\u7F6E\u4E3AA1:A10\u7B49\u8303\u56F4\uFF0C\u9ED8\u8BA4\u4E3A#2ec7c9, #fc5c5c, #5ab1ef, #ffb980..."}]},DISCRETESPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u79BB\u6563\u56FEsparklines\uFF0C\u4E00\u822C\u7528\u4E8E\u63CF\u8FF0\u79BB\u6563\u6570\u636E\u8D70\u52BF",a:"\u751F\u6210\u5355\u5143\u683C\u79BB\u6563\u56FE",p:[{name:"\u6570\u636E\u8303\u56F4",detail:"\u6570\u636E\u8303\u56F4\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C {1,2,3,4,5}\u7B49\u3002"},{name:"\u5206\u5272\u9608\u503C",detail:"\u79BB\u6563\u56FE\u67F1\u5F62\u989C\u8272\u7684\u533A\u5206\uFF0C\u4F8B\u5982\uFF1A\u8BE5\u503C\u4E3A0\uFF0C\u5219\u5927\u4E8E0\u4E3A\u84DD\u8272\uFF0C\u5C0F\u4E8E0\u4E3A\u7EA2\u8272\uFF0C\u9ED8\u8BA4\u4E3A0"},{name:"\u9608\u503C\u4EE5\u4E0A\u989C\u8272",detail:"\u7EBF\u56FE\u7684\u7EBF\u6761\u989C\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u4E2A\u8303\u56F4A1\u3001\u8272\u8868\u7D22\u5F15\u6570\u503C\u6216\u8005\u5177\u4F53\u989C\u8272\u503C\uFF0C\u8BBE\u7F6E\u4E3A0\u6216false\u5219\u4E0D\u663E\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8BA4#2ec7c9"},{name:"\u9608\u503C\u4EE5\u4E0B\u989C\u8272",detail:"\u9608\u503C\u4EE5\u4E0B\u67F1\u6761\u989C\u8272\u8BBE\u7F6E\uFF0C\u540C\u9608\u503C\u4EE5\u4E0A\u989C\u8272\uFF0C\u9ED8\u8BA4#fc5c5c"}]},TRISTATESPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u4E09\u6001\u56FEsparklines\uFF0C\u4E00\u822C\u7528\u4E8E\u63CF\u8FF0\u4E09\u79CD\u6001\u52BF\u7684\u8D70\u52BF\u4F8B\u5982\u80DC\u8D1F\u5E73",a:"\u751F\u6210\u5355\u5143\u683C\u4E09\u6001\u56FE",p:[{name:"\u6570\u636E\u8303\u56F4",detail:"\u6570\u636E\u8303\u56F4\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C {1,2,3,4,5}\u7B49\u3002"},{name:"\u67F1\u6761\u95F4\u9694",detail:"\u67F1\u6761\u4E4B\u95F4\u7684\u95F4\u9694\u8DDD\u79BB\uFF0C\u9ED8\u8BA4\u4E3A1"},{name:"\u67F1\u6761\u989C\u8272",detail:"\u7EBF\u56FE\u7684\u7EBF\u6761\u989C\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u4E2A\u8303\u56F4A1\u3001\u8272\u8868\u7D22\u5F15\u6570\u503C\u6216\u8005\u5177\u4F53\u989C\u8272\u503C\uFF0C\u8BBE\u7F6E\u4E3A0\u6216false\u5219\u4E0D\u663E\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8BA4#fc5c5c"},{name:"\u8D1F\u5411\u67F1\u6761\u989C\u8272",detail:"\u8D1F\u5411\u67F1\u6761\u989C\u8272\u8BBE\u7F6E\uFF0C\u4EE3\u8868\u8D1F\u503C\u7684\u989C\u8272\uFF0C\u540C\u67F1\u6761\u989C\u8272\u914D\u7F6E\uFF0C\u9ED8\u8BA4#97b552"},{name:"\u96F6\u503C\u67F1\u6761\u989C\u8272",detail:"\u96F6\u503C\u67F1\u6761\u989C\u8272\u8BBE\u7F6E\uFF0C\u4EE3\u88680\u503C\u989C\u8272\uFF0C\u540C\u67F1\u6761\u989C\u8272\u914D\u7F6E\uFF0C\u9ED8\u8BA4#999"},{name:"\u8272\u677F",detail:"\u8C03\u8272\u677F\u53EF\u4EE5\u5355\u72EC\u8BBE\u7F6E\u6BCF\u4E2A\u67F1\u6761\u7684\u989C\u8272\uFF0C\u53EF\u8BBE\u7F6E\u591A\u4E2A\uFF0C\u652F\u6301\u4E24\u79CD\u683C\u5F0F\uFF1A1\u989C\u8272\u4F8B\u5982#000\uFF0C\u4EE3\u8868\u7B2C\u4E00\u4E2A\u67F1\u7684\u989C\u8272\u662F\u9ED1\u8272\uFF1B2\u6570\u503C\u8303\u56F4:\u989C\u8272\uFF0C\u4F8B\u5982-2:#000\u8868\u793A\u6570\u503C\u4E3A-2\u7684\u67F1\u4E3A\u9ED1\u8272\uFF0C0-5:#000\u8868\u793A\u6570\u503C0-5\u7684\u67F1\u4E3A\u9ED1\u8272\uFF0C\u9ED8\u8BA4\u4E3A\u7A7A"}]},PIESPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u997C\u56FEsparklines\uFF0C\u4E00\u822C\u7528\u4E8E\u63CF\u8FF0\u6570\u636E\u5360\u6BD4",a:"\u751F\u6210\u5355\u5143\u683C\u997C\u56FE",p:[{name:"\u6570\u636E\u8303\u56F4",detail:"\u6570\u636E\u8303\u56F4\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C {1,2,3,4,5}\u7B49\u3002"},{name:"\u65CB\u8F6C\u89D2\u5EA6",detail:"\u997C\u56FE\u7684\u65CB\u8F6C\u89D2\u5EA6\uFF0C\u9ED8\u8BA4\u4E3A0"},{name:"\u997C\u56FE\u8FB9\u6846",detail:"\u997C\u56FE\u8FB9\u6846\u5927\u5C0F\uFF0C\u9ED8\u8BA4\u4E3A\u65E00"},{name:"\u8FB9\u6846\u989C\u8272",detail:"\u997C\u56FE\u8FB9\u6846\u989C\u8272\uFF0C\u9ED8\u8BA4\u4E3A#000"},{name:"\u997C\u56FE\u8272\u677F",detail:"\u8C03\u8272\u677F\u53EF\u4EE5\u8BBE\u7F6E\u5207\u7247\u7684\u989C\u8272\uFF0C\u53EF\u8BBE\u7F6E\u4E3AA1:A10\u7B49\u8303\u56F4\uFF0C\u9ED8\u8BA4\u4E3A#2ec7c9, #fc5c5c, #5ab1ef, #ffb980..."}]},BOXSPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u7BB1\u7EBF\u56FEsparklines\uFF0C\u4E00\u822C\u7528\u4E8E\u63CF\u8FF0\u6570\u636E\u96C6\u7684\u7EDF\u8BA1\u5206\u5E03",a:"\u751F\u6210\u5355\u5143\u683C\u7BB1\u7EBF\u56FE",p:[{name:"\u6570\u636E\u8303\u56F4",detail:"\u6570\u636E\u8303\u56F4\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C {1,2,3,4,5}\u7B49\u3002"},{name:"\u79BB\u7FA4\u70B9\u6BD4\u4F8B",detail:"\u79BB\u7FA4\u70B9\u7684\u9608\u503C\u8303\u56F4\uFF0C\u5982\u679C\u4E3A0\u6216false\u5219\u4E0D\u663E\u793A\uFF0C\u9ED8\u8BA4\u4E3A1.5\u500D"},{name:"\u76EE\u6807\u70B9\u503C",detail:"\u7BB1\u7EBF\u56FE\u4E0A\u7684\u76EE\u6807\u503C\u8BBE\u7F6E\uFF0C\u9ED8\u8BA4\u4E3Afalse\u4E0D\u663E\u793A"},{name:"\u6570\u636E\u70B9\u5927\u5C0F",detail:"\u76EE\u6807\u70B9\u548C\u79BB\u7FA4\u70B9\u7684\u534A\u5F84\u5927\u5C0F\u8BBE\u7F6E\uFF0C\u9ED8\u8BA4\u4E3A1.5"}]},BULLETSPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5355\u5143\u683C\u5185\u7684\u5B50\u5F39\u56FEsparklines\uFF0C\u4E00\u822C\u7528\u4E8E\u63CF\u8FF0\u4EFB\u52A1\u8FBE\u6210\u7387",a:"\u751F\u6210\u5355\u5143\u683C\u5B50\u5F39\u56FE",p:[{name:"\u76EE\u6807",detail:"\u8FBE\u6210\u7684\u76EE\u6807\u503C\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1\uFF0C 100\u7B49\u3002"},{name:"\u5B9E\u9645\u5B8C\u6210",detail:"\u76EE\u524D\u5B8C\u6210\u503C\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1\uFF0C 100\u7B49\u3002"},{name:"\u5BF9\u6BD4\u503C",detail:"\u5BF9\u6BD4\u503C\uFF0C\u4F8B\u5982\u8D85\u989D\u3001\u6700\u4F4E\u3001\u83B7\u5956\u5E95\u7EBF\u7B49\uFF0C\u6570\u503C\u624D\u80FD\u88AB\u6709\u6548\u8BA1\u7B97\uFF0C\u4F8B\u5982A1\uFF0C 100\u7B49\u3002\u53EF\u4EE5\u8BBE\u7F6E\u6700\u591A9\u4E2A\u5BF9\u6BD4\u503C"}]},COMPOSESPLINES:{d:"\u652F\u6301\u591A\u4E2A\u7C7B\u578B\u7684\u56FE\u753B\u5728\u540C\u4E00\u4E2A\u5355\u5143\u683C,\u6BCF\u4E2A\u53C2\u6570\u4EE3\u8868\u4E00\u4E2Asparklines\u56FE",a:"\u7EC4\u5408sparklines\u56FE\u5230\u4E00\u4E2A\u5355\u5143\u683C",p:[{name:"\u56FE\u8BBE\u7F6E",detail:"sparklines\u56FE\u8BBE\u7F6E\uFF0C\u4F8B\u5982A1:A20\uFF0C \u4E00\u4E2A\u5B8C\u6210\u7684\u997C\u56FE\u3001\u7EBF\u56FE\u8BBE\u7F6E\u7B49\u3002"}]},SORT:{d:"\u8FD4\u56DE\u6570\u7EC4\u4E2D\u5143\u7D20\u7684\u6392\u5E8F\u6570\u7EC4\u3002\u8FD4\u56DE\u7684\u6570\u7EC4\u4E0E\u63D0\u4F9B\u7684\u6570\u7EC4\u53C2\u6570\u5F62\u72B6\u76F8\u540C\u3002",a:"\u8FD4\u56DE\u6570\u7EC4\u4E2D\u5143\u7D20\u7684\u6392\u5E8F\u6570\u7EC4\u3002\u8FD4\u56DE\u7684\u6570\u7EC4\u4E0E\u63D0\u4F9B\u7684\u6570\u7EC4\u53C2\u6570\u5F62\u72B6\u76F8\u540C\u3002",p:[{name:"array",detail:"\u8981\u6392\u5E8F\u7684\u8303\u56F4\u6216\u6570\u7EC4\u3002"},{name:"sort_index",detail:"[\u53EF\u9009] - \u8868\u793A\u8981\u6392\u5E8F\u7684\u884C\u6216\u5217\u7684\u6570\u5B57\u3002\uFF08\u9ED8\u8BA4row1/col1\uFF09"},{name:"sort_order",detail:"[\u53EF\u9009] - \u8868\u793A\u6240\u9700\u6392\u5E8F\u987A\u5E8F\u7684\u6570\u5B57\uFF1B1\u8868\u793A\u5347\u5E8F\uFF08\u9ED8\u8BA4\uFF09\uFF0C-1\u8868\u793A\u964D\u5E8F\u3002"},{name:"by_col",detail:"[\u53EF\u9009] - \u8868\u793A\u6240\u9700\u6392\u5E8F\u65B9\u5411\u7684\u903B\u8F91\u503C\uFF1B\u6309\u884C\u6392\u5E8F\u4E3AFALSE()\uFF08\u9ED8\u8BA4\uFF09\uFF0C\u6309\u5217\u6392\u5E8F\u4E3ATRUE()\u3002"}]},FILTER:{d:"\u57FA\u4E8E\u4E00\u4E2A\u5E03\u5C14\uFF08\u771F/\u5047\uFF09\u6570\u7EC4\u8FC7\u6EE4\u4E00\u4E2A\u6570\u7EC4\u3002",a:"\u57FA\u4E8E\u4E00\u4E2A\u5E03\u5C14\uFF08\u771F/\u5047\uFF09\u6570\u7EC4\u8FC7\u6EE4\u4E00\u4E2A\u6570\u7EC4\u3002",p:[{name:"array",detail:"\u8981\u7B5B\u9009\u7684\u6570\u7EC4\u6216\u8303\u56F4\u3002"},{name:"include",detail:"\u5E03\u5C14\u6570\u7EC4\uFF0C\u5176\u9AD8\u5EA6\u6216\u5BBD\u5EA6\u4E0E\u6570\u7EC4\u76F8\u540C"},{name:"if_empty",detail:"[\u53EF\u9009] - \u5982\u679C\u5305\u542B\u6570\u7EC4\u4E2D\u7684\u6240\u6709\u503C\u90FD\u4E3A\u7A7A(filter\u4E0D\u8FD4\u56DE\u4EFB\u4F55\u503C)\uFF0C\u5219\u8FD4\u56DE\u7684\u503C\u3002"}]},UNIQUE:{d:"\u8FD4\u56DE\u5217\u8868\u6216\u533A\u57DF\u4E2D\u7684\u552F\u4E00\u503C\u7684\u5217\u8868\u3002",a:"\u8FD4\u56DE\u5217\u8868\u6216\u533A\u57DF\u4E2D\u7684\u552F\u4E00\u503C\u7684\u5217\u8868\u3002",p:[{name:"array",detail:"\u4ECE\u5176\u8FD4\u56DE\u552F\u4E00\u503C\u7684\u6570\u7EC4\u6216\u533A\u57DF\u3002"},{name:"by_col",detail:"[\u53EF\u9009] - \u903B\u8F91\u503C\uFF0C\u6307\u793A\u5982\u4F55\u6BD4\u8F83\uFF1B\u6309\u884C = FALSE() \u6216\u7701\u7565\uFF1B\u6309\u5217 = TRUE()\u3002"},{name:"occurs_once",detail:"[\u53EF\u9009] - \u903B\u8F91\u503C\uFF0C\u4EC5\u8FD4\u56DE\u552F\u4E00\u503C\u4E2D\u51FA\u73B0\u4E00\u6B21 = TRUE()\uFF1B\u5305\u62EC\u6240\u6709\u552F\u4E00\u503C = FALSE() \u6216\u7701\u7565\u3002"}]},RANDARRAY:{d:"\u8FD4\u56DE 0 \u5230 1 \u4E4B\u95F4\u7684\u968F\u673A\u6570\u5B57\u6570\u7EC4\u3002",a:"\u8FD4\u56DE 0 \u5230 1 \u4E4B\u95F4\u7684\u968F\u673A\u6570\u5B57\u6570\u7EC4\u3002",p:[{name:"rows",detail:"[\u53EF\u9009] - \u8981\u8FD4\u56DE\u7684\u884C\u6570\u3002"},{name:"cols",detail:"[\u53EF\u9009] - \u8981\u8FD4\u56DE\u7684\u5217\u6570\u3002"}]},SEQUENCE:{d:"\u751F\u6210\u6570\u5B57\u5E8F\u5217\u7684\u5217\u8868\u3002",a:"\u751F\u6210\u6570\u5B57\u5E8F\u5217\u7684\u5217\u8868\u3002",p:[{name:"rows",detail:"\u8981\u8FD4\u56DE\u7684\u884C\u6570\u3002"},{name:"cols",detail:"[\u53EF\u9009] - \u8981\u8FD4\u56DE\u7684\u5217\u6570\u3002"},{name:"start",detail:"[\u53EF\u9009] - \u5E8F\u5217\u4E2D\u7684\u7B2C\u4E00\u4E2A\u6570\u5B57\u3002"},{name:"step",detail:"[\u53EF\u9009] - \u5E8F\u5217\u4E2D\u6BCF\u4E2A\u5E8F\u5217\u503C\u7684\u589E\u91CF\u3002"}]},EVALUATE:{d:"\u5BF9\u4EE5\u6587\u5B57\u8868\u793A\u7684\u516C\u5F0F\u6216\u8005\u8868\u8FBE\u5F0F\u6C42\u503C\uFF0C\u5E76\u8FD4\u56DE\u7ED3\u679C\u3002",a:"\u6839\u636E\u6587\u5B57\u516C\u5F0F\u6216\u8005\u8868\u8FBE\u5F0F\u6C42\u503C\u3002",p:[{name:"\u516C\u5F0F",detail:"\u516C\u5F0F\u6216\u8868\u8FBE\u5F0F"}]},REMOTE:{d:"Calls a function on a remote server",a:"Calls a function on a remote back end server/API.",p:[{name:"remote_expression",detail:"Formula"}]}},toolbar:{undo:"\u64A4\u9500",redo:"\u91CD\u505A",paintFormat:"\u683C\u5F0F\u5237",currencyFormat:"\u8D27\u5E01\u683C\u5F0F",percentageFormat:"\u767E\u5206\u6BD4\u683C\u5F0F",numberDecrease:"\u51CF\u5C11\u5C0F\u6570\u4F4D\u6570",numberIncrease:"\u589E\u52A0\u5C0F\u6570\u4F4D\u6570",moreFormats:"\u66F4\u591A\u683C\u5F0F",font:"\u5B57\u4F53",fontSize:"\u5B57\u53F7\u5927\u5C0F",bold:"\u7C97\u4F53 (Ctrl+B)",italic:"\u659C\u4F53 (Ctrl+I)",strikethrough:"\u5220\u9664\u7EBF (Alt+Shift+5)",underline:"\u4E0B\u5212\u7EBF",textColor:"\u6587\u672C\u989C\u8272",chooseColor:"\u989C\u8272\u9009\u62E9",resetColor:"\u91CD\u7F6E\u989C\u8272",customColor:"\u81EA\u5B9A\u4E49",alternatingColors:"\u4EA4\u66FF\u989C\u8272",confirmColor:"\u786E\u5B9A\u989C\u8272",cancelColor:"\u53D6\u6D88",collapse:"\u6536\u8D77",fillColor:"\u5355\u5143\u683C\u989C\u8272",border:"\u8FB9\u6846",borderStyle:"\u8FB9\u6846\u7C7B\u578B",mergeCell:"\u5408\u5E76\u5355\u5143\u683C",chooseMergeType:"\u9009\u62E9\u5408\u5E76\u7C7B\u578B",horizontalAlign:"\u6C34\u5E73\u5BF9\u9F50",verticalAlign:"\u5782\u76F4\u5BF9\u9F50",alignment:"\u5BF9\u9F50\u65B9\u5F0F",textWrap:"\u6587\u672C\u6362\u884C",textWrapMode:"\u6362\u884C\u65B9\u5F0F",textRotate:"\u6587\u672C\u65CB\u8F6C",textRotateMode:"\u65CB\u8F6C\u65B9\u5F0F",freezeTopRow:"\u51BB\u7ED3\u7B2C\u4E00\u884C",sortAndFilter:"\u6392\u5E8F\u548C\u7B5B\u9009",findAndReplace:"\u67E5\u627E\u66FF\u6362",sum:"\u6C42\u548C",autoSum:"\u81EA\u52A8\u6C42\u548C",moreFunction:"\u66F4\u591A\u51FD\u6570",conditionalFormat:"\u6761\u4EF6\u683C\u5F0F",postil:"\u6279\u6CE8",pivotTable:"\u6570\u636E\u900F\u89C6\u8868",chart:"\u56FE\u8868",screenshot:"\u622A\u56FE",splitColumn:"\u5206\u5217",insertImage:"\u63D2\u5165\u56FE\u7247",exportXlsx:"\u5BFC\u51FAXlsx",insertLink:"\u63D2\u5165\u94FE\u63A5",dataVerification:"\u6570\u636E\u9A8C\u8BC1",protection:"\u4FDD\u62A4\u5DE5\u4F5C\u8868\u5185\u5BB9",clearText:"\u6E05\u9664\u989C\u8272\u9009\u62E9",noColorSelectedText:"\u6CA1\u6709\u989C\u8272\u88AB\u9009\u62E9",toolMore:"\u66F4\u591A",toolLess:"\u5C11\u4E8E",toolClose:"\u6536\u8D77",toolMoreTip:"\u66F4\u591A\u529F\u80FD",moreOptions:"\u66F4\u591A\u9009\u9879",cellFormat:"\u8BBE\u7F6E\u5355\u5143\u683C\u683C\u5F0F",print:"\u6253\u5370"},alternatingColors:{applyRange:"\u5E94\u7528\u8303\u56F4",selectRange:"\u9009\u62E9\u5E94\u7528\u8303\u56F4",header:"\u9875\u7709",footer:"\u9875\u811A",errorInfo:"\u4E0D\u80FD\u5BF9\u591A\u91CD\u9009\u62E9\u533A\u57DF\u6267\u884C\u6B64\u64CD\u4F5C\uFF0C\u8BF7\u9009\u62E9\u5355\u4E2A\u533A\u57DF\uFF0C\u7136\u540E\u518D\u8BD5",textTitle:"\u683C\u5F0F\u6837\u5F0F",custom:"\u81EA\u5B9A\u4E49",close:"\u5173\u95ED",selectionTextColor:"\u9009\u62E9\u6587\u672C\u989C\u8272",selectionCellColor:"\u9009\u62E9\u5355\u5143\u683C\u989C\u8272",removeColor:"\u79FB\u9664\u4EA4\u66FF\u989C\u8272",colorShow:"\u989C\u8272",currentColor:"\u5F53\u524D\u989C\u8272",tipSelectRange:"\u8BF7\u9009\u62E9\u4EA4\u66FF\u989C\u8272\u5E94\u7528\u8303\u56F4",errorNoRange:"\u60A8\u9009\u62E9\u7684\u5E94\u7528\u8303\u56F4\u4E0D\u662F\u9009\u533A\uFF01",errorExistColors:"\u60A8\u9009\u62E9\u7684\u5E94\u7528\u8303\u56F4\u5DF2\u5B58\u5728\u4EA4\u66FF\u989C\u8272\u4E14\u4E0D\u5C5E\u4E8E\u4F60\u8981\u7F16\u8F91\u7684\u5E94\u7528\u8303\u56F4\uFF01"},button:{confirm:"\u786E\u5B9A",cancel:"\u53D6\u6D88",close:"\u5173\u95ED",update:"\u66F4\u65B0",delete:"\u5220\u9664",insert:"\u65B0\u5EFA",prevPage:"\u4E0A\u4E00\u9875",nextPage:"\u4E0B\u4E00\u9875",total:"\u603B\u5171\uFF1A"},paint:{start:"\u683C\u5F0F\u5237\u5F00\u542F",end:"ESC\u952E\u9000\u51FA",tipSelectRange:"\u8BF7\u9009\u62E9\u9700\u8981\u590D\u5236\u683C\u5F0F\u7684\u533A\u57DF",tipNotMulti:"\u65E0\u6CD5\u5BF9\u591A\u91CD\u9009\u62E9\u533A\u57DF\u6267\u884C\u6B64\u64CD\u4F5C"},format:{moreCurrency:"\u66F4\u591A\u8D27\u5E01\u683C\u5F0F",moreDateTime:"\u66F4\u591A\u65E5\u671F\u4E0E\u65F6\u95F4\u683C\u5F0F",moreNumber:"\u66F4\u591A\u6570\u5B57\u683C\u5F0F",titleCurrency:"\u8D27\u5E01\u683C\u5F0F",decimalPlaces:"\u5C0F\u6570\u4F4D\u6570",titleDateTime:"\u65E5\u671F\u4E0E\u65F6\u95F4\u683C\u5F0F",titleNumber:"\u6570\u5B57\u683C\u5F0F"},info:{detailUpdate:"\u65B0\u6253\u5F00",detailSave:"\u5DF2\u6062\u590D\u672C\u5730\u7F13\u5B58",row:"\u884C",column:"\u5217",loading:"\u6E32\u67D3\u4E2D\xB7\xB7\xB7",copy:"\u526F\u672C",return:"\u8FD4\u56DE",rename:"\u91CD\u547D\u540D",tips:"\u8868\u683C\u91CD\u547D\u540D",noName:"\u65E0\u6807\u9898\u7684\u7535\u5B50\u8868\u683C",wait:"\u5F85\u66F4\u65B0",add:"\u6DFB\u52A0",addLast:"\u5728\u5E95\u90E8\u6DFB\u52A0",backTop:"\u56DE\u5230\u9876\u90E8",pageInfo:"\u5171${total}\u6761\uFF0C${totalPage}\u9875\uFF0C\u5F53\u524D\u5DF2\u663E\u793A${currentPage}\u9875",nextPage:"\u4E0B\u4E00\u9875",tipInputNumber:"\u8BF7\u8F93\u5165\u6570\u5B57",tipInputNumberLimit:"\u589E\u52A0\u8303\u56F4\u9650\u5236\u57281-100",tipRowHeightLimit:"\u884C\u9AD8\u5FC5\u987B\u57280 ~ 545\u4E4B\u95F4",tipColumnWidthLimit:"\u5217\u5BBD\u5FC5\u987B\u57280 ~ 2038\u4E4B\u95F4",pageInfoFull:"\u5171${total}\u6761\uFF0C${totalPage}\u9875\uFF0C\u5DF2\u663E\u793A\u5168\u90E8\u6570\u636E"},currencyDetail:{RMB:"\u4EBA\u6C11\u5E01",USdollar:"\u7F8E\u5143",EUR:"\u6B27\u5143",GBP:"\u82F1\u9551",HK:"\u6E2F\u5143",JPY:"\u65E5\u5143",AlbanianLek:"\u963F\u5C14\u5DF4\u5C3C\u4E9A\u5217\u514B",AlgerianDinar:"\u963F\u5C14\u53CA\u5229\u4E9A\u7B2C\u7EB3\u5C14",Afghani:"\u963F\u5BCC\u6C57\u5C3C",ArgentinePeso:"\u963F\u6839\u5EF7\u6BD4\u7D22",UnitedArabEmiratesDirham:"\u963F\u62C9\u4F2F\u8054\u5408\u914B\u957F\u56FD\u8FEA\u62C9\u59C6",ArubanFlorin:"\u963F\u9C81\u5DF4\u5F17\u7F57\u6797",OmaniRial:"\u963F\u66FC\u91CC\u4E9A\u5C14",Azerbaijanimanat:"\u963F\u585E\u62DC\u7586\u9A6C\u7EB3\u7279",EgyptianPound:"\u57C3\u53CA\u9551",EthiopianBirr:"\u57C3\u585E\u4FC4\u6BD4\u4E9A\u6BD4\u5C14",AngolaKwanza:"\u5B89\u54E5\u62C9\u5BBD\u624E",AustralianDollar:"\u6FB3\u5927\u5229\u4E9A\u5143",Patacas:"\u6FB3\u95E8\u5143",BarbadosDollar:"\u5DF4\u5DF4\u591A\u65AF\u5143",PapuaNewGuineaKina:"\u5DF4\u5E03\u4E9A\u65B0\u51E0\u5185\u4E9A\u57FA\u90A3",BahamianDollar:"\u5DF4\u54C8\u9A6C\u5143",PakistanRupee:"\u5DF4\u57FA\u65AF\u5766\u5362\u6BD4",ParaguayanGuarani:"\u5DF4\u62C9\u572D\u74DC\u62C9\u5C3C",BahrainiDinar:"\u5DF4\u6797\u7B2C\u7EB3\u5C14",PanamanianBalboa:"\u5DF4\u62FF\u9A6C\u5DF4\u6CE2\u4E9A",Brazilianreal:"\u5DF4\u897F\u91CC\u4E9A\u4F0A",Belarusianruble:"\u767D\u4FC4\u7F57\u65AF\u5362\u5E03",BermudianDollar:"\u767E\u6155\u5927\u5143",BulgarianLev:"\u4FDD\u52A0\u5229\u4E9A\u5217\u5F17",IcelandKrona:"\u51B0\u5C9B\u514B\u6717",BosniaHerzegovinaConvertibleMark:"\u6CE2\u9ED1\u53EF\u5151\u6362\u9A6C\u514B",PolishZloty:"\u6CE2\u5170\u5179\u7F57\u63D0",Boliviano:"\u73BB\u5229\u7EF4\u4E9A\u8BFA",BelizeDollar:"\u4F2F\u5229\u5179\u5143",BotswanaPula:"\u535A\u8328\u74E6\u7EB3\u666E\u62C9",NotDannuzhamu:"\u4E0D\u4E39\u52AA\u624E\u59C6",BurundiFranc:"\u5E03\u9686\u8FEA\u6CD5\u90CE",NorthKoreanWon:"\u671D\u9C9C\u5706",DanishKrone:"\u4E39\u9EA6\u514B\u6717",EastCaribbeanDollar:"\u4E1C\u52A0\u52D2\u6BD4\u5143",DominicaPeso:"\u591A\u7C73\u5C3C\u52A0\u6BD4\u7D22",RussianRuble:"\u4FC4\u56FD\u5362\u5E03",EritreanNakfa:"\u5384\u7ACB\u7279\u91CC\u4E9A\u7EB3\u514B\u6CD5",CFAfranc:"\u975E\u6D32\u91D1\u878D\u5171\u540C\u4F53\u6CD5\u90CE",PhilippinePeso:"\u83F2\u5F8B\u5BBE\u6BD4\u7D22",FijiDollar:"\u6590\u6D4E\u5143",CapeVerdeEscudo:"\u4F5B\u5F97\u89D2\u57C3\u65AF\u5E93\u591A",FalklandIslandsPound:"\u798F\u514B\u5170\u7FA4\u5C9B\u9551",GambianDalasi:"\u5188\u6BD4\u4E9A\u8FBE\u62C9\u897F",Congolesefranc:"\u521A\u679C\u6CD5\u90CE",ColombianPeso:"\u54E5\u4F26\u6BD4\u4E9A\u6BD4\u7D22",CostaRicanColon:"\u54E5\u65AF\u8FBE\u9ECE\u52A0\u79D1\u6717",CubanPeso:"\u53E4\u5DF4\u6BD4\u7D22",Cubanconvertiblepeso:"\u53E4\u5DF4\u53EF\u5151\u6362\u6BD4\u7D22",GuyanaDollar:"\u572D\u4E9A\u90A3\u5143",KazakhstanTenge:"\u54C8\u8428\u514B\u65AF\u5766\u575A\u6208",Haitiangourde:"\u6D77\u5730\u53E4\u5FB7",won:"\u97E9\u5143",NetherlandsAntillesGuilder:"\u8377\u5C5E\u5B89\u7684\u5217\u65AF\u76FE",Honduraslempiras:"\u6D2A\u90FD\u62C9\u65AF\u62C9\u4F26\u76AE\u62C9",DjiboutiFranc:"\u5409\u5E03\u63D0\u6CD5\u90CE",KyrgyzstanSom:"\u5409\u5C14\u5409\u65AF\u65AF\u5766\u7D22\u59C6",GuineaFranc:"\u51E0\u5185\u4E9A\u6CD5\u90CE",CanadianDollar:"\u52A0\u62FF\u5927\u5143",GhanaianCedi:"\u52A0\u7EB3\u585E\u5730",Cambodianriel:"\u67EC\u57D4\u5BE8\u745E\u5C14",CzechKoruna:"\u6377\u514B\u514B\u6717",ZimbabweDollar:"\u6D25\u5DF4\u5E03\u97E6\u5143",QatariRiyal:"\u5361\u5854\u5C14\u91CC\u4E9A\u5C14",CaymanIslandsDollar:"\u5F00\u66FC\u7FA4\u5C9B\u5143",Comorianfranc:"\u79D1\u6469\u7F57\u6CD5\u90CE",KuwaitiDinar:"\u79D1\u5A01\u7279\u7B2C\u7EB3\u5C14",CroatianKuna:"\u514B\u7F57\u5730\u4E9A\u5E93\u7EB3",KenyanShilling:"\u80AF\u5C3C\u4E9A\u5148\u4EE4",LesothoLoti:"\u83B1\u7D22\u6258\u6D1B\u8482",LaoKip:"\u8001\u631D\u57FA\u666E",LebanesePound:"\u9ECE\u5DF4\u5AE9\u9551",Lithuanianlitas:"\u7ACB\u9676\u5B9B\u7ACB\u7279",LibyanDinar:"\u5229\u6BD4\u4E9A\u7B2C\u7EB3\u5C14",LiberianDollar:"\u5229\u6BD4\u4E9A\u5143",RwandaFranc:"\u5362\u65FA\u8FBE\u6CD5\u90CE",RomanianLeu:"\u7F57\u9A6C\u5C3C\u4E9A\u5217\u4F0A",MalagasyAriary:"\u9A6C\u8FBE\u52A0\u65AF\u52A0\u963F\u91CC\u4E9A\u91CC",MaldivianRufiyaa:"\u9A6C\u5C14\u4EE3\u592B\u62C9\u83F2\u4E9A",MalawiKwacha:"\u9A6C\u62C9\u7EF4\u514B\u74E6\u67E5",MalaysianRinggit:"\u9A6C\u6765\u897F\u4E9A\u6797\u5409\u7279",MacedoniawearingDinar:"\u9A6C\u5176\u987F\u6234\u7B2C\u7EB3\u5C14",MauritiusRupee:"\u6BDB\u91CC\u6C42\u65AF\u5362\u6BD4",MauritanianOuguiya:"\u6BDB\u91CC\u5854\u5C3C\u4E9A\u4E4C\u5409\u4E9A",MongolianTugrik:"\u8499\u53E4\u56FE\u683C\u91CC\u514B",BangladeshiTaka:"\u5B5F\u52A0\u62C9\u5854\u5361",PeruvianNuevoSol:"\u79D8\u9C81\u65B0\u7D22\u5C14",MyanmarKyat:"\u7F05\u7538\u5F00\u4E9A\u7279",MoldovanLeu:"\u6469\u5C14\u591A\u74E6\u5217\u4F0A",MoroccanDirham:"\u6469\u6D1B\u54E5\u8FEA\u62C9\u59C6",MozambiqueMetical:"\u83AB\u6851\u6BD4\u514B\u6885\u8482\u5361\u5C14",MexicanPeso:"\u58A8\u897F\u54E5\u6BD4\u7D22",NamibianDollar:"\u7EB3\u7C73\u6BD4\u4E9A\u5143",SouthAfricanRand:"\u5357\u975E\u5170\u7279",SouthSudanesePound:"\u5357\u82CF\u4E39\u9551",NicaraguaCordoba:"\u5C3C\u52A0\u62C9\u74DC\u79D1\u591A\u5DF4",NepaleseRupee:"\u5C3C\u6CCA\u5C14\u5362\u6BD4",NigerianNaira:"\u5C3C\u65E5\u5229\u4E9A\u5948\u62C9",NorwegianKrone:"\u632A\u5A01\u514B\u6717",GeorgianLari:"\u4E54\u6CBB\u4E9A\u62C9\u745E",RMBOffshore:"\u4EBA\u6C11\u5E01\uFF08\u79BB\u5CB8\uFF09",SwedishKrona:"\u745E\u5178\u514B\u6717",SwissFranc:"\u745E\u58EB\u6CD5\u90CE",SerbianDinar:"\u585E\u5C14\u7EF4\u4E9A\u7B2C\u7EB3\u5C14",SierraLeone:"\u585E\u62C9\u5229\u6602\u5229\u6602",SeychellesRupee:"\u585E\u820C\u5C14\u5362\u6BD4",SaudiRiyal:"\u6C99\u7279\u91CC\u4E9A\u5C14",SaoTomeDobra:"\u5723\u591A\u7F8E\u591A\u5E03\u62C9",SaintHelenapound:"\u5723\u8D6B\u52D2\u62FF\u7FA4\u5C9B\u78C5",SriLankaRupee:"\u65AF\u91CC\u5170\u5361\u5362\u6BD4",SwazilandLilangeni:"\u65AF\u5A01\u58EB\u5170\u91CC\u5170\u5409\u5C3C",SudanesePound:"\u82CF\u4E39\u9551",Surinamesedollar:"\u82CF\u91CC\u5357\u5143",SolomonIslandsDollar:"\u6240\u7F57\u95E8\u7FA4\u5C9B\u5143",SomaliShilling:"\u7D22\u9A6C\u91CC\u5148\u4EE4",TajikistanSomoni:"\u5854\u5409\u514B\u65AF\u5766\u7D22\u83AB\u5C3C",PacificFranc:"\u592A\u5E73\u6D0B\u6CD5\u90CE",ThaiBaht:"\u6CF0\u56FD\u94E2",TanzanianShilling:"\u5766\u6851\u5C3C\u4E9A\u5148\u4EE4",TonganPaanga:"\u6C64\u52A0\u6F58\u52A0",TrinidadandTobagoDollar:"\u7279\u7ACB\u5C3C\u8FBE\u548C\u591A\u5DF4\u54E5\u5143",TunisianDinar:"\u7A81\u5C3C\u65AF\u7B2C\u7EB3\u5C14",TurkishLira:"\u571F\u8033\u5176\u91CC\u62C9",VanuatuVatu:"\u74E6\u52AA\u963F\u56FE\u74E6\u56FE",GuatemalanQuetzal:"\u5371\u5730\u9A6C\u62C9\u683C\u67E5\u5C14",CommissionBolivar:"\u59D4\u5185\u745E\u62C9\u535A\u5229\u74E6",BruneiDollar:"\u6587\u83B1\u5143",UgandanShilling:"\u4E4C\u5E72\u8FBE\u5148\u4EE4",UkrainianHryvnia:"\u4E4C\u514B\u5170\u683C\u91CC\u592B\u5C3C\u4E9A",UruguayanPeso:"\u4E4C\u62C9\u572D\u6BD4\u7D22",Uzbekistansom:"\u4E4C\u5179\u522B\u514B\u65AF\u5766\u82CF\u59C6",WesternSamoaTala:"\u897F\u8428\u6469\u4E9A\u5854\u62C9",SingaporeDollar:"\u65B0\u52A0\u5761\u5143",NT:"\u65B0\u53F0\u5E01",NewZealandDollar:"\u65B0\u897F\u5170\u5143",HungarianForint:"\u5308\u7259\u5229\u798F\u6797",SyrianPound:"\u53D9\u5229\u4E9A\u9551",JamaicanDollar:"\u7259\u4E70\u52A0\u5143",ArmenianDram:"\u4E9A\u7F8E\u5C3C\u4E9A\u5FB7\u62C9\u59C6",YemeniRial:"\u4E5F\u95E8\u91CC\u4E9A\u5C14",IraqiDinar:"\u4F0A\u62C9\u514B\u7B2C\u7EB3\u5C14",IranianRial:"\u4F0A\u6717\u91CC\u4E9A\u5C14",NewIsraeliShekel:"\u4EE5\u8272\u5217\u65B0\u8C22\u514B\u5C14",IndianRupee:"\u5370\u5EA6\u5362\u6BD4",IndonesianRupiah:"\u5370\u5EA6\u5C3C\u897F\u4E9A\u5362\u6BD4",JordanianDinar:"\u7EA6\u65E6\u7B2C\u7EB3\u5C14",VND:"\u8D8A\u5357\u76FE",ZambianKwacha:"\u8D5E\u6BD4\u4E9A\u514B\u74E6\u67E5",GibraltarPound:"\u76F4\u5E03\u7F57\u9640\u9551",ChileanPeso:"\u667A\u5229\u6BD4\u7D22",CFAFrancBEAC:"\u4E2D\u975E\u91D1\u878D\u5408\u4F5C\u6CD5\u90CE"},defaultFmt:[{text:"\u81EA\u52A8",value:"General",example:""},{text:"\u7EAF\u6587\u672C",value:"@",example:""},{text:"",value:"split",example:""},{text:"\u6570\u5B57",value:"##0.00",example:"1000.12"},{text:"\u767E\u5206\u6BD4",value:"#0.00%",example:"12.21%"},{text:"\u79D1\u5B66\u8BA1\u6570",value:"0.00E+00",example:"1.01E+5"},{text:"",value:"split",example:""},{text:"\u4F1A\u8BA1",value:"\xA5(0.00)",example:"\xA5(1200.09)"},{text:"\u4E07\u5143",value:"w",example:"1\u4EBF2000\u4E072500"},{text:"\u8D27\u5E01",value:"\xA50.00",example:"\xA51200.09"},{text:"\u4E07\u51432\u4F4D\u5C0F\u6570",value:"w0.00",example:"2\u4E072500.55"},{text:"",value:"split",example:""},{text:"\u65E5\u671F",value:"yyyy-MM-dd",example:"2017-11-29"},{text:"\u65F6\u95F4",value:"hh:mm AM/PM",example:"3:00 PM"},{text:"\u65F6\u95F424H",value:"hh:mm",example:"15:00"},{text:"\u65E5\u671F\u65F6\u95F4",value:"yyyy-MM-dd hh:mm AM/PM",example:"2017-11-29 3:00 PM"},{text:"\u65E5\u671F\u65F6\u95F424H",value:"yyyy-MM-dd hh:mm",example:"2017-11-29 15:00"},{text:"",value:"split",example:""},{text:"\u81EA\u5B9A\u4E49\u683C\u5F0F",value:"fmtOtherSelf",example:"more"}],dateFmtList:[{name:"1930-08-05",value:"yyyy-MM-dd"},{name:"1930/8/5",value:"yyyy/MM/dd"},{name:"1930\u5E748\u67085\u65E5",value:'yyyy"\u5E74"M"\u6708"d"\u65E5"'},{name:"08-05",value:"MM-dd"},{name:"8-5",value:"M-d"},{name:"8\u67085\u65E5",value:'M"\u6708"d"\u65E5"'},{name:"13:30:30",value:"h:mm:ss"},{name:"13:30",value:"h:mm"},{name:"\u4E0B\u534801:30",value:"\u4E0A\u5348/\u4E0B\u5348 hh:mm"},{name:"\u4E0B\u53481:30",value:"\u4E0A\u5348/\u4E0B\u5348 h:mm"},{name:"\u4E0B\u53481:30:30",value:"\u4E0A\u5348/\u4E0B\u5348 h:mm:ss"},{name:"08-05 \u4E0B\u534801:30",value:"MM-dd \u4E0A\u5348/\u4E0B\u5348 hh:mm"}],fontFamily:{MicrosoftYaHei:"Microsoft YaHei"},fontarray:["Times New Roman","Arial","Tahoma","Verdana","\u5FAE\u8F6F\u96C5\u9ED1","\u5B8B\u4F53","\u9ED1\u4F53","\u6977\u4F53","\u4EFF\u5B8B","\u65B0\u5B8B\u4F53","\u534E\u6587\u65B0\u9B4F","\u534E\u6587\u884C\u6977","\u534E\u6587\u96B6\u4E66"],fontjson:{"times new roman":0,arial:1,tahoma:2,verdana:3,\u5FAE\u8F6F\u96C5\u9ED1:4,"microsoft yahei":4,\u5B8B\u4F53:5,simsun:5,\u9ED1\u4F53:6,simhei:6,\u6977\u4F53:7,kaiti:7,\u4EFF\u5B8B:8,fangsong:8,\u65B0\u5B8B\u4F53:9,nsimsun:9,\u534E\u6587\u65B0\u9B4F:10,stxinwei:10,\u534E\u6587\u884C\u6977:11,stxingkai:11,\u534E\u6587\u96B6\u4E66:12,stliti:12},border:{borderTop:"\u4E0A\u6846\u7EBF",borderBottom:"\u4E0B\u6846\u7EBF",borderLeft:"\u5DE6\u6846\u7EBF",borderRight:"\u53F3\u6846\u7EBF",borderNone:"\u65E0",borderAll:"\u6240\u6709",borderOutside:"\u5916\u4FA7",borderInside:"\u5185\u4FA7",borderHorizontal:"\u5185\u4FA7\u6A2A\u7EBF",borderVertical:"\u5185\u4FA7\u7AD6\u7EBF",borderColor:"\u8FB9\u6846\u989C\u8272",borderSize:"\u8FB9\u6846\u7C97\u7EC6"},merge:{mergeAll:"\u5168\u90E8\u5408\u5E76",mergeV:"\u5782\u76F4\u5408\u5E76",mergeH:"\u6C34\u5E73\u5408\u5E76",mergeCancel:"\u53D6\u6D88\u5408\u5E76",overlappingError:"\u4E0D\u80FD\u5408\u5E76\u91CD\u53E0\u533A\u57DF",partiallyError:"\u65E0\u6CD5\u5BF9\u90E8\u5206\u5408\u5E76\u5355\u5143\u683C\u6267\u884C\u6B64\u64CD\u4F5C"},align:{left:"\u5DE6\u5BF9\u9F50",center:"\u4E2D\u95F4\u5BF9\u9F50",right:"\u53F3\u5BF9\u9F50",top:"\u9876\u90E8\u5BF9\u9F50",middle:"\u5C45\u4E2D\u5BF9\u9F50",bottom:"\u5E95\u90E8\u5BF9\u9F50"},textWrap:{overflow:"\u6EA2\u51FA",wrap:"\u81EA\u52A8\u6362\u884C",clip:"\u622A\u65AD"},rotation:{none:"\u65E0\u65CB\u8F6C",angleup:"\u5411\u4E0A\u503E\u659C",angledown:"\u5411\u4E0B\u503E\u659C",vertical:"\u7AD6\u6392\u6587\u5B57",rotationUp:"\u5411\u4E0A90\xB0",rotationDown:"\u5411\u4E0B90\xB0"},freezen:{default:"\u51BB\u7ED3\u7B2C\u4E00\u884C",freezenRow:"\u51BB\u7ED3\u7B2C\u4E00\u884C",freezenColumn:"\u51BB\u7ED3\u7B2CA\u5217",freezenRC:"\u51BB\u7ED3\u7B2C\u4E00\u884C\u7B2CA\u5217",freezenRowRange:"\u51BB\u7ED3\u884C\u5230\u9009\u533A",freezenColumnRange:"\u51BB\u7ED3\u5217\u5230\u9009\u533A",freezenRCRange:"\u51BB\u7ED3\u884C\u5217\u5230\u9009\u533A",freezenCancel:"\u53D6\u6D88\u51BB\u7ED3",noSeletionError:"\u6CA1\u6709\u9009\u533A",rangeRCOverErrorTitle:"\u51BB\u7ED3\u63D0\u9192",rangeRCOverError:"\u51BB\u7ED3\u7A97\u683C\u8D85\u8FC7\u53EF\u89C1\u8303\u56F4\uFF0C\u4F1A\u5BFC\u81F4\u65E0\u6CD5\u6B63\u5E38\u64CD\u4F5C\uFF0C\u8BF7\u91CD\u65B0\u8BBE\u7F6E\u51BB\u7ED3\u533A\u57DF\u3002"},sort:{asc:"\u5347\u5E8F",desc:"\u964D\u5E8F",custom:"\u81EA\u5B9A\u4E49\u6392\u5E8F",hasTitle:"\u6570\u636E\u5177\u6709\u6807\u9898\u884C",sortBy:"\u6392\u5E8F\u4F9D\u636E",addOthers:"\u6DFB\u52A0\u5176\u4ED6\u6392\u5E8F\u5217",close:"\u5173\u95ED",confirm:"\u6392\u5E8F",columnOperation:"\u5217",secondaryTitle:"\u6B21\u8981\u6392\u5E8F",sortTitle:"\u6392\u5E8F\u8303\u56F4",sortRangeTitle:"\u6392\u5E8F\u8303\u56F4\u4ECE",sortRangeTitleTo:"\u5230",noRangeError:"\u4E0D\u80FD\u5BF9\u591A\u91CD\u9009\u62E9\u533A\u57DF\u6267\u884C\u6B64\u64CD\u4F5C\uFF0C\u8BF7\u9009\u62E9\u5355\u4E2A\u533A\u57DF\uFF0C\u7136\u540E\u518D\u8BD5",mergeError:"\u9009\u533A\u6709\u5408\u5E76\u5355\u5143\u683C\uFF0C\u65E0\u6CD5\u6267\u884C\u6B64\u64CD\u4F5C\uFF01",columnSortMergeError:"\u5217\u6392\u5E8F\u4F1A\u6269\u5C55\u81F3\u6574\u4E2A\u8868\u683C\u9009\u533A\uFF0C\u9009\u533A\u6709\u5408\u5E76\u5355\u5143\u683C\uFF0C\u65E0\u6CD5\u6267\u884C\u6B64\u64CD\u4F5C\uFF0C\u8BF7\u9009\u62E9\u529F\u80FD\u680F\u6392\u5E8F\u529F\u80FD\uFF01"},filter:{filter:"\u7B5B\u9009",clearFilter:"\u6E05\u9664\u7B5B\u9009",sortByAsc:"\u4EE5A-Z\u5347\u5E8F\u6392\u5217",sortByDesc:"\u4EE5Z-A\u964D\u5E8F\u6392\u5217",filterByColor:"\u6309\u989C\u8272\u7B5B\u9009",filterByCondition:"\u6309\u6761\u4EF6\u8FC7\u6EE4",filterByValues:"\u6309\u503C\u8FC7\u6EE4",filiterInputNone:"\u65E0",filiterInputTip:"\u8F93\u5165\u7B5B\u9009\u503C",filiterRangeStart:"\u4ECE",filiterRangeStartTip:"\u8303\u56F4\u5F00\u59CB",filiterRangeEnd:"\u5230",filiterRangeEndTip:"\u8303\u56F4\u7ED3\u675F",filterValueByAllBtn:"\u5168\u9009",filterValueByClearBtn:"\u6E05\u9664",filterValueByInverseBtn:"\u53CD\u9009",filterValueByTip:"\u6309\u7167\u503C\u8FDB\u884C\u7B5B\u9009",filterConform:"\u786E \u8BA4",filterCancel:"\u53D6 \u6D88",conditionNone:"\u65E0",conditionCellIsNull:"\u5355\u5143\u683C\u4E3A\u7A7A",conditionCellNotNull:"\u5355\u5143\u683C\u6709\u6570\u636E",conditionCellTextContain:"\u6587\u672C\u5305\u542B",conditionCellTextNotContain:"\u6587\u672C\u4E0D\u5305\u542B",conditionCellTextStart:"\u6587\u672C\u5F00\u5934\u4E3A",conditionCellTextEnd:"\u6587\u672C\u7ED3\u5C3E\u4E3A",conditionCellTextEqual:"\u6587\u672C\u7B49\u4E8E",conditionCellDateEqual:"\u65E5\u671F\u7B49\u4E8E",conditionCellDateBefore:"\u65E5\u671F\u65E9\u4E8E",conditionCellDateAfter:"\u65E5\u671F\u665A\u4E8E",conditionCellGreater:"\u5927\u4E8E",conditionCellGreaterEqual:"\u5927\u4E8E\u7B49\u4E8E",conditionCellLess:"\u5C0F\u4E8E",conditionCellLessEqual:"\u5C0F\u4E8E\u7B49\u4E8E",conditionCellEqual:"\u7B49\u4E8E",conditionCellNotEqual:"\u4E0D\u7B49\u4E8E",conditionCellBetween:"\u4ECB\u4E8E",conditionCellNotBetween:"\u4E0D\u5728\u5176\u4E2D",filiterMoreDataTip:"\u6570\u636E\u91CF\u5927\uFF01\u8BF7\u7A0D\u540E",filiterMonthText:"\u6708",filiterYearText:"\u5E74",filiterByColorTip:"\u6309\u5355\u5143\u683C\u989C\u8272\u7B5B\u9009",filiterByTextColorTip:"\u6309\u5355\u5143\u683C\u5B57\u4F53\u989C\u8272\u7B5B\u9009",filterContainerOneColorTip:"\u672C\u5217\u4EC5\u5305\u542B\u4E00\u79CD\u989C\u8272",filterDateFormatTip:"\u65E5\u671F\u683C\u5F0F",valueBlank:"(\u7A7A\u767D)",mergeError:"\u7B5B\u9009\u9009\u533A\u6709\u5408\u5E76\u5355\u5143\u683C\uFF0C\u65E0\u6CD5\u6267\u884C\u6B64\u64CD\u4F5C\uFF01"},rightclick:{copy:"\u590D\u5236",copyAs:"\u590D\u5236\u4E3A",paste:"\u7C98\u8D34",insert:"\u63D2\u5165",delete:"\u5220\u9664",deleteCell:"\u5220\u9664\u5355\u5143\u683C",deleteSelected:"\u5220\u9664\u9009\u4E2D",hide:"\u9690\u85CF",hideSelected:"\u9690\u85CF\u9009\u4E2D",showHide:"\u663E\u793A\u9690\u85CF",to:"\u5411",left:"\u5DE6",right:"\u53F3",top:"\u4E0A",bottom:"\u4E0B",moveLeft:"\u5DE6\u79FB",moveUp:"\u4E0A\u79FB",add:"\u589E\u52A0",row:"\u884C",column:"\u5217",width:"\u5BBD",height:"\u9AD8",number:"\u6570\u5B57",confirm:"\u786E\u8BA4",orderAZ:"A-Z\u987A\u5E8F\u6392\u5217",orderZA:"Z-A\u964D\u5E8F\u6392\u5217",clearContent:"\u6E05\u9664\u5185\u5BB9",matrix:"\u77E9\u9635\u64CD\u4F5C\u9009\u533A",sortSelection:"\u6392\u5E8F\u9009\u533A",filterSelection:"\u7B5B\u9009\u9009\u533A",chartGeneration:"\u56FE\u8868\u751F\u6210",firstLineTitle:"\u9996\u884C\u4E3A\u6807\u9898",untitled:"\u65E0\u6807\u9898",array1:"\u4E00\u7EF4\u6570\u7EC4",array2:"\u4E8C\u7EF4\u6570\u7EC4",array3:"\u591A\u7EF4\u6570\u7EC4",diagonal:"\u5BF9\u89D2\u7EBF",antiDiagonal:"\u53CD\u5BF9\u89D2\u7EBF",diagonalOffset:"\u5BF9\u89D2\u504F\u79FB",offset:"\u504F\u79FB\u91CF",boolean:"\u5E03\u5C14\u503C",flip:"\u7FFB\u8F6C",upAndDown:"\u4E0A\u4E0B",leftAndRight:"\u5DE6\u53F3",clockwise:"\u987A\u65F6\u9488",counterclockwise:"\u9006\u65F6\u9488",transpose:"\u8F6C\u7F6E",matrixCalculation:"\u77E9\u9635\u8BA1\u7B97",plus:"\u52A0",minus:"\u51CF",multiply:"\u4E58",divided:"\u9664",power:"\u6B21\u65B9",root:"\u6B21\u65B9\u6839",log:"log",delete0:"\u5220\u9664\u4E24\u7AEF0\u503C",removeDuplicate:"\u5220\u9664\u91CD\u590D\u503C",byRow:"\u6309\u884C",byCol:"\u6309\u5217",generateNewMatrix:"\u751F\u6210\u65B0\u77E9\u9635"},comment:{insert:"\u65B0\u5EFA\u6279\u6CE8",edit:"\u7F16\u8F91\u6279\u6CE8",delete:"\u5220\u9664",showOne:"\u663E\u793A/\u9690\u85CF\u6279\u6CE8",showAll:"\u663E\u793A/\u9690\u85CF\u6240\u6709\u6279\u6CE8"},screenshot:{screenshotTipNoSelection:"\u8BF7\u6846\u9009\u9700\u8981\u622A\u56FE\u7684\u8303\u56F4",screenshotTipTitle:"\u63D0\u793A\uFF01",screenshotTipHasMerge:"\u65E0\u6CD5\u5BF9\u5408\u5E76\u5355\u5143\u683C\u6267\u884C\u6B64\u64CD\u4F5C",screenshotTipHasMulti:"\u65E0\u6CD5\u5BF9\u591A\u91CD\u9009\u62E9\u533A\u57DF\u6267\u884C\u6B64\u64CD\u4F5C",screenshotTipSuccess:"\u622A\u53D6\u6210\u529F",screenshotImageName:"\u622A\u56FE",downLoadClose:"\u5173\u95ED",downLoadCopy:"\u590D\u5236\u5230\u526A\u5207\u677F",downLoadBtn:"\u4E0B\u8F7D",browserNotTip:"\u4E0B\u8F7D\u529F\u80FDIE\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\uFF01",rightclickTip:"\u8BF7\u5728\u56FE\u7247\u4E0A\u53F3\u952E\u70B9\u51FB'\u590D\u5236'",successTip:"\u5DF2\u6210\u529F\u590D\u5236\uFF08\u5982\u679C\u7C98\u8D34\u5931\u8D25\uFF0C\u8BF7\u5728\u56FE\u7247\u4E0A\u53F3\u952E\u70B9\u51FB'\u590D\u5236\u56FE\u7247'\uFF09"},splitText:{splitDelimiters:"\u5206\u5272\u7B26\u53F7",splitOther:"\u5176\u5B83",splitContinueSymbol:"\u8FDE\u7EED\u5206\u9694\u7B26\u53F7\u89C6\u4E3A\u5355\u4E2A\u5904\u7406",splitDataPreview:"\u6570\u636E\u9884\u89C8",splitTextTitle:"\u6587\u672C\u5206\u5217",splitConfirmToExe:"\u6B64\u5904\u5DF2\u6709\u6570\u636E\uFF0C\u662F\u5426\u66FF\u6362\u5B83\uFF1F",tipNoMulti:"\u4E0D\u80FD\u5BF9\u591A\u91CD\u9009\u62E9\u533A\u57DF\u6267\u884C\u6B64\u64CD\u4F5C\uFF0C\u8BF7\u9009\u62E9\u5355\u4E2A\u533A\u57DF\uFF0C\u7136\u540E\u518D\u8BD5",tipNoMultiColumn:"\u4E00\u6B21\u53EA\u80FD\u8F6C\u6362\u4E00\u5217\u6570\u636E\uFF0C\u9009\u5B9A\u533A\u57DF\u53EF\u4EE5\u6709\u591A\u884C\uFF0C\u4F46\u4E0D\u80FD\u6709\u591A\u5217\uFF0C\u8BF7\u5728\u9009\u5B9A\u5355\u5217\u533A\u57DF\u4EE5\u540E\u518D\u8BD5"},imageText:{imageSetting:"\u56FE\u7247\u8BBE\u7F6E",close:"\u5173\u95ED",conventional:"\u5E38\u89C4",moveCell1:"\u79FB\u52A8\u5E76\u8C03\u6574\u5355\u5143\u683C\u5927\u5C0F",moveCell2:"\u79FB\u52A8\u5E76\u4E14\u4E0D\u8C03\u6574\u5355\u5143\u683C\u7684\u5927\u5C0F",moveCell3:"\u4E0D\u8981\u79FB\u52A8\u5355\u5143\u683C\u5E76\u8C03\u6574\u5176\u5927\u5C0F",fixedPos:"\u56FA\u5B9A\u4F4D\u7F6E",border:"\u8FB9\u6846",width:"\u5BBD\u5EA6",radius:"\u534A\u5F84",style:"\u6837\u5F0F",solid:"\u5B9E\u7EBF",dashed:"\u865A\u7EBF",dotted:"\u70B9\u72B6",double:"\u53CC\u7EBF",color:"\u989C\u8272"},punctuation:{tab:"Tab \u952E",semicolon:"\u5206\u53F7",comma:"\u9017\u53F7",space:"\u7A7A\u683C"},findAndReplace:{find:"\u67E5\u627E",replace:"\u66FF\u6362",goto:"\u8F6C\u5230",location:"\u5B9A\u4F4D\u6761\u4EF6",formula:"\u516C\u5F0F",date:"\u65E5\u671F",number:"\u6570\u5B57",string:"\u5B57\u7B26",error:"\u9519\u8BEF",condition:"\u6761\u4EF6\u683C\u5F0F",rowSpan:"\u95F4\u9694\u884C",columnSpan:"\u95F4\u9694\u5217",locationExample:"\u5B9A\u4F4D",lessTwoRowTip:"\u8BF7\u9009\u62E9\u6700\u5C11\u4E24\u884C",lessTwoColumnTip:"\u8BF7\u9009\u62E9\u6700\u5C11\u4E24\u884C",findTextbox:"\u67E5\u627E\u5185\u5BB9",replaceTextbox:"\u66FF\u6362\u5185\u5BB9",regexTextbox:"\u6B63\u5219\u8868\u8FBE\u5F0F\u5339\u914D",wholeTextbox:"\u6574\u8BCD\u5339\u914D",distinguishTextbox:"\u533A\u5206\u5927\u5C0F\u5199\u5339\u914D",allReplaceBtn:"\u5168\u90E8\u66FF\u6362",replaceBtn:"\u66FF\u6362",allFindBtn:"\u67E5\u627E\u5168\u90E8",findBtn:"\u67E5\u627E\u4E0B\u4E00\u4E2A",noFindTip:"\u6CA1\u6709\u67E5\u627E\u5230\u8BE5\u5185\u5BB9",modeTip:"\u8BE5\u6A21\u5F0F\u4E0B\u4E0D\u53EF\u8FDB\u884C\u6B64\u64CD\u4F5C",searchTargetSheet:"\u5DE5\u4F5C\u8868",searchTargetCell:"\u5355\u5143\u683C",searchTargetValue:"\u503C",searchInputTip:"\u8BF7\u8F93\u5165\u67E5\u627E\u5185\u5BB9",noReplceTip:"\u6CA1\u6709\u53EF\u66FF\u6362\u7684\u5185\u5BB9",noMatchTip:"\u627E\u4E0D\u5230\u5339\u914D\u9879",successTip:"\u5DF2\u7ECF\u5E2E\u60A8\u641C\u7D22\u5E76\u8FDB\u884C\u4E86${xlength}\u5904\u66FF\u6362",locationConstant:"\u5E38\u91CF",locationFormula:"\u516C\u5F0F",locationDate:"\u65E5\u671F",locationDigital:"\u6570\u5B57",locationString:"\u5B57\u7B26",locationBool:"\u903B\u8F91\u503C",locationError:"\u9519\u8BEF",locationNull:"\u7A7A\u503C",locationCondition:"\u6761\u4EF6\u683C\u5F0F",locationRowSpan:"\u95F4\u9694\u884C",locationColumnSpan:"\u95F4\u9694\u5217",locationTiplessTwoRow:"\u8BF7\u9009\u62E9\u6700\u5C11\u4E24\u884C",locationTiplessTwoColumn:"\u8BF7\u9009\u62E9\u6700\u5C11\u4E24\u5217",locationTipNotFindCell:"\u672A\u627E\u5230\u5355\u5143\u683C"},sheetconfig:{delete:"\u5220\u9664",copy:"\u590D\u5236",rename:"\u91CD\u547D\u540D",changeColor:"\u66F4\u6539\u989C\u8272",hide:"\u9690\u85CF",unhide:"\u53D6\u6D88\u9690\u85CF",moveLeft:"\u5411\u5DE6\u79FB",moveRight:"\u5411\u53F3\u79FB",resetColor:"\u91CD\u7F6E\u989C\u8272",cancelText:"\u53D6\u6D88",chooseText:"\u786E\u5B9A\u989C\u8272",tipNameRepeat:"\u6807\u7B7E\u9875\u7684\u540D\u79F0\u4E0D\u80FD\u91CD\u590D\uFF01\u8BF7\u91CD\u65B0\u4FEE\u6539",noMoreSheet:"\u5DE5\u4F5C\u8584\u5185\u81F3\u5C11\u542B\u6709\u4E00\u5F20\u53EF\u89C6\u5DE5\u4F5C\u8868\u3002\u82E5\u9700\u5220\u9664\u9009\u5B9A\u7684\u5DE5\u4F5C\u8868\uFF0C\u8BF7\u5148\u63D2\u5165\u4E00\u5F20\u65B0\u5DE5\u4F5C\u8868\u6216\u663E\u793A\u4E00\u5F20\u9690\u85CF\u7684\u5DE5\u4F5C\u8868\u3002",confirmDelete:"\u662F\u5426\u5220\u9664",redoDelete:"\u53EF\u4EE5\u901A\u8FC7Ctrl+Z\u64A4\u9500\u5220\u9664",noHide:"\u4E0D\u80FD\u9690\u85CF, \u81F3\u5C11\u4FDD\u7559\u4E00\u4E2Asheet\u6807\u7B7E",chartEditNoOpt:"\u56FE\u8868\u7F16\u8F91\u6A21\u5F0F\u4E0B\u4E0D\u5141\u8BB8\u8BE5\u64CD\u4F5C\uFF01",sheetNameSpecCharError:`\u540D\u79F0\u4E0D\u80FD\u8D85\u8FC731\u4E2A\u5B57\u7B26\uFF0C\u9996\u5C3E\u4E0D\u80FD\u662F' \u4E14\u540D\u79F0\u4E0D\u80FD\u5305\u542B:\r
  460. [ ] : \\ ? * /`,sheetNamecannotIsEmptyError:"\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A!"},conditionformat:{conditionformat_greaterThan:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u5927\u4E8E",conditionformat_greaterThan_title:"\u4E3A\u5927\u4E8E\u4EE5\u4E0B\u503C\u7684\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",conditionformat_lessThan:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u5C0F\u4E8E",conditionformat_lessThan_title:"\u4E3A\u5C0F\u4E8E\u4EE5\u4E0B\u503C\u7684\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",conditionformat_betweenness:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u4ECB\u4E8E",conditionformat_betweenness_title:"\u4E3A\u4ECB\u4E8E\u4EE5\u4E0B\u503C\u7684\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",conditionformat_equal:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u7B49\u4E8E",conditionformat_equal_title:"\u4E3A\u7B49\u4E8E\u4EE5\u4E0B\u503C\u7684\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",conditionformat_textContains:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u6587\u672C\u5305\u542B",conditionformat_textContains_title:"\u4E3A\u5305\u542B\u4EE5\u4E0B\u6587\u672C\u7684\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",conditionformat_occurrenceDate:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u53D1\u751F\u65E5\u671F",conditionformat_occurrenceDate_title:"\u4E3A\u5305\u542B\u4EE5\u4E0B\u65E5\u671F\u7684\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",conditionformat_duplicateValue:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u91CD\u590D\u503C",conditionformat_duplicateValue_title:"\u4E3A\u5305\u542B\u4EE5\u4E0B\u7C7B\u578B\u503C\u7684\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",conditionformat_top10:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u524D 10 \u9879",conditionformat_top10_percent:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u524D 10%",conditionformat_top10_title:"\u4E3A\u503C\u6700\u5927\u7684\u90A3\u4E9B\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",conditionformat_last10:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u6700\u540E 10 \u9879",conditionformat_last10_percent:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u6700\u540E 10%",conditionformat_last10_title:"\u4E3A\u503C\u6700\u5C0F\u7684\u90A3\u4E9B\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",conditionformat_AboveAverage:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u9AD8\u4E8E\u5E73\u5747\u503C",conditionformat_AboveAverage_title:"\u4E3A\u9AD8\u4E8E\u5E73\u5747\u503C\u7684\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",conditionformat_SubAverage:"\u6761\u4EF6\u683C\u5F0F\u2014\u2014\u4F4E\u4E8E\u5E73\u5747\u503C",conditionformat_SubAverage_title:"\u4E3A\u4F4E\u4E8E\u5E73\u5747\u503C\u7684\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",rule:"\u89C4\u5219",newRule:"\u65B0\u5EFA\u89C4\u5219",editRule:"\u7F16\u8F91\u89C4\u5219",deleteRule:"\u5220\u9664\u89C4\u5219",deleteCellRule:"\u6E05\u9664\u6240\u9009\u5355\u5143\u683C\u7684\u89C4\u5219",deleteSheetRule:"\u6E05\u9664\u6574\u4E2A\u5DE5\u4F5C\u8868\u7684\u89C4\u5219",manageRules:"\u7BA1\u7406\u89C4\u5219",showRules:"\u663E\u793A\u5176\u683C\u5F0F\u89C4\u5219",highlightCellRules:"\u7A81\u51FA\u663E\u793A\u5355\u5143\u683C\u89C4\u5219",itemSelectionRules:"\u9879\u76EE\u9009\u53D6\u89C4\u5219",conditionformatManageRules:"\u6761\u4EF6\u683C\u5F0F\u89C4\u5219\u7BA1\u7406\u5668",format:"\u683C\u5F0F",setFormat:"\u8BBE\u7F6E\u683C\u5F0F",setAs:"\u8BBE\u7F6E\u4E3A",setAsByArea:"\u9488\u5BF9\u9009\u5B9A\u533A\u57DF\uFF0C\u8BBE\u7F6E\u4E3A",applyRange:"\u5E94\u7528\u8303\u56F4",selectRange:"\u70B9\u51FB\u9009\u62E9\u5E94\u7528\u8303\u56F4",selectRange_percent:"\u6240\u9009\u8303\u56F4\u7684\u767E\u5206\u6BD4",selectRange_average:"\u9009\u5B9A\u8303\u56F4\u7684\u5E73\u5747\u503C",selectRange_value:"\u9009\u5B9A\u8303\u56F4\u4E2D\u7684\u6570\u503C",pleaseSelectRange:"\u8BF7\u9009\u62E9\u5E94\u7528\u8303\u56F4",selectDataRange:"\u70B9\u51FB\u9009\u62E9\u6570\u636E\u8303\u56F4",selectCell:"\u9009\u62E9\u5355\u5143\u683C",pleaseSelectCell:"\u8BF7\u9009\u62E9\u5355\u5143\u683C",pleaseSelectADate:"\u8BF7\u9009\u62E9\u65E5\u671F",pleaseEnterInteger:"\u8BF7\u8F93\u5165\u4E00\u4E2A\u4ECB\u4E8E 1 \u548C 1000 \u4E4B\u95F4\u7684\u6574\u6570",onlySingleCell:"\u53EA\u80FD\u5BF9\u5355\u4E2A\u5355\u5143\u683C\u8FDB\u884C\u5F15\u7528",conditionValueCanOnly:"\u6761\u4EF6\u503C\u53EA\u80FD\u662F\u6570\u5B57\u6216\u8005\u5355\u4E2A\u5355\u5143\u683C",ruleTypeItem1:"\u57FA\u4E8E\u5404\u81EA\u503C\u8BBE\u7F6E\u6240\u6709\u5355\u5143\u683C\u7684\u683C\u5F0F",ruleTypeItem2:"\u53EA\u4E3A\u5305\u542B\u4EE5\u4E0B\u5185\u5BB9\u7684\u5355\u5143\u683C\u8BBE\u7F6E\u683C\u5F0F",ruleTypeItem2_title:"\u53EA\u4E3A\u6EE1\u8DB3\u4EE5\u4E0B\u6761\u4EF6\u7684\u5355\u5143\u683C",ruleTypeItem3:"\u4EC5\u5BF9\u6392\u540D\u9760\u524D\u6216\u9760\u540E\u7684\u6570\u503C\u8BBE\u7F6E\u683C\u5F0F",ruleTypeItem3_title:"\u4E3A\u4EE5\u4E0B\u6392\u540D\u5185\u7684\u503C",ruleTypeItem4:"\u4EC5\u5BF9\u9AD8\u4E8E\u6216\u4F4E\u4E8E\u5E73\u5747\u503C\u7684\u6570\u503C\u8BBE\u7F6E\u683C\u5F0F",ruleTypeItem4_title:"\u4E3A\u6EE1\u8DB3\u4EE5\u4E0B\u6761\u4EF6\u7684\u503C",ruleTypeItem5:"\u4EC5\u5BF9\u552F\u4E00\u503C\u6216\u91CD\u590D\u503C\u8BBE\u7F6E\u683C\u5F0F",ruleTypeItem6:"\u4F7F\u7528\u516C\u5F0F\u786E\u5B9A\u8981\u8BBE\u7F6E\u683C\u5F0F\u7684\u5355\u5143\u683C",formula:"\u516C\u5F0F",textColor:"\u6587\u672C\u989C\u8272",cellColor:"\u5355\u5143\u683C\u989C\u8272",confirm:"\u786E\u5B9A",confirmColor:"\u786E\u5B9A\u989C\u8272",cancel:"\u53D6\u6D88",close:"\u5173\u95ED",clearColorSelect:"\u6E05\u9664\u989C\u8272\u9009\u62E9",sheet:"\u8868",currentSheet:"\u5F53\u524D\u5DE5\u4F5C\u8868",dataBar:"\u6570\u636E\u6761",dataBarColor:"\u6570\u636E\u6761\u989C\u8272",gradientDataBar_1:"\u84DD-\u767D\u6E10\u53D8\u6570\u636E\u6761",gradientDataBar_2:"\u7EFF-\u767D\u6E10\u53D8\u6570\u636E\u6761",gradientDataBar_3:"\u7EA2-\u767D\u6E10\u53D8\u6570\u636E\u6761",gradientDataBar_4:"\u6A59-\u767D\u6E10\u53D8\u6570\u636E\u6761",gradientDataBar_5:"\u6D45\u84DD-\u767D\u6E10\u53D8\u6570\u636E\u6761",gradientDataBar_6:"\u7D2B-\u767D\u6E10\u53D8\u6570\u636E\u6761",solidColorDataBar_1:"\u84DD\u8272\u6570\u636E\u6761",solidColorDataBar_2:"\u7EFF\u8272\u6570\u636E\u6761",solidColorDataBar_3:"\u7EA2\u8272\u6570\u636E\u6761",solidColorDataBar_4:"\u6A59\u8272\u6570\u636E\u6761",solidColorDataBar_5:"\u6D45\u84DD\u8272\u6570\u636E\u6761",solidColorDataBar_6:"\u7D2B\u8272\u6570\u636E\u6761",colorGradation:"\u8272\u9636",colorGradation_1:"\u7EFF-\u9EC4-\u7EA2\u8272\u9636",colorGradation_2:"\u7EA2-\u9EC4-\u7EFF\u8272\u9636",colorGradation_3:"\u7EFF-\u767D-\u7EA2\u8272\u9636",colorGradation_4:"\u7EA2-\u767D-\u7EFF\u8272\u9636",colorGradation_5:"\u84DD-\u767D-\u7EA2\u8272\u9636",colorGradation_6:"\u7EA2-\u767D-\u84DD\u8272\u9636",colorGradation_7:"\u767D-\u7EA2\u8272\u9636",colorGradation_8:"\u7EA2-\u767D\u8272\u9636",colorGradation_9:"\u7EFF-\u767D\u8272\u9636",colorGradation_10:"\u767D-\u7EFF\u8272\u9636",colorGradation_11:"\u7EFF-\u9EC4\u8272\u9636",colorGradation_12:"\u9EC4-\u7EFF\u8272\u9636",icons:"\u56FE\u6807\u96C6",pleaseSelectIcon:"\u8BF7\u70B9\u51FB\u9009\u62E9\u4E00\u7EC4\u56FE\u6807\uFF1A",cellValue:"\u5355\u5143\u683C\u503C",specificText:"\u7279\u5B9A\u6587\u672C",occurrence:"\u53D1\u751F\u65E5\u671F",greaterThan:"\u5927\u4E8E",lessThan:"\u5C0F\u4E8E",between:"\u4ECB\u4E8E",equal:"\u7B49\u4E8E",in:"\u548C",to:"\u5230",between2:"\u4E4B\u95F4",contain:"\u5305\u542B",textContains:"\u6587\u672C\u5305\u542B",duplicateValue:"\u91CD\u590D\u503C",uniqueValue:"\u552F\u4E00\u503C",top:"\u524D",top10:"\u524D 10 \u9879",top10_percent:"\u524D 10%",last:"\u540E",last10:"\u540E 10 \u9879",last10_percent:"\u540E 10%",oneself:"\u4E2A",above:"\u9AD8\u4E8E",aboveAverage:"\u9AD8\u4E8E\u5E73\u5747\u503C",below:"\u4F4E\u4E8E",belowAverage:"\u4F4E\u4E8E\u5E73\u5747\u503C",all:"\u5168\u90E8",yesterday:"\u6628\u5929",today:"\u4ECA\u5929",tomorrow:"\u660E\u5929",lastWeek:"\u4E0A\u5468",thisWeek:"\u672C\u5468",lastMonth:"\u4E0A\u6708",thisMonth:"\u672C\u6708",lastYear:"\u53BB\u5E74",thisYear:"\u672C\u5E74",last7days:"\u6700\u8FD17\u5929",last30days:"\u6700\u8FD130\u5929",next7days:"\u672A\u67657\u5929",next30days:"\u672A\u676530\u5929",next60days:"\u672A\u676560\u5929",chooseRuleType:"\u9009\u62E9\u89C4\u5219\u7C7B\u578B",editRuleDescription:"\u7F16\u8F91\u89C4\u5219\u8BF4\u660E",newFormatRule:"\u65B0\u5EFA\u683C\u5F0F\u89C4\u5219",editFormatRule:"\u7F16\u8F91\u683C\u5F0F\u89C4\u5219",formatStyle:"\u683C\u5F0F\u6837\u5F0F",fillType:"\u586B\u5145\u7C7B\u578B",color:"\u989C\u8272",twocolor:"\u53CC\u8272",tricolor:"\u4E09\u8272",multicolor:"\u5F69\u8272",grayColor:"\u7070\u8272",gradient:"\u6E10\u53D8",solid:"\u5B9E\u5FC3",maxValue:"\u6700\u5927\u503C",medianValue:"\u4E2D\u95F4\u503C",minValue:"\u6700\u5C0F\u503C",direction:"\u65B9\u5411",threeWayArrow:"\u4E09\u5411\u7BAD\u5934",fourWayArrow:"\u56DB\u5411\u7BAD\u5934",fiveWayArrow:"\u4E94\u5411\u7BAD\u5934",threeTriangles:"3\u4E2A\u4E09\u89D2\u5F62",shape:"\u5F62\u72B6",threeColorTrafficLight:"\u4E09\u8272\u4EA4\u901A\u706F",fourColorTrafficLight:"\u56DB\u8272\u4EA4\u901A\u706F",threeSigns:"\u4E09\u6807\u5FD7",greenRedBlackGradient:"\u7EFF-\u7EA2-\u9ED1\u6E10\u53D8",rimless:"\u65E0\u8FB9\u6846",bordered:"\u6709\u8FB9\u6846",mark:"\u6807\u8BB0",threeSymbols:"\u4E09\u4E2A\u7B26\u53F7",tricolorFlag:"\u4E09\u8272\u65D7",circled:"\u6709\u5706\u5708",noCircle:"\u65E0\u5706\u5708",grade:"\u7B49\u7EA7",grade4:"\u56DB\u7B49\u7EA7",grade5:"\u4E94\u7B49\u7EA7",threeStars:"3\u4E2A\u661F\u5F62",fiveQuadrantDiagram:"\u4E94\u8C61\u9650\u56FE",fiveBoxes:"5\u4E2A\u6846"},insertLink:{linkText:"\u6587\u672C",linkType:"\u94FE\u63A5\u7C7B\u578B",external:"\u5916\u90E8\u94FE\u63A5",internal:"\u5185\u90E8\u94FE\u63A5",linkAddress:"\u94FE\u63A5\u5730\u5740",linkSheet:"\u5DE5\u4F5C\u8868",linkCell:"\u5355\u5143\u683C\u5F15\u7528",linkTooltip:"\u63D0\u793A",placeholder1:"\u8BF7\u8F93\u5165\u7F51\u9875\u94FE\u63A5\u5730\u5740",placeholder2:"\u8BF7\u8F93\u5165\u8981\u5F15\u7528\u7684\u5355\u5143\u683C\uFF0C\u4F8BA1",placeholder3:"\u8BF7\u8F93\u5165\u63D0\u793A\u5185\u5BB9",tooltipInfo1:"\u8BF7\u8F93\u5165\u6709\u6548\u7684\u94FE\u63A5",tooltipInfo2:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u5355\u5143\u683C\u5F15\u7528"},dataVerification:{cellRange:"\u5355\u5143\u683C\u8303\u56F4",selectCellRange:"\u70B9\u51FB\u9009\u62E9\u5355\u5143\u683C\u8303\u56F4",selectCellRange2:"\u8BF7\u9009\u62E9\u5355\u5143\u683C\u8303\u56F4",verificationCondition:"\u9A8C\u8BC1\u6761\u4EF6",allowMultiSelect:"\u662F\u5426\u5141\u8BB8\u591A\u9009",dropdown:"\u4E0B\u62C9\u5217\u8868",checkbox:"\u590D\u9009\u6846",number:"\u6570\u5B57",number_integer:"\u6570\u5B57-\u6574\u6570",number_decimal:"\u6570\u5B57-\u5C0F\u6570",text_content:"\u6587\u672C-\u5185\u5BB9",text_length:"\u6587\u672C-\u957F\u5EA6",date:"\u65E5\u671F",validity:"\u6709\u6548\u6027",placeholder1:"\u8BF7\u8F93\u5165\u9009\u9879\uFF0C\u4EE5\u82F1\u6587\u9017\u53F7\u5206\u9694\uFF0C\u59821,2,3,4,5",placeholder2:"\u8BF7\u8F93\u5165\u5185\u5BB9",placeholder3:"\u6570\u503C\uFF0C\u598210",placeholder4:"\u8BF7\u8F93\u5165\u6307\u5B9A\u7684\u6587\u672C",placeholder5:"\u8BF7\u8F93\u5165\u9009\u4E2D\u5355\u5143\u683C\u65F6\u663E\u793A\u7684\u63D0\u793A\u8BED",selected:"\u9009\u62E9\u65F6",notSelected:"\u672A\u9009\u62E9",between:"\u4ECB\u4E8E",notBetween:"\u4E0D\u4ECB\u4E8E",equal:"\u7B49\u4E8E",notEqualTo:"\u4E0D\u7B49\u4E8E",moreThanThe:"\u5927\u4E8E",lessThan:"\u5C0F\u4E8E",greaterOrEqualTo:"\u5927\u4E8E\u7B49\u4E8E",lessThanOrEqualTo:"\u5C0F\u4E8E\u7B49\u4E8E",include:"\u5305\u62EC",exclude:"\u4E0D\u5305\u62EC",earlierThan:"\u65E9\u4E8E",noEarlierThan:"\u4E0D\u65E9\u4E8E",laterThan:"\u665A\u4E8E",noLaterThan:"\u4E0D\u665A\u4E8E",identificationNumber:"\u8EAB\u4EFD\u8BC1\u53F7\u7801",phoneNumber:"\u624B\u673A\u53F7",remote:"\u81EA\u52A8\u8FDC\u7A0B\u83B7\u53D6\u9009\u9879",prohibitInput:"\u8F93\u5165\u6570\u636E\u65E0\u6548\u65F6\u7981\u6B62\u8F93\u5165",hintShow:"\u9009\u4E2D\u5355\u5143\u683C\u65F6\u663E\u793A\u63D0\u793A\u8BED",deleteVerification:"\u5220\u9664\u9A8C\u8BC1",tooltipInfo1:"\u4E0B\u62C9\u5217\u8868\u9009\u9879\u4E0D\u53EF\u4E3A\u7A7A",tooltipInfo2:"\u590D\u9009\u6846\u5185\u5BB9\u4E0D\u53EF\u4E3A\u7A7A",tooltipInfo3:"\u8F93\u5165\u7684\u503C\u4E0D\u662F\u6570\u503C\u7C7B\u578B",tooltipInfo4:"\u6570\u503C2\u4E0D\u80FD\u5C0F\u4E8E\u6570\u503C1",tooltipInfo5:"\u6587\u672C\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",tooltipInfo6:"\u8F93\u5165\u7684\u503C\u4E0D\u662F\u65E5\u671F\u7C7B\u578B",tooltipInfo7:"\u65E5\u671F2\u4E0D\u80FD\u5C0F\u4E8E\u65E5\u671F1",textlengthInteger:"\u6587\u672C\u957F\u5EA6\u5FC5\u987B\u662F\u5927\u4E8E\u7B49\u4E8E0\u7684\u6574\u6570"},formula:{sum:"\u6C42\u548C",average:"\u5E73\u5747\u503C",count:"\u8BA1\u6570",max:"\u6700\u5927\u503C",min:"\u6700\u5C0F\u503C",ifGenerate:"if\u516C\u5F0F\u751F\u6210\u5668",find:"\u66F4\u591A\u51FD\u6570",tipNotBelongToIf:"\u8BE5\u5355\u5143\u683C\u51FD\u6570\u4E0D\u5C5E\u4E8Eif\u516C\u5F0F\uFF01",tipSelectCell:"\u8BF7\u9009\u62E9\u5355\u5143\u683C\u63D2\u5165\u51FD\u6570",ifGenCompareValueTitle:"\u6BD4\u8F83\u503C",ifGenSelectCellTitle:"\u70B9\u51FB\u9009\u62E9\u5355\u5143\u683C",ifGenRangeTitle:"\u8303\u56F4",ifGenRangeTo:"\u81F3",ifGenRangeEvaluate:"\u8303\u56F4\u8BC4\u4F30",ifGenSelectRangeTitle:"\u70B9\u51FB\u9009\u62E9\u8303\u56F4",ifGenCutWay:"\u5212\u5206\u65B9\u5F0F",ifGenCutSame:"\u5212\u5206\u503C\u76F8\u540C",ifGenCutNpiece:"\u5212\u5206\u4E3AN\u4EFD",ifGenCutCustom:"\u81EA\u5B9A\u4E49\u8F93\u5165",ifGenCutConfirm:"\u751F\u6210",ifGenTipSelectCell:"\u9009\u62E9\u5355\u5143\u683C",ifGenTipSelectCellPlace:"\u8BF7\u9009\u62E9\u5355\u5143\u683C",ifGenTipSelectRange:"\u9009\u62E9\u5355\u8303\u56F4",ifGenTipSelectRangePlace:"\u8BF7\u9009\u62E9\u8303\u56F4",ifGenTipNotNullValue:"\u6BD4\u8F83\u503C\u4E0D\u80FD\u4E3A\u7A7A\uFF01",ifGenTipLableTitile:"\u6807\u7B7E",ifGenTipRangeNotforNull:"\u8303\u56F4\u4E0D\u80FD\u4E3A\u7A7A\uFF01",ifGenTipCutValueNotforNull:"\u5212\u5206\u503C\u4E0D\u80FD\u4E3A\u7A7A\uFF01",ifGenTipNotGenCondition:"\u6CA1\u6709\u751F\u6210\u53EF\u7528\u7684\u6761\u4EF6\uFF01"},formulaMore:{valueTitle:"\u503C",tipSelectDataRange:"\u9009\u53D6\u6570\u636E\u8303\u56F4",tipDataRangeTile:"\u6570\u636E\u8303\u56F4",findFunctionTitle:"\u67E5\u627E\u51FD\u6570",tipInputFunctionName:"\u8BF7\u8F93\u5165\u60A8\u8981\u67E5\u627E\u7684\u51FD\u6570\u540D\u79F0\u6216\u51FD\u6570\u529F\u80FD\u7684\u7B80\u8981\u63CF\u8FF0",Array:"\u6570\u7EC4",Database:"\u6570\u636E\u6E90",Date:"\u65E5\u671F",Engineering:"\u5DE5\u7A0B\u8BA1\u7B97",Filter:"\u8FC7\u6EE4\u5668",Financial:"\u8D22\u52A1",luckysheet:"Luckysheet\u5185\u7F6E",other:"\u5176\u5B83",Logical:"\u903B\u8F91",Lookup:"\u67E5\u627E",Math:"\u6570\u5B66",Operator:"\u8FD0\u7B97\u7B26",Parser:"\u8F6C\u6362\u5DE5\u5177",Statistical:"\u7EDF\u8BA1",Text:"\u6587\u672C",dataMining:"\u6570\u636E\u6316\u6398",selectFunctionTitle:"\u9009\u62E9\u51FD\u6570",calculationResult:"\u8BA1\u7B97\u7ED3\u679C",tipSuccessText:"\u6210\u529F",tipParamErrorText:"\u53C2\u6570\u7C7B\u578B\u9519\u8BEF",helpClose:"\u5173\u95ED",helpCollapse:"\u6536\u8D77",helpExample:"\u793A\u4F8B",helpAbstract:"\u6458\u8981",execfunctionError:'\u63D0\u793A", "\u516C\u5F0F\u5B58\u5728\u9519\u8BEF',execfunctionSelfError:"\u516C\u5F0F\u4E0D\u53EF\u5F15\u7528\u5176\u672C\u8EAB\u7684\u5355\u5143\u683C",execfunctionSelfErrorResult:"\u516C\u5F0F\u4E0D\u53EF\u5F15\u7528\u5176\u672C\u8EAB\u7684\u5355\u5143\u683C\uFF0C\u4F1A\u5BFC\u81F4\u8BA1\u7B97\u7ED3\u679C\u4E0D\u51C6\u786E",allowRepeatText:"\u53EF\u91CD\u590D",allowOptionText:"\u53EF\u9009",selectCategory:"\u6216\u9009\u62E9\u7C7B\u522B"},drag:{noMerge:"\u65E0\u6CD5\u5BF9\u5408\u5E76\u5355\u5143\u683C\u6267\u884C\u6B64\u64CD\u4F5C",affectPivot:"\u65E0\u6CD5\u5BF9\u6240\u9009\u5355\u5143\u683C\u8FDB\u884C\u6B64\u66F4\u6539\uFF0C\u56E0\u4E3A\u5B83\u4F1A\u5F71\u54CD\u6570\u636E\u900F\u89C6\u8868\uFF01",noMulti:"\u65E0\u6CD5\u5BF9\u591A\u91CD\u9009\u62E9\u533A\u57DF\u6267\u884C\u6B64\u64CD\u4F5C,\u8BF7\u9009\u62E9\u5355\u4E2A\u533A\u57DF",noPaste:"\u65E0\u6CD5\u5728\u6B64\u5904\u7C98\u8D34\u6B64\u5185\u5BB9\uFF0C\u8BF7\u9009\u62E9\u7C98\u8D34\u533A\u57DF\u7684\u4E00\u4E2A\u5355\u5143\u683C\uFF0C\u7136\u540E\u518D\u6B21\u5C1D\u8BD5\u7C98\u8D34",noPartMerge:"\u65E0\u6CD5\u5BF9\u90E8\u5206\u5408\u5E76\u5355\u5143\u683C\u6267\u884C\u6B64\u64CD\u4F5C",inputCorrect:"\u8BF7\u8F93\u5165\u6B63\u786E\u7684\u6570\u503C",notLessOne:"\u884C\u5217\u6570\u4E0D\u80FD\u5C0F\u4E8E1",offsetColumnLessZero:"\u504F\u79FB\u5217\u4E0D\u80FD\u4E3A\u8D1F\u6570\uFF01",pasteMustKeybordAlert:"Copy and paste in the Sheet: Ctrl + C to copy, Ctrl + V to paste, Ctrl + X to cut",pasteMustKeybordAlertHTMLTitle:"Copy and paste in the Sheet",pasteMustKeybordAlertHTML:"<span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + C</span>&nbsp;&nbsp;to copy<br/><span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + V</span>&nbsp;&nbsp;to paste<br/><span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + X</span>&nbsp;&nbsp;to cut"},paste:{warning:"\u63D0\u793A",errorNotAllowMulti:"\u4E0D\u80FD\u5BF9\u591A\u91CD\u9009\u62E9\u533A\u57DF\u6267\u884C\u6B64\u64CD\u4F5C\uFF0C\u8BF7\u9009\u62E9\u5355\u4E2A\u533A\u57DF\uFF0C\u7136\u540E\u518D\u8BD5",errorNotAllowMerged:"\u4E0D\u80FD\u5BF9\u5408\u5E76\u5355\u5143\u683C\u505A\u90E8\u5206\u66F4\u6539"},pivotTable:{title:"\u6570\u636E\u900F\u89C6\u8868",closePannel:"\u5173\u95ED",editRange:"\u7F16\u8F91\u8303\u56F4",tipPivotFieldSelected:"\u9009\u62E9\u9700\u8981\u6DFB\u52A0\u5230\u6570\u636E\u900F\u89C6\u8868\u7684\u5B57\u6BB5",tipClearSelectedField:"\u6E05\u9664\u6240\u6709\u5DF2\u9009\u5B57\u6BB5",btnClearSelectedField:"\u6E05\u9664",btnFilter:"\u7B5B\u9009",titleRow:"\u884C",titleColumn:"\u5217",titleValue:"\u6570\u503C",tipShowColumn:"\u7EDF\u8BA1\u5B57\u6BB5\u663E\u793A\u4E3A\u5217",tipShowRow:"\u7EDF\u8BA1\u5B57\u6BB5\u663E\u793A\u4E3A\u884C",titleSelectionDataRange:"\u9009\u53D6\u6570\u636E\u8303\u56F4",titleDataRange:"\u6570\u636E\u8303\u56F4",valueSum:"\u603B\u8BA1",valueStatisticsSUM:"\u6C42\u548C",valueStatisticsCOUNT:"\u6570\u503C\u8BA1\u6570",valueStatisticsCOUNTA:"\u8BA1\u6570",valueStatisticsCOUNTUNIQUE:"\u53BB\u91CD\u8BA1\u6570",valueStatisticsAVERAGE:"\u5E73\u5747\u503C",valueStatisticsMAX:"\u6700\u5927\u503C",valueStatisticsMIN:"\u6700\u5C0F\u503C",valueStatisticsMEDIAN:"\u4E2D\u4F4D\u6570",valueStatisticsPRODUCT:"\u4E58\u79EF",valueStatisticsSTDEV:"\u6807\u51C6\u5DEE",valueStatisticsSTDEVP:"\u6574\u4F53\u6807\u51C6\u5DEE",valueStatisticslet:"\u65B9\u5DEE",valueStatisticsVARP:"\u6574\u4F53\u65B9\u5DEE",errorNotAllowEdit:"\u975E\u7F16\u8F91\u6A21\u5F0F\u4E0B\u7981\u6B62\u8BE5\u64CD\u4F5C\uFF01",errorNotAllowMulti:"\u4E0D\u80FD\u5BF9\u591A\u91CD\u9009\u62E9\u533A\u57DF\u6267\u884C\u6B64\u64CD\u4F5C\uFF0C\u8BF7\u9009\u62E9\u5355\u4E2A\u533A\u57DF\uFF0C\u7136\u540E\u518D\u8BD5",errorSelectRange:"\u8BF7\u9009\u62E9\u65B0\u5EFA\u900F\u89C6\u8868\u7684\u533A\u57DF",errorIsDamage:"\u6B64\u6570\u636E\u900F\u89C6\u8868\u7684\u6E90\u6570\u636E\u5DF2\u635F\u574F\uFF01",errorNotAllowPivotData:"\u4E0D\u53EF\u9009\u62E9\u6570\u636E\u900F\u89C6\u8868\u4E3A\u6E90\u6570\u636E\uFF01",errorSelectionRange:"\u9009\u62E9\u5931\u8D25, \u8F93\u5165\u8303\u56F4\u9519\u8BEF\uFF01",errorIncreaseRange:"\u8BF7\u6269\u5927\u9009\u62E9\u7684\u6570\u636E\u8303\u56F4!",titleAddColumn:"\u6DFB\u52A0\u5217\u5230\u6570\u636E\u900F\u89C6\u8868",titleMoveColumn:"\u79FB\u52A8\u8BE5\u5217\u5230\u4E0B\u65B9\u767D\u6846",titleClearColumnFilter:"\u6E05\u9664\u8BE5\u5217\u7684\u7B5B\u9009\u6761\u4EF6",titleFilterColumn:"\u7B5B\u9009\u8BE5\u5217",titleSort:"\u6392\u5E8F",titleNoSort:"\u65E0\u6392\u5E8F",titleSortAsc:"\u5347\u5E8F",titleSortDesc:"\u964D\u5E8F",titleSortBy:"\u6392\u5E8F\u4F9D\u636E",titleShowSum:"\u663E\u793A\u603B\u8BA1",titleStasticTrue:"\u662F",titleStasticFalse:"\u5426"},dropCell:{copyCell:"\u590D\u5236\u5355\u5143\u683C",sequence:"\u586B\u5145\u5E8F\u5217",onlyFormat:"\u4EC5\u586B\u5145\u683C\u5F0F",noFormat:"\u4E0D\u5E26\u683C\u5F0F\u586B\u5145",day:"\u4EE5\u5929\u6570\u586B\u5145",workDay:"\u4EE5\u5DE5\u4F5C\u65E5\u586B\u5145",month:"\u4EE5\u6708\u586B\u5145",year:"\u4EE5\u5E74\u586B\u5145",chineseNumber:"\u4EE5\u4E2D\u6587\u5C0F\u5199\u6570\u5B57\u586B\u5145"},imageCtrl:{borderTile:"\u56FE\u7247\u8FB9\u6846\u989C\u8272\u9009\u62E9",borderCur:"\u5F53\u524D\u989C\u8272"},protection:{protectiontTitle:"\u4FDD\u62A4\u5DE5\u4F5C\u8868",enterPassword:"\u8BF7\u8F93\u5165\u5BC6\u7801\uFF08\u53EF\u7559\u7A7A\uFF09",enterHint:"\u60A8\u8BD5\u56FE\u66F4\u6539\u7684\u5355\u5143\u683C\u6216\u56FE\u8868\u4F4D\u4E8E\u53D7\u4FDD\u62A4\u7684\u5DE5\u4F5C\u8868\u4E2D\u3002\u82E5\u8981\u66F4\u6539\uFF0C\u8BF7\u53D6\u6D88\u5DE5\u4F5C\u8868\u4FDD\u62A4\u3002\u60A8\u53EF\u80FD\u9700\u8981\u8F93\u5165\u5BC6\u7801",swichProtectionTip:"\u4FDD\u62A4\u5DE5\u4F5C\u8868\u53CA\u9501\u5B9A\u7684\u5355\u5143\u683C\u5185\u5BB9",authorityTitle:"\u5141\u8BB8\u6B64\u5DE5\u4F5C\u8868\u7684\u7528\u6237\u8FDB\u884C:",selectLockedCells:"\u9009\u5B9A\u9501\u5B9A\u5355\u5143\u683C",selectunLockedCells:"\u9009\u5B9A\u89E3\u9664\u9501\u5B9A\u7684\u5355\u5143\u683C",formatCells:"\u8BBE\u7F6E\u5355\u5143\u683C\u683C\u5F0F",formatColumns:"\u8BBE\u7F6E\u5217\u683C\u5F0F",formatRows:"\u8BBE\u7F6E\u884C\u683C\u5F0F",insertColumns:"\u63D2\u5165\u5217",insertRows:"\u63D2\u5165\u884C",insertHyperlinks:"\u63D2\u5165\u8D85\u94FE\u63A5",deleteColumns:"\u5220\u9664\u5217",deleteRows:"\u5220\u9664\u884C",sort:"\u6392\u5E8F",filter:"\u4F7F\u7528\u81EA\u52A8\u7B5B\u9009",usePivotTablereports:"\u4F7F\u7528\u6570\u636E\u900F\u89C6\u8868\u548C\u62A5\u8868",editObjects:"\u7F16\u8F91\u5BF9\u8C61",editScenarios:"\u7F16\u8F91\u65B9\u6848",allowRangeTitle:"\u5141\u8BB8\u7528\u6237\u7F16\u8F91\u533A\u57DF",allowRangeAdd:"\u65B0\u5EFA...",allowRangeAddTitle:"\u6807\u9898",allowRangeAddSqrf:"\u5F15\u7528\u5355\u5143\u683C",selectCellRange:"\u70B9\u51FB\u9009\u62E9\u5355\u5143\u683C\u8303\u56F4",selectCellRangeHolder:"\u8BF7\u8F93\u5165\u5355\u5143\u683C\u8303\u56F4",allowRangeAddTitlePassword:"\u5BC6\u7801",allowRangeAddTitleHint:"\u63D0\u793A",allowRangeAddTitleHintTitle:"\u8BBE\u7F6E\u5BC6\u7801\u540E\uFF0C\u63D0\u793A\u7528\u6237\u8F93\u5165\u5BC6\u7801(\u53EF\u7559\u7A7A)",allowRangeAddtitleDefault:"\u8BF7\u8F93\u5165\u533A\u57DF\u540D\u79F0",rangeItemDblclick:"\u53CC\u51FB\u8FDB\u884C\u7F16\u8F91",rangeItemHasPassword:"\u5DF2\u8BBE\u7F6E\u5BC6\u7801",rangeItemErrorTitleNull:"\u6807\u9898\u4E0D\u80FD\u4E3A\u7A7A",rangeItemErrorRangeNull:"\u5355\u5143\u683C\u8303\u56F4\u4E0D\u80FD\u4E3A\u7A7A",rangeItemErrorRange:"\u5355\u5143\u683C\u8303\u56F4\u683C\u5F0F\u9519\u8BEF",validationTitle:"\u9A8C\u8BC1\u63D0\u793A",validationTips:"\u9700\u8981\u8F93\u5165\u5BC6\u7801\u6765\u64A4\u9500\u5DE5\u4F5C\u8868\u7684\u4FDD\u62A4",validationInputHint:"\u8BF7\u8F93\u5165\u5BC6\u7801",checkPasswordNullalert:"\u5BC6\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF01",checkPasswordWrongalert:"\u5BC6\u7801\u9519\u8BEF\uFF0C\u8BF7\u91CD\u8BD5\uFF01",checkPasswordSucceedalert:"\u89E3\u9501\u6210\u529F\uFF0C\u53EF\u4EE5\u7F16\u8F91\u8BE5\u533A\u57DF!",defaultRangeHintText:"\u8BE5\u5355\u5143\u683C\u6B63\u5728\u53D7\u5BC6\u7801\u4FDD\u62A4\u3002",defaultSheetHintText:"\u8BE5\u5355\u5143\u683C\u6216\u56FE\u8868\u4F4D\u4E8E\u53D7\u4FDD\u62A4\u7684\u5DE5\u4F5C\u8868\u4E2D\uFF0C\u82E5\u8981\u8FDB\u884C\u66F4\u6539\uFF0C\u8BF7\u53D6\u6D88\u5DE5\u4F5C\u8868\u4FDD\u62A4\uFF0C\u60A8\u53EF\u80FD\u9700\u8981\u8F93\u5165\u5BC6\u7801\u3002"},cellFormat:{cellFormatTitle:"\u8BBE\u7F6E\u5355\u5143\u683C\u683C\u5F0F",protection:"\u4FDD\u62A4",locked:"\u9501\u5B9A\u5355\u5143\u683C",hidden:"\u9690\u85CF\u516C\u5F0F",protectionTips:"\u53EA\u6709\u4FDD\u62A4\u5DE5\u4F5C\u8868\u529F\u80FD(\u5728\u83DC\u5355\u680F\u70B9\u51FB\u4FDD\u62A4\u5DE5\u4F5C\u8868\u6309\u94AE\u8FDB\u884C\u8BBE\u7F6E)\u5F00\u542F\u540E\uFF0C\u9501\u5B9A\u5355\u5143\u683C\u6216\u9690\u85CF\u516C\u5F0F\u624D\u80FD\u751F\u6548",tipsPart:"\u90E8\u5206\u9009\u4E2D",tipsAll:"\u5168\u90E8\u9009\u4E2D",selectionIsNullAlert:"\u8BF7\u9009\u62E9\u4E00\u4E2A\u8303\u56F4\uFF01",sheetDataIsNullAlert:"\u6570\u636E\u4E3A\u7A7A\u65E0\u6CD5\u8BBE\u7F6E\uFF01"},print:{normalBtn:"\u5E38\u89C4\u89C6\u56FE",layoutBtn:"\u9875\u9762\u5E03\u5C40",pageBtn:"\u5206\u9875\u9884\u89C8",menuItemPrint:"\u6253\u5370(Ctrl+P)",menuItemAreas:"\u6253\u5370\u533A\u57DF",menuItemRows:"\u6253\u5370\u6807\u9898\u884C",menuItemColumns:"\u6253\u5370\u6807\u9898\u5217",suggest:"\u5BF9\u6253\u5370\u529F\u80FD\u6709\u4EC0\u4E48\u5EFA\u8BAE\uFF1F",range:"\u6253\u5370\u8303\u56F4",size:"\u7EB8\u5F20\u5927\u5C0F",direction:"\u6253\u5370\u65B9\u5411",horizontal:"\u6A2A\u5411",vertical:"\u7EB5\u5411",title:"\u6253\u5370\u8BBE\u7F6E",current:"\u5F53\u524D\u5DE5\u4F5C\u8868",area:"\u9009\u4E2D\u533A\u57DF",letter:"\u4FE1\u5C01",paper:"\u5C0F\u62A5\u7528\u7EB8",law:"\u6CD5\u5B9A\u7528\u7EB8",admin:"\u884C\u653F\u7528\u7EB8",expire:"\u5DF2\u8FC7\u671F",remain:"\u5269\u4F59\u5929\u6570",error:"\u9519\u8BEF",showLine:"\u663E\u793A\u7F51\u683C\u7EBF",show:"\u663E\u793A",hide:"\u9690\u85CF",preview:"\u9884\u89C8"},edit:{typing:"\u6B63\u5728\u8F93\u5165"},websocket:{success:"WebSocket\u8FDE\u63A5\u6210\u529F",refresh:"WebSocket\u8FDE\u63A5\u53D1\u751F\u9519\u8BEF, \u8BF7\u5237\u65B0\u9875\u9762\uFF01",wait:"WebSocket\u8FDE\u63A5\u53D1\u751F\u9519\u8BEF, \u8BF7\u8010\u5FC3\u7B49\u5F85\uFF01",close:"WebSocket\u8FDE\u63A5\u5173\u95ED",contact:"\u670D\u52A1\u5668\u901A\u4FE1\u53D1\u751F\u9519\u8BEF\uFF0C\u8BF7\u5237\u65B0\u9875\u9762\u540E\u518D\u8BD5\uFF0C\u5982\u82E5\u4E0D\u884C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458\uFF01",support:"\u5F53\u524D\u6D4F\u89C8\u5668\u4E0D\u652F\u6301WebSocket"},exportXlsx:{notice:"\u8BF7\u914D\u7F6E\u5BFC\u51FA\u63D2\u4EF6",serverError:"\u670D\u52A1\u5668\u6B63\u5728\u7EF4\u62A4",title:"\u5BFC\u51FAXLSX",range:"\u8303\u56F4",currentSheet:"\u5F53\u524D\u5DE5\u4F5C\u8868",allSheets:"\u6240\u6709\u5DE5\u4F5C\u8868"}}});var wu,xu=$e(()=>{wu={functionlist:{SUMIF:{d:"Returns a conditional sum across a range.",a:"A conditional sum across a range.",p:[{name:"range",detail:"The range which is tested against `criterion`."},{name:"criterion",detail:"The pattern or test to apply to `range`."},{name:"sum_range",detail:"The range to be summed, if different from `range`."}]},TAN:{d:"Returns the tangent of an angle provided in radians.",a:"Tangent of an angle provided in radians.",p:[{name:"angle",detail:"The angle to find the tangent of, in radians."}]},TANH:{d:"Returns the hyperbolic tangent of any real number.",a:"Hyperbolic tangent of any real number.",p:[{name:"value",detail:"Any real value to calculate the hyperbolic tangent of."}]},CEILING:{d:"Rounds a number up to the nearest integer multiple of specified significance `factor`.",a:"Rounds number up to nearest multiple of a factor.",p:[{name:"value",detail:"The value to round up to the nearest integer multiple of `factor`."},{name:"factor",detail:"The number to whose multiples `value` will be rounded."}]},ATAN:{d:"Returns the inverse tangent of a value, in radians.",a:"Inverse tangent of a value, in radians.",p:[{name:"value",detail:"The value for which to calculate the inverse tangent."}]},ASINH:{d:"Returns the inverse hyperbolic sine of a number.",a:"Inverse hyperbolic sine of a number.",p:[{name:"value",detail:"The value for which to calculate the inverse hyperbolic sine."}]},ABS:{d:"Returns the absolute value of a number.",a:"Absolute value of a number.",p:[{name:"value",detail:"The number of which to return the absolute value."}]},ACOS:{d:"Returns the inverse cosine of a value, in radians.",a:"Inverse cosine of a value, in radians.",p:[{name:"value",detail:"The value for which to calculate the inverse cosine. Must be between `-1` and `1`, inclusive."}]},ACOSH:{d:"Returns the inverse hyperbolic cosine of a number.",a:"Inverse hyperbolic cosine of a number.",p:[{name:"value",detail:"The value for which to calculate the inverse hyperbolic cosine. Must be greater than or equal to `1`."}]},MULTINOMIAL:{d:"Returns the factorial of the sum of values divided by the product of the values' factorials.",a:"Multinomial distribution function.",p:[{name:"value1",detail:"The first value or range to consider."},{name:"value2",detail:"Additional values or ranges to consider."}]},ATANH:{d:"Returns the inverse hyperbolic tangent of a number.",a:"Inverse hyperbolic tangent of a number.",p:[{name:"value",detail:"The value for which to calculate the inverse hyperbolic tangent. Must be between -1 and 1, exclusive."}]},ATAN2:{d:"Returns the angle between the x-axis and a line segment from the origin (0,0) to specified coordinate pair (`x`,`y`), in radians.",a:"Arctangent of a value.",p:[{name:"x",detail:"The x coordinate of the endpoint of the line segment for which to calculate the angle from the x-axis."},{name:"y",detail:"The y coordinate of the endpoint of the line segment for which to calculate the angle from the x-axis."}]},COUNTBLANK:{d:"Returns the number of empty values in a list of values and ranges.",a:"Number of empty values.",p:[{name:"value1",detail:"The first value or range in which to count the number of blanks."}]},COSH:{d:"Returns the hyperbolic cosine of any real number.",a:"Hyperbolic cosine of any real number.",p:[{name:"value",detail:"Any real value to calculate the hyperbolic cosine of."}]},INT:{d:"Rounds a number down to the nearest integer that is less than or equal to it.",a:"Rounds number down to nearest integer.",p:[{name:"value",detail:"The value to round down to the nearest integer."}]},ISEVEN:{d:"Checks whether the provided value is even.",a:"Whether the provided value is even.",p:[{name:"value",detail:"The value to be verified as even."}]},ISODD:{d:"Checks whether the provided value is odd.",a:"Whether the provided value is odd.",p:[{name:"value",detail:"The value to be verified as odd."}]},LCM:{d:"Returns the least common multiple of one or more integers.",a:"Least common multiple of one or more integers.",p:[{name:"value1",detail:"The first value or range whose factors to consider in a calculation to find the least common multiple."},{name:"value2",detail:"Additional values or ranges whose factors to consider to find the least common multiple."}]},LN:{d:"Returns the logarithm of a number, base e (Euler's number).",a:"The logarithm of a number, base e (euler's number).",p:[{name:"value",detail:"The value for which to calculate the logarithm, base e."}]},LOG:{d:"Returns the logarithm of a number with respect to a base.",a:"The logarithm of a number with respect to a base.",p:[{name:"value",detail:"The value for which to calculate the logarithm."},{name:"base",detail:"The base to use for calculation of the logarithm."}]},LOG10:{d:"Returns the logarithm of a number, base 10.",a:"The logarithm of a number, base 10.",p:[{name:"value",detail:"The value for which to calculate the logarithm, base 10."}]},MOD:{d:"Returns the result of the modulo operator, the remainder after a division operation.",a:"Modulo (remainder) operator.",p:[{name:"dividend",detail:"The number to be divided to find the remainder."},{name:"divisor",detail:"The number to divide by."}]},MROUND:{d:"Rounds one number to the nearest integer multiple of another.",a:"Rounds a number to the nearest integer multiple.",p:[{name:"value",detail:"The number to round to the nearest integer multiple of another."},{name:"factor",detail:"The number to whose multiples `value` will be rounded."}]},ODD:{d:"Rounds a number up to the nearest odd integer.",a:"Rounds a number up to the nearest odd integer.",p:[{name:"value",detail:"The value to round to the next greatest odd number."}]},SUMSQ:{d:"Returns the sum of the squares of a series of numbers and/or cells.",a:"Sum of squares.",p:[{name:"value1",detail:"The first number or range whose squares to add together."},{name:"value2",detail:"Additional numbers or ranges whose squares to add to the square(s) of `value1`."}]},COMBIN:{d:"Returns the number of ways to choose some number of objects from a pool of a given size of objects.",a:"Number of combinations from a set of objects.",p:[{name:"n",detail:"The size of the pool of objects to choose from."},{name:"k",detail:"The number of objects to choose."}]},SUM:{d:"Returns the sum of a series of numbers and/or cells.",a:"Sum of a series of numbers and/or cells.",p:[{name:"value1",detail:"The first number or range to add together."},{name:"value2",detail:"Additional numbers or ranges to add to `value1`."}]},SUBTOTAL:{d:"Returns a subtotal for a vertical range of cells using a specified aggregation function.",a:"Subtotal for a range using a specific function.",p:[{name:"function_code",detail:"The function to use in subtotal aggregation."},{name:"range1",detail:"The first range over which to calculate a subtotal."},{name:"range2",detail:"Additional ranges over which to calculate subtotals."}]},ASIN:{d:"Returns the inverse sine of a value, in radians.",a:"Inverse sine of a value, in radians.",p:[{name:"value",detail:"The value for which to calculate the inverse sine. Must be between `-1` and `1`, inclusive."}]},COUNTIF:{d:"Returns a conditional count across a range.",a:"A conditional count across a range.",p:[{name:"range",detail:"The range that is tested against `criterion`."},{name:"criterion",detail:"The pattern or test to apply to `range`."}]},RADIANS:{d:"Converts an angle value in degrees to radians.",a:"Converts an angle value in degrees to radians.",p:[{name:"angle",detail:"The angle to convert from degrees to radians."}]},RAND:{d:"Returns a random number between 0 inclusive and 1 exclusive.",a:"A random number between 0 inclusive and 1 exclusive.",p:[]},COUNTUNIQUE:{d:"Counts the number of unique values in a list of specified values and ranges.",a:"Counts number of unique values in a range.",p:[{name:"value1",detail:"The first value or range to consider for uniqueness."},{name:"value2",detail:"Additional values or ranges to consider for uniqueness."}]},DEGREES:{d:"Converts an angle value in radians to degrees.",a:"Converts an angle value in radians to degrees.",p:[{name:"angle",detail:"The angle to convert from radians to degrees."}]},ERFC:{d:"Returns the complementary Gauss error function of a value.",a:"Complementary gauss error function of a value.",p:[{name:"z",detail:"The number for which to calculate the complementary Gauss error function."}]},EVEN:{d:"Rounds a number up to the nearest even integer.",a:"Rounds a number up to the nearest even integer.",p:[{name:"value",detail:"The value to round to the next greatest even number."}]},EXP:{d:"Returns Euler's number, e (~2.718) raised to a power.",a:"Euler's number, e (~2.718) raised to a power.",p:[{name:"exponent",detail:"The exponent to raise e to."}]},FACT:{d:"Returns the factorial of a number.",a:"Factorial of a number.",p:[{name:"value",detail:"The number or reference to a number whose factorial will be calculated and returned."}]},FACTDOUBLE:{d:'Returns the "double factorial" of a number.',a:'"double factorial" of a number.',p:[{name:"value",detail:"The number or reference to a number whose double factorial will be calculated and returned."}]},PI:{d:"Returns the value of Pi to 14 decimal places.",a:"The number pi.",p:[]},FLOOR:{d:"Rounds a number down to the nearest integer multiple of specified significance `factor`.",a:"Rounds number down to nearest multiple of a factor.",p:[{name:"value",detail:"The value to round down to the nearest integer multiple of `factor`."},{name:"factor",detail:"The number to whose multiples `value` will be rounded."}]},GCD:{d:"Returns the greatest common divisor of one or more integers.",a:"Greatest common divisor of one or more integers.",p:[{name:"value1",detail:"The first value or range whose factors to consider in a calculation to find the greatest common divisor."},{name:"value2",detail:"Additional values or ranges whose factors to consider to find the greatest common divisor."}]},RANDBETWEEN:{d:"Returns a uniformly random integer between two values, inclusive.",a:"Random integer between two values, inclusive.",p:[{name:"low",detail:"The low end of the random range."},{name:"high",detail:"The high end of the random range."}]},ROUND:{d:"Rounds a number to a certain number of decimal places according to standard rules.",a:"Rounds a number according to standard rules.",p:[{name:"value",detail:"The value to round to `places` number of places."},{name:"places",detail:"The number of decimal places to which to round."}]},ROUNDDOWN:{d:"Rounds a number to a certain number of decimal places, always rounding down to the next valid increment.",a:"Rounds down a number.",p:[{name:"value",detail:"The value to round to `places` number of places, always rounding down."},{name:"places",detail:"The number of decimal places to which to round."}]},ROUNDUP:{d:"Rounds a number to a certain number of decimal places, always rounding up to the next valid increment.",a:"Rounds up a number.",p:[{name:"value",detail:"The value to round to `places` number of places, always rounding up."},{name:"places",detail:"The number of decimal places to which to round."}]},SERIESSUM:{d:"Given parameters `x`, `n`, `m`, and `a`, returns the power series sum a",a:"Sum of a power series.",p:[{name:"x",detail:"The input to the power series. Varies depending on the type of approximation, may be angle, exponent, or some other value."},{name:"n",detail:"The initial power to which to raise `x` in the power series."},{name:"m",detail:"The additive increment by which to increase `x`."},{name:"a",detail:"The array or range containing the coefficients of the power series."}]},SIGN:{d:"Given an input number, returns `-1` if it is negative, `1` if positive, and `0` if it is zero.",a:"Sign of a provided number (+/-/0).",p:[{name:"value",detail:"The value whose sign will be evaluated."}]},SIN:{d:"Returns the sine of an angle provided in radians.",a:"Sine of an angle provided in radians.",p:[{name:"angle",detail:"The angle to find the sine of, in radians."}]},SINH:{d:"Returns the hyperbolic sine of any real number.",a:"Hyperbolic sine of any real number.",p:[{name:"value",detail:"Any real value to calculate the hyperbolic sine of."}]},SQRT:{d:"Returns the positive square root of a positive number.",a:"Positive square root of a positive number.",p:[{name:"value",detail:"The number for which to calculate the positive square root."}]},SQRTPI:{d:"Returns the positive square root of the product of Pi and the given positive number.",a:"Square root of the product of pi and number.",p:[{name:"value",detail:"The number which will be multiplied by Pi and have the product's square root returned"}]},GAMMALN:{d:"Returns the logarithm of a specified Gamma function, base e (Euler's number).",a:"Logarithm of gamma function.",p:[{name:"value",detail:"The input to the Gamma function. The natural logarithm of Gamma(`value`) will be returned."}]},COS:{d:"Returns the cosine of an angle provided in radians.",a:"Cosine of an angle provided in radians.",p:[{name:"angle",detail:"The angle to find the cosine of, in radians."}]},TRUNC:{d:"Truncates a number to a certain number of significant digits by omitting less significant digits.",a:"Truncates a number.",p:[{name:"value",detail:"The value to be truncated."},{name:"places",detail:"The number of significant digits to the right of the decimal point to retain."}]},QUOTIENT:{d:"Returns one number divided by another.",a:"One number divided by another.",p:[{name:"dividend",detail:"The number to be divided."},{name:"divisor",detail:"The number to divide by."}]},POWER:{d:"Returns a number raised to a power.",a:"A number raised to a power.",p:[{name:"base",detail:"The number to raise to the `exponent` power."},{name:"exponent",detail:"The exponent to raise `base` to."}]},SUMIFS:{d:"Returns the sum of a range depending on multiple criteria.",a:"Sums a range depending on multiple criteria.",p:[{name:"sum_range",detail:"The range to sum."},{name:"criteria_range1",detail:"The range to check against criterion1."},{name:"criterion1",detail:"The pattern or test to apply to criteria_range1."},{name:"criteria_range2",detail:"Additional ranges to check."}]},COUNTIFS:{d:"Returns the count of a range depending on multiple criteria.",a:"Count values depending on multiple criteria.",p:[{name:"criteria_range1",detail:"The range to check against `criterion1`."},{name:"criterion1",detail:"The pattern or test to apply to `criteria_range1`."},{name:"criteria_range2",detail:"Additional ranges to check."}]},PRODUCT:{d:"Returns the result of multiplying a series of numbers together.",a:"Result of multiplying a series of numbers together.",p:[{name:"factor1",detail:"The first number or range to calculate for the product."},{name:"factor2",detail:"More numbers or ranges to calculate for the product."}]},HARMEAN:{d:"Calculates the harmonic mean of a dataset.",a:"The harmonic mean of a dataset.",p:[{name:"value1",detail:"The first value or range of the population."},{name:"value2",detail:"Additional values or ranges to include in the population."}]},HYPGEOMDIST:{d:"Calculates the probability of drawing a certain number of successes in a certain number of tries given a population of a certain size containing a certain number of successes, without replacement of draws.",a:"Hypergeometric distribution probability.",p:[{name:"num_successes",detail:"The desired number of successes."},{name:"num_draws",detail:"The number of permitted draws."},{name:"successes_in_pop",detail:"The total number of successes in the population."},{name:"pop_size",detail:"The total size of the population"},{name:"cumulative",detail:`Determine the logical value of the function form.
  461. If cumulative is TRUE(), HYPGEOM.DIST returns the cumulative distribution function;
  462. if FALSE(), it returns the probability density function.`}]},INTERCEPT:{d:"Calculates the y-value at which the line resulting from linear regression of a dataset will intersect the y-axis (x=0).",a:"Y-intercept of line derived via linear regression.",p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data."},{name:"data_x",detail:"The range representing the array or matrix of independent data."}]},KURT:{d:'Calculates the kurtosis of a dataset, which describes the shape, and in particular the "peakedness" of that dataset.',a:"Kurtosis of a dataset.",p:[{name:"value1",detail:"The first value or range of the dataset."},{name:"value2",detail:"Additional values or ranges to include in the dataset."}]},LARGE:{d:"Returns the nth largest element from a data set, where n is user-defined.",a:"Nth largest element from a data set.",p:[{name:"data",detail:"Array or range containing the dataset to consider."},{name:"n",detail:"The rank from largest to smallest of the element to return."}]},STDEVA:{d:"Calculates the standard deviation based on a sample, setting text to the value `0`.",a:"Standard deviation of sample (text as 0).",p:[{name:"value1",detail:"The first value or range of the sample."},{name:"value2",detail:"Additional values or ranges to include in the sample."}]},STDEVP:{d:"Calculates the standard deviation based on an entire population.",a:"Standard deviation of an entire population.",p:[{name:"value1",detail:"The first value or range of the population."},{name:"value2",detail:"Additional values or ranges to include in the population."}]},GEOMEAN:{d:"Calculates the geometric mean of a dataset.",a:"The geometric mean of a dataset.",p:[{name:"value1",detail:"The first value or range of the population."},{name:"value2",detail:"Additional values or ranges to include in the population."}]},RANK_EQ:{d:"Returns the rank of a specified value in a dataset. If there is more than one entry of the same value in the dataset, the top rank of the entries will be returned.",a:"Top rank of a specified value in a dataset.",p:[{name:"value",detail:"The value whose rank will be determined."},{name:"data",detail:"The array or range containing the dataset to consider."},{name:"is_ascending",detail:"Whether to consider the values in `data` in descending or ascending order. If omitted, the default is descending (FALSE)."}]},RANK_AVG:{d:"Returns the rank of a specified value in a dataset. If there is more than one entry of the same value in the dataset, the average rank of the entries will be returned.",a:"Average rank of a specified value in a dataset.",p:[{name:"value",detail:"The value whose rank will be determined."},{name:"data",detail:"The array or range containing the dataset to consider."},{name:"is_ascending",detail:"Whether to consider the values in `data` in descending or ascending order. If omitted, the default is descending (FALSE)."}]},PERCENTRANK_EXC:{d:"Returns the percentage rank (percentile) from 0 to 1 exclusive of a specified value in a dataset.",a:"Percentage rank (percentile) from 0 to 1 exclusive.",p:[{name:"data",detail:"The array or range containing the dataset to consider."},{name:"value",detail:"The value whose percentage rank will be determined."},{name:"significant_digits",detail:"The number of significant figures to use in the calculation. Default is 3."}]},PERCENTRANK_INC:{d:"Returns the percentage rank (percentile) from 0 to 1 inclusive of a specified value in a dataset.",a:"Percentage rank (percentile) from 0 to 1 inclusive.",p:[{name:"data",detail:"The array or range containing the dataset to consider."},{name:"value",detail:"The value whose percentage rank will be determined."},{name:"significant_digits",detail:"The number of significant figures to use in the calculation. Default is 3."}]},FORECAST:{d:"Calculates the expected y-value for a specified x based on a linear regression of a dataset.",a:"Expected y-value based of linear regression.",p:[{name:"x",detail:"The value on the x-axis to forecast."},{name:"data_y",detail:"The range representing the array or matrix of dependent data."},{name:"data_x",detail:"The range representing the array or matrix of independent data."}]},FISHERINV:{d:"Returns the inverse Fisher transformation of a specified value.",a:"Inverse fisher transformation of a specified value.",p:[{name:"value",detail:"The value for which to calculate the inverse Fisher transformation."}]},FISHER:{d:"Returns the Fisher transformation of a specified value.",a:"Fisher transformation of a specified value.",p:[{name:"value",detail:"The value for which to calculate the Fisher transformation."}]},MODE_SNGL:{d:"Returns the most commonly occurring value in a dataset.",a:"Most commonly occurring value in a dataset.",p:[{name:"value1",detail:"The first value or range to consider when calculating mode."},{name:"value2",detail:"Additional values or ranges to consider when calculating mode."}]},WEIBULL_DIST:{d:"Returns the value of the Weibull distribution function (or Weibull cumulative distribution function) for a specified shape and scale.",a:"Weibull distribution function.",p:[{name:"x",detail:"The input to the Weibull distribution function."},{name:"shape",detail:"The shape parameter of the Weibull distribution function."},{name:"scale",detail:"The scale parameter of the Weibull distribution function."},{name:"cumulative",detail:"Whether to use the cumulative distribution function."}]},COUNT:{d:"Returns the number of numeric values in a dataset.",a:"The number of numeric values in dataset.",p:[{name:"value1",detail:"The first value or range to consider when counting."},{name:"value2",detail:"Additional values or ranges to consider when counting."}]},COUNTA:{d:"Returns the number of values in a dataset.",a:"The number of values in a dataset.",p:[{name:"value1",detail:"The first value or range to consider when counting."},{name:"value2",detail:"Additional values or ranges to consider when counting."}]},AVEDEV:{d:"Calculates the average of the magnitudes of deviations of data from a dataset's mean.",a:"Average magnitude of deviations from mean.",p:[{name:"value1",detail:"The first value or range of the sample."},{name:"value2",detail:"Additional values or ranges to include in the sample."}]},AVERAGE:{d:"Returns the numerical average value in a dataset, ignoring text.",a:"Numerical average value in a dataset, ignoring text.",p:[{name:"value1",detail:"The first value or range to consider when calculating the average value."},{name:"value2",detail:"Additional values or ranges to consider when calculating the average value."}]},AVERAGEA:{d:"Returns the numerical average value in a dataset.",a:"Numerical average value in a dataset.",p:[{name:"value1",detail:"The first value or range to consider when calculating the average value."},{name:"value2",detail:"Additional values or ranges to consider when calculating the average value."}]},BINOM_DIST:{d:"Calculates the probability of drawing a certain number of successes (or a maximum number of successes) in a certain number of tries given a population of a certain size containing a certain number of successes, with replacement of draws.",a:"Binomial distribution probability.",p:[{name:"num_successes",detail:"The number of successes for which to calculate the probability in `num_trials` trials."},{name:"num_trials",detail:"The number of independent trials."},{name:"prob_success",detail:"The probability of success in any given trial."},{name:"cumulative",detail:"Whether to use the binomial cumulative distribution."}]},BINOM_INV:{d:"Calculates the smallest value for which the cumulative binomial distribution is greater than or equal to a specified criteria.",a:"Inverse cumulative binomial distribution function.",p:[{name:"num_trials",detail:"The number of independent trials."},{name:"prob_success",detail:"The probability of success in any given trial."},{name:"target_prob",detail:"The desired threshold probability."}]},CONFIDENCE_NORM:{d:"Calculates the width of half the confidence interval for a normal distribution.",a:"Confidence interval for a normal distribution.",p:[{name:"alpha",detail:"One minus the desired confidence level. E.g. `0.1` for `0.9`, or 90%, confidence."},{name:"standard_deviation",detail:"The standard deviation of the population."},{name:"pop_size",detail:"The size of the population."}]},CORREL:{d:"Calculates r, the Pearson product-moment correlation coefficient of a dataset.",a:"Pearson Product-Moment Correlation Coefficient.",p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data."},{name:"data_x",detail:"The range representing the array or matrix of independent data."}]},COVARIANCE_P:{d:"Calculates the covariance of a dataset.",a:"The covariance of a dataset.",p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data."},{name:"data_x",detail:"The range representing the array or matrix of independent data."}]},COVARIANCE_S:{d:"Calculates the sample covariance of a dataset.",a:"The sample covariance of a dataset.",p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data."},{name:"data_x",detail:"The range representing the array or matrix of independent data."}]},DEVSQ:{d:"Calculates the sum of squares of deviations based on a sample.",a:"The sum of squares of deviations based on a sample.",p:[{name:"value1",detail:"The first value or range of the sample."},{name:"value2",detail:"Additional values or ranges to include in the sample."}]},EXPON_DIST:{d:"Returns the value of the exponential distribution function with a specified lambda at a specified value.",a:"Exponential distribution function.",p:[{name:"x",detail:"The input to the exponential distribution function."},{name:"lambda",detail:"The lambda to specify the exponential distribution function."},{name:"cumulative",detail:"Whether to use the exponential cumulative distribution."}]},AVERAGEIF:{d:"Returns the average of a range depending on criteria.",a:"Average of values depending on criteria.",p:[{name:"criteria_range",detail:"The range to check against `criterion`."},{name:"criterion",detail:"The pattern or test to apply to `criteria_range`."},{name:"average_range",detail:"The range to average. If not included, `criteria_range` is used for the average instead."}]},AVERAGEIFS:{d:"Returns the average of a range depending on multiple criteria.",a:"Average of values depending on multiple criteria.",p:[{name:"average_range",detail:"The range to average."},{name:"criteria_range1",detail:"The range to check against `criterion1`."},{name:"criterion1",detail:"The pattern or test to apply to `criteria_range1`."},{name:"criteria_range2",detail:"Additional ranges to check."}]},PERMUT:{d:"Returns the number of ways to choose some number of objects from a pool of a given size of objects, considering order.",a:"Number of permutations from a number of objects.",p:[{name:"n",detail:"The size of the pool of objects to choose from."},{name:"k",detail:"The number of objects to choose."}]},TRIMMEAN:{d:"Calculates the mean of a dataset excluding some proportion of data from the high and low ends of the dataset.",a:"Mean of a dataset excluding high/low ends.",p:[{name:"data",detail:"Array or range containing the dataset to consider."},{name:"exclude_proportion",detail:"The proportion of the dataset to exclude, from the extremities of the set."}]},PERCENTILE_EXC:{d:"Returns the value at a given percentile of a dataset exclusive of 0 and 1.",a:"Value at a given percentile of a dataset exclusive of 0 and 1.",p:[{name:"data",detail:"The array or range containing the dataset to consider."},{name:"percentile",detail:"The percentile, exclusive of 0 and 1, whose value within 'data' will be calculated and returned."}]},PERCENTILE_INC:{d:"Returns the value at a given percentile of a dataset.",a:"Value at a given percentile of a dataset.",p:[{name:"data",detail:"The array or range containing the dataset to consider."},{name:"percentile",detail:"The percentile whose value within `data` will be calculated and returned.`"}]},PEARSON:{d:"Calculates r, the Pearson product-moment correlation coefficient of a dataset.",a:"Pearson Product-Moment Correlation Coefficient.",p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data."},{name:"data_x",detail:"The range representing the array or matrix of independent data."}]},NORM_S_INV:{d:"Returns the value of the inverse standard normal distribution function for a specified value.",a:"Inverse standard normal distribution function.",p:[{name:"x",detail:"The input to the inverse standard normal distribution function."}]},NORM_S_DIST:{d:"Returns the value of the standard normal cumulative distribution function for a specified value.",a:"Standard normal cumulative distribution function.",p:[{name:"x",detail:"The input to the standard normal cumulative distribution function."},{name:"cumulative",detail:`Determine the logical value of the function form.
  463. If TRUE(), it returns the cumulative distribution function;
  464. If it is FALSE(), it returns the probability density function.`}]},NORM_INV:{d:"Returns the value of the inverse normal distribution function for a specified value, mean, and standard deviation.",a:"Inverse normal distribution function.",p:[{name:"x",detail:"The input to the inverse normal distribution function."},{name:"mean",detail:"The mean (mu) of the normal distribution function."},{name:"standard_deviation",detail:"The standard deviation (sigma) of the normal distribution function."}]},NORM_DIST:{d:"Returns the value of the normal distribution function (or normal cumulative distribution function) for a specified value, mean, and standard deviation.",a:"Normal distribution function.",p:[{name:"x",detail:"The input to the normal distribution function."},{name:"mean",detail:"The mean (mu) of the normal distribution function."},{name:"standard_deviation",detail:"The standard deviation (sigma) of the normal distribution function."},{name:"cumulative",detail:"Whether to use the normal cumulative distribution function rather than the distribution function."}]},NEGBINOM_DIST:{d:"Calculates the probability of drawing a certain number of failures before a certain number of successes given a probability of success in independent trials.",a:"Negative binomial distribution probability.",p:[{name:"num_failures",detail:"The number of failures to model."},{name:"num_successes",detail:"The number of successes to model."},{name:"prob_success",detail:"The probability of success in any given trial."},{name:"cumulative",detail:`Determine the logical value of the function form.
  465. If TRUE(), it returns the cumulative distribution function;
  466. If it is FALSE(), it returns the probability density function.`}]},MINA:{d:"Returns the minimum numeric value in a dataset.",a:"Minimum numeric value in a dataset.",p:[{name:"value1",detail:"The first value or range to consider when calculating the minimum value."},{name:"value2",detail:"Additional values or ranges to consider when calculating the minimum value."}]},MIN:{d:"Returns the minimum value in a numeric dataset.",a:"Minimum value in a numeric dataset.",p:[{name:"value1",detail:"The first value or range to consider when calculating the minimum value."},{name:"value2",detail:"Additional values or ranges to consider when calculating the minimum value."}]},MEDIAN:{d:"Returns the median value in a numeric dataset.",a:"Median value in a numeric dataset.",p:[{name:"value1",detail:"The first value or range to consider when calculating the median value."},{name:"value2",detail:"Additional values or ranges to consider when calculating the median value."}]},MAXA:{d:"Returns the maximum numeric value in a dataset.",a:"Maximum numeric value in a dataset.",p:[{name:"value1",detail:"The first value or range to consider when calculating the maximum value."},{name:"value2",detail:"Additional values or ranges to consider when calculating the maximum value."}]},MAX:{d:"Returns the maximum value in a numeric dataset.",a:"Maximum value in a numeric dataset.",p:[{name:"value1",detail:"The first value or range to consider when calculating the maximum value."},{name:"value2",detail:"Additional values or ranges to consider when calculating the maximum value."}]},LOGNORM_INV:{d:"Returns the value of the inverse log-normal cumulative distribution with given mean and standard deviation at a specified value.",a:"Inverse log-normal cumulative distribution function.",p:[{name:"x",detail:"The input to the inverse log-normal cumulative distribution function."},{name:"mean",detail:"The mean (mu) of the inverse log-normal cumulative distribution function."},{name:"standard_deviation",detail:"The standard deviation (sigma) of the inverse log-normal cumulative distribution function."}]},LOGNORM_DIST:{d:"Returns the value of the log-normal cumulative distribution with given mean and standard deviation at a specified value.",a:"Log-normal cumulative distribution probability.",p:[{name:"x",detail:"The input to the log-normal cumulative distribution function."},{name:"mean",detail:"The mean (mu) of the log-normal cumulative distribution function."},{name:"standard_deviation",detail:"The standard deviation (sigma) of the log-normal cumulative distribution function."},{name:"cumulative",detail:`Determine the logical value of the function form.
  467. If TRUE(), it returns the cumulative distribution function;
  468. If it is FALSE(), it returns the probability density function.`}]},Z_TEST:{d:"Returns the one-tailed p-value of a Z-test with standard distribution.",a:"One-tailed p-value of a z-test.",p:[{name:"data",detail:"The array or range containing the dataset to consider."},{name:"value",detail:"The test statistic to use in the Z-test."},{name:"standard_deviation",detail:"The standard deviation to assume for the Z-test. If this is not provided, the standard deviation of the data will be used."}]},PROB:{d:"Given a set of values and corresponding probabilities, calculates the probability that a value chosen at random falls between two limits.",a:"Probability values lie in a range.",p:[{name:"data",detail:"Array or range containing the dataset to consider."},{name:"probabilities",detail:"Array or range containing probabilities corresponding to `data`."},{name:"low_limit",detail:"The lower bound on the value range for which to calculate the probability."},{name:"high_limit",detail:"The upper bound on the value range for which to calculate the probability."}]},QUARTILE_EXC:{d:"Returns a value nearest to a specified quartile of a dataset exclusive of 0 and 4.",a:"Value nearest to a specific quartile of a dataset exclusive of 0 and 4.",p:[{name:"data",detail:"The array or range containing the dataset to consider."},{name:"quartile_number",detail:"Which quartile to return."}]},QUARTILE_INC:{d:"Returns a value nearest to a specified quartile of a dataset.",a:"Value nearest to a specific quartile of a dataset.",p:[{name:"data",detail:"The array or range containing the dataset to consider."},{name:"quartile_number",detail:"Which quartile value to return."}]},POISSON_DIST:{d:"Returns the value of the Poisson distribution function (or Poisson cumulative distribution function) for a specified value and mean.",a:"Poisson distribution function.",p:[{name:"x",detail:"The input to the Poisson distribution function."},{name:"mean",detail:"The mean (mu) of the Poisson distribution function."},{name:"cumulative",detail:"Whether to use the Poisson cumulative distribution function rather than the distribution function."}]},RSQ:{d:"Calculates the square of r, the Pearson product-moment correlation coefficient of a dataset.",a:"Square of the correlation coefficient.",p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data."},{name:"data_x",detail:"The range representing the array or matrix of independent data."}]},T_DIST:{d:"Calculates the left tail probability for a Student's t-distribution with a given input (x).",a:"The left-tailed Student's t-distribution",p:[{name:"x",detail:"The input to the t-distribution function."},{name:"degrees_freedom",detail:"The number of degrees of freedom."},{name:"cumulative",detail:"If cumulative is TRUE, T.DIST returns the cumulative distribution function; if FALSE, it returns the probability density function."}]},T_DIST_2T:{d:"Calculates the probability for two tailed Student's t-distribution with a given input (x).",a:"The two tailed Student's t-distribution",p:[{name:"x",detail:"The input to the t-distribution function."},{name:"degrees_freedom",detail:"The number of degrees of freedom."}]},T_DIST_RT:{d:"Calculates the right tail probability for a Student's t-distribution with a given input (x).",a:"The right-tailed Student's t-distribution",p:[{name:"x",detail:"The input to the t-distribution function."},{name:"degrees_freedom",detail:"The number of degrees of freedom."}]},T_INV:{d:"Calculates the negative inverse of the one-tailed TDIST function.",a:"T.INV",p:[{name:"probability",detail:"The probability associated with the two-tailed t-distribution."},{name:"degrees_freedom",detail:"The number of degrees of freedom."}]},T_INV_2T:{d:"Calculates the inverse of the two-tailed TDIST function.",a:"T.INV.2T",p:[{name:"probability",detail:"The probability associated with the two-tailed t-distribution."},{name:"degrees_freedom",detail:"The number of degrees of freedom."}]},T_TEST:{d:"t-test. Returns the probability associated with Student's t-test. Determines whether two samples are likely to have come from the same two underlying populations that have the same mean.",a:"Returns the probability associated with t-test.",p:[{name:"range1",detail:"The first sample of data or group of cells to consider for the t-test."},{name:"range2",detail:"The second sample of data or group of cells to consider for the t-test."},{name:"tails",detail:"Specifies the number of distribution tails."},{name:"type",detail:"Specifies the type of t-test."}]},F_DIST:{d:"Calculates the left-tailed F probability distribution (degree of diversity) for two data sets with given input x. Alternately called Fisher-Snedecor distribution or Snedecor's F distribution.",a:"F probability distribution (left-tailed).",p:[{name:"x",detail:"The input to the F probability distribution function. The value at which to evaluate the function."},{name:"degrees_freedom1",detail:"The numerator of the number of degrees of freedom."},{name:"degrees_freedom2",detail:"The denominator of the number of degrees of freedom."},{name:"cumulative",detail:"Logical value that determines the form of the function."}]},F_DIST_RT:{d:"Calculates the right-tailed F probability distribution (degree of diversity) for two data sets with given input x. Alternately called Fisher-Snedecor distribution or Snedecor's F distribution.",a:"F probability distribution.",p:[{name:"x",detail:"The input to the F probability distribution function. The value at which to evaluate the function."},{name:"degrees_freedom1",detail:"The numerator of the number of degrees of freedom."},{name:"degrees_freedom2",detail:"The denominator of the number of degrees of freedom."}]},VAR_P:{d:"Calculates the variance based on an entire population.",a:"Variance of entire population.",p:[{name:"value1",detail:"The first value or range of the population."},{name:"value2",detail:"Additional values or ranges to include in the population."}]},VAR_S:{d:"Calculates the variance based on a sample.",a:"Variance.",p:[{name:"value1",detail:"The first value or range of the sample."},{name:"value2",detail:"Additional values or ranges to include in the sample."}]},VARA:{d:"Calculates the variance based on a sample, setting text to the value `0`.",a:"Variance of sample (text as 0).",p:[{name:"value1",detail:"The first value or range of the sample."},{name:"value2",detail:"Additional values or ranges to include in the sample."}]},VARPA:{d:"Calculates the variance based on an entire population, setting text to the value `0`.",a:"Variance of entire population (text as 0).",p:[{name:"value1",detail:"The first value or range of the population."},{name:"value2",detail:"Additional values or ranges to include in the population."}]},STEYX:{d:"Calculates the standard error of the predicted y-value for each x in the regression of a dataset.",a:"Standard error of predicted y-values in regression.",p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data."},{name:"data_x",detail:"The range representing the array or matrix of independent data."}]},STANDARDIZE:{d:"Calculates the normalized equivalent of a random variable given mean and standard deviation of the distribution.",a:"Normalized equivalent of a random variable.",p:[{name:"value",detail:"The value of the random variable to normalize."},{name:"mean",detail:"The mean of the distribution."},{name:"standard_deviation",detail:"The standard deviation of the distribution."}]},SMALL:{d:"Returns the nth smallest element from a data set, where n is user-defined.",a:"Nth smallest element in a data set.",p:[{name:"data",detail:"The array or range containing the dataset to consider."},{name:"n",detail:"The rank from smallest to largest of the element to return."}]},SLOPE:{d:"Calculates the slope of the line resulting from linear regression of a dataset.",a:"Slope of line from linear regression of data.",p:[{name:"data_y",detail:"The range representing the array or matrix of dependent data."},{name:"data_x",detail:"The range representing the array or matrix of independent data."}]},SKEW:{d:"Calculates the skewness of a dataset, which describes the symmetry of that dataset about the mean.",a:"Skewness of a dataset.",p:[{name:"value1",detail:"The first value or range of the dataset."},{name:"value2",detail:"Additional values or ranges to include in the dataset."}]},SKEW_P:{d:"Calculates the skewness of a dataset, which describes the symmetry of that dataset about the mean. This assumes the dataset is for the population.",a:"Skewness of a population's dataset.",p:[{name:"value1",detail:"The first value or range of the dataset."},{name:"value2",detail:"Additional values or ranges to include in the dataset."}]},VLOOKUP:{d:"Vertical lookup. Searches down the first column of a range for a key and returns the value of a specified cell in the row found.",a:"Vertical lookup.",p:[{name:"search_key",detail:'The value to search for. For example, `42`, `"Cats"`, or `I24`.'},{name:"range",detail:"The range to consider for the search. The first column in the range is searched for the key specified in `search_key`."},{name:"index",detail:"The column index of the value to be returned, where the first column in `range` is numbered 1."},{name:"is_sorted",detail:"Indicates whether the column to be searched (the first column of the specified range) is sorted, in which case the closest match for `search_key` will be returned."}]},HLOOKUP:{d:"Horizontal lookup. Searches across the first row of a range for a key and returns the value of a specified cell in the column found.",a:"Horizontal lookup",p:[{name:"search_key",detail:'The value to search for. For example, `42`, `"Cats"`, or `I24`.'},{name:"range",detail:"The range to consider for the search. The first row in the range is searched for the key specified in `search_key`."},{name:"index",detail:"The row index of the value to be returned, where the first row in `range` is numbered 1."},{name:"is_sorted",detail:"Indicates whether the row to be searched (the first row of the specified range) is sorted."}]},LOOKUP:{d:"Looks through a sorted row or column for a key and returns the value of the cell in a result range located in the same position as the search row or column.",a:"Look up a value.",p:[{name:"search_key",detail:'The value to search for in the row or column. For example, `42`, `"Cats"`, or `I24`.'},{name:"search_range|search_result_array",detail:"One method of using this function is to provide a single sorted row or column `search_range` to look through for the `search_key` with a second argument `result_range`. The other way is to combine these two arguments into one `search_result_array` where the first row or column is searched and a value is returned from the last row or column in the array. If `search_key` is not found, a non-exact match may be returned."},{name:"result_range",detail:"The range from which to return a result. The value returned corresponds to the location where `search_key` is found in `search_range`. This range must be only a single row or column and should not be used if using the `search_result_array` method."}]},ADDRESS:{d:"Returns a cell reference as a string.",a:"Cell reference as a string.",p:[{name:"row",detail:"The row number of the cell reference"},{name:"column",detail:"The column number (not name) of the cell reference. `A` is column number `1`."},{name:"absolute_relative_mode",detail:"An indicator of whether the reference is row/column absolute. `1` is row and column absolute (e.g. $A$1), `2` is row absolute and column relative (e.g. A$1), `3` is row relative and column absolute (e.g. $A1), and `4` is row and column relative (e.g. A1)."},{name:"use_a1_notation",detail:"A boolean indicating whether to use `A1` style notation (TRUE) or `R1C1` style notation (FALSE)."},{name:"sheet",detail:"Text indicating the name of the sheet into which the address points."}]},INDIRECT:{d:"Returns a cell reference specified by a string.",a:"A cell reference specified by a string.",p:[{name:"cell_reference_as_string",detail:"A cell reference, written as a string with surrounding quotation marks."},{name:"is_A1_notation",detail:"Indicates if the cell reference is in A1 notation (TRUE) or R1C1 notation (FALSE)."}]},ROW:{d:"Returns the row number of a specified cell.",a:"Row number of a specified cell.",p:[{name:"cell_reference",detail:"The cell whose row number will be returned."}]},ROWS:{d:"Returns the number of rows in a specified array or range.",a:"Number of rows in a specified array or range.",p:[{name:"range",detail:"The range whose row count will be returned."}]},COLUMN:{d:"Returns the column number of a specified cell, with `A=1`.",a:"Column number of a specified cell.",p:[{name:"cell_reference",detail:"The cell whose column number will be returned. Column `A` corresponds to `1`."}]},COLUMNS:{d:"Returns the number of columns in a specified array or range.",a:"Number of columns in a specified array or range.",p:[{name:"range",detail:"The range whose column count will be returned."}]},OFFSET:{d:"Returns a range reference shifted a specified number of rows and columns from a starting cell reference.",a:"A range reference offset relative to a cell.",p:[{name:"cell_reference",detail:"The starting point from which to count the offset rows and columns."},{name:"offset_rows",detail:"The number of rows to offset by."},{name:"offset_columns",detail:"The number of columns to offset by."},{name:"height",detail:"The height of the range to return starting at the offset target."},{name:"width",detail:"The width of the range to return starting at the offset target."}]},MATCH:{d:"Returns the relative position of an item in a range that matches a specified value.",a:"Position of item in range that matches value.",p:[{name:"search_key",detail:'The value to search for. For example, `42`, `"Cats"`, or `I24`.'},{name:"range",detail:"The one-dimensional array to be searched."},{name:"search_type",detail:"The search method. `1` (default) finds the largest value less than or equal to `search_key` when `range` is sorted in ascending order. `0` finds the exact value when `range` is unsorted. `-1` finds the smallest value greater than or equal to `search_key` when `range` is sorted in descending order."}]},INDEX:{d:"Returns the content of a cell, specified by row and column offset.",a:"Content of cell specified by row and column offset.",p:[{name:"reference",detail:"The array of cells to be offset into."},{name:"row",detail:"The number of offset rows."},{name:"column",detail:"The number of offset columns."}]},GETPIVOTDATA:{d:"Extracts an aggregated value from a pivot table that corresponds to the specified row and column headings.",a:"Extracts an aggregated value from a pivot table that corresponds to the specified row and column headings.",p:[{name:"value_name",detail:"The name of the value in the pivot table for which you want to get data."},{name:"any_pivot_table_cell",detail:"Any reference to a cell in the desired pivot table (top corner recommended)."},{name:"original_column",detail:"The name of the column in the original data set (not the pivot table)."},{name:"pivot_item",detail:"The name of the row or column shown in the pivot table corresponding to *original_column* that you want to retrieve."}]},CHOOSE:{d:"Returns an element from a list of choices based on index.",a:"An element from a list of choices based on index.",p:[{name:"index",detail:"Which choice (of the up to 30 provided) to return."},{name:"choice1",detail:"A potential value to return. Required. May be a reference to a cell or an individual value."},{name:"choice2",detail:"Additional values among which to choose."}]},HYPERLINK:{d:"Creates a hyperlink inside a cell.",a:"Creates a hyperlink inside a cell.",p:[{name:"url",detail:"The full URL of the link location enclosed in quotation marks, or a reference to a cell containing such a URL."},{name:"link_label",detail:"The text to display in the cell as the link, enclosed in quotation marks, or a reference to a cell containing such a label."}]},TIME:{d:"Converts a provided hour, minute, and second into a time.",a:"Converts hour/minute/second into a time.",p:[{name:"hour",detail:"The hour component of the time."},{name:"minute",detail:"The minute component of the time."},{name:"second",detail:"The second component of the time."}]},TIMEVALUE:{d:"Returns the fraction of a 24-hour day the time represents.",a:"Converts a time string into its serial number representation.",p:[{name:"time_string",detail:"The string that holds the time representation."}]},EOMONTH:{d:"Returns a date on the last day of a month that falls a specified number of months before or after another date.",a:"Last day of a month before or after a date.",p:[{name:"start_date",detail:"The date from which to calculate the result."},{name:"months",detail:"The number of months before (negative) or after (positive) 'start_date' to consider."}]},EDATE:{d:"Returns a date a specified number of months before or after another date.",a:"Date a number of months before/after another date.",p:[{name:"start_date",detail:"The date from which to calculate the result."},{name:"months",detail:"The number of months before (negative) or after (positive) 'start_date' to calculate."}]},SECOND:{d:"Returns the second component of a specific time, in numeric format.",a:"Second component of a specific time.",p:[{name:"time",detail:"The time from which to calculate the second component"}]},MINUTE:{d:"Returns the minute component of a specific time, in numeric format.",a:"Minute component of a specific time.",p:[{name:"time",detail:"The time from which to calculate the minute component."}]},HOUR:{d:"Returns the hour component of a specific time, in numeric format.",a:"Hour component of a specific time.",p:[{name:"time",detail:"The time from which to calculate the hour component."}]},NOW:{d:"Returns the current date and time as a date value.",a:"Current date and time as a date value.",p:[]},NETWORKDAYS:{d:"Returns the number of net working days between two provided days.",a:"Net working days between two provided days.",p:[{name:"start_date",detail:"The start date of the period from which to calculate the number of net working days."},{name:"end_date",detail:"The end date of the period from which to calculate the number of net working days."},{name:"holidays",detail:"A range or array constant containing the date serial numbers to consider holidays."}]},NETWORKDAYS_INTL:{d:"Returns the number of net working days between two provided days excluding specified weekend days and holidays.",a:"Net working days between two dates (specifying weekends).",p:[{name:"start_date",detail:"The start date of the period from which to calculate the number of net working days."},{name:"end_date",detail:"The end date of the period from which to calculate the number of net working days."},{name:"weekend",detail:"A number or string representing which days of the week are considered weekends."},{name:"holidays",detail:"A range or array constant containing the dates to consider as holidays."}]},ISOWEEKNUM:{d:"Returns a number representing the ISO week of the year where the provided date falls.",a:"ISO week number of the year.",p:[{name:"date",detail:"The date for which to determine the ISO week number. Must be a reference to a cell containing a date, a function returning a date type, or a number."}]},WEEKNUM:{d:"Returns a number representing the week of the year where the provided date falls.",a:"Week number of the year.",p:[{name:"date",detail:"The date for which to determine the week number. Must be a reference to a cell containing a date, a function returning a date type, or a number."},{name:"type",detail:"A number representing the day that a week starts on. Sunday = 1."}]},WEEKDAY:{d:"Returns a number representing the day of the week of the date provided.",a:"Day of the week of the date provided (as number).",p:[{name:"date",detail:"The date for which to determine the day of the week. Must be a reference to a cell containing a date, a function returning a date type, or a number."},{name:"type",detail:"A number indicating which numbering system to use to represent weekdays. By default, counts starting with Sunday = 1."}]},DAY:{d:"Returns the day of the month that a specific date falls on, in numeric format.",a:"Day of the month that a specific date falls on.",p:[{name:"date",detail:"The date from which to extract the day."}]},DAYS:{d:"Returns the number of days between two dates.",a:"Number of days between two dates.",p:[{name:"end_date",detail:"The end of the date range."},{name:"start_date",detail:"The start of the date range."}]},DAYS360:{d:"Returns the difference between two days based on the 360 day year used in some financial interest calculations.",a:"Days between two dates on a 360-day year.",p:[{name:"start_date",detail:"The start date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number."},{name:"end_date",detail:"The end date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number."},{name:"method",detail:"An indicator of what day count method to use."}]},DATE:{d:"Converts a provided year, month, and day into a date.",a:"Converts year/month/day into a date.",p:[{name:"year",detail:"The year component of the date."},{name:"month",detail:"The month component of the date."},{name:"day",detail:"The day component of the date."}]},DATEVALUE:{d:"Converts a provided date string in a known format to a date value.",a:"Converts a date string to a date value.",p:[{name:"date_string",detail:"The string representing the date."}]},DATEDIF:{d:"Calculates the number of days, months, or years between two dates.",a:"Date Difference.",p:[{name:"start_date",detail:"The start date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number."},{name:"end_date",detail:"The end date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number."},{name:"unit",detail:'A string abbreviation for unit of time. For example, "M" for month. Accepted values are "Y","M","D","MD","YM","YD".'}]},WORKDAY:{d:"Calculates the date after a number of working days from a specified start date.",a:"Number of working days from start date.",p:[{name:"start_date",detail:"The date from which to begin counting."},{name:"num_days",detail:"The number of working days to advance from `start_date`. If negative, counts backwards."},{name:"holidays",detail:"A range or array constant containing the dates to consider holidays."}]},WORKDAY_INTL:{d:"Calculates the date after a specified number of workdays excluding specified weekend days and holidays.",a:"Date after a number of workdays (specifying weekends).",p:[{name:"start_date",detail:"The date from which to begin counting."},{name:"num_days",detail:"The number of working days to advance from `start_date`. If negative, counts backwards."},{name:"weekend",detail:"A number or string representing which days of the week are considered weekends."},{name:"holidays",detail:"A range or array constant containing the dates to consider holidays."}]},YEAR:{d:"Returns the year specified by a given date.",a:"Year specified by a given date.",p:[{name:"date",detail:"The date from which to extract the year."}]},YEARFRAC:{d:"Returns the number of years, including fractional years, between two dates using a specified day count convention.",a:"Exact number of years between two dates.",p:[{name:"start_date",detail:"The start date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number."},{name:"end_date",detail:"The end date to consider in the calculation. Must be a reference to a cell containing a date, a function returning a date type, or a number."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},TODAY:{d:"Returns the current date as a date value.",a:"Current date as a date value.",p:[]},MONTH:{d:"Returns the month of the year a specific date falls in, in numeric format.",a:"Month of the year a specific date falls in.",p:[{name:"date",detail:"The date from which to extract the month."}]},EFFECT:{d:"Calculates the annual effective interest rate given the nominal rate and number of compounding periods per year.",a:"Annual effective interest rate.",p:[{name:"nominal_rate",detail:"The nominal interest rate per year."},{name:"periods_per_year",detail:"The number of compounding periods per year."}]},DOLLAR:{d:"Formats a number into the currency specific to your spreadsheet locale.",a:"Formats a number as currency specific to your spreadsheet locale.",p:[{name:"number",detail:"The value to be formatted."},{name:"number_of_places",detail:"The number of decimal places to display."}]},DOLLARDE:{d:"Converts a price quotation given as a decimal fraction into a decimal value.",a:"Converts a decimal fraction to decimal value.",p:[{name:"fractional_price",detail:"The price quotation given using fractional decimal conventions."},{name:"unit",detail:"The units of the fraction, e.g. `8` for 1/8ths or `32` for 1/32nds."}]},DOLLARFR:{d:"Converts a price quotation given as a decimal value into a decimal fraction.",a:"Converts a decimal value to decimal fraction.",p:[{name:"decimal_price",detail:"The price quotation given as a decimal value."},{name:"unit",detail:"The units of the desired fraction, e.g. `8` for 1/8ths or `32` for 1/32nds."}]},DB:{d:"Calculates the depreciation of an asset for a specified period using the arithmetic declining balance method.",a:"Depreciation via declining balance method.",p:[{name:"cost",detail:"The initial cost of the asset."},{name:"salvage",detail:"The value of the asset at the end of depreciation."},{name:"life",detail:"The number of periods over which the asset is depreciated."},{name:"period",detail:"The single period within `life` for which to calculate depreciation."},{name:"month",detail:"The number of months in the first year of depreciation."}]},DDB:{d:"Calculates the depreciation of an asset for a specified period using the double-declining balance method.",a:"Depreciation via double-declining balance method.",p:[{name:"cost",detail:"The initial cost of the asset."},{name:"salvage",detail:"The value of the asset at the end of depreciation."},{name:"life",detail:"The number of periods over which the asset is depreciated."},{name:"period",detail:"The single period within `life` for which to calculate depreciation."},{name:"factor",detail:"The factor by which depreciation decreases."}]},RATE:{d:"Calculates the interest rate of an annuity investment based on constant-amount periodic payments and the assumption of a constant interest rate.",a:"Interest rate of an annuity investment.",p:[{name:"number_of_periods",detail:"The number of payments to be made."},{name:"payment_per_period",detail:"The amount per period to be paid."},{name:"present_value",detail:"The current value of the annuity."},{name:"future_value",detail:"The future value remaining after the final payment has been made."},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period."},{name:"rate_guess",detail:"An estimate for what the interest rate will be."}]},CUMPRINC:{d:"Calculates the cumulative principal paid over a range of payment periods for an investment based on constant-amount periodic payments and a constant interest rate.",a:"Cumulative principal paid over a set of periods.",p:[{name:"rate",detail:"The interest rate."},{name:"number_of_periods",detail:"The number of payments to be made."},{name:"present_value",detail:"The current value of the annuity."},{name:"first_period",detail:"The number of the payment period to begin the cumulative calculation."},{name:"last_period",detail:"The number of the payment period to end the cumulative calculation."},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period."}]},COUPNUM:{d:"Calculates the number of coupons, or interest payments, between the settlement date and the maturity date of the investment.",a:"Number of coupons between settlement and maturity.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},SYD:{d:"Calculates the depreciation of an asset for a specified period using the sum of years digits method.",a:"Depreciation via sum of years digits method.",p:[{name:"cost",detail:"The initial cost of the asset."},{name:"salvage",detail:"The value of the asset at the end of depreciation."},{name:"life",detail:"The number of periods over which the asset is depreciated."},{name:"period",detail:"The single period within `life` for which to calculate depreciation."}]},TBILLEQ:{d:"Calculates the equivalent annualized rate of return of a US Treasury Bill based on discount rate.",a:"Equivalent rate of return for a Treasury bill.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"discount",detail:"The discount rate of the bill at time of purchase."}]},TBILLYIELD:{d:"Calculates the yield of a US Treasury Bill based on price.",a:"The yield of a us treasury bill based on price.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"price",detail:"The price at which the security is bought per 100 face value."}]},TBILLPRICE:{d:"Calculates the price of a US Treasury Bill based on discount rate.",a:"Price of US treasury bill.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"discount",detail:"The discount rate of the bill at time of purchase."}]},PV:{d:"Calculates the present value of an annuity investment based on constant-amount periodic payments and a constant interest rate.",a:"Present value of an annuity investment.",p:[{name:"rate",detail:"The interest rate."},{name:"number_of_periods",detail:"The number of payments to be made."},{name:"payment_amount",detail:"The amount per period to be paid."},{name:"future_value",detail:"The future value remaining after the final payment has been made."},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period."}]},ACCRINT:{d:"Calculates the accrued interest of a security that has periodic payments.",a:"Accrued interest of security with periodic payments.",p:[{name:"issue",detail:"The date the security was initially issued."},{name:"first_payment",detail:"The first date interest will be paid."},{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"rate",detail:"The annualized rate of interest."},{name:"redemption",detail:"The redemption amount per 100 face value, or par."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."},{name:"calc_method",detail:`[Optional-defaults to TRUE()] - A logical value that specifies the method used to calculate the total accrued interest when the settlement date is later than the first interest accrual date.
  469. If the value is TRUE, the total accrued interest from the issue date to the settlement date is returned.
  470. If the value is FALSE, return the accrued interest from the first interest accrual date to the settlement date.`}]},ACCRINTM:{d:"Calculates the accrued interest of a security that pays interest at maturity.",a:"Accrued interest of security paying at maturity.",p:[{name:"issue",detail:"The date the security was initially issued."},{name:"maturity",detail:"The maturity date of the security."},{name:"rate",detail:"The annualized rate of interest."},{name:"redemption",detail:"The redemption amount per 100 face value, or par."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},COUPDAYBS:{d:"Calculates the number of days from the first coupon, or interest payment, until settlement.",a:"Number of days from first coupon to settlement.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},COUPDAYS:{d:"Calculates the number of days in the coupon, or interest payment, period that contains the specified settlement date.",a:"Days in coupon period containing settlement date.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},COUPDAYSNC:{d:"Calculates the number of days from the settlement date until the next coupon, or interest payment.",a:"Days from settlement until next coupon.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},COUPNCD:{d:"Calculates next coupon, or interest payment, date after the settlement date.",a:"Next coupon date after the settlement date.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},COUPPCD:{d:"Calculates last coupon, or interest payment, date before the settlement date.",a:"Last coupon date before settlement date.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},FV:{d:"Calculates the future value of an annuity investment based on constant-amount periodic payments and a constant interest rate.",a:"Future value of an annuity investment.",p:[{name:"rate",detail:"The interest rate."},{name:"number_of_periods",detail:"The number of payments to be made."},{name:"payment_amount",detail:"The amount per period to be paid."},{name:"present_value",detail:"The current value of the annuity."},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period."}]},FVSCHEDULE:{d:"Calculates the future value of some principal based on a specified series of potentially varying interest rates.",a:"Future value of principal from series of rates.",p:[{name:"principal",detail:"The amount of initial capital or value to compound against."},{name:"rate_schedule",detail:"A series of interest rates to compound against the `principal`."}]},YIELD:{d:"Calculates the annual yield of a security paying periodic interest, such as a US Treasury Bond, based on price.",a:"Annual yield of a security paying periodic interest.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"rate",detail:"The annualized rate of interest."},{name:"price",detail:"The price at which the security is bought per 100 face value."},{name:"redemption",detail:"The redemption amount per 100 face value, or par."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},YIELDDISC:{d:"Calculates the annual yield of a discount (non-interest-bearing) security, based on price.",a:"Annual yield of a discount security.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"price",detail:"The price at which the security is bought per 100 face value."},{name:"redemption",detail:"The redemption amount per 100 face value, or par."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},NOMINAL:{d:"Calculates the annual nominal interest rate given the effective rate and number of compounding periods per year.",a:"Annual nominal interest rate.",p:[{name:"effective_rate",detail:"The effective interest rate per year."},{name:"periods_per_year",detail:"The number of compounding periods per year."}]},XIRR:{d:"Calculates the internal rate of return of an investment based on a specified series of potentially irregularly spaced cash flows.",a:"Internal rate of return given non-periodic cashflows.",p:[{name:"cashflow_amounts",detail:"An array or range containing the income or payments associated with the investment."},{name:"cashflow_dates",detail:"An array or range with dates corresponding to the cash flows in `cashflow_amounts`."},{name:"rate_guess",detail:"An estimate for what the internal rate of return will be."}]},MIRR:{d:"Calculates the modified internal rate of return on an investment based on a series of periodic cash flows and the difference between the interest rate paid on financing versus the return received on reinvested income.",a:"Modified internal rate of return.",p:[{name:"cashflow_amounts",detail:"An array or range containing the income or payments associated with the investment."},{name:"financing_rate",detail:"The interest rate paid on funds invested."},{name:"reinvestment_return_rate",detail:"The return (as a percentage) earned on reinvestment of income received from the investment."}]},IRR:{d:"Calculates the internal rate of return on an investment based on a series of periodic cash flows.",a:"Internal rate of return given periodic cashflows.",p:[{name:"cashflow_amounts",detail:"An array or range containing the income or payments associated with the investment."},{name:"rate_guess",detail:"An estimate for what the internal rate of return will be."}]},NPV:{d:"Calculates the net present value of an investment based on a series of periodic cash flows and a discount rate.",a:"The net present value of an investment based on a series of periodic cash flows and a discount rate.",p:[{name:"discount",detail:"The discount rate of the investment over one period."},{name:"cashflow1",detail:"The first future cash flow."},{name:"cashflow2",detail:"Additional future cash flows."}]},XNPV:{d:"Calculates the net present value of an investment based on a specified series of potentially irregularly spaced cash flows and a discount rate.",a:"Net present value given non-periodic cashflows.",p:[{name:"discount",detail:"The discount rate of the investment over one period."},{name:"cashflow_amounts",detail:"A range of cells containing the income or payments associated with the investment."},{name:"cashflow_dates",detail:"A range of cells with dates corresponding to the cash flows in `cashflow_amounts`."}]},CUMIPMT:{d:"Calculates the cumulative interest over a range of payment periods for an investment based on constant-amount periodic payments and a constant interest rate.",a:"Cumulative interest paid over a set of periods.",p:[{name:"rate",detail:"The interest rate."},{name:"number_of_periods",detail:"The number of payments to be made."},{name:"present_value",detail:"The current value of the annuity."},{name:"first_period",detail:"The number of the payment period to begin the cumulative calculation."},{name:"last_period",detail:"The number of the payment period to end the cumulative calculation."},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period."}]},PMT:{d:"Calculates the periodic payment for an annuity investment based on constant-amount periodic payments and a constant interest rate.",a:"Periodic payment for an annuity investment.",p:[{name:"rate",detail:"The interest rate."},{name:"number_of_periods",detail:"The number of payments to be made."},{name:"present_value",detail:"The current value of the annuity."},{name:"future_value",detail:"The future value remaining after the final payment has been made."},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period."}]},IPMT:{d:"Calculates the payment on interest for an investment based on constant-amount periodic payments and a constant interest rate.",a:"Payment on interest for an investment.",p:[{name:"rate",detail:"The interest rate."},{name:"period",detail:"The amortization period, in terms of number of periods."},{name:"number_of_periods",detail:"The number of payments to be made."},{name:"present_value",detail:"The current value of the annuity."},{name:"future_value",detail:"The future value remaining after the final payment has been made."},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period."}]},PPMT:{d:"Calculates the payment on the principal of an investment based on constant-amount periodic payments and a constant interest rate.",a:"Payment on the principal of an investment.",p:[{name:"rate",detail:"The interest rate."},{name:"period",detail:"The amortization period, in terms of number of periods."},{name:"number_of_periods",detail:"The number of payments to be made."},{name:"present_value",detail:"The current value of the annuity."},{name:"future_value",detail:"The future value remaining after the final payment has been made."},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period."}]},INTRATE:{d:"Calculates the effective interest rate generated when an investment is purchased at one price and sold at another with no interest or dividends generated by the investment itself.",a:"Calculates effective interest rate.",p:[{name:"buy_date",detail:"The date of purchase of the investment."},{name:"sell_date",detail:"The date of sale of the investment."},{name:"buy_price",detail:"The price at which the investment was purchased."},{name:"sell_price",detail:"The price at which the investment was sold."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},PRICE:{d:"Calculates the price of a security paying periodic interest, such as a US Treasury Bond, based on expected yield.",a:"Price of a security paying periodic interest.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"rate",detail:"The annualized rate of interest."},{name:"yield",detail:"The expected annual yield of the security."},{name:"redemption",detail:"The redemption amount per 100 face value, or par."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},PRICEDISC:{d:"Calculates the price of a discount (non-interest-bearing) security, based on expected yield.",a:"Price of a discount security.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"discount",detail:"The discount rate of the security at time of purchase."},{name:"redemption",detail:"The redemption amount per 100 face value, or par."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},PRICEMAT:{d:"Calculates the price of a security paying interest at maturity, based on expected yield.",a:"Price of security paying interest at maturity.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"issue",detail:"The date the security was initially issued."},{name:"rate",detail:"The annualized rate of interest."},{name:"yield",detail:"The expected annual yield of the security."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},RECEIVED:{d:"Calculates the amount received at maturity for an investment in fixed-income securities purchased on a given date.",a:"Amount received at maturity for a security.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"investment",detail:"The amount invested (irrespective of face value of each security)."},{name:"discount",detail:"The discount rate of the security invested in."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},DISC:{d:"Calculates the discount rate of a security based on price.",a:"The discount rate of a security based on price.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"price",detail:"The price at which the security is bought per 100 face value."},{name:"redemption",detail:"The redemption amount per 100 face value, or par."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},NPER:{d:"Calculates the number of payment periods for an investment based on constant-amount periodic payments and a constant interest rate.",a:"Number of payment periods for an investment.",p:[{name:"rate",detail:"The interest rate."},{name:"payment_amount",detail:"The amount of each payment made."},{name:"present_value",detail:"The current value of the annuity."},{name:"future_value",detail:"The future value remaining after the final payment has been made."},{name:"end_or_beginning",detail:"Whether payments are due at the end (`0`) or beginning (`1`) of each period."}]},SLN:{d:"Calculates the depreciation of an asset for one period using the straight-line method.",a:"Depreciation of asset using the straight-line method.",p:[{name:"cost",detail:"The initial cost of the asset."},{name:"salvage",detail:"The value of the asset at the end of depreciation."},{name:"life",detail:"The number of periods over which the asset is depreciated."}]},DURATION:{d:"Calculates the number of compounding periods required for an investment of a specified present value appreciating at a given rate to reach a target value.",a:"Number of periods for an investment to reach a value.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"rate",detail:"The annualized rate of interest."},{name:"yield",detail:"The expected annual yield of the security."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},MDURATION:{d:"Calculates the modified Macaulay duration of a security paying periodic interest, such as a US Treasury Bond, based on expected yield.",a:"Modified Macaulay duration.",p:[{name:"settlement",detail:"The settlement date of the security, the date after issuance when the security is delivered to the buyer."},{name:"maturity",detail:"The maturity or end date of the security, when it can be redeemed at face, or par value."},{name:"rate",detail:"The annualized rate of interest."},{name:"yield",detail:"The expected annual yield of the security."},{name:"frequency",detail:"The number of interest or coupon payments per year (1, 2, or 4)."},{name:"day_count_convention",detail:"An indicator of what day count method to use."}]},BIN2DEC:{d:"Converts a signed binary number to decimal format.",a:"Converts a signed binary number to decimal format.",p:[{name:"signed_binary_number",detail:"The signed 10-bit binary value to be converted to decimal, provided as a string."}]},BIN2HEX:{d:"Converts a signed binary number to signed hexadecimal format.",a:"Converts a binary number to hexadecimal.",p:[{name:"signed_binary_number",detail:"The signed 10-bit binary value to be converted to signed hexademical, provided as a string."},{name:"significant_digits",detail:"The number of significant digits to ensure in the result."}]},BIN2OCT:{d:"Converts a signed binary number to signed octal format.",a:"Converts a binary number to octal.",p:[{name:"signed_binary_number",detail:"The signed 10-bit binary value to be converted to signed octal, provided as a string."},{name:"significant_digits",detail:"The number of significant digits to ensure in the result."}]},DEC2BIN:{d:"Converts a decimal number to signed binary format.",a:"Converts a decimal number to signed binary format.",p:[{name:"decimal_number",detail:"The decimal value to be converted to signed binary, provided as a string."},{name:"significant_digits",detail:"The number of significant digits to ensure in the result."}]},DEC2HEX:{d:"Converts a decimal number to signed hexadecimal format.",a:"Converts a decimal number to hexadecimal.",p:[{name:"decimal_number",detail:"The decimal value to be converted to signed hexadecimal, provided as a string."},{name:"significant_digits",detail:"The number of significant digits to ensure in the result."}]},DEC2OCT:{d:"Converts a decimal number to signed octal format.",a:"Converts a decimal number to signed octal format.",p:[{name:"decimal_number",detail:"The decimal value to be converted to signed octal, provided as a string."},{name:"significant_digits",detail:"The number of significant digits to ensure in the result."}]},HEX2BIN:{d:"Converts a signed hexadecimal number to signed binary format.",a:"Converts a hexadecimal number to binary.",p:[{name:"signed_hexadecimal_number",detail:"The signed 40-bit hexadecimal value to be converted to signed binary, provided as a string."},{name:"significant_digits",detail:"The number of significant digits to ensure in the result."}]},HEX2DEC:{d:"Converts a signed hexadecimal number to decimal format.",a:"Converts a hexadecimal number to decimal.",p:[{name:"signed_hexadecimal_number",detail:"The signed 40-bit hexadecimal value to be converted to decimal, provided as a string."}]},HEX2OCT:{d:"Converts a signed hexadecimal number to signed octal format.",a:"Converts a hexadecimal number to octal.",p:[{name:"signed_hexadecimal_number",detail:"The signed 40-bit hexadecimal value to be converted to signed octal, provided as a string."},{name:"significant_digits",detail:"The number of significant digits to ensure in the result."}]},OCT2BIN:{d:"Converts a signed octal number to signed binary format.",a:"Converts an octal number to binary.",p:[{name:"signed_octal_number",detail:"The signed 30-bit octal value to be converted to signed binary, provided as a string."},{name:"significant_digits",detail:"The number of significant digits to ensure in the result."}]},OCT2DEC:{d:"Converts a signed octal number to decimal format.",a:"Converts a signed octal number to decimal format.",p:[{name:"signed_octal_number",detail:"The signed 30-bit octal value to be converted to decimal, provided as a string."}]},OCT2HEX:{d:"Converts a signed octal number to signed hexadecimal format.",a:"Converts an octal number to hexadecimal.",p:[{name:"signed_octal_number",detail:"The signed 30-bit octal value to be converted to signed hexadecimal, provided as a string."},{name:"significant_digits",detail:"The number of significant digits to ensure in the result."}]},COMPLEX:{d:"Creates a complex number given real and imaginary coefficients.",a:"Creates a complex number.",p:[{name:"real_part",detail:"The real coefficient."},{name:"imaginary_part",detail:"The imaginary coefficient."},{name:"suffix",detail:"The suffix for the imaginary coefficient, can only be 'i' or 'j'. If omitted, 'i' will be used."}]},IMREAL:{d:"Returns the real coefficient of a complex number.",a:"The real coefficient of a complex number.",p:[{name:"complex_number",detail:"The complex number, in the a+bi or a+bj format."}]},IMAGINARY:{d:"Returns the imaginary coefficient of a complex number.",a:"The imaginary coefficient of a complex number.",p:[{name:"complex_number",detail:"The complex number, in the a+bi or a+bj format."}]},IMCONJUGATE:{d:"Returns the complex conjugate of a number.",a:"The complex conjugate of a number.",p:[{name:"number",detail:"The complex number to calculate the conjugate for."}]},IMABS:{d:"Returns absolute value (or modulus) of a complex number.",a:"The absolute value of a complex number.",p:[{name:"number",detail:"The complex number to calculate the absolute value of."}]},DELTA:{d:"Compare two numeric values, returning 1 if they're equal.",a:"Compare two numeric values.",p:[{name:"number1",detail:"The first number to compare."},{name:"number2",detail:"The second number to compare."}]},IMSUM:{d:"Returns the sum of a series of complex numbers.",a:"Sum of a series of complex numbers.",p:[{name:"value1",detail:"The first complex number or range to add together."},{name:"value2",detail:"Additional complex numbers or ranges to add to `value1`."}]},IMSUB:{d:"Returns the difference between two complex numbers.",a:"The difference between two complex numbers.",p:[{name:"first_number",detail:"The complex number to subtract second_number from."},{name:"second_number",detail:"The complex number to subtract from first_number."}]},IMPRODUCT:{d:"Returns the result of multiplying a series of complex numbers together.",a:"Result of multiplying a series of complex numbers together.",p:[{name:"factor1",detail:"The first number or range to calculate for the product."},{name:"factor2",detail:"Additional complex numbers or ranges to calculate for the product."}]},IMDIV:{d:"Returns one complex number divided by another.",a:"One complex number divided by another.",p:[{name:"dividend",detail:"The complex number to be divided."},{name:"divisor",detail:"The complex number to divide by."}]},NOT:{d:"Returns the opposite of a logical value - `NOT(TRUE)` returns `FALSE`; `NOT(FALSE)` returns `TRUE`.",a:"Returns opposite of provided logical value.",p:[{name:"logical_expression",detail:"An expression or reference to a cell holding an expression that represents some logical value."}]},TRUE:{d:"Returns the logical value `TRUE`.",a:"Logical value `true`.",p:[]},FALSE:{d:"Returns the logical value `FALSE`.",a:"Logical value `false`.",p:[]},AND:{d:"Returns true if all of the provided arguments are logically true, and false if any of the provided arguments are logically false.",a:"Logical `and` operator.",p:[{name:"logical_expression1",detail:"An expression or reference to a cell containing an expression that represents some logical value, i.e. `TRUE` or `FALSE`, or an expression that can be coerced to a logical value."},{name:"logical_expression2",detail:"More expressions that represent logical values."}]},IFERROR:{d:"Returns the first argument if it is not an error value, otherwise returns the second argument if present, or a blank if the second argument is absent.",a:"Value if it is not an error, otherwise 2nd argument.",p:[{name:"value",detail:"The value to return if `value` itself is not an error."},{name:"value_if_error",detail:"The value the function returns if `value` is an error."}]},IF:{d:"Returns one value if a logical expression is `TRUE` and another if it is `FALSE`.",a:"Returns value depending on logical expression.",p:[{name:"logical_expression",detail:"An expression or reference to a cell containing an expression that represents some logical value, i.e. `TRUE` or `FALSE`."},{name:"value_if_true",detail:"The value the function returns if `logical_expression` is `TRUE`."},{name:"value_if_false",detail:"The value the function returns if `logical_expression` is `FALSE`."}]},OR:{d:"Returns true if any of the provided arguments are logically true, and false if all of the provided arguments are logically false.",a:"Logical `or` operator.",p:[{name:"logical_expression1",detail:"An expression or reference to a cell containing an expression that represents some logical value, i.e. `TRUE` or `FALSE`, or an expression that can be coerced to a logical value."},{name:"logical_expression2",detail:"More expressions that evaluate to logical values."}]},NE:{d:"Returns `TRUE` if two specified values are not equal and `FALSE` otherwise. Equivalent to the `!=` operator.",a:"Not equal.",p:[{name:"value1",detail:"The first value."},{name:"value2",detail:"The value to test against `value1` for inequality."}]},EQ:{d:"Returns `TRUE` if two specified values are equal and `FALSE` otherwise. Equivalent to the `==` operator.",a:"Equal.",p:[{name:"value1",detail:"The first value."},{name:"value2",detail:"The value to test against `value1` for equality."}]},GT:{d:"Returns `TRUE` if the first argument is strictly greater than the second, and `FALSE` otherwise. Equivalent to the `>` operator.",a:"Strictly greater than.",p:[{name:"value1",detail:"The value to test as being greater than `value2`."},{name:"value2",detail:"The second value."}]},GTE:{d:"Returns `TRUE` if the first argument is greater than or equal to the second, and `FALSE` otherwise. Equivalent to the `>=` operator.",a:"Greater than or equal to.",p:[{name:"value1",detail:"The value to test as being greater than or equal to `value2`."},{name:"value2",detail:"The second value."}]},LT:{d:"Returns `TRUE` if the first argument is strictly less than the second, and `FALSE` otherwise. Equivalent to the `<` operator.",a:"Less than.",p:[{name:"value1",detail:"The value to test as being less than `value2`."},{name:"value2",detail:"The second value."}]},LTE:{d:"Returns `TRUE` if the first argument is less than or equal to the second, and `FALSE` otherwise. Equivalent to the `<=` operator.",a:"Less than or equal to.",p:[{name:"value1",detail:"The value to test as being less than or equal to `value2`."},{name:"value2",detail:"The second value."}]},ADD:{d:"Returns the sum of two numbers. Equivalent to the `+` operator.",a:"Sum of two numbers",p:[{name:"value1",detail:"The first addend."},{name:"value2",detail:"The second addend."}]},MINUS:{d:"Returns the difference of two numbers. Equivalent to the `-` operator.",a:"Difference of two numbers",p:[{name:"value1",detail:"The minuend, or number to be subtracted from."},{name:"value2",detail:"The subtrahend, or number to subtract from `value1`."}]},MULTIPLY:{d:"Returns the product of two numbers. Equivalent to the `*` operator.",a:"Product of two numbers",p:[{name:"factor1",detail:"The first multiplicand."},{name:"factor2",detail:"The second multiplicand."}]},DIVIDE:{d:"Returns one number divided by another. Equivalent to the `/` operator.",a:"One number divided by another",p:[{name:"dividend",detail:"The number to be divided."},{name:"divisor",detail:"The number to divide by."}]},CONCAT:{d:"Returns the concatenation of two values. Equivalent to the `&` operator.",a:"Concatenation of two values",p:[{name:"value1",detail:"The value to which `value2` will be appended."},{name:"value2",detail:"The value to append to `value1`."}]},UNARY_PERCENT:{d:"Returns a value interpreted as a percentage; that is, `UNARY_PERCENT(100)` equals `1`.",a:"Value interpreted as a percentage.",p:[{name:"percentage",detail:"The value to interpret as a percentage."}]},CONCATENATE:{d:"Appends strings to one another.",a:"Appends strings to one another.",p:[{name:"string1",detail:"The initial string."},{name:"string2",detail:"More strings to append in sequence."}]},CODE:{d:"Returns the numeric Unicode map value of the first character in the string provided.",a:"Numeric unicode map value of character.",p:[{name:"string",detail:"The string whose first character's Unicode map value will be returned."}]},CHAR:{d:"Convert a number into a character according to the current Unicode table.",a:"Gets character associated with number.",p:[{name:"table_number",detail:"The number of the character to look up from the current Unicode table in decimal format."}]},ARABIC:{d:"Computes the value of a Roman numeral.",a:"Computes the value of a roman numeral.",p:[{name:"roman_numeral",detail:"The Roman numeral to format, whose value must be between 1 and 3999, inclusive."}]},ROMAN:{d:"Formats a number in Roman numerals.",a:"Formats a number in Roman numerals.",p:[{name:"number",detail:"The number to format, between 1 and 3999, inclusive."}]},REGEXEXTRACT:{d:"Extracts matching substrings according to a regular expression.",a:"Extracts matching substrings with regular expression.",p:[{name:"text",detail:"The input text."},{name:"regular_expression",detail:"The first part of `text` that matches this expression will be returned."}]},REGEXMATCH:{d:"Whether a piece of text matches a regular expression.",a:"Whether a piece of text matches regular expression.",p:[{name:"text",detail:"The text to be tested against the regular expression."},{name:"regular_expression",detail:"The regular expression to test the text against."}]},REGEXREPLACE:{d:"Replaces part of a text string with a different text string using regular expressions.",a:"Replaces text with regular expressions.",p:[{name:"text",detail:"The text, a part of which will be replaced."},{name:"regular_expression",detail:"The regular expression. All matching instances in `text` will be replaced."},{name:"replacement",detail:"The text which will be inserted into the original text."}]},T:{d:"Returns string arguments as text, or the empty string if the value is not text.",a:"String arguments as text.",p:[{name:"value",detail:"The argument to be converted to text."}]},FIXED:{d:"Formats a number with a fixed number of decimal places.",a:"Formats number with fixed number of decimal places.",p:[{name:"number",detail:"The number to format."},{name:"number_of_places",detail:"The number of decimal places to display in the result."},{name:"suppress_separator",detail:"Whether or not to suppress the thousands separator used in some locales (e.g. `1,000` becomes `1000`). Separators will be present if this value is 0 or omitted, and absent otherwise."}]},FIND:{d:"Returns the position at which a string is first found within text where the capitalization of letters matters. Returns `#VALUE!` if the string is not found.",a:"First position of string found in text, case-sensitive.",p:[{name:"search_for",detail:"The string to look for within `text_to_search`."},{name:"text_to_search",detail:"The text to search for the first occurrence of `search_for`."},{name:"starting_at",detail:"The character within `text_to_search` at which to start the search."}]},FINDB:{d:"Returns the position at which a string is first found within text counting each double-character as 2.",a:"Position at which a string is first found within text (binary).",p:[{name:"search_for",detail:"The string to look for within `text_to_search`."},{name:"text_to_search",detail:"The text to search for the first occurrence of `search_for`."},{name:"starting_at",detail:"The character within `text_to_search` at which to start the search."}]},JOIN:{d:"Concatenates the elements of one or more one-dimensional arrays using a specified delimiter.",a:"Concatenates elements of arrays with delimiter.",p:[{name:"delimiter",detail:"The character or string to place between each concatenated value."},{name:"value_or_array1",detail:"The value or values to be appended using `delimiter`."},{name:"value_or_array2",detail:"More values to be appended using `delimiter`."}]},LEFT:{d:"Returns a substring from the beginning of a specified string.",a:"Substring from beginning of specified string.",p:[{name:"string",detail:"The string from which the left portion will be returned."},{name:"number_of_characters",detail:"The number of characters to return from the left side of `string`."}]},RIGHT:{d:"Returns a substring from the end of a specified string.",a:"A substring from the end of a specified string.",p:[{name:"string",detail:"The string from which the right portion will be returned."},{name:"number_of_characters",detail:"The number of characters to return from the right side of `string`."}]},MID:{d:"Returns a segment of a string.",a:"A segment of a string.",p:[{name:"string",detail:"The string to extract a segment from."},{name:"starting_at",detail:"The index from the left of `string` from which to begin extracting. The first character in `string` has the index 1."},{name:"extract_length",detail:"The length of the segment to extract."}]},LEN:{d:"Returns the length of a string.",a:"Length of a string.",p:[{name:"text",detail:"The string whose length will be returned."}]},LENB:{d:"Returns the length of a string in bytes.",a:"Length of a string in bytes.",p:[{name:"text",detail:"The string whose length will be returned."}]},LOWER:{d:"Converts a specified string to lowercase.",a:"Converts a specified string to lowercase.",p:[{name:"text",detail:"The string to convert to lowercase."}]},UPPER:{d:"Converts a specified string to uppercase.",a:"Converts a specified string to uppercase.",p:[{name:"text",detail:"The string to convert to uppercase."}]},EXACT:{d:"Tests whether two strings are identical.",a:"Tests whether two strings are identical.",p:[{name:"string1",detail:"The first string to compare"},{name:"string2",detail:"The second string to compare"}]},REPLACE:{d:"Replaces part of a text string with a different text string.",a:"Replaces part of a text string with different text.",p:[{name:"text",detail:"The text, a part of which will be replaced."},{name:"position",detail:"The position where the replacement will begin (starting from 1)."},{name:"length",detail:"The number of characters in the text to be replaced."},{name:"new_text",detail:"The text which will be inserted into the original text."}]},REPT:{d:"Returns specified text repeated a number of times.",a:"Specified text repeated a number of times.",p:[{name:"text_to_repeat",detail:"The character or string to repeat."},{name:"number_of_repetitions",detail:"The number of times `text_to_repeat` should appear in the value returned."}]},SEARCH:{d:"Returns the position at which a string is first found within text and ignores capitalization of letters. Returns `#VALUE!` if the string is not found.",a:"First position of string found in text, ignoring case.",p:[{name:"search_for",detail:"The string to look for within `text_to_search`."},{name:"text_to_search",detail:"The text to search for the first occurrence of `search_for`."},{name:"starting_at",detail:"The character within `text_to_search` at which to start the search."}]},SUBSTITUTE:{d:"Replaces existing text with new text in a string.",a:"Replaces existing text with new text in a string.",p:[{name:"text_to_search",detail:"The text within which to search and replace."},{name:"search_for",detail:"The string to search for within `text_to_search`."},{name:"replace_with",detail:"The string that will replace `search_for`."},{name:"occurrence_number",detail:"The instance of `search_for` within `text_to_search` to replace with `replace_with`. By default, all occurrences of `search_for` are replaced; however, if `occurrence_number` is specified, only the indicated instance of `search_for` is replaced."}]},CLEAN:{d:"Returns the text with the non-printable ASCII characters removed.",a:"Removes non-printable characters from a piece of text.",p:[{name:"text",detail:"The text whose non-printable characters are to be removed."}]},TEXT:{d:"Converts a number into text according to a specified format.",a:"Formats a number into text.",p:[{name:"number",detail:"The number, date, or time to format."},{name:"format",detail:"The pattern by which to format the number, enclosed in quotation marks."}]},TRIM:{d:"Removes leading, trailing, and repeated spaces in text.",a:"Removes space characters.",p:[{name:"text",detail:"The text or reference to a cell containing text to be trimmed."}]},VALUE:{d:"Converts a string in any of the date, time or number formats that Google Sheets understands into a number.",a:"Converts a date/time/number string into a number.",p:[{name:"text",detail:"The string containing the value to be converted."}]},PROPER:{d:"Capitalizes each word in a specified string.",a:"Capitalizes each word in a specified string.",p:[{name:"text_to_capitalize",detail:"The text which will be returned with the first letter of each word in uppercase and all other letters in lowercase."}]},CONVERT:{d:"Converts a numeric value to a different unit of measure.",a:"Unit conversion for numbers.",p:[{name:"value",detail:"The numeric value in `start_unit` to convert to `end_unit`."},{name:"start_unit",detail:"The starting unit, the unit currently assigned to `value`."},{name:"end_unit",detail:"The unit of measure into which to convert the argument, `value`."}]},SUMX2MY2:{d:"Calculates the sum of the differences of the squares of values in two arrays.",a:"Sum of the differences of squares.",p:[{name:"array_x",detail:"The array or range of values whose squares will be reduced by the squares of corresponding entries in `array_y` and added together."},{name:"array_y",detail:"The array or range of values whose squares will be subtracted from the squares of corresponding entries in `array_x` and added together."}]},SUMX2PY2:{d:"Calculates the sum of the sums of the squares of values in two arrays.",a:"Sum of the sums of squares.",p:[{name:"array_x",detail:"The array or range of values whose squares will be added to the squares of corresponding entries in `array_y` and added together."},{name:"array_y",detail:"The array or range of values whose squares will be added to the squares of corresponding entries in `array_x` and added together."}]},SUMXMY2:{d:"Calculates the sum of the squares of differences of values in two arrays.",a:"Sum of the squares of differences.",p:[{name:"array_x",detail:"The array or range of values that will be reduced by corresponding entries in `array_y`, squared, and added together."},{name:"array_y",detail:"The array or range of values that will be subtracted from corresponding entries in `array_x`, the result squared, and all such results added together."}]},TRANSPOSE:{d:"Transposes the rows and columns of an array or range of cells.",a:"Transposes the rows and columns of an array.",p:[{name:"array_or_range",detail:"The array or range whose rows and columns will be swapped."}]},TREND:{d:"Given partial data about a linear trend, fits an ideal linear trend using the least squares method and/or predicts further values.",a:"Fits points to linear trend derived via least-squares.",p:[{name:"known_data_y",detail:"The array or range containing dependent (y) values that are already known, used to curve fit an ideal linear trend."},{name:"known_data_x",detail:"The values of the independent variable(s) corresponding with `known_data_y`."},{name:"new_data_x",detail:"The data points to return the `y` values for on the ideal curve fit."},{name:"b",detail:"Given a general linear form of `y = m*x+b` for a curve fit, calculates `b` if `TRUE` or forces `b` to be `0` and only calculates the `m` values if `FALSE`, i.e. forces the curve fit to pass through the origin."}]},FREQUENCY:{d:"Calculates the frequency distribution of a one-column array into specified classes.",a:"The frequency distribution of array.",p:[{name:"data",detail:"The array or range containing the values to be counted."},{name:"classes",detail:"The array or range containing the set of classes."}]},GROWTH:{d:"Given partial data about an exponential growth trend, fits an ideal exponential growth trend and/or predicts further values.",a:"Fits points to exponential growth trend.",p:[{name:"known_data_y",detail:"The array or range containing dependent (y) values that are already known, used to curve fit an ideal exponential growth curve."},{name:"known_data_x",detail:"The values of the independent variable(s) corresponding with `known_data_y`."},{name:"new_data_x",detail:"The data points to return the `y` values for on the ideal curve fit."},{name:"b",detail:"Given a general exponential form of `y = b*m^x` for a curve fit, calculates `b` if `TRUE` or forces `b` to be `1` and only calculates the `m` values if `FALSE`."}]},LINEST:{d:"Given partial data about a linear trend, calculates various parameters about the ideal linear trend using the least-squares method.",a:"Best-fit linear trend via least-squares.",p:[{name:"known_data_y",detail:"The array or range containing dependent (y) values that are already known, used to curve fit an ideal linear trend."},{name:"known_data_x",detail:"The values of the independent variable(s) corresponding with `known_data_y`."},{name:"calculate_b",detail:"Given a linear form of `y = m*x+b`, calculates the y-intercept (`b`) if `TRUE`. Otherwise, forces `b` to be `0` and only calculates the `m` values if `FALSE`, i.e. forces the curve fit to pass through the origin."},{name:"verbose",detail:"A flag specifying whether to return additional regression statistics or only the linear coefficients and the y-intercept (default)."}]},LOGEST:{d:"Given partial data about an exponential growth curve, calculates various parameters about the best fit ideal exponential growth curve.",a:"Best-fit exponential growth curve.",p:[{name:"known_data_y",detail:"The array or range containing dependent (y) values that are already known, used to curve fit an ideal exponential growth curve."},{name:"known_data_x",detail:"The values of the independent variable(s) corresponding with `known_data_y`."},{name:"b",detail:"Given a general exponential form of `y = b*m^x` for a curve fit, calculates `b` if `TRUE` or forces `b` to be `1` and only calculates the `m` values if `FALSE`."},{name:"verbose",detail:"A flag specifying whether to return additional regression statistics or only the calculated coefficient and exponents."}]},MDETERM:{d:"Returns the matrix determinant of a square matrix specified as an array or range.",a:"Matrix determinant of a square matrix.",p:[{name:"square_matrix",detail:"An array or range with an equal number of rows and columns representing a matrix whose determinant will be calculated."}]},MINVERSE:{d:"Returns the multiplicative inverse of a square matrix specified as an array or range.",a:"Multiplicative inverse of square matrix.",p:[{name:"square_matrix",detail:"An array or range with an equal number of rows and columns representing a matrix whose multiplicative inverse will be calculated."}]},MMULT:{d:"Calculates the matrix product of two matrices specified as arrays or ranges.",a:"The matrix product of two matrices.",p:[{name:"matrix1",detail:"The first matrix in the matrix multiplication operation, represented as an array or range."},{name:"matrix2",detail:"The second matrix in the matrix multiplication operation, represented as an array or range."}]},SUMPRODUCT:{d:"Calculates the sum of the products of corresponding entries in two equal-sized arrays or ranges.",a:"Sum of products of elements in two arrays.",p:[{name:"array1",detail:"The first array or range whose entries will be multiplied with corresponding entries in the second such array or range."},{name:"array2",detail:"The second array or range whose entries will be multiplied with corresponding entries in the first such array or range."}]},ISFORMULA:{d:"Checks whether a value is a formula.",a:"Whether a value is a formula.",p:[{name:"cell",detail:"The cell to be verified as containing a formula."}]},CELL:{d:"Returns the requested information about the specified cell.",a:"Gets information about a cell.",p:[{name:"info_type",detail:"The type of information requested (see article for available types)"},{name:"reference",detail:"The reference to the cell."}]},NA:{d:'Returns the "value not available" error, `#N/A`.',a:"The `#N/A` error.",p:[]},ERROR_TYPE:{d:"Returns a number corresponding to the error value in a different cell.",a:"Error value of cell (as number).",p:[{name:"reference",detail:"The cell to find the error number for although you can also provide the error value directly."}]},ISBLANK:{d:"Checks whether the referenced cell is empty.",a:"Whether the referenced cell is empty.",p:[{name:"value",detail:"Reference to the cell that will be checked for emptiness."}]},ISERR:{d:"Checks whether a value is an error other than `#N/A`.",a:"Whether a value is an error other than `#n/a`.",p:[{name:"value",detail:"The value to be verified as an error type other than `#N/A`."}]},ISERROR:{d:"Checks whether a value is an error.",a:"Whether a value is an error.",p:[{name:"value",detail:"The value to be verified as an error type."}]},ISLOGICAL:{d:"Checks whether a value is `TRUE` or `FALSE`.",a:"Whether a value is `true` or `false`.",p:[{name:"value",detail:"The value to be verified as a logical `TRUE` or `FALSE`."}]},ISNA:{d:"Checks whether a value is the error `#N/A`.",a:"Whether a value is the error `#n/a`.",p:[{name:"value",detail:"The value to be compared with the error value `#N/A`."}]},ISNONTEXT:{d:"Checks whether a value is non-textual.",a:"Whether a value is non-textual.",p:[{name:"value",detail:"The value to be checked."}]},ISNUMBER:{d:"Checks whether a value is a number.",a:"Whether a value is a number.",p:[{name:"value",detail:"The value to be verified as a number."}]},ISREF:{d:"Checks whether a value is a valid cell reference.",a:"Whether a value is a valid cell reference.",p:[{name:"value",detail:"The value to be verified as a cell reference."}]},ISTEXT:{d:"Checks whether a value is text.",a:"Whether a value is text.",p:[{name:"value",detail:"The value to be verified as text."}]},TYPE:{d:"Returns a number associated with the type of data passed into the function.",a:"Get the type of a value.",p:[{name:"value",detail:"The value whose type is to be determined."}]},N:{d:"Returns the argument provided as a number. Text is converted to 0 and errors are returned as-is.",a:"Argument provided as a number.",p:[{name:"value",detail:"The argument to be converted to a number."}]},TO_DATE:{d:"Converts a provided number to a date.",a:"Converts a provided number to a date.",p:[{name:"value",detail:"The argument or reference to a cell to be converted to a date."}]},TO_PURE_NUMBER:{d:"Converts a provided date/time, percentage, currency or other formatted numeric value to a pure number without formatting.",a:"Converts any numeric value to a pure number.",p:[{name:"value",detail:"The argument or reference to a cell to be converted to a pure number."}]},TO_TEXT:{d:"Converts a provided numeric value to a text value.",a:"Converts a provided numeric value to a text value.",p:[{name:"value",detail:"The argument or reference to a cell to be converted to text."}]},TO_DOLLARS:{d:"Converts a provided number to a dollar value.",a:"Converts a provided number to a dollar value.",p:[{name:"value",detail:"The argument or reference to a cell to be converted to a dollar value."}]},TO_PERCENT:{d:"Converts a provided number to a percentage.",a:"Converts a provided number to a percentage.",p:[{name:"value",detail:"The argument or reference to a cell to be converted to a percentage."}]},DGET:{d:"Returns a single value from a database table-like array or range using a SQL-like query.",a:"Single value from a table-like range.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DMAX:{d:"Returns the maximum value selected from a database table-like array or range using a SQL-like query.",a:"Maximum of values from a table-like range.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DMIN:{d:"Returns the minimum value selected from a database table-like array or range using a SQL-like query.",a:"Minimum of values from a table-like range.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DAVERAGE:{d:"Returns the average of a set of values selected from a database table-like array or range using a SQL-like query.",a:"Average of a set of values from a table-like range.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DCOUNT:{d:"Counts numeric values selected from a database table-like array or range using a SQL-like query.",a:"Counts values from a table-like range.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DCOUNTA:{d:"Counts values, including text, selected from a database table-like array or range using a SQL-like query.",a:"Counts values and text from a table-like range.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DPRODUCT:{d:"Returns the product of values selected from a database table-like array or range using a SQL-like query.",a:"Product of values from a table-like range.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DSTDEV:{d:"Returns the standard deviation of a population sample selected from a database table-like array or range using a SQL-like query.",a:"Standard deviation of population sample from table.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DSTDEVP:{d:"Returns the standard deviation of an entire population selected from a database table-like array or range using a SQL-like query.",a:"Standard deviation of entire population from table.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DSUM:{d:"Returns the sum of values selected from a database table-like array or range using a SQL-like query.",a:"Sum of values from a table-like range.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DVAR:{d:"Returns the variance of a population sample selected from a database table-like array or range using a SQL-like query.",a:"Variance of population sample from table-like range.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},DVARP:{d:"Returns the variance of an entire population selected from a database table-like array or range using a SQL-like query.",a:"Variance of a population from a table-like range.",p:[{name:"database",detail:"The array or range containing the data to consider, structured in such a way that the first row contains the labels for each column's values."},{name:"field",detail:"Indicates which column in `database` contains the values to be extracted and operated on."},{name:"criteria",detail:"An array or range containing zero or more criteria to filter the `database` values by before operating."}]},AGE_BY_IDCARD:{d:"Calculate the age based on the Chinese ID number. Support 15 or 18",a:"Get age based on ID number.",p:[{name:"ID number",detail:"15-digit or 18-digit ID number or range."},{name:"Deadline",detail:"The deadline or range of age calculation. The default is the current day."}]},SEX_BY_IDCARD:{d:"Calculate gender based on Chinese ID number. Support 15 or 18",a:"Get gender based on ID number.",p:[{name:"ID number",detail:"15-digit or 18-digit ID number or range."}]},BIRTHDAY_BY_IDCARD:{d:"Calculate the birthday based on the Chinese ID number. Support 15 or 18",a:"Get the birthday based on the ID number.",p:[{name:"ID number",detail:"15-digit or 18-digit ID number or range."},{name:"Birthday format",detail:"Date type, default:0:[1900/01/01], 1:[1900-01-01], 2:[1900\u5E741\u67081\u65E5]"}]},PROVINCE_BY_IDCARD:{d:"Calculate the province of birthplace based on the Chinese ID number. Support 15 or 18",a:"Get the province of birthplace based on the ID number.",p:[{name:"ID number",detail:"15-digit or 18-digit ID number or range."}]},CITY_BY_IDCARD:{d:"Calculate the city of birthplace based on the Chinese ID number. Support 15 or 18",a:"Get the city of birthplace based on the ID number.",p:[{name:"ID number",detail:"15-digit or 18-digit ID number or range."}]},STAR_BY_IDCARD:{d:"Calculate the constellation based on the Chinese ID number. Support 15 or 18",a:"Get the constellation based on the ID number.",p:[{name:"ID number",detail:"15-digit or 18-digit ID number or range."}]},ANIMAL_BY_IDCARD:{d:"Calculate the zodiac (rat, ox, tiger, rabbit...) based on the Chinese ID number. Support 15 or 18",a:"Get the zodiac according to the ID number.",p:[{name:"ID number",detail:"15-digit or 18-digit ID number or range."}]},ISIDCARD:{d:"Verify that the format of the ID card is correct. Support 15 or 18",a:"Verify the correctness of the ID card format.",p:[{name:"ID number",detail:"15-digit or 18-digit ID number or range."}]},DM_TEXT_CUTWORD:{d:"Text segmentation. Split a series of words into a series of individual words",a:"Chinese text segmentation.",p:[{name:"Text",detail:"Any text that needs word segmentation."},{name:"Word segmentation mode",detail:"The default is 0[precision mode], 1[full mode], 2[search engine mode]."}]},DM_TEXT_TFIDF:{d:"Use tf-idf algorithm for keyword extraction. Identify keywords from a series of text",a:"tf-idf keyword recognition.",p:[{name:"Text",detail:"Any text that needs word segmentation."},{name:"Number of keywords",detail:"The number of keywords returned by the algorithm, the default is 20"},{name:"Corpus",detail:"Select a corpus in a specific field, the default is 0[General], 1[Finance], 2[Medical]"}]},DM_TEXT_TEXTRANK:{d:"Use TextRank algorithm to extract keywords. Identify keywords from a series of text",a:"TextRank keyword recognition.",p:[{name:"Text",detail:"Any text that needs word segmentation."},{name:"Number of keywords",detail:"The number of keywords returned by the algorithm, the default is 20"},{name:"Corpus",detail:"Select a corpus in a specific field, the default is 0[General], 1[Finance], 2[Medical]"}]},DATA_CN_STOCK_CLOSE:{d:"According to the stock code and date, return the corresponding stock closing price of A shares.",a:"Returns the closing price of stock.",p:[{name:"Stock code",detail:"6-digit stock code, required."},{name:"Date",detail:"The trading day of the stock, the default is the latest trading day"},{name:"Reversion and exclusion",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]"}]},DATA_CN_STOCK_OPEN:{d:"According to the stock code and date, return the opening price of stock.",a:"Return the opening price of a shares.",p:[{name:"Stock code",detail:"6-digit stock code, required."},{name:"Date",detail:"The trading day of the stock, the default is the latest trading day"},{name:"Reversion and exclusion",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]"}]},DATA_CN_STOCK_MAX:{d:"According to the stock code and date, return the highest price of stock.",a:"Return the highest price of stock.",p:[{name:"Stock code",detail:"6-digit stock code, required."},{name:"Date",detail:"The trading day of the stock, the default is the latest trading day"},{name:"Reversion and exclusion",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]"}]},DATA_CN_STOCK_MIN:{d:"According to the stock code and date, return the lowest price of stock.",a:"Returns the lowest price of stock.",p:[{name:"Stock code",detail:"6-digit stock code, required."},{name:"Date",detail:"The trading day of the stock, the default is the latest trading day"},{name:"Reversion and exclusion",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]"}]},DATA_CN_STOCK_VOLUMN:{d:"According to the stock code and date, return the corresponding stock trading volume of A shares.",a:"Returns the corresponding stock trading volume of A shares.",p:[{name:"Stock code",detail:"6-digit stock code, required."},{name:"Date",detail:"The trading day of the stock, the default is the latest trading day"},{name:"Reversion and exclusion",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]"}]},DATA_CN_STOCK_AMOUNT:{d:"According to the stock code and date, return the corresponding stock turnover of A shares.",a:"Returns the corresponding stock turnover of A shares.",p:[{name:"Stock code",detail:"6-digit stock code, required."},{name:"Date",detail:"The trading day of the stock, the default is the latest trading day"},{name:"Reversion and exclusion",detail:"Select the ex right restoration type of the stock, default to 0 [former reversion], 1 [original price], 2 [post reversion]"}]},ISDATE:{d:"Returns whether a value is a date.",a:"Whether a value is a date.",p:[{name:"value",detail:"The value to be verified as a date."}]},LINESPLINES:{d:"Generate sparklines embedded in the cell to describe the continuous trend of data",a:"Generate sparklines line chart",p:[{name:"Range",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc."},{name:"Line color",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #2ec7c9"},{name:"Line thickness",detail:"Line thickness of the line graph, the default is 1px"},{name:"Auxiliary line",detail:"A horizontal line, which can be min, max, avg, median, range or custom value, default 0 none"},{name:"Auxiliary line color",detail:"Color setting of auxiliary line, same as line color configuration, default #000"},{name:"Maximum mark",detail:"Identifies the maximum value of the line graph, the same line color configuration, default 0 does not display"},{name:"Minimum mark",detail:"Identify the minimum value of the line graph, the same line color configuration, default 0 does not display"},{name:"Mark size",detail:"The maximum and minimum mark size settings, the default is 1.5"}]},AREASPLINES:{d:"Generate sparklines embedded in the cell area chart, generally used to describe the continuous cumulative value trend of the data",a:"Generate sparklines area chart",p:[{name:"Range",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc."},{name:"Line color",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #2ec7c9"},{name:"Fill color",detail:"Form an area chart, the same line color configuration, default 0 does not display"},{name:"Line thickness",detail:"Line thickness of the line graph, the default is 1px"},{name:"Auxiliary line",detail:"A horizontal line, which can be min, max, avg, median, range or custom value, default 0 none"},{name:"Auxiliary line color",detail:"Color setting of auxiliary line, same as line color configuration, default #000"}]},COLUMNSPLINES:{d:"Generate sparklines embedded in the vertical histogram of cells, generally used to describe the size of discrete data",a:"Generate sparklines vertical histogram",p:[{name:"Range",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc."},{name:"Bar interval",detail:"The distance between bars, the default is 1"},{name:"Bar color",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #fc5c5c"},{name:"Negative bar color",detail:"Negative bar color setting, representing the color of negative value, same as the bar color configuration, default #97b552"},{name:"Max",detail:"The maximum value of the bar chart, used to standardize the length of the bar chart, the default is to automatically calculate false, auto, null"},{name:"Color palette",detail:"The color palette can set the color of each bar individually, multiple settings can be set, and two formats are supported: 1 color such as #000, which means that the color of the first bar is black; 2 value range: color, such as -2:# 000 indicates that the bar with a value of -2 is black, 0:5:#000 indicates that the bar with a value of 0-5 is black, and the default is empty"}]},STACKCOLUMNSPLINES:{d:"Generate sparklines, a cumulative vertical histogram embedded in a cell, generally used to describe the numerical size of multiple dimensions of discrete data",a:"Generate sparklines cumulative vertical histogram",p:[{name:"Range",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc."},{name:"Stack by column",detail:"If you need to stack by row, set this item to false or 0, the default is 1"},{name:"Bar interval",detail:"The distance between bars, the default is 1"},{name:"Max",detail:"The maximum value of the cumulative bar, used to regulate the length of the bar, the default is to automatically calculate false, auto, null"},{name:"Color palette",detail:"The color palette can individually set the bar color of each dimension, which can be set to the range of A1:A10, etc. The default is #2ec7c9, #fc5c5c, #5ab1ef, #ffb980..."}]},BARSPLINES:{d:"Generate sparklines embedded in the cell, generally used to describe the size of discrete data",a:"Generate sparklines horizontal bar graph",p:[{name:"Range",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc."},{name:"Bar interval",detail:"The distance between bars, the default is 1"},{name:"Bar color",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #fc5c5c"},{name:"Negative bar color",detail:"Negative bar color setting, representing the color of negative value, same as the bar color configuration, default #97b552"},{name:"Max",detail:"The maximum value of the bar chart, used to standardize the length of the bar chart, the default is to automatically calculate false, auto, null"},{name:"Color palette",detail:"The color palette can set the color of each bar individually, multiple settings can be set, and two formats are supported: 1 color such as #000, which means that the color of the first bar is black; 2 value range: color, such as -2:# 000 indicates that the bar with a value of -2 is black, 0:5:#000 indicates that the bar with a value of 0-5 is black, and the default is empty"}]},STACKBARSPLINES:{d:"Generate sparklines, a cumulative horizontal bar graph embedded in a cell, which is generally used to describe the numerical size of multiple dimensions of discrete data",a:"Generate sparklines cumulative horizontal bar graph",p:[{name:"Range",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc."},{name:"Stack by column",detail:"If you need to stack by row, set this item to false or 0, the default is 1"},{name:"Bar interval",detail:"The distance between bars, the default is 1"},{name:"Max",detail:"The maximum value of the cumulative bar, used to regulate the length of the bar, the default is to automatically calculate false, auto, null"},{name:"Color palette",detail:"The color palette can individually set the bar color of each dimension, which can be set to the range of A1:A10, etc. The default is #2ec7c9, #fc5c5c, #5ab1ef, #ffb980..."}]},DISCRETESPLINES:{d:"Generate sparklines embedded in the cell, generally used to describe the trend of discrete data",a:"Generate sparklines discrete graph",p:[{name:"Range",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc."},{name:"Segmentation threshold",detail:"Discrete graph column color distinction, for example: if the value is 0, blue is greater than 0, red is less than 0, and the default is 0"},{name:"Above threshold color",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #2ec7c9"},{name:"Below threshold color",detail:"The color setting of the bar below the threshold, the same as the color above the threshold, default #fc5c5c"}]},TRISTATESPLINES:{d:"Generate sparklines, a three-state graph embedded in the cell, which is generally used to describe the trend of three situations, such as winning, losing, or drawing.",a:"Generate sparklines three-state graph",p:[{name:"Range",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc."},{name:"Bar interval",detail:"The distance between bars, the default is 1"},{name:"Bar color",detail:"The line color of the line graph can be range A1, color table index value or specific color value. Set it to 0 or false to not display it. It supports regx, rgb, rgba, etc. Default #fc5c5c"},{name:"Negative bar color",detail:"Negative bar color setting, representing the color of negative value, same as the bar color configuration, default #97b552"},{name:"Zero value bar color",detail:"Zero value bar color setting, representing 0 value color, the same color configuration of the bar, default #999"},{name:"Color palette",detail:"The color palette can set the color of each bar individually, multiple settings can be set, and two formats are supported: 1 color such as #000, which means that the color of the first bar is black; 2 value range: color, such as -2:# 000 indicates that the bar with a value of -2 is black, 0:5:#000 indicates that the bar with a value of 0-5 is black, and the default is empty"}]},PIESPLINES:{d:"Generate sparklines pie chart embedded in the cell, generally used to describe the proportion of data",a:"Generate sparklines pie chart",p:[{name:"Range",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc."},{name:"Rotation angle",detail:"The rotation angle of the pie chart, the default is 0"},{name:"border",detail:"Pie chart border size, default is none 0"},{name:"Border color",detail:"The border color of the pie chart, the default is #000"},{name:"Color palette",detail:"The color of the slice can be set in the palette, which can be set to the range of A1:A10, etc. The default is #2ec7c9, #fc5c5c, #5ab1ef, #ffb980..."}]},BOXSPLINES:{d:"Generate sparklines embedded in the cell box plot, generally used to describe the statistical distribution of the data set",a:"Generate sparklines box plot",p:[{name:"Range",detail:"Range\uFF0CValues can be calculated effectively, such as A1:A20, {1,2,3,4,5}, etc."},{name:"Outlier ratio",detail:"The threshold range of outliers, if it is 0 or false, it will not be displayed, the default is 1.5 times"},{name:"Target value",detail:"The target value setting on the box plot, the default is false and does not display"},{name:"Point size",detail:"The radius of the target point and outlier is set, the default is 1.5"}]},BULLETSPLINES:{d:"Generate sparklines embedded in the cell, generally used to describe the task achievement rate",a:"Generating sparklines bullets",p:[{name:"Target",detail:"The numerical value can be calculated effectively for the achieved target value, such as A1, 100, etc."},{name:"achieved",detail:"Only when the value is completed can the value be calculated effectively, such as A1, 100, etc."},{name:"Contrast",detail:"Comparative values, such as excess, minimum, and bottom line for awards, can be effectively calculated, such as A1, 100, etc. You can set up to 9 comparison values"}]},COMPOSESPLINES:{d:"Support multiple types of pictures in the same cell, each parameter represents a sparklines diagram",a:"Combine sparklines graphs into one cell",p:[{name:"config",detail:"Sparklines chart settings, such as A1:A20, a completed pie chart, line chart settings, etc."}]},SORT:{d:"Sorts the rows of a given array or range by the values in one or more columns.",a:"Sorts rows of range by specified column.",p:[{name:"range",detail:"The data to be sorted."},{name:"sort_column",detail:"The index of the column in `range` or a range outside of `range` containing the values by which to sort."},{name:"is_ascending",detail:"`TRUE` or `FALSE` indicating whether to sort `sort_column` in ascending order. `FALSE` sorts in descending order."},{name:"sort_column2",detail:"Additional columns."}]},FILTER:{d:"Returns a filtered version of the source range, returning only rows or columns which meet the specified conditions.",a:"Filters a range based off provided conditions.",p:[{name:"range",detail:"The data to be filtered."},{name:"condition1",detail:"A column or row containing true or false values corresponding to the first column or row of `range`, or an array formula evaluating to true or false."},{name:"condition2",detail:"Additional rows or columns containing boolean values `TRUE` or `FALSE` indicating whether the corresponding row or column in `range` should pass through `FILTER`. Can also contain array formula expressions which evaluate to such rows or columns. All conditions must be of the same type (row or column). Mixing row conditions and column conditions is not permitted."}]},UNIQUE:{d:"Returns unique rows in the provided source range, discarding duplicates. Rows are returned in the order in which they first appear in the source range.",a:"Unique rows in the provided source range.",p:[{name:"range",detail:"The data to filter by unique entries."},{name:"by_col",detail:"[Option] - Logical value, indicating how to compare; by row = FALSE() or omitted; by column = TRUE()."},{name:"occurs_once",detail:"[Option] - Logical value, only one occurrence in the unique value is returned = TRUE(); including all unique values = FALSE() or omitted."}]},RANDARRAY:{d:"Returns a grid of random numbers between 0 inclusive and 1 exclusive. The grid size will match the provided rows and columns arguments. If neither rows nor columns are provided, then the grid will be size 1 x 1.",a:"Returns a grid of random numbers.",p:[{name:"rows",detail:"The number of rows to populate with a random number."},{name:"columns",detail:"The number of columns to populate with a random number."}]},SEQUENCE:{d:"Returns a grid of sequential numbers starting at a specified start value and increasing by a specified step size. By default, the sequence starts at and increases by 1.",a:"Returns a grid of sequential numbers.",p:[{name:"rows",detail:"The number of rows in the function's resulting grid."},{name:"columns",detail:"The number of columns in the function's resulting grid. If omitted, the result grid will have 1 column."},{name:"start",detail:"The number, at which to start the sequence. If omitted, the sequence will start at 1."},{name:"step",detail:"The amount each value in the sequence will differ by. If omitted, each value will differ by 1."}]},EVALUATE:{d:"Evaluate a formula or expression expressed in words and return the result",a:"Evaluate according to literal formula or expression.",p:[{name:"expression",detail:"Formula or expression"}]},REMOTE:{d:"Calls a function on a remote server",a:"Calls a function on a remote back end server/API.",p:[{name:"remote_expression",detail:"Formula"}]}},toolbar:{undo:"Deshacer",redo:"Rehacer",paintFormat:"Clonar formato",currencyFormat:"Formato de moneda",percentageFormat:"Formato de porcentaje",numberDecrease:"Menos decimales",numberIncrease:"M\xE1s decimales",moreFormats:"M\xE1s formatos",font:"Fuente",fontSize:"Tama\xF1o Fuente",bold:"Negrita (Ctrl+B)",italic:"It\xE1lica (Ctrl+I)",strikethrough:"Tachar (Alt+Shift+5)",underline:"Guion bajo",textColor:"Color texto",chooseColor:"elegir color",resetColor:"Reinicializar",customColor:"PERSONALIZADO",alternatingColors:"Colores alternos",confirmColor:"Vale",cancelColor:"Cancelar",collapse:"Recoger",fillColor:"Color de relleno",border:"Borde",borderStyle:"Estilo Borde",mergeCell:"Juntar celdas",chooseMergeType:"Elegir tipo de uni\xF3n",horizontalAlign:"Alineaci\xF3n Horizontal",verticalAlign:"Alineaci\xF3n Vertical",alignment:"Alineaci\xF3n",textWrap:"Ajuste de texto",textWrapMode:"Modo de ajuste de texto",textRotate:"Rotar texto",textRotateMode:"Modo de rotar texto",freezeTopRow:"Fijar fila superior",sortAndFilter:"Ordenar y filtrar",findAndReplace:"Buscar y reemplazar",sum:"SUMA",autoSum:"SUMA autom\xE1tica",moreFunction:"M\xE1s funciones",conditionalFormat:"Formato condicional",postil:"Comentario",pivotTable:"Tabla Din\xE1mica",chart:"Gr\xE1fica",screenshot:"Captura de pantalla",splitColumn:"Separar texto",insertImage:"Insertar imagen",exportXlsx:"Exportar Xlsx",dataVerification:"Verificaci\xF3n de datos",protection:"Proteger la hoja",clearText:"Limpiar color",noColorSelectedText:"Ning\xFAn color seleccionado",toolMore:"M\xE1s",toolLess:"Menos",toolClose:"Cerrar",toolMoreTip:"M\xE1s funcionalidades",moreOptions:"M\xE1s opciones",cellFormat:"Configuraci\xF3n formato de celda",print:"Imprimir"},alternatingColors:{applyRange:"Aplicar a rango",selectRange:"Seleccionar un rango de datos",header:"Cabecera",footer:"Pie",errorInfo:"No se puede realizar esta operaci\xF3n en varias \xE1reas de selecci\xF3n, selecciona una sola \xE1rea y vuelve a intentarlo",textTitle:"Estilo Formato",custom:"PERSONALIZADO",close:"cerrar",selectionTextColor:"Haz clic para seleccionar el color del texto",selectionCellColor:"Haz clic para seleccionar el color de la celda",removeColor:"Eliminar colores alternos",colorShow:"color",currentColor:"Actual",tipSelectRange:"Selecciona la gama de colores alternos",errorNoRange:"No hay ning\xFAn rango seleccionado",errorExistColors:"Los colores alternos ya existen y no se pueden editar"},button:{confirm:"Vale",cancel:"Cancelar",close:"Cerrar",update:"Actualizar",delete:"Eliminar",insert:"Insertar",prevPage:"Previous",nextPage:"Next",total:"total:"},paint:{start:"Inicio clonar formato",end:"ESC",tipSelectRange:"Selecciona el rango que quieres copiar",tipNotMulti:"No se puede realizar esta operaci\xF3n en un rango de selecci\xF3n m\xFAltiple"},format:{moreCurrency:"M\xE1s formatos de moneda",moreDateTime:"M\xE1s formatos de fecha y hora",moreNumber:"M\xE1s formatos de n\xFAmero",titleCurrency:"Formatos de moneda",decimalPlaces:"Decimales",titleDateTime:"Formatos de fecha y hora",titleNumber:"Formatos de n\xFAmeros"},info:{detailUpdate:"Nuevo abierto",detailSave:"Cache local restaurado",row:"",column:"",loading:"Cargando...",copy:"Copiar",return:"Salir",rename:"Renombrar",tips:"Renombrar Libro",noName:"Hoja sin t\xEDtulo",wait:"esperando actualizaci\xF3n",add:"A\xF1adir",addLast:"m\xE1s filas al final",backTop:"Volver arriba",pageInfo:"Total ${total}\uFF0Cp\xE1gina ${totalPage}\uFF0Cactual ${currentPage}",nextPage:"Siguiente",tipInputNumber:"Introduce el n\xFAmero",tipInputNumberLimit:"El rango de aumento est\xE1 limitado a 1-100",tipRowHeightLimit:"La altura de la fila debe estar entre 0 ~ 545",tipColumnWidthLimit:"El ancho de la columna debe estar entre 0 ~ 2038",pageInfoFull:"Total ${total}\uFF0Cp\xE1gina ${totalPage}\uFF0CSe muestran todos los datos"},currencyDetail:{RMB:"RMB",USdollar:"D\xF3lar US",EUR:"EUR",GBP:"GBP",HK:"HK",JPY:"JPY",AlbanianLek:"Albanian Lek",AlgerianDinar:"Algerian Dinar",Afghani:"Afghani",ArgentinePeso:"Argentine Peso",UnitedArabEmiratesDirham:"United Arab Emirates Dirham",ArubanFlorin:"Aruban Florin",OmaniRial:"Omani Rial",Azerbaijanimanat:"Azerbaijani manat",EgyptianPound:"Egyptian Pound",EthiopianBirr:"Ethiopian Birr",AngolaKwanza:"Angola Kwanza",AustralianDollar:"Australian Dollar",Patacas:"Patacas",BarbadosDollar:"Barbados Dollar",PapuaNewGuineaKina:"Papua New Guinea Kina",BahamianDollar:"Bahamian Dollar",PakistanRupee:"Pakistan Rupee",ParaguayanGuarani:"Paraguayan Guarani",BahrainiDinar:"Bahraini Dinar",PanamanianBalboa:"Panamanian Balboa",Brazilianreal:"Brazilian real",Belarusianruble:"Belarusian ruble",BermudianDollar:"Bermudian Dollar",BulgarianLev:"Bulgarian Lev",IcelandKrona:"Iceland Krona",BosniaHerzegovinaConvertibleMark:"Bosnia-Herzegovina Convertible Mark",PolishZloty:"Polish Zloty",Boliviano:"Boliviano",BelizeDollar:"Belize Dollar",BotswanaPula:"Botswana Pula",NotDannuzhamu:"Not Dannuzhamu",BurundiFranc:"Burundi Franc",NorthKoreanWon:"North Korean Won",DanishKrone:"Danish Krone",EastCaribbeanDollar:"East Caribbean Dollar",DominicaPeso:"Dominica Peso",RussianRuble:"Russian Ruble",EritreanNakfa:"Eritrean Nakfa",CFAfranc:"CFA franc",PhilippinePeso:"Philippine Peso",FijiDollar:"Fiji Dollar",CapeVerdeEscudo:"Cape Verde Escudo",FalklandIslandsPound:"Falkland Islands Pound",GambianDalasi:"Gambian Dalasi",Congolesefranc:"Congolese franc",ColombianPeso:"Colombian Peso",CostaRicanColon:"Costa Rican Colon",CubanPeso:"Cuban Peso",Cubanconvertiblepeso:"Cuban convertible peso",GuyanaDollar:"Guyana Dollar",KazakhstanTenge:"Kazakhstan Tenge",Haitiangourde:"Haitian gourde",won:"won",NetherlandsAntillesGuilder:"Netherlands Antilles Guilder",Honduraslempiras:"Honduras lempiras",DjiboutiFranc:"Djibouti Franc",KyrgyzstanSom:"Kyrgyzstan Som",GuineaFranc:"Guinea Franc",CanadianDollar:"Canadian Dollar",GhanaianCedi:"Ghanaian Cedi",Cambodianriel:"Cambodian riel",CzechKoruna:"Czech Koruna",ZimbabweDollar:"Zimbabwe Dollar",QatariRiyal:"Qatari Riyal",CaymanIslandsDollar:"Cayman Islands Dollar",Comorianfranc:"Comorian franc",KuwaitiDinar:"Kuwaiti Dinar",CroatianKuna:"Croatian Kuna",KenyanShilling:"Kenyan Shilling",LesothoLoti:"Lesotho Loti",LaoKip:"Lao Kip",LebanesePound:"Lebanese Pound",Lithuanianlitas:"Lithuanian litas",LibyanDinar:"Libyan Dinar",LiberianDollar:"Liberian Dollar",RwandaFranc:"Rwanda Franc",RomanianLeu:"Romanian Leu",MalagasyAriary:"Malagasy Ariary",MaldivianRufiyaa:"Maldivian Rufiyaa",MalawiKwacha:"Malawi Kwacha",MalaysianRinggit:"Malaysian Ringgit",MacedoniawearingDinar:"Macedonia wearing Dinar",MauritiusRupee:"Mauritius Rupee",MauritanianOuguiya:"Mauritanian Ouguiya",MongolianTugrik:"Mongolian Tugrik",BangladeshiTaka:"Bangladeshi Taka",PeruvianNuevoSol:"Peruvian Nuevo Sol",MyanmarKyat:"Myanmar Kyat",MoldovanLeu:"Moldovan Leu",MoroccanDirham:"Moroccan Dirham",MozambiqueMetical:"Mozambique Metical",MexicanPeso:"Mexican Peso",NamibianDollar:"Namibian Dollar",SouthAfricanRand:"South African Rand",SouthSudanesePound:"South Sudanese Pound",NicaraguaCordoba:"Nicaragua Cordoba",NepaleseRupee:"Nepalese Rupee",NigerianNaira:"Nigerian Naira",NorwegianKrone:"Norwegian Krone",GeorgianLari:"Georgian Lari",RMBOffshore:"RMB (Offshore)",SwedishKrona:"Swedish Krona",SwissFranc:"Swiss Franc",SerbianDinar:"Serbian Dinar",SierraLeone:"Sierra Leone",SeychellesRupee:"Seychelles Rupee",SaudiRiyal:"Saudi Riyal",SaoTomeDobra:"Sao Tome Dobra",SaintHelenapound:"Saint Helena pound",SriLankaRupee:"Sri Lanka Rupee",SwazilandLilangeni:"Swaziland Lilangeni",SudanesePound:"Sudanese Pound",Surinamesedollar:"Surinamese dollar",SolomonIslandsDollar:"Solomon Islands Dollar",SomaliShilling:"Somali Shilling",TajikistanSomoni:"Tajikistan Somoni",PacificFranc:"Pacific Franc",ThaiBaht:"Thai Baht",TanzanianShilling:"Tanzanian Shilling",TonganPaanga:"Tongan Pa'anga",TrinidadandTobagoDollar:"Trinidad and Tobago Dollar",TunisianDinar:"Tunisian Dinar",TurkishLira:"Turkish Lira",VanuatuVatu:"Vanuatu Vatu",GuatemalanQuetzal:"Guatemalan Quetzal",CommissionBolivar:"Commission Bolivar",BruneiDollar:"Brunei Dollar",UgandanShilling:"Ugandan Shilling",UkrainianHryvnia:"Ukrainian Hryvnia",UruguayanPeso:"Uruguayan Peso",Uzbekistansom:"Uzbekistan som",WesternSamoaTala:"Western Samoa Tala",SingaporeDollar:"Singapore Dollar",NT:"NT",NewZealandDollar:"New Zealand Dollar",HungarianForint:"Hungarian Forint",SyrianPound:"Syrian Pound",JamaicanDollar:"Jamaican Dollar",ArmenianDram:"Armenian Dram",YemeniRial:"Yemeni Rial",IraqiDinar:"Iraqi Dinar",IranianRial:"Iranian Rial",NewIsraeliShekel:"New Israeli Shekel",IndianRupee:"Indian Rupee",IndonesianRupiah:"Indonesian Rupiah",JordanianDinar:"Jordanian Dinar",VND:"VND",ZambianKwacha:"Zambian Kwacha",GibraltarPound:"Gibraltar Pound",ChileanPeso:"Chilean Peso",CFAFrancBEAC:"CFA Franc BEAC"},defaultFmt:[{text:"Autom\xE1tico",value:"General",example:""},{text:"Texto",value:"@",example:""},{text:"",value:"partir",example:""},{text:"N\xFAmero",value:"##0.00",example:"1000.12"},{text:"Porcentaje",value:"#0.00%",example:"12.21%"},{text:"Cient\xEDfico",value:"0.00E+00",example:"1.01E+5"},{text:"",value:"split",example:""},{text:"Contabilidad",value:"\xA5(0.00)",example:"\xA5(1200.09)"},{text:"Moneda",value:"\xA50.00",example:"\xA51200.09"},{text:"",value:"partir",example:""},{text:"Fecha",value:"yyyy-MM-dd",example:"2017-11-29"},{text:"Hora",value:"hh:mm AM/PM",example:"3:00 PM"},{text:"Hora 24H",value:"hh:mm",example:"15:00"},{text:"Fecha Hora",value:"yyyy-MM-dd hh:mm AM/PM",example:"2017-11-29 3:00 PM"},{text:"Fecha Hora 24 H",value:"yyyy-MM-dd hh:mm",example:"2017-11-29 15:00"},{text:"",value:"partir",example:""},{text:"Formatos personalizados",value:"fmtOtherSelf",example:"m\xE1s"}],dateFmtList:[{name:"1930-08-05",value:"yyyy-MM-dd"},{name:"1930/8/5",value:"yyyy/MM/dd"},{name:"08-05",value:"MM-dd"},{name:"8-5",value:"M-d"},{name:"13:30:30",value:"h:mm:ss"},{name:"13:30",value:"h:mm"},{name:"PM 01:30",value:"AM/PM hh:mm"},{name:"PM 1:30",value:"AM/PM h:mm"},{name:"PM 1:30:30",value:"AM/PM h:mm:ss"},{name:"08-05 PM 01:30",value:"MM-dd AM/PM hh:mm"}],fontFamily:{MicrosoftYaHei:"YaHei"},fontarray:["Times New Roman","Arial","Tahoma","Verdana"],fontjson:{"times new roman":0,arial:1,tahoma:2,verdana:3},border:{borderTop:"borderTop",borderBottom:"borderBottom",borderLeft:"borderLeft",borderRight:"borderRight",borderNone:"borderNone",borderAll:"borderAll",borderOutside:"borderOutside",borderInside:"borderInside",borderHorizontal:"borderHorizontal",borderVertical:"borderVertical",borderColor:"borderColor",borderSize:"borderSize"},merge:{mergeAll:"Unir todo",mergeV:"Verticalmente",mergeH:"Horizontalmente",mergeCancel:"Separar",overlappingError:"No se pueden fusionar \xE1reas superpuestas",partiallyError:"No se puede realizar esta operaci\xF3n en celdas parcialmente unidas"},align:{left:"izquierda",center:"centro",right:"derecha",top:"Arriba",middle:"Centro",bottom:"Abajo"},textWrap:{overflow:"Desbordar",wrap:"Ajustar",clip:"Cortar"},rotation:{none:"Ninguno",angleup:"Ladear Arriba",angledown:"Ladear Abajo",vertical:"Apilar Verticalmente",rotationUp:"Rotar Arriba",rotationDown:"Rotar Abajo"},freezen:{default:"Fijar",freezenRow:"Primera Fila",freezenColumn:"Primera Columna",freezenRC:"Ambas",freezenRowRange:"Fijar rango filas",freezenColumnRange:"Fijar rango columnas",freezenRCRange:"Fijar ambos rangos",freezenCancel:"Cancelar",noSeletionError:"No hay rango para seleccionar",rangeRCOverErrorTitle:"Recordatorio de congelaci\xF3n",rangeRCOverError:"El panel de congelaci\xF3n excede el rango visible y puede causar que no funcione correctamente. Reinicie el \xE1rea de congelaci\xF3n."},sort:{asc:"Ascendente ",desc:"Descendente ",custom:"Ordenaci\xF3n personalizada",hasTitle:"Los datos tienen una fila de encabezado",sortBy:"Ordenar por",addOthers:"A\xF1adir otra columna de ordenaci\xF3n",close:"cerrar",confirm:"ordenar",columnOperation:"Columna",secondaryTitle:"y despu\xE9s por",sortTitle:"Ordenar rango",sortRangeTitle:"Ordenar rango de",sortRangeTitleTo:"a",noRangeError:"No se puede realizar esta operaci\xF3n en m\xFAltiples \xE1reas de selecci\xF3n, selecciona un solo rango e intenta nuevamente",mergeError:"Hay celdas combinadas en la selecci\xF3n, \xA1esta operaci\xF3n no se puede realizar!",columnSortMergeError:"La ordenaci\xF3n de las columnas se extiende a toda la selecci\xF3n de la tabla. Esta operaci\xF3n no puede realizarse si hay celdas fusionadas. Utilice la funci\xF3n de clasificaci\xF3n de la barra de herramientas."},filter:{filter:"crear filtro",sortByAsc:"Ordenar A-Z",sortByDesc:"Ordenar Z-A",filterByColor:"Filtrar por color",filterByCondition:"Filtrar por condici\xF3n",filterByValues:"Filtrar por valores",filiterInputNone:"Ninguno",filiterInputTip:"Introduce valor de filtro",filiterRangeStart:"",filiterRangeStartTip:"Valor para f\xF3rmula",filiterRangeEnd:"e",filiterRangeEndTip:"Valor para f\xF3rmula",filterValueByAllBtn:"Seleccionar todos",filterValueByClearBtn:"Limpiar",filterValueByInverseBtn:"Invertir",filterValueByTip:"filtrar por valores",filterConform:"Confirmar",filterCancel:"Cancelar",clearFilter:"Quitar filtro",conditionNone:"Ninguno",conditionCellIsNull:"Est\xE1 vac\xEDo",conditionCellNotNull:"No est\xE1 vac\xEDo",conditionCellTextContain:"El texto contiene",conditionCellTextNotContain:"El texto no contiene",conditionCellTextStart:"El texto empieza con",conditionCellTextEnd:"El texto termina con",conditionCellTextEqual:"El texto es exactamente",conditionCellDateEqual:"La fecha es",conditionCellDateBefore:"La fecha es anterior",conditionCellDateAfter:"La fecha es posterior",conditionCellGreater:"Mayor que",conditionCellGreaterEqual:"Mayor o igual que",conditionCellLess:"Menor que",conditionCellLessEqual:"Menor o igual que",conditionCellEqual:"Es igual a",conditionCellNotEqual:"No es igual a",conditionCellBetween:"Est\xE1 entre",conditionCellNotBetween:"No est\xE1 entre",filiterMoreDataTip:"\xA1Gran cantidad de datos! por favor espera",filiterMonthText:"Mes",filiterYearText:"A\xF1o",filiterByColorTip:"Filtrar por color de celda",filiterByTextColorTip:"Filtrar por color de fuente",filterContainerOneColorTip:"Esta columna contiene solo un color",filterDateFormatTip:"Format fecha",valueBlank:"(Nulo)",mergeError:"Hay celdas combinadas en la selecci\xF3n del filtro, \xA1esta operaci\xF3n no se puede realizar!"},rightclick:{copy:"Copiar",copyAs:"Copiar como",paste:"Pegar",insert:"Insertar",delete:"Eliminar",deleteCell:"Eliminar celda",deleteSelected:"Eliminar seleccionado ",hide:"Esconder",hideSelected:"Esconder seleccionado ",showHide:"Mostrar ocultos ",to:"Hacia",left:"Izquierda",right:"Derecha",top:"Arriba",bottom:"Abajo",moveLeft:"Mover izquierda",moveUp:"Mover arriba",add:"A\xF1adir",row:"Fila",column:"Columna",width:"Ancho",height:"Alto",number:"N\xFAmero",confirm:"Confirmar",orderAZ:"Ordenar A-Z",orderZA:"Ordenar Z-A",clearContent:"Limpiar contenido",matrix:"Operaci\xF3n de Matriz",sortSelection:"Ordenar",filterSelection:"Filtrar",chartGeneration:"Crear gr\xE1fico",firstLineTitle:"t\xEDtulo primera l\xEDnea",untitled:"sin t\xEDtulo",array1:"Matriz unidimensional",array2:"Matriz bidimensional",array3:"Matrices multidimensionales",diagonal:"Diagonal",antiDiagonal:"Anti-diagonal",diagonalOffset:"Desplazamiento Diagonal",offset:"Desplazamiento",boolean:"Booleana",flip:"Voltear",upAndDown:"Arriba y abajo",leftAndRight:"Izquierda y derecha",clockwise:"Sentido horario",counterclockwise:"Sentido anti-horario",transpose:"Transponer",matrixCalculation:"C\xE1lculo de matrices",plus:"Suma",minus:"Resta",multiply:"Multiplicaci\xF3n",divided:"Divisi\xF3n",power:"Exponenciaci\xF3n",root:"Ra\xEDz Cuadrada",log:"Logaritmo",delete0:"Eliminar valores nulos en ambos extremos",removeDuplicate:"Eliminar valores duplicados",byRow:"Por fila",byCol:"Por columna",generateNewMatrix:"Generar nueva matriz"},comment:{insert:"Insertar",edit:"Editar",delete:"Elimiar",showOne:"Mostrar/Ocular",showAll:"Mostrar/Ocular Todo"},screenshot:{screenshotTipNoSelection:"Selecciona el alcance de la captura de pantalla",screenshotTipTitle:"\xA1Advertencia!",screenshotTipHasMerge:"Esta operaci\xF3n no se puede realizar en celdas combinadas",screenshotTipHasMulti:"Esta operaci\xF3n no se puede realizar en varios rangos de selecci\xF3n",screenshotTipSuccess:"Exitoso",screenshotImageName:"Captura de pantalla",downLoadClose:"Cerrar",downLoadCopy:"Copiar al portapapeles",downLoadBtn:"Descargar",browserNotTip:"no es compatible con el navegador IE.",rightclickTip:'Haz clic con el bot\xF3n derecho en la imagen y selecciona "copiar"',successTip:'Con \xE9xito (si falla el pegado, haz clic con el bot\xF3n derecho en la imagen para "copiar imagen")'},splitText:{splitDelimiters:"Delimitadores",splitOther:"Otros",splitContinueSymbol:"Los separadores consecutivos se tratan como uno solo",splitDataPreview:"Previsualizar",splitTextTitle:"Partir texto",splitConfirmToExe:"Ya hay datos aqu\xED, \xBFquieres reemplazarlos?",tipNoMulti:"No se puede realizar esta operaci\xF3n en varias \xE1reas de selecci\xF3n, selecciona una \xFAnica \xE1rea y vuelve a intentarlo",tipNoMultiColumn:"Solo se puede convertir una columna de datos a la vez. El \xE1rea seleccionado puede tener varias filas, pero no varias columnas. Vuelve a intentarlo despu\xE9s de seleccionar un solo rango de columnas"},imageText:{imageSetting:"Configuraci\xF3n de imagen",close:"Cerrar",conventional:"Convencional",moveCell1:"Mover y cambiar el tama\xF1o de las celdas",moveCell2:"Mover y no cambiar el tama\xF1o de la celda",moveCell3:"No mover ni cambiar el tama\xF1o de la celda",fixedPos:"Posici\xF3n fija",border:"Borde",width:"Ancho",radius:"Radio",style:"Estilo",solid:"S\xF3lido",dashed:"Discontinua",dotted:"Punteado",double:"Doble",color:"Color"},punctuation:{tab:"Tabulaci\xF3n",semicolon:"punto y coma",comma:"coma",space:"espacio"},findAndReplace:{find:"Encontrar",replace:"Reemplazar",goto:"Ir a",location:"Ubicaci\xF3n",formula:"F\xF3rmula",date:"Fecha",number:"N\xFAmero",string:"Texto",error:"Error",condition:"Condici\xF3n",rowSpan:"Intervalo de filas",columnSpan:"Intervalo de columnas",locationExample:"Ubicaci\xF3n",lessTwoRowTip:"Selecciona al menos dos filas",lessTwoColumnTip:"Selecciona al menos dos columnas",findTextbox:"Encontrar Contenido",replaceTextbox:"Reemplazar Contenido",regexTextbox:"Expresi\xF3n Regular",wholeTextbox:"Palabra entera",distinguishTextbox:"Distingue may\xFAsculas y min\xFAsculas",allReplaceBtn:"Reemplazar Todo",replaceBtn:"Reemplazar",allFindBtn:"Encontrar Todo",findBtn:"Encontrar siguiente",noFindTip:"No se encontr\xF3 el contenido",modeTip:"Esta operaci\xF3n no est\xE1 disponible en este modo",searchTargetSheet:"Hoja",searchTargetCell:"Celda",searchTargetValue:"Valor",searchInputTip:"Introduce el contenido de la b\xFAsqueda",noReplceTip:"No hay nada que reemplazar",noMatchTip:"No se encontraron coincidencias",successTip:"${xlength} elementos encontrados",locationConstant:"Constante",locationFormula:"F\xF3rmula",locationDate:"Fecha",locationDigital:"N\xFAmero",locationString:"Texto",locationBool:"L\xF3gicos",locationError:"Error",locationNull:"Nulo",locationCondition:"Formato condicional",locationRowSpan:"Intervalo fila",locationColumnSpan:"Intervalo columna",locationTiplessTwoRow:"Selecciona al menos dos filas",locationTiplessTwoColumn:"Selecciona al menos dos columnas",locationTipNotFindCell:"Celda no encontrada"},sheetconfig:{delete:"Eliminar",copy:"Copiar",rename:"Renombrar",changeColor:"Cambiar color",hide:"Ocultar",unhide:"Mostrar",moveLeft:"Mover izquierda",moveRight:"Mover derecja",resetColor:"Reiniciar color",cancelText:"Cancelar",chooseText:"Confirmar color",tipNameRepeat:"\xA1El nombre de la p\xE1gina de la pesta\xF1a no se puede repetir! Rev\xEDsalo",noMoreSheet:"El libro de trabajo contiene al menos una hoja de trabajo visual. Para eliminar la hoja de trabajo seleccionada, inserta una nueva hoja de trabajo o muestra una hoja de trabajo oculta",confirmDelete:"\xBFEst\xE1s seguro de eliminar",redoDelete:"Se puede deshacer con Ctrl+Z",noHide:"No se puede ocultar, al menos conserva una etiqueta de hoja",chartEditNoOpt:"\xA1Esta operaci\xF3n no est\xE1 permitida en el modo de edici\xF3n de gr\xE1ficos!",sheetNameSpecCharError:`El nombre no puede contener:[ ] : ? * / ' "`,sheetNamecannotIsEmptyError:"El nombre de la hoja no puede estar vac\xEDo"},conditionformat:{conditionformat_greaterThan:"Conditionformat-GreaterThan",conditionformat_greaterThan_title:"Dar formato a celdas mayores que",conditionformat_lessThan:"Conditionformat-LessThan",conditionformat_lessThan_title:"Dar formato a celdas m\xE1s peque\xF1as que",conditionformat_betweenness:"Conditionformat-Betweenness",conditionformat_betweenness_title:"Dar formato a celdas con valores entre",conditionformat_equal:"Conditionformat-Equal",conditionformat_equal_title:"Dar formato a celdas iguales a",conditionformat_textContains:"Conditionformat-TextContains",conditionformat_textContains_title:"Dar formato a las celdas que contienen el siguiente texto",conditionformat_occurrenceDate:"Conditionformat-OccurrenceDate",conditionformat_occurrenceDate_title:"Dar formato a celdas que contienen las siguientes fechas",conditionformat_duplicateValue:"Conditionformat-DuplicateValue",conditionformat_duplicateValue_title:"Dar formato a celdas que contienen los siguientes tipos de valores",conditionformat_top10:"Conditionformat-Top10",conditionformat_top10_percent:"Conditionformat-Top10%",conditionformat_top10_title:"Formatea las celdas con el valor m\xE1s alto",conditionformat_last10:"Conditionformat-Last10",conditionformat_last10_percent:"Conditionformat-Last10%",conditionformat_last10_title:"Formatea las celdas con el valor m\xE1s peque\xF1o",conditionformat_AboveAverage:"Conditionformat-AboveAverage",conditionformat_AboveAverage_title:"Dar formato a celdas por encima del promedio",conditionformat_SubAverage:"Conditionformat-SubAverage",conditionformat_SubAverage_title:"Dar formato a celdas por debajo del promedio",rule:"Regla",newRule:"Nueva regla",editRule:"Editar regla",deleteRule:"Eliminar regla",deleteCellRule:"Eliminar regla de celda",deleteSheetRule:"Eliminar regla de hoja",manageRules:"Reglas administraci\xF3n",showRules:"Muestra sus reglas de formato",highlightCellRules:"Resaltar reglas de celda",itemSelectionRules:"Reglas de selecci\xF3n de elementos",conditionformatManageRules:"Administrador de reglas de formato condicional",format:"Formatear",setFormat:"Establecer formato",setAs:"Establecer como",setAsByArea:"Para el \xE1rea seleccionada, establecer",applyRange:"Aplicar rango",selectRange:"Seleccionar rango de aplicaci\xF3n",selectRange_percent:"Porcentaje del rango seleccionado",selectRange_average:"Valor promedio del rango seleccionado",selectRange_value:"Valor en el rango seleccionado",pleaseSelectRange:"Selecciona el rango de aplicaci\xF3n",selectDataRange:"Seleccionar rango de datos",selectCell:"seleccionar celda",pleaseSelectCell:"Selecciona una celda",pleaseSelectADate:"Selecciona una fecha",pleaseEnterInteger:"Introduzca un n\xFAmero entero entre 1 y 1000",onlySingleCell:"Solo se puede hacer referencia a una sola celda",conditionValueCanOnly:"El valor de la condici\xF3n solo puede ser un n\xFAmero o una sola celda",ruleTypeItem1:"Aplicar formato a todas las celdas seg\xFAn sus valores respectivos",ruleTypeItem2:"Solo formatear celdas que contengan",ruleTypeItem2_title:"Solo para celdas que cumplan las siguientes condiciones",ruleTypeItem3:"Aplicar formato solo a los n\xFAmeros superiores o inferiores",ruleTypeItem3_title:"Es el valor en la siguiente clasificaci\xF3n",ruleTypeItem4:"Aplicar formato solo a los valores superiores o inferiores al promedio",ruleTypeItem4_title:"Es un valor que cumple las siguientes condiciones",ruleTypeItem5:"Aplicar formato solo a valores \xFAnicos o repetidos",ruleTypeItem6:"Use f\xF3rmulas para determinar qu\xE9 celdas formatear",formula:"f\xF3rmula",textColor:"Color Texto",cellColor:"Color Celda",confirm:"Confirma",confirmColor:"Confirma color",cancel:"Cancela",close:"Cierra",clearColorSelect:"Limpiar selecci\xF3n de color",sheet:"Hoja",currentSheet:"Hoja actual",dataBar:"Barra de datos",dataBarColor:"Color barra de datos",gradientDataBar_1:"Barra de datos de degradado azul-blanco",gradientDataBar_2:"Barra de datos de degradado verde-blanco",gradientDataBar_3:"Barra de datos de degradado rojo-blanco",gradientDataBar_4:"Rayas de degradado de color naranja-blanco",gradientDataBar_5:"Rayas de degradado azul claro-blancas",gradientDataBar_6:"Barra de datos de degradado p\xFArpura-blanco",solidColorDataBar_1:"Barra de datos azul",solidColorDataBar_2:"Barra de datos verde",solidColorDataBar_3:"Barra de datos roja",solidColorDataBar_4:"Barra de datos naranja",solidColorDataBar_5:"Barra de datos azul claro",solidColorDataBar_6:"Barra de datos p\xFArpura",colorGradation:"Degradado de color",colorGradation_1:"Gradaci\xF3n de color verde-amarillo-rojo",colorGradation_2:"Gradaci\xF3n de color rojo-amarillo-verde",colorGradation_3:"Gradaci\xF3n de color verde-blanco-rojo",colorGradation_4:"Gradaci\xF3n de color rojo-blanco-verde",colorGradation_5:"Gradaci\xF3n de color azul-blanco-rojo",colorGradation_6:"Gradaci\xF3n de color rojo-blanco-azul",colorGradation_7:"Gradaci\xF3n de color blanco-rojo",colorGradation_8:"Gradaci\xF3n de color rojo-blanco",colorGradation_9:"Gradaci\xF3n de color verde-blanco",colorGradation_10:"Gradaci\xF3n de color blanco-verde",colorGradation_11:"Gradaci\xF3n de color verde-amarillo",colorGradation_12:"Gradaci\xF3n de color amarillo-verde",icons:"iconos",pleaseSelectIcon:"Haz clic para seleccionar un grupo de iconos:",cellValue:"Valor de celda",specificText:"Texto espec\xEDfico",occurrence:"Fecha",greaterThan:"Mayor que",lessThan:"Menor que",between:"Entre",equal:"Igual",in:"En",between2:"",contain:"Contiene",textContains:"Texto contiene",duplicateValue:"Valor duplicado",uniqueValue:"Valor Unico",top:"Mejor",top10:"10 mejores",top10_percent:"10% mejores",last:"Ultimo",last10:"Ultimos 10",last10_percent:"Ultimos 10%",oneself:"",above:"Encima",aboveAverage:"Encima media",below:"Debajo",belowAverage:"Debajo media",all:"Todos",yesterday:"A\xF1o a fecha",today:"Hoy",tomorrow:"Ma\xF1ana",lastWeek:"Ultima semana",thisWeek:"Esta semana",lastMonth:"Ultimo mes",thisMonth:"Este mes",lastYear:"Ultimo a\xF1o",thisYear:"Este a\xF1o",last7days:"Ultimos 7 d\xEDas",last30days:"Ultimos 30 d\xEDas",next7days:"Siguientes 7 d\xEDas",next30days:"Siguientes 30 d\xEDas",next60days:"Siguientes 60 d\xEDas",chooseRuleType:"Elige el tipo de regla",editRuleDescription:"Editar descripci\xF3n de regla",newFormatRule:"Nueva regla de formato",editFormatRule:"Editar regla de formato",formatStyle:"Estilo",fillType:"Rellenar",color:"Color",twocolor:"Dos colores",tricolor:"Tricolor",multicolor:"Multi color",grayColor:"Color gris",gradient:"Gradiente",solid:"S\xF3lido",maxValue:"Valor m\xE1ximo",medianValue:"Valor mediano",minValue:"Valor m\xEDnimo",direction:"Direcci\xF3n",threeWayArrow:"Flecha de tres direcciones",fourWayArrow:"Flecha de cuatro direcciones",fiveWayArrow:"Flecha de cinco direcciones",threeTriangles:"Tres tri\xE1ngulos",shape:"Forma",threeColorTrafficLight:"Sem\xE1foro de tres colores",fourColorTrafficLight:"Sem\xE1foro de cuatro colores",threeSigns:"Tres signos",greenRedBlackGradient:"Gradiente verde-rojo-negro",rimless:"Sin aros",bordered:"Bordeado",mark:"Marcar",threeSymbols:"Tres s\xEDmbolos",tricolorFlag:"Bandera tricolor",circled:"Rodeado",noCircle:"Sin c\xEDrculo",grade:"Grado",grade4:"4 Grado",grade5:"5 Grado",threeStars:"3 Estrellas",fiveQuadrantDiagram:"Diagrama de cinco cuadrantes",fiveBoxes:"5 Cajas"},dataVerification:{cellRange:"Rango celdas",selectCellRange:"Haz clic para seleccionar un rango de celdas",selectCellRange2:"Selecciona un rango de celdas",verificationCondition:"Condici\xF3n de verificaci\xF3n",allowMultiSelect:"Permitir selecci\xF3n m\xFAltiple",dropdown:"lista desplegable",checkbox:"Casilla de verificaci\xF3n",number:"N\xFAmero",number_integer:"N\xFAmero entero",number_decimal:"N\xFAmero decimal",text_content:"Contenido texto",text_length:"Longitud texto",date:"Fecha",validity:"Eficacia",placeholder1:"Introduce las opciones, separadas por comas, como 1,2,3,4,5",placeholder2:"Introduce contenido",placeholder3:"Valor num\xE9rico, como 10",placeholder4:"Introduce el texto especificado",placeholder5:"Introduce el mensaje que se muestra cuando se selecciona la celda",selected:"Seleccionado",notSelected:"No seleccionado",between:"Entre",notBetween:"No entre",equal:"Iqual",notEqualTo:"No iqual a",moreThanThe:"M\xE1s que el",lessThan:"Menos que",greaterOrEqualTo:"Mayor o igual a",lessThanOrEqualTo:"Menor o igual a",include:"Incluir",exclude:"Excluir",earlierThan:"Antes de",noEarlierThan:"No antes de",laterThan:"Despu\xE9s de",noLaterThan:"No despu\xE9s de",identificationNumber:"N\xFAmero de identificaci\xF3n",phoneNumber:"N\xFAmero de tel\xE9fono",remote:"Opci\xF3n de adquisici\xF3n remota autom\xE1tica",prohibitInput:"Prohibir la entrada cuando los datos de entrada no son v\xE1lidos",hintShow:"Mostrar mensaje cuando se selecciona la celda",deleteVerification:"Eliminar verificaci\xF3n",tooltipInfo1:"La opci\xF3n de la lista desplegable no puede estar vac\xEDa",tooltipInfo2:"El contenido de la casilla de verificaci\xF3n no puede estar vac\xEDo",tooltipInfo3:"El valor ingresado no es un tipo num\xE9rico",tooltipInfo4:"El segundo valor no puede ser menor que el primero",tooltipInfo5:"El contenido del texto no puede estar vac\xEDo",tooltipInfo6:"El valor ingresado no es una fecha",tooltipInfo7:"La segunda fecha no puede ser menor que la primera",textlengthInteger:"La longitud del texto debe ser un entero mayor o igual a 0"},formula:{sum:"Suma",average:"Media",count:"Contar",max:"M\xE1x",min:"M\xEDn",ifGenerate:"Generador de f\xF3rmula SI",find:"Aprender m\xE1s",tipNotBelongToIf:"\xA1Esta funci\xF3n de celda no pertenece a la f\xF3rmula SI!",tipSelectCell:"Selecciona la celda para insertar la funci\xF3n",ifGenCompareValueTitle:"Valor de comparaci\xF3n",ifGenSelectCellTitle:"Haz click para seleccionar una celda",ifGenRangeTitle:"Rango",ifGenRangeTo:"a",ifGenRangeEvaluate:"Evaluar rango",ifGenSelectRangeTitle:"Haz click para seleccionar rango",ifGenCutWay:"Forma particionado",ifGenCutSame:"Mismo valor de particionado",ifGenCutNpiece:"Particionar por N",ifGenCutCustom:"Personalizado",ifGenCutConfirm:"Confirma",ifGenTipSelectCell:"Selecciona celdas",ifGenTipSelectCellPlace:"Por favor selecciona celdas",ifGenTipSelectRange:"Selecciona rango",ifGenTipSelectRangePlace:"Por favor selecciona rango",ifGenTipNotNullValue:"El valor de comparaci\xF3n no puede ser vac\xEDo!",ifGenTipLableTitile:"Etiqueta",ifGenTipRangeNotforNull:"El rango no puede quedar vac\xEDo!",ifGenTipCutValueNotforNull:"El valor de partici\xF3n no puede ser vac\xEDo!",ifGenTipNotGenCondition:"No hay condiciones disponibles para la generaci\xF3n!"},formulaMore:{valueTitle:"Valor",tipSelectDataRange:"Selecciona rango de datos",tipDataRangeTile:"Rango de datos",findFunctionTitle:"Funci\xF3n de b\xFAsqueda",tipInputFunctionName:"Nombre o breve descripci\xF3n de la funci\xF3n",Array:"Vector",Database:"Base de datos",Date:"Fecha",Engineering:"Ingenier\xEDa",Filter:"Filtro",Financial:"Financiero",luckysheet:"Luckysheet",other:"Otro",Logical:"L\xF3gica",Lookup:"B\xFAsqueda",Math:"Matem\xE1tico",Operator:"Operadores",Parser:"Compilador",Statistical:"Estad\xEDstico",Text:"Texto",dataMining:"Miner\xEDa de datos",selectFunctionTitle:"Selecciona una funci\xF3n",calculationResult:"Resultado",tipSuccessText:"Exito",tipParamErrorText:"Par\xE1metro err\xF3neo",helpClose:"Cerrar",helpCollapse:"Recoger",helpExample:"Ejemplo",helpAbstract:"Resumen",execfunctionError:"Error en la f\xF3rmula",execfunctionSelfError:"La f\xF3rmula no puede hacer referencia a su propia celda",execfunctionSelfErrorResult:"La f\xF3rmula no puede hacer referencia a su propia celda, lo que dar\xE1 lugar a resultados de c\xE1lculo inexactos",allowRepeatText:"Repetir",allowOptionText:"Opci\xF3n",selectCategory:"O selecciona una categor\xEDa"},drag:{noMerge:"No se puede realizar esta operaci\xF3n en celdas combinadas",afectarPivot:"\xA1Este cambio no se puede realizar en la celda seleccionada porque afectar\xE1 a la tabla din\xE1mica!",noMulti:"No se puede realizar esta operaci\xF3n en varias \xE1reas de selecci\xF3n, selecciona una sola \xE1rea",noPaste:"No se puede pegar este contenido aqu\xED, selecciona una celda en el \xE1rea de pegado e intenta pegar nuevamente",noPartMerge:"No se puede realizar esta operaci\xF3n en celdas parcialmente fusionadas",inputCorrect:"Introduce el valor correcto",notLessOne:"El n\xFAmero de filas y columnas no puede ser inferior a 1",offsetColumnLessZero:"\xA1La columna de desplazamiento no puede ser negativa!",pasteMustKeybordAlert:"\u5728\u8868\u683C\u4E2D\u8FDB\u884C\u590D\u5236\u7C98\u8D34: Ctrl + C \u8FDB\u884C\u590D\u5236, Ctrl + V \u8FDB\u884C\u7C98\u8D34, Ctrl + X \u8FDB\u884C\u526A\u5207",pasteMustKeybordAlertHTMLTitle:"\u5728\u8868\u683C\u4E2D\u8FDB\u884C\u590D\u5236\u7C98\u8D34",pasteMustKeybordAlertHTML:"<span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + C</span>&nbsp;&nbsp;\u8FDB\u884C\u590D\u5236<br/><span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + V</span>&nbsp;&nbsp;\u8FDB\u884C\u7C98\u8D34<br/><span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + X</span>&nbsp;&nbsp;\u8FDB\u884C\u526A\u5207"},paste:{warning:"Advertencia",errorNotAllowMulti:"No se puede realizar esta operaci\xF3n en varias \xE1reas de selecci\xF3n, selecciona un solo rango y vuelve a intentarlo",errorNotAllowMerged:"No se pueden realizar cambios parciales en las celdas fusionadas"},pivotTable:{title:"Tabla Din\xE1mica",closePannel:"Cerrar",editRange:"Rango",tipPivotFieldSelected:"Selecciona los campos",tipClearSelectedField:"Limpiar todos los campos",btnClearSelectedField:"Limpiar",btnFilter:"Filtrar",titleRow:"Fila",titleColumn:"Columna",titleValue:"Valor",tipShowColumn:"Los campos de estad\xEDsticas se muestran como columnas",tipShowRow:"Los campos de estad\xEDsticas se muestran como filas",titleSelectionDataRange:"Selecciona rango",titleDataRange:"Rango de datos",valueSum:"SUMA",valueStatisticsSUM:"Suma",valueStatisticsCOUNT:"Contar",valueStatisticsCOUNTA:"Contar A",valueStatisticsCOUNTUNIQUE:"Contar Distintos",valueStatisticsAVERAGE:"Media",valueStatisticsMAX:"M\xE1x",valueStatisticsMIN:"M\xEDn",valueStatisticsMEDIAN:"Mediana",valueStatisticsPRODUCT:"Producto",valueStatisticsSTDEV:"Desviaci\xF3n Est\xE1ndar",valueStatisticsSTDEVP:"Stdevp",valueStatisticslet:"Varianza",valueStatisticsVARP:"VarP",errorNotAllowEdit:"\xA1Esta operaci\xF3n est\xE1 prohibida en el modo sin edici\xF3n!",errorNotAllowMulti:"No se puede realizar esta operaci\xF3n en varias \xE1reas de selecci\xF3n, selecciona un solo rango y vuelve a intentarlo",errorSelectRange:"Seleccione el rango de la nueva tabla din\xE1mica",errorIsDamage:"\xA1Los datos de origen de esta tabla din\xE1mica est\xE1n da\xF1ados!",errorNotAllowPivotData:"\xA1No se puede seleccionar la tabla din\xE1mica como datos de origen!",errorSelectionRange:"\xA1La selecci\xF3n fall\xF3, rango de entrada incorrecto!",errorIncreaseRange:"\xA1Por favor, expande el rango seleccionado!",titleAddColumn:"A\xF1adir columna a la tabla din\xE1mica",titleMoveColumn:"Muever la columna a la celda en blanco de abajo",titleClearColumnFilter:"Quitar el filtro de esta columna",titleFilterColumn:"Filtro",titleSort:"Ordenar",titleNoSort:"No Ordenar",titleSortAsc:"ASC",titleSortDesc:"DESC",titleSortBy:"Ordenar por",titleShowSum:"Mostrar total",titleStasticTrue:"S\xED",titleStasticFalse:"No"},dropCell:{copyCell:"Copiar",sequence:"Secuencia",onlyFormat:"Solo formato",noFormat:"Sin formato",day:"D\xEDa",workDay:"D\xEDa Laborable",month:"Mes",year:"A\xF1o",chineseNumber:"N\xFAmeros Chinos"},imageCtrl:{borderTile:"Color de borde de imagen",borderCur:"Color"},protection:{protectiontTitle:"Protecci\xF3n",enterPassword:"Introduce una contrase\xF1a (opcional)",enterHintTitle:"Preguntar cuando la edici\xF3n est\xE1 prohibida (opcional)",enterHint:"La celda o el gr\xE1fico que est\xE1s intentando cambiar se encuentra en una hoja de trabajo protegida. Si quieres cambiarlo, desprotege la hoja de trabajo. Es posible que tengas que ingresar una contrase\xF1a",swichProtectionTip:"Protege la hoja y el contenido de las celdas bloqueadas",authorityTitle:"Permitir a los usuarios de esta hoja:",selectLockedCells:"Selecciona celdas bloqueadas",selectunLockedCells:"Selecciona celdas desbloqueadas",formatCells:"Formatear celdas",formatColumns:"Formatear columnas",formatRows:"Formatear filas",insertColumns:"Insertar columnas",insertRows:"Insertar filas",insertHyperlinks:"Insertar enlaces",deleteColumns:"Eliminar columnas",deleteRows:"Eliminar filas",sort:"Ordenar",filter:"Filtrar",usePivotTablereports:"Usar informes de tabla din\xE1mica",editObjects:"Editar objetos",editScenarios:"Editar escenarios",allowRangeTitle:"Permitir a los usuarios del rango:",allowRangeAdd:"Nuevo...",allowRangeAddTitle:"T\xEDtulo",allowRangeAddSqrf:"Referencia",selectCellRange:"Haz clic para seleccionar un rango de celdas",selectCellRangeHolder:"Rango de celdas",allowRangeAddTitlePassword:"Contrase\xF1a",allowRangeAddTitleHint:"Pregunta",allowRangeAddTitleHintTitle:"Preguntar cuando hay una contrase\xF1a (opcional)",allowRangeAddtitleDefault:"Nombre del rango de entrada",rangeItemDblclick:"Haz doble clic para editar",rangeItemHasPassword:"Tiene contrase\xF1a",rangeItemErrorTitleNull:"El t\xEDtulo es nulo",rangeItemErrorRangeNull:"La referencia es nula",rangeItemErrorRange:"La reference tiene un error",validationTitle:"Validaci\xF3n de contrase\xF1a",validationTips:"Hay que ingresar una contrase\xF1a para desbloquear la protecci\xF3n de la hoja de trabajo",validationInputHint:"Introduce una contrase\xF1a",checkPasswordNullalert:"Contrase\xF1a requerida!",checkPasswordWrongalert:"\xA1Contrase\xF1a incorrecta. Por favor, prueba de nuevo!",checkPasswordSucceedalert:"Desbloqueo conseguido!",defaultRangeHintText:"La celda est\xE1 protegida con contrase\xF1a.",defaultSheetHintText:"La celda o el gr\xE1fico est\xE1n en una hoja de trabajo protegida. Para realizar cambios, desprotege la hoja de trabajo. Es posible que tengas que ingresar una contrase\xF1a"},cellFormat:{cellFormatTitle:"Formatear celdas",protection:"Protecci\xF3n",locked:"Bloqueado",hidden:"Escondido",protectionTips:"Para bloquear celdas u ocultar f\xF3rmulas, protege la hoja de trabajo. En la barra de herramientas, haz clic en el bot\xF3n Proteger hoja",tipsPart:"Comprobado parcial",tipsAll:"Todo seleccionado",selectionIsNullAlert:"Se requiere una selecci\xF3n!",sheetDataIsNullAlert:"error, no hay datos!"},print:{normalBtn:"Normal",layoutBtn:"Disposici\xF3n de p\xE1gina",pageBtn:"Previsualizaci\xF3n de saltos de p\xE1gina",menuItemPrint:"Imprimir (Ctrl+P)",menuItemAreas:"Imprimir \xE1reas",menuItemRows:"Imprimir t\xEDtulos de filas",menuItemColumns:"Imprimir t\xEDtulos de columnas"},edit:{typing:"mecanograf\xEDa"},websocket:{success:"\xC9xito de la conexi\xF3n de WebSocket",refresh:"Se produjo un error en la conexi\xF3n de WebSocket, \xA1actualice la p\xE1gina!",wait:"Se produjo un error en la conexi\xF3n de WebSocket, \xA1tenga paciencia!",close:"Conexi\xF3n WebSocket cerrada",contact:"Ocurri\xF3 un error de comunicaci\xF3n con el servidor, actualice la p\xE1gina y vuelva a intentarlo; de lo contrario, comun\xEDquese con el administrador.",support:"El navegador actual no es compatible con WebSocket"},exportXlsx:{notice:"Configure el complemento de exportaci\xF3n",serverError:"El servidor est\xE1 en mantenimiento",title:"Exportar XLSX",range:"alcance",currentSheet:"Hoja de trabajo actual",allSheets:"Todas las hojas"}}});var _u,Cu=$e(()=>{_u={functionlist:{SUMIF:{d:"\u5C0D\u7BC4\u570D\u4E2D\u7B26\u5408\u6307\u5B9A\u689D\u4EF6\u7684\u503C\u6C42\u548C\u3002",a:"\u5C0D\u7BC4\u570D\u4E2D\u7B26\u5408\u6307\u5B9A\u689D\u4EF6\u7684\u503C\u6C42\u548C\u3002",p:[{name:"\u7BC4\u570D",detail:"\u8981\u6839\u64DA\u689D\u4EF6\u9032\u884C\u6AA2\u6E2C\u7684\u7BC4\u570D\u3002"},{name:"\u689D\u4EF6",detail:`\u8981\u61C9\u7528\u65BC\u7BC4\u570D\u7684\u6A21\u5F0F\u6216\u6E2C\u8A66\u689D\u4EF6\u3002
  471. \u5982\u679C\u7BC4\u570D\u5305\u542B\u7684\u662F\u8981\u6AA2\u6E2C\u7684\u6587\u5B57,\u5247\u689D\u4EF6\u5FC5\u9808\u70BA\u5B57\u4E32\u3002\u689D\u4EF6\u53EF\u4EE5\u5305\u542B\u842C\u7528\u5B57\u5143,\u5305\u62EC\u7528\u65BC\u5339\u914D\u55AE\u500B\u5B57\u5143\u7684\uFF1F\u6216\u7528\u65BC\u5339\u914D\u96F6\u500B\u6216\u9023\u7E8C\u591A\u500B\u5B57\u5143\u7684*\u3002\u8981\u5339\u914D\u554F\u865F\u661F\u865F\u672C\u8EAB,\u8ACB\u5728\u8A72\u5B57\u5143\u524D\u9762\u52A0\u4E0A\u6CE2\u6D6A\u865F\uFF08~\uFF09\u9996\u78BC\uFF08\u5373~\uFF1F\u548C~*\uFF09\u3002\u5B57\u4E32\u689D\u4EF6\u5FC5\u9808\u7528\u5F15\u865F\u62EC\u8D77\u4F86\u3002\u51FD\u6578\u6703\u6AA2\u67E5\u7BC4\u570D\u4E2D\u7684\u6BCF\u500B\u5132\u5B58\u683C\u8207\u689D\u4EF6\u662F\u5426\u76F8\u7B49\u6216\u5339\u914D\uFF08\u5982\u679C\u4F7F\u7528\u4E86\u842C\u7528\u5B57\u5143\uFF09\u3002
  472. \u5982\u679C\u7BC4\u570D\u5305\u542B\u7684\u662F\u8981\u6AA2\u6E2C\u7684\u6578\u4F4D,\u5247\u689D\u4EF6\u53EF\u4EE5\u662F\u5B57\u4E32\u4E5F\u53EF\u4EE5\u662F\u6578\u4F4D\u3002\u5982\u679C\u7D66\u5B9A\u7684\u689D\u4EF6\u662F\u4E00\u500B\u6578\u4F4D,\u5247\u6AA2\u67E5\u7BC4\u570D\u4E2D\u7684\u6BCF\u500B\u5132\u5B58\u683C\u662F\u5426\u7B49\u65BC\u689D\u4EF6\u3002\u53E6\u5916,\u689D\u4EF6\u4E5F\u53EF\u80FD\u662F\u5305\u542B\u6578\u4F4D\u7684\u5B57\u4E32\uFF08\u4E5F\u5C07\u5C0D\u5176\u9032\u884C\u76F8\u7B49\u6AA2\u6E2C\uFF09,\u6216\u8005\u5E36\u6709\u4EE5\u4E0B\u9996\u78BC\u7684\u6578\u4F4D:=\uFF08\u6AA2\u67E5\u662F\u5426\u76F8\u7B49\uFF09\u3001>\uFF08\u6AA2\u67E5\u7BC4\u570D\u5132\u5B58\u683C\u7684\u503C\u662F\u5426\u5927\u65BC\u689D\u4EF6\u503C\uFF09\u6216<\uFF08\u6AA2\u67E5\u7BC4\u570D\u5132\u5B58\u683C\u7684\u503C\u662F\u5426\u5C0F\u65BC\u689D\u4EF6\u503C\uFF09`},{name:"\u6C42\u548C\u7BC4\u570D",detail:"\u8981\u6C42\u548C\u7684\u7BC4\u570D\uFF08\u5982\u679C\u8207\u7BC4\u570D\u4E0D\u540C\uFF09\u3002"}]},TAN:{d:"\u8FD4\u56DE\u5DF2\u77E5\u89D2\u5EA6\u7684\u6B63\u5207\u503C\u3002",a:"\u8FD4\u56DE\u5DF2\u77E5\u89D2\u5EA6\u7684\u6B63\u5207\u503C\u3002",p:[{name:"\u89D2\u5EA6",detail:"\u8981\u6C42\u5176\u6B63\u5207\u503C\u7684\u89D2\u5EA6,\u4EE5\u5F27\u5EA6\u8868\u793A\u3002"}]},TANH:{d:"\u8FD4\u56DE\u7D66\u5B9A\u5BE6\u6578\u7684\u96D9\u66F2\u6B63\u5207\u503C\u3002",a:"\u8FD4\u56DE\u7D66\u5B9A\u5BE6\u6578\u7684\u96D9\u66F2\u6B63\u5207\u503C\u3002",p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u5176\u96D9\u66F2\u6B63\u5207\u503C\u7684\u5BE6\u6578\u3002"}]},CEILING:{d:"\u5C07\u6578\u503C\u5411\u4E0A\u53D6\u6574\u70BA\u6700\u63A5\u8FD1\u7684\u6307\u5B9A\u56E0\u6578\u7684\u500D\u6578\u3002",a:"\u5C07\u6578\u503C\u5411\u4E0A\u53D6\u6574\u70BA\u6700\u63A5\u8FD1\u7684\u6307\u5B9A\u56E0\u6578\u7684\u500D\u6578\u3002",p:[{name:"\u503C",detail:"\u8981\u5411\u4E0A\u820D\u5165\u7684\u6578\u503C\u3002"},{name:"\u56E0\u6578",detail:"\u8981\u5C07\u503C\u820D\u5165\u5230\u6B64\u6578\u7684\u6574\u6578\u500D\u3002"}]},ATAN:{d:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u6B63\u5207\u503C,\u4EE5\u5F27\u5EA6\u8868\u793A\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u6B63\u5207\u503C",p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u5176\u53CD\u6B63\u5207\u503C\u7684\u6578\u503C\u3002"}]},ASINH:{d:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u96D9\u66F2\u6B63\u5F26\u503C\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u96D9\u66F2\u6B63\u5F26\u503C\u3002",p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u5176\u53CD\u96D9\u66F2\u6B63\u5F26\u503C\u7684\u6578\u503C\u3002"}]},ABS:{d:"\u8FD4\u56DE\u6578\u503C\u7684\u7D55\u5C0D\u503C\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u7D55\u5C0D\u503C\u3002",p:[{name:"value",detail:"\u8981\u8FD4\u56DE\u5176\u7D55\u5C0D\u503C\u7684\u6578\u3002"}]},ACOS:{d:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u4F59\u5F26\u503C,\u4EE5\u5F27\u5EA6\u8868\u793A\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u4F59\u5F26\u503C",p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u5176\u53CD\u4F59\u5F26\u503C\u7684\u6578\u503C\u3002\u5FC5\u9808\u4ECB\u65BC-1\u548C1\u4E4B\u9593,\u5305\u62EC\u5169\u7AEF\u503C\u3002"}]},ACOSH:{d:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u96D9\u66F2\u4F59\u5F26\u503C\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u96D9\u66F2\u4F59\u5F26\u503C\u3002",p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u5176\u53CD\u96D9\u66F2\u4F59\u5F26\u503C\u7684\u6578\u503C\u3002\u5FC5\u9808\u5927\u65BC\u7B49\u65BC1\u3002"}]},MULTINOMIAL:{d:"\u8FD4\u56DE\u53C3\u6578\u548C\u7684\u968E\u4E58\u9664\u4EE5\u5404\u53C3\u6578\u968E\u4E58\u7684\u4E58\u7A4D\u5F8C\u5F97\u5230\u7684\u503C\u3002",a:"\u8FD4\u56DE\u53C3\u6578\u548C\u7684\u968E\u4E58\u9664\u4EE5\u5404\u53C3\u6578\u968E\u4E58\u7684\u4E58\u7A4D\u5F8C\u5F97\u5230\u7684\u503C\u3002",p:[{name:"\u503C1",detail:"\u7528\u65BC\u8A08\u7B97\u7684\u7B2C\u4E00\u9805\u6578\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2",detail:"\u7528\u65BC\u8A08\u7B97\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002"}]},ATANH:{d:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u96D9\u66F2\u6B63\u5207\u503C\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u96D9\u66F2\u6B63\u5207\u503C\u3002",p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u5176\u53CD\u96D9\u66F2\u6B63\u5207\u503C\u7684\u6578\u503C\u3002\u5FC5\u9808\u4ECB\u65BC-1\u548C1\u4E4B\u9593\uFF08\u4E0D\u5305\u62EC-1\u548C1\uFF09\u3002"}]},ATAN2:{d:"\u4EE5\u5F27\u5EA6\u70BA\u7D44\u7E54\u8FD4\u56DEx\u8EF8\u8207\u5F9E\u539F\u9EDE\uFF080,0\uFF09\u5230\u6307\u5B9A\u5EA7\u6A19\u9EDE\uFF08`x`,`y`\uFF09\u4E4B\u9593\u9023\u7DDA\u7684\u593E\u89D2\u3002",a:"\u4EE5\u5F27\u5EA6\u70BA\u7D44\u7E54\u8FD4\u56DEx\u8EF8\u8207\u5F9E\u539F\u9EDE\uFF080,0\uFF09\u5230\u6307\u5B9A\u5EA7\u6A19\u9EDE\uFF08`x`,`y`\uFF09\u4E4B\u9593\u9023\u7DDA\u7684\u593E\u89D2\u3002",p:[{name:"x",detail:"\u8981\u8A08\u7B97\u5176\u8207x\u8EF8\u593E\u89D2\u5927\u5C0F\u7684\u7DDA\u6BB5\u7684\u7D42\u9EDEx\u5EA7\u6A19\u3002"},{name:"y",detail:"\u8981\u8A08\u7B97\u5176\u8207x\u8EF8\u593E\u89D2\u5927\u5C0F\u7684\u7DDA\u6BB5\u7684\u7D42\u9EDEy\u5EA7\u6A19\u3002"}]},COUNTBLANK:{d:"\u8FD4\u56DE\u7D66\u5B9A\u7BC4\u570D\u5167\u7684\u7A7A\u5132\u5B58\u683C\u6578\u3002",a:"\u8FD4\u56DE\u7D66\u5B9A\u7BC4\u570D\u5167\u7684\u7A7A\u5132\u5B58\u683C\u6578\u3002",p:[{name:"\u7BC4\u570D",detail:"\u8981\u7D71\u8A08\u7A7A\u767D\u5132\u5B58\u683C\u6578\u91CF\u7684\u7BC4\u570D\u3002"}]},COSH:{d:"\u8FD4\u56DE\u7D66\u5B9A\u5BE6\u6578\u7684\u96D9\u66F2\u4F59\u5F26\u503C\u3002",a:"\u8FD4\u56DE\u7D66\u5B9A\u5BE6\u6578\u7684\u96D9\u66F2\u4F59\u5F26\u503C\u3002",p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u5176\u96D9\u66F2\u4F59\u5F26\u503C\u7684\u5BE6\u6578\u503C\u3002"}]},INT:{d:"\u6578\u503C\u5411\u4E0B\u53D6\u6574\u70BA\u5C0F\u65BC\u6216\u7B49\u65BC\u8A72\u6578\u7684\u6700\u63A5\u8FD1\u7684\u6574\u6578\u3002",a:"\u6578\u503C\u5411\u4E0B\u53D6\u6574\u70BA\u5C0F\u65BC\u6216\u7B49\u65BC\u8A72\u6578\u7684\u6700\u63A5\u8FD1\u7684\u6574\u6578\u3002",p:[{name:"\u503C",detail:"\u8981\u5411\u4E0B\u53D6\u6574\u70BA\u6700\u63A5\u8FD1\u7684\u6574\u6578\u7684\u6578\u503C\u3002"}]},ISEVEN:{d:"\u6AA2\u67E5\u6240\u63D0\u4F9B\u7684\u6578\u503C\u662F\u5426\u70BA\u5076\u6578\u3002",a:"\u6AA2\u67E5\u6240\u63D0\u4F9B\u7684\u6578\u503C\u662F\u5426\u70BA\u5076\u6578\u3002",p:[{name:"\u503C",detail:`\u8981\u9A57\u8B49\u5176\u662F\u5426\u70BA\u5076\u6578\u7684\u6578\u503C\u3002
  473. \u5982\u679C\u503C\u70BA\u5076\u6578\u6216\u6307\u5411\u5305\u542B\u5076\u6578\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,ISEVEN\u5C07\u8FD4\u56DETRUE,\u5426\u5247\u8FD4\u56DEFALSE\u3002`}]},ISODD:{d:"\u6AA2\u67E5\u6240\u63D0\u4F9B\u7684\u6578\u503C\u662F\u5426\u70BA\u5947\u6578\u3002",a:"\u6AA2\u67E5\u6240\u63D0\u4F9B\u7684\u6578\u503C\u662F\u5426\u70BA\u5947\u6578\u3002",p:[{name:"\u503C",detail:`\u8981\u9A57\u8B49\u5176\u662F\u5426\u70BA\u5947\u6578\u7684\u6578\u503C\u3002
  474. \u5982\u679C\u503C\u70BA\u5947\u6578\u6216\u6307\u5411\u5305\u542B\u5947\u6578\u7684\u5132\u5B58\u683C,ISODD\u5C07\u8FD4\u56DETRUE,\u5426\u5247\u8FD4\u56DEFALSE\u3002`}]},LCM:{d:"\u8FD4\u56DE\u4E00\u500B\u6216\u591A\u500B\u6574\u6578\u7684\u6700\u5C0F\u516C\u500D\u6578\u3002",a:"\u8FD4\u56DE\u4E00\u500B\u6216\u591A\u500B\u6574\u6578\u7684\u6700\u5C0F\u516C\u500D\u6578\u3002",p:[{name:"\u503C1",detail:"\u8981\u5728\u6C42\u6700\u5C0F\u516C\u500D\u6578\u6578\u7684\u8A08\u7B97\u4E2D\u6AA2\u67E5\u5176\u56E0\u6578\u7684\u7B2C\u4E00\u9805\u6578\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2",detail:"[\u53EF\u9078] - \u5728\u6C42\u6700\u5C0F\u516C\u500D\u6578\u6642\u8981\u8003\u616E\u5176\u56E0\u6578\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002"}]},LN:{d:"\u8FD4\u56DE\u6578\u503C\u4EE5e\uFF08\u6B50\u62C9\u6578\uFF09\u70BA\u5E95\u7684\u5C0D\u6578\u3002",a:"\u8FD4\u56DE\u6578\u503C\u4EE5e\uFF08\u6B50\u62C9\u6578\uFF09\u70BA\u5E95\u7684\u5C0D\u6578\u3002",p:[{name:"\u503C",detail:`\u8981\u4EE5e\u70BA\u5E95\u6578\u8A08\u7B97\u5176\u5C0D\u6578\u7684\u503C\u3002
  475. \u503C\u5FC5\u9808\u70BA\u6B63\u6578\u3002`}]},LOG:{d:"\u6839\u64DA\u6307\u5B9A\u5E95\u6578\u8FD4\u56DE\u6578\u4F4D\u7684\u5C0D\u6578\u3002",a:"\u6839\u64DA\u6307\u5B9A\u5E95\u6578\u8FD4\u56DE\u6578\u4F4D\u7684\u5C0D\u6578\u3002",p:[{name:"\u503C",detail:"\u60F3\u8981\u8A08\u7B97\u5176\u5C0D\u6578\u7684\u6B63\u5BE6\u6578\u3002"},{name:"\u5E95\u6578",detail:"[\u53EF\u9078] - \u5C0D\u6578\u7684\u5E95\u6578\u3002"}]},LOG10:{d:"\u8FD4\u56DE\u6578\u503C\u4EE510\u70BA\u5E95\u7684\u5C0D\u6578\u3002",a:"\u8FD4\u56DE\u6578\u503C\u4EE510\u70BA\u5E95\u7684\u5C0D\u6578\u3002",p:[{name:"\u503C",detail:`\u8981\u8A08\u7B97\u5176\u4EE510\u70BA\u5E95\u7684\u5C0D\u6578\u7684\u6578\u503C\u3002
  476. \u503C\u5FC5\u9808\u70BA\u6B63\u503C\u3002`}]},MOD:{d:"\u8FD4\u56DE\u5169\u6578\u76F8\u9664\u7684\u9918\u6578,\u7D50\u679C\u7684\u7B26\u865F\u8207\u9664\u6578\u76F8\u540C\u3002",a:"\u8FD4\u56DE\u5169\u6578\u76F8\u9664\u7684\u9918\u6578\u3002",p:[{name:"\u88AB\u9664\u6578",detail:"\u8981\u5C07\u5176\u76F8\u9664\u4EE5\u5F97\u5230\u9918\u6578\u7684\u6578\u503C\u3002"},{name:"\u9664\u6578",detail:"\u7528\u65BC\u9664\u5176\u4ED6\u6578\u7684\u6578\u503C\u3002"}]},MROUND:{d:"\u5C07\u6578\u503C\u53D6\u6574\u70BA\u53E6\u4E00\u6574\u6578\u6700\u63A5\u8FD1\u7684\u6574\u6578\u500D\u3002",a:"\u5C07\u6578\u503C\u53D6\u6574\u70BA\u53E6\u4E00\u6574\u6578\u6700\u63A5\u8FD1\u7684\u6574\u6578\u500D\u3002",p:[{name:"\u503C",detail:"\u8981\u53D6\u6574\u70BA\u53E6\u4E00\u6574\u6578\u6700\u63A5\u8FD1\u7684\u6574\u6578\u500D\u7684\u6578\u503C\u3002"},{name:"\u56E0\u6578",detail:"\u503C\u5C07\u53D6\u6B64\u56E0\u6578\u7684\u6574\u6578\u500D\u3002"}]},ODD:{d:"\u5C07\u6578\u503C\u5411\u4E0A\u53D6\u6574\u70BA\u6700\u63A5\u8FD1\u7684\u5947\u6574\u6578\u3002",a:"\u5C07\u6578\u503C\u5411\u4E0A\u53D6\u6574\u70BA\u6700\u63A5\u8FD1\u7684\u5947\u6574\u6578\u3002",p:[{name:"\u503C",detail:`\u8981\u5411\u4E0A\u53D6\u6574\u7684\u6578\u503C,\u53D6\u6574\u503C\u70BA\u5927\u65BC\u6B64\u503C\u7684\u6700\u63A5\u8FD1\u7684\u5947\u6578\u3002
  477. \u5982\u679C\u503C\u70BA\u8CA0\u6578,\u5247\u5C07\u5176\u53D6\u6574\u70BA\u7D55\u5C0D\u503C\u5927\u65BC\u8A72\u503C\u7684\u76F8\u9130\u8CA0\u5947\u6578`}]},SUMSQ:{d:"\u8FD4\u56DE\u4E00\u7D44\u6578\u503C\u548C/\u6216\u5132\u5B58\u683C\u7684\u5E73\u65B9\u7E3D\u548C\u3002",a:"\u8FD4\u56DE\u4E00\u7D44\u6578\u503C\u548C/\u6216\u5132\u5B58\u683C\u7684\u5E73\u65B9\u7E3D\u548C\u3002",p:[{name:"\u503C1",detail:"\u8981\u5C07\u5176\u5E73\u65B9\u76F8\u52A0\u7684\u7B2C\u4E00\u500B\u6578\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u8981\u5C07\u5176\u5E73\u65B9\u8207\u503C1\u7684\u5E73\u65B9\u76F8\u52A0\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002"}]},COMBIN:{d:"\u7D66\u5B9A\u96C6\u5408\u4E2D\u7684\u5C0D\u8C61\u7E3D\u6578\u548C\u8981\u9078\u64C7\u7684\u5C0D\u8C61\u6578\u91CF,\u8FD4\u56DE\u5171\u6709\u591A\u5C11\u7A2E\u4E0D\u540C\u9078\u64C7\u7BA1\u9053\u3002",a:"\u7D66\u5B9A\u96C6\u5408\u4E2D\u7684\u5C0D\u8C61\u7E3D\u6578\u548C\u8981\u9078\u64C7\u7684\u5C0D\u8C61\u6578\u91CF",p:[{name:"n",detail:"\u8981\u5F9E\u4E2D\u9032\u884C\u9078\u64C7\u7684\u5C0D\u8C61\u96C6\u5408\u7684\u5927\u5C0F\u3002"},{name:"k",detail:"\u8981\u9078\u64C7\u7684\u5C0D\u8C61\u6578\u91CF\u3002"}]},SUM:{d:"\u8FD4\u56DE\u4E00\u7D44\u6578\u503C\u548C/\u6216\u5132\u5B58\u683C\u7684\u7E3D\u548C\u3002",a:"\u8FD4\u56DE\u4E00\u7D44\u6578\u503C\u548C/\u6216\u5132\u5B58\u683C\u7684\u7E3D\u548C\u3002",p:[{name:"\u503C1",detail:"\u8981\u76F8\u52A0\u7684\u7B2C\u4E00\u500B\u6578\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2",detail:"[\u53EF\u9078] - \u8981\u76F8\u52A0\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002"}]},SUBTOTAL:{d:"\u4F7F\u7528\u6307\u5B9A\u7684\u532F\u7E3D\u51FD\u6578,\u8FD4\u56DE\u4E00\u7CFB\u5217\u7E31\u5411\u5132\u5B58\u683C\u7684\u5206\u985E\u532F\u7E3D\u3002",a:"\u4F7F\u7528\u6307\u5B9A\u7684\u532F\u7E3D\u51FD\u6578",p:[{name:"\u51FD\u6578\u7A0B\u5F0F\u78BC",detail:`\u7528\u65BC\u8A08\u7B97\u5206\u985E\u532F\u7E3D\u7684\u51FD\u6578\u3002
  478. 1\u4EE3\u8868AVERAGE
  479. 2\u4EE3\u8868COUNT
  480. 3\u4EE3\u8868COUNTA
  481. 4\u4EE3\u8868MAX
  482. 5\u4EE3\u8868MIN
  483. 6\u4EE3\u8868PRODUCT
  484. 7\u4EE3\u8868STDEV
  485. 8\u4EE3\u8868STDEVP
  486. 9\u4EE3\u8868SUM
  487. 10\u4EE3\u8868VAR
  488. 11\u4EE3\u8868VARP
  489. \u901A\u904E\u5728\u9019\u4E9B2\u4F4D\u7A0B\u5F0F\u78BC\u524D\u9644\u52A010\uFF08\u5C0D\u65BC1\u4F4D\u7A0B\u5F0F\u78BC\uFF09\u62161\uFF08\u5C0D\u65BC2\u4F4D\u7A0B\u5F0F\u78BC\uFF09,\u53EF\u4EE5\u5C07\u96B1\u85CF\u503C\u5FFD\u7565\u3002\u4F8B\u5982,102\u4EE3\u8868\u5FFD\u7565\u96B1\u85CF\u5132\u5B58\u683C\u7684COUNT,\u800C110\u5247\u4EE3\u8868\u5FFD\u7565\u96B1\u85CF\u503C\u7684VAR\u3002`},{name:"\u7BC4\u570D1",detail:"\u8981\u8A08\u7B97\u5206\u985E\u532F\u7E3D\u7684\u7B2C\u4E00\u500B\u7BC4\u570D\u3002"},{name:"\u7BC4\u570D2",detail:"[\u53EF\u9078] - \u8981\u8A08\u7B97\u5206\u985E\u532F\u7E3D\u7684\u5176\u4ED6\u7BC4\u570D\u3002"}]},ASIN:{d:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u6B63\u5F26\u503C,\u4EE5\u5F27\u5EA6\u8868\u793A\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u53CD\u6B63\u5F26\u503C",p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u5176\u53CD\u6B63\u5F26\u503C\u7684\u6578\u503C\u3002\u5FC5\u9808\u4ECB\u65BC-1\u548C1\u4E4B\u9593,\u5305\u62EC\u5169\u7AEF\u503C\u3002"}]},COUNTIF:{d:"\u8FD4\u56DE\u7BC4\u570D\u5167\u6EFF\u8DB3\u67D0\u500B\u689D\u4EF6\u7684\u5132\u5B58\u683C\u7684\u6578\u91CF\u3002",a:"\u8FD4\u56DE\u7BC4\u570D\u5167\u6EFF\u8DB3\u67D0\u500B\u689D\u4EF6\u7684\u5132\u5B58\u683C\u7684\u6578\u91CF\u3002",p:[{name:"\u7BC4\u570D",detail:"\u8981\u6839\u64DA\u689D\u4EF6\u9032\u884C\u6AA2\u6E2C\u7684\u7BC4\u570D\u3002"},{name:"\u689D\u4EF6",detail:`\u8981\u61C9\u7528\u65BC\u7BC4\u570D\u7684\u6A21\u5F0F\u6216\u6E2C\u8A66\u689D\u4EF6\u3002
  490. \u5982\u679C\u7BC4\u570D\u5305\u542B\u7684\u662F\u8981\u6AA2\u6E2C\u7684\u6587\u5B57,\u5247\u689D\u4EF6\u5FC5\u9808\u70BA\u5B57\u4E32\u3002\u689D\u4EF6\u53EF\u4EE5\u5305\u542B\u842C\u7528\u5B57\u5143,\u5305\u62EC\u7528\u65BC\u5339\u914D\u55AE\u500B\u5B57\u5143\u7684\uFF1F\u6216\u7528\u65BC\u5339\u914D\u96F6\u500B\u6216\u9023\u7E8C\u591A\u500B\u5B57\u5143\u7684*\u3002\u8981\u5339\u914D\u554F\u865F\u661F\u865F\u672C\u8EAB,\u8ACB\u5728\u8A72\u5B57\u5143\u524D\u9762\u52A0\u4E0A\u6CE2\u6D6A\u865F\uFF08~\uFF09\u9996\u78BC\uFF08\u5373~\uFF1F\u548C~*\uFF09\u3002\u5B57\u4E32\u689D\u4EF6\u5FC5\u9808\u7528\u5F15\u865F\u62EC\u8D77\u4F86\u3002\u51FD\u6578\u6703\u6AA2\u67E5\u7BC4\u570D\u4E2D\u7684\u6BCF\u500B\u5132\u5B58\u683C\u8207\u689D\u4EF6\u662F\u5426\u76F8\u7B49\u6216\u5339\u914D\uFF08\u5982\u679C\u4F7F\u7528\u4E86\u842C\u7528\u5B57\u5143\uFF09\u3002
  491. \u5982\u679C\u7BC4\u570D\u5305\u542B\u7684\u662F\u8981\u6AA2\u6E2C\u7684\u6578\u4F4D,\u5247\u689D\u4EF6\u53EF\u4EE5\u662F\u5B57\u4E32\u4E5F\u53EF\u4EE5\u662F\u6578\u4F4D\u3002\u5982\u679C\u7D66\u5B9A\u7684\u689D\u4EF6\u662F\u4E00\u500B\u6578\u4F4D,\u5247\u6AA2\u67E5\u7BC4\u570D\u4E2D\u7684\u6BCF\u500B\u5132\u5B58\u683C\u662F\u5426\u7B49\u65BC\u689D\u4EF6\u3002\u53E6\u5916,\u689D\u4EF6\u4E5F\u53EF\u80FD\u662F\u5305\u542B\u6578\u4F4D\u7684\u5B57\u4E32\uFF08\u4E5F\u5C07\u5C0D\u5176\u9032\u884C\u76F8\u7B49\u6AA2\u6E2C\uFF09,\u6216\u8005\u5E36\u6709\u4EE5\u4E0B\u9996\u78BC\u7684\u6578\u4F4D:=\u3001>\u3001>=\u3001<\u6216<=,\u9019\u4E9B\u689D\u4EF6\u5C07\u5206\u5225\u7528\u65BC\u6AA2\u67E5\u7BC4\u570D\u4E2D\u7684\u5132\u5B58\u683C\u662F\u5426\u7B49\u65BC\u3001\u5927\u65BC\u3001\u5927\u65BC\u7B49\u65BC\u3001\u5C0F\u65BC\u3001\u5C0F\u65BC\u7B49\u65BC\u689D\u4EF6\u503C\u3002`}]},RADIANS:{d:"\u5C07\u4EE5\u5EA6\u8868\u793A\u7684\u89D2\u5EA6\u503C\u8F49\u63DB\u70BA\u5F27\u5EA6\u3002",a:"\u5C07\u4EE5\u5EA6\u8868\u793A\u7684\u89D2\u5EA6\u503C\u8F49\u63DB\u70BA\u5F27\u5EA6\u3002",p:[{name:"\u89D2\u5EA6",detail:"\u8981\u5F9E\u5EA6\u8F49\u63DB\u70BA\u5F27\u5EA6\u7684\u89D2\u5EA6\u3002"}]},RAND:{d:"\u8FD4\u56DE\u4E00\u500B\u4ECB\u65BC0\u548C1\u4E4B\u9593\uFF08\u5305\u62EC0\u4F46\u4E0D\u5305\u62EC1\uFF09\u7684\u4E82\u6578\u3002",a:"\u8FD4\u56DE\u4E00\u500B\u4ECB\u65BC0\u548C1\u4E4B\u9593\uFF08\u5305\u62EC0\u4F46\u4E0D\u5305\u62EC1\uFF09\u7684\u4E82\u6578\u3002",p:[]},COUNTUNIQUE:{d:"\u8A08\u7B97\u4E00\u5217\u6307\u5B9A\u503C\u548C\u7BC4\u570D\u4E2D\u4E0D\u91CD\u8907\u6578\u503C\u7684\u500B\u6578\u3002",a:"\u8A08\u7B97\u4E00\u5217\u6307\u5B9A\u503C\u548C\u7BC4\u570D\u4E2D\u4E0D\u91CD\u8907\u6578\u503C\u7684\u500B\u6578\u3002",p:[{name:"\u503C1",detail:"\u8981\u6AA2\u67E5\u5176\u662F\u5426\u552F\u4E00\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2",detail:"[\u53EF\u9078] - \u8981\u6AA2\u67E5\u662F\u5426\u552F\u4E00\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002"}]},DEGREES:{d:"\u5C07\u4EE5\u5F27\u5EA6\u8868\u793A\u7684\u89D2\u5EA6\u503C\u8F49\u63DB\u70BA\u5EA6\u3002",a:"\u5C07\u4EE5\u5F27\u5EA6\u8868\u793A\u7684\u89D2\u5EA6\u503C\u8F49\u63DB\u70BA\u5EA6\u3002",p:[{name:"\u89D2\u5EA6",detail:"\u8981\u5F9E\u5F27\u5EA6\u8F49\u63DB\u70BA\u5EA6\u7684\u89D2\u5EA6\u3002"}]},ERFC:{d:"\u8FD4\u56DE\u6578\u503C\u7684\u4E92\u88DC\u9AD8\u65AF\u8AA4\u5DEE\u51FD\u6578\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u4E92\u88DC\u9AD8\u65AF\u8AA4\u5DEE\u51FD\u6578\u3002",p:[{name:"z",detail:"\u8981\u70BA\u5176\u8A08\u7B97\u4E92\u88DC\u9AD8\u65AF\u8AA4\u5DEE\u51FD\u6578\u7684\u6578\u503C\u3002"}]},EVEN:{d:"\u5C07\u6578\u503C\u5411\u4E0A\u53D6\u6574\u70BA\u6700\u63A5\u8FD1\u7684\u5076\u6574\u6578\u3002",a:"\u5C07\u6578\u503C\u5411\u4E0A\u53D6\u6574\u70BA\u6700\u63A5\u8FD1\u7684\u5076\u6574\u6578\u3002",p:[{name:"\u503C",detail:`\u8981\u5411\u4E0A\u53D6\u6574\u7684\u6578\u503C,\u53D6\u6574\u503C\u70BA\u5927\u65BC\u6B64\u503C\u7684\u6700\u63A5\u8FD1\u7684\u5076\u6578\u3002
  492. \u5982\u679C\u503C\u70BA\u8CA0\u6578,\u5247\u5C07\u5176\u53D6\u6574\u70BA\u7D55\u5C0D\u503C\u5927\u65BC\u8A72\u503C\u7684\u76F8\u9130\u8CA0\u5076\u6578\u3002`}]},EXP:{d:"\u8FD4\u56DE\u6B50\u62C9\u6578e\uFF08~2.718\uFF09\u7684\u6307\u5B9A\u6B21\u5E42\u3002",a:"\u8FD4\u56DE\u6B50\u62C9\u6578e\uFF08~2.718\uFF09\u7684\u6307\u5B9A\u6B21\u5E42\u3002",p:[{name:"\u6307\u6578",detail:"\u6307\u5B9Ae\u7684\u81EA\u4E58\u5E42\u6B21\u503C\u3002"}]},FACT:{d:"\u8FD4\u56DE\u6578\u503C\u7684\u968E\u4E58\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u968E\u4E58\u3002",p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u4E26\u8FD4\u56DE\u5176\u968E\u4E58\u7684\u6578\u4F4D\u6216\u5C0D\u6578\u4F4D\uFF08\u6240\u5728\u5132\u5B58\u683C\uFF09\u7684\u5F15\u7528\u3002"}]},FACTDOUBLE:{d:'\u8FD4\u56DE\u6578\u503C\u7684"\u96D9\u968E\u4E58"\u3002',a:'\u8FD4\u56DE\u6578\u503C\u7684"\u96D9\u968E\u4E58"\u3002',p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u4E26\u8FD4\u56DE\u5176\u96D9\u968E\u4E58\u7684\u6578\u4F4D\u6216\u5C0D\u6578\u4F4D\uFF08\u6240\u5728\u5132\u5B58\u683C\uFF09\u7684\u5F15\u7528\u3002"}]},PI:{d:"\u8FD4\u56DE\u5E36\u670914\u4F4D\u5C0F\u6578\u7684PI\u503C\u3002",a:"\u8FD4\u56DE\u5E36\u670914\u4F4D\u5C0F\u6578\u7684PI\u503C\u3002",p:[]},FLOOR:{d:"\u5C07\u6578\u503C\u5411\u4E0B\u53D6\u6574\u70BA\u6307\u5B9A\u56E0\u6578\u7684\u6700\u63A5\u8FD1\u7684\u6574\u6578\u500D\u3002",a:"\u5C07\u6578\u503C\u5411\u4E0B\u53D6\u6574\u70BA\u6307\u5B9A\u56E0\u6578\u7684\u6700\u63A5\u8FD1\u7684\u6574\u6578\u500D\u3002",p:[{name:"\u503C",detail:"\u8981\u5411\u4E0B\u820D\u5165\u70BA\u56E0\u6578\u7684\u6700\u63A5\u8FD1\u6574\u6578\u500D\u7684\u6578\u503C\u3002"},{name:"\u56E0\u6578",detail:`\u8981\u5C07\u503C\u820D\u5165\u5230\u6B64\u6578\u7684\u6574\u6578\u500D\u3002
  493. \u56E0\u6578\u4E0D\u5F97\u70BA0\u3002`}]},GCD:{d:"\u8FD4\u56DE\u4E00\u500B\u6216\u591A\u500B\u6574\u6578\u7684\u6700\u5927\u516C\u7D04\u6578\u3002",a:"\u8FD4\u56DE\u4E00\u500B\u6216\u591A\u500B\u6574\u6578\u7684\u6700\u5927\u516C\u7D04\u6578\u3002",p:[{name:"\u503C1",detail:"\u8981\u5728\u67E5\u627E\u6700\u5927\u516C\u7D04\u6578\u7684\u8A08\u7B97\u4E2D\u6AA2\u67E5\u5176\u56E0\u6578\u7684\u7B2C\u4E00\u9805\u6578\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2",detail:"[\u53EF\u9078] - \u5728\u6C42\u6700\u5927\u516C\u7D04\u6578\u6642\u8981\u8003\u616E\u5176\u56E0\u6578\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002"}]},RANDBETWEEN:{d:"\u8FD4\u56DE\u4ECB\u65BC\u5169\u500B\u6574\u6578\u4E4B\u9593\uFF08\u5305\u62EC\u9019\u5169\u500B\u6574\u6578\uFF09\u7684\u4E82\u6578\u3002",a:"\u8FD4\u56DE\u4ECB\u65BC\u5169\u500B\u6574\u6578\u4E4B\u9593\uFF08\u5305\u62EC\u9019\u5169\u500B\u6574\u6578\uFF09\u7684\u4E82\u6578\u3002",p:[{name:"\u4E0B\u754C",detail:"\u96A8\u6A5F\u503C\u7BC4\u570D\u7684\u4E0B\u754C\u3002"},{name:"\u4E0A\u754C",detail:"\u96A8\u6A5F\u503C\u7BC4\u570D\u7684\u4E0A\u754C\u3002"}]},ROUND:{d:"\u5C07\u6578\u4F4D\u56DB\u6368\u4E94\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6578\u3002",a:"\u5C07\u6578\u4F4D\u56DB\u6368\u4E94\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6578\u3002",p:[{name:"\u503C",detail:"\u8981\u56DB\u6368\u4E94\u5165\u7684\u6578\u4F4D\u3002"},{name:"\u4F4D\u6578",detail:`\u8981\u9032\u884C\u56DB\u6368\u4E94\u5165\u904B\u7B97\u7684\u4F4D\u6578\u3002
  494. \u4F4D\u6578\u53EF\u4EE5\u53D6\u8CA0\u503C,\u5728\u9019\u7A2E\u60C5\u6CC1\u4E0B\u6703\u5C07\u503C\u7684\u5C0F\u6578\u9EDE\u5DE6\u5074\u90E8\u5206\u820D\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6578\u3002`}]},ROUNDDOWN:{d:"\u671D\u8457\u96F6\u7684\u65B9\u5411\u5C07\u6578\u4F4D\u9032\u884C\u5411\u4E0B\u820D\u5165\u3002",a:"\u671D\u8457\u96F6\u7684\u65B9\u5411\u5C07\u6578\u4F4D\u9032\u884C\u5411\u4E0B\u820D\u5165\u3002",p:[{name:"\u503C",detail:"\u9700\u8981\u5411\u4E0B\u820D\u5165\u7684\u4EFB\u610F\u5BE6\u6578\u3002"},{name:"\u4F4D\u6578",detail:`\u8981\u901A\u904E\u820D\u5165\u9054\u5230\u7684\u5C0F\u6578\u4F4D\u6578\u3002
  495. \u4F4D\u6578\u53EF\u4EE5\u53D6\u8CA0\u503C,\u5728\u9019\u7A2E\u60C5\u6CC1\u4E0B\u6703\u5C07\u503C\u7684\u5C0F\u6578\u9EDE\u5DE6\u5074\u90E8\u5206\u820D\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6578\u3002`}]},ROUNDUP:{d:"\u671D\u8457\u9060\u96E20\uFF08\u96F6\uFF09\u7684\u65B9\u5411\u5C07\u6578\u4F4D\u9032\u884C\u5411\u4E0A\u820D\u5165\u3002",a:"\u671D\u8457\u9060\u96E20\uFF08\u96F6\uFF09\u7684\u65B9\u5411\u5C07\u6578\u4F4D\u9032\u884C\u5411\u4E0A\u820D\u5165\u3002",p:[{name:"\u503C",detail:"\u8981\u5C07\u5176\u820D\u5165\u70BA\u4F4D\u6578\u4F4D\u6578\u4F4D\u7684\u503C,\u59CB\u7D42\u5411\u4E0A\u820D\u5165\u3002"},{name:"\u4F4D\u6578",detail:`\u8981\u901A\u904E\u820D\u5165\u9054\u5230\u7684\u5C0F\u6578\u4F4D\u6578\u3002
  496. \u4F4D\u6578\u53EF\u4EE5\u53D6\u8CA0\u503C,\u5728\u9019\u7A2E\u60C5\u6CC1\u4E0B\u6703\u5C07\u503C\u7684\u5C0F\u6578\u9EDE\u5DE6\u5074\u90E8\u5206\u820D\u5165\u5230\u6307\u5B9A\u7684\u4F4D\u6578\u3002`}]},SERIESSUM:{d:"\u7D66\u5B9A\u53C3\u6578x\u3001n\u3001m\u548Ca,\u8FD4\u56DE\u5E42\u7D1A\u6578\u7684\u548Ca1xn + a2x\uFF08n+m\uFF09+\u2026+ aix\uFF08n+\uFF08i-1\uFF09m\uFF09,\u5176\u4E2Di\u70BA\u7BC4\u570Da\u4E2D\u7684\u9805\u6578\u3002",a:"\u7D66\u5B9A\u53C3\u6578x\u3001n\u3001m\u548Ca",p:[{name:"x",detail:"\u5E42\u7D1A\u6578\u7684\u8F38\u5165\u503C\u3002\u96A8\u76F8\u61C9\u7684\u8FD1\u4F3C\u985E\u578B\u800C\u8B8A,\u6709\u53EF\u80FD\u70BA\u89D2\u5EA6\u3001\u6307\u6578\u6216\u5176\u4ED6\u4E00\u4E9B\u503C\u3002"},{name:"n",detail:"\u5728\u5E42\u7D1A\u6578\u4E2Dx\u7684\u521D\u59CB\u81EA\u4E58\u5E42\u6B21\u3002"},{name:"m",detail:"x\u7684\u5E42\u6B21\u4E2D\u7684\u9644\u52A0\u589E\u91CF\u3002"},{name:"a",detail:"\u5305\u542B\u5E42\u7D1A\u6578\u4FC2\u6578\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002"}]},SIGN:{d:"\u7D66\u5B9A\u8F38\u5165\u6578\u503C,\u5982\u679C\u70BA\u8CA0\u8FD4\u56DE-1\uFF1B\u5982\u679C\u70BA\u6B63\u8FD4\u56DE1\uFF1B\u5982\u679C\u70BA\u96F6\u5247\u8FD4\u56DE0\u3002",a:"\u7D66\u5B9A\u8F38\u5165\u6578\u503C",p:[{name:"\u503C",detail:"\u8981\u8FD4\u56DE\u5176\u7B26\u865F\u7684\u6578\u503C\u3002"}]},SIN:{d:"\u7D66\u5B9A\u89D2\u5EA6\uFF08\u4EE5\u5F27\u5EA6\u8868\u793A\uFF09,\u8FD4\u56DE\u5176\u6B63\u5F26\u503C\u3002",a:"\u7D66\u5B9A\u89D2\u5EA6\uFF08\u4EE5\u5F27\u5EA6\u8868\u793A\uFF09",p:[{name:"\u89D2\u5EA6",detail:"\u8981\u8FD4\u56DE\u5176\u6B63\u5F26\u503C\u7684\u89D2\u5EA6,\u4EE5\u5F27\u5EA6\u8868\u793A\u3002"}]},SINH:{d:"\u8FD4\u56DE\u7D66\u5B9A\u5BE6\u6578\u7684\u96D9\u66F2\u6B63\u5F26\u503C\u3002",a:"\u8FD4\u56DE\u7D66\u5B9A\u5BE6\u6578\u7684\u96D9\u66F2\u6B63\u5F26\u503C\u3002",p:[{name:"\u503C",detail:"\u8981\u8A08\u7B97\u5176\u96D9\u66F2\u6B63\u5F26\u503C\u7684\u5BE6\u6578\u503C\u3002"}]},SQRT:{d:"\u8FD4\u56DE\u4E00\u500B\u6B63\u6578\u7684\u6B63\u5E73\u65B9\u6839\u3002",a:"\u8FD4\u56DE\u4E00\u500B\u6B63\u6578\u7684\u6B63\u5E73\u65B9\u6839\u3002",p:[{name:"\u503C",detail:`\u8981\u8A08\u7B97\u5176\u6B63\u5E73\u65B9\u6839\u7684\u6578\u503C\u3002
  497. \u503C\u5FC5\u9808\u70BA\u6B63\u6578\uFF1B\u5982\u679C\u70BA\u8CA0,SQRT\u5C07\u8FD4\u56DE#NUM\uFF01\u932F\u8AA4\u3002`}]},SQRTPI:{d:"\u8FD4\u56DEPI\u8207\u7D66\u5B9A\u6B63\u6578\u4E58\u7A4D\u7684\u6B63\u5E73\u65B9\u6839\u3002",a:"\u8FD4\u56DEPI\u8207\u7D66\u5B9A\u6B63\u6578\u4E58\u7A4D\u7684\u6B63\u5E73\u65B9\u6839\u3002",p:[{name:"\u503C",detail:`\u8981\u5C07\u5176\u8207PI\u76F8\u4E58\u4E26\u8FD4\u56DE\u8A72\u4E58\u7A4D\u7684\u5E73\u65B9\u6839\u7684\u6578\u503C
  498. \u503C\u5FC5\u9808\u70BA\u6B63\u6578\uFF1B\u5982\u679C\u70BA\u8CA0\u6578,SQRTPI\u5C07\u8FD4\u56DE#NUM\uFF01\u932F\u8AA4\u3002`}]},GAMMALN:{d:"\u8FD4\u56DE\u6307\u5B9A\u4F3D\u746A\u51FD\u6578\u7684\u4EE5e\uFF08\u6B50\u62C9\u6578\uFF09\u70BA\u5E95\u7684\u5C0D\u6578\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u4F3D\u746A\u51FD\u6578\u7684\u4EE5e\uFF08\u6B50\u62C9\u6578\uFF09\u70BA\u5E95\u7684\u5C0D\u6578\u3002",p:[{name:"\u503C",detail:`\u4F3D\u746A\u51FD\u6578\u7684\u8F38\u5165\u503C\u3002\u8FD4\u56DE\u7684\u5C07\u662F\u4F3D\u746A\uFF08\u503C\uFF09\u7684\u81EA\u7136\u5C0D\u6578\u3002
  499. \u503C\u5FC5\u9808\u70BA\u6B63\u6578\u3002`}]},COS:{d:"\u8FD4\u56DE\u7D66\u5B9A\u89D2\u5EA6\u7684\u4F59\u5F26\u503C\uFF08\u89D2\u5EA6\u4EE5\u5F27\u5EA6\u8868\u793A\uFF09\u3002",a:"\u8FD4\u56DE\u7D66\u5B9A\u89D2\u5EA6\u7684\u4F59\u5F26\u503C\uFF08\u89D2\u5EA6\u4EE5\u5F27\u5EA6\u8868\u793A\uFF09\u3002",p:[{name:"\u89D2\u5EA6",detail:"\u8981\u53D6\u5176\u4F59\u5F26\u503C\u7684\u89D2\u5EA6,\u4EE5\u5F27\u5EA6\u8868\u793A\u3002"}]},TRUNC:{d:"\u9664\u6307\u5B9A\u6709\u6548\u4F4D\u4E4B\u5916\u7684\u90E8\u5206,\u53D6\u6578\u64DA\u7684\u6307\u5B9A\u6709\u6548\u4F4D\u3002",a:"\u9664\u6307\u5B9A\u6709\u6548\u4F4D\u4E4B\u5916\u7684\u90E8\u5206",p:[{name:"\u503C",detail:"\u8981\u622A\u53D6\u7684\u6578\u64DA\u3002"},{name:"\u4F4D\u6578",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u5C0F\u6578\u9EDE\u53F3\u5074\u8981\u4FDD\u7559\u7684\u6709\u6548\u4F4D\u6578\u3002
  500. \u5982\u679C\u4F4D\u6578\u5927\u65BC\u503C\u4E2D\u7684\u6709\u6548\u4F4D\u6578,\u5247\u5C07"\u503C"\u539F\u6A23\u8FD4\u56DE\u3002
  501. \u4F4D\u6578\u53EF\u4EE5\u53D6\u8CA0\u503C,\u5728\u9019\u7A2E\u60C5\u6CC1\u4E0B\u6703\u5C07\u5C0F\u6578\u9EDE\u5DE6\u5074\u6307\u5B9A\u4F4D\u6578\u7684\u503C\u66F4\u6539\u70BA\u96F6\u3002\u5C0F\u6578\u9EDE\u53F3\u5074\u7684\u6240\u6709\u4F4D\u6578\u90FD\u6703\u88AB\u6368\u68C4\u3002\u5982\u679C\u503C\u7684\u6240\u6709\u4F4D\u90FD\u88AB\u66F4\u6539\u70BA\u96F6,\u5247TRUNC\u6703\u8FD4\u56DE0\u3002`}]},QUOTIENT:{d:"\u8FD4\u56DE\u4EE5\u4E00\u500B\u6578\u9664\u4EE5\u53E6\u4E00\u500B\u6578\u6240\u5F97\u7684\u7D50\u679C,\u4E0D\u5305\u542B\u9918\u6578\u3002",a:"\u8FD4\u56DE\u4EE5\u4E00\u500B\u6578\u9664\u4EE5\u53E6\u4E00\u500B\u6578\u6240\u5F97\u7684\u7D50\u679C",p:[{name:"\u88AB\u9664\u6578",detail:"\u8981\u88AB\u9664\u7684\u6578\u503C\u3002"},{name:"\u9664\u6578",detail:`\u7528\u65BC\u9664\u5176\u4ED6\u6578\u7684\u6578\u503C\u3002
  502. \u9664\u6578\u4E0D\u5F97\u70BA0`}]},POWER:{d:"\u8FD4\u56DE\u6578\u503C\u7684\u6307\u5B9A\u6B21\u5E42\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u6307\u5B9A\u6B21\u5E42\u3002",p:[{name:"\u5E95\u6578",detail:`\u8981\u8A08\u7B97\u5176\u6307\u6578\u6B21\u5E42\u7684\u6578\u503C\u3002
  503. \u5982\u679C\u5E95\u6578\u70BA\u8CA0,\u5247\u6307\u6578\u5FC5\u9808\u70BA\u6574\u6578\u3002`},{name:"\u6307\u6578",detail:"\u6307\u5B9A\u5E95\u6578\u7684\u81EA\u4E58\u5E42\u6B21\u503C\u3002"}]},SUMIFS:{d:"\u6839\u64DA\u591A\u9805\u689D\u4EF6\u8FD4\u56DE\u7BC4\u570D\u4E4B\u548C\u3002",a:"\u6839\u64DA\u591A\u9805\u689D\u4EF6\u8FD4\u56DE\u7BC4\u570D\u4E4B\u548C\u3002",p:[{name:"\u6C42\u548C\u7BC4\u570D",detail:"\u8981\u5C0D\u5176\u6C42\u548C\u7684\u7BC4\u570D\u3002"},{name:"\u689D\u4EF6\u7BC4\u570D1",detail:"\u8981\u5728\u54EA\u500B\u7BC4\u570D\u5167\u6AA2\u67E5\u689D\u4EF61\u3002"},{name:"\u689D\u4EF61",detail:"\u8981\u61C9\u7528\u65BC\u689D\u4EF6\u7BC4\u570D1\u7684\u6A21\u5F0F\u6216\u6E2C\u8A66\u689D\u4EF6\u3002"},{name:"\u689D\u4EF6\u7BC4\u570D2,\u689D\u4EF62\u2026",detail:"[ \u53EF\u9078 ] - \u8981\u6AA2\u67E5\u7684\u5176\u4ED6\u7BC4\u570D\u548C\u689D\u4EF6\u3002"}]},COUNTIFS:{d:"\u6839\u64DA\u591A\u9805\u689D\u4EF6\u8FD4\u56DE\u7BC4\u570D\u4E2D\u7684\u5132\u5B58\u683C\u6578\u91CF\u3002",a:"\u6839\u64DA\u591A\u9805\u689D\u4EF6\u8FD4\u56DE\u7BC4\u570D\u4E2D\u7684\u5132\u5B58\u683C\u6578\u91CF\u3002",p:[{name:"\u689D\u4EF6\u7BC4\u570D1",detail:"\u8981\u5728\u54EA\u500B\u7BC4\u570D\u5167\u6AA2\u67E5\u689D\u4EF61\u3002"},{name:"\u689D\u4EF61",detail:"\u8981\u61C9\u7528\u65BC\u689D\u4EF6\u7BC4\u570D1\u7684\u6A21\u5F0F\u6216\u6E2C\u8A66\u689D\u4EF6\u3002"},{name:"\u689D\u4EF6\u7BC4\u570D2,\u689D\u4EF62\u2026",detail:"[ \u53EF\u9078 ] - \u8981\u6AA2\u67E5\u7684\u5176\u4ED6\u7BC4\u570D\u548C\u689D\u4EF6,\u53EF\u91CD\u8907\u3002"}]},PRODUCT:{d:"\u8FD4\u56DE\u5C07\u4E00\u7D44\u6578\u76F8\u4E58\u6240\u5F97\u7684\u7D50\u679C\u3002",a:"\u8FD4\u56DE\u5C07\u4E00\u7D44\u6578\u76F8\u4E58\u6240\u5F97\u7684\u7D50\u679C\u3002",p:[{name:"\u4E58\u65781",detail:"\u7528\u65BC\u8A08\u7B97\u4E58\u7A4D\u7684\u7B2C\u4E00\u500B\u6578\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u4E58\u65782 ... \u4E58\u657830",detail:"[\u53EF\u9078] - \u8981\u76F8\u4E58\u7684\u5176\u4ED6\u6578\u503C"}]},HARMEAN:{d:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u8ABF\u548C\u5E73\u5747\u503C\u3002",a:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u8ABF\u548C\u5E73\u5747\u503C\u3002",p:[{name:"\u503C1",detail:"\u6A23\u672C\u4E2D\u7684\u7B2C\u4E00\u9805\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u6578\u64DA\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002"}]},HYPGEOMDIST:{d:"\u8FD4\u56DE\u8D85\u5E7E\u4F55\u5206\u4F48\u3002\u5982\u679C\u5DF2\u77E5\u6A23\u672C\u91CF\u3001\u7E3D\u9AD4\u6210\u529F\u6B21\u6578\u548C\u7E3D\u9AD4\u5927\u5C0F,\u5247 HYPGEOM.DIST \u8FD4\u56DE\u6A23\u672C\u53D6\u5F97\u5DF2\u77E5\u6210\u529F\u6B21\u6578\u7684\u6982\u7387\u3002",a:"\u8FD4\u56DE\u8D85\u5E7E\u4F55\u5206\u4F48\u3002",p:[{name:"Sample_s",detail:"\u6A23\u672C\u4E2D\u6210\u529F\u7684\u6B21\u6578\u3002"},{name:"Number_sample",detail:"\u6A23\u672C\u91CF\u3002"},{name:"Population_s",detail:"\u7E3D\u9AD4\u4E2D\u6210\u529F\u7684\u6B21\u6578\u3002"},{name:"Number_pop",detail:"\u7E3D\u9AD4\u5927\u5C0F\u3002"},{name:"cumulative",detail:`\u51B3\u5B9A\u51FD\u6578\u5F62\u5F0F\u7684\u908F\u8F2F\u503C\u3002
  504. \u5982\u679Ccumulative\u70BATRUE\uFF08\uFF09,\u5247HYPGEOM.DIST\u8FD4\u56DE\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\uFF1B
  505. \u5982\u679C\u70BAFALSE\uFF08\uFF09,\u5247\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6578\u3002`}]},INTERCEPT:{d:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u7DDA\u6027\u56DE\u6B78\u65B9\u7A0B\u76F4\u7DDA\u8207 Y \u8EF8\u7684\u76F8\u4EA4\u9EDE\uFF08x=0\uFF09\u7684y\u503C\u3002",a:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u7DDA\u6027\u56DE\u6B78\u65B9\u7A0B\u76F4\u7DDA\u8207 Y \u8EF8\u7684\u76F8\u4EA4\u9EDE\uFF08x=0\uFF09\u7684y\u503C\u3002",p:[{name:"\u6578\u64DA_y",detail:"\u4EE3\u8868\u56E0\u8B8A\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002"},{name:"\u6578\u64DA_x",detail:"\u4EE3\u8868\u5F15\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002"}]},KURT:{d:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u5CED\u5EA6,\u8A72\u540D\u984D\u8A13\u793A\u6578\u64DA\u96C6\uFF08\u5206\u4F48\uFF09\u7684\u5F62\u614B,\u5C24\u5176\u662F\u8A72\u5F62\u614B\u7684\u9661\u5CED\u7A0B\u5EA6\u3002",a:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u5CED\u5EA6",p:[{name:"\u503C1",detail:"\u6578\u64DA\u96C6\u4E2D\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u6578\u64DA\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002"}]},LARGE:{d:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u7B2C n \u500B\u6700\u5927\u5143\u7D20,n \u7531\u7528\u6236\u6307\u5B9A\u3002",a:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u7B2C n \u500B\u6700\u5927\u5143\u7D20",p:[{name:"\u6578\u64DA",detail:"\u5305\u542B\u76F8\u95DC\u6578\u64DA\u96C6\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002"},{name:"n",detail:`\u8981\u8FD4\u56DE\u7684\u5143\u7D20\u7684\u6392\u884C\u4F4D\u7F6E\uFF08\u5F9E\u5927\u5230\u5C0F\u9806\u5E8F\uFF09\u3002
  506. \u4F8B\u5982,\u5C07n\u8A2D\u70BA4\u5C07\u4F7FLARGE\u8FD4\u56DE\u6578\u64DA\u4E2D\u6392\u540D\u7B2C4\u7684\u6700\u5927\u5143\u7D20\u3002`}]},STDEVA:{d:"\u57FA\u65BC\u6A23\u672C\u8A08\u7B97\u6A19\u6E96\u5DEE,\u5C07\u6587\u5B57\u53D6\u503C\u70BA0\u3002",a:"\u57FA\u65BC\u6A23\u672C\u8A08\u7B97\u6A19\u6E96\u5DEE",p:[{name:"\u503C1",detail:"\u6A23\u672C\u4E2D\u7684\u7B2C\u4E00\u9805\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2,\u2026",detail:"[\u53EF\u9078] - \u6A23\u672C\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002"}]},STDEVP:{d:"\u57FA\u65BC\u6A23\u672C\u7E3D\u9AD4\u8A08\u7B97\u6A19\u6E96\u5DEE\u3002",a:"\u57FA\u65BC\u6A23\u672C\u7E3D\u9AD4\u8A08\u7B97\u6A19\u6E96\u5DEE\u3002",p:[{name:"\u503C1",detail:"\u6578\u64DA\u96C6\u4E2D\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u6578\u64DA\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002"}]},GEOMEAN:{d:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u5E7E\u4F55\u5E73\u5747\u503C\u3002",a:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u5E7E\u4F55\u5E73\u5747\u503C\u3002",p:[{name:"\u503C1",detail:"\u6A23\u672C\u4E2D\u7684\u7B2C\u4E00\u9805\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u6578\u64DA\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002"}]},RANK_EQ:{d:"\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u6578\u64DA\u96C6\u4E2D\u7684\u6392\u540D\u3002\u5982\u679C\u76F8\u540C\u7684\u503C\u5728\u6578\u64DA\u96C6\u4E2D\u5B58\u5728\u591A\u9805,\u5247\u8FD4\u56DE\u5176\u4E2D\u7684\u6700\u9AD8\u6392\u540D\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u6578\u64DA\u96C6\u4E2D\u7684\u6392\u540D\u3002\u5982\u679C\u76F8\u540C\u7684\u503C\u5728\u6578\u64DA\u96C6\u4E2D\u5B58\u5728\u591A\u9805,\u5247\u8FD4\u56DE\u5176\u4E2D\u7684\u6700\u9AD8\u6392\u540D\u3002",p:[{name:"number",detail:"\u8981\u78BA\u5B9A\u5176\u6392\u540D\u7684\u503C\u3002"},{name:"ref",detail:"\u5305\u542B\u76F8\u95DC\u6578\u64DA\u96C6\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002"},{name:"order",detail:'[\u53EF\u9078-\u9ED8\u8A8D\u70BA\u6309\u964D\u5E8F\uFF08FALSE\uFF08\uFF09\uFF09] - \u8981\u6309\u6607\u51AA\u9084\u662F\u6309\u964D\u5E8F\u8003\u616E"data"\u4E2D\u7684\u503C\u3002'}]},RANK_AVG:{d:"\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u6578\u64DA\u96C6\u4E2D\u7684\u6392\u540D\u3002\u5982\u679C\u76F8\u540C\u7684\u503C\u5728\u6578\u64DA\u96C6\u4E2D\u5B58\u5728\u591A\u9805,\u5247\u8FD4\u56DE\u9019\u4E9B\u9805\u6392\u540D\u7684\u5E73\u5747\u503C\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u6578\u64DA\u96C6\u4E2D\u7684\u6392\u540D\u3002\u5982\u679C\u76F8\u540C\u7684\u503C\u5728\u6578\u64DA\u96C6\u4E2D\u5B58\u5728\u591A\u9805,\u5247\u8FD4\u56DE\u9019\u4E9B\u9805\u6392\u540D\u7684\u5E73\u5747\u503C\u3002",p:[{name:"number",detail:"\u8981\u78BA\u5B9A\u5176\u6392\u540D\u7684\u503C\u3002"},{name:"ref",detail:"\u5305\u542B\u76F8\u95DC\u6578\u64DA\u96C6\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002"},{name:"order",detail:'[\u53EF\u9078-\u9ED8\u8A8D\u70BA\u6309\u964D\u5E8F\uFF08FALSE\uFF08\uFF09\uFF09] - \u8981\u6309\u6607\u51AA\u9084\u662F\u6309\u964D\u5E8F\u8003\u616E"data"\u4E2D\u7684\u503C\u3002'}]},PERCENTRANK_EXC:{d:"\u4EE5\u767E\u5206\u6578\u5F62\u5F0F\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u7D66\u5B9A\u6578\u64DA\u96C6\u4E2D\u7684\u767E\u5206\u6BD4\u6392\u540D\uFF08\u4ECB\u65BC0\u548C1\u4E4B\u9593,\u4E0D\u5305\u62EC\u5169\u7AEF\u503C\uFF09\u3002",a:"\u4EE5\u767E\u5206\u6578\u5F62\u5F0F\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u7D66\u5B9A\u6578\u64DA\u96C6\u4E2D\u7684\u767E\u5206\u6BD4\u6392\u540D\uFF08\u4ECB\u65BC0\u548C1\u4E4B\u9593,\u4E0D\u5305\u62EC\u5169\u7AEF\u503C\uFF09\u3002",p:[{name:"data",detail:"\u5305\u542B\u76F8\u95DC\u6578\u64DA\u96C6\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002"},{name:"x",detail:"\u8981\u78BA\u5B9A\u5176\u767E\u5206\u6BD4\u6392\u4F4D\u7684\u503C\u3002"},{name:"significance",detail:"[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA3] - \u8981\u5728\u8A08\u7B97\u4E2D\u4F7F\u7528\u7684\u6709\u6548\u4F4D\u6578\u3002"}]},PERCENTRANK_INC:{d:"\u4EE5\u767E\u5206\u6BD4\u5F62\u5F0F\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u7D66\u5B9A\u6578\u64DA\u96C6\u4E2D\u7684\u767E\u5206\u6BD4\u6392\u540D\uFF08\u4ECB\u65BC0\u548C1\u4E4B\u9593,\u5305\u62EC\u5169\u7AEF\u503C\uFF09\u3002",a:"\u4EE5\u767E\u5206\u6BD4\u5F62\u5F0F\u8FD4\u56DE\u6307\u5B9A\u503C\u5728\u7D66\u5B9A\u6578\u64DA\u96C6\u4E2D\u7684\u767E\u5206\u6BD4\u6392\u540D\uFF08\u4ECB\u65BC0\u548C1\u4E4B\u9593,\u5305\u62EC\u5169\u7AEF\u503C\uFF09\u3002",p:[{name:"data",detail:"\u5305\u542B\u76F8\u95DC\u6578\u64DA\u96C6\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002"},{name:"x",detail:"\u8981\u78BA\u5B9A\u5176\u767E\u5206\u6BD4\u6392\u4F4D\u7684\u503C\u3002"},{name:"significance",detail:"[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA3] - \u8981\u5728\u8A08\u7B97\u4E2D\u4F7F\u7528\u7684\u6709\u6548\u4F4D\u6578\u3002"}]},FORECAST:{d:"\u57FA\u65BC\u6578\u64DA\u96C6\u7684\u7DDA\u6027\u56DE\u6B78,\u8A08\u7B97\u6307\u5B9A x \u7684\u9810\u671F y \u503C\u3002",a:"\u57FA\u65BC\u6578\u64DA\u96C6\u7684\u7DDA\u6027\u56DE\u6B78",p:[{name:"x",detail:"x\u8EF8\u4E0A\u7528\u65BC\u9810\u6E2C\u7684\u503C\u3002"},{name:"\u6578\u64DA_y",detail:"\u4EE3\u8868\u56E0\u8B8A\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002"},{name:"\u6578\u64DA_x",detail:"\u4EE3\u8868\u5F15\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002"}]},FISHERINV:{d:"\u8FD4\u56DE\u6307\u5B9A\u6578\u503C\u7684 Fisher \u9006\u8B8A\u63DB\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u6578\u503C\u7684 Fisher \u9006\u8B8A\u63DB\u3002",p:[{name:"y",detail:"\u8981\u8A08\u7B97\u5176Fisher\u9006\u8B8A\u63DB\u7684\u6578\u503C\u3002"}]},FISHER:{d:"\u8FD4\u56DE\u6307\u5B9A\u6578\u503C\u7684 Fisher \u8B8A\u63DB\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u6578\u503C\u7684 Fisher \u8B8A\u63DB\u3002",p:[{name:"x",detail:"\u8981\u8A08\u7B97\u5176Fisher\u8B8A\u63DB\u7684\u6578\u503C\u3002"}]},MODE_SNGL:{d:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u51FA\u73FE\u6B21\u6578\u6700\u591A\u7684\u503C\u3002",a:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u51FA\u73FE\u6B21\u6578\u6700\u591A\u7684\u503C\u3002",p:[{name:"\u503C1",detail:"\u8A08\u7B97\u6A21\u5F0F\u6642\u8981\u6AA2\u67E5\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u5728\u8A08\u7B97\u6A21\u5F0F\u6642\u8981\u8003\u616E\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002"}]},WEIBULL_DIST:{d:"\u7D66\u5B9A\u5F62\u72C0\u548C\u5C3A\u5EA6,\u8FD4\u56DE\u97CB\u4F2F\u5206\u4F48\u51FD\u6578\uFF08\u6216\u97CB\u4F2F\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\uFF09\u7684\u503C\u3002",a:"\u7D66\u5B9A\u5F62\u72C0\u548C\u5C3A\u5EA6",p:[{name:"x",detail:"WEIBULL \u5206\u4F48\u51FD\u6578\u7684\u8F38\u5165\u503C\u3002"},{name:"alpha",detail:`Weibull \u5206\u4F48\u51FD\u6578\u7684\u5F62\u72C0\u53C3\u6578\u3002
  507. alpha\u503C\u5FC5\u9808\u5927\u65BC0\u3002`},{name:"beta",detail:`Weibull \u5206\u4F48\u51FD\u6578\u7684\u5C3A\u5EA6\u53C3\u6578\u3002
  508. beta\u503C\u5FC5\u9808\u5927\u65BC0\u3002`},{name:"cumulative",detail:"TRUE\uFF08\uFF09\u8868\u793A\u4F7F\u7528\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578,FALSE\uFF08\uFF09\u5247\u8868\u793A\u4F7F\u7528\u6982\u7387\u5BC6\u5EA6\u51FD\u6578\u3002"}]},COUNT:{d:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u6578\u503C\u7684\u500B\u6578\u3002",a:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u6578\u503C\u7684\u500B\u6578\u3002",p:[{name:"\u503C1",detail:"\u8A08\u6578\u6642\u8981\u6AA2\u67E5\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u5728\u8A08\u6578\u6642\u8981\u6AA2\u67E5\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002"}]},COUNTA:{d:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u503C\u7684\u6578\u91CF\u3002",a:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u503C\u7684\u6578\u91CF\u3002",p:[{name:"\u503C1",detail:"\u8A08\u6578\u6642\u8981\u6AA2\u67E5\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u5728\u8A08\u6578\u6642\u8981\u6AA2\u67E5\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002"}]},AVEDEV:{d:"\u8A08\u7B97\u6578\u64DA\u8207\u6578\u64DA\u96C6\u5E73\u5747\u503C\u4E4B\u9593\u7684\u504F\u5DEE\u5927\u5C0F\u7684\u5E73\u5747\u503C\u3002",a:"\u8A08\u7B97\u6578\u64DA\u8207\u6578\u64DA\u96C6\u5E73\u5747\u503C\u4E4B\u9593\u7684\u504F\u5DEE\u5927\u5C0F\u7684\u5E73\u5747\u503C\u3002",p:[{name:"\u503C1",detail:"\u6A23\u672C\u4E2D\u7684\u7B2C\u4E00\u9805\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u6A23\u672C\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002"}]},AVERAGE:{d:"\u8FD4\u56DE\u6578\u64DA\u96C6\u7684\u7B97\u8853\u5E73\u5747\u503C,\u5C0D\u6587\u5B57\u5FFD\u7565\u4E0D\u8A08\u3002",a:"\u8FD4\u56DE\u6578\u64DA\u96C6\u7684\u7B97\u8853\u5E73\u5747\u503C",p:[{name:"\u503C1",detail:"\u8A08\u7B97\u5E73\u5747\u503C\u6642\u7528\u5230\u7684\u7B2C\u4E00\u500B\u6578\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u5728\u8A08\u7B97\u5E73\u5747\u503C\u6642\u8981\u8003\u616E\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002"}]},AVERAGEA:{d:"\u8FD4\u56DE\u6578\u64DA\u96C6\u7684\u7B97\u8853\u5E73\u5747\u503C\u3002",a:"\u8FD4\u56DE\u6578\u64DA\u96C6\u7684\u7B97\u8853\u5E73\u5747\u503C\u3002",p:[{name:"\u503C1",detail:"\u8A08\u7B97\u5E73\u5747\u503C\u6642\u7528\u5230\u7684\u7B2C\u4E00\u500B\u6578\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u5728\u8A08\u7B97\u5E73\u5747\u503C\u6642\u8981\u8003\u616E\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002"}]},BINOM_DIST:{d:"\u8FD4\u56DE\u4E00\u5143\u4E8C\u9805\u5F0F\u5206\u4F48\u7684\u6982\u7387\u3002",a:"\u8FD4\u56DE\u4E00\u5143\u4E8C\u9805\u5F0F\u5206\u4F48\u7684\u6982\u7387\u3002",p:[{name:"number_s",detail:"\u8A66\u9A57\u7684\u6210\u529F\u6B21\u6578\u3002"},{name:"trials",detail:"\u7368\u7ACB\u6AA2\u9A57\u7684\u6B21\u6578\u3002"},{name:"probability_s",detail:"\u4EFB\u4E00\u7D66\u5B9A\u6AA2\u9A57\u7684\u6210\u529F\u6982\u7387\u3002"},{name:"cumulative",detail:"\u662F\u5426\u4F7F\u7528\u4E8C\u9805\u5F0F\u7D2F\u7A4D\u5206\u4F48\u3002"}]},BINOM_INV:{d:"\u8A08\u7B97\u7D2F\u7A4D\u4E8C\u9805\u5F0F\u5206\u4F48\u5927\u65BC\u6216\u7B49\u65BC\u6307\u5B9A\u689D\u4EF6\u7684\u6700\u5C0F\u503C\u3002",a:"\u8A08\u7B97\u7D2F\u7A4D\u4E8C\u9805\u5F0F\u5206\u4F48\u5927\u65BC\u6216\u7B49\u65BC\u6307\u5B9A\u689D\u4EF6\u7684\u6700\u5C0F\u503C\u3002",p:[{name:"trials",detail:"\u8C9D\u52AA\u5229\u8A66\u9A57\u6B21\u6578\u3002"},{name:"probability_s",detail:"\u4EFB\u4E00\u6B21\u7D66\u5B9A\u6AA2\u9A57\u7684\u6210\u529F\u6982\u7387\u3002"},{name:"alpha",detail:"\u671F\u671B\u7684\u81E8\u754C\u6982\u7387\u3002"}]},CONFIDENCE_NORM:{d:"\u8A08\u7B97\u5E38\u6001\u5206\u914D\u7684\u7F6E\u4FE1\u5340\u9593\u7684\u4E00\u534A\u5BEC\u5EA6\u3002",a:"\u8A08\u7B97\u5E38\u6001\u5206\u914D\u7684\u7F6E\u4FE1\u5340\u9593\u7684\u4E00\u534A\u5BEC\u5EA6\u3002",p:[{name:"alpha",detail:`\u7528\u4F86\u8A08\u7B97\u7F6E\u4FE1\u6C34\u51C6\u7684\u986F\u8457\u6027\u6C34\u51C6\u3002
  509. \u7F6E\u4FE1\u6C34\u51C6\u7B49\u65BC100*\uFF081 - alpha\uFF09%,\u4EA6\u5373,\u5982\u679C alpha \u70BA0.05,\u5247\u7F6E\u4FE1\u6C34\u51C6\u70BA 95%\u3002`},{name:"standard_dev",detail:"\u6578\u64DA\u5340\u57DF\u7684\u7E3D\u9AD4\u6A19\u6E96\u5DEE\u3002"},{name:"size",detail:"\u6A23\u672C\u7E3D\u91CF\u7684\u5927\u5C0F\u3002"}]},CORREL:{d:"\u8A08\u7B97\u7D66\u5B9A\u6578\u64DA\u96C6\u7684\u76AE\u723E\u905C\u7A4D\u77E9\u76F8\u95DC\u4FC2\u6578 r\u3002",a:"\u8A08\u7B97\u7D66\u5B9A\u6578\u64DA\u96C6\u7684\u76AE\u723E\u905C\u7A4D\u77E9\u76F8\u95DC\u4FC2\u6578 r\u3002",p:[{name:"\u6578\u64DA_y",detail:"\u4EE3\u8868\u56E0\u8B8A\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002"},{name:"\u6578\u64DA_x",detail:"\u4EE3\u8868\u5F15\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002"}]},COVARIANCE_P:{d:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u7E3D\u9AD4\u5354\u65B9\u5DEE\u3002",a:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u7E3D\u9AD4\u5354\u65B9\u5DEE\u3002",p:[{name:"\u6578\u64DA_x",detail:"\u4EE3\u8868\u5F15\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002"},{name:"\u6578\u64DA_y",detail:"\u4EE3\u8868\u56E0\u8B8A\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002"}]},COVARIANCE_S:{d:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u6A23\u672C\u5354\u65B9\u5DEE\u3002",a:"\u8A08\u7B97\u6578\u64DA\u96C6\u7684\u6A23\u672C\u5354\u65B9\u5DEE\u3002",p:[{name:"\u6578\u64DA_x",detail:"\u4EE3\u8868\u5F15\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002"},{name:"\u6578\u64DA_y",detail:"\u4EE3\u8868\u56E0\u8B8A\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002"}]},DEVSQ:{d:"\u57FA\u65BC\u6A23\u672C\u8A08\u7B97\u5176\u504F\u5DEE\u7684\u5E73\u65B9\u548C\u3002",a:"\u57FA\u65BC\u6A23\u672C\u8A08\u7B97\u5176\u504F\u5DEE\u7684\u5E73\u65B9\u548C\u3002",p:[{name:"\u503C1",detail:"\u6A23\u672C\u4E2D\u7684\u7B2C\u4E00\u9805\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u6A23\u672C\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002"}]},EXPON_DIST:{d:"\u8FD4\u56DE\u5E36\u6709\u6307\u5B9A Lambda \u548C\u6307\u5B9A\u503C\u7684\u6307\u6578\u5206\u4F48\u51FD\u6578\u7684\u503C\u3002",a:"\u8FD4\u56DE\u5E36\u6709\u6307\u5B9A Lambda \u548C\u6307\u5B9A\u503C\u7684\u6307\u6578\u5206\u4F48\u51FD\u6578\u7684\u503C\u3002",p:[{name:"x",detail:"\u6307\u6578\u5206\u4F48\u51FD\u6578\u7684\u8F38\u5165\u503C\u3002"},{name:"lambda",detail:"\u7528\u65BC\u6307\u5B9A\u6307\u6578\u5206\u4F48\u51FD\u6578\u7684 lambda \u503C\u3002"},{name:"cumulative",detail:"\u662F\u5426\u4F7F\u7528\u6307\u6578\u7D2F\u7A4D\u5206\u4F48\u3002"}]},AVERAGEIF:{d:"\u6839\u64DA\u689D\u4EF6\u8FD4\u56DE\u7BC4\u570D\u7684\u5E73\u5747\u503C\u3002",a:"\u6839\u64DA\u689D\u4EF6\u8FD4\u56DE\u7BC4\u570D\u7684\u5E73\u5747\u503C\u3002",p:[{name:"criteria_range",detail:"\u8981\u5C0D\u5176\u6AA2\u67E5 criterion \u7684\u7BC4\u570D\u3002"},{name:"criterion",detail:`\u8981\u61C9\u7528\u65BCcriteria_range\u7684\u6A21\u5F0F\u6216\u6E2C\u8A66\u689D\u4EF6\u3002
  510. \u7B49\u65BC:"\u6587\u5B57" \u6216 1 \u6216 "=\u6587\u5B57" \u6216 "=1"
  511. \u5927\u65BC:">1"
  512. \u5927\u65BC\u7B49\u65BC:">=1"
  513. \u5C0F\u65BC:"<1"
  514. \u5C0F\u65BC\u7B49\u65BC:"<=1"
  515. \u4E0D\u7B49\u65BC:"<>1"\u6216"<>\u6587\u5B57"`},{name:"average_range",detail:"[\u53EF\u9078] - \u8981\u8A08\u7B97\u5E73\u5747\u503C\u7684\u7BC4\u570D\u3002\u5982\u679C\u672A\u63D0\u4F9B\u6B64\u53C3\u6578,\u5247\u6539\u7528criteria_range\u4F86\u8A08\u7B97\u5E73\u5747\u503C\u3002"}]},AVERAGEIFS:{d:"\u6839\u64DA\u591A\u9805\u689D\u4EF6\u8FD4\u56DE\u7BC4\u570D\u7684\u5E73\u5747\u503C\u3002",a:"\u6839\u64DA\u591A\u9805\u689D\u4EF6\u8FD4\u56DE\u7BC4\u570D\u7684\u5E73\u5747\u503C\u3002",p:[{name:"average_range",detail:"\u8981\u8A08\u7B97\u5E73\u5747\u503C\u7684\u7BC4\u570D\u3002"},{name:"criteria_range1",detail:"\u8981\u5C0D\u5176\u6AA2\u67E5 criterion1 \u7684\u7BC4\u570D\u3002"},{name:"criterion1",detail:"\u8981\u61C9\u7528\u65BCcriteria_range1\u7684\u6A21\u5F0F\u6216\u6E2C\u8A66\u689D\u4EF6\u3002"},{name:"criteria_range2, criterion2, ...",detail:"[\u53EF\u9078] - \u8981\u6AA2\u67E5\u7684\u5176\u4ED6\u7BC4\u570D\u548C\u689D\u4EF6\u3002"}]},PERMUT:{d:"\u8FD4\u56DE\u53EF\u5F9E\u6578\u4F4D\u5C0D\u8C61\u4E2D\u9078\u64C7\u7684\u7D66\u5B9A\u6578\u76EE\u5C0D\u8C61\u7684\u6392\u5217\u6578\u3002",a:"\u8FD4\u56DE\u53EF\u5F9E\u6578\u4F4D\u5C0D\u8C61\u4E2D\u9078\u64C7\u7684\u7D66\u5B9A\u6578\u76EE\u5C0D\u8C61\u7684\u6392\u5217\u6578\u3002",p:[{name:"number",detail:"\u8868\u793A\u5C0D\u8C61\u500B\u6578\u7684\u6574\u6578\u3002"},{name:"number_chosen",detail:"\u8868\u793A\u6BCF\u500B\u6392\u5217\u4E2D\u5C0D\u8C61\u500B\u6578\u7684\u6574\u6578\u3002"}]},TRIMMEAN:{d:"\u5728\u6392\u9664\u6578\u64DA\u96C6\u9AD8\u4F4E\u5169\u7AEF\u7684\u90E8\u5206\u6578\u64DA\u4E4B\u5F8C\u8A08\u7B97\u6240\u5F97\u7684\u5E73\u5747\u503C\u3002",a:"\u5728\u6392\u9664\u6578\u64DA\u96C6\u9AD8\u4F4E\u5169\u7AEF\u7684\u90E8\u5206\u6578\u64DA\u4E4B\u5F8C\u8A08\u7B97\u6240\u5F97\u7684\u5E73\u5747\u503C\u3002",p:[{name:"\u6578\u64DA",detail:"\u5305\u542B\u76F8\u95DC\u6578\u64DA\u96C6\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002"},{name:"\u6392\u9664\u6BD4\u4F8B",detail:`\u8981\u5F9E\u6578\u64DA\u96C6\u7684\u6975\u503C\u90E8\u5206\u6392\u9664\u7684\u6578\u64DA\u5360\u6578\u64DA\u96C6\u7684\u6BD4\u4F8B\u3002
  516. \u6392\u9664\u6BD4\u4F8B\u5FC5\u9808\u5927\u65BC\u7B49\u65BC0\u4E14\u5C0F\u65BC1\u3002`}]},PERCENTILE_EXC:{d:"\u8FD4\u56DE\u6578\u7D44\u7684 K \u767E\u5206\u9EDE\u503C,K \u4ECB\u65BC0\u52301\u4E4B\u9593,\u4E0D\u542B0\u82071\u3002",a:"\u8FD4\u56DE\u6578\u7D44\u7684 K \u767E\u5206\u9EDE\u503C,K \u4ECB\u65BC0\u52301\u4E4B\u9593,\u4E0D\u542B0\u82071\u3002",p:[{name:"array",detail:"\u5B9A\u7FA9\u76F8\u5C0D\u4F4D\u7F6E\u7684\u6578\u7D44\u6216\u6578\u64DA\u5340\u57DF\u3002"},{name:"k",detail:"0 \u5230 1 \u4E4B\u9593\u7684\u767E\u5206\u9EDE\u503C,\u4E0D\u5305\u542B 0 \u548C 1\u3002"}]},PERCENTILE_INC:{d:"\u8FD4\u56DE\u6578\u7D44\u7684 K \u767E\u5206\u9EDE\u503C,K \u4ECB\u65BC 0 \u5230 1 \u4E4B\u9593,\u5305\u542B 0 \u8207 1\u3002",a:"\u8FD4\u56DE\u6578\u7D44\u7684 K \u767E\u5206\u9EDE\u503C,K \u4ECB\u65BC 0 \u5230 1 \u4E4B\u9593,\u5305\u542B 0 \u8207 1\u3002",p:[{name:"array",detail:"\u5B9A\u7FA9\u76F8\u5C0D\u4F4D\u7F6E\u7684\u6578\u7D44\u6216\u6578\u64DA\u5340\u57DF\u3002"},{name:"k",detail:"0 \u5230 1 \u4E4B\u9593\u7684\u767E\u5206\u9EDE\u503C,\u5305\u542B 0 \u548C 1\u3002"}]},PEARSON:{d:"\u56DE\u76AE\u723E\u751F\uFF08Pearson\uFF09\u4E58\u7A4D\u77E9\u76F8\u95DC\u4FC2\u6578 r\u3002",a:"\u56DE\u76AE\u723E\u751F\uFF08Pearson\uFF09\u4E58\u7A4D\u77E9\u76F8\u95DC\u4FC2\u6578 r\u3002",p:[{name:"\u6578\u64DA_x",detail:"\u4EE3\u8868\u5F15\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002"},{name:"\u6578\u64DA_y",detail:"\u4EE3\u8868\u56E0\u8B8A\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002"}]},NORM_S_INV:{d:"\u8FD4\u56DE\u6A19\u6E96\u6B63\u614B\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\u7684\u53CD\u51FD\u6578\u503C\u3002\u8A72\u5206\u4F48\u7684\u5E73\u5747\u503C\u70BA0,\u6A19\u6E96\u5DEE\u70BA1\u3002",a:"\u8FD4\u56DE\u6A19\u6E96\u6B63\u614B\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\u7684\u53CD\u51FD\u6578\u503C\u3002\u8A72\u5206\u4F48\u7684\u5E73\u5747\u503C\u70BA0,\u6A19\u6E96\u5DEE\u70BA1\u3002",p:[{name:"probability",detail:"\u5C0D\u61C9\u65BC\u5E38\u6001\u5206\u914D\u7684\u6982\u7387\u3002"}]},NORM_S_DIST:{d:"\u8FD4\u56DE\u6A19\u6E96\u5E38\u6001\u5206\u914D\u51FD\u6578\uFF08\u8A72\u5206\u4F48\u7684\u5E73\u5747\u503C\u70BA0,\u6A19\u6E96\u5DEE\u70BA1\uFF09\u3002",a:"\u8FD4\u56DE\u6A19\u6E96\u5E38\u6001\u5206\u914D\u51FD\u6578\uFF08\u8A72\u5206\u4F48\u7684\u5E73\u5747\u503C\u70BA0,\u6A19\u6E96\u5DEE\u70BA1\uFF09\u3002",p:[{name:"z",detail:"\u9700\u8981\u8A08\u7B97\u5176\u5206\u4F48\u7684\u6578\u503C\u3002"},{name:"cumulative",detail:`\u51B3\u5B9A\u51FD\u6578\u5F62\u5F0F\u7684\u908F\u8F2F\u503C\u3002
  517. \u5982\u679C\u70BATRUE\uFF08\uFF09,\u5247\u8FD4\u56DE\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\uFF1B
  518. \u5982\u679C\u70BAFALSE\uFF08\uFF09,\u5247\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6578\u3002`}]},NORM_INV:{d:"\u8FD4\u56DE\u6307\u5B9A\u5E73\u5747\u503C\u548C\u6A19\u6E96\u5DEE\u7684\u6B63\u614B\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\u7684\u53CD\u51FD\u6578\u503C\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u5E73\u5747\u503C\u548C\u6A19\u6E96\u5DEE\u7684\u6B63\u614B\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\u7684\u53CD\u51FD\u6578\u503C\u3002",p:[{name:"probability",detail:"\u5C0D\u61C9\u65BC\u5E38\u6001\u5206\u914D\u7684\u6982\u7387\u3002"},{name:"mean",detail:"\u5206\u4F48\u7684\u7B97\u8853\u5E73\u5747\u503C\u3002"},{name:"standard_dev",detail:"\u5206\u4F48\u7684\u6A19\u6E96\u5DEE\u3002"}]},NORM_DIST:{d:"\u8FD4\u56DE\u6307\u5B9A\u5E73\u5747\u503C\u548C\u6A19\u6E96\u5DEE\u7684\u5E38\u6001\u5206\u914D\u51FD\u6578\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u5E73\u5747\u503C\u548C\u6A19\u6E96\u5DEE\u7684\u5E38\u6001\u5206\u914D\u51FD\u6578\u3002",p:[{name:"x",detail:"\u9700\u8981\u8A08\u7B97\u5176\u5206\u4F48\u7684\u6578\u503C\u3002"},{name:"mean",detail:"\u5206\u4F48\u7684\u7B97\u8853\u5E73\u5747\u503C\u3002"},{name:"standard_dev",detail:"\u5206\u4F48\u7684\u6A19\u6E96\u5DEE\u3002"},{name:"cumulative",detail:`\u51B3\u5B9A\u51FD\u6578\u5F62\u5F0F\u7684\u908F\u8F2F\u503C\u3002
  519. \u5982\u679C\u70BATRUE\uFF08\uFF09,\u5247\u8FD4\u56DE\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\uFF1B
  520. \u5982\u679C\u70BAFALSE\uFF08\uFF09,\u5247\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6578\u3002`}]},NEGBINOM_DIST:{d:"\u8FD4\u56DE\u8CA0\u4E8C\u9805\u5F0F\u5206\u4F48\u3002",a:"\u8FD4\u56DE\u8CA0\u4E8C\u9805\u5F0F\u5206\u4F48\u3002",p:[{name:"number_f",detail:"\u8981\u985E\u6BD4\u7684\u5931\u6557\u6B21\u6578\u3002"},{name:"number_s",detail:"\u8981\u985E\u6BD4\u7684\u6210\u529F\u6B21\u6578\u3002"},{name:"probability_s",detail:"\u4EFB\u4E00\u6B21\u7D66\u5B9A\u6AA2\u9A57\u7684\u6210\u529F\u6982\u7387\u3002"},{name:"cumulative",detail:`\u51B3\u5B9A\u51FD\u6578\u5F62\u5F0F\u7684\u908F\u8F2F\u503C\u3002
  521. \u5982\u679C\u70BATRUE\uFF08\uFF09,\u5247\u8FD4\u56DE\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\uFF1B
  522. \u5982\u679C\u70BAFALSE\uFF08\uFF09,\u5247\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6578\u3002`}]},MINA:{d:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u7684\u6700\u5C0F\u6578\u503C\u3002",a:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u7684\u6700\u5C0F\u6578\u503C\u3002",p:[{name:"\u503C1",detail:"\u8A08\u7B97\u6700\u5C0F\u503C\u6642\u6240\u7528\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2",detail:"[\u53EF\u9078] - \u5728\u8A08\u7B97\u6700\u5C0F\u503C\u6642\u8981\u8003\u616E\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002"}]},MIN:{d:"\u8FD4\u56DE\u6578\u503C\u6578\u64DA\u96C6\u4E2D\u7684\u6700\u5C0F\u503C\u3002",a:"\u8FD4\u56DE\u6578\u503C\u6578\u64DA\u96C6\u4E2D\u7684\u6700\u5C0F\u503C\u3002",p:[{name:"\u503C1",detail:"\u8A08\u7B97\u6700\u5C0F\u503C\u6642\u6240\u7528\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2",detail:"[\u53EF\u9078] - \u5728\u8A08\u7B97\u6700\u5C0F\u503C\u6642\u8981\u8003\u616E\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002"}]},MEDIAN:{d:"\u8FD4\u56DE\u6578\u503C\u6578\u64DA\u96C6\u4E2D\u7684\u4E2D\u503C\u3002",a:"\u8FD4\u56DE\u6578\u503C\u6578\u64DA\u96C6\u4E2D\u7684\u4E2D\u503C\u3002",p:[{name:"\u503C1",detail:"\u8A08\u7B97\u4E2D\u503C\u6642\u6240\u7528\u7684\u7B2C\u4E00\u500B\u6578\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2",detail:"[\u53EF\u9078] - \u5728\u8A08\u7B97\u4E2D\u503C\u6642\u8981\u8003\u616E\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002"}]},MAXA:{d:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u7684\u6700\u5927\u6578\u503C\u3002",a:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u7684\u6700\u5927\u6578\u503C\u3002",p:[{name:"\u503C1",detail:"\u8A08\u7B97\u6700\u5927\u503C\u6642\u6240\u7528\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u5728\u8A08\u7B97\u6700\u5927\u503C\u6642\u8981\u8003\u616E\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002"}]},MAX:{d:"\u8FD4\u56DE\u6578\u503C\u6578\u64DA\u96C6\u4E2D\u7684\u6700\u5927\u503C\u3002",a:"\u8FD4\u56DE\u6578\u503C\u6578\u64DA\u96C6\u4E2D\u7684\u6700\u5927\u503C\u3002",p:[{name:"\u503C1",detail:"\u8A08\u7B97\u6700\u5927\u503C\u6642\u6240\u7528\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2",detail:"[\u53EF\u9078] - \u5728\u8A08\u7B97\u6700\u5927\u503C\u6642\u8981\u8003\u616E\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002"}]},LOGNORM_INV:{d:"\u8FD4\u56DE x \u7684\u5C0D\u6578\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\u7684\u53CD\u51FD\u6578\u503C\u3002",a:"\u8FD4\u56DE x \u7684\u5C0D\u6578\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\u7684\u53CD\u51FD\u6578\u503C\u3002",p:[{name:"probability",detail:"\u8207\u5C0D\u6578\u5206\u4F48\u76F8\u95DC\u7684\u6982\u7387,\u4ECB\u65BC0\u82071\u4E4B\u9593\uFF08\u4E0D\u542B0\u82071\uFF09\u3002"},{name:"mean",detail:"ln(x) \u7684\u5E73\u5747\u503C\u3002"},{name:"standard_dev",detail:"ln(x) \u7684\u6A19\u6E96\u5DEE,\u6B63\u6578\u3002"}]},LOGNORM_DIST:{d:"\u8FD4\u56DE x \u7684\u5C0D\u6578\u5206\u4F48\u51FD\u6578\u3002",a:"\u8FD4\u56DE x \u7684\u5C0D\u6578\u5206\u4F48\u51FD\u6578\u3002",p:[{name:"x",detail:"\u7528\u4F86\u8A08\u7B97\u51FD\u6578\u7684\u503C\u3002"},{name:"mean",detail:"ln(x) \u7684\u5E73\u5747\u503C\u3002"},{name:"standard_dev",detail:"ln(x) \u7684\u6A19\u6E96\u5DEE,\u6B63\u6578\u3002"},{name:"cumulative",detail:`\u51B3\u5B9A\u51FD\u6578\u5F62\u5F0F\u7684\u908F\u8F2F\u503C\u3002
  523. \u5982\u679C\u70BATRUE\uFF08\uFF09,\u5247\u8FD4\u56DE\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\uFF1B
  524. \u5982\u679C\u70BAFALSE\uFF08\uFF09,\u5247\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6578\u3002`}]},Z_TEST:{d:"\u8FD4\u56DE z \u6AA2\u9A57\u7684\u55AE\u5C3E P \u503C\u3002",a:"\u8FD4\u56DE z \u6AA2\u9A57\u7684\u55AE\u5C3E P \u503C\u3002",p:[{name:"array",detail:"\u7528\u4F86\u6AA2\u9A57 x \u7684\u6578\u7D44\u6216\u6578\u64DA\u5340\u57DF\u3002"},{name:"x",detail:"\u8981\u6E2C\u8A66\u7684\u503C\u3002"},{name:"sigma",detail:"[\u53EF\u9078] - \u7E3D\u9AD4\uFF08\u5DF2\u77E5\uFF09\u6A19\u6E96\u5DEE\u3002\u5982\u679C\u7701\u7565,\u5247\u4F7F\u7528\u6A23\u672C\u6A19\u6E96\u5DEE\u3002"}]},PROB:{d:"\u8FD4\u56DE\u5340\u57DF\u4E2D\u7684\u6578\u503C\u843D\u5728\u6307\u5B9A\u5340\u9593\u5167\u7684\u6982\u7387\u3002",a:"\u8FD4\u56DE\u5340\u57DF\u4E2D\u7684\u6578\u503C\u843D\u5728\u6307\u5B9A\u5340\u9593\u5167\u7684\u6982\u7387\u3002",p:[{name:"x_range",detail:"\u5177\u6709\u5404\u81EA\u76F8\u61C9\u6982\u7387\u503C\u7684 x \u6578\u503C\u5340\u57DF\u3002"},{name:"prob_range",detail:"\u8207 x_range \u4E2D\u7684\u503C\u76F8\u95DC\u806F\u7684\u4E00\u7D44\u6982\u7387\u503C\u3002"},{name:"lower_limit",detail:"\u8981\u8A08\u7B97\u5176\u6982\u7387\u7684\u6578\u503C\u4E0B\u754C\u3002"},{name:"upper_limit",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA\u4E0B\u754C] - \u8981\u8A08\u7B97\u5176\u6982\u7387\u7684\u53EF\u9078\u6578\u503C\u4E0A\u754C\u3002
  525. \u5982\u679C\u7701\u7565\u4E0A\u754C,PROB\u5247\u8A08\u7B97\u96A8\u6A5F\u9078\u53D6\u76F8\u61C9\u503C\u7684\u6B21\u6578\u6070\u597D\u7B49\u65BC\u4E0B\u754C\u7684\u6982\u7387\u3002`}]},QUARTILE_EXC:{d:"\u57FA\u65BC 0 \u5230 1 \u4E4B\u9593\uFF08\u4E0D\u5305\u62EC 0 \u548C 1\uFF09\u7684\u767E\u5206\u9EDE\u503C\u8FD4\u56DE\u6578\u64DA\u96C6\u7684\u56DB\u5206\u4F4D\u6578\u3002",a:"\u57FA\u65BC 0 \u5230 1 \u4E4B\u9593\uFF08\u4E0D\u5305\u62EC 0 \u548C 1\uFF09\u7684\u767E\u5206\u9EDE\u503C\u8FD4\u56DE\u6578\u64DA\u96C6\u7684\u56DB\u5206\u4F4D\u6578\u3002",p:[{name:"array",detail:"\u8981\u6C42\u5F97\u56DB\u5206\u4F4D\u6578\u503C\u7684\u6578\u7D44\u6216\u6578\u5B57\u578B\u5132\u5B58\u683C\u5340\u57DF\u3002"},{name:"quart",detail:`\u8981\u8FD4\u56DE\u7B2C\u5E7E\u500B\u56DB\u5206\u4F4D\u503C\u3002
  526. 1\u8FD4\u56DE\u6578\u64DA\u4E2D\u6700\u9760\u8FD1\u7B2C\u4E00\u500B\u56DB\u5206\u4F4D\u503C\u7684\u503C\uFF0825%\u6A19\u8A18\uFF09\u3002
  527. 2\u8FD4\u56DE\u6578\u64DA\u4E2D\u6700\u63A5\u8FD1\u4E2D\u503C\u7684\u503C\uFF0850%\u6A19\u8A18\uFF09\u3002
  528. 3\u8FD4\u56DE\u6578\u64DA\u4E2D\u6700\u63A5\u8FD1\u7B2C\u4E09\u500B\u56DB\u5206\u4F4D\u503C\u7684\u503C\uFF0875%\u6A19\u8A18\uFF09\u3002`}]},QUARTILE_INC:{d:"\u6839\u64DA 0 \u5230 1 \u4E4B\u9593\u7684\u767E\u5206\u9EDE\u503C\uFF08\u5305\u542B 0 \u548C 1\uFF09\u8FD4\u56DE\u6578\u64DA\u96C6\u7684\u56DB\u5206\u4F4D\u6578\u3002",a:"\u6839\u64DA 0 \u5230 1 \u4E4B\u9593\u7684\u767E\u5206\u9EDE\u503C\uFF08\u5305\u542B 0 \u548C 1\uFF09\u8FD4\u56DE\u6578\u64DA\u96C6\u7684\u56DB\u5206\u4F4D\u6578\u3002",p:[{name:"array",detail:"\u8981\u6C42\u5F97\u56DB\u5206\u4F4D\u6578\u503C\u7684\u6578\u7D44\u6216\u6578\u5B57\u578B\u5132\u5B58\u683C\u5340\u57DF\u3002"},{name:"quart",detail:`\u8981\u8FD4\u56DE\u7B2C\u5E7E\u500B\u56DB\u5206\u4F4D\u503C\u3002
  529. 0\u8FD4\u56DE\u6578\u64DA\u4E2D\u7684\u6700\u5C0F\u503C\uFF080%\u6A19\u8A18\uFF09\u3002
  530. 1\u8FD4\u56DE\u6578\u64DA\u4E2D\u6700\u9760\u8FD1\u7B2C\u4E00\u500B\u56DB\u5206\u4F4D\u503C\u7684\u503C\uFF0825%\u6A19\u8A18\uFF09\u3002
  531. 2\u8FD4\u56DE\u6578\u64DA\u4E2D\u6700\u63A5\u8FD1\u4E2D\u503C\u7684\u503C\uFF0850%\u6A19\u8A18\uFF09\u3002
  532. 3\u8FD4\u56DE\u6578\u64DA\u4E2D\u6700\u63A5\u8FD1\u7B2C\u4E09\u500B\u56DB\u5206\u4F4D\u503C\u7684\u503C\uFF0875%\u6A19\u8A18\uFF09\u3002
  533. 4\u8FD4\u56DE\u6578\u64DA\u4E2D\u7684\u6700\u5927\u503C\uFF08100%\u6A19\u8A18\uFF09\u3002`}]},POISSON_DIST:{d:"\u8FD4\u56DE\u6CCA\u677E\u5206\u5E03\u3002",a:"\u8FD4\u56DE\u6CCA\u677E\u5206\u5E03\u3002",p:[{name:"x",detail:"\u4E8B\u4EF6\u6578\u3002"},{name:"mean",detail:"\u671F\u671B\u503C\u3002\u975E\u8CA0\u6578"},{name:"cumulative",detail:`\u4E00 \u908F\u8F2F\u503C,\u78BA\u5B9A\u6240\u8FD4\u56DE\u7684\u6982\u7387\u5206\u4F48\u7684\u5F62\u5F0F\u3002
  534. \u5982\u679C\u70BATRUE\uFF08\uFF09,\u5247\u8FD4\u56DE\u767C\u751F\u7684\u96A8\u6A5F\u4E8B\u4EF6\u6578\u5728\u96F6\uFF08\u542B\u96F6\uFF09\u548Cx\uFF08\u542Bx\uFF09\u4E4B\u9593\u7684\u7D2F\u7A4D\u6CCA\u677E\u6982\u7387\uFF1B
  535. \u5982\u679C\u70BAFALSE\uFF08\uFF09,\u5247\u8FD4\u56DE\u767C\u751F\u7684\u4E8B\u4EF6\u6578\u6B63\u597D\u662Fx\u7684\u6CCA\u677E\u6982\u7387\u5BC6\u5EA6\u51FD\u6578\u3002`}]},RSQ:{d:"\u8FD4\u56DE\u76AE\u723E\u751F(Pearson)\u4E58\u7A4D\u77E9\u76F8\u95DC\u4FC2\u6578r\u7684\u5E73\u65B9\u3002",a:"\u8FD4\u56DE\u76AE\u723E\u751F(Pearson)\u4E58\u7A4D\u77E9\u76F8\u95DC\u4FC2\u6578r\u7684\u5E73\u65B9\u3002",p:[{name:"\u6578\u64DA_y",detail:"\u4EE3\u8868\u56E0\u8B8A\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002"},{name:"\u6578\u64DA_x",detail:"\u4EE3\u8868\u5F15\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002"}]},T_DIST:{d:"\u8FD4\u56DE\u5B78\u751F\u7684\u5DE6\u5C3E t \u5206\u4F48\u3002",a:"\u8FD4\u56DE\u5B78\u751F\u7684\u5DE6\u5C3E t \u5206\u4F48\u3002",p:[{name:"x",detail:"T-\u5206\u4F48\u51FD\u6578\u7684\u8F38\u5165\u3002"},{name:"degrees_freedom",detail:"\u81EA\u7531\u5EA6\u6578\u503C\u3002"},{name:"tails",detail:`\u51B3\u5B9A\u51FD\u6578\u5F62\u5F0F\u7684\u908F\u8F2F\u503C\u3002
  536. \u5982\u679Ccumulative\u70BATRUE\uFF08\uFF09,\u5247HYPGEOM.DIST\u8FD4\u56DE\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\uFF1B
  537. \u5982\u679C\u70BAFALSE\uFF08\uFF09,\u5247\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6578\u3002`}]},T_DIST_2T:{d:"\u8FD4\u56DE\u5B78\u751F\u7684\u96D9\u5C3E t \u5206\u4F48\u3002",a:"\u8FD4\u56DE\u5B78\u751F\u7684\u96D9\u5C3E t \u5206\u4F48\u3002",p:[{name:"x",detail:"T-\u5206\u4F48\u51FD\u6578\u7684\u8F38\u5165\u3002"},{name:"degrees_freedom",detail:"\u81EA\u7531\u5EA6\u6578\u503C\u3002"}]},T_DIST_RT:{d:"\u8FD4\u56DE\u5B78\u751F\u7684\u53F3\u5C3E t \u5206\u4F48\u3002",a:"\u8FD4\u56DE\u5B78\u751F\u7684\u53F3\u5C3E t \u5206\u4F48\u3002",p:[{name:"x",detail:"T-\u5206\u4F48\u51FD\u6578\u7684\u8F38\u5165\u3002"},{name:"degrees_freedom",detail:"\u81EA\u7531\u5EA6\u6578\u503C\u3002"}]},T_INV:{d:"\u8FD4\u56DE\u5B78\u751F\u7684 t \u5206\u4F48\u7684\u5DE6\u5C3E\u53CD\u51FD\u6578\u3002",a:"\u8FD4\u56DE\u5B78\u751F\u7684 t \u5206\u4F48\u7684\u5DE6\u5C3E\u53CD\u51FD\u6578\u3002",p:[{name:"probability",detail:`\u8207\u5B78\u751F\u7684 t \u5206\u4F48\u76F8\u95DC\u7684\u6982\u7387\u3002
  538. \u5FC5\u9808\u5927\u65BC 0 \u4E14\u5C0F\u65BC 1\u3002`},{name:"deg_freedom",detail:`\u81EA\u7531\u5EA6\u6578\u503C\u3002
  539. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u53C3\u6578\u4E0D\u662F\u6574\u6578,\u5C07\u622A\u53D6\u5176\u6574\u6578\u90E8\u5206\u3002
  540. \u5FC5\u9808\u5927\u65BC\u7B49\u65BC1\u3002`}]},T_INV_2T:{d:"\u8FD4\u56DE\u5B78\u751F t \u5206\u4F48\u7684\u96D9\u5C3E\u53CD\u51FD\u6578\u3002",a:"\u8FD4\u56DE\u5B78\u751F t \u5206\u4F48\u7684\u96D9\u5C3E\u53CD\u51FD\u6578\u3002",p:[{name:"probability",detail:`\u8207\u5B78\u751F\u7684t\u5206\u4F48\u76F8\u95DC\u7684\u6982\u7387\u3002
  541. \u5FC5\u9808\u5927\u65BC 0 \u4E14\u5C0F\u65BC 1\u3002`},{name:"deg_freedom",detail:`\u81EA\u7531\u5EA6\u6578\u503C\u3002
  542. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u53C3\u6578\u4E0D\u662F\u6574\u6578,\u5C07\u622A\u53D6\u5176\u6574\u6578\u90E8\u5206\u3002
  543. \u5FC5\u9808\u5927\u65BC\u7B49\u65BC1\u3002`}]},T_TEST:{d:"\u8FD4\u56DE\u8207t-\u6AA2\u9A57\u76F8\u95DC\u7684\u6982\u7387\u3002\u7528\u65BC\u5224\u65B7\u5169\u500B\u6A23\u672C\u662F\u5426\u53EF\u80FD\u662F\u51FA\u81EA\u5E73\u5747\u503C\u76F8\u540C\u7684\u5169\u500B\u6A23\u672C\u7E3D\u9AD4\u3002",a:"\u8FD4\u56DE\u8207t-\u6AA2\u9A57\u76F8\u95DC\u7684\u6982\u7387\u3002\u7528\u65BC\u5224\u65B7\u5169\u500B\u6A23\u672C\u662F\u5426\u53EF\u80FD\u662F\u51FA\u81EA\u5E73\u5747\u503C\u76F8\u540C\u7684\u5169\u500B\u6A23\u672C\u7E3D\u9AD4\u3002",p:[{name:"array1",detail:"\u5C07\u7528\u65BCt\u6AA2\u9A57\u7684\u7B2C\u4E00\u500B\u6578\u64DA\u6A23\u672C\u6216\u7B2C\u4E00\u7D44\u5132\u5B58\u683C\u3002"},{name:"array2",detail:"\u5C07\u7528\u65BCt\u6AA2\u9A57\u7684\u7B2C\u4E8C\u500B\u6578\u64DA\u6A23\u672C\u6216\u7B2C\u4E8C\u7D44\u5132\u5B58\u683C\u3002"},{name:"tails",detail:`\u6307\u5B9A\u5206\u4F48\u7684\u5C3E\u6578\u3002
  544. \u5982\u679C\u70BA 1:\u4F7F\u7528\u55AE\u5C3E\u5206\u4F48\u3002
  545. \u5982\u679C\u70BA 2:\u4F7F\u7528\u96D9\u5C3E\u5206\u4F48\u3002`},{name:"type",detail:`\u6307\u5B9At\u6AA2\u9A57\u7684\u985E\u578B\u3002
  546. \u5982\u679C\u70BA 1:\u57F7\u884C\u914D\u5C0D\u6AA2\u9A57\u3002
  547. \u5982\u679C\u70BA 2:\u57F7\u884C\u96D9\u6A23\u672C\u7B49\u65B9\u5DEE\uFF08\u540C\u65B9\u5DEE\uFF09\u6AA2\u9A57\u3002
  548. \u5982\u679C\u70BA 3:\u57F7\u884C\u96D9\u6A23\u672C\u4E0D\u7B49\u65B9\u5DEE\uFF08\u5F02\u65B9\u5DEE\uFF09\u6AA2\u9A57\u3002`}]},F_DIST:{d:"\u7D66\u5B9A\u8F38\u5165\u503C x,\u8A08\u7B97\u5169\u500B\u6578\u64DA\u96C6\u7684\u5DE6\u5C3E F \u6982\u7387\u5206\u4F48\uFF08\u5DEE\u5F02\u7A0B\u5EA6\uFF09\u3002\u6B64\u5206\u4F48\u4E5F\u7A31\u70BA Fisher-Snedecor \u5206\u4F48\u6216Snedecor F \u5206\u4F48\u3002",a:"\u7D66\u5B9A\u8F38\u5165\u503C x",p:[{name:"x",detail:"\u7528\u4F86\u8A08\u7B97\u51FD\u6578\u7684\u503C\u3002"},{name:"degrees_freedom1",detail:"\u5206\u5B50\u81EA\u7531\u5EA6\u3002"},{name:"degrees_freedom2",detail:"\u5206\u6BCD\u81EA\u7531\u5EA6\u3002"},{name:"cumulative",detail:`\u7528\u65BC\u78BA\u5B9A\u51FD\u6578\u5F62\u5F0F\u7684\u908F\u8F2F\u503C\u3002\u9810\u8A2D\u503C\u70BA FALSE\u3002
  549. \u5982\u679C\u70BA TRUE\uFF08\uFF09:F.DIST\u5C07\u8FD4\u56DE\u7D2F\u7A4D\u5206\u4F48\u51FD\u6578\u503C\u3002
  550. \u5982\u679C\u70BAFALSE\uFF08\uFF09:F.DIST\u5C07\u8FD4\u56DE\u6982\u7387\u5BC6\u5EA6\u51FD\u6578\u503C\u3002`}]},F_DIST_RT:{d:"\u7D66\u5B9A\u8F38\u5165x,\u8A08\u7B97\u5169\u500B\u6578\u64DA\u96C6\u7684\u53F3\u5C3EF\u6982\u7387\u5206\u4F48\uFF08\u5DEE\u5F02\u7A0B\u5EA6\uFF09\u3002\u6B64\u5206\u4F48\u4E5F\u7A31\u70BAFisher-Snedecor\u5206\u4F48\u6216Snedecor F\u5206\u4F48\u3002",a:"\u7D66\u5B9A\u8F38\u5165 x",p:[{name:"x",detail:"\u7528\u4F86\u8A08\u7B97\u51FD\u6578\u7684\u503C\u3002"},{name:"degrees_freedom1",detail:"\u5206\u5B50\u81EA\u7531\u5EA6\u3002"},{name:"degrees_freedom2",detail:"\u5206\u6BCD\u81EA\u7531\u5EA6\u3002"}]},VAR_P:{d:"\u57FA\u65BC\u6A23\u672C\u7E3D\u9AD4\u8A08\u7B97\u65B9\u5DEE\u3002",a:"\u57FA\u65BC\u6A23\u672C\u7E3D\u9AD4\u8A08\u7B97\u65B9\u5DEE\u3002",p:[{name:"\u503C1",detail:"\u6578\u64DA\u96C6\u4E2D\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2, \u2026",detail:"[\u53EF\u9078] - \u6578\u64DA\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002"}]},VAR_S:{d:"\u57FA\u65BC\u6A23\u672C\u8A08\u7B97\u65B9\u5DEE\u3002",a:"\u57FA\u65BC\u6A23\u672C\u8A08\u7B97\u65B9\u5DEE\u3002",p:[{name:"\u503C1",detail:"\u6A23\u672C\u4E2D\u7684\u7B2C\u4E00\u9805\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2, \u2026",detail:"[\u53EF\u9078] - \u6A23\u672C\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002"}]},VARA:{d:"\u57FA\u4E8E\u6837\u672C\u8BA1\u7B97\u65B9\u5DEE,\u5C06\u6587\u672C\u53D6\u503C\u4E3A0\u3002",a:"\u57FA\u4E8E\u6837\u672C\u8BA1\u7B97\u65B9\u5DEE",p:[{name:"value1",detail:"\u6A23\u672C\u4E2D\u7684\u7B2C\u4E00\u9805\u503C\u6216\u7BC4\u570D\u3002"},{name:"value2, ...",detail:"[\u53EF\u9078] - \u6A23\u672C\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002"}]},VARPA:{d:"\u57FA\u65BC\u6A23\u672C\u7E3D\u9AD4\u8A08\u7B97\u65B9\u5DEE,\u5C07\u6587\u5B57\u53D6\u503C\u70BA0\u3002",a:"\u57FA\u65BC\u6A23\u672C\u7E3D\u9AD4\u8A08\u7B97\u65B9\u5DEE",p:[{name:"\u503C1",detail:"\u6A23\u672C\u4E2D\u7684\u7B2C\u4E00\u9805\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u6578\u64DA\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u6578\u503C\u6216\u7BC4\u570D\u3002"}]},STEYX:{d:"\u8FD4\u56DE\u901A\u904E\u7DDA\u6027\u56DE\u6B78\u6CD5\u9810\u6E2C\u6BCF\u500B x \u7684 y \u503C\u6642\u6240\u7522\u751F\u7684\u6A19\u6E96\u8AA4\u5DEE\u3002",a:"\u8FD4\u56DE\u901A\u904E\u7DDA\u6027\u56DE\u6B78\u6CD5\u9810\u6E2C\u6BCF\u500B x \u7684 y \u503C\u6642\u6240\u7522\u751F\u7684\u6A19\u6E96\u8AA4\u5DEE\u3002",p:[{name:"\u6578\u64DA_y",detail:"\u4EE3\u8868\u56E0\u8B8A\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002"},{name:"\u6578\u64DA_x",detail:"\u4EE3\u8868\u5F15\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002"}]},STANDARDIZE:{d:"\u7D66\u5B9A\u5206\u4F48\u7684\u5E73\u5747\u503C\u548C\u6A19\u6E96\u5DEE,\u8A08\u7B97\u4E00\u500B\u96A8\u6A5F\u8B8A\u6578\u6B63\u614B\u5316\u7684\u76F8\u61C9\u503C\u3002",a:"\u7D66\u5B9A\u5206\u4F48\u7684\u5E73\u5747\u503C\u548C\u6A19\u6E96\u5DEE,\u8A08\u7B97\u4E00\u500B\u96A8\u6A5F\u8B8A\u6578\u6B63\u614B\u5316\u7684\u76F8\u61C9\u503C\u3002",p:[{name:"x",detail:"\u8981\u6B63\u614B\u5316\u7684\u96A8\u6A5F\u8B8A\u6578\u503C\u3002"},{name:"mean",detail:"\u5206\u4F48\u7684\u5E73\u5747\u503C\u3002"},{name:"standard_dev",detail:"\u5206\u4F48\u7684\u6A19\u6E96\u5DEE\u3002"}]},SMALL:{d:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u7684\u7B2Ck\u500B\u6700\u5C0F\u503C\u3002",a:"\u8FD4\u56DE\u6578\u64DA\u96C6\u4E2D\u7684\u7B2Ck\u500B\u6700\u5C0F\u503C\u3002",p:[{name:"array",detail:"\u9700\u8981\u627E\u5230\u7B2Ck\u500B\u6700\u5C0F\u503C\u7684\u6578\u7D44\u6216\u6578\u503C\u6578\u64DA\u5340\u57DF\u3002"},{name:"k",detail:"\u8981\u8FD4\u56DE\u7684\u6578\u64DA\u5728\u6578\u7D44\u6216\u6578\u64DA\u5340\u57DF\u88CF\u7684\u4F4D\u7F6E\uFF08\u5F9E\u5C0F\u5230\u5927\uFF09\u3002"}]},SLOPE:{d:"\u8A08\u7B97\u901A\u904E\u6578\u64DA\u96C6\u7684\u7DDA\u6027\u56DE\u6B78\u5F97\u5230\u7684\u76F4\u7DDA\u7684\u659C\u7387\u3002",a:"\u8A08\u7B97\u901A\u904E\u6578\u64DA\u96C6\u7684\u7DDA\u6027\u56DE\u6B78\u5F97\u5230\u7684\u76F4\u7DDA\u7684\u659C\u7387\u3002",p:[{name:"\u6578\u64DA_y",detail:"\u4EE3\u8868\u56E0\u8B8A\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002"},{name:"\u6578\u64DA_x",detail:"\u4EE3\u8868\u5F15\u6578\u6578\u64DA\u6578\u7D44\u6216\u77E9\u9663\u7684\u7BC4\u570D\u3002"}]},SKEW:{d:"\u8FD4\u56DE\u5206\u4F48\u7684\u504F\u659C\u5EA6\u3002\u504F\u659C\u5EA6\u8868\u660E\u5206\u4F48\u76F8\u5C0D\u65BC\u5E73\u5747\u503C\u7684\u4E0D\u5C0D\u7A31\u7A0B\u5EA6\u3002\u6B63\u504F\u659C\u5EA6\u8868\u660E\u5206\u4F48\u7684\u4E0D\u5C0D\u7A31\u5C3E\u90E8\u8DA8\u5411\u65BC\u66F4\u591A\u6B63\u503C\u3002\u8CA0\u504F\u659C\u5EA6\u8868\u660E\u5206\u4F48\u7684\u4E0D\u5C0D\u7A31\u5C3E\u90E8\u8DA8\u5411\u65BC\u66F4\u591A\u8CA0\u503C\u3002",a:"\u8FD4\u56DE\u5206\u4F48\u7684\u504F\u659C\u5EA6\u3002",p:[{name:"\u503C1",detail:"\u6578\u64DA\u96C6\u4E2D\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u6578\u64DA\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002"}]},SKEW_P:{d:"\u8FD4\u56DE\u57FA\u65BC\u6A23\u672C\u7E3D\u9AD4\u7684\u5206\u4F48\u4E0D\u5C0D\u7A31\u5EA6:\u8868\u660E\u5206\u4F48\u76F8\u5C0D\u65BC\u5E73\u5747\u503C\u7684\u4E0D\u5C0D\u7A31\u7A0B\u5EA6\u3002",a:"\u8FD4\u56DE\u57FA\u65BC\u6A23\u672C\u7E3D\u9AD4\u7684\u5206\u4F48\u4E0D\u5C0D\u7A31\u5EA6:\u8868\u660E\u5206\u4F48\u76F8\u5C0D\u65BC\u5E73\u5747\u503C\u7684\u4E0D\u5C0D\u7A31\u7A0B\u5EA6\u3002",p:[{name:"\u503C1",detail:"\u6578\u64DA\u96C6\u4E2D\u7684\u7B2C\u4E00\u500B\u503C\u6216\u7BC4\u570D\u3002"},{name:"\u503C2, ...",detail:"[\u53EF\u9078] - \u6578\u64DA\u96C6\u4E2D\u5305\u542B\u7684\u5176\u4ED6\u503C\u6216\u7BC4\u570D\u3002"}]},VLOOKUP:{d:"\u7E31\u5411\u67E5\u627E\u3002\u5728\u7BC4\u570D\u7684\u7B2C\u4E00\u5217\u4E2D\u81EA\u4E0A\u800C\u4E0B\u8490\u7D22\u67D0\u500B\u9375\u503C,\u4E26\u8FD4\u56DE\u6240\u627E\u5230\u7684\u884C\u4E2D\u6307\u5B9A\u5132\u5B58\u683C\u7684\u503C\u3002",a:"\u7E31\u5411\u67E5\u627E\u3002\u5728\u7BC4\u570D\u7684\u7B2C\u4E00\u5217\u4E2D\u81EA\u4E0A\u800C\u4E0B\u8490\u7D22\u67D0\u500B\u9375\u503C",p:[{name:"\u8490\u7D22\u9375\u503C",detail:'\u8981\u8490\u7D22\u7684\u503C,\u5982 42\u3001"Cats" \u6216 I24\u3002'},{name:"\u7BC4\u570D",detail:"\u8981\u9032\u884C\u8490\u7D22\u7684\u7BC4\u570D\u3002VLOOKUP \u5C07\u5728\u8A72\u7BC4\u570D\u7684\u7B2C\u4E00\u5217\u4E2D\u8490\u7D22\u8490\u7D22\u9375\u503C\u4E2D\u6307\u5B9A\u7684\u9375\u503C\u3002"},{name:"\u7D22\u5F15",detail:`\u8981\u8FD4\u56DE\u7684\u503C\u7684\u5217\u7D22\u5F15,\u7BC4\u570D\u4E2D\u7684\u7B2C\u4E00\u5217\u7DE8\u865F\u70BA1\u3002
  551. \u5982\u679C\u7D22\u5F15\u4E0D\u662F\u4ECB\u65BC1\u548C\u7BC4\u570D\u4E2D\u7684\u5217\u6578\u4E4B\u9593,\u5C07\u8FD4\u56DE#VALUE\uFF01\u3002`},{name:"\u5DF2\u6392\u5E8F",detail:`[\u9810\u8A2D\u503C\u70BATRUE()] -\u8A13\u793A\u8981\u8490\u7D22\u7684\u5217\uFF08\u6307\u5B9A\u7BC4\u570D\u7684\u7B2C\u4E00\u5217\uFF09\u662F\u5426\u5DF2\u6392\u5E8F\u3002\u5927\u591A\u6578\u60C5\u51B5\u4E0B,\u5EFA\u8B70\u8A2D\u70BAFALSE\uFF08\uFF09\u3002
  552. \u5EFA\u8B70\u5C07\u5DF2\u6392\u5E8F\u8A2D\u70BAFALSE\u3002\u5982\u679C\u8A2D\u70BAFALSE,\u5C07\u8FD4\u56DE\u5B8C\u5168\u5339\u914D\u9805\u3002\u5982\u679C\u5B58\u5728\u591A\u500B\u5339\u914D\u503C,\u5C07\u8FD4\u56DE\u627E\u5230\u7684\u7B2C\u4E00\u500B\u503C\u5C0D\u61C9\u7684\u5132\u5B58\u683C\u7684\u5167\u5BB9,\u5982\u679C\u627E\u4E0D\u5230\u5339\u914D\u503C,\u5247\u8FD4\u56DE#N/A\u3002
  553. \u5982\u679C\u5C07\u5DF2\u6392\u5E8F\u8A2D\u70BATRUE\u6216\u7701\u7565,\u5C07\u8FD4\u56DE\uFF08\u5C0F\u65BC\u6216\u7B49\u65BC\u8490\u7D22\u9375\u503C\u7684\uFF09\u6700\u63A5\u8FD1\u7684\u5339\u914D\u9805\u3002\u5982\u679C\u8490\u7D22\u7684\u5217\u4E2D\u6240\u6709\u7684\u503C\u5747\u5927\u65BC\u8490\u7D22\u9375\u503C,\u5247\u8FD4\u56DE#N/A\u3002`}]},HLOOKUP:{d:"\u6A6B\u5411\u67E5\u627E\u3002\u5728\u7BC4\u570D\u7684\u7B2C\u4E00\u884C\u4E2D\u8490\u7D22\u67D0\u500B\u9375\u503C,\u4E26\u8FD4\u56DE\u6240\u627E\u5230\u7684\u5217\u4E2D\u6307\u5B9A\u5132\u5B58\u683C\u7684\u503C\u3002",a:"\u6A6B\u5411\u67E5\u627E\u3002\u5728\u7BC4\u570D\u7684\u7B2C\u4E00\u884C\u4E2D\u8490\u7D22\u67D0\u500B\u9375\u503C",p:[{name:"\u8490\u7D22\u9375\u503C",detail:'\u8981\u8490\u7D22\u7684\u503C\u3002\u4F8B\u5982,42\u3001"Cats"\u6216I24\u3002'},{name:"\u7BC4\u570D",detail:"\u8981\u9032\u884C\u8490\u7D22\u7684\u7BC4\u570D\u3002\u5C07\u5728\u8A72\u7BC4\u570D\u7684\u7B2C\u4E00\u884C\u4E2D\u8490\u7D22\u5728\u8490\u7D22\u9375\u503C\u4E2D\u6307\u5B9A\u7684\u9375\u503C\u3002"},{name:"\u7D22\u5F15",detail:`\u8981\u8FD4\u56DE\u7684\u503C\u7684\u884C\u7D22\u5F15,\u7BC4\u570D\u4E2D\u7684\u7B2C\u4E00\u884C\u7DE8\u865F\u70BA1\u3002
  554. \u5982\u679C\u7D22\u5F15\u4E0D\u662F\u4ECB\u65BC1\u548C\u7BC4\u570D\u4E2D\u7684\u884C\u6578\u4E4B\u9593,\u5C07\u8FD4\u56DE#VALUE\uFF01\u3002`},{name:"\u5DF2\u6392\u5E8F",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BATRUE()] - \u8A13\u793A\u8981\u8490\u7D22\u7684\u884C\uFF08\u6307\u5B9A\u7BC4\u570D\u7684\u7B2C\u4E00\u884C\uFF09\u662F\u5426\u5DF2\u6392\u5E8F\u3002
  555. \u5982\u679C\u5C07\u5DF2\u6392\u5E8F\u8A2D\u70BATRUE\u6216\u7701\u7565,\u5C07\u8FD4\u56DE\u6700\u63A5\u8FD1\u7684\u5339\u914D\u503C\uFF08\u5C0F\u65BC\u6216\u7B49\u65BC\u8490\u7D22\u9375\u503C\uFF09\u3002\u5982\u679C\u5728\u8490\u7D22\u7684\u884C\u4E2D\u6240\u6709\u7684\u503C\u5747\u5927\u65BC\u8490\u7D22\u9375\u503C,\u5247\u8FD4\u56DE#N/A\u3002
  556. \u5982\u679C\u5C07\u5DF2\u6392\u5E8F\u8A2D\u70BATRUE\u6216\u5C07\u5176\u7701\u7565,\u800C\u7BC4\u570D\u7684\u9996\u884C\u4E26\u975E\u8655\u65BC\u5DF2\u6392\u5E8F\u72C0\u614B,\u5247\u8FD4\u56DE\u503C\u53EF\u80FD\u6703\u662F\u932F\u8AA4\u7684\u3002
  557. \u5982\u679C\u5C07\u5DF2\u6392\u5E8F\u8A2D\u70BAFALSE,\u5247\u50C5\u8FD4\u56DE\u5B8C\u5168\u5339\u914D\u3002\u5982\u679C\u5B58\u5728\u591A\u500B\u5339\u914D\u503C,\u5C07\u8FD4\u56DE\u8207\u627E\u5230\u7684\u7B2C\u4E00\u500B\u503C\u5C0D\u61C9\u7684\u5132\u5B58\u683C\u7684\u5167\u5BB9,\u5982\u679C\u627E\u4E0D\u5230\u5339\u914D\u503C\u5247\u8FD4\u56DE#N/A\u3002`}]},LOOKUP:{d:"\u5728\u884C\u6216\u5217\u4E2D\u67E5\u627E\u76F8\u61C9\u9375,\u4E26\u5C07\u76F8\u61C9\u5132\u5B58\u683C\u7684\u503C\u8FD4\u56DE\u5230\u8207\u8490\u7D22\u884C\u6216\u5217\u6240\u5728\u4F4D\u7F6E\u76F8\u540C\u7684\u7D50\u679C\u7BC4\u570D\u4E2D\u3002",a:"\u5728\u884C\u6216\u5217\u4E2D\u67E5\u627E\u76F8\u61C9\u9375",p:[{name:"\u8490\u7D22\u9375\u503C",detail:'\u8981\u5728\u884C\u6216\u5217\u4E2D\u8490\u7D22\u7684\u503C\u3002\u4F8B\u5982,42\u3001"Cats" \u6216 I24\u3002'},{name:"\u641C\u7D22\u7BC4\u570D | \u641C\u7D22\u7D50\u679C\u6578\u7D44",detail:"\u4F7F\u7528LOOKUP\u7684\u4E00\u7A2E\u65B9\u6CD5\u662F\u7D66\u5B9A\u55AE\u884C\u6216\u55AE\u5217\u5F62\u5F0F\u7684\u641C\u7D22\u7BC4\u570D\u9032\u884C\u8490\u7D22\u67E5\u627E,\u9019\u7A2E\u7BA1\u9053\u8981\u7528\u5230\u53E6\u4E00\u500B\u53C3\u6578\u7D50\u679C\u7BC4\u570D\u3002\u53E6\u4E00\u7A2E\u7BA1\u9053\u662F\u5C07\u9019\u5169\u500B\u53C3\u6578\u5408\u4F75\u70BA\u4E00\u500B\u641C\u7D22\u7D50\u679C\u6578\u7D44,\u5176\u4E2D\u7B2C\u4E00\u884C\u6216\u7B2C\u4E00\u5217\u7528\u65BC\u8490\u7D22,\u4E26\u5C07\u8FD4\u56DE\u503C\u653E\u5728\u8A72\u6578\u7D44\u7684\u6700\u5F8C\u4E00\u884C\u6216\u6700\u5F8C\u4E00\u5217\u4E2D\u3002"},{name:"\u7D50\u679C\u7BC4\u570D",detail:"[ \u53EF\u9078 ] - \u7528\u65BC\u5B58\u653E\u8FD4\u56DE\u7D50\u679C\u7684\u7BC4\u570D\u3002\u8FD4\u56DE\u503C\u5C0D\u61C9\u65BC\u5728\u641C\u7D22\u7BC4\u570D\u4E2D\u627E\u5230\u8490\u7D22\u9375\u503C\u7684\u4F4D\u7F6E\u3002\u6B64\u7BC4\u570D\u5FC5\u9808\u50C5\u70BA\u55AE\u884C\u6216\u55AE\u5217,\u800C\u5982\u679C\u60A8\u4F7F\u7528\u7684\u662F\u641C\u7D22\u7D50\u679C\u6578\u7D44\u7BA1\u9053,\u5247\u4E0D\u61C9\u63D0\u4F9B\u6B64\u53C3\u6578\u3002"}]},ADDRESS:{d:"\u8FD4\u56DE\u5B57\u4E32\u5F62\u5F0F\u7684\u5132\u5B58\u683C\u5F15\u7528\u3002",a:"\u8FD4\u56DE\u5B57\u4E32\u5F62\u5F0F\u7684\u5132\u5B58\u683C\u5F15\u7528\u3002",p:[{name:"row_num",detail:"\u4E00\u500B\u6578\u503C,\u6307\u5B9A\u8981\u5728\u5132\u5B58\u683C\u5F15\u7528\u4E2D\u4F7F\u7528\u7684\u884C\u865F\u3002"},{name:"column_num",detail:"\u4E00\u500B\u6578\u503C,\u6307\u5B9A\u8981\u5728\u5132\u5B58\u683C\u5F15\u7528\u4E2D\u4F7F\u7528\u7684\u5217\u865F\uFF08\u800C\u975E\u540D\u7A31\uFF09\u3002A\u5217\u7684\u7DE8\u865F\u70BA1\u3002"},{name:"abs_num",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA1] - \u4E00\u500B\u6578\u503C,\u6307\u5B9A\u8981\u8FD4\u56DE\u7684\u53C3\u8003\u985E\u578B\u3002
  558. 1\u8868\u793A\u884C\u5217\u5747\u63A1\u7528\u7D55\u5C0D\u503C\uFF08\u4F8B\u5982$A$1\uFF09\uFF1B
  559. 2\u8868\u793A\u63A1\u7528\u7D55\u5C0D\u884C\u865F,\u76F8\u5C0D\u5217\u6A19\uFF08\u4F8B\u5982A$1\uFF09\uFF1B
  560. 3\u8868\u793A\u63A1\u7528\u76F8\u5C0D\u884C\u865F,\u7D55\u5C0D\u5217\u6A19\uFF08\u4F8B\u5982$A1\uFF09\uFF1B
  561. 4\u8868\u793A\u884C\u5217\u5747\u63A1\u7528\u76F8\u5C0D\u503C\uFF08\u4F8B\u5982A1\uFF09\u3002`},{name:"A1",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BATRUE\uFF08\uFF09] - \u4E00\u500B\u5E03\u6797\u503C,\u8A13\u793A\u63A1\u7528A1\u6A19\u8A18\u5F62\u5F0F\uFF08TRUE\uFF09\u9084\u662FR1C1\u6A19\u8A18\u5F62\u5F0F\uFF08FALSE\uFF09\u3002"},{name:"sheet_text",detail:"[\u53EF\u9078 - \u9ED8\u8A8D\u9810\u8A2D] - \u7528\u65BC\u6307\u5B9A\u5730\u5740\u6240\u6307\u5411\u7684\u5DE5\u4F5C\u8868\u540D\u7A31\u3002"}]},INDIRECT:{d:"\u8FD4\u56DE\u4EE5\u5B57\u4E32\u6307\u5B9A\u7684\u5132\u5B58\u683C\u5F15\u7528\u3002",a:"\u8FD4\u56DE\u4EE5\u5B57\u4E32\u6307\u5B9A\u7684\u5132\u5B58\u683C\u5F15\u7528\u3002",p:[{name:"ref_text",detail:"\u4EE5\u5E36\u5F15\u865F\u7684\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\u7684\u5132\u5B58\u683C\u5F15\u7528\u3002"},{name:"A1",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BATRUE\uFF08\uFF09] - \u4E00\u500B\u5E03\u6797\u503C,\u8A13\u793A\u63A1\u7528A1\u6A19\u8A18\u5F62\u5F0F\uFF08TRUE\uFF09\u9084\u662FR1C1\u6A19\u8A18\u5F62\u5F0F\uFF08FALSE\uFF09\u3002"}]},ROW:{d:"\u8FD4\u56DE\u6307\u5B9A\u5132\u5B58\u683C\u7684\u884C\u865F",a:"\u8FD4\u56DE\u6307\u5B9A\u5132\u5B58\u683C\u7684\u884C\u865F",p:[{name:"reference",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA\u6B64\u516C\u5F0F\u6240\u5728\u7684\u5132\u5B58\u683C] - \u8981\u8FD4\u56DE\u5176\u884C\u865F\u7684\u5132\u5B58\u683C\u3002
  562. \u5982\u679C\u5132\u5B58\u683C\u5F15\u7528\u6307\u5411\u7684\u7BC4\u570D\u5176\u5BEC\u5EA6\u5927\u65BC\u4E00\u500B\u5132\u5B58\u683C,\u800C\u6B64\u516C\u5F0F\u4E0D\u662F\u7528\u4F5C\u6578\u7D44\u516C\u5F0F\u7684,\u9019\u6642\u6703\u50C5\u8FD4\u56DE\u5132\u5B58\u683C\u5F15\u7528\u4E2D\u9996\u884C\u7684\u7DE8\u865F\u503C\u3002`}]},ROWS:{d:"\u8FD4\u56DE\u6307\u5B9A\u6578\u7D44\u6216\u7BC4\u570D\u4E2D\u7684\u884C\u6578\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u6578\u7D44\u6216\u7BC4\u570D\u4E2D\u7684\u884C\u6578\u3002",p:[{name:"array",detail:"\u8981\u8FD4\u56DE\u5176\u884C\u6578\u7684\u7BC4\u570D\u3002"}]},COLUMN:{d:"\u6309\u7167 `A=1` \u7684\u898F\u5247\u8FD4\u56DE\u6307\u5B9A\u5132\u5B58\u683C\u7684\u5217\u865F\u3002",a:"\u6309\u7167 `A=1` \u7684\u898F\u5247\u8FD4\u56DE\u6307\u5B9A\u5132\u5B58\u683C\u7684\u5217\u865F\u3002",p:[{name:"reference",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA\u5305\u542B\u6B64\u516C\u5F0F\u7684\u5132\u5B58\u683C] - \u8981\u8FD4\u56DE\u5176\u5217\u865F\u7684\u5132\u5B58\u683C\u3002A\u5217\u5C0D\u61C9\u7684\u7DE8\u865F\u70BA1\u3002
  563. \u5982\u679C\u5132\u5B58\u683C\u5F15\u7528\u662F\u5BEC\u5EA6\u8D85\u904E\u4E00\u500B\u5132\u5B58\u683C\u7684\u7BC4\u570D,\u800C\u6B64\u516C\u5F0F\u4E0D\u662F\u4F5C\u70BA\u6578\u7D44\u516C\u5F0F\u4F86\u4F7F\u7528\u7684,\u56D9\u6B64\u5C07\u8FD4\u56DE\u5132\u5B58\u683C\u5F15\u7528\u4E2D\u7684\u7B2C\u4E00\u5217\u7684\u4F4D\u7F6E\u3002`}]},COLUMNS:{d:"\u8FD4\u56DE\u6307\u5B9A\u6578\u7D44\u6216\u7BC4\u570D\u4E2D\u7684\u5217\u6578\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u6578\u7D44\u6216\u7BC4\u570D\u4E2D\u7684\u5217\u6578\u3002",p:[{name:"array",detail:"\u8981\u8FD4\u56DE\u5176\u5217\u6578\u7684\u7BC4\u570D\u3002"}]},OFFSET:{d:"\u7D66\u5B9A\u67D0\u7BC4\u570D\u7684\u8D77\u59CB\u5132\u5B58\u683C\u5F15\u7528\u4EE5\u53CA\u8A72\u7BC4\u570D\u6DB5\u84CB\u7684\u884C\u5217\u6578\u91CF,\u8FD4\u56DE\u8A72\u7BC4\u570D\u7684\u5F15\u7528\u3002",a:"\u7D66\u5B9A\u67D0\u7BC4\u570D\u7684\u8D77\u59CB\u5132\u5B58\u683C\u5F15\u7528\u4EE5\u53CA\u8A72\u7BC4\u570D\u6DB5\u84CB\u7684\u884C\u5217\u6578\u91CF,\u8FD4\u56DE\u8A72\u7BC4\u570D\u7684\u5F15\u7528\u3002",p:[{name:"reference",detail:"\u7528\u65BC\u8A08\u7B97\u884C\u5217\u504F\u79FB\u91CF\u7684\u8D77\u9EDE\u3002"},{name:"rows",detail:`\u8981\u504F\u79FB\u7684\u884C\u6578\u3002
  564. \u884C\u504F\u79FB\u91CF\u5FC5\u9808\u662F\u6574\u6578,\u4F46\u4E5F\u53EF\u4EE5\u662F\u8CA0\u6578\u3002\u5982\u679C\u63D0\u4F9B\u7684\u53C3\u6578\u5E36\u6709\u5C0F\u6578,\u5C0F\u6578\u90E8\u5206\u5C07\u88AB\u622A\u53BB\u3002`},{name:"cols",detail:`\u8981\u504F\u79FB\u7684\u5217\u6578\u3002
  565. \u5217\u504F\u79FB\u91CF\u5FC5\u9808\u662F\u6574\u6578,\u4F46\u4E5F\u53EF\u4EE5\u662F\u8CA0\u6578\u3002\u5982\u679C\u63D0\u4F9B\u7684\u53C3\u6578\u5E36\u6709\u5C0F\u6578,\u5C0F\u6578\u90E8\u5206\u5C07\u88AB\u622A\u53BB\u3002`},{name:"height",detail:"[\u53EF\u9078] - \u8981\u5F9E\u504F\u79FB\u76EE\u6A19\u958B\u59CB\u8FD4\u56DE\u7684\u7BC4\u570D\u7684\u9AD8\u5EA6\u3002"},{name:"width",detail:"[\u53EF\u9078] - \u8981\u5F9E\u504F\u79FB\u76EE\u6A19\u958B\u59CB\u8FD4\u56DE\u7684\u7BC4\u570D\u7684\u5BEC\u5EA6\u3002"}]},MATCH:{d:"\u5728\u5132\u5B58\u683C\u4E2D\u8490\u7D22\u6307\u5B9A\u9805,\u7136\u5F8C\u8FD4\u56DE\u8A72\u9805\u5728\u5132\u5B58\u683C\u5340\u57DF\u4E2D\u7684\u76F8\u5C0D\u4F4D\u7F6E\u3002",a:"\u5728\u5132\u5B58\u683C\u4E2D\u8490\u7D22\u6307\u5B9A\u9805,\u7136\u5F8C\u8FD4\u56DE\u8A72\u9805\u5728\u5132\u5B58\u683C\u5340\u57DF\u4E2D\u7684\u76F8\u5C0D\u4F4D\u7F6E\u3002",p:[{name:"lookup_value",detail:"\u8981\u5728 lookup_array \u4E2D\u5339\u914D\u7684\u503C\u3002"},{name:"lookup_array",detail:`\u8981\u8490\u7D22\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002
  566. \u5982\u679C\u6240\u7528\u7684\u7BC4\u570D\u7684\u9AD8\u5EA6\u548C\u5BEC\u5EA6\u5747\u5927\u65BC1,MATCH\u5C07\u8FD4\u56DE#N/A\uFF01\u3002`},{name:"match_type",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA1] - \u8981\u63A1\u7528\u7684\u8490\u7D22\u7BA1\u9053\u3002
  567. 1\u70BA\u9ED8\u8A8D\u985E\u578B,\u6B64\u6642MATCH\u6703\u5047\u8A2D\u7BC4\u570D\u5DF2\u6309\u6607\u51AA\u6392\u5E8F,\u4E26\u8FD4\u56DE\u5C0F\u65BC\u7B49\u65BC\u8490\u7D22\u9375\u503C\u7684\u6700\u5927\u503C\u3002
  568. 0\u8868\u793A\u5B8C\u5168\u5339\u914D,\u5728\u7BC4\u570D\u672A\u6392\u5E8F\u7684\u60C5\u51B5\u4E0B\u9700\u8981\u4F7F\u7528\u6B64\u7BA1\u9053\u3002
  569. -1\u8B93MATCH\u5047\u8A2D\u7BC4\u570D\u662F\u6309\u964D\u5E8F\u6392\u5E8F\u7684,\u4E26\u8FD4\u56DE\u5927\u65BC\u7B49\u65BC\u8490\u7D22\u9375\u503C\u7684\u6700\u5C0F\u503C\u3002`}]},INDEX:{d:"\u8FD4\u56DE\u8868\u683C\u6216\u4E2D\u7684\u5143\u7D20\u503C,\u6B64\u5143\u7D20\u7531\u884C\u865F\u548C\u5217\u865F\u7684\u7D22\u5F15\u503C\u7D66\u5B9A\u3002",a:"\u8FD4\u56DE\u8868\u683C\u6216\u4E2D\u7684\u5143\u7D20\u503C,\u6B64\u5143\u7D20\u7531\u884C\u865F\u548C\u5217\u865F\u7684\u7D22\u5F15\u503C\u7D66\u5B9A\u3002",p:[{name:"array",detail:"\u5132\u5B58\u683C\u5340\u57DF\u6216\u6578\u7D44\u5E38\u6578\u3002"},{name:"row_num",detail:"\u9078\u64C7\u6578\u7D44\u4E2D\u7684\u67D0\u884C,\u51FD\u6578\u5F9E\u8A72\u884C\u8FD4\u56DE\u6578\u503C\u3002"},{name:"column_num",detail:"\u9078\u64C7\u6578\u7D44\u4E2D\u7684\u67D0\u5217,\u51FD\u6578\u5F9E\u8A72\u5217\u8FD4\u56DE\u6578\u503C\u3002"}]},GETPIVOTDATA:{d:"\u5F9E\u8207\u6307\u5B9A\u884C\u548C\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6578\u64DA\u900F\u8996\u9336\u4E2D\u9078\u53D6\u532F\u7E3D\u503C\u3002",a:"\u5F9E\u8207\u6307\u5B9A\u884C\u548C\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6578\u64DA\u900F\u8996\u9336\u4E2D\u9078\u53D6\u532F\u7E3D\u503C\u3002",p:[{name:"data_field",detail:`\u60A8\u60F3\u5F9E\u6578\u64DA\u900F\u8996\u9336\u4E2D\u7372\u53D6\u5176\u6578\u64DA\u7684\u503C\u540D\u7A31\u3002
  570. \u503C\u540D\u7A31\u5FC5\u9808\u62EC\u5728\u5F15\u865F\u4E2D\u6216\u662F\u6307\u5411\u5305\u542B\u76F8\u95DC\u6587\u5B57\u7684\u4EFB\u4F55\u5132\u5B58\u683C\u7684\u5F15\u7528\u3002
  571. \u5982\u679C\u6709\u591A\u500B\u503C\u6B04\u4F4D,\u5247\u5FC5\u9808\u4F7F\u7528\u6578\u64DA\u900F\u8996\u9336\u4E2D\u986F\u793A\u7684\u78BA\u5207\u540D\u7A31\uFF08\u5982"\u92B7\u552E\u7E3D\u984D"\uFF09\u3002`},{name:"pivot_table",detail:"\u76EE\u6A19\u6578\u64DA\u900F\u8996\u9336\u4E2D\u7684\u4EFB\u4F55\u5132\u5B58\u683C\u7684\u5F15\u7528\uFF08\u63A8\u85A6\u4F4D\u65BC\u9802\u89D2\u7684\u5132\u5B58\u683C\uFF09\u3002"},{name:"field1",detail:"[\u53EF\u9078] - \u6E90\u6578\u64DA\u96C6\uFF08\u4E0D\u662F\u6578\u64DA\u900F\u8996\u9336\uFF09\u4E2D\u5217\u7684\u540D\u7A31\u3002"},{name:"item1",detail:"[\u53EF\u9078] - \u6578\u64DA\u900F\u8996\u9336\u4E2D\u986F\u793A\u7684\u8207\u60A8\u8981\u6AA2\u7D22\u7684\u6B04\u4F4D\u540D\u7A311\u76F8\u5C0D\u61C9\u7684\u884C\u6216\u5217\u7684\u540D\u7A31\u3002"}]},CHOOSE:{d:"\u57FA\u65BC\u7D22\u5F15\u8FD4\u56DE\u9078\u9805\u6E05\u55AE\u4E2D\u7684\u5143\u7D20\u3002",a:"\u57FA\u65BC\u7D22\u5F15\u8FD4\u56DE\u9078\u9805\u6E05\u55AE\u4E2D\u7684\u5143\u7D20\u3002",p:[{name:"index_num",detail:`\u6307\u5B9A\u8981\u8FD4\u56DE\u54EA\u4E00\u9805\u3002
  572. \u5982\u679C\u7D22\u5F15\u70BA\u96F6\u3001\u8CA0\u503C\u6216\u5927\u65BC\u63D0\u4F9B\u7684\u9078\u64C7\u6578\u91CF,\u5C07\u8FD4\u56DE#VALUE\uFF01\u932F\u8AA4\u3002`},{name:"value1",detail:"\u4E00\u9805\u53EF\u80FD\u7684\u8FD4\u56DE\u503C\u3002\u5FC5\u9808\u63D0\u4F9B\u3002\u53EF\u4EE5\u662F\u5132\u5B58\u683C\u5F15\u7528\u6216\u55AE\u7368\u7684\u503C\u3002"},{name:"value2",detail:"[\u53EF\u9078] - \u5176\u4ED6\u53EF\u4EE5\u9078\u64C7\u7684\u503C\u3002\u9078\u64C7"}]},HYPERLINK:{d:"\u5728\u5132\u5B58\u683C\u5167\u5275\u5EFA\u4E00\u500B\u8D85\u9023\u7D50\u3002",a:"\u5728\u5132\u5B58\u683C\u5167\u5275\u5EFA\u4E00\u500B\u8D85\u9023\u7D50\u3002",p:[{name:"\u7DB2\u5740",detail:`\u4EE5\u5F15\u865F\u62EC\u4F4F\u7684\u9023\u7D50\u4F4D\u7F6E\u7684\u5B8C\u6574\u7DB2\u5740,\u6216\u5C0D\u5305\u542B\u9019\u7A2E\u7DB2\u5740\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3002
  573. \u50C5\u5141\u8A31\u67D0\u4E9B\u9023\u7D50\u985E\u578B\u3002\u5176\u4E2D\u5305\u62EC:http://\u3001https://\u3001mailto:\u3001aim:\u3001ftp://\u3001gopher://\u3001telnet://\u548Cnews://,\u660E\u78BA\u7981\u7528\u4F7F\u7528\u5176\u4ED6\u5354\u5B9A\u3002\u5982\u679C\u6307\u5B9A\u7684\u662F\u5176\u4ED6\u5354\u5B9A,\u5C07\u6703\u5728\u5132\u5B58\u683C\u4E2D\u986F\u793A\u9023\u7D50\u6A19\u7C64,\u4F46\u8A72\u6A19\u7C64\u4E0D\u6703\u4EE5\u9023\u7D50\u5F62\u5F0F\u5448\u73FE\u3002
  574. \u5982\u679C\u672A\u6307\u5B9A\u5354\u5B9A,\u5247\u5047\u8A2D\u4F7F\u7528http://,\u4E26\u5C07\u5176\u4F5C\u70BA\u7DB2\u5740\u7684\u9996\u78BC\u3002`},{name:"\u9023\u7D50\u6A19\u7C64",detail:`[\u53EF\u9078-\u9ED8\u8A8D\u70BA\u7DB2\u5740] - \u8981\u5728\u5132\u5B58\u683C\u4E2D\u4F5C\u70BA\u9023\u7D50\u986F\u793A\u7684\u6587\u5B57\uFF08\u7528\u5F15\u865F\u62EC\u8D77\u4F86\u7684\uFF09,\u6216\u8005\u6307\u5411\u5305\u542B\u9019\u7A2E\u6A19\u7C64\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3002
  575. \u5982\u679C\u9023\u7D50\u6A19\u7C64\u662F\u6307\u5411\u67D0\u500B\u7A7A\u5132\u5B58\u683C\u7684\u5F15\u7528,\u5982\u679C\u7DB2\u5740\u6709\u6548,\u5C31\u5C07\u5176\u4F5C\u70BA\u9023\u7D50\u986F\u793A,\u5426\u5247\u4F5C\u70BA\u7D14\u6587\u5B57\u986F\u793A\u3002
  576. \u5982\u679C\u9023\u7D50\u6A19\u7C64\u70BA\u7A7A\u5B57\u4E32\u5E38\u6578\uFF08""\uFF09,\u6240\u5728\u5132\u5B58\u683C\u986F\u793A\u7684\u5167\u5BB9\u5C07\u70BA\u7A7A\u767D,\u4F46\u901A\u904E\u9EDE\u64CA\u8A72\u5132\u5B58\u683C\u6216\u8F49\u5165\u8A72\u5132\u5B58\u683C\u4ECD\u7136\u53EF\u4EE5\u8A2A\u554F\u9023\u7D50\u3002`}]},TIME:{d:"\u5C07\u7D66\u5B9A\u7684\u5C0F\u6642\u3001\u5206\u9418\u548C\u79D2\u8F49\u63DB\u70BA\u6642\u9593\u3002",a:"\u5C07\u7D66\u5B9A\u7684\u5C0F\u6642\u3001\u5206\u9418\u548C\u79D2\u8F49\u63DB\u70BA\u6642\u9593\u3002",p:[{name:"\u5C0F\u6642",detail:`0\uFF08\u96F6\uFF09\u5230 32767 \u4E4B\u9593\u7684\u6578\u4F4D,\u4EE3\u8868\u5C0F\u6642\u3002
  577. \u4EFB\u4F55\u5927\u65BC 23 \u7684\u503C\u90FD\u6703\u9664\u4EE524,\u9918\u6578\u5C07\u4F5C\u70BA\u5C0F\u6642\u503C\u3002`},{name:"\u5206\u9418",detail:`0\uFF08\u96F6\uFF09\u5230 32767 \u4E4B\u9593\u7684\u6578\u4F4D,\u4EE3\u8868\u5206\u9418\u3002
  578. \u4EFB\u4F55\u5927\u65BC 59 \u7684\u503C\u5C07\u8F49\u63DB\u70BA\u5C0F\u6642\u548C\u5206\u9418\u3002`},{name:"\u79D2",detail:`0\uFF08\u96F6\uFF09\u5230 32767 \u4E4B\u9593\u7684\u6578\u4F4D,\u4EE3\u8868\u79D2\u3002
  579. \u4EFB\u4F55\u5927\u65BC 59 \u7684\u503C\u5C07\u8F49\u63DB\u70BA\u5C0F\u6642\u3001\u5206\u9418\u548C\u79D2\u3002`}]},TIMEVALUE:{d:"\u6309\u4E00\u592924\u5C0F\u6642\u8FD4\u56DE\u8A72\u6642\u9593\u7684\u5206\u6578\u8868\u793A\u3002",a:"\u6309\u4E00\u592924\u5C0F\u6642\u8FD4\u56DE\u8A72\u6642\u9593\u7684\u5206\u6578\u8868\u793A\u3002",p:[{name:"time_text",detail:"\u7528\u65BC\u8868\u793A\u6642\u9593\u7684\u5B57\u4E32\u3002"}]},EOMONTH:{d:"\u8FD4\u56DE\u67D0\u500B\u6708\u4EFD\u6700\u5F8C\u4E00\u5929\u7684\u5E8F\u865F,\u8A72\u6708\u4EFD\u5728\u53E6\u4E00\u500B\u65E5\u671F\u4E4B\u524D\u6216\u4E4B\u5F8C\u7684\u6578\u500B\u6708\uFF08\u6708\u6578\u7531\u53C3\u6578\u6307\u5B9A\uFF09\u3002",a:"\u8FD4\u56DE\u67D0\u500B\u6708\u4EFD\u6700\u5F8C\u4E00\u5929\u7684\u5E8F\u865F",p:[{name:"start_date",detail:"\u7528\u65BC\u8A08\u7B97\u7D50\u679C\u7684\u53C3\u7167\u65E5\u671F\u3002"},{name:"months",detail:"\u7528\u65BC\u8A08\u7B97\u7684\u8D77\u59CB\u65E5\u671F\u4E4B\u524D\uFF08\u8CA0\uFF09\u6216\u4E4B\u5F8C\uFF08\u6B63\uFF09\u7684\u6708\u6578\u3002\u8FD4\u56DE\u7684\u662F\u8A08\u7B97\u6240\u5F97\u6708\u4EFD\u7684\u6700\u5F8C\u90A3\u5929\u3002"}]},EDATE:{d:"\u8FD4\u56DE\u8868\u793A\u67D0\u500B\u65E5\u671F\u7684\u5E8F\u865F,\u8A72\u65E5\u671F\u5728\u53E6\u4E00\u500B\u65E5\u671F\u7684\u6578\u6708\u4E4B\u524D/\u4E4B\u5F8C\u3002",a:"\u8FD4\u56DE\u8868\u793A\u67D0\u500B\u65E5\u671F\u7684\u5E8F\u865F",p:[{name:"start_date",detail:"\u7528\u65BC\u8A08\u7B97\u7D50\u679C\u7684\u53C3\u7167\u65E5\u671F\u3002"},{name:"months",detail:"\u7528\u65BC\u8A08\u7B97\u7684\u8D77\u59CB\u65E5\u671F\u4E4B\u524D\uFF08\u8CA0\uFF09\u6216\u4E4B\u5F8C\uFF08\u6B63\uFF09\u7684\u6708\u6578\u3002"}]},SECOND:{d:"\u8FD4\u56DE\u6642\u9593\u503C\u7684\u79D2\u6578\u3002\u79D2\u6578\u662F0\uFF08\u96F6\uFF09\u523059\u7BC4\u570D\u5167\u7684\u6574\u6578\u3002",a:"\u8FD4\u56DE\u6642\u9593\u503C\u7684\u79D2\u6578\u3002\u79D2\u6578\u662F0\uFF08\u96F6\uFF09\u523059\u7BC4\u570D\u5167\u7684\u6574\u6578\u3002",p:[{name:"\u6642\u9593",detail:"\u7528\u65BC\u8A08\u7B97\u79D2\u9418\u90E8\u5206\u7684\u6642\u9593\u3002\u5FC5\u9808\u70BA\u4EE5\u4E0B\u503C\u4E4B\u4E00:\u6307\u5411\u5305\u542B\u65E5\u671F/\u6642\u9593\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F/\u6642\u9593\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002"}]},MINUTE:{d:"\u4EE5\u6578\u4F4D\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u6642\u9593\u7684\u5206\u9418\u90E8\u5206\u3002",a:"\u4EE5\u6578\u4F4D\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u6642\u9593\u7684\u5206\u9418\u90E8\u5206\u3002",p:[{name:"\u6642\u9593",detail:"\u7528\u65BC\u8A08\u7B97\u5206\u9418\u90E8\u5206\u7684\u6642\u9593\u3002\u5FC5\u9808\u70BA\u4EE5\u4E0B\u503C\u4E4B\u4E00:\u6307\u5411\u5305\u542B\u65E5\u671F/\u6642\u9593\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F/\u6642\u9593\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002"}]},HOUR:{d:"\u4EE5\u6578\u4F4D\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u6642\u9593\u7684\u5C0F\u6642\u90E8\u5206\u3002",a:"\u4EE5\u6578\u4F4D\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u6642\u9593\u7684\u5C0F\u6642\u90E8\u5206\u3002",p:[{name:"\u6642\u9593",detail:"\u7528\u65BC\u8A08\u7B97\u5C0F\u6642\u90E8\u5206\u7684\u6642\u9593\u3002\u5FC5\u9808\u70BA\u4EE5\u4E0B\u503C\u4E4B\u4E00:\u6307\u5411\u5305\u542B\u65E5\u671F/\u6642\u9593\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F/\u6642\u9593\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002"}]},NOW:{d:"\u4EE5\u65E5\u671F\u503C\u683C\u5F0F\u8FD4\u56DE\u7576\u524D\u65E5\u671F\u548C\u6642\u9593\u3002",a:"\u4EE5\u65E5\u671F\u503C\u683C\u5F0F\u8FD4\u56DE\u7576\u524D\u65E5\u671F\u548C\u6642\u9593\u3002",p:[]},NETWORKDAYS:{d:"\u8FD4\u56DE\u6240\u63D0\u4F9B\u7684\u5169\u500B\u65E5\u671F\u4E4B\u9593\u7684\u6DE8\u5DE5\u4F5C\u65E5\u5929\u6578\u3002",a:"\u8FD4\u56DE\u6240\u63D0\u4F9B\u7684\u5169\u500B\u65E5\u671F\u4E4B\u9593\u7684\u6DE8\u5DE5\u4F5C\u65E5\u5929\u6578\u3002",p:[{name:"start_date",detail:"\u7528\u65BC\u8A08\u7B97\u6DE8\u5DE5\u4F5C\u65E5\u5929\u6578\u7684\u6642\u9593\u6BB5\u958B\u59CB\u65E5\u671F\u3002"},{name:"end_date",detail:"\u7528\u65BC\u8A08\u7B97\u6DE8\u5DE5\u4F5C\u65E5\u5929\u6578\u7684\u6642\u9593\u6BB5\u7D50\u675F\u65E5\u671F\u3002"},{name:"holidays",detail:`[\u53EF\u9078] - \u4E00\u500B\u7BC4\u570D\u6216\u6578\u7D44\u5E38\u6578,\u5176\u4E2D\u5305\u542B\u4F5C\u70BA\u7BC0\u5047\u65E5\u7684\u65E5\u671F\u5E8F\u865F\u3002
  580. \u5728\u7BC0\u5047\u65E5\u6578\u7D44\u4E2D\u63D0\u4F9B\u7684\u503C\u5FC5\u9808\u662F\u65E5\u671F\u5E8F\u865F\u503C\uFF08\u4F8B\u5982\u7531N\u6240\u8FD4\u56DE\u7684\u503C\uFF09\u6216\u65E5\u671F\u503C\uFF08\u4F8B\u5982\u7531DATE\u3001DATEVALUE\u6216TO_DATE\u8FD4\u56DE\u7684\u503C\uFF09\u3002\u7531\u7BC4\u570D\u6307\u5B9A\u7684\u503C\u61C9\u8A72\u662F\u6A19\u6E96\u7684\u65E5\u671F\u503C\u6216\u65E5\u671F\u5E8F\u6578\u503C\u3002`}]},NETWORKDAYS_INTL:{d:"\u8FD4\u56DE\u7D66\u5B9A\u7684\u5169\u500B\u65E5\u671F\u4E4B\u9593\u7684\u6DE8\u5DE5\u4F5C\u65E5\u5929\u6578\uFF08\u6392\u9664\u6307\u5B9A\u7684\u9031\u672B\u548C\u7BC0\u5047\u65E5\uFF09\u3002",a:"\u8FD4\u56DE\u7D66\u5B9A\u7684\u5169\u500B\u65E5\u671F\u4E4B\u9593\u7684\u6DE8\u5DE5\u4F5C\u65E5\u5929\u6578\uFF08\u6392\u9664\u6307\u5B9A\u7684\u9031\u672B\u548C\u7BC0\u5047\u65E5\uFF09\u3002",p:[{name:"start_date",detail:"\u7528\u65BC\u8A08\u7B97\u6DE8\u5DE5\u4F5C\u65E5\u5929\u6578\u7684\u6642\u9593\u6BB5\u958B\u59CB\u65E5\u671F\u3002"},{name:"end_date",detail:"\u7528\u65BC\u8A08\u7B97\u6DE8\u5DE5\u4F5C\u65E5\u5929\u6578\u7684\u6642\u9593\u6BB5\u7D50\u675F\u65E5\u671F\u3002"},{name:"weekend",detail:`[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA1] - \u7528\u65BC\u8868\u793A\u54EA\u4E9B\u5929\u70BA\u9031\u672B\u7684\u6578\u4F4D\u6216\u5B57\u4E32\u3002
  581. \u5B57\u4E32\u7BA1\u9053:\u53EF\u4EE5\u4F7F\u7528\u75310\u548C1\u7D44\u6210\u7684\u5B57\u4E32\u4F86\u6307\u5B9A\u9031\u672B,\u4E32\u4E2D\u7684\u7B2C\u4E00\u500B\u6578\u4F4D\u5B57\u5143\u4EE3\u8868\u9031\u4E00,\u6700\u5F8C\u4E00\u500B\u5247\u4EE3\u8868\u5468\u65E5\u3002\u96F6\u8868\u793A\u9019\u4E00\u5929\u662F\u5DE5\u4F5C\u65E5,1 \u8868\u793A\u9019\u4E00\u5929\u70BA\u9031\u672B\u3002\u4F8B\u5982,"0000011"\u8868\u793A\u5C07\u9031\u516D\u548C\u5468\u65E5\u4F5C\u70BA\u9031\u672B\u3002
  582. \u6578\u4F4D\u7BA1\u9053:\u9019\u7A2E\u7BA1\u9053\u4E0D\u4F7F\u7528\u4E0A\u8FF0\u5B57\u4E32\u5F62\u5F0F,\u800C\u662F\u4F7F\u7528\u4E00\u500B\u6578\u4F4D\u30021 =\u9031\u516D/\u5468\u65E5\u70BA\u9031\u672B,2 =\u5468\u65E5/\u9031\u4E00\u70BA\u9031\u672B,\u4F9D\u6B64\u985E\u63A8\u52477 =\u9031\u4E94/\u9031\u516D\u300211 =\u5468\u65E5\u70BA\u552F\u4E00\u9031\u672B,12 =\u9031\u4E00\u70BA\u552F\u4E00\u9031\u672B,\u4F9D\u6B64\u985E\u63A8\u524717 =\u9031\u516D\u70BA\u552F\u4E00\u9031\u672B\u3002`},{name:"holidays",detail:`[\u53EF\u9078] - \u9019\u662F\u4E00\u500B\u7BC4\u570D\u6216\u6578\u7D44\u5E38\u6578,\u5176\u4E2D\u5305\u542B\u4F5C\u70BA\u7BC0\u5047\u65E5\u7684\u65E5\u671F\u3002
  583. \u5728\u7BC0\u5047\u65E5\u6578\u7D44\u5167\u63D0\u4F9B\u7684\u503C\u5FC5\u9808\u70BA\u65E5\u671F\u5E8F\u6578\u503C\uFF08\u4F8B\u5982N\u7684\u8FD4\u56DE\u503C\uFF09\u6216\u65E5\u671F\u503C\uFF08\u4F8B\u5982DATE\u3001DATEVALUE\u6216TO_DATE\u7684\u8FD4\u56DE\u503C\uFF09\u3002\u7531\u7BC4\u570D\u6307\u5B9A\u7684\u503C\u61C9\u8A72\u662F\u6A19\u6E96\u7684\u65E5\u671F\u503C\u6216\u65E5\u671F\u5E8F\u6578\u503C\u3002`}]},ISOWEEKNUM:{d:"\u8FD4\u56DE\u7D66\u5B9A\u65E5\u671F\u5728\u5168\u5E74\u4E2D\u7684 ISO \u5468\u6578\u3002",a:"\u8FD4\u56DE\u7D66\u5B9A\u65E5\u671F\u5728\u5168\u5E74\u4E2D\u7684 ISO \u5468\u6578\u3002",p:[{name:"date",detail:"\u7528\u65BC\u65E5\u671F\u548C\u6642\u9593\u8A08\u7B97\u7684\u65E5\u671F-\u6642\u9593\u7A0B\u5F0F\u78BC\u3002"}]},WEEKNUM:{d:"\u8FD4\u56DE\u7279\u5B9A\u65E5\u671F\u7684\u5468\u6578\u3002",a:"\u8FD4\u56DE\u7279\u5B9A\u65E5\u671F\u7684\u5468\u6578\u3002",p:[{name:"serial_number",detail:"\u8981\u78BA\u5B9A\u5176\u4F4D\u65BC\u7B2C\u5E7E\u5468\u7684\u65E5\u671F,\u5FC5\u9808\u662F\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002"},{name:"return_type",detail:"[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA1 ] - \u4EE3\u8868\u4E00\u5468\u8D77\u59CB\u65E5\u7684\u6578\u4F4D,\u7CFB\u7D71\u4E5F\u4F7F\u7528\u8A72\u6578\u4F4D\u4F86\u78BA\u5B9A\u4E00\u5E74\u7684\u7B2C\u4E00\u5468\uFF081=\u5468\u65E5,2=\u9031\u4E00\uFF09\u3002"}]},WEEKDAY:{d:"\u8FD4\u56DE\u4E00\u500B\u6578\u4F4D,\u5C0D\u61C9\u65BC\u7D66\u5B9A\u65E5\u671F\u6240\u5728\u7684\u661F\u671F\u5E7E\u3002",a:"\u8FD4\u56DE\u4E00\u500B\u6578\u4F4D,\u5C0D\u61C9\u65BC\u7D66\u5B9A\u65E5\u671F\u6240\u5728\u7684\u661F\u671F\u5E7E\u3002",p:[{name:"serial_number",detail:"\u8981\u70BA\u5176\u78BA\u5B9A\u661F\u671F\u5E7E\u7684\u65E5\u671F\u3002\u5FC5\u9808\u662F\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002"},{name:"return_type",detail:`[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA1] -\u4EE5\u6578\u4F4D\u8A13\u793A\u4F7F\u7528\u54EA\u7A2E\u7DE8\u865F\u9806\u5E8F\u4F86\u8868\u793A\u661F\u671F\u5E7E\u3002\u9ED8\u8A8D\u60C5\u51B5\u4E0B,\u6309\u661F\u671F\u65E5\uFF08= 1\uFF09\u958B\u59CB\u8A08\u7B97\u3002
  584. \u5982\u679C\u985E\u578B\u70BA1,\u5247\u661F\u671F\u503C\u5C07\u5F9E\u661F\u671F\u65E5\u958B\u59CB\u7B97\u8D77,\u4E26\u4E14\u661F\u671F\u65E5\u7684\u503C\u70BA1,\u56D9\u6B64\u661F\u671F\u516D\u7684\u503C\u5C31\u662F7\u3002
  585. \u5982\u679C\u985E\u578B\u70BA2,\u5247\u661F\u671F\u503C\u5C07\u5F9E\u661F\u671F\u4E00\u958B\u59CB\u7B97\u8D77,\u4E26\u4E14\u661F\u671F\u4E00\u7684\u503C\u70BA1,\u56D9\u6B64\u661F\u671F\u65E5\u7684\u503C\u5C31\u662F7\u3002
  586. \u5982\u679C\u985E\u578B\u70BA3,\u5247\u661F\u671F\u503C\u5C07\u5F9E\u661F\u671F\u4E00\u7B97\u8D77,\u4E26\u4E14\u661F\u671F\u4E00\u7684\u503C\u70BA0,\u56D9\u6B64\u661F\u671F\u65E5\u7684\u503C\u5C31\u662F6\u3002`}]},DAY:{d:"\u4EE5\u6578\u4F4D\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u65E5\u671F\u6240\u5728\u7684\u7576\u6708\u5E7E\u865F\u3002",a:"\u4EE5\u6578\u4F4D\u683C\u5F0F\u8FD4\u56DE\u7279\u5B9A\u65E5\u671F\u6240\u5728\u7684\u7576\u6708\u5E7E\u865F\u3002",p:[{name:"serial_number",detail:"\u8981\u5F9E\u4E2D\u9078\u53D6\u5177\u9AD4\u5E7E\u865F\u7684\u65E5\u671F\u3002\u5FC5\u9808\u662F\u4EE5\u4E0B\u4E00\u7A2E:\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002"}]},DAYS:{d:"\u8FD4\u56DE\u5169\u500B\u65E5\u671F\u4E4B\u9593\u7684\u5929\u6578\u3002",a:"\u8FD4\u56DE\u5169\u500B\u65E5\u671F\u4E4B\u9593\u7684\u5929\u6578\u3002",p:[{name:"end_date",detail:"\u8A08\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u7D50\u675F\u65E5\u671F\u3002\u5FC5\u9808\u662F\u4EE5\u4E0B\u4E00\u7A2E:\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002"},{name:"start_date",detail:"\u8A08\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u958B\u59CB\u65E5\u671F\u3002\u5FC5\u9808\u662F\u4EE5\u4E0B\u4E00\u7A2E:\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002"}]},DAYS360:{d:"\u6309\u7167\u6BCF\u5E74360\u5929,\u8FD4\u56DE\u5169\u500B\u65E5\u671F\u4E4B\u9593\u7684\u5DEE\uFF08\u7528\u65BC\u8A08\u7B97\u5229\u606F\uFF09\u3002",a:"\u6309\u7167\u6BCF\u5E74360\u5929,\u8FD4\u56DE\u5169\u500B\u65E5\u671F\u4E4B\u9593\u7684\u5DEE\uFF08\u7528\u65BC\u8A08\u7B97\u5229\u606F\uFF09\u3002",p:[{name:"start_date",detail:"\u8A08\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u958B\u59CB\u65E5\u671F\u3002\u5FC5\u9808\u662F\u4EE5\u4E0B\u4E00\u7A2E:\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002"},{name:"end_date",detail:"\u8A08\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u7D50\u675F\u65E5\u671F\u3002\u5FC5\u9808\u662F\u4EE5\u4E0B\u4E00\u7A2E:\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002"},{name:"method",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BAFALSE\uFF08\uFF09] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
  587. FALSE -\u63A1\u7528\u7F8E\u570B\uFF08NASD\uFF09\u65B9\u6CD5\u6642,\u5982\u679C\u8D77\u59CB\u65E5\u671F\u70BA\u67D0\u6708\u7684\u6700\u5F8C\u4E00\u5929,\u70BA\u4FBF\u65BC\u8A08\u7B97,\u6703\u5C07\u8D77\u59CB\u65E5\u671F\u7684\u7576\u6708\u5E7E\u865F\u66F4\u6539\u70BA30\u3002\u6B64\u5916,\u5982\u679C\u7D50\u675F\u65E5\u671F\u662F\u6240\u5728\u6708\u4EFD\u7684\u6700\u5F8C\u4E00\u5929,\u800C\u4E14\u8D77\u59CB\u65E5\u671F\u5728\u5176\u6240\u5728\u6708\u768430\u865F\u4E4B\u524D,\u5247\u5C07\u7D50\u675F\u65E5\u671F\u66F4\u6539\u70BA\u7D50\u675F\u65E5\u671F\u4E4B\u5F8C\u90A3\u500B\u6708\u7684\u7B2C\u4E00\u5929,\u5426\u5247\u5C07\u7D50\u675F\u65E5\u671F\u66F4\u6539\u70BA\u8A72\u6708\u768430\u865F\u3002
  588. TRUE -\u63A1\u7528\u6B50\u6D32\u65B9\u6CD5\u6642,\u6703\u5C07\u6240\u6709\u65E5\u671F\u572831\u865F\u7684\u8D77\u59CB\u65E5\u671F\u6216\u7D50\u675F\u65E5\u671F\u66F4\u6539\u70BA\u7576\u6708\u768430\u865F\u3002`}]},DATE:{d:"\u5C07\u63D0\u4F9B\u7684\u5E74\u3001\u6708\u3001\u65E5\u8F49\u63DB\u70BA\u65E5\u671F\u3002",a:"\u5C07\u63D0\u4F9B\u7684\u5E74\u3001\u6708\u3001\u65E5\u8F49\u63DB\u70BA\u65E5\u671F\u3002",p:[{name:"year",detail:`\u65E5\u671F\u7684\u5E74\u4EFD\u90E8\u5206,\u5305\u542B\u4E00\u5230\u56DB\u4F4D\u6578\u4F4D\u3002
  589. \u4ECB\u65BC0\uFF08\u96F6\uFF09\u5230 1899 \u4E4B\u9593,\u6703\u5C07\u8A72\u503C\u8207 1900 \u76F8\u52A0\u4F86\u8A08\u7B97\u5E74\u4EFD\uFF1B
  590. \u4ECB\u65BC 1900 \u5230 9999 \u4E4B\u9593,\u5C07\u4F7F\u7528\u8A72\u6578\u503C\u4F5C\u70BA\u5E74\u4EFD\uFF1B
  591. \u5C0F\u65BC0\u6216\u5927\u65BC\u7B49\u65BC 10000,\u8FD4\u56DE\u932F\u8AA4\u503C#NUM\uFF01\u3002`},{name:"month",detail:`\u65E5\u671F\u7684\u6708\u4EFD\u90E8\u5206,\u4E00\u500B\u6B63\u6574\u6578\u6216\u8CA0\u6574\u6578\u3002
  592. \u5982\u679C month \u5927\u65BC 12,\u5247 month \u6703\u5C07\u8A72\u6708\u4EFD\u6578\u8207\u6307\u5B9A\u5E74\u4E2D\u7684\u7B2C\u4E00\u500B\u6708\u76F8\u52A0\u3002
  593. \u5982\u679C month \u5C0F\u65BC 1,month \u5247\u5F9E\u6307\u5B9A\u5E74\u4EFD\u7684\u4E00\u6708\u4EFD\u958B\u59CB\u905E\u6E1B\u8A72\u6708\u4EFD\u6578,\u7136\u5F8C\u518D\u52A0\u4E0A 1 \u500B\u6708\u3002`},{name:"day",detail:`\u65E5\u671F\u7684\u65E5\u90E8\u5206,\u4E00\u500B\u6B63\u6574\u6578\u6216\u8CA0\u6574\u6578\u3002
  594. \u5982\u679C day \u5927\u65BC\u6708\u4E2D\u6307\u5B9A\u7684\u5929\u6578,\u5247 day \u6703\u5C07\u5929\u6578\u8207\u8A72\u6708\u4E2D\u7684\u7B2C\u4E00\u5929\u76F8\u52A0\u3002
  595. \u5982\u679C day \u5C0F\u65BC1,\u5247 day \u5F9E\u6307\u5B9A\u6708\u4EFD\u7684\u7B2C\u4E00\u5929\u958B\u59CB\u905E\u6E1B\u8A72\u5929\u6578,\u7136\u5F8C\u518D\u52A0\u4E0A 1 \u5929\u3002`}]},DATEVALUE:{d:"\u5C07\u63D0\u4F9B\u7684\u65E5\u671F\u5B57\u4E32\u8F49\u63DB\u70BA\u65E5\u671F\u7684\u5E8F\u865F\u3002",a:"\u5C07\u63D0\u4F9B\u7684\u65E5\u671F\u5B57\u4E32\u8F49\u63DB\u70BA\u65E5\u671F\u7684\u5E8F\u865F\u3002",p:[{name:"date_text",detail:"\u8868\u793A\u65E5\u671F\u7684\u5B57\u4E32\u3002"}]},DATEDIF:{d:"\u8A08\u7B97\u5169\u500B\u65E5\u671F\u4E4B\u9593\u7684\u5929\u6578\u3001\u6708\u6578\u6216\u5E74\u6578\u3002",a:"\u8A08\u7B97\u5169\u500B\u65E5\u671F\u4E4B\u9593\u7684\u5929\u6578\u3001\u6708\u6578\u6216\u5E74\u6578\u3002",p:[{name:"\u8D77\u59CB\u65E5\u671F",detail:"\u8A08\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u958B\u59CB\u65E5\u671F\u3002\u5FC5\u9808\u662F\u5C0D\u5305\u542BDATE\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DEDATE\u985E\u578B\u7684\u51FD\u6578\u6216\u6578\u4F4D\u3002"},{name:"\u7D50\u675F\u65E5\u671F",detail:"\u8A08\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u7D50\u675F\u65E5\u671F\u3002\u5FC5\u9808\u662F\u5C0D\u5305\u542BDATE\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DEDATE\u985E\u578B\u7684\u51FD\u6578\u6216\u6578\u4F4D\u3002"},{name:"\u7D44\u7E54",detail:`\u6642\u9593\u7D44\u7E54\u7684\u7E2E\u5BEB\u6587\u5B57\u3002\u4F8B\u5982"M"\u4EE3\u8868\u6708\u3002\u6709\u6548\u503C\u5305\u62EC:"Y"\u3001"M"\u3001"D"\u3001"MD"\u3001"YM"\u548C"YD"\u3002
  596. "Y":\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7D50\u675F\u65E5\u671F\u4E4B\u9593\u7684\u6574\u5E74\u6578\u3002
  597. "M":\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7D50\u675F\u65E5\u671F\u4E4B\u9593\u7684\u6574\u6708\u6578\u3002
  598. "D":\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7D50\u675F\u65E5\u671F\u4E4B\u9593\u7684\u5929\u6578\u3002
  599. "MD":\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7D50\u675F\u65E5\u671F\u4E4B\u9593\u7684\u5929\u6578\uFF08\u4E0D\u8A08\u6574\u6708\u6578\uFF09\u3002
  600. "YM":\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7D50\u675F\u65E5\u671F\u4E4B\u9593\u7684\u6574\u6708\u6578\uFF08\u4E0D\u8A08\u6574\u5E74\u6578\uFF09\u3002
  601. "YD":\u8FD4\u56DE\u8D77\u59CB\u65E5\u671F\u548C\u7D50\u675F\u65E5\u671F\u4E4B\u9593\u7684\u5929\u6578\uFF08\u5047\u8A2D\u8D77\u59CB\u65E5\u671F\u548C\u7D50\u675F\u65E5\u671F\u7684\u9593\u9694\u4E0D\u8D85\u904E\u4E00\u5E74\uFF09\u3002`}]},WORKDAY:{d:"\u6307\u5B9A\u5DE5\u4F5C\u65E5\u5929\u6578,\u8A08\u7B97\u7D50\u675F\u65E5\u671F\u3002",a:"\u6307\u5B9A\u5DE5\u4F5C\u65E5\u5929\u6578,\u8A08\u7B97\u7D50\u675F\u65E5\u671F\u3002",p:[{name:"start_date",detail:"\u8A08\u7B97\u7684\u958B\u59CB\u65E5\u671F\u3002"},{name:"days",detail:`start_date\u4E4B\u524D\u6216\u4E4B\u5F8C\u4E0D\u542B\u9031\u672B\u53CA\u7BC0\u5047\u65E5\u7684\u5929\u6578\u3002
  602. \u70BA\u6B63\u503C\u5C07\u751F\u6210\u672A\u4F86\u65E5\u671F\uFF1B
  603. \u70BA\u8CA0\u503C\u751F\u6210\u904E\u53BB\u65E5\u671F\u3002`},{name:"holidays",detail:`[\u53EF\u9078] - \u4E00\u500B\u7BC4\u570D\u6216\u6578\u7D44\u5E38\u6578,\u5176\u4E2D\u5305\u542B\u4F5C\u70BA\u7BC0\u5047\u65E5\u7684\u65E5\u671F\u5E8F\u865F\u3002
  604. \u5728\u7BC0\u5047\u65E5\u6578\u7D44\u4E2D\u63D0\u4F9B\u7684\u503C\u5FC5\u9808\u662F\u65E5\u671F\u5E8F\u865F\u503C\uFF08\u4F8B\u5982\u7531N\u6240\u8FD4\u56DE\u7684\u503C\uFF09\u6216\u65E5\u671F\u503C\uFF08\u4F8B\u5982\u7531DATE\u3001DATEVALUE\u6216TO_DATE\u8FD4\u56DE\u7684\u503C\uFF09\u3002\u7531\u7BC4\u570D\u6307\u5B9A\u7684\u503C\u61C9\u8A72\u662F\u6A19\u6E96\u7684\u65E5\u671F\u503C\u6216\u65E5\u671F\u5E8F\u6578\u503C\u3002`}]},WORKDAY_INTL:{d:"\u8FD4\u56DE\u6307\u5B9A\u7684\u82E5\u5E72\u500B\u5DE5\u4F5C\u65E5\u4E4B\u524D\u6216\u4E4B\u5F8C\u7684\u65E5\u671F\u7684\u5E8F\u865F\uFF08\u4F7F\u7528\u81EA\u5B9A\u7FA9\u9031\u672B\u53C3\u6578\uFF09\u3002 ",a:"\u8FD4\u56DE\u6307\u5B9A\u7684\u82E5\u5E72\u500B\u5DE5\u4F5C\u65E5\u4E4B\u524D\u6216\u4E4B\u5F8C\u7684\u65E5\u671F\u7684\u5E8F\u865F\uFF08\u4F7F\u7528\u81EA\u5B9A\u7FA9\u9031\u672B\u53C3\u6578\uFF09\u3002 ",p:[{name:"start_date",detail:"\u958B\u59CB\u65E5\u671F\uFF08\u5C07\u88AB\u622A\u5C3E\u53D6\u6574\uFF09\u3002"},{name:"days",detail:`start_date\u4E4B\u524D\u6216\u4E4B\u5F8C\u7684\u5DE5\u4F5C\u65E5\u7684\u5929\u6578\u3002
  605. \u6B63\u503C\u8868\u793A\u672A\u4F86\u65E5\u671F\uFF1B
  606. \u8CA0\u503C\u8868\u793A\u904E\u53BB\u65E5\u671F\uFF1B
  607. \u96F6\u503C\u8868\u793A\u958B\u59CB\u65E5\u671F\u3002`},{name:"weekend",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA1] - \u7528\u65BC\u8868\u793A\u54EA\u4E9B\u5929\u70BA\u9031\u672B\u7684\u6578\u4F4D\u6216\u5B57\u4E32\u3002
  608. \u5B57\u4E32\u7BA1\u9053:\u53EF\u4EE5\u4F7F\u7528\u75310\u548C1\u7D44\u6210\u7684\u5B57\u4E32\u4F86\u6307\u5B9A\u9031\u672B,\u4E32\u4E2D\u7684\u7B2C\u4E00\u500B\u6578\u4F4D\u5B57\u5143\u4EE3\u8868\u9031\u4E00,\u6700\u5F8C\u4E00\u500B\u5247\u4EE3\u8868\u5468\u65E5\u3002\u96F6\u8868\u793A\u9019\u4E00\u5929\u662F\u5DE5\u4F5C\u65E5,1\u8868\u793A\u9019\u4E00\u5929\u70BA\u9031\u672B\u3002\u4F8B\u5982,"0000011"\u8868\u793A\u5C07\u9031\u516D\u548C\u5468\u65E5\u4F5C\u70BA\u9031\u672B\u3002
  609. \u6578\u4F4D\u7BA1\u9053:\u9019\u7A2E\u7BA1\u9053\u4E0D\u4F7F\u7528\u4E0A\u8FF0\u5B57\u4E32\u5F62\u5F0F,\u800C\u662F\u4F7F\u7528\u4E00\u500B\u6578\u4F4D\u30021 =\u9031\u516D/\u5468\u65E5\u70BA\u9031\u672B,2 =\u5468\u65E5/\u9031\u4E00\u70BA\u9031\u672B,\u4F9D\u6B64\u985E\u63A8\u52477 =\u9031\u4E94/\u9031\u516D\u300211 =\u5468\u65E5\u70BA\u552F\u4E00\u9031\u672B,12 =\u9031\u4E00\u70BA\u552F\u4E00\u9031\u672B,\u4F9D\u6B64\u985E\u63A8\u524717 =\u9031\u516D\u70BA\u552F\u4E00\u9031\u672B\u3002`},{name:"holidays",detail:`[\u53EF\u9078] - \u9019\u662F\u4E00\u500B\u7BC4\u570D\u6216\u6578\u7D44\u5E38\u6578,\u5176\u4E2D\u5305\u542B\u4F5C\u70BA\u7BC0\u5047\u65E5\u7684\u65E5\u671F\u3002
  610. \u5728\u7BC0\u5047\u65E5\u6578\u7D44\u5167\u63D0\u4F9B\u7684\u503C\u5FC5\u9808\u70BA\u65E5\u671F\u5E8F\u6578\u503C\uFF08\u4F8B\u5982N\u7684\u8FD4\u56DE\u503C\uFF09\u6216\u65E5\u671F\u503C\uFF08\u4F8B\u5982DATE\u3001DATEVALUE\u6216TO_DATE\u7684\u8FD4\u56DE\u503C\uFF09\u3002\u7531\u7BC4\u570D\u6307\u5B9A\u7684\u503C\u61C9\u8A72\u662F\u6A19\u6E96\u7684\u65E5\u671F\u503C\u6216\u65E5\u671F\u5E8F\u6578\u503C\u3002`}]},YEAR:{d:"\u8FD4\u56DE\u5C0D\u61C9\u65BC\u67D0\u500B\u65E5\u671F\u7684\u5E74\u4EFD\u3002Year\u4F5C\u70BA 1900 - 9999 \u4E4B\u9593\u7684\u6574\u6578\u8FD4\u56DE\u3002",a:"\u8FD4\u56DE\u5C0D\u61C9\u65BC\u67D0\u500B\u65E5\u671F\u7684\u5E74\u4EFD\u3002Year\u4F5C\u70BA 1900 - 9999 \u4E4B\u9593\u7684\u6574\u6578\u8FD4\u56DE\u3002",p:[{name:"serial_number",detail:"\u7528\u65BC\u8A08\u7B97\u5E74\u4EFD\u7684\u65E5\u671F\u3002\u5FC5\u9808\u662F\u4EE5\u4E0B\u4E00\u7A2E:\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002"}]},YEARFRAC:{d:"\u8FD4\u56DE start_date \u548C end_date \u4E4B\u9593\u7684\u5929\u6578\u5360\u5168\u5E74\u5929\u6578\u7684\u767E\u5206\u6BD4\u3002",a:"\u8FD4\u56DE start_date \u548C end_date \u4E4B\u9593\u7684\u5929\u6578\u5360\u5168\u5E74\u5929\u6578\u7684\u767E\u5206\u6BD4\u3002",p:[{name:"start_date",detail:"\u8A08\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u958B\u59CB\u65E5\u671F\u3002\u5FC5\u9808\u662F\u4EE5\u4E0B\u4E00\u7A2E:\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002"},{name:"end_date",detail:"\u8A08\u7B97\u4E2D\u8981\u4F7F\u7528\u7684\u7D50\u675F\u65E5\u671F\u3002\u5FC5\u9808\u662F\u4EE5\u4E0B\u4E00\u7A2E:\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8981\u4F7F\u7528\u7684\u65E5\u8A08\u6578\u57FA\u6E96\u985E\u578B\u3002
  611. 0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
  612. 1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  613. 2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
  614. 3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
  615. 4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`}]},TODAY:{d:"\u4EE5\u65E5\u671F\u503C\u683C\u5F0F\u8FD4\u56DE\u7576\u524D\u65E5\u671F\u3002",a:"\u4EE5\u65E5\u671F\u503C\u683C\u5F0F\u8FD4\u56DE\u7576\u524D\u65E5\u671F\u3002",p:[]},MONTH:{d:"\u8FD4\u56DE\u65E5\u671F\uFF08\u4EE5\u5E8F\u5217\u6578\u8868\u793A\uFF09\u4E2D\u7684\u6708\u4EFD\u3002\u6708\u4EFD\u662F\u4ECB\u65BC1\uFF08\u4E00\u6708\uFF09\u523012\uFF08\u5341\u4E8C\u6708\uFF09\u4E4B\u9593\u7684\u6574\u6578\u3002",a:"\u8FD4\u56DE\u65E5\u671F\uFF08\u4EE5\u5E8F\u5217\u6578\u8868\u793A\uFF09\u4E2D\u7684\u6708\u4EFD\u3002\u6708\u4EFD\u662F\u4ECB\u65BC1\uFF08\u4E00\u6708\uFF09\u523012\uFF08\u5341\u4E8C\u6708\uFF09\u4E4B\u9593\u7684\u6574\u6578\u3002",p:[{name:"serial_number",detail:"\u8981\u5F9E\u4E2D\u9078\u53D6\u6708\u4EFD\u7684\u65E5\u671F\u3002\u5FC5\u9808\u662F\u4EE5\u4E0B\u4E00\u7A2E:\u5C0D\u5305\u542B\u65E5\u671F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3001\u8FD4\u56DE\u65E5\u671F\u985E\u578B\u7684\u51FD\u6578\u6216\u8005\u6578\u4F4D\u3002"}]},EFFECT:{d:"\u6839\u64DA\u540D\u7FA9\u5229\u7387\u53CA\u6BCF\u5E74\u7684\u8907\u5229\u8A08\u606F\u671F\u6578\u4F86\u8A08\u7B97\u5BE6\u969B\u5E74\u5229\u7387\u3002",a:"\u6839\u64DA\u540D\u7FA9\u5229\u7387\u53CA\u6BCF\u5E74\u7684\u8907\u5229\u8A08\u606F\u671F\u6578\u4F86\u8A08\u7B97\u5BE6\u969B\u5E74\u5229\u7387\u3002",p:[{name:"nominal_rate",detail:"\u6BCF\u5E74\u7684\u540D\u7FA9\u5229\u7387\u3002"},{name:"npery",detail:"\u6BCF\u5E74\u7684\u8907\u5229\u8A08\u7B97\u671F\u6578\u3002"}]},DOLLAR:{d:"\u5C07\u6578\u4F4D\u683C\u5F0F\u8A2D\u5B9A\u70BA\u8207\u8A9E\u8A00\u5340\u57DF\u76F8\u5C0D\u61C9\u7684\u8CA8\u5E63\u683C\u5F0F\u3002",a:"\u5C07\u6578\u4F4D\u683C\u5F0F\u8A2D\u5B9A\u70BA\u8207\u8A9E\u8A00\u5340\u57DF\u76F8\u5C0D\u61C9\u7684\u8CA8\u5E63\u683C\u5F0F\u3002",p:[{name:"number",detail:"\u8981\u8A2D\u5B9A\u683C\u5F0F\u7684\u503C\u3002"},{name:"decimals",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA2] - \u8981\u986F\u793A\u7684\u5C0F\u6578\u4F4D\u6578\u3002
  616. \u5982\u679C\u9019\u662F\u8CA0\u6578,\u5247\u5C07\u6578\u4F4D\u56DB\u6368\u4E94\u5165\u5230\u5C0F\u6578\u9EDE\u5DE6\u5074\u3002`}]},DOLLARDE:{d:"\u5C07\u4EE5\u6574\u6578\u90E8\u5206\u548C\u5206\u6578\u90E8\u5206\u8F49\u63DB\u70BA\u4EE5\u5C0F\u6578\u90E8\u5206\u8868\u793A\u7684\u91D1\u984D\u6578\u4F4D",a:"\u5C07\u4EE5\u6574\u6578\u90E8\u5206\u548C\u5206\u6578\u90E8\u5206\u8F49\u63DB\u70BA\u4EE5\u5C0F\u6578\u90E8\u5206\u8868\u793A\u7684\u91D1\u984D\u6578\u4F4D",p:[{name:"fractional_dollar",detail:"\u4EE5\u6574\u6578\u90E8\u4EFD\u548C\u5206\u6578\u90E8\u5206\u8868\u793A\u7684\u6578\u4F4D,\u7528\u5C0F\u6578\u9EDE\u9694\u958B\u3002"},{name:"fraction",detail:"\u7528\u4F5C\u5206\u6578\u4E2D\u7684\u5206\u6BCD\u7684\u6574\u6578\u3002"}]},DOLLARFR:{d:"\u5C07\u5C0F\u6578\u8F49\u63DB\u70BA\u5206\u6578\u8868\u793A\u7684\u91D1\u984D\u6578\u4F4D\u3002",a:"\u5C07\u5C0F\u6578\u8F49\u63DB\u70BA\u5206\u6578\u8868\u793A\u7684\u91D1\u984D\u6578\u4F4D\u3002",p:[{name:"decimal_dollar",detail:"\u5C0F\u6578\u3002"},{name:"fraction",detail:"\u7528\u4F5C\u5206\u6578\u4E2D\u7684\u5206\u6BCD\u7684\u6574\u6578\u3002"}]},DB:{d:"\u4F7F\u7528\u56FA\u5B9A\u9918\u984D\u905E\u6E1B\u6CD5,\u8FD4\u56DE\u6307\u5B9A\u671F\u9593\u5167\u67D0\u9805\u56FA\u5B9A\u8CC7\u7522\u7684\u6298\u820A\u503C\u3002",a:"\u4F7F\u7528\u56FA\u5B9A\u9918\u984D\u905E\u6E1B\u6CD5,\u8FD4\u56DE\u6307\u5B9A\u671F\u9593\u5167\u67D0\u9805\u56FA\u5B9A\u8CC7\u7522\u7684\u6298\u820A\u503C\u3002",p:[{name:"cost",detail:"\u8CC7\u7522\u539F\u503C\u3002"},{name:"salvage",detail:"\u6298\u820A\u672B\u5C3E\u6642\u7684\u503C\uFF08\u6709\u6642\u4E5F\u7A31\u70BA\u8CC7\u7522\u6B98\u503C\uFF09\u3002"},{name:"life",detail:"\u8CC7\u7522\u7684\u6298\u820A\u671F\u6578\uFF08\u6709\u6642\u4E5F\u7A31\u4F5C\u8CC7\u7522\u7684\u4F7F\u7528\u58FD\u547D\uFF09\u3002"},{name:"period",detail:"\u5728\u4F7F\u7528\u671F\u9650\u5167\u8981\u8A08\u7B97\u6298\u820A\u7684\u6298\u820A\u671F\u3002"},{name:"month",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA12] - \u6298\u820A\u7B2C\u4E00\u5E74\u4E2D\u7684\u6708\u6578\u3002"}]},DDB:{d:"\u7528\u96D9\u500D\u9918\u984D\u905E\u6E1B\u6CD5,\u8FD4\u56DE\u6307\u5B9A\u671F\u9593\u5167\u67D0\u9805\u56FA\u5B9A\u8CC7\u7522\u7684\u6298\u820A\u503C\u3002",a:"\u7528\u96D9\u500D\u9918\u984D\u905E\u6E1B\u6CD5,\u8FD4\u56DE\u6307\u5B9A\u671F\u9593\u5167\u67D0\u9805\u56FA\u5B9A\u8CC7\u7522\u7684\u6298\u820A\u503C\u3002",p:[{name:"cost",detail:"\u8D44\u4EA7\u539F\u503C\u3002"},{name:"salvage",detail:"\u6298\u820A\u672B\u5C3E\u6642\u7684\u503C\uFF08\u6709\u6642\u4E5F\u7A31\u70BA\u8CC7\u7522\u6B98\u503C\uFF09\u3002"},{name:"life",detail:"\u8CC7\u7522\u7684\u6298\u820A\u671F\u6578\uFF08\u6709\u6642\u4E5F\u7A31\u4F5C\u8CC7\u7522\u7684\u4F7F\u7528\u58FD\u547D\uFF09\u3002"},{name:"period",detail:"\u5728\u4F7F\u7528\u671F\u9650\u5167\u8981\u8A08\u7B97\u6298\u820A\u7684\u6298\u820A\u671F\u3002"},{name:"factor",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA2] - \u6298\u820A\u7684\u905E\u6E1B\u4FC2\u6578\u3002"}]},RATE:{d:"\u8FD4\u56DE\u5E74\u91D1\u6BCF\u671F\u7684\u5229\u7387\u3002",a:"\u8FD4\u56DE\u5E74\u91D1\u6BCF\u671F\u7684\u5229\u7387\u3002",p:[{name:"nper",detail:"\u5E74\u91D1\u7684\u4ED8\u6B3E\u7E3D\u671F\u6578\u3002"},{name:"pmt",detail:"\u6BCF\u671F\u7684\u4ED8\u6B3E\u91D1\u984D,\u5728\u5E74\u91D1\u9031\u671F\u5167\u4E0D\u80FD\u66F4\u6539\u3002"},{name:"pv",detail:"\u73FE\u503C\u5373\u4E00\u7CFB\u5217\u672A\u4F86\u4ED8\u6B3E\u7576\u524D\u503C\u7684\u7E3D\u548C\u3002"},{name:"fv",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u672A\u4F86\u503C,\u6216\u5728\u6700\u5F8C\u4E00\u6B21\u4ED8\u6B3E\u5F8C\u5E0C\u671B\u5F97\u5230\u7684\u73FE\u91D1\u9918\u984D\u3002"},{name:"type",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u6642\u9593\u662F\u5728\u671F\u521D\u9084\u662F\u671F\u672B\u3002
  617. 0\u8868\u793A\u671F\u672B\uFF1B
  618. 1\u8868\u793A\u671F\u521D\u3002`},{name:"guess",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0.1] - \u9810\u671F\u5229\u7387\u3002"}]},CUMPRINC:{d:"\u57FA\u65BC\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387,\u8A08\u7B97\u6295\u8CC7\u5728\u591A\u500B\u4ED8\u6B3E\u671F\u5167\u7684\u7D2F\u8A08\u672C\u91D1\u511F\u9084\u984D\u3002",a:"\u57FA\u65BC\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387,\u8A08\u7B97\u6295\u8CC7\u5728\u591A\u500B\u4ED8\u6B3E\u671F\u5167\u7684\u7D2F\u8A08\u672C\u91D1\u511F\u9084\u984D\u3002",p:[{name:"rate",detail:"\u5229\u7387\u3002"},{name:"nper",detail:"\u7E3D\u4ED8\u6B3E\u671F\u6578\u3002"},{name:"pv",detail:"\u5E74\u91D1\u7684\u73FE\u503C\u3002"},{name:"start_period",detail:`\u958B\u59CB\u7D2F\u8A08\u8A08\u7B97\u7684\u4ED8\u6B3E\u671F\u5E8F\u865F\u3002
  619. \u9996\u671F\u5FC5\u9808\u5927\u65BC\u7B49\u65BC1\u3002`},{name:"end_period",detail:`\u7D50\u675F\u7D2F\u8A08\u8A08\u7B97\u7684\u4ED8\u6B3E\u671F\u5E8F\u865F\u3002
  620. \u672B\u671F\u5FC5\u9808\u5927\u65BC\u9996\u671F\u3002`},{name:"type",detail:`\u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u6642\u9593\u662F\u5728\u671F\u521D\u9084\u662F\u671F\u672B\u3002
  621. 0\u8868\u793A\u671F\u672B\uFF1B
  622. 1\u8868\u793A\u671F\u521D\u3002`}]},COUPNUM:{d:"\u8FD4\u56DE\u5728\u7D50\u7B97\u65E5\u548C\u5230\u671F\u65E5\u4E4B\u9593\u7684\u4ED8\u606F\u6B21\u6578\uFF0C\u5411\u4E0A\u820D\u5165\u5230\u6700\u8FD1\u7684\u6574\u6578",a:"\u8FD4\u56DE\u5728\u7D50\u7B97\u65E5\u548C\u5230\u671F\u65E5\u4E4B\u9593\u7684\u4ED8\u606F\u6B21\u6578\uFF0C\u5411\u4E0A\u820D\u5165\u5230\u6700\u8FD1\u7684\u6574\u6578",p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
  623. \u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
  624. \u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
  625. \u6309\u5B63\u652F\u4ED8,frequency = 4\u3002`},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
  626. 0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
  627. 1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  628. 2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
  629. 3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
  630. 4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`}]},SYD:{d:"\u8FD4\u56DE\u5728\u6307\u5B9A\u671F\u9593\u5167\u8CC7\u7522\u6309\u5E74\u9650\u7E3D\u548C\u6298\u820A\u6CD5\u8A08\u7B97\u7684\u6298\u820A\u3002",a:"\u8FD4\u56DE\u5728\u6307\u5B9A\u671F\u9593\u5167\u8CC7\u7522\u6309\u5E74\u9650\u7E3D\u548C\u6298\u820A\u6CD5\u8A08\u7B97\u7684\u6298\u820A\u3002",p:[{name:"cost",detail:"\u8CC7\u7522\u539F\u503C\u3002"},{name:"salvage",detail:"\u6298\u820A\u672B\u5C3E\u6642\u7684\u503C\uFF08\u6709\u6642\u4E5F\u7A31\u70BA\u8CC7\u7522\u6B98\u503C\uFF09\u3002"},{name:"life",detail:"\u8CC7\u7522\u7684\u6298\u820A\u671F\u6578\uFF08\u6709\u6642\u4E5F\u7A31\u4F5C\u8CC7\u7522\u7684\u4F7F\u7528\u58FD\u547D\uFF09\u3002"},{name:"period",detail:"\u5728\u4F7F\u7528\u671F\u9650\u5167\u8981\u8A08\u7B97\u6298\u820A\u7684\u6298\u820A\u671F\u3002"}]},TBILLEQ:{d:"\u57FA\u65BC\u8CBC\u73FE\u7387\u8A08\u7B97\u7F8E\u570B\u653F\u5E9C\u77ED\u671F\u50B5\u5238\u7684\u7B49\u6548\u5E74\u5316\u6536\u76CA\u7387\u3002",a:"\u57FA\u65BC\u8CBC\u73FE\u7387\u8A08\u7B97\u7F8E\u570B\u653F\u5E9C\u77ED\u671F\u50B5\u5238\u7684\u7B49\u6548\u5E74\u5316\u6536\u76CA\u7387\u3002",p:[{name:"settlement",detail:"\u50B5\u5238\u7684\u7D50\u7B97\u65E5\u671F,\u6B64\u65E5\u671F\u70BA\u50B5\u5238\u767C\u884C\u5F8C\u4EA4\u4ED8\u7D66\u8CB7\u5BB6\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u50B5\u5238\u7684\u5230\u671F\u6216\u7D50\u675F\u65E5\u671F,\u5C4A\u6642\u53EF\u5C07\u5176\u4EE5\u9762\u503C\u6216\u7968\u9762\u50F9\u503C\u8D16\u56DE\u3002"},{name:"discount",detail:"\u50B5\u5238\u8CFC\u8CB7\u6642\u7684\u8CBC\u73FE\u7387\u3002"}]},TBILLYIELD:{d:"\u57FA\u65BC\u50F9\u683C\u8A08\u7B97\u7F8E\u570B\u653F\u5E9C\u77ED\u671F\u50B5\u5238\u7684\u6536\u76CA\u7387\u3002",a:"\u57FA\u65BC\u50F9\u683C\u8A08\u7B97\u7F8E\u570B\u653F\u5E9C\u77ED\u671F\u50B5\u5238\u7684\u6536\u76CA\u7387\u3002",p:[{name:"settlement",detail:"\u50B5\u5238\u7684\u7D50\u7B97\u65E5\u671F,\u6B64\u65E5\u671F\u70BA\u50B5\u5238\u767C\u884C\u5F8C\u4EA4\u4ED8\u7D66\u8CB7\u5BB6\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u50B5\u5238\u7684\u5230\u671F\u6216\u7D50\u675F\u65E5\u671F,\u5C4A\u6642\u53EF\u5C07\u5176\u4EE5\u9762\u503C\u6216\u7968\u9762\u50F9\u503C\u8D16\u56DE\u3002"},{name:"pr",detail:"\u50B5\u5238\u7684\u8CFC\u8CB7\u50F9\u683C\u3002"}]},TBILLPRICE:{d:"\u57FA\u65BC\u8CBC\u73FE\u7387\u8A08\u7B97\u7F8E\u570B\u653F\u5E9C\u77ED\u671F\u50B5\u5238\u7684\u50F9\u683C\u3002",a:"\u57FA\u65BC\u8CBC\u73FE\u7387\u8A08\u7B97\u7F8E\u570B\u653F\u5E9C\u77ED\u671F\u50B5\u5238\u7684\u50F9\u683C\u3002",p:[{name:"settlement",detail:"\u50B5\u5238\u7684\u7D50\u7B97\u65E5\u671F,\u6B64\u65E5\u671F\u70BA\u50B5\u5238\u767C\u884C\u5F8C\u4EA4\u4ED8\u7D66\u8CB7\u5BB6\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u50B5\u5238\u7684\u5230\u671F\u6216\u7D50\u675F\u65E5\u671F,\u5C4A\u6642\u53EF\u5C07\u5176\u4EE5\u9762\u503C\u6216\u7968\u9762\u50F9\u503C\u8D16\u56DE\u3002"},{name:"discount",detail:"\u50B5\u5238\u8CFC\u8CB7\u6642\u7684\u8CBC\u73FE\u7387\u3002"}]},PV:{d:"\u57FA\u65BC\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387,\u8A08\u7B97\u5E74\u91D1\u6295\u8CC7\u7684\u73FE\u503C\u3002",a:"\u57FA\u65BC\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387,\u8A08\u7B97\u5E74\u91D1\u6295\u8CC7\u7684\u73FE\u503C\u3002",p:[{name:"rate",detail:"\u5404\u671F\u5229\u7387\u3002"},{name:"nper",detail:"\u5E74\u91D1\u7684\u4ED8\u6B3E\u7E3D\u671F\u6578\u3002"},{name:"pmt",detail:"\u6BCF\u671F\u7684\u4ED8\u6B3E\u91D1\u984D,\u5728\u5E74\u91D1\u9031\u671F\u5167\u4E0D\u80FD\u66F4\u6539\u3002"},{name:"fv",detail:"[\u53EF\u9078] - \u672A\u4F86\u503C,\u6216\u5728\u6700\u5F8C\u4E00\u6B21\u4ED8\u6B3E\u5F8C\u5E0C\u671B\u5F97\u5230\u7684\u73FE\u91D1\u9918\u984D\u3002"},{name:"type",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u6642\u9593\u662F\u5728\u671F\u521D\u9084\u662F\u671F\u672B\u3002
  631. 0\u8868\u793A\u671F\u672B\uFF1B
  632. 1\u8868\u793A\u671F\u521D\u3002`}]},ACCRINT:{d:"\u8FD4\u56DE\u5B9A\u671F\u4ED8\u606F\u8B49\u5238\u7684\u61C9\u8A08\u5229\u606F\u3002",a:"\u8FD4\u56DE\u5B9A\u671F\u4ED8\u606F\u8B49\u5238\u7684\u61C9\u8A08\u5229\u606F\u3002",p:[{name:"issue",detail:"\u6709\u50F9\u8B49\u5238\u7684\u767C\u884C\u65E5\u3002"},{name:"first_interest",detail:"\u6709\u50F9\u8B49\u5238\u7684\u9996\u6B21\u8A08\u606F\u65E5\u3002"},{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002"},{name:"rate",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002"},{name:"par",detail:"\u8B49\u5238\u7684\u7968\u9762\u503C\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
  633. \u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
  634. \u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
  635. \u6309\u5B63\u652F\u4ED8,frequency = 4\u3002`},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
  636. 0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
  637. 1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  638. 2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
  639. 3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
  640. 4\u8868\u793A""\u6B50\u6D3230/360"\u65B9\u6CD5"-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`},{name:"calc_method",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BATRUE\uFF08\uFF09] - \u4E00\u500B\u908F\u8F2F\u503C,\u6307\u5B9A\u7576\u7D50\u7B97\u65E5\u671F\u665A\u65BC\u9996\u6B21\u8A08\u606F\u65E5\u671F\u6642\u7528\u65BC\u8A08\u7B97\u7E3D\u61C9\u8A08\u5229\u606F\u7684\u65B9\u6CD5\u3002
  641. \u5982\u679C\u503C\u70BATRUE,\u5247\u8FD4\u56DE\u5F9E\u767C\u884C\u65E5\u5230\u7D50\u7B97\u65E5\u7684\u7E3D\u61C9\u8A08\u5229\u606F\u3002
  642. \u5982\u679C\u503C\u70BAFALSE,\u5247\u8FD4\u56DE\u5F9E\u9996\u6B21\u8A08\u606F\u65E5\u5230\u7D50\u7B97\u65E5\u7684\u61C9\u8A08\u5229\u606F\u3002`}]},ACCRINTM:{d:"\u8FD4\u56DE\u5728\u5230\u671F\u65E5\u652F\u4ED8\u5229\u606F\u7684\u6709\u50F9\u8B49\u5238\u7684\u61C9\u8A08\u5229\u606F\u3002",a:"\u8FD4\u56DE\u5728\u5230\u671F\u65E5\u652F\u4ED8\u5229\u606F\u7684\u6709\u50F9\u8B49\u5238\u7684\u61C9\u8A08\u5229\u606F\u3002",p:[{name:"issue",detail:"\u6709\u50F9\u8B49\u5238\u7684\u767C\u884C\u65E5\u3002"},{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002"},{name:"rate",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002"},{name:"par",detail:"\u8B49\u5238\u7684\u7968\u9762\u503C\u3002"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
  643. 0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
  644. 1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  645. 2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
  646. 3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
  647. 4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`}]},COUPDAYBS:{d:"\u8FD4\u56DE\u5F9E\u4ED8\u606F\u671F\u958B\u59CB\u5230\u7D50\u7B97\u65E5\u7684\u5929\u6578\u3002",a:"\u8FD4\u56DE\u5F9E\u4ED8\u606F\u671F\u958B\u59CB\u5230\u7D50\u7B97\u65E5\u7684\u5929\u6578\u3002",p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
  648. \u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
  649. \u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
  650. \u6309\u5B63\u652F\u4ED8,frequency = 4\u3002`},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
  651. 0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
  652. 1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  653. 2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
  654. 3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
  655. 4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`}]},COUPDAYS:{d:"\u8FD4\u56DE\u7D50\u7B97\u65E5\u6240\u5728\u7684\u4ED8\u606F\u671F\u7684\u5929\u6578\u3002",a:"\u8FD4\u56DE\u7D50\u7B97\u65E5\u6240\u5728\u7684\u4ED8\u606F\u671F\u7684\u5929\u6578\u3002",p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
  656. \u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
  657. \u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
  658. \u6309\u5B63\u652F\u4ED8,frequency = 4\u3002`},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] -\u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
  659. 0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
  660. 1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  661. 2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
  662. 3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
  663. 4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`}]},COUPDAYSNC:{d:"\u8FD4\u56DE\u5F9E\u7D50\u7B97\u65E5\u5230\u4E0B\u4E00\u7968\u606F\u652F\u4ED8\u65E5\u4E4B\u9593\u7684\u5929\u6578\u3002",a:"\u8FD4\u56DE\u5F9E\u7D50\u7B97\u65E5\u5230\u4E0B\u4E00\u7968\u606F\u652F\u4ED8\u65E5\u4E4B\u9593\u7684\u5929\u6578\u3002",p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
  664. \u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
  665. \u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
  666. \u6309\u5B63\u652F\u4ED8,frequency = 4\u3002`},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
  667. 0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
  668. 1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  669. 2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
  670. 3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
  671. 4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`}]},COUPNCD:{d:"\u8A08\u7B97\u7D50\u7B97\u65E5\u4E4B\u5F8C\u7684\u4E0B\u4E00\u7968\u606F\u6216\u5229\u606F\u6D3E\u767C\u65E5\u671F\u3002",a:"\u8A08\u7B97\u7D50\u7B97\u65E5\u4E4B\u5F8C\u7684\u4E0B\u4E00\u7968\u606F\u6216\u5229\u606F\u6D3E\u767C\u65E5\u671F\u3002",p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
  672. \u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
  673. \u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
  674. \u6309\u5B63\u652F\u4ED8,frequency = 4\u3002`},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
  675. 0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
  676. 1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  677. 2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
  678. 3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
  679. 4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`}]},COUPPCD:{d:"\u8A08\u7B97\u7D50\u7B97\u65E5\u4E4B\u524D\u7684\u6700\u5F8C\u4E00\u500B\u7968\u606F\u6216\u5229\u606F\u652F\u4ED8\u65E5\u3002",a:"\u8A08\u7B97\u7D50\u7B97\u65E5\u4E4B\u524D\u7684\u6700\u5F8C\u4E00\u500B\u7968\u606F\u6216\u5229\u606F\u652F\u4ED8\u65E5\u3002",p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
  680. \u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
  681. \u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
  682. \u6309\u5B63\u652F\u4ED8,frequency = 4 \u3002`},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
  683. 0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
  684. 1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  685. 2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
  686. 3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
  687. 4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`}]},FV:{d:"\u57FA\u65BC\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387,\u8A08\u7B97\u5E74\u91D1\u6295\u8CC7\u7684\u672A\u4F86\u50F9\u503C\u3002",a:"\u57FA\u65BC\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387,\u8A08\u7B97\u5E74\u91D1\u6295\u8CC7\u7684\u672A\u4F86\u50F9\u503C\u3002",p:[{name:"rate",detail:"\u5404\u671F\u5229\u7387\u3002"},{name:"nper",detail:"\u5E74\u91D1\u7684\u4ED8\u6B3E\u7E3D\u671F\u6578\u3002"},{name:"pmt",detail:"\u5404\u671F\u6240\u61C9\u652F\u4ED8\u7684\u91D1\u984D,\u5728\u6574\u500B\u5E74\u91D1\u671F\u9593\u4FDD\u6301\u4E0D\u8B8A\u3002"},{name:"pv",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0 ] - \u73FE\u503C,\u6216\u4E00\u7CFB\u5217\u672A\u4F86\u4ED8\u6B3E\u7684\u7576\u524D\u503C\u7684\u7D2F\u7A4D\u548C\u3002"},{name:"type",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0 ] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u6642\u9593\u662F\u5728\u671F\u521D\u9084\u662F\u671F\u672B\u3002
  688. 0\u8868\u793A\u671F\u672B\uFF1B
  689. 1\u8868\u793A\u671F\u521D\u3002`}]},FVSCHEDULE:{d:"\u8FD4\u56DE\u61C9\u7528\u4E00\u7CFB\u5217\u8907\u5229\u7387\u8A08\u7B97\u7684\u521D\u59CB\u672C\u91D1\u7684\u672A\u4F86\u503C\u3002",a:"\u8FD4\u56DE\u61C9\u7528\u4E00\u7CFB\u5217\u8907\u5229\u7387\u8A08\u7B97\u7684\u521D\u59CB\u672C\u91D1\u7684\u672A\u4F86\u503C\u3002",p:[{name:"principal",detail:"\u73FE\u503C\u3002"},{name:"schedule",detail:`\u7528\u65BC\u8A08\u7B97\u672C\u91D1\u8907\u5229\u7684\u4E00\u7D44\u5229\u7387\u3002
  690. \u5229\u7387\u9336\u5FC5\u9808\u662F\u7BC4\u570D\u6216\u6578\u7D44,\u5176\u4E2D\u5305\u542B\u8981\u7528\u65BC\u8A08\u7B97\u8907\u5229\u7684\u4E00\u7D44\u5229\u7387\u3002\u9019\u4E9B\u5229\u7387\u503C\u61C9\u8A72\u4EE5\u5341\u9032\u4F4D\u5C0F\u6578\u5F62\u5F0F\u8868\u793A,\u6216\u8005\u4F7F\u7528UNARY_PERCENT\u4EE5\u767E\u5206\u6BD4\u5F62\u5F0F\u8868\u793A,\u5373\u8868\u793A\u70BA0.09\u6216UNARY_PERCENT\uFF089\uFF09,\u800C\u4E0D\u8981\u8868\u793A\u70BA9\u3002`}]},YIELD:{d:"\u8FD4\u56DE\u5B9A\u671F\u652F\u4ED8\u5229\u606F\u7684\u50B5\u5238\u7684\u6536\u76CA\u7387\u3002",a:"\u8FD4\u56DE\u5B9A\u671F\u652F\u4ED8\u5229\u606F\u7684\u50B5\u5238\u7684\u6536\u76CA\u7387\u3002",p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002"},{name:"rate",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002"},{name:"pr",detail:"\u6709\u50F9\u8B49\u5238\u7684\u50F9\u683C\u3002"},{name:"redemption",detail:"\u6709\u50F9\u8B49\u5238\u7684\u6E05\u511F\u50F9\u503C\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
  691. \u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
  692. \u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
  693. \u6309\u5B63\u652F\u4ED8,frequency = 4\u3002`},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
  694. 0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
  695. 1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  696. 2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
  697. 3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
  698. 4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`}]},YIELDDISC:{d:"\u57FA\u65BC\u50F9\u683C\u8A08\u7B97\u6298\u50F9\u767C\u884C\u7684\uFF08\u4E0D\u5E36\u606F\uFF09\u50B5\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002",a:"\u57FA\u65BC\u50F9\u683C\u8A08\u7B97\u6298\u50F9\u767C\u884C\u7684\uFF08\u4E0D\u5E36\u606F\uFF09\u50B5\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002",p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002"},{name:"pr",detail:"\u6709\u50F9\u8B49\u5238\u7684\u50F9\u683C\u3002"},{name:"redemption",detail:"\u6709\u50F9\u8B49\u5238\u7684\u6E05\u511F\u50F9\u503C\u3002"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
  699. 0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
  700. 1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  701. 2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
  702. 3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
  703. 4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`}]},NOMINAL:{d:"\u57FA\u65BC\u7D66\u5B9A\u7684\u5BE6\u969B\u5229\u7387\u548C\u5E74\u8907\u5229\u671F\u6578,\u8FD4\u56DE\u540D\u7FA9\u5E74\u5229\u7387\u3002",a:"\u57FA\u65BC\u7D66\u5B9A\u7684\u5BE6\u969B\u5229\u7387\u548C\u5E74\u8907\u5229\u671F\u6578,\u8FD4\u56DE\u540D\u7FA9\u5E74\u5229\u7387\u3002",p:[{name:"effect_rate",detail:"\u6BCF\u5E74\u7684\u5BE6\u969B\u5229\u7387\u3002"},{name:"npery",detail:"\u6BCF\u5E74\u7684\u8907\u5229\u671F\u6578\u3002"}]},XIRR:{d:"\u8FD4\u56DE\u4E00\u7D44\u4E0D\u4E00\u5B9A\u5B9A\u671F\u767C\u751F\u7684\u73FE\u91D1\u6D41\u7684\u5167\u90E8\u6536\u76CA\u7387\u3002",a:"\u8FD4\u56DE\u4E00\u7D44\u4E0D\u4E00\u5B9A\u5B9A\u671F\u767C\u751F\u7684\u73FE\u91D1\u6D41\u7684\u5167\u90E8\u6536\u76CA\u7387\u3002",p:[{name:"values",detail:`\u5176\u4E2D\u542B\u6709\u6295\u8CC7\u76F8\u95DC\u6536\u76CA\u6216\u652F\u51FA\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002
  704. \u73FE\u91D1\u6D41\u6578\u984D\u4E2D\u5FC5\u9808\u81F3\u5C11\u5305\u542B\u4E00\u9805\u8CA0\u7684\u548C\u4E00\u9805\u6B63\u7684\u73FE\u91D1\u6D41\u91D1\u984D\u624D\u80FD\u8A08\u7B97\u56DE\u5831\u7387\u3002`},{name:"dates",detail:"\u8207\u73FE\u91D1\u6D41\u6578\u984D\u53C3\u6578\u4E2D\u7684\u73FE\u91D1\u6D41\u5C0D\u61C9\u7684\u65E5\u671F\u6578\u7D44\u6216\u7BC4\u570D\u3002"},{name:"guess",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0.1] - \u5C0D\u5167\u90E8\u56DE\u5831\u7387\u7684\u4F30\u7B97\u503C\u3002"}]},MIRR:{d:"\u8FD4\u56DE\u4E00\u7CFB\u5217\u5B9A\u671F\u73FE\u91D1\u6D41\u7684\u4FEE\u6539\u5F8C\u5167\u90E8\u6536\u76CA\u7387\u3002",a:"\u8FD4\u56DE\u4E00\u7CFB\u5217\u5B9A\u671F\u73FE\u91D1\u6D41\u7684\u4FEE\u6539\u5F8C\u5167\u90E8\u6536\u76CA\u7387\u3002",p:[{name:"values",detail:`\u5176\u4E2D\u542B\u6709\u6295\u8CC7\u76F8\u95DC\u6536\u76CA\u6216\u652F\u51FA\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002
  705. \u73FE\u91D1\u6D41\u6578\u984D\u4E2D\u5FC5\u9808\u81F3\u5C11\u5305\u542B\u4E00\u9805\u8CA0\u7684\u548C\u4E00\u9805\u6B63\u7684\u73FE\u91D1\u6D41\u91D1\u984D\u624D\u80FD\u8A08\u7B97\u56DE\u5831\u7387\u3002`},{name:"finance_rate",detail:"\u73FE\u91D1\u6D41\u4E2D\u4F7F\u7528\u7684\u8CC7\u91D1\u652F\u4ED8\u7684\u5229\u7387\u3002"},{name:"reinvest_rate",detail:"\u5C07\u73FE\u91D1\u6D41\u518D\u6295\u8CC7\u7684\u6536\u76CA\u7387\u3002"}]},IRR:{d:"\u8FD4\u56DE\u7531\u503C\u4E2D\u7684\u6578\u4F4D\u8868\u793A\u7684\u4E00\u7CFB\u5217\u73FE\u91D1\u6D41\u7684\u5167\u90E8\u6536\u76CA\u7387\u3002 ",a:"\u8FD4\u56DE\u7531\u503C\u4E2D\u7684\u6578\u4F4D\u8868\u793A\u7684\u4E00\u7CFB\u5217\u73FE\u91D1\u6D41\u7684\u5167\u90E8\u6536\u76CA\u7387\u3002 ",p:[{name:"values",detail:`\u5176\u4E2D\u542B\u6709\u6295\u8CC7\u76F8\u95DC\u6536\u76CA\u6216\u652F\u51FA\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002
  706. \u73FE\u91D1\u6D41\u6578\u984D\u4E2D\u5FC5\u9808\u81F3\u5C11\u5305\u542B\u4E00\u9805\u8CA0\u7684\u548C\u4E00\u9805\u6B63\u7684\u73FE\u91D1\u6D41\u91D1\u984D\u624D\u80FD\u8A08\u7B97\u56DE\u5831\u7387\u3002`},{name:"guess",detail:"[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0.1] - \u5167\u90E8\u6536\u76CA\u7387\u7684\u4F30\u503C\u3002"}]},NPV:{d:"\u4F7F\u7528\u8CBC\u73FE\u7387\u548C\u4E00\u7CFB\u5217\u672A\u4F86\u652F\u51FA\uFF08\u8CA0\u503C\uFF09\u548C\u6536\u76CA\uFF08\u6B63\u503C\uFF09\u4F86\u8A08\u7B97\u4E00\u9805\u6295\u8CC7\u7684\u6DE8\u73FE\u503C\u3002",a:"\u4F7F\u7528\u8CBC\u73FE\u7387\u548C\u4E00\u7CFB\u5217\u672A\u4F86\u652F\u51FA\uFF08\u8CA0\u503C\uFF09\u548C\u6536\u76CA\uFF08\u6B63\u503C\uFF09\u4F86\u8A08\u7B97\u4E00\u9805\u6295\u8CC7\u7684\u6DE8\u73FE\u503C\u3002",p:[{name:"rate",detail:"\u67D0\u4E00\u671F\u9593\u7684\u8CBC\u73FE\u7387\u3002"},{name:"value1",detail:"\u7B2C\u4E00\u7B46\u652F\u51FA\uFF08\u8CA0\u503C\uFF09\u548C\u6536\u76CA\uFF08\u6B63\u503C\uFF09\u3002"},{name:"value2, ...",detail:"[\u53EF\u9078] - \u5176\u4ED6\u652F\u51FA\uFF08\u8CA0\u503C\uFF09\u548C\u6536\u76CA\uFF08\u6B63\u503C\uFF09\u3002"}]},XNPV:{d:"\u8FD4\u56DE\u4E00\u7D44\u73FE\u91D1\u6D41\u7684\u6DE8\u73FE\u503C,\u9019\u4E9B\u73FE\u91D1\u6D41\u4E0D\u4E00\u5B9A\u5B9A\u671F\u767C\u751F\u3002",a:"\u8FD4\u56DE\u4E00\u7D44\u73FE\u91D1\u6D41\u7684\u6DE8\u73FE\u503C,\u9019\u4E9B\u73FE\u91D1\u6D41\u4E0D\u4E00\u5B9A\u5B9A\u671F\u767C\u751F\u3002",p:[{name:"rate",detail:"\u61C9\u7528\u65BC\u73FE\u91D1\u6D41\u7684\u8CBC\u73FE\u7387\u3002"},{name:"values",detail:"\u8207dates\u4E2D\u7684\u652F\u4ED8\u6642\u9593\u76F8\u5C0D\u61C9\u7684\u4E00\u7CFB\u5217\u73FE\u91D1\u6D41\u3002"},{name:"dates",detail:"\u8207\u73FE\u91D1\u6D41\u652F\u4ED8\u76F8\u5C0D\u61C9\u7684\u652F\u4ED8\u65E5\u671F\u9336\u3002"}]},CUMIPMT:{d:"\u57FA\u65BC\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387,\u8A08\u7B97\u6295\u8CC7\u5728\u4E00\u7CFB\u5217\u4ED8\u6B3E\u671F\u5167\u7684\u7D2F\u8A08\u5229\u606F\u3002",a:"\u57FA\u65BC\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387,\u8A08\u7B97\u6295\u8CC7\u5728\u4E00\u7CFB\u5217\u4ED8\u6B3E\u671F\u5167\u7684\u7D2F\u8A08\u5229\u606F\u3002",p:[{name:"rate",detail:"\u5229\u606F\u7387\u3002"},{name:"nper",detail:"\u7E3D\u4ED8\u6B3E\u671F\u6578\u3002"},{name:"pv",detail:"\u73FE\u503C\u3002"},{name:"start_period",detail:`\u958B\u59CB\u7D2F\u8A08\u8A08\u7B97\u7684\u4ED8\u6B3E\u671F\u5E8F\u865F\u3002
  707. \u9996\u671F\u5FC5\u9808\u5927\u65BC\u7B49\u65BC1\u3002`},{name:"end_period",detail:`\u7D50\u675F\u7D2F\u8A08\u8A08\u7B97\u7684\u4ED8\u6B3E\u671F\u5E8F\u865F\u3002
  708. \u672B\u671F\u5FC5\u9808\u5927\u65BC\u9996\u671F\u3002`},{name:"type",detail:`\u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u6642\u9593\u662F\u5728\u671F\u521D\u9084\u662F\u671F\u672B\u3002
  709. 0\u8868\u793A\u671F\u672B\uFF1B
  710. 1\u8868\u793A\u671F\u521D\u3002`}]},PMT:{d:"\u7528\u65BC\u6839\u64DA\u56FA\u5B9A\u4ED8\u6B3E\u984D\u548C\u56FA\u5B9A\u5229\u7387\u8A08\u7B97\u8CB8\u6B3E\u7684\u4ED8\u6B3E\u984D\u3002",a:"\u7528\u65BC\u6839\u64DA\u56FA\u5B9A\u4ED8\u6B3E\u984D\u548C\u56FA\u5B9A\u5229\u7387\u8A08\u7B97\u8CB8\u6B3E\u7684\u4ED8\u6B3E\u984D\u3002",p:[{name:"rate",detail:"\u8CB8\u6B3E\u5229\u7387\u3002"},{name:"nper",detail:"\u8A72\u9805\u8CB8\u6B3E\u7684\u4ED8\u6B3E\u7E3D\u6578\u3002"},{name:"pv",detail:"\u73FE\u503C,\u6216\u4E00\u7CFB\u5217\u672A\u4F86\u4ED8\u6B3E\u984D\u73FE\u5728\u6240\u503C\u7684\u7E3D\u984D,\u4E5F\u53EB\u672C\u91D1\u3002"},{name:"fv",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u672A\u4F86\u503C,\u6216\u5728\u6700\u5F8C\u4E00\u6B21\u4ED8\u6B3E\u5F8C\u5E0C\u671B\u5F97\u5230\u7684\u73FE\u91D1\u9918\u984D\u3002"},{name:"type",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u6642\u9593\u662F\u5728\u671F\u521D\u9084\u662F\u671F\u672B\u3002
  711. 0\u8868\u793A\u671F\u672B\uFF1B
  712. 1\u8868\u793A\u671F\u521D\u3002`}]},IPMT:{d:"\u57FA\u65BC\u56FA\u5B9A\u5229\u7387\u53CA\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u7BA1\u9053,\u8FD4\u56DE\u7D66\u5B9A\u671F\u6578\u5167\u5C0D\u6295\u8CC7\u7684\u5229\u606F\u511F\u9084\u984D\u3002",a:"\u57FA\u65BC\u56FA\u5B9A\u5229\u7387\u53CA\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u7BA1\u9053,\u8FD4\u56DE\u7D66\u5B9A\u671F\u6578\u5167\u5C0D\u6295\u8CC7\u7684\u5229\u606F\u511F\u9084\u984D\u3002",p:[{name:"rate",detail:"\u5404\u671F\u5229\u7387\u3002"},{name:"per",detail:"\u7528\u65BC\u8A08\u7B97\u5176\u5229\u606F\u6578\u984D\u7684\u671F\u6578,\u5FC5\u9808\u57281\u5230nper\u4E4B\u9593\u3002"},{name:"nper",detail:"\u5E74\u91D1\u7684\u4ED8\u6B3E\u7E3D\u671F\u6578\u3002"},{name:"pv",detail:"\u73FE\u503C,\u6216\u4E00\u7CFB\u5217\u672A\u4F86\u4ED8\u6B3E\u7684\u7576\u524D\u503C\u7684\u7D2F\u7A4D\u548C\u3002"},{name:"fv",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u672A\u4F86\u503C,\u6216\u5728\u6700\u5F8C\u4E00\u6B21\u4ED8\u6B3E\u5F8C\u5E0C\u671B\u5F97\u5230\u7684\u73FE\u91D1\u9918\u984D\u3002"},{name:"type",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u6642\u9593\u662F\u5728\u671F\u521D\u9084\u662F\u671F\u672B\u3002
  713. 0\u8868\u793A\u671F\u672B\uFF1B
  714. 1\u8868\u793A\u671F\u521D\u3002`}]},PPMT:{d:"\u8FD4\u56DE\u6839\u64DA\u5B9A\u671F\u56FA\u5B9A\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\u800C\u5B9A\u7684\u6295\u8CC7\u5728\u5DF2\u77E5\u671F\u9593\u5167\u7684\u672C\u91D1\u511F\u4ED8\u984D\u3002",a:"\u8FD4\u56DE\u6839\u64DA\u5B9A\u671F\u56FA\u5B9A\u4ED8\u6B3E\u548C\u56FA\u5B9A\u5229\u7387\u800C\u5B9A\u7684\u6295\u8CC7\u5728\u5DF2\u77E5\u671F\u9593\u5167\u7684\u672C\u91D1\u511F\u4ED8\u984D\u3002",p:[{name:"rate",detail:"\u5404\u671F\u5229\u7387\u3002"},{name:"per",detail:"\u6307\u5B9A\u671F\u6578,\u8A72\u503C\u5FC5\u9808\u5728 1 \u5230 nper \u7BC4\u570D\u5167\u3002"},{name:"nper",detail:"\u5E74\u91D1\u7684\u4ED8\u6B3E\u7E3D\u671F\u6578\u3002"},{name:"pv",detail:"\u73FE\u503C\u5373\u4E00\u7CFB\u5217\u672A\u4F86\u4ED8\u6B3E\u7576\u524D\u503C\u7684\u7E3D\u548C\u3002"},{name:"fv",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u672A\u4F86\u503C,\u6216\u5728\u6700\u5F8C\u4E00\u6B21\u4ED8\u6B3E\u5F8C\u5E0C\u671B\u5F97\u5230\u7684\u73FE\u91D1\u9918\u984D\u3002"},{name:"type",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u6642\u9593\u662F\u5728\u671F\u521D\u9084\u662F\u671F\u672B\u3002
  715. 0\u8868\u793A\u671F\u672B\uFF1B
  716. 1\u8868\u793A\u671F\u521D\u3002`}]},INTRATE:{d:"\u8FD4\u56DE\u5B8C\u5168\u6295\u8CC7\u578B\u8B49\u5238\u7684\u5229\u7387\u3002",a:"\u8FD4\u56DE\u5B8C\u5168\u6295\u8CC7\u578B\u8B49\u5238\u7684\u5229\u7387\u3002",p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002"},{name:"investment",detail:"\u6709\u50F9\u8B49\u5238\u7684\u6295\u8CC7\u984D\u3002"},{name:"redemption",detail:"\u6709\u50F9\u8B49\u5238\u5230\u671F\u6642\u7684\u514C\u63DB\u503C\u3002"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
  717. 0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
  718. 1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  719. 2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
  720. 3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
  721. 4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`}]},PRICE:{d:"\u8FD4\u56DE\u5B9A\u671F\u4ED8\u606F\u7684\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684\u50F9\u683C\u3002",a:"\u8FD4\u56DE\u5B9A\u671F\u4ED8\u606F\u7684\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684\u50F9\u683C\u3002",p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002"},{name:"rate",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002"},{name:"yld",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002"},{name:"redemption",detail:"\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684\u6E05\u511F\u50F9\u503C\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
  722. \u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
  723. \u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
  724. \u6309\u5B63\u652F\u4ED8,frequency = 4\u3002`},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
  725. 0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
  726. 1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  727. 2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
  728. 3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
  729. 4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`}]},PRICEDISC:{d:"\u8FD4\u56DE\u6298\u50F9\u767C\u884C\u7684\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684\u50F9\u683C\u3002",a:"\u8FD4\u56DE\u6298\u50F9\u767C\u884C\u7684\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684\u50F9\u683C\u3002",p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002"},{name:"discount",detail:"\u6709\u4EF7\u8BC1\u5238\u7684\u8D34\u73B0\u7387\u3002"},{name:"redemption",detail:"\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684\u6E05\u511F\u50F9\u503C\u3002"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
  730. 0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
  731. 1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  732. 2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
  733. 3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
  734. 4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`}]},PRICEMAT:{d:"\u8FD4\u56DE\u5230\u671F\u4ED8\u606F\u7684\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684\u50F9\u683C\u3002",a:"\u8FD4\u56DE\u5230\u671F\u4ED8\u606F\u7684\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684\u50F9\u683C\u3002",p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002"},{name:"issue",detail:"\u6709\u50F9\u8B49\u5238\u7684\u767C\u884C\u65E5\u3002"},{name:"rate",detail:"\u6709\u50F9\u8B49\u5238\u5728\u767C\u884C\u65E5\u7684\u5229\u7387\u3002"},{name:"yld",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
  735. 0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
  736. 1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  737. 2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
  738. 3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
  739. 4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`}]},RECEIVED:{d:"\u8FD4\u56DE\u4E00\u6B21\u6027\u4ED8\u606F\u7684\u6709\u50F9\u8B49\u5238\u5230\u671F\u6536\u56DE\u7684\u91D1\u984D\u3002",a:"\u8FD4\u56DE\u4E00\u6B21\u6027\u4ED8\u606F\u7684\u6709\u50F9\u8B49\u5238\u5230\u671F\u6536\u56DE\u7684\u91D1\u984D\u3002",p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002"},{name:"investment",detail:"\u6709\u50F9\u8B49\u5238\u7684\u6295\u8CC7\u984D\u3002"},{name:"discount",detail:"\u6709\u50F9\u8B49\u5238\u7684\u8CBC\u73FE\u7387\u3002"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
  740. 0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
  741. 1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  742. 2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
  743. 3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
  744. 4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`}]},DISC:{d:"\u8FD4\u56DE\u6709\u50F9\u8B49\u5238\u7684\u8CBC\u73FE\u7387\u3002",a:"\u8FD4\u56DE\u6709\u50F9\u8B49\u5238\u7684\u8CBC\u73FE\u7387\u3002",p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002"},{name:"pr",detail:"\u6709\u50F9\u8B49\u5238\u7684\u50F9\u683C\uFF08\u6309\u9762\u503C\u70BA\uFFE5100\u8A08\u7B97\uFF09\u3002"},{name:"redemption",detail:"\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684\u6E05\u511F\u50F9\u503C\u3002"},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
  745. 0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
  746. 1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  747. 2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
  748. 3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
  749. 4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`}]},NPER:{d:"\u57FA\u65BC\u56FA\u5B9A\u5229\u7387\u53CA\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u7BA1\u9053,\u8FD4\u56DE\u67D0\u9805\u6295\u8CC7\u7684\u7E3D\u671F\u6578\u3002",a:"\u57FA\u65BC\u56FA\u5B9A\u5229\u7387\u53CA\u7B49\u984D\u5206\u671F\u4ED8\u6B3E\u7BA1\u9053,\u8FD4\u56DE\u67D0\u9805\u6295\u8CC7\u7684\u7E3D\u671F\u6578\u3002",p:[{name:"rate",detail:"\u5404\u671F\u5229\u7387\u3002"},{name:"pmt",detail:"\u5404\u671F\u6240\u61C9\u652F\u4ED8\u7684\u91D1\u984D,\u5728\u6574\u500B\u5E74\u91D1\u671F\u9593\u4FDD\u6301\u4E0D\u8B8A\u3002"},{name:"pv",detail:"\u73FE\u503C,\u6216\u4E00\u7CFB\u5217\u672A\u4F86\u4ED8\u6B3E\u7684\u7576\u524D\u503C\u7684\u7D2F\u7A4D\u548C\u3002"},{name:"fv",detail:"[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u672A\u4F86\u503C,\u6216\u5728\u6700\u5F8C\u4E00\u6B21\u4ED8\u6B3E\u5F8C\u5E0C\u671B\u5F97\u5230\u7684\u73FE\u91D1\u9918\u984D\u3002"},{name:"type",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BA0] - \u6307\u5B9A\u5404\u671F\u7684\u4ED8\u6B3E\u6642\u9593\u662F\u5728\u671F\u521D\u9084\u662F\u671F\u672B\u3002
  750. 0\u8868\u793A\u671F\u672B\uFF1B
  751. 1\u8868\u793A\u671F\u521D\u3002`}]},SLN:{d:"\u8FD4\u56DE\u4E00\u500B\u671F\u9593\u5167\u7684\u8CC7\u7522\u7684\u76F4\u7DDA\u6298\u820A\u3002",a:"\u8FD4\u56DE\u4E00\u500B\u671F\u9593\u5167\u7684\u8CC7\u7522\u7684\u76F4\u7DDA\u6298\u820A\u3002",p:[{name:"cost",detail:"\u8CC7\u7522\u539F\u503C\u3002"},{name:"salvage",detail:"\u6298\u820A\u672B\u5C3E\u6642\u7684\u503C\uFF08\u6709\u6642\u4E5F\u7A31\u70BA\u8CC7\u7522\u6B98\u503C\uFF09\u3002"},{name:"life",detail:"\u8CC7\u7522\u7684\u6298\u820A\u671F\u6578\uFF08\u6709\u6642\u4E5F\u7A31\u4F5C\u8CC7\u7522\u7684\u4F7F\u7528\u58FD\u547D\uFF09\u3002"}]},DURATION:{d:"\u8FD4\u56DE\u5047\u8A2D\u9762\u503C\uFFE5100\u7684\u5B9A\u671F\u4ED8\u606F\u6709\u50F9\u8B49\u5238\u7684\u4FEE\u6B63\u671F\u9650\u3002",a:"\u8FD4\u56DE\u5047\u8A2D\u9762\u503C\uFFE5100\u7684\u5B9A\u671F\u4ED8\u606F\u6709\u50F9\u8B49\u5238\u7684\u4FEE\u6B63\u671F\u9650\u3002",p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002"},{name:"coupon",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002"},{name:"yld",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
  752. \u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
  753. \u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
  754. \u6309\u5B63\u652F\u4ED8,frequency = 4\u3002`},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
  755. 0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
  756. 1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  757. 2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
  758. 3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
  759. 4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`}]},MDURATION:{d:"\u8FD4\u56DE\u5047\u8A2D\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684Macauley\u4FEE\u6B63\u671F\u9650\u3002",a:"\u8FD4\u56DE\u5047\u8A2D\u9762\u503C\uFFE5100\u7684\u6709\u50F9\u8B49\u5238\u7684Macauley\u4FEE\u6B63\u671F\u9650\u3002",p:[{name:"settlement",detail:"\u6709\u50F9\u8B49\u5238\u7684\u7D50\u7B97\u65E5\u3002\u6709\u50F9\u8B49\u5238\u7D50\u7B97\u65E5\u662F\u5728\u767C\u884C\u65E5\u4E4B\u5F8C,\u6709\u50F9\u8B49\u5238\u8CE3\u7D66\u8CFC\u8CB7\u8005\u7684\u65E5\u671F\u3002"},{name:"maturity",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5230\u671F\u65E5\u3002\u5230\u671F\u65E5\u662F\u6709\u50F9\u8B49\u5238\u6709\u6548\u671F\u622A\u6B62\u6642\u7684\u65E5\u671F\u3002"},{name:"coupon",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5E74\u606F\u7968\u5229\u7387\u3002"},{name:"yld",detail:"\u6709\u50F9\u8B49\u5238\u7684\u5E74\u6536\u76CA\u7387\u3002"},{name:"frequency",detail:`\u5E74\u4ED8\u606F\u6B21\u6578\u3002
  760. \u5982\u679C\u6309\u5E74\u652F\u4ED8,frequency = 1\uFF1B
  761. \u6309\u534A\u5E74\u671F\u652F\u4ED8,frequency = 2\uFF1B
  762. \u6309\u5B63\u652F\u4ED8,frequency = 4\u3002`},{name:"basis",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u8A13\u793A\u8981\u4F7F\u7528\u54EA\u7A2E\u5929\u6578\u8A08\u7B97\u65B9\u6CD5\u3002
  763. 0\u8868\u793A"\u7F8E\u570B\uFF08NASD\uFF0930/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u6309\u7167\u7F8E\u570B\u5168\u570B\u8B49\u5238\u4EA4\u6613\u5546\u5354\u6703\u6A19\u6E96,\u5047\u8A2D\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929,\u4E26\u5C0D\u6240\u8F38\u5165\u7684\u6708\u672B\u65E5\u671F\u9032\u884C\u5177\u9AD4\u8ABF\u6574\u3002
  764. 1\u8868\u793A"\u5BE6\u969B/\u5BE6\u969B"\u65B9\u6CD5-\u6B64\u65B9\u6CD5\u8A08\u7B97\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u548C\u6240\u6D89\u53CA\u7684\u5E74\u4EFD\u4E2D\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97\u3002\u6B64\u65B9\u6CD5\u7528\u65BC\u7F8E\u570B\u9577\u671F\u50B5\u5238,\u4E5F\u662F\u5728\u975E\u8CA1\u7D93\u7528\u9014\u65B9\u9762\u4F7F\u7528\u6700\u591A\u7684\u65B9\u6CD5\u3002
  765. 2\u8868\u793A"\u5BE6\u969B/360"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97, \u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA360\u5929\u3002
  766. 3\u8868\u793A"\u5BE6\u969B/365"\u65B9\u6CD5 - \u6B64\u65B9\u6CD5\u57FA\u65BC\u6307\u5B9A\u65E5\u671F\u4E4B\u9593\u7684\u5BE6\u969B\u5929\u6578\u9032\u884C\u8A08\u7B97,\u4F46\u5047\u5B9A\u6BCF\u5E74\u70BA365\u5929\u3002
  767. 4\u8868\u793A"\u6B50\u6D3230 / 360"\u65B9\u6CD5-\u985E\u4F3C\u65BC0,\u6B64\u65B9\u6CD5\u57FA\u65BC\u6BCF\u670830\u5929\u3001\u6BCF\u5E74360\u5929\u9032\u884C\u8A08\u7B97,\u4F46\u6309\u7167\u6B50\u6D32\u91D1\u878D\u6163\u4F8B\u5C0D\u6708\u672B\u65E5\u671F\u9032\u884C\u8ABF\u6574\u3002`}]},BIN2DEC:{d:"\u5C07\u4E8C\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u5341\u9032\u4F4D\u6578\u3002",a:"\u5C07\u4E8C\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u5341\u9032\u4F4D\u6578\u3002",p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5341\u9032\u4F4D\u6578\u7684\u5E36\u7B26\u865F\u768410\u4F4D\u4E8C\u9032\u4F4D\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  768. \u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u865F\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8AAA,\u8CA0\u6578\u662F\u4EE5\u4E8C\u7684\u88DC\u6578\u5F62\u5F0F\u8868\u793A\u7684\u3002
  769. \u5C0D\u65BC\u6B64\u51FD\u6578,\u6700\u5927\u7684\u6B63\u6578\u8F38\u5165\u503C\u70BA0111111111,\u6700\u5C0F\u7684\u8CA0\u6578\u8F38\u5165\u503C\u70BA1000000000\u3002
  770. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u662F\u6709\u6548\u7684\u4E8C\u9032\u4F4D\u6578,\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,BIN2DEC\uFF08100\uFF09\u548CBIN2DEC\uFF08"100"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA4\u3002`}]},BIN2HEX:{d:"\u5C07\u4E8C\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u5341\u516D\u9032\u4F4D\u6578\u3002",a:"\u5C07\u4E8C\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u5341\u516D\u9032\u4F4D\u6578\u3002",p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u7684\u5E36\u7B26\u865F\u768410\u4F4D\u4E8C\u9032\u4F4D\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  771. \u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u865F\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8AAA,\u8CA0\u6578\u662F\u4EE5\u4E8C\u7684\u88DC\u6578\u5F62\u5F0F\u8868\u793A\u7684\u3002
  772. \u5C0D\u65BC\u6B64\u51FD\u6578,\u6700\u5927\u7684\u6B63\u6578\u8F38\u5165\u503C\u70BA0111111111,\u6700\u5C0F\u7684\u8CA0\u6578\u8F38\u5165\u503C\u70BA1000000000\u3002
  773. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u662F\u6709\u6548\u7684\u4E8C\u9032\u4F4D\u6578,\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,BIN2HEX\uFF0811111\uFF09\u548CBIN2HEX\uFF08"11111"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA1F\u3002`},{name:"places",detail:`[ \u53EF\u9078 ] -\u7D50\u679C\u4E2D\u8981\u78BA\u4FDD\u7684\u6709\u6548\u4F4D\u6578\u3002
  774. \u5982\u679C\u8A2D\u5B9A\u7684\u6709\u6548\u4F4D\u6578\u5927\u65BC\u7D50\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6578,\u5247\u5728\u7D50\u679C\u7684\u5DE6\u5074\u586B\u51450,\u4F7F\u7E3D\u6709\u6548\u4F4D\u6578\u9054\u5230\u6709\u6548\u4F4D\u6578\u3002\u4F8B\u5982,BIN2HEX\uFF08"11111",8\uFF09\u6240\u5F97\u7684\u7D50\u679C\u503C\u70BA0000001F\u3002
  775. \u5982\u679C\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u7684\u6700\u9AD8\u4F4D\u70BA1,\u5247\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u7576\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u5927\u65BC\u7B49\u65BC1000000000\u6642\u5FFD\u7565\u6B64\u503C\u3002`}]},BIN2OCT:{d:"\u4E8C\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u516B\u9032\u5236\u6578\u3002",a:"\u4E8C\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u516B\u9032\u5236\u6578\u3002",p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u7684\u5E36\u7B26\u865F\u768410\u4F4D\u4E8C\u9032\u4F4D\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  776. \u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u865F\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8AAA,\u8CA0\u6578\u662F\u4EE5\u4E8C\u7684\u88DC\u6578\u5F62\u5F0F\u8868\u793A\u7684\u3002
  777. \u5C0D\u65BC\u6B64\u51FD\u6578,\u6700\u5927\u7684\u6B63\u6578\u8F38\u5165\u503C\u70BA0111111111,\u6700\u5C0F\u7684\u8CA0\u6578\u8F38\u5165\u503C\u70BA1000000000\u3002
  778. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u662F\u6709\u6548\u7684\u4E8C\u9032\u4F4D\u6578,\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,BIN2OCT\uFF0811111\uFF09\u548CBIN2OCT\uFF08"11111"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA37\u3002`},{name:"places",detail:`[ \u53EF\u9078 ] - \u7D50\u679C\u4E2D\u8981\u78BA\u4FDD\u7684\u6709\u6548\u4F4D\u6578\u3002
  779. \u5982\u679C\u8A2D\u5B9A\u7684\u6709\u6548\u4F4D\u6578\u5927\u65BC\u7D50\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6578,\u5247\u5728\u7D50\u679C\u7684\u5DE6\u5074\u586B\u51450,\u4F7F\u7E3D\u6709\u6548\u4F4D\u6578\u9054\u5230\u6709\u6548\u4F4D\u6578\u3002\u4F8B\u5982,BIN2OCT\uFF08"11111"\uFF09\u5F97\u5230\u7684\u7D50\u679C\u503C\u70BA00000037\u3002
  780. \u5982\u679C\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u7684\u6700\u9AD8\u4F4D\u70BA1,\u5247\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u7576\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u5927\u65BC\u7B49\u65BC1000000000\u6642\u5FFD\u7565\u6B64\u503C\u3002`}]},DEC2BIN:{d:"\u5C07\u5341\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u4E8C\u9032\u4F4D\u6578\u3002",a:"\u5C07\u5341\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u4E8C\u9032\u4F4D\u6578\u3002",p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u7684\u5341\u9032\u4F4D\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  781. \u5C0D\u65BC\u6B64\u51FD\u6578,\u6700\u5927\u7684\u6B63\u6578\u8F38\u5165\u503C\u70BA511,\u6700\u5C0F\u7684\u8CA0\u6578\u8F38\u5165\u503C\u70BA-512\u3002
  782. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5341\u9032\u4F4D\u6578\u662F\u6709\u6548\u7684\u5341\u9032\u4F4D\u6578,\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,DEC2BIN\uFF08199\uFF09\u548CDEC2BIN\uFF08"199"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA11000111\u3002`},{name:"places",detail:`[ \u53EF\u9078 ] - \u7D50\u679C\u4E2D\u8981\u78BA\u4FDD\u7684\u6709\u6548\u4F4D\u6578\u3002
  783. \u5982\u679C\u8A2D\u5B9A\u7684\u6709\u6548\u4F4D\u6578\u5927\u65BC\u7D50\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6578,\u5247\u5728\u7D50\u679C\u7684\u5DE6\u5074\u586B\u51450,\u4F7F\u7E3D\u6709\u6548\u4F4D\u6578\u9054\u5230\u6709\u6548\u4F4D\u6578\u3002
  784. \u5982\u679C\u5341\u9032\u4F4D\u6578\u70BA\u8CA0\u6578,\u5247\u5FFD\u7565\u6B64\u503C\u3002`}]},DEC2HEX:{d:"\u5C07\u5341\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u5341\u516D\u9032\u4F4D\u6578\u3002",a:"\u5C07\u5341\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u5341\u516D\u9032\u4F4D\u6578\u3002",p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u7684\u5341\u9032\u4F4D\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  785. \u6B64\u51FD\u6578\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6578\u503C\u70BA549755813887,\u6700\u5C0F\u8CA0\u6578\u503C\u70BA-549755814888\u3002
  786. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5341\u9032\u4F4D\u6578\u662F\u6709\u6548\u7684\u5341\u9032\u4F4D\u6578,\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,DEC2HEX\uFF08100\uFF09\u548CDEC2HEX\uFF08"100"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA64\u3002`},{name:"places",detail:`[ \u53EF\u9078 ] - \u7D50\u679C\u4E2D\u8981\u78BA\u4FDD\u7684\u6709\u6548\u4F4D\u6578\u3002
  787. \u5982\u679C\u8A2D\u5B9A\u7684\u6709\u6548\u4F4D\u6578\u5927\u65BC\u7D50\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6578,\u5247\u5728\u7D50\u679C\u7684\u5DE6\u5074\u586B\u51450,\u4F7F\u7E3D\u6709\u6548\u4F4D\u6578\u9054\u5230\u6709\u6548\u4F4D\u6578\u3002
  788. \u5982\u679C\u5341\u9032\u4F4D\u6578\u70BA\u8CA0\u6578,\u5247\u5FFD\u7565\u6B64\u503C\u3002`}]},DEC2OCT:{d:"\u5C07\u5341\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u516B\u9032\u5236\u6578\u3002",a:"\u5C07\u5341\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u516B\u9032\u5236\u6578\u3002",p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u7684\u5341\u9032\u4F4D\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  789. \u6B64\u51FD\u6578\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6578\u503C\u70BA536870911,\u6700\u5C0F\u8CA0\u6578\u503C\u70BA-53687092\u3002
  790. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5341\u9032\u4F4D\u6578\u662F\u6709\u6548\u7684\u5341\u9032\u4F4D\u6578,\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,DEC2OCT\uFF08199\uFF09\u548CDEC2OCT\uFF08"199"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA307\u3002`},{name:"places",detail:`[ \u53EF\u9078 ] -\u7D50\u679C\u4E2D\u8981\u78BA\u4FDD\u7684\u6709\u6548\u4F4D\u6578\u3002
  791. \u5982\u679C\u8A2D\u5B9A\u7684\u6709\u6548\u4F4D\u6578\u5927\u65BC\u7D50\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6578,\u5247\u5728\u7D50\u679C\u7684\u5DE6\u5074\u586B\u51450,\u4F7F\u7E3D\u6709\u6548\u4F4D\u6578\u9054\u5230\u6709\u6548\u4F4D\u6578\u3002
  792. \u5982\u679C\u5341\u9032\u4F4D\u6578\u70BA\u8CA0\u6578,\u5247\u5FFD\u7565\u6B64\u503C \u3002`}]},HEX2BIN:{d:"\u5C07\u5341\u516D\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u4E8C\u9032\u4F4D\u6578\u3002",a:"\u5C07\u5341\u516D\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u4E8C\u9032\u4F4D\u6578\u3002",p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u7684\u5E36\u7B26\u865F\u768440\u4F4D\u5341\u516D\u9032\u4F4D\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  793. \u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u865F\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8AAA,\u8CA0\u6578\u662F\u4EE5\u4E8C\u7684\u88DC\u6578\u5F62\u5F0F\u8868\u793A\u7684\u3002
  794. \u6B64\u51FD\u6578\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6578\u503C\u70BA1FF,\u6700\u5C0F\u8CA0\u6578\u503C\u70BAFFFFFFFE00\u3002
  795. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u662F\u6709\u6548\u7684\u5341\u516D\u9032\u4F4D\u6578,\u51FD\u6578\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,HEX2BIN\uFF08199\uFF09\u548CHEX2BIN\uFF08"199"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA110011001\u3002`},{name:"places",detail:`[ \u53EF\u9078 ] - \u7D50\u679C\u4E2D\u8981\u78BA\u4FDD\u7684\u6709\u6548\u4F4D\u6578\u3002
  796. \u5982\u679C\u8A2D\u5B9A\u7684\u6709\u6548\u4F4D\u6578\u5927\u65BC\u7D50\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6578,\u5247\u5728\u7D50\u679C\u7684\u5DE6\u5074\u586B\u51450,\u4F7F\u7E3D\u6709\u6548\u4F4D\u6578\u9054\u5230\u6709\u6548\u4F4D\u6578\u3002
  797. \u5982\u679C\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u7684\u6700\u9AD8\u4F4D\u70BA1,\u5247\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u7576\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u5927\u65BC\u7B49\u65BC8000000000\u6642\u5FFD\u7565\u6B64\u503C\u3002`}]},HEX2DEC:{d:"\u5C07\u5341\u516D\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u5341\u9032\u4F4D\u6578\u3002",a:"\u5C07\u5341\u516D\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u5341\u9032\u4F4D\u6578\u3002",p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5341\u9032\u4F4D\u6578\u7684\u5E36\u7B26\u865F\u768440\u4F4D\u5341\u516D\u9032\u4F4D\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  798. \u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u865F\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8AAA,\u8CA0\u6578\u662F\u4EE5\u4E8C\u7684\u88DC\u6578\u5F62\u5F0F\u8868\u793A\u7684\u3002
  799. \u6B64\u51FD\u6578\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6578\u503C\u70BA7fffffffff,\u6700\u5C0F\u8CA0\u6578\u503C\u70BA8000000000\u3002
  800. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u662F\u6709\u6548\u7684\u5341\u516D\u9032\u4F4D\u6578,\u51FD\u6578\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,HEX2DEC\uFF08199\uFF09\u548CHEX2DEC\uFF08"199"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA409 \u3002`}]},HEX2OCT:{d:"\u5C07\u5341\u516D\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u516B\u9032\u5236\u6578\u3002",a:"\u5C07\u5341\u516D\u9032\u4F4D\u6578\u8F49\u63DB\u70BA\u516B\u9032\u5236\u6578\u3002",p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u7684\u5E36\u7B26\u865F\u768440\u4F4D\u5341\u516D\u9032\u4F4D\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  801. \u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u865F\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8AAA,\u8CA0\u6578\u662F\u4EE5\u4E8C\u7684\u88DC\u6578\u5F62\u5F0F\u8868\u793A\u7684\u3002
  802. \u6B64\u51FD\u6578\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6578\u503C\u70BA1FFFFFFF,\u6700\u5C0F\u8CA0\u6578\u503C\u70BAFFE0000000\u3002
  803. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u662F\u6709\u6548\u7684\u5341\u516D\u9032\u4F4D\u6578,\u51FD\u6578\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,HEX2OCT\uFF08199\uFF09\u548CHEX2OCT\uFF08"199"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA631\u3002`},{name:"places",detail:`[ \u53EF\u9078 ] - \u7D50\u679C\u4E2D\u8981\u78BA\u4FDD\u7684\u6709\u6548\u4F4D\u6578\u3002
  804. \u5982\u679C\u8A2D\u5B9A\u7684\u6709\u6548\u4F4D\u6578\u5927\u65BC\u7D50\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6578,\u5247\u5728\u7D50\u679C\u7684\u5DE6\u5074\u586B\u51450,\u4F7F\u7E3D\u6709\u6548\u4F4D\u6578\u9054\u5230\u6709\u6548\u4F4D\u6578\u3002
  805. \u5982\u679C\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u7684\u6700\u9AD8\u4F4D\u70BA1,\u5247\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u7576\u7D66\u5B9A\u7684\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u5927\u65BC\u7B49\u65BC8000000000\u6642\u5FFD\u7565\u6B64\u503C\u3002`}]},OCT2BIN:{d:"\u5C07\u516B\u9032\u5236\u6578\u8F49\u63DB\u70BA\u4E8C\u9032\u4F4D\u6578\u3002",a:"\u5C07\u516B\u9032\u5236\u6578\u8F49\u63DB\u70BA\u4E8C\u9032\u4F4D\u6578\u3002",p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5E36\u7B26\u865F\u7684\u4E8C\u9032\u4F4D\u6578\u7684\u5E36\u7B26\u865F\u768430\u4F4D\u516B\u9032\u5236\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  806. \u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u865F\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8AAA,\u8CA0\u6578\u662F\u4EE5\u4E8C\u7684\u88DC\u6578\u5F62\u5F0F\u8868\u793A\u7684\u3002
  807. \u6B64\u51FD\u6578\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6578\u503C\u70BA777,\u6700\u5C0F\u8CA0\u6578\u503C\u70BA7777777000\u3002
  808. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u662F\u6709\u6548\u7684\u516B\u9032\u5236\u6578,\u51FD\u6578\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,OCT2BIN\uFF08177\uFF09\u548COCT2BIN\uFF08"177"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA1111111\u3002`},{name:"places",detail:`[ \u53EF\u9078 ] - \u7D50\u679C\u4E2D\u8981\u78BA\u4FDD\u7684\u6709\u6548\u4F4D\u6578\u3002
  809. \u5982\u679C\u8A2D\u5B9A\u7684\u6709\u6548\u4F4D\u6578\u5927\u65BC\u7D50\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6578,\u5247\u5728\u7D50\u679C\u7684\u5DE6\u5074\u586B\u51450,\u4F7F\u7E3D\u6709\u6548\u4F4D\u6578\u9054\u5230\u6709\u6548\u4F4D\u6578\u3002
  810. \u5982\u679C\u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u7684\u6700\u9AD8\u4F4D\u70BA1,\u5247\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u7576\u7D66\u5B9A\u7684\u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u5927\u65BC\u7B49\u65BC4000000000\u6642\u5FFD\u7565\u6B64\u503C\u3002`}]},OCT2DEC:{d:"\u5C07\u516B\u9032\u5236\u6578\u8F49\u63DB\u70BA\u5341\u9032\u4F4D\u6578\u3002",a:"\u5C07\u516B\u9032\u5236\u6578\u8F49\u63DB\u70BA\u5341\u9032\u4F4D\u6578\u3002",p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5341\u9032\u4F4D\u6578\u7684\u5E36\u7B26\u865F\u768430\u4F4D\u516B\u9032\u5236\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  811. \u5E36\u7B26\u865F\u7684ba\u9032\u5236\u6578\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u865F\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8AAA,\u8CA0\u6578\u662F\u4EE5\u4E8C\u7684\u88DC\u6578\u5F62\u5F0F\u8868\u793A\u7684\u3002
  812. \u6B64\u51FD\u6578\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6578\u503C\u70BA3777777777,\u6700\u5C0F\u8CA0\u6578\u503C\u70BA4000000000\u3002
  813. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u662F\u6709\u6548\u7684\u516B\u9032\u5236\u6578,\u51FD\u6578\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,OCT2DEC\uFF08177\uFF09\u548COCT2DEC\uFF08"177"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA127\u3002`}]},OCT2HEX:{d:"\u5C07\u516B\u9032\u5236\u6578\u8F49\u63DB\u70BA\u5341\u516D\u9032\u4F4D\u6578\u3002",a:"\u5C07\u516B\u9032\u5236\u6578\u8F49\u63DB\u70BA\u5341\u516D\u9032\u4F4D\u6578\u3002",p:[{name:"number",detail:`\u8981\u8F49\u63DB\u70BA\u5E36\u7B26\u865F\u7684\u5341\u516D\u9032\u4F4D\u6578\u7684\u5E36\u7B26\u865F\u768430\u4F4D\u516B\u9032\u5236\u6578\u503C\uFF08\u4EE5\u5B57\u4E32\u5F62\u5F0F\u63D0\u4F9B\uFF09\u3002
  814. \u5E36\u7B26\u865F\u7684ba\u9032\u5236\u6578\u7684\u6700\u9AD8\u4F4D\u662F\u7B26\u865F\u4F4D\uFF1B\u4E5F\u5C31\u662F\u8AAA,\u8CA0\u6578\u662F\u4EE5\u4E8C\u7684\u88DC\u6578\u5F62\u5F0F\u8868\u793A\u7684\u3002
  815. \u6B64\u51FD\u6578\u53EF\u63A5\u53D7\u7684\u6700\u5927\u6B63\u6578\u503C\u70BA3777777777,\u6700\u5C0F\u8CA0\u6578\u503C\u70BA4000000000\u3002
  816. \u5982\u679C\u6240\u63D0\u4F9B\u7684\u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u662F\u6709\u6548\u7684\u516B\u9032\u5236\u6578,\u51FD\u6578\u6703\u81EA\u52D5\u5C07\u5176\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u5B57\u4E32\u8F38\u5165\u3002\u4F8B\u5982,OCT2HEX\uFF08177\uFF09\u548COCT2HEX\uFF08"177"\uFF09\u5F97\u51FA\u7684\u7D50\u679C\u76F8\u540C,\u5747\u70BA7F\u3002`},{name:"places",detail:`[ \u53EF\u9078 ] - \u7D50\u679C\u4E2D\u8981\u78BA\u4FDD\u7684\u6709\u6548\u4F4D\u6578\u3002
  817. \u5982\u679C\u8A2D\u5B9A\u7684\u6709\u6548\u4F4D\u6578\u5927\u65BC\u7D50\u679C\u4E2D\u7684\u6709\u6548\u4F4D\u6578,\u5247\u5728\u7D50\u679C\u7684\u5DE6\u5074\u586B\u51450,\u4F7F\u7E3D\u6709\u6548\u4F4D\u6578\u9054\u5230\u6709\u6548\u4F4D\u6578\u3002
  818. \u5982\u679C\u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u7684\u6700\u9AD8\u4F4D\u70BA1,\u5247\u5FFD\u7565\u6B64\u503C\uFF1B\u5373\u7576\u7D66\u5B9A\u7684\u5E36\u7B26\u865F\u7684\u516B\u9032\u5236\u6578\u5927\u65BC\u7B49\u65BC4000000000\u6642\u5FFD\u7565\u6B64\u503C\u3002`}]},COMPLEX:{d:"\u5C07\u5BE6\u4FC2\u6578\u53CA\u865B\u4FC2\u6578\u8F49\u63DB\u70BA x+yi \u6216 x+yj \u5F62\u5F0F\u7684\u8907\u6578\u3002",a:"\u5C07\u5BE6\u4FC2\u6578\u53CA\u865B\u4FC2\u6578\u8F49\u63DB\u70BA x+yi \u6216 x+yj \u5F62\u5F0F\u7684\u8907\u6578\u3002",p:[{name:"real_num",detail:"\u8907\u6578\u7684\u5BE6\u4FC2\u6578\u3002"},{name:"i_num",detail:"\u8907\u6578\u7684\u865B\u4FC2\u6578\u3002"},{name:"suffix",detail:'[\u53EF\u9078 - \u9ED8\u8A8D\u70BA"i"] - \u8907\u6578\u4E2D\u865B\u4FC2\u6578\u7684\u5C3E\u78BC\u3002'}]},IMREAL:{d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u8907\u6578\u7684\u5BE6\u4FC2\u6578\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u8907\u6578\u7684\u5BE6\u4FC2\u6578\u3002",p:[{name:"inumber",detail:"\u9700\u8981\u8A08\u7B97\u5176\u5BE6\u4FC2\u6578\u7684\u8907\u6578\u3002"}]},IMAGINARY:{d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u8907\u6578\u7684\u865B\u4FC2\u6578\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u8907\u6578\u7684\u865B\u4FC2\u6578\u3002",p:[{name:"inumber",detail:"\u9700\u8981\u8A08\u7B97\u5176\u865B\u4FC2\u6578\u7684\u8907\u6578\u3002"}]},IMCONJUGATE:{d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u8907\u6578\u7684\u5171\u8EDB\u8907\u6578\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u8907\u6578\u7684\u5171\u8EDB\u8907\u6578\u3002",p:[{name:"inumber",detail:"\u9700\u8981\u8A08\u7B97\u5176\u5171\u8EDB\u6578\u7684\u8907\u6578\u3002"}]},IMABS:{d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u8907\u6578\u7684\u7D55\u5C0D\u503C\uFF08\u6A21\uFF09\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u8907\u6578\u7684\u7D55\u5C0D\u503C\uFF08\u6A21\uFF09\u3002",p:[{name:"inumber",detail:"\u8981\u8A08\u7B97\u5176\u7D55\u5C0D\u503C\u7684\u8907\u6578\u3002"}]},DELTA:{d:"\u6AA2\u9A57\u5169\u500B\u503C\u662F\u5426\u76F8\u7B49\u3002\u5982\u679C number1=number2,\u5247\u8FD4\u56DE1\uFF1B\u5426\u5247\u8FD4\u56DE0\u3002",a:"\u6AA2\u9A57\u5169\u500B\u503C\u662F\u5426\u76F8\u7B49\u3002\u5982\u679C number1=number2,\u5247\u8FD4\u56DE1\uFF1B\u5426\u5247\u8FD4\u56DE0\u3002",p:[{name:"number1",detail:"\u7B2C\u4E00\u500B\u6578\u4F4D\u3002"},{name:"number2",detail:"[\u53EF\u9078 - \u9ED8\u8A8D\u70BA0] - \u7B2C\u4E8C\u500B\u6578\u4F4D\u3002"}]},IMSUM:{d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684 1 \u81F3 255 \u500B\u8907\u6578\u7684\u548C\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684 1 \u81F3 255 \u500B\u8907\u6578\u7684\u548C\u3002",p:[{name:"inumber1",detail:"\u8981\u76F8\u52A0\u7684\u7B2C\u4E00\u500B\u8907\u6578"},{name:"inumber2, \u2026",detail:"[\u53EF\u9078] -\u8981\u8207\u503C1\u76F8\u52A0\u7684\u5176\u4ED6\u8907\u6578"}]},IMSUB:{d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u5169\u500B\u8907\u6578\u7684\u5DEE\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u5169\u500B\u8907\u6578\u7684\u5DEE\u3002",p:[{name:"inumber1",detail:"\u5F9E\uFF08\u8907\uFF09\u6578\u4E2D\u51CF\u53BB inumber2\u3002"},{name:"inumber2",detail:"\u5F9E inumber1 \u4E2D\u51CF\uFF08\u8907\uFF09\u6578\u3002"}]},IMPRODUCT:{d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684 1 \u81F3 255 \u500B\u8907\u6578\u7684\u4E58\u7A4D\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684 1 \u81F3 255 \u500B\u8907\u6578\u7684\u4E58\u7A4D\u3002",p:[{name:"inumber1",detail:"\u7528\u65BC\u8A08\u7B97\u4E58\u7A4D\u7684\u7B2C\u4E00\u500B\u8907\u6578"},{name:"inumber2, \u2026",detail:"[\u53EF\u9078] -\u8981\u76F8\u4E58\u7684\u5176\u4ED6\u8907\u6578\u3002"}]},IMDIV:{d:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u5169\u500B\u8907\u6578\u7684\u5546\u3002",a:"\u8FD4\u56DE\u4EE5 x+yi \u6216 x+yj \u6587\u672C\u683C\u5F0F\u8868\u793A\u7684\u5169\u500B\u8907\u6578\u7684\u5546\u3002",p:[{name:"inumber1",detail:"\u8907\u6578\u5206\u5B50\u6216\u88AB\u9664\u6578\u3002"},{name:"inumber2",detail:"\u8907\u6578\u5206\u6BCD\u6216\u9664\u6578\u3002"}]},NOT:{d:'\u8FD4\u56DE\u67D0\u500B\u908F\u8F2F\u503C\u7684\u76F8\u53CD\u503C-"NOT\uFF08TRUE\uFF08\uFF09\uFF09"\u5C07\u8FD4\u56DEFALSE\uFF1B"NOT\uFF08FALSE\uFF08\uFF09\uFF09"\u5C07\u8FD4\u56DETRUE\u3002',a:'\u8FD4\u56DE\u67D0\u500B\u908F\u8F2F\u503C\u7684\u76F8\u53CD\u503C-"NOT\uFF08TRUE\uFF08\uFF09\uFF09"\u5C07\u8FD4\u56DEFALSE\uFF1B"NOT\uFF08FALSE\uFF08\uFF09\uFF09"\u5C07\u8FD4\u56DETRUE\u3002',p:[{name:"logical",detail:"\u8A08\u7B97\u7D50\u679C\u70BATRUE\u6216FALSE\u7684\u4EFB\u4F55\u503C\u6216\u904B\u7B97\u5F0F\u3002"}]},TRUE:{d:"\u8FD4\u56DE\u908F\u8F2F\u503C TRUE\u3002",a:"\u8FD4\u56DE\u908F\u8F2F\u503C TRUE\u3002",p:[]},FALSE:{d:"\u8FD4\u56DE\u908F\u8F2F\u503C FALSE\u3002",a:"\u8FD4\u56DE\u908F\u8F2F\u503C FALSE\u3002",p:[]},AND:{d:"\u6240\u6709\u53C3\u6578\u7684\u8A08\u7B97\u7D50\u679C\u70BATRUE\u6642,\u8FD4\u56DETRUE\uFF1B\u53EA\u8981\u6709\u4E00\u500B\u53C3\u6578\u7684\u8A08\u7B97\u7D50\u679C\u70BAFALSE,\u5373\u8FD4\u56DEFALSE\u3002",a:"\u6240\u6709\u53C3\u6578\u7684\u8A08\u7B97\u7D50\u679C\u70BATRUE\u6642,\u8FD4\u56DETRUE\uFF1B\u53EA\u8981\u6709\u4E00\u500B\u53C3\u6578\u7684\u8A08\u7B97\u7D50\u679C\u70BAFALSE,\u5373\u8FD4\u56DEFALSE\u3002",p:[{name:"logical1",detail:"\u8981\u6E2C\u8A66\u7684\u7B2C\u4E00\u500B\u689D\u4EF6,\u5176\u8A08\u7B97\u7D50\u679C\u53EF\u4EE5\u70BATRUE\u6216FALSE\u3002"},{name:"logical2,...",detail:"[\u53EF\u9078] - \u8981\u6E2C\u8A66\u7684\u5176\u4ED6\u689D\u4EF6,\u5176\u8A08\u7B97\u7D50\u679C\u53EF\u4EE5\u70BATRUE\u6216FALSE,\u6700\u591A\u53EF\u5305\u542B255\u500B\u689D\u4EF6\u3002"}]},IFERROR:{d:"\u5982\u679C\u7B2C\u4E00\u500B\u53C3\u6578\u4E0D\u662F\u932F\u8AA4\u503C,\u5C31\u8FD4\u56DE\u7B2C\u4E00\u500B\u53C3\u6578\uFF1B\u5426\u5247,\u8FD4\u56DE\u7B2C\u4E8C\u500B\u53C3\u6578\u3002",a:"\u5982\u679C\u7B2C\u4E00\u500B\u53C3\u6578\u4E0D\u662F\u932F\u8AA4\u503C",p:[{name:"value",detail:"\u6AA2\u67E5\u662F\u5426\u5B58\u5728\u932F\u8AA4\u7684\u53C3\u6578\u3002"},{name:"value_if_error",detail:"\u516C\u5F0F\u7684\u8A08\u7B97\u7D50\u679C\u932F\u8AA4\u6642\u8FD4\u56DE\u7684\u503C\u3002\u8A08\u7B97\u4EE5\u4E0B\u932F\u8AA4\u985E\u578B:#N/A\u3001#VALUE\uFF01\u3001#REF\uFF01\u3001#DIV/0\uFF01\u3001#NUM\uFF01\u3001#NAME\uFF1F\u6216#NULL\uFF01\u3002"}]},IF:{d:"\u7576\u908F\u8F2F\u904B\u7B97\u5F0F\u7684\u503C\u70BATRUE\u6642\u8FD4\u56DE\u4E00\u500B\u503C,\u800C\u7576\u5176\u70BAFALSE\u6642\u8FD4\u56DE\u53E6\u4E00\u500B\u503C\u3002",a:"\u7576\u908F\u8F2F\u904B\u7B97\u5F0F\u7684\u503C\u70BATRUE\u6642\u8FD4\u56DE\u4E00\u500B\u503C,\u800C\u7576\u5176\u70BAFALSE\u6642\u8FD4\u56DE\u53E6\u4E00\u500B\u503C\u3002",p:[{name:"logical_test",detail:"\u4E00\u500B\u904B\u7B97\u5F0F\u6216\u5C0D\u5305\u542B\u904B\u7B97\u5F0F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,\u8A72\u904B\u7B97\u5F0F\u4EE3\u8868\u67D0\u7A2E\u908F\u8F2F\u503C\uFF08\u5373TRUE\u6216FALSE\uFF09\u3002"},{name:"value_if_true",detail:"\u7576\u908F\u8F2F\u904B\u7B97\u5F0F\u70BATRUE\u6642\u7684\u8FD4\u56DE\u503C\u3002"},{name:"value_if_false",detail:"[\u53EF\u9078 - \u9ED8\u8A8D\u70BA\u7A7A\u767D] - \u7576\u908F\u8F2F\u904B\u7B97\u5F0F\u7B49\u65BCFALSE\u6642\u7684\u51FD\u6578\u8FD4\u56DE\u503C\u3002"}]},OR:{d:"\u53EA\u8981\u6709\u4E00\u500B\u53C3\u6578\u7684\u8A08\u7B97\u7D50\u679C\u70BATRUE\u6642,\u8FD4\u56DETRUE\uFF1B\u6240\u6709\u53C3\u6578\u7684\u8A08\u7B97\u7D50\u679C\u70BAFALSE,\u5373\u8FD4\u56DEFALSE\u3002",a:"\u53EA\u8981\u6709\u4E00\u500B\u53C3\u6578\u7684\u8A08\u7B97\u7D50\u679C\u70BATRUE\u6642,\u8FD4\u56DETRUE\uFF1B\u6240\u6709\u53C3\u6578\u7684\u8A08\u7B97\u7D50\u679C\u70BAFALSE,\u5373\u8FD4\u56DEFALSE\u3002",p:[{name:"logical1",detail:"\u8981\u6E2C\u8A66\u7684\u7B2C\u4E00\u500B\u689D\u4EF6,\u5176\u8A08\u7B97\u7D50\u679C\u53EF\u4EE5\u70BATRUE\u6216FALSE\u3002"},{name:"\u908F\u8F2F\u904B\u7B97\u5F0F2",detail:"[\u53EF\u9078] - \u5176\u4ED6\u904B\u7B97\u5F0F\u6216\u5C0D\u5305\u542B\u904B\u7B97\u5F0F\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,\u9019\u4E9B\u904B\u7B97\u5F0F\u4EE3\u8868\u67D0\u7A2E\u908F\u8F2F\u503C\uFF08\u5373TRUE\u6216FALSE\uFF09\u6216\u8005\u53EF\u4EE5\u5F37\u5236\u8F49\u63DB\u70BA\u908F\u8F2F\u503C\u3002"}]},NE:{d:'\u5982\u679C\u6307\u5B9A\u7684\u503C\u4E0D\u76F8\u7B49,\u5247\u8FD4\u56DE"TRUE"\uFF1B\u5426\u5247\u8FD4\u56DE"FALSE"\u3002\u76F8\u7576\u65BC"<>"\u904B\u7B97\u5B50\u3002',a:'\u5982\u679C\u6307\u5B9A\u7684\u503C\u4E0D\u76F8\u7B49,\u5247\u8FD4\u56DE"TRUE"\uFF1B\u5426\u5247\u8FD4\u56DE"FALSE"\u3002\u76F8\u7576\u65BC"<>"\u904B\u7B97\u5B50\u3002',p:[{name:"value1",detail:"\u7B2C\u4E00\u500B\u503C\u3002"},{name:"value2",detail:"\u8981\u6AA2\u67E5\u662F\u5426\u8207 value1 \u4E0D\u76F8\u7B49\u7684\u503C\u3002"}]},EQ:{d:'\u5982\u679C\u6307\u5B9A\u7684\u503C\u76F8\u7B49,\u5247\u8FD4\u56DE"TRUE"\uFF1B\u5426\u5247\u8FD4\u56DE"FALSE"\u3002\u76F8\u7576\u65BC"="\u904B\u7B97\u5B50\u3002',a:'\u5982\u679C\u6307\u5B9A\u7684\u503C\u76F8\u7B49,\u5247\u8FD4\u56DE"TRUE"\uFF1B\u5426\u5247\u8FD4\u56DE"FALSE"\u3002\u76F8\u7576\u65BC"="\u904B\u7B97\u5B50\u3002',p:[{name:"value1",detail:"\u7B2C\u4E00\u500B\u503C\u3002"},{name:"value2",detail:"\u8981\u6AA2\u67E5\u662F\u5426\u8207value1\u76F8\u7B49\u7684\u503C\u3002"}]},GT:{d:!1,a:!1,p:[{name:"value1",detail:"\u8981\u6E2C\u8A66\u5176\u662F\u5426\u5927\u65BC value2 \u7684\u503C\u3002"},{name:"value2",detail:"\u7B2C\u4E8C\u500B\u503C\u3002"}]},GTE:{d:'\u5982\u679C\u7B2C\u4E00\u500B\u53C3\u6578\u5927\u65BC\u6216\u7B49\u65BC\u7B2C\u4E8C\u500B\uFF0C\u5247\u8FD4\u56DETRUE\uFF1B\u5426\u5247\u8FD4\u56DEFALSE\u3002\u76F8\u7576\u65BC">="\u904B\u7B97\u5B50\u3002',a:'\u5982\u679C\u7B2C\u4E00\u500B\u53C3\u6578\u5927\u65BC\u6216\u7B49\u65BC\u7B2C\u4E8C\u500B\uFF0C\u5247\u8FD4\u56DETRUE\uFF1B\u5426\u5247\u8FD4\u56DEFALSE\u3002\u76F8\u7576\u65BC">="\u904B\u7B97\u5B50\u3002',p:[{name:"value1",detail:"\u8981\u6D4B\u8BD5\u5176\u662F\u5426\u5927\u4E8E\u7B49\u4E8E value2 \u7684\u503C\u3002"},{name:"value2",detail:"\u7B2C\u4E8C\u500B\u503C\u3002"}]},LT:{d:'\u5982\u679C\u7B2C\u4E00\u500B\u53C3\u6578\u56B4\u683C\u5C0F\u65BC\u7B2C\u4E8C\u500B\uFF0C\u5247\u8FD4\u56DETRUE\uFF1B\u5426\u5247\u8FD4\u56DEFALSE\u3002\u76F8\u7576\u65BC"<"\u904B\u7B97\u5B50\u3002',a:'\u5982\u679C\u7B2C\u4E00\u500B\u53C3\u6578\u56B4\u683C\u5C0F\u65BC\u7B2C\u4E8C\u500B\uFF0C\u5247\u8FD4\u56DETRUE\uFF1B\u5426\u5247\u8FD4\u56DEFALSE\u3002\u76F8\u7576\u65BC"<"\u904B\u7B97\u5B50\u3002',p:[{name:"value1",detail:"\u8981\u6D4B\u8BD5\u5176\u662F\u5426\u5C0F\u4E8E value2 \u7684\u503C\u3002"},{name:"value2",detail:"\u7B2C\u4E8C\u500B\u503C\u3002"}]},LTE:{d:'\u5982\u679C\u7B2C\u4E00\u500B\u53C3\u6578\u5C0F\u65BC\u6216\u7B49\u65BC\u7B2C\u4E8C\u500B\uFF0C\u5247\u8FD4\u56DETRUE\uFF1B\u5426\u5247\u8FD4\u56DEFALSE\u3002\u76F8\u7576\u65BC"<="\u904B\u7B97\u5B50\u3002',a:'\u5982\u679C\u7B2C\u4E00\u500B\u53C3\u6578\u5C0F\u65BC\u6216\u7B49\u65BC\u7B2C\u4E8C\u500B\uFF0C\u5247\u8FD4\u56DETRUE\uFF1B\u5426\u5247\u8FD4\u56DEFALSE\u3002\u76F8\u7576\u65BC"<="\u904B\u7B97\u5B50\u3002',p:[{name:"value1",detail:"\u8981\u6D4B\u8BD5\u5176\u662F\u5426\u5C0F\u4E8E\u7B49\u4E8E value2 \u7684\u503C\u3002"},{name:"value2",detail:"\u7B2C\u4E8C\u500B\u503C\u3002"}]},ADD:{d:'\u8FD4\u56DE\u5169\u500B\u6578\u503C\u4E4B\u548C\u3002\u76F8\u7576\u65BC"+"\u904B\u7B97\u5B50\u3002',a:'\u8FD4\u56DE\u5169\u500B\u6578\u503C\u4E4B\u548C\u3002\u76F8\u7576\u65BC"+"\u904B\u7B97\u5B50\u3002',p:[{name:"value1",detail:"\u7B2C\u4E00\u500B\u52A0\u6578\u3002"},{name:"value2",detail:"\u7B2C\u4E8C\u500B\u52A0\u6578\u3002"}]},MINUS:{d:'\u8FD4\u56DE\u5169\u500B\u6578\u503C\u4E4B\u5DEE\u3002\u76F8\u7576\u65BC"-"\u904B\u7B97\u5B50\u3002',a:'\u8FD4\u56DE\u5169\u500B\u6578\u503C\u4E4B\u5DEE\u3002\u76F8\u7576\u65BC"-"\u904B\u7B97\u5B50\u3002',p:[{name:"value1",detail:"\u88AB\u6E1B\u6578,\u5373\u8981\u5C0D\u5176\u8A08\u51CF\u7684\u6578\u503C\u3002"},{name:"value2",detail:"\u6E1B\u6578,\u5373\u8981\u5F9Evalue1\u4E2D\u51CF\u9664\u7684\u6578\u503C\u3002"}]},MULTIPLY:{d:'\u8FD4\u56DE\u5169\u500B\u6578\u7684\u4E58\u7A4D\u3002\u76F8\u7576\u65BC"*"\u904B\u7B97\u5B50\u3002',a:'\u8FD4\u56DE\u5169\u500B\u6578\u7684\u4E58\u7A4D\u3002\u76F8\u7576\u65BC"*"\u904B\u7B97\u5B50\u3002',p:[{name:"value1",detail:"\u7B2C\u4E00\u500B\u4E58\u6578\u3002"},{name:"value2",detail:"\u7B2C\u4E8C\u500B\u4E58\u6578\u3002"}]},DIVIDE:{d:"\u8FD4\u56DE\u5169\u500B\u53C3\u6578\u76F8\u9664\u6240\u5F97\u7684\u7D50\u679C\u3002\u76F8\u7576\u65BC`/`\u904B\u7B97\u5B50\u3002",a:"\u8FD4\u56DE\u5169\u500B\u53C3\u6578\u76F8\u9664\u6240\u5F97\u7684\u7D50\u679C\u3002\u76F8\u7576\u65BC`/`\u904B\u7B97\u5B50\u3002",p:[{name:"value1",detail:"\u8981\u88AB\u9664\u7684\u6578\u503C\u3002"},{name:"value2",detail:`\u7528\u65BC\u9664\u5176\u4ED6\u6578\u7684\u6578\u503C\u3002
  819. \u9664\u6578\u4E0D\u5F97\u70BA0\u3002`}]},CONCAT:{d:"\u8FD4\u56DE\u5169\u500B\u503C\u7684\u4E32\u806F\u3002\u76F8\u7576\u65BC`&`\u904B\u7B97\u5B50\u3002",a:"\u8FD4\u56DE\u5169\u500B\u503C\u7684\u4E32\u806F\u3002\u76F8\u7576\u65BC`&`\u904B\u7B97\u5B50\u3002",p:[{name:"value1",detail:"value2 \u5C07\u9644\u65BC\u5176\u5F8C\u7684\u503C\u3002"},{name:"value2",detail:"\u8981\u9644\u65BC value1 \u4E4B\u5F8C\u7684\u503C\u3002"}]},UNARY_PERCENT:{d:'\u8FD4\u56DE\u6309\u767E\u5206\u6BD4\u89E3\u91CB\u7684\u6578\u503C\u3002\u4F8B\u5982,"UNARY_PERCENT\uFF08100\uFF09"\u7B49\u65BC1\u3002',a:'\u8FD4\u56DE\u6309\u767E\u5206\u6BD4\u89E3\u91CB\u7684\u6578\u503C\u3002\u4F8B\u5982,"UNARY_PERCENT\uFF08100\uFF09"\u7B49\u65BC1\u3002',p:[{name:"number",detail:"\u8981\u4F5C\u70BA\u767E\u5206\u6BD4\u89E3\u91CB\u7684\u6578\u503C\u3002"}]},CONCATENATE:{d:"\u5C07\u5169\u500B\u6216\u591A\u500B\u6587\u5B57\u5B57\u4E32\u806F\u63A5\u70BA\u4E00\u500B\u5B57\u4E32\u3002",a:"\u5C07\u5169\u500B\u6216\u591A\u500B\u6587\u5B57\u5B57\u4E32\u806F\u63A5\u70BA\u4E00\u500B\u5B57\u4E32\u3002",p:[{name:"text1",detail:"\u521D\u59CB\u5B57\u4E32\u3002"},{name:"text2\u2026",detail:"[\u53EF\u9078] - \u8981\u6309\u9806\u5E8F\u9023\u63A5\u5728\u4E00\u8D77\u7684\u5176\u4ED6\u5B57\u4E32\u3002"}]},CODE:{d:"\u8FD4\u56DE\u6240\u63D0\u4F9B\u7684\u5B57\u4E32\u4E2D\u9996\u5B57\u5143\u7684Unicode\u6620\u5C04\u503C\u3002",a:"\u8FD4\u56DE\u6240\u63D0\u4F9B\u7684\u5B57\u4E32\u4E2D\u9996\u5B57\u5143\u7684Unicode\u6620\u5C04\u503C\u3002",p:[{name:"text",detail:"\u8981\u8FD4\u56DE\u5176\u9996\u5B57\u5143\u7684Unicode\u6620\u5C04\u503C\u7684\u5B57\u4E32\u3002"}]},CHAR:{d:"\u6309\u7167\u7576\u524DUnicode\u7DE8\u78BC\u8868,\u5C07\u6578\u4F4D\u8F49\u63DB\u70BA\u5C0D\u61C9\u7684\u5B57\u5143\u3002",a:"\u6309\u7167\u7576\u524DUnicode\u7DE8\u78BC\u8868,\u5C07\u6578\u4F4D\u8F49\u63DB\u70BA\u5C0D\u61C9\u7684\u5B57\u5143\u3002",p:[{name:"number",detail:"\u4ECB\u65BC1\u5230255\u4E4B\u9593\u7684\u6578\u4F4D\u3002"}]},ARABIC:{d:"\u5C07\u7F85\u99AC\u6578\u5B57\u8F49\u63DB\u70BA\u963F\u62C9\u4F2F\u6578\u5B57\u3002",a:"\u5C07\u7F85\u99AC\u6578\u5B57\u8F49\u63DB\u70BA\u963F\u62C9\u4F2F\u6578\u5B57\u3002",p:[{name:"text",detail:"\u8981\u8F49\u63DB\u683C\u5F0F\u7684\u7F85\u99AC\u6578\u5B57"}]},ROMAN:{d:"\u5C07\u6578\u4F4D\u683C\u5F0F\u8A2D\u5B9A\u70BA\u7F85\u99AC\u6578\u5B57\u5F62\u5F0F\u3002",a:"\u5C07\u6578\u4F4D\u683C\u5F0F\u8A2D\u5B9A\u70BA\u7F85\u99AC\u6578\u5B57\u5F62\u5F0F\u3002",p:[{name:"number",detail:"\u8981\u8A2D\u5B9A\u683C\u5F0F\u7684\u6578\u4F4D,\u4ECB\u65BC1\u52303999\u4E4B\u9593\uFF08\u5305\u62EC\u9019\u5169\u500B\u6578\u4F4D\uFF09\u3002"}]},REGEXEXTRACT:{d:"\u6309\u7167\u898F\u5247\u904B\u7B97\u5F0F\u9078\u53D6\u5339\u914D\u7684\u5B50\u4E32\u3002",a:"\u6309\u7167\u898F\u5247\u904B\u7B97\u5F0F\u9078\u53D6\u5339\u914D\u7684\u5B50\u4E32\u3002",p:[{name:"text",detail:"\u8F38\u5165\u6587\u5B57\u3002"},{name:"regular_expression",detail:"\u6B64\u51FD\u6578\u5C07\u8FD4\u56DE\u6587\u5B57\u4E2D\u7B26\u5408\u6B64\u904B\u7B97\u5F0F\u7684\u7B2C\u4E00\u500B\u5B50\u4E32\u3002"}]},REGEXMATCH:{d:"\u5224\u65B7\u4E00\u6BB5\u6587\u5B57\u662F\u5426\u8207\u898F\u5247\u904B\u7B97\u5F0F\u76F8\u5339\u914D\u3002",a:"\u5224\u65B7\u4E00\u6BB5\u6587\u5B57\u662F\u5426\u8207\u898F\u5247\u904B\u7B97\u5F0F\u76F8\u5339\u914D\u3002",p:[{name:"text",detail:"\u8981\u7528\u898F\u5247\u904B\u7B97\u5F0F\u6E2C\u8A66\u7684\u6587\u5B57\u3002"},{name:"regular_expression",detail:"\u7528\u4F86\u6E2C\u8A66\u6587\u5B57\u7684\u898F\u5247\u904B\u7B97\u5F0F\u3002"}]},REGEXREPLACE:{d:"\u4F7F\u7528\u898F\u5247\u904B\u7B97\u5F0F\u5C07\u6587\u5B57\u5B57\u4E32\u4E2D\u7684\u4E00\u90E8\u5206\u66FF\u63DB\u70BA\u5176\u4ED6\u6587\u5B57\u5B57\u4E32\u3002",a:"\u4F7F\u7528\u898F\u5247\u904B\u7B97\u5F0F\u5C07\u6587\u5B57\u5B57\u4E32\u4E2D\u7684\u4E00\u90E8\u5206\u66FF\u63DB\u70BA\u5176\u4ED6\u6587\u5B57\u5B57\u4E32\u3002",p:[{name:"text",detail:"\u8981\u5C0D\u5176\u5C40\u90E8\u9032\u884C\u66FF\u63DB\u64CD\u4F5C\u7684\u6587\u5B57\u3002"},{name:"regular_expression",detail:"\u898F\u5247\u904B\u7B97\u5F0F\u3002text\u4E2D\u6240\u6709\u5339\u914D\u7684\u5BE6\u4F8B\u90FD\u5C07\u88AB\u66FF\u63DB\u3002"},{name:"replacement",detail:"\u8981\u63D2\u5165\u5230\u539F\u6709\u6587\u5B57\u4E2D\u7684\u6587\u5B57\u3002"}]},T:{d:"\u8FD4\u56DE\u6587\u672C\u683C\u5F0F\u7684\u5B57\u4E32\u53C3\u6578\u3002",a:"\u8FD4\u56DE\u6587\u672C\u683C\u5F0F\u7684\u5B57\u4E32\u53C3\u6578\u3002",p:[{name:"value",detail:`\u8981\u8F49\u63DB\u70BA\u6587\u5B57\u7684\u53C3\u6578\u3002
  820. \u5982\u679C\u503C\u70BA\u6587\u5B57,T\u5C07\u8FD4\u56DE\u503C\u672C\u8EAB\u3002
  821. \u5982\u679C\u503C\u70BA\u6307\u5411\u5305\u542B\u6587\u5B57\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,T\u5C07\u8FD4\u56DE\u503C\u4E2D\u7684\u5167\u5BB9\u3002
  822. \u5982\u679C\u503C\u70BA\u932F\u8AA4\u503C\u6216\u5305\u542B\u932F\u8AA4\u503C\u7684\u5132\u5B58\u683C,T\u5C07\u8FD4\u56DE\u8A72\u932F\u8AA4\u503C\u3002
  823. \u5C0D\u65BC\u6240\u6709\u5176\u4ED6\u60C5\u51B5,T\u5C07\u8FD4\u56DE\u7A7A\u4E32\u3002`}]},FIXED:{d:"\u4EE5\u56FA\u5B9A\u7684\u5C0F\u6578\u4F4D\u6578\u8A2D\u5B9A\u6578\u4F4D\u7684\u683C\u5F0F\u3002",a:"\u4EE5\u56FA\u5B9A\u7684\u5C0F\u6578\u4F4D\u6578\u8A2D\u5B9A\u6578\u4F4D\u7684\u683C\u5F0F\u3002",p:[{name:"number",detail:"\u8981\u9032\u884C\u820D\u5165\u4E26\u8F49\u63DB\u70BA\u6587\u5B57\u7684\u6578\u4F4D\u3002"},{name:"decimals",detail:`[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA2] - \u7D50\u679C\u4E2D\u8981\u986F\u793A\u7684\u5C0F\u6578\u4F4D\u6578\u3002
  824. \u5982\u679C\u6578\u503C\u7684\u6709\u6548\u4F4D\u6578\u5C0F\u65BC\u5C0F\u6578\u4F4D\u6578,\u5C07\u4EE5\u96F6\u586B\u5145\u3002\u5982\u679C\u6578\u503C\u7684\u6709\u6548\u4F4D\u6578\u5927\u65BC\u5C0F\u6578\u4F4D\u6578,\u5247\u5C07\u5176\u820D\u5165\u5230\u6240\u9700\u7684\u5C0F\u6578\u4F4D\u6578\u800C\u4E0D\u662F\u5C07\u5176\u622A\u65B7\u3002`},{name:"no_commas",detail:"[\u53EF\u9078-\u9810\u8A2D\u503C\u70BAFALSE\uFF08\uFF09] - \u4E00\u500B\u908F\u8F2F\u503C,\u5982\u679C\u70BATRUE\uFF08\uFF09,\u5247\u6703\u7981\u6B62FIXED\u5728\u8FD4\u56DE\u7684\u6587\u5B57\u4E2D\u5305\u542B\u9017\u865F\u3002"}]},FIND:{d:"\u8FD4\u56DE\u5B57\u4E32\u5728\u6587\u5B57\u4E2D\u9996\u6B21\u51FA\u73FE\u7684\u4F4D\u7F6E\uFF08\u5340\u5206\u5927\u5C0F\u5BEB\uFF09\u3002",a:"\u8FD4\u56DE\u5B57\u4E32\u5728\u6587\u5B57\u4E2D\u9996\u6B21\u51FA\u73FE\u7684\u4F4D\u7F6E\uFF08\u5340\u5206\u5927\u5C0F\u5BEB\uFF09\u3002",p:[{name:"find_text",detail:"\u8981\u5728\u8981\u8490\u7D22\u7684\u6587\u5B57\u4E2D\u67E5\u627E\u7684\u5B57\u4E32\u3002"},{name:"within_text",detail:"\u8981\u5728\u5176\u4E2D\u8490\u7D22\u8490\u7D22\u5B57\u4E32\u7684\u9996\u6B21\u51FA\u73FE\u4F4D\u7F6E\u7684\u6587\u5B57\u3002"},{name:"start_num",detail:"[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA1] - \u8981\u5728\u8981\u8490\u7D22\u7684\u6587\u5B57\u4E2D\u958B\u59CB\u8490\u7D22\u7684\u5B57\u5143\u4F4D\u7F6E\u3002"}]},FINDB:{d:"\u8FD4\u56DE\u67D0\u500B\u5B57\u4E32\u5728\u6587\u5B57\u4E2D\u9996\u6B21\u51FA\u73FE\u7684\u4F4D\u7F6E\uFF08\u6BCF\u500B\u96D9\u4F4D\u5143\u7D44\u5B57\u5143\u5360\u5169\u500B\u4F4D\u7F6E\uFF09\u3002",a:"\u8FD4\u56DE\u67D0\u500B\u5B57\u4E32\u5728\u6587\u5B57\u4E2D\u9996\u6B21\u51FA\u73FE\u7684\u4F4D\u7F6E\uFF08\u6BCF\u500B\u96D9\u4F4D\u5143\u7D44\u5B57\u5143\u5360\u5169\u500B\u4F4D\u7F6E\uFF09\u3002",p:[{name:"find_text",detail:"\u8981\u5728\u8981\u8490\u7D22\u7684\u6587\u5B57\u4E2D\u67E5\u627E\u7684\u5B57\u4E32\u3002"},{name:"within_text",detail:"\u8981\u5728\u5176\u4E2D\u8490\u7D22\u8490\u7D22\u5B57\u4E32\u7684\u9996\u6B21\u51FA\u73FE\u4F4D\u7F6E\u7684\u6587\u5B57\u3002"},{name:"start_num",detail:"[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA1] - \u8981\u5728\u8981\u8490\u7D22\u7684\u6587\u5B57\u4E2D\u958B\u59CB\u8490\u7D22\u7684\u5B57\u5143\u4F4D\u7F6E\u3002"}]},JOIN:{d:"\u5C07\u4E00\u500B\u6216\u591A\u500B\u4F7F\u7528\u6307\u5B9A\u5B9A\u754C\u7B26\u7684\u4E00\u7DAD\u6578\u7D44\u7684\u5143\u7D20\u9023\u63A5\u5230\u4E00\u8D77\u3002",a:"\u5C07\u4E00\u500B\u6216\u591A\u500B\u4F7F\u7528\u6307\u5B9A\u5B9A\u754C\u7B26\u7684\u4E00\u7DAD\u6578\u7D44\u7684\u5143\u7D20\u9023\u63A5\u5230\u4E00\u8D77\u3002",p:[{name:"separator",detail:`\u7F6E\u65BC\u76F8\u4E92\u9023\u63A5\u7684\u503C\u4E4B\u9593\u7684\u5B57\u5143\u6216\u5B57\u4E32\u3002
  825. \u5B9A\u754C\u7B26\u53EF\u4EE5\u70BA\u7A7A,\u4F8B\u5982JOIN\uFF08,{1,2,3}\uFF09\u3002`},{name:"array1",detail:"\u8981\u4F7F\u7528\u5B9A\u754C\u7B26\u9023\u63A5\u7684\u4E00\u500B\u6216\u591A\u500B\u503C\u3002"},{name:"array2,\u2026",detail:"[\u53EF\u9078] - \u8981\u4F7F\u7528\u5B9A\u754C\u7B26\u9023\u63A5\u7684\u5176\u4ED6\u503C\u6216\u6578\u7D44\u3002"}]},LEFT:{d:"\u5F9E\u6587\u5B57\u5B57\u4E32\u7684\u7B2C\u4E00\u500B\u5B57\u5143\u958B\u59CB\u8FD4\u56DE\u6307\u5B9A\u500B\u6578\u7684\u5B57\u5143\u3002",a:"\u5F9E\u6587\u5B57\u5B57\u4E32\u7684\u7B2C\u4E00\u500B\u5B57\u5143\u958B\u59CB\u8FD4\u56DE\u6307\u5B9A\u500B\u6578\u7684\u5B57\u5143\u3002",p:[{name:"text",detail:"\u5305\u542B\u8981\u9078\u53D6\u7684\u5B57\u5143\u7684\u6587\u5B57\u5B57\u4E32\u3002"},{name:"num_chars",detail:"[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA1] - \u6307\u5B9A\u8981\u7531LEFT\u9078\u53D6\u7684\u5B57\u5143\u7684\u6578\u91CF\u3002"}]},RIGHT:{d:"\u6839\u64DA\u6240\u6307\u5B9A\u7684\u5B57\u5143\u6578\u8FD4\u56DE\u6587\u5B57\u5B57\u4E32\u4E2D\u6700\u5F8C\u4E00\u500B\u6216\u591A\u500B\u5B57\u5143\u3002",a:"\u6839\u64DA\u6240\u6307\u5B9A\u7684\u5B57\u5143\u6578\u8FD4\u56DE\u6587\u5B57\u5B57\u4E32\u4E2D\u6700\u5F8C\u4E00\u500B\u6216\u591A\u500B\u5B57\u5143\u3002",p:[{name:"text",detail:"\u5305\u542B\u8981\u9078\u53D6\u7684\u5B57\u5143\u7684\u6587\u5B57\u5B57\u4E32\u3002"},{name:"num_chars",detail:"[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA1] - \u6307\u5B9A\u8981\u7531RIGHT\u9078\u53D6\u7684\u5B57\u5143\u7684\u6578\u91CF\u3002"}]},MID:{d:"\u8FD4\u56DE\u6587\u5B57\u5B57\u4E32\u4E2D\u5F9E\u6307\u5B9A\u4F4D\u7F6E\u958B\u59CB\u7684\u7279\u5B9A\u6578\u76EE\u7684\u5B57\u5143\u3002",a:"\u8FD4\u56DE\u6587\u5B57\u5B57\u4E32\u4E2D\u5F9E\u6307\u5B9A\u4F4D\u7F6E\u958B\u59CB\u7684\u7279\u5B9A\u6578\u76EE\u7684\u5B57\u5143\u3002",p:[{name:"text",detail:"\u5305\u542B\u8981\u9078\u53D6\u7684\u5B57\u5143\u7684\u6587\u5B57\u5B57\u4E32\u3002"},{name:"start_num",detail:"\u8981\u5F9E\u5B57\u4E32\u4E2D\u958B\u59CB\u9078\u53D6\u7684\u4F4D\u7F6E\u3002\u5B57\u4E32\u4E2D\u7B2C\u4E00\u500B\u5B57\u5143\u7684\u7D22\u5F15\u70BA1\u3002"},{name:"num_chars",detail:`\u6307\u5B9A\u8981\u7531MID\u9078\u53D6\u7684\u5B57\u5143\u7684\u6578\u91CF\u3002
  826. \u5982\u679C\u9078\u53D6\u7684\u5B57\u5143\u6578\u5C1A\u4E0D\u8DB3\u9078\u53D6\u9577\u5EA6\u500B\u5B57\u5143\u6642\u5C31\u5230\u9054\u4E86\u5B57\u4E32\u5C3E\u90E8,\u5247MID\u8FD4\u56DE\u5F9E\u958B\u59CB\u4F4D\u7F6E\u5230\u5B57\u4E32\u5C3E\u90E8\u7684\u5B57\u5143\u3002`}]},LEN:{d:"\u8FD4\u56DE\u7D66\u5B9A\u5B57\u4E32\u7684\u9577\u5EA6\u3002",a:"\u8FD4\u56DE\u7D66\u5B9A\u5B57\u4E32\u7684\u9577\u5EA6\u3002",p:[{name:"text",detail:"\u8981\u8FD4\u56DE\u5176\u9577\u5EA6\u7684\u5B57\u4E32\u3002"}]},LENB:{d:"\u8FD4\u56DE\u6587\u5B57\u4E2D\u6240\u5305\u542B\u7684\u5B57\u5143\u6578\u3002\u8207\u96D9\u4F4D\u5143\u7D44\u5B57\u5143\u96C6\uFF08DBCS\uFF09\u4E00\u8D77\u4F7F\u7528\u3002",a:"\u8FD4\u56DE\u6587\u5B57\u4E2D\u6240\u5305\u542B\u7684\u5B57\u5143\u6578\u3002\u8207\u96D9\u4F4D\u5143\u7D44\u5B57\u5143\u96C6\uFF08DBCS\uFF09\u4E00\u8D77\u4F7F\u7528\u3002",p:[{name:"text",detail:"\u8981\u8FD4\u56DE\u5176\u4F4D\u5143\u7D44\u6578\u7684\u5B57\u4E32\u3002\uFF08\u4E00\u500B\u6F22\u5B57\u70BA\u5169\u500B\u4F4D\u5143\u7D44\u6578\uFF09"}]},LOWER:{d:"\u5C07\u6307\u5B9A\u5B57\u4E32\u4E2D\u7684\u5B57\u6BCD\u8F49\u63DB\u70BA\u5C0F\u5BEB\u3002",a:"\u5C07\u6307\u5B9A\u5B57\u4E32\u4E2D\u7684\u5B57\u6BCD\u8F49\u63DB\u70BA\u5C0F\u5BEB\u3002",p:[{name:"text",detail:"\u8981\u8F49\u63DB\u70BA\u5C0F\u5BEB\u7684\u5B57\u4E32\u3002"}]},UPPER:{d:"\u5C07\u6307\u5B9A\u5B57\u4E32\u4E2D\u7684\u5B57\u6BCD\u8F49\u63DB\u70BA\u5927\u5BEB\u3002",a:"\u5C07\u6307\u5B9A\u5B57\u4E32\u4E2D\u7684\u5B57\u6BCD\u8F49\u63DB\u70BA\u5927\u5BEB\u3002",p:[{name:"text",detail:"\u8981\u8F49\u63DB\u70BA\u5927\u5BEB\u7684\u5B57\u4E32\u3002"}]},EXACT:{d:"\u6BD4\u8F03\u5169\u500B\u5B57\u4E32\u662F\u5426\u76F8\u540C\u3002",a:"\u6BD4\u8F03\u5169\u500B\u5B57\u4E32\u662F\u5426\u76F8\u540C\u3002",p:[{name:"text1",detail:"\u8981\u6BD4\u8F03\u7684\u7B2C\u4E00\u500B\u5B57\u4E32\u3002"},{name:"text2",detail:"\u8981\u6BD4\u8F03\u7684\u7B2C\u4E8C\u500B\u5B57\u4E32\u3002"}]},REPLACE:{d:"\u5C07\u6587\u5B57\u5B57\u4E32\u7684\u4E00\u90E8\u5206\u66FF\u63DB\u70BA\u5176\u4ED6\u6587\u5B57\u5B57\u4E32\u3002",a:"\u5C07\u6587\u5B57\u5B57\u4E32\u7684\u4E00\u90E8\u5206\u66FF\u63DB\u70BA\u5176\u4ED6\u6587\u5B57\u5B57\u4E32\u3002",p:[{name:"old_text",detail:"\u8981\u5C0D\u5176\u5C40\u90E8\u9032\u884C\u66FF\u63DB\u64CD\u4F5C\u7684\u6587\u5B57\u3002"},{name:"start_num",detail:"\u958B\u59CB\u9032\u884C\u66FF\u63DB\u64CD\u4F5C\u7684\u4F4D\u7F6E\uFF08\u6587\u5B57\u958B\u982D\u4F4D\u7F6E\u70BA1\uFF09\u3002"},{name:"num_chars",detail:"\u8981\u5728\u6587\u5B57\u4E2D\u66FF\u63DB\u7684\u5B57\u5143\u500B\u6578\u3002"},{name:"new_text",detail:"\u8981\u63D2\u5165\u5230\u539F\u6709\u6587\u5B57\u4E2D\u7684\u6587\u5B57\u3002"}]},REPT:{d:"\u8FD4\u56DE\u6307\u5B9A\u6587\u5B57\u7684\u591A\u6B21\u91CD\u8907\u3002",a:"\u8FD4\u56DE\u6307\u5B9A\u6587\u5B57\u7684\u591A\u6B21\u91CD\u8907\u3002",p:[{name:"text",detail:"\u8981\u91CD\u8907\u7684\u5B57\u5143\u6216\u5B57\u4E32\u3002"},{name:"number_times",detail:`\u8981\u91CD\u8907\u7684\u6587\u5B57\u8981\u5728\u8FD4\u56DE\u503C\u4E2D\u51FA\u73FE\u7684\u6B21\u6578\u3002
  827. \u6700\u5927\u91CD\u8907\u6B21\u6578\u70BA100\u3002\u5373\u4F7F\u91CD\u8907\u6B21\u6578\u5927\u65BC100,REPT\u4E5F\u50C5\u5C07\u76F8\u61C9\u6587\u5B57\u91CD\u8907100\u6B21\u3002`}]},SEARCH:{d:"\u8FD4\u56DE\u5B57\u4E32\u5728\u6587\u5B57\u4E2D\u9996\u6B21\u51FA\u73FE\u7684\u4F4D\u7F6E\uFF08\u4E0D\u5340\u5206\u5927\u5C0F\u5BEB\uFF09\u3002",a:"\u8FD4\u56DE\u5B57\u4E32\u5728\u6587\u5B57\u4E2D\u9996\u6B21\u51FA\u73FE\u7684\u4F4D\u7F6E\uFF08\u4E0D\u5340\u5206\u5927\u5C0F\u5BEB\uFF09\u3002",p:[{name:"find_text",detail:"\u8981\u5728\u8981\u8490\u7D22\u7684\u6587\u5B57\u4E2D\u67E5\u627E\u7684\u5B57\u4E32\u3002"},{name:"within_text",detail:"\u8981\u5728\u5176\u4E2D\u8490\u7D22\u8490\u7D22\u5B57\u4E32\u7684\u9996\u6B21\u51FA\u73FE\u4F4D\u7F6E\u7684\u6587\u5B57\u3002"},{name:"start_num",detail:"[\u53EF\u9078-\u9810\u8A2D\u503C\u70BA1 ] - \u8981\u5728\u8981\u8490\u7D22\u7684\u6587\u5B57\u4E2D\u958B\u59CB\u8490\u7D22\u7684\u5B57\u5143\u4F4D\u7F6E\u3002"}]},SUBSTITUTE:{d:"\u5728\u6587\u5B57\u5B57\u4E32\u4E2D\u7528new_text\u66FF\u63DBold_text\u3002",a:"\u5728\u6587\u5B57\u5B57\u4E32\u4E2D\u7528new_text\u66FF\u63DBold_text\u3002",p:[{name:"text",detail:"\u9700\u8981\u66FF\u63DB\u5176\u4E2D\u5B57\u5143\u7684\u6587\u5B57,\u6216\u5C0D\u542B\u6709\u6587\u5B57\uFF08\u9700\u8981\u66FF\u63DB\u5176\u4E2D\u5B57\u5143\uFF09\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3002"},{name:"old_text",detail:"\u9700\u8981\u66FF\u63DB\u7684\u6587\u5B57\u3002"},{name:"new_text",detail:"\u7528\u65BC\u66FF\u63DBold_text\u7684\u6587\u5B57\u3002"},{name:"instance_num",detail:"[\u53EF\u9078] - \u6307\u5B9A\u8981\u7528new_text\u66FF\u63DBold_text\u7684\u4E8B\u4EF6\u3002\u5982\u679C\u6307\u5B9A\u4E86instance_num,\u5247\u53EA\u6709\u6EFF\u8DB3\u8981\u6C42\u7684old_text\u88AB\u66FF\u63DB\u3002\u5426\u5247,\u6587\u5B57\u4E2D\u51FA\u73FE\u7684\u6240\u6709old_text\u90FD\u6703\u66F4\u6539\u70BAnew_text\u3002"}]},CLEAN:{d:"\u79FB\u9664\u6587\u5B57\u4E2D\u7684\u4E0D\u53EF\u5217\u5370ASCII\u5B57\u5143\u5F8C\u5C07\u5176\u8FD4\u56DE\u3002",a:"\u79FB\u9664\u6587\u5B57\u4E2D\u7684\u4E0D\u53EF\u5217\u5370ASCII\u5B57\u5143\u5F8C\u5C07\u5176\u8FD4\u56DE\u3002",p:[{name:"text",detail:"\u8981\u79FB\u9664\u5176\u4E2D\u4E0D\u53EF\u5217\u5370\u5B57\u5143\u7684\u6587\u5B57\u3002"}]},TEXT:{d:"\u6309\u7167\u6307\u5B9A\u683C\u5F0F\u5C07\u6578\u4F4D\u8F49\u63DB\u70BA\u6587\u5B57\u3002",a:"\u6309\u7167\u6307\u5B9A\u683C\u5F0F\u5C07\u6578\u4F4D\u8F49\u63DB\u70BA\u6587\u5B57\u3002",p:[{name:"value",detail:"\u8981\u8A2D\u5B9A\u683C\u5F0F\u7684\u6578\u4F4D\u3001\u65E5\u671F\u6216\u6642\u9593\u3002"},{name:"format_text",detail:`\u4EE5\u62EC\u5F27\u62EC\u8D77\u4F86\u7684\u6A21\u5F0F\u4E32,\u5C07\u6309\u8A72\u6A21\u5F0F\u8A2D\u5B9A\u6578\u4F4D\u7684\u683C\u5F0F\u3002
  828. 0\u8868\u793A\u5728\u6578\u503C\u4F4D\u6578\u5C11\u65BC\u683C\u5F0F\u6307\u5B9A\u7684\u4F4D\u6578\u6642\u5FC5\u5B9A\u4EE5\u96F6\u586B\u5145\u3002\u4F8B\u5982,TEXT\uFF0812.3,\u201C000.00"\uFF09\u5C07\u8FD4\u56DE012.30\u3002\u7576\u6578\u503C\u7684\u5C0F\u6578\u4F4D\u6578\u8D85\u904E\u6A21\u5F0F\u6307\u5B9A\u7684\u5C0F\u6578\u4F4D\u6578\u6642,\u56DB\u6368\u4E94\u5165\u70BA\u6307\u5B9A\u7684\u5C0F\u6578\u4F4D\u6578\u3002\u4F8B\u5982,TEXT\uFF0812.305,\u201C00.00"\uFF09\u5C07\u8FD4\u56DE12.31\u3002
  829. #\u985E\u4F3C\u65BC0,\u4F46\u4E26\u4E0D\u662F\u5728\u5C0F\u6578\u9EDE\u7684\u5169\u5074\u90FD\u4EE5\u96F6\u586B\u5145\u3002\u4F8B\u5982,TEXT\uFF0812.3,\u201C###.##"\uFF09\u5C07\u8FD4\u56DE12.3\u3002`}]},TRIM:{d:"\u5220\u9664\u6307\u5B9A\u5B57\u4E32\u524D\u5F8C\u7684\u7A7A\u683C\u3002",a:"\u5220\u9664\u6307\u5B9A\u5B57\u4E32\u524D\u5F8C\u7684\u7A7A\u683C\u3002",p:[{name:"text",detail:"\u8981\u4FEE\u526A\u7684\u5B57\u4E32\u6216\u6307\u5411\u5305\u542B\u8A72\u5B57\u4E32\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3002"}]},VALUE:{d:"\u5C07\u53EF\u8B58\u5225\u7684\u4EFB\u4F55\u65E5\u671F\u3001\u6642\u9593\u6216\u6578\u4F4D\u683C\u5F0F\u7684\u5B57\u4E32\u8F49\u63DB\u70BA\u6578\u4F4D\u3002",a:"\u5C07\u53EF\u8B58\u5225\u7684\u4EFB\u4F55\u65E5\u671F\u3001\u6642\u9593\u6216\u6578\u4F4D\u683C\u5F0F\u7684\u5B57\u4E32\u8F49\u63DB\u70BA\u6578\u4F4D\u3002",p:[{name:"text",detail:"\u5305\u542B\u8981\u8F49\u63DB\u7684\u503C\u7684\u5B57\u4E32\u3002"}]},PROPER:{d:"\u5C07\u6307\u5B9A\u5B57\u4E32\u4E2D\u6BCF\u500B\u55AE\u8A5E\u7684\u9996\u5B57\u6BCD\u8F49\u70BA\u5927\u5BEB\u3002",a:"\u5C07\u6307\u5B9A\u5B57\u4E32\u4E2D\u6BCF\u500B\u55AE\u8A5E\u7684\u9996\u5B57\u6BCD\u8F49\u70BA\u5927\u5BEB\u3002",p:[{name:"text",detail:"\u8981\u8F49\u63DB\u7684\u6587\u5B57,\u5176\u4E2D\u6BCF\u500B\u55AE\u8A5E\u7684\u9996\u5B57\u6BCD\u90FD\u5C07\u8F49\u70BA\u5927\u5BEB,\u6240\u6709\u5176\u4ED6\u5B57\u6BCD\u5247\u8F49\u70BA\u5C0F\u5BEB\u3002"}]},CONVERT:{d:"\u5C07\u6578\u4F4D\u5F9E\u4E00\u7A2E\u5EA6\u91CF\u7CFB\u7D71\u8F49\u63DB\u70BA\u53E6\u4E00\u7A2E\u5EA6\u91CF\u7CFB\u7D71\u3002",a:"\u5C07\u6578\u4F4D\u5F9E\u4E00\u7A2E\u5EA6\u91CF\u7CFB\u7D71\u8F49\u63DB\u70BA\u53E6\u4E00\u7A2E\u5EA6\u91CF\u7CFB\u7D71\u3002",p:[{name:"number",detail:"\u662F\u4EE5from_unit\u70BA\u7D44\u7E54\u7684\u9700\u8981\u9032\u884C\u8F49\u63DB\u7684\u6578\u503C\u3002"},{name:"from_unit",detail:"\u662F\u6578\u503C\u7684\u7D44\u7E54\u3002"},{name:"to_unit",detail:"\u662F\u7D50\u679C\u7684\u7D44\u7E54\u3002"}]},SUMX2MY2:{d:"\u8FD4\u56DE\u5169\u6578\u7D44\u4E2D\u5C0D\u61C9\u6578\u503C\u7684\u5E73\u65B9\u5DEE\u4E4B\u548C\u3002",a:"\u8FD4\u56DE\u5169\u6578\u7D44\u4E2D\u5C0D\u61C9\u6578\u503C\u7684\u5E73\u65B9\u5DEE\u4E4B\u548C\u3002",p:[{name:"array_x",detail:"\u7B2C\u4E00\u500B\u6578\u7D44\u6216\u6578\u503C\u5340\u57DF\u3002"},{name:"array_y",detail:"\u7B2C\u4E8C\u500B\u6578\u7D44\u6216\u6578\u503C\u5340\u57DF\u3002"}]},SUMX2PY2:{d:"\u8FD4\u56DE\u5169\u6578\u7D44\u4E2D\u5C0D\u61C9\u6578\u503C\u7684\u5E73\u65B9\u548C\u4E4B\u548C\u3002",a:"\u8FD4\u56DE\u5169\u6578\u7D44\u4E2D\u5C0D\u61C9\u6578\u503C\u7684\u5E73\u65B9\u548C\u4E4B\u548C\u3002",p:[{name:"array_x",detail:"\u7B2C\u4E00\u500B\u6578\u7D44\u6216\u6578\u503C\u5340\u57DF\u3002"},{name:"array_y",detail:"\u7B2C\u4E8C\u500B\u6578\u7D44\u6216\u6578\u503C\u5340\u57DF\u3002"}]},SUMXMY2:{d:"\u8FD4\u56DE\u5169\u6578\u7D44\u4E2D\u5C0D\u61C9\u6578\u503C\u4E4B\u5DEE\u7684\u5E73\u65B9\u548C\u3002",a:"\u8FD4\u56DE\u5169\u6578\u7D44\u4E2D\u5C0D\u61C9\u6578\u503C\u4E4B\u5DEE\u7684\u5E73\u65B9\u548C\u3002",p:[{name:"array_x",detail:"\u7B2C\u4E00\u500B\u6578\u7D44\u6216\u6578\u503C\u5340\u57DF\u3002"},{name:"array_y",detail:"\u7B2C\u4E8C\u500B\u6578\u7D44\u6216\u6578\u503C\u5340\u57DF\u3002"}]},TRANSPOSE:{d:"\u5C07\u6578\u7D44\u6216\u5132\u5B58\u683C\u7BC4\u570D\u7684\u884C\u5217\u8F49\u7F6E\u3002",a:"\u5C07\u6578\u7D44\u6216\u5132\u5B58\u683C\u7BC4\u570D\u7684\u884C\u5217\u8F49\u7F6E\u3002",p:[{name:"array",detail:"\u8981\u5C07\u5176\u884C\u5217\u4E92\u63DB\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002"}]},TREND:{d:"\u8FD4\u56DE\u7DDA\u6027\u8DA8\u52E2\u503C\u3002",a:"\u8FD4\u56DE\u7DDA\u6027\u8DA8\u52E2\u503C\u3002",p:[{name:"known_y",detail:`\u95DC\u4FC2\u904B\u7B97\u5F0Fy = mx + b \u4E2D\u5DF2\u77E5\u7684y\u503C\u96C6\u5408\u3002
  830. \u5982\u679Cknown_y\u70BA\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D,\u5247known_x\u7684\u7DAD\u6578\u5FC5\u9808\u8207\u4E4B\u76F8\u540C,\u6216\u8005\u7701\u7565\u6B64\u53C3\u6578\u3002
  831. \u5982\u679Cknown_y\u70BA\u4E00\u7DAD\u6578\u7D44\u6216\u7BC4\u570D,known_x\u5247\u53EF\u4EE3\u8868\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D\u4E2D\u7684\u591A\u500B\u5F15\u6578\u3002\u4E5F\u5C31\u662F\u8AAA,\u5982\u679Cknown_y\u70BA\u55AE\u884C,\u5247\u5C07known_x\u4E2D\u7684\u6BCF\u884C\u89E3\u91CB\u70BA\u5404\u81EA\u7368\u7ACB\u7684\u503C,\u985E\u4F3C\u60C5\u51B5\u4E5F\u9069\u7528\u65BCknown_y\u70BA\u55AE\u5217\u7684\u60C5\u51B5\u3002`},{name:"known_x",detail:`[\u53EF\u9078-\u9ED8\u8A8D\u8A72\u6578\u7D44\u70BA{1,2,3,\u2026},\u5176\u5927\u5C0F\u8207known_y\u76F8\u540C] -\u95DC\u4FC2\u904B\u7B97\u5F0Fy = mx + b \u4E2D\u5DF2\u77E5\u7684\u53EF\u9078x\u503C\u96C6\u5408\u3002
  832. \u5982\u679Cknown_y\u70BA\u4E00\u7DAD\u6578\u7D44\u6216\u7BC4\u570D,known_x\u5247\u53EF\u4EE3\u8868\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D\u4E2D\u7684\u591A\u500B\u5F15\u6578\u3002\u4E5F\u5C31\u662F\u8AAA,\u5982\u679Cknown_y\u70BA\u55AE\u884C,\u5247\u5C07known_x\u4E2D\u7684\u6BCF\u884C\u89E3\u91CB\u70BA\u5404\u81EA\u7368\u7ACB\u7684\u503C,\u985E\u4F3C\u60C5\u51B5\u4E5F\u9069\u7528\u65BCknown_y\u70BA\u55AE\u5217\u7684\u60C5\u51B5\u3002`},{name:"new_x",detail:"[\u53EF\u9078 - \u9ED8\u8A8D\u8207known_x\u76F8\u540C] - \u9700\u8981\u51FD\u6578TREND\u8FD4\u56DE\u5C0D\u61C9y\u503C\u7684\u65B0x\u503C\u3002"},{name:"const",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BATRUE\uFF08\uFF09] - \u4E00\u500B\u908F\u8F2F\u503C,\u7528\u65BC\u6307\u5B9A\u662F\u5426\u5C07\u5E38\u6578b\u5F37\u5236\u8A2D\u70BA0\u3002
  833. TRUE\uFF08\uFF09\u8868\u793Ab\u5C07\u6309\u6B63\u5E38\u8A08\u7B97\uFF1B
  834. FALSE\uFF08\uFF09\u8868\u793Ab\u5C07\u88AB\u8A2D\u70BA0\uFF08\u96F6\uFF09,m \u5C07\u88AB\u8ABF\u6574\u4EE5\u4F7Fy = mx\u3002`}]},FREQUENCY:{d:"\u8A08\u7B97\u6578\u503C\u5728\u67D0\u500B\u5340\u57DF\u5167\u7684\u51FA\u73FE\u983B\u7387,\u7136\u5F8C\u8FD4\u56DE\u4E00\u500B\u5782\u76F4\u6578\u7D44\u3002",a:"\u8A08\u7B97\u6578\u503C\u5728\u67D0\u500B\u5340\u57DF\u5167\u7684\u51FA\u73FE\u983B\u7387,\u7136\u5F8C\u8FD4\u56DE\u4E00\u500B\u5782\u76F4\u6578\u7D44\u3002",p:[{name:"data_array",detail:"\u8981\u5C0D\u5176\u983B\u7387\u9032\u884C\u8A08\u6578\u7684\u4E00\u7D44\u6578\u503C\u6216\u5C0D\u9019\u7D44\u6578\u503C\u7684\u5F15\u7528\u3002"},{name:"bins_array",detail:`\u8981\u5C07data_array\u4E2D\u7684\u503C\u63D2\u5165\u5230\u7684\u9593\u9694\u6578\u7D44\u6216\u5C0D\u9593\u9694\u7684\u5F15\u7528\u3002
  835. \u70BA\u6E05\u6670\u8D77\u898B,\u61C9\u5C07\u985E\u5225\u6392\u5E8F,\u4F46\u5982\u679C\u672A\u6392\u5E8F,FREQUENCY\u6703\u5728\u5167\u90E8\u5C0D\u9019\u4E9B\u6307\u5B9A\u7684\u503C\u9032\u884C\u6392\u5E8F\u4E26\u8FD4\u56DE\u6B63\u78BA\u7D50\u679C\u3002`}]},GROWTH:{d:"\u4F7F\u7528\u73FE\u6709\u6578\u64DA\u8A08\u7B97\u9810\u6E2C\u7684\u6307\u6578\u7B49\u6BD4\u3002",a:"\u4F7F\u7528\u73FE\u6709\u6578\u64DA\u8A08\u7B97\u9810\u6E2C\u7684\u6307\u6578\u7B49\u6BD4\u3002",p:[{name:"known_y",detail:`\u95DC\u4FC2\u904B\u7B97\u5F0Fy = b*m^x \u4E2D\u5DF2\u77E5\u7684y\u503C\u96C6\u5408\u3002
  836. \u5982\u679C\u5DF2\u77E5\u6578\u64DA_y\u70BA\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D,\u5247\u5DF2\u77E5\u6578\u64DA_x\u7684\u7DAD\u6578\u5FC5\u9808\u8207\u4E4B\u76F8\u540C,\u6216\u8005\u7701\u7565\u6B64\u53C3\u6578\u3002
  837. \u5982\u679C\u5DF2\u77E5\u6578\u64DA_y\u70BA\u4E00\u7DAD\u6578\u7D44\u6216\u7BC4\u570D,\u5DF2\u77E5\u6578\u64DA_x\u5247\u53EF\u4EE3\u8868\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D\u4E2D\u7684\u591A\u500B\u5F15\u6578\u3002\u4E5F\u5C31\u662F\u8AAA,\u5982\u679C\u5DF2\u77E5\u6578\u64DA_y\u70BA\u55AE\u884C,\u5247\u5C07\u5DF2\u77E5\u6578\u64DA_x\u4E2D\u7684\u6BCF\u884C\u89E3\u91CB\u70BA\u5404\u81EA\u7368\u7ACB\u7684\u503C,\u985E\u4F3C\u60C5\u51B5\u4E5F\u9069\u7528\u65BC\u5DF2\u77E5\u6578\u64DA_y\u70BA\u55AE\u5217\u7684\u60C5\u51B5\u3002`},{name:"known_x",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u8A72\u6578\u7D44\u70BA{1,2,3,\u2026},\u5176\u5927\u5C0F\u8207known_y\u76F8\u540C] - \u95DC\u4FC2\u904B\u7B97\u5F0Fy = b*m^x \u4E2D\u5DF2\u77E5\u7684\u53EF\u9078x\u503C\u96C6\u5408\u3002
  838. \u5982\u679C\u5DF2\u77E5\u6578\u64DA_y\u70BA\u4E00\u7DAD\u6578\u7D44\u6216\u7BC4\u570D,\u5DF2\u77E5\u6578\u64DA_x\u5247\u53EF\u4EE3\u8868\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D\u4E2D\u7684\u591A\u500B\u5F15\u6578\u3002\u4E5F\u5C31\u662F\u8AAA,\u5982\u679C\u5DF2\u77E5\u6578\u64DA_y\u70BA\u55AE\u884C,\u5247\u5C07\u5DF2\u77E5\u6578\u64DA_x\u4E2D\u7684\u6BCF\u884C\u89E3\u91CB\u70BA\u5404\u81EA\u7368\u7ACB\u7684\u503C,\u985E\u4F3C\u60C5\u51B5\u4E5F\u9069\u7528\u65BC\u5DF2\u77E5\u6578\u64DA_y\u70BA\u55AE\u5217\u7684\u60C5\u51B5\u3002`},{name:"new_x",detail:"[\u53EF\u9078 - \u9ED8\u8A8D\u8207known_x\u76F8\u540C] - \u9700\u8981\u51FD\u6578GROWTH\u8FD4\u56DE\u5C0D\u61C9y\u503C\u7684\u65B0x\u503C\u3002"},{name:"const",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BATRUE\uFF08\uFF09] - \u4E00\u500B\u908F\u8F2F\u503C,\u7528\u65BC\u6307\u5B9A\u662F\u5426\u5C07\u5E38\u6578b\u5F37\u5236\u8A2D\u70BA1\u3002
  839. TRUE\uFF08\uFF09\u8868\u793Ab\u5C07\u6309\u6B63\u5E38\u8A08\u7B97\uFF1B
  840. FALSE\uFF08\uFF09\u8868\u793Ab\u5C07\u88AB\u8A2D\u70BA1,m\u5C07\u88AB\u8ABF\u6574\u4EE5\u4F7Fy = m^x\u3002`}]},LINEST:{d:"\u53EF\u901A\u904E\u4F7F\u7528\u6700\u5C0F\u4E8C\u4E58\u6CD5\u8A08\u7B97\u8207\u73FE\u6709\u6578\u64DA\u6700\u4F73\u64EC\u5408\u7684\u76F4\u7DDA,\u4F86\u8A08\u7B97\u67D0\u76F4\u7DDA\u7684\u7D71\u8A08\u503C,\u7136\u5F8C\u8FD4\u56DE\u63CF\u8FF0\u6B64\u76F4\u7DDA\u7684\u6578\u7D44\u3002",a:"\u53EF\u901A\u904E\u4F7F\u7528\u6700\u5C0F\u4E8C\u4E58\u6CD5\u8A08\u7B97\u8207\u73FE\u6709\u6578\u64DA\u6700\u4F73\u64EC\u5408\u7684\u76F4\u7DDA,\u4F86\u8A08\u7B97\u67D0\u76F4\u7DDA\u7684\u7D71\u8A08\u503C,\u7136\u5F8C\u8FD4\u56DE\u63CF\u8FF0\u6B64\u76F4\u7DDA\u7684\u6578\u7D44\u3002",p:[{name:"known_y",detail:`\u95DC\u4FC2\u904B\u7B97\u5F0Fy = mx + b \u4E2D\u5DF2\u77E5\u7684y\u503C\u96C6\u5408\u3002
  841. \u5982\u679Cknown_y\u70BA\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D,\u5247known_x\u7684\u7DAD\u6578\u5FC5\u9808\u8207\u4E4B\u76F8\u540C,\u6216\u8005\u7701\u7565\u6B64\u53C3\u6578\u3002
  842. \u5982\u679Cknown_y\u70BA\u4E00\u7DAD\u6578\u7D44\u6216\u7BC4\u570D,known_x\u5247\u53EF\u4EE3\u8868\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D\u4E2D\u7684\u591A\u500B\u5F15\u6578\u3002\u4E5F\u5C31\u662F\u8AAA,\u5982\u679Cknown_y\u70BA\u55AE\u884C,\u5247\u5C07known_x\u4E2D\u7684\u6BCF\u884C\u89E3\u91CB\u70BA\u5404\u81EA\u7368\u7ACB\u7684\u503C,\u985E\u4F3C\u60C5\u51B5\u4E5F\u9069\u7528\u65BCknown_y\u70BA\u55AE\u5217\u7684\u60C5\u51B5\u3002`},{name:"known_x",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u8A72\u6578\u7D44\u70BA{1,2,3,\u2026},\u5176\u5927\u5C0F\u8207known_y\u76F8\u540C] - \u95DC\u4FC2\u904B\u7B97\u5F0Fy = mx + b\u4E2D\u5DF2\u77E5\u7684\u53EF\u9078x\u503C\u96C6\u5408\u3002
  843. \u5982\u679Cknown_y\u70BA\u4E00\u7DAD\u6578\u7D44\u6216\u7BC4\u570D,known_x\u5247\u53EF\u4EE3\u8868\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D\u4E2D\u7684\u591A\u500B\u5F15\u6578\u3002\u4E5F\u5C31\u662F\u8AAA,\u5982\u679Cknown_y\u70BA\u55AE\u884C,\u5247\u5C07known_x\u4E2D\u7684\u6BCF\u884C\u89E3\u91CB\u70BA\u5404\u81EA\u7368\u7ACB\u7684\u503C,\u985E\u4F3C\u60C5\u51B5\u4E5F\u9069\u7528\u65BCknown_y\u70BA\u55AE\u5217\u7684\u60C5\u51B5\u3002`},{name:"const",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BATRUE\uFF08\uFF09] - \u4E00\u500B\u908F\u8F2F\u503C,\u7528\u65BC\u6307\u5B9A\u662F\u5426\u5C07\u5E38\u6578b\u5F37\u5236\u8A2D\u70BA0\u3002
  844. TRUE\uFF08\uFF09\u8868\u793Ab\u5C07\u6309\u6B63\u5E38\u8A08\u7B97\uFF1B
  845. FALSE\uFF08\uFF09\u8868\u793Ab\u5C07\u88AB\u8A2D\u70BA0\uFF08\u96F6\uFF09,m\u5C07\u88AB\u8ABF\u6574\u4EE5\u4F7Fy = mx\u3002`},{name:"stats",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BAFALSE\uFF08\uFF09] - \u4E00\u500B\u908F\u8F2F\u503C,\u7528\u65BC\u6307\u5B9A\u662F\u5426\u8FD4\u56DE\u9644\u52A0\u56DE\u6B78\u7D71\u8A08\u503C\u3002
  846. \u5982\u679C\u8A73\u7D30\u70BATRUE,\u9664\u4E86\u5C0D\u61C9\u65BC\u6BCF\u500B\u5F15\u6578\u7684\u4E00\u7D44\u7DDA\u6027\u4FC2\u6578\u548Cy\u622A\u8DDD\u4E4B\u5916,LINEST\u9084\u8FD4\u56DE\u4EE5\u4E0B\u8CC7\u8A0A:
  847. \u6BCF\u9805\u4FC2\u6578\u548C\u622A\u8DDD\u7684\u6A19\u6E96\u8AA4\u5DEE\u3001
  848. \u9650\u5B9A\u4FC2\u6578\uFF08\u4ECB\u65BC0\u548C1\u4E4B\u9593,1\u8868\u793A\u5B8C\u5168\u76F8\u95DC\uFF09\u3001
  849. \u56E0\u8B8A\u6578\u503C\u7684\u6A19\u51C6\u8AA4\u5DEE\u3001
  850. F\u7D71\u8A08\u6216F\u89C0\u6E2C\u503C,\u8A13\u793A\u6240\u89C0\u6E2C\u5230\u7684\u56E0\u8B8A\u6578\u548C\u5F15\u6578\u8B8A\u6578\u4E4B\u9593\u7684\u95DC\u4FC2\u662F\u96A8\u6A5F\u7684\u9084\u662F\u7DDA\u6027\u7684\u3001
  851. \u81EA\u7531\u5EA6,\u7528\u65BC\u5728\u53C3\u7167\u9336\u4E2D\u67E5\u627EF\u7D71\u8A08\u503C\u4EE5\u4F30\u7B97\u53EF\u4FE1\u5EA6\u3001
  852. \u56DE\u6B78\u5E73\u65B9\u548C,\u4EE5\u53CA
  853. \u6B98\u5DEE\u5E73\u65B9\u548C\u3002`}]},LOGEST:{d:"\u5728\u56DE\u6B78\u5206\u6790\u4E2D,\u8A08\u7B97\u6700\u7B26\u5408\u6578\u64DA\u7684\u6307\u6578\u56DE\u6B78\u64EC\u5408\u66F2\u7DDA,\u4E26\u8FD4\u56DE\u63CF\u8FF0\u8A72\u66F2\u7DDA\u7684\u6578\u503C\u6578\u7D44\u3002",a:"\u5728\u56DE\u6B78\u5206\u6790\u4E2D,\u8A08\u7B97\u6700\u7B26\u5408\u6578\u64DA\u7684\u6307\u6578\u56DE\u6B78\u64EC\u5408\u66F2\u7DDA,\u4E26\u8FD4\u56DE\u63CF\u8FF0\u8A72\u66F2\u7DDA\u7684\u6578\u503C\u6578\u7D44\u3002",p:[{name:"known_y",detail:`\u95DC\u4FC2\u904B\u7B97\u5F0Fy = mx + b \u4E2D\u5DF2\u77E5\u7684y\u503C\u96C6\u5408\u3002
  854. \u5982\u679Cknown_y\u70BA\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D,\u5247known_x\u7684\u7DAD\u6578\u5FC5\u9808\u8207\u4E4B\u76F8\u540C,\u6216\u8005\u7701\u7565\u6B64\u53C3\u6578\u3002
  855. \u5982\u679Cknown_y\u70BA\u4E00\u7DAD\u6578\u7D44\u6216\u7BC4\u570D,known_x\u5247\u53EF\u4EE3\u8868\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D\u4E2D\u7684\u591A\u500B\u5F15\u6578\u3002\u4E5F\u5C31\u662F\u8AAA,\u5982\u679Cknown_y\u70BA\u55AE\u884C,\u5247\u5C07known_x\u4E2D\u7684\u6BCF\u884C\u89E3\u91CB\u70BA\u5404\u81EA\u7368\u7ACB\u7684\u503C,\u985E\u4F3C\u60C5\u51B5\u4E5F\u9069\u7528\u65BCknown_y\u70BA\u55AE\u5217\u7684\u60C5\u51B5\u3002`},{name:"known_x",detail:`[\u53EF\u9078 - \u9ED8\u8A8D\u8A72\u6578\u7D44\u70BA{1,2,3,\u2026},\u5176\u5927\u5C0F\u8207known_y\u76F8\u540C] - \u95DC\u4FC2\u904B\u7B97\u5F0Fy = mx + b\u4E2D\u5DF2\u77E5\u7684\u53EF\u9078x\u503C\u96C6\u5408\u3002
  856. \u5982\u679Cknown_y\u70BA\u4E00\u7DAD\u6578\u7D44\u6216\u7BC4\u570D,known_x\u5247\u53EF\u4EE3\u8868\u4E8C\u7DAD\u9663\u5217\u6216\u7BC4\u570D\u4E2D\u7684\u591A\u500B\u5F15\u6578\u3002\u4E5F\u5C31\u662F\u8AAA,\u5982\u679Cknown_y\u70BA\u55AE\u884C,\u5247\u5C07known_x\u4E2D\u7684\u6BCF\u884C\u89E3\u91CB\u70BA\u5404\u81EA\u7368\u7ACB\u7684\u503C,\u985E\u4F3C\u60C5\u51B5\u4E5F\u9069\u7528\u65BCknown_y\u70BA\u55AE\u5217\u7684\u60C5\u51B5\u3002`},{name:"const",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BATRUE\uFF08\uFF09] - \u4E00\u500B\u908F\u8F2F\u503C,\u7528\u65BC\u6307\u5B9A\u662F\u5426\u5C07\u5E38\u6578b\u5F37\u5236\u8A2D\u70BA0\u3002
  857. TRUE\uFF08\uFF09\u8868\u793Ab\u5C07\u6309\u6B63\u5E38\u8A08\u7B97\uFF1B
  858. FALSE\uFF08\uFF09\u8868\u793Ab\u5C07\u88AB\u8A2D\u70BA0\uFF08\u96F6\uFF09,m\u5C07\u88AB\u8ABF\u6574\u4EE5\u4F7Fy = mx\u3002`},{name:"stats",detail:`[\u53EF\u9078 - \u9810\u8A2D\u503C\u70BAFALSE\uFF08\uFF09] - \u4E00\u500B\u908F\u8F2F\u503C,\u7528\u65BC\u6307\u5B9A\u662F\u5426\u8FD4\u56DE\u9644\u52A0\u56DE\u6B78\u7D71\u8A08\u503C\u3002
  859. \u5982\u679C\u8A73\u7D30\u70BATRUE,\u5247\u9664\u4E86\u70BA\u6BCF\u500B\u5F15\u6578\u548C\u4FC2\u6578b\u8FD4\u56DE\u4E00\u7D44\u6307\u6578\u503C\u4E4B\u5916,LOGEST\u9084\u5C07\u8FD4\u56DE\u4EE5\u4E0B\u6578\u64DA:
  860. \u6BCF\u9805\u6307\u6578\u548C\u4FC2\u6578\u7684\u6A19\u6E96\u8AA4\u5DEE\u3001
  861. \u9650\u5B9A\u4FC2\u6578\uFF08\u4ECB\u65BC0\u548C1\u4E4B\u9593,1\u8868\u793A\u5B8C\u5168\u76F8\u95DC\uFF09\u3001
  862. \u56E0\u8B8A\u6578\u503C\u7684\u6A19\u51C6\u8AA4\u5DEE\u3001
  863. F\u7D71\u8A08\u6216F\u89C0\u6E2C\u503C,\u8A13\u793A\u6240\u89C0\u6E2C\u5230\u7684\u56E0\u8B8A\u6578\u548C\u5F15\u6578\u4E4B\u9593\u7684\u95DC\u4FC2\u662F\u96A8\u6A5F\u7684\u9084\u662F\u6307\u6578\u7684\u3001
  864. \u81EA\u7531\u5EA6-\u7528\u65BC\u5728\u53C3\u7167\u9336\u4E2D\u67E5\u627EF\u7D71\u8A08\u503C\u4EE5\u4F30\u7B97\u53EF\u4FE1\u5EA6\u3001
  865. \u56DE\u6B78\u5E73\u65B9\u548C,\u4EE5\u53CA
  866. \u6B98\u5DEE\u5E73\u65B9\u548C\u3002`}]},MDETERM:{d:"\u8FD4\u56DE\u4E00\u500B\u6578\u7D44\u7684\u77E9\u9663\u884C\u5217\u5F0F\u7684\u503C\u3002",a:"\u8FD4\u56DE\u4E00\u500B\u6578\u7D44\u7684\u77E9\u9663\u884C\u5217\u5F0F\u7684\u503C\u3002",p:[{name:"array",detail:"\u884C\u6578\u548C\u5217\u6578\u76F8\u7B49\u7684\u6578\u503C\u6578\u7D44\u3002"}]},MINVERSE:{d:"\u8FD4\u56DE\u6578\u7D44\u4E2D\u5B58\u5132\u7684\u77E9\u9663\u7684\u9006\u77E9\u9663\u3002",a:"\u8FD4\u56DE\u6578\u7D44\u4E2D\u5B58\u5132\u7684\u77E9\u9663\u7684\u9006\u77E9\u9663\u3002",p:[{name:"array",detail:"\u884C\u6578\u548C\u5217\u6578\u76F8\u7B49\u7684\u6578\u503C\u6578\u7D44\u3002"}]},MMULT:{d:"\u8FD4\u56DE\u5169\u500B\u6578\u7D44\u7684\u77E9\u9663\u4E58\u7A4D\u3002\u7D50\u679C\u77E9\u9663\u7684\u884C\u6578\u8207array1\u7684\u884C\u6578\u76F8\u540C,\u77E9\u9663\u7684\u5217\u6578\u8207array2\u7684\u5217\u6578\u76F8\u540C\u3002",a:"\u8FD4\u56DE\u5169\u500B\u6578\u7D44\u7684\u77E9\u9663\u4E58\u7A4D\u3002\u7D50\u679C\u77E9\u9663\u7684\u884C\u6578\u8207array1\u7684\u884C\u6578\u76F8\u540C,\u77E9\u9663\u7684\u5217\u6578\u8207array2\u7684\u5217\u6578\u76F8\u540C\u3002",p:[{name:"array1",detail:`\u8981\u9032\u884C\u77E9\u9663\u4E58\u6CD5\u904B\u7B97\u7684\u7B2C\u4E00\u500B\u77E9\u9663\u6578\u7D44\u3002
  867. array1\u5217\u6578\u5FC5\u9808\u8207array2\u7684\u884C\u6578\u76F8\u540C`},{name:"array2",detail:`\u8981\u9032\u884C\u77E9\u9663\u4E58\u6CD5\u904B\u7B97\u7684\u7B2C\u4E8C\u500B\u77E9\u9663\u6578\u7D44\u3002
  868. array2\u7684\u884C\u6578\u5FC5\u9808\u8207array1\u5217\u6578\u76F8\u540C`}]},SUMPRODUCT:{d:"\u5728\u7D66\u5B9A\u7684\u5E7E\u7D44\u6578\u7D44\u4E2D,\u5C07\u6578\u7D44\u9593\u5C0D\u61C9\u7684\u5143\u7D20\u76F8\u4E58,\u4E26\u8FD4\u56DE\u4E58\u7A4D\u4E4B\u548C\u3002",a:"\u5728\u7D66\u5B9A\u7684\u5E7E\u7D44\u6578\u7D44\u4E2D,\u5C07\u6578\u7D44\u9593\u5C0D\u61C9\u7684\u5143\u7D20\u76F8\u4E58,\u4E26\u8FD4\u56DE\u4E58\u7A4D\u4E4B\u548C\u3002",p:[{name:"array1",detail:"\u5176\u76F8\u61C9\u5143\u7D20\u9700\u8981\u9032\u884C\u76F8\u4E58\u4E26\u6C42\u548C\u7684\u7B2C\u4E00\u500B\u6578\u7D44\u53C3\u6578\u3002"},{name:"array2",detail:"[\u53EF\u9078] - \u5176\u76F8\u61C9\u5143\u7D20\u9700\u8981\u9032\u884C\u76F8\u4E58\u4E26\u6C42\u548C\u7684\u5176\u5B83\u6578\u7D44\u53C3\u6578\u3002"}]},ISFORMULA:{d:"\u6AA2\u67E5\u516C\u5F0F\u662F\u5426\u4F4D\u65BC\u5F15\u7528\u7684\u5132\u5B58\u683C\u4E2D\u3002",a:"\u6AA2\u67E5\u516C\u5F0F\u662F\u5426\u4F4D\u65BC\u5F15\u7528\u7684\u5132\u5B58\u683C\u4E2D\u3002",p:[{name:"cell",detail:`\u8981\u6AA2\u67E5\u662F\u5426\u5B58\u5728\u516C\u5F0F\u7684\u5132\u5B58\u683C\u3002
  869. \u5982\u679C cell \u70BA\u5305\u542B\u516C\u5F0F\u7684\u5132\u5B58\u683C,\u5247 ISFORMULA \u5C07\u8FD4\u56DETRUE\u3002\u5982\u679C cell \u70BA\u76F8\u61C9\u5132\u5B58\u683C\u7BC4\u570D,\u5247\u7576\u8A72\u7BC4\u570D\u5167\u7684\u9996\u500B\u5132\u5B58\u683C\u5305\u542B\u516C\u5F0F\u6642,\u7CFB\u7D71\u6703\u8FD4\u56DETRUE\u3002\u5982\u679C\u662F\u4EFB\u4F55\u5176\u4ED6\u503C,\u7CFB\u7D71\u90FD\u5C07\u8FD4\u56DEFALSE\u3002`}]},CELL:{d:"\u8FD4\u56DE\u6709\u95DC\u5132\u5B58\u683C\u7684\u683C\u5F0F\u3001\u4F4D\u7F6E\u6216\u5167\u5BB9\u7684\u8CC7\u8A0A\u3002",a:"\u8FD4\u56DE\u6709\u95DC\u5132\u5B58\u683C\u7684\u683C\u5F0F\u3001\u4F4D\u7F6E\u6216\u5167\u5BB9\u7684\u8CC7\u8A0A\u3002",p:[{name:"info_type",detail:"\u4E00\u500B\u6587\u5B57\u503C,\u6307\u5B9A\u8981\u8FD4\u56DE\u7684\u5132\u5B58\u683C\u8CC7\u8A0A\u7684\u985E\u578B\u3002"},{name:"reference",detail:"\u9700\u8981\u5176\u76F8\u95DC\u8CC7\u8A0A\u7684\u5132\u5B58\u683C\u3002"}]},NA:{d:"\u8FD4\u56DE\u932F\u8AA4\u503C#N/A\u3002",a:"\u8FD4\u56DE\u932F\u8AA4\u503C#N/A\u3002",p:[]},ERROR_TYPE:{d:"\u8FD4\u56DE\u8207\u5176\u4ED6\u5132\u5B58\u683C\u4E2D\u7684\u932F\u8AA4\u503C\u76F8\u5C0D\u61C9\u7684\u6578\u4F4D\u3002",a:"\u8FD4\u56DE\u8207\u5176\u4ED6\u5132\u5B58\u683C\u4E2D\u7684\u932F\u8AA4\u503C\u76F8\u5C0D\u61C9\u7684\u6578\u4F4D\u3002",p:[{name:"error_val",detail:"\u7528\u65BC\u67E5\u627E\u932F\u8AA4\u865F\u7684\u5132\u5B58\u683C,\u96D6\u7136\u60A8\u4E5F\u53EF\u4EE5\u76F4\u63A5\u63D0\u4F9B\u932F\u8AA4\u503C\u3002"}]},ISBLANK:{d:"\u6AA2\u67E5\u6240\u5F15\u7528\u7684\u5132\u5B58\u683C\u662F\u5426\u70BA\u7A7A\u3002",a:"\u6AA2\u67E5\u6240\u5F15\u7528\u7684\u5132\u5B58\u683C\u662F\u5426\u70BA\u7A7A\u3002",p:[{name:"value",detail:`\u5C0D\u8981\u6AA2\u67E5\u5176\u662F\u5426\u70BA\u7A7A\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528\u3002
  870. \u5982\u679C\u662F\u7A7A\u5132\u5B58\u683C,\u5247TRUE\uFF1B\u5426\u5247\u8FD4\u56DEFALSE\u3002`}]},ISERR:{d:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA#N/A\u4EE5\u5916\u7684\u932F\u8AA4\u503C\u3002",a:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA#N/A\u4EE5\u5916\u7684\u932F\u8AA4\u503C\u3002",p:[{name:"value",detail:`\u8981\u9A57\u8B49\u5176\u662F\u5426\u70BA#N/A\u4EE5\u5916\u7684\u932F\u8AA4\u985E\u578B\u7684\u503C\u3002
  871. \u5982\u679C\u503C\u662F\u9664#N/A\u4E4B\u5916\u7684\u4EFB\u4F55\u932F\u8AA4\uFF08\u5305\u62EC#DIV/0\uFF01\u3001#NAME\uFF1F\u3001#NULL\uFF01\u3001#NUM\uFF01\u3001#VALUE\uFF01\u548C#REF\uFF01\uFF09,ISERR\u5C07\u8FD4\u56DETRUE\u3002`}]},ISERROR:{d:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u932F\u8AA4\u503C\u3002",a:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u932F\u8AA4\u503C\u3002",p:[{name:"value",detail:`\u8981\u9A57\u8B49\u5176\u662F\u5426\u70BA\u932F\u8AA4\u985E\u578B\u7684\u503C\u3002
  872. \u53EA\u8981\u503C\u662F\u67D0\u7A2E\u932F\u8AA4\u503C\uFF08\u5305\u62EC#DIV/0\uFF01\u3001#N/A\u3001#NAME\uFF1F\u3001#NULL\uFF01\u3001#NUM\uFF01\u3001#VALUE\uFF01\u548C#REF\uFF01\uFF09,ISERROR\u5C31\u6703\u8FD4\u56DETRUE\u3002`}]},ISLOGICAL:{d:"\u6AA2\u67E5\u67D0\u500B\u503C\u662FTRUE\u9084\u662FFALSE\u3002",a:"\u6AA2\u67E5\u67D0\u500B\u503C\u662FTRUE\u9084\u662FFALSE\u3002",p:[{name:"value",detail:`\u8981\u9A57\u8B49\u5176\u70BA\u908F\u8F2F TRUE \u9084\u662F\u908F\u8F2F FALSE \u7684\u503C\u3002
  873. *\u5982\u679C\u503C\u70BATRUE\u6216FALSE,\u6216\u70BA\u6307\u5411\u503C\u70BATRUE\u6216FALSE\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,ISLOGICAL\u5C07\u8FD4\u56DETRUE\u3002`}]},ISNA:{d:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u932F\u8AA4\u503C#N/A\u3002",a:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u932F\u8AA4\u503C#N/A\u3002",p:[{name:"value",detail:`\u8981\u8207\u932F\u8AA4\u503C#N/A\u9032\u884C\u6BD4\u8F03\u7684\u503C\u3002
  874. *\u5982\u679C\u503C\u70BA#N/A\u6216\u6307\u5411\u5305\u542B#N/A\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,\u5247ISNA\u5C07\u8FD4\u56DETRUE,\u5426\u5247\u8FD4\u56DEFALSE\u3002`}]},ISNONTEXT:{d:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u975E\u6587\u5B57\u3002",a:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u975E\u6587\u5B57\u3002",p:[{name:"value",detail:`\u8981\u6AA2\u67E5\u7684\u6587\u5B57\u3002
  875. *\u5982\u679C\u53C3\u6578\u70BA\u6587\u5B57\u503C\u6216\u6307\u5411\u5305\u542B\u6587\u5B57\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,ISNONTEXT\u5C07\u8FD4\u56DEFALSE,\u5426\u5247\u8FD4\u56DETRUE\u3002
  876. \u7576\u503C\u70BA\u6307\u5411\u7A7A\u5132\u5B58\u683C\u7684\u5F15\u7528\u6642,ISNONTEXT\u6703\u8FD4\u56DETRUE\u3002
  877. \u7576\u503C\u70BA\u7A7A\u5B57\u4E32\u6642,ISNONTEXT\u5C07\u8FD4\u56DEFALSE,\u56E0\u70BA\u7A7A\u4E32\u88AB\u8996\u4F5C\u6587\u5B57\u3002`}]},ISNUMBER:{d:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u6578\u4F4D\u3002",a:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u6578\u4F4D\u3002",p:[{name:"value",detail:`\u8981\u9A57\u8B49\u5176\u662F\u5426\u70BA\u6578\u4F4D\u7684\u503C\u3002
  878. *\u5982\u679C\u53C3\u6578\u70BA\u6578\u4F4D\u6216\u6307\u5411\u5167\u5BB9\u70BA\u6578\u4F4D\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,ISNUMBER\u5C07\u8FD4\u56DETRUE,\u5426\u5247\u8FD4\u56DEFALSE\u3002`}]},ISREF:{d:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u6709\u6548\u7684\u5132\u5B58\u683C\u5F15\u7528\u3002",a:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u6709\u6548\u7684\u5132\u5B58\u683C\u5F15\u7528\u3002",p:[{name:"value",detail:`\u8981\u9A57\u8B49\u5176\u662F\u5426\u70BA\u5132\u5B58\u683C\u5F15\u7528\u7684\u503C\u3002
  879. *\u5982\u679C\u53C3\u6578\u662F\u6709\u6548\u7684\u5132\u5B58\u683C\u5F15\u7528,ISREF\u5C07\u8FD4\u56DETRUE,\u5426\u5247\u8FD4\u56DEFALSE\u3002`}]},ISTEXT:{d:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u6587\u5B57\u3002",a:"\u6AA2\u67E5\u67D0\u500B\u503C\u662F\u5426\u70BA\u6587\u5B57\u3002",p:[{name:"value",detail:`\u8981\u9A57\u8B49\u5176\u662F\u5426\u70BA\u6587\u5B57\u7684\u503C\u3002
  880. \u5982\u679C\u53C3\u6578\u70BA\u6587\u5B57\u503C\u6216\u6307\u5411\u5305\u542B\u6587\u5B57\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,ISTEXT\u5C07\u8FD4\u56DETRUE,\u5426\u5247\u8FD4\u56DEFALSE\u3002`}]},TYPE:{d:"\u8FD4\u56DE\u6578\u503C\u7684\u985E\u578B\u3002",a:"\u8FD4\u56DE\u6578\u503C\u7684\u985E\u578B\u3002",p:[{name:"value",detail:`\u8981\u78BA\u5B9A\u5176\u985E\u578B\u7684\u6578\u64DA\u3002
  881. \u6578\u4F4D\u8FD4\u56DE1\uFF1B
  882. \u6587\u5B57\u8FD4\u56DE2\uFF1B
  883. \u908F\u8F2F\u503C\u8FD4\u56DE4\uFF1B
  884. \u932F\u8AA4\u503C\u8FD4\u56DE16\uFF1B
  885. \u6578\u7D44\u8FD4\u56DE64\uFF1B`}]},N:{d:"\u8FD4\u56DE\u8F49\u5316\u70BA\u6578\u503C\u5F8C\u7684\u503C\u3002",a:"\u8FD4\u56DE\u8F49\u5316\u70BA\u6578\u503C\u5F8C\u7684\u503C\u3002",p:[{name:"value",detail:`\u8981\u8F49\u63DB\u70BA\u6578\u4F4D\u7684\u53C3\u6578\u3002
  886. \u5982\u679C\u503C\u70BA\u6578\u4F4D,\u5247\u8FD4\u56DE\u8A72\u6578\u4F4D\u3002
  887. \u5982\u679C\u503C\u70BA\u65E5\u671F,\u5247\u8FD4\u56DE\u8A72\u65E5\u671F\u7684\u5E8F\u865F\u3002
  888. \u5982\u679C\u503C\u70BATRUE,\u5247\u8FD4\u56DE1\u3002
  889. \u5982\u679C\u503C\u70BAFALSE,\u5247\u8FD4\u56DE0\u3002
  890. \u5982\u679C\u503C\u70BA\u932F\u8AA4\u503C,\u5247\u8FD4\u56DE\u932F\u8AA4\u503C\u3002
  891. \u5982\u679C\u503C\u70BA\u5176\u4ED6\u503C,\u5247\u8FD4\u56DE0\u3002`}]},TO_DATE:{d:"\u5C07\u6307\u5B9A\u7684\u6578\u4F4D\u8F49\u63DB\u70BA\u65E5\u671F\u3002",a:"\u5C07\u6307\u5B9A\u7684\u6578\u4F4D\u8F49\u63DB\u70BA\u65E5\u671F\u3002",p:[{name:"value",detail:`\u8981\u8F49\u63DB\u70BA\u65E5\u671F\u7684\u53C3\u6578\u6216\u5176\u5132\u5B58\u683C\u5F15\u7528\u3002
  892. \u5982\u679C\u503C\u70BA\u6578\u4F4D\u6216\u6307\u5411\u5167\u5BB9\u70BA\u6578\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,TO_DATE\u6703\u5C07\u503C\u8F49\u63DB\u70BA\u76F8\u61C9\u7684\u65E5\u671F\u4E26\u8FD4\u56DE,\u503C\u4EE3\u8868\u5F9E\u5341\u4E8C\u670830\u65E5\u5230\u5C0D\u61C9\u7684\u65E5\u671F\u4E4B\u9593\u7684\u5929\u6578,
  893. \u8CA0\u503C\u8868\u793A\u5C0D\u61C9\u7684\u65E5\u671F\u5728\u5341\u4E8C\u670830\u65E5\u4E4B\u524D,\u800C\u5C0F\u6578\u503C\u5247\u4EE3\u8868\u4E00\u5929\u4E2D\u5F9E\u5348\u591C\u7B97\u8D77\u7684\u6642\u9593\u3002
  894. \u5982\u679C\u503C\u4E0D\u662F\u6578\u4F4D\u6216\u6307\u5411\u5167\u5BB9\u70BA\u6578\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,\u5247TO_DATE\u5C07\u5728\u4E0D\u505A\u4EFB\u4F55\u4FEE\u6539\u7684\u60C5\u51B5\u4E0B\u8FD4\u56DE\u503C\u3002`}]},TO_PURE_NUMBER:{d:"\u5C07\u7D66\u5B9A\u7684\u65E5\u671F/\u6642\u9593\u3001\u767E\u5206\u6BD4\u3001\u8CA8\u5E63\u91D1\u984D\u6216\u5176\u4ED6\u683C\u5F0F\u7684\u6578\u503C\u8F49\u63DB\u70BA\u4E0D\u5E36\u683C\u5F0F\u7684\u7D14\u6578\u4F4D\u3002",a:"\u5C07\u7D66\u5B9A\u7684\u65E5\u671F/\u6642\u9593\u3001\u767E\u5206\u6BD4\u3001\u8CA8\u5E63\u91D1\u984D\u6216\u5176\u4ED6\u683C\u5F0F\u7684\u6578\u503C\u8F49\u63DB\u70BA\u4E0D\u5E36\u683C\u5F0F\u7684\u7D14\u6578\u4F4D\u3002",p:[{name:"value",detail:`\u8981\u8F49\u63DB\u70BA\u7D14\u6578\u4F4D\u7684\u53C3\u6578\u6216\u5176\u5132\u5B58\u683C\u5F15\u7528\u3002
  895. \u5982\u679C\u503C\u70BA\u6578\u4F4D\u6216\u6307\u5411\u5305\u542B\u6578\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,TO_PURE_NUMBER\u5C07\u4EE5\u4E0D\u5E36\u4EFB\u4F55\u683C\u5F0F\u8207\u89E3\u91CB\u7684\u5F62\u5F0F\u8FD4\u56DE\u503C\u3002
  896. \u5982\u679C\u503C\u4E0D\u662F\u6578\u4F4D\u6216\u6307\u5411\u5167\u5BB9\u70BA\u6578\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,\u5247TO_PERCENT\u5C07\u5728\u4E0D\u505A\u4EFB\u4F55\u4FEE\u6539\u7684\u60C5\u51B5\u4E0B\u8FD4\u56DE\u503C\u3002`}]},TO_TEXT:{d:"\u5C07\u7D66\u5B9A\u7684\u6578\u4F4D\u503C\u8F49\u63DB\u70BA\u6587\u672C\u683C\u5F0F\u3002",a:"\u5C07\u7D66\u5B9A\u7684\u6578\u4F4D\u503C\u8F49\u63DB\u70BA\u6587\u672C\u683C\u5F0F\u3002",p:[{name:"value",detail:`\u8981\u8F49\u63DB\u70BA\u6587\u5B57\u7684\u53C3\u6578\u6216\u5176\u5132\u5B58\u683C\u5F15\u7528\u3002
  897. \u5982\u679C\u503C\u70BA\u6578\u4F4D\u6216\u6307\u5411\u5305\u542B\u6578\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,TO_TEXT\u5C07\u8FD4\u56DE\u5B57\u4E32\u5F62\u5F0F\u7684\u503C,\u4E26\u4FDD\u6301\u73FE\u6709\u683C\u5F0F\u3002\u5373\u539F\u70BA\u8CA8\u5E63\u7684\u4ECD\u70BA\u8CA8\u5E63,\u539F\u70BA\u5341\u9032\u4F4D\u6578\u7684\u4ECD\u70BA\u5341\u9032\u4F4D\u6578,\u539F\u70BA\u767E\u5206\u6BD4\u7684\u4ECD\u70BA\u767E\u5206\u6BD4,\u539F\u70BA\u65E5\u671F\u7684\u4ECD\u70BA\u65E5\u671F\u3002
  898. \u5982\u679C\u503C\u4E0D\u662F\u6578\u4F4D\u6216\u6307\u5411\u5167\u5BB9\u70BA\u6578\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,\u5247TO_TEXT\u5C07\u5728\u4E0D\u505A\u4EFB\u4F55\u4FEE\u6539\u7684\u60C5\u51B5\u4E0B\u8FD4\u56DE\u503C\u3002`}]},TO_DOLLARS:{d:"\u5C07\u6307\u5B9A\u7684\u6578\u4F4D\u8F49\u63DB\u70BA\u7F8E\u5143\u91D1\u984D\u3002",a:"\u5C07\u6307\u5B9A\u7684\u6578\u4F4D\u8F49\u63DB\u70BA\u7F8E\u5143\u91D1\u984D\u3002",p:[{name:"value",detail:`\u8981\u8F49\u63DB\u70BA\u7F8E\u5143\u91D1\u984D\u7684\u53C3\u6578\u6216\u5176\u5132\u5B58\u683C\u5F15\u7528\u3002
  899. \u5982\u679C\u503C\u4E0D\u662F\u6578\u4F4D\u6216\u6307\u5411\u5167\u5BB9\u70BA\u6578\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,\u5247TO_DOLLARS\u5C07\u5728\u4E0D\u505A\u4EFB\u4F55\u4FEE\u6539\u7684\u60C5\u51B5\u4E0B\u8FD4\u56DE\u503C\u3002`}]},TO_PERCENT:{d:"\u5C07\u6307\u5B9A\u7684\u6578\u4F4D\u8F49\u63DB\u70BA\u767E\u5206\u6BD4\u3002",a:"\u5C07\u6307\u5B9A\u7684\u6578\u4F4D\u8F49\u63DB\u70BA\u767E\u5206\u6BD4\u3002",p:[{name:"value",detail:`\u8981\u8F49\u63DB\u70BA\u767E\u5206\u6BD4\u7684\u53C3\u6578\u6216\u5176\u5132\u5B58\u683C\u5F15\u7528\u3002
  900. \u5982\u679C\u503C\u70BA\u6578\u4F4D\u6216\u6307\u5411\u5305\u542B\u6578\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,TO_PERCENT\u6703\u4EE51 = 100%\u70BA\u6A19\u6E96,\u5C07\u503C\u8F49\u63DB\u70BA\u767E\u5206\u6BD4\u3002
  901. \u5982\u679C\u503C\u4E0D\u662F\u6578\u4F4D\u6216\u6307\u5411\u5167\u5BB9\u70BA\u6578\u503C\u7684\u5132\u5B58\u683C\u7684\u5F15\u7528,\u5247TO_PERCENT\u5C07\u5728\u4E0D\u505A\u4EFB\u4F55\u4FEE\u6539\u7684\u60C5\u51B5\u4E0B\u8FD4\u56DE\u503C\u3002`}]},DGET:{d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u5F9E\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5217\u4E2D\u9078\u53D6\u7B26\u5408\u6307\u5B9A\u689D\u4EF6\u7684\u55AE\u500B\u503C\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u5F9E\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5217\u4E2D\u9078\u53D6\u7B26\u5408\u6307\u5B9A\u689D\u4EF6\u7684\u55AE\u500B\u503C\u3002",p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
  902. field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002"}]},DMAX:{d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6700\u5927\u6578\u4F4D\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6700\u5927\u6578\u4F4D\u3002",p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
  903. field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002"}]},DMIN:{d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6700\u5C0F\u6578\u4F4D\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6700\u5C0F\u6578\u4F4D\u3002",p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
  904. field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002"}]},DAVERAGE:{d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u5C0D\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u503C\u6C42\u5E73\u5747\u503C\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u5C0D\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u503C\u6C42\u5E73\u5747\u503C\u3002",p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
  905. field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002"}]},DCOUNT:{d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u5305\u542B\u6578\u4F4D\u7684\u5132\u5B58\u683C\u7684\u500B\u6578\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u5305\u542B\u6578\u4F4D\u7684\u5132\u5B58\u683C\u7684\u500B\u6578\u3002",p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
  906. field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002"}]},DCOUNTA:{d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u975E\u7A7A\u5132\u5B58\u683C\u7684\u500B\u6578\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u975E\u7A7A\u5132\u5B58\u683C\u7684\u500B\u6578\u3002",p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
  907. field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002"}]},DPRODUCT:{d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u503C\u7684\u4E58\u7A4D\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u503C\u7684\u4E58\u7A4D\u3002",p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
  908. field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002"}]},DSTDEV:{d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5229\u7528\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u4F4D\u4F5C\u70BA\u4E00\u500B\u6A23\u672C\u4F30\u7B97\u51FA\u7684\u7E3D\u9AD4\u6A19\u6E96\u5DEE\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5229\u7528\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u4F4D\u4F5C\u70BA\u4E00\u500B\u6A23\u672C\u4F30\u7B97\u51FA\u7684\u7E3D\u9AD4\u6A19\u6E96\u5DEE\u3002",p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
  909. field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002"}]},DSTDEVP:{d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5229\u7528\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u4F4D\u4F5C\u70BA\u6A23\u672C\u7E3D\u9AD4\u8A08\u7B97\u51FA\u7684\u7E3D\u9AD4\u6A19\u6E96\u5DEE\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5229\u7528\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u4F4D\u4F5C\u70BA\u6A23\u672C\u7E3D\u9AD4\u8A08\u7B97\u51FA\u7684\u7E3D\u9AD4\u6A19\u6E96\u5DEE\u3002",p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
  910. field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002"}]},DSUM:{d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u4F4D\u4E4B\u548C\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5217\u8868\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u4F4D\u4E4B\u548C\u3002",p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
  911. field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002"}]},DVAR:{d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5229\u7528\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u4F4D\u4F5C\u70BA\u4E00\u500B\u6A23\u672C\u4F30\u7B97\u51FA\u7684\u7E3D\u9AD4\u65B9\u5DEE\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u8FD4\u56DE\u5229\u7528\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u4F4D\u4F5C\u70BA\u4E00\u500B\u6A23\u672C\u4F30\u7B97\u51FA\u7684\u7E3D\u9AD4\u65B9\u5DEE\u3002",p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
  912. field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002"}]},DVARP:{d:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u901A\u904E\u4F7F\u7528\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u4F4D\u8A08\u7B97\u6A23\u672C\u7E3D\u9AD4\u7684\u6A23\u672C\u7E3D\u9AD4\u65B9\u5DEE\u3002",a:"\u4F7F\u7528SQL\u5F0F\u67FB\u8A62,\u901A\u904E\u4F7F\u7528\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u4E2D\u6EFF\u8DB3\u6307\u5B9A\u689D\u4EF6\u7684\u8A18\u9304\u6B04\u4F4D\uFF08\u5217\uFF09\u4E2D\u7684\u6578\u4F4D\u8A08\u7B97\u6A23\u672C\u7E3D\u9AD4\u7684\u6A23\u672C\u7E3D\u9AD4\u65B9\u5DEE\u3002",p:[{name:"database",detail:"\u69CB\u6210\u6E05\u55AE\u6216\u8CC7\u6599\u5EAB\u7684\u5132\u5B58\u683C\u5340\u57DF,\u6E05\u55AE\u7684\u7B2C\u4E00\u884C\u5305\u542B\u6BCF\u4E00\u5217\u7684\u6A19\u7C64\u3002"},{name:"field",detail:`\u6307\u5B9Adatabase\u4E2D\u7684\u54EA\u4E00\u5217\u5305\u542B\u8981\u9078\u53D6\u548C\u7528\u65BC\u8A08\u7B97\u7684\u503C\u3002
  913. field\u53EF\u4EE5\u662F\u8207database\u7B2C\u4E00\u884C\u4E2D\u67D0\u500B\u5217\u6A19\u984C\u5C0D\u61C9\u7684\u6587\u5B57\u6A19\u7C64,\u4E5F\u53EF\u4EE5\u662F\u6307\u5B9A\u76F8\u95DC\u5217\u7684\u6578\u4F4D\u7D22\u5F15,\u7B2C\u4E00\u5217\u7684\u7D22\u5F15\u503C\u70BA1\u3002`},{name:"criteria",detail:"\u5305\u542B\u6240\u6307\u5B9A\u689D\u4EF6\u7684\u5132\u5B58\u683C\u5340\u57DF\u3002\u8A08\u7B97\u4E4B\u524D\u5C07\u4F7F\u7528\u9019\u4E9B\u689D\u4EF6\u4F86\u904E\u6FFEdatabase\u4E2D\u7684\u503C\u3002"}]},AGE_BY_IDCARD:{d:"\u64DA\u4E2D\u570B\u8EAB\u4EFD\u8B49\u865F\u8A08\u7B97\u51FA\u5E74\u9F61\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8B49",a:"\u64DA\u4E2D\u570B\u8EAB\u4EFD\u8B49\u865F\u8A08\u7B97\u51FA\u5E74\u9F61",p:[{name:"\u8EAB\u4EFD\u8B49\u865F",detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8B49\u865F\u6216\u7BC4\u570D\u3002"},{name:"\u622A\u6B62\u65E5\u671F",detail:"\u5E74\u9F61\u8A08\u7B97\u7684\u622A\u6B62\u65E5\u671F\u6216\u7BC4\u570D,\u9ED8\u8A8D\u70BA\u7576\u65E5\u3002"}]},SEX_BY_IDCARD:{d:"\u6839\u64DA\u4E2D\u570B\u8EAB\u4EFD\u8B49\u865F\u8A08\u7B97\u51FA\u6027\u5225\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8B49",a:"\u6839\u64DA\u8EAB\u4EFD\u8B49\u865F\u5F97\u5230\u6027\u5225\u3002",p:[{name:"\u8EAB\u4EFD\u8B49\u865F",detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8B49\u865F\u6216\u7BC4\u570D\u3002"}]},BIRTHDAY_BY_IDCARD:{d:"\u6839\u64DA\u4E2D\u570B\u8EAB\u4EFD\u8B49\u865F\u8A08\u7B97\u51FA\u751F\u65E5\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8B49",a:"\u6839\u64DA\u8EAB\u4EFD\u8B49\u865F\u5F97\u5230\u751F\u65E5\u3002",p:[{name:"\u8EAB\u4EFD\u8B49\u865F",detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8B49\u865F\u6216\u7BC4\u570D\u3002"},{name:"\u751F\u65E5\u683C\u5F0F",detail:"\u65E5\u671F\u985E\u578B,\u9ED8\u8A8D0:[1900/01/01],1:[1900-01-01],2:[1900\u5E741\u67081\u65E5]"}]},PROVINCE_BY_IDCARD:{d:"\u6839\u64DA\u4E2D\u570B\u8EAB\u4EFD\u8B49\u865F\u8A08\u7B97\u51FA\u7C4D\u8CAB\u7684\u7701\u4EFD\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8B49",a:"\u6839\u64DA\u8EAB\u4EFD\u8B49\u865F\u5F97\u5230\u7C4D\u8CAB\u7684\u7701\u4EFD\u3002",p:[{name:"\u8EAB\u4EFD\u8B49\u865F",detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8B49\u865F\u6216\u7BC4\u570D\u3002"}]},CITY_BY_IDCARD:{d:"\u6839\u64DA\u4E2D\u570B\u8EAB\u4EFD\u8B49\u865F\u8A08\u7B97\u51FA\u7C4D\u8CAB\u7684\u90FD\u5E02\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8B49",a:"\u6839\u64DA\u8EAB\u4EFD\u8B49\u865F\u5F97\u5230\u7C4D\u8CAB\u7684\u90FD\u5E02\u3002",p:[{name:"\u8EAB\u4EFD\u8B49\u865F",detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8B49\u865F\u6216\u7BC4\u570D\u3002"}]},STAR_BY_IDCARD:{d:"\u6839\u64DA\u4E2D\u570B\u8EAB\u4EFD\u8B49\u865F\u8A08\u7B97\u51FA\u661F\u5EA7\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8B49",a:"\u6839\u64DA\u8EAB\u4EFD\u8B49\u865F\u5F97\u5230\u661F\u5EA7\u3002",p:[{name:"\u8EAB\u4EFD\u8B49\u865F",detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8B49\u865F\u6216\u7BC4\u570D\u3002"}]},ANIMAL_BY_IDCARD:{d:"\u6839\u64DA\u4E2D\u570B\u8EAB\u4EFD\u8B49\u865F\u8A08\u7B97\u51FA\u751F\u8096\uFF08\u9F20\u3001\u725B\u3001\u864E\u3001\u5154\u2026\uFF09\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8B49",a:"\u6839\u64DA\u8EAB\u4EFD\u8B49\u865F\u5F97\u5230\u751F\u8096\u3002",p:[{name:"\u8EAB\u4EFD\u8B49\u865F",detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8B49\u865F\u6216\u7BC4\u570D\u3002"}]},ISIDCARD:{d:"\u9A57\u8B49\u8EAB\u4EFD\u8B49\u7684\u683C\u5F0F\u662F\u5426\u6B63\u78BA\u3002\u652F\u630115\u4F4D\u621618\u4F4D\u8EAB\u4EFD\u8B49",a:"\u9A57\u8B49\u8EAB\u4EFD\u8B49\u683C\u5F0F\u6B63\u78BA\u6027\u3002",p:[{name:"\u8EAB\u4EFD\u8B49\u865F",detail:"15\u4F4D\u6216\u800518\u4F4D\u7684\u8EAB\u4EFD\u8B49\u865F\u6216\u7BC4\u570D\u3002"}]},DM_TEXT_CUTWORD:{d:"\u6587\u5B57\u5206\u8A5E\u3002\u628A\u4E00\u9023\u4E32\u6587\u5B57\u6298\u958B\u70BA\u4E00\u7CFB\u5217\u55AE\u7368\u8A5E\u8A9E",a:"\u4E2D\u6587\u6587\u5B57\u5206\u8A5E\u3002",p:[{name:"\u6587\u5B57",detail:"\u4EFB\u610F\u9700\u8981\u5206\u8A5E\u7684\u6587\u5B57\u3002"},{name:"\u5206\u8A5E\u6A21\u5F0F",detail:"\u9ED8\u8A8D\u70BA0[\u7CBE\u78BA\u6A21\u5F0F]\uFF0C1[\u5168\u6A21\u5F0F]\uFF0C2[\u641C\u5C0B\u5F15\u64CE\u6A21\u5F0F]\u3002"}]},DM_TEXT_TFIDF:{d:"\u63A1\u7528tf-idf\u7B97\u704B\u9032\u884C\u95DC\u9375\u5B57\u9078\u53D6\u3002\u5F9E\u4E00\u9023\u4E32\u6587\u5B57\u4E2D\u8B58\u5225\u95DC\u9375\u5B57",a:"tf-idf\u95DC\u9375\u5B57\u8B58\u5225\u3002",p:[{name:"\u6587\u5B57",detail:"\u4EFB\u610F\u9700\u8981\u5206\u8A5E\u7684\u6587\u5B57\u3002"},{name:"\u95DC\u9375\u5B57\u500B\u6578",detail:"\u7B97\u704B\u8FD4\u56DE\u7684\u95DC\u9375\u5B57\u500B\u6578\uFF0C\u9ED8\u8A8D20"},{name:"\u8A9E\u6599\u5EAB",detail:"\u9078\u64C7\u7279\u5B9A\u9818\u57DF\u7684\u8A9E\u6599\u5EAB\uFF0C\u9ED8\u8A8D0[\u901A\u7528]\uFF0C1[\u91D1\u878D]\uFF0C2[\u91AB\u7642]"}]},DM_TEXT_TEXTRANK:{d:"\u63A1\u7528TextRank\u7B97\u704B\u9032\u884C\u95DC\u9375\u5B57\u9078\u53D6\u3002\u5F9E\u4E00\u9023\u4E32\u6587\u5B57\u4E2D\u8B58\u5225\u95DC\u9375\u5B57",a:"TextRank\u95DC\u9375\u5B57\u8B58\u5225\u3002",p:[{name:"\u6587\u5B57",detail:"\u4EFB\u610F\u9700\u8981\u5206\u8A5E\u7684\u6587\u5B57\u3002"},{name:"\u95DC\u9375\u5B57\u500B\u6578",detail:"\u7B97\u704B\u8FD4\u56DE\u7684\u95DC\u9375\u5B57\u500B\u6578\uFF0C\u9ED8\u8A8D20"},{name:"\u8A9E\u6599\u5EAB",detail:"\u9078\u64C7\u7279\u5B9A\u9818\u57DF\u7684\u8A9E\u6599\u5EAB\uFF0C\u9ED8\u8A8D0[\u901A\u7528]\uFF0C1[\u91D1\u878D]\uFF0C2[\u91AB\u7642]"}]},DATA_CN_STOCK_CLOSE:{d:"\u6839\u64DA\u80A1\u7968\u4EE3\u78BC\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u6536\u76E4\u50F9\u3002",a:"\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u6536\u76E4\u50F9\u3002",p:[{name:"\u80A1\u7968\u4EE3\u78BC",detail:"6\u4F4D\u80A1\u7968\u4EE3\u78BC\uFF0C\u5FC5\u586B\u9805\u3002"},{name:"\u65E5\u671F",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8A8D\u70BA\u6700\u65B0\u4EA4\u6613\u65E5"},{name:"\u8907\u6B0A\u9664\u6B0A",detail:"\u9078\u64C7\u80A1\u7968\u7684\u9664\u6B0A\u8907\u6B0A\u985E\u578B\uFF0C\u9ED8\u8A8D0[\u524D\u8907\u6B0A]\uFF0C1[\u539F\u59CB\u50F9\u683C]\uFF0C2[\u5F8C\u8907\u6B0A]"}]},DATA_CN_STOCK_OPEN:{d:"\u6839\u64DA\u80A1\u7968\u4EE3\u78BC\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u958B\u76E4\u50F9\u3002",a:"\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u958B\u76E4\u50F9\u3002",p:[{name:"\u80A1\u7968\u4EE3\u78BC",detail:"6\u4F4D\u80A1\u7968\u4EE3\u78BC\uFF0C\u5FC5\u586B\u9805\u3002"},{name:"\u65E5\u671F",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8A8D\u70BA\u6700\u65B0\u4EA4\u6613\u65E5"},{name:"\u8907\u6B0A\u9664\u6B0A",detail:"\u9078\u64C7\u80A1\u7968\u7684\u9664\u6B0A\u8907\u6B0A\u985E\u578B\uFF0C\u9ED8\u8A8D0[\u524D\u8907\u6B0A]\uFF0C1[\u539F\u59CB\u50F9\u683C]\uFF0C2[\u5F8C\u8907\u6B0A]"}]},DATA_CN_STOCK_MAX:{d:"\u6839\u64DA\u80A1\u7968\u4EE3\u78BC\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u6700\u9AD8\u50F9\u3002",a:"\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u6700\u9AD8\u50F9\u3002",p:[{name:"\u80A1\u7968\u4EE3\u78BC",detail:"6\u4F4D\u80A1\u7968\u4EE3\u78BC\uFF0C\u5FC5\u586B\u9805\u3002"},{name:"\u65E5\u671F",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8A8D\u70BA\u6700\u65B0\u4EA4\u6613\u65E5"},{name:"\u8907\u6B0A\u9664\u6B0A",detail:"\u9078\u64C7\u80A1\u7968\u7684\u9664\u6B0A\u8907\u6B0A\u985E\u578B\uFF0C\u9ED8\u8A8D0[\u524D\u8907\u6B0A]\uFF0C1[\u539F\u59CB\u50F9\u683C]\uFF0C2[\u5F8C\u8907\u6B0A]"}]},DATA_CN_STOCK_MIN:{d:"\u6839\u64DA\u80A1\u7968\u4EE3\u78BC\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u6700\u4F4E\u50F9\u3002",a:"\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u6700\u4F4E\u50F9\u3002",p:[{name:"\u80A1\u7968\u4EE3\u78BC",detail:"6\u4F4D\u80A1\u7968\u4EE3\u78BC\uFF0C\u5FC5\u586B\u9805\u3002"},{name:"\u65E5\u671F",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5,\u9ED8\u8BA4\u4E3A\u6700\u65B0\u4EA4\u6613\u65E5"},{name:"\u8907\u6B0A\u9664\u6B0A",detail:"\u9078\u64C7\u80A1\u7968\u7684\u9664\u6B0A\u8907\u6B0A\u985E\u578B\uFF0C\u9ED8\u8A8D0[\u524D\u8907\u6B0A]\uFF0C1[\u539F\u59CB\u50F9\u683C]\uFF0C2[\u5F8C\u8907\u6B0A]"}]},DATA_CN_STOCK_VOLUMN:{d:"\u6839\u64DA\u80A1\u7968\u4EE3\u78BC\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u6210\u4EA4\u91CF\u3002",a:"\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u6210\u4EA4\u91CF\u3002",p:[{name:"\u80A1\u7968\u4EE3\u78BC",detail:"6\u4F4D\u80A1\u7968\u4EE3\u78BC\uFF0C\u5FC5\u586B\u9805\u3002"},{name:"\u65E5\u671F",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8A8D\u70BA\u6700\u65B0\u4EA4\u6613\u65E5"},{name:"\u8907\u6B0A\u9664\u6B0A",detail:"\u9078\u64C7\u80A1\u7968\u7684\u9664\u6B0A\u8907\u6B0A\u985E\u578B\uFF0C\u9ED8\u8A8D0[\u524D\u8907\u6B0A]\uFF0C1[\u539F\u59CB\u50F9\u683C]\uFF0C2[\u5F8C\u8907\u6B0A]"}]},DATA_CN_STOCK_AMOUNT:{d:"\u6839\u64DA\u80A1\u7968\u4EE3\u78BC\u548C\u65E5\u671F\uFF0C\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u6210\u4EA4\u984D\u3002",a:"\u8FD4\u56DEA\u80A1\u5C0D\u61C9\u80A1\u7968\u6210\u4EA4\u984D\u3002",p:[{name:"\u80A1\u7968\u4EE3\u78BC",detail:"6\u4F4D\u80A1\u7968\u4EE3\u78BC\uFF0C\u5FC5\u586B\u9805\u3002"},{name:"\u65E5\u671F",detail:"\u80A1\u7968\u7684\u4EA4\u6613\u65E5\uFF0C\u9ED8\u8A8D\u70BA\u6700\u65B0\u4EA4\u6613\u65E5"},{name:"\u8907\u6B0A\u9664\u6B0A",detail:"\u9078\u64C7\u80A1\u7968\u7684\u9664\u6B0A\u8907\u6B0A\u985E\u578B\uFF0C\u9ED8\u8A8D0[\u524D\u8907\u6B0A]\uFF0C1[\u539F\u59CB\u50F9\u683C]\uFF0C2[\u5F8C\u8907\u6B0A]"}]},ISDATE:{d:"\u9A57\u8B49\u65E5\u671F\u7684\u683C\u5F0F\u662F\u5426\u6B63\u78BA\u3002\u652F\u6301\u591A\u7A2E\u65E5\u671F\u683C\u5F0F",a:"\u9A57\u8B49\u65E5\u671F\u683C\u5F0F\u6B63\u78BA\u6027\u3002",p:[{name:"\u65E5\u671F",detail:"\u65E5\u671F\u503C,\u4F8B\u59821990/01/01, 1990\u5E741\u67081\u65E5\u7B49\u3002"}]},LINESPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u6298\u7DDA\u5716sparklines\uFF0C\u7528\u65BC\u63CF\u8FF0\u6578\u64DA\u7684\u9023\u7E8C\u8D70\u52E2",a:"\u751F\u6210\u5132\u5B58\u683C\u6298\u7DDA\u5716",p:[{name:"\u6578\u64DA\u7BC4\u570D",detail:"\u6578\u64DA\u7BC4\u570D\uFF0C\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C{1,2,3,4,5}\u7B49\u3002"},{name:"\u7DDA\u689D\u984F\u8272",detail:"\u7DDA\u5716\u7684\u7DDA\u689D\u984F\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u500B\u7BC4\u570DA1\u3001\u8272\u9336\u7D22\u5F15\u6578\u503C\u6216\u8005\u5177\u9AD4\u984F\u8272\u503C\uFF0C\u8A2D\u5B9A\u70BA0\u6216false\u5247\u4E0D\u986F\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8A8D#2ec7c9"},{name:"\u7DDA\u689D\u7C97\u7D30",detail:"\u6298\u7DDA\u5716\u7DDA\u6BB5\u7C97\u7D30\uFF0C\u9ED8\u8A8D\u70BA1px"},{name:"\u8F14\u52A9\u7DDA",detail:"\u4E00\u689D\u6A6B\u7DDA\uFF0C\u53EF\u4EE5\u662Fmin\u3001max\u3001avg\u3001median\u3001\u7BC4\u570D\u6216\u81EA\u5B9A\u7FA9\u6578\u503C\uFF0C\u9ED8\u8A8D0\u7121"},{name:"\u8F14\u52A9\u7DDA\u984F\u8272",detail:"\u8F14\u52A9\u7DDA\u7684\u984F\u8272\u8A2D\u5B9A\uFF0C\u540C\u7DDA\u689D\u984F\u8272\u914D\u5BD8\uFF0C\u9ED8\u8A8D#000"},{name:"\u6700\u5927\u503C\u6A19\u8B58",detail:"\u6A19\u8B58\u7DDA\u5716\u6700\u5927\u503C\uFF0C\u540C\u7DDA\u689D\u984F\u8272\u914D\u5BD8\uFF0C\u9ED8\u8A8D0\u4E0D\u986F\u793A"},{name:"\u6700\u5C0F\u503C\u6A19\u8B58",detail:"\u6A19\u8B58\u7DDA\u5716\u6700\u5C0F\u503C\uFF0C\u540C\u7DDA\u689D\u984F\u8272\u914D\u5BD8\uFF0C\u9ED8\u8A8D0\u4E0D\u986F\u793A"},{name:"\u6A19\u8B58\u5927\u5C0F",detail:"\u6700\u5927\u503C\u548C\u6700\u5C0F\u503C\u7684\u6A19\u8B58\u5927\u5C0F\u8A2D\u5B9A\uFF0C\u9ED8\u8A8D\u70BA1.5"}]},AREASPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u9762\u7A4D\u5716sparklines\uFF0C\u4E00\u822C\u7528\u65BC\u63CF\u8FF0\u6578\u64DA\u7684\u9023\u7E8C\u7D2F\u7A4D\u503C\u8D70\u52E2",a:"\u751F\u6210\u5132\u5B58\u683C\u9762\u7A4D\u5716",p:[{name:"\u6578\u64DA\u7BC4\u570D",detail:"\u6578\u64DA\u7BC4\u570D\uFF0C\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C{1,2,3,4,5}\u7B49\u3002"},{name:"\u7DDA\u689D\u984F\u8272",detail:"\u7DDA\u5716\u7684\u7DDA\u689D\u984F\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u500B\u7BC4\u570DA1\u3001\u8272\u9336\u7D22\u5F15\u6578\u503C\u6216\u8005\u5177\u9AD4\u984F\u8272\u503C\uFF0C\u8A2D\u5B9A\u70BA0\u6216false\u5247\u4E0D\u986F\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8A8D#2ec7c9"},{name:"\u586B\u5145\u984F\u8272",detail:"\u5F62\u6210\u9762\u7A4D\u5716\uFF0C\u540C\u7DDA\u689D\u984F\u8272\u914D\u5BD8\uFF0C\u9ED8\u8A8D0\u4E0D\u986F\u793A"},{name:"\u7DDA\u689D\u7C97\u7D30",detail:"\u6298\u7DDA\u5716\u7DDA\u6BB5\u7C97\u7D30\uFF0C\u9ED8\u8A8D\u70BA1px"},{name:"\u8F14\u52A9\u7DDA",detail:"\u4E00\u689D\u6A6B\u7DDA\uFF0C\u53EF\u4EE5\u662Fmin\u3001max\u3001avg\u3001median\u3001\u7BC4\u570D\u6216\u81EA\u5B9A\u7FA9\u6578\u503C\uFF0C\u9ED8\u8A8D0\u7121"},{name:"\u8F14\u52A9\u7DDA\u984F\u8272",detail:"\u8F14\u52A9\u7DDA\u7684\u984F\u8272\u8A2D\u5B9A\uFF0C\u540C\u7DDA\u689D\u984F\u8272\u914D\u5BD8\uFF0C\u9ED8\u8A8D#000"}]},COLUMNSPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u5782\u76F4\u67F1\u72C0\u5716sparklines\uFF0C\u4E00\u822C\u7528\u65BC\u63CF\u8FF0\u96E2\u6563\u6578\u64DA\u4E4B\u9593\u7684\u5927\u5C0F\u60C5\u51B5",a:"\u751F\u6210\u5132\u5B58\u683C\u5782\u76F4\u67F1\u72C0\u5716",p:[{name:"\u6578\u64DA\u7BC4\u570D",detail:"\u6578\u64DA\u7BC4\u570D\uFF0C\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C{1,2,3,4,5}\u7B49\u3002"},{name:"\u67F1\u689D\u9593\u9694",detail:"\u67F1\u689D\u4E4B\u9593\u7684\u9593\u9694\u8DDD\u96E2\uFF0C\u9ED8\u8A8D\u70BA1"},{name:"\u67F1\u689D\u984F\u8272",detail:"\u7DDA\u5716\u7684\u7DDA\u689D\u984F\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u500B\u7BC4\u570DA1\u3001\u8272\u9336\u7D22\u5F15\u6578\u503C\u6216\u8005\u5177\u9AD4\u984F\u8272\u503C\uFF0C\u8A2D\u5B9A\u70BA0\u6216false\u5247\u4E0D\u986F\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8A8D#fc5c5c"},{name:"\u8CA0\u5411\u67F1\u689D\u984F\u8272",detail:"\u8CA0\u5411\u67F1\u689D\u984F\u8272\u8A2D\u5B9A\uFF0C\u4EE3\u8868\u8CA0\u503C\u7684\u984F\u8272\uFF0C\u540C\u67F1\u689D\u984F\u8272\u914D\u5BD8\uFF0C\u9ED8\u8A8D#97b552"},{name:"\u6700\u5927\u503C",detail:"\u67F1\u5716\u6700\u5927\u503C\uFF0C\u7528\u65BC\u898F\u7BC4\u67F1\u5716\u9577\u5EA6\uFF0C\u9ED8\u8A8D\u70BA\u81EA\u52D5\u8A08\u7B97false\u3001auto\u3001null"},{name:"\u8272\u677F",detail:"\u8ABF\u8272\u677F\u53EF\u4EE5\u55AE\u7368\u8A2D\u5B9A\u6BCF\u500B\u67F1\u689D\u7684\u984F\u8272\uFF0C\u53EF\u8A2D\u5B9A\u591A\u500B\uFF0C\u652F\u6301\u5169\u7A2E\u683C\u5F0F:1\u984F\u8272\u4F8B\u5982#000\uFF0C\u4EE3\u8868\u7B2C\u4E00\u500B\u67F1\u7684\u984F\u8272\u662F\u9ED1\u8272\uFF1B2\u6578\u503C\u7BC4\u570D:\u984F\u8272\uFF0C\u4F8B\u5982-2:#000\u8868\u793A\u6578\u503C\u70BA-2\u7684\u67F1\u70BA\u9ED1\u8272\uFF0C0:5:#000\u8868\u793A\u6578\u503C0-5\u7684\u67F1\u70BA\u9ED1\u8272\uFF0C\u9ED8\u8A8D\u70BA\u7A7A"}]},STACKCOLUMNSPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u7D2F\u7A4D\u5782\u76F4\u67F1\u72C0\u5716sparklines\uFF0C\u4E00\u822C\u7528\u65BC\u63CF\u8FF0\u96E2\u6563\u6578\u64DA\u591A\u500B\u7DAD\u5EA6\u7684\u6578\u503C\u5927\u5C0F",a:"\u751F\u6210\u5132\u5B58\u683C\u7D2F\u7A4D\u5782\u76F4\u67F1\u72C0\u5716",p:[{name:"\u6578\u64DA\u7BC4\u570D",detail:"\u6578\u64DA\u7BC4\u570D\uFF0C\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1:A20\uFF0C{1,2,3,4,5}\u7B49\u3002"},{name:"\u6309\u5217\u5806\u7A4D",detail:"\u5982\u679C\u9700\u8981\u6309\u884C\u5806\u7A4D\u5247\u672C\u9805\u8A2D\u70BAfalse\u62160\uFF0C\u9ED8\u8A8D\u70BA\u662F1"},{name:"\u67F1\u689D\u9593\u9694",detail:"\u67F1\u689D\u4E4B\u9593\u7684\u9593\u9694\u8DDD\u96E2\uFF0C\u9ED8\u8A8D\u70BA1"},{name:"\u6700\u5927\u503C",detail:"\u7D2F\u7A4D\u67F1\u5716\u6700\u5927\u503C\uFF0C\u7528\u65BC\u898F\u7BC4\u67F1\u5716\u9577\u5EA6\uFF0C\u9ED8\u8A8D\u70BA\u81EA\u52D5\u8A08\u7B97false\u3001auto\u3001null"},{name:"\u7D2F\u7A4D\u8272\u677F",detail:"\u8ABF\u8272\u677F\u53EF\u4EE5\u55AE\u7368\u8A2D\u5B9A\u6BCF\u500B\u7DAD\u5EA6\u7684\u67F1\u689D\u984F\u8272\uFF0C\u53EF\u8A2D\u5B9A\u70BAA1:A10\u7B49\u7BC4\u570D\uFF0C\u9ED8\u8A8D\u70BA#2ec7c9, #fc5c5c, #5ab1ef, #ffb980..."}]},BARSPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u6A6B\u5411\u689D\u5F62\u5716sparklines\uFF0C\u4E00\u822C\u7528\u65BC\u63CF\u8FF0\u96E2\u6563\u6578\u64DA\u4E4B\u9593\u7684\u5927\u5C0F\u60C5\u51B5",a:"\u751F\u6210\u5132\u5B58\u683C\u6A6B\u5411\u689D\u5F62\u5716",p:[{name:"\u6578\u64DA\u7BC4\u570D",detail:"\u6578\u64DA\u7BC4\u570D,\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1:A20, {1,2,3,4,5}\u7B49\u3002"},{name:"\u67F1\u689D\u9593\u9694",detail:"\u67F1\u689D\u4E4B\u9593\u7684\u9593\u9694\u8DDD\u96E2\uFF0C\u9ED8\u8A8D\u70BA1"},{name:"\u67F1\u689D\u984F\u8272",detail:"\u7DDA\u5716\u7684\u7DDA\u689D\u984F\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u500B\u7BC4\u570DA1\u3001\u8272\u9336\u7D22\u5F15\u6578\u503C\u6216\u8005\u5177\u9AD4\u984F\u8272\u503C\uFF0C\u8A2D\u5B9A\u70BA0\u6216false\u5247\u4E0D\u986F\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8A8D#fc5c5c"},{name:"\u8CA0\u5411\u67F1\u689D\u984F\u8272",detail:"\u8CA0\u5411\u67F1\u689D\u984F\u8272\u8A2D\u5B9A\uFF0C\u4EE3\u8868\u8CA0\u503C\u7684\u984F\u8272\uFF0C\u540C\u67F1\u689D\u984F\u8272\u914D\u5BD8\uFF0C\u9ED8\u8A8D#97b552"},{name:"\u6700\u5927\u503C",detail:"\u67F1\u5716\u6700\u5927\u503C\uFF0C\u7528\u65BC\u898F\u7BC4\u67F1\u5716\u9577\u5EA6\uFF0C\u9ED8\u8A8D\u70BA\u81EA\u52D5\u8A08\u7B97false\u3001auto\u3001null"},{name:"\u8272\u677F",detail:"\u8ABF\u8272\u677F\u53EF\u4EE5\u55AE\u7368\u8A2D\u5B9A\u6BCF\u500B\u67F1\u689D\u7684\u984F\u8272\uFF0C\u53EF\u8A2D\u5B9A\u591A\u500B\uFF0C\u652F\u6301\u5169\u7A2E\u683C\u5F0F:1\u984F\u8272\u4F8B\u5982#000\uFF0C\u4EE3\u8868\u7B2C\u4E00\u500B\u67F1\u7684\u984F\u8272\u662F\u9ED1\u8272\uFF1B2\u6578\u503C\u7BC4\u570D:\u984F\u8272\uFF0C\u4F8B\u5982-2:#000\u8868\u793A\u6578\u503C\u70BA-2\u7684\u67F1\u70BA\u9ED1\u8272\uFF0C0:5:#000\u8868\u793A\u6578\u503C0-5\u7684\u67F1\u70BA\u9ED1\u8272\uFF0C\u9ED8\u8A8D\u70BA\u7A7A"}]},STACKBARSPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u7D2F\u7A4D\u6A6B\u5411\u689D\u5F62\u5716sparklines\uFF0C\u4E00\u822C\u7528\u65BC\u63CF\u8FF0\u96E2\u6563\u6578\u64DA\u591A\u500B\u7DAD\u5EA6\u7684\u6578\u503C\u5927\u5C0F",a:"\u751F\u6210\u5132\u5B58\u683C\u7D2F\u7A4D\u6A6B\u5411\u689D\u5F62\u5716",p:[{name:"\u6578\u64DA\u7BC4\u570D",detail:"\u6578\u64DA\u7BC4\u570D,\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1:A20, {1,2,3,4,5}\u7B49\u3002"},{name:"\u6309\u5217\u5806\u7A4D",detail:"\u5982\u679C\u9700\u8981\u6309\u884C\u5806\u7A4D\u5247\u672C\u9805\u8A2D\u70BAfalse\u62160\uFF0C\u9ED8\u8A8D\u70BA\u662F1"},{name:"\u67F1\u689D\u9593\u9694",detail:"\u67F1\u689D\u4E4B\u9593\u7684\u9593\u9694\u8DDD\u96E2\uFF0C\u9ED8\u8A8D\u70BA1"},{name:"\u6700\u5927\u503C",detail:"\u7D2F\u7A4D\u67F1\u5716\u6700\u5927\u503C\uFF0C\u7528\u65BC\u898F\u7BC4\u67F1\u5716\u9577\u5EA6\uFF0C\u9ED8\u8A8D\u70BA\u81EA\u52D5\u8A08\u7B97false\u3001auto\u3001null"},{name:"\u7D2F\u7A4D\u8272\u677F",detail:"\u8ABF\u8272\u677F\u53EF\u4EE5\u55AE\u7368\u8A2D\u5B9A\u6BCF\u500B\u7DAD\u5EA6\u7684\u67F1\u689D\u984F\u8272\uFF0C\u53EF\u8A2D\u5B9A\u70BAA1:A10\u7B49\u7BC4\u570D\uFF0C\u9ED8\u8A8D\u70BA#2ec7c9, #fc5c5c, #5ab1ef, #ffb980..."}]},DISCRETESPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u96E2\u6563\u5716sparklines\uFF0C\u4E00\u822C\u7528\u65BC\u63CF\u8FF0\u96E2\u6563\u6578\u64DA\u8D70\u52E2",a:"\u751F\u6210\u5132\u5B58\u683C\u96E2\u6563\u5716",p:[{name:"\u6578\u64DA\u7BC4\u570D",detail:"\u6578\u64DA\u7BC4\u570D,\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1:A20, {1,2,3,4,5}\u7B49\u3002"},{name:"\u5206\u5272\u95BE\u503C",detail:"\u96E2\u6563\u5716\u67F1\u5F62\u984F\u8272\u7684\u5340\u5206\uFF0C\u4F8B\u5982:\u8A72\u503C\u70BA0\uFF0C\u5247\u5927\u65BC0\u70BA\u85CD\u8272\uFF0C\u5C0F\u65BC0\u70BA\u7D05\u8272\uFF0C\u9ED8\u8A8D\u70BA0"},{name:"\u95BE\u503C\u4EE5\u4E0A\u984F\u8272",detail:"\u7DDA\u5716\u7684\u7DDA\u689D\u984F\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u500B\u7BC4\u570DA1\u3001\u8272\u9336\u7D22\u5F15\u6578\u503C\u6216\u8005\u5177\u9AD4\u984F\u8272\u503C\uFF0C\u8A2D\u5B9A\u70BA0\u6216false\u5247\u4E0D\u986F\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8A8D#2ec7c9"},{name:"\u95BE\u503C\u4EE5\u4E0B\u984F\u8272",detail:"\u95BE\u503C\u4EE5\u4E0B\u67F1\u689D\u984F\u8272\u8A2D\u5B9A\uFF0C\u540C\u95BE\u503C\u4EE5\u4E0A\u984F\u8272\uFF0C\u9ED8\u8A8D#fc5c5c"}]},TRISTATESPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u4E09\u614B\u5716sparklines\uFF0C\u4E00\u822C\u7528\u65BC\u63CF\u8FF0\u4E09\u7A2E\u614B\u52E2\u7684\u8D70\u52E2\u4F8B\u5982\u52DD\u8CA0\u5E73",a:"\u751F\u6210\u5132\u5B58\u683C\u4E09\u614B\u5716",p:[{name:"\u6578\u64DA\u7BC4\u570D",detail:"\u6578\u64DA\u7BC4\u570D,\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1:A20, {1,2,3,4,5}\u7B49\u3002"},{name:"\u67F1\u689D\u9593\u9694",detail:"\u67F1\u689D\u4E4B\u9593\u7684\u9593\u9694\u8DDD\u96E2\uFF0C\u9ED8\u8A8D\u70BA1"},{name:"\u67F1\u689D\u984F\u8272",detail:"\u7DDA\u5716\u7684\u7DDA\u689D\u984F\u8272\uFF0C\u53EF\u4EE5\u662F\u5426\u500B\u7BC4\u570DA1\u3001\u8272\u9336\u7D22\u5F15\u6578\u503C\u6216\u8005\u5177\u9AD4\u984F\u8272\u503C\uFF0C\u8A2D\u5B9A\u70BA0\u6216false\u5247\u4E0D\u986F\u793A\uFF0C\u652F\u6301regx\u3001rgb\u3001rgba\u7B49\u3002\u9ED8\u8A8D#fc5c5c"},{name:"\u8D1F\u5411\u67F1\u689D\u984F\u8272",detail:"\u8CA0\u5411\u67F1\u689D\u984F\u8272\u8A2D\u5B9A\uFF0C\u4EE3\u8868\u8CA0\u503C\u7684\u984F\u8272\uFF0C\u540C\u67F1\u689D\u984F\u8272\u914D\u5BD8\uFF0C\u9ED8\u8A8D#97b552"},{name:"\u96F6\u503C\u67F1\u689D\u984F\u8272",detail:"\u96F6\u503C\u67F1\u689D\u984F\u8272\u8A2D\u5B9A\uFF0C\u4EE3\u88680\u503C\u984F\u8272\uFF0C\u540C\u67F1\u689D\u984F\u8272\u914D\u5BD8\uFF0C\u9ED8\u8A8D#999"},{name:"\u8272\u677F",detail:"\u8ABF\u8272\u677F\u53EF\u4EE5\u55AE\u7368\u8A2D\u5B9A\u6BCF\u500B\u67F1\u689D\u7684\u984F\u8272\uFF0C\u53EF\u8A2D\u5B9A\u591A\u500B\uFF0C\u652F\u6301\u5169\u7A2E\u683C\u5F0F:1\u984F\u8272\u4F8B\u5982#000\uFF0C\u4EE3\u8868\u7B2C\u4E00\u500B\u67F1\u7684\u984F\u8272\u662F\u9ED1\u8272\uFF1B2\u6578\u503C\u7BC4\u570D:\u984F\u8272\uFF0C\u4F8B\u5982-2:#000\u8868\u793A\u6578\u503C\u70BA-2\u7684\u67F1\u70BA\u9ED1\u8272\uFF0C0-5:#000\u8868\u793A\u6578\u503C0-5\u7684\u67F1\u70BA\u9ED1\u8272\uFF0C\u9ED8\u8A8D\u70BA\u7A7A"}]},PIESPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u9905\u5716sparklines\uFF0C\u4E00\u822C\u7528\u65BC\u63CF\u8FF0\u6578\u64DA\u5360\u6BD4",a:"\u751F\u6210\u5132\u5B58\u683C\u9905\u5716",p:[{name:"\u6578\u64DA\u7BC4\u570D",detail:"\u6578\u64DA\u7BC4\u570D,\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1:A20, {1,2,3,4,5}\u7B49\u3002"},{name:"\u65CB\u8F49\u89D2\u5EA6",detail:"\u9905\u5716\u7684\u65CB\u8F49\u89D2\u5EA6\uFF0C\u9ED8\u8A8D\u70BA0"},{name:"\u9905\u5716\u908A\u6846",detail:"\u9905\u5716\u908A\u6846\u5927\u5C0F\uFF0C\u9ED8\u8A8D\u70BA\u71210"},{name:"\u908A\u6846\u984F\u8272",detail:"\u9905\u5716\u908A\u6846\u984F\u8272\uFF0C\u9ED8\u8A8D\u70BA#000"},{name:"\u9905\u5716\u8272\u677F",detail:"\u8ABF\u8272\u677F\u53EF\u4EE5\u8A2D\u5B9A\u5207\u7247\u7684\u984F\u8272\uFF0C\u53EF\u8A2D\u5B9A\u70BAA1:A10\u7B49\u7BC4\u570D\uFF0C\u9ED8\u8A8D\u70BA#2ec7c9, #fc5c5c, #5ab1ef, #ffb980..."}]},BOXSPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u7BB1\u7DDA\u5716sparklines\uFF0C\u4E00\u822C\u7528\u65BC\u63CF\u8FF0\u6578\u64DA\u96C6\u7684\u7D71\u8A08\u5206\u4F48",a:"\u751F\u6210\u5132\u5B58\u683C\u7BB1\u7DDA\u5716",p:[{name:"\u6578\u64DA\u7BC4\u570D",detail:"\u6578\u64DA\u7BC4\u570D,\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1:A20, {1,2,3,4,5}\u7B49\u3002"},{name:"\u96E2\u7FA4\u9EDE\u6BD4\u4F8B",detail:"\u96E2\u7FA4\u9EDE\u7684\u95BE\u503C\u7BC4\u570D\uFF0C\u5982\u679C\u70BA0\u6216false\u5247\u4E0D\u986F\u793A\uFF0C\u9ED8\u8A8D\u70BA1.5\u500D"},{name:"\u76EE\u6A19\u9EDE\u503C",detail:"\u7BB1\u7DDA\u5716\u4E0A\u7684\u76EE\u6A19\u503C\u8A2D\u5B9A\uFF0C\u9ED8\u8A8D\u70BAfalse\u4E0D\u986F\u793A"},{name:"\u6578\u64DA\u9EDE\u5927\u5C0F",detail:"\u76EE\u6A19\u9EDE\u548C\u96E2\u7FA4\u9EDE\u7684\u534A\u5F91\u5927\u5C0F\u8A2D\u5B9A\uFF0C\u9ED8\u8A8D\u70BA1.5"}]},BULLETSPLINES:{d:"\u751F\u6210\u5D4C\u5165\u5728\u5132\u5B58\u683C\u5167\u7684\u5B50\u5F48\u5716sparklines\uFF0C\u4E00\u822C\u7528\u65BC\u63CF\u8FF0\u4EFB\u52D9\u9054\u6210\u7387",a:"\u751F\u6210\u5132\u5B58\u683C\u5B50\u5F48\u5716",p:[{name:"\u76EE\u6A19",detail:"\u9054\u6210\u7684\u76EE\u6A19\u503C\uFF0C\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1\uFF0C100\u7B49\u3002"},{name:"\u5BE6\u969B\u5B8C\u6210",detail:"\u73FE\u6642\u5B8C\u6210\u503C\uFF0C\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1\uFF0C100\u7B49\u3002"},{name:"\u5C0D\u6BD4\u503C",detail:"\u5C0D\u6BD4\u503C\uFF0C\u4F8B\u5982\u8D85\u984D\u3001\u6700\u4F4E\u3001\u7372\u734E\u5E95\u7DDA\u7B49\uFF0C\u6578\u503C\u624D\u80FD\u88AB\u6709\u6548\u8A08\u7B97\uFF0C\u4F8B\u5982A1\uFF0C100\u7B49\u3002\u53EF\u4EE5\u8A2D\u5B9A\u6700\u591A9\u500B\u5C0D\u6BD4\u503C"}]},COMPOSESPLINES:{d:"\u652F\u6301\u591A\u500B\u985E\u578B\u7684\u5716\u756B\u5728\u540C\u4E00\u500B\u5132\u5B58\u683C\uFF0C\u6BCF\u500B\u53C3\u6578\u4EE3\u8868\u4E00\u500Bsparklines\u5716",a:"\u7D44\u5408sparklines\u5716\u5230\u4E00\u500B\u5132\u5B58\u683C",p:[{name:"\u5716\u8A2D\u5B9A",detail:"sparklines\u5716\u8A2D\u5B9A\uFF0C\u4F8B\u5982A1:A20\uFF0C\u4E00\u500B\u5B8C\u6210\u7684\u9905\u5716\u3001\u7DDA\u5716\u8A2D\u5B9A\u7B49\u3002"}]},SORT:{d:"\u8FD4\u56DE\u6578\u7D44\u4E2D\u5143\u7D20\u7684\u6392\u5E8F\u6578\u7D44\u3002\u8FD4\u56DE\u7684\u6578\u7D44\u8207\u63D0\u4F9B\u7684\u6578\u7D44\u53C3\u6578\u5F62\u72C0\u76F8\u540C\u3002",a:"\u8FD4\u56DE\u6578\u7D44\u4E2D\u5143\u7D20\u7684\u6392\u5E8F\u6578\u7D44\u3002\u8FD4\u56DE\u7684\u6578\u7D44\u8207\u63D0\u4F9B\u7684\u6578\u7D44\u53C3\u6578\u5F62\u72C0\u76F8\u540C\u3002",p:[{name:"array",detail:"\u8981\u6392\u5E8F\u7684\u7BC4\u570D\u6216\u6578\u7D44\u3002"},{name:"sort_index",detail:"[\u53EF\u9078] - \u8868\u793A\u8981\u6392\u5E8F\u7684\u884C\u6216\u5217\u7684\u6578\u4F4D\u3002\uFF08\u9ED8\u8A8Drow1/col1\uFF09"},{name:"sort_order",detail:"[\u53EF\u9078] - \u8868\u793A\u6240\u9700\u6392\u5E8F\u9806\u5E8F\u7684\u6578\u4F4D\uFF1B1\u8868\u793A\u6607\u51AA\uFF08\u9ED8\u8A8D\uFF09\uFF0C-1\u8868\u793A\u964D\u5E8F\u3002"},{name:"by_col",detail:"[\u53EF\u9078] - \u8868\u793A\u6240\u9700\u6392\u5E8F\u65B9\u5411\u7684\u908F\u8F2F\u503C\uFF1B\u6309\u884C\u6392\u5E8F\u70BAFALSE\uFF08\uFF09\uFF08\u9ED8\u8A8D\uFF09\uFF0C\u6309\u5217\u6392\u5E8F\u70BATRUE\uFF08\uFF09\u3002"}]},FILTER:{d:"\u57FA\u65BC\u4E00\u500B\u5E03\u6797\uFF08\u771F/\u5047\uFF09\u6578\u7D44\u904E\u6FFE\u4E00\u500B\u6578\u7D44\u3002",a:"\u57FA\u65BC\u4E00\u500B\u5E03\u6797\uFF08\u771F/\u5047\uFF09\u6578\u7D44\u904E\u6FFE\u4E00\u500B\u6578\u7D44\u3002",p:[{name:"array",detail:"\u8981\u7BE9\u9078\u7684\u6578\u7D44\u6216\u7BC4\u570D\u3002"},{name:"include",detail:"\u5E03\u6797\u6578\u7D44\uFF0C\u5176\u9AD8\u5EA6\u6216\u5BEC\u5EA6\u8207\u6578\u7D44\u76F8\u540C"},{name:"if_empty",detail:"[\u53EF\u9078] - \u5982\u679C\u5305\u542B\u6578\u7D44\u4E2D\u7684\u6240\u6709\u503C\u90FD\u70BA\u7A7A\uFF08filter\u4E0D\u8FD4\u56DE\u4EFB\u4F55\u503C\uFF09\uFF0C\u5247\u8FD4\u56DE\u7684\u503C\u3002"}]},UNIQUE:{d:"\u8FD4\u56DE\u5217\u8868\u6216\u5340\u57DF\u4E2D\u7684\u552F\u4E00\u503C\u7684\u6E05\u55AE\u3002",a:"\u8FD4\u56DE\u5217\u8868\u6216\u5340\u57DF\u4E2D\u7684\u552F\u4E00\u503C\u7684\u6E05\u55AE\u3002",p:[{name:"array",detail:"\u5F9E\u5176\u8FD4\u56DE\u552F\u4E00\u503C\u7684\u6578\u7D44\u6216\u5340\u57DF\u3002"},{name:"by_col",detail:"[\u53EF\u9078] - \u908F\u8F2F\u503C\uFF0C\u8A13\u793A\u5982\u4F55\u6BD4\u8F03\uFF1B\u6309\u884C= FALSE\uFF08\uFF09\u6216\u7701\u7565\uFF1B\u6309\u5217= TRUE\uFF08\uFF09\u3002"},{name:"occurs_once",detail:"[\u53EF\u9078] - \u908F\u8F2F\u503C\uFF0C\u50C5\u8FD4\u56DE\u552F\u4E00\u503C\u4E2D\u51FA\u73FE\u4E00\u6B21= TRUE\uFF08\uFF09\uFF1B\u5305\u62EC\u6240\u6709\u552F\u4E00\u503C= FALSE\uFF08\uFF09\u6216\u7701\u7565\u3002"}]},RANDARRAY:{d:"\u8FD4\u56DE0\u52301\u4E4B\u9593\u7684\u96A8\u6A5F\u6578\u4F4D\u6578\u7D44\u3002",a:"\u8FD4\u56DE0\u52301\u4E4B\u9593\u7684\u96A8\u6A5F\u6578\u4F4D\u6578\u7D44",p:[{name:"rows",detail:"[\u53EF\u9078] - \u8981\u8FD4\u56DE\u7684\u884C\u6578\u3002"},{name:"cols",detail:"[\u53EF\u9078] - \u8981\u8FD4\u56DE\u7684\u5217\u6578\u3002"}]},SEQUENCE:{d:"\u751F\u6210\u6578\u4F4D\u5E8F\u5217\u7684\u6E05\u55AE\u3002",a:"\u751F\u6210\u6578\u4F4D\u5E8F\u5217\u7684\u6E05\u55AE\u3002",p:[{name:"rows",detail:"\u8981\u8FD4\u56DE\u7684\u884C\u6578\u3002"},{name:"cols",detail:"[\u53EF\u9078] - \u8981\u8FD4\u56DE\u7684\u5217\u6578\u3002"},{name:"start",detail:"[\u53EF\u9078] - \u5E8F\u5217\u4E2D\u7684\u7B2C\u4E00\u500B\u6578\u4F4D\u3002"},{name:"step",detail:"[\u53EF\u9078] -\u5E8F\u5217\u4E2D\u6BCF\u500B\u5E8F\u5217\u503C\u7684\u589E\u91CF\u3002"}]},EVALUATE:{d:"\u5C0D\u4EE5\u6587\u5B57\u8868\u793A\u7684\u516C\u5F0F\u6216\u8005\u8868\u9054\u5F0F\u6C42\u503C\uFF0C\u4E26\u8FD4\u56DE\u7D50\u679C\u3002",a:"\u6839\u64DA\u6587\u5B57\u516C\u5F0F\u6216\u8005\u8868\u9054\u5F0F\u6C42\u503C\u3002",p:[{name:"\u516C\u5F0F",detail:"\u516C\u5F0F\u6216\u8868\u9054\u5F0F"}]},REMOTE:{d:"Calls a function on a remote server",a:"Calls a function on a remote back end server/API.",p:[{name:"remote_expression",detail:"Formula"}]}},toolbar:{undo:"\u64A4\u92B7",redo:"\u91CD\u505A",paintFormat:"\u683C\u5F0F\u5237",currencyFormat:"\u8CA8\u5E63\u683C\u5F0F",percentageFormat:"\u767E\u5206\u6BD4\u683C\u5F0F",numberDecrease:"\u51CF\u5C11\u5C0F\u6578\u4F4D\u6578",numberIncrease:"\u65B0\u589E\u5C0F\u6578\u4F4D\u6578",moreFormats:"\u66F4\u591A\u683C\u5F0F",font:"\u5B57\u9AD4",fontSize:"\u5B57\u578B\u5927\u5C0F",bold:"\u7C97\u9AD4\uFF08Ctrl+B\uFF09",italic:"\u659C\u9AD4\uFF08Ctrl+I\uFF09",strikethrough:"\u5220\u9664\u7DDA\uFF08Alt+Shift+5\uFF09",underline:"\u5E95\u7DDA",textColor:"\u6587\u5B57\u984F\u8272",chooseColor:"\u984F\u8272\u9078\u64C7",resetColor:"\u91CD\u7F6E\u984F\u8272",customColor:"\u81EA\u5B9A\u7FA9",alternatingColors:"\u4EA4\u66FF\u984F\u8272",confirmColor:"\u78BA\u5B9A\u984F\u8272",cancelColor:"\u53D6\u6D88",collapse:"\u6536\u8D77",fillColor:"\u5132\u5B58\u683C\u984F\u8272",border:"\u908A\u6846",borderStyle:"\u908A\u6846\u985E\u578B",mergeCell:"\u5408\u4F75\u5132\u5B58\u683C",chooseMergeType:"\u9078\u64C7\u5408\u4F75\u985E\u578B",horizontalAlign:"\u6C34\u51C6\u5C0D\u9F4A",verticalAlign:"\u5782\u76F4\u5C0D\u9F4A",alignment:"\u5C0D\u9F4A\u7BA1\u9053",textWrap:"\u6587\u5B57\u63DB\u884C",textWrapMode:"\u63DB\u884C\u7BA1\u9053",textRotate:"\u6587\u5B57\u65CB\u8F49",textRotateMode:"\u65CB\u8F49\u7BA1\u9053",freezeTopRow:"\u51CD\u7D50\u7B2C\u4E00\u884C",sortAndFilter:"\u6392\u5E8F\u548C\u7BE9\u9078",findAndReplace:"\u67E5\u627E\u66FF\u63DB",sum:"\u6C42\u548C",autoSum:"\u81EA\u52D5\u6C42\u548C",moreFunction:"\u66F4\u591A\u51FD\u6578",conditionalFormat:"\u689D\u4EF6\u683C\u5F0F",postil:"\u6279\u8A3B",pivotTable:"\u6578\u64DA\u900F\u8996\u9336",chart:"\u5716\u8868",screenshot:"\u622A\u5716",splitColumn:"\u5206\u5217",insertImage:"\u63D2\u5165\u5716\u7247",exportXlsx:"\u5C0E\u51FAXlsx",insertLink:"\u63D2\u5165\u9023\u7D50",dataVerification:"\u6578\u64DA\u9A57\u8B49",protection:"\u4FDD\u8B77\u5DE5\u4F5C\u8868\u5167\u5BB9",clearText:"\u6E05\u9664\u984F\u8272\u9078\u64C7",noColorSelectedText:"\u6C92\u6709\u984F\u8272\u88AB\u9078\u64C7",toolMore:"\u66F4\u591A",toolLess:"\u5C11\u65BC",toolClose:"\u6536\u8D77",toolMoreTip:"\u66F4\u591A\u529F\u80FD",moreOptions:"\u66F4\u591A\u9078\u9805",cellFormat:"\u8A2D\u5B9A\u5132\u5B58\u683C\u683C\u5F0F",print:"\u5217\u5370"},alternatingColors:{applyRange:"\u61C9\u7528\u7BC4\u570D",selectRange:"\u9078\u64C7\u61C9\u7528\u7BC4\u570D",header:"\u9801\u7709",footer:"\u9801\u8173",errorInfo:"\u4E0D\u80FD\u5C0D\u591A\u91CD\u9078\u64C7\u5340\u57DF\u57F7\u884C\u6B64\u64CD\u4F5C,\u8ACB\u9078\u64C7\u55AE\u500B\u5340\u57DF,\u7136\u5F8C\u518D\u8A66",textTitle:"\u683C\u5F0F\u6A23\u5F0F",custom:"\u81EA\u5B9A\u7FA9",close:"\u95DC\u9589",selectionTextColor:"\u9078\u64C7\u6587\u5B57\u984F\u8272",selectionCellColor:"\u9078\u64C7\u5132\u5B58\u683C\u984F\u8272",removeColor:"\u79FB\u9664\u4EA4\u66FF\u984F\u8272",colorShow:"\u984F\u8272",currentColor:"\u7576\u524D\u984F\u8272",tipSelectRange:"\u8ACB\u9078\u64C7\u4EA4\u66FF\u984F\u8272\u61C9\u7528\u7BC4\u570D",errorNoRange:"\u60A8\u9078\u64C7\u7684\u61C9\u7528\u7BC4\u570D\u4E0D\u662F\u9078\u5340\uFF01",errorExistColors:"\u60A8\u9078\u64C7\u7684\u61C9\u7528\u7BC4\u570D\u5DF2\u5B58\u5728\u4EA4\u66FF\u984F\u8272\u4E14\u4E0D\u5C6C\u65BC\u4F60\u8981\u7DE8\u8F2F\u7684\u61C9\u7528\u7BC4\u570D\uFF01"},button:{confirm:"\u78BA\u5B9A",cancel:"\u53D6\u6D88",close:"\u95DC\u9589",update:"Update",delete:"Delete",insert:"\u65B0\u5EFA",prevPage:"\u4E0A\u4E00\u9801",nextPage:"\u4E0B\u4E00\u9801",total:"\u7E3D\u5171\uFF1A"},paint:{start:"\u683C\u5F0F\u5237\u958B\u555F",end:"ESC\u9375\u9000\u51FA",tipSelectRange:"\u8ACB\u9078\u64C7\u9700\u8981\u8907\u88FD\u683C\u5F0F\u7684\u5340\u57DF",tipNotMulti:"\u7121\u6CD5\u5C0D\u591A\u91CD\u9078\u64C7\u5340\u57DF\u57F7\u884C\u6B64\u64CD\u4F5C"},format:{moreCurrency:"\u66F4\u591A\u8CA8\u5E63\u683C\u5F0F",moreDateTime:"\u66F4\u591A\u65E5\u671F\u8207\u6642\u9593\u683C\u5F0F",moreNumber:"\u66F4\u591A\u6578\u4F4D\u683C\u5F0F",titleCurrency:"\u8CA8\u5E63\u683C\u5F0F",decimalPlaces:"\u5C0F\u6578\u4F4D\u6578",titleDateTime:"\u65E5\u671F\u8207\u6642\u9593\u683C\u5F0F",titleNumber:"\u6578\u4F4D\u683C\u5F0F"},info:{detailUpdate:"\u65B0\u6253\u958B",detailSave:"\u5DF2\u6062\u5FA9\u672C\u5730\u7DE9\u5B58",row:"\u884C",column:"\u5217",loading:"\u6E32\u67D3\u4E2D\xB7\xB7\xB7",copy:"\u526F\u672C",return:"\u8FD4\u56DE",rename:"\u91CD\u547D\u540D",tips:"\u8868\u683C\u91CD\u547D\u540D",noName:"\u7121\u6A19\u984C\u7684\u8A66\u7B97\u8868",wait:"\u5F85\u66F4\u65B0",add:"\u6DFB\u52A0",addLast:"\u5728\u5E95\u90E8\u6DFB\u52A0",backTop:"\u56DE\u5230\u9802\u90E8",pageInfo:"\u5171${total}\u689D,${totalPage}\u9801,\u7576\u524D\u5DF2\u986F\u793A${currentPage}\u9801",nextPage:"\u4E0B\u4E00\u9801",tipInputNumber:"\u8ACB\u8F38\u5165\u6578\u4F4D",tipInputNumberLimit:"\u65B0\u589E\u7BC4\u570D\u9650\u5236\u57281-100",tipRowHeightLimit:"\u884C\u9AD8\u5FC5\u9808\u57280 ~ 545\u4E4B\u9593",tipColumnWidthLimit:"\u5217\u5BEC\u5FC5\u9808\u57280 ~ 2038\u4E4B\u9593",pageInfoFull:"\u5171${total}\u689D,${totalPage}\u9801,\u5DF2\u986F\u793A\u5168\u90E8\u6578\u64DA"},currencyDetail:{RMB:"\u4EBA\u6C11\u5E63",USdollar:"\u7F8E\u5143",EUR:"\u6B50\u5143",GBP:"\u82F1\u938A",HK:"\u6E2F\u5143",JPY:"\u65E5\u5143",AlbanianLek:"\u963F\u723E\u5DF4\u5C3C\u4E9E\u5217\u514B",AlgerianDinar:"\u963F\u723E\u53CA\u5229\u4E9E\u7B2C\u7D0D\u723E",Afghani:"\u963F\u5BCC\u6C57\u5C3C",ArgentinePeso:"\u963F\u6839\u5EF7\u6BD4\u7D22",UnitedArabEmiratesDirham:"\u963F\u62C9\u4F2F\u806F\u5408\u5927\u516C\u570B\u8FEA\u62C9\u59C6",ArubanFlorin:"\u963F\u9B6F\u5DF4\u5F17\u7F85\u6797",OmaniRial:"\u963F\u66FC\u88E1\u4E9E\u723E",Azerbaijanimanat:"\u963F\u585E\u62DC\u7586\u99AC\u7D0D\u7279",EgyptianPound:"\u57C3\u53CA\u938A",EthiopianBirr:"\u8863\u7D22\u6BD4\u4E9E\u6BD4\u723E",AngolaKwanza:"\u5B89\u54E5\u62C9\u5BEC\u7D2E",AustralianDollar:"\u6FB3\u5927\u5229\u4E9E\u5143",Patacas:"\u6FB3\u9580\u5143",BarbadosDollar:"\u5DF4\u5DF4\u591A\u65AF\u5143",PapuaNewGuineaKina:"\u5DF4\u5E03\u4E9E\u65B0\u5E7E\u5167\u4E9E\u57FA\u90A3",BahamianDollar:"\u5DF4\u54C8\u99AC\u5143",PakistanRupee:"\u5DF4\u57FA\u65AF\u5766\u76E7\u6BD4",ParaguayanGuarani:"\u5DF4\u62C9\u572D\u74DC\u62C9\u5C3C",BahrainiDinar:"\u5DF4\u6797\u7B2C\u7D0D\u723E",PanamanianBalboa:"\u5DF4\u62FF\u99AC\u5DF4\u6CE2\u4E9E",Brazilianreal:"\u5DF4\u897F\u88CF\u4E9E\u4F0A",Belarusianruble:"\u767D\u4FC4\u7F85\u65AF\u76E7\u5E03",BermudianDollar:"\u767E\u6155\u5927\u5143",BulgarianLev:"\u4FDD\u52A0\u5229\u4E9E\u5217\u5F17",IcelandKrona:"\u51B0\u5CF6\u514B\u6717",BosniaHerzegovinaConvertibleMark:"\u6CE2\u9ED1\u53EF\u514C\u63DB\u99AC\u514B",PolishZloty:"\u6CE2\u862D\u8332\u7F85\u63D0",Boliviano:"\u73BB\u5229\u7DAD\u4E9E\u8AFE",BelizeDollar:"\u8C9D\u88E1\u65AF\u5143",BotswanaPula:"\u6CE2\u5284\u90A3\u666E\u62C9",NotDannuzhamu:"\u4E0D\u4E39\u52AA\u7D2E\u59C6",BurundiFranc:"\u5E03\u9686\u8FEA\u6CD5\u90CE",NorthKoreanWon:"\u671D\u9BAE\u5713",DanishKrone:"\u4E39\u9EA5\u514B\u6717",EastCaribbeanDollar:"\u6771\u52A0\u52D2\u6BD4\u5143",DominicaPeso:"\u591A\u660E\u5C3C\u52A0\u6BD4\u7D22",RussianRuble:"\u4FC4\u570B\u76E7\u5E03",EritreanNakfa:"\u5384\u5229\u5782\u4E9E\u7D0D\u514B\u6CD5",CFAfranc:"\u975E\u6D32\u91D1\u878D\u5171\u540C\u9AD4\u6CD5\u90CE",PhilippinePeso:"\u83F2\u5F8B\u8CD3\u6BD4\u7D22",FijiDollar:"\u6590\u6FDF\u5143",CapeVerdeEscudo:"\u4F5B\u5F97\u89D2\u57C3\u65AF\u5EAB\u591A",FalklandIslandsPound:"\u798F\u514B\u862D\u7FA4\u5CF6\u938A",GambianDalasi:"\u5CA1\u6BD4\u4E9E\u9054\u62C9\u897F",Congolesefranc:"\u525B\u679C\u6CD5\u90CE",ColombianPeso:"\u54E5\u502B\u6BD4\u4E9E\u6BD4\u7D22",CostaRicanColon:"\u54E5\u65AF\u5927\u9ECE\u52A0\u79D1\u6717",CubanPeso:"\u53E4\u5DF4\u6BD4\u7D22",Cubanconvertiblepeso:"\u53E4\u5DF4\u53EF\u514C\u63DB\u6BD4\u7D22",GuyanaDollar:"\u84CB\u4E9E\u90A3\u5143",KazakhstanTenge:"\u54C8\u85A9\u514B\u5171\u548C\u570B\u5805\u6208",Haitiangourde:"\u6D77\u5730\u53E4\u5FB7",won:"\u97D3\u5143",NetherlandsAntillesGuilder:"\u8377\u5C6C\u5B89\u7684\u5217\u65AF\u76FE",Honduraslempiras:"\u6D2A\u90FD\u62C9\u65AF\u62C9\u502B\u76AE\u62C9",DjiboutiFranc:"\u5409\u5E03\u63D0\u6CD5\u90CE",KyrgyzstanSom:"\u5409\u723E\u5409\u65AF\u65AF\u5766\u7D22\u59C6",GuineaFranc:"\u5E7E\u5167\u4E9E\u6CD5\u90CE",CanadianDollar:"\u52A0\u62FF\u5927\u5143",GhanaianCedi:"\u52A0\u7D0D\u585E\u5730",Cambodianriel:"\u9AD8\u68C9\u745E\u723E",CzechKoruna:"\u6377\u514B\u514B\u6717",ZimbabweDollar:"\u8F9B\u5DF4\u5A01\u5143",QatariRiyal:"\u5361\u5854\u723E\u88E1\u4E9E\u723E",CaymanIslandsDollar:"\u958B\u66FC\u7FA4\u5CF6\u5143",Comorianfranc:"\u79D1\u6469\u7F85\u6CD5\u90CE",KuwaitiDinar:"\u79D1\u5A01\u7279\u7B2C\u7D0D\u723E",CroatianKuna:"\u514B\u7F85\u5730\u4E9E\u5EAB\u7D0D",KenyanShilling:"\u80AF\u96C5\u5148\u4EE4",LesothoLoti:"\u840A\u7D22\u6258\u6D1B\u8482",LaoKip:"\u8001\u64BE\u57FA\u666E",LebanesePound:"\u9ECE\u5DF4\u5AE9\u938A",Lithuanianlitas:"\u7ACB\u9676\u5B9B\u7ACB\u7279",LibyanDinar:"\u5229\u6BD4\u4E9E\u7B2C\u7D0D\u723E",LiberianDollar:"\u5229\u6BD4\u4E9E\u5143",RwandaFranc:"\u76E7\u5B89\u9054\u6CD5\u90CE",RomanianLeu:"\u7F85\u99AC\u5C3C\u4E9E\u5217\u4F0A",MalagasyAriary:"\u99AC\u62C9\u52A0\u897F\u963F\u88CF\u4E9E\u88CF",MaldivianRufiyaa:"\u746A\u5F8B\u5730\u592B\u62C9\u83F2\u4E9E",MalawiKwacha:"\u99AC\u62C9\u5A01\u514B\u74E6\u67E5",MalaysianRinggit:"\u99AC\u4F86\u897F\u4E9E\u6797\u5409\u7279",MacedoniawearingDinar:"\u99AC\u5176\u9813\u6234\u7B2C\u7D0D\u723E",MauritiusRupee:"\u6A21\u88E1\u897F\u65AF\u76E7\u6BD4",MauritanianOuguiya:"\u8305\u5229\u5854\u5C3C\u4E9E\u70CF\u5409\u4E9E",MongolianTugrik:"\u8499\u53E4\u5716\u683C\u88E1\u514B",BangladeshiTaka:"\u5B5F\u52A0\u62C9\u5854\u5361",PeruvianNuevoSol:"\u79D8\u9B6F\u65B0\u7D22\u723E",MyanmarKyat:"\u7DEC\u7538\u958B\u4E9E\u7279",MoldovanLeu:"\u83AB\u723E\u9054\u74E6\u5217\u4F0A",MoroccanDirham:"\u6469\u6D1B\u54E5\u8FEA\u62C9\u59C6",MozambiqueMetical:"\u83AB\u4E09\u6BD4\u514B\u6885\u8482\u5361\u723E",MexicanPeso:"\u58A8\u897F\u54E5\u6BD4\u7D22",NamibianDollar:"\u7D0D\u7C73\u6BD4\u4E9E\u5143",SouthAfricanRand:"\u5357\u975E\u862D\u7279",SouthSudanesePound:"\u5357\u8607\u4E39\u938A",NicaraguaCordoba:"\u5C3C\u52A0\u62C9\u74DC\u79D1\u591A\u5DF4",NepaleseRupee:"\u5C3C\u6CCA\u723E\u76E7\u6BD4",NigerianNaira:"\u5948\u53CA\u5229\u4E9E\u5948\u62C9",NorwegianKrone:"\u632A\u5A01\u514B\u6717",GeorgianLari:"\u55AC\u6CBB\u4E9E\u62C9\u745E",RMBOffshore:"\u4EBA\u6C11\u5E63\uFF08\u96E2\u5CB8\uFF09",SwedishKrona:"\u745E\u5178\u514B\u6717",SwissFranc:"\u745E\u58EB\u6CD5\u90CE",SerbianDinar:"\u585E\u723E\u7DAD\u4E9E\u7B2C\u7D0D\u723E",SierraLeone:"\u585E\u62C9\u91CC\u6602\u5229\u6602",SeychellesRupee:"\u585E\u820C\u8033\u76E7\u6BD4",SaudiRiyal:"\u6C99\u7279\u88E1\u4E9E\u723E",SaoTomeDobra:"\u8056\u591A\u7F8E\u591A\u5E03\u62C9",SaintHelenapound:"\u8056\u8D6B\u502B\u90A3\u7FA4\u5CF6\u78C5",SriLankaRupee:"\u65AF\u91CC\u862D\u5361\u76E7\u6BD4",SwazilandLilangeni:"\u53F2\u74E6\u6FDF\u862D\u88CF\u862D\u5409\u5C3C",SudanesePound:"\u8607\u4E39\u938A",Surinamesedollar:"\u8607\u5229\u5357\u5143",SolomonIslandsDollar:"\u6240\u7F85\u9580\u7FA4\u5CF6\u5143",SomaliShilling:"\u7D22\u99AC\u5229\u4E9E\u5148\u4EE4",TajikistanSomoni:"\u5854\u5409\u514B\u5171\u548C\u570B\u7D22\u83AB\u5C3C",PacificFranc:"\u592A\u5E73\u6D0B\u6CD5\u90CE",ThaiBaht:"\u6CF0\u570B\u9296",TanzanianShilling:"\u5766\u5C1A\u5C3C\u4E9E\u5148\u4EE4",TonganPaanga:"\u6771\u52A0\u6F58\u52A0",TrinidadandTobagoDollar:"\u5343\u88E1\u9054\u6258\u8C9D\u54E5\u5143",TunisianDinar:"\u7A81\u5C3C\u65AF\u7B2C\u7D0D\u723E",TurkishLira:"\u571F\u8033\u5176\u91CC\u62C9",VanuatuVatu:"\u74E6\u52AA\u963F\u5716\u74E6\u5716",GuatemalanQuetzal:"\u74DC\u5730\u99AC\u62C9\u683C\u67E5\u723E",CommissionBolivar:"\u59D4\u5167\u745E\u62C9\u535A\u5229\u74E6",BruneiDollar:"\u6C76\u840A\u5143",UgandanShilling:"\u70CF\u5E72\u9054\u5148\u4EE4",UkrainianHryvnia:"\u70CF\u514B\u862D\u683C\u88E1\u592B\u5C3C\u4E9E",UruguayanPeso:"\u70CF\u62C9\u572D\u6BD4\u7D22",Uzbekistansom:"\u70CF\u8332\u5225\u514B\u8607\u59C6",WesternSamoaTala:"\u85A9\u6469\u4E9E\u5854\u62C9",SingaporeDollar:"\u65B0\u52A0\u5761\u5143",NT:"\u65B0\u81FA\u5E63",NewZealandDollar:"\u65B0\u897F\u862D\u5143",HungarianForint:"\u5308\u7259\u5229\u798F\u6797",SyrianPound:"\u6558\u5229\u4E9E\u938A",JamaicanDollar:"\u7259\u8CB7\u52A0\u5143",ArmenianDram:"\u4E9E\u7F8E\u5C3C\u4E9E\u5FB7\u62C9\u59C6",YemeniRial:"\u8449\u9580\u88E1\u4E9E\u723E",IraqiDinar:"\u4F0A\u62C9\u514B\u7B2C\u7D0D\u723E",IranianRial:"\u4F0A\u6717\u88E1\u4E9E\u723E",NewIsraeliShekel:"\u4EE5\u8272\u5217\u65B0\u8B1D\u514B\u723E",IndianRupee:"\u5370\u5EA6\u76E7\u6BD4",IndonesianRupiah:"\u5370\u5C3C\u76E7\u6BD4",JordanianDinar:"\u7D04\u65E6\u7B2C\u7D0D\u723E",VND:"\u8D8A\u5357\u76FE",ZambianKwacha:"\u5C1A\u6BD4\u4E9E\u514B\u74E6\u67E5",GibraltarPound:"\u76F4\u5E03\u7F85\u9640\u938A",ChileanPeso:"\u667A\u5229\u6BD4\u7D22",CFAFrancBEAC:"\u4E2D\u975E\u91D1\u878D\u5408\u4F5C\u6CD5\u90CE"},defaultFmt:[{text:"\u81EA\u52D5",value:"General",example:""},{text:"\u7D14\u6587\u5B57",value:"@",example:""},{text:"",value:"split",example:""},{text:"\u6578\u4F4D",value:"##0.00",example:"1000.12"},{text:"\u767E\u5206\u6BD4",value:"#0.00%",example:"12.21%"},{text:"\u79D1\u5B78\u8A08\u6578",value:"0.00E+00",example:"1.01E+5"},{text:"",value:"split",example:""},{text:"\u6703\u8A08",value:"\xA5(0.00)",example:"\xA5(1200.09)"},{text:"\u842C\u5143",value:"w",example:"1\u4EBF2000\u4E072500"},{text:"\u8CA8\u5E63",value:"\xA50.00",example:"\xA51200.09"},{text:"\u842C\u51432\u4F4D\u5C0F\u6578",value:"w0.00",example:"2\u4E072500.55"},{text:"",value:"split",example:""},{text:"\u65E5\u671F",value:"yyyy-MM-dd",example:"2017-11-29"},{text:"\u6642\u9593",value:"hh:mm AM/PM",example:"3:00 PM"},{text:"\u6642\u959324H",value:"hh:mm",example:"15:00"},{text:"\u65E5\u671F\u6642\u9593",value:"yyyy-MM-dd hh:mm AM/PM",example:"2017-11-29 3:00 PM"},{text:"\u65E5\u671F\u6642\u959324H",value:"yyyy-MM-dd hh:mm",example:"2017-11-29 15:00"},{text:"",value:"split",example:""},{text:"\u81EA\u5B9A\u7FA9\u683C\u5F0F",value:"fmtOtherSelf",example:"more"}],dateFmtList:[{name:"1930-08-05",value:"yyyy-MM-dd"},{name:"1930/8/5",value:"yyyy/MM/dd"},{name:"1930\u5E748\u67085\u65E5",value:'yyyy"\u5E74"M"\u6708"d"\u65E5"'},{name:"08-05",value:"MM-dd"},{name:"8-5",value:"M-d"},{name:"8\u67085\u65E5",value:'M"\u6708"d"\u65E5"'},{name:"13:30:30",value:"h:mm:ss"},{name:"13:30",value:"h:mm"},{name:"\u4E0B\u534801:30",value:"\u4E0A\u5348/\u4E0B\u5348 hh:mm"},{name:"\u4E0B\u53481:30",value:"\u4E0A\u5348/\u4E0B\u5348 h:mm"},{name:"\u4E0B\u53481:30:30",value:"\u4E0A\u5348/\u4E0B\u5348 h:mm:ss"},{name:"08-05 \u4E0B\u534801:30",value:"MM-dd \u4E0A\u5348/\u4E0B\u5348 hh:mm"}],fontFamily:{MicrosoftYaHei:"Microsoft YaHei"},fontarray:["Times New Roman","Arial","Tahoma","Verdana","\u5FAE\u8EDF\u96C5\u9ED1","\u5B8B\u9AD4","\u9ED1\u9AD4","\u6977\u9AD4","\u4EFF\u5B8B","\u65B0\u5B8B\u9AD4","\u83EF\u6587\u65B0\u9B4F","\u83EF\u6587\u884C\u6977","\u83EF\u6587\u96B8\u66F8"],fontjson:{"times new roman":0,arial:1,tahoma:2,verdana:3,\u5FAE\u8EDF\u96C5\u9ED1:4,"microsoft yahei":4,\u5B8B\u9AD4:5,simsun:5,\u9ED1\u9AD4:6,simhei:6,\u6977\u9AD4:7,kaiti:7,\u4EFF\u5B8B:8,fangsong:8,\u65B0\u5B8B\u9AD4:9,nsimsun:9,\u83EF\u6587\u65B0\u9B4F:10,stxinwei:10,\u83EF\u6587\u884C\u6977:11,stxingkai:11,\u83EF\u6587\u96B8\u66F8:12,stliti:12},border:{borderTop:"\u4E0A\u6846\u7DDA",borderBottom:"\u4E0B\u6846\u7DDA",borderLeft:"\u5DE6\u6846\u7DDA",borderRight:"\u53F3\u6846\u7DDA",borderNone:"\u7121",borderAll:"\u6240\u6709",borderOutside:"\u5916\u5074",borderInside:"\u5167\u5074",borderHorizontal:"\u5167\u5074\u6A6B\u7DDA",borderVertical:"\u5167\u5074\u5206\u9694\u865F",borderColor:"\u908A\u6846\u984F\u8272",borderSize:"\u908A\u6846\u7C97\u7D30"},merge:{mergeAll:"\u5168\u90E8\u5408\u4F75",mergeV:"\u5782\u76F4\u5408\u4F75",mergeH:"\u6C34\u5E73\u5408\u4F75",mergeCancel:"\u53D6\u6D88\u5408\u4F75",overlappingError:"\u4E0D\u80FD\u5408\u4F75\u91CD\u758A\u5340\u57DF",partiallyError:"\u7121\u6CD5\u5C0D\u90E8\u5206\u5408\u4F75\u5132\u5B58\u683C\u57F7\u884C\u6B64\u64CD\u4F5C"},align:{left:"\u5DE6\u5C0D\u9F4A",center:"\u4E2D\u9593\u5C0D\u9F4A",right:"\u53F3\u5C0D\u9F4A",top:"\u9802\u90E8\u5C0D\u9F4A",middle:"\u5C45\u4E2D\u5C0D\u9F4A",bottom:"\u5E95\u90E8\u5C0D\u9F4A"},textWrap:{overflow:"\u6EA2\u51FA",wrap:"\u81EA\u52D5\u63DB\u884C",clip:"\u622A\u65B7"},rotation:{none:"\u7121\u65CB\u8F49",angleup:"\u5411\u4E0A\u50BE\u659C",angledown:"\u5411\u4E0B\u50BE\u659C",vertical:"\u8C4E\u6392\u6587\u5B57",rotationUp:"\u5411\u4E0A90\xB0",rotationDown:"\u5411\u4E0B90\xB0"},freezen:{default:"\u51CD\u7D50\u7B2C\u4E00\u884C",freezenRow:"\u51CD\u7D50\u7B2C\u4E00\u884C",freezenColumn:"\u51CD\u7D50\u7B2CA\u5217",freezenRC:"\u51CD\u7D50\u884C\u5217",freezenRowRange:"\u51CD\u7D50\u884C\u5230\u9078\u5340",freezenColumnRange:"\u51CD\u7D50\u5217\u5230\u9078\u5340",freezenRCRange:"\u51CD\u7D50\u884C\u5217\u5230\u9078\u5340",freezenCancel:"\u53D6\u6D88\u51CD\u7D50",noSeletionError:"\u6CA1\u6709\u9078\u5340",rangeRCOverErrorTitle:"\u51CD\u7D50\u63D0\u9192",rangeRCOverError:"\u51CD\u7D50\u7A97\u683C\u8D85\u904E\u53EF\u898B\u7BC4\u570D\uFF0C\u6703\u5C0E\u81F4\u7121\u6CD5\u6B63\u5E38\u64CD\u4F5C\uFF0C\u8ACB\u91CD\u65B0\u8A2D\u5B9A\u51CD\u7D50\u5340\u57DF\u3002"},sort:{asc:"\u6607\u51AA",desc:"\u964D\u5E8F",custom:"\u81EA\u5B9A\u7FA9\u6392\u5E8F",hasTitle:"\u6578\u64DA\u5177\u6709\u6A19\u984C\u884C",sortBy:"\u6392\u5E8F\u4F9D\u64DA",addOthers:"\u6DFB\u52A0\u5176\u4ED6\u6392\u5E8F\u5217",close:"\u95DC\u9589",confirm:"\u6392\u5E8F",columnOperation:"\u5217",secondaryTitle:"\u6B21\u8981\u6392\u5E8F",sortTitle:"\u6392\u5E8F\u7BC4\u570D",sortRangeTitle:"\u6392\u5E8F\u7BC4\u570D\u5F9E",sortRangeTitleTo:"\u5230",noRangeError:"\u4E0D\u80FD\u5C0D\u591A\u91CD\u9078\u64C7\u5340\u57DF\u57F7\u884C\u6B64\u64CD\u4F5C,\u8ACB\u9078\u64C7\u55AE\u500B\u5340\u57DF,\u7136\u5F8C\u518D\u8A66",mergeError:"\u9078\u5340\u6709\u5408\u4F75\u5132\u5B58\u683C,\u7121\u6CD5\u57F7\u884C\u6B64\u64CD\u4F5C\uFF01",columnSortMergeError:"\u5217\u6392\u5E8F\u6703\u64F4\u5C55\u81F3\u6574\u500B\u8868\u683C\u9078\u5340\uFF0C\u9078\u5340\u6709\u5408\u4E26\u55AE\u5143\u683C\uFF0C\u7121\u6CD5\u57F7\u884C\u6B64\u64CD\u4F5C\uFF0C\u8ACB\u9078\u64C7\u529F\u80FD\u6B04\u6392\u5E8F\u529F\u80FD\uFF01"},filter:{filter:"\u7BE9\u9078",clearFilter:"\u6E05\u9664\u7BE9\u9078",sortByAsc:"\u4EE5A-Z\u6607\u51AA\u6392\u5217",sortByDesc:"\u4EE5Z-A\u964D\u5E8F\u6392\u5217",filterByColor:"\u6309\u984F\u8272\u7BE9\u9078",filterByCondition:"\u6309\u689D\u4EF6\u904E\u6FFE",filterByValues:"\u6309\u503C\u904E\u6FFE",filiterInputNone:"\u7121",filiterInputTip:"\u8F38\u5165\u7BE9\u9078\u503C",filiterRangeStart:"\u5F9E",filiterRangeStartTip:"\u7BC4\u570D\u958B\u59CB",filiterRangeEnd:"\u5230",filiterRangeEndTip:"\u7BC4\u570D\u7ED3\u675F",filterValueByAllBtn:"\u5168\u9078",filterValueByClearBtn:"\u6E05\u9664",filterValueByInverseBtn:"\u53CD\u9078",filterValueByTip:"\u6309\u7167\u503C\u9032\u884C\u7BE9\u9078",filterConform:"\u78BA \u8A8D",filterCancel:"\u53D6 \u6D88",conditionNone:"\u7121",conditionCellIsNull:"\u5132\u5B58\u683C\u70BA\u7A7A",conditionCellNotNull:"\u5132\u5B58\u683C\u6709\u6578\u64DA",conditionCellTextContain:"\u6587\u5B57\u5305\u542B",conditionCellTextNotContain:"\u6587\u5B57\u4E0D\u5305\u542B",conditionCellTextStart:"\u6587\u5B57\u958B\u982D\u70BA",conditionCellTextEnd:"\u6587\u5B57\u7D50\u5C3E\u70BA",conditionCellTextEqual:"\u6587\u5B57\u7B49\u65BC",conditionCellDateEqual:"\u65E5\u671F\u7B49\u65BC",conditionCellDateBefore:"\u65E5\u671F\u65E9\u65BC",conditionCellDateAfter:"\u65E5\u671F\u665A\u65BC",conditionCellGreater:"\u5927\u65BC",conditionCellGreaterEqual:"\u5927\u65BC\u7B49\u65BC",conditionCellLess:"\u5C0F\u65BC",conditionCellLessEqual:"\u5C0F\u4E8E\u7B49\u65BC",conditionCellEqual:"\u7B49\u65BC",conditionCellNotEqual:"\u4E0D\u7B49\u65BC",conditionCellBetween:"\u4ECB\u65BC",conditionCellNotBetween:"\u4E0D\u5728\u5176\u4E2D",filiterMoreDataTip:"\u6578\u64DA\u91CF\u5927\uFF01\u8ACB\u7A0D\u5F8C",filiterMonthText:"\u6708",filiterYearText:"\u5E74",filiterByColorTip:"\u6309\u5132\u5B58\u683C\u984F\u8272\u7BE9\u9078",filiterByTextColorTip:"\u6309\u5132\u5B58\u683C\u5B57\u9AD4\u984F\u8272\u7BE9\u9078",filterContainerOneColorTip:"\u672C\u5217\u50C5\u5305\u542B\u4E00\u7A2E\u984F\u8272",filterDateFormatTip:"\u65E5\u671F\u683C\u5F0F",valueBlank:"(\u7A7A\u767D)",mergeError:"\u7BE9\u9078\u9078\u5340\u6709\u5408\u4F75\u5132\u5B58\u683C,\u7121\u6CD5\u57F7\u884C\u6B64\u64CD\u4F5C\uFF01"},rightclick:{copy:"\u8907\u88FD",copyAs:"\u8907\u88FD\u70BA",paste:"\u7C98\u8CBC",insert:"\u63D2\u5165",delete:"\u5220\u9664",deleteCell:"\u5220\u9664\u5132\u5B58\u683C",deleteSelected:"\u5220\u9664\u9078\u4E2D",hide:"\u96B1\u85CF",hideSelected:"\u96B1\u85CF\u9078\u4E2D",showHide:"\u986F\u793A\u96B1\u85CF",to:"\u5411",left:"\u5DE6",right:"\u53F3",top:"\u4E0A",bottom:"\u4E0B",moveLeft:"\u5DE6\u79FB",moveUp:"\u4E0A\u79FB",add:"\u65B0\u589E",row:"\u884C",column:"\u5217",width:"\u5BEC",height:"\u9AD8",number:"\u6578\u4F4D",confirm:"\u78BA\u8A8D",orderAZ:"A-Z\u9806\u5E8F\u6392\u5217",orderZA:"Z-A\u964D\u5E8F\u6392\u5217",clearContent:"\u6E05\u9664\u5167\u5BB9",matrix:"\u77E9\u9663\u64CD\u4F5C\u9078\u5340",sortSelection:"\u6392\u5E8F\u9078\u5340",filterSelection:"\u7BE9\u9078\u9078\u5340",chartGeneration:"\u5716\u8868\u751F\u6210",firstLineTitle:"\u9996\u884C\u70BA\u6A19\u984C",untitled:"\u7121\u6A19\u984C",array1:"\u4E00\u7DAD\u6578\u7D44",array2:"\u4E8C\u7DAD\u9663\u5217",array3:"\u591A\u5143\u6578\u7D44",diagonal:"\u5C0D\u89D2\u7DDA",antiDiagonal:"\u53CD\u5C0D\u89D2\u7DDA",diagonalOffset:"\u5C0D\u89D2\u504F\u79FB",offset:"\u504F\u79FB\u91CF",boolean:"\u5E03\u6797\u503C",flip:"\u7FFB\u8F49",upAndDown:"\u4E0A\u4E0B",leftAndRight:"\u5DE6\u53F3",clockwise:"\u9806\u6642\u91DD",counterclockwise:"\u9006\u6642\u91DD",transpose:"\u8F49\u7F6E",matrixCalculation:"\u77E9\u9663\u8A08\u7B97",plus:"\u52A0",minus:"\u51CF",multiply:"\u4E58",divided:"\u9664",power:"\u6B21\u65B9",root:"\u6B21\u65B9\u6839",log:"log",delete0:"\u5220\u9664\u5169\u7AEF0\u503C",removeDuplicate:"\u5220\u9664\u91CD\u8907\u503C",byRow:"\u6309\u884C",byCol:"\u6309\u5217",generateNewMatrix:"\u751F\u6210\u65B0\u77E9\u9663"},comment:{insert:"\u65B0\u5EFA\u6279\u8A3B",edit:"\u7DE8\u8F2F\u6279\u8A3B",delete:"\u5220\u9664",showOne:"\u986F\u793A/\u96B1\u85CF\u6279\u8A3B",showAll:"\u986F\u793A/\u96B1\u85CF\u6240\u6709\u6279\u8A3B"},screenshot:{screenshotTipNoSelection:"\u8ACB\u6846\u9078\u9700\u8981\u622A\u5716\u7684\u7BC4\u570D",screenshotTipTitle:"\u63D0\u793A\uFF01",screenshotTipHasMerge:"\u7121\u6CD5\u5C0D\u5408\u4F75\u5132\u5B58\u683C\u57F7\u884C\u6B64\u64CD\u4F5C",screenshotTipHasMulti:"\u7121\u6CD5\u5C0D\u591A\u91CD\u9078\u64C7\u5340\u57DF\u57F7\u884C\u6B64\u64CD\u4F5C",screenshotTipSuccess:"\u622A\u53D6\u6210\u529F",screenshotImageName:"\u622A\u5716",downLoadClose:"\u95DC\u9589",downLoadCopy:"\u8907\u88FD\u5230\u526A\u5207\u677F",downLoadBtn:"\u4E0B\u8F09",browserNotTip:"\u4E0B\u8F09\u529F\u80FDIE\u700F\u89BD\u5668\u4E0D\u652F\u6301\uFF01",rightclickTip:"\u8ACB\u5728\u5716\u7247\u4E0A\u53F3\u9375\u9EDE\u64CA'\u8907\u88FD'",successTip:"\u5DF2\u6210\u529F\u8907\u88FD\uFF08\u5982\u679C\u7C98\u8CBC\u5931\u6557,\u8ACB\u5728\u5716\u7247\u4E0A\u53F3\u9375\u9EDE\u64CA'\u8907\u88FD\u5716\u7247'\uFF09"},splitText:{splitDelimiters:"\u5206\u5272\u7B26\u865F",splitOther:"\u5176\u5B83",splitContinueSymbol:"\u9023\u7E8C\u5206\u9694\u7B26\u865F\u8996\u70BA\u55AE\u500B\u8655\u7406",splitDataPreview:"\u6578\u64DA\u9810\u89BD",splitTextTitle:"\u6587\u5B57\u5206\u5217",splitConfirmToExe:"\u6B64\u8655\u5DF2\u6709\u6578\u64DA,\u662F\u5426\u66FF\u63DB\u5B83\uFF1F",tipNoMulti:"\u80FD\u5C0D\u591A\u91CD\u9078\u64C7\u5340\u57DF\u57F7\u884C\u6B64\u64CD\u4F5C,\u8ACB\u9078\u64C7\u55AE\u500B\u5340\u57DF,\u7136\u5F8C\u518D\u8A66",tipNoMultiColumn:"\u4E00\u6B21\u53EA\u80FD\u8F49\u63DB\u4E00\u5217\u6578\u64DA,\u9078\u5B9A\u5340\u57DF\u53EF\u4EE5\u6709\u591A\u884C,\u4F46\u4E0D\u80FD\u6709\u591A\u5217,\u8ACB\u5728\u9078\u5B9A\u55AE\u5217\u5340\u57DF\u4EE5\u5F8C\u518D\u8A66"},imageText:{imageSetting:"\u5716\u7247\u8A2D\u5B9A",close:"\u95DC\u9589",conventional:"\u5E38\u898F",moveCell1:"\u79FB\u52D5\u4E26\u8ABF\u6574\u5132\u5B58\u683C\u5927\u5C0F",moveCell2:"\u79FB\u52D5\u4E26\u4E14\u4E0D\u8ABF\u6574\u5132\u5B58\u683C\u7684\u5927\u5C0F",moveCell3:"\u4E0D\u8981\u79FB\u52D5\u5132\u5B58\u683C\u4E26\u8ABF\u6574\u5176\u5927\u5C0F",fixedPos:"\u56FA\u5B9A\u4F4D\u7F6E",border:"\u908A\u6846",width:"\u5BEC\u5EA6",radius:"\u534A\u5F91",style:"\u6A23\u5F0F",solid:"\u5BE6\u7DDA",dashed:"\u865B\u7DDA",dotted:"\u9EDE\u72C0",double:"\u96D9\u7DDA",color:"\u984F\u8272"},punctuation:{tab:"Tab \u9375",semicolon:"\u5206\u865F",comma:"\u9017\u865F",space:"\u7A7A\u683C"},findAndReplace:{find:"\u67E5\u627E",replace:"\u66FF\u63DB",goto:"\u8F49\u5230",location:"\u5B9A\u4F4D\u689D\u4EF6",formula:"\u516C\u5F0F",date:"\u65E5\u671F",number:"\u6578\u4F4D",string:"\u5B57\u5143",error:"\u932F\u8AA4",condition:"\u689D\u4EF6\u683C\u5F0F",rowSpan:"\u9593\u9694\u884C",columnSpan:"\u9593\u9694\u5217",locationExample:"\u5B9A\u4F4D",lessTwoRowTip:"\u8ACB\u9078\u64C7\u6700\u5C11\u5169\u884C",lessTwoColumnTip:"\u8ACB\u9078\u64C7\u6700\u5C11\u5169\u884C",findTextbox:"\u67E5\u627E\u5185\u5BB9",replaceTextbox:"\u66FF\u63DB\u5167\u5BB9",regexTextbox:"\u898F\u5247\u904B\u7B97\u5F0F\u5339\u914D",wholeTextbox:"\u6574\u8A5E\u5339\u914D",distinguishTextbox:"\u5340\u5206\u5927\u5C0F\u5BEB\u5339\u914D",allReplaceBtn:"\u5168\u90E8\u66FF\u63DB",replaceBtn:"\u66FF\u63DB",allFindBtn:"\u67E5\u627E\u5168\u90E8",findBtn:"\u67E5\u627E\u4E0B\u4E00\u500B",noFindTip:"\u6C92\u6709\u67E5\u627E\u5230\u8A72\u5167\u5BB9",modeTip:"\u8A72\u6A21\u5F0F\u4E0B\u4E0D\u53EF\u9032\u884C\u6B64\u64CD\u4F5C",searchTargetSheet:"\u5DE5\u4F5C\u8868",searchTargetCell:"\u5132\u5B58\u683C",searchTargetValue:"\u503C",searchInputTip:"\u8ACB\u8F38\u5165\u67E5\u627E\u5167\u5BB9",noReplceTip:"\u6C92\u6709\u53EF\u66FF\u63DB\u7684\u5167\u5BB9",noMatchTip:"\u627E\u4E0D\u5230\u5339\u914D\u9805",successTip:"\u5DF2\u7D93\u5E6B\u60A8\u8490\u7D22\u4E26\u9032\u884C\u4E86${xlength}\u8655\u66FF\u63DB",locationConstant:"\u5E38\u6578",locationFormula:"\u516C\u5F0F",locationDate:"\u65E5\u671F",locationDigital:"\u6578\u4F4D",locationString:"\u5B57\u5143",locationBool:"\u908F\u8F2F\u503C",locationError:"\u932F\u8AA4",locationNull:"\u7A7A\u503C",locationCondition:"\u689D\u4EF6\u683C\u5F0F",locationRowSpan:"\u9593\u9694\u884C",locationColumnSpan:"\u9593\u9694\u5217",locationTiplessTwoRow:"\u8ACB\u9078\u64C7\u6700\u5C11\u5169\u884C",locationTiplessTwoColumn:"\u8ACB\u9078\u64C7\u6700\u5C11\u5169\u5217",locationTipNotFindCell:"\u672A\u627E\u5230\u5132\u5B58\u683C"},sheetconfig:{delete:"\u5220\u9664",copy:"\u8907\u88FD",rename:"\u91CD\u547D\u540D",changeColor:"\u66F4\u6539\u984F\u8272",hide:"\u96B1\u85CF",unhide:"\u53D6\u6D88\u96B1\u85CF",moveLeft:"\u5411\u5DE6\u79FB",moveRight:"\u5411\u53F3\u79FB",resetColor:"\u91CD\u7F6E\u984F\u8272",cancelText:"\u53D6\u6D88",chooseText:"\u78BA\u5B9A\u984F\u8272",tipNameRepeat:"\u7C64\u9801\u7684\u540D\u7A31\u4E0D\u80FD\u91CD\u8907\uFF01\u8ACB\u91CD\u65B0\u4FEE\u6539",noMoreSheet:"\u5DE5\u4F5C\u8584\u5167\u81F3\u5C11\u542B\u6709\u4E00\u5F35\u53EF\u8996\u5DE5\u4F5C\u8868\u3002\u82E5\u9700\u5220\u9664\u9078\u5B9A\u7684\u5DE5\u4F5C\u8868,\u8ACB\u5148\u63D2\u5165\u4E00\u5F35\u65B0\u5DE5\u4F5C\u8868\u6216\u986F\u793A\u4E00\u5F35\u96B1\u85CF\u7684\u5DE5\u4F5C\u8868\u3002\u3002",confirmDelete:"\u662F\u5426\u5220\u9664",redoDelete:"\u53EF\u4EE5\u901A\u904ECtrl+Z\u64A4\u92B7\u5220\u9664",noHide:"\u4E0D\u80FD\u96B1\u85CF,\u81F3\u5C11\u4FDD\u7559\u4E00\u500Bsheet\u6A19\u7C64",chartEditNoOpt:"\u5716\u8868\u7DE8\u8F2F\u6A21\u5F0F\u4E0B\u4E0D\u5141\u8A31\u8A72\u64CD\u4F5C\uFF01",sheetNameSpecCharError:`\u540D\u7A31\u4E0D\u80FD\u5305\u542B:[ ] : ? * / ' "`,sheetNamecannotIsEmptyError:"\u540D\u7A31\u4E0D\u80FD\u70BA\u7A7A"},conditionformat:{conditionformat_greaterThan:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u5927\u65BC",conditionformat_greaterThan_title:"\u70BA\u5927\u65BC\u4EE5\u4E0B\u503C\u7684\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",conditionformat_lessThan:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u5C0F\u65BC",conditionformat_lessThan_title:"\u70BA\u5C0F\u65BC\u4EE5\u4E0B\u503C\u7684\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",conditionformat_betweenness:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u4ECB\u65BC",conditionformat_betweenness_title:"\u70BA\u4ECB\u65BC\u4EE5\u4E0B\u503C\u7684\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",conditionformat_equal:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u7B49\u65BC",conditionformat_equal_title:"\u70BA\u7B49\u65BC\u4EE5\u4E0B\u503C\u7684\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",conditionformat_textContains:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u6587\u5B57\u5305\u542B",conditionformat_textContains_title:"\u70BA\u5305\u542B\u4EE5\u4E0B\u6587\u5B57\u7684\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",conditionformat_occurrenceDate:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u767C\u751F\u65E5\u671F",conditionformat_occurrenceDate_title:"\u70BA\u5305\u542B\u4EE5\u4E0B\u65E5\u671F\u7684\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",conditionformat_duplicateValue:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u91CD\u8907\u503C",conditionformat_duplicateValue_title:"\u70BA\u5305\u542B\u4EE5\u4E0B\u985E\u578B\u503C\u7684\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",conditionformat_top10:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u524D10\u9805",conditionformat_top10_percent:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u524D10%",conditionformat_top10_title:"\u70BA\u503C\u6700\u5927\u7684\u90A3\u4E9B\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",conditionformat_last10:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u6700\u5F8C10\u9805",conditionformat_last10_percent:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u6700\u5F8C10%",conditionformat_last10_title:"\u70BA\u503C\u6700\u5C0F\u7684\u90A3\u4E9B\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",conditionformat_AboveAverage:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u9AD8\u65BC\u5E73\u5747\u503C",conditionformat_AboveAverage_title:"\u70BA\u9AD8\u65BC\u5E73\u5747\u503C\u7684\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",conditionformat_SubAverage:"\u689D\u4EF6\u683C\u5F0F\u2014\u2014\u4F4E\u65BC\u5E73\u5747\u503C",conditionformat_SubAverage_title:"\u70BA\u4F4E\u65BC\u5E73\u5747\u503C\u7684\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",rule:"\u898F\u5247",newRule:"\u65B0\u5EFA\u898F\u5247",editRule:"\u7DE8\u8F2F\u898F\u5247",deleteRule:"\u5220\u9664\u898F\u5247",deleteCellRule:"\u6E05\u9664\u6240\u9078\u5132\u5B58\u683C\u7684\u898F\u5247",deleteSheetRule:"\u6E05\u9664\u6574\u500B\u5DE5\u4F5C\u8868\u7684\u898F\u5247",manageRules:"\u7BA1\u7406\u898F\u5247",showRules:"\u986F\u793A\u5176\u683C\u5F0F\u898F\u5247",highlightCellRules:"\u7A81\u51FA\u986F\u793A\u5132\u5B58\u683C\u898F\u5247",itemSelectionRules:"\u9805\u76EE\u9078\u53D6\u898F\u5247",conditionformatManageRules:"\u689D\u4EF6\u683C\u5F0F\u898F\u5247\u7BA1\u7406\u5668",format:"\u683C\u5F0F",setFormat:"\u8A2D\u5B9A\u683C\u5F0F",setAs:"\u8A2D\u5B9A\u70BA",setAsByArea:"\u91DD\u5C0D\u9078\u5B9A\u5340\u57DF,\u8A2D\u5B9A\u70BA",applyRange:"\u61C9\u7528\u7BC4\u570D",selectRange:"\u9EDE\u64CA\u9078\u64C7\u61C9\u7528\u7BC4\u570D",selectRange_percent:"\u6240\u9078\u7BC4\u570D\u7684\u767E\u5206\u6BD4",selectRange_average:"\u9078\u5B9A\u7BC4\u570D\u7684\u5E73\u5747\u503C",selectRange_value:"\u9078\u5B9A\u7BC4\u570D\u4E2D\u7684\u6578\u503C",pleaseSelectRange:"\u8ACB\u9078\u64C7\u61C9\u7528\u7BC4\u570D",selectDataRange:"\u9EDE\u64CA\u9078\u64C7\u6578\u64DA\u7BC4\u570D",selectCell:"\u9078\u64C7\u5132\u5B58\u683C",pleaseSelectCell:"\u8ACB\u9078\u64C7\u5132\u5B58\u683C",pleaseSelectADate:"\u8ACB\u9078\u64C7\u65E5\u671F",pleaseEnterInteger:"\u8ACB\u8F38\u5165\u4E00\u500B\u4ECB\u65BC1\u548C1000\u4E4B\u9593\u7684\u6574\u6578",onlySingleCell:"\u53EA\u80FD\u5C0D\u55AE\u500B\u5132\u5B58\u683C\u9032\u884C\u5F15\u7528",conditionValueCanOnly:"\u689D\u4EF6\u503C\u53EA\u80FD\u662F\u6578\u4F4D\u6216\u8005\u55AE\u500B\u5132\u5B58\u683C",ruleTypeItem1:"\u57FA\u65BC\u5404\u81EA\u503C\u8A2D\u5B9A\u6240\u6709\u5132\u5B58\u683C\u7684\u683C\u5F0F",ruleTypeItem2:"\u53EA\u70BA\u5305\u542B\u4EE5\u4E0B\u5167\u5BB9\u7684\u5132\u5B58\u683C\u8A2D\u5B9A\u683C\u5F0F",ruleTypeItem2_title:"\u53EA\u70BA\u6EFF\u8DB3\u4EE5\u4E0B\u689D\u4EF6\u7684\u5132\u5B58\u683C",ruleTypeItem3:"\u50C5\u5C0D\u6392\u540D\u9760\u524D\u6216\u9760\u5F8C\u7684\u6578\u503C\u8A2D\u5B9A\u683C\u5F0F",ruleTypeItem3_title:"\u70BA\u4EE5\u4E0B\u6392\u540D\u5167\u7684\u503C",ruleTypeItem4:"\u50C5\u5C0D\u9AD8\u65BC\u6216\u4F4E\u65BC\u5E73\u5747\u503C\u7684\u6578\u503C\u8A2D\u5B9A\u683C\u5F0F",ruleTypeItem4_title:"\u70BA\u6EFF\u8DB3\u4EE5\u4E0B\u689D\u4EF6\u7684\u503C",ruleTypeItem5:"\u50C5\u5C0D\u552F\u4E00\u503C\u6216\u91CD\u8907\u503C\u8A2D\u5B9A\u683C\u5F0F",ruleTypeItem6:"\u4F7F\u7528\u516C\u5F0F\u78BA\u5B9A\u8981\u8A2D\u7F6E\u683C\u5F0F\u7684\u55AE\u5143\u683C",formula:"\u516C\u5F0F",textColor:"\u6587\u5B57\u984F\u8272",cellColor:"\u5132\u5B58\u683C\u984F\u8272",confirm:"\u78BA\u5B9A",confirmColor:"\u78BA\u5B9A\u984F\u8272",cancel:"\u53D6\u6D88",close:"\u95DC\u9589",clearColorSelect:"\u6E05\u9664\u984F\u8272\u9078\u64C7",sheet:"\u9336",currentSheet:"\u7576\u524D\u5DE5\u4F5C\u8868",dataBar:"\u6578\u64DA\u689D",dataBarColor:"\u6578\u64DA\u689D\u984F\u8272",gradientDataBar_1:"\u85CD-\u767D\u6F38\u8B8A\u6578\u64DA\u689D",gradientDataBar_2:"\u7DA0-\u767D\u6F38\u8B8A\u6578\u64DA\u689D",gradientDataBar_3:"\u7D05-\u767D\u6F38\u8B8A\u6578\u64DA\u689D",gradientDataBar_4:"\u67F3\u4E01-\u767D\u6F38\u8B8A\u6578\u64DA\u689D",gradientDataBar_5:"\u6DFA\u85CD-\u767D\u6F38\u8B8A\u6578\u64DA\u689D",gradientDataBar_6:"\u7D2B-\u767D\u6F38\u8B8A\u6578\u64DA\u689D",solidColorDataBar_1:"\u85CD\u8272\u6578\u64DA\u689D",solidColorDataBar_2:"\u7DA0\u8272\u6578\u64DA\u689D",solidColorDataBar_3:"\u7D05\u8272\u6578\u64DA\u689D",solidColorDataBar_4:"\u6A59\u8272\u6578\u64DA\u689D",solidColorDataBar_5:"\u6DFA\u85CD\u8272\u6578\u64DA\u689D",solidColorDataBar_6:"\u7D2B\u8272\u6578\u64DA\u689D",colorGradation:"\u8272\u968E",colorGradation_1:"\u7DA0-\u9EC3-\u7D05\u8272\u968E",colorGradation_2:"\u7D05-\u9EC3-\u7DA0\u8272\u968E",colorGradation_3:"\u7DA0-\u767D-\u7D05\u8272\u968E",colorGradation_4:"\u7D05-\u767D-\u7DA0\u8272\u968E",colorGradation_5:"\u85CD-\u767D-\u7D05\u8272\u968E",colorGradation_6:"\u7D05-\u767D-\u85CD\u8272\u968E",colorGradation_7:"\u767D-\u7D05\u8272\u968E",colorGradation_8:"\u7D05-\u767D\u8272\u968E",colorGradation_9:"\u7DA0-\u767D\u8272\u968E",colorGradation_10:"\u767D-\u7DA0\u8272\u968E",colorGradation_11:"\u7DA0-\u9EC3\u8272\u968E",colorGradation_12:"\u9EC3-\u7DA0\u8272\u968E",icons:"\u5716\u6A19\u96C6",pleaseSelectIcon:"\u8ACB\u9EDE\u64CA\u9078\u64C7\u4E00\u7D44\u5716\u6A19:",cellValue:"\u5132\u5B58\u683C\u503C",specificText:"\u7279\u5B9A\u6587\u5B57",occurrence:"\u767C\u751F\u65E5\u671F",greaterThan:"\u5927\u65BC",lessThan:"\u5C0F\u65BC",between:"\u4ECB\u65BC",equal:"\u7B49\u65BC",in:"\u548C",to:"\u5230",between2:"\u4E4B\u9593",contain:"\u5305\u542B",textContains:"\u6587\u5B57\u5305\u542B",duplicateValue:"\u91CD\u8907\u503C",uniqueValue:"\u552F\u4E00\u503C",top:"\u524D",top10:"\u524D10\u9805",top10_percent:"\u524D10%",last:"\u5F8C",last10:"\u5F8C10\u9805",last10_percent:"\u5F8C10%",oneself:"\u500B",above:"\u9AD8\u65BC",aboveAverage:"\u9AD8\u65BC\u5E73\u5747\u503C",below:"\u4F4E\u65BC",belowAverage:"\u4F4E\u65BC\u5E73\u5747\u503C",all:"\u5168\u90E8",yesterday:"\u6628\u5929",today:"\u4ECA\u5929",tomorrow:"\u660E\u5929",lastWeek:"\u4E0A\u5468",thisWeek:"\u672C\u5468",lastMonth:"\u4E0A\u6708",thisMonth:"\u672C\u6708",lastYear:"\u53BB\u5E74",thisYear:"\u672C\u5E74",last7days:"\u6700\u8FD17\u5929",last30days:"\u6700\u8FD130\u5929",next7days:"\u672A\u4F867\u5929",next30days:"\u672A\u4F8630\u5929",next60days:"\u672A\u4F8660\u5929",chooseRuleType:"\u9078\u64C7\u898F\u5247\u985E\u578B",editRuleDescription:"\u7DE8\u8F2F\u898F\u5247\u8AAA\u660E",newFormatRule:"\u65B0\u5EFA\u683C\u5F0F\u898F\u5247",editFormatRule:"\u7DE8\u8F2F\u683C\u5F0F\u898F\u5247",formatStyle:"\u683C\u5F0F\u6A23\u5F0F",fillType:"\u586B\u5145\u985E\u578B",color:"\u984F\u8272",twocolor:"\u96D9\u8272",tricolor:"\u4E09\u8272",multicolor:"\u5F69\u8272",grayColor:"\u7070\u8272",gradient:"\u6F38\u8B8A",solid:"\u5BE6\u5FC3",maxValue:"\u6700\u5927\u503C",medianValue:"\u4E2D\u9593\u503C",minValue:"\u6700\u5C0F\u503C",direction:"\u65B9\u5411",threeWayArrow:"\u4E09\u5411\u7BAD\u982D",fourWayArrow:"\u56DB\u5411\u7BAD\u982D",fiveWayArrow:"\u4E94\u5411\u7BAD\u982D",threeTriangles:"3\u500B\u4E09\u89D2\u5F62",shape:"\u5F62\u72C0",threeColorTrafficLight:"\u4E09\u8272\u4EA4\u901A\u71C8",fourColorTrafficLight:"\u56DB\u8272\u4EA4\u901A\u71C8",threeSigns:"\u4E09\u6A19\u8A8C",greenRedBlackGradient:"\u7DA0-\u7D05-\u9ED1\u6F38\u8B8A",rimless:"\u7121\u908A\u6846",bordered:"\u6709\u908A\u6846",mark:"\u6A19\u8A18",threeSymbols:"\u4E09\u500B\u7B26\u865F",tricolorFlag:"\u4E09\u8272\u65D7",circled:"\u6709\u5713\u5708",noCircle:"\u7121\u5713\u5708",grade:"\u7B49\u7D1A",grade4:"\u56DB\u7B49\u7D1A",grade5:"\u4E94\u7B49\u7D1A",threeStars:"3\u500B\u661F\u5F62",fiveQuadrantDiagram:"\u4E94\u8C61\u9650\u5716",fiveBoxes:"5\u500B\u6846"},insertLink:{linkText:"\u6587\u5B57",linkType:"\u9023\u7D50\u985E\u578B",external:"\u5916\u90E8\u9023\u7D50",internal:"\u5185\u90E8\u9023\u7D50",linkAddress:"\u9023\u7D50\u5730\u5740",linkSheet:"\u5DE5\u4F5C\u8868",linkCell:"\u5132\u5B58\u683C\u5F15\u7528",linkTooltip:"\u63D0\u793A",placeholder1:"\u8ACB\u8F38\u5165\u7DB2\u9801\u9023\u7D50\u4F4D\u5740",placeholder2:"\u8ACB\u8F38\u5165\u8981\u5F15\u7528\u7684\u5132\u5B58\u683C,\u4F8BA1",placeholder3:"\u8ACB\u8F38\u5165\u63D0\u793A\u5167\u5BB9",tooltipInfo1:"\u8ACB\u8F38\u5165\u6709\u6548\u7684\u9023\u7D50",tooltipInfo2:"\u8ACB\u8F38\u5165\u6B63\u78BA\u7684\u5132\u5B58\u683C\u5F15\u7528"},dataVerification:{cellRange:"\u5132\u5B58\u683C\u7BC4\u570D",selectCellRange:"\u9EDE\u64CA\u9078\u64C7\u5132\u5B58\u683C\u7BC4\u570D",selectCellRange2:"\u8ACB\u9078\u64C7\u5132\u5B58\u683C\u7BC4\u570D",verificationCondition:"\u9A57\u8B49\u689D\u4EF6",allowMultiSelect:"\u662F\u5426\u5141\u8A31\u591A\u9078",dropdown:"\u4E0B\u62C9\u6E05\u55AE",checkbox:"\u6838\u53D6\u65B9\u584A",number:"\u6578\u4F4D",number_integer:"\u6578\u4F4D-\u6574\u6578",number_decimal:"\u6578\u4F4D-\u5C0F\u6578",text_content:"\u6587\u5B57-\u5167\u5BB9",text_length:"\u6587\u5B57-\u9577\u5EA6",date:"\u65E5\u671F",validity:"\u6709\u6548\u6027",placeholder1:"\u8ACB\u8F38\u5165\u9078\u9805,\u4EE5\u82F1\u6587\u9017\u865F\u5206\u9694,\u59821,2,3,4,5",placeholder2:"\u8ACB\u8F38\u5165\u5167\u5BB9",placeholder3:"\u6578\u503C,\u598210",placeholder4:"\u8ACB\u8F38\u5165\u6307\u5B9A\u7684\u6587\u5B57",placeholder5:"\u8ACB\u8F38\u5165\u9078\u4E2D\u5132\u5B58\u683C\u6642\u986F\u793A\u7684\u63D0\u793A\u8A9E",selected:"\u9078\u64C7\u6642",notSelected:"\u672A\u9078\u64C7",between:"\u4ECB\u65BC",notBetween:"\u4E0D\u4ECB\u65BC",equal:"\u7B49\u65BC",notEqualTo:"\u4E0D\u7B49\u65BC",moreThanThe:"\u5927\u65BC",lessThan:"\u5C0F\u65BC",greaterOrEqualTo:"\u5927\u65BC\u7B49\u65BC",lessThanOrEqualTo:"\u5C0F\u65BC\u7B49\u65BC",include:"\u5305\u62EC",exclude:"\u4E0D\u5305\u62EC",earlierThan:"\u65E9\u65BC",noEarlierThan:"\u4E0D\u65E9\u65BC",laterThan:"\u665A\u65BC",noLaterThan:"\u4E0D\u665A\u65BC",identificationNumber:"\u8EAB\u4EFD\u8B49\u865F\u78BC",phoneNumber:"\u624B\u6A5F\u865F",remote:"\u81EA\u52D5\u9060\u7A0B\u7372\u53D6\u9078\u9805",prohibitInput:"\u8F38\u5165\u6578\u64DA\u7121\u6548\u6642\u7981\u6B62\u8F38\u5165",hintShow:"\u9078\u4E2D\u5132\u5B58\u683C\u6642\u986F\u793A\u63D0\u793A\u8A9E",deleteVerification:"\u5220\u9664\u9A57\u8B49",tooltipInfo1:"\u4E0B\u62C9\u6E05\u55AE\u9078\u9805\u4E0D\u53EF\u70BA\u7A7A",tooltipInfo2:"\u6838\u53D6\u65B9\u584A\u5167\u5BB9\u4E0D\u53EF\u70BA\u7A7A",tooltipInfo3:"\u8F38\u5165\u7684\u503C\u4E0D\u662F\u6578\u503C\u985E\u578B",tooltipInfo4:"\u6578\u503C2\u4E0D\u80FD\u5C0F\u65BC\u6578\u503C1",tooltipInfo5:"\u6587\u5B57\u5167\u5BB9\u4E0D\u80FD\u70BA\u7A7A",tooltipInfo6:"\u8F38\u5165\u7684\u503C\u4E0D\u662F\u65E5\u671F\u985E\u578B",tooltipInfo7:"\u65E5\u671F2\u4E0D\u80FD\u5C0F\u65BC\u65E5\u671F1",textlengthInteger:"\u6587\u5B57\u9577\u5EA6\u5FC5\u9808\u662F\u5927\u65BC\u7B49\u65BC0\u7684\u6574\u6578"},formula:{sum:"\u6C42\u548C",average:"\u5E73\u5747\u503C",count:"\u8A08\u6578",max:"\u6700\u5927\u503C",min:"\u6700\u5C0F\u503C",ifGenerate:"if\u516C\u5F0F\u751F\u6210\u5668",find:"\u66F4\u591A\u51FD\u6578",tipNotBelongToIf:"\u8A72\u5132\u5B58\u683C\u51FD\u6578\u4E0D\u5C6C\u65BCif\u516C\u5F0F!",tipSelectCell:"\u8ACB\u9078\u64C7\u5132\u5B58\u683C\u63D2\u5165\u51FD\u6578",ifGenCompareValueTitle:"\u6BD4\u8F83\u503C",ifGenSelectCellTitle:"\u9EDE\u64CA\u9078\u64C7\u5132\u5B58\u683C",ifGenRangeTitle:"\u7BC4\u570D",ifGenRangeTo:"\u81F3",ifGenRangeEvaluate:"\u7BC4\u570D\u8A55\u4F30",ifGenSelectRangeTitle:"\u9EDE\u64CA\u9078\u64C7\u7BC4\u570D",ifGenCutWay:"\u5283\u5206\u7BA1\u9053",ifGenCutSame:"\u5283\u5206\u503C\u76F8\u540C",ifGenCutNpiece:"\u5283\u5206\u4E3AN\u4EFD",ifGenCutCustom:"\u81EA\u5B9A\u7FA9\u8F38\u5165",ifGenCutConfirm:"\u751F\u6210",ifGenTipSelectCell:"\u9078\u64C7\u5132\u5B58\u683C",ifGenTipSelectCellPlace:"\u8ACB\u9078\u64C7\u5132\u5B58\u683C",ifGenTipSelectRange:"\u9078\u64C7\u55AE\u7BC4\u570D",ifGenTipSelectRangePlace:"\u8ACB\u9078\u64C7\u7BC4\u570D",ifGenTipNotNullValue:"\u6BD4\u8F03\u503C\u4E0D\u80FD\u70BA\u7A7A!",ifGenTipLableTitile:"\u6A19\u7C64",ifGenTipRangeNotforNull:"\u7BC4\u570D\u4E0D\u80FD\u70BA\u7A7A!",ifGenTipCutValueNotforNull:"\u5283\u5206\u503C\u4E0D\u80FD\u70BA\u7A7A\uFF01",ifGenTipNotGenCondition:"\u6C92\u6709\u751F\u6210\u53EF\u7528\u7684\u689D\u4EF6\uFF01"},formulaMore:{valueTitle:"\u503C",tipSelectDataRange:"\u9078\u53D6\u6578\u64DA\u7BC4\u570D",tipDataRangeTile:"\u6578\u64DA\u7BC4\u570D",findFunctionTitle:"\u67E5\u627E\u51FD\u6578",tipInputFunctionName:"\u8ACB\u8F38\u5165\u60A8\u8981\u67E5\u627E\u7684\u51FD\u6578\u540D\u7A31\u6216\u51FD\u6578\u529F\u80FD\u7684\u7C21\u8981\u63CF\u8FF0",Array:"\u6578\u7D44",Database:"\u8CC7\u6599\u4F86\u6E90",Date:"\u65E5\u671F",Engineering:"\u5DE5\u7A0B\u8A08\u7B97",Filter:"\u7BE9\u6AA2\u7A0B\u5F0F",Financial:"\u8CA1\u52D9",luckysheet:"Luckysheet\u5167\u5BD8",other:"\u5176\u5B83",Logical:"\u908F\u8F2F",Lookup:"\u67E5\u627E",Math:"\u6578\u5B78",Operator:"\u904B\u7B97\u5B50",Parser:"\u8F49\u63DB\u5DE5\u5177",Statistical:"\u7D71\u8A08",Text:"\u6587\u5B57",dataMining:"\u8CC7\u6599\u6316\u6398",selectFunctionTitle:"\u9078\u64C7\u51FD\u6578",calculationResult:"\u8A08\u7B97\u7D50\u679C",tipSuccessText:"\u6210\u529F",tipParamErrorText:"\u53C3\u6578\u985E\u578B\u932F\u8AA4",helpClose:"\u95DC\u9589",helpCollapse:"\u6536\u8D77",helpExample:"\u793A\u4F8B",helpAbstract:"\u6458\u8981",execfunctionError:'\u63D0\u793A", "\u516C\u5F0F\u5B58\u5728\u932F\u8AA4',execfunctionSelfError:"\u516C\u5F0F\u4E0D\u53EF\u5F15\u7528\u5176\u672C\u8EAB\u7684\u5132\u5B58\u683C",execfunctionSelfErrorResult:"\u516C\u5F0F\u4E0D\u53EF\u5F15\u7528\u5176\u672C\u8EAB\u7684\u5132\u5B58\u683C,\u6703\u5C0E\u81F4\u8A08\u7B97\u7D50\u679C\u4E0D\u6E96\u78BA",allowRepeatText:"\u53EF\u91CD\u8907",allowOptionText:"\u53EF\u9078",selectCategory:"\u6216\u9078\u64C7\u985E\u5225"},drag:{noMerge:"\u7121\u6CD5\u5C0D\u5408\u4F75\u5132\u5B58\u683C\u57F7\u884C\u6B64\u64CD\u4F5C",affectPivot:"\u7121\u6CD5\u5C0D\u6240\u9078\u5132\u5B58\u683C\u9032\u884C\u6B64\u66F4\u6539,\u56E0\u70BA\u5B83\u6703\u5F71\u97FF\u6578\u64DA\u900F\u8996\u9336\uFF01",noMulti:"\u7121\u6CD5\u5C0D\u591A\u91CD\u9078\u64C7\u5340\u57DF\u57F7\u884C\u6B64\u64CD\u4F5C,\u8ACB\u9078\u64C7\u55AE\u500B\u5340\u57DF",noPaste:"\u7121\u6CD5\u5728\u6B64\u8655\u7C98\u8CBC\u6B64\u5167\u5BB9,\u8ACB\u9078\u64C7\u7C98\u8CBC\u5340\u57DF\u7684\u4E00\u500B\u5132\u5B58\u683C,\u7136\u5F8C\u518D\u6B21\u5617\u8A66\u7C98\u8CBC",noPartMerge:"\u7121\u6CD5\u5C0D\u90E8\u5206\u5408\u4F75\u5132\u5B58\u683C\u57F7\u884C\u6B64\u64CD\u4F5C",inputCorrect:"\u8ACB\u8F38\u5165\u6B63\u78BA\u7684\u6578\u503C",notLessOne:"\u884C\u5217\u6578\u4E0D\u80FD\u5C0F\u65BC1",offsetColumnLessZero:"\u504F\u79FB\u5217\u4E0D\u80FD\u70BA\u8CA0\u6578\uFF01",pasteMustKeybordAlert:"Copy and paste in the Sheet: Ctrl + C to copy, Ctrl + V to paste, Ctrl + X to cut",pasteMustKeybordAlertHTMLTitle:"Copy and paste in the Sheet",pasteMustKeybordAlertHTML:"<span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + C</span>&nbsp;&nbsp;to copy<br/><span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + V</span>&nbsp;&nbsp;to paste<br/><span style='line-height: 1.0;font-size:36px;font-weight: bold;color:#666;'>Ctrl + X</span>&nbsp;&nbsp;to cut"},paste:{warning:"\u63D0\u793A",errorNotAllowMulti:"\u4E0D\u80FD\u5C0D\u591A\u91CD\u9078\u64C7\u5340\u57DF\u57F7\u884C\u6B64\u64CD\u4F5C,\u8ACB\u9078\u64C7\u55AE\u500B\u5340\u57DF,\u7136\u5F8C\u518D\u8A66",errorNotAllowMerged:"\u4E0D\u80FD\u5BF9\u5408\u5E76\u5355\u5143\u683C\u505A\u90E8\u5206\u66F4\u6539"},pivotTable:{title:"\u6578\u64DA\u900F\u8996\u9336",closePannel:"\u95DC\u9589",editRange:"\u7DE8\u8F2F\u7BC4\u570D",tipPivotFieldSelected:"\u9078\u64C7\u9700\u8981\u6DFB\u52A0\u5230\u6578\u64DA\u900F\u8996\u9336\u7684\u6B04\u4F4D",tipClearSelectedField:"\u6E05\u9664\u6240\u6709\u5DF2\u9078\u6B04\u4F4D",btnClearSelectedField:"\u6E05\u9664",btnFilter:"\u7BE9\u9078",titleRow:"\u884C",titleColumn:"\u5217",titleValue:"\u6578\u503C",tipShowColumn:"\u7D71\u8A08\u6B04\u4F4D\u986F\u793A\u70BA\u5217",tipShowRow:"\u7D71\u8A08\u6B04\u4F4D\u986F\u793A\u70BA\u884C",titleSelectionDataRange:"\u9078\u53D6\u6578\u64DA\u7BC4\u570D",titleDataRange:"\u6578\u64DA\u7BC4\u570D",valueSum:"\u7E3D\u8A08",valueStatisticsSUM:"\u6C42\u548C",valueStatisticsCOUNT:"\u6578\u503C\u8A08\u6578",valueStatisticsCOUNTA:"\u8A08\u6578",valueStatisticsCOUNTUNIQUE:"\u53BB\u91CD\u8A08\u6578",valueStatisticsAVERAGE:"\u5E73\u5747\u503C",valueStatisticsMAX:"\u6700\u5927\u503C",valueStatisticsMIN:"\u6700\u5C0F\u503C",valueStatisticsMEDIAN:"\u4E2D\u4F4D\u6578",valueStatisticsPRODUCT:"\u4E58\u7A4D",valueStatisticsSTDEV:"\u6A19\u6E96\u5DEE",valueStatisticsSTDEVP:"\u6574\u9AD4\u6A19\u6E96\u5DEE",valueStatisticslet:"\u65B9\u5DEE",valueStatisticsVARP:"\u6574\u9AD4\u65B9\u5DEE",errorNotAllowEdit:"\u975E\u7DE8\u8F2F\u6A21\u5F0F\u4E0B\u7981\u6B62\u8A72\u64CD\u4F5C!",errorNotAllowMulti:"\u4E0D\u80FD\u5C0D\u591A\u91CD\u9078\u64C7\u5340\u57DF\u57F7\u884C\u6B64\u64CD\u4F5C,\u8ACB\u9078\u64C7\u55AE\u500B\u5340\u57DF,\u7136\u5F8C\u518D\u8A66",errorSelectRange:"\u8ACB\u9078\u64C7\u65B0\u5EFA\u900F\u8996\u9336\u7684\u5340\u57DF",errorIsDamage:"\u6B64\u6578\u64DA\u900F\u8996\u9336\u7684\u6E90\u6578\u64DA\u5DF2\u640D\u58DE\uFF01",errorNotAllowPivotData:"\u4E0D\u53EF\u9078\u64C7\u6578\u64DA\u900F\u8996\u9336\u70BA\u6E90\u6578\u64DA!",errorSelectionRange:"\u9078\u64C7\u5931\u6557,\u8F38\u5165\u7BC4\u570D\u932F\u8AA4\uFF01",errorIncreaseRange:"\u8ACB\u64F4\u5927\u9078\u64C7\u7684\u6578\u64DA\u7BC4\u570D!",titleAddColumn:"\u6DFB\u52A0\u5217\u5230\u6578\u64DA\u900F\u8996\u9336",titleMoveColumn:"\u79FB\u52D5\u8A72\u5217\u5230\u4E0B\u65B9\u767D\u6846",titleClearColumnFilter:"\u6E05\u9664\u8A72\u5217\u7684\u7BE9\u9078\u689D\u4EF6",titleFilterColumn:"\u7BE9\u9078\u8A72\u5217",titleSort:"\u6392\u5E8F",titleNoSort:"\u7121\u6392\u5E8F",titleSortAsc:"\u6607\u51AA",titleSortDesc:"\u964D\u5E8F",titleSortBy:"\u6392\u5E8F\u4F9D\u64DA",titleShowSum:"\u986F\u793A\u7E3D\u8A08",titleStasticTrue:"\u662F",titleStasticFalse:"\u5426"},dropCell:{copyCell:"\u8907\u88FD\u5132\u5B58\u683C",sequence:"\u586B\u5145\u5E8F\u5217",onlyFormat:"\u50C5\u586B\u5145\u683C\u5F0F",noFormat:"\u4E0D\u5E36\u683C\u5F0F\u586B\u5145",day:"\u4EE5\u5929\u6578\u586B\u5145",workDay:"\u4EE5\u5DE5\u4F5C\u65E5\u586B\u5145",month:"\u4EE5\u6708\u586B\u5145",year:"\u4EE5\u5E74\u586B\u5145",chineseNumber:"\u4EE5\u4E2D\u6587\u5C0F\u5BEB\u6578\u4F4D\u586B\u5145"},imageCtrl:{borderTile:"\u5716\u7247\u908A\u6846\u984F\u8272\u9078\u64C7",borderCur:"\u7576\u524D\u984F\u8272"},protection:{protectiontTitle:"\u4FDD\u8B77\u5DE5\u4F5C\u8868",enterPassword:"\u8ACB\u8F38\u5165\u5BC6\u78BC\uFF08\u53EF\u7559\u7A7A\uFF09",enterHint:"\u60A8\u8A66\u5716\u66F4\u6539\u7684\u5132\u5B58\u683C\u6216\u5716\u8868\u4F4D\u65BC\u53D7\u4FDD\u8B77\u7684\u5DE5\u4F5C\u8868\u4E2D\u3002\u82E5\u8981\u66F4\u6539,\u8ACB\u53D6\u6D88\u5DE5\u4F5C\u8868\u4FDD\u8B77\u3002\u60A8\u53EF\u80FD\u9700\u8981\u8F38\u5165\u5BC6\u78BC",swichProtectionTip:"\u4FDD\u8B77\u5DE5\u4F5C\u8868\u53CA\u9396\u5B9A\u7684\u5132\u5B58\u683C\u5167\u5BB9",authorityTitle:"\u5141\u8A31\u6B64\u5DE5\u4F5C\u8868\u7684\u7528\u6236\u9032\u884C:",selectLockedCells:"\u5B9A\u9396\u5B9A\u5132\u5B58\u683C",selectunLockedCells:"\u9078\u5B9A\u89E3\u9664\u9396\u5B9A\u7684\u5132\u5B58\u683C",formatCells:"\u8A2D\u5B9A\u5132\u5B58\u683C\u683C\u5F0F",formatColumns:"\u8A2D\u5B9A\u5217\u683C\u5F0F",formatRows:"\u8A2D\u5B9A\u884C\u683C\u5F0F",insertColumns:"\u63D2\u5165\u5217",insertRows:"\u63D2\u5165\u884C",insertHyperlinks:"\u63D2\u5165\u8D85\u9023\u7D50",deleteColumns:"\u5220\u9664\u5217",deleteRows:"\u5220\u9664\u884C",sort:"\u6392\u5E8F",filter:"\u4F7F\u7528\u81EA\u52D5\u7BE9\u9078",usePivotTablereports:"\u4F7F\u7528\u6578\u64DA\u900F\u8996\u9336\u548C\u5831\u8868",editObjects:"\u7DE8\u8F2F\u5C0D\u8C61",editScenarios:"\u7DE8\u8F2F\u65B9\u6848",allowRangeTitle:"\u5141\u8A31\u7528\u6236\u7DE8\u8F2F\u5340\u57DF",allowRangeAdd:"\u65B0\u5EFA...",allowRangeAddTitle:"\u6A19\u984C",allowRangeAddSqrf:"\u5F15\u7528\u5132\u5B58\u683C",selectCellRange:"\u9EDE\u64CA\u9078\u64C7\u5132\u5B58\u683C\u7BC4\u570D",selectCellRangeHolder:"\u8ACB\u8F38\u5165\u5132\u5B58\u683C\u7BC4\u570D",allowRangeAddTitlePassword:"\u5BC6\u78BC",allowRangeAddTitleHint:"\u63D0\u793A",allowRangeAddTitleHintTitle:"\u8A2D\u7F6E\u5BC6\u78BC\u5F8C,\u63D0\u793A\u7528\u6236\u8F38\u5165\u5BC6\u78BC\uFF08\u53EF\u7559\u7A7A\uFF09",allowRangeAddtitleDefault:"\u8ACB\u8F38\u5165\u5340\u57DF\u540D\u7A31",rangeItemDblclick:"\u6309\u5169\u4E0B\u9032\u884C\u7DE8\u8F2F",rangeItemHasPassword:"\u5DF2\u8A2D\u7F6E\u5BC6\u78BC",rangeItemErrorTitleNull:"\u6A19\u984C\u4E0D\u80FD\u70BA\u7A7A",rangeItemErrorRangeNull:"\u5132\u5B58\u683C\u7BC4\u570D\u4E0D\u80FD\u70BA\u7A7A",rangeItemErrorRange:"\u5132\u5B58\u683C\u7BC4\u570D\u683C\u5F0F\u932F\u8AA4",validationTitle:"\u9A57\u8B49\u63D0\u793A",validationTips:"\u9700\u8981\u8F38\u5165\u5BC6\u78BC\u4F86\u64A4\u92B7\u5DE5\u4F5C\u8868\u7684\u4FDD\u8B77",validationInputHint:"\u8ACB\u8F38\u5165\u5BC6\u78BC",checkPasswordNullalert:"\u5BC6\u78BC\u4E0D\u80FD\u70BA\u7A7A!",checkPasswordWrongalert:"\u5BC6\u78BC\u932F\u8AA4,\u8ACB\u91CD\u8A66\uFF01",checkPasswordSucceedalert:"\u89E3\u9396\u6210\u529F,\u53EF\u4EE5\u7DE8\u8F2F\u8A72\u5340\u57DF!",defaultRangeHintText:"\u8A72\u5132\u5B58\u683C\u6B63\u5728\u53D7\u5BC6\u78BC\u4FDD\u8B77",defaultSheetHintText:"\u8A72\u5132\u5B58\u683C\u6216\u5716\u8868\u4F4D\u65BC\u53D7\u4FDD\u8B77\u7684\u5DE5\u4F5C\u8868\u4E2D,\u82E5\u8981\u9032\u884C\u66F4\u6539,\u8ACB\u53D6\u6D88\u5DE5\u4F5C\u8868\u4FDD\u8B77,\u60A8\u53EF\u80FD\u9700\u8981\u8F38\u5165\u5BC6\u78BC\u3002"},cellFormat:{cellFormatTitle:"\u8A2D\u5B9A\u5132\u5B58\u683C\u683C\u5F0F",protection:"\u4FDD\u8B77",locked:"\u9396\u5B9A\u5132\u5B58\u683C",hidden:"\u96B1\u85CF\u516C\u5F0F",protectionTips:"\u53EA\u6709\u4FDD\u8B77\u5DE5\u4F5C\u8868\u529F\u80FD\uFF08\u5728\u529F\u80FD\u8868\u5217\u9EDE\u64CA\u4FDD\u8B77\u5DE5\u4F5C\u8868\u6309\u9215\u9032\u884C\u8A2D\u5B9A\uFF09\u958B\u555F\u5F8C,\u9396\u5B9A\u5132\u5B58\u683C\u6216\u96B1\u85CF\u516C\u5F0F\u624D\u80FD\u751F\u6548",tipsPart:"\u90E8\u5206\u9078\u4E2D",tipsAll:"\u5168\u90E8\u9078\u4E2D",selectionIsNullAlert:"\u8ACB\u9078\u64C7\u4E00\u500B\u7BC4\u570D\uFF01",sheetDataIsNullAlert:"\u6578\u64DA\u70BA\u7A7A\u7121\u6CD5\u8A2D\u5B9A\uFF01"},print:{normalBtn:"\u5E38\u898F\u8996\u5716",layoutBtn:"\u9801\u9762\u4F48\u5C40",pageBtn:"\u5206\u9801\u9810\u89BD",menuItemPrint:"\u5217\u5370(Ctrl+P)",menuItemAreas:"\u5217\u5370\u5340\u57DF",menuItemRows:"\u5217\u5370\u6A19\u984C\u884C",menuItemColumns:"\u5217\u5370\u6A19\u984C\u5217"},edit:{typing:"\u6B63\u5728\u8F38\u5165"},websocket:{success:"WebSocket\u9023\u63A5\u6210\u529F",refresh:"WebSocket\u9023\u63A5\u767C\u751F\u932F\u8AA4,\u8ACB\u5237\u65B0\u9801\u9762\uFF01",wait:"WebSocket\u9023\u63A5\u767C\u751F\u932F\u8AA4,\u8ACB\u8010\u5FC3\u7B49\u5F85\uFF01",close:"WebSocket\u9023\u63A5\u95DC\u9589",contact:"\u670D\u52D9\u5668\u901A\u4FE1\u767C\u751F\u932F\u8AA4,\u8ACB\u5237\u65B0\u9801\u9762\u5F8C\u518D\u8A66,\u5982\u82E5\u4E0D\u884C\u8ACB\u806F\u7CFB\u7BA1\u7406\u54E1\uFF01",support:"\u7576\u524D\u700F\u89BD\u5668\u4E0D\u652F\u6301WebSocket"},exportXlsx:{notice:"\u8ACB\u914D\u7F6E\u5C0E\u51FA\u63D2\u4EF6",serverError:"\u670D\u52D9\u5668\u6B63\u5728\u7DAD\u8B77",title:"\u5C0E\u51FAXLSX",range:"\u7BC4\u570D",currentSheet:"\u7576\u524D\u5DE5\u4F5C\u8868",allSheets:"\u6240\u6709\u5DE5\u4F5C\u8868"}}});function Y1(){return ns[h.lang]}var ns,Q,yt=$e(()=>{vu();bu();xu();Cu();Xe();ns={en:yu,zh:ku,es:wu,zh_tw:_u};Q=Y1});function Tu(){let e=Q().toolbar,n=Q().fontarray,t=Q().defaultFmt,l={undo:`<div class="luckysheet-toolbar-button luckysheet-inline-block disabled" data-tips="${e.undo}"
  914. id="luckysheet-icon-undo" role="button" style="user-select: none;">
  915. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  916. style="user-select: none;">
  917. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
  918. style="user-select: none;">
  919. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  920. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-undo iconfont-luckysheet luckysheet-iconfont-qianjin"
  921. style="user-select: none;">
  922. </div>
  923. </div>
  924. </div>
  925. </div>
  926. </div>`,redo:`<div class="luckysheet-toolbar-button luckysheet-inline-block disabled" data-tips="${e.redo}"
  927. id="luckysheet-icon-redo" role="button" style="user-select: none;">
  928. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  929. style="user-select: none;">
  930. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
  931. style="user-select: none;">
  932. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  933. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-redo iconfont-luckysheet luckysheet-iconfont-houtui"
  934. style="user-select: none;">
  935. </div>
  936. </div>
  937. </div>
  938. </div>
  939. </div>`,paintFormat:`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${e.paintFormat}"
  940. id="luckysheet-icon-paintformat" role="button" style="user-select: none;">
  941. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  942. style="user-select: none;">
  943. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
  944. style="user-select: none;">
  945. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  946. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img iconfont-luckysheet luckysheet-iconfont-geshishua"
  947. style="user-select: none;">
  948. </div>
  949. </div>
  950. </div>
  951. </div>
  952. </div>`,currencyFormat:`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${e.currencyFormat}"
  953. id="luckysheet-icon-currency" role="button" style="user-select: none;">
  954. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  955. style="user-select: none;">
  956. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
  957. style="user-select: none;">
  958. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  959. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img iconfont-luckysheet luckysheet-iconfont-jine"
  960. style="user-select: none;">
  961. </div>
  962. </div>
  963. </div>
  964. </div>
  965. </div>`,percentageFormat:`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${e.percentageFormat}"
  966. id="luckysheet-icon-percent" role="button" style="user-select: none;">
  967. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  968. style="user-select: none;">
  969. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
  970. style="user-select: none;">
  971. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  972. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img iconfont-luckysheet luckysheet-iconfont-baifenhao"
  973. style="user-select: none;">
  974. </div>
  975. </div>
  976. </div>
  977. </div>
  978. </div>`,numberDecrease:`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${e.numberDecrease}"
  979. id="luckysheet-icon-fmt-decimal-decrease" role="button" style="user-select: none;">
  980. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  981. style="user-select: none;">
  982. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
  983. style="user-select: none;">
  984. <div class="luckysheet-icon luckysheet-inline-block toolbar-decimal-icon"
  985. style="user-select: none;">
  986. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-decimal-decrease iconfont-luckysheet luckysheet-iconfont-zengjiaxiaoshuwei"
  987. style="user-select: none;">
  988. </div>
  989. </div>
  990. </div>
  991. </div>
  992. </div>`,numberIncrease:`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${e.numberIncrease}"
  993. id="luckysheet-icon-fmt-decimal-increase" role="button" style="user-select: none;">
  994. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  995. style="user-select: none;">
  996. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
  997. style="user-select: none;">
  998. <div class="luckysheet-icon luckysheet-inline-block toolbar-decimal-icon"
  999. style="user-select: none;">
  1000. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-decimal-increase iconfont-luckysheet luckysheet-iconfont-jianxiaoxiaoshuwei"
  1001. style="user-select: none;">
  1002. </div>
  1003. </div>
  1004. </div>
  1005. </div>
  1006. </div>`,moreFormats:`<div class="luckysheet-toolbar-select luckysheet-toolbar-menu-button luckysheet-inline-block" data-tips="${e.moreFormats}"
  1007. id="luckysheet-icon-fmt-other" role="button" style="user-select: none;">
  1008. <div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
  1009. style="user-select: none;">
  1010. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1011. style="user-select: none;">
  1012. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  1013. style="user-select: none;">
  1014. ${t[0].text}
  1015. </div>
  1016. <div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-xiayige"
  1017. style="user-select: none;">
  1018. </div>
  1019. </div>
  1020. </div>
  1021. </div>`,font:`<div class="luckysheet-toolbar-select luckysheet-toolbar-menu-button luckysheet-inline-block"
  1022. data-tips="${e.font}" id="luckysheet-icon-font-family" role="button" style="user-select: none;">
  1023. <div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
  1024. style="user-select: none;">
  1025. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1026. style="user-select: none;">
  1027. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  1028. style="user-select: none;">
  1029. ${n[0]}
  1030. </div>
  1031. <div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-xiayige"
  1032. style="user-select: none;">
  1033. </div>
  1034. </div>
  1035. </div>
  1036. </div>`,fontSize:`<div class="luckysheet-toolbar-select luckysheet-toolbar-zoom-combobox luckysheet-toolbar-combo-button luckysheet-inline-block"
  1037. data-tips="${e.fontSize}" id="luckysheet-icon-font-size" style="user-select: none;">
  1038. <div class="luckysheet-toolbar-combo-button-outer-box luckysheet-inline-block"
  1039. style="user-select: none;">
  1040. <div class="luckysheet-toolbar-combo-button-inner-box luckysheet-inline-block"
  1041. style="user-select: none;">
  1042. <div aria-posinset="4" aria-setsize="7" class="luckysheet-inline-block luckysheet-toolbar-combo-button-caption"
  1043. style="user-select: none;">
  1044. <input aria-label="${e.fontSize}" class="luckysheet-toolbar-combo-button-input luckysheet-toolbar-textinput"
  1045. role="combobox" style="user-select: none;" tabindex="-1" type="text" value="10"
  1046. />
  1047. </div>
  1048. <div class="luckysheet-toolbar-combo-button-dropdown luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-xiayige"
  1049. style="user-select: none;">
  1050. </div>
  1051. </div>
  1052. </div>
  1053. </div>`,bold:`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${e.bold}"
  1054. id="luckysheet-icon-bold" role="button" style="user-select: none;">
  1055. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1056. style="user-select: none;">
  1057. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
  1058. style="user-select: none;">
  1059. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1060. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-bold iconfont-luckysheet luckysheet-iconfont-jiacu"
  1061. style="user-select: none;">
  1062. </div>
  1063. </div>
  1064. </div>
  1065. </div>
  1066. </div>`,italic:`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${e.italic}"
  1067. id="luckysheet-icon-italic" role="button" style="user-select: none;">
  1068. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1069. style="user-select: none;">
  1070. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
  1071. style="user-select: none;">
  1072. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1073. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-italic iconfont-luckysheet luckysheet-iconfont-wenbenqingxie1"
  1074. style="user-select: none;">
  1075. </div>
  1076. </div>
  1077. </div>
  1078. </div>
  1079. </div>`,strikethrough:`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${e.strikethrough}"
  1080. id="luckysheet-icon-strikethrough" role="button" style="user-select: none;">
  1081. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1082. style="user-select: none;">
  1083. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
  1084. style="user-select: none;">
  1085. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1086. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-strikethrough iconfont-luckysheet luckysheet-iconfont-wenbenshanchuxian"
  1087. style="user-select: none;">
  1088. </div>
  1089. </div>
  1090. </div>
  1091. </div>
  1092. </div>`,underline:`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${e.underline}"
  1093. id="luckysheet-icon-underline" role="button" style="user-select: none;">
  1094. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1095. style="user-select: none;">
  1096. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
  1097. style="user-select: none;">
  1098. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1099. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-underline iconfont-luckysheet luckysheet-iconfont-wenbenxiahuaxian"
  1100. style="user-select: none;">
  1101. </div>
  1102. </div>
  1103. </div>
  1104. </div>
  1105. </div>`,textColor:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block luckysheet-icon-text-color"
  1106. data-tips="${e.textColor}" id="luckysheet-icon-text-color" role="button" style="user-select: none;">
  1107. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1108. style="user-select: none;">
  1109. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1110. style="user-select: none;">
  1111. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  1112. style="user-select: none;">
  1113. <div class="luckysheet-color-menu-button-indicator" style="border-bottom-color: rgb(0, 0, 0); user-select: none;">
  1114. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1115. <div class="text-color-bar" style="background-color:${me.defaultTextColor}"></div>
  1116. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-text-color iconfont-luckysheet luckysheet-iconfont-wenbenyanse"
  1117. style="user-select: none;">
  1118. </div>
  1119. </div>
  1120. </div>
  1121. </div>
  1122. </div>
  1123. </div>
  1124. </div>
  1125. <div class="luckysheet-toolbar-button-split-right luckysheet-toolbar-menu-button luckysheet-inline-block"
  1126. data-tips="${e.chooseColor}..." id="luckysheet-icon-text-color-menu" role="button"
  1127. style="user-select: none;">
  1128. <div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
  1129. style="user-select: none;">
  1130. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1131. style="user-select: none;">
  1132. <div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-xiayige"
  1133. style="user-select: none;">
  1134. </div>
  1135. </div>
  1136. </div>
  1137. </div>`,fillColor:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block luckysheet-icon-cell-color"
  1138. data-tips="${e.fillColor}" id="luckysheet-icon-cell-color" role="button" style="user-select: none;">
  1139. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1140. style="user-select: none;">
  1141. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1142. style="user-select: none;">
  1143. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  1144. style="user-select: none;">
  1145. <div class="luckysheet-color-menu-button-indicator" style="border-bottom-color: rgb(255, 255, 255); user-select: none;">
  1146. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1147. <div class="text-color-bar" style="background-color:${me.defaultCellColor}"></div>
  1148. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-cell-color iconfont-luckysheet luckysheet-iconfont-tianchong"
  1149. style="user-select: none;">
  1150. </div>
  1151. </div>
  1152. </div>
  1153. </div>
  1154. </div>
  1155. </div>
  1156. </div>
  1157. <div class="luckysheet-toolbar-button-split-right luckysheet-toolbar-menu-button luckysheet-inline-block"
  1158. data-tips="${e.chooseColor}..." id="luckysheet-icon-cell-color-menu" role="button"
  1159. style="user-select: none;">
  1160. <div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
  1161. style="user-select: none;">
  1162. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1163. style="user-select: none;">
  1164. <div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-xiayige"
  1165. style="user-select: none;">
  1166. </div>
  1167. </div>
  1168. </div>
  1169. </div>`,border:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block luckysheet-icon-border-all"
  1170. data-tips="${e.border}" id="luckysheet-icon-border-all" role="button" style="user-select: none;">
  1171. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1172. style="user-select: none;">
  1173. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
  1174. style="user-select: none;">
  1175. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1176. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-all iconfont-luckysheet luckysheet-iconfont-quanjiabiankuang"
  1177. style="user-select: none;">
  1178. </div>
  1179. </div>
  1180. </div>
  1181. </div>
  1182. </div>
  1183. <div class="luckysheet-toolbar-button-split-right luckysheet-toolbar-menu-button luckysheet-inline-block"
  1184. data-tips="${e.borderStyle}..." id="luckysheet-icon-border-menu" role="button" style="user-select: none;">
  1185. <div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
  1186. style="user-select: none;">
  1187. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1188. style="user-select: none;">
  1189. <div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-xiayige"
  1190. style="user-select: none;">
  1191. </div>
  1192. </div>
  1193. </div>
  1194. </div>`,mergeCell:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block luckysheet-icon-merge-button"
  1195. data-tips="${e.mergeCell}" id="luckysheet-icon-merge-button" role="button" style="user-select: none;">
  1196. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1197. style="user-select: none;">
  1198. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
  1199. style="user-select: none;">
  1200. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1201. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-merge iconfont-luckysheet luckysheet-iconfont-hebing"
  1202. style="user-select: none;">
  1203. </div>
  1204. </div>
  1205. </div>
  1206. </div>
  1207. </div>
  1208. <div class="luckysheet-toolbar-button-split-right luckysheet-toolbar-menu-button luckysheet-inline-block"
  1209. data-tips="${e.chooseMergeType}..." id="luckysheet-icon-merge-menu" role="button" style="user-select: none;">
  1210. <div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
  1211. style="user-select: none;">
  1212. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1213. style="user-select: none;">
  1214. <div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-xiayige"
  1215. style="user-select: none;">
  1216. </div>
  1217. </div>
  1218. </div>
  1219. </div>`,horizontalAlignMode:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block luckysheet-icon-align"
  1220. data-tips="${e.horizontalAlign}" id="luckysheet-icon-align" role="button" style="user-select: none;">
  1221. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1222. style="user-select: none;">
  1223. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1224. style="user-select: none;">
  1225. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  1226. style="user-select: none;">
  1227. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1228. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-align-left iconfont-luckysheet luckysheet-iconfont-wenbenzuoduiqi"
  1229. style="user-select: none;">
  1230. </div>
  1231. </div>
  1232. </div>
  1233. </div>
  1234. </div>
  1235. </div>
  1236. <div class="luckysheet-toolbar-button-split-right luckysheet-toolbar-menu-button luckysheet-inline-block"
  1237. data-tips="${e.alignment}..." id="luckysheet-icon-align-menu" role="button" style="user-select: none;">
  1238. <div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
  1239. style="user-select: none;">
  1240. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1241. style="user-select: none;">
  1242. <div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-xiayige"
  1243. style="user-select: none;">
  1244. </div>
  1245. </div>
  1246. </div>
  1247. </div>`,verticalAlignMode:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block luckysheet-icon-valign"
  1248. data-tips="${e.verticalAlign}" id="luckysheet-icon-valign" role="button" style="user-select: none;">
  1249. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1250. style="user-select: none;">
  1251. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1252. style="user-select: none;">
  1253. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  1254. style="user-select: none;">
  1255. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1256. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-valign-bottom iconfont-luckysheet luckysheet-iconfont-dibuduiqi"
  1257. style="user-select: none;">
  1258. </div>
  1259. </div>
  1260. </div>
  1261. </div>
  1262. </div>
  1263. </div>
  1264. <div class="luckysheet-toolbar-button-split-right luckysheet-toolbar-menu-button luckysheet-inline-block"
  1265. data-tips="${e.alignment}..." id="luckysheet-icon-valign-menu" role="button" style="user-select: none;">
  1266. <div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
  1267. style="user-select: none;">
  1268. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1269. style="user-select: none;">
  1270. <div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-xiayige"
  1271. style="user-select: none;">
  1272. </div>
  1273. </div>
  1274. </div>
  1275. </div>`,textWrapMode:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block luckysheet-icon-textwrap"
  1276. data-tips="${e.textWrap}" id="luckysheet-icon-textwrap" role="button" style="user-select: none;">
  1277. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1278. style="user-select: none;">
  1279. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1280. style="user-select: none;">
  1281. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  1282. style="user-select: none;">
  1283. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1284. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-textwrap-clip iconfont-luckysheet luckysheet-iconfont-jieduan"
  1285. style="user-select: none;">
  1286. </div>
  1287. </div>
  1288. </div>
  1289. </div>
  1290. </div>
  1291. </div>
  1292. <div class="luckysheet-toolbar-button-split-right luckysheet-toolbar-menu-button luckysheet-inline-block"
  1293. data-tips="${e.textWrapMode}..." id="luckysheet-icon-textwrap-menu" role="button" style="user-select: none;">
  1294. <div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
  1295. style="user-select: none;">
  1296. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1297. style="user-select: none;">
  1298. <div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-xiayige"
  1299. style="user-select: none;">
  1300. </div>
  1301. </div>
  1302. </div>
  1303. </div>`,textRotateMode:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block luckysheet-icon-rotation"
  1304. data-tips="${e.textRotate}" id="luckysheet-icon-rotation" role="button" style="user-select: none;">
  1305. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1306. style="user-select: none;">
  1307. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1308. style="user-select: none;">
  1309. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  1310. style="user-select: none;">
  1311. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1312. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont-luckysheet luckysheet-iconfont-wuxuanzhuang"
  1313. style="user-select: none;">
  1314. </div>
  1315. </div>
  1316. </div>
  1317. </div>
  1318. </div>
  1319. </div>
  1320. <div class="luckysheet-toolbar-button-split-right luckysheet-toolbar-menu-button luckysheet-inline-block"
  1321. data-tips="${e.textRotateMode}..." id="luckysheet-icon-rotation-menu" role="button" style="user-select: none;">
  1322. <div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
  1323. style="user-select: none;">
  1324. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1325. style="user-select: none;">
  1326. <div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-xiayige"
  1327. style="user-select: none;">
  1328. </div>
  1329. </div>
  1330. </div>
  1331. </div>`,image:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block"
  1332. data-tips="${e.insertImage}" id="luckysheet-insertImg-btn-title" role="button" style="user-select: none;">
  1333. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1334. style="user-select: none;">
  1335. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1336. style="user-select: none;">
  1337. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  1338. style="user-select: none;">
  1339. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1340. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont-luckysheet luckysheet-iconfont-tupian"
  1341. style="user-select: none;">
  1342. <input id="luckysheet-imgUpload" type="file" accept="image/*" style="display:none;"></input>
  1343. </div>
  1344. </div>
  1345. </div>
  1346. </div>
  1347. </div>
  1348. </div>`,link:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block"
  1349. data-tips="${e.insertLink}" id="luckysheet-insertLink-btn-title" role="button" style="user-select: none;">
  1350. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1351. style="user-select: none;">
  1352. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1353. style="user-select: none;">
  1354. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  1355. style="user-select: none;">
  1356. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1357. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont-luckysheet luckysheet-iconfont-lianjie"
  1358. style="user-select: none;">
  1359. </div>
  1360. </div>
  1361. </div>
  1362. </div>
  1363. </div>
  1364. </div>`,chart:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block"
  1365. data-tips="${e.chart}" id="luckysheet-chart-btn-title" role="button" style="user-select: none;">
  1366. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1367. style="user-select: none;">
  1368. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1369. style="user-select: none;">
  1370. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  1371. style="user-select: none;">
  1372. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1373. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont-luckysheet luckysheet-iconfont-tubiao"
  1374. style="user-select: none;">
  1375. </div>
  1376. </div>
  1377. </div>
  1378. </div>
  1379. </div>
  1380. </div>`,postil:`<div class="luckysheet-toolbar-select luckysheet-toolbar-menu-button luckysheet-inline-block" data-tips="${e.postil}"
  1381. id="luckysheet-icon-postil" role="button" style="user-select: none;">
  1382. <div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
  1383. style="user-select: none;">
  1384. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1385. style="user-select: none;">
  1386. <div class="luckysheet-icon-img-container luckysheet-toolbar-menu-button-caption luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-zhushi"
  1387. style="user-select: none;">
  1388. </div>
  1389. <div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-xiayige"
  1390. style="user-select: none;">
  1391. </div>
  1392. </div>
  1393. </div>
  1394. </div>`,pivotTable:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block"
  1395. data-tips="${e.pivotTable}" id="luckysheet-pivot-btn-title" role="button" style="user-select: none;">
  1396. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1397. style="user-select: none;">
  1398. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1399. style="user-select: none;">
  1400. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  1401. style="user-select: none;">
  1402. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1403. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont-luckysheet luckysheet-iconfont-shujutoushi"
  1404. style="user-select: none;">
  1405. </div>
  1406. </div>
  1407. </div>
  1408. </div>
  1409. </div>
  1410. </div>`,function:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block luckysheet-icon-function"
  1411. data-tips="${e.autoSum}" id="luckysheet-icon-function" role="button" style="user-select: none;">
  1412. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1413. style="user-select: none;">
  1414. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
  1415. style="user-select: none;">
  1416. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1417. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-function iconfont-luckysheet luckysheet-iconfont-jisuan"
  1418. style="user-select: none;">
  1419. </div>
  1420. </div>
  1421. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  1422. style="user-select: none;">
  1423. ${e.sum}
  1424. </div>
  1425. </div>
  1426. </div>
  1427. </div>
  1428. <div class="luckysheet-toolbar-button-split-right luckysheet-toolbar-menu-button luckysheet-inline-block"
  1429. data-tips="${e.moreFunction}..." id="luckysheet-icon-function-menu" role="button" style="user-select: none;">
  1430. <div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
  1431. style="user-select: none;">
  1432. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1433. style="user-select: none;">
  1434. <div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-xiayige"
  1435. style="user-select: none;">
  1436. </div>
  1437. </div>
  1438. </div>
  1439. </div>`,frozenMode:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block luckysheet-freezen-btn-horizontal"
  1440. data-tips="${e.freezeTopRow}" id="luckysheet-freezen-btn-horizontal" role="button" style="user-select: none;">
  1441. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1442. style="user-select: none;">
  1443. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1444. style="user-select: none;">
  1445. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  1446. style="user-select: none;">
  1447. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1448. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont-luckysheet luckysheet-iconfont-dongjie1"
  1449. style="user-select: none;">
  1450. </div>
  1451. </div>
  1452. </div>
  1453. </div>
  1454. </div>
  1455. </div>
  1456. <div class="luckysheet-toolbar-button-split-right luckysheet-toolbar-menu-button luckysheet-inline-block"
  1457. data-tips="${e.moreOptions}..." id="luckysheet-icon-freezen-menu" role="button" style="user-select: none;">
  1458. <div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
  1459. style="user-select: none;">
  1460. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1461. style="user-select: none;">
  1462. <div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-xiayige"
  1463. style="user-select: none;">
  1464. </div>
  1465. </div>
  1466. </div>
  1467. </div>`,sortAndFilter:`<div class="luckysheet-toolbar-select luckysheet-toolbar-menu-button luckysheet-inline-block" data-tips="${e.sortAndFilter}"
  1468. id="luckysheet-icon-autofilter" role="button" style="user-select: none;">
  1469. <div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
  1470. style="user-select: none;">
  1471. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
  1472. style="user-select: none;">
  1473. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1474. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-autofilter iconfont-luckysheet luckysheet-iconfont-shaixuan"
  1475. style="user-select: none;">
  1476. </div>
  1477. </div>
  1478. <div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-xiayige"
  1479. style="user-select: none;margin-left: 0px;margin-right: 4px;">
  1480. </div>
  1481. </div>
  1482. </div>
  1483. </div>`,conditionalFormat:`<div class="luckysheet-toolbar-select luckysheet-toolbar-menu-button luckysheet-inline-block" data-tips="${e.conditionalFormat}"
  1484. id="luckysheet-icon-conditionformat" role="button" style="user-select: none;">
  1485. <div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
  1486. style="user-select: none;">
  1487. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1488. style="user-select: none;">
  1489. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1490. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-autofilter iconfont-luckysheet luckysheet-iconfont-geshitiaojian"
  1491. style="user-select: none;">
  1492. </div>
  1493. </div>
  1494. <div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-xiayige"
  1495. style="user-select: none;">
  1496. </div>
  1497. </div>
  1498. </div>
  1499. </div>`,dataVerification:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block"
  1500. data-tips="${e.dataVerification}" id="luckysheet-dataVerification-btn-title" role="button" style="user-select: none;">
  1501. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1502. style="user-select: none;">
  1503. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1504. style="user-select: none;">
  1505. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  1506. style="user-select: none;">
  1507. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1508. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont-luckysheet luckysheet-iconfont-shujuyanzheng"
  1509. style="user-select: none;">
  1510. </div>
  1511. </div>
  1512. </div>
  1513. </div>
  1514. </div>
  1515. </div>`,splitColumn:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block"
  1516. data-tips="${e.splitColumn}" id="luckysheet-splitColumn-btn-title" role="button" style="user-select: none;">
  1517. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1518. style="user-select: none;">
  1519. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1520. style="user-select: none;">
  1521. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  1522. style="user-select: none;">
  1523. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1524. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont-luckysheet luckysheet-iconfont-wenbenfenge"
  1525. style="user-select: none;">
  1526. </div>
  1527. </div>
  1528. </div>
  1529. </div>
  1530. </div>
  1531. </div>`,screenshot:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block"
  1532. data-tips="${e.screenshot}" id="luckysheet-chart-btn-screenshot" role="button" style="user-select: none;">
  1533. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1534. style="user-select: none;">
  1535. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1536. style="user-select: none;">
  1537. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  1538. style="user-select: none;">
  1539. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1540. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont-luckysheet luckysheet-iconfont-jieping"
  1541. style="user-select: none;">
  1542. </div>
  1543. </div>
  1544. </div>
  1545. </div>
  1546. </div>
  1547. </div>`,findAndReplace:`<div class="luckysheet-toolbar-select luckysheet-toolbar-menu-button luckysheet-inline-block" data-tips="${e.findAndReplace}"
  1548. id="luckysheet-icon-seachmore" role="button" style="user-select: none;">
  1549. <div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
  1550. style="user-select: none;">
  1551. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
  1552. style="user-select: none;">
  1553. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1554. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-autofilter iconfont-luckysheet luckysheet-iconfont-sousuo"
  1555. style="user-select: none;">
  1556. </div>
  1557. </div>
  1558. <div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-xiayige"
  1559. style="user-select: none;margin-left: 0px;margin-right: 4px;">
  1560. </div>
  1561. </div>
  1562. </div>
  1563. </div>`,protection:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block"
  1564. data-tips="${e.protection}" id="luckysheet-icon-protection" role="button" style="user-select: none;">
  1565. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1566. style="user-select: none;">
  1567. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1568. style="user-select: none;">
  1569. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  1570. style="user-select: none;">
  1571. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1572. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont-luckysheet luckysheet-iconfont-biaogesuoding"
  1573. style="user-select: none;">
  1574. </div>
  1575. </div>
  1576. </div>
  1577. </div>
  1578. </div>
  1579. </div>`,print:`<div class="luckysheet-toolbar-select luckysheet-toolbar-menu-button luckysheet-inline-block" data-tips="${e.print}"
  1580. id="luckysheet-icon-print" role="button" style="user-select: none;">
  1581. <div class="luckysheet-toolbar-menu-button-outer-box luckysheet-inline-block"
  1582. style="user-select: none;">
  1583. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
  1584. style="user-select: none;">
  1585. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1586. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-autofilter iconfont-luckysheet luckysheet-iconfont-dayin"
  1587. style="user-select: none;">
  1588. </div>
  1589. </div>
  1590. <div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-xiayige"
  1591. style="user-select: none;margin-left: 0px;margin-right: 4px;">
  1592. </div>
  1593. </div>
  1594. </div>
  1595. </div>`,exportXlsx:`<div class="luckysheet-toolbar-button-split-left luckysheet-toolbar-button luckysheet-inline-block"
  1596. data-tips="${e.exportXlsx}" id="luckysheet-exportXlsx-btn-title" role="button" style="user-select: none;">
  1597. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  1598. style="user-select: none;">
  1599. <div class="luckysheet-toolbar-menu-button-inner-box luckysheet-inline-block"
  1600. style="user-select: none;">
  1601. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  1602. style="user-select: none;">
  1603. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  1604. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none"
  1605. style="user-select: none;">
  1606. <svg xmlns="http://www.w3.org/2000/svg" width="20" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="1.5"><path d="M4 12a8 8 0 1 0 16 0"/><path stroke-linejoin="round" d="M12 14V4m0 0l3 3m-3-3L9 7"/></g></svg>
  1607. </div>
  1608. </div>
  1609. </div>
  1610. </div>
  1611. </div>
  1612. </div>`},a=me.showtoolbar,o=me.showtoolbarConfig,s=['<div class="luckysheet-toolbar-left-theme"></div>'];if(P(o)==="array"){if(!a)return"";let d=0;return o.forEach(function(f,m){if(f==="|"){let g=o[m-1];g!=="|"&&s.push(`<div id="toolbar-separator-${In(g)}" class="luckysheet-toolbar-separator luckysheet-inline-block" style="user-select: none;"></div>`)}else s.push(l[f])}),s.join("")}let u=Er.reduce(function(d,f){return f!=="|"&&(d[f]=!0),d},{});if(!a)for(let d in u)u[d]=!1;JSON.stringify(o)!=="{}"&&(o.hasOwnProperty("undoRedo")&&(u.undo=u.redo=o.undoRedo),Object.assign(u,o));for(let d=0;d<Er.length;d++){let f=Er[d];if(!u[f]&&f!=="|"){Er[d+1]==="|"&&d++;continue}if(f==="|"){let m=Er[d-1];m!=="|"&&s.push(`<div id="toolbar-separator-${In(m)}" class="luckysheet-toolbar-separator luckysheet-inline-block" style="user-select: none;"></div>`)}else s.push(l[f])}return s.join("")}var Er,as,is=$e(()=>{yt();Sl();ht();Er=["undo","redo","paintFormat","|","currencyFormat","percentageFormat","numberIncrease","numberDecrease","moreFormats","|","font","|","fontSize","|","bold","italic","strikethrough","underline","textColor","|","fillColor","border","mergeCell","|","horizontalAlignMode","verticalAlignMode","textWrapMode","textRotateMode","|","image","link","chart","postil","pivotTable","|","function","frozenMode","sortAndFilter","conditionalFormat","dataVerification","splitColumn","screenshot","findAndReplace","protection","print","exportXlsx"],as={undo:"#luckysheet-icon-undo",redo:"#luckysheet-icon-redo",paintFormat:["#luckysheet-icon-paintformat"],currencyFormat:"#luckysheet-icon-currency",percentageFormat:"#luckysheet-icon-percent",numberDecrease:"#luckysheet-icon-fmt-decimal-decrease",numberIncrease:"#luckysheet-icon-fmt-decimal-increase",moreFormats:"#luckysheet-icon-fmt-other",font:"#luckysheet-icon-font-family",fontSize:"#luckysheet-icon-font-size",bold:"#luckysheet-icon-bold",italic:"#luckysheet-icon-italic",strikethrough:"#luckysheet-icon-strikethrough",underline:"#luckysheet-icon-underline",textColor:["#luckysheet-icon-text-color","#luckysheet-icon-text-color-menu"],fillColor:["#luckysheet-icon-cell-color","#luckysheet-icon-cell-color-menu"],border:["#luckysheet-icon-border-all","#luckysheet-icon-border-menu"],mergeCell:["#luckysheet-icon-merge-button","#luckysheet-icon-merge-menu"],horizontalAlignMode:["#luckysheet-icon-align","#luckysheet-icon-align-menu"],verticalAlignMode:["#luckysheet-icon-valign","#luckysheet-icon-valign-menu"],textWrapMode:["#luckysheet-icon-textwrap","#luckysheet-icon-textwrap-menu"],textRotateMode:["#luckysheet-icon-rotation","#luckysheet-icon-rotation-menu"],image:"#luckysheet-insertImg-btn-title",link:"#luckysheet-insertLink-btn-title",chart:"#luckysheet-chart-btn-title",postil:"#luckysheet-icon-postil",pivotTable:["#luckysheet-pivot-btn-title"],function:["#luckysheet-icon-function","#luckysheet-icon-function-menu"],frozenMode:["#luckysheet-freezen-btn-horizontal","#luckysheet-icon-freezen-menu"],sortAndFilter:"#luckysheet-icon-autofilter",conditionalFormat:"#luckysheet-icon-conditionformat",dataVerification:"#luckysheet-dataVerification-btn-title",splitColumn:"#luckysheet-splitColumn-btn-title",screenshot:"#luckysheet-chart-btn-screenshot",findAndReplace:"#luckysheet-icon-seachmore",protection:"#luckysheet-icon-protection",print:"#luckysheet-icon-print",exportXlsx:"#luckysheet-exportXlsx-btn-title"}});function Ru(){let e=Q(),n=e.rightclick,t=e.toolbar,l=Z1(),a=!0;!l.insertRow&&!l.insertColumn&&!l.deleteRow&&!l.deleteColumn&&!l.deleteCell&&(a=!1);let o=!0;!l.clear&&!l.matrix&&!l.sort&&!l.filter&&!l.chart&&!l.image&&!l.link&&!l.data&&!l.cellFormat&&(o=!1);let s=(l.customs||[]).map((d,f)=>`
  1613. <div data-index="${f}" class="luckysheetColsRowsHandleAdd_custom luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1614. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1615. ${d.title}
  1616. </div>
  1617. </div>`).join("");return`<div id="luckysheet-rightclick-menu" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-mousedown-cancel">
  1618. <div id="luckysheet-copy-btn" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel luckysheet-copy-btn" data-clipboard-action="copy" data-clipboard-target="#luckysheet-copy-content" style="display:${l.copy?"block":"none"};">
  1619. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.copy}</div>
  1620. </div>
  1621. <div id="luckysheetcopyfor" class="luckysheet-cols-menuitem luckysheet-cols-submenu luckysheet-mousedown-cancel" style="display:${l.copyAs?"block":"none"};">
  1622. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1623. ${n.copyAs}<span class="luckysheet-submenu-arrow iconfont-luckysheet luckysheet-iconfont-youjiantou" style="user-select: none;"></span>
  1624. </div>
  1625. </div>
  1626. <div id="luckysheet-copy-paste" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.paste?"block":"none"};">
  1627. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.paste}</div>
  1628. </div>
  1629. <div id="luckysheet-cols-rows-handleincell">
  1630. <div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator" style="display:${a?"block":"none"};"></div>
  1631. <div id="luckysheetColsRowsHandleAdd_row" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.insertRow?"block":"none"};">
  1632. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1633. ${n.insert}${n.row}<span class="luckysheet-submenu-arrow" style="user-select: none;"></span>
  1634. </div>
  1635. </div>
  1636. <div id="luckysheetColsRowsHandleAdd_column" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.insertColumn?"block":"none"};">
  1637. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1638. ${n.insert}${n.column}<span class="luckysheet-submenu-arrow" style="user-select: none;"></span>
  1639. </div>
  1640. </div>
  1641. <div id="luckysheet-delRows" class="luckysheet-cols-menuitem luckysheet-cols-submenu luckysheet-mousedown-cancel" style="display:${l.deleteRow?"block":"none"};">
  1642. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1643. ${n.deleteSelected}${n.row}<span class="luckysheet-submenu-arrow" style="user-select: none;"></span>
  1644. </div>
  1645. </div>
  1646. <div id="luckysheet-delCols" class="luckysheet-cols-menuitem luckysheet-cols-submenu luckysheet-mousedown-cancel" style="display:${l.deleteColumn?"block":"none"};">
  1647. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1648. ${n.deleteSelected}${n.column}<span class="luckysheet-submenu-arrow" style="user-select: none;"></span>
  1649. </div>
  1650. </div>
  1651. <!-- cell right click remove hide button
  1652. <div id="luckysheetColsRowsHandleHid" class="luckysheet-cols-menuitem luckysheet-cols-submenu luckysheet-mousedown-cancel">
  1653. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1654. ${n.hide}<span class="luckysheet-submenu-arrow iconfont-luckysheet luckysheet-iconfont-youjiantou" style="user-select: none;"></span>
  1655. </div>
  1656. </div>
  1657. -->
  1658. <div id="luckysheetCellsHandleDel" class="luckysheet-cols-menuitem luckysheet-cols-submenu luckysheet-mousedown-cancel" style="display:${l.deleteCell?"block":"none"};">
  1659. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1660. ${n.deleteCell}<span class="luckysheet-submenu-arrow iconfont-luckysheet luckysheet-iconfont-youjiantou" style="user-select: none;"></span>
  1661. </div>
  1662. </div>
  1663. </div>
  1664. <div id="luckysheet-cols-rows-add">
  1665. <div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div>
  1666. <div id="luckysheet-top-left-add-selected" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1667. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1668. ${n.to}
  1669. <span class="luckysheet-cols-rows-shift-left">${n.left}</span>
  1670. ${n.add}
  1671. <input type="text" class="luckysheet-mousedown-cancel" placeholder="${n.number}" value="1" style="width:40px;height:20px;box-sizing:border-box;text-align:center;margin-left:5px;"/>
  1672. <span class="luckysheet-cols-rows-shift-word luckysheet-mousedown-cancel">${n.column}</span>
  1673. </div>
  1674. </div>
  1675. <div id="luckysheet-bottom-right-add-selected" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1676. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1677. ${n.to}
  1678. <span class="luckysheet-cols-rows-shift-right">${n.right}</span>
  1679. ${n.add}
  1680. <input type="text" class="luckysheet-mousedown-cancel" placeholder="${n.number}" value="1" style="width:40px;height:20px;box-sizing:border-box;text-align: center;margin-left:5px;"/>
  1681. <span class="luckysheet-cols-rows-shift-word luckysheet-mousedown-cancel">${n.column}</span>
  1682. </div>
  1683. </div>
  1684. <div id="luckysheet-del-selected" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1685. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1686. ${n.deleteSelected}
  1687. <span class="luckysheet-cols-rows-shift-word luckysheet-mousedown-cancel">${n.column}</span>
  1688. </div>
  1689. </div>
  1690. <div id="luckysheet-hide-selected" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1691. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1692. ${n.hideSelected}
  1693. <span class="luckysheet-cols-rows-shift-word luckysheet-mousedown-cancel">${n.column}</span>
  1694. </div>
  1695. </div>
  1696. <div id="luckysheet-show-selected" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1697. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1698. ${n.showHide}
  1699. <span class="luckysheet-cols-rows-shift-word luckysheet-mousedown-cancel">${n.column}</span>
  1700. </div>
  1701. </div>
  1702. <div id="luckysheet-column-row-width-selected" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1703. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1704. <span class="luckysheet-cols-rows-shift-word luckysheet-mousedown-cancel">${n.column}</span>
  1705. <span class="luckysheet-cols-rows-shift-size luckysheet-mousedown-cancel">${n.width}</span>
  1706. <input type="number" class="luckysheet-mousedown-cancel rcsize" min="0" max="255" placeholder="${n.number}" value="" style="width:50px;height:20px;box-sizing:border-box;text-align: center;margin-left:5px;">
  1707. px
  1708. </div>
  1709. </div>
  1710. </div>
  1711. <div id="luckysheet-cols-rows-shift">
  1712. <div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator" style="display:${l.sort?"block":"none"};"></div>
  1713. <div id="luckysheetorderbyasc" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.sort?"block":"none"};">
  1714. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.orderAZ}</div>
  1715. </div>
  1716. <div id="luckysheetorderbydesc" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.sort?"block":"none"};">
  1717. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.orderZA}</div>
  1718. </div>
  1719. </div>
  1720. <div id="luckysheet-cols-rows-data">
  1721. <div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator" style="display:${o?"block":"none"};"></div>
  1722. <div id="luckysheet-delete-text" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.clear?"block":"none"};">
  1723. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.clearContent}</div>
  1724. </div>
  1725. <div id="luckysheetmatrix" class="luckysheet-cols-menuitem luckysheet-cols-submenu luckysheet-mousedown-cancel" style="display:${l.matrix?"block":"none"};">
  1726. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1727. ${n.matrix}<span class="luckysheet-submenu-arrow iconfont-luckysheet luckysheet-iconfont-youjiantou" style="user-select: none;"></span>
  1728. </div>
  1729. </div>
  1730. <div id="luckysheetorderby" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.sort?"block":"none"};">
  1731. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.sortSelection}</div>
  1732. </div>
  1733. <div id="luckysheetfilter" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.filter?"block":"none"};">
  1734. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.filterSelection}</div>
  1735. </div>
  1736. <div id="luckysheetdatavisual" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.chart?"block":"none"};">
  1737. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.chartGeneration}</div>
  1738. </div>
  1739. <div id="luckysheetInsertImage" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.image?"block":"none"};">
  1740. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${t.insertImage}</div>
  1741. </div>
  1742. <div id="luckysheetInsertLink" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.link?"block":"none"};">
  1743. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${t.insertLink}</div>
  1744. </div>
  1745. <div id="luckysheetDataVerification" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.data?"block":"none"};">
  1746. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${t.dataVerification}</div>
  1747. </div>
  1748. <div id="luckysheetCellFormatRightClickMenu" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${l.cellFormat?"block":"none"};">
  1749. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${t.cellFormat}</div>
  1750. </div>
  1751. ${s}
  1752. </div>
  1753. </div>
  1754. <div id="luckysheetcopyfor_sub" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-rightgclick-menu-sub luckysheet-mousedown-cancel">
  1755. <div id="luckysheet-copy-json-head" data-clipboard-action="copy" data-clipboard-target="#luckysheet-copy-content" class="luckysheet-cols-menuitem luckysheet-copy-btn luckysheet-mousedown-cancel">
  1756. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">Json ${n.firstLineTitle}</div>
  1757. </div>
  1758. <div id="luckysheet-copy-json-nohead" data-clipboard-action="copy" data-clipboard-target="#luckysheet-copy-content" class="luckysheet-cols-menuitem luckysheet-copy-btn luckysheet-mousedown-cancel">
  1759. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">Json ${n.untitled}</div>
  1760. </div>
  1761. <div id="luckysheet-copy-array1" data-clipboard-action="copy" data-clipboard-target="#luckysheet-copy-content" class="luckysheet-cols-menuitem luckysheet-copy-btn luckysheet-mousedown-cancel">
  1762. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.array1}</div>
  1763. </div>
  1764. <div id="luckysheet-copy-array2" data-clipboard-action="copy" data-clipboard-target="#luckysheet-copy-content" class="luckysheet-cols-menuitem luckysheet-copy-btn luckysheet-mousedown-cancel">
  1765. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.array2}</div>
  1766. </div>
  1767. <div id="luckysheet-copy-arraymore-confirm" data-clipboard-action="copy" data-clipboard-target="#luckysheet-copy-content" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1768. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1769. <span class="luckysheet-mousedown-cancel">${n.array3}</span>
  1770. <input type="number" id="luckysheet-copy-arraymore-row" min="1" class="luckysheet-mousedown-cancel" placeholder="${n.row}" style="width:40px;height:20px;box-sizing:border-box;text-align: center;"/>
  1771. \xD7
  1772. <input type="number" id="luckysheet-copy-arraymore-col" min="1" class="luckysheet-mousedown-cancel" placeholder="${n.column}" style="width:40px;height:20px;box-sizing:border-box;text-align: center;"/>
  1773. </div>
  1774. </div>
  1775. <div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div>
  1776. <div id="luckysheet-copy-diagonal" data-clipboard-action="copy" data-clipboard-target="#luckysheet-copy-content" class="luckysheet-cols-menuitem luckysheet-copy-btn luckysheet-mousedown-cancel">
  1777. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.diagonal}</div>
  1778. </div>
  1779. <div id="luckysheet-copy-antidiagonal" data-clipboard-action="copy" data-clipboard-target="#luckysheet-copy-content" class="luckysheet-cols-menuitem luckysheet-copy-btn luckysheet-mousedown-cancel">
  1780. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.antiDiagonal}</div>
  1781. </div>
  1782. <div id="luckysheet-copy-diagonaloffset" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1783. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1784. ${n.diagonalOffset}
  1785. <input type="number" id="luckysheet-copy-diagonaloffset-value" class="luckysheet-mousedown-cancel" placeholder="${n.offset}" value="1" style="width:40px;height:20px;box-sizing:border-box;text-align: center;margin-left:5px;"/>
  1786. ${n.column}
  1787. </div>
  1788. </div>
  1789. <div id="luckysheet-copy-boolvalue" data-clipboard-action="copy" data-clipboard-target="#luckysheet-copy-content" class="luckysheet-cols-menuitem luckysheet-copy-btn luckysheet-mousedown-cancel">
  1790. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.boolean}</div>
  1791. </div>
  1792. </div>
  1793. <!-- Revision: modeled on google sheet
  1794. <div id="luckysheetColsRowsHandleAdd_sub" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-rightgclick-menu-sub luckysheet-mousedown-cancel">
  1795. <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1796. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1797. ${n.to}${n.top}${n.add}
  1798. <input type="text" class="luckysheet-mousedown-cancel" placeholder="${n.number}" value="1" style="width:40px;height:20px;box-sizing:border-box;text-align: center;margin-left:5px;"/>
  1799. <span class="luckysheet-mousedown-cancel">${n.row}</span>
  1800. </div>
  1801. </div>
  1802. <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1803. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1804. ${n.to}${n.bottom}${n.add}
  1805. <input type="text" class="luckysheet-mousedown-cancel" placeholder="${n.number}" value="1" style="width:40px;height:20px;box-sizing:border-box;text-align: center;margin-left:5px;"/>
  1806. <span class="luckysheet-mousedown-cancel">${n.row}</span>
  1807. </div>
  1808. </div>
  1809. <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1810. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1811. ${n.to}${n.left}${n.add}
  1812. <input type="text" class="luckysheet-mousedown-cancel" placeholder="${n.number}" value="1" style="width:40px;height:20px;box-sizing:border-box;text-align: center;margin-left:5px;"/>
  1813. <span class="luckysheet-mousedown-cancel">${n.column}</span>
  1814. </div>
  1815. </div>
  1816. <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1817. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1818. ${n.to}${n.right}${n.add}
  1819. <input type="text" class="luckysheet-mousedown-cancel" placeholder="${n.number}" value="1" style="width:40px;height:20px;box-sizing:border-box;text-align: center;margin-left:5px;"/>
  1820. <span class="luckysheet-mousedown-cancel">${n.column}</span>
  1821. </div>
  1822. </div>
  1823. </div>
  1824. -->
  1825. <!-- delete row or column
  1826. <div id="luckysheetColsRowsHandleDel_sub" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-rightgclick-menu-sub luckysheet-mousedown-cancel">
  1827. <div id="luckysheet-delRows" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1828. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1829. ${n.deleteSelected}${n.row}
  1830. </div>
  1831. </div>
  1832. <div id="luckysheet-delCols" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1833. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1834. ${n.deleteSelected}${n.column}
  1835. </div>
  1836. </div>
  1837. </div>
  1838. -->
  1839. <!--
  1840. <div id="luckysheetColsRowsHandleHid_sub" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-rightgclick-menu-sub luckysheet-mousedown-cancel">
  1841. <div id="luckysheet-hidRows" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1842. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1843. ${n.hideSelected}${n.row}
  1844. </div>
  1845. </div>
  1846. <div id="luckysheet-showHidRows" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1847. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1848. ${n.showHide}${n.row}
  1849. </div>
  1850. </div>
  1851. <div id="luckysheet-hidCols" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1852. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1853. ${n.hideSelected}${n.column}
  1854. </div>
  1855. </div>
  1856. <div id="luckysheet-showHidCols" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1857. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1858. ${n.showHide}${n.column}
  1859. </div>
  1860. </div>
  1861. </div>
  1862. -->
  1863. <div id="luckysheetCellsHandleDel_sub" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-rightgclick-menu-sub luckysheet-mousedown-cancel">
  1864. <div id="luckysheet-delCellsMoveLeft" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1865. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1866. ${n.moveLeft}
  1867. </div>
  1868. </div>
  1869. <div id="luckysheet-delCellsMoveUp" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1870. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1871. ${n.moveUp}
  1872. </div>
  1873. </div>
  1874. </div>
  1875. <div id="luckysheetmatrix_sub" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-rightgclick-menu-sub luckysheet-mousedown-cancel">
  1876. <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1877. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1878. ${n.flip}
  1879. <button id="luckysheet-matrix-turn-up" class="btn btn-primary luckysheet-mousedown-cancel" style="margin-left:5px;padding:2px 3px;line-height:12px;font-size:12px;">${n.upAndDown}</button>
  1880. <button id="luckysheet-matrix-turn-left" class="btn btn-primary luckysheet-mousedown-cancel" style="margin-left:5px;padding:2px 3px;line-height:12px;font-size:12px;">${n.leftAndRight}</button>
  1881. </div>
  1882. </div>
  1883. <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1884. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1885. ${n.flip}
  1886. <button id="luckysheet-matrix-turn-cw" class="btn btn-primary luckysheet-mousedown-cancel" style="margin-left:5px;padding:2px 3px;line-height:12px;font-size:12px;">${n.clockwise}</button>
  1887. <button id="luckysheet-matrix-turn-anticw" class="btn btn-primary luckysheet-mousedown-cancel" style="margin-left:5px;padding:2px 3px;line-height:12px;font-size:12px;">${n.counterclockwise}</button>
  1888. </div>
  1889. </div>
  1890. <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1891. <div id="luckysheet-matrix-turn-trans" class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.transpose}</div>
  1892. </div>
  1893. <div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div>
  1894. <div id="luckysheet-matrix-cal-confirm" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1895. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1896. <div class="luckysheet-mousedown-cancel">${n.matrixCalculation}</div>
  1897. <div class="luckysheet-mousedown-cancel">
  1898. <select id="luckysheet-matrix-cal-type" class="luckysheet-mousedown-cancel" style="height:20px;">
  1899. <option value="plus">${n.plus}</option>
  1900. <option value="minus">${n.minus}</option>
  1901. <option value="multiply">${n.multiply}</option>
  1902. <option value="divided">${n.divided}</option>
  1903. <option value="power">${n.power}</option>
  1904. <option value="root">${n.root}</option>
  1905. <option value="log">${n.log}</option>
  1906. </select>
  1907. <input type="number" id="luckysheet-matrix-cal-value" class="luckysheet-mousedown-cancel" placeholder="${n.number}" value="2" style="width:40px;height:20px;box-sizing:border-box;text-align: center;margin-left:5px;"/>
  1908. </div>
  1909. </div>
  1910. </div>
  1911. <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1912. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1913. ${n.delete0}
  1914. <button id="luckysheet-matrix-delezero-row" class="btn btn-primary luckysheet-mousedown-cancel" style="margin-left:5px;padding:2px 3px;line-height:12px;font-size:12px;">${n.byRow}</button>
  1915. <button id="luckysheet-matrix-delezero-column" class="btn btn-primary luckysheet-mousedown-cancel" style="margin-left:5px;padding:2px 3px;line-height:12px;font-size:12px;">${n.byCol}</button>
  1916. </div>
  1917. </div>
  1918. <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1919. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1920. ${n.removeDuplicate}
  1921. <button id="luckysheet-matrix-delerpt-row" class="btn btn-primary luckysheet-mousedown-cancel" style="margin-left:5px;padding:2px 3px;line-height:12px;font-size:12px;">${n.byRow}</button>
  1922. <button id="luckysheet-matrix-delerpt-column" class="btn btn-primary luckysheet-mousedown-cancel" style="margin-left:5px;padding:2px 3px;line-height:12px;font-size:12px;">${n.byCol}</button>
  1923. </div>
  1924. </div>
  1925. </div>`}function Lu(){let e=Q().sheetconfig,n=J1();if(Object.values(n).every(o=>!o))return $("#luckysheet-sheet-container-c").addClass("luckysheet-sheet-container-menu-hide"),"";let t=!0,l=!0;return!n.delete&&!n.copy&&!n.rename&&!n.color&&(t=!1,n.hide||(l=!1)),n.hide||(t=!1),n.move||(l=!1),`<div id="luckysheet-rightclick-sheet-menu" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-mousedown-cancel">
  1926. <div id="luckysheetsheetconfigdelete" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${n.delete?"block":"none"};">
  1927. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${e.delete}</div>
  1928. </div>
  1929. <div id="luckysheetsheetconfigcopy" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${n.copy?"block":"none"};">
  1930. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${e.copy}</div>
  1931. </div>
  1932. <div id="luckysheetsheetconfigrename" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${n.rename?"block":"none"};">
  1933. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${e.rename}</div>
  1934. </div>
  1935. <div id="luckysheetsheetconfigcolor" class="luckysheet-cols-menuitem luckysheet-cols-submenu luckysheet-mousedown-cancel" style="display:${n.color?"block":"none"};">
  1936. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">
  1937. ${e.changeColor} <span class="luckysheet-submenu-arrow iconfont-luckysheet luckysheet-iconfont-youjiantou" style="user-select: none;"></span>
  1938. </div>
  1939. </div>
  1940. <div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator" style="display:${t?"block":"none"};"></div>
  1941. <div id="luckysheetsheetconfighide" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${n.hide?"block":"none"};">
  1942. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${e.hide}</div>
  1943. </div>
  1944. <div id="luckysheetsheetconfigshow" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${n.hide?"block":"none"};">
  1945. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${e.unhide}</div>
  1946. </div>
  1947. <div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator" style="display:${l?"block":"none"};"></div>
  1948. <div id="luckysheetsheetconfigmoveleft" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${n.move?"block":"none"};">
  1949. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${e.moveLeft}</div>
  1950. </div>
  1951. <div id="luckysheetsheetconfigmoveright" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="display:${n.move?"block":"none"};">
  1952. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${e.moveRight}</div>
  1953. </div>
  1954. </div>
  1955. <div id="luckysheetsheetconfigcolor_sub" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-rightgclick-menu-sub luckysheet-mousedown-cancel">
  1956. <div id="luckysheetsheetconfigcolorreset" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel">
  1957. <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${e.resetColor}</div>
  1958. </div>
  1959. <div class="luckysheet-mousedown-cancel">
  1960. <div class="luckysheet-mousedown-cancel">
  1961. <input type="text" id="luckysheetsheetconfigcolorur" />
  1962. </div>
  1963. </div>
  1964. </div>`}function Xi(){let n=Q().filter;return`<div class="luckysheet-cols-menu luckysheet-mousedown-cancel luckysheet-filter-menu" id="luckysheet-\${menuid}-menu"><div id="luckysheet-\${menuid}-orderby-asc" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.sortByAsc}</div></div><div id="luckysheet-\${menuid}-orderby-desc" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"><div style="width:205px;" class="luckysheet-mousedown-cancel">${n.sortByDesc}</div></div></div> <div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div><div id="luckysheet-\${menuid}-orderby-color" class="luckysheet-cols-menuitem luckysheet-cols-submenu luckysheet-mousedown-cancel"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="position: relative;">${n.filterByColor}<span class="luckysheet-submenu-arrow iconfont-luckysheet luckysheet-iconfont-youjiantou" style="user-select: none;right: 0;"></span></div></div><div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" id="luckysheet-\${menuid}-bycondition" style="padding-top:0px;padding-bottom:0px;"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"><i class="fa fa-caret-right" aria-hidden="true"></i> ${n.filterByCondition}</div></div> <div class="luckysheet-\${menuid}-bycondition" style="display:none;"><div class="luckysheet-flat-menu-button luckysheet-mousedown-cancel" id="luckysheet-\${menuid}-selected"><span class="luckysheet-mousedown-cancel" data-value="null" data-type="0">${n.filiterInputNone}</span><div class="luckysheet-mousedown-cancel"><i class="fa fa-sort" aria-hidden="true"></i></div></div><div class="luckysheet-\${menuid}-selected-input"><input type="text" placeholder="${n.filiterInputTip}" class="luckysheet-mousedown-cancel" /></div><div class="luckysheet-\${menuid}-selected-input luckysheet-\${menuid}-selected-input2"><span>${n.filiterRangeStart}</span><input type="text" placeholder="${n.filiterRangeStartTip}" class="luckysheet-mousedown-cancel" /><span>${n.filiterRangeEnd}</span><input type="text" placeholder="${n.filiterRangeEndTip}" class="luckysheet-mousedown-cancel" /></div></div> <div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" id="luckysheet-\${menuid}-byvalue" style="padding-top:0px;padding-bottom:0px;"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"><i class="fa fa-caret-right" aria-hidden="true"></i> ${n.filterByValues}</div></div> <div class="luckysheet-\${menuid}-byvalue"><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel luckysheet-mousedown-\${menuid}-byvalue-btn"><span id="luckysheet-\${menuid}-byvalue-btn-all" class="luckysheet-mousedown-cancel">${n.filterValueByAllBtn}</span> - <span id="luckysheet-\${menuid}-byvalue-btn-clear" class="luckysheet-mousedown-cancel">${n.filterValueByClearBtn}</span> - <span id="luckysheet-\${menuid}-byvalue-btn-contra" class="luckysheet-mousedown-cancel">${n.filterValueByInverseBtn}</span> <div><i class="fa fa-\${menuid} luckysheet-mousedown-cancel" aria-hidden="true"></i></div></div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="padding-left:3px; padding-right:3px;"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"><input type="text" placeholder="${n.filterValueByTip}" class="luckysheet-mousedown-cancel" id="luckysheet-\${menuid}-byvalue-input" /><div class="luckysheet-\${menuid}-byvalue-input-icon luckysheet-mousedown-cancel"><i class="fa fa-search luckysheet-mousedown-cancel" aria-hidden="true"></i></div></div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel"><div id="luckysheet-\${menuid}-byvalue-select" class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"></div></div></div> <div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"><div class="btn btn-primary luckysheet-mousedown-cancel" id="luckysheet-\${menuid}-confirm">${n.filterConform}</div> <div class="btn btn-default luckysheet-mousedown-cancel" id="luckysheet-\${menuid}-cancel">${n.filterCancel}</div> <div class="btn btn-danger luckysheet-mousedown-cancel" id="luckysheet-\${menuid}-initial">${n.clearFilter}</div></div></div> </div>`}function Ki(){let n=Q().filter;return`<div style="z-index:1004;overflow-y:auto;" class="luckysheet-filter-submenu luckysheet-cols-menu luckysheet-mousedown-cancel" id="luckysheet-\${menuid}-submenu"><div data-value="null" data-type="0" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.conditionNone}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="cellnull" data-type="0"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.conditionCellIsNull}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="cellnonull" data-type="0"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.conditionCellNotNull}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="textinclude"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.conditionCellTextContain}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="textnotinclude"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.conditionCellTextNotContain}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="textstart"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.conditionCellTextStart}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="textend"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.conditionCellTextEnd}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="textequal"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.conditionCellTextEqual}</div></div> <div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="dateequal"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.conditionCellDateEqual}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="datelessthan"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.conditionCellDateBefore}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="datemorethan"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.conditionCellDateAfter}</div></div> <div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="morethan"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.conditionCellGreater}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="moreequalthan"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.conditionCellGreaterEqual}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="lessthan"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.conditionCellLess}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="lessequalthan"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.conditionCellLessEqual}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="equal"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.conditionCellEqual}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="noequal"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.conditionCellNotEqual}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="include" data-type="2"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.conditionCellBetween}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-value="noinclude" data-type="2"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${n.conditionCellNotBetween}</div></div> </div>`}function Ou(){let e=Q(),n=e.alternatingColors,t=e.toolbar;return'<div id="luckysheet-modal-dialog-slider-alternateformat" class="luckysheet-modal-dialog-slider luckysheet-modal-dialog-slider-alternateformat" style="display: block;"><div class="luckysheet-modal-dialog-slider-title"><span>'+t.alternatingColors+'</span><span class="luckysheet-model-close-btn" title="'+n.close+'"><i class="fa fa-times" aria-hidden="true"></i></span></div><div class="luckysheet-modal-dialog-slider-content"><div class="textTitle">'+n.applyRange+'</div><div id="luckysheet-alternateformat-range"><input class="formulaInputFocus" placeholder="'+n.selectRange+'"/><i class="fa fa-table" aria-hidden="true"></i></div><div id="luckysheet-alternateformat-checkbox"><div class="cf"><input type="checkbox" id="luckysheet-alternateformat-rowHeader"/><label for="luckysheet-alternateformat-rowHeader">'+n.header+'</label></div><div class="cf"><input type="checkbox" id="luckysheet-alternateformat-rowFooter"/><label for="luckysheet-alternateformat-rowFooter">'+n.footer+'</label></div></div><div class="textTitle">'+n.textTitle+'</div><div id="luckysheet-alternateformat-modelList" class="cf"></div><div class="textTitle">'+n.custom+'</div><div id="luckysheet-alternateformat-modelCustom" class="cf"></div><div id="luckysheet-alternateformat-modelToning"><div class="toningbox header"><div class="toningShow"> '+n.header+' </div><div class="luckysheet-color-menu-button-indicator" title="'+n.selectionTextColor+'" style="border-bottom-color: #000;margin-right: 10px;"> <div class="luckysheet-icon luckysheet-inline-block"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-text-color" style="user-select: none;"> </div> </div> </div><div class="luckysheet-color-menu-button-indicator" title="'+n.selectionCellColor+'" style="border-bottom-color: #fff;"> <div class="luckysheet-icon luckysheet-inline-block"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-cell-color" style="user-select: none;"> </div> </div> </div></div><div class="toningbox ctOne"><div class="toningShow"> '+n.colorShow+'1 </div><div class="luckysheet-color-menu-button-indicator" title="'+n.selectionTextColor+'" style="border-bottom-color: #000;margin-right: 10px;"> <div class="luckysheet-icon luckysheet-inline-block"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-text-color" style="user-select: none;"> </div> </div> </div><div class="luckysheet-color-menu-button-indicator" title="'+n.selectionCellColor+'" style="border-bottom-color: #fff;"> <div class="luckysheet-icon luckysheet-inline-block"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-cell-color" style="user-select: none;"> </div> </div> </div></div><div class="toningbox ctTwo"><div class="toningShow"> '+n.colorShow+'2 </div><div class="luckysheet-color-menu-button-indicator" title="'+n.selectionTextColor+'" style="border-bottom-color: #000;margin-right: 10px;"> <div class="luckysheet-icon luckysheet-inline-block"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-text-color" style="user-select: none;"> </div> </div> </div><div class="luckysheet-color-menu-button-indicator" title="'+n.selectionCellColor+'" style="border-bottom-color: #fff;"> <div class="luckysheet-icon luckysheet-inline-block"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-cell-color" style="user-select: none;"> </div> </div> </div></div><div class="toningbox footer"><div class="toningShow"> '+n.footer+' </div><div class="luckysheet-color-menu-button-indicator" title="'+n.selectionTextColor+'" style="border-bottom-color: #000;margin-right: 10px;"> <div class="luckysheet-icon luckysheet-inline-block"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-text-color" style="user-select: none;"> </div> </div> </div><div class="luckysheet-color-menu-button-indicator" title="'+n.selectionCellColor+'" style="border-bottom-color: #fff;"> <div class="luckysheet-icon luckysheet-inline-block"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-cell-color" style="user-select: none;"> </div> </div> </div></div></div><button id="luckysheet-alternateformat-remove" class="btn btn-default" style="margin: 10px;">'+n.removeColor+"</button></div></div>"}function Vu(){return Tu()}function X1(){let n=Q().info,t={enable:!0,image:()=>`<svg viewBox="25 25 50 50" class="circular">
  1965. <circle cx="50" cy="50" r="20" fill="none"></circle>
  1966. </svg>`,text:n.loading,viewBox:"32 32 64 64",imageClass:"",textClass:"",customClass:""};return JSON.stringify(me.loading)!=="{}"&&Object.assign(t,me.loading),t}function Z1(){let e={copy:!0,copyAs:!0,paste:!0,insertRow:!0,insertColumn:!0,deleteRow:!0,deleteColumn:!0,deleteCell:!0,hideRow:!0,hideColumn:!0,rowHeight:!0,columnWidth:!0,clear:!0,matrix:!0,sort:!0,filter:!0,chart:!0,image:!0,link:!0,data:!0,cellFormat:!0};return JSON.stringify(me.cellRightClickConfig)!=="{}"&&Object.assign(e,me.cellRightClickConfig),me.cellRightClickConfig=e,e}function J1(){let e={delete:!0,copy:!0,rename:!0,color:!0,hide:!0,move:!0};return JSON.stringify(me.sheetRightClickConfig)!=="{}"&&Object.assign(e,me.sheetRightClickConfig),me.sheetRightClickConfig=e,e}var Su,$u,Iu,Au,Du,Ql,Mu,Fu,Eu,Nu,ft,Pu,zu,Bu,Hu,K1,Nr,Yl,at,$l,Zn,Ca,en,Wt=$e(()=>{yt();Xe();Sl();ht();is();Su=function(){let e=Q(),n=e.info,t=e.print,l=me.userInfo===!0?'<i style="font-size:16px;color:#ff6a00;" class="fa fa-taxi" aria-hidden="true"></i> Lucky':me.userInfo;return`<div class="luckysheet">
  1967. <canvas id="luckysheetTableContentF" style="display:none;" class="luckysheetTableContent"></canvas>
  1968. <div class="luckysheet-work-area luckysheet-noselected-text">
  1969. <div id ="luckysheet_info_detail" class="luckysheet_info_detail">
  1970. <div data-tips="${n.return}" id="luckysheet_info_detail_title" class="luckysheet_info_detail_back">
  1971. <i style="color:#444D5A;" class="fa fa-angle-left fa-2x" aria-hidden="true"></i>
  1972. </div>
  1973. <div class="luckysheet-share-logo" title="\${logotitle}"></div>
  1974. <div class="sheet-name">
  1975. <input data-tips="${n.tips}" id="luckysheet_info_detail_input" class="luckysheet_info_detail_input luckysheet-mousedown-cancel" value="${n.noName}" tabindex="0" dir="ltr" aria-label="${n.rename}" style="visibility: visible; width: 149px;" data-tooltip="${n.rename}">
  1976. </div>
  1977. <div id="luckysheet_info_detail_update" class="luckysheet_info_detail_update"> ${n.detailUpdate} </div>
  1978. <div id="luckysheet_info_detail_save" class="luckysheet_info_detail_save"> ${n.wait} </div>
  1979. \${functionButton}
  1980. ${P(l)==="string"?`<div class="luckysheet_info_detail_user">
  1981. <span id="luckysheet_info_detail_user">${l}</span></div>`:""}
  1982. ${P(l)==="object"?`<div class="luckysheet_info_detail_user">
  1983. <img src="${l.userImage}" id="luckysheet_info_detail_user_img">
  1984. <span id="luckysheet_info_detail_user">${l.userName}</span>
  1985. </div>`:""}
  1986. </div>
  1987. <div id="luckysheet-wa-editor" class="luckysheet-wa-editor toolbar"> \${menu} </div>
  1988. <div id="luckysheet-wa-calculate" class="luckysheet-wa-calculate">
  1989. <div class="luckysheet-wa-calculate-size" id="luckysheet-wa-calculate-size"></div>
  1990. <div class="luckysheet-wa-calculate-help">
  1991. <div class="luckysheet-wa-calculate-help-box">
  1992. <div spellcheck="false" aria-hidden="false" id="luckysheet-helpbox">
  1993. <div id="luckysheet-helpbox-cell" class="luckysheet-helpbox-cell-input luckysheet-mousedown-cancel" tabindex="0" contenteditable="true" dir="ltr" aria-autocomplete="list"></div>
  1994. </div>
  1995. </div>
  1996. <div class="luckysheet-wa-calculate-help-tool">
  1997. <i class="fa fa-caret-down" aria-hidden="true"></i>
  1998. </div>
  1999. </div>
  2000. <div id="luckysheet-wa-functionbox-cancel" class="luckysheet-wa-functionbox">
  2001. <span><i class="iconfont-luckysheet luckysheet-iconfont-qingchu" aria-hidden="true"></i></span>
  2002. </div>
  2003. <div id="luckysheet-wa-functionbox-confirm" class="luckysheet-wa-functionbox">
  2004. <span><i class="iconfont-luckysheet luckysheet-iconfont-yunhang" aria-hidden="true"></i></span>
  2005. </div>
  2006. <div id="luckysheet-wa-functionbox-fx" class="luckysheet-wa-functionbox">
  2007. <span><i class="iconfont-luckysheet luckysheet-iconfont-hanshu" aria-hidden="true" style="color:#333"></i></span>
  2008. </div>
  2009. <div id="luckysheet-functionbox-container" class="luckysheet-mousedown-cancel">
  2010. <div class="luckysheet-mousedown-cancel" dir="ltr">
  2011. <div spellcheck="false" aria-hidden="false" id="luckysheet-functionbox">
  2012. <div id="luckysheet-functionbox-cell" class="luckysheet-functionbox-cell-input luckysheet-mousedown-cancel" tabindex="0" contenteditable="true" dir="ltr" aria-autocomplete="list" aria-label="D4"></div>
  2013. </div>
  2014. </div>
  2015. </div>
  2016. </div>
  2017. </div>
  2018. <div class="luckysheet-grid-container luckysheet-scrollbars-enabled">
  2019. <div class="luckysheet-grid-window">
  2020. <div class="luckysheet-help-sub"></div>
  2021. <div class="luckysheet-grid-window-1" id="luckysheet-grid-window-1">
  2022. <canvas id="luckysheetTableContent" class="luckysheetTableContent"></canvas>
  2023. <table class="luckysheet-grid-window-2" cellspacing="0" cellpadding="0" dir="ltr" tabindex="-1" >
  2024. <tbody>
  2025. <tr>
  2026. <td valign="top" class="luckysheet-paneswrapper">
  2027. <div class="luckysheet-left-top" id="luckysheet-left-top"> </div>
  2028. </td>
  2029. <td valign="top" class="luckysheet-paneswrapper">
  2030. <div id="luckysheet-cols-h-c" class="luckysheet-cols-h-c">
  2031. <div class="luckysheet-cols-change-size" id="luckysheet-cols-change-size"></div>
  2032. <div class="luckysheet-cols-menu-btn luckysheet-mousedown-cancel" id="luckysheet-cols-menu-btn"><i class="fa fa-caret-down luckysheet-mousedown-cancel" aria-hidden="true"></i></div>
  2033. <div class="luckysheet-cols-h-hover" id="luckysheet-cols-h-hover"></div>
  2034. <div id="luckysheet-cols-h-selected"></div>
  2035. <div class="luckysheet-grdusedrange"></div>
  2036. <div class="luckysheet-grdblkflowpush"></div> \${columnHeader}
  2037. </div>
  2038. </td>
  2039. </tr>
  2040. <tr>
  2041. <td valign="top" class="luckysheet-paneswrapper">
  2042. <div class="luckysheet-rows-h" id="luckysheet-rows-h">
  2043. <div class="luckysheet-rows-change-size" id="luckysheet-rows-change-size"></div>
  2044. <div class="luckysheet-rows-h-hover" id="luckysheet-rows-h-hover"></div>
  2045. <div id="luckysheet-rows-h-selected"></div>
  2046. <div class="luckysheet-grdusedrange"></div>
  2047. <div class="luckysheet-grdblkflowpush"></div> \${rowHeader}
  2048. </div>
  2049. </td>
  2050. <td valign="top" class="luckysheet-paneswrapper">
  2051. <div class="luckysheet-cell-loading" id="luckysheet-cell-loading">
  2052. <div class="luckysheet-cell-loading-inner">
  2053. <i class="fa fa-circle-o-notch fa-spin"></i>
  2054. <span></span>
  2055. </div>
  2056. </div>
  2057. <div class="luckysheet-cell-freezen"></div>
  2058. <div class="luckysheet-scrollbars luckysheet-scrollbar-ltr luckysheet-scrollbar-x" id="luckysheet-scrollbar-x"><div></div></div>
  2059. <div class="luckysheet-scrollbars luckysheet-scrollbar-ltr luckysheet-scrollbar-y" id="luckysheet-scrollbar-y"><div></div></div>
  2060. <div class="luckysheet-cell-main " id="luckysheet-cell-main">
  2061. <div id="luckysheet-formula-functionrange"></div>
  2062. <div id="luckysheet-formula-functionrange-select" class="luckysheet-selection-copy luckysheet-formula-functionrange-select">
  2063. <div class="luckysheet-selection-copy-top luckysheet-copy"></div>
  2064. <div class="luckysheet-selection-copy-right luckysheet-copy"></div>
  2065. <div class="luckysheet-selection-copy-bottom luckysheet-copy"></div>
  2066. <div class="luckysheet-selection-copy-left luckysheet-copy"></div>
  2067. <div class="luckysheet-selection-copy-hc"></div>
  2068. </div>
  2069. <div class="luckysheet-row-count-show luckysheet-count-show" id="luckysheet-row-count-show"></div>
  2070. <div class="luckysheet-column-count-show luckysheet-count-show" id="luckysheet-column-count-show"></div>
  2071. <div class="luckysheet-change-size-line" id="luckysheet-change-size-line"></div>
  2072. <div class="luckysheet-cell-selected-focus" id="luckysheet-cell-selected-focus"></div>
  2073. <div id="luckysheet-selection-copy"></div>
  2074. <div id="luckysheet-chart-rangeShow"></div>
  2075. <div class="luckysheet-cell-selected-extend" id="luckysheet-cell-selected-extend"></div>
  2076. <div class="luckysheet-cell-selected-move" id="luckysheet-cell-selected-move"></div>
  2077. <div id="luckysheet-cell-selected-boxs">
  2078. <div id="luckysheet-cell-selected" class="luckysheet-cell-selected">
  2079. <div class="luckysheet-cs-inner-border"></div>
  2080. <div class="luckysheet-cs-fillhandle"></div>
  2081. <div class="luckysheet-cs-inner-border"></div>
  2082. <div class="luckysheet-cs-draghandle-top luckysheet-cs-draghandle"></div>
  2083. <div class="luckysheet-cs-draghandle-bottom luckysheet-cs-draghandle"></div>
  2084. <div class="luckysheet-cs-draghandle-left luckysheet-cs-draghandle"></div>
  2085. <div class="luckysheet-cs-draghandle-right luckysheet-cs-draghandle"></div>
  2086. <div class="luckysheet-cs-touchhandle luckysheet-cs-touchhandle-lt"><div class="luckysheet-cs-touchhandle-btn"></div></div>
  2087. <div class="luckysheet-cs-touchhandle luckysheet-cs-touchhandle-rb"><div class="luckysheet-cs-touchhandle-btn"></div></div>
  2088. </div>
  2089. </div>
  2090. <div id="luckysheet-postil-showBoxs"></div>
  2091. <div id="luckysheet-multipleRange-show"></div>
  2092. <div id="luckysheet-dynamicArray-hightShow"></div>
  2093. <div id="luckysheet-image-showBoxs">
  2094. <div id="luckysheet-modal-dialog-activeImage" class="luckysheet-modal-dialog" style="display:none;padding:0;position:absolute;z-index:300;">
  2095. <div class="luckysheet-modal-dialog-border" style="position:absolute;"></div>
  2096. <div class="luckysheet-modal-dialog-content"></div>
  2097. <div class="luckysheet-modal-dialog-resize">
  2098. <div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-lt" data-type="lt"></div>
  2099. <div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-mt" data-type="mt"></div>
  2100. <div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-lm" data-type="lm"></div>
  2101. <div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-rm" data-type="rm"></div>
  2102. <div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-rt" data-type="rt"></div>
  2103. <div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-lb" data-type="lb"></div>
  2104. <div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-mb" data-type="mb"></div>
  2105. <div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-rb" data-type="rb"></div>
  2106. </div>
  2107. <div class="luckysheet-modal-dialog-controll">
  2108. <span class="luckysheet-modal-controll-btn luckysheet-modal-controll-crop" role="button" tabindex="0" aria-label="\u88C1\u526A" title="\u88C1\u526A">
  2109. <i class="fa fa-pencil" aria-hidden="true"></i>
  2110. </span>
  2111. <span class="luckysheet-modal-controll-btn luckysheet-modal-controll-restore" role="button" tabindex="0" aria-label="\u6062\u590D\u539F\u56FE" title="\u6062\u590D\u539F\u56FE">
  2112. <i class="fa fa-window-maximize" aria-hidden="true"></i>
  2113. </span>
  2114. <span class="luckysheet-modal-controll-btn luckysheet-modal-controll-del" role="button" tabindex="0" aria-label="\u5220\u9664" title="\u5220\u9664">
  2115. <i class="fa fa-trash" aria-hidden="true"></i>
  2116. </span>
  2117. </div>
  2118. </div>
  2119. <div id="luckysheet-modal-dialog-cropping" class="luckysheet-modal-dialog" style="display:none;padding:0;position:absolute;z-index:300;">
  2120. <div class="cropping-mask"></div>
  2121. <div class="cropping-content"></div>
  2122. <div class="luckysheet-modal-dialog-border" style="position:absolute;"></div>
  2123. <div class="luckysheet-modal-dialog-resize">
  2124. <div class="resize-item lt" data-type="lt"></div>
  2125. <div class="resize-item mt" data-type="mt"></div>
  2126. <div class="resize-item lm" data-type="lm"></div>
  2127. <div class="resize-item rm" data-type="rm"></div>
  2128. <div class="resize-item rt" data-type="rt"></div>
  2129. <div class="resize-item lb" data-type="lb"></div>
  2130. <div class="resize-item mb" data-type="mb"></div>
  2131. <div class="resize-item rb" data-type="rb"></div>
  2132. </div>
  2133. <div class="luckysheet-modal-dialog-controll">
  2134. <span class="luckysheet-modal-controll-btn luckysheet-modal-controll-crop" role="button" tabindex="0" aria-label="\u88C1\u526A" title="\u88C1\u526A">
  2135. <i class="fa fa-pencil" aria-hidden="true"></i>
  2136. </span>
  2137. <span class="luckysheet-modal-controll-btn luckysheet-modal-controll-restore" role="button" tabindex="0" aria-label="\u6062\u590D\u539F\u56FE" title="\u6062\u590D\u539F\u56FE">
  2138. <i class="fa fa-window-maximize" aria-hidden="true"></i>
  2139. </span>
  2140. <span class="luckysheet-modal-controll-btn luckysheet-modal-controll-del" role="button" tabindex="0" aria-label="\u5220\u9664" title="\u5220\u9664">
  2141. <i class="fa fa-trash" aria-hidden="true"></i>
  2142. </span>
  2143. </div>
  2144. </div>
  2145. <div class="img-list"></div>
  2146. <div class="cell-date-picker">
  2147. <input id="cellDatePickerBtn" class="formulaInputFocus" readonly="readonly"/>
  2148. </div>
  2149. </div>
  2150. <div id="luckysheet-dataVerification-dropdown-btn"></div>
  2151. <div id="luckysheet-formula-refresh"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><path fill="currentColor" d="M4 20v-2h2.75l-.4-.35q-1.225-1.225-1.788-2.663T4 12.05q0-2.775 1.663-4.938T10 4.25v2.1Q8.2 7 7.1 8.562T6 12.05q0 1.125.425 2.188T7.75 16.2l.25.25V14h2v6H4Zm10-.25v-2.1q1.8-.65 2.9-2.212T18 11.95q0-1.125-.425-2.187T16.25 7.8L16 7.55V10h-2V4h6v2h-2.75l.4.35q1.225 1.225 1.788 2.663T20 11.95q0 2.775-1.663 4.938T14 19.75Z"/></svg></div>
  2152. <div id="luckysheet-dataVerification-dropdown-List" class="luckysheet-mousedown-cancel"></div>
  2153. <div id="luckysheet-dataVerification-showHintBox" class="luckysheet-mousedown-cancel"></div>
  2154. <div class="luckysheet-cell-copy"></div>
  2155. <div class="luckysheet-grdblkflowpush"></div> \${flow}
  2156. </div>
  2157. </td>
  2158. </tr>
  2159. </tbody>
  2160. </table>
  2161. </div>
  2162. <div class="luckysheet-sheet-area luckysheet-noselected-text" id="luckysheet-sheet-area">
  2163. <div id="luckysheet-sheet-content">
  2164. <div id="luckysheet-sheets-add" class="luckysheet-sheets-add lucky-button-custom"><i class="iconfont-luckysheet luckysheet-iconfont-jia1"></i></div>
  2165. <div id="luckysheet-sheets-m" class="luckysheet-sheets-m lucky-button-custom"><i class="iconfont-luckysheet luckysheet-iconfont-caidan2"></i></div>
  2166. <div class="luckysheet-sheet-container" id="luckysheet-sheet-container">
  2167. <div class="docs-sheet-fade docs-sheet-fade-left" style="display: none;">
  2168. <div class="docs-sheet-fade3"></div>
  2169. <div class="docs-sheet-fade2"></div>
  2170. <div class="docs-sheet-fade1"></div>
  2171. </div>
  2172. <div class="docs-sheet-fade docs-sheet-fade-right" style="display: none;">
  2173. <div class="docs-sheet-fade1"></div>
  2174. <div class="docs-sheet-fade2"></div>
  2175. <div class="docs-sheet-fade3"></div>
  2176. </div>
  2177. <div class="luckysheet-sheet-container-c" id="luckysheet-sheet-container-c"></div>
  2178. </div>
  2179. <div id="luckysheet-sheets-leftscroll" class="luckysheet-sheets-scroll lucky-button-custom"><i class="fa fa-caret-left"></i></div>
  2180. <div id="luckysheet-sheets-rightscroll" class="luckysheet-sheets-scroll lucky-button-custom"><i class="fa fa-caret-right"></i></div>
  2181. </div>
  2182. </div>
  2183. </div>
  2184. <div class="luckysheet-stat-area">
  2185. <div class="luckysheet-sta-c">
  2186. <div class="luckysheet-zoom-content" id="luckysheet-zoom-content">
  2187. <div class="luckysheet-zoom-minus" id="luckysheet-zoom-minus">
  2188. <div class="luckysheet-zoom-minus-icon"></div>
  2189. </div>
  2190. <div class="luckysheet-zoom-slider" id="luckysheet-zoom-slider">
  2191. <div class="luckysheet-zoom-line"></div>
  2192. <div class="luckysheet-zoom-cursor" id="luckysheet-zoom-cursor"></div>
  2193. <div class="luckysheet-zoom-hundred"></div>
  2194. </div>
  2195. <div class="luckysheet-zoom-plus" id="luckysheet-zoom-plus">
  2196. <div class="luckysheet-zoom-plus-icon"></div>
  2197. </div>
  2198. <div class="luckysheet-zoom-ratioText" id="luckysheet-zoom-ratioText">100%</div>
  2199. </div>
  2200. <div class="luckysheet-sta-content" id="luckysheet-sta-content"></div>
  2201. <!--<div class="luckysheet-bottom-content" id="luckysheet-bottom-content-show"></div> -->
  2202. </div>
  2203. </div>
  2204. </div>
  2205. <div id="luckysheet-copy-content" contenteditable="true"></div>
  2206. <input id="luckysheet-copy-btn" type="button" data-clipboard-target="luckysheet-copy-content">
  2207. <div id="testdpidiv" style="height: 1in; left: -100%; position: absolute; top: -100%; width: 1in;"></div>
  2208. </div>`},$u='<div id="luckysheet-cell-flow_${index}" class="luckysheet-cell-flow luckysheetsheetchange" style="width:${width}px;"><div class="luckysheet-cell-flow-clip"><div class="luckysheet-grdblkpush"></div>${flow}</div></div>',Iu="";Au=function(){let n=Q().pivotTable;return'<div class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-mousedown-cancel" id="luckysheet-pivotTable-config-option"> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <div class="luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+n.titleSort+'</span> <select class="luckysheet-mousedown-cancel" style="height:24px;" id="luckysheet-pivotTable-config-option-order"> <option selected="selected" value="default">'+n.titleNoSort+'</option> <option value="asc">'+n.titleSortAsc+'</option> <option value="desc">'+n.titleSortDesc+'</option> </select> </div> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <div class="luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+n.titleSortBy+'</span> <select class="luckysheet-mousedown-cancel" style="height:24px;" id="luckysheet-pivotTable-config-option-orderby"> </select> </div> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <div class="luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+n.titleShowSum+'</span> <select class="luckysheet-mousedown-cancel" style="height:24px;" id="luckysheet-pivotTable-config-option-stastic"> <option value="0">'+n.titleStasticFalse+'</option> <option value="1" selected="selected">'+n.titleStasticTrue+"</option> </select> </div> </div> </div> </div>"},Du=function(){let n=Q().pivotTable;return'<div class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-mousedown-cancel" id="luckysheet-pivotTable-config-option-sumtype"> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="SUM"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+n.valueStatisticsSUM+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="COUNT"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+n.valueStatisticsCOUNT+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="COUNTA"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+n.valueStatisticsCOUNTA+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="COUNTUNIQUE"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+n.valueStatisticsCOUNTUNIQUE+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="AVERAGE"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+n.valueStatisticsAVERAGE+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="MAX"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+n.valueStatisticsMAX+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="MIN"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+n.valueStatisticsMIN+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="MEDIAN"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+n.valueStatisticsMEDIAN+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="PRODUCT"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+n.valueStatisticsPRODUCT+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="STDEV"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+n.valueStatisticsSTDEV+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="STDEVP"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+n.valueStatisticsSTDEVP+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="VAR"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+n.valueStatisticslet+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> <div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" sumtype="VARP"> <div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel"> <span class="luckysheet-mousedown-cancel">'+n.valueStatisticsVARP+'</span> <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel" style="user-select: none;"><i class="fa fa-check luckysheet-mousedown-cancel" aria-hidden="true"></i></span> </div> </div> </div>'},Ql='<div style="${style}" id="luckysheet-sheets-item${index}" data-index="${index}" class="luckysheet-sheets-item ${active}"><span class="luckysheet-sheets-item-name" spellcheck ="false" contenteditable="false">${name}</span> <span class="luckysheet-sheets-item-menu luckysheet-mousedown-cancel"><i class="fa fa-sort-desc luckysheet-mousedown-cancel"></i></span>${colorset}</div>',Mu='<div class="luckysheet-cols-h-cells luckysheetsheetchange" id="luckysheet-cols-h-cells_${index}" style="width:${width}px;"> <div class="luckysheet-cols-h-cells-c"> <div class="luckysheet-grdblkpush"></div>${column}</div></div>',Fu='<div class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-mousedown-cancel" id="luckysheet-sheet-list">${item}</div>',Eu='<div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" id="luckysheet-sheet-btn${index}" data-index="${index}"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="${style}" ><span class="icon luckysheet-mousedown-cancel">${icon}</span>${name}</div></div>',Nu='<div dir="ltr"><div class="luckysheet-input-box-index" id="luckysheet-input-box-index"></div><div id="luckysheet-input-box" spellcheck="false" aria-hidden="false" class="luckysheet-input-box"><div class="luckysheet-cell-input editable" tabindex="0" role="combobox" contenteditable="true" id="luckysheet-rich-text-editor" dir="ltr" g_editable="true" aria-autocomplete="list"></div></div></div>',ft='<div id="${id}" style="${style}" class="luckysheet-modal-dialog ${addclass}" tabindex="0" role="dialog" aria-labelledby=":41e" dir="ltr"> <div class="luckysheet-modal-dialog-title luckysheet-modal-dialog-title-draggable"> <span class="luckysheet-modal-dialog-title-text" role="heading">${title}</span> <span class="luckysheet-modal-dialog-title-close" role="button" tabindex="0" aria-label="${close}"><i class="fa fa-times" aria-hidden="true"></i></span> </div> <div class="luckysheet-modal-dialog-content">${content}</div> <div class="luckysheet-modal-dialog-buttons"> ${botton} </div></div>',Pu='<div class="luckysheet-modal-dialog-mask" id="luckysheet-modal-dialog-mask"></div>';zu=function(){let n=Q().pivotTable;return`
  2209. <div id="luckysheet-modal-dialog-slider-pivot" class="luckysheet-modal-dialog-slider luckysheet-modal-dialog-slider-pivot">
  2210. <div class="luckysheet-modal-dialog-slider-title"> <span>${n.title}</span> <span id="luckysheet-modal-dialog-slider-close" title="${n.closePannel}"><i class="fa fa-times" aria-hidden="true"></i></span> </div>
  2211. <div class="luckysheet-modal-dialog-slider-content">
  2212. <div class="luckysheet-modal-dialog-slider-range">
  2213. <div id="luckysheet-dialog-pivotTable-range"></div>
  2214. <div id="luckysheet-dialog-pivotTable-range-seleted">${n.editRange}</div>
  2215. </div>
  2216. <div class="luckysheet-modal-dialog-slider-list-title"> ${n.tipPivotFieldSelected} <span title="${n.tipClearSelectedField}" id="luckysheet-dialog-pivotTable-clearitem">${n.btnClearSelectedField}</span></div>
  2217. <div id="luckysheet-modal-dialog-pivotTable-list" class="luckysheet-modal-dialog-slider-list luckysheet-scrollbars"> </div>
  2218. <div class="luckysheet-modal-dialog-slider-config-c">
  2219. <div class="luckysheet-modal-dialog-slider-config luckysheet-modal-dialog-config-filter">
  2220. <div> <span><i class="fa fa-filter luckysheet-mousedown-cancel" aria-hidden="true"></i> ${n.btnFilter}</span> </div>
  2221. <div id="luckysheet-modal-dialog-config-filter" class="luckysheet-modal-dialog-slider-config-list luckysheet-scrollbars"> </div>
  2222. </div>
  2223. <div class="luckysheet-modal-dialog-slider-config luckysheet-modal-dialog-config-row">
  2224. <div> <span><i class="fa fa-list-alt" aria-hidden="true"></i> ${n.titleRow}</span> </div>
  2225. <div id="luckysheet-modal-dialog-config-row" class="luckysheet-modal-dialog-slider-config-list luckysheet-scrollbars"> </div>
  2226. </div>
  2227. <div class="luckysheet-modal-dialog-slider-config luckysheet-modal-dialog-config-column">
  2228. <div> <span><i class="fa fa-indent" aria-hidden="true"></i> ${n.titleColumn}</span> </div>
  2229. <div id="luckysheet-modal-dialog-config-column" class="luckysheet-modal-dialog-slider-config-list luckysheet-scrollbars"> </div>
  2230. </div>
  2231. <div class="luckysheet-modal-dialog-slider-config luckysheet-modal-dialog-config-value">
  2232. <div> <span><i class="fa fa-cube" aria-hidden="true"></i> ${n.titleValue}</span> <span style="float: right;margin-right: 10px;display:none;" id="luckysheetpivottablevaluecolrowshow"><label style="padding:0px 5px;margin:0px;font-size:12px;height:15px;line-height:15px;" title="${n.tipShowColumn}" for="luckysheetpivottablevaluecolrow">${n.titleColumn}</label> <input type="radio" checked="checked" value="1" name="luckysheetpivottablevaluecolrow" id="luckysheetpivottablevaluecolrow" /> <label style="padding:0px 5px;margin:0px;font-size:12px;height:15px;line-height:15px;" title="${n.tipShowRow}" for="luckysheetpivottablevaluecolrow1">${n.titleRow}</label> <input type="radio" value="0" name="luckysheetpivottablevaluecolrow" id="luckysheetpivottablevaluecolrow1" /></span></div>
  2233. <div id="luckysheet-modal-dialog-config-value" class="luckysheet-modal-dialog-slider-config-list luckysheet-scrollbars"> </div>
  2234. </div>
  2235. </div>
  2236. </div>
  2237. </div>
  2238. `};Bu='<div class="luckysheet-chart-point-config"> <div class="luckysheet-chart-point-config-set"> <div class="luckysheet-chart-point-config-left"> <div class="luckysheet-chart-point-config-left-top"> <div class="luckysheet-chart-point-searchcondition"> <div class="luckysheet-datavisual-content-row" style="margin-bottom: 0px;margin-top: 0px;height: 30px;"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:10%;white-space:nowrap;">\u9009\u62E9\u7EF4\u5EA6</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:80%;"> <select data-tips="\u7EF4\u5EA6\u9009\u62E9" name="luckysheetpointconfigsearchdim" id="luckysheetpointconfigsearchdim"> </select> </div> </div> <div class="luckysheet-datavisual-content-row" style="margin-bottom: 0px;margin-top: 3px;height: 30px;"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:10%;">\u6392\u5E8F</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:80%;"> <label data-tips="\u65E0\u6392\u5E8F" for="luckysheetpointconfigsearchorderno">\u65E0\u6392\u5E8F</label> <input type="radio" checked="checked" value="0" name="luckysheetpointconfigsearchorder" id="luckysheetpointconfigsearchorderno"> <label data-tips="\u5347\u5E8F" for="luckysheetpointconfigsearchorderasc">\u5347\u5E8F</label> <input type="radio" value="1" name="luckysheetpointconfigsearchorder" id="luckysheetpointconfigsearchorderasc"> <label data-tips="\u964D\u5E8F" for="luckysheetpointconfigsearchorderdesc">\u964D\u5E8F</label> <input type="radio" value="2" name="luckysheetpointconfigsearchorder" id="luckysheetpointconfigsearchorderdesc"> </div> </div> <div class="luckysheet-datavisual-content-row" style="margin-bottom: 0px;margin-top: 5px;height: 30px;"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:90%;text-align: left;"> <select data-width="70" data-tips="\u6309\u7167\u4EC0\u4E48\u65B9\u5F0F\u67E5\u8BE2" name="luckysheetpointconfigsearchtype" id="luckysheetpointconfigsearchtype"> <option value="0" selected="selected">\u6309\u7167\u540D\u79F0</option> <option value="1">\u6309\u6392\u5E8F\u524D%</option> </select> <input data-tips="\u67E5\u8BE2\u5173\u4E8E\u70B9\u7684\u5173\u952E\u5B57" id="luckysheetpointconfigsearchcontent" type="text" class="luckysheet-datavisual-config-input-no" style="width:40%;" placeholder="\u67E5\u8BE2\u5185\u5BB9" /> <button id="luckysheetpointconfigsearchcomfirm" class="btn btn-primary luckysheet-model-conform-btn">\u67E5\u8BE2</button> </div> </div> </div> </div> <div class="luckysheet-chart-point-config-left-mid"> <span id="luckysheet-chart-point-btn-all" class="luckysheet-mousedown-cancel">\u5168\u9009</span> - <span id="luckysheet-chart-point-btn-clear" class="luckysheet-mousedown-cancel">\u6E05\u9664</span> - <span id="luckysheet-chart-point-btn-contra" class="luckysheet-mousedown-cancel">\u53CD\u9009</span><span style="text-decoration:none;color:#8D8D8D;float:right;margin-right:40px;cursor:default;" class="luckysheet-mousedown-cancel">\u53EF\u4EE5\u76F4\u63A5\u6846\u9009\u6570\u636E\u70B9</span> </div> <div class="luckysheet-chart-point-config-left-bottom"> <div class="luckysheet-chart-point-searchitem-c luckysheet-noselected-text"> </div> </div> </div> <div class="luckysheet-chart-point-config-right"> <div class="luckysheet-chart-point-itemconfig"> <div class="luckysheet-datavisual-content-row" style="font-size: 16px;font-weight: bold;"> \u6570\u636E\u70B9\u8BBE\u7F6E </div> <div class="luckysheet-datavisual-content-row"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:10%;white-space:nowrap;">\u56FE\u5F62\u989C\u8272</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:80%;"> <input data-tips="\u989C\u8272" class="luckysheet-datavisual-config-colorOpacity" id="scattersingleitemstylecolor" type="text" data-bigclass="scattersingle" data-attr="itemstyle" data-func="color" /> </div> </div> <div class="luckysheet-datavisual-content-row"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:10%;white-space:nowrap;">\u56FE\u5F62\u5927\u5C0F</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:80%;"> <select data-sliderdiy="scattersingleallsymbolsizeslider" data-tips="\u70B9\u5927\u5C0F\u8BBE\u7F6E" name="scattersingleallsymbolsize" id="scattersingleallsymbolsize" data-width="50" data-bigclass="scattersingle" data-attr="all" data-func="symbolsize"> <option value="4" selected="selected">4px</option> <option value="6">6px</option> <option value="8">8px</option> <option value="10">10px</option> <option value="12">12px</option> <option value="14">14px</option> <option value="16">16px</option> <option value="diy">\u81EA\u5B9A\u4E49</option> </select> </div> </div> <div class="luckysheet-datavisual-content-row" style="display:none;"> <div data-tips="\u6ED1\u52A8\u4FEE\u6539\u70B9\u5927\u5C0F" id="scattersingleallsymbolsizeslider" data-bigclass="scattersingle" data-attr="all" data-func="symbolsize" class="luckysheet-datavisual-config-slider" style="width:70%;" data-min="1" data-max="50" data-step="1"></div> <input data-tips="\u81EA\u5B9A\u4E49\u70B9\u5927\u5C0F" data-sliderid="scattersingleallsymbolsizeslider" id="scattersingleallsymbolsizesliderdiy" type="text" class="luckysheet-datavisual-config-input" data-bigclass="scattersingle" data-attr="all" data-func="symbolsize" placeholder="\u8BF7\u8F93\u5165" style="width:10%;margin-left:10px;text-align:center;margin-right: 2px;" /><label for="scattersingleallsymbolsizesliderdiy">px</label> </div> <div class="luckysheet-datavisual-content-row"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:10%;white-space:nowrap;">\u56FE\u5F62\u5F62\u72B6</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:80%;"> <select data-tips="\u70B9\u7C7B\u578B\u8BBE\u7F6E" data-width="70" name="scattersingleallsymboltype" id="scattersingleallsymboltype" data-bigclass="scattersingle" data-attr="all" data-func="symboltype"> <option value="emptyCircle" selected="selected">\u7A7A\u5FC3\u5706</option> <option value="circle">\u5706\u5F62</option> <option value="emptyRectangle">\u7A7A\u5FC3\u77E9\u5F62</option> <option value="rect">\u77E9\u5F62</option> <option value="roundRect">\u5706\u89D2\u77E9\u5F62</option> <option value="emptyTriangle">\u7A7A\u5FC3\u4E09\u89D2</option> <option value="triangle">\u4E09\u89D2\u5F62</option> <option value="emptyDiamond">\u7A7A\u5FC3\u83F1\u5F62</option> <option value="diamond">\u83F1\u5F62</option> <option value="droplet">\u6C34\u6EF4</option> <option value="pin">\u6807\u6CE8</option> <option value="arrow">\u7BAD\u5934</option> <option value="heart">\u5FC3\u5F62</option> <option value="star">\u661F\u661F</option> </select> </div> </div> <div class="luckysheet-datavisual-content-rowsplit-sub"></div> <div class="luckysheet-datavisual-content-row"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:10%;white-space:nowrap;">\u8FB9\u6846\u7C97\u7EC6</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:80%;"> <select data-sliderdiy="scattersingleitemstyleborderwidthslider" data-tips="\u70B9\u8FB9\u6846\u7C97\u7EC6" name="scattersingleitemstyleborderwidth" id="scattersingleitemstyleborderwidth" data-width="50" data-bigclass="scattersingle" data-attr="itemstyle" data-func="borderwidth"><option value="0" selected="selected">\u65E0</option> <option value="1">1px</option> <option value="2">2px</option> <option value="3">3px</option> <option value="4">4px</option> <option value="5">5px</option> <option value="6">6px</option> <option value="7">7px</option> <option value="8">8px</option> <option value="diy">\u81EA\u5B9A\u4E49</option> </select> </div> </div> <div class="luckysheet-datavisual-content-row" style="display:none;"> <div data-tips="\u6ED1\u52A8\u4FEE\u6539\u8FB9\u6846\u7C97\u7EC6" id="scattersingleitemstyleborderwidthslider" data-bigclass="scattersingle" data-attr="itemstyle" data-func="borderwidth" class="luckysheet-datavisual-config-slider" style="width:70%;" data-min="12" data-max="100" data-step="1"></div> <input data-tips="\u81EA\u5B9A\u4E49\u8FB9\u6846\u7C97\u7EC6" data-sliderid="scattersingleitemstyleborderwidthslider" id="scattersingleitemstyleborderwidthsliderdiy" type="text" class="luckysheet-datavisual-config-input" data-bigclass="scattersingle" data-attr="itemstyle" data-func="borderwidth" placeholder="\u8BF7\u8F93\u5165" style="width:10%;margin-left:10px;text-align:center;margin-right: 2px;" /><label for="scattersingleitemstyleborderwidthsliderdiy">%</label> </div> <div class="luckysheet-datavisual-content-row"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:10%;white-space:nowrap;">\u8FB9\u6846\u6837\u5F0F</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:80%;"> <select data-tips="\u70B9\u8FB9\u6846\u7C7B\u578B\u8BBE\u7F6E" data-width="50" name="scattersingleitemstyleborderlinetype" id="scattersingleitemstyleborderlinetype" data-bigclass="scattersingle" data-attr="itemstyle" data-func="borderlinetype"> <option value="solid" selected="selected">\u5B9E\u7EBF</option> <option value="dashed">\u865A\u7EBF</option> <option value="dotted">\u70B9\u7EBF</option> </select> </div> </div> <div class="luckysheet-datavisual-content-row"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:10%;white-space:nowrap;">\u8FB9\u6846\u989C\u8272</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:80%;"> <input data-tips="\u70B9\u8FB9\u6846\u989C\u8272" class="luckysheet-datavisual-config-colorOpacity" id="scattersingleitemstyleborderlinecolor" type="text" data-bigclass="scattersingle" data-attr="itemstyle" data-func="borderlinecolor" /> </div> </div> <div class="luckysheet-datavisual-content-rowsplit-sub"></div> <div class="luckysheet-datavisual-content-row"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:10%;white-space:nowrap;"><i class="fa fa-th-large" aria-hidden="true"></i> \u6587\u5B57\u6807\u7B7E</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:80%;"> <label data-tips="\u663E\u793A\u6570\u636E\u70B9\u7684\u6807\u7B7E" data-bigclass="scattersingle" data-attr="label" data-func="labelshow" for="scattersinglelabellabelshow">\u663E\u793A</label> <input type="radio" checked="checked" value="1" name="scattersinglelabellabelshow" id="scattersinglelabellabelshow" data-bigclass="scattersingle" data-attr="label" data-func="labelshow"> <label data-tips="\u9690\u85CF\u6570\u636E\u70B9\u7684\u6807\u7B7E" data-bigclass="scattersingle" data-attr="label" data-func="labelshow" for="scattersinglelabellabelshow1">\u9690\u85CF</label> <input type="radio" value="0" name="scattersinglelabellabelshow" id="scattersinglelabellabelshow1" data-bigclass="scattersingle" data-attr="label" data-func="labelshow"> </div> </div> <div class="luckysheet-datavisual-content-row" style="height:auto;line-height: initial;margin-left:auto;" showfor="scattersinglelabellabelshow1" hidefor="scattersinglelabellabelshow"> <div class="luckysheet-datavisual-content-row"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:40%;">\u6570\u503C\u6BD4\u4F8B</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:50%;"> <select data-tips="\u523B\u5EA6\u6570\u503C\u653E\u5927\u6BD4\u4F8B" name="scattersinglelabelformatratio" id="scattersinglelabelformatratio" data-bigclass="scattersingle" data-attr="label" data-func="formatratio"> <option value="0.01">\u4E58\u4EE5100</option> <option value="0.1">\u4E58\u4EE510</option> <option value="1" selected="selected">\u9ED8\u8BA4</option> <option value="10">\u9664\u4EE510</option> <option value="100">\u9664\u4EE5100</option> <option value="1000">\u9664\u4EE51000</option> <option value="10000">\u9664\u4EE51\u4E07</option> <option value="100000">\u9664\u4EE510\u4E07</option> <option value="1000000">\u9664\u4EE5\u4E00\u767E\u4E07</option> <option value="10000000">\u9664\u4EE5\u4E00\u5343\u4E07</option> <option value="100000000">\u9664\u4EE5\u4E00\u4EBF</option> <option value="1000000000">\u9664\u4EE5\u5341\u4EBF</option> </select> </div> </div> <div class="luckysheet-datavisual-content-row"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:40%;white-space: nowrap;">\u5C0F\u6570\u4F4D\u6570</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:50%;"> <select data-tips="\u6570\u503C\u5C0F\u6570\u70B9\u4F4D\u6570" name="scattersinglelabelfloatlen" id="scattersinglelabelfloatlen" data-bigclass="scattersingle" data-attr="label" data-func="floatlen"> <option value="auto" selected="selected">\u81EA\u52A8\u663E\u793A</option> <option value="0">\u6574\u6570</option> <option value="1">1\u4F4D\u5C0F\u6570</option> <option value="2">2\u4F4D\u5C0F\u6570</option> <option value="3">3\u4F4D\u5C0F\u6570</option> <option value="4">4\u4F4D\u5C0F\u6570</option> <option value="5">5\u4F4D\u5C0F\u6570</option> <option value="6">6\u4F4D\u5C0F\u6570</option> <option value="7">7\u4F4D\u5C0F\u6570</option> <option value="8">8\u4F4D\u5C0F\u6570</option> </select> </div> </div> <div class="luckysheet-datavisual-content-row"> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:20%;">\u6807\u7B7E\u683C\u5F0F</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:70%;"> <select data-sliderdiy="scattersinglelabelcontentformatslider" data-tips="\u6807\u7B7E\u663E\u793A\u683C\u5F0F" name="scattersinglelabelcontentformat" id="scattersinglelabelcontentformat" data-bigclass="scattersingle" data-attr="label" data-func="contentformat"> <option value="default" selected="selected">\u9ED8\u8BA4</option> <option value="1">\u4EC5\u6570\u636E\u540D</option> <option value="2">\u6570\u636E\u540D+2\u7EF4\u6570\u503C</option> <option value="5">\u6570\u636E\u540D+\u5168\u90E8\u6570\u503C</option> <option value="diy">\u81EA\u5B9A\u4E49</option> </select> </div> </div> <div style="display:none;"> <div class="luckysheet-datavisual-content-row" id="scattersinglelabelcontentformatslider"> <div style="text-align:center; width:60px; display:inline-block;">\u6570\u636E\u540D\u79F0</div> <label data-tips="\u662F\u5426\u663E\u793A\u6570\u636E\u540D" data-bigclass="scattersingle" data-attr="label" data-func="scattersingledatalabelshow" for="scattersinglelabeldatalabelshow" style="font-weight:bold;"><i class="fa fa-eye" aria-hidden="true"></i></label> <input type="checkbox" checked="checked" name="scattersinglelabeldatalabelshow" id="scattersinglelabeldatalabelshow" data-bigclass="scattersingle" data-attr="label" data-func="scattersingledatalabelshow"> <input data-tips="\u663E\u793A\u5728\u6570\u636E\u540D\u524D\u90E8\u6587\u5B57" placeholder="\u524D\u7F00" id="scattersinglelabeldatalabelprefix" type="text" class="luckysheet-datavisual-config-input" style="width:60px;height:19px;" data-bigclass="scattersingle" data-attr="label" data-func="scattersingledatalabelprefix" /> <input data-tips="\u663E\u793A\u5728\u6570\u636E\u540D\u5C3E\u90E8\u6587\u5B57" placeholder="\u540E\u7F00" id="scattersinglelabeldatalabelsuffix" type="text" class="luckysheet-datavisual-config-input" style="width:60px;height:19px;" data-bigclass="scattersingle" data-attr="label" data-func="scattersingledatalabelsuffix" /> <label data-tips="\u662F\u5426\u5728\u6570\u636E\u540D\u540E\u6362\u884C" data-bigclass="scattersingle" data-attr="label" data-func="scattersingledatalabelline" for="scattersinglelabeldatalabelline" style="font-weight:bold;">\u6362\u884C</label> <input type="checkbox" checked="checked" name="scattersinglelabeldatalabelline" id="scattersinglelabeldatalabelline" data-bigclass="scattersingle" data-attr="label" data-func="scattersingledatalabelline"> </div> </div> <div class="luckysheet-datavisual-content-row" > <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-title luckysheet-datavisual-content-column-2x" style="width:10%;white-space:nowrap;">\u6807\u7B7E\u4F4D\u7F6E</div> <div class="luckysheet-datavisual-content-column luckysheet-datavisual-content-column-right luckysheet-datavisual-content-column-2x" style="width:80%;"> <select data-sliderdiy="scattersinglelabellabelplaceslider" data-tips="\u6807\u7B7E\u8DDD\u79BB\u56FE\u5F62\u4F4D\u7F6E" data-width="70" name="scattersinglelabellabelplace" id="scattersinglelabellabelplace" data-bigclass="scattersingle" data-attr="label" data-func="labelplace"> <option value="top" selected="selected">\u9876\u7AEF</option> <option value="left">\u5DE6\u4FA7</option> <option value="right">\u53F3\u4FA7</option> <option value="bottom">\u5E95\u90E8</option> <option value="inside">\u5185\u90E8\u5C45\u4E2D</option> <option value="diy">\u81EA\u5B9A\u4E49</option> <option value="insideLeft">\u5185\u90E8\u5DE6\u4FA7</option> <option value="insideRight">\u5185\u90E8\u53F3\u4FA7</option> <option value="insideTop">\u5185\u90E8\u9876\u7AEF</option> <option value="insideBottom">\u5185\u90E8\u5E95\u7AEF</option> <option value="insideTopLeft">\u5185\u90E8\u5DE6\u4E0A</option> <option value="insideBottomLeft">\u5185\u90E8\u5DE6\u4E0B</option> <option value="insideTopRight">\u5185\u90E8\u53F3\u4E0A</option> <option value="insideBottomRight">\u5185\u90E8\u53F3\u4E0B</option> </select> </div> </div> <div class="luckysheet-datavisual-content-row" style="display:none;height:65px;"> <div data-tips="\u6ED1\u52A8\u4FEE\u6539\u70B9\u6587\u672C\u6C34\u5E73\u4F4D\u7F6E" id="scattersinglelabellabelplaceslider" data-bigclass="scattersingle" data-attr="label" data-func="labelplacediy" class="luckysheet-datavisual-config-slider" style="width:70%;" data-min="-100" data-max="100" data-step="1"></div> <input data-tips="\u81EA\u5B9A\u4E49\u70B9\u6587\u672C\u6C34\u5E73\u4F4D\u7F6E" data-sliderid="scattersinglelabellabelplaceslider" id="scattersinglelabellabelplacesliderdiy" type="text" class="luckysheet-datavisual-config-input" data-bigclass="scattersingle" data-attr="label" data-func="labelplacediy" placeholder="\u8BF7\u8F93\u5165" style="width:10%;margin-left:10px;text-align:center;margin-right: 2px;" /><label for="scattersinglelabellabelplacesliderdiy">px</label> <br /> <div data-tips="\u6ED1\u52A8\u4FEE\u6539\u70B9\u6587\u672C\u5782\u76F4\u4F4D\u7F6E" id="scattersinglelabellabelplaceslider1" data-bigclass="scattersingle" data-attr="label" data-func="labelplacediy" class="luckysheet-datavisual-config-slider" style="width:70%;" data-min="-100" data-max="100" data-step="1"></div> <input data-tips="\u81EA\u5B9A\u4E49\u70B9\u6587\u672C\u5782\u76F4\u4F4D\u7F6E" data-sliderid="scattersinglelabellabelplaceslider1" id="scattersinglelabellabelplaceslider1diy" type="text" class="luckysheet-datavisual-config-input" data-bigclass="scattersingle" data-attr="label" data-func="labelplacediy" placeholder="\u8BF7\u8F93\u5165" style="width:10%;margin-left:10px;text-align:center;margin-right: 2px;" /><label for="scattersinglelabellabelplaceslider1diy">px</label> </div> <div class="luckysheet-datavisual-content-row"> <label data-tips="\u52A0\u7C97" data-bigclass="scattersingle" data-attr="label" data-func="labelbold" for="scattersinglelabellabelbold" style="font-weight:bold;"><i class="fa fa-bold" aria-hidden="true"></i></label> <input type="checkbox" name="scattersinglelabellabelbold" id="scattersinglelabellabelbold" data-bigclass="scattersingle" data-attr="label" data-func="labelbold"> <label data-tips="\u659C\u4F53" data-bigclass="scattersingle" data-attr="label" data-func="labelitalic" for="scattersinglelabellabelitalic" class="luckysheet-datavisual-content-column-italic"><i class="fa fa-italic" aria-hidden="true"></i></label> <input type="checkbox" name="scattersinglelabellabelitalic" id="scattersinglelabellabelitalic" data-bigclass="scattersingle" data-attr="label" data-func="labelitalic"> <select data-sliderdiy="scattersinglelabellabelfontsizeslider" data-width="50" data-tips="\u5B57\u4F53\u5927\u5C0F" name="scattersinglelabellabelfontsize" id="scattersinglelabellabelfontsize" data-bigclass="scattersingle" data-attr="label" data-func="labelfontsize"> <option value="12">12px</option> <option value="14">14px</option> <option value="16">16px</option> <option value="18">18px</option> <option value="20">20px</option> <option value="22">22px</option> <option value="24">24px</option> <option value="30">30px</option> <option value="36">36px</option> <option value="diy">\u81EA\u5B9A\u4E49</option> </select> <input data-tips="\u5B57\u4F53\u989C\u8272" class="luckysheet-datavisual-config-color" id="scattersinglelinelabelcolor" type="text" data-bigclass="scattersingle" data-attr="label" data-func="labelcolor" /> </div> <div class="luckysheet-datavisual-content-row" style="display:none;"> <div data-tips="\u6ED1\u52A8\u4FEE\u6539\u5B57\u4F53\u5927\u5C0F" id="scattersinglelabellabelfontsizeslider" data-bigclass="scattersingle" data-attr="label" data-func="labelfontsize" class="luckysheet-datavisual-config-slider" style="width:70%;" data-min="12" data-max="100" data-step="1"></div> <input data-tips="\u81EA\u5B9A\u4E49\u5B57\u4F53\u5927\u5C0F" data-sliderid="scattersinglelabellabelfontsizeslider" id="scattersinglelabellabelfontsizesliderdiy" type="text" class="luckysheet-datavisual-config-input" data-bigclass="scattersingle" data-attr="label" data-func="labelfontsize" placeholder="\u8BF7\u8F93\u5165" style="width:10%;margin-left:10px;text-align:center;margin-right: 2px;" /><label for="scattersinglelabellabelfontsizesliderdiy">px</label> </div> </div> </div> </div> </div> <div class="luckysheet-chart-point-config-chart"> <div id="luckysheet-chart-point-config-chart-c" class="luckysheet-chart-point-config-chart-c"> </div> </div> </div>',Hu='<div id="luckysheet-tooltip-up" class="jfk-tooltip" role="tooltip" aria-hidden="true" style="left: 505px; top: 410px;"><div class="jfk-tooltip-contentId">\u7EC4\u5408\u56FE\u8868</div><div class="jfk-tooltip-arrow jfk-tooltip-arrowup" style="left: 35.5px;"><div class="jfk-tooltip-arrowimplbefore"></div><div class="jfk-tooltip-arrowimplafter"></div></div></div>';K1=function(e){if(typeof e.image=="function")return e.image();let t=new RegExp("^(image|path)://").exec(e.image),l="";if(t!==null){let a=t[0],o=t[1],s=t.input.substring(a.length);switch(o){case"image":l=`<div class="image-type" style="background-image: url(${s});"></div>`;break;case"path":let u=document.createElementNS("http://www.w3.org/2000/svg","svg");u.setAttribute("class","path-type"),u.setAttribute("viewBox",e.viewBox);let d=document.createElementNS("http://www.w3.org/2000/svg","path");d.setAttribute("d",s),d.setAttribute("fill","currentColor"),u.appendChild(d),l=u.outerHTML;break;default:break}}return l},Nr=function(e,n){if(!e)return;let t=X1();if(n&&JSON.stringify(n)!=="{}"&&Object.assign(t,n),typeof t.enable=="boolean"&&t.enable===!1)return{el:"",show:u,close:d};let l=K1(t),a="luckysheet-loading-"+uuid.v4(),o=`
  2239. <div class="luckysheet-loading-content">
  2240. <div class="${t.imageClass} luckysheet-loading-image">
  2241. ${l}
  2242. </div>
  2243. <div class="${t.textClass} luckysheet-loading-text">
  2244. <span>${t.text}</span>
  2245. </div>
  2246. </div>`,s=document.createElement("div");s.id=a,s.className="luckysheet-loading-mask "+t.customClass,$(s).html(o),$(e).append(s);function u(){a&&$("#"+a).show()}function d(){a&&$("#"+a).hide()}return{el:s,show:u,close:d}},Yl=["#c1232b","#27727b","#fcce10","#e87c25","#b5c334","#fe8463","#9bca63","#fad860","#f3a43b","#60c0dd","#d7504b","#c6e579","#f4e001","#f0805a","#26c0c0","#c12e34","#e6b600","#0098d9","#2b821d","#005eaa","#339ca8","#cda819","#32a487","#3fb1e3","#6be6c1","#626c91","#a0a7e6","#c4ebad","#96dee8"],at={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,PAUSE:19,CAPSLOCK:20,ESC:27,SPACE:33,PAGEUP:33,PAGEDOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,INSERT:45,DELETE:46,WIN:91,WIN_R:92,MENU:93,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SCROLLLOCK:145},$l={fillStyle:"#000000",textBaseline:"middle",strokeStyle:"#dfdfdf",rowFillStyle:"#5e5e5e",textAlign:"center"},Zn=function(){return"normal normal normal "+h.defaultFontSize+"pt "+Q().fontarray[0]+', "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif'},Ca=new Image;Ca.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZoAAAGACAYAAACUS6SeAAAACXBIWXMAAC4jAAAuIwF4pT92AAAKTWlDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVN3WJP3Fj7f92UPVkLY8LGXbIEAIiOsCMgQWaIQkgBhhBASQMWFiApWFBURnEhVxILVCkidiOKgKLhnQYqIWotVXDjuH9yntX167+3t+9f7vOec5/zOec8PgBESJpHmomoAOVKFPDrYH49PSMTJvYACFUjgBCAQ5svCZwXFAADwA3l4fnSwP/wBr28AAgBw1S4kEsfh/4O6UCZXACCRAOAiEucLAZBSAMguVMgUAMgYALBTs2QKAJQAAGx5fEIiAKoNAOz0ST4FANipk9wXANiiHKkIAI0BAJkoRyQCQLsAYFWBUiwCwMIAoKxAIi4EwK4BgFm2MkcCgL0FAHaOWJAPQGAAgJlCLMwAIDgCAEMeE80DIEwDoDDSv+CpX3CFuEgBAMDLlc2XS9IzFLiV0Bp38vDg4iHiwmyxQmEXKRBmCeQinJebIxNI5wNMzgwAABr50cH+OD+Q5+bk4eZm52zv9MWi/mvwbyI+IfHf/ryMAgQAEE7P79pf5eXWA3DHAbB1v2upWwDaVgBo3/ldM9sJoFoK0Hr5i3k4/EAenqFQyDwdHAoLC+0lYqG9MOOLPv8z4W/gi372/EAe/tt68ABxmkCZrcCjg/1xYW52rlKO58sEQjFu9+cj/seFf/2OKdHiNLFcLBWK8ViJuFAiTcd5uVKRRCHJleIS6X8y8R+W/QmTdw0ArIZPwE62B7XLbMB+7gECiw5Y0nYAQH7zLYwaC5EAEGc0Mnn3AACTv/mPQCsBAM2XpOMAALzoGFyolBdMxggAAESggSqwQQcMwRSswA6cwR28wBcCYQZEQAwkwDwQQgbkgBwKoRiWQRlUwDrYBLWwAxqgEZrhELTBMTgN5+ASXIHrcBcGYBiewhi8hgkEQcgIE2EhOogRYo7YIs4IF5mOBCJhSDSSgKQg6YgUUSLFyHKkAqlCapFdSCPyLXIUOY1cQPqQ28ggMor8irxHMZSBslED1AJ1QLmoHxqKxqBz0XQ0D12AlqJr0Rq0Hj2AtqKn0UvodXQAfYqOY4DRMQ5mjNlhXIyHRWCJWBomxxZj5Vg1Vo81Yx1YN3YVG8CeYe8IJAKLgBPsCF6EEMJsgpCQR1hMWEOoJewjtBK6CFcJg4Qxwicik6hPtCV6EvnEeGI6sZBYRqwm7iEeIZ4lXicOE1+TSCQOyZLkTgohJZAySQtJa0jbSC2kU6Q+0hBpnEwm65Btyd7kCLKArCCXkbeQD5BPkvvJw+S3FDrFiOJMCaIkUqSUEko1ZT/lBKWfMkKZoKpRzame1AiqiDqfWkltoHZQL1OHqRM0dZolzZsWQ8ukLaPV0JppZ2n3aC/pdLoJ3YMeRZfQl9Jr6Afp5+mD9HcMDYYNg8dIYigZaxl7GacYtxkvmUymBdOXmchUMNcyG5lnmA+Yb1VYKvYqfBWRyhKVOpVWlX6V56pUVXNVP9V5qgtUq1UPq15WfaZGVbNQ46kJ1Bar1akdVbupNq7OUndSj1DPUV+jvl/9gvpjDbKGhUaghkijVGO3xhmNIRbGMmXxWELWclYD6yxrmE1iW7L57Ex2Bfsbdi97TFNDc6pmrGaRZp3mcc0BDsax4PA52ZxKziHODc57LQMtPy2x1mqtZq1+rTfaetq+2mLtcu0W7eva73VwnUCdLJ31Om0693UJuja6UbqFutt1z+o+02PreekJ9cr1Dund0Uf1bfSj9Rfq79bv0R83MDQINpAZbDE4Y/DMkGPoa5hpuNHwhOGoEctoupHEaKPRSaMnuCbuh2fjNXgXPmasbxxirDTeZdxrPGFiaTLbpMSkxeS+Kc2Ua5pmutG003TMzMgs3KzYrMnsjjnVnGueYb7ZvNv8jYWlRZzFSos2i8eW2pZ8ywWWTZb3rJhWPlZ5VvVW16xJ1lzrLOtt1ldsUBtXmwybOpvLtqitm63Edptt3xTiFI8p0in1U27aMez87ArsmuwG7Tn2YfYl9m32zx3MHBId1jt0O3xydHXMdmxwvOuk4TTDqcSpw+lXZxtnoXOd8zUXpkuQyxKXdpcXU22niqdun3rLleUa7rrStdP1o5u7m9yt2W3U3cw9xX2r+00umxvJXcM970H08PdY4nHM452nm6fC85DnL152Xlle+70eT7OcJp7WMG3I28Rb4L3Le2A6Pj1l+s7pAz7GPgKfep+Hvqa+It89viN+1n6Zfgf8nvs7+sv9j/i/4XnyFvFOBWABwQHlAb2BGoGzA2sDHwSZBKUHNQWNBbsGLww+FUIMCQ1ZH3KTb8AX8hv5YzPcZyya0RXKCJ0VWhv6MMwmTB7WEY6GzwjfEH5vpvlM6cy2CIjgR2yIuB9pGZkX+X0UKSoyqi7qUbRTdHF09yzWrORZ+2e9jvGPqYy5O9tqtnJ2Z6xqbFJsY+ybuIC4qriBeIf4RfGXEnQTJAntieTE2MQ9ieNzAudsmjOc5JpUlnRjruXcorkX5unOy553PFk1WZB8OIWYEpeyP+WDIEJQLxhP5aduTR0T8oSbhU9FvqKNolGxt7hKPJLmnVaV9jjdO31D+miGT0Z1xjMJT1IreZEZkrkj801WRNberM/ZcdktOZSclJyjUg1plrQr1zC3KLdPZisrkw3keeZtyhuTh8r35CP5c/PbFWyFTNGjtFKuUA4WTC+oK3hbGFt4uEi9SFrUM99m/ur5IwuCFny9kLBQuLCz2Lh4WfHgIr9FuxYji1MXdy4xXVK6ZHhp8NJ9y2jLspb9UOJYUlXyannc8o5Sg9KlpUMrglc0lamUycturvRauWMVYZVkVe9ql9VbVn8qF5VfrHCsqK74sEa45uJXTl/VfPV5bdra3kq3yu3rSOuk626s91m/r0q9akHV0IbwDa0b8Y3lG19tSt50oXpq9Y7NtM3KzQM1YTXtW8y2rNvyoTaj9nqdf13LVv2tq7e+2Sba1r/dd3vzDoMdFTve75TsvLUreFdrvUV99W7S7oLdjxpiG7q/5n7duEd3T8Wej3ulewf2Re/ranRvbNyvv7+yCW1SNo0eSDpw5ZuAb9qb7Zp3tXBaKg7CQeXBJ9+mfHvjUOihzsPcw83fmX+39QjrSHkr0jq/dawto22gPaG97+iMo50dXh1Hvrf/fu8x42N1xzWPV56gnSg98fnkgpPjp2Snnp1OPz3Umdx590z8mWtdUV29Z0PPnj8XdO5Mt1/3yfPe549d8Lxw9CL3Ytslt0utPa49R35w/eFIr1tv62X3y+1XPK509E3rO9Hv03/6asDVc9f41y5dn3m978bsG7duJt0cuCW69fh29u0XdwruTNxdeo94r/y+2v3qB/oP6n+0/rFlwG3g+GDAYM/DWQ/vDgmHnv6U/9OH4dJHzEfVI0YjjY+dHx8bDRq98mTOk+GnsqcTz8p+Vv9563Or59/94vtLz1j82PAL+YvPv655qfNy76uprzrHI8cfvM55PfGm/K3O233vuO+638e9H5ko/ED+UPPR+mPHp9BP9z7nfP78L/eE8/sl0p8zAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAHBbSURBVHja7J13mFxV+cc/M7OzLbvpjZBKQhISUgAhgAlVkADSRcDyky4iYAAhAmpQQtMIiqigYkV6FRHphgBBKSGBkB5IIb1sdrO72dmZ+f3xniGTzZR755a5s/t+nmefTGbuPec7Z8497ynveU9on5m3YJMuwNnAt4B9gA3A48CPgY0UyPxJUzN/MLMShxwDXAMcAmwGbgD+UlBKhzVn/+yqqwrVFwIuBL7tZnkyYwaK98yaNb/QW6uBk4DLgfHAduDfwI+ApYUmOnHiKC+0AowAfgh8EYgAvwF+AMTd1OlQ40nAtcB+QIMpzx8Cy70oT8U6YZvXn2x+tN8A44ByYE/gMmA18B9g7wB9v58AzwNfADoBA4A/m4c5KPwWuCdDef4X6KVVtF1yGPAx8IDpAFUBPYGvAguBucCRAdJ7CvAecA7QA+gKfB94DKgMiMargaeAQ0159gK+BrwNqLUoIUNzFPAw0C3L5+XmAXoZ6B+A7/ZNM3rJxDTgl2Y0UUwmAxdl+WwI8HOtou2OzwFP5+hERIAxwDPAhADoHQvcbxrvTB3PZ4HaImscDmSbmukO/F6rXWkYmgnAP4wxyUd/U/m6FPF7lQO35bnmMuCvQLSIOs/J8/npQIVW03bDPjaejWrgn8boFJPpRks2jgReKfLo+yygLMfnhwCDtPoF29CMMUam2ka6Y8wDVV2k73Uw0NvCdV9F1kOqiqQzX+WvQqfP2gsDkWlcO79nD/McFWuGoAJZk8nHAcBM8x2LwRAL1+ytVTC4hmawqeiFNHaHInPQkSJ8rxob156ILBp2LYLOkAu/kRJ8egEvFWgw+iPT0cXocJTnGSmkMxJ4zfxbDJ1WjKYSQEPTC3jBYW/qJODX+L8WMhuos3H9JDP876NVQnGZLsbIDHOQxt5mVqGTz9rrgTdtjtpmmhGOouQ1NF2MkRnmQh4XATf7/L02GyO3zcY944FZZhSnKG5QDfwLd9ZZJiBOBOU+f4evAAtsjt5eIVhec0oADU21qdDjXMxnKnCJz99tJuIpt97GPcOA14HRWjUUh5QDTyAL0W5xFPAn/J2OXoV4k75j455aZMr9ZK0GSiZDE0XWVQ7zIK+7kI2efvKO+S6f2LinnzFSB2v1UAokAvwNONaDtM82z5KfbDBG7lUb91Qi+2z+T6uDkm5oQsAfkSknrx6+P5kK6ycLkTWYj2zc0x14EYkqoCh2CCGbcL/sYR6XIDve/WQbsu/rKZvP/B+BKVotOjbpHiW/RNx9vZ5OeByZv32vwDQmG51DsOdJYne/TCdk09xXgUcdfN9DkE2urwGbXCjDLsDvEG+5rcCTSASENVqdA8HtwAU+5HOjGWn8psD7RxmDNRZ7TgZ2p+1CyMbjzkZzoR3izyGOSf8DVrrUFv0S2cvWgqyl3Qgs0SrsnaH5IfAdn/LsgrgTH2rzR031FC/ysXzKzSjsBex5sQGci2wa7ZXWIzzZ5vRDW6oR76NJ5v9VprE4wxie/2qVLirXIaFQ/OIu03l52OZ93wTuxd/NytOQdZv/2bzvGMRzNeWY1Aqch2y2djLqvK9Nx/prSKidc8wzprhI2PxoN/qcby/Tg7CzN+BbPhuZ9JHNWTbvmW4qcvr362xGH/sXqCOCrJ9NylKezwB9tUoXjfPM7+4nEdPg2pmOHoXE1itGRIyLbV7/VdNODGvTOXY6xf8rMs/e1AAPoc5Anhia64uU9zDsxSD6VhHL6ds2e2DX5RjNPYd9t/GQeThOymO8r9cqXTSKVfblyNRuZ4vXX4D/LtLpowarcdGGmPYhksXAPkhh671T8zzPVfi/HaNDGJo9LF77EWAlhvetNvK342s/oojlZGe387UWRnN2A4/ebNHQnqpVumhYfY5WIfu18vFzZO3ACt2QfWBW2KeIZVSB9ZhjV5A7MnQVst5rZ3PoNy0akckUL3xWuzU0b1h8OI5FNkLm4zc2jI2dDZUbi1hOG2xce6iFawYg61TdLVx7iemFWaGzVumi8YbFenQcsMLCtS8jrsxWz3tpKIHnCGCLxeusRK7ugkytWYl1dpIZIVmJUhLFXhgrxYKhud3Cw3GUMTZWuQ5ZuM/HEzbSfLqI5fSkjWuten+Nwto5GVNt5P2KVumike8EwTrEYeNDG2k+jkQZz8cyrHtxPlHEMnoLObfKTYPUC2ubYi/Cusfc+9jb6K1YMDTP5xhO1plh5GKb6SYRL7an8/Ss7Cye/gg5LMpvmhCPGatML9JvuQR/3GqVzLyU47dvBE6jMK/A35B9zS/1rH3X/GvV0DxVpDK6zsa1P8H61KHbsxdnaHV239CALGSex65TRNsQd793Ckw7bob+r2X5MU8E1tqsABOQHdfNPpbRbJvTDffZNExuPRyTsTfFp7jPDchO+LVtjMyZyFSYk9HS3VmesSuw546bRDaT3oi/02hbsrQF2XgT2SIQ91FjI/AldC+N66Rv2PwjcpLeoUjI/FkuVMTUD/d7Y1i24GyD4Xrg66bn3gfrIcwxUxDftZnfJxTmUn2jGdJf6sNvmBp16sMRDP6CuKEfjBzP/KbNDlWu+rsNcQqJIGGSbkKmo+wSM52hn5jnyM5xzIcj0+J2PNe2m05nzKbOvyPrML/24XdrQQKIvqVV2FtDkyrsVz1oCN0Ox7EDawuqIIt/PynAyHyALNyudtAwdMXbaAstZkrmHa3KgSJms/dudSRyHfamn6zMOnxq4/pTTaNvx8hsAk5w0ID/BnGaucnD3yuJzOg8o1XXG9r7oVoRJFyL3T0Os5BgnKtdqLxeOTHETfovazVWfOAi4BGbo5+V5jlyOkqYDvzCw+92HTKbo6ihsU3Kz/58m/c9jbhyb3FBQwvZ16mccpk+HIpP/BCJJmAnztl84PNY23tnhSke1fefYW/vn6KG5jO6IN50dsNU/AGZimpyUUtqnWqei2neSuHBFBXFKiHECcFuiKo3kVBJK13UkkQ2XLo5Q3A/cI3+zGpoCuVeYGIBw/ML8cbLpQ44GncW7H+Hu/P0ipKNb2Mv/BLIOscXsLa52y6tZobgPy6k9SIy9ZzUn1kNTaF80ca1CeByxDXVy0q3AZmSW+UgjaeRSAH6cCh+MNnm9X9CHAYaPdTUiERBn+sgjbdMGi36EwfT0Fhp4BIB+F5Wp75akLDgfp1YuBw4nsLOpXkDeyFJFMUp221ce5sZIbT6oKvOjJoKmSFYgkxlN+rPG1xDk8+luIlgbBq0Emaj3jT6D/msbR7i7tlo857j9eFoN6x04VnzAysRBJLIQv1Un0fahcwQrEK2LOjG5oAbmnxeH48he1yKzfQ8lWkdEjn6pSLpewtxVGix+HAcj/2D15Tg8mCekf/7uOs84kTnm3lmBL4G3FkkfXZmCOrMtUu1+vlPmc3r/4UsRl+Y5Ue/MiDfa7UZNfyT3Q9XW4as4RR7J/1LyE7k+5Aw722JmYf8Apyt6yjBYw4Su+8nGT7bioSxCQIJJAzVv9j9wL4G4HTEu7OYzEPWkv6BRDloS9xcc4mbxnvWrPmB+IEmThxVEhW+EGeAi82PNtf0aFYju4UPCtiQ9H/AOGT9ZRUyrfcY4tsflHAtTyIhzi/NUJ79kHAfi1HaIzchMdBmI7H7NpsRxEFmRBMU1iMenFORM6l2GM2HB8DIpD/rQ0x5vmnKcxMyA7M3sJ/RrJTIiAZkHva3WDsGoNisQTzKLg+wxjpjWH6t1bFDUY1sgEyav4TpfScCqLUJWey/LcDl2YRELnikBH77k5EDEsebkeG/KF50en8MzfxJU/WRd4MZM7QMFKschhy/nD6tW4XExTsL2U1/BR3wfKHUVFCxp6Y8nJK6po3BrgK+gawfTQIW6IimKI9kM4rSjvgcsh+qS5bPI8AYZOPjUbgYTXjixFFWGvAIsmbY3fzb9nWuz3Yga7h3k8VrzmEDPhwYbUYBb2L9VNFUg/4dY8hHmbZvCTKd/jNkbcxrRpL97K+eSJifw9XQKIrihH2AZ3MYmXSqEWeWI/HOA60PEl7mc0APYzScHAdebXrs1yBrjlchO/Cd0h/4K3BE2nv1yHTTneR3q+6OBJ8dl6Hhv96MJCfhvdPN2eSOF3cYMJBguLa7a2hGvVb8eHLtYvruqquCo0Wn8YLIQGTxvJeNe3oYw3SIB41gZyRK+TCPvu9Y4DkkUsA/HKTTAwlKO7jN+7XAz5HF/kvzGJvpGYxMOoMR54xvelwHBlu4ZkB7NDRhff4VxXN6Ie7s/Qvszb9s00BZ4bseGpkUEeTQw04O0rg+TwN9CRIMN9dIYYKFfD7nR8fewjWh9vgAhB1WgM3m73qUFF8CPkRCcSR9+ms1eZ6kxR84uhgj46RR39uMCjq5qOsMn75/byQieqGcbuGac5GTTbMZGysLvT20qgbP0HzJDDVTi4A3aSP3GX9GFhsjPuYZMXn+RYs/UFQjrqtjXEhrAuJEUO6StmE+lsP3HdxrdRR4DvBwlvKxEkm6m1bXYBma/mTe8zHDg+F9KfJQB81b2ZVyJObeIS6meRQSIdmNToyf+3VGOrjXztrUaYgXWUUBhqYC8UxTAmBouiCLk/2z9JAecrHHVapcgr1z2N3ieiRqg1J8IsDfkKCPbnM27kQb93OjipN1h6dsXn8iMs1Ynfae1dNydVTjEWU2H57780wDHImc7X2JawpnVgantKzv6TkTWcD1y+g+CNyi1TkQhJCoGV/2uDOzFvixgzQeBg70qUycbIb7MbKTfqCNe44xHeITkb02dgzNp1qFizuiuQsJVJmPb2H/VL72xuv4d3rf28D56GFoQeF2JBCq19zosEP3K5wdHmYHJxHdNxrDYfdY6FQsti42DI1Th4Awspb2JSRWoRuUIxs5601Z/AUY2l4NzVSblfpOZD7ZbWqR8A2fIHPMXnlxJUwet5k8C+F+vD9y+VO8P9FQsc51wNU+5neXGT0XOso4GtnJPx8JTPk8Mv39G2QH+/eQTZfFrl+LjOH42OZ9hyAef1an7pxMnU0GFiLBO59Gotmf5fB7p6ZgLwJqjCH8OhL9e3IpPRhWps5OQjY82SFqKuwhuBcpuRqYiQSi82P6YyCyw/lYJOJzIQ/brchu8G94NB1xGnqEQFA4r4DnxCkRZMf8RmSqtpDRwkU5Pu9sjE91AMp3ObJz/kUkFI1VDjDPoJeG5qtmpBFuMxL5i2k3nnbQkcg0BVuDxMo7gBKJjZZvRDMBeIDCvNN6Il43XVzSer1PRqYt43G2T+jCAhsBK+m+hRIUirWXrNw0Op1dTrcaibc2IUBlvBIJQ/NRAd/FK0OzN7JhNJylw/2AMZB2yTeLVF2Ejo0nhmYvdvfesMu+Zujnhjvm2UUsJyd5t5iRh5vxqm435aoEhz0sXrcKCf2Sj59j7QTWVAPpZiesCvH2mhTAcl6DTKPN8SDtQgzNVezuTt3WIDyNhOSxyiVkD76ZzomzZs0vD8ohbIUYmi7IoVxu7Is50WKh5WPPIpaT07zrkLUUNw6Gewbv134U+7xh4ZoNyJn1VmJZvWw6OHGL+Te49D1SI6QvBLisNyDrS28HwNAcYOGaLsiU3xAL156ETJmFLP5WnUrh4QhnEf847uxmTnENcra4E1YXsZzcyHsp4o3iZGH1Q1OOcZSgkc+9vM50uj60kebjwGUWrlsGvOfCdyhDXOWPd7ls6jwo783GGL7uYprdC7hnq8XremFt8+73sD4D9DbWPeoCZ2juxRuPsd/hbL73gSKWk1t5v2V6qYW4Im9Czm+vQwkiL5F9zrwRmT79bwHp/ibPCDaJBMh06t6e8nA6tYTKvM6MEP9TREPzQ6xPcbo9qju7VH6otoZmKvB/HuVVaXpo/Qu8fzrezMvmYw7uLro9jf2pr1bEjXUJSpC5wTw/a9sYmdQGXiejpbszvB9HTuL8h0PdISTK8lds3vc84tJbTBrMCOzfLqRVyNTZm/i3Zy69Tn2plNqDdEPzVdxZS8lFP2Nsqgss3MOQmGp+nNewAlmQPQz39xHcanqqVvku3niuKe7zF8Q1/jAzihmKHGDmlMuMwdkCbEPW6j6P83A0IVMXv2nzvv+Y0Y9fvfnO5rvOR6ahlwLvINNHM3FnDbdQ9+b7kdM7/aDFzGyUlMdpah/NocB9+HMWwoGIO+A5BfQC6pENcVdT+lyGnLORb+PVPVl6s0pwiSGHdblJ0oyE3XYE+Tn2Y+S9ifP1Rrsd4ieREFde4mTD5q+RdZhpHupLmtHTC6X2QKQMzSP4GwzzLMTdN/8I6rBm2ilxZI71NbI7XrwCXK7ttuIRl5vRsh3eMZ2jeh91nuaDkXFqaEDCAvVCTvz0gmvN6KnkCJthc78i5D0dCT7YkalD5pcz7e5fisyZt6Ao7lNlGkY7zAO+yK4OKVY2czvtLZ7uU5m40au9zCNjcCvw01KtbGG8jTJrZWTT0VlF5iCkV+LOvhtFycQEoKuN6z9C9q5savO+lViAOxxqHe5TmfzZhTRS01vPuKjLj7iJnhua85EFNj/3ZsRNnv+nzzsgXkM3ID75683rp7VYFA+xEyx2CRJBeUOBowCnbUvYpzL5lUvptJjZCDf2+PwT/73aXKcMCTXxlD53RWc6JRS7SCl5rG4c/QTZV5dt0/LLFkYcTj2kluB9nMMluOuq3Ygcq5JrDRYL5XYm7WD6vEyfN5eYMUPLQCklliFhUXKFmlllPs91FsxU05B+PsvnryOL2E54AjjDw7JIIjvy3R411CHR319DTiC2a/j89Ozz1tDMnzRVHzlF8Rcrh3j5sVfsXNMIDs6i8RjybwqsQ/YMnYl4h40w7y9FTvF8GDnfyQkPIftUDvGgDLYi3ndPelTGaxEvvVexvtdnFeJl127WaHVEoyj+86DpQWdbe3gfd6N952rQPocccfBlJGrHKmRT9XRkvdAKCfOdHvRIZxyZhrrNGLVo2mchcjs1VJM5uvJyxJPrYazHKyuUJcbYvEb+Y1NyeaKWrqEZ9dqtgRCiIyufuOqqYOnpmFOOc4AfAT/J0sP200lmE+LheGVQCidL2Pst5D6kzRMNEyeOcivJecg02jNkjorfYurFFW52MoJyhEDpjGhmVhY3//a7cVQpDjchi89XIgvdjUjssB8Ci7V42iX/RaYpT0M2dY4HtgP/An6A/aOqS2dEU8A9XZAd7d9CjkjdYIbaP0aOhu3YtF+DGEJO9fy2/u6uUI1ETE6avwQyRZTQonHEPsZYH2PK91dIWJigHK3RiETJLoWDC7+JbEAdbUa+T5myXG83IbuG5mTgj+waqmFPI+ZiYDZwgY89sj2Rk0ArkXnaKvOXel1ptKa/rmxzTRVyBvd7wJ3I/pXt+rzuxm/bTF2kfvcTkc1/urnUOocjYZ/Sp1CqkMC2ZyF7zK5AQhAp1jkN2dyY3tu7ARiFxFbc4VZGqSm1Yk9NuTi115Y7TR1M0Q85+fN4YCI215DsGJqjkIWzbDHRypGFupcR7xAvF7MipuE7H/cCgR4E/N00mBfizt6iEOLZc4Xpae1AFgSnYf9skqh5YHoCnwKLfOylTSb7/PgQJDDj17Wds8SBpm51yVG3xyBz+UfhfZTersjR4HYX2TtlaQuWIlGmH0GiTPvFOPP8VmQxQM8iUY/9iNE2wjyrDUgAUjunn1aZ9uJMk0YYcSZ4xDxnfpxHdVgbI5POIKPjTDsJWt1xOwHZvW4l8GZ/86N28bAgrjYjJy+iTfcCHjOF7dTI3IdEqh5rHuIa02i/bvRboQb4mTGAc5C9D/ONsbkO66fxOeGcPJ+fTu5z05Wd0zr/tPhsVJtrx3ioJ2Ke1QtN47hX2t8QMwOQ7S9bWzAUOdtmKd7ufWnLLXnq4FHI4XQ9PNTQ34xCFyDTys+b5/S7Fu/vaTqgtwD7me8TZed04DvAHj6UZb4D1U7B5hHSVgzNGGNk7JwhM8ZU4GqPHg6vPWQipnF32jh/M8dI8l5knSsX5UhI8KsyNE69ERfUe32oeIMs9MJ6qR3JW4bP2yynHuY56u+Rpq/gzd6UVKP5EOJp5TVVFvM50MwoeFGePUzaR7R5vxa4A1krytcxvhnYN8fnQ43B8ZoBFmZXbJVhPkMz2FT0QhqRQ5EjkN3uce9jGlk/pjic9B7yGZEQcoZFrgOTTgUOzpPOuRYqhlNCLtSljkxvMxItpIHrj0xHe2HIvT62OYwcVOg1lTbamX2AWbgfqPN6Mm98TXEpcrZUrufkIAv5HBSQOl1utyJko5fpTTux/ieZxtTNKa4ePhbmjx0aRCsN+C/JfubMEItpDEIJKl2MkRnmII29zaxCJ5e1DfXh++9rsR47YQty0qad0eVMZHrKLawcZXAhEiE6m1GMWUijWyk+BOEcD8cLDh+OFBfh7hHRW30sHyfHGFhdAAwBvyDzdGCTxTRqUYJINbJHwo11lgmIR6SbBxT6FRH4Uh/yOANxkLFKHyQszOEu5W+1Q/41xGkhmsVg5qN7ezE01aZCj3Mxn6mIa5wbzMe/0/2cjMRetHn9DHY/otpqQL1qlKBRjgSDdHMN5CjgT7g3Hb3Ip7I414c8PkEceN61cU9n0xH4kgv52/GyPZPMpxpbMTRd8McByFNDE0XWVQ7zIK+7yO/NYIUY8DufysdJ5NRbsO+K+FNjlFNY3c+jhiZYRJD9HF4shJ9tniU3eMyn8vBrF/M6JBjlf2zcU4V4iH3NYd52t0OcbO6psmlooASnz8Jteu9/RNZVvHr4/mR6ZU6ZhvinB9nQLEWm3pps3ncLO0/Ts7oPoUbb9sAQQhZ9vXTtvQR3vI8eR6aPvGaLj+W/DdlC8A8b95QBfyH7WqkVfoz9vYPHsatH76b2amjSN2z+EtmZ7PV0wuOm1/Geg3TqETfCVMTZHcYo1JmGvRHx5jrZhUrrhOcQn/MnbI46ppvfZpbF62td+F0OMRX4NRsVPt8Q/3dI5ICtSBj2nwBr2rmhuR3ZSOw1NyJ7q37jII2EeUamI8c0p/ah1LEzFE4lEoLECZsd3LsvEnVkLPacIexGPUmtldZQ2JryRuTsHrvehUcD/0aiU/s1ooki3qw9gTfMSNApnZGtFieZ+vOPdOOb+jF+SG43WzfpYgr2UPKfdZGLFjM9kYkfuWBkwJ1QNM+bwn/aprG5EXEtt4KTqbNzkfDrvdKM68kOe7rVpqJNSpueuMT08k/EflSEUuE6dl9n85K7TKfgYYedqcty/I5PFtHQnGdGh34G//0JslH2/QLuXcjO6CiDbdw30bQTj/hgaL6C7Ozvl9bGnWmjrcnWUX2CnbNVVYiH3anGgP43bH7MG31+IHshi3Be7A24HplacwO3Trd7yRS43fSO99jQTEeiF/Rq0zN5Eti/wDQjyDrfpCy/+zNA33ZoZM7D/6O4I8BfcWc6ui01pvE5xoW0Cpk6G10EIwOynODEcWk54slmtxM9AevbKQo1NNcgZwb1S3uvkzFwBzuog/dnqYM9U8972DTMxWAYEqrCTaYi4dfdws1jVF9F5o4bPGoU7HIMO9eCMo06n8O+e3sI2QF9Up5ORrHqnJcU6zuVA4+aDoKbsw7P457rbyGG5iKKd4zJN3G2Z2mFKbuPCpgJsEIhLs4HI+u/2fJ9jsLc8O8i93pkL+AHYazvfv8IcS3Oh52T1I50sXJcnaMgnUwruMlMY2zcds8uZI0m3znuvcwUgJ355pvJHxEBvN+RXgysPkersLb29nNkethqD3e8S9+juxmBu+mWXYih2aeIv2UFzjdBf4qsI8/1QF8hI5qryb1Bv5DOpdVtKyeHkcUgKw/HsViba/2NDWPjVkM+BXENdhsvjguYZYyNm1FYC5k6O9TCNQOQ9TQrPahL2NU1OxedaX9YeY42IJ5GKyxc+zLiymw1QrcbI+XeJt8DXC6bQgzNpiL/nm7kvx6ZUnrXZW3dPHre+yFLGr0tPu9WO/a9w4iXTL6H4yjsue5dh4Txz8cTLhT6Fab3ZwerD2+jR5X4ddPguGVsCjE0Vr2/Rpk/K70bq7THc1byPXR1iCPEhzbSfJzsC/XpLMOZF2dqRPYq7m7UdmJonijib/km7nhipQzWUbi7HaMQQ7PW4nXDkDiPVgyNVf4RRuZib87xcEzG/kFmScSL7ekc12zE+eLpZUhkVDvUYX0+vdHDyjzbjBK3upBWIWs004v0EC/B+hEJpcRLOcq0ETkTpRBvu9+QfS0t9ax9F2fhZAYaI2N3usrq81HI6OARZCG5GHzf5fTqgC8iWweKZWhuxr+QQ+ksBS5Pzdldj3jNpJ+SuA3ZA/JOgRnEzdD/tSyjpBNtWNlsFvUX2AsTU4csgltdpHM6tRdBDgSbgUwnXofENLsI2czZz7zvtAIUskZzH+5551llg+m4tNfTOG8A/q9NvW5E3EdfdjhaujvLM3YF9jYntmUIspPebjTj/2F902ghI5qkMc434e802mbTCXSbejOL8aILaRViaB5Fjhvx+3k/Dlid7tXxR8RN7VDkZL1ZOD8LvhGJI/R7Y1i24M7GvQvMg2fXyBxnHpBzLN7jZI0mjIT4ONmHH7RQ9+YbkUV/P4IepkbHS2jf/AVx705tiHvTYYcqffS+DXG2iCCOJTfh7ATO4abhs3vMxCzzPFsdmRY6ao8BPzAdoj7YC2VzpBkNRm3csx3nRz53ZvcNsFvTOpNuhOMp1L35DvO8f9+H5yDV9i+B3d0HW3A/JEUdsoPfLQ4yFciOkalH9qTMtjkCcDJ19nWfjIwTQ5NqwLribVSIFtM7fYeOQczFaZL0Hv515J5Gs0NPJEK7XSPzimlAttto8JyGoIkjXlxWOcN0RO0YmU3IXjcnhjuMxC87wuP65eSolOvM836Jx8/7yellWYqHVV2PPf/6BmNk3iigYXZiaM7zsUycxDpLGq1Pe6QtbtJ/GSVI/ABZm7HDv81IJjXSt7qfw89YZ99GNiXaOVr8E2R3/lsO8z7NByPjZEST3rl80CNtqfbkxbYWuNSws/em0fRSZhU4AnCyRrOfj2VS5UIP5GwPeuGpSn2/tuuB4xSb1z+NbMRN73wFzdDcaEYydsLofwB8HljgQv6n+/Q9dzi8P46sJb7ggbZrMz3vpWhorM5xNpqRzEwHIwAnazRVPpbJHBfSSM2pznNR1604C/qoeEc/G9c+ikx/txTQs64HWj3+LqmI2XYjWs9CYpOtdknHCJ9+u/tcSKPFdDbecvl5z7ifsRQNjZWGsNH0vv7j0Ag4MTQrfSwTt85lr0MWMd1YsP8d7q0nKO5jdc3jfsRDMlOUAiuGxg+PscsRT067I7RjXR5thXz67e52KZ1UZ9yNzuX9uZ73UjQ0v87zeZOx1C/luMbK5rbN2Ntc15YXfSqPjTiLvNqWDeYBXOUgjaeRxcYkSlCxcujZH5AplmwbnK0cK+3HtJndEzL/gKynNLmsww+Pyg+Aj11Mb7MxNssdpPFPZF0m6ZahsdJwJHwYNv4xxzD9FPLPPf6N3HsPms0D5sQZ4Kd4u+ET0wCcj/uBOpebyldIb/QN7IVOUYrD9DwN1m+QUO+5fkcr0y7/8+G71Nn83hd6VD+9jmaQwJu9MKkQY4Xsb3sL2SeWMy6fXUOTL0ZTE95vxkuaxvUbSCiXTUbXn5AF+OctNtCnGGPyH2Og4ubBuxeJYup0V/Ji0+Bu9qgc3jaVwytvsXnYP9pgnjFQjSi5WOnCs+aUTchRDq9m6KxdieytytexvN70sLOxDH+OILHSwCeQKbYbPBxpP4Q3mz1TMxdnWmzfCh2NfcGm0V5iRpN5n3e7YbjvJ/d+i8dw7hFh1dj81fw56R38xfx5xdPIPoXhyL6FSmR9qFva667m39TrSsQrLv11F/N5Ajnk6gfY21dQKG8ha13PWpgmWWWMTB1KPh4Evpejo/c+7jpl5PrNjjT1c7QZGb9pY4S8EdnXdoVpBEchHl9LTFvwM9wJsZSPBxC35mwRp1tMx/QhH2YYjkcOEjyMXffxhMwznY1OWZ6xpUhkiEdwP5p8W+aa5/1f5PfMTdUdSwMLu4bmX8gi74VZpluu7LBNx8ysznCNuOMVZl3HYc1upvgScirffWRe/I2ZxukCnK3r7MpVVwXr950xw83U5iCnwP4kw2dbzUjbTxaZv0JoQryNbi3irxNHNmlmOlOlHjmW4iWftGzBvmNCoFoyxMPw76aDm+l5fxuZVbL8vBdysNDFSNjrS4CRxqI9ZR6cjZ59fXcbT8UeTyI7wr9qfn//fvf2y03I0b9XImfJNJppkR9iP4itIiP8CWZ09Q1gr7R26n0tHls8i5xDdZYZKY5GplqfMbMptiNbF2JoUmeJJNv0KIo1YvAH7w3dMchRq4cg6zo34O20nl3qEI+/Xwf8IQmZEfe3kWjEG5Bw+z8OoEF8BOvnxLvCxImjaMf4Prpqx+XZgMSodOUUZLuG5mTE4yt9CmVPZPf3xchC2AXaI7PNT4xhSdEJ+DMSWdfdxdTUFFD7Ndy/bTN1kaqfJ5oer6vOKu284VZKnKDUTzuG5ihkITrbonA5sgD2sumVr/JB/56mMU5fVK80hjD9db5F+Bpkb82diNtzg4+/wTfbGJl0piEB9K7A2z0pIeBck88+iEPHayZ/u2eoRJFF4Z5mOmMR/rk6Tyb7/PgQ5IC8r2vzo42jEkxDM8E0wFY2aPVH5vgm4Z0HUgj4pZkecWvT6UHIAthGMyp7yofyL0c8VHJxGRJT6lxkIc6LsrzPGLx0YzEZmc67xOLwucYYpgvYdRFxPXJu0G0+GJx8xz+cbvTt0EdfUfzDSiM9xhgZO6HoxxhjU+2R7suREzy9iGzQE3HNPMyH8j8Ya+dzfxVZZ/Aifto5bYxM247IvcgZKPkM5gvIZrK2niq9kU1y9/pQnoPyfF6FnMehKEqADM1gYzAKeTgPRfzbIy5rDgFXe1wuEWQPgNfYCe9/IhKmvavLGr5lobx/bQx7Nk41RjMX52L/7JNC6oYbnStFUXwyNL1ML7W/g/RPMo2Um8HmhjrUZJUDgT08zmM29qYXJyFuxn1c1GDlnPjUVOXlWT4fYjGNQfrIKYoamhRdjJEZ5kIeFwE3u6i5t4/l82OP099sjLGdHb/jkfDmg13SYNXxIYSstWTalGs1OGGtPnKKooYGZF3laWCci/lMxb2jQ/3cC3GWD3nMRDz61tu4ZxgS5220C/nbjTI9g92nLq3GNqvWR05R1NBEkXUVLxbC70KCTDplCf6ccZHqxfvBO6bMP7FxTz9jpA52mPct2PcO/KnpPKSwem6PGhpF6eCGJoRsxjzJo7wiSITloxymk0A25fmBn1GIFyJrMB/ZuKe7GZEc4yDfpWbkZvdsjlvYedCR1am/Gn3kFKXjkb6P5pfkjszsBuWIm+6RWDt8LBs3mxHApAAbmsmmPIcAFTbui9rMpxMSg+iryJG7hfAccmzCEzZHHdNNHZpl8fpaF+rPIcjG29dcGtl2QQLFnogEtHwSidSwRpsHRXHX0PyQ3O6rbtIFcdM9lMJPpGtEjhz+MuIyu8O8V4ccWrYdWRM6zaHWQsJyh9g9DIrXlJvR4gsUvkn2eTOafdqmsbkR6yd8Opk6OxfZ9Nkr7bc5md3PU7FDNbJHLNVhqTL15gxjeP6rTYSiuGNozsOfw4nS6YUcOXAohceeiiE7+TPxfReMDFhfe0jnWxQnTHgnZArsHgdpvIQcdvZPm0bheI8NzXR2P4+8sxl9HIVE6bVLBFmPnJSlfj4DjAXWajOhKM4II6fkFYNhuBQZtA3fwz136kKmzr5VxN/z2y6k8Soy7edFvLdC1miOyWBk0kfHz2HfDT8E/Irc65G9ivhsKEq7MzRWNyV+BMy3cJ2dEN1Huvx9pgC3u5heIYZmRBF/z5EupTPTGJt6l/UVskYz1cLo+GXsbeK92WKH4FRtIhTFHUPzhoXrViHn02+2cO1vbBgbN48mvQKJzusmhegr5pknbobAn2WMjZuBUQuZOjvEwjUDkHW/7hauvcSC8UrRWZsIRXHH0OQbAWxA5sHthP2/DmsuyE+49D2+A9zhQfkUskbzdBF/zyddTu914DgXjU0hhsaq99co8+d0hJTOK9pEKIo7huZ5sq9p1Jlerd2DzJKm8X86T89/ugvf4RLENTtkU58VCpk6+xHwcRF+yyYkTL/bzDaj2a0upFXIGs30Ij0bS5AjBRRFcUjKvfl682C1dR89Bdm1XghxJBLAc+zu2bMB+BLOPXouBO62aWTqTONlZS2nEEOzATm/ZwbiJuvXUZazKXzaLoIcFzAe8ebbhriJN6S9vhXZpOkkWkIhazT3IVNj03x8LjaYDtYGbSIUxT1DAxIV4H7E5bgrMkfvdL2h0RiU3yP7Erbg3oa48xBXXrtGZjLW5vJTxrYQ1iMnOV6ARFq2c5LpZcB3beb3CYW7VIeR83dO9qG+FerefKPpAF3qg8ZUHVmizYOiuG9oAFpwtgEu24P7ZZfT/Bqym9uOkalH9nu8ifWYa9sd6twBrLB4bcgYYLtG5gNkHWV1gRq/7pORcWJoUga4K95Gr2hB9l+9o02DonhnaEqB/YE/YO8Aq+3GyLxhs8HzK9ZZxIzOzrd53yxkL8gWhyNDv3AS6yxptNbiTTy+uEn/ZW0WFMVdSvG0weuQkCtWaTRGZlYBPWs/DE0VEv/NrpF5Glmk3+Iw//18/O2cHkXdYkajr3mg7TJk6lhRFDU0tgJpNiJrQzPbvN/J4v3bPP4uXdgZY8wOf0CmeJpc0FDl4283x4U0Uut+81zUdSuy/0tRFDU0toxEI+I1l2kvhNWNeNs9/i73AhNt3jMd8baLu6RhpY+/3QyX0qlDgqq6sWD/O7KHuFEUpYMamrkWrmk2Pf4XsnxudW3Ka0PzRRvXJoDLgRuwvg/ICi/69LttxHqUZytsQKYOVzlI42lkH1ZSmwJFCY6hsfJAJjzWfFeez1uQGFX/znGNlbNwNgMfevxdrE59tSD7XO7yQMNP8X4tKo6sQbkdqHM5sv5WyLk0byDrPXFtBhQlWIYmn6tuE95vcnsAme7IRIMxMs/lSeNhcoe/aQb+z4cG2EoInpRb9kMeaVhsGtzNHqX/thl5eBWaZx5ytEGjzXuOx98TVBWlw2LXvfl+cu9jeAzZO+I1FyFuqJcAo02D8Qqyc32BxR72Gch+nHMRl+lOyHrF86aX78eGvelGR68sn68zjajX+zqeRnbfDwd6ItEMqpCTLFOvu5p/U68rEe+99NddzOcJY8x/AHzqQzm+hThUPEt+j8RVxsjU6eOvKME0NP8yo4kLs0xjXOm6wplZI7g8aP4KJQH8xfxZ03FYc/bPnypo0/pqTr47ddBYW2OzDPgiT11q3+AdVlB5NOKOV1ixeAn4ChKypluGz2PIZt0LcLauo3jMxRdfHBgt99xzj/4gRTA0ABcjJxpegpx/sgF4CgkmuVGL1CZPXfo/Tr57HHIq6KlAD9Mz/w5PXaqnO9rjSTOy/aqpp57Xz1JpFLXxVkrF0NQg0zhHIsEX+yLOAT2R6Z8DTI/4FdNDbyjSd2qrcwgypQMyXbI8cDqfurStzkmm0fROZ67RWWlTB/za/BWDPZCp3QPwbo9SEzKdei+FxwwsFZ19kaC/JyKH25UhzjG5PEIbzAg2E0l2j0QeQyKuP4Ksm6oXYhEMzTDgWmTBONselt7mb4LpSW5HFu1vw8Jax/xJU934Lp7rdIlS0VlcZswoRdWnIFOxtT7k9SXgKiRW3VPtVOcYxP2+d5v3y8m9FtetAJ0HA2eZTt2ZqKOIq+TyOqtEdkx/iMxrd7KRbidzz4emcfQyVL7qVILAvsiaYa2PedYi3oj7tkOd5WZ00dvn3/EE3NtYrOQxNEORhdNrsRdXLFNlucakNcwD/apTCQo/ACqKkG+Fybu96TzJPDfF4EJkmk7x0NDsjxzhO97FfMYjQS33dzFN1emuTsUZRxUx7yPboc4Di6gzQqG+m0pG2q7RDEM2O/byIK8+Ju1Dcb7OoDrd1ak4p6edi+NlYbb0q6KuTyVNtVGSYQgloKo+Rpd1zXT7tIlIq+UgG7280llR1srofqsZ0WctvWrqiYQTxBNhNjTUsnBdXz78dE92tJZ5odPW1F6nUIgxkQj7lpWxRzhMp1CIeDJJXTLJikSCD1pbmR+P2wlb0kWrtDeGpgp41KNGMb2iPYYsvBUaeVh1uqtT8ZGWqggrxnRl3dBaEpHdz+3bQhWfjuhMOJ6kz9J6Bs7bSnmT/1FyOlc1ccK+7/P5oUuIRjLnf8TwBcTiEV5fOox/fjCObU1VvuvsFApxXHk5R0ajRNt+GArRExgaiXBkNMrmZJJnW1qYFYupW5nPpE+dTQPG+ZDnWJyd/6463dWp+MSGwZ14++T+rBneOaORSScRCbFmeGfePrk/GwZ38lXngYOWc9NJj3PE8IVZjUyKaCTOEcMXctNJj3PgoOW+6hwdiXBjdTXHZjIyGegeCvG1igqmVFXRORTSClkEQzMUmOJjvlMobDFbdbqrU/GJT8Z1Y8HE3sTL7IUXjJeFWTCxN5+M6+aLzi+NncP5E2dSUdZq676KslbOnziTk8bO8ccYlpXxnaoqagswGCMiEa6tqqKbGhvfDc1UsNQpcIuoydMuqtNdnYoPrN6nCyvGdHWUxooxXVm9j7fLBl8YOZ8Tx7xPoc1vCDhhzPt8YeR8N+RkXfjZOxLhm5WVjs446RkOc1lVVS4XUJ1dc9nQ1CKbB/3mLOwt+KlOd3UqPrC9WznL93NnNLJ8v25s71buic7+3TZz6n7uxG49db93GNDNcTDwjPOFFaEQ51VWFhQ7qy17hsOcWpHV03ub1l53Dc3x2Ns86BadTN5WUZ3u6lR8YNkB3UmG3ZmiSYZDLDuguyc6v7z/25SF3TlKqiyc4Iz93/ZE59HRKN1dnPI6IhqldzisFdUHQ3N0EfM/2qNrVadSdBq6l7O1r7ueWFv7VtHQ3d1RzYBumxnZd42raY7su8aNUc1ujdWR0Wjg01Qyl/PYIuY/1qNrVadSdDYMqimJdA8c7I23mNvpDotEPPEW26+sTCurD4ZmaBHzH+rRtapTKTp1fSpLIt29e6/zRKfb6Q6NRDzR2S0Uood6oHluaDoXMf/OHl2rOpWi01xbVhLp9q71Zt3b7XR7e2gMdJ3Ge0OjKIoHxMq96YHHKtxNt1N5iyc6O1U4OtV9t8WtMg8NTYa0m7UGu2toiunGt82ja1WnUnQicW+2YkRa3U23Je6NQWxpdTTy2s3jwctAPK3J3cp0h9Zgdw3N0iLmv9Sja1WnUnQqtreWRLqbt3vjje92uhsTCc9+q01J3Z/ptaGZW8T853p0repUik7N5h0lke6KzT080el2usvj3oxp6pNJNnhoxBQxNC8VMf+XPLpWdSpFp8dKb04D7rHK3XTnrBroic73Vw1wNb2F8TjbPRh5zGlt1XgzPhiaZ5Ez6f2m0eRtFdXprk7Fa0OzqtH1EP/lTXHXDdjcVQPY2lTtappbm6p532UD1grMisVcTTMJvOpymkpmQ1OPnCHuNw+YvC2PcFWnqzoVjwklkgx6f4uraQ56fwuhhLv979ZEmGfmunuixTNzx9GacN+p9d+xGPUujmr+29rKKp0288XQANwK+GnWY8BtBdynOt3VqXhM3yX1dPvUnTPpun3aRN+l3vQlZi0Zzodr+rmS1odr+jFr6d5Ok8kYIHZ7Mslfd+xwZaprUzLJQzuyrnepB6cHhmYJcIeP+d4JLC7gPtXprk7FB0a+tp5OW5ztVem0pYWRr633LHh9Evjda4ezaquzSNOrtnbjd68dTjLpeM9L1uHQ+62tPObQ2NQnk/yqqSnXmo8u23hgaEBOafTDa2kuzk+uVJ3u6VQ8piyWYOwLa+i6rrA9gF3XNTP2hTWUxbyd4mmKlfPzF77IwnV9C7p/4bq+/PyFL9IUK/e8TF+IxfhTczOFmO9PEwlub2riU50yK4qhaQJOBzZ4mN8Gk4eT1UzV6a5OxQ9j05Jg3xfXsNc7mylrSVi+Z693NrPvi2ss3+OU7S0V3PnSsTzyzoE0tlgzGI0t5TzyzoHc+dKxbG+p8K1MZ7e2cmNjI/+z6DXWnEzyj5YWbm5sZL0aGX/rf5v/LwGOQ7yX+ric1zrkvJQlLqSlOt3VqTinGcgZ7TKUhD0/qqPvknrW7VXDpv7V1PesIB7d2d+LxBLUbtxBj1WN9FnWQMTaKKbZTZ2JZIgXF4xi1tK9OXjIUsYPWMGQHhupjO5cdmyORVm+qSdzVg5k9vKhNMeibuu0tEayMZHg983NPB0Os19ZGaMjEXqGQnQxscu2JhKsTCT4MB7n7dZWmqw7EmzXKu2doQF4F5gIPIZ7Yefnmp63m42i6lQjEyTmAAdbuTASS9Bv4Tb6LZS2NFYZIV4WItKaJNocLzRv13U2x6K8umgkry4aCUBtZTMVZTF2tEapb670Wucb2DjIb30iwb9bWvi3O79lE7BQq7R7hHP0xCcAt+PMeypm0pjgUaOoOpWgcG+hN0ab41Q2tBZqZOzmXbDO+uZKNjbUFmpk7OZ9D7C5SL/lfeh0tC+GJjXMvRYYDfzeZsE3AX8w916Lt5FQVWdbrrpKa7b//Am4vwj53m/ybm86NwKnAVt91vkOMFWrs7tYCa+6GLgQmAKcCBwJjAeGAF3NNVuB5WZo/ArwDNDghsBRoWlWL10MXDg/Oc2WzlGhaZZ1znenzItanopnJIFvAP8Fvmt+Ty9ZjrjQ3409V9xg69y1k/QfYIx5Vo5G9tZUA7k8DroChfhWrzYjmVutdAJnzZofmIo3ceKodmFo2lbS9L9ElveLhjEcD1Kc3fl2SNc5wlTwY035zQKuBpZp+11SJIBfmr8eQJe2F8Sj4fDy/bqNbexafmhrNDwyGQ7tmQzJdaEkdaFEcnVZLLGgemvszSHvbX4/EsvoHlUHbPJSZ2U0Fj51/Dtj9+y69dDKaGxkWTixZziU7AKQSIbqWhPh1c2x6II1dV3ffOy9A95vjkW90AmwCsg6RL+npiYMHGgM0ThgEJDaDLQF+AR4H3j5rqam9z6IxzPF2on50JGzrNN0AtqVW5wVQzPMTNecDWSL+93b/E0ALkY8Nh5AdqsXey3hOGTaqRm4FHguYL/B54Dn0yodwKnAJOAY7C2gKsFhU3oj+9rXhnQz9e9CIFcQsPHACXW9K1kzvHYF8Dvg7kl/W77FD533fPXPtnTu3Xsdh+298DOdF9//f1v8KNx7amqs6pwAnAlwWVXVTp0NDVt8qge2dQKf6TRGqOQJ7TPzlmyfVSIbAaeQ4RAii7Qgu9Z/RI51hfmTsk+JjnrtViffr4cZFaSOON5mpgoKWmTMpbPAdZHPAS+wc8qsLRsLNjYzZmhT78cIOn/9DAHfBm7K8TvnYyvwA+DXuXq6OevnzMrA6OSwZifPkX86czxDFqbOfNNZClNn2ZwBhgJvmpGMk22+5cA1Jq1hRfh+J6UZGczrEwM0knkhTyXsaa4Zr016SVIDPAH8ykFjg7n3LuBxk6bqVJ0lRSZDsz/wusuN23hk3WF/H79b1Bi5tlxOYYuFfhsZNTalzWDTwTrZxTRPNmkOVp2qs5QNzTBkDaOPB3n1MWn7NbK5FBiZ4f0DgHNKxMiosSlNepnfa18P0t7XpN1LdarOUjQ0VcCjHn+RXsgO+SqPv1dPZF0oG9PJ7SIZJCOjxqa0iJg67mWHahgynVKmOlVnqRmaaYjbndeMxftowz/O05gPAr5TQkZGjU3pcC3iMeg1E8k8Naw6VWdgDc1QxLvML6Z4aPn3RVwJ83E90L2EjIwam+DT39Qrv7je5Kk6VWdJGJqpyOK5X0TxLszDnRaHlt2AG0rMyKixCTZXIzvX/aLa5Kk6VWfgDU0tshnTb84iy3GtDjgF2XlrlW/jrSeHF0ZGjU0wqQTOLUK+52JvzVN1dkydRTc0x5N9x7+XdMJGGHALVCCRje3ec3MJGhk1NsFjMrvu2fKLziZv1ak6A21oji5i/m7mfRmwd4EjqwNL0MiosQkWXyiR50h1dkydRTc0Y4uYv1t590FCNRRCqICRUC729tHIpBub54G9tL0vGsU09ONUp+oMuqEZWsT83cr7JofD1yNwLzTNz3w2Mil6IRGgleKwdxHzHq46VWfQDU3nIubvRt7jgfNcSOc23NkIVcyh9LHa3pd0XfYjb9XZMXUW3dCUOne69D1GuWSwikkcpSM+S2HVqTqD/nBsK2L+TvP+MnC4i3puxLkH3vNFLM8Xtb0v2brsV96qs2PqLLqhWVrE/J3kXYlMd7lJX5xvhLoa2FCEstxACYamaEcsL2Ley1Sn6gy6oZlbxPyd5H0l3px3frUxOE6M57E4P8LWrpE5EjkOVim9uuxn3qqzY+osuqF5qYj5F5r3HsD3PdJUg0yhOWEO4hTgh7FJGZkPta0vKi8XMe9XVKfqDLqheRbYXoS8G03ehXAL3p44dx6wTwkYGzUyweEfQFMR8m0GnlGdqjPohqYeeLAIeT9g8rbL54BveKytDHf2pHhpbNTIBIttwMNFyPchoE51qs6gGxpMoxrzMd8YhS3kh4Bf4M9RzCfhjkebF8ZGjUwwuQVo9TG/1gI7RKqzY+osuqFZAtzhY753AosLuO8s4FAfdf7UJaPmprFRIxNcFgJ3+ZjfXcAC1ak6S8XQgJx66YcXw1wKP2Fzms/lcyBwpktpuWFs1MgEnxuA+T7kMx9n5ympzo6ps+iGpgk4HW/3gGwweTQWcO9eFCe2z624F6zSibFRI1MaNAIn+/AcnVzgc6Q6O7bOohsakCm044B1HuS1zqS9pMD77y1SGQ0G7nMxvUKMzXo1MiXFEuSsEC8anQ0m7SWqU3WWqqEBeBeYiLvTaHNNmu86SGNCEcvpEJfTs2Ns1gNHqZEpOd4BPg984GKaH5g031GdqrPUDU3KMk9Azmlx4o0WM2lMcMES/7eI5TTbgzStGBs1MqXNYlP3Z+DMK6kV+LlJa7HqVJ2lRq6w+M3AtcDvkRha5wDVFtNtAv6OuDC7VUAXAn82lj3kU/kkgdfx7kzwlLF5EejR5rN1yAl6rhqZiy++ODCV75577ukIxqYRCWt0DzAVOBvrZ703IfvNbvWhoVGdHVNn0Q1NunW+EJiCHA52JHIGzBB2HvC1FQkuNwcJi/AM0OCy1mXApHbYEM0BDjIjv6ONcXsOuA74WAcF7Wp0cz7wXeAEM1Idl+U5eh8JbfIs/kfoVZ0dU2fRDU3bHn76XyLL+0Vj/pMbaswPmm4Qu5iP69oYxH+OOqVXQzF0zjr1/Ew6Uz2eo5FoDZ/pnPjEHxqKVKS2ytODDkZ7IxWJ40HVqTo7CqF9Zt6S75phyBTa2Vg/q2W7GfrdhoW1mfmTpmb/8KqrrH4Xz3UyY4ZjnbNOPd+RzolP/MHaWlcWrTamzjwvzw4ydaYoHZ5cI5pKZIPkFKDcZrqdgAuQmGR3Aj9C1ny8IBA6Z516vi86Z516fl6dEyeOKvnyVBSl/ZDN62wo8Kbp0ZY7SL8ccSR40/SQ3UZ1dkydiqKUuKHZH/G0Gu9iPuOBWSZtt1CdHVOnoiglbmiGIR5PfTzIq49J240erursmDoVRSlxQ1MFPAr08jC/XsBjWPcnz4Tq7Jg6FUVpB4ZmGuLf7TVjcRaFWXV2TJ2KopS4oRmKeBn5xRQKm0pRnR1Tp6Io7cDQTAWiPuYbNXnaRXV2TJ2KopS4oalFNuX5zVkmb6uozo6pU1GUdmBojsf6zm836WTytorq7Jg6FUVpB4bm6CLmf7RH16rO9qNTUZR2YGjGFjH/sR5dqzrbj05FUdqBoRlaxPyHenSt6mw/OhVFaQeGpnMR8+/s0bWqs/3oVBSlHRgaRVEURfHU0BTzJLdtHl2rOtuPTkVR2oGhWVrE/Jd6dK3qbD86FUVpB4ZmbhHzn+vRtaqz/ehUFKUdGJqXipj/Sx5dqzrbj05FUdqBoXkWOevdbxpN3lZRnR1Tp6Io7cDQ1AMPFiHvB0zeVlGdHVOnoijtwNAA3ArEfMw3BtxWwH2qs2PqVBSlHRiaJcAdPuZ7J7C4gPtUZ8fUqShKOzA0IKcf+uENNBfnJ0Kqzo6nU1GUdmBomoDTgQ0e5rfB5NHoIA3V2TF1KorSDgwNyFTKccA6D/JaZ9Je4kJaqrNj6lQUpR0YGoB3gYm4O50y16T5rotpqs6OqVNRlHZgaFI93AnA7TjzSoqZNCZ41KNVnR1Tp6IoJURon5m35Ltmb+Aa4Byg2mK6TcDfEVdWS15G8ydNzfzBzEprOT51qTOdJ99tzRvqsObM7191laXbZ516viOdE5/4gzWdM2ZkfPviiy+2Wjc8/93vuecefQKVgp4j38jyHCn2KLNwzWLgQmAKcCJwJDAeGAJ0NddsBZYDc4BXgGeABl+/iRiKC3nqUns6T77bV53GUFw469Tzbemc+MQfGnyuG6XxuyveYLWDZ7UjpqihaVecfHdJyJz4xB9KpUQbkAgCD+rj0mEZCnwPmAz0BdYD/7YzY1EghwJTgdHARuBfyF6srS6lvwdwHXAS0AP4ELgBeEF/cv8NzTDgWnJPofQyfwcBFyFTKPcj8/R+bdBTnRbQ6SrFJieYTkZN2nv9gfNNHf4G8KgH+U5Cgq9Gzf/3Ms/DhcBpwFsO0z8GeDhtdI5J/1/A4cDr+tP7Y2gqgRuB7wLl5r1VSEDE2cBCYLN5vzswAjgYON5UxAtMJbwT+BHg1Zi6ves8AdjTR52KDUa9dmug9GRd6yyM4aYxztYhqjIdoI/MaMBNbkwzMun0A140z+9rBaZ9LPCk0d+WiOkInqS123tDMwx4DBhr/j8LuNkMlxNZ7nkD+CPiyfZFMySdiCwoH4ds2HPbAymfzu7AZaaHAvAf4K4A6gxKeSpKOt8nvyNIOXC9Gd24ybgcn9WYkcfxwEyb6X4BeCKLkUmxj/707pLJvXl/0xCOReZCv2aGsf/K0SimkzDXHmbu3WrSmmXSdot8Oochi9TTkIXsI83rOeazoOgMSnkqweeL5ndvMqPfv5hRuVcca6Pxdpu6PJ93Ms/FUTbSPBJ4yoLx3KRVzVtDMwx4DugDLAIOMEPjQkiaew8w00J9TNrDXBoh5NP5B2BAhnsHmM+CorOQ8lzksk4l+HwbmWb9PDIN2w34OvBfZGrVC/aweF0vD/J+0cI11cA/LBq6wxGvSCuu+s9rdfPO0FQhi3q9zJTMJGCZC3ksM73xJSbtx/IMW/NhRedgk2c2DkPcdIuhM4TsUdnHvM5HCBiFeN6ETRqTXNSpBJ9LgV9lmYHYA++OXggV8Tv/FGixaGyeMqO9XM/7sxaNzFZkel3xyNBMQ+ZF65A1gPUu5rPeVIStyLTPNAdpWdFppZc/tAg6RyELp4uA+UholiE50hgCvI0stH5g/kaZtCabtJ3qVILNd0zDl6vRP6Edfu/FwHlmJG/F2DxpnrO2TLJhZFqBr+JtgNkObWiGIhvzUhV7qYt5VCOLd8uQhXlMXoVM+VjVWWEhrYocIzAvdIaQRcgRadeNRxYzh2ZJYya7rsPsY0ZJITOi+Y5DnUqwuRz4pYWRRXU7/f73I1OGVoxNpTE2x6e9N9EYmU4W7o8jDg16zLiHhmYq4ko4i8LXENrSHXgE2Gb+/o3sHp9l8irED/P7HujMVsHd1jkMcRdtS39TLkPbGJlXybzQu0+aUXGqUwkuVyCu7Famr95qx+XwW+Bii8amwnTmvoSsZT3Lrvt/8hmZR7TaeWdoaoGzzf9vtviDWjEyLwBnIH7pIcSD5QkgFVztbJO3VbzQmY2kyQPgLJd0xnPcMyDN2Aw1r/vneTDa6rRbnkpw+S5y8qkVIxNH9py0Z36H7COz4qVZbkb9z1p8HuKIN+fDWu28NTTHm6HlajPqcMvIZHK9PRBYaf6qkRhaVjnB3OOWznz82+js1GY4XqjOZYhrdT5j8wqZveVSvMeuzg//LrA8Fe/oCQwke3T0XEyxYWSSprf/Ugco0/uQNZu4RWPT2aKR+QYaXskXQ3O0ef2MxR5DoUYmvRKk5kGPtJH2US7qtEIiTefRLuk8A4kGkMvY5DIyq4Azc+g8Uqt0UdkfeBNZTP4EWMPOdTQrXAn83Eb9vIBdXfXbO38GzrVobKwYmW8i0cYVHwxNarf6bB+MzErkMKw3zf/H2UjfLZ12eLNN3k51LgWOyGNschmZI8gcDaCQ8lTcZTQSEuXgtPd6Ix5j+bzGAK4GrMakTxmZ+zpgOf/VjEKcGJu4GR39Tautf4YmtQi9oM1nZWSONVSokakHvowcirXIvLeXDa3ZdBaKlTWeRW3ydkNnIcYmZWSW5tG5l1bponET2b2/voPsg8lmbL6H7Bux2khegIQn8ppkQMv674gbciHGJlV+f9Eq66+hSc1lpkI+9EHcBOuQEPF/IfeimhUjsw3Z95Hyjtli/u1sQ2tbnblYa+EaK/uEvNJpx9iszGNkCtWpuEu+UCjfBu7OYGyuQaJyW20kz/fJyIBM/VmhGPtOHkIcYOycBJtAoj//Saur/4amLY8CJ5veWTkS5uJ5oIsDI3M8/obdnpun8m8E3g9A+Sddvk4JNpcAv04zNlOxvqs/Nd3zZx/1Wg3F8mKRynMJsN3m85bQalgcQ7PNvO6C7DqfmOG6g5G4Wl1cMjLd0j63SrrOfMTIva/kWos9Ia90plyYB1hIbwCyp2Yvl3Uq7vKyxeu+hewNuY6drv5WjMy5+D/dcyv5j6NoYaeLvZ+MN+1PVxv3RBDniXO1uvpvaFJTMiPIvYM23dg4Hcnsbf61E0stXacV7jOjsfTpqVXmPauLqHu3ydsNnanNmANspJkyNkPz6FymVbpoXA80Wrz2ImC6DSPzf8giuN8sRDYyZhs1NCFrJR/4rGucaX96FHBvythcoFXWX0Mz17w+BJlOWm3B2DidLjvU/DvXhtZ0nVb5GzDINPojzGs7niZu6xxG9h3/VozNK1mMTSE6FXeZj+yhanQxzdQ+j/uL+L2eMKOHe5H1wphpI+4z7z/qs56xpv3p6SCNkPk+F2m19c/QpDZ7ncjOoHKNeYyNEyOT2iRqZ7oB08imdFrdCNcJ8fi5xfx9B2txj9rqfMklnY/kMTIryb/P5mGXylNxn1fNb+GGsYmb0XcQ9nksQTaGDkTWbVNHOS/yWce+yHqQG8cShJApzG9rtfXH0DxrhsZ7IpGL/2MayUIeFisL/8eaBrMR2dRolWfMPSmd+egPvAP8Ajlj/DTz+h2LI4p0nc+6oHMv0wPMZWRSB7TlMjb7s+t6TaHlqXjDfxAPy+0O0oibDt8DAflOIeTMl5+ZGYGfI5GS/TxGYLTpSFkxMklgh8Xv9SvsbapVCjQ09ewMwXBdWq/c7jSAVe+y682/D5i8rVKf9uBdZ+H635N5nWSE+QyfdUZy3LPKGJilpveYz9hEXNCpeMdMY2waCjQyZyPuu0FgD2M8XwCuMgZwCnK65evYW2sslFE2jcwUJLCmlfYrhETIvkKrrbeGBsS7JIZ4nH0tbRrAqrGxamS+avKIUdhhTZl0ZhvN5Br1fDHPA+KFziXI4momI3MEuzocLCH7PpuF7IwO4FSn4h2vmWfCjrFpNUYmKFGEOyGx9CZl+fwQYwC83L+1j8mjt8XrrzQzFy/YNDZ3mnsVDw3NEiSQH0i4jCE2jI1VIzPEDFMxP+riAvRm05kpr3wM8llnEpm++yjtuneR0/8yebUtRY6fndPGyJxm0trLBZ2K98ZmssWRZixgRgYkivSYPNcMQyIbeMEAY2T62DAyd6b9/2XTflmdxpyB7HVSPDI0IKc0zkX80p9P60HkMjapHf/5jExv0zPqavKY5kBzNp3prLSQzuoi6JyPzDUPN9MBnwOW50hjGbImsy8y5TfKpOGmTsVbZplnZJsFI/NowLSfbfG6r3iQdwiZ0u9r8fqr0zp36byKvWnMu9CYgZ4amibgdGRH/TAkKOS+aT/W8ey62z517PEbefLYFwn6uLe5/3SceeXk0pniY9ObzPXwLy+SzqQZfXyEtR3/SeQo50XIruYxJq1hLulUvOd18/xkCku0wzTojwVQt9VTW4d4kPcX2Om2n49ryB2Q1M7IMoIcXKh4ZGhSUz7HAetM5XkDWQcAWRAchoSnOdZ8ni+S8tdMGnuZNI8jc/Rhu+TSmeK8LCObley+M7iYOu3wNdNoDXFZp+KPsZmA7EupM9M5LyDrH48FVPMmi9dt8SDvYy1eNxVrAUlnmefFSqzEL2h19dbQgKwbTDRTMrWIO2O6F83T5gFpzJHmZHPPX00ac02a77qoPZfOsGmA90OmlV41f9PMe0sCpNPKb+SHTsV7UmtsXZEjho8F/hdgvcWMdWZlQ+Z12HOCecOisemiVdVdynL0xCcgR8ROMb2uScAKJDLAG2b6J9Xj6Y6sOxxiGsWB5v0YMm/6I/LHTCp0xJBP5wvsdN/ujuwRCqLOTOV5qNE5wCedipLOrchR5pU5rvEq1tlHeT6/Aeux4tKZDRxjjGjXLNdohA2XCe0zM+9vtTcyB3oO2c/baEsTsqP5Nix6Q82flCUG5sxKq9/FF50clqV9v+qqYOmcMUNrt1I4O5+7U81IulOWevkN0p0YDnPY/9n5HPVAYqi1dQZIkH9NxgrjgKfY3fs0DpxEapO2PkeejmjSWYyc4TDFjAaORHa4D0nrEWxFFtfnIJs9n6GwzWpOUJ2K4j6pWGffQ6ad+iKOQM+bjo9XYWg2Ia7/M8wz0oJMH9+GO6fsvo8451yBeNX2Mc/mT7EXckqxYWgms/Ps8fORXb9nmh+5GtkA9QQyBfVgEfWqTkXxn1SsM79ZbEYXXtGARNGerj+xt6Smzj5FQk2AnKrXD9jMznNOUryKrDO86rYQi1NnRddpceqs+Dp1yK+UItanoP1BnyNXDU3b/Rwhcu/xmGkaSMfRgrMamMzGpmg6Lc0973xIiqdTHwxFUQJGuMD7DkPmMV9DPDiCiupUFEUpUUOTYiKyKPg6slAYVFSnoihKiRqaFIciC96z2XkIVxBRnYqiKCVqaFJMAP4J/Bdx3Q0F9HurTkVRlBI1NCkOBP6BhNc4KcANpOpUFEUpUUOT4gBk9+07wCkBbiBVp6IoSokamhT7IRsU30PC2tcEtDxUp6IoSokamhTjkLhI64BLA1wuqlNRFMUHQxP3MN9qJAKxG6hOd3UqiqL4Zmi8DOIYY9ezvZ2gOt3VqSiK4iplPuc3F7gdOSNmfYDLRXUqiqKUmKF5Azmk6J/kjvlVbFSnoihKiRma55BT+v4T8HJQnYqiKCVkaBLA48jxru8F+LurTkVRlBIzNC3A3/D21D3VqSiK0gENzXbg98jpkSsD/F1Vp6IoSokZmi3A3cixxBsD/B1Vp6IoSokZmrXAz4HfAvUB/m6qU1EUJeCGZivQJe3/y4CfAn8CmgP0HVSnoihKgMkVGeAyZI2gHnGpHWF63UFrFFWnoihKiY5o/mH+go7qVBRFKdERjaIoiqKooVEURVHU0CiKoihqaBRFURRFDY2iKIqihkZRFEVRdiWU/E8Fo0LTPgX2MO+tnZ+ctofvSg7Lsp1kZmX6/3bRmfY6WDqfunRXnSffHRydiqIoRRrRXGAa7tXA+QHWqzoVRVFKcUTjwEg9D4SAY5BzU7we0ahOHdEEkilXrPUzu0OQI7yHAzOBKXf8ou+qYuls2B5mwIAYx03eSjwO8Xgo9VE34FFgLHLc+LkTJ47a4YXObdsijB7dxJFHb6OxMUzS3rmzruls2RGiulOCE760lepOCVp2hNws6oJ1Fhsn0ZvPAI42r78MPBTQ76g6lfZEGXAHMMH8/xRgA/DtYgmKhGFHc4jWVohEIB7/7KOngEnm9dmmE3V2AMtUdXqME2eAi7O8DhqqU2lP7JVmZFKGp6iNTUV5gk2byti4sYyqqs8G4kPTGsUUpwWwPFVngA1NH+DwtP8fZt4LGqpTaW/0zvBe16I2ImXQ3BxmyeJKQjtblJ4ZLo0HsDxVZ4ANzalABJgPLDCvTw3g91OdSqnRBTgPuBQYk+HzUIC0HgGcQhKqq+OsXFHBpo0RKisTIEeRt6XVSzGhUB6dmfFdZ97yDL5O3wzNmebfR4CHzesvB/D7qU6llKgBbgamAz8BbkMW/NNJBkTrr4FXgCeAuRUVyZ5btkRYtqySikr/JaYW/8Ph3DqzjAwCV54B1umboRmITO2AeEA8Yl4fDgwI0HdTnUqpMQlZ1O+LeBhNBs4NoM7jgEvS/j8GmBEOw7o1UVpjoVyjC08oiyTZVh8mFttlZJNRZ6mUZ0c3NNciUztzgA/N33vmvakB+m5tdX5QAjo/CLBOxXsOyfDeoQHUeUSG9yaEw5BIiNeZ34amsirBmk/LWbMmSk1NPDXCyaizVMqzIxuak4Bvmdc/Ar5o/m40733LXFNsMumkBHQSUJ2Ku0SyvF9u49piEsvw3g6QqatQEVaRysqguSnM4oVVhMPJlIasOkulPDuiobkQmdYJA38GnjY97qmIf/efzGePmGuLRTadlIBOAqhTcdfA7Ad8BTgggxHJtLhRrDWZPoj77OAMn8UtvuebzmSSwTU1cZYvq2Dt2ijV1Ymi6QyF5C9ZmuVZFENTARwPvAzca3pczyD7PA5B1hEON68vNp+Vm2tfNvdW+PA9rOhMEVSdbSmmTsUbJpvf9PfIsd4nBlTnocBi4DHz7wmloLO8InnCtvoIixdWEo0W32ciVHrl6d2I01T+84D+QNS838181jdtOB8DbjXTOnF2XT+4FnHLO8VMAU0FjjR/LUjcr1ZgS1paq4A/As/aeEid6sToCaJOfNapeDNiCZtRSCbX0+lAP/O6CvEqeyZgvdcw8CBQm9ZGPAp0B5qCrDOZ5NFoWbL7+g3RpuYdIVJrRr5WgDLYvj3M9u0hunZN0LIjUirl6bmheRhxq8zGZuBxxAtigXlvFPCltGtOMu/NB34I/B24ygwVuyOeVZk4Lu0HyEchOke30Zk+LA2Szmx4qVNxl1rgeuBgYDnwY/Nvih5IjKp0RiBurOt81noVEu5oBXA5u+7R6Mfu3o6VwEjESSXQOiPh5MhkkvcS8RChUBKfth19pjMSSV5eXx9p+eTjCgYMaAlaeRbV0PwWuNr8f7lp2NaZXtla4CPT4NUi88rDgYva/IIh4G4zxbPI/F2ILGbvY3ryIWSe8sfAEHPfvTa02tH5OaPzwjw1bUERddrBC52Ku0xBNlnWABOR3fqnszM4aqcs91X6rPNaM5JOsTc7Y+xBZoeE1Ggt8DqTEPHZIWE3nRXlyaM/Xl7JmLFNRKPJ8lgsFITyLLqhuQbxcLjONFiXmQdklRkRPG96XnvmSesIdnXTWw0sND2RF41Vv8nkkUQ2pv3AhlYrOkemTU3YIc5O12IvdTrFTZ2Ku1ycNpKNINOeg9JGNdmaPr8XE65r8/+jzEhrblody1b3VKcFndHy5NimpvDchoYwvXu3xrMYmnhHejhS88k3INGD64GDgHeRRfQPjZHYs4C09wReMmkcArxj0q43ed1g8yGzorOfw/LwWqdbuKFTcZd+ed4Lym9TleG9/gEsz5LVmUzSPxIRF+ukPpGfGZoUjyObhBYAvUzDvR9wCzCtgLSnmV7255CzE3qZEc4Ek1ehuK0zhV86neK2TsWf5ysoZNqf0aI63dcZCukDkO1B+Mj0lucA1ciZKFWIZ9R0G+nebO6pBh5A5qffRxZKP3JBdyad1QXoTO+V/N3onOODTie9Jy90Kt6QLBFNqrP96wxcj2srspN+PbIAd5l5/wbgLgtp/grxvsHcO8ykdaxJ2y3a6vyOTZ3pXG7SWG/S9ENnIXipU1EUxdeh/Xp2hkH5Ttp1cyyk+V5a2pea1zeaNN3GiU4CoJOA6VQURfHN0AD8BdlQNAA40Ly3j4U0U9ccaO5tMml5RaE6CYBOAqhTURTFN0PTAMw2rw8y/46ykOaoNvfMNml5RaE6CYBOAqhTURTFN0MD8LH5d2CGBnwJslP9NPO6raEZ2CYNL7GiMxupe5YXQacd/NSpKIrim6HZbv6NIJ5Og4CNyCL/aOQ0uCfM68vMZ4PMtZG0nrzXWNGZjUibNPzSaRc/dSqKovhmaIaaf9eYxvs2xOvpV+zq095i3tsbuN30vteYz/by4XtY1ZmJlM5hPuu0i586FUVRXKMsx2flyNGyAP9FAmZ+HwmzcQayZtDHfL7OXPMcO6Ml9zb/TkSiGMc8+g6F6mxIuweThp86U9QgwTCDolNRFMU3Q/N50wjWAW8gmwW/j+zl6JLlnjrgl8gu/TfM/7sYY/OKR99BdSqKopSooUkdzvM8srj+ADvdhj9FwqCkFqaHAMcgsZ1+YEYSZ5l7v2zS8qphVJ1KUAlleY2F93HpekUpCUPTF3GprUQW2K8G/sbu0UcjwNeAn5kG9C12TvecwM7Q+V414KpTCRrpoUiyRetNtPnN8z2jTsObRPO8V2bhvvJsn6fF94rabG981Zknn/aos6hkcwYYhITcB1kTqDQ96PHI+fbZzrj+s7nmFXPPYeazkSZNt1GdSlCoy/DehrTX29oYlZTRSPfKzHQA2uY2/88UEWKrDZ2ZjFlDG52ZSH8/li3dROKziMV1DhtGT3Xm+d3ao87ijmhmhd/d7c2Jif3T96G0IscJ3zor/K6Vg1FXT0zs/wVk/WFaWmGMmhV+95MMeTnRn1Fnhgc6o04go07gE5fLuVR0lhyzZs13dP/EiaPckvIAcEHa7/MWsLRNw/I0cDI7p7+eZedx3CDHaqxjp1PIduDJNvksM2lPSKtPD9jQ+ZAZKadYC/yvjXF8AZm6TfEBu54G+whyoF86fw2FksQTIRKJEKFQciGE5rLrqaIvBkFnm/8vRM64ae86AzmiWWJ6Uq8Ch84Kv3uzRSMjD3/43cSs8LvTgUNNGpvZdVOnW+yiE4kabeeU8AQS7Vl1Kk6ZbozCemAWcKUxAulch6yzrTdG5Zo2n8811yw0HYzfAfe3uaYVOc1zlknnSVOfrHIBsq9ss8nvKHYPdf8Vo3OzyWdym88/AM5BNiBvRE7XvSUUgkQilH4Gy5dMo7sZ+HebBrloOjPk1RF0FndEk8VQLEbOOP+MjRsX1SBrA0ea6Zwh7PSWqkMWsueYaZ5/9uw5vGFW+N3/mesd8+TmBzO9vYvOUChEMpm0pdMMc/PqPKX7Wa7pNNjSGQ6HGxKJhHs6n3wy62emHAmHwyQSiULKMy+nnHKKqxW5kPrp8rO0CnHUyMVHiCt7rg7FfebPK3aQO1IGZpT1RQsjuAcAGraHGTAgxtlf3UQ8DmknStabv4RpHLd7pXPbtgijRzdx5NHbaGwM09IS2k1nDlzT2bIjRHWnBCd8aSvVnRI0NYVtl6cXOp2O/G1yCLKfcjgwE5hSZuEBHgZcC6Gzy8urO0WjnYhGKwmHo4RCMiBKJhO9E4lY71iseUIstv3ilpbG7Rs3LnoAuK1nz+F+9byHAddWVFSe06NH7+q+ffegS5daKisriETCvPnmgow6IfkAssHTV53ZyvOQQ0YSjyd6Nzfv6F1XVz9h/fp1F69fv6axtTX2oOnl+Knz+2Vl0bN69uxd3bt3b7p160KnTtU0NcVYtmwd9fXbfSnPjz7aeeROeXk54XCY1tZWamtr2bhx0bBIJPL9aLT8rJ49U797Z6qrqygrk/rZ2pro3djY1LuubtuEtWvXXLxx4/rGLVuWPhiPx29Zu7b7kvr6esrKykgkErS07Nzfu88++xBAyoA70qbOTjHTM98ulqBIGHY0h2hthUgE4jtXHJ9i596xs82U4dkBLFPV6XH9LMthYCqBaaFQeEpVVbfyysquhMORLD3gCOFwhLKySqqqupJIxDs1N2+9oKlpyzc2blx0J/Cjnj2HN2e8+bDm3LJTn2fvgVcC02pqaq8cOHCv6MCB/ams3NVBI5lMEgqFcupMJhN3ImsnnurMV56RSJiysggVFVG6dKlh4MA9iMX2rV6x4tPzPv54ydfr67fd4UhnfiqBH1dVVX934MDB0UGD+lNdvetZbS0tccLhEOGwg/J0yIcfflgJTKuu7nTlgAGDo4MGDaCyspxQKLzbyYbl5WHKy2vp0qWWAQP2oLm5pfqTT1aet3Llx1+fPXv2HcCPxo0b10xpsFfaQ5x6sM8upqGpKE+waVMZGzeWMXhwC7FYBCQKxqQ2l54WwPJUnT7Uz7IsRmYo8GhFRe34Tp16EQ7bc24IhyNUV/egsrJL+fbtG67ZsaP+2I0bF33Zg9HN0HA4/NigQUPHDR8+jKqqCsc6zfTHEg8qScHlGY2WMXToQAYO7BddtGjpNR9/vGRyLBY7zQud4XD48X79BowdOXI4NTWdAlme77///tBQKPTYnnsOHDdy5AiqqysJh/Mf8RMKQSgUprq6khEjhjJgwJ7RBQsWXrN69Yovvv/++2eMGTOmFNa9emd4r2sxBYXLoHlbmCWLKxmy12cjwp4ZLo0HsDxVpw/1M5zByOwPvF5T03t8be0ethvFXRueMmpr96Cmpvd4YJZJ2y32j0ajb4wf/7lx48aNtm1kcukEXNXpVnlGo2WMHj2C/fc/aExlZeUbbuuMRqNvjho1Zuz48WNsGxm/ynPevHn7R6PRN0ePHjduzJjR1NRUWzIyu2sMU1NTzZgxoxk9ety4aDT6xrx58/YPwIPaBTgPOeRuTCZ7GaBG5QjgFJJQXR1n5YoKNm2MUFmZgMwxBlu9FBMK5dGZGd915i3PYOssqH6G2xiZYcBztbV79KmsdK+TVFnZldraPfoAz5k8nDIsGo3+e7/9Duo9cGA/T3TiTvBKT8pzjz16cdBBh/SqrKx83i2d0Wj0hX33HddryJBBlJWVBbI8Fy5cOCwajT6/777jew0e3J+KinLn0z4V5Qwe3J999x3fKxqNPr9w4cJiBi2tQTzIpgM/Qda6hre5Jijn0f8acax4AphbUZHsuWVLhGXLKqmo9F9iytMtQ59jF51ZRgaBK8+A6iy4fobTjEwV8GhNTe9eFRW1riusqKilpqZ3L+Axk1ehVIXD4cf23Xe/nv369fJUJxKPrGCdXpZn9+5dOOCAg3qUlZU94VRnOBx+bMSIUd3799+DSCQcyPJcuHBhFfDoyJH79thzzz6uGUOAsrIy9tyzLyNH7tsDeMzkVQwmIWstfYFuiBvsuQFscI4DLkn7/xhgRjgM69ZEaY2Fco0uPKEskmRbfZhYbJeRTUadpVKeAdRZcP1Mb1WmVVTUjnOz552ph1tRUTsW2XhYKNMGDRo6duDAPQKv0+vy7NWrO3vvPXLfcDj848KnG0I37rnnwLEDB/YnEokEsjzLy8sBpvXvP2jcgAH9XDUyO41NhAED+tG//6CxwDSTp98ckuG9QwPY4ByR4b0J4bBEBojH8d3QVFYlWPNpOWvWRKmpiadGOBl1lkp5BlBnwfUzbEYzQ0Oh8JROnXp5rrRTp96EQuEpBU6hDa2pqb1y+PBhhDyuySmdBU75+Faew4btRW1t5+8WqrOysmrKiBF7U14eDWx5zps3b2hVVdWVw4cP91RneXmU4cOHU1VVfeW8efO8nELLZtHLbVxbTDKFTNkBMnUVKsIqUlkZNDeFWbywinA4mdKQVWeplGeRcL1+pkY0U6uqukWdLFRbJRyOUFXVLcrOc2vs9L6nDhy4V5mThX8/dPpZnpFImOHD9ymLRCLX2f+O4esHDBhUVlVVGfTf/bqBA/cqq6mp9lxnTU01AwcOKQuFQtd59ADvh+wUPyDDQ5ppfrtYazJ9EPfZwRk+i1t8zzedySSDa2riLF9Wwdq1UaqrE0XTKd6Nu/1wpVCentXP8MaNi2ohdLaXUzyZplIgdJbkbZna8vKKcwYO3NN3nYAtnX6X5x579Ka8vOIrdnVGImVfGTx4oGdTZm6U55NPPlkbiZSdNXjwQMJh77vK4XAIKZOyrzz55JNuL65NBp4Bfg/8AziRYHIoEs3iMfPvCaWgs7wiecK2+giLF1YSjRbfZyJUeuXpWf0MA8eXl1d3yrYZ06vebXl5dSfgeBu3Hd+zZ+/qysrywOv0vzxD9OvXv9quzl69eldXVlYEvjx79epT7ccodqdBrKBXrz52yzPVI4ySParudOSMoSpgD8RrJ2hTY2HgwbTOQBnwKM4cTnzRmUzyaLQsWbV+Q5TmHSHCYf9FRcpg+/Yw27eHqChPBK08i1Y/w8DR0Wgn37+xyfNoG7cc3afPHiWhsxjl2atXb9s6e/fu7flalxvl2bdvX397oiEwedrRWWse1BeQYJhD2nzeg10j7wKMoDhurFchkaN/y+7z7v2AAW1tLzuPuQi0zkg4OTKZhEQ8RCiU9F1nJJIsb2wM88nHFYTDySCVZ1HrZxkwtqyswvcaZPIca+OWsZ0715aEzmKUZ21tp3Zbnl27dvFdp8nTjs4pyCa2GuSo7a7A6eyM0p2t91Hp81e7FjmiIsXebQxqeY7ecOB1JiHis0PCbjorypNHf7y8kjFjm4hGk+VpQUaLWZ5FrZ9hYGgk4r8rp8lzqI1bhlZXV5SEzmKUp9m8aLM8q30f0RRSnlVV/s8ymDzt6LzYPMSpRuQUdj2cLltB+72Y0NbJ4ag2BjXbInRcdVrTGS1Pjm1qCtPQECYaTQZFZ1HrZxjoHC7CZKbJs7ONWzqHw2GSyaTtv0Qi6bvOUijPaLRwr7iUgZJgpdb/jOOBLZ2pKMz+jrxsl2e/PO8FZUd/Jqvdn+BRsjqTSfpHIuJinUwGRmdR62fJHAUKMHv2AoIV6ik4JBIJ3/KqqalizJjCTpKOx+M888yijvKzhAOoaQe7nz/fojrd1xkKaf1Mz2ibn41Um4Zxm41bVGcOWlpitnXGYoXH5LM7kkn9tbbGbetsbfW/PE2e2xwmkwxg45JUnR1SZ1HrZxhYGo/731EweS61cYvqzEF9faNtnY2NjSR9HNsnk0kaG+3rbGpq8r08TZ5LURTFFUMzt7XV/2gH8fgOkCilVlGdOdi8eYttndu21fuu0+RpS+fWrXW+6zR5ztUmQlHcMTQvxWLbfc+4pWU7wEs2blGdWUgkkqxZ86ltnevXr/d9RLN+/XrbOteuXevromoyCWvXrrWrU1GUHIbm2ZaWxu2JhH/edolEnJaWxkZkk5NVVGcW1q/fSkPDVts6N2xY39jc7N/oq7l5Bxs2rG+yr3NdEXSus6tTUZRshqZnz+H1kHywuXmrjw/yViD5gORtmaLplLyDqTMeT7Bs2XISibhtnfF468OffLKSeDzug844klfrQ3Z0nnLKKfXxeOtDH3+8wpGbup3R4ccfryAeb33wlFNOqdcmQlHcGdEA3NrUtCXmRy88kYjT1LQlhsTRsYvqbMOKFevZuHF1QToTicT0FSs+bm1qavZcZ1NTMytXftyaSCRutntvMpm8ecWK5a0NDY2e69y+vZEVK5a3JpPJW7R5UBQXDU3PnsOXJJOJO7ZvX+/Dg7yeZDJxZ8+ewxcXcLvvOpFoq4HUuWlTPYsXLyCRiBess7m56Y6FCxen3KM9oaUlxsKFi2lsbLyjEJ1jxoxZ0tTU+PNFixb5orOpqfGOMWPGLNbmQVHcHdEATNuxo36ul1M+zc1b2bGjfi4OT65UnbB163bmz19IY+NWRzqTyeSPVq9eMW/FilWeTKHF43FWrFjF6tUr5hWqs6WlBWDaqlWfzF258tPUXhxXaW1tZeXKT1m9+pN5wDSTp6Iobhqanj2HNwGnNzSs37Bjh/tT0zt21NPQsH4DcHrPnsOdzIH4phMIpM716+v44IOFbNq0yhWdiUTitIUL529etWoN8bh7myPj8QSrVq1h4cL5mxOJxGlOdI4YMaIJOH3Bgg82rV691lVj09oaZ/XqdSxY8MGmZDJ52ogRIxq1aVAUb0Y09Ow5fAlwXH39mnVu9sSbm7dSX79mHXCcycMpnus0eQRKZyzWytKla5g/fwEbN65wVWcsFjvmgw/e37h8+Se0trY6TrC1tZXlyz/hgw/e3xiLxY5xQ+eIESOWxGKxYz/4YM6Gjz9eyY4dzkcdO3a08PHHK/nggzkbYrHYsSNGjFji4vMVyvIaC+/j0vWKUvT6uVusm549h78LTGxoWD+3vn4NiUThjU4iEae+fg0NDevnAhNN2m7hmU6TdmB0xmJxVqzYwJw5y1i0aD5bt67xRGcsFjtk/vx5H8yZM4+GhsL3AjU0bGfOnHnMnz/vg1gsdoibOseMGfNuLBY7dP78ufPmzfuQhobGguK8JRIJGhoamTfvQ+bPnzsvFosdOmbMmHddfpDT3eSyDcHSxWcKHV+WI81CiOZ5r8zCfeXZPk+L7xW18F2KpjNPPu1RZ1HrZ8agambUMWHHjvrbt2z5ONbYuAk7HlSJRJzGxk1s2bI8tmNH/e3ABJdGMplGDK7qdGmEULDOeDxJS0sr27Y18umnm5k/fyVvv72QhQsX8umnCzzXmUgkDly9esXPXn/99daPPlqUChljicbGRj76aBGvv/566+rVK36WSCQO9ELnuHHjliQSiYNWrfrk9jfeeL114cKlNDY2k0gkcm7sTCbFwDQ2NrNw4VLeeOP11lWrPrk9kUgcNG7cOKc6M4Uv2JD2elubhzb1UDak/X9dhjQ2t/l/Jg8TO8PlTI1FQxudmUh/P5Yt3UTis4jFdQ4bRk915vnd2qPOotbPrEJ79hzeDFy7ceOi3zc2brqmsXHzOeXl1dXRaCei0UrC4WgqND2JRIJEIkYs1kwstp2WlsYmSP4duK1A7zJbM17AtclkwpFOCvPacl3n7NkfBUHn95qaGu9dvHjB1KVLF5/ds2fvqt69e9OtWxeqq6soKyv7bHqssbGJLVvqWL9+PRs3rm9OJOIPJBKJW0KhkKc6R48e3VxbW3vt7Nmzf79kyYKpy5aJzr59+9K1axeqqqooK4sYnXGamprYurWOtWvXfqYzHo/fcvDBBy+ur3dlDe0B4IK0h/8tdo2Vtg14Gjg5bXrhWWBL2jUvmYe5j/n/duDJNvksM2lPSM1Smryt8hDwtbT/rwX+16bxeQE4Ju29D4AFaf9/BPhhm3T/GgoliSdCJBIhQqHkQgjNZdczZF4Mgs42/1+IhBpq7zqLWj9Dr732oSWVGzcuqgFOBI4ExiNHgXZN61EtB+YArwDP9Ow5vMFKuo890p07fpH9qN4pV6wF4PAjZ1stUFs621js7K1vUwVnnT056+cPPvAvACqrdpS8zlAoRDKZJBwOk0gkbOkMh8MNiUTiszSc6sxH/wGDHNXPVSs/yZtHLp1p9bQ/cAdwGLAIOXnxjTaX7WOu2Q+YB1wOzG8zw/BN4BpTPx4Brmd3J4pDgNuB4cBMYModv+i7ykp5TblibYVpdA4HVgFnAR+1uawbcs7954y+s8216ZwN3Gx0PgR8Z/v2MHv2j3Hc5K0kEhCPhwYCjyIHyP0POGfixFGbvdS5vSG8qv/AFo6bXEc8DvF4aDedGbJzVWcsFvooGk0y+YSt9OjRSlNTuKDydFPnrFnzi1o/Q9+9fE034H7gWKwdL9oCPAycf/qXN7cYY1GJnEP9lSxziW1pNVb+bKDOiqExlaognUDLhIPfAzmWtGCdFhtGRzrNe6rTBZ39BwxqMcbEM52KouQnDPwCmIz1M6zLzVDx+sce6c5jj3QH+IF5L2oxjTKT5502tBasM+091dmBdK5a+UlqxOKHTkVRchiaQrtr6fcd50Iabl6rOlWn3zoVRclhaHoWeG+ftNdupJEP1ak6g6xTUZQchkZRlCzo+oyiqKFRFEVR1NAoiqIoamgURVEURQ2NoiiKooZGURRFUdTQKIqiKGpoFEVRlHZlaOoKvDc9mJsbaeRDdarOIOtUFCWHoXm0wHsfS3vtRhr5UJ2qM8g6FUXJQhlwFVALfAFrx3a2mgfw9rT3bgX6IefXWwl+mEDOUvieDa2qU3UGWaeiKDkMTR0SPt0JLcC3zJ9XqE7VGWSdiqLkMDQdgrdm7+c4jbPO9jZ9t/BDpznfR1EUxZKh6QLci/WpiTgyNXE5Ow/AKgfuAk6zODWRRA6WuhjrC7WqU3UGWaeiKDkMzQzgTJv3XYwcRXqT+f9U4CKbaXwFOafa6n2qU3UGWaeiKFkIA2cUeO/paa/dSCMfqlN1Blmnoig5DE2XAu/t3mZ6w2ka+VCdqjPIOhVFyWFoFEVRFEUNjaIoiqKGRlEURVHU0CiKoihqaBRFURQ1NIqiKIqihkZRFEVRQ6MoiqJ0BEOzscB716W9diONfKhO1RlknYqi5DA0/yrw3mfTXj/nQhr5UJ2qM8g6FUXJYWguNw9zq8V7WoC/Ajenvfdj4G/sjJabj1bzEE+xoVV1qs4g61QUJQv/PwAlukJhy2ScjQAAAABJRU5ErkJggg==";en={border:{"border-top":" iconfont-luckysheet luckysheet-iconfont-shangbiankuang","border-bottom":" iconfont-luckysheet luckysheet-iconfont-xiabiankuang","border-left":" iconfont-luckysheet luckysheet-iconfont-zuobiankuang","border-right":" iconfont-luckysheet luckysheet-iconfont-youbiankuang","border-none":" iconfont-luckysheet luckysheet-iconfont-wubiankuang","border-all":" iconfont-luckysheet luckysheet-iconfont-quanjiabiankuang","border-outside":" iconfont-luckysheet luckysheet-iconfont-sizhoujiabiankuang","border-inside":" iconfont-luckysheet luckysheet-iconfont-neikuangxian","border-horizontal":" iconfont-luckysheet luckysheet-iconfont-neikuanghengxian","border-vertical":" iconfont-luckysheet luckysheet-iconfont-neikuangshuxian"},align:{left:" iconfont-luckysheet luckysheet-iconfont-wenbenzuoduiqi",center:" iconfont-luckysheet luckysheet-iconfont-wenbenjuzhongduiqi",right:" iconfont-luckysheet luckysheet-iconfont-wenbenyouduiqi",top:" iconfont-luckysheet luckysheet-iconfont-dingbuduiqi",middle:" iconfont-luckysheet luckysheet-iconfont-shuipingduiqi",bottom:" iconfont-luckysheet luckysheet-iconfont-dibuduiqi"},textWrap:{overflow:" iconfont-luckysheet luckysheet-iconfont-yichu1",wrap:" iconfont-luckysheet luckysheet-iconfont-zidonghuanhang",clip:" iconfont-luckysheet luckysheet-iconfont-jieduan"},rotation:{none:" iconfont-luckysheet luckysheet-iconfont-wuxuanzhuang",angleup:" iconfont-luckysheet luckysheet-iconfont-xiangshangqingxie",angledown:" iconfont-luckysheet luckysheet-iconfont-xiangxiaqingxie",vertical:" iconfont-luckysheet luckysheet-iconfont-shupaiwenzi","rotation-up":" iconfont-luckysheet luckysheet-iconfont-wenbenxiangshang","rotation-down":" iconfont-luckysheet luckysheet-iconfont-xiangxia90"}}});function K(e){for(let n=0;n<h.luckysheetfile.length;n++)if(h.luckysheetfile[n].index==e)return n;return null}function wt(e,n,t){let l="";t==null&&(t=h.currentSheetIndex),e!=t&&(l=h.luckysheetfile[K(e)].name.replace(/'/g,"''"),/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/.test(l)?l=l+"!":l="'"+l+"'!");let a=n.row[0],o=n.row[1],s=n.column[0],u=n.column[1];return a==null&&o==null?l+lt(s)+":"+lt(u):s==null&&u==null?l+(a+1)+":"+(o+1):s==u&&a==o?l+lt(s)+(a+1):l+lt(s)+(a+1)+":"+lt(u)+(o+1)}function qu(){return h.luckysheet_select_save}function Lt(e){return e&&h.luckysheetfile.forEach(n=>{n.chart&&n.chart.forEach(t=>{let l=h.getChartJson(t.chart_id);t.chartOptions=l})}),h.luckysheetfile}function ju(){return h.config}function Zi(){return h.visibledatarow}function Ji(){return h.visibledatacolumn}function Uu(){return h.conditionFormatCells}var Dt=$e(()=>{ht();Xe()});function Gu(e){h.luckysheet_select_save=e}function tn(e){h.luckysheet_scroll_status=e}function Jn(e){h.luckysheetfile=e}var Rn=$e(()=>{Dt();Xe()});var Q1,fr,Ta=$e(()=>{Q1={mobilecheck:function(){var e=!1;return function(n){("ongestureend"in window||/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(n)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(n.substr(0,4)))&&(e=!0)}(navigator.userAgent||navigator.vendor||window.opera),document.body&&document.body.clientWidth&&document.body.clientHeight&&document.body.clientWidth<350&&document.body.clientHeight<500&&(e=!0),e},iphoneCheck:function(){var e=!1;return/iPhone/i.test(navigator.userAgent)&&(e=!0),!0},isWeixin:function(){var e=navigator.userAgent.toLowerCase();return e.match(/MicroMessenger/i)=="micromessenger"},isAndroid:function(){var e=navigator.userAgent,n=(navigator.appVersion,e.indexOf("Android")>-1||e.indexOf("Linux")>-1);return n},tabletCheck:function(){var e=/ipad|android|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i.test(navigator.userAgent.toLowerCase());return e},BrowserType:function(){var e=navigator.userAgent,n=e.indexOf("Opera")>-1,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1&&!n,l=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1,a=e.indexOf("Edge")>-1,o=e.indexOf("Firefox")>-1,s=e.indexOf("Safari")>-1&&e.indexOf("Chrome")==-1,u=e.indexOf("Chrome")>-1&&e.indexOf("Safari")>-1;if(t){var d=new RegExp("MSIE (\\d+\\.\\d+);");d.test(e);var f=parseFloat(RegExp.$1);return f==7?"IE7":f==8?"IE8":f==9?"IE9":f==10?"IE10":"0"}if(o)return"FF";if(n)return"Opera";if(s)return"Safari";if(u)return"Chrome";if(a)return"Edge";if(l)return"IE11"},isIE:function(){var e=navigator.userAgent,n=e.indexOf("Opera")>-1,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1&&!n,l=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1;return t||l?"1":"-1"},IEVersion:function(){var e=navigator.userAgent,n=e.indexOf("Opera")>-1,t=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1&&!n,l=e.indexOf("Trident")>-1&&e.indexOf("rv:11.0")>-1,a=e.indexOf("Windows NT 6.1; Trident/7.0;")>-1&&!t;if(t){var o=new RegExp("MSIE (\\d+\\.\\d+);");o.test(e);var s=parseFloat(RegExp.$1);return s==7?"IE7":s==8?"IE8":s==9?"IE9":s==10?"IE10":"0"}else return a?"Edge":l?"IE11":"-1"},luckysheetrefreshfixednum:null,luckysheetrefreshfixed:function(){var e=this;return e.luckysheetrefreshfixednum==null&&(e.BrowserType()=="FF"?e.luckysheetrefreshfixednum=5:e.luckysheetrefreshfixednum=0),e.luckysheetrefreshfixednum},detectOS(){var e=navigator.userAgent,n=navigator.platform=="Win32"||navigator.platform=="Windows",t=navigator.platform=="Mac68K"||navigator.platform=="MacPPC"||navigator.platform=="Macintosh"||navigator.platform=="MacIntel";if(t)return"Mac";var l=navigator.platform=="X11"&&!n&&!t;if(l)return"Unix";var a=String(navigator.platform).indexOf("Linux")>-1;if(a)return"Linux";if(n){var o=e.indexOf("Windows NT 5.0")>-1||e.indexOf("Windows 2000")>-1;if(o)return"Win2000";var s=e.indexOf("Windows NT 5.1")>-1||e.indexOf("Windows XP")>-1;if(s)return"WinXP";var u=e.indexOf("Windows NT 5.2")>-1||e.indexOf("Windows 2003")>-1;if(u)return"Win2003";var d=e.indexOf("Windows NT 6.0")>-1||e.indexOf("Windows Vista")>-1;if(d)return"WinVista";var f=e.indexOf("Windows NT 6.1")>-1||e.indexOf("Windows 7")>-1;if(f)return"Win7"}return"other"}},fr=Q1});var fn=kl(Xl=>{"use strict";var e0=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";function t0(e,n){return Object.prototype.hasOwnProperty.call(e,n)}Xl.assign=function(e){for(var n=Array.prototype.slice.call(arguments,1);n.length;){var t=n.shift();if(!!t){if(typeof t!="object")throw new TypeError(t+"must be non-object");for(var l in t)t0(t,l)&&(e[l]=t[l])}}return e};Xl.shrinkBuf=function(e,n){return e.length===n?e:e.subarray?e.subarray(0,n):(e.length=n,e)};var l0={arraySet:function(e,n,t,l,a){if(n.subarray&&e.subarray){e.set(n.subarray(t,t+l),a);return}for(var o=0;o<l;o++)e[a+o]=n[t+o]},flattenChunks:function(e){var n,t,l,a,o,s;for(l=0,n=0,t=e.length;n<t;n++)l+=e[n].length;for(s=new Uint8Array(l),a=0,n=0,t=e.length;n<t;n++)o=e[n],s.set(o,a),a+=o.length;return s}},r0={arraySet:function(e,n,t,l,a){for(var o=0;o<l;o++)e[a+o]=n[t+o]},flattenChunks:function(e){return[].concat.apply([],e)}};Xl.setTyped=function(e){e?(Xl.Buf8=Uint8Array,Xl.Buf16=Uint16Array,Xl.Buf32=Int32Array,Xl.assign(Xl,l0)):(Xl.Buf8=Array,Xl.Buf16=Array,Xl.Buf32=Array,Xl.assign(Xl,r0))};Xl.setTyped(e0)});var ph=kl(Ia=>{"use strict";var n0=fn(),a0=4,Wu=0,Yu=1,i0=2;function Sa(e){for(var n=e.length;--n>=0;)e[n]=0}var o0=0,Xu=1,s0=2,c0=3,u0=258,os=29,ui=256,hi=ui+1+os,$a=30,ss=19,Ku=2*hi+1,Qn=15,cs=16,h0=7,us=256,Zu=16,Ju=17,Qu=18,hs=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Qi=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],d0=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],eh=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],f0=512,mn=new Array((hi+2)*2);Sa(mn);var di=new Array($a*2);Sa(di);var fi=new Array(f0);Sa(fi);var mi=new Array(u0-c0+1);Sa(mi);var ds=new Array(os);Sa(ds);var eo=new Array($a);Sa(eo);function fs(e,n,t,l,a){this.static_tree=e,this.extra_bits=n,this.extra_base=t,this.elems=l,this.max_length=a,this.has_stree=e&&e.length}var th,lh,rh;function ms(e,n){this.dyn_tree=e,this.max_code=0,this.stat_desc=n}function nh(e){return e<256?fi[e]:fi[256+(e>>>7)]}function pi(e,n){e.pending_buf[e.pending++]=n&255,e.pending_buf[e.pending++]=n>>>8&255}function er(e,n,t){e.bi_valid>cs-t?(e.bi_buf|=n<<e.bi_valid&65535,pi(e,e.bi_buf),e.bi_buf=n>>cs-e.bi_valid,e.bi_valid+=t-cs):(e.bi_buf|=n<<e.bi_valid&65535,e.bi_valid+=t)}function ln(e,n,t){er(e,t[n*2],t[n*2+1])}function ah(e,n){var t=0;do t|=e&1,e>>>=1,t<<=1;while(--n>0);return t>>>1}function m0(e){e.bi_valid===16?(pi(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function p0(e,n){var t=n.dyn_tree,l=n.max_code,a=n.stat_desc.static_tree,o=n.stat_desc.has_stree,s=n.stat_desc.extra_bits,u=n.stat_desc.extra_base,d=n.stat_desc.max_length,f,m,g,y,v,k,b=0;for(y=0;y<=Qn;y++)e.bl_count[y]=0;for(t[e.heap[e.heap_max]*2+1]=0,f=e.heap_max+1;f<Ku;f++)m=e.heap[f],y=t[t[m*2+1]*2+1]+1,y>d&&(y=d,b++),t[m*2+1]=y,!(m>l)&&(e.bl_count[y]++,v=0,m>=u&&(v=s[m-u]),k=t[m*2],e.opt_len+=k*(y+v),o&&(e.static_len+=k*(a[m*2+1]+v)));if(b!==0){do{for(y=d-1;e.bl_count[y]===0;)y--;e.bl_count[y]--,e.bl_count[y+1]+=2,e.bl_count[d]--,b-=2}while(b>0);for(y=d;y!==0;y--)for(m=e.bl_count[y];m!==0;)g=e.heap[--f],!(g>l)&&(t[g*2+1]!==y&&(e.opt_len+=(y-t[g*2+1])*t[g*2],t[g*2+1]=y),m--)}}function ih(e,n,t){var l=new Array(Qn+1),a=0,o,s;for(o=1;o<=Qn;o++)l[o]=a=a+t[o-1]<<1;for(s=0;s<=n;s++){var u=e[s*2+1];u!==0&&(e[s*2]=ah(l[u]++,u))}}function g0(){var e,n,t,l,a,o=new Array(Qn+1);for(t=0,l=0;l<os-1;l++)for(ds[l]=t,e=0;e<1<<hs[l];e++)mi[t++]=l;for(mi[t-1]=l,a=0,l=0;l<16;l++)for(eo[l]=a,e=0;e<1<<Qi[l];e++)fi[a++]=l;for(a>>=7;l<$a;l++)for(eo[l]=a<<7,e=0;e<1<<Qi[l]-7;e++)fi[256+a++]=l;for(n=0;n<=Qn;n++)o[n]=0;for(e=0;e<=143;)mn[e*2+1]=8,e++,o[8]++;for(;e<=255;)mn[e*2+1]=9,e++,o[9]++;for(;e<=279;)mn[e*2+1]=7,e++,o[7]++;for(;e<=287;)mn[e*2+1]=8,e++,o[8]++;for(ih(mn,hi+1,o),e=0;e<$a;e++)di[e*2+1]=5,di[e*2]=ah(e,5);th=new fs(mn,hs,ui+1,hi,Qn),lh=new fs(di,Qi,0,$a,Qn),rh=new fs(new Array(0),d0,0,ss,h0)}function oh(e){var n;for(n=0;n<hi;n++)e.dyn_ltree[n*2]=0;for(n=0;n<$a;n++)e.dyn_dtree[n*2]=0;for(n=0;n<ss;n++)e.bl_tree[n*2]=0;e.dyn_ltree[us*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function sh(e){e.bi_valid>8?pi(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function y0(e,n,t,l){sh(e),l&&(pi(e,t),pi(e,~t)),n0.arraySet(e.pending_buf,e.window,n,t,e.pending),e.pending+=t}function ch(e,n,t,l){var a=n*2,o=t*2;return e[a]<e[o]||e[a]===e[o]&&l[n]<=l[t]}function ps(e,n,t){for(var l=e.heap[t],a=t<<1;a<=e.heap_len&&(a<e.heap_len&&ch(n,e.heap[a+1],e.heap[a],e.depth)&&a++,!ch(n,l,e.heap[a],e.depth));)e.heap[t]=e.heap[a],t=a,a<<=1;e.heap[t]=l}function uh(e,n,t){var l,a,o=0,s,u;if(e.last_lit!==0)do l=e.pending_buf[e.d_buf+o*2]<<8|e.pending_buf[e.d_buf+o*2+1],a=e.pending_buf[e.l_buf+o],o++,l===0?ln(e,a,n):(s=mi[a],ln(e,s+ui+1,n),u=hs[s],u!==0&&(a-=ds[s],er(e,a,u)),l--,s=nh(l),ln(e,s,t),u=Qi[s],u!==0&&(l-=eo[s],er(e,l,u)));while(o<e.last_lit);ln(e,us,n)}function gs(e,n){var t=n.dyn_tree,l=n.stat_desc.static_tree,a=n.stat_desc.has_stree,o=n.stat_desc.elems,s,u,d=-1,f;for(e.heap_len=0,e.heap_max=Ku,s=0;s<o;s++)t[s*2]!==0?(e.heap[++e.heap_len]=d=s,e.depth[s]=0):t[s*2+1]=0;for(;e.heap_len<2;)f=e.heap[++e.heap_len]=d<2?++d:0,t[f*2]=1,e.depth[f]=0,e.opt_len--,a&&(e.static_len-=l[f*2+1]);for(n.max_code=d,s=e.heap_len>>1;s>=1;s--)ps(e,t,s);f=o;do s=e.heap[1],e.heap[1]=e.heap[e.heap_len--],ps(e,t,1),u=e.heap[1],e.heap[--e.heap_max]=s,e.heap[--e.heap_max]=u,t[f*2]=t[s*2]+t[u*2],e.depth[f]=(e.depth[s]>=e.depth[u]?e.depth[s]:e.depth[u])+1,t[s*2+1]=t[u*2+1]=f,e.heap[1]=f++,ps(e,t,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],p0(e,n),ih(t,d,e.bl_count)}function hh(e,n,t){var l,a=-1,o,s=n[0*2+1],u=0,d=7,f=4;for(s===0&&(d=138,f=3),n[(t+1)*2+1]=65535,l=0;l<=t;l++)o=s,s=n[(l+1)*2+1],!(++u<d&&o===s)&&(u<f?e.bl_tree[o*2]+=u:o!==0?(o!==a&&e.bl_tree[o*2]++,e.bl_tree[Zu*2]++):u<=10?e.bl_tree[Ju*2]++:e.bl_tree[Qu*2]++,u=0,a=o,s===0?(d=138,f=3):o===s?(d=6,f=3):(d=7,f=4))}function dh(e,n,t){var l,a=-1,o,s=n[0*2+1],u=0,d=7,f=4;for(s===0&&(d=138,f=3),l=0;l<=t;l++)if(o=s,s=n[(l+1)*2+1],!(++u<d&&o===s)){if(u<f)do ln(e,o,e.bl_tree);while(--u!=0);else o!==0?(o!==a&&(ln(e,o,e.bl_tree),u--),ln(e,Zu,e.bl_tree),er(e,u-3,2)):u<=10?(ln(e,Ju,e.bl_tree),er(e,u-3,3)):(ln(e,Qu,e.bl_tree),er(e,u-11,7));u=0,a=o,s===0?(d=138,f=3):o===s?(d=6,f=3):(d=7,f=4)}}function v0(e){var n;for(hh(e,e.dyn_ltree,e.l_desc.max_code),hh(e,e.dyn_dtree,e.d_desc.max_code),gs(e,e.bl_desc),n=ss-1;n>=3&&e.bl_tree[eh[n]*2+1]===0;n--);return e.opt_len+=3*(n+1)+5+5+4,n}function k0(e,n,t,l){var a;for(er(e,n-257,5),er(e,t-1,5),er(e,l-4,4),a=0;a<l;a++)er(e,e.bl_tree[eh[a]*2+1],3);dh(e,e.dyn_ltree,n-1),dh(e,e.dyn_dtree,t-1)}function b0(e){var n=4093624447,t;for(t=0;t<=31;t++,n>>>=1)if(n&1&&e.dyn_ltree[t*2]!==0)return Wu;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return Yu;for(t=32;t<ui;t++)if(e.dyn_ltree[t*2]!==0)return Yu;return Wu}var fh=!1;function w0(e){fh||(g0(),fh=!0),e.l_desc=new ms(e.dyn_ltree,th),e.d_desc=new ms(e.dyn_dtree,lh),e.bl_desc=new ms(e.bl_tree,rh),e.bi_buf=0,e.bi_valid=0,oh(e)}function mh(e,n,t,l){er(e,(o0<<1)+(l?1:0),3),y0(e,n,t,!0)}function x0(e){er(e,Xu<<1,3),ln(e,us,mn),m0(e)}function _0(e,n,t,l){var a,o,s=0;e.level>0?(e.strm.data_type===i0&&(e.strm.data_type=b0(e)),gs(e,e.l_desc),gs(e,e.d_desc),s=v0(e),a=e.opt_len+3+7>>>3,o=e.static_len+3+7>>>3,o<=a&&(a=o)):a=o=t+5,t+4<=a&&n!==-1?mh(e,n,t,l):e.strategy===a0||o===a?(er(e,(Xu<<1)+(l?1:0),3),uh(e,mn,di)):(er(e,(s0<<1)+(l?1:0),3),k0(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),uh(e,e.dyn_ltree,e.dyn_dtree)),oh(e),l&&sh(e)}function C0(e,n,t){return e.pending_buf[e.d_buf+e.last_lit*2]=n>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=n&255,e.pending_buf[e.l_buf+e.last_lit]=t&255,e.last_lit++,n===0?e.dyn_ltree[t*2]++:(e.matches++,n--,e.dyn_ltree[(mi[t]+ui+1)*2]++,e.dyn_dtree[nh(n)*2]++),e.last_lit===e.lit_bufsize-1}Ia._tr_init=w0;Ia._tr_stored_block=mh;Ia._tr_flush_block=_0;Ia._tr_tally=C0;Ia._tr_align=x0});var ys=kl((ik,gh)=>{"use strict";function T0(e,n,t,l){for(var a=e&65535|0,o=e>>>16&65535|0,s=0;t!==0;){s=t>2e3?2e3:t,t-=s;do a=a+n[l++]|0,o=o+a|0;while(--s);a%=65521,o%=65521}return a|o<<16|0}gh.exports=T0});var vs=kl((ok,yh)=>{"use strict";function S0(){for(var e,n=[],t=0;t<256;t++){e=t;for(var l=0;l<8;l++)e=e&1?3988292384^e>>>1:e>>>1;n[t]=e}return n}var $0=S0();function I0(e,n,t,l){var a=$0,o=l+t;e^=-1;for(var s=l;s<o;s++)e=e>>>8^a[(e^n[s])&255];return e^-1}yh.exports=I0});var to=kl((sk,vh)=>{"use strict";vh.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}});var $h=kl(an=>{"use strict";var Kl=fn(),wr=ph(),kh=ys(),An=vs(),R0=to(),ea=0,A0=1,D0=3,Dn=4,bh=5,rn=0,wh=1,xr=-2,M0=-3,ks=-5,F0=-1,E0=1,lo=2,N0=3,P0=4,L0=0,z0=2,ro=8,O0=9,B0=15,H0=8,V0=29,q0=256,bs=q0+1+V0,j0=30,U0=19,G0=2*bs+1,W0=15,Ut=3,Mn=258,Pr=Mn+Ut+1,Y0=32,no=42,ws=69,ao=73,io=91,oo=103,ta=113,gi=666,Il=1,yi=2,la=3,Ra=4,X0=3;function Fn(e,n){return e.msg=R0[n],n}function xh(e){return(e<<1)-(e>4?9:0)}function En(e){for(var n=e.length;--n>=0;)e[n]=0}function Nn(e){var n=e.state,t=n.pending;t>e.avail_out&&(t=e.avail_out),t!==0&&(Kl.arraySet(e.output,n.pending_buf,n.pending_out,t,e.next_out),e.next_out+=t,n.pending_out+=t,e.total_out+=t,e.avail_out-=t,n.pending-=t,n.pending===0&&(n.pending_out=0))}function Ll(e,n){wr._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,n),e.block_start=e.strstart,Nn(e.strm)}function Yt(e,n){e.pending_buf[e.pending++]=n}function vi(e,n){e.pending_buf[e.pending++]=n>>>8&255,e.pending_buf[e.pending++]=n&255}function K0(e,n,t,l){var a=e.avail_in;return a>l&&(a=l),a===0?0:(e.avail_in-=a,Kl.arraySet(n,e.input,e.next_in,a,t),e.state.wrap===1?e.adler=kh(e.adler,n,a,t):e.state.wrap===2&&(e.adler=An(e.adler,n,a,t)),e.next_in+=a,e.total_in+=a,a)}function _h(e,n){var t=e.max_chain_length,l=e.strstart,a,o,s=e.prev_length,u=e.nice_match,d=e.strstart>e.w_size-Pr?e.strstart-(e.w_size-Pr):0,f=e.window,m=e.w_mask,g=e.prev,y=e.strstart+Mn,v=f[l+s-1],k=f[l+s];e.prev_length>=e.good_match&&(t>>=2),u>e.lookahead&&(u=e.lookahead);do if(a=n,!(f[a+s]!==k||f[a+s-1]!==v||f[a]!==f[l]||f[++a]!==f[l+1])){l+=2,a++;do;while(f[++l]===f[++a]&&f[++l]===f[++a]&&f[++l]===f[++a]&&f[++l]===f[++a]&&f[++l]===f[++a]&&f[++l]===f[++a]&&f[++l]===f[++a]&&f[++l]===f[++a]&&l<y);if(o=Mn-(y-l),l=y-Mn,o>s){if(e.match_start=n,s=o,o>=u)break;v=f[l+s-1],k=f[l+s]}}while((n=g[n&m])>d&&--t!=0);return s<=e.lookahead?s:e.lookahead}function ra(e){var n=e.w_size,t,l,a,o,s;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=n+(n-Pr)){Kl.arraySet(e.window,e.window,n,n,0),e.match_start-=n,e.strstart-=n,e.block_start-=n,l=e.hash_size,t=l;do a=e.head[--t],e.head[t]=a>=n?a-n:0;while(--l);l=n,t=l;do a=e.prev[--t],e.prev[t]=a>=n?a-n:0;while(--l);o+=n}if(e.strm.avail_in===0)break;if(l=K0(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=l,e.lookahead+e.insert>=Ut)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+Ut-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,!(e.lookahead+e.insert<Ut)););}while(e.lookahead<Pr&&e.strm.avail_in!==0)}function Z0(e,n){var t=65535;for(t>e.pending_buf_size-5&&(t=e.pending_buf_size-5);;){if(e.lookahead<=1){if(ra(e),e.lookahead===0&&n===ea)return Il;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var l=e.block_start+t;if((e.strstart===0||e.strstart>=l)&&(e.lookahead=e.strstart-l,e.strstart=l,Ll(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-Pr&&(Ll(e,!1),e.strm.avail_out===0))return Il}return e.insert=0,n===Dn?(Ll(e,!0),e.strm.avail_out===0?la:Ra):(e.strstart>e.block_start&&(Ll(e,!1),e.strm.avail_out===0),Il)}function xs(e,n){for(var t,l;;){if(e.lookahead<Pr){if(ra(e),e.lookahead<Pr&&n===ea)return Il;if(e.lookahead===0)break}if(t=0,e.lookahead>=Ut&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Ut-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),t!==0&&e.strstart-t<=e.w_size-Pr&&(e.match_length=_h(e,t)),e.match_length>=Ut)if(l=wr._tr_tally(e,e.strstart-e.match_start,e.match_length-Ut),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=Ut){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Ut-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!=0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else l=wr._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(l&&(Ll(e,!1),e.strm.avail_out===0))return Il}return e.insert=e.strstart<Ut-1?e.strstart:Ut-1,n===Dn?(Ll(e,!0),e.strm.avail_out===0?la:Ra):e.last_lit&&(Ll(e,!1),e.strm.avail_out===0)?Il:yi}function Aa(e,n){for(var t,l,a;;){if(e.lookahead<Pr){if(ra(e),e.lookahead<Pr&&n===ea)return Il;if(e.lookahead===0)break}if(t=0,e.lookahead>=Ut&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Ut-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=Ut-1,t!==0&&e.prev_length<e.max_lazy_match&&e.strstart-t<=e.w_size-Pr&&(e.match_length=_h(e,t),e.match_length<=5&&(e.strategy===E0||e.match_length===Ut&&e.strstart-e.match_start>4096)&&(e.match_length=Ut-1)),e.prev_length>=Ut&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-Ut,l=wr._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-Ut),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+Ut-1])&e.hash_mask,t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!=0);if(e.match_available=0,e.match_length=Ut-1,e.strstart++,l&&(Ll(e,!1),e.strm.avail_out===0))return Il}else if(e.match_available){if(l=wr._tr_tally(e,0,e.window[e.strstart-1]),l&&Ll(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Il}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(l=wr._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<Ut-1?e.strstart:Ut-1,n===Dn?(Ll(e,!0),e.strm.avail_out===0?la:Ra):e.last_lit&&(Ll(e,!1),e.strm.avail_out===0)?Il:yi}function J0(e,n){for(var t,l,a,o,s=e.window;;){if(e.lookahead<=Mn){if(ra(e),e.lookahead<=Mn&&n===ea)return Il;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=Ut&&e.strstart>0&&(a=e.strstart-1,l=s[a],l===s[++a]&&l===s[++a]&&l===s[++a])){o=e.strstart+Mn;do;while(l===s[++a]&&l===s[++a]&&l===s[++a]&&l===s[++a]&&l===s[++a]&&l===s[++a]&&l===s[++a]&&l===s[++a]&&a<o);e.match_length=Mn-(o-a),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=Ut?(t=wr._tr_tally(e,1,e.match_length-Ut),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(t=wr._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),t&&(Ll(e,!1),e.strm.avail_out===0))return Il}return e.insert=0,n===Dn?(Ll(e,!0),e.strm.avail_out===0?la:Ra):e.last_lit&&(Ll(e,!1),e.strm.avail_out===0)?Il:yi}function Q0(e,n){for(var t;;){if(e.lookahead===0&&(ra(e),e.lookahead===0)){if(n===ea)return Il;break}if(e.match_length=0,t=wr._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,t&&(Ll(e,!1),e.strm.avail_out===0))return Il}return e.insert=0,n===Dn?(Ll(e,!0),e.strm.avail_out===0?la:Ra):e.last_lit&&(Ll(e,!1),e.strm.avail_out===0)?Il:yi}function nn(e,n,t,l,a){this.good_length=e,this.max_lazy=n,this.nice_length=t,this.max_chain=l,this.func=a}var Da;Da=[new nn(0,0,0,0,Z0),new nn(4,4,8,4,xs),new nn(4,5,16,8,xs),new nn(4,6,32,32,xs),new nn(4,4,16,16,Aa),new nn(8,16,32,32,Aa),new nn(8,16,128,128,Aa),new nn(8,32,128,256,Aa),new nn(32,128,258,1024,Aa),new nn(32,258,258,4096,Aa)];function ep(e){e.window_size=2*e.w_size,En(e.head),e.max_lazy_match=Da[e.level].max_lazy,e.good_match=Da[e.level].good_length,e.nice_match=Da[e.level].nice_length,e.max_chain_length=Da[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=Ut-1,e.match_available=0,e.ins_h=0}function tp(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=ro,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Kl.Buf16(G0*2),this.dyn_dtree=new Kl.Buf16((2*j0+1)*2),this.bl_tree=new Kl.Buf16((2*U0+1)*2),En(this.dyn_ltree),En(this.dyn_dtree),En(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Kl.Buf16(W0+1),this.heap=new Kl.Buf16(2*bs+1),En(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Kl.Buf16(2*bs+1),En(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Ch(e){var n;return!e||!e.state?Fn(e,xr):(e.total_in=e.total_out=0,e.data_type=z0,n=e.state,n.pending=0,n.pending_out=0,n.wrap<0&&(n.wrap=-n.wrap),n.status=n.wrap?no:ta,e.adler=n.wrap===2?0:1,n.last_flush=ea,wr._tr_init(n),rn)}function Th(e){var n=Ch(e);return n===rn&&ep(e.state),n}function lp(e,n){return!e||!e.state||e.state.wrap!==2?xr:(e.state.gzhead=n,rn)}function Sh(e,n,t,l,a,o){if(!e)return xr;var s=1;if(n===F0&&(n=6),l<0?(s=0,l=-l):l>15&&(s=2,l-=16),a<1||a>O0||t!==ro||l<8||l>15||n<0||n>9||o<0||o>P0)return Fn(e,xr);l===8&&(l=9);var u=new tp;return e.state=u,u.strm=e,u.wrap=s,u.gzhead=null,u.w_bits=l,u.w_size=1<<u.w_bits,u.w_mask=u.w_size-1,u.hash_bits=a+7,u.hash_size=1<<u.hash_bits,u.hash_mask=u.hash_size-1,u.hash_shift=~~((u.hash_bits+Ut-1)/Ut),u.window=new Kl.Buf8(u.w_size*2),u.head=new Kl.Buf16(u.hash_size),u.prev=new Kl.Buf16(u.w_size),u.lit_bufsize=1<<a+6,u.pending_buf_size=u.lit_bufsize*4,u.pending_buf=new Kl.Buf8(u.pending_buf_size),u.d_buf=1*u.lit_bufsize,u.l_buf=(1+2)*u.lit_bufsize,u.level=n,u.strategy=o,u.method=t,Th(e)}function rp(e,n){return Sh(e,n,ro,B0,H0,L0)}function np(e,n){var t,l,a,o;if(!e||!e.state||n>bh||n<0)return e?Fn(e,xr):xr;if(l=e.state,!e.output||!e.input&&e.avail_in!==0||l.status===gi&&n!==Dn)return Fn(e,e.avail_out===0?ks:xr);if(l.strm=e,t=l.last_flush,l.last_flush=n,l.status===no)if(l.wrap===2)e.adler=0,Yt(l,31),Yt(l,139),Yt(l,8),l.gzhead?(Yt(l,(l.gzhead.text?1:0)+(l.gzhead.hcrc?2:0)+(l.gzhead.extra?4:0)+(l.gzhead.name?8:0)+(l.gzhead.comment?16:0)),Yt(l,l.gzhead.time&255),Yt(l,l.gzhead.time>>8&255),Yt(l,l.gzhead.time>>16&255),Yt(l,l.gzhead.time>>24&255),Yt(l,l.level===9?2:l.strategy>=lo||l.level<2?4:0),Yt(l,l.gzhead.os&255),l.gzhead.extra&&l.gzhead.extra.length&&(Yt(l,l.gzhead.extra.length&255),Yt(l,l.gzhead.extra.length>>8&255)),l.gzhead.hcrc&&(e.adler=An(e.adler,l.pending_buf,l.pending,0)),l.gzindex=0,l.status=ws):(Yt(l,0),Yt(l,0),Yt(l,0),Yt(l,0),Yt(l,0),Yt(l,l.level===9?2:l.strategy>=lo||l.level<2?4:0),Yt(l,X0),l.status=ta);else{var s=ro+(l.w_bits-8<<4)<<8,u=-1;l.strategy>=lo||l.level<2?u=0:l.level<6?u=1:l.level===6?u=2:u=3,s|=u<<6,l.strstart!==0&&(s|=Y0),s+=31-s%31,l.status=ta,vi(l,s),l.strstart!==0&&(vi(l,e.adler>>>16),vi(l,e.adler&65535)),e.adler=1}if(l.status===ws)if(l.gzhead.extra){for(a=l.pending;l.gzindex<(l.gzhead.extra.length&65535)&&!(l.pending===l.pending_buf_size&&(l.gzhead.hcrc&&l.pending>a&&(e.adler=An(e.adler,l.pending_buf,l.pending-a,a)),Nn(e),a=l.pending,l.pending===l.pending_buf_size));)Yt(l,l.gzhead.extra[l.gzindex]&255),l.gzindex++;l.gzhead.hcrc&&l.pending>a&&(e.adler=An(e.adler,l.pending_buf,l.pending-a,a)),l.gzindex===l.gzhead.extra.length&&(l.gzindex=0,l.status=ao)}else l.status=ao;if(l.status===ao)if(l.gzhead.name){a=l.pending;do{if(l.pending===l.pending_buf_size&&(l.gzhead.hcrc&&l.pending>a&&(e.adler=An(e.adler,l.pending_buf,l.pending-a,a)),Nn(e),a=l.pending,l.pending===l.pending_buf_size)){o=1;break}l.gzindex<l.gzhead.name.length?o=l.gzhead.name.charCodeAt(l.gzindex++)&255:o=0,Yt(l,o)}while(o!==0);l.gzhead.hcrc&&l.pending>a&&(e.adler=An(e.adler,l.pending_buf,l.pending-a,a)),o===0&&(l.gzindex=0,l.status=io)}else l.status=io;if(l.status===io)if(l.gzhead.comment){a=l.pending;do{if(l.pending===l.pending_buf_size&&(l.gzhead.hcrc&&l.pending>a&&(e.adler=An(e.adler,l.pending_buf,l.pending-a,a)),Nn(e),a=l.pending,l.pending===l.pending_buf_size)){o=1;break}l.gzindex<l.gzhead.comment.length?o=l.gzhead.comment.charCodeAt(l.gzindex++)&255:o=0,Yt(l,o)}while(o!==0);l.gzhead.hcrc&&l.pending>a&&(e.adler=An(e.adler,l.pending_buf,l.pending-a,a)),o===0&&(l.status=oo)}else l.status=oo;if(l.status===oo&&(l.gzhead.hcrc?(l.pending+2>l.pending_buf_size&&Nn(e),l.pending+2<=l.pending_buf_size&&(Yt(l,e.adler&255),Yt(l,e.adler>>8&255),e.adler=0,l.status=ta)):l.status=ta),l.pending!==0){if(Nn(e),e.avail_out===0)return l.last_flush=-1,rn}else if(e.avail_in===0&&xh(n)<=xh(t)&&n!==Dn)return Fn(e,ks);if(l.status===gi&&e.avail_in!==0)return Fn(e,ks);if(e.avail_in!==0||l.lookahead!==0||n!==ea&&l.status!==gi){var d=l.strategy===lo?Q0(l,n):l.strategy===N0?J0(l,n):Da[l.level].func(l,n);if((d===la||d===Ra)&&(l.status=gi),d===Il||d===la)return e.avail_out===0&&(l.last_flush=-1),rn;if(d===yi&&(n===A0?wr._tr_align(l):n!==bh&&(wr._tr_stored_block(l,0,0,!1),n===D0&&(En(l.head),l.lookahead===0&&(l.strstart=0,l.block_start=0,l.insert=0))),Nn(e),e.avail_out===0))return l.last_flush=-1,rn}return n!==Dn?rn:l.wrap<=0?wh:(l.wrap===2?(Yt(l,e.adler&255),Yt(l,e.adler>>8&255),Yt(l,e.adler>>16&255),Yt(l,e.adler>>24&255),Yt(l,e.total_in&255),Yt(l,e.total_in>>8&255),Yt(l,e.total_in>>16&255),Yt(l,e.total_in>>24&255)):(vi(l,e.adler>>>16),vi(l,e.adler&65535)),Nn(e),l.wrap>0&&(l.wrap=-l.wrap),l.pending!==0?rn:wh)}function ap(e){var n;return!e||!e.state?xr:(n=e.state.status,n!==no&&n!==ws&&n!==ao&&n!==io&&n!==oo&&n!==ta&&n!==gi?Fn(e,xr):(e.state=null,n===ta?Fn(e,M0):rn))}function ip(e,n){var t=n.length,l,a,o,s,u,d,f,m;if(!e||!e.state||(l=e.state,s=l.wrap,s===2||s===1&&l.status!==no||l.lookahead))return xr;for(s===1&&(e.adler=kh(e.adler,n,t,0)),l.wrap=0,t>=l.w_size&&(s===0&&(En(l.head),l.strstart=0,l.block_start=0,l.insert=0),m=new Kl.Buf8(l.w_size),Kl.arraySet(m,n,t-l.w_size,l.w_size,0),n=m,t=l.w_size),u=e.avail_in,d=e.next_in,f=e.input,e.avail_in=t,e.next_in=0,e.input=n,ra(l);l.lookahead>=Ut;){a=l.strstart,o=l.lookahead-(Ut-1);do l.ins_h=(l.ins_h<<l.hash_shift^l.window[a+Ut-1])&l.hash_mask,l.prev[a&l.w_mask]=l.head[l.ins_h],l.head[l.ins_h]=a,a++;while(--o);l.strstart=a,l.lookahead=Ut-1,ra(l)}return l.strstart+=l.lookahead,l.block_start=l.strstart,l.insert=l.lookahead,l.lookahead=0,l.match_length=l.prev_length=Ut-1,l.match_available=0,e.next_in=d,e.input=f,e.avail_in=u,l.wrap=s,rn}an.deflateInit=rp;an.deflateInit2=Sh;an.deflateReset=Th;an.deflateResetKeep=Ch;an.deflateSetHeader=lp;an.deflate=np;an.deflateEnd=ap;an.deflateSetDictionary=ip;an.deflateInfo="pako deflate (from Nodeca project)"});var _s=kl(Ma=>{"use strict";var so=fn(),Ih=!0,Rh=!0;try{String.fromCharCode.apply(null,[0])}catch(e){Ih=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){Rh=!1}var ki=new so.Buf8(256);for(var Pn=0;Pn<256;Pn++)ki[Pn]=Pn>=252?6:Pn>=248?5:Pn>=240?4:Pn>=224?3:Pn>=192?2:1;ki[254]=ki[254]=1;Ma.string2buf=function(e){var n,t,l,a,o,s=e.length,u=0;for(a=0;a<s;a++)t=e.charCodeAt(a),(t&64512)==55296&&a+1<s&&(l=e.charCodeAt(a+1),(l&64512)==56320&&(t=65536+(t-55296<<10)+(l-56320),a++)),u+=t<128?1:t<2048?2:t<65536?3:4;for(n=new so.Buf8(u),o=0,a=0;o<u;a++)t=e.charCodeAt(a),(t&64512)==55296&&a+1<s&&(l=e.charCodeAt(a+1),(l&64512)==56320&&(t=65536+(t-55296<<10)+(l-56320),a++)),t<128?n[o++]=t:t<2048?(n[o++]=192|t>>>6,n[o++]=128|t&63):t<65536?(n[o++]=224|t>>>12,n[o++]=128|t>>>6&63,n[o++]=128|t&63):(n[o++]=240|t>>>18,n[o++]=128|t>>>12&63,n[o++]=128|t>>>6&63,n[o++]=128|t&63);return n};function Ah(e,n){if(n<65534&&(e.subarray&&Rh||!e.subarray&&Ih))return String.fromCharCode.apply(null,so.shrinkBuf(e,n));for(var t="",l=0;l<n;l++)t+=String.fromCharCode(e[l]);return t}Ma.buf2binstring=function(e){return Ah(e,e.length)};Ma.binstring2buf=function(e){for(var n=new so.Buf8(e.length),t=0,l=n.length;t<l;t++)n[t]=e.charCodeAt(t);return n};Ma.buf2string=function(e,n){var t,l,a,o,s=n||e.length,u=new Array(s*2);for(l=0,t=0;t<s;){if(a=e[t++],a<128){u[l++]=a;continue}if(o=ki[a],o>4){u[l++]=65533,t+=o-1;continue}for(a&=o===2?31:o===3?15:7;o>1&&t<s;)a=a<<6|e[t++]&63,o--;if(o>1){u[l++]=65533;continue}a<65536?u[l++]=a:(a-=65536,u[l++]=55296|a>>10&1023,u[l++]=56320|a&1023)}return Ah(u,l)};Ma.utf8border=function(e,n){var t;for(n=n||e.length,n>e.length&&(n=e.length),t=n-1;t>=0&&(e[t]&192)==128;)t--;return t<0||t===0?n:t+ki[e[t]]>n?t:n}});var Cs=kl((hk,Dh)=>{"use strict";function op(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}Dh.exports=op});var Nh=kl(xi=>{"use strict";var bi=$h(),wi=fn(),Ts=_s(),Ss=to(),sp=Cs(),Mh=Object.prototype.toString,cp=0,$s=4,Fa=0,Fh=1,Eh=2,up=-1,hp=0,dp=8;function na(e){if(!(this instanceof na))return new na(e);this.options=wi.assign({level:up,method:dp,chunkSize:16384,windowBits:15,memLevel:8,strategy:hp,to:""},e||{});var n=this.options;n.raw&&n.windowBits>0?n.windowBits=-n.windowBits:n.gzip&&n.windowBits>0&&n.windowBits<16&&(n.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new sp,this.strm.avail_out=0;var t=bi.deflateInit2(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy);if(t!==Fa)throw new Error(Ss[t]);if(n.header&&bi.deflateSetHeader(this.strm,n.header),n.dictionary){var l;if(typeof n.dictionary=="string"?l=Ts.string2buf(n.dictionary):Mh.call(n.dictionary)==="[object ArrayBuffer]"?l=new Uint8Array(n.dictionary):l=n.dictionary,t=bi.deflateSetDictionary(this.strm,l),t!==Fa)throw new Error(Ss[t]);this._dict_set=!0}}na.prototype.push=function(e,n){var t=this.strm,l=this.options.chunkSize,a,o;if(this.ended)return!1;o=n===~~n?n:n===!0?$s:cp,typeof e=="string"?t.input=Ts.string2buf(e):Mh.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;do{if(t.avail_out===0&&(t.output=new wi.Buf8(l),t.next_out=0,t.avail_out=l),a=bi.deflate(t,o),a!==Fh&&a!==Fa)return this.onEnd(a),this.ended=!0,!1;(t.avail_out===0||t.avail_in===0&&(o===$s||o===Eh))&&(this.options.to==="string"?this.onData(Ts.buf2binstring(wi.shrinkBuf(t.output,t.next_out))):this.onData(wi.shrinkBuf(t.output,t.next_out)))}while((t.avail_in>0||t.avail_out===0)&&a!==Fh);return o===$s?(a=bi.deflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===Fa):(o===Eh&&(this.onEnd(Fa),t.avail_out=0),!0)};na.prototype.onData=function(e){this.chunks.push(e)};na.prototype.onEnd=function(e){e===Fa&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=wi.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Is(e,n){var t=new na(n);if(t.push(e,!0),t.err)throw t.msg||Ss[t.err];return t.result}function fp(e,n){return n=n||{},n.raw=!0,Is(e,n)}function mp(e,n){return n=n||{},n.gzip=!0,Is(e,n)}xi.Deflate=na;xi.deflate=Is;xi.deflateRaw=fp;xi.gzip=mp});var Lh=kl((fk,Ph)=>{"use strict";var co=30,pp=12;Ph.exports=function(n,t){var l,a,o,s,u,d,f,m,g,y,v,k,b,w,x,C,S,_,T,A,R,I,F,z,M;l=n.state,a=n.next_in,z=n.input,o=a+(n.avail_in-5),s=n.next_out,M=n.output,u=s-(t-n.avail_out),d=s+(n.avail_out-257),f=l.dmax,m=l.wsize,g=l.whave,y=l.wnext,v=l.window,k=l.hold,b=l.bits,w=l.lencode,x=l.distcode,C=(1<<l.lenbits)-1,S=(1<<l.distbits)-1;e:do{b<15&&(k+=z[a++]<<b,b+=8,k+=z[a++]<<b,b+=8),_=w[k&C];t:for(;;){if(T=_>>>24,k>>>=T,b-=T,T=_>>>16&255,T===0)M[s++]=_&65535;else if(T&16){A=_&65535,T&=15,T&&(b<T&&(k+=z[a++]<<b,b+=8),A+=k&(1<<T)-1,k>>>=T,b-=T),b<15&&(k+=z[a++]<<b,b+=8,k+=z[a++]<<b,b+=8),_=x[k&S];l:for(;;){if(T=_>>>24,k>>>=T,b-=T,T=_>>>16&255,T&16){if(R=_&65535,T&=15,b<T&&(k+=z[a++]<<b,b+=8,b<T&&(k+=z[a++]<<b,b+=8)),R+=k&(1<<T)-1,R>f){n.msg="invalid distance too far back",l.mode=co;break e}if(k>>>=T,b-=T,T=s-u,R>T){if(T=R-T,T>g&&l.sane){n.msg="invalid distance too far back",l.mode=co;break e}if(I=0,F=v,y===0){if(I+=m-T,T<A){A-=T;do M[s++]=v[I++];while(--T);I=s-R,F=M}}else if(y<T){if(I+=m+y-T,T-=y,T<A){A-=T;do M[s++]=v[I++];while(--T);if(I=0,y<A){T=y,A-=T;do M[s++]=v[I++];while(--T);I=s-R,F=M}}}else if(I+=y-T,T<A){A-=T;do M[s++]=v[I++];while(--T);I=s-R,F=M}for(;A>2;)M[s++]=F[I++],M[s++]=F[I++],M[s++]=F[I++],A-=3;A&&(M[s++]=F[I++],A>1&&(M[s++]=F[I++]))}else{I=s-R;do M[s++]=M[I++],M[s++]=M[I++],M[s++]=M[I++],A-=3;while(A>2);A&&(M[s++]=M[I++],A>1&&(M[s++]=M[I++]))}}else if((T&64)==0){_=x[(_&65535)+(k&(1<<T)-1)];continue l}else{n.msg="invalid distance code",l.mode=co;break e}break}}else if((T&64)==0){_=w[(_&65535)+(k&(1<<T)-1)];continue t}else if(T&32){l.mode=pp;break e}else{n.msg="invalid literal/length code",l.mode=co;break e}break}}while(a<o&&s<d);A=b>>3,a-=A,b-=A<<3,k&=(1<<b)-1,n.next_in=a,n.next_out=s,n.avail_in=a<o?5+(o-a):5-(a-o),n.avail_out=s<d?257+(d-s):257-(s-d),l.hold=k,l.bits=b}});var jh=kl((mk,qh)=>{"use strict";var zh=fn(),Ea=15,Oh=852,Bh=592,Hh=0,Rs=1,Vh=2,gp=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],yp=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],vp=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],kp=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];qh.exports=function(n,t,l,a,o,s,u,d){var f=d.bits,m=0,g=0,y=0,v=0,k=0,b=0,w=0,x=0,C=0,S=0,_,T,A,R,I,F=null,z=0,M,N=new zh.Buf16(Ea+1),E=new zh.Buf16(Ea+1),L=null,O=0,V,q,W;for(m=0;m<=Ea;m++)N[m]=0;for(g=0;g<a;g++)N[t[l+g]]++;for(k=f,v=Ea;v>=1&&N[v]===0;v--);if(k>v&&(k=v),v===0)return o[s++]=1<<24|64<<16|0,o[s++]=1<<24|64<<16|0,d.bits=1,0;for(y=1;y<v&&N[y]===0;y++);for(k<y&&(k=y),x=1,m=1;m<=Ea;m++)if(x<<=1,x-=N[m],x<0)return-1;if(x>0&&(n===Hh||v!==1))return-1;for(E[1]=0,m=1;m<Ea;m++)E[m+1]=E[m]+N[m];for(g=0;g<a;g++)t[l+g]!==0&&(u[E[t[l+g]]++]=g);if(n===Hh?(F=L=u,M=19):n===Rs?(F=gp,z-=257,L=yp,O-=257,M=256):(F=vp,L=kp,M=-1),S=0,g=0,m=y,I=s,b=k,w=0,A=-1,C=1<<k,R=C-1,n===Rs&&C>Oh||n===Vh&&C>Bh)return 1;for(;;){V=m-w,u[g]<M?(q=0,W=u[g]):u[g]>M?(q=L[O+u[g]],W=F[z+u[g]]):(q=32+64,W=0),_=1<<m-w,T=1<<b,y=T;do T-=_,o[I+(S>>w)+T]=V<<24|q<<16|W|0;while(T!==0);for(_=1<<m-1;S&_;)_>>=1;if(_!==0?(S&=_-1,S+=_):S=0,g++,--N[m]==0){if(m===v)break;m=t[l+u[g]]}if(m>k&&(S&R)!==A){for(w===0&&(w=k),I+=y,b=m-w,x=1<<b;b+w<v&&(x-=N[b+w],!(x<=0));)b++,x<<=1;if(C+=1<<b,n===Rs&&C>Oh||n===Vh&&C>Bh)return 1;A=S&R,o[A]=k<<24|b<<16|I-s|0}}return S!==0&&(o[I+S]=m-w<<24|64<<16|0),d.bits=k,0}});var Td=kl(Lr=>{"use strict";var mr=fn(),As=ys(),on=vs(),bp=Lh(),_i=jh(),wp=0,Uh=1,Gh=2,Wh=4,xp=5,uo=6,aa=0,_p=1,Cp=2,_r=-2,Yh=-3,Ds=-4,Tp=-5,Xh=8,Kh=1,Zh=2,Jh=3,Qh=4,ed=5,td=6,ld=7,rd=8,nd=9,ad=10,ho=11,pn=12,Ms=13,id=14,Fs=15,od=16,sd=17,cd=18,ud=19,fo=20,mo=21,hd=22,dd=23,fd=24,md=25,pd=26,Es=27,gd=28,yd=29,fl=30,Ns=31,Sp=32,$p=852,Ip=592,Rp=15,Ap=Rp;function vd(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function Dp(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new mr.Buf16(320),this.work=new mr.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function kd(e){var n;return!e||!e.state?_r:(n=e.state,e.total_in=e.total_out=n.total=0,e.msg="",n.wrap&&(e.adler=n.wrap&1),n.mode=Kh,n.last=0,n.havedict=0,n.dmax=32768,n.head=null,n.hold=0,n.bits=0,n.lencode=n.lendyn=new mr.Buf32($p),n.distcode=n.distdyn=new mr.Buf32(Ip),n.sane=1,n.back=-1,aa)}function bd(e){var n;return!e||!e.state?_r:(n=e.state,n.wsize=0,n.whave=0,n.wnext=0,kd(e))}function wd(e,n){var t,l;return!e||!e.state||(l=e.state,n<0?(t=0,n=-n):(t=(n>>4)+1,n<48&&(n&=15)),n&&(n<8||n>15))?_r:(l.window!==null&&l.wbits!==n&&(l.window=null),l.wrap=t,l.wbits=n,bd(e))}function xd(e,n){var t,l;return e?(l=new Dp,e.state=l,l.window=null,t=wd(e,n),t!==aa&&(e.state=null),t):_r}function Mp(e){return xd(e,Ap)}var _d=!0,Ps,Ls;function Fp(e){if(_d){var n;for(Ps=new mr.Buf32(512),Ls=new mr.Buf32(32),n=0;n<144;)e.lens[n++]=8;for(;n<256;)e.lens[n++]=9;for(;n<280;)e.lens[n++]=7;for(;n<288;)e.lens[n++]=8;for(_i(Uh,e.lens,0,288,Ps,0,e.work,{bits:9}),n=0;n<32;)e.lens[n++]=5;_i(Gh,e.lens,0,32,Ls,0,e.work,{bits:5}),_d=!1}e.lencode=Ps,e.lenbits=9,e.distcode=Ls,e.distbits=5}function Cd(e,n,t,l){var a,o=e.state;return o.window===null&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new mr.Buf8(o.wsize)),l>=o.wsize?(mr.arraySet(o.window,n,t-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(a=o.wsize-o.wnext,a>l&&(a=l),mr.arraySet(o.window,n,t-l,a,o.wnext),l-=a,l?(mr.arraySet(o.window,n,t-l,l,0),o.wnext=l,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=a))),0}function Ep(e,n){var t,l,a,o,s,u,d,f,m,g,y,v,k,b,w=0,x,C,S,_,T,A,R,I,F=new mr.Buf8(4),z,M,N=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return _r;t=e.state,t.mode===pn&&(t.mode=Ms),s=e.next_out,a=e.output,d=e.avail_out,o=e.next_in,l=e.input,u=e.avail_in,f=t.hold,m=t.bits,g=u,y=d,I=aa;e:for(;;)switch(t.mode){case Kh:if(t.wrap===0){t.mode=Ms;break}for(;m<16;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}if(t.wrap&2&&f===35615){t.check=0,F[0]=f&255,F[1]=f>>>8&255,t.check=on(t.check,F,2,0),f=0,m=0,t.mode=Zh;break}if(t.flags=0,t.head&&(t.head.done=!1),!(t.wrap&1)||(((f&255)<<8)+(f>>8))%31){e.msg="incorrect header check",t.mode=fl;break}if((f&15)!==Xh){e.msg="unknown compression method",t.mode=fl;break}if(f>>>=4,m-=4,R=(f&15)+8,t.wbits===0)t.wbits=R;else if(R>t.wbits){e.msg="invalid window size",t.mode=fl;break}t.dmax=1<<R,e.adler=t.check=1,t.mode=f&512?ad:pn,f=0,m=0;break;case Zh:for(;m<16;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}if(t.flags=f,(t.flags&255)!==Xh){e.msg="unknown compression method",t.mode=fl;break}if(t.flags&57344){e.msg="unknown header flags set",t.mode=fl;break}t.head&&(t.head.text=f>>8&1),t.flags&512&&(F[0]=f&255,F[1]=f>>>8&255,t.check=on(t.check,F,2,0)),f=0,m=0,t.mode=Jh;case Jh:for(;m<32;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}t.head&&(t.head.time=f),t.flags&512&&(F[0]=f&255,F[1]=f>>>8&255,F[2]=f>>>16&255,F[3]=f>>>24&255,t.check=on(t.check,F,4,0)),f=0,m=0,t.mode=Qh;case Qh:for(;m<16;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}t.head&&(t.head.xflags=f&255,t.head.os=f>>8),t.flags&512&&(F[0]=f&255,F[1]=f>>>8&255,t.check=on(t.check,F,2,0)),f=0,m=0,t.mode=ed;case ed:if(t.flags&1024){for(;m<16;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}t.length=f,t.head&&(t.head.extra_len=f),t.flags&512&&(F[0]=f&255,F[1]=f>>>8&255,t.check=on(t.check,F,2,0)),f=0,m=0}else t.head&&(t.head.extra=null);t.mode=td;case td:if(t.flags&1024&&(v=t.length,v>u&&(v=u),v&&(t.head&&(R=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Array(t.head.extra_len)),mr.arraySet(t.head.extra,l,o,v,R)),t.flags&512&&(t.check=on(t.check,l,v,o)),u-=v,o+=v,t.length-=v),t.length))break e;t.length=0,t.mode=ld;case ld:if(t.flags&2048){if(u===0)break e;v=0;do R=l[o+v++],t.head&&R&&t.length<65536&&(t.head.name+=String.fromCharCode(R));while(R&&v<u);if(t.flags&512&&(t.check=on(t.check,l,v,o)),u-=v,o+=v,R)break e}else t.head&&(t.head.name=null);t.length=0,t.mode=rd;case rd:if(t.flags&4096){if(u===0)break e;v=0;do R=l[o+v++],t.head&&R&&t.length<65536&&(t.head.comment+=String.fromCharCode(R));while(R&&v<u);if(t.flags&512&&(t.check=on(t.check,l,v,o)),u-=v,o+=v,R)break e}else t.head&&(t.head.comment=null);t.mode=nd;case nd:if(t.flags&512){for(;m<16;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}if(f!==(t.check&65535)){e.msg="header crc mismatch",t.mode=fl;break}f=0,m=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),e.adler=t.check=0,t.mode=pn;break;case ad:for(;m<32;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}e.adler=t.check=vd(f),f=0,m=0,t.mode=ho;case ho:if(t.havedict===0)return e.next_out=s,e.avail_out=d,e.next_in=o,e.avail_in=u,t.hold=f,t.bits=m,Cp;e.adler=t.check=1,t.mode=pn;case pn:if(n===xp||n===uo)break e;case Ms:if(t.last){f>>>=m&7,m-=m&7,t.mode=Es;break}for(;m<3;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}switch(t.last=f&1,f>>>=1,m-=1,f&3){case 0:t.mode=id;break;case 1:if(Fp(t),t.mode=fo,n===uo){f>>>=2,m-=2;break e}break;case 2:t.mode=sd;break;case 3:e.msg="invalid block type",t.mode=fl}f>>>=2,m-=2;break;case id:for(f>>>=m&7,m-=m&7;m<32;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}if((f&65535)!=(f>>>16^65535)){e.msg="invalid stored block lengths",t.mode=fl;break}if(t.length=f&65535,f=0,m=0,t.mode=Fs,n===uo)break e;case Fs:t.mode=od;case od:if(v=t.length,v){if(v>u&&(v=u),v>d&&(v=d),v===0)break e;mr.arraySet(a,l,o,v,s),u-=v,o+=v,d-=v,s+=v,t.length-=v;break}t.mode=pn;break;case sd:for(;m<14;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}if(t.nlen=(f&31)+257,f>>>=5,m-=5,t.ndist=(f&31)+1,f>>>=5,m-=5,t.ncode=(f&15)+4,f>>>=4,m-=4,t.nlen>286||t.ndist>30){e.msg="too many length or distance symbols",t.mode=fl;break}t.have=0,t.mode=cd;case cd:for(;t.have<t.ncode;){for(;m<3;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}t.lens[N[t.have++]]=f&7,f>>>=3,m-=3}for(;t.have<19;)t.lens[N[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,z={bits:t.lenbits},I=_i(wp,t.lens,0,19,t.lencode,0,t.work,z),t.lenbits=z.bits,I){e.msg="invalid code lengths set",t.mode=fl;break}t.have=0,t.mode=ud;case ud:for(;t.have<t.nlen+t.ndist;){for(;w=t.lencode[f&(1<<t.lenbits)-1],x=w>>>24,C=w>>>16&255,S=w&65535,!(x<=m);){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}if(S<16)f>>>=x,m-=x,t.lens[t.have++]=S;else{if(S===16){for(M=x+2;m<M;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}if(f>>>=x,m-=x,t.have===0){e.msg="invalid bit length repeat",t.mode=fl;break}R=t.lens[t.have-1],v=3+(f&3),f>>>=2,m-=2}else if(S===17){for(M=x+3;m<M;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}f>>>=x,m-=x,R=0,v=3+(f&7),f>>>=3,m-=3}else{for(M=x+7;m<M;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}f>>>=x,m-=x,R=0,v=11+(f&127),f>>>=7,m-=7}if(t.have+v>t.nlen+t.ndist){e.msg="invalid bit length repeat",t.mode=fl;break}for(;v--;)t.lens[t.have++]=R}}if(t.mode===fl)break;if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block",t.mode=fl;break}if(t.lenbits=9,z={bits:t.lenbits},I=_i(Uh,t.lens,0,t.nlen,t.lencode,0,t.work,z),t.lenbits=z.bits,I){e.msg="invalid literal/lengths set",t.mode=fl;break}if(t.distbits=6,t.distcode=t.distdyn,z={bits:t.distbits},I=_i(Gh,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,z),t.distbits=z.bits,I){e.msg="invalid distances set",t.mode=fl;break}if(t.mode=fo,n===uo)break e;case fo:t.mode=mo;case mo:if(u>=6&&d>=258){e.next_out=s,e.avail_out=d,e.next_in=o,e.avail_in=u,t.hold=f,t.bits=m,bp(e,y),s=e.next_out,a=e.output,d=e.avail_out,o=e.next_in,l=e.input,u=e.avail_in,f=t.hold,m=t.bits,t.mode===pn&&(t.back=-1);break}for(t.back=0;w=t.lencode[f&(1<<t.lenbits)-1],x=w>>>24,C=w>>>16&255,S=w&65535,!(x<=m);){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}if(C&&(C&240)==0){for(_=x,T=C,A=S;w=t.lencode[A+((f&(1<<_+T)-1)>>_)],x=w>>>24,C=w>>>16&255,S=w&65535,!(_+x<=m);){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}f>>>=_,m-=_,t.back+=_}if(f>>>=x,m-=x,t.back+=x,t.length=S,C===0){t.mode=pd;break}if(C&32){t.back=-1,t.mode=pn;break}if(C&64){e.msg="invalid literal/length code",t.mode=fl;break}t.extra=C&15,t.mode=hd;case hd:if(t.extra){for(M=t.extra;m<M;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}t.length+=f&(1<<t.extra)-1,f>>>=t.extra,m-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=dd;case dd:for(;w=t.distcode[f&(1<<t.distbits)-1],x=w>>>24,C=w>>>16&255,S=w&65535,!(x<=m);){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}if((C&240)==0){for(_=x,T=C,A=S;w=t.distcode[A+((f&(1<<_+T)-1)>>_)],x=w>>>24,C=w>>>16&255,S=w&65535,!(_+x<=m);){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}f>>>=_,m-=_,t.back+=_}if(f>>>=x,m-=x,t.back+=x,C&64){e.msg="invalid distance code",t.mode=fl;break}t.offset=S,t.extra=C&15,t.mode=fd;case fd:if(t.extra){for(M=t.extra;m<M;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}t.offset+=f&(1<<t.extra)-1,f>>>=t.extra,m-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back",t.mode=fl;break}t.mode=md;case md:if(d===0)break e;if(v=y-d,t.offset>v){if(v=t.offset-v,v>t.whave&&t.sane){e.msg="invalid distance too far back",t.mode=fl;break}v>t.wnext?(v-=t.wnext,k=t.wsize-v):k=t.wnext-v,v>t.length&&(v=t.length),b=t.window}else b=a,k=s-t.offset,v=t.length;v>d&&(v=d),d-=v,t.length-=v;do a[s++]=b[k++];while(--v);t.length===0&&(t.mode=mo);break;case pd:if(d===0)break e;a[s++]=t.length,d--,t.mode=mo;break;case Es:if(t.wrap){for(;m<32;){if(u===0)break e;u--,f|=l[o++]<<m,m+=8}if(y-=d,e.total_out+=y,t.total+=y,y&&(e.adler=t.check=t.flags?on(t.check,a,y,s-y):As(t.check,a,y,s-y)),y=d,(t.flags?f:vd(f))!==t.check){e.msg="incorrect data check",t.mode=fl;break}f=0,m=0}t.mode=gd;case gd:if(t.wrap&&t.flags){for(;m<32;){if(u===0)break e;u--,f+=l[o++]<<m,m+=8}if(f!==(t.total&4294967295)){e.msg="incorrect length check",t.mode=fl;break}f=0,m=0}t.mode=yd;case yd:I=_p;break e;case fl:I=Yh;break e;case Ns:return Ds;case Sp:default:return _r}return e.next_out=s,e.avail_out=d,e.next_in=o,e.avail_in=u,t.hold=f,t.bits=m,(t.wsize||y!==e.avail_out&&t.mode<fl&&(t.mode<Es||n!==Wh))&&Cd(e,e.output,e.next_out,y-e.avail_out)?(t.mode=Ns,Ds):(g-=e.avail_in,y-=e.avail_out,e.total_in+=g,e.total_out+=y,t.total+=y,t.wrap&&y&&(e.adler=t.check=t.flags?on(t.check,a,y,e.next_out-y):As(t.check,a,y,e.next_out-y)),e.data_type=t.bits+(t.last?64:0)+(t.mode===pn?128:0)+(t.mode===fo||t.mode===Fs?256:0),(g===0&&y===0||n===Wh)&&I===aa&&(I=Tp),I)}function Np(e){if(!e||!e.state)return _r;var n=e.state;return n.window&&(n.window=null),e.state=null,aa}function Pp(e,n){var t;return!e||!e.state||(t=e.state,(t.wrap&2)==0)?_r:(t.head=n,n.done=!1,aa)}function Lp(e,n){var t=n.length,l,a,o;return!e||!e.state||(l=e.state,l.wrap!==0&&l.mode!==ho)?_r:l.mode===ho&&(a=1,a=As(a,n,t,0),a!==l.check)?Yh:(o=Cd(e,n,t,t),o?(l.mode=Ns,Ds):(l.havedict=1,aa))}Lr.inflateReset=bd;Lr.inflateReset2=wd;Lr.inflateResetKeep=kd;Lr.inflateInit=Mp;Lr.inflateInit2=xd;Lr.inflate=Ep;Lr.inflateEnd=Np;Lr.inflateGetHeader=Pp;Lr.inflateSetDictionary=Lp;Lr.inflateInfo="pako inflate (from Nodeca project)"});var zs=kl((gk,Sd)=>{"use strict";Sd.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}});var Id=kl((yk,$d)=>{"use strict";function zp(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}$d.exports=zp});var Ad=kl(Ti=>{"use strict";var Na=Td(),Ci=fn(),po=_s(),bl=zs(),Os=to(),Op=Cs(),Bp=Id(),Rd=Object.prototype.toString;function ia(e){if(!(this instanceof ia))return new ia(e);this.options=Ci.assign({chunkSize:16384,windowBits:0,to:""},e||{});var n=this.options;n.raw&&n.windowBits>=0&&n.windowBits<16&&(n.windowBits=-n.windowBits,n.windowBits===0&&(n.windowBits=-15)),n.windowBits>=0&&n.windowBits<16&&!(e&&e.windowBits)&&(n.windowBits+=32),n.windowBits>15&&n.windowBits<48&&(n.windowBits&15)==0&&(n.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Op,this.strm.avail_out=0;var t=Na.inflateInit2(this.strm,n.windowBits);if(t!==bl.Z_OK)throw new Error(Os[t]);if(this.header=new Bp,Na.inflateGetHeader(this.strm,this.header),n.dictionary&&(typeof n.dictionary=="string"?n.dictionary=po.string2buf(n.dictionary):Rd.call(n.dictionary)==="[object ArrayBuffer]"&&(n.dictionary=new Uint8Array(n.dictionary)),n.raw&&(t=Na.inflateSetDictionary(this.strm,n.dictionary),t!==bl.Z_OK)))throw new Error(Os[t])}ia.prototype.push=function(e,n){var t=this.strm,l=this.options.chunkSize,a=this.options.dictionary,o,s,u,d,f,m=!1;if(this.ended)return!1;s=n===~~n?n:n===!0?bl.Z_FINISH:bl.Z_NO_FLUSH,typeof e=="string"?t.input=po.binstring2buf(e):Rd.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;do{if(t.avail_out===0&&(t.output=new Ci.Buf8(l),t.next_out=0,t.avail_out=l),o=Na.inflate(t,bl.Z_NO_FLUSH),o===bl.Z_NEED_DICT&&a&&(o=Na.inflateSetDictionary(this.strm,a)),o===bl.Z_BUF_ERROR&&m===!0&&(o=bl.Z_OK,m=!1),o!==bl.Z_STREAM_END&&o!==bl.Z_OK)return this.onEnd(o),this.ended=!0,!1;t.next_out&&(t.avail_out===0||o===bl.Z_STREAM_END||t.avail_in===0&&(s===bl.Z_FINISH||s===bl.Z_SYNC_FLUSH))&&(this.options.to==="string"?(u=po.utf8border(t.output,t.next_out),d=t.next_out-u,f=po.buf2string(t.output,u),t.next_out=d,t.avail_out=l-d,d&&Ci.arraySet(t.output,t.output,u,d,0),this.onData(f)):this.onData(Ci.shrinkBuf(t.output,t.next_out))),t.avail_in===0&&t.avail_out===0&&(m=!0)}while((t.avail_in>0||t.avail_out===0)&&o!==bl.Z_STREAM_END);return o===bl.Z_STREAM_END&&(s=bl.Z_FINISH),s===bl.Z_FINISH?(o=Na.inflateEnd(this.strm),this.onEnd(o),this.ended=!0,o===bl.Z_OK):(s===bl.Z_SYNC_FLUSH&&(this.onEnd(bl.Z_OK),t.avail_out=0),!0)};ia.prototype.onData=function(e){this.chunks.push(e)};ia.prototype.onEnd=function(e){e===bl.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Ci.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function Bs(e,n){var t=new ia(n);if(t.push(e,!0),t.err)throw t.msg||Os[t.err];return t.result}function Hp(e,n){return n=n||{},n.raw=!0,Bs(e,n)}Ti.Inflate=ia;Ti.inflate=Bs;Ti.inflateRaw=Hp;Ti.ungzip=Bs});var Fd=kl((kk,Md)=>{"use strict";var Vp=fn().assign,qp=Nh(),jp=Ad(),Up=zs(),Dd={};Vp(Dd,qp,jp,Up);Md.exports=Dd});function Pa(e){$("#luckysheet-cell-loading").find("span").text(e).end().show()}function Si(){$("#luckysheet-cell-loading").hide()}var Hs=$e(()=>{});var Gp,we,Qt=$e(()=>{Ta();qt();Zt();Xt();Dt();Xe();Gp={deepCopyFlowDataState:!1,deepCopyFlowDataCache:"",deepCopyFlowDataWorker:null,deepCopyFlowData:function(e){let n=this;return n.deepCopyFlowDataState?(n.deepCopyFlowDataWorker!=null&&n.deepCopyFlowDataWorker.terminate(),n.deepCopyFlowDataCache):(e==null&&(e=h.flowdata),$.extend(!0,[],e))},webWorkerFlowDataCache:function(e){let n=this;try{n.deepCopyFlowDataWorker!=null&&n.deepCopyFlowDataWorker.terminate();let t="data:text/javascript;chartset=US-ASCII,onmessage = function (e) { postMessage(e.data); };";n.deepCopyFlowDataState=!1;let l;if(fr.isIE()==1){let a="self.onmessage=function(e){postMessage(e.data);}";l=new Worker("./plugins/Worker-helper.js"),l.postMessage(a)}else l=new Worker(t);n.deepCopyFlowDataWorker=l,l.postMessage(e),l.onmessage=function(a){n.deepCopyFlowDataCache=a.data,n.deepCopyFlowDataState=!0}}catch(t){n.deepCopyFlowDataCache=$.extend(!0,[],e)}},controlHandler:function(e,n){let l=this.deepCopyFlowData(h.flowdata),a=n||h.luckysheet_select_save[h.luckysheet_select_save.length-1],o=a.row==null?0:a.row[0],s=a.column==null?0:a.column[0],u=e.length,d=e[0].length,f=o+u-l.length,m=s+d-l[0].length;(f>0||m>0)&&(l=Vt([].concat(l),f,m,!0));for(let g=0;g<u;g++){let y=[].concat(l[g+o]);for(let v=0;v<d;v++){let k="";e[g]!=null&&e[g][v]!=null&&(k=e[g][v]),y[v+s]=k}l[g+o]=y}f>0||m>0?Rl(l[0].length,l.length,l,null,h.luckysheet_select_save,"datachangeAll"):La(l,h.luckysheet_select_save)},clearRangeByindex:function(e,n,t,l,a){let o=K(a),s=$.extend(!0,[],h.luckysheetfile[o].data);for(let u=e;u<=n;u++){let d=[].concat(s[u]);for(let f=t;f<=l;f++)p.delFunctionGroup(u,f),p.execFunctionGroup(u,f,""),d[f]=null;s[u]=d}if(a==h.currentSheetIndex){let u=n-e+1,d=l-t+1;u>5e3?Ze(s,[{row:[e,n],column:[t,l]}]):La(s,{row:[e,n],column:[t,l]})}else h.luckysheetfile[o].data=s},controlHandlerD:function(e){let t=this.deepCopyFlowData(h.flowdata),l=h.luckysheet_select_save[h.luckysheet_select_save.length-1],a=l.row[0],o=l.row[1],s=l.column[0],u=l.column[1],d=e.length,f=e[0].length,m=a+d-t.length,g=s+f-t[0].length;(m>0||g>0)&&(t=Vt([].concat(t),m,g,!0));for(let v=a;v<=o;v++)for(let k=s;k<=u;k++)t[v][k]=null;for(let v=0;v<d;v++)for(let k=0;k<f;k++)t[a+v][s+k]=e[v][k];let y=[{row:[a,o],column:[s,u]},{row:[a,a+d-1],column:[s,s+f-1]}];Ze(t,y)}},we=Gp});function $i(e){let n={};if(P(e)=="array")for(let t=0;t<e.length;t++){let l=e[t].r,a=e[t].c,o=e[t].f;if(h.flowdata[l][a]!=null&&h.flowdata[l][a].f!=null&&h.flowdata[l][a].f==o){l+"_"+a in n&&(n=Wp(n,l,a));let s=e[t].data,u=s.length,d=1;if(P(s[0])=="array"&&(d=s[0].length),Yp({row:[l,l+u-1],column:[a,a+d-1]},h.flowdata))for(let f=0;f<u;f++)for(let m=0;m<d;m++){let g=l+f,y=a+m;P(s[0])=="array"?n[g+"_"+y]={v:s[f][m],r:l,c:a}:n[g+"_"+y]={v:s[f],r:l,c:a}}else n[l+"_"+a]={v:"#SPILL!",r:l,c:a}}}return n}function Wp(e,n,t){let l=e[n+"_"+t].r,a=e[n+"_"+t].c;for(let o in e)o==l+"_"+a?e[o].v="#SPILL!":e[o].r==l&&e[o].c==a&&delete e[o];return e}function Yp(e,n){let t=e.row[0],l=e.row[1],a=e.column[0],o=e.column[1],s=!0;for(let u=t;u<=l;u++)for(let d=a;d<=o;d++)if(!(u==t&&d==a)&&n[u][d]!=null&&n[u][d].v!=null&&n[u][d].v.toString()!=""){s=!1;break}return s}function Ed(e,n){let t=h.luckysheetfile[K(h.currentSheetIndex)].dynamicArray==null?[]:h.luckysheetfile[K(h.currentSheetIndex)].dynamicArray,l=$i(t);if(e+"_"+n in l&&l[e+"_"+n].v!="#SPILL!"){let a=l[e+"_"+n].r,o=l[e+"_"+n].c,s=h.flowdata[a][o].f,u,d;for(let b=0;b<t.length;b++)t[b].f==s&&(u=t[b].data.length,P(t[b].data[0])=="array"?d=t[b].data[0].length:d=1);let f=a+u-1,m=o+d-1,g=h.visibledatarow[f],y=a-1==-1?0:h.visibledatarow[a-1],v=h.visibledatacolumn[m],k=o-1==-1?0:h.visibledatacolumn[o-1];$("#luckysheet-dynamicArray-hightShow").css({left:k,width:v-k-1,top:y,height:g-y-1,display:"block"})}else $("#luckysheet-dynamicArray-hightShow").hide()}var go=$e(()=>{ht();Dt();Xe()});function Cr(e){let n;if(document.createRange)if(e.innerHTML!=e.innerText||e.innerHTML=="")e.focus(),n=window.getSelection(),n.selectAllChildren(e),n.collapseToEnd();else{let t=e.innerText.length;n=document.createRange(),n.selectNodeContents(e),n.setStart(e.childNodes[0],t),n.collapse(!0);let l=window.getSelection();l.removeAllRanges(),l.addRange(n)}else document.selection&&(n=document.body.createTextRange(),n.moveToElementText(e),n.collapse(!1),n.select())}function Tr(e){e.target.classList&&(e.target.classList.contains("luckysheet-cols-rows-shift-left")||e.target.classList.contains("luckysheet-cols-rows-shift-right"))||!$(e.target).hasClass("luckysheet-mousedown-cancel")&&$(e.target).filter("[class*='sp-palette']").length==0&&$(e.target).filter("[class*='sp-thumb']").length==0&&$(e.target).filter("[class*='sp-']").length==0&&($("#luckysheet-rightclick-menu").hide(),$("#luckysheet-cols-h-hover").hide(),$("#luckysheet-cols-menu-btn").hide(),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu, #luckysheet-user-menu").hide(),$("body > .luckysheet-filter-menu, body > .luckysheet-filter-submenu, body > .luckysheet-cols-menu").hide(),h.luckysheet_cols_menu_status=!1)}function Nd(e){if(window.getSelection){let n=document.createRange();n.selectNodeContents(e),n.startContainer&&yo(n.startContainer)&&(window.getSelection().removeAllRanges(),window.getSelection().addRange(n))}else if(document.selection){let n=document.body.createTextRange();n.moveToElementText(e),n.select()}}function Pd(e){if(window.getSelection){let t=document.createRange();var n=e.firstChild;t.setStart(n,0),t.setEnd(n,n.length),t.startContainer&&yo(t.startContainer)&&(window.getSelection().removeAllRanges(),window.getSelection().addRange(t))}else if(document.selection){let t=document.body.createTextRange();t.moveToElementText(e),t.select()}}function Ld(e,n){if(window.getSelection){let a=document.createRange();var t=e.firstChild,l=n.firstChild;a.setStart(t,0),a.setEnd(l,l.length),a.startContainer&&yo(a.startContainer)&&(window.getSelection().removeAllRanges(),window.getSelection().addRange(a))}}function zd(e,n){if(window.getSelection){let l=document.createRange();var t=e.firstChild;n>t.length?n=t.length:n<0&&(n=0),l.setStart(t,n),l.collapse(!0),l.startContainer&&yo(l.startContainer)&&(window.getSelection().removeAllRanges(),window.getSelection().addRange(l))}}function yo(e){return e===document.body?!1:document.body.contains(e)}var gn=$e(()=>{Xe()});function xl(e){return e&&e.ct!=null&&e.ct.t=="inlineStr"&&e.ct.s!=null&&e.ct.s.length>0}function za(e){return e!=null&&e.t=="inlineStr"&&e.s!=null&&e.s.length>0}function Hd(e,n,t,l){var a=window.getSelection(),o;a.type=="None"?o=h.inlineStringEditRange:o=a.getRangeAt(0);let s=o.commonAncestorContainer,u;s.id=="luckysheet-rich-text-editor"?u=$(s):u=$(s).closest("#luckysheet-rich-text-editor");let d=$(s).closest("#luckysheet-functionbox-cell");if(u.length==0&&d.length==0&&h.inlineStringEditRange!=null&&(o=h.inlineStringEditRange,s=o.commonAncestorContainer,s.id=="luckysheet-rich-text-editor"?u=$(s):u=$(s).closest("#luckysheet-rich-text-editor"),d=$(s).closest("#luckysheet-functionbox-cell")),o.collapsed===!0)return;let f=o.endContainer,m=o.startContainer,g=o.endOffset,y=o.startOffset;if(u.length>0){if(m===f){let v=m.parentNode,k,b=!1,w=v.innerText;u.html().substr(0,5)!="<span"&&(b=!0);let C="",S="",_="",T=0,A=y,R=g,I=w.length;C=w.substring(T,A),S=w.substring(A,R),_=w.substring(R,I);let F="";if(C!=""){let M=v.style.cssText;if(b){let N=$(v).closest("#luckysheet-input-box").get(0);N!=null&&(M=qs(N.style.cssText,M))}F+="<span style='"+M+"'>"+C+"</span>"}if(S!=""){let M=vo(v.style.cssText,n,t);if(b){let N=$(v).closest("#luckysheet-input-box").get(0);N!=null&&(M=qs(N.style.cssText,M))}F+="<span style='"+M+"'>"+S+"</span>"}if(_!=""){let M=v.style.cssText;if(b){let N=$(v).closest("#luckysheet-input-box").get(0);N!=null&&(M=qs(N.style.cssText,M))}F+="<span style='"+M+"'>"+_+"</span>"}m.parentNode.tagName=="SPAN"?(k=u.find("span").index(v),$(v).replaceWith(F)):(k=0,$(v).html(F));let z=0;T==A?z=k:z=k+1,Pd(u.find("span").get(z))}else if(m.parentNode.tagName=="SPAN"&&f.parentNode.tagName=="SPAN"){let v=m.parentNode,k,b=f.parentNode,w;k=u.find("span").index(v),w=u.find("span").index(b);let x=v.innerHTML,C=b.innerHTML,S="",_="",T="",A="",R=0,I=y,F=g,z=C.length;S=x.substring(R,I),_=x.substring(I,x.length),T=C.substring(0,F),A=C.substring(F,z);let M=u.find("span"),N=M.slice(k,w+1),E="";for(let V=0;V<k;V++){let q=M.get(V),W=q.innerHTML;E+="<span style='"+q.style.cssText+"'>"+W+"</span>"}if(S!=""&&(E+="<span style='"+v.style.cssText+"'>"+S+"</span>"),_!=""){let V=vo(v.style.cssText,n,t);E+="<span style='"+V+"'>"+_+"</span>"}if(k<w)for(let V=k+1;V<w;V++){let q=M.get(V),W=q.innerHTML,Y=vo(q.style.cssText,n,t);E+="<span style='"+Y+"'>"+W+"</span>"}if(T!=""){let V=vo(b.style.cssText,n,t);E+="<span style='"+V+"'>"+T+"</span>"}A!=""&&(E+="<span style='"+b.style.cssText+"'>"+A+"</span>");for(let V=w+1;V<M.length;V++){let q=M.get(V),W=q.innerHTML;E+="<span style='"+q.style.cssText+"'>"+W+"</span>"}u.html(E);let L,O;R==I?(L=k,O=w):(L=k+1,O=w+1),M=u.find("span"),Ld(M.get(L),M.get(O))}}else d.length>0}function Vd(e){var n=window.getSelection();if(n.type=="None")return;var t=n.getRangeAt(0);let l=t.commonAncestorContainer,a;l.id=="luckysheet-rich-text-editor"?a=$(l):a=$(l).closest("#luckysheet-rich-text-editor");let o=$(l).closest("#luckysheet-functionbox-cell"),s=t.endContainer,u=t.startContainer,d=t.endOffset,f=t.startOffset;if(a.length>0){let m=u.parentNode;u.id=="luckysheet-rich-text-editor"&&(m=$(u).find("span"),m.length==0&&(u.innerHTML=`<span>${u.innerText}</span>`,m=$(u).find("span")),m=m.get(m.length-1),f=m.innerHTML.length),t.collapsed===!1&&t.deleteContents();let g=m.innerText,y="",v="",k=0,b=f;y=g.substring(k,b),v=g.substring(b,g.length);let w,x;if(u.parentNode.tagName=="SPAN"){let C=a.find("span");if(w=C.index(m),w==C.length-1&&v==""){let S=C[w].innerHTML;S.substr(S.length-1,1)==`
  2247. `?x="<span style='"+m.style.cssText+"'>"+y+`
  2248. </span>`:x="<span style='"+m.style.cssText+"'>"+y+`
  2249. </span>`}else x="<span style='"+m.style.cssText+"'>"+y+`
  2250. `+v+"</span>";$(m).replaceWith(x)}else{let C=m.style.cssText;if(v==""?x="<span style='"+C+"'>"+y+`
  2251. </span>`:x="<span style='"+C+"'>"+y+`
  2252. `+v+"</span>",u.id=="luckysheet-rich-text-editor"){$(m).replaceWith(x);let S=a.find("span");w=S.length-1,f=S.get(w).innerHTML.length-1}else $(m).html(x),w=0}zd(a.find("span").get(w),f+1)}else o.length>0}function qd(e,n,t){if(e.ct==null)return;let l=e.ct.s;if(l!=null)for(let a=0;a<l.length;a++){let o=l[a];o[n]=t}}function jd(e){let n=[],t,l=null;for(let a=0;a<e.length;a++){let o=e.get(a),s=Vs(o.style.cssText),u=JSON.stringify(s),d=o.innerText;d=d.replace(/\n/g,`\r
  2253. `),u==l?t.v+=d:(s.v=d,n.push(s),l=u,t=s)}return n}function Vs(e){if(e==null||e.length==0)return{};let n=e.split(";"),t=Q(),l=t.fontarray,a=t.fontjson,o={ff:l[0],fc:"#000000",fs:10,cl:0,un:0,bl:0,it:0};return n.forEach(s=>{s=s.toLowerCase();let u=zl(s.substr(0,s.indexOf(":"))),d=zl(s.substr(s.indexOf(":")+1));if(u=="font-weight"&&(d=="bold"?o.bl=1:o.bl=0),u=="font-style"&&(d=="italic"?o.it=1:o.it=0),u=="font-family"){let f=a[d];f==null?o.ff=d:o.ff=f}u=="font-size"&&(o.fs=parseInt(d)),u=="color"&&(o.fc=d),u=="text-decoration"&&(o.cl=1),u=="border-bottom"&&(o.un=1),u=="lucky-strike"&&(o.cl=d),u=="lucky-underline"&&(o.un=d)}),o}function Gd(e,n){let t=e.split(";");if(n==null||n.length==0)return e;if(e.indexOf(n)>-1)for(let l=0;l<t.length;l++){let a=t[l];a=a.toLowerCase();let o=zl(a.substr(0,a.indexOf(":"))),s=zl(a.substr(a.indexOf(":")+1));if(o==n)return s}return""}function Xp(e,n,t){let l=e.split(";"),a="";if(n==null||n.length==0)return e;if(e.indexOf(n)>-1)for(let o=0;o<l.length;o++){let s=l[o];s=s.toLowerCase();let u=zl(s.substr(0,s.indexOf(":"))),d=zl(s.substr(s.indexOf(":")+1));u==n?a+=u+":"+t+";":u.length>0&&(a+=u+":"+d+";")}else n.length>0&&(e+=n+":"+t+";",a=e);return a}function Kp(e,n){let t=e.split(";"),l="",a=n;if(n==null||n.length==0)return e;if(n in Ud&&(n=Ud[n]),e.indexOf(n)>-1)for(let o=0;o<t.length;o++){let s=t[o];s=s.toLowerCase();let u=zl(s.substr(0,s.indexOf(":"))),d=zl(s.substr(s.indexOf(":")+1));u==n||a=="cl"&&u=="lucky-strike"||a=="un"&&u=="lucky-underline"||u.length>0&&(l+=u+":"+d+";")}else l=e;return l}function vo(e,n,t){let l={};if(l[n]=t,n=="un"){let u=Gd(e,"color");u==""&&(u="#000000");let d=Gd(e,"font-size");d==""&&(d=11),d=parseInt(d),l._fontSize=d,l._color=u}let a=Ii(l,void 0,void 0,!1),o=zl(a.substr(0,a.indexOf(":"))),s=zl(a.substr(a.indexOf(":")+1));return s=s.substr(0,s.length-1),e=Kp(e,n),e=Xp(e,o,s),e}function qs(e,n,t=!0){let l=e.split(";"),a=n.split(";"),o="",s={};for(let u=0;u<l.length;u++){let d=l[u],f=!0;d=d.toLowerCase();let m=zl(d.substr(0,d.indexOf(":")));if(m=="font-size")continue;let g=zl(d.substr(d.indexOf(":")+1));if(!(t&&!(m in Bd))){for(let y=0;y<a.length;y++){let v=a[y];v=v.toLowerCase();let k=zl(v.substr(0,v.indexOf(":"))),b=zl(v.substr(v.indexOf(":")+1));if(m==k){o+=k+":"+b+";",f=!1;continue}}f&&(o+=m+":"+g+";"),s[m]=1}}for(let u=0;u<a.length;u++){let d=a[u];d=d.toLowerCase();let f=zl(d.substr(0,d.indexOf(":"))),m=zl(d.substr(d.indexOf(":")+1));t&&!(f in Bd)||f in s||(o+=f+":"+m+";")}return o}var Od,Bd,Ud,yn=$e(()=>{Zt();gn();yt();Xe();Od={bl:1,it:1,ff:1,cl:1,un:1,fs:1,fc:1},Bd={"font-weight":1,"font-style":1,"font-family":1,"text-decoration":1,"border-bottom":1,"font-size":1,color:1};Ud={bl:"font-weight",it:"font-style",ff:"font-family",fs:"font-size",fc:"color",cl:"text-decoration",un:"border-bottom"}});function zt(e,n){if(e==null&&(e=h.luckysheet_select_save[0]),e.row==null||e.row.length==0)return[];let t,l;n!=null&&n!=h.currentSheetIndex?(t=h.luckysheetfile[K(n)].data,l=h.luckysheetfile[K(n)].config):(t=we.deepCopyFlowData(h.flowdata),l=h.config);let a=[];for(let o=e.row[0];o<=e.row[1];o++){if(t[o]==null||l.rowhidden!=null&&l.rowhidden[o]!=null)continue;let s=[];for(let u=e.column[0];u<=e.column[1];u++)s.push(t[o][u]);a.push(s)}return a}function oa(e,n){if(n==null||n.row==null||n.row.length==0)return[];let t=$i(h.luckysheetfile[K(h.currentSheetIndex)].dynamicArray),l=[];if(e==null)return l;for(let a=n.row[0];a<=n.row[1];a++){if(e[a]==null)continue;let o=[];for(let s=n.column[0];s<=n.column[1];s++){let u;a+"_"+s in t?u=t[a+"_"+s]:u=e[a][s],o.push(u)}l.push(o)}return l}function Wd(e){if(e==null||e.row==null||e.row.length==0)return[];let n=[];for(let t=e.row[0];t<=e.row[1];t++){let l=[];if(!(h.config.rowhidden!=null&&h.config.rowhidden[t]!=null)){for(let a=e.column[0];a<=e.column[1];a++){let o="";h.flowdata[t]!=null&&h.flowdata[t][a]!=null&&(o=h.flowdata[t][a]),l.push(o)}n.push(l)}}return n}function ze(e,n,t,l){l==null&&(l="v"),t==null&&(t=h.flowdata);let a;if(e!=null&&n!=null)a=t[e][n];else if(e!=null)a=t[e];else if(n!=null)a=t[0].map(function(u,d){return t.map(function(f){return f[d]})})[n];else return t;let o=a;return P(a)=="object"&&(o=a[l],l=="f"&&o!=null?o=p.functionHTMLGenerate(o):l=="f"&&(o=a.v)),o==null&&(o=null),o}function Vt(e,n,t,l){if(n<=0&&t<=0)return e;n<=0&&(n=0),t<=0&&(t=0);let a=0;e.length==0?(e=[],a=0):a=e[0].length;let o=[];for(let u=0;u<t;u++)o.push(null);let s=[];for(let u=0;u<a+t;u++)s.push(null);if(o&&o.length)for(let u=0;u<e.length;u++)e[u]=[].concat(e[u].concat(o));for(let u=0;u<n;u++)e.push([].concat(s));return l&&(ne.saveParam("all",h.currentSheetIndex,e.length,{k:"row"}),ne.saveParam("all",h.currentSheetIndex,e[0].length,{k:"column"})),e}function Ol(e,n,t,l){let a;return l!=null?a=l[e][n]:a=Zp(e,n,t),a==null?null:a.f}function Zp(e,n,t){if(e==null||n==null)return;let l;if(t==null?l=h.flowdata:l=ve.getSheetByIndex(t).data,!(!l||!l[e]||!l[e][n]))return l[e][n]}function js(e,n){let t=ze(e,n,null,"m");if(t==null&&(t=ze(e,n),t==null)){let l=ze(e,n,null,"ct");za(l)&&(t=l.s)}return t}function Yd(e,n){let t=ze(e,n,null,"ct");if(za(t)){let l=t.s,a="";for(let o=0;o<l.length;o++){let s=l[o];s.v!=null&&(a+=s.v)}return a}return""}function Xd(e,n,t){let l=ze(e,n,t,"ct");t==null&&(t=h.flowdata);let a=t[e][n];if(za(l)){let o=l.s,s="";for(let u=0;u<o.length;u++){let d=o[u];if(d.v!=null){let f=Ii(d);s+="<span index='"+u+"' style='"+f+"'>"+d.v+"</span>"}}return s}return""}function Ii(e,n,t,l=!0){if(e==null)return;let a="",s=Q().fontarray;for(let u in e){let d=e[u];if(l&&(d=Sr(e,u)),u=="bl"&&d!="0"&&(a+="font-weight: bold;"),u=="it"&&d!="0"&&(a+="font-style:italic;"),u=="ff"){let f=d;isNaN(parseInt(d))?f=d:f=s[parseInt(d)],a+="font-family: "+f+";"}u=="fs"&&(a+="font-size: "+d+"pt;"),(u=="fc"&&d!="#000000"||n!=null||t!=null&&t.textColor!=null)&&(t!=null&&t.textColor!=null?a+="color: "+t.textColor+";":n!=null?a+="color: "+n[0]+";":a+="color: "+d+";"),u=="cl"&&d!="0"&&(a+="text-decoration: line-through;")}return a}function Sr(e,n){let t=e;return n in{bl:1,it:1,ff:1,cl:1,un:1}||n=="fs"&&xl(e)?t==null?t="0":(t=t[n],t==null&&(t="0")):n=="fc"?t==null?t="#000000":(t=t[n],t==null&&(t="#000000"),t.indexOf("rgba")>-1&&(t=Ln(t))):n=="bg"?t==null?t=null:(t=t[n],t==null?t=null:t.toString().indexOf("rgba")>-1&&(t=Ln(t))):n.substr(0,2)=="bs"?t==null?t="none":(t=t[n],t==null&&(t="none")):n.substr(0,2)=="bc"?t==null?t="#000000":(t=t[n],t==null&&(t="#000000")):n=="ht"?(t==null?t="1":(t=t[n],t==null&&(t="1")),["0","1","2"].indexOf(t.toString())==-1&&(t="1")):n=="vt"?(t==null?t="0":(t=t[n],t==null&&(t="0")),["0","1","2"].indexOf(t.toString())==-1&&(t="0")):n=="ct"?t==null?t=null:(t=t[n],t==null&&(t=null)):n=="fs"?t==null?t=String(h.defaultFontSize):(t=t[n],t==null&&(t=String(h.defaultFontSize))):n=="tb"||n=="tr"?t==null?t="0":(t=t[n],t==null&&(t="0")):n=="rt"&&(t==null?t=null:(t=t[n],t==null&&(t=null))),t}function zl(e){return e==null||e.length==0?e:e.replace(/^\s+|\s+$/gm,"")}var Zt=$e(()=>{ht();Dt();ll();qt();Qt();go();gl();yn();yt();Xe()});function Jp(e,n){let t=0,l=e.length-1;for(;t<=l;){let a=parseInt((l+t)/2);if(n<e[a]&&(a==0||n>=e[a-1]))return a;if(n>=e[a])t=a+1;else if(n<e[a])l=a-1;else return-1}}function Qp(e,n){let t=0,l=0,a=0,o=-1,s=e.length-1;for(;t<e.length&&s>=0&&s>=t;){if(l=e[s],s==0?a=0:a=e[s-1],n>=a&&n<l){o=s;break}if(l=e[t],t==0?a=0:a=e[t-1],n>=a&&n<l){o=t;break}t++,s--}return o}function st(e,n){let t=e.length-1;return e.length<40||n<=e[20]||n>=e[t-20]?t=Qp(e,n):t=Jp(e,n),t}var zr=$e(()=>{});function rl(e){let n=0,t=0;return n=h.visibledatarow[e],e==0?t=0:t=h.visibledatarow[e-1],[t,n,e]}function xt(e){let n=st(h.visibledatarow,e);return n==-1&&e>0?n=h.visibledatarow.length-1:n==-1&&e<=0&&(n=0),rl(n)}function Mt(e){let n=0,t=0;return n=h.visibledatacolumn[e],e==0?t=0:t=h.visibledatacolumn[e-1],[t,n,e]}function Kd(e,n){let t=0,l=0;return t=h.visibledatacolumn[e+n-1],e==0?l=0:l=h.visibledatacolumn[e-1],[l,t,e]}function bt(e){let n=st(h.visibledatacolumn,e);return n==-1&&e>0?n=h.visibledatacolumn.length-1:n==-1&&e<=0&&(n=0),Mt(n)}function nt(e,n){let t=$("#"+h.container).offset(),l=e-t.left-h.rowHeaderWidth,a=n-t.top-h.infobarHeight-h.toolbarHeight-h.calculatebarHeight-h.columnHeaderHeight;return[l,a]}var Zl=$e(()=>{zr();Xe()});function yl(e,n,t,l){var s;let a=$.extend(!0,{},l);a.rowlen==null&&(a.rowlen={}),a.customHeight==null&&(a.customHeight={});let o=$("#luckysheetTableContent").get(0).getContext("2d");o.textBaseline="top";for(let u=n;u<=t;u++){if(a.rowhidden!=null&&a.rowhidden[u]!=null)continue;let d=h.defaultrowlen;if(a.customHeight[u]!=1){delete a.rowlen[u];for(let f=0;f<e[u].length;f++){let m=e[u][f];if(m!=null&&m!=null&&(m.v!=null||xl(m))){let g;if(m.mc)if(f===m.mc.c){let k=Mt(f)[0];g=Mt(m.mc.c+m.mc.cs-1)[1]-k-2}else continue;else g=Mt(f)[1]-Mt(f)[0]-2;let y=$r(m,o,{r:u,c:f,cellWidth:g}),v=0;y!=null&&(v=y.textHeightAll+2),v>d&&(d=v)}}d=d/h.zoomRatio,d!=h.defaultrowlen?a.rowlen[u]=d:((s=l.rowlen)==null?void 0:s[u])&&(a.rowlen[u]=l.rowlen[u])}}return a}function Zd(e,n){let t=0,l=$("#luckysheetTableContent").get(0).getContext("2d");l.textBaseline="top";for(let a=0;a<e[n].length;a++){let o=e[n][a];if(o!=null&&!(o.mc!=null&&o.mc.rs!==1)&&!(h.config.colhidden!=null&&h.config.colhidden[a]!=null)&&o!=null&&(o.v!=null||xl(o))){let s=e2(o,a),u=$r(o,l,{r:n,c:a,cellWidth:s}),d=0;u!=null&&(d=u.textHeightAll+2),d>t&&(t=d)}}return t}function e2(e,n){let t=Mt(n);return e.mc&&e.mc.cs!==1&&(t=Kd(n,e.mc.cs)),t[1]-t[0]-2}function Jd(e,n,t){let l=0,a=ko(t,n),o=$("#luckysheetTableContent").get(0).getContext("2d");o.textBaseline="top";for(var s=0;s<e.length;s++){var u=e[s][n];if(u!=null&&(u.v!=null||xl(u))){let d=a[n],f=$r(u,o,{r:s,c:n,cellHeight:d}),m=0;f!=null&&(m=f.textWidthAll+2),m>l&&(l=m)}}return l}function ko(e,n){let t=[],l=0;for(let a=0;a<e;a++){let o=h.defaultrowlen;if(n.rowlen!=null&&n.rowlen[a]!=null&&(o=n.rowlen[a]),n.rowhidden!=null&&n.rowhidden[a]!=null){o=n.rowhidden[a],t.push(l);continue}else l+=o+1;t.push(l)}return t}function Or(e,n,t){let l=h.measureTextCache[e+"_"+n.font];if(t!=null&&(l=h.measureTextCache[e+"_"+t]),l!=null)return l;{if(t!=null){let s=n.font;n.font=t}let a=n.measureText(e),o={};if(o.width=a.width,t!=null&&(n.font=t),o.actualBoundingBoxDescent=a.actualBoundingBoxDescent,o.actualBoundingBoxAscent=a.actualBoundingBoxAscent,o.actualBoundingBoxDescent==null||o.actualBoundingBoxAscent==null||isNaN(o.actualBoundingBoxDescent)||isNaN(o.actualBoundingBoxAscent)){let s="M";$n(e)&&(s="\u7530");let u=be.getTextSize(s,n.font)[1]*.8;n.textBaseline=="top"?(o.actualBoundingBoxDescent=u,o.actualBoundingBoxAscent=0):n.textBaseline=="middle"?(o.actualBoundingBoxDescent=u/2,o.actualBoundingBoxAscent=u/2):(o.actualBoundingBoxDescent=0,o.actualBoundingBoxAscent=u)}if(n.textBaseline=="alphabetic"){let s="gjpqy",u="abcdABCD",d=h.measureTextCache[s+"_"+n.font];t!=null&&(d=h.measureTextCache[s+"_"+t]);let f=h.measureTextCache[u+"_"+n.font];t!=null&&(f=h.measureTextCache[u+"_"+t]),d==null&&(d=n.measureText(s)),f==null&&(f=n.measureText(u)),o.actualBoundingBoxDescent<=f.actualBoundingBoxDescent&&(o.actualBoundingBoxDescent=d.actualBoundingBoxDescent,o.actualBoundingBoxDescent==null&&(o.actualBoundingBoxDescent=0))}return o.width*=h.zoomRatio,o.actualBoundingBoxDescent*=h.zoomRatio,o.actualBoundingBoxAscent*=h.zoomRatio,h.measureTextCache[e+"_"+h.zoomRatio+"_"+n.font]=o,o}}function t2(e){return e.measureText("\u7530").actualBoundingBoxAscent!=null}function $r(e,n,t){let l=t.cellWidth,a=t.cellHeight,o="",s="";l==null&&(o="onlyWidth",s="_");let u=h.measureTextCellInfoCache[t.r+"_"+t.c+s+o];if(u!=null)return u;let d=t.space_width,f=t.space_height;d==null&&(d=2),f==null&&(f=2);let m=Sr(e,"ht"),g=Sr(e,"vt"),y=Sr(e,"tb"),v=Sr(e,"tr"),k=Sr(e,"rt"),b=1,w=0;k==null&&(v=="0"?k=0:v=="1"?k=45:v=="4"?k=90:v=="2"?k=135:v=="5"&&(k=180),k==null&&(k=0)),(k>180||k<0)&&(k=0),k=parseInt(k),k>90&&(k=90-k,b=0,w=1),n.textAlign="start";let x={};x.values=[];let C,S="0",_="0",T=11,A=!1,R,I=[];if(xl(e)){let F=e.ct.s,z=0;for(let M=0;M<F.length;M++){let N=F[M],E=sa(N),L=N.fc,O=N.cl,V=N.un,q=N.v,W=N.fs;q=q.replace(/\r\n/g,"_x000D_").replace(/&#13;&#10;/g,"_x000D_").replace(/\r/g,"_x000D_").replace(/\n/g,"_x000D_");let Y=q.split("_x000D_");for(let ee=0;ee<Y.length;ee++){let te=Y[ee];if(te==""&&ee!=Y.length-1)I.push({fontset:E,fc:L==null?"#000":L,cl:O==null?0:O,un:V==null?0:V,wrap:!0,fs:W==null?11:W}),z++;else{let oe=te.split("");for(let ce=0;ce<oe.length;ce++){let se=oe[ce];I.push({fontset:E,fc:L==null?"#000":L,cl:O==null?0:O,un:V==null?0:V,v:se,si:z,fs:W==null?11:W})}ee!=Y.length-1&&(I.push({fontset:E,fc:L==null?"#000":L,cl:O==null?0:O,un:V==null?0:V,wrap:!0,fs:W==null?11:W}),z++)}}z++}A=!0}else if(C=sa(e),n.font=C,S=Sr(e,"cl"),_=Sr(e,"un"),T=Sr(e,"fs"),e instanceof Object?(R=e.m,R==null&&(R=e.v)):R=e,fe(R))return null;if(v=="3"){n.textBaseline="top";let F=0,z=0,M=0,N=0,E={},L=[];if(A){let q=null;for(let W=0;W<I.length;W++){let Y=I[W],ee=Y.v,te=Y.v;if(Y.wrap===!0&&(ee="M",te="",q!=null&&q.wrap!==!0&&W<I.length-1)){L.push(N),N=0,M+=1,q=Y;continue}let oe=Or(ee,n,Y.fontset),ce=oe.width+d,se=oe.actualBoundingBoxAscent+oe.actualBoundingBoxDescent+f;N+=se,y=="2"&&!Y.wrap&&N>a&&E[M]!=null&&(L.push(N-se),N=se,M+=1),W==I.length-1&&L.push(N),E[M]==null&&(E[M]=[]);let ue={content:te,style:Y,width:ce,height:se,left:0,top:0,colIndex:M,asc:oe.actualBoundingBoxAscent,desc:oe.actualBoundingBoxDescent,inline:!0};Y.wrap===!0&&(ue.wrap=!0),E[M].push(ue),console.log("normal",W,M,Y,q,E),q=Y}}else{let q=Or(R,n),W=q.actualBoundingBoxDescent+q.actualBoundingBoxAscent;R=R.toString();let Y=[];R.length>1?Y=R.split(""):Y.push(R);let ee=Or(Y[0],n).width;for(let te=0;te<Y.length;te++){let oe=ee+d,ce=W+f;N+=ce,y=="2"&&N>a&&E[M]!=null&&(L.push(N-ce),N=ce,M+=1),te==Y.length-1&&L.push(N),E[M]==null&&(E[M]=[]),E[M].push({content:Y[te],style:C,width:oe,height:ce,left:0,top:0,colIndex:M,asc:q.actualBoundingBoxAscent,desc:q.actualBoundingBoxDescent})}}let O=[];for(let q=0;q<L.length;q++){let W=L[q],Y=E[q],ee=0;for(let te=0;te<Y.length;te++){let oe=Y[te];ee=Math.max(ee,oe.width)}O.push(ee),F+=ee,z=Math.max(z,W)}if(x.type="verticalWrap",x.textWidthAll=F,x.textHeightAll=z,o=="onlyWidth")return x;let V=0;for(let q=0;q<L.length;q++){let W=L[q],Y=O[q],ee=E[q],te=0;for(let oe=0;oe<ee.length;oe++){let ce=ee[oe],se=d+V;m=="0"?se=l/2+V-F/2+d*L.length:m=="2"&&(se=l+V-F+d);let ue=a-f+te-W;g=="0"?ue=a/2+te-W/2:g=="1"&&(ue=f+te),te+=ce.height,ce.left=se,ce.top=ue,Ri(ce,S,_,{width:Y,height:ce.height,left:se,top:ue+ce.height-f,asc:ce.height,desc:0,fs:T}),x.values.push(ce)}V+=Y}}else{let F=t2(n);if(F?n.textBaseline="alphabetic":n.textBaseline="bottom",y=="2"||A){let z=0,M=0,N=0,E=0,L=0,O={},V=[];x.rotate=k,k=Math.abs(k);let q=0,W=0,Y=0,ee,te,oe,ce,se=1,ue={},he=null,Z=null;if(A)for(;se<=I.length;){let Ne=I.slice(q,se);if(Ne[Ne.length-1].wrap===!0){if(q=se,Ne.length>1)for(let qe=0;qe<Ne.length-1;qe++){let Te=Ne[qe],Je={content:Te.v,style:Te,width:Te.measureText.width,height:Te.measureText.actualBoundingBoxAscent+Te.measureText.actualBoundingBoxDescent,left:0,top:0,splitIndex:E,asc:Te.measureText.actualBoundingBoxAscent,desc:Te.measureText.actualBoundingBoxDescent,inline:!0,fs:Te.fs};O[E].push(Je)}if(Ne.length==1||se==I.length){let qe=Ne[0],Te=Or("M",n,qe.fontset);O[E]==null&&(O[E]=[]),O[E].push({content:"",style:qe,width:Te.width,height:Te.actualBoundingBoxAscent+Te.actualBoundingBoxDescent,left:0,top:0,splitIndex:E,asc:Te.actualBoundingBoxAscent,desc:Te.actualBoundingBoxDescent,inline:!0,wrap:!0,fs:qe.fs})}E+=1,se++;continue}let et=0,vt=0;for(let qe=0;qe<Ne.length;qe++){let Te=Ne[qe];Te.measureText==null&&(Te.measureText=Or(Te.v,n,Te.fontset)),et+=Te.measureText.width,vt=Math.max(Te.measureText.actualBoundingBoxAscent+Te.measureText.actualBoundingBoxDescent)}let Rt=et*Math.cos(k*Math.PI/180)+vt*Math.sin(k*Math.PI/180),ot=et*Math.sin(k*Math.PI/180)+vt*Math.cos(k*Math.PI/180),kt=Ne[Ne.length-1];if((kt.v==" "||rs(kt.v)==2)&&(Z=se),k!=0)if(console.log(ot,f,a,Ne,ot+f>a),ot+f>a&&O[E]!=null&&y=="2"&&se!=I.length)if(Z!=null&&Z<se){for(let qe=0;qe<Z-q;qe++){let Te=Ne[qe];O[E].push({content:Te.v,style:Te,width:Te.measureText.width,height:Te.measureText.actualBoundingBoxAscent+Te.measureText.actualBoundingBoxDescent,left:0,top:0,splitIndex:E,asc:Te.measureText.actualBoundingBoxAscent,desc:Te.measureText.actualBoundingBoxDescent,inline:!0,fs:Te.fs})}q=Z,se=Z+1,E+=1,Z=null}else{q=se-1;for(let qe=0;qe<Ne.length-1;qe++){let Te=Ne[qe];O[E].push({content:Te.v,style:Te,width:Te.measureText.width,height:Te.measureText.actualBoundingBoxAscent+Te.measureText.actualBoundingBoxDescent,left:0,top:0,splitIndex:E,asc:Te.measureText.actualBoundingBoxAscent,desc:Te.measureText.actualBoundingBoxDescent,inline:!0,fs:Te.fs})}E+=1}else if(se==I.length){O[E]==null&&(O[E]=[]);for(let qe=0;qe<Ne.length;qe++){let Te=Ne[qe];O[E].push({content:Te.v,style:Te,width:Te.measureText.width,height:Te.measureText.actualBoundingBoxAscent+Te.measureText.actualBoundingBoxDescent,left:0,top:0,splitIndex:E,asc:Te.measureText.actualBoundingBoxAscent,desc:Te.measureText.actualBoundingBoxDescent,inline:!0,fs:Te.fs})}break}else O[E]==null&&(O[E]=[]),se++;else if(Rt+d>l&&O[E]!=null&&y=="2"&&se!=I.length)if(Z!=null&&Z<se){for(let qe=0;qe<Z-q;qe++){let Te=Ne[qe];O[E].push({content:Te.v,style:Te,width:Te.measureText.width,height:Te.measureText.actualBoundingBoxAscent+Te.measureText.actualBoundingBoxDescent,left:0,top:0,splitIndex:E,asc:Te.measureText.actualBoundingBoxAscent,desc:Te.measureText.actualBoundingBoxDescent,inline:!0,fs:Te.fs})}q=Z,se=Z+1,E+=1,Z=null}else{q=se-1;for(let qe=0;qe<Ne.length-1;qe++){let Te=Ne[qe];O[E].push({content:Te.v,style:Te,width:Te.measureText.width,height:Te.measureText.actualBoundingBoxAscent+Te.measureText.actualBoundingBoxDescent,left:0,top:0,splitIndex:E,asc:Te.measureText.actualBoundingBoxAscent,desc:Te.measureText.actualBoundingBoxDescent,inline:!0,fs:Te.fs})}E+=1}else if(se==I.length){O[E]==null&&(O[E]=[]);for(let qe=0;qe<Ne.length;qe++){let Te=Ne[qe];O[E].push({content:Te.v,style:Te,width:Te.measureText.width,height:Te.measureText.actualBoundingBoxAscent+Te.measureText.actualBoundingBoxDescent,left:0,top:0,splitIndex:E,asc:Te.measureText.actualBoundingBoxAscent,desc:Te.measureText.actualBoundingBoxDescent,inline:!0,fs:Te.fs})}break}else O[E]==null&&(O[E]=[]),se++}else for(R=R.toString();se<=R.length;){let Ne=R.substring(q,se),et=Or(Ne,n),vt=et.width,Rt=et.actualBoundingBoxAscent+et.actualBoundingBoxDescent,ot=vt*Math.cos(k*Math.PI/180)+Rt*Math.sin(k*Math.PI/180),kt=vt*Math.sin(k*Math.PI/180)+Rt*Math.cos(k*Math.PI/180),qe=Ne.substr(Ne.length-1,1);if((qe==" "||rs(qe)==2)&&ce!=null&&(he={index:se,str:ee+qe,width:oe,height:te,asc:ce.actualBoundingBoxAscent,desc:ce.actualBoundingBoxDescent}),k!=0)if(kt+f>a&&O[E]!=null&&se!=R.length)he!=null&&he.index<se?(q=he.index,se=he.index+1,O[E].push({content:he.str,style:C,width:he.width,height:he.height,left:0,top:0,splitIndex:E,asc:he.asc,desc:he.desc,fs:T}),E+=1,he=null):(q=se-1,O[E].push({content:ee,style:C,left:0,top:0,splitIndex:E,height:te,width:oe,asc:et.actualBoundingBoxAscent,desc:et.actualBoundingBoxDescent,fs:T}),E+=1);else if(se==R.length){O[E]==null&&(O[E]=[]),O[E].push({content:Ne,style:C,left:0,top:0,splitIndex:E,height:Rt,width:vt,asc:et.actualBoundingBoxAscent,desc:et.actualBoundingBoxDescent,fs:T});break}else O[E]==null&&(O[E]=[]),se++;else if(ot+d>l&&O[E]!=null&&se!=R.length)he!=null&&he.index<se?(q=he.index,se=he.index+1,O[E].push({content:he.str,style:C,width:he.width,height:he.height,left:0,top:0,splitIndex:E,asc:he.asc,desc:he.desc,fs:T}),E+=1,he=null):(he=null,q=se-1,O[E].push({content:ee,style:C,width:oe,height:te,left:0,top:0,splitIndex:E,asc:et.actualBoundingBoxAscent,desc:et.actualBoundingBoxDescent,fs:T}),E+=1);else if(se==R.length){O[E]==null&&(O[E]=[]),O[E].push({content:Ne,style:C,width:vt,height:Rt,left:0,top:0,splitIndex:E,asc:et.actualBoundingBoxAscent,desc:et.actualBoundingBoxDescent,fs:T});break}else O[E]==null&&(O[E]=[]),se++;ee=Ne,te=Rt,oe=vt,ce=et}let G=[],le=0,pe=Object.keys(O).length;for(let Ne=0;Ne<pe;Ne++){let et=O[Ne];if(et==null)continue;let vt=0,Rt=0,ot=0,kt=0,qe=0,Te=0;for(let Je=0;Je<et.length;Je++){let Fe=et[Je];k!=0,vt+=Fe.width,Rt=Math.max(Rt,Fe.height-(F?Fe.desc:0)),ot=Math.max(ot,F?Fe.desc:0),kt=Math.max(kt,Fe.asc),Te++}qe=Rt/2,le=Math.max(le,Te),k!=0?(Rt+=qe,N=Math.max(N,vt),M+=Rt):(Rt+=qe,z=Math.max(z,vt),M+=Rt),G.push({width:vt,height:Rt,desc:ot,asc:kt,lineHeight:qe,wordCount:Te})}let ie=0,Ae=0,ae=k*Math.PI/180,Ee=G[pe-1],je=Ee.lineHeight;M=M-je+Ee.desc;let Ce=M/Math.sin(ae)+N*Math.cos(ae),Le=N*Math.sin(ae),Ge=0;if(k!=0?(pe==1?(z=N+2*(M/Math.tan(ae)),Ge=M/Math.tan(ae)):z=N+M/Math.tan(ae),x.textWidthAll=Ce,x.textHeightAll=Le):(x.textWidthAll=z,x.textHeightAll=M),o=="onlyWidth")return x;if(k!=0&&b=="1"){n.textAlign="end";for(let Ne=0;Ne<pe;Ne++){let et=O[Ne];if(et==null)continue;let vt=G[Ne];Ae=0;for(let Rt=et.length-1;Rt>=0;Rt--){let ot=et[Rt],kt,qe;if(k!=0){let Te,Je=ie+vt.asc;if(Te=ie/Math.tan(ae)-Ae+N,m=="0"){let Fe=M/Math.sin(ae);g=="0"?(kt=Te+l/2-z/2+je*Math.cos(ae)/2,qe=Je+a/2-M/2-je*Math.cos(ae)/2):g=="1"?(kt=Te+l/2-z/2,qe=Je-(M/2-Le/2)):g=="2"&&(kt=Te+l/2-z/2+je*Math.cos(ae),qe=Je+a-Le/2-M/2-je*Math.cos(ae))}else m=="1"?g=="0"?(kt=Te-Le*Math.sin(ae)/2+je*Math.cos(ae)/2,qe=Je+a/2+Le*Math.cos(ae)/2-je*Math.cos(ae)/2):g=="1"?(kt=Te-Le*Math.sin(ae),qe=Je+Le*Math.cos(ae)):g=="2"&&(kt=Te+je*Math.cos(ae),qe=Je+a-je*Math.cos(ae)):m=="2"&&(g=="0"?(kt=Te+l-Ce/2-(N/2+M/2/Math.tan(ae))+je*Math.cos(ae)/2,qe=Je+a/2-M/2-je*Math.cos(ae)/2):g=="1"?(kt=Te+l-z+Ge,qe=Je-M):g=="2"&&(kt=Te+l-Ce*Math.cos(ae)+je*Math.cos(ae),qe=Je+a-Ce*Math.sin(ae)-je*Math.cos(ae)))}ot.left=kt,ot.top=qe,Ri(ot,S,_,{width:ot.width,height:ot.height,left:kt-ot.width,top:qe,asc:vt.asc,desc:vt.desc,fs:ot.fs}),x.values.push(ot),Ae+=ot.width}ie+=vt.height}}else for(let Ne=0;Ne<pe;Ne++){let et=O[Ne];if(et==null)continue;let vt=G[Ne];Ae=0;for(let Rt=0;Rt<et.length;Rt++){let ot=et[Rt],kt,qe;if(k!=0){let Te,Je=ie+vt.asc;if(Te=(M-ie)/Math.tan(ae)+Ae,m=="0"){let Fe=M/Math.sin(ae);g=="0"?(kt=Te+l/2-z/2-je*Math.cos(ae)/2,qe=Je+a/2-M/2+je*Math.cos(ae)/2):g=="1"?(kt=Te+l/2-z/2-je*Math.cos(ae)/2,qe=Je-(M/2-Le/2)+je*Math.cos(ae)/2):g=="2"&&(kt=Te+l/2-z/2-je*Math.cos(ae),qe=Je+a-Le/2-M/2-je*Math.cos(ae))}else m=="1"?g=="0"?(kt=Te-Le*Math.sin(ae)/2-je*Math.cos(ae)/2,qe=Je-M+a/2-Le*Math.cos(ae)/2-je*Math.cos(ae)/2):g=="1"?(kt=Te,qe=Je-M):g=="2"&&(kt=Te-Le*Math.sin(ae)-je*Math.cos(ae),qe=Je-M+a-Le*Math.cos(ae)-je*Math.cos(ae)):m=="2"&&(g=="0"?(kt=Te+l-Ce/2-z/2-je*Math.cos(ae)/2,qe=Je+a/2-M/2-je*Math.cos(ae)/2):g=="1"?(kt=Te+l-Ce*Math.cos(ae),qe=Je+Le*Math.cos(ae)):g=="2"&&(kt=Te+l-z-je*Math.cos(ae)+Ge,qe=Je+a-je*Math.cos(ae)));Ri(ot,S,_,{width:ot.width,height:ot.height,left:kt,top:qe,asc:vt.asc,desc:vt.desc,fs:ot.fs})}else kt=d+Ae,m=="0"?kt=l/2+Ae-vt.width/2:m=="2"&&(kt=l+Ae-vt.width),qe=a-f+ie+vt.asc-M,g=="0"?qe=a/2+ie-M/2+vt.asc:g=="1"&&(qe=f+ie+vt.asc),Ri(ot,S,_,{width:ot.width,height:ot.height,left:kt,top:qe,asc:vt.asc,desc:vt.desc,fs:ot.fs});ot.left=kt,ot.top=qe,x.values.push(ot),Ae+=ot.width}ie+=vt.height}x.type="plainWrap",k!=0&&(m=="0"?g=="0"?(x.textLeftAll=l/2,x.textTopAll=a/2):g=="1"?(x.textLeftAll=l/2,x.textTopAll=Le/2):g=="2"&&(x.textLeftAll=l/2,x.textTopAll=a-Le/2):m=="1"?g=="0"?(x.textLeftAll=0,x.textTopAll=a/2):g=="1"?(x.textLeftAll=0,x.textTopAll=0):g=="2"&&(x.textLeftAll=0,x.textTopAll=a):m=="2"&&(g=="0"?(x.textLeftAll=l-Ce/2,x.textTopAll=a/2):g=="1"?(x.textLeftAll=l,x.textTopAll=0):g=="2"&&(x.textLeftAll=l,x.textTopAll=a)))}else{let z=Or(R,n),M=z.width,N=z.actualBoundingBoxDescent+z.actualBoundingBoxAscent;x.rotate=k,k=Math.abs(k);let E=k*Math.PI/180,L=M*Math.cos(E)+N*Math.sin(E),O=M*Math.sin(E)+N*Math.cos(E);if(k!=0?x.textHeightAll=O:x.textHeightAll=O+N/2-z.actualBoundingBoxDescent-f,x.textWidthAll=L,o=="onlyWidth")return x;let V=L,q=O,W=d+N*Math.sin(E)*b;m=="0"?W=l/2-V/2+N*Math.sin(E)*b:m=="2"&&(W=l-d-V+N*Math.sin(E)*b);let Y=a-f-q+z.actualBoundingBoxAscent*Math.cos(E)+M*Math.sin(E)*b;g=="0"?Y=a/2-q/2+z.actualBoundingBoxAscent*Math.cos(E)+M*Math.sin(E)*b:g=="1"&&(Y=f+z.actualBoundingBoxAscent*Math.cos(E)+M*Math.sin(E)*b),x.type="plain";let ee={content:R,style:C,width:V,height:q,left:W,top:Y};Ri(ee,S,_,{width:M,height:N,left:W,top:Y,asc:z.actualBoundingBoxAscent,desc:z.actualBoundingBoxDescent,fs:T}),x.values.push(ee),x.textLeftAll=W,x.textTopAll=Y,x.asc=z.actualBoundingBoxAscent,x.desc=z.actualBoundingBoxDescent}}return x}function Ri(e,n,t,l){let a=l.left,o=l.top,s=l.width,u=l.height,d=l.asc,f=l.desc,m=l.fs;if(e.wrap!==!0&&(e.inline==!0&&e.style!=null&&(n=e.style.cl,t=e.style.un),n!="0"&&(e.cancelLine={},e.cancelLine.startX=a,e.cancelLine.startY=o-d/2+1,e.cancelLine.endX=a+s,e.cancelLine.endY=o-d/2+1,e.cancelLine.fs=m),t!="0")){if(e.underLine=[],t=="1"||t=="2"){let g={};g.startX=a,g.startY=o+3,g.endX=a+s,g.endY=o+3,g.fs=m,e.underLine.push(g)}if(t=="2"){let g={};g.startX=a,g.startY=o+f,g.endX=a+s,g.endY=o+f,g.fs=m,e.underLine.push(g)}if(t=="3"||t=="4"){let g={};g.startX=a,g.startY=o+f,g.endX=a+s,g.endY=o+f,g.fs=m,e.underLine.push(g)}if(t=="4"){let g={};g.startX=a,g.startY=o+f+2,g.endX=a+s,g.endY=o+f+2,g.fs=m,e.underLine.push(g)}}}var pr=$e(()=>{ht();ol();Zt();Zl();Pt();yn();Xe()});function vn(e,n){if(l2(),e!=null){h.visibledatarow=[],h.rh_height=0;for(let t=0;t<e;t++){let l=h.defaultrowlen;if(h.config.rowlen!=null&&h.config.rowlen[t]!=null&&(l=h.config.rowlen[t]),h.config.rowhidden!=null&&h.config.rowhidden[t]!=null){h.visibledatarow.push(h.rh_height);continue}l==="auto"&&(l=Zd(h.flowdata,t)),h.rh_height+=Math.round((l+1)*h.zoomRatio),h.visibledatarow.push(h.rh_height)}!me.enableAddRow&&!me.enableAddBackTop?h.rh_height+=29:h.rh_height+=80}if(n!=null){h.visibledatacolumn=[],h.ch_width=0;let t=120;for(let l=0;l<n;l++){let a=h.defaultcollen;if(h.config.columnlen!=null&&h.config.columnlen[l]!=null?a=h.config.columnlen[l]:h.flowdata[0]!=null&&h.flowdata[0][l]!=null&&(a>300?a=300:a<h.defaultcollen&&(a=h.defaultcollen),a!=h.defaultcollen&&(h.config.columnlen==null&&(h.config.columnlen={}),h.config.columnlen[l]=a)),h.config.colhidden!=null&&h.config.colhidden[l]!=null){h.visibledatacolumn.push(h.ch_width);continue}a==="auto"&&(a=Jd(h.flowdata,l,e)),h.ch_width+=Math.round((a+1)*h.zoomRatio),h.visibledatacolumn.push(h.ch_width)}h.ch_width+=t}}function l2(){h.rowHeaderWidth=me.rowHeaderWidth*h.zoomRatio,h.columnHeaderHeight=me.columnHeaderHeight*h.zoomRatio,$("#luckysheet-rows-h").width(h.rowHeaderWidth-1.5),$("#luckysheet-cols-h-c").height(h.columnHeaderHeight-1.5),$("#luckysheet-left-top").css({width:h.rowHeaderWidth-1.5,height:h.columnHeaderHeight-1.5})}var Ai=$e(()=>{Xe();pr();Sl()});var kn=kl((Us,Gs)=>{(function(e,n){typeof Us=="object"&&typeof Gs!="undefined"?Gs.exports=n():typeof define=="function"&&define.amd?define(n):(e=typeof globalThis!="undefined"?globalThis:e||self).dayjs=n()})(Us,function(){"use strict";var e=1e3,n=6e4,t=36e5,l="millisecond",a="second",o="minute",s="hour",u="day",d="week",f="month",m="quarter",g="year",y="date",v="Invalid Date",k=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,w={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(N){var E=["th","st","nd","rd"],L=N%100;return"["+N+(E[(L-20)%10]||E[L]||E[0])+"]"}},x=function(N,E,L){var O=String(N);return!O||O.length>=E?N:""+Array(E+1-O.length).join(L)+N},C={s:x,z:function(N){var E=-N.utcOffset(),L=Math.abs(E),O=Math.floor(L/60),V=L%60;return(E<=0?"+":"-")+x(O,2,"0")+":"+x(V,2,"0")},m:function N(E,L){if(E.date()<L.date())return-N(L,E);var O=12*(L.year()-E.year())+(L.month()-E.month()),V=E.clone().add(O,f),q=L-V<0,W=E.clone().add(O+(q?-1:1),f);return+(-(O+(L-V)/(q?V-W:W-V))||0)},a:function(N){return N<0?Math.ceil(N)||0:Math.floor(N)},p:function(N){return{M:f,y:g,w:d,d:u,D:y,h:s,m:o,s:a,ms:l,Q:m}[N]||String(N||"").toLowerCase().replace(/s$/,"")},u:function(N){return N===void 0}},S="en",_={};_[S]=w;var T="$isDayjsObject",A=function(N){return N instanceof z||!(!N||!N[T])},R=function N(E,L,O){var V;if(!E)return S;if(typeof E=="string"){var q=E.toLowerCase();_[q]&&(V=q),L&&(_[q]=L,V=q);var W=E.split("-");if(!V&&W.length>1)return N(W[0])}else{var Y=E.name;_[Y]=E,V=Y}return!O&&V&&(S=V),V||!O&&S},I=function(N,E){if(A(N))return N.clone();var L=typeof E=="object"?E:{};return L.date=N,L.args=arguments,new z(L)},F=C;F.l=R,F.i=A,F.w=function(N,E){return I(N,{locale:E.$L,utc:E.$u,x:E.$x,$offset:E.$offset})};var z=function(){function N(L){this.$L=R(L.locale,null,!0),this.parse(L),this.$x=this.$x||L.x||{},this[T]=!0}var E=N.prototype;return E.parse=function(L){this.$d=function(O){var V=O.date,q=O.utc;if(V===null)return new Date(NaN);if(F.u(V))return new Date;if(V instanceof Date)return new Date(V);if(typeof V=="string"&&!/Z$/i.test(V)){var W=V.match(k);if(W){var Y=W[2]-1||0,ee=(W[7]||"0").substring(0,3);return q?new Date(Date.UTC(W[1],Y,W[3]||1,W[4]||0,W[5]||0,W[6]||0,ee)):new Date(W[1],Y,W[3]||1,W[4]||0,W[5]||0,W[6]||0,ee)}}return new Date(V)}(L),this.init()},E.init=function(){var L=this.$d;this.$y=L.getFullYear(),this.$M=L.getMonth(),this.$D=L.getDate(),this.$W=L.getDay(),this.$H=L.getHours(),this.$m=L.getMinutes(),this.$s=L.getSeconds(),this.$ms=L.getMilliseconds()},E.$utils=function(){return F},E.isValid=function(){return this.$d.toString()!==v},E.isSame=function(L,O){var V=I(L);return this.startOf(O)<=V&&V<=this.endOf(O)},E.isAfter=function(L,O){return I(L)<this.startOf(O)},E.isBefore=function(L,O){return this.endOf(O)<I(L)},E.$g=function(L,O,V){return F.u(L)?this[O]:this.set(V,L)},E.unix=function(){return Math.floor(this.valueOf()/1e3)},E.valueOf=function(){return this.$d.getTime()},E.startOf=function(L,O){var V=this,q=!!F.u(O)||O,W=F.p(L),Y=function(Z,G){var le=F.w(V.$u?Date.UTC(V.$y,G,Z):new Date(V.$y,G,Z),V);return q?le:le.endOf(u)},ee=function(Z,G){return F.w(V.toDate()[Z].apply(V.toDate("s"),(q?[0,0,0,0]:[23,59,59,999]).slice(G)),V)},te=this.$W,oe=this.$M,ce=this.$D,se="set"+(this.$u?"UTC":"");switch(W){case g:return q?Y(1,0):Y(31,11);case f:return q?Y(1,oe):Y(0,oe+1);case d:var ue=this.$locale().weekStart||0,he=(te<ue?te+7:te)-ue;return Y(q?ce-he:ce+(6-he),oe);case u:case y:return ee(se+"Hours",0);case s:return ee(se+"Minutes",1);case o:return ee(se+"Seconds",2);case a:return ee(se+"Milliseconds",3);default:return this.clone()}},E.endOf=function(L){return this.startOf(L,!1)},E.$set=function(L,O){var V,q=F.p(L),W="set"+(this.$u?"UTC":""),Y=(V={},V[u]=W+"Date",V[y]=W+"Date",V[f]=W+"Month",V[g]=W+"FullYear",V[s]=W+"Hours",V[o]=W+"Minutes",V[a]=W+"Seconds",V[l]=W+"Milliseconds",V)[q],ee=q===u?this.$D+(O-this.$W):O;if(q===f||q===g){var te=this.clone().set(y,1);te.$d[Y](ee),te.init(),this.$d=te.set(y,Math.min(this.$D,te.daysInMonth())).$d}else Y&&this.$d[Y](ee);return this.init(),this},E.set=function(L,O){return this.clone().$set(L,O)},E.get=function(L){return this[F.p(L)]()},E.add=function(L,O){var V,q=this;L=Number(L);var W=F.p(O),Y=function(oe){var ce=I(q);return F.w(ce.date(ce.date()+Math.round(oe*L)),q)};if(W===f)return this.set(f,this.$M+L);if(W===g)return this.set(g,this.$y+L);if(W===u)return Y(1);if(W===d)return Y(7);var ee=(V={},V[o]=n,V[s]=t,V[a]=e,V)[W]||1,te=this.$d.getTime()+L*ee;return F.w(te,this)},E.subtract=function(L,O){return this.add(-1*L,O)},E.format=function(L){var O=this,V=this.$locale();if(!this.isValid())return V.invalidDate||v;var q=L||"YYYY-MM-DDTHH:mm:ssZ",W=F.z(this),Y=this.$H,ee=this.$m,te=this.$M,oe=V.weekdays,ce=V.months,se=V.meridiem,ue=function(G,le,pe,ie){return G&&(G[le]||G(O,q))||pe[le].slice(0,ie)},he=function(G){return F.s(Y%12||12,G,"0")},Z=se||function(G,le,pe){var ie=G<12?"AM":"PM";return pe?ie.toLowerCase():ie};return q.replace(b,function(G,le){return le||function(pe){switch(pe){case"YY":return String(O.$y).slice(-2);case"YYYY":return F.s(O.$y,4,"0");case"M":return te+1;case"MM":return F.s(te+1,2,"0");case"MMM":return ue(V.monthsShort,te,ce,3);case"MMMM":return ue(ce,te);case"D":return O.$D;case"DD":return F.s(O.$D,2,"0");case"d":return String(O.$W);case"dd":return ue(V.weekdaysMin,O.$W,oe,2);case"ddd":return ue(V.weekdaysShort,O.$W,oe,3);case"dddd":return oe[O.$W];case"H":return String(Y);case"HH":return F.s(Y,2,"0");case"h":return he(1);case"hh":return he(2);case"a":return Z(Y,ee,!0);case"A":return Z(Y,ee,!1);case"m":return String(ee);case"mm":return F.s(ee,2,"0");case"s":return String(O.$s);case"ss":return F.s(O.$s,2,"0");case"SSS":return F.s(O.$ms,3,"0");case"Z":return W}return null}(G)||W.replace(":","")})},E.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},E.diff=function(L,O,V){var q,W=this,Y=F.p(O),ee=I(L),te=(ee.utcOffset()-this.utcOffset())*n,oe=this-ee,ce=function(){return F.m(W,ee)};switch(Y){case g:q=ce()/12;break;case f:q=ce();break;case m:q=ce()/3;break;case d:q=(oe-te)/6048e5;break;case u:q=(oe-te)/864e5;break;case s:q=oe/t;break;case o:q=oe/n;break;case a:q=oe/e;break;default:q=oe}return V?q:F.a(q)},E.daysInMonth=function(){return this.endOf(f).$D},E.$locale=function(){return _[this.$L]},E.locale=function(L,O){if(!L)return this.$L;var V=this.clone(),q=R(L,O,!0);return q&&(V.$L=q),V},E.clone=function(){return F.w(this.$d,this)},E.toDate=function(){return new Date(this.valueOf())},E.toJSON=function(){return this.isValid()?this.toISOString():null},E.toISOString=function(){return this.$d.toISOString()},E.toString=function(){return this.$d.toUTCString()},N}(),M=z.prototype;return I.prototype=M,[["$ms",l],["$s",a],["$m",o],["$H",s],["$W",u],["$M",f],["$y",g],["$D",y]].forEach(function(N){M[N[1]]=function(E){return this.$g(E,N[0],N[1])}}),I.extend=function(N,E){return N.$i||(N(E,z,I),N.$i=!0),I},I.locale=R,I.isDayjs=A,I.unix=function(N){return I(1e3*N)},I.en=_[S],I.Ls=_,I.p={},I})});function Ot(e){if(e==null||e.toString().length<5)return!1;return!!n(e);function n(t){var l=/^(\d{4})-(\d{1,2})-(\d{1,2})(\s(\d{1,2}):(\d{1,2})(:(\d{1,2}))?)?$/,a=/^(\d{4})\/(\d{1,2})\/(\d{1,2})(\s(\d{1,2}):(\d{1,2})(:(\d{1,2}))?)?$/;if(!l.test(t)&&!a.test(t))return!1;var o=RegExp.$1,s=RegExp.$2,u=RegExp.$3;if(o<1900||s>12||u>31)return!1;if(s==2){if(new Date(o,1,29).getDate()==29&&u>29)return!1;if(new Date(o,1,29).getDate()!=29&&u>28)return!1}return!0}}function ul(e,n){return(0,Ws.default)(e).diff((0,Ws.default)(n))}function zn(e){let n={};return Ot(e)&&(n.date=!0),!isNaN(parseFloat(e))&&!$n(e)&&(n.num=!0),n}function tr(e){let n="string";return Ot(e)?n="date":!isNaN(parseFloat(e))&&!$n(e)&&(n="num"),n}var Ws,Br=$e(()=>{Pt();Ws=Nl(kn())});var ca=kl((Qd,bo)=>{(function(e,n){typeof define=="function"&&define.amd?define(n):typeof bo=="object"&&bo.exports?bo.exports=n():e.numeral=n()})(Qd,function(){var e,n,t="2.0.6",l={},a={},o={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},s={currentLocale:o.currentLocale,zeroFormat:o.zeroFormat,nullFormat:o.nullFormat,defaultFormat:o.defaultFormat,scalePercentBy100:o.scalePercentBy100};function u(d,f){this._input=d,this._value=f}return e=function(d){var f,m,g,y;if(e.isNumeral(d))f=d.value();else if(d===0||typeof d=="undefined")f=0;else if(d===null||n.isNaN(d))f=null;else if(typeof d=="string")if(s.zeroFormat&&d===s.zeroFormat)f=0;else if(s.nullFormat&&d===s.nullFormat||!d.replace(/[^0-9]+/g,"").length)f=null;else{for(m in l)if(y=typeof l[m].regexps.unformat=="function"?l[m].regexps.unformat():l[m].regexps.unformat,y&&d.match(y)){g=l[m].unformat;break}g=g||e._.stringToNumber,f=g(d)}else f=Number(d)||null;return new u(d,f)},e.version=t,e.isNumeral=function(d){return d instanceof u},e._=n={numberToFormat:function(d,f,m){var g=a[e.options.currentLocale],y=!1,v=!1,k=0,b="",w=1e12,x=1e9,C=1e6,S=1e3,_="",T=!1,A,R,I,F,z,M,N,E,L,O;if(d=d||0,R=Math.abs(d),e._.includes(f,"(")?(y=!0,f=f.replace(/[\(|\)]/g,"")):(e._.includes(f,"+")||e._.includes(f,"-"))&&(E=e._.includes(f,"+")?f.indexOf("+"):d<0?f.indexOf("-"):-1,f=f.replace(/[\+|\-]/g,"")),e._.includes(f,"a")&&(A=f.match(/a(k|m|b|t)?/),A=A?A[1]:!1,e._.includes(f," a")&&(b=" "),f=f.replace(new RegExp(b+"a[kmbt]?"),""),R>=w&&!A||A==="t"?(b+=g.abbreviations.trillion,d=d/w):R<w&&R>=x&&!A||A==="b"?(b+=g.abbreviations.billion,d=d/x):R<x&&R>=C&&!A||A==="m"?(b+=g.abbreviations.million,d=d/C):(R<C&&R>=S&&!A||A==="k")&&(b+=g.abbreviations.thousand,d=d/S)),e._.includes(f,"[.]")&&(v=!0,f=f.replace("[.]",".")),M=d.toString().split(".")[0],N=f.split(".")[1],L=f.indexOf(","),k=(f.split(".")[0].split(",")[0].match(/0/g)||[]).length,N?(e._.includes(N,"[")?(N=N.replace("]",""),N=N.split("["),_=e._.toFixed(d,N[0].length+N[1].length,m,N[1].length)):_=e._.toFixed(d,N.length,m),M=_.split(".")[0],e._.includes(_,".")?_=g.delimiters.decimal+_.split(".")[1]:_="",v&&Number(_.slice(1))===0&&(_="")):M=e._.toFixed(d,0,m),b&&!A&&Number(M)>=1e3&&b!==g.abbreviations.trillion)switch(M=String(Number(M)/1e3),b){case g.abbreviations.thousand:b=g.abbreviations.million;break;case g.abbreviations.million:b=g.abbreviations.billion;break;case g.abbreviations.billion:b=g.abbreviations.trillion;break}if(e._.includes(M,"-")&&(M=M.slice(1),T=!0),M.length<k)for(var V=k-M.length;V>0;V--)M="0"+M;return L>-1&&(M=M.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+g.delimiters.thousands)),f.indexOf(".")===0&&(M=""),O=M+_+(b||""),y?O=(y&&T?"(":"")+O+(y&&T?")":""):E>=0?O=E===0?(T?"-":"+")+O:O+(T?"-":"+"):T&&(O="-"+O),O},stringToNumber:function(d){var f=a[s.currentLocale],m=d,g={thousand:3,million:6,billion:9,trillion:12},y,v,k,b;if(s.zeroFormat&&d===s.zeroFormat)v=0;else if(s.nullFormat&&d===s.nullFormat||!d.replace(/[^0-9]+/g,"").length)v=null;else{v=1,f.delimiters.decimal!=="."&&(d=d.replace(/\./g,"").replace(f.delimiters.decimal,"."));for(y in g)if(b=new RegExp("[^a-zA-Z]"+f.abbreviations[y]+"(?:\\)|(\\"+f.currency.symbol+")?(?:\\))?)?$"),m.match(b)){v*=Math.pow(10,g[y]);break}v*=(d.split("-").length+Math.min(d.split("(").length-1,d.split(")").length-1))%2?1:-1,d=d.replace(/[^0-9\.]+/g,""),v*=Number(d)}return v},isNaN:function(d){return typeof d=="number"&&isNaN(d)},includes:function(d,f){return d.indexOf(f)!==-1},insert:function(d,f,m){return d.slice(0,m)+f+d.slice(m)},reduce:function(d,f){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof f!="function")throw new TypeError(f+" is not a function");var m=Object(d),g=m.length>>>0,y=0,v;if(arguments.length===3)v=arguments[2];else{for(;y<g&&!(y in m);)y++;if(y>=g)throw new TypeError("Reduce of empty array with no initial value");v=m[y++]}for(;y<g;y++)y in m&&(v=f(v,m[y],y,m));return v},multiplier:function(d){var f=d.toString().split(".");return f.length<2?1:Math.pow(10,f[1].length)},correctionFactor:function(){var d=Array.prototype.slice.call(arguments);return d.reduce(function(f,m){var g=n.multiplier(m);return f>g?f:g},1)},toFixed:function(d,f,m,g){var y=d.toString().split("."),v=f-(g||0),k,b,w,x;return y.length===2?k=Math.min(Math.max(y[1].length,v),f):k=v,w=Math.pow(10,k),x=(m(d+"e+"+k)/w).toFixed(k),g>f-k&&(b=new RegExp("\\.?0{1,"+(g-(f-k))+"}$"),x=x.replace(b,"")),x}},e.options=s,e.formats=l,e.locales=a,e.locale=function(d){return d&&(s.currentLocale=d.toLowerCase()),s.currentLocale},e.localeData=function(d){if(!d)return a[s.currentLocale];if(d=d.toLowerCase(),!a[d])throw new Error("Unknown locale : "+d);return a[d]},e.reset=function(){for(var d in o)s[d]=o[d]},e.zeroFormat=function(d){s.zeroFormat=typeof d=="string"?d:null},e.nullFormat=function(d){s.nullFormat=typeof d=="string"?d:null},e.defaultFormat=function(d){s.defaultFormat=typeof d=="string"?d:"0.0"},e.register=function(d,f,m){if(f=f.toLowerCase(),this[d+"s"][f])throw new TypeError(f+" "+d+" already registered.");return this[d+"s"][f]=m,m},e.validate=function(d,f){var m,g,y,v,k,b,w,x;if(typeof d!="string"&&(d+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",d)),d=d.trim(),d.match(/^\d+$/))return!0;if(d==="")return!1;try{w=e.localeData(f)}catch(C){w=e.localeData(e.locale())}return y=w.currency.symbol,k=w.abbreviations,m=w.delimiters.decimal,w.delimiters.thousands==="."?g="\\.":g=w.delimiters.thousands,x=d.match(/^[^\d]+/),x!==null&&(d=d.substr(1),x[0]!==y)||(x=d.match(/[^\d]+$/),x!==null&&(d=d.slice(0,-1),x[0]!==k.thousand&&x[0]!==k.million&&x[0]!==k.billion&&x[0]!==k.trillion))?!1:(b=new RegExp(g+"{2}"),d.match(/[^\d.,]/g)?!1:(v=d.split(m),v.length>2?!1:v.length<2?!!v[0].match(/^\d+.*\d$/)&&!v[0].match(b):v[0].length===1?!!v[0].match(/^\d+$/)&&!v[0].match(b)&&!!v[1].match(/^\d+$/):!!v[0].match(/^\d+.*\d$/)&&!v[0].match(b)&&!!v[1].match(/^\d+$/)))},e.fn=u.prototype={clone:function(){return e(this)},format:function(d,f){var m=this._value,g=d||s.defaultFormat,y,v,k;if(f=f||Math.round,m===0&&s.zeroFormat!==null)v=s.zeroFormat;else if(m===null&&s.nullFormat!==null)v=s.nullFormat;else{for(y in l)if(g.match(l[y].regexps.format)){k=l[y].format;break}k=k||e._.numberToFormat,v=k(m,g,f)}return v},value:function(){return this._value},input:function(){return this._input},set:function(d){return this._value=Number(d),this},add:function(d){var f=n.correctionFactor.call(null,this._value,d);function m(g,y,v,k){return g+Math.round(f*y)}return this._value=n.reduce([this._value,d],m,0)/f,this},subtract:function(d){var f=n.correctionFactor.call(null,this._value,d);function m(g,y,v,k){return g-Math.round(f*y)}return this._value=n.reduce([d],m,Math.round(this._value*f))/f,this},multiply:function(d){function f(m,g,y,v){var k=n.correctionFactor(m,g);return Math.round(m*k)*Math.round(g*k)/Math.round(k*k)}return this._value=n.reduce([this._value,d],f,1),this},divide:function(d){function f(m,g,y,v){var k=n.correctionFactor(m,g);return Math.round(m*k)/Math.round(g*k)}return this._value=n.reduce([this._value,d],f),this},difference:function(d){return Math.abs(e(this._value).subtract(d).value())}},e.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(d){var f=d%10;return~~(d%100/10)==1?"th":f===1?"st":f===2?"nd":f===3?"rd":"th"},currency:{symbol:"$"}}),function(){e.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(d,f,m){var g=e._.includes(f," BPS")?" ":"",y;return d=d*1e4,f=f.replace(/\s?BPS/,""),y=e._.numberToFormat(d,f,m),e._.includes(y,")")?(y=y.split(""),y.splice(-1,0,g+"BPS"),y=y.join("")):y=y+g+"BPS",y},unformat:function(d){return+(e._.stringToNumber(d)*1e-4).toFixed(15)}})}(),function(){var d={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},f={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},m=d.suffixes.concat(f.suffixes.filter(function(y){return d.suffixes.indexOf(y)<0})),g=m.join("|");g="("+g.replace("B","B(?!PS)")+")",e.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(g)},format:function(y,v,k){var b,w=e._.includes(v,"ib")?f:d,x=e._.includes(v," b")||e._.includes(v," ib")?" ":"",C,S,_;for(v=v.replace(/\s?i?b/,""),C=0;C<=w.suffixes.length;C++)if(S=Math.pow(w.base,C),_=Math.pow(w.base,C+1),y===null||y===0||y>=S&&y<_){x+=w.suffixes[C],S>0&&(y=y/S);break}return b=e._.numberToFormat(y,v,k),b+x},unformat:function(y){var v=e._.stringToNumber(y),k,b;if(v){for(k=d.suffixes.length-1;k>=0;k--){if(e._.includes(y,d.suffixes[k])){b=Math.pow(d.base,k);break}if(e._.includes(y,f.suffixes[k])){b=Math.pow(f.base,k);break}}v*=b||1}return v}})}(),function(){e.register("format","currency",{regexps:{format:/(\$)/},format:function(d,f,m){var g=e.locales[e.options.currentLocale],y={before:f.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:f.match(/([\+|\-|\)|\s|\$]*)$/)[0]},v,k,b;for(f=f.replace(/\s?\$\s?/,""),v=e._.numberToFormat(d,f,m),d>=0?(y.before=y.before.replace(/[\-\(]/,""),y.after=y.after.replace(/[\-\)]/,"")):d<0&&!e._.includes(y.before,"-")&&!e._.includes(y.before,"(")&&(y.before="-"+y.before),b=0;b<y.before.length;b++)switch(k=y.before[b],k){case"$":v=e._.insert(v,g.currency.symbol,b);break;case" ":v=e._.insert(v," ",b+g.currency.symbol.length-1);break}for(b=y.after.length-1;b>=0;b--)switch(k=y.after[b],k){case"$":v=b===y.after.length-1?v+g.currency.symbol:e._.insert(v,g.currency.symbol,-(y.after.length-(1+b)));break;case" ":v=b===y.after.length-1?v+" ":e._.insert(v," ",-(y.after.length-(1+b)+g.currency.symbol.length-1));break}return v}})}(),function(){e.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(d,f,m){var g,y=typeof d=="number"&&!e._.isNaN(d)?d.toExponential():"0e+0",v=y.split("e");return f=f.replace(/e[\+|\-]{1}0/,""),g=e._.numberToFormat(Number(v[0]),f,m),g+"e"+v[1]},unformat:function(d){var f=e._.includes(d,"e+")?d.split("e+"):d.split("e-"),m=Number(f[0]),g=Number(f[1]);g=e._.includes(d,"e-")?g*=-1:g;function y(v,k,b,w){var x=e._.correctionFactor(v,k),C=v*x*(k*x)/(x*x);return C}return e._.reduce([m,Math.pow(10,g)],y,1)}})}(),function(){e.register("format","ordinal",{regexps:{format:/(o)/},format:function(d,f,m){var g=e.locales[e.options.currentLocale],y,v=e._.includes(f," o")?" ":"";return f=f.replace(/\s?o/,""),v+=g.ordinal(d),y=e._.numberToFormat(d,f,m),y+v}})}(),function(){e.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(d,f,m){var g=e._.includes(f," %")?" ":"",y;return e.options.scalePercentBy100&&(d=d*100),f=f.replace(/\s?\%/,""),y=e._.numberToFormat(d,f,m),e._.includes(y,")")?(y=y.split(""),y.splice(-1,0,g+"%"),y=y.join("")):y=y+g+"%",y},unformat:function(d){var f=e._.stringToNumber(d);return e.options.scalePercentBy100?f*.01:f}})}(),function(){e.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(d,f,m){var g=Math.floor(d/60/60),y=Math.floor((d-g*60*60)/60),v=Math.round(d-g*60*60-y*60);return g+":"+(y<10?"0"+y:y)+":"+(v<10?"0"+v:v)},unformat:function(d){var f=d.split(":"),m=0;return f.length===3?(m=m+Number(f[0])*60*60,m=m+Number(f[1])*60,m=m+Number(f[2])):f.length===2&&(m=m+Number(f[0])*60,m=m+Number(f[1])),Number(m)}})}(),e})});function Ys(e,n){var t=Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds()),l=Date.UTC(1899,11,31,0,0,0);return n?t-=1461*24*60*60*1e3:e>=a2&&(t+=24*60*60*1e3),(t-l)/(24*60*60*1e3)}function o2(e,n){var t=new Date(e);if(i2)return n>0?t.setTime(t.getTime()+t.getTimezoneOffset()*60*1e3):n<0&&t.setTime(t.getTime()-t.getTimezoneOffset()*60*1e3),t;if(e instanceof Date)return e;if(wo.getFullYear()==1917&&!isNaN(t.getFullYear())){var l=t.getFullYear();return e.indexOf(""+l)>-1||t.setFullYear(t.getFullYear()+100),t}var a=e.match(/\d+/g)||["2017","2","19","0","0","0"],o=new Date(+a[0],+a[1]-1,+a[2],+a[3]||0,+a[4]||0,+a[5]||0);return e.indexOf("Z")>-1&&(o=new Date(o.getTime()-o.getTimezoneOffset()*60*1e3)),o}function s2(e){var n=Number(e);if(typeof e=="number")return e;if(!isNaN(n))return n;var t=1,l=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return t*=100,""});return!isNaN(n=Number(l))||(l=l.replace(/[(](.*)[)]/,function(a,o){return t=-t,o}),!isNaN(n=Number(l)))?n/t:n}function it(e){var n=[],t=null,l={},a=e;if(e==null)return null;if(/^-?[0-9]{1,}[,][0-9]{3}(.[0-9]{1,2})?$/.test(e)){t=e,a=Number(e.split(".")[0].replace(",",""));let x="#,##0";if(e.split(".")[1]){x="#,##0.";for(let C=0;C<e.split(".")[1].length;C++)x+=0}l={fa:x,t:"n"}}else if(e.toString().substr(0,1)==="'")t=e.toString().substr(1),l={fa:"@",t:"s"};else if(e.toString().toUpperCase()==="TRUE")t="TRUE",l={fa:"General",t:"b"},a=!0;else if(e.toString().toUpperCase()==="FALSE")t="FALSE",l={fa:"General",t:"b"},a=!1;else if(H(e))t=e.toString(),l={fa:"General",t:"e"};else if(/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[12])(0[1-9]|[12]\d|3[01])\d{3}(\d|X)$/i.test(e))t=e.toString(),l={fa:"@",t:"s"};else if(B(e)&&Math.abs(parseFloat(e))>0&&(Math.abs(parseFloat(e))>=1e11||Math.abs(parseFloat(e))<1e-9))if(e.length>16)a=e,l={fa:"@",t:"s"},t=vl.format(l.fa,a);else{a=(0,Hr.default)(e).value();var o=a.toExponential();if(o.indexOf(".")>-1){var s=o.split(".")[1].split("e")[0].length;s>5&&(s=5),l={fa:"#0."+new Array(s+1).join("0")+"E+00",t:"n"}}else l={fa:"#0.E+00",t:"n"};t=vl.format(l.fa,a)}else if(e.toString().indexOf("%")>-1){var u=e.toString().indexOf("%"),d=e.toString().substr(0,u),f=d.replace(/,/g,"");if(u==e.toString().length-1&&B(f))if(d.indexOf(".")>-1)if(d.indexOf(".")==d.lastIndexOf(".")){var m=d.split(".")[0],g=d.split(".")[1],y=g.length;if(y>9&&(y=9),m.indexOf(",")>-1){for(var v=!0,k=m.split(","),b=1;b<k.length;b++)if(k[b].length<3){v=!1;break}v?(l={fa:"#,##0."+new Array(y+1).join("0")+"%",t:"n"},a=(0,Hr.default)(e).value(),t=vl.format(l.fa,a)):(t=e.toString(),l={fa:"@",t:"s"})}else l={fa:"0."+new Array(y+1).join("0")+"%",t:"n"},a=(0,Hr.default)(e).value(),t=vl.format(l.fa,a)}else t=e.toString(),l={fa:"@",t:"s"};else if(d.indexOf(",")>-1){for(var v=!0,k=d.split(","),b=1;b<k.length;b++)if(k[b].length<3){v=!1;break}v?(l={fa:"#,##0%",t:"n"},a=(0,Hr.default)(e).value(),t=vl.format(l.fa,a)):(t=e.toString(),l={fa:"@",t:"s"})}else l={fa:"0%",t:"n"},a=(0,Hr.default)(e).value(),t=vl.format(l.fa,a);else t=e.toString(),l={fa:"@",t:"s"}}else if(e.toString().indexOf(".")>-1)if(e.toString().indexOf(".")==e.toString().lastIndexOf(".")){var w=e.toString().split(".")[0],d=e.toString().split(".")[1],y=d.length;if(y>9&&(y=9),w.indexOf(",")>-1){for(var v=!0,k=w.split(","),b=1;b<k.length;b++)if(!B(k[b])||k[b].length<3){v=!1;break}v?(l={fa:"#,##0."+new Array(y+1).join("0"),t:"n"},a=(0,Hr.default)(e).value(),t=vl.format(l.fa,a)):(t=e.toString(),l={fa:"@",t:"s"})}else B(w)&&B(d)?(l={fa:"0."+new Array(y+1).join("0"),t:"n"},a=(0,Hr.default)(e).value(),t=vl.format(l.fa,a)):(t=e.toString(),l={fa:"@",t:"s"})}else t=e.toString(),l={fa:"@",t:"s"};else B(e)?(t=e.toString(),l={fa:"General",t:"n"},a=parseFloat(e)):Ot(e)&&(e.toString().indexOf(".")>-1||e.toString().indexOf(":")>-1||e.toString().length<16)?(a=Ys(o2(e.toString().replace(/-/g,"/"))),a.toString().indexOf(".")>-1?e.toString().length>18?l.fa="yyyy-MM-dd hh:mm:ss":e.toString().length>11?l.fa="yyyy-MM-dd hh:mm":l.fa="yyyy-MM-dd":l.fa="yyyy-MM-dd",l.t="d",t=vl.format(l.fa,a)):(t=e,l.fa="General",l.t="g");return[t,l,a]}function _t(e,n){return vl.format(e,n)}function ef(e,n){return vl.is_date(e,n)}function bn(e,n,t){var l=ze(e,n,t,"m");return l==null?l=ze(e,n,t,"v"):isNaN(s2(l))?t[e][n].ct!=null&&t[e][n].ct.t=="d"||t[e][n].ct!=null&&t[e][n].ct.t=="b"||(l=ze(e,n,t,"v")):typeof l=="string"&&l.indexOf("%")>-1||(l=ze(e,n,t,"v")),l}var Hr,vl,r2,v5,k5,n2,b5,a2,wo,i2,Ml=$e(()=>{Pt();Br();Zt();Hr=Nl(ca()),vl={},r2=function(n){n.version="0.11.2";function t(Z){for(var G="",le=Z.length-1;le>=0;)G+=Z.charAt(le--);return G}function l(Z,G){for(var le="";le.length<G;)le+=Z;return le}function a(Z,G){var le=""+Z;return le.length>=G?le:l("0",G-le.length)+le}function o(Z,G){var le=""+Z;return le.length>=G?le:l(" ",G-le.length)+le}function s(Z,G){var le=""+Z;return le.length>=G?le:le+l(" ",G-le.length)}function u(Z,G){var le=""+Math.round(Z);return le.length>=G?le:l("0",G-le.length)+le}function d(Z,G){var le=""+Z;return le.length>=G?le:l("0",G-le.length)+le}var f=Math.pow(2,32);function m(Z,G){if(Z>f||Z<-f)return u(Z,G);var le=Math.round(Z);return d(le,G)}function g(Z,G){return G=G||0,Z.length>=7+G&&(Z.charCodeAt(G)|32)==103&&(Z.charCodeAt(G+1)|32)==101&&(Z.charCodeAt(G+2)|32)==110&&(Z.charCodeAt(G+3)|32)==101&&(Z.charCodeAt(G+4)|32)==114&&(Z.charCodeAt(G+5)|32)==97&&(Z.charCodeAt(G+6)|32)==108}var y=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],v=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function k(Z){Z[0]="General",Z[1]="0",Z[2]="0.00",Z[3]="#,##0",Z[4]="#,##0.00",Z[9]="0%",Z[10]="0.00%",Z[11]="0.00E+00",Z[12]="# ?/?",Z[13]="# ??/??",Z[14]="m/d/yy",Z[15]="d-mmm-yy",Z[16]="d-mmm",Z[17]="mmm-yy",Z[18]="h:mm AM/PM",Z[19]="h:mm:ss AM/PM",Z[20]="h:mm",Z[21]="h:mm:ss",Z[22]="m/d/yy h:mm",Z[37]="#,##0 ;(#,##0)",Z[38]="#,##0 ;[Red](#,##0)",Z[39]="#,##0.00;(#,##0.00)",Z[40]="#,##0.00;[Red](#,##0.00)",Z[45]="mm:ss",Z[46]="[h]:mm:ss",Z[47]="mmss.0",Z[48]="##0.0E+0",Z[49]="@",Z[56]='"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "',Z[65535]="General"}var b={};k(b);var w=[],x=0;for(x=5;x<=8;++x)w[x]=32+x;for(x=23;x<=26;++x)w[x]=0;for(x=27;x<=31;++x)w[x]=14;for(x=50;x<=58;++x)w[x]=14;for(x=59;x<=62;++x)w[x]=x-58;for(x=67;x<=68;++x)w[x]=x-58;for(x=72;x<=75;++x)w[x]=x-58;for(x=67;x<=68;++x)w[x]=x-57;for(x=76;x<=78;++x)w[x]=x-56;for(x=79;x<=81;++x)w[x]=x-34;var C=[];C[5]=C[63]='"$"#,##0_);\\("$"#,##0\\)',C[6]=C[64]='"$"#,##0_);[Red]\\("$"#,##0\\)',C[7]=C[65]='"$"#,##0.00_);\\("$"#,##0.00\\)',C[8]=C[66]='"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',C[41]='_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',C[42]='_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',C[43]='_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',C[44]='_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)';function S(Z,G,le){for(var pe=Z<0?-1:1,ie=Z*pe,Ae=0,ae=1,Ee=0,je=1,Ce=0,Le=0,Ge=Math.floor(ie);Ce<G&&(Ge=Math.floor(ie),Ee=Ge*ae+Ae,Le=Ge*Ce+je,!(ie-Ge<5e-8));)ie=1/(ie-Ge),Ae=ae,ae=Ee,je=Ce,Ce=Le;if(Le>G&&(Ce>G?(Le=je,Ee=Ae):(Le=Ce,Ee=ae)),!le)return[0,pe*Ee,Le];var Ne=Math.floor(pe*Ee/Le);return[Ne,pe*Ee-Ne*Le,Le]}function _(Z,G,le){if(Z>2958465||Z<0)return null;var pe=Z|0,ie=Math.floor(86400*(Z-pe)),Ae=0,ae=[],Ee={D:pe,T:ie,u:86400*(Z-pe)-ie,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(Ee.u)<1e-6&&(Ee.u=0),G&&G.date1904&&(pe+=1462),Ee.u>.9999&&(Ee.u=0,++ie==86400&&(Ee.T=ie=0,++pe,++Ee.D)),pe===60)ae=le?[1317,10,29]:[1900,2,29],Ae=3;else if(pe===0)ae=le?[1317,8,29]:[1900,1,0],Ae=6;else{pe>60&&--pe;var je=new Date(1900,0,1);je.setDate(je.getDate()+pe-1),ae=[je.getFullYear(),je.getMonth()+1,je.getDate()],Ae=je.getDay(),pe<60&&(Ae=(Ae+6)%7),le&&(Ae=N(je,ae))}return Ee.y=ae[0],Ee.m=ae[1],Ee.d=ae[2],Ee.S=ie%60,ie=Math.floor(ie/60),Ee.M=ie%60,ie=Math.floor(ie/60),Ee.H=ie,Ee.q=Ae,Ee}n.parse_date_code=_;var T=new Date(1899,11,31,0,0,0),A=T.getTime(),R=new Date(1900,2,1,0,0,0);function I(Z,G){var le=Z.getTime();return G?le-=1461*24*60*60*1e3:Z>=R&&(le+=24*60*60*1e3),(le-(A+(Z.getTimezoneOffset()-T.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function F(Z){return Z.toString(10)}n._general_int=F;var z=function(){var G=/(?:\.0*|(\.\d*[1-9])0+)$/;function le(Ce){return Ce.indexOf(".")==-1?Ce:Ce.replace(G,"$1")}var pe=/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,ie=/(E[+-])(\d)$/;function Ae(Ce){return Ce.indexOf("E")==-1?Ce:Ce.replace(pe,"$1E").replace(ie,"$10$2")}function ae(Ce){var Le=Ce<0?12:11,Ge=le(Ce.toFixed(12));return Ge.length<=Le||(Ge=Ce.toPrecision(10),Ge.length<=Le)?Ge:Ce.toExponential(5)}function Ee(Ce){var Le=le(Ce.toFixed(11));return Le.length>(Ce<0?12:11)||Le==="0"||Le==="-0"?Ce.toPrecision(6):Le}function je(Ce){var Le=Math.floor(Math.log(Math.abs(Ce))*Math.LOG10E),Ge;return Le>=-4&&Le<=-1?Ge=Ce.toPrecision(10+Le):Math.abs(Le)<=9?Ge=ae(Ce):Le===10?Ge=Ce.toFixed(10).substr(0,12):Ge=Ee(Ce),le(Ae(Ge.toUpperCase()))}return je}();n._general_num=z;function M(Z,G){switch(typeof Z){case"string":return Z;case"boolean":return Z?"TRUE":"FALSE";case"number":return(Z|0)===Z?Z.toString(10):z(Z);case"undefined":return"";case"object":if(Z==null)return"";if(Z instanceof Date)return ue(14,I(Z,G&&G.date1904),G)}throw new Error("unsupported value in General format: "+Z)}n._general=M;function N(Z,G){G[0]-=581;var le=Z.getDay();return Z<60&&(le=(le+6)%7),le}var E="\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59".split("");function L(Z,G,le,pe){var ie="",Ae=0,ae=0,Ee=le.y,je,Ce=0;switch(Z){case 98:Ee=le.y+543;case 121:switch(G.length){case 1:case 2:je=Ee%100,Ce=2;break;default:je=Ee%1e4,Ce=4;break}break;case 109:switch(G.length){case 1:case 2:je=le.m,Ce=G.length;break;case 3:return v[le.m-1][1];case 5:return v[le.m-1][0];default:return v[le.m-1][2]}break;case 100:switch(G.length){case 1:case 2:je=le.d,Ce=G.length;break;case 3:return y[le.q][0];default:return y[le.q][1]}break;case 104:switch(G.length){case 1:case 2:je=1+(le.H+11)%12,Ce=G.length;break;default:throw"bad hour format: "+G}break;case 72:switch(G.length){case 1:case 2:je=le.H,Ce=G.length;break;default:throw"bad hour format: "+G}break;case 77:switch(G.length){case 1:case 2:je=le.M,Ce=G.length;break;default:throw"bad minute format: "+G}break;case 115:if(G!="s"&&G!="ss"&&G!=".0"&&G!=".00"&&G!=".000")throw"bad second format: "+G;return le.u===0&&(G=="s"||G=="ss")?a(le.S,G.length):(pe>=2?ae=pe===3?1e3:100:ae=pe===1?10:1,Ae=Math.round(ae*(le.S+le.u)),Ae>=60*ae&&(Ae=0),G==="s"?Ae===0?"0":""+Ae/ae:(ie=a(Ae,2+pe),G==="ss"?ie.substr(0,2):"."+ie.substr(2,G.length-1)));case 90:switch(G){case"[h]":case"[hh]":je=le.D*24+le.H;break;case"[m]":case"[mm]":je=(le.D*24+le.H)*60+le.M;break;case"[s]":case"[ss]":je=((le.D*24+le.H)*60+le.M)*60+Math.round(le.S+le.u);break;default:throw"bad abstime format: "+G}Ce=G.length===3?1:2;break;case 101:je=Ee,Ce=1;break}var Le=Ce>0?a(je,Ce):"";return Le}function O(Z){var G=3;if(Z.length<=G)return Z;for(var le=Z.length%G,pe=Z.substr(0,le);le!=Z.length;le+=G)pe+=(pe.length>0?",":"")+Z.substr(le,G);return pe}var V=function(){var G=/%/g;function le(Fe,ye,ke){var dt=ye.replace(G,""),De=ye.length-dt.length;return V(Fe,dt,ke*Math.pow(10,2*De))+l("%",De)}function pe(Fe,ye,ke){for(var dt=ye.length-1;ye.charCodeAt(dt-1)===44;)--dt;return V(Fe,ye.substr(0,dt),ke/Math.pow(10,3*(ye.length-dt)))}function ie(Fe,ye){var ke,dt=Fe.indexOf("E")-Fe.indexOf(".")-1;if(Fe.match(/^#+0.0E\+0$/)){if(ye==0)return"0.0E+0";if(ye<0)return"-"+ie(Fe,-ye);var De=Fe.indexOf(".");De===-1&&(De=Fe.indexOf("E"));var Pe=Math.floor(Math.log(ye)*Math.LOG10E)%De;if(Pe<0&&(Pe+=De),ke=(ye/Math.pow(10,Pe)).toPrecision(dt+1+(De+Pe)%De),ke.indexOf("e")===-1){var Et=Math.floor(Math.log(ye)*Math.LOG10E);for(ke.indexOf(".")===-1?ke=ke.charAt(0)+"."+ke.substr(1)+"E+"+(Et-ke.length+Pe):ke+="E+"+(Et-Pe);ke.substr(0,2)==="0.";)ke=ke.charAt(0)+ke.substr(2,De)+"."+ke.substr(2+De),ke=ke.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");ke=ke.replace(/\+-/,"-")}ke=ke.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(pt,sl,cl,jt){return sl+cl+jt.substr(0,(De+Pe)%De)+"."+jt.substr(Pe)+"E"})}else ke=ye.toExponential(dt);return Fe.match(/E\+00$/)&&ke.match(/e[+-]\d$/)&&(ke=ke.substr(0,ke.length-1)+"0"+ke.charAt(ke.length-1)),Fe.match(/E\-/)&&ke.match(/e\+/)&&(ke=ke.replace(/e\+/,"e")),ke.replace("e","E")}var Ae=/# (\?+)( ?)\/( ?)(\d+)/;function ae(Fe,ye,ke){var dt=parseInt(Fe[4],10),De=Math.round(ye*dt),Pe=Math.floor(De/dt),Et=De-Pe*dt,pt=dt;return ke+(Pe===0?"":""+Pe)+" "+(Et===0?l(" ",Fe[1].length+1+Fe[4].length):o(Et,Fe[1].length)+Fe[2]+"/"+Fe[3]+a(pt,Fe[4].length))}function Ee(Fe,ye,ke){return ke+(ye===0?"":""+ye)+l(" ",Fe[1].length+2+Fe[4].length)}var je=/^#*0*\.([0#]+)/,Ce=/\).*[0#]/,Le=/\(###\) ###\\?-####/;function Ge(Fe){for(var ye="",ke,dt=0;dt!=Fe.length;++dt)switch(ke=Fe.charCodeAt(dt)){case 35:break;case 63:ye+=" ";break;case 48:ye+="0";break;default:ye+=String.fromCharCode(ke)}return ye}function Ne(Fe,ye){var ke=Math.pow(10,ye);return""+Math.round(Fe*ke)/ke}function et(Fe,ye){var ke=Fe-Math.floor(Fe),dt=Math.pow(10,ye);return ye<(""+Math.round(ke*dt)).length?0:Math.round(ke*dt)}function vt(Fe,ye){return ye<(""+Math.round((Fe-Math.floor(Fe))*Math.pow(10,ye))).length?1:0}function Rt(Fe){return Fe<2147483647&&Fe>-2147483648?""+(Fe>=0?Fe|0:Fe-1|0):""+Math.floor(Fe)}function ot(Fe,ye,ke){if(Fe.charCodeAt(0)===40&&!ye.match(Ce)){var dt=ye.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return ke>=0?ot("n",dt,ke):"("+ot("n",dt,-ke)+")"}if(ye.charCodeAt(ye.length-1)===44)return pe(Fe,ye,ke);if(ye.indexOf("%")!==-1)return le(Fe,ye,ke);if(ye.indexOf("E")!==-1)return ie(ye,ke);if(ye.charCodeAt(0)===36)return"$"+ot(Fe,ye.substr(ye.charAt(1)==" "?2:1),ke);var De,Pe,Et,pt,sl=Math.abs(ke),cl=ke<0?"-":"";if(ye.match(/^00+$/))return cl+m(sl,ye.length);if(ye.match(/^[#?]+$/))return De=m(ke,0),De==="0"&&(De=""),De.length>ye.length?De:Ge(ye.substr(0,ye.length-De.length))+De;if(Pe=ye.match(Ae))return ae(Pe,sl,cl);if(ye.match(/^#+0+$/))return cl+m(sl,ye.length-ye.indexOf("0"));if(Pe=ye.match(je))return De=Ne(ke,Pe[1].length).replace(/^([^\.]+)$/,"$1."+Ge(Pe[1])).replace(/\.$/,"."+Ge(Pe[1])).replace(/\.(\d*)$/,function(Wl,Kn){return"."+Kn+l("0",Ge(Pe[1]).length-Kn.length)}),ye.indexOf("0.")!==-1?De:De.replace(/^0\./,".");if(ye=ye.replace(/^#+([0.])/,"$1"),Pe=ye.match(/^(0*)\.(#*)$/))return cl+Ne(sl,Pe[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,Pe[1].length?"0.":".");if(Pe=ye.match(/^#{1,3},##0(\.?)$/))return cl+O(m(sl,0));if(Pe=ye.match(/^#,##0\.([#0]*0)$/))return ke<0?"-"+ot(Fe,ye,-ke):O(""+(Math.floor(ke)+vt(ke,Pe[1].length)))+"."+a(et(ke,Pe[1].length),Pe[1].length);if(Pe=ye.match(/^#,#*,#0/))return ot(Fe,ye.replace(/^#,#*,/,""),ke);if(Pe=ye.match(/^([0#]+)(\\?-([0#]+))+$/))return De=t(ot(Fe,ye.replace(/[\\-]/g,""),ke)),Et=0,t(t(ye.replace(/\\/g,"")).replace(/[0#]/g,function(Wl){return Et<De.length?De.charAt(Et++):Wl==="0"?"0":""}));if(ye.match(Le))return De=ot(Fe,"##########",ke),"("+De.substr(0,3)+") "+De.substr(3,3)+"-"+De.substr(6);var jt="";if(Pe=ye.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return Et=Math.min(Pe[4].length,7),pt=S(sl,Math.pow(10,Et)-1,!1),De=""+cl,jt=V("n",Pe[1],pt[1]),jt.charAt(jt.length-1)==" "&&(jt=jt.substr(0,jt.length-1)+"0"),De+=jt+Pe[2]+"/"+Pe[3],jt=s(pt[2],Et),jt.length<Pe[4].length&&(jt=Ge(Pe[4].substr(Pe[4].length-jt.length))+jt),De+=jt,De;if(Pe=ye.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return Et=Math.min(Math.max(Pe[1].length,Pe[4].length),7),pt=S(sl,Math.pow(10,Et)-1,!0),cl+(pt[0]||(pt[1]?"":"0"))+" "+(pt[1]?o(pt[1],Et)+Pe[2]+"/"+Pe[3]+s(pt[2],Et):l(" ",2*Et+1+Pe[2].length+Pe[3].length));if(Pe=ye.match(/^[#0?]+$/))return De=m(ke,0),ye.length<=De.length?De:Ge(ye.substr(0,ye.length-De.length))+De;if(Pe=ye.match(/^([#0?]+)\.([#0]+)$/)){De=""+ke.toFixed(Math.min(Pe[2].length,10)).replace(/([^0])0+$/,"$1"),Et=De.indexOf(".");var Jr=ye.indexOf(".")-Et,Xn=ye.length-De.length-Jr;return Ge(ye.substr(0,Jr)+De+ye.substr(ye.length-Xn))}if(Pe=ye.match(/^00,000\.([#0]*0)$/))return Et=et(ke,Pe[1].length),ke<0?"-"+ot(Fe,ye,-ke):O(Rt(ke)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(Wl){return"00,"+(Wl.length<3?a(0,3-Wl.length):"")+Wl})+"."+a(Et,Pe[1].length);switch(ye){case"###,##0.00":return ot(Fe,"#,##0.00",ke);case"###,###":case"##,###":case"#,###":var Gl=O(m(sl,0));return Gl!=="0"?cl+Gl:"";case"###,###.00":return ot(Fe,"###,##0.00",ke).replace(/^0\./,".");case"#,###.00":return ot(Fe,"#,##0.00",ke).replace(/^0\./,".");default:}throw new Error("unsupported format |"+ye+"|")}function kt(Fe,ye,ke){for(var dt=ye.length-1;ye.charCodeAt(dt-1)===44;)--dt;return V(Fe,ye.substr(0,dt),ke/Math.pow(10,3*(ye.length-dt)))}function qe(Fe,ye,ke){var dt=ye.replace(G,""),De=ye.length-dt.length;return V(Fe,dt,ke*Math.pow(10,2*De))+l("%",De)}function Te(Fe,ye){var ke,dt=Fe.indexOf("E")-Fe.indexOf(".")-1;if(Fe.match(/^#+0.0E\+0$/)){if(ye==0)return"0.0E+0";if(ye<0)return"-"+Te(Fe,-ye);var De=Fe.indexOf(".");De===-1&&(De=Fe.indexOf("E"));var Pe=Math.floor(Math.log(ye)*Math.LOG10E)%De;if(Pe<0&&(Pe+=De),ke=(ye/Math.pow(10,Pe)).toPrecision(dt+1+(De+Pe)%De),!ke.match(/[Ee]/)){var Et=Math.floor(Math.log(ye)*Math.LOG10E);ke.indexOf(".")===-1?ke=ke.charAt(0)+"."+ke.substr(1)+"E+"+(Et-ke.length+Pe):ke+="E+"+(Et-Pe),ke=ke.replace(/\+-/,"-")}ke=ke.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(pt,sl,cl,jt){return sl+cl+jt.substr(0,(De+Pe)%De)+"."+jt.substr(Pe)+"E"})}else ke=ye.toExponential(dt);return Fe.match(/E\+00$/)&&ke.match(/e[+-]\d$/)&&(ke=ke.substr(0,ke.length-1)+"0"+ke.charAt(ke.length-1)),Fe.match(/E\-/)&&ke.match(/e\+/)&&(ke=ke.replace(/e\+/,"e")),ke.replace("e","E")}function Je(Fe,ye,ke){if(Fe.charCodeAt(0)===40&&!ye.match(Ce)){var dt=ye.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return ke>=0?Je("n",dt,ke):"("+Je("n",dt,-ke)+")"}if(ye.charCodeAt(ye.length-1)===44)return kt(Fe,ye,ke);if(ye.indexOf("%")!==-1)return qe(Fe,ye,ke);if(ye.indexOf("E")!==-1)return Te(ye,ke);if(ye.charCodeAt(0)===36)return"$"+Je(Fe,ye.substr(ye.charAt(1)==" "?2:1),ke);var De,Pe,Et,pt,sl=Math.abs(ke),cl=ke<0?"-":"";if(ye.match(/^00+$/))return cl+a(sl,ye.length);if(ye.match(/^[#?]+$/))return De=""+ke,ke===0&&(De=""),De.length>ye.length?De:Ge(ye.substr(0,ye.length-De.length))+De;if(Pe=ye.match(Ae))return Ee(Pe,sl,cl);if(ye.match(/^#+0+$/))return cl+a(sl,ye.length-ye.indexOf("0"));if(Pe=ye.match(je))return De=(""+ke).replace(/^([^\.]+)$/,"$1."+Ge(Pe[1])).replace(/\.$/,"."+Ge(Pe[1])),De=De.replace(/\.(\d*)$/,function(Wl,Kn){return"."+Kn+l("0",Ge(Pe[1]).length-Kn.length)}),ye.indexOf("0.")!==-1?De:De.replace(/^0\./,".");if(ye=ye.replace(/^#+([0.])/,"$1"),Pe=ye.match(/^(0*)\.(#*)$/))return cl+(""+sl).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,Pe[1].length?"0.":".");if(Pe=ye.match(/^#{1,3},##0(\.?)$/))return cl+O(""+sl);if(Pe=ye.match(/^#,##0\.([#0]*0)$/))return ke<0?"-"+Je(Fe,ye,-ke):O(""+ke)+"."+l("0",Pe[1].length);if(Pe=ye.match(/^#,#*,#0/))return Je(Fe,ye.replace(/^#,#*,/,""),ke);if(Pe=ye.match(/^([0#]+)(\\?-([0#]+))+$/))return De=t(Je(Fe,ye.replace(/[\\-]/g,""),ke)),Et=0,t(t(ye.replace(/\\/g,"")).replace(/[0#]/g,function(Wl){return Et<De.length?De.charAt(Et++):Wl==="0"?"0":""}));if(ye.match(Le))return De=Je(Fe,"##########",ke),"("+De.substr(0,3)+") "+De.substr(3,3)+"-"+De.substr(6);var jt="";if(Pe=ye.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return Et=Math.min(Pe[4].length,7),pt=S(sl,Math.pow(10,Et)-1,!1),De=""+cl,jt=V("n",Pe[1],pt[1]),jt.charAt(jt.length-1)==" "&&(jt=jt.substr(0,jt.length-1)+"0"),De+=jt+Pe[2]+"/"+Pe[3],jt=s(pt[2],Et),jt.length<Pe[4].length&&(jt=Ge(Pe[4].substr(Pe[4].length-jt.length))+jt),De+=jt,De;if(Pe=ye.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return Et=Math.min(Math.max(Pe[1].length,Pe[4].length),7),pt=S(sl,Math.pow(10,Et)-1,!0),cl+(pt[0]||(pt[1]?"":"0"))+" "+(pt[1]?o(pt[1],Et)+Pe[2]+"/"+Pe[3]+s(pt[2],Et):l(" ",2*Et+1+Pe[2].length+Pe[3].length));if(Pe=ye.match(/^[#0?]+$/))return De=""+ke,ye.length<=De.length?De:Ge(ye.substr(0,ye.length-De.length))+De;if(Pe=ye.match(/^([#0]+)\.([#0]+)$/)){De=""+ke.toFixed(Math.min(Pe[2].length,10)).replace(/([^0])0+$/,"$1"),Et=De.indexOf(".");var Jr=ye.indexOf(".")-Et,Xn=ye.length-De.length-Jr;return Ge(ye.substr(0,Jr)+De+ye.substr(ye.length-Xn))}if(Pe=ye.match(/^00,000\.([#0]*0)$/))return ke<0?"-"+Je(Fe,ye,-ke):O(""+ke).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(Wl){return"00,"+(Wl.length<3?a(0,3-Wl.length):"")+Wl})+"."+a(0,Pe[1].length);switch(ye){case"###,###":case"##,###":case"#,###":var Gl=O(""+sl);return Gl!=="0"?cl+Gl:"";default:if(ye.match(/\.[0#?]*$/))return Je(Fe,ye.slice(0,ye.lastIndexOf(".")),ke)+Ge(ye.slice(ye.lastIndexOf(".")))}throw new Error("unsupported format |"+ye+"|")}return function(ye,ke,dt){return(dt|0)===dt?Je(ye,ke,dt):ot(ye,ke,dt)}}();function q(Z){for(var G=[],le=!1,pe=0,ie=0;pe<Z.length;++pe)switch(Z.charCodeAt(pe)){case 34:le=!le;break;case 95:case 42:case 92:++pe;break;case 59:G[G.length]=Z.substr(ie,pe-ie),ie=pe+1}if(G[G.length]=Z.substr(ie),le===!0)throw new Error("Format |"+Z+"| unterminated string ");return G}n._split=q;var W=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function Y(Z){for(var G=0,le="",pe="";G<Z.length;)switch(le=Z.charAt(G)){case"G":g(Z,G)&&(G+=6),G++;break;case'"':for(;Z.charCodeAt(++G)!==34&&G<Z.length;);++G;break;case"\\":G+=2;break;case"_":G+=2;break;case"@":++G;break;case"B":case"b":if(Z.charAt(G+1)==="1"||Z.charAt(G+1)==="2")return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"\u4E0A":if(Z.substr(G,3).toUpperCase()==="A/P"||Z.substr(G,5).toUpperCase()==="AM/PM"||Z.substr(G,5).toUpperCase()==="\u4E0A\u5348/\u4E0B\u5348")return!0;++G;break;case"[":for(pe=le;Z.charAt(G++)!=="]"&&G<Z.length;)pe+=Z.charAt(G);if(pe.match(W))return!0;break;case".":case"0":case"#":for(;G<Z.length&&("0#?.,E+-%".indexOf(le=Z.charAt(++G))>-1||le=="\\"&&Z.charAt(G+1)=="-"&&"0#".indexOf(Z.charAt(G+2))>-1););break;case"?":for(;Z.charAt(++G)===le;);break;case"*":++G,(Z.charAt(G)==" "||Z.charAt(G)=="*")&&++G;break;case"(":case")":++G;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;G<Z.length&&"0123456789".indexOf(Z.charAt(++G))>-1;);break;case" ":++G;break;default:++G;break}return!1}n.is_date=Y;function ee(Z,G,le,pe){for(var ie=[],Ae="",ae=0,Ee="",je="t",Ce,Le,Ge,Ne="H";ae<Z.length;)switch(Ee=Z.charAt(ae)){case"G":if(!g(Z,ae))throw new Error("unrecognized character "+Ee+" in "+Z);ie[ie.length]={t:"G",v:"General"},ae+=7;break;case'"':for(Ae="";(Ge=Z.charCodeAt(++ae))!==34&&ae<Z.length;)Ae+=String.fromCharCode(Ge);ie[ie.length]={t:"t",v:Ae},++ae;break;case"\\":var et=Z.charAt(++ae),vt=et==="("||et===")"?et:"t";ie[ie.length]={t:vt,v:et},++ae;break;case"_":ie[ie.length]={t:"t",v:" "},ae+=2;break;case"@":ie[ie.length]={t:"T",v:G},++ae;break;case"B":case"b":if(Z.charAt(ae+1)==="1"||Z.charAt(ae+1)==="2"){if(Ce==null&&(Ce=_(G,le,Z.charAt(ae+1)==="2"),Ce==null))return"";ie[ie.length]={t:"X",v:Z.substr(ae,2)},je=Ee,ae+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":Ee=Ee.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(G<0)return"";if(Ce==null&&(Ce=_(G,le),Ce==null))return"#####";for(Ae=Ee;++ae<Z.length&&Z.charAt(ae).toLowerCase()===Ee;)Ae+=Ee;Ee==="m"&&je.toLowerCase()==="h"&&(Ee="M"),Ee==="h"&&(Ee=Ne),ie[ie.length]={t:Ee,v:Ae},je=Ee;break;case"A":case"a":case"\u4E0A":var Rt={t:Ee,v:Ee};if(Ce==null&&(Ce=_(G,le)),Z.substr(ae,3).toUpperCase()==="A/P"?(Ce!=null&&(Rt.v=Ce.H>=12?"P":"A"),Rt.t="T",Ne="h",ae+=3):Z.substr(ae,5).toUpperCase()==="AM/PM"?(Ce!=null&&(Rt.v=Ce.H>=12?"PM":"AM"),Rt.t="T",ae+=5,Ne="h"):Z.substr(ae,5).toUpperCase()==="\u4E0A\u5348/\u4E0B\u5348"?(Ce!=null&&(Rt.v=Ce.H>=12?"\u4E0B\u5348":"\u4E0A\u5348"),Rt.t="T",ae+=5,Ne="h"):(Rt.t="t",++ae),Ce==null&&Rt.t==="T")return"";ie[ie.length]=Rt,je=Ee;break;case"[":for(Ae=Ee;Z.charAt(ae++)!=="]"&&ae<Z.length;)Ae+=Z.charAt(ae);if(Ae.slice(-1)!=="]")throw'unterminated "[" block: |'+Ae+"|";if(Ae.match(W)){if(Ce==null&&(Ce=_(G,le),Ce==null))return"";ie[ie.length]={t:"Z",v:Ae.toLowerCase()},je=Ae.charAt(1)}else Ae.indexOf("$")>-1&&(Ae=(Ae.match(/\$([^-\[\]]*)/)||[])[1]||"$",Y(Z)||(ie[ie.length]={t:"t",v:Ae}));break;case".":if(Ce!=null){for(Ae=Ee;++ae<Z.length&&(Ee=Z.charAt(ae))==="0";)Ae+=Ee;ie[ie.length]={t:"s",v:Ae};break}case"0":case"#":for(Ae=Ee;++ae<Z.length&&"0#?.,E+-%".indexOf(Ee=Z.charAt(ae))>-1;)Ae+=Ee;ie[ie.length]={t:"n",v:Ae};break;case"?":for(Ae=Ee;Z.charAt(++ae)===Ee;)Ae+=Ee;ie[ie.length]={t:Ee,v:Ae},je=Ee;break;case"*":++ae,(Z.charAt(ae)==" "||Z.charAt(ae)=="*")&&++ae;break;case"(":case")":ie[ie.length]={t:pe===1?"t":Ee,v:Ee},++ae;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(Ae=Ee;ae<Z.length&&"0123456789".indexOf(Z.charAt(++ae))>-1;)Ae+=Z.charAt(ae);ie[ie.length]={t:"D",v:Ae};break;case" ":ie[ie.length]={t:Ee,v:Ee},++ae;break;case"$":ie[ie.length]={t:"t",v:"$"},++ae;break;default:if("\xA4\u0E3FBsBr\u20B5\u20A1\u20AB\u0192FtRs.\u20ADkr\xA3\u20A4Lm\u20A5\u20A6\u20B1PQRSkRp\u09F2\u09F3R$S/.\u3012\u20AE\u20A9\xA5NT\uFFE5z\u0142\u20B4\u20AA\u17DB\u0440\u0443\u0431\u20AC\uFF04,$-+/():!^&'~{}<>=\u20ACacfijklopqrtuvwxzP$\uFFE5LekdinAf$dhAflRial?\uFFE1BirrKzMOPPGKRsGsB/R$\u0440\u0440levkrKMzBsPNuFBuKPkrRD$NfkCFA?CVEGMDFrCDHTGNAfLFdjKGSFGGHSRielKCFknKshLSLL\uFFE1LtRFRONArRfMWKRMMURsMROS/KMDLMTnRC$kr\u20ACGELCHFSLLSCRDbSZLSDGSOSSomFCFPTShT$VUVQUGX\u0433\u0440\u043DsomWSTNT$FtDramRpZMWFCFA".indexOf(Ee)===-1)throw new Error("unrecognized character "+Ee+" in "+Z);ie[ie.length]={t:"t",v:Ee},++ae;break}var ot=0,kt=0,qe;for(ae=ie.length-1,je="t";ae>=0;--ae)switch(ie[ae].t){case"h":case"H":ie[ae].t=Ne,je="h",ot<1&&(ot=1);break;case"s":(qe=ie[ae].v.match(/\.0+$/))&&(kt=Math.max(kt,qe[0].length-1)),ot<3&&(ot=3);case"d":case"y":case"M":case"e":je=ie[ae].t;break;case"m":je==="s"&&(ie[ae].t="M",ot<2&&(ot=2));break;case"X":break;case"Z":ot<1&&ie[ae].v.match(/[Hh]/)&&(ot=1),ot<2&&ie[ae].v.match(/[Mm]/)&&(ot=2),ot<3&&ie[ae].v.match(/[Ss]/)&&(ot=3)}switch(ot){case 0:break;case 1:Ce.u>=.5&&(Ce.u=0,++Ce.S),Ce.S>=60&&(Ce.S=0,++Ce.M),Ce.M>=60&&(Ce.M=0,++Ce.H);break;case 2:Ce.u>=.5&&(Ce.u=0,++Ce.S),Ce.S>=60&&(Ce.S=0,++Ce.M);break}var Te="",Je;for(ae=0;ae<ie.length;++ae)switch(ie[ae].t){case"t":case"T":case" ":case"D":break;case"X":ie[ae].v="",ie[ae].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":ie[ae].v=L(ie[ae].t.charCodeAt(0),ie[ae].v,Ce,kt),ie[ae].t="t";break;case"n":case"?":for(Je=ae+1;ie[Je]!=null&&((Ee=ie[Je].t)==="?"||Ee==="D"||(Ee===" "||Ee==="t")&&ie[Je+1]!=null&&(ie[Je+1].t==="?"||ie[Je+1].t==="t"&&ie[Je+1].v==="/")||ie[ae].t==="("&&(Ee===" "||Ee==="n"||Ee===")")||Ee==="t"&&(ie[Je].v==="/"||ie[Je].v===" "&&ie[Je+1]!=null&&ie[Je+1].t=="?"));)ie[ae].v+=ie[Je].v,ie[Je]={v:"",t:";"},++Je;Te+=ie[ae].v,ae=Je-1;break;case"G":ie[ae].t="t",ie[ae].v=M(G,le);break}var Fe="",ye,ke;if(Te.length>0){Te.charCodeAt(0)==40?(ye=G<0&&Te.charCodeAt(0)===45?-G:G,ke=V("n",Te,ye)):(ye=G<0&&pe>1?-G:G,ke=V("n",Te,ye),ye<0&&ie[0]&&ie[0].t=="t"&&(ke=ke.substr(1),ie[0].v="-"+ie[0].v)),Je=ke.length-1;var dt=ie.length;for(ae=0;ae<ie.length;++ae)if(ie[ae]!=null&&ie[ae].t!="t"&&ie[ae].v.indexOf(".")>-1){dt=ae;break}var De=ie.length;if(dt===ie.length&&ke.indexOf("E")===-1){for(ae=ie.length-1;ae>=0;--ae)ie[ae]==null||"n?".indexOf(ie[ae].t)===-1||(Je>=ie[ae].v.length-1?(Je-=ie[ae].v.length,ie[ae].v=ke.substr(Je+1,ie[ae].v.length)):Je<0?ie[ae].v="":(ie[ae].v=ke.substr(0,Je+1),Je=-1),ie[ae].t="t",De=ae);Je>=0&&De<ie.length&&(ie[De].v=ke.substr(0,Je+1)+ie[De].v)}else if(dt!==ie.length&&ke.indexOf("E")===-1){for(Je=ke.indexOf(".")-1,ae=dt;ae>=0;--ae)if(!(ie[ae]==null||"n?".indexOf(ie[ae].t)===-1)){for(Le=ie[ae].v.indexOf(".")>-1&&ae===dt?ie[ae].v.indexOf(".")-1:ie[ae].v.length-1,Fe=ie[ae].v.substr(Le+1);Le>=0;--Le)Je>=0&&(ie[ae].v.charAt(Le)==="0"||ie[ae].v.charAt(Le)==="#")&&(Fe=ke.charAt(Je--)+Fe);ie[ae].v=Fe,ie[ae].t="t",De=ae}for(Je>=0&&De<ie.length&&(ie[De].v=ke.substr(0,Je+1)+ie[De].v),Je=ke.indexOf(".")+1,ae=dt;ae<ie.length;++ae)if(!(ie[ae]==null||"n?(".indexOf(ie[ae].t)===-1&&ae!==dt)){for(Le=ie[ae].v.indexOf(".")>-1&&ae===dt?ie[ae].v.indexOf(".")+1:0,Fe=ie[ae].v.substr(0,Le);Le<ie[ae].v.length;++Le)Je<ke.length&&(Fe+=ke.charAt(Je++));ie[ae].v=Fe,ie[ae].t="t",De=ae}}}for(ae=0;ae<ie.length;++ae)ie[ae]!=null&&"n?".indexOf(ie[ae].t)>-1&&(ye=pe>1&&G<0&&ae>0&&ie[ae-1].v==="-"?-G:G,ie[ae].v=V(ie[ae].t,ie[ae].v,ye),ie[ae].t="t");var Pe="";for(ae=0;ae!==ie.length;++ae)ie[ae]!=null&&(Pe+=ie[ae].v);return Pe}n._eval=ee;var te=/\[[=<>]/,oe=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function ce(Z,G){if(G==null)return!1;var le=parseFloat(G[2]);switch(G[1]){case"=":if(Z==le)return!0;break;case">":if(Z>le)return!0;break;case"<":if(Z<le)return!0;break;case"<>":if(Z!=le)return!0;break;case">=":if(Z>=le)return!0;break;case"<=":if(Z<=le)return!0;break}return!1}function se(Z,G){var le=q(Z),pe=le.length,ie=le[pe-1].indexOf("@");if(pe<4&&ie>-1&&--pe,le.length>4)throw new Error("cannot find right format for |"+le.join("|")+"|");if(typeof G!="number")return[4,le.length===4||ie>-1?le[le.length-1]:"@"];switch(le.length){case 1:le=ie>-1?["General","General","General",le[0]]:[le[0],le[0],le[0],"@"];break;case 2:le=ie>-1?[le[0],le[0],le[0],le[1]]:[le[0],le[1],le[0],"@"];break;case 3:le=ie>-1?[le[0],le[1],le[0],le[2]]:[le[0],le[1],le[2],"@"];break;case 4:break}var Ae=G>0?le[0]:G<0?le[1]:le[2];if(le[0].indexOf("[")===-1&&le[1].indexOf("[")===-1)return[pe,Ae];if(le[0].match(te)!=null||le[1].match(te)!=null){var ae=le[0].match(oe),Ee=le[1].match(oe);return ce(G,ae)?[pe,le[0]]:ce(G,Ee)?[pe,le[1]]:[pe,le[ae!=null&&Ee!=null?2:1]]}return[pe,Ae]}function ue(Z,G,le){le==null&&(le={});var pe="";switch(typeof Z){case"string":Z=="m/d/yy"&&le.dateNF?pe=le.dateNF:pe=Z;break;case"number":Z==14&&le.dateNF?pe=le.dateNF:pe=(le.table!=null?le.table:b)[Z],pe==null&&(pe=le.table&&le.table[w[Z]]||b[w[Z]]),pe==null&&(pe=C[Z]||"General");break}var ie=/^(w|W)((0?)|(0\.0+))$/;if(pe.match(ie)){if(isNaN(G))return G;var Ae=pe.slice(1),ae=!1;!isNaN(G)&&Number(G)<0&&(ae=!0,G=Math.abs(G));var Ee=parseInt(G),je=Ee.toString().length;if(je>4){if(je>8){var Ce=parseInt(G/1e8),Le=parseInt(parseFloat(G).subtract(Ce*1e8)/1e4),Ge=parseFloat(G).subtract(Ce*1e8+Le*1e4);Ae!=""&&(Ge=(0,Hr.default)(Ge).format(Ae)),G=Ce+"\u4EBF"+Le+"\u4E07"+Ge}else{var Le=parseInt(G/1e4),Ge=parseFloat(G).subtract(Le*1e4);Ae!=""&&(Ge=(0,Hr.default)(Ge).format(Ae)),G=Le+"\u4E07"+Ge}if(G.indexOf("\u4EBF0\u4E070")!=-1?G=G.replace("0\u4E070",""):G.indexOf("\u4EBF0\u4E07")!=-1?G=G.replace("0\u4E07",""):G.indexOf("\u4E070")!=-1&&(G=G.replace("\u4E070","\u4E07")),G.indexOf("\u4EBF")!=-1&&G.indexOf("\u4E07")==-1){var Ne=G.substring(G.indexOf("\u4EBF")+1);if(Ne.substring(0,1)!=="."&&Ne!=""){switch((parseInt(Ne)+"").length){case 1:Ne="000"+Ne;break;case 2:Ne="00"+Ne;break;case 3:Ne="0"+Ne;break}G=G.substring(0,G.indexOf("\u4EBF")+1)+Ne}}else if(G.indexOf("\u4EBF")==-1&&G.indexOf("\u4E07")!=-1){var et=G.substring(G.indexOf("\u4E07")+1);if(et.substring(0,1)!=="."&&et!=""){switch((parseInt(et)+"").length){case 1:et="000"+et;break;case 2:et="00"+et;break;case 3:et="0"+et;break}G=G.substring(0,G.indexOf("\u4E07")+1)+et}}else if(G.indexOf("\u4EBF")!=-1&&G.indexOf("\u4E07")!=-1){var Ne=G.substring(G.indexOf("\u4EBF")+1,G.indexOf("\u4E07")),et=G.substring(G.indexOf("\u4E07")+1);switch((parseInt(Ne)+"").length){case 1:Ne="000"+Ne;break;case 2:Ne="00"+Ne;break;case 3:Ne="0"+Ne;break}if(G=G.substring(0,G.indexOf("\u4EBF")+1)+Ne+G.substring(G.indexOf("\u4E07")),et.substring(0,1)!=="."&&et!=""){switch((parseInt(et)+"").length){case 1:et="000"+et;break;case 2:et="00"+et;break;case 3:et="0"+et;break}G=G.substring(0,G.indexOf("\u4E07")+1)+et}}}else Ae!=""&&(G=(0,Hr.default)(G).format(Ae));return ae?"-"+G:G}if(g(pe,0))return M(G,le);G instanceof Date&&(G=I(G,le.date1904));var vt=se(pe,G);if(g(vt[1]))return M(G,le);if(G===!0)G="TRUE";else if(G===!1)G="FALSE";else if(G===""||G==null)return"";return ee(vt[1],G,le,vt[0])}function he(Z,G){if(typeof G!="number"){G=+G||-1;for(var le=0;le<392;++le){if(b[le]==null){G<0&&(G=le);continue}if(b[le]==Z){G=le;break}}G<0&&(G=391)}return b[G]=Z,G}n.load=he,n._table=b,n.get_table=function(){return b},n.load_table=function(G){for(var le=0;le!=392;++le)G[le]!==void 0&&he(G[le],le)},n.init_table=k,n.format=ue};r2(vl);v5={"General Number":"General","General Date":vl._table[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":vl._table[15],"Short Date":vl._table[14],"Long Time":vl._table[19],"Medium Time":vl._table[18],"Short Time":vl._table[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:vl._table[2],Standard:vl._table[4],Percent:vl._table[10],Scientific:vl._table[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'},k5=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/g,n=/_x([\da-fA-F]{4})_/g;return function t(l){var a=l+"",o=a.indexOf("<![CDATA[");if(o==-1)return a.replace(e,function(u,d){return encodings[u]||String.fromCharCode(parseInt(d,u.indexOf("x")>-1?16:10))||u}).replace(n,function(u,d){return String.fromCharCode(parseInt(d,16))});var s=a.indexOf("]]>");return t(a.slice(0,o))+a.slice(o+9,s)+t(a.slice(s+3))}}(),n2=new Date(1899,11,31,0,0,0),b5=n2.getTime(),a2=new Date(1900,2,1,0,0,0);wo=new Date("2017-02-19T19:06:09.000Z");isNaN(wo.getFullYear())&&(wo=new Date("2/19/17"));i2=wo.getFullYear()==2017});function Ft(e,n,t,l){t==null&&(t=h.flowdata);let a=t[e][n],o;if(P(l)=="object"?(a==null?a=l:(l.f!=null?a.f=l.f:a.hasOwnProperty("f")&&delete a.f,l.spl!=null&&(a.spl=l.spl),l.ct!=null&&(a.ct=l.ct)),P(l.v)=="object"?o=l.v.v:o=l.v):o=l,o==null)return P(a)=="object"?(delete a.m,delete a.v):a=null,t[e][n]=a,a;(fe(a)||(P(a)==="string"||P(a)==="number")&&a===l)&&(a={});let s=o.toString();if(s.substr(0,1)=="'")a.m=s.substr(1),a.ct={fa:"@",t:"s"},a.v=s.substr(1),a.qp=1;else if(a.qp==1)a.m=s,a.ct={fa:"@",t:"s"},a.v=s;else if(s.toUpperCase()==="TRUE")a.m="TRUE",a.ct={fa:"General",t:"b"},a.v=!0;else if(s.toUpperCase()==="FALSE")a.m="FALSE",a.ct={fa:"General",t:"b"},a.v=!1;else if(s.substr(-1)==="%"&&B(s.substring(0,s.length-1)))a.ct={fa:"0%",t:"n"},a.v=s.substring(0,s.length-1)/100,a.m=o;else if(H(o))a.m=s,a.ct!=null?a.ct.t="e":a.ct={fa:"General",t:"e"},a.v=o;else if(a.f!=null&&B(o)&&!/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[12])(0[1-9]|[12]\d|3[01])\d{3}(\d|X)$/i.test(o))if(a.v=parseFloat(o),a.ct==null&&(a.ct={fa:"General",t:"n"}),a.v==Infinity||a.v==-Infinity)a.m=a.v.toString();else if(a.v.toString().indexOf("e")>-1){let u;a.v.toString().split(".").length==1?u=0:u=a.v.toString().split(".")[1].split("e")[0].length,u>5&&(u=5),a.m=a.v.toExponential(u).toString()}else{let u=Math.round(a.v*1e9)/1e9;if(a.ct==null){let d=it(u);a.m=d[0].toString()}else{let d=_t(a.ct.fa,u);a.m=d.toString()}}else if(a.ct!=null&&a.ct.fa=="@")a.m=s,a.v=o;else if(a.ct!=null&&a.ct.fa!=null&&a.ct.fa!="General"){B(o)&&(o=parseFloat(o));let u=_t(a.ct.fa,o);u===o?(u=it(o),a.m=u[0].toString(),a.ct=u[1],a.v=u[2]):(a.m=u.toString(),a.v=o)}else if(B(o)&&!/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[12])(0[1-9]|[12]\d|3[01])\d{3}(\d|X)$/i.test(o))if(typeof o=="string"&&(o.split("").every(d=>d=="0"||d==".")||o.length<18)&&(o=parseFloat(o)),a.v=o,a.ct={fa:"General",t:"n"},a.v==Infinity||a.v==-Infinity)a.m=a.v.toString();else{let u=it(a.v);a.m=u[0].toString()}else{let u=it(o);a.m=u[0].toString(),a.ct=u[1],a.v=u[2]}if(!ne.allowUpdate&&!me.pointEdit&&a.ct!=null&&/^(w|W)((0?)|(0\.0+))$/.test(a.ct.fa)==!1&&a.ct.t=="n"&&a.v!=null&&parseInt(a.v).toString().length>4){let u=me.autoFormatw.toString().toUpperCase(),d=me.accuracy,f=c2(u,d);f!="General"&&(a.ct.fa=f,a.m=_t(f,a.v))}return t[e][n]=a,a}function c2(e,n){let t="0.",l;if(e=="TRUE"){if(n==null)return"w";{let a=parseInt(n);if(a==0)return"w0";t="w0.";for(let o=0;o<a;o++)t+="0";l=t}}else{if(n==null)return"General";{let a=parseInt(n);if(a==0)return"0";for(let o=0;o<a;o++)t+="0";l=t}}return l.toString()}var gr=$e(()=>{ht();Pt();Ml();ll();Sl();Xe()});function wl(){if(h.luckysheet_select_save.length==0)return;let e=Infinity,n=-Infinity,t=0,l=0,a=0;for(let u=0;u<h.luckysheet_select_save.length;u++){let d=Wd(h.luckysheet_select_save[u]);for(let f=0;f<d.length;f++)for(let m=0;m<d[0].length;m++){if(fe(d[f][m])||(l++,d[f][m].ct!=null&&d[f][m].ct.t=="d"))continue;let g=d[f][m].v;!B(g)||(g=parseFloat(g),t+=g,g<e&&(e=g),g>n&&(n=g))}}let o=Q().formula,s="";s+="<span>"+o.count+":"+l+"</span>",(isFinite(n)||isFinite(e))&&(s+="<span>"+o.sum+":"+t+"</span>",s+="<span>"+o.average+":"+Math.round(t/l*1e4)/1e4+"</span>"),isFinite(n)&&(s+="<span>"+o.max+":"+n+"</span>"),isFinite(e)&&(s+="<span>"+o.min+":"+e+"</span>"),$("#luckysheet-sta-content").html(s)}var Oa=$e(()=>{Xe();Zt();Pt();Ml();yt()});function Ba(e,n,t,l,a){t==null&&(t=!0),e||(e="down"),n||(n="cell"),a==null&&(a=!1);let o=h.luckysheet_select_save[h.luckysheet_select_save.length-1],s=o.row==null?0:o.row[0],u=o.column==null?0:o.column[0],d=o.row==null?0:o.row[0],f=o.column==null?0:o.column[0],m=o.row==null?0:o.row[1],g=o.column==null?0:o.column[1];if(p.fucntionboxshow(s,u),n=="range"){var y=h.luckysheet_shiftpositon.row[0],v=h.luckysheet_shiftpositon.column[0];let S=h.luckysheet_shiftpositon.row[1],_=h.luckysheet_shiftpositon.column[1];e=="down"||e=="up"?S<m?s=o.row==null?0:o.row[1]:y>d?s=o.row==null?0:o.row[0]:S==m&&y==d&&(e=="down"?s=o.row==null?0:o.row[1]:s=o.row==null?0:o.row[0]):(e=="right"||e=="left")&&(_<g?u=o.column==null?0:o.column[1]:v>f?u=o.column==null?0:o.column[0]:_==g&&v==f&&(e=="right"?u=o.column==null?0:o.column[1]:u=o.column==null?0:o.column[0]))}let k=h.flowdata.length,b=h.flowdata[0].length,w=h.flowdata,x="",C=0;if(e=="up"){if(s==0)return;{let S=[],_=null,T=0,A=null;for(let R=f;R<=g;R++){S=[],T=0;for(let I=s-1;I>=0;I--){let F=w[I][R];if(P(F)=="object"&&fe(F.v)||fe(F)?S.push(!1):S.push(!0),S.length>1){if(S[T]==!0&&S[T-1]==!1){_=I;break}else if(S[T]==!1&&S[T-1]==!0){_=I+1;break}}T++}_==null&&(_=0),(A==null||_<A)&&(A=_)}x="down",C=A-s}}else if(e=="down"){if(s==k-1)return;{let S=[],_=null,T=0,A=null;for(let R=f;R<=g;R++){S=[],T=0;for(let I=s+1;I<w.length;I++){let F=w[I][R];if(P(F)=="object"&&fe(F.v)||fe(F)?S.push(!1):S.push(!0),S.length>1){if(S[T]==!0&&S[T-1]==!1){_=I;break}else if(S[T]==!1&&S[T-1]==!0){_=I-1;break}}T++}_==null&&(_=w.length-1),(A==null||_>A)&&(A=_)}x="down",C=A-s}}else if(e=="left"){if(u==0)return;{let S=[],_=null,T=0,A=null;for(let R=d;R<=m;R++){S=[],T=0;for(let I=u-1;I>=0;I--){let F=w[R][I];if(P(F)=="object"&&fe(F.v)||fe(F)?S.push(!1):S.push(!0),S.length>1){if(S[T]==!0&&S[T-1]==!1){_=I;break}else if(S[T]==!1&&S[T-1]==!0){_=I+1;break}}T++}_==null&&(_=0),(A==null||_<A)&&(A=_)}x="right",C=A-u}}else if(e=="right"){if(u==b-1)return;{let S=[],_=null,T=0,A=null;for(let R=d;R<=m;R++){S=[],T=0;for(let I=u+1;I<w[0].length;I++){let F=w[R][I];if(P(F)=="object"&&fe(F.v)||fe(F)?S.push(!1):S.push(!0),S.length>1){if(S[T]==!0&&S[T-1]==!1){_=I;break}else if(S[T]==!1&&S[T-1]==!0){_=I-1;break}}T++}_==null&&(_=w[0].length-1),(A==null||_>A)&&(A=_)}x="right",C=A-u}}if(n=="range"&&(e=="up"?p_endR<m&&C+s<p_endR&&(C=p_endR-s):e=="down"?y>d&&C+s>y&&(C=y-s):e=="left"?p_endC<g&&C+u<p_endC&&(C=p_endC-u):e=="right"&&v>f&&C+u>v&&(C=v-u),l!=null&&Math.abs(C)>Math.abs(l)&&(C=l)),!a)n=="cell"?Gt(x,C,"rangeOfSelect",t):n=="range"&&On(x,C,"rangeOfSelect",t);else return C}function Gt(e,n,t,l){l==null&&(l=!0),e||e=="down";let a=h.flowdata.length,o=h.flowdata[0].length,s,u,d,f,m,g,y,v;if(t=="rangeOfSelect"){let _=h.luckysheet_select_save[h.luckysheet_select_save.length-1],T;_.row_focus==null?T=_.row[0]:T=_.row_focus;let A;_.column_focus==null?A=_.column[0]:A=_.column_focus;let R=be.mergeborer(h.flowdata,T,A);if(R){let M=R.row[2],N=R.row[3],E=R.column[2],L=R.column[3];n>0?e=="down"?(T=N,A=E):e=="right"&&(T=M,A=L):(T=M,A=E)}let I=_.moveXY==null?T:_.moveXY.x,F=_.moveXY==null?A:_.moveXY.y;e=="down"?(T+=n,I=T):e=="right"&&(A+=n,F=A),T>=a&&(T=a-1,I=T),T<0&&(T=0,I=T),A>=o&&(A=o-1,F=A),A<0&&(A=0,F=A);let z=be.mergeborer(h.flowdata,T,A);z?(s=z.row[1],u=z.row[0],d=z.row[2],f=z.row[3],m=z.column[1],g=z.column[0],y=z.column[2],v=z.column[3]):(s=h.visibledatarow[I],u=I-1==-1?0:h.visibledatarow[I-1],m=h.visibledatacolumn[F],g=F-1==-1?0:h.visibledatacolumn[F-1],d=f=T,y=v=A),_.row=[d,f],_.column=[y,v],_.row_focus=d,_.column_focus=y,_.moveXY={x:I,y:F},tt(),Oe.pivotclick(d,y),p.fucntionboxshow(d,y)}else if(t=="rangeOfFormula"){let _=p.func_selectedrange,T;_.row_focus==null?T=_.row[0]:T=_.row_focus;let A;_.column_focus==null?A=_.column[0]:A=_.column_focus;let R=be.mergeborer(h.flowdata,T,A);if(R){let M=R.row[2],N=R.row[3],E=R.column[2],L=R.column[3];n>0?e=="down"?(T=N,A=E):e=="right"&&(T=M,A=L):(T=M,A=E)}let I=_.moveXY==null?T:_.moveXY.x,F=_.moveXY==null?A:_.moveXY.y;e=="down"?(T+=n,I=T):e=="right"&&(A+=n,F=A),T>=a&&(T=a-1,I=T),T<0&&(T=0,I=T),A>=o&&(A=o-1,F=A),A<0&&(A=0,F=A);let z=be.mergeborer(h.flowdata,T,A);z?(s=z.row[1],u=z.row[0],d=z.row[2],f=z.row[3],m=z.column[1],g=z.column[0],y=z.column[2],v=z.column[3]):(s=h.visibledatarow[I],u=I-1==-1?0:h.visibledatarow[I-1],d=I,f=I,m=h.visibledatacolumn[F],g=F-1==-1?0:h.visibledatacolumn[F-1],y=F,v=F),p.func_selectedrange={left:g,width:m-g-1,top:u,height:s-u-1,left_move:g,width_move:m-g-1,top_move:u,height_move:s-u-1,row:[d,f],column:[y,v],row_focus:d,column_focus:y,moveXY:{x:I,y:F}},$("#luckysheet-formula-functionrange-select").css({left:g,width:m-g-1,top:u,height:s-u-1}).show(),p.rangeSetValue({row:[d,f],column:[y,v]})}let k=$("#luckysheet-cell-main").scrollLeft(),b=$("#luckysheet-cell-main").scrollTop(),w=$("#luckysheet-cell-main").height(),x=$("#luckysheet-cell-main").width(),C=0,S=0;m-k-x+20>0?(C=m-x+20,l&&$("#luckysheet-scrollbar-x").scrollLeft(C)):g-k-20<0&&(C=g-20,l&&$("#luckysheet-scrollbar-x").scrollLeft(C)),s-b-w+20>0?(S=s-w+20,l&&$("#luckysheet-scrollbar-y").scrollTop(S)):u-b-20<0&&(S=u-20,l&&$("#luckysheet-scrollbar-y").scrollTop(S)),clearTimeout(h.countfuncTimeout),wl(),ne.saveParam("mv",h.currentSheetIndex,h.luckysheet_select_save)}function ua(e,n,t){t||(t=!0);let l,a,o,s;if(n=="rangeOfSelect"){let v=h.luckysheet_select_save[h.luckysheet_select_save.length-1],k=v.row_focus,b=v.column_focus,w=!1,x={};if(h.config.merge!=null&&k+"_"+b in h.config.merge&&(w=!0,x=h.config.merge[k+"_"+b]),e=="down"){if(k==h.flowdata.length-1)return;w?k=mt("down",b,x.r+x.rs-1,h.flowdata.length-1):k=mt("down",b,k,h.flowdata.length-1)}else if(e=="up"){if(k==0)return;w?k=mt("up",b,0,x.r):k=mt("up",b,0,k)}else if(e=="right"){if(b==h.flowdata[0].length-1)return;w?b=mt("right",k,x.c+x.cs-1,h.flowdata[0].length-1):b=mt("right",k,b,h.flowdata[0].length-1)}else if(e=="left"){if(b==0)return;w?b=mt("left",k,0,x.c):b=mt("left",k,0,b)}let C=[k,k],S=[b,b];l=h.visibledatarow[k],a=k-1==-1?0:h.visibledatarow[k-1],o=h.visibledatacolumn[b],s=b-1==-1?0:h.visibledatacolumn[b-1];let _=be.mergeMoveMain(S,C,v,a,l-a-1,s,o-s-1);_!=null&&(S=_[0],C=_[1]),h.luckysheet_select_save=[{row:C,column:S}],tt(),Oe.pivotclick(k,b),p.fucntionboxshow(k,b)}else if(n=="rangeOfFormula"){let v=p.func_selectedrange,k=v.row_focus,b=v.column_focus,w=!1,x={};if(h.config.merge!=null&&k+"_"+b in h.config.merge&&(w=!0,x=h.config.merge[k+"_"+b]),e=="down"){if(k==h.flowdata.length-1)return;w?k=mt("down",b,x.r+x.rs-1,h.flowdata.length-1):k=mt("down",b,k,h.flowdata.length-1)}else if(e=="up"){if(k==0)return;w?k=mt("up",b,0,x.r):k=mt("up",b,0,k)}else if(e=="right"){if(b==h.flowdata[0].length-1)return;w?b=mt("right",k,x.c+x.cs-1,h.flowdata[0].length-1):b=mt("right",k,b,h.flowdata[0].length-1)}else if(e=="left"){if(b==0)return;w?b=mt("left",k,0,x.c):b=mt("left",k,0,b)}let C=[k,k],S=[b,b];l=h.visibledatarow[k],a=k-1==-1?0:h.visibledatarow[k-1],o=h.visibledatacolumn[b],s=b-1==-1?0:h.visibledatacolumn[b-1];let _=a,T=l-a-1,A=s,R=o-s-1,I=be.mergeMoveMain(S,C,v,_,T,A,R);I!=null&&(S=I[0],C=I[1],_=I[2],T=I[3],A=I[4],R=I[5]),p.func_selectedrange={left:A,width:R,top:_,height:T,left_move:A,width_move:R,top_move:_,height_move:T,row:C,column:S,row_focus:k,column_focus:b},$("#luckysheet-formula-functionrange-select").css({left:A,width:R,top:_,height:T}).show(),p.rangeSetValue({row:C,column:S})}let u=$("#luckysheet-cell-main").scrollLeft(),d=$("#luckysheet-cell-main").scrollTop(),f=$("#luckysheet-cell-main").height(),m=$("#luckysheet-cell-main").width(),g=0,y=0;o-u-m+20>0?(g=o-m+20,t&&$("#luckysheet-scrollbar-x").scrollLeft(g)):s-u-20<0&&(g=s-20,t&&$("#luckysheet-scrollbar-x").scrollLeft(g)),l-d-f+20>0?(y=l-f+20,t&&$("#luckysheet-scrollbar-y").scrollTop(y)):a-d-20<0&&(y=a-20,t&&$("#luckysheet-scrollbar-y").scrollTop(y)),clearTimeout(h.countfuncTimeout),wl()}function On(e,n,t,l){l==null&&(l=!0),e||e=="down";let a,o,s,u;if(t=="rangeOfSelect"){let k=h.luckysheet_select_save[h.luckysheet_select_save.length-1],b=k.row[0],w=k.row[1],x=k.column[0],C=k.column[1],S=k.row_focus,_=k.column_focus,T=h.flowdata.length,A=h.flowdata[0].length;if(e=="down"){if(Bl(S,x,C)){let z=lr(S,x,C),M=z[0],N=z[1];M>b&&N==w?(n>0&&Bl(b,x,C)&&(b=lr(b,x,C)[1]),b+=n):N<w&&M==b?(n<0&&Bl(w,x,C)&&(w=lr(w,x,C)[0]),w+=n):n>0?w+=n:b+=n}else S>b&&S==w?(n>0&&Bl(b,x,C)&&(b=lr(b,x,C)[1]),b+=n):S<w&&S==b?(n<0&&Bl(w,x,C)&&(w=lr(w,x,C)[0]),w+=n):S==b&&S==w&&(n>0?w+=n:b+=n);w>=T&&(w=T-1),w<0&&(w=0),b>=T&&(b=T-1),b<0&&(b=0)}else{if(Hl(_,b,w)){let z=rr(_,b,w),M=z[0],N=z[1];M>x&&N==C?(n>0&&Hl(x,b,w)&&(x=rr(x,b,w)[1]),x+=n):N<C&&M==x?(n<0&&Hl(C,b,w)&&(C=rr(C,b,w)[0]),C+=n):n>0?C+=n:x+=n}else _>x&&_==C?(n>0&&Hl(x,b,w)&&(x=rr(x,b,w)[1]),x+=n):_<C&&_==x?(n<0&&Hl(C,b,w)&&(C=rr(C,b,w)[0]),C+=n):_==x&&_==C&&(n>0?C+=n:x+=n);C>=A&&(C=A-1),C<0&&(C=0),x>=A&&(x=A-1),x<0&&(x=0)}let R=[b,w],I=[x,C];a=h.visibledatarow[w],o=b-1==-1?0:h.visibledatarow[b-1],s=h.visibledatacolumn[C],u=x-1==-1?0:h.visibledatacolumn[x-1];let F=be.mergeMoveMain(I,R,k,o,a-o-1,u,s-u-1);F!=null&&(I=F[0],R=F[1]),k.row=R,k.column=I,tt()}else if(t=="rangeOfFormula"){let k=p.func_selectedrange,b=k.row[0],w=k.row[1],x=k.column[0],C=k.column[1],S=k.row_focus,_=k.column_focus,T=h.flowdata.length,A=h.flowdata[0].length;if(e=="down"){if(Bl(S,x,C)){let L=lr(S,x,C),O=L[0],V=L[1];O>b&&V==w?(n>0&&Bl(b,x,C)&&(b=lr(b,x,C)[1]),b+=n):V<w&&O==b?(n<0&&Bl(w,x,C)&&(w=lr(w,x,C)[0]),w+=n):n>0?w+=n:b+=n}else S>b&&S==w?(n>0&&Bl(b,x,C)&&(b=lr(b,x,C)[1]),b+=n):S<w&&S==b?(n<0&&Bl(w,x,C)&&(w=lr(w,x,C)[0]),w+=n):S==b&&S==w&&(n>0?w+=n:b+=n);w>=T&&(w=T-1),w<0&&(w=0),b>=T&&(b=T-1),b<0&&(b=0)}else{if(Hl(_,b,w)){let L=rr(_,b,w),O=L[0],V=L[1];O>x&&V==C?(n>0&&Hl(x,b,w)&&(x=rr(x,b,w)[1]),x+=n):V<C&&O==x?(n<0&&Hl(C,b,w)&&(C=rr(C,b,w)[0]),C+=n):n>0?C+=n:x+=n}else _>x&&_==C?(n>0&&Hl(x,b,w)&&(x=rr(x,b,w)[1]),x+=n):_<C&&_==x?(n<0&&Hl(C,b,w)&&(C=rr(C,b,w)[0]),C+=n):_==x&&_==C&&(n>0?C+=n:x+=n);C>=A&&(C=A-1),C<0&&(C=0),x>=A&&(x=A-1),x<0&&(x=0)}let R=[b,w],I=[x,C];a=h.visibledatarow[w],o=b-1==-1?0:h.visibledatarow[b-1],s=h.visibledatacolumn[C],u=x-1==-1?0:h.visibledatacolumn[x-1];let F=o,z=a-o-1,M=u,N=s-u-1,E=be.mergeMoveMain(I,R,k,F,z,M,N);E!=null&&(I=E[0],R=E[1],F=E[2],z=E[3],M=E[4],N=E[5]),p.func_selectedrange={left:M,width:N,top:F,height:z,left_move:M,width_move:N,top_move:F,height_move:z,row:R,column:I,row_focus:S,column_focus:_},$("#luckysheet-formula-functionrange-select").css({left:M,width:N,top:F,height:z}).show(),p.rangeSetValue({row:R,column:I})}let d=$("#luckysheet-cell-main").scrollLeft(),f=$("#luckysheet-cell-main").scrollTop(),m=$("#luckysheet-cell-main").height(),g=$("#luckysheet-cell-main").width(),y=0,v=0;s-d-g+20>0?(y=s-g+20,l&&$("#luckysheet-scrollbar-x").scrollLeft(y)):u-d-20<0&&(y=u-20,l&&$("#luckysheet-scrollbar-x").scrollLeft(y)),a-f-m+20>0?(v=a-m+20,l&&$("#luckysheet-scrollbar-y").scrollTop(v)):o-f-20<0&&(v=o-20,l&&$("#luckysheet-scrollbar-y").scrollTop(v)),clearTimeout(h.countfuncTimeout),wl()}function sn(e,n,t){t||(t=!0);let l,a,o,s;if(n=="rangeOfSelect"){let v=h.luckysheet_select_save[h.luckysheet_select_save.length-1],k=v.row_focus,b=v.column_focus,w=v.row[0],x=v.row[1],C=v.column[0],S=v.column[1];if(e=="down"){if(x==h.flowdata.length-1)return;if(Bl(k,C,S)){let R=lr(k,C,S),I=R[0],F=R[1];I>w&&F==x?w=mt("down",b,w,x):x=mt("down",b,x,h.flowdata.length-1)}else k>w&&k==x?w=mt("down",b,w,x):x=mt("down",b,x,h.flowdata.length-1)}else if(e=="up"){if(w==0)return;if(Bl(k,C,S)){let R=lr(k,C,S),I=R[0];R[1]<x&&I==w?x=mt("up",b,w,x):w=mt("up",b,0,w)}else k<x&&k==w?x=mt("up",b,w,x):w=mt("up",b,0,w)}else if(e=="right"){if(S==h.flowdata[0].length-1)return;if(Hl(b,w,x)){let R=rr(b,w,x),I=R[0],F=R[1];I>C&&F==S?C=mt("right",k,C,S):S=mt("right",k,S,h.flowdata[0].length-1)}else b>C&&b==S?C=mt("right",k,C,S):S=mt("right",k,S,h.flowdata[0].length-1)}else if(e=="left"){if(C==0)return;if(Hl(b,w,x)){let R=rr(b,w,x),I=R[0];R[1]<S&&I==C?S=mt("left",k,C,S):C=mt("left",k,0,C)}else b<S&&b==C?S=mt("left",k,C,S):C=mt("left",k,0,C)}let _=[w,x],T=[C,S];l=h.visibledatarow[x],a=w-1==-1?0:h.visibledatarow[w-1],o=h.visibledatacolumn[S],s=C-1==-1?0:h.visibledatacolumn[C-1];let A=be.mergeMoveMain(T,_,v,a,l-a-1,s,o-s-1);A!=null&&(T=A[0],_=A[1]),v.row=_,v.column=T,tt()}else if(n=="rangeOfFormula"){let v=p.func_selectedrange,k=v.row_focus,b=v.column_focus,w=v.row[0],x=v.row[1],C=v.column[0],S=v.column[1];if(e=="down"){if(x==h.flowdata.length-1)return;if(Bl(k,C,S)){let M=lr(k,C,S),N=M[0],E=M[1];N>w&&E==x?w=mt("down",b,w,x):x=mt("down",b,x,h.flowdata.length-1)}else k>w&&k==x?w=mt("down",b,w,x):x=mt("down",b,x,h.flowdata.length-1)}else if(e=="up"){if(w==0)return;if(Bl(k,C,S)){let M=lr(k,C,S),N=M[0];M[1]<x&&N==w?x=mt("up",b,w,x):w=mt("up",b,0,w)}else k<x&&k==w?x=mt("up",b,w,x):w=mt("up",b,0,w)}else if(e=="right"){if(S==h.flowdata[0].length-1)return;if(Hl(b,w,x)){let M=rr(b,w,x),N=M[0],E=M[1];N>C&&E==S?C=mt("right",k,C,S):S=mt("right",k,S,h.flowdata[0].length-1)}else b>C&&b==S?C=mt("right",k,C,S):S=mt("right",k,S,h.flowdata[0].length-1)}else if(e=="left"){if(C==0)return;if(Hl(b,w,x)){let M=rr(b,w,x),N=M[0];M[1]<S&&N==C?S=mt("left",k,C,S):C=mt("left",k,0,C)}else b<S&&b==C?S=mt("left",k,C,S):C=mt("left",k,0,C)}let _=[w,x],T=[C,S];l=h.visibledatarow[x],a=w-1==-1?0:h.visibledatarow[w-1],o=h.visibledatacolumn[S],s=C-1==-1?0:h.visibledatacolumn[C-1];let A=a,R=l-a-1,I=s,F=o-s-1,z=be.mergeMoveMain(T,_,v,A,R,I,F);z!=null&&(T=z[0],_=z[1],A=z[2],R=z[3],I=z[4],F=z[5]),p.func_selectedrange={left:I,width:F,top:A,height:R,left_move:I,width_move:F,top_move:A,height_move:R,row:_,column:T,row_focus:k,column_focus:b},$("#luckysheet-formula-functionrange-select").css({left:I,width:F,top:A,height:R}).show(),p.rangeSetValue({row:_,column:T})}let u=$("#luckysheet-cell-main").scrollLeft(),d=$("#luckysheet-cell-main").scrollTop(),f=$("#luckysheet-cell-main").height(),m=$("#luckysheet-cell-main").width(),g=0,y=0;o-u-m+20>0?(g=o-m+20,t&&$("#luckysheet-scrollbar-x").scrollLeft(g)):s-u-20<0&&(g=s-20,t&&$("#luckysheet-scrollbar-x").scrollLeft(g)),l-d-f+20>0?(y=l-f+20,t&&$("#luckysheet-scrollbar-y").scrollTop(y)):a-d-20<0&&(y=a-20,t&&$("#luckysheet-scrollbar-y").scrollTop(y)),clearTimeout(h.countfuncTimeout),wl()}function Bl(e,n,t){let l=!1;for(let a=n;a<=t;a++){let o=h.flowdata[e][a];if(P(o)=="object"&&"mc"in o){l=!0;break}}return l}function Hl(e,n,t){let l=!1;for(let a=n;a<=t;a++){let o=h.flowdata[a][e];if(P(o)=="object"&&"mc"in o){l=!0;break}}return l}function lr(e,n,t){let l=0,a=h.flowdata.length-1,o=null;if(e>l)for(let u=e;u>=l;u--){for(let d=n;d<=t;d++){let f=h.flowdata[u][d];if(P(f)=="object"&&"mc"in f){let m=h.config.merge[f.mc.r+"_"+f.mc.c];(o==null||m.r<o)&&(o=m.r)}}if(Bl(o-1,n,t)&&o>l)u=o;else break}else o=l;let s=null;if(e<a)for(let u=e;u<=a;u++){for(let d=n;d<=t;d++){let f=h.flowdata[u][d];if(P(f)=="object"&&"mc"in f){let m=h.config.merge[f.mc.r+"_"+f.mc.c];(s==null||m.r+m.rs-1>s)&&(s=m.r+m.rs-1)}}if(Bl(s+1,n,t)&&s<a)u=s;else break}else s=a;return[o,s]}function rr(e,n,t){let l=0,a=h.flowdata[0].length-1,o=null;if(e>l)for(let u=e;u>=l;u--){for(let d=n;d<=t;d++){let f=h.flowdata[d][u];if(P(f)=="object"&&"mc"in f){let m=h.config.merge[f.mc.r+"_"+f.mc.c];(o==null||m.c<o)&&(o=m.c)}}if(Hl(o-1,n,t)&&o>l)u=o;else break}else o=l;let s=null;if(e<a)for(let u=e;u<=a;u++){for(let d=n;d<=t;d++){let f=h.flowdata[d][u];if(P(f)=="object"&&"mc"in f){let m=h.config.merge[f.mc.r+"_"+f.mc.c];(s==null||m.c+m.cs-1>s)&&(s=m.c+m.cs-1)}}if(Hl(s+1,n,t)&&s<a)u=s;else break}else s=a;return[o,s]}function mt(e,n,t,l){let a=null,o;if(e=="down"){let s=h.flowdata[t][n];P(s)=="object"&&fe(s.v)||fe(s)?o=!0:o=!1,console.log(o,"stNull");let u=[],d=0;for(let f=t+1;f<=l;f++){let m=h.flowdata[f][n];if(P(m)=="object"&&fe(m.v)||fe(m)?u.push(!0):u.push(!1),u.length==1&&o==!0&&u[d]==!1){a=t+d+1;break}else if(u.length>1){if(o&&u[d]==!1){a=t+d+1;break}else if(!o){if(u[d]==!1&&u[d-1]==!0){a=t+d+1;break}else if(u[d]==!0&&u[d-1]==!1){a=t+d;break}}}f==l&&(a=l),d++}}else if(e=="up"){let s=h.flowdata[l][n];P(s)=="object"&&fe(s.v)||fe(s)?o=!0:o=!1;let u=[],d=0;for(let f=l-1;f>=t;f--){let m=h.flowdata[f][n];if(P(m)=="object"&&fe(m.v)||fe(m)?u.push(!0):u.push(!1),u.length==1&&o&&u[d]==!1){a=l-(d+1);break}else if(u.length>1){if(o&&u[d]==!1){a=l-(d+1);break}else if(!o){if(u[d]==!1&&u[d-1]==!0){a=l-(d+1);break}else if(u[d]==!0&&u[d-1]==!1){a=l-d;break}}}f==t&&(a=t),d++}}else if(e=="right"){let s=h.flowdata[n][t];P(s)=="object"&&fe(s.v)||fe(s)?o=!0:o=!1;let u=[],d=0;for(let f=t+1;f<=l;f++){let m=h.flowdata[n][f];if(P(m)=="object"&&fe(m.v)||fe(m)?u.push(!0):u.push(!1),u.length==1&&o&&u[d]==!1){a=t+d+1;break}else if(u.length>1){if(o&&u[d]==!1){a=t+d+1;break}else if(!o){if(u[d]==!1&&u[d-1]==!0){a=t+d+1;break}else if(u[d]==!0&&u[d-1]==!1){a=t+d;break}}}f==l&&(a=l),d++}}else if(e=="left"){let s=h.flowdata[n][l];P(s)=="object"&&fe(s.v)||fe(s)?o=!0:o=!1;let u=[],d=0;for(let f=l-1;f>=t;f--){let m=h.flowdata[n][f];if(P(m)=="object"&&fe(m.v)||fe(m)?u.push(!0):u.push(!1),u.length==1&&o&&u[d]==!1){a=l-(d+1);break}else if(u.length>1){if(o&&u[d]==!1){a=l-(d+1);break}else if(!o){if(u[d]==!1&&u[d-1]==!0){a=l-(d+1);break}else if(u[d]==!0&&u[d-1]==!1){a=l-d;break}}}f==t&&(a=t),d++}}return a}var Ha=$e(()=>{ht();qt();Pt();Oa();ol();Jt();cn();Xe();ll()});var u2,el,Va=$e(()=>{Dt();ht();qt();Pt();tl();Xt();Wt();nr();ll();Jt();Xe();yt();u2={rangefocus:!1,modelfocusIndex:null,FixedModelColor:[{head:{fc:"#000",bc:"#bfbdbe"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#f8f3f7"},foot:{fc:"#000",bc:"#dde2de"}},{head:{fc:"#000",bc:"#4bd4e7"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#eaf7ff"},foot:{fc:"#000",bc:"#aae9f8"}},{head:{fc:"#000",bc:"#5ed593"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#e5fbee"},foot:{fc:"#000",bc:"#a5efcc"}},{head:{fc:"#000",bc:"#f6cb4b"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#fff9e7"},foot:{fc:"#000",bc:"#ffebac"}},{head:{fc:"#000",bc:"#f96420"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#ffe5d9"},foot:{fc:"#000",bc:"#ffcfba"}},{head:{fc:"#000",bc:"#5599fc"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#ecf2fe"},foot:{fc:"#000",bc:"#afcbfa"}},{head:{fc:"#000",bc:"#22a69b"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#dff2f8"},foot:{fc:"#000",bc:"#8dd4d0"}},{head:{fc:"#000",bc:"#7a939a"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#f0eff7"},foot:{fc:"#000",bc:"#bdcad0"}},{head:{fc:"#000",bc:"#d7a270"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#fdf3f1"},foot:{fc:"#000",bc:"#ead2b6"}},{head:{fc:"#000",bc:"#89c54b"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#f1f7e9"},foot:{fc:"#000",bc:"#c5e3a7"}},{head:{fc:"#000",bc:"#8f88f0"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#f0e5ff"},foot:{fc:"#000",bc:"#c6c4f6"}},{head:{fc:"#000",bc:"#fd1664"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#feddee"},foot:{fc:"#000",bc:"#f98ab5"}},{head:{fc:"#000",bc:"#da96d3"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#fce8fb"},foot:{fc:"#000",bc:"#f2caee"}},{head:{fc:"#000",bc:"#b49191"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#f5ebe8"},foot:{fc:"#000",bc:"#d8c3c3"}},{head:{fc:"#000",bc:"#91b493"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#f0fbf0"},foot:{fc:"#000",bc:"#b4cfb6"}},{head:{fc:"#000",bc:"#b4a891"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#f8f6f1"},foot:{fc:"#000",bc:"#d3cab8"}},{head:{fc:"#000",bc:"#91abb4"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#eff7fa"},foot:{fc:"#000",bc:"#b7cbd3"}},{head:{fc:"#000",bc:"#b7ba82"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#fafbeb"},foot:{fc:"#000",bc:"#dadcb4"}},{head:{fc:"#000",bc:"#df3e3e"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#fde9e9"},foot:{fc:"#000",bc:"#f89292"}},{head:{fc:"#000",bc:"#f2711c"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#fef0d7"},foot:{fc:"#000",bc:"#fbb335"}},{head:{fc:"#000",bc:"#b5cc18"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#f9fbd4"},foot:{fc:"#000",bc:"#e2ed2a"}},{head:{fc:"#000",bc:"#00b5ad"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#ccfaf9"},foot:{fc:"#000",bc:"#00e4df"}},{head:{fc:"#000",bc:"#2185d0"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#d8f3fc"},foot:{fc:"#000",bc:"#3cc4f0"}},{head:{fc:"#000",bc:"#a5673f"},one:{fc:"#000",bc:"#ffffff"},two:{fc:"#000",bc:"#f6ede5"},foot:{fc:"#000",bc:"#d3a47c"}}],getModelBox:function(e,n){let t=this;$("#luckysheet-modal-dialog-slider-alternateformat #luckysheet-alternateformat-modelList").empty(),$("#luckysheet-modal-dialog-slider-alternateformat #luckysheet-alternateformat-modelCustom").empty();let l="";for(let o=0;o<t.FixedModelColor.length;o++){let s=t.FixedModelColor[o],u,d,f,m;e&&n?(u=s.head,d=s.one,f=s.two,m=s.foot):e?(u=s.head,d=s.one,f=s.two,m=s.one):n?(u=s.one,d=s.two,f=s.one,m=s.foot):(u=s.one,d=s.two,f=s.one,m=s.two),l+='<div class="modelbox"><div class="box"><span style="color:'+u.fc+";background-color:"+u.bc+'"> \u2014 </span><span style="color:'+d.fc+";background-color:"+d.bc+'"> \u2014 </span><span style="color:'+f.fc+";background-color:"+f.bc+'"> \u2014 </span><span style="color:'+m.fc+";background-color:"+m.bc+'"> \u2014 </span></div></div>'}$("#luckysheet-modal-dialog-slider-alternateformat #luckysheet-alternateformat-modelList").append(l);let a=h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_alternateformat_save_modelCustom;if(a!=null&&a.length>0){let o="";for(let s=0;s<a.length;s++){let u=a[s],d,f,m,g;e&&n?(d=u.head,f=u.one,m=u.two,g=u.foot):e?(d=u.head,f=u.one,m=u.two,g=u.one):n?(d=u.one,f=u.two,m=u.one,g=u.foot):(d=u.one,f=u.two,m=u.one,g=u.two),o+='<div class="modelbox"><div class="box"><span style="color:'+d.fc+";background-color:"+d.bc+'"> \u2014 </span><span style="color:'+f.fc+";background-color:"+f.bc+'"> \u2014 </span><span style="color:'+m.fc+";background-color:"+m.bc+'"> \u2014 </span><span style="color:'+g.fc+";background-color:"+g.bc+'"> \u2014 </span></div></div>'}$("#luckysheet-modal-dialog-slider-alternateformat #luckysheet-alternateformat-modelCustom").append(o)}},init:function(){let e=this;$("#luckysheet-modal-dialog-slider-alternateformat").remove(),$("body").append(Ou()),$t(),$("#luckysheet-modal-dialog-slider-alternateformat .luckysheet-model-close-btn").click(function(){$("#luckysheet-modal-dialog-slider-alternateformat").hide(),$t()}),$(document).off("focus.AFrangeInput").on("focus.AFrangeInput","#luckysheet-alternateformat-range input",function(){e.rangefocus=!0}),$(document).off("blur.AFrangeInput").on("blur.AFrangeInput","#luckysheet-alternateformat-range input",function(){e.rangefocus=!1}),$(document).off("keydown.AFrangeInput").on("keydown.AFrangeInput","#luckysheet-alternateformat-range input",function(n){let t=$(this).val().trim();n.keyCode==13&&e.update()}),$(document).off("click.AFrangeIcon").on("click.AFrangeIcon","#luckysheet-alternateformat-range .fa-table",function(){$("#luckysheet-modal-dialog-slider-alternateformat").hide(),$t();let n=$(this).parents("#luckysheet-alternateformat-range").find("input").val().trim();e.rangeDialog(n)}),$(document).off("click.AFrDCf").on("click.AFrDCf","#luckysheet-alternateformat-rangeDialog-confirm",function(){let n=$(this).parents("#luckysheet-alternateformat-rangeDialog").find("input").val().trim();$("#luckysheet-modal-dialog-slider-alternateformat #luckysheet-alternateformat-range input").val(n),$(this).parents("#luckysheet-alternateformat-rangeDialog").hide(),$("#luckysheet-modal-dialog-slider-alternateformat").show(),$t(),e.update()}),$(document).off("click.AFrDCl").on("click.AFrDCl","#luckysheet-alternateformat-rangeDialog-close",function(){$(this).parents("#luckysheet-alternateformat-rangeDialog").hide(),$("#luckysheet-modal-dialog-slider-alternateformat").show(),$t()}),$(document).off("click.AFrDTitle").on("click.AFrDTitle","#luckysheet-alternateformat-rangeDialog .luckysheet-modal-dialog-title-close",function(){$(this).parents("#luckysheet-alternateformat-rangeDialog").hide(),$("#luckysheet-modal-dialog-slider-alternateformat").show(),$t()}),$(document).off("change.AFrowHeader").on("change.AFrowHeader","#luckysheet-alternateformat-rowHeader",function(){let n;$(this).is(":checked")?n=!0:n=!1;let t;$("#luckysheet-alternateformat-rowFooter").is(":checked")?t=!0:t=!1,e.checkboxChange(n,t),e.modelboxOn(),e.update()}),$(document).off("change.AFrowFooter").on("change.AFrowFooter","#luckysheet-alternateformat-rowFooter",function(){let n;$("#luckysheet-alternateformat-rowHeader").is(":checked")?n=!0:n=!1;let t;$(this).is(":checked")?t=!0:t=!1,e.checkboxChange(n,t),e.modelboxOn(),e.update()}),$(document).off("click.AFmodelbox").on("click.AFmodelbox","#luckysheet-modal-dialog-slider-alternateformat .modelbox",function(){let n=$(this).index(),t=$(this).parents(".cf").attr("id");if(t=="luckysheet-alternateformat-modelList")e.modelfocusIndex=n;else if(t=="luckysheet-alternateformat-modelCustom"){let l=e.FixedModelColor.length;e.modelfocusIndex=n+l}e.modelboxOn(),e.update()}),$(document).off("click.AFselectColor").on("click.AFselectColor","#luckysheet-modal-dialog-slider-alternateformat .luckysheet-color-menu-button-indicator",function(){let n=$(this).closest(".toningbox"),t,l;$(this).find(".luckysheet-icon-img").hasClass("luckysheet-icon-text-color")?(t="fc",l=n.find(".toningShow").data("fc")):$(this).find(".luckysheet-icon-img").hasClass("luckysheet-icon-cell-color")&&(t="bc",l=n.find(".toningShow").data("bc"));let a;n.hasClass("header")?a="0":n.hasClass("ctOne")?a="1":n.hasClass("ctTwo")?a="2":n.hasClass("footer")&&(a="3"),e.colorSelectDialog(l,t,a)}),$(document).off("click.AFselectColorConfirm").on("click.AFselectColorConfirm","#luckysheet-alternateformat-colorSelect-dialog-confirm",function(){let n=$(this).parents("#luckysheet-alternateformat-colorSelect-dialog"),l=Q().alternatingColors;$("#luckysheet-modal-dialog-mask").hide(),n.hide();let a=n.find(".currenColor span").attr("title"),o;n.find(".luckysheet-modal-dialog-title-text").text()==l.selectionTextColor?o="fc":n.find(".luckysheet-modal-dialog-title-text").text()==l.selectionCellColor&&(o="bc");let s=n.find(".currenColor").attr("data-source");s=="0"?(o=="fc"&&($("#luckysheet-alternateformat-modelToning .header .toningShow").css("color",a),$("#luckysheet-alternateformat-modelToning .header .toningShow").data("fc",a),$("#luckysheet-alternateformat-modelToning .header .luckysheet-icon-text-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",a)),o=="bc"&&($("#luckysheet-alternateformat-modelToning .header .toningShow").css("background-color",a),$("#luckysheet-alternateformat-modelToning .header .toningShow").data("bc",a),$("#luckysheet-alternateformat-modelToning .header .luckysheet-icon-cell-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",a))):s=="1"?(o=="fc"&&($("#luckysheet-alternateformat-modelToning .ctOne .toningShow").css("color",a),$("#luckysheet-alternateformat-modelToning .ctOne .toningShow").data("fc",a),$("#luckysheet-alternateformat-modelToning .ctOne .luckysheet-icon-text-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",a)),o=="bc"&&($("#luckysheet-alternateformat-modelToning .ctOne .toningShow").css("background-color",a),$("#luckysheet-alternateformat-modelToning .ctOne .toningShow").data("bc",a),$("#luckysheet-alternateformat-modelToning .ctOne .luckysheet-icon-cell-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",a))):s=="2"?(o=="fc"&&($("#luckysheet-alternateformat-modelToning .ctTwo .toningShow").css("color",a),$("#luckysheet-alternateformat-modelToning .ctTwo .toningShow").data("fc",a),$("#luckysheet-alternateformat-modelToning .ctTwo .luckysheet-icon-text-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",a)),o=="bc"&&($("#luckysheet-alternateformat-modelToning .ctTwo .toningShow").css("background-color",a),$("#luckysheet-alternateformat-modelToning .ctTwo .toningShow").data("bc",a),$("#luckysheet-alternateformat-modelToning .ctTwo .luckysheet-icon-cell-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",a))):s=="3"&&(o=="fc"&&($("#luckysheet-alternateformat-modelToning .footer .toningShow").css("color",a),$("#luckysheet-alternateformat-modelToning .footer .toningShow").data("fc",a),$("#luckysheet-alternateformat-modelToning .footer .luckysheet-icon-text-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",a)),o=="bc"&&($("#luckysheet-alternateformat-modelToning .footer .toningShow").css("background-color",a),$("#luckysheet-alternateformat-modelToning .footer .toningShow").data("bc",a),$("#luckysheet-alternateformat-modelToning .footer .luckysheet-icon-cell-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",a)));let u;$("#luckysheet-alternateformat-rowHeader").is(":checked")?u=!0:u=!1;let d;$("#luckysheet-alternateformat-rowFooter").is(":checked")?d=!0:d=!1;let f=e.modelfocusIndex,m=e.FixedModelColor.length,g,y;if(f<m)g=$.extend(!0,{},e.getFormatByIndex());else{y=h.luckysheetfile[K(h.currentSheetIndex)];let v=y.luckysheet_alternateformat_save_modelCustom;g=$.extend(!0,{},v[f-m])}s=="0"?o=="fc"?g.head.fc=a:o=="bc"&&(g.head.bc=a):s=="1"?o=="fc"?g.one.fc=a:o=="bc"&&(g.one.bc=a):s=="2"?o=="fc"?g.two.fc=a:o=="bc"&&(g.two.bc=a):s=="3"&&(o=="fc"&&(g.foot.fc=a),o=="bc"&&(g.foot.bc=a)),e.modelfocusIndex<m?(e.addCustomModel(g),e.modelfocusIndex=e.getIndexByFormat(g)):(y.luckysheet_alternateformat_save_modelCustom[f-m]=g,ne.allowUpdate&&ne.saveParam("all",h.currentSheetIndex,y.luckysheet_alternateformat_save_modelCustom,{k:"luckysheet_alternateformat_save_modelCustom"})),e.getModelBox(u,d),e.modelboxOn(),e.update()}),$(document).off("click.AFremove").on("click.AFremove","#luckysheet-alternateformat-remove",function(){let n=$(this).data("index"),l=h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_alternateformat_save,a=$.extend(!0,[],l);l.length>1?l.splice(n,1):l=[];let o=$.extend(!0,[],l);e.ref(a,o),ne.allowUpdate&&ne.saveParam("all",h.currentSheetIndex,l,{k:"luckysheet_alternateformat_save"}),$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-modal-dialog-slider-alternateformat").hide(),$t()})},perfect:function(){let e=this,n=$.extend(!0,{},h.luckysheet_select_save[0]),t=e.rangeIsExists(n)[1],l=$.extend(!0,{},h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_alternateformat_save[t]),a=l.cellrange;$("#luckysheet-alternateformat-range input").val(wt(h.currentSheetIndex,{row:a.row,column:a.column},h.currentSheetIndex)),h.luckysheet_select_save=[{row:a.row,column:a.column}],tt();let o=l.hasRowHeader,s=l.hasRowFooter,u=l.format;e.modelfocusIndex=e.getIndexByFormat(u),e.modelfocusIndex==null&&(e.addCustomModel(u),e.modelfocusIndex=e.getIndexByFormat(u)),e.checkboxChange(o,s),e.modelboxOn(),$("#luckysheet-alternateformat-remove").data("index",t)},checkboxChange:function(e,n){e?($("#luckysheet-alternateformat-rowHeader").prop("checked",!0),$("#luckysheet-alternateformat-modelToning .header").show()):($("#luckysheet-alternateformat-rowHeader").removeAttr("checked"),$("#luckysheet-alternateformat-modelToning .header").hide()),n?($("#luckysheet-alternateformat-rowFooter").prop("checked",!0),$("#luckysheet-alternateformat-modelToning .footer").show()):($("#luckysheet-alternateformat-rowFooter").removeAttr("checked"),$("#luckysheet-alternateformat-modelToning .footer").hide()),this.getModelBox(e,n)},modelboxOn:function(){let e=this;$("#luckysheet-modal-dialog-slider-alternateformat .modelbox").removeClass("on");let n=e.modelfocusIndex,t=e.FixedModelColor.length;n<t?$("#luckysheet-alternateformat-modelList .modelbox").eq(n).addClass("on"):$("#luckysheet-alternateformat-modelCustom .modelbox").eq(n-t).addClass("on"),e.modelToningColor()},modelToningColor:function(){let e=this.getFormatByIndex();$("#luckysheet-alternateformat-modelToning .header .toningShow").css({color:e.head.fc,"background-color":e.head.bc}),$("#luckysheet-alternateformat-modelToning .header .toningShow").data("fc",e.head.fc).data("bc",e.head.bc),$("#luckysheet-alternateformat-modelToning .header .luckysheet-icon-text-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",e.head.fc),$("#luckysheet-alternateformat-modelToning .header .luckysheet-icon-cell-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",e.head.bc),$("#luckysheet-alternateformat-modelToning .ctOne .toningShow").css({color:e.one.fc,"background-color":e.one.bc}),$("#luckysheet-alternateformat-modelToning .ctOne .toningShow").data("fc",e.one.fc).data("bc",e.one.bc),$("#luckysheet-alternateformat-modelToning .ctOne .luckysheet-icon-text-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",e.one.fc),$("#luckysheet-alternateformat-modelToning .ctOne .luckysheet-icon-cell-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",e.one.bc),$("#luckysheet-alternateformat-modelToning .ctTwo .toningShow").css({color:e.two.fc,"background-color":e.two.bc}),$("#luckysheet-alternateformat-modelToning .ctTwo .toningShow").data("fc",e.two.fc).data("bc",e.two.bc),$("#luckysheet-alternateformat-modelToning .ctTwo .luckysheet-icon-text-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",e.two.fc),$("#luckysheet-alternateformat-modelToning .ctTwo .luckysheet-icon-cell-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",e.two.bc),$("#luckysheet-alternateformat-modelToning .footer .toningShow").css({color:e.foot.fc,"background-color":e.foot.bc}),$("#luckysheet-alternateformat-modelToning .footer .toningShow").data("fc",e.foot.fc).data("bc",e.foot.bc),$("#luckysheet-alternateformat-modelToning .footer .luckysheet-icon-text-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",e.foot.fc),$("#luckysheet-alternateformat-modelToning .footer .luckysheet-icon-cell-color").parents(".luckysheet-color-menu-button-indicator").css("border-bottom-color",e.foot.bc)},addCustomModel:function(e){let n=h.luckysheetfile[K(h.currentSheetIndex)];n.luckysheet_alternateformat_save_modelCustom==null&&(n.luckysheet_alternateformat_save_modelCustom=[]),n.luckysheet_alternateformat_save_modelCustom.push(e),ne.allowUpdate&&ne.saveParam("all",h.currentSheetIndex,n.luckysheet_alternateformat_save_modelCustom,{k:"luckysheet_alternateformat_save_modelCustom"})},colorSelectDialog:function(e,n,t){$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-alternateformat-colorSelect-dialog").remove();let l=Q(),a=l.alternatingColors,o=l.button,s=l.toolbar,u;n=="fc"?u=a.selectionTextColor:n=="bc"&&(u=a.selectionCellColor),$("body").append(_e(ft,{id:"luckysheet-alternateformat-colorSelect-dialog",addclass:"luckysheet-alternateformat-colorSelect-dialog",title:u,content:"<div class='currenColor' data-source='"+t+"'>"+a.currentColor+"\uFF1A<span title='"+e+"' style='background-color:"+e+"'></span></div><div class='colorshowbox'></div>",botton:'<button id="luckysheet-alternateformat-colorSelect-dialog-confirm" class="btn btn-primary">'+o.confirm+'</button><button class="btn btn-default luckysheet-model-close-btn">'+o.cancel+"</button>",style:"z-index:100003"}));let d=$("#luckysheet-alternateformat-colorSelect-dialog").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),f=d.outerHeight(),m=d.outerWidth(),g=$(window).width(),y=$(window).height(),v=$(document).scrollLeft(),k=$(document).scrollTop();$("#luckysheet-alternateformat-colorSelect-dialog").css({left:(g+v-m)/2,top:(y+k-f)/3}).show(),$("#luckysheet-alternateformat-colorSelect-dialog").find(".colorshowbox").spectrum({showPalette:!0,showPaletteOnly:!0,preferredFormat:"hex",clickoutFiresChange:!1,showInitial:!0,showInput:!0,flat:!0,hideAfterPaletteSelect:!0,showSelectionPalette:!0,showButtons:!1,maxPaletteSize:8,maxSelectionSize:8,color:e,cancelText:o.cancel,chooseText:s.confirmColor,togglePaletteMoreText:s.customColor,togglePaletteLessText:s.collapse,togglePaletteOnly:!0,clearText:s.clearText,noColorSelectedText:s.noColorSelectedText,localStorageKey:"spectrum.textcolor"+ne.gridKey,palette:[["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc"],["#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd"],["#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0"],["#c00","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79"],["#900","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47"],["#600","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]],move:function(b){b!=null?b=b.toHexString():b="#000",$("#luckysheet-alternateformat-colorSelect-dialog .currenColor span").css("background-color",b).attr("title",b)}})},rangeDialog:function(e){$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-alternateformat-rangeDialog").remove();let n=Q(),t=n.alternatingColors,l=n.button;$("body").append(_e(ft,{id:"luckysheet-alternateformat-rangeDialog",addclass:"luckysheet-alternateformat-rangeDialog",title:t.selectRange,content:'<input readonly="readonly" placeholder="'+t.tipSelectRange+'" value="'+e+'"/>',botton:'<button id="luckysheet-alternateformat-rangeDialog-confirm" class="btn btn-primary">'+l.confirm+'</button><button id="luckysheet-alternateformat-rangeDialog-close" class="btn btn-default">'+l.cancel+"</button>",style:"z-index:100003"}));let a=$("#luckysheet-alternateformat-rangeDialog").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),o=a.outerHeight(),s=a.outerWidth(),u=$(window).width(),d=$(window).height(),f=$(document).scrollLeft(),m=$(document).scrollTop();$("#luckysheet-alternateformat-rangeDialog").css({left:(u+f-s)/2,top:(d+m-o)/3}).show()},rangeIsExists:function(e,n){let t=this,l=!1,a=null,o=$.extend(!0,[],h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_alternateformat_save);if(n!=null&&n!=null&&(o.length>1?o.splice(n,1):o=[]),o.length>0){let s=[];for(let d=0;d<o.length;d++){let f={index:d,map:t.getRangeMap(o[d].cellrange.row,o[d].cellrange.column)};s.push(f)}let u=t.getRangeMap(e.row,e.column);for(let d in u){if(l)break;for(let f=0;f<s.length;f++)if(d in s[f].map){l=!0,a=s[f].index;break}}}return[l,a]},getRangeMap:function(e,n){let t={},l=e[0],a=e[1],o=n[0],s=n[1];for(let u=l;u<=a;u++)for(let d=o;d<=s;d++)t[u+"_"+d]=0;return t},getIndexByFormat:function(e){let n=this,t=null,l=n.FixedModelColor;for(let o=0;o<l.length;o++){let s=l[o];if(e.head.fc==s.head.fc&&e.head.bc==s.head.bc&&e.one.fc==s.one.fc&&e.one.bc==s.one.bc&&e.two.fc==s.two.fc&&e.two.bc==s.two.bc&&e.foot.fc==s.foot.fc&&e.foot.bc==s.foot.bc){t=o;break}}let a=h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_alternateformat_save_modelCustom;if(a!=null&&a.length>0)for(let o=0;o<a.length;o++){let s=a[o];if(e.head.fc==s.head.fc&&e.head.bc==s.head.bc&&e.one.fc==s.one.fc&&e.one.bc==s.one.bc&&e.two.fc==s.two.fc&&e.two.bc==s.two.bc&&e.foot.fc==s.foot.fc&&e.foot.bc==s.foot.bc){t=l.length+o;break}}return t},getFormatByIndex:function(){let e=this,n=e.modelfocusIndex,t=e.FixedModelColor.length,l={};return n<t?l=e.FixedModelColor[n]:l=h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_alternateformat_save_modelCustom[n-t],l},new:function(e){let n=this,t=n.getFormatByIndex(),a=h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_alternateformat_save;a==null&&(a=[]);let o=$.extend(!0,[],a),s={cellrange:{row:e.row,column:e.column},format:t,hasRowHeader:!0,hasRowFooter:!1};a.push(s);let u=$.extend(!0,[],a);n.ref(o,u),ne.allowUpdate&&ne.saveParam("all",h.currentSheetIndex,a,{k:"luckysheet_alternateformat_save"})},update:function(){let e=this,t=Q().alternatingColors,l=$("#luckysheet-alternateformat-remove").data("index"),a=$("#luckysheet-modal-dialog-slider-alternateformat #luckysheet-alternateformat-range input").val().trim();if(!p.iscelldata(a)){de()?alert(t.errorNoRange):U.info(t.errorNoRange,"");return}let o=p.getcellrange(a);if(e.rangeIsExists(o,l)[0]){de()?alert(t.errorExistColors):U.info(t.errorExistColors,"");return}let u;$("#luckysheet-modal-dialog-slider-alternateformat #luckysheet-alternateformat-rowHeader").is(":checked")?u=!0:u=!1;let d;$("#luckysheet-modal-dialog-slider-alternateformat #luckysheet-alternateformat-rowFooter").is(":checked")?d=!0:d=!1;let f=e.getFormatByIndex(),g=h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_alternateformat_save;g==null&&(g=[]);let y=$.extend(!0,[],g),v={cellrange:{row:o.row,column:o.column},format:f,hasRowHeader:u,hasRowFooter:d};g[l]=v;let k=$.extend(!0,[],g);e.ref(y,k),ne.allowUpdate&&ne.saveParam("all",h.currentSheetIndex,g,{k:"luckysheet_alternateformat_save"})},checksAF:function(e,n,t){return e+"_"+n in t?t[e+"_"+n]:null},getComputeMap:function(){let n=h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_alternateformat_save;return this.compute(n)},compute:function(e){let n={};if(e!=null&&e.length>0)for(let t=0;t<e.length;t++){let l=e[t].cellrange,a=e[t].format,o=e[t].hasRowHeader,s=e[t].hasRowFooter,u=l.row[0],d=l.row[1],f=l.column[0],m=l.column[1];if(o&&s){for(let g=f;g<=m;g++)n[u+"_"+g]=[a.head.fc,a.head.bc];if(d-u>1)for(let g=u+1;g<d;g++){let y,v;(g-u)%2!=0?(y=a.one.fc,v=a.one.bc):(y=a.two.fc,v=a.two.bc);for(let k=f;k<=m;k++)n[g+"_"+k]=[y,v]}if(d>u)for(let g=f;g<=m;g++)n[d+"_"+g]=[a.foot.fc,a.foot.bc]}else if(o){for(let g=f;g<=m;g++)n[u+"_"+g]=[a.head.fc,a.head.bc];if(d>u)for(let g=u+1;g<=d;g++){let y,v;(g-u)%2!=0?(y=a.one.fc,v=a.one.bc):(y=a.two.fc,v=a.two.bc);for(let k=f;k<=m;k++)n[g+"_"+k]=[y,v]}}else if(s){if(d>u)for(let g=u;g<d;g++){let y,v;(g-u)%2==0?(y=a.one.fc,v=a.one.bc):(y=a.two.fc,v=a.two.bc);for(let k=f;k<=m;k++)n[g+"_"+k]=[y,v]}for(let g=f;g<=m;g++)n[d+"_"+g]=[a.foot.fc,a.foot.bc]}else for(let g=u;g<=d;g++){let y,v;(g-u)%2==0?(y=a.one.fc,v=a.one.bc):(y=a.two.fc,v=a.two.bc);for(let k=f;k<=m;k++)n[g+"_"+k]=[y,v]}}return n},ref:function(e,n){if(h.clearjfundo){h.jfundo.length=0;let l={};l.type="updateAF",l.sheetIndex=h.currentSheetIndex,l.data={historyRules:e,currentRules:n},h.jfredo.push(l)}let t=K(h.currentSheetIndex);h.luckysheetfile[t].luckysheet_alternateformat_save=n,setTimeout(function(){Be()},1)}},el=u2});var h2,Bn,qa=$e(()=>{ht();h2={parseJsonParm:function(e){if(e==null)return{};if(P(e)=="string")try{return new Function("return "+e)()}catch(n){return{}}else return e},hasKey:function(e){let t=this.parseJsonParm(e);for(let l in t)return!0;return!1}},Bn=h2});function Hn(e,n,t,l,a,o,s,u,d,f){if(n?(e.addClass("luckysheet-filter-options-active").data("rowhidden",JSON.stringify(t)).data("caljs",JSON.stringify(l)).html('<i class="fa fa-filter luckysheet-mousedown-cancel" aria-hidden="true"></i>'),l!=null&&(e.data("byconditionvalue",l.value).data("byconditiontype",l.type).data("byconditiontext",l.text),l.value1!=null&&e.data("byconditionvalue1",l.value1),l.value2!=null&&e.data("byconditionvalue2",l.value2))):(e.removeClass("luckysheet-filter-options-active").data("rowhidden","").data("caljs","").html('<i class="fa fa-caret-down luckysheet-mousedown-cancel" aria-hidden="true"></i>'),e.data("byconditionvalue","null").data("byconditiontype","0").data("byconditiontext","\u65E0").data("byconditionvalue1","").data("byconditionvalue2","")),a){let m=h.luckysheetfile[K(h.currentSheetIndex)];if(m.filter==null&&(m.filter={}),n){let g={caljs:l,rowhidden:t,optionstate:n,str:o,edr:s,cindex:u,stc:d,edc:f};m.filter[u-d]=g}else delete m.filter[u-d];ne.saveParam("all",h.currentSheetIndex,m.filter,{k:"filter"})}}function tf(e,n,t,l,a,o){let s=we.deepCopyFlowData(h.flowdata);e=e+1;let u=!1,d=[];for(let m=e;m<=t;m++){let g=[];for(let y=n;y<=l;y++){if(s[m][y]!=null&&s[m][y].mc!=null){u=!0;break}g.push(s[m][y])}d.push(g)}if(u){let m=Q().filter;de()?alert(m.mergeError):U.info(m.mergeError,"");return}d=Vr(d,a-n,o);for(let m=e;m<=t;m++)for(let g=n;g<=l;g++)s[m][g]=d[m-e][g-n];let f={};if(h.config.rowlen!=null){let m=$.extend(!0,{},h.config);m=yl(s,e,t,m),f={cfg:m,RowlChange:!0}}Ze(s,[{row:[e,t],column:[n,l]}],f)}function Di(){if(!It(h.currentSheetIndex,"filter"))return;if(h.luckysheet_select_save.length>1){$("#luckysheet-rightclick-menu").hide(),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide(),$("#"+h.container).attr("tabindex",0).focus();let n=Q().splitText;de()?alert(n.tipNoMulti):U.info(n.tipNoMulti,"");return}if(h.luckysheetfile[K(h.currentSheetIndex)].isPivotTable)return;$("#luckysheet-filter-selected-sheet"+h.currentSheetIndex+", #luckysheet-filter-options-sheet"+h.currentSheetIndex).remove();let e=h.luckysheet_select_save[0];if(e.row[0]==e.row[1]&&e.column[0]==e.column[1]){let n,t,l=e.row[1];for(let a=0;a<h.flowdata[l].length;a++){let o=h.flowdata[l][a];if(o!=null&&!fe(o.v))n==null&&(n=a);else if(n!=null){t=a-1;break}}t==null&&(t=h.flowdata[l].length-1),h.luckysheet_select_save=[{row:[l,l],column:[n,t]}],tt(),h.luckysheet_shiftpositon=$.extend(!0,{},e),Ba("down","range")}else e.row[1]-e.row[0]<2&&(h.luckysheet_shiftpositon=$.extend(!0,{},e),Ba("down","range"));h.luckysheet_filter_save=$.extend(!0,{},h.luckysheet_select_save[0]),Fl(h.luckysheet_filter_save),ne.saveParam("all",h.currentSheetIndex,h.luckysheet_filter_save,{k:"filter_select"}),h.filterchage&&h.jfredo.push({type:"filtershow",data:[],curdata:[],sheetIndex:h.currentSheetIndex,filter_save:h.luckysheet_filter_save})}function Fl(e,n){if($("#luckysheet-filter-selected-sheet"+h.currentSheetIndex).remove(),$("#luckysheet-filter-options-sheet"+h.currentSheetIndex).remove(),e==null||JSON.stringify(e)=="{}")return;let t=e.row[0],l=e.row[1],a=e.column[0],o=e.column[1],s=h.visibledatarow[l],u=t-1==-1?0:h.visibledatarow[t-1],d=h.visibledatacolumn[o],f=a-1==-1?0:h.visibledatacolumn[a-1],m='<div id="luckysheet-filter-selected-sheet'+h.currentSheetIndex+'" class="luckysheet-cell-selected luckysheet-filter-selected" style="left:'+f+"px;width:"+(d-f-1)+"px;top:"+u+"px;height:"+(s-u-1)+'px;display:block;border-color:#897BFF;z-index:20;background:none;"></div>';$("#luckysheet-cell-main").append(m);let g="";for(let v=a;v<=o;v++){let k=h.config!=null&&h.config.colhidden!=null&&v in h.config.colhidden;if(n==null||n[v-a]==null)g+='<div data-rowhidden="" data-str="'+t+'" data-edr="'+l+'" data-cindex="'+v+'" data-stc="'+a+'" data-edc="'+o+'" class="luckysheet-filter-options" style="left:'+(h.visibledatacolumn[v]-20)+"px;top:"+u+"px;display:"+(k?"none":"block")+';"><i class="fa fa-caret-down" aria-hidden="true"></i></div>';else{let b;if(n[v-a].caljs!=null){let w;n[v-a].caljs.value1!=null?w='data-byconditionvalue1="'+n[v-a].caljs.value1+'" ':w="";let x;n[v-a].caljs.value2!=null?x='data-byconditionvalue2="'+n[v-a].caljs.value2+'" ':x="",b='data-caljs="'+JSON.stringify(n[v-a].caljs)+'" data-byconditionvalue="'+n[v-a].caljs.value+'" data-byconditiontype="'+n[v-a].caljs.type+'" data-byconditiontext="'+n[v-a].caljs.text+'" '+w+x}else b="";g+='<div data-rowhidden="'+JSON.stringify(n[v-a].rowhidden).replace(/\"/g,"'")+'" '+b+' data-str="'+t+'" data-edr="'+l+'" data-cindex="'+v+'" data-stc="'+a+'" data-edc="'+o+'" class="luckysheet-filter-options luckysheet-filter-options-active" style="left:'+(h.visibledatacolumn[v]-20)+"px;top:"+u+"px;display:"+(k?"none":"block")+';"><i class="fa fa-filter luckysheet-mousedown-cancel" aria-hidden="true"></i></div>'}}$("#luckysheet-cell-main").append('<div id="luckysheet-filter-options-sheet'+h.currentSheetIndex+'" class="luckysheet-filter-options-c">'+g+"</div>"),$("#luckysheet-rightclick-menu").hide(),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide(),$("#luckysheet-cell-main").scrollTop()>e.top_move&&$("#luckysheet-scrollbar-y").scrollTop(e.top_move);let y=h.luckysheetfile[K(h.currentSheetIndex)];y.filter_select=e}function lf(){let e=null,n=Q(),t=n.filter,l=n.button;$("#luckysheetfilter").click(Di);let a=null,o=null;$(".luckysheet-cols-menu .luckysheet-cols-submenu").hover(function(){let s=$(this),u=s.attr("id"),d=$("#"+u+"_sub"),f=s.parent(),m=$(window).width(),g=$(window).height(),y=f.width(),v=d.height()+25,k=d.width()+5,b=s.offset(),w=b.top,x=b.left+y;x+k>m&&(x=b.left-k),w+v>g&&(w=g-v),d.css({top:w,left:x}).show(),o=s},function(){let s=$(this),u=s.attr("id"),d=$("#"+u+"_sub");a=setTimeout(function(){d.hide()},200)}),$(".luckysheet-rightgclick-menu-sub").hover(function(){o.addClass("luckysheet-cols-menuitem-hover"),clearTimeout(a)},function(){o.removeClass("luckysheet-cols-menuitem-hover"),$(this).hide()}),$("#luckysheet-filter-menu").mouseover(function(){clearTimeout(e),e=setTimeout(function(){$("#luckysheet-filter-submenu").hide()},500)}),$("#luckysheet-filter-submenu").mouseover(function(){clearTimeout(e)}).find(".luckysheet-cols-menuitem").click(function(s){$("#luckysheet-filter-selected span").html($(this).find(".luckysheet-cols-menuitem-content").text()).data("value",$(this).data("value")),$("#luckysheet-filter-menu .luckysheet-filter-selected-input").hide();let u=$(this).data("type"),d=$(this).attr("data-value");u=="2"?($("#luckysheet-filter-selected span").data("type","2"),$("#luckysheet-filter-menu .luckysheet-filter-selected-input2").show(),$("#luckysheet-filter-menu .luckysheet-filter-selected-input input").prop("type","number")):u=="0"?$("#luckysheet-filter-selected span").data("type","0"):($("#luckysheet-filter-selected span").data("type","1"),$("#luckysheet-filter-menu .luckysheet-filter-selected-input").eq(0).show(),d=="dateequal"||d=="datelessthan"||d=="datemorethan"?$("#luckysheet-filter-menu .luckysheet-filter-selected-input input").prop("type","date"):d=="morethan"||d=="moreequalthan"||d=="lessthan"||d=="lessequalthan"||d=="equal"||d=="noequal"?$("#luckysheet-filter-menu .luckysheet-filter-selected-input input").prop("type","number"):$("#luckysheet-filter-menu .luckysheet-filter-selected-input input").prop("type","text")),$("#luckysheet-filter-byvalue").next().slideUp(),$("#luckysheet-filter-submenu").hide()}),$("#luckysheet-filter-bycondition, #luckysheet-filter-byvalue").click(function(){let s=$(this);s.next().slideToggle(200),setTimeout(function(){s.attr("id")=="luckysheet-filter-bycondition"&&$("#luckysheet-filter-bycondition").next().is(":visible")&&$("#luckysheet-filter-selected span").text()!=t.filiterInputNone&&$("#luckysheet-filter-byvalue").next().slideUp(200),s.is($("#luckysheet-filter-bycondition"))&&$("#luckysheet-filter-bycondition").next().is(":hidden")&&$("#luckysheet-filter-byvalue").next().is(":hidden")&&$("#luckysheet-filter-byvalue").next().slideDown(200)},300)}),$("#luckysheet-filter-selected").click(function(){let s=$(this),u=s.offset(),d=$("#luckysheet-filter-submenu");d.hide();let f=$(window).height(),m=$(window).width(),g=d.width(),y=d.height(),v=u.top,k=u.left,b=f-u.top-20;u.left+g>m&&(k=u.left-g),u.top>f/2&&(v=f-u.top,v<0&&(v=0),b=u.top-20),d.css({top:v,left:k,height:b}).show(),clearTimeout(e)}),$("#luckysheet-cell-main").on("click",".luckysheet-filter-options",function(s){if(!It(h.currentSheetIndex,"filter"))return;let u=$(s.currentTarget),d=u.offset(),f=$("#luckysheet-filter-menu"),m=$(window).height(),g=$(window).width(),y=u.data("str"),v=u.data("edr"),k=u.data("cindex"),b=u.data("stc"),w=u.data("edc"),x=u.data("rowhidden")==""?{}:JSON.parse(u.data("rowhidden").replace(/\'/g,'"'));$("body .luckysheet-cols-menu").hide(),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide(),$("#luckysheet-filter-byvalue-input").val(""),$("#luckysheet-filter-bycondition").next().hide(),$("#luckysheet-filter-byvalue").next().show(),f.data("str",y),f.data("edr",v),f.data("cindex",k),f.data("stc",b),f.data("edc",w),$("#luckysheet-filter-menu .luckysheet-filter-selected-input").hide().find("input").val(),$("#luckysheet-filter-selected span").data("type","0").data("type",null).text(t.filiterInputNone);let C=u.data("byconditiontype");if($("#luckysheet-filter-selected span").data("value",u.data("byconditionvalue")).data("type",C).text(u.data("byconditiontext")),C=="2"){let A=$("#luckysheet-filter-menu .luckysheet-filter-selected-input2").show().find("input");A.eq(0).val(u.data("byconditionvalue1")),A.eq(1).val(u.data("byconditionvalue2"))}else C=="1"&&$("#luckysheet-filter-menu .luckysheet-filter-selected-input").eq(0).show().find("input").val(u.data("byconditionvalue1"));$("#luckysheet-filter-orderby-asc").off("click").on("click",function(){tf(y,b,v,w,k,!0)}),$("#luckysheet-filter-orderby-desc").off("click").on("click",function(){tf(y,b,v,w,k,!1)});let S=Nr("#luckysheet-filter-byvalue-select",{text:t.filiterMoreDataTip});$("#luckysheet-filter-byvalue-select").empty().append(S.el);let _={};$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").not(this).each(function(){let A=$(this),R=A.data("rowhidden");if(R=="")return!0;R=JSON.parse(R.replace(/\'/g,'"'));for(let I in R)_[I]=0});let T=h.flowdata;return setTimeout(function(){let A={},R={},I={},F={};for(let N=y+1;N<=v;N++){if(N in _||h.flowdata[N]==null)continue;let E=h.flowdata[N][k];if(E!=null&&!fe(E.v)&&E.ct!=null&&E.ct.t=="d"){let L=_t("YYYY-MM-DD",E.v),O=L.split("-")[0],V=L.split("-")[1],q=L.split("-")[2];O in A||(A[O]={}),V in A[O]||(A[O][V]={}),q in A[O][V]||(A[O][V][q]=0),A[O][V][q]++,N in x&&(R[O]=0,R[V]=0,R[q]=0)}else{let L,O;if((E==null||fe(E.v))&&(E==null?void 0:E.mc)){let{r:V,c:q}=E.mc,W=h.flowdata[V][q];L=W.v,O=W.m}else E==null||fe(E.v)?(L=null,O=null):(L=E.v,O=E.m);L in I||(I[L]={}),O in I[L]||(I[L][O]=0),I[L][O]++,N in x&&(F[L+"#$$$#"+O]=0)}}let z=[];if(JSON.stringify(A).length>2)for(let N in A){let E=0,L="";for(let V in A[N]){let q=0,W="";for(let ee in A[N][V]){let te=A[N][V][ee];q+=te;let oe;Number(V)<10?oe="0"+Number(V):oe=V;let ce;Number(ee)<10?ce="0"+Number(ee):ce=ee,N in R&&V in R&&ee in R?W+='<div class="day luckysheet-mousedown-cancel cf" data-check="false" title="'+N+"-"+oe+"-"+ce+'"><input class="luckysheet-mousedown-cancel" type="checkbox"/><label class="luckysheet-mousedown-cancel">'+ee+'</label><span class="count luckysheet-mousedown-cancel">( '+te+" )</span></div>":W+='<div class="day luckysheet-mousedown-cancel cf" data-check="true" title="'+N+"-"+oe+"-"+ce+'"><input class="luckysheet-mousedown-cancel" type="checkbox" checked="checked"/><label class="luckysheet-mousedown-cancel">'+ee+'</label><span class="count luckysheet-mousedown-cancel">( '+te+" )</span></div>"}E+=q;let Y;Number(V)<10?Y="0"+Number(V):Y=V,N in R&&V in R?L+='<div class="monthBox luckysheet-mousedown-cancel"><div class="month luckysheet-mousedown-cancel cf" data-check="false" title="'+N+"-"+Y+'"><i class="fa fa-caret-right luckysheet-mousedown-cancel" aria-hidden="true"></i><input class="luckysheet-mousedown-cancel" type="checkbox"/><label class="luckysheet-mousedown-cancel">'+V+""+t.filiterMonthText+'</label><span class="count luckysheet-mousedown-cancel">( '+q+' )</span></div><div class="dayList luckysheet-mousedown-cancel">'+W+"</div></div>":L+='<div class="monthBox luckysheet-mousedown-cancel"><div class="month luckysheet-mousedown-cancel cf" data-check="true" title="'+N+"-"+Y+'"><i class="fa fa-caret-right luckysheet-mousedown-cancel" aria-hidden="true"></i><input class="luckysheet-mousedown-cancel" type="checkbox" checked="checked"/><label class="luckysheet-mousedown-cancel">'+V+""+t.filiterMonthText+'</label><span class="count luckysheet-mousedown-cancel">( '+q+' )</span></div><div class="dayList luckysheet-mousedown-cancel">'+W+"</div></div>"}let O;N in R?O='<div class="yearBox luckysheet-mousedown-cancel"><div class="year luckysheet-mousedown-cancel cf" data-check="false" title="'+N+'"><i class="fa fa-caret-right luckysheet-mousedown-cancel" aria-hidden="true"></i><input class="luckysheet-mousedown-cancel" type="checkbox"/><label class="luckysheet-mousedown-cancel">'+N+""+t.filiterYearText+'</label><span class="count luckysheet-mousedown-cancel">( '+E+' )</span></div><div class="monthList luckysheet-mousedown-cancel">'+L+"</div></div>":O='<div class="yearBox luckysheet-mousedown-cancel"><div class="year luckysheet-mousedown-cancel cf" data-check="true" title="'+N+'"><i class="fa fa-caret-right luckysheet-mousedown-cancel" aria-hidden="true"></i><input class="luckysheet-mousedown-cancel" type="checkbox" checked="checked"/><label class="luckysheet-mousedown-cancel">'+N+""+t.filiterYearText+'</label><span class="count luckysheet-mousedown-cancel">( '+E+' )</span></div><div class="monthList luckysheet-mousedown-cancel">'+L+"</div></div>",z.unshift(O)}if(JSON.stringify(I).length>2){let N=Object.keys(I);N=xo(N,!0);for(let E=0;E<N.length;E++){let L=N[E];for(let O in I[L]){let V;L+"#$$$#"+O=="null#$$$#null"?V=t.valueBlank:V=O;let q;L+"#$$$#"+O in F?q='<div class="textBox luckysheet-mousedown-cancel cf" data-check="false" data-filter="'+(L+"#$$$#"+O)+'" title="'+V+'"><input class="luckysheet-mousedown-cancel" type="checkbox"/><label class="luckysheet-mousedown-cancel">'+V+'</label><span class="luckysheet-mousedown-cancel count">( '+I[L][O]+" )</span></div>":q='<div class="textBox luckysheet-mousedown-cancel cf" data-check="true" data-filter="'+(L+"#$$$#"+O)+'" title="'+V+'"><input class="luckysheet-mousedown-cancel" type="checkbox" checked="checked"/><label class="luckysheet-mousedown-cancel">'+V+'</label><span class="luckysheet-mousedown-cancel count">( '+I[L][O]+" )</span></div>",z.push(q)}}}let M=m-d.top-350;M<0&&(M=100),$("#luckysheet-filter-byvalue-select").append("<div class='ListBox luckysheet-mousedown-cancel' style='min-height: 100px; max-height: "+M+"px; overflow-y: auto; overflow-x: hidden;'><table cellspacing='0' style='width:100%;' class='luckysheet-mousedown-cancel'>"+z.join("")+"</table></div>"),S.close()},1),un(f,d.left,d.top+20),s.stopPropagation(),!1}),$("#luckysheet-filter-orderby-color").hover(function(){let s=$("#luckysheet-filter-menu"),u=s.data("str"),d=s.data("edr"),f=s.data("cindex"),m=s.data("stc"),g=s.data("edc"),y={},v={},k=el.getComputeMap(),b=Se.getComputeMap();for(let E=u+1;E<=d;E++){let L=h.flowdata[E][f],O=be.checkstatus(h.flowdata,E,f,"bg");O==null&&(O="#ffffff");let V=el.checksAF(E,f,k);V!=null&&(O=V[1]);let q=Se.checksCF(E,f,b);q!=null&&q.cellColor!=null&&(O=q.cellColor),O.indexOf("rgb")>-1&&(O=Ln(O)),O.length==4&&(O=O.substr(0,1)+O.substr(1,1).repeat(2)+O.substr(2,1).repeat(2)+O.substr(3,1).repeat(2));let W=be.checkstatus(h.flowdata,E,f,"fc");V!=null&&(W=V[0]),q!=null&&q.textColor!=null&&(W=q.textColor),W.indexOf("rgb")>-1&&(W=Ln(W)),W.length==4&&(W=W.substr(0,1)+W.substr(1,1).repeat(2)+W.substr(2,1).repeat(2)+W.substr(3,1).repeat(2)),h.config!=null&&h.config.rowhidden!=null&&E in h.config.rowhidden?(y[O]=1,L!=null&&!fe(L.v)&&(v[W]=1)):(y[O]=0,L!=null&&!fe(L.v)&&(v[W]=0))}let w="";if(JSON.stringify(y).length>2&&Object.keys(y).length>1){let E="";for(let L in y)y[L]==0?E+='<div class="item luckysheet-mousedown-cancel"><label class="luckysheet-mousedown-cancel" style="background-color: '+L+'" title="'+L+'"></label><input class="luckysheet-mousedown-cancel" type="checkbox" checked="checked"/></div>':E+='<div class="item luckysheet-mousedown-cancel"><label class="luckysheet-mousedown-cancel" style="background-color: '+L+'" title="'+L+'"></label><input class="luckysheet-mousedown-cancel" type="checkbox"/></div>';w='<div id="filterBgColor" class="box luckysheet-mousedown-cancel"><div class="title luckysheet-mousedown-cancel">'+t.filiterByColorTip+'</div><div style="max-height:128px;overflow:auto;" class="luckysheet-mousedown-cancel">'+E+"</div></div>"}let x="";if(JSON.stringify(v).length>2&&Object.keys(v).length>1){let E="";for(let L in v)v[L]==0?E+='<div class="item luckysheet-mousedown-cancel"><label class="luckysheet-mousedown-cancel" style="background-color: '+L+'" title="'+L+'"></label><input class="luckysheet-mousedown-cancel" type="checkbox" checked="checked"/></div>':E+='<div class="item luckysheet-mousedown-cancel"><label class="luckysheet-mousedown-cancel" style="background-color: '+L+'" title="'+L+'"></label><input class="luckysheet-mousedown-cancel" type="checkbox"/></div>';x='<div id="filterFcColor" class="box luckysheet-mousedown-cancel"><div class="title luckysheet-mousedown-cancel">'+t.filiterByTextColorTip+'</div><div style="max-height:128px;overflow:auto;" class="luckysheet-mousedown-cancel">'+E+"</div></div>"}let C;w==""&&x==""?C='<div class="luckysheet-mousedown-cancel" style="padding: 10px 30px;text-align: center;">'+t.filterContainerOneColorTip+"</div>":C=w+x+'<div class="luckysheet-mousedown-cancel"><button id="luckysheet-filter-orderby-color-confirm" class="btn btn-primary luckysheet-mousedown-cancel" style="margin: 5px 20px;width: 70px;">'+l.confirm+"</button></div>",$("#luckysheet-filter-orderby-color-submenu").remove(),$("body").append('<div id="luckysheet-filter-orderby-color-submenu" class="luckysheet-cols-menu luckysheet-mousedown-cancel">'+C+"</div>");let S=$("#luckysheet-filter-orderby-color-submenu").end(),_=$(this).parent(),T=$(window).width(),A=$(window).height(),R=_.width(),I=S.height()+25,F=S.width()+5,z=$(this).offset(),M=z.top,N=z.left+R;N+F>T&&(N=z.left-F),M+I>A&&(M=A-I),$("#luckysheet-filter-orderby-color-submenu").css({top:M,left:N}).show()},function(){a=setTimeout(function(){$("#luckysheet-filter-orderby-color-submenu").hide()},200)}),$(document).on("mouseover mouseleave","#luckysheet-filter-orderby-color-submenu",function(s){s.type==="mouseover"?clearTimeout(a):$(this).hide()}),$(document).on("click","#luckysheet-filter-orderby-color-submenu .item label",function(){$(this).siblings("input[type='checkbox']").click()}),$(document).off("click.orderbyColorConfirm").on("click.orderbyColorConfirm","#luckysheet-filter-orderby-color-submenu #luckysheet-filter-orderby-color-confirm",function(){let s={},u={};$("#luckysheet-filter-orderby-color-submenu .item").each(function(M,N){if($(N).find("input[type='checkbox']").is(":checked")){let E=$(this).find("label").attr("title"),L=$(this).closest(".box").attr("id");L=="filterBgColor"?s[E]=0:L=="filterFcColor"&&(u[E]=0)}});let d;$("#luckysheet-filter-orderby-color-submenu #filterBgColor").length>0?d=!0:d=!1;let f;$("#luckysheet-filter-orderby-color-submenu #filterFcColor").length>0?f=!0:f=!1;let m=$("#luckysheet-filter-menu"),g=m.data("str"),y=m.data("edr"),v=m.data("cindex"),k=m.data("stc"),b=m.data("edc"),w={};$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").not($("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").eq(v-k).get(0)).each(function(){let M=$(this),N=M.data("rowhidden");if(N=="")return!0;N=JSON.parse(N);for(let E in N)w[E]=0});let x={},C={},S={},_=el.getComputeMap(),T=Se.getComputeMap();for(let M=g+1;M<=y;M++){if(M in w||h.flowdata[M]==null)continue;let N=h.flowdata[M][v],E=be.checkstatus(h.flowdata,M,v,"bg"),L=el.checksAF(M,v,_);L!=null&&(E=L[1]);let O=Se.checksCF(M,v,T);O!=null&&O.cellColor!=null&&(E=O.cellColor),E=E==null?"#ffffff":E,E.indexOf("rgb")>-1&&(E=Ln(E)),E.length==4&&(E=E.substr(0,1)+E.substr(1,1).repeat(2)+E.substr(2,1).repeat(2)+E.substr(3,1).repeat(2));let V=be.checkstatus(h.flowdata,M,v,"fc");L!=null&&(V=L[0]),O!=null&&O.textColor!=null&&(V=O.textColor),V.indexOf("rgb")>-1&&(V=Ln(V)),V.length==4&&(V=V.substr(0,1)+V.substr(1,1).repeat(2)+V.substr(2,1).repeat(2)+V.substr(3,1).repeat(2)),d&&f?!(E in s)&&(!(V in u)||N==null||fe(N.v))&&(C[M]=0):d?E in s||(C[M]=0):f&&(!(V in u)||N==null||fe(N.v))&&(C[M]=0)}let A=$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").eq(v-k),R=Object.keys(C).length>0,I=$.extend(!0,w,C),F=Bn.parseJsonParm(A.data("rowhidden"));Hn(A,R,C,S,!0,g,y,v,k,b);let z=$.extend(!0,{},h.config);if(z.rowhidden=I,h.clearjfundo){let M={};M.type="datachangeAll_filter",M.sheetIndex=h.currentSheetIndex,M.config=$.extend(!0,{},h.config),M.curconfig=z,M.optionstate=R,M.optionsindex=v-k,M.rowhidden=$.extend(!0,{},C),M.rowhidenPre=$.extend(!0,{},F),S!=null&&(M.caljs=S),h.jfundo.length=0,h.jfredo.push(M)}h.config=z,h.luckysheetfile[K(h.currentSheetIndex)].config=h.config,ne.saveParam("cg",h.currentSheetIndex,z.rowhidden,{k:"rowhidden"}),St(h.flowdata.length,h.flowdata[0].length),$("#luckysheet-filter-menu, #luckysheet-filter-submenu, #luckysheet-filter-orderby-color-submenu").hide(),nl()}),$(document).off("click.filterCheckbox1").on("click.filterCheckbox1","#luckysheet-filter-byvalue-select .textBox",function(){$(this).attr("data-check")=="true"?($(this).attr("data-check","false"),$(this).find("input[type='checkbox']").removeAttr("checked")):($(this).attr("data-check","true"),$(this).find("input[type='checkbox']").prop("checked",!0))}),$(document).off("click.filterCheckbox2").on("click.filterCheckbox2","#luckysheet-filter-byvalue-select .year",function(){$(this).attr("data-check")=="true"?($(this).attr("data-check","false"),$(this).parents(".yearBox").find(".month").attr("data-check","false"),$(this).parents(".yearBox").find(".day").attr("data-check","false"),$(this).parents(".yearBox").find("input[type='checkbox']").removeAttr("checked")):($(this).attr("data-check","true"),$(this).parents(".yearBox").find(".month").attr("data-check","true"),$(this).parents(".yearBox").find(".day").attr("data-check","true"),$(this).parents(".yearBox").find("input[type='checkbox']").prop("checked",!0))}),$(document).off("click.filterCheckbox3").on("click.filterCheckbox3","#luckysheet-filter-byvalue-select .month",function(){$(this).attr("data-check")=="true"?($(this).attr("data-check","false"),$(this).parents(".monthBox").find(".day").attr("data-check","false"),$(this).parents(".monthBox").find("input[type='checkbox']").removeAttr("checked")):($(this).attr("data-check","true"),$(this).parents(".monthBox").find(".day").attr("data-check","true"),$(this).parents(".monthBox").find("input[type='checkbox']").prop("checked",!0));let s=!0;$(this).parents(".yearBox").find(".day").each(function(d,f){$(f).attr("data-check")=="true"||(s=!1)}),s?($(this).parents(".yearBox").find(".year").attr("data-check","true"),$(this).parents(".yearBox").find(".year input[type='checkbox']").prop("checked",!0)):($(this).parents(".yearBox").find(".year").attr("data-check","false"),$(this).parents(".yearBox").find(".year input[type='checkbox']").removeAttr("checked"))}),$(document).off("click.filterCheckbox4").on("click.filterCheckbox4","#luckysheet-filter-byvalue-select .day",function(){$(this).attr("data-check")=="true"?($(this).attr("data-check","false"),$(this).find("input[type='checkbox']").removeAttr("checked")):($(this).attr("data-check","true"),$(this).find("input[type='checkbox']").prop("checked",!0));let s=!0;$(this).parents(".monthBox").find(".day").each(function(m,g){$(g).attr("data-check")=="true"||(s=!1)}),s?($(this).parents(".monthBox").find(".month").attr("data-check","true"),$(this).parents(".monthBox").find(".month input[type='checkbox']").prop("checked",!0)):($(this).parents(".monthBox").find(".month").attr("data-check","false"),$(this).parents(".monthBox").find(".month input[type='checkbox']").removeAttr("checked"));let d=!0;$(this).parents(".yearBox").find(".day").each(function(m,g){$(g).attr("data-check")=="true"||(d=!1)}),d?($(this).parents(".yearBox").find(".year").attr("data-check","true"),$(this).parents(".yearBox").find(".year input[type='checkbox']").prop("checked",!0)):($(this).parents(".yearBox").find(".year").attr("data-check","false"),$(this).parents(".yearBox").find(".year input[type='checkbox']").removeAttr("checked"))}),$(document).off("click.filterYearDropdown").on("click.filterYearDropdown","#luckysheet-filter-byvalue-select .yearBox .fa-caret-right",function(s){let u=$(this).parents(".luckysheet-mousedown-cancel");u.hasClass("year")&&$(this).parents(".yearBox").find(".monthList").slideToggle(),u.hasClass("month")&&$(this).parents(".monthBox").find(".dayList").slideToggle(),s.stopPropagation()}),$("#luckysheet-filter-byvalue-btn-all").click(function(){$("#luckysheet-filter-byvalue-select .ListBox input[type='checkbox']").prop("checked",!0),$("#luckysheet-filter-byvalue-select .ListBox input[type='checkbox']").parents(".luckysheet-mousedown-cancel").attr("data-check","true")}),$("#luckysheet-filter-byvalue-btn-clear").click(function(){$("#luckysheet-filter-byvalue-select .ListBox input[type='checkbox']").removeAttr("checked"),$("#luckysheet-filter-byvalue-select .ListBox input[type='checkbox']").parents(".luckysheet-mousedown-cancel").attr("data-check","false")}),$("#luckysheet-filter-byvalue-btn-contra").click(function(){$("#luckysheet-filter-byvalue-select .ListBox input[type='checkbox']").each(function(f,m){$(m).is(":checked")?($(m).removeAttr("checked"),$(m).parents(".luckysheet-mousedown-cancel").attr("data-check","false")):($(m).prop("checked",!0),$(m).parents(".luckysheet-mousedown-cancel").attr("data-check","true"))}),$("#luckysheet-filter-byvalue-select .ListBox .monthBox").each(function(f,m){let g=!0;$(m).find(".day input[type='checkbox']").each(function(v,k){$(k).is(":checked")||(g=!1)}),g?($(m).find(".month input[type='checkbox']").prop("checked",!0),$(m).attr("data-check","true")):($(m).find(".month input[type='checkbox']").removeAttr("checked"),$(m).attr("data-check","false"))}),$("#luckysheet-filter-byvalue-select .ListBox .yearBox").each(function(f,m){let g=!0;$(m).find(".day input[type='checkbox']").each(function(v,k){$(k).is(":checked")||(g=!1)}),g?($(m).find(".year input[type='checkbox']").prop("checked",!0),$(m).attr("data-check","true")):($(m).find(".year input[type='checkbox']").removeAttr("checked"),$(m).attr("data-check","false"))})}),$("#luckysheet-filter-initial").click(function(){if(!It(h.currentSheetIndex,"filter"))return;$("#luckysheet-filter-menu .luckysheet-filter-selected-input").hide().find("input").val(),$("#luckysheet-filter-selected span").data("type","0").data("type",null).text(t.conditionNone);let s={};s.type="datachangeAll_filter_clear",s.sheetIndex=h.currentSheetIndex,s.config=$.extend(!0,{},h.config),h.config.rowhidden={},s.curconfig=$.extend(!0,{},h.config),s.filter_save=$.extend(!0,{},h.luckysheet_filter_save);let u=[];$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").each(function(){let d=$(this),f=d.hasClass("luckysheet-filter-options-active"),m=Bn.parseJsonParm(d.data("rowhidden")),g=Bn.parseJsonParm(d.data("caljs"));u.push({optionstate:f,rowhidden:m,caljs:g,str:d.data("str"),edr:d.data("edr"),cindex:d.data("cindex"),stc:d.data("stc"),edc:d.data("edc")})}),s.optiongroups=u,h.jfundo.length=0,h.jfredo.push(s),$("#luckysheet-filter-selected-sheet"+h.currentSheetIndex+", #luckysheet-filter-options-sheet"+h.currentSheetIndex).remove(),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide(),h.luckysheetfile[K(h.currentSheetIndex)].filter=null,h.luckysheetfile[K(h.currentSheetIndex)].filter_select=null,ne.saveParam("fsc",h.currentSheetIndex,null),h.luckysheetfile[K(h.currentSheetIndex)].config=h.config,ne.saveParam("cg",h.currentSheetIndex,{},{k:"rowhidden"}),St(h.flowdata.length,h.flowdata[0].length)}),$("#luckysheet-filter-byvalue-input").on("input propertychange",function(){let s=$(this).val().toString();$("#luckysheet-filter-byvalue-select .ListBox .luckysheet-mousedown-cancel").show(),s!=""&&$("#luckysheet-filter-byvalue-select .ListBox input[type='checkbox']").each(function(u,d){if($(d).closest(".day").length>0){let f=$(d).siblings("label").text().toString(),m=$(d).closest(".monthBox").find(".month label").text().toString();($(d).closest(".yearBox").find(".year label").text().toString()+"-"+m+"-"+f).indexOf(s)==-1&&($(d).closest(".day").hide(),$(d).closest(".dayList").find(".day:visible").length==0&&$(d).closest(".monthBox").find(".month").hide(),$(d).closest(".monthList").find(".day:visible").length==0&&$(d).closest(".yearBox").find(".year").hide())}$(d).closest(".textBox").length>0&&$(d).siblings("label").text().toString().indexOf(s)==-1&&$(d).parents(".textBox").hide()})}),$("#luckysheet-filter-cancel").click(function(){$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide()}),$("#luckysheet-filter-confirm").click(function(){let s=$("#luckysheet-filter-menu"),u=s.data("str"),d=s.data("edr"),f=s.data("cindex"),m=s.data("stc"),g=s.data("edc"),y={};$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").not($("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").eq(f-m).get(0)).each(function(){let T=$(this),A=T.data("rowhidden");if(A=="")return!0;A=JSON.parse(A.replace(/\'/g,'"'));for(let R in A)y[R]=0});let v={},k={},b={};if($("#luckysheet-filter-bycondition").next().is(":visible")&&$("#luckysheet-filter-byvalue").next().is(":hidden")&&$("#luckysheet-filter-selected span").data("value")!="null"){let T=$("#luckysheet-filter-selected span"),A=T.data("type"),R=T.data("value");if(b.value=R,b.text=T.text(),A=="0")b.type="0";else if(A=="2"){let I=$("#luckysheet-filter-menu .luckysheet-filter-selected-input2 input");b.type="2",b.value1=I.eq(0).val(),b.value2=I.eq(1).val()}else b.type="1",b.value1=$("#luckysheet-filter-menu .luckysheet-filter-selected-input").eq(0).find("input").val();for(let I=u+1;I<=d;I++){if(I in y||h.flowdata[I]==null)continue;let F=h.flowdata[I][f];if(R=="cellnull")F!=null&&!fe(F.v)&&(k[I]=0);else if(R=="cellnonull")(F==null||fe(F.v))&&(k[I]=0);else if(R=="textinclude"){let z=b.value1;(F==null||fe(F.v)||F.m.indexOf(z)==-1)&&(k[I]=0)}else if(R=="textnotinclude"){let z=b.value1;F==null||fe(F.v)||F.m.indexOf(z)>-1&&(k[I]=0)}else if(R=="textstart"){let z=b.value1,M=z.length;(F==null||fe(F.v)||F.m.substr(0,M)!=z)&&(k[I]=0)}else if(R=="textend"){let z=b.value1,M=z.length;(F==null||fe(F.v)||M>F.m.length||F.m.substr(F.m.length-M,M)!=z)&&(k[I]=0)}else if(R=="textequal"){let z=b.value1;(F==null||fe(F.v)||F.m!=z)&&(k[I]=0)}else if(R=="dateequal"){let z=it(b.value1)[2];F==null||fe(F.v)?k[I]=0:F.ct!=null&&F.ct.t=="d"?parseInt(F.v)!=z&&(k[I]=0):k[I]=0}else if(R=="datelessthan"){let z=it(b.value1)[2];F==null||fe(F.v)?k[I]=0:F.ct!=null&&F.ct.t=="d"?parseInt(F.v)>=z&&(k[I]=0):k[I]=0}else if(R=="datemorethan"){let z=it(b.value1)[2];F==null||fe(F.v)?k[I]=0:F.ct!=null&&F.ct.t=="d"?parseInt(F.v)<=z&&(k[I]=0):k[I]=0}else if(R=="morethan"){let z=parseFloat(b.value1);F==null||fe(F.v)?k[I]=0:F.ct!=null&&F.ct.t=="n"?F.v<=z&&(k[I]=0):k[I]=0}else if(R=="moreequalthan"){let z=parseFloat(b.value1);F==null||fe(F.v)?k[I]=0:F.ct!=null&&F.ct.t=="n"?F.v<z&&(k[I]=0):k[I]=0}else if(R=="lessthan"){let z=parseFloat(b.value1);F==null||fe(F.v)?k[I]=0:F.ct!=null&&F.ct.t=="n"?F.v>=z&&(k[I]=0):k[I]=0}else if(R=="lessequalthan"){let z=parseFloat(b.value1);F==null||fe(F.v)?k[I]=0:F.ct!=null&&F.ct.t=="n"?F.v>z&&(k[I]=0):k[I]=0}else if(R=="equal"){let z=parseFloat(b.value1);F==null||fe(F.v)?k[I]=0:F.ct!=null&&F.ct.t=="n"?F.v!=z&&(k[I]=0):k[I]=0}else if(R=="noequal"){let z=parseFloat(b.value1);F==null||fe(F.v)?k[I]=0:F.ct!=null&&F.ct.t=="n"?F.v==z&&(k[I]=0):k[I]=0}else if(R=="include"){let z=parseFloat(b.value1),M=parseFloat(b.value2),N,E;z<M?(N=z,E=M):(E=z,N=M),F==null||fe(F.v)?k[I]=0:F.ct!=null&&F.ct.t=="n"?(F.v<N||F.v>E)&&(k[I]=0):k[I]=0}else if(R=="noinclude"){let z=parseFloat(b.value1),M=parseFloat(b.value2),N,E;z<M?(N=z,E=M):(E=z,N=M),F==null||fe(F.v)?k[I]=0:F.ct!=null&&F.ct.t=="n"?F.v>=N&&F.v<=E&&(k[I]=0):k[I]=0}}}else{$("#luckysheet-filter-byvalue-select .ListBox input[type='checkbox']").each(function(T,A){if($(A).is(":visible")&&$(A).is(":checked"))return!0;if($(A).closest(".day").length>0){let R=$(A).siblings("label").text();Number(R)<10&&(R="0"+Number(R));let I=$(A).closest(".monthBox").find(".month label").text().replace(t.filiterMonthText,"");Number(I)<10&&(I="0"+Number(I));let F=$(A).closest(".yearBox").find(".year label").text().replace(t.filiterYearText,""),z=t.filterDateFormatTip+"#$$$#"+F+"-"+I+"-"+R;v[z]="1"}if($(A).closest(".textBox").length>0){let R=$(A).closest(".textBox").data("filter");v[R]="1"}});for(let T=u+1;T<=d;T++){if(T in y||h.flowdata[T]==null)continue;let A=h.flowdata[T][f],R;if((A==null||fe(A.v))&&(A==null?void 0:A.mc)){let{r:I,c:F}=A.mc,z=h.flowdata[I][F];R=z.v+"#$$$#"+z.m}else if(A==null||fe(A.v))R="null#$$$#null";else if(A.ct!=null&&A.ct.t=="d"){let I=_t("YYYY-MM-DD",A.v);R=t.filterDateFormatTip+"#$$$#"+I}else R=A.v+"#$$$#"+A.m;R in v&&(k[T]=0)}}let w=$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").eq(f-m),x=$("#luckysheet-filter-byvalue-select .ListBox input[type='checkbox']:visible:checked").length<$("#luckysheet-filter-byvalue-select .ListBox input[type='checkbox']:visible").length||$("#luckysheet-filter-byvalue-input").val().length>0||$("#luckysheet-filter-bycondition").next().is(":visible")&&$("#luckysheet-filter-byvalue").next().is(":hidden")&&$("#luckysheet-filter-selected span").data("value")!="null",C=$.extend(!0,y,k),S=Bn.parseJsonParm(w.data("rowhidden"));Hn(w,x,k,b,!0,u,d,f,m,g);let _=$.extend(!0,{},h.config);if(_.rowhidden=C,h.clearjfundo){let T={};T.type="datachangeAll_filter",T.sheetIndex=h.currentSheetIndex,T.config=$.extend(!0,{},h.config),T.curconfig=_,T.optionstate=x,T.optionsindex=f-m,T.rowhidden=$.extend(!0,{},k),T.rowhidenPre=$.extend(!0,{},S),b!=null&&(T.caljs=b),h.jfundo.length=0,h.jfredo.push(T)}h.config=_,h.luckysheetfile[K(h.currentSheetIndex)].config=h.config,ne.saveParam("cg",h.currentSheetIndex,_.rowhidden,{k:"rowhidden"}),St(h.flowdata.length,h.flowdata[0].length),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide(),nl()})}var wn=$e(()=>{Dt();Qt();Pt();tl();pr();Jt();Ha();Wt();ll();yt();Xe();ol();yr();Va();_l();ht();qr();Xt();ha();qa();Ml()});var Xs,Ie,jr=$e(()=>{Zl();ll();nr();Wt();_l();Dt();Rn();ht();Xe();yt();tl();El();Xs={imgItem:{type:"3",src:"",originWidth:null,originHeight:null,default:{width:null,height:null,left:null,top:null},crop:{width:null,height:null,offsetLeft:0,offsetTop:0},isFixedPos:!1,fixedLeft:null,fixedTop:null,border:{width:0,radius:0,style:"solid",color:"#000"}},images:null,currentImgId:null,currentWinW:null,currentWinH:null,resize:null,resizeXY:null,move:!1,moveXY:null,cropChange:null,cropChangeXY:null,cropChangeObj:null,copyImgItemObj:null,insertImg:function(e){let n=h.toJsonOptions&&h.toJsonOptions.uploadImage;if(typeof n=="function")n(e).then(t=>{Xs._insertImg(t)}).catch(t=>{U.info('<i class="fa fa-exclamation-triangle"></i>',"\u56FE\u7247\u4E0A\u4F20\u5931\u8D25")});else{let t=new FileReader;t.readAsDataURL(e),t.onload=function(l){let a=l.target.result;Xs._insertImg(a),$("#luckysheet-imgUpload").val("")}}},_insertImg:function(e){let n=this,t=h.luckysheet_select_save[h.luckysheet_select_save.length-1],l=t.row_focus||0,a=t.column_focus||0,o=a==0?0:h.visibledatacolumn[a-1],s=l==0?0:h.visibledatarow[l-1],u=new Image;u.onload=function(){let f=u.width,m=u.height,g={src:e,left:o,top:s,originWidth:f,originHeight:m};n.addImgItem(g)};let d=h.toJsonOptions&&h.toJsonOptions.imageUrlHandle;u.src=typeof d=="function"?d(e):e},generateRandomId:function(e){e==null&&(e="img");let n=window.navigator.userAgent.replace(/[^a-zA-Z0-9]/g,"").split(""),t="";for(let a=0;a<12;a++)t+=n[Math.round(Math.random()*(n.length-1))];let l=new Date().getTime();return e+"_"+t+"_"+l},modelHtml:function(e,n){let t=this,l=h.toJsonOptions&&h.toJsonOptions.imageUrlHandle,a=typeof l=="function"?l(n.src):n.src,o=t.getImgItemParam(n),s=o.width,u=o.height,d=o.left,f=o.top,m=o.position,g=n.border.width;return`<div id="${e}" class="luckysheet-modal-dialog luckysheet-modal-dialog-image" style="width:${s}px;height:${u}px;padding:0;position:${m};left:${d}px;top:${f}px;z-index:200;">
  2254. <div class="luckysheet-modal-dialog-content" style="width:100%;height:100%;overflow:hidden;position:relative;">
  2255. <img src="${a}" style="position:absolute;width:${n.default.width*h.zoomRatio}px;height:${n.default.height*h.zoomRatio}px;left:${-n.crop.offsetLeft*h.zoomRatio}px;top:${-n.crop.offsetTop*h.zoomRatio}px;" />
  2256. </div>
  2257. <div class="luckysheet-modal-dialog-border" style="border:${g}px ${n.border.style} ${n.border.color};border-radius:${n.border.radius*h.zoomRatio}px;position:absolute;left:${-g}px;right:${-g}px;top:${-g}px;bottom:${-g}px;"></div>
  2258. </div>`},getSliderHtml:function(){let e=Q().imageText;return`<div id="luckysheet-modal-dialog-slider-imageCtrl" class="luckysheet-modal-dialog-slider luckysheet-modal-dialog-slider-imageCtrl" style="display:block;">
  2259. <div class="luckysheet-modal-dialog-slider-title">
  2260. <span>${e.imageSetting}</span>
  2261. <span class="luckysheet-model-close-btn" title="${e.close}">
  2262. <i class="fa fa-times" aria-hidden="true"></i>
  2263. </span>
  2264. </div>
  2265. <div class="luckysheet-modal-dialog-slider-content">
  2266. <div class="slider-box">
  2267. <div class="slider-box-title">${e.conventional}</div>
  2268. <div class="slider-box-radios">
  2269. <div class="radio-item">
  2270. <input type="radio" id="imgItemType1" name="imgItemType" value="1">
  2271. <label for="imgItemType1">${e.moveCell1}</label>
  2272. </div>
  2273. <div class="radio-item">
  2274. <input type="radio" id="imgItemType2" name="imgItemType" value="2">
  2275. <label for="imgItemType2">${e.moveCell2}</label>
  2276. </div>
  2277. <div class="radio-item">
  2278. <input type="radio" id="imgItemType3" name="imgItemType" value="3">
  2279. <label for="imgItemType3">${e.moveCell3}</label>
  2280. </div>
  2281. </div>
  2282. <div class="slider-box-checkbox">
  2283. <input type="checkbox" id="imgItemIsFixedPos">
  2284. <label for="imgItemIsFixedPos">${e.fixedPos}</label>
  2285. </div>
  2286. </div>
  2287. <div class="slider-box">
  2288. <div class="slider-box-title">${e.border}</div>
  2289. <div class="slider-box-borderConfig">
  2290. <div class="border-item">
  2291. <label>${e.width}</label>
  2292. <input type="number" id="imgItemBorderWidth" min="0">
  2293. </div>
  2294. <div class="border-item">
  2295. <label>${e.radius}</label>
  2296. <input type="number" id="imgItemBorderRadius" min="0">
  2297. </div>
  2298. <div class="border-item">
  2299. <label>${e.style}</label>
  2300. <select id="imgItemBorderStyle">
  2301. <option value="solid">${e.solid}</option>
  2302. <option value="dashed">${e.dashed}</option>
  2303. <option value="dotted">${e.dotted}</option>
  2304. <option value="double">${e.double}</option>
  2305. </select>
  2306. </div>
  2307. <div class="border-item">
  2308. <label>${e.color}</label>
  2309. <div id="imgItemBorderColor" class="imgItemBorderColor">
  2310. <span></span>
  2311. </div>
  2312. </div>
  2313. </div>
  2314. </div>
  2315. </div>
  2316. </div>`},sliderHtmlShow:function(){let e=this;$("#luckysheet-modal-dialog-slider-imageCtrl").remove();let n=e.getSliderHtml();$("body").append(n),$t();let t=e.images[e.currentImgId],l=t.type;$("#luckysheet-modal-dialog-slider-imageCtrl #imgItemType"+l).prop("checked",!0);let a=t.isFixedPos;$("#luckysheet-modal-dialog-slider-imageCtrl #imgItemIsFixedPos").prop("checked",a);let o=t.border;$("#luckysheet-modal-dialog-slider-imageCtrl #imgItemBorderWidth").val(o.width),$("#luckysheet-modal-dialog-slider-imageCtrl #imgItemBorderRadius").val(o.radius),$("#luckysheet-modal-dialog-slider-imageCtrl #imgItemBorderStyle").val(o.style),$("#luckysheet-modal-dialog-slider-imageCtrl #imgItemBorderColor span").css("background-color",o.color).attr("title",o.color),e.init()},colorSelectDialog:function(e){let n=Q(),t=n.button,l=n.toolbar,a=n.imageCtrl;$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-imageCtrl-colorSelect-dialog").remove(),$("body").append(_e(ft,{id:"luckysheet-imageCtrl-colorSelect-dialog",addclass:"luckysheet-imageCtrl-colorSelect-dialog",title:a.borderTile,content:`<div class="currenColor">
  2317. ${a.borderCur}:<span title="${e}" style="background-color:${e}"></span>
  2318. </div>
  2319. <div class="colorshowbox"></div>`,botton:`<button id="luckysheet-imageCtrl-colorSelect-dialog-confirm" class="btn btn-primary">${t.confirm}</button>
  2320. <button class="btn btn-default luckysheet-model-close-btn">${t.cancel}</button>`,style:"z-index:100003"}));let o=$("#luckysheet-imageCtrl-colorSelect-dialog").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),s=o.outerHeight(),u=o.outerWidth(),d=$(window).width(),f=$(window).height(),m=$(document).scrollLeft(),g=$(document).scrollTop();$("#luckysheet-imageCtrl-colorSelect-dialog").css({left:(d+m-u)/2,top:(f+g-s)/3}).show(),$("#luckysheet-imageCtrl-colorSelect-dialog").find(".colorshowbox").spectrum({showPalette:!0,showPaletteOnly:!0,preferredFormat:"hex",clickoutFiresChange:!1,showInitial:!0,showInput:!0,flat:!0,hideAfterPaletteSelect:!0,showSelectionPalette:!0,showButtons:!1,maxPaletteSize:8,maxSelectionSize:8,color:e,cancelText:t.cancel,chooseText:l.confirmColor,togglePaletteMoreText:l.customColor,togglePaletteLessText:l.collapse,togglePaletteOnly:!0,clearText:l.clearText,noColorSelectedText:l.noColorSelectedText,localStorageKey:"spectrum.textcolor"+ne.gridKey,palette:[["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc"],["#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd"],["#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0"],["#c00","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79"],["#900","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47"],["#600","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]],move:function(y){y!=null?y=y.toHexString():y="#000",$("#luckysheet-imageCtrl-colorSelect-dialog .currenColor span").css("background-color",y).attr("title",y)}})},init:function(){let e=this;$("#luckysheet-modal-dialog-slider-imageCtrl .luckysheet-model-close-btn").click(function(){$("#luckysheet-modal-dialog-slider-imageCtrl").hide(),$t()}),$("#luckysheet-modal-dialog-slider-imageCtrl").off("change.radio").on("change.radio",".radio-item input[type=radio][name=imgItemType]",function(){e.configChange("type",this.value)}),$("#luckysheet-modal-dialog-slider-imageCtrl").off("change.checkbox").on("change.checkbox",".slider-box-checkbox input[type=checkbox]",function(){e.configChange("fixedPos",this.checked)}),$("#luckysheet-modal-dialog-slider-imageCtrl").off("change.borderWidth").on("change.borderWidth","#imgItemBorderWidth",function(){e.configChange("border-width",this.valueAsNumber)}),$("#luckysheet-modal-dialog-slider-imageCtrl").off("change.borderRadius").on("change.borderRadius","#imgItemBorderRadius",function(){e.configChange("border-radius",this.valueAsNumber)}),$("#luckysheet-modal-dialog-slider-imageCtrl").off("change.borderStyle").on("change.borderStyle","#imgItemBorderStyle",function(){e.configChange("border-style",this.value)}),$("#luckysheet-modal-dialog-slider-imageCtrl").off("click.color").on("click.color","#imgItemBorderColor",function(){let n=$(this).find("span").attr("title");e.colorSelectDialog(n)}),$(document).off("click.selectColorConfirm").on("click.selectColorConfirm","#luckysheet-imageCtrl-colorSelect-dialog-confirm",function(){let n=$(this).parents("#luckysheet-imageCtrl-colorSelect-dialog");$("#luckysheet-modal-dialog-mask").hide(),n.hide();let t=n.find(".currenColor span").attr("title");$("#luckysheet-modal-dialog-slider-imageCtrl #imgItemBorderColor span").css("background-color",t).attr("title",t),e.configChange("border-color",t)}),$("#luckysheet-image-showBoxs").off("mousedown.active").on("mousedown.active",".luckysheet-modal-dialog-image",function(n){if(!It(h.currentSheetIndex,"editObjects",!1))return;$(this).hide();let t=$(this).attr("id");e.currentImgId!=null&&e.currentImgId!=t&&e.cancelActiveImgItem(),e.currentImgId=t;let l=e.images[t],a=e.getImgItemParam(l),o=a.width,s=a.height,u=a.left,d=a.top,f=a.position;$("#luckysheet-modal-dialog-activeImage").show().css({width:o,height:s,left:u,top:d,position:f});let m=h.toJsonOptions&&h.toJsonOptions.imageUrlHandle,g=typeof m=="function"?m(l.src):l.src;$("#luckysheet-modal-dialog-activeImage .luckysheet-modal-dialog-content").css({"background-image":"url("+g+")","background-size":l.default.width*h.zoomRatio+"px "+l.default.height*h.zoomRatio+"px","background-position":-l.crop.offsetLeft*h.zoomRatio+"px "+-l.crop.offsetTop*h.zoomRatio+"px"}),$("#luckysheet-modal-dialog-activeImage .luckysheet-modal-dialog-border").css({"border-width":l.border.width*h.zoomRatio,"border-style":l.border.style,"border-color":l.border.color,"border-radius":l.border.radius*h.zoomRatio,left:-l.border.width*h.zoomRatio,right:-l.border.width*h.zoomRatio,top:-l.border.width*h.zoomRatio,bottom:-l.border.width*h.zoomRatio}),e.sliderHtmlShow(),n.stopPropagation()}),$("#luckysheet-modal-dialog-activeImage").off("mousedown.move").on("mousedown.move",".luckysheet-modal-dialog-content",function(n){if(!It(h.currentSheetIndex,"editObjects",!1))return;$("#luckysheet-modal-dialog-slider-imageCtrl").is(":visible")||e.sliderHtmlShow(),e.move=!0,e.currentWinW=$("#luckysheet-cell-main")[0].scrollWidth,e.currentWinH=$("#luckysheet-cell-main")[0].scrollHeight;let t=$("#luckysheet-modal-dialog-activeImage").offset();e.moveXY=[n.pageX-t.left,n.pageY-t.top],tn(!0),n.stopPropagation()}),$("#luckysheet-modal-dialog-activeImage").off("mousedown.resize").on("mousedown.resize",".luckysheet-modal-dialog-resize-item",function(n){if(!It(h.currentSheetIndex,"editObjects",!1))return;e.currentWinW=$("#luckysheet-cell-main")[0].scrollWidth,e.currentWinH=$("#luckysheet-cell-main")[0].scrollHeight,e.resize=$(this).data("type");let t=$("#luckysheet-cell-main").scrollTop(),l=$("#luckysheet-cell-main").scrollLeft(),a=nt(n.pageX,n.pageY),o=a[0]+l,s=a[1]+t,u=$("#luckysheet-modal-dialog-activeImage").position(),d=$("#luckysheet-modal-dialog-activeImage").width(),f=$("#luckysheet-modal-dialog-activeImage").height();e.resizeXY=[o,s,d,f,u.left+l,u.top+t,l,t],tn(!0),n.stopPropagation()}),$("#luckysheet-modal-dialog-activeImage").off("mousedown.croppingEnter").on("mousedown.croppingEnter",".luckysheet-modal-controll-crop",function(n){e.croppingEnter(),n.stopPropagation()}),$("#luckysheet-modal-dialog-cropping").off("mousedown.croppingExit").on("mousedown.croppingExit",".luckysheet-modal-controll-crop",function(n){e.croppingExit(),n.stopPropagation()}),$("#luckysheet-modal-dialog-cropping").off("mousedown.cropChange").on("mousedown.cropChange",".resize-item",function(n){e.cropChange=$(this).data("type");let t=$("#luckysheet-cell-main").scrollTop(),l=$("#luckysheet-cell-main").scrollLeft(),a=nt(n.pageX,n.pageY),o=a[0]+l,s=a[1]+t;e.cropChangeXY=[o,s],tn(!0),n.stopPropagation()}),$("#luckysheet-image-showBoxs").off("mousedown.restore").on("mousedown.restore",".luckysheet-modal-controll-restore",function(n){e.restoreImgItem(),n.stopPropagation()}),$("#luckysheet-image-showBoxs").off("mousedown.delete").on("mousedown.delete",".luckysheet-modal-controll-del",function(n){e.removeImgItem(),n.stopPropagation()})},configChange:function(e,n){let t=this,l=t.images[t.currentImgId];switch(e){case"type":l.type=n;break;case"fixedPos":l.isFixedPos=n;let a=t.getImgItemParam(l),o=a.width,s=a.height,u=a.left,d=a.top,f=a.position;$("#luckysheet-modal-dialog-activeImage").show().css({width:o,height:s,left:u,top:d,position:f});break;case"border-width":l.border.width=n,$("#luckysheet-modal-dialog-activeImage .luckysheet-modal-dialog-border").css({"border-width":n,left:-n,right:-n,top:-n,bottom:-n});break;case"border-radius":l.border.radius=n,$("#luckysheet-modal-dialog-activeImage .luckysheet-modal-dialog-border").css("border-radius",n);break;case"border-style":l.border.style=n,$("#luckysheet-modal-dialog-activeImage .luckysheet-modal-dialog-border").css("border-style",n);break;case"border-color":l.border.color=n,$("#luckysheet-modal-dialog-activeImage .luckysheet-modal-dialog-border").css("border-color",n);break}t.ref()},getImgItemParam(e){let n=e.isFixedPos,t=e.default.width*h.zoomRatio,l=e.default.height*h.zoomRatio,a=e.default.left*h.zoomRatio,o=e.default.top*h.zoomRatio;(e.crop.width!=t||e.crop.height!=l)&&(t=e.crop.width*h.zoomRatio,l=e.crop.height*h.zoomRatio,a+=e.crop.offsetLeft*h.zoomRatio,o+=e.crop.offsetTop*h.zoomRatio);let s="absolute";if(n){s="fixed",a=e.fixedLeft+e.crop.offsetLeft,o=e.fixedTop+e.crop.offsetTop;let u=h.rowHeaderWidth,d=h.infobarHeight+h.toolbarHeight+h.calculatebarHeight+h.columnHeaderHeight;a=(a-u)*h.zoomRatio+u,o=(o-d)*h.zoomRatio+d}return{width:t,height:l,left:a,top:o,position:s}},cancelActiveImgItem:function(){let e=this;$("#luckysheet-modal-dialog-activeImage").hide(),$("#luckysheet-modal-dialog-cropping").hide(),$("#luckysheet-modal-dialog-slider-imageCtrl").hide();let n=e.images[e.currentImgId],t=e.getImgItemParam(n),l=t.width,a=t.height,o=t.left,s=t.top,u=t.position;$("#"+e.currentImgId).show().css({width:l,height:a,left:o,top:s,position:u}),$("#"+e.currentImgId+" img").css({width:n.default.width*h.zoomRatio,height:n.default.height*h.zoomRatio,left:-n.crop.offsetLeft*h.zoomRatio,top:-n.crop.offsetTop*h.zoomRatio}),$("#"+e.currentImgId+" .luckysheet-modal-dialog-border").css({"border-width":n.border.width*h.zoomRatio,"border-style":n.border.style,"border-color":n.border.color,"border-radius":n.border.radius*h.zoomRatio,left:-n.border.width*h.zoomRatio,right:-n.border.width*h.zoomRatio,top:-n.border.width*h.zoomRatio,bottom:-n.border.width*h.zoomRatio}),e.currentImgId=null},addImgItem:function(e){let n=this,t,l,a=400;e.originHeight<e.originWidth?(l=Math.round(e.originHeight*(a/e.originWidth)),t=a):(t=Math.round(e.originWidth*(a/e.originHeight)),l=a),n.images==null&&(n.images={});let o=$.extend(!0,{},n.imgItem);o.src=e.src,o.originWidth=e.originWidth,o.originHeight=e.originHeight,o.default.width=t,o.default.height=l,o.default.left=e.left,o.default.top=e.top,o.crop.width=t,o.crop.height=l;let s=$("#luckysheet-cell-main").scrollTop(),u=$("#luckysheet-cell-main").scrollLeft();o.fixedLeft=e.left-u+h.rowHeaderWidth,o.fixedTop=e.top-s+h.infobarHeight+h.toolbarHeight+h.calculatebarHeight+h.columnHeaderHeight;let d=n.generateRandomId(),f=n.modelHtml(d,o);$("#luckysheet-image-showBoxs .img-list").append(f),n.images[d]=o,n.ref(),n.init()},moveImgItem:function(){let e=this;e.move=!1;let n=$("#luckysheet-modal-dialog-activeImage")[0],t=e.images[e.currentImgId];var l=h.zoomRatio;t.isFixedPos?(t.fixedLeft=(n.offsetLeft-t.crop.offsetLeft)/l,t.fixedTop=(n.offsetTop-t.crop.offsetTop)/l):(t.default.left=(n.offsetLeft-t.crop.offsetLeft)/l,t.default.top=(n.offsetTop-t.crop.offsetTop)/l),e.ref()},resizeImgItem:function(){let e=this;e.resize=null;var n=h.zoomRatio;let t=$("#luckysheet-modal-dialog-activeImage")[0],l=e.images[e.currentImgId],a=t.clientWidth/l.crop.width,o=t.clientHeight/l.crop.height;l.default.width=Math.round(l.default.width*a/n),l.default.height=Math.round(l.default.height*o/n),l.crop.width=Math.round(l.crop.width*a/n),l.crop.height=Math.round(l.crop.height*o/n),l.crop.offsetLeft=Math.round(l.crop.offsetLeft*a/n),l.crop.offsetTop=Math.round(l.crop.offsetTop*o/n),l.isFixedPos?(l.fixedLeft=t.offsetLeft/n,l.fixedTop=t.offsetTop/n):(l.default.left=(t.offsetLeft-l.crop.offsetLeft)/n,l.default.top=(t.offsetTop-l.crop.offsetTop)/n),e.ref()},croppingEnter:function(){let e=this;if(e.cropping=!0,!It(h.currentSheetIndex,"editObjects",!1))return;$("#luckysheet-modal-dialog-activeImage").hide(),$("#luckysheet-modal-dialog-slider-imageCtrl").hide();let n=e.images[e.currentImgId],t=e.getImgItemParam(n),l=t.width,a=t.height,o=t.left,s=t.top,u=t.position;$("#luckysheet-modal-dialog-cropping").show().css({width:l,height:a,left:o,top:s,position:u});let d=h.toJsonOptions&&h.toJsonOptions.imageUrlHandle,f=typeof d=="function"?d(n.src):n.src;$("#luckysheet-modal-dialog-cropping .cropping-mask").css({width:n.default.width,height:n.default.height,"background-image":"url("+f+")",left:-n.crop.offsetLeft,top:-n.crop.offsetTop}),$("#luckysheet-modal-dialog-cropping .cropping-content").css({"background-image":"url("+f+")","background-size":n.default.width+"px "+n.default.height+"px","background-position":-n.crop.offsetLeft+"px "+-n.crop.offsetTop+"px"}),$("#luckysheet-modal-dialog-cropping .luckysheet-modal-dialog-border").css({"border-width":n.border.width,"border-style":n.border.style,"border-color":n.border.color,"border-radius":n.border.radius,left:-n.border.width,right:-n.border.width,top:-n.border.width,bottom:-n.border.width})},croppingExit:function(){let e=this;e.cropping=!1,$("#luckysheet-modal-dialog-cropping").hide();let n=e.images[e.currentImgId],t=e.getImgItemParam(n),l=t.width,a=t.height,o=t.left,s=t.top,u=t.position;$("#luckysheet-modal-dialog-activeImage").show().css({width:l,height:a,left:o,top:s,position:u});let d=h.toJsonOptions&&h.toJsonOptions.imageUrlHandle,f=typeof d=="function"?d(n.src):n.src;$("#luckysheet-modal-dialog-activeImage .luckysheet-modal-dialog-content").css({"background-image":"url("+f+")","background-size":n.default.width+"px "+n.default.height+"px","background-position":-n.crop.offsetLeft+"px "+-n.crop.offsetTop+"px"})},cropChangeImgItem:function(){let e=this;e.cropChange=null;let n=e.images[e.currentImgId];n.crop.width=e.cropChangeObj.width,n.crop.height=e.cropChangeObj.height,n.crop.offsetLeft=e.cropChangeObj.offsetLeft,n.crop.offsetTop=e.cropChangeObj.offsetTop,e.ref()},restoreImgItem:function(){let e=this,n=e.images[e.currentImgId];n.default.width=n.originWidth,n.default.height=n.originHeight,n.crop.width=n.originWidth,n.crop.height=n.originHeight,n.crop.offsetLeft=0,n.crop.offsetTop=0;let t=e.getImgItemParam(n),l=t.width,a=t.height,o=t.left,s=t.top,u=t.position;$("#luckysheet-modal-dialog-activeImage").show().css({width:l,height:a,left:o,top:s,position:u});let d=h.toJsonOptions&&h.toJsonOptions.imageUrlHandle,f=typeof d=="function"?d(n.src):n.src;$("#luckysheet-modal-dialog-activeImage .luckysheet-modal-dialog-content").css({"background-image":"url("+f+")","background-size":n.default.width+"px "+n.default.height+"px","background-position":-n.crop.offsetLeft+"px "+-n.crop.offsetTop+"px"}),e.ref()},removeImgItem:function(){let e=this,n=e.images[e.currentImgId];!Ke.createHookFunction("imageDeleteBefore",n)||($("#luckysheet-modal-dialog-activeImage").hide(),$("#luckysheet-modal-dialog-cropping").hide(),$("#luckysheet-modal-dialog-slider-imageCtrl").hide(),$("#"+e.currentImgId).remove(),delete e.images[e.currentImgId],e.currentImgId=null,Ke.createHookFunction("imageDeleteAfter",n),e.ref())},copyImgItem:function(e){let n=this;n.copyImgItemObj=$.extend(!0,{},n.images[n.currentImgId]);let t=window.clipboardData;t||(t=e.originalEvent.clipboardData);let l='<table data-type="luckysheet_copy_action_image"><tr><td><td></tr></table>';if(t)return t.setData("Text",l),!1;{let a=$("#luckysheet-copy-content");a.html(l),a.focus(),a.select(),document.execCommand("selectAll"),document.execCommand("Copy"),setTimeout(function(){$("#luckysheet-copy-content").blur()},10)}},pasteImgItem:function(){let e=this;e.images==null&&(e.images={});let n=h.luckysheet_select_save[0].row_focus||0,t=h.luckysheet_select_save[0].column_focus||0,l=t==0?0:h.visibledatacolumn[t-1],a=n==0?0:h.visibledatarow[n-1],o=$.extend(!0,{},e.copyImgItemObj);o.default.left=l-o.crop.offsetLeft,o.default.top=a-o.crop.offsetTop;let s=$("#luckysheet-cell-main").scrollTop(),u=$("#luckysheet-cell-main").scrollLeft();o.fixedLeft=o.default.left-u+h.rowHeaderWidth,o.fixedTop=o.default.top-s+h.infobarHeight+h.toolbarHeight+h.calculatebarHeight+h.columnHeaderHeight;let d=e.generateRandomId(),f=e.modelHtml(d,o);$("#luckysheet-image-showBoxs .img-list").append(f),e.images[d]=o,e.ref(),e.init()},allImagesShow:function(){let e=this;if($("#luckysheet-modal-dialog-activeImage").hide(),$("#luckysheet-modal-dialog-cropping").hide(),$("#luckysheet-modal-dialog-slider-imageCtrl").hide(),$("#luckysheet-image-showBoxs .img-list").empty(),e.images!=null)for(let n in e.images){let t=e.images[n],l=e.modelHtml(n,t);$("#luckysheet-image-showBoxs .img-list").append(l)}},moveChangeSize:function(e,n,t){let l=this,a=$.extend(!0,{},l.images);if(e=="row"){let o=h.visibledatarow[n],s=n-1==-1?0:h.visibledatarow[n-1],u=t-(o-s-1);for(let d in a){let f=a[d],m=l.getImgItemParam(f),g=f.type;if(g=="1"){if(m.top>=o)f.default.top=m.top+u-f.crop.offsetTop;else if(m.top+m.height>=o-2)if(m.top<o+u){let y=(m.height+u)/m.height;f.default.height=Math.round(f.default.height*y),f.crop.height=Math.round(f.crop.height*y),f.crop.offsetTop=Math.round(f.crop.offsetTop*y)}else{let y=(m.top+m.height-o)/m.height;f.default.height=Math.round(f.default.height*y),f.crop.height=Math.round(f.crop.height*y),f.crop.offsetTop=Math.round(f.crop.offsetTop*y),f.default.top=o+u-f.crop.offsetTop}else if(m.top>o+u){let y=1/m.height;f.default.height=Math.round(f.default.height*y),f.crop.height=Math.round(f.crop.height*y),f.crop.offsetTop=Math.round(f.crop.offsetTop*y),f.default.top=o+u-f.crop.offsetTop}else if(m.top+m.height>o+u){let y=(o+u-m.top)/m.height;f.default.height=Math.round(f.default.height*y),f.crop.height=Math.round(f.crop.height*y),f.crop.offsetTop=Math.round(f.crop.offsetTop*y)}}else g=="2"&&(m.top>=o?f.default.top=m.top+u-f.crop.offsetTop:m.top>o+u&&(f.default.top=o+u-f.crop.offsetTop))}}else if(e=="column"){let o=h.visibledatacolumn[n],s=n-1==-1?0:h.visibledatacolumn[n-1],u=t-(o-s-1);for(let d in a){let f=a[d],m=l.getImgItemParam(f),g=f.type;if(g=="1"){if(m.left>=o)f.default.left=m.left+u-f.crop.offsetLeft;else if(m.left+m.width>=o-2)if(m.left<o+u){let y=(m.width+u)/m.width;f.default.width=Math.round(f.default.width*y),f.crop.width=Math.round(f.crop.width*y),f.crop.offsetLeft=Math.round(f.crop.offsetLeft*y)}else{let y=(m.left+m.width-o)/m.width;f.default.width=Math.round(f.default.width*y),f.crop.width=Math.round(f.crop.width*y),f.crop.offsetLeft=Math.round(f.crop.offsetLeft*y),f.default.left=o+u-f.crop.offsetLeft}else if(m.left>o+u){let y=1/m.width;f.default.width=Math.round(f.default.width*y),f.crop.width=Math.round(f.crop.width*y),f.crop.offsetLeft=Math.round(f.crop.offsetLeft*y),f.default.left=o+u-f.crop.offsetLeft}else if(m.left+m.width>o+u){let y=(o+u-m.left)/m.width;f.default.width=Math.round(f.default.width*y),f.crop.width=Math.round(f.crop.width*y),f.crop.offsetLeft=Math.round(f.crop.offsetLeft*y)}}else g=="2"&&(m.left>=o?f.default.left=m.left+u-f.crop.offsetLeft:m.left>o+u&&(f.default.left=o+u-f.crop.offsetLeft))}}return a},ref:function(){let e=this,n=h.luckysheetfile[K(h.currentSheetIndex)],t=e.images;h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"imageCtrl",sheetIndex:h.currentSheetIndex,images:n.images==null?null:$.extend(!0,{},n.images),curImages:t})),n.images=$.extend(!0,{},t),ne.saveParam("all",h.currentSheetIndex,n.images,{k:"images"})}},Ie=Xs});function f2(e){var n=/^(^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$)|(^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[Xx])$)$/;if(n.test(e)){if(e.length==18){for(var t=new Array(7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2),l=new Array(1,0,10,9,8,7,6,5,4,3,2),a=0,o=0;o<17;o++)a+=e.substring(o,o+1)*t[o];var s=a%11,u=e.substring(17);return s==2?u=="X"||u=="x":u==l[s]}}else return!1}var d2,Ye,vr=$e(()=>{ht();qt();Pt();Br();Xt();tl();gr();Zt();Qt();Wt();Jt();ll();ol();gl();Dt();yt();Xe();d2={defaultItem:{type:"dropdown",type2:null,value1:"",value2:"",checked:!1,remote:!1,prohibitInput:!1,hintShow:!1,hintText:""},curItem:null,dataVerification:null,selectRange:[],selectStatus:!1,optionLabel:{number:"\u6570\u503C",number_integer:"\u6574\u6570",number_decimal:"\u5C0F\u6570",bw:"\u4ECB\u4E8E",nb:"\u4E0D\u4ECB\u4E8E",eq:"\u7B49\u4E8E",ne:"\u4E0D\u7B49\u4E8E",gt:"\u5927\u4E8E",lt:"\u5C0F\u4E8E",gte:"\u5927\u4E8E\u7B49\u4E8E",lte:"\u5C0F\u4E8E\u7B49\u4E8E",include:"\u5305\u62EC",exclude:"\u4E0D\u5305\u62EC",equal:"\u7B49\u4E8E",bf:"\u65E9\u4E8E",nbf:"\u4E0D\u65E9\u4E8E",af:"\u665A\u4E8E",naf:"\u4E0D\u665A\u4E8E",card:"\u8EAB\u4EFD\u8BC1\u53F7\u7801",phone:"\u624B\u673A\u53F7"},optionLabel_en:{number:"numeric",number_integer:"integer",number_decimal:"decimal",bw:"between",nb:"not between",eq:"equal to",ne:"not equal to",gt:"greater",lt:"less than",gte:"greater or equal to",lte:"less than or equal to",include:"include",exclude:"not include",equal:"equal to",bf:"earlier than",nbf:"not earlier than",af:"later than",naf:"not later than",card:"identification number",phone:"phone number"},createDialog:function(){let e=this,n=Q(),t=n.dataVerification,l=n.toolbar,a=n.button;$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-dataVerification-dialog").remove();let o=`<div class="box">
  2321. <div class="box-item" style="border-top:1px solid #E1E4E8;">
  2322. <div class="box-item-title">${t.cellRange}</div>
  2323. <div id="data-verification-range" class="range">
  2324. <input class="formulaInputFocus" spellcheck="false">
  2325. <i class="fa fa-table" aria-hidden="true" title="${t.selectCellRange}"></i>
  2326. </div>
  2327. </div>
  2328. <div class="box-item">
  2329. <div class="box-item-title">${t.verificationCondition}</div>
  2330. <select id="data-verification-type-select">
  2331. <option value="dropdown">${t.dropdown}</option>
  2332. <option value="checkbox">${t.checkbox}</option>
  2333. <option value="number">${t.number}</option>
  2334. <option value="number_integer">${t.number_integer}</option>
  2335. <option value="number_decimal">${t.number_decimal}</option>
  2336. <option value="text_content">${t.text_content}</option>
  2337. <option value="text_length">${t.text_length}</option>
  2338. <option value="date">${t.date}</option>
  2339. <option value="validity">${t.validity}</option>
  2340. </select>
  2341. <div class="show-box">
  2342. <div class="show-box-item show-box-item-dropdown">
  2343. <div class="range">
  2344. <input class="formulaInputFocus data-verification-value1" placeholder="${t.placeholder1}" spellcheck="false">
  2345. <i class="fa fa-table" aria-hidden="true" title="${t.selectCellRange}"></i>
  2346. </div>
  2347. <div class="multi">
  2348. <input type="checkbox" id="data-verification-multi" class="data-verification-multi">
  2349. <label for="data-verification-multi">${t.allowMultiSelect}</label>
  2350. </div>
  2351. </div>
  2352. <div class="show-box-item show-box-item-checkbox">
  2353. <div class="check-box">
  2354. <span>${t.selected} \u2014\u2014</span>
  2355. <input type="text" class="data-verification-value1" placeholder="${t.placeholder2}">
  2356. </div>
  2357. <div class="check-box">
  2358. <span>${t.notSelected} \u2014\u2014</span>
  2359. <input type="text" class="data-verification-value2" placeholder="${t.placeholder2}">
  2360. </div>
  2361. </div>
  2362. <div class="show-box-item show-box-item-number">
  2363. <select id="data-verification-number-select">
  2364. <option value="bw">${t.between}</option>
  2365. <option value="nb">${t.notBetween}</option>
  2366. <option value="eq">${t.equal}</option>
  2367. <option value="ne">${t.notEqualTo}</option>
  2368. <option value="gt">${t.moreThanThe}</option>
  2369. <option value="lt">${t.lessThan}</option>
  2370. <option value="gte">${t.greaterOrEqualTo}</option>
  2371. <option value="lte">${t.lessThanOrEqualTo}</option>
  2372. </select>
  2373. <div class="input input1">
  2374. <input type="number" class="data-verification-value1" placeholder="1">
  2375. <span>-</span>
  2376. <input type="number" class="data-verification-value2" placeholder="100">
  2377. </div>
  2378. <div class="input input2">
  2379. <input type="number" class="data-verification-value1" placeholder="${t.placeholder3}">
  2380. </div>
  2381. </div>
  2382. <div class="show-box-item show-box-item-text">
  2383. <select id="data-verification-text-select">
  2384. <option value="include">${t.include}</option>
  2385. <option value="exclude">${t.exclude}</option>
  2386. <option value="equal">${t.equal}</option>
  2387. </select>
  2388. <div class="input input2">
  2389. <input type="text" class="data-verification-value1" placeholder="${t.placeholder4}"/>
  2390. </div>
  2391. </div>
  2392. <div class="show-box-item show-box-item-textLength">
  2393. <select id="data-verification-textLength-select">
  2394. <option value="bw">${t.between}</option>
  2395. <option value="nb">${t.notBetween}</option>
  2396. <option value="eq">${t.equal}</option>
  2397. <option value="ne">${t.notEqualTo}</option>
  2398. <option value="gt">${t.moreThanThe}</option>
  2399. <option value="lt">${t.lessThan}</option>
  2400. <option value="gte">${t.greaterOrEqualTo}</option>
  2401. <option value="lte">${t.lessThanOrEqualTo}</option>
  2402. </select>
  2403. <div class="input input1">
  2404. <input type="number" class="data-verification-value1" placeholder="1">
  2405. <span>-</span>
  2406. <input type="number" class="data-verification-value2" placeholder="100">
  2407. </div>
  2408. <div class="input input2">
  2409. <input type="number" class="data-verification-value1" placeholder="${t.placeholder3}">
  2410. </div>
  2411. </div>
  2412. <div class="show-box-item show-box-item-date">
  2413. <select id="data-verification-date-select">
  2414. <option value="bw">${t.between}</option>
  2415. <option value="nb">${t.notBetween}</option>
  2416. <option value="eq">${t.equal}</option>
  2417. <option value="ne">${t.notEqualTo}</option>
  2418. <option value="bf">${t.earlierThan}</option>
  2419. <option value="nbf">${t.noEarlierThan}</option>
  2420. <option value="af">${t.laterThan}</option>
  2421. <option value="naf">${t.noLaterThan}</option>
  2422. </select>
  2423. <div class="input input1">
  2424. <input type="date" class="data-verification-value1" placeholder="2020/9/10">
  2425. <span>-</span>
  2426. <input type="date" class="data-verification-value2" placeholder="2020/9/10">
  2427. </div>
  2428. <div class="input input2">
  2429. <input type="date" class="data-verification-value1" placeholder="2020/9/10">
  2430. </div>
  2431. </div>
  2432. <div class="show-box-item show-box-item-validity">
  2433. <select id="data-verification-validity-select">
  2434. <option value="card">${t.identificationNumber}</option>
  2435. <option value="phone">${t.phoneNumber}</option>
  2436. </select>
  2437. </div>
  2438. </div>
  2439. </div>
  2440. <div class="box-item">
  2441. <div class="check">
  2442. <input type="checkbox" id="data-verification-remote" class="data-verification-remote">
  2443. <label for="data-verification-remote">${t.remote}</label>
  2444. </div>
  2445. <div class="check">
  2446. <input type="checkbox" id="data-verification-prohibitInput">
  2447. <label for="data-verification-prohibitInput">${t.prohibitInput}</label>
  2448. </div>
  2449. <div class="check">
  2450. <input type="checkbox" id="data-verification-hint-show">
  2451. <label for="data-verification-hint-show">${t.hintShow}</label>
  2452. </div>
  2453. <div class="data-verification-hint-text">
  2454. <input type="text" placeholder="${t.placeholder5}">
  2455. </div>
  2456. </div>
  2457. </div>`;$("body").append(_e(ft,{id:"luckysheet-dataVerification-dialog",addclass:"luckysheet-dataVerification-dialog",title:l.dataVerification,content:o,botton:`<button id="luckysheet-dataVerification-dialog-confirm" class="btn btn-primary">${a.confirm}</button>
  2458. <button id="luckysheet-dataVerification-dialog-delete" class="btn btn-default">${t.deleteVerification}</button>
  2459. <button class="btn btn-default luckysheet-model-close-btn">${a.cancel}</button>`,style:"z-index:100003"}));let s=$("#luckysheet-dataVerification-dialog").find(".luckysheet-modal-dialog-content").css("min-width",350).end(),u=s.outerHeight(),d=s.outerWidth(),f=$(window).width(),m=$(window).height(),g=$(document).scrollLeft(),y=$(document).scrollTop();$("#luckysheet-dataVerification-dialog").css({left:(f+g-d)/2,top:(m+y-u)/3}).show(),e.dataAllocation()},init:function(){let e=this,n=Q().dataVerification;$(document).off("click.dropdownBtn").on("click.dropdownBtn","#luckysheet-dataVerification-dropdown-btn",function(t){e.dropdownListShow(),t.stopPropagation()}),$(document).off("click.dropdownListItem").on("click.dropdownListItem","#luckysheet-dataVerification-dropdown-List .dropdown-List-item",function(t){var l=$(this);let a=t.target.innerText;l.hasClass("multi")?(l.toggleClass("checked"),a=$.map($("#luckysheet-dataVerification-dropdown-List").children().filter(".checked"),function(d){return d.innerText}).join(",")):$("#luckysheet-dataVerification-dropdown-List").hide();let o=h.luckysheet_select_save[h.luckysheet_select_save.length-1],s=o.row_focus,u=o.column_focus;$("#luckysheet-rich-text-editor").text(a),p.updatecell(s,u),t.stopPropagation()}),$(document).off("click.dvRange").on("click.dvRange","#data-verification-range .fa-table",function(t){$("#luckysheet-dataVerification-dialog").hide();let l="0",a=$(this).siblings("input").val().trim();e.rangeDialog(l,a),e.selectRange=[];let o=e.getRangeByTxt(a);if(p.rangetosheet=h.currentSheetIndex,o[0].sheetIndex!=h.currentSheetIndex&&ve.changeSheetExec(o[0].sheetIndex),o.length>0)for(let s=0;s<o.length;s++){let u=o[s].row[0],d=o[s].row[1],f=o[s].column[0],m=o[s].column[1],g=h.visibledatarow[d],y=u-1==-1?0:h.visibledatarow[u-1],v=h.visibledatacolumn[m],k=f-1==-1?0:h.visibledatacolumn[f-1];e.selectRange.push({left:k,width:v-k-1,top:y,height:g-y-1,left_move:k,width_move:v-k-1,top_move:y,height_move:g-y-1,row:[u,d],column:[f,m],row_focus:u,column_focus:f})}Bt(e.selectRange)}),$(document).off("click.dvRange2").on("click.dvRange2","#luckysheet-dataVerification-dialog .show-box-item-dropdown .range .fa-table",function(t){$("#luckysheet-dataVerification-dialog").hide();let l="1",a=$(this).siblings("input").val().trim();e.rangeDialog(l,a),e.selectRange=[];let o=e.getRangeByTxt(a);if(p.rangetosheet=h.currentSheetIndex,o[0].sheetIndex!=h.currentSheetIndex&&ve.changeSheetExec(o[0].sheetIndex),o.length>0)for(let s=0;s<o.length;s++){let u=o[s].row[0],d=o[s].row[1],f=o[s].column[0],m=o[s].column[1],g=h.visibledatarow[d],y=u-1==-1?0:h.visibledatarow[u-1],v=h.visibledatacolumn[m],k=f-1==-1?0:h.visibledatacolumn[f-1];e.selectRange.push({left:k,width:v-k-1,top:y,height:g-y-1,left_move:k,width_move:v-k-1,top_move:y,height_move:g-y-1,row:[u,d],column:[f,m],row_focus:u,column_focus:f})}Bt(e.selectRange)}),$(document).off("click.dvRangeConfirm").on("click.dvRangeConfirm","#luckysheet-dataVerificationRange-dialog-confirm",function(t){let l=$(this).attr("data-source"),a=$(this).parents("#luckysheet-dataVerificationRange-dialog").find("input").val();if(e.getRangeByTxt(a).length>1){U.info('<i class="fa fa-exclamation-triangle"></i>',"\u4E0D\u80FD\u5BF9\u591A\u91CD\u9009\u62E9\u533A\u57DF\u6267\u884C\u6B64\u64CD\u4F5C\uFF0C\u8BF7\u9009\u62E9\u5355\u4E2A\u533A\u57DF\uFF0C\u7136\u540E\u518D\u8BD5");return}l=="0"?$("#luckysheet-dataVerification-dialog #data-verification-range input").val(a):l=="1"&&$("#luckysheet-dataVerification-dialog .show-box-item-dropdown .range input").val(a),$("#luckysheet-dataVerificationRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-dataVerification-dialog").show(),p.rangetosheet!=null&&p.rangetosheet!=h.currentSheetIndex&&(ve.changeSheetExec(p.rangetosheet),p.rangetosheet=null),Bt([])}),$(document).off("click.dvRangeClose").on("click.dvRangeClose","#luckysheet-dataVerificationRange-dialog-close",function(t){$("#luckysheet-dataVerificationRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-dataVerification-dialog").show(),p.rangetosheet!=null&&p.rangetosheet!=h.currentSheetIndex&&(ve.changeSheetExec(p.rangetosheet),p.rangetosheet=null),Bt([])}),$(document).on("click","#luckysheet-dataVerificationRange-dialog .luckysheet-modal-dialog-title-close",function(t){$("#luckysheet-dataVerificationRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-dataVerification-dialog").show(),p.rangetosheet!=null&&p.rangetosheet!=h.currentSheetIndex&&(ve.changeSheetExec(p.rangetosheet),p.rangetosheet=null),Bt([])}),$(document).off("change.typeSelect").on("change.typeSelect","#data-verification-type-select",function(t){$("#luckysheet-dataVerification-dialog .show-box .show-box-item").hide();let l=this.value,a=e.curItem;if(l=="dropdown"){$("#luckysheet-dataVerification-dialog .show-box .show-box-item-dropdown").show();let o="";l==a.type&&(o=a.value1),$("#luckysheet-dataVerification-dialog .show-box-item-dropdown .data-verification-value1").val(o),$("#luckysheet-dataVerification-dialog #data-verification-multi").prop("checked",!!a.type2)}else if(l=="checkbox"){$("#luckysheet-dataVerification-dialog .show-box .show-box-item-checkbox").show();let o="",s="";l==a.type&&(o=a.value1,s=a.value2),$("#luckysheet-dataVerification-dialog .show-box-item-checkbox .data-verification-value1").val(o),$("#luckysheet-dataVerification-dialog .show-box-item-checkbox .data-verification-value2").val(s)}else if(l=="number"||l=="number_integer"||l=="number_decimal"){$("#luckysheet-dataVerification-dialog .show-box-item-number").show(),$("#luckysheet-dataVerification-dialog .show-box-item-number .input").hide();let o="bw",s="",u="";(a.type=="number"||a.type=="number_integer"||a.type=="number_decimal")&&(o=a.type2,s=a.value1,u=a.value2),$("#luckysheet-dataVerification-dialog #data-verification-number-select").val(o),o=="bw"||o=="nb"?$("#luckysheet-dataVerification-dialog .show-box-item-number .input1").show():$("#luckysheet-dataVerification-dialog .show-box-item-number .input2").show(),$("#luckysheet-dataVerification-dialog .show-box-item-number .data-verification-value1").val(s),$("#luckysheet-dataVerification-dialog .show-box-item-number .data-verification-value2").val(u)}else if(l=="text_content"){$("#luckysheet-dataVerification-dialog .show-box-item-text").show();let o="include",s="";l==a.type&&(o=a.type2,s=a.value1),$("#luckysheet-dataVerification-dialog #data-verification-text-select").val(o),$("#luckysheet-dataVerification-dialog .show-box-item-text .data-verification-value1").val(s)}else if(l=="text_length"){$("#luckysheet-dataVerification-dialog .show-box-item-textLength").show(),$("#luckysheet-dataVerification-dialog .show-box-item-textLength .input").hide();let o="bw",s="",u="";l==a.type&&(o=a.type2,s=a.value1,u=a.value2),$("#luckysheet-dataVerification-dialog #data-verification-textLength-select").val(o),o=="bw"||o=="nb"?$("#luckysheet-dataVerification-dialog .show-box-item-textLength .input1").show():$("#luckysheet-dataVerification-dialog .show-box-item-textLength .input2").show(),$("#luckysheet-dataVerification-dialog .show-box-item-textLength .data-verification-value1").val(s),$("#luckysheet-dataVerification-dialog .show-box-item-textLength .data-verification-value2").val(u)}else if(l=="date"){$("#luckysheet-dataVerification-dialog .show-box-item-date").show(),$("#luckysheet-dataVerification-dialog .show-box-item-date .input").hide();let o="bw",s="",u="";l==a.type&&(o=a.type2,s=a.value1,u=a.value2),$("#luckysheet-dataVerification-dialog #data-verification-date-select").val(o),o=="bw"||o=="nb"?$("#luckysheet-dataVerification-dialog .show-box-item-date .input1").show():$("#luckysheet-dataVerification-dialog .show-box-item-date .input2").show(),$("#luckysheet-dataVerification-dialog .show-box-item-date .data-verification-value1").val(s),$("#luckysheet-dataVerification-dialog .show-box-item-date .data-verification-value2").val(u)}else if(l=="validity"){$("#luckysheet-dataVerification-dialog .show-box .show-box-item-validity").show();let o="card";l==a.type&&(o=a.type2),$("#luckysheet-dataVerification-dialog #data-verification-validity-select").val(o)}}),$(document).off("change.numberSelect").on("change.numberSelect","#data-verification-number-select",function(t){$("#luckysheet-dataVerification-dialog .show-box-item-number .input").hide();let l=this.value;l=="bw"||l=="nb"?$("#luckysheet-dataVerification-dialog .show-box-item-number .input1").show():$("#luckysheet-dataVerification-dialog .show-box-item-number .input2").show()}),$(document).off("change.textLengthSelect").on("change.textLengthSelect","#data-verification-textLength-select",function(t){$("#luckysheet-dataVerification-dialog .show-box-item-textLength .input").hide();let l=this.value;l=="bw"||l=="nb"?$("#luckysheet-dataVerification-dialog .show-box-item-textLength .input1").show():$("#luckysheet-dataVerification-dialog .show-box-item-textLength .input2").show()}),$(document).off("change.dateSelect").on("change.dateSelect","#data-verification-date-select",function(t){$("#luckysheet-dataVerification-dialog .show-box-item-date .input").hide();let l=this.value;l=="bw"||l=="nb"?$("#luckysheet-dataVerification-dialog .show-box-item-date .input1").show():$("#luckysheet-dataVerification-dialog .show-box-item-date .input2").show()}),$(document).off("change.hintShow").on("change.hintShow","#data-verification-hint-show",function(t){this.checked?$("#luckysheet-dataVerification-dialog .data-verification-hint-text").show():$("#luckysheet-dataVerification-dialog .data-verification-hint-text").hide()}),$(document).off("click.dvSaveConfirm").on("click.dvSaveConfirm","#luckysheet-dataVerification-dialog-confirm",function(t){let l=$("#luckysheet-dataVerification-dialog #data-verification-range input").val().trim(),a=e.getRangeByTxt(l);if(a.length==0){U.info('<i class="fa fa-exclamation-triangle"></i>',n.selectCellRange2);return}let o=a[a.length-1].row[0],s=a[a.length-1].row[1],u=a[a.length-1].column[0],d=a[a.length-1].column[1],f=we.deepCopyFlowData(h.flowdata);o<0&&(o=0),s>f.length-1&&(s=f.length-1),u<0&&(u=0),d>f[0].length-1&&(d=f[0].length-1);let m=$("#luckysheet-dataVerification-dialog #data-verification-type-select").val(),g=null,y="",v="";if(m=="dropdown"){if(y=$("#luckysheet-dataVerification-dialog .show-box-item-dropdown .data-verification-value1").val().trim(),y.length==0){U.info('<i class="fa fa-exclamation-triangle"></i>',n.tooltipInfo1);return}g=$("#luckysheet-dataVerification-dialog #data-verification-multi").is(":checked")}else if(m=="checkbox"){if(y=$("#luckysheet-dataVerification-dialog .show-box-item-checkbox .data-verification-value1").val().trim(),v=$("#luckysheet-dataVerification-dialog .show-box-item-checkbox .data-verification-value2").val().trim(),y.length==0||v.length==0){U.info('<i class="fa fa-exclamation-triangle"></i>',n.tooltipInfo2);return}}else if(m=="number"||m=="number_integer"||m=="number_decimal"){if(g=$("#luckysheet-dataVerification-dialog #data-verification-number-select").val(),y=$("#luckysheet-dataVerification-dialog .show-box-item-number .input:visible .data-verification-value1").val().trim(),!B(y)){U.info('<i class="fa fa-exclamation-triangle"></i>',n.tooltipInfo3);return}if(g=="bw"||g=="nb"){if(v=$("#luckysheet-dataVerification-dialog .show-box-item-number .input:visible .data-verification-value2").val().trim(),!B(v)){U.info('<i class="fa fa-exclamation-triangle"></i>',n.tooltipInfo3);return}if(Number(v)<Number(y)){U.info('<i class="fa fa-exclamation-triangle"></i>',n.tooltipInfo4);return}}}else if(m=="text_content"){if(g=$("#luckysheet-dataVerification-dialog #data-verification-text-select").val(),y=$("#luckysheet-dataVerification-dialog .show-box-item-text .data-verification-value1").val().trim(),y.length==0){U.info('<i class="fa fa-exclamation-triangle"></i>',n.tooltipInfo5);return}}else if(m=="text_length"){if(g=$("#luckysheet-dataVerification-dialog #data-verification-textLength-select").val(),y=$("#luckysheet-dataVerification-dialog .show-box-item-textLength .input:visible .data-verification-value1").val().trim(),!B(y)){U.info('<i class="fa fa-exclamation-triangle"></i>',n.tooltipInfo3);return}if(!Number.isInteger(Number(y))||Number(y)<0){U.info('<i class="fa fa-exclamation-triangle"></i>',n.textlengthInteger);return}if(g=="bw"||g=="nb"){if(v=$("#luckysheet-dataVerification-dialog .show-box-item-textLength .input:visible .data-verification-value2").val().trim(),!B(v)){U.info('<i class="fa fa-exclamation-triangle"></i>',n.tooltipInfo3);return}if(!Number.isInteger(Number(v))||Number(v)<0){U.info('<i class="fa fa-exclamation-triangle"></i>',n.textlengthInteger);return}if(Number(v)<Number(y)){U.info('<i class="fa fa-exclamation-triangle"></i>',n.tooltipInfo4);return}}}else if(m=="date"){if(g=$("#luckysheet-dataVerification-dialog #data-verification-date-select").val(),y=$("#luckysheet-dataVerification-dialog .show-box-item-date .input:visible .data-verification-value1").val().trim(),!Ot(y)){U.info('<i class="fa fa-exclamation-triangle"></i>',n.tooltipInfo6);return}if(g=="bw"||g=="nb"){if(v=$("#luckysheet-dataVerification-dialog .show-box-item-date .input:visible .data-verification-value2").val().trim(),!Ot(v)){U.info('<i class="fa fa-exclamation-triangle"></i>',n.tooltipInfo6);return}if(ul(y,v)>0){U.info('<i class="fa fa-exclamation-triangle"></i>',n.tooltipInfo7);return}}}else m=="validity"&&(g=$("#luckysheet-dataVerification-dialog #data-verification-validity-select").val());let k=$("#luckysheet-dataVerification-dialog #data-verification-remote").is(":checked"),b=$("#luckysheet-dataVerification-dialog #data-verification-prohibitInput").is(":checked"),w=$("#luckysheet-dataVerification-dialog #data-verification-hint-show").is(":checked"),x="";w&&(x=$("#luckysheet-dataVerification-dialog .data-verification-hint-text input").val().trim());let C={type:m,type2:g,value1:y,value2:v,checked:!1,remote:k,prohibitInput:b,hintShow:w,hintText:x},S=$.extend(!0,{},e.dataVerification),_=$.extend(!0,{},e.dataVerification);for(let T=o;T<=s;T++)for(let A=u;A<=d;A++)_[T+"_"+A]=C,m=="checkbox"&&Ft(T,A,f,C.value2);m=="checkbox"?e.refOfCheckbox(S,_,h.currentSheetIndex,f,a[a.length-1]):e.ref(S,_,h.currentSheetIndex),$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-dataVerification-dialog").hide()}),$(document).off("click.delete").on("click.delete","#luckysheet-dataVerification-dialog-delete",function(t){let l=$("#luckysheet-dataVerification-dialog #data-verification-range input").val().trim(),a=e.getRangeByTxt(l);if(a.length==0){U.info('<i class="fa fa-exclamation-triangle"></i>',n.selectCellRange2);return}let o=$.extend(!0,{},e.dataVerification),s=$.extend(!0,{},e.dataVerification),u=a[a.length-1].row[0],d=a[a.length-1].row[1],f=a[a.length-1].column[0],m=a[a.length-1].column[1];for(let g=u;g<=d;g++)for(let y=f;y<=m;y++)delete s[g+"_"+y];e.ref(o,s,h.currentSheetIndex),$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-dataVerification-dialog").hide()}),$(document).on("click","#luckysheet-info .luckysheet-modal-dialog-title-close, #luckysheet-info .luckysheet-model-close-btn",function(t){$(this).parents("#luckysheet-info").hide(),$("#luckysheet-dataVerification-dialog").is(":visible")&&$("#luckysheet-modal-dialog-mask").show(),t.stopPropagation()})},dataAllocation:function(){let e=this,n=h.luckysheet_select_save[h.luckysheet_select_save.length-1],t=wt(h.currentSheetIndex,n,h.currentSheetIndex);$("#luckysheet-dataVerification-dialog #data-verification-range input").val(t);let l=n.row_focus||n.row[0],a=n.column_focus||n.column[0],s=$.extend(!0,{},e.dataVerification)[l+"_"+a];s==null&&(s=$.extend(!0,{},e.defaultItem)),e.curItem=s,$("#luckysheet-dataVerification-dialog #data-verification-type-select").val(s.type),$("#luckysheet-dataVerification-dialog .show-box .show-box-item").hide(),s.type=="dropdown"?($("#luckysheet-dataVerification-dialog .show-box .show-box-item-dropdown").show(),$("#luckysheet-dataVerification-dialog .show-box-item-dropdown .data-verification-value1").val(s.value1),$("#luckysheet-dataVerification-dialog #data-verification-multi").prop("checked",!!s.type2)):s.type=="checkbox"?($("#luckysheet-dataVerification-dialog .show-box .show-box-item-checkbox").show(),$("#luckysheet-dataVerification-dialog .show-box-item-checkbox .data-verification-value1").val(s.value1),$("#luckysheet-dataVerification-dialog .show-box-item-checkbox .data-verification-value2").val(s.value2)):s.type=="number"||s.type=="number_integer"||s.type=="number_decimal"?($("#luckysheet-dataVerification-dialog .show-box-item-number").show(),$("#luckysheet-dataVerification-dialog #data-verification-number-select").val(s.type2),$("#luckysheet-dataVerification-dialog .show-box-item-number .input").hide(),s.type2=="bw"||s.type2=="nb"?$("#luckysheet-dataVerification-dialog .show-box-item-number .input1").show():$("#luckysheet-dataVerification-dialog .show-box-item-number .input2").show(),$("#luckysheet-dataVerification-dialog .show-box-item-number .data-verification-value1").val(s.value1),$("#luckysheet-dataVerification-dialog .show-box-item-number .data-verification-value2").val(s.value2)):s.type=="text_content"?($("#luckysheet-dataVerification-dialog .show-box-item-text").show(),$("#luckysheet-dataVerification-dialog #data-verification-text-select").val(s.type2),$("#luckysheet-dataVerification-dialog .show-box-item-text .data-verification-value1").val(s.value1)):s.type=="text_length"?($("#luckysheet-dataVerification-dialog .show-box-item-textLength").show(),$("#luckysheet-dataVerification-dialog #data-verification-textLength-select").val(s.type2),$("#luckysheet-dataVerification-dialog .show-box-item-textLength .input").hide(),s.type2=="bw"||s.type2=="nb"?$("#luckysheet-dataVerification-dialog .show-box-item-textLength .input1").show():$("#luckysheet-dataVerification-dialog .show-box-item-textLength .input2").show(),$("#luckysheet-dataVerification-dialog .show-box-item-textLength .data-verification-value1").val(s.value1),$("#luckysheet-dataVerification-dialog .show-box-item-textLength .data-verification-value2").val(s.value2)):s.type=="date"?($("#luckysheet-dataVerification-dialog .show-box-item-date").show(),$("#luckysheet-dataVerification-dialog #data-verification-date-select").val(s.type2),$("#luckysheet-dataVerification-dialog .show-box-item-date .input").hide(),s.type2=="bw"||s.type2=="nb"?$("#luckysheet-dataVerification-dialog .show-box-item-date .input1").show():$("#luckysheet-dataVerification-dialog .show-box-item-date .input2").show(),$("#luckysheet-dataVerification-dialog .show-box-item-date .data-verification-value1").val(s.value1),$("#luckysheet-dataVerification-dialog .show-box-item-date .data-verification-value2").val(s.value2)):s.type=="validity"&&($("#luckysheet-dataVerification-dialog .show-box .show-box-item-validity").show(),$("#luckysheet-dataVerification-dialog #data-verification-validity-select").val(s.type2)),$("#luckysheet-dataVerification-dialog #data-verification-remote").prop("checked",s.remote),$("#luckysheet-dataVerification-dialog #data-verification-prohibitInput").prop("checked",s.prohibitInput),$("#luckysheet-dataVerification-dialog #data-verification-hint-show").prop("checked",s.hintShow),s.hintShow?$("#luckysheet-dataVerification-dialog .data-verification-hint-text").show():$("#luckysheet-dataVerification-dialog .data-verification-hint-text").hide(),$("#luckysheet-dataVerification-dialog .data-verification-hint-text input").val(s.hintText)},rangeDialog:function(e,n){let t=this,l=Q(),a=l.dataVerification,o=l.button;$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-dataVerificationRange-dialog").remove(),$("body").append(_e(ft,{id:"luckysheet-dataVerificationRange-dialog",addclass:"luckysheet-dataVerificationRange-dialog",title:a.selectCellRange,content:`<input readonly="readonly" placeholder="${a.selectCellRange2}" value="${n}"/>`,botton:`<button id="luckysheet-dataVerificationRange-dialog-confirm" class="btn btn-primary" data-source="${e}">${o.confirm}</button>
  2460. <button id="luckysheet-dataVerificationRange-dialog-close" class="btn btn-default">${o.close}</button>`,style:"z-index:100003"}));let s=$("#luckysheet-dataVerificationRange-dialog").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),u=s.outerHeight(),d=s.outerWidth(),f=$(window).width(),m=$(window).height(),g=$(document).scrollLeft(),y=$(document).scrollTop();$("#luckysheet-dataVerificationRange-dialog").css({left:(f+g-d)/2,top:(m+y-u)/3}).show()},getTxtByRange:function(e){if(e.length>0){let n=[];for(let t=0;t<e.length;t++){let l=e[t].row[0],a=e[t].row[1],o=e[t].column[0],s=e[t].column[1];n.push(wt(h.currentSheetIndex,{row:[l,a],column:[o,s]},h.currentSheetIndex))}return n.join(",")}},getRangeByTxt:function(e){let n=[];if(e.indexOf(",")!=-1){let t=e.split(",");for(let l=0;l<t.length;l++)if(p.iscelldata(t[l]))n.push(p.getcellrange(t[l]));else{n=[];break}}else p.iscelldata(e)&&n.push(p.getcellrange(e));return n},cellFocus:function(e,n,t){$("#luckysheet-dataVerification-dropdown-btn").hide(),$("#luckysheet-dataVerification-showHintBox").hide();let l=this;if(l.dataVerification==null||l.dataVerification[e+"_"+n]==null){$("#luckysheet-dataVerification-dropdown-List").hide();return}let a=h.visibledatarow[e],o=e==0?0:h.visibledatarow[e-1],s=h.visibledatacolumn[n],u=n==0?0:h.visibledatacolumn[n-1],d=be.mergeborer(h.flowdata,e,n);d&&(a=d.row[1],o=d.row[0],s=d.column[1],u=d.column[0]);let f=l.dataVerification[e+"_"+n];if(t&&f.type=="checkbox"){l.checkboxChange(e,n);return}if(f.type=="dropdown"?($("#luckysheet-dataVerification-dropdown-btn").show().css({"max-width":s-u,"max-height":a-o,left:s-20,top:o+(a-o-20)/2}),$("#luckysheet-dataVerification-dropdown-List").is(":visible")&&$("#luckysheet-dataVerification-dropdown-List").prop("data-index")!=e+"_"+n&&$("#luckysheet-dataVerification-dropdown-List").hide()):$("#luckysheet-dataVerification-dropdown-List").hide(),f.hintShow){let y;h.lang=="en"?y='<span style="color:#f5a623;">Hint: </span>':y='<span style="color:#f5a623;">\u63D0\u793A\uFF1A</span>',y+=l.getHintText(f),$("#luckysheet-dataVerification-showHintBox").html(y).show().css({left:u,top:a});return}let m=ze(e,n,null);if(fe(m))return;if(!l.validateCellData(m,f)){let y;h.lang=="en"?y='<span style="color:#f72626;">Failure: </span>':y='<span style="color:#f72626;">\u5931\u6548\uFF1A</span>',y+=l.getFailureText(f),$("#luckysheet-dataVerification-showHintBox").html(y).show().css({left:u,top:a})}},getHintText:function(e){let n=this,t=e.hintText||"";return t.length==0&&(h.lang=="en"?e.type=="dropdown"?t+="please select an option in the drop-down list":e.type=="checkbox"||(e.type=="number"||e.type=="number_integer"||e.type=="number_decimal"?(t+="please enter a "+n.optionLabel_en[e.type]+" "+n.optionLabel_en[e.type2]+" "+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+=" and "+e.value2)):e.type=="text_content"?t+="please enter text "+n.optionLabel_en[e.type2]+" "+e.value1:e.type=="text_length"?(t+="please enter text with length "+n.optionLabel_en[e.type2]+" "+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+=" and "+e.value2)):e.type=="date"?(t+="please enter a date "+n.optionLabel_en[e.type2]+" "+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+=" and "+e.value2)):e.type=="validity"&&(t+="please enter the correct "+n.optionLabel_en[e.type2])):e.type=="dropdown"?t+="\u8BF7\u9009\u62E9\u4E0B\u62C9\u5217\u8868\u4E2D\u7684\u9009\u9879":e.type=="checkbox"||(e.type=="number"||e.type=="number_integer"||e.type=="number_decimal"?(t+="\u8BF7\u8F93\u5165"+n.optionLabel[e.type2]+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+="\u548C"+e.value2+"\u4E4B\u95F4"),t+="\u7684"+n.optionLabel[e.type]):e.type=="text_content"?t+="\u8BF7\u8F93\u5165\u5185\u5BB9"+n.optionLabel[e.type2]+e.value1+"\u7684\u6587\u672C":e.type=="text_length"?(t+="\u8BF7\u8F93\u5165\u957F\u5EA6"+n.optionLabel[e.type2]+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+="\u548C"+e.value2+"\u4E4B\u95F4"),t+="\u7684\u6587\u672C"):e.type=="date"?(t+="\u8BF7\u8F93\u5165"+n.optionLabel[e.type2]+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+="\u548C"+e.value2+"\u4E4B\u95F4"),t+="\u7684\u65E5\u671F"):e.type=="validity"&&(t+="\u8BF7\u8F93\u5165\u6B63\u786E\u7684"+n.optionLabel[e.type2]))),t},getFailureText:function(e){let n=this,t="";return h.lang=="en"?e.type=="dropdown"?t+="what you selected is not an option in the drop-down list":e.type=="checkbox"||(e.type=="number"||e.type=="number_integer"||e.type=="number_decimal"?(t+="what you entered is not a "+n.optionLabel_en[e.type]+" "+n.optionLabel_en[e.type2]+" "+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+=" and "+e.value2)):e.type=="text_content"?t+="what you entered is not text that "+n.optionLabel_en[e.type2]+" "+e.value1:e.type=="text_length"?(t+="the text you entered is not length "+n.optionLabel_en[e.type2]+" "+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+=" and "+e.value2)):e.type=="date"?(t+="the date you entered is not "+n.optionLabel_en[e.type2]+" "+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+=" and "+e.value2)):e.type=="validity"&&(t+="what you entered is not a correct "+n.optionLabel_en[e.type2])):e.type=="dropdown"?t+="\u4F60\u9009\u62E9\u7684\u4E0D\u662F\u4E0B\u62C9\u5217\u8868\u4E2D\u7684\u9009\u9879":e.type=="checkbox"||(e.type=="number"||e.type=="number_integer"||e.type=="number_decimal"?(t+="\u4F60\u8F93\u5165\u7684\u4E0D\u662F"+n.optionLabel[e.type2]+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+="\u548C"+e.value2+"\u4E4B\u95F4"),t+="\u7684"+n.optionLabel[e.type]):e.type=="text_content"?t+="\u4F60\u8F93\u5165\u7684\u4E0D\u662F\u5185\u5BB9"+n.optionLabel[e.type2]+e.value1+"\u7684\u6587\u672C":e.type=="text_length"?(t+="\u4F60\u8F93\u5165\u7684\u4E0D\u662F\u957F\u5EA6"+n.optionLabel[e.type2]+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+="\u548C"+e.value2+"\u4E4B\u95F4"),t+="\u7684\u6587\u672C"):e.type=="date"?(t+="\u4F60\u8F93\u5165\u7684\u4E0D\u662F"+n.optionLabel[e.type2]+e.value1,(e.type2=="bw"||e.type2=="nb")&&(t+="\u548C"+e.value2+"\u4E4B\u95F4"),t+="\u7684\u65E5\u671F"):e.type=="validity"&&(t+="\u4F60\u8F93\u5165\u7684\u4E0D\u662F\u4E00\u4E2A\u6B63\u786E\u7684"+n.optionLabel[e.type2])),t},validateCellData:function(e,n){let t=this,l=n.type,a=n.type2,o=n.value1,s=n.value2;if(l=="dropdown"){let u=t.getDropdownList(o);if(a&&e)return e.split(",").every(function(f){return u.indexOf(f)!==-1});let d=!1;for(let f=0;f<u.length;f++)if(u[f]==e){d=!0;break}return d}else if(l!="checkbox"){if(l=="number"||l=="number_integer"||l=="number_decimal"){if(!B(e)||(e=Number(e),l=="number_integer"&&e%1!=0)||l=="number_decimal"&&e%1==0||(o=Number(o),s=Number(s),a=="bw"&&(e<o||e>s))||a=="nb"&&e>=o&&e<=s||a=="eq"&&e!=o||a=="ne"&&e==o||a=="gt"&&e<=o||a=="lt"&&e>=o||a=="gte"&&e<o||a=="lte"&&e>o)return!1}else if(l=="text_content"){if(e=e.toString(),o=o.toString(),a=="include"&&e.indexOf(o)==-1||a=="exclude"&&e.indexOf(o)>-1||a=="equal"&&e!=o)return!1}else if(l=="text_length"){if(e=e.toString().length,o=Number(o),s=Number(s),a=="bw"&&(e<o||e>s)||a=="nb"&&e>=o&&e<=s||a=="eq"&&e!=o||a=="ne"&&e==o||a=="gt"&&e<=o||a=="lt"&&e>=o||a=="gte"&&e<o||a=="lte"&&e>o)return!1}else if(l=="date"){if(!Ot(e)||a=="bw"&&(ul(e,o)<0||ul(e,s)>0)||a=="nb"&&ul(e,o)>=0&&ul(e,s)<=0||a=="eq"&&ul(e,o)!=0||a=="ne"&&ul(e,o)==0||a=="bf"&&ul(e,o)>=0||a=="nbf"&&ul(e,o)<0||a=="af"&&ul(e,o)<=0||a=="naf"&&ul(e,o)>0)return!1}else if(l=="validity"&&(a=="card"&&!f2(e)||a=="phone"&&!/^1[3456789]\d{9}$/.test(e)))return!1}return!0},dropdownListShow:function(){$("#luckysheet-dataVerification-showHintBox").hide();let e=this,n=h.luckysheet_select_save[h.luckysheet_select_save.length-1],t=n.row_focus,l=n.column_focus,a=h.visibledatarow[t],o=t==0?0:h.visibledatarow[t-1],s=h.visibledatacolumn[l],u=l==0?0:h.visibledatacolumn[l-1],d=be.mergeborer(h.flowdata,t,l);d&&(a=d.row[1],o=d.row[0],s=d.column[1],u=d.column[0]);let f=e.dataVerification[t+"_"+l],m=e.getDropdownList(f.value1),g="";if(f.type==="dropdown"&&f.type2){let k=ze(t,l,null),b=fe(k)?[]:k.split(",");m.forEach(w=>{g+=`<div class="dropdown-List-item luckysheet-mousedown-cancel multi${b.indexOf(w)!==-1?" checked":""}">${w}</div>`})}else m.forEach(k=>{g+=`<div class="dropdown-List-item luckysheet-mousedown-cancel">${k}</div>`});$("#luckysheet-dataVerification-dropdown-List").html(g).prop("data-index",t+"_"+l).show().css({width:s-u-1,left:u,top:a});let y=$("#luckysheet-dataVerification-dropdown-List").outerHeight(),v=$("#luckysheet-cell-main")[0].scrollHeight;a+y>v-42-6&&$("#luckysheet-dataVerification-dropdown-List").css({top:o-y})},getDropdownList:function(e){let n=[];if(p.iscelldata(e)){let t=p.getcellrange(e),l=h.luckysheetfile[K(t.sheetIndex)].data;for(let a=t.row[0];a<=t.row[1];a++)for(let o=t.column[0];o<=t.column[1];o++){if(l[a]==null)continue;let s=l[a][o];if(s==null||s.v==null)continue;let u=s.m||s.v;n.includes(u)||n.push(u)}}else{let t=e.split(",");for(let l=0;l<t.length;l++){let a=t[l];a.length!=0&&(n.includes(a)||n.push(a))}}return n},checkboxChange:function(e,n){let t=this,l=$.extend(!0,{},t.dataVerification),a=$.extend(!0,{},t.dataVerification),o=a[e+"_"+n];o.checked=!o.checked;let s=o.value2;o.checked&&(s=o.value1);let u=we.deepCopyFlowData(h.flowdata);Ft(e,n,u,s),t.refOfCheckbox(l,a,h.currentSheetIndex,u,{row:[e,e],column:[n,n]})},ref:function(e,n,t){let l=this;if(h.clearjfundo){h.jfundo.length=0;let a={};a.type="updateDataVerification",a.sheetIndex=t,a.historyDataVerification=e,a.currentDataVerification=n,h.jfredo.push(a)}l.dataVerification=n,h.luckysheetfile[K(t)].dataVerification=n,ne.allowUpdate&&ne.saveParam("all",t,n,{k:"dataVerification"}),setTimeout(function(){Be()},1)},refOfCheckbox:function(e,n,t,l,a){let o=this;if(h.clearjfundo){h.jfundo.length=0;let s={};s.type="updateDataVerificationOfCheckbox",s.sheetIndex=t,s.historyDataVerification=e,s.currentDataVerification=n,s.data=h.flowdata,s.curData=l,s.range=a,h.jfredo.push(s)}o.dataVerification=n,h.luckysheetfile[K(t)].dataVerification=n,h.flowdata=l,we.webWorkerFlowDataCache(h.flowdata),h.luckysheetfile[K(t)].data=h.flowdata,ne.allowUpdate&&(ne.saveParam("all",t,n,{k:"dataVerification"}),ne.historyParam(h.flowdata,t,a)),setTimeout(function(){Be()},1)}};Ye=d2});function Ir(e,n,t,l,a){if(a=a!=null?a:h.currentSheetIndex,e=="row"&&!It(a,"insertRows"))return;if(e=="column"&&!It(a,"insertColumns"))return;let o=K(a),s=h.luckysheetfile[o],u=$.extend(!0,[],s.data);t=Math.floor(t);let d=$.extend(!0,{},s.config);d.merge==null&&(d.merge={});let f={};for(let N in d.merge){let E=d.merge[N],L=E.r,O=E.c,V=E.rs,q=E.cs;e=="row"?n<L?f[L+t+"_"+O]={r:L+t,c:O,rs:V,cs:q}:n==L&&V!=1?l=="lefttop"?f[L+t+"_"+O]={r:L+t,c:O,rs:V,cs:q}:f[L+"_"+O]={r:L,c:O,rs:V+t,cs:q}:n<L+V-1?f[L+"_"+O]={r:L,c:O,rs:V+t,cs:q}:n==L+V-1?l=="lefttop"?V==1?f[L+t+"_"+O]={r:L+t,c:O,rs:V,cs:q}:f[L+"_"+O]={r:L,c:O,rs:V+t,cs:q}:f[L+"_"+O]={r:L,c:O,rs:V,cs:q}:f[L+"_"+O]={r:L,c:O,rs:V,cs:q}:e=="column"&&(n<O?f[L+"_"+(O+t)]={r:L,c:O+t,rs:V,cs:q}:n==O&&q!=1?l=="lefttop"?f[L+"_"+(O+t)]={r:L,c:O+t,rs:V,cs:q}:f[L+"_"+O]={r:L,c:O,rs:V,cs:q+t}:n<O+q-1?f[L+"_"+O]={r:L,c:O,rs:V,cs:q+t}:n==O+q-1?l=="lefttop"?q==1?f[L+"_"+(O+t)]={r:L,c:O+t,rs:V,cs:q}:f[L+"_"+O]={r:L,c:O,rs:V,cs:q+t}:f[L+"_"+O]={r:L,c:O,rs:V,cs:q}:f[L+"_"+O]={r:L,c:O,rs:V,cs:q})}d.merge=f;let m=s.calcChain,g=[];if(m!=null&&m.length>0)for(let N=0;N<m.length;N++){let E=$.extend(!0,{},m[N]),L=E.r,O=E.c,V=E.index,q=Ol(L,O,V);if(!!q){if(e=="row"){let W="="+p.functionStrChange(q,"add","row",l,n,t);u[L][O]&&u[L][O].f==q&&(u[L][O].f=W),l=="lefttop"?L>=n&&(E.r+=t):l=="rightbottom"&&L>n&&(E.r+=t),g.push(E)}else if(e=="column"){let W="="+p.functionStrChange(q,"add","col",l,n,t);u[L][O]&&u[L][O].f==q&&(u[L][O].f=W),l=="lefttop"?O>=n&&(E.c+=t):l=="rightbottom"&&O>n&&(E.c+=t),g.push(E)}}}let y=s.filter_select,v=s.filter,k=null;if(y!=null&&JSON.stringify(y)!="{}"){k={filter_select:null,filter:null};let N=y.row[0],E=y.row[1],L=y.column[0],O=y.column[1];if(e=="row"){if(N<n?(E==n&&l=="lefttop"||E>n)&&(E+=t):N==n?l=="lefttop"?(N+=t,E+=t):l=="rightbottom"&&E>n&&(E+=t):(N+=t,E+=t),v!=null){k.filter={};for(let V in v){let q=v[V].rowhidden,W={};for(let Y in q)Y=parseFloat(Y),Y<n?W[Y]=0:Y==n?l=="lefttop"?W[Y+t]=0:l=="rightbottom"&&(W[Y]=0):W[Y+t]=0;k.filter[V]=$.extend(!0,{},v[V]),k.filter[V].rowhidden=W,k.filter[V].str=N,k.filter[V].edr=E}}}else if(e=="column"&&(L<n?(O==n&&l=="lefttop"||O>n)&&(O+=t):L==n?l=="lefttop"?(L+=t,O+=t):l=="rightbottom"&&O>n&&(O+=t):(L+=t,O+=t),v!=null)){k.filter={};for(let V in v){let q=v[V].cindex;(q==n&&l=="lefttop"||q>n)&&(q+=t),k.filter[q-L]=$.extend(!0,{},v[V]),k.filter[q-L].cindex=q,k.filter[q-L].stc=L,k.filter[q-L].edc=O}}k.filter_select={row:[N,E],column:[L,O]}}if(k!=null&&k.filter!=null){d.rowhidden==null&&(d.rowhidden={});for(let N in k.filter){let E=k.filter[N].rowhidden;for(let L in E)d.rowhidden[L]=0}}let b=s.luckysheet_conditionformat_save,w=[];if(b!=null&&b.length>0)for(let N=0;N<b.length;N++){let E=b[N].cellrange,L=[];for(let V=0;V<E.length;V++){let q=E[V].row[0],W=E[V].row[1],Y=E[V].column[0],ee=E[V].column[1];e=="row"?q<n?(W==n&&l=="lefttop"||W>n)&&(W+=t):q==n?l=="lefttop"?(q+=t,W+=t):l=="rightbottom"&&W>n&&(W+=t):(q+=t,W+=t):e=="column"&&(Y<n?(ee==n&&l=="lefttop"||ee>n)&&(ee+=t):Y==n?l=="lefttop"?(Y+=t,ee+=t):l=="rightbottom"&&ee>n&&(ee+=t):(Y+=t,ee+=t)),L.push({row:[q,W],column:[Y,ee]})}let O=$.extend(!0,{},b[N]);O.cellrange=L,w.push(O)}let x=s.luckysheet_alternateformat_save,C=[];if(x!=null&&x.length>0)for(let N=0;N<x.length;N++){let E=x[N].cellrange.row[0],L=x[N].cellrange.row[1],O=x[N].cellrange.column[0],V=x[N].cellrange.column[1],q=$.extend(!0,{},x[N]);e=="row"?E<n?(L==n&&l=="lefttop"||L>n)&&(L+=t):E==n?l=="lefttop"?(E+=t,L+=t):l=="rightbottom"&&L>n&&(L+=t):(E+=t,L+=t):e=="column"&&(O<n?(V==n&&l=="lefttop"||V>n)&&(V+=t):O==n?l=="lefttop"?(O+=t,V+=t):l=="rightbottom"&&V>n&&(V+=t):(O+=t,V+=t)),q.cellrange={row:[E,L],column:[O,V]},C.push(q)}let S={freezenhorizontaldata:null,freezenverticaldata:null};if(X.freezenhorizontaldata!=null&&e=="row"){let N=X.freezenhorizontaldata[2],E=X.freezenhorizontaldata[1]-1;(E==n&&l=="lefttop"||E>n)&&(E+=t);let L=h.visibledatarow[E]-2-N+h.columnHeaderHeight;S.freezenhorizontaldata=[h.visibledatarow[E],E+1,N,X.cutVolumn(h.visibledatarow,E+1),L]}else S.freezenhorizontaldata=X.freezenhorizontaldata;if(X.freezenverticaldata!=null&&e=="column"){let N=X.freezenverticaldata[2],E=X.freezenverticaldata[1]-1;(E==n&&l=="lefttop"||E>n)&&(E+=t);let L=h.visibledatacolumn[E]-2-N+h.rowHeaderWidth;S.freezenverticaldata=[h.visibledatacolumn[E],E+1,N,X.cutVolumn(h.visibledatacolumn,E+1),L]}else S.freezenverticaldata=X.freezenverticaldata;let _=s.dataVerification,T={};if(_!=null)for(let N in _){let E=Number(N.split("_")[0]),L=Number(N.split("_")[1]),O=_[N];if(e=="row")if(n<E)T[E+t+"_"+L]=O;else if(n==E)if(l=="lefttop"){T[E+t+"_"+L]=O;for(let V=0;V<t;V++)T[E+V+"_"+L]=O}else{T[E+"_"+L]=O;for(let V=0;V<t;V++)T[E+V+1+"_"+L]=O}else T[E+"_"+L]=O;else if(e=="column")if(n<L)T[E+"_"+(L+t)]=O;else if(n==L)if(l=="lefttop"){T[E+"_"+(L+t)]=O;for(let V=0;V<t;V++)T[E+"_"+(L+V)]=O}else{T[E+"_"+L]=O;for(let V=0;V<t;V++)T[E+"_"+(L+V+1)]=O}else T[E+"_"+L]=O}let A=s.hyperlink,R={};if(A!=null)for(let N in A){let E=Number(N.split("_")[0]),L=Number(N.split("_")[1]),O=A[N];e=="row"?n<E||n==E&&l=="lefttop"?R[E+t+"_"+L]=O:R[E+"_"+L]=O:e=="column"&&(n<L||n==L&&l=="lefttop"?R[E+"_"+(L+t)]=O:R[E+"_"+L]=O)}let I;if(e=="row"){if(I="r",d.rowlen!=null){let L={};for(let O in d.rowlen)O=parseFloat(O),O<n?L[O]=d.rowlen[O]:O==n?l=="lefttop"?L[O+t]=d.rowlen[O]:l=="rightbottom"&&(L[O]=d.rowlen[O]):L[O+t]=d.rowlen[O];d.rowlen=L}if(d.rowhidden!=null){let L={};for(let O in d.rowhidden)O=parseFloat(O),O<n?L[O]=d.rowhidden[O]:O==n?l=="lefttop"?L[O+t]=d.rowhidden[O]:l=="rightbottom"&&(L[O]=d.rowhidden[O]):L[O+t]=d.rowhidden[O];d.rowhidden=L}let N=[];for(let L=0;L<u[0].length;L++)N.push(null);var F=[];if(d.borderInfo&&d.borderInfo.length>0){let L=[];for(let O=0;O<d.borderInfo.length;O++){let V=d.borderInfo[O].rangeType;if(V=="range"){let q=d.borderInfo[O].range,W=[];for(let Y=0;Y<q.length;Y++){let ee=q[Y].row[0],te=q[Y].row[1];l=="lefttop"?n<=ee?(ee+=t,te+=t):n<=te&&(te+=t):n<ee?(ee+=t,te+=t):n<te&&(te+=t),te>=ee&&W.push({row:[ee,te],column:q[Y].column})}if(W.length>0){let Y={rangeType:"range",borderType:d.borderInfo[O].borderType,style:d.borderInfo[O].style,color:d.borderInfo[O].color,range:W};L.push(Y)}}else if(V=="cell"){let q=d.borderInfo[O].value.row_index;q===n&&F.push(JSON.parse(JSON.stringify(d.borderInfo[O]))),l=="lefttop"?n<=q&&(q+=t):n<q&&(q+=t),d.borderInfo[O].value.row_index=q,L.push(d.borderInfo[O])}}d.borderInfo=L}let E=[];for(let L=0;L<t;L++)if(E.push(JSON.stringify(N)),F.length){var z=JSON.parse(JSON.stringify(F));z.forEach(O=>{l==="rightbottom"?O.value.row_index+=L+1:l==="lefttop"&&(O.value.row_index+=L)}),d.borderInfo.push(...z)}l=="lefttop"?n==0?new Function("d","return d.unshift("+E.join(",")+")")(u):new Function("d","return d.splice("+n+", 0, "+E.join(",")+")")(u):new Function("d","return d.splice("+(n+1)+", 0, "+E.join(",")+")")(u)}else{if(I="c",d.columnlen!=null){let L={};for(let O in d.columnlen)O=parseFloat(O),O<n?L[O]=d.columnlen[O]:O==n?l=="lefttop"?L[O+t]=d.columnlen[O]:l=="rightbottom"&&(L[O]=d.columnlen[O]):L[O+t]=d.columnlen[O];d.columnlen=L}if(d.colhidden!=null){let L={};for(let O in d.colhidden)O=parseFloat(O),O<n?L[O]=d.colhidden[O]:O==n?l=="lefttop"?L[O+t]=d.colhidden[O]:l=="rightbottom"&&(L[O]=d.colhidden[O]):L[O+t]=d.colhidden[O];d.colhidden=L}let N=[];for(let L=0;L<u.length;L++)N.push(null);var F=[];if(d.borderInfo&&d.borderInfo.length>0){let L=[];for(let O=0;O<d.borderInfo.length;O++){let V=d.borderInfo[O].rangeType;if(V=="range"){let q=d.borderInfo[O].range,W=[];for(let Y=0;Y<q.length;Y++){let ee=q[Y].column[0],te=q[Y].column[1];l=="lefttop"?n<=ee?(ee+=t,te+=t):n<=te&&(te+=t):n<ee?(ee+=t,te+=t):n<te&&(te+=t),te>=ee&&W.push({row:q[Y].row,column:[ee,te]})}if(W.length>0){let Y={rangeType:"range",borderType:d.borderInfo[O].borderType,style:d.borderInfo[O].style,color:d.borderInfo[O].color,range:W};L.push(Y)}}else if(V=="cell"){let q=d.borderInfo[O].value.col_index;q===n&&F.push(JSON.parse(JSON.stringify(d.borderInfo[O]))),l=="lefttop"?n<=q&&(q+=t):n<q&&(q+=t),d.borderInfo[O].value.col_index=q,L.push(d.borderInfo[O])}}d.borderInfo=L}if(F.length)for(let L=0;L<t;L++){var z=JSON.parse(JSON.stringify(F));z.forEach(V=>{l==="rightbottom"?V.value.col_index+=L+1:l==="lefttop"&&(V.value.col_index+=L)}),d.borderInfo.push(...z)}for(let L=0;L<u.length;L++){let O=u[L];for(let V=0;V<t;V++){let q=JSON.parse(JSON.stringify(N[L]));l=="lefttop"?n==0?O.unshift(q):O.splice(n,0,q):O.splice(n+1,0,q)}}}s.index==h.currentSheetIndex?qn(u,d,"addRC",{index:n,len:t,direction:l,rc:I,restore:!1},g,k,w,C,S,T,R):(s.data=u,s.config=d,s.calcChain=g,s.filter=k.filter,s.filter_select=k.filter_select,s.luckysheet_conditionformat_save=w,s.luckysheet_alternateformat_save=C,s.dataVerification=T,s.hyperlink=R);let M=null;if(e=="row"?l=="lefttop"?M=[{row:[n,n+t-1],column:[0,u[0].length-1]}]:M=[{row:[n+1,n+t],column:[0,u[0].length-1]}]:l=="lefttop"?M=[{row:[0,u.length-1],column:[n,n+t-1]}]:M=[{row:[0,u.length-1],column:[n+1,n+t]}],s.luckysheet_select_save=M,s.index==h.currentSheetIndex&&(h.luckysheet_select_save=M,tt()),e=="row"){let N=$("#luckysheet-cell-main").scrollLeft(),E=$("#luckysheet-cell-main").scrollTop(),L=$("#luckysheet-cell-main").height(),O=$("#luckysheet-cell-main").width(),V=h.visibledatarow[M[0].row[1]],q=M[0].row[0]-1==-1?0:h.visibledatarow[M[0].row[0]-1];V-E-L+20>0?$("#luckysheet-scrollbar-y").scrollTop(V-L+20):q-E-20<0&&$("#luckysheet-scrollbar-y").scrollTop(q-20),t>30&&($("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide())}}function _o(e,n){let t=we.deepCopyFlowData(h.flowdata),l=$.extend(!0,{},h.config);l.merge==null&&(l.merge={});let a=t[0].length,o=Vt([],e,a);t=t.concat(o);for(let s=0;s<n.length;s++){let u=n[s].r,d=n[s].c,f=n[s].v;Ft(u,d,t,f),f!=null&&f.mc!=null&&f.mc.rs!=null&&(l.merge[f.mc.r+"_"+f.mc.c]=$.extend(!0,{},f.mc))}h.flowdata=t,we.webWorkerFlowDataCache(h.flowdata),h.luckysheetfile[K(h.currentSheetIndex)].data=t,h.config=l,h.luckysheetfile[K(h.currentSheetIndex)].config=h.config,St(h.flowdata.length,h.flowdata[0].length)}function Vn(e,n,t,l){if(l=l||h.currentSheetIndex,e=="row"&&!It(l,"deleteRows"))return;if(e=="column"&&!It(l,"deleteColumns"))return;let a=K(l),o=h.luckysheetfile[a],s=$.extend(!0,[],o.data);if(n<0&&(n=0),t<0&&(t=0),e=="row"?(n>s.length-1&&(n=s.length-1),t>s.length-1&&(t=s.length-1)):(n>s[0].length-1&&(n=s[0].length-1),t>s[0].length-1&&(t=s[0].length-1)),n>t)return;let u=t-n+1,d=$.extend(!0,{},o.config);d.merge==null&&(d.merge={});let f={};for(let F in d.merge){let z=d.merge[F],M=z.r,N=z.c,E=z.rs,L=z.cs;e=="row"?M<n?M+E-1<n?f[M+"_"+N]={r:M,c:N,rs:E,cs:L}:M+E-1>=n&&M+E-1<t?f[M+"_"+N]={r:M,c:N,rs:n-M,cs:L}:M+E-1>=t&&(f[M+"_"+N]={r:M,c:N,rs:E-u,cs:L}):M>=n&&M<=t?M+E-1>t&&(f[n+"_"+N]={r:n,c:N,rs:M+E-1-t,cs:L}):M>t&&(f[M-u+"_"+N]={r:M-u,c:N,rs:E,cs:L}):e=="column"&&(N<n?N+L-1<n?f[M+"_"+N]={r:M,c:N,rs:E,cs:L}:N+L-1>=n&&N+L-1<t?f[M+"_"+N]={r:M,c:N,rs:E,cs:n-N}:N+L-1>=t&&(f[M+"_"+N]={r:M,c:N,rs:E,cs:L-u}):N>=n&&N<=t?N+L-1>t&&(f[M+"_"+n]={r:M,c:n,rs:E,cs:N+L-1-t}):N>t&&(f[M+"_"+(N-u)]={r:M,c:N-u,rs:E,cs:L}))}d.merge=f;let m=o.calcChain,g=[];if(m!=null&&m.length>0)for(let F=0;F<m.length;F++){let z=$.extend(!0,{},m[F]),M=z.r,N=z.c,E=z.index,L=Ol(M,N,E);if(!!L){if(e=="row"){if(M<n||M>t){let O="="+p.functionStrChange(L,"del","row",null,n,u);s[M][N]&&s[M][N].f==L&&(s[M][N].f=O),M>t&&(z.r=M-u),g.push(z)}}else if(e=="column"&&(N<n||N>t)){let O="="+p.functionStrChange(L,"del","col",null,n,u);s[M][N]&&s[M][N].f==L&&(s[M][N].f=O),N>t&&(z.c=N-u),g.push(z)}}}let y=o.filter_select,v=o.filter,k=null;if(y!=null&&JSON.stringify(y)!="{}"){k={filter_select:null,filter:null};let F=y.row[0],z=y.row[1],M=y.column[0],N=y.column[1];if(e=="row"){if(F>t?(F-=u,z-=u,k.filter_select={row:[F,z],column:[M,N]}):F<n&&(z<n||(z<=t?z=n-1:z-=u),k.filter_select={row:[F,z],column:[M,N]}),k.filter_select!=null&&v!=null)for(let E in v){let L=v[E].rowhidden,O={};for(let V in L)V<n?O[V]=0:V>t&&(O[V-u]=0);JSON.stringify(O)!="{}"&&(k.filter==null&&(k.filter={}),k.filter[E]=$.extend(!0,{},v[E]),k.filter[E].rowhidden=O,k.filter[E].str=F,k.filter[E].edr=z)}}else if(e=="column"&&(M>t?(M-=u,N-=u,k.filter_select={row:[F,z],column:[M,N]}):M<n?(N<n||(N<=t?N=n-1:N-=u),k.filter_select={row:[F,z],column:[M,N]}):N>t&&(M=n,N-=u,k.filter_select={row:[F,z],column:[M,N]}),k.filter_select!=null&&v!=null))for(let E in v){let L=v[E].cindex;L<n?(k.filter==null&&(k.filter={}),k.filter[L-M]=$.extend(!0,{},v[E]),k.filter[L-M].edc=N):L>t&&(L-=u,k.filter==null&&(k.filter={}),k.filter[L-M]=$.extend(!0,{},v[E]),k.filter[L-M].cindex=L,k.filter[L-M].stc=M,k.filter[L-M].edc=N)}}if(k!=null&&k.filter!=null){d.rowhidden==null&&(d.rowhidden={});for(let F in k.filter){let z=k.filter[F].rowhidden;for(let M in z)d.rowhidden[M]=0}}let b=o.luckysheet_conditionformat_save,w=[];if(b!=null&&b.length>0)for(let F=0;F<b.length;F++){let z=b[F].cellrange,M=[];for(let N=0;N<z.length;N++){let E=z[N].row[0],L=z[N].row[1],O=z[N].column[0],V=z[N].column[1];e=="row"?E>=n&&L<=t||(E>t?(E-=u,L-=u):E<n?L<n||(L<=t?L=n-1:L-=u):L>t&&(E=n,L-=u),M.push({row:[E,L],column:[O,V]})):e=="column"&&(O>=n&&V<=t||(O>t?(O-=u,V-=u):O<n?V<n||(V<=t?V=n-1:V-=u):V>t&&(O=n,V-=u),M.push({row:[E,L],column:[O,V]})))}if(M.length>0){let N=$.extend(!0,{},b[F]);N.cellrange=M,w.push(N)}}let x=o.luckysheet_alternateformat_save,C=[];if(x!=null&&x.length>0)for(let F=0;F<x.length;F++){let z=x[F].cellrange.row[0],M=x[F].cellrange.row[1],N=x[F].cellrange.column[0],E=x[F].cellrange.column[1];if(e=="row"){if(!(z>=n&&M<=t)){let L=$.extend(!0,{},x[F]);z>t?(z-=u,M-=u):z<n?M<n||(M<=t?M=n-1:M-=u):M>t&&(z=n,M-=u),L.cellrange={row:[z,M],column:[N,E]},C.push(L)}}else if(e=="column"&&!(N>=n&&E<=t)){let L=$.extend(!0,{},x[F]);N>t?(N-=u,E-=u):N<n?E<n||(E<=t?E=n-1:E-=u):E>t&&(N=n,E-=u),L.cellrange={row:[z,M],column:[N,E]},C.push(L)}}let S={freezenhorizontaldata:null,freezenverticaldata:null};if(X.freezenhorizontaldata!=null&&e=="row"){let F=X.freezenhorizontaldata[2],z=st(h.visibledatarow,F);z==-1&&(z=0);let M=X.freezenhorizontaldata[1]-1;M>=n&&(M<t?M=n-1:M-=u),M<z&&(M=z);let N=h.visibledatarow[M]-2-F+h.columnHeaderHeight;S.freezenhorizontaldata=[h.visibledatarow[M],M+1,F,X.cutVolumn(h.visibledatarow,M+1),N]}else S.freezenhorizontaldata=X.freezenhorizontaldata;if(X.freezenverticaldata!=null&&e=="column"){let F=X.freezenverticaldata[2],z=st(h.visibledatacolumn,F);z==-1&&(z=0);let M=X.freezenverticaldata[1]-1;M>=n&&(M<t?M=n-1:M-=u),M<z&&(M=z);let N=h.visibledatacolumn[M]-2-F+h.rowHeaderWidth;S.freezenverticaldata=[h.visibledatacolumn[M],M+1,F,X.cutVolumn(h.visibledatacolumn,M+1),N]}else S.freezenverticaldata=X.freezenverticaldata;let _=o.dataVerification,T={};if(_!=null)for(let F in _){let z=Number(F.split("_")[0]),M=Number(F.split("_")[1]),N=_[F];e=="row"?z<n?T[z+"_"+M]=N:z>t&&(T[z-u+"_"+M]=N):e=="column"&&(M<n?T[z+"_"+M]=N:M>t&&(T[z+"_"+(M-u)]=N))}let A=o.hyperlink,R={};if(A!=null)for(let F in A){let z=Number(F.split("_")[0]),M=Number(F.split("_")[1]),N=A[F];e=="row"?z<n?R[z+"_"+M]=N:z>t&&(R[z-u+"_"+M]=N):e=="column"&&(M<n?R[z+"_"+M]=N:M>t&&(R[z+"_"+(M-u)]=N))}let I;if(e=="row"){I="r",d.rowlen==null&&(d.rowlen={});let F={};for(let M in d.rowlen)M<n?F[M]=d.rowlen[M]:M>t&&(F[M-u]=d.rowlen[M]);d.rowlen=F,d.rowhidden==null&&(d.rowhidden={});let z={};for(let M in d.rowhidden)M<n?z[M]=d.rowhidden[M]:M>t&&(z[M-u]=d.rowhidden[M]);if(d.rowhidden=z,d.borderInfo&&d.borderInfo.length>0){let M=[];for(let N=0;N<d.borderInfo.length;N++){let E=d.borderInfo[N].rangeType;if(E=="range"){let L=d.borderInfo[N].range,O=[];for(let V=0;V<L.length;V++){let q=L[V].row[0],W=L[V].row[1];for(let Y=n;Y<=t;Y++)Y<L[V].row[0]?(q-=1,W-=1):Y<=L[V].row[1]&&(W-=1);W>=q&&O.push({row:[q,W],column:L[V].column})}if(O.length>0){let V={rangeType:"range",borderType:d.borderInfo[N].borderType,style:d.borderInfo[N].style,color:d.borderInfo[N].color,range:O};M.push(V)}}else if(E=="cell"){let L=d.borderInfo[N].value.row_index;L<n?M.push(d.borderInfo[N]):L>t&&(d.borderInfo[N].value.row_index=L-(t-n+1),M.push(d.borderInfo[N]))}}d.borderInfo=M}s.splice(n,u)}else{I="c",d.columnlen==null&&(d.columnlen={});let F={};for(let M in d.columnlen)M<n?F[M]=d.columnlen[M]:M>t&&(F[M-u]=d.columnlen[M]);d.columnlen=F,d.colhidden==null&&(d.colhidden={});let z={};for(let M in d.colhidden)M<n?z[M]=d.colhidden[M]:M>t&&(z[M-u]=d.colhidden[M]);if(d.colhidden=z,d.borderInfo&&d.borderInfo.length>0){let M=[];for(let N=0;N<d.borderInfo.length;N++){let E=d.borderInfo[N].rangeType;if(E=="range"){let L=d.borderInfo[N].range,O=[];for(let V=0;V<L.length;V++){let q=L[V].column[0],W=L[V].column[1];for(let Y=n;Y<=t;Y++)Y<L[V].column[0]?(q-=1,W-=1):Y<=L[V].column[1]&&(W-=1);W>=q&&O.push({row:L[V].row,column:[q,W]})}if(O.length>0){let V={rangeType:"range",borderType:d.borderInfo[N].borderType,style:d.borderInfo[N].style,color:d.borderInfo[N].color,range:O};M.push(V)}}else if(E=="cell"){let L=d.borderInfo[N].value.col_index;L<n?M.push(d.borderInfo[N]):L>t&&(d.borderInfo[N].value.col_index=L-(t-n+1),M.push(d.borderInfo[N]))}}d.borderInfo=M}for(let M=0;M<s.length;M++){let N=[].concat(JSON.parse(JSON.stringify(s[M])));N.splice(n,u),s[M]=N}}o.index==h.currentSheetIndex?qn(s,d,"delRC",{index:n,len:t-n+1,rc:I},g,k,w,C,S,T,R):(o.data=s,o.config=d,o.calcChain=g,o.filter=k.filter,o.filter_select=k.filter_select,o.luckysheet_conditionformat_save=w,o.luckysheet_alternateformat_save=C,o.dataVerification=T,o.hyperlink=R)}function da(e,n,t,l,a,o){if(o=o||h.currentSheetIndex,!Ur(o)||!Ke.createHookFunction("rangeDeleteBefore",n,l))return;let s=K(o),u=h.luckysheetfile[s],d=$.extend(!0,[],u.data),f=t-n+1,m=a-l+1,g=$.extend(!0,{},h.config);g.merge==null&&(g.merge={});let y={};for(let F in g.merge){let z=g.merge[F],M=z.r,N=z.c,E=z.rs,L=z.cs;if(e=="moveLeft")if(n>M+E-1||t<M||l>N+L-1)y[M+"_"+N]={r:M,c:N,rs:E,cs:L};else if(n<=M&&t>=M+E-1&&a<N)y[M+"_"+(N-m)]={r:M,c:N-m,rs:E,cs:L};else for(let O=M;O<=M+E-1;O++)for(let V=N;V<=N+L-1;V++)delete d[O][V].mc;else if(e=="moveUp")if(l>N+L-1||a<N||n>M+E-1)y[M+"_"+N]={r:M,c:N,rs:E,cs:L};else if(l<=N&&a>=N+L-1&&t<M)y[M-f+"_"+N]={r:M-f,c:N,rs:E,cs:L};else for(let O=M;O<=M+E-1;O++)for(let V=N;V<=N+L-1;V++)delete d[O][V].mc}g.merge=y;let v=u.calcChain,k=[];if(v!=null&&v.length>0)for(let F=0;F<v.length;F++){let z=$.extend(!0,{},v[F]),M=z.r,N=z.c,E=z.index,L=Ol(M,N,E);if(!!L&&(M<n||M>t||N<l||N>a)){let O;e=="moveLeft"?(O="="+p.functionStrChange(L,"del","col",null,l,m),N>a&&M>=n&&M<=t&&(z.c=N-m)):e=="moveUp"&&(O="="+p.functionStrChange(L,"del","row",null,n,f),M>t&&N>=l&&N<=a&&(z.r=M-f)),d[M][N]&&d[M][N].f==L&&(d[M][N].f=O),k.push(z)}}let b=u.filter_select,w=u.filter,x=null;if(b!=null&&JSON.stringify(b)!="{}"){x={filter_select:null,filter:null};let F=b.row[0],z=b.row[1],M=b.column[0],N=b.column[1];if(e=="moveUp")if(M>=l&&N<=a){if(F>t?x.filter_select={row:[F-f,z-f],column:[M,N]}:z<n?x.filter_select={row:[F,z],column:[M,N]}:F<n&&(z>t?x.filter_select={row:[F,z-f],column:[M,N]}:x.filter_select={row:[F,n-1],column:[M,N]}),x.filter_select!=null&&w!=null)for(let E in w){let L=w[E].rowhidden,O={};for(let V in L)V<n?O[V]=0:V>t&&(O[V-slen]=0);x.filter==null&&(x.filter={}),x.filter[E]=$.extend(!0,{},w[E]),JSON.stringify(O)!="{}"&&(x.filter[E].rowhidden=O),x.filter[E].str=x.filter_select.row[0],x.filter[E].edr=x.filter_select.row[1]}}else if(F>=n&&z<=t){if(M>a?x.filter_select={row:[F,z],column:[M,N]}:M>=l?N>a&&(x.filter_select={row:[F,z],column:[l,N-m]}):N<l?x.filter_select={row:[F,z],column:[M,N]}:N<=a?x.filter_select={row:[F,z],column:[M,l-1]}:x.filter_select={row:[F,z],column:[M,N-m]},x.filter_select!=null&&w!=null)for(let E in w){let L=x.filter_select.column[0],O=x.filter_select.column[1],V=w[E].cindex;if(V<l||V>a){x.filter==null&&(x.filter={}),V>a&&(V-=m);let q=V-L;x.filter[q]=$.extend(!0,{},w[E]),x.filter[q].cindex=V,x.filter[q].stc=L,x.filter[q].edc=O}}}else x.filter_select={row:[F,z],column:[M,N]},w!=null&&(x.filter=w);else if(e=="moveLeft")if(F>=n&&z<=t){if(M>a?x.filter_select={row:[F,z],column:[M-m,N-m]}:N<l?x.filter_select={row:[F,z],column:[M,N]}:M<l&&(N>a?x.filter_select={row:[F,z],column:[M,N-m]}:x.filter_select={row:[F,z],column:[M,l-1]}),x.filter_select!=null&&w!=null)for(let E in w){let L=x.filter_select.column[0],O=x.filter_select.column[1],V=w[E].cindex;if(V<l||V>a){x.filter==null&&(x.filter={}),V>a&&(V-=m);let q=V-L;x.filter[q]=$.extend(!0,{},w[E]),x.filter[q].cindex=V,x.filter[q].stc=L,x.filter[q].edc=O}}}else M>=l&&N<=a?(F<n||F>t)&&(x.filter_select={row:[F,z],column:[M,N]},w!=null&&(x.filter=w)):(x.filter_select={row:[F,z],column:[M,N]},w!=null&&(x.filter=w))}if(x!=null&&x.filter!=null){g.rowhidden==null&&(g.rowhidden={});for(let F in x.filter){let z=x.filter[F].rowhidden;for(let M in z)g.rowhidden[M]=0}}let C=u.luckysheet_conditionformat_save,S=[];if(C!=null&&C.length>0)for(let F=0;F<C.length;F++){let z=C[F].cellrange,M=[];for(let N=0;N<z.length;N++){let E=z[N].row[0],L=z[N].row[1],O=z[N].column[0],V=z[N].column[1];n<=E&&t>=L&&l<=O&&a>=V||(M=rf(e,n,t,l,a,E,L,O,V,f,m))}if(M.length>0){let N=$.extend(!0,{},C[F]);N.cellrange=M,S.push(N)}}let _=u.dataVerification,T={};if(_!=null)for(let F in _){let z=Number(F.split("_")[0]),M=Number(F.split("_")[1]),N=_[F];(z<n||z>t||M<l||M>a)&&(e=="moveLeft"?M>a&&z>=n&&z<=t?T[z+"_"+(M-m)]=N:T[z+"_"+M]=N:e=="moveUp"&&(z>t&&M>=l&&M<=a?T[z-f+"_"+M]=N:T[z+"_"+M]=N))}let A=u.hyperlink,R={};if(A!=null)for(let F in A){let z=Number(F.split("_")[0]),M=Number(F.split("_")[1]),N=A[F];(z<n||z>t||M<l||M>a)&&(e=="moveLeft"?M>a&&z>=n&&z<=t?R[z+"_"+(M-m)]=N:R[z+"_"+M]=N:e=="moveUp"&&(z>t&&M>=l&&M<=a?R[z-f+"_"+M]=N:R[z+"_"+M]=N))}if(g.borderInfo&&g.borderInfo.length>0){let F=[];for(let z=0;z<g.borderInfo.length;z++){let M=g.borderInfo[z].rangeType;if(M=="range"){let N=g.borderInfo[z].range,E=[];for(let L=0;L<N.length;L++){let O=N[L].row[0],V=N[L].row[1],q=N[L].column[0],W=N[L].column[1];n<=O&&t>=V&&l<=q&&a>=W||(E=rf(e,n,t,l,a,O,V,q,W,f,m))}if(E.length>0){let L={rangeType:"range",borderType:g.borderInfo[z].borderType,style:g.borderInfo[z].style,color:g.borderInfo[z].color,range:E};F.push(L)}}else if(M=="cell"){let N=g.borderInfo[z].value.row_index,E=g.borderInfo[z].value.col_index;(N<n||N>t||E<l||E>a)&&(e=="moveLeft"?E>a&&N>=n&&N<=t&&(E-=m,g.borderInfo[z].value.col_index=E):e=="moveUp"&&N>t&&E>=l&&E<=a&&(N-=f,g.borderInfo[z].value.row_index=N),F.push(g.borderInfo[z]))}}g.borderInfo=F}let I=[];for(let F=l;F<=a;F++)I.push(null);if(e=="moveUp"){let F=[];for(let M=n;M<=d.length-1;M++){let N=[];for(let E=l;E<=a;E++)N.push(d[M][E]);F.push(N)}F.splice(0,f);let z=[];for(let M=n;M<=t;M++)z.push(I);F=F.concat(z);for(let M=n;M<=d.length-1;M++)for(let N=l;N<=a;N++)d[M][N]=F[M-n][N-l]}else if(e=="moveLeft")for(let F=n;F<=t;F++)d[F].splice(l,m),d[F]=d[F].concat(I);u.index==h.currentSheetIndex?Mi(d,g,{type:e,str:n,edr:t,stc:l,edc:a},k,x,S,T,R):(u.data=d,u.config=g,u.calcChain=k,u.filter=x.filter,u.filter_select=x.filter_select,u.luckysheet_conditionformat_save=S,u.dataVerification=T,u.hyperlink=R)}function rf(e,n,t,l,a,o,s,u,d,f,m){let g=[];if(e=="moveLeft"){if(n>s||t<o||l>d)g.push({row:[o,s],column:[u,d]});else if(a<u){if(n<=o&&t>=s)g.push({row:[o,s],column:[u-m,d-m]});else if(n>o&&t<s){let y=[{row:[o,n-1],column:[u,d]},{row:[t+1,s],column:[u,d]},{row:[n,t],column:[u-m,d-m]}];g=g.concat(y)}else if(n>o){let y=[{row:[o,n-1],column:[u,d]},{row:[n,s],column:[u-m,d-m]}];g=g.concat(y)}else if(t<s){let y=[{row:[o,t],column:[u-m,d-m]},{row:[t+1,s],column:[u,d]}];g=g.concat(y)}}else if(a>=u){if(l<=u&&a>=d){if(n>o&&t<s){let y=[{row:[o,n-1],column:[u,d]},{row:[t+1,s],column:[u,d]}];g=g.concat(y)}else if(n>o){let y=[{row:[o,n-1],column:[u,d]}];g=g.concat(y)}else if(t<s){let y=[{row:[t+1,s],column:[u,d]}];g=g.concat(y)}}else if(l>u&&a<d){if(n<=o&&t>=s)g.push({row:[o,s],column:[u,d-m]});else if(n>o&&t<s){let y=[{row:[o,n-1],column:[u,d]},{row:[t+1,s],column:[u,d]},{row:[n,t],column:[u,d-m]}];g=g.concat(y)}else if(n>o){let y=[{row:[o,n-1],column:[u,d]},{row:[n,s],column:[u,d-m]}];g=g.concat(y)}else if(t<s){let y=[{row:[o,t],column:[u,d-m]},{row:[t+1,s],column:[u,d]}];g=g.concat(y)}}else if(l>u){if(n<=o&&t>=s)g.push({row:[o,s],column:[u,l-1]});else if(n>o&&t<s){let y=[{row:[o,n-1],column:[u,d]},{row:[t+1,s],column:[u,d]},{row:[n,t],column:[u,l-1]}];g=g.concat(y)}else if(n>o){let y=[{row:[o,n-1],column:[u,d]},{row:[n,s],column:[u,l-1]}];g=g.concat(y)}else if(t<s){let y=[{row:[o,t],column:[u,l-1]},{row:[t+1,s],column:[u,d]}];g=g.concat(y)}}else if(a<d){if(n<=o&&t>=s)g.push({row:[o,s],column:[u-m,d-m]});else if(n>o&&t<s){let y=[{row:[o,n-1],column:[u,d]},{row:[t+1,s],column:[u,d]},{row:[n,t],column:[u-m,d-m]}];g=g.concat(y)}else if(n>o){let y=[{row:[o,n-1],column:[u,d]},{row:[n,s],column:[u-m,d-m]}];g=g.concat(y)}else if(t<s){let y=[{row:[o,t],column:[u-m,d-m]},{row:[t+1,s],column:[u,d]}];g=g.concat(y)}}}}else if(e=="moveUp"){if(l>d||a<u||n>s)g.push({row:[o,s],column:[u,d]});else if(t<o){if(l<=u&&a>=d)g.push({row:[o-f,s-f],column:[u,d]});else if(l>u&&a<d){let y=[{row:[o,s],column:[u,l-1]},{row:[o,s],column:[a+1,d]},{row:[o-f,s-f],column:[l,a]}];g=g.concat(y)}else if(l>u){let y=[{row:[o,s],column:[u,l-1]},{row:[o-f,s-f],column:[l,d]}];g=g.concat(y)}else if(a<d){let y=[{row:[o-f,s-f],column:[u,a]},{row:[o,s],column:[a+1,d]}];g=g.concat(y)}}else if(t>=o){if(n<=o&&t>=s){if(l>u&&a<d){let y=[{row:[o,s],column:[u,l-1]},{row:[o,s],column:[a+1,d]}];g=g.concat(y)}else if(l>u){let y=[{row:[o,s],column:[u,l-1]}];g=g.concat(y)}else if(a<d){let y=[{row:[o,s],column:[a+1,d]}];g=g.concat(y)}}else if(n>o&&t<s){if(l<=u&&a>=d)g.push({row:[o,s-f],column:[u,d]});else if(l>u&&a<d){let y=[{row:[o,s],column:[u,l-1]},{row:[o,s],column:[a+1,d]},{row:[o,s-f],column:[l,a]}];g=g.concat(y)}else if(l>u){let y=[{row:[o,s],column:[u,l-1]},{row:[o,s-f],column:[l,d]}];g=g.concat(y)}else if(a<d){let y=[{row:[o,s-f],column:[u,a]},{row:[o,s],column:[a+1,d]}];g=g.concat(y)}}else if(n>o){if(l<=u&&a>=d)g.push({row:[o,n-1],column:[u,d]});else if(l>u&&a<d){let y=[{row:[o,s],column:[u,l-1]},{row:[o,s],column:[a+1,d]},{row:[o,n-1],column:[l,a]}];g=g.concat(y)}else if(l>u){let y=[{row:[o,s],column:[u,l-1]},{row:[o,n-1],column:[l,d]}];g=g.concat(y)}else if(a<d){let y=[{row:[o,n-1],column:[u,a]},{row:[o,s],column:[a+1,d]}];g=g.concat(y)}}else if(t<s){if(l<=u&&a>=d)g.push({row:[o-f,s-f],column:[u,d]});else if(l>u&&a<d){let y=[{row:[o,s],column:[u,l-1]},{row:[o,s],column:[a+1,d]},{row:[o-f,s-f],column:[l,a]}];g=g.concat(y)}else if(l>u){let y=[{row:[o,s],column:[u,l-1]},{row:[o-f,s-f],column:[l,d]}];g=g.concat(y)}else if(a<d){let y=[{row:[o-f,s-f],column:[u,a]},{row:[o,s],column:[a+1,d]}];g=g.concat(y)}}}}return g}var fa=$e(()=>{Qt();qt();Xt();Zt();gr();yr();Vl();Jt();zr();_l();Dt();Xe();El()});function Ks(e,n,t,l,a){a==null&&(a=!0),h.visibledatarow=[],h.visibledatacolumn=[],h.ch_width=0,h.rh_height=0,h.zoomRatio=1,l!=null?h.config=l:h.config={},t.length==0?h.flowdata=Vt(t,n,e):t.length<n&&t[0].length<e?h.flowdata=Vt(t,n-t.length,e-t[0].length):t.length<n?h.flowdata=Vt(t,n-t.length,0):t[0].length<e?h.flowdata=Vt(t,0,e-t[0].length):h.flowdata=t,we.webWorkerFlowDataCache(h.flowdata),vn(n,e),a&&(ve.showSheet(),setTimeout(function(){ve.restoreCache(),p.execFunctionGroup(),ve.restoreSheetAll(h.currentSheetIndex),Be()},1))}var nf=$e(()=>{Zt();Qt();Ai();qt();Xt();gl();Xe()});var ja,m2,Ke,El=$e(()=>{ll();Wt();gl();qt();jr();vr();cn();Vl();Dt();fa();Sl();Qt();nf();Xe();ja={defaultStore:{container:null,luckysheetfile:null,defaultcolumnNum:60,defaultrowNum:84,fullscreenmode:!0,devicePixelRatio:1,currentSheetIndex:0,calculateSheetIndex:0,flowdata:[],config:{},visibledatarow:[],visibledatacolumn:[],ch_width:0,rh_height:0,cellmainWidth:0,cellmainHeight:0,toolbarHeight:0,infobarHeight:0,calculatebarHeight:0,rowHeaderWidth:46,columnHeaderHeight:20,cellMainSrollBarSize:12,sheetBarHeight:31,statisticBarHeight:23,luckysheetTableContentHW:[0,0],defaultcollen:73,defaultrowlen:19,jfcountfuncTimeout:null,jfautoscrollTimeout:null,luckysheet_select_status:!1,luckysheet_select_save:[{row:[0,0],column:[0,0]}],luckysheet_selection_range:[],luckysheet_copy_save:{},luckysheet_paste_iscut:!1,filterchage:!0,luckysheet_filter_save:{row:[],column:[]},luckysheet_sheet_move_status:!1,luckysheet_sheet_move_data:[],luckysheet_scroll_status:!1,luckysheetisrefreshdetail:!0,luckysheetisrefreshtheme:!0,luckysheetcurrentisPivotTable:!1,luckysheet_rows_selected_status:!1,luckysheet_cols_selected_status:!1,luckysheet_rows_change_size:!1,luckysheet_rows_change_size_start:[],luckysheet_cols_change_size:!1,luckysheet_cols_change_size_start:[],luckysheet_cols_dbclick_timeout:null,luckysheet_cols_dbclick_times:0,luckysheetCellUpdate:[],luckysheet_shiftpositon:null,iscopyself:!0,orderbyindex:0,luckysheet_model_move_state:!1,luckysheet_model_xy:[0,0],luckysheet_model_move_obj:null,luckysheet_cell_selected_move:!1,luckysheet_cell_selected_move_index:[],luckysheet_cell_selected_extend:!1,luckysheet_cell_selected_extend_index:[],luckysheet_cell_selected_extend_time:null,clearjfundo:!0,jfredo:[],jfundo:[],lang:"en",createChart:"",highlightChart:"",zIndex:15,chartparam:{luckysheetCurrentChart:null,luckysheetCurrentChartActive:!1,luckysheetCurrentChartMove:null,luckysheetCurrentChartMoveTimeout:null,luckysheetCurrentChartMoveObj:null,luckysheetCurrentChartMoveXy:null,luckysheetCurrentChartMoveWinH:null,luckysheetCurrentChartMoveWinW:null,luckysheetCurrentChartResize:null,luckysheetCurrentChartResizeObj:null,luckysheetCurrentChartResizeXy:null,luckysheetCurrentChartResizeWinH:null,luckysheetCurrentChartResizeWinW:null,luckysheetInsertChartTosheetChange:!0,luckysheetCurrentChartZIndexRank:100,luckysheet_chart_redo_click:!1,luckysheetCurrentChartMaxState:!1,jfrefreshchartall:"",changeChartCellData:"",renderChart:"",getChartJson:""},functionList:null,luckysheet_function:null,chart_selection:{},currentChart:"",scrollRefreshSwitch:!0,measureTextCache:{},measureTextCellInfoCache:{},measureTextCacheTimeOut:null,cellOverflowMapCache:{},zoomRatio:1,visibledatacolumn_unique:null,visibledatarow_unique:null,showGridLines:!0,toobarObject:{},inlineStringEditCache:null,inlineStringEditRange:null,fontList:[],currentSheetView:"viewNormal"},defaultFormula:{searchFunctionCell:null,functionlistPosition:{},rangechangeindex:null,rangestart:!1,rangetosheet:null,rangeSetValueTo:null,func_selectedrange:{},rangedrag_column_start:!1,rangedrag_row_start:!1,rangeResizeObj:null,rangeResize:null,rangeResizeIndex:null,rangeResizexy:null,rangeResizeWinH:null,rangeResizeWinW:null,rangeResizeTo:null,rangeMovexy:null,rangeMove:!1,rangeMoveObj:null,rangeMoveIndex:null,rangeMoveRangedata:null,functionHTMLIndex:0,functionRangeIndex:null,execvertex:{},execFunctionGroupData:null,execFunctionExist:null,formulaContainSheetList:{},cellTextToIndexList:{},isFunctionRangeSave:!1,formulaContainCellList:{},execFunctionGlobalData:{},groupValuesRefreshData:[],functionResizeData:{},functionResizeStatus:!1,functionResizeTimeout:null,data_parm_index:0},defaultSheet:{sheetMaxIndex:0,nulldata:null,mergeCalculationSheet:{},checkLoadSheetIndexToDataIndex:{},CacheNotLoadControll:[]},defaultPivotTable:{pivotDatas:null,pivotSheetIndex:0,pivotDataSheetIndex:0,celldata:null,origindata:null,pivot_data_type:{},pivot_select_save:null,column:null,row:null,values:null,filter:null,showType:null,rowhidden:null,selected:null,caljs:null,initial:!0,filterparm:null,luckysheet_pivotTable_select_state:!1,jgridCurrentPivotInput:null,movestate:!1,moveitemposition:[],movesave:{},drawPivotTable:!0,pivotTableBoundary:[12,6]},defaultImage:{imgItem:{type:"3",src:"",originWidth:null,originHeight:null,default:{width:null,height:null,left:null,top:null},crop:{width:null,height:null,offsetLeft:0,offsetTop:0},isFixedPos:!1,fixedLeft:null,fixedTop:null,border:{width:0,radius:0,style:"solid",color:"#000"}},images:null,currentImgId:null,currentWinW:null,currentWinH:null,resize:null,resizeXY:null,move:!1,moveXY:null,cropChange:null,cropChangeXY:null,cropChangeObj:null,copyImgItemObj:null},defaultDataVerification:{defaultItem:{type:"dropdown",type2:null,value1:"",value2:"",checked:!1,remote:!1,prohibitInput:!1,hintShow:!1,hintText:""},curItem:null,dataVerification:null,selectRange:[],selectStatus:!1}},m2={addDataAjax:function(e,n,t,l){let a=this;n==null&&(n=h.currentSheetIndex),t==null&&(t=ne.loadSheetUrl),$("#luckysheet-grid-window-1").append(Nr()),e.currentPage++;let o="application/json;charset=UTF-8",s=sessionStorage.getItem("x-auth-token");$.ajax({method:"POST",url:t,headers:{"x-auth-token":s},data:JSON.stringify(e),contentType:o,success:function(u){typeof u=="string"&&(u=JSON.parse(u));let d=u.data,f=d.celldata;_o(d.row,f),setTimeout(function(){h.loadingObj.close()},500),l&&typeof l=="function"&&l(d)}})},reload:function(e,n,t,l){let a=this;n==null&&(n=h.currentSheetIndex),t==null&&(t=ne.loadSheetUrl),$("#luckysheet-grid-window-1").append(Nr());let o={gridKey:ne.gridKey,index:n};e=$.extend(!0,e,o);let s=h.luckysheetfile[K(n)];$.post(t,e,function(u){let d=new Function("return "+u)();s.celldata=d[n.toString()];let f=ve.buildGridData(s);setTimeout(function(){h.loadingObj.close()},500),s.data=f,h.flowdata=f,we.webWorkerFlowDataCache(f),Ks(f[0].length,f.length,f,null,!1),s.load="1",h.luckysheet_select_save.length=0,h.luckysheet_selection_range=[],ne.saveParam("shs",null,h.currentSheetIndex),ve.changeSheet(n),l&&typeof l=="function"&&l()})},clearSheetByIndex:function(e){let n=K(e),t=h.luckysheetfile[n];t.isPivotTable?delete h.luckysheetfile[n]:(t.data=[],t.row=h.defaultrowNum,t.column=h.defaultcolumnNum,t.chart=[],t.config=null,t.filter=null,t.filter_select=null,t.celldata=[],t.pivotTable={},t.calcChain=[],t.status=0,t.load=0,h.flowdata=[],we.webWorkerFlowDataCache(h.flowdata),$("#"+h.container+" .luckysheet-data-visualization-chart").remove(),$("#"+h.container+" .luckysheet-datavisual-selection-set").remove(),$("#luckysheet-row-count-show, #luckysheet-formula-functionrange-select, #luckysheet-row-count-show, #luckysheet-column-count-show, #luckysheet-change-size-line, #luckysheet-cell-selected-focus, #luckysheet-selection-copy, #luckysheet-cell-selected-extend, #luckysheet-cell-selected-move, #luckysheet-cell-selected").hide(),delete t.load)},clear:function(e){let n=this;if(e=="all")for(let t=0;t<h.luckysheetfile.length;t++){let l=h.luckysheetfile[t];n.clearSheetByIndex(l.index)}else e==null&&(e=h.currentSheetIndex),n.clearSheetByIndex(e);ve.changeSheet(h.luckysheetfile[0].index)},destroy:function(){$("#"+h.container).empty(),$("body > .luckysheet-cols-menu").remove(),$("#luckysheet-modal-dialog-mask, #luckysheetTextSizeTest, #luckysheet-icon-morebtn-div").remove(),$("#luckysheet-input-box").parent().remove(),$("#luckysheet-formula-help-c").remove(),$(".chartSetting, .luckysheet-modal-dialog-slider").remove(),$(document).off(".luckysheetEvent"),$(document).off(".luckysheetProtection"),X.initialHorizontal=!0,X.initialVertical=!0;let e=$.extend(!0,{},ja.defaultStore);for(let s in e)s in h&&(h[s]=e[s]);let n=$.extend(!0,{},ja.defaultFormula);for(let s in n)s in p&&(p[s]=n[s]);let t=$.extend(!0,{},ja.defaultSheet);for(let s in t)s in ve&&(ve[s]=t[s]);let l=$.extend(!0,{},ja.defaultPivotTable);for(let s in l)s in Oe&&(Oe[s]=l[s]);let a=$.extend(!0,{},ja.defaultImage);for(let s in a)s in Ie&&(Ie[s]=a[s]);let o=$.extend(!0,{},ja.defaultDataVerification);for(let s in o)s in Ye&&(Ye[s]=o[s]);h.asyncLoad=["core"]},editorChart:function(e){let n=Yl[0],t="luckysheetEditMode-datav-chart",l=t+"_selection";e.chart_id=t;let a=e.chartTheme;a=a==null?"default0000":a,luckysheet.insertChartTosheet(e.sheetIndex,e.dataSheetIndex,e.option,e.chartType,e.selfOption,e.defaultOption,e.row,e.column,n,t,l,e.chartStyle,e.rangeConfigCheck,e.rangeRowCheck,e.rangeColCheck,e.chartMarkConfig,e.chartTitleConfig,e.winWidth,e.winHeight,e.scrollLeft,e.scrollTop,a,e.myWidth,e.myHeight,e.myLeft!=null?parseFloat(e.myLeft):null,e.myTop!=null?parseFloat(e.myTop):null,e.myindexrank,!0),$("#"+t).find(".luckysheet-modal-controll-update").click()},createHookFunction:function(){let e=arguments[0];if(me.hook&&me.hook[e]!=null&&typeof me.hook[e]=="function"){var n=Array.prototype.slice.apply(arguments);return n.shift(),me.hook[e].apply(this,n)!==!1}return!0}},Ke=m2});var p2,He,Gr=$e(()=>{Zl();Qt();qt();gn();Xt();Rn();Dt();ht();Vl();ol();_l();ll();Xe();El();p2={defaultWidth:144,defaultHeight:84,currentObj:null,currentWinW:null,currentWinH:null,resize:null,resizeXY:null,move:!1,moveXY:null,init:function(){let e=this;$("#luckysheet-postil-showBoxs").off("mousedown.showPs").on("mousedown.showPs",".luckysheet-postil-show",function(n){if(!!It(h.currentSheetIndex,"editObjects",!1)){if(e.currentObj=$(this).find(".luckysheet-postil-show-main"),$(this).hasClass("luckysheet-postil-show-active")){n.stopPropagation();return}e.removeActivePs(),$(this).addClass("luckysheet-postil-show-active"),$(this).find(".luckysheet-postil-dialog-resize").show(),$(this).find(".arrowCanvas").css("z-index",200),$(this).find(".luckysheet-postil-show-main").css("z-index",200),n.stopPropagation()}}),$("#luckysheet-postil-showBoxs").off("mouseup.showPs").on("mouseup.showPs",".luckysheet-postil-show",function(n){n.which=="3"&&n.stopPropagation()}),$("#luckysheet-postil-showBoxs").off("mousedown.resize").on("mousedown.resize",".luckysheet-postil-show .luckysheet-postil-dialog-resize .luckysheet-postil-dialog-resize-item",function(n){if(!It(h.currentSheetIndex,"editObjects",!1))return;e.currentObj=$(this).closest(".luckysheet-postil-show-main"),e.currentWinW=$("#luckysheet-cell-main")[0].scrollWidth,e.currentWinH=$("#luckysheet-cell-main")[0].scrollHeight,e.resize=$(this).data("type");let t=$("#luckysheet-cell-main").scrollTop(),l=$("#luckysheet-cell-main").scrollLeft(),a=nt(n.pageX,n.pageY),o=a[0]+l,s=a[1]+t,u=e.currentObj.position(),d=e.currentObj.width(),f=e.currentObj.height();if(e.resizeXY=[o,s,d,f,u.left+l,u.top+t,l,t],tn(!0),$(this).closest(".luckysheet-postil-show").hasClass("luckysheet-postil-show-active")){n.stopPropagation();return}e.removeActivePs(),$(this).closest(".luckysheet-postil-show").addClass("luckysheet-postil-show-active"),$(this).closest(".luckysheet-postil-show").find(".luckysheet-postil-dialog-resize").show(),$(this).closest(".luckysheet-postil-show").find(".arrowCanvas").css("z-index",200),$(this).closest(".luckysheet-postil-show").find(".luckysheet-postil-show-main").css("z-index",200),n.stopPropagation()}),$("#luckysheet-postil-showBoxs").off("mousedown.move").on("mousedown.move",".luckysheet-postil-show .luckysheet-postil-dialog-move .luckysheet-postil-dialog-move-item",function(n){if(!It(h.currentSheetIndex,"editObjects",!1))return;e.currentObj=$(this).closest(".luckysheet-postil-show-main"),e.currentWinW=$("#luckysheet-cell-main")[0].scrollWidth,e.currentWinH=$("#luckysheet-cell-main")[0].scrollHeight,e.move=!0;let t=$("#luckysheet-cell-main").scrollTop(),l=$("#luckysheet-cell-main").scrollLeft(),a=e.currentObj.offset(),o=e.currentObj.position();if(e.moveXY=[n.pageX-a.left,n.pageY-a.top,o.left,o.top,l,t],tn(!0),$(this).closest(".luckysheet-postil-show").hasClass("luckysheet-postil-show-active")){n.stopPropagation();return}e.removeActivePs(),$(this).closest(".luckysheet-postil-show").addClass("luckysheet-postil-show-active"),$(this).closest(".luckysheet-postil-show").find(".luckysheet-postil-dialog-resize").show(),$(this).closest(".luckysheet-postil-show").find(".arrowCanvas").css("z-index",200),$(this).closest(".luckysheet-postil-show").find(".luckysheet-postil-show-main").css("z-index",200),n.stopPropagation()})},overshow:function(e){let n=this;if($("#luckysheet-postil-overshow").remove(),$(e.target).closest("#luckysheet-cell-main").length==0)return;let t=nt(e.pageX,e.pageY),l=$("#luckysheet-cell-main").scrollLeft(),a=$("#luckysheet-cell-main").scrollTop(),o=t[0],s=t[1],u=0,d=0;X.freezenverticaldata!=null&&t[0]<X.freezenverticaldata[0]-X.freezenverticaldata[2]?u=l:o+=l,X.freezenhorizontaldata!=null&&t[1]<X.freezenhorizontaldata[0]-X.freezenhorizontaldata[2]?d=a:s+=a;let f=xt(s)[2],m=bt(o)[2],g=be.mergeborer(h.flowdata,f,m);if(g&&(f=g.row[2],m=g.column[2]),h.flowdata[f]==null||h.flowdata[f][m]==null||h.flowdata[f][m].ps==null)return;let y=h.flowdata[f][m].ps;if(y.isshow||$("#luckysheet-postil-show_"+f+"_"+m).length>0)return;let v=y.value==null?"":y.value,k=h.visibledatarow[f],b=f-1==-1?0:h.visibledatarow[f-1],w=h.visibledatacolumn[m],x=m-1==-1?0:h.visibledatacolumn[m-1];g&&(k=g.row[1],b=g.row[0],w=g.column[1],x=g.column[0]);let C=w+u,S=b+d,_=C+18*h.zoomRatio,T=S-18*h.zoomRatio;T<0&&(T=2);let A=y.width==null?n.defaultWidth*h.zoomRatio:y.width*h.zoomRatio,R=y.height==null?n.defaultHeight*h.zoomRatio:y.height*h.zoomRatio,I=n.getArrowCanvasSize(_,T,C,S),F="",z=v.split(`
  2461. `);for(let E of z)F+="<div>"+n.htmlEscape(E)+"</div>";let M='<div id="luckysheet-postil-overshow"><canvas class="arrowCanvas" width="'+I[2]+'" height="'+I[3]+'" style="position:absolute;left:'+I[0]+"px;top:"+I[1]+'px;z-index:100;pointer-events:none;"></canvas><div style="width:'+(A-12)+"px;min-height:"+(R-12)+"px;color:#000;padding:5px;border:1px solid #000;background-color:rgb(255,255,225);position:absolute;left:"+_+"px;top:"+T+'px;z-index:100;">'+F+"</div></div>";$(M).appendTo($("#luckysheet-cell-main"));let N=$("#luckysheet-postil-overshow .arrowCanvas").get(0).getContext("2d");n.drawArrow(N,I[4],I[5],I[6],I[7])},getArrowCanvasSize:function(e,n,t,l){let a=t-5;e<t&&(a=e-5);let o=l-5;n<l&&(o=n-5);let s=Math.abs(e-t)+10,u=Math.abs(n-l)+10,d=s-5,f=5;e<t&&(d=5,f=s-5);let m=u-5,g=5;return n<l&&(m=5,g=u-5),[a,o,s,u,d,m,f,g]},drawArrow:function(e,n,t,l,a,o,s,u,d){o=P(o)=="undefined"?30:o,s=P(s)=="undefined"?6:s,u=P(u)=="undefined"?1:u,d=P(d)=="undefined"?"#000":d;let f=Math.atan2(t-a,n-l)*180/Math.PI,m=(f+o)*Math.PI/180,g=(f-o)*Math.PI/180,y=s*Math.cos(m),v=s*Math.sin(m),k=s*Math.cos(g),b=s*Math.sin(g);e.save(),e.beginPath();let w=n-y,x=t-v;e.moveTo(w,x),e.moveTo(n,t),e.lineTo(l,a),e.lineWidth=u,e.strokeStyle=d,e.stroke(),w=l+y,x=a+v,e.moveTo(w,x),e.lineTo(l,a),w=l+k,x=a+b,e.lineTo(w,x),e.fillStyle=d,e.fill(),e.restore()},buildAllPs:function(e){let n=this;$("#luckysheet-cell-main #luckysheet-postil-showBoxs").empty();for(let t=0;t<e.length;t++)for(let l=0;l<e[0].length;l++)if(e[t][l]!=null&&e[t][l].ps!=null){let a=e[t][l].ps;n.buildPs(t,l,a)}n.init()},buildPs:function(e,n,t){if($("#luckysheet-postil-show_"+e+"_"+n).length>0&&$("#luckysheet-postil-show_"+e+"_"+n).remove(),t==null)return;let l=this;if(t.isshow==null?!1:t.isshow){let o=h.visibledatarow[e],s=e-1==-1?0:h.visibledatarow[e-1],u=h.visibledatacolumn[n],d=n-1==-1?0:h.visibledatacolumn[n-1],f=be.mergeborer(h.flowdata,e,n);f&&(o=f.row[1],s=f.row[0],u=f.column[1],d=f.column[0]);let m=u,g=s,y=t.left==null?m+18*h.zoomRatio:t.left*h.zoomRatio,v=t.top==null?g-18*h.zoomRatio:t.top*h.zoomRatio,k=t.width==null?l.defaultWidth*h.zoomRatio:t.width*h.zoomRatio,b=t.height==null?l.defaultHeight*h.zoomRatio:t.height*h.zoomRatio,w=t.value==null?"":t.value;v<0&&(v=2);let x=l.getArrowCanvasSize(y,v,m,g),C="",S=w.split(`
  2462. `);for(let A of S)C+="<div>"+l.htmlEscape(A)+"</div>";let _='<div id="luckysheet-postil-show_'+e+"_"+n+'" class="luckysheet-postil-show"><canvas class="arrowCanvas" width="'+x[2]+'" height="'+x[3]+'" style="position:absolute;left:'+x[0]+"px;top:"+x[1]+'px;z-index:100;pointer-events:none;"></canvas><div class="luckysheet-postil-show-main" style="width:'+k+"px;height:"+b+"px;color:#000;padding:5px;border:1px solid #000;background-color:rgb(255,255,225);position:absolute;left:"+y+"px;top:"+v+'px;box-sizing:border-box;z-index:100;"><div class="luckysheet-postil-dialog-move"><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-t" data-type="t"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-r" data-type="r"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-b" data-type="b"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-l" data-type="l"></div></div><div class="luckysheet-postil-dialog-resize" style="display:none;"><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lt" data-type="lt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-mt" data-type="mt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lm" data-type="lm"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rm" data-type="rm"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rt" data-type="rt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lb" data-type="lb"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-mb" data-type="mb"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rb" data-type="rb"></div></div><div style="width:100%;height:100%;overflow:hidden;"><div class="formulaInputFocus" style="width:'+(k-12)+"px;height:"+(b-12)+'px;line-height:20px;box-sizing:border-box;text-align: center;;word-break:break-all;" spellcheck="false" contenteditable="true">'+C+"</div></div></div></div>";$(_).appendTo($("#luckysheet-cell-main #luckysheet-postil-showBoxs"));let T=$("#luckysheet-postil-show_"+e+"_"+n+" .arrowCanvas").get(0).getContext("2d");l.drawArrow(T,x[4],x[5],x[6],x[7])}},newPs:function(e,n){if(!It(h.currentSheetIndex,"editObjects")||!Ke.createHookFunction("commentInsertBefore",e,n))return;let t=this,l=h.visibledatarow[e],a=e-1==-1?0:h.visibledatarow[e-1],o=h.visibledatacolumn[n],s=n-1==-1?0:h.visibledatacolumn[n-1],u=be.mergeborer(h.flowdata,e,n);u&&(l=u.row[1],a=u.row[0],o=u.column[1],s=u.column[0]);let d=o,f=a,m=d+18*h.zoomRatio,g=f-18*h.zoomRatio;g<0&&(g=2);let y=t.defaultWidth*h.zoomRatio,v=t.defaultHeight*h.zoomRatio,k=t.getArrowCanvasSize(m,g,d,f),b='<div id="luckysheet-postil-show_'+e+"_"+n+'" class="luckysheet-postil-show luckysheet-postil-show-active"><canvas class="arrowCanvas" width="'+k[2]+'" height="'+k[3]+'" style="position:absolute;left:'+k[0]+"px;top:"+k[1]+'px;z-index:100;pointer-events:none;"></canvas><div class="luckysheet-postil-show-main" style="width:'+y+"px;height:"+v+"px;color:#000;padding:5px;border:1px solid #000;background-color:rgb(255,255,225);position:absolute;left:"+m+"px;top:"+g+'px;box-sizing:border-box;z-index:100;"><div class="luckysheet-postil-dialog-move"><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-t" data-type="t"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-r" data-type="r"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-b" data-type="b"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-l" data-type="l"></div></div><div class="luckysheet-postil-dialog-resize"><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lt" data-type="lt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-mt" data-type="mt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lm" data-type="lm"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rm" data-type="rm"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rt" data-type="rt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lb" data-type="lb"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-mb" data-type="mb"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rb" data-type="rb"></div></div><div style="width:100%;height:100%;overflow:hidden;"><div class="formulaInputFocus" style="width:132px;height:72px;line-height:20px;box-sizing:border-box;text-align: center;word-break:break-all;" spellcheck="false" contenteditable="true"></div></div></div></div>';$(b).appendTo($("#luckysheet-cell-main #luckysheet-postil-showBoxs"));let w=$("#luckysheet-postil-show_"+e+"_"+n+" .arrowCanvas").get(0).getContext("2d");t.drawArrow(w,k[4],k[5],k[6],k[7]),$("#luckysheet-postil-show_"+e+"_"+n+" .formulaInputFocus").focus(),t.init();let x=we.deepCopyFlowData(h.flowdata),C=[];x[e][n]==null&&(x[e][n]={}),x[e][n].ps={left:null,top:null,width:null,height:null,value:"",isshow:!1},C.push(e+"_"+n),t.ref(x,C),setTimeout(()=>{Ke.createHookFunction("commentInsertAfter",e,n,x[e][n])},0)},editPs:function(e,n){let t=this;if(!!It(h.currentSheetIndex,"editObjects")){if($("#luckysheet-postil-show_"+e+"_"+n).length>0)$("#luckysheet-postil-show_"+e+"_"+n).show(),$("#luckysheet-postil-show_"+e+"_"+n).addClass("luckysheet-postil-show-active"),$("#luckysheet-postil-show_"+e+"_"+n).find(".luckysheet-postil-dialog-resize").show();else{let l=h.flowdata[e][n].ps,a=h.visibledatarow[e],o=e-1==-1?0:h.visibledatarow[e-1],s=h.visibledatacolumn[n],u=n-1==-1?0:h.visibledatacolumn[n-1],d=be.mergeborer(h.flowdata,e,n);d&&(a=d.row[1],o=d.row[0],s=d.column[1],u=d.column[0]);let f=s,m=o,g=l.left==null?f+18*h.zoomRatio:l.left*h.zoomRatio,y=l.top==null?m-18*h.zoomRatio:l.top*h.zoomRatio,v=l.width==null?t.defaultWidth*h.zoomRatio:l.width*h.zoomRatio,k=l.height==null?t.defaultHeight*h.zoomRatio:l.height*h.zoomRatio,b=l.value==null?"":l.value;y<0&&(y=2);let w=t.getArrowCanvasSize(g,y,f,m),x="",C=b.split(`
  2463. `);for(let T of C)x+="<div>"+t.htmlEscape(T)+"</div>";let S='<div id="luckysheet-postil-show_'+e+"_"+n+'" class="luckysheet-postil-show luckysheet-postil-show-active"><canvas class="arrowCanvas" width="'+w[2]+'" height="'+w[3]+'" style="position:absolute;left:'+w[0]+"px;top:"+w[1]+'px;z-index:100;pointer-events:none;"></canvas><div class="luckysheet-postil-show-main" style="width:'+v+"px;height:"+k+"px;color:#000;padding:5px;border:1px solid #000;background-color:rgb(255,255,225);position:absolute;left:"+g+"px;top:"+y+'px;box-sizing:border-box;z-index:100;"><div class="luckysheet-postil-dialog-move"><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-t" data-type="t"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-r" data-type="r"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-b" data-type="b"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-l" data-type="l"></div></div><div class="luckysheet-postil-dialog-resize"><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lt" data-type="lt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-mt" data-type="mt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lm" data-type="lm"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rm" data-type="rm"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rt" data-type="rt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lb" data-type="lb"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-mb" data-type="mb"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rb" data-type="rb"></div></div><div style="width:100%;height:100%;overflow:hidden;"><div class="formulaInputFocus" style="width:'+(v-12)+"px;height:"+(k-12)+'px;line-height:20px;box-sizing:border-box;text-align: center;;word-break:break-all;" spellcheck="false" contenteditable="true">'+x+"</div></div></div></div>";$(S).appendTo($("#luckysheet-cell-main #luckysheet-postil-showBoxs"));let _=$("#luckysheet-postil-show_"+e+"_"+n+" .arrowCanvas").get(0).getContext("2d");t.drawArrow(_,w[4],w[5],w[6],w[7])}$("#luckysheet-postil-show_"+e+"_"+n+" .formulaInputFocus").focus(),Cr($("#luckysheet-postil-show_"+e+"_"+n+" .formulaInputFocus").get(0)),t.init()}},delPs:function(e,n){if(!It(h.currentSheetIndex,"editObjects")||!Ke.createHookFunction("commentDeleteBefore",e,n,h.flowdata[e][n]))return;$("#luckysheet-postil-show_"+e+"_"+n).length>0&&$("#luckysheet-postil-show_"+e+"_"+n).remove();let t=we.deepCopyFlowData(h.flowdata),l=[];delete t[e][n].ps,l.push(e+"_"+n),this.ref(t,l),setTimeout(()=>{Ke.createHookFunction("commentDeleteAfter",e,n,h.flowdata[e][n])},0)},showHidePs:function(e,n){let t=this,l=h.flowdata[e][n].ps,a=l.isshow,o=we.deepCopyFlowData(h.flowdata),s=[];if(a)o[e][n].ps.isshow=!1,$("#luckysheet-postil-show_"+e+"_"+n).remove();else{o[e][n].ps.isshow=!0;let u=h.visibledatarow[e],d=e-1==-1?0:h.visibledatarow[e-1],f=h.visibledatacolumn[n],m=n-1==-1?0:h.visibledatacolumn[n-1],g=be.mergeborer(h.flowdata,e,n);g&&(u=g.row[1],d=g.row[0],f=g.column[1],m=g.column[0]);let y=$("#luckysheet-cell-main").scrollLeft(),v=$("#luckysheet-cell-main").scrollTop(),k=f,b=d;X.freezenverticaldata!=null&&k<X.freezenverticaldata[0]-X.freezenverticaldata[2]&&(k+=y),X.freezenhorizontaldata!=null&&b<X.freezenhorizontaldata[0]-X.freezenhorizontaldata[2]&&(b+=v);let w=l.left==null?k+18*h.zoomRatio:l.left*h.zoomRatio,x=l.top==null?b-18*h.zoomRatio:l.top*h.zoomRatio,C=l.width==null?t.defaultWidth*h.zoomRatio:l.width*h.zoomRatio,S=l.height==null?t.defaultHeight*h.zoomRatio:l.height*h.zoomRatio,_=l.value==null?"":l.value;x<0&&(x=2);let T=t.getArrowCanvasSize(w,x,k,b),A="",R=_.split(`
  2464. `);for(let z of R)A+="<div>"+t.htmlEscape(z)+"</div>";let I='<div id="luckysheet-postil-show_'+e+"_"+n+'" class="luckysheet-postil-show"><canvas class="arrowCanvas" width="'+T[2]+'" height="'+T[3]+'" style="position:absolute;left:'+T[0]+"px;top:"+T[1]+'px;z-index:100;pointer-events:none;"></canvas><div class="luckysheet-postil-show-main" style="width:'+C+"px;height:"+S+"px;color:#000;padding:5px;border:1px solid #000;background-color:rgb(255,255,225);position:absolute;left:"+w+"px;top:"+x+'px;box-sizing:border-box;z-index:100;"><div class="luckysheet-postil-dialog-move"><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-t" data-type="t"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-r" data-type="r"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-b" data-type="b"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-l" data-type="l"></div></div><div class="luckysheet-postil-dialog-resize" style="display:none;"><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lt" data-type="lt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-mt" data-type="mt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lm" data-type="lm"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rm" data-type="rm"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rt" data-type="rt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lb" data-type="lb"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-mb" data-type="mb"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rb" data-type="rb"></div></div><div style="width:100%;height:100%;overflow:hidden;"><div class="formulaInputFocus" style="width:'+(C-12)+"px;height:"+(S-12)+'px;line-height:20px;box-sizing:border-box;text-align: center;;word-break:break-all;" spellcheck="false" contenteditable="true">'+A+"</div></div></div></div>";$(I).appendTo($("#luckysheet-cell-main #luckysheet-postil-showBoxs"));let F=$("#luckysheet-postil-show_"+e+"_"+n+" .arrowCanvas").get(0).getContext("2d");t.drawArrow(F,T[4],T[5],T[6],T[7]),t.init()}s.push(e+"_"+n),t.ref(o,s)},showHideAllPs:function(){let e=this,n=we.deepCopyFlowData(h.flowdata),t=!0,l=[];for(let o=0;o<n.length;o++)for(let s=0;s<n[0].length;s++)n[o]!=null&&n[o][s]!=null&&n[o][s].ps!=null&&(l.push(o+"_"+s),n[o][s].ps.isshow||(t=!1));let a=[];if(l.length>0)if(t){$("#luckysheet-cell-main #luckysheet-postil-showBoxs").empty();for(let o=0;o<l.length;o++){let s=l[o].split("_")[0],u=l[o].split("_")[1];n[s][u].ps.isshow&&(n[s][u].ps.isshow=!1,a.push(l[o]))}}else for(let o=0;o<l.length;o++){let s=l[o].split("_")[0],u=l[o].split("_")[1],d=n[s][u].ps;if(!d.isshow){let f=h.visibledatarow[s],m=s-1==-1?0:h.visibledatarow[s-1],g=h.visibledatacolumn[u],y=u-1==-1?0:h.visibledatacolumn[u-1],v=be.mergeborer(h.flowdata,s,u);v&&(f=v.row[1],m=v.row[0],g=v.column[1],y=v.column[0]);let k=$("#luckysheet-cell-main").scrollLeft(),b=$("#luckysheet-cell-main").scrollTop(),w=g,x=m;X.freezenverticaldata!=null&&w<X.freezenverticaldata[0]-X.freezenverticaldata[2]&&(w+=k),X.freezenhorizontaldata!=null&&x<X.freezenhorizontaldata[0]-X.freezenhorizontaldata[2]&&(x+=b);let C=d.left==null?w+18*h.zoomRatio:d.left*h.zoomRatio,S=d.top==null?x-18*h.zoomRatio:d.top*h.zoomRatio,_=d.width==null?e.defaultWidth*h.zoomRatio:d.width*h.zoomRatio,T=d.height==null?e.defaultHeight*h.zoomRatio:d.height*h.zoomRatio,A=d.value==null?"":d.value;S<0&&(S=2);let R=e.getArrowCanvasSize(C,S,w,x),I="",F=A.split(`
  2465. `);for(let N of F)I+="<div>"+e.htmlEscape(N)+"</div>";let z='<div id="luckysheet-postil-show_'+s+"_"+u+'" class="luckysheet-postil-show"><canvas class="arrowCanvas" width="'+R[2]+'" height="'+R[3]+'" style="position:absolute;left:'+R[0]+"px;top:"+R[1]+'px;z-index:100;pointer-events:none;"></canvas><div class="luckysheet-postil-show-main" style="width:'+_+"px;height:"+T+"px;color:#000;padding:5px;border:1px solid #000;background-color:rgb(255,255,225);position:absolute;left:"+C+"px;top:"+S+'px;box-sizing:border-box;z-index:100;"><div class="luckysheet-postil-dialog-move"><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-t" data-type="t"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-r" data-type="r"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-b" data-type="b"></div><div class="luckysheet-postil-dialog-move-item luckysheet-postil-dialog-move-item-l" data-type="l"></div></div><div class="luckysheet-postil-dialog-resize" style="display:none;"><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lt" data-type="lt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-mt" data-type="mt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lm" data-type="lm"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rm" data-type="rm"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rt" data-type="rt"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-lb" data-type="lb"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-mb" data-type="mb"></div><div class="luckysheet-postil-dialog-resize-item luckysheet-postil-dialog-resize-item-rb" data-type="rb"></div></div><div style="width:100%;height:100%;overflow:hidden;"><div class="formulaInputFocus" style="width:'+(_-12)+"px;height:"+(T-12)+'px;line-height:20px;box-sizing:border-box;text-align: center;;word-break:break-all;" spellcheck="false" contenteditable="true">'+I+"</div></div></div></div>";$(z).appendTo($("#luckysheet-cell-main #luckysheet-postil-showBoxs"));let M=$("#luckysheet-postil-show_"+s+"_"+u+" .arrowCanvas").get(0).getContext("2d");e.drawArrow(M,R[4],R[5],R[6],R[7]),n[s][u].ps.isshow=!0,a.push(l[o])}}e.ref(n,a),e.init()},removeActivePs:function(){if($("#luckysheet-postil-showBoxs .luckysheet-postil-show-active").length>0){let e=$("#luckysheet-postil-showBoxs .luckysheet-postil-show-active").attr("id"),n=e.split("luckysheet-postil-show_")[1].split("_")[0],t=e.split("luckysheet-postil-show_")[1].split("_")[1],l=$("#"+e).find(".formulaInputFocus").html().replaceAll("<div>",`
  2466. `).replaceAll(/<(.*)>.*?|<(.*) \/>/g,"").trim();if(!Ke.createHookFunction("commentUpdateBefore",n,t,l)){h.flowdata[n][t].ps.isshow||$("#"+e).remove();return}let a=$.extend(!0,{},h.flowdata[n][t]);$("#"+e).removeClass("luckysheet-postil-show-active"),$("#"+e).find(".luckysheet-postil-dialog-resize").hide(),$("#"+e).find(".arrowCanvas").css("z-index",100),$("#"+e).find(".luckysheet-postil-show-main").css("z-index",100);let o=we.deepCopyFlowData(h.flowdata),s=[];o[n][t].ps.value=l,s.push(n+"_"+t),this.ref(o,s),o[n][t].ps.isshow||$("#"+e).remove(),setTimeout(()=>{Ke.createHookFunction("commentUpdateAfter",n,t,a,o[n][t])},0)}},ref:function(e,n){if(h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"postil",data:h.flowdata,curdata:e,sheetIndex:h.currentSheetIndex,rc:n})),h.flowdata=e,we.webWorkerFlowDataCache(h.flowdata),h.luckysheetfile[K(h.currentSheetIndex)].data=h.flowdata,ne.allowUpdate)for(let t=0;t<n.length;t++){let l=n[t].split("_")[0],a=n[t].split("_")[1];ne.saveParam("v",h.currentSheetIndex,h.flowdata[l][a],{r:l,c:a})}setTimeout(function(){Be()},1)},positionSync:function(){let e=this;$("#luckysheet-postil-showBoxs .luckysheet-postil-show").each(function(n,t){let l=$(t).attr("id"),a=l.split("luckysheet-postil-show_")[1].split("_")[0],o=l.split("luckysheet-postil-show_")[1].split("_")[1],s=h.flowdata[a][o];s!=null&&s.ps!=null?e.buildPs(a,o,s.ps):$("#"+l).hide()})},htmlEscape:function(e){return e.replace(/[<>"&]/g,function(n,t,l){switch(console.log(n,t,l),n){case"<":return"&lt";case">":return"&gt";case"&":return"&amp";case'"':return"&quot;"}})}},He=p2});function Zs(e,n,t,l,a){let o={},s,u;a==null?(s=h.config,u=h.flowdata):(s=h.luckysheetfile[K(a)].config,u=h.luckysheetfile[K(a)].data);let d=s.borderInfo;if(d!=null&&d.length>0)for(let f=0;f<d.length;f++){let m=d[f].rangeType;if(m=="range"){let g=d[f].borderType,y=d[f].color,v=d[f].style,k=d[f].range;for(let b=0;b<k.length;b++){let w=k[b].row[0],x=k[b].row[1],C=k[b].column[0],S=k[b].column[1];if(w<e&&(w=e),x>n&&(x=n),C<t&&(C=t),S>l&&(S=l),g=="border-left")for(let _=w;_<=x;_++){if(s.rowhidden!=null&&s.rowhidden[_]!=null)continue;o[_+"_"+C]==null&&(o[_+"_"+C]={}),o[_+"_"+C].l={color:y,style:v};let T=C-1;if(T>=0&&o[_+"_"+T])if(u[_]!=null&&P(u[_][T])=="object"&&u[_][T].mc!=null){let R=u[_][T],I=s.merge[R.mc.r+"_"+R.mc.c];I.c+I.cs-1==T&&(o[_+"_"+T].r={color:y,style:v})}else o[_+"_"+T].r={color:y,style:v};let A=s.merge||{};for(let R in A){let{c:I,r:F,cs:z,rs:M}=A[R];C<=I+z-1&&C>I&&_>=F&&_<=F+M-1&&(o[_+"_"+C].l=null)}}else if(g=="border-right")for(let _=w;_<=x;_++){if(s.rowhidden!=null&&s.rowhidden[_]!=null)continue;o[_+"_"+S]==null&&(o[_+"_"+S]={}),o[_+"_"+S].r={color:y,style:v};let T=S+1;if(T<u[0].length&&o[_+"_"+T])if(u[_]!=null&&P(u[_][T])=="object"&&u[_][T].mc!=null){let R=u[_][T];s.merge[R.mc.r+"_"+R.mc.c].c==T&&(o[_+"_"+T].l={color:y,style:v})}else o[_+"_"+T].l={color:y,style:v};let A=s.merge||{};for(let R in A){let{c:I,r:F,cs:z,rs:M}=A[R];S<I+z-1&&S>=I&&_>=F&&_<=F+M-1&&(o[_+"_"+S].r=null)}}else if(g=="border-top"){if(s.rowhidden!=null&&s.rowhidden[w]!=null)continue;for(let _=C;_<=S;_++){o[w+"_"+_]==null&&(o[w+"_"+_]={}),o[w+"_"+_].t={color:y,style:v};let T=w-1;if(T>=0&&o[T+"_"+_])if(u[T]!=null&&P(u[T][_])=="object"&&u[T][_].mc!=null){let R=u[T][_],I=s.merge[R.mc.r+"_"+R.mc.c];I.r+I.rs-1==T&&(o[T+"_"+_].b={color:y,style:v})}else o[T+"_"+_].b={color:y,style:v};let A=s.merge||{};for(let R in A){let{c:I,r:F,cs:z,rs:M}=A[R];w<=F+M-1&&w>F&&_>=I&&_<=I+z-1&&(o[w+"_"+_].t=null)}}}else if(g=="border-bottom"){if(s.rowhidden!=null&&s.rowhidden[x]!=null)continue;for(let _=C;_<=S;_++){o[x+"_"+_]==null&&(o[x+"_"+_]={}),o[x+"_"+_].b={color:y,style:v};let T=x+1;if(T<u.length&&o[T+"_"+_])if(u[T]!=null&&P(u[T][_])=="object"&&u[T][_].mc!=null){let R=u[T][_];s.merge[R.mc.r+"_"+R.mc.c].r==T&&(o[T+"_"+_].t={color:y,style:v})}else o[T+"_"+_].t={color:y,style:v};let A=s.merge||{};for(let R in A){let{c:I,r:F,cs:z,rs:M}=A[R];x<F+M-1&&x>=F&&_>=I&&_<=I+z-1&&(o[x+"_"+_].b=null)}}}else if(g=="border-all"){for(let _=w;_<=x;_++)if(!(s.rowhidden!=null&&s.rowhidden[_]!=null))for(let T=C;T<=S;T++){if(u[_]!=null&&P(u[_][T])=="object"&&u[_][T].mc!=null){let A=u[_][T],R=s.merge[A.mc.r+"_"+A.mc.c];R.r==_&&(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].t={color:y,style:v}),R.r+R.rs-1==_&&(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].b={color:y,style:v}),R.c==T&&(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].l={color:y,style:v}),R.c+R.cs-1==T&&(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].r={color:y,style:v})}else o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].l={color:y,style:v},o[_+"_"+T].r={color:y,style:v},o[_+"_"+T].t={color:y,style:v},o[_+"_"+T].b={color:y,style:v};if(_==w){let A=w-1;if(A>=0&&o[A+"_"+T])if(u[A]!=null&&P(u[A][T])=="object"&&u[A][T].mc!=null){let R=u[A][T],I=s.merge[R.mc.r+"_"+R.mc.c];I.r+I.rs-1==A&&(o[A+"_"+T].b={color:y,style:v})}else o[A+"_"+T].b={color:y,style:v}}if(_==x){let A=x+1;if(A<u.length&&o[A+"_"+T])if(u[A]!=null&&P(u[A][T])=="object"&&u[A][T].mc!=null){let R=u[A][T];s.merge[R.mc.r+"_"+R.mc.c].r==A&&(o[A+"_"+T].t={color:y,style:v})}else o[A+"_"+T].t={color:y,style:v}}if(T==C){let A=C-1;if(A>=0&&o[_+"_"+A])if(u[_]!=null&&P(u[_][A])=="object"&&u[_][A].mc!=null){let R=u[_][A],I=s.merge[R.mc.r+"_"+R.mc.c];I.c+I.cs-1==A&&(o[_+"_"+A].r={color:y,style:v})}else o[_+"_"+A].r={color:y,style:v}}if(T==S){let A=S+1;if(A<u[0].length&&o[_+"_"+A])if(u[_]!=null&&P(u[_][A])=="object"&&u[_][A].mc!=null){let R=u[_][A];s.merge[R.mc.r+"_"+R.mc.c].c==A&&(o[_+"_"+A].l={color:y,style:v})}else o[_+"_"+A].l={color:y,style:v}}}}else if(g=="border-outside"){for(let _=w;_<=x;_++)if(!(s.rowhidden!=null&&s.rowhidden[_]!=null)){for(let T=C;T<=S;T++)if(_==w||_==x||T==C||T==S){if(_==w){o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].t={color:y,style:v};let A=w-1;if(A>=0&&o[A+"_"+T])if(u[A]!=null&&P(u[A][T])=="object"&&u[A][T].mc!=null){let R=u[A][T],I=s.merge[R.mc.r+"_"+R.mc.c];I.r+I.rs-1==A&&(o[A+"_"+T].b={color:y,style:v})}else o[A+"_"+T].b={color:y,style:v}}if(_==x){o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].b={color:y,style:v};let A=x+1;if(A<u.length&&o[A+"_"+T])if(u[A]!=null&&P(u[A][T])=="object"&&u[A][T].mc!=null){let R=u[A][T];s.merge[R.mc.r+"_"+R.mc.c].r==A&&(o[A+"_"+T].t={color:y,style:v})}else o[A+"_"+T].t={color:y,style:v}}if(T==C){o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].l={color:y,style:v};let A=C-1;if(A>=0&&o[_+"_"+A])if(u[_]!=null&&P(u[_][A])=="object"&&u[_][A].mc!=null){let R=u[_][A],I=s.merge[R.mc.r+"_"+R.mc.c];I.c+I.cs-1==A&&(o[_+"_"+A].r={color:y,style:v})}else o[_+"_"+A].r={color:y,style:v}}if(T==S){o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].r={color:y,style:v};let A=S+1;if(A<u[0].length&&o[_+"_"+A])if(u[_]!=null&&P(u[_][A])=="object"&&u[_][A].mc!=null){let R=u[_][A];s.merge[R.mc.r+"_"+R.mc.c].c==A&&(o[_+"_"+A].l={color:y,style:v})}else o[_+"_"+A].l={color:y,style:v}}}}}else if(g=="border-inside"){for(let _=w;_<=x;_++)if(!(s.rowhidden!=null&&s.rowhidden[_]!=null))for(let T=C;T<=S;T++)if(_==w&&T==C)u[_]!=null&&P(u[_][T])=="object"&&u[_][T].mc!=null||(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].r={color:y,style:v},o[_+"_"+T].b={color:y,style:v});else if(_==x&&T==C)u[_]!=null&&P(u[_][T])=="object"&&u[_][T].mc!=null||(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].r={color:y,style:v},o[_+"_"+T].t={color:y,style:v});else if(_==w&&T==S)u[_]!=null&&P(u[_][T])=="object"&&u[_][T].mc!=null||(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].l={color:y,style:v},o[_+"_"+T].b={color:y,style:v});else if(_==x&&T==S)u[_]!=null&&P(u[_][T])=="object"&&u[_][T].mc!=null||(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].l={color:y,style:v},o[_+"_"+T].t={color:y,style:v});else if(_==w)if(u[_]!=null&&P(u[_][T])=="object"&&u[_][T].mc!=null){let A=u[_][T],R=s.merge[A.mc.r+"_"+A.mc.c];R.c==T?(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].l={color:y,style:v}):R.c+R.cs-1==T&&(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].r={color:y,style:v})}else o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].l={color:y,style:v},o[_+"_"+T].r={color:y,style:v},o[_+"_"+T].b={color:y,style:v};else if(_==x)if(u[_]!=null&&P(u[_][T])=="object"&&u[_][T].mc!=null){let A=u[_][T],R=s.merge[A.mc.r+"_"+A.mc.c];R.c==T?(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].l={color:y,style:v}):R.c+R.cs-1==T&&(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].r={color:y,style:v})}else o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].l={color:y,style:v},o[_+"_"+T].r={color:y,style:v},o[_+"_"+T].t={color:y,style:v};else if(T==C)if(u[_]!=null&&P(u[_][T])=="object"&&u[_][T].mc!=null){let A=u[_][T],R=s.merge[A.mc.r+"_"+A.mc.c];R.r==_?(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].t={color:y,style:v}):R.r+R.rs-1==_&&(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].b={color:y,style:v})}else o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].r={color:y,style:v},o[_+"_"+T].t={color:y,style:v},o[_+"_"+T].b={color:y,style:v};else if(T==S)if(u[_]!=null&&P(u[_][T])=="object"&&u[_][T].mc!=null){let A=u[_][T],R=s.merge[A.mc.r+"_"+A.mc.c];R.r==_?(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].t={color:y,style:v}):R.r+R.rs-1==_&&(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].b={color:y,style:v})}else o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].l={color:y,style:v},o[_+"_"+T].t={color:y,style:v},o[_+"_"+T].b={color:y,style:v};else if(u[_]!=null&&P(u[_][T])=="object"&&u[_][T].mc!=null){let A=u[_][T],R=s.merge[A.mc.r+"_"+A.mc.c];R.r==_?(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].t={color:y,style:v}):R.r+R.rs-1==_&&(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].b={color:y,style:v}),R.c==T?(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].l={color:y,style:v}):R.c+R.cs-1==T&&(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].r={color:y,style:v})}else o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].l={color:y,style:v},o[_+"_"+T].r={color:y,style:v},o[_+"_"+T].t={color:y,style:v},o[_+"_"+T].b={color:y,style:v}}else if(g=="border-horizontal"){for(let _=w;_<=x;_++)if(!(s.rowhidden!=null&&s.rowhidden[_]!=null))for(let T=C;T<=S;T++)if(_==w)u[_]!=null&&P(u[_][T])=="object"&&u[_][T].mc!=null||(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].b={color:y,style:v});else if(_==x)u[_]!=null&&P(u[_][T])=="object"&&u[_][T].mc!=null||(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].t={color:y,style:v});else if(u[_]!=null&&P(u[_][T])=="object"&&u[_][T].mc!=null){let A=u[_][T],R=s.merge[A.mc.r+"_"+A.mc.c];R.r==_?(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].t={color:y,style:v}):R.r+R.rs-1==_&&(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].b={color:y,style:v})}else o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].t={color:y,style:v},o[_+"_"+T].b={color:y,style:v}}else if(g=="border-vertical"){for(let _=w;_<=x;_++)if(!(s.rowhidden!=null&&s.rowhidden[_]!=null))for(let T=C;T<=S;T++)if(T==C)u[_]!=null&&P(u[_][T])=="object"&&u[_][T].mc!=null||(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].r={color:y,style:v});else if(T==S)u[_]!=null&&P(u[_][T])=="object"&&u[_][T].mc!=null||(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].l={color:y,style:v});else if(u[_]!=null&&P(u[_][T])=="object"&&u[_][T].mc!=null){let A=u[_][T],R=s.merge[A.mc.r+"_"+A.mc.c]||{};R.c==T?(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].l={color:y,style:v}):R.c+R.cs-1==T&&(o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].r={color:y,style:v})}else o[_+"_"+T]==null&&(o[_+"_"+T]={}),o[_+"_"+T].l={color:y,style:v},o[_+"_"+T].r={color:y,style:v}}else if(g=="border-none"){for(let _=w;_<=x;_++)if(!(s.rowhidden!=null&&s.rowhidden[_]!=null))for(let T=C;T<=S;T++){if(o[_+"_"+T]!=null&&delete o[_+"_"+T],_==w){let A=w-1;A>=0&&o[A+"_"+T]&&delete o[A+"_"+T].b}if(_==x){let A=x+1;A<u.length&&o[A+"_"+T]&&delete o[A+"_"+T].t}if(T==C){let A=C-1;A>=0&&o[_+"_"+A]&&delete o[_+"_"+A].r}if(T==S){let A=S+1;A<u[0].length&&o[_+"_"+A]&&delete o[_+"_"+A].l}}}}}else if(m=="cell"){let g=d[f].value,y=g.row_index,v=g.col_index;if(y<e||y>n||v<t||v>l||s.rowhidden!=null&&s.rowhidden[y]!=null)continue;if(g.l!=null||g.r!=null||g.t!=null||g.b!=null)if(o[y+"_"+v]==null&&(o[y+"_"+v]={}),u[y]!=null&&P(u[y][v])=="object"&&u[y][v].mc!=null){let k=u[y][v],b=s.merge[k.mc.r+"_"+k.mc.c]||{};if(g.l!=null&&v==b.c){o[y+"_"+v].l={color:g.l.color,style:g.l.style};let w=v-1;if(w>=0&&o[y+"_"+w])if(u[y]!=null&&P(u[y][w])=="object"&&u[y][w].mc!=null){let x=u[y][w],C=s.merge[x.mc.r+"_"+x.mc.c];C.c+C.cs-1==w&&(o[y+"_"+w].r={color:g.l.color,style:g.l.style})}else o[y+"_"+w].r={color:g.l.color,style:g.l.style}}else o[y+"_"+v].l=null;if(g.r!=null&&v==b.c+b.cs-1){o[y+"_"+v].r={color:g.r.color,style:g.r.style};let w=v+1;if(w<u[0].length&&o[y+"_"+w])if(u[y]!=null&&P(u[y][w])=="object"&&u[y][w].mc!=null){let x=u[y][w];s.merge[x.mc.r+"_"+x.mc.c].c==w&&(o[y+"_"+w].l={color:g.r.color,style:g.r.style})}else o[y+"_"+w].l={color:g.r.color,style:g.r.style}}else o[y+"_"+v].r=null;if(g.t!=null&&y==b.r){o[y+"_"+v].t={color:g.t.color,style:g.t.style};let w=y-1;if(w>=0&&o[w+"_"+v])if(u[w]!=null&&P(u[w][v])=="object"&&u[w][v].mc!=null){let x=u[w][v],C=s.merge[x.mc.r+"_"+x.mc.c];C.r+C.rs-1==w&&(o[w+"_"+v].b={color:g.t.color,style:g.t.style})}else o[w+"_"+v].b={color:g.t.color,style:g.t.style}}else o[y+"_"+v].t=null;if(g.b!=null&&y==b.r+b.rs-1){o[y+"_"+v].b={color:g.b.color,style:g.b.style};let w=y+1;if(w<u.length&&o[w+"_"+v])if(u[w]!=null&&P(u[w][v])=="object"&&u[w][v].mc!=null){let x=u[w][v];s.merge[x.mc.r+"_"+x.mc.c].r==w&&(o[w+"_"+v].t={color:g.b.color,style:g.b.style})}else o[w+"_"+v].t={color:g.b.color,style:g.b.style}}else o[y+"_"+v].b=null}else{if(g.l!=null){o[y+"_"+v].l={color:g.l.color,style:g.l.style};let k=v-1;if(k>=0&&o[y+"_"+k])if(u[y]!=null&&P(u[y][k])=="object"&&u[y][k].mc!=null){let b=u[y][k],w=s.merge[b.mc.r+"_"+b.mc.c];w.c+w.cs-1==k&&(o[y+"_"+k].r={color:g.l.color,style:g.l.style})}else o[y+"_"+k].r={color:g.l.color,style:g.l.style}}else o[y+"_"+v].l=null;if(g.r!=null){o[y+"_"+v].r={color:g.r.color,style:g.r.style};let k=v+1;if(k<u[0].length&&o[y+"_"+k])if(u[y]!=null&&P(u[y][k])=="object"&&u[y][k].mc!=null){let b=u[y][k];s.merge[b.mc.r+"_"+b.mc.c].c==k&&(o[y+"_"+k].l={color:g.r.color,style:g.r.style})}else o[y+"_"+k].l={color:g.r.color,style:g.r.style}}else o[y+"_"+v].r=null;if(g.t!=null){o[y+"_"+v].t={color:g.t.color,style:g.t.style};let k=y-1;if(k>=0&&o[k+"_"+v])if(u[k]!=null&&P(u[k][v])=="object"&&u[k][v].mc!=null){let b=u[k][v],w=s.merge[b.mc.r+"_"+b.mc.c];w.r+w.rs-1==k&&(o[k+"_"+v].b={color:g.t.color,style:g.t.style})}else o[k+"_"+v].b={color:g.t.color,style:g.t.style}}else o[y+"_"+v].t=null;if(g.b!=null){o[y+"_"+v].b={color:g.b.color,style:g.b.style};let k=y+1;if(k<u.length&&o[k+"_"+v])if(u[k]!=null&&P(u[k][v])=="object"&&u[k][v].mc!=null){let b=u[k][v];s.merge[b.mc.r+"_"+b.mc.c].r==k&&(o[k+"_"+v].t={color:g.b.color,style:g.b.style})}else o[k+"_"+v].t={color:g.b.color,style:g.b.style}}else o[y+"_"+v].b=null}else delete o[y+"_"+v]}}return o}function Wr(e){let n={},t,l;return e==null?(t=h.config,l=h.flowdata):(t=h.luckysheetfile[K(e)].config,l=h.luckysheetfile[K(e)].data),n=Zs(0,l.length,0,l[0].length,e),n}var Ua=$e(()=>{Dt();ht();Xe()});var Re,g2,al,Js=$e(()=>{Zl();Oa();Ua();Pt();Ml();Xt();Qt();qt();yr();_l();Jt();Dt();ht();Xe();yt();Re=Nl(kn()),g2={iconHtml:'<div id="luckysheet-dropCell-icon" style="position: absolute;padding: 2px;background-color: #f1f1f1;z-index: 990;cursor: pointer;"><div id="icon_dropCell"></div></div>',typeListHtml:'<div id="luckysheet-dropCell-typeList" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-mousedown-cancel"><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-type="0"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="padding: 3px 2px;"><span style="margin-right:5px;width:13px;display:inline-block;" class="icon luckysheet-mousedown-cancel"></span>${copyCell}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-type="1"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="padding: 3px 2px;"><span style="margin-right:5px;width:13px;display:inline-block;" class="icon luckysheet-mousedown-cancel"></span>${sequence}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-type="2"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="padding: 3px 2px;"><span style="margin-right:5px;width:13px;display:inline-block;" class="icon luckysheet-mousedown-cancel"></span>${onlyFormat}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-type="3"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="padding: 3px 2px;"><span style="margin-right:5px;width:13px;display:inline-block;" class="icon luckysheet-mousedown-cancel"></span>${noFormat}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-type="4"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="padding: 3px 2px;"><span style="margin-right:5px;width:13px;display:inline-block;" class="icon luckysheet-mousedown-cancel"></span>${day}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-type="5"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="padding: 3px 2px;"><span style="margin-right:5px;width:13px;display:inline-block;" class="icon luckysheet-mousedown-cancel"></span>${workDay}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-type="6"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="padding: 3px 2px;"><span style="margin-right:5px;width:13px;display:inline-block;" class="icon luckysheet-mousedown-cancel"></span>${month}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-type="7"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="padding: 3px 2px;"><span style="margin-right:5px;width:13px;display:inline-block;" class="icon luckysheet-mousedown-cancel"></span>${year}</div></div><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" data-type="8"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="padding: 3px 2px;"><span style="margin-right:5px;width:13px;display:inline-block;" class="icon luckysheet-mousedown-cancel"></span>${chineseNumber}</div></div></div>',copyRange:{},applyRange:{},applyType:null,direction:null,chnNumChar:{\u96F6:0,\u4E00:1,\u4E8C:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6,\u4E03:7,\u516B:8,\u4E5D:9},chnNameValue:{\u5341:{value:10,secUnit:!1},\u767E:{value:100,secUnit:!1},\u5343:{value:1e3,secUnit:!1},\u4E07:{value:1e4,secUnit:!0},\u4EBF:{value:1e8,secUnit:!0}},ChineseToNumber:function(e){let n=this,t=0,l=0,a=0,o=!1,s=e.split("");for(let u=0;u<s.length;u++){let d=n.chnNumChar[s[u]];if(typeof d!="undefined")a=d,u==s.length-1&&(l+=a);else{let f=n.chnNameValue[s[u]].value;o=n.chnNameValue[s[u]].secUnit,o?(l=(l+a)*f,t+=l,l=0):l+=a*f,a=0}}return t+l},chnNumChar2:["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],chnUnitSection:["","\u4E07","\u4EBF","\u4E07\u4EBF","\u4EBF\u4EBF"],chnUnitChar:["","\u5341","\u767E","\u5343"],SectionToChinese:function(e){let n=this,t="",l="",a=0,o=!0;for(;e>0;){let s=e%10;s==0?o||(o=!0,l=n.chnNumChar2[s]+l):(o=!1,t=n.chnNumChar2[s],t+=n.chnUnitChar[a],l=t+l),a++,e=Math.floor(e/10)}return l},NumberToChinese:function(e){let n=this,t=0,l="",a="",o=!1;if(e==0)return n.chnNumChar2[0];for(;e>0;){let s=e%1e4;o&&(a=n.chnNumChar2[0]+a),l=n.SectionToChinese(s),l+=s!=0?n.chnUnitSection[t]:n.chnUnitSection[0],a=l+a,o=s<1e3&&s>0,e=Math.floor(e/1e4),t++}return a},isChnNumber:function(e){let n=this,t=!0;if(e)if(e.length==1)e=="\u65E5"||e in n.chnNumChar?t=!0:t=!1;else{let l=e.split("");for(let a=0;a<l.length;a++)if(!(l[a]in n.chnNumChar||l[a]in n.chnNameValue)){t=!1;break}}return t},isExtendNumber:function(e){let n=/0|([1-9]+[0-9]*)/g,t=n.test(e);if(t){let l=e.match(n),a=l[l.length-1],o=e.lastIndexOf(a),s=e.substr(0,o),u=e.substr(o+a.length);return[t,Number(a),s,u]}else return[t]},isChnWeek1:function(e){let n=this,t;return e.length==1&&(e=="\u65E5"||n.ChineseToNumber(e)<7)?t=!0:t=!1,t},isChnWeek2:function(e){let n;return e.length==2&&(e=="\u5468\u4E00"||e=="\u5468\u4E8C"||e=="\u5468\u4E09"||e=="\u5468\u56DB"||e=="\u5468\u4E94"||e=="\u5468\u516D"||e=="\u5468\u65E5")?n=!0:n=!1,n},isChnWeek3:function(e){let n;return e.length==3&&(e=="\u661F\u671F\u4E00"||e=="\u661F\u671F\u4E8C"||e=="\u661F\u671F\u4E09"||e=="\u661F\u671F\u56DB"||e=="\u661F\u671F\u4E94"||e=="\u661F\u671F\u516D"||e=="\u661F\u671F\u65E5")?n=!0:n=!1,n},createIcon:function(){let e=this,n=e.copyRange.row[1],t=e.copyRange.column[1],l=e.applyRange.row[1],a=e.applyRange.column[1],o,s;l>=n&&a>=t?(o=l,s=a):(o=n,s=t);let u=rl(o)[1],d=rl(o)[0],f=Mt(s)[1],m=Mt(s)[0];$("#luckysheet-dropCell-icon").remove(),$("#luckysheet-cell-main").append(e.iconHtml),$("#luckysheet-dropCell-icon").css({left:f,top:u}),$("#luckysheet-dropCell-icon").mouseover(function(){$(this).css("background-color","#ffe8e8")}).mouseleave(function(){$(this).css("background-color","#f1f1f1")}).mousedown(function(g){$("#luckysheet-dropCell-typeList").remove();let v=Q().dropCell;$("body").append(_e(e.typeListHtml,{copyCell:v.copyCell,sequence:v.sequence,onlyFormat:v.onlyFormat,noFormat:v.noFormat,day:v.day,workDay:v.workDay,month:v.month,year:v.year,chineseNumber:v.chineseNumber}));let k=e.typeItemHide();!k[0]&&!k[1]&&!k[2]&&!k[3]&&!k[4]&&!k[5]&&!k[6]&&($("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=1]").hide(),$("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=4]").hide(),$("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=5]").hide(),$("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=6]").hide(),$("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=7]").hide(),$("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=8]").hide()),k[2]||($("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=4]").hide(),$("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=5]").hide(),$("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=6]").hide(),$("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=7]").hide()),k[3]||$("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type=8]").hide();let b=$(this).offset().left,w=$(this).offset().top+25,x=$(window).height(),C=$(window).width(),S=$("#luckysheet-dropCell-typeList").width(),_=$("#luckysheet-dropCell-typeList").height();b+S>C&&(b=b-S),w+_>x&&(w=w-_-38),w<0&&(w=0),$("#luckysheet-dropCell-typeList").css({left:b,top:w}).show(),$("#luckysheet-dropCell-icon").mouseleave(function(){$(this).css("backgroundColor","#ffe8e8")});let T=e.applyType;$("#luckysheet-dropCell-typeList .luckysheet-cols-menuitem[data-type="+T+"]").find("span").append('<i class="fa fa-check luckysheet-mousedown-cancel"></i>'),g.stopPropagation()}),$(document).off("click.dCtypeList").on("click.dCtypeList","#luckysheet-dropCell-typeList .luckysheet-cols-menuitem",function(){$("#luckysheet-dropCell-typeList .fa-check").remove(),$(this).find("span").append('<i class="fa fa-check luckysheet-mousedown-cancel"></i>');let g=$(this).attr("data-type");e.applyType=g,e.update(),$("#luckysheet-dropCell-typeList").hide(),$("#luckysheet-dropCell-icon").css("backgroundColor","#f1f1f1"),$("#luckysheet-dropCell-icon").mouseleave(function(){$(this).css("backgroundColor","#f1f1f1")}),wl()})},typeItemHide:function(){let e=this,n=e.copyRange,t=n.row[0],l=n.row[1],a=n.column[0],o=n.column[1],s=!1,u=!1,d=!1,f=!1,m=!1,g=!1,y=!1;for(let v=t;v<=l;v++)for(let k=a;k<=o;k++)if(h.flowdata[v][k]){let b=h.flowdata[v][k];P(b)=="object"&&b.v!=null&&b.f==null&&(b.ct!=null&&b.ct.t=="n"?s=!0:b.ct!=null&&b.ct.t=="d"?d=!0:e.isExtendNumber(b.m)[0]?u=!0:e.isChnNumber(b.m)&&b.m!="\u65E5"?f=!0:b.m=="\u65E5"?m=!0:e.isChnWeek2(b.m)?g=!0:e.isChnWeek3(b.m)&&(y=!0))}return[s,u,d,f,m,g,y]},update:function(){let e=this;if(!kr([e.applyRange],h.currentSheetIndex)||h.allowEdit===!1)return;let n=we.deepCopyFlowData(h.flowdata),t=h.luckysheetfile[K(h.currentSheetIndex)],l=$.extend(!0,{},h.config),a=Wr(),o=$.extend(!0,{},t.dataVerification),s=e.direction,u=e.applyType,d=e.copyRange,f=d.row[0],m=d.row[1],g=d.column[0],y=d.column[1],v=e.getCopyData(n,f,m,g,y,s),k;s=="down"||s=="up"?k=m-f+1:(s=="right"||s=="left")&&(k=y-g+1);let b=e.applyRange,w=b.row[0],x=b.row[1],C=b.column[0],S=b.column[1];if(s=="down"||s=="up"){let A=x-w+1;for(let R=C;R<=S;R++){let I=v[R-C],F=e.getApplyData(I,k,A);if(s=="down")for(let z=w;z<=x;z++){let M=F[z-w];if(M.f!=null){let L="="+p.functionCopy(M.f,"down",z-w+1),O=p.execfunction(L,z,R);if(p.execFunctionGroup(z,R,O[1],void 0,n),M.f=O[2],M.v=O[1],M.spl!=null)M.spl=O[3].data;else if(B(M.v)&&!/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[12])(0[1-9]|[12]\d|3[01])\d{3}(\d|X)$/i.test(M.v)){if(M.v==Infinity||M.v==-Infinity)M.m=M.v.toString();else if(M.v.toString().indexOf("e")>-1){let V=M.v.toString().split(".")[1].split("e")[0].length;V>5&&(V=5),M.m=M.v.toExponential(V).toString()}else{let V;M.ct.fa==="##0.00"?(V=it(Math.round(M.v*1e9)/1e9+".00"),M.m=V[0].toString()):(V=it(Math.round(M.v*1e9)/1e9),M.m=V[0].toString())}M.ct=M.ct||{fa:"General",t:"n"}}else{let V=it(M.v);M.m=V[0].toString(),M.ct=V[1]}}n[z][R]=M;let N=f+(z-w)%k,E=R;if(a[N+"_"+E]){let L={rangeType:"cell",value:{row_index:z,col_index:R,l:a[N+"_"+E].l,r:a[N+"_"+E].r,t:a[N+"_"+E].t,b:a[N+"_"+E].b}};l.borderInfo.push(L)}else if(a[z+"_"+R]){let L={rangeType:"cell",value:{row_index:z,col_index:R,l:null,r:null,t:null,b:null}};l.borderInfo.push(L)}o[N+"_"+E]&&(o[z+"_"+R]=o[N+"_"+E])}if(s=="up")for(let z=x;z>=w;z--){let M=F[x-z];if(M.f!=null){let L="="+p.functionCopy(M.f,"up",x-z+1),O=p.execfunction(L,z,R);if(p.execFunctionGroup(z,R,O[1],void 0,n),M.f=O[2],M.v=O[1],M.spl!=null)M.spl=O[3].data;else if(B(M.v)&&!/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[12])(0[1-9]|[12]\d|3[01])\d{3}(\d|X)$/i.test(M.v)){if(M.v==Infinity||M.v==-Infinity)M.m=M.v.toString();else if(M.v.toString().indexOf("e")>-1){let V=M.v.toString().split(".")[1].split("e")[0].length;V>5&&(V=5),M.m=M.v.toExponential(V).toString()}else{let V=it(Math.round(M.v*1e9)/1e9);M.m=V[0].toString()}M.ct={fa:"General",t:"n"}}else{let V=it(M.v);M.m=V[0].toString(),M.ct=V[1]}}n[z][R]=M;let N=m-(x-z)%k,E=R;if(a[N+"_"+E]){let L={rangeType:"cell",value:{row_index:z,col_index:R,l:a[N+"_"+E].l,r:a[N+"_"+E].r,t:a[N+"_"+E].t,b:a[N+"_"+E].b}};l.borderInfo.push(L)}else if(a[z+"_"+R]){let L={rangeType:"cell",value:{row_index:z,col_index:R,l:null,r:null,t:null,b:null}};l.borderInfo.push(L)}o[N+"_"+E]&&(o[z+"_"+R]=o[N+"_"+E])}}}else if(s=="right"||s=="left"){let A=S-C+1;for(let R=w;R<=x;R++){let I=v[R-w],F=e.getApplyData(I,k,A);if(s=="right")for(let z=C;z<=S;z++){let M=F[z-C];if(M.f!=null){let L="="+p.functionCopy(M.f,"right",z-C+1),O=p.execfunction(L,R,z);if(p.execFunctionGroup(R,z,O[1],void 0,n),M.f=O[2],M.v=O[1],M.spl!=null)M.spl=O[3].data;else if(B(M.v)&&!/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[12])(0[1-9]|[12]\d|3[01])\d{3}(\d|X)$/i.test(M.v)){if(M.v==Infinity||M.v==-Infinity)M.m=M.v.toString();else if(M.v.toString().indexOf("e")>-1){let V=M.v.toString().split(".")[1].split("e")[0].length;V>5&&(V=5),M.m=M.v.toExponential(V).toString()}else{let V=it(Math.round(M.v*1e9)/1e9);M.m=V[0].toString()}M.ct={fa:"General",t:"n"}}else{let V=it(M.v);M.m=V[0].toString(),M.ct=V[1]}}n[R][z]=M;let N=R,E=g+(z-C)%k;if(a[N+"_"+E]){let L={rangeType:"cell",value:{row_index:R,col_index:z,l:a[N+"_"+E].l,r:a[N+"_"+E].r,t:a[N+"_"+E].t,b:a[N+"_"+E].b}};l.borderInfo.push(L)}else if(a[R+"_"+z]){let L={rangeType:"cell",value:{row_index:R,col_index:z,l:null,r:null,t:null,b:null}};l.borderInfo.push(L)}o[N+"_"+E]&&(o[R+"_"+z]=o[N+"_"+E])}if(s=="left")for(let z=S;z>=C;z--){let M=F[S-z];if(M.f!=null){let L="="+p.functionCopy(M.f,"left",S-z+1),O=p.execfunction(L,R,z);if(p.execFunctionGroup(R,z,O[1],void 0,n),M.f=O[2],M.v=O[1],M.spl!=null)M.spl=O[3].data;else if(B(M.v)&&!/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[12])(0[1-9]|[12]\d|3[01])\d{3}(\d|X)$/i.test(M.v)){if(M.v==Infinity||M.v==-Infinity)M.m=M.v.toString();else if(M.v.toString().indexOf("e")>-1){let V=M.v.toString().split(".")[1].split("e")[0].length;V>5&&(V=5),M.m=M.v.toExponential(V).toString()}else{let V=it(Math.round(M.v*1e9)/1e9);M.m=V[0].toString()}M.ct={fa:"General",t:"n"}}else{let V=it(M.v);M.m=V[0].toString(),M.ct=V[1]}}n[R][z]=M;let N=R,E=y-(S-z)%k;if(a[N+"_"+E]){let L={rangeType:"cell",value:{row_index:R,col_index:z,l:a[N+"_"+E].l,r:a[N+"_"+E].r,t:a[N+"_"+E].t,b:a[N+"_"+E].b}};l.borderInfo.push(L)}else if(a[R+"_"+z]){let L={rangeType:"cell",value:{row_index:R,col_index:z,l:null,r:null,t:null,b:null}};l.borderInfo.push(L)}o[N+"_"+E]&&(o[R+"_"+z]=o[N+"_"+E])}}}let _=$.extend(!0,[],t.luckysheet_conditionformat_save);if(_!=null&&_.length>0)for(let A=0;A<_.length;A++){let R=_[A].cellrange,I=[];for(let F=0;F<R.length;F++){let z=Se.CFSplitRange(R[F],{row:d.row,column:d.column},{row:b.row,column:b.column},"operatePart");z.length>0&&(I=I.concat(z))}I.length>0&&_[A].cellrange.push(b)}let T={cfg:l,cdformat:_,dataVerification:o};Ze(n,h.luckysheet_select_save,T),tt()},getCopyData:function(e,n,t,l,a,o){let s=this,u=[],d,f,m,g;o=="down"||o=="up"?(d=l,f=a,m=n,g=t):(o=="right"||o=="left")&&(d=n,f=t,m=l,g=a);for(let y=d;y<=f;y++){let v={},k=[],b=[],w="",x=null,C=null,S=!0;for(let _=m;_<=g;_++){let T;o=="down"||o=="up"?T=e[_][y]:(o=="right"||o=="left")&&(T=e[y][_]);let A;if(!!T&&!!T.v&&T.f==null)if(!!T.ct&&T.ct.t=="n")A="number",x=null,C=null;else if(!!T.ct&&T.ct.t=="d")A="date",x=null,C=null;else if(s.isExtendNumber(T.m)[0]){A="extendNumber";let R=s.isExtendNumber(T.m);x==null||C==null?(S=!0,x=R[2],C=R[3]):R[2]!=x||R[3]!=C?(S=!1,x=R[2],C=R[3]):S=!0}else s.isChnNumber(T.m)?(A="chnNumber",x=null,C=null):s.isChnWeek2(T.m)?(A="chnWeek2",x=null,C=null):s.isChnWeek3(T.m)?(A="chnWeek3",x=null,C=null):(A="other",x=null,C=null);else A="other",x=null,C=null;A=="extendNumber"?_==m?m==g?(w=A,k.push(T),b.push(_-m+1),v[w]=[],v[w].push({data:k,index:b})):(w=A,k.push(T),b.push(_-m+1)):_==g?w==A&&S?(k.push(T),b.push(_-m+1),w in v?v[w].push({data:k,index:b}):(v[w]=[],v[w].push({data:k,index:b}))):(w in v?v[w].push({data:k,index:b}):(v[w]=[],v[w].push({data:k,index:b})),w=A,k=[],k.push(T),b=[],b.push(_-m+1),w in v?v[w].push({data:k,index:b}):(v[w]=[],v[w].push({data:k,index:b}))):w==A&&S?(k.push(T),b.push(_-m+1)):(w in v?v[w].push({data:k,index:b}):(v[w]=[],v[w].push({data:k,index:b})),w=A,k=[],k.push(T),b=[],b.push(_-m+1)):_==m?m==g?(w=A,k.push(T),b.push(_-m+1),v[w]=[],v[w].push({data:k,index:b})):(w=A,k.push(T),b.push(_-m+1)):_==g?w==A?(k.push(T),b.push(_-m+1),w in v?v[w].push({data:k,index:b}):(v[w]=[],v[w].push({data:k,index:b}))):(w in v?v[w].push({data:k,index:b}):(v[w]=[],v[w].push({data:k,index:b})),w=A,k=[],k.push(T),b=[],b.push(_-m+1),w in v?v[w].push({data:k,index:b}):(v[w]=[],v[w].push({data:k,index:b}))):w==A?(k.push(T),b.push(_-m+1)):(w in v?v[w].push({data:k,index:b}):(v[w]=[],v[w].push({data:k,index:b})),w=A,k=[],k.push(T),b=[],b.push(_-m+1))}u.push(v)}return u},getApplyData:function(e,n,t){let l=this,a=[],o=l.direction,s=l.applyType,u=Math.floor(t/n),d=t%n,f=e.number,m=[];if(f)for(let R=0;R<f.length;R++){let I=l.getLenS(f[R].index,d),F=f[R].index.length*u+I,z;s=="1"||s=="3"?z=l.getDataByType(f[R].data,F,o,s,"number"):s=="2"?z=l.getDataByType(f[R].data,F,o,s):z=l.getDataByType(f[R].data,F,o,"0");let M=l.getDataIndex(n,t,f[R].index);m.push({data:z,index:M})}let g=e.extendNumber,y=[];if(g)for(let R=0;R<g.length;R++){let I=l.getLenS(g[R].index,d),F=g[R].index.length*u+I,z;s=="1"||s=="3"?z=l.getDataByType(g[R].data,F,o,s,"extendNumber"):s=="2"?z=l.getDataByType(g[R].data,F,o,s):z=l.getDataByType(g[R].data,F,o,"0");let M=l.getDataIndex(n,t,g[R].index);y.push({data:z,index:M})}let v=e.date,k=[];if(v)for(let R=0;R<v.length;R++){let I=l.getLenS(v[R].index,d),F=v[R].index.length*u+I,z;s=="1"||s=="3"?z=l.getDataByType(v[R].data,F,o,s,"date"):s=="8"?z=l.getDataByType(v[R].data,F,o,"0"):z=l.getDataByType(v[R].data,F,o,s);let M=l.getDataIndex(n,t,v[R].index);k.push({data:z,index:M})}let b=e.chnNumber,w=[];if(b)for(let R=0;R<b.length;R++){let I=l.getLenS(b[R].index,d),F=b[R].index.length*u+I,z;s=="1"||s=="3"?z=l.getDataByType(b[R].data,F,o,s,"chnNumber"):s=="2"||s=="8"?z=l.getDataByType(b[R].data,F,o,s):z=l.getDataByType(b[R].data,F,o,"0");let M=l.getDataIndex(n,t,b[R].index);w.push({data:z,index:M})}let x=e.chnWeek2,C=[];if(x)for(let R=0;R<x.length;R++){let I=l.getLenS(x[R].index,d),F=x[R].index.length*u+I,z;s=="1"||s=="3"?z=l.getDataByType(x[R].data,F,o,s,"chnWeek2"):s=="2"?z=l.getDataByType(x[R].data,F,o,s):z=l.getDataByType(x[R].data,F,o,"0");let M=l.getDataIndex(n,t,x[R].index);C.push({data:z,index:M})}let S=e.chnWeek3,_=[];if(S)for(let R=0;R<S.length;R++){let I=l.getLenS(S[R].index,d),F=S[R].index.length*u+I,z;s=="1"||s=="3"?z=l.getDataByType(S[R].data,F,o,s,"chnWeek3"):s=="2"?z=l.getDataByType(S[R].data,F,o,s):z=l.getDataByType(S[R].data,F,o,"0");let M=l.getDataIndex(n,t,S[R].index);_.push({data:z,index:M})}let T=e.other,A=[];if(T)for(let R=0;R<T.length;R++){let I=l.getLenS(T[R].index,d),F=T[R].index.length*u+I,z;s=="2"||s=="3"?z=l.getDataByType(T[R].data,F,o,s):z=l.getDataByType(T[R].data,F,o,"0");let M=l.getDataIndex(n,t,T[R].index);A.push({data:z,index:M})}for(let R=1;R<=t;R++){if(m.length>0)for(let I=0;I<m.length;I++)R in m[I].index&&a.push(m[I].data[m[I].index[R]]);if(y.length>0)for(let I=0;I<y.length;I++)R in y[I].index&&a.push(y[I].data[y[I].index[R]]);if(k.length>0)for(let I=0;I<k.length;I++)R in k[I].index&&a.push(k[I].data[k[I].index[R]]);if(w.length>0)for(let I=0;I<w.length;I++)R in w[I].index&&a.push(w[I].data[w[I].index[R]]);if(C.length>0)for(let I=0;I<C.length;I++)R in C[I].index&&a.push(C[I].data[C[I].index[R]]);if(_.length>0)for(let I=0;I<_.length;I++)R in _[I].index&&a.push(_[I].data[_[I].index[R]]);if(A.length>0)for(let I=0;I<A.length;I++)R in A[I].index&&a.push(A[I].data[A[I].index[R]])}return a},getLenS:function(e,n){let t=0;for(let l=0;l<e.length&&e[l]<=n;l++)t++;return t},getDataIndex:function(e,n,t){let l={},a=Math.floor(n/e),o=n%e,s=0;if(a>0){for(let u=1;u<=a;u++)for(let d=0;d<t.length;d++)l[t[d]+(u-1)*e]=s,s++;for(let u=0;u<t.length&&t[u]<=o;u++)l[t[u]+e*a]=s,s++}else for(let u=0;u<t.length&&t[u]<=o;u++)l[t[u]]=s,s++;return l},getDataByType:function(e,n,t,l,a){let o=this,s=[];if(l=="0")(t=="up"||t=="left")&&e.reverse(),s=o.FillCopy(e,n);else if(l=="1")if(a=="number")s=o.FillSeries(e,n,t);else if(a=="extendNumber")if(e.length==1){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1),s=o.FillExtendNumber(e,n,u)}else{let u=[];for(let d=0;d<e.length;d++){let f=e[d].m;u.push(Number(o.isExtendNumber(f)[1]))}if((t=="up"||t=="left")&&(e.reverse(),u.reverse()),o.isEqualDiff(u)){let d=u[1]-u[0];s=o.FillExtendNumber(e,n,d)}else s=o.FillCopy(e,n)}else if(a=="date")if(e.length==1){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1),s=o.FillDays(e,n,u)}else{(t=="up"||t=="left")&&e.reverse();let u=o.judgeDate(e);if(u[0]&&u[3]){let d=(0,Re.default)(e[1].m).diff((0,Re.default)(e[0].m),"months");s=o.FillMonths(e,n,d)}else if(!u[0]&&u[2]){let d=(0,Re.default)(e[1].m).diff((0,Re.default)(e[0].m),"days");s=o.FillDays(e,n,d)}else s=o.FillCopy(e,n)}else if(a=="chnNumber")if(e.length==1)if(e[0].m=="\u65E5"||o.ChineseToNumber(e[0].m)<7){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1),s=o.FillChnWeek(e,n,u)}else{let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1),s=o.FillChnNumber(e,n,u)}else{let u=!1;for(let m=0;m<e.length;m++)if(e[m].m=="\u65E5"){u=!0;break}let d=[],f=0;for(let m=0;m<e.length;m++)e[m].m=="\u65E5"?m==0?d.push(0):(f++,d.push(f*7)):u&&o.ChineseToNumber(e[m].m)>0&&o.ChineseToNumber(e[m].m)<7?d.push(o.ChineseToNumber(e[m].m)+f*7):d.push(o.ChineseToNumber(e[m].m));if((t=="up"||t=="left")&&(e.reverse(),d.reverse()),o.isEqualDiff(d))if(u||d[d.length-1]<6&&d[0]>0||d[0]<6&&d[d.length-1]>0){let m=d[1]-d[0];s=o.FillChnWeek(e,n,m)}else{let m=d[1]-d[0];s=o.FillChnNumber(e,n,m)}else s=o.FillCopy(e,n)}else if(a=="chnWeek2")if(e.length==1){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1),s=o.FillChnWeek2(e,n,u)}else{let u=[],d=0;for(let f=0;f<e.length;f++){let m=e[f].m.substr(e[f].m.length-1,1);e[f].m=="\u5468\u65E5"?f==0?u.push(0):(d++,u.push(d*7)):u.push(o.ChineseToNumber(m)+d*7)}if((t=="up"||t=="left")&&(e.reverse(),u.reverse()),o.isEqualDiff(u)){let f=u[1]-u[0];s=o.FillChnWeek2(e,n,f)}else s=o.FillCopy(e,n)}else if(a=="chnWeek3")if(e.length==1){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1),s=o.FillChnWeek3(e,n,u)}else{let u=[],d=0;for(let f=0;f<e.length;f++){let m=e[f].m.substr(e[f].m.length-1,1);e[f].m=="\u661F\u671F\u65E5"?f==0?u.push(0):(d++,u.push(d*7)):u.push(o.ChineseToNumber(m)+d*7)}if((t=="up"||t=="left")&&(e.reverse(),u.reverse()),o.isEqualDiff(u)){let f=u[1]-u[0];s=o.FillChnWeek3(e,n,f)}else s=o.FillCopy(e,n)}else(t=="up"||t=="left")&&e.reverse(),s=o.FillCopy(e,n);else if(l=="2")(t=="up"||t=="left")&&e.reverse(),s=o.FillOnlyFormat(e,n);else if(l=="3"){let u=o.getDataByType(e,n,t,"1",a);s=o.FillWithoutFormat(u)}else if(l=="4")if(e.length==1){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1),s=o.FillDays(e,n,u)}else if(e.length==2){(t=="up"||t=="left")&&e.reverse();let u=(0,Re.default)(e[1].m).diff((0,Re.default)(e[0].m),"days");s=o.FillDays(e,n,u)}else{(t=="up"||t=="left")&&e.reverse();let u=o.judgeDate(e);if(u[0]&&u[3]){let d=(0,Re.default)(e[1].m).diff((0,Re.default)(e[0].m),"months");s=o.FillMonths(e,n,d)}else if(!u[0]&&u[2]){let d=(0,Re.default)(e[1].m).diff((0,Re.default)(e[0].m),"days");s=o.FillDays(e,n,d)}else s=o.FillCopy(e,n)}else if(l=="5")if(e.length==1){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1);let d=Math.round(n*1.5);for(let f=1;f<=d;f++){let m=$.extend(!0,{},e[0]),g=(0,Re.default)(m.m).add(f,"days").day();if(g==0||g==6)continue;let y=(0,Re.default)(m.m).add(u*f,"days").format("YYYY-MM-DD");if(m.m=y,m.v=it(y)[2],s.push(m),s.length==n)break}}else if(e.length==2)if((0,Re.default)(e[1].m).date()==(0,Re.default)(e[0].m).date()&&(0,Re.default)(e[1].m).diff((0,Re.default)(e[0].m),"months")!=0){(t=="up"||t=="left")&&e.reverse();let u=(0,Re.default)(e[1].m).diff((0,Re.default)(e[0].m),"months");for(let d=1;d<=n;d++){let f=(d-1)%e.length,m=$.extend(!0,{},e[f]),g=(0,Re.default)(e[e.length-1]).add(u*d,"months").day(),y;g==0?y=(0,Re.default)(e[e.length-1]).add(u*d,"months").subtract(2,"days").format("YYYY-MM-DD"):g==6?y=(0,Re.default)(e[e.length-1]).add(u*d,"months").subtract(1,"days").format("YYYY-MM-DD"):y=(0,Re.default)(e[e.length-1]).add(u*d,"months").format("YYYY-MM-DD"),m.m=y,m.v=it(y)[2],s.push(m)}}else if(Math.abs((0,Re.default)(e[1].m).diff((0,Re.default)(e[0].m)))>7){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1,e.reverse());let d;for(let f=1;f<=n;f++){let m=(f-1)%e.length,g=$.extend(!0,{},e[m]),y=Math.ceil(f/e.length);m==0&&(d=(0,Re.default)(g.m).add(u*y,"months").diff((0,Re.default)(g.m),"days"));let v=(0,Re.default)(g.m).add(d,"days").day(),k;v==0?k=(0,Re.default)(g.m).add(d,"days").subtract(2,"days").format("YYYY-MM-DD"):v==6?k=(0,Re.default)(g.m).add(d,"days").subtract(1,"days").format("YYYY-MM-DD"):k=(0,Re.default)(g.m).add(d,"days").format("YYYY-MM-DD"),g.m=k,g.v=it(k)[2],s.push(g)}}else{let u;t=="down"||t=="right"?u=7:(t=="up"||t=="left")&&(u=-7,e.reverse());let d;for(let f=1;f<=n;f++){let m=(f-1)%e.length,g=$.extend(!0,{},e[m]),y=Math.ceil(f/e.length);m==0&&(d=(0,Re.default)(g.m).add(u*y,"days").diff((0,Re.default)(g.m),"days"));let v=(0,Re.default)(g.m).add(d,"days").day(),k;v==0?k=(0,Re.default)(g.m).add(d,"days").subtract(2,"days").format("YYYY-MM-DD"):v==6?k=(0,Re.default)(g.m).add(d,"days").subtract(1,"days").format("YYYY-MM-DD"):k=(0,Re.default)(g.m).add(d,"days").format("YYYY-MM-DD"),g.m=k,g.v=it(k)[2],s.push(g)}}else{let u=o.judgeDate(e);if(u[0]&&u[3]){(t=="up"||t=="left")&&e.reverse();let d=(0,Re.default)(e[1].m).diff((0,Re.default)(e[0].m),"months");for(let f=1;f<=n;f++){let m=(f-1)%e.length,g=$.extend(!0,{},e[m]),y=(0,Re.default)(e[e.length-1].m).add(d*f,"months").day(),v;y==0?v=(0,Re.default)(e[e.length-1].m).add(d*f,"months").subtract(2,"days").format("YYYY-MM-DD"):y==6?v=(0,Re.default)(e[e.length-1].m).add(d*f,"months").subtract(1,"days").format("YYYY-MM-DD"):v=(0,Re.default)(e[e.length-1].m).add(d*f,"months").format("YYYY-MM-DD"),g.m=v,g.v=it(v)[2],s.push(g)}}else if(!u[0]&&u[2])if(Math.abs((0,Re.default)(e[1].m).diff((0,Re.default)(e[0].m)))>7){let d;t=="down"||t=="right"?d=1:(t=="up"||t=="left")&&(d=-1,e.reverse());let f;for(let m=1;m<=n;m++){let g=(m-1)%e.length,y=$.extend(!0,{},e[g]),v=Math.ceil(m/e.length);g==0&&(f=(0,Re.default)(y.m).add(d*v,"months").diff((0,Re.default)(y.m),"days"));let k=(0,Re.default)(y.m).add(f,"days").day(),b;k==0?b=(0,Re.default)(y.m).add(f,"days").subtract(2,"days").format("YYYY-MM-DD"):k==6?b=(0,Re.default)(y.m).add(f,"days").subtract(1,"days").format("YYYY-MM-DD"):b=(0,Re.default)(y.m).add(f,"days").format("YYYY-MM-DD"),y.m=b,y.v=it(b)[2],s.push(y)}}else{let d;t=="down"||t=="right"?d=7:(t=="up"||t=="left")&&(d=-7,e.reverse());let f;for(let m=1;m<=n;m++){let g=(m-1)%e.length,y=$.extend(!0,{},e[g]),v=Math.ceil(m/e.length);g==0&&(f=(0,Re.default)(y.m).add(d*v,"days").diff((0,Re.default)(y.m),"days"));let k=(0,Re.default)(y.m).add(f,"days").day(),b;k==0?b=(0,Re.default)(y.m).add(f,"days").subtract(2,"days").format("YYYY-MM-DD"):k==6?b=(0,Re.default)(y.m).add(f,"days").subtract(1,"days").format("YYYY-MM-DD"):b=(0,Re.default)(y.m).add(f,"days").format("YYYY-MM-DD"),y.m=b,y.v=it(b)[2],s.push(y)}}else(t=="up"||t=="left")&&e.reverse(),s=o.FillCopy(e,n)}else if(l=="6")if(e.length==1){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1),s=o.FillMonths(e,n,u)}else if(e.length==2)if((0,Re.default)(e[1].m).date()==(0,Re.default)(e[0].m).date()&&(0,Re.default)(e[1].m).diff((0,Re.default)(e[0].m),"months")!=0){(t=="up"||t=="left")&&e.reverse();let u=(0,Re.default)(e[1].m).diff((0,Re.default)(e[0].m),"months");s=o.FillMonths(e,n,u)}else{let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1,e.reverse());let d;for(let f=1;f<=n;f++){let m=(f-1)%e.length,g=$.extend(!0,{},e[m]),y=Math.ceil(f/e.length);m==0&&(d=(0,Re.default)(g.m).add(u*y,"months").diff((0,Re.default)(g.m),"days"));let v=(0,Re.default)(g.m).add(d,"days").format("YYYY-MM-DD");g.m=v,g.v=it(v)[2],s.push(g)}}else{let u=o.judgeDate(e);if(u[0]&&u[3]){(t=="up"||t=="left")&&e.reverse();let d=(0,Re.default)(e[1].m).diff((0,Re.default)(e[0].m),"months");s=o.FillMonths(e,n,d)}else if(!u[0]&&u[2]){let d;t=="down"||t=="right"?d=1:(t=="up"||t=="left")&&(d=-1,e.reverse());let f;for(let m=1;m<=n;m++){let g=(m-1)%e.length,y=$.extend(!0,{},e[g]),v=Math.ceil(m/e.length);g==0&&(f=(0,Re.default)(y.m).add(d*v,"months").diff((0,Re.default)(y.m),"days"));let k=(0,Re.default)(y.m).add(f,"days").format("YYYY-MM-DD");y.m=k,y.v=it(k)[2],s.push(y)}}else(t=="up"||t=="left")&&e.reverse(),s=o.FillCopy(e,n)}else if(l=="7")if(e.length==1){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1),s=o.FillYears(e,n,u)}else if(e.length==2)if((0,Re.default)(e[1].m).date()==(0,Re.default)(e[0].m).date()&&(0,Re.default)(e[1].m).month()==(0,Re.default)(e[0].m).month()&&(0,Re.default)(e[1].m).diff((0,Re.default)(e[0].m),"years")!=0){(t=="up"||t=="left")&&e.reverse();let u=(0,Re.default)(e[1].m).diff((0,Re.default)(e[0].m),"years");s=o.FillYears(e,n,u)}else{let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1,e.reverse());let d;for(let f=1;f<=n;f++){let m=(f-1)%e.length,g=$.extend(!0,{},e[m]),y=Math.ceil(f/e.length);m==0&&(d=(0,Re.default)(g.m).add(u*y,"years").diff((0,Re.default)(g.m),"days"));let v=(0,Re.default)(g.m).add(d,"days").format("YYYY-MM-DD");g.m=v,g.v=it(v)[2],s.push(g)}}else{let u=o.judgeDate(e);if(u[0]&&u[1]&&u[4]){(t=="up"||t=="left")&&e.reverse();let d=(0,Re.default)(e[1].m).diff((0,Re.default)(e[0].m),"years");s=o.FillYears(e,n,d)}else if(u[0]&&u[3]||u[2]){let d;t=="down"||t=="right"?d=1:(t=="up"||t=="left")&&(d=-1,e.reverse());let f;for(let m=1;m<=n;m++){let g=(m-1)%e.length,y=$.extend(!0,{},e[g]),v=Math.ceil(m/e.length);g==0&&(f=(0,Re.default)(y.m).add(d*v,"years").diff((0,Re.default)(y.m),"days"));let k=(0,Re.default)(y.m).add(f,"days").format("YYYY-MM-DD");y.m=k,y.v=it(k)[2],s.push(y)}}else(t=="up"||t=="left")&&e.reverse(),s=o.FillCopy(e,n)}else if(l=="8")if(e.length==1){let u;t=="down"||t=="right"?u=1:(t=="up"||t=="left")&&(u=-1),s=o.FillChnNumber(e,n,u)}else{let u=[];for(let d=0;d<e.length;d++)u.push(o.ChineseToNumber(e[d].m));if((t=="up"||t=="left")&&(e.reverse(),u.reverse()),o.isEqualDiff(u)){let d=u[1]-u[0];s=o.FillChnNumber(e,n,d)}else s=o.FillCopy(e,n)}return s},FillCopy:function(e,n){let t=[];for(let l=1;l<=n;l++){let a=(l-1)%e.length,o=$.extend(!0,{},e[a]);t.push(o)}return t},FillSeries:function(e,n,t){let l=this,a=[],o=[];for(let s=0;s<e.length;s++)o.push(Number(e[s].v));if(e.length>2&&l.isEqualRatio(o))for(let s=1;s<=n;s++){let u=(s-1)%e.length,d=$.extend(!0,{},e[u]),f;t=="down"||t=="right"?f=Number(e[e.length-1].v)*Math.pow(Number(e[1].v)/Number(e[0].v),s):(t=="up"||t=="left")&&(f=Number(e[0].v)/Math.pow(Number(e[1].v)/Number(e[0].v),s)),d.v=f,d.m=_t(d.ct.fa,f),a.push(d)}else{let s=l.getXArr(e.length);for(let u=1;u<=n;u++){let d=(u-1)%e.length,f=$.extend(!0,{},e[d]),m;t=="down"||t=="right"?m=l.forecast(e.length+u,o,s):(t=="up"||t=="left")&&(m=l.forecast(1-u,o,s)),f.v=m,f.m=_t(f.ct.fa,m),a.push(f)}}return a},FillExtendNumber:function(e,n,t){let l=this,a=[],o=/0|([1-9]+[0-9]*)/g;for(let s=1;s<=n;s++){let u=(s-1)%e.length,d=$.extend(!0,{},e[u]),f=e[e.length-1].m,m=f.match(o),g=m[m.length-1],y=Math.abs(Number(g)+t*s),v=f.lastIndexOf(g),k=f.substr(0,v)+y.toString()+f.substr(v+g.length);d.v=k,d.m=k,a.push(d)}return a},FillOnlyFormat:function(e,n){let t=[];for(let l=1;l<=n;l++){let a=(l-1)%e.length,o=$.extend(!0,{},e[a]);delete o.f,delete o.m,delete o.v,t.push(o)}return t},FillWithoutFormat:function(e){let n=[];for(let t=0;t<e.length;t++){let l=$.extend(!0,{},e[t]),a;l.f==null?a={m:l.v.toString(),v:l.v}:a={f:l.f,m:l.v.toString(),v:l.v},n.push(a)}return n},FillDays:function(e,n,t){let l=[];for(let a=1;a<=n;a++){let o=(a-1)%e.length,s=$.extend(!0,{},e[o]),u=_t("yyyy-MM-dd",s.v);u=(0,Re.default)(u).add(t*a,"days").format("YYYY-MM-DD"),s.v=it(u)[2],s.m=_t(s.ct.fa,s.v),l.push(s)}return l},FillMonths:function(e,n,t){let l=[];for(let a=1;a<=n;a++){let o=(a-1)%e.length,s=$.extend(!0,{},e[o]),u=_t("yyyy-MM-dd",s.v);u=(0,Re.default)(u).add(t*a,"months").format("YYYY-MM-DD"),s.v=it(u)[2],s.m=_t(s.ct.fa,s.v),l.push(s)}return l},FillYears:function(e,n,t){let l=[];for(let a=1;a<=n;a++){let o=(a-1)%e.length,s=$.extend(!0,{},e[o]),u=_t("yyyy-MM-dd",s.v);u=(0,Re.default)(u).add(t*a,"years").format("YYYY-MM-DD"),s.v=it(u)[2],s.m=_t(s.ct.fa,s.v),l.push(s)}return l},FillChnWeek:function(e,n,t){let l=this,a=[];for(let o=1;o<=n;o++){let s=(o-1)%e.length,u=$.extend(!0,{},e[s]),d;e[e.length-1].m=="\u65E5"?d=7+t*o:d=l.ChineseToNumber(e[e.length-1].m)+t*o,d<0&&(d=Math.ceil(Math.abs(d)/7)*7+d);let f=d%7;f==0?(u.m="\u65E5",u.v="\u65E5"):f==1?(u.m="\u4E00",u.v="\u4E00"):f==2?(u.m="\u4E8C",u.v="\u4E8C"):f==3?(u.m="\u4E09",u.v="\u4E09"):f==4?(u.m="\u56DB",u.v="\u56DB"):f==5?(u.m="\u4E94",u.v="\u4E94"):f==6&&(u.m="\u516D",u.v="\u516D"),a.push(u)}return a},FillChnWeek2:function(e,n,t){let l=this,a=[];for(let o=1;o<=n;o++){let s=(o-1)%e.length,u=$.extend(!0,{},e[s]),d;if(e[e.length-1].m=="\u5468\u65E5")d=7+t*o;else{let m=e[e.length-1].m,g=m.substr(m.length-1,1);d=l.ChineseToNumber(g)+t*o}d<0&&(d=Math.ceil(Math.abs(d)/7)*7+d);let f=d%7;f==0?(u.m="\u5468\u65E5",u.v="\u5468\u65E5"):f==1?(u.m="\u5468\u4E00",u.v="\u5468\u4E00"):f==2?(u.m="\u5468\u4E8C",u.v="\u5468\u4E8C"):f==3?(u.m="\u5468\u4E09",u.v="\u5468\u4E09"):f==4?(u.m="\u5468\u56DB",u.v="\u5468\u56DB"):f==5?(u.m="\u5468\u4E94",u.v="\u5468\u4E94"):f==6&&(u.m="\u5468\u516D",u.v="\u5468\u516D"),a.push(u)}return a},FillChnWeek3:function(e,n,t){let l=this,a=[];for(let o=1;o<=n;o++){let s=(o-1)%e.length,u=$.extend(!0,{},e[s]),d;if(e[e.length-1].m=="\u661F\u671F\u65E5")d=7+t*o;else{let m=e[e.length-1].m,g=m.substr(m.length-1,1);d=l.ChineseToNumber(g)+t*o}d<0&&(d=Math.ceil(Math.abs(d)/7)*7+d);let f=d%7;f==0?(u.m="\u661F\u671F\u65E5",u.v="\u661F\u671F\u65E5"):f==1?(u.m="\u661F\u671F\u4E00",u.v="\u661F\u671F\u4E00"):f==2?(u.m="\u661F\u671F\u4E8C",u.v="\u661F\u671F\u4E8C"):f==3?(u.m="\u661F\u671F\u4E09",u.v="\u661F\u671F\u4E09"):f==4?(u.m="\u661F\u671F\u56DB",u.v="\u661F\u671F\u56DB"):f==5?(u.m="\u661F\u671F\u4E94",u.v="\u661F\u671F\u4E94"):f==6&&(u.m="\u661F\u671F\u516D",u.v="\u661F\u671F\u516D"),a.push(u)}return a},FillChnNumber:function(e,n,t){let l=this,a=[];for(let o=1;o<=n;o++){let s=(o-1)%e.length,u=$.extend(!0,{},e[s]),d=l.ChineseToNumber(e[e.length-1].m)+t*o,f;d<=0?f="\u96F6":f=l.NumberToChinese(d),u.v=f,u.m=f.toString(),a.push(u)}return a},isEqualDiff:function(e){let n=!0,t=e[1]-e[0];for(let l=1;l<e.length;l++)if(e[l]-e[l-1]!=t){n=!1;break}return n},isEqualRatio:function(e){let n=!0,t=e[1]/e[0];for(let l=1;l<e.length;l++)if(e[l]/e[l-1]!=t){n=!1;break}return n},getXArr:function(e){let n=[];for(let t=1;t<=e;t++)n.push(t);return n},forecast:function(e,n,t){function l(m){let g=0;for(let y=0;y<m.length;y++)g+=m[y];return g/m.length}let a=l(t),o=l(n),s=0,u=0;for(let m=0;m<t.length;m++)s+=(t[m]-a)*(n[m]-o),u+=(t[m]-a)*(t[m]-a);let d;u==0?d=1:d=s/u;let f=o-d*a;return Math.round((f+d*e)*1e5)/1e5},judgeDate:function(e){let n=!0,t=!0,l=!0,a=!0,o=!0,s=(0,Re.default)(e[0].m).date(),u=(0,Re.default)(e[0].m).month(),d=(0,Re.default)(e[1].m).diff((0,Re.default)(e[0].m),"days"),f=(0,Re.default)(e[1].m).diff((0,Re.default)(e[0].m),"months"),m=(0,Re.default)(e[1].m).diff((0,Re.default)(e[0].m),"years");for(let g=1;g<e.length;g++)(0,Re.default)(e[g].m).date()!=s&&(n=!1),(0,Re.default)(e[g].m).month()!=u&&(t=!1),(0,Re.default)(e[g].m).diff((0,Re.default)(e[g-1].m),"days")!=d&&(l=!1),(0,Re.default)(e[g].m).diff((0,Re.default)(e[g-1].m),"months")!=f&&(a=!1),(0,Re.default)(e[g].m).diff((0,Re.default)(e[g-1].m),"years")!=m&&(o=!1);return d==0&&(l=!1),f==0&&(a=!1),m==0&&(o=!1),[n,t,l,a,o]}},al=g2});var hn,X,Vl=$e(()=>{Dt();zr();Jt();wn();ll();ol();Gr();Js();Zl();Xe();yt();Xt();hn={freezenHorizontalHTML:'<div id="luckysheet-freezebar-horizontal" class="luckysheet-freezebar" tabindex="0"><div class="luckysheet-freezebar-handle luckysheet-freezebar-horizontal-handle" ><div class="luckysheet-freezebar-handle-bar luckysheet-freezebar-horizontal-handle-title" ></div><div class="luckysheet-freezebar-handle-bar luckysheet-freezebar-horizontal-handle-bar" ></div></div><div class="luckysheet-freezebar-drop luckysheet-freezebar-horizontal-drop" ><div class="luckysheet-freezebar-drop-bar luckysheet-freezebar-horizontal-drop-title" ></div><div class="luckysheet-freezebar-drop-bar luckysheet-freezebar-horizontal-drop-bar" >&nbsp;</div></div></div>',freezenVerticalHTML:'<div id="luckysheet-freezebar-vertical" class="luckysheet-freezebar" tabindex="0"><div class="luckysheet-freezebar-handle luckysheet-freezebar-vertical-handle" ><div class="luckysheet-freezebar-handle-bar luckysheet-freezebar-vertical-handle-title" ></div><div class="luckysheet-freezebar-handle-bar luckysheet-freezebar-vertical-handle-bar" ></div></div><div class="luckysheet-freezebar-drop luckysheet-freezebar-vertical-drop" ><div class="luckysheet-freezebar-drop-bar luckysheet-freezebar-vertical-drop-title" ></div><div class="luckysheet-freezebar-drop-bar luckysheet-freezebar-vertical-drop-bar" >&nbsp;</div></div></div>',initialHorizontal:!0,initialVertical:!0,horizontalmovestate:!1,horizontalmoveposition:null,verticalmovestate:!1,verticalmoveposition:null,windowHeight:null,windowWidth:null,freezenhorizontaldata:null,freezenverticaldata:null,freezenRealFirstRowColumn:!0,cutVolumn:function(e,n){if(n<=0)return e;let t=e.slice(0,n),l=t[t.length-1];return e.slice(n)},cancelFreezenVertical:function(e){let n=this,l=Q().freezen,a=`
  2467. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  2468. style="user-select: none;">
  2469. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
  2470. style="user-select: none;">
  2471. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  2472. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-function iconfont-luckysheet luckysheet-iconfont-dongjie1"
  2473. style="user-select: none;">
  2474. </div>
  2475. </div>
  2476. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  2477. style="user-select: none;">
  2478. ${l.default}
  2479. </div>
  2480. </div>
  2481. </div>
  2482. `;$("#luckysheet-freezen-btn-horizontal").html(a),$("#luckysheet-freezen-btn-vertical").html('<i class="fa fa-indent"></i> '+l.freezenColumn),n.freezenverticaldata=null;let o=$("#luckysheet-freezebar-vertical").is(":visible");$("#luckysheet-freezebar-vertical").hide(),e==null&&(e=h.currentSheetIndex);let s=h.luckysheetfile[K(e)];s.freezen!=null&&(s.freezen.vertical=null),s.frozen!=null&&o&&ne.saveParam("all",e,s.frozen,{k:"frozen"})},createFreezenVertical:function(e,n){let t=this;if(t.initialVertical){t.initialVertical=!1,$("#luckysheet-grid-window-1").append(t.freezenVerticalHTML),$("#luckysheet-freezebar-vertical").find(".luckysheet-freezebar-vertical-drop").hover(function(){$(this).parent().addClass("luckysheet-freezebar-hover")},function(){$(this).parent().removeClass("luckysheet-freezebar-hover")}),$("#luckysheet-freezebar-vertical").find(".luckysheet-freezebar-vertical-drop").mousedown(function(){t.verticalmovestate=!0,t.verticalmoveposition=$(this).position().left,t.windowWidth=$("#luckysheet-grid-window-1").width(),$(this).parent().addClass("luckysheet-freezebar-active"),$("#luckysheet-freezebar-vertical").find(".luckysheet-freezebar-vertical-handle").css("cursor","-webkit-grabbing")});let a=$("#luckysheet-grid-window-1").height();$("#luckysheet-freezebar-vertical").find(".luckysheet-freezebar-vertical-handle").css({height:a-10,width:"4px",cursor:"-webkit-grab",top:"0px"}).end().find(".luckysheet-freezebar-vertical-drop").css({height:a-10,width:"4px",top:"0px",cursor:"-webkit-grab"})}if(e==null){if(t.freezenRealFirstRowColumn){let a=0;n=h.visibledatacolumn[a]-2+h.rowHeaderWidth,e=[h.visibledatacolumn[a],a+1,0,t.cutVolumn(h.visibledatacolumn,a+1),n]}else{let a=$("#luckysheet-cell-main").scrollLeft(),o=st(h.visibledatacolumn,a);o==-1&&(o=0),n=h.visibledatacolumn[o]-2-a+h.rowHeaderWidth,e=[h.visibledatacolumn[o],o+1,a,t.cutVolumn(h.visibledatacolumn,o+1),n]}t.saveFreezen(null,null,e,n)}t.freezenverticaldata=e;let l=`
  2483. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  2484. style="user-select: none;">
  2485. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
  2486. style="user-select: none;">
  2487. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  2488. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-function iconfont-luckysheet luckysheet-iconfont-dongjie1"
  2489. style="user-select: none;">
  2490. </div>
  2491. </div>
  2492. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  2493. style="user-select: none;">
  2494. ${Q().freezen.freezenCancel}
  2495. </div>
  2496. </div>
  2497. </div>
  2498. `;$("#luckysheet-freezen-btn-horizontal").html(l),$("#luckysheet-freezebar-vertical").show().find(".luckysheet-freezebar-vertical-handle").css({left:n}).end().find(".luckysheet-freezebar-vertical-drop").css({left:n})},saveFreezen:function(e,n,t,l){let a=h.luckysheetfile[K(h.currentSheetIndex)];a.freezen==null&&(a.freezen={}),e!=null&&(a.freezen.horizontal==null&&(a.freezen.horizontal={}),a.freezen.horizontal.freezenhorizontaldata=e,a.freezen.horizontal.top=n),t!=null&&(a.freezen.vertical==null&&(a.freezen.vertical={}),a.freezen.vertical.freezenverticaldata=t,a.freezen.vertical.left=l),a.frozen!=null&&ne.saveParam("all",h.currentSheetIndex,a.frozen,{k:"frozen"})},initialFreezen:function(e){let n=this;n.frozenTofreezen();let t=h.luckysheetfile[K(e)];t.freezen!=null&&t.freezen.horizontal!=null&&t.freezen.horizontal.freezenhorizontaldata!=null?n.createFreezenHorizontal(t.freezen.horizontal.freezenhorizontaldata,t.freezen.horizontal.top):n.cancelFreezenHorizontal(e),t.freezen!=null&&t.freezen.vertical!=null&&t.freezen.vertical.freezenverticaldata!=null?n.createFreezenVertical(t.freezen.vertical.freezenverticaldata,t.freezen.vertical.left):n.cancelFreezenVertical(e),n.createAssistCanvas()},changeFreezenIndex:function(e,n){let t=this;if(n=="v"&&t.freezenverticaldata!=null){let l=t.freezenverticaldata[1],a=st(h.visibledatacolumn,$("#luckysheet-cell-main").scrollLeft());e-a<l&&(e=e-a)}else if(n=="h"&&t.freezenhorizontaldata!=null){let l=t.freezenhorizontaldata[1],a=st(h.visibledatarow,$("#luckysheet-cell-main").scrollTop());e-a<l&&(e=e-a)}return e},scrollFreezen:function(){let e=this,n,t=h.luckysheet_select_save[0].row_focus;t==h.luckysheet_select_save[0].row[0]?n=h.luckysheet_select_save[0].row[1]:t==h.luckysheet_select_save[0].row[1]&&(n=h.luckysheet_select_save[0].row[0]);let l,a=h.luckysheet_select_save[0].column_focus;if(a==h.luckysheet_select_save[0].column[0]?l=h.luckysheet_select_save[0].column[1]:a==h.luckysheet_select_save[0].column[1]&&(l=h.luckysheet_select_save[0].column[0]),e.freezenverticaldata!=null){let o=e.freezenverticaldata[1],s=st(e.freezenverticaldata[3],$("#luckysheet-cell-main").scrollLeft()),u=e.freezenverticaldata[4];o+=s,l>=h.visibledatacolumn.length&&(l=h.visibledatacolumn.length-1),o>=h.visibledatacolumn.length&&(o=h.visibledatacolumn.length-1);let d=h.visibledatacolumn[l],f=h.visibledatacolumn[o];d<=f+u&&setTimeout(function(){$("#luckysheet-scrollbar-x").scrollLeft(0)},100)}if(e.freezenhorizontaldata!=null){let o=e.freezenhorizontaldata[1],s=st(e.freezenhorizontaldata[3],$("#luckysheet-cell-main").scrollTop()),u=e.freezenhorizontaldata[4];o+=s,n>=h.visibledatarow.length&&(n=h.visibledatarow.length-1),o>=h.visibledatarow.length&&(o=h.visibledatarow.length-1);let d=h.visibledatarow[n],f=h.visibledatarow[o];d<=f+u&&setTimeout(function(){$("#luckysheet-scrollbar-y").scrollTop(0)},100)}},cancelFreezenHorizontal:function(e){let n=this,t=`
  2499. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  2500. style="user-select: none;">
  2501. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
  2502. style="user-select: none;">
  2503. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  2504. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-function iconfont-luckysheet luckysheet-iconfont-dongjie1"
  2505. style="user-select: none;">
  2506. </div>
  2507. </div>
  2508. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  2509. style="user-select: none;">
  2510. ${Q().freezen.default}
  2511. </div>
  2512. </div>
  2513. </div>
  2514. `;$("#luckysheet-freezen-btn-horizontal").html(t),n.freezenhorizontaldata=null;let l=$("#luckysheet-freezebar-horizontal").is(":visible");$("#luckysheet-freezebar-horizontal").hide(),e==null&&(e=h.currentSheetIndex);let a=h.luckysheetfile[K(e)];a.freezen!=null&&(a.freezen.horizontal=null),a.frozen!=null&&l&&ne.saveParam("all",e,a.frozen,{k:"frozen"})},createFreezenHorizontal:function(e,n){let t=this;if(t.initialHorizontal){t.initialHorizontal=!1,$("#luckysheet-grid-window-1").append(t.freezenHorizontalHTML),$("#luckysheet-freezebar-horizontal").find(".luckysheet-freezebar-horizontal-drop").hover(function(){$(this).parent().addClass("luckysheet-freezebar-hover")},function(){$(this).parent().removeClass("luckysheet-freezebar-hover")}),$("#luckysheet-freezebar-horizontal").find(".luckysheet-freezebar-horizontal-drop").mousedown(function(){t.horizontalmovestate=!0,t.horizontalmoveposition=$(this).position().top,t.windowHeight=$("#luckysheet-grid-window-1").height(),$(this).parent().addClass("luckysheet-freezebar-active"),$("#luckysheet-freezebar-horizontal").find(".luckysheet-freezebar-horizontal-handle").css("cursor","-webkit-grabbing")});let a=$("#luckysheet-grid-window-1").width();$("#luckysheet-freezebar-horizontal").find(".luckysheet-freezebar-horizontal-handle").css({width:a-10,height:"4px",cursor:"-webkit-grab",left:"0px"}).end().find(".luckysheet-freezebar-horizontal-drop").css({width:a-10,height:"4px",left:"0px",cursor:"-webkit-grab"})}if(e==null){let a;if(t.freezenRealFirstRowColumn)a=0,n=h.visibledatarow[a]-2+h.columnHeaderHeight,e=[h.visibledatarow[a],a+1,0,t.cutVolumn(h.visibledatarow,a+1),n],t.saveFreezen(e,n,null,null),setTimeout(()=>{hn.createAssistCanvas(),Be()});else{let o=$("#luckysheet-cell-main").scrollTop();a=st(h.visibledatarow,o),a==-1&&(a=0),n=h.visibledatarow[a]-2-o+h.columnHeaderHeight,e=[h.visibledatarow[a],a+1,o,t.cutVolumn(h.visibledatarow,a+1),n],t.saveFreezen(e,n,null,null)}}t.freezenhorizontaldata=e;let l=`
  2515. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block"
  2516. style="user-select: none;">
  2517. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block"
  2518. style="user-select: none;">
  2519. <div class="luckysheet-icon luckysheet-inline-block " style="user-select: none;">
  2520. <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-function iconfont-luckysheet luckysheet-iconfont-dongjie1"
  2521. style="user-select: none;">
  2522. </div>
  2523. </div>
  2524. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block"
  2525. style="user-select: none;">
  2526. ${Q().freezen.freezenCancel}
  2527. </div>
  2528. </div>
  2529. </div>
  2530. `;$("#luckysheet-freezen-btn-horizontal").html(l),$("#luckysheet-freezebar-horizontal").show().find(".luckysheet-freezebar-horizontal-handle").css({top:n}).end().find(".luckysheet-freezebar-horizontal-drop").css({top:n})},createAssistCanvas:function(){let e=this;if(e.removeAssistCanvas(),e.freezenverticaldata!=null||e.freezenhorizontaldata!=null){let n,t,l,a,o,s,u=h.luckysheetTableContentHW[0],d=h.luckysheetTableContentHW[1];e.freezenverticaldata!=null&&e.freezenhorizontaldata!=null?(n=e.freezenhorizontaldata[0],t=e.freezenhorizontaldata[1],l=e.freezenhorizontaldata[2],a=e.freezenverticaldata[0],o=e.freezenverticaldata[1],s=e.freezenverticaldata[2],e.createCanvas("freezen_3",a-s,n-l+1,h.rowHeaderWidth-1,h.columnHeaderHeight-1),e.createCanvas("freezen_4",u-a+s,n-l+1,a-s+h.rowHeaderWidth-1,h.columnHeaderHeight-1),e.createCanvas("freezen_7",a-s,d-n+l-h.columnHeaderHeight,h.rowHeaderWidth-1,n-l+h.columnHeaderHeight-1)):e.freezenhorizontaldata!=null?(n=e.freezenhorizontaldata[0],t=e.freezenhorizontaldata[1],l=e.freezenhorizontaldata[2],e.createCanvas("freezen_h",u,n-l+1,h.rowHeaderWidth-1,h.columnHeaderHeight-1)):e.freezenverticaldata!=null&&(a=e.freezenverticaldata[0],o=e.freezenverticaldata[1],s=e.freezenverticaldata[2],e.createCanvas("freezen_v",a-s,d,h.rowHeaderWidth-1,h.columnHeaderHeight-1)),e.scrollAdapt()}},createCanvas:function(e,n,t,l,a){let o=$("<canvas/>").appendTo("#luckysheet-grid-window-1").attr({id:e,width:Math.ceil(n*h.devicePixelRatio),height:Math.ceil(t*h.devicePixelRatio)}).css({"user-select":"none",postion:"absolute",left:l,top:a,width:n,height:t,"z-index":10,"pointer-events":"none"})},removeAssistCanvas:function(){$("#luckysheet-grid-window-1 > canvas").not($("#luckysheetTableContent")).remove(),$("#luckysheet-cell-selected").css("z-index",15)},scrollAdapt:function(){let e=this;if(h.luckysheet_select_save!=null&&h.luckysheet_select_save.length>0&&e.scrollAdaptOfselect(),$(".luckysheet-modal-dialog-image").length>0&&imageCtrl.images!=null&&e.scrollAdaptOfImage(),$("#luckysheet-cell-main .luckysheet-data-visualization-chart").length>0){let n=h.luckysheetfile[K(h.currentSheetIndex)].chart;n!=null&&n.length>0&&e.scrollAdaptOfchart()}$("#luckysheet-postil-showBoxs .luckysheet-postil-show").length>0&&e.scrollAdaptOfpostil(),$("#luckysheet-dropCell-icon").length>0&&e.scrollAdaptOfdpicon(),$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").length>0&&e.scrollAdaptOffilteroptions()},scrollAdaptOfselect:function(){let e=this;$("#luckysheet-row-count-show").is(":visible")&&$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").is(":visible")&&$("#luckysheet-column-count-show").hide(),$("#luckysheet-rows-h-selected").empty(),$("#luckysheet-cols-h-selected").empty();let n=$("#luckysheet-cell-main").scrollTop(),t=$("#luckysheet-cell-main").scrollLeft();if(e.freezenhorizontaldata!=null&&e.freezenverticaldata!=null){let l=e.freezenhorizontaldata[0],a=e.freezenhorizontaldata[1],o=n-e.freezenhorizontaldata[2],s=e.freezenverticaldata[0],u=e.freezenverticaldata[1],d=t-e.freezenverticaldata[2];for(let f=0;f<h.luckysheet_select_save.length;f++){let m=$.extend(!0,{},h.luckysheet_select_save[f]),g=m.row[0],y=m.row[1],v=h.visibledatarow[y],k=g-1==-1?0:h.visibledatarow[g-1],b=k,w=v-k-1,x=!0;g>=a?b+w<l+o?x=!1:b<l+o?$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).show().css({top:l+o,height:w-(l+o-b)}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).show().css({top:b,height:w}):y>=a?b+w<l+o?$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).show().css({top:b+o,height:l-b}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).show().css({top:b+o,height:w-o}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).show().css("top",b+o);let C=m.column[0],S=m.column[1],_=h.visibledatacolumn[S],T=C-1==-1?0:h.visibledatacolumn[C-1],A=T,R=_-T-1;if(C>=u?A+R<s+d?x=!1:A<s+d?$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).show().css({left:s+d,width:R-(s+d-A)}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).show().css({left:A,width:R}):S>=u?A+R<s+d?$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).show().css({left:A+d,width:s-A}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).show().css({left:A+d,width:R-d}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).show().css("left",A+d),x||$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(f).hide(),f==h.luckysheet_select_save.length-1){let I=m.row_focus==null?g:m.row_focus,F=m.column_focus==null?C:m.column_focus,z=h.visibledatarow[I],M=I-1==-1?0:h.visibledatarow[I-1],N=h.visibledatacolumn[F],E=F-1==-1?0:h.visibledatacolumn[F-1],L=be.mergeborer(h.flowdata,I,F);L&&(z=L.row[1],M=L.row[0],N=L.column[1],E=L.column[0]);let O=M,V=z-M-1,q=E,W=N-E-1,Y=!0;O>=l?O+V<l+o?Y=!1:O<l+o?$("#luckysheet-cell-selected-focus").show().css({top:l+o,height:V-(l+o-O)}):$("#luckysheet-cell-selected-focus").show().css({top:O,height:V}):O+V>=l?O+V<l+o?$("#luckysheet-cell-selected-focus").show().css({top:O+o,height:l-O}):$("#luckysheet-cell-selected-focus").show().css({top:O+o,height:V-o}):$("#luckysheet-cell-selected-focus").show().css("top",O+o),q>=s?q+W<s+d?Y=!1:q<s+d?$("#luckysheet-cell-selected-focus").show().css({left:s+d,width:W-(s+d-q)}):$("#luckysheet-cell-selected-focus").show().css({left:q,width:W}):q+W>=s?q+W<s+d?$("#luckysheet-cell-selected-focus").show().css({left:q+d,width:s-q}):$("#luckysheet-cell-selected-focus").show().css({left:q+d,width:W-d}):$("#luckysheet-cell-selected-focus").show().css("left",q+d),Y||$("#luckysheet-cell-selected-focus").hide()}}}else if(e.freezenhorizontaldata!=null){let l=e.freezenhorizontaldata[0],a=e.freezenhorizontaldata[1],o=n-e.freezenhorizontaldata[2];for(let s=0;s<h.luckysheet_select_save.length;s++){let u=$.extend(!0,{},h.luckysheet_select_save[s]),d=u.row[0],f=u.row[1],m=h.visibledatarow[f],g=d-1==-1?0:h.visibledatarow[d-1],y=g,v=m-g-1;if(d>=a?y+v<l+o?$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).hide():y<l+o?$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).show().css({top:l+o,height:v-(l+o-y)}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).show().css({top:y,height:v}):f>=a?y+v<l+o?$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).show().css({top:y+o,height:l-y}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).show().css({top:y+o,height:v-o}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).show().css("top",y+o),s==h.luckysheet_select_save.length-1){let k=u.row_focus==null?d:u.row_focus,b=u.column_focus==null?u.column[0]:u.column_focus,w=h.visibledatarow[k],x=k-1==-1?0:h.visibledatarow[k-1],C=be.mergeborer(h.flowdata,k,b);C&&(w=C.row[1],x=C.row[0]);let S=x,_=w-x-1;S>=l?S+_<l+o?$("#luckysheet-cell-selected-focus").hide():S<l+o?$("#luckysheet-cell-selected-focus").show().css({top:l+o,height:_-(l+o-S)}):$("#luckysheet-cell-selected-focus").show().css({top:S,height:_}):S+_>=l?S+_<l+o?$("#luckysheet-cell-selected-focus").show().css({top:S+o,height:l-S}):$("#luckysheet-cell-selected-focus").show().css({top:S+o,height:_-o}):$("#luckysheet-cell-selected-focus").show().css("top",S+o)}}}else if(e.freezenverticaldata!=null){let l=e.freezenverticaldata[0],a=e.freezenverticaldata[1],o=t-e.freezenverticaldata[2];for(let s=0;s<h.luckysheet_select_save.length;s++){let u=$.extend(!0,{},h.luckysheet_select_save[s]),d=u.column[0],f=u.column[1],m=h.visibledatacolumn[f],g=d-1==-1?0:h.visibledatacolumn[d-1],y=g,v=m-g-1;if(d>=a?y+v<l+o?$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).hide():y<l+o?$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).show().css({left:l+o,width:v-(l+o-y)}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).show().css({left:y,width:v}):f>=a?y+v<l+o?$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).show().css({left:y+o,width:l-y}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).show().css({left:y+o,width:v-o}):$("#luckysheet-cell-selected-boxs").find(".luckysheet-cell-selected").eq(s).show().css("left",y+o),s==h.luckysheet_select_save.length-1){let k=u.row_focus==null?u.row[0]:u.row_focus,b=u.column_focus==null?d:u.column_focus,w=h.visibledatacolumn[b],x=b-1==-1?0:h.visibledatacolumn[b-1],C=be.mergeborer(h.flowdata,k,b);C&&(w=C.column[1],x=C.column[0]);let S=x,_=w-x-1;S>=l?S+_<l+o?$("#luckysheet-cell-selected-focus").hide():S<l+o?$("#luckysheet-cell-selected-focus").show().css({left:l+o,width:_-(l+o-S)}):$("#luckysheet-cell-selected-focus").show().css({left:S,width:_}):S+_>=l?S+_<l+o?$("#luckysheet-cell-selected-focus").show().css({left:S+o,width:l-S}):$("#luckysheet-cell-selected-focus").show().css({left:S+o,width:_-o}):$("#luckysheet-cell-selected-focus").show().css("left",S+o)}}}else tt()},scrollAdaptOfImage:function(){let e=this;var n=imageCtrl.images;let t=$("#luckysheet-cell-main").scrollTop(),l=$("#luckysheet-cell-main").scrollLeft(),a=e.freezenhorizontaldata!=null?e.freezenhorizontaldata[0]-e.freezenhorizontaldata[2]:-1,o=e.freezenverticaldata!=null?e.freezenverticaldata[0]-e.freezenverticaldata[2]:-1,s=h.zoomRatio;$.each(n,function(u){let d=n[u],f=$("#"+u),m=f.position(),g=f.width(),y=f.height(),v=d.default.top*s,k=d.default.left*s,b=!1;v>=a?m.top<a?(f.css("visibility","hidden"),b=!0):f.css({visibility:"visible"}):f.css({top:v+t,height:y,visibility:"visible"}),b||(k>=o?m.left<o?f.css("visibility","hidden"):f.css({visibility:"visible"}):f.css({left:k+l,width:g,visibility:"visible"}))})},scrollAdaptOfchart:function(){let e=this,n=$("#luckysheet-cell-main").scrollTop(),t=$("#luckysheet-cell-main").scrollLeft();if(e.freezenhorizontaldata!=null&&e.freezenverticaldata!=null){let l=e.freezenhorizontaldata[0]-e.freezenhorizontaldata[2],a=e.freezenverticaldata[0]-e.freezenverticaldata[2];$("#luckysheet-cell-main .luckysheet-data-visualization-chart").each(function(o,s){let u=$(s).position(),d=$(s).width(),f=$(s).height(),m=$(s).find("canvas").width(),g=$(s).find("canvas").height(),y=g-f,v=m-d;if(u.top-y<l){let k=l-(u.top-y);k>g+40+2?$(s).css("visibility","hidden"):($(s).css({top:l+n,height:g-k,visibility:"visible"}),$(s).find("canvas").css("top",-k))}else $(s).css({top:u.top-y+n,height:g,visibility:"visible"}),$(s).find("canvas").css("top",0);if(u.left-v<a){let k=a-(u.left-v);k>m+20+2?$(s).css("visibility","hidden"):($(s).css({left:a+t,width:m-k,visibility:"visible"}),$(s).find("canvas").css("left",-k))}else $(s).css({left:u.left-v+t,width:m,visibility:"visible"}),$(s).find("canvas").css("left",0)})}else if(e.freezenhorizontaldata!=null){let l=e.freezenhorizontaldata[0]-e.freezenhorizontaldata[2];$("#luckysheet-cell-main .luckysheet-data-visualization-chart").each(function(a,o){let s=$(o).position(),u=$(o).height(),d=$(o).find("canvas").height(),f=d-u;if(s.top-f<l){let m=l-(s.top-f);m>d+40+2?$(o).css("visibility","hidden"):($(o).css({top:l+n,height:d-m,visibility:"visible"}),$(o).find("canvas").css("top",-m))}else $(o).css({top:s.top-f+n,height:d,visibility:"visible"}),$(o).find("canvas").css("top",0)})}else if(e.freezenverticaldata!=null){let l=e.freezenverticaldata[0]-e.freezenverticaldata[2];$("#luckysheet-cell-main .luckysheet-data-visualization-chart").each(function(a,o){let s=$(o).position(),u=$(o).width(),d=$(o).find("canvas").width(),f=d-u;if(s.left-f<l){let m=l-(s.left-f);m>d+20+2?$(o).css("visibility","hidden"):($(o).css({left:l+t,width:d-m,visibility:"visible"}),$(o).find("canvas").css("left",-m))}else $(o).css({left:s.left-f+t,width:d,visibility:"visible"}),$(o).find("canvas").css("left",0)})}else $("#luckysheet-cell-main .luckysheet-data-visualization-chart").each(function(l,a){let o=$(a).position(),s=$(a).width(),u=$(a).height(),d=$(a).find("canvas").width(),f=$(a).find("canvas").height(),m=f-u,g=d-s;$(a).css({top:o.top-m+n,height:f,left:o.left-g+t,width:d,visibility:"visible"}),$(a).find("canvas").css({top:0,left:0})})},scrollAdaptOfpostil:function(){let e=this,n=$("#luckysheet-cell-main").scrollTop(),t=$("#luckysheet-cell-main").scrollLeft();if(e.freezenhorizontaldata!=null&&e.freezenverticaldata!=null){let l=e.freezenhorizontaldata[0],a=e.freezenverticaldata[0],o=n-e.freezenhorizontaldata[2],s=t-e.freezenverticaldata[2];$("#luckysheet-postil-showBoxs .luckysheet-postil-show").each(function(u,d){let f=$(d).attr("id"),m=f.split("luckysheet-postil-show_")[1].split("_")[0],g=f.split("luckysheet-postil-show_")[1].split("_")[1],y=h.flowdata[m][g].ps,v=h.visibledatarow[m],k=m-1==-1?0:h.visibledatarow[m-1],b=h.visibledatacolumn[g],w=g-1==-1?0:h.visibledatacolumn[g-1],x=be.mergeborer(h.flowdata,m,g);x&&(v=x.row[1],k=x.row[0],b=x.column[1],w=x.column[0]);let C=b,S=k,_=y.left==null?C+18:y.left,T=y.top==null?S-18:y.top,A=y.width==null?He.defaultWidth:y.width,R=y.height==null?He.defaultHeight:y.height;T<0&&(T=2);let I=He.getArrowCanvasSize(_,T,C,S),F=!0,z=!0;m>=e.freezenhorizontaldata[1]?T+R<l?($(d).show().find(".luckysheet-postil-show-main").css("top",T+o),$(d).show().find(".arrowCanvas").css("top",I[1]+o)):T<l+o?T+R<=l+o?F=!1:($(d).show().find(".luckysheet-postil-show-main").css({top:l+o,height:R-(l+o-T)}),$(d).show().find(".formulaInputFocus").css("margin-top",-(l+o-T)),$(d).show().find(".arrowCanvas").hide(),z=!1):($(d).show().find(".luckysheet-postil-show-main").css({top:T,height:R}),$(d).show().find(".formulaInputFocus").css("margin-top",0),$(d).show().find(".arrowCanvas").css("top",I[1])):($(d).show().find(".luckysheet-postil-show-main").css("top",T+o),$(d).show().find(".arrowCanvas").css("top",I[1]+o)),g>=e.freezenverticaldata[1]?_+A<a?($(d).show().find(".luckysheet-postil-show-main").css("left",_+s),$(d).show().find(".arrowCanvas").css("left",I[0]+s)):_<a+s?_+A<=a+s?F=!1:($(d).show().find(".luckysheet-postil-show-main").css({left:a+s,width:A-(a+s-_)}),$(d).show().find(".formulaInputFocus").css("margin-left",-(a+s-_)),$(d).show().find(".arrowCanvas").hide(),z=!1):($(d).show().find(".luckysheet-postil-show-main").css({left:_,width:A}),$(d).show().find(".formulaInputFocus").css("margin-left",0),$(d).show().find(".arrowCanvas").css("left",I[0])):($(d).show().find(".luckysheet-postil-show-main").css("left",_+s),$(d).show().find(".arrowCanvas").css("left",I[0]+s)),F||$(d).hide(),F&&z&&$(d).show().find(".arrowCanvas").show()})}else if(e.freezenhorizontaldata!=null){let l=e.freezenhorizontaldata[0],a=n-e.freezenhorizontaldata[2];$("#luckysheet-postil-showBoxs .luckysheet-postil-show").each(function(o,s){let u=$(s).attr("id"),d=u.split("luckysheet-postil-show_")[1].split("_")[0],f=u.split("luckysheet-postil-show_")[1].split("_")[1],m=h.flowdata[d][f].ps,g=h.visibledatarow[d],y=d-1==-1?0:h.visibledatarow[d-1],v=h.visibledatacolumn[f],k=f-1==-1?0:h.visibledatacolumn[f-1],b=be.mergeborer(h.flowdata,d,f);b&&(g=b.row[1],y=b.row[0],v=b.column[1],k=b.column[0]);let w=v,x=y,C=m.left==null?w+18:m.left,S=m.top==null?x-18:m.top,_=m.width==null?He.defaultWidth:m.width,T=m.height==null?He.defaultHeight:m.height;S<0&&(S=2);let A=He.getArrowCanvasSize(C,S,w,x);d>=e.freezenhorizontaldata[1]?S+T<l?($(s).show().find(".luckysheet-postil-show-main").css("top",S+a),$(s).show().find(".arrowCanvas").css("top",A[1]+a)):S<l+a?S+T<=l+a?$(s).hide():($(s).show().find(".luckysheet-postil-show-main").css({top:l+a,height:T-(l+a-S)}),$(s).show().find(".formulaInputFocus").css("margin-top",-(l+a-S)),$(s).show().find(".arrowCanvas").hide()):He.buildPs(d,f,m):($(s).show().find(".luckysheet-postil-show-main").css("top",S+a),$(s).show().find(".arrowCanvas").css("top",A[1]+a))})}else if(e.freezenverticaldata!=null){let l=e.freezenverticaldata[0],a=t-e.freezenverticaldata[2];$("#luckysheet-postil-showBoxs .luckysheet-postil-show").each(function(o,s){let u=$(s).attr("id"),d=u.split("luckysheet-postil-show_")[1].split("_")[0],f=u.split("luckysheet-postil-show_")[1].split("_")[1],m=h.flowdata[d][f].ps,g=h.visibledatarow[d],y=d-1==-1?0:h.visibledatarow[d-1],v=h.visibledatacolumn[f],k=f-1==-1?0:h.visibledatacolumn[f-1],b=be.mergeborer(h.flowdata,d,f);b&&(g=b.row[1],y=b.row[0],v=b.column[1],k=b.column[0]);let w=v,x=y,C=m.left==null?w+18:m.left,S=m.top==null?x-18:m.top,_=m.width==null?He.defaultWidth:m.width,T=m.height==null?He.defaultHeight:m.height;S<0&&(S=2);let A=He.getArrowCanvasSize(C,S,w,x);f>=e.freezenverticaldata[1]?C+_<l?($(s).show().find(".luckysheet-postil-show-main").css("left",C+a),$(s).show().find(".arrowCanvas").css("left",A[0]+a)):C<l+a?C+_<=l+a?$(s).hide():($(s).show().find(".luckysheet-postil-show-main").css({left:l+a,width:_-(l+a-C)}),$(s).show().find(".formulaInputFocus").css("margin-left",-(l+a-C)),$(s).show().find(".arrowCanvas").hide()):He.buildPs(d,f,m):($(s).show().find(".luckysheet-postil-show-main").css("left",C+a),$(s).show().find(".arrowCanvas").css("left",A[0]+a))})}else $("#luckysheet-postil-showBoxs .luckysheet-postil-show").each(function(l,a){let o=$(a).attr("id"),s=o.split("luckysheet-postil-show_")[1].split("_")[0],u=o.split("luckysheet-postil-show_")[1].split("_")[1],d=h.flowdata[s][u].ps;He.buildPs(s,u,d)})},scrollAdaptOfdpicon:function(){let e=this,n=al.copyRange.row[1],t=al.copyRange.column[1],l=al.applyRange.row[1],a=al.applyRange.column[1],o,s;if(l>=n&&a>=t?(o=l,s=a):(o=n,s=t),e.freezenhorizontaldata!=null&&e.freezenverticaldata!=null){let u=e.freezenhorizontaldata[1],d=st(e.freezenhorizontaldata[3],$("#luckysheet-cell-main").scrollTop()-e.freezenhorizontaldata[2]),f=e.freezenverticaldata[1],m=st(e.freezenverticaldata[3],$("#luckysheet-cell-main").scrollLeft()-e.freezenverticaldata[2]);if(o>=u&&s>=f)o<u+d-1||s<f+m-1?$("#luckysheet-dropCell-icon").hide():$("#luckysheet-dropCell-icon").show();else if(o>=u)if(o<u+d-1)$("#luckysheet-dropCell-icon").hide();else{let g=Mt(s+m)[1];$("#luckysheet-dropCell-icon").show().css("left",g)}else if(s>=f)if(s<f+m-1)$("#luckysheet-dropCell-icon").hide();else{let g=rl(o+d)[1];$("#luckysheet-dropCell-icon").show().css("top",g)}else{let g=rl(o+d)[1],y=Mt(s+m)[1];$("#luckysheet-dropCell-icon").show().css({left:y,top:g})}}else if(e.freezenhorizontaldata!=null){let u=e.freezenhorizontaldata[1],d=st(e.freezenhorizontaldata[3],$("#luckysheet-cell-main").scrollTop()-e.freezenhorizontaldata[2]);if(o>=u)o<u+d-1?$("#luckysheet-dropCell-icon").hide():$("#luckysheet-dropCell-icon").show();else{let f=rl(o+d)[1];$("#luckysheet-dropCell-icon").show().css("top",f)}}else if(e.freezenverticaldata!=null){let u=e.freezenverticaldata[1],d=st(e.freezenverticaldata[3],$("#luckysheet-cell-main").scrollLeft()-e.freezenverticaldata[2]);if(s>=u)s<u+d-1?$("#luckysheet-dropCell-icon").hide():$("#luckysheet-dropCell-icon").show();else{let f=Mt(s+d)[1];$("#luckysheet-dropCell-icon").show().css("left",f)}}else{let u=rl(o)[1],d=Mt(s)[1];$("#luckysheet-dropCell-icon").show().css({left:d,top:u})}},scrollAdaptOffilteroptions:function(){let e=this;if(e.freezenhorizontaldata!=null&&e.freezenverticaldata!=null){let n=e.freezenhorizontaldata[1],t=e.freezenhorizontaldata[0]+$("#luckysheet-cell-main").scrollTop(),l=e.freezenverticaldata[1],a=st(e.freezenverticaldata[3],$("#luckysheet-cell-main").scrollLeft()-e.freezenverticaldata[2]);$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").each(function(o,s){let u=$(s).data("str"),d=u-1==-1?0:h.visibledatarow[u-1],f=$(s).data("cindex");if(u>=n&&f>=l)d<t||f<l+a?$(s).hide():$(s).show();else if(u>=n)if(d<t)$(s).hide();else{let m=h.visibledatacolumn[f+a]-20;$(s).show().css("left",m)}else if(f>=l)f<l+a?$(s).hide():$(s).show().css("top",d+$("#luckysheet-cell-main").scrollTop());else{let m=h.visibledatacolumn[f+a]-20;$(s).show().css({left:m,top:d+$("#luckysheet-cell-main").scrollTop()})}})}else if(e.freezenhorizontaldata!=null){let n=e.freezenhorizontaldata[1],t=e.freezenhorizontaldata[0]+$("#luckysheet-cell-main").scrollTop();$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").each(function(l,a){let o=$(a).data("str"),s=o-1==-1?0:h.visibledatarow[o-1];o>=n?s<t?$(a).hide():$(a).show():$(a).show().css("top",s+$("#luckysheet-cell-main").scrollTop())})}else if(e.freezenverticaldata!=null){let n=e.freezenverticaldata[1],t=st(e.freezenverticaldata[3],$("#luckysheet-cell-main").scrollLeft()-e.freezenverticaldata[2]);$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").each(function(l,a){let o=$(a).data("cindex");if(o>=n)o<n+t?$(a).hide():$(a).show();else{let s=h.visibledatacolumn[o+t]-20;$(a).show().css("left",s)}})}else $("#luckysheet-filter-options-sheet"+h.currentSheetIndex).empty(),Fl(h.luckysheetfile[K(h.currentSheetIndex)].filter_select)},saveFrozen:function(e,n,t={}){n==null&&(n=K(h.currentSheetIndex));let l=h.luckysheet_select_save[h.luckysheet_select_save.length-1],a=l.row_focus==null?l.row[0]:l.row_focus,o=l.column_focus==null?l.column[0]:l.column_focus,s={row_focus:t.row_focus||a,column_focus:t.column_focus||o},u={freezenRow:{type:"row"},freezenColumn:{type:"column"},freezenRC:{type:"both"},freezenRowRange:{type:"rangeRow",range:s},freezenColumnRange:{type:"rangeColumn",range:s},freezenRCRange:{type:"rangeBoth",range:s},freezenCancel:{type:"cancel"}};h.luckysheetfile[n].frozen=u[e]},frozenTofreezen:function(){let e=h.luckysheetfile[K(h.currentSheetIndex)],n=e.frozen;if(n==null)return;let t=null;if(n.type==="row"){let l=0,a=st(h.visibledatarow,l);a==-1&&(a=0);let o=h.visibledatarow[a]-2-l+h.columnHeaderHeight;t={horizontal:{freezenhorizontaldata:[h.visibledatarow[a],a+1,l,hn.cutVolumn(h.visibledatarow,a+1),o],top:o}}}else if(n.type==="column"){let l=0,a=st(h.visibledatacolumn,l);a==-1&&(a=0);let o=h.visibledatacolumn[a]-2-l+h.rowHeaderWidth;t={vertical:{freezenverticaldata:[h.visibledatacolumn[a],a+1,l,hn.cutVolumn(h.visibledatacolumn,a+1),o],left:o}}}else if(n.type==="both"){let l=0,a=st(h.visibledatarow,l);a==-1&&(a=0);let o=h.visibledatarow[a]-2-l+h.columnHeaderHeight,s=[h.visibledatarow[a],a+1,l,hn.cutVolumn(h.visibledatarow,a+1),o],u=0,d=st(h.visibledatacolumn,u);d==-1&&(d=0);let f=h.visibledatacolumn[d]-2-u+h.rowHeaderWidth,m=[h.visibledatacolumn[d],d+1,u,hn.cutVolumn(h.visibledatacolumn,d+1),f];t={horizontal:{freezenhorizontaldata:s,top:o},vertical:{freezenverticaldata:m,left:f}}}else if(n.type==="rangeRow"){let l=0,a=st(h.visibledatarow,l),o=n.range.row_focus;o>a&&(a=o),a==-1&&(a=0);let s=h.visibledatarow[a]-2-l+h.columnHeaderHeight;t={horizontal:{freezenhorizontaldata:[h.visibledatarow[a],a+1,l,hn.cutVolumn(h.visibledatarow,a+1),s],top:s}}}else if(n.type==="rangeColumn"){let l=0,a=st(h.visibledatacolumn,l),o=n.range.column_focus;o>a&&(a=o),a==-1&&(a=0);let s=h.visibledatacolumn[a]-2-l+h.rowHeaderWidth;t={vertical:{freezenverticaldata:[h.visibledatacolumn[a],a+1,l,hn.cutVolumn(h.visibledatacolumn,a+1),s],left:s}}}else if(n.type==="rangeBoth"){let l=0,a=st(h.visibledatarow,l),o=n.range.row_focus;o>a&&(a=o),a==-1&&(a=0);let s=h.visibledatarow[a]-2-l+h.columnHeaderHeight,u=[h.visibledatarow[a],a+1,l,hn.cutVolumn(h.visibledatarow,a+1),s],d=0,f=st(h.visibledatacolumn,d),m=n.range.column_focus;m>f&&(f=m),f==-1&&(f=0);let g=h.visibledatacolumn[f]-2-d+h.rowHeaderWidth,y=[h.visibledatacolumn[f],f+1,d,hn.cutVolumn(h.visibledatacolumn,f+1),g];t={horizontal:{freezenhorizontaldata:u,top:s},vertical:{freezenverticaldata:y,left:g}}}else n.type==="cancel"&&(t={horizontal:null,vertical:null});e.freezen=t}},X=hn});function $t(e=!0){me.showinfobar?($("#luckysheet_info_detail").show(),h.infobarHeight=document.querySelector("#luckysheet_info_detail").offsetHeight):(h.infobarHeight=0,$("#luckysheet_info_detail").hide()),!!h.toobarObject&&!!h.toobarObject.toobarElements&&h.toobarObject.toobarElements.length===0?($("#"+h.container).find(".luckysheet-wa-editor").hide(),h.toolbarHeight=0):($("#"+h.container).find(".luckysheet-wa-editor").show(),h.toolbarHeight=document.querySelector("#"+h.container+" .luckysheet-wa-editor").offsetHeight),y2(),v2();let n=document.querySelector("#"+h.container+" .luckysheet-wa-calculate");me.sheetFormulaBar?(n.style.display="block",h.calculatebarHeight=n.offsetHeight):(n.style.display="none",h.calculatebarHeight=0),$("#"+h.container).find(".luckysheet-grid-container").css("top",h.toolbarHeight+h.infobarHeight+h.calculatebarHeight),jn=$("#"+h.container).width(),me.showConfigWindowResize&&($("#luckysheet-modal-dialog-slider-pivot").is(":visible")?jn-=$("#luckysheet-modal-dialog-slider-pivot").outerWidth():$(".chartSetting").is(":visible")?jn-=$(".chartSetting").outerWidth():$("#luckysheet-modal-dialog-slider-alternateformat").is(":visible")&&(jn-=$("#luckysheet-modal-dialog-slider-alternateformat").outerWidth()),$("#luckysheet-modal-dialog-slider-protection").is(":visible")&&(jn-=$("#luckysheet-modal-dialog-slider-protection").outerWidth()));let l=Q().toolbar,a=!1,o=0,s=`<div class="luckysheet-toolbar-button luckysheet-inline-block" data-tips="${l.toolMoreTip}" id="luckysheet-icon-morebtn" role="button" style="user-select: none;">
  2531. <div class="luckysheet-toolbar-button-outer-box luckysheet-inline-block" style="user-select: none;">
  2532. <div class="luckysheet-toolbar-button-inner-box luckysheet-inline-block" style="user-select: none;">
  2533. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block" style="user-select: none;">
  2534. ${l.toolMore}
  2535. </div>
  2536. <div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-xiayige" style="user-select: none;font-size:12px;">
  2537. </div>
  2538. </div>
  2539. </div>
  2540. </div>`,u='<div id="luckysheet-icon-morebtn-div" class="luckysheet-wa-editor" style="position:absolute;top:'+(h.infobarHeight+h.toolbarHeight+$("#"+h.container).offset().top+$("body").scrollTop())+'px;right:0px;z-index:1003;padding:5.5px;visibility:hidden;height:auto;white-space:initial;"></div>';$("#luckysheet-icon-morebtn-div").length==0&&$("body").append(u),We("#luckysheet-icon-morebtn-div").style.visibility="hidden",$("#luckysheet-icon-morebtn-div > div").each(function(){let g=$(this)[0],y=$("#luckysheet-wa-editor")[0];y.appendChild(document.createTextNode(" ")),y.appendChild(g)}),$("#luckysheet-icon-morebtn").remove();let d=h.toobarObject.toobarWidths,f=h.toobarObject.toobarElements,m=0;if(d!=null){for(let g=d.length-1;g>=0;g--)if(d[g]<jn-90){m=g,m<d.length-1&&(a=!0);break}for(let g=m;g<f.length;g++){let y=f[g];if(y instanceof Array)for(let v of y)$("#luckysheet-icon-morebtn-div").append($(`${v}`));else $("#luckysheet-icon-morebtn-div").append($(`${y}`))}a&&($("#luckysheet-wa-editor").append(s),$("#luckysheet-icon-morebtn").click(function(){We("#luckysheet-icon-morebtn-div").style.left="";let g=We(`#${h.container}`).getBoundingClientRect?We(`#${h.container}`).getBoundingClientRect().left:0;We("#luckysheet-icon-morebtn-div").getBoundingClientRect().left<g&&(We("#luckysheet-icon-morebtn-div").style.left=g+"px");let v=$(window).width()-$("#luckysheet-icon-morebtn").offset().left-$("#luckysheet-icon-morebtn").width()+$("body").scrollLeft();if(We("#luckysheet-icon-morebtn-div").style.right=v<0?0:v+"px",We("#luckysheet-icon-morebtn-div").style.visibility==="hidden"?We("#luckysheet-icon-morebtn-div").style.visibility="visible":We("#luckysheet-icon-morebtn-div").style.visibility="hidden",$(this).find(".luckysheet-toolbar-menu-button-caption").text().indexOf(l.toolMore)>-1){let b=`
  2541. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block" style="user-select: none;">
  2542. ${l.toolClose}
  2543. </div>
  2544. <div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-shangyige" style="user-select: none;font-size:12px;">
  2545. </div>
  2546. `;$(this).find(".luckysheet-toolbar-button-inner-box").html(b)}else{let b=`
  2547. <div class="luckysheet-toolbar-menu-button-caption luckysheet-inline-block" style="user-select: none;">
  2548. ${l.toolMore}
  2549. </div>
  2550. <div class="luckysheet-toolbar-menu-button-dropdown luckysheet-inline-block iconfont-luckysheet luckysheet-iconfont-xiayige" style="user-select: none;font-size:12px;">
  2551. </div>
  2552. `;$(this).find(".luckysheet-toolbar-button-inner-box").html(b)}}),$("#luckysheet-icon-morebtn-div .luckysheet-toolbar-button-split-left").off("hover").hover(function(){$(this).next(".luckysheet-toolbar-button-split-right").addClass("luckysheet-toolbar-button-split-right-hover")},function(){$(this).next(".luckysheet-toolbar-button-split-right").removeClass("luckysheet-toolbar-button-split-right-hover")}),$("#luckysheet-icon-morebtn-div .luckysheet-toolbar-button-split-right").off("hover").hover(function(){$(this).prev(".luckysheet-toolbar-button-split-left").addClass("luckysheet-toolbar-button-hover")},function(){$(this).prev(".luckysheet-toolbar-button-split-left").removeClass("luckysheet-toolbar-button-hover")}),U.createHoverTip("#luckysheet-icon-morebtn-div",".luckysheet-toolbar-menu-button, .luckysheet-toolbar-button, .luckysheet-toolbar-combo-button")),$("#"+h.container+" .luckysheet-wa-editor .luckysheet-toolbar-button-split-left").off("hover").hover(function(){$(this).next(".luckysheet-toolbar-button-split-right").addClass("luckysheet-toolbar-button-split-right-hover")},function(){$(this).next(".luckysheet-toolbar-button-split-right").removeClass("luckysheet-toolbar-button-split-right-hover")}),$("#"+h.container+" .luckysheet-wa-editor .luckysheet-toolbar-button-split-right").off("hover").hover(function(){$(this).prev(".luckysheet-toolbar-button-split-left").addClass("luckysheet-toolbar-button-hover")},function(){$(this).prev(".luckysheet-toolbar-button-split-left").removeClass("luckysheet-toolbar-button-hover")}),Qs=$("#"+h.container).height(),$("#"+h.container).find(".luckysheet").height(Qs-2).width(jn-2),ec(jn,Qs),e&&Be($("#luckysheet-cell-main").scrollLeft(),$("#luckysheet-cell-main").scrollTop()),ve.sheetArrowShowAndHide(),ve.sheetBarShowAndHide()}}function ec(e,n){e==null&&(e=$("#"+h.container).width()),n==null&&(n=$("#"+h.container).height()),h.cellmainHeight=n-(h.infobarHeight+h.toolbarHeight+h.calculatebarHeight+h.columnHeaderHeight+h.sheetBarHeight+h.statisticBarHeight),h.cellmainWidth=e-h.rowHeaderWidth,$("#luckysheet-cols-h-c, #luckysheet-cell-main").width(h.cellmainWidth),$("#luckysheet-cell-main").height(h.cellmainHeight),$("#luckysheet-rows-h").height(h.cellmainHeight-h.cellMainSrollBarSize),$("#luckysheet-scrollbar-y").height(h.cellmainHeight+h.columnHeaderHeight-h.cellMainSrollBarSize-3),$("#luckysheet-scrollbar-x").height(h.cellMainSrollBarSize),$("#luckysheet-scrollbar-y").width(h.cellMainSrollBarSize),$("#luckysheet-scrollbar-x").width(h.cellmainWidth).css("left",h.rowHeaderWidth-2),h.luckysheetTableContentHW=[h.cellmainWidth+h.rowHeaderWidth-h.cellMainSrollBarSize,h.cellmainHeight+h.columnHeaderHeight-h.cellMainSrollBarSize],$("#luckysheetTableContent, #luckysheetTableContentF").attr({width:Math.ceil(h.luckysheetTableContentHW[0]*h.devicePixelRatio),height:Math.ceil(h.luckysheetTableContentHW[1]*h.devicePixelRatio)}).css({width:h.luckysheetTableContentHW[0],height:h.luckysheetTableContentHW[1]}),$("#"+h.container).find("#luckysheet-grid-window-1").css("bottom",h.sheetBarHeight),$("#"+h.container).find(".luckysheet-grid-window").css("bottom",h.statisticBarHeight);let t=$("#luckysheet-grid-window-1").width();$("#luckysheet-freezebar-horizontal").find(".luckysheet-freezebar-horizontal-handle").css({width:t-10}).end().find(".luckysheet-freezebar-horizontal-drop").css({width:t-10});let l=$("#luckysheet-grid-window-1").height();$("#luckysheet-freezebar-vertical").find(".luckysheet-freezebar-vertical-handle").css({height:l-10}).end().find(".luckysheet-freezebar-vertical-drop").css({height:l-10}),X.createAssistCanvas()}function af(){let e=me.showtoolbar,n=me.showtoolbarConfig,t=h.toobarObject.toobarWidths=[],l=h.toobarObject.toobarElements=[],a=h.toobarObject.toolbarConfig=o();function o(){let d={};function f(g){let y={},v,k,b=0;for(let w=0;w<g.length;w++)v=g[w],k=g[w+1],v!=="|"&&(y[v]={ele:as[v],index:b++}),k==="|"&&(P(y[v].ele)==="array"?y[v].ele.push(`#toolbar-separator-${In(v)}`):y[v].ele=[y[v].ele,`#toolbar-separator-${In(v)}`]);return y}if(P(n)==="array")return e?f(n):d;let m=Er.reduce(function(g,y){return y!=="|"&&(g[y]=!0),g},{});if(!e)for(let g in m)m[g]=!1;if(JSON.stringify(n)!=="{}"){n.hasOwnProperty("undoRedo")&&(m.undo=m.redo=n.undoRedo),Object.assign(m,n);let g,y,v=0;for(let k=0;k<Er.length;k++)g=Er[k],y=Er[k+1],m[g]!==!1&&(g!=="|"&&m[g]&&(d[g]={ele:as[g],index:v++}),y==="|"&&(P(d[g].ele)==="array"?d[g].ele.push(`#toolbar-separator-${In(g)}`):d[g].ele=[d[g].ele,`#toolbar-separator-${In(g)}`]))}else d=e?f(Er):{};return d}for(let d in a)Object.prototype.hasOwnProperty.call(a,d)&&l.push($.extend(!0,{},a[d]));l.sort(s);function s(d,f){return d.index>f.index?1:-1}l.forEach((d,f,m)=>{m[f]=d.ele,f!==l.length-1?d.ele instanceof Array?t.push($(d.ele[0]).offset().left):t.push($(d.ele).offset().left):d.ele instanceof Array?(t.push($(d.ele[0]).offset().left),t.push($(d.ele[0]).offset().left+$(d.ele[0]).outerWidth()+5)):(t.push($(d.ele).offset().left),t.push($(d.ele).offset().left+$(d.ele).outerWidth()+5))});let u=$("#"+h.container).offset().left;t.forEach((d,f)=>{t[f]-=u})}function y2(){if(!me.initShowsheetbarConfig){me.initShowsheetbarConfig=!0;let t={add:!0,menu:!0,sheet:!0};if(!me.showsheetbar)for(let l in t)t[l]=!1;JSON.stringify(me.showsheetbarConfig)!=="{}"&&Object.assign(t,me.showsheetbarConfig),me.showsheetbarConfig=t}let e=me.showsheetbarConfig,n=0;for(let t in e)if(!e[t])switch(t){case"add":$("#luckysheet-sheets-add").hide(),n++;break;case"menu":$("#luckysheet-sheets-m").hide(),n++;break;case"sheet":$("#luckysheet-sheet-container").hide(),$("#luckysheet-sheets-leftscroll").hide(),$("#luckysheet-sheets-rightscroll").hide(),n++;break;default:break}n===3?($("#"+h.container).find("#luckysheet-sheet-area").hide(),h.sheetBarHeight=0):($("#"+h.container).find("#luckysheet-sheet-area").show(),h.sheetBarHeight=31)}function v2(){if(!me.initStatisticBarConfig){me.initStatisticBarConfig=!0;let t={count:!0,view:!0,zoom:!0};if(!me.showstatisticBar)for(let l in t)t[l]=!1;JSON.stringify(me.showstatisticBarConfig)!=="{}"&&Object.assign(t,me.showstatisticBarConfig),me.showstatisticBarConfig=t}let e=me.showstatisticBarConfig,n=0;for(let t in e)if(!e[t])switch(t){case"count":$("#luckysheet-sta-content").hide(),n++;break;case"view":$(".luckysheet-print-viewList").hide(),n++;break;case"zoom":$("#luckysheet-zoom-content").hide(),n++;break;default:break}n===3?($("#"+h.container).find(".luckysheet-stat-area").hide(),h.statisticBarHeight=0):($("#"+h.container).find(".luckysheet-stat-area").show(),h.statisticBarHeight=23)}var jn,Qs,nr=$e(()=>{Sl();Vl();Xt();Xe();yt();gl();tl();ht();is();jn=0,Qs=0});function df(e){let n=Q(),t=n.protection,l=n.button,a=e.name,o=e.sqref,s=e.password,u="";s!=null&&s.length>0&&(u='<i class="icon iconfont-luckysheet luckysheet-iconfont-bianji2" title="'+t.rangeItemHasPassword+'"></i>');let d=`
  2553. <div class="luckysheet-protection-rangeItem" title="${t.rangeItemDblclick}">
  2554. <div class="luckysheet-protection-rangeItem-del" title="${l.delete}">
  2555. <i class="icon iconfont-luckysheet luckysheet-iconfont-shanchu"></i>
  2556. </div>
  2557. <div class="luckysheet-protection-rangeItem-name" title="${a}">
  2558. ${a}${u}
  2559. </div>
  2560. <div class="luckysheet-protection-rangeItem-range" title="${o}">
  2561. ${o}
  2562. </div>
  2563. <div class="luckysheet-protection-rangeItem-update" title="${l.update}">
  2564. <i class="icon iconfont-luckysheet luckysheet-iconfont-bianji"></i>
  2565. </div>
  2566. </div>
  2567. `;$("#luckysheet-protection-rangeItem-container").append(d)}function nc(e){let n=Q(),t=n.protection,l=n.button;$("#luckysheet-slider-protection-ok").unbind("click").click(function(){let a=$("#protection-password").val(),o=$("#protection-swichProtectionState").is(":checked"),s=$("#protection-hint").val(),u=uf,d={};u!=null&&u.config!=null&&u.config.authority!=null&&(d=u.config.authority);let f={},m="None";a!="\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"?(f.password=a,f.algorithmName="None",f.saltValue=null):d!=null?(f.algorithmName=d.algorithmName,f.saltValue=d.saltValue,f.password=d.password):(f.algorithmName="None",f.saltValue=null,f.password=""),f.hintText=s,f.sheet=o==!0?1:0;for(let y=0;y<Ga.length;y++){let v=Ga[y],k="luckysheet-protection-check-"+v,b=$("#"+k).is(":checked");f[v]=b==!0?1:0}let g=JSON.parse(JSON.stringify(Yr));f.allowRangeList=g,Yr=[],lc=!0,u.config==null&&(u.config={}),u.config.authority=f,rc={},mf()}),$("#luckysheet-slider-protection-cancel, #luckysheet-modal-dialog-protection-close").click(function(){mf()}),$("#luckysheet-slider-protection-addRange").click(function(){ff(),tc=!0,$("#luckysheet-protection-rangeItem-confirm").html(l.insert),ma("luckysheet-protection-rangeItem-dialog"),$("#protection-allowRangeAdd-title").val("Default"+Yr.length),$("#protection-allowRangeAdd-range input").val(""),$("#protection-allowRangeAdd-password").val(""),$("#protection-allowRangeAdd-hint").val("")}),$(document).off("click.luckysheetProtection.rangeItemUpdate").on("click.luckysheetProtection.rangeItemUpdate","#luckysheet-protection-rangeItem-container .luckysheet-protection-rangeItem-update",function(a){ff(),tc=!1,$("#luckysheet-protection-rangeItem-confirm").html(l.update),ma("luckysheet-protection-rangeItem-dialog");let o=$(a.target).closest(".luckysheet-protection-rangeItem"),u=$("#luckysheet-protection-rangeItem-container").find("> div.luckysheet-protection-rangeItem").index(o),d=Yr[u];cf=u,$("#protection-allowRangeAdd-title").val(d.name),$("#protection-allowRangeAdd-range input").val(d.sqref),d.algorithmName=="None"?$("#protection-allowRangeAdd-password").val(d.password):$("#protection-allowRangeAdd-password").val("\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"),$("#protection-allowRangeAdd-hint").val(d.hintText)}),$(document).off("click.luckysheetProtection.rangeItemDelete").on("click.luckysheetProtection.rangeItemDelete","#luckysheet-protection-rangeItem-container .luckysheet-protection-rangeItem-del",function(a){let o=$(a.target).closest(".luckysheet-protection-rangeItem"),u=$("#luckysheet-protection-rangeItem-container").find("> div.luckysheet-protection-rangeItem").index(o),d=Yr[u];Yr.splice(u,1),o.remove()}),$(document).off("click.luckysheetProtection.rangeItemConfirm").on("click.luckysheetProtection.rangeItemConfirm","#luckysheet-protection-rangeItem-confirm",function(){let a=$("#protection-allowRangeAdd-title").val(),o=$("#protection-allowRangeAdd-range input").val(),s=$("#protection-allowRangeAdd-password").val(),u=$("#protection-allowRangeAdd-hint").val();if(a.length==0){alert(t.rangeItemErrorTitleNull);return}let d=Ye.getRangeByTxt(o);if(o.length==0){alert(t.rangeItemErrorRangeNull);return}if(d.length==0){alert(t.rangeItemErrorRange);return}if(o=pf(o),tc){let f={name:a,password:s,hintText:u,algorithmName:"None",saltValue:null,checkRangePasswordUrl:null,sqref:o};df(f),Yr.push(f)}else{let f=cf,m=Yr[f];m.name=a,m.sqref=o,m.hintText=u,s!="\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"&&(m.password=s,m.algorithmName="None");let y=$("#luckysheet-protection-rangeItem-container").find("> div.luckysheet-protection-rangeItem").eq(f),v=y.find(".luckysheet-protection-rangeItem-name"),k="";s!=null&&s.length>0&&(k='<i class="icon iconfont-luckysheet luckysheet-iconfont-bianji2" title="'+t.rangeItemHasPassword+'"></i>'),v.html(a+k).attr("title",a),y.find(".luckysheet-protection-rangeItem-range").html(o).attr("title",o)}$("#luckysheet-protection-rangeItem-dialog").hide(),$("#luckysheet-modal-dialog-mask").hide()}),$(document).off("click.luckysheetProtection.validationConfirm").on("click.luckysheetProtection.validationConfirm","#luckysheet-protection-sheet-validation-confirm",function(a){let o=$("#luckysheet-protection-sheet-validation"),s=Co;if(s==null){ac(Co),o.hide(),$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-modal-dialog-slider-protection").show(),$t();return}let d=o.find("input").val();if(d==null||d.length==0){alert(t.checkPasswordNullalert);return}if(s.algorithmName!=null&&s.algorithmName!="None")if(s.saltValue!=null&&s.saltValue.length>0){var f=CryptoApi.getHasher(s.algorithmName);d=CryptoApi.hmac(s.saltValue,d,f)}else d=CryptoApi.hash(s.algorithmName,d);d==s.password?(ac(Co),o.hide(),$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-modal-dialog-slider-protection").show(),$t(),lc=!1):alert(t.checkPasswordWrongalert)}),$("#luckysheet-protection-check-selectLockedCells").change(function(){let a=$("#luckysheet-protection-check-selectLockedCells"),o=$("#luckysheet-protection-check-selectunLockedCells"),s=a.is(":checked"),u=o.is(":checked");s&&o.prop("checked",!0)}),$("#luckysheet-protection-check-selectunLockedCells").change(function(){let a=$("#luckysheet-protection-check-selectLockedCells"),o=$("#luckysheet-protection-check-selectunLockedCells"),s=a.is(":checked");o.is(":checked")||a.prop("checked",!1)}),$(document).off("click.luckysheetProtection.dvRange").on("click.luckysheetProtection.dvRange","#protection-allowRangeAdd-range .fa-table",function(a){$("#luckysheet-protection-rangeItem-dialog").hide();let o="0",s=$(this).siblings("input").val().trim();Ye.rangeDialog(o,s),Ye.selectRange=[];let u=Ye.getRangeByTxt(s);if(u.length>0)for(let d=0;d<u.length;d++){let f=u[d].row[0],m=u[d].row[1],g=u[d].column[0],y=u[d].column[1],v=h.visibledatarow[m],k=f-1==-1?0:h.visibledatarow[f-1],b=h.visibledatacolumn[y],w=g-1==-1?0:h.visibledatacolumn[g-1];Ye.selectRange.push({left:w,width:b-w-1,top:k,height:v-k-1,left_move:w,width_move:b-w-1,top_move:k,height_move:v-k-1,row:[f,m],column:[g,y],row_focus:f,column_focus:g})}Bt(Ye.selectRange)}),$(document).off("click.luckysheetProtection.dvRange2").on("click.luckysheetProtection.dvRange2","#luckysheet-protection-rangeItem-dialog .show-box-item-dropdown .range .fa-table",function(a){$("#luckysheet-protection-rangeItem-dialog").hide();let o="1",s=$(this).siblings("input").val().trim();Ye.rangeDialog(o,s),Ye.selectRange=[];let u=Ye.getRangeByTxt(s);if(u.length>0)for(let d=0;d<u.length;d++){let f=u[d].row[0],m=u[d].row[1],g=u[d].column[0],y=u[d].column[1],v=h.visibledatarow[m],k=f-1==-1?0:h.visibledatarow[f-1],b=h.visibledatacolumn[y],w=g-1==-1?0:h.visibledatacolumn[g-1];Ye.selectRange.push({left:w,width:b-w-1,top:k,height:v-k-1,left_move:w,width_move:b-w-1,top_move:k,height_move:v-k-1,row:[f,m],column:[g,y],row_focus:f,column_focus:g})}Bt(Ye.selectRange)}),$(document).off("click.luckysheetProtection.dvRangeConfirm").on("click.luckysheetProtection.dvRangeConfirm","#luckysheet-dataVerificationRange-dialog-confirm",function(a){let o=$(this).parents("#luckysheet-dataVerificationRange-dialog").find("input").val(),s=$("#protection-allowRangeAdd-range input"),u=s.val();u.substr(u.length-1,1)==","?s.val(u+o):s.val(o),$("#luckysheet-dataVerificationRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-protection-rangeItem-dialog").show(),Bt([])}),$(document).off("click.luckysheetProtection.dvRangeClose").on("click.dvRangeClose","#luckysheet-dataVerificationRange-dialog-close",function(a){$("#luckysheet-dataVerificationRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-protection-rangeItem-dialog").show(),Bt([])}),$(document).on("click.luckysheetProtection.luckysheetProtection","#luckysheet-dataVerificationRange-dialog .luckysheet-modal-dialog-title-close",function(a){$("#luckysheet-dataVerificationRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-protection-rangeItem-dialog").show(),Bt([])})}function ff(e){if(sf)return;sf=!0;let n=Q(),t=n.protection,l=n.button;$("body").append(_e(ft,{id:"luckysheet-protection-rangeItem-dialog",addclass:"luckysheet-protection-rangeItem-dialog",title:t.allowRangeTitle,content:`
  2568. <div class="luckysheet-protection-rangeItem-content">
  2569. <div class="luckysheet-slider-protection-row">
  2570. <div class="luckysheet-slider-protection-column luckysheet-protection-column-3x">
  2571. ${t.allowRangeAddTitle}
  2572. </div>
  2573. <div class="luckysheet-slider-protection-column luckysheet-protection-column-7x" style="left:30%">
  2574. <input class="luckysheet-protection-rangeItemiInput" id="protection-allowRangeAdd-title" placeHolder="${t.allowRangeAddtitleDefault}">
  2575. </div>
  2576. </div>
  2577. <div class="luckysheet-slider-protection-row">
  2578. <div class="luckysheet-slider-protection-column luckysheet-protection-column-3x">
  2579. ${t.allowRangeAddSqrf}
  2580. </div>
  2581. <div class="luckysheet-slider-protection-column luckysheet-protection-column-7x" style="left:30%">
  2582. <div id="protection-allowRangeAdd-range" class="range">
  2583. <input class="formulaInputFocus" spellcheck="false" placeHolder="${t.selectCellRangeHolder}">
  2584. <i class="fa fa-table" aria-hidden="true" title="${t.selectCellRange}"></i>
  2585. </div>
  2586. </div>
  2587. </div>
  2588. <div class="luckysheet-slider-protection-row">
  2589. <div class="luckysheet-slider-protection-column luckysheet-protection-column-3x">
  2590. ${t.allowRangeAddTitlePassword}
  2591. </div>
  2592. <div class="luckysheet-slider-protection-column luckysheet-protection-column-7x" style="left:30%">
  2593. <input class="luckysheet-protection-rangeItemiInput" id="protection-allowRangeAdd-password" placeHolder="${t.enterPassword}">
  2594. </div>
  2595. </div>
  2596. <div class="luckysheet-slider-protection-row">
  2597. <div class="luckysheet-slider-protection-column luckysheet-protection-column-3x">
  2598. ${t.allowRangeAddTitleHint}
  2599. </div>
  2600. <div class="luckysheet-slider-protection-column luckysheet-protection-column-7x" style="left:30%">
  2601. <textarea class="luckysheet-protection-rangeItemTextarea" id="protection-allowRangeAdd-hint" placeHolder="${t.allowRangeAddTitleHintTitle}"></textarea>
  2602. </div>
  2603. </div>
  2604. </div>
  2605. `,botton:`<button id="luckysheet-protection-rangeItem-confirm" class="btn btn-primary">${l.insert}</button>
  2606. <button class="btn btn-default luckysheet-model-close-btn">${l.cancel}</button>`,style:"z-index:100003"}))}function k2(e){let n=Q(),t=n.protection,l=n.button,a="";for(let s=0;s<Ga.length;s++){let u=Ga[s];a+=`
  2607. <div class="luckysheet-slider-protection-row" style="height:18px;">
  2608. <div class="luckysheet-slider-protection-column luckysheet-protection-column-10x">
  2609. <label for="luckysheet-protection-check-${u}"><input id="luckysheet-protection-check-${u}" name="luckysheet-protection-check-${u}" type="checkbox">${t[u]}</label>
  2610. </div>
  2611. </div>
  2612. `}let o=`
  2613. <div id="luckysheet-modal-dialog-slider-protection" class="luckysheet-modal-dialog-slider luckysheet-modal-dialog-slider-pivot" style="display:none;">
  2614. <div class="luckysheet-modal-dialog-slider-title"> <span>${t.protectiontTitle}</span> <span id="luckysheet-modal-dialog-protection-close" title="${l.close}"><i class="fa fa-times" aria-hidden="true"></i></span> </div>
  2615. <div class="luckysheet-modal-dialog-slider-content">
  2616. <div class="luckysheet-slider-protection-config" style="top:10px;height:115px">
  2617. <div class="luckysheet-slider-protection-row">
  2618. <div class="luckysheet-slider-protection-column luckysheet-protection-column-10x">
  2619. <label for="protection-swichProtectionState"><input id="protection-swichProtectionState" name="protection-swichProtectionState" type="checkbox">${t.swichProtectionTip}</label>
  2620. </div>
  2621. </div>
  2622. <div class="luckysheet-slider-protection-row" style="height:23px;">
  2623. <div class="luckysheet-slider-protection-column" style="width:98%;">
  2624. <input class="luckysheet-protection-input" id="protection-password" placeHolder="${t.enterPassword}">
  2625. </div>
  2626. </div>
  2627. <div class="luckysheet-slider-protection-row" style="height:47px;margin-top:4px;">
  2628. <div class="luckysheet-slider-protection-column" style="width:98%;">
  2629. <textarea class="luckysheet-protection-textarea" id="protection-hint" placeHolder="${t.enterHint}"></textarea>
  2630. </div>
  2631. </div>
  2632. </div>
  2633. <div class="luckysheet-slider-protection-config" style="top:130px;height:290px;border-top:1px solid #c5c5c5">
  2634. <div class="luckysheet-slider-protection-row" style="height:20px;">
  2635. ${t.authorityTitle}
  2636. </div>
  2637. ${a}
  2638. </div>
  2639. <div class="luckysheet-slider-protection-config" style="top:440px;bottom:45px;border-top:1px solid #c5c5c5">
  2640. <div class="luckysheet-slider-protection-row" style="height:25px;">
  2641. <div class="luckysheet-slider-protection-column luckysheet-protection-column-7x" style="left:0px;line-height: 25px;">
  2642. ${t.allowRangeTitle}
  2643. </div>
  2644. <div class="luckysheet-slider-protection-column luckysheet-protection-column-3x" style="left:70%;">
  2645. <div class="luckysheet-slider-protection-ok luckysheet-slider-protection-addRange" id="luckysheet-slider-protection-addRange">
  2646. ${t.allowRangeAdd}
  2647. </div>
  2648. </div>
  2649. </div>
  2650. <div id="luckysheet-protection-rangeItem-container" class="luckysheet-slider-protection-row" style="top:25px;bottom:0px;position:absolute">
  2651. </div>
  2652. </div>
  2653. <div class="luckysheet-slider-protection-config" style="bottom:0px;height:45px">
  2654. <div class="luckysheet-slider-protection-column luckysheet-protection-column-5x" style="left:0px;">
  2655. <div class="luckysheet-slider-protection-ok" id="luckysheet-slider-protection-ok">
  2656. ${l.confirm}
  2657. </div>
  2658. </div>
  2659. <div class="luckysheet-slider-protection-column luckysheet-protection-column-5x" style="left:50%;">
  2660. <div class="luckysheet-slider-protection-cancel" id="luckysheet-slider-protection-cancel">
  2661. ${l.cancel}
  2662. </div>
  2663. </div>
  2664. </div>
  2665. </div>
  2666. </div>
  2667. `;$("body").append(o),$("body").append(_e(ft,{id:"luckysheet-protection-sheet-validation",addclass:"luckysheet-protection-sheet-validation",title:t.validationTitle,content:`
  2668. <div class="luckysheet-slider-protection-row">
  2669. <div class="luckysheet-slider-protection-column luckysheet-protection-column-10x">
  2670. ${t.validationTips}
  2671. </div>
  2672. </div>
  2673. <div class="luckysheet-slider-protection-row" style="margin-top:20px">
  2674. <div class="luckysheet-slider-protection-column luckysheet-protection-column-10x">
  2675. <input type="password" class="luckysheet-protection-rangeItemiInput" placeHolder="${t.validationInputHint}">
  2676. </div>
  2677. </div>
  2678. `,botton:`<button id="luckysheet-protection-sheet-validation-confirm" class="btn btn-primary">${l.confirm}</button>
  2679. <button class="btn btn-default luckysheet-model-close-btn">${l.cancel}</button>`,style:"z-index:100003"}))}function ac(e){e==null&&(e={});for(let a=0;a<Ga.length;a++){let o=Ga[a],s="luckysheet-protection-check-"+o,u=e[o];u==null&&(u=0),u==null&&o in{selectLockedCells:1,selectunLockedCells:1}&&(u=1),$("#"+s).prop("checked",u==1)}e.password!=null&&e.password.length>0?e.algorithmName=="None"||e.algorithmName==null?$("#protection-password").val(e.password):$("#protection-password").val("\u2022\u2022\u2022\u2022\u2022\u2022\u2022\u2022"):$("#protection-password").val("");let n=e.sheet;e.sheet==null&&(n=0),$("#protection-swichProtectionState").prop("checked",n==1);let t=e.hintText;t==null&&(t=""),$("#protection-hint").val(t),Yr=[],$("#luckysheet-protection-rangeItem-container").empty();let l=e.allowRangeList;if(l!=null&&l.length>0)for(let a=0;a<l.length;a++){let o=l[a];df(o),Yr.push(o)}}function To(e){if(of||(k2(e),nc(e),of=!0),uf=e,e!=null&&e.config!=null&&e.config.authority!=null){let n=e.config.authority;if(lc&&n.sheet==1&&n.password!=null&&n.password.length>0){Co=n,$("#luckysheet-protection-sheet-validation input").val(""),ma("luckysheet-protection-sheet-validation");return}else ac(n)}else $("#protection-swichProtectionState").prop("checked",!0),$("#luckysheet-protection-check-selectLockedCells").prop("checked",!0),$("#luckysheet-protection-check-selectunLockedCells").prop("checked",!0),$("#luckysheet-protection-check-formatCells").prop("checked",!0),$("#luckysheet-protection-check-formatColumns").prop("checked",!0),$("#luckysheet-protection-check-formatRows").prop("checked",!0),$("#luckysheet-protection-check-insertColumns").prop("checked",!0),$("#luckysheet-protection-check-insertRows").prop("checked",!0),$("#luckysheet-protection-check-deleteColumns").prop("checked",!0),$("#luckysheet-protection-check-insertHyperlinks").prop("checked",!0),$("#luckysheet-protection-check-deleteRows").prop("checked",!0),$("#luckysheet-protection-check-sort").prop("checked",!0),$("#luckysheet-protection-check-filter").prop("checked",!0),$("#luckysheet-protection-check-usePivotTablereports").prop("checked",!0),$("#luckysheet-protection-check-editObjects").prop("checked",!0),$("#luckysheet-protection-check-editScenarios").prop("checked",!0),b2();$("#luckysheet-modal-dialog-slider-protection").show(),$t()}function b2(){Yr=[],$("#luckysheet-protection-rangeItem-container").empty()}function mf(){$("#luckysheet-protection-rangeItem-dialog").hide(),$("#luckysheet-modal-dialog-slider-protection").hide(),$t()}function ic(e,n,t,l,a=!0,o=!0){let s=!1,u=t.allowRangeList;if(u!=null&&u.length>0){let d=!1;for(let f=0;f<u.length;f++){let m=u[f],g=m.sqref,y=Ye.getRangeByTxt(g);if(y.length>0)for(let v=0;v<y.length;v++){let k=y[v].row[0],b=y[v].row[1],w=y[v].column[0],x=y[v].column[1];if(e>=k&&e<=b&&n>=w&&n<=x){d=!0;break}}if(d){let v=m.password;if(v!=null&&v.length>0&&!(g in rc))return a&&(w2(m),$("#luckysheet-selection-copy .luckysheet-selection-copy").hide()),!1;s=!0;break}}}if(!s&&!o&&(s=!0),!s&&a){let d;t.hintText!=null&&t.hintText.length>0?d=t.hintText:d=l.defaultSheetHintText,U.info("",d),$("#luckysheet-selection-copy .luckysheet-selection-copy").hide()}return s}function w2(e){let n=Q(),t=n.protection,l=n.button;hf||$("body").append(_e(ft,{id:"luckysheet-protection-range-validation",addclass:"luckysheet-protection-sheet-validation",title:t.validationTitle,content:`
  2680. <div class="luckysheet-slider-protection-row">
  2681. <div id="luckysheet-protection-range-validation-hint" class="luckysheet-slider-protection-column luckysheet-protection-column-10x">
  2682. </div>
  2683. </div>
  2684. <div class="luckysheet-slider-protection-row" style="margin-top:20px">
  2685. <div class="luckysheet-slider-protection-column luckysheet-protection-column-10x">
  2686. <input type="password" class="luckysheet-protection-rangeItemiInput" placeHolder="${t.validationInputHint}">
  2687. </div>
  2688. </div>
  2689. `,botton:`<button id="luckysheet-protection-range-validation-confirm" class="btn btn-primary">${l.confirm}</button>
  2690. <button class="btn btn-default luckysheet-model-close-btn">${l.cancel}</button>`,style:"z-index:100003"})),hf=!0,ma("luckysheet-protection-range-validation");let a=$("#luckysheet-protection-range-validation-hint");e.hintText!=null&&e.hintText.length>0?a.html(e.hintText):a.html(t.defaultRangeHintText);let o=$("#luckysheet-protection-range-validation"),s=o.find("input");s.val(""),$("#luckysheet-protection-range-validation-confirm").off("click").on("click",function(){let u=s.val();if(u==null||u.length==0){alert(t.checkPasswordNullalert);return}if(e.algorithmName!=null&&e.algorithmName!="None")if(e.saltValue!=null&&e.saltValue.length>0){var d=CryptoApi.getHasher(e.algorithmName);u=CryptoApi.hmac(e.saltValue,u,d)}else u=CryptoApi.hash(e.algorithmName,u);u==e.password?(rc[e.sqref]=1,o.hide(),$("#luckysheet-modal-dialog-mask").hide(),alert(t.checkPasswordSucceedalert)):alert(t.checkPasswordWrongalert)})}function Ur(e){let n=ve.getSheetByIndex(e);if(n==null||n.config==null||n.config.authority==null)return!0;let t=n.config.authority;if(t==null||t.sheet==null||t.sheet==0)return!0;let a=Q().protection,o;return t.hintText!=null&&t.hintText.length>0?o=t.hintText:o=a.defaultSheetHintText,U.info("",o),!1}function xn(e,n,t,l=!0,a=!0){let o=ve.getSheetByIndex(t);if(o==null||o.config==null||o.config.authority==null)return!0;let s=o.data,u=s[e][n],d=o.config.authority;if(d==null||d.sheet==null||d.sheet==0||u&&u.lo===0)return!0;let m=Q().protection;return ic(e,n,d,m,l,a)}function So(e,n,t){let l=ve.getSheetByIndex(t);if(!l||l.data&&!l.data[e]||l.data&&!l.data[e][n]||l.config==null||l.config.authority==null)return!0;let a=l.data,o=a[e][n],s=l.config.authority;return s==null||s.sheet==null||s.sheet==0||o==null||o.hi==null||o.hi==0}function kr(e,n){let t=ve.getSheetByIndex(n);if(t==null||t.config==null||t.config.authority==null)return!0;let l=t.config.authority;if(l==null||l.sheet==null||l.sheet==0||e==null||e.length==0)return!0;let o=Q().protection;for(let s=0;s<e.length;s++){let u=e[s].row[0],d=e[s].row[1],f=e[s].column[0],m=e[s].column[1];for(let g=u;g<=d;g++)for(let y=f;y<=m;y++){let v=t.data[g][y]||{},k=v.lo===void 0||v.lo===1;if(!ic(g,y,l,o,!0,k))return!1}}return!0}function oc(e,n,t){let a=Q().protection,o=ve.getSheetByIndex(t);if(o==null||o.config==null||o.config.authority==null)return!0;let s=o.data,u=s[e][n],d=o.config.authority;return d==null||d.sheet==null||d.sheet==0?!0:u&&u.lo===0||ic(e,n,d,a,!1)?d.selectunLockedCells==1||d.selectunLockedCells==null:d.selectLockedCells==1||d.selectLockedCells==null}function Fi(e){let t=Q().protection,l=ve.getSheetByIndex(e);if(l==null||l.config==null||l.config.authority==null)return!0;let a=l.config.authority;if(a==null||a.sheet==null||a.sheet==0)return!0;let o=!1;(a.selectunLockedCells==1||a.selectunLockedCells==null)&&(o=!0);let s=!1;return(a.selectLockedCells==1||a.selectLockedCells==null)&&(s=!0),!!(o&&s)}function Rr(e){let n=ve.getSheetByIndex(e);if(n==null||n.config==null||n.config.authority==null)return!0;let t=n.config.authority;if(t==null||t.sheet==null||t.sheet==0||t.formatCells==1||t.formatCells==null)return!0;let a=Q().protection,o;return t.hintText!=null&&t.hintText.length>0?o=t.hintText:o=a.defaultSheetHintText,U.info("",o),!1}function It(e,n="formatColumns",t=!0){let l=ve.getSheetByIndex(e);if(l==null||l.config==null||l.config.authority==null)return!0;let a=l.config.authority;if(a==null||a.sheet==null||a.sheet==0||a[n]==1||a[n]==null)return!0;if(t){let s=Q().protection,u;a.hintText!=null&&a.hintText.length>0?u=a.hintText:u=s.defaultSheetHintText,U.info("",u)}return!1}var of,sf,Yr,tc,cf,Co,uf,lc,rc,hf,Ga,_l=$e(()=>{Xe();yt();Wt();Dt();Rn();gl();nr();vr();ht();Jt();tl();qr();of=!1,sf=!1,Yr=[],tc=!0,cf=null,Co=null,uf=null,lc=!0,rc={},hf=!1,Ga=["selectLockedCells","selectunLockedCells","formatCells","formatColumns","formatRows","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","filter","usePivotTablereports","editObjects","editScenarios"]});function Vr(e,n,t){t==null&&(t=!0);let l=function(o,s){let u=o[n],d=s[n];if(P(o[n])=="object"&&(u=o[n].v),P(s[n])=="object"&&(d=s[n].v),fe(u))return 1;if(fe(d))return-1;if(Ot(u)&&Ot(d))return ul(u,d);if(B(u)&&B(d))return(0,_n.default)(u).value()-(0,_n.default)(d).value();if(!B(u)&&!B(d))return u.localeCompare(d,"zh");if(B(u)){if(!B(d))return-1}else return 1},a=function(o,s){let u=o[n],d=s[n];if(P(o[n])=="object"&&(u=o[n].v),P(s[n])=="object"&&(d=s[n].v),fe(u))return 1;if(fe(d))return-1;if(Ot(u)&&Ot(d))return ul(d,u);if(B(u)&&B(d))return(0,_n.default)(d).value()-(0,_n.default)(u).value();if(!B(u)&&!B(d))return d.localeCompare(u,"zh");if(B(u)){if(!B(d))return 1}else return-1};return t?e.sort(l):e.sort(a)}function xo(e,n){n==null&&(n=!0);let t=function(a,o){let s=a,u=o;if(P(a)=="object"&&(s=a.v),P(o)=="object"&&(u=o.v),s==null&&(s=""),u==null&&(u=""),Ot(s)&&Ot(u))return ul(s,u);if(B(s)&&B(u))return(0,_n.default)(s).value()-(0,_n.default)(u).value();if(!B(s)&&!B(u))return s.localeCompare(u,"zh");if(B(s)){if(!B(u))return-1}else return 1},l=function(a,o){let s=a,u=o;if(P(a)=="object"&&(s=a.v),P(o)=="object"&&(u=o.v),s==null&&(s=""),u==null&&(u=""),Ot(s)&&Ot(u))return ul(u,s);if(B(s)&&B(u))return(0,_n.default)(u).value()-(0,_n.default)(s).value();if(!B(s)&&!B(u))return u.localeCompare(s,"zh");if(B(s)){if(!B(u))return 1}else return-1};return n?e.sort(t):e.sort(l)}function sc(e){if(!It(h.currentSheetIndex,"sort"))return;let t=Q().sort;if(h.luckysheet_select_save.length>1){de()?alert(t.noRangeError):U.info(t.noRangeError,"");return}e==null&&(e=!0);let l=we.deepCopyFlowData(h.flowdata),a=h.luckysheet_select_save[0].row[0],o=h.luckysheet_select_save[0].row[1],s=h.luckysheet_select_save[0].column[0],u=h.luckysheet_select_save[0].column[1],d,f;for(let v=a;v<=o;v++)if(l[v]!=null&&l[v][s]!=null){let k=l[v][s];if(k.mc!=null||fe(k.v))continue;if(d==null&&/[\u4e00-\u9fa5]+/g.test(k.v)){d=v+1,f=v+1;continue}d==null&&(d=v),f=v}if(d==null||d>o)return;let m=!1,g=[];for(let v=d;v<=f;v++){let k=[];for(let b=s;b<=u;b++){if(l[v][b]!=null&&l[v][b].mc!=null){m=!0;break}k.push(l[v][b])}g.push(k)}if(m){de()?alert(t.mergeError):U.info(t.mergeError,"");return}g=Vr(g,0,e);for(let v=d;v<=f;v++)for(let k=s;k<=u;k++)l[v][k]=g[v-d][k-s];let y={};if(h.config.rowlen!=null){let v=$.extend(!0,{},h.config);v=yl(l,d,f,v),y={cfg:v,RowlChange:!0}}Ze(l,[{row:[d,f],column:[s,u]}],y)}function cc(e,n){if(!It(h.currentSheetIndex,"sort"))return;n==null&&(n=!0);let l=Q().sort,a=we.deepCopyFlowData(h.flowdata),o=0,s=a.length-1,u=0,d=a[0].length-1,f,m;for(let k=o;k<=s;k++)if(!(a[k][e]!=null&&a[k][e].mc!=null)){if(a[k][e]!=null&&!fe(a[k][e].v)&&/[\u4e00-\u9fa5]+/g.test(a[k][e].v)&&f==null){f=k+1,m=k+1;continue}f==null&&(f=k),a[k][e]!=null&&!fe(a[k][e].v)&&(m=k)}if(f==null||f>s)return;let g=!1,y=[];for(let k=f;k<=m;k++){let b=[];for(let w=u;w<=d;w++){if(a[k][w]!=null&&a[k][w].mc!=null){g=!0;break}b.push(a[k][w])}y.push(b)}if(g){de()?alert(l.columnSortMergeError):U.info(l.columnSortMergeError,"");return}y=Vr(y,e,n);for(let k=f;k<=m;k++)for(let b=u;b<=d;b++)a[k][b]=y[k-f][b-u];let v={};if(h.config.rowlen!=null){let k=$.extend(!0,{},h.config);k=yl(a,f,m,k),v={cfg:k,RowlChange:!0}}Ze(a,[{row:[f,m],column:[u,d]}],v)}var _n,ha=$e(()=>{ht();Pt();Br();tl();Qt();pr();Xt();_l();Xe();yt();_n=Nl(ca())});var x2,gf,yf=$e(()=>{Zt();x2={transpose:function(e,n=!0){let t=[];if(e.length==0)return[];if(e[0].length==0)return[];for(let l=0;l<e[0].length;l++){let a=[];for(let o=0;o<e.length;o++){let s="";e[o]!=null&&e[o][l]!=null&&(n?s=ze(o,l,e):s=e[o][l]),a.push(s)}t.push(a)}return t},minusClear:function(e,n){if(n.row[0]>e.row[1]||n.row[1]<e.row[0]||n.column[0]>e.column[1]||n.column[1]<e.column[0])return null;if(n.row[0]==e.row[0]&&n.row[1]<e.row[1]&&n.column[0]>e.column[0]&&n.column[1]<e.column[1])return[];let t=[],l={row:[],column:[]},a=null,o=[e.column[0],e.column[1]];n.row[1]>e.row[0]&&n.row[1]<e.row[1]?a=[n.row[1]+1,e.row[1]]:n.row[0]>e.row[0]&&n.row[0]<e.row[1]&&(a=[e.row[0],n.row[0]-1]),a!=null&&t.push({row:a,column:o});let s=[e.row[0],e.row[1]],u=null;return n.column[1]>e.column[0]&&n.column[1]<e.column[1]?u=[n.column[1]+1,e.column[1]]:n.column[0]>e.column[0]&&n.column[0]<e.column[1]&&(u=[e.column[0],n.column[0]-1]),u!=null&&t.push({row:s,column:u}),t}},gf=x2});var _2,Ei,vf=$e(()=>{ht();_2={STDEVP:function(e,n){let t=0;for(let l=0;l<n.length;l++){let a=n[l];t+=Math.pow(a-e,2)}return Al(Math.sqrt(t/n.length))},STDEV:function(e,n){let t=0;for(let l=0;l<n.length;l++){let a=n[l];t+=Math.pow(a-e,2)}return Al(Math.sqrt(t/(n.length-1)))},VARP:function(e,n){let t=0;for(let l=0;l<n.length;l++){let a=n[l];t+=Math.pow(a-e,2)}return Al(t/n.length)},let:function(e,n){let t=0;for(let l=0;l<n.length;l++){let a=n[l];t+=Math.pow(a-e,2)}return Al(t/(n.length-1))}},Ei=_2});var Ni,kf,Oe,cn=$e(()=>{Dt();ht();Zt();Br();Ml();Pt();ha();Xt();tl();Qt();qr();yf();vf();Jt();zr();Wt();gl();nr();ll();_l();Xe();yt();Ni=Nl(ca());Wt();kf={pivotDatas:null,pivotSheetIndex:0,pivotDataSheetIndex:0,celldata:null,origindata:null,getCellData:function(e,n,t){let l=this,a;e!=null?a=e:a=h.currentSheetIndex;let o=K(a);P(h.luckysheetfile[o].pivotTable)!="object"&&(h.luckysheetfile[o].pivotTable=new Function("return "+h.luckysheetfile[o].pivotTable)()),h.luckysheetfile[o].pivotTable!=null?(l.column=h.luckysheetfile[o].pivotTable.column,l.row=h.luckysheetfile[o].pivotTable.row,l.values=h.luckysheetfile[o].pivotTable.values,l.filter=h.luckysheetfile[o].pivotTable.filter,l.showType=h.luckysheetfile[o].pivotTable.showType,l.filterparm=h.luckysheetfile[o].pivotTable.filterparm,h.luckysheetfile[o].pivotTable.drawPivotTable!=null?l.drawPivotTable=h.luckysheetfile[o].pivotTable.drawPivotTable:l.drawPivotTable=!0,h.luckysheetfile[o].pivotTable.pivotTableBoundary!=null?l.pivotTableBoundary=h.luckysheetfile[o].pivotTable.pivotTableBoundary:l.pivotTableBoundary=[12,6],t!=null?l.pivot_select_save=t:l.pivot_select_save=h.luckysheetfile[o].pivotTable.pivot_select_save,n!=null?l.pivotDataSheetIndex=n:l.pivotDataSheetIndex=h.luckysheetfile[o].pivotTable.pivotDataSheetIndex):(l.column=null,l.row=null,l.values=null,l.filter=null,l.showType=null,l.filterparm=null,l.drawPivotTable=!0,l.pivotTableBoundary=[12,6],t!=null?l.pivot_select_save=t:l.pivot_select_save=h.luckysheet_select_save,n!=null?l.pivotDataSheetIndex=n:l.pivotDataSheetIndex=a);let s=K(l.pivotDataSheetIndex),u=h.luckysheetfile[s];u.data==null&&(u.data=ve.buildGridData(u)),l.origindata=oa(u.data,l.pivot_select_save);let d={};if(l.filterparm!=null)for(let m in l.filterparm)for(let g in l.filterparm[m])g==="rowhidden"&&l.filterparm[m][g]!=null&&(d=$.extend(!0,d,l.filterparm[m][g]));l.rowhidden=d,l.pivotSheetIndex=a;let f=[];for(let m=0;m<l.origindata.length;m++)l.rowhidden!=null&&l.rowhidden[m]!=null||f.push([].concat(l.origindata[m]));l.celldata=f,l.pivot_data_type={};for(let m=0;m<l.celldata[1].length;m++){let g=tr(l.celldata[1][m]);l.pivot_data_type[m.toString()]=g}},pivot_data_type:{},pivot_select_save:null,column:null,row:null,values:null,filter:null,showType:null,rowhidden:null,selected:null,caljs:null,initial:!0,filterparm:null,luckysheet_pivotTable_select_state:!1,jgridCurrentPivotInput:null,movestate:!1,moveitemposition:[],movesave:{},showvaluecolrow:function(){let e=this;$("#luckysheet-modal-dialog-config-value .luckysheet-modal-dialog-slider-config-item").length>=2?($("#luckysheetpivottablevaluecolrowshow").show(),e.showType=="column"?($("#luckysheetpivottablevaluecolrow").prop("checked",!0),$("#luckysheetpivottablevaluecolrowshow label[for='luckysheetpivottablevaluecolrow']").addClass("ui-state-active"),$("#luckysheetpivottablevaluecolrow1").prop("checked",!1),$("#luckysheetpivottablevaluecolrowshow label[for='luckysheetpivottablevaluecolrow1']").removeClass("ui-state-active")):($("#luckysheetpivottablevaluecolrow1").prop("checked",!0),$("#luckysheetpivottablevaluecolrowshow label[for='luckysheetpivottablevaluecolrow1']").addClass("ui-state-active"),$("#luckysheetpivottablevaluecolrow").prop("checked",!1),$("#luckysheetpivottablevaluecolrowshow label[for='luckysheetpivottablevaluecolrow']").removeClass("ui-state-active"))):$("#luckysheetpivottablevaluecolrowshow").hide()},resetOrderby:function(e){let n=$("#luckysheet-modal-dialog-config-value .luckysheet-modal-dialog-slider-config-item").index(e);$("#luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column").find(".luckysheet-modal-dialog-slider-config-item").each(function(){$(this).data("orderby")==n&&$(this).data("orderby","self")})},luckysheetsliderlistclearfilter:function(e){let n=this,t=e.parent(),l=t.data("index"),a={},o={},s=n.origindata,u={};t.data("rowhidden","").find(".luckysheet-slider-list-item-filtered").hide(),n.setDatatojsfile("selected",{},l),n.setDatatojsfile("rowhidden",null,l);let d=[];for(let f=0;f<s.length;f++)a[f]==null&&d.push([].concat(s[f]));n.celldata=d,n.refreshPivotTable(),$("#luckysheet-pivotTableFilter-menu, #luckysheet-pivotTableFilter-submenu").hide()},luckysheetsliderlistitemfilter:function(e){let n=this,l=Q().filter,a=e.parent(),o=a.offset(),s=$("#luckysheet-pivotTableFilter-menu"),u=$(window).height(),d=$(window).width(),f=a.data("index"),m=a.data("rowhidden");m==null||m==""?m={}:P(m)=="string"&&(m=JSON.parse(m)),$("body .luckysheet-cols-menu").hide(),$("#luckysheet-pivotTableFilter-menu, #luckysheet-pivotTableFilter-submenu").hide(),$("#luckysheet-pivotTableFilter-byvalue-input").val(""),$("#luckysheet-pivotTableFilter-bycondition").next().hide(),$("#luckysheet-pivotTableFilter-byvalue").next().show(),s.data("index",f),$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input").hide().find("input").val(),$("#luckysheet-pivotTableFilter-selected span").data("type","0").data("type",null).text(l.filiterInputNone);let g=a.data("byconditiontype");if($("#luckysheet-pivotTableFilter-selected span").data("value",a.data("byconditionvalue")).data("type",g).text(a.data("byconditiontext")),g=="2"){let b=$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input2").show().find("input");b.eq(0).val(a.data("byconditionvalue1")),b.eq(1).val(a.data("byconditionvalue2"))}else g=="1"&&$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input").eq(0).show().find("input").val(a.data("byconditionvalue1"));let y=Nr("#luckysheet-pivotTableFilter-byvalue-select",{text:l.filiterMoreDataTip});$("#luckysheet-pivotTableFilter-byvalue-select").empty().append(y.el);let v={};$("#luckysheet-modal-dialog-pivotTable-list .luckysheet-modal-dialog-slider-list-item").not(a.get(0)).each(function(){let b=$(this),w=b.data("rowhidden");if(w==null||w=="")return!0;P(w)=="string"&&(w=JSON.parse(w));for(let x in w)v[x]=0});let k=n.origindata;setTimeout(function(){let b={},w={},x={},C={};for(let T=1;T<k.length;T++){if(T in v||k[T]==null)continue;let A=k[T][f];if(A!=null&&A.ct!=null&&A.ct.t=="d"){let R=_t("YYYY-MM-DD",A.v),I=R.split("-")[0],F=R.split("-")[1],z=R.split("-")[2];I in b||(b[I]={}),F in b[I]||(b[I][F]={}),z in b[I][F]||(b[I][F][z]=0),b[I][F][z]++,T in m&&(w[I]=0,w[F]=0,w[z]=0)}else{let R,I;A==null||fe(A.v)?(R=null,I=null):(R=A.v,I=A.m),R in x||(x[R]={}),I in x[R]||(x[R][I]=0),x[R][I]++,T in m&&(C[R+"#$$$#"+I]=0)}}let S=[];if(JSON.stringify(b).length>2)for(let T in b){let A=0,R="";for(let F in b[T]){let z=0,M="";for(let E in b[T][F]){let L=b[T][F][E];z+=L;let O;Number(F)<10?O="0"+Number(F):O=F;let V;Number(E)<10?V="0"+Number(E):V=E,T in w&&F in w&&E in w?M+='<div class="day luckysheet-mousedown-cancel cf" data-check="false" title="'+T+"-"+O+"-"+V+'"><input class="luckysheet-mousedown-cancel" type="checkbox"/><label class="luckysheet-mousedown-cancel">'+E+'</label><span class="count luckysheet-mousedown-cancel">( '+L+" )</span></div>":M+='<div class="day luckysheet-mousedown-cancel cf" data-check="true" title="'+T+"-"+O+"-"+V+'"><input class="luckysheet-mousedown-cancel" type="checkbox" checked="checked"/><label class="luckysheet-mousedown-cancel">'+E+'</label><span class="count luckysheet-mousedown-cancel">( '+L+" )</span></div>"}A+=z;let N;Number(F)<10?N="0"+Number(F):N=F,T in w&&F in w?R+='<div class="monthBox luckysheet-mousedown-cancel"><div class="month luckysheet-mousedown-cancel cf" data-check="false" title="'+T+"-"+N+'"><i class="fa fa-caret-right luckysheet-mousedown-cancel" aria-hidden="true"></i><input class="luckysheet-mousedown-cancel" type="checkbox"/><label class="luckysheet-mousedown-cancel">'+F+""+l.filiterMonthText+'</label><span class="count luckysheet-mousedown-cancel">( '+z+' )</span></div><div class="dayList luckysheet-mousedown-cancel">'+M+"</div></div>":R+='<div class="monthBox luckysheet-mousedown-cancel"><div class="month luckysheet-mousedown-cancel cf" data-check="true" title="'+T+"-"+N+'"><i class="fa fa-caret-right luckysheet-mousedown-cancel" aria-hidden="true"></i><input class="luckysheet-mousedown-cancel" type="checkbox" checked="checked"/><label class="luckysheet-mousedown-cancel">'+F+""+l.filiterMonthText+'</label><span class="count luckysheet-mousedown-cancel">( '+z+' )</span></div><div class="dayList luckysheet-mousedown-cancel">'+M+"</div></div>"}let I;T in w?I='<div class="yearBox luckysheet-mousedown-cancel"><div class="year luckysheet-mousedown-cancel cf" data-check="false" title="'+T+'"><i class="fa fa-caret-right luckysheet-mousedown-cancel" aria-hidden="true"></i><input class="luckysheet-mousedown-cancel" type="checkbox"/><label class="luckysheet-mousedown-cancel">'+T+""+l.filiterYearText+'</label><span class="count luckysheet-mousedown-cancel">( '+A+' )</span></div><div class="monthList luckysheet-mousedown-cancel">'+R+"</div></div>":I='<div class="yearBox luckysheet-mousedown-cancel"><div class="year luckysheet-mousedown-cancel cf" data-check="true" title="'+T+'"><i class="fa fa-caret-right luckysheet-mousedown-cancel" aria-hidden="true"></i><input class="luckysheet-mousedown-cancel" type="checkbox" checked="checked"/><label class="luckysheet-mousedown-cancel">'+T+""+l.filiterYearText+'</label><span class="count luckysheet-mousedown-cancel">( '+A+' )</span></div><div class="monthList luckysheet-mousedown-cancel">'+R+"</div></div>",S.unshift(I)}if(JSON.stringify(x).length>2){let T=Object.keys(x);T=xo(T,!0);for(let A=0;A<T.length;A++){let R=T[A];for(let I in x[R]){let F;R+"#$$$#"+I=="null#$$$#null"?F=l.valueBlank:F=I;let z;R+"#$$$#"+I in C?z='<div class="textBox luckysheet-mousedown-cancel cf" data-check="false" data-filter="'+(R+"#$$$#"+I)+'" title="'+I+'"><input class="luckysheet-mousedown-cancel" type="checkbox"/><label class="luckysheet-mousedown-cancel">'+F+'</label><span class="luckysheet-mousedown-cancel count">( '+x[R][I]+" )</span></div>":z='<div class="textBox luckysheet-mousedown-cancel cf" data-check="true" data-filter="'+(R+"#$$$#"+I)+'" title="'+I+'"><input class="luckysheet-mousedown-cancel" type="checkbox" checked="checked"/><label class="luckysheet-mousedown-cancel">'+F+'</label><span class="luckysheet-mousedown-cancel count">( '+x[R][I]+" )</span></div>",S.push(z)}}}let _=u-o.top-350;_<0&&(_=100),$("#luckysheet-pivotTableFilter-byvalue-select").append("<div class='ListBox luckysheet-mousedown-cancel' style='max-height:"+_+"px;overflow-y:auto;overflow-x:hidden;'>"+S.join("")+"</div>"),y.close()},1),un(s,o.left-250,o.top)},getSumTypeName:function(e){let n="",l=Q().pivotTable;return e=="SUM"?n=l.valueStatisticsSUM:e=="COUNT"?n=l.valueStatisticsCOUNT:e=="COUNTA"?n=l.valueStatisticsCOUNTA:e=="COUNTUNIQUE"?n=l.valueStatisticsCOUNTUNIQUE:e=="AVERAGE"?n=l.valueStatisticsAVERAGE:e=="MAX"?n=l.valueStatisticsMAX:e=="MIN"?n=l.valueStatisticsMIN:e=="MEDIAN"?n=l.valueStatisticsMEDIAN:e=="PRODUCT"?n=l.valueStatisticsPRODUCT:e=="STDEV"?n=l.valueStatisticsSTDEV:e=="STDEVP"?n=l.valueStatisticsSTDEVP:e=="let"?n=l.valueStatisticslet:e=="VARP"&&(n=l.valueStatisticsVARP),n},setDatatojsfile:function(e,n,t){let l=this,a=K(l.pivotSheetIndex);h.luckysheetfile[a].pivotTable==null&&(h.luckysheetfile[a].pivotTable={}),t==null?(h.luckysheetfile[a].pivotTable[e]=n,l[e]=n):(h.luckysheetfile[a].pivotTable.filterparm==null&&(h.luckysheetfile[a].pivotTable.filterparm={}),h.luckysheetfile[a].pivotTable.filterparm[t.toString()]==null&&(h.luckysheetfile[a].pivotTable.filterparm[t.toString()]={}),h.luckysheetfile[a].pivotTable.filterparm[t.toString()][e]=n,l.filterparm==null&&(l.filterparm={}),l.filterparm[t.toString()]==null&&(l.filterparm[t.toString()]={}),l.filterparm[t.toString()][e]=n)},createPivotTable:function(e){if(de()||h.allowEdit===!1)return;let n=this,t=h.currentSheetIndex,a=Q().pivotTable;if(de()){alert(a.errorNotAllowEdit);return}if(h.luckysheet_select_save.length>1){U.info("",a.errorNotAllowMulti);return}if(h.luckysheet_select_save.length==0||h.luckysheet_select_save[0].row[0]==h.luckysheet_select_save[0].row[1]||h.luckysheet_select_save[0].column[0]==h.luckysheet_select_save[0].column[1]){U.info("",a.errorSelectRange);return}let o=$.extend(!0,{},h.luckysheet_select_save[0]);ve.addNewSheet(e,!0),n.getCellData(h.currentSheetIndex,t,o),n.setDatatojsfile("pivot_select_save",o),n.setDatatojsfile("pivotDataSheetIndex",t),n.initialPivotManage()},changePivotTable:function(e){let n=this,l=Q().pivotTable,a=h.luckysheetfile[K(e)].pivotTable.pivotDataSheetIndex;if(K(a)==null){U.info(l.errorIsDamage,"");return}n.getCellData(e),n.initialPivotManage(!0),n.refreshPivotTable()},refreshPivotTable:function(e=!0){let n=this,t={};t.pivotTable=kf,t.data=we.deepCopyFlowData(h.flowdata),n.storePivotTableParam();let l=n.dataHandler(n.column,n.row,n.values,n.showType,n.celldata);n.setDatatojsfile("pivotDatas",l);let a=$.extend(!0,[],ve.nulldata),o=a,s=0,u=0;if(l.length==0)n.setDatatojsfile("drawPivotTable",!0),n.setDatatojsfile("pivotTableBoundary",[12,6]);else{n.setDatatojsfile("drawPivotTable",!1),n.setDatatojsfile("pivotTableBoundary",[l.length,l[0].length]);let d=l.length,f=l[0].length;s=d-a.length,u=f-a[0].length,o=Vt(a,s+20,u+10,!0);for(let m=0;m<d;m++){let g=[].concat(o[m]);for(let y=0;y<f;y++){let v="";l[m]!=null&&l[m][y]!=null&&(v=ze(m,y,l)),g[y]=v}o[m]=g}}t.type="pivotTable_change",t.curdata=$.extend(!0,[],o),t.sheetIndex=h.currentSheetIndex,t.pivotTablecur=n.getPivotTableData(),h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push(t)),nl(),h.clearjfundo=!1,s>0||u>0?Rl(o[0].length,o.length,o,null,h.luckysheet_select_save,"datachangeAll",void 0,void 0,e):(Ze(o,h.luckysheet_select_save,{},null,e),tt()),h.clearjfundo=!0},drawPivotTable:!0,pivotTableBoundary:[12,6],pivotclick:function(e,n,t){t==null&&(t=h.currentSheetIndex);let l=h.luckysheetfile[K(t)];if(!l.isPivotTable)return;let a=l.pivotTable.pivotDataSheetIndex;if(K(a)==null)return;let s=$("#luckysheet-modal-dialog-slider-pivot"),u=this.isPivotRange(e,n);if(u&&s.is(":hidden")){if(!It(t,"usePivotTablereports",!1))return;s.show(),$t(),$("#luckysheet-sta-content").css("padding-right",260)}else!u&&s.is(":visible")&&(s.hide(),$t(),$("#luckysheet-sta-content").css("padding-right",10))},isPivotRange:function(e,n){let t=this;if(h.luckysheetcurrentisPivotTable)return e<t.pivotTableBoundary[0]&&n<t.pivotTableBoundary[1]},storePivotTableParam:function(){let e=this,n=[],t=[],l=[],a=[];$("#luckysheet-modal-dialog-config-filter .luckysheet-modal-dialog-slider-config-item").each(function(){let u={};u.index=$(this).data("index"),u.name=$(this).data("name"),u.fullname=$(this).find(".luckysheet-modal-dialog-slider-config-item-txt").text(),l.push(u)}),$("#luckysheet-modal-dialog-config-row .luckysheet-modal-dialog-slider-config-item").each(function(){let u={};u.index=$(this).data("index"),u.name=$(this).data("name"),u.fullname=$(this).find(".luckysheet-modal-dialog-slider-config-item-txt").text(),u.order=$(this).data("order"),u.orderby=$(this).data("orderby"),u.stastic=$(this).data("stastic"),t.push(u)}),$("#luckysheet-modal-dialog-config-column .luckysheet-modal-dialog-slider-config-item").each(function(){let u={};u.index=$(this).data("index"),u.name=$(this).data("name"),u.fullname=$(this).find(".luckysheet-modal-dialog-slider-config-item-txt").text(),u.order=$(this).data("order"),u.orderby=$(this).data("orderby"),u.stastic=$(this).data("stastic"),n.push(u)}),$("#luckysheet-modal-dialog-config-value .luckysheet-modal-dialog-slider-config-item").each(function(){let u={};u.index=$(this).data("index"),u.name=$(this).data("name"),u.fullname=$(this).find(".luckysheet-modal-dialog-slider-config-item-txt").text(),u.sumtype=$(this).data("sumtype"),u.nameindex=$(this).data("nameindex"),a.push(u)}),e.setDatatojsfile("column",n),e.setDatatojsfile("row",t),e.setDatatojsfile("filter",l),e.setDatatojsfile("values",a);let o=$("#luckysheetpivottablevaluecolrow:checked, #luckysheetpivottablevaluecolrow1:checked").val();e.setDatatojsfile("showType",o=="0"?"row":"column");let s=e.getPivotTableData();delete s.pivotDatas,ne.saveParam("all",e.pivotSheetIndex,s,{k:"pivotTable"})},getPivotTableData:function(e){e==null&&(e=this.pivotSheetIndex);let n=K(e),t=h.luckysheetfile[n].pivotTable;return P(t)=="object"?t=$.extend(!0,{},h.luckysheetfile[n].pivotTable):t=new Function("return "+t)(),t},addValuesToTitle:function(e,n){let t=e.length*n.length,l=e[0].length+1,a=[];if(e.length==0&&n.length>0){for(let o=0;o<n.length;o++)a.push(n[o].fullname);return a}if(n.length==0&&e.length>0)return e;for(let o=0;o<t;o++){a[o]=new Array(l);for(let s=0;s<l-1;s++)a[o][s]=e[Math.floor(o/n.length)][s];a[o][l-1]=n[o%n.length].fullname}return a},initialPivotManage:function(e){let n=this,t=Q(),l=t.pivotTable,a=t.button,o=t.filter;if(n.initial){n.initial=!1,$("body").append(zu()),$("#luckysheet-modal-dialog-slider-close").click(function(){$("#luckysheet-modal-dialog-slider-pivot").hide(),$t()}),$("body").append(_e(ft,{id:"luckysheet-data-pivotTable-selection",addclass:"luckysheet-data-pivotTable-selection",title:l.titleSelectionDataRange,content:'<input id="luckysheet-pivotTable-range-selection-input" class="luckysheet-datavisual-range-container" style="font-size: 14px;padding:5px;max-width:none;" spellcheck="false" aria-label="'+l.titleDataRange+'" placeholder="'+l.titleDataRange+'">',botton:'<button id="luckysheet-pivotTable-selection-confirm" class="btn btn-primary">'+a.confirm+'</button><button class="btn btn-default luckysheet-model-close-btn">'+a.cancel+"</button>"})),$("body").append(_e(Xi(),{menuid:"pivotTableFilter"})),$("body").append(_e(Ki(),{menuid:"pivotTableFilter"})),$("body").append(Au()),$("body").append(Du()),$("#luckysheet-pivotTableFilter-orderby-asc").remove(),$("#luckysheet-pivotTableFilter-orderby-desc").next().remove(),$("#luckysheet-pivotTableFilter-orderby-desc").remove(),$("#luckysheet-pivotTableFilter-orderby-color").next().remove(),$("#luckysheet-pivotTableFilter-orderby-color").remove(),$("#luckysheetpivottablevaluecolrow, #luckysheetpivottablevaluecolrow1").checkboxradio({icon:!1}).change(function(){n.refreshPivotTable()});let m=null;$("#luckysheet-pivotTableFilter-menu").mouseover(function(){clearTimeout(m),m=setTimeout(function(){$("#luckysheet-pivotTableFilter-submenu").hide()},500)}),$(document).off("click.ptFilterCheckbox1").on("click.ptFilterCheckbox1","#luckysheet-pivotTableFilter-byvalue-select .textBox",function(){$(this).attr("data-check")=="true"?($(this).attr("data-check","false"),$(this).find("input[type='checkbox']").removeAttr("checked")):($(this).attr("data-check","true"),$(this).find("input[type='checkbox']").prop("checked",!0))}),$(document).off("click.ptFilterCheckbox2").on("click.ptFilterCheckbox2","#luckysheet-pivotTableFilter-byvalue-select .year",function(){$(this).attr("data-check")=="true"?($(this).attr("data-check","false"),$(this).parents(".yearBox").find(".month").attr("data-check","false"),$(this).parents(".yearBox").find(".day").attr("data-check","false"),$(this).parents(".yearBox").find("input[type='checkbox']").removeAttr("checked")):($(this).attr("data-check","true"),$(this).parents(".yearBox").find(".month").attr("data-check","true"),$(this).parents(".yearBox").find(".day").attr("data-check","true"),$(this).parents(".yearBox").find("input[type='checkbox']").prop("checked",!0))}),$(document).off("click.ptFilterCheckbox3").on("click.ptFilterCheckbox3","#luckysheet-pivotTableFilter-byvalue-select .month",function(){$(this).attr("data-check")=="true"?($(this).attr("data-check","false"),$(this).parents(".monthBox").find(".day").attr("data-check","false"),$(this).parents(".monthBox").find("input[type='checkbox']").removeAttr("checked")):($(this).attr("data-check","true"),$(this).parents(".monthBox").find(".day").attr("data-check","true"),$(this).parents(".monthBox").find("input[type='checkbox']").prop("checked",!0));let g=!0;$(this).parents(".yearBox").find(".day").each(function(v,k){$(k).attr("data-check")=="true"||(g=!1)}),g?($(this).parents(".yearBox").find(".year").attr("data-check","true"),$(this).parents(".yearBox").find(".year input[type='checkbox']").prop("checked",!0)):($(this).parents(".yearBox").find(".year").attr("data-check","false"),$(this).parents(".yearBox").find(".year input[type='checkbox']").removeAttr("checked"))}),$(document).off("click.ptFilterCheckbox4").on("click.ptFilterCheckbox4","#luckysheet-pivotTableFilter-byvalue-select .day",function(){$(this).attr("data-check")=="true"?($(this).attr("data-check","false"),$(this).find("input[type='checkbox']").removeAttr("checked")):($(this).attr("data-check","true"),$(this).find("input[type='checkbox']").prop("checked",!0));let g=!0;$(this).parents(".monthBox").find(".day").each(function(b,w){$(w).attr("data-check")=="true"||(g=!1)}),g?($(this).parents(".monthBox").find(".month").attr("data-check","true"),$(this).parents(".monthBox").find(".month input[type='checkbox']").prop("checked",!0)):($(this).parents(".monthBox").find(".month").attr("data-check","false"),$(this).parents(".monthBox").find(".month input[type='checkbox']").removeAttr("checked"));let v=!0;$(this).parents(".yearBox").find(".day").each(function(b,w){$(w).attr("data-check")=="true"||(v=!1)}),v?($(this).parents(".yearBox").find(".year").attr("data-check","true"),$(this).parents(".yearBox").find(".year input[type='checkbox']").prop("checked",!0)):($(this).parents(".yearBox").find(".year").attr("data-check","false"),$(this).parents(".yearBox").find(".year input[type='checkbox']").removeAttr("checked"))}),$(document).off("click.ptFilterYearDropdown").on("click.ptFilterYearDropdown","#luckysheet-pivotTableFilter-byvalue-select .yearBox .fa-caret-right",function(){let g=$(this).parents(".luckysheet-mousedown-cancel");g.hasClass("year")&&$(this).parents(".yearBox").find(".monthList").slideToggle(),g.hasClass("month")&&$(this).parents(".monthBox").find(".dayList").slideToggle()}),$("#luckysheet-pivotTableFilter-byvalue-btn-all").click(function(){$("#luckysheet-pivotTableFilter-byvalue-select .ListBox input[type='checkbox']").prop("checked",!0),$("#luckysheet-pivotTableFilter-byvalue-select .ListBox input[type='checkbox']").parents(".luckysheet-mousedown-cancel").attr("data-check","true")}),$("#luckysheet-pivotTableFilter-byvalue-btn-contra").click(function(){$("#luckysheet-pivotTableFilter-byvalue-select .ListBox input[type='checkbox']").each(function(k,b){$(b).is(":checked")?($(b).removeAttr("checked"),$(b).parents(".luckysheet-mousedown-cancel").attr("data-check","false")):($(b).prop("checked",!0),$(b).parents(".luckysheet-mousedown-cancel").attr("data-check","true"))}),$("#luckysheet-pivotTableFilter-byvalue-select .ListBox .monthBox").each(function(k,b){let w=!0;$(b).find(".day input[type='checkbox']").each(function(C,S){$(S).is(":checked")||(w=!1)}),w?($(b).find(".month input[type='checkbox']").prop("checked",!0),$(b).attr("data-check","true")):($(b).find(".month input[type='checkbox']").removeAttr("checked"),$(b).attr("data-check","false"))}),$("#luckysheet-pivotTableFilter-byvalue-select .ListBox .yearBox").each(function(k,b){let w=!0;$(b).find(".day input[type='checkbox']").each(function(C,S){$(S).is(":checked")||(w=!1)}),w?($(b).find(".year input[type='checkbox']").prop("checked",!0),$(b).attr("data-check","true")):($(b).find(".year input[type='checkbox']").removeAttr("checked"),$(b).attr("data-check","false"))})}),$("#luckysheet-pivotTableFilter-byvalue-btn-clear").click(function(){$("#luckysheet-pivotTableFilter-byvalue-select .ListBox input[type='checkbox']").removeAttr("checked"),$("#luckysheet-pivotTableFilter-byvalue-select .ListBox input[type='checkbox']").parents(".luckysheet-mousedown-cancel").attr("data-check","false")}),$("#luckysheet-pivotTableFilter-byvalue-input").on("input propertychange",function(){let g=$(this).val().toString();$("#luckysheet-pivotTableFilter-byvalue-select .ListBox .luckysheet-mousedown-cancel").show(),g!=""&&$("#luckysheet-pivotTableFilter-byvalue-select .ListBox input[type='checkbox']").each(function(v,k){let b=$(k).parents(".luckysheet-mousedown-cancel");if(b.hasClass("day")){let w=$(k).siblings("label").text().toString(),x=$(k).parents(".monthBox").find(".month label").text().toString();($(k).parents(".yearBox").find(".year label").text().toString()+"-"+x+"-"+w).indexOf(g)==-1&&($(k).parents(".day").hide(),$(k).parents(".dayList").find(".day:visible").length==0&&$(k).parents(".monthBox").find(".month").hide(),$(k).parents(".monthList").find(".day:visible").length==0&&$(k).parents(".yearBox").find(".year").hide())}b.hasClass("textBox")&&$(k).siblings("label").text().toString().indexOf(g)==-1&&$(k).parents(".textBox").hide()})}),$("#luckysheet-pivotTableFilter-bycondition, #luckysheet-pivotTableFilter-byvalue").click(function(){let g=$(this);g.next().slideToggle(200),setTimeout(function(){g.attr("id")=="luckysheet-pivotTableFilter-bycondition"&&$("#luckysheet-pivotTableFilter-bycondition").next().is(":visible")&&$("#luckysheet-pivotTableFilter-selected span").text()!=o.filiterInputNone&&$("#luckysheet-pivotTableFilter-byvalue").next().slideUp(200),g.is($("#luckysheet-pivotTableFilter-bycondition"))&&$("#luckysheet-pivotTableFilter-bycondition").next().is(":hidden")&&$("#luckysheet-pivotTableFilter-byvalue").next().is(":hidden")&&$("#luckysheet-pivotTableFilter-byvalue").next().slideDown(200)},300)}),$("#luckysheet-pivotTableFilter-cancel").click(function(){$("#luckysheet-pivotTableFilter-menu, #luckysheet-pivotTableFilter-submenu").hide()}),$("#luckysheet-pivotTableFilter-selected").click(function(){let g=$(this),y=g.offset(),v=$("#luckysheet-pivotTableFilter-submenu");v.hide();let k=$(window).height(),b=$(window).width(),w=v.width(),x=v.height(),C=y.top,S=y.left,_=k-y.top-20;y.left+w>b&&(S=y.left-w),y.top>k/2&&(C=k-y.top,C<0&&(C=0),_=y.top-20),v.css({top:C,left:S,height:_}).show(),clearTimeout(m)}),$("#luckysheet-pivotTableFilter-submenu").mouseover(function(){clearTimeout(m)}).find(".luckysheet-cols-menuitem").click(function(g){$("#luckysheet-pivotTableFilter-selected span").html($(this).find(".luckysheet-cols-menuitem-content").text()).data("value",$(this).data("value")),$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input").hide(),$(this).data("type")=="2"?($("#luckysheet-pivotTableFilter-selected span").data("type","2"),$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input2").show()):$(this).data("type")=="0"?$("#luckysheet-pivotTableFilter-selected span").data("type","0"):($("#luckysheet-pivotTableFilter-selected span").data("type","1"),$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input").eq(0).show(),$(this).attr("data-value")=="dateequal"||$(this).attr("data-value")=="datelessthan"||$(this).attr("data-value")=="datemorethan"?$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input input").prop("type","date"):$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input input").prop("type","text")),$("#luckysheet-pivotTableFilter-byvalue").next().slideUp(),$("#luckysheet-pivotTableFilter-submenu").hide()}),$("#luckysheet-modal-dialog-pivotTable-list").on("click"," .luckysheet-slider-list-item-filter",function(g){return n.luckysheetsliderlistitemfilter($(this)),g.stopPropagation(),!1}),$("#luckysheet-modal-dialog-pivotTable-list").on("click"," .luckysheet-slider-list-item-filtered",function(g){return n.luckysheetsliderlistclearfilter($(this).next()),g.stopPropagation(),!1}),$("#luckysheet-dialog-pivotTable-range-seleted").click(function(){$("#luckysheet-modal-dialog-slider-pivot").hide(),$t();let g=$("#luckysheet-data-pivotTable-selection"),y=g.outerHeight(),v=g.outerWidth(),k=$(window).width(),b=$(window).height(),w=$(document).scrollLeft(),x=$(document).scrollTop();$("#luckysheet-data-pivotTable-selection").css({left:(k+w-v)/2,top:(b+x-y)/4}).show(),n.jgridCurrentPivotInput=$("#luckysheet-dialog-pivotTable-range").html(),$("#luckysheet-pivotTable-range-selection-input").val(n.jgridCurrentPivotInput),n.luckysheet_pivotTable_select_state=!0}),$("#luckysheet-pivotTableFilter-initial").click(function(){$("#luckysheet-modal-dialog-pivotTable-list .luckysheet-slider-list-item-filtered").hide(),$("#luckysheet-modal-dialog-pivotTable-list .luckysheet-modal-dialog-slider-list-item").data("rowhidden",""),$("#luckysheet-pivotTableFilter-menu, #luckysheet-pivotTableFilter-submenu").hide(),$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input").hide().find("input").val(),$("#luckysheet-pivotTableFilter-selected span").data("type","0").data("type",null).text(o.filiterInputNone),n.setDatatojsfile("filterparm",null),n.celldata=n.origindata,n.refreshPivotTable()}),$("#luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column").on("click",".luckysheet-modal-dialog-slider-config-item-icon",function(g){let y=$(g.target),v=y.closest(".luckysheet-modal-dialog-slider-config-item"),k=v.data("index"),b=v.offset(),w=v.data("order"),x=v.data("orderby"),C=v.data("stastic");w==null&&(w="default");let S='<option value="self">'+v.find(".luckysheet-modal-dialog-slider-config-item-txt").data("name")+"</option>";return $("#luckysheet-modal-dialog-config-value .luckysheet-modal-dialog-slider-config-item").each(function(_){S+='<option value="'+_+'">'+$(this).find(".luckysheet-modal-dialog-slider-config-item-txt").text()+"</option>"}),$("#luckysheet-pivotTable-config-option-orderby").empty().html(S),x==null&&(x="self"),C==null&&(C="1"),$("#luckysheet-pivotTable-config-option-order").val(w).data("index",k),$("#luckysheet-pivotTable-config-option-orderby").val(x).data("index",k),$("#luckysheet-pivotTable-config-option-stastic").val(C).data("index",k),ml($("#luckysheet-pivotTable-config-option"),b.left+v.outerWidth(),b.top-13,"rightbottom"),g.stopPropagation(),!1}),$("#luckysheet-pivotTable-config-option-order,#luckysheet-pivotTable-config-option-orderby,#luckysheet-pivotTable-config-option-stastic").change(function(){let g=$(this),y=g.data("index");$("#luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column").find(".luckysheet-modal-dialog-slider-config-item").each(function(){$(this).data("index")==y&&$(this).data(g.attr("id").replace("luckysheet-pivotTable-config-option-",""),g.val())}),n.refreshPivotTable()}),$("#luckysheet-modal-dialog-config-value").on("click",".luckysheet-modal-dialog-slider-config-item-icon",function(g){let y=$(g.target),v=y.closest(".luckysheet-modal-dialog-slider-config-item"),k=v.data("index"),b=v.offset(),w=v.data("sumtype"),x=n.pivot_data_type[k.toString()];w==null&&(x=="num"?w="SUM":w="COUNTA");let C=$("#luckysheet-pivotTable-config-option-sumtype");return C.find(".luckysheet-submenu-arrow").hide(),C.find(".luckysheet-cols-menuitem[sumtype='"+w+"'] .luckysheet-submenu-arrow").css("display","inline"),C.data("item",v),ml(C,b.left+v.outerWidth(),b.top-13,"rightbottom"),g.stopPropagation(),!1}),$("#luckysheet-pivotTable-config-option-sumtype .luckysheet-cols-menuitem").click(function(){let g=$("#luckysheet-pivotTable-config-option-sumtype").data("item"),y=$(this).attr("sumtype");g.data("sumtype",$(this).attr("sumtype"));let v=n.getSumTypeName(y)+":"+g.data("name");g.attr("title",v).find(".luckysheet-modal-dialog-slider-config-item-txt").html(v),$("#luckysheet-pivotTable-config-option-sumtype").hide(),n.refreshPivotTable()}),$("#luckysheet-modal-dialog-config-filter").on("click",".luckysheet-modal-dialog-slider-config-item-icon",function(g){let y=$(g.target),v=y.closest(".luckysheet-modal-dialog-slider-config-item").data("index");return n.luckysheetsliderlistitemfilter($("#luckysheet-modal-dialog-pivotTable-list .luckysheet-modal-dialog-slider-list-item").eq(v).find(".luckysheet-slider-list-item-filter")),g.stopPropagation(),!1}),$("#luckysheet-pivotTableFilter-confirm").click(function(){let y=$("#luckysheet-pivotTableFilter-menu").data("index"),v={};$("#luckysheet-modal-dialog-pivotTable-list .luckysheet-modal-dialog-slider-list-item").each(function(){let _=$(this),T=_.data("rowhidden");if(_.data("index")!=y){if(T==null||T=="")return!0;P(T)=="string"&&(T=JSON.parse(T));for(let A in T)v[A]=0}});let k=n.origindata,b={},w={},x={};if($("#luckysheet-pivotTableFilter-bycondition").next().is(":visible")&&$("#luckysheet-pivotTableFilter-byvalue").next().is(":hidden")&&$("#luckysheet-pivotTableFilter-selected span").data("value")!="null"){let _=$("#luckysheet-pivotTableFilter-selected span"),T=_.data("type"),A=_.data("value");if(x.value=A,x.text=_.text(),T=="0")x.type="0";else if(T=="2"){let R=$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input2 input");x.type="2",x.value1=R.eq(0).val(),x.value2=R.eq(1).val()}else x.type="1",x.value1=$("#luckysheet-pivotTableFilter-menu .luckysheet-pivotTableFilter-selected-input").eq(0).find("input").val();for(let R=1;R<k.length;R++){if(R in v||k[R]==null)continue;let I=k[R][y];if(A=="cellnull")I!=null&&!fe(I.v)&&(w[R]=0);else if(A=="cellnonull")(I==null||fe(I.v))&&(w[R]=0);else if(A=="textinclude"){let F=x.value1;(I==null||fe(I.v)||I.m.indexOf(F)==-1)&&(w[R]=0)}else if(A=="textnotinclude"){let F=x.value1;I==null||fe(I.v)||I.m.indexOf(F)>-1&&(w[R]=0)}else if(A=="textstart"){let F=x.value1,z=F.length;(I==null||fe(I.v)||I.m.substr(0,z)!=F)&&(w[R]=0)}else if(A=="textend"){let F=x.value1,z=F.length;(I==null||fe(I.v)||z>I.m.length||I.m.substr(I.m.length-z,z)!=F)&&(w[R]=0)}else if(A=="textequal"){let F=x.value1;(I==null||fe(I.v)||I.m!=F)&&(w[R]=0)}else if(A=="dateequal"){let F=it(x.value1)[2];I==null||fe(I.v)?w[R]=0:I.ct!=null&&I.ct.t=="d"?parseInt(I.v)!=F&&(w[R]=0):w[R]=0}else if(A=="datelessthan"){let F=it(x.value1)[2];I==null||fe(I.v)?w[R]=0:I.ct!=null&&I.ct.t=="d"?parseInt(I.v)>=F&&(w[R]=0):w[R]=0}else if(A=="datemorethan"){let F=it(x.value1)[2];I==null||fe(I.v)?w[R]=0:I.ct!=null&&I.ct.t=="d"?parseInt(I.v)<=F&&(w[R]=0):w[R]=0}else if(A=="morethan"){let F=parseFloat(x.value1);I==null||fe(I.v)?w[R]=0:I.ct!=null&&I.ct.t=="n"?I.v<=F&&(w[R]=0):w[R]=0}else if(A=="moreequalthan"){let F=parseFloat(x.value1);I==null||fe(I.v)?w[R]=0:I.ct!=null&&I.ct.t=="n"?I.v<F&&(w[R]=0):w[R]=0}else if(A=="lessthan"){let F=parseFloat(x.value1);I==null||fe(I.v)?w[R]=0:I.ct!=null&&I.ct.t=="n"?I.v>=F&&(w[R]=0):w[R]=0}else if(A=="lessequalthan"){let F=parseFloat(x.value1);I==null||fe(I.v)?w[R]=0:I.ct!=null&&I.ct.t=="n"?I.v>F&&(w[R]=0):w[R]=0}else if(A=="equal"){let F=parseFloat(x.value1);I==null||fe(I.v)?w[R]=0:I.ct!=null&&I.ct.t=="n"?I.v!=F&&(w[R]=0):w[R]=0}else if(A=="noequal"){let F=parseFloat(x.value1);I==null||fe(I.v)?w[R]=0:I.ct!=null&&I.ct.t=="n"?I.v==F&&(w[R]=0):w[R]=0}else if(A=="include"){let F=parseFloat(x.value1),z=parseFloat(x.value2),M,N;F<z?(M=F,N=z):(N=F,M=z),I==null||fe(I.v)?w[R]=0:I.ct!=null&&I.ct.t=="n"?(I.v<M||I.v>N)&&(w[R]=0):w[R]=0}else if(A=="noinclude"){let F=parseFloat(x.value1),z=parseFloat(x.value2),M,N;F<z?(M=F,N=z):(N=F,M=z),I==null||fe(I.v)?w[R]=0:I.ct!=null&&I.ct.t=="n"?I.v>=M&&I.v<=N&&(w[R]=0):w[R]=0}}}else{$("#luckysheet-pivotTableFilter-byvalue-select .ListBox input[type='checkbox']").each(function(_,T){if($(T).is(":visible")&&$(T).is(":checked"))return!0;if($(T).closest(".day").length>0){let A=$(T).siblings("label").text();Number(A)<10&&(A="0"+A);let R=$(T).closest(".monthBox").find(".month label").text().replace(o.filiterMonthText,"");Number(R)<10&&(R="0"+R);let I=$(T).closest(".yearBox").find(".year label").text().replace(o.filiterYearText,""),F=o.filterDateFormatTip+"#$$$#"+I+"-"+R+"-"+A;b[F]="1"}if($(T).closest(".textBox").length>0){let A=$(T).closest(".textBox").data("filter");b[A]="1"}});for(let _=1;_<k.length;_++){if(_ in v||k[_]==null)continue;let T=k[_][y],A;if(T==null||fe(T.v))A="null#$$$#null";else if(T.ct!=null&&T.ct.t=="d"){let R=_t("YYYY-MM-DD",T.v);A=o.filterDateFormatTip+"#$$$#"+R}else A=T.v+"#$$$#"+T.m;A in b&&(w[_]=0)}}let C=$("#luckysheet-modal-dialog-pivotTable-list .luckysheet-modal-dialog-slider-list-item").eq(y);$("#luckysheet-pivotTableFilter-byvalue-select .ListBox input[type='checkbox']:visible:checked").length<$("#luckysheet-pivotTableFilter-byvalue-select .ListBox input[type='checkbox']:visible").length||$("#luckysheet-pivotTableFilter-byvalue-input").val().length>0||$("#luckysheet-pivotTableFilter-bycondition").next().is(":visible")&&$("#luckysheet-pivotTableFilter-byvalue").next().is(":hidden")&&$("#luckysheet-pivotTableFilter-selected span").data("value")!="null"?(C.data("rowhidden",JSON.stringify(w)).find(".luckysheet-slider-list-item-filtered").show(),n.setDatatojsfile("rowhidden",w,y),x!=null&&(C.data("byconditionvalue",x.value).data("byconditiontype",x.type).data("byconditiontext",x.text),x.value1!=null&&C.data("byconditionvalue1",x.value1),x.value2!=null&&C.data("byconditionvalue2",x.value2),n.setDatatojsfile("caljs",x,y))):(C.data("rowhidden","").find(".luckysheet-slider-list-item-filtered").hide(),n.setDatatojsfile("rowhidden",null,y));let S=[];for(let _=0;_<k.length;_++)_ in w||_ in v||S.push([].concat(k[_]));n.celldata=S,n.refreshPivotTable(),$("#luckysheet-pivotTableFilter-menu, #luckysheet-pivotTableFilter-submenu").hide(),nl()}),$("#luckysheet-data-pivotTable-selection .luckysheet-model-close-btn, #luckysheet-data-pivotTable-selection .luckysheet-modal-dialog-title-close").click(function(){$("#luckysheet-modal-dialog-slider-pivot").show(),$t(),$("#luckysheet-cell-main .luckysheet-pivotTable-selection-set div").show(),$("#luckysheet-data-pivotTable-selection").hide(),ve.changeSheetExec(n.pivotSheetIndex),n.luckysheet_pivotTable_select_state=!1,nl()}),$("#luckysheet-pivotTable-selection-confirm").click(function(){let g=$("#luckysheet-pivotTable-range-selection-input"),y=g.val();if($.trim(y).length==0||$.trim(y).toUpperCase()==n.jgridCurrentPivotInput.toUpperCase()){g.val(n.jgridCurrentPivotInput),$("#luckysheet-data-pivotTable-selection .luckysheet-model-close-btn").click();return}else{let v=y.split("!"),k="",b="",w=-1;if(v.length>1){k=v[0],b=v[1];for(let S in h.luckysheetfile)if(k==h.luckysheetfile[S].name){w=h.luckysheetfile[S].index;break}w==-1&&(w=0)}else{let S=K(h.currentSheetIndex);k=h.luckysheetfile[S].name,w=h.luckysheetfile[S].index,b=v[0]}if(h.luckysheetfile[K(w)].isPivotTable){de()?alert(l.errorNotAllowPivotData):U.info("",l.errorNotAllowPivotData),g.val(n.jgridCurrentPivotInput);return}if(b.indexOf(":")==-1){de()?alert(l.errorSelectionRange):U.info("",l.errorSelectionRange),g.val(n.jgridCurrentPivotInput);return}b=b.split(":");let x=[],C=[];if(x[0]=parseInt(b[0].replace(/[^0-9]/g,""))-1,x[1]=parseInt(b[1].replace(/[^0-9]/g,""))-1,x[0]>x[1]){de()?alert(l.errorSelectionRange):U.info("",l.errorSelectionRange),g.val(n.jgridCurrentPivotInput);return}if(C[0]=hl(b[0].replace(/[^A-Za-z]/g,"")),C[1]=hl(b[1].replace(/[^A-Za-z]/g,"")),C[0]>C[1]){de()?alert(l.errorSelectionRange):U.info(l.errorSelectionRange),g.val(n.jgridCurrentPivotInput);return}ve.changeSheetExec(n.pivotSheetIndex),n.setDatatojsfile("pivot_select_save",{row:x,column:C}),n.setDatatojsfile("pivotDataSheetIndex",w),n.getCellData(n.pivotSheetIndex,w,{row:x,column:C}),n.initialPivotManage(),$("#luckysheet-dialog-pivotTable-range").html(y),$("#luckysheet-modal-dialog-slider-pivot").show(),$("#luckysheet-data-pivotTable-selection").hide(),n.luckysheet_pivotTable_select_state=!1,n.refreshPivotTable(),$t(),nl()}}),$("#luckysheet-modal-dialog-slider-pivot").on("mousedown",".luckysheet-slider-list-item-name, .luckysheet-modal-dialog-slider-config-item-txt",function(g){let y=$(g.target);n.movestate=!0,n.movesave.obj=y.parent(),n.movesave.name=y.data("name"),n.movesave.containerid=y.parent().parent().attr("id"),n.movesave.index=y.data("index"),$("#luckysheet-modal-dialog-slider-pivot-move").length==0&&$("body").append('<div id="luckysheet-modal-dialog-slider-pivot-move">'+n.movesave.name+"</div>"),n.movesave.width=$("#luckysheet-modal-dialog-slider-pivot-move").outerWidth(),n.movesave.height=$("#luckysheet-modal-dialog-slider-pivot-move").outerHeight(),$("#luckysheet-modal-dialog-pivotTable-list, #luckysheet-modal-dialog-config-filter, #luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column, #luckysheet-modal-dialog-config-value").css("cursor","default")}),$("#luckysheet-modal-dialog-config-filter, #luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column, #luckysheet-modal-dialog-config-value").mousemove(function(g){if(n.movestate){n.moveitemposition.length==0&&(n.moveitemposition=[0],$(this).find(".luckysheet-modal-dialog-slider-config-item").each(function(C){let S=$(this),_=S.outerHeight();n.moveitemposition.push(n.moveitemposition[C]+_+2)}),$(this).append('<div id="luckysheet-modal-dialog-config-order-help" style="position:absolute;height:3px;width:100%;background:#007ACC;z-index:1;pointer-events: none;user-select:none;"></div>')),$("#luckysheet-modal-dialog-slider-pivot-move").css({background:"#FD8585",color:"#fff",border:"1px solid #FD7070"});let y=event.pageX,v=event.pageY,k=$(this),b=v-k.offset().top+k.scrollTop(),w=n.moveitemposition,x=st(w,b);x==-1?$("#luckysheet-modal-dialog-config-order-help").css({top:w[w.length-1]}):b-w[x-1]>(w[x]-w[x-1])/2?$("#luckysheet-modal-dialog-config-order-help").css({top:w[x]}):$("#luckysheet-modal-dialog-config-order-help").css({top:w[x-1]})}}).mouseleave(function(){n.movestate&&($("#luckysheet-modal-dialog-slider-pivot-move").css({background:"#fff",color:"#000",border:"1px dotted #000"}),n.moveitemposition=[],$("#luckysheet-modal-dialog-config-order-help").remove())}).mouseup(function(g){if(n.movestate){let y=$(this),v;if(n.movesave.containerid==y.attr("id"))v=n.movesave.obj.clone();else{let _=n.movesave.name,T="",A="";y.attr("id")=="luckysheet-modal-dialog-config-value"&&(n.pivot_data_type[n.movesave.index.toString()]=="num"?(_=l.valueStatisticsSUM+":"+_,T="data-sumtype='SUM'",A="data-nameindex='0'"):(_=l.valueStatisticsCOUNTA+":"+_,T="data-sumtype='COUNTA'",A="data-nameindex='0'"),$("#luckysheet-modal-dialog-config-value").find(".luckysheet-modal-dialog-slider-config-item").each(function(){if($(this).find(".luckysheet-modal-dialog-slider-config-item-txt").text()==_){let I=parseFloat($(this).data("nameindex"))+1;return _=_+I.toString(),$(this).data("nameindex",I),!1}})),v='<div title="'+_+'" class="luckysheet-modal-dialog-slider-config-item" '+A+" "+T+' data-index="'+n.movesave.index+'" data-name="'+n.movesave.name+'"><div class="luckysheet-modal-dialog-slider-config-item-txt" '+A+" "+T+' data-index="'+n.movesave.index+'" data-name="'+n.movesave.name+'">'+_+'</div><div class="luckysheet-modal-dialog-slider-config-item-icon"><i class="fa fa-sort-desc" aria-hidden="true"></i></div></div>'}let k=event.pageX,b=event.pageY,w=$(this),x=b-w.offset().top+w.scrollTop(),C=n.moveitemposition,S=st(C,x);(n.movesave.containerid=="luckysheet-modal-dialog-pivotTable-list"||n.movesave.containerid=="luckysheet-modal-dialog-config-value"&&n.movesave.containerid!=y.attr("id"))&&$("#luckysheet-modal-dialog-config-filter, #luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column").find(".luckysheet-modal-dialog-slider-config-item").each(function(){$(this).data("index")==n.movesave.index&&$(this).remove()}),S==-1?y.find(".luckysheet-modal-dialog-slider-config-item").length==0?y.append(v):y.find(".luckysheet-modal-dialog-slider-config-item").last().after(v):x-C[S-1]>(C[S]-C[S-1])/2?y.find(".luckysheet-modal-dialog-slider-config-item").eq(S-1).after(v):y.find(".luckysheet-modal-dialog-slider-config-item").eq(S-1).before(v),n.movesave.containerid=="luckysheet-modal-dialog-pivotTable-list"||n.movesave.containerid=="luckysheet-modal-dialog-config-value"&&n.movesave.containerid!=y.attr("id")||n.movesave.obj.remove(),$("#luckysheet-modal-dialog-pivotTable-list").find(".luckysheet-modal-dialog-slider-list-item").each(function(){let _=$(this).find(".luckysheet-slider-list-item-selected");$(this).data("index")==n.movesave.index&&_.find("i").length==0&&_.append('<i class="fa fa-check luckysheet-mousedown-cancel"></i>')}),n.refreshPivotTable(),$("#luckysheet-modal-dialog-slider-pivot-move").remove(),n.movestate=!1,$("#luckysheet-modal-dialog-pivotTable-list, #luckysheet-modal-dialog-config-filter, #luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column, #luckysheet-modal-dialog-config-value").css("cursor","default"),n.moveitemposition=[],$("#luckysheet-modal-dialog-config-order-help").remove(),n.showvaluecolrow(),g.stopPropagation()}}),$("#luckysheet-modal-dialog-pivotTable-list").on("click",".luckysheet-slider-list-item-selected",function(){let g=$(this),y=g.parent(),v=y.data("index"),k=y.data("name");if(g.find("i").length==0){g.append('<i class="fa fa-check luckysheet-mousedown-cancel"></i>');let b=n.pivot_data_type[v.toString()],w;if(b=="num")w='<div title="'+k+'" class="luckysheet-modal-dialog-slider-config-item" data-nameindex="0" data-sumtype="SUM" data-index="'+v+'" data-name="'+k+'"><div class="luckysheet-modal-dialog-slider-config-item-txt" data-nameindex="0" data-sumtype="SUM" data-index="'+v+'" data-name="'+k+'">\u6C42\u548C:'+k+'</div><div class="luckysheet-modal-dialog-slider-config-item-icon"><i class="fa fa-sort-desc" aria-hidden="true"></i></div></div>',$("#luckysheet-modal-dialog-config-value").append(w);else{w='<div title="'+k+'" class="luckysheet-modal-dialog-slider-config-item" data-index="'+v+'" data-name="'+k+'"><div class="luckysheet-modal-dialog-slider-config-item-txt" data-index="'+v+'" data-name="'+k+'">'+k+'</div><div class="luckysheet-modal-dialog-slider-config-item-icon"><i class="fa fa-sort-desc" aria-hidden="true"></i></div></div>';let x=$("#luckysheet-modal-dialog-config-column"),C=$("#luckysheet-modal-dialog-config-row"),S=x.find(".luckysheet-modal-dialog-slider-config-item"),_=C.find(".luckysheet-modal-dialog-slider-config-item");S.length<2?x.append(w):_.length<2?C.append(w):x.append(w)}}else g.find("i").remove(),$("#luckysheet-modal-dialog-config-filter, #luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column, #luckysheet-modal-dialog-config-value").find(".luckysheet-modal-dialog-slider-config-item").each(function(){$(this).data("index")==v&&($(this).parent().attr("id")=="luckysheet-modal-dialog-config-value"&&n.resetOrderby($(this)),$(this).remove())});n.refreshPivotTable(),n.showvaluecolrow()}),$("#luckysheet-dialog-pivotTable-clearitem").click(function(){$("#luckysheet-modal-dialog-config-filter, #luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column, #luckysheet-modal-dialog-config-value").find(".luckysheet-modal-dialog-slider-config-item").each(function(){$(this).remove()}),$("#luckysheet-modal-dialog-pivotTable-list").find(".luckysheet-modal-dialog-slider-list-item").each(function(){$(this).find(".luckysheet-slider-list-item-selected").find("i").remove()}),n.refreshPivotTable(),n.showvaluecolrow()})}e==null&&(e=!1),n.celldata.length<=1&&n.celldata[0].length<=1&&(de()?alert(l.errorIncreaseRange):U.info("",l.errorIncreaseRange));let s="",u=1,d={},f=1;for(let m=0;m<n.celldata[0].length;m++){let g;!!n.celldata[0][m]&&!!n.celldata[0][m].m?g=n.celldata[0][m].m:g=ze(0,m,n.celldata),g!=null&&(g=g.toString()),(g==null||$.trim(g.toString()).length==0)&&(g=l.titleColumn+" "+f),f++,g in d&&(g=g+u++,g in d&&(g=g+u++,g in d&&(g=g+u++))),d[g]=1;let y="",v="";if(e&&n.filterparm!=null&&n.filterparm[m.toString()]!=null){let k=n.filterparm[m.toString()];if(k.rowhidden!=null&&(y+="data-rowhidden='"+JSON.stringify(k.rowhidden)+"'"),k.selected!=null&&(y+="data-selected='"+JSON.stringify(k.selected)+"'"),k.caljs!=null){let b=k.caljs;b.value!=null&&(y+="data-byconditionvalue='"+b.value+"'"),b.type!=null&&(y+="data-byconditiontype='"+b.type+"'"),b.text!=null&&(y+="data-byconditiontext='"+b.text+"'"),b.value1!=null&&(y+="data-byconditionvalue1='"+b.value1+"'"),b.value2!=null&&(y+="data-byconditionvalue2='"+b.value2+"'")}}y.length>0&&(v="display:block;"),s+='<div class="luckysheet-modal-dialog-slider-list-item" '+y+' data-index="'+m+'" data-name="'+g+'"><div title="'+l.titleAddColumn+'" class="luckysheet-slider-list-item-selected"><div></div></div><div title="'+l.titleMoveColumn+'" class="luckysheet-slider-list-item-name" '+y+' data-index="'+m+'" data-name="'+g+'">'+g+'</div><div title="'+l.titleClearColumnFilter+'" class="luckysheet-slider-list-item-filtered" style="'+v+'"><i class="fa fa-filter luckysheet-mousedown-cancel" aria-hidden="true"></i><i class="fa fa-times" aria-hidden="true"></i></div><div title="'+l.titleFilterColumn+'" class="luckysheet-slider-list-item-filter"><i class="fa fa-sort-desc" aria-hidden="true"></i></div></div>'}if($("#luckysheet-modal-dialog-pivotTable-list").html(s),$("#luckysheetpivottablevaluecolrowshow").hide(),$("#luckysheetpivottablevaluecolrow").prop("checked",!0),$("#luckysheetpivottablevaluecolrow1").prop("checked",!1),$("#luckysheet-modal-dialog-config-filter, #luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column, #luckysheet-modal-dialog-config-value").empty(),e){if(n.filter!=null&&n.filter.length>0)for(let m=0;m<n.filter.length;m++){let g=n.filter[m],y='<div title="'+name+'" class="luckysheet-modal-dialog-slider-config-item" data-index="'+g.index+'" data-name="'+g.name+'"><div class="luckysheet-modal-dialog-slider-config-item-txt" data-index="'+g.index+'" data-name="'+g.name+'">'+g.name+'</div><div class="luckysheet-modal-dialog-slider-config-item-icon"><i class="fa fa-sort-desc" aria-hidden="true"></i></div></div>';$("#luckysheet-modal-dialog-config-filter").append(y);let v=$("#luckysheet-modal-dialog-pivotTable-list .luckysheet-modal-dialog-slider-list-item").eq(g.index).find(".luckysheet-slider-list-item-selected");v.find("i").length==0&&v.append('<i class="fa fa-check luckysheet-mousedown-cancel"></i>')}if(n.row!=null&&n.row.length>0)for(let m=0;m<n.row.length;m++){let g=n.row[m],y="";g.order!=null&&(y+="data-order = '"+g.order+"'"),g.orderby!=null&&(y+="data-orderby = '"+g.orderby+"'"),g.order!=null&&(y+="data-stastic = '"+g.stastic+"'");let v='<div title="'+name+'" class="luckysheet-modal-dialog-slider-config-item" '+y+' data-index="'+g.index+'" data-name="'+g.name+'"><div class="luckysheet-modal-dialog-slider-config-item-txt" '+y+' data-index="'+g.index+'" data-name="'+g.name+'">'+g.name+'</div><div class="luckysheet-modal-dialog-slider-config-item-icon"><i class="fa fa-sort-desc" aria-hidden="true"></i></div></div>';$("#luckysheet-modal-dialog-config-row").append(v);let k=$("#luckysheet-modal-dialog-pivotTable-list .luckysheet-modal-dialog-slider-list-item").eq(g.index).find(".luckysheet-slider-list-item-selected");k.find("i").length==0&&k.append('<i class="fa fa-check luckysheet-mousedown-cancel"></i>')}if(n.column!=null&&n.column.length>0)for(let m=0;m<n.column.length;m++){let g=n.column[m],y="";g.order!=null&&(y+="data-order = '"+g.order+"'"),g.orderby!=null&&(y+="data-orderby = '"+g.orderby+"'"),g.order!=null&&(y+="data-stastic = '"+g.stastic+"'");let v='<div title="'+name+'" class="luckysheet-modal-dialog-slider-config-item" '+y+' data-index="'+g.index+'" data-name="'+g.name+'"><div class="luckysheet-modal-dialog-slider-config-item-txt" '+y+' data-index="'+g.index+'" data-name="'+g.name+'">'+g.name+'</div><div class="luckysheet-modal-dialog-slider-config-item-icon"><i class="fa fa-sort-desc" aria-hidden="true"></i></div></div>';$("#luckysheet-modal-dialog-config-column").append(v);let k=$("#luckysheet-modal-dialog-pivotTable-list .luckysheet-modal-dialog-slider-list-item").eq(g.index).find(".luckysheet-slider-list-item-selected");k.find("i").length==0&&k.append('<i class="fa fa-check luckysheet-mousedown-cancel"></i>')}if(n.values!=null&&n.values.length>0){for(let m=0;m<n.values.length;m++){let g=n.values[m],y="";g.sumtype!=null&&(y+="data-sumtype = '"+g.sumtype+"'"),g.nameindex!=null&&(y+="data-nameindex = '"+g.nameindex+"'");let v='<div title="'+name+'" class="luckysheet-modal-dialog-slider-config-item" '+y+' data-index="'+g.index+'" data-name="'+g.name+'"><div class="luckysheet-modal-dialog-slider-config-item-txt" '+y+' data-index="'+g.index+'" data-name="'+g.name+'">'+n.getSumTypeName(g.sumtype)+":"+g.name+'</div><div class="luckysheet-modal-dialog-slider-config-item-icon"><i class="fa fa-sort-desc" aria-hidden="true"></i></div></div>';$("#luckysheet-modal-dialog-config-value").append(v);let k=$("#luckysheet-modal-dialog-pivotTable-list .luckysheet-modal-dialog-slider-list-item").eq(g.index).find(".luckysheet-slider-list-item-selected");k.find("i").length==0&&k.append('<i class="fa fa-check luckysheet-mousedown-cancel"></i>')}n.values.length>=2&&($("#luckysheetpivottablevaluecolrowshow").show(),n.showType=="column"?($("#luckysheetpivottablevaluecolrow").prop("checked",!0),$("#luckysheetpivottablevaluecolrowshow label[for='luckysheetpivottablevaluecolrow']").addClass("ui-state-active"),$("#luckysheetpivottablevaluecolrow1").prop("checked",!1),$("#luckysheetpivottablevaluecolrowshow label[for='luckysheetpivottablevaluecolrow1']").removeClass("ui-state-active")):($("#luckysheetpivottablevaluecolrow1").prop("checked",!0),$("#luckysheetpivottablevaluecolrowshow label[for='luckysheetpivottablevaluecolrow1']").addClass("ui-state-active"),$("#luckysheetpivottablevaluecolrow").prop("checked",!1),$("#luckysheetpivottablevaluecolrowshow label[for='luckysheetpivottablevaluecolrow']").removeClass("ui-state-active")))}}$("#luckysheet-dialog-pivotTable-range").html(wt(n.pivotDataSheetIndex,n.pivot_select_save)),$("#luckysheet-modal-dialog-slider-pivot").show(),$t(!1)},getComposeArray:function(e){if(e.length==0)return[];let n=[];for(let t=0;t<e.length;t++){let l="";for(let a=0;a<=t;a++)!!e[a]&&!!e[a].m?l+=e[a].m:l+=ze(a,null,e);n.push(l)}return n},getnameArray:function(e,n){if(e.length==0)return[];if(n.length==0)return[];let t=[];for(let l=0;l<n.length;l++){let a;!!e[n[l].index]&&!!e[n[l].index].m?a=e[n[l].index].m:a=ze(n[l].index,null,e),t.push(a)}return t},getTitleFromGroup:function(e,n,t){let l=this,a=l.orderbygroup(e,n,t);return l.generategrouparraymain(a,n)},orderbygroup:function(e,n,t){let l=this,a=[];if(e.length==0)return[];a=e;let o=null,s=a.length,u=a.length,d=0;for(;s!=0;)if(o=a[d++],s--,o.children!=null&&o.children.length>0){o.children=l.orderbygroupchildren(o.children,n[o.index].orderby,n[o.index].order,t);for(let f=0;f<o.children.length;f++)a.push(o.children[f]),s++}return e.splice(0,u)},orderbygroupchildren:function(e,n,t,l){if(e.length==0)return[];let a=!1;(t==null||t=="asc")&&(a=!0);let s=Q().filter,u=function(f,m){let g=null,y=null;if(n=="self"||n==null){if(f.name==null?g=s.valueBlank:g=f.name.toString(),m.name==null?y=s.valueBlank:y=m.name.toString(),Ot(g)&&Ot(y))return ul(g,y)}else g=parseFloat(l[f.orderby].result),y=parseFloat(l[m.orderby].result);if(!isNaN(g)&&!isNaN(y))return(0,Ni.default)(g).value()-(0,Ni.default)(y).value();if(isNaN(g)&&isNaN(y))return g.localeCompare(y);if(isNaN(g))return 1;if(isNaN(y))return-1},d=function(f,m){let g=null,y=null;if(n=="self"||n==null){if(f.name==null?g=s.valueBlank:g=f.name.toString(),m.name==null?y=s.valueBlank:y=m.name.toString(),Ot(g)&&Ot(y))return ul(g,y)}else g=parseFloat(l[f.orderby].result),y=parseFloat(l[m.orderby].result);if(!isNaN(g)&&!isNaN(y))return(0,Ni.default)(y).value()-(0,Ni.default)(g).value();if(isNaN(g)&&isNaN(y))return y.localeCompare(g);if(isNaN(g))return-1;if(isNaN(y))return 1};return a?e.sort(u):e.sort(d)},generategroupaddstatic:function(e,n){let t=[],a=Q().pivotTable;for(let o=0;o<e[0].length;o++)o==0?n==a.valueSum?t.push(n):t.push({name:n,issum:!0}):t.push("");return t},generategrouparraymain:function(e,n){let t=this,l=[];for(let a=0;a<e.length;a++){let o=e[a].name,s=t.generategrouparray(e[a].children,n,1);(n[0].stastic=="1"||n[0].stastic==null)&&s.push(t.generategroupaddstatic(s,o)),l=l.concat(s)}return l},generategrouparray:function(e,n,t){let l=this,a=[];for(let o=0;o<e.length;o++){let s=e[o].name,u;if(e[o].children==0||e[o].children.length==0)u=[s],a.push(u);else{u=l.generategrouparray(e[o].children,n,t+1);for(let d=0;d<u.length;d++)u[d].unshift(s);(n[t].stastic=="1"||n[t].stastic==null)&&u.push(l.generategroupaddstatic(u,s)),a=a.concat(u)}}return a},addStatisticsData:function(e,n,t,l){if(e[t]==null&&(e[t]={data:[],count:0,max:-Infinity,min:Infinity,counta:0,countunique:0,countuniquedata:{},sum:0,digitaldata:[],sumtype:n.sumtype,index:n.index,name:n.fullname,acc:0}),zn(l).num===!0){let a=Al(l,6);e[t].digitaldata.push(a),e[t].count+=1,e[t].sum+=a,a>e[t].max&&(e[t].max=a),a<e[t].min&&(e[t].min=a);let o=uc(a);o>e[t].acc&&(e[t].acc=o)}l!=""&&(e[t].data.push(l),e[t].counta+=1,l in e[t].countuniquedata||(e[t].countuniquedata[l]=1,e[t].countunique+=1))},dataHandler:function(e,n,t,l,a){let o=this,s=Q(),u=s.filter,d=s.pivotTable;if(l==null&&(l="column"),e.length==0&&n.length==0&&t.length==0||a.length==0)return o.pivotDatas=[],[];let f={},m=a,g=[],y=[],v={},k=0,b=[],w=[],x={},C=0;for(let z=1;z<m.length;z++){let M=m[z],N="",E="",L="",O=[],V=[],q="",W=[],Y=[];V=o.getnameArray(M,n),Y=o.getnameArray(M,e),O=o.getComposeArray(V),W=o.getComposeArray(Y),O.length>0&&O.unshift(d.valueSum),W.length>0&&W.unshift(d.valueSum);let ee=v,te=y;for(let ue=0;ue<O.length;ue++){let he=O[ue],Z=ue==0?d.valueSum:V[ue-1];if(ee[ue.toString()]!=null&&ee[ue.toString()][he]!=null)te=te[ee[ue.toString()][he]].children;else{let G=ue==0?"self":n[ue-1].orderby=="self"||n[ue-1].orderby==null?he:l=="column"?he+t[parseInt(n[ue-1].orderby)].fullname:he+d.valueSum;Z==null&&(Z=u.valueBlank),te.push({name:Z,fullname:he,index:ue,orderby:G,children:[]}),ee[ue.toString()]==null&&(ee[ue.toString()]={}),ee[ue.toString()][he]==null&&(ee[ue.toString()][he]=te.length-1),te=te[te.length-1].children}}let oe=x,ce=w;for(let ue=0;ue<W.length;ue++){let he=W[ue],Z=ue==0?d.valueSum:Y[ue-1];if(oe[ue.toString()]!=null&&oe[ue.toString()][he]!=null)ce=ce[oe[ue.toString()][he]].children;else{let G=ue==0?"self":e[ue-1].orderby=="self"||e[ue-1].orderby==null?he:l=="column"?d.valueSum+he:t[parseInt(e[ue-1].orderby)].fullname+he;Z==null&&(Z=u.valueBlank),ce.push({name:Z,fullname:he,index:ue,orderby:G,children:[]}),oe[ue.toString()]==null&&(oe[ue.toString()]={}),oe[ue.toString()][he]==null&&(oe[ue.toString()][he]=ce.length-1),ce=ce[ce.length-1].children}}let se="";for(let ue=0;ue<t.length;ue++){let he=ze(t[ue].index,null,M),Z=[].concat(W),G=[].concat(O);l=="column"?Z.length>0?(Z.push(""),Z=Z.join(t[ue].fullname+"|||").split("|||").slice(0,Z.length-1)):Z.push(t[ue].fullname):G.length>0?(G.push(""),G=G.join(t[ue].fullname+"|||").split("|||").slice(0,G.length-1)):G.push(t[ue].fullname),Z.length==0&&Z.push(""),G.length==0&&G.push("");for(let le=0;le<G.length;le++)for(let pe=0;pe<Z.length;pe++){let ie=G[le]+Z[pe];o.addStatisticsData(f,t[ue],ie,he)}}}for(let z in f){let M=f[z];if(M.sumtype=="SUM")M.result=M.sum;else if(M.sumtype=="COUNT")M.result=M.count;else if(M.sumtype=="COUNTA")M.result=M.counta;else if(M.sumtype=="COUNTUNIQUE")M.result=M.countunique;else if(M.sumtype=="AVERAGE")M.result=Al(M.sum/M.count);else if(M.sumtype=="MAX")M.result=M.max;else if(M.sumtype=="MIN")M.result=M.min;else if(M.sumtype=="MEDIAN"){let E=M.digitaldata.sort(function(V,q){return V-q}),L=E.length,O=parseInt(L/2);L%2==0?M.result=(E[O-1]+E[O])/2:M.result=E[O]}else if(M.sumtype=="PRODUCT")M.result=new Function("return "+M.digitaldata.join("*"))();else if(M.sumtype=="STDEV"){let E=M.sum/M.count;M.result=Ei.STDEV(E,M.digitaldata)}else if(M.sumtype=="STDEVP"){let E=M.sum/M.count;M.result=Ei.STDEVP(E,M.digitaldata)}else if(M.sumtype=="let"){let E=M.sum/M.count;M.result=Ei.let(E,M.digitaldata)}else if(M.sumtype=="VARP"){let E=M.sum/M.count;M.result=Ei.VARP(E,M.digitaldata)}let N=uc(M.result);N>M.acc&&(M.acc=N),M.result=Al(M.result,M.acc)}if(g=o.getTitleFromGroup(y,n,f),b=o.getTitleFromGroup(w,e,f),l=="column")if(b.length>0&&b[0].length>0)b=o.addValuesToTitle(b,t);else for(let z=0;z<t.length;z++)b.push([t[z].fullname]);else if(g.length>0&&g[0].length>0)g=o.addValuesToTitle(g,t);else for(let z=0;z<t.length;z++)g.push([t[z].fullname]);let S=b;b=gf.transpose(b,!1);let _=t.length==0?0:1,T=(b.length==0?_:b.length)+(g.length==0?_:g.length),A=(b.length==0?_:b[0].length)+(g.length==0?_:g[0].length),R=b.length,I=g.length==0?0:g[0].length,F=[];for(let z=0;z<T;z++){F[z]=new Array(A);for(let M=0;M<A;M++){let N=g[z-R];if(z<R&&M<I)F[z][M]="";else if(z<R&&M>=I)b[z]!=null?P(b[z][M-I])=="object"?F[z][M]=b[z][M-I].name+d.valueSum:F[z][M]=b[z][M-I]:F[z][M]="";else if(z>=R&&M<I)N!=null?P(N[M])=="object"?F[z][M]=N[M].name+d.valueSum:F[z][M]=N[M]:F[z][M]="";else{let E="";if(N!=null)if(!(N instanceof Array)||N.length==1)N instanceof Array?E=N[0]:E=N;else for(let q=0;q<N.length;q++)P(N[q])=="object"?E+=N[q].name:E+=N[q];let L="",O=S[M-I];if(O!=null)if(!(O instanceof Array)||O.length==1)O instanceof Array?L=O[0]:L=O;else for(let q=0;q<O.length;q++)P(O[q])=="object"?L+=O[q].name:L+=O[q];let V=E;E!=""&&L!=""?V=E+L:E==""&&(V=L),f[V]==null?F[z][M]="":F[z][M]=f[V].result}}}if(t.length==1&&e.length>0&&n.length>0)F[0][0]=t[0].fullname,F.splice(e.length,1);else if(t.length==1&&e.length>0){let z=F.splice(e.length,1),M=[];for(let N=0;N<F.length;N++){let E=[];N==F.length-1?E.push(z[0][0]):E.push("");for(let L=0;L<F[N].length-1;L++)E.push(F[N][L]);M.push(E)}F=M}return o.pivotDatas=F,F},drillDown:function(e,n){if(!It(h.currentSheetIndex,"usePivotTablereports"))return;let t=this,l=t.pivotDatas[e][n],a=$.extend(!0,[],ve.nulldata),o=Q(),s=o.filter,u=o.pivotTable,d=1;for(let g=0;g<t.celldata[0].length;g++){let y;!!t.celldata[0][g]&&!!t.celldata[0][g].m?y=t.celldata[0][g].m:y=ze(0,g,t.celldata),y!=null&&(y=y.toString()),(y==null||$.trim(y.toString()).length==0)&&(y=u.titleColumn+" "+d),d++,a[0][g]=y}let f={};if(t.row!=null&&t.row.length>0)for(let g=0;g<t.row.length;g++)f[t.row[g].index]=t.pivotDatas[e][g];if(t.column!=null&&t.column.length>0)for(let g=0;g<t.column.length;g++)f[t.column[g].index]=t.pivotDatas[g][n];let m=[];for(let g=1;g<t.celldata.length;g++){let y=!0;for(let v in f){let k;if(!!t.celldata[g][v]&&!!t.celldata[g][v].m?k=t.celldata[g][v].m:k=ze(g,v,t.celldata),k!=null?k=k.toString():k=s.valueBlank,k!=f[v]){y=!1;break}}y&&m.push(g)}for(let g=0;g<m.length;g++)for(let y=0;y<t.celldata[0].length;y++){let v;!!t.celldata[m[g]][y]&&!!t.celldata[m[g]][y].m?v=t.celldata[m[g]][y].m:v=ze(m[g],y,t.celldata),v!=null?v=v.toString():v="",a[g+1][y]=v}h.luckysheet_select_save=[{row:[0,m.length],column:[0,t.celldata[0].length-1]}],h.clearjfundo=!1,Ze(a,h.luckysheet_select_save),tt(),h.clearjfundo=!0}},Oe=kf});var bf,C2,Pi,hc,dc,fc,$o,wf,T2,S2,Li,Ar,xf,$2,I2,Jl,mc=$e(()=>{Xe();bf=function(){let e,n;return e=function(){this.init.apply(this,arguments)},arguments.length>1?(arguments[0]?(e.prototype=$.extend(new arguments[0],arguments[arguments.length-1]),e._super=arguments[0].prototype):e.prototype=arguments[arguments.length-1],arguments.length>2&&(n=Array.prototype.slice.call(arguments,1,-1),n.unshift(e.prototype),$.extend.apply($,n))):e.prototype=arguments[0],e.prototype.cls=e,e},C2=bf({fre:/\{\{([\w.]+?)(:(.+?))?\}\}/g,precre:/(\w+)\.(\d+)/,init:function(e,n){this.format=e,this.fclass=n},render:function(e,n,t){let l=this,a=e,o,s,u,d,f;return this.format.replace(this.fre,function(){let m;return s=arguments[1],u=arguments[3],o=l.precre.exec(s),o?(f=o[2],s=o[1]):f=!1,d=a[s],d===void 0?"":u&&n&&n[u]?(m=n[u],m.get?n[u].get(d)||d:n[u][d]||d):(T2(d)&&(t.get("numberFormatter")?d=t.get("numberFormatter")(d):d=S2(d,f,t.get("numberDigitGroupCount"),t.get("numberDigitGroupSep"),t.get("numberDecimalMark"))),d)})}});$.spformat=function(e,n){return new C2(e,n)};Pi=function(e,n,t){return e<n?n:e>t?t:e},hc=function(e,n){let t;return n===2?(t=Math.floor(e.length/2),e.length%2?e[t]:(e[t-1]+e[t])/2):e.length%2?(t=(e.length*n+n)/4,t%1?(e[Math.floor(t)]+e[Math.floor(t)-1])/2:e[t-1]):(t=(e.length*n+2)/4,t%1?(e[Math.floor(t)]+e[Math.floor(t)-1])/2:e[t-1])},dc=function(e){let n;switch(e){case"undefined":e=void 0;break;case"null":e=null;break;case"true":e=!0;break;case"false":e=!1;break;default:n=parseFloat(e),e==n&&(e=n)}return e},fc=function(e){let n,t=[];for(n=e.length;n--;)t[n]=dc(e[n]);return t},$o=function(e,n,t){let l;for(l=n.length;l--;)if(!(t&&n[l]===null)&&n[l]!==e)return!1;return!0},wf=function(e,n){let t,l,a=[];for(t=0,l=e.length;t<l;t++)e[t]!==n&&a.push(e[t]);return a},T2=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},S2=function(e,n,t,l,a){let o,s;for(e=(n===!1?parseFloat(e).toString():e.toFixed(n)).split(""),o=(o=$.inArray(".",e))<0?e.length:o,o<e.length&&(e[o]=a),s=o-t;s>0;s-=t)e.splice(s,0,l);return e.join("")},Li=bf({init:function(e){let n,t,l=[];for(n in e)e.hasOwnProperty(n)&&typeof n=="string"&&n.indexOf(":")>-1&&(t=n.split(":"),t[0]=t[0].length===0?-Infinity:parseFloat(t[0]),t[1]=t[1].length===0?Infinity:parseFloat(t[1]),t[2]=e[n],l.push(t));this.map=e,this.rangelist=l||!1},get:function(e){let n=this.rangelist,t,l,a;if((a=this.map[e])!==void 0)return a;if(n){for(t=n.length;t--;)if(l=n[t],l[0]<=e&&l[1]>=e)return l[2]}}});$.range_map=function(e){return new Li(e)};Ar={defaultOption:{common:{type:"line",lineColor:"#2ec7c9",fillColor:"#CCF3F4",defaultPixelsPerValue:3,width:"auto",height:"auto",composite:!1,tagValuesAttribute:"values",tagOptionsPrefix:"spark",enableTagOptions:!1,enableHighlight:!0,highlightLighten:1.4,tooltipSkipNull:!0,tooltipPrefix:"",tooltipSuffix:"",disableHiddenCheck:!1,numberFormatter:!1,numberDigitGroupCount:3,numberDigitGroupSep:",",numberDecimalMark:".",disableTooltips:!0,disableInteraction:!0,offsetX:0,offsetY:0},line:{spotColor:0,highlightSpotColor:"#5f5",highlightLineColor:"#f22",spotRadius:1.5,minSpotColor:0,maxSpotColor:0,lineWidth:1,normalRangeMin:void 0,normalRangeMax:void 0,normalRangeColor:"#ccc",drawNormalOnTop:!0,chartRangeMin:void 0,chartRangeMax:void 0,chartRangeMinX:void 0,chartRangeMaxX:void 0},bar:{barColor:"#fc5c5c",negBarColor:"#97b552",stackedBarColor:["#2ec7c9","#fc5c5c","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],zeroColor:void 0,nullColor:void 0,zeroAxis:!0,barWidth:4,barSpacing:1,chartRangeMax:void 0,chartRangeMin:void 0,chartRangeClip:!1,colorMap:void 0},column:{barColor:"#fc5c5c",negBarColor:"#97b552",stackedBarColor:["#2ec7c9","#fc5c5c","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],zeroColor:void 0,nullColor:void 0,zeroAxis:!0,barWidth:4,barSpacing:1,chartRangeMax:void 0,chartRangeMin:void 0,chartRangeClip:!1,colorMap:void 0},tristate:{barWidth:4,barSpacing:1,posBarColor:"#fc5c5c",negBarColor:"#97b552",zeroBarColor:"#999",colorMap:{}},discrete:{lineHeight:"auto",thresholdColor:"#fc5c5c",thresholdValue:0,chartRangeMax:void 0,chartRangeMin:void 0,chartRangeClip:!1},bullet:{targetColor:"#f33",targetWidth:3,performanceColor:"#33f",rangeColors:["#d3dafe","#a8b6ff","#7f94ff","#6D87FF","#5876FF","#4465FF","#2F54FF","#1A43FF","#0532FF"],base:void 0},pie:{offset:0,sliceColors:["#2ec7c9","#fc5c5c","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],borderWidth:0,borderColor:"#000"},box:{raw:!1,boxLineColor:"#000",boxFillColor:"#cdf",whiskerColor:"#000",outlierLineColor:"#5E5E5E",outlierFillColor:"#fff",medianColor:"#f00",showOutliers:!0,outlierIQR:1.5,spotRadius:1.5,target:void 0,targetColor:"#4a2",chartRangeMax:void 0,chartRangeMin:void 0}},line:{type:"line",init:function(e,n,t,l,a){this.vertices=[],this.regionMap=[],this.xvalues=[],this.yvalues=[],this.yminmax=[],this.hightlightSpotId=null,this.lastShapeId=null},getRegion:function(e,n,t){let l,a=this.regionMap;for(l=a.length;l--;)if(a[l]!==null&&n>=a[l][0]&&n<=a[l][1])return a[l][2]},getCurrentRegionFields:function(){let e=this.currentRegion;return{isNull:this.yvalues[e]===null,x:this.xvalues[e],y:this.yvalues[e],color:this.options.get("lineColor"),fillColor:this.options.get("fillColor"),offset:e}},renderHighlight:function(){let e=this.currentRegion,n=this.target,t=this.vertices[e],l=this.options,a=l.get("spotRadius"),o=l.get("highlightSpotColor"),s=l.get("highlightLineColor"),u,d;!t||(a&&o&&(u=n.drawCircle(t[0],t[1],a,void 0,o),this.highlightSpotId=u.id,n.insertAfterShape(this.lastShapeId,u)),s&&(d=n.drawLine(t[0],this.canvasTop,t[0],this.canvasTop+this.canvasHeight,s),this.highlightLineId=d.id,n.insertAfterShape(this.lastShapeId,d)))},removeHighlight:function(){let e=this.target;this.highlightSpotId&&(e.removeShapeId(this.highlightSpotId),this.highlightSpotId=null),this.highlightLineId&&(e.removeShapeId(this.highlightLineId),this.highlightLineId=null)},scanValues:function(){let e=this.values,n=e.length,t=this.xvalues,l=this.yvalues,a=this.yminmax,o,s,u,d,f;for(o=0;o<n;o++)s=e[o],u=typeof e[o]=="string",d=typeof e[o]=="object"&&e[o]instanceof Array,f=u&&e[o].split(":"),u&&f.length===2?(t.push(Number(f[0])),l.push(Number(f[1])),a.push(Number(f[1]))):d?(t.push(s[0]),l.push(s[1]),a.push(s[1])):(t.push(o),e[o]===null||e[o]==="null"?l.push(null):(l.push(Number(s)),a.push(Number(s))));this.options.get("xvalues")&&(t=this.options.get("xvalues")),this.maxy=this.maxyorg=Math.max.apply(Math,a),this.miny=this.minyorg=Math.min.apply(Math,a),this.maxx=Math.max.apply(Math,t),this.minx=Math.min.apply(Math,t),this.xvalues=t,this.yvalues=l,this.yminmax=a},processRangeOptions:function(){let e=this.options,n=e.get("normalRangeMin"),t=e.get("normalRangeMax");n!==void 0&&(n<this.miny&&(this.miny=n),t>this.maxy&&(this.maxy=t)),e.get("chartRangeMin")!==void 0&&(e.get("chartRangeClip")||e.get("chartRangeMin")<this.miny)&&(this.miny=e.get("chartRangeMin")),e.get("chartRangeMax")!==void 0&&(e.get("chartRangeClip")||e.get("chartRangeMax")>this.maxy)&&(this.maxy=e.get("chartRangeMax")),e.get("chartRangeMinX")!==void 0&&(e.get("chartRangeClipX")||e.get("chartRangeMinX")<this.minx)&&(this.minx=e.get("chartRangeMinX")),e.get("chartRangeMaxX")!==void 0&&(e.get("chartRangeClipX")||e.get("chartRangeMaxX")>this.maxx)&&(this.maxx=e.get("chartRangeMaxX"))},drawNormalRange:function(e,n,t,l,a){let o=this.options.get("normalRangeMin"),s=this.options.get("normalRangeMax"),u=n+Math.round(t-t*((s-this.miny)/a)),d=Math.round(t*(s-o)/a);d==0&&o==s&&(d=1),this.target.drawRect(e,u,l,d,void 0,this.options.get("normalRangeColor")).append()},render:function(e,n){this.vertices=[],this.regionMap=[],this.xvalues=[],this.yvalues=[],this.yminmax=[],this.hightlightSpotId=null,this.lastShapeId=null,this.values=n;let t=this.options,l=this.target,a=e.mergedOptions.width,o=e.mergedOptions.height,s=this.vertices,u=t.get("spotRadius"),d=this.regionMap,f,m,g,y,v,k,b,w,x,C,S,_,T,A,R,I,F,z,M,N,E,L,O,V,q;if(this.scanValues(),this.processRangeOptions(),O=this.xvalues,V=this.yvalues,!(!this.yminmax.length||this.yvalues.length<2)){for(y=v=0,f=this.maxx-this.minx==0?1:this.maxx-this.minx,m=this.maxy-this.miny==0?1:this.maxy-this.miny,g=this.yvalues.length-1,u&&(a<u*4||o<u*4)&&(u=0),u&&(E=t.get("highlightSpotColor")&&!t.get("disableInteraction"),(E||t.get("minSpotColor")||t.get("spotColor")&&V[g]===this.miny)&&(o-=Math.ceil(u)),(E||t.get("maxSpotColor")||t.get("spotColor")&&V[g]===this.maxy)&&(o-=Math.ceil(u),y+=Math.ceil(u)),(E||(t.get("minSpotColor")||t.get("maxSpotColor"))&&(V[0]===this.miny||V[0]===this.maxy))&&(v+=Math.ceil(u),a-=Math.ceil(u)),(E||t.get("spotColor")||t.get("minSpotColor")||t.get("maxSpotColor")&&(V[g]===this.miny||V[g]===this.maxy))&&(a-=Math.ceil(u))),o--,t.get("normalRangeMin")!==void 0&&!t.get("drawNormalOnTop")&&this.drawNormalRange(v,y,o,a,m),b=[],w=[b],A=R=null,I=V.length,q=0;q<I;q++)x=O[q],S=O[q+1],C=V[q],_=v+Math.round((x-this.minx)*(a/f)),T=q<I-1?v+Math.round((S-this.minx)*(a/f)):a,R=_+(T-_)/2,d[q]=[A||0,R,q],A=R,C===null?q&&(V[q-1]!==null&&(b=[],w.push(b)),s.push(null)):(C<this.miny&&(C=this.miny),C>this.maxy&&(C=this.maxy),b.length||b.push([_,y+o]),k=[_,y+Math.round(o-o*((C-this.miny)/m))],b.push(k),s.push(k));for(F=[],z=[],M=w.length,q=0;q<M;q++)b=w[q],b.length&&(t.get("fillColor")&&(b.push([b[b.length-1][0],y+o]),z.push(b.slice(0)),b.pop()),b.length>2&&(b[0]=[b[0][0],b[1][1]]),F.push(b));for(M=z.length,q=0;q<M;q++)l.drawShape(z[q],t.get("fillColor"),t.get("fillColor")).append();for(M=F.length,q=0;q<M;q++)l.drawShape(F[q],t.get("lineColor"),void 0,t.get("lineWidth")).append();if(t.get("normalRangeMin")!==void 0&&t.get("drawNormalOnTop")&&this.drawNormalRange(v,y,o,a,m),u&&t.get("valueSpots"))for(N=t.get("valueSpots"),N.get===void 0&&(N=new Li(N)),q=0;q<I;q++)L=N.get(V[q]),L&&l.drawCircle(v+Math.round((O[q]-this.minx)*(a/f)),y+Math.round(o-o*((V[q]-this.miny)/m)),u,void 0,L).append();u&&t.get("spotColor")&&V[g]!==null&&l.drawCircle(v+Math.round((O[O.length-1]-this.minx)*(a/f)),y+Math.round(o-o*((V[g]-this.miny)/m)),u,void 0,t.get("spotColor")).append(),this.maxy!==this.minyorg&&(u&&t.get("minSpotColor")&&(x=O[$.inArray(this.minyorg,V)],l.drawCircle(v+Math.round((x-this.minx)*(a/f)),y+Math.round(o-o*((this.minyorg-this.miny)/m)),u,void 0,t.get("minSpotColor")).append()),u&&t.get("maxSpotColor")&&(x=O[$.inArray(this.maxyorg,V)],l.drawCircle(v+Math.round((x-this.minx)*(a/f)),y+Math.round(o-o*((this.maxyorg-this.miny)/m)),u,void 0,t.get("maxSpotColor")).append()))}}},bar:{type:"bar",init:function(e,n){let t=this.options,l=e.mergedOptions.height,a=e.mergedOptions.width;this.canvasWidth=e.mergedOptions.height,this.canvasHeight=e.mergedOptions.width;let o=parseInt(t.get("barWidth"),10),s=parseInt(t.get("barSpacing"),10),u=t.get("chartRangeMin"),d=t.get("chartRangeMax"),f=t.get("chartRangeClip"),m=Infinity,g=-Infinity,y,v,k,b,w,x,C,S,_,T,A,R,I,F,z,M,N,E,L,O,V,q,W;for(this.values=n,x=0,C=n.length;x<C;x++)O=n[x],y=typeof O=="string"&&O.indexOf(":")>-1,(y||$.isArray(O))&&(z=!0,y&&(O=n[x]=fc(O.split(":"))),O=wf(O,null),v=Math.min.apply(Math,O),k=Math.max.apply(Math,O),v<m&&(m=v),k>g&&(g=k));this.stacked=z,this.regionShapes={},this.barWidth=Math.floor(l/n.length)-s,this.barSpacing=s,this.totalBarWidth=this.barWidth+s,this.width=l,f&&(I=u===void 0?-Infinity:u,F=d===void 0?Infinity:d),w=[],b=z?[]:w;let Y=[],ee=[];for(x=0,C=n.length;x<C;x++)if(z)for(M=n[x],n[x]=L=[],Y[x]=0,b[x]=ee[x]=0,N=0,E=M.length;N<E;N++)O=L[N]=f?Pi(M[N],I,F):M[N],O!==null&&(O>0&&(Y[x]+=O),m<0&&g>0?O<0?ee[x]+=Math.abs(O):b[x]+=O:b[x]+=Math.abs(O),w.push(O));else O=f?Pi(n[x],I,F):n[x],O=n[x]=dc(O),O!==null&&w.push(O);this.max=R=Math.max.apply(Math,w),this.min=A=Math.min.apply(Math,w),this.stackMax=g=z?Math.max.apply(Math,Y):R,this.stackMin=m=z?Math.min.apply(Math,w):A,t.get("chartRangeMin")!==void 0&&(t.get("chartRangeClip")||t.get("chartRangeMin")<A)&&(A=t.get("chartRangeMin")),t.get("chartRangeMax")!==void 0&&(t.get("chartRangeClip")||t.get("chartRangeMax")>R)&&(R=t.get("chartRangeMax")),this.zeroAxis=_=t.get("zeroAxis",!0),A<=0&&R>=0&&_?T=0:_==!1?T=A:A>0?T=0:T=R,this.xaxisOffset=T,S=z?Math.max.apply(Math,b)+Math.max.apply(Math,ee):R-T,this.canvasHeightEf=_&&A<0?this.canvasHeight-2:this.canvasHeight-1,this.isNeg=!1,A<T?(V=Math.floor(this.canvasHeight/2),this.isNeg=!0,V!==Math.ceil(V)&&(this.canvasHeightEf-=2,V=Math.ceil(V))):V=0,this.yoffset=V,$.isArray(t.get("colorMap"))?(this.colorMapByIndex=t.get("colorMap"),this.colorMapByValue=null):(this.colorMapByIndex=null,this.colorMapByValue=t.get("colorMap"),this.colorMapByValue&&this.colorMapByValue.get===void 0&&(this.colorMapByValue=new Li(this.colorMapByValue))),this.range=S},getRegion:function(e,n,t){let l=Math.floor(n/this.totalBarWidth);return l<0||l>=this.values.length?void 0:l},getCurrentRegionFields:function(){let e=this.currentRegion,n=ensureArray(this.values[e]),t=[],l,a;for(a=n.length;a--;)l=n[a],t.push({isNull:l===null,value:l,color:this.calcColor(a,l,e),offset:e});return t},calcColor:function(e,n,t){let l=this.colorMapByIndex,a=this.colorMapByValue,o=this.options,s,u;return this.stacked?s=o.get("stackedBarColor"):s=n<0?o.get("negBarColor"):o.get("barColor"),n===0&&o.get("zeroColor")!==void 0&&(s=o.get("zeroColor")),a&&(u=a.get(n))?s=u:l&&l.length>t&&(s=l[t]),$.isArray(s)?s[e%s.length]:s},renderRegion:function(e,n){let t=this.values[e],l=this.options,a=this.xaxisOffset,o=[],s=this.range,u=this.stacked,d=this.target,f=e*this.totalBarWidth,m=this.canvasHeightEf,g=this.yoffset,y,v,k,b,w,x,C,S,_,T;if(t=$.isArray(t)?t:[t],C=t.length,S=t[0],b=$o(null,t),T=$o(a,t,!0),b)return l.get("nullColor")?(k=n?l.get("nullColor"):this.calcHighlightColor(l.get("nullColor"),l),y=g>0?g-1:g,d.drawRect(y,f,0,this.barWidth-1,k,k)):void 0;for(w=g,this.isNeg&&(m=Math.floor(m/2)),x=0;x<C;x++){if(S=t[x],u&&S===a){if(!T||_)continue;_=!0}s>0?v=Math.floor(m*(Math.abs(S-a)/s)):v=m,S<a||S===a&&g===0?(y=w-v,w+=v):u?(y=g,g+=v):(y=g,g-=v),k=this.calcColor(x,S,e),n&&(k=this.calcHighlightColor(k,l)),o.push(d.drawRect(y,f,v-1,this.barWidth-1,k,k))}return o.length===1?o[0]:o}},column:{type:"column",init:function(e,n){let t=this.options,l=e.mergedOptions.width,a=e.mergedOptions.height;this.canvasWidth=e.mergedOptions.width,this.canvasHeight=e.mergedOptions.height;let o=parseInt(t.get("barWidth"),10),s=parseInt(t.get("barSpacing"),10),u=t.get("chartRangeMin"),d=t.get("chartRangeMax"),f=t.get("chartRangeClip"),m=Infinity,g=-Infinity,y,v,k,b,w,x,C,S,_,T,A,R,I,F,z,M,N,E,L,O,V,q,W;for(this.values=n,x=0,C=n.length;x<C;x++)O=n[x],y=typeof O=="string"&&O.indexOf(":")>-1,(y||$.isArray(O))&&(z=!0,y&&(O=n[x]=fc(O.split(":"))),O=wf(O,null),v=Math.min.apply(Math,O),k=Math.max.apply(Math,O),v<m&&(m=v),k>g&&(g=k));this.stacked=z,this.regionShapes={},this.barWidth=Math.floor(l/n.length)-s,this.barSpacing=s,this.totalBarWidth=this.barWidth+s,this.width=l,f&&(I=u===void 0?-Infinity:u,F=d===void 0?Infinity:d),w=[],b=z?[]:w;let Y=[],ee=[];for(x=0,C=n.length;x<C;x++)if(z)for(M=n[x],n[x]=L=[],Y[x]=0,b[x]=ee[x]=0,N=0,E=M.length;N<E;N++)O=L[N]=f?Pi(M[N],I,F):M[N],O!==null&&(O>0&&(Y[x]+=O),m<0&&g>0?O<0?ee[x]+=Math.abs(O):b[x]+=O:b[x]+=Math.abs(O),w.push(O));else O=f?Pi(n[x],I,F):n[x],O=n[x]=dc(O),O!==null&&w.push(O);this.max=R=Math.max.apply(Math,w),this.min=A=Math.min.apply(Math,w),this.stackMax=g=z?Math.max.apply(Math,Y):R,this.stackMin=m=z?Math.min.apply(Math,w):A,t.get("chartRangeMin")!==void 0&&(t.get("chartRangeClip")||t.get("chartRangeMin")<A)&&(A=t.get("chartRangeMin")),t.get("chartRangeMax")!==void 0&&(t.get("chartRangeClip")||t.get("chartRangeMax")>R)&&(R=t.get("chartRangeMax")),this.zeroAxis=_=t.get("zeroAxis",!0),A<=0&&R>=0&&_?T=0:_==!1?T=A:A>0?T=0:T=R,this.xaxisOffset=T,S=z?Math.max.apply(Math,b)+Math.max.apply(Math,ee):R-T,this.canvasHeightEf=_&&A<0?this.canvasHeight-2:this.canvasHeight-1,this.isNeg=!1,A<T?(V=Math.floor(this.canvasHeight/2),this.isNeg=!0,V!==Math.ceil(V)&&(this.canvasHeightEf-=2,V=Math.ceil(V))):V=this.canvasHeight,this.yoffset=V,$.isArray(t.get("colorMap"))?(this.colorMapByIndex=t.get("colorMap"),this.colorMapByValue=null):(this.colorMapByIndex=null,this.colorMapByValue=t.get("colorMap"),this.colorMapByValue&&this.colorMapByValue.get===void 0&&(this.colorMapByValue=new Li(this.colorMapByValue))),this.range=S},getRegion:function(e,n,t){let l=Math.floor(n/this.totalBarWidth);return l<0||l>=this.values.length?void 0:l},getCurrentRegionFields:function(){let e=this.currentRegion,n=ensureArray(this.values[e]),t=[],l,a;for(a=n.length;a--;)l=n[a],t.push({isNull:l===null,value:l,color:this.calcColor(a,l,e),offset:e});return t},calcColor:function(e,n,t){let l=this.colorMapByIndex,a=this.colorMapByValue,o=this.options,s,u;return this.stacked?s=o.get("stackedBarColor"):s=n<0?o.get("negBarColor"):o.get("barColor"),n===0&&o.get("zeroColor")!==void 0&&(s=o.get("zeroColor")),a&&(u=a.get(n))?s=u:l&&l.length>t&&(s=l[t]),$.isArray(s)?s[e%s.length]:s},renderRegion:function(e,n){let t=this.values[e],l=this.options,a=this.xaxisOffset,o=[],s=this.range,u=this.stacked,d=this.target,f=e*this.totalBarWidth,m=this.canvasHeightEf,g=this.yoffset,y,v,k,b,w,x,C,S,_,T;if(t=$.isArray(t)?t:[t],C=t.length,S=t[0],b=$o(null,t),T=$o(a,t,!0),b)return l.get("nullColor")?(k=n?l.get("nullColor"):this.calcHighlightColor(l.get("nullColor"),l),y=g>0?g-1:g,d.drawRect(f,y,this.barWidth-1,0,k,k)):void 0;for(w=g,this.isNeg&&(m=Math.floor(m/2)),x=0;x<C;x++){if(S=t[x],u&&S===a){if(!T||_)continue;_=!0}s>0?v=Math.floor(m*(Math.abs(S-a)/s)):v=m,S<a||S===a&&g===0?(y=w,w+=v):(y=g-v,g-=v),k=this.calcColor(x,S,e),n&&(k=this.calcHighlightColor(k,l)),o.push(d.drawRect(f,y,this.barWidth-1,v-1,k,k))}return o.length===1?o[0]:o}},tristate:{type:"tristate",init:function(e,n){let t=this.options,l=e.mergedOptions.width,a=e.mergedOptions.height;this.canvasWidth=e.mergedOptions.width,this.canvasHeight=e.mergedOptions.height;let o=parseInt(t.get("barWidth"),10),s=parseInt(t.get("barSpacing"),10);this.regionShapes={},this.barWidth=o,this.barSpacing=s,this.totalBarWidth=o+s,this.values=$.map(n,Number),this.width=l=n.length*o+(n.length-1)*s,$.isArray(t.get("colorMap"))?(this.colorMapByIndex=t.get("colorMap"),this.colorMapByValue=null):(this.colorMapByIndex=null,this.colorMapByValue=t.get("colorMap"),this.colorMapByValue&&this.colorMapByValue.get===void 0&&(this.colorMapByValue=new Li(this.colorMapByValue)))},getRegion:function(e,n,t){return Math.floor(n/this.totalBarWidth)},getCurrentRegionFields:function(){let e=this.currentRegion;return{isNull:this.values[e]===void 0,value:this.values[e],color:this.calcColor(this.values[e],e),offset:e}},calcColor:function(e,n){let t=this.values,l=this.options,a=this.colorMapByIndex,o=this.colorMapByValue,s,u;return o&&(u=o.get(e))?s=u:a&&a.length>n?s=a[n]:t[n]<0?s=l.get("negBarColor"):t[n]>0?s=l.get("posBarColor"):s=l.get("zeroBarColor"),s},renderRegion:function(e,n){let t=this.values,l=this.options,a=this.target,o,s,u,d,f,m;if(o=this.canvasHeight,u=Math.round(o/2),d=e*this.totalBarWidth,t[e]<0?(f=u,s=u-1):t[e]>0?(f=0,s=u-1):(f=u-1,s=2),m=this.calcColor(t[e],e),m!==null)return n&&(m=this.calcHighlightColor(m,l)),a.drawRect(d,f,this.barWidth-1,s-1,m,m)}},discrete:{type:"discrete",init:function(e,n){let t=this.options,l=e.mergedOptions.width,a=e.mergedOptions.height;this.canvasWidth=e.mergedOptions.width,this.canvasHeight=e.mergedOptions.height,this.regionShapes={},this.values=n=$.map(n,Number),this.min=Math.min.apply(Math,n),this.max=Math.max.apply(Math,n),this.range=this.max-this.min,this.width=l,this.interval=Math.floor(l/n.length),this.itemWidth=l/n.length,t.get("chartRangeMin")!==void 0&&(t.get("chartRangeClip")||t.get("chartRangeMin")<this.min)&&(this.min=t.get("chartRangeMin")),t.get("chartRangeMax")!==void 0&&(t.get("chartRangeClip")||t.get("chartRangeMax")>this.max)&&(this.max=t.get("chartRangeMax")),this.target&&(this.lineHeight=t.get("lineHeight")==="auto"?Math.round(this.canvasHeight*.3):t.get("lineHeight"))},getRegion:function(e,n,t){return Math.floor(n/this.itemWidth)},getCurrentRegionFields:function(){let e=this.currentRegion;return{isNull:this.values[e]===void 0,value:this.values[e],offset:e}},renderRegion:function(e,n){let t=this.values,l=this.options,a=this.min,o=this.max,s=this.range,u=this.interval,d=this.target,f=this.canvasHeight,m=this.lineHeight,g=f-m,y,v,k,b;return v=Pi(t[e],a,o),b=e*u,y=Math.round(g-g*((v-a)/s)),k=l.get("thresholdColor")&&v<l.get("thresholdValue")?l.get("thresholdColor"):l.get("lineColor"),n&&(k=this.calcHighlightColor(k,l)),this.target.drawRect(b,y,u<=2?1:u-2,m,k,k)}},bullet:{type:"bullet",init:function(e,n){let t=this.options,l=e.mergedOptions.width,a=e.mergedOptions.height;this.canvasWidth=e.mergedOptions.width,this.canvasHeight=e.mergedOptions.height;let o,s,u;this.values=n=fc(n),u=n.slice(),u[0]=u[0]===null?u[2]:u[0],u[1]=n[1]===null?u[2]:u[1],o=Math.min.apply(Math,n),s=Math.max.apply(Math,n),t.get("base")===void 0?o=o<0?o:0:o=t.get("base"),this.min=o,this.max=s,this.range=s-o,this.shapes={},this.valueShapes={},this.regiondata={},this.width=l,n.length||(this.disabled=!0)},getRegion:function(e,n,t){let l=this.target.getShapeAt(e,n,t);return l!==void 0&&this.shapes[l]!==void 0?this.shapes[l]:void 0},getCurrentRegionFields:function(){let e=this.currentRegion;return{fieldkey:e.substr(0,1),value:this.values[e.substr(1)],region:e}},changeHighlight:function(e){let n=this.currentRegion,t=this.valueShapes[n],l;switch(delete this.shapes[t],n.substr(0,1)){case"r":l=this.renderRange(n.substr(1),e);break;case"p":l=this.renderPerformance(e);break;case"t":l=this.renderTarget(e);break}this.valueShapes[n]=l.id,this.shapes[l.id]=n,this.target.replaceWithShape(t,l)},renderRange:function(e,n){let t=this.values[e],l=Math.round(this.canvasWidth*((t-this.min)/this.range)),a=this.options.get("rangeColors")[e-2];return n&&(a=this.calcHighlightColor(a,this.options)),this.target.drawRect(0,0,l-1,this.canvasHeight-1,a,a)},renderPerformance:function(e){let n=this.values[1],t=Math.round(this.canvasWidth*((n-this.min)/this.range)),l=this.options.get("performanceColor");return e&&(l=this.calcHighlightColor(l,this.options)),this.target.drawRect(0,Math.round(this.canvasHeight*.3),t-1,Math.round(this.canvasHeight*.4)-1,l,l)},renderTarget:function(e){let n=this.values[0],t=Math.round(this.canvasWidth*((n-this.min)/this.range)-this.options.get("targetWidth")/2),l=Math.round(this.canvasHeight*.1),a=this.canvasHeight-l*2,o=this.options.get("targetColor");return e&&(o=this.calcHighlightColor(o,this.options)),this.target.drawRect(t,l,this.options.get("targetWidth")-1,a-1,o,o)},render:function(e,n){this.init(e,n);let t=this.values.length,l=this.target,a,o;for(a=2;a<t;a++)o=this.renderRange(a).append(),this.shapes[o.id]="r"+a,this.valueShapes["r"+a]=o.id;this.values[1]!==null&&(o=this.renderPerformance().append(),this.shapes[o.id]="p1",this.valueShapes.p1=o.id),this.values[0]!==null&&(o=this.renderTarget().append(),this.shapes[o.id]="t0",this.valueShapes.t0=o.id)}},pie:{type:"pie",init:function(e,n){let t=this.options,l=e.mergedOptions.width,a=e.mergedOptions.height;this.canvasWidth=e.mergedOptions.width,this.canvasHeight=e.mergedOptions.height;let o=0,s;if(this.shapes={},this.valueShapes={},this.values=n=$.map(n,Number),t.get("width")==="auto"&&(this.width=this.height),n.length>0)for(s=n.length;s--;)o+=n[s];this.total=o,this.radius=Math.floor(Math.min(this.canvasWidth,this.canvasHeight)/2)},getRegion:function(e,n,t){let l=this.target.getShapeAt(e,n,t);return l!==void 0&&this.shapes[l]!==void 0?this.shapes[l]:void 0},getCurrentRegionFields:function(){let e=this.currentRegion;return{isNull:this.values[e]===void 0,value:this.values[e],percent:this.values[e]/this.total*100,color:this.options.get("sliceColors")[e%this.options.get("sliceColors").length],offset:e}},changeHighlight:function(e){let n=this.currentRegion,t=this.renderSlice(n,e),l=this.valueShapes[n];delete this.shapes[l],this.target.replaceWithShape(l,t),this.valueShapes[n]=t.id,this.shapes[t.id]=n},renderSlice:function(e,n){let t=this.target,l=this.options,a=this.radius,o=l.get("borderWidth"),s=l.get("offset"),u=2*Math.PI,d=this.values,f=this.total,m=s?2*Math.PI*(s/360):0,g,y,v,k,b;for(k=d.length,v=0;v<k;v++){if(g=m,y=m,f>0&&(y=m+u*(d[v]/f)),e===v)return b=l.get("sliceColors")[v%l.get("sliceColors").length],n&&(b=this.calcHighlightColor(b,l)),t.drawPieSlice(a,a,a-o,g,y,void 0,b);m=y}},render:function(e,n){this.init(e,n);let t=this.target,l=this.values,a=this.options,o=this.radius,s=a.get("borderWidth"),u,d;for(s&&t.drawCircle(o,o,Math.floor(o-s/2),a.get("borderColor"),void 0,s).append(),d=l.length;d--;)l[d]&&(u=this.renderSlice(d).append(),this.valueShapes[d]=u.id,this.shapes[u.id]=d)}},box:{type:"box",init:function(e,n){let t=this.options,l=e.mergedOptions.width,a=e.mergedOptions.height;this.canvasWidth=e.mergedOptions.width,this.canvasHeight=e.mergedOptions.height,this.values=$.map(n,Number),this.width=t.get("width")==="auto"?"4.0em":l,this.values.length||(this.disabled=1)},getRegion:function(){return 1},getCurrentRegionFields:function(){let e=[{field:"lq",value:this.quartiles[0]},{field:"med",value:this.quartiles[1]},{field:"uq",value:this.quartiles[2]}];return this.loutlier!==void 0&&e.push({field:"lo",value:this.loutlier}),this.routlier!==void 0&&e.push({field:"ro",value:this.routlier}),this.lwhisker!==void 0&&e.push({field:"lw",value:this.lwhisker}),this.rwhisker!==void 0&&e.push({field:"rw",value:this.rwhisker}),e},render:function(e,n){this.init(e,n);let t=this.target,l=this.values,a=l.length,o=this.options,s=this.canvasWidth,u=this.canvasHeight,d=o.get("chartRangeMin")===void 0?Math.min.apply(Math,l):o.get("chartRangeMin"),f=o.get("chartRangeMax")===void 0?Math.max.apply(Math,l):o.get("chartRangeMax"),m=0,g,y,v,k,b,w,x,C,S,_,T;if(o.get("raw"))o.get("showOutliers")&&l.length>5?(y=l[0],g=l[1],k=l[2],b=l[3],w=l[4],x=l[5],C=l[6]):(g=l[0],k=l[1],b=l[2],w=l[3],x=l[4]);else if(l.sort(function(A,R){return A-R}),k=hc(l,1),b=hc(l,2),w=hc(l,3),v=w-k,o.get("showOutliers")){for(g=x=void 0,S=0;S<a;S++)g===void 0&&l[S]>k-v*o.get("outlierIQR")&&(g=l[S]),l[S]<w+v*o.get("outlierIQR")&&(x=l[S]);y=l[0],C=l[a-1]}else g=l[0],x=l[a-1];this.quartiles=[k,b,w],this.lwhisker=g,this.rwhisker=x,this.loutlier=y,this.routlier=C,T=s/(f-d+1),o.get("showOutliers")&&(m=Math.ceil(o.get("spotRadius")),s-=2*Math.ceil(o.get("spotRadius")),T=s/(f-d+1),y<g&&t.drawCircle((y-d)*T+m,u/2,o.get("spotRadius"),o.get("outlierLineColor"),o.get("outlierFillColor")).append(),C>x&&t.drawCircle((C-d)*T+m,u/2,o.get("spotRadius"),o.get("outlierLineColor"),o.get("outlierFillColor")).append()),t.drawRect(Math.round((k-d)*T+m),Math.round(u*.1),Math.round((w-k)*T),Math.round(u*.8),o.get("boxLineColor"),o.get("boxFillColor")).append(),t.drawLine(Math.round((g-d)*T+m),Math.round(u/2),Math.round((k-d)*T+m),Math.round(u/2),o.get("lineColor")).append(),t.drawLine(Math.round((g-d)*T+m),Math.round(u/4),Math.round((g-d)*T+m),Math.round(u-u/4),o.get("whiskerColor")).append(),t.drawLine(Math.round((x-d)*T+m),Math.round(u/2),Math.round((w-d)*T+m),Math.round(u/2),o.get("lineColor")).append(),t.drawLine(Math.round((x-d)*T+m),Math.round(u/4),Math.round((x-d)*T+m),Math.round(u-u/4),o.get("whiskerColor")).append(),t.drawLine(Math.round((b-d)*T+m),Math.round(u*.1),Math.round((b-d)*T+m),Math.round(u*.9),o.get("medianColor")).append(),o.get("target")&&(_=Math.ceil(o.get("spotRadius")),t.drawLine(Math.round((o.get("target")-d)*T+m),Math.round(u/2-_),Math.round((o.get("target")-d)*T+m),Math.round(u/2+_),o.get("targetColor")).append(),t.drawLine(Math.round((o.get("target")-d)*T+m-_),Math.round(u/2),Math.round((o.get("target")-d)*T+m+_),Math.round(u/2),o.get("targetColor")).append())}},shapeCount:0,shapes:{},shapeseq:[],lastShapeId:null,mergedOptions:null,init:function(e,n){let t,l,a;n=n||{};let o=this;return l=this.defaultOption,a=l.common,t=l[n.type||a.type],o.shapeCount=0,o.shapes={},o.shapeseq=[],o.lastShapeId=null,o.mergedOptions=$.extend({},a,t,n),o.mergedOptions.width=o.mergedOptions.width,o.mergedOptions.height=o.mergedOptions.height,o[o.mergedOptions.type].render(o,e),{shapes:o.shapes,shapeseq:o.shapeseq,offsetX:o.mergedOptions.offsetX,offsetY:o.mergedOptions.offsetY,pixelWidth:o.mergedOptions.width,pixelHeight:o.mergedOptions.height}},_getContext:function(e,n,t){let l;return this.ctx!=null?l=this.ctx:l=$("#"+this._canvasID).get(0).getContext("2d"),e!==void 0&&(l.strokeStyle=e),l.lineWidth=t===void 0?1:t,n!==void 0&&(l.fillStyle=n),l},reset:function(){this._getContext().clearRect(0,0,this.pixelWidth,this.pixelHeight),this.shapes={},this.shapeseq=[],this.currentTargetShapeId=void 0},_drawShape:function(e,n,t,l,a){let o=this._getContext(t,l,a),s,u;for(o.beginPath(),o.moveTo(n[0][0]+.5+this.offsetX,n[0][1]+.5+this.offsetY),s=1,u=n.length;s<u;s++)o.lineTo(n[s][0]+.5+this.offsetX,n[s][1]+.5+this.offsetY);t!==void 0&&o.stroke(),l!==void 0&&o.fill(),this.targetX!==void 0&&this.targetY!==void 0&&o.isPointInPath(this.targetX+this.offsetX,this.targetY+this.offsetY)&&(this.currentTargetShapeId=e)},_drawCircle:function(e,n,t,l,a,o,s){let u=this._getContext(a,o,s);u.beginPath(),n+=this.offsetX,t+=this.offsetY,u.arc(n,t,l,0,2*Math.PI,!1),this.targetX!==void 0&&this.targetY!==void 0&&u.isPointInPath(this.targetX+this.offsetX,this.targetY+this.offsetY)&&(this.currentTargetShapeId=e),a!==void 0&&u.stroke(),o!==void 0&&u.fill()},_drawPieSlice:function(e,n,t,l,a,o,s,u){let d=this._getContext(s,u);n+=this.offsetX,t+=this.offsetY,d.beginPath(),d.moveTo(n,t),d.arc(n,t,l,a,o,!1),d.lineTo(n,t),d.closePath(),s!==void 0&&d.stroke(),u&&d.fill(),this.targetX!==void 0&&this.targetY!==void 0&&d.isPointInPath(this.targetX+this.offsetX,this.targetY+this.offsetY)&&(this.currentTargetShapeId=e)},_drawRect:function(e,n,t,l,a,o,s){return this._drawShape(e,[[n,t],[n+l,t],[n+l,t+a],[n,t+a],[n,t]],o,s)},appendShape:function(e){return this.shapes[e.id]=e,this.shapeseq.push(e.id),this.lastShapeId=e.id,e.id},replaceWithShape:function(e,n){let t=this.shapeseq,l;for(this.shapes[n.id]=n,l=t.length;l--;)t[l]==e&&(t[l]=n.id);delete this.shapes[e]},replaceWithShapes:function(e,n){let t=this.shapeseq,l={},a,o,s;for(o=e.length;o--;)l[e[o]]=!0;for(o=t.length;o--;)a=t[o],l[a]&&(t.splice(o,1),delete this.shapes[a],s=o);for(o=n.length;o--;)t.splice(s,0,n[o].id),this.shapes[n[o].id]=n[o]},insertAfterShape:function(e,n){let t=this.shapeseq,l;for(l=t.length;l--;)if(t[l]===e){t.splice(l+1,0,n.id),this.shapes[n.id]=n;return}},removeShapeId:function(e){let n=this.shapeseq,t;for(t=n.length;t--;)if(n[t]===e){n.splice(t,1);break}delete this.shapes[e]},getShapeAt:function(e,n,t){return this.targetX=n,this.targetY=t,this.render(),this.currentTargetShapeId},_canvasID:"luckysheetTableContent",render:function(e,n,t,l,a,o,s,u){s==null&&(s="luckysheetTableContent"),this._canvasID=s,u!=null&&(this.ctx=u);let d=e.length,f=this._getContext(),m,g,y;for(this.offsetX=t,this.offsetY=l,this.pixelWidth=a,this.pixelHeight=o,y=0;y<d;y++)m=e[y],g=n[m],this["_draw"+g.type].apply(this,g.args)},drawLine:function(e,n,t,l,a,o){return this.drawShape([[e,n],[t,l]],a,o)},drawShape:function(e,n,t,l){return this._genShape("Shape",[e,n,t,l])},drawCircle:function(e,n,t,l,a,o){return this._genShape("Circle",[e,n,t,l,a,o])},drawPieSlice:function(e,n,t,l,a,o,s){return this._genShape("PieSlice",[e,n,t,l,a,o,s])},drawRect:function(e,n,t,l,a,o){return this._genShape("Rect",[e,n,t,l,a,o])},_genShape:function(e,n){let t=this.shapeCount++;n.unshift(t);let l={id:t,type:e,args:n};return this.shapes[t]=l,this.shapeseq.push(t),this.lastShapeId=t,{append:function(){return l},get:function(){return t}}}},xf={changeHighlight:function(e){let n=this.currentRegion,t=this.target,l=this.regionShapes[n],a;l&&(a=this.renderRegion(n,e),$.isArray(a)||$.isArray(l)?(t.replaceWithShapes(l,a),this.regionShapes[n]=$.map(a,function(o){return o.id})):(t.replaceWithShape(l,a),this.regionShapes[n]=a.id))},render:function(e,n){this.init(e,n);let t=this.values,l=this.target,a=this.regionShapes,o,s,u,d;for(u=t.length;u--;)if(o=this.renderRegion(u),o)if($.isArray(o)){for(s=[],d=o.length;d--;)o[d].append(),s.push(o[d].id);a[u]=s}else o.append(),a[u]=o.id;else a[u]=null}},$2={get:function(e){return Ar.mergedOptions[e]}},I2={drawLine:function(e,n,t,l,a,o){return Ar.drawLine(e,n,t,l,a,o)},drawShape:function(e,n,t,l){return Ar.drawShape(e,n,t,l)},drawCircle:function(e,n,t,l,a,o){return Ar.drawCircle(e,n,t,l,a,o)},drawPieSlice:function(e,n,t,l,a,o,s){return Ar.drawPieSlice(e,n,t,l,a,o,s)},drawRect:function(e,n,t,l,a,o){return Ar.drawRect(e,n,t,l,a,o)}};for(let e in Ar)e in{line:null,bar:null,column:null,tristate:null,discrete:null,bullet:null,pie:null,box:null}&&(Ar[e].options=$2,Ar[e].target=I2),e in{bar:null,column:null,tristate:null,discrete:null}&&(Ar[e].changeHighlight=xf.changeHighlight,Ar[e].render=xf.render);Jl=Ar});function pa(e,n,t){e==null&&(e=$("#luckysheet-cell-main").scrollTop()),n==null&&(n=h.luckysheetTableContentHW[1]),t==null&&(t=h.columnHeaderHeight);let l=$("#luckysheetTableContent").get(0).getContext("2d");l.save(),l.scale(h.devicePixelRatio,h.devicePixelRatio),l.clearRect(0,t,h.rowHeaderWidth-1,n),l.font=Zn(),l.textBaseline=$l.textBaseline,l.fillStyle=$l.fillStyle;let a,o;a=st(h.visibledatarow,e),o=st(h.visibledatarow,e+n),a==-1&&(a=0),o==-1&&(o=h.visibledatarow.length-1),l.save(),l.beginPath(),l.rect(0,t-1,h.rowHeaderWidth-1,n-2),l.clip();let s,u,d=.5,f;for(let m=a;m<=o;m++){m==0?u=-e-1:u=h.visibledatarow[m-1]-e-1,s=h.visibledatarow[m]-e;let g=a==m?-2:0,y=o==m?-2:0;if(!!Ke.createHookFunction("rowTitleCellRenderBefore",m+1,{r:m,top:u+t+g,width:h.rowHeaderWidth-1,height:s-u+1+y-g},l)){if(!(h.config.rowhidden!=null&&h.config.rowhidden[m]!=null)){l.fillStyle="#ffffff",l.fillRect(0,u+t+g,h.rowHeaderWidth-1,s-u+1+y-g),l.fillStyle="#000000",l.save(),l.scale(h.zoomRatio,h.zoomRatio);let v=Or(m+1,l),k=(h.rowHeaderWidth-v.width)/2,b=u+(s-u)/2+t;l.fillText(m+1,k/h.zoomRatio,b/h.zoomRatio),l.restore()}l.beginPath(),l.moveTo(h.rowHeaderWidth-2+d,u+t-2),l.lineTo(h.rowHeaderWidth-2+d,s+t-2),l.lineWidth=1,l.strokeStyle=$l.strokeStyle,l.stroke(),l.closePath(),h.config.rowhidden!=null&&h.config.rowhidden[m]==null&&h.config.rowhidden[m+1]!=null?(l.beginPath(),l.moveTo(-1,s+t-4+d),l.lineTo(h.rowHeaderWidth-1,s+t-4+d),l.closePath(),l.stroke()):(h.config.rowhidden==null||h.config.rowhidden[m]==null)&&(l.beginPath(),l.moveTo(-1,s+t-2+d),l.lineTo(h.rowHeaderWidth-1,s+t-2+d),l.closePath(),l.stroke()),h.config.rowhidden!=null&&h.config.rowhidden[m-1]!=null&&f!=null&&(l.beginPath(),l.moveTo(-1,f+t+d),l.lineTo(h.rowHeaderWidth-1,f+t+d),l.closePath(),l.stroke()),f=s,Ke.createHookFunction("rowTitleCellRenderAfter",m+1,{r:m,top:u+t+g,width:h.rowHeaderWidth-1,height:s-u+1+y-g},l)}}l.restore(),l.restore()}function ga(e,n,t){e==null&&(e=$("#luckysheet-cell-main").scrollLeft()),n==null&&(n=h.luckysheetTableContentHW[0]),t==null&&(t=h.rowHeaderWidth);let l=$("#luckysheetTableContent").get(0).getContext("2d");l.save(),l.scale(h.devicePixelRatio,h.devicePixelRatio),l.clearRect(t,0,n,h.columnHeaderHeight-1),l.font=Zn(),l.textBaseline=$l.textBaseline,l.fillStyle=$l.fillStyle;let a,o;a=st(h.visibledatacolumn,e),o=st(h.visibledatacolumn,e+n),a==-1&&(a=0),o==-1&&(o=h.visibledatacolumn.length-1),l.save(),l.beginPath(),l.rect(t-1,0,n,h.columnHeaderHeight-1),l.clip();let s,u,d=.5,f;for(let m=a;m<=o;m++){m==0?u=-e:u=h.visibledatacolumn[m-1]-e,s=h.visibledatacolumn[m]-e;let g=lt(m);if(!!Ke.createHookFunction("columnTitleCellRenderBefore",g,{c:m,left:u+t-1,width:s-u,height:h.columnHeaderHeight-1},l)){if(!(h.config.colhidden!=null&&h.config.colhidden[m]!=null)){l.fillStyle="#ffffff",l.fillRect(u+t-1,0,s-u,h.columnHeaderHeight-1),l.fillStyle="#000000",l.save(),l.scale(h.zoomRatio,h.zoomRatio);let y=Or(g,l),v=Math.round(u+(s-u)/2+t-y.width/2),k=Math.round(h.columnHeaderHeight/2);l.fillText(g,v/h.zoomRatio,k/h.zoomRatio),l.restore()}h.config.colhidden!=null&&h.config.colhidden[m]==null&&h.config.colhidden[m+1]!=null?(l.beginPath(),l.moveTo(s+t-4+d,0),l.lineTo(s+t-4+d,h.columnHeaderHeight-2),l.lineWidth=1,l.strokeStyle=$l.strokeStyle,l.closePath(),l.stroke()):(h.config.colhidden==null||h.config.colhidden[m]==null)&&(l.beginPath(),l.moveTo(s+t-2+d,0),l.lineTo(s+t-2+d,h.columnHeaderHeight-2),l.lineWidth=1,l.strokeStyle=$l.strokeStyle,l.closePath(),l.stroke()),h.config.colhidden!=null&&h.config.colhidden[m-1]!=null&&f!=null&&(l.beginPath(),l.moveTo(f+t+d,0),l.lineTo(f+t+d,h.columnHeaderHeight-2),l.closePath(),l.stroke()),l.beginPath(),l.moveTo(u+t-1,h.columnHeaderHeight-2+d),l.lineTo(s+t-1,h.columnHeaderHeight-2+d),l.stroke(),l.closePath(),f=s,Ke.createHookFunction("columnTitleCellRenderAfter",g,{c:m,left:u+t-1,width:s-u,height:h.columnHeaderHeight-1},l)}}l.restore(),l.restore()}function ar(e,n,t,l,a,o,s,u,d){if(h.flowdata==null)return;let f=ve.getSheetByIndex();clearTimeout(h.measureTextCacheTimeOut),e==null&&(e=$("#luckysheet-cell-main").scrollLeft()),n==null&&(n=$("#luckysheet-cell-main").scrollTop()),t==null&&(t=h.luckysheetTableContentHW[0]),l==null&&(l=h.luckysheetTableContentHW[1]),a==null&&(a=h.rowHeaderWidth),o==null&&(o=h.columnHeaderHeight),s==null&&(s=0),u==null&&(u=0);let m=null;if(d==null)m=$("#luckysheetTableContent").get(0).getContext("2d");else if(P(d)=="object")try{m=d.get(0).getContext("2d")}catch(N){m=d}else m=$("#"+d).get(0).getContext("2d");m.save(),m.scale(h.devicePixelRatio,h.devicePixelRatio),m.clearRect(0,0,h.luckysheetTableContentHW[0],h.luckysheetTableContentHW[1]);let g,y,v,k;g=st(h.visibledatarow,n),y=st(h.visibledatarow,n+l),g==-1&&(g=0),g+=u,y==-1&&(y=h.visibledatarow.length-1),y+=u,y>=h.visibledatarow.length&&(y=h.visibledatarow.length-1),v=st(h.visibledatacolumn,e),k=st(h.visibledatacolumn,e+t),v==-1&&(v=0),v+=s,k==-1&&(k=h.visibledatacolumn.length-1),k+=s,k>=h.visibledatacolumn.length&&(k=h.visibledatacolumn.length-1);let b,w,x,C;g==0?b=0:b=h.visibledatarow[g-1],w=h.visibledatarow[y],v==0?x=0:x=h.visibledatacolumn[v-1],C=h.visibledatacolumn[k],m.fillStyle="#ffffff",m.fillRect(a-1,o-1,C-e,w-n),m.font=Zn(),m.fillStyle=$l.fillStyle;let S=[],_={},T={},A=.5;Ke.createHookFunction("cellAllRenderBefore",h.flowdata,f,m);for(let N=g;N<=y;N++){let E;N==0?E=-n-1:E=h.visibledatarow[N-1]-n-1;let L=h.visibledatarow[N]-n;if(!(h.config.rowhidden!=null&&h.config.rowhidden[N]!=null))for(let O=v;O<=k;O++){let V;O==0?V=-e:V=h.visibledatacolumn[O-1]-e;let q=h.visibledatacolumn[O]-e;if(h.config.colhidden!=null&&h.config.colhidden[O]!=null)continue;let W=h.defaultcollen;if(h.config.columnlen!=null&&h.config.columnlen[O]!=null&&(W=h.config.columnlen[O]),h.flowdata[N]!=null&&h.flowdata[N][O]!=null){let Y=h.flowdata[N][O];if(P(Y)=="object"&&"mc"in Y)if(T[N+"_"+O]={start_r:E,start_c:V,end_r:L,end_c:q},"rs"in Y.mc){let ee="r"+N+"c"+O;_[ee]=S.length}else{let ee="r"+Y.mc.r+"c"+Y.mc.c,te=S[_[ee]];te==null?(_[ee]=S.length,S.push({r:N,c:O,start_c:V,start_r:E,end_r:L,end_c:q,firstcolumnlen:W})):(te.c==O&&(te.end_r+=L-E-1),te.r==N&&(te.end_c+=q-V,te.firstcolumnlen+=W));continue}}S.push({r:N,c:O,start_r:E,start_c:V,end_r:L,end_c:q,firstcolumnlen:W}),T[N+"_"+O]={start_r:E,start_c:V,end_r:L,end_c:q}}}let R=$i(h.luckysheetfile[K(h.currentSheetIndex)].dynamicArray),I=el.getComputeMap(),F=Se.getComputeMap(),z=R2(m,v,k,g,y),M=[];for(let N=0;N<S.length;N++){let E=S[N],L=E.r,O=E.c,V=E.start_r,q=E.start_c,W=E.end_r,Y=E.end_c,ee=E.firstcolumnlen;if(h.flowdata[L]!=null)if(h.flowdata[L][O]==null)pc(L,O,V,q,W,Y,m,I,F,a,o,R,z,v,k,n,e,A);else{let te=h.flowdata[L][O],oe=null;if(typeof te=="object"&&"mc"in te?M.push(S[N]):oe=js(L,O),oe==null||oe.toString().length==0){pc(L,O,V,q,W,Y,m,I,F,a,o,R,z,v,k,n,e,A);let ce=be.borderfix(h.flowdata,L,O),se=[q+a+ce[0],V+o+ce[1],Y-q-3+ce[2],W-V-3-1+ce[3]];_f(L,O,se[0],se[1],"luckysheetTableContent",m)}else L+"_"+O in R&&(oe=R[L+"_"+O].v),Cf(L,O,V,q,W,Y,oe,m,I,F,a,o,R,z,v,k,n,e,A)}}for(let N=0;N<M.length;N++){let E=M[N],L=E.r,O=E.c,V=E.start_r,q=E.start_c,W=E.end_r-1,Y=E.end_c-1,ee=E.firstcolumnlen,te=h.flowdata[L][O],oe=null,ce=te.mc;oe=js(ce.r,ce.c),L=ce.r,O=ce.c;let se=h.flowdata[L][O];if(O==0?q=-e:q=h.visibledatacolumn[O-1]-e,L==0?V=-n-1:V=h.visibledatarow[L-1]-n-1,W=h.visibledatarow[L+se.mc.rs-1]-n,Y=h.visibledatacolumn[O+se.mc.cs-1]-e,oe==null||oe.toString().length==0){pc(L,O,V,q,W,Y,m,I,F,a,o,R,z,v,k,n,e,A,!0);let ue=be.borderfix(h.flowdata,L,O),he=[q+a+ue[0],V+o+ue[1],Y-q-3+ue[2],W-V-3-1+ue[3]];_f(L,O,he[0],he[1],"luckysheetTableContent",m)}else L+"_"+O in R&&(oe=R[L+"_"+O].v),Cf(L,O,V,q,W,Y,oe,m,I,F,a,o,R,z,v,k,n,e,A,!0)}for(let N=g;N<=y;N++){let E;N==0?E=-n-1:E=h.visibledatarow[N-1]-n-1;let L=h.visibledatarow[N]-n;for(let O=v;O<=k;O++){let V;O==0?V=-e:V=h.visibledatacolumn[O-1]-e;let q=h.visibledatacolumn[O]-e;!!h.luckysheetcurrentisPivotTable&&Oe.drawPivotTable?((O==0||O==5)&&N<=11&&(m.beginPath(),m.moveTo(q-2+A+a,E+o),m.lineTo(q-2+A+a,L-2+A+o),m.lineWidth=1,m.strokeStyle="#000000",m.closePath(),m.stroke()),(N==2||N==11)&&O<=5&&(m.beginPath(),m.moveTo(V-1+a,L-2+A+o),m.lineTo(q-2+A+a,L-2+A+o),m.lineWidth=1,m.strokeStyle="#000000",m.closePath(),m.stroke()),N==6&&O==3&&(m.save(),m.font="bold 30px Arial",m.fillStyle="#626675",m.textAlign="center",m.fillText(Q().pivotTable.title,V+(q-V)/2+4+a,E+(L-E)/2-1+o),m.restore())):h.luckysheetcurrentisPivotTable&&O<Oe.pivotTableBoundary[1]&&N<Oe.pivotTableBoundary[0]&&(m.beginPath(),m.moveTo(q-2+A+a,E+o),m.lineTo(q-2+A+a,L-2+A+o),m.lineWidth=1,m.strokeStyle="#000000",m.closePath(),m.stroke(),m.beginPath(),m.moveTo(V-1+a,L-2+A+o),m.lineTo(q-2+a,L-2+A+o),m.lineWidth=1,m.strokeStyle="#000000",m.closePath(),m.stroke())}}if(h.config.borderInfo!=null&&h.config.borderInfo.length>0){let N=function(q,W,Y,ee,te,oe,ce,se,ue){let he=q,Z=ee-2+A+ce,G=Y+se-1,le=ee-2+A+ce,pe=te-2+A+se;ue.save(),be.setLineDash(ue,he,"v",Z,G,le,pe),ue.strokeStyle=W,ue.stroke(),ue.closePath(),ue.restore()},E=function(q,W,Y,ee,te,oe,ce,se,ue){let he=q,Z=oe-2+A+ce,G=Y+se-1,le=oe-2+A+ce,pe=te-2+A+se;ue.save(),be.setLineDash(ue,he,"v",Z,G,le,pe),ue.strokeStyle=W,ue.stroke(),ue.closePath(),ue.restore()},L=function(q,W,Y,ee,te,oe,ce,se,ue){let he=q,Z=ee-2+A+ce,G=te-2+A+se,le=oe-2+A+ce,pe=te-2+A+se;ue.save(),be.setLineDash(ue,he,"h",Z,G,le,pe),ue.strokeStyle=W,ue.stroke(),ue.closePath(),ue.restore()},O=function(q,W,Y,ee,te,oe,ce,se,ue){let he=q,Z=ee-2+A+ce,G=Y-1+A+se,le=oe-2+A+ce,pe=Y-1+A+se;ue.save(),be.setLineDash(ue,he,"h",Z,G,le,pe),ue.strokeStyle=W,ue.stroke(),ue.closePath(),ue.restore()},V=Zs(g,y,v,k);for(let q in V){let W=q.substr(0,q.indexOf("_")),Y=q.substr(q.indexOf("_")+1);if(T[W+"_"+Y]){let ee=T[W+"_"+Y].start_r,te=T[W+"_"+Y].start_c,oe=T[W+"_"+Y].end_r,ce=T[W+"_"+Y].end_c,se=gc(z,W,Y,v,k),ue=V[q].l;ue!=null&&(!se.colIn||se.stc==Y)&&N(ue.style,ue.color,ee,te,oe,ce,a,o,m);let he=V[q].r;he!=null&&(!se.colIn||se.colLast)&&E(he.style,he.color,ee,te,oe,ce,a,o,m);let Z=V[q].t;Z!=null&&O(Z.style,Z.color,ee,te,oe,ce,a,o,m);let G=V[q].b;G!=null&&L(G.style,G.color,ee,te,oe,ce,a,o,m)}}}k==h.visibledatacolumn.length-1&&m.clearRect(C-e+a-1,o-1,h.ch_width-h.visibledatacolumn[k],w-n),m.restore(),h.measureTextCacheTimeOut=setTimeout(()=>{h.measureTextCache={},h.measureTextCellInfoCache={},h.cellOverflowMapCache={}},100)}function R2(e,n,t,l,a){let o={},s=h.flowdata;for(let u=l;u<=a;u++){if(s[u]==null)continue;if(h.cellOverflowMapCache[u]!=null){o[u]=h.cellOverflowMapCache[u];continue}let d=!1;for(let f=0;f<s[u].length;f++){let m=s[u][f];if(!(h.config.colhidden!=null&&h.config.colhidden[f]!=null)&&m!=null&&(!fe(m.v)||xl(m))&&m.mc==null&&m.tb=="1"){let g=be.checkstatus(s,u,f,"ht"),y=$r(m,e,{r:u,c:f}),v=0;y!=null&&(v=y.textWidthAll);let k=f-1<0?0:h.visibledatacolumn[f-1],b=h.visibledatacolumn[f],w,x;if(b-k<v){if(g=="0"){let C=Wa(u,f,f-1,"forward",g,v),S=Wa(u,f,f+1,"backward",g,v);C.success?w=C.c:w=C.c+1,S.success?x=S.c:x=S.c-1}else if(g=="1"){let C=Wa(u,f,f+1,"backward",g,v);w=f,C.success?x=C.c:x=C.c-1}else if(g=="2"){let C=Wa(u,f,f-1,"forward",g,v);x=f,C.success?w=C.c:w=C.c+1}}else w=f,x=f;if((w<=t||x>=n)&&w<x){let C={r:u,stc:w,edc:x};o[u]==null&&(o[u]={}),o[u][f]=C,d=!0}}}d&&(h.cellOverflowMapCache[u]=o[u])}return o}function Wa(e,n,t,l,a,o){let s=h.flowdata;if(l=="forward"&&t<0)return{success:!1,r:e,c:t};if(l=="backward"&&t>s[e].length-1)return{success:!1,r:e,c:t};let u=s[e][t];if(u!=null&&(!fe(u.v)||u.mc!=null))return{success:!1,r:e,c:t};let d=n-1<0?0:h.visibledatacolumn[n-1],f=h.visibledatacolumn[n],m=o-(f-d);a=="0"?(d-=m/2,f+=m/2):a=="1"?f+=m:a=="2"&&(d-=m);let g=t-1<0?0:h.visibledatacolumn[t-1],y=h.visibledatacolumn[t];if(l=="forward")return d<g?Wa(e,n,t-1,l,a,o):d<y?{success:!0,r:e,c:t}:{success:!1,r:e,c:t};if(l=="backward")return f>y?Wa(e,n,t+1,l,a,o):f>g?{success:!0,r:e,c:t}:{success:!1,r:e,c:t}}function gc(e,n,t,l,a){let o=!1,s=!1,u,d,f,m;for(let g in e){for(let y in e[g]){u=g,d=y;let v=e[g][y];if(f=v.stc,m=v.edc,u==n&&t>=f&&t<=m&&(o=!0,t==m||t==a)){s=!0;break}}if(s)break}return{colIn:o,colLast:s,rowIndex:u,colIndex:d,stc:f,edc:m}}function Sf(e,n,t){if(e==null)return;let l=e.values,a=t.pos_x,o=t.pos_y;if(l!=null){e.rotate!=0&&e.type!="verticalWrap"&&(n.save(),n.translate((a+e.textLeftAll)/h.zoomRatio,(o+e.textTopAll)/h.zoomRatio),n.rotate(-e.rotate*Math.PI/180),n.translate(-(e.textLeftAll+a)/h.zoomRatio,-(o+e.textTopAll)/h.zoomRatio));for(let s=0;s<l.length;s++){let u=l[s];u.inline===!0&&u.style!=null?(n.font=u.style.fontset,n.fillStyle=u.style.fc):n.font=u.style;let d=typeof u.content=="object"?u.content.m:u.content;if(n.fillText(d,(a+u.left)/h.zoomRatio,(o+u.top)/h.zoomRatio),u.cancelLine!=null){let f=u.cancelLine;n.beginPath(),n.moveTo(Math.floor((a+f.startX)/h.zoomRatio)+.5,Math.floor((o+f.startY)/h.zoomRatio)+.5),n.lineTo(Math.floor((a+f.endX)/h.zoomRatio)+.5,Math.floor((o+f.endY)/h.zoomRatio)+.5),n.lineWidth=Math.floor(f.fs/9),n.strokeStyle=n.fillStyle,n.stroke(),n.closePath()}if(u.underLine!=null){let f=u.underLine;for(let m=0;m<f.length;m++){let g=f[m];n.beginPath(),n.moveTo(Math.floor((a+g.startX)/h.zoomRatio)+.5,Math.floor((o+g.startY)/h.zoomRatio)),n.lineTo(Math.floor((a+g.endX)/h.zoomRatio)+.5,Math.floor((o+g.endY)/h.zoomRatio)+.5),n.lineWidth=Math.floor(g.fs/9),n.strokeStyle=n.fillStyle,n.stroke(),n.closePath()}}}e.rotate!=0&&e.type!="verticalWrap"&&n.restore()}}var _f,pc,Cf,Tf,Io=$e(()=>{cn();yr();Va();mc();ol();vr();Wt();zr();go();Ta();Pt();pr();Zt();Ua();Dt();ht();yn();El();Xe();yt();gl();_f=function(e,n,t,l,a,o){if(h.flowdata[e]==null||h.flowdata[e][n]==null)return;let s=h.flowdata[e][n].spl;if(s!=null){if(typeof s=="string"&&(s=new Function("return "+s)()),P(s)=="object"){let u=s,d=u.offsetX,f=u.offsetY;d=d==null?0:d,f=f==null?0:f,Jl.render(u.shapeseq,u.shapes,t+d,l+f,u.pixelWidth,u.pixelHeight,a,o)}else if(P(s)=="array"&&P(s[0])=="object")for(let u=0;u<s.length;u++){let d=s[u],f=d.offsetX,m=d.offsetY;f=f==null?0:f,m=m==null?0:m,Jl.render(d.shapeseq,d.shapes,t+f,l+m,d.pixelWidth,d.pixelHeight,a,o)}}},pc=function(e,n,t,l,a,o,s,u,d,f,m,g,y,v,k,b,w,x,C){let S=el.checksAF(e,n,u),_=Se.checksCF(e,n,d),T=be.borderfix(h.flowdata,e,n),A=be.checkstatus(h.flowdata,e,n,"bg");S!=null&&S[1]!=null&&(A=S[1]),_!=null&&_.cellColor!=null&&(A=_.cellColor),h.flowdata[e][n]!=null&&h.flowdata[e][n].tc!=null&&(A=h.flowdata[e][n].tc),A==null?s.fillStyle="#FFFFFF":s.fillStyle=A;let R=[l+f+T[0]+1,t+m+T[1]+1,o-l+T[2]-(C?1:0)-1,a-t+T[3]-1];if(!Ke.createHookFunction("cellRenderBefore",h.flowdata[e][n],{r:e,c:n,start_r:R[1],start_c:R[0],end_r:R[3]+R[1],end_c:R[2]+R[0]},ve.getSheetByIndex(),s))return;if(s.fillRect(R[0],R[1],R[2],R[3]),e+"_"+n in g){let F=g[e+"_"+n].v;s.fillStyle="#000000";let z=Zn();s.font=z;let M=l+4+f,N=fr.luckysheetrefreshfixed(),E=a+m-2;s.textBaseline="bottom",s.fillText(F==null?"":F,M,E)}if(h.flowdata[e][n]!=null&&h.flowdata[e][n].ps!=null){let F=8*h.zoomRatio,z=8*h.zoomRatio;s.beginPath(),s.moveTo(o+f-1-F,t+m),s.lineTo(o+f-1,t+m),s.lineTo(o+f-1,t+m+z),s.fillStyle="#FC6666",s.fill(),s.closePath()}let I=gc(y,e,n,v,k);I.colLast&&Tf(I.rowIndex,I.colIndex,I.stc,I.edc,s,b,w,f,m,u,d),(!I.colIn||I.colLast)&&!h.luckysheetcurrentisPivotTable&&h.showGridLines&&(s.beginPath(),s.moveTo(o+f-2+x,t+m),s.lineTo(o+f-2+x,a+m),s.lineWidth=1,s.strokeStyle=$l.strokeStyle,s.stroke(),s.closePath()),!h.luckysheetcurrentisPivotTable&&h.showGridLines&&(s.beginPath(),s.moveTo(l+f-1,a+m-2+x),s.lineTo(o+f-1,a+m-2+x),s.lineWidth=1,s.strokeStyle=$l.strokeStyle,s.stroke(),s.closePath()),Ke.createHookFunction("cellRenderAfter",h.flowdata[e][n],{r:e,c:n,start_r:R[1],start_c:R[0],end_r:R[3]+R[1],end_c:R[2]+R[0]},ve.getSheetByIndex(),s)},Cf=function(e,n,t,l,a,o,s,u,d,f,m,g,y,v,k,b,w,x,C,S){let _=h.flowdata[e][n],T=o-l-2,A=a-t-2,R=2,I=2,F=be.checkstatus(h.flowdata,e,n,"ht"),z=be.checkstatus(h.flowdata,e,n,"vt"),M=el.checksAF(e,n,d),N=Se.checksCF(e,n,f),E=be.checkstatus(h.flowdata,e,n,"bg");M!=null&&M[1]!=null&&(E=M[1]),N!=null&&N.cellColor!=null&&(E=N.cellColor),E==null?u.fillStyle="#FFFFFF":u.fillStyle=E;let L=be.borderfix(h.flowdata,e,n),O=[l+m+L[0]+1,t+g+L[1]+1,o-l+L[2]-(S?1:0)-1,a-t+L[3]+1];if(!Ke.createHookFunction("cellRenderBefore",h.flowdata[e][n],{r:e,c:n,start_r:O[1],start_c:O[0],end_r:O[3]+O[1],end_c:O[2]+O[0]},ve.getSheetByIndex(),u))return;u.fillRect(O[0],O[1],O[2],O[3]);let V=Ye.dataVerification;if(V!=null&&V[e+"_"+n]!=null&&!Ye.validateCellData(s,V[e+"_"+n])){let Y=5*h.zoomRatio,ee=5*h.zoomRatio;u.beginPath(),u.moveTo(l+m,t+g),u.lineTo(l+m+Y,t+g),u.lineTo(l+m,t+g+ee),u.fillStyle="#FC6666",u.fill(),u.closePath()}if(_.ps!=null){let Y=8*h.zoomRatio,ee=8*h.zoomRatio;u.beginPath(),u.moveTo(o+m-Y,t+g),u.lineTo(o+m,t+g),u.lineTo(o+m,t+g+ee),u.fillStyle="#FC6666",u.fill(),u.closePath()}if(_.qp==1&&B(_.v)){let Y=6*h.zoomRatio,ee=6*h.zoomRatio;u.beginPath(),u.moveTo(l+m+Y-1,t+g),u.lineTo(l+m-1,t+g),u.lineTo(l+m-1,t+g+ee),u.fillStyle="#487f1e",u.fill(),u.closePath()}let q=!0,W=gc(v,e,n,k,b);if(_.tb=="1"&&W.colIn)W.colLast?Tf(W.rowIndex,W.colIndex,W.stc,W.edc,u,w,x,m,g,d,f):q=!1;else if(V!=null&&V[e+"_"+n]!=null&&V[e+"_"+n].type=="checkbox"){let Y=l+m,ee=t+g+1;u.save(),u.beginPath(),u.rect(Y,ee,T,A),u.clip(),u.scale(h.zoomRatio,h.zoomRatio);let te=Or(s,u),oe=te.width+14,ce=te.actualBoundingBoxDescent+te.actualBoundingBoxAscent,se=Y+R;F=="0"?se=Y+T/2-oe/2:F=="2"&&(se=Y+T-R-oe);let ue=A>ce?A:ce,he=ee+ue-I;u.textBaseline="bottom";let Z=he-13*h.zoomRatio;z=="0"?(he=ee+ue/2,u.textBaseline="middle",Z=he-6*h.zoomRatio):z=="1"&&(he=ee+I,u.textBaseline="top",Z=he+1*h.zoomRatio),se=se/h.zoomRatio,he=he/h.zoomRatio,Z=Z/h.zoomRatio,u.lineWidth=1,u.strokeStyle="#000",u.strokeRect(se,Z,10,10),V[e+"_"+n].checked&&(u.beginPath(),u.lineTo(se+1,Z+6),u.lineTo(se+4,Z+9),u.lineTo(se+9,Z+2),u.stroke(),u.closePath()),u.fillStyle=be.checkstatus(h.flowdata,e,n,"fc"),u.fillText(s==null?"":s,se+14,he),u.restore()}else{if(N!=null&&N.dataBar!=null&&N.dataBar.valueLen&&N.dataBar.valueLen.toString()!=="NaN"){let oe=l+m+R,ce=t+g+I,se=T-R*2,ue=A-I*2,he=N.dataBar.valueType,Z=N.dataBar.valueLen,G=N.dataBar.format;if(he=="minus"){let le=N.dataBar.minusLen;if(G.length>1){let pe=u.createLinearGradient(oe+se*le*(1-Z),ce,oe+se*le,ce);pe.addColorStop(0,"#ffffff"),pe.addColorStop(1,"#ff0000"),u.fillStyle=pe}else u.fillStyle="#ff0000";u.fillRect(oe+se*le*(1-Z),ce,se*le*Z,ue),u.beginPath(),u.moveTo(oe+se*le*(1-Z),ce),u.lineTo(oe+se*le*(1-Z),ce+ue),u.lineTo(oe+se*le,ce+ue),u.lineTo(oe+se*le,ce),u.lineTo(oe+se*le*(1-Z),ce),u.lineWidth=1,u.strokeStyle="#ff0000",u.stroke(),u.closePath()}else if(he=="plus"){let le=N.dataBar.plusLen;if(le==1){if(G.length>1){let pe=u.createLinearGradient(oe,ce,oe+se*Z,ce);pe.addColorStop(0,G[0]),pe.addColorStop(1,G[1]),u.fillStyle=pe}else u.fillStyle=G[0];u.fillRect(oe,ce,se*Z,ue),u.beginPath(),u.moveTo(oe,ce),u.lineTo(oe,ce+ue),u.lineTo(oe+se*Z,ce+ue),u.lineTo(oe+se*Z,ce),u.lineTo(oe,ce),u.lineWidth=1,u.strokeStyle=G[0],u.stroke(),u.closePath()}else{let pe=N.dataBar.minusLen;if(G.length>1){let ie=u.createLinearGradient(oe+se*pe,ce,oe+se*pe+se*le*Z,ce);ie.addColorStop(0,G[0]),ie.addColorStop(1,G[1]),u.fillStyle=ie}else u.fillStyle=G[0];u.fillRect(oe+se*pe,ce,se*le*Z,ue),u.beginPath(),u.moveTo(oe+se*pe,ce),u.lineTo(oe+se*pe,ce+ue),u.lineTo(oe+se*pe+se*le*Z,ce+ue),u.lineTo(oe+se*pe+se*le*Z,ce),u.lineTo(oe+se*pe,ce),u.lineWidth=1,u.strokeStyle=G[0],u.stroke(),u.closePath()}}}let Y=l+m,ee=t+g+1;u.save(),u.beginPath(),u.rect(Y,ee,T,A),u.clip(),u.scale(h.zoomRatio,h.zoomRatio);let te=$r(_,u,{cellWidth:T,cellHeight:A,space_width:R,space_height:I,r:e,c:n});if(N!=null&&N.icons!=null&&te.type=="plain"){let oe=N.icons.left,ce=N.icons.top,se=te.values[0],ue=Y+se.left,he=ee+se.top-te.textHeightAll;z=="0"?he=ee+A/2-te.textHeightAll/2:z=="1"?he=ee:z=="2"&&(he=he-te.desc),he=he/h.zoomRatio,ue=ue/h.zoomRatio,u.drawImage(Ca,oe*42,ce*32,32,32,Y/h.zoomRatio,he,te.textHeightAll/h.zoomRatio,te.textHeightAll/h.zoomRatio),F!="0"&&F!="2"&&(ue=ue+te.textHeightAll/h.zoomRatio)}u.fillStyle=be.checkstatus(h.flowdata,e,n,"fc"),M!=null&&M[0]!=null&&(u.fillStyle=M[0]),N!=null&&N.textColor!=null&&(u.fillStyle=N.textColor),_.ct&&_.ct.fa&&_.ct.fa.indexOf("[Red]")>-1&&_.ct.t=="n"&&_.v<0&&(u.fillStyle="#ff0000"),Sf(te,u,{pos_x:Y,pos_y:ee}),u.restore()}q&&!h.luckysheetcurrentisPivotTable&&h.showGridLines&&(u.beginPath(),u.moveTo(o+m-2+C,t+g),u.lineTo(o+m-2+C,a+g),u.lineWidth=1,u.strokeStyle=$l.strokeStyle,u.stroke(),u.closePath()),!h.luckysheetcurrentisPivotTable&&h.showGridLines&&(u.beginPath(),u.moveTo(l+m-1,a+g-2+C),u.lineTo(o+m-1,a+g-2+C),u.lineWidth=1,u.strokeStyle=$l.strokeStyle,u.stroke(),u.closePath()),Ke.createHookFunction("cellRenderAfter",h.flowdata[e][n],{r:e,c:n,start_r:O[1],start_c:O[0],end_r:O[3]+O[1],end_c:O[2]+O[0]},ve.getSheetByIndex(),u)},Tf=function(e,n,t,l,a,o,s,u,d,f,m){let g;e==0?g=-o-1:g=h.visibledatarow[e-1]-o-1;let y=h.visibledatarow[e]-o,v;t==0?v=-s:v=h.visibledatacolumn[t-1]-s;let k=h.visibledatacolumn[l]-s,b=h.flowdata[e][n],w=k-v-2,x=y-g-2,C=2,S=2,_=v+u,T=g+d+1,A=sa(b);a.font=A,a.save(),a.beginPath(),a.rect(_,T,w,x),a.clip(),a.scale(h.zoomRatio,h.zoomRatio);let R=$r(b,a,{cellWidth:w,cellHeight:x,space_width:C,space_height:S,r:e,c:n}),I=el.checksAF(e,n,f),F=Se.checksCF(e,n,m);a.fillStyle=be.checkstatus(h.flowdata,e,n,"fc"),I!=null&&I[0]!=null&&(a.fillStyle=I[0]),F!=null&&F.textColor!=null&&(a.fillStyle=F.textColor),Sf(R,a,{pos_x:_,pos_y:T}),a.restore()}});var A2,Cl,Ya=$e(()=>{ht();Zt();Xt();Zl();qt();tl();Qt();Wt();Jt();ll();gl();Vl();ol();Dt();yt();Xe();A2={item:{linkType:"external",linkAddress:"",linkTooltip:""},hyperlink:null,createDialog:function(){let e=this,n=Q(),t=n.insertLink,l=n.toolbar,a=n.button;$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-insertLink-dialog").remove();let o="";h.luckysheetfile.forEach(k=>{o+=`<option value="${k.name}">${k.name}</option>`});let s=`<div class="box">
  2691. <div class="box-item">
  2692. <label for="luckysheet-insertLink-dialog-linkText">${t.linkText}\uFF1A</label>
  2693. <input type="text" id="luckysheet-insertLink-dialog-linkText"/>
  2694. </div>
  2695. <div class="box-item">
  2696. <label for="luckysheet-insertLink-dialog-linkType">${t.linkType}\uFF1A</label>
  2697. <select id="luckysheet-insertLink-dialog-linkType">
  2698. <option value="external">${t.external}</option>
  2699. <option value="internal">${t.internal}</option>
  2700. </select>
  2701. </div>
  2702. <div class="show-box show-box-external">
  2703. <div class="box-item">
  2704. <label for="luckysheet-insertLink-dialog-linkAddress">${t.linkAddress}\uFF1A</label>
  2705. <input type="text" id="luckysheet-insertLink-dialog-linkAddress" placeholder="${t.placeholder1}" />
  2706. </div>
  2707. </div>
  2708. <div class="show-box show-box-internal">
  2709. <div class="box-item">
  2710. <label for="luckysheet-insertLink-dialog-linkSheet">${t.linkSheet}\uFF1A</label>
  2711. <select id="luckysheet-insertLink-dialog-linkSheet">
  2712. ${o}
  2713. </select>
  2714. </div>
  2715. <div class="box-item">
  2716. <label for="luckysheet-insertLink-dialog-linkCell">${t.linkCell}\uFF1A</label>
  2717. <input type="text" id="luckysheet-insertLink-dialog-linkCell" value="A1" placeholder="${t.placeholder2}" />
  2718. </div>
  2719. </div>
  2720. <div class="box-item">
  2721. <label for="luckysheet-insertLink-dialog-linkTooltip">${t.linkTooltip}\uFF1A</label>
  2722. <input type="text" id="luckysheet-insertLink-dialog-linkTooltip" placeholder="${t.placeholder3}" />
  2723. </div>
  2724. </div>`;$("body").append(_e(ft,{id:"luckysheet-insertLink-dialog",addclass:"luckysheet-insertLink-dialog",title:l.insertLink,content:s,botton:`<button id="luckysheet-insertLink-dialog-confirm" class="btn btn-primary">${a.confirm}</button>
  2725. <button class="btn btn-default luckysheet-model-close-btn">${a.cancel}</button>`,style:"z-index:100003"}));let u=$("#luckysheet-insertLink-dialog").find(".luckysheet-modal-dialog-content").css("min-width",350).end(),d=u.outerHeight(),f=u.outerWidth(),m=$(window).width(),g=$(window).height(),y=$(document).scrollLeft(),v=$(document).scrollTop();$("#luckysheet-insertLink-dialog").css({left:(m+y-f)/2,top:(g+v-d)/3}).show(),e.dataAllocation()},init:function(){let e=this,t=Q().insertLink;$(document).off("change.linkType").on("change.linkType","#luckysheet-insertLink-dialog-linkType",function(l){let a=this.value;$("#luckysheet-insertLink-dialog .show-box").hide(),$("#luckysheet-insertLink-dialog .show-box-"+a).show()}),$(document).off("click.confirm").on("click.confirm","#luckysheet-insertLink-dialog-confirm",function(l){let a=h.luckysheet_select_save[h.luckysheet_select_save.length-1],o=a.row_focus||a.row[0],s=a.column_focus||a.column[0],u=$("#luckysheet-insertLink-dialog-linkText").val(),d=$("#luckysheet-insertLink-dialog-linkType").val(),f=$("#luckysheet-insertLink-dialog-linkAddress").val(),m=$("#luckysheet-insertLink-dialog-linkSheet").val(),g=$("#luckysheet-insertLink-dialog-linkCell").val(),y=$("#luckysheet-insertLink-dialog-linkTooltip").val();if(d=="external"){if(/^http[s]?:\/\//.test(f)||(f="https://"+f),!/^http[s]?:\/\/([\w\-\.]+)+[\w-]*([\w\-\.\/\?%&=]+)?$/ig.test(f)){U.info('<i class="fa fa-exclamation-triangle"></i>',t.tooltipInfo1);return}}else{if(!p.iscelldata(g)){U.info('<i class="fa fa-exclamation-triangle"></i>',t.tooltipInfo2);return}f=m+"!"+g}(u==null||u.replace(/\s/g,"")=="")&&(u=f);let v={linkType:d,linkAddress:f,linkTooltip:y},k=$.extend(!0,{},e.hyperlink),b=$.extend(!0,{},e.hyperlink);b[o+"_"+s]=v;let w=we.deepCopyFlowData(h.flowdata),x=w[o][s];x==null&&(x={}),x.fc="rgb(0, 0, 255)",x.un=1,x.v=x.m=u,w[o][s]=x,e.ref(k,b,h.currentSheetIndex,w,[{row:[o,o],column:[s,s]}]),$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-insertLink-dialog").hide()})},dataAllocation:function(){let e=this,n=h.luckysheet_select_save[h.luckysheet_select_save.length-1],t=n.row_focus||n.row[0],l=n.column_focus||n.column[0],o=(e.hyperlink||{})[t+"_"+l]||{},s=ze(t,l,null,"m");$("#luckysheet-insertLink-dialog-linkText").val(s);let u=o.linkType||"external";$("#luckysheet-insertLink-dialog-linkType").val(u),$("#luckysheet-insertLink-dialog .show-box").hide(),$("#luckysheet-insertLink-dialog .show-box-"+u).show();let d=o.linkAddress||"";if(u=="external")$("#luckysheet-insertLink-dialog-linkAddress").val(d);else if(p.iscelldata(d)){let m=d.split("!")[0],g=d.split("!")[1];$("#luckysheet-insertLink-dialog-linkSheet").val(m),$("#luckysheet-insertLink-dialog-linkCell").val(g)}let f=o.linkTooltip||"";$("#luckysheet-insertLink-dialog-linkTooltip").val(f)},cellFocus:function(e,n){let t=this;if(t.hyperlink==null||t.hyperlink[e+"_"+n]==null)return;let l=t.hyperlink[e+"_"+n];if(l.linkType=="external")window.open(l.linkAddress);else{let a=p.getcellrange(l.linkAddress),o=a.sheetIndex,s=[{row:a.row,column:a.column}];o!=h.currentSheetIndex&&($("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active"),$("#luckysheet-sheets-item"+o).addClass("luckysheet-sheets-item-active"),ve.changeSheet(o)),h.luckysheet_select_save=s,tt(!0);let u=a.row[0]-1==-1?0:h.visibledatarow[a.row[0]-1],d=a.column[0]-1==-1?0:h.visibledatacolumn[a.column[0]-1];$("#luckysheet-scrollbar-x").scrollLeft(d),$("#luckysheet-scrollbar-y").scrollTop(u)}},overshow:function(e){let n=this;if($("#luckysheet-hyperlink-overshow").remove(),$(e.target).closest("#luckysheet-cell-main").length==0)return;let t=nt(e.pageX,e.pageY),l=$("#luckysheet-cell-main").scrollLeft(),a=$("#luckysheet-cell-main").scrollTop(),o=t[0]+l,s=t[1]+a;if(X.freezenverticaldata!=null&&t[0]<X.freezenverticaldata[0]-X.freezenverticaldata[2]||X.freezenhorizontaldata!=null&&t[1]<X.freezenhorizontaldata[0]-X.freezenhorizontaldata[2])return;let u=xt(s)[2],d=bt(o)[2],f=be.mergeborer(h.flowdata,u,d);if(f&&(u=f.row[2],d=f.column[2]),n.hyperlink==null||n.hyperlink[u+"_"+d]==null)return;let m=n.hyperlink[u+"_"+d],g=m.linkTooltip;(g==null||g.replace(/\s/g,"")=="")&&(g=m.linkAddress);let y=h.visibledatarow[u],v=u-1==-1?0:h.visibledatarow[u-1],k=h.visibledatacolumn[d],b=d-1==-1?0:h.visibledatacolumn[d-1];f&&(y=f.row[1],v=f.row[0],k=f.column[1],b=f.column[0]);let w=`<div id="luckysheet-hyperlink-overshow" style="background:#fff;padding:5px 10px;border:1px solid #000;box-shadow:2px 2px #999;position:absolute;left:${b}px;top:${y+5}px;z-index:100;">
  2726. <div>${g}</div>
  2727. <div>\u5355\u51FB\u9F20\u6807\u53EF\u4EE5\u8FFD\u8E2A</div>
  2728. </div>`;$(w).appendTo($("#luckysheet-cell-main"))},ref:function(e,n,t,l,a){let o=this;if(h.clearjfundo){h.jfundo.length=0;let s={};s.type="updateHyperlink",s.sheetIndex=t,s.historyHyperlink=e,s.currentHyperlink=n,s.data=h.flowdata,s.curData=l,s.range=a,h.jfredo.push(s)}o.hyperlink=n,h.luckysheetfile[K(t)].hyperlink=n,h.flowdata=l,we.webWorkerFlowDataCache(h.flowdata),h.luckysheetfile[K(t)].data=h.flowdata,ne.allowUpdate&&(ne.saveParam("all",t,n,{k:"hyperlink"}),ne.historyParam(h.flowdata,t,a[0])),setTimeout(function(){Be()},1)}},Cl=A2});function yc(e,n,t){p.execFunctionExist=[];for(let l=0;l<e.length;l++)for(let a=e[l].row[0];a<=e[l].row[1];a++)for(let o=e[l].column[0];o<=e[l].column[1];o++)p.execFunctionExist.push({r:a,c:o,i:n});p.execFunctionExist.reverse(),p.execFunctionGroup(null,null,null,null,t),p.execFunctionGlobalData=null}function Ze(e,n,t,l=!0,a=!0){e==null&&(e=h.flowdata),n==null&&(n=h.luckysheet_select_save),n=JSON.parse(JSON.stringify(n)),clearTimeout(Dr),t==null&&(t={});let o=t.cfg,s=t.calc,u=t.RowlChange,d=t.cdformat,f=t.dataVerification,m=t.dynamicArray,g=t.hyperlink,y=h.luckysheetfile[K(h.currentSheetIndex)];if(h.clearjfundo){h.jfundo.length=0;let v;o==null?v=$.extend(!0,{},h.config):v=$.extend(!0,{},o);let k;d==null?k=$.extend(!0,[],y.luckysheet_conditionformat_save):k=d;let b;f==null?b=$.extend(!0,{},y.dataVerification):b=f;let w;m==null?w=$.extend(!0,[],y.dynamicArray):w=m,h.jfredo.push({type:"datachange",data:h.flowdata,curdata:e,sheetIndex:h.currentSheetIndex,config:$.extend(!0,{},h.config),curConfig:v,calc:$.extend(!0,[],y.calcChain),curCalc:s,cdformat:$.extend(!0,[],y.luckysheet_conditionformat_save),curCdformat:k,RowlChange:u,dataVerification:$.extend(!0,[],y.dataVerification),curDataVerification:b,dynamicArray:$.extend(!0,[],y.dynamicArray),curDynamicArray:w,hyperlink:g&&$.extend(!0,{},y.hyperlink),curHyperlink:g,range:n,dataRange:[...y.luckysheet_select_save]})}h.flowdata=e,we.webWorkerFlowDataCache(h.flowdata),y.data=h.flowdata,o!=null&&(h.config=o,y.config=h.config,ne.saveParam("all",h.currentSheetIndex,o,{k:"config"}),u!=null&&St(h.flowdata.length,h.flowdata[0].length)),s!=null&&(y.calcChain=s,ne.saveParam("all",h.currentSheetIndex,s,{k:"calcChain"})),d!=null&&d.length!==0&&(y.luckysheet_conditionformat_save=d,ne.saveParam("all",h.currentSheetIndex,d,{k:"luckysheet_conditionformat_save"})),f!=null&&Object.keys(f).length!==0&&(Ye.dataVerification=f,y.dataVerification=f,ne.saveParam("all",h.currentSheetIndex,f,{k:"dataVerification"})),m!=null&&(y.dynamicArray=m,ne.saveParam("all",h.currentSheetIndex,m,{k:"dynamicArray"})),g!=null&&(y.hyperlink=g,Cl.hyperlink=g,ne.saveParam("all",h.currentSheetIndex,g,{k:"hyperlink"}));for(let v=0;v<n.length;v++){let k=n[v].row[0],b=n[v].column[0];if(h.flowdata[k][b]!=null&&h.flowdata[k][b].spl!=null){window.luckysheetCurrentRow=k,window.luckysheetCurrentColumn=b,window.luckysheetCurrentFunction=h.flowdata[k][b].f;let w=$.trim(p.functionParserExe(h.flowdata[k][b].f)),x=new Function("return "+w)();h.flowdata[k][b].spl=x}ne.allowUpdate&&ne.historyParam(h.flowdata,h.currentSheetIndex,n[v]),typeof h.chartparam.jfrefreshchartall=="function"&&h.chartparam.jfrefreshchartall(h.flowdata,n[v].row[0],n[v].row[1],n[v].column[0],n[v].column[1])}l&&yc(n,h.currentSheetIndex,e),a&&(Dr=setTimeout(function(){Be()},1)),tt(),window.luckysheet_getcelldata_cache=null}function Rl(e,n,t,l,a,o,s,u,d=!0){let f={},m=!1;if(clearTimeout(Dr),o=="cellRowChange"){f.type="cellRowChange",f.config=$.extend(!0,{},h.config),f.curconfig=$.extend(!0,{},l),f.range=$.extend(!0,[],h.luckysheet_select_save),f.currange=a,f.ctrlType=o,f.ctrlValue=s;let g=l.rowlen;g==null&&(g={}),ne.saveParam("cg",h.currentSheetIndex,g,{k:"rowlen"})}else if(o=="resizeC"){f.type="resize",f.config=$.extend(!0,{},h.config),f.curconfig=$.extend(!0,{},l),f.range=$.extend(!0,[],h.luckysheet_select_save),f.currange=a,f.ctrlType=o,f.ctrlValue=s;let g=l.columnlen;g==null&&(g={}),ne.saveParam("cg",h.currentSheetIndex,g,{k:"columnlen"})}else if(o.indexOf("extend")>-1)f.type="extend",f.config=$.extend(!0,{},h.config),f.curconfig=$.extend(!0,{},l),f.range=$.extend(!0,[],h.luckysheet_select_save),f.currange=a,f.ctrlType=o,f.ctrlValue=s,ne.saveParam("arc",h.currentSheetIndex,{index:s.index,len:s.len,direction:s.direction,mc:l.merge},{rc:s.type});else if(o.indexOf("dele")>-1)f.type="dele",f.config=$.extend(!0,{},h.config),f.curconfig=$.extend(!0,{},l),f.range=$.extend(!0,[],h.luckysheet_select_save),f.currange=a,f.ctrlType=o,f.ctrlValue=s,ne.saveParam("drc",h.currentSheetIndex,{index:s.index,len:s.len,mc:l.merge,borderInfo:l.borderInfo},{rc:s.type});else{f.type="datachangeAll",f.range=$.extend(!0,[],h.luckysheet_select_save),f.currange=a,f.ctrlType=o,f.ctrlValue=s,m=!0;for(let g=0;g<a.length;g++)ne.historyParam(t,h.currentSheetIndex,a[g])}h.clearjfundo&&(h.jfundo.length=0,f.data=h.flowdata,f.curdata=t,f.sheetIndex=h.currentSheetIndex,f.cdformat=$.extend(!0,[],h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_conditionformat_save),f.curCdformat=u,h.jfredo.push(f)),h.flowdata=t,we.webWorkerFlowDataCache(t),h.luckysheetfile[K(h.currentSheetIndex)].data=h.flowdata,l!=null&&(h.config=l,h.luckysheetfile[K(h.currentSheetIndex)].config=h.config,ne.saveParam("all",h.currentSheetIndex,l,{k:"config"})),u!=null&&(h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_conditionformat_save=u,ne.saveParam("all",h.currentSheetIndex,u,{k:"luckysheet_conditionformat_save"})),h.luckysheet_select_save=$.extend(!0,[],a),h.luckysheet_select_save.length>0&&tt(),m&&yc(a,h.currentSheetIndex,t),St(n,e),d&&(Dr=setTimeout(function(){Be()},1)),ve.storeSheetParamALL(),window.luckysheet_getcelldata_cache=null}function La(e,n,t){clearTimeout(Dr),h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"rangechange",data:h.flowdata,curdata:e,range:n,sheetIndex:h.currentSheetIndex,cdformat:$.extend(!0,[],h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_conditionformat_save),curCdformat:t})),h.flowdata=e,we.webWorkerFlowDataCache(h.flowdata),h.luckysheetfile[K(h.currentSheetIndex)].data=h.flowdata,t!=null&&(h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_conditionformat_save=t),yc(n,h.currentSheetIndex,e),Dr=setTimeout(function(){Be()},1);for(let l=0;l<n.length;l++)ne.historyParam(h.flowdata,h.currentSheetIndex,n[l])}function qn(e,n,t,l,a,o,s,u,d,f,m){let g=h.luckysheetfile[K(h.currentSheetIndex)];Un();let y=[];for(let x in n.merge){let C=n.merge[x];for(let S=C.r;S<=C.r+C.rs-1;S++)for(let _=C.c;_<=C.c+C.cs-1;_++)e[S][_]==null&&(e[S][_]={}),S==C.r&&_==C.c?e[S][_].mc=C:e[S][_].mc={r:C.r,c:C.c},y.push({r:S,c:_})}let v=[];h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:t,sheetIndex:h.currentSheetIndex,data:h.flowdata,curData:e,config:$.extend(!0,{},h.config),curConfig:n,ctrlValue:l,mcData:y,calc:$.extend(!0,[],g.calcChain),curCalc:a,funcData:v,filterObj:{filter_select:$.extend(!0,{},g.filter_select),filter:$.extend(!0,{},g.filter)},curFilterObj:o,cf:$.extend(!0,[],g.luckysheet_conditionformat_save),curCf:s,af:$.extend(!0,[],g.luckysheet_alternateformat_save),curAf:u,freezen:{freezenhorizontaldata:X.freezenhorizontaldata,freezenverticaldata:X.freezenverticaldata},curFreezen:d,dataVerification:$.extend(!0,{},g.dataVerification),curDataVerification:f,hyperlink:$.extend(!0,{},g.hyperlink),curHyperlink:m,range:g.luckysheet_select_save,dataRange:[...g.luckysheet_select_save]}));let k=l.index,b=l.len,w=l.rc;if(t=="addRC"){let x=l.direction,C=l.restore,S=[];if(C){if(w=="r"){let _;x=="lefttop"?_=k:x=="rightbottom"&&(_=k+1);let T=_+b-1;for(let A=_;A<=T;A++){let R=[];for(let I=0;I<e[0].length;I++){let F=e[A][I];R.push(F)}S.push(R)}}else if(w=="c"){let _;x=="lefttop"?_=k:x=="rightbottom"&&(_=k+1);let T=_+b-1;for(let A=0;A<e.length;A++){let R=[];for(let I=_;I<=T;I++){let F=e[A][I];R.push(F)}S.push(R)}}}ne.saveParam("arc",h.currentSheetIndex,{index:k,len:b,direction:x,data:S},{rc:w})}else t=="delRC"&&ne.saveParam("drc",h.currentSheetIndex,{index:k,len:b},{rc:w});h.flowdata=e,we.webWorkerFlowDataCache(h.flowdata),g.data=e,h.config=n,g.config=h.config,ne.saveParam("all",h.currentSheetIndex,n,{k:"config"});for(let x=0;x<y.length;x++){let C=y[x].r,S=y[x].c;ne.saveParam("v",h.currentSheetIndex,h.flowdata[C][S],{r:C,c:S})}if(a.length>0)for(let x=0;x<a.length;x++){let C=a[x],S=C.r,_=C.c,T=C.index,A=Ol(S,_,T,e),R=p.execfunction(A,S,_,T,null,!0);C.func=R,e[S][_].f==A&&Ft(S,_,e,R[1])}g.calcChain=a,ne.saveParam("all",h.currentSheetIndex,a,{k:"calcChain"});for(let x=0;x<v.length;x++){let C=v[x].r,S=v[x].c;ne.saveParam("v",h.currentSheetIndex,h.flowdata[C][S],{r:C,c:S})}o!=null?(g.filter_select=o.filter_select,g.filter=o.filter):(g.filter_select=null,g.filter=null),Fl(g.filter_select,g.filter),ne.saveParam("all",h.currentSheetIndex,g.filter_select,{k:"filter_select"}),ne.saveParam("all",h.currentSheetIndex,g.filter,{k:"filter"}),g.luckysheet_conditionformat_save=s,ne.saveParam("all",h.currentSheetIndex,g.luckysheet_conditionformat_save,{k:"luckysheet_conditionformat_save"}),g.luckysheet_alternateformat_save=u,ne.saveParam("all",h.currentSheetIndex,g.luckysheet_alternateformat_save,{k:"luckysheet_alternateformat_save"}),d!=null?(X.freezenhorizontaldata=d.freezenhorizontaldata,X.freezenverticaldata=d.freezenverticaldata):(X.freezenhorizontaldata=null,X.freezenverticaldata=null),Ye.dataVerification=f,g.dataVerification=f,ne.saveParam("all",h.currentSheetIndex,g.dataVerification,{k:"dataVerification"}),Cl.hyperlink=m,g.hyperlink=m,ne.saveParam("all",h.currentSheetIndex,g.hyperlink,{k:"hyperlink"}),St(h.flowdata.length,h.flowdata[0].length)}function Mi(e,n,t,l,a,o,s,u){let d=h.luckysheetfile[K(h.currentSheetIndex)];clearTimeout(Dr),Un();let f=[];if(JSON.stringify(n.merge)=="{}")for(let g=0;g<e.length;g++)for(let y=0;y<e[0].length;y++){let v=e[g][y];v!=null&&v.mc!=null&&(delete v.mc,f.push({r:g,c:y}))}else for(let g in n.merge){let y=n.merge[g];for(let v=y.r;v<=y.r+y.rs-1;v++)for(let k=y.c;k<=y.c+y.cs-1;k++)if(e[v][k]==null&&(e[v][k]={}),v==y.r&&k==y.c)JSON.stringify(e[v][k].mc)!=JSON.stringify(y)&&(e[v][k].mc=y,f.push({r:v,c:k}));else{let b={r:y.r,c:y.c};JSON.stringify(e[v][k].mc)!=JSON.stringify(b)&&(e[v][k].mc=b,f.push({r:v,c:k}))}}let m=[];if(h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"deleteCell",sheetIndex:h.currentSheetIndex,ctrl:t,data:h.flowdata,curData:e,config:$.extend(!0,{},h.config),curConfig:n,mcData:f,calc:$.extend(!0,[],d.calcChain),curCalc:l,funcData:m,filterObj:{filter_select:$.extend(!0,{},d.filter_select),filter:$.extend(!0,{},d.filter)},curFilterObj:a,cf:$.extend(!0,[],d.luckysheet_conditionformat_save),curCf:o,dataVerification:$.extend(!0,{},d.dataVerification),curDataVerification:s,hyperlink:$.extend(!0,{},d.hyperlink),curHyperlink:u,range:d.luckysheet_select_save,dataRange:[...d.luckysheet_select_save]})),h.flowdata=e,we.webWorkerFlowDataCache(h.flowdata),d.data=e,ne.allowUpdate){let g=t.type,y=t.str,v=t.edr,k=t.stc,b=t.edc,w;g=="moveUp"?w={row:[y,e.length-1],column:[k,b]}:g=="moveLeft"&&(w={row:[y,v],column:[k,e[0].length-1]}),ne.historyParam(h.flowdata,h.currentSheetIndex,w)}h.config=n,d.config=h.config,ne.saveParam("all",h.currentSheetIndex,n,{k:"config"});for(let g=0;g<f.length;g++){let y=f[g].r,v=f[g].c;ne.saveParam("v",h.currentSheetIndex,h.flowdata[y][v],{r:y,c:v})}if(l.length>0)for(let g=0;g<l.length;g++){let y=l[g],v=y.r,k=y.c,b=y.index,w=Ol(v,k,b,e),x=p.execfunction(w,v,k,b,null,!0);y.func=x,e[v][k].f==w&&Ft(v,k,e,x[1])}d.calcChain=l,ne.saveParam("all",h.currentSheetIndex,l,{k:"calcChain"});for(let g=0;g<m.length;g++){let y=m[g].r,v=m[g].c;ne.saveParam("v",h.currentSheetIndex,h.flowdata[y][v],{r:y,c:v})}a!=null?(d.filter_select=a.filter_select,d.filter=a.filter):(d.filter_select=null,d.filter=null),Fl(d.filter_select,d.filter),ne.saveParam("all",h.currentSheetIndex,d.filter_select,{k:"filter_select"}),ne.saveParam("all",h.currentSheetIndex,d.filter,{k:"filter"}),d.luckysheet_conditionformat_save=o,ne.saveParam("all",h.currentSheetIndex,d.luckysheet_conditionformat_save,{k:"luckysheet_conditionformat_save"}),Ye.dataVerification=s,d.dataVerification=s,ne.saveParam("all",h.currentSheetIndex,d.dataVerification,{k:"dataVerification"}),Cl.hyperlink=u,d.hyperlink=u,ne.saveParam("all",h.currentSheetIndex,d.hyperlink,{k:"hyperlink"}),Dr=setTimeout(function(){Be()},1)}function Xa(e,n,t){let l={};p.execFunctionExist=[],clearTimeout(Dr);for(let u=e.range.row[0];u<=e.range.row[1];u++)for(let d=e.range.column[0];d<=e.range.column[1];d++)u+"_"+d+"_"+e.sheetIndex in l||(l[u+"_"+d+"_"+e.sheetIndex]=0,p.execFunctionExist.push({r:u,c:d,i:e.sheetIndex}));for(let u=n.range.row[0];u<=n.range.row[1];u++)for(let d=n.range.column[0];d<=n.range.column[1];d++)u+"_"+d+"_"+n.sheetIndex in l||(l[u+"_"+d+"_"+n.sheetIndex]=0,p.execFunctionExist.push({r:u,c:d,i:n.sheetIndex}));h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"pasteCut",source:e,target:n,RowlChange:t}));let a;if(h.currentSheetIndex==e.sheetIndex?(h.config=e.curConfig,a=e.curData.length,h.luckysheetfile[K(n.sheetIndex)].config=n.curConfig):h.currentSheetIndex==n.sheetIndex&&(h.config=n.curConfig,a=n.curData.length,h.luckysheetfile[K(e.sheetIndex)].config=e.curConfig),t){h.visibledatarow=[],h.rh_height=0;for(let u=0;u<a;u++){let d=h.defaultrowlen;if(h.config.rowlen!=null&&h.config.rowlen[u]!=null&&(d=h.config.rowlen[u]),h.config.rowhidden!=null&&h.config.rowhidden[u]!=null){d=h.config.rowhidden[u],h.visibledatarow.push(h.rh_height);continue}else h.rh_height+=d+1;h.visibledatarow.push(h.rh_height)}if(h.rh_height+=80,h.currentSheetIndex==e.sheetIndex){let u=ko(n.curData.length,n.curConfig);h.luckysheetfile[K(n.sheetIndex)].visibledatarow=u}else if(h.currentSheetIndex==n.sheetIndex){let u=ko(e.curData.length,e.curConfig);h.luckysheetfile[K(e.sheetIndex)].visibledatarow=u}}h.currentSheetIndex==e.sheetIndex?(h.flowdata=e.curData,h.luckysheetfile[K(n.sheetIndex)].data=n.curData):h.currentSheetIndex==n.sheetIndex&&(h.flowdata=n.curData,h.luckysheetfile[K(e.sheetIndex)].data=e.curData),we.webWorkerFlowDataCache(h.flowdata),h.luckysheetfile[K(h.currentSheetIndex)].data=h.flowdata,h.currentSheetIndex==n.sheetIndex?h.luckysheet_select_save=[{row:n.range.row,column:n.range.column}]:h.luckysheet_select_save=[{row:e.range.row,column:e.range.column}],h.luckysheet_select_save.length>0&&tt(),h.luckysheetfile[K(e.sheetIndex)].luckysheet_conditionformat_save=e.curCdformat,h.luckysheetfile[K(n.sheetIndex)].luckysheet_conditionformat_save=n.curCdformat,h.currentSheetIndex==e.sheetIndex?Ye.dataVerification=e.curDataVerification:h.currentSheetIndex==n.sheetIndex&&(Ye.dataVerification=n.curDataVerification),h.luckysheetfile[K(e.sheetIndex)].dataVerification=e.curDataVerification,h.luckysheetfile[K(n.sheetIndex)].dataVerification=n.curDataVerification,p.execFunctionExist.reverse(),p.execFunctionGroup(null,null,null,null,n.curData),p.execFunctionGlobalData=null;let o=K(h.currentSheetIndex),s=h.luckysheetfile[o];s.scrollTop=$("#luckysheet-cell-main").scrollTop(),s.scrollLeft=$("#luckysheet-cell-main").scrollLeft(),ve.showSheet(),Dr=setTimeout(function(){Be()},1),ve.storeSheetParamALL(),ne.saveParam("all",e.sheetIndex,e.curConfig,{k:"config"}),ne.saveParam("all",n.sheetIndex,n.curConfig,{k:"config"}),ne.historyParam(e.curData,e.sheetIndex,{row:e.range.row,column:e.range.column}),ne.historyParam(n.curData,n.sheetIndex,{row:n.range.row,column:n.range.column}),ne.saveParam("all",e.sheetIndex,e.curCdformat,{k:"luckysheet_conditionformat_save"}),ne.saveParam("all",n.sheetIndex,n.curCdformat,{k:"luckysheet_conditionformat_save"}),ne.saveParam("all",e.sheetIndex,e.curDataVerification,{k:"dataVerification"}),ne.saveParam("all",n.sheetIndex,n.curDataVerification,{k:"dataVerification"})}function St(e,n,t=!0){vn(e,n),clearTimeout(Dr),ve.storeSheetParam();let l=h.luckysheetfile[K(h.currentSheetIndex)].calcChain;if(l!=null&&l.length>0){h.config.rowlen==null&&(h.config.rowlen={}),h.config.columnlen==null&&(h.config.columnlen={});for(let a=0;a<l.length;a++){let o=l[a].r,s=l[a].c;if(l[a].index==h.currentSheetIndex&&h.flowdata[o][s]!=null&&h.flowdata[o][s].spl!=null&&(o in h.config.rowlen||s in h.config.columnlen)){window.luckysheetCurrentRow=o,window.luckysheetCurrentColumn=s,window.luckysheetCurrentFunction=h.flowdata[o][s].f;let d=$.trim(p.functionParserExe(h.flowdata[o][s].f)),f=new Function("return "+d)();h.flowdata[o][s].spl=f,ne.saveParam("v",h.currentSheetIndex,h.flowdata[o][s],{r:o,c:s})}}h.luckysheetfile[K(h.currentSheetIndex)].data=h.flowdata}if(He.positionSync(),tt(),Un(),$(".luckysheet-selection-copy").is(":visible")&&Bt(),$("#luckysheet-dropCell-icon").is(":visible")&&$("#luckysheet-dropCell-icon").remove(),X.freezenhorizontaldata!=null&&X.freezenverticaldata!=null){let a=X.freezenhorizontaldata[1]-1,o=X.freezenverticaldata[1]-1,s=X.freezenhorizontaldata[2],u=X.freezenverticaldata[2],d=h.visibledatarow[a]-2-s+h.columnHeaderHeight,f=[h.visibledatarow[a],a+1,s,X.cutVolumn(h.visibledatarow,a+1),d],m=h.visibledatacolumn[o]-2-u+h.rowHeaderWidth,g=[h.visibledatacolumn[o],o+1,u,X.cutVolumn(h.visibledatacolumn,o+1),m];X.saveFreezen(f,d,g,m),X.createFreezenHorizontal(f,d),X.createFreezenVertical(g,m),X.createAssistCanvas()}else if(X.freezenhorizontaldata!=null){let a=X.freezenhorizontaldata[1]-1,o=X.freezenhorizontaldata[2],s=h.visibledatarow[a]-2-o+h.columnHeaderHeight,u=[h.visibledatarow[a],a+1,o,X.cutVolumn(h.visibledatarow,a+1),s];X.saveFreezen(u,s,null,null),X.createFreezenHorizontal(u,s),X.createAssistCanvas()}else if(X.freezenverticaldata!=null){let a=X.freezenverticaldata[1]-1,o=X.freezenverticaldata[2],s=h.visibledatacolumn[a]-2-o+h.rowHeaderWidth,u=[h.visibledatacolumn[a],a+1,o,X.cutVolumn(h.visibledatacolumn,a+1),s];X.saveFreezen(null,null,u,s),X.createFreezenVertical(u,s),X.createAssistCanvas()}else $("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").length>0&&$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").each(function(a,o){let s=$(o).data("str"),u=$(o).data("cindex"),d=h.visibledatacolumn[u]-20,f=s-1==-1?0:h.visibledatarow[s-1];$(o).css({left:d,top:f})});if($("#luckysheet-filter-selected-sheet"+h.currentSheetIndex).length>0){let a=h.luckysheetfile[K(h.currentSheetIndex)].filter_select,o=a.row[0],s=a.row[1],u=a.column[0],d=a.column[1],f=h.visibledatarow[s],m=o-1==-1?0:h.visibledatarow[o-1],g=h.visibledatacolumn[d],y=u-1==-1?0:h.visibledatacolumn[u-1];$("#luckysheet-filter-selected-sheet"+h.currentSheetIndex).css({left:y,width:g-y-1,top:m,height:f-m-1})}ve.showSheet(),t&&(Dr=setTimeout(function(){Be()},1))}function Be(e,n){if(p.groupValuesRefresh(),e==null&&(e=$("#luckysheet-cell-main").scrollLeft()),n==null&&(n=$("#luckysheet-cell-main").scrollTop()),X.freezenverticaldata!=null||X.freezenhorizontaldata!=null){let t,l,a,o,s,u,d=h.luckysheetTableContentHW[0],f=h.luckysheetTableContentHW[1];X.freezenverticaldata!=null&&X.freezenhorizontaldata!=null?(t=X.freezenhorizontaldata[0],l=X.freezenhorizontaldata[1],a=X.freezenhorizontaldata[2],o=X.freezenverticaldata[0],s=X.freezenverticaldata[1],u=X.freezenverticaldata[2],ar(u,a,o,t,1,1,null,null,"freezen_3"),ar(e+o-u,a,d-o+u,t,1,1,null,null,"freezen_4"),ar(u,n+t-a,o,f-t+a,1,1,null,null,"freezen_7"),ar(e+o-u,n+t-a,d-o+u,f-t+a,o-u+h.rowHeaderWidth,t-a+h.columnHeaderHeight),ga(u,o,h.rowHeaderWidth),ga(e+o-u,d-o+u,o-u+h.rowHeaderWidth),pa(a,t,h.columnHeaderHeight),pa(n+t-a,f-t+a,t-a+h.columnHeaderHeight)):X.freezenhorizontaldata!=null?(t=X.freezenhorizontaldata[0],l=X.freezenhorizontaldata[1],a=X.freezenhorizontaldata[2],ar(e,a,d,t,1,1,null,null,"freezen_h"),ar(e,n+t-a,d,f-t+a,null,t-a+h.columnHeaderHeight),ga(e,d,null),pa(a,t,h.columnHeaderHeight),pa(n+t-a,f-t+a,t-a+h.columnHeaderHeight)):X.freezenverticaldata!=null&&(o=X.freezenverticaldata[0],s=X.freezenverticaldata[1],u=X.freezenverticaldata[2],ar(u,n,o,f,1,1,null,null,"freezen_v"),ar(e+o-u,n,d-o+u,f,o-u+h.rowHeaderWidth,null),pa(n,f,null),ga(u,o,h.rowHeaderWidth),ga(e+o-u,d-o+u,o-u+h.rowHeaderWidth))}else{if($("#luckysheetTableContent").length==0)return;let t=$("#luckysheetTableContent").get(0).getContext("2d");ar(e,n),ga(e),pa(n),t.clearRect(0,0,h.rowHeaderWidth*h.devicePixelRatio-1,h.columnHeaderHeight*h.devicePixelRatio-1)}}var Dr,Xt=$e(()=>{Ai();qt();Qt();gr();Zt();pr();Io();Vl();ll();gl();Gr();vr();Ya();Jt();wn();Dt();Xe();Dr=null});function $f(e,n,t){return new Promise((l,a)=>{let o=new XMLHttpRequest||new ActiveXObject("Microsoft.XMLHTTP");o.open(e,n),o.send(JSON.stringify(t)),o.onreadystatechange=function(){o.readyState==4&&(o.status==200?l(o.responseText):a("error"))}})}var If=$e(()=>{});var vc,zi,ya,ne,ll=$e(()=>{vc=Nl(Fd());Hs();Xt();Qt();Wt();gl();ol();wn();Vl();Gr();jr();vr();Ya();ht();Dt();Xe();Jt();yt();zi=Nl(kn());qa();Sl();If();El();ya={gridKey:null,loadUrl:null,updateUrl:null,updateImageUrl:null,title:null,loadSheetUrl:null,retryTimer:null,allowUpdate:!1,historyParam:function(e,n,t){let l=this,a=t.row[0],o=t.row[1],s=t.column[0],u=t.column[1];if(a==o&&s==u){let d=e[a][s];l.saveParam("v",n,d,{r:a,c:s})}else{let d=o-a+1,f=u-s+1,m=Math.floor(1e3/f),g=Math.ceil(d/m);for(let y=0;y<g;y++){let v=a+m*y,k;y==g-1?k=o:k=a+m*(y+1)-1;let b=[];for(let w=v;w<=k;w++){let x=[];for(let C=s;C<=u;C++)e[w]==null?x.push(null):x.push(e[w][C]);b.push(x)}l.saveParam("rv",n,b,{range:{row:[v,k],column:[s,u]}}),y==g-1&&l.saveParam("rv_end",n,null)}}},saveParam:function(e,n,t,l){let a=this;if(!a.allowUpdate)return;t==null&&(t=null);let o={};if(o.t=e,o.i=n,o.v=t,e==="shs")return;e=="rv"?o.range=l.range:e=="v"||e=="fu"||e=="fm"?(o.r=l.r,o.c=l.c):e=="fc"?(o.op=l.op,o.pos=l.pos):e=="drc"||e=="arc"||e=="h"||e=="wh"?o.rc=l.rc:e=="c"?(o.cid=l.cid,o.op=l.op):e=="f"?(o.op=l.op,o.pos=l.pos):e=="s"||(e=="sh"?(o.op=l.op,l.cur!=null&&(o.cur=l.cur)):(e=="cg"||e=="all")&&(o.k=l.k));let s=me.imageUpdateMethodConfig;if(JSON.stringify(s)!=="{}")if(o.k!="images"){let u=vc.default.gzip(encodeURIComponent(JSON.stringify(o)),{to:"string"});a.websocket!=null&&a.websocket.send(u)}else $f(s.method,s.url,o).then(u=>{console.log(u)}).catch(u=>{console.log(u)});else{let u=vc.default.gzip(encodeURIComponent(JSON.stringify(o)),{to:"string"});a.websocket!=null&&a.websocket.send(u)}},websocket:null,wxErrorCount:0,openWebSocket:function(){let e=this;if("WebSocket"in window){let n=e.updateUrl+"?t=111&g="+encodeURIComponent(e.gridKey);e.updateUrl.indexOf("?")>-1&&(n=e.updateUrl+"&t=111&g="+encodeURIComponent(e.gridKey)),e.websocket=new WebSocket(n),e.websocket.onopen=function(){console.info(Q().websocket.success),Si(),e.wxErrorCount=0,e.retryTimer=setInterval(function(){e.websocket.send("rub")},6e4)},e.websocket.onmessage=function(t){h.result=t;let l=new Function("return "+t.data)();Ke.createHookFunction("cooperativeMessage",l),console.info(l);let a=l.type,{message:o,id:s}=l;if(o==="\u7528\u6237\u9000\u51FA"&&($("#luckysheet-multipleRange-show-"+s).hide(),h.cooperativeEdit.changeCollaborationSize=h.cooperativeEdit.changeCollaborationSize.filter(u=>u.id!=s),h.cooperativeEdit.checkoutData=h.cooperativeEdit.checkoutData.filter(u=>u.id!=s)),a==1){let u=l.data.v.index,d=h.luckysheetfile.filter(f=>f.index===u)[0];d!==null&&setTimeout(()=>{let f=l.data.i;d.index=f,h.currentSheetIndex=f,$(`#luckysheet-sheets-item${u}`).attr("data-index",f),$(`#luckysheet-sheets-item${u}`).prop("id",`luckysheet-sheets-item${f}`),$(`#luckysheet-datavisual-selection-set-${u}`).prop("id",`luckysheet-datavisual-selection-set-${f}`)},1)}else if(a==2){let u=JSON.parse(l.data);e.wsUpdateMsg(u);let d=JSON.parse(l.data);d.k=="columnlen"?Un(d.v,null):d.k=="rowlen"&&Un(null,d.v)}else if(a==3){let u=l.id,d=l.username,f=JSON.parse(l.data),m=f.t,g=f.i,y=f.v;h.cooperativeEdit.changeCollaborationSize.length===0&&h.cooperativeEdit.changeCollaborationSize.push({id:u,v:f.v[0],i:g}),h.cooperativeEdit.changeCollaborationSize.some(x=>x.id==u)?h.cooperativeEdit.changeCollaborationSize.forEach(x=>{x.id==u&&(x.v=f.v[0]||f.range[0],x.i=g)}):h.cooperativeEdit.changeCollaborationSize.push({id:u,v:f.v[0],i:g}),P(y)!="array"&&P(y)!=="object"&&(y=JSON.parse(y));let k=0,b=0;if(g==h.currentSheetIndex?P(y)==="object"&&y.op==="enterEdit"?(k=y.range[y.range.length-1].row[0],b=y.range[y.range.length-1].column[0],e.multipleRangeShow(u,d,k,b,y.op)):(k=y[y.length-1].row[0],b=y[y.length-1].column[0],e.multipleRangeShow(u,d,k,b)):P(y)==="object"&&y.op==="enterEdit"?(k=y.range[y.range.length-1].row[0],b=y.range[y.range.length-1].column[0]):(k=y[y.length-1].row[0],b=y[y.length-1].column[0]),h.cooperativeEdit.checkoutData.length===0&&(y.op?h.cooperativeEdit.checkoutData.push({id:u,username:d,r:k,c:b,op:y.op,index:g}):h.cooperativeEdit.checkoutData.push({id:u,username:d,r:k,c:b,index:g})),h.cooperativeEdit.checkoutData.some(x=>x.id==u)?h.cooperativeEdit.checkoutData.forEach(x=>{x.id==u&&(x.username=d,x.r=k,x.c=b,x.index=g,y.op==="enterEdit"&&(x.op=y.op))}):y.op==="enterEdit"?h.cooperativeEdit.checkoutData.push({id:u,username:d,r:k,c:b,op:y.op,index:g}):h.cooperativeEdit.checkoutData.push({id:u,username:d,r:k,c:b,index:g}),h.cooperativeEdit.checkoutData.forEach(x=>{x.index!=h.currentSheetIndex&&($("#luckysheet-multipleRange-show-"+x.id).hide(),x.op=="")}),$("#luckysheet-multipleRange-show-"+u)[0]){let x=$("#luckysheet-multipleRange-show-"+u)[0].offsetHeight-1;$("#luckysheet-multipleRange-show-"+u+">.username").css({bottom:x+"px"})}}else if(a==4){let u=l.data===""?l.data:JSON.parse(l.data);for(let d=0;d<u.length;d++)e.wsUpdateMsg(item[d])}else a==5?Pa(l.data):a==6&&Si()},e.websocket.onerror=function(){e.wxErrorCount++,e.wxErrorCount>3?Pa(Q().websocket.refresh):(Pa(Q().websocket.wait),e.openWebSocket())},e.websocket.onclose=function(t){console.info(Q().websocket.close),t.code===1e3?(clearInterval(e.retryTimer),e.retryTimer=null):alert(Q().websocket.contact)}}else alert(Q().websocket.support)},wsUpdateMsg:function(e){let n=e.t,t=e.i,l=e.v,a=h.luckysheetfile[K(t)];if(!(["v","rv","cg","all","fc","drc","arc","f","fsc","fsr","sh","c"].includes(n)&&a==null))if(n=="v"){if(a.data==null||a.data.length==0)return;let o=e.r,s=e.c;a.data[o][s]=l,t==h.currentSheetIndex&&(h.flowdata=a.data,we.webWorkerFlowDataCache(h.flowdata),l!=null&&l.ps!=null?He.buildPs(o,s,l.ps):He.buildPs(o,s,null),setTimeout(function(){Be()},1))}else if(n=="rv"){if(Object.keys(e.range).length>0&&(h.cooperativeEdit.merge_range=e.range,h.cooperativeEdit.merge_range.v=e.v,Un()),a.data==null||a.data.length==0)return;let o=e.range.row[0],s=e.range.row[1],u=e.range.column[0],d=e.range.column[1];for(let f=o;f<=s;f++)for(let m=u;m<=d;m++)a.data[f][m]=l[f-o][m-u];if(t==h.currentSheetIndex){h.flowdata=a.data,we.webWorkerFlowDataCache(h.flowdata);for(let f=o;f<=s;f++)for(let m=u;m<=d;m++)l[f-o][m-u]!=null&&l[f-o][m-u].ps!=null?He.buildPs(f,m,l[f-o][m-u].ps):He.buildPs(f,m,null);setTimeout(function(){Be()},1)}}else if(n=="cg"){let o=e.k;o=="borderInfo"?a.config.borderInfo=l:(o in a.config||(a.config[o]={}),l&&typeof l=="object"&&(a.config[o]=l)),t==h.currentSheetIndex&&(h.config=a.config,(o=="rowlen"||o=="columnlen"||o=="rowhidden")&&St(h.flowdata.length,h.flowdata[0].length),setTimeout(function(){Be()},1))}else if(n=="all"){let o=e.k;if(a[o]=l,o=="name")$("#luckysheet-sheet-container-c #luckysheet-sheets-item"+t).find("span.luckysheet-sheets-item-name").html(l);else if(o=="color"){let s=$("#luckysheet-sheet-container-c #luckysheet-sheets-item"+t);s.find(".luckysheet-sheets-item-color").remove(),(l!=null||l!="")&&s.append('<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+l+';"></div>')}else if(o!="pivotTable")if(o=="frozen"){if(X.frozenTofreezen(),t==h.currentSheetIndex){let u=Q().freezen;a.freezen.horizontal==null?($("#luckysheet-freezen-btn-horizontal").html('<i class="fa fa-list-alt"></i> '+u.freezenRow),X.freezenhorizontaldata=null,$("#luckysheet-freezebar-horizontal").hide()):X.createFreezenHorizontal(a.freezen.horizontal.freezenhorizontaldata,a.freezen.horizontal.top),a.freezen.vertical==null?($("#luckysheet-freezen-btn-vertical").html('<i class="fa fa-indent"></i> '+u.freezenColumn),X.freezenverticaldata=null,$("#luckysheet-freezebar-vertical").hide()):X.createFreezenVertical(a.freezen.vertical.freezenverticaldata,a.freezen.vertical.left),X.createAssistCanvas(),setTimeout(function(){Be()},1)}}else o=="filter_select"?t==h.currentSheetIndex&&Fl(l):o=="filter"?t==h.currentSheetIndex&&Fl(a.filter_select,l):o=="luckysheet_conditionformat_save"?t==h.currentSheetIndex&&setTimeout(function(){Be()},1):o=="luckysheet_alternateformat_save"?t==h.currentSheetIndex&&setTimeout(function(){Be()},1):o=="config"?t==h.currentSheetIndex&&(h.config=l,St(h.flowdata.length,h.flowdata[0].length)):o=="dynamicArray"?t==h.currentSheetIndex&&setTimeout(function(){Be()},1):o=="images"?t==h.currentSheetIndex&&(Ie.images=l,Ie.allImagesShow(),Ie.init()):o=="dataVerification"?t==h.currentSheetIndex&&(Ye.dataVerification=l,Ye.init()):o=="hyperlink"&&t==h.currentSheetIndex&&(Cl.hyperlink=l,Cl.init())}else if(n=="fc"){let o=e.op,s=e.pos;P(l)!="object"&&(l=new Function("return "+l)());let u=l.r,d=l.c,f=a.calcChain==null?[]:a.calcChain;if(o=="add")f.push(l);else if(o=="del")for(let m=0;m<f.length;m++)u==f[m].r&&d==f[m].c&&t==f[m].index&&f.splice(m,1);setTimeout(function(){Be()},1)}else if(n=="drc"){if(a.data==null||a.data.length==0)return;let o=e.rc,s=l.index,u=l.len,d=l.mc,f=l.borderInfo,m=a.data;if(o=="r"){a.row-=u,m.splice(s,u);let g=[];for(let y=0;y<m[0].length;y++)g.push(null);for(let y=0;y<u;y++)m.push(g)}else{a.column-=u;let g=[];for(let y=0;y<u;y++)g.push(null);for(let y=0;y<m.length;y++)m[y].splice(s,u),m[y]=m[y].concat(g)}for(let g in d){let y=d[g].r,v=d[g].c;m[y][v].mc=d[g]}a.config.merge=d,a.config.borderInfo=f,t==h.currentSheetIndex&&(h.flowdata=m,we.webWorkerFlowDataCache(h.flowdata),h.config.merge=d,h.config.borderInfo=f,setTimeout(function(){Be()},1))}else if(n=="arc"){if(a.data==null||a.data.length==0)return;let o=e.rc,s=l.index,u=l.len,d=l.data,f=l.direction,m=l.mc,g=l.borderInfo,y=$.extend(!0,[],a.data);if(o=="r"){a.row+=u;let v=[];for(let b=0;b<y[0].length;b++)v.push(null);let k=[];for(let b=0;b<u;b++)d[b]==null?k.push(JSON.stringify(v)):k.push(JSON.stringify(d[b]));f=="lefttop"?s==0?new Function("data","return data.unshift("+k.join(",")+")")(y):new Function("data","return data.splice("+s+", 0, "+k.join(",")+")")(y):new Function("data","return data.splice("+(s+1)+", 0, "+k.join(",")+")")(y)}else{a.column+=u;for(let v=0;v<y.length;v++)for(let k=0;k<u;k++)f=="lefttop"?y[v].splice(s,0,d[k]):y[v].splice(s+1,0,d[k])}for(let v in m){let k=m[v].r,b=m[v].c;y[k][b].mc=m[v]}a.data=y,a.config.merge=m,a.config.borderInfo=g,t==h.currentSheetIndex&&(h.flowdata=y,we.webWorkerFlowDataCache(h.flowdata),h.config.merge=m,h.config.borderInfo=g,setTimeout(function(){Be()},1))}else if(n=="f"){let o=e.op,s=e.pos,u=a.filter;u==null&&(u={}),o=="upOrAdd"?u[s]=l:o=="del"&&delete u[s],t==h.currentSheetIndex&&Fl(a.filter_select,u)}else if(n=="fsc")a.filter=null,a.filter_select=null,t==h.currentSheetIndex&&($("#luckysheet-filter-selected-sheet"+h.currentSheetIndex+", #luckysheet-filter-options-sheet"+h.currentSheetIndex).remove(),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide());else if(n=="fsr")a.filter=l.filter,a.filter_select=l.filter_select,t==h.currentSheetIndex&&Fl(a.filter_select,a.filter);else if(n=="sha"){h.luckysheetfile.push(l);let o="";l.color!=null&&(o='<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+l.color+';"></div>'),$("#luckysheet-sheet-container-c").append(_e(Ql,{index:l.index,active:"",name:l.name,style:"",colorset:o})),$("#luckysheet-cell-main").append('<div id="luckysheet-datavisual-selection-set-'+l.index+'" class="luckysheet-datavisual-selection-set"></div>'),ve.locationSheet()}else if(n=="shc"){let o=l.copyindex,s=l.name,u=K(o),d=$.extend(!0,{},h.luckysheetfile[u]);d.index=t,d.name=s,h.luckysheetfile.splice(u+1,0,d);let f=$("#luckysheet-sheets-item"+o);$("#luckysheet-sheet-container-c").append(_e(Ql,{index:d.index,active:"",name:d.name,style:"",colorset:""})),$("#luckysheet-sheets-item"+d.index).insertAfter(f),$("#luckysheet-cell-main").append('<div id="luckysheet-datavisual-selection-set-'+d.index+'" class="luckysheet-datavisual-selection-set"></div>')}else if(n=="shd"){for(let o=0;o<h.luckysheetfile.length;o++)if(h.luckysheetfile[o].index==l.deleIndex){if(h.currentSheetIndex===l.deleIndex){let s=l.deleIndex;h.luckysheetfile[ve.getSheetIndex(s)].hide=1;let u=$("#luckysheet-sheets-item"+s);u.hide(),$("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active");let d=u.nextAll(":visible");u.nextAll(":visible").length>0?d=d.eq(0).data("index"):d=u.prevAll(":visible").eq(0).data("index"),$("#luckysheet-sheets-item"+d).addClass("luckysheet-sheets-item-active"),ve.changeSheetExec(d)}ya.sheetDeleSave.push(h.luckysheetfile[o]),h.luckysheetfile.splice(o,1);break}$("#luckysheet-sheets-item"+l.deleIndex).remove(),$("#luckysheet-datavisual-selection-set-"+l.deleIndex).remove(),ve.locationSheet()}else if(n=="shr")for(let o in l)h.luckysheetfile[K(o)].order=l[o];else if(n=="shre"){for(let o=0;o<ya.sheetDeleSave.length;o++)if(ya.sheetDeleSave[o].index==l.reIndex){let s=ya.sheetDeleSave[o];h.luckysheetfile.push(s);let u="";l.color!=null&&(u='<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+s.color+';"></div>'),$("#luckysheet-sheet-container-c").append(_e(Ql,{index:s.index,active:"",name:s.name,style:"",colorset:u})),$("#luckysheet-cell-main").append('<div id="luckysheet-datavisual-selection-set-'+s.index+'" class="luckysheet-datavisual-selection-set"></div>');break}}else if(n=="sh"){let o=e.op,s=e.cur;o=="hide"?(a.hide=1,$("#luckysheet-sheets-item"+t).hide(),t==h.currentSheetIndex&&($("#luckysheet-sheets-item"+s).addClass("luckysheet-sheets-item-active"),ve.changeSheetExec(s))):o=="show"&&(a.hide=0,$("#luckysheet-sheets-item"+t).show()),ve.locationSheet()}else if(n=="c"){let o=e.op,s=e.cid;if(o=="add")a.chart.push(l),luckysheet.insertChartTosheet(l.sheetIndex,l.dataSheetIndex,l.option,l.chartType,l.selfOption,l.defaultOption,l.row,l.column,l.chart_selection_color,l.chart_id,l.chart_selection_id,l.chartStyle,l.rangeConfigCheck,l.rangeRowCheck,l.rangeColCheck,l.chartMarkConfig,l.chartTitleConfig,l.winWidth,l.winHeight,l.scrollLeft1,l.scrollTop1,l.chartTheme,l.myWidth,l.myHeight,l.myLeft,l.myTop,l.myindexrank1,!0);else if(o=="xy"||o=="wh"||o=="update")for(let u=0;u<a.chart.length;u++){let d=a.chart[u];if(d.chart_id==s){for(let f in d)for(let m in l)f==m&&(d[f]=l[m]);ve.saveChart(d);return}}else if(o=="del"){for(let u=0;u<a.chart.length;u++)if(a.chart[u].chart_id==s){a.chart.splice(u,1),$("#"+s).remove(),ve.delChart($("#"+s).attr("chart_id"),$("#"+s).attr("sheetIndex"));return}}}else n=="na"&&$("#luckysheet_info_detail_input").val(l).css("width",va(l)*10)},multipleIndex:0,multipleRangeShow:function(e,n,t,l,a){let o=this,s=n,u=h.visibledatarow[t],d=t-1==-1?0:h.visibledatarow[t-1],f=h.visibledatacolumn[l],m=l-1==-1?0:h.visibledatacolumn[l-1],g=be.mergeborer(h.flowdata,t,l);if(g&&(u=g.row[1],d=g.row[0],f=g.column[1],m=g.column[0]),m<=0&&(m+=1),d<=0&&(d+=1),va(n)>16&&(n=va(n,16)+"..."),a==="enterEdit"&&(n+=" "+Q().edit.typing),$("#luckysheet-multipleRange-show-"+e).length>0)$("#luckysheet-multipleRange-show-"+e).css({position:"absolute",left:m-1,width:f-m-1,top:d-1,height:u-d-1}),$("#luckysheet-multipleRange-show-"+e+" .username").text(n),$("#luckysheet-multipleRange-show-"+e+" .username").show(),h.cooperativeEdit.usernameTimeout["user"+e]!=null&&clearTimeout(h.cooperativeEdit.usernameTimeout["user"+e]),h.cooperativeEdit.usernameTimeout["user"+e]=setTimeout(()=>{clearTimeout(h.cooperativeEdit.usernameTimeout["user"+e]),h.cooperativeEdit.usernameTimeout["user"+e]=null},10*1e3);else{let y=`<div
  2729. id="luckysheet-multipleRange-show-${e}"
  2730. class="luckysheet-multipleRange-show"
  2731. data-color="${Yl[o.multipleIndex]}"
  2732. title="${s}"
  2733. style="position: absolute;left: ${m-1}px;width: ${f-m-1}px;top: ${d-1}px;height: ${u-d-1}px;border: 1px solid ${Yl[o.multipleIndex]};z-index: 15;">
  2734. <div class="username" style="height: 19px;line-height:19px;width: max-content;position: absolute;bottom: ${u-d-1}px;right: 0;background-color: ${Yl[o.multipleIndex]};color:#ffffff;padding:0 10px;">
  2735. ${n}
  2736. </div>
  2737. <div style="width: 100%;height: 100%;position: absolute;top: 0;right: 0;bottom: 0;left: 0;opacity: 0.03;background-color: ${Yl[o.multipleIndex]}">
  2738. </div>
  2739. </div>`;$(y).appendTo($("#luckysheet-cell-main #luckysheet-multipleRange-show")),o.multipleIndex++,h.cooperativeEdit.usernameTimeout["user"+e]!=null&&clearTimeout(h.cooperativeEdit.usernameTimeout["user"+e]),h.cooperativeEdit.usernameTimeout["user"+e]=setTimeout(()=>{clearTimeout(h.cooperativeEdit.usernameTimeout["user"+e]),h.cooperativeEdit.usernameTimeout["user"+e]=null},10*1e3)}},sheetDeleSave:[],submitInterval:1e3,imagesubmitInterval:5e3,submitdatalimit:50,submitcompresslimit:1e3,checksubmit:function(e){let n=this;n.submitTimeout(),clearTimeout(n.imageRequestTimeout),n.imageRequestTimeout=setTimeout(function(){n.imageRequest()},n.imagesubmitInterval)},submitTimeout:function(){let e=this;clearTimeout(e.requestTimeOut),!e.requestLock&&e.requestlast!=null&&e.requestlast.clone().add(1,"seconds").isBefore((0,zi.default)())&&e.request(),e.requestTimeOut=setTimeout(function(){e.submitTimeout()},e.submitInterval)},requestLock:!1,requestlast:null,firstchange:!0,requestTimeOut:null,request:function(){let e=this,t=this.gridKey+"__qkcache";e.cachelocaldata(function(l,a){if(a.length==0)return;a=encodeURIComponent(JSON.stringify(a));let o=a.length,s=!1;e.requestLock=!0,e.updateUrl!=""&&$.post(e.updateUrl,{compress:s,gridKey:e.gridKey,data:a},function(u){new Function("return "+u)().status?($("#luckysheet_info_detail_update").html("\u6700\u8FD1\u5B58\u6863\u65F6\u95F4:"+(0,zi.default)().format("M-D H:m:s")),$("#luckysheet_info_detail_save").html("\u540C\u6B65\u6210\u529F"),e.clearcachelocaldata()):($("#luckysheet_info_detail_save").html("<span style='color:#ff2121'>\u540C\u6B65\u5931\u8D25</span>"),e.restorecachelocaldata()),e.requestlast=(0,zi.default)(),e.requestLock=!1})})},imageRequestLast:null,imageRequestLock:!1,imageRequestTimeout:null,imageRequest:function(){let e=this;html2canvas($("#"+container).find(".luckysheet-grid-window").get(0),{onrendered:function(n){let t=$(n).appendTo("body");t.hide();let l=t.width(),a=t.height(),o=t.get(0).getContext("2d").getImageData(0,0,l,a),s=l,u=a;s*.54>u?s=u/.54:u=s*.54;let d=$("<canvas>").attr("width",s).attr("height",u)[0];d.getContext("2d").putImageData(o,0,0),t.attr("width",350),t.attr("height",189),t.get(0).getContext("2d").drawImage(d,0,0,350,189);let f=t.get(0).toDataURL("image/jpeg",.9),m=luckysheet.sheetmanage.getCurSheetnoset();e.imageRequestLock=!0;let g=encodeURIComponent(JSON.stringify({t:"thumb",img:f,curindex:m}));t.remove(),e.updateImageUrl!=""&&$.post(e.updateImageUrl,{compress:!1,gridKey:e.gridKey,data:g},function(y){new Function("return "+y)().status?imageRequestLast=(0,zi.default)():$("#luckysheet_info_detail_save").html("<span style='color:#ff2121'>\u7F51\u7EDC\u4E0D\u7A33\u5B9A</span>"),e.imageRequestLock=!0})}})},localdata:[],matchOpt:function(e,n){for(let t in e){if(t=="t"&&e.t in{drc:1,arc:1,sha:1,shc:1,shd:1})return!1;if(t!="v"&&(!(t in n)||n[t]!=e[t]))return!1}return!0},deleteRepeatOpt:function(e,n){let t=e,l=this;if(n instanceof Array)for(let o=0;o<n.length;o++){let s=n[o];for(let u=0;u<t.length;u++){let d=e[o];l.matchOpt(s,d)&&delete t[u]}}else for(let o=0;o<t.length;o++){let s=t[o];l.matchOpt(n,s)&&delete t[o]}let a=[];for(let o=0;o<t.length;o++)t[o]!=null&&a.push(t[o]);return a},setlocaldata:function(e,n){let t=this.gridKey,l=this;l.getlocaldata(function(a){a==null&&(a=[]),e instanceof Array?a=a.concat(e):a.push(e),l.localdata=a,n(l.localdata)})},getlocaldata:function(e){let n=this.gridKey;e(this.localdata)},clearlocaldata:function(e){let n=this.gridKey;this.localdata=[],e()},cachelocaldata:function(e){let n=this.gridKey,t=this,l=n+"__qkcache",a=t.localdata,o=a.length;if(o>1){let s=[];s[0]=a[0];for(let u=1;u<o;u++){let d=a[u],f=!0;for(let m=0;m<s.length;m++){let g=s[m];if(t.matchOpt(d,g)){s.splice(m,1,d),f=!1;break}}f&&(s=s.concat(d))}a=s}a==null||a.length==0||t.clearlocaldata(function(){localforage.setItem(l,a).then(function(){e(l,a)})})},clearcachelocaldata:function(e){let t=this.gridKey+"__qkcache";localforage.removeItem(t,function(l,a){e&&typeof e=="function"&&e()})},restorecachelocaldata:function(e){let t=this.gridKey+"__qkcache",l=this;localforage.getItem(t).then(function(a){let o=a;l.getlocaldata(function(s){s==null&&(s=[]);let u=o.concat(s);l.localdata=u,e instanceof Function&&e(l.localdata)})})},keepHighLightBox:function(){h.cooperativeEdit.checkoutData.forEach(e=>{e.index==h.currentSheetIndex&&(e.op==="enterEdit"?ya.multipleRangeShow(e.id,e.username,e.r,e.c,e.op):ya.multipleRangeShow(e.id,e.username,e.r,e.c))})}},ne=ya});var D2,U,tl=$e(()=>{Wt();Ta();ht();yt();ll();D2={info:function(e,n){$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-info").remove();let l=Q().button;$("body").append(_e(ft,{id:"luckysheet-info",addclass:"",title:e,content:n,botton:'<button class="btn btn-default luckysheet-model-close-btn">&nbsp;&nbsp;'+l.close+"&nbsp;&nbsp;</button>",style:"z-index:100003"}));let a=$("#luckysheet-info").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),o=a.outerHeight(),s=a.outerWidth(),u=$(window).width(),d=$(window).height(),f=$(document).scrollLeft(),m=$(document).scrollTop();$("#luckysheet-info").css({left:(u+f-s)/2,top:(d+m-o)/3}).show()},confirm:function(e,n,t,l,a,o){$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-confirm").remove();let u=Q().button;a==null&&(a=u.confirm),o==null&&(o=u.cancel),$("body").append(_e(ft,{id:"luckysheet-confirm",addclass:"",style:"z-index:100003",title:e,content:n,botton:'<button class="btn btn-primary luckysheet-model-conform-btn">&nbsp;&nbsp;'+a+'&nbsp;&nbsp;</button><button class="btn btn-default luckysheet-model-cancel-btn">&nbsp;&nbsp;'+o+"&nbsp;&nbsp;</button>"}));let d=$("#luckysheet-confirm").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),f=d.outerHeight(),m=d.outerWidth(),g=$(window).width(),y=$(window).height(),v=$(document).scrollLeft(),k=$(document).scrollTop();$("#luckysheet-confirm").css({left:(g+v-m)/2,top:(y+k-f)/3}).show(),d.find(".luckysheet-model-conform-btn").click(function(){typeof t=="function"&&t(),ne.keepHighLightBox(),$("#luckysheet-confirm").hide(),$("#luckysheet-modal-dialog-mask").hide()}),d.find(".luckysheet-model-cancel-btn").click(function(){typeof l=="function"&&l(),$("#luckysheet-confirm").hide(),$("#luckysheet-modal-dialog-mask").hide()})},screenshot:function(e,n,t){let a=Q().screenshot;$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-confirm").remove(),$("body").append(_e(ft,{id:"luckysheet-confirm",addclass:"",style:"z-index:100003",title:e,content:n,botton:'<a style="text-decoration:none;color:#fff;" class="download btn btn-primary luckysheet-model-conform-btn">&nbsp;&nbsp;'+a.downLoadBtn+'&nbsp;&nbsp;</a>&nbsp;&nbsp;<button class="btn btn-primary luckysheet-model-copy-btn">&nbsp;&nbsp;'+a.downLoadCopy+'&nbsp;&nbsp;</button><button class="btn btn-default luckysheet-model-cancel-btn">&nbsp;&nbsp;'+a.downLoadClose+"&nbsp;&nbsp;</button>"}));let o=$("#luckysheet-confirm").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),s=o.outerHeight(),u=o.outerWidth(),d=$(window).width(),f=$(window).height(),m=$(document).scrollLeft(),g=$(document).scrollTop();$("#luckysheet-confirm").css({left:(d+m-u)/2,top:(f+g-s)/3}).show(),o.find(".luckysheet-model-conform-btn").click(function(){fr.isIE()=="1"?alert(a.browserNotTip):(!!window.ActiveXObject||"ActiveXObject"in window)&&($("#IframeReportImg").length===0&&$('<iframe style="display:none;" id="IframeReportImg" name="IframeReportImg" onload="downloadImg();" width="0" height="0" src="about:blank"></iframe>').appendTo("body"),$("#IframeReportImg").attr("src")!=t?$("#IframeReportImg").attr("src",t):$("#IframeReportImg").src!="about:blank"&&window.frames.IframeReportImg.document.execCommand("SaveAs"))}),o.find(".luckysheet-model-cancel-btn").click(function(){$("#luckysheet-confirm").hide(),$("#luckysheet-modal-dialog-mask").hide()}),$("#luckysheet-confirm .luckysheet-model-copy-btn").click(function(){let y=new clipboard.DT;y.setData("text/html","<img src='"+t+"'>"),fr.isIE()=="1"?alert(a.rightclickTip):(clipboard.write(y),alert(a.successTip))})},chartPointConfig:function(e,n,t){$("body").append(_e(ft,{id:e,addclass:"luckysheet-chart-point-config-c",title:"\u6570\u636E\u70B9\u6279\u91CF\u8BBE\u7F6E",content:Bu,botton:'<button class="btn btn-danger luckysheet-model-save-btn">&nbsp;&nbsp;\u4FDD\u5B58\u8BBE\u7F6E&nbsp;&nbsp;</button><button class="btn btn-default luckysheet-model-close-btn">&nbsp;&nbsp;\u53D6\u6D88&nbsp;&nbsp;</button>',style:"z-index:100003;height:80%;width:80%;top:10%;left:10%;"})),$("#luckysheet-modal-dialog-mask").show();let l=$(window).width(),a=$(window).height();$("#"+e).find(".luckysheet-chart-point-config").css("height",a-160),$("#"+e).css({height:a-90,width:l-100,left:7,top:14}).show().find(".luckysheet-model-save-btn").click(function(){typeof n=="function"&&n(),$("#"+e).hide(),$("#luckysheet-modal-dialog-mask").hide()}),$("#"+e).find(".luckysheet-model-save-btn").click(function(){typeof t=="function"&&t(),$("#"+e).hide(),$("#luckysheet-modal-dialog-mask").hide()})},sheetConfig:function(){},hoverTipshowState:!1,hoverTipshowTimeOut:null,createHoverTip:function(e,n){let t=this;$(e).on("mouseover",n,function(l){t.hoverTipshowState||(clearTimeout(t.hoverTipshowTimeOut),t.hoverTipshowTimeOut=setTimeout(function(){let a=$(l.currentTarget),o=a.offset(),s=$("#luckysheet-tooltip-up"),u=a.data("tips");if((u==null||u.length==0)&&(u=a.prev().data("tips"),u==null||u.length==0))return;s.length==0&&($("body").append(Hu),s=$("#luckysheet-tooltip-up")),s.removeClass("jfk-tooltip-hide").find("div.jfk-tooltip-contentId").html(u);let d=s.outerWidth();s.find("div.jfk-tooltip-arrow").css("left",d/2);let f=o.left+(a.outerWidth()-d)/2;f<2&&(f=2,s.find("div.jfk-tooltip-arrow").css("left",a.outerWidth()/2)),s.css({top:o.top+a.outerHeight()+1,left:f})},300))}).on("mouseout",n,function(l){t.hoverTipshowState=!1,clearTimeout(t.hoverTipshowTimeOut),$("#luckysheet-tooltip-up").addClass("jfk-tooltip-hide")}).on("click",n,function(l){t.hoverTipshowState=!0,clearTimeout(t.hoverTipshowTimeOut),$("#luckysheet-tooltip-up").addClass("jfk-tooltip-hide")})},popover:function(e,n,t,l,a,o){let s=Q(),u=s.button,d=s.paint;a==null&&(a=u.close);let f='<div id="luckysheetpopover" class="luckysheetpopover"><div class="luckysheetpopover-content">'+d.start+'</div><div class="luckysheetpopover-btn">'+a+"</div></div>";$("#luckysheetpopover").remove(),$("body").append(f),$("#luckysheetpopover .luckysheetpopover-content").html(e);let m=$("#luckysheetpopover").outerWidth(),g=$("#luckysheetpopover").outerHeight(),y={};n=="topLeft"?(y.top="20px",y.left="20px"):n=="topCenter"?(y.top="20px",y.left="50%",y["margin-left"]=-m/2):n=="topRight"?(y.top="20px",y.right="20px"):n=="midLeft"?(y.top="50%",y["margin-top"]=-g/2,y.left="20px"):n=="center"?(y.top="50%",y["margin-top"]=-g/2,y.left="50%",y["margin-left"]=-m/2):n=="midRight"?(y.top="50%",y["margin-top"]=-g/2,y.right="20px"):n=="bottomLeft"?(y.bottom="20px",y.left="20px"):n=="bottomCenter"?(y.bottom="20px",y.left="50%",y["margin-left"]=-m/2):n=="bottomRight"?(y.bottom="20px",y.right="20px"):(y.top="20px",y.left="50%",y["margin-left"]=-m/2),l=="white"&&(y.background="rgba(255, 255, 255, 0.65)",y.color="#000",$("#luckysheetpopover .luckysheetpopover-btn").css({border:"1px solid #000"})),setTimeout(function(){$("#luckysheetpopover .luckysheetpopover-content").css({"margin-left":-$("#luckysheetpopover .luckysheetpopover-btn").outerWidth()/2})},1),$("#luckysheetpopover").css(y).fadeIn(),$("#luckysheetpopover .luckysheetpopover-btn").click(function(){typeof o=="function"&&o()}),t!=null&&typeof t=="number"&&setTimeout(function(){$("#luckysheetpopover").fadeOut().remove(),typeof o=="function"&&o()},t)}},U=D2});var ka,M2,Se,yr=$e(()=>{Dt();ht();qt();Pt();tl();Xt();Zt();Ml();Wt();ll();Jt();gl();yt();_l();Xe();ka=Nl(kn()),M2={fileClone:[],editorRule:null,ruleTypeHtml:function(){let e=Q().conditionformat;return`<div class="ruleTypeBox">
  2740. <div class="ruleTypeItem">
  2741. <span class="icon iconfont-luckysheet luckysheet-iconfont-youjiantou"></span>
  2742. <span>${e.ruleTypeItem1}</span>
  2743. </div>
  2744. <div class="ruleTypeItem">
  2745. <span class="icon iconfont-luckysheet luckysheet-iconfont-youjiantou"></span>
  2746. <span>${e.ruleTypeItem2}</span>
  2747. </div>
  2748. <div class="ruleTypeItem">
  2749. <span class="icon iconfont-luckysheet luckysheet-iconfont-youjiantou"></span>
  2750. <span>${e.ruleTypeItem3}</span>
  2751. </div>
  2752. <div class="ruleTypeItem">
  2753. <span class="icon iconfont-luckysheet luckysheet-iconfont-youjiantou"></span>
  2754. <span>${e.ruleTypeItem4}</span>
  2755. </div>
  2756. <div class="ruleTypeItem">
  2757. <span class="icon iconfont-luckysheet luckysheet-iconfont-youjiantou"></span>
  2758. <span>${e.ruleTypeItem5}</span>
  2759. </div>
  2760. <div class="ruleTypeItem">
  2761. <span class="icon iconfont-luckysheet luckysheet-iconfont-youjiantou"></span>
  2762. <span>${e.ruleTypeItem6}</span>
  2763. </div>
  2764. </div>`},textCellColorHtml:function(){let e=Q().conditionformat;return`<div id="textCellColor">
  2765. <div class="colorbox">
  2766. <input id="checkTextColor" type="checkbox" checked="checked">
  2767. <label for="checkTextColor">${e.textColor}\uFF1A</label>
  2768. <input id="textcolorshow" data-tips="${e.textColor}" data-func="background" class="luckysheet-conditionformat-config-color" type="text" value="#9c0006" style="display: none;">
  2769. </div>
  2770. <div class="colorbox">
  2771. <input id="checkCellColor" type="checkbox" checked="checked">
  2772. <label for="checkCellColor">${e.cellColor}\uFF1A</label>
  2773. <input id="cellcolorshow" data-tips="${e.cellColor}" data-func="background" class="luckysheet-conditionformat-config-color" type="text" value="#ffc7ce" style="display: none;">
  2774. </div>
  2775. </div>`},selectRange:[],selectStatus:!1,dataBarList:[{format:["#638ec6","#ffffff"]},{format:["#63c384","#ffffff"]},{format:["#ff555a","#ffffff"]},{format:["#ffb628","#ffffff"]},{format:["#008aef","#ffffff"]},{format:["#d6007b","#ffffff"]},{format:["#638ec6"]},{format:["#63c384"]},{format:["#ff555a"]},{format:["#ffb628"]},{format:["#008aef"]},{format:["#d6007b"]}],colorGradationList:[{format:["rgb(99, 190, 123)","rgb(255, 235, 132)","rgb(248, 105, 107)"]},{format:["rgb(248, 105, 107)","rgb(255, 235, 132)","rgb(99, 190, 123)"]},{format:["rgb(99, 190, 123)","rgb(252, 252, 255)","rgb(248, 105, 107)"]},{format:["rgb(248, 105, 107)","rgb(252, 252, 255)","rgb(99, 190, 123)"]},{format:["rgb(90, 138, 198)","rgb(252, 252, 255)","rgb(248, 105, 107)"]},{format:["rgb(248, 105, 107)","rgb(252, 252, 255)","rgb(90, 138, 198)"]},{format:["rgb(252, 252, 255)","rgb(248, 105, 107)"]},{format:["rgb(248, 105, 107)","rgb(252, 252, 255)"]},{format:["rgb(99, 190, 123)","rgb(252, 252, 255)"]},{format:["rgb(252, 252, 255)","rgb(99, 190, 123)"]},{format:["rgb(99, 190, 123)","rgb(255, 235, 132)"]},{format:["rgb(255, 235, 132)","rgb(99, 190, 123)"]}],init:function(){let e=this,n=Q().conditionformat;$(document).off("change.CFchooseSheet").on("change.CFchooseSheet","#luckysheet-administerRule-dialog .chooseSheet",function(){let t=$("#luckysheet-administerRule-dialog .chooseSheet option:selected").val();e.getConditionRuleList(t)}),$(document).off("click.CFadministerRuleItem").on("click.CFadministerRuleItem","#luckysheet-administerRule-dialog .ruleList .listBox .item",function(){$(this).addClass("on").siblings().removeClass("on")}),$(document).off("click.CFadministerRuleConfirm").on("click.CFadministerRuleConfirm","#luckysheet-administerRule-dialog-confirm",function(){if(!Rr(h.currentSheetIndex))return;let t=$.extend(!0,[],h.luckysheetfile),l=e.getHistoryRules(t),a=$.extend(!0,[],e.fileClone);for(let u=0;u<a.length;u++){let d=a[u].index;h.luckysheetfile[K(d)].luckysheet_conditionformat_save=a[K(d)].luckysheet_conditionformat_save}let o=$.extend(!0,[],h.luckysheetfile),s=e.getCurrentRules(o);if(e.ref(l,s),$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-administerRule-dialog").hide(),ne.allowUpdate){let u=$.extend(!0,[],h.luckysheetfile);for(let d=0;d<u.length;d++)ne.saveParam("all",u[d].index,u[d].luckysheet_conditionformat_save,{k:"luckysheet_conditionformat_save"})}}),$(document).off("click.CFadministerRuleClose").on("click.CFadministerRuleClose","#luckysheet-administerRule-dialog-close",function(){$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-administerRule-dialog").hide(),e.fileClone=[]}),$(document).off("click.CFadministerRuleFa").on("click.CFadministerRuleFa","#luckysheet-administerRule-dialog .item .fa-table",function(){$(this).parents("#luckysheet-administerRule-dialog").hide();let t=$("#luckysheet-administerRule-dialog .chooseSheet select option:selected").val();t!=h.currentSheetIndex&&ve.changeSheetExec(t);let l=$(this).siblings("input").val().trim(),a=$(this).parents(".item").attr("data-item");e.multiRangeDialog(a,l),e.selectRange=[];let o=e.getRangeByTxt(l);if(o.length>0)for(let s=0;s<o.length;s++){let u=o[s].row[0],d=o[s].row[1],f=o[s].column[0],m=o[s].column[1],g=h.visibledatarow[d],y=u-1==-1?0:h.visibledatarow[u-1],v=h.visibledatacolumn[m],k=f-1==-1?0:h.visibledatacolumn[f-1];e.selectRange.push({left:k,width:v-k-1,top:y,height:g-y-1,left_move:k,width_move:v-k-1,top_move:y,height_move:g-y-1,row:[u,d],column:[f,m],row_focus:u,column_focus:f})}Bt(e.selectRange)}),$(document).off("click.CFmultiRangeConfirm").on("click.CFmultiRangeConfirm","#luckysheet-multiRange-dialog-confirm",function(){$(this).parents("#luckysheet-multiRange-dialog").hide();let t=$(this).attr("data-item"),l=$(this).parents("#luckysheet-multiRange-dialog").find("input").val();$("#luckysheet-administerRule-dialog .item[data-item="+t+"] input").val(l);let a=$("#luckysheet-administerRule-dialog .chooseSheet option:selected").val();e.fileClone[K(a)].luckysheet_conditionformat_save[t].cellrange=e.getRangeByTxt(l),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-administerRule-dialog").show(),Bt([])}),$(document).off("click.CFmultiRangeClose").on("click.CFmultiRangeClose","#luckysheet-multiRange-dialog-close",function(){$(this).parents("#luckysheet-multiRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-administerRule-dialog").show(),$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide(),Bt([])}),$(document).off("click.CFnewConditionRule").on("click.CFnewConditionRule","#newConditionRule",function(){let t=$("#luckysheet-administerRule-dialog .chooseSheet option:selected").val();if(!!Rr(t)){if(h.luckysheet_select_save.length==0){de()?alert(n.pleaseSelectRange):U.info(n.pleaseSelectRange,"");return}e.newConditionRuleDialog(1)}}),$(document).off("click.CFnewConditionRuleConfirm").on("click.CFnewConditionRuleConfirm","#luckysheet-newConditionRule-dialog-confirm",function(){if(!Rr(h.currentSheetIndex))return;let t=$("#luckysheet-newConditionRule-dialog .ruleTypeItem.on").index(),l=$("#luckysheet-newConditionRule-dialog #type1 option:selected").val(),a=$("#luckysheet-newConditionRule-dialog ."+l+"Box #type2 option:selected").val(),o,s;if(t==0){if(l=="dataBar"){let d=$(this).parents("#luckysheet-newConditionRule-dialog").find(".dataBarBox .luckysheet-conditionformat-config-color").spectrum("get").toHexString();a=="gradient"?o=[d,"#ffffff"]:a=="solid"&&(o=[d]),s={type:"dataBar",cellrange:$.extend(!0,[],h.luckysheet_select_save),format:o}}else if(l=="colorGradation"){let d=$(this).parents("#luckysheet-newConditionRule-dialog").find(".colorGradationBox .maxVal .luckysheet-conditionformat-config-color").spectrum("get").toRgbString(),f=$(this).parents("#luckysheet-newConditionRule-dialog").find(".colorGradationBox .midVal .luckysheet-conditionformat-config-color").spectrum("get").toRgbString(),m=$(this).parents("#luckysheet-newConditionRule-dialog").find(".colorGradationBox .minVal .luckysheet-conditionformat-config-color").spectrum("get").toRgbString();a=="threeColor"?o=[d,f,m]:a=="twoColor"&&(o=[d,m]),s={type:"colorGradation",cellrange:$.extend(!0,[],h.luckysheet_select_save),format:o}}else if(l=="icons"){let d=$(this).parents("#luckysheet-newConditionRule-dialog").find(".iconsBox .model").attr("data-len"),f=$(this).parents("#luckysheet-newConditionRule-dialog").find(".iconsBox .model").attr("data-leftmin"),m=$(this).parents("#luckysheet-newConditionRule-dialog").find(".iconsBox .model").attr("data-top");o={len:d,leftMin:f,top:m},s={type:"icons",cellrange:$.extend(!0,[],h.luckysheet_select_save),format:o}}}else{let d="",f=[],m=[];if(t==1){if(l=="number")if(d=a,a=="betweenness"){let v=$("#luckysheet-newConditionRule-dialog #conditionVal input").val().trim(),k=$("#luckysheet-newConditionRule-dialog #conditionVal2 input").val().trim(),b=e.getRangeByTxt(v);if(b.length>1){e.infoDialog(n.onlySingleCell,"");return}else if(b.length==1){let x=b[0].row[0],C=b[0].row[1],S=b[0].column[0],_=b[0].column[1];if(x==C&&S==_)v=ze(x,S,h.flowdata),f[0]={row:b[0].row,column:b[0].column},m.push(v);else{e.infoDialog(n.onlySingleCell,"");return}}else if(b.length==0)if(isNaN(v)||v==""){e.infoDialog(n.conditionValueCanOnly,"");return}else m.push(v);let w=e.getRangeByTxt(k);if(w.length>1){e.infoDialog(n.onlySingleCell,"");return}else if(w.length==1){let x=w[0].row[0],C=w[0].row[1],S=w[0].column[0],_=w[0].column[1];if(x==C&&S==_)k=ze(x,S,h.flowdata),f[1]={row:w[0].row,column:w[0].column},m.push(k);else{e.infoDialog(n.onlySingleCell,"");return}}else if(w.length==0)if(isNaN(k)||k==""){e.infoDialog(n.conditionValueCanOnly,"");return}else m.push(k)}else{let v=$("#luckysheet-newConditionRule-dialog #conditionVal input").val().trim(),k=e.getRangeByTxt(v);if(k.length>1){e.infoDialog(n.onlySingleCell,"");return}else if(k.length==1){let b=k[0].row[0],w=k[0].row[1],x=k[0].column[0],C=k[0].column[1];if(b==w&&x==C)v=ze(b,x,h.flowdata),f.push({row:k[0].row,column:k[0].column}),m.push(v);else{e.infoDialog(n.onlySingleCell,"");return}}else if(k.length==0)if(isNaN(v)||v==""){e.infoDialog(n.conditionValueCanOnly,"");return}else m.push(v)}else if(l=="text"){d="textContains";let v=$("#luckysheet-newConditionRule-dialog #conditionVal input").val().trim(),k=e.getRangeByTxt(v);if(k.length>1){e.infoDialog(n.onlySingleCell,"");return}else if(k.length==1){let b=k[0].row[0],w=k[0].row[1],x=k[0].column[0],C=k[0].column[1];if(b==w&&x==C)v=ze(b,x,h.flowdata),f.push({row:k[0].row,column:k[0].column}),m.push(v);else{e.infoDialog(n.onlySingleCell,"");return}}else if(k.length==0)if(v==""){e.infoDialog(n.conditionValueCanOnly,"");return}else m.push(v)}else if(l=="date"){d="occurrenceDate";let v=$("#luckysheet-newConditionRule-dialog #daterange-btn").val();if(v==""||v==null){e.infoDialog(n.pleaseSelectADate,"");return}m.push(v)}}else if(t==2){l=="top"?$("#luckysheet-newConditionRule-dialog #isPercent").is(":selected")?d="top10%":d="top10":l=="last"&&($("#luckysheet-newConditionRule-dialog #isPercent").is(":selected")?d="last10%":d="last10");let v=$("#luckysheet-newConditionRule-dialog #conditionVal input").val().trim();if(parseInt(v)!=v||parseInt(v)<1||parseInt(v)>1e3){e.infoDialog(n.pleaseEnterInteger,"");return}m.push(parseInt(v))}else if(t==3)l=="AboveAverage"?(d="AboveAverage",m.push("AboveAverage")):l=="SubAverage"&&(d="SubAverage",m.push("SubAverage"));else if(t==4)d="duplicateValue",m.push(l);else if(t==5){d="formula";let v=$("#luckysheet-newConditionRule-dialog #formulaConditionVal input").val().trim();if(v==""){e.infoDialog("Condition value cannot be empty!","");return}m.push(v)}let g;$("#luckysheet-newConditionRule-dialog #checkTextColor").is(":checked")?g=$("#luckysheet-newConditionRule-dialog #textcolorshow").spectrum("get").toHexString():g=null;let y;$("#luckysheet-newConditionRule-dialog #checkCellColor").is(":checked")?y=$("#luckysheet-newConditionRule-dialog #cellcolorshow").spectrum("get").toHexString():y=null,o={textColor:g,cellColor:y},s={type:"default",cellrange:$.extend(!0,[],h.luckysheet_select_save),format:o,conditionName:d,conditionRange:f,conditionValue:m}}$("#luckysheet-newConditionRule-dialog").hide();let u=$(this).attr("data-source");if(u==0){$("#luckysheet-modal-dialog-mask").hide();let d=$.extend(!0,[],h.luckysheetfile),f=e.getHistoryRules(d),m=h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_conditionformat_save==null?[]:h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_conditionformat_save;m.push(s),h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_conditionformat_save=m;let g=$.extend(!0,[],h.luckysheetfile),y=e.getCurrentRules(g);e.ref(f,y),ne.allowUpdate&&ne.saveParam("all",h.currentSheetIndex,m,{k:"luckysheet_conditionformat_save"})}else if(u==1){let d=e.fileClone[K(h.currentSheetIndex)].luckysheet_conditionformat_save?e.fileClone[K(h.currentSheetIndex)].luckysheet_conditionformat_save:[];d.push(s),e.fileClone[K(h.currentSheetIndex)].luckysheet_conditionformat_save=d,e.administerRuleDialog()}}),$(document).off("click.CFnewConditionRuleClose").on("click.CFnewConditionRuleClose","#luckysheet-newConditionRule-dialog-close",function(){let t=$(this).attr("data-source");t==0&&$("#luckysheet-modal-dialog-mask").hide(),t==1&&$("#luckysheet-administerRule-dialog").show(),$("#luckysheet-newConditionRule-dialog").hide(),$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide()}),$(document).off("click.CFeditorConditionRule").on("click.CFeditorConditionRule","#editorConditionRule",function(){let t=$("#luckysheet-administerRule-dialog .chooseSheet option:selected").val();if(!Rr(t))return;let l=$("#luckysheet-administerRule-dialog .ruleList .listBox .item.on").attr("data-item"),a={sheetIndex:t,itemIndex:l,data:e.fileClone[K(t)].luckysheet_conditionformat_save[l]};e.editorRule=a,e.editorConditionRuleDialog()}),$(document).off("click.CFeditorConditionRuleConfirm").on("click.CFeditorConditionRuleConfirm","#luckysheet-editorConditionRule-dialog-confirm",function(){let t=$("#luckysheet-editorConditionRule-dialog .ruleTypeItem.on").index(),l=$("#luckysheet-editorConditionRule-dialog #type1 option:selected").val(),a=$("#luckysheet-editorConditionRule-dialog ."+l+"Box #type2 option:selected").val(),o=e.editorRule.data.cellrange,s,u;if(t==0){if(l=="dataBar"){let m=$(this).parents("#luckysheet-editorConditionRule-dialog").find(".dataBarBox .luckysheet-conditionformat-config-color").spectrum("get").toHexString();a=="gradient"?s=[m,"#ffffff"]:a=="solid"&&(s=[m]),u={type:"dataBar",cellrange:o,format:s}}else if(l=="colorGradation"){let m=$(this).parents("#luckysheet-editorConditionRule-dialog").find(".colorGradationBox .maxVal .luckysheet-conditionformat-config-color").spectrum("get").toRgbString(),g=$(this).parents("#luckysheet-editorConditionRule-dialog").find(".colorGradationBox .midVal .luckysheet-conditionformat-config-color").spectrum("get").toRgbString(),y=$(this).parents("#luckysheet-editorConditionRule-dialog").find(".colorGradationBox .minVal .luckysheet-conditionformat-config-color").spectrum("get").toRgbString();a=="threeColor"?s=[m,g,y]:a=="twoColor"&&(s=[m,y]),u={type:"colorGradation",cellrange:o,format:s}}else if(l=="icons"){let m=$(this).parents("#luckysheet-editorConditionRule-dialog").find(".iconsBox .model").attr("data-len"),g=$(this).parents("#luckysheet-editorConditionRule-dialog").find(".iconsBox .model").attr("data-leftmin"),y=$(this).parents("#luckysheet-editorConditionRule-dialog").find(".iconsBox .model").attr("data-top");s={len:m,leftMin:g,top:y},u={type:"icons",cellrange:o,format:s}}}else{let m="",g=[],y=[];if(t==1){if(l=="number")if(m=a,a=="betweenness"){let b=$("#luckysheet-editorConditionRule-dialog #conditionVal input").val().trim(),w=$("#luckysheet-editorConditionRule-dialog #conditionVal2 input").val().trim(),x=e.getRangeByTxt(b);if(x.length>1){e.infoDialog(n.onlySingleCell,"");return}else if(x.length==1){let S=x[0].row[0],_=x[0].row[1],T=x[0].column[0],A=x[0].column[1];if(S==_&&T==A)b=ze(S,T,h.flowdata),g[0]={row:x[0].row,column:x[0].column},y.push(b);else{e.infoDialog(n.onlySingleCell,"");return}}else if(x.length==0)if(isNaN(b)||b==""){e.infoDialog(n.conditionValueCanOnly,"");return}else y.push(b);let C=e.getRangeByTxt(w);if(C.length>1){e.infoDialog(n.onlySingleCell,"");return}else if(C.length==1){let S=C[0].row[0],_=C[0].row[1],T=C[0].column[0],A=C[0].column[1];if(S==_&&T==A)w=ze(S,T,h.flowdata),g[1]={row:C[0].row,column:C[0].column},y.push(w);else{e.infoDialog(n.onlySingleCell,"");return}}else if(C.length==0)if(isNaN(w)||w==""){e.infoDialog(n.conditionValueCanOnly,"");return}else y.push(w)}else{let b=$("#luckysheet-editorConditionRule-dialog #conditionVal input").val().trim(),w=e.getRangeByTxt(b);if(w.length>1){e.infoDialog(n.onlySingleCell,"");return}else if(w.length==1){let x=w[0].row[0],C=w[0].row[1],S=w[0].column[0],_=w[0].column[1];if(x==C&&S==_)b=ze(x,S,h.flowdata),g.push({row:w[0].row,column:w[0].column}),y.push(b);else{e.infoDialog(n.onlySingleCell,"");return}}else if(w.length==0)if(isNaN(b)||b==""){e.infoDialog(n.conditionValueCanOnly,"");return}else y.push(b)}else if(l=="text"){m="textContains";let b=$("#luckysheet-editorConditionRule-dialog #conditionVal input").val().trim(),w=e.getRangeByTxt(b);if(w.length>1){e.infoDialog(n.onlySingleCell,"");return}else if(w.length==1){let x=w[0].row[0],C=w[0].row[1],S=w[0].column[0],_=w[0].column[1];if(x==C&&S==_)b=ze(x,S,h.flowdata),g.push({row:w[0].row,column:w[0].column}),y.push(b);else{e.infoDialog(n.onlySingleCell,"");return}}else if(w.length==0)if(isNaN(b)||b==""){e.infoDialog(n.conditionValueCanOnly,"");return}else y.push(b)}else if(l=="date"){m="occurrenceDate";let b=$("#luckysheet-editorConditionRule-dialog #daterange-btn").val();if(b==""||b==null){e.infoDialog(n.pleaseSelectADate,"");return}y.push(b)}}else if(t==2){l=="top"?$("#luckysheet-editorConditionRule-dialog #isPercent").is(":selected")?m="top10%":m="top10":l=="last"&&($("#luckysheet-editorConditionRule-dialog #isPercent").is(":selected")?m="last10%":m="last10");let b=$("#luckysheet-editorConditionRule-dialog #conditionVal input").val().trim();if(parseInt(b)!=b||parseInt(b)<1||parseInt(b)>1e3){e.infoDialog(n.pleaseEnterInteger,"");return}y.push(b)}else if(t==3)l=="AboveAverage"?(m="AboveAverage",y.push("AboveAverage")):l=="SubAverage"&&(m="SubAverage",y.push("SubAverage"));else if(t==4)m="duplicateValue",y.push(l);else if(t==5){m="formula";let b=$("#luckysheet-editorConditionRule-dialog #formulaConditionVal input").val().trim();if(console.log(b),b==""){e.infoDialog("Condition value cannot be empty!","");return}y.push(b)}let v;$("#luckysheet-editorConditionRule-dialog #checkTextColor").is(":checked")?v=$("#luckysheet-editorConditionRule-dialog #textcolorshow").spectrum("get").toHexString():v=null;let k;$("#luckysheet-editorConditionRule-dialog #checkCellColor").is(":checked")?k=$("#luckysheet-editorConditionRule-dialog #cellcolorshow").spectrum("get").toHexString():k=null,s={textColor:v,cellColor:k},u={type:"default",cellrange:o,format:s,conditionName:m,conditionRange:g,conditionValue:y}}let d=e.editorRule.sheetIndex,f=e.editorRule.itemIndex;e.fileClone[K(d)].luckysheet_conditionformat_save[f]=u,$("#luckysheet-editorConditionRule-dialog").hide(),e.administerRuleDialog()}),$(document).off("click.CFeditorConditionRuleClose").on("click.CFeditorConditionRuleClose","#luckysheet-editorConditionRule-dialog-close",function(){$("#luckysheet-editorConditionRule-dialog").hide(),$("#luckysheet-administerRule-dialog").show(),$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide()}),$(document).off("click.CFnewEditorRuleItem").on("click.CFnewEditorRuleItem",".luckysheet-newEditorRule-dialog .ruleTypeItem",function(){$(this).addClass("on").siblings().removeClass("on");let t=$(this).index();$(this).parents(".luckysheet-newEditorRule-dialog").find(".ruleExplainBox").html(e.getRuleExplain(t)),e.colorSelectInit()}),$(document).off("change.CFnewEditorRuleType1").on("change.CFnewEditorRuleType1",".luckysheet-newEditorRule-dialog #type1",function(){let t=$(this).find("option:selected").val();(t=="dataBar"||t=="colorGradation"||t=="icons"||t=="number"||t=="text"||t=="date")&&$(this).parents(".luckysheet-newEditorRule-dialog").find("."+t+"Box").show().siblings().hide(),t=="date"&&e.daterangeInit($(this).parents(".luckysheet-newEditorRule-dialog").attr("id"))}),$(document).off("change.CFnewEditorRuleType2").on("change.CFnewEditorRuleType2",".luckysheet-newEditorRule-dialog #type2",function(){let t=$(this).parents(".luckysheet-newEditorRule-dialog").find("#type1 option:selected").val();t=="colorGradation"?$(this).find("option:selected").val()=="threeColor"?$(this).parents(".luckysheet-newEditorRule-dialog").find(".midVal").show():$(this).parents(".luckysheet-newEditorRule-dialog").find(".midVal").hide():t=="number"&&($(this).find("option:selected").val()=="betweenness"?($(this).parents(".luckysheet-newEditorRule-dialog").find(".txt").show(),$(this).parents(".luckysheet-newEditorRule-dialog").find("#conditionVal2").show()):($(this).parents(".luckysheet-newEditorRule-dialog").find(".txt").hide(),$(this).parents(".luckysheet-newEditorRule-dialog").find("#conditionVal2").hide()))}),$(document).off("click.CFiconsShowbox").on("click.CFiconsShowbox",".luckysheet-newEditorRule-dialog .iconsBox .showbox",function(){$(this).parents(".iconsBox").find("ul").toggle()}),$(document).off("click.CFiconsLi").on("click.CFiconsLi",".luckysheet-newEditorRule-dialog .iconsBox li",function(){let t=$(this).find("div").attr("data-len"),l=$(this).find("div").attr("data-leftmin"),a=$(this).find("div").attr("data-top"),o=$(this).find("div").attr("title"),s=$(this).find("div").css("background-position");$(this).parents(".iconsBox").find(".showbox .model").css("background-position",s),$(this).parents(".iconsBox").find(".showbox .model").attr("data-len",t),$(this).parents(".iconsBox").find(".showbox .model").attr("data-leftmin",l),$(this).parents(".iconsBox").find(".showbox .model").attr("data-top",a),$(this).parents(".iconsBox").find(".showbox .model").attr("title",o),$(this).parents("ul").hide()}),$(document).off("click.CFdeleteConditionRule").on("click.CFdeleteConditionRule","#deleteConditionRule",function(){let t=$("#luckysheet-administerRule-dialog .chooseSheet option:selected").val();if(!Rr(t))return;let l=$("#luckysheet-administerRule-dialog .ruleList .listBox .item.on").attr("data-item");e.fileClone[K(t)].luckysheet_conditionformat_save.splice(l,1),e.administerRuleDialog()}),$(document).off("click.CFdefault").on("click.CFdefault","#luckysheet-conditionformat-dialog-confirm",function(){if(!Rr(h.currentSheetIndex))return;let t=$("#luckysheet-conditionformat-dialog .box").attr("data-itemvalue"),l=[],a=[];if(t=="greaterThan"||t=="lessThan"||t=="equal"||t=="textContains"){let v=$("#luckysheet-conditionformat-dialog #conditionVal").val().trim(),k=e.getRangeByTxt(v);if(k.length>1){e.infoDialog(n.onlySingleCell,"");return}else if(k.length==1){let b=k[0].row[0],w=k[0].row[1],x=k[0].column[0],C=k[0].column[1];if(b==w&&x==C)v=ze(b,x,h.flowdata),l.push({row:k[0].row,column:k[0].column}),a.push(v);else{e.infoDialog(n.onlySingleCell,"");return}}else if(k.length==0)if(isNaN(v)||v==""){e.infoDialog(n.conditionValueCanOnly,"");return}else a.push(v)}else if(t=="betweenness"){let v=$("#luckysheet-conditionformat-dialog #conditionVal").val().trim(),k=$("#luckysheet-conditionformat-dialog #conditionVal2").val().trim(),b=e.getRangeByTxt(v);if(b.length>1){e.infoDialog(n.onlySingleCell,"");return}else if(b.length==1){let x=b[0].row[0],C=b[0].row[1],S=b[0].column[0],_=b[0].column[1];if(x==C&&S==_)v=ze(x,S,h.flowdata),l[0]={row:b[0].row,column:b[0].column},a.push(v);else{e.infoDialog(n.onlySingleCell,"");return}}else if(b.length==0)if(isNaN(v)||v==""){e.infoDialog(n.conditionValueCanOnly,"");return}else a.push(v);let w=e.getRangeByTxt(k);if(w.length>1){e.infoDialog(n.onlySingleCell,"");return}else if(w.length==1){let x=w[0].row[0],C=w[0].row[1],S=w[0].column[0],_=w[0].column[1];if(x==C&&S==_)k=ze(x,S,h.flowdata),l[1]={row:w[0].row,column:w[0].column},a.push(k);else{e.infoDialog(n.onlySingleCell,"");return}}else if(w.length==0)if(isNaN(k)||k==""){e.infoDialog(n.conditionValueCanOnly,"");return}else a.push(k)}else if(t=="occurrenceDate"){let v=$("#luckysheet-conditionformat-dialog #daterange-btn").val();if(v==""||v==null){e.infoDialog(n.pleaseSelectADate,"");return}a.push(v)}else if(t=="duplicateValue")a.push($("#luckysheet-conditionformat-dialog #conditionVal option:selected").val());else if(t=="top10"||t=="top10%"||t=="last10"||t=="last10%"){let v=$("#luckysheet-conditionformat-dialog #conditionVal").val().trim();if(parseInt(v)!=v||parseInt(v)<1||parseInt(v)>1e3){e.infoDialog(n.pleaseEnterInteger,"");return}a.push(v)}else t=="AboveAverage"?a.push("AboveAverage"):t=="SubAverage"&&a.push("SubAverage");let o;$("#checkTextColor").is(":checked")?o=$("#textcolorshow").spectrum("get").toHexString():o=null;let s;$("#checkCellColor").is(":checked")?s=$("#cellcolorshow").spectrum("get").toHexString():s=null;let u=$.extend(!0,[],h.luckysheetfile),d=e.getHistoryRules(u),f={type:"default",cellrange:$.extend(!0,[],h.luckysheet_select_save),format:{textColor:o,cellColor:s},conditionName:t,conditionRange:l,conditionValue:a},m=h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_conditionformat_save==null?[]:h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_conditionformat_save;m.push(f),h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_conditionformat_save=m;let g=$.extend(!0,[],h.luckysheetfile),y=e.getCurrentRules(g);e.ref(d,y),$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-conditionformat-dialog").hide(),ne.allowUpdate&&ne.saveParam("all",h.currentSheetIndex,m,{k:"luckysheet_conditionformat_save"})}),$(document).off("click.CFicons").on("click.CFicons","#luckysheet-CFicons-dialog .item",function(){if($("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-CFicons-dialog").hide(),h.luckysheet_select_save.length>0){let t=$.extend(!0,[],h.luckysheet_select_save),l={len:$(this).attr("data-len"),leftMin:$(this).attr("data-leftMin"),top:$(this).attr("data-top")};e.updateItem("icons",t,l)}}),$(document).on("click",".range .fa-table",function(){let t=$(this).parents(".luckysheet-modal-dialog").attr("id");$("#"+t).hide();let l;if(t=="luckysheet-conditionformat-dialog")$(this).siblings("input").attr("id")=="conditionVal"?l="0_1":l="0_2";else if(t=="luckysheet-newConditionRule-dialog"){let o=$(this).parents(".range").attr("id");o=="formulaConditionVal"?l="1_0":o=="conditionVal"?l="1_1":l="1_2"}else if(t=="luckysheet-editorConditionRule-dialog"){let o=$(this).parents(".range").attr("id");o=="formulaConditionVal"?l="2_0":o=="conditionVal"?l="2_1":l="2_2"}let a=$(this).siblings("input").val();e.singleRangeDialog(l,a),Bt(e.getRangeByTxt(a))}),$(document).on("click","#luckysheet-singleRange-dialog-confirm",function(){$("#luckysheet-modal-dialog-mask").show(),$(this).parents("#luckysheet-singleRange-dialog").hide();let t=$(this).attr("data-source"),l=$(this).parents("#luckysheet-singleRange-dialog").find("input").val();t=="0_1"?($("#luckysheet-conditionformat-dialog").show(),$("#luckysheet-conditionformat-dialog #conditionVal").val(l)):t=="0_2"?($("#luckysheet-conditionformat-dialog").show(),$("#luckysheet-conditionformat-dialog #conditionVal2").val(l)):t=="1_0"?($("#luckysheet-newConditionRule-dialog").show(),$("#luckysheet-newConditionRule-dialog #formulaConditionVal input").val(l)):t=="1_1"?($("#luckysheet-newConditionRule-dialog").show(),$("#luckysheet-newConditionRule-dialog #conditionVal input").val(l)):t=="1_2"?($("#luckysheet-newConditionRule-dialog").show(),$("#luckysheet-newConditionRule-dialog #conditionVal2 input").val(l)):t=="2_0"?($("#luckysheet-editorConditionRule-dialog").show(),$("#luckysheet-editorConditionRule-dialog #formulaConditionVal input").val(l)):t=="2_1"?($("#luckysheet-editorConditionRule-dialog").show(),$("#luckysheet-editorConditionRule-dialog #conditionVal input").val(l)):t=="2_2"&&($("#luckysheet-editorConditionRule-dialog").show(),$("#luckysheet-editorConditionRule-dialog #conditionVal2 input").val(l)),Bt([])}),$(document).on("click","#luckysheet-singleRange-dialog-close",function(){$("#luckysheet-modal-dialog-mask").show(),$(this).parents("#luckysheet-singleRange-dialog").hide();let t=$(this).attr("data-source");t=="0_1"||t=="0_2"?$("#luckysheet-conditionformat-dialog").show():t=="1_0"||t=="1_1"||t=="1_2"?$("#luckysheet-newConditionRule-dialog").show():(t=="2_0"||t=="2_1"||t=="2_2")&&$("#luckysheet-editorConditionRule-dialog").show(),Bt([])}),$(document).on("click",".luckysheet-modal-dialog-title-close",function(){let t=$(this).parents(".luckysheet-modal-dialog").attr("id");if(t=="luckysheet-newConditionRule-dialog"&&$("#"+t).find("#luckysheet-newConditionRule-dialog-close").attr("data-source")==1&&$("#luckysheet-administerRule-dialog").show(),t=="luckysheet-editorConditionRule-dialog"&&$("#luckysheet-administerRule-dialog").show(),t=="luckysheet-singleRange-dialog"){$("#luckysheet-modal-dialog-mask").show();let l=$(this).parents("#luckysheet-singleRange-dialog").find("#luckysheet-singleRange-dialog-confirm").attr("data-source");l=="0_1"||l=="0_2"?$("#luckysheet-conditionformat-dialog").show():l=="1_1"||l=="1_2"?$("#luckysheet-newConditionRule-dialog").show():(l=="2_1"||l=="2_2")&&$("#luckysheet-editorConditionRule-dialog").show(),Bt([])}t=="luckysheet-multiRange-dialog"&&($("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-administerRule-dialog").show(),Bt([])),t=="luckysheet-conditionformat-info-dialog"&&$("#luckysheet-modal-dialog-mask").show()}),$(document).on("click","#luckysheet-conditionformat-info-dialog-close",function(){$(this).parents("#luckysheet-conditionformat-info-dialog").hide()})},singleRangeDialog:function(e,n){$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-singleRange-dialog").remove();let t=Q().conditionformat;$("body").append(_e(ft,{id:"luckysheet-singleRange-dialog",addclass:"luckysheet-singleRange-dialog",title:t.selectCell,content:`<input readonly="readonly" placeholder="${t.pleaseSelectCell}" value="${n}"/>`,botton:`<button id="luckysheet-singleRange-dialog-confirm" class="btn btn-primary" data-source="${e}">${t.confirm}</button>
  2776. <button id="luckysheet-singleRange-dialog-close" class="btn btn-default" data-source="${e}">${t.cancel}</button>`,style:"z-index:100003"}));let l=$("#luckysheet-singleRange-dialog").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),a=l.outerHeight(),o=l.outerWidth(),s=$(window).width(),u=$(window).height(),d=$(document).scrollLeft(),f=$(document).scrollTop();$("#luckysheet-singleRange-dialog").css({left:(s+d-o)/2,top:(u+f-a)/3}).show()},multiRangeDialog:function(e,n){let t=this;$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-multiRange-dialog").remove();let l=Q().conditionformat;$("body").append(_e(ft,{id:"luckysheet-multiRange-dialog",addclass:"luckysheet-multiRange-dialog",title:l.selectRange,content:`<input readonly="readonly" placeholder="${l.pleaseSelectRange}" value="${n}"/>`,botton:`<button id="luckysheet-multiRange-dialog-confirm" class="btn btn-primary" data-item="${e}">${l.confirm}</button>
  2777. <button id="luckysheet-multiRange-dialog-close" class="btn btn-default">${l.cancel}</button>`,style:"z-index:100003"}));let a=$("#luckysheet-multiRange-dialog").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),o=a.outerHeight(),s=a.outerWidth(),u=$(window).width(),d=$(window).height(),f=$(document).scrollLeft(),m=$(document).scrollTop();$("#luckysheet-multiRange-dialog").css({left:(u+f-s)/2,top:(d+m-o)/3}).show(),Bt(t.getRangeByTxt(n))},getTxtByRange:function(e){if(e.length>0){let n=[];for(let t=0;t<e.length;t++){let l=e[t].row[0],a=e[t].row[1],o=e[t].column[0],s=e[t].column[1];n.push(wt(h.currentSheetIndex,{row:[l,a],column:[o,s]},h.currentSheetIndex))}return n.join(",")}},getRangeByTxt:function(e){let n=[];if(e=e.toString(),e.indexOf(",")!=-1){let t=e.split(",");for(let l=0;l<t.length;l++)if(p.iscelldata(t[l]))n.push(p.getcellrange(t[l]));else{n=[];break}}else p.iscelldata(e)&&n.push(p.getcellrange(e));return n},colorSelectInit:function(){let e=Q().conditionformat;$(".luckysheet-conditionformat-config-color").spectrum({showPalette:!0,showPaletteOnly:!0,preferredFormat:"hex",clickoutFiresChange:!1,showInitial:!0,showInput:!0,hideAfterPaletteSelect:!0,showSelectionPalette:!0,maxPaletteSize:8,maxSelectionSize:8,cancelText:e.cancel,chooseText:e.confirmColor,togglePaletteMoreText:"\u81EA\u5B9A\u4E49",togglePaletteLessText:"\u6536\u8D77",togglePaletteOnly:!0,clearText:e.clearColorSelect,noColorSelectedText:"\u6CA1\u6709\u989C\u8272\u88AB\u9009\u62E9",localStorageKey:"spectrum.textcolor"+ne.gridKey,palette:[["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc"],["#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd"],["#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0"],["#c00","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79"],["#900","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47"],["#600","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]],change:function(n){n!=null&&(n=n.toHexString())}})},conditionformatDialog:function(e,n){let t=this;$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-conditionformat-dialog").remove();let l=Q().conditionformat;$("body").append(_e(ft,{id:"luckysheet-conditionformat-dialog",addclass:"luckysheet-conditionformat-dialog",title:e,content:n,botton:`<button id="luckysheet-conditionformat-dialog-confirm" class="btn btn-primary">${l.confirm}</button>
  2778. <button class="btn btn-default luckysheet-model-close-btn">${l.cancel}</button>`,style:"z-index:9999"}));let a=$("#luckysheet-conditionformat-dialog").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),o=a.outerHeight(),s=a.outerWidth(),u=$(window).width(),d=$(window).height(),f=$(document).scrollLeft(),m=$(document).scrollTop();$("#luckysheet-conditionformat-dialog").css({left:(u+f-s)/2,top:(d+m-o)/3}).show(),t.init(),t.colorSelectInit(),e==Q().conditionformat.conditionformat_occurrenceDate&&t.daterangeInit("luckysheet-conditionformat-dialog")},CFiconsDialog:function(){$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-CFicons-dialog").remove();let e=Q().conditionformat,n=`<div class="box">
  2779. <div style="margin-bottom: 10px;">${e.pleaseSelectIcon}</div>
  2780. <div class="title">${e.direction}</div>
  2781. <div class="list">
  2782. <div class="left">
  2783. <div class="item" data-len="3" data-leftMin="0" data-top="0" title="${e.threeWayArrow}(${e.multicolor})"><div style="background-position:0 0;"></div></div>
  2784. <div class="item" data-len="3" data-leftMin="0" data-top="1" title="${e.threeTriangles}"><div style="background-position:0 -20px;"></div></div>
  2785. <div class="item" data-len="4" data-leftMin="0" data-top="2" title="${e.fourWayArrow}(${e.multicolor})"><div style="background-position:0 -40px;"></div></div>
  2786. <div class="item" data-len="5" data-leftMin="0" data-top="3" title="${e.fiveWayArrow}(${e.multicolor})"><div style="background-position:0 -60px;"></div></div>
  2787. </div>
  2788. <div class="right">
  2789. <div class="item" data-len="3" data-leftMin="5" data-top="0" title="${e.threeWayArrow}(${e.grayColor})"><div style="background-position:-131px 0;"></div></div>
  2790. <div class="item" data-len="4" data-leftMin="5" data-top="1" title="${e.fourWayArrow}(${e.grayColor})"><div style="background-position:-131px -20px;"></div></div>
  2791. <div class="item" data-len="5" data-leftMin="5" data-top="2" title="${e.fiveWayArrow}(${e.grayColor})"><div style="background-position:-131px -40px;"></div></div>
  2792. </div>
  2793. <div style="clear:both;"></div>
  2794. </div>
  2795. <div class="title">${e.shape}</div>
  2796. <div class="list">
  2797. <div class="left">
  2798. <div class="item" data-len="3" data-leftMin="0" data-top="4" title="${e.threeColorTrafficLight}(${e.rimless})"><div style="background-position:0 -80px;"></div></div>
  2799. <div class="item" data-len="3" data-leftMin="0" data-top="5" title="${e.threeSigns}"><div style="background-position:0 -100px;"></div></div>
  2800. <div class="item" data-len="4" data-leftMin="0" data-top="6" title="${e.greenRedBlackGradient}"><div style="background-position:0 -120px;"></div></div>
  2801. </div>
  2802. <div class="right">
  2803. <div class="item" data-len="3" data-leftMin="5" data-top="4" title="${e.threeColorTrafficLight}(${e.bordered})"><div style="background-position:-131px -80px;"></div></div>
  2804. <div class="item" data-len="4" data-leftMin="5" data-top="5" title="${e.fourColorTrafficLight}"><div style="background-position:-131px -100px;"></div></div>
  2805. </div>
  2806. <div style="clear:both;"></div>
  2807. </div>
  2808. <div class="title">${e.mark}</div>
  2809. <div class="list">
  2810. <div class="left">
  2811. <div class="item" data-len="3" data-leftMin="0" data-top="7" title="${e.threeSymbols}(${e.circled})"><div style="background-position:0 -140px;"></div></div>
  2812. <div class="item" data-len="3" data-leftMin="0" data-top="8" title="${e.tricolorFlag}"><div style="background-position:0 -160px;"></div></div>
  2813. </div>
  2814. <div class="right">
  2815. <div class="item" data-len="3" data-leftMin="5" data-top="7" title="${e.threeSymbols}(${e.noCircle})"><div style="background-position:-131px -140px;"></div></div>
  2816. </div>
  2817. <div style="clear:both;"></div>
  2818. </div>
  2819. <div class="title">${e.grade}</div>
  2820. <div class="list">
  2821. <div class="left">
  2822. <div class="item" data-len="3" data-leftMin="0" data-top="9" title="${e.threeStars}"><div style="background-position:0 -180px;"></div></div>
  2823. <div class="item" data-len="5" data-leftMin="0" data-top="10" title="${e.fiveQuadrantDiagram}"><div style="background-position:0 -200px;"></div></div>
  2824. <div class="item" data-len="5" data-leftMin="0" data-top="11" title="${e.fiveBoxes}"><div style="background-position:0 -220px;"></div></div>
  2825. </div>
  2826. <div class="right">
  2827. <div class="item" data-len="4" data-leftMin="5" data-top="9" title="${e.grade4}"><div style="background-position:-131px -180px;"></div></div>
  2828. <div class="item" data-len="5" data-leftMin="5" data-top="10" title="${e.grade5}"><div style="background-position:-131px -200px;"></div></div>
  2829. </div>
  2830. <div style="clear:both;"></div>
  2831. </div>
  2832. </div>`;$("body").append(_e(ft,{id:"luckysheet-CFicons-dialog",addclass:"luckysheet-CFicons-dialog",title:e.icons,content:n,botton:`<button class="btn btn-default luckysheet-model-close-btn">${e.close}</button>`,style:"z-index:100003"}));let t=$("#luckysheet-CFicons-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),l=t.outerHeight(),a=t.outerWidth(),o=$(window).width(),s=$(window).height(),u=$(document).scrollLeft(),d=$(document).scrollTop();$("#luckysheet-CFicons-dialog").css({left:(o+u-a)/2,top:(s+d-l)/3}).show()},administerRuleDialog:function(){$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-administerRule-dialog").remove();let e=Q().conditionformat,n="";for(let g=0;g<h.luckysheetfile.length;g++)h.luckysheetfile[g].status=="1"?n+=`<option value="${h.luckysheetfile[g].index}" selected="selected">
  2833. ${e.currentSheet}\uFF1A${h.luckysheetfile[g].name}
  2834. </option>`:n+=`<option value="${h.luckysheetfile[g].index}">
  2835. ${e.sheet}\uFF1A${h.luckysheetfile[g].name}
  2836. </option>`;let t=`<div class="chooseSheet">
  2837. <label>${e.showRules}\uFF1A</label>
  2838. <select>${n}</select>
  2839. </div>
  2840. <div class="ruleBox">
  2841. <div class="ruleBtn">
  2842. <button id="newConditionRule" class="btn btn-default">${e.newRule}</button>
  2843. <button id="editorConditionRule" class="btn btn-default">${e.editRule}</button>
  2844. <button id="deleteConditionRule" class="btn btn-default">${e.deleteRule}</button>
  2845. </div>
  2846. <div class="ruleList">
  2847. <div class="listTitle">
  2848. <span>${e.rule}</span>
  2849. <span>${e.format}</span>
  2850. <span>${e.applyRange}</span>
  2851. </div>
  2852. <div class="listBox"></div>
  2853. </div>
  2854. </div>`;$("body").append(_e(ft,{id:"luckysheet-administerRule-dialog",addclass:"luckysheet-administerRule-dialog",title:e.conditionformatManageRules,content:t,botton:`<button id="luckysheet-administerRule-dialog-confirm" class="btn btn-primary">${e.confirm}</button>
  2855. <button id="luckysheet-administerRule-dialog-close" class="btn btn-default">${e.close}</button>`,style:"z-index:100003"}));let l=$("#luckysheet-administerRule-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),a=l.outerHeight(),o=l.outerWidth(),s=$(window).width(),u=$(window).height(),d=$(document).scrollLeft(),f=$(document).scrollTop();$("#luckysheet-administerRule-dialog").css({left:(s+d-o)/2,top:(u+f-a)/3}).show();let m=$("#luckysheet-administerRule-dialog .chooseSheet option:selected").val();this.getConditionRuleList(m)},getConditionRuleList:function(e){let n=this;$("#luckysheet-administerRule-dialog .ruleList .listBox").empty();let t=n.fileClone[K(e)].luckysheet_conditionformat_save;if(t!=null&&t.length>0){let l=Q().conditionformat;for(let a=0;a<t.length;a++){let o=t[a].type,s=t[a].format,u=t[a].cellrange,d,f="";o=="dataBar"?(d=l.dataBar,f='<canvas width="46" height="18" style="width: 46px;height: 18px;margin: 3px 0 0 5px;"></canvas>'):o=="colorGradation"?(d=l.colorGradation,f='<canvas width="46" height="18" style="width: 46px;height: 18px;margin: 3px 0 0 5px;"></canvas>'):o=="icons"?(d=l.icons,f='<canvas width="46" height="18" style="width: 46px;height: 18px;margin: 3px 0 0 5px;"></canvas>'):(d=n.getConditionRuleName(t[a].conditionName,t[a].conditionRange,t[a].conditionValue),s.textColor!=null&&(f+='<span class="colorbox" title="'+l.textColor+'" style="background-color:'+s.textColor+'"></span>'),s.cellColor!=null&&(f+='<span class="colorbox" title="'+l.cellColor+'" style="background-color:'+s.cellColor+'"></span>'));let m=[];for(let y=0;y<u.length;y++){let v=u[y].row[0],k=u[y].row[1],b=u[y].column[0],w=u[y].column[1];m.push(lt(b)+(v+1)+":"+lt(w)+(k+1))}let g='<div class="item" data-item="'+a+'"><div class="ruleName" title="'+d+'">'+d+'</div><div class="format">'+f+'</div><div class="ruleRange"><input class="formulaInputFocus" readonly="true" value="'+m.join(",")+'"/><i class="fa fa-table" aria-hidden="true" title="'+l.selectRange+'"></i></div></div>';$("#luckysheet-administerRule-dialog .ruleList .listBox").prepend(g)}$("#luckysheet-administerRule-dialog .ruleList .listBox .item canvas").each(function(a){let o=$(this).closest(".item").attr("data-item"),s=t[o].type,u=t[o].format,d=$(this).get(0).getContext("2d");if(s=="dataBar")if(u.length==2){let f=d.createLinearGradient(0,0,46,0);f.addColorStop(0,u[0]),f.addColorStop(1,u[1]),d.fillStyle=f,d.fillRect(0,0,46,18),d.beginPath(),d.moveTo(0,0),d.lineTo(0,18),d.lineTo(46,18),d.lineTo(46,0),d.lineTo(0,0),d.lineWidth=h.devicePixelRatio,d.strokeStyle=u[0],d.stroke(),d.closePath()}else u.length==1&&(d.fillStyle=u[0],d.fillRect(0,0,46,18),d.beginPath(),d.moveTo(0,0),d.lineTo(0,18),d.lineTo(46,18),d.lineTo(46,0),d.lineTo(0,0),d.lineWidth=h.devicePixelRatio,d.strokeStyle=u[0],d.stroke(),d.closePath());else if(s=="colorGradation"){let f=d.createLinearGradient(0,0,46,0);u.length==3?(f.addColorStop(0,u[0]),f.addColorStop(.5,u[1]),f.addColorStop(1,u[2])):u.length==2&&(f.addColorStop(0,u[0]),f.addColorStop(1,u[1])),d.fillStyle=f,d.fillRect(0,0,46,18)}else if(s=="icons"){let f=u.len,m=u.leftMin,g=u.top,y=32*f+10*(f-1),v=32,k=46,b=46*32/y;m=="0"?d.drawImage(Ca,0,g*32,y,v,0,(18-b)/2,k,b):m=="5"&&d.drawImage(Ca,210,g*32,y,v,0,(18-b)/2,k,b)}}),$("#luckysheet-administerRule-dialog .ruleList .listBox .item").eq(0).addClass("on")}},getConditionRuleName:function(e,n,t){let l;n[0]!=null?l=lt(n[0].column[0])+(n[0].row[0]+1):l=t[0];let a=Q().conditionformat;if(e=="greaterThan")return a.cellValue+" > "+l;if(e=="lessThan")return a.cellValue+" < "+l;if(e=="betweenness"){let o;return n[1]!=null?o=lt(n[1].column[0])+(n[1].row[0]+1):o=t[1],a.cellValue+" "+a.between+" "+l+" "+a.in+" "+o+" "+a.between2}else{if(e=="equal")return a.cellValue+" = "+l;if(e=="textContains")return a.cellValue+a.contain+" ="+l;if(e=="occurrenceDate")return t;if(e=="duplicateValue"){if(t=="0")return a.duplicateValue;if(t=="1")return a.uniqueValue}else{if(e=="top10")return a.top+" "+l+" "+a.oneself;if(e=="top10%")return a.top+" "+l+"% "+a.oneself;if(e=="last10")return a.last+" "+l+" "+a.oneself;if(e=="last10%")return a.last+" "+l+"% "+a.oneself;if(e=="AboveAverage")return a.aboveAverage;if(e=="SubAverage")return a.belowAverage;if(e=="formula")return l.slice(0,1)!="="&&(l="="+l),a.formula+": "+l}}},newConditionRuleDialog:function(e){let n=this,t=Q().conditionformat,l=n.getRuleExplain(0);$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-administerRule-dialog").hide(),$("#luckysheet-newConditionRule-dialog").remove();let a='<div><div class="boxTitle">'+t.chooseRuleType+"\uFF1A</div>"+n.ruleTypeHtml()+'<div class="boxTitle">'+t.editRuleDescription+'\uFF1A</div><div class="ruleExplainBox">'+l+"</div></div>";$("body").append(_e(ft,{id:"luckysheet-newConditionRule-dialog",addclass:"luckysheet-newEditorRule-dialog",title:t.newFormatRule,content:a,botton:`<button id="luckysheet-newConditionRule-dialog-confirm" class="btn btn-primary" data-source="${e}">${t.confirm}</button>
  2856. <button id="luckysheet-newConditionRule-dialog-close" class="btn btn-default" data-source="${e}">${t.cancel}</button>`,style:"z-index:100003"}));let o=$("#luckysheet-newConditionRule-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),s=o.outerHeight(),u=o.outerWidth(),d=$(window).width(),f=$(window).height(),m=$(document).scrollLeft(),g=$(document).scrollTop();$("#luckysheet-newConditionRule-dialog").css({left:(d+m-u)/2,top:(f+g-s)/3}).show(),$("#luckysheet-newConditionRule-dialog .ruleTypeBox .ruleTypeItem:eq(0)").addClass("on").siblings().removeClass("on"),n.colorSelectInit()},editorConditionRuleDialog:function(){let e=this,n=Q().conditionformat,t=e.editorRule.data;if(t==null)return;let l=t.type,a=t.format,o=t.conditionName,s,u;l=="dataBar"||l=="colorGradation"||l=="icons"?(s=0,u=l):o=="greaterThan"||o=="lessThan"||o=="betweenness"||o=="equal"||o=="textContains"||o=="occurrenceDate"?(s=1,o=="greaterThan"||o=="lessThan"||o=="betweenness"||o=="equal"?u="number":o=="textContains"?u="text":o=="occurrenceDate"&&(u="date")):o=="top10"||o=="top10%"||o=="last10"||o=="last10%"?(s=2,o=="top10"||o=="top10%"?u="top":(o=="last10"||o=="last10%")&&(u="last")):o=="AboveAverage"||o=="SubAverage"?(s=3,u=o):o=="duplicateValue"?(s=4,u=t.conditionValue):o=="formula"&&(s=5);let d=e.getRuleExplain(s);$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-administerRule-dialog").hide(),$("#luckysheet-editorConditionRule-dialog").remove();let f='<div><div class="boxTitle">'+n.chooseRuleType+"\uFF1A</div>"+e.ruleTypeHtml()+'<div class="boxTitle">'+n.editRuleDescription+'\uFF1A</div><div class="ruleExplainBox">'+d+"</div></div>";$("body").append(_e(ft,{id:"luckysheet-editorConditionRule-dialog",addclass:"luckysheet-newEditorRule-dialog",title:n.editFormatRule,content:f,botton:`<button id="luckysheet-editorConditionRule-dialog-confirm" class="btn btn-primary">${n.confirm}</button>
  2857. <button id="luckysheet-editorConditionRule-dialog-close" class="btn btn-default">${n.cancel}</button>`,style:"z-index:100003"}));let m=$("#luckysheet-editorConditionRule-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),g=m.outerHeight(),y=m.outerWidth(),v=$(window).width(),k=$(window).height(),b=$(document).scrollLeft(),w=$(document).scrollTop();if($("#luckysheet-editorConditionRule-dialog").css({left:(v+b-y)/2,top:(k+w-g)/3}).show(),e.colorSelectInit(),$("#luckysheet-editorConditionRule-dialog .ruleTypeBox .ruleTypeItem:eq("+s+")").addClass("on").siblings().removeClass("on"),$("#luckysheet-editorConditionRule-dialog #type1").val(u),(u=="dataBar"||u=="colorGradation"||u=="icons"||u=="number"||u=="text"||u=="date")&&($("#luckysheet-editorConditionRule-dialog ."+u+"Box").show(),$("#luckysheet-editorConditionRule-dialog ."+u+"Box").siblings().hide()),u=="date"&&e.daterangeInit("luckysheet-editorConditionRule-dialog"),l=="dataBar"||l=="colorGradation"||l=="icons"){if(u=="dataBar")a.length==2?$("#luckysheet-editorConditionRule-dialog .dataBarBox #type2").val("gradient"):a.length==1&&$("#luckysheet-editorConditionRule-dialog .dataBarBox #type2").val("solid"),$("#luckysheet-editorConditionRule-dialog .dataBarBox .luckysheet-conditionformat-config-color").spectrum("set",a[0]);else if(u=="colorGradation")a.length==3?($("#luckysheet-editorConditionRule-dialog .colorGradationBox #type2").val("threeColor"),$("#luckysheet-editorConditionRule-dialog .colorGradationBox .midVal").show(),$("#luckysheet-editorConditionRule-dialog .colorGradationBox .maxVal .luckysheet-conditionformat-config-color").spectrum("set",a[0]),$("#luckysheet-editorConditionRule-dialog .colorGradationBox .midVal .luckysheet-conditionformat-config-color").spectrum("set",a[1]),$("#luckysheet-editorConditionRule-dialog .colorGradationBox .minVal .luckysheet-conditionformat-config-color").spectrum("set",a[2])):a.length==2&&($("#luckysheet-editorConditionRule-dialog .colorGradationBox #type2").val("twoColor"),$("#luckysheet-editorConditionRule-dialog .colorGradationBox .midVal").hide(),$("#luckysheet-editorConditionRule-dialog .colorGradationBox .maxVal .luckysheet-conditionformat-config-color").spectrum("set",a[0]),$("#luckysheet-editorConditionRule-dialog .colorGradationBox .minVal .luckysheet-conditionformat-config-color").spectrum("set",a[1]));else if(u=="icons"){let x=a.len,C=a.leftMin,S=a.top;$("#luckysheet-editorConditionRule-dialog .iconsBox li").each(function(_,T){if($(T).find("div").attr("data-len")==x&&$(T).find("div").attr("data-leftmin")==C&&$(T).find("div").attr("data-top")==S)return $("#luckysheet-editorConditionRule-dialog .iconsBox .showbox .model").css("background-position",$(T).find("div").css("background-position")),$("#luckysheet-editorConditionRule-dialog .iconsBox .showbox .model").attr("data-len",$(T).find("div").attr("data-len")),$("#luckysheet-editorConditionRule-dialog .iconsBox .showbox .model").attr("data-leftmin",$(T).find("div").attr("data-leftmin")),$("#luckysheet-editorConditionRule-dialog .iconsBox .showbox .model").attr("data-top",$(T).find("div").attr("data-leftmin")),$("#luckysheet-editorConditionRule-dialog .iconsBox .showbox .model").attr("title",$(T).find("div").attr("title")),!0})}}else{if(u=="number"){$("#luckysheet-editorConditionRule-dialog .numberBox #type2").val(o);let x;if(t.conditionRange[0]!=null?x=wt(h.currentSheetIndex,{row:t.conditionRange[0].row,column:t.conditionRange[0].column},h.currentSheetIndex):x=t.conditionValue[0],$("#luckysheet-editorConditionRule-dialog .numberBox #conditionVal input").val(x),o=="betweenness"){$("#luckysheet-editorConditionRule-dialog .numberBox .txt").show(),$("#luckysheet-editorConditionRule-dialog .numberBox #conditionVal2").show();let C;t.conditionRange[1]!=null?C=wt(h.currentSheetIndex,{row:t.conditionRange[1].row,column:t.conditionRange[1].column},h.currentSheetIndex):C=t.conditionValue[1],$("#luckysheet-editorConditionRule-dialog .numberBox #conditionVal2 input").val(C)}else $("#luckysheet-editorConditionRule-dialog .numberBox .txt").hide(),$("#luckysheet-editorConditionRule-dialog .numberBox #conditionVal2").hide()}else if(u=="text"){let x;t.conditionRange[0]!=null?x=wt(h.currentSheetIndex,{row:t.conditionRange[0].row,column:t.conditionRange[0].column},h.currentSheetIndex):x=t.conditionValue[0],$("#luckysheet-editorConditionRule-dialog .textBox #conditionVal input").val(x)}else if(u=="date"){e.daterangeInit("luckysheet-editorConditionRule-dialog");let x=t.conditionValue[0];$("#luckysheet-editorConditionRule-dialog .dateBox #daterange-btn").val(x)}else if(u=="top"||u=="last"){let x=t.conditionValue[0];(o=="top10%"||o=="last10%")&&$("#luckysheet-editorConditionRule-dialog #isPercent").attr("checked","checked")}else if(o=="formula"){let x=t.conditionValue[0];$("#luckysheet-editorConditionRule-dialog #formulaConditionVal input").val(x)}$("#luckysheet-editorConditionRule-dialog #textcolorshow").spectrum("set",a.textColor),$("#luckysheet-editorConditionRule-dialog #cellcolorshow").spectrum("set",a.cellColor)}},infoDialog:function(e,n){$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-conditionformat-info-dialog").remove(),$("body").append(_e(ft,{id:"luckysheet-conditionformat-info-dialog",addclass:"",title:e,content:n,botton:`<button id="luckysheet-conditionformat-info-dialog-close" class="btn btn-default">${Q().conditionformat.close}</button>`,style:"z-index:100003"}));let t=$("#luckysheet-conditionformat-info-dialog").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),l=t.outerHeight(),a=t.outerWidth(),o=$(window).width(),s=$(window).height(),u=$(document).scrollLeft(),d=$(document).scrollTop();$("#luckysheet-conditionformat-info-dialog").css({left:(o+u-a)/2,top:(s+d-l)/3}).show()},getRuleExplain:function(e){let n=Q().conditionformat,t=this.textCellColorHtml(),l;switch(e){case 0:l=`<div class="title">${n.ruleTypeItem1}\uFF1A</div>
  2858. <div style="height: 30px;margin-bottom: 5px;">
  2859. <label style="display: block;width: 80px;height: 30px;line-height: 30px;float: left;">${n.formatStyle}\uFF1A</label>
  2860. <select id="type1">
  2861. <option value="dataBar">${n.dataBar}</option>
  2862. <option value="colorGradation">${n.colorGradation}</option>
  2863. <option value="icons">${n.icons}</option>
  2864. </select>
  2865. </div>
  2866. <div>
  2867. <div class="type1Box dataBarBox">
  2868. <div style="height: 30px;margin-bottom: 5px;">
  2869. <label style="display: block;width: 80px;height: 30px;line-height: 30px;float: left;">${n.fillType}\uFF1A</label>
  2870. <select id="type2">
  2871. <option value="gradient">${n.gradient}</option>
  2872. <option value="solid">${n.solid}</option>
  2873. </select>
  2874. </div>
  2875. <div style="height: 30px;margin-bottom: 5px;">
  2876. <label style="display: block;width: 80px;height: 30px;line-height: 30px;float: left;">${n.color}\uFF1A</label>
  2877. <input data-tips="${n.dataBarColor}" data-func="background" class="luckysheet-conditionformat-config-color" type="text" value="#638ec6" style="display: none;">
  2878. </div>
  2879. </div>
  2880. <div class="type1Box colorGradationBox" style="display: none;">
  2881. <div style="height: 30px;margin-bottom: 5px;">
  2882. <label style="display: block;width: 80px;height: 30px;line-height: 30px;float: left;">${n.fillType}\uFF1A</label>
  2883. <select id="type2">
  2884. <option value="threeColor">${n.tricolor}</option>
  2885. <option value="twoColor">${n.twocolor}</option>
  2886. </select>
  2887. </div>
  2888. <div class="maxVal" style="height: 30px;margin-bottom: 5px;">
  2889. <label style="display: block;width: 80px;height: 30px;line-height: 30px;float: left;">${n.maxValue}\uFF1A</label>
  2890. <input data-tips="${n.maxValue} ${n.color}" data-func="background" class="luckysheet-conditionformat-config-color" type="text" value="rgb(99, 190, 123)" style="display: none;">
  2891. </div>
  2892. <div class="midVal" style="height: 30px;margin-bottom: 5px;">
  2893. <label style="display: block;width: 80px;height: 30px;line-height: 30px;float: left;">${n.medianValue}\uFF1A</label>
  2894. <input data-tips="${n.medianValue} ${n.color}" data-func="background" class="luckysheet-conditionformat-config-color" type="text" value="rgb(255, 235, 132)" style="display: none;">
  2895. </div>
  2896. <div class="minVal" style="height: 30px;margin-bottom: 5px;">
  2897. <label style="display: block;width: 80px;height: 30px;line-height: 30px;float: left;">${n.minValue}\uFF1A</label>
  2898. <input data-tips="${n.minValue} ${n.color}" data-func="background" class="luckysheet-conditionformat-config-color" type="text" value="rgb(248, 105, 107)" style="display: none;">
  2899. </div>
  2900. </div>
  2901. <div class="type1Box iconsBox" style="display: none;">
  2902. <label>${n.fillType}\uFF1A</label>
  2903. <div class="showbox">
  2904. <div class="model" data-len="3" data-leftmin="0" data-top="0" title="${n.threeWayArrow}(${n.multicolor})" style="background-position: 0 0;"></div>
  2905. <span class="ui-selectmenu-icon ui-icon ui-icon-triangle-1-s" style="margin-top: 2px;"></span>
  2906. </div>
  2907. <ul>
  2908. <li><div data-len="3" data-leftmin="0" data-top="0" title="${n.threeWayArrow}(${n.multicolor})" style="background-position: 0 0;"></div></li>
  2909. <li><div data-len="3" data-leftmin="5" data-top="0" title="${n.threeWayArrow}(${n.grayColor})" style="background-position: -131px 0;"></div></li>
  2910. <li><div data-len="3" data-leftmin="0" data-top="1" title="${n.threeTriangles}" style="background-position: 0 -20px;"></div></li>
  2911. <li><div data-len="4" data-leftmin="0" data-top="2" title="${n.fourWayArrow}(${n.multicolor})" style="background-position: 0 -40px;"></div></li>
  2912. <li><div data-len="4" data-leftmin="5" data-top="1" title="${n.fourWayArrow}(${n.grayColor})" style="background-position: -131px -20px;"></div></li>
  2913. <li><div data-len="5" data-leftmin="0" data-top="3" title="${n.fiveWayArrow}(${n.multicolor})" style="background-position: 0 -60px;"></div></li>
  2914. <li><div data-len="5" data-leftmin="5" data-top="2" title="${n.fiveWayArrow}(${n.grayColor})" style="background-position: -131px -40px;"></div></li>
  2915. <li><div data-len="3" data-leftmin="0" data-top="4" title="${n.threeColorTrafficLight}(${n.rimless})" style="background-position: 0 -80px;"></div></li>
  2916. <li><div data-len="3" data-leftmin="5" data-top="4" title="${n.threeColorTrafficLight}(${n.bordered})" style="background-position: -131px -80px;"></div></li>
  2917. <li><div data-len="3" data-leftmin="0" data-top="5" title="${n.threeSigns}" style="background-position: 0 -100px;"></div></li>
  2918. <li><div data-len="4" data-leftmin="5" data-top="5" title="${n.fourColorTrafficLight}" style="background-position: -131px -100px;"></div></li>
  2919. <li><div data-len="4" data-leftmin="0" data-top="6" title="${n.greenRedBlackGradient}" style="background-position: 0 -120px;"></div></li>
  2920. <li><div data-len="3" data-leftmin="0" data-top="7" title="${n.threeSymbols}(${n.circled})" style="background-position: 0 -140px;"></div></li>
  2921. <li><div data-len="3" data-leftmin="5" data-top="7" title="${n.threeSymbols}(${n.noCircle})" style="background-position: -131px -140px;"></div></li>
  2922. <li><div data-len="3" data-leftmin="0" data-top="8" title="${n.tricolorFlag}" style="background-position: 0 -160px;"></div></li>
  2923. <li><div data-len="3" data-leftmin="0" data-top="9" title="${n.threeStars}" style="background-position: 0 -180px;"></div></li>
  2924. <li><div data-len="5" data-leftmin="0" data-top="10" title="${n.fiveQuadrantDiagram}" style="background-position: 0 -200px;"></div></li>
  2925. <li><div data-len="5" data-leftmin="0" data-top="11" title="${n.fiveBoxes}" style="background-position: 0 -220px;"></div></li>
  2926. <li><div data-len="4" data-leftmin="5" data-top="9" title="${n.grade4}" style="background-position: -131px -180px;"></div></li>
  2927. <li><div data-len="5" data-leftmin="5" data-top="10" title="${n.grade5}" style="background-position: -131px -200px;"></div></li>
  2928. </ul>
  2929. </div>
  2930. </div>`;break;case 1:l=`<div class="title">${n.ruleTypeItem2_title}\uFF1A</div>
  2931. <div style="height: 30px;margin-bottom: 10px;">
  2932. <select id="type1">
  2933. <option value="number">${n.cellValue}</option>
  2934. <option value="text">${n.specificText}</option>
  2935. <option value="date">${n.occurrence}</option>
  2936. </select>
  2937. <div>
  2938. <div class="type1Box numberBox">
  2939. <select id="type2">
  2940. <option value="greaterThan">${n.greaterThan}</option>
  2941. <option value="lessThan">${n.lessThan}</option>
  2942. <option value="betweenness">${n.between}</option>
  2943. <option value="equal">${n.equal}</option>
  2944. </select>
  2945. <div class="inpbox range" id="conditionVal">
  2946. <input class="formulaInputFocus"/>
  2947. <i class="fa fa-table" aria-hidden="true" title="${n.selectCell}"></i>
  2948. </div>
  2949. <span class="txt" style="display: none;">${n.in}</span>
  2950. <div class="inpbox range" id="conditionVal2" style="display: none;">
  2951. <input class="formulaInputFocus"/>
  2952. <i class="fa fa-table" aria-hidden="true" title="${n.selectDataRange}"></i>
  2953. </div>
  2954. </div>
  2955. <div class="type1Box textBox" style="display: none;">
  2956. <select id="type2">
  2957. <option value="">${n.contain}</option>
  2958. </select>
  2959. <div class="inpbox range" id="conditionVal">
  2960. <input class="formulaInputFocus"/>
  2961. <i class="fa fa-table" aria-hidden="true" title="${n.selectCell}"></i>
  2962. </div>
  2963. </div>
  2964. <div class="type1Box dateBox" style="display: none;">
  2965. <div style="width: 162px;" class="inpbox">
  2966. <input style="width: 150px;" id="daterange-btn" readonly="readonly" placeholder="${n.pleaseSelectADate}"/>
  2967. </div>
  2968. </div>
  2969. </div>
  2970. </div>
  2971. <div class="title">${n.setFormat}: </div>${t}`;break;case 2:l=`<div class="title">${n.ruleTypeItem3_title}\uFF1A</div>
  2972. <div style="height: 30px;margin-bottom: 10px;">
  2973. <select id="type1">
  2974. <option value="top">${n.top}</option>
  2975. <option value="last">${n.last}</option>
  2976. </select>
  2977. <div class="inpbox" id="conditionVal">
  2978. <input class="formulaInputFocus" type="number" value="10"/>
  2979. </div>
  2980. <input id="isPercent" type="checkbox"/>
  2981. <label for="isPercent" class="txt">${n.selectRange_percent}</label>
  2982. </div>
  2983. <div class="title">${n.setFormat}\uFF1A</div>${t}`;break;case 3:l=`<div class="title">${n.ruleTypeItem4_title}\uFF1A</div>
  2984. <div style="height: 30px;margin-bottom: 10px;">
  2985. <select id="type1">
  2986. <option value="AboveAverage">${n.above}</option>
  2987. <option value="SubAverage">${n.below}</option>
  2988. </select>
  2989. <span class="txt">${n.selectRange_average}</span>
  2990. </div>
  2991. <div class="title">${n.setFormat}\uFF1A</div>${t}`;break;case 4:l=`<div class="title">${n.all}\uFF1A</div>
  2992. <div style="height: 30px;margin-bottom: 10px;">
  2993. <select id="type1">
  2994. <option value="0">${n.duplicateValue}</option>
  2995. <option value="1">${n.uniqueValue}</option>
  2996. </select>
  2997. <span class="txt">${n.selectRange_value}</span>
  2998. </div>
  2999. <div class="title">${n.setFormat}\uFF1A</div>${t}`;break;case 5:l=`<div class="title">${n.ruleTypeItem2_title}\uFF1A</div>
  3000. <div style="height: 30px;margin-bottom: 10px;">
  3001. <div class="inpbox range" id="formulaConditionVal" style="width: 250px;">
  3002. <input class="formulaInputFocus" style="width: 200px;"/>
  3003. <i class="fa fa-table" aria-hidden="true" title="${n.selectCell}"></i>
  3004. </div>
  3005. </div>
  3006. <div class="title">${n.setFormat}: </div>${t}`;break}return l},daterangeInit:function(e){let n=Q().conditionformat,t=/^\d{4}-\d{2}-\d{2}$/,l=/^\d{4}-\d{2}-\d{2} to \d{4}-\d{2}-\d{2}$/;$(".ranges_1 ul").remove();let a=$("#"+e).find("#daterange-btn");a.flatpickr({mode:"range",onChange:(o,s)=>{let[u,d]=o,f=[n.yesterday,n.today],m=[n.lastWeek,n.thisWeek,n.lastMonth,n.thisMonth,n.lastYear,n.thisYear,n.last7days,n.last30days];s==n.all?a.val(""):f.indexOf(s)>-1?a.val((0,ka.default)(u).format("YYYY/MM/DD")):m.indexOf(s)>-1&&a.val((0,ka.default)(u).format("YYYY/MM/DD")+"-"+(0,ka.default)(d).format("YYYY/MM/DD"));let g=t.test(s),y=l.test(s);g?a.val((0,ka.default)(u).format("YYYY/MM/DD")):y&&a.val((0,ka.default)(u).format("YYYY/MM/DD")+"-"+(0,ka.default)(d).format("YYYY/MM/DD"))}})},CFSplitRange:function(e,n,t,l){let a=[],o=t.row[0]-n.row[0],s=t.column[0]-n.column[0],u=e.row[0],d=e.row[1],f=e.column[0],m=e.column[1];return u>=n.row[0]&&d<=n.row[1]&&f>=n.column[0]&&m<=n.column[1]?l=="allPart"?a=[{row:[u+o,d+o],column:[f+s,m+s]}]:l=="restPart"?a=[]:l=="operatePart"&&(a=[{row:[u+o,d+o],column:[f+s,m+s]}]):u>=n.row[0]&&u<=n.row[1]&&f>=n.column[0]&&m<=n.column[1]?l=="allPart"?a=[{row:[n.row[1]+1,d],column:[f,m]},{row:[u+o,n.row[1]+o],column:[f+s,m+s]}]:l=="restPart"?a=[{row:[n.row[1]+1,d],column:[f,m]}]:l=="operatePart"&&(a=[{row:[u+o,n.row[1]+o],column:[f+s,m+s]}]):d>=n.row[0]&&d<=n.row[1]&&f>=n.column[0]&&m<=n.column[1]?l=="allPart"?a=[{row:[u,n.row[0]-1],column:[f,m]},{row:[n.row[0]+o,d+o],column:[f+s,m+s]}]:l=="restPart"?a=[{row:[u,n.row[0]-1],column:[f,m]}]:l=="operatePart"&&(a=[{row:[n.row[0]+o,d+o],column:[f+s,m+s]}]):u<n.row[0]&&d>n.row[1]&&f>=n.column[0]&&m<=n.column[1]?l=="allPart"?a=[{row:[u,n.row[0]-1],column:[f,m]},{row:[n.row[1]+1,d],column:[f,m]},{row:[n.row[0]+o,n.row[1]+o],column:[f+s,m+s]}]:l=="restPart"?a=[{row:[u,n.row[0]-1],column:[f,m]},{row:[n.row[1]+1,d],column:[f,m]}]:l=="operatePart"&&(a=[{row:[n.row[0]+o,n.row[1]+o],column:[f+s,m+s]}]):f>=n.column[0]&&f<=n.column[1]&&u>=n.row[0]&&d<=n.row[1]?l=="allPart"?a=[{row:[u,d],column:[n.column[1]+1,m]},{row:[u+o,d+o],column:[f+s,n.column[1]+s]}]:l=="restPart"?a=[{row:[u,d],column:[n.column[1]+1,m]}]:l=="operatePart"&&(a=[{row:[u+o,d+o],column:[f+s,n.column[1]+s]}]):m>=n.column[0]&&m<=n.column[1]&&u>=n.row[0]&&d<=n.row[1]?l=="allPart"?a=[{row:[u,d],column:[f,n.column[0]-1]},{row:[u+o,d+o],column:[n.column[0]+s,m+s]}]:l=="restPart"?a=[{row:[u,d],column:[f,n.column[0]-1]}]:l=="operatePart"&&(a=[{row:[u+o,d+o],column:[n.column[0]+s,m+s]}]):f<n.column[0]&&m>n.column[1]&&u>=n.row[0]&&d<=n.row[1]?l=="allPart"?a=[{row:[u,d],column:[f,n.column[0]-1]},{row:[u,d],column:[n.column[1]+1,m]},{row:[u+o,d+o],column:[n.column[0]+s,n.column[1]+s]}]:l=="restPart"?a=[{row:[u,d],column:[f,n.column[0]-1]},{row:[u,d],column:[n.column[1]+1,m]}]:l=="operatePart"&&(a=[{row:[u+o,d+o],column:[n.column[0]+s,n.column[1]+s]}]):u>=n.row[0]&&u<=n.row[1]&&f>=n.column[0]&&f<=n.column[1]?l=="allPart"?a=[{row:[u,n.row[1]],column:[n.column[1]+1,m]},{row:[n.row[1]+1,d],column:[f,m]},{row:[u+o,n.row[1]+o],column:[f+s,n.column[1]+s]}]:l=="restPart"?a=[{row:[u,n.row[1]],column:[n.column[1]+1,m]},{row:[n.row[1]+1,d],column:[f,m]}]:l=="operatePart"&&(a=[{row:[u+o,n.row[1]+o],column:[f+s,n.column[1]+s]}]):u>=n.row[0]&&u<=n.row[1]&&m>=n.column[0]&&m<=n.column[1]?l=="allPart"?a=[{row:[u,n.row[1]],column:[f,n.column[0]-1]},{row:[n.row[1]+1,d],column:[f,m]},{row:[u+o,n.row[1]+o],column:[n.column[0]+s,m+s]}]:l=="restPart"?a=[{row:[u,n.row[1]],column:[f,n.column[0]-1]},{row:[n.row[1]+1,d],column:[f,m]}]:l=="operatePart"&&(a=[{row:[u+o,n.row[1]+o],column:[n.column[0]+s,m+s]}]):d>=n.row[0]&&d<=n.row[1]&&f>=n.column[0]&&f<=n.column[1]?l=="allPart"?a=[{row:[u,n.row[0]-1],column:[f,m]},{row:[n.row[0],d],column:[n.column[1]+1,m]},{row:[n.row[0]+o,d+o],column:[f+s,n.column[1]+s]}]:l=="restPart"?a=[{row:[u,n.row[0]-1],column:[f,m]},{row:[n.row[0],d],column:[n.column[1]+1,m]}]:l=="operatePart"&&(a=[{row:[n.row[0]+o,d+o],column:[f+s,n.column[1]+s]}]):d>=n.row[0]&&d<=n.row[1]&&m>=n.column[0]&&m<=n.column[1]?l=="allPart"?a=[{row:[u,n.row[0]-1],column:[f,m]},{row:[n.row[0],d],column:[f,n.column[0]-1]},{row:[n.row[0]+o,d+o],column:[n.column[0]+s,m+s]}]:l=="restPart"?a=[{row:[u,n.row[0]-1],column:[f,m]},{row:[n.row[0],d],column:[f,n.column[0]-1]}]:l=="operatePart"&&(a=[{row:[n.row[0]+o,d+o],column:[n.column[0]+s,m+s]}]):u<n.row[0]&&d>n.row[1]&&f>=n.column[0]&&f<=n.column[1]?l=="allPart"?a=[{row:[u,n.row[0]-1],column:[f,m]},{row:[n.row[0],n.row[1]],column:[n.column[1]+1,m]},{row:[n.row[1]+1,d],column:[f,m]},{row:[n.row[0]+o,n.row[1]+o],column:[f+s,n.column[1]+s]}]:l=="restPart"?a=[{row:[u,n.row[0]-1],column:[f,m]},{row:[n.row[0],n.row[1]],column:[n.column[1]+1,m]},{row:[n.row[1]+1,d],column:[f,m]}]:l=="operatePart"&&(a=[{row:[n.row[0]+o,n.row[1]+o],column:[f+s,n.column[1]+s]}]):u<n.row[0]&&d>n.row[1]&&m>=n.column[0]&&m<=n.column[1]?l=="allPart"?a=[{row:[u,n.row[0]-1],column:[f,m]},{row:[n.row[0],n.row[1]],column:[f,n.column[0]-1]},{row:[n.row[1]+1,d],column:[f,m]},{row:[n.row[0]+o,n.row[1]+o],column:[n.column[0]+s,m+s]}]:l=="restPart"?a=[{row:[u,n.row[0]-1],column:[f,m]},{row:[n.row[0],n.row[1]],column:[f,n.column[0]-1]},{row:[n.row[1]+1,d],column:[f,m]}]:l=="operatePart"&&(a=[{row:[n.row[0]+o,n.row[1]+o],column:[n.column[0]+s,m+s]}]):f<n.column[0]&&m>n.column[1]&&u>=n.row[0]&&u<=n.row[1]?l=="allPart"?a=[{row:[u,n.row[1]],column:[f,n.column[0]-1]},{row:[u,n.row[1]],column:[n.column[1]+1,m]},{row:[n.row[1]+1,d],column:[f,m]},{row:[u+o,n.row[1]+o],column:[n.column[0]+s,n.column[1]+s]}]:l=="restPart"?a=[{row:[u,n.row[1]],column:[f,n.column[0]-1]},{row:[u,n.row[1]],column:[n.column[1]+1,m]},{row:[n.row[1]+1,d],column:[f,m]}]:l=="operatePart"&&(a=[{row:[u+o,n.row[1]+o],column:[n.column[0]+s,n.column[1]+s]}]):f<n.column[0]&&m>n.column[1]&&d>=n.row[0]&&d<=n.row[1]?l=="allPart"?a=[{row:[u,n.row[0]-1],column:[f,m]},{row:[n.row[0],d],column:[f,n.column[0]-1]},{row:[n.row[0],d],column:[n.column[1]+1,m]},{row:[n.row[0]+o,d+o],column:[n.column[0]+s,n.column[1]+s]}]:l=="restPart"?a=[{row:[u,n.row[0]-1],column:[f,m]},{row:[n.row[0],d],column:[f,n.column[0]-1]},{row:[n.row[0],d],column:[n.column[1]+1,m]}]:l=="operatePart"&&(a=[{row:[n.row[0]+o,d+o],column:[n.column[0]+s,n.column[1]+s]}]):u<n.row[0]&&d>n.row[1]&&f<n.column[0]&&m>n.column[1]?l=="allPart"?a=[{row:[u,n.row[0]-1],column:[f,m]},{row:[n.row[0],n.row[1]],column:[f,n.column[0]-1]},{row:[n.row[0],n.row[1]],column:[n.column[1]+1,m]},{row:[n.row[1]+1,d],column:[f,m]},{row:[n.row[0]+o,n.row[1]+o],column:[n.column[0]+s,n.column[1]+s]}]:l=="restPart"?a=[{row:[u,n.row[0]-1],column:[f,m]},{row:[n.row[0],n.row[1]],column:[f,n.column[0]-1]},{row:[n.row[0],n.row[1]],column:[n.column[1]+1,m]},{row:[n.row[1]+1,d],column:[f,m]}]:l=="operatePart"&&(a=[{row:[n.row[0]+o,n.row[1]+o],column:[n.column[0]+s,n.column[1]+s]}]):l=="allPart"?a=[{row:[u,d],column:[f,m]}]:l=="restPart"?a=[{row:[u,d],column:[f,m]}]:l=="operatePart"&&(a=[]),a},getcolorGradation:function(e,n,t,l,a){let o=e.split(","),s=parseInt(o[0].split("(")[1]),u=parseInt(o[1]),d=parseInt(o[2].split(")")[0]),f=n.split(","),m=parseInt(f[0].split("(")[1]),g=parseInt(f[1]),y=parseInt(f[2].split(")")[0]),v=Math.round(s-(s-m)/(t-l)*(t-a)),k=Math.round(u-(u-g)/(t-l)*(t-a)),b=Math.round(d-(d-y)/(t-l)*(t-a));return"rgb("+v+", "+k+", "+b+")"},getCFPartRange:function(e,n,t){let l=[],a=h.luckysheetfile[K(e)].luckysheet_conditionformat_save;if(a!=null&&a.length>0){e:for(let o=0;o<a.length;o++){let s=a[o].cellrange;for(let u=0;u<s.length;u++){let d=s[u].row[0],f=s[u].row[1],m=s[u].column[0],g=s[u].column[1];for(let y=0;y<range.length;y++)if(range[y].row[0]>=d&&range[y].row[0]<=f||range[y].row[1]>=d&&range[y].row[1]<=f||range[y].column[0]>=m&&range[y].column[0]<=g||range[y].column[1]>=m&&range[y].column[1]<=g){l.push(a[o]);continue e}}}}return l},checksCF:function(e,n,t){return t!=null&&e+"_"+n in t?t[e+"_"+n]:null},getComputeMap:function(e){let n=K(h.currentSheetIndex);e!=null&&(n=K(e));let t=h.luckysheetfile[n].luckysheet_conditionformat_save,l=h.luckysheetfile[n].data;return l==null?null:this.compute(t,l)},compute:function(e,n){let t=this;e==null&&(e=[]);let l={};if(e.length>0)for(let a=0;a<e.length;a++){let o=e[a].type,s=e[a].cellrange,u=e[a].format;if(o=="dataBar"){let d=null,f=null;for(let m=0;m<s.length;m++)for(let g=s[m].row[0];g<=s[m].row[1];g++)for(let y=s[m].column[0];y<=s[m].column[1];y++){if(n[g]==null||n[g][y]==null)continue;let v=n[g][y];P(v)=="object"&&v.ct!=null&&v.ct.t=="n"&&v.v!=null&&((d==null||parseInt(v.v)>d)&&(d=parseInt(v.v)),(f==null||parseInt(v.v)<f)&&(f=parseInt(v.v)))}if(d!=null&&f!=null)if(f<0){let m=Math.round(d/(d-f)*10)/10,g=Math.round(Math.abs(f)/(d-f)*10)/10;for(let y=0;y<s.length;y++)for(let v=s[y].row[0];v<=s[y].row[1];v++)for(let k=s[y].column[0];k<=s[y].column[1];k++){if(n[v]==null||n[v][k]==null)continue;let b=n[v][k];if(P(b)=="object"&&b.ct!=null&&b.ct.t=="n"&&b.v!=null){if(parseInt(b.v)<0){let w=Math.round(Math.abs(parseInt(b.v))/Math.abs(f)*100)/100;v+"_"+k in l?l[v+"_"+k].dataBar={valueType:"minus",minusLen:g,valueLen:w,format:u}:l[v+"_"+k]={dataBar:{valueType:"minus",minusLen:g,valueLen:w,format:u}}}if(parseInt(b.v)>0){let w=Math.round(parseInt(b.v)/d*100)/100;v+"_"+k in l?l[v+"_"+k].dataBar={valueType:"plus",plusLen:m,minusLen:g,valueLen:w,format:u}:l[v+"_"+k]={dataBar:{valueType:"plus",plusLen:m,minusLen:g,valueLen:w,format:u}}}}}}else{let m=1;for(let g=0;g<s.length;g++)for(let y=s[g].row[0];y<=s[g].row[1];y++)for(let v=s[g].column[0];v<=s[g].column[1];v++){if(n[y]==null||n[y][v]==null)continue;let k=n[y][v];if(P(k)=="object"&&k.ct!=null&&k.ct.t=="n"&&k.v!=null){let b;d==0?b=1:b=Math.round(parseInt(k.v)/d*100)/100,y+"_"+v in l?l[y+"_"+v].dataBar={valueType:"plus",plusLen:m,valueLen:b,format:u}:l[y+"_"+v]={dataBar:{valueType:"plus",plusLen:m,valueLen:b,format:u}}}}}}else if(o=="colorGradation"){let d=null,f=null,m=0,g=0;for(let y=0;y<s.length;y++)for(let v=s[y].row[0];v<=s[y].row[1];v++)for(let k=s[y].column[0];k<=s[y].column[1];k++){if(n[v]==null||n[v][k]==null)continue;let b=n[v][k];P(b)=="object"&&b.ct!=null&&b.ct.t=="n"&&b.v!=null&&(g++,m+=parseInt(b.v),(d==null||parseInt(b.v)>d)&&(d=parseInt(b.v)),(f==null||parseInt(b.v)<f)&&(f=parseInt(b.v)))}if(d!=null&&f!=null){if(u.length==3){let y=Math.floor(m/g);for(let v=0;v<s.length;v++)for(let k=s[v].row[0];k<=s[v].row[1];k++)for(let b=s[v].column[0];b<=s[v].column[1];b++){if(n[k]==null||n[k][b]==null)continue;let w=n[k][b];P(w)=="object"&&w.ct!=null&&w.ct.t=="n"&&w.v!=null&&(parseInt(w.v)==f?k+"_"+b in l?l[k+"_"+b].cellColor=u[2]:l[k+"_"+b]={cellColor:u[2]}:parseInt(w.v)>f&&parseInt(w.v)<y?k+"_"+b in l?l[k+"_"+b].cellColor=t.getcolorGradation(u[2],u[1],f,y,parseInt(w.v)):l[k+"_"+b]={cellColor:t.getcolorGradation(u[2],u[1],f,y,parseInt(w.v))}:parseInt(w.v)==y?k+"_"+b in l?l[k+"_"+b].cellColor=u[1]:l[k+"_"+b]={cellColor:u[1]}:parseInt(w.v)>y&&parseInt(w.v)<d?k+"_"+b in l?l[k+"_"+b].cellColor=t.getcolorGradation(u[1],u[0],y,d,parseInt(w.v)):l[k+"_"+b]={cellColor:t.getcolorGradation(u[1],u[0],y,d,parseInt(w.v))}:parseInt(w.v)==d&&(k+"_"+b in l?l[k+"_"+b].cellColor=u[0]:l[k+"_"+b]={cellColor:u[0]}))}}else if(u.length==2)for(let y=0;y<s.length;y++)for(let v=s[y].row[0];v<=s[y].row[1];v++)for(let k=s[y].column[0];k<=s[y].column[1];k++){if(n[v]==null||n[v][k]==null)continue;let b=n[v][k];P(b)=="object"&&b.ct!=null&&b.ct.t=="n"&&b.v!=null&&(parseInt(b.v)==f?v+"_"+k in l?l[v+"_"+k].cellColor=u[1]:l[v+"_"+k]={cellColor:u[1]}:parseInt(b.v)>f&&parseInt(b.v)<d?v+"_"+k in l?l[v+"_"+k].cellColor=t.getcolorGradation(u[1],u[0],f,d,parseInt(b.v)):l[v+"_"+k]={cellColor:t.getcolorGradation(u[1],u[0],f,d,parseInt(b.v))}:parseInt(b.v)==d&&(v+"_"+k in l?l[v+"_"+k].cellColor=u[0]:l[v+"_"+k]={cellColor:u[0]}))}}}else if(o=="icons"){let d=parseInt(u.len),f=parseInt(u.leftMin),m=parseInt(u.top),g=null,y=null;for(let v=0;v<s.length;v++)for(let k=s[v].row[0];k<=s[v].row[1];k++)for(let b=s[v].column[0];b<=s[v].column[1];b++){if(n[k]==null||n[k][b]==null)continue;let w=n[k][b];P(w)=="object"&&w.ct!=null&&w.ct.t=="n"&&w.v!=null&&((g==null||parseInt(w.v)>g)&&(g=parseInt(w.v)),(y==null||parseInt(w.v)<y)&&(y=parseInt(w.v)))}if(g!=null&&y!=null){let v=Math.floor((g-y+1)/d),k=(g-y+1)%d;if(d==3){let b,w,x;k==2?(b=[y,y+v],w=[y+v+1,y+v*2],x=[y+v*2+1,g]):(b=[y,y+v-1],w=[y+v,y+v*2-1],x=[y+v*2,g]);for(let C=0;C<s.length;C++)for(let S=s[C].row[0];S<=s[C].row[1];S++)for(let _=s[C].column[0];_<=s[C].column[1];_++){if(n[S]==null||n[S][_]==null)continue;let T=n[S][_];P(T)=="object"&&T.ct!=null&&T.ct.t=="n"&&T.v!=null&&(parseInt(T.v)>=b[0]&&parseInt(T.v)<=b[1]?S+"_"+_ in l?l[S+"_"+_].icons={left:f+2,top:m}:l[S+"_"+_]={icons:{left:f+2,top:m}}:parseInt(T.v)>=w[0]&&parseInt(T.v)<=w[1]?S+"_"+_ in l?l[S+"_"+_].icons={left:f+1,top:m}:l[S+"_"+_]={icons:{left:f+1,top:m}}:parseInt(T.v)>=x[0]&&parseInt(T.v)<=x[1]&&(S+"_"+_ in l?l[S+"_"+_].icons={left:f,top:m}:l[S+"_"+_]={icons:{left:f,top:m}}))}}else if(d==4){let b,w,x,C;k==2?(b=[y,y+v],w=[y+v+1,y+v*2],x=[y+v*2+1,y+v*3],C=[y+v*3+1,g]):k==3?(b=[y,y+v],w=[y+v+1,y+v*2],x=[y+v*2+1,y+v*3+1],C=[y+v*3+2,g]):(b=[y,y+v-1],w=[y+v,y+v*2-1],x=[y+v*2,y+v*3-1],C=[y+v*3,g]);for(let S=0;S<s.length;S++)for(let _=s[S].row[0];_<=s[S].row[1];_++)for(let T=s[S].column[0];T<=s[S].column[1];T++){if(n[_]==null||n[_][T]==null)continue;let A=n[_][T];P(A)=="object"&&A.ct!=null&&A.ct.t=="n"&&A.v!=null&&(parseInt(A.v)>=b[0]&&parseInt(A.v)<=b[1]?_+"_"+T in l?l[_+"_"+T].icons={left:f+3,top:m}:l[_+"_"+T]={icons:{left:f+3,top:m}}:parseInt(A.v)>=w[0]&&parseInt(A.v)<=w[1]?_+"_"+T in l?l[_+"_"+T].icons={left:f+2,top:m}:l[_+"_"+T]={icons:{left:f+2,top:m}}:parseInt(A.v)>=x[0]&&parseInt(A.v)<=x[1]?_+"_"+T in l?l[_+"_"+T].icons={left:f+1,top:m}:l[_+"_"+T]={icons:{left:f+1,top:m}}:parseInt(A.v)>=C[0]&&parseInt(A.v)<=C[1]&&(_+"_"+T in l?l[_+"_"+T].icons={left:f,top:m}:l[_+"_"+T]={icons:{left:f,top:m}}))}}else if(d==5){let b,w,x,C,S;k==2?(b=[y,y+v],w=[y+v+1,y+v*2],x=[y+v*2+1,y+v*3],C=[y+v*3+1,y+v*4],S=[y+v*4+1,g]):k==3?(b=[y,y+v],w=[y+v+1,y+v*2],x=[y+v*2+1,y+v*3+1],C=[y+v*3+2,y+v*4+1],S=[y+v*4+2,g]):k==4?(b=[y,y+v],w=[y+v+1,y+v*2+1],x=[y+v*2+2,y+v*3+1],C=[y+v*3+2,y+v*4+2],S=[y+v*4+3,g]):(b=[y,y+v-1],w=[y+v,y+v*2-1],x=[y+v*2,y+v*3-1],C=[y+v*3,y+v*4-1],S=[y+v*4,g]);for(let _=0;_<s.length;_++)for(let T=s[_].row[0];T<=s[_].row[1];T++)for(let A=s[_].column[0];A<=s[_].column[1];A++){if(n[T]==null||n[T][A]==null)continue;let R=n[T][A];P(R)=="object"&&R.ct!=null&&R.ct.t=="n"&&R.v!=null&&(parseInt(R.v)>=b[0]&&parseInt(R.v)<=b[1]?T+"_"+A in l?l[T+"_"+A].icons={left:f+4,top:m}:l[T+"_"+A]={icons:{left:f+4,top:m}}:parseInt(R.v)>=w[0]&&parseInt(R.v)<=w[1]?T+"_"+A in l?l[T+"_"+A].icons={left:f+3,top:m}:l[T+"_"+A]={icons:{left:f+3,top:m}}:parseInt(R.v)>=x[0]&&parseInt(R.v)<=x[1]?T+"_"+A in l?l[T+"_"+A].icons={left:f+2,top:m}:l[T+"_"+A]={icons:{left:f+2,top:m}}:parseInt(R.v)>=C[0]&&parseInt(R.v)<=C[1]?T+"_"+A in l?l[T+"_"+A].icons={left:f+1,top:m}:l[T+"_"+A]={icons:{left:f+1,top:m}}:parseInt(R.v)>=S[0]&&parseInt(R.v)<=S[1]&&(T+"_"+A in l?l[T+"_"+A].icons={left:f,top:m}:l[T+"_"+A]={icons:{left:f,top:m}}))}}}}else{let d=e[a].conditionName,f=e[a].conditionValue[0],m=e[a].conditionValue[1],g=u.textColor,y=u.cellColor;for(let v=0;v<s.length;v++)if(d=="greaterThan"||d=="lessThan"||d=="equal"||d=="textContains")for(let k=s[v].row[0];k<=s[v].row[1];k++)for(let b=s[v].column[0];b<=s[v].column[1];b++){if(n[k]==null||n[k][b]==null)continue;let w=n[k][b];P(w)!="object"||fe(w.v)||(d=="greaterThan"&&w.v>f?k+"_"+b in l?(l[k+"_"+b].textColor=g,l[k+"_"+b].cellColor=y):l[k+"_"+b]={textColor:g,cellColor:y}:d=="lessThan"&&w.v<f?k+"_"+b in l?(l[k+"_"+b].textColor=g,l[k+"_"+b].cellColor=y):l[k+"_"+b]={textColor:g,cellColor:y}:d=="equal"&&w.v==f?k+"_"+b in l?(l[k+"_"+b].textColor=g,l[k+"_"+b].cellColor=y):l[k+"_"+b]={textColor:g,cellColor:y}:d=="textContains"&&w.v.toString().indexOf(f)!=-1&&(k+"_"+b in l?(l[k+"_"+b].textColor=g,l[k+"_"+b].cellColor=y):l[k+"_"+b]={textColor:g,cellColor:y}))}else if(d=="betweenness"){let k,b;f>m?(k=f,b=m):(k=m,b=f);for(let w=s[v].row[0];w<=s[v].row[1];w++)for(let x=s[v].column[0];x<=s[v].column[1];x++){if(n[w]==null||n[w][x]==null)continue;let C=n[w][x];P(C)!="object"||fe(C.v)||C.v>=b&&C.v<=k&&(w+"_"+x in l?(l[w+"_"+x].textColor=g,l[w+"_"+x].cellColor=y):l[w+"_"+x]={textColor:g,cellColor:y})}}else if(d=="occurrenceDate"){let k,b;if(f.toString().indexOf("-")==-1)k=it(f)[2],b=it(f)[2];else{let w=f.toString().split("-");k=it(w[1].trim())[2],b=it(w[0].trim())[2]}for(let w=s[v].row[0];w<=s[v].row[1];w++)for(let x=s[v].column[0];x<=s[v].column[1];x++)if(!(n[w]==null||n[w][x]==null)&&n[w][x].ct!=null&&n[w][x].ct.t=="d"){let C=ze(w,x,n);C>=b&&C<=k&&(w+"_"+x in l?(l[w+"_"+x].textColor=g,l[w+"_"+x].cellColor=y):l[w+"_"+x]={textColor:g,cellColor:y})}}else if(d=="duplicateValue"){let k={};for(let b=s[v].row[0];b<=s[v].row[1];b++)for(let w=s[v].column[0];w<=s[v].column[1];w++){let x=ze(b,w,n);x in k||(k[x]=[]),k[x].push({r:b,c:w})}if(f=="0"){for(let b in k)if(b!="null"&&b!="undefined"&&k[b].length>1)for(let w=0;w<k[b].length;w++)k[b][w].r+"_"+k[b][w].c in l?(l[k[b][w].r+"_"+k[b][w].c].textColor=g,l[k[b][w].r+"_"+k[b][w].c].cellColor=y):l[k[b][w].r+"_"+k[b][w].c]={textColor:g,cellColor:y}}if(f=="1")for(let b in k)b!="null"&&b!="undefined"&&k[b].length==1&&(k[b][0].r+"_"+k[b][0].c in l?(l[k[b][0].r+"_"+k[b][0].c].textColor=g,l[k[b][0].r+"_"+k[b][0].c].cellColor=y):l[k[b][0].r+"_"+k[b][0].c]={textColor:g,cellColor:y})}else if(d=="top10"||d=="top10%"||d=="last10"||d=="last10%"||d=="AboveAverage"||d=="SubAverage"){let k=[];for(let b=s[v].row[0];b<=s[v].row[1];b++)for(let w=s[v].column[0];w<=s[v].column[1];w++)n[b]==null||n[b][w]==null||n[b][w].ct!=null&&n[b][w].ct.t=="n"&&k.push(ze(b,w,n));if(d=="top10"||d=="top10%"||d=="last10"||d=="last10%"){for(let w=0;w<k.length;w++)for(let x=0;x<k.length-1-w;x++)if(k[x]<k[x+1]){let C=k[x];k[x]=k[x+1],k[x+1]=C}let b;d=="top10"?b=k.slice(0,f):d=="top10%"?b=k.slice(0,Math.floor(f*k.length/100)):d=="last10"?b=k.slice(k.length-f,k.length):d=="last10%"&&(b=k.slice(k.length-Math.floor(f*k.length/100),k.length));for(let w=s[v].row[0];w<=s[v].row[1];w++)for(let x=s[v].column[0];x<=s[v].column[1];x++){if(n[w]==null||n[w][x]==null)continue;let C=ze(w,x,n);b.indexOf(C)!=-1&&(w+"_"+x in l?(l[w+"_"+x].textColor=g,l[w+"_"+x].cellColor=y):l[w+"_"+x]={textColor:g,cellColor:y})}}else if(d=="AboveAverage"||d=="SubAverage"){let b=0;for(let x=0;x<k.length;x++)b+=k[x];let w=b/k.length;if(d=="AboveAverage")for(let x=s[v].row[0];x<=s[v].row[1];x++)for(let C=s[v].column[0];C<=s[v].column[1];C++){if(n[x]==null||n[x][C]==null)continue;ze(x,C,n)>w&&(x+"_"+C in l?(l[x+"_"+C].textColor=g,l[x+"_"+C].cellColor=y):l[x+"_"+C]={textColor:g,cellColor:y})}else if(d=="SubAverage")for(let x=s[v].row[0];x<=s[v].row[1];x++)for(let C=s[v].column[0];C<=s[v].column[1];C++){if(n[x]==null||n[x][C]==null)continue;ze(x,C,n)<w&&(x+"_"+C in l?(l[x+"_"+C].textColor=g,l[x+"_"+C].cellColor=y):l[x+"_"+C]={textColor:g,cellColor:y})}}}else if(d=="regExp"){let k=new RegExp(f);m==null&&(m=1);for(let b=s[v].row[0];b<=s[v].row[1];b++)for(let w=s[v].column[0];w<=s[v].column[1];w++){if(n[b]==null||n[b][w]==null)continue;let x=n[b][w];if(P(x)!="object"||fe(x.v))continue;let C=k.test(x.v);(m==1&&C||m==0&&!C)&&(b+"_"+w in l?(l[b+"_"+w].textColor=g,l[b+"_"+w].cellColor=y):l[b+"_"+w]={textColor:g,cellColor:y})}}else if(d=="sort")for(let k=s[v].row[0];k<=s[v].row[1];k++)for(let b=s[v].column[0];b<=s[v].column[1];b++){if(n[k]==null||n[k][b]==null)continue;let w=n[k][b];if(k<1)continue;let x=n[k-1][b];x!=null&&(P(w)!="object"||fe(w.v)||($.inArray(f,[0,"asc","0"])>-1&&w.v>x.v||$.inArray(f,[1,"1","desc"])>-1&&w.v<x.v)&&(k+"_"+b in l?(l[k+"_"+b].textColor=g,l[k+"_"+b].cellColor=y):l[k+"_"+b]={textColor:g,cellColor:y}))}else if(d=="formula"){let k=s[v].row[0],b=s[v].row[1],w=s[v].column[0],x=s[v].column[1],C=f;f.toString().slice(0,1)!="="&&(C="="+f);for(let S=k;S<=b;S++)for(let _=w;_<=x;_++){let T=C,A=S-k,R=_-w;A>0&&(T="="+p.functionCopy(T,"down",A)),R>0&&(T="="+p.functionCopy(T,"right",R));let F=p.execfunction(T)[1];typeof F!="boolean"&&(F=!!Number(F)),!!F&&(S+"_"+_ in l?(l[S+"_"+_].textColor=g,l[S+"_"+_].cellColor=y):l[S+"_"+_]={textColor:g,cellColor:y})}}}}return h.conditionFormatCells=l,l},updateItem:function(e,n,t){if(!Rr(h.currentSheetIndex))return;let l=this,a=K(h.currentSheetIndex),o=$.extend(!0,[],h.luckysheetfile),s=l.getHistoryRules(o),u;if(e=="delSheet")u=[];else{let m={type:e,cellrange:n,format:t};u=h.luckysheetfile[a].luckysheet_conditionformat_save==null?[]:h.luckysheetfile[a].luckysheet_conditionformat_save,u.push(m)}h.luckysheetfile[a].luckysheet_conditionformat_save=u;let d=$.extend(!0,[],h.luckysheetfile),f=l.getCurrentRules(d);l.ref(s,f),ne.allowUpdate&&ne.saveParam("all",h.currentSheetIndex,u,{k:"luckysheet_conditionformat_save"})},getHistoryRules:function(e){let n=[];for(let t=0;t<e.length;t++)n.push({sheetIndex:e[t].index,luckysheet_conditionformat_save:e[t].luckysheet_conditionformat_save});return n},getCurrentRules:function(e){let n=[];for(let t=0;t<e.length;t++)n.push({sheetIndex:e[t].index,luckysheet_conditionformat_save:e[t].luckysheet_conditionformat_save});return n},ref:function(e,n){if(h.clearjfundo){h.jfundo.length=0;let t={};t.type="updateCF",t.data={historyRules:e,currentRules:n},h.jfredo.push(t)}setTimeout(function(){Be()},1)}},Se=M2});var F2,Ct,Ka=$e(()=>{Jt();ol();yr();_l();Qt();tl();qt();Ua();Zt();pr();Pt();Xt();Ml();Dt();ht();Xe();yt();jr();F2={clearcopy:function(e){let n=window.clipboardData;n||e&&(n=e.originalEvent.clipboardData);let t=" ";if(h.luckysheet_selection_range=[],Bt(),n)return n.setData("Text",t),!1;{let l=$("#luckysheet-copy-content").css("visibility","hidden");l.val(t),l.focus(),l.select(),setTimeout(function(){l.blur().css("visibility","visible")},10)}},getHtmlBorderStyle:function(e,n){let t="";return e={0:"none",1:"Thin",2:"Hair",3:"Dotted",4:"Dashed",5:"DashDot",6:"DashDotDot",7:"Double",8:"Medium",9:"MediumDashed",10:"MediumDashDot",11:"MediumDashDotDot",12:"SlantedDashDot",13:"Thick"}[e.toString()],e.indexOf("Medium")>-1?t+="1pt ":e=="Thick"?t+="1.5pt ":t+="0.5pt ",e=="Hair"?t+="double ":e.indexOf("DashDotDot")>-1?t+="dotted ":e.indexOf("DashDot")>-1?t+="dashed ":e.indexOf("Dotted")>-1?t+="dotted ":e.indexOf("Dashed")>-1?t+="dashed ":t+="solid ",t+n+";"},copy:function(e){let n=window.clipboardData;n||(n=e.originalEvent.clipboardData),h.luckysheet_selection_range=[];let t=[],l=[],a=[],o=!1,s=!1;for(let y=0;y<h.luckysheet_select_save.length;y++){let v=h.luckysheet_select_save[y],k=v.row[0],b=v.row[1],w=v.column[0],x=v.column[1];for(let C=k;C<=b;C++)if(!(h.config.rowhidden!=null&&h.config.rowhidden[C]!=null)){t.includes(C)||t.push(C),h.config.rowlen!=null&&C in h.config.rowlen&&(o=!0);for(let S=w;S<=x;S++){if(h.config.colhidden!=null&&h.config.colhidden[S]!=null)continue;l.includes(S)||l.push(S);let _=h.flowdata[C][S];P(_)=="object"&&"mc"in _&&_.mc.rs!=null&&(s=!0)}}h.luckysheet_selection_range.push({row:v.row,column:v.column}),a.push({row:v.row,column:v.column})}Bt(),h.luckysheet_copy_save={dataSheetIndex:h.currentSheetIndex,copyRange:a,RowlChange:o,HasMC:s};let u=this,d;h.config.borderInfo&&h.config.borderInfo.length>0&&(d=Wr());let f="",m=we.deepCopyFlowData(h.flowdata),g="";for(let y=0;y<t.length;y++){let v=t[y];if(!(h.config.rowhidden!=null&&h.config.rowhidden[v]!=null)){h.config==null||h.config.rowlen==null||h.config.rowlen[v.toString()]==null?f+='<tr height="19">':f+=`<tr height="${h.config.rowlen[v.toString()]}">`;for(let k=0;k<l.length;k++){let b=l[k];if(v==t[0]&&(h.config==null||h.config.columnlen==null||h.config.columnlen[b.toString()]==null?g+='<col width="72px"></col>':g+='<col width="'+h.config.columnlen[b.toString()]+'px"></col>'),h.config.colhidden!=null&&h.config.colhidden[b]!=null)continue;let w='<td ${span} style="${style}">';if(m[v]!=null&&m[v][b]!=null){let x="",C="",S=/^(w|W)((0?)|(0\.0+))$/,_;if(m[v][b].ct!=null&&m[v][b].ct.fa!=null&&m[v][b].ct.fa.match(S)?_=ze(v,b,m):_=ze(v,b,m,"m"),x+=be.getStyleByCell(m,v,b),P(m[v][b])=="object"&&"mc"in m[v][b])if("rs"in m[v][b].mc){if(C='rowspan="'+m[v][b].mc.rs+'" colspan="'+m[v][b].mc.cs+'"',d&&d[v+"_"+b]){let T={color:{},style:{}},A={color:{},style:{}},R={color:{},style:{}},I={color:{},style:{}};for(let M=v;M<v+m[v][b].mc.rs;M++)for(let N=b;N<b+m[v][b].mc.cs;N++){if(M==v&&d[M+"_"+N]&&d[M+"_"+N].t){let E=d[M+"_"+N].t.style,L=d[M+"_"+N].t.color;R.style[E]==null?R.style[E]=1:R.style[E]=R.style[E]+1,R.color[L]==null?R.color[L]=1:R.color[L]=R.color[L]+1}if(M==v+m[v][b].mc.rs-1&&d[M+"_"+N]&&d[M+"_"+N].b){let E=d[M+"_"+N].b.style,L=d[M+"_"+N].b.color;I.style[E]==null?I.style[E]=1:I.style[E]=I.style[E]+1,I.color[L]==null?I.color[L]=1:I.color[L]=I.color[L]+1}if(N==b&&d[M+"_"+N]&&d[M+"_"+N].l){let E=d[v+"_"+b].l.style,L=d[M+"_"+N].l.color;T.style[E]==null?T.style[E]=1:T.style[E]=T.style[E]+1,T.color[L]==null?T.color[L]=1:T.color[L]=T.color[L]+1}if(N==b+m[v][b].mc.cs-1&&d[M+"_"+N]&&d[M+"_"+N].r){let E=d[M+"_"+N].r.style,L=d[M+"_"+N].r.color;A.style[E]==null?A.style[E]=1:A.style[E]=A.style[E]+1,A.color[L]==null?A.color[L]=1:A.color[L]=A.color[L]+1}}let F=m[v][b].mc.rs,z=m[v][b].mc.cs;if(JSON.stringify(T).length>23){let M=null,N=null;for(let E in T.color)T.color[E]>=F/2&&(M=E);for(let E in T.style)T.style[E]>=F/2&&(N=E);M!=null&&N!=null&&(x+="border-left:"+u.getHtmlBorderStyle(N,M))}if(JSON.stringify(A).length>23){let M=null,N=null;for(let E in A.color)A.color[E]>=F/2&&(M=E);for(let E in A.style)A.style[E]>=F/2&&(N=E);M!=null&&N!=null&&(x+="border-right:"+u.getHtmlBorderStyle(N,M))}if(JSON.stringify(R).length>23){let M=null,N=null;for(let E in R.color)R.color[E]>=z/2&&(M=E);for(let E in R.style)R.style[E]>=z/2&&(N=E);M!=null&&N!=null&&(x+="border-top:"+u.getHtmlBorderStyle(N,M))}if(JSON.stringify(I).length>23){let M=null,N=null;for(let E in I.color)I.color[E]>=z/2&&(M=E);for(let E in I.style)I.style[E]>=z/2&&(N=E);M!=null&&N!=null&&(x+="border-bottom:"+u.getHtmlBorderStyle(N,M))}}}else continue;else if(d&&d[v+"_"+b]){if(d[v+"_"+b].l){let T=d[v+"_"+b].l.style,A=d[v+"_"+b].l.color;x+="border-left:"+u.getHtmlBorderStyle(T,A)}if(d[v+"_"+b].r){let T=d[v+"_"+b].r.style,A=d[v+"_"+b].r.color;x+="border-right:"+u.getHtmlBorderStyle(T,A)}if(d[v+"_"+b].b){let T=d[v+"_"+b].b.style,A=d[v+"_"+b].b.color;x+="border-bottom:"+u.getHtmlBorderStyle(T,A)}if(d[v+"_"+b].t){let T=d[v+"_"+b].t.style,A=d[v+"_"+b].t.color;x+="border-top:"+u.getHtmlBorderStyle(T,A)}}w=_e(w,{style:x,span:C}),_==null&&(_=ze(v,b,m)),_==null&&m[v][b]&&m[v][b].ct&&m[v][b].ct.t=="inlineStr"&&(_=m[v][b].ct.s.map(T=>{let A=$('<br style="mso-data-placement:same-cell;">');return T.v.split(`\r
  3007. `).map(I=>{if(!I)return"";let F=$("<font></font>");return T.fs&&F.css("font-size",`${T.fs}pt`),T.bl&&F.css("font-weight","bold"),T.it&&F.css("font-style","italic"),T.un&&F.css("text-decoration","underline"),T.fc&&F.css("color",T.fc),T.cl?F.append(`<s>${I}</s>`):F.text(I),F[0].outerHTML}).join(A[0].outerHTML)}).join("")),_==null&&(_=""),w+=_}else{let x="";if(d&&d[v+"_"+b]){if(d[v+"_"+b].l){let C=d[v+"_"+b].l.style,S=d[v+"_"+b].l.color;x+="border-left:"+u.getHtmlBorderStyle(C,S)}if(d[v+"_"+b].r){let C=d[v+"_"+b].r.style,S=d[v+"_"+b].r.color;x+="border-right:"+u.getHtmlBorderStyle(C,S)}if(d[v+"_"+b].b){let C=d[v+"_"+b].b.style,S=d[v+"_"+b].b.color;x+="border-bottom:"+u.getHtmlBorderStyle(C,S)}if(d[v+"_"+b].t){let C=d[v+"_"+b].t.style,S=d[v+"_"+b].t.color;x+="border-top:"+u.getHtmlBorderStyle(C,S)}}w+="",w=_e(w,{style:x,span:""}),w+=""}w+="</td>",f+=w}f+="</tr>"}}if(f=`<table data-type="luckysheet_copy_action_table"><colgroup>${g}</colgroup>`+f+"</table>",h.iscopyself=!0,n)return n.setData("Text",f),!1;{let y=$("#luckysheet-copy-content");y.html(f),y.focus(),y.select(),document.execCommand("selectAll"),document.execCommand("Copy"),setTimeout(function(){$("#luckysheet-copy-content").blur()},10)}},copybyformat:function(e,n){let t=window.clipboardData;t||(t=e.originalEvent&&e.originalEvent.clipboardData),h.luckysheet_selection_range=[{row:h.luckysheet_select_save[0].row,column:h.luckysheet_select_save[0].column}],Bt();let l=n;if(h.iscopyself=!0,t)return t.setData("Text",l),!1;{let a=$("#luckysheet-copy-content");a.text(l),a.focus(),a.select(),document.execCommand("selectAll"),document.execCommand("Copy"),setTimeout(function(){a.blur()},10)}},isPasteAction:!1,paste:function(e,n){let t=this;if(h.allowEdit===!1)return;let a=Q().drag,o=$("#luckysheet-copy-content");o.focus(),o.select(),setTimeout(function(){let s=o.html();s.indexOf("luckysheet_copy_action_table")>-1&&h.luckysheet_copy_save.copyRange!=null&&h.luckysheet_copy_save.copyRange.length>0?h.luckysheet_paste_iscut?(h.luckysheet_paste_iscut=!1,t.pasteHandlerOfCutPaste(h.luckysheet_copy_save),t.clearcopy(e)):t.pasteHandlerOfCopyPaste(h.luckysheet_copy_save):s.indexOf("luckysheet_copy_action_image")>-1?Ie.pasteImgItem():n!="btn"?t.pasteHandler(s):de()?alert(a.pasteMustKeybordAlert):U.info(a.pasteMustKeybordAlertHTMLTitle,a.pasteMustKeybordAlertHTML)},10)},pasteHandler:function(e,n){if(!kr(h.luckysheet_select_save,h.currentSheetIndex)||h.allowEdit===!1)return;let l=Q().paste;if(h.luckysheet_select_save.length>1&&(de()?alert(l.errorNotAllowMulti):U.info(`<i class="fa fa-exclamation-triangle"></i>${l.warning}`,l.errorNotAllowMulti)),typeof e=="object"){if(e.length==0)return;let a=$.extend(!0,{},h.config);a.merge==null&&(a.merge={}),JSON.stringify(n).length>2&&a.borderInfo==null&&(a.borderInfo=[]);let o=e.length,s=e[0].length,u=h.luckysheet_select_save[0].row[0],d=u+o-1,f=h.luckysheet_select_save[0].column[0],m=f+s-1,g=!1;if(a.merge!=null&&(g=Nt(a,u,d,f,m)),g){de()?alert(l.errorNotAllowMerged):U.info(`<i class="fa fa-exclamation-triangle"></i>${l.warning}`,l.errorNotAllowMerged);return}let y=we.deepCopyFlowData(h.flowdata),v=y.length,k=y[0].length,b=d-v+1,w=m-k+1;(b>0||w>0)&&(y=Vt([].concat(y),b,w,!0)),a.rowlen==null&&(a.rowlen={});let x=!1,C={};for(let S=u;S<=d;S++){let _=[].concat(y[S]),T=h.defaultrowlen;a.rowlen[S]!=null&&(T=a.rowlen[S]);for(let A=f;A<=m;A++){P(_[A])=="object"&&"mc"in _[A]&&("rs"in _[A].mc&&delete a.merge[_[A].mc.r+"_"+_[A].mc.c],delete _[A].mc);let R=null;if(e[S-u]!=null&&e[S-u][A-f]!=null&&(R=e[S-u][A-f]),_[A]=$.extend(!0,{},R),R!=null&&"mc"in _[A]&&(_[A].mc.rs!=null?(_[A].mc.r=S,_[A].mc.c=A,a.merge[_[A].mc.r+"_"+_[A].mc.c]=_[A].mc,C[R.mc.r+"_"+R.mc.c]=[_[A].mc.r,_[A].mc.c]):_[A]={mc:{r:C[R.mc.r+"_"+R.mc.c][0],c:C[R.mc.r+"_"+R.mc.c][1]}}),n[S-u+"_"+(A-f)]){let z={rangeType:"cell",value:{row_index:S,col_index:A,l:n[S-u+"_"+(A-f)].l,r:n[S-u+"_"+(A-f)].r,t:n[S-u+"_"+(A-f)].t,b:n[S-u+"_"+(A-f)].b}};a.borderInfo.push(z)}let I=sa(_[A]),F=be.getTextSize("\u7530",I)[1];F>T&&(T=F,x=!0)}y[S]=_,T!=h.defaultrowlen&&(a.rowlen[S]=T)}if(h.luckysheet_select_save=[{row:[u,d],column:[f,m]}],b>0||w>0||x){let S={cfg:a,RowlChange:!0};Ze(y,h.luckysheet_select_save,S)}else{let S={cfg:a};Ze(y,h.luckysheet_select_save,S),tt()}}else{e=e.replace(/\r/g,"");let a=[],o=e.split(`
  3008. `),s=o[0].split(" ").length;for(let w=0;w<o.length;w++)o[w].split(" ").length<s||a.push(o[w].split(" "));let u=we.deepCopyFlowData(h.flowdata),d=h.luckysheet_select_save[h.luckysheet_select_save.length-1],f=d.row==null?0:d.row[0],m=d.column==null?0:d.column[0],g=a.length,y=a[0].length,v=!1;if(h.config.merge!=null&&(v=Nt(h.config,f,f+g-1,m,m+y-1)),v){de()?alert(l.errorNotAllowMerged):U.info(`<i class="fa fa-exclamation-triangle"></i>${l.warning}`,l.errorNotAllowMerged);return}let k=f+g-u.length,b=m+y-u[0].length;(k>0||b>0)&&(u=Vt([].concat(u),k,b,!0));for(let w=0;w<g;w++){let x=[].concat(u[w+f]);for(let C=0;C<y;C++){let S=x[C+m],_=a[w][C];if(B(_)&&(S&&S.ct&&S.ct.fa==="@"?_=String(_):_=parseFloat(_)),S instanceof Object)S.v=_,S.ct!=null&&S.ct.fa!=null?S.m=_t(S.ct.fa,_):S.m=_,S.f!=null&&S.f.length>0&&(S.f="",p.delFunctionGroup(w+f,C+m,h.currentSheetIndex));else{let T={},A=it(_);T.v=A[2],T.ct=A[1],T.m=A[0],x[C+m]=T}}u[w+f]=x}if(d.row=[f,f+g-1],d.column=[m,m+y-1],k>0||b>0){let w={RowlChange:!0};Ze(u,h.luckysheet_select_save,w)}else Ze(u,h.luckysheet_select_save),tt()}},pasteHandlerOfCutPaste:function(e){if(!kr(h.luckysheet_select_save,h.currentSheetIndex)||h.allowEdit===!1)return;let t=Q().paste,l=$.extend(!0,{},h.config);l.merge==null&&(l.merge={});let a=e.HasMC,o=e.RowlChange,s=e.dataSheetIndex,u=e.copyRange[0].row[0],d=e.copyRange[0].row[1],f=e.copyRange[0].column[0],m=e.copyRange[0].column[1],g=$.extend(!0,[],zt({row:[u,d],column:[f,m]},s)),y=g.length,v=g[0].length,k=h.luckysheet_select_save[h.luckysheet_select_save.length-1],b=k.row_focus,w=b+y-1,x=k.column_focus,C=x+v-1,S=!1;if(l.merge!=null&&(S=Nt(l,b,w,x,C)),S){de()?alert(t.errorNotAllowMerged):U.info(`<i class="fa fa-exclamation-triangle"></i>${t.warning}`,t.errorNotAllowMerged);return}let _=we.deepCopyFlowData(h.flowdata),T=_.length,A=_[0].length,R=y+b-T,I=v+x-A;(R>0||I>0)&&(_=Vt([].concat(_),R,I,!0));let F=Wr(s),z=$.extend(!0,{},h.luckysheetfile[K(s)].dataVerification),M=$.extend(!0,{},h.luckysheetfile[K(h.currentSheetIndex)].dataVerification);if(h.currentSheetIndex==s){for(let O=u;O<=d;O++)for(let V=f;V<=m;V++){let q=_[O][V];P(q)=="object"&&"mc"in q&&("rs"in q.mc&&delete l.merge[q.mc.r+"_"+q.mc.c],delete q.mc),_[O][V]=null,delete M[O+"_"+V]}if(l.borderInfo&&l.borderInfo.length>0){let O=[];for(let V=0;V<l.borderInfo.length;V++){let q=l.borderInfo[V].rangeType;if(q=="range"){let W=l.borderInfo[V].range,Y=[];for(let ee=0;ee<W.length;ee++)Y=Y.concat(Se.CFSplitRange(W[ee],{row:[u,d],column:[f,m]},{row:[b,w],column:[x,C]},"restPart"));l.borderInfo[V].range=Y,O.push(l.borderInfo[V])}else if(q=="cell"){let W=l.borderInfo[V].value.row_index,Y=l.borderInfo[V].value.col_index;W>=u&&W<=d&&Y>=f&&Y<=m||O.push(l.borderInfo[V])}}l.borderInfo=O}}let N={};for(let O=b;O<=w;O++){let V=[].concat(_[O]);for(let q=x;q<=C;q++){if(F[u+O-b+"_"+(f+q-x)]){let Y={rangeType:"cell",value:{row_index:O,col_index:q,l:F[u+O-b+"_"+(f+q-x)].l,r:F[u+O-b+"_"+(f+q-x)].r,t:F[u+O-b+"_"+(f+q-x)].t,b:F[u+O-b+"_"+(f+q-x)].b}};l.borderInfo==null&&(l.borderInfo=[]),l.borderInfo.push(Y)}else if(F[O+"_"+q]){let Y={rangeType:"cell",value:{row_index:O,col_index:q,l:null,r:null,t:null,b:null}};l.borderInfo==null&&(l.borderInfo=[]),l.borderInfo.push(Y)}z[u+O-b+"_"+(f+q-x)]&&(M[O+"_"+q]=z[u+O-b+"_"+(f+q-x)]),P(V[q])=="object"&&"mc"in V[q]&&("rs"in V[q].mc&&delete l.merge[V[q].mc.r+"_"+V[q].mc.c],delete V[q].mc);let W=null;g[O-b]!=null&&g[O-b][q-x]!=null&&(W=g[O-b][q-x]),V[q]=$.extend(!0,{},W),W!=null&&a&&"mc"in V[q]&&(V[q].mc.rs!=null?(V[q].mc.r=O,V[q].mc.c=q,l.merge[V[q].mc.r+"_"+V[q].mc.c]=V[q].mc,N[W.mc.r+"_"+W.mc.c]=[V[q].mc.r,V[q].mc.c]):V[q]={mc:{r:N[W.mc.r+"_"+W.mc.c][0],c:N[W.mc.r+"_"+W.mc.c][1]}})}_[O]=V}k.row=[b,w],k.column=[x,C],o&&(h.currentSheetIndex!=s?l=yl(_,b,w,l):(l=yl(_,u,d,l),l=yl(_,b,w,l)));let E,L;if(h.currentSheetIndex!=s){let O=$.extend(!0,[],h.luckysheetfile[K(s)].data),V=$.extend(!0,{},h.luckysheetfile[K(s)].config),q=$.extend(!0,[],O),W=$.extend(!0,{},V);W.merge==null&&(W.merge={});for(let se=u;se<=d;se++)for(let ue=f;ue<=m;ue++){let he=q[se][ue];P(he)=="object"&&"mc"in he&&("rs"in he.mc&&delete W.merge[he.mc.r+"_"+he.mc.c],delete he.mc),q[se][ue]=null}if(o&&(W=yl(q,u,d,W)),W.borderInfo&&W.borderInfo.length>0){let se=[];for(let ue=0;ue<W.borderInfo.length;ue++){let he=W.borderInfo[ue].rangeType;if(he=="range"){let Z=W.borderInfo[ue].range,G=[];for(let le=0;le<Z.length;le++)G=G.concat(Se.CFSplitRange(Z[le],{row:[u,d],column:[f,m]},{row:[b,w],column:[x,C]},"restPart"));W.borderInfo[ue].range=G,se.push(W.borderInfo[ue])}else if(he=="cell"){let Z=W.borderInfo[ue].value.row_index,G=W.borderInfo[ue].value.col_index;Z>=u&&Z<=d&&G>=f&&G<=m||se.push(W.borderInfo[ue])}}W.borderInfo=se}let Y=$.extend(!0,[],h.luckysheetfile[K(s)].luckysheet_conditionformat_save),ee=$.extend(!0,[],Y),te=[];if(ee!=null&&ee.length>0)for(let se=0;se<ee.length;se++){let ue=ee[se].cellrange,he=[],Z=[];for(let G=0;G<ue.length;G++){let le=Se.CFSplitRange(ue[G],{row:[u,d],column:[f,m]},{row:[b,w],column:[x,C]},"restPart");he=he.concat(le);let pe=Se.CFSplitRange(ue[G],{row:[u,d],column:[f,m]},{row:[b,w],column:[x,C]},"operatePart");pe.length>0&&(Z=Z.concat(pe))}if(ee[se].cellrange=he,Z.length>0){let G=$.extend(!0,{},ee[se]);G.cellrange=Z,te.push(G)}}let oe=$.extend(!0,[],h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_conditionformat_save),ce=$.extend(!0,[],oe);te.length>0&&(ce=ce.concat(te));for(let se=u;se<=d;se++)for(let ue=f;ue<=m;ue++)delete z[se+"_"+ue];E={sheetIndex:s,data:O,curData:q,config:V,curConfig:W,cdformat:Y,curCdformat:ee,dataVerification:$.extend(!0,{},h.luckysheetfile[K(s)].dataVerification),curDataVerification:z,range:{row:[u,d],column:[f,m]}},L={sheetIndex:h.currentSheetIndex,data:h.flowdata,curData:_,config:$.extend(!0,{},h.config),curConfig:l,cdformat:oe,curCdformat:ce,dataVerification:$.extend(!0,{},h.luckysheetfile[K(h.currentSheetIndex)].dataVerification),curDataVerification:M,range:{row:[b,w],column:[x,C]}}}else{let O=$.extend(!0,[],h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_conditionformat_save),V=$.extend(!0,[],O);if(V!=null&&V.length>0)for(let q=0;q<V.length;q++){let W=V[q].cellrange,Y=[];for(let ee=0;ee<W.length;ee++){let te=Se.CFSplitRange(W[ee],{row:[u,d],column:[f,m]},{row:[b,w],column:[x,C]},"allPart");Y=Y.concat(te)}V[q].cellrange=Y}E={sheetIndex:h.currentSheetIndex,data:h.flowdata,curData:_,config:$.extend(!0,{},h.config),curConfig:l,cdformat:O,curCdformat:V,dataVerification:$.extend(!0,{},h.luckysheetfile[K(h.currentSheetIndex)].dataVerification),curDataVerification:M,range:{row:[u,d],column:[f,m]}},L={sheetIndex:h.currentSheetIndex,data:h.flowdata,curData:_,config:$.extend(!0,{},h.config),curConfig:l,cdformat:O,curCdformat:V,dataVerification:$.extend(!0,{},h.luckysheetfile[K(h.currentSheetIndex)].dataVerification),curDataVerification:M,range:{row:[b,w],column:[x,C]}}}R>0||I>0?Xa(E,L,!0):Xa(E,L,o)},pasteHandlerOfCopyPaste:function(e){if(!kr(h.luckysheet_select_save,h.currentSheetIndex))return;let t=Q().paste,l=$.extend(!0,{},h.config);l.merge==null&&(l.merge={});let a=e.HasMC,o=e.RowlChange,s=e.dataSheetIndex,u=e.copyRange[0].row[0],d=e.copyRange[0].row[1],f=e.copyRange[0].column[0],m=e.copyRange[0].column[1],g=[],y=!1;for(let ce=0;ce<e.copyRange.length;ce++){let se=zt({row:e.copyRange[ce].row,column:e.copyRange[ce].column},s);e.copyRange.length>1?u==e.copyRange[1].row[0]&&d==e.copyRange[1].row[1]?(se=se[0].map(function(ue,he){return se.map(function(Z){return Z[he]})}),g=g.concat(se),y=!0):f==e.copyRange[1].column[0]&&m==e.copyRange[1].column[1]&&(g=g.concat(se)):g=se}y&&(g=g[0].map(function(ce,se){return g.map(function(ue){return ue[se]})}));let v=$.extend(!0,[],g);if(e.copyRange.length>1)for(let ce=0;ce<v.length;ce++)for(let se=0;se<v[ce].length;se++)v[ce][se]!=null&&v[ce][se].f!=null&&(delete v[ce][se].f,delete v[ce][se].spl);let k=v.length,b=v[0].length,w=h.luckysheet_select_save[h.luckysheet_select_save.length-1],x=w.row[0],C=w.row[1],S=w.column[0],_=w.column[1],T=(C-x+1)%k,A=(_-S+1)%b;(T!=0||A!=0)&&(C=x+k-1,_=S+b-1);let R=!1;if(l.merge!=null&&(R=Nt(l,x,C,S,_)),R){de()?alert(t.errorNotAllowMerged):U.info(`<i class="fa fa-exclamation-triangle"></i>${t.warning}`,t.errorNotAllowMerged);return}let I=(C-x+1)/k,F=(_-S+1)/b,z=we.deepCopyFlowData(h.flowdata),M=z.length,N=z[0].length,E=k+x-M,L=b+S-N;(E>0||L>0)&&(z=Vt([].concat(z),E,L,!0));let O=Wr(s),V=$.extend(!0,{},h.luckysheetfile[K(s)].dataVerification),q=null,W=0,Y=0,ee=0,te=0;for(let ce=1;ce<=I;ce++)for(let se=1;se<=F;se++){W=x+(ce-1)*k,Y=S+(se-1)*b,te=x+ce*k,ee=S+se*b;let ue=W-u,he=Y-f,Z={};for(let G=W;G<te;G++){let le=[].concat(z[G]);for(let pe=Y;pe<ee;pe++){if(O[u+G-W+"_"+(f+pe-Y)]){let Ae={rangeType:"cell",value:{row_index:G,col_index:pe,l:O[u+G-W+"_"+(f+pe-Y)].l,r:O[u+G-W+"_"+(f+pe-Y)].r,t:O[u+G-W+"_"+(f+pe-Y)].t,b:O[u+G-W+"_"+(f+pe-Y)].b}};l.borderInfo==null&&(l.borderInfo=[]),l.borderInfo.push(Ae)}else if(O[G+"_"+pe]){let Ae={rangeType:"cell",value:{row_index:G,col_index:pe,l:null,r:null,t:null,b:null}};l.borderInfo==null&&(l.borderInfo=[]),l.borderInfo.push(Ae)}V[u+G-W+"_"+(f+pe-Y)]&&(q==null&&(q=$.extend(!0,{},h.luckysheetfile[K(h.currentSheetIndex)].dataVerification)),q[G+"_"+pe]=V[u+G-W+"_"+(f+pe-Y)]),P(le[pe])=="object"&&"mc"in le[pe]&&("rs"in le[pe].mc&&delete l.merge[le[pe].mc.r+"_"+le[pe].mc.c],delete le[pe].mc);let ie=null;if(v[G-W]!=null&&v[G-W][pe-Y]!=null&&(ie=$.extend(!0,{},v[G-W][pe-Y])),ie!=null&&ie.f!=null){let Ae=ie.f;ue>0&&(Ae="="+p.functionCopy(Ae,"down",ue)),ue<0&&(Ae="="+p.functionCopy(Ae,"up",Math.abs(ue))),he>0&&(Ae="="+p.functionCopy(Ae,"right",he)),he<0&&(Ae="="+p.functionCopy(Ae,"left",Math.abs(he)));let ae=p.execfunction(Ae,G,pe,void 0,!0);ie.spl!=null?(ie.f=ae[2],ie.v=ae[1],ie.spl=ae[3].data):(ie.f=ae[2],ie.v=ae[1],ie.ct!=null&&ie.ct.fa!=null&&(ie.m=_t(ie.ct.fa,ae[1])))}le[pe]=$.extend(!0,{},ie),ie!=null&&a&&"mc"in le[pe]&&(le[pe].mc.rs!=null?(le[pe].mc.r=G,le[pe].mc.c=pe,l.merge[le[pe].mc.r+"_"+le[pe].mc.c]=le[pe].mc,Z[ie.mc.r+"_"+ie.mc.c]=[le[pe].mc.r,le[pe].mc.c]):le[pe]={mc:{r:Z[ie.mc.r+"_"+ie.mc.c][0],c:Z[ie.mc.r+"_"+ie.mc.c][1]}})}z[G]=le}}let oe=null;if(e.copyRange.length==1){let ce=h.luckysheetfile[K(s)],se=h.luckysheetfile[K(h.currentSheetIndex)],ue=$.extend(!0,[],ce.luckysheet_conditionformat_save);if(ue!=null&&ue.length>0){oe=$.extend(!0,[],se.luckysheet_conditionformat_save);for(let he=0;he<ue.length;he++){let Z=ue[he].cellrange,G=[];for(let le=1;le<=I;le++)for(let pe=1;pe<=F;pe++){W=x+(le-1)*k,Y=S+(pe-1)*b,te=x+le*k,ee=S+pe*b;for(let ie=0;ie<Z.length;ie++){let Ae=Se.CFSplitRange(Z[ie],{row:[u,d],column:[f,m]},{row:[W,te-1],column:[Y,ee-1]},"operatePart");Ae.length>0&&(G=G.concat(Ae))}}G.length>0&&(ue[he].cellrange=G,oe.push(ue[he]))}}}if(w.row=[x,C],w.column=[S,_],o||E>0||L>0){l=yl(z,x,C,l);let ce={cfg:l,RowlChange:!0,cdformat:oe,dataVerification:q};Ze(z,h.luckysheet_select_save,ce)}else{let ce={cfg:l,cdformat:oe,dataVerification:q};Ze(z,h.luckysheet_select_save,ce),tt()}},pasteHandlerOfPaintModel:function(e){if(!kr(h.luckysheet_select_save,h.currentSheetIndex))return;let t=Q().paste,l=$.extend(!0,{},h.config);l.merge==null&&(l.merge={});let a=e.HasMC,o=e.RowlChange,s=e.dataSheetIndex,u=e.copyRange[0].row[0],d=e.copyRange[0].row[1],f=e.copyRange[0].column[0],m=e.copyRange[0].column[1],g=$.extend(!0,[],zt({row:[u,d],column:[f,m]},s)),y=h.luckysheet_select_save[h.luckysheet_select_save.length-1],v=y.row[0],k=y.row[1],b=y.column[0],w=y.column[1],x=g.length,C=g[0].length;if(v==k&&b==w){let q=!1;if(l.merge!=null&&(q=Nt(l,v,v+x-1,b,b+C-1)),q){de()?alert(t.errorNotAllowMerged):U.info(`<i class="fa fa-exclamation-triangle"></i>${t.warning}`,t.errorNotAllowMerged);return}k=v+x-1,w=b+C-1}let S=Math.ceil((k-v+1)/x),_=Math.ceil((w-b+1)/C),T=we.deepCopyFlowData(h.flowdata),A=T[0].length,R=T.length,I=Wr(s),F=$.extend(!0,{},h.luckysheetfile[K(s)].dataVerification),z=null,M=0,N=0,E=0,L=0;for(let q=1;q<=S;q++)for(let W=1;W<=_;W++){M=v+(q-1)*x,N=b+(W-1)*C,L=v+q*x>R?R:v+q*x,L>k+1&&(L=k+1),E=b+W*C>A?A:b+W*C,E>w+1&&(E=w+1);let Y={};for(let ee=M;ee<L;ee++){let te=[].concat(T[ee]);for(let oe=N;oe<E;oe++){if(I[u+ee-M+"_"+(f+oe-N)]){let se={rangeType:"cell",value:{row_index:ee,col_index:oe,l:I[u+ee-M+"_"+(f+oe-N)].l,r:I[u+ee-M+"_"+(f+oe-N)].r,t:I[u+ee-M+"_"+(f+oe-N)].t,b:I[u+ee-M+"_"+(f+oe-N)].b}};l.borderInfo==null&&(l.borderInfo=[]),l.borderInfo.push(se)}else if(I[ee+"_"+oe]){let se={rangeType:"cell",value:{row_index:ee,col_index:oe,l:null,r:null,t:null,b:null}};l.borderInfo==null&&(l.borderInfo=[]),l.borderInfo.push(se)}F[u+ee-M+"_"+(f+oe-N)]&&(z==null&&(z=$.extend(!0,{},h.luckysheetfile[K(h.currentSheetIndex)].dataVerification)),z[ee+"_"+oe]=F[u+ee-M+"_"+(f+oe-N)]),P(te[oe])=="object"&&"mc"in te[oe]&&("rs"in te[oe].mc&&delete l.merge[te[oe].mc.r+"_"+te[oe].mc.c],delete te[oe].mc);let ce=null;if(g[ee-M]!=null&&g[ee-M][oe-N]!=null&&(ce=g[ee-M][oe-N]),ce!=null&&(delete ce.v,delete ce.m,delete ce.f,delete ce.spl,ce.ct&&ce.ct.t=="inlineStr"&&delete ce.ct,P(te[oe])=="object"?te[oe].ct&&te[oe].ct.t==="inlineStr"?delete ce.ct:["bg","fc","ct","ht","vt","bl","it","cl","un","fs","ff","tb"].forEach(ue=>{Reflect.deleteProperty(te[oe],ue)}):te[oe]={v:te[oe]},te[oe]=$.extend(!0,te[oe],ce),te[oe].ct&&te[oe].ct.t==="inlineStr"&&te[oe].ct.s.forEach(se=>se=$.extend(!0,se,ce)),a&&"mc"in te[oe]&&(te[oe].mc.rs!=null?(te[oe].mc.r=ee,te[oe].mc.rs+ee>=L&&(te[oe].mc.rs=L-ee),te[oe].mc.c=oe,te[oe].mc.cs+oe>=E&&(te[oe].mc.cs=E-oe),l.merge[te[oe].mc.r+"_"+te[oe].mc.c]=te[oe].mc,Y[ce.mc.r+"_"+ce.mc.c]=[te[oe].mc.r,te[oe].mc.c]):te[oe]={mc:{r:Y[ce.mc.r+"_"+ce.mc.c][0],c:Y[ce.mc.r+"_"+ce.mc.c][1]}}),te[oe].v!=null&&ce.ct!=null&&ce.ct.fa!=null)){let se=_t(ce.ct.fa,te[oe].v);te[oe].m=se}}T[ee]=te}}let O=null,V=$.extend(!0,[],h.luckysheetfile[K(s)].luckysheet_conditionformat_save);if(V!=null&&V.length>0){O=$.extend(!0,[],h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_conditionformat_save);for(let q=0;q<V.length;q++){let W=V[q].cellrange,Y=[];for(let ee=0;ee<W.length;ee++){let te=Se.CFSplitRange(W[ee],{row:[u,d],column:[f,m]},{row:[v,k],column:[b,w]},"operatePart");te.length>0&&(Y=Y.concat(te))}Y.length>0&&(V[q].cellrange=[{row:[v,k],column:[b,w]}],O.push(V[q]))}}if(y.row=[v,k],y.column=[b,w],o){l=yl(T,v,k,l);let q={cfg:l,RowlChange:!0,cdformat:O,dataVerification:z};Ze(T,h.luckysheet_select_save,q)}else{k>=T.length&&(k=T.length-1),l=yl(T,v,k,l);let q={cfg:l,RowlChange:!0,cdformat:O,dataVerification:z};Ze(T,h.luckysheet_select_save,q),tt()}},matchcopy:function(e,n){let t=[],l=[],a,o;if(typeof e=="object")t=e;else{t=e.split(`
  3009. `);for(let s=0;s<t.length;s++)t[s]=t[s].split(" ")}if(a=t.length,typeof n=="object")l=n;else{l=n.split(`
  3010. `);for(let s=0;s<l.length;s++)l[s]=l[s].split(" ")}if(o=l.length,a!=o)return!1;for(let s=0;s<a;s++)if(!(h.config.rowhidden!=null&&h.config.rowhidden[s]!=null)){for(let u=0;u<o;u++)if(t[s].length!=l[u].length)return!1}for(let s=0;s<a;s++)if(!(h.config.rowhidden!=null&&h.config.rowhidden[s]!=null)){for(let u=0;u<t[0].length;u++)if(ze(s,u,t)!=ze(s,u,l))return!1}return!0}},Ct=F2});function nl(e){$("#luckysheet-cols-h-hover").hide(),$("#luckysheet-rightclick-menu").hide(),$("#luckysheet-cell-selected-boxs .luckysheet-cell-selected").hide(),$("#luckysheet-cols-h-selected .luckysheet-cols-h-selected").hide(),$("#luckysheet-rows-h-selected .luckysheet-rows-h-selected").hide(),$("#luckysheet-cell-selected-focus").hide(),$("#luckysheet-rows-h-hover").hide(),$("#luckysheet-selection-copy .luckysheet-selection-copy").hide(),$("#luckysheet-cols-menu-btn").hide(),$("#luckysheet-row-count-show, #luckysheet-column-count-show").hide(),e||Ct.clearcopy(e),$("#luckysheet-dropCell-icon").is(":visible")&&e&&$("#luckysheet-dropCell-icon").remove(),be.luckysheetPaintModelOn&&!e&&be.cancelPaintModel()}var qr=$e(()=>{Ka();ol()});function kc(e,n,t,l,a){let o=Su();o=_e(o,{logotitle:a}),o=_e(o,{menu:Vu()});let s=$u;h.config==null&&(h.config={}),vn(n,e);let d=Q().info,f='<button id="luckysheet-bottom-add-row" class="btn btn-default">'+d.add+'</button><input id="luckysheet-bottom-add-row-input" type="text" class="luckysheet-datavisual-config-input luckysheet-mousedown-cancel" placeholder="'+(me.addRowCount||100)+'"><span style="font-size: 14px;">'+d.row+'</span><span style="font-size: 14px;color: #9c9c9c;">('+d.addLast+")</span>",m=' <button id="luckysheet-bottom-bottom-top" class="btn btn-default" style="">'+d.backTop+"</button>",g=_e(d.pageInfo,{total:me.total?me.total:"",totalPage:me.pageInfo.totalPage?me.pageInfo.totalPage:"",currentPage:me.pageInfo.currentPage?me.pageInfo.currentPage:""}),y=' <span id="luckysheet-bottom-page-info" style="font-size: 14px;color: #f34141;">'+g+'</span> <button id="luckysheet-bottom-page-next" class="btn btn-danger" style="">\u4E0B\u4E00\u9875</button>',v=' <span id="luckysheet-bottom-page-info" style="font-size: 14px;color: #f34141;">'+g+"</span>",k="";me.enableAddRow&&(k+=f),me.enablePage&&(parseInt(me.pageInfo.totalPage)==1?k+=v:k+=y),me.enableAddBackTop&&(k+=m);let b=_e('<div id="luckysheetcoltable_0" class="luckysheet-cell-flow-col"> <div id ="luckysheet-sheettable_0" class="luckysheet-cell-sheettable" style="height:${height}px;width:${width}px;"></div><div id="luckysheet-bottom-controll-row" class="luckysheet-bottom-controll-row"> '+k+" </div> </div>",{height:h.rh_height,width:h.ch_width-1}),w=_e(Mu,{width:h.ch_width,index:0,column:""});s=_e(s,{width:h.ch_width,flow:b,index:0}),o=_e(o,{flow:s,rowHeader:"<div style='height:"+h.rh_height+"px' id='luckysheetrowHeader_0' class='luckysheetsheetchange'></div>",columnHeader:w,functionButton:me.functionButton}),$("#"+h.container).append(o),$("#luckysheet-scrollbar-x div").width(h.ch_width),$("#luckysheet-scrollbar-y div").height(h.rh_height+h.columnHeaderHeight-h.cellMainSrollBarSize-3),$("body").append(Pu),$("body").append(Iu),$("body").append(Ru()),$("body").append(Nu),$("body").append(_e(Xi(),{menuid:"filter"})),$("body").append(_e(Ki(),{menuid:"filter"})),$("body").append(Lu()),$("#luckysheet-rows-h").width(h.rowHeaderWidth-1.5),$("#luckysheet-cols-h-c").height(h.columnHeaderHeight-1.5),$("#luckysheet-left-top").css({width:h.rowHeaderWidth-1.5,height:h.columnHeaderHeight-1.5}),$("#luckysheet_info_detail_input").val(me.title)}var Rf=$e(()=>{Wt();Sl();Gr();Zt();Qt();Ai();ht();Xe();yt()});function Af(e){e==null&&(e="chart");for(var n=window.navigator.userAgent.replace(/[^a-zA-Z0-9]/g,"").split(""),t="",l=0;l<12;l++)t+=n[Math.round(Math.random()*(n.length-1))];var a=new Date().getTime();return e+"_"+t+"_"+a}function bc(e,n){return e.replace(/\$\{([\w]+)\}/g,function(t,l){var a=n[l];return typeof a!="undefined"?a:t})}var Df=$e(()=>{});var br,Cn,E2,D,Oi=$e(()=>{ht();Pt();Ml();qt();br=Nl(kn()),Cn={v:"#VALUE!",n:"#NAME?",na:"#N/A",r:"#REF!",d:"#DIV/0!",nm:"#NUM!",nl:"#NULL!",sp:"#SPILL!"},E2={getCellDataArr:function(e,n,t){let l=[];if(e.data==null)t||(n==="number"?l.push(0):n==="text"&&l.push(""));else if(P(e.data)==="array")for(let a=0;a<e.data.length;a++)for(let o=0;o<e.data[a].length;o++){let s=e.data[a][o],u=s;P(s)==="object"&&(u=s.v),u==null?t||(n==="number"?u=0:n==="text"&&(u=""),l.push(u)):l.push(u)}else fe(e.data.v)?t||(n=="number"?l.push(0):n=="text"&&l.push("")):l.push(e.data.v);return l},getCellDataDyadicArr:function(e,n){let t=[];if(e.data==null){let l=[];n=="number"?l.push(0):n=="text"&&l.push(""),t.push(l)}else if(P(e.data)=="array")for(let l=0;l<e.data.length;l++){let a=[];for(let o=0;o<e.data[l].length;o++){let s=e.data[l][o],u=s;P(s)==="object"&&(u=s.v),u==null&&(n==="number"?u=0:n==="text"&&(u="")),a.push(u)}t.push(a)}else{let l=[],a=e.data.v;fe(a)&&(n=="number"?a=0:n=="text"&&(a="")),l.push(a),t.push(l)}return t},getDataArr:function(e,n){let t=[];if(n==null&&(n=!1),P(e[0])=="array")for(let l=0;l<e.length;l++)for(let a=0;a<e[l].length;a++)n&&!B(e[l][a])||t.push(e[l][a]);else for(let l=0;l<e.length;l++)n&&!B(e[l])||t.push(e[l]);return t},getDataDyadicArr:function(e){let n=[];if(P(e[0])=="array")for(let t=0;t<e.length;t++){let l=[];for(let a=0;a<e[t].length;a++)l.push(e[t][a]);n.push(l)}else{let t=[];for(let l=0;l<e.length;l++)t.push(e[l]);n.push(t)}return n},isDyadicArr:function(e){let n=!0;if(e.length>1){let t=e[0].length;for(let l=1;l<e.length;l++)if(e[l].length!=t){n=!1;break}}return n},getFirstValue:function(e,n){let t=this;n==null&&(n="number");let l;if(P(e)=="array")if(P(e[0])=="array"){if(!t.isDyadicArr(e))return Cn.v;l=e[0][0]}else l=e[0];else if(P(e)=="object"&&e.startCell!=null)if(e.data==null)n=="number"?l=0:n=="text"&&(l="");else{let a=window.luckysheetCurrentRow,o=window.luckysheetCurrentColumn;if(e.rowl==1&&e.coll==1)l=e.data,l==null||fe(l.v)?n=="number"?l=0:n=="text"&&(l=""):l=l.v;else if(e.data[0][0].mc!=null&&e.data[0][0].mc.rs==e.rowl&&e.data[0][0].mc.cs==e.coll)l=e.data[0][0],l==null||fe(l.v)?n=="number"?l=0:n=="text"&&(l=""):l=l.v;else if(e.rowl==1||e.coll==1){let s=p.getcellrange(e.startCell),u=s.row[0],d=u+e.rowl-1,f=s.column[0],m=f+e.coll-1;if(e.rowl==1){if(o<f||o>m)return Cn.v;l=e.data[0][o-f]}else if(e.coll==1){if(a<u||a>d)return Cn.v;l=e.data[a-u][0]}l==null||fe(l.v)||l.mc!=null?n=="number"?l=0:n=="text"&&(l=""):l=l.v}else return Cn.v}else l=e;return l},getCellBoolen:function(e){let t=this.getFirstValue(e);if(H(t))return t;if(P(t)!="boolean")if(P(t)=="string"&&(t.toLowerCase()=="true"||t.toLowerCase()=="false"))t.toLowerCase()=="true"?t=!0:t.toLowerCase()=="false"&&(t=!1);else if(B(t))t=parseFloat(t),t=t!=0;else return Cn.v;return t},getCellDate:function(e){let n=this,t;if(P(e)=="array")if(P(e[0])=="array"){if(!n.isDyadicArr(e))return Cn.v;t=e[0][0]}else t=e[0];else if(P(e)=="object"&&e.startCell!=null){if(e.data==null||P(e.data)=="array"||fe(e.data.v))return Cn.v;t=e.data.v,e.data.ct!=null&&e.data.ct.t=="d"&&(t=_t("YYYY-MM-DD h:mm:ss",t))}else t=e;return t},getCellrangeDate:function(e){let n=this,t=[];if(P(e)=="array"){if(P(e[0])=="array"&&!n.isDyadicArr(e))return Cn.v;t=t.concat(n.getDataArr(e,!1))}else if(P(e)=="object"&&e.startCell!=null)if(e.data==null)t.push(0);else if(P(e.data)=="array")for(let l=0;l<e.data.length;l++)for(let a=0;a<e.data[l].length;a++)if(e.data[l][a]!=null&&!fe(e.data[l][a].v)){let o=e.data[l][a].v;e.data[l][a].ct!=null&&e.data[l][a].ct.t=="d"&&(o=_t("YYYY-MM-DD h:mm:ss",o)),t.push(o)}else t.push(0);else{let l=e.data.v;e.data.ct!=null&&e.data.ct.t=="d"&&(l=_t("YYYY-MM-DD h:mm:ss",l)),t.push(l)}else t.push(e);return t},getRegExpStr:function(e){return e.replace("~*","\\*").replace("~?","\\?").replace(".","\\.").replace("*",".*").replace("?",".")},factorial:function(e){return e==0||e==1?1:e*this.factorial(e-1)},factorialDouble:function(e){return e<=0?1:e*this.factorialDouble(e-2)},variance:function(e){let n=0,t=0;for(let o=0;o<e.length;o++)n+=e[o],t++;let l=n/t,a=0;for(let o=0;o<e.length;o++){let s=e[o];a+=(s-l)*(s-l)}return a/t},variance_s:function(e){let n=0,t=0;for(let o=0;o<e.length;o++)n+=e[o],t++;let l=n/t,a=0;for(let o=0;o<e.length;o++){let s=e[o];a+=(s-l)*(s-l)}return a/(t-1)},standardDeviation:function(e){let n=0,t=0;for(let o=0;o<e.length;o++)n+=e[o],t++;let l=n/t,a=0;for(let o=0;o<e.length;o++){let s=e[o];a+=(s-l)*(s-l)}return Math.sqrt(a/t)},standardDeviation_s:function(e){let n=0,t=0;for(let o=0;o<e.length;o++)n+=e[o],t++;let l=n/t,a=0;for(let o=0;o<e.length;o++){let s=e[o];a+=(s-l)*(s-l)}return Math.sqrt(a/(t-1))},isLeapYear:function(e){return new Date(e,1,29).getMonth()===1},feb29Between:function(e,n){let t=this,l=(0,br.default)(e).year(),a=(0,br.default)().set({year:l,month:2,date:1});if(t.isLeapYear(l)&&(0,br.default)(e)<(0,br.default)(a)&&(0,br.default)(n)>=(0,br.default)(a))return!0;let o=(0,br.default)(n).year(),s=(0,br.default)().set({year:o,month:2,date:1});return t.isLeapYear(o)&&(0,br.default)(n)>=(0,br.default)(s)&&(0,br.default)(e)<(0,br.default)(s)},findResultIndex:function(e,n){let t={};for(let o=1;o<e[0].length;++o)t[o]=!0;let l=n[0].length;for(i=1;i<n.length;++i)n[i].length>l&&(l=n[i].length);for(let o=1;o<e.length;++o)for(let s=1;s<e[o].length;++s){let u=!1,d=!1;for(let f=0;f<n.length;++f){let m=n[f];if(m.length<l)continue;let g=m[0];if(e[o][0]===g){d=!0;for(let y=1;y<m.length;++y)u=u||new Function("return "+e[o][s]+m[y])()}}d&&(t[s]=t[s]&&u)}let a=[];for(let o=0;o<e[0].length;++o)t[o]&&a.push(o-1);return a},findField:function(e,n){let t=null;for(let l=0;l<e.length;l++)if(e[l][0]==n){t=l;break}return t==null?Cn.v:t},rest:function(e,n){return n=n||1,!e||typeof e.slice!="function"?e:e.slice(n)},compact:function(e){if(!e)return e;let n=[];for(let t=0;t<e.length;++t)!e[t]||n.push(e[t]);return n}},D=E2});function Ro(e){var n=Mf.sylvester_matrix.create(e);return n.inverse().elements}var Mf,N2,wc=$e(()=>{Mf={},N2=function(n){var t=function(){};t.precision=1e-6,t.create=function(a){var o=new t;return o.setElements(a)};var l=t.create;t.I=function(a){for(var o=[],s=a,u;s--;)for(u=a,o[s]=[];u--;)o[s][u]=s===u?1:0;return t.create(o)},t.prototype={e:function(a,o){return a<1||a>this.elements.length||o<1||o>this.elements[0].length?null:this.elements[a-1][o-1]},dimensions:function(){var a=this.elements.length===0?0:this.elements[0].length;return{rows:this.elements.length,cols:a}},rows:function(){return this.elements.length},cols:function(){return this.elements.length===0?0:this.elements[0].length},eql:function(a){var o=a.elements||a;if((!o[0]||typeof o[0][0]=="undefined")&&(o=t.create(o).elements),this.elements.length===0||o.length===0)return this.elements.length===o.length;if(this.elements.length!==o.length||this.elements[0].length!==o[0].length)return!1;for(var s=this.elements.length,u=this.elements[0].length,d;s--;)for(d=u;d--;)if(Math.abs(this.elements[s][d]-o[s][d])>t.precision)return!1;return!0},dup:function(){return t.create(this.elements)},map:function(a,o){if(this.elements.length===0)return t.create([]);for(var s=[],u=this.elements.length,d=this.elements[0].length,f;u--;)for(f=d,s[u]=[];f--;)s[u][f]=a.call(o,this.elements[u][f],u+1,f+1);return t.create(s)},isSameSizeAs:function(a){var o=a.elements||a;return typeof o[0][0]=="undefined"&&(o=t.create(o).elements),this.elements.length===0?o.length===0:this.elements.length===o.length&&this.elements[0].length===o[0].length},add:function(a){if(this.elements.length===0)return this.map(function(s){return s});var o=a.elements||a;return typeof o[0][0]=="undefined"&&(o=t.create(o).elements),this.isSameSizeAs(o)?this.map(function(s,u,d){return s+o[u-1][d-1]}):null},subtract:function(a){if(this.elements.length===0)return this.map(function(s){return s});var o=a.elements||a;return typeof o[0][0]=="undefined"&&(o=t.create(o).elements),this.isSameSizeAs(o)?this.map(function(s,u,d){return s-o[u-1][d-1]}):null},canMultiplyFromLeft:function(a){if(this.elements.length===0)return!1;var o=a.elements||a;return typeof o[0][0]=="undefined"&&(o=t.create(o).elements),this.elements[0].length===o.length},multiply:function(a){if(this.elements.length===0)return null;if(!a.elements)return this.map(function(k){return k*a});var o=!!a.modulus,s=a.elements||a;if(typeof s[0][0]=="undefined"&&(s=t.create(s).elements),!this.canMultiplyFromLeft(s))return null;for(var u=this.elements.length,d=s[0].length,f,m=this.elements[0].length,g,y=[],v;u--;)for(f=d,y[u]=[];f--;){for(g=m,v=0;g--;)v+=this.elements[u][g]*s[g][f];y[u][f]=v}var s=t.create(y);return o?s.col(1):s},minor:function(a,o,s,u){if(this.elements.length===0)return null;for(var d=[],f=s,m,g,y,v=this.elements.length,k=this.elements[0].length;f--;)for(m=s-f-1,d[m]=[],g=u;g--;)y=u-g-1,d[m][y]=this.elements[(a+m-1)%v][(o+y-1)%k];return t.create(d)},transpose:function(){if(this.elements.length===0)return t.create([]);for(var a=this.elements.length,o,s=this.elements[0].length,u,d=[],o=s;o--;)for(u=a,d[o]=[];u--;)d[o][u]=this.elements[u][o];return t.create(d)},isSquare:function(){var a=this.elements.length===0?0:this.elements[0].length;return this.elements.length===a},max:function(){if(this.elements.length===0)return null;for(var a=0,o=this.elements.length,s=this.elements[0].length,u;o--;)for(u=s;u--;)Math.abs(this.elements[o][u])>Math.abs(a)&&(a=this.elements[o][u]);return a},indexOf:function(a){if(this.elements.length===0)return null;var o=null,s=this.elements.length,u,d=this.elements[0].length,f;for(u=0;u<s;u++)for(f=0;f<d;f++)if(this.elements[u][f]===a)return{i:u+1,j:f+1};return null},diagonal:function(){if(!this.isSquare)return null;for(var a=[],o=this.elements.length,s=0;s<o;s++)a.push(this.elements[s][s]);return t.create(a)},toRightTriangular:function(){if(this.elements.length===0)return t.create([]);var a=this.dup(),o,s=this.elements.length,u,d,f=this.elements[0].length,m;for(u=0;u<s;u++){if(a.elements[u][u]===0){for(d=u+1;d<s;d++)if(a.elements[d][u]!==0){for(o=[],m=0;m<f;m++)o.push(a.elements[u][m]+a.elements[d][m]);a.elements[u]=o;break}}if(a.elements[u][u]!==0)for(d=u+1;d<s;d++){var g=a.elements[d][u]/a.elements[u][u];for(o=[],m=0;m<f;m++)o.push(m<=u?0:a.elements[d][m]-a.elements[u][m]*g);a.elements[d]=o}}return a},determinant:function(){if(this.elements.length===0)return 1;if(!this.isSquare())return null;for(var a=this.toRightTriangular(),o=a.elements[0][0],s=a.elements.length,u=1;u<s;u++)o=o*a.elements[u][u];return o},isSingular:function(){return this.isSquare()&&this.determinant()===0},trace:function(){if(this.elements.length===0)return 0;if(!this.isSquare())return null;for(var a=this.elements[0][0],o=this.elements.length,s=1;s<o;s++)a+=this.elements[s][s];return a},rank:function(){if(this.elements.length===0)return 0;for(var a=this.toRightTriangular(),o=0,s=this.elements.length,u=this.elements[0].length,d;s--;)for(d=u;d--;)if(Math.abs(a.elements[s][d])>t.precision){o++;break}return o},augment:function(a){if(this.elements.length===0)return this.dup();var o=a.elements||a;typeof o[0][0]=="undefined"&&(o=t.create(o).elements);var s=this.dup(),u=s.elements[0].length,d=s.elements.length,f=o[0].length,m;if(d!==o.length)return null;for(;d--;)for(m=f;m--;)s.elements[d][u+m]=o[d][m];return s},inverse:function(){if(this.elements.length===0||!this.isSquare()||this.isSingular())return null;for(var a=this.elements.length,o=a,s,u=this.augment(t.I(a)).toRightTriangular(),d=u.elements[0].length,f,m,g,y=[],v;o--;){for(m=[],y[o]=[],g=u.elements[o][o],f=0;f<d;f++)v=u.elements[o][f]/g,m.push(v),f>=a&&y[o].push(v);for(u.elements[o]=m,s=o;s--;){for(m=[],f=0;f<d;f++)m.push(u.elements[s][f]-u.elements[o][f]*u.elements[s][o]);u.elements[s]=m}}return t.create(y)},round:function(){return this.map(function(a){return Math.round(a)})},snapTo:function(a){return this.map(function(o){return Math.abs(o-a)<=t.precision?a:o})},setElements:function(a){var o,s,u=a.elements||a;if(u[0]&&typeof u[0][0]!="undefined"){for(o=u.length,this.elements=[];o--;)for(s=u[o].length,this.elements[o]=[];s--;)this.elements[o][s]=u[o][s];return this}var d=u.length;for(this.elements=[],o=0;o<d;o++)this.elements.push([u[o]]);return this}},n.sylvester_matrix=t};N2(Mf)});function Za(){let e=arguments[1],n=arguments[0],t;P(n)=="object"&&n.startCell!=null?(e=="&"?t=D.getCellDataDyadicArr(n,"text"):t=D.getCellDataDyadicArr(n,"number"),t.length==1&&t[0].length==1&&(t=t[0][0])):t=n;let l=arguments[2],a;if(P(l)=="object"&&l.startCell!=null?(e=="&"?a=D.getCellDataDyadicArr(l,"text"):a=D.getCellDataDyadicArr(l,"number"),a.length==1&&a[0].length==1&&(a=a[0][0])):a=l,H(t))return t;if(H(a))return a;if(P(t)=="array"&&P(t[0])=="array"&&!D.isDyadicArr(t))return Me.v;if(P(a)=="array"&&P(a[0])=="array"&&!D.isDyadicArr(a))return Me.v;if(e=="<>"&&(e="!="),e=="="&&(e="=="),t==null&&a==null)return"#INVERSE!";if(t=="#INVERSE!")t=0,e=="-"?e="+":e=="+"&&(e="-");else if(e=="-"&&t==null)t=0;else if(e=="/"&&(a==0||a==null))return Me.d;function o(u,d,f){if(B(u)&&(u=parseFloat(u)),B(f)&&(f=parseFloat(f)),d=="==")return u==f;if(d=="!=")return u!=f;if(d==">=")return u>=f;if(d=="<=")return u<=f;if(d==">")return u>f;if(d=="<")return u<f}function s(u){return u==null?u:u.toString().toLowerCase()=="true"?1:u.toString().toLowerCase()=="false"?0:u}if(e=="*")if(P(t)=="array"&&P(a)=="array"){let u=[];if(P(t[0])=="array"&&P(a[0])=="array")if(t.length==a.length&&t[0].length==a[0].length)for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]),a[d][m]=s(a[d][m]);let g;B(t[d][m])&&B(a[d][m])?g=Tt(t[d][m],e,a[d][m]):g=Me.v,f.push(g)}u.push(f)}else if(t[0].length==a.length){let d=t.length,f=a[0].length;for(let m=0;m<d;m++){let g=[];for(let y=0;y<f;y++){let v=0;for(let k=0;k<t[0].length;k++)t[m][k]=s(t[m][k]),a[k][y]=s(a[k][y]),B(t[m][k])&&B(a[k][y])?v+=Tt(t[m][k],e,a[k][y]):v+=Me.v;v.toString()=="NaN"&&(v=Me.v),g.push(v)}u.push(g)}}else if(t.length==a[0].length){let d=a.length,f=t[0].length;for(let m=0;m<d;m++){let g=[];for(let y=0;y<f;y++){let v=0;for(let k=0;k<a[0].length;k++)t[k][y]=s(t[k][y]),a[m][k]=s(a[m][k]),B(a[m][k])&&B(t[k][y])?v+=Tt(t[k][y],e,a[m][k]):v+=Me.v;v.toString()=="NaN"&&(v=Me.v),g.push(v)}u.push(g)}}else return Me.na;else if(P(t[0])=="array")if(t[0].length==a.length)for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]),a[m]=s(a[m]);let g;B(t[d][m])&&B(a[m])?g=Tt(t[d][m],e,a[m]):g=Me.v,f.push(g)}u.push(f)}else if(t[0].length==1){let d=t.length,f=a.length;for(let m=0;m<d;m++){let g=[];for(let y=0;y<f;y++){t[m][0]=s(t[m][0]),a[y]=s(a[y]);let v;B(t[m][0])&&B(a[y])?v=Tt(t[m][0],e,a[y]):v=Me.v,g.push(v)}u.push(g)}}else return Me.na;else if(P(a[0])=="array")if(a[0].length==t.length)for(let d=0;d<a.length;d++){let f=[];for(let m=0;m<a[d].length;m++){t[m]=s(t[m]),a[d][m]=s(a[d][m]);let g;B(t[m])&&B(a[d][m])?g=Tt(t[m],e,a[d][m]):g=Me.v,f.push(g)}u.push(f)}else if(a[0].length==1){let d=a.length,f=t.length;for(let m=0;m<d;m++){let g=[];for(let y=0;y<f;y++){t[y]=s(t[y]),a[m][0]=s(a[m][0]);let v;B(t[y])&&B(a[m][0])?v=Tt(t[y],e,a[m][0]):v=Me.v,g.push(v)}u.push(g)}}else return Me.na;else{if(t.length!=a.length)return Me.na;for(let d=0;d<t.length;d++){t[d]=s(t[d]),a[d]=s(a[d]);let f;B(t[d])&&B(a[d])?f=Tt(t[d],e,a[d]):f=Me.v,u.push(f)}}return u}else if(P(t)=="array"){a=s(a);let u=[];if(P(t[0])=="array")for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]);let g;B(t[d][m])&&B(a)?g=Tt(t[d][m],e,a):g=Me.v,f.push(g)}u.push(f)}else for(let d=0;d<t.length;d++){t[d]=s(t[d]);let f;B(t[d])&&B(a)?f=Tt(t[d],e,a):f=Me.v,u.push(f)}return u}else if(P(a)=="array"){t=s(t);let u=[];if(P(a[0])=="array")for(let d=0;d<a.length;d++){let f=[];for(let m=0;m<a[d].length;m++){a[d][m]=s(a[d][m]);let g;B(t)&&B(a[d][m])?g=Tt(t,e,a[d][m]):g=Me.v,f.push(g)}u.push(f)}else for(let d=0;d<a.length;d++){a[d]=s(a[d]);let f;B(t)&&B(a[d])?f=Tt(t,e,a[d]):f=Me.v,u.push(f)}return u}else{t=s(t),a=s(a);let u;return B(t)&&B(a)?u=Tt(t,e,a):u=Me.v,u}else if(e=="/")if(P(t)=="array"&&P(a)=="array"){let u=[];if(P(t[0])=="array"&&P(a[0])=="array")if(t.length==a.length&&t[0].length==a[0].length)for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]),a[d][m]=s(a[d][m]);let g;B(t[d][m])&&B(a[d][m])?parseFloat(a[d][m])==0?g=Me.d:g=Tt(t[d][m],e,a[d][m]):g=Me.v,f.push(g)}u.push(f)}else if(t[0].length==a.length){let d=Ro(a),f=t.length,m=d[0].length;for(let g=0;g<f;g++){let y=[];for(let v=0;v<m;v++){let k=0;for(let b=0;b<t[0].length;b++)t[g][b]=s(t[g][b]),d[b][v]=s(d[b][v]),B(t[g][b])&&B(d[b][v])?k+=Tt(t[g][b],"*",d[b][v]):k+=Me.v;k.toString()=="NaN"&&(k=Me.v),y.push(k)}u.push(y)}}else return Me.na;else if(P(t[0])=="array")if(t[0].length==a.length)for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]),a[m]=s(a[m]);let g;B(t[d][m])&&B(a[m])?parseFloat(a[m])==0?g=Me.d:g=Tt(t[d][m],e,a[m]):g=Me.v,f.push(g)}u.push(f)}else if(t[0].length==1){let d=t.length,f=a.length;for(let m=0;m<d;m++){let g=[];for(let y=0;y<f;y++){t[m][0]=s(t[m][0]),a[y]=s(a[y]);let v;B(t[m][0])&&B(a[y])?parseFloat(a[y])==0?v=Me.d:v=Tt(t[m][0],e,a[y]):v=Me.v,g.push(v)}u.push(g)}}else return Me.na;else if(P(a[0])=="array")if(a[0].length==t.length)for(let d=0;d<a.length;d++){let f=[];for(let m=0;m<a[d].length;m++){t[m]=s(t[m]),a[d][m]=s(a[d][m]);let g;B(t[m])&&B(a[d][m])?parseFloat(a[d][m])==0?g=Me.d:g=Tt(t[m],e,a[d][m]):g=Me.v,f.push(g)}u.push(f)}else if(a[0].length==1){let d=a.length,f=t.length;for(let m=0;m<d;m++){let g=[];for(let y=0;y<f;y++){t[y]=s(t[y]),a[m][0]=s(a[m][0]);let v;B(t[y])&&B(a[m][0])?parseFloat(a[m][0])==0?v=Me.d:v=Tt(t[y],e,a[m][0]):v=Me.v,g.push(v)}u.push(g)}}else return Me.na;else{if(t.length!=a.length)return Me.na;for(let d=0;d<t.length;d++){t[d]=s(t[d]),a[d]=s(a[d]);let f;B(t[d])&&B(a[d])?parseFloat(a[d])==0?f=Me.d:f=Tt(t[d],e,a[d]):f=Me.v,u.push(f)}}return u}else if(P(t)=="array"){a=s(a);let u=[];if(P(t[0])=="array")for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]);let g;B(t[d][m])&&B(a)?parseFloat(a)==0?g=Me.d:g=Tt(t[d][m],e,a):g=Me.v,f.push(g)}u.push(f)}else for(let d=0;d<t.length;d++){t[d]=s(t[d]);let f;B(t[d])&&B(a)?parseFloat(a)==0?f=Me.d:f=Tt(t[d],e,a):f=Me.v,u.push(f)}return u}else if(P(a)=="array"){t=s(t);let u=[];if(P(a[0])=="array")for(let d=0;d<a.length;d++){let f=[];for(let m=0;m<a[d].length;m++){a[d][m]=s(a[d][m]);let g;B(t)&&B(a[d][m])?parseFloat(a[d][m])==0?g=Me.d:g=Tt(t,e,a[d][m]):g=Me.v,f.push(g)}u.push(f)}else for(let d=0;d<a.length;d++){a[d]=s(a[d]);let f;B(t)&&B(a[d])?parseFloat(a[d])==0?f=Me.d:f=Tt(t,e,a[d]):f=Me.v,u.push(f)}return u}else{t=s(t),a=s(a);let u;return B(t)&&B(a)?parseFloat(a)==0?u=Me.d:u=Tt(t,e,a):u=Me.v,u}else if(e=="+"||e=="-"||e=="%")if(P(t)=="array"&&P(a)=="array"){let u=[];if(P(t[0])=="array"&&P(a[0])=="array"){if(t.length!=a.length&&t[0].length!=a[0].length)return Me.na;for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]),a[d][m]=s(a[d][m]);let g;B(t[d][m])&&B(a[d][m])?e=="%"&&parseFloat(a[d][m])==0?g=Me.d:g=Tt(t[d][m],e,a[d][m]):g=Me.v,f.push(g)}u.push(f)}}else if(P(t[0])=="array"){if(t[0].length!=a.length)return Me.na;for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]),a[m]=s(a[m]);let g;B(t[d][m])&&B(a[m])?e=="%"&&parseFloat(a[m])==0?g=Me.d:g=Tt(t[d][m],e,a[m]):g=Me.v,f.push(g)}u.push(f)}}else if(P(a[0])=="array"){if(a[0].length!=t.length)return Me.na;for(let d=0;d<a.length;d++){let f=[];for(let m=0;m<a[d].length;m++){t[m]=s(t[m]),a[d][m]=s(a[d][m]);let g;B(t[m])&&B(a[d][m])?e=="%"&&parseFloat(a[d][m])==0?g=Me.d:g=Tt(t[m],e,a[d][m]):g=Me.v,f.push(g)}u.push(f)}}else{if(t.length!=a.length)return Me.na;for(let d=0;d<t.length;d++){t[d]=s(t[d]),a[d]=s(a[d]);let f;B(t[d])&&B(a[d])?e=="%"&&parseFloat(a[d])==0?f=Me.d:f=Tt(t[d],e,a[d]):f=Me.v,u.push(f)}}return u}else if(P(t)=="array"){a=s(a);let u=[];if(P(t[0])=="array")for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]);let g;B(t[d][m])&&B(a)?e=="%"&&parseFloat(a)==0?g=Me.d:g=Tt(t[d][m],e,a):g=Me.v,f.push(g)}u.push(f)}else for(let d=0;d<t.length;d++){t[d]=s(t[d]);let f;B(t[d])&&B(a)?e=="%"&&parseFloat(a)==0?f=Me.d:f=Tt(t[d],e,a):f=Me.v,u.push(f)}return u}else if(P(a)=="array"){t=s(t);let u=[];if(P(a[0])=="array")for(let d=0;d<a.length;d++){let f=[];for(let m=0;m<a[d].length;m++){a[d][m]=s(a[d][m]);let g;B(t)&&B(a[d][m])?e=="%"&&parseFloat(a[d][m])==0?g=Me.d:g=Tt(t,e,a[d][m]):g=Me.v,f.push(g)}u.push(f)}else for(let d=0;d<a.length;d++){a[d]=s(a[d]);let f;B(t)&&B(a[d])?e=="%"&&parseFloat(a[d])==0?f=Me.d:f=Tt(t,e,a[d]):f=Me.v,u.push(f)}return u}else{t=s(t),a=s(a);let u;return B(t)&&B(a)?e=="%"&&parseFloat(a)==0?u=Me.d:u=Tt(t,e,a):u=Me.v,u}else if(e=="=="||e=="!="||e==">="||e=="<="||e==">"||e=="<")if(P(t)=="array"&&P(a)=="array"){let u=[];if(P(t[0])=="array"&&P(a[0])=="array"){if(t.length!=a.length&&t[0].length!=a[0].length)return Me.na;for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){let g=o(t[d][m],e,a[d][m]);f.push(g)}u.push(f)}}else if(P(t[0])=="array"){if(t[0].length!=a.length)return Me.na;for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){let g=o(t[d][m],e,a[m]);f.push(g)}u.push(f)}}else if(P(a[0])=="array"){if(a[0].length!=t.length)return Me.na;for(let d=0;d<a.length;d++){let f=[];for(let m=0;m<a[d].length;m++){let g=o(t[m],e,a[d][m]);f.push(g)}u.push(f)}}else{if(t.length!=a.length)return Me.na;for(let d=0;d<t.length;d++){let f=o(t[d],e,a[d]);u.push(f)}}return u}else if(P(t)=="array"){let u=[];if(P(t[0])=="array")for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){let g=o(t[d][m],e,a);f.push(g)}u.push(f)}else for(let d=0;d<t.length;d++){let f=o(t[d],e,a);u.push(f)}return u}else if(P(a)=="array"){let u=[];if(P(a[0])=="array")for(let d=0;d<a.length;d++){let f=[];for(let m=0;m<a[d].length;m++){let g=o(t,e,a[d][m]);f.push(g)}u.push(f)}else for(let d=0;d<a.length;d++){let f=o(t,e,a[d]);u.push(f)}return u}else return o(t,e,a);else if(e=="&")if(P(t)=="array"&&P(a)=="array"){let u=[];if(P(t[0])=="array"&&P(a[0])=="array"){if(t.length!=a.length&&t[0].length!=a[0].length)return Me.na;for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++)f.push(t[d][m]+""+a[d][m]);u.push(f)}}else if(P(t[0])=="array"){if(t[0].length!=a.length)return Me.na;for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++)f.push(t[d][m]+""+a[m]);u.push(f)}}else if(P(a[0])=="array"){if(a[0].length!=t.length)return Me.na;for(let d=0;d<a.length;d++){let f=[];for(let m=0;m<a[d].length;m++)f.push(t[m]+""+a[d][m]);u.push(f)}}else{if(t.length!=a.length)return Me.na;for(let d=0;d<t.length;d++)u.push(t[d]+""+a[d])}return u}else if(P(t)=="array"){let u=[];if(P(t[0])=="array")for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++)f.push(t[d][m]+""+a);u.push(f)}else for(let d=0;d<t.length;d++)u.push(t[d]+""+a);return u}else if(P(a)=="array"){let u=[];if(P(a[0])=="array")for(let d=0;d<a.length;d++){let f=[];for(let m=0;m<a[d].length;m++)f.push(t+""+a[d][m]);u.push(f)}else for(let d=0;d<a.length;d++)u.push(t+""+a[d]);return u}else return t+""+a;else if(e=="^")if(P(t)=="array"&&P(a)=="array"){let u=[];if(P(t[0])=="array"&&P(a[0])=="array"){if(t.length!=a.length&&t[0].length!=a[0].length)return Me.na;for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]),a[d][m]=s(a[d][m]);let g;B(t[d][m])&&B(a[d][m])?g=Math.pow(parseFloat(t[d][m]),parseFloat(a[d][m])):g=Me.v,f.push(g)}u.push(f)}}else if(P(t[0])=="array"){if(t[0].length!=a.length)return Me.na;for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]),a[m]=s(a[m]);let g;B(t[d][m])&&B(a[m])?g=Math.pow(parseFloat(t[d][m]),parseFloat(a[m])):g=Me.v,f.push(g)}u.push(f)}}else if(P(a[0])=="array"){if(a[0].length!=t.length)return Me.na;for(let d=0;d<a.length;d++){let f=[];for(let m=0;m<a[d].length;m++){t[m]=s(t[m]),a[d][m]=s(a[d][m]);let g;B(t[m])&&B(a[d][m])?g=Math.pow(parseFloat(t[m]),parseFloat(a[d][m])):g=Me.v,f.push(g)}u.push(f)}}else{if(t.length!=a.length)return Me.na;for(let d=0;d<t.length;d++){t[d]=s(t[d]),a[d]=s(a[d]);let f;B(t[d])&&B(a[d])?f=Math.pow(parseFloat(t[d]),parseFloat(a[d])):f=Me.v,u.push(f)}}return u}else if(P(t)=="array"){a=s(a);let u=[];if(P(t[0])=="array")for(let d=0;d<t.length;d++){let f=[];for(let m=0;m<t[d].length;m++){t[d][m]=s(t[d][m]);let g;B(t[d][m])&&B(a)?g=Math.pow(parseFloat(t[d][m]),parseFloat(a)):g=Me.v,f.push(g)}u.push(f)}else for(let d=0;d<t.length;d++){t[d]=s(t[d]);let f;B(t[d])&&B(a)?f=Math.pow(parseFloat(t[d]),parseFloat(a)):f=Me.v,u.push(f)}return u}else if(P(a)=="array"){t=s(t);let u=[];if(P(a[0])=="array")for(let d=0;d<a.length;d++){let f=[];for(let m=0;m<a[d].length;m++){a[d][m]=s(a[d][m]);let g;B(t)&&B(a[d][m])?g=Math.pow(parseFloat(t),parseFloat(a[d][m])):g=Me.v,f.push(g)}u.push(f)}else for(let d=0;d<a.length;d++){a[d]=s(a[d]);let f;B(t)&&B(a[d])?f=Math.pow(parseFloat(t),parseFloat(a[d])):f=Me.v,u.push(f)}return u}else{t=s(t),a=s(a);let u;return B(t)&&B(a)?u=Math.pow(parseFloat(t),parseFloat(a)):u=Me.v,u}}function xc(){let e=arguments[0];e=e.replace("{","").replace("}","").replace(/\"/g,"");let n=[];if(e.indexOf(";")>-1){n=e.split(";");for(let t=0;t<n.length;t++)n[t]=n[t].split(",")}else n=e.split(",");return n}function Tt(e,n,t){let l;return n=="+"?l=(0,Bi.default)(e).add(t).value():n=="-"?l=(0,Bi.default)(e).subtract(t).value():n=="%"?l=new Function("return "+parseFloat(e)+n+"("+parseFloat(t)+")")():n=="/"?l=(0,Bi.default)(e).divide(t).value():n=="*"&&(l=(0,Bi.default)(e).multiply(t).value()),l}function ir(e){if(window.luckysheet_getcelldata_cache==null&&(window.luckysheet_getcelldata_cache={}),e in window.luckysheet_getcelldata_cache)return window.luckysheet_getcelldata_cache[e];let n=Lt(),t=e.split("!"),l="",a="",o=-1,s=null;if(t.length>1){l=t[0].replace(/''/g,"'"),a=t[1],l.substr(0,1)=="'"&&l.substr(l.length-1,1)=="'"&&(l=l.substring(1,l.length-1));for(let u in n)if(l==n[u].name){o=n[u].index,s=n[u].data;break}o==-1&&(o=0)}else{let u=K(h.calculateSheetIndex);l=n[u].name,o=n[u].index,s=n[u].data,a=t[0]}if(a.indexOf(":")==-1){let u=parseInt(a.replace(/[^0-9]/g,""))-1,d=hl(a.replace(/[^A-Za-z]/g,""));if(!isNaN(u)&&!isNaN(d)){let f=oa(s,{row:[u,u],column:[d,d]})[0][0];if(p.execFunctionGlobalData!=null){let v=p.execFunctionGlobalData[u+"_"+d+"_"+o];v!=null&&(f=v)}let y={sheetName:l,startCell:a,rowl:1,coll:1,data:f};return window.luckysheet_getcelldata_cache[e]=y,y}else return[]}else{a=a.split(":");let u=[],d=[];if(u[0]=parseInt(a[0].replace(/[^0-9]/g,""))-1,u[1]=parseInt(a[1].replace(/[^0-9]/g,""))-1,isNaN(u[0])&&(u[0]=0),isNaN(u[1])&&(u[1]=s.length-1),u[0]>u[1])return U.info("\u9009\u62E9\u5931\u8D25","\u8F93\u5165\u8303\u56F4\u9519\u8BEF\uFF01"),[];if(d[0]=hl(a[0].replace(/[^A-Za-z]/g,"")),d[1]=hl(a[1].replace(/[^A-Za-z]/g,"")),isNaN(d[0])&&(d[0]=0),isNaN(d[1])&&(d[1]=s[0].length-1),d[0]>d[1])return U.info("\u9009\u62E9\u5931\u8D25","\u8F93\u5165\u8303\u56F4\u9519\u8BEF\uFF01"),[];let f=oa(s,{row:u,column:d});if(p.execFunctionGlobalData!=null)for(let v=u[0];v<=u[1];v++)for(let k=d[0];k<=d[1];k++){let b=p.execFunctionGlobalData[v+"_"+k+"_"+o];b!=null&&(f[v-u[0]][k-d[0]]=b)}let m=u[1]-u[0]+1,g=d[1]-d[0]+1,y={sheetName:l,startCell:a[0],rowl:m,coll:g,data:f};return window.luckysheet_getcelldata_cache[e]=y,y}}function Ja(e){if(typeof e=="object")return e==null?"":Array.isArray(e)?it(e[0])[2]:Array.isArray(e.data)?Me.v:e.data.v===void 0?"":e.data.v;if(p.isCompareOperator(e).flag){if(typeof e=="string"||typeof e=="number")return e}else return it(e)[2];return Me.v}function Gn(){let e=arguments[0];for(let n=0;n<e.length;n++){let t=e[n];typeof t=="object"?t==null?t="":Array.isArray(t)?t=it(t[0])[2]:Array.isArray(t.data)?t=t.data:t.data.v===void 0?t="":t=t.data.v:p.isCompareOperator(t).flag||(t=it(t)[2]),e[n]=t}}function _c(){let e=arguments[0];return e==null||e.length==0?null:e}function Cc(e){return e}function Tc(){if(!(P(arguments[0])=="object"&&arguments[0].startCell!=null))return p.error.v;var e=arguments[0].startCell,n=D.getFirstValue(arguments[1]);if(H(n))return n;if(!B(n))return p.error.v;n=parseInt(n);var t=D.getFirstValue(arguments[2]);if(H(t))return t;if(!B(t))return p.error.v;t=parseInt(t);var l=arguments[0].rowl;if(arguments.length>=4){if(l=D.getFirstValue(arguments[3]),H(l))return l;if(!B(l))return p.error.v;l=parseInt(l)}var a=arguments[0].coll;if(arguments.length==5){if(a=D.getFirstValue(arguments[4]),H(a))return a;if(!B(a))return p.error.v;a=parseInt(a)}if(l<1||a<1)return p.error.r;var o=p.getcellrange(e),s=o.row[0],u=o.column[0];s+=n,u+=t;var d=s+l-1,f=u+a-1;return s<0||d>=h.flowdata.length||u<0||f>=h.flowdata[0].length?p.error.r:wt(h.calculateSheetIndex,{row:[s,d],column:[u,f]})}function Sc(e,n,t){let l,a;if(e?(a=n,l=t):(l=n,a=t),l.startCell.indexOf(":")>-1||a.indexOf(":")>-1)return Me.v;if(e)return ir(a+":"+l.startCell);{let o=a,s="";if(a.indexOf("!")>-1){let u=a.split("!");s=u[0]+"!",o=u[1]}return ir(s+l.startCell+":"+o)}}var Bi,Hi=$e(()=>{Oi();qt();tl();Pt();Zt();Ml();wc();Dt();ht();Xe();Bi=Nl(ca())});function Nf(e,n,t){let l=e.data;Vf(L2),Hf(P2,null,function(){let a=new Vuex.Store;console.info("chartmix::",chartmix.default),Vue.use(chartmix.default,{store:a});let o=document.getElementsByTagName("body")[0];chartmix.default.initChart(o,h.lang),$(".chartSetting").css({top:"1px",bottom:"1px",position:"absolute",right:"0px",width:"350px",background:"#fff",border:"1px solid #E5E5E5","z-index":1004,"box-shadow":"0px 2px 4px rgba(0,0,0,0.2)","-webkit-box-shadow":"0px 2px 4px rgba(0,0,0,0.2)","-moz-box-shadow":"0px 2px 4px rgba(0,0,0,0.2)","-moz-user-select":"none","-khtml-user-select":"none","-webkit-user-select":"none","-ms-user-select":"none","user-select":"none","padding-left":"30px",display:"none"}),h.createChart=chartmix.default.createChart,h.highlightChart=chartmix.default.highlightChart,h.deleteChart=chartmix.default.deleteChart,h.resizeChart=chartmix.default.resizeChart,h.changeChartRange=chartmix.default.changeChartRange,h.changeChartCellData=chartmix.default.changeChartCellData,h.getChartJson=chartmix.default.getChartJson,h.chart_selection=B2(),h.chartparam.jfrefreshchartall=O2,h.chartparam.changeChartCellData=chartmix.default.changeChartCellData,h.chartparam.renderChart=chartmix.default.renderChart,h.chartparam.getChartJson=chartmix.default.getChartJson,h.chartparam.insertToStore=chartmix.default.insertToStore;for(let s=0;s<l.length;s++)z2(l[s].chart,t);for(let s=0;s<l.length;s++)l[s].status=="1"&&Rc(l[s].index);Wn(h.asyncLoad,"chart")})}function z2(e,n){if(e!=null)for(let t=0;t<e.length;t++){let l=e[t];n&&h.chartparam.insertToStore({chart_id:l.chart_id,chartOptions:l.chartOptions});let a=l.chart_id,o=a+"_c",s='<div id="${id}"class="luckysheet-modal-dialog luckysheet-modal-dialog-chart ${addclass}"tabindex="0"role="dialog"aria-labelledby=":41e"dir="ltr"><div class="luckysheet-modal-dialog-resize"><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-lt"data-type="lt"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-mt"data-type="mt"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-lm"data-type="lm"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-rm"data-type="rm"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-rt"data-type="rt"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-lb"data-type="lb"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-mb"data-type="mb"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-rb"data-type="rb"></div></div><div class="luckysheet-modal-dialog-controll"><span class="luckysheet-modal-controll-btn luckysheet-modal-controll-update"role="button"tabindex="0"aria-label="\u4FEE\u6539\u56FE\u8868"title="\u4FEE\u6539\u56FE\u8868"><i class="fa fa-pencil"aria-hidden="true"></i></span><span class="luckysheet-modal-controll-btn luckysheet-modal-controll-max"role="butluckysheet_chartIns_indexton"tabindex="0"aria-label="\u6700\u5927\u5316"title="\u6700\u5927\u5316"><i class="fa fa-window-maximize"aria-hidden="true"></i></span><span class="luckysheet-modal-controll-btn luckysheet-modal-controll-del"role="button"tabindex="0"aria-label="\u5220\u9664"title="\u5220\u9664"><i class="fa fa-trash"aria-hidden="true"></i></span></div><div class="luckysheet-modal-dialog-content">${content}</div></div>',u;if($(`.luckysheet-cell-main #${o}`).length===0&&(u=$(bc(s,{id:o,addclass:"luckysheet-data-visualization-chart",title:"\u56FE\u8868\u751F\u6210",content:""})).appendTo($(".luckysheet-cell-main"))),!u)return;Pf(u),$(`#${o}`).children(".luckysheet-modal-dialog-content")[0].id=a;let d=document.getElementById(o),f;f=h.chartparam.getChartJson(l.chart_id),h.chartparam.renderChart({chart_id:l.chart_id,chartOptions:f}),h.currentChart=f,Qa(a),$(`#${a}_c .luckysheet-modal-controll-del`).click(function(k){Lf(a)}),$(`#${a}_c .luckysheet-modal-controll-update`).click(function(k){Bf()}),$(`#${a}_c`).mouseup(function(k){let b=$(this).css("width"),w=$(this).css("height"),x=$(this).css("top"),C=$(this).css("left"),S=h.luckysheetfile[K(h.currentSheetIndex)];S.chart||(S.chart=[]),S.chart.forEach(_=>{_.chart_id===a&&(_.width=parseFloat(b),_.height=parseFloat(w),_.left=parseFloat(C),_.top=parseFloat(x))})}),u.children(".luckysheet-modal-dialog-content").mousedown(function(k){h.chartparam.luckysheetCurrentChartMaxState||Qa(a),k.stopPropagation()}),u.mousedown(function(k){if(!h.chartparam.luckysheetCurrentChartMaxState){Qa(a),tn(!0),!$(k.target).is(".luckysheet-modal-dialog-controll")&&!$(k.target).is(".luckysheet-modal-controll-btn")&&!$(k.target).is("i")&&(h.chartparam.luckysheetCurrentChartMoveTimeout=setTimeout(function(){h.chartparam.luckysheetCurrentChartMove=!0},100));var b=h.chartparam.luckysheetCurrentChartMoveObj.offset(),w=h.chartparam.luckysheetCurrentChartMoveObj.position();h.chartparam.luckysheetCurrentChartMoveXy=[k.pageX-b.left,k.pageY-b.top,w.left,w.top,$("#luckysheet-scrollbar-x").scrollLeft(),$("#luckysheet-scrollbar-y").scrollTop()],h.chartparam.luckysheetCurrentChartMoveWinH=$("#luckysheet-cell-main")[0].scrollHeight,h.chartparam.luckysheetCurrentChartMoveWinW=$("#luckysheet-cell-main")[0].scrollWidth,!$(k.target).hasClass("luckysheet-mousedown-cancel")&&$(k.target).filter("[class*='sp-palette']").length==0&&$(k.target).filter("[class*='sp-thumb']").length==0&&$(k.target).filter("[class*='sp-']").length==0&&($("#luckysheet-rightclick-menu").hide(),$("#luckysheet-cols-h-hover").hide(),$("#luckysheet-cols-menu-btn").hide(),$("#luckysheet-rightclick-menu").hide(),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu, #luckysheet-user-menu").hide(),$("body > .luckysheet-filter-menu, body > .luckysheet-filter-submenu, body > .luckysheet-cols-menu").hide()),k.stopPropagation()}}).find(".luckysheet-modal-dialog-resize-item").mousedown(function(k){if(h.chartparam.luckysheetCurrentChartActive){h.chartparam.luckysheetCurrentChartResize=$(this).data("type");var b=nt(k.pageX,k.pageY),w=$("#luckysheet-scrollbar-x").scrollLeft(),x=$("#luckysheet-scrollbar-y").scrollTop(),C=b[0]+w,S=b[1]+x,_=h.chartparam.luckysheetCurrentChartResizeObj.position();h.chartparam.luckysheetCurrentChartResizeXy=[C,S,u.width(),u.height(),_.left+w,_.top+x,w,x],h.chartparam.luckysheetCurrentChartResizeWinH=$("#luckysheet-cell-main")[0].scrollHeight,h.chartparam.luckysheetCurrentChartResizeWinW=$("#luckysheet-cell-main")[0].scrollWidth,h.chartparam.luckysheetCurrentChart=a,k.stopPropagation()}});let m=l.width,g=l.height,y=l.left,v=l.top;d.style.width=m+"px",d.style.height=g+"px",d.style.position="absolute",d.style.background="#fff",d.style.left=y+"px",d.style.top=v+"px",d.style.zIndex=h.zIndex?h.zIndex:15,h.zIndex++}}function O2(e,n,t,l,a){let o=h.luckysheetfile.find(u=>u.index==h.currentSheetIndex),s=o.chart;s&&s.forEach(u=>{var d=ir(o.name+"!"+u.chartOptions.rangeTxt);if(typeof d=="object"&&d.length!=0&&d.data.length!=null){var f=d.data;h.chartparam.changeChartCellData(u.chart_id,f)}})}function B2(){return{create:function(){var e=h.currentChart;if(e.rangeArray.length>1)return;$("#luckysheet-chart-rangeShow").empty(),$("#luckysheet-cell-selected-boxs").hide(),$("#luckysheet-cell-selected-focus").hide(),$("#luckysheet-rows-h-selected").empty(),$("#luckysheet-cols-h-selected").empty(),$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide();var n=e.rangeArray[0].row[0],t=e.rangeArray[0].column[0],l=e.rangeSplitArray,a=e.rangeRowCheck;if(a.exits)var o=f("rowtitle",l.rowtitle.row[0]+n,l.rowtitle.row[1]+n,l.rowtitle.column[0]+t,l.rowtitle.column[1]+t);else var o="";var s=e.rangeColCheck;if(s.exits)var u=f("coltitle",l.coltitle.row[0]+n,l.coltitle.row[1]+n,l.coltitle.column[0]+t,l.coltitle.column[1]+t);else var u="";var d=f("content",l.content.row[0]+n,l.content.row[1]+n,l.content.column[0]+t,l.content.column[1]+t);$("#luckysheet-chart-rangeShow").append(o+u+d);function f(m,g,y,v,k){var b=Zi(),w=Ji(),x=b[y],C=g-1==-1?0:b[g-1],S=w[k],_=v-1==-1?0:w[v-1];if(m=="rowtitle")var T="#C65151";if(m=="coltitle")var T="#9667C0";if(m=="content")var T="#4970D1";var A='<div id="luckysheet-chart-rangeShow-'+m+'" style="left: '+_+"px;width: "+(S-_-1)+"px;top: "+C+"px;height: "+(x-C-1)+'px;border: none;margin: 0;position: absolute;z-index: 14;"><div class="luckysheet-chart-rangeShow-move" data-type="top" style="height: 2px;border-top: 2px solid #fff;border-bottom: 2px solid #fff;background: '+T+';position: absolute;left: 0;right: 0;top: -2px;z-index: 18;opacity: 0.9;cursor: move;"></div><div class="luckysheet-chart-rangeShow-move" data-type="right" style="width: 2px;border-left: 2px solid #fff;border-right: 2px solid #fff;background: '+T+';position: absolute;top: 0;bottom: 0;right: -2px;z-index: 18;opacity: 0.9;cursor: move;"></div><div class="luckysheet-chart-rangeShow-move" data-type="bottom" style="height: 2px;border-top: 2px solid #fff;border-bottom: 2px solid #fff;background: '+T+';position: absolute;left: 0;right: 0;bottom: -2px;z-index: 18;opacity: 0.9;cursor: move;"></div><div class="luckysheet-chart-rangeShow-move" data-type="left" style="width: 2px;border-left: 2px solid #fff;border-right: 2px solid #fff;background: '+T+';position: absolute;top: 0;bottom: 0;left: -2px;z-index: 18;opacity: 0.9;cursor: move;"></div><div style="border: 2px solid #85c0fc;background: '+T+';position: absolute;top: 0;right: 0;bottom: 0;left: 0;z-index: 15;opacity: 0.1;"></div><div class="luckysheet-chart-rangeShow-resize" data-type="lt" style="width: 6px;height: 6px;border: 1px solid #fff;background: '+T+';position: absolute;left: -3px;top: -3px;z-index: 19;cursor: se-resize;"></div><div class="luckysheet-chart-rangeShow-resize" data-type="rt" style="width: 6px;height: 6px;border: 1px solid #fff;background: '+T+';position: absolute;right: -3px;top: -3px;z-index: 19;cursor: ne-resize;"></div><div class="luckysheet-chart-rangeShow-resize" data-type="lb" style="width: 6px;height: 6px;border: 1px solid #fff;background: '+T+';position: absolute;left: -3px;bottom: -3px;z-index: 19;cursor: ne-resize;"></div><div class="luckysheet-chart-rangeShow-resize" data-type="rb" style="width: 6px;height: 6px;border: 1px solid #fff;background: '+T+';position: absolute;right: -3px;bottom: -3px;z-index: 19;cursor: se-resize;"></div></div>';return A}},rangeMove:!1,rangeMovexy:null,rangeMoveIndex:null,rangeMoveObj:null,rangeMoveDraging:function(e,n,t){var l=h.currentChart,a=l.rangeArray[0].row[0],o=l.rangeArray[0].column[0],s=l.rangeRowCheck,u=l.rangeColCheck,d=l.rangeSplitArray,f=nt(e.pageX,e.pageY),m=$("#luckysheet-cell-main").scrollLeft(),g=$("#luckysheet-cell-main").scrollTop(),y=f[0]+m,v=f[1]+g,k=$(window).height()+g-n-t,b=$(window).width()+m,w=Ff(v),x=w[2],C=Ef(y),S=C[2],_=Zi(),T=Ji(),A=h.chart_selection.rangeMoveObj.attr("id");if(A=="luckysheet-chart-rangeShow-content"){var R=h.chart_selection.rangeMoveIndex[0]-h.chart_selection.rangeMovexy[0]+x;s.exits?(R<a+s.range[1]+1||v<0)&&(R=a+s.range[1]+1):(R<0||v<0)&&(R=0);var I=d.content.row[1]-d.content.row[0]+R;(I>=_.length-1||v>k)&&(R=_.length-1-d.content.row[1]+d.content.row[0],I=_.length-1);var F=h.chart_selection.rangeMoveIndex[1]-h.chart_selection.rangeMovexy[1]+S;u.exits?(F<o+u.range[1]+1||y<0)&&(F=o+u.range[1]+1):(F<0||y<0)&&(F=0);var z=d.content.column[1]-d.content.column[0]+F;(z>=T.length-1||y>b)&&(F=T.length-1-d.content.column[1]+d.content.column[0],z=T.length-1),s.exits&&u.exits?(l.rangeArray=[{row:[a,I],column:[o,z]}],l.rangeSplitArray.range={row:[a,I],column:[o,z]},l.rangeSplitArray.content={row:[R-a,I-a],column:[F-o,z-o]},l.rangeSplitArray.rowtitle={row:l.rangeSplitArray.rowtitle.row,column:[F-o,z-o]},l.rangeSplitArray.coltitle={row:[R-a,I-a],column:l.rangeSplitArray.coltitle.column}):s.exits?(l.rangeArray=[{row:[a,I],column:[F,z]}],l.rangeSplitArray.range={row:[a,I],column:[F,z]},l.rangeSplitArray.content={row:[R-a,I-a],column:l.rangeSplitArray.content.column}):u.exits?(l.rangeArray=[{row:[R,I],column:[o,z]}],l.rangeSplitArray.range={row:[R,I],column:[o,z]},l.rangeSplitArray.content={row:l.rangeSplitArray.content.row,column:[F-o,z-o]}):(l.rangeArray=[{row:[R,I],column:[F,z]}],l.rangeSplitArray.range={row:[R,I],column:[F,z]})}else if(A=="luckysheet-chart-rangeShow-rowtitle"){var F=h.chart_selection.rangeMoveIndex[1]-h.chart_selection.rangeMovexy[1]+S;u.exits?(F<o+u.range[1]+1||y<0)&&(F=o+u.range[1]+1):(F<0||y<0)&&(F=0);var z=d.rowtitle.column[1]-d.rowtitle.column[0]+F;(z>=T.length-1||y>b)&&(F=T.length-1-d.rowtitle.column[1]+d.rowtitle.column[0],z=T.length-1),u.exits?(l.rangeArray=[{row:l.rangeArray[0].row,column:[o,z]}],l.rangeSplitArray.range={row:l.rangeArray[0].row,column:[o,z]},l.rangeSplitArray.rowtitle={row:l.rangeSplitArray.rowtitle.row,column:[F-o,z-o]},l.rangeSplitArray.content={row:l.rangeSplitArray.content.row,column:[F-o,z-o]}):(l.rangeArray=[{row:l.rangeArray[0].row,column:[F,z]}],l.rangeSplitArray.range={row:l.rangeArray[0].row,column:[F,z]})}else if(A=="luckysheet-chart-rangeShow-coltitle"){var R=h.chart_selection.rangeMoveIndex[0]-h.chart_selection.rangeMovexy[0]+x;s.exits?(R<a+s.range[1]+1||v<0)&&(R=a+s.range[1]+1):(R<0||v<0)&&(R=0);var I=d.coltitle.row[1]-d.coltitle.row[0]+R;(I>=_.length-1||v>k)&&(R=_.length-1-d.coltitle.row[1]+d.coltitle.row[0],I=_.length-1),s.exits?(l.rangeArray=[{row:[a,I],column:l.rangeArray[0].column}],l.rangeSplitArray.range={row:[a,I],column:l.rangeArray[0].column},l.rangeSplitArray.coltitle={row:[R-a,I-a],column:l.rangeSplitArray.coltitle.column},l.rangeSplitArray.content={row:[R-a,I-a],column:l.rangeSplitArray.content.column}):(l.rangeArray=[{row:[R,I],column:l.rangeArray[0].column}],l.rangeSplitArray.range={row:[R,I],column:l.rangeArray[0].column})}h.chart_selection.create()},rangeMoveDragged:function(){h.chart_selection.rangeMove=!1;var e=h.currentChart;e.rangeTxt=wt(h.currentSheetIndex,e.rangeArray[0],h.currentSheetIndex),e.chartData=zt(e.rangeArray[0],h.currentSheetIndex),h.changeChartRange(e.chart_id,e.chartData,e.rangeArray,e.rangeTxt)},rangeResize:!1,rangeResizexy:null,rangeResizeIndex:null,rangeResizeObj:null,rangeResizeDraging:function(e,n,t){var l=h.currentChart,a=l.rangeArray[0].row[0],o=l.rangeArray[0].column[0],s=l.rangeRowCheck,u=l.rangeColCheck,d=l.rangeSplitArray,f=nt(e.pageX,e.pageY),m=$("#luckysheet-cell-main").scrollLeft(),g=$("#luckysheet-cell-main").scrollTop(),y=f[0]+m,v=f[1]+g,k=$(window).height()+g-n-t,b=$(window).width()+m,w=Ff(v),x=w[2],C=Ef(y),S=C[2],_=Zi(),T=Ji(),A=h.chart_selection.rangeResizeObj.attr("id");if(A=="luckysheet-chart-rangeShow-content"){var R,I,F,z;if(h.chart_selection.rangeResize=="lt"?(R=h.chart_selection.rangeResizeIndex.row[0],F=h.chart_selection.rangeResizeIndex.column[0],I=h.chart_selection.rangeResizeIndex.row[1],z=h.chart_selection.rangeResizeIndex.column[1]):h.chart_selection.rangeResize=="lb"?(R=h.chart_selection.rangeResizeIndex.row[1],F=h.chart_selection.rangeResizeIndex.column[0],I=h.chart_selection.rangeResizeIndex.row[0],z=h.chart_selection.rangeResizeIndex.column[1]):h.chart_selection.rangeResize=="rt"?(R=h.chart_selection.rangeResizeIndex.row[0],F=h.chart_selection.rangeResizeIndex.column[1],I=h.chart_selection.rangeResizeIndex.row[1],z=h.chart_selection.rangeResizeIndex.column[0]):h.chart_selection.rangeResize=="rb"&&(R=h.chart_selection.rangeResizeIndex.row[1],F=h.chart_selection.rangeResizeIndex.column[1],I=h.chart_selection.rangeResizeIndex.row[0],z=h.chart_selection.rangeResizeIndex.column[0]),s.exits){var M=R-h.chart_selection.rangeResizexy[0]+x;M<a+s.range[1]+1||v<0?M=a+s.range[1]+1:(M>=_.length-1||v>k)&&(M=_.length-1)}else{var M=a-h.chart_selection.rangeResizexy[0]+x;M<0||v<0?M=0:(M>=_.length-1||v>k)&&(M=_.length-1)}if(u.exits){var N=F-h.chart_selection.rangeResizexy[1]+S;N<o+u.range[1]+1||y<0?N=o+u.range[1]+1:(N>=T.length-1||y>b)&&(N=T.length-1)}else{var N=o-h.chart_selection.rangeResizexy[1]+S;N<0||y<0?N=0:(N>=T.length-1||y>b)&&(N=T.length-1)}var E,L,O,V;M>I?(E=I,L=M):(E=M,L=I),N>z?(O=z,V=N):(O=N,V=z),!s.exits&&!u.exits?(l.rangeArray=[{row:[E,L],column:[O,V]}],l.rangeSplitArray.range={row:[E,L],column:[O,V]}):(l.rangeArray=[{row:[a,L],column:[o,V]}],l.rangeSplitArray.range={row:[a,L],column:[o,V]},l.rangeSplitArray.content={row:[E-a,L-a],column:[O-o,V-o]},s.exits&&(l.rangeSplitArray.rowtitle={row:l.rangeSplitArray.rowtitle.row,column:[O-o,V-o]}),u.exits&&(l.rangeSplitArray.coltitle={row:[E-a,L-a],column:l.rangeSplitArray.coltitle.column}))}else if(A=="luckysheet-chart-rangeShow-rowtitle"){var F,z;if(h.chart_selection.rangeResize=="lt"||h.chart_selection.rangeResize=="lb"?(F=h.chart_selection.rangeResizeIndex.column[0],z=h.chart_selection.rangeResizeIndex.column[1]):(h.chart_selection.rangeResize=="rt"||h.chart_selection.rangeResize=="rb")&&(F=h.chart_selection.rangeResizeIndex.column[1],z=h.chart_selection.rangeResizeIndex.column[0]),u.exits){var N=F-h.chart_selection.rangeResizexy[1]+S;N<o+u.range[1]+1||y<0?N=o+u.range[1]+1:(N>=T.length-1||y>b)&&(N=T.length-1)}else{var N=o-h.chart_selection.rangeResizexy[1]+S;N<0||y<0?N=0:(N>=T.length-1||y>b)&&(N=T.length-1)}var O,V;N>z?(O=z,V=N):(O=N,V=z),u.exits?(l.rangeArray=[{row:l.rangeArray[0].row,column:[o,V]}],l.rangeSplitArray.range={row:l.rangeArray[0].row,column:[o,V]},l.rangeSplitArray.rowtitle={row:l.rangeSplitArray.rowtitle.row,column:[O-o,V-o]},l.rangeSplitArray.content={row:l.rangeSplitArray.content.row,column:[O-o,V-o]}):(l.rangeArray=[{row:l.rangeArray[0].row,column:[O,V]}],l.rangeSplitArray.range={row:l.rangeArray[0].row,column:[O,V]})}else if(A=="luckysheet-chart-rangeShow-coltitle"){var R,I;if(h.chart_selection.rangeResize=="lt"||h.chart_selection.rangeResize=="rt"?(R=h.chart_selection.rangeResizeIndex.row[0],I=h.chart_selection.rangeResizeIndex.row[1]):(h.chart_selection.rangeResize=="lb"||h.chart_selection.rangeResize=="rb")&&(R=h.chart_selection.rangeResizeIndex.row[1],I=h.chart_selection.rangeResizeIndex.row[0]),s.exits){var M=R-h.chart_selection.rangeResizexy[0]+x;M<a+s.range[1]+1||v<0?M=a+s.range[1]+1:(M>=_.length-1||v>k)&&(M=_.length-1)}else{var M=a-h.chart_selection.rangeResizexy[0]+x;M<0||v<0?M=0:(M>=_.length-1||v>k)&&(M=_.length-1)}var E,L;M>I?(E=I,L=M):(E=M,L=I),s.exits?(l.rangeArray=[{row:[a,L],column:l.rangeArray[0].column}],l.rangeSplitArray.range={row:[a,L],column:l.rangeArray[0].column},l.rangeSplitArray.coltitle={row:[E-a,L-a],column:l.rangeSplitArray.coltitle.column},l.rangeSplitArray.content={row:[E-a,L-a],column:l.rangeSplitArray.content.column}):(l.rangeArray=[{row:[E,L],column:l.rangeArray[0].column}],l.rangeSplitArray.range={row:[E,L],column:l.rangeArray[0].column})}h.chart_selection.create()},rangeResizeDragged:function(){h.chart_selection.rangeResize=null;var e=h.currentChart;e.rangeTxt=wt(h.currentSheetIndex,e.rangeArray[0],h.currentSheetIndex),e.chartData=zt(e.rangeArray[0],h.currentSheetIndex),h.changeChartRange(e.chart_id,e.chartData,e.rangeArray,e.rangeTxt)}}}function $c(e,n,t,l){var a=luckysheet.getluckysheet_select_save();a.length==1&&a[0].row[0]==a[0].row[1]&&a[0].column[0]==a[0].column[1]&&(sn("right","rangeOfSelect"),sn("down","rangeOfSelect"),a=luckysheet.getluckysheet_select_save());for(var o=-1,s=a[0].row[1]-a[0].row[0],u=a[0].row[0];u<=a[0].row[1];u++){for(var d=a[0].column[0];d<=a[0].column[1];d++){var f=ze(u,d,luckysheet.flowdata());if(f!=null&&f.toString().length>0){o=u;break}}if(o!==-1)break}o==-1&&(o=0),a[0].row=[o,o],a[0].row_focus=o,luckysheet.setluckysheet_select_save(a),h.luckysheet_shiftpositon=$.extend(!0,{},a[0]),Ba("down","range",!1,s),a=luckysheet.getluckysheet_select_save();for(var m=-1,g=a[0].column[1]-a[0].column[0],d=a[0].column[0];d<=a[0].column[1];d++){for(var u=a[0].row[0];u<=a[0].row[1];u++){var f=ze(u,d,luckysheet.flowdata());if(f!=null&&f.toString().length>0){m=d;break}}if(m!==-1)break}m==-1&&(m=0),a[0].column=[m,m],a[0].column_focus=m,luckysheet.setluckysheet_select_save(a),h.luckysheet_shiftpositon=$.extend(!0,{},a[0]),Ba("right","range",!1,g),a=luckysheet.getluckysheet_select_save();var y=$.extend(!0,[],a),v=wt(h.currentSheetIndex,y[0],h.currentSheetIndex);let k=zt();console.dir(k);let b=Af("chart"),w=b+"_c",x='<div id="${id}"class="luckysheet-modal-dialog luckysheet-modal-dialog-chart ${addclass}"tabindex="0"role="dialog"aria-labelledby=":41e"dir="ltr"><div class="luckysheet-modal-dialog-resize"><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-lt"data-type="lt"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-mt"data-type="mt"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-lm"data-type="lm"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-rm"data-type="rm"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-rt"data-type="rt"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-lb"data-type="lb"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-mb"data-type="mb"></div><div class="luckysheet-modal-dialog-resize-item luckysheet-modal-dialog-resize-item-rb"data-type="rb"></div></div><div class="luckysheet-modal-dialog-controll"><span class="luckysheet-modal-controll-btn luckysheet-modal-controll-update"role="button"tabindex="0"aria-label="\u4FEE\u6539\u56FE\u8868"title="\u4FEE\u6539\u56FE\u8868"><i class="fa fa-pencil"aria-hidden="true"></i></span><span class="luckysheet-modal-controll-btn luckysheet-modal-controll-max"role="butluckysheet_chartIns_indexton"tabindex="0"aria-label="\u6700\u5927\u5316"title="\u6700\u5927\u5316"><i class="fa fa-window-maximize"aria-hidden="true"></i></span><span class="luckysheet-modal-controll-btn luckysheet-modal-controll-del"role="button"tabindex="0"aria-label="\u5220\u9664"title="\u5220\u9664"><i class="fa fa-trash"aria-hidden="true"></i></span></div><div class="luckysheet-modal-dialog-content">${content}</div></div>',C=$(bc(x,{id:w,addclass:"luckysheet-data-visualization-chart",title:"\u56FE\u8868\u751F\u6210",content:""})).appendTo($(".luckysheet-cell-main")),S=document.getElementById(w),{render:_,chart_json:T}=h.createChart($(`#${w}`).children(".luckysheet-modal-dialog-content")[0],k,b,y,v);e=e||400,n=n||250,t=t||0,l=l||0,S.style.width=e+"px",S.style.height=n+"px",S.style.position="absolute",S.style.background="#fff",S.style.left=t+"px",S.style.top=l+"px",_.style.width="100%",_.style.height="100%",S.style.zIndex=h.zIndex?h.zIndex:15,h.zIndex++;let A=h.luckysheetfile[K(h.currentSheetIndex)];A.chart||(A.chart=[]),A.chart.push({chart_id:b,width:e,height:n,left:t,top:l,chartOptions:T.chartOptions,sheetIndex:A.index}),Qa(b),$(`#${b}_c .luckysheet-modal-controll-del`).click(function(R){Lf(b)}),Pf(C),$(`#${b}_c .luckysheet-modal-controll-update`).click(function(R){Bf()}),C.children(".luckysheet-modal-dialog-content").mousedown(function(R){h.chartparam.luckysheetCurrentChartMaxState||Qa(b),R.stopPropagation()}),C.mousedown(function(R){if(!h.chartparam.luckysheetCurrentChartMaxState){Qa(b),tn(!0),!$(R.target).is(".luckysheet-modal-dialog-controll")&&!$(R.target).is(".luckysheet-modal-controll-btn")&&!$(R.target).is("i")&&(h.chartparam.luckysheetCurrentChartMoveTimeout=setTimeout(function(){h.chartparam.luckysheetCurrentChartMove=!0},100));var I=h.chartparam.luckysheetCurrentChartMoveObj.offset(),F=h.chartparam.luckysheetCurrentChartMoveObj.position();h.chartparam.luckysheetCurrentChartMoveXy=[R.pageX-I.left,R.pageY-I.top,F.left,F.top,$("#luckysheet-scrollbar-x").scrollLeft(),$("#luckysheet-scrollbar-y").scrollTop()],h.chartparam.luckysheetCurrentChartMoveWinH=$("#luckysheet-cell-main")[0].scrollHeight,h.chartparam.luckysheetCurrentChartMoveWinW=$("#luckysheet-cell-main")[0].scrollWidth,!$(R.target).hasClass("luckysheet-mousedown-cancel")&&$(R.target).filter("[class*='sp-palette']").length==0&&$(R.target).filter("[class*='sp-thumb']").length==0&&$(R.target).filter("[class*='sp-']").length==0&&($("#luckysheet-rightclick-menu").hide(),$("#luckysheet-cols-h-hover").hide(),$("#luckysheet-cols-menu-btn").hide(),$("#luckysheet-rightclick-menu").hide(),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu, #luckysheet-user-menu").hide(),$("body > .luckysheet-filter-menu, body > .luckysheet-filter-submenu, body > .luckysheet-cols-menu").hide()),R.stopPropagation()}}).find(".luckysheet-modal-dialog-resize-item").mousedown(function(R){if(h.chartparam.luckysheetCurrentChartActive){h.chartparam.luckysheetCurrentChartResize=$(this).data("type");var I=nt(R.pageX,R.pageY),F=$("#luckysheet-scrollbar-x").scrollLeft(),z=$("#luckysheet-scrollbar-y").scrollTop(),M=I[0]+F,N=I[1]+z,E=h.chartparam.luckysheetCurrentChartResizeObj.position();h.chartparam.luckysheetCurrentChartResizeXy=[M,N,C.width(),C.height(),E.left+F,E.top+z,F,z],h.chartparam.luckysheetCurrentChartResizeWinH=$("#luckysheet-cell-main")[0].scrollHeight,h.chartparam.luckysheetCurrentChartResizeWinW=$("#luckysheet-cell-main")[0].scrollWidth,h.chartparam.luckysheetCurrentChart=b,R.stopPropagation()}}),$(`#${b}_c`).mouseup(function(R){let I=$(this).css("width"),F=$(this).css("height"),z=$(this).css("top"),M=$(this).css("left"),N=h.luckysheetfile[K(h.currentSheetIndex)];N.chart||(N.chart=[]),N.chart.forEach(E=>{E.chart_id===b&&(E.width=parseFloat(I),E.height=parseFloat(F),E.left=parseFloat(M),E.top=parseFloat(z))})})}function Pf(e){e.find(".luckysheet-modal-dialog-content").hover(function(){e.removeClass("chart-moveable")},function(){e.addClass("chart-moveable")}),e.hover(function(){e.addClass("chart-moveable")},function(){e.removeClass("chart-moveable")})}function Lf(e){$(`.luckysheet-cell-main #${e}_c`).remove(),Ic();let n=h.luckysheetfile[K(h.currentSheetIndex)],t=n.chart.findIndex(l=>l.chart_id==e);n.chart.splice(t,1),h.deleteChart(e)}function Qa(e){let n=h.luckysheetfile[K(h.currentSheetIndex)].chart;for(let t in n)n[t].needRangeShow=!1,n[t].chart_id==e&&(n[t].needRangeShow=!0,h.currentChart=h.getChartJson(e));zf(e)}function Ic(){let e=h.luckysheetfile[K(h.currentSheetIndex)].chart;for(let n in e)e[n].needRangeShow=!1;Of()}function zf(e){let n=$("#"+e+"_c");h.chart_selection.create(),h.chartparam.luckysheetCurrentChartActive=!0,h.chartparam.luckysheetCurrentChartMoveObj=n,h.chartparam.luckysheetCurrentChartResizeObj=n,h.chartparam.luckysheetCurrentChart=e,$("#luckysheet-cell-main").find(".luckysheet-modal-dialog-chart .luckysheet-modal-dialog-resize").hide(),$("#luckysheet-cell-main").find(".luckysheet-modal-dialog-chart .luckysheet-modal-dialog-controll").hide(),n.css("z-index",h.chartparam.luckysheetCurrentChartZIndexRank++),n.find(".luckysheet-modal-dialog-resize").show(),n.find(".luckysheet-modal-dialog-controll").show(),($(".chartSetting").is(":visible")||h.chartparam.luckysheet_chart_redo_click)&&e!=h.chartparam.luckysheetCurrentChart&&$("body .luckysheet-cols-menu").hide(),h.currentChart=h.highlightChart(e)}function Of(e){$("#luckysheet-cell-main .luckysheet-modal-dialog-chart .luckysheet-modal-dialog-resize, #luckysheet-cell-main .luckysheet-modal-dialog-chart .luckysheet-modal-dialog-controll").hide(),$("#luckysheet-cell-main").find(".luckysheet-datavisual-selection-set div").remove(),h.chartparam.luckysheetCurrentChartActive=!1,$("#luckysheet-chart-rangeShow").empty(),!e&&$(".chartSetting").is(":visible")&&!de()&&H2()}function Bf(e,n){$(".chartSetting").is(":visible")||($(".chartSetting").show(),$("#luckysheet-cell-main").find(".luckysheet-datavisual-selection-set div").show(),h.chartparam.luckysheetCurrentChartActive=!0,setTimeout(function(){$t()},0))}function H2(e){$(".chartSetting").is(":visible")&&($(".chartSetting").hide(),$("#luckysheet-cell-main .luckysheet-modal-dialog-chart .luckysheet-modal-dialog-resize, #luckysheet-cell-main .luckysheet-modal-dialog-chart .luckysheet-modal-dialog-controll").hide(),$("#luckysheet-cell-main").find(".luckysheet-datavisual-selection-set div").remove(),h.chartparam.luckysheetCurrentChartActive=!1,!de()&&!e&&setTimeout(function(){$t()},0))}function Rc(e){Of("true"),h.luckysheetfile.forEach(t=>{t.index==e?(t.chart||[]).forEach(a=>{a.isShow=!0,$("#"+a.chart_id+"_c").show(),h.resizeChart(a.chart_id),a.needRangeShow==!0&&(h.currentChart=h.getChartJson(a.chart_id),zf(a.chart_id))}):(t.chart||[]).forEach(a=>{a.isShow=!1,$("#"+a.chart_id+"_c").hide()})})}var Ff,Ef,P2,L2,Ao=$e(()=>{ht();Df();Zt();Xe();qt();Hi();Dt();Zl();Rn();Ha();Pt();nr();Xe();Ff=xt,Ef=bt,P2=["https://unpkg.com/vue@2.6.11/dist/vue.min.js","https://unpkg.com/vuex@3.4.0/dist/vuex.min.js","https://unpkg.com/element-ui@2.13.2/lib/index.js","https://unpkg.com/echarts@4.8.0/dist/echarts.min.js","./expendPlugins/chart/chartmix.umd.min.js"],L2=["https://unpkg.com/element-ui@2.13.2/lib/theme-chalk/index.css","./expendPlugins/chart/chartmix.css"]});function ba(e){h.flowdata==null||h.flowdata.length==0||(clearTimeout(qf),qf=setTimeout(()=>{h.clearjfundo&&h.jfredo.push({type:"zoomChange",zoomRatio:h.zoomRatio,curZoomRatio:e,sheetIndex:h.currentSheetIndex}),Xr=null,h.zoomRatio=e;let n=ve.getSheetByIndex();He.buildAllPs(n.data),Ie.images=n.images,Ie.allImagesShow(),Ie.init(),n.config==null&&(n.config={}),n.config.sheetViewZoom==null&&(n.config.sheetViewZoom={});let t=n.config.curentsheetView;t==null&&(t="viewNormal"),n.config.sheetViewZoom[t+"ZoomScale"]=e,ne.saveParam("all",h.currentSheetIndex,h.zoomRatio,{k:"zoomRatio"}),ne.saveParam("cg",h.currentSheetIndex,n.config.sheetViewZoom,{k:"sheetViewZoom"}),ei()},100))}function ei(){St(h.flowdata.length,h.flowdata[0].length),ec()}function jf(){let e=.02,n=.1,t=4,l=.1;$("#luckysheet-zoom-minus").click(function(){let a;h.zoomRatio==null?a=h.zoomRatio=1:a=Math.ceil(h.zoomRatio*10)/10,a=a-n,a==h.zoomRatio&&(a=a-n),a<=l&&(a=l),ba(a),or(a)}),$("#luckysheet-zoom-plus").click(function(){let a;h.zoomRatio==null?a=h.zoomRatio=1:a=Math.floor(h.zoomRatio*10)/10,a=a+n,a==h.zoomRatio&&(a=a+n),a>=t&&(a=t),ba(a),or(a)}),$("#luckysheet-zoom-slider").mousedown(function(a){let o=$(this).offset().left,s=a.pageX,u=Uf(s-o);ba(u),or(u)}),$("#luckysheet-zoom-cursor").mousedown(function(a){let o=a.pageX,s=parseFloat($("#luckysheet-zoom-cursor").css("left"));$("#luckysheet-zoom-cursor").css("transition","none"),$(document).off("mousemove.zoomCursor").on("mousemove.zoomCursor",function(u){let f=u.pageX-o,m=s+f,g=Uf(m);g>t&&(g=t,m=100),g<l&&(g=l,m=0),ba(g);let y=Math.round(g*100)+"%";$("#luckysheet-zoom-ratioText").html(y),$("#luckysheet-zoom-cursor").css("left",m-4)}),$(document).off("mouseup.zoomCursor").on("mouseup.zoomCursor",function(u){$(document).off(".zoomCursor"),$("#luckysheet-zoom-cursor").css("transition","all 0.3s")}),a.stopPropagation()}).click(function(a){a.stopPropagation()}),$("#luckysheet-zoom-ratioText").click(function(){ba(1),or(1)}),or(h.zoomRatio),Xr=null,document.addEventListener("wheel",function(a){!a.ctrlKey||!a.deltaY||(Xr===null&&(Xr=h.zoomRatio||1),Xr+=a.deltaY<0?e:-e,Xr>=t?Xr=t:Xr<l&&(Xr=l),ba(Xr),or(Xr),a.preventDefault(),a.stopPropagation())},{capture:!0,passive:!1}),document.addEventListener("keydown",function(a){if(!a.ctrlKey)return;let o=!1,s=h.zoomRatio||1;a.key==="-"||a.which===189?(s-=n,o=!0):a.key==="+"||a.which===187?(s+=n,o=!0):(a.key==="0"||a.which===48)&&(s=1,o=!0),o&&(a.preventDefault(),s>=t?s=t:s<l&&(s=l),ba(s),or(s))},{capture:!0})}function Uf(e){let n=1;return e<50?n=Math.round((e*1.8/100+.1)*100)/100:e>50&&(n=Math.round(((e-50)*6/100+1)*100)/100),n}function V2(e){let n=50;e<1?n=Math.round((e-.1)*100/.18)/10:e>1&&(n=Math.round((e-1)*100/.6)/10+50),$("#luckysheet-zoom-cursor").css("left",n-4)}function or(e){let n=Math.round(e*100)+"%";$("#luckysheet-zoom-ratioText").html(n),V2(e)}var qf,Xr,Vi=$e(()=>{Xe();yt();ht();gl();nr();Xt();ll();Gr();jr();qf=null;Xr=null});var q2,ve,gl=$e(()=>{Pt();qr();Zt();gr();Rf();tl();qt();Xt();Ai();Qt();fa();Pt();ht();Wt();ll();Sl();cn();nr();Gr();jr();vr();Ya();Vl();wn();Jt();Xe();yt();Ao();nr();Vi();ol();El();_l();qt();q2={generateRandomSheetIndex:function(e){e==null&&(e="Sheet");let n=window.navigator.userAgent.replace(/[^a-zA-Z0-9]/g,"").split(""),t="";for(let a=0;a<12;a++)t+=n[Math.round(Math.random()*(n.length-1))];let l=new Date().getTime();return e+"_"+t+"_"+l},generateRandomSheetName:function(e,n){let t=e.length,a=Q().pivotTable.title;for(let o=0;o<e.length;o++)if(e[o].name.indexOf("Sheet")>-1||e[o].name.indexOf(a)>-1){let s=parseFloat(e[o].name.replace("Sheet","").replace(a,""));s!="NaN"&&Math.ceil(s)>t&&(t=Math.ceil(s))}return n?a+(t+1):"Sheet"+(t+1)},generateCopySheetName:function(e,n){let l=Q().info,a="("+l.copy,o=n.toString().indexOf(a);~o&&(n=n.toString().substring(0,o));let s="",u=n+a,d=[];for(let m=0;m<e.length;m++){let g=e[m].name.toString();d.push(g);let y=g.indexOf(u);if(y===0){s=s||2;let v=g.indexOf(")",y+u.length),k=g.substring(y+u.length,v);B(k)&&parseInt(k)>=s&&(s=parseInt(k)+1)}}let f;do{let m=a+s+")",g=31-m.length;f=n,f.length>g&&(f=f.slice(0,g-1)+"\u2026"),f=f+m}while(~d.indexOf(f)&&(s=(s||1)+1));return f},getSheetByIndex:function(e){let n=this;e==null&&(e=h.currentSheetIndex);let t=n.getSheetIndex(e);return h.luckysheetfile[t]},getSheetByName:function(e){let n=this;if(e==null)return null;for(let t=0;t<h.luckysheetfile.length;t++){let l=h.luckysheetfile[t];if(l.name==e)return l}return null},getCurSheetnoset:function(){let e=0;for(let n=0;n<h.luckysheetfile.length;n++)if(h.luckysheetfile[n].status==1){e=h.luckysheetfile[n].index;break}return e},getCurSheet:function(){if(h.luckysheetfile.length){let e=!1,n=[];h.luckysheetfile.forEach(t=>{typeof t.index=="undefined"&&(t.index=this.generateRandomSheetIndex()),n.includes(t.index)?t.index=this.generateRandomSheetIndex():n.push(t.index),typeof t.status=="undefined"&&(t.status=0),t.status==1&&(e?t.status=0:e=!0)}),e||(h.luckysheetfile[0].status=1)}h.currentSheetIndex=h.luckysheetfile[0].index;for(let e=0;e<h.luckysheetfile.length;e++)if(h.luckysheetfile[e].status==1){h.currentSheetIndex=h.luckysheetfile[e].index;break}return h.currentSheetIndex},getCustomSheet(){return this.Luckysheet_custom_sheet?JSON.parse(JSON.stringify(this.Luckysheet_custom_sheet)):{}},setCustomSheet(e){this.Luckysheet_custom_sheet=e},addNewSheet:function(e,n){if(de()||h.allowEdit===!1||!Ke.createHookFunction("sheetCreateBefore"))return;let t=this,l=h.luckysheetfile.length,a=t.generateRandomSheetIndex(),o=t.generateRandomSheetName(h.luckysheetfile,n);$("#luckysheet-sheet-container-c").append(_e(Ql,{index:a,active:"",name:o,style:"",colorset:""}));let s={},u=this.getCustomSheet();if(JSON.stringify(u)!="{}"&&u!=null&&s!=null?(s=u,s.index=a,s.order=l,s.name=o):s={name:o,color:"",status:"0",order:l,index:a,celldata:[],row:h.defaultrowNum,column:h.defaultcolumnNum,config:{},pivotTable:null,isPivotTable:!!n},h.luckysheetfile.push(s),$("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active"),$("#luckysheet-sheets-item"+a).addClass("luckysheet-sheets-item-active"),$("#luckysheet-cell-main").append('<div id="luckysheet-datavisual-selection-set-'+a+'" class="luckysheet-datavisual-selection-set"></div>'),nl(e),ne.saveParam("sha",null,$.extend(!0,{},s)),h.clearjfundo){h.jfundo.length=0;let d={};d.type="addSheet",d.sheetconfig=$.extend(!0,{},s),d.index=a,d.currentSheetIndex=h.currentSheetIndex,h.jfredo.push(d)}t.changeSheetExec(a,n,!0)},setSheetHide:function(e,n){let t=this,l=t.getSheetIndex(e);if(!n&&!Ke.createHookFunction("sheetHideBefore",{sheet:h.luckysheetfile[l]}))return;h.luckysheetfile[l].hide=1;let a=$("#luckysheet-sheets-item"+e);a.hide(),$("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active");let o;if(me.showsheetbarConfig.sheet)o=a.nextAll(":visible"),a.nextAll(":visible").length>0?o=o.eq(0).data("index"):o=a.prevAll(":visible").eq(0).data("index");else{let s,u=[];h.luckysheetfile.forEach((f,m)=>{f.hide!==1&&u.push(m)});let d=u.length;d===1?s=u[0]:s=u[d-1]>l?u.find(f=>f>l):u[d-1],o=h.luckysheetfile[s].index}$("#luckysheet-sheets-item"+o).addClass("luckysheet-sheets-item-active"),t.changeSheetExec(o),t.locationSheet(),ne.saveParam("sh",a.data("index"),1,{op:"hide",cur:o}),n||Ke.createHookFunction("sheetHideAfter",{sheet:h.luckysheetfile[l]})},setSheetShow:function(e){let n=this,t=h.luckysheetfile[n.getSheetIndex(e)];!Ke.createHookFunction("sheetShowBefore",{sheet:t})||(t.hide=0,n.changeSheetExec(e),ne.saveParam("sh",e,0,{op:"show",cur:null}),Ke.createHookFunction("sheetShowAfter",{sheet:t}))},sheetMaxIndex:0,ordersheet:function(e){return function(n,t){let l=n[e],a=t[e];return l-a}},getCurrentOrder:function(){let e={};return $("#luckysheet-sheet-area div.luckysheet-sheets-item").each(function(n){let t=$(this).data("index");for(let l=0;l<h.luckysheetfile.length;l++)if(h.luckysheetfile[l].index==t){e[t.toString()]=n;break}}),e},reOrderAllSheet:function(){let e={};$("#luckysheet-sheet-area div.luckysheet-sheets-item").each(function(n){let t=$(this).data("index");for(let l=0;l<h.luckysheetfile.length;l++)if(h.luckysheetfile[l].index==t){h.luckysheetfile[l].order=n,e[t.toString()]=n;break}}),ne.saveParam("shr",null,e),h.luckysheetfile.sort((n,t)=>{let l=n.order,a=t.order;return l!=null&&a!=null?l-a:l!=null?-1:(a!=null,1)})},createSheet:function(){let e=this,n=[];h.luckysheetfile.sort(e.ordersheet("order"));for(let t=0;t<h.luckysheetfile.length;t++){let l="",a=h.luckysheetfile[t].index,o="";h.luckysheetfile[t].color!=null&&(o='<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+h.luckysheetfile[t].color+';"></div>'),h.currentSheetIndex==a?n.push(_e(Ql,{index:a,active:"luckysheet-sheets-item-active",name:h.luckysheetfile[t].name,style:"",colorset:o})):(h.luckysheetfile[t].hide==1?n.push(_e(Ql,{index:a,active:"",name:h.luckysheetfile[t].name,style:"display:none;",colorset:o})):n.push(_e(Ql,{index:a,active:"",name:h.luckysheetfile[t].name,style:"",colorset:o})),l="style='display:none;'"),$("#luckysheet-cell-main").append("<div "+l+' id="luckysheet-datavisual-selection-set-'+a+'" class="luckysheet-datavisual-selection-set"></div>')}$("#luckysheet-sheet-container-c").append(n.join("")),e.locationSheet()},locationSheet:function(){let e=$("#luckysheet-sheet-container-c"),n=$("#"+h.container).width(),t=$("#luckysheet-sheet-container-c > div.luckysheet-sheets-item-active").eq(0),l=0,a=0;$("#luckysheet-sheet-container-c > div.luckysheet-sheets-item:visible").each(function(){$(this).hasClass("luckysheet-sheets-item-active")&&(l=a),a+=$(this).outerWidth()}),setTimeout(function(){e.scrollLeft(l-10),me.showsheetbarConfig.sheet&&(a>=n*.7?($("#luckysheet-sheet-area .luckysheet-sheets-scroll").css("display","inline-block"),$("#luckysheet-sheet-container .docs-sheet-fade-left").show()):($("#luckysheet-sheet-area .luckysheet-sheets-scroll").css("display","none"),$("#luckysheet-sheet-container .docs-sheet-fade-left").hide()))},1)},copySheet:function(e,n){if(de()||h.allowEdit===!1)return;let t=this,l=h.luckysheetfile.length,a=t.generateRandomSheetIndex(),o=t.getSheetIndex(e),s=$.extend(!0,{},h.luckysheetfile[o]);if(s.order=l,s.index=a,s.name=t.generateCopySheetName(h.luckysheetfile,s.name),!Ke.createHookFunction("sheetCopyBefore",{targetSheet:h.luckysheetfile[o],copySheet:s}))return;let u="";s.color!=null&&(u='<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+s.color+';"></div>');let d=$("#luckysheet-sheets-item"+e);if($("#luckysheet-sheet-container-c").append(_e(Ql,{index:s.index,active:"",name:s.name,order:s.order,style:"",colorset:u})),$("#luckysheet-sheets-item"+s.index).insertAfter(d),h.luckysheetfile.splice(o+1,0,s),$("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active"),$("#luckysheet-sheets-item"+a).addClass("luckysheet-sheets-item-active"),$("#luckysheet-cell-main").append('<div id="luckysheet-datavisual-selection-set-'+a+'" class="luckysheet-datavisual-selection-set"></div>'),nl(n),ne.saveParam("shc",a,{copyindex:e,name:s.name}),t.changeSheetExec(a,void 0,void 0,!0),t.reOrderAllSheet(),h.clearjfundo)h.jfredo.push({type:"copySheet",copyindex:e,index:s.index,sheetIndex:s.index});else if(h.jfredo.length>0){let f=h.jfredo[h.jfredo.length-1];f.type=="copySheet"&&(f.index=s.index,f.sheetIndex=s.index)}},hasSheet:function(e){return!(e==null||(e=this.getSheetIndex(e),e==null))},createSheetbydata:function(e,n,t=!0){let l=this,a="";if(e.color!=null&&(a='<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+e.color+';"></div>'),$("#luckysheet-sheet-container-c").append(_e(Ql,{index:e.index,active:"",name:e.name,order:e.order,style:"",colorset:a})),t){let o=e.order;o>=h.luckysheetfile.length?(o=h.luckysheetfile.length-1,$("#luckysheet-sheets-item"+e.index).insertAfter($("#luckysheet-sheets-item"+h.luckysheetfile[o].index))):$("#luckysheet-sheets-item"+e.index).insertBefore($("#luckysheet-sheets-item"+h.luckysheetfile[o].index))}h.luckysheetfile.push(e),$("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active"),$("#luckysheet-sheets-item"+e.index).addClass("luckysheet-sheets-item-active"),$("#luckysheet-cell-main").append('<div id="luckysheet-datavisual-selection-set-'+e.index+'" class="luckysheet-datavisual-selection-set"></div>'),nl(),n!=null?(ne.saveParam("shre",null,{reIndex:e.index}),e.hide=0,ne.saveParam("sh",e.index,0,{op:"show",cur:null})):ne.saveParam("sha",null,e),l.changeSheetExec(e.index,e.isPivotTable,!0),l.reOrderAllSheet()},deleteSheet:function(e){let n=this;if(h.allowEdit===!1)return;let t=n.getSheetIndex(e),l=h.luckysheetfile[t];if(!Ke.createHookFunction("sheetDeleteBefore",{sheet:l}))return;n.setSheetHide(e,!0),$("#luckysheet-sheets-item"+e).remove(),$("#luckysheet-datavisual-selection-set-"+e).remove();let a=h.luckysheetfile.splice(t,1);n.reOrderAllSheet(),ne.saveParam("shd",null,{deleIndex:e}),h.clearjfundo&&(a[0].type="deleteSheet",h.jfredo.push(a[0])),Ke.createHookFunction("sheetDeleteAfter",{sheet:l})},nulldata:null,getGridData:function(e){let n=[];for(let t=0;t<e.length;t++)for(let l=0;l<e[0].length;l++)e[t][l]!=null&&n.push({r:t,c:l,v:e[t][l]});return n},buildGridData:function(e){let n=e.row==null?h.defaultrowNum:e.row,t=e.column==null?h.defaultcolumnNum:e.column,l=e.data&&e.data.length>0?e.data:Vt([],n,t),a=e.celldata;if(e.data&&e.data.length>0)for(let o=0;o<l.length;o++)for(let s=0;s<l[0].length;s++)Ft(o,s,l,l[o][s]);else if(a&&a.length>0)for(let o=0;o<a.length;o++){let s=a[o],u=s.r,d=s.c,f=s.v;u>=l.length&&(l=Vt(l,u-l.length+1,0)),d>=l[0].length&&(l=Vt(l,0,d-l[0].length+1)),Ft(u,d,l,f)}return me.autoFormatw=!1,me.accuracy=void 0,l},cutGridData:function(e){let n=0;for(let t=e.length-1;t>=0;t--){let l=!0;for(let a=0;a<e[0].length;a++){let o=ze(t,a);if(o!=null&&$.trim(o).length>0){l=!1;break}}if(l)n=t;else break}return e.slice(0,n)},addGridData:function(e,n,t){let l=Vt([],n,t);if(e!=null)for(let a=0;a<e.length;a++){let o=e[a],s=o.r,u=o.c,d=o.v;s>=l.length&&(l=Vt(l,s-l.length+1,0)),u>=l[0].length&&(l=Vt(l,0,u-l[0].length+1)),Ft(s,u,l,d)}return l},sheetParamRestore:function(e,n){if(h.luckysheet_select_save=e.luckysheet_select_save,(h.luckysheet_select_save==null||h.luckysheet_select_save.length==0)&&(n[0]!=null&&n[0][0]!=null&&n[0][0].mc!=null?h.luckysheet_select_save=[{row:[0,n[0][0].mc.rs-1],column:[0,n[0][0].mc.cs-1]}]:h.luckysheet_select_save=[{row:[0,0],column:[0,0]}]),h.luckysheet_selection_range=e.luckysheet_selection_range==null?[]:e.luckysheet_selection_range,h.config=e.config==null?{}:e.config,h.zoomRatio=e.zoomRatio==null?1:e.zoomRatio,e.defaultRowHeight!=null?h.defaultrowlen=parseFloat(e.defaultRowHeight):h.defaultrowlen=me.defaultRowHeight,e.defaultColWidth!=null?h.defaultcollen=parseFloat(e.defaultColWidth):h.defaultcollen=me.defaultColWidth,e.showGridLines!=null){let t=e.showGridLines;t==0||t==!1?h.showGridLines=!1:h.showGridLines=!0}else h.showGridLines=!0},initialjfFile:function(e,n){let t=this;t.getCurSheet();let l=h.luckysheetfile[t.getSheetIndex(h.currentSheetIndex)];t.nulldata=Vt([],h.defaultrowNum,h.defaultcolumnNum);let a=t.buildGridData(l),o=[];l.jfgird_select_save=l.jfgird_select_save||[],l.jfgird_select_save.forEach(m=>o.push({row:m.row,column:m.column})),l.luckysheet_select_save=o,this.sheetParamRestore(l,a);let s=h.luckysheet_select_save[0].row[1],u=h.luckysheet_select_save[0].column[1];if(h.luckysheet_select_save.length>1)for(let m=0;m<h.luckysheet_select_save.length;m++)h.luckysheet_select_save[m].row[1]>s&&(s=h.luckysheet_select_save[m].row[1]),h.luckysheet_select_save[m].column[1]>u&&(u=h.luckysheet_select_save[m].column[1]);be.fontInitial(h.fontList),l.data=a;let d=a.length;s>d-1&&(d=s+1);let f=a[0].length;u>f-1&&(f=u+1),typeof me.beforeCreateDom=="function"&&me.beforeCreateDom(luckysheet),typeof me.workbookCreateBefore=="function"&&me.workbookCreateBefore(luckysheet),kc(f,d,a,e,n),setTimeout(function(){U.createHoverTip("#luckysheet_info_detail",".luckysheet_info_detail_back, .luckysheet_info_detail_input, .luckysheet_info_detail_update"),U.createHoverTip("#luckysheet-wa-editor",".luckysheet-toolbar-menu-button, .luckysheet-toolbar-button, .luckysheet-toolbar-combo-button"),h.luckysheetTableContentHW=[$("#luckysheet-cell-main").width()+h.rowHeaderWidth-h.cellMainSrollBarSize,$("#luckysheet-cell-main").height()+h.columnHeaderHeight-h.cellMainSrollBarSize],$("#luckysheetTableContent, #luckysheetTableContentF").attr({width:Math.ceil(h.luckysheetTableContentHW[0]*h.devicePixelRatio),height:Math.ceil(h.luckysheetTableContentHW[1]*h.devicePixelRatio)}).css({width:h.luckysheetTableContentHW[0],height:h.luckysheetTableContentHW[1]}).get(0).getContext("2d");let m=Q().info,y=ne.gridKey+"__qkcache",v=function(){l.load="1",t.createSheet();let k=function(){t.mergeCalculation(l.index),t.setSheetParam(!1),t.storeSheetParam(),t.restoreselect(),t.CacheNotLoadControll=[],t.restoreCache(),p.execFunctionGroupForce(me.forceCalculation),t.restoreSheetAll(h.currentSheetIndex),$("#luckysheet_info_detail_save").html(m.detailSave),l.isPivotTable?h.luckysheetcurrentisPivotTable=!0:(h.luckysheetcurrentisPivotTable=!1,$("#luckysheet-modal-dialog-slider-pivot").hide()),af(),$t(),l.scrollLeft!=null&&l.scrollLeft>0?$("#luckysheet-scrollbar-x").scrollLeft(l.scrollLeft):$("#luckysheet-scrollbar-x").scrollLeft(0),l.scrollTop!=null&&l.scrollTop>0?$("#luckysheet-scrollbar-y").scrollTop(l.scrollTop):$("#luckysheet-scrollbar-y").scrollTop(0),Wn(h.asyncLoad,"core"),me.pointEdit?setTimeout(function(){h.loadingObj.close()},0):setTimeout(function(){h.loadingObj.close()},500)},b=ne.loadSheetUrl;if(b=="")t.loadOtherFile(l),k();else{let w=t.checkLoadSheetIndex(l),x=[];for(let C=0;C<w.length;C++){let S=w[C];S!=l.index&&x.push(S)}if(x.length===0){k();return}$.post(b,{gridKey:ne.gridKey,index:x.join(",")},function(C){let S=new Function("return "+C)();for(let _ in S){if(_==l.index)continue;let T=h.luckysheetfile[t.getSheetIndex(_)];(T.load==null||T.load=="0")&&(T.celldata=S[_.toString()],T.data=t.buildGridData(T),T.load="1")}k()})}};try{localforage.getItem(y).then(function(k){k!=null&&(t.CacheNotLoadControll=k),ne.clearcachelocaldata(function(){v()})})}catch(k){v(),console.log("\u7F13\u5B58\u64CD\u4F5C\u5931\u8D25")}},1)},storeSheetParam:function(){let e=this.getSheetIndex(h.currentSheetIndex),n=h.luckysheetfile[e];n.config=h.config,n.visibledatarow=h.visibledatarow,n.visibledatacolumn=h.visibledatacolumn,n.ch_width=h.ch_width,n.rh_height=h.rh_height,n.luckysheet_select_save=$.extend(!0,[],h.luckysheet_select_save),n.luckysheet_selection_range=$.extend(!0,[],h.luckysheet_selection_range),$("#luckysheet-scrollbar-x")[0].scrollWidth>$("#luckysheet-scrollbar-x")[0].offsetWidth&&(n.scrollLeft=$("#luckysheet-scrollbar-x").scrollLeft()),$("#luckysheet-scrollbar-y")[0].scrollHeight>$("#luckysheet-scrollbar-y")[0].offsetHeight&&(n.scrollTop=$("#luckysheet-scrollbar-y").scrollTop()),n.zoomRatio=h.zoomRatio},setSheetParam:function(e=!0){let n=this.getSheetIndex(h.currentSheetIndex),t=h.luckysheetfile[n];h.flowdata=t.data,we.webWorkerFlowDataCache(h.flowdata),p.execFunctionGlobalData=null,window.luckysheet_getcelldata_cache=null,this.sheetParamRestore(t,h.flowdata),t.freezen==null?(X.freezenhorizontaldata=null,X.freezenverticaldata=null):(X.freezenhorizontaldata=t.freezen.horizontal==null?null:t.freezen.horizontal.freezenhorizontaldata,X.freezenverticaldata=t.freezen.vertical==null?null:t.freezen.vertical.freezenverticaldata),e&&vn(h.flowdata.length,h.flowdata[0].length),He.buildAllPs(h.flowdata),Ie.currentImgId=null,Ie.images=t.images,Ie.allImagesShow(),Ie.init(),Ye.dataVerification=t.dataVerification,Ye.init(),Cl.hyperlink=t.hyperlink,Cl.init(),Fl(t.filter_select,t.filter)},restoreselect:function(){let e=this.getSheetIndex(h.currentSheetIndex),n=h.luckysheetfile[e];tt(!0),Bt(),n.scrollLeft!=null&&n.scrollLeft>0?$("#luckysheet-scrollbar-x").scrollLeft(n.scrollLeft):$("#luckysheet-scrollbar-x").scrollLeft(0),n.scrollTop!=null&&n.scrollTop>0?$("#luckysheet-scrollbar-y").scrollTop(n.scrollTop):$("#luckysheet-scrollbar-y").scrollTop(0)},storeSheetParamALL:function(){let e=this;e.storeSheetParam();let n=e.getSheetIndex(h.currentSheetIndex);h.luckysheetfile[n].data=h.flowdata,h.luckysheetfile[n].config=$.extend(!0,{},h.config)},mergeCalculationSheet:{},mergeCalculation:function(e){let n=h.luckysheetfile[this.getSheetIndex(e)],t=n.config,l=n.data;if(t==null)return;let a=t.merge;if(!(a==null||e in this.mergeCalculationSheet||n.autoCalculationMerge===!1)){this.mergeCalculationSheet[e]=1;for(let o in a){let s=parseInt(o.substr(0,o.indexOf("_"))),u=parseInt(o.substr(o.indexOf("_")+1)),d=a[o];l[s][u]==null&&(l[s][u]={}),l[s][u].mc={r:s,c:u,rs:d.rs,cs:d.cs};for(let f=s;f<s+d.rs;f++)for(let m=u;m<u+d.cs;m++)f==s&&m==u||(l[f][m]==null&&(l[f][m]={}),l[f][m].mc={r:s,c:u})}}},loadOtherFile:function(e){let n=this;for(let t=0;t<h.luckysheetfile.length;t++){let l=h.luckysheetfile[t];l.index!=e.index&&(l.load==null||l.load=="0")&&(l.data=n.buildGridData(l),l.load="1")}},changeSheet:function(e,n,t,l){if(de())return;let a=this;if(e==h.currentSheetIndex)return;ne.allowUpdate&&($("#luckysheet-cell-main #luckysheet-multipleRange-show").empty(),ne.multipleIndex=0);let o=h.luckysheetfile[a.getSheetIndex(e)];if(t&&Ke.createHookFunction("sheetCreateAfter",{sheet:o}),l&&Ke.createHookFunction("sheetCopyAfter",{sheet:o}),Ke.createHookFunction("sheetActivate",e,n,t),$("#luckysheet-filter-selected-sheet"+h.currentSheetIndex+", #luckysheet-filter-options-sheet"+h.currentSheetIndex).hide(),$("#luckysheet-filter-selected-sheet"+e+", #luckysheet-filter-options-sheet"+e).show(),window.luckysheetCurrentIndex=e,a.storeSheetParamALL(),a.setCurSheet(e),o.isPivotTable?(h.luckysheetcurrentisPivotTable=!0,n||Oe.changePivotTable(e)):(h.luckysheetcurrentisPivotTable=!1,$("#luckysheet-modal-dialog-slider-pivot").hide(),$t(!1),this.refreshAllPivotTable(h.currentSheetIndex)),o.load!=null){let u=a.buildGridData(o);o.data=u,a.mergeCalculation(e),a.setSheetParam(!0),a.showSheet(),setTimeout(function(){p.execFunctionGroupForce(!0),Be(),ne.saveParam("shs",null,h.currentSheetIndex)},1)}else{let u=ne.loadSheetUrl;if(u==""||h.luckysheetcurrentisPivotTable||!!t){let d=a.buildGridData(o);o.data=d,o.load="1",a.mergeCalculation(e),a.setSheetParam(),a.showSheet(),setTimeout(function(){a.restoreCache(),p.execFunctionGroupForce(me.forceCalculation),a.restoreSheetAll(h.currentSheetIndex),Be()},1),ne.saveParam("shs",null,h.currentSheetIndex)}else{$("#luckysheet-grid-window-1").append(Nr());let d=a.checkLoadSheetIndex(o);$.post(u,{gridKey:ne.gridKey,index:d.join(",")},function(f){let m=new Function("return "+f)();o.celldata=m[e.toString()];let g=a.buildGridData(o);setTimeout(function(){h.loadingObj.close()},500);for(let y in m){if(y==e)continue;let v=h.luckysheetfile[a.getSheetIndex(y)];(v.load==null||v.load=="0")&&(v.celldata=m[y.toString()],v.data=a.buildGridData(v),v.load="1")}o.data=g,o.load="1",a.mergeCalculation(e),a.setSheetParam(),a.showSheet(),setTimeout(function(){a.restoreCache(),p.execFunctionGroupForce(me.forceCalculation),a.restoreSheetAll(h.currentSheetIndex),Be()},1),ne.saveParam("shs",null,h.currentSheetIndex)})}}$("#luckysheet-cell-main .luckysheet-datavisual-selection-set").hide(),$("#luckysheet-datavisual-selection-set-"+e).show(),p.hideButton(),Rc(e),X.initialFreezen(e),a.restoreselect(),nc(o)},refreshAllPivotTable:function(e){h.luckysheetfile.forEach(n=>{n.isPivotTable&&this.refreshPivotTableByFile(n)})},refreshPivotTableByFile:function(e){let n=e.pivotTable,t=n.column,l=n.row,a=n.values,o=n.showType,s=n.filterparm,u=n.pivotDataSheetIndex,d=this.getSheetIndex(u),f=h.luckysheetfile[d];f.data==null&&(f.data=this.buildGridData(f));let m=oa(f.data,n.pivot_select_save),g={};if(s!=null)for(let _ in s)for(let T in s[_])T==="rowhidden"&&_this.filterparm[_][T]!=null&&(g=$.extend(!0,g,s[_][T]));let y=[];for(let _=0;_<m.length;_++)g!=null&&g[_]!=null||y.push([].concat(m[_]));let v=Oe.dataHandler(t,l,a,o,y);n.pivotDatas=v;let k=$.extend(!0,[],this.nulldata),b=k,w=0,x=0,C=v.length,S=v[0].length;w=C-k.length,x=S-k[0].length,b=Vt(k,w+20,x+10,!0);for(let _=0;_<C;_++)for(let T=0;T<S;T++){let A="";v[_]!=null&&v[_][T]!=null&&(A=ze(_,T,v),Ft(_,T,b,A))}e.data=b},checkLoadSheetIndexToDataIndex:{},checkLoadSheetIndex:function(e){let n=p.getAllFunctionGroup(),t=e.chart,l=e.pivotTable,a=[],o={};if(e.index in this.checkLoadSheetIndexToDataIndex)return[];if(a.push(e.index),o[e.index.toString()]=1,this.checkLoadSheetIndexToDataIndex[e.index]=1,n!=null){let s={};for(let u=0;u<n.length;u++){let d=n[u],f=d.index,m=Ol(d.r,d.c,f);if(m==null){let g=h.luckysheetfile[this.getSheetIndex(f)];if(g.data=this.buildGridData(g),m=Ol(d.r,d.c,f),m==null)continue}if(m.indexOf("!")==-1)p.addToSheetIndexList(m,f);else if(p.formulaContainSheetList!=null&&p.formulaContainSheetList[m]!=null)for(let g in p.formulaContainSheetList[m])s[g]=1;else p.functionParser(m,g=>{if(p.addToCellList(m,g),g.indexOf("!")>-1){let y=g.substr(0,g.indexOf("!")),v=this.getSheetByName(y);if(v!=null){let k=v.index;s[k]=1,p.addToSheetIndexList(m,k)}}}),p.formulaContainSheetList[m]==null&&p.addToSheetIndexList(m,f);f!=null}for(let u in s){let d=u;o[d.toString()]==null&&(a.push(d),o[d.toString()]=1,this.checkLoadSheetIndexToDataIndex[d]=1)}}if(t!=null)for(let s=0;s<t.length;s++){let d=t[s].dataSheetIndex;d!=null&&o[d.toString()]==null&&(a.push(d),o[d.toString()]=1)}if(l!=null){let s=l.pivotDataSheetIndex;s!=null&&o[s.toString()]==null&&(a.push(s),o[s.toString()]=1)}return a},showSheet:function(){$("#luckysheet-cell-flow_0").css({width:h.ch_width,top:"-1px"}),$("#luckysheet-sheettable_0").css({width:h.ch_width-1,height:h.rh_height}),$("#luckysheetrowHeader_0").css("height",h.rh_height),$("#luckysheet-cols-h-cells_0").css("width",h.ch_width),$("#luckysheet-scrollbar-x div").width(h.ch_width),$("#luckysheet-scrollbar-y div").height(h.rh_height+h.columnHeaderHeight-h.cellMainSrollBarSize-3);let e=this.getSheetIndex(h.currentSheetIndex),n=h.luckysheetfile[e];h.scrollRefreshSwitch=!1,n.scrollLeft!=null&&n.scrollLeft>0?$("#luckysheet-scrollbar-x").scrollLeft(n.scrollLeft*h.zoomRatio):$("#luckysheet-scrollbar-x").scrollLeft(0),n.scrollTop!=null&&n.scrollTop>0?$("#luckysheet-scrollbar-y").scrollTop(n.scrollTop*h.zoomRatio):$("#luckysheet-scrollbar-y").scrollTop(0),setTimeout(()=>{h.scrollRefreshSwitch=!0},0),or(h.zoomRatio)},setCurSheet:function(e){for(let n=0;n<h.luckysheetfile.length;n++)h.luckysheetfile[n].index==e?h.luckysheetfile[n].status=1:h.luckysheetfile[n].status=0;h.currentSheetIndex=e},getSheetIndex:function(e){for(let n=0;n<h.luckysheetfile.length;n++)if(h.luckysheetfile[n].index==e)return n;return null},changeSheetExec:function(e,n,t,l){let a=$("#luckysheet-sheets-item"+e);window.luckysheet_getcelldata_cache=null,$("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active"),a.addClass("luckysheet-sheets-item-active").show(),nl(),this.changeSheet(e,n,t,l),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide(),p.rangestart&&p.createRangeHightlight(),this.sheetBarShowAndHide(e)},sheetArrowShowAndHide(){let e=$("#luckysheet-sheet-container-c");if(!!e.length){var n=e[0].scrollWidth,t=Math.ceil(e.width());n>t?me.showsheetbarConfig.sheet&&($("#luckysheet-sheet-area .luckysheet-sheets-scroll").css("display","inline-block"),$("#luckysheet-sheet-container .docs-sheet-fade-left").show()):($("#luckysheet-sheet-area .luckysheet-sheets-scroll").css("display","none"),$("#luckysheet-sheet-container .docs-sheet-fade-left").hide())}},sheetBarShowAndHide(e){let n=$("#luckysheet-sheet-container-c");if(e!=null){let o=$("#luckysheet-sheets-item"+e);n.scrollLeft(o.offset().left)}let t=n.width(),l=n[0].scrollWidth,a=n.scrollLeft();a<=0?$("#luckysheet-sheet-container .docs-sheet-fade-left").hide():$("#luckysheet-sheet-container .docs-sheet-fade-left").show(),t+a>=l?$("#luckysheet-sheet-container .docs-sheet-fade-right").hide():$("#luckysheet-sheet-container .docs-sheet-fade-right").show()},delChart:function(e,n){let t=this.getSheetIndex(n),l=h.luckysheetfile[t];if(l.chart==null)l.chart=[];else for(let a=0;a<l.chart.length;a++)if(l.chart[a].chart_id==e){h.luckysheetfile[t].chart.splice(a,1);break}},saveChart:function(e){let n=this.getSheetIndex(e.sheetIndex),t=h.luckysheetfile[n];if(t.chart==null)t.chart=[],t.chart.push(e);else{for(let l=0;l<t.chart.length;l++)if(t.chart[l].chart_id==e.chart_id){let a=$.extend(!0,{},t.chart[l]);t.chart[l]=$.extend(!0,{},a,e);return}t.chart.push(e)}},getChart:function(e,n){let t=this.getSheetIndex(e),l=h.luckysheetfile[t];if(l.chart==null)return null;for(let a=0;a<l.chart.length;a++)if(l.chart[a].chart_id==n)return l.chart[a];return null},getRangetxt:function(e,n,t){let l="";t==null&&(t=h.currentSheetIndex),e!=t&&(l=h.luckysheetfile[this.getSheetIndex(e)].name+"!");let a=n.row[0],o=n.row[1],s=n.column[0],u=n.column[1];return a==null&&o==null?l+lt(s)+":"+lt(u):s==null&&u==null?l+(a+1)+":"+(o+1):s==u&&a==o?l+lt(s)+(a+1):l+lt(s)+(a+1)+":"+lt(u)+(o+1)},getSheetName:function(e){return e==null&&(e=h.currentSheetIndex),h.luckysheetfile[this.getSheetIndex(e)].name},getSheetMerge:function(){return h.config.merge==null?null:h.config.merge},getSheetData:function(e){return e==null&&(e=h.currentSheetIndex),h.luckysheetfile[this.getSheetIndex(e)].data},getSheetConfig:function(e){let n=this;return e==null&&(e=h.currentSheetIndex),h.luckysheetfile[n.getSheetIndex(e)].config==null&&(h.luckysheetfile[n.getSheetIndex(e)].config={}),h.luckysheetfile[n.getSheetIndex(e)].config},restoreFilter:function(e){let n=this.getSheetIndex(e),t=h.luckysheetfile[n];if(P(t.filter_select)=="string"&&(t.filter_select=JSON.parse(t.filter_select)),t.filter_select==null||t.filter_select.row==null||t.filter_select.column==null)return;Fl(t.filter_select),P(t.filter)!="object"&&t.filter!=null&&P(t.filter)=="string"&&(t.filter=JSON.parse(t.filter));let l={};t.config!=null&&t.config.rowhidden!=null&&(l=t.config.rowhidden),$("#luckysheet-filter-options-sheet"+e+" .luckysheet-filter-options").each(function(a){if(t.filter==null)return!1;let o=$(this),s=t.filter[a];if(s==null)return!0;P(s)!="object"&&(s=JSON.parse(s)),Hn(o,s.optionstate,s.rowhidden,s.caljs,!1,s.st_r,s.ed_r,s.cindex,s.st_c,s.ed_c),l=$.extend(!0,l,s.rowhidden)}),t.config==null&&(t.config={}),t.config.rowhidden=l,h.config=t.config,St(h.flowdata.length,h.flowdata[0].length,!1)},restorePivot:function(e){let n=this.getSheetIndex(e);!h.luckysheetfile[n].isPivotTable||(Oe.getCellData(e),Oe.initialPivotManage(!0),Oe.refreshPivotTable(!1))},restoreSheetAll:function(e){let n=this;n.restorePivot(e),n.restoreFilter(e),n.restoreFreezen(e)},restoreFreezen:function(e){X.initialFreezen(e)},restoreCache:function(){let e=this,n=e.CacheNotLoadControll;if(e.CacheNotLoadControll=[],n.length!=0)for(let t=0;t<n.length;t++){let l=n[t];e.execCache(l)}},CacheNotLoadControll:[],execCache:function(e){let n=this,t=e.t,l=e.i,a=e.v,o=h.luckysheetfile[n.getSheetIndex(l)];if(t=="sha")h.luckysheetfile.push(a);else if(t=="shc"){let s=$.extend(!0,{},h.luckysheetfile[n.getSheetIndex(a.copyindex)]);s.index=l,h.luckysheetfile.push(s)}else if(t=="shd")h.luckysheetfile.splice(a.deleIndex,1);else if(t=="shr")for(let s in a)h.luckysheetfile[n.getSheetIndex(s)].order=a[s];if((o==null||o.load!="1")&&!(t in{sha:0,shc:0,shd:0,shr:0})){n.CacheNotLoadControll.push(e);return}if(t=="v"){let s=e.r,u=e.c,d=e.v,f=n.getSheetData(l);o.data[s][u]=d}else if(t=="fc"){let s=e.op,u=e.pos;P(a)!="object"&&(a=new Function("return "+a)());let d=a.r,f=a.c;s=="del"?p.delFunctionGroup(d,f,l):p.insertUpdateFunctionGroup(d,f,l)}else if(t=="cg"){let s=a,u=e.k,d=n.getSheetConfig(l);u in d||(d[u]={});for(let f in s)d[u][f]=s[f];h.config=d}else if(t=="f"){let s=a,u=e.op,d=e.pos,f=o.filter;f==null&&(f={}),u=="upOrAdd"?f[d]=s:u=="del"&&delete f[d]}else if(t=="fsc")o.filter=null,o.filter_select=null;else if(t=="fsr"){let s=a;o.filter=s.filter,o.filter_select=s.filter_select}else if(t=="sh"){let s=e.op,u=e.cur,d=a;if(s=="hide")o.status=0,h.luckysheetfile[n.getSheetIndex(u)].status=1;else if(s=="show"){for(let f=0;f<h.luckysheetfile.length;f++)h.luckysheetfile[f].status=0;o.status=1}}else if(t=="all"){let s=e.k;e.s&&P(a)!="object"?o[s]=JSON.stringify(a):o[s]=a}else if(t=="c"){let s=e.op,u=e.cid;if(s=="add")o.chart.push(a);else if(s=="xy"||s=="wh"||s=="update"){for(let d=0;d<o.chart.length;d++)if(o.chart[d].chart_id==u){for(let f in o.chart[d])for(let m in a)f==m&&(o.chart[d][f]=a[m]);return}}else if(s=="del"){for(let d=0;d<o.chart.length;d++)if(o.chart[d].chart_id==u){o.chart.splice(d,1);return}}}else if(t=="drc"){let s=e.rc,u=a.index,d=a.len,f=o.celldata;if(s=="r"){for(let k=0;f.length==0;k++){let b=f[k];b.r>=u&&b.r<u+d?delete f[k]:b.r>=u+d&&(b.r-=d)}o.row-=d}else{for(let k=0;f.length==0;k++){let b=f[k];b.c>=u&&b.c<u+d?delete f[k]:b.c>=u+d&&(b.c-=d)}o.column-=d}let m=[];for(let k=0;k<f.length;k++)f[k]!=null&&m.push(f[k]);o.celldata=m;let g,y,v;s=="r"?g="row":g="column",y=u,v=u+d-1,Vn(g,y,v,!0)}else if(t=="arc"){let s=e.rc,u=a.index,d=a.len,f=o.celldata;if(s=="r"){for(let g=0;g<f.length;g++){let y=f[g];y.r>u&&(y.r+=d)}o.row+=d}else{for(let g=0;g<f.length;g++){let y=f[g];y.c>u&&(y.c+=d)}o.column+=d}let m;s=="r"?m="row":m="column",Ir(m,u,d,!0)}else t=="na"?ne.saveParam("na",null,a):t=="thumb"&&setTimeout(function(){n.imageRequest()},2e3)}},ve=q2});var j2,p,qt=$e(()=>{ht();Dt();Rn();Wt();gl();ol();ll();Vl();_l();vr();Jt();Pt();Br();pr();Zt();gr();Ml();Qt();tl();Zl();gn();Xt();yn();Hi();Xe();yt();qa();El();j2={error:{v:"#VALUE!",n:"#NAME?",na:"#N/A",r:"#REF!",d:"#DIV/0!",nm:"#NUM!",nl:"#NULL!",sp:"#SPILL!"},errorInfo:function(e){return e},errorParamCheck:function(e,n,t){let l,a,s=Q().formulaMore;return t<e.length?(l=e[t].type,a=e[t].require):(l=e[e.length-1].type,a=e[e.length-1].require),a=="o"&&(n==null||n=="")?[!0,s.tipSuccessText]:l.indexOf("all")>-1?[!0,s.tipSuccessText]:l.indexOf("range")>-1&&(P(n)=="object"||P(n)=="array")?[!0,s.tipSuccessText]:l.indexOf("number")>-1&&(B(n)||P(n)=="boolean")?[!0,s.tipSuccessText]:l.indexOf("string")>-1&&P(n)=="string"?[!0,s.tipSuccessText]:l.indexOf("date")>-1&&Ot(n)?[!0,s.tipSuccessText]:[!1,s.tipParamErrorText]},getPureValueByData:function(e){if(e.length==0)return[];let n=[];if(P(e)=="array")if(P(e[0])=="array")for(let t=0;t<e.length;t++){let l=[];for(let a=0;a<e[0].length;a++){let o=e[t][a];P(o)=="object"?l.push(o.v):l.push(o)}n.push(l)}else for(let t=0;t<e.length;t++){let l=e[t];P(l)=="object"?n.push(l.v):n.push(l)}else{let t=e;P(t)=="object"?n.push(t.v):n.push(t)}return n},readCellDataToOneArray:function(e){let n=this;if(e==null)return[];if(P(e)!="object")return[e];let t=[],l=[];if(e!=null&&e.data!=null)l=e.data;else return e!=null&&!fe(e.v)?[e.v]:[];if(P(l)=="array")l=n.getPureValueByData(l);else{if(P(l)=="object")return l=l.v,[l];/\{.*?\}/.test(l)&&(l=l.replace(/\{/g,"[").replace(/\}/g,"]")),l=new Function("return "+l)()}if(P(l[0])=="array")for(let a=0;a<l.length;a++)t=t.concat(l[a]);else t=l;return t},getValueByFuncData:function(e,n){if(e==null)return null;let t=this;return P(e)=="array"?n=="avg"?luckysheet_function.AVERAGE.f.apply(luckysheet_function.AVERAGE,e):n=="sum"?luckysheet_function.SUM.f.apply(luckysheet_function.SUM,e):P(e[0])=="object"?luckysheet.mask.getValueByFormat(e[0]):e[0]:P(e)=="object"?luckysheet.mask.getValueByFormat(e):e},sparklinesColorMap:function(e,n){let t=this,l=null;n==null&&(n=5);let a=0;if(e.length>n)for(let o=n;o<e.length;o++){let s=e[o],u=t.readCellDataToOneArray(s);for(let d=0;d<u.length;d++){let f=u[d];if(f.indexOf(":")>-1){l||(l={});let m=f.split(":");m.length==2?l[m[0]]=m[1]:m.length>1&&(l[m[0]+":"+m[1]]=m[2])}else l||(l=[]),l.push(f)}a++}return l},colorList:["#2ec7c9","#fc5c5c","#5ab1ef","#ffb980","#d87a80","#8d98b3","#e5cf0d","#97b552","#95706d","#dc69aa","#07a2a4","#9a7fd1","#588dd5","#f5994e","#c05050","#59678c","#c9ab00","#7eb00a","#6f5553","#c14089"],classlist:{province:{11:"\u5317\u4EAC",12:"\u5929\u6D25",13:"\u6CB3\u5317",14:"\u5C71\u897F",15:"\u5185\u8499\u53E4",21:"\u8FBD\u5B81",22:"\u5409\u6797",23:"\u9ED1\u9F99\u6C5F",31:"\u4E0A\u6D77",32:"\u6C5F\u82CF",33:"\u6D59\u6C5F",34:"\u5B89\u5FBD",35:"\u798F\u5EFA",36:"\u6C5F\u897F",37:"\u5C71\u4E1C",41:"\u6CB3\u5357",42:"\u6E56\u5317",43:"\u6E56\u5357",44:"\u5E7F\u4E1C",45:"\u5E7F\u897F",46:"\u6D77\u5357",50:"\u91CD\u5E86",51:"\u56DB\u5DDD",52:"\u8D35\u5DDE",53:"\u4E91\u5357",54:"\u897F\u85CF",61:"\u9655\u897F",62:"\u7518\u8083",63:"\u9752\u6D77",64:"\u5B81\u590F",65:"\u65B0\u7586",71:"\u53F0\u6E7E",81:"\u9999\u6E2F",82:"\u6FB3\u95E8",91:"\u56FD\u5916"}},oldvalue:null,dontupdate:function(){let e=this;h.luckysheetCellUpdate.length=0,$("#luckysheet-functionbox-cell, #luckysheet-rich-text-editor").html(e.oldvalue),e.cancelNormalSelected(),e.rangetosheet!=h.currentSheetIndex&&ve.changeSheetExec(e.rangetosheet)},xssDeal:function(e){return typeof e!="string"?e:e.replace(/<script>/g,"&lt;script&gt;").replace(/<\/script>/,"&lt;/script&gt;")},ltGtSignDeal:function(e){return typeof e!="string"||e.substr(0,5)==="<span"||e.startsWith("=")?e:e.replace(/</g,"&lt;").replace(/>/g,"&gt;")},fucntionboxshow:function(e,n){if(!So(e,n,h.currentSheetIndex)){$("#luckysheet-functionbox-cell").html("");return}let t=this,l=h.flowdata,a="";if(l[e]!=null&&l[e][n]!=null){let o=$.extend(!0,{},l[e][n]);xl(o)?(a=Yd(e,n),typeof a=="string"&&(a=a.replace(/\</g,"&lt;").replace(/\>/g,"&gt;"))):o.f!=null?a=ze(e,n,l,"f"):(a=bn(e,n,l),typeof a=="string"&&(a=a.replace(/\</g,"&lt;").replace(/\>/g,"&gt;")))}a=this.xssDeal(a),t.oldvalue=a,$("#luckysheet-functionbox-cell").html(a)},cellOffset:function(e,n,t,l,a){let o=e.startCell,s=e.rowl,u=e.coll,d=parseInt(o.replace(/[^0-9]/g,"")),f=hl(o.replace(/[^A-Za-z]/g,"")),m=[],g=[],y;m[0]=d+n,g[0]=f+t,m[1]=m[0]+l-1,g[1]=g[0]+a-1,g[0]=lt(g[0]),g[1]=lt(g[1]);let v=g[0]+m[0],k=g[1]+m[1];return v==k?y=e.sheetName+"!"+v:y=e.sheetName+"!"+v+":"+k,y},parseDatetoNum:function(e){let n=this;if(typeof e=="object"&&typeof e.v=="number")e=e.v;else if(tr(e)=="num")e=parseFloat(e);else if(tr(e)=="date")e=it(e)[2];else return n.error.v;return e},getRangeArray:function(e){var l,a,o;let n=[],t="General";if(e.length==1)for(let s=0;s<e[0].length;s++)if(e[0][s]!=null&&e[0][s].v){n.push(e[0][s].v);let u=(l=e[0][s].ct)==null?void 0:l.fa;t=t=="General"?u:t}else n.push(null);else if(e[0].length==1)for(let s=0;s<e.length;s++)if(e[s][0]!=null&&e[s][0].v){n.push(e[s][0].v);let u=(a=e[s][0].ct)==null?void 0:a.fa;t=t=="General"?u:t}else n.push(null);else for(let s=0;s<e.length;s++)for(let u=0;u<e[s].length;u++)if(e[s][u]!=null&&e[s][u].v){n.push(e[s][u].v);let d=(o=e[s][u].ct)==null?void 0:o.fa;t=t=="General"?d:t}else n.push(null);return t=t!=null?t:"General",e=n,[e,t]},getRangeArrayTwo:function(e){let n=$.extend(!0,[],e);if(n.length==1)for(let t=0;t<n[0].length;t++)n[0][t]instanceof Object&&(n[0][t]!=null&&n[0][t]instanceof Object&&!!n[0][t].m?n[0][t]=n[0][t].m:n[0][t]!=null&&n[0][t]instanceof Object&&!!n[0][t].v?n[0][t]=n[0][t].v:n[0][t]=null);else if(n[0].length==1)for(let t=0;t<n.length;t++)n[t][0]instanceof Object&&(n[t][0]!=null&&n[t][0]instanceof Object&&!!n[t][0].m?n[t][0]=n[t][0].m:n[t][0]!=null&&n[t][0]instanceof Object&&!!n[t][0].v?n[t][0]=n[t][0].v:n[t][0]=null);else for(let t=0;t<n.length;t++)for(let l=0;l<n[t].length;l++)n[t][l]instanceof Object&&(n[t][l]!=null&&n[t][l]instanceof Object&&!!n[t][l].m?n[t][l]=n[t][l].m:n[t][l]!=null&&n[t][l]instanceof Object&&!!n[t][l].v?n[t][l]=n[t][l].v:n[t][l]=null);return n},isWildcard:function(e,n){let t=this;e=e.toString(),n=n.toString(),t.isCompareOperator(n).flag&&(n=t.isCompareOperator(n).num);let l="";for(let o=0;o<n.length;o++){let s=n.charAt(o);s=="*"?l+=".*":s=="?"?l+=".":s=="~"?n.charAt(o+1)=="*"?(l+="\\*",o++):n.charAt(o+1)=="?"?(l+="\\?",o++):l+="~":l+=s}let a=new RegExp("^"+l+"$","g");return!!e.match(a)},isCompareOperator:function(e){e=e.toString();let n="",t="",l=e.substr(0,1),a=e.substr(1,1),o=!1,s;return l==">"?a=="="?(n=e.substr(0,2),t=e.substr(2),o=!0):a!="="&&(n=e.substr(0,1),t=e.substr(1),o=!0):l=="<"?a=="="||a==">"?(n=e.substr(0,2),t=e.substr(2),o=!0):a!="="&&a!=">"&&(n=e.substr(0,1),t=e.substr(1),o=!0):l=="="&&a!="="&&(n=e.substr(0,1),t=e.substr(1),o=!0),s={flag:o,ope:n,num:t},s},acompareb:function(e,n){let t=this,l=!1;if(B(n))l=Za(e,"==",n);else if(typeof n=="string"){if(n.indexOf("*")!=-1||n.indexOf("?")!=-1)return t.isWildcard(e,n);if(t.isCompareOperator(n).flag){let a=t.isCompareOperator(n).ope,o=t.isCompareOperator(n).num;l=Za(e,a,o)}else l=Za(e,"==",n)}return l},compareParams:function(e,n,t){let l=!1,a=toString.call(e),o=toString.call(n);if((t==">"&&e>n||t==">="&&e>=n||t=="<"&&e<n||t=="<="&&e<=n||t=="="&&e==n||t=="<>"&&e!=n)&&(l=!0),a=="[object Object]"&&o=="[object Object]"){let s=Object.getOwnPropertyNames(e),u=Object.getOwnPropertyNames(n);if(s.length!=u.length)return!1;for(let d=0;d<s.length;d++){let f=s[d];if(e[f]!==n[f])return!1}return!0}return a=="[object Array]"&&o=="[object Array]"?e.toString()==n.toString():l},parseDecimal:function(e){e=parseFloat(e);let n=parseInt(e,10);return n==0||(e=e%n),e},getcellrange:function(e,n){if(e==null||e.length==0)return;let t="",l="",a=null,o=null,s=Lt();if(e.indexOf("!")>-1){if(e in this.cellTextToIndexList)return this.cellTextToIndexList[e];let u=e.split("!");t=u[0],l=u[1],t=t.replace(/\\'/g,"'").replace(/''/g,"'"),t.substr(0,1)=="'"&&t.substr(t.length-1,1)=="'"&&(t=t.substring(1,t.length-1));for(let d in s)if(t==s[d].name){a=s[d].index,o=s[d].data;break}}else{let u=n;if(u==null&&(u=h.currentSheetIndex),e+"_"+u in this.cellTextToIndexList)return this.cellTextToIndexList[e+"_"+u];let d=K(u);t=s[d].name,a=s[d].index,o=h.flowdata,l=e}if(o==null)return null;if(l.indexOf(":")==-1){let u=parseInt(l.replace(/[^0-9]/g,""))-1,d=hl(l.replace(/[^A-Za-z]/g,""));if(!isNaN(u)&&!isNaN(d)){let f={row:[u,u],column:[d,d],sheetIndex:a};return this.addToCellIndexList(e,f),f}else return null}else{l=l.split(":");let u=[],d=[];if(u[0]=parseInt(l[0].replace(/[^0-9]/g,""))-1,u[1]=parseInt(l[1].replace(/[^0-9]/g,""))-1,isNaN(u[0])&&(u[0]=0),isNaN(u[1])&&(u[1]=o.length-1),u[0]>u[1]||(d[0]=hl(l[0].replace(/[^A-Za-z]/g,"")),d[1]=hl(l[1].replace(/[^A-Za-z]/g,"")),isNaN(d[0])&&(d[0]=0),isNaN(d[1])&&(d[1]=o[0].length-1),d[0]>d[1]))return null;let f={row:u,column:d,sheetIndex:a};return this.addToCellIndexList(e,f),f}},rangeHightlightHTML:'<div id="luckysheet-formula-functionrange-highlight-${id}" rangeindex="${id}" class="luckysheet-selection-highlight luckysheet-formula-functionrange-highlight"><div data-type="top" class="luckysheet-selection-copy-top luckysheet-copy"></div><div data-type="right" class="luckysheet-selection-copy-right luckysheet-copy"></div><div data-type="bottom" class="luckysheet-selection-copy-bottom luckysheet-copy"></div><div data-type="left" class="luckysheet-selection-copy-left luckysheet-copy"></div><div class="luckysheet-selection-copy-hc"></div><div data-type="lt" class="luckysheet-selection-highlight-topleft luckysheet-highlight"></div><div data-type="rt" class="luckysheet-selection-highlight-topright luckysheet-highlight"></div><div data-type="lb" class="luckysheet-selection-highlight-bottomleft luckysheet-highlight"></div><div data-type="rb" class="luckysheet-selection-highlight-bottomright luckysheet-highlight"></div></div>',createRangeHightlight:function(){let e=this,n=$("#luckysheet-rich-text-editor").find("span.luckysheet-formula-functionrange-cell");$("#luckysheet-formula-functionrange .luckysheet-formula-functionrange-highlight").remove(),n.each(function(){let t=$(this).attr("rangeindex"),l=$(this).text();$("#luckysheet-formula-functionrange").append(_e(e.rangeHightlightHTML,{id:t}));let a=e.getcellrange(l),o="luckysheet-formula-functionrange-highlight-"+t;a==null||(a.sheetIndex==h.currentSheetIndex||a.sheetIndex==-1&&e.rangetosheet==h.currentSheetIndex)&&($("#"+o).data("range",a).find(".luckysheet-copy").css({background:Yl[t]}).end().find(".luckysheet-highlight").css({background:Yl[t]}).end().find(".luckysheet-selection-copy-hc").css({background:Yl[t]}),Gf(o,a.row[0],a.row[1],a.column[0],a.column[1]))}),$("#luckysheet-formula-functionrange .luckysheet-formula-functionrange-highlight").show()},searchHTML:'<div id="luckysheet-formula-search-c" class="luckysheet-formula-search-c"></div>',helpHTML:'<div id="luckysheet-formula-help-c" class="luckysheet-formula-help-c"> <div class="luckysheet-formula-help-close" title="${helpClose}"><i class="fa fa-times" aria-hidden="true"></i></div> <div class="luckysheet-formula-help-collapse" title="${helpCollapse}"><i class="fa fa-angle-up" aria-hidden="true"></i></div> <div class="luckysheet-formula-help-title"><div class="luckysheet-formula-help-title-formula"> <span class="luckysheet-arguments-help-function-name">SUM</span> <span class="luckysheet-arguments-paren">(</span> <span class="luckysheet-arguments-parameter-holder"> <span class="luckysheet-arguments-help-parameter luckysheet-arguments-help-parameter-active" dir="auto">A2:A100</span>, <span class="luckysheet-arguments-help-parameter" dir="auto">101</span> </span> <span class="luckysheet-arguments-paren">)</span> </div></div> <div class="luckysheet-formula-help-content"> <div class="luckysheet-formula-help-content-example"> <div class="luckysheet-arguments-help-section-title">${helpExample}</div> <div class="luckysheet-arguments-help-formula"> <span class="luckysheet-arguments-help-function-name">SUM</span> <span class="luckysheet-arguments-paren">(</span> <span class="luckysheet-arguments-parameter-holder"> <span class="luckysheet-arguments-help-parameter luckysheet-arguments-help-parameter-active" dir="auto">A2:A100</span>, <span class="luckysheet-arguments-help-parameter" dir="auto">101</span> </span> <span class="luckysheet-arguments-paren">)</span> </div> </div> <div class="luckysheet-formula-help-content-detail"> <div class="luckysheet-arguments-help-section"> <div class="luckysheet-arguments-help-section-title luckysheet-arguments-help-parameter-name">${helpAbstract}</div> <span class="luckysheet-arguments-help-parameter-content">${helpAbstract}</span> </div> </div> <div class="luckysheet-formula-help-content-param"> ${param} </div> </div> <div class="luckysheet-formula-help-foot"></div></div>',getrangeseleciton:function(){let e=window.getSelection(),n=$(e.anchorNode),t=e.anchorOffset;if(n.parent().is("span")&&t!=0){let l=$.trim(n.text()),a="";if(l.length==0&&n.parent().prev().length>0){let o=n.parent().prev();return l=$.trim(o.text()),a=l.substr(l.length-1,1),o}else return a=l.substr(t-1,1),n.parent()}else if(n.is("#luckysheet-rich-text-editor")||n.is("#luckysheet-functionbox-cell")){let l=$.trim(n.find("span").last().text());if(l.length==0&&n.find("span").length>1){let a=n.find("span");return l=$.trim(a.eq(a.length-2).text()),a}else return n.find("span").last()}else if((n.parent().is("#luckysheet-rich-text-editor")||n.parent().is("#luckysheet-functionbox-cell")||t==0)&&(t==0&&(n=n.parent()),n.prev().length>0)){let l=$.trim(n.prev().text()),a=l.substr(l.length-1,1);return n.prev()}return null},searchFunctionPosition:function(e,n,t,l,a){let o=$(window).height(),s=$(window).width(),u=e.outerWidth(),d=e.outerHeight();a==null&&(a=!1);let f=t;t+u>s?f=t-u+n.outerWidth():f=t;let m=l;l+d>o?m=l-d:(m=l+n.outerHeight(),a||e.html(e.find(".luckysheet-formula-search-item").get().reverse())),m<0&&(m=0),f<0&&(f=0),e.css({top:m,left:f}).show()},searchFunctionCell:null,searchFunction:function(e){let n=this,t=h.functionlist,l=n.getrangeseleciton();if(n.searchFunctionCell=l,l==null||e==null)return;let a=e.text(),o=l.text().toUpperCase();if(!/^[a-zA-Z]|[a-zA-Z_]+$/.test(o)||a.substr(0,1)!="=")return;let u={f:[],s:[],t:[]},d=0;for(let v=0;v<t.length;v++){let k=t[v],b=k.n;if(b==o?(u.f.unshift(k),d++):b.substr(0,o.length)==o?(u.s.unshift(k),d++):b.indexOf(o)>-1&&(u.t.unshift(k),d++),d>=10)break}let f=u.t.concat(u.s.concat(u.f));if(f.length<=0)return;let m=n.searchFunctionHTML(f);$("#luckysheet-formula-search-c").html(m).show(),$("#luckysheet-formula-help-c").hide();let g=e.parent(),y=g.offset();n.searchFunctionPosition($("#luckysheet-formula-search-c"),g,y.left,y.top)},searchFunctionEnter:function(e){let n=this,t=e.data("func");n.searchFunctionCell.text(t).after('<span dir="auto" class="luckysheet-formula-text-color">(</span>'),n.setCaretPosition(n.searchFunctionCell.next().get(0),0,1),$("#luckysheet-formula-search-c").hide(),n.helpFunctionExe(n.searchFunctionCell.closest("div"),n.searchFunctionCell.next())},searchFunctionHTML:function(e){let n=this;$("#luckysheet-formula-search-c").length==0&&($("body").append(n.searchHTML),$("#luckysheet-formula-search-c").on("mouseover",".luckysheet-formula-search-item",function(){$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item").removeClass("luckysheet-formula-search-item-active"),$(this).addClass("luckysheet-formula-search-item-active")}).on("mouseout",".luckysheet-formula-search-item",function(){}).on("click",".luckysheet-formula-search-item",function(){n.searchFunctionCell!=null&&n.searchFunctionEnter($(this))}));let t='<div data-func="${n}" class="luckysheet-formula-search-item ${class}"><div class="luckysheet-formula-search-func">${n}</div><div class="luckysheet-formula-search-detail">${a}</div></div>',l="";for(let a=0;a<e.length;a++){let o=e[a];a==e.length-1?l+=_e(t,{class:"luckysheet-formula-search-item-active",n:o.n,a:o.a}):l+=_e(t,{class:"",n:o.n,a:o.a})}return l},functionlistPosition:{},helpFunction:function(e,n,t){let l=this,o=h.functionlist[l.functionlistPosition[$.trim(n).toUpperCase()]];if(o==null)return;let u=Q().formulaMore;$("#luckysheet-formula-help-c .luckysheet-arguments-help-function-name").html(o.n),$("#luckysheet-formula-help-c .luckysheet-arguments-help-parameter-content").html(o.d);let d='<span class="luckysheet-arguments-help-function-name">${name}</span> <span class="luckysheet-arguments-paren">(</span> <span class="luckysheet-arguments-parameter-holder"> ${param} </span> <span class="luckysheet-arguments-paren">)</span>',f='<span class="luckysheet-arguments-help-parameter" dir="auto">${param}</span>',m='<div class="luckysheet-arguments-help-section"><div class="luckysheet-arguments-help-section-title">${param}</div><span class="luckysheet-arguments-help-parameter-content">${content}</span></div>',g="",y="",v="";for(let w=0;w<o.p.length;w++){let x=o.p[w],C=x.name,S=x.name;x.repeat=="y"&&(C+=", ...",S+='<span class="luckysheet-arguments-help-argument-info">...-'+u.allowRepeatText+"</span>"),x.require=="o"&&(C="["+C+"]",S+='<span class="luckysheet-arguments-help-argument-info">-['+u.allowOptionText+"]</span>"),g+='<span class="luckysheet-arguments-help-parameter" dir="auto">'+C+"</span>, ",y+='<span class="luckysheet-arguments-help-parameter" dir="auto">'+x.example+"</span>, ",v+=_e(m,{param:S,content:x.detail})}if(g=g.substr(0,g.length-2),y=y.substr(0,y.length-2),$("#luckysheet-formula-help-c .luckysheet-formula-help-title .luckysheet-arguments-parameter-holder").html(g),$("#luckysheet-formula-help-c .luckysheet-arguments-help-formula .luckysheet-arguments-parameter-holder").html(y),$("#luckysheet-formula-help-c .luckysheet-formula-help-content-param").html(v),t==null)$("#luckysheet-formula-help-c .luckysheet-formula-help-title-formula .luckysheet-arguments-help-function-name").css("font-weight","bold");else{$("#luckysheet-formula-help-c .luckysheet-formula-help-title-formula .luckysheet-arguments-help-function-name").css("font-weight","normal");let w=t>=o.p.length?o.p.length-1:t;$("#luckysheet-formula-help-c .luckysheet-formula-help-title .luckysheet-arguments-parameter-holder .luckysheet-arguments-help-parameter").removeClass("luckysheet-arguments-help-parameter-active"),$("#luckysheet-formula-help-c .luckysheet-formula-help-title .luckysheet-arguments-parameter-holder .luckysheet-arguments-help-parameter").eq(w).addClass("luckysheet-arguments-help-parameter-active"),$("#luckysheet-formula-help-c .luckysheet-arguments-help-formula .luckysheet-arguments-parameter-holder .luckysheet-arguments-help-parameter").removeClass("luckysheet-arguments-help-parameter-active"),$("#luckysheet-formula-help-c .luckysheet-arguments-help-formula .luckysheet-arguments-parameter-holder .luckysheet-arguments-help-parameter").eq(w).addClass("luckysheet-arguments-help-parameter-active"),$("#luckysheet-formula-help-c .luckysheet-formula-help-content-param .luckysheet-arguments-help-section").removeClass("luckysheet-arguments-help-parameter-active"),$("#luckysheet-formula-help-c .luckysheet-formula-help-content-param .luckysheet-arguments-help-section").eq(w).addClass("luckysheet-arguments-help-parameter-active")}let k=e.parent(),b=k.offset();l.searchFunctionPosition($("#luckysheet-formula-help-c"),k,b.left,b.top,!0)},helpFunctionExe:function(e,n){let t=this,l=h.functionlist,o=Q().formulaMore;if($("#luckysheet-formula-help-c").length==0){$("body").after(_e(t.helpHTML,{helpClose:o.helpClose,helpCollapse:o.helpCollapse,helpExample:o.helpExample,helpAbstract:o.helpAbstract})),$("#luckysheet-formula-help-c .luckysheet-formula-help-close").click(function(){$("#luckysheet-formula-help-c").hide()}),$("#luckysheet-formula-help-c .luckysheet-formula-help-collapse").click(function(){let v=$("#luckysheet-formula-help-c .luckysheet-formula-help-content");v.slideToggle(100,function(){let k=t.rangeResizeTo.parent(),b=k.offset();t.searchFunctionPosition($("#luckysheet-formula-help-c"),k,b.left,b.top,!0)}),v.is(":hidden")?$(this).html('<i class="fa fa-angle-up" aria-hidden="true"></i>'):$(this).html('<i class="fa fa-angle-down" aria-hidden="true"></i>')});for(let v=0;v<l.length;v++)t.functionlistPosition[l[v].n]=v}if(!n)return;let s=n,u=e.length,d=e.find("span"),f=n.index(),m=f;if(s==null)return;let g=null,y=null;if(d.eq(m).is(".luckysheet-formula-text-func"))g=d.eq(m).text();else{let v=null,k=[-1,-1];for(;--m>0;)if(v=d.eq(m),v.is(".luckysheet-formula-text-func")||$.trim(v.text()).toUpperCase()in t.functionlistPosition){g=v.text(),y=null;let b=!0;for(let w=m;w<=f;w++)if(y||(y=0),!(w>=k[0]&&w<=k[1])){if(v=d.eq(w),v.is(".luckysheet-formula-text-rpar")){k=[m,w],g=null,b=!1;break}v.is(".luckysheet-formula-text-comma")&&y++}if(b)break}}g!=null&&t.helpFunction(e,g,y)},rangeHightlightselected:function(e,n){let t=this,l=t.getrangeseleciton();if($("#luckysheet-formula-search-c, #luckysheet-formula-help-c").hide(),$("#luckysheet-formula-functionrange .luckysheet-formula-functionrange-highlight .luckysheet-selection-copy-hc").css("opacity","0.03"),$("#luckysheet-formula-search-c, #luckysheet-formula-help-c").hide(),t.helpFunctionExe(e,l),$(l).closest(".luckysheet-formula-functionrange-cell").length==0){t.searchFunction(e);return}let o=$(l).closest(".luckysheet-formula-functionrange-cell").attr("rangeindex"),s="luckysheet-formula-functionrange-highlight-"+o;$("#"+s).find(".luckysheet-selection-copy-hc").css({opacity:"0.13"})},updatecell:function(e,n,t,l=!0){let a=this,o=$("#luckysheet-rich-text-editor"),s=o.text(),u=o.html();if(a.rangetosheet!=null&&a.rangetosheet!=h.currentSheetIndex&&ve.changeSheetExec(a.rangetosheet),!xn(e,n,h.currentSheetIndex))return;if(Ye.dataVerification!=null){let _=Ye.dataVerification[e+"_"+n];if(_!=null&&_.prohibitInput&&!Ye.validateCellData(s,_)){let T=Ye.getFailureText(_);U.info(T,""),a.cancelNormalSelected();return}}let d=h.flowdata[e][n],f=JSON.stringify(d),m=xl(d),g=s.slice(0,1)!="="&&u.substr(0,5)=="<span",y=!1;if(!g&&s&&s.length>0){let _=s.replace(/\r\n/g,"_x000D_").replace(/&#13;&#10;/g,"_x000D_").replace(/\r/g,"_x000D_").replace(/\n/g,"_x000D_").split("_x000D_");_.length>1&&(y=!0,g=!0,s=_.join(`\r
  3011. `))}if(!t&&!g&&m?(delete d.ct.s,d.ct.t="g",d.ct.fa="General",t=""):g&&(P(d)!="object"&&(d={}),delete d.f,delete d.v,delete d.m,d.ct==null&&(d.ct={},d.ct.fa="General"),d.ct.t="inlineStr",d.ct.s=jd(o.find("span")),y&&(d.ct.s=[{v:s}])),t=t||o.text(),!Ke.createHookFunction("cellUpdateBefore",e,n,t,l)){a.cancelNormalSelected();return}if(!g){if(fe(t)&&!m){if(d==null||fe(d.v)&&d.spl==null&&d.f==null){a.cancelNormalSelected();return}}else if(d!=null&&d.qp!=1){if(P(d)=="object"&&(t==d.f||t==d.v||t==d.m)){a.cancelNormalSelected();return}else if(t==d){a.cancelNormalSelected();return}}P(t)=="string"&&t.slice(0,1)=="="&&t.length>1||P(d)=="object"&&d.ct!=null&&d.ct.fa!=null&&d.ct.fa!="@"&&!fe(t)&&(delete d.m,d.f!=null&&(delete d.f,delete d.spl))}window.luckysheet_getcelldata_cache=null;let v=!0,k=we.deepCopyFlowData(h.flowdata),b=null;if(P(d)=="object"){if(!g)if(P(t)=="string"&&t.slice(0,1)=="="&&t.length>1){let _=a.execfunction(t,e,n,void 0,!0);if(v=!1,d=$.extend(!0,{},k[e][n]),d.v=_[1],d.f=_[2],_.length==4&&_[3].type=="sparklines"){delete d.m,delete d.v;let T=_[3].data;P(T)=="array"&&P(T[0])!="object"?d.v=T[0]:d.spl=_[3].data}else _.length==4&&_[3].type=="dynamicArrayItem"&&(b=_[3].data)}else if(P(t)=="object"){let _=t.f;if(P(_)=="string"&&_.slice(0,1)=="="&&_.length>1){let T=a.execfunction(_,e,n,void 0,!0);if(v=!1,d=$.extend(!0,{},k[e][n]),d.v=T[1],d.f=T[2],T.length==4&&T[3].type=="sparklines"){delete d.m,delete d.v;let A=T[3].data;P(A)=="array"&&P(A[0])!="object"?d.v=A[0]:d.spl=T[3].data}else T.length==4&&T[3].type=="dynamicArrayItem"&&(b=T[3].data)}else for(let T in t)d[T]=t[T]}else a.delFunctionGroup(e,n),a.execFunctionGroup(e,n,t),v=!1,d=$.extend(!0,{},k[e][n]),d.v=t,delete d.f,delete d.spl,d.qp==1&&(""+t).substr(0,1)!="'"&&(d.qp=0,d.ct!=null&&(d.ct.fa="General",d.ct.t="n"));t=d}else if(P(t)=="string"&&t.slice(0,1)=="="&&t.length>1){let _=a.execfunction(t,e,n,void 0,!0);if(v=!1,t={v:_[1],f:_[2]},_.length==4&&_[3].type=="sparklines"){let T=_[3].data;P(T)=="array"&&P(T[0])!="object"?t.v=T[0]:t.spl=_[3].data}else _.length==4&&_[3].type=="dynamicArrayItem"&&(b=_[3].data)}else if(P(t)=="object"){let _=t.f;if(P(_)=="string"&&_.slice(0,1)=="="&&_.length>1){let T=a.execfunction(_,e,n,void 0,!0);if(v=!1,t.v=T[1],t.f=T[2],T.length==4&&T[3].type=="sparklines"){let A=T[3].data;P(A)=="array"&&P(A[0])!="object"?t.v=A[0]:t.spl=T[3].data}else T.length==4&&T[3].type=="dynamicArrayItem"&&(b=T[3].data)}else{let T=d;t.v==null&&(t.v=T)}}else a.delFunctionGroup(e,n),a.execFunctionGroup(e,n,t),v=!1;Ft(e,n,k,t),a.cancelNormalSelected();let w=!1,x=$.extend(!0,{},Lt()[K(h.currentSheetIndex)].config);if(x.rowlen==null&&(x.rowlen={}),k[e][n].tb=="2"&&k[e][n].v!=null||xl(k[e][n])&&typeof k[e][n].mc=="undefined"){let _=h.defaultrowlen,T=$("#luckysheetTableContent").get(0).getContext("2d");if(!(x.customHeight&&x.customHeight[e]==1)){let A=Mt(n)[1]-Mt(n)[0]-2,R=$r(k[e][n],T,{r:e,c:n,cellWidth:A}),I=_;R!=null&&(I=R.textHeightAll+2),I>_&&(x.rowlen[e]=I,w=!0)}}let C=null;b&&(C=$.extend(!0,[],this.insertUpdateDynamicArray(b)));let S={dynamicArray:C};if(w&&(S={cfg:x,dynamicArray:C,RowlChange:w}),setTimeout(()=>{Ke.createHookFunction("cellUpdated",e,n,JSON.parse(f),h.flowdata[e][n],l)},0),l)Ze(k,[{row:[e,e],column:[n,n]}],S,v),a.execFunctionGlobalData=null;else return{data:k,allParam:S}},cancelNormalSelected:function(){let e=this;e.canceFunctionrangeSelected(),$("#luckysheet-formula-functionrange .luckysheet-formula-functionrange-highlight").remove(),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-input-box-index").hide(),$("#luckysheet-wa-functionbox-cancel, #luckysheet-wa-functionbox-confirm").removeClass("luckysheet-wa-calculate-active"),e.rangestart=!1,e.rangedrag_column_start=!1,e.rangedrag_row_start=!1},canceFunctionrangeSelected:function(){$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-row-count-show, #luckysheet-column-count-show").hide(),$("#luckysheet-formula-search-c, #luckysheet-formula-help-c").hide()},iscellformat:function(e){let n=/[abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][123456789]/},iscelldata:function(e){let n=e.split("!"),t;n.length>1?t=n[1]:t=n[0];let l=/^(([a-zA-Z]+)|([$][a-zA-Z]+))(([0-9]+)|([$][0-9]+))$/g,a=/^(((([a-zA-Z]+)|([$][a-zA-Z]+))(([0-9]+)|([$][0-9]+)))|((([a-zA-Z]+)|([$][a-zA-Z]+))))$/g;if(t.indexOf(":")==-1){let o=parseInt(t.replace(/[^0-9]/g,""))-1,s=hl(t.replace(/[^A-Za-z]/g,""));return!isNaN(o)&&!isNaN(s)&&t.toString().match(l)?!0:(isNaN(o)&&isNaN(s),!1)}else{a=/^(((([a-zA-Z]+)|([$][a-zA-Z]+))(([0-9]+)|([$][0-9]+)))|((([a-zA-Z]+)|([$][a-zA-Z]+)))|((([0-9]+)|([$][0-9]+s))))$/g,t=t.split(":");let o=[],s=[];return o[0]=parseInt(t[0].replace(/[^0-9]/g,""))-1,o[1]=parseInt(t[1].replace(/[^0-9]/g,""))-1,o[0]>o[1]||(s[0]=hl(t[0].replace(/[^A-Za-z]/g,"")),s[1]=hl(t[1].replace(/[^A-Za-z]/g,"")),s[0]>s[1])?!1:!!(t[0].toString().match(a)&&t[1].toString().match(a))}},operator:"==|!=|<>|<=|>=|=|+|-|>|<|/|*|%|&|^",operatorjson:null,functionCopy:function(e,n,t){let l=this;if(l.operatorjson==null){let m=l.operator.split("|"),g={};for(let y=0;y<m.length;y++)g[m[y].toString()]=1;l.operatorjson=g}n==null&&(n="down"),t==null&&(t=1),e.substr(0,1)=="="&&(e=e.substr(1));let a=e.split(""),o=0,s="",u="",d=!0,f={bracket:0,comma:0,squote:0,dquote:0};for(;o<a.length;){let m=a[o];if(m=="("&&f.dquote==0)f.bracket+=1,s.length>0?u+=s+"(":u+="(",s="";else if(m==")"&&f.dquote==0)f.bracket-=1,u+=l.functionCopy(s,n,t)+")",s="";else if(m=='"'&&f.squote==0)f.dquote>0?(u+=s+'"',f.dquote-=1,s=""):(f.dquote+=1,s+='"');else if(m==","&&f.dquote==0)u+=l.functionCopy(s,n,t)+",",s="";else if(m=="&"&&f.dquote==0)s.length>0?(u+=l.functionCopy(s,n,t)+"&",s=""):u+="&";else if(m in l.operatorjson&&f.dquote==0){let g="";o+1<a.length&&(g=a[o+1]);let y=o-1,v=null;if(y>=0)do v=a[y--];while(y>=0&&v==" ");m+g in l.operatorjson?(s.length>0?(u+=l.functionCopy(s,n,t)+m+g,s=""):u+=m+g,o++):!/[^0-9]/.test(g)&&m=="-"&&(v=="("||v==null||v==","||v==" "||v in l.operatorjson)?s+=m:s.length>0?(u+=l.functionCopy(s,n,t)+m,s=""):u+=m}else s+=m;o==a.length-1&&(l.iscelldata($.trim(s))?n=="down"?u+=l.downparam($.trim(s),t):n=="up"?u+=l.upparam($.trim(s),t):n=="left"?u+=l.leftparam($.trim(s),t):n=="right"&&(u+=l.rightparam($.trim(s),t)):u+=$.trim(s)),o++}return u},isfreezonFuc:function(e){let n=e.replace(/[^0-9]/g,""),t=e.replace(/[^A-Za-z]/g,""),l=e.substr(e.indexOf(n)-1,1),a=e.substr(e.indexOf(t)-1,1),o=[!1,!1];return l=="$"&&(o[0]=!0),a=="$"&&(o[1]=!0),o},setfreezonFuceExe:function(e){let n=parseInt(e.replace(/[^0-9]/g,"")),t=hl(e.replace(/[^A-Za-z]/g,"")),l="$",a="$";return!isNaN(n)&&!isNaN(t)?a+lt(t)+l+n:isNaN(n)?isNaN(t)?e:a+lt(t):l+n},setfreezonFuc:function(e){let n=this,t=n.getrangeseleciton();if(!n.iscelldata(t.text()))return;let l=t.text(),a=window.getSelection().anchorOffset,o=l.split("!"),s,u="";o.length>1?(s=o[1],u=o[0]+"!"):s=o[0];let d="",f="",m=s.indexOf(":");if(m==-1)d=u+n.setfreezonFuceExe(s),f=d.length;else if(s=s.split(":"),a>m){let g=u+s[0]+":"+n.setfreezonFuceExe(s[1]);d=g,f=g.length}else{let g=u+n.setfreezonFuceExe(s[0]);d=g+":"+s[1],f=g.length}t.text(u+d),n.setCaretPosition(t.get(0),0,f)},updateparam:function(e,n,t){let l=this,a=n.split("!"),o,s="";if(a.length>1?(o=a[1],s=a[0]+"!"):o=a[0],o.indexOf(":")==-1){let u=parseInt(o.replace(/[^0-9]/g,"")),d=hl(o.replace(/[^A-Za-z]/g,"")),f=l.isfreezonFuc(o),m=f[0]?"$":"",g=f[1]?"$":"";return e=="u"&&!f[0]?u-=t:e=="r"&&!f[1]?d+=t:e=="l"&&!f[1]?d-=t:e=="d"&&!f[0]&&(u+=t),u<0||d<0?l.error.r:!isNaN(u)&&!isNaN(d)?s+g+lt(d)+m+u:isNaN(u)?isNaN(d)?n:s+g+lt(d):s+m+u}else{o=o.split(":");let u=[],d=[];if(u[0]=parseInt(o[0].replace(/[^0-9]/g,"")),u[1]=parseInt(o[1].replace(/[^0-9]/g,"")),u[0]>u[1]||(d[0]=hl(o[0].replace(/[^A-Za-z]/g,"")),d[1]=hl(o[1].replace(/[^A-Za-z]/g,"")),d[0]>d[1]))return n;let f=l.isfreezonFuc(o[0]),m=l.isfreezonFuc(o[1]),g=f[0]?"$":"",y=f[1]?"$":"",v=m[0]?"$":"",k=m[1]?"$":"";return e=="u"?(f[0]||(u[0]-=t),m[0]||(u[1]-=t)):e=="r"?(f[1]||(d[0]+=t),m[1]||(d[1]+=t)):e=="l"?(f[1]||(d[0]-=t),m[1]||(d[1]-=t)):e=="d"&&(f[0]||(u[0]+=t),m[0]||(u[1]+=t)),u[0]<0||d[0]<0?l.error.r:isNaN(d[0])&&isNaN(d[1])?s+g+u[0]+":"+v+u[1]:isNaN(u[0])&&isNaN(u[1])?s+y+lt(d[0])+":"+k+lt(d[1]):s+y+lt(d[0])+g+u[0]+":"+k+lt(d[1])+v+u[1]}},downparam:function(e,n){return this.updateparam("d",e,n)},upparam:function(e,n){return this.updateparam("u",e,n)},leftparam:function(e,n){return this.updateparam("l",e,n)},rightparam:function(e,n){return this.updateparam("r",e,n)},functionStrChange:function(e,n,t,l,a,o){let s=this;if(s.operatorjson==null){let v=s.operator.split("|"),k={};for(let b=0;b<v.length;b++)k[v[b].toString()]=1;s.operatorjson=k}console.log("one day i get a bug=",e,n,t,l,a,o),e.substr(0,1)=="="&&(e=e.substr(1));let u=e.split(""),d=0,f="",m="",g=!0,y={bracket:0,comma:0,squote:0,dquote:0};for(;d<u.length;){let v=u[d];if(v=="("&&y.dquote==0)y.bracket+=1,f.length>0?m+=f+"(":m+="(",f="";else if(v==")"&&y.dquote==0)y.bracket-=1,m+=s.functionStrChange(f,n,t,l,a,o)+")",f="";else if(v=='"'&&y.squote==0)y.dquote>0?(m+=f+'"',y.dquote-=1,f=""):(y.dquote+=1,f+='"');else if(v==","&&y.dquote==0)m+=s.functionStrChange(f,n,t,l,a,o)+",",f="";else if(v=="&"&&y.dquote==0)f.length>0?(m+=s.functionStrChange(f,n,t,l,a,o)+"&",f=""):m+="&";else if(v in s.operatorjson&&y.dquote==0){let k="";d+1<u.length&&(k=u[d+1]);let b=d-1,w=null;if(b>=0)do w=u[b--];while(b>=0&&w==" ");v+k in s.operatorjson?(f.length>0?(m+=s.functionStrChange(f,n,t,l,a,o)+v+k,f=""):m+=v+k,d++):!/[^0-9]/.test(k)&&v=="-"&&(w=="("||w==null||w==","||w==" "||w in s.operatorjson)?f+=v:f.length>0?(m+=s.functionStrChange(f,n,t,l,a,o)+v,f=""):m+=v}else f+=v;d==u.length-1&&(!f.includes("!")&&s.iscelldata($.trim(f))?m+=s.functionStrChange_range($.trim(f),n,t,l,a,o):m+=$.trim(f)),d++}return m},functionStrChange_range:function(e,n,t,l,a,o){let s=this,u=e.split("!"),d,f="";u.length>1?(d=u[1],f=u[0]+"!"):d=u[0];let m,g,y,v,k,b,w,x;if(d.indexOf(":")==-1){m=g=parseInt(d.replace(/[^0-9]/g,""))-1,y=v=hl(d.replace(/[^A-Za-z]/g,""));let C=s.isfreezonFuc(d);k=b=C[0]?"$":"",w=x=C[1]?"$":""}else{if(d=d.split(":"),m=parseInt(d[0].replace(/[^0-9]/g,""))-1,g=parseInt(d[1].replace(/[^0-9]/g,""))-1,m>g||(y=hl(d[0].replace(/[^A-Za-z]/g,"")),v=hl(d[1].replace(/[^A-Za-z]/g,"")),y>v))return e;let C=s.isfreezonFuc(d[0]);k=C[0]?"$":"",w=C[1]?"$":"";let S=s.isfreezonFuc(d[1]);b=S[0]?"$":"",x=S[1]?"$":""}if(n=="del"){if(t=="row"){if(m>=a&&g<=a+o-1)return s.error.r;m>a+o-1?m-=o:m>=a&&(m=a),g>a+o-1?g-=o:g>=a&&(g=a-1),m<0&&(m=0),g<m&&(g=m)}else if(t=="col"){if(y>=a&&v<=a+o-1)return s.error.r;y>a+o-1?y-=o:y>=a&&(y=a),v>a+o-1?v-=o:v>=a&&(v=a-1),y<0&&(y=0),v<y&&(v=y)}return m==g&&y==v?!isNaN(m)&&!isNaN(y)?f+w+lt(y)+k+(m+1):isNaN(m)?isNaN(y)?e:f+w+lt(y):f+k+(m+1):isNaN(y)&&isNaN(v)?f+k+(m+1)+":"+b+(g+1):isNaN(m)&&isNaN(g)?f+w+lt(y)+":"+x+lt(v):f+w+lt(y)+k+(m+1)+":"+x+lt(v)+b+(g+1)}else if(n=="add")return t=="row"?l=="lefttop"?(m>=a&&(m+=o),g>=a&&(g+=o)):l=="rightbottom"&&(m>a&&(m+=o),g>a&&(g+=o)):t=="col"&&(l=="lefttop"?(y>=a&&(y+=o),v>=a&&(v+=o)):l=="rightbottom"&&(y>a&&(y+=o),v>a&&(v+=o))),m==g&&y==v?!isNaN(m)&&!isNaN(y)?f+w+lt(y)+k+(m+1):isNaN(m)?isNaN(y)?e:f+w+lt(y):f+k+(m+1):isNaN(y)&&isNaN(v)?f+k+(m+1)+":"+b+(g+1):isNaN(m)&&isNaN(g)?f+w+lt(y)+":"+x+lt(v):f+w+lt(y)+k+(m+1)+":"+x+lt(v)+b+(g+1)},israngeseleciton:function(e){let n=this;if(n.operatorjson==null){let o=n.operator.split("|"),s={};for(let u=0;u<o.length;u++)s[o[u].toString()]=1;n.operatorjson=s}e==null&&(e=!1);let t=window.getSelection(),l=$(t.anchorNode),a=t.anchorOffset;if(l.parent().is("span")&&a!=0){let o=$.trim(l.text()),s="";if(o.length==0&&l.parent().prev().length>0){let u=l.parent().prev();o=$.trim(u.text()),s=o.substr(o.length-1,1),n.rangeSetValueTo=u}else s=o.substr(a-1,1),n.rangeSetValueTo=l.parent();if(e&&(s=="("||s==",")||!e&&(s=="("||s==","||s=="="||s in n.operatorjson||s=="&"))return!0}else if(l.is("#luckysheet-rich-text-editor")||l.is("#luckysheet-functionbox-cell")){let o=$.trim(l.find("span").last().text()),s;if(n.rangeSetValueTo=l.find("span").last(),o.length==0&&l.find("span").length>1){let u=l.find("span");o=$.trim(u.eq(u.length-2).text()),n.rangeSetValueTo=u}if(s=o.substr(o.length-1,1),e&&(s=="("||s==",")||!e&&(s=="("||s==","||s=="="||s in n.operatorjson||s=="&"))return!0}else if((l.parent().is("#luckysheet-rich-text-editor")||l.parent().is("#luckysheet-functionbox-cell")||a==0)&&(a==0&&(l=l.parent()),l.prev().length>0)){let o=$.trim(l.prev().text()),s=o.substr(o.length-1,1);if(n.rangeSetValueTo=l.prev(),e&&(s=="("||s==",")||!e&&(s=="("||s==","||s=="="||s in n.operatorjson||s=="&"))return!0}return!1},rangechangeindex:null,rangestart:!1,rangetosheet:null,rangeSetValueTo:null,func_selectedrange:{},rangeSetValue:function(e,n){let t=this,l="",a=e.row[0],o=e.column[0];h.config.merge!=null&&a+"_"+o in h.config.merge?l=wt(h.currentSheetIndex,{column:[o,o],row:[a,a]},t.rangetosheet):l=wt(h.currentSheetIndex,e,t.rangetosheet);let s;if(t.rangestart||t.rangedrag_column_start||t.rangedrag_row_start)if($("#luckysheet-search-formula-parm").is(":visible")||$("#luckysheet-search-formula-parm-select").is(":visible")){s=$("#luckysheet-rich-text-editor"),$("#luckysheet-search-formula-parm-select-input").val(l),$("#luckysheet-search-formula-parm .parmBox").eq(t.data_parm_index).find(".txt input").val(l);let u=ir(l).data;if(u instanceof Array){let v=[];for(let k=0;k<u.length;k++)for(let b=0;b<u[k].length;b++)u[k][b]==null?v.push(null):v.push(u[k][b].v);$("#luckysheet-search-formula-parm .parmBox").eq(t.data_parm_index).find(".val").text(" = {"+v.join(",")+"}")}else $("#luckysheet-search-formula-parm .parmBox").eq(t.data_parm_index).find(".val").text(" = {"+u.v+"}");let d=!0,f=[],m=-1;$("#luckysheet-search-formula-parm .parmBox").each(function(v,k){let b=$(k).find(".txt input").val();b==""&&$(k).find(".txt input").attr("data_parm_require")=="m"&&(d=!1),b!=""&&(m=v)});let g;if(m==-1)g="="+$("#luckysheet-search-formula-parm .luckysheet-modal-dialog-title-text").text()+"()";else if(m==0)g="="+$("#luckysheet-search-formula-parm .luckysheet-modal-dialog-title-text").text()+"("+$("#luckysheet-search-formula-parm .parmBox").eq(0).find(".txt input").val()+")";else{for(let v=0;v<=m;v++)f.push($("#luckysheet-search-formula-parm .parmBox").eq(v).find(".txt input").val());g="="+$("#luckysheet-search-formula-parm .luckysheet-modal-dialog-title-text").text()+"("+f.join(",")+")"}let y=t.functionHTMLGenerate(g);if($("#luckysheet-rich-text-editor").html(y),$("#luckysheet-functionbox-cell").html($("#luckysheet-rich-text-editor").html()),d){let v=$.trim(t.functionParserExe($("#luckysheet-rich-text-editor").text())),k=new Function("return "+v)();$("#luckysheet-search-formula-parm .result span").text(k)}}else{let d=window.getSelection().anchorNode;s=$(d).closest("div");let f=s.find("span[rangeindex='"+t.rangechangeindex+"']").html(l);t.setCaretPosition(f.get(0),0,l.length)}else{let u='<span class="luckysheet-formula-functionrange-cell" rangeindex="'+t.functionHTMLIndex+'" dir="auto" style="color:'+Yl[t.functionHTMLIndex]+';">'+l+"</span>",d=$(u).insertAfter(t.rangeSetValueTo);t.rangechangeindex=t.functionHTMLIndex,s=$(t.rangeSetValueTo).closest("div"),t.setCaretPosition(s.find("span[rangeindex='"+t.rangechangeindex+"']").get(0),0,l.length),t.functionHTMLIndex++}s.attr("id")=="luckysheet-rich-text-editor"?$("#luckysheet-functionbox-cell").html($("#luckysheet-rich-text-editor").html()):$("#luckysheet-rich-text-editor").html($("#luckysheet-functionbox-cell").html())},rangedrag:function(e){let n=this,t=nt(e.pageX,e.pageY),l=t[0]+$("#luckysheet-cell-main").scrollLeft(),a=t[1]+$("#luckysheet-cell-main").scrollTop(),o=xt(a),s=o[1],u=o[0],d=o[2],f=bt(l),m=f[1],g=f[0],y=f[2],v=0,k=0,b=[];n.func_selectedrange.top>u?(v=u,k=n.func_selectedrange.top+n.func_selectedrange.height-u,b=[d,n.func_selectedrange.row[1]]):n.func_selectedrange.top==u?(v=u,k=n.func_selectedrange.top+n.func_selectedrange.height-u,b=[d,n.func_selectedrange.row[0]]):(v=n.func_selectedrange.top,k=s-n.func_selectedrange.top-1,b=[n.func_selectedrange.row[0],d]);let w=0,x=0,C=[];n.func_selectedrange.left>g?(w=g,x=n.func_selectedrange.left+n.func_selectedrange.width-g,C=[y,n.func_selectedrange.column[1]]):n.func_selectedrange.left==g?(w=g,x=n.func_selectedrange.left+n.func_selectedrange.width-g,C=[y,n.func_selectedrange.column[0]]):(w=n.func_selectedrange.left,x=m-n.func_selectedrange.left-1,C=[n.func_selectedrange.column[0],y]),b[0]=X.changeFreezenIndex(b[0],"h"),b[1]=X.changeFreezenIndex(b[1],"h"),C[0]=X.changeFreezenIndex(C[0],"v"),C[1]=X.changeFreezenIndex(C[1],"v");let S=be.mergeMoveMain(C,b,n.func_selectedrange,v,k,w,x);if(S!=null&&(C=S[0],b=S[1],v=S[2],k=S[3],w=S[4],x=S[5]),n.func_selectedrange.row=b,n.func_selectedrange.column=C,n.func_selectedrange.left_move=w,n.func_selectedrange.width_move=x,n.func_selectedrange.top_move=v,n.func_selectedrange.height_move=k,sr(w,v,x,k,b,C),$("#luckysheet-formula-functionrange-select").css({left:w,width:x,top:v,height:k}).show(),$("#luckysheet-ifFormulaGenerator-multiRange-dialog").is(":visible")){let _=wt(h.currentSheetIndex,{row:b,column:C},h.currentSheetIndex);$("#luckysheet-ifFormulaGenerator-multiRange-dialog input").val(_)}else n.rangeSetValue({row:b,column:C});X.scrollFreezen(b,C)},rangedrag_column_start:!1,rangedrag_row_start:!1,rangedrag_column:function(e){let n=this,t=nt(e.pageX,e.pageY),l=t[0]+$("#luckysheet-cell-main").scrollLeft(),a=t[1]+$("#luckysheet-cell-main").scrollTop(),o=h.visibledatarow,s=o.length-1,u=o[s],d=0,f=bt(l),m=f[1],g=f[0],y=f[2],v=0,k=0,b=[];n.func_selectedrange.left>g?(v=g,k=n.func_selectedrange.left+n.func_selectedrange.width-g,b=[y,n.func_selectedrange.column[1]]):n.func_selectedrange.left==g?(v=g,k=n.func_selectedrange.left+n.func_selectedrange.width-g,b=[y,n.func_selectedrange.column[0]]):(v=n.func_selectedrange.left,k=m-n.func_selectedrange.left-1,b=[n.func_selectedrange.column[0],y]),b[0]=X.changeFreezenIndex(b[0],"v"),b[1]=X.changeFreezenIndex(b[1],"v");let w=be.mergeMoveMain(b,[0,s],n.func_selectedrange,d,u-d-1,v,k);w!=null&&(b=w[0],v=w[4],k=w[5]),n.func_selectedrange.column=b,n.func_selectedrange.left_move=v,n.func_selectedrange.width_move=k,sr(v,d,k,u-d-1,[0,s],b),n.rangeSetValue({row:[null,null],column:b}),$("#luckysheet-formula-functionrange-select").css({left:v,width:k,top:d,height:u-d-1}).show(),X.scrollFreezen([0,s],b)},rangedrag_row:function(e){let n=this,t=nt(e.pageX,e.pageY),l=t[0]+$("#luckysheet-cell-main").scrollLeft(),a=t[1]+$("#luckysheet-cell-main").scrollTop(),o=xt(a),s=o[1],u=o[0],d=o[2],f=h.visibledatacolumn,m=f.length-1,g=f[m],y=0,v=0,k=0,b=[];n.func_selectedrange.top>u?(v=u,k=n.func_selectedrange.top+n.func_selectedrange.height-u,b=[d,n.func_selectedrange.row[1]]):n.func_selectedrange.top==u?(v=u,k=n.func_selectedrange.top+n.func_selectedrange.height-u,b=[d,n.func_selectedrange.row[0]]):(v=n.func_selectedrange.top,k=s-n.func_selectedrange.top-1,b=[n.func_selectedrange.row[0],d]),b[0]=X.changeFreezenIndex(b[0],"h"),b[1]=X.changeFreezenIndex(b[1],"h");let w=be.mergeMoveMain([0,m],b,n.func_selectedrange,v,k,y,g-y-1);w!=null&&(b=w[1],v=w[2],k=w[3]),n.func_selectedrange.row=b,n.func_selectedrange.top_move=v,n.func_selectedrange.height_move=k,sr(y,v,g-y-1,k,b,[0,m]),n.rangeSetValue({row:b,column:[null,null]}),$("#luckysheet-formula-functionrange-select").css({left:y,width:g-y-1,top:v,height:k}).show(),X.scrollFreezen(b,[0,m])},rangedragged:function(){},rangeResizeObj:null,rangeResize:null,rangeResizeIndex:null,rangeResizexy:null,rangeResizeWinH:null,rangeResizeWinW:null,rangeResizeTo:null,rangeResizeDraging:function(e,n,t,l,a,o,s,u){let d=this,f=$("#luckysheet-scrollbar-y").scrollTop(),m=$("#luckysheet-scrollbar-x").scrollLeft(),g=nt(e.pageX,e.pageY),y=g[0]+m,v=g[1]+f,k=xt(v),b=k[1],w=k[0],x=k[2],C=bt(y),S=C[1],_=C[0],T=C[2];if(y<0||v<0)return!1;let A=w-t[1],R=_-t[0],I=t[5],F=t[3],z=t[4],M=t[2];if(l=="lt"||l=="lb"){if(t[0]+t[2]<_)return;z=_,M=t[2]-R,z>t[2]+t[4]-S+_?(z=t[2]+t[4]-S+_,M=t[2]-(t[2]+t[4]-S+_-t[0])):z<=0&&(z=0,M=t[2]+t[0])}if(l=="rt"||l=="rb"){if(t[6]-t[2]>S)return;M=t[2]+S-t[6],M<S-_-1?M=S-_-1:M>=s-z&&(M=s-z)}if(l=="lt"||l=="rt"){if(t[1]+t[3]<w)return;I=w,F=t[3]-A,I>t[3]+t[5]-b+w?(I=t[3]+t[5]-b+w,F=t[3]-(t[3]+t[5]-b+w-t[1])):I<=0&&(I=0,F=t[3]+t[1])}if(l=="lb"||l=="rb"){if(t[7]-t[3]>b)return;F=t[3]+b-t[7],F<b-w-1?F=b-w-1:F>=u-I&&(F=u-I)}let N=d.rangeResizeIndex,E={top:I,left:z,height:F,width:M},L=d.getSelectedFromRange(E),O=wt(h.currentSheetIndex,L,d.rangetosheet),V=d.rangeResizeTo.find("span[rangeindex='"+N+"']").html(O);Cr(d.rangeResizeTo[0]),n.css(E).data("range",L)},getSelectedFromRange:function(e){let n=e.top+2,t=e.top+e.height-2,l=e.left+2,a=e.left+e.width-2;return{row:[xt(n)[2],xt(t)[2]],column:[bt(l)[2],bt(a)[2]]}},rangeResizeDragged:function(e,n,t,l,a,o){let s=this;s.rangeResize=null,$("#luckysheet-formula-functionrange-highlight-"+s.rangeResizeIndex).find(".luckysheet-selection-copy-hc").css("opacity",.03)},rangeMovexy:null,rangeMove:!1,rangeMoveObj:null,rangeMoveIndex:null,rangeMoveRangedata:null,rangeMoveDraging:function(e,n,t,l,a,o){let s=this,u=nt(e.pageX,e.pageY),d=$("#luckysheet-scrollbar-x").scrollLeft(),f=$("#luckysheet-scrollbar-y").scrollTop(),m=u[0]+d,g=u[1]+f,y=$(window).height()+f-a-o,v=$(window).width()+d,k=n[0],b=n[1],w=t.row[0]-k+xt(g)[2],x=t.row[1]-k+xt(g)[2],C=t.column[0]-b+bt(m)[2],S=t.column[1]-b+bt(m)[2];(w<0||g<0)&&(w=0,x=t.row[1]-t.row[0]),(C<0||m<0)&&(C=0,S=t.column[1]-t.column[0]);let _=h.visibledatarow;(x>=_[_.length-1]||g>y)&&(w=_.length-1-t.row[1]+t.row[0],x=_.length-1);let T=h.visibledatacolumn;(S>=T[T.length-1]||m>v)&&(C=T.length-1-t.column[1]+t.column[0],S=T.length-1);let A=C-1==-1?0:T[C-1],R=T[S],I=w-1==-1?0:_[w-1],F=_[x],z=s.rangeMoveIndex,M={left:A,width:R-A-2,top:I,height:F-I-2,display:"block"},N=s.getSelectedFromRange(M),E=wt(h.currentSheetIndex,N,s.rangetosheet),L=s.rangeResizeTo.find("span[rangeindex='"+z+"']").html(E);Cr(s.rangeResizeTo[0]),s.rangeMoveRangedata=N,l.css(M)},rangeMoveDragged:function(e){let n=this;n.rangeMove=!1,$("#luckysheet-formula-functionrange-highlight-"+n.rangeMoveIndex).data("range",n.rangeMoveRangedata).find(".luckysheet-selection-copy-hc").css("opacity",.03)},functionHTMLIndex:0,functionRangeIndex:null,findrangeindex:function(e,n){let t=this,l=/<span.*?>/g,a=e.replace(l,""),o=n.replace(l,"");a=a.split("</span>"),o=o.split("</span>"),a.pop(),o.pop();let s=t.functionRangeIndex,u=0,d=o.length>a.length?a.length:o.length,f=o.length,m=a.length;if(f==m){let g=s[0],y=o[g],v=a[g];if(y==null)return o.length<=g?s=[o.length-1,o.length-1]:a.length<=g&&(s=[a.length-1,a.length-1]),s;if(y.length==v.length)return o[g+1]!=null&&a[g+1]!=null&&o[g+1].length<a[g+1].length&&(s[0]=s[0]+1,s[1]=1),s;if(y.length>v.length)return y!=null&&a[g+1]!=null&&a[g+1].substr(0,1)=='"'&&(y.indexOf("{")>-1||y.indexOf("}")>-1)&&(s[0]=s[0]+1,s[1]=1),s;if(y.length<v.length)return s[1]>v.length&&(s[1]=v.length),s}else if(f>m){let g=s[0],y=o[g],v=a[g];if(v==null)if(a[g-1].indexOf("{")>-1){s[0]=s[0]-1;let k=a[g-1].search("{");s[1]=s[1]+k}else s[0]=0,s[1]=0;else{if(y.length==v.length)return a[g+1]!=null&&(a[g+1].substr(0,1)=='"'||a[g+1].substr(0,1)=="{"||a[g+1].substr(0,1)=="}")?(s[0]=s[0]+1,s[1]=1):y!=null&&y.length>2&&y.substr(0,1)=='"'&&y.substr(y.length-1,1)=='"'||(a[g]!=null&&a[g]=='")'||a[g]!=null&&a[g]=='"}'||a[g]!=null&&a[g]=="{)"?s[1]=1:s[1]=v.length),s;if(y.length>v.length)return a[g+1]!=null&&(a[g+1].substr(0,1)=='"'||a[g+1].substr(0,1)=="{"||a[g+1].substr(0,1)=="}")&&(s[0]=s[0]+1,s[1]=1),s;if(y.length<v.length)return s}return s}else if(f<m){let g=s[0],y=o[g],v=a[g];if(y==null)s[0]=a.length-1,v!=null?s[1]=v.length:s[1]=1;else{if(y.length==v.length)return o[g+1]!=null&&(o[g+1].substr(0,1)=='"'||o[g+1].substr(0,1)=="{"||o[g+1].substr(0,1)=="}")?s[1]=v.length:a[g+1]!=null&&a[g+1].substr(0,1)=='"'&&(a[g+1].substr(0,1)=="{"||a[g+1].substr(0,1)=="}")?(s[0]=s[0]+1,s[1]=1):v!=null&&v.substr(0,1)=='"'&&v.substr(v.length-1,1)=='"'&&y.substr(0,1)=='"'&&y.substr(y.length-1,1)==")"||v!=null&&v.substr(0,1)=="{"&&v.substr(v.length-1,1)=="}"&&y.substr(0,1)=="{"&&y.substr(y.length-1,1)==")"?s[1]=v.length:(s[0]=s[0]+m-f,a.length>o.length?s[1]=a[g+1].length:s[1]=1),s;if(y.length>v.length)return y!=null&&y.substr(0,1)=='"'?s[1]=v.length:a[g+1]!=null&&/{.*?}/.test(a[g+1])?(s[0]=s[0]+1,s[1]=a[g+1].length):y!=null&&a[g+1].substr(0,1)=='"'&&(y.indexOf("{")>-1||y.indexOf("}")>-1)?(s[0]=s[0]+1,s[1]=1):y!=null&&(y.indexOf("{")>-1||y.indexOf("}")>-1)||(s[0]=s[0]+m-f-1,s[1]=a[g-1].length),s;if(y.length<v.length)return s}return s}return null},setCaretPosition:function(e,n,t){try{let l=e,a=document.createRange(),o=window.getSelection();a.setStart(l.childNodes[n],t),a.collapse(!0),o.removeAllRanges(),o.addRange(a),l.focus()}catch(l){Cr(this.rangeResizeTo[0])}},functionRange:function(e,n,t){let l=this;if(window.getSelection){let a=window.getSelection(),o=l.findrangeindex(n,t);o==null?(a.selectAllChildren(e.get(0)),a.collapseToEnd()):l.setCaretPosition(e.find("span").get(o[0]),0,o[1])}else document.selection&&(l.functionRangeIndex.moveToElementText(e),l.functionRangeIndex.collapse(!1),l.functionRangeIndex.select())},functionInputHanddler:function(e,n,t){if(de())return;let l=this,a=e,o=n,s=o.html(),u=o.text(),d=this.xssDeal;setTimeout(function(){let f=o.text(),m=f;if(f=d(f),f.length>0&&f.substr(0,1)=="="&&(t!=229||f.length==1)){if(f=l.functionHTMLGenerate(f),s=l.functionHTMLGenerate(u),window.getSelection){let g=window.getSelection();if($(g.anchorNode).is("div")){let y=$("#luckysheet-rich-text-editor span").length;l.functionRangeIndex=[y-1,$("#luckysheet-rich-text-editor").find("span").eq(y-1).text().length]}else l.functionRangeIndex=[$(g.anchorNode).parent().index(),g.anchorOffset]}else{let g=document.selection.createRange();l.functionRangeIndex=g}o.html(f),l.functionRange(o,f,s),l.canceFunctionrangeSelected(),t!=46&&l.createRangeHightlight(),a.html(f),l.rangestart=!1,l.rangedrag_column_start=!1,l.rangedrag_row_start=!1,l.rangeHightlightselected(o,t)}else u.substr(0,1)!="="&&(a.attr("id")=="luckysheet-rich-text-editor"&&a.html().substr(0,5)=="<span"||(f=l.ltGtSignDeal(f),a.html(f)))},1)},functionHTMLGenerate:function(e){let n=this;return e.length==0||e.substr(0,1)!="="?e:(n.functionHTMLIndex=0,'<span dir="auto" class="luckysheet-formula-text-color">=</span>'+n.functionHTML(e))},functionHTML:function(e){let n=this;if(n.operatorjson==null){let d=n.operator.split("|"),f={};for(let m=0;m<d.length;m++)f[d[m].toString()]=1;n.operatorjson=f}e.substr(0,1)=="="&&(e=e.substr(1));let t=e.split(""),l=0,a="",o="",s=!0,u={bracket:0,comma:0,squote:0,dquote:0,braces:0};for(;l<t.length;){let d=t[l];if(d=="("&&u.squote==0&&u.dquote==0&&u.braces==0)u.bracket+=1,a.length>0?o+='<span dir="auto" class="luckysheet-formula-text-func">'+a+'</span><span dir="auto" class="luckysheet-formula-text-lpar">(</span>':o+='<span dir="auto" class="luckysheet-formula-text-lpar">(</span>',a="";else if(d==")"&&u.squote==0&&u.dquote==0&&u.braces==0)u.bracket-=1,o+=n.functionHTML(a)+'<span dir="auto" class="luckysheet-formula-text-rpar">)</span>',a="";else if(d=="{"&&u.squote==0&&u.dquote==0)a+="{",u.braces+=1;else if(d=="}"&&u.squote==0&&u.dquote==0)a+="}",u.braces-=1;else if(d=='"'&&u.squote==0)u.dquote>0?(a.length>0?o+=a+'"</span>':o+='"</span>',u.dquote-=1,a=""):(u.dquote+=1,a.length>0?o+=n.functionHTML(a)+'<span dir="auto" class="luckysheet-formula-text-string">"':o+='<span dir="auto" class="luckysheet-formula-text-string">"',a="");else if(d=="'"&&u.dquote==0)a+="'",u.squote=u.squote==0?1:0;else if(d==","&&u.squote==0&&u.dquote==0&&u.braces==0)o+=n.functionHTML(a)+'<span dir="auto" class="luckysheet-formula-text-comma">,</span>',a="";else if(d=="&"&&u.squote==0&&u.dquote==0&&u.braces==0)a.length>0?(o+=n.functionHTML(a)+'<span dir="auto" class="luckysheet-formula-text-calc">&</span>',a=""):o+='<span dir="auto" class="luckysheet-formula-text-calc">&</span>';else if(d in n.operatorjson&&u.squote==0&&u.dquote==0&&u.braces==0){let f="";l+1<t.length&&(f=t[l+1]);let m=l-1,g=null;if(m>=0)do g=t[m--];while(m>=0&&g==" ");d+f in n.operatorjson?(a.length>0?(o+=n.functionHTML(a)+'<span dir="auto" class="luckysheet-formula-text-calc">'+d+f+"</span>",a=""):o+='<span dir="auto" class="luckysheet-formula-text-calc">'+d+f+"</span>",l++):!/[^0-9]/.test(f)&&d=="-"&&(g=="("||g==null||g==","||g==" "||g in n.operatorjson)?a+=d:a.length>0?(o+=n.functionHTML(a)+'<span dir="auto" class="luckysheet-formula-text-calc">'+d+"</span>",a=""):o+='<span dir="auto" class="luckysheet-formula-text-calc">'+d+"</span>"}else a+=d;if(l==t.length-1){if(n.iscelldata($.trim(a)))o+='<span class="luckysheet-formula-functionrange-cell" rangeindex="'+n.functionHTMLIndex+'" dir="auto" style="color:'+Yl[n.functionHTMLIndex]+';">'+a+"</span>",n.functionHTMLIndex++;else if(u.dquote>0)o+=a+"</span>";else if(a.indexOf("</span>")==-1&&a.length>0){let f=/{.*?}/;if(f.test($.trim(a))){let m=f.exec(a)[0],g=a.search(f),y="";g>0&&(y+='<span dir="auto" class="luckysheet-formula-text-color">'+a.substr(0,g)+"</span>"),y+='<span dir="auto" style="color:#959a05" class="luckysheet-formula-text-array">'+m+"</span>",g+m.length<a.length&&(y+='<span dir="auto" class="luckysheet-formula-text-color">'+a.substr(g+m.length,a.length)+"</span>"),o+=y}else o+='<span dir="auto" class="luckysheet-formula-text-color">'+a+"</span>"}}l++}return o},getfunctionParam:function(e){let n=this;if(n.operatorjson==null){let m=n.operator.split("|"),g={};for(let y=0;y<m.length;y++)g[m[y].toString()]=1;n.operatorjson=g}e.substr(0,1)=="="&&(e=e.substr(1));let t=e.split(""),l=0,a="",o="",s={bracket:0,comma:0,squote:0,dquote:0,compare:0},u=null,d=[],f=[];for(;l<t.length;){let m=t[l];if(m=="("&&s.dquote==0)a.length>0&&f.length==0?(u=a.toUpperCase(),f.push(1),a=""):f.length==0?(f.push(0),a=""):(f.push(0),a+=m);else if(m==")"&&s.dquote==0){let g=f.pop();f.length==0?(d.push(a),a=""):a+=m}else if(m=='"')a+='"',s.dquote>0?(s.dquote-=1,a=""):s.dquote+=1;else if(m==","&&s.dquote==0)f.length<=1?(d.push(a),a=""):a+=",";else if(m in n.operatorjson&&s.dquote==0){let g="";l+1<t.length&&(g=t[l+1]);let y=l-1,v=null;if(y>=0)do v=t[y--];while(y>=0&&v==" ");!/[^0-9]/.test(g)&&m=="-"&&(v=="("||v==null||v==","||v==" "||v in n.operatorjson)?s.dquote==0?a+=$.trim(m):a+=m:(o="",a="")}else s.dquote==0?a+=$.trim(m):a+=m;l++}return{fn:u,param:d}},calPostfixExpression:function(e){if(e.length==0)return"";let n=[];for(let t=e.length-1;t>=0;t--){let l=e[t];if(l in this.operatorjson){let a=n.pop(),o=n.pop(),s="luckysheet_compareWith("+o+",'"+l+"', "+a+")";n.push(s)}else n.push(l)}return n.length>0?n[0]:""},checkBracketNum:function(e){let n=e.match(/\(/g),t=e.match(/\)/g),l=e.match(/(['"])(?:(?!\1).)*?\1/g),a=e.match(/(['"])(?:(?!\1).)*?\1/g),o=0,s=0;n!=null&&(o+=n.length),t!=null&&(s+=t.length);let u=0,d=0;if(l!=null)for(let f=0;f<l.length;f++){let m=l[f].match(/\(/g);m!=null&&(u+=m.length)}if(a!=null)for(let f=0;f<a.length;f++){let m=a[f].match(/\)/g);m!=null&&(d+=m.length)}return o-=u,s-=d,o==s},operatorPriority:{"^":0,"%":1,"*":1,"/":1,"+":2,"-":2},functionParserExe:function(e){let n=this;return this.functionParser(e)},functionParser:function(e,n){let t=this;if(t.operatorjson==null){let y=t.operator.split("|"),v={};for(let k=0;k<y.length;k++)v[y[k].toString()]=1;t.operatorjson=v}if(e==null)return"";e.substr(0,2)=="=+"?e=e.substr(2):e.substr(0,1)=="="&&(e=e.substr(1));let l=e.split(""),a=0,o="",s="",u={bracket:0,comma:0,squote:0,dquote:0,compare:0,braces:0},d=[],f=[],m=[],g=-1;for(;a<l.length;){let y=l[a];if(y=="("&&u.squote==0&&u.dquote==0&&u.braces==0)if(o.length>0&&m.length==0){if(o=o.toUpperCase(),o.indexOf(":")>-1){let v=o.split(":");s+="luckysheet_getSpecialReference(true,'"+$.trim(v[0]).replace(/'/g,"\\'")+"', luckysheet_function."+v[1]+".f(#lucky#"}else s+="luckysheet_function."+o+".f(";m.push(1),o=""}else m.length==0?(s+="(",m.push(0),o=""):(m.push(0),o+=y);else if(y==")"&&u.squote==0&&u.dquote==0&&u.braces==0){let v=m.pop();if(m.length==0){let k=t.functionParser(o,n);k.indexOf("#lucky#")>-1&&(k=k.replace(/#lucky#/g,"")+")"),s+=k+")",o=""}else o+=y}else if(y=="{"&&u.squote==0&&u.dquote==0)o+="{",u.braces+=1;else if(y=="}"&&u.squote==0&&u.dquote==0)o+="}",u.braces-=1;else if(y=='"'&&u.squote==0)u.dquote>0?a<l.length-1&&l[a+1]=='"'?(a++,o+="\x7F"):(u.dquote-=1,o+='"'):(u.dquote+=1,o+='"');else if(y=="'"&&u.dquote==0)if(o+="'",u.squote>0){if(g==a-1)return"";if(a<l.length-1&&l[a+1]=="'")a++,o+="'";else{if(l[a-1]=="'")return"";u.squote-=1}}else u.squote+=1,g=a;else if(y==","&&u.squote==0&&u.dquote==0&&u.braces==0)if(m.length<=1){let v=t.functionParser(o,n);v.indexOf("#lucky#")>-1&&(v=v.replace(/#lucky#/g,"")+")"),s+=v+",",o=""}else o+=",";else if(y in t.operatorjson&&u.squote==0&&u.dquote==0&&u.braces==0){let v="",k=t.operatorPriority;if(a+1<l.length&&(v=l[a+1]),y+v in t.operatorjson){if(m.length==0){if($.trim(o).length>0?f.unshift(t.functionParser($.trim(o),n)):$.trim(s).length>0&&f.unshift($.trim(s)),d[0]in t.operatorjson){let b=k[d[0]];for(;d.length>0&&b!=null;)f.unshift(d.shift()),b=k[d[0]]}d.unshift(y+v),s="",o=""}else o+=y+v;a++}else if(m.length==0){if($.trim(o).length>0?f.unshift(t.functionParser($.trim(o),n)):$.trim(s).length>0&&f.unshift($.trim(s)),d[0]in t.operatorjson){let b=k[d[0]];b=b==null?1e3:b;let w=k[y];for(w=w==null?1e3:w;d.length>0&&w>=b;)f.unshift(d.shift()),b=k[d[0]],b=b==null?1e3:b}for(ls=a+1;ls<l.length;ls++)if(["--","++"].includes(y+l[ls]))y="+";else if(["-+","+-"].includes(y+l[ls]))y="-";else{ls>a+1&&(a=ls-1);break}d.unshift(y),s="",o=""}else o+=y}else u.dquote==0&&u.squote==0,o+=y;if(a==l.length-1){let v="",k=$.trim(o).replace(/'/g,"\\'");if(t.iscelldata(k)&&k.substr(0,1)!=":")v="luckysheet_getcelldata('"+k+"')",typeof n=="function"&&n(k);else if(k.substr(0,1)==":")k=k.substr(1),t.iscelldata(k)&&(v="luckysheet_getSpecialReference(false,"+s+",'"+k+"')");else{o=$.trim(o);let b=/{.*?}/;if(b.test(o)&&o.substr(0,1)!='"'&&o.substr(o.length-1,1)!='"'){let w=b.exec(o)[0],x=o.search(b),C="";x>0&&(v+=o.substr(0,x)),v+="luckysheet_getarraydata('"+w+"')",x+w.length<o.length&&(v+=o.substr(x+w.length,o.length))}else v=o}if(v.length>0&&f.unshift(v),d.length>0)for(s.length>0&&(f.unshift(s),s="");d.length>0;)f.unshift(d.shift());f.length>0?s=t.calPostfixExpression(f):s+=v}a++}return s},insertUpdateDynamicArray:function(e){let n=e.r,t=e.c,l=e.index;l==null&&(l=h.currentSheetIndex);let s=Lt()[K(l)].dynamicArray;s==null&&(s=[]);for(let u=0;u<s.length;u++){let d=s[u];if(d.r==n&&d.c==t&&d.index==l)return d.data=e.data,d.f=e.f,s}return s.push(e),s},addFunctionGroup:function(e,n,t,l){l==null&&(l=h.currentSheetIndex);let a=Lt(),o=a[K(l)];o.calcChain==null&&(o.calcChain=[]);let s={r:e,c:n,index:l,func:t};o.calcChain.push(s),ne.saveParam("fc",l,JSON.stringify(s),{op:"add",pos:o.calcChain.length-1}),Jn(a)},getAllFunctionGroup:function(){let e=Lt(),n=[];for(let t=0;t<e.length;t++){let l=e[t],a=l.calcChain;if(a){let s=[];a.forEach((u,d)=>{typeof u=="string"?s.push(JSON.parse(u)):s.push(u)}),a=l.calcChain=s}let o=l.dynamicArray_compute;a==null&&(a=[]),o==null&&(o=[]),n=n.concat(a);for(let s=0;s<o.length;s++){let u=o[0];n.push({r:u.r,c:u.c,index:u.index})}}return n},getFunctionGroup:function(e){e==null&&(e=h.currentSheetIndex);let t=Lt()[K(e)];return t.calcChain==null?[]:t.calcChain},updateFunctionGroup:function(e,n,t){t==null&&(t=h.currentSheetIndex);let l=Lt(),o=l[K(t)].calcChain;if(o!=null)for(let s=0;s<o.length;s++){let u=o[s];if(u.r==e&&u.c==n&&u.index==t){ne.saveParam("fc",t,JSON.stringify(u),{op:"update",pos:s});break}}Jn(l)},insertUpdateFunctionGroup:function(e,n,t){t==null&&(t=h.currentSheetIndex);let l=Lt(),a=l[K(t)],o=a.calcChain;o==null&&(o=[]);for(let u=0;u<o.length;u++){let d=o[u];if(d.r==e&&d.c==n&&d.index==t){ne.saveParam("fc",t,JSON.stringify(d),{op:"update",pos:u});return}}let s={r:e,c:n,index:t};o.push(s),a.calcChain=o,ne.saveParam("fc",t,JSON.stringify(s),{op:"add",pos:a.calcChain.length-1}),Jn(l)},isFunctionRangeSave:!1,isFunctionRangeSimple:function(e,n,t,l,a){if(e==null||e.length==0)return;let o=e.split(/==|!=|<>|<=|>=|[,()=+-\/*%&^><]/g);if(o.length>0)for(let s=0;s<o.length;s++){let u=o[s];u.length<=1||u.substr(0,1)=='"'&&u.substr(u.length-1,1)=='"'||this.isFunctionRangeSaveChange(u,n,t,l,a)}},isFunctionRangeSimple1:function(e,n,t,l,a){let o=this;if(o.operatorjson==null){let v=o.operator.split("|"),k={};for(let b=0;b<v.length;b++)k[v[b].toString()]=1;o.operatorjson=k}e.substr(0,1)=="="&&(e=e.substr(1));let s=e.split(""),u=0,d="",f="",m=!0,g={bracket:0,comma:0,squote:0,dquote:0},y=Lt();for(;u<s.length;){let v=s[u];if(v=="("&&g.dquote==0)g.bracket+=1,d.length>0?f+="luckysheet_function."+d.toUpperCase()+".f(":f+="(",d="";else if(v==")"&&g.dquote==0)g.bracket-=1,f+=o.isFunctionRangeSimple(d,n,t,l,a)+")",d="";else if(v==","&&g.dquote==0)f+=o.isFunctionRangeSimple(d,n,t,l,a)+",",d="";else if(v in o.operatorjson&&g.dquote==0){let k="";u+1<s.length&&(k=s[u+1]),v+k in o.operatorjson?(d.length>0?(f+=o.isFunctionRangeSimple(d,n,t,l,a)+v+k,d=""):f+=v+k,u++):d.length>0?(f+=o.isFunctionRangeSimple(d,n,t,l,a)+v,d=""):f+=v}else d+=v;u==s.length-1&&o.iscelldata($.trim(d))&&o.isFunctionRangeSaveChange(d,n,t,l,a),u++}return f},isFunctionRangeSelect:function(e,n,t,l,a){if(e==null||e=="")return;l==null&&(l=h.currentSheetIndex),a==null&&(a={});let o=this,s=e.toUpperCase(),u=s.indexOf("INDIRECT(")>-1||s.indexOf("OFFSET(")>-1||s.indexOf("INDEX(")>-1;if(e in this.formulaContainCellList){let d=this.formulaContainCellList[e];if(u)if(d.__LuckyisOff__==!0)for(let m in d)m!="__LuckyisOff__"&&this.isFunctionRangeSaveChange(m,n,t,l,a);else this.isFunctionRange(e,n,t,l,a,function(m){o.addToCellList(e,m)}),d.__LuckyisOff__=!0;else for(let f in d)f!="__LuckyisOff__"&&this.isFunctionRangeSaveChange(f,n,t,l,a);return}u?this.isFunctionRange(e,n,t,l,a):this.isFunctionRangeSimple(e,n,t,l,a)},isFunctionRange:function(e,n,t,l,a,o){let s=this;if(s.operatorjson==null){let x=s.operator.split("|"),C={};for(let S=0;S<x.length;S++)C[x[S].toString()]=1;s.operatorjson=C}e.substr(0,1)=="="&&(e=e.substr(1));let u=e.split(""),d=0,f="",m="",g=!0,y={bracket:0,comma:0,squote:0,dquote:0,compare:0,braces:0},v=[],k=[],b=[],w=-1;for(;d<u.length;){let x=u[d];if(x=="("&&y.squote==0&&y.dquote==0&&y.braces==0)if(f.length>0&&b.length==0){if(f=f.toUpperCase(),f.indexOf(":")>-1){let C=f.split(":");m+="luckysheet_getSpecialReference(true,'"+$.trim(C[0]).replace(/'/g,"\\'")+"', luckysheet_function."+C[1]+".f(#lucky#"}else m+="luckysheet_function."+f+".f(";b.push(1),f=""}else b.length==0?(m+="(",b.push(0),f=""):(b.push(0),f+=x);else if(x==")"&&y.squote==0&&y.dquote==0&&y.braces==0){let C=b.pop();if(b.length==0){let S=s.isFunctionRange(f,n,t,l,a,o);S.indexOf("#lucky#")>-1&&(S=S.replace(/#lucky#/g,"")+")"),m+=S+")",f=""}else f+=x}else if(x=="{"&&y.squote==0&&y.dquote==0)f+="{",y.braces+=1;else if(x=="}"&&y.squote==0&&y.dquote==0)f+="}",y.braces-=1;else if(x=='"'&&y.squote==0)y.dquote>0?d<u.length-1&&u[d+1]=='"'?(d++,f+="\x7F"):(y.dquote-=1,f+='"'):(y.dquote+=1,f+='"');else if(x=="'"&&y.dquote==0)f+="'",y.squote>0?d<u.length-1&&u[d+1]=="'"?(d++,f+="'"):y.squote-=1:(y.squote+=1,w=d);else if(x==","&&y.squote==0&&y.dquote==0&&y.braces==0)if(b.length<=1){let C=s.isFunctionRange(f,n,t,l,a,o);C.indexOf("#lucky#")>-1&&(C=C.replace(/#lucky#/g,"")+")"),m+=C+",",f=""}else f+=",";else if(x in s.operatorjson&&y.squote==0&&y.dquote==0&&y.braces==0){let C="",S=s.operatorPriority;if(d+1<u.length&&(C=u[d+1]),x+C in s.operatorjson){if(b.length==0){if($.trim(f).length>0?k.unshift(s.isFunctionRange($.trim(f),n,t,l,a,o)):$.trim(m).length>0&&k.unshift($.trim(m)),v[0]in s.operatorjson){let _=S[v[0]];for(;v.length>0&&_!=null;)k.unshift(v.shift()),_=S[v[0]]}v.unshift(x+C),m="",f=""}else f+=x+C;d++}else if(b.length==0){if($.trim(f).length>0?k.unshift(s.isFunctionRange($.trim(f),n,t,l,a,o)):$.trim(m).length>0&&k.unshift($.trim(m)),v[0]in s.operatorjson){let _=S[v[0]];_=_==null?1e3:_;let T=S[x];for(T=T==null?1e3:T;v.length>0&&T>=_;)k.unshift(v.shift()),_=S[v[0]],_=_==null?1e3:_}v.unshift(x),m="",f=""}else f+=x}else y.dquote==0&&y.squote==0?f+=$.trim(x):f+=x;if(d==u.length-1){let C="",S=$.trim(f).replace(/'/g,"\\'");if(s.iscelldata(S)&&S.substr(0,1)!=":")C="luckysheet_getcelldata('"+S+"')",s.isFunctionRangeSaveChange(f,n,t,l,a);else if(S.substr(0,1)==":")S=S.substr(1),s.iscelldata(S)&&(C="luckysheet_getSpecialReference(false,"+m+",'"+S+"')");else{f=$.trim(f);let _=/{.*?}/;if(_.test(f)&&f.substr(0,1)!='"'&&f.substr(f.length-1,1)!='"'){let T=_.exec(f)[0],A=f.search(_),R="";A>0&&(C+=f.substr(0,A)),C+="luckysheet_getarraydata('"+T+"')",A+T.length<f.length&&(C+=f.substr(A+T.length,f.length))}else C=f}if(C.length>0&&k.unshift(C),v.length>0)for(m.length>0&&(k.unshift(m),m="");v.length>0;)k.unshift(v.shift());k.length>0?m=s.calPostfixExpression(k):m+=C}d++}return s.checkSpecialFunctionRange(m,n,t,l,a,o),m},isFunctionRangeSaveChange:function(e,n,t,l,a){let o=this;if(n!=null&&t!=null){let s=o.getcellrange($.trim(e),l);if(s==null)return;let u=s.row,d=s.column,f=s.sheetIndex;if(n+"_"+t in a&&(l==f||l==null)){let m=!1;for(let g=u[0];g<=u[1];g++)for(let y=d[0];y<=d[1];y++)g+"_"+y in a&&a[g+"_"+y].r==n&&a[g+"_"+y].c==t&&(m=!0);m?o.isFunctionRangeSave=o.isFunctionRangeSave||!0:o.isFunctionRangeSave=o.isFunctionRangeSave||!1}else n>=u[0]&&n<=u[1]&&t>=d[0]&&t<=d[1]&&(l==f||l==null)?o.isFunctionRangeSave=o.isFunctionRangeSave||!0:o.isFunctionRangeSave=o.isFunctionRangeSave||!1}else o.isFunctionRangeSave=o.isFunctionRangeSave||!1},checkSpecialFunctionRange:function(e,n,t,l,a,o){if(e.substr(0,30)=="luckysheet_getSpecialReference"||e.substr(0,20)=="luckysheet_function."){if(e.substr(0,20)=="luckysheet_function."){let s=e.split(".")[1];if(s!=null&&(s=s.toUpperCase(),s!="INDIRECT"&&s!="OFFSET"&&s!="INDEX"))return}try{h.calculateSheetIndex=l;let s=new Function("return "+e)();s instanceof Object&&s.startCell!=null&&(s=s.startCell);let u=$.trim(s);this.iscelldata(u)&&typeof o=="function"&&o(u)}catch(s){}}},execvertex:{},execFunctionGroupData:null,execFunctionExist:null,formulaContainSheetList:{},formulaContainCellList:{},cellTextToIndexList:{},addToCellList:function(e,n){e==null||e.length==0||n==null||n.length==0||(this.formulaContainCellList==null&&(this.formulaContainCellList={}),this.formulaContainCellList[e]==null&&(this.formulaContainCellList[e]={}),this.formulaContainCellList[e][n]=1)},addToCellIndexList:function(e,n){e==null||e.length==0||n==null||(this.cellTextToIndexList==null&&(this.cellTextToIndexList={}),e.indexOf("!")>-1?(e=e.replace(/\\'/g,"'").replace(/''/g,"'"),this.cellTextToIndexList[e]=n):this.cellTextToIndexList[e+"_"+n.sheetIndex]=n)},addToSheetIndexList:function(e,n,t){e==null||e.length==0||((n==null||n.length==0)&&(n=h.currentSheetIndex),(t==null||t.length==0)&&(t=""),this.formulaContainSheetList==null&&(this.formulaContainSheetList={}),this.formulaContainSheetList[e]==null&&(this.formulaContainSheetList[e]={}),this.formulaContainSheetList[e][n]=t)},execFunctionGlobalData:{},execFunctionGroupForce:function(e){e?this.execFunctionGroup(void 0,void 0,void 0,void 0,void 0,!0):this.execFunctionGroup()},execFunctionGroup:function(e,n,t,l,a,o=!1){let s=this;if(a==null&&(a=h.flowdata),window.luckysheet_compareWith||(window.luckysheet_compareWith=Za,window.luckysheet_getarraydata=xc,window.luckysheet_getcelldata=ir,window.luckysheet_parseData=Ja,window.luckysheet_getValue=Gn,window.luckysheet_indirect_check=_c,window.luckysheet_indirect_check_return=Cc,window.luckysheet_offset_check=Tc,window.luckysheet_calcADPMM=Tt,window.luckysheet_getSpecialReference=Sc),s.execFunctionGlobalData==null&&(s.execFunctionGlobalData={}),l==null&&(l=h.currentSheetIndex),t!=null){let _=[[{v:null}]];Ft(0,0,_,t),s.execFunctionGlobalData[e+"_"+n+"_"+l]=_[0][0]}let u=s.getAllFunctionGroup(),d={},f=Lt(),m={};for(let _=0;_<f.length;_++){let T=f[_];m[T.index]=T.data}let g={},y=[];if(s.execFunctionExist==null){let _="r"+e+"c"+n+"i"+l;g[_]=1}else for(let _=0;_<s.execFunctionExist.length;_++){let T=s.execFunctionExist[_],A="r"+T.r+"c"+T.c+"i"+T.i;g[A]=1}let v={},k=function(_,T,A,R){for(let I=0;I<_.length;I++){let F=_[I],z="r"+F.row[0]+""+F.row[1]+"c"+F.column[0]+""+F.column[1]+"index"+F.sheetIndex;if(z in v)v[z].forEach(N=>{R(N.key,N.r,N.c,N.sheetIndex)});else{let M=[];for(let N=F.row[0];N<=F.row[1];N++)for(let E=F.column[0];E<=F.column[1];E++){let L="r"+N+"c"+E+"i"+F.sheetIndex;R(L,N,E,F.sheetIndex),(T&&L in T||A&&L in A)&&M.push({key:L,r:N,c:E,sheetIndex:F.sheetIndex})}(T||A)&&(v[z]=M)}}},b={},w=0;for(let _=0;_<u.length;_++){let T=u[_],A="r"+T.r+"c"+T.c+"i"+T.index,R=Ol(T.r,T.c,T.index);if(R==null)continue;let I=R.toUpperCase(),F=I.indexOf("INDIRECT(")>-1||I.indexOf("OFFSET(")>-1||I.indexOf("INDEX(")>-1,z=[];if(F)this.isFunctionRange(R,null,null,T.index,null,function(N){let E=s.getcellrange($.trim(N),T.index);E!=null&&z.push(E)});else if(!(R.substr(0,2)=='="'&&R.substr(R.length-1,1)=='"')){let N=0,E=-1,L=-1,O=[],V=[],q=R.length;for(let W=0;W<q;W++){let Y=R.charAt(W);Y=="'"&&L==-1&&(E==-1?(N!=W&&O.push(...R.substring(N,W).split(/==|!=|<>|<=|>=|[,()=+-\/*%&\^><]/)),E=W,N=W):W<q-1&&R.charAt(W+1)=="'"?W++:(N=W+1,O.push(R.substring(E,N)),V.push(O.length-1),E=-1)),Y=='"'&&E==-1&&(L==-1?(N!=W&&O.push(...R.substring(N,W).split(/==|!=|<>|<=|>=|[,()=+-\/*%&\^><]/)),L=W,N=W):W<q-1&&R.charAt(W+1)=='"'?W++:(N=W+1,O.push(R.substring(L,N)),L=-1))}N!=q&&O.push(...R.substring(N,q).split(/==|!=|<>|<=|>=|[,()=+-\/*%&\^><]/));for(let W=V.length-1;W>=0;W--)V[W]!=O.length-1&&(O[V[W]]=O[V[W]]+O[V[W]+1],O.splice(V[W]+1,1));for(let W=0;W<O.length;W++){let Y=O[W];if(Y.length<=1||Y.substr(0,1)=='"'&&Y.substr(Y.length-1,1)=='"'&&!s.iscelldata(Y))continue;let ee=s.getcellrange($.trim(Y),T.index);ee!=null&&z.push(ee)}}let M={formulaArray:z,calc_funcStr:R,key:A,r:T.r,c:T.c,index:T.index,parents:{},chidren:{},color:"w"};d[A]=M}Object.keys(d).forEach(_=>{let T=d[_];k(T.formulaArray,d,g,function(A){if(A in d){let R=d[A];T.chidren[A]=1,R.parents[_]=1}!o&&A in g&&y.push(T)}),o&&y.push(T)});let x=[],C=y,S={};for(;C.length>0;){let _=C.pop();if(_==null||_.key in S)continue;if(_.color=="b"){x.push(_),S[_.key]=1;continue}let T=[];Object.keys(_.parents).forEach(A=>{let R=d[A];R!=null&&T.push(R)}),w++,T.length==0?(x.push(_),S[_.key]=1):(_.color="b",C.push(_),C=C.concat(T))}x.reverse();for(let _=0;_<x.length;_++){let T=x[_];if(T.level==Math.max)continue;window.luckysheet_getcelldata_cache=null;let A=T.calc_funcStr,R=s.execfunction(A,T.r,T.c,T.index);s.groupValuesRefreshData.push({r:T.r,c:T.c,v:R[1],f:R[2],spe:R[3],index:T.index}),s.execFunctionGlobalData[T.r+"_"+T.c+"_"+T.index]={v:R[1],f:R[2]}}s.execFunctionExist=null},execFunctionGroup1:function(e,n,t,l,a,o=!1){let s=this;a==null&&(a=h.flowdata),window.luckysheet_compareWith||(window.luckysheet_compareWith=Za,window.luckysheet_getarraydata=xc,window.luckysheet_getcelldata=ir,window.luckysheet_parseData=Ja,window.luckysheet_getValue=Gn,window.luckysheet_indirect_check=_c,window.luckysheet_indirect_check_return=Cc,window.luckysheet_offset_check=Tc,window.luckysheet_calcADPMM=Tt,window.luckysheet_getSpecialReference=Sc),s.execFunctionGlobalData==null&&(s.execFunctionGlobalData={});let u=Lt(),d=u[K(h.currentSheetIndex)].dynamicArray_compute==null?{}:u[K(h.currentSheetIndex)].dynamicArray_compute;if(l==null&&(l=h.currentSheetIndex),t!=null){let k=[[{v:null}]];Ft(0,0,k,t),s.execFunctionGlobalData[e+"_"+n+"_"+l]=k[0][0]}let f=s.getAllFunctionGroup(),m={},g=[],y=0;if(s.execvertex={},s.execFunctionExist==null)for(let k=0;k<f.length;k++){let b=f[k],w=u[K(b.index)];if(w==null)continue;let x=w.data[b.r][b.c],C=Ol(b.r,b.c,b.index);x!=null&&x.f!=null&&x.f==C&&(b instanceof Object||(b=new Function("return "+b)()),b.color="w",b.parent=null,b.chidren={},b.times=0,m["r"+b.r+"c"+b.c+"i"+b.index]=b,s.isFunctionRangeSave=!1,o?s.isFunctionRangeSave=!0:e!=null&&n!=null&&s.isFunctionRangeSelect(C,e,n,l,d),s.isFunctionRangeSave&&(g.push(b),s.execvertex["r"+b.r+"c"+b.c+"i"+b.index]=b,y++))}else for(let k=0;k<s.execFunctionExist.length;k++){let b=s.execFunctionExist[k];if(!("r"+b.r+"c"+b.c+"i"+b.i in m))for(let w=0;w<f.length;w++){let x=f[w],C=Ol(x.r,x.c,x.index);x.color="w",x.parent=null,x.chidren={},x.times=0,m["r"+x.r+"c"+x.c+"i"+x.index]=x,s.isFunctionRangeSave=!1,o?s.isFunctionRangeSave=!0:s.isFunctionRangeSelect(C,b.r,b.c,b.i,d),s.isFunctionRangeSave&&(g.push(x),s.execvertex["r"+x.r+"c"+x.c+"i"+x.index]=x,y++)}}for(;g.length>0;){let k=g.shift(),b={};s.getChildrenVertex(k,m,b);for(let w in m){let x=m[w];if(x==null)continue;let C="r"+k.r+"c"+k.c+"i"+k.index;if(w in b)continue;s.isFunctionRangeSave=!1;let S=Ol(x.r,x.c,x.index);s.isFunctionRangeSelect(S,k.r,k.c,k.index,d),s.isFunctionRangeSave&&(w in s.execvertex||(g.push(x),s.execvertex[w]=x),y++,s.execvertex[w].chidren[C]=1)}}s.groupValuesRefreshData=[];let v=0;for(;v<y;)for(let k in s.execvertex){let b=s.execvertex[k];b.color=="w"?s.functionDFS(b):b.color=="b"&&v++}s.execFunctionExist=null},getChildrenVertex:function(e,n,t){let l="r"+e.r+"c"+e.c+"i"+e.index;if(t[l]=1,e.chidren!=null)for(let a in e.chidren)n[a]&&!(a in t)&&this.getChildrenVertex(n[a],n,t)},functionDFS:function(e){let n=this;e.color="g",e.times+=1;for(let a in e.chidren){let o=n.execvertex[a];o.color=="w"&&(o.parent="r"+e.r.toString()+"c"+e.c.toString()+"i"+e.index,n.functionDFS(o))}e.color="b",window.luckysheet_getcelldata_cache=null;let t=Ol(e.r,e.c,e.index),l=n.execfunction(t,e.r,e.c,e.index);n.groupValuesRefreshData.push({r:e.r,c:e.c,v:l[1],f:l[2],spe:l[3],index:e.index}),n.execFunctionGlobalData[e.r+"_"+e.c+"_"+e.index]={v:l[1],f:l[2]}},groupValuesRefreshData:[],groupValuesRefresh:function(){let e=this,n=Lt();if(e.groupValuesRefreshData.length>0){for(let t=0;t<e.groupValuesRefreshData.length;t++){let l=e.groupValuesRefreshData[t],a=n[K(l.index)],o=a.data;if(o==null)continue;let s={};l.spe!=null&&(l.spe.type=="sparklines"?s.spl=l.spe.data:l.spe.type=="dynamicArrayItem"&&(a.dynamicArray=e.insertUpdateDynamicArray(l.spe.data))),s.v=l.v,s.f=l.f;let u=Ft(l.r,l.c,o,s);ne.saveParam("v",l.index,u,{r:l.r,c:l.c})}we.webWorkerFlowDataCache(h.flowdata),e.groupValuesRefreshData=[]}},delFunctionGroup:function(e,n,t){t==null&&(t=h.currentSheetIndex);let l=Lt(),a=l[K(t)],o=a.calcChain;if(o!=null)for(let u=0;u<o.length;u++){let d=o[u];if(d.r==e&&d.c==n&&d.index==t){o.splice(u,1),ne.saveParam("fc",t,null,{op:"del",pos:u});break}}let s=a.dynamicArray;if(s!=null)for(let u=0;u<s.length;u++){let d=s[u];if(d.r==e&&d.c==n&&(d.index==null||d.index==t)){s.splice(u,1),ne.saveParam("ac",t,null,{op:"del",pos:u});break}}Jn(l)},execfunction:function(e,n,t,l,a,o){let s=this,d=Q().formulaMore;if(e.indexOf(s.error.r)>-1)return[!1,s.error.r,e];s.checkBracketNum(e)||(e+=")"),l==null&&(l=h.currentSheetIndex),h.calculateSheetIndex=l;let f=$.trim(s.functionParserExe(e));if((f.substr(0,20)=="luckysheet_function."||f.substr(0,22)=="luckysheet_compareWith")&&(s.functionHTMLIndex=0),!s.testFunction(e,f)||f=="")return U.info("",d.execfunctionError),[!1,s.error.n,e];let m=null;window.luckysheetCurrentRow=n,window.luckysheetCurrentColumn=t,window.luckysheetCurrentIndex=l,window.luckysheetCurrentFunction=e;let g=null;try{if(f.indexOf("luckysheet_getcelldata")>-1){let v=f.split("luckysheet_getcelldata('");for(let k=1;k<v.length;k++){let b=v[k].split("')")[0],w=s.getcellrange(b);if(!w||w.row[0]<0||w.column[0]<0)return[!0,s.error.r,e];if(w.sheetIndex==h.calculateSheetIndex&&n>=w.row[0]&&n<=w.row[1]&&t>=w.column[0]&&t<=w.column[1])return de()?alert(d.execfunctionSelfError):U.info("",d.execfunctionSelfErrorResult),[!1,0,e]}}m=new Function("return "+f)(),typeof m=="string"&&(m=m.replace(/\x7F/g,'"')),f.indexOf("SPLINES")>-1&&(g=m,m="")}catch(v){let k=v;console.log(v,f),k=s.errorInfo(k),m=[s.error.n,k]}P(m)=="object"&&m.startCell!=null&&(P(m.data)=="array"?m=s.error.v:P(m.data)=="object"&&!fe(m.data.v)?m=m.data.v:fe(m.data)?m=0:m.cell>1||m.rowl>1||P(m.data)=="string"||P(m.data)=="number"?m=m.data:m=0);let y=null;if(P(m)=="array"){let v=!1;P(m[0])!="array"&&m.length==2&&(v=H(m[0])),v?m=m[0]:P(m[0])=="array"&&m.length==1&&m[0].length==1?m=m[0][0]:(y={r:n,c:t,f:e,index:l,data:m},m="")}return window.luckysheetCurrentRow=null,window.luckysheetCurrentColumn=null,window.luckysheetCurrentIndex=null,window.luckysheetCurrentFunction=null,n!=null&&t!=null&&(a&&s.execFunctionGroup(n,t,m,l),o||s.insertUpdateFunctionGroup(n,t,l)),g?[!0,m,e,{type:"sparklines",data:g}]:y?[!0,m,e,{type:"dynamicArrayItem",data:y}]:[!0,m,e]},testFunction:function(e,n){return e.substr(0,1)=="="},execstringformula:function(e,n,t,l){let a=this;return this.execfunction(e,n,t,l)},functionResizeData:{},functionResizeStatus:!1,functionResizeTimeout:null,data_parm_index:0,cellFocus:function(e,n){var l;let t=h.luckysheetfile[K(h.currentSheetIndex)];if(t.calcChain){let a="";(l=t.calcChain)==null||l.find(({r:o,c:s,func:u})=>{var d;if(o===e&&s===n)return a=(d=h.flowdata[o][s])==null?void 0:d.f,!0}),a.indexOf("=GET_AIRTABLE_DATA")===0?(this.showButton(e,n),this.addButtonListener(a,e,n)):this.hideButton()}},addButtonListener:function(e,n,t){$("#luckysheet-formula-refresh").data("listener")||(console.info("listener"),$("#luckysheet-formula-refresh").data("listener","true"),$("#luckysheet-formula-refresh").on("click",a=>{this.execFunctionGroupForce(!0),Ze(),a.stopPropagation()}))},showButton:function(e,n){let t=this,l=h.visibledatarow[e],a=e==0?0:h.visibledatarow[e-1],o=h.visibledatacolumn[n],s=n==0?0:h.visibledatacolumn[n-1],u=be.mergeborer(h.flowdata,e,n);u&&(l=u.row[1],a=u.row[0],o=u.column[1],s=u.column[0]),$("#luckysheet-formula-refresh").show().css({"max-width":o-s,"max-height":l-a,left:o-20,top:a+(l-a-20)/2})},hideButton:function(){$("#luckysheet-formula-refresh").hide()}},p=j2});function Do(e,n="redo"){if(e==null)return;let t=e.data;n=="undo"&&(t=e.curdata);for(let l=0;l<e.range.length;l++){let a=e.range[l].row[0],o=e.range[l].row[1],s=e.range[l].column[0],u=e.range[l].column[1];for(let d=a;d<o+1;d++)for(let f=s;f<u+1&&!(d>t.length-1);f++)t[d][f]==null||t[d][f].f==null||t[d][f].f==""?p.delFunctionGroup(d,f,e.sheetIndex):t[d][f]!=null&&t[d][f].f!=null&&t[d][f].f.length>0&&p.insertUpdateFunctionGroup(d,f,e.sheetIndex)}}var U2,Tn,Mo=$e(()=>{gl();ll();cn();yr();Gr();jr();vr();Ya();Vi();wn();qt();qa();qr();Xt();Dt();Xe();Jt();El();U2={redo:function(e){if(h.jfredo.length==0)return;let n=h.jfredo.pop();if(h.jfundo.push(n),h.clearjfundo=!1,ve.hasSheet(n.sheetIndex)&&h.currentSheetIndex!=n.sheetIndex&&ve.changeSheetExec(n.sheetIndex),n.type=="datachange"){Do(n);let l={cfg:n.config,RowlChange:n.RowlChange,cdformat:n.cdformat,dataVerification:n.dataVerification,dynamicArray:n.dynamicArray,hyperlink:n.hyperlink};ne.saveParam("mv",h.currentSheetIndex,n.dataRange),Ze(n.data,n.dataRange,l)}else if(n.type=="pasteCut"){let l={sheetIndex:n.source.sheetIndex,data:n.source.curData,curData:n.source.data,config:n.source.curConfig,curConfig:n.source.config,cdformat:n.source.curCdformat,curCdformat:n.source.cdformat,dataVerification:n.source.curDataVerification,curDataVerification:n.source.dataVerification,range:n.source.range},a={sheetIndex:n.target.sheetIndex,data:n.target.curData,curData:n.target.data,config:n.target.curConfig,curConfig:n.target.config,cdformat:n.target.curCdformat,curCdformat:n.target.cdformat,dataVerification:n.target.curDataVerification,curDataVerification:n.target.dataVerification,range:n.target.range};Xa(l,a,n.RowlChange)}else if(n.type=="rangechange")Do(n),La(n.data,n.range,n.cdformat);else if(n.type=="resize"){h.config=n.config,h.luckysheetfile[K(n.sheetIndex)].config=h.config,n.ctrlType=="resizeR"?ne.saveParam("cg",n.sheetIndex,n.config.rowlen,{k:"rowlen"}):n.ctrlType=="resizeC"&&ne.saveParam("cg",n.sheetIndex,n.config.columnlen,{k:"columnlen"});let l=$.extend(!0,{},n.images);h.luckysheetfile[K(n.sheetIndex)].images=l,ne.saveParam("all",n.sheetIndex,l,{k:"images"}),Ie.images=l,Ie.allImagesShow(),St(h.flowdata.length,h.flowdata[0].length)}else if(n.type=="cellRowChange")Rl(n.data[0].length,n.data.length,n.data,n.config,n.range,n.ctrlType,n.ctrlValue,n.cdformat);else if(n.type=="extend")Rl(n.data[0].length,n.data.length,n.data,n.config,n.range,"dele",n.ctrlValue);else if(n.type=="dele"){let l=$.extend(!0,{},n.ctrlValue);l.restore=!0,Rl(n.data[0].length,n.data.length,n.data,n.config,n.range,"extend",l)}else if(n.type=="addRC"){let l=$.extend(!0,{},n.ctrlValue);l.direction=="rightbottom"&&(l.index=l.index+1),qn(n.data,n.config,"delRC",l,n.calc,n.filterObj,n.cf,n.af,n.freezen,n.dataVerification,n.hyperlink)}else if(n.type=="delRC"){let l=$.extend(!0,{},n.ctrlValue);l.restore=!0,l.direction="lefttop",qn(n.data,n.config,"addRC",l,n.calc,n.filterObj,n.cf,n.af,n.freezen,n.dataVerification,n.hyperlink)}else if(n.type=="deleteCell")Mi(n.data,n.config,n.ctrl,n.calc,n.filterObj,n.cf,n.dataVerification,n.hyperlink);else if(n.type=="showHidRows")h.config=n.config,h.luckysheetfile[K(n.sheetIndex)].config=n.config,ne.saveParam("cg",n.sheetIndex,n.config.rowhidden,{k:"rowhidden"}),St(h.flowdata.length,h.flowdata[0].length);else if(n.type=="showHidCols")h.config=n.config,h.luckysheetfile[K(n.sheetIndex)].config=n.config,ne.saveParam("cg",n.sheetIndex,n.config.colhidden,{k:"colhidden"}),St(h.flowdata.length,h.flowdata[0].length);else if(n.type=="datachangeAll")p.execFunctionGroup(),Rl(n.data[0].length,n.data.length,n.data,null,n.range,"datachangeAll",n.ctrlValue);else if(n.type=="datachangeAll_filter_clear")Fl(n.filter_save),$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").each(function(l){let a=$(this),o=n.optiongroups[l];Hn(a,o.optionstate,o.rowhidden,o.caljs,!1,o.st_r,o.ed_r,o.cindex,o.st_c,o.ed_c)}),ne.saveParam("fsr",h.currentSheetIndex,{filter:n.optiongroups,filter_select:n.filter_save}),h.config=n.config,h.luckysheetfile[K(h.currentSheetIndex)].config=h.config,h.config.rowhidden==null&&(h.config.rowhidden={}),ne.saveParam("cg",h.currentSheetIndex,h.config.rowhidden,{k:"rowhidden"}),St(h.flowdata.length,h.flowdata[0].length),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide();else if(n.type=="datachangeAll_filter"){let l=$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").eq(n.optionsindex),a=l.data("str"),o=l.data("edr"),s=l.data("cindex"),u=l.data("stc"),d=l.data("edc");Hn(l,Bn.hasKey(n.rowhidenPre),n.rowhidenPre,n.caljs,!0,a,o,s,u,d),h.config=n.config,h.luckysheetfile[K(h.currentSheetIndex)].config=h.config,h.config.rowhidden==null&&(h.config.rowhidden={}),ne.saveParam("cg",h.currentSheetIndex,h.config.rowhidden,{k:"rowhidden"}),St(h.flowdata.length,h.flowdata[0].length),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide()}else if(n.type=="filtershow")$("#luckysheet-filter-selected-sheet"+n.sheetIndex+", #luckysheet-filter-options-sheet"+n.sheetIndex).remove(),ne.allowUpdate&&ne.saveParam("all",n.sheetIndex,null,{k:"filter_select"});else if(n.type=="pivotTable_change")h.luckysheetfile[K(n.sheetIndex)].pivotTable=n.pivotTable,Oe.getCellData(n.sheetIndex),Oe.initialPivotManage(!0),Oe.refreshPivotTable();else if(n.type=="addSheet")ve.deleteSheet(n.index),ve.changeSheetExec(n.currentSheetIndex),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide();else if(n.type=="copySheet")ve.deleteSheet(n.index),ve.changeSheetExec(n.copyindex);else if(n.type=="deleteSheet"){let l=!1;for(let a=0;a<h.luckysheetfile.length;a++)h.luckysheetfile[a].name==n.name&&(l=!0);l||(ve.createSheetbydata(n,"isrenew"),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide())}else if(n.type=="sheetName")h.luckysheetfile[K(n.sheetIndex)].name=n.oldtxt,$("#luckysheet-sheets-item"+n.sheetIndex).find(".luckysheet-sheets-item-name").html(n.oldtxt),ne.saveParam("all",n.sheetIndex,n.oldtxt,{k:"name"});else if(n.type=="sheetColor"){h.luckysheetfile[K(n.sheetIndex)].color=n.oldcolor;let l=$("#luckysheet-sheets-item"+n.sheetIndex);l.find(".luckysheet-sheets-item-color").remove(),n.oldcolor!=null&&l.append('<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+n.oldcolor+';"></div>'),ne.saveParam("all",n.sheetIndex,n.oldcolor,{k:"color"})}else if(n.type=="mergeChange"){let l={cfg:n.config,calc:n.calc,hyperlink:n.hyperlink};Ze(n.data,n.range,l)}else if(n.type=="updateDataVerification")Ye.ref(n.currentDataVerification,n.historyDataVerification,n.sheetIndex);else if(n.type=="updateDataVerificationOfCheckbox")Ye.refOfCheckbox(n.currentDataVerification,n.historyDataVerification,n.sheetIndex,n.data,n.range);else if(n.type=="updateHyperlink")Cl.ref(n.currentHyperlink,n.historyHyperlink,n.sheetIndex,n.data,n.range);else if(n.type=="updateCF"){let l=n.data.historyRules;for(let a=0;a<l.length;a++){let o=l[a].sheetIndex;h.luckysheetfile[K(o)].luckysheet_conditionformat_save=l[a].luckysheet_conditionformat_save,ne.allowUpdate&&ne.saveParam("all",o,l[a].luckysheet_conditionformat_save,{k:"luckysheet_conditionformat_save"})}Se.ref()}else if(n.type=="updateAF"){let l=n.data.historyRules,a=K(n.sheetIndex);h.luckysheetfile[a].luckysheet_alternateformat_save=$.extend(!0,[],l),setTimeout(function(){Be()},1)}else if(n.type=="borderChange")n.config.borderInfo==null?ne.saveParam("cg",n.sheetIndex,[],{k:"borderInfo"}):ne.saveParam("cg",n.sheetIndex,n.config.borderInfo,{k:"borderInfo"}),h.config=n.config,h.luckysheetfile[K(n.sheetIndex)].config=h.config,setTimeout(function(){Be()},1);else if(n.type=="postil"){He.ref(n.data,n.rc);for(let l=0;l<n.rc.length;l++){let a=n.rc[l].split("_")[0],o=n.rc[l].split("_")[1];n.data[a][o]!=null&&n.data[a][o].ps!=null?He.buildPs(a,o,n.data[a][o].ps):He.buildPs(a,o,null)}}else n.type=="imageCtrl"?(Ie.images=$.extend(!0,{},n.images),Ie.allImagesShow(),Ie.ref()):n.type=="zoomChange"&&(h.zoomRatio=n.zoomRatio,ne.saveParam("all",n.sheetIndex,n.zoomRatio,{k:"zoomRatio"}),or(),ei());nl(e),n.range&&(h.luckysheet_select_save=$.extend(!0,[],n.range),tt()),h.clearjfundo=!0;let t=du(Ue({},n),{data:n.curdata,curdata:n.data});Ke.createHookFunction("updated",t)},undo:function(){if(h.jfundo.length==0)return;let e=h.jfundo.pop();if(h.jfredo.push(e),h.clearjfundo=!1,ve.hasSheet(e.sheetIndex)&&h.currentSheetIndex!=e.sheetIndex&&ve.changeSheetExec(e.sheetIndex),e.type=="datachange"){p.execFunctionGroup();let n={cfg:e.curConfig,RowlChange:e.RowlChange,cdformat:e.curCdformat,dataVerification:e.curDataVerification,dynamicArray:e.curDynamicArray,hyperlink:e.curHyperlink};Do(e,"undo"),ne.saveParam("mv",h.currentSheetIndex,e.range),Ze(e.curdata,e.range,n)}else if(e.type=="pasteCut")Xa(e.source,e.target,e.RowlChange);else if(e.type=="rangechange")Do(e,"undo"),La(e.curdata,e.range,e.curCdformat);else if(e.type=="resize"){h.config=e.curconfig,h.luckysheetfile[K(e.sheetIndex)].config=h.config,e.ctrlType=="resizeR"?ne.saveParam("cg",e.sheetIndex,e.curconfig.rowlen,{k:"rowlen"}):e.ctrlType=="resizeC"&&ne.saveParam("cg",e.sheetIndex,e.curconfig.columnlen,{k:"columnlen"});let n=$.extend(!0,{},e.curImages);h.luckysheetfile[K(e.sheetIndex)].images=n,ne.saveParam("all",e.sheetIndex,n,{k:"images"}),Ie.images=n,Ie.allImagesShow(),St(h.flowdata.length,h.flowdata[0].length)}else if(e.type=="cellRowChange")Rl(e.curdata[0].length,e.curdata.length,e.curdata,e.curconfig,e.currange,e.ctrlType,e.ctrlValue,e.curCdformat);else if(e.type=="extend")Rl(e.curdata[0].length,e.curdata.length,e.curdata,e.curconfig,e.currange,e.ctrlType,e.ctrlValue);else if(e.type=="dele"){let n=$.extend(!0,{},e.ctrlValue);n.restore=!0,Rl(e.curdata[0].length,e.curdata.length,e.curdata,e.curconfig,e.currange,e.ctrlType,e.ctrlValue)}else if(e.type=="addRC")qn(e.curData,e.curConfig,"addRC",e.ctrlValue,e.curCalc,e.curFilterObj,e.curCf,e.curAf,e.curFreezen,e.curDataVerification,e.curHyperlink);else if(e.type=="delRC")qn(e.curData,e.curConfig,"delRC",e.ctrlValue,e.curCalc,e.curFilterObj,e.curCf,e.curAf,e.curFreezen,e.curDataVerification,e.curHyperlink);else if(e.type=="deleteCell")Mi(e.curData,e.curConfig,e.ctrl,e.curCalc,e.curFilterObj,e.curCf,e.curDataVerification,e.curHyperlink);else if(e.type=="showHidRows")h.config=e.curconfig,h.luckysheetfile[K(e.sheetIndex)].config=e.curconfig,ne.saveParam("cg",e.sheetIndex,e.curconfig.rowhidden,{k:"rowhidden"}),St(h.flowdata.length,h.flowdata[0].length);else if(e.type=="showHidCols")h.config=e.curconfig,h.luckysheetfile[K(e.sheetIndex)].config=e.curconfig,ne.saveParam("cg",e.sheetIndex,e.curconfig.colhidden,{k:"colhidden"}),St(h.flowdata.length,h.flowdata[0].length);else if(e.type=="datachangeAll")p.execFunctionGroup(),Rl(e.curdata[0].length,e.curdata.length,e.curdata,null,e.currange,"datachangeAll",e.ctrlValue);else if(e.type=="datachangeAll_filter_clear")ne.saveParam("fsc",h.currentSheetIndex,null),h.config=e.curconfig,h.luckysheetfile[K(h.currentSheetIndex)].config=h.config,ne.saveParam("cg",h.currentSheetIndex,{},{k:"rowhidden"}),St(h.flowdata.length,h.flowdata[0].length),$("#luckysheet-filter-menu .luckysheet-filter-selected-input").hide().find("input").val(),$("#luckysheet-filter-selected span").data("type","0").data("type",null).text("\u65E0"),$("#luckysheet-filter-selected-sheet"+h.currentSheetIndex+", #luckysheet-filter-options-sheet"+h.currentSheetIndex).remove(),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide();else if(e.type=="datachangeAll_filter"){let n=$("#luckysheet-filter-options-sheet"+h.currentSheetIndex+" .luckysheet-filter-options").eq(e.optionsindex),t=n.data("str"),l=n.data("edr"),a=n.data("cindex"),o=n.data("stc"),s=n.data("edc");Hn(n,Bn.hasKey(e.rowhidden),e.rowhidden,e.caljs,!0,t,l,a,o,s),h.config=e.curconfig,h.luckysheetfile[K(h.currentSheetIndex)].config=h.config,ne.saveParam("cg",h.currentSheetIndex,h.config.rowhidden,{k:"rowhidden"}),St(h.flowdata.length,h.flowdata[0].length),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide()}else if(e.type=="filtershow")h.luckysheet_select_save=[e.filter_save],h.filterchage=!1,Di(),h.filterchage=!0,ne.saveParam("all",e.sheetIndex,e.filter_save,{k:"filter_select"});else if(e.type=="pivotTable_change")h.luckysheetfile[K(e.sheetIndex)].pivotTable=e.pivotTablecur,Oe.getCellData(e.sheetIndex),Oe.initialPivotManage(!0),Oe.refreshPivotTable();else if(e.type=="addSheet")ve.createSheetbydata(e.sheetconfig),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide();else if(e.type=="copySheet")ve.copySheet(e.copyindex);else if(e.type=="deleteSheet")ve.deleteSheet(e.index),e.order==0?ve.changeSheetExec(h.luckysheetfile[0].index):ve.changeSheetExec(h.luckysheetfile[e.order-1].index),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide();else if(e.type=="sheetName")h.luckysheetfile[K(e.sheetIndex)].name=e.txt,$("#luckysheet-sheets-item"+e.sheetIndex).find(".luckysheet-sheets-item-name").html(e.txt),ne.saveParam("all",e.sheetIndex,e.txt,{k:"name"});else if(e.type=="sheetColor"){h.luckysheetfile[K(e.sheetIndex)].color=e.color;let n=$("#luckysheet-sheets-item"+e.sheetIndex);n.find(".luckysheet-sheets-item-color").remove(),e.color!=null&&n.append('<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+e.color+';"></div>'),ne.saveParam("all",e.sheetIndex,e.color,{k:"color"})}else if(e.type=="mergeChange"){let n={cfg:e.curConfig,calc:e.curCalc,hyperlink:e.curHyperlink};Ze(e.curData,e.range,n)}else if(e.type=="updateDataVerification")Ye.ref(e.historyDataVerification,e.currentDataVerification,e.sheetIndex);else if(e.type=="updateDataVerificationOfCheckbox")Ye.refOfCheckbox(e.historyDataVerification,e.currentDataVerification,e.sheetIndex,e.curData,e.range);else if(e.type=="updateHyperlink")Cl.ref(e.historyHyperlink,e.currentHyperlink,e.sheetIndex,e.curData,e.range);else if(e.type=="updateCF"){let n=e.data.currentRules;for(let t=0;t<n.length;t++){let l=n[t].sheetIndex;h.luckysheetfile[K(l)].luckysheet_conditionformat_save=n[t].luckysheet_conditionformat_save,ne.allowUpdate&&ne.saveParam("all",l,n[t].luckysheet_conditionformat_save,{k:"luckysheet_conditionformat_save"})}Se.ref()}else if(e.type=="updateAF"){let n=e.data.currentRules,t=K(e.sheetIndex);h.luckysheetfile[t].luckysheet_alternateformat_save=$.extend(!0,[],n),setTimeout(function(){Be()},1)}else if(e.type=="borderChange")ne.saveParam("cg",e.sheetIndex,e.curconfig.borderInfo,{k:"borderInfo"}),h.config=e.curconfig,h.luckysheetfile[K(e.sheetIndex)].config=h.config,setTimeout(function(){Be()},1);else if(e.type=="postil"){He.ref(e.curdata,e.rc);for(let n=0;n<e.rc.length;n++){let t=e.rc[n].split("_")[0],l=e.rc[n].split("_")[1];e.curdata[t][l]!=null&&e.curdata[t][l].ps!=null?He.buildPs(t,l,e.curdata[t][l].ps):He.buildPs(t,l,null)}}else e.type=="imageCtrl"?(Ie.images=$.extend(!0,{},e.curImages),Ie.allImagesShow(),Ie.ref()):e.type=="zoomChange"&&(h.zoomRatio=e.curZoomRatio,ne.saveParam("all",e.sheetIndex,e.curZoomRatio,{k:"zoomRatio"}),or(),ei());e.range&&(h.luckysheet_select_save=$.extend(!0,[],e.range),tt()),h.clearjfundo=!0}},Tn=U2});var Fo,Yn,Ac=$e(()=>{Fo=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],Yn={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:typeof window=="object"&&window.navigator.userAgent.indexOf("MSIE")===-1,ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(e){return typeof console!="undefined"&&console.warn(e)},getWeek:function(e){var n=new Date(e.getTime());n.setHours(0,0,0,0),n.setDate(n.getDate()+3-(n.getDay()+6)%7);var t=new Date(n.getFullYear(),0,4);return 1+Math.round(((n.getTime()-t.getTime())/864e5-3+(t.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1}});var Eo,No,Dc=$e(()=>{Eo={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(e){var n=e%100;if(n>3&&n<21)return"th";switch(n%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},No=Eo});function Mc(e,n){var t;return function(){var l=this,a=arguments;clearTimeout(t),t=setTimeout(function(){return e.apply(l,a)},n)}}var ql,cr,Po,Fc=$e(()=>{ql=function(e,n){return n===void 0&&(n=2),("000"+e).slice(n*-1)},cr=function(e){return e===!0?1:0};Po=function(e){return e instanceof Array?e:[e]}});function jl(e,n,t){if(t===!0)return e.classList.add(n);e.classList.remove(n)}function Kt(e,n,t){var l=window.document.createElement(e);return n=n||"",t=t||"",l.className=n,t!==void 0&&(l.textContent=t),l}function qi(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function Ec(e,n){if(n(e))return e;if(e.parentNode)return Ec(e.parentNode,n)}function ji(e,n){var t=Kt("div","numInputWrapper"),l=Kt("input","numInput "+e),a=Kt("span","arrowUp"),o=Kt("span","arrowDown");if(navigator.userAgent.indexOf("MSIE 9.0")===-1?l.type="number":(l.type="text",l.pattern="\\d*"),n!==void 0)for(var s in n)l.setAttribute(s,n[s]);return t.appendChild(l),t.appendChild(a),t.appendChild(o),t}function ur(e){try{if(typeof e.composedPath=="function"){var n=e.composedPath();return n[0]}return e.target}catch(t){return e.target}}var Wf=$e(()=>{});var Nc,Ui,Yf,Sn,ti,Pc=$e(()=>{Fc();Nc=function(){},Ui=function(e,n,t){return t.months[n?"shorthand":"longhand"][e]},Yf={D:Nc,F:function(e,n,t){e.setMonth(t.months.longhand.indexOf(n))},G:function(e,n){e.setHours((e.getHours()>=12?12:0)+parseFloat(n))},H:function(e,n){e.setHours(parseFloat(n))},J:function(e,n){e.setDate(parseFloat(n))},K:function(e,n,t){e.setHours(e.getHours()%12+12*cr(new RegExp(t.amPM[1],"i").test(n)))},M:function(e,n,t){e.setMonth(t.months.shorthand.indexOf(n))},S:function(e,n){e.setSeconds(parseFloat(n))},U:function(e,n){return new Date(parseFloat(n)*1e3)},W:function(e,n,t){var l=parseInt(n),a=new Date(e.getFullYear(),0,2+(l-1)*7,0,0,0,0);return a.setDate(a.getDate()-a.getDay()+t.firstDayOfWeek),a},Y:function(e,n){e.setFullYear(parseFloat(n))},Z:function(e,n){return new Date(n)},d:function(e,n){e.setDate(parseFloat(n))},h:function(e,n){e.setHours((e.getHours()>=12?12:0)+parseFloat(n))},i:function(e,n){e.setMinutes(parseFloat(n))},j:function(e,n){e.setDate(parseFloat(n))},l:Nc,m:function(e,n){e.setMonth(parseFloat(n)-1)},n:function(e,n){e.setMonth(parseFloat(n)-1)},s:function(e,n){e.setSeconds(parseFloat(n))},u:function(e,n){return new Date(parseFloat(n))},w:Nc,y:function(e,n){e.setFullYear(2e3+parseFloat(n))}},Sn={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},ti={Z:function(e){return e.toISOString()},D:function(e,n,t){return n.weekdays.shorthand[ti.w(e,n,t)]},F:function(e,n,t){return Ui(ti.n(e,n,t)-1,!1,n)},G:function(e,n,t){return ql(ti.h(e,n,t))},H:function(e){return ql(e.getHours())},J:function(e,n){return n.ordinal!==void 0?e.getDate()+n.ordinal(e.getDate()):e.getDate()},K:function(e,n){return n.amPM[cr(e.getHours()>11)]},M:function(e,n){return Ui(e.getMonth(),!0,n)},S:function(e){return ql(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,n,t){return t.getWeek(e)},Y:function(e){return ql(e.getFullYear(),4)},d:function(e){return ql(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return ql(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,n){return n.weekdays.longhand[e.getDay()]},m:function(e){return ql(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},u:function(e){return e.getTime()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}}});function hr(e,n,t){return t===void 0&&(t=!0),t!==!1?new Date(e.getTime()).setHours(0,0,0,0)-new Date(n.getTime()).setHours(0,0,0,0):e.getTime()-n.getTime()}function Oo(e){var n=e.defaultHour,t=e.defaultMinute,l=e.defaultSeconds;if(e.minDate!==void 0){var a=e.minDate.getHours(),o=e.minDate.getMinutes(),s=e.minDate.getSeconds();n<a&&(n=a),n===a&&t<o&&(t=o),n===a&&t===o&&l<s&&(l=e.minDate.getSeconds())}if(e.maxDate!==void 0){var u=e.maxDate.getHours(),d=e.maxDate.getMinutes();n=Math.min(n,u),n===u&&(t=Math.min(d,t)),n===u&&t===d&&(l=e.maxDate.getSeconds())}return{hours:n,minutes:t,seconds:l}}var Lc,Lo,Xf,zo,Kf,Zf,Jf=$e(()=>{Pc();Ac();Dc();Lc=function(e){var n=e.config,t=n===void 0?Yn:n,l=e.l10n,a=l===void 0?Eo:l,o=e.isMobile,s=o===void 0?!1:o;return function(u,d,f){var m=f||a;return t.formatDate!==void 0&&!s?t.formatDate(u,d,m):d.split("").map(function(g,y,v){return ti[g]&&v[y-1]!=="\\"?ti[g](u,m,t):g!=="\\"?g:""}).join("")}},Lo=function(e){var n=e.config,t=n===void 0?Yn:n,l=e.l10n,a=l===void 0?Eo:l;return function(o,s,u,d){if(!(o!==0&&!o)){var f=d||a,m,g=o;if(o instanceof Date)m=new Date(o.getTime());else if(typeof o!="string"&&o.toFixed!==void 0)m=new Date(o);else if(typeof o=="string"){var y=s||(t||Yn).dateFormat,v=String(o).trim();if(v==="today")m=new Date,u=!0;else if(t&&t.parseDate)m=t.parseDate(o,y);else if(/Z$/.test(v)||/GMT$/.test(v))m=new Date(o);else{for(var k=void 0,b=[],w=0,x=0,C="";w<y.length;w++){var S=y[w],_=S==="\\",T=y[w-1]==="\\"||_;if(Sn[S]&&!T){C+=Sn[S];var A=new RegExp(C).exec(o);A&&(k=!0)&&b[S!=="Y"?"push":"unshift"]({fn:Yf[S],val:A[++x]})}else _||(C+=".")}m=!t||!t.noCalendar?new Date(new Date().getFullYear(),0,1,0,0,0,0):new Date(new Date().setHours(0,0,0,0)),b.forEach(function(R){var I=R.fn,F=R.val;return m=I(m,F,f)||m}),m=k?m:void 0}}if(!(m instanceof Date&&!isNaN(m.getTime()))){t.errorHandler(new Error("Invalid date provided: "+g));return}return u===!0&&m.setHours(0,0,0,0),m}}};Xf=function(e,n,t){return e>Math.min(n,t)&&e<Math.max(n,t)},zo=function(e,n,t){return e*3600+n*60+t},Kf=function(e){var n=Math.floor(e/3600),t=(e-n*3600)/60;return[n,t,e-n*3600-t*60]},Zf={DAY:864e5}});var Qf=$e(()=>{"use strict";typeof Object.assign!="function"&&(Object.assign=function(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];if(!e)throw TypeError("Cannot convert undefined or null to object");for(var l=function(u){u&&Object.keys(u).forEach(function(d){return e[d]=u[d]})},a=0,o=n;a<o.length;a++){var s=o[a];l(s)}return e})});function W2(e,n){var t={config:Ul(Ul({},Yn),Tl.defaultConfig),l10n:No};t.parseDate=Lo({config:t.config,l10n:t.l10n}),t._handlers=[],t.pluginElements=[],t.loadedPlugins=[],t._bind=b,t._setHoursFromDate=y,t._positionCalendar=Ne,t.changeMonth=te,t.changeYear=Z,t.clear=oe,t.close=ce,t.onMouseOver=Ae,t._createElement=Kt,t.createDay=A,t.destroy=se,t.isEnabled=G,t.jumpToDate=C,t.updateValue=Gl,t.open=Ee,t.redraw=Rt,t.set=Te,t.setDate=Fe,t.toggle=Et;function l(){t.utils={getDaysInMonth:function(J,re){return J===void 0&&(J=t.currentMonth),re===void 0&&(re=t.currentYear),J===1&&(re%4==0&&re%100!=0||re%400==0)?29:t.l10n.daysInMonth[J]}}}function a(){t.element=t.input=e,t.isOpen=!1,Ce(),Ge(),dt(),ke(),l(),t.isMobile||T(),x(),(t.selectedDates.length||t.config.noCalendar)&&(t.config.enableTime&&y(t.config.noCalendar?t.latestSelectedDateObj:void 0),Gl(!1)),u();var J=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!t.isMobile&&J&&Ne(),pt("onReady")}function o(){var J;return((J=t.calendarContainer)===null||J===void 0?void 0:J.getRootNode()).activeElement||document.activeElement}function s(J){return J.bind(t)}function u(){var J=t.config;J.weekNumbers===!1&&J.showMonths===1||J.noCalendar!==!0&&window.requestAnimationFrame(function(){if(t.calendarContainer!==void 0&&(t.calendarContainer.style.visibility="hidden",t.calendarContainer.style.display="block"),t.daysContainer!==void 0){var re=(t.days.offsetWidth+1)*J.showMonths;t.daysContainer.style.width=re+"px",t.calendarContainer.style.width=re+(t.weekWrapper!==void 0?t.weekWrapper.offsetWidth:0)+"px",t.calendarContainer.style.removeProperty("visibility"),t.calendarContainer.style.removeProperty("display")}})}function d(J){if(t.selectedDates.length===0){var re=t.config.minDate===void 0||hr(new Date,t.config.minDate)>=0?new Date:new Date(t.config.minDate.getTime()),ge=Oo(t.config);re.setHours(ge.hours,ge.minutes,ge.seconds,re.getMilliseconds()),t.selectedDates=[re],t.latestSelectedDateObj=re}J!==void 0&&J.type!=="blur"&&Kn(J);var xe=t._input.value;g(),Gl(),t._input.value!==xe&&t._debouncedChange()}function f(J,re){return J%12+12*cr(re===t.l10n.amPM[1])}function m(J){switch(J%24){case 0:case 12:return 12;default:return J%12}}function g(){if(!(t.hourElement===void 0||t.minuteElement===void 0)){var J=(parseInt(t.hourElement.value.slice(-2),10)||0)%24,re=(parseInt(t.minuteElement.value,10)||0)%60,ge=t.secondElement!==void 0?(parseInt(t.secondElement.value,10)||0)%60:0;t.amPM!==void 0&&(J=f(J,t.amPM.textContent));var xe=t.config.minTime!==void 0||t.config.minDate&&t.minDateHasTime&&t.latestSelectedDateObj&&hr(t.latestSelectedDateObj,t.config.minDate,!0)===0,Ve=t.config.maxTime!==void 0||t.config.maxDate&&t.maxDateHasTime&&t.latestSelectedDateObj&&hr(t.latestSelectedDateObj,t.config.maxDate,!0)===0;if(t.config.maxTime!==void 0&&t.config.minTime!==void 0&&t.config.minTime>t.config.maxTime){var Qe=zo(t.config.minTime.getHours(),t.config.minTime.getMinutes(),t.config.minTime.getSeconds()),At=zo(t.config.maxTime.getHours(),t.config.maxTime.getMinutes(),t.config.maxTime.getSeconds()),ut=zo(J,re,ge);if(ut>At&&ut<Qe){var Ht=Kf(Qe);J=Ht[0],re=Ht[1],ge=Ht[2]}}else{if(Ve){var ct=t.config.maxTime!==void 0?t.config.maxTime:t.config.maxDate;J=Math.min(J,ct.getHours()),J===ct.getHours()&&(re=Math.min(re,ct.getMinutes())),re===ct.getMinutes()&&(ge=Math.min(ge,ct.getSeconds()))}if(xe){var gt=t.config.minTime!==void 0?t.config.minTime:t.config.minDate;J=Math.max(J,gt.getHours()),J===gt.getHours()&&re<gt.getMinutes()&&(re=gt.getMinutes()),re===gt.getMinutes()&&(ge=Math.max(ge,gt.getSeconds()))}}v(J,re,ge)}}function y(J){var re=J||t.latestSelectedDateObj;re&&re instanceof Date&&v(re.getHours(),re.getMinutes(),re.getSeconds())}function v(J,re,ge){t.latestSelectedDateObj!==void 0&&t.latestSelectedDateObj.setHours(J%24,re,ge||0,0),!(!t.hourElement||!t.minuteElement||t.isMobile)&&(t.hourElement.value=ql(t.config.time_24hr?J:(12+J)%12+12*cr(J%12==0)),t.minuteElement.value=ql(re),t.amPM!==void 0&&(t.amPM.textContent=t.l10n.amPM[cr(J>=12)]),t.secondElement!==void 0&&(t.secondElement.value=ql(ge)))}function k(J){var re=ur(J),ge=parseInt(re.value)+(J.delta||0);(ge/1e3>1||J.key==="Enter"&&!/[^\d]/.test(ge.toString()))&&Z(ge)}function b(J,re,ge,xe){if(re instanceof Array)return re.forEach(function(Ve){return b(J,Ve,ge,xe)});if(J instanceof Array)return J.forEach(function(Ve){return b(Ve,re,ge,xe)});J.addEventListener(re,ge,xe),t._handlers.push({remove:function(){return J.removeEventListener(re,ge,xe)}})}function w(){pt("onChange")}function x(){if(t.config.wrap&&["open","close","toggle","clear"].forEach(function(ge){Array.prototype.forEach.call(t.element.querySelectorAll("[data-"+ge+"]"),function(xe){return b(xe,"click",t[ge])})}),t.isMobile){Pe();return}var J=Mc(ae,50);if(t._debouncedChange=Mc(w,G2),t.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&b(t.daysContainer,"mouseover",function(ge){t.config.mode==="range"&&Ae(ur(ge))}),b(t._input,"keydown",ie),t.calendarContainer!==void 0&&b(t.calendarContainer,"keydown",ie),!t.config.inline&&!t.config.static&&b(window,"resize",J),window.ontouchstart!==void 0?b(window.document,"touchstart",he):b(window.document,"mousedown",he),b(window.document,"focus",he,{capture:!0}),t.config.clickOpens===!0&&(b(t._input,"focus",t.open),b(t._input,"click",t.open)),t.daysContainer!==void 0&&(b(t.monthNav,"click",Wl),b(t.monthNav,["keyup","increment"],k),b(t.daysContainer,"click",kt)),t.timeContainer!==void 0&&t.minuteElement!==void 0&&t.hourElement!==void 0){var re=function(ge){return ur(ge).select()};b(t.timeContainer,["increment"],d),b(t.timeContainer,"blur",d,{capture:!0}),b(t.timeContainer,"click",S),b([t.hourElement,t.minuteElement],["focus","click"],re),t.secondElement!==void 0&&b(t.secondElement,"focus",function(){return t.secondElement&&t.secondElement.select()}),t.amPM!==void 0&&b(t.amPM,"click",function(ge){d(ge)})}t.config.allowInput&&b(t._input,"blur",pe)}function C(J,re){var ge=J!==void 0?t.parseDate(J):t.latestSelectedDateObj||(t.config.minDate&&t.config.minDate>t.now?t.config.minDate:t.config.maxDate&&t.config.maxDate<t.now?t.config.maxDate:t.now),xe=t.currentYear,Ve=t.currentMonth;try{ge!==void 0&&(t.currentYear=ge.getFullYear(),t.currentMonth=ge.getMonth())}catch(Qe){Qe.message="Invalid date supplied: "+ge,t.config.errorHandler(Qe)}re&&t.currentYear!==xe&&(pt("onYearChange"),E()),re&&(t.currentYear!==xe||t.currentMonth!==Ve)&&pt("onMonthChange"),t.redraw()}function S(J){var re=ur(J);~re.className.indexOf("arrow")&&_(J,re.classList.contains("arrowUp")?1:-1)}function _(J,re,ge){var xe=J&&ur(J),Ve=ge||xe&&xe.parentNode&&xe.parentNode.firstChild,Qe=sl("increment");Qe.delta=re,Ve&&Ve.dispatchEvent(Qe)}function T(){var J=window.document.createDocumentFragment();if(t.calendarContainer=Kt("div","flatpickr-calendar"),t.calendarContainer.tabIndex=-1,!t.config.noCalendar){if(J.appendChild(V()),t.innerContainer=Kt("div","flatpickr-innerContainer"),t.config.weekNumbers){var re=ee(),ge=re.weekWrapper,xe=re.weekNumbers;t.innerContainer.appendChild(ge),t.weekNumbers=xe,t.weekWrapper=ge}t.rContainer=Kt("div","flatpickr-rContainer"),t.rContainer.appendChild(W()),t.daysContainer||(t.daysContainer=Kt("div","flatpickr-days"),t.daysContainer.tabIndex=-1),N(),t.rContainer.appendChild(t.daysContainer),t.innerContainer.appendChild(t.rContainer),J.appendChild(t.innerContainer)}t.config.enableTime&&J.appendChild(q()),jl(t.calendarContainer,"rangeMode",t.config.mode==="range"),jl(t.calendarContainer,"animate",t.config.animate===!0),jl(t.calendarContainer,"multiMonth",t.config.showMonths>1),t.calendarContainer.appendChild(J);var Ve=t.config.appendTo!==void 0&&t.config.appendTo.nodeType!==void 0;if((t.config.inline||t.config.static)&&(t.calendarContainer.classList.add(t.config.inline?"inline":"static"),t.config.inline&&(!Ve&&t.element.parentNode?t.element.parentNode.insertBefore(t.calendarContainer,t._input.nextSibling):t.config.appendTo!==void 0&&t.config.appendTo.appendChild(t.calendarContainer)),t.config.static)){var Qe=Kt("div","flatpickr-wrapper");t.element.parentNode&&t.element.parentNode.insertBefore(Qe,t.element),Qe.appendChild(t.element),t.altInput&&Qe.appendChild(t.altInput),Qe.appendChild(t.calendarContainer)}!t.config.static&&!t.config.inline&&(t.config.appendTo!==void 0?t.config.appendTo:window.document.body).appendChild(t.calendarContainer)}function A(J,re,ge,xe){var Ve=G(re,!0),Qe=Kt("span",J,re.getDate().toString());return Qe.dateObj=re,Qe.$i=xe,Qe.setAttribute("aria-label",t.formatDate(re,t.config.ariaDateFormat)),J.indexOf("hidden")===-1&&hr(re,t.now)===0&&(t.todayDateElem=Qe,Qe.classList.add("today"),Qe.setAttribute("aria-current","date")),Ve?(Qe.tabIndex=-1,cl(re)&&(Qe.classList.add("selected"),t.selectedDateElem=Qe,t.config.mode==="range"&&(jl(Qe,"startRange",t.selectedDates[0]&&hr(re,t.selectedDates[0],!0)===0),jl(Qe,"endRange",t.selectedDates[1]&&hr(re,t.selectedDates[1],!0)===0),J==="nextMonthDay"&&Qe.classList.add("inRange")))):Qe.classList.add("flatpickr-disabled"),t.config.mode==="range"&&jt(re)&&!cl(re)&&Qe.classList.add("inRange"),t.weekNumbers&&t.config.showMonths===1&&J!=="prevMonthDay"&&xe%7==6&&t.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+t.config.getWeek(re)+"</span>"),pt("onDayCreate",Qe),Qe}function R(J){J.focus(),t.config.mode==="range"&&Ae(J)}function I(J){for(var re=J>0?0:t.config.showMonths-1,ge=J>0?t.config.showMonths:-1,xe=re;xe!=ge;xe+=J)for(var Ve=t.daysContainer.children[xe],Qe=J>0?0:Ve.children.length-1,At=J>0?Ve.children.length:-1,ut=Qe;ut!=At;ut+=J){var Ht=Ve.children[ut];if(Ht.className.indexOf("hidden")===-1&&G(Ht.dateObj))return Ht}}function F(J,re){for(var ge=J.className.indexOf("Month")===-1?J.dateObj.getMonth():t.currentMonth,xe=re>0?t.config.showMonths:-1,Ve=re>0?1:-1,Qe=ge-t.currentMonth;Qe!=xe;Qe+=Ve)for(var At=t.daysContainer.children[Qe],ut=ge-t.currentMonth===Qe?J.$i+re:re<0?At.children.length-1:0,Ht=At.children.length,ct=ut;ct>=0&&ct<Ht&&ct!=(re>0?Ht:-1);ct+=Ve){var gt=At.children[ct];if(gt.className.indexOf("hidden")===-1&&G(gt.dateObj)&&Math.abs(J.$i-ct)>=Math.abs(re))return R(gt)}t.changeMonth(Ve),z(I(Ve),0)}function z(J,re){var ge=o(),xe=le(ge||document.body),Ve=J!==void 0?J:xe?ge:t.selectedDateElem!==void 0&&le(t.selectedDateElem)?t.selectedDateElem:t.todayDateElem!==void 0&&le(t.todayDateElem)?t.todayDateElem:I(re>0?1:-1);Ve===void 0?t._input.focus():xe?F(Ve,re):R(Ve)}function M(J,re){for(var ge=(new Date(J,re,1).getDay()-t.l10n.firstDayOfWeek+7)%7,xe=t.utils.getDaysInMonth((re-1+12)%12,J),Ve=t.utils.getDaysInMonth(re,J),Qe=window.document.createDocumentFragment(),At=t.config.showMonths>1,ut=At?"prevMonthDay hidden":"prevMonthDay",Ht=At?"nextMonthDay hidden":"nextMonthDay",ct=xe+1-ge,gt=0;ct<=xe;ct++,gt++)Qe.appendChild(A("flatpickr-day "+ut,new Date(J,re-1,ct),ct,gt));for(ct=1;ct<=Ve;ct++,gt++)Qe.appendChild(A("flatpickr-day",new Date(J,re,ct),ct,gt));for(var il=Ve+1;il<=42-ge&&(t.config.showMonths===1||gt%7!=0);il++,gt++)Qe.appendChild(A("flatpickr-day "+Ht,new Date(J,re+1,il%Ve),il,gt));var Qr=Kt("div","dayContainer");return Qr.appendChild(Qe),Qr}function N(){if(t.daysContainer!==void 0){qi(t.daysContainer),t.weekNumbers&&qi(t.weekNumbers);for(var J=document.createDocumentFragment(),re=0;re<t.config.showMonths;re++){var ge=new Date(t.currentYear,t.currentMonth,1);ge.setMonth(t.currentMonth+re),J.appendChild(M(ge.getFullYear(),ge.getMonth()))}t.daysContainer.appendChild(J),t.days=t.daysContainer.firstChild,t.config.mode==="range"&&t.selectedDates.length===1&&Ae()}}function E(){if(!(t.config.showMonths>1||t.config.monthSelectorType!=="dropdown")){var J=function(xe){return t.config.minDate!==void 0&&t.currentYear===t.config.minDate.getFullYear()&&xe<t.config.minDate.getMonth()?!1:!(t.config.maxDate!==void 0&&t.currentYear===t.config.maxDate.getFullYear()&&xe>t.config.maxDate.getMonth())};t.monthsDropdownContainer.tabIndex=-1,t.monthsDropdownContainer.innerHTML="";for(var re=0;re<12;re++)if(!!J(re)){var ge=Kt("option","flatpickr-monthDropdown-month");ge.value=new Date(t.currentYear,re).getMonth().toString(),ge.textContent=Ui(re,t.config.shorthandCurrentMonth,t.l10n),ge.tabIndex=-1,t.currentMonth===re&&(ge.selected=!0),t.monthsDropdownContainer.appendChild(ge)}}}function L(){var J=Kt("div","flatpickr-month"),re=window.document.createDocumentFragment(),ge;t.config.showMonths>1||t.config.monthSelectorType==="static"?ge=Kt("span","cur-month"):(t.monthsDropdownContainer=Kt("select","flatpickr-monthDropdown-months"),t.monthsDropdownContainer.setAttribute("aria-label",t.l10n.monthAriaLabel),b(t.monthsDropdownContainer,"change",function(At){var ut=ur(At),Ht=parseInt(ut.value,10);t.changeMonth(Ht-t.currentMonth),pt("onMonthChange")}),E(),ge=t.monthsDropdownContainer);var xe=ji("cur-year",{tabindex:"-1"}),Ve=xe.getElementsByTagName("input")[0];Ve.setAttribute("aria-label",t.l10n.yearAriaLabel),t.config.minDate&&Ve.setAttribute("min",t.config.minDate.getFullYear().toString()),t.config.maxDate&&(Ve.setAttribute("max",t.config.maxDate.getFullYear().toString()),Ve.disabled=!!t.config.minDate&&t.config.minDate.getFullYear()===t.config.maxDate.getFullYear());var Qe=Kt("div","flatpickr-current-month");return Qe.appendChild(ge),Qe.appendChild(xe),re.appendChild(Qe),J.appendChild(re),{container:J,yearElement:Ve,monthElement:ge}}function O(){qi(t.monthNav),t.monthNav.appendChild(t.prevMonthNav),t.config.showMonths&&(t.yearElements=[],t.monthElements=[]);for(var J=t.config.showMonths;J--;){var re=L();t.yearElements.push(re.yearElement),t.monthElements.push(re.monthElement),t.monthNav.appendChild(re.container)}t.monthNav.appendChild(t.nextMonthNav)}function V(){return t.monthNav=Kt("div","flatpickr-months"),t.yearElements=[],t.monthElements=[],t.prevMonthNav=Kt("span","flatpickr-prev-month"),t.prevMonthNav.innerHTML=t.config.prevArrow,t.nextMonthNav=Kt("span","flatpickr-next-month"),t.nextMonthNav.innerHTML=t.config.nextArrow,O(),Object.defineProperty(t,"_hidePrevMonthArrow",{get:function(){return t.__hidePrevMonthArrow},set:function(J){t.__hidePrevMonthArrow!==J&&(jl(t.prevMonthNav,"flatpickr-disabled",J),t.__hidePrevMonthArrow=J)}}),Object.defineProperty(t,"_hideNextMonthArrow",{get:function(){return t.__hideNextMonthArrow},set:function(J){t.__hideNextMonthArrow!==J&&(jl(t.nextMonthNav,"flatpickr-disabled",J),t.__hideNextMonthArrow=J)}}),t.currentYearElement=t.yearElements[0],Jr(),t.monthNav}function q(){t.calendarContainer.classList.add("hasTime"),t.config.noCalendar&&t.calendarContainer.classList.add("noCalendar");var J=Oo(t.config);t.timeContainer=Kt("div","flatpickr-time"),t.timeContainer.tabIndex=-1;var re=Kt("span","flatpickr-time-separator",":"),ge=ji("flatpickr-hour",{"aria-label":t.l10n.hourAriaLabel});t.hourElement=ge.getElementsByTagName("input")[0];var xe=ji("flatpickr-minute",{"aria-label":t.l10n.minuteAriaLabel});if(t.minuteElement=xe.getElementsByTagName("input")[0],t.hourElement.tabIndex=t.minuteElement.tabIndex=-1,t.hourElement.value=ql(t.latestSelectedDateObj?t.latestSelectedDateObj.getHours():t.config.time_24hr?J.hours:m(J.hours)),t.minuteElement.value=ql(t.latestSelectedDateObj?t.latestSelectedDateObj.getMinutes():J.minutes),t.hourElement.setAttribute("step",t.config.hourIncrement.toString()),t.minuteElement.setAttribute("step",t.config.minuteIncrement.toString()),t.hourElement.setAttribute("min",t.config.time_24hr?"0":"1"),t.hourElement.setAttribute("max",t.config.time_24hr?"23":"12"),t.hourElement.setAttribute("maxlength","2"),t.minuteElement.setAttribute("min","0"),t.minuteElement.setAttribute("max","59"),t.minuteElement.setAttribute("maxlength","2"),t.timeContainer.appendChild(ge),t.timeContainer.appendChild(re),t.timeContainer.appendChild(xe),t.config.time_24hr&&t.timeContainer.classList.add("time24hr"),t.config.enableSeconds){t.timeContainer.classList.add("hasSeconds");var Ve=ji("flatpickr-second");t.secondElement=Ve.getElementsByTagName("input")[0],t.secondElement.value=ql(t.latestSelectedDateObj?t.latestSelectedDateObj.getSeconds():J.seconds),t.secondElement.setAttribute("step",t.minuteElement.getAttribute("step")),t.secondElement.setAttribute("min","0"),t.secondElement.setAttribute("max","59"),t.secondElement.setAttribute("maxlength","2"),t.timeContainer.appendChild(Kt("span","flatpickr-time-separator",":")),t.timeContainer.appendChild(Ve)}return t.config.time_24hr||(t.amPM=Kt("span","flatpickr-am-pm",t.l10n.amPM[cr((t.latestSelectedDateObj?t.hourElement.value:t.config.defaultHour)>11)]),t.amPM.title=t.l10n.toggleTitle,t.amPM.tabIndex=-1,t.timeContainer.appendChild(t.amPM)),t.timeContainer}function W(){t.weekdayContainer?qi(t.weekdayContainer):t.weekdayContainer=Kt("div","flatpickr-weekdays");for(var J=t.config.showMonths;J--;){var re=Kt("div","flatpickr-weekdaycontainer");t.weekdayContainer.appendChild(re)}return Y(),t.weekdayContainer}function Y(){if(!!t.weekdayContainer){var J=t.l10n.firstDayOfWeek,re=em(t.l10n.weekdays.shorthand);J>0&&J<re.length&&(re=em(re.splice(J,re.length),re.splice(0,J)));for(var ge=t.config.showMonths;ge--;)t.weekdayContainer.children[ge].innerHTML=`
  3012. <span class='flatpickr-weekday'>
  3013. `+re.join("</span><span class='flatpickr-weekday'>")+`
  3014. </span>
  3015. `}}function ee(){t.calendarContainer.classList.add("hasWeeks");var J=Kt("div","flatpickr-weekwrapper");J.appendChild(Kt("span","flatpickr-weekday",t.l10n.weekAbbreviation));var re=Kt("div","flatpickr-weeks");return J.appendChild(re),{weekWrapper:J,weekNumbers:re}}function te(J,re){re===void 0&&(re=!0);var ge=re?J:J-t.currentMonth;ge<0&&t._hidePrevMonthArrow===!0||ge>0&&t._hideNextMonthArrow===!0||(t.currentMonth+=ge,(t.currentMonth<0||t.currentMonth>11)&&(t.currentYear+=t.currentMonth>11?1:-1,t.currentMonth=(t.currentMonth+12)%12,pt("onYearChange"),E()),N(),pt("onMonthChange"),Jr())}function oe(J,re){if(J===void 0&&(J=!0),re===void 0&&(re=!0),t.input.value="",t.altInput!==void 0&&(t.altInput.value=""),t.mobileInput!==void 0&&(t.mobileInput.value=""),t.selectedDates=[],t.latestSelectedDateObj=void 0,re===!0&&(t.currentYear=t._initialDate.getFullYear(),t.currentMonth=t._initialDate.getMonth()),t.config.enableTime===!0){var ge=Oo(t.config),xe=ge.hours,Ve=ge.minutes,Qe=ge.seconds;v(xe,Ve,Qe)}t.redraw(),J&&pt("onChange")}function ce(){t.isOpen=!1,t.isMobile||(t.calendarContainer!==void 0&&t.calendarContainer.classList.remove("open"),t._input!==void 0&&t._input.classList.remove("active")),pt("onClose")}function se(){t.config!==void 0&&pt("onDestroy");for(var J=t._handlers.length;J--;)t._handlers[J].remove();if(t._handlers=[],t.mobileInput)t.mobileInput.parentNode&&t.mobileInput.parentNode.removeChild(t.mobileInput),t.mobileInput=void 0;else if(t.calendarContainer&&t.calendarContainer.parentNode)if(t.config.static&&t.calendarContainer.parentNode){var re=t.calendarContainer.parentNode;if(re.lastChild&&re.removeChild(re.lastChild),re.parentNode){for(;re.firstChild;)re.parentNode.insertBefore(re.firstChild,re);re.parentNode.removeChild(re)}}else t.calendarContainer.parentNode.removeChild(t.calendarContainer);t.altInput&&(t.input.type="text",t.altInput.parentNode&&t.altInput.parentNode.removeChild(t.altInput),delete t.altInput),t.input&&(t.input.type=t.input._type,t.input.classList.remove("flatpickr-input"),t.input.removeAttribute("readonly")),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(ge){try{delete t[ge]}catch(xe){}})}function ue(J){return t.calendarContainer.contains(J)}function he(J){if(t.isOpen&&!t.config.inline){var re=ur(J),ge=ue(re),xe=re===t.input||re===t.altInput||t.element.contains(re)||J.path&&J.path.indexOf&&(~J.path.indexOf(t.input)||~J.path.indexOf(t.altInput)),Ve=!xe&&!ge&&!ue(J.relatedTarget),Qe=!t.config.ignoredFocusElements.some(function(At){return At.contains(re)});Ve&&Qe&&(t.config.allowInput&&t.setDate(t._input.value,!1,t.config.altInput?t.config.altFormat:t.config.dateFormat),t.timeContainer!==void 0&&t.minuteElement!==void 0&&t.hourElement!==void 0&&t.input.value!==""&&t.input.value!==void 0&&d(),t.close(),t.config&&t.config.mode==="range"&&t.selectedDates.length===1&&t.clear(!1))}}function Z(J){if(!(!J||t.config.minDate&&J<t.config.minDate.getFullYear()||t.config.maxDate&&J>t.config.maxDate.getFullYear())){var re=J,ge=t.currentYear!==re;t.currentYear=re||t.currentYear,t.config.maxDate&&t.currentYear===t.config.maxDate.getFullYear()?t.currentMonth=Math.min(t.config.maxDate.getMonth(),t.currentMonth):t.config.minDate&&t.currentYear===t.config.minDate.getFullYear()&&(t.currentMonth=Math.max(t.config.minDate.getMonth(),t.currentMonth)),ge&&(t.redraw(),pt("onYearChange"),E())}}function G(J,re){var ge;re===void 0&&(re=!0);var xe=t.parseDate(J,void 0,re);if(t.config.minDate&&xe&&hr(xe,t.config.minDate,re!==void 0?re:!t.minDateHasTime)<0||t.config.maxDate&&xe&&hr(xe,t.config.maxDate,re!==void 0?re:!t.maxDateHasTime)>0)return!1;if(!t.config.enable&&t.config.disable.length===0)return!0;if(xe===void 0)return!1;for(var Ve=!!t.config.enable,Qe=(ge=t.config.enable)!==null&&ge!==void 0?ge:t.config.disable,At=0,ut=void 0;At<Qe.length;At++){if(ut=Qe[At],typeof ut=="function"&&ut(xe))return Ve;if(ut instanceof Date&&xe!==void 0&&ut.getTime()===xe.getTime())return Ve;if(typeof ut=="string"){var Ht=t.parseDate(ut,void 0,!0);return Ht&&Ht.getTime()===xe.getTime()?Ve:!Ve}else if(typeof ut=="object"&&xe!==void 0&&ut.from&&ut.to&&xe.getTime()>=ut.from.getTime()&&xe.getTime()<=ut.to.getTime())return Ve}return!Ve}function le(J){return t.daysContainer!==void 0?J.className.indexOf("hidden")===-1&&J.className.indexOf("flatpickr-disabled")===-1&&t.daysContainer.contains(J):!1}function pe(J){var re=J.target===t._input,ge=t._input.value.trimEnd()!==Xn();re&&ge&&!(J.relatedTarget&&ue(J.relatedTarget))&&t.setDate(t._input.value,!0,J.target===t.altInput?t.config.altFormat:t.config.dateFormat)}function ie(J){var re=ur(J),ge=t.config.wrap?e.contains(re):re===t._input,xe=t.config.allowInput,Ve=t.isOpen&&(!xe||!ge),Qe=t.config.inline&&ge&&!xe;if(J.keyCode===13&&ge){if(xe)return t.setDate(t._input.value,!0,re===t.altInput?t.config.altFormat:t.config.dateFormat),t.close(),re.blur();t.open()}else if(ue(re)||Ve||Qe){var At=!!t.timeContainer&&t.timeContainer.contains(re);switch(J.keyCode){case 13:At?(J.preventDefault(),d(),ot()):kt(J);break;case 27:J.preventDefault(),ot();break;case 8:case 46:ge&&!t.config.allowInput&&(J.preventDefault(),t.clear());break;case 37:case 39:if(!At&&!ge){J.preventDefault();var ut=o();if(t.daysContainer!==void 0&&(xe===!1||ut&&le(ut))){var Ht=J.keyCode===39?1:-1;J.ctrlKey?(J.stopPropagation(),te(Ht),z(I(1),0)):z(void 0,Ht)}}else t.hourElement&&t.hourElement.focus();break;case 38:case 40:J.preventDefault();var ct=J.keyCode===40?1:-1;t.daysContainer&&re.$i!==void 0||re===t.input||re===t.altInput?J.ctrlKey?(J.stopPropagation(),Z(t.currentYear-ct),z(I(1),0)):At||z(void 0,ct*7):re===t.currentYearElement?Z(t.currentYear-ct):t.config.enableTime&&(!At&&t.hourElement&&t.hourElement.focus(),d(J),t._debouncedChange());break;case 9:if(At){var gt=[t.hourElement,t.minuteElement,t.secondElement,t.amPM].concat(t.pluginElements).filter(function(dr){return dr}),il=gt.indexOf(re);if(il!==-1){var Qr=gt[il+(J.shiftKey?-1:1)];J.preventDefault(),(Qr||t._input).focus()}}else!t.config.noCalendar&&t.daysContainer&&t.daysContainer.contains(re)&&J.shiftKey&&(J.preventDefault(),t._input.focus());break;default:break}}if(t.amPM!==void 0&&re===t.amPM)switch(J.key){case t.l10n.amPM[0].charAt(0):case t.l10n.amPM[0].charAt(0).toLowerCase():t.amPM.textContent=t.l10n.amPM[0],g(),Gl();break;case t.l10n.amPM[1].charAt(0):case t.l10n.amPM[1].charAt(0).toLowerCase():t.amPM.textContent=t.l10n.amPM[1],g(),Gl();break}(ge||ue(re))&&pt("onKeyDown",J)}function Ae(J,re){if(re===void 0&&(re="flatpickr-day"),!(t.selectedDates.length!==1||J&&(!J.classList.contains(re)||J.classList.contains("flatpickr-disabled")))){for(var ge=J?J.dateObj.getTime():t.days.firstElementChild.dateObj.getTime(),xe=t.parseDate(t.selectedDates[0],void 0,!0).getTime(),Ve=Math.min(ge,t.selectedDates[0].getTime()),Qe=Math.max(ge,t.selectedDates[0].getTime()),At=!1,ut=0,Ht=0,ct=Ve;ct<Qe;ct+=Zf.DAY)G(new Date(ct),!0)||(At=At||ct>Ve&&ct<Qe,ct<xe&&(!ut||ct>ut)?ut=ct:ct>xe&&(!Ht||ct<Ht)&&(Ht=ct));var gt=Array.from(t.rContainer.querySelectorAll("*:nth-child(-n+"+t.config.showMonths+") > ."+re));gt.forEach(function(il){var Qr=il.dateObj,dr=Qr.getTime(),oi=ut>0&&dr<ut||Ht>0&&dr>Ht;if(oi){il.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(function(_a){il.classList.remove(_a)});return}else if(At&&!oi)return;["startRange","inRange","endRange","notAllowed"].forEach(function(_a){il.classList.remove(_a)}),J!==void 0&&(J.classList.add(ge<=t.selectedDates[0].getTime()?"startRange":"endRange"),xe<ge&&dr===xe?il.classList.add("startRange"):xe>ge&&dr===xe&&il.classList.add("endRange"),dr>=ut&&(Ht===0||dr<=Ht)&&Xf(dr,xe,ge)&&il.classList.add("inRange"))})}}function ae(){t.isOpen&&!t.config.static&&!t.config.inline&&Ne()}function Ee(J,re){if(re===void 0&&(re=t._positionElement),t.isMobile===!0){if(J){J.preventDefault();var ge=ur(J);ge&&ge.blur()}t.mobileInput!==void 0&&(t.mobileInput.focus(),t.mobileInput.click()),pt("onOpen");return}else if(t._input.disabled||t.config.inline)return;var xe=t.isOpen;t.isOpen=!0,xe||(t.calendarContainer.classList.add("open"),t._input.classList.add("active"),pt("onOpen"),Ne(re)),t.config.enableTime===!0&&t.config.noCalendar===!0&&t.config.allowInput===!1&&(J===void 0||!t.timeContainer.contains(J.relatedTarget))&&setTimeout(function(){return t.hourElement.select()},50)}function je(J){return function(re){var ge=t.config["_"+J+"Date"]=t.parseDate(re,t.config.dateFormat),xe=t.config["_"+(J==="min"?"max":"min")+"Date"];ge!==void 0&&(t[J==="min"?"minDateHasTime":"maxDateHasTime"]=ge.getHours()>0||ge.getMinutes()>0||ge.getSeconds()>0),t.selectedDates&&(t.selectedDates=t.selectedDates.filter(function(Ve){return G(Ve)}),!t.selectedDates.length&&J==="min"&&y(ge),Gl()),t.daysContainer&&(Rt(),ge!==void 0?t.currentYearElement[J]=ge.getFullYear().toString():t.currentYearElement.removeAttribute(J),t.currentYearElement.disabled=!!xe&&ge!==void 0&&xe.getFullYear()===ge.getFullYear())}}function Ce(){var J=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],re=Ul(Ul({},JSON.parse(JSON.stringify(e.dataset||{}))),n),ge={};t.config.parseDate=re.parseDate,t.config.formatDate=re.formatDate,Object.defineProperty(t.config,"enable",{get:function(){return t.config._enable},set:function(gt){t.config._enable=ye(gt)}}),Object.defineProperty(t.config,"disable",{get:function(){return t.config._disable},set:function(gt){t.config._disable=ye(gt)}});var xe=re.mode==="time";if(!re.dateFormat&&(re.enableTime||xe)){var Ve=Tl.defaultConfig.dateFormat||Yn.dateFormat;ge.dateFormat=re.noCalendar||xe?"H:i"+(re.enableSeconds?":S":""):Ve+" H:i"+(re.enableSeconds?":S":"")}if(re.altInput&&(re.enableTime||xe)&&!re.altFormat){var Qe=Tl.defaultConfig.altFormat||Yn.altFormat;ge.altFormat=re.noCalendar||xe?"h:i"+(re.enableSeconds?":S K":" K"):Qe+(" h:i"+(re.enableSeconds?":S":"")+" K")}Object.defineProperty(t.config,"minDate",{get:function(){return t.config._minDate},set:je("min")}),Object.defineProperty(t.config,"maxDate",{get:function(){return t.config._maxDate},set:je("max")});var At=function(gt){return function(il){t.config[gt==="min"?"_minTime":"_maxTime"]=t.parseDate(il,"H:i:S")}};Object.defineProperty(t.config,"minTime",{get:function(){return t.config._minTime},set:At("min")}),Object.defineProperty(t.config,"maxTime",{get:function(){return t.config._maxTime},set:At("max")}),re.mode==="time"&&(t.config.noCalendar=!0,t.config.enableTime=!0),Object.assign(t.config,ge,re);for(var ut=0;ut<J.length;ut++)t.config[J[ut]]=t.config[J[ut]]===!0||t.config[J[ut]]==="true";Fo.filter(function(gt){return t.config[gt]!==void 0}).forEach(function(gt){t.config[gt]=Po(t.config[gt]||[]).map(s)}),t.isMobile=!t.config.disableMobile&&!t.config.inline&&t.config.mode==="single"&&!t.config.disable.length&&!t.config.enable&&!t.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(var ut=0;ut<t.config.plugins.length;ut++){var Ht=t.config.plugins[ut](t)||{};for(var ct in Ht)Fo.indexOf(ct)>-1?t.config[ct]=Po(Ht[ct]).map(s).concat(t.config[ct]):typeof re[ct]=="undefined"&&(t.config[ct]=Ht[ct])}re.altInputClass||(t.config.altInputClass=Le().className+" "+t.config.altInputClass),pt("onParseConfig")}function Le(){return t.config.wrap?e.querySelector("[data-input]"):e}function Ge(){typeof t.config.locale!="object"&&typeof Tl.l10ns[t.config.locale]=="undefined"&&t.config.errorHandler(new Error("flatpickr: invalid locale "+t.config.locale)),t.l10n=Ul(Ul({},Tl.l10ns.default),typeof t.config.locale=="object"?t.config.locale:t.config.locale!=="default"?Tl.l10ns[t.config.locale]:void 0),Sn.D="("+t.l10n.weekdays.shorthand.join("|")+")",Sn.l="("+t.l10n.weekdays.longhand.join("|")+")",Sn.M="("+t.l10n.months.shorthand.join("|")+")",Sn.F="("+t.l10n.months.longhand.join("|")+")",Sn.K="("+t.l10n.amPM[0]+"|"+t.l10n.amPM[1]+"|"+t.l10n.amPM[0].toLowerCase()+"|"+t.l10n.amPM[1].toLowerCase()+")";var J=Ul(Ul({},n),JSON.parse(JSON.stringify(e.dataset||{})));J.time_24hr===void 0&&Tl.defaultConfig.time_24hr===void 0&&(t.config.time_24hr=t.l10n.time_24hr),t.formatDate=Lc(t),t.parseDate=Lo({config:t.config,l10n:t.l10n})}function Ne(J){if(typeof t.config.position=="function")return void t.config.position(t,J);if(t.calendarContainer!==void 0){pt("onPreCalendarPosition");var re=J||t._positionElement,ge=Array.prototype.reduce.call(t.calendarContainer.children,function(M1,F1){return M1+F1.offsetHeight},0),xe=t.calendarContainer.offsetWidth,Ve=t.config.position.split(" "),Qe=Ve[0],At=Ve.length>1?Ve[1]:null,ut=re.getBoundingClientRect(),Ht=window.innerHeight-ut.bottom,ct=Qe==="above"||Qe!=="below"&&Ht<ge&&ut.top>ge,gt=window.pageYOffset+ut.top+(ct?-ge-2:re.offsetHeight+2);if(jl(t.calendarContainer,"arrowTop",!ct),jl(t.calendarContainer,"arrowBottom",ct),!t.config.inline){var il=window.pageXOffset+ut.left,Qr=!1,dr=!1;At==="center"?(il-=(xe-ut.width)/2,Qr=!0):At==="right"&&(il-=xe-ut.width,dr=!0),jl(t.calendarContainer,"arrowLeft",!Qr&&!dr),jl(t.calendarContainer,"arrowCenter",Qr),jl(t.calendarContainer,"arrowRight",dr);var oi=window.document.body.offsetWidth-(window.pageXOffset+ut.right),_a=il+xe>window.document.body.offsetWidth,T1=oi+xe>window.document.body.offsetWidth;if(jl(t.calendarContainer,"rightMost",_a),!t.config.static)if(t.calendarContainer.style.top=gt+"px",!_a)t.calendarContainer.style.left=il+"px",t.calendarContainer.style.right="auto";else if(!T1)t.calendarContainer.style.left="auto",t.calendarContainer.style.right=oi+"px";else{var ts=et();if(ts===void 0)return;var S1=window.document.body.offsetWidth,$1=Math.max(0,S1/2-xe/2),I1=".flatpickr-calendar.centerMost:before",R1=".flatpickr-calendar.centerMost:after",A1=ts.cssRules.length,D1="{left:"+ut.left+"px;right:auto;}";jl(t.calendarContainer,"rightMost",!1),jl(t.calendarContainer,"centerMost",!0),ts.insertRule(I1+","+R1+D1,A1),t.calendarContainer.style.left=$1+"px",t.calendarContainer.style.right="auto"}}}}function et(){for(var J=null,re=0;re<document.styleSheets.length;re++){var ge=document.styleSheets[re];if(!!ge.cssRules){try{ge.cssRules}catch(xe){continue}J=ge;break}}return J!=null?J:vt()}function vt(){var J=document.createElement("style");return document.head.appendChild(J),J.sheet}function Rt(){t.config.noCalendar||t.isMobile||(E(),Jr(),N())}function ot(){t._input.focus(),window.navigator.userAgent.indexOf("MSIE")!==-1||navigator.msMaxTouchPoints!==void 0?setTimeout(t.close,0):t.close()}function kt(J){J.preventDefault(),J.stopPropagation();var re=function(gt){return gt.classList&&gt.classList.contains("flatpickr-day")&&!gt.classList.contains("flatpickr-disabled")&&!gt.classList.contains("notAllowed")},ge=Ec(ur(J),re);if(ge!==void 0){var xe=ge,Ve=t.latestSelectedDateObj=new Date(xe.dateObj.getTime()),Qe=(Ve.getMonth()<t.currentMonth||Ve.getMonth()>t.currentMonth+t.config.showMonths-1)&&t.config.mode!=="range";if(t.selectedDateElem=xe,t.config.mode==="single")t.selectedDates=[Ve];else if(t.config.mode==="multiple"){var At=cl(Ve);At?t.selectedDates.splice(parseInt(At),1):t.selectedDates.push(Ve)}else t.config.mode==="range"&&(t.selectedDates.length===2&&t.clear(!1,!1),t.latestSelectedDateObj=Ve,t.selectedDates.push(Ve),hr(Ve,t.selectedDates[0],!0)!==0&&t.selectedDates.sort(function(gt,il){return gt.getTime()-il.getTime()}));if(g(),Qe){var ut=t.currentYear!==Ve.getFullYear();t.currentYear=Ve.getFullYear(),t.currentMonth=Ve.getMonth(),ut&&(pt("onYearChange"),E()),pt("onMonthChange")}if(Jr(),N(),Gl(),!Qe&&t.config.mode!=="range"&&t.config.showMonths===1?R(xe):t.selectedDateElem!==void 0&&t.hourElement===void 0&&t.selectedDateElem&&t.selectedDateElem.focus(),t.hourElement!==void 0&&t.hourElement!==void 0&&t.hourElement.focus(),t.config.closeOnSelect){var Ht=t.config.mode==="single"&&!t.config.enableTime,ct=t.config.mode==="range"&&t.selectedDates.length===2&&!t.config.enableTime;(Ht||ct)&&ot()}w()}}var qe={locale:[Ge,Y],showMonths:[O,u,W],minDate:[C],maxDate:[C],positionElement:[De],clickOpens:[function(){t.config.clickOpens===!0?(b(t._input,"focus",t.open),b(t._input,"click",t.open)):(t._input.removeEventListener("focus",t.open),t._input.removeEventListener("click",t.open))}]};function Te(J,re){if(J!==null&&typeof J=="object"){Object.assign(t.config,J);for(var ge in J)qe[ge]!==void 0&&qe[ge].forEach(function(xe){return xe()})}else t.config[J]=re,qe[J]!==void 0?qe[J].forEach(function(xe){return xe()}):Fo.indexOf(J)>-1&&(t.config[J]=Po(re));t.redraw(),Gl(!0)}function Je(J,re){var ge=[];if(J instanceof Array)ge=J.map(function(xe){return t.parseDate(xe,re)});else if(J instanceof Date||typeof J=="number")ge=[t.parseDate(J,re)];else if(typeof J=="string")switch(t.config.mode){case"single":case"time":ge=[t.parseDate(J,re)];break;case"multiple":ge=J.split(t.config.conjunction).map(function(xe){return t.parseDate(xe,re)});break;case"range":ge=J.split(t.l10n.rangeSeparator).map(function(xe){return t.parseDate(xe,re)});break;default:break}else t.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(J)));t.selectedDates=t.config.allowInvalidPreload?ge:ge.filter(function(xe){return xe instanceof Date&&G(xe,!1)}),t.config.mode==="range"&&t.selectedDates.sort(function(xe,Ve){return xe.getTime()-Ve.getTime()})}function Fe(J,re,ge){if(re===void 0&&(re=!1),ge===void 0&&(ge=t.config.dateFormat),J!==0&&!J||J instanceof Array&&J.length===0)return t.clear(re);Je(J,ge),t.latestSelectedDateObj=t.selectedDates[t.selectedDates.length-1],t.redraw(),C(void 0,re),y(),t.selectedDates.length===0&&t.clear(!1),Gl(re),re&&pt("onChange")}function ye(J){return J.slice().map(function(re){return typeof re=="string"||typeof re=="number"||re instanceof Date?t.parseDate(re,void 0,!0):re&&typeof re=="object"&&re.from&&re.to?{from:t.parseDate(re.from,void 0),to:t.parseDate(re.to,void 0)}:re}).filter(function(re){return re})}function ke(){t.selectedDates=[],t.now=t.parseDate(t.config.now)||new Date;var J=t.config.defaultDate||((t.input.nodeName==="INPUT"||t.input.nodeName==="TEXTAREA")&&t.input.placeholder&&t.input.value===t.input.placeholder?null:t.input.value);J&&Je(J,t.config.dateFormat),t._initialDate=t.selectedDates.length>0?t.selectedDates[0]:t.config.minDate&&t.config.minDate.getTime()>t.now.getTime()?t.config.minDate:t.config.maxDate&&t.config.maxDate.getTime()<t.now.getTime()?t.config.maxDate:t.now,t.currentYear=t._initialDate.getFullYear(),t.currentMonth=t._initialDate.getMonth(),t.selectedDates.length>0&&(t.latestSelectedDateObj=t.selectedDates[0]),t.config.minTime!==void 0&&(t.config.minTime=t.parseDate(t.config.minTime,"H:i")),t.config.maxTime!==void 0&&(t.config.maxTime=t.parseDate(t.config.maxTime,"H:i")),t.minDateHasTime=!!t.config.minDate&&(t.config.minDate.getHours()>0||t.config.minDate.getMinutes()>0||t.config.minDate.getSeconds()>0),t.maxDateHasTime=!!t.config.maxDate&&(t.config.maxDate.getHours()>0||t.config.maxDate.getMinutes()>0||t.config.maxDate.getSeconds()>0)}function dt(){if(t.input=Le(),!t.input){t.config.errorHandler(new Error("Invalid input element specified"));return}t.input._type=t.input.type,t.input.type="text",t.input.classList.add("flatpickr-input"),t._input=t.input,t.config.altInput&&(t.altInput=Kt(t.input.nodeName,t.config.altInputClass),t._input=t.altInput,t.altInput.placeholder=t.input.placeholder,t.altInput.disabled=t.input.disabled,t.altInput.required=t.input.required,t.altInput.tabIndex=t.input.tabIndex,t.altInput.type="text",t.input.setAttribute("type","hidden"),!t.config.static&&t.input.parentNode&&t.input.parentNode.insertBefore(t.altInput,t.input.nextSibling)),t.config.allowInput||t._input.setAttribute("readonly","readonly"),De()}function De(){t._positionElement=t.config.positionElement||t._input}function Pe(){var J=t.config.enableTime?t.config.noCalendar?"time":"datetime-local":"date";t.mobileInput=Kt("input",t.input.className+" flatpickr-mobile"),t.mobileInput.tabIndex=1,t.mobileInput.type=J,t.mobileInput.disabled=t.input.disabled,t.mobileInput.required=t.input.required,t.mobileInput.placeholder=t.input.placeholder,t.mobileFormatStr=J==="datetime-local"?"Y-m-d\\TH:i:S":J==="date"?"Y-m-d":"H:i:S",t.selectedDates.length>0&&(t.mobileInput.defaultValue=t.mobileInput.value=t.formatDate(t.selectedDates[0],t.mobileFormatStr)),t.config.minDate&&(t.mobileInput.min=t.formatDate(t.config.minDate,"Y-m-d")),t.config.maxDate&&(t.mobileInput.max=t.formatDate(t.config.maxDate,"Y-m-d")),t.input.getAttribute("step")&&(t.mobileInput.step=String(t.input.getAttribute("step"))),t.input.type="hidden",t.altInput!==void 0&&(t.altInput.type="hidden");try{t.input.parentNode&&t.input.parentNode.insertBefore(t.mobileInput,t.input.nextSibling)}catch(re){}b(t.mobileInput,"change",function(re){t.setDate(ur(re).value,!1,t.mobileFormatStr),pt("onChange"),pt("onClose")})}function Et(J){if(t.isOpen===!0)return t.close();t.open(J)}function pt(J,re){if(t.config!==void 0){var ge=t.config[J];if(ge!==void 0&&ge.length>0)for(var xe=0;ge[xe]&&xe<ge.length;xe++)ge[xe](t.selectedDates,t.input.value,t,re);J==="onChange"&&(t.input.dispatchEvent(sl("change")),t.input.dispatchEvent(sl("input")))}}function sl(J){var re=document.createEvent("Event");return re.initEvent(J,!0,!0),re}function cl(J){for(var re=0;re<t.selectedDates.length;re++){var ge=t.selectedDates[re];if(ge instanceof Date&&hr(ge,J)===0)return""+re}return!1}function jt(J){return t.config.mode!=="range"||t.selectedDates.length<2?!1:hr(J,t.selectedDates[0])>=0&&hr(J,t.selectedDates[1])<=0}function Jr(){t.config.noCalendar||t.isMobile||!t.monthNav||(t.yearElements.forEach(function(J,re){var ge=new Date(t.currentYear,t.currentMonth,1);ge.setMonth(t.currentMonth+re),t.config.showMonths>1||t.config.monthSelectorType==="static"?t.monthElements[re].textContent=Ui(ge.getMonth(),t.config.shorthandCurrentMonth,t.l10n)+" ":t.monthsDropdownContainer.value=ge.getMonth().toString(),J.value=ge.getFullYear().toString()}),t._hidePrevMonthArrow=t.config.minDate!==void 0&&(t.currentYear===t.config.minDate.getFullYear()?t.currentMonth<=t.config.minDate.getMonth():t.currentYear<t.config.minDate.getFullYear()),t._hideNextMonthArrow=t.config.maxDate!==void 0&&(t.currentYear===t.config.maxDate.getFullYear()?t.currentMonth+1>t.config.maxDate.getMonth():t.currentYear>t.config.maxDate.getFullYear()))}function Xn(J){var re=J||(t.config.altInput?t.config.altFormat:t.config.dateFormat);return t.selectedDates.map(function(ge){return t.formatDate(ge,re)}).filter(function(ge,xe,Ve){return t.config.mode!=="range"||t.config.enableTime||Ve.indexOf(ge)===xe}).join(t.config.mode!=="range"?t.config.conjunction:t.l10n.rangeSeparator)}function Gl(J){J===void 0&&(J=!0),t.mobileInput!==void 0&&t.mobileFormatStr&&(t.mobileInput.value=t.latestSelectedDateObj!==void 0?t.formatDate(t.latestSelectedDateObj,t.mobileFormatStr):""),t.input.value=Xn(t.config.dateFormat),t.altInput!==void 0&&(t.altInput.value=Xn(t.config.altFormat)),J!==!1&&pt("onValueUpdate")}function Wl(J){var re=ur(J),ge=t.prevMonthNav.contains(re),xe=t.nextMonthNav.contains(re);ge||xe?te(ge?-1:1):t.yearElements.indexOf(re)>=0?re.select():re.classList.contains("arrowUp")?t.changeYear(t.currentYear+1):re.classList.contains("arrowDown")&&t.changeYear(t.currentYear-1)}function Kn(J){J.preventDefault();var re=J.type==="keydown",ge=ur(J),xe=ge;t.amPM!==void 0&&ge===t.amPM&&(t.amPM.textContent=t.l10n.amPM[cr(t.amPM.textContent===t.l10n.amPM[0])]);var Ve=parseFloat(xe.getAttribute("min")),Qe=parseFloat(xe.getAttribute("max")),At=parseFloat(xe.getAttribute("step")),ut=parseInt(xe.value,10),Ht=J.delta||(re?J.which===38?1:-1:0),ct=ut+At*Ht;if(typeof xe.value!="undefined"&&xe.value.length===2){var gt=xe===t.hourElement,il=xe===t.minuteElement;ct<Ve?(ct=Qe+ct+cr(!gt)+(cr(gt)&&cr(!t.amPM)),il&&_(void 0,-1,t.hourElement)):ct>Qe&&(ct=xe===t.hourElement?ct-Qe-cr(!t.amPM):Ve,il&&_(void 0,1,t.hourElement)),t.amPM&&gt&&(At===1?ct+ut===23:Math.abs(ct-ut)>At)&&(t.amPM.textContent=t.l10n.amPM[cr(t.amPM.textContent===t.l10n.amPM[0])]),xe.value=ql(ct)}}return a(),t}function li(e,n){for(var t=Array.prototype.slice.call(e).filter(function(s){return s instanceof HTMLElement}),l=[],a=0;a<t.length;a++){var o=t[a];try{if(o.getAttribute("data-fp-omit")!==null)continue;o._flatpickr!==void 0&&(o._flatpickr.destroy(),o._flatpickr=void 0),o._flatpickr=W2(o,n||{}),l.push(o._flatpickr)}catch(s){console.error(s)}}return l.length===1?l[0]:l}var Ul,em,G2,Tl,Bo,zc=$e(()=>{Ac();Dc();Fc();Wf();Jf();Pc();Qf();Ul=function(){return Ul=Object.assign||function(e){for(var n,t=1,l=arguments.length;t<l;t++){n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Ul.apply(this,arguments)},em=function(){for(var e=0,n=0,t=arguments.length;n<t;n++)e+=arguments[n].length;for(var l=Array(e),a=0,n=0;n<t;n++)for(var o=arguments[n],s=0,u=o.length;s<u;s++,a++)l[a]=o[s];return l},G2=300;typeof HTMLElement!="undefined"&&typeof HTMLCollection!="undefined"&&typeof NodeList!="undefined"&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return li(this,e)},HTMLElement.prototype.flatpickr=function(e){return li([this],e)});Tl=function(e,n){return typeof e=="string"?li(window.document.querySelectorAll(e),n):e instanceof Node?li([e],n):li(e,n)};Tl.defaultConfig={};Tl.l10ns={en:Ul({},No),default:Ul({},No)};Tl.localize=function(e){Tl.l10ns.default=Ul(Ul({},Tl.l10ns.default),e)};Tl.setDefaults=function(e){Tl.defaultConfig=Ul(Ul({},Tl.defaultConfig),e)};Tl.parseDate=Lo({});Tl.formatDate=Lc({});Tl.compareDates=hr;typeof jQuery!="undefined"&&typeof jQuery.fn!="undefined"&&(jQuery.fn.flatpickr=function(e){return li(this,e)});Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+(typeof e=="string"?parseInt(e,10):e))};typeof window!="undefined"&&(window.flatpickr=Tl);Bo=Tl});var Ho,Y2,X2,tm,lm=$e(()=>{ol();qt();Xe();zc();Ho=Nl(kn());Ml();wa();Y2=e=>{let n=e.replace(/y/g,"Y");return n=n.replace(/d/g,"D"),n=n.replace(/h/g,"H"),n=n.replace(/上午\/下午/g,"A"),n=n.replace(/上午/g,"A"),n=n.replace(/下午/g,"A"),n=n.replace(/AM\/PM/g,"A"),n=n.replace(/AM/g,"A"),n=n.replace(/PM/g,"A"),n=n.replace(/\"/g,""),n.includes("A")&&(n=n.replace(/H/g,"h")),n},X2={cellFocus:function(e,n,t){let l=h.visibledatarow[e],a=e==0?0:h.visibledatarow[e-1],o=h.visibledatacolumn[n],s=n==0?0:h.visibledatacolumn[n-1],u=be.mergeborer(h.flowdata,e,n),d=t.ct.fa||"YYYY-MM-DD",f=_t("yyyy-MM-dd hh:mm:ss",t.v),m=Y2(d),g=!1,y=!1,v=!1,k=!0,b=!1;u&&(l=u.row[1],a=u.row[0],o=u.column[1],s=u.column[0]),$(".cell-date-picker").show().css({width:o-s+1,height:l-a+1,left:s,top:a}),/[上午下午]/.test(d)&&(b=!0),/[Hhms]/.test(m)&&(g=!0),/[YMD]/.test(m)||(y=!0),/s/.test(m)&&(v=!0),/A/.test(m)&&(k=!1);let w=Bo("#luckysheet-input-box",{allowInput:!1,noCalendar:y,enableSeconds:v,enableTime:g,dateFormat:m,time_24hr:k,defaultDate:f,onClose(){setTimeout(()=>{w.destroy()},0)},parseDate:(x,C)=>(0,Ho.default)(x).toDate(),formatDate:(x,C,S)=>b?(0,Ho.default)(x).format(C).replace("AM","\u4E0A\u5348").replace("PM","\u4E0B\u5348"):(0,Ho.default)(x).format(C),onChange:function(x,C){let S=Ys(new Date(x));$("#luckysheet-rich-text-editor").html(C),ri(e,n,S,{isRefresh:!1}),Oc(e,n,"ct",t.ct),g||p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1])}});$("#luckysheet-input-box").click()}},tm=X2});function Dl(e,n,t,l,a){if(!xn(e,n,h.currentSheetIndex)){$("#luckysheet-functionbox-cell").blur();return}if(de()||h.allowEdit===!1||!Ke.createHookFunction("cellEditBefore",h.luckysheet_select_save))return;if(ne.saveParam("mv",h.currentSheetIndex,{op:"enterEdit",range:h.luckysheet_select_save}),Ye.dataVerification!=null&&Ye.dataVerification[e+"_"+n]!=null){let z=Ye.dataVerification[e+"_"+n];if(z.type=="dropdown")Ye.dropdownListShow();else if(z.type=="checkbox")return}let o=nm(e,n,t),s=o.row,u=o.row_pre,d=o.col,f=o.col_pre,m=o.row_index,g=o.col_index;$("#luckysheet-dropCell-icon").is(":visible")&&$("#luckysheet-dropCell-icon").remove();let y=$(window).height(),v=$(window).width(),k=$("#"+h.container).offset(),b=$("#luckysheet-cell-main").scrollLeft(),w=$("#luckysheet-cell-main").scrollTop();if(Oe.isPivotRange(m,g))return;let x=f+k.left+h.rowHeaderWidth-b-2;X.freezenverticaldata!=null&&n<=X.freezenverticaldata[1]&&(x=f+k.left+h.rowHeaderWidth-2);let C=u+k.top+h.infobarHeight+h.toolbarHeight+h.calculatebarHeight+h.columnHeaderHeight-w-2;X.freezenhorizontaldata!=null&&e<=X.freezenhorizontaldata[1]&&(C=u+k.top+h.infobarHeight+h.toolbarHeight+h.calculatebarHeight+h.columnHeaderHeight-2);let S={"min-width":d-f+1-8,"min-height":s-u+1-4,"max-width":v+b-f-20-h.rowHeaderWidth,"max-height":y+w-u-20-15-h.toolbarHeight-h.infobarHeight-h.calculatebarHeight-h.sheetBarHeight-h.statisticBarHeight,left:x,top:C},_={transform:"scale("+h.zoomRatio+")","transform-origin":"left top",width:100/h.zoomRatio+"%",height:100/h.zoomRatio+"%"};h.luckysheetCellUpdate=[m,g],a||$("#luckysheet-rich-text-editor").focus().select(),$("#luckysheet-input-box").removeAttr("style").css({"background-color":"rgb(255, 255, 255)",padding:"0px 2px","font-size":`${h.defaultFontSize}pt`,right:"auto","overflow-y":"auto","box-sizing":"initial",display:"flex"}),(X.freezenverticaldata!=null||X.freezenhorizontaldata!=null)&&$("#luckysheet-input-box").css("z-index",10002),$("#luckysheet-input-box-index").html(lt(g)+(m+1)).hide(),$("#luckysheet-wa-functionbox-cancel, #luckysheet-wa-functionbox-confirm").addClass("luckysheet-wa-calculate-active");let T="",A=!1;if(t[m]!=null&&t[m][g]!=null){let z=t[m][g],M=z.ht,N="left",E="top";M=="0"?(S={"min-width":d-f+1-8,"min-height":s-u+1-4,"max-width":v*2/3,"max-height":y+w-u-20-15-h.toolbarHeight-h.infobarHeight-h.calculatebarHeight-h.sheetBarHeight-h.statisticBarHeight,left:f+k.left+h.rowHeaderWidth-b-2,top:u+k.top+h.infobarHeight+h.toolbarHeight+h.calculatebarHeight+h.columnHeaderHeight-w-2},h.zoomRatio<1&&(N="center"),A=!0):M=="2"&&(S={"min-width":d-f+1-8,"min-height":s-u+1-4,"max-width":d+k.left-b-8,"max-height":y+w-u-20-15-h.toolbarHeight-h.infobarHeight-h.calculatebarHeight-h.sheetBarHeight-h.statisticBarHeight,right:v-(k.left+(h.rowHeaderWidth-1)-b)-d,top:u+k.top+h.infobarHeight+h.toolbarHeight+h.calculatebarHeight+h.columnHeaderHeight-w-2},h.zoomRatio<1&&(N="right")),z.vt=="0"?E="center":z.vt=="2"&&(E="bottom"),_["transform-origin"]=N+" "+E,l||(xl(z)?T=Xd(m,g,t):z.f!=null?T=ze(m,g,t,"f"):(T=bn(m,g,t),z.qp=="1"&&(T=T&&""+T)));let L=be.getStyleByCell(t,m,g);L=$("#luckysheet-input-box").get(0).style.cssText+L,$("#luckysheet-input-box").get(0).style.cssText=L,$("#luckysheet-input-box").get(0).style.backgroundColor=="rgba(0, 0, 0, 0)"&&($("#luckysheet-input-box").get(0).style.background="rgb(255,255,255)")}else{let z=el.getComputeMap();var R=el.checksAF(m,g,z),I=Se.getComputeMap(),F=Se.checksCF(m,g,I);F!=null&&F.cellColor!=null?$("#luckysheet-input-box").get(0).style.background=F.cellColor:R!=null&&($("#luckysheet-input-box").get(0).style.background=R[1])}if(S["min-height"]>S["max-height"]&&(S["min-height"]=S["max-height"]),S["min-width"]>S["max-width"]&&(S["min-width"]=S["max-width"]),T=p.xssDeal(T),!So(m,g,h.currentSheetIndex)&&T.length>0&&T.substr(0,63)=='<span dir="auto" class="luckysheet-formula-text-color">=</span>'?$("#luckysheet-rich-text-editor").html(""):(T=p.ltGtSignDeal(T),$("#luckysheet-rich-text-editor").html(T),a||Cr($("#luckysheet-rich-text-editor")[0])),A){let z=$("#luckysheet-input-box").width();z>S["max-width"]&&(z=S["max-width"]),z<S["min-width"]&&(z=S["min-width"]);let M=S.left-z/2+(d-f)/2;M<2&&(M=2),S.left=M-2}$("#luckysheet-input-box").css(S),$("#luckysheet-rich-text-editor").css(_),t[e][n]&&t[e][n].ct&&t[e][n].ct.t=="d"&&tm.cellFocus(e,n,t[e][n]),p.rangetosheet=h.currentSheetIndex,p.createRangeHightlight(),p.rangeResizeTo=$("#luckysheet-rich-text-editor"),nl()}function rm(e,n,t){if(e==null||n==null)return;let l=t[e][n];if(l==null)return;let a=l.ht;if(l!=null&&a!="0")return;let o=nm(e,n,t),s=o.row,u=o.row_pre,d=o.col,f=o.col_pre,m=$(window).height(),g=$(window).width(),y=$("#"+h.container).offset(),v=$("#luckysheet-cell-main").scrollLeft(),k=$("#luckysheet-cell-main").scrollTop(),b={"min-width":d-f+1-8,"max-width":g*2/3,left:f+y.left+h.rowHeaderWidth-v-2},w=$("#luckysheet-input-box").width();w>b["max-width"]&&(w=b["max-width"]),w<b["min-width"]&&(w=b["min-width"]);let x=b.left-w/2+(d-f)/2;x<2&&(x=2),b.left=x-2,$("#luckysheet-input-box").css(b)}function nm(e,n,t){let l=h.visibledatarow[e],a=e-1==-1?0:h.visibledatarow[e-1],o=h.visibledatacolumn[n],s=n-1==-1?0:h.visibledatacolumn[n-1];t==null&&(t=h.flowdata);let u=be.mergeborer(t,e,n);return u&&(l=u.row[1],a=u.row[0],e=u.row[2],o=u.column[1],s=u.column[0],n=u.column[2]),{row:l,row_pre:a,row_index:e,col:o,col_pre:s,col_index:n}}var xa=$e(()=>{cn();Vl();ol();yr();Va();lm();vr();_l();ht();Pt();Zt();Ml();qt();gn();qr();yn();Xe();ll();El()});var im=kl((K_,am)=>{"use strict";var K2=/["'&<>]/;am.exports=Z2;function Z2(e){var n=""+e,t=K2.exec(n);if(!t)return n;var l,a="",o=0,s=0;for(o=t.index;o<n.length;o++){switch(n.charCodeAt(o)){case 34:l="&quot;";break;case 38:l="&amp;";break;case 39:l="&#39;";break;case 60:l="&lt;";break;case 62:l="&gt;";break;default:continue}s!==o&&(a+=n.substring(s,o)),s=o+1,a+=l}return s!==o?a+n.substring(s,o):a}});var Gi,J2,Mr,Vo=$e(()=>{ht();Dt();Wt();Jt();gl();Pt();Ml();gr();Xt();Qt();tl();Oi();Xe();yt();_l();Gi=Nl(im()),J2={createDialog:function(e){$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-search-replace").remove();let n=Q(),t=n.findAndReplace,l=n.button,a='<div class="tabBox"><span id="searchTab">'+t.find+'</span><span id="replaceTab">'+t.replace+'</span></div><div class="ctBox"><div class="inputBox"><div class="textboxs" id="searchInput">'+t.findTextbox+'\uFF1A<input class="formulaInputFocus" spellcheck="false" value=""/></div><div class="textboxs" id="replaceInput">'+t.replaceTextbox+'\uFF1A<input class="formulaInputFocus" spellcheck="false" value=""/></div><div class="checkboxs"><div id="regCheck"><input type="checkbox"/><span>'+t.regexTextbox+'</span></div><div id="wordCheck"><input type="checkbox"/><span>'+t.wholeTextbox+'</span></div><div id="caseCheck"><input type="checkbox"/><span>'+t.distinguishTextbox+'</span></div></div></div><div class="btnBox"><button id="replaceAllBtn" class="btn btn-default">'+t.allReplaceBtn+'</button><button id="replaceBtn" class="btn btn-default">'+t.replaceBtn+'</button><button id="searchAllBtn" class="btn btn-default">'+t.allFindBtn+'</button><button id="searchNextBtn" class="btn btn-default">'+t.findBtn+"</button></div></div>";$("body").append(_e(ft,{id:"luckysheet-search-replace",addclass:"luckysheet-search-replace",title:"",content:a,botton:'<button class="btn btn-default luckysheet-model-close-btn">'+l.close+"</button>",style:"z-index:100003",close:l.close}));let o=$("#luckysheet-search-replace").find(".luckysheet-modal-dialog-content").css("min-width",500).end(),s=o.outerHeight(),u=o.outerWidth(),d=$(window).width(),f=$(window).height(),m=$(document).scrollLeft(),g=$(document).scrollTop();$("#luckysheet-search-replace").css({left:(d+m-u)/2,top:(f+g-s)/3}).show(),e=="0"?($("#luckysheet-search-replace #searchTab").addClass("on").siblings().removeClass("on"),$("#luckysheet-search-replace #replaceInput").hide(),$("#luckysheet-search-replace #replaceAllBtn").hide(),$("#luckysheet-search-replace #replaceBtn").hide()):e=="1"&&($("#luckysheet-search-replace #replaceTab").addClass("on").siblings().removeClass("on"),$("#luckysheet-search-replace #replaceInput").show(),$("#luckysheet-search-replace #replaceAllBtn").show(),$("#luckysheet-search-replace #replaceBtn").show())},init:function(){let e=this;$(document).off("click.SRtabBoxspan").on("click.SRtabBoxspan","#luckysheet-search-replace .tabBox span",function(){$(this).addClass("on").siblings().removeClass("on");let n=$(this).attr("id");n=="searchTab"?($("#luckysheet-search-replace #replaceInput").hide(),$("#luckysheet-search-replace #replaceAllBtn").hide(),$("#luckysheet-search-replace #replaceBtn").hide(),$("#luckysheet-search-replace #searchInput input").focus()):n=="replaceTab"&&($("#luckysheet-search-replace #replaceInput").show(),$("#luckysheet-search-replace #replaceAllBtn").show(),$("#luckysheet-search-replace #replaceBtn").show(),$("#luckysheet-search-replace #replaceInput input").focus())}),$(document).off("keyup.SRsearchInput").on("keyup.SRsearchInput","#luckysheet-search-replace #searchInput input",function(n){n.keyCode==at.ENTER&&e.searchNext()}),$(document).off("click.SRsearchNextBtn").on("click.SRsearchNextBtn","#luckysheet-search-replace #searchNextBtn",function(){e.searchNext()}),$(document).off("click.SRsearchAllBtn").on("click.SRsearchAllBtn","#luckysheet-search-replace #searchAllBtn",function(){e.searchAll()}),$(document).off("click.SRsearchAllboxItem").on("click.SRsearchAllboxItem","#luckysheet-search-replace #searchAllbox .boxItem",function(){$(this).addClass("on").siblings().removeClass("on");let n=$(this).attr("data-row"),t=$(this).attr("data-col"),l=$(this).attr("data-sheetIndex");l!=h.currentSheetIndex&&ve.changeSheetExec(l),h.luckysheet_select_save=[{row:[n,n],column:[t,t]}],tt();let a=$("#luckysheet-cell-main").scrollLeft(),o=$("#luckysheet-cell-main").scrollTop(),s=$("#luckysheet-cell-main").height(),u=$("#luckysheet-cell-main").width(),d=h.visibledatarow[n],f=n-1==-1?0:h.visibledatarow[n-1],m=h.visibledatacolumn[t],g=t-1==-1?0:h.visibledatacolumn[t-1];m-a-u+20>0?$("#luckysheet-scrollbar-x").scrollLeft(m-u+20):g-a-20<0&&$("#luckysheet-scrollbar-x").scrollLeft(g-20),d-o-s+20>0?$("#luckysheet-scrollbar-y").scrollTop(d-s+20):f-o-20<0&&$("#luckysheet-scrollbar-y").scrollTop(f-20)}),$(document).off("click.SRreplaceBtn").on("click.SRreplaceBtn","#luckysheet-search-replace #replaceBtn",function(){e.replace()}),$(document).off("click.SRreplaceAllBtn").on("click.SRreplaceAllBtn","#luckysheet-search-replace #replaceAllBtn",function(){e.replaceAll()})},searchNext:function(){let e=this,n=$("#luckysheet-search-replace #searchInput input").val();if(n==""||n==null)return;let l=Q().findAndReplace,a;h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].row[0]==h.luckysheet_select_save[0].row[1]&&h.luckysheet_select_save[0].column[0]==h.luckysheet_select_save[0].column[1]?a=[{row:[0,h.flowdata.length-1],column:[0,h.flowdata[0].length-1]}]:a=$.extend(!0,[],h.luckysheet_select_save);let o=e.getSearchIndexArr(n,a);if(o.length==0){de()?alert(l.noFindTip):U.info(l.noFindTip,"");return}let s=0;if(h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].row[0]==h.luckysheet_select_save[0].row[1]&&h.luckysheet_select_save[0].column[0]==h.luckysheet_select_save[0].column[1]){if(h.luckysheet_select_save.length==0)s=0;else for(let b=0;b<o.length;b++)if(o[b].r==h.luckysheet_select_save[0].row[0]&&o[b].c==h.luckysheet_select_save[0].column[0]){b==o.length-1?s=0:s=b+1;break}h.luckysheet_select_save=[{row:[o[s].r,o[s].r],column:[o[s].c,o[s].c]}]}else{let b=a[a.length-1].row_focus,w=a[a.length-1].column_focus;for(let x=0;x<o.length;x++)if(o[x].r==b&&o[x].c==w){x==o.length-1?s=0:s=x+1;break}for(let x=0;x<a.length;x++){let C=a[x].row[0],S=a[x].row[1],_=a[x].column[0],T=a[x].column[1];if(o[s].r>=C&&o[s].r<=S&&o[s].c>=_&&o[s].c<=T){let A=a[x];A.row_focus=o[s].r,A.column_focus=o[s].c,a.splice(x,1),a.push(A);break}}h.luckysheet_select_save=a}tt();let u=$("#luckysheet-cell-main").scrollLeft(),d=$("#luckysheet-cell-main").scrollTop(),f=$("#luckysheet-cell-main").height(),m=$("#luckysheet-cell-main").width(),g=h.visibledatarow[o[s].r],y=o[s].r-1==-1?0:h.visibledatarow[o[s].r-1],v=h.visibledatacolumn[o[s].c],k=o[s].c-1==-1?0:h.visibledatacolumn[o[s].c-1];v-u-m+20>0?$("#luckysheet-scrollbar-x").scrollLeft(v-m+20):k-u-20<0&&$("#luckysheet-scrollbar-x").scrollLeft(k-20),g-d-f+20>0?$("#luckysheet-scrollbar-y").scrollTop(g-f+20):y-d-20<0&&$("#luckysheet-scrollbar-y").scrollTop(y-20),$("#searchAllbox").is(":visible")&&$("#luckysheet-search-replace #searchAllbox .boxItem").removeClass("on")},searchAll:function(){let e=this,t=Q().findAndReplace;$("#luckysheet-search-replace #searchAllbox").remove();let l=$("#luckysheet-search-replace #searchInput input").val();if(l==""||l==null)return;let a;a=[{row:[0,h.flowdata.length-1],column:[0,h.flowdata[0].length-1]}];let o=e.getSearchIndexArr(l,a);if(o.length==0){de()?alert(t.noFindTip):U.info(t.noFindTip,"");return}let s="";for(let u=0;u<o.length;u++){let d=bn(o[u].r,o[u].c,h.flowdata).toString();d.indexOf("</")>-1&&d.indexOf(">")>-1?s+='<div class="boxItem" data-row="'+o[u].r+'" data-col="'+o[u].c+'" data-sheetIndex="'+h.currentSheetIndex+'"><span>'+(0,Gi.default)(h.luckysheetfile[K(h.currentSheetIndex)].name)+"</span><span>"+lt(o[u].c)+(o[u].r+1)+"</span><span>"+(0,Gi.default)(d)+"</span></div>":s+='<div class="boxItem" data-row="'+o[u].r+'" data-col="'+o[u].c+'" data-sheetIndex="'+h.currentSheetIndex+'"><span>'+h.luckysheetfile[K(h.currentSheetIndex)].name+"</span><span>"+lt(o[u].c)+(o[u].r+1)+'</span><span title="'+(0,Gi.default)(d)+'">'+(0,Gi.default)(d)+"</span></div>"}$(`<div id="searchAllbox"><div class="boxTitle"><span>${t.searchTargetSheet}</span><span>${t.searchTargetCell}</span><span>${t.searchTargetValue}</span></div><div class="boxMain">${s}</div></div>`).appendTo($("#luckysheet-search-replace")),$("#luckysheet-search-replace #searchAllbox .boxItem").eq(0).addClass("on").siblings().removeClass("on"),h.luckysheet_select_save=[{row:[o[0].r,o[0].r],column:[o[0].c,o[0].c]}],tt()},getSearchIndexArr:function(e,n){let t=[],l={},a=$("#luckysheet-search-replace"),o=g=>a.find(`#${g} input[type='checkbox']`).is(":checked"),s=o("regCheck"),u=o("wordCheck"),d=o("caseCheck"),f="g";d||(e=e.toLowerCase(),f+="i");let m=(g,y)=>{g+"_"+y in l||(l[g+"_"+y]=0,t.push({r:g,c:y}))};for(let g=0;g<n.length;g++){let y=n[g].row[0],v=n[g].row[1],k=n[g].column[0],b=n[g].column[1];for(let w=y;w<=v;w++)for(let x=k;x<=b;x++)if(h.flowdata[w][x]!=null){let S=bn(w,x,h.flowdata);if(S==0&&(S=S.toString()),S!=null&&S!=""){let _=!1;S=S.toString(),S=d?S:S.toLowerCase(),u?_=e==S:s?_=new RegExp(D.getRegExpStr(e),f).test(S):_=~S.indexOf(e),_&&m(w,x)}}}return t},replace:function(){let e=this,t=Q().findAndReplace;if(!h.allowEdit){U.info(t.modeTip,"");return}let l=$("#luckysheet-search-replace #searchInput input").val();if(l==""||l==null){de()?alert(t.searchInputTip):U.info(t.searchInputTip,"");return}let a;h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].row[0]==h.luckysheet_select_save[0].row[1]&&h.luckysheet_select_save[0].column[0]==h.luckysheet_select_save[0].column[1]?a=[{row:[0,h.flowdata.length-1],column:[0,h.flowdata[0].length-1]}]:a=$.extend(!0,[],h.luckysheet_select_save);let o=e.getSearchIndexArr(l,a);if(o.length==0){de()?alert(t.noReplceTip):U.info(t.noReplceTip,"");return}let s=null,u=h.luckysheet_select_save[h.luckysheet_select_save.length-1],d=u.row_focus,f=u.column_focus;for(let F=0;F<o.length;F++)if(o[F].r==d&&o[F].c==f){s=F;break}if(s==null)if(o.length==0){de()?alert(t.noMatchTip):U.info(t.noMatchTip,"");return}else s=0;let m=!1;$("#luckysheet-search-replace #regCheck input[type='checkbox']").is(":checked")&&(m=!0);let g=!1;$("#luckysheet-search-replace #wordCheck input[type='checkbox']").is(":checked")&&(g=!0);let y=!1;$("#luckysheet-search-replace #caseCheck input[type='checkbox']").is(":checked")&&(y=!0);let v=$("#luckysheet-search-replace #replaceInput input").val(),k=we.deepCopyFlowData(h.flowdata),b,w;if(g){b=o[s].r,w=o[s].c;let F=v;if(!xn(b,w,h.currentSheetIndex))return;Ft(b,w,k,F)}else{let F;if(y?F=new RegExp(D.getRegExpStr(l),"g"):F=new RegExp(D.getRegExpStr(l),"ig"),b=o[s].r,w=o[s].c,!xn(b,w,h.currentSheetIndex))return;let z=bn(b,w,k).toString().replace(F,v);Ft(b,w,k,z)}h.luckysheet_select_save=[{row:[b,b],column:[w,w]}],$("#luckysheet-search-replace #searchAllbox").is(":visible")&&$("#luckysheet-search-replace #searchAllbox").hide(),Ze(k,h.luckysheet_select_save),tt();let x=$("#luckysheet-cell-main").scrollLeft(),C=$("#luckysheet-cell-main").scrollTop(),S=$("#luckysheet-cell-main").height(),_=$("#luckysheet-cell-main").width(),T=h.visibledatarow[b],A=b-1==-1?0:h.visibledatarow[b-1],R=h.visibledatacolumn[w],I=w-1==-1?0:h.visibledatacolumn[w-1];R-x-_+20>0?$("#luckysheet-scrollbar-x").scrollLeft(R-_+20):I-x-20<0&&$("#luckysheet-scrollbar-x").scrollLeft(I-20),T-C-S+20>0?$("#luckysheet-scrollbar-y").scrollTop(T-S+20):A-C-20<0&&$("#luckysheet-scrollbar-y").scrollTop(A-20)},replaceAll:function(){let e=this,t=Q().findAndReplace;if(!h.allowEdit){U.info(t.modeTip,"");return}let l=$("#luckysheet-search-replace #searchInput input").val();if(l==""||l==null){de()?alert(t.searchInputTip):U.info(t.searchInputTip,"");return}let a;h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].row[0]==h.luckysheet_select_save[0].row[1]&&h.luckysheet_select_save[0].column[0]==h.luckysheet_select_save[0].column[1]?a=[{row:[0,h.flowdata.length-1],column:[0,h.flowdata[0].length-1]}]:a=$.extend(!0,[],h.luckysheet_select_save);let o=e.getSearchIndexArr(l,a);if(o.length==0){de()?alert(t.noReplceTip):U.info(t.noReplceTip,"");return}let s=!1;$("#luckysheet-search-replace #regCheck input[type='checkbox']").is(":checked")&&(s=!0);let u=!1;$("#luckysheet-search-replace #wordCheck input[type='checkbox']").is(":checked")&&(u=!0);let d=!1;$("#luckysheet-search-replace #caseCheck input[type='checkbox']").is(":checked")&&(d=!0);let f=$("#luckysheet-search-replace #replaceInput input").val(),m=we.deepCopyFlowData(h.flowdata),g=0;if(u)for(let v=0;v<o.length;v++){let k=o[v].r,b=o[v].c;if(!xn(k,b,h.currentSheetIndex,!1))continue;Ft(k,b,m,f),a.push({row:[k,k],column:[b,b]}),g++}else{let v;d?v=new RegExp(D.getRegExpStr(l),"g"):v=new RegExp(D.getRegExpStr(l),"ig");for(let k=0;k<o.length;k++){let b=o[k].r,w=o[k].c;if(!xn(b,w,h.currentSheetIndex,!1))continue;let x=bn(b,w,m).toString().replace(v,f);Ft(b,w,m,x),a.push({row:[b,b],column:[w,w]}),g++}}$("#luckysheet-search-replace #searchAllbox").is(":visible")&&$("#luckysheet-search-replace #searchAllbox").hide(),Ze(m,a),h.luckysheet_select_save=$.extend(!0,[],a),tt();let y=_e(t.successTip,{xlength:g});de()?alert(y):U.info(y,"")}},Mr=J2});var Yc={};V1(Yc,{cancelFrozen:()=>Uo,cancelRangeMerge:()=>dm,changLang:()=>Sy,checkTheStatusOfTheSelectedCells:()=>ni,clearCell:()=>eg,clearRange:()=>Vg,closeWebsocket:()=>$y,deleteCell:()=>tg,deleteColumn:()=>fg,deleteDataVerification:()=>by,deleteImage:()=>xy,deleteRange:()=>qg,deleteRangeConditionalFormat:()=>Hg,deleteRow:()=>dg,deleteRowOrColumn:()=>Vc,enterEditMode:()=>ng,exitEditMode:()=>rg,find:()=>om,frozenColumnRange:()=>cm,frozenFirstColumn:()=>jo,frozenFirstRow:()=>qo,frozenRowRange:()=>sm,getAllChartsBase64:()=>fy,getAllSheets:()=>fm,getCellValue:()=>Q2,getColumnWidth:()=>wg,getConfig:()=>gy,getDefaultColWidth:()=>_g,getDefaultRowHeight:()=>xg,getImageOption:()=>_y,getLuckysheetfile:()=>vy,getRange:()=>um,getRangeArray:()=>Ig,getRangeAxis:()=>Tg,getRangeBoolean:()=>Dg,getRangeByTxt:()=>Iy,getRangeDiagonal:()=>Ag,getRangeHtml:()=>$g,getRangeJson:()=>Rg,getRangeValue:()=>Sg,getRangeValuesWithFlatte:()=>Cg,getRangeWithFlatten:()=>Uc,getRowHeight:()=>bg,getScreenshot:()=>sy,getSheet:()=>my,getSheetData:()=>py,getTxtByRange:()=>Ry,getWorkbookName:()=>uy,hideColumn:()=>gg,hideGridLines:()=>ny,hideRow:()=>mg,hideRowOrColumn:()=>qc,insertColumn:()=>ug,insertColumnRight:()=>hg,insertImage:()=>wy,insertRow:()=>sg,insertRowBottom:()=>cg,insertRowBottomOrColumnRight:()=>Hc,insertRowOrColumn:()=>Bc,matrixCalculation:()=>Ug,matrixOperation:()=>jg,openSearchDialog:()=>My,pagerInit:()=>Gc,redo:()=>dy,refresh:()=>ay,refreshFormula:()=>Ay,refreshMenuButtonFocus:()=>Wc,replace:()=>lg,resize:()=>oy,scroll:()=>iy,setBothFrozen:()=>og,setCellFormat:()=>Oc,setCellValue:()=>ri,setColumnWidth:()=>kg,setConfig:()=>yy,setDataVerification:()=>ky,setHorizontalFrozen:()=>ag,setRangeConditionalFormat:()=>Bg,setRangeConditionalFormatDefault:()=>Og,setRangeFilter:()=>Ng,setRangeFormat:()=>Eg,setRangeMerge:()=>Pg,setRangeShow:()=>Mg,setRangeSort:()=>Lg,setRangeSortMulti:()=>zg,setRangeValue:()=>Fg,setRowHeight:()=>vg,setSheetActive:()=>Zg,setSheetAdd:()=>Gg,setSheetColor:()=>Qg,setSheetCopy:()=>Yg,setSheetDelete:()=>Wg,setSheetHide:()=>Xg,setSheetMove:()=>ey,setSheetName:()=>Jg,setSheetOrder:()=>ty,setSheetShow:()=>Kg,setSheetZoom:()=>ly,setSingleRangeFormat:()=>hm,setVerticalFrozen:()=>ig,setWorkbookName:()=>cy,showColumn:()=>yg,showGridLines:()=>ry,showRow:()=>pg,showRowOrColumn:()=>jc,toJson:()=>Go,transToCellData:()=>Cy,transToData:()=>Ty,undo:()=>hy,updataSheet:()=>Dy});function Q2(e,n,t={}){if(!B(e)||!B(n))return U.info("Arguments row or column cannot be null or undefined.","");let l=K(h.currentSheetIndex),{type:a="v",order:o=l}=Ue({},t),u=h.luckysheetfile[o].data[e][n],d;if(P(u)=="object"){if(d=u[a],a=="f"&&d!=null)d=p.functionHTMLGenerate(d);else if(a=="f")d=u.v;else if(u&&u.ct){if(u.ct.fa=="yyyy-MM-dd")d=u.m;else if(u.ct.hasOwnProperty("t")&&u.ct.t==="inlineStr"){let f=u.ct.s;f&&(d=f.map(m=>m.v).join(""))}}}return d==null&&(d=null),d}function ri(e,n,t,l={}){if(!B(e)||!B(n))return U.info("The row or column parameter is invalid.","");let{order:a=K(h.currentSheetIndex),isRefresh:o=!0,triggerBeforeUpdate:s=!0,triggerUpdated:u=!0,success:d}=Ue({},l),f=h.luckysheetfile[a];if(f==null)return U.info("The order parameter is invalid.","");if(s&&!Ke.createHookFunction("cellUpdateBefore",e,n,t,o))return;let m=f.data;o&&(m=$.extend(!0,[],f.data)),m.length==0&&(m=ve.buildGridData(f));let g;h.flowdata[e]&&h.flowdata[e][n]&&(g=JSON.stringify(h.flowdata[e][n]));let y={bg:1,ff:1,fc:1,bl:1,it:1,fs:1,cl:1,un:1,vt:1,ht:1,mc:1,tr:1,tb:1,rt:1,qp:1};if(t==null||t.toString().length==0)p.delFunctionGroup(e,n),Ft(e,n,m,t);else if(t instanceof Object){let v={};fe(m[e])&&(m[e]={}),fe(m[e][n])&&(m[e][n]={});let k=m[e][n];t.f!=null&&t.v==null?(v.f=t.f,t.ct!=null&&(v.ct=t.ct),m=p.updatecell(e,n,v,!1).data):(t.ct!=null&&(v.ct=t.ct),t.f!=null?v.f=t.f:p.delFunctionGroup(e,n),t.v!=null?v.v=t.v:v.v=k.v,t.m!=null&&(v.m=t.m),Ft(e,n,m,v));for(let b in t){let w=t[b];b in y?be.updateFormatCell(m,b,w,e,e,n,n):k[b]=w}m[e][n]=k}else t.toString().substr(0,1)=="="||t.toString().substr(0,5)=="<span"?m=p.updatecell(e,n,t,!1).data:(p.delFunctionGroup(e,n),Ft(e,n,m,t));setTimeout(()=>{let v;g&&(v=JSON.parse(g)),u&&Ke.createHookFunction("cellUpdated",e,n,v,h.flowdata[e][n],o)},0),f.index==h.currentSheetIndex&&o?Ze(m,[{row:[e,e],column:[n,n]}]):f.data=m,d&&typeof d=="function"&&d(m)}function eg(e,n,t={}){if(!B(e)||!B(n))return U.info("Arguments row and column cannot be null or undefined.","");let l=K(h.currentSheetIndex),{order:a=l,success:o}=Ue({},t),s=$.extend(!0,[],h.luckysheetfile[a].data),u=s[e][n];P(u)=="object"?(delete u.m,delete u.v,u.f!=null&&(delete u.f,p.delFunctionGroup(e,n,a),delete u.spl)):u=null,a===l?Ze(s,[{row:[e,e],column:[n,n]}]):h.luckysheetfile[a].data=s,o&&typeof o=="function"&&o(u)}function tg(e,n,t,l={}){if(!e||["left","up"].indexOf(e)<0)return U.info("Arguments move cannot be null or undefined and its value must be 'left' or 'up'","");if(!B(n)||!B(t))return U.info("Arguments row and column cannot be null or undefined.","");let o=K(h.currentSheetIndex),{order:s=o,success:u}=Ue({},l),d="move"+e.replace(e[0],e[0].toUpperCase()),f;s&&h.luckysheetfile[s]&&(f=h.luckysheetfile[s].index),da(d,n,n,t,t,f),u&&typeof u=="function"&&u()}function Oc(e,n,t,l,a={}){if(!B(e)||!B(n))return U.info("Arguments row or column cannot be null or undefined.","");if(!t)return U.info("Arguments attr cannot be null or undefined.","");let o=K(h.currentSheetIndex),{order:s=o,success:u}=Ue({},a),d=h.luckysheetfile[s];if(d==null)return U.info("The order parameter is invalid.","");let f=$.extend(!0,[],d.data);f.length==0&&(f=ve.buildGridData(d));let m=f[e][n]||{},g=$.extend(!0,{},d.config);if(t=="ct"&&(!l||!l.hasOwnProperty("fa")||!l.hasOwnProperty("t")))return new TypeError("While set attribute 'ct' to cell, the value must have property 'fa' and 't'");if(t=="bd"){g.borderInfo==null&&(g.borderInfo=[]);let y=Ue({rangeType:"range",borderType:"border-all",color:"#000",style:"1",range:[{column:[n,n],row:[e,e]}]},l);g.borderInfo.push(y)}else m[t]=l;f[e][n]=m,d.index==h.currentSheetIndex?(d.config=g,h.config=g,Ze(f,[{row:[e,e],column:[n,n]}])):(d.config=g,d.data=f),u&&typeof u=="function"&&u(m)}function om(e,n={}){if(!e&&e!=0)return U.info("Search content cannot be null or empty","");let t=K(h.currentSheetIndex),{isRegularExpression:l=!1,isWholeWord:a=!1,isCaseSensitive:o=!1,order:s=t,type:u="m"}=Ue({},n),d=h.luckysheetfile[s].data,f=[];for(let m=0;m<d.length;m++){let g=d[m];for(let y=0;y<g.length;y++){let v=g[y];if(!!v)if(v.row=m,v.column=y,a)o?e.toString()==v[u]&&f.push(v):v[u]&&e.toString().toLowerCase()==v[u].toLowerCase()&&f.push(v);else if(l){let k;o?k=new RegExp(D.getRegExpStr(e),"g"):k=new RegExp(D.getRegExpStr(e),"ig"),k.test(v[u])&&f.push(v)}else o?new RegExp(D.getRegExpStr(e),"g").test(v[u])&&f.push(v):new RegExp(D.getRegExpStr(e),"ig").test(v[u])&&f.push(v)}}return f}function lg(e,n,t={}){let l=om(e,t),a=K(h.currentSheetIndex),{order:o=a}=Ue({},t),s=h.luckysheetfile[o];if(s==null)return U.info("The order parameter is invalid.","");let u=$.extend(!0,[],s.data);l.forEach(f=>{f.m=n,ri(f.row,f.column,n,{order:o,isRefresh:!1})});let d=$.extend(!0,[],s.data);return s.data.length=0,s.data.push(...u),s.index==h.currentSheetIndex&&Ze(d,void 0,void 0,!0,!1),Be(),t.success&&typeof t.success=="function"&&t.success(l),l}function rg(e={}){parseInt($("#luckysheet-input-box").css("top"))>0&&($("#luckysheet-formula-search-c").is(":visible")&&p.searchFunctionCell!=null?p.searchFunctionEnter($("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item-active")):(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),h.luckysheet_select_save=[{row:[h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[0]],column:[h.luckysheetCellUpdate[1],h.luckysheetCellUpdate[1]],row_focus:h.luckysheetCellUpdate[0],column_focus:h.luckysheetCellUpdate[1]}]),$("#luckysheet-search-formula-parm").is(":visible")&&$("#luckysheet-search-formula-parm").hide(),$("#luckysheet-search-formula-parm-select").is(":visible")&&$("#luckysheet-search-formula-parm-select").hide()),e.success&&typeof e.success=="function"&&e.success()}function ng(e={}){if(!$("#luckysheet-conditionformat-dialog").is(":visible")){if($("#luckysheet-cell-selected").is(":visible")){let n=h.luckysheet_select_save[h.luckysheet_select_save.length-1],t=n.row_focus,l=n.column_focus;Dl(t,l,h.flowdata)}e.success&&typeof e.success=="function"&&e.success()}}function qo(e){if(X.saveFrozen("freezenRow",e),!e||e==K(h.currentSheetIndex)){let n,t,l;if(X.freezenRealFirstRowColumn){let a=0;l=h.visibledatarow[a]-2+h.columnHeaderHeight,n=[h.visibledatarow[a],a+1,0,X.cutVolumn(h.visibledatarow,a+1),l]}else{let a=$("#luckysheet-cell-main").scrollTop();t=st(h.visibledatarow,a),t==-1&&(t=0),l=h.visibledatarow[t]-2-a+h.columnHeaderHeight,n=[h.visibledatarow[t],t+1,a,X.cutVolumn(h.visibledatarow,t+1),l]}X.saveFreezen(n,l,null,null),X.freezenverticaldata!=null&&(X.cancelFreezenVertical(),X.createAssistCanvas(),Be()),X.createFreezenHorizontal(n,l),X.createAssistCanvas(),Be()}}function jo(e){if(X.saveFrozen("freezenColumn",e),!e||e==K(h.currentSheetIndex)){let n,t,l;if(X.freezenRealFirstRowColumn)t=0,l=h.visibledatacolumn[t]-2+h.rowHeaderWidth,n=[h.visibledatacolumn[t],t+1,0,X.cutVolumn(h.visibledatacolumn,t+1),l];else{let a=$("#luckysheet-cell-main").scrollLeft();t=st(h.visibledatacolumn,a),t==-1&&(t=0),l=h.visibledatacolumn[t]-2-a+h.rowHeaderWidth,n=[h.visibledatacolumn[t],t+1,a,X.cutVolumn(h.visibledatacolumn,t+1),l]}X.saveFreezen(null,null,n,l),X.freezenhorizontaldata!=null&&(X.cancelFreezenHorizontal(),X.createAssistCanvas(),Be()),X.createFreezenVertical(n,l),X.createAssistCanvas(),Be()}}function sm(e,n){let t=Q().freezen;if(!e||!e.hasOwnProperty("row_focus")&&!p.iscelldata(e)){de()?alert(t.noSeletionError):U.info(t.noSeletionError,"");return}if(typeof e=="string"&&p.iscelldata(e)&&(e=p.getcellrange(e),e={row_focus:e.row[0],column_focus:e.column[0]}),X.saveFrozen("freezenRowRange",n,e),!n||n==K(h.currentSheetIndex)){let l=$("#luckysheet-cell-main").scrollTop(),a=st(h.visibledatarow,l),o=e.row_focus;o>a&&(a=o),a==-1&&(a=0);let s=h.visibledatarow[a]-2-l+h.columnHeaderHeight,u=[h.visibledatarow[a],a+1,l,X.cutVolumn(h.visibledatarow,a+1),s];X.saveFreezen(u,s,null,null),X.freezenverticaldata!=null&&(X.cancelFreezenVertical(),X.createAssistCanvas(),Be()),X.createFreezenHorizontal(u,s),X.createAssistCanvas(),Be()}}function cm(e,n){let t=Q().freezen,l=typeof e=="string"&&p.iscelldata(e);if(!e||!e.hasOwnProperty("column_focus")&&!l){de()?alert(t.noSeletionError):U.info(t.noSeletionError,"");return}if(l&&(e=p.getcellrange(e),e={row_focus:e.row[0],column_focus:e.column[0]}),X.saveFrozen("freezenColumnRange",n,e),!n||n==K(h.currentSheetIndex)){let a=$("#luckysheet-cell-main").scrollLeft(),o=st(h.visibledatacolumn,a),s=e.column_focus;s>o&&(o=s),o==-1&&(o=0);let u=h.visibledatacolumn[o]-2-a+h.rowHeaderWidth,d=[h.visibledatacolumn[o],o+1,a,X.cutVolumn(h.visibledatacolumn,o+1),u];X.saveFreezen(null,null,d,u),X.freezenhorizontaldata!=null&&(X.cancelFreezenHorizontal(),X.createAssistCanvas(),Be()),X.createFreezenVertical(d,u),X.createAssistCanvas(),Be()}}function Uo(e){X.saveFrozen("freezenCancel",e),(!e||e==K(h.currentSheetIndex))&&(X.freezenverticaldata!=null&&X.cancelFreezenVertical(),X.freezenhorizontaldata!=null&&X.cancelFreezenHorizontal(),X.createAssistCanvas(),Be())}function ag(e,n={}){let t=K(h.currentSheetIndex),{range:l,order:a=t,success:o}=Ue({},n);Uo(a),e?sm(l,a):qo(a),o&&typeof o=="function"&&o()}function ig(e,n={}){let t=K(h.currentSheetIndex),{range:l,order:a=t,success:o}=Ue({},n);Uo(a),e?cm(l,a):jo(a),o&&typeof o=="function"&&o()}function og(e,n={}){let t=K(h.currentSheetIndex),{range:l,order:a=t,success:o}=Ue({},n),s=!a||a==K(h.currentSheetIndex),u=Q().freezen;if(Uo(a),e){X.saveFrozen("freezenRCRange",a,l);let d=typeof l=="string"&&p.iscelldata(l);if(s){if((!l||!(l.hasOwnProperty("column_focus")&&l.hasOwnProperty("row_focus")))&&!d){de()?alert(u.noSeletionError):U.info(u.noSeletionError,"");return}d&&(l=p.getcellrange(l),l={row_focus:l.row[0],column_focus:l.column[0]});let f=$("#luckysheet-cell-main").scrollTop(),m=st(h.visibledatarow,f),g=l.row_focus;g>m&&(m=g),m==-1&&(m=0);let y=h.visibledatarow[m]-2-f+h.columnHeaderHeight,v=[h.visibledatarow[m],m+1,f,X.cutVolumn(h.visibledatarow,m+1),y];X.saveFreezen(v,y,null,null),X.createFreezenHorizontal(v,y);let k=$("#luckysheet-cell-main").scrollLeft(),b=st(h.visibledatacolumn,k),w=l.column_focus;w>b&&(b=w),b==-1&&(b=0);let x=h.visibledatacolumn[b]-2-k+h.rowHeaderWidth,C=[h.visibledatacolumn[b],b+1,k,X.cutVolumn(h.visibledatacolumn,b+1),x];X.saveFreezen(null,null,C,x),X.createFreezenVertical(C,x),X.createAssistCanvas(),Be()}}else if(X.saveFrozen("freezenRC",a),s){let d=$("#luckysheet-cell-main").scrollTop(),f=st(h.visibledatarow,d);f==-1&&(f=0);let m=h.visibledatarow[f]-2-d+h.columnHeaderHeight,g=[h.visibledatarow[f],f+1,d,X.cutVolumn(h.visibledatarow,f+1),m];X.saveFreezen(g,m,null,null),X.createFreezenHorizontal(g,m);let y=$("#luckysheet-cell-main").scrollLeft(),v=st(h.visibledatacolumn,y);v==-1&&(v=0);let k=h.visibledatacolumn[v]-2-y+h.rowHeaderWidth,b=[h.visibledatacolumn[v],v+1,y,X.cutVolumn(h.visibledatacolumn,v+1),k];X.saveFreezen(null,null,b,k),X.createFreezenVertical(b,k),X.createAssistCanvas(),Be()}}function Bc(e,n=0,t={}){if(!B(n))return U.info("The index parameter is invalid.","");let l=K(h.currentSheetIndex),{number:a=1,order:o=l,success:s}=Ue({},t),d=Q().info;if(!B(a)){de()?alert(d.tipInputNumber):U.info(d.tipInputNumber,"");return}if(a=parseInt(a),a<1||a>100){de()?alert(d.tipInputNumberLimit):U.info(d.tipInputNumberLimit,"");return}let f;isNaN(o)||h.luckysheetfile[o]&&(f=h.luckysheetfile[o].index),Ir(e,n,a,"lefttop",f),s&&typeof s=="function"&&s()}function Hc(e,n=0,t={}){if(!B(n))return U.info("The index parameter is invalid.","");let l=K(h.currentSheetIndex),{number:a=1,order:o=l,success:s}=Ue({},t),d=Q().info;if(!B(a)){de()?alert(d.tipInputNumber):U.info(d.tipInputNumber,"");return}if(a=parseInt(a),a<1||a>100){de()?alert(d.tipInputNumberLimit):U.info(d.tipInputNumberLimit,"");return}let f;o&&h.luckysheetfile[o]&&(f=h.luckysheetfile[o].index),Ir(e,n,a,"rightbottom",f),s&&typeof s=="function"&&s()}function sg(e=0,n={}){Bc("row",e,n)}function cg(e=0,n={}){Hc("row",e,n)}function ug(e=0,n={}){Bc("column",e,n)}function hg(e=0,n={}){Hc("column",e,n)}function Vc(e,n,t,l={}){if(!B(n)||!B(t))return U.info("Please enter the index for deleting rows or columns correctly.","");let a=K(h.currentSheetIndex),{order:o=a,success:s}=Ue({},l),u;o&&h.luckysheetfile[o]&&(u=h.luckysheetfile[o].index),Vn(e,n,t,u),s&&typeof s=="function"&&s()}function dg(e,n,t={}){Vc("row",e,n,t)}function fg(e,n,t={}){Vc("column",e,n,t)}function qc(e,n,t,l={}){if(!B(n)||!B(t))return U.info("Please enter the index for deleting rows or columns correctly.","");let a=K(h.currentSheetIndex),{order:o=a,saveParam:s=!0,success:u}=Ue({},l),d=h.luckysheetfile[o],f=e==="row"?"rowhidden":"colhidden",m=$.extend(!0,{},d.config);m[f]==null&&(m[f]={});for(let g=n;g<=t;g++)m[f][g]=0;if(h.clearjfundo){let g={};g.type=e==="row"?"showHidRows":"showHidCols",g.sheetIndex=d.index,g.config=$.extend(!0,{},d.config),g.curconfig=m,h.jfundo.length=0,h.jfredo.push(g)}h.luckysheetfile[o].config=m,s&&ne.saveParam("cg",d.index,m[f],{k:f}),o==a&&(h.config=m,St(h.flowdata.length,h.flowdata[0].length)),u&&typeof u=="function"&&u()}function jc(e,n,t,l={}){if(!B(n)||!B(t))return U.info("Please enter the index for deleting rows or columns correctly.","");let a=K(h.currentSheetIndex),{order:o=a,saveParam:s=!0,success:u}=Ue({},l),d=h.luckysheetfile[o],f=e==="row"?"rowhidden":"colhidden",m=$.extend(!0,{},d.config);if(m[f]!=null){for(let g=n;g<=t;g++)delete m[f][g];if(h.clearjfundo){let g={};g.type=e==="row"?"showHidRows":"showHidCols",g.sheetIndex=d.index,g.config=$.extend(!0,{},d.config),g.curconfig=m,h.jfundo.length=0,h.jfredo.push(g)}h.luckysheetfile[o].config=h.config,s&&ne.saveParam("cg",d.index,m[f],{k:f}),o===a&&(h.config=m,St(h.flowdata.length,h.flowdata[0].length)),u&&typeof u=="function"&&u()}}function mg(e,n,t={}){qc("row",e,n,t)}function pg(e,n,t={}){jc("row",e,n,t)}function gg(e,n,t={}){qc("column",e,n,t)}function yg(e,n,t={}){jc("column",e,n,t)}function vg(e,n={}){if(P(e)!="object")return U.info("The rowInfo parameter is invalid.","");let{order:t=K(h.currentSheetIndex),success:l}=Ue({},n),a=h.luckysheetfile[t];if(a==null)return U.info("The order parameter is invalid.","");let o=$.extend(!0,{},a.config);o.rowlen==null&&(o.rowlen={});for(let s in e)if(parseInt(s)>=0){let u=e[s];u==="auto"?o.rowlen[parseInt(s)]=u:Number(u)>=0&&(o.rowlen[parseInt(s)]=Number(u))}a.config=o,ne.saveParam("cg",a.index,o.rowlen,{k:"rowlen"}),a.index==h.currentSheetIndex&&(h.config=o,St(h.flowdata.length,h.flowdata[0].length)),l&&typeof l=="function"&&l()}function kg(e,n={}){if(P(e)!="object")return U.info("The columnInfo parameter is invalid.","");let{order:t=K(h.currentSheetIndex),success:l}=Ue({},n),a=h.luckysheetfile[t];if(a==null)return U.info("The order parameter is invalid.","");let o=$.extend(!0,{},a.config);o.columnlen==null&&(o.columnlen={});for(let s in e)if(parseInt(s)>=0){let u=e[s];u==="auto"?o.columnlen[parseInt(s)]=u:Number(u)>=0&&(o.columnlen[parseInt(s)]=Number(u))}a.config=o,ne.saveParam("cg",a.index,o.columnlen,{k:"columnlen"}),a.index==h.currentSheetIndex&&(h.config=o,St(h.flowdata.length,h.flowdata[0].length)),l&&typeof l=="function"&&l()}function bg(e,n={}){if(P(e)!="array"||e.length==0)return U.info("The rowInfo parameter is invalid.","");let{order:t=K(h.currentSheetIndex),success:l}=Ue({},n),a=h.luckysheetfile[t];if(a==null)return U.info("The order parameter is invalid.","");let s=$.extend(!0,{},a.config).rowlen||{},u={};return e.forEach(d=>{if(parseInt(d)>=0){let f=s[parseInt(d)]||h.defaultrowlen;u[parseInt(d)]=f}}),setTimeout(()=>{l&&typeof l=="function"&&l()},1),u}function wg(e,n={}){if(P(e)!="array"||e.length==0)return U.info("The columnInfo parameter is invalid.","");let{order:t=K(h.currentSheetIndex),success:l}=Ue({},n),a=h.luckysheetfile[t];if(a==null)return U.info("The order parameter is invalid.","");let s=$.extend(!0,{},a.config).columnlen||{},u={};return e.forEach(d=>{if(parseInt(d)>=0){let f=s[parseInt(d)]||h.defaultcollen;u[parseInt(d)]=f}}),setTimeout(()=>{l&&typeof l=="function"&&l()},1),u}function xg(e={}){let{order:n=K(h.currentSheetIndex),success:t}=Ue({},e);return setTimeout(()=>{t&&typeof t=="function"&&t()},1),h.luckysheetfile[n].defaultRowHeight||h.defaultrowlen}function _g(e={}){let{order:n=K(h.currentSheetIndex),success:t}=Ue({},e);return setTimeout(()=>{t&&typeof t=="function"&&t()},1),h.luckysheetfile[n].defaultColWidth||h.defaultcollen}function um(){let e=JSON.parse(JSON.stringify(h.luckysheet_select_save)),n=[];for(let t=0;t<e.length;t++){let l=e[t],a={row:l.row,column:l.column};n.push(a)}return n}function Uc(e){e=e||um();let n=[];return e.forEach(t=>{let l=t.row,a=t.column;for(let o=l[0];o<=l[1];o++)for(let s=a[0];s<=a[1];s++)n.push({r:o,c:s})}),n}function Cg(e){e=e||Uc();let n=[];return e.forEach(t=>{n.push(h.flowdata[t.r][t.c])}),n}function Tg(){let e=[],n=JSON.parse(JSON.stringify(h.luckysheet_select_save)),t=h.currentSheetIndex;return n.forEach(l=>{let a=wt(t,{column:l.column,row:l.row});e.push(a)}),e}function Sg(e={}){let n=K(h.currentSheetIndex),{range:t,order:l=n}=Ue({},e),a=h.luckysheetfile[l];if(!t||typeof t=="object")return zt(t,a.index);if(typeof t=="string"){if(p.iscelldata(t))return zt(p.getcellrange(t),a.index);U.info("The range is invalid, please check range parameter.","")}}function $g(e={}){let{range:n=h.luckysheet_select_save,order:t=K(h.currentSheetIndex),success:l}=Ue({},e);if(n=JSON.parse(JSON.stringify(n)),P(n)=="string"){if(!p.iscelldata(n))return U.info("The range parameter is invalid.","");let v=p.getcellrange(n);n=[{row:v.row,column:v.column}]}else if(P(n)=="object"){if(n.row==null||n.column==null)return U.info("The range parameter is invalid.","");n=[{row:n.row,column:n.column}]}if(P(n)!="array")return U.info("The range parameter is invalid.","");let a=h.luckysheetfile[t];if(a==null)return U.info("The order parameter is invalid.","");let o=$.extend(!0,{},a.config);if(o.merge!=null){let v=!1;for(let k=0;k<n.length;k++){let b=n[k].row[0],w=n[k].row[1],x=n[k].column[0],C=n[k].column[1];if(v=Nt(o,b,w,x,C),v)break}if(v)return U.info("Cannot perform this operation on partially merged cells","")}let s=$.extend(!0,[],a.luckysheet_conditionformat_save);if(n.length>1&&s.length>0){let v=!1,k=Se.getComputeMap(a.index);for(let b=0;b<n.length;b++){let w=n[b].row[0],x=n[b].row[1],C=n[b].column[0],S=n[b].column[1];for(let _=w;_<=x;_++){for(let T=C;T<=S;T++)if(Se.checksCF(_,T,k)!=null){v=!0;break}if(v)break}if(v)break}if(v)return U.info("Cannot perform this operation on multiple selection areas, please select a single area","")}if(n.length>1){let v=!0,k=n[0].row[0],b=n[0].row[1],w=!0,x=n[0].column[0],C=n[0].column[1];for(let S=1;S<n.length;S++)(n[S].row[0]!=k||n[S].row[1]!=b)&&(v=!1),(n[S].column[0]!=x||n[S].column[1]!=C)&&(w=!1);if(!v&&!w||Kr(n))return U.info("Cannot perform this operation on multiple selection areas, please select a single area","")}let u=[],d=[];for(let v=0;v<n.length;v++){let k=n[v].row[0],b=n[v].row[1],w=n[v].column[0],x=n[v].column[1];for(let C=k;C<=b;C++)if(!(o.rowhidden!=null&&o.rowhidden[C]!=null)){u.includes(C)||u.push(C);for(let S=w;S<=x;S++)o.colhidden!=null&&o.colhidden[S]!=null||d.includes(S)||d.push(S)}}let f;o.borderInfo&&o.borderInfo.length>0&&(f=Wr(a.index));let m=a.data;(m==null||m.length==0)&&(m=ve.buildGridData(a));let g="",y="";u=u.sort((v,k)=>v-k),d=d.sort((v,k)=>v-k);for(let v=0;v<u.length;v++){let k=u[v];if(!(o.rowhidden!=null&&o.rowhidden[k]!=null)){g+="<tr>";for(let b=0;b<d.length;b++){let w=d[b];if(o.colhidden!=null&&o.colhidden[w]!=null)continue;let x='<td ${span} style="${style}">';if(m[k]!=null&&m[k][w]!=null){let C="",S="";k==u[0]&&(o.columnlen==null||o.columnlen[w.toString()]==null?y+='<colgroup width="72px"></colgroup>':y+='<colgroup width="'+o.columnlen[w.toString()]+'px"></colgroup>'),w==d[0]&&(o.rowlen==null||o.rowlen[k.toString()]==null?C+="height:19px;":C+="height:"+o.rowlen[k.toString()]+"px;");let _=/^(w|W)((0?)|(0\.0+))$/,T;if(m[k][w].ct!=null&&m[k][w].ct.fa!=null&&m[k][w].ct.fa.match(_)?T=ze(k,w,m):T=ze(k,w,m,"m"),C+=be.getStyleByCell(m,k,w),P(m[k][w])=="object"&&"mc"in m[k][w])if("rs"in m[k][w].mc){if(S='rowspan="'+m[k][w].mc.rs+'" colspan="'+m[k][w].mc.cs+'"',f&&f[k+"_"+w]){let A={color:{},style:{}},R={color:{},style:{}},I={color:{},style:{}},F={color:{},style:{}};for(let N=k;N<k+m[k][w].mc.rs;N++)for(let E=w;E<w+m[k][w].mc.cs;E++){if(N==k&&f[N+"_"+E]&&f[N+"_"+E].t){let L=f[N+"_"+E].t.style,O=f[N+"_"+E].t.color;I.style[L]==null?I.style[L]=1:I.style[L]=I.style[L]+1,I.color[O]==null?I.color[O]=1:I.color[O]=I.color[O]+1}if(N==k+m[k][w].mc.rs-1&&f[N+"_"+E]&&f[N+"_"+E].b){let L=f[N+"_"+E].b.style,O=f[N+"_"+E].b.color;F.style[L]==null?F.style[L]=1:F.style[L]=F.style[L]+1,F.color[O]==null?F.color[O]=1:F.color[O]=F.color[O]+1}if(E==w&&f[N+"_"+E]&&f[N+"_"+E].l){let L=f[k+"_"+w].l.style,O=f[N+"_"+E].l.color;A.style[L]==null?A.style[L]=1:A.style[L]=A.style[L]+1,A.color[O]==null?A.color[O]=1:A.color[O]=A.color[O]+1}if(E==w+m[k][w].mc.cs-1&&f[N+"_"+E]&&f[N+"_"+E].r){let L=f[N+"_"+E].r.style,O=f[N+"_"+E].r.color;R.style[L]==null?R.style[L]=1:R.style[L]=R.style[L]+1,R.color[O]==null?R.color[O]=1:R.color[O]=R.color[O]+1}}let z=m[k][w].mc.rs,M=m[k][w].mc.cs;if(JSON.stringify(A).length>23){let N=null,E=null;for(let L in A.color)A.color[L]>=z/2&&(N=L);for(let L in A.style)A.style[L]>=z/2&&(E=L);N!=null&&E!=null&&(C+="border-left:"+Ct.getHtmlBorderStyle(E,N))}if(JSON.stringify(R).length>23){let N=null,E=null;for(let L in R.color)R.color[L]>=z/2&&(N=L);for(let L in R.style)R.style[L]>=z/2&&(E=L);N!=null&&E!=null&&(C+="border-right:"+Ct.getHtmlBorderStyle(E,N))}if(JSON.stringify(I).length>23){let N=null,E=null;for(let L in I.color)I.color[L]>=M/2&&(N=L);for(let L in I.style)I.style[L]>=M/2&&(E=L);N!=null&&E!=null&&(C+="border-top:"+Ct.getHtmlBorderStyle(E,N))}if(JSON.stringify(F).length>23){let N=null,E=null;for(let L in F.color)F.color[L]>=M/2&&(N=L);for(let L in F.style)F.style[L]>=M/2&&(E=L);N!=null&&E!=null&&(C+="border-bottom:"+Ct.getHtmlBorderStyle(E,N))}}}else continue;else if(f&&f[k+"_"+w]){if(f[k+"_"+w].l){let A=f[k+"_"+w].l.style,R=f[k+"_"+w].l.color;C+="border-left:"+Ct.getHtmlBorderStyle(A,R)}if(f[k+"_"+w].r){let A=f[k+"_"+w].r.style,R=f[k+"_"+w].r.color;C+="border-right:"+Ct.getHtmlBorderStyle(A,R)}if(f[k+"_"+w].b){let A=f[k+"_"+w].b.style,R=f[k+"_"+w].b.color;C+="border-bottom:"+Ct.getHtmlBorderStyle(A,R)}if(f[k+"_"+w].t){let A=f[k+"_"+w].t.style,R=f[k+"_"+w].t.color;C+="border-top:"+Ct.getHtmlBorderStyle(A,R)}}x=_e(x,{style:C,span:S}),T==null&&(T=ze(k,w,m)),T==null&&(T=" "),x+=T}else{let C="";if(f&&f[k+"_"+w]){if(f[k+"_"+w].l){let S=f[k+"_"+w].l.style,_=f[k+"_"+w].l.color;C+="border-left:"+Ct.getHtmlBorderStyle(S,_)}if(f[k+"_"+w].r){let S=f[k+"_"+w].r.style,_=f[k+"_"+w].r.color;C+="border-right:"+Ct.getHtmlBorderStyle(S,_)}if(f[k+"_"+w].b){let S=f[k+"_"+w].b.style,_=f[k+"_"+w].b.color;C+="border-bottom:"+Ct.getHtmlBorderStyle(S,_)}if(f[k+"_"+w].t){let S=f[k+"_"+w].t.style,_=f[k+"_"+w].t.color;C+="border-top:"+Ct.getHtmlBorderStyle(S,_)}}x+="",k==u[0]&&(o.columnlen==null||o.columnlen[w.toString()]==null?y+='<colgroup width="72px"></colgroup>':y+='<colgroup width="'+o.columnlen[w.toString()]+'px"></colgroup>'),w==d[0]&&(o.rowlen==null||o.rowlen[k.toString()]==null?C+="height:19px;":C+="height:"+o.rowlen[k.toString()]+"px;"),x=_e(x,{style:C,span:""}),x+=" "}x+="</td>",g+=x}g+="</tr>"}}return g='<table data-type="luckysheet_copy_action_table">'+y+g+"</table>",g}function Ig(e,n={}){if(!["oneDimensional","twoDimensional"].includes(e))return U.info("The dimensional parameter is invalid.","");let{range:l=h.luckysheet_select_save[h.luckysheet_select_save.length-1],order:a=K(h.currentSheetIndex)}=Ue({},n),o=h.luckysheetfile[a];if(o==null)return U.info("The order parameter is invalid.","");if(P(l)=="string"){if(!p.iscelldata(l))return U.info("The range parameter is invalid.","");l=p.getcellrange(l)}if(P(l)!="object"||l.row==null||l.column==null)return U.info("The range parameter is invalid.","");let s=l.row[0],u=l.row[1],d=l.column[0],f=l.column[1],m=$.extend(!0,{},o.config);if(m.merge!=null&&Nt(m,s,u,d,f))return U.info("Cannot perform this operation on partially merged cells","");let g=o.data;(g==null||g.length==0)&&(g=ve.buildGridData(o));let y=[];if(e=="oneDimensional")for(let v=s;v<=u;v++)for(let k=d;k<=f;k++){let b=g[v][k];b==null||b.v==null?y.push(null):y.push(b.v)}else if(e=="twoDimensional")for(let v=s;v<=u;v++){let k=[];for(let b=d;b<=f;b++){let w=g[v][b];w==null||w.v==null?k.push(null):k.push(w.v)}y.push(k)}return y}function Rg(e,n={}){let t=h.luckysheet_select_save[0],l=K(h.currentSheetIndex),{range:a=t,order:o=l}=Ue({},n),s=h.luckysheetfile[o],u=s.config;if(a&&typeof a=="string"&&p.iscelldata(a)&&(a=p.getcellrange(a)),!a||a.length>1){de()?alert(locale_drag.noMulti):U.info(locale_drag.noMulti,"");return}if(u.merge!=null){let m=!1,g=a.row[0],y=a.row[1],v=a.column[0],k=a.column[1];if(m=Nt(u,g,y,v,k),m){de()?alert(Q().drag.noPartMerge):U.info(Q().drag.noPartMerge,"");return}}let d=zt(a,s.index),f=[];if(d.length!==0){if(e)if(d.length===1){let m={};for(let g=0;g<d[0].length;g++)m[ze(0,g,d)]="";f.push(m)}else for(let m=1;m<d.length;m++){let g={};for(let y=0;y<d[0].length;y++)ze(0,y,d)==null?g[""]=ze(m,y,d):g[ze(0,y,d)]=ze(m,y,d);f.push(g)}else{let m=a.column[0];for(let g=0;g<d.length;g++){let y={};for(let v=0;v<d[0].length;v++)y[lt(v+m)]=ze(g,v,d);f.push(y)}}return f}}function Ag(e,n={}){if(["normal","anti","offset"].indexOf(e)<0)return U.info("The type parameter must be included in ['normal', 'anti', 'offset']","");let l=K(h.currentSheetIndex),a=JSON.parse(JSON.stringify(h.luckysheet_select_save)),{column:o=1,range:s=a,order:u=l}=Ue({},n),f=h.luckysheetfile[u].config;if(s&&typeof s=="string"&&p.iscelldata(s)&&(s=p.getcellrange(s)),!s||s.length>1){de()?alert(Q().drag.noMulti):U.info(Q().drag.noMulti,"");return}if(f.merge!=null){let v=!1,k=s[0].row[0],b=s[0].row[1],w=s[0].column[0],x=s[0].column[1];if(v=Nt(f,k,b,w,x),v){de()?alert(Q().drag.noPartMerge):U.info(Q().drag.noPartMerge,"");return}}let m=zt(s,u),g=[];if(m.length===0)return;let y=m[0].length;switch(e){case"normal":for(let v=0;v<m.length&&!(v>=y);v++)g.push(m[v][v]);break;case"anti":for(let v=0;v<m.length&&!(v>=y);v++)g.push(m[v][y-v-1]);break;case"offset":if(o.toString()=="NaN"){de()?alert(Q().drag.inputCorrect):U.info(Q().drag.inputCorrect,"");return}if(o<0){de()?alert(Q().drag.offsetColumnLessZero):U.info(Q().drag.offsetColumnLessZero,"");return}for(let v=0;v<m.length&&!(v+o>=y);v++)g.push(m[v][v+o]);break}Ct.copybyformat(new Event,JSON.stringify(g))}function Dg(e={}){let n=K(h.currentSheetIndex),t=JSON.parse(JSON.stringify(h.luckysheet_select_save)),{range:l=t,order:a=n}=Ue({},e),s=h.luckysheetfile[a].config;if(l&&typeof l=="string"&&p.iscelldata(l)&&(l=p.getcellrange(l)),!l||l.length>1){de()?alert(Q().drag.noMulti):U.info(Q().drag.noMulti,"");return}if(s.merge!=null){let f=!1,m=l[0].row[0],g=l[0].row[1],y=l[0].column[0],v=l[0].column[1];if(f=Nt(s,m,g,y,v),f){de()?alert(Q().drag.noPartMerge):U.info(Q().drag.noPartMerge,"");return}}let u=zt(l,a),d=[];if(u.length!==0){for(let f=0;f<u.length;f++){let m=[];for(let g=0;g<u[0].length;g++){let y=!1,v;P(u[f][g])=="object"?v=u[f][g].v:v=u[f][g],v==null||v==""?y=!1:(v=parseInt(v),v==null||v>0?y=!0:y=!1),m.push(y)}d.push(m)}Ct.copybyformat(event,JSON.stringify(d))}}function Mg(e,n={}){if(P(e)=="string"){if(!p.iscelldata(e))return U.info("The range parameter is invalid.","");let s=p.getcellrange(e);e=[{row:s.row,column:s.column}]}else if(P(e)=="object"){if(e.row==null||e.column==null)return U.info("The range parameter is invalid.","");e=[{row:e.row,column:e.column}]}if(P(e)=="array"){for(let s=0;s<e.length;s++)if(P(e[s])==="string"){if(!p.iscelldata(e[s]))return U.info("The range parameter is invalid.","");let u=p.getcellrange(e[s]);e[s]={row:u.row,column:u.column}}else if(P(e)=="object"){if(e.row==null||e.column==null)return U.info("The range parameter is invalid.","");e={row:e.row,column:e.column}}}if(P(e)!="array")return U.info("The range parameter is invalid.","");let{show:t=!0,order:l=K(h.currentSheetIndex),success:a}=Ue({},n),o=h.luckysheetfile[l];if(o==null)return U.info("The order parameter is invalid.","");for(let s=0;s<e.length;s++){let u=be.mergeMoveMain(e[s].column,e[s].row,e[s]);u&&(e[s]={row:u[1],column:u[0]})}o.luckysheet_select_save=e,o.index==h.currentSheetIndex&&(h.luckysheet_select_save=e,tt(),t||($("#luckysheet-cell-selected-boxs").hide(),$("#luckysheet-cell-selected-focus").hide(),$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide(),$("#luckysheet-rows-h-selected").empty(),$("#luckysheet-cols-h-selected").empty())),a&&typeof a=="function"&&a()}function Fg(e,n={}){let t=K(h.currentSheetIndex),l=h.luckysheet_select_save[h.luckysheet_select_save.length-1],{range:a=l,isRefresh:o=!0,order:s=t,success:u}=Ue({},n);if(e==null)return U.info("The data which will be set to range cannot be null.","");if(a instanceof Array)return U.info("setRangeValue only supports a single selection.","");typeof a=="string"&&p.iscelldata(a)&&(a=p.getcellrange(a));let d=a.row[1]-a.row[0]+1,f=a.column[1]-a.column[0]+1;if(e.length!==d||e[0].length!==f)return U.info("The data to be set does not match the selection.","");let m=h.luckysheetfile[s];if(m==null)return U.info("The order parameter is invalid.","");let g=$.extend(!0,[],m.data);for(let v=0;v<d;v++)for(let k=0;k<f;k++){let b=a.row[0]+v,w=a.column[0]+k;ri(b,w,e[v][k],{order:s,isRefresh:!1})}let y=$.extend(!0,[],m.data);m.data.length=0,m.data.push(...g),m.index==h.currentSheetIndex&&Ze(y,[{row:a.row,column:a.column}],void 0,!0,!1),o&&Be(),u&&typeof u=="function"&&u()}function hm(e,n,t={}){let l=K(h.currentSheetIndex),a=h.luckysheet_select_save[h.luckysheet_select_save.length-1],{range:o=a,order:s=l}=Ue({},t);if(!e)return U.info("Arguments attr cannot be null or undefined.",""),"error";if(o instanceof Array)return U.info("setRangeValue only supports a single selection.",""),"error";if(P(o)=="string"){if(!p.iscelldata(o))return U.info("The range parameter is invalid.",""),"error";o=p.getcellrange(o)}if(P(o)!="object"||o.row==null||o.column==null)return U.info("The range parameter is invalid.",""),"error";for(let u=o.row[0];u<=o.row[1];u++)for(let d=o.column[0];d<=o.column[1];d++)console.log("r",u),console.log("c",d),ri(u,d,{[e]:n},{order:s,isRefresh:!1})}function Eg(e,n,t={}){let l=K(h.currentSheetIndex),a=JSON.parse(JSON.stringify(h.luckysheet_select_save)),{range:o=a,order:s=l,success:u}=Ue({},t);if(P(o)=="string"){if(!p.iscelldata(o))return U.info("The range parameter is invalid.","");let g=p.getcellrange(o);o=[{row:g.row,column:g.column}]}else if(P(o)=="object"){if(o.row==null||o.column==null)return U.info("The range parameter is invalid.","");o=[{row:o.row,column:o.column}]}if(P(o)!="array")return U.info("The range parameter is invalid.","");let d=h.luckysheetfile[s],f=[];for(let g=0;g<o.length;g++)f.push(hm(e,n,{range:o[g],order:s}));let m=$.extend(!0,[],d.data);if(f.some(g=>g==="error"))return d.data.length=0,d.data.push(...m),!1;d.data.length=0,d.data.push(...m),d.index==h.currentSheetIndex&&Ze(m,void 0,void 0,!0,!1),Be(),u&&typeof u=="function"}function Ng(e,n={}){if(!["open","close"].includes(e))return U.info("The type parameter is invalid.","");let{range:l=h.luckysheet_select_save[h.luckysheet_select_save.length-1],order:a=K(h.currentSheetIndex),success:o}=Ue({},n),s=h.luckysheetfile[a];if(s==null)return U.info("The order parameter is invalid.","");if(P(l)=="string"){if(!p.iscelldata(l))return U.info("The range parameter is invalid.","");l=p.getcellrange(l)}if(P(l)!="object"||l.row==null||l.column==null)return U.info("The range parameter is invalid.","");if(setTimeout(()=>{o&&typeof o=="function"&&o()},1),e=="open")return s.filter_select=l,s.index==h.currentSheetIndex&&Fl(l,s.filter),{row:l.row,column:l.column};if(e=="close"){let u=$.extend(!0,{},s.filter_select);return s.filter_select=null,$("#luckysheet-filter-selected-sheet"+s.index).remove(),$("#luckysheet-filter-options-sheet"+s.index).remove(),{row:u.row,column:u.column}}}function Pg(e,n={}){if(["all","horizontal","vertical"].indexOf(e)<0)return U.info("The type parameter must be included in ['all', 'horizontal', 'vertical']","");let l=K(h.currentSheetIndex),a=JSON.parse(JSON.stringify(h.luckysheet_select_save)),{range:o=a,order:s=l,success:u}=Ue({},n),d=h.luckysheetfile[s],f=$.extend(!0,{},d.config),m=$.extend(!0,[],d.data);if(m.length==0&&(m=$.extend(!0,[],ve.buildGridData(d))),P(o)=="string"){if(!p.iscelldata(o))return U.info("Incorrect selection format","");let y=p.getcellrange(o);o=[{row:y.row,column:y.column}]}else if(P(o)=="object"){if(!o.hasOwnProperty("row")||!o.hasOwnProperty("column"))return U.info("Incorrect selection format","");o=[{row:o.row,column:o.column}]}if(Kr(o))return U.info("Cannot merge overlapping range","");if(f.merge!=null){let y=!1;for(let v=0;v<o.length;v++){let k=o[v].row[0],b=o[v].row[1],w=o[v].column[0],x=o[v].column[1];if(y=Nt(f,k,b,w,x),y)break}if(y)return U.info("Cannot perform this operation on partially merged cells","")}else f.merge={};let g=!1;for(let y=0;y<o.length;y++){let v=o[y].row[0],k=o[y].row[1],b=o[y].column[0],w=o[y].column[1];for(let x=v;x<=k;x++){for(let C=b;C<=w;C++){let S=m[x][C];if(P(S)=="object"&&"mc"in S){g=!0;break}}if(g)break}}if(g)dm({range:o,order:s});else{for(let y=0;y<o.length;y++){let v=o[y].row[0],k=o[y].row[1],b=o[y].column[0],w=o[y].column[1];if(!(v==k&&b==w)){if(e=="all"){let x={},C=!1;for(let S=v;S<=k;S++)for(let _=b;_<=w;_++){let T=m[S][_];T!=null&&(!fe(T.v)||T.f!=null)&&!C&&(x=$.extend(!0,{},T),C=!0),m[S][_]={mc:{r:v,c:b}}}m[v][b]=x,m[v][b].mc={r:v,c:b,rs:k-v+1,cs:w-b+1},f.merge[v+"_"+b]={r:v,c:b,rs:k-v+1,cs:w-b+1}}else if(e=="vertical")for(let x=b;x<=w;x++){let C={},S=!1;for(let _=v;_<=k;_++){let T=m[_][x];T!=null&&(!fe(T.v)||T.f!=null)&&!S&&(C=$.extend(!0,{},T),S=!0),m[_][x]={mc:{r:v,c:x}}}m[v][x]=C,m[v][x].mc={r:v,c:x,rs:k-v+1,cs:1},f.merge[v+"_"+x]={r:v,c:x,rs:k-v+1,cs:1}}else if(e=="horizontal")for(let x=v;x<=k;x++){let C={},S=!1;for(let _=b;_<=w;_++){let T=m[x][_];T!=null&&(!fe(T.v)||T.f!=null)&&!S&&(C=$.extend(!0,{},T),S=!0),m[x][_]={mc:{r:x,c:b}}}m[x][b]=C,m[x][b].mc={r:x,c:b,rs:1,cs:w-b+1},f.merge[x+"_"+b]={r:x,c:b,rs:1,cs:w-b+1}}}}s==l?(h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"mergeChange",sheetIndex:d.index,data:$.extend(!0,[],d.data),curData:m,range:o,config:$.extend(!0,{},d.config),curConfig:f})),h.clearjfundo=!1,Ze(m,o,{cfg:f}),h.clearjfundo=!0):(d.data=m,d.config=f)}u&&typeof u=="function"&&u()}function dm(e={}){let n=h.luckysheet_select_save,t=K(h.currentSheetIndex),{range:l=n,order:a=t,success:o}=Ue({},e),s=h.luckysheetfile[a],u=$.extend(!0,{},s.config),d=$.extend(!0,[],s.data);if(d.length==0&&(d=$.extend(!0,[],ve.buildGridData(s))),P(l)=="string"){if(!p.iscelldata(l))return U.info("Incorrect selection format","");let f=p.getcellrange(l);l=[{row:f.row,column:f.column}]}else if(P(l)=="object"){if(!l.hasOwnProperty("row")||!l.hasOwnProperty("column"))return U.info("Incorrect selection format","");l=[{row:l.row,column:l.column}]}if(Kr(l))return U.info("Cannot merge overlapping range","");if(u.merge!=null){let f=!1;for(let m=0;m<l.length;m++){let g=l[m].row[0],y=l[m].row[1],v=l[m].column[0],k=l[m].column[1];if(f=Nt(u,g,y,v,k),f)break}if(f)return U.info("Cannot perform this operation on partially merged cells","")}for(let f=0;f<l.length;f++){let m=l[f].row[0],g=l[f].row[1],y=l[f].column[0],v=l[f].column[1];if(m==g&&y==v)continue;let k={};for(let b=m;b<=g;b++)for(let w=y;w<=v;w++){let x=d[b][w];if(x!=null&&x.mc!=null){let C=x.mc.r,S=x.mc.c;if("rs"in x.mc)delete x.mc,delete u.merge[C+"_"+S],k[C+"_"+S]=$.extend(!0,{},x);else{let _=JSON.parse(JSON.stringify(k[C+"_"+S]));delete _.v,delete _.m,delete _.ct,delete _.f,delete _.spl,d[b][w]=_}}}}a==t?(h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"mergeChange",sheetIndex:s.index,data:$.extend(!0,[],s.data),curData:d,range:l,config:$.extend(!0,{},s.config),curConfig:u})),h.clearjfundo=!1,Ze(d,l,{cfg:u}),h.clearjfundo=!0):(s.data=d,s.config=u)}function Lg(e,n={}){if(["asc","desc"].indexOf(e)<0)return U.info("The type parameter must be included in ['asc', 'desc'","");let l=K(h.currentSheetIndex),a=h.luckysheet_select_save[0],{range:o=a,order:s=l,success:u}=Ue({},n),d=h.luckysheetfile[s],f=$.extend(!0,{},d.config),m=$.extend(!0,[],d.data);if(m.length==0&&(m=$.extend(!0,[],ve.buildGridData(d))),o instanceof Array&&o.length>1){U.info(Q().sort.noRangeError,"");return}o&&typeof o=="string"&&p.iscelldata(o)&&(o=p.getcellrange(o));let g=o.row[0],y=o.row[1],v=o.column[0],k=o.column[1],b=!1,w=[];for(let C=g;C<=y;C++){let S=[];for(let _=v;_<=k;_++){if(m[C][_]!=null&&m[C][_].mc!=null){b=!0;break}S.push(m[C][_])}w.push(S)}if(b){U.info(Q().sort.mergeError,"");return}w=Vr([].concat(w),0,e==="asc");for(let C=g;C<=y;C++)for(let S=v;S<=k;S++)m[C][S]=w[C-g][S-v];let x={};f.rowlen!=null&&(f=yl(m,g,y,f),x={cfg:f,RowlChange:!0}),d.index==h.currentSheetIndex?Ze(m,[{row:[g,y],column:[v,k]}],x):(d.data=m,d.config=f),u&&typeof u=="function"&&u()}function zg(e,n,t={}){if(!n||!(n instanceof Array))return U.info("The sort parameter is invalid.","");let l=K(h.currentSheetIndex),a=h.luckysheet_select_save[0],{range:o=a,order:s=l,success:u}=Ue({},t),d=h.luckysheetfile[s],f=$.extend(!0,{},d.config),m=$.extend(!0,[],d.data);if(m.length==0&&(m=$.extend(!0,[],ve.buildGridData(d))),o instanceof Array&&o.length>1){U.info(Q().sort.noRangeError,"");return}o&&typeof o=="string"&&p.iscelldata(o)&&(o=p.getcellrange(o));let g=o.row[0],y=o.row[1],v=o.column[0],k=o.column[1],b;e?b=g+1:b=g;let w=!1,x=[];for(let S=b;S<=y;S++){let _=[];for(let T=v;T<=k;T++){if(m[S][T]!=null&&m[S][T].mc!=null){w=!0;break}_.push(m[S][T])}x.push(_)}if(w){U.info(Q().sort.mergeError,"");return}n.forEach(S=>{let _=S.i;_-=v,x=Vr([].concat(x),_,S.sort==="asc")});for(let S=b;S<=y;S++)for(let _=v;_<=k;_++)m[S][_]=x[S-b][_-v];let C={};f.rowlen!=null&&(f=yl(m,b,y,f),C={cfg:f,RowlChange:!0}),d.index===h.currentSheetIndex?Ze(m,[{row:[b,y],column:[v,k]}],C):(d.data=m,d.config=f),u&&typeof u=="function"&&u()}function Og(e,n,t={}){if(!e||!["greaterThan","lessThan","betweenness","equal","textContains","occurrenceDate","duplicateValue","top10","top10%","last10","last10%","AboveAverage","SubAverage","regExp","sort"].includes(e))return U.info("The conditionName parameter is invalid.","");if(P(n)!="array"||n.length==0)return U.info("The conditionValue parameter is invalid.","");let{format:a={textColor:"#000000",cellColor:"#ff0000"},cellrange:o=h.luckysheet_select_save,order:s=K(h.currentSheetIndex),success:u}=Ue({},t);o=JSON.parse(JSON.stringify(o));let d=h.luckysheetfile[s],f=d.data;if((f==null||f.length==0)&&(f=ve.buildGridData(d)),d==null)return U.info("Incorrect worksheet index","");let m=Q().conditionformat,g=[],y=[];if(e=="betweenness"){let S=n[0],_=n[1],T=Se.getRangeByTxt(S);if(T.length>1){Se.infoDialog(m.onlySingleCell,"");return}else if(T.length==1){let R=T[0].row[0],I=T[0].row[1],F=T[0].column[0],z=T[0].column[1];if(R==I&&F==z)S=ze(R,F,f),g.push({row:T[0].row,column:T[0].column}),y.push(S);else{Se.infoDialog(m.onlySingleCell,"");return}}else if(T.length==0)if(isNaN(S)||S==""){Se.infoDialog(m.conditionValueCanOnly,"");return}else y.push(S);let A=Se.getRangeByTxt(_);if(A.length>1){Se.infoDialog(m.onlySingleCell,"");return}else if(A.length==1){let R=A[0].row[0],I=A[0].row[1],F=A[0].column[0],z=A[0].column[1];if(R==I&&F==z)_=ze(R,F,f),g.push({row:A[0].row,column:A[0].column}),y.push(_);else{Se.infoDialog(m.onlySingleCell,"");return}}else if(A.length==0)if(isNaN(_)||_==""){Se.infoDialog(m.conditionValueCanOnly,"");return}else y.push(_)}else if(e=="greaterThan"||e=="lessThan"||e=="equal"){let S=n[0],_=Se.getRangeByTxt(S);if(_.length>1){Se.infoDialog(m.onlySingleCell,"");return}else if(_.length==1){let T=_[0].row[0],A=_[0].row[1],R=_[0].column[0],I=_[0].column[1];if(T==A&&R==I)S=ze(T,R,f),g.push({row:_[0].row,column:_[0].column}),y.push(S);else{Se.infoDialog(m.onlySingleCell,"");return}}else if(_.length==0)if(isNaN(S)||S==""){Se.infoDialog(m.conditionValueCanOnly,"");return}else y.push(S)}else if(e=="textContains"){let S=n[0],_=Se.getRangeByTxt(S);if(_.length>1){Se.infoDialog(m.onlySingleCell,"");return}else if(_.length==1){let T=_[0].row[0],A=_[0].row[1],R=_[0].column[0],I=_[0].column[1];if(T==A&&R==I)S=ze(T,R,f),g.push({row:_[0].row,column:_[0].column}),y.push(S);else{Se.infoDialog(m.onlySingleCell,"");return}}else if(_.length==0)if(S==""){Se.infoDialog(m.conditionValueCanOnly,"");return}else y.push(S)}else if(e=="occurrenceDate"){let S=n[0],_=n[1];if(!Ot(S)||!Ot(_))return U.info("The conditionValue parameter is invalid.","");let T;ul(S,_)>0?T=(0,Wi.default)(_).format("YYYY/MM/DD")+"-"+(0,Wi.default)(S).format("YYYY/MM/DD"):T=(0,Wi.default)(S).format("YYYY/MM/DD")+"-"+(0,Wi.default)(_).format("YYYY/MM/DD"),y.push(T)}else if(e=="duplicateValue"){let S=n[0];if(S!="0"||S!="1")return U.info("The conditionValue parameter is invalid.","");y.push(S)}else if(e=="top10"||e=="top10%"||e=="last10"||e=="last10%"){let S=n[0];if(parseInt(S)!=S||parseInt(S)<1||parseInt(S)>1e3){Se.infoDialog(m.pleaseEnterInteger,"");return}y.push(parseInt(S))}else e=="AboveAverage"||e=="SubAverage"?y.push(e):e=="regExp"?y.push(...n):e=="sort"&&y.push(...n);if(!a.hasOwnProperty("textColor")||!a.hasOwnProperty("cellColor"))return U.info("The format parameter is invalid.","");if(P(o)=="string"?o=Se.getRangeByTxt(o):P(o)=="object"&&(o=[o]),P(o)!="array")return U.info("The cellrange parameter is invalid.","");let v={type:"default",cellrange:o,format:a,conditionName:e,conditionRange:g,conditionValue:y},k=$.extend(!0,[],h.luckysheetfile),b=Se.getHistoryRules(k),w=d.luckysheet_conditionformat_save||[];w.push(v),d.luckysheet_conditionformat_save=w;let x=$.extend(!0,[],h.luckysheetfile),C=Se.getCurrentRules(x);Se.ref(b,C),ne.allowUpdate&&ne.saveParam("all",d.index,w,{k:"luckysheet_conditionformat_save"}),u&&typeof u=="function"&&u()}function Bg(e,n={}){if(!e||!["dataBar","colorGradation","icons"].includes(e))return U.info("The type parameter is invalid.","");let{format:l,cellrange:a=h.luckysheet_select_save,order:o=K(h.currentSheetIndex),success:s}=Ue({},n);a=JSON.parse(JSON.stringify(a));let u=h.luckysheetfile[o];if(u==null)return U.info("Incorrect worksheet index","");if(e=="dataBar"){if(l==null&&(l=["#638ec6","#ffffff"]),P(l)!="array"||l.length<1||l.length>2)return U.info("The format parameter is invalid.","")}else if(e=="colorGradation"){if(l==null&&(l=["rgb(99, 190, 123)","rgb(255, 235, 132)","rgb(248, 105, 107)"]),P(l)!="array"||l.length<2||l.length>3)return U.info("The format parameter is invalid.","")}else if(e=="icons"){l==null&&(l="threeWayArrowMultiColor");let k=["threeWayArrowMultiColor","threeTriangles","fourWayArrowMultiColor","fiveWayArrowMultiColor","threeWayArrowGrayColor","fourWayArrowGrayColor","fiveWayArrowGrayColor","threeColorTrafficLightRimless","threeSigns","greenRedBlackGradient","threeColorTrafficLightBordered","fourColorTrafficLight","threeSymbolsCircled","tricolorFlag","threeSymbolsnoCircle","threeStars","fiveQuadrantDiagram","fiveBoxes","grade4","grade5"];if(P(l)!="string"||!k.includes(l))return U.info("The format parameter is invalid.","");switch(l){case"threeWayArrowMultiColor":l={len:3,leftMin:0,top:0};break;case"threeTriangles":l={len:3,leftMin:0,top:1};break;case"fourWayArrowMultiColor":l={len:4,leftMin:0,top:2};break;case"fiveWayArrowMultiColor":l={len:5,leftMin:0,top:3};break;case"threeWayArrowGrayColor":l={len:3,leftMin:5,top:0};break;case"fourWayArrowGrayColor":l={len:4,leftMin:5,top:1};break;case"fiveWayArrowGrayColor":l={len:5,leftMin:5,top:2};break;case"threeColorTrafficLightRimless":l={len:3,leftMin:0,top:4};break;case"threeSigns":l={len:3,leftMin:0,top:5};break;case"greenRedBlackGradient":l={len:4,leftMin:0,top:6};break;case"threeColorTrafficLightBordered":l={len:3,leftMin:5,top:4};break;case"fourColorTrafficLight":l={len:4,leftMin:5,top:5};break;case"threeSymbolsCircled":l={len:3,leftMin:0,top:7};break;case"tricolorFlag":l={len:3,leftMin:0,top:8};break;case"threeSymbolsnoCircle":l={len:3,leftMin:5,top:7};break;case"threeStars":l={len:3,leftMin:0,top:9};break;case"fiveQuadrantDiagram":l={len:5,leftMin:0,top:10};break;case"fiveBoxes":l={len:5,leftMin:0,top:11};break;case"grade4":l={len:4,leftMin:5,top:9};break;case"grade5":l={len:5,leftMin:5,top:10};break}}if(P(a)=="string"?a=Se.getRangeByTxt(a):P(a)=="object"&&(a=[a]),P(a)!="array")return U.info("The cellrange parameter is invalid.","");let d={type:e,cellrange:a,format:l},f=$.extend(!0,[],h.luckysheetfile),m=Se.getHistoryRules(f),g=u.luckysheet_conditionformat_save||[];g.push(d),u.luckysheet_conditionformat_save=g;let y=$.extend(!0,[],h.luckysheetfile),v=Se.getCurrentRules(y);Se.ref(m,v),ne.allowUpdate&&ne.saveParam("all",u.index,g,{k:"luckysheet_conditionformat_save"}),s&&typeof s=="function"&&s()}function Hg(e,n={}){if(!B(e))return U.info("The itemIndex parameter is invalid.","");e=Number(e);let{order:t=K(h.currentSheetIndex),success:l}=Ue({},n),a=h.luckysheetfile[t];if(a==null)return U.info("The order parameter is invalid.","");let o=$.extend(!0,[],a.luckysheet_conditionformat_save);if(o.length==0)return U.info("This worksheet has no conditional format to delete","");if(o[e]==null)return U.info("The conditional format of the index cannot be found","");let s=o.splice(e,1),u=$.extend(!0,[],h.luckysheetfile),d=Se.getHistoryRules(u);a.luckysheet_conditionformat_save=o;let f=$.extend(!0,[],h.luckysheetfile),m=Se.getCurrentRules(f);return Se.ref(d,m),ne.allowUpdate&&ne.saveParam("all",a.index,ruleArr,{k:"luckysheet_conditionformat_save"}),setTimeout(()=>{l&&typeof l=="function"&&l()},1),s}function Vg(e={}){let{range:n=h.luckysheet_select_save,order:t=K(h.currentSheetIndex),success:l}=Ue({},e);if(n=JSON.parse(JSON.stringify(n)),P(n)=="string"){if(!p.iscelldata(n))return U.info("The range parameter is invalid.","");let d=p.getcellrange(n);n=[{row:d.row,column:d.column}]}else if(P(n)=="object"){if(n.row==null||n.column==null)return U.info("The range parameter is invalid.","");n=[{row:n.row,column:n.column}]}if(P(n)!="array")return U.info("The range parameter is invalid.","");let a=h.luckysheetfile[t];if(a==null)return U.info("The order parameter is invalid.","");let o=$.extend(!0,{},a.config),s=!1;for(let d=0;d<n.length;d++){let f=n[d].row[0],m=n[d].row[1],g=n[d].column[0],y=n[d].column[1];if(s=Nt(o,f,m,g,y),s)break}if(s)return U.info("Cannot perform this operation on partially merged cells","");let u=$.extend(!0,[],a.data);u.length==0&&(u=$.extend(!0,[],ve.buildGridData(a)));for(let d=0;d<n.length;d++){let f=n[d].row[0],m=n[d].row[1],g=n[d].column[0],y=n[d].column[1];for(let v=f;v<=m;v++)for(let k=g;k<=y;k++){let b=u[v][k];P(b)=="object"?(delete b.m,delete b.v,b.f!=null&&(delete b.f,p.delFunctionGroup(v,k,a.index),delete b.spl),b.ct!=null&&b.ct.t=="inlineStr"&&delete b.ct):u[v][k]=null}}a.index==h.currentSheetIndex?Ze(u,n):a.data=u,l&&typeof l=="function"&&l()}function qg(e,n={}){if(!["left","up"].includes(e))return U.info("The move parameter is invalid.","");let{range:l=h.luckysheet_select_save[h.luckysheet_select_save.length-1],order:a=K(h.currentSheetIndex),success:o}=Ue({},n);if(P(l)=="string"){if(!p.iscelldata(l))return U.info("The range parameter is invalid.","");let g=p.getcellrange(l);l={row:g.row,column:g.column}}if(P(l)!="object"||l.row==null||l.column==null)return U.info("The range parameter is invalid.","");if(h.luckysheetfile[a]==null)return U.info("The order parameter is invalid.","");let u=l.row[0],d=l.row[1],f=l.column[0],m=l.column[1];e=="left"?da("moveLeft",u,d,f,m,a):e=="up"&&da("moveUp",u,d,f,m,a),o&&typeof o=="function"&&o()}function jg(e,n={}){if(!e||["flipUpDown","flipLeftRight","flipClockwise","flipCounterClockwise","transpose","deleteZeroByRow","deleteZeroByColumn","removeDuplicateByRow","removeDuplicateByColumn","newMatrix"].indexOf(e)<0)return U.info("The type parameter is invalid.","");let l=h.luckysheet_select_save[0],{range:a=l,success:o}=Ue({},n);if(a instanceof Array&&a.length>1){U.info(Q().drag.noMulti,"");return}a&&typeof a=="string"&&p.iscelldata(a)&&(a=p.getcellrange(a));let s=zt(a),u=[];if(s.length===0)return;let d,f,m;switch(e){case"flipUpDown":for(let g=s.length-1;g>=0;g--){let y=[];for(let v=0;v<s[0].length;v++){let k="";s[g]!=null&&s[g][v]!=null&&(k=s[g][v]),y.push(k)}u.push(y)}break;case"flipLeftRight":for(let g=0;g<s.length;g++){let y=[];for(let v=s[0].length-1;v>=0;v--){let k="";s[g]!=null&&s[g][v]!=null&&(k=s[g][v]),y.push(k)}u.push(y)}break;case"flipClockwise":for(let g=0;g<s[0].length;g++){let y=[];for(let v=s.length-1;v>=0;v--){let k="";s[v]!=null&&s[v][g]!=null&&(k=s[v][g]),y.push(k)}u.push(y)}break;case"flipCounterClockwise":for(let g=s[0].length-1;g>=0;g--){let y=[];for(let v=0;v<s.length;v++){let k="";s[v]!=null&&s[v][g]!=null&&(k=s[v][g]),y.push(k)}u.push(y)}break;case"transpose":for(let g=0;g<s[0].length;g++){let y=[];for(let v=0;v<s.length;v++){let k="";s[v]!=null&&s[v][g]!=null&&(k=s[v][g]),y.push(k)}u.push(y)}break;case"deleteZeroByRow":d=s[0].length;for(let g=0;g<s.length;g++){let y=[],v=!0,k=!0;for(let w=0;w<d;w++){let x="";if(s[g]!=null&&s[g][w]!=null){if(x=s[g][w],(x.v=="0"||x.v==0)&&v)continue;v=!1}y.push(x)}let b=[];if(y.length==d)b=y;else{for(let x=y.length-1;x>=0;x--){let C="";if(y[x]!=null){if(C=y[x],(C.v=="0"||C.v==0)&&k)continue;k=!1}b.unshift(C)}let w=d-b.length;for(let x=0;x<w;x++)b.push("")}u.push(b)}break;case"deleteZeroByColumn":d=s.length,f=s[0].length;for(let g=0;g<f;g++){let y=[],v=!0,k=!0;for(let w=0;w<d;w++){let x="";if(s[w]!=null&&s[w][g]!=null){if(x=s[w][g],(x.v=="0"||x.v==0)&&v)continue;v=!1}y.push(x)}let b=[];if(y.length==d)b=y;else{for(let x=y.length-1;x>=0;x--){let C="";if(y[x]!=null){if(C=y[x],(C.v=="0"||C.v==0)&&k)continue;k=!1}b.unshift(C)}let w=d-b.length;for(let x=0;x<w;x++)b.push("")}u.push(b)}m=[];for(let g=0;g<u[0].length;g++){let y=[];for(let v=0;v<u.length;v++){let k="";u[v]!=null&&u[v][g]!=null&&(k=u[v][g]),y.push(k)}m.push(y)}break;case"removeDuplicateByRow":d=s[0].length;for(let g=0;g<s.length;g++){let y=[],v={};for(let b=0;b<d;b++){let w=null;s[g]!=null&&s[g][b]!=null&&(w=s[g][b],w.v in v||(v[w.v]=[]),v[w.v].push(w))}for(let b=0;b<d;b++){let w=null;s[g]!=null&&s[g][b]!=null&&(w=s[g][b],v[w.v].length==1&&y.push(w))}let k=d-y.length;for(let b=0;b<k;b++)y.push(null);u.push(y)}break;case"removeDuplicateByColumn":f=s[0].length,d=s.length;for(let g=0;g<f;g++){let y=[],v={};for(let b=0;b<d;b++){let w=null;s[b]!=null&&s[b][g]!=null&&(w=s[b][g],w.v in v||(v[w.v]=[]),v[w.v].push(w))}for(let b=0;b<d;b++){let w=null;s[b]!=null&&s[b][g]!=null&&(w=s[b][g],v[w.v].length==1&&y.push(w))}a1=y;let k=d-a1.length;for(let b=0;b<k;b++)a1.push(null);u.push(a1)}m=[];for(let g=0;g<u[0].length;g++){let y=[];for(let v=0;v<u.length;v++){let k=null;u[v]!=null&&u[v][g]!=null&&(k=u[v][g]),y.push(k)}m.push(y)}break;case"newMatrix":console.log("TODO");break}we.controlHandler(u,a),o&&typeof o=="function"&&o()}function Ug(e,n,t={}){if(!e||["plus","minus","multiply","divided","power","root","log"].indexOf(e)<0)return U.info("The type parameter is invalid.","");if(!B(n))return U.info("The number parameter is invalid.","");let a=h.luckysheet_select_save[0],{range:o=a,success:s}=Ue({},t);if(o instanceof Array&&o.length>1){U.info(Q().drag.noMulti,"");return}o&&typeof o=="string"&&p.iscelldata(o)&&(o=p.getcellrange(o));let u=zt(o);if(u.length==0)return;let d=[];for(let f=0;f<u.length;f++){let m=[];for(let g=0;g<u[0].length;g++){let y="";u[f]!=null&&u[f][g]!=null&&(y=u[f][g],parseInt(y)!=null&&u[f][g].ct!=null&&u[f][g].ct.t=="n"&&(e=="minus"?y.v=y.v-n:e=="multiply"?y.v=y.v*n:e=="divided"?y.v=numFormat(y.v/n,4):e=="power"?y.v=Math.pow(y.v,n):e=="root"?n==2?y.v=numFormat(Math.sqrt(y.v),4):n==3&&Math.cbrt?y.v=numFormat(Math.cbrt(y.v),4):y.v=numFormat(jfnqrt(y.v,n),4):e=="log"?y.v=numFormat(Math.log(y.v)*1e4/Math.log(Math.abs(n)),4):y.v=y.v+n,y.v==null?y.m="":y.m=y.v.toString())),m.push(y)}d.push(m)}we.controlHandler(d,o),s&&typeof s=="function"&&s()}function Gg(e={}){let n=h.luckysheetfile.length-1,{sheetObject:t={},order:l=n,success:a}=Ue({},e);if(!B(l))return U.info("Parameter is not a table index","");l=Number(l);let o=ve.generateRandomSheetIndex();t.calcChain&&t.calcChain.length>0&&t.calcChain.forEach(f=>{f.index=o});let s=ve.generateRandomSheetName(h.luckysheetfile,!1);if(t.name){let f=!1;for(let m=0;m<h.luckysheetfile.length;m++)if(h.luckysheetfile[m].name==t.name){f=!0;break}f||(s=t.name)}$("#luckysheet-sheet-container-c").append(_e(Ql,{index:o,active:"",name:s,style:"",colorset:""}));let u={name:"",color:"",status:"0",order:"",index:"",celldata:[],row:h.defaultrowNum,column:h.defaultcolumnNum,config:{},pivotTable:null,isPivotTable:!1};if(u=$.extend(!0,u,t),u.index=o,u.name=s,u.order=l,l<=0){let f=h.luckysheetfile[0].index,m=$("#luckysheet-sheets-item"+f);$("#luckysheet-sheets-item"+o).insertBefore(m),h.luckysheetfile.splice(0,0,u)}else{l>h.luckysheetfile.length&&(l=h.luckysheetfile.length);let f=h.luckysheetfile[l-1].index,m=$("#luckysheet-sheets-item"+f);$("#luckysheet-sheets-item"+o).insertAfter(m),h.luckysheetfile.splice(l,0,u)}let d={};if(h.luckysheetfile.forEach((f,m,g)=>{g[m].order=m,d[f.index.toString()]=m}),$("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active"),$("#luckysheet-sheets-item"+o).addClass("luckysheet-sheets-item-active"),$("#luckysheet-cell-main").append('<div id="luckysheet-datavisual-selection-set-'+o+'" class="luckysheet-datavisual-selection-set"></div>'),nl(!0),ne.saveParam("sha",null,$.extend(!0,{},u)),ne.saveParam("shr",null,d),h.clearjfundo){h.jfundo.length=0;let f={};f.type="addSheet",f.sheetconfig=$.extend(!0,{},u),f.index=o,f.currentSheetIndex=h.currentSheetIndex,h.jfredo.push(f)}return ve.changeSheetExec(o,!1,!0),a&&typeof a=="function"&&a(),u}function Wg(e={}){let{order:n=K(h.currentSheetIndex),success:t}=Ue({},e),l=h.luckysheetfile[n];return l==null?U.info("The order parameter is invalid.",""):h.luckysheetfile.length===1?U.info(Q().sheetconfig.noMoreSheet,""):(ve.deleteSheet(l.index),setTimeout(()=>{t&&typeof t=="function"&&t()},1),l)}function Yg(e={}){let{targetOrder:n,order:t=K(h.currentSheetIndex),success:l}=Ue({},e),a=h.luckysheetfile[t];if(a==null)return U.info("The order parameter is invalid.","");if(n==null&&(n=t+1),!B(n))return U.info("The targetOrder parameter is invalid.","");let o=a.index,s=ve.generateRandomSheetIndex(),u=$.extend(!0,{},a);u.order=h.luckysheetfile.length,u.index=s,u.name=ve.generateCopySheetName(h.luckysheetfile,u.name);let d="";u.color!=null&&(d='<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+u.color+';"></div>');let f=$("#luckysheet-sheets-item"+o);if(B(n)&&(f=$("#luckysheet-sheets-item"+h.luckysheetfile[n-1].index)),$("#luckysheet-sheet-container-c").append(_e(Ql,{index:u.index,active:"",name:u.name,order:u.order,style:"",colorset:d})),$("#luckysheet-sheets-item"+u.index).insertAfter(f),h.luckysheetfile.splice(n,0,u),$("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active"),$("#luckysheet-sheets-item"+s).addClass("luckysheet-sheets-item-active"),$("#luckysheet-cell-main").append('<div id="luckysheet-datavisual-selection-set-'+s+'" class="luckysheet-datavisual-selection-set"></div>'),nl(!0),ne.saveParam("shc",s,{copyindex:o,name:u.name}),ve.changeSheetExec(s),ve.reOrderAllSheet(),h.clearjfundo)h.jfredo.push({type:"copySheet",copyindex:o,index:u.index,sheetIndex:u.index});else if(h.jfredo.length>0){let m=h.jfredo[h.jfredo.length-1];m.type=="copySheet"&&(m.index=u.index,m.sheetIndex=u.index)}return setTimeout(()=>{l&&typeof l=="function"&&l()},1),u}function Xg(e={}){let{order:n=K(h.currentSheetIndex),success:t}=Ue({},e),l=h.luckysheetfile[n];return l==null?U.info("The order parameter is invalid.",""):(ve.setSheetHide(l.index),setTimeout(()=>{t&&typeof t=="function"&&t()},1),l)}function Kg(e={}){let{order:n=K(h.currentSheetIndex),success:t}=Ue({},e),l=h.luckysheetfile[n];return l==null?U.info("The order parameter is invalid.",""):(ve.setSheetShow(l.index),setTimeout(()=>{t&&typeof t=="function"&&t()},1),l)}function Zg(e,n={}){if(e==null||!B(e)||h.luckysheetfile[e]==null)return U.info("The order parameter is invalid.","");let t=h.luckysheetfile[e],{success:l}=Ue({},n);return $("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active"),$("#luckysheet-sheets-item"+t.index).addClass("luckysheet-sheets-item-active"),ve.changeSheet(t.index),setTimeout(()=>{l&&typeof l=="function"&&l()},1),ne.multipleRangeShow(),t}function Jg(e,n={}){if(P(e)!="string"||e.toString().length==0)return U.info("The name parameter is invalid.","");let{order:t=K(h.currentSheetIndex),success:l}=Ue({},n),a=h.luckysheetfile[t];if(a==null)return U.info("The order parameter is invalid.","");let o=a.name;if(a.name=e,$("#luckysheet-sheets-item"+a.index+" .luckysheet-sheets-item-name").text(e),ne.saveParam("all",a.index,e,{k:"name"}),h.clearjfundo){let s={};s.type="sheetName",s.sheetIndex=a.index,s.oldtxt=o,s.txt=e,h.jfundo.length=0,h.jfredo.push(s)}l&&typeof l=="function"&&l()}function Qg(e,n={}){if(P(e)!="string"||e.toString().length==0)return U.info("The color parameter is invalid.","");let{order:t=K(h.currentSheetIndex),success:l}=Ue({},n),a=h.luckysheetfile[t];if(a==null)return U.info("The order parameter is invalid.","");let o=a.color;if(a.color=e,$("#luckysheet-sheets-item"+a.index).find(".luckysheet-sheets-item-color").remove(),$("#luckysheet-sheets-item"+a.index).append('<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+e+';"></div>'),ne.saveParam("all",a.index,e,{k:"color"}),h.clearjfundo){let s={};s.type="sheetColor",s.sheetIndex=a.index,s.oldcolor=o,s.color=e,h.jfundo.length=0,h.jfredo.push(s)}l&&typeof l=="function"&&l()}function ey(e,n={}){if(e!="left"&&e!="right"&&!B(e))return U.info("Type parameter not available","");B(e)&&(e=parseInt(e));let t=K(h.currentSheetIndex),{order:l=t,success:a}=Ue({},n),o=h.luckysheetfile[l];if(o==null)return U.info("ncorrect worksheet index","");let s=o.index;if(e=="left"){if(l==0)return;let d=h.luckysheetfile[l-1].index;$("#luckysheet-sheets-item"+s).insertBefore($("#luckysheet-sheets-item"+d)),h.luckysheetfile.splice(l,1),h.luckysheetfile.splice(l-1,0,o)}else if(e=="right"){if(l==h.luckysheetfile.length-1)return;let d=h.luckysheetfile[l+1].index;$("#luckysheet-sheets-item"+s).insertAfter($("#luckysheet-sheets-item"+d)),h.luckysheetfile.splice(l,1),h.luckysheetfile.splice(l+1,0,o)}else{if(e<0&&(e=0),e>h.luckysheetfile.length-1&&(e=h.luckysheetfile.length-1),e==l)return;if(e<l){let d=h.luckysheetfile[e].index;$("#luckysheet-sheets-item"+s).insertBefore($("#luckysheet-sheets-item"+d))}else{let d=h.luckysheetfile[e].index;$("#luckysheet-sheets-item"+s).insertAfter($("#luckysheet-sheets-item"+d))}h.luckysheetfile.splice(l,1),h.luckysheetfile.splice(e,0,o)}let u={};h.luckysheetfile.forEach((d,f,m)=>{m[f].order=f,u[d.index.toString()]=f}),ne.saveParam("shr",null,u),a&&typeof a=="function"&&a()}function ty(e,n={}){if(e==null||e.length==0)return U.info("Type orderList not available","");let t={};e.forEach(o=>{t[o.index.toString()]=o.order}),h.luckysheetfile.sort((o,s)=>{let u=t[o.index.toString()],d=t[s.index.toString()];return u!=null&&d!=null?u-d:u!=null?-1:(d!=null,1)});let l={};h.luckysheetfile.forEach((o,s,u)=>{if(u[s].order=s,l[o.index.toString()]=s,s>0){let d=u[s-1].index;$("#luckysheet-sheets-item"+o.index).insertAfter($("#luckysheet-sheets-item"+d))}}),ne.saveParam("shr",null,l);let{success:a}=Ue({},n);a&&typeof a=="function"&&a()}function ly(e,n={}){if(!B(e)||e<.1||e>4)return U.info("The zoom parameter is invalid.","");let{order:t=K(h.currentSheetIndex),success:l}=Ue({},n),a=h.luckysheetfile[t];if(a==null)return U.info("The order parameter is invalid.","");if(a.zoomRatio=e,ne.saveParam("all",a.index,e,{k:"zoomRatio"}),a.index==h.currentSheetIndex){h.zoomRatio=e;let o=ve.getSheetByIndex();Ie.images=o.images,Ie.allImagesShow(),Ie.init(),or(),ei()}l&&typeof l=="function"&&l()}function ry(e={}){let{order:n=K(h.currentSheetIndex),success:t}=Ue({},e),l=h.luckysheetfile[n];return l==null?U.info("The order parameter is invalid.",""):(l.showGridLines=!0,l.index==h.currentSheetIndex&&(h.showGridLines=!0,setTimeout(function(){Be()},1)),setTimeout(()=>{t&&typeof t=="function"&&t()},1),l)}function ny(e={}){let{order:n=K(h.currentSheetIndex),success:t}=Ue({},e),l=h.luckysheetfile[n];return l==null?U.info("The order parameter is invalid.",""):(l.showGridLines=!1,l.index==h.currentSheetIndex&&(h.showGridLines=!1,setTimeout(function(){Be()},1)),setTimeout(()=>{t&&typeof t=="function"&&t()},1),l)}function ay(e={}){Ze();let{success:n}=Ue({},e);n&&typeof n=="function"&&n()}function iy(e={}){let{scrollLeft:n,scrollTop:t,targetRow:l,targetColumn:a,success:o}=Ue({},e);if(n!=null){if(!B(n))return U.info("The scrollLeft parameter is invalid.","");$("#luckysheet-scrollbar-x").scrollLeft(n)}else if(a!=null){if(!B(a))return U.info("The targetColumn parameter is invalid.","");let s=h.visibledatacolumn[a],u=a<=0?0:h.visibledatacolumn[a-1];$("#luckysheet-scrollbar-x").scrollLeft(u)}if(t!=null){if(!B(t))return U.info("The scrollTop parameter is invalid.","");$("#luckysheet-scrollbar-y").scrollTop(t)}else if(l!=null){if(!B(l))return U.info("The targetRow parameter is invalid.","");let s=h.visibledatarow[l],u=l<=0?0:h.visibledatarow[l-1];$("#luckysheet-scrollbar-y").scrollTop(u)}o&&typeof o=="function"&&o()}function oy(e={}){$t();let{success:n}=Ue({},e);n&&typeof n=="function"&&n()}function sy(e={}){let{range:n=h.luckysheet_select_save[h.luckysheet_select_save.length-1]}=Ue({},e);if(P(n)=="string"){if(!p.iscelldata(n))return U.info("The range parameter is invalid.","");let w=p.getcellrange(n);n={row:w.row,column:w.column}}if(P(n)!="object"||n.row==null||n.column==null)return U.info("The range parameter is invalid.","");let t=n.row[0],l=n.row[1],a=n.column[0],o=n.column[1];if(Nt(h.config,t,l,a,o))return U.info("Cannot perform this operation on partially merged cells","");let u=h.visibledatarow,d=h.visibledatacolumn,f,m;t-1<0?(f=0,m=u[l]):(f=u[t-1],m=u[l]-u[t-1]);let g,y;a-1<0?(g=0,y=d[o]):(g=d[a-1],y=d[o]-d[a-1]);let v=$("<canvas>").attr({width:Math.ceil(y*h.devicePixelRatio),height:Math.ceil(m*h.devicePixelRatio)}).css({width:y,height:m});ar(g,f,y,m,1,1,null,null,v);let k=v.get(0).getContext("2d");return k.beginPath(),k.moveTo(0,0),k.lineTo(0,h.devicePixelRatio*m),k.lineWidth=h.devicePixelRatio*2,k.strokeStyle=$l.strokeStyle,k.stroke(),k.closePath(),k.beginPath(),k.moveTo(0,0),k.lineTo(h.devicePixelRatio*y,0),k.lineWidth=h.devicePixelRatio*2,k.strokeStyle=$l.strokeStyle,k.stroke(),k.closePath(),v.get(0).toDataURL("image/png")}function cy(e,n={}){if(e==null||e.toString().length==0)return U.info("The name parameter is invalid.","");$("#luckysheet_info_detail_input").val(e);let{success:t}=Ue({},n);t&&typeof t=="function"&&t()}function uy(e={}){let n="",t=$("#luckysheet_info_detail_input");if(t.length==0)return U.info("Failed to get workbook name, label loading failed!"),n;n=$.trim(t.val());let{success:l}=Ue({},e);return setTimeout(()=>{l&&typeof l=="function"&&l()},1),n}function hy(e={}){let n=$.extend(!0,{},h.jfredo[h.jfredo.length-1]);Tn.redo(new Event("custom")),Fr();let{success:t}=Ue({},e);return setTimeout(()=>{t&&typeof t=="function"&&t()},1),n}function dy(e={}){let n=$.extend(!0,{},h.jfundo[h.jfundo.length-1]);Tn.undo(new Event("custom")),Fr();let{success:t}=Ue({},e);return setTimeout(()=>{t&&typeof t=="function"&&t()},1),n}function fm(){let e=$.extend(!0,[],h.luckysheetfile);return e.forEach((n,t,l)=>{n.data!=null&&n.data.length>0&&(n.celldata=ve.getGridData(n.data)),delete n.load,delete n.freezen}),e}function fy(e){let n=$.extend(!0,[],h.luckysheetfile),t={};n.forEach((l,a,o)=>{l.hasOwnProperty("chart")&&l.chart.length>0&&(t[l.index]={},l.chart.forEach(s=>{let u=document.querySelector(`#${s.chart_id}`),d=echarts.getInstanceByDom(u);d.resize({width:s.width,height:s.height,animation:{duration:0}}),t[l.index][s.chart_id]=d}))}),setTimeout(()=>{for(let l in t)if(Object.hasOwnProperty.call(t,l)){let a=t[l];for(let o in a)if(Object.hasOwnProperty.call(a,o)){let s=a[o];a[o]=s.getDataURL()}}e&&e(t)},500)}function my(e={}){let{index:n,order:t,name:l}=Ue({},e);return n!=null?ve.getSheetByIndex(n):t!=null?h.luckysheetfile[t]:l!=null?ve.getSheetByName(l):ve.getSheetByIndex()}function py(e={}){let{order:n=K(h.currentSheetIndex)}=Ue({},e),t=h.luckysheetfile[n];if(t==null)return U.info("The order parameter is invalid.","");let l=$.extend(!0,[],t.data);return(l==null||l.length==0)&&(l=$.extend(!0,[],ve.buildGridData(t))),l}function gy(e={}){let{order:n=K(h.currentSheetIndex)}=Ue({},e),t=h.luckysheetfile[n];return t==null?U.info("The order parameter is invalid.",""):$.extend(!0,{},t.config)}function yy(e,n={}){if(P(e)!="object")return U.info("The cfg parameter is invalid.","");let{order:t=K(h.currentSheetIndex),success:l}=Ue({},n),a=h.luckysheetfile[t];if(a==null)return U.info("The order parameter is invalid.","");a.config=e,a.index==h.currentSheetIndex&&(h.config=e,("rowhidden"in e||"colhidden"in e||"rowlen"in e||"columnlen"in e)&&St(h.flowdata.length,h.flowdata[0].length),setTimeout(function(){Be()},1)),l&&typeof l=="function"&&l()}function vy(){return Lt()}function ky(e,n={}){if(P(e)!="object")return U.info("The optionItem parameter is invalid.","");let{type:t,type2:l=null,value1:a="",value2:o="",remote:s=!1,prohibitInput:u=!1,hintShow:d=!1,hintText:f="",checked:m=!1}=Ue({},e),g=["dropdown","checkbox","number","number_integer","number_decimal","text_content","text_length","date","validity"],y=["bw","nb","eq","ne","gt","lt","gte","lte"],v=["include","exclude","equal"],k=["bw","nb","eq","ne","bf","nbf","af","naf"],b=["card","phone"];if(!g.includes(t))return U.info("The optionItem.type parameter is invalid.","");let w=Q().dataVerification;if(t=="dropdown"){if(a.length==0){U.info('<i class="fa fa-exclamation-triangle"></i>',w.tooltipInfo1);return}}else if(t=="checkbox"){if(a.length==0||o.length==0){U.info('<i class="fa fa-exclamation-triangle"></i>',w.tooltipInfo2);return}}else if(t=="number"||t=="number_integer"||t=="number_decimal"){if(!y.includes(l))return U.info("The optionItem.type2 parameter is invalid.","");if(!B(a)){U.info('<i class="fa fa-exclamation-triangle"></i>',w.tooltipInfo3);return}if(l=="bw"||l=="nb"){if(!B(o)){U.info('<i class="fa fa-exclamation-triangle"></i>',w.tooltipInfo3);return}if(Number(o)<Number(a)){U.info('<i class="fa fa-exclamation-triangle"></i>',w.tooltipInfo4);return}}}else if(t=="text_content"){if(!v.includes(l))return U.info("The optionItem.type2 parameter is invalid.","");if(a.length==0){U.info('<i class="fa fa-exclamation-triangle"></i>',w.tooltipInfo5);return}}else if(t=="text_length"){if(!y.includes(l))return U.info("The optionItem.type2 parameter is invalid.","");if(!B(a)){U.info('<i class="fa fa-exclamation-triangle"></i>',w.tooltipInfo3);return}if(l=="bw"||l=="nb"){if(!B(o)){U.info('<i class="fa fa-exclamation-triangle"></i>',w.tooltipInfo3);return}if(Number(o)<Number(a)){U.info('<i class="fa fa-exclamation-triangle"></i>',w.tooltipInfo4);return}}}else if(t=="date"){if(!k.includes(l))return U.info("The optionItem.type2 parameter is invalid.","");if(!Ot(a)){U.info('<i class="fa fa-exclamation-triangle"></i>',w.tooltipInfo6);return}if(l=="bw"||l=="nb"){if(!Ot(o)){U.info('<i class="fa fa-exclamation-triangle"></i>',w.tooltipInfo6);return}if(ul(a,o)>0){U.info('<i class="fa fa-exclamation-triangle"></i>',w.tooltipInfo7);return}}}else if(t=="validity"&&!b.includes(l))return U.info("The optionItem.type2 parameter is invalid.","");if(P(s)!="boolean")return U.info("The optionItem.remote parameter is invalid.","");if(P(u)!="boolean")return U.info("The optionItem.prohibitInput parameter is invalid.","");if(P(d)!="boolean")return U.info("The optionItem.hintShow parameter is invalid.","");let{range:x=h.luckysheet_select_save[h.luckysheet_select_save.length-1],order:C=K(h.currentSheetIndex),success:S}=Ue({},n);if(P(x)=="string"){if(!p.iscelldata(x))return U.info("The range parameter is invalid.","");let N=p.getcellrange(x);x={row:N.row,column:N.column}}if(P(x)!="object"||x.row==null||x.column==null)return U.info("The range parameter is invalid.","");let _=h.luckysheetfile[C];if(_==null)return U.info("The order parameter is invalid.","");let T={type:t,type2:l,value1:a,value2:o,checked:m,remote:s,prohibitInput:u,hintShow:d,hintText:f},A=$.extend(!0,{},_.dataVerification),R=$.extend(!0,[],_.data);R.length==0&&(R=ve.buildGridData(_));let I=x.row[0],F=x.row[1],z=x.column[0],M=x.column[1];for(let N=I;N<=F;N++)for(let E=z;E<=M;E++)A[N+"_"+E]=T,t=="checkbox"&&(T.checked?Ft(N,E,R,T.value1):Ft(N,E,R,T.value2));if(_.index==h.currentSheetIndex){let N=$.extend(!0,{},_.dataVerification);t=="checkbox"?Ye.refOfCheckbox(N,A,h.currentSheetIndex,R,x):Ye.ref(N,A,h.currentSheetIndex)}else _.dataVerification=A,_.data=R;S&&typeof S=="function"&&S()}function by(e={}){let{range:n=h.luckysheet_select_save[h.luckysheet_select_save.length-1],order:t=K(h.currentSheetIndex),success:l}=Ue({},e);if(P(n)=="string"){if(!p.iscelldata(n))return U.info("The range parameter is invalid.","");let m=p.getcellrange(n);n={row:m.row,column:m.column}}if(P(n)!="object"||n.row==null||n.column==null)return U.info("The range parameter is invalid.","");let a=h.luckysheetfile[t];if(a==null)return U.info("The order parameter is invalid.","");let o=$.extend(!0,{},a.dataVerification),s=n.row[0],u=n.row[1],d=n.column[0],f=n.column[1];for(let m=s;m<=u;m++)for(let g=d;g<=f;g++)delete o[m+"_"+g];if(a.index==h.currentSheetIndex){let m=$.extend(!0,{},a.dataVerification);Ye.ref(m,o,h.currentSheetIndex)}else a.dataVerification=o;l&&typeof l=="function"&&l()}function wy(e,n={}){let{order:t=K(h.currentSheetIndex),rowIndex:l,colIndex:a,success:o}=Ue({},n),s=h.luckysheetfile[t];if(s==null)return U.info("The order parameter is invalid.","");if(s.index==h.currentSheetIndex){let u=h.luckysheet_select_save[h.luckysheet_select_save.length-1];l==null&&(l=u.row_focus||0),l<0&&(l=0),l>h.visibledatarow.length&&(l=h.visibledatarow.length),a==null&&(a=u.column_focus||0),a<0&&(a=0),a>h.visibledatacolumn.length&&(a=h.visibledatacolumn.length);let d=a==0?0:h.visibledatacolumn[a-1],f=l==0?0:h.visibledatarow[l-1],m=new Image;m.onload=function(){let g=m.width,y=m.height,v={src:e,left:d,top:f,originWidth:g,originHeight:y};Ie.addImgItem(v),o&&typeof o=="function"&&o()},m.src=e}else{let u=s.images||{},d=s.config,f=s.zoomRatio||1,m=s.row,g=s.visibledatarow||[];if(g.length===0){let x=0;for(let C=0;C<m;C++){let S=h.defaultrowlen;if(d.rowlen!=null&&d.rowlen[C]!=null&&(S=d.rowlen[C]),d.rowhidden!=null&&d.rowhidden[C]!=null){g.push(x);continue}x+=Math.round((S+1)*f),g.push(x)}}let y=s.column,v=s.visibledatacolumn||[];if(v.length===0){let x=0;for(let C=0;C<y;C++){let S=h.defaultcollen;if(d.columnlen!=null&&d.columnlen[C]!=null&&(S=d.columnlen[C]),d.colhidden!=null&&d.colhidden[C]!=null){v.push(x);continue}x+=Math.round((S+1)*f),v.push(x)}}l==null&&(l=0),l<0&&(l=0),l>g.length&&(l=g.length),a==null&&(a=0),a<0&&(a=0),a>v.length&&(a=v.length);let k=a==0?0:v[a-1],b=l==0?0:g[l-1],w=new Image;w.onload=function(){let x={src:e,left:k,top:b,originWidth:w.width,originHeight:w.height},C,S,_=400;x.originHeight<x.originWidth?(S=Math.round(x.originHeight*(_/x.originWidth)),C=_):(C=Math.round(x.originWidth*(_/x.originHeight)),S=_);let T=$.extend(!0,{},Ie.imgItem);T.src=x.src,T.originWidth=x.originWidth,T.originHeight=x.originHeight,T.default.width=C,T.default.height=S,T.default.left=x.left,T.default.top=x.top,T.crop.width=C,T.crop.height=S;let A=Ie.generateRandomId();u[A]=T,s.images=u,o&&typeof o=="function"&&o()},w.src=e}}function xy(e={}){let{order:n=K(h.currentSheetIndex),idList:t="all",success:l}=Ue({},e),a=h.luckysheetfile[n];if(a==null)return U.info("The order parameter is invalid.","");let o=a.images;if(o==null)return U.info("The worksheet has no pictures to delete.","");if(t!="all"&&P(t)!="array")return U.info("The idList parameter is invalid.","");P(t)=="array"?t.forEach(s=>{delete o[s]}):o=null,a.images=o,a.index==h.currentSheetIndex&&(Ie.currentImgId!=null&&(t=="all"||t.includes(Ie.currentImgId))&&($("#luckysheet-modal-dialog-activeImage").hide(),$("#luckysheet-modal-dialog-cropping").hide(),$("#luckysheet-modal-dialog-slider-imageCtrl").hide()),Ie.images=o,Ie.allImagesShow(),Ie.init()),l&&typeof l=="function"&&l()}function _y(e={}){let{order:n=K(h.currentSheetIndex),success:t}=Ue({},e),l=h.luckysheetfile[n];return l==null?U.info("The order parameter is invalid.",""):(setTimeout(function(){t&&typeof t=="function"&&t()},1),l.images)}function Cy(e,n={}){let{success:t}=Ue({},n);return setTimeout(()=>{t&&typeof t=="function"&&t()},0),ve.getGridData(e)}function Ty(e,n={}){let{success:t}=Ue({},n);return setTimeout(()=>{t&&typeof t=="function"&&t()},0),ve.buildGridData({celldata:e})}function Go(){let e=h.toJsonOptions;return e.title=$("#luckysheet_info_detail_input").val(),e.data=fm(),Lt().forEach((n,t)=>{n.data!=null&&(e.data[t].row=P(n.data)==="array"?n.data.length:0,e.data[t].column=P(n.data[0])==="array"?n.data[0].length:0)}),e}function Sy(e="zh"){if(!["zh","en","es"].includes(e))return U.info("The lang parameter is invalid.","");let n=Go();n.lang=e,luckysheet.create(n)}function $y(){ne.websocket!=null&&ne.websocket.close(1e3)}function Iy(e){if(e==null)return{column:h.luckysheet_select_save[h.luckysheet_select_save.length-1].column,row:h.luckysheet_select_save[h.luckysheet_select_save.length-1].row};let n=Se.getRangeByTxt(e);return{column:n[0].column,row:n[0].row}}function Ry(e=h.luckysheet_select_save){return P(e)==="object"&&(e=[e]),Se.getTxtByRange(e)}function Gc(e){let{prevPage:n,nextPage:t,total:l}=Q().button;$("#luckysheet-bottom-pager").remove(),$("#luckysheet-sheet-content").after('<div id="luckysheet-bottom-pager" style="font-size: 14px; margin-left: 10px; display: inline-block;"></div>'),$("#luckysheet-bottom-pager").sPage({page:e.pageIndex,total:e.total,selectOption:e.selectOption,pageSize:e.pageSize,showTotal:e.showTotal,showSkip:e.showSkip,showPN:e.showPN,prevPage:e.prevPage||n,nextPage:e.nextPage||t,totalTxt:e.totalTxt||l+e.total,backFun:function(a){a.pageIndex=a.page,!!Ke.createHookFunction("onTogglePager",a)}})}function Ay(e){p.execFunctionGroupForce(!0),Be(),setTimeout(()=>{e&&typeof e=="function"&&e()})}function Dy(e={}){let{data:n,success:t}=e,l=h.luckysheetfile;for(let s=0;s<n.length;s++)for(let u=0;u<l.length;u++)l[u].index===n[s].index&&(l[u]=n[s]);let a=l[ve.getSheetIndex(h.currentSheetIndex)],o=ve.buildGridData(a);a.data=o,a.isPivotTable?(h.luckysheetcurrentisPivotTable=!0,isPivotInitial||Oe.changePivotTable(index)):(h.luckysheetcurrentisPivotTable=!1,$("#luckysheet-modal-dialog-slider-pivot").hide(),$t(!1)),ve.mergeCalculation(a.index),ve.setSheetParam(),setTimeout(function(){ve.showSheet(),ve.restoreCache(),p.execFunctionGroupForce(me.forceCalculation),ve.restoreSheetAll(h.currentSheetIndex),Be(),t&&typeof t=="function"&&t()},1),ne.saveParam("shs",null,h.currentSheetIndex)}function Wc(e,n,t,l){if(e=e||h.flowdata,n==null&&t==null){let a=h.luckysheet_select_save[h.luckysheet_select_save.length-1];n=a.row_focus||a.row[0],t=a.column_focus||a.column[0]}be.menuButtonFocus(e,n,t),setTimeout(()=>{l&&typeof l=="function"&&l()})}function ni(e,n){return Uc().every(({r:a,c:o})=>{let s=h.flowdata[a][o];return s==null?!1:s[e]==n})}function My(e=1){Mr.createDialog(e),Mr.init(),$("#luckysheet-search-replace #searchInput input").focus()}var Wi,wa=$e(()=>{Xe();ht();Dt();yt();El();qt();Oi();tl();qa();Qt();qt();qr();Ml();gr();ha();pr();Zt();Xt();fa();Pt();Br();Ua();Io();cn();ll();ol();Ka();Sl();Vl();nr();gl();yr();zr();Jt();Wt();wn();Mo();Vi();vr();jr();Wi=Nl(kn());Dt();xa();Vo()});function Gf(e,n,t,l,a){let o=h.visibledatarow[t],s=n-1==-1?0:h.visibledatarow[n-1],u=h.visibledatacolumn[a],d=l-1==-1?0:h.visibledatacolumn[l-1];$("#"+e).css({left:d,width:u-d-1,top:s,height:o-s-1})}function tt(e=!1){if($("#luckysheet-cell-selected-boxs").show(),$("#luckysheet-cell-selected-boxs #luckysheet-cell-selected").siblings(".luckysheet-cell-selected").remove(),h.luckysheet_select_save.length>0){for(let t=0;t<h.luckysheet_select_save.length;t++){let l=h.luckysheet_select_save[t].row[0],a=h.luckysheet_select_save[t].row[1],o=h.luckysheet_select_save[t].column[0],s=h.luckysheet_select_save[t].column[1],u,d;h.luckysheet_select_save[t].row_focus==null?u=l:u=h.luckysheet_select_save[t].row_focus,h.luckysheet_select_save[t].column_focus==null?d=o:d=h.luckysheet_select_save[t].column_focus;let f=h.visibledatarow[a],m=l-1==-1?0:h.visibledatarow[l-1],g=h.visibledatacolumn[s],y=o-1==-1?0:h.visibledatacolumn[o-1],v=h.visibledatarow[u],k=u-1==-1?0:h.visibledatarow[u-1],b=h.visibledatacolumn[d],w=d-1==-1?0:h.visibledatacolumn[d-1],x=be.mergeborer(h.flowdata,u,d);x&&(v=x.row[1],k=x.row[0],b=x.column[1],w=x.column[0]),h.luckysheet_select_save[t].row=[l,a],h.luckysheet_select_save[t].column=[o,s],h.luckysheet_select_save[t].row_focus=u,h.luckysheet_select_save[t].column_focus=d,h.luckysheet_select_save[t].left=w,h.luckysheet_select_save[t].width=b-w-1,h.luckysheet_select_save[t].top=k,h.luckysheet_select_save[t].height=v-k-1,h.luckysheet_select_save[t].left_move=y,h.luckysheet_select_save[t].width_move=g-y-1,h.luckysheet_select_save[t].top_move=m,h.luckysheet_select_save[t].height_move=f-m-1,t==0?h.luckysheet_select_save.length==1?fr.mobilecheck()?$("#luckysheet-cell-selected-boxs #luckysheet-cell-selected").css({left:h.luckysheet_select_save[t].left_move,width:h.luckysheet_select_save[t].width_move,top:h.luckysheet_select_save[t].top_move,height:h.luckysheet_select_save[t].height_move,display:"block",border:"1px solid #0188fb"}).find(".luckysheet-cs-draghandle").css("display","block").end().find(".luckysheet-cs-fillhandle").css("display","none").end().find(".luckysheet-cs-touchhandle").css("display","block"):$("#luckysheet-cell-selected-boxs #luckysheet-cell-selected").css({left:h.luckysheet_select_save[t].left_move,width:h.luckysheet_select_save[t].width_move,top:h.luckysheet_select_save[t].top_move,height:h.luckysheet_select_save[t].height_move,display:"block",border:"1px solid #0188fb"}).find(".luckysheet-cs-draghandle").css("display","block").end().find(".luckysheet-cs-fillhandle").css("display","block").end().find(".luckysheet-cs-touchhandle").css("display","none"):$("#luckysheet-cell-selected-boxs #luckysheet-cell-selected").css({left:h.luckysheet_select_save[t].left_move,width:h.luckysheet_select_save[t].width_move,top:h.luckysheet_select_save[t].top_move,height:h.luckysheet_select_save[t].height_move,display:"block",border:"1px solid rgba(1, 136, 251, 0.15)"}).find(".luckysheet-cs-draghandle").css("display","none").end().find(".luckysheet-cs-fillhandle").css("display","none"):$("#luckysheet-cell-selected-boxs").append('<div class="luckysheet-cell-selected" style="left: '+h.luckysheet_select_save[t].left_move+"px; width: "+h.luckysheet_select_save[t].width_move+"px; top: "+h.luckysheet_select_save[t].top_move+"px; height: "+h.luckysheet_select_save[t].height_move+'px; border: 1px solid rgba(1, 136, 251, 0.15); display: block;"></div>'),t==h.luckysheet_select_save.length-1&&($("#luckysheet-cell-selected-focus").css({left:h.luckysheet_select_save[t].left,width:h.luckysheet_select_save[t].width,top:h.luckysheet_select_save[t].top,height:h.luckysheet_select_save[t].height,display:"block"}),sr(h.luckysheet_select_save[t].left_move,h.luckysheet_select_save[t].top_move,h.luckysheet_select_save[t].width_move,h.luckysheet_select_save[t].height_move,[l,a],[o,s]),p.fucntionboxshow(u,d),Ye.cellFocus(u,d))}Fy(h.luckysheet_select_save,e),Wo(),h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].row[0]==h.luckysheet_select_save[0].row[1]&&h.luckysheet_select_save[0].column[0]==h.luckysheet_select_save[0].column[1]&&Ed(h.luckysheet_select_save[0].row[0],h.luckysheet_select_save[0].column[0]),Wc()}h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_select_save=h.luckysheet_select_save;let n=JSON.stringify(h.luckysheet_select_save);h.luckysheet_select_save_previous==null|h.luckysheet_select_save_previous!==n&&Ke.createHookFunction("rangeSelect",h.luckysheetfile[K(h.currentSheetIndex)],h.luckysheet_select_save),h.luckysheet_select_save_previous=n}function Fy(e,n=!1){let t=$.extend(!0,[],e),l={},a={};for(let u=0;u<t.length;u++){let d=t[u].row[0],f=t[u].row[1],m=t[u].column[0],g=t[u].column[1];l=mm(l,d,f),a=mm(a,m,g)}$("#luckysheet-rows-h-selected").empty();let o=pm(l);for(let u=0;u<o.length;u++){let d=o[u][0],f=o[u][o[u].length-1],m=rl(f)[1],g=rl(d)[0];$("#luckysheet-rows-h-selected").append('<div class="luckysheet-rows-h-selected" style="top: '+g+"px; height: "+(m-g-1)+'px; display: block; background-color: rgba(76, 76, 76, 0.1);"></div>')}$("#luckysheet-cols-h-selected").empty();let s=pm(a);for(let u=0;u<s.length;u++){let d=s[u][0],f=s[u][s[u].length-1],m=Mt(f)[1],g=Mt(d)[0];$("#luckysheet-cols-h-selected").append('<div class="luckysheet-cols-h-selected" style="left: '+g+"px; width: "+(m-g-1)+'px; display: block; background-color: rgba(76, 76, 76, 0.1);"></div>')}}function mm(e,n,t){let l=$.extend(!0,{},e);for(let a=n;a<=t;a++)a in l||(l[a]=0);return l}function pm(e){let n=[];for(let a in e)n.push(a);n.sort(function(a,o){return a-o});let t=[],l=[];if(n.length>1)for(let a=1;a<n.length;a++)n[a]-n[a-1]==1?(l.push(n[a-1]),a==n.length-1&&(l.push(n[a]),t.push(l))):a==1?a==n.length-1?(l.push(n[a-1]),t.push(l),t.push([n[a]])):t.push(n[0]):a==n.length-1?(l.push(n[a-1]),t.push(l),t.push([n[a]])):(l.push(n[a-1]),t.push(l),l=[]);else t.push([n[0]]);return t}function Kr(e){e==null&&(e=h.luckysheet_select_save),e=JSON.parse(JSON.stringify(e));let n=!1,t={};for(let l=0;l<e.length;l++){let a=e[l].row[0],o=e[l].row[1],s=e[l].column[0],u=e[l].column[1];for(let d=a;d<=o;d++)for(let f=s;f<=u;f++)if(d+"_"+f in t){n=!0;break}else t[d+"_"+f]=0}return n}function Un(){let e=h.visibledatacolumn,n=h.visibledatarow;h.cooperativeEdit.changeCollaborationSize.forEach(t=>{if(t.i==h.currentSheetIndex){let l=t.v.column,a=e[l[0]]-1;t.v.column[0]!==0&&(a=e[l[1]]-e[l[0]-1]-(l[1]-l[0]+1));let o=t.v.row,s=n[o[0]]-1;t.v.row[0]!==0&&(s=n[o[1]]-n[o[0]-1]-(o[1]-o[0]+1));let u=h.cooperativeEdit.merge_range,d=e[t.v.column[0]-1]-1,f=n[t.v.row[0]-1]-1;if(h.config.columnlen!==null){for(let v in h.config.columnlen)if(t.v.column[0]<=v&&v<=t.v.column[1]){h.luckysheet_cols_change_size_start[1]=v-0;break}}if(h.config.rowlen!==null){for(let v in h.config.rowlen)if(t.v.row[0]<=v&&v<=t.v.row[1]){h.luckysheet_rows_change_size_start[1]=v-0;break}}if(t.v.column[0]<=h.luckysheet_cols_change_size_start[1]&&h.luckysheet_cols_change_size_start[1]<=t.v.column[1])if(h.luckysheet_cols_change_size_start[1]==0)a=e[0]-1;else{let v=t.v.column;a=e[v[1]]-e[v[0]-1]-(v[1]-v[0]+1)}if(t.v.row[0]<=h.luckysheet_rows_change_size_start[1]&&h.luckysheet_rows_change_size_start[1]<=t.v.row[1])if(h.luckysheet_rows_change_size_start[1]==0)s=n[0]-1;else{let v=t.v.row;s=n[v[1]]-n[v[0]-1]-(v[1]-v[0]+1)}if(Object.keys(u).length>0){let v=!1;if(u.v.length>1&&(v=u.v[1][0]==null||Object.keys(u.v[1][0]).length>0),u.v[0].length>1&&(v=u.v[0][1]==null||Object.keys(u.v[0][1]).length>0),v){let k=u.column[0]<=t.v.column[0]&&u.column[1]>=t.v.column[1];if(d=e[u.column[0]-1]-1,f=n[u.row[0]-1]-1,a=e[u.column[1]]-1,s=n[u.row[1]]-1,k){if(u.column[0]!==0){let w=u.column;a=e[w[1]]-e[w[0]-1]-(w[1]-w[0]+1)}else d=0;t.v.column=u.column}if(u.row[0]<=t.v.row[0]&&u.row[1]>=t.v.row[1]){if(u.row[0]!==0){let w=u.row;s=n[w[1]]-n[w[0]-1]-(w[1]-w[0]+1)}else f=0;t.v.row=u.row}}else a=e[l[0]]-e[l[0]-1]-1,l[0]===0&&(a=e[l[0]]-1),s=n[o[0]]-n[o[0]-1]-1,o[0]===0&&(s=n[o[0]]-1)}$("#luckysheet-multipleRange-show-"+t.id).css({height:s,width:a,top:f+"px",left:d+"px"});let y=$("#luckysheet-multipleRange-show-"+t.id)[0].offsetHeight-1;$("#luckysheet-multipleRange-show-"+t.id+">.username").css({bottom:y+"px"})}})}function Bt(e){if($("#luckysheet-selection-copy").empty(),e==null&&(e=h.luckysheet_selection_range),e=JSON.parse(JSON.stringify(e)),e.length>0)for(let n=0;n<e.length;n++){let t=e[n].row[0],l=e[n].row[1],a=e[n].column[0],o=e[n].column[1],s=h.visibledatarow[l],u=t-1==-1?0:h.visibledatarow[t-1],d=h.visibledatacolumn[o],f=a-1==-1?0:h.visibledatacolumn[a-1],m='<div class="luckysheet-selection-copy" style="display: block; left: '+f+"px; width: "+(d-f-1)+"px; top: "+u+"px; height: "+(s-u-1)+'px;"><div class="luckysheet-selection-copy-top luckysheet-copy"></div><div class="luckysheet-selection-copy-right luckysheet-copy"></div><div class="luckysheet-selection-copy-bottom luckysheet-copy"></div><div class="luckysheet-selection-copy-left luckysheet-copy"></div><div class="luckysheet-selection-copy-hc"></div></div>';$("#luckysheet-selection-copy").append(m)}}function sr(e,n,t,l,a,o){let s=a[1]-a[0]+1,u=o[1]-o[0]+1,d=h.luckysheetTableContentHW[0],f=h.luckysheetTableContentHW[1],m=$("#luckysheet-cell-main").scrollLeft(),g=$("#luckysheet-cell-main").scrollTop(),v=Q().info;if(s>=4){let k=e-25;k<0&&(k=e+5),k<m&&(k=m+10);let b=n+l/2;l>f&&(b=g+f/2),$("#luckysheet-row-count-show").css({left:k,top:b,display:"block",width:"11px"}).html("<div>"+s.toString().split("").join("</div><div>")+"</div><div>"+v.row+"</div>")}else $("#luckysheet-row-count-show").hide();if(u>=4){let k=n-25;k<0&&(k=n+5),k<g&&(k=g+10);let b=e+t/2;t>d&&(b=m+d/2),$("#luckysheet-column-count-show").css({left:b,top:k,display:"block"}).text(u+v.column)}else $("#luckysheet-column-count-show").hide()}function Wo(){let e=h.luckysheet_select_save[h.luckysheet_select_save.length-1],n=e.row_focus,t=e.column_focus;h.config.merge!=null&&n+"_"+t in h.config.merge?$("#luckysheet-helpbox-cell").text(wt(h.currentSheetIndex,{column:[t,t],row:[n,n]})):$("#luckysheet-helpbox-cell").text(wt(h.currentSheetIndex,e))}var Jt=$e(()=>{ol();qt();go();Zl();Ta();vr();Dt();Xe();El();yt();wa()});var Ey,Xc,gm=$e(()=>{ht();Wt();ol();Qt();tl();Pt();Xe();yt();Ey={moneyFmtList:[{name:"\u4EBA\u6C11\u5E01",pos:"before",value:"\xA5"},{name:"\u7F8E\u5143",pos:"before",value:"$"},{name:"\u6B27\u5143",pos:"before",value:"\u20AC"},{name:"\u82F1\u9551",pos:"before",value:"\uFFE1"},{name:"\u6E2F\u5143",pos:"before",value:"$"},{name:"\u65E5\u5143",pos:"before",value:"\uFFE5"},{name:"\u963F\u5C14\u5DF4\u5C3C\u4E9A\u5217\u514B",pos:"before",value:"Lek"},{name:"\u963F\u5C14\u53CA\u5229\u4E9A\u7B2C\u7EB3\u5C14",pos:"before",value:"din"},{name:"\u963F\u5BCC\u6C57\u5C3C",pos:"after",value:"Af"},{name:"\u963F\u6839\u5EF7\u6BD4\u7D22",pos:"before",value:"$"},{name:"\u963F\u62C9\u4F2F\u8054\u5408\u914B\u957F\u56FD\u8FEA\u62C9\u59C6",pos:"before",value:"dh"},{name:"\u963F\u9C81\u5DF4\u5F17\u7F57\u6797",pos:"before",value:"Afl"},{name:"\u963F\u66FC\u91CC\u4E9A\u5C14",pos:"before",value:"Rial"},{name:"\u963F\u585E\u62DC\u7586\u9A6C\u7EB3\u7279",pos:"before",value:"?"},{name:"\u57C3\u53CA\u9551",pos:"before",value:"\uFFE1"},{name:"\u57C3\u585E\u4FC4\u6BD4\u4E9A\u6BD4\u5C14",pos:"before",value:"Birr"},{name:"\u5B89\u54E5\u62C9\u5BBD\u624E",pos:"before",value:"Kz"},{name:"\u6FB3\u5927\u5229\u4E9A\u5143",pos:"before",value:"$"},{name:"\u6FB3\u95E8\u5143",pos:"before",value:"MOP"},{name:"\u5DF4\u5DF4\u591A\u65AF\u5143",pos:"before",value:"$"},{name:"\u5DF4\u5E03\u4E9A\u65B0\u51E0\u5185\u4E9A\u57FA\u90A3",pos:"before",value:"PGK"},{name:"\u5DF4\u54C8\u9A6C\u5143",pos:"before",value:"$"},{name:"\u5DF4\u57FA\u65AF\u5766\u5362\u6BD4",pos:"before",value:"Rs"},{name:"\u5DF4\u62C9\u572D\u74DC\u62C9\u5C3C",pos:"after",value:"Gs"},{name:"\u5DF4\u6797\u7B2C\u7EB3\u5C14",pos:"before",value:"din"},{name:"\u5DF4\u62FF\u9A6C\u5DF4\u6CE2\u4E9A",pos:"before",value:"B/"},{name:"\u5DF4\u897F\u91CC\u4E9A\u4F0A",pos:"before",value:"R$"},{name:"\u767D\u4FC4\u7F57\u65AF\u5362\u5E03",pos:"after",value:"\u0440"},{name:"\u767E\u6155\u5927\u5143",pos:"before",value:"$"},{name:"\u4FDD\u52A0\u5229\u4E9A\u5217\u5F17",pos:"before",value:"lev"},{name:"\u51B0\u5C9B\u514B\u6717",pos:"before",value:"kr"},{name:"\u6CE2\u9ED1\u53EF\u5151\u6362\u9A6C\u514B",pos:"before",value:"KM"},{name:"\u6CE2\u5170\u5179\u7F57\u63D0",pos:"after",value:"z?"},{name:"\u73BB\u5229\u7EF4\u4E9A\u8BFA",pos:"before",value:"Bs"},{name:"\u4F2F\u5229\u5179\u5143",pos:"before",value:"$"},{name:"\u535A\u8328\u74E6\u7EB3\u666E\u62C9",pos:"before",value:"P"},{name:"\u4E0D\u4E39\u52AA\u624E\u59C6",pos:"before",value:"Nu"},{name:"\u5E03\u9686\u8FEA\u6CD5\u90CE",pos:"before",value:"FBu"},{name:"\u671D\u9C9C\u5706",pos:"before",value:"?KP"},{name:"\u4E39\u9EA6\u514B\u6717",pos:"after",value:"kr"},{name:"\u4E1C\u52A0\u52D2\u6BD4\u5143",pos:"before",value:"$"},{name:"\u591A\u7C73\u5C3C\u52A0\u6BD4\u7D22",pos:"before",value:"RD$"},{name:"\u4FC4\u56FD\u5362\u5E03",pos:"after",value:"?"},{name:"\u5384\u7ACB\u7279\u91CC\u4E9A\u7EB3\u514B\u6CD5",pos:"before",value:"Nfk"},{name:"\u975E\u6D32\u91D1\u878D\u5171\u540C\u4F53\u6CD5\u90CE",pos:"before",value:"CFA"},{name:"\u83F2\u5F8B\u5BBE\u6BD4\u7D22",pos:"before",value:"?"},{name:"\u6590\u6D4E\u5143",pos:"before",value:"$"},{name:"\u4F5B\u5F97\u89D2\u57C3\u65AF\u5E93\u591A",pos:"before",value:"CVE"},{name:"\u798F\u514B\u5170\u7FA4\u5C9B\u9551",pos:"before",value:"\uFFE1"},{name:"\u5188\u6BD4\u4E9A\u8FBE\u62C9\u897F",pos:"before",value:"GMD"},{name:"\u521A\u679C\u6CD5\u90CE",pos:"before",value:"FrCD"},{name:"\u54E5\u4F26\u6BD4\u4E9A\u6BD4\u7D22",pos:"before",value:"$"},{name:"\u54E5\u65AF\u8FBE\u9ECE\u52A0\u79D1\u6717",pos:"before",value:"?"},{name:"\u53E4\u5DF4\u6BD4\u7D22",pos:"before",value:"$"},{name:"\u53E4\u5DF4\u53EF\u5151\u6362\u6BD4\u7D22",pos:"before",value:"$"},{name:"\u572D\u4E9A\u90A3\u5143",pos:"before",value:"$"},{name:"\u54C8\u8428\u514B\u65AF\u5766\u575A\u6208",pos:"before",value:"?"},{name:"\u6D77\u5730\u53E4\u5FB7",pos:"before",value:"HTG"},{name:"\u97E9\u5143",pos:"before",value:"?"},{name:"\u8377\u5C5E\u5B89\u7684\u5217\u65AF\u76FE",pos:"before",value:"NAf."},{name:"\u6D2A\u90FD\u62C9\u65AF\u62C9\u4F26\u76AE\u62C9",pos:"before",value:"L"},{name:"\u5409\u5E03\u63D0\u6CD5\u90CE",pos:"before",value:"Fdj"},{name:"\u5409\u5C14\u5409\u65AF\u65AF\u5766\u7D22\u59C6",pos:"before",value:"KGS"},{name:"\u51E0\u5185\u4E9A\u6CD5\u90CE",pos:"before",value:"FG"},{name:"\u52A0\u62FF\u5927\u5143",pos:"before",value:"$"},{name:"\u52A0\u7EB3\u585E\u5730",pos:"before",value:"GHS"},{name:"\u67EC\u57D4\u5BE8\u745E\u5C14",pos:"before",value:"Riel"},{name:"\u6377\u514B\u514B\u6717",pos:"after",value:"K?"},{name:"\u6D25\u5DF4\u5E03\u97E6\u5143",pos:"before",value:"$"},{name:"\u5361\u5854\u5C14\u91CC\u4E9A\u5C14",pos:"before",value:"Rial"},{name:"\u5F00\u66FC\u7FA4\u5C9B\u5143",pos:"before",value:"$"},{name:"\u79D1\u6469\u7F57\u6CD5\u90CE",pos:"before",value:"CF"},{name:"\u79D1\u5A01\u7279\u7B2C\u7EB3\u5C14",pos:"before",value:"din"},{name:"\u514B\u7F57\u5730\u4E9A\u5E93\u7EB3",pos:"before",value:"kn"},{name:"\u80AF\u5C3C\u4E9A\u5148\u4EE4",pos:"before",value:"Ksh"},{name:"\u83B1\u7D22\u6258\u6D1B\u8482",pos:"before",value:"LSL"},{name:"\u8001\u631D\u57FA\u666E",pos:"before",value:"?"},{name:"\u9ECE\u5DF4\u5AE9\u9551",pos:"before",value:"L\uFFE1"},{name:"\u7ACB\u9676\u5B9B\u7ACB\u7279",pos:"before",value:"Lt"},{name:"\u5229\u6BD4\u4E9A\u7B2C\u7EB3\u5C14",pos:"before",value:"din"},{name:"\u5229\u6BD4\u4E9A\u5143",pos:"before",value:"$"},{name:"\u5362\u65FA\u8FBE\u6CD5\u90CE",pos:"before",value:"RF"},{name:"\u7F57\u9A6C\u5C3C\u4E9A\u5217\u4F0A",pos:"before",value:"RON"},{name:"\u9A6C\u8FBE\u52A0\u65AF\u52A0\u963F\u91CC\u4E9A\u91CC",pos:"before",value:"Ar"},{name:"\u9A6C\u5C14\u4EE3\u592B\u62C9\u83F2\u4E9A",pos:"before",value:"Rf"},{name:"\u9A6C\u62C9\u7EF4\u514B\u74E6\u67E5",pos:"before",value:"MWK"},{name:"\u9A6C\u6765\u897F\u4E9A\u6797\u5409\u7279",pos:"before",value:"RM"},{name:"\u9A6C\u5176\u987F\u6234\u7B2C\u7EB3\u5C14",pos:"before",value:"din"},{name:"\u6BDB\u91CC\u6C42\u65AF\u5362\u6BD4",pos:"before",value:"MURs"},{name:"\u6BDB\u91CC\u5854\u5C3C\u4E9A\u4E4C\u5409\u4E9A",pos:"before",value:"MRO"},{name:"\u8499\u53E4\u56FE\u683C\u91CC\u514B",pos:"before",value:"?"},{name:"\u5B5F\u52A0\u62C9\u5854\u5361",pos:"before",value:"?"},{name:"\u79D8\u9C81\u65B0\u7D22\u5C14",pos:"before",value:"S/"},{name:"\u7F05\u7538\u5F00\u4E9A\u7279",pos:"before",value:"K"},{name:"\u6469\u5C14\u591A\u74E6\u5217\u4F0A",pos:"before",value:"MDL"},{name:"\u6469\u6D1B\u54E5\u8FEA\u62C9\u59C6",pos:"before",value:"dh"},{name:"\u83AB\u6851\u6BD4\u514B\u6885\u8482\u5361\u5C14",pos:"before",value:"MTn"},{name:"\u58A8\u897F\u54E5\u6BD4\u7D22",pos:"before",value:"$"},{name:"\u7EB3\u7C73\u6BD4\u4E9A\u5143",pos:"before",value:"$"},{name:"\u5357\u975E\u5170\u7279",pos:"before",value:"R"},{name:"\u5357\u82CF\u4E39\u9551",pos:"before",value:"\uFFE1"},{name:"\u5C3C\u52A0\u62C9\u74DC\u79D1\u591A\u5DF4",pos:"before",value:"C$"},{name:"\u5C3C\u6CCA\u5C14\u5362\u6BD4",pos:"before",value:"Rs"},{name:"\u5C3C\u65E5\u5229\u4E9A\u5948\u62C9",pos:"before",value:"?"},{name:"\u632A\u5A01\u514B\u6717",pos:"after",value:"kr"},{name:"\u4E54\u6CBB\u4E9A\u62C9\u745E",pos:"before",value:"GEL"},{name:"\u4EBA\u6C11\u5E01\uFF08\u79BB\u5CB8\uFF09",pos:"before",value:"\uFFE5"},{name:"\u745E\u5178\u514B\u6717",pos:"after",value:"kr"},{name:"\u745E\u58EB\u6CD5\u90CE",pos:"before",value:"CHF"},{name:"\u585E\u5C14\u7EF4\u4E9A\u7B2C\u7EB3\u5C14",pos:"before",value:"din"},{name:"\u585E\u62C9\u5229\u6602\u5229\u6602",pos:"before",value:"SLL"},{name:"\u585E\u820C\u5C14\u5362\u6BD4",pos:"before",value:"SCR"},{name:"\u6C99\u7279\u91CC\u4E9A\u5C14",pos:"before",value:"Rial"},{name:"\u5723\u591A\u7F8E\u591A\u5E03\u62C9",pos:"before",value:"Db"},{name:"\u5723\u8D6B\u52D2\u62FF\u7FA4\u5C9B\u78C5",pos:"before",value:"\uFFE1"},{name:"\u65AF\u91CC\u5170\u5361\u5362\u6BD4",pos:"before",value:"Rs"},{name:"\u65AF\u5A01\u58EB\u5170\u91CC\u5170\u5409\u5C3C",pos:"before",value:"SZL"},{name:"\u82CF\u4E39\u9551",pos:"before",value:"SDG"},{name:"\u82CF\u91CC\u5357\u5143",pos:"before",value:"$"},{name:"\u6240\u7F57\u95E8\u7FA4\u5C9B\u5143",pos:"before",value:"$"},{name:"\u7D22\u9A6C\u91CC\u5148\u4EE4",pos:"before",value:"SOS"},{name:"\u5854\u5409\u514B\u65AF\u5766\u7D22\u83AB\u5C3C",pos:"before",value:"Som"},{name:"\u592A\u5E73\u6D0B\u6CD5\u90CE",pos:"after",value:"FCFP"},{name:"\u6CF0\u56FD\u94E2",pos:"before",value:"?"},{name:"\u5766\u6851\u5C3C\u4E9A\u5148\u4EE4",pos:"before",value:"TSh"},{name:"\u6C64\u52A0\u6F58\u52A0",pos:"before",value:"T$"},{name:"\u7279\u7ACB\u5C3C\u8FBE\u548C\u591A\u5DF4\u54E5\u5143",pos:"before",value:"$"},{name:"\u7A81\u5C3C\u65AF\u7B2C\u7EB3\u5C14",pos:"before",value:"din"},{name:"\u571F\u8033\u5176\u91CC\u62C9",pos:"before",value:"?"},{name:"\u74E6\u52AA\u963F\u56FE\u74E6\u56FE",pos:"before",value:"VUV"},{name:"\u5371\u5730\u9A6C\u62C9\u683C\u67E5\u5C14",pos:"before",value:"Q"},{name:"\u59D4\u5185\u745E\u62C9\u535A\u5229\u74E6",pos:"before",value:"Bs"},{name:"\u6587\u83B1\u5143",pos:"before",value:"$"},{name:"\u4E4C\u5E72\u8FBE\u5148\u4EE4",pos:"before",value:"UGX"},{name:"\u4E4C\u514B\u5170\u683C\u91CC\u592B\u5C3C\u4E9A",pos:"before",value:"\u0433\u0440\u043D."},{name:"\u4E4C\u62C9\u572D\u6BD4\u7D22",pos:"before",value:"$"},{name:"\u4E4C\u5179\u522B\u514B\u65AF\u5766\u82CF\u59C6",pos:"before",value:"so?m"},{name:"\u897F\u8428\u6469\u4E9A\u5854\u62C9",pos:"before",value:"WST"},{name:"\u65B0\u52A0\u5761\u5143",pos:"before",value:"$"},{name:"\u65B0\u53F0\u5E01",pos:"before",value:"NT$"},{name:"\u65B0\u897F\u5170\u5143",pos:"before",value:"$"},{name:"\u5308\u7259\u5229\u798F\u6797",pos:"before",value:"Ft"},{name:"\u53D9\u5229\u4E9A\u9551",pos:"before",value:"\uFFE1"},{name:"\u7259\u4E70\u52A0\u5143",pos:"before",value:"$"},{name:"\u4E9A\u7F8E\u5C3C\u4E9A\u5FB7\u62C9\u59C6",pos:"before",value:"Dram"},{name:"\u4E5F\u95E8\u91CC\u4E9A\u5C14",pos:"before",value:"Rial"},{name:"\u4F0A\u62C9\u514B\u7B2C\u7EB3\u5C14",pos:"before",value:"din"},{name:"\u4F0A\u6717\u91CC\u4E9A\u5C14",pos:"before",value:"Rial"},{name:"\u4EE5\u8272\u5217\u65B0\u8C22\u514B\u5C14",pos:"before",value:"?"},{name:"\u5370\u5EA6\u5362\u6BD4",pos:"before",value:"?"},{name:"\u5370\u5EA6\u5C3C\u897F\u4E9A\u5362\u6BD4",pos:"before",value:"Rp"},{name:"\u7EA6\u65E6\u7B2C\u7EB3\u5C14",pos:"before",value:"din"},{name:"\u8D8A\u5357\u76FE",pos:"after",value:"?"},{name:"\u8D5E\u6BD4\u4E9A\u514B\u74E6\u67E5",pos:"before",value:"ZMW"},{name:"\u76F4\u5E03\u7F57\u9640\u9551",pos:"before",value:"\uFFE1"},{name:"\u667A\u5229\u6BD4\u7D22",pos:"before",value:"$"},{name:"\u4E2D\u975E\u91D1\u878D\u5408\u4F5C\u6CD5\u90CE",pos:"before",value:"FCFA"}],dateFmtList:[{name:"1930-08-05",value:"yyyy-MM-dd"},{name:"1930/8/5",value:"yyyy/MM/dd"},{name:"1930\u5E748\u67085\u65E5",value:'yyyy"\u5E74"M"\u6708"d"\u65E5"'},{name:"08-05",value:"MM-dd"},{name:"8-5",value:"M-d"},{name:"8\u67085\u65E5",value:'M"\u6708"d"\u65E5"'},{name:"13:30:30",value:"h:mm:ss"},{name:"13:30",value:"h:mm"},{name:"\u4E0B\u534801:30",value:"\u4E0A\u5348/\u4E0B\u5348 hh:mm"},{name:"\u4E0B\u53481:30",value:"\u4E0A\u5348/\u4E0B\u5348 h:mm"},{name:"\u4E0B\u53481:30:30",value:"\u4E0A\u5348/\u4E0B\u5348 h:mm:ss"},{name:"08-05 \u4E0B\u534801:30",value:"MM-dd \u4E0A\u5348/\u4E0B\u5348 hh:mm"}],numFmtList:[{name:"1235",value:"0"},{name:"1234.56",value:"0.00"},{name:"1,235",value:"#,##0"},{name:"1,234.56",value:"#,##0.00"},{name:"1,235",value:"#,##0_);(#,##0)"},{name:"1,235",value:"#,##0_);[Red](#,##0)"},{name:"1,234.56",value:"#,##0.00_);(#,##0.00)"},{name:"1,234.56",value:"#,##0.00_);[Red](#,##0.00)"},{name:"$1,235",value:"$#,##0_);($#,##0)"},{name:"$1,235",value:"$#,##0_);[Red]($#,##0)"},{name:"$1,234.56",value:"$#,##0.00_);($#,##0.00)"},{name:"$1,234.56",value:"$#,##0.00_);[Red]($#,##0.00)"},{name:"1234.56",value:"@"},{name:"123456%",value:"0%"},{name:"123456.00%",value:"0.00%"},{name:"1.23E+03",value:"0.00E+00"},{name:"1.2E+3",value:"##0.0E+0"},{name:"1234 5/9",value:"# ?/?"},{name:"1234 14/25",value:"# ??/??"},{name:"$ 1,235",value:'_($* #,##0_);_(...($* "-"_);_(@_)'},{name:"1,235",value:'_(* #,##0_);_(*..._(* "-"_);_(@_)'},{name:"$ 1,234.56",value:'_($* #,##0.00_);_(...($* "-"_);_(@_)'},{name:"1,234.56",value:'_(* #,##0.00_);...* "-"??_);_(@_)'}],createDialog:function(e){let n=this,t=Q().currencyDetail,l=Q().format,a=Q().button;this.moneyFmtList=[{name:t.RMB,pos:"before",value:"\xA5"},{name:t.USdollar,pos:"before",value:"$"},{name:t.EUR,pos:"before",value:"\u20AC"},{name:t.GBP,pos:"before",value:"\uFFE1"},{name:t.HK,pos:"before",value:"$"},{name:t.JPY,pos:"before",value:"\uFFE5"},{name:t.AlbanianLek,pos:"before",value:"Lek"},{name:t.AlgerianDinar,pos:"before",value:"din"},{name:t.Afghani,pos:"after",value:"Af"},{name:t.ArgentinePeso,pos:"before",value:"$"},{name:t.UnitedArabEmiratesDirham,pos:"before",value:"dh"},{name:t.ArubanFlorin,pos:"before",value:"Afl"},{name:t.OmaniRial,pos:"before",value:"Rial"},{name:t.Azerbaijanimanat,pos:"before",value:"?"},{name:t.EgyptianPound,pos:"before",value:"\uFFE1"},{name:t.EthiopianBirr,pos:"before",value:"Birr"},{name:t.AngolaKwanza,pos:"before",value:"Kz"},{name:t.AustralianDollar,pos:"before",value:"$"},{name:t.Patacas,pos:"before",value:"MOP"},{name:t.BarbadosDollar,pos:"before",value:"$"},{name:t.PapuaNewGuineaKina,pos:"before",value:"PGK"},{name:t.BahamianDollar,pos:"before",value:"$"},{name:t.PakistanRupee,pos:"before",value:"Rs"},{name:t.ParaguayanGuarani,pos:"after",value:"Gs"},{name:t.BahrainiDinar,pos:"before",value:"din"},{name:t.PanamanianBalboa,pos:"before",value:"B/"},{name:t.Brazilianreal,pos:"before",value:"R$"},{name:t.Belarusianruble,pos:"after",value:"\u0440"},{name:t.BermudianDollar,pos:"before",value:"$"},{name:t.BulgarianLev,pos:"before",value:"lev"},{name:t.IcelandKrona,pos:"before",value:"kr"},{name:t.BosniaHerzegovinaConvertibleMark,pos:"before",value:"KM"},{name:t.PolishZloty,pos:"after",value:"z?"},{name:t.Boliviano,pos:"before",value:"Bs"},{name:t.BelizeDollar,pos:"before",value:"$"},{name:t.BotswanaPula,pos:"before",value:"P"},{name:t.NotDannuzhamu,pos:"before",value:"Nu"},{name:t.BurundiFranc,pos:"before",value:"FBu"},{name:t.NorthKoreanWon,pos:"before",value:"?KP"},{name:t.DanishKrone,pos:"after",value:"kr"},{name:t.EastCaribbeanDollar,pos:"before",value:"$"},{name:t.DominicaPeso,pos:"before",value:"RD$"},{name:t.RussianRuble,pos:"after",value:"?"},{name:t.EritreanNakfa,pos:"before",value:"Nfk"},{name:t.CFAfranc,pos:"before",value:"CFA"},{name:t.PhilippinePeso,pos:"before",value:"?"},{name:t.FijiDollar,pos:"before",value:"$"},{name:t.CapeVerdeEscudo,pos:"before",value:"CVE"},{name:t.FalklandIslandsPound,pos:"before",value:"\uFFE1"},{name:t.GambianDalasi,pos:"before",value:"GMD"},{name:t.Congolesefranc,pos:"before",value:"FrCD"},{name:t.ColombianPeso,pos:"before",value:"$"},{name:t.CostaRicanColon,pos:"before",value:"?"},{name:t.CubanPeso,pos:"before",value:"$"},{name:t.Cubanconvertiblepeso,pos:"before",value:"$"},{name:t.GuyanaDollar,pos:"before",value:"$"},{name:t.KazakhstanTenge,pos:"before",value:"?"},{name:t.Haitiangourde,pos:"before",value:"HTG"},{name:t.won,pos:"before",value:"?"},{name:t.NetherlandsAntillesGuilder,pos:"before",value:"NAf."},{name:t.Honduraslempiras,pos:"before",value:"L"},{name:t.DjiboutiFranc,pos:"before",value:"Fdj"},{name:t.KyrgyzstanSom,pos:"before",value:"KGS"},{name:t.GuineaFranc,pos:"before",value:"FG"},{name:t.CanadianDollar,pos:"before",value:"$"},{name:t.GhanaianCedi,pos:"before",value:"GHS"},{name:t.Cambodianriel,pos:"before",value:"Riel"},{name:t.CzechKoruna,pos:"after",value:"K?"},{name:t.ZimbabweDollar,pos:"before",value:"$"},{name:t.QatariRiyal,pos:"before",value:"Rial"},{name:t.CaymanIslandsDollar,pos:"before",value:"$"},{name:t.Comorianfranc,pos:"before",value:"CF"},{name:t.KuwaitiDinar,pos:"before",value:"din"},{name:t.CroatianKuna,pos:"before",value:"kn"},{name:t.KenyanShilling,pos:"before",value:"Ksh"},{name:t.LesothoLoti,pos:"before",value:"LSL"},{name:t.LaoKip,pos:"before",value:"?"},{name:t.LebanesePound,pos:"before",value:"L\uFFE1"},{name:t.Lithuanianlitas,pos:"before",value:"Lt"},{name:t.LibyanDinar,pos:"before",value:"din"},{name:t.LiberianDollar,pos:"before",value:"$"},{name:t.RwandaFranc,pos:"before",value:"RF"},{name:t.RomanianLeu,pos:"before",value:"RON"},{name:t.MalagasyAriary,pos:"before",value:"Ar"},{name:t.MaldivianRufiyaa,pos:"before",value:"Rf"},{name:t.MalawiKwacha,pos:"before",value:"MWK"},{name:t.MalaysianRinggit,pos:"before",value:"RM"},{name:t.MacedoniawearingDinar,pos:"before",value:"din"},{name:t.MauritiusRupee,pos:"before",value:"MURs"},{name:t.MauritanianOuguiya,pos:"before",value:"MRO"},{name:t.MongolianTugrik,pos:"before",value:"?"},{name:t.BangladeshiTaka,pos:"before",value:"?"},{name:t.PeruvianNuevoSol,pos:"before",value:"S/"},{name:t.MyanmarKyat,pos:"before",value:"K"},{name:t.MoldovanLeu,pos:"before",value:"MDL"},{name:t.MoroccanDirham,pos:"before",value:"dh"},{name:t.MozambiqueMetical,pos:"before",value:"MTn"},{name:t.MexicanPeso,pos:"before",value:"$"},{name:t.NamibianDollar,pos:"before",value:"$"},{name:t.SouthAfricanRand,pos:"before",value:"R"},{name:t.SouthSudanesePound,pos:"before",value:"\uFFE1"},{name:t.NicaraguaCordoba,pos:"before",value:"C$"},{name:t.NepaleseRupee,pos:"before",value:"Rs"},{name:t.NigerianNaira,pos:"before",value:"?"},{name:t.NorwegianKrone,pos:"after",value:"kr"},{name:t.GeorgianLari,pos:"before",value:"GEL"},{name:t.RenminbiOffshore,pos:"before",value:"\uFFE5"},{name:t.SwedishKrona,pos:"after",value:"kr"},{name:t.SwissFranc,pos:"before",value:"CHF"},{name:t.SerbianDinar,pos:"before",value:"din"},{name:t.SierraLeone,pos:"before",value:"SLL"},{name:t.SeychellesRupee,pos:"before",value:"SCR"},{name:t.SaudiRiyal,pos:"before",value:"Rial"},{name:t.SaoTomeDobra,pos:"before",value:"Db"},{name:t.SaintHelenapound,pos:"before",value:"\uFFE1"},{name:t.SriLankaRupee,pos:"before",value:"Rs"},{name:t.SwazilandLilangeni,pos:"before",value:"SZL"},{name:t.SudanesePound,pos:"before",value:"SDG"},{name:t.Surinamesedollar,pos:"before",value:"$"},{name:t.SolomonIslandsDollar,pos:"before",value:"$"},{name:t.SomaliShilling,pos:"before",value:"SOS"},{name:t.TajikistanSomoni,pos:"before",value:"Som"},{name:t.PacificFranc,pos:"after",value:"FCFP"},{name:t.ThaiBaht,pos:"before",value:"?"},{name:t.TanzanianShilling,pos:"before",value:"TSh"},{name:t.TonganPaanga,pos:"before",value:"T$"},{name:t.TrinidadandTobagoDollar,pos:"before",value:"$"},{name:t.TunisianDinar,pos:"before",value:"din"},{name:t.TurkishLira,pos:"before",value:"?"},{name:t.VanuatuVatu,pos:"before",value:"VUV"},{name:t.GuatemalanQuetzal,pos:"before",value:"Q"},{name:t.CommissionBolivar,pos:"before",value:"Bs"},{name:t.BruneiDollar,pos:"before",value:"$"},{name:t.UgandanShilling,pos:"before",value:"UGX"},{name:t.UkrainianHryvnia,pos:"before",value:"\u0433\u0440\u043D."},{name:t.UruguayanPeso,pos:"before",value:"$"},{name:t.Uzbekistansom,pos:"before",value:"so?m"},{name:t.WesternSamoaTala,pos:"before",value:"WST"},{name:t.SingaporeDollar,pos:"before",value:"$"},{name:t.NT,pos:"before",value:"NT$"},{name:t.NewZealandDollar,pos:"before",value:"$"},{name:t.HungarianForint,pos:"before",value:"Ft"},{name:t.SyrianPound,pos:"before",value:"\uFFE1"},{name:t.JamaicanDollar,pos:"before",value:"$"},{name:t.ArmenianDram,pos:"before",value:"Dram"},{name:t.YemeniRial,pos:"before",value:"Rial"},{name:t.IraqiDinar,pos:"before",value:"din"},{name:t.IranianRial,pos:"before",value:"Rial"},{name:t.NewIsraeliShekel,pos:"before",value:"?"},{name:t.IndianRupee,pos:"before",value:"?"},{name:t.IndonesianRupiah,pos:"before",value:"Rp"},{name:t.JordanianDinar,pos:"before",value:"din"},{name:t.VND,pos:"after",value:"?"},{name:t.ZambianKwacha,pos:"before",value:"ZMW"},{name:t.GibraltarPound,pos:"before",value:"\uFFE1"},{name:t.ChileanPeso,pos:"before",value:"$"},{name:t.CFAFrancBEAC,pos:"before",value:"FCFA"}],this.dateFmtList=Q().dateFmtList,this.numFmtList=[{name:"1235",value:"0"},{name:"1234.56",value:"0.00"},{name:"1,235",value:"#,##0"},{name:"1,234.56",value:"#,##0.00"},{name:"1,235",value:"#,##0_);(#,##0)"},{name:"1,235",value:"#,##0_);[Red](#,##0)"},{name:"1,234.56",value:"#,##0.00_);(#,##0.00)"},{name:"1,234.56",value:"#,##0.00_);[Red](#,##0.00)"},{name:"$1,235",value:"$#,##0_);($#,##0)"},{name:"$1,235",value:"$#,##0_);[Red]($#,##0)"},{name:"$1,234.56",value:"$#,##0.00_);($#,##0.00)"},{name:"$1,234.56",value:"$#,##0.00_);[Red]($#,##0.00)"},{name:"1234.56",value:"@"},{name:"123456%",value:"0%"},{name:"123456.00%",value:"0.00%"},{name:"1.23E+03",value:"0.00E+00"},{name:"1.2E+3",value:"##0.0E+0"},{name:"1234 5/9",value:"# ?/?"},{name:"1234 14/25",value:"# ??/??"},{name:"$ 1,235",value:'_($* #,##0_);_(...($* "-"_);_(@_)'},{name:"1,235",value:'_(* #,##0_);_(*..._(* "-"_);_(@_)'},{name:"$ 1,234.56",value:'_($* #,##0.00_);_(...($* "-"_);_(@_)'},{name:"1,234.56",value:'_(* #,##0.00_);...* "-"??_);_(@_)'}],$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-moreFormat-dialog").remove();let o="",s="";if(e=="morecurrency"){o=l.titleCurrency;let k="";for(let b=0;b<n.moneyFmtList.length;b++){let w=n.moneyFmtList[b].name,x=n.moneyFmtList[b].pos,C=n.moneyFmtList[b].value;k+='<div class="listItem"><div class="name">'+w+'</div><div class="value">'+C+'</div><input type="hidden" value="'+x+'"/></div>'}s='<div class="box" id="morecurrency"><div class="decimal"><label>'+l.decimalPlaces+'\uFF1A</label><input type="number" class="formulaInputFocus" value="2" min="0" max="9"/></div><div class="listbox">'+k+"</div></div>"}else if(e=="moredatetime"){o=l.titleDateTime;let k="";for(let b=0;b<n.dateFmtList.length;b++){let w=n.dateFmtList[b].name,x=n.dateFmtList[b].value;k+='<div class="listItem"><div class="name">'+w+'</div><div class="value">'+x+"</div></div>"}s='<div class="box" id="moredatetime"><div class="listbox">'+k+"</div></div>"}else if(e=="moredigit"){o=l.titleNumber;let k="";for(let b=0;b<n.numFmtList.length;b++){let w=n.numFmtList[b].name,x=n.numFmtList[b].value;k+='<div class="listItem"><div class="name">'+w+'</div><div class="value">'+x+"</div></div>"}s='<div class="box" id="moredigit"><div class="listbox">'+k+"</div></div>"}$("body").append(_e(ft,{id:"luckysheet-moreFormat-dialog",addclass:"luckysheet-moreFormat-dialog",title:o,content:s,botton:'<button id="luckysheet-moreFormat-dialog-confirm" class="btn btn-primary">'+a.confirm+'</button><button class="btn btn-default luckysheet-model-close-btn">'+a.cancel+"</button>",style:"z-index:100003"}));let u=$("#luckysheet-moreFormat-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),d=u.outerHeight(),f=u.outerWidth(),m=$(window).width(),g=$(window).height(),y=$(document).scrollLeft(),v=$(document).scrollTop();$("#luckysheet-moreFormat-dialog").css({left:(m+y-f)/2,top:(g+v-d)/3}).show(),$("#luckysheet-moreFormat-dialog .listbox .listItem").eq(0).addClass("on")},init:function(){let e=this;$(document).on("click","#luckysheet-moreFormat-dialog .listbox .listItem",function(){$(this).addClass("on").siblings().removeClass("on")}),$(document).off("click.moreFormatConfirm").on("click.moreFormatConfirm","#luckysheet-moreFormat-dialog #luckysheet-moreFormat-dialog-confirm",function(){$("#luckysheet-moreFormat-dialog").hide(),$("#luckysheet-modal-dialog-mask").hide();let n=we.deepCopyFlowData(h.flowdata),t=$("#luckysheet-moreFormat-dialog .listbox .listItem.on .value").text(),l=$(this).parents("#luckysheet-moreFormat-dialog").find(".box").attr("id");if(l=="morecurrency"){if(t.indexOf("?")!=-1)return;let a=parseInt($("#luckysheet-moreFormat-dialog .decimal input").val().trim());if(a.toString()=="NaN"||a<0||a>9){de()?alert("\u5C0F\u6570\u4F4D\u6570\u5FC5\u987B\u57280-9\u4E4B\u95F4\uFF01"):U.info("\u5C0F\u6570\u4F4D\u6570\u5FC5\u987B\u57280-9\u4E4B\u95F4\uFF01","");return}let o="";if(a>0){for(let u=1;u<=a;u++)o+="0";o="0."+o}else o="#";let s=$("#luckysheet-moreFormat-dialog .listbox .listItem.on input:hidden").val();s=="before"?o='"'+t+'" '+o:s=="after"&&(o=o+' "'+t+'"'),be.updateFormat(n,"ct",o)}else l=="moredatetime"?be.updateFormat(n,"ct",t):l=="moredigit"&&be.updateFormat(n,"ct",t)})}},Xc=Ey});var Ny,Zr,ym=$e(()=>{ht();Dt();Pt();Pt();tl();Wt();Jt();yr();Xe();yt();Ny={createDialog:function(){$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-locationCell-dialog").remove();let e=Q(),n=e.findAndReplace,t=e.button,l='<div class="listbox"><div class="listItem"><input type="radio" name="locationType" checked="checked" id="locationConstant"><label for="locationConstant">'+n.locationConstant+'</label><div class="subbox"><div class="subItem"><input type="checkbox" checked="checked" class="date" id="locationConstantDate"><label for="locationConstantDate">'+n.locationDate+'</label></div><div class="subItem"><input type="checkbox" checked="checked" class="number" id="locationConstantNumber"><label for="locationConstantNumber">'+n.locationDigital+'</label></div><div class="subItem"><input type="checkbox" checked="checked" class="string" id="locationConstantString"><label for="locationConstantString">'+n.locationString+'</label></div><div class="subItem"><input type="checkbox" checked="checked" class="boolean" id="locationConstantBoolean"><label for="locationConstantBoolean">'+n.locationBool+'</label></div><div class="subItem"><input type="checkbox" checked="checked" class="error" id="locationConstantError"><label for="locationConstantError">'+n.locationBool+'</label></div></div></div><div class="listItem"><input type="radio" name="locationType" id="locationFormula"><label for="locationFormula">'+n.locationFormula+'</label><div class="subbox"><div class="subItem"><input type="checkbox" checked="checked" class="date" id="locationFormulaDate" disabled="true"><label for="locationFormulaDate" style="color: #666">'+n.locationDate+'</label></div><div class="subItem"><input type="checkbox" checked="checked" class="number" id="locationFormulaNumber" disabled="true"><label for="locationFormulaNumber" style="color: #666">'+n.locationDigital+'</label></div><div class="subItem"><input type="checkbox" checked="checked" class="string" id="locationFormulaString" disabled="true"><label for="locationFormulaString" style="color: #666">'+n.locationString+'</label></div><div class="subItem"><input type="checkbox" checked="checked" class="boolean" id="locationFormulaBoolean" disabled="true"><label for="locationFormulaBoolean" style="color: #666">'+n.locationBool+'</label></div><div class="subItem"><input type="checkbox" checked="checked" class="error" id="locationFormulaError" disabled="true"><label for="locationFormulaError" style="color: #666">'+n.locationError+'</label></div></div></div><div class="listItem"><input type="radio" name="locationType" id="locationNull"><label for="locationNull">'+n.locationNull+'</label></div><div class="listItem"><input type="radio" name="locationType" id="locationCF"><label for="locationCF">'+n.locationCondition+'</label></div><div class="listItem"><input type="radio" name="locationType" id="locationStepRow"><label for="locationStepRow">'+n.locationRowSpan+'</label></div><div class="listItem"><input type="radio" name="locationType" id="locationStepColumn"><label for="locationStepColumn">'+n.locationColumnSpan+"</label></div></div>";$("body").append(_e(ft,{id:"luckysheet-locationCell-dialog",addclass:"luckysheet-locationCell-dialog",title:n.location,content:l,botton:'<button id="luckysheet-locationCell-dialog-confirm" class="btn btn-primary">'+t.confirm+'</button><button class="btn btn-default luckysheet-model-close-btn">'+t.cancel+"</button>",style:"z-index:100003"}));let a=$("#luckysheet-locationCell-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),o=a.outerHeight(),s=a.outerWidth(),u=$(window).width(),d=$(window).height(),f=$(document).scrollLeft(),m=$(document).scrollTop();$("#luckysheet-locationCell-dialog").css({left:(u+f-s)/2,top:(d+m-o)/3}).show()},init:function(){let e=this,n=Q().findAndReplace;$(document).on("click","#luckysheet-locationCell-dialog .listItem input:radio",function(t){$("#luckysheet-locationCell-dialog .listItem input:checkbox").prop("disabled",!0),$("#luckysheet-locationCell-dialog .listItem .subbox label").css("color","#666"),$(this).siblings(".subbox").find("input:checkbox").removeAttr("disabled"),$(this).siblings(".subbox").find("label").css("color","#000")}),$(document).off("click.locationCellConfirm").on("click.locationCellConfirm","#luckysheet-locationCell-dialog #luckysheet-locationCell-dialog-confirm",function(){$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-locationCell-dialog").hide();let t=$("#luckysheet-locationCell-dialog .listItem input:radio:checked"),l=t.attr("id");if(l=="locationConstant"||l=="locationFormula"){let a=t.siblings(".subbox").find("input:checkbox:checked"),o;if(a.length==0)return;if(a.length==5)o="all";else{let u=[];for(let d=0;d<a.length;d++)$(a[d]).hasClass("date")?u.push("d"):$(a[d]).hasClass("number")?u.push("n"):$(a[d]).hasClass("string")?u.push("s,g"):$(a[d]).hasClass("boolean")?u.push("b"):$(a[d]).hasClass("error")&&u.push("e");o=u.join(",")}let s;h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].row[0]==h.luckysheet_select_save[0].row[1]&&h.luckysheet_select_save[0].column[0]==h.luckysheet_select_save[0].column[1]?s=[{row:[0,h.flowdata.length-1],column:[0,h.flowdata[0].length-1]}]:s=$.extend(!0,[],h.luckysheet_select_save),e.apply(s,l,o)}else if(l=="locationStepRow"){if(h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].row[0]==h.luckysheet_select_save[0].row[1]){de()?alert(n.locationTiplessTwoRow):U.info("",n.locationTiplessTwoRow);return}let a=$.extend(!0,[],h.luckysheet_select_save);e.apply(a,"locationStepRow")}else if(l=="locationStepColumn"){if(h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].column[0]==h.luckysheet_select_save[0].column[1]){de()?alert(n.locationTiplessTwoColumn):U.info("",n.locationTiplessTwoColumn);return}let a=$.extend(!0,[],h.luckysheet_select_save);e.apply(a,"locationStepColumn")}else{let a;h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].row[0]==h.luckysheet_select_save[0].row[1]&&h.luckysheet_select_save[0].column[0]==h.luckysheet_select_save[0].column[1]?a=[{row:[0,h.flowdata.length-1],column:[0,h.flowdata[0].length-1]}]:a=$.extend(!0,[],h.luckysheet_select_save),e.apply(a,l)}})},apply:function(e,n,t){let l=Q().findAndReplace,a=[];if(n=="locationFormula"||n=="locationConstant"||n=="locationNull"){let o=null,s=null,u=null,d=null,f={};for(let m=0;m<e.length;m++){let g=e[m].row[0],y=e[m].row[1],v=e[m].column[0],k=e[m].column[1];(o==null||o<g)&&(o=g),(s==null||s>y)&&(s=y),(u==null||u<v)&&(u=v),(d==null||d>k)&&(d=k);for(let b=g;b<=y;b++)for(let w=v;w<=k;w++){let x=h.flowdata[b][w];x!=null&&x.mc!=null&&(x=h.flowdata[x.mc.r][x.mc.c]),(n=="locationFormula"&&x!=null&&!fe(x.v)&&x.f!=null&&(t=="all"||x.ct!=null&&t.indexOf(x.ct.t)>-1)||n=="locationConstant"&&x!=null&&!fe(x.v)&&(t=="all"||x.ct!=null&&t.indexOf(x.ct.t)>-1)||n=="locationNull"&&(x==null||fe(x.v)))&&(f[b+"_"+w]=0)}}a=this.getRangeArr(o,s,u,d,f,a)}else if(n=="locationCF"){let o=K(h.currentSheetIndex),s=h.luckysheetfile[o].luckysheet_conditionformat_save,u=h.luckysheetfile[o].data;if(s==null||s.length==0){de()?alert(l.locationTipNotFindCell):U.info("",l.locationTipNotFindCell);return}if(computeMap=Se.compute(s,u),Object.keys(computeMap).length==0){de()?alert(l.locationTipNotFindCell):U.info("",l.locationTipNotFindCell);return}let d=null,f=null,m=null,g=null,y={};for(let v=0;v<e.length;v++){let k=e[v].row[0],b=e[v].row[1],w=e[v].column[0],x=e[v].column[1];(d==null||d<k)&&(d=k),(f==null||f>b)&&(f=b),(m==null||m<w)&&(m=w),(g==null||g>x)&&(g=x);for(let C=k;C<=b;C++)for(let S=w;S<=x;S++)C+"_"+S in computeMap&&(y[C+"_"+S]=0)}a=this.getRangeArr(d,f,m,g,y,a)}else if(n=="locationStepRow")for(let o=0;o<e.length;o++){if(e[o].row[0]==e[o].row[1])continue;let s=e[o].row[0],u=e[o].row[1],d=e[o].column[0],f=e[o].column[1];for(let m=s;m<=u;m++)(m-s)%2==0&&a.push({row:[m,m],column:[d,f]})}else if(n=="locationStepColumn")for(let o=0;o<e.length;o++){if(e[o].column[0]==e[o].column[1])continue;let s=e[o].row[0],u=e[o].row[1],d=e[o].column[0],f=e[o].column[1];for(let m=d;m<=f;m++)(m-d)%2==0&&a.push({row:[s,u],column:[m,m]})}if(a.length==0)de()?alert(l.locationTipNotFindCell):U.info("",l.locationTipNotFindCell);else{h.luckysheet_select_save=a,tt();let o=$("#luckysheet-cell-main").scrollLeft(),s=$("#luckysheet-cell-main").scrollTop(),u=$("#luckysheet-cell-main").height(),d=$("#luckysheet-cell-main").width(),f=h.luckysheet_select_save[0].row[0],m=h.luckysheet_select_save[0].row[1],g=h.luckysheet_select_save[0].column[0],y=h.luckysheet_select_save[0].column[1],v=h.visibledatarow[m],k=f-1==-1?0:h.visibledatarow[f-1],b=h.visibledatacolumn[y],w=g-1==-1?0:h.visibledatacolumn[g-1];b-o-d+20>0?$("#luckysheet-scrollbar-x").scrollLeft(b-d+20):w-o-20<0&&$("#luckysheet-scrollbar-x").scrollLeft(w-20),v-s-u+20>0?$("#luckysheet-scrollbar-y").scrollTop(v-u+20):k-s-20<0&&$("#luckysheet-scrollbar-y").scrollTop(k-20)}},getRangeArr(e,n,t,l,a,o){if(Object.keys(a).length==0)return o;let s=this,u=null,d=null,f=null,m=null;for(let g=e;g<=n;g++)for(let y=t;y<=l;y++){let v=h.flowdata[g][y];if(g+"_"+y in a)if(v!=null&&v.mc!=null)if(f==null){let k={row:[v.mc.r,v.mc.r+v.mc.rs-1],column:[v.mc.c,v.mc.c+v.mc.cs-1]};return o.push(k),a=s.deleteCellInSave(a,k),s.getRangeArr(e,n,t,l,a,o)}else if(y<m){let k={row:[u,d],column:[f,m]};return o.push(k),a=s.deleteCellInSave(a,k),s.getRangeArr(e,n,t,l,a,o)}else break;else f==null?(f=y,m=y,u=g,d=g):y>m&&(m=y);else if(f!=null){if(v!=null&&v.mc!=null)break;if(!(y<f))if(y<=m){let k={row:[u,d],column:[f,m]};return o.push(k),a=s.deleteCellInSave(a,k),s.getRangeArr(e,n,t,l,a,o)}else d=g}}if(f!=null){let g={row:[u,d],column:[f,m]};return o.push(g),a=s.deleteCellInSave(a,g),s.getRangeArr(e,n,t,l,a,o)}},deleteCellInSave(e,n){for(let t=n.row[0];t<=n.row[1];t++)for(let l=n.column[0];l<=n.column[1];l++)delete e[t+"_"+l];return e}},Zr=Ny});var Py,ai,Kc=$e(()=>{qt();Qt();xa();Wt();ht();Xe();yt();Py={singleRangeFocus:!1,init:function(){let e=this,n=Q(),t=n.formula,l=n.button;$(document).off("focus.IFcompareValue").on("focus.IFcompareValue","#luckysheet-ifFormulaGenerator-dialog #compareValue",function(){$("#luckysheet-modal-dialog-mask").hide(),e.singleRangeFocus=!0}),$(document).off("click.IFsingRange").on("click.IFsingRange","#luckysheet-ifFormulaGenerator-dialog .singRange",function(){let a=$("#luckysheet-ifFormulaGenerator-dialog #compareValue").val().trim();p.iscelldata(a)?e.singleRangeDialog(a):e.singleRangeDialog()}),$(document).off("click.IFsingRangeConfirm").on("click.IFsingRangeConfirm","#luckysheet-ifFormulaGenerator-singleRange-confirm",function(){$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-ifFormulaGenerator-singleRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-ifFormulaGenerator-dialog").show();let a=$(this).parents("#luckysheet-ifFormulaGenerator-singleRange-dialog").find("input").val().trim();$("#luckysheet-ifFormulaGenerator-dialog #compareValue").val(a),e.singleRangeFocus=!1}),$(document).off("click.IFsingRangeCancel").on("click.IFsingRangeCancel","#luckysheet-ifFormulaGenerator-singleRange-cancel",function(){$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-ifFormulaGenerator-singleRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-ifFormulaGenerator-dialog").show(),e.singleRangeFocus=!1}),$(document).off("click.IFsingRangeClose").on("click.IFsingRangeClose","#luckysheet-ifFormulaGenerator-singleRange-dialog .luckysheet-modal-dialog-title-close",function(){$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-ifFormulaGenerator-dialog").show(),e.singleRangeFocus=!1}),$(document).off("click.IFmultiRange").on("click.IFmultiRange","#luckysheet-ifFormulaGenerator-dialog .multiRange",function(){e.multiRangeDialog(),e.singleRangeFocus=!1}),$(document).off("click.IFmultiRangeConfirm").on("click.IFmultiRangeConfirm","#luckysheet-ifFormulaGenerator-multiRange-confirm",function(){$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide(),$("#luckysheet-ifFormulaGenerator-multiRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-ifFormulaGenerator-dialog").show();let a=$(this).parents("#luckysheet-ifFormulaGenerator-multiRange-dialog").find("input").val().trim(),o=p.getcellrange(a),s=o.row[0],u=o.row[1],d=o.column[0],f=o.column[1],m=we.deepCopyFlowData(h.flowdata),g=[];for(let k=s;k<=u;k++)for(let b=d;b<=f;b++)m[k]!=null&&m[k][b]!=null&&m[k][b].ct!=null&&m[k][b].ct.t=="n"&&g.push(m[k][b].v);for(let k=0;k<g.length;k++)for(let b=0;b<g.length-1-k;b++)if(g[b]<g[b+1]){let w=g[b];g[b]=g[b+1],g[b+1]=w}let y=g[0],v=g[g.length-1];$("#luckysheet-ifFormulaGenerator-dialog #smallRange").val(v),$("#luckysheet-ifFormulaGenerator-dialog #largeRange").val(y)}),$(document).off("click.IFmultiRangeCancel").on("click.IFmultiRangeCancel","#luckysheet-ifFormulaGenerator-multiRange-cancel",function(){$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide(),$("#luckysheet-ifFormulaGenerator-multiRange-dialog").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-ifFormulaGenerator-dialog").show()}),$(document).off("click.IFmultiRangeClose").on("click.IFmultiRangeClose","#luckysheet-ifFormulaGenerator-multiRange-dialog .luckysheet-modal-dialog-title-close",function(){$("#luckysheet-formula-functionrange-select").hide(),$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide(),$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-ifFormulaGenerator-dialog").show()}),$(document).on("change","#DivisionMethod",function(){$(this).find("option:selected").val()=="2"?$("#DivisionMethodVal").hide():$("#DivisionMethodVal").show(),$("#luckysheet-ifFormulaGenerator-dialog .ifList").empty()}),$(document).off("click.IFcreateBtn").on("click.IFcreateBtn","#luckysheet-ifFormulaGenerator-dialog #createBtn",function(){let a=$(this).parents("#luckysheet-ifFormulaGenerator-dialog").find("#compareValue").val().trim();if(a==""){e.info(t.ifGenTipNotNullValue);return}let o=$(this).parents("#luckysheet-ifFormulaGenerator-dialog").find("#DivisionMethod option:selected").val();if(o=="2"){let s='<div class="item"><input type="number" class="smallNum formulaInputFocus"/><select class="operator"><option value="0"> <= </option><option value="1"> < </option></select><span class="compareValue">'+a+'</span><select class="operator2"><option value="0"> <= </option><option value="1" selected="selected"> < </option></select><input type="number" class="largeNum formulaInputFocus"/><span>'+t.ifGenTipLableTitile+'\uFF1A</span><input type="text" class="markText formulaInputFocus" value=""><i class="fa fa-remove" aria-hidden="true"></i></div>';$("#luckysheet-ifFormulaGenerator-dialog .ifList").append(s)}else{let s=$(this).parents("#luckysheet-ifFormulaGenerator-dialog").find("#smallRange").val().trim(),u=$(this).parents("#luckysheet-ifFormulaGenerator-dialog").find("#largeRange").val().trim(),d=$(this).parents("#luckysheet-ifFormulaGenerator-dialog").find("#DivisionMethodVal").val().trim();if(s==""||u==""){e.info(t.ifGenTipRangeNotforNull);return}else if(d==""){e.info(t.ifGenTipCutValueNotforNull);return}e.getIfList(a,s,u,o,d)}}),$(document).on("click","#luckysheet-ifFormulaGenerator-dialog .item .fa-remove",function(){$(this).parents(".item").remove()}),$(document).off("click.IFconfirmBtn").on("click.IFconfirmBtn","#luckysheet-ifFormulaGenerator-dialog-confirm",function(){let a=$(this).parents("#luckysheet-ifFormulaGenerator-dialog").find(".ifList .item"),o="";if($(a.toArray().reverse()).each(function(f,m){let g=$(m).find(".smallNum").val().trim(),y=$(m).find(".largeNum").val().trim(),v=$(m).find(".operator option:selected").val(),k=$(m).find(".operator2 option:selected").val(),b=$(m).find(".compareValue").text(),w=$(m).find(".markText").val().trim();if(w==""&&(w=t.ifGenTipLableTitile+(f+1)),g==""&&y=="")return!0;let x;v=="0"?x=b+">="+g:x=b+">"+g;let C;k=="0"?C=b+"<="+y:C=b+"<"+y;let S;f==0&&y==""?S=x:f==a.length-1&&g==""?S=C:S="and("+x+","+C+")",f==0?o="if("+S+',"'+w+'")':o="if("+S+',"'+w+'",'+o+")"}),o.length==0){e.info(t.ifGenTipNotGenCondition);return}$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-ifFormulaGenerator-dialog").hide();let s=h.luckysheet_select_save[h.luckysheet_select_save.length-1],u=s.row_focus,d=s.column_focus;Dl(u,d,h.flowdata),$("#luckysheet-rich-text-editor").html("="+o),$("#luckysheet-functionbox-cell").html($("#luckysheet-rich-text-editor").html()),$("#luckysheet-wa-functionbox-confirm").click()}),$(document).on("click","#luckysheet-ifFormulaGenerator-info .luckysheet-model-close-btn",function(){$("#luckysheet-modal-dialog-mask").show()}),$(document).on("click","#luckysheet-ifFormulaGenerator-info .luckysheet-modal-dialog-title-close",function(){$("#luckysheet-modal-dialog-mask").show()})},ifFormulaDialog:function(e){let n=this,t=Q(),l=t.formula,a=t.button;$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-ifFormulaGenerator-dialog").remove();let o="",s="";if(e){let b=e.split("if(");for(let w=1;w<b.length;w++){let C=b[w].replace("and(","").replace(/\)/g,"").replace(/\"/g,"").split(",");C=n.clearArr(C),o=n.splitTxt(C[0])[0];let S,_,T;C.length==3?(S=n.splitTxt(C[0])[1],_=n.splitTxt(C[1])[2],T=C[2]):(S=n.splitTxt(C[0])[1],_=n.splitTxt(C[0])[2],T=C[1]),s+='<div class="item"><input type="number" class="smallNum formulaInputFocus" value="'+S+'"/><select class="operator"><option value="0"> <= </option><option value="1"> < </option></select><span class="compareValue">'+o+'</span><select class="operator2"><option value="0"> <= </option><option value="1" selected="selected"> < </option></select><input type="number" class="largeNum formulaInputFocus" value="'+_+'"/><span>'+l.ifGenTipLableTitile+'\uFF1A</span><input type="text" class="markText formulaInputFocus" value="'+T+'"><i class="fa fa-remove" aria-hidden="true"></i></div>'}}let u='<div class="ifAttr"><div class="attrBox"><label for="compareValue"> '+l.ifGenCompareValueTitle+' </label><div class="inpBox"><input id="compareValue" class="formulaInputFocus" value="'+o+'"/><i class="singRange fa fa-table" aria-hidden="true" title="'+l.ifGenSelectCellTitle+'"></i></div></div><div class="attrBox"><label for="smallRange"> '+l.ifGenRangeTitle+' </label><input type="number" id="smallRange" class="formulaInputFocus"/><span class="text"> '+l.ifGenRangeTo+' </span><input type="number" id="largeRange" class="formulaInputFocus"/><div id="rangeAssess"><span> '+l.ifGenRangeEvaluate+' </span><i class="multiRange fa fa-table" aria-hidden="true" title="'+l.ifGenSelectRangeTitle+'"></i></div></div><div class="attrBox"><label for="DivisionMethod"> '+l.ifGenCutWay+' </label><select id="DivisionMethod"><option value="0"> '+l.ifGenCutSame+' </option><option value="1"> '+l.ifGenCutNpiece+' </option><option value="2"> '+l.ifGenCutCustom+' </option></select><input id="DivisionMethodVal" class="formulaInputFocus"/><div id="createBtn"> '+l.ifGenCutSame+' </div></div></div><div class="ifList">'+s+"</div>";$("body").append(_e(ft,{id:"luckysheet-ifFormulaGenerator-dialog",addclass:"luckysheet-ifFormulaGenerator-dialog",title:l.ifGenerate,content:u,botton:'<button id="luckysheet-ifFormulaGenerator-dialog-confirm" class="btn btn-primary">'+a.confirm+'</button><button class="btn btn-default luckysheet-model-close-btn">'+a.cancel+"</button>",style:"z-index:100003"}));let d=$("#luckysheet-ifFormulaGenerator-dialog").find(".luckysheet-modal-dialog-content").css("min-width",590).end(),f=d.outerHeight(),m=d.outerWidth(),g=$(window).width(),y=$(window).height(),v=$(document).scrollLeft(),k=$(document).scrollTop();$("#luckysheet-ifFormulaGenerator-dialog").css({left:(g+v-m)/2,top:(y+k-f)/3}).show()},clearArr:function(e){for(let n=0;n<e.length;n++)(e[n]==""||e[n]==null||e[n]==null)&&e.splice(n,1);return e},splitTxt:function(e){let n,t,l;if(e.indexOf(">=")!=-1)return n=e.split(">=")[0],t=e.split(">=")[1],[n,t,l];if(e.indexOf(">")!=-1)return n=e.split(">")[0],t=e.split(">")[1],[n,t,l];if(e.indexOf("<=")!=-1)return n=e.split("<=")[0],l=e.split("<=")[1],[n,t,l];if(e.indexOf("<")!=-1)return n=e.split("<")[0],l=e.split("<")[1],[n,t,l]},singleRangeDialog:function(e){$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-ifFormulaGenerator-dialog").hide(),$("#luckysheet-ifFormulaGenerator-singleRange-dialog").remove();let n=Q(),t=n.formula,l=n.button;e==null&&(e=""),$("body").append(_e(ft,{id:"luckysheet-ifFormulaGenerator-singleRange-dialog",addclass:"luckysheet-ifFormulaGenerator-singleRange-dialog",title:t.ifGenTipSelectCell,content:'<input readonly="readonly" placeholder="'+t.ifGenTipSelectCellPlace+'" value="'+e+'">',botton:'<button id="luckysheet-ifFormulaGenerator-singleRange-confirm" class="btn btn-primary">'+l.confirm+'</button><button id="luckysheet-ifFormulaGenerator-singleRange-cancel" class="btn btn-default">'+l.cancel+"</button>",style:"z-index:100003"}));let a=$("#luckysheet-ifFormulaGenerator-singleRange-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),o=a.outerHeight(),s=a.outerWidth(),u=$(window).width(),d=$(window).height(),f=$(document).scrollLeft(),m=$(document).scrollTop();$("#luckysheet-ifFormulaGenerator-singleRange-dialog").css({left:(u+f-s)/2,top:(d+m-o)/3}).show()},multiRangeDialog:function(){$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-ifFormulaGenerator-dialog").hide(),$("#luckysheet-ifFormulaGenerator-multiRange-dialog").remove();let e=Q(),n=e.formula,t=e.button;$("body").append(_e(ft,{id:"luckysheet-ifFormulaGenerator-multiRange-dialog",addclass:"luckysheet-ifFormulaGenerator-multiRange-dialog",title:n.ifGenTipSelectRange,content:'<input readonly="readonly" placeholder="'+n.ifGenTipSelectRangePlace+'" value="">',botton:'<button id="luckysheet-ifFormulaGenerator-multiRange-confirm" class="btn btn-primary">'+t.confirm+'</button><button id="luckysheet-ifFormulaGenerator-multiRange-cancel" class="btn btn-default">'+t.cancel+"</button>",style:"z-index:100003"}));let l=$("#luckysheet-ifFormulaGenerator-multiRange-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),a=l.outerHeight(),o=l.outerWidth(),s=$(window).width(),u=$(window).height(),d=$(document).scrollLeft(),f=$(document).scrollTop();$("#luckysheet-ifFormulaGenerator-multiRange-dialog").css({left:(s+d-o)/2,top:(u+f-a)/3}).show()},getIfList:function(e,n,t,l,a){let o=Q().formula;$("#luckysheet-ifFormulaGenerator-dialog .ifList").empty(),n=parseInt(n),t=parseInt(t),a=parseInt(a);let s=[];if(l=="0"){let u=Math.ceil((t-n)/a);for(let d=0;d<=u;d++){let f=n+a*d;d==0||f>=t?s.push(""):s.push(f)}}else if(l=="1"){let u=Math.ceil((t-n)/a);for(let d=0;d<=a;d++){let f=n+u*d;d==0||f>=t?s.push(""):s.push(f)}}for(let u=0;u<s.length-1;u++){let d;u==0?d="\u5C0F\u4E8E"+s[u+1]:u==s.length-2?d="\u5927\u4E8E\u7B49\u4E8E"+s[u]:d=s[u]+"\u5230"+s[u+1];let f='<div class="item"><input type="number" class="smallNum formulaInputFocus" value="'+s[u]+'"/><select class="operator"><option value="0"> <= </option><option value="1"> < </option></select><span class="compareValue">'+e+'</span><select class="operator2"><option value="0"> <= </option><option value="1" selected="selected"> < </option></select><input type="number" class="largeNum formulaInputFocus" value="'+s[u+1]+'"/><span>'+o.ifGenTipLableTitile+'\uFF1A</span><input type="text" class="markText formulaInputFocus" value="'+d+'"><i class="fa fa-remove" aria-hidden="true"></i></div>';$("#luckysheet-ifFormulaGenerator-dialog .ifList").append(f)}},info:function(e){$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-ifFormulaGenerator-info").remove();let t=Q().button;$("body").append(_e(ft,{id:"luckysheet-ifFormulaGenerator-info",addclass:"",title:e,content:"",botton:'<button class="btn btn-default luckysheet-model-close-btn">&nbsp;&nbsp;'+t.close+"&nbsp;&nbsp;</button>",style:"z-index:100003"}));let l=$("#luckysheet-ifFormulaGenerator-info").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),a=l.outerHeight(),o=l.outerWidth(),s=$(window).width(),u=$(window).height(),d=$(document).scrollLeft(),f=$(document).scrollTop();$("#luckysheet-ifFormulaGenerator-info").css({left:(s+d-o)/2,top:(u+f-a)/3}).show()}},ai=Py});var Ly,dn,Zc=$e(()=>{Hi();qt();Pt();Wt();Jt();ht();Xe();yt();Ly={init:function(){let e=this,n=Q(),t=n.formulaMore,l=n.button;$(document).off("keyup.fxSFLI").on("keyup.fxSFLI","#searchFormulaListInput",function(){$("#formulaTypeList").empty();let a=$(this).val().toUpperCase(),o=h.functionlist;if(a=="")e.formulaListByType($("#formulaTypeSelect option:selected").val());else for(let s=0;s<o.length;s++)/^[a-zA-Z]+$/.test(a)?o[s].n.indexOf(a)!="-1"&&$('<div class="listBox" name="'+o[s].n+'"><span>'+o[s].n+"</span><span>"+o[s].a+"</span></div>").appendTo($("#formulaTypeList")):o[s].a.indexOf(a)!="-1"&&$('<div class="listBox" name="'+o[s].n+'"><span>'+o[s].n+"</span><span>"+o[s].a+"</span></div>").appendTo($("#formulaTypeList"));$("#formulaTypeList .listBox:first-child").addClass("on")}),$(document).off("change.fxFormulaTS").on("change.fxFormulaTS","#formulaTypeSelect",function(){let a=$("#formulaTypeSelect option:selected").val();e.formulaListByType(a)}),$(document).off("click.fxListbox").on("click.fxListbox","#formulaTypeList .listBox",function(){$(this).addClass("on").siblings().removeClass("on")}),$(document).off("click.fxFormulaCf").on("click.fxFormulaCf","#luckysheet-search-formula-confirm",function(){let a=$("#luckysheet-search-formula .listBox.on").attr("name"),o='<span dir="auto" class="luckysheet-formula-text-color">=</span><span dir="auto" class="luckysheet-formula-text-color">'+a.toUpperCase()+'</span><span dir="auto" class="luckysheet-formula-text-color">(</span><span dir="auto" class="luckysheet-formula-text-color">)</span>';$("#luckysheet-rich-text-editor").html(o),$("#luckysheet-functionbox-cell").html($("#luckysheet-rich-text-editor").html()),e.formulaParmDialog(a)}),$(document).off("focus.fxParamInput").on("focus.fxParamInput","#luckysheet-search-formula-parm .parmBox input",function(){let a=$(this).parents(".parmBox").index();p.data_parm_index=a;let o=$(this).parents("#luckysheet-search-formula-parm").find(".luckysheet-modal-dialog-title-text").text(),s=h.luckysheet_function[o].p.length,u,d;a>=s?(u=h.luckysheet_function[o].p[s-1].detail,d=h.luckysheet_function[o].p[s-1].repeat):(u=h.luckysheet_function[o].p[a].detail,d=h.luckysheet_function[o].p[a].repeat),e.parmTxtShow($(this).val()),e.functionStrCompute(),$("#luckysheet-search-formula-parm .parmDetailsBox").empty();let f=$(this).parents(".parmBox").find(".name").text();if($("<span>"+f+":</span><span>"+u+"</span>").appendTo($("#luckysheet-search-formula-parm .parmDetailsBox")),d=="y"){let m=$("#luckysheet-search-formula-parm .parmBox").length;m<5&&a==m-1&&$('<div class="parmBox"><div class="name">'+t.valueTitle+""+(m+1)+'</div><div class="txt"><input class="formulaInputFocus" /><i class="fa fa-table" aria-hidden="true" title="'+t.tipSelectDataRange+'"></i></div><div class="val">=</div></div>').appendTo($("#luckysheet-search-formula-parm .parmListBox"))}}),$(document).off("blur.fxParamInput").on("blur.fxParamInput","#luckysheet-search-formula-parm .parmBox input",function(){let a=$(this).val();p.getfunctionParam(a).fn==null&&!p.iscelldata(a)&&!B(a)&&a!=""&&a.length<=2&&a.indexOf('"')!=0&&a.lastIndexOf('"')!=0&&(a='"'+a+'"',$(this).val(a),e.parmTxtShow(a),e.functionStrCompute())}),$(document).off("keyup.fxParamInput").on("keyup.fxParamInput","#luckysheet-search-formula-parm .parmBox input",function(){e.parmTxtShow($(this).val()),e.functionStrCompute()}),$(document).off("click.fxParamI").on("click.fxParamI","#luckysheet-search-formula-parm .parmBox i",function(){p.data_parm_index=$(this).parents(".parmBox").index(),$("#luckysheet-search-formula-parm").hide(),$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-search-formula-parm-select").remove(),$(this).parents(".parmBox").find(".txt input").val()==""?$("body").append(_e(ft,{id:"luckysheet-search-formula-parm-select",addclass:"luckysheet-search-formula-parm-select",title:t.tipSelectDataRange,content:"<input id='luckysheet-search-formula-parm-select-input' class='luckysheet-datavisual-range-container' style='font-size: 14px;padding:5px;max-width:none;' spellcheck='false' aria-label='"+t.tipDataRangeTile+"' readonly='true' placeholder='"+t.tipDataRangeTile+"'>",botton:'<button id="luckysheet-search-formula-parm-select-confirm" class="btn btn-primary">'+l.confirm+"</button>",style:"z-index:100003"})):$("body").append(_e(ft,{id:"luckysheet-search-formula-parm-select",addclass:"luckysheet-search-formula-parm-select",title:t.tipSelectDataRange,content:"<input id='luckysheet-search-formula-parm-select-input' class='luckysheet-datavisual-range-container' style='font-size: 14px;padding:5px;max-width:none;' spellcheck='false' aria-label='"+t.tipDataRangeTile+"' readonly='true' value='"+$(this).parents(".parmBox").find(".txt input").val()+"'>",botton:'<button id="luckysheet-search-formula-parm-select-confirm" class="btn btn-primary">'+l.confirm+"</button>",style:"z-index:100003"}));let a=$("#luckysheet-search-formula-parm-select").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),o=a.outerHeight(),s=a.outerWidth(),u=$(window).width(),d=$(window).height(),f=$(document).scrollLeft(),m=$(document).scrollTop();$("#luckysheet-search-formula-parm-select").css({left:(u+f-s)/2,top:(d+m-o)/3}).show(),e.parmTxtShow($(this).parents(".parmBox").find(".txt input").val())}),$(document).off("click.fxParamCf").on("click.fxParamCf","#luckysheet-search-formula-parm-confirm",function(){$("#luckysheet-wa-functionbox-confirm").click()}),$(document).off("click.fxParamSelectCf").on("click.fxParamSelectCf","#luckysheet-search-formula-parm-select-confirm",function(){let a=$("#luckysheet-search-formula-parm-select-input").attr("data_parm_index");$("#luckysheet-search-formula-parm-select").hide(),$("#luckysheet-search-formula-parm").show(),$("#luckysheet-search-formula-parm .parmBox").eq(a).find(".txt input").focus()})},formulaListDialog:function(){let e=this,n=Q(),t=n.formulaMore,l=n.button;$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-search-formula").remove(),$("body").append(_e(ft,{id:"luckysheet-search-formula",addclass:"luckysheet-search-formula",title:"",content:"<div class='inpbox'><label for='searchFormulaListInput'>"+t.findFunctionTitle+"\uFF1A</label><input class='formulaInputFocus' id='searchFormulaListInput' placeholder='"+t.tipInputFunctionName+"' spellcheck='false'/></div><div class='selbox'><label>"+t.selectCategory+"\uFF1A</label><select id='formulaTypeSelect'><option value='0'>"+t.Math+"</option><option value='1'>"+t.Statistical+"</option><option value='2'>"+t.Lookup+"</option><option value='3'>"+t.luckysheet+"</option><option value='4'>"+t.dataMining+"</option><option value='5'>"+t.Database+"</option><option value='6'>"+t.Date+"</option><option value='7'>"+t.Filter+"</option><option value='8'>"+t.Financial+"</option><option value='9'>"+t.Engineering+"</option><option value='10'>"+t.Logical+"</option><option value='11'>"+t.Operator+"</option><option value='12'>"+t.Text+"</option><option value='13'>"+t.Parser+"</option><option value='14'>"+t.Array+"</option><option value='-1'>"+t.other+"</option></select></div><div class='listbox'><label>"+t.selectFunctionTitle+"\uFF1A</label><div id='formulaTypeList'></div></div>",botton:'<button id="luckysheet-search-formula-confirm" class="btn btn-primary">'+l.confirm+'</button><button class="btn btn-default luckysheet-model-close-btn">'+l.cancel+"</button>",style:"z-index:100003"}));let a=$("#luckysheet-search-formula").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),o=a.outerHeight(),s=a.outerWidth(),u=$(window).width(),d=$(window).height(),f=$(document).scrollLeft(),m=$(document).scrollTop();$("#luckysheet-search-formula").css({left:(u+f-s)/2,top:(d+m-o)/3,"user-select":"none"}).show(),e.formulaListByType("0"),$("#searchFormulaListInput").focus()},formulaListByType:function(e){$("#formulaTypeList").empty();let n=h.functionlist;for(let t=0;t<n.length;t++)(e=="-1"&&n[t].t>14||n[t].t==e)&&$('<div class="listBox" name="'+n[t].n+'"><span>'+n[t].n+"</span><span>"+n[t].a+"</span></div>").appendTo($("#formulaTypeList"));$("#formulaTypeList .listBox:first-child").addClass("on")},formulaParmDialog:function(e,n){let t="",l="",a="",o=Q(),s=o.formulaMore,u=o.button,d=h.functionlist;for(let w=0;w<d.length;w++)if(d[w].n==e.toUpperCase()){t=d[w].n;for(let x=0;x<d[w].p.length;x++)n==null?a+='<div class="parmBox"><div class="name">'+d[w].p[x].name+'</div><div class="txt"><input class="formulaInputFocus" spellcheck="false"/><i class="fa fa-table" aria-hidden="true" title="'+s.tipSelectDataRange+'"></i></div><div class="val">=</div></div>':(n[x]==null&&(n[x]=""),a+='<div class="parmBox"><div class="name">'+d[w].p[x].name+'</div><div class="txt"><input class="formulaInputFocus" value="'+n[x]+'" spellcheck="false"/><i class="fa fa-table" aria-hidden="true" title="'+s.tipSelectDataRange+'"></i></div><div class="val">=</div></div>');l='<div><div class="parmListBox">'+a+'</div><div class="formulaDetails">'+d[w].d+'</div><div class="parmDetailsBox"></div><div class="result">'+s.calculationResult+" = <span></span></div></div>"}$("#luckysheet-search-formula").hide(),$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-search-formula-parm").remove(),$("body").append(_e(ft,{id:"luckysheet-search-formula-parm",addclass:"luckysheet-search-formula-parm",title:t,content:l,botton:'<button id="luckysheet-search-formula-parm-confirm" class="btn btn-primary">'+u.confirm+'</button><button class="btn btn-default luckysheet-model-close-btn">'+u.cancel+"</button>",style:"z-index:100003"}));let f=$("#luckysheet-search-formula-parm").find(".luckysheet-modal-dialog-content").css("min-width",300).end(),m=f.outerHeight(),g=f.outerWidth(),y=$(window).width(),v=$(window).height(),k=$(document).scrollLeft(),b=$(document).scrollTop();$("#luckysheet-search-formula-parm").css({left:(y+k-g)/2,top:(v+b-m)/3}).show(),$("#luckysheet-search-formula-parm .parmBox:eq(0) input").focus(),$("#luckysheet-search-formula-parm .parmBox").each(function(w,x){let C=$(x).find(".txt input").val();if(p.getfunctionParam(C).fn==null)if(p.iscelldata(C)){let S=ir(C).data;if(P(S)=="array"){let _=[];for(let T=0;T<S.length;T++)for(let A=0;A<S[T].length;A++){let R=S[T][A];R==null||fe(R.v)?_.push(null):_.push(R.v)}$("#luckysheet-search-formula-parm .parmBox").eq(w).find(".val").text(" = {"+_.join(",")+"}")}else $("#luckysheet-search-formula-parm .parmBox").eq(w).find(".val").text(" = {"+S.v+"}")}else $("#luckysheet-search-formula-parm .parmBox").eq(w).find(".val").text(" = {"+C+"}");else $("#luckysheet-search-formula-parm .parmBox").eq(w).find(".val").text(" = {"+new Function("return "+$.trim(p.functionParserExe("="+C)))()+"}")}),$("#luckysheet-formula-functionrange .luckysheet-formula-functionrange-highlight").remove(),p.data_parm_index=0,p.rangestart=!0},parmTxtShow:function(e){if(p.getfunctionParam(e).fn==null)if(p.iscelldata(e)){let n=p.getcellrange(e),t=n.row[0],l=n.row[1],a=n.column[0],o=n.column[1],s=h.visibledatarow[l],u=t-1==-1?0:h.visibledatarow[t-1],d=h.visibledatacolumn[o],f=a-1==-1?0:h.visibledatacolumn[a-1];$("#luckysheet-formula-functionrange-select").css({left:f,width:d-f-1,top:u,height:s-u-1}).show(),$("#luckysheet-formula-help-c").hide(),sr(f,u,d-f-1,s-u-1,n.row,n.column);let m=ir(e).data;if(P(m)=="array"){let g=[];for(let y=0;y<m.length;y++)for(let v=0;v<m[y].length;v++){let k=m[y][v];k==null||fe(k.v)?g.push(null):g.push(k.v)}$("#luckysheet-search-formula-parm .parmBox").eq(p.data_parm_index).find(".val").text(" = {"+g.join(",")+"}")}else $("#luckysheet-search-formula-parm .parmBox").eq(p.data_parm_index).find(".val").text(" = {"+m.v+"}")}else $("#luckysheet-search-formula-parm .parmBox").eq(p.data_parm_index).find(".val").text(" = {"+e+"}"),$("#luckysheet-formula-functionrange-select").hide();else{let n;for(let g=0;g<p.getfunctionParam(e).param.length;g++)if(p.iscelldata(p.getfunctionParam(e).param[g])){n=p.getfunctionParam(e).param[g];break}let t=p.getcellrange(n),l=t.row[0],a=t.row[1],o=t.column[0],s=t.column[1],u=h.visibledatarow[a],d=l-1==-1?0:h.visibledatarow[l-1],f=h.visibledatacolumn[s],m=o-1==-1?0:h.visibledatacolumn[o-1];$("#luckysheet-formula-functionrange-select").css({left:m,width:f-m-1,top:d,height:u-d-1}).show(),$("#luckysheet-formula-help-c").hide(),sr(m,d,f-m-1,u-d-1,t.row,t.column),$("#luckysheet-search-formula-parm .parmBox").eq(p.data_parm_index).find(".val").text(" = {"+new Function("return "+$.trim(p.functionParserExe("="+e)))()+"}")}},functionStrCompute:function(){let e=!0,n=[],t=-1,l=$("#luckysheet-search-formula-parm").find(".luckysheet-modal-dialog-title-text").text(),a=h.luckysheet_function[l].p;$("#luckysheet-search-formula-parm .parmBox").each(function(u,d){let f=$(d).find(".txt input").val(),m;u<a.length?m=a[u].require:m=a[a.length-1].require,f==""&&m=="m"&&(e=!1),f!=""&&(t=u)});let o;if(t==-1)o="="+$("#luckysheet-search-formula-parm .luckysheet-modal-dialog-title-text").text()+"()";else if(t==0)o="="+$("#luckysheet-search-formula-parm .luckysheet-modal-dialog-title-text").text()+"("+$("#luckysheet-search-formula-parm .parmBox").eq(0).find(".txt input").val()+")";else{for(let u=0;u<=t;u++)n.push($("#luckysheet-search-formula-parm .parmBox").eq(u).find(".txt input").val());o="="+$("#luckysheet-search-formula-parm .luckysheet-modal-dialog-title-text").text()+"("+n.join(",")+")"}let s=p.functionHTMLGenerate(o);if($("#luckysheet-rich-text-editor").html(s),$("#luckysheet-functionbox-cell").html($("#luckysheet-rich-text-editor").html()),e){let u=$.trim(p.functionParserExe($("#luckysheet-rich-text-editor").text())),d=null;try{d=new Function("return "+u)()}catch(f){d=p.error.n}$("#luckysheet-search-formula-parm .result span").text(d)}}},dn=Ly});var zy,be,ol=$e(()=>{Jt();Wt();Sl();gm();Va();yr();ll();zr();Vl();nr();wn();Vo();ym();Kc();xa();Zc();gl();Gr();Pt();tl();Qt();Ml();Xt();ha();qt();Zl();Br();pr();gr();Zt();Oa();gn();Dt();Rn();yn();ht();_l();Xe();yt();wa();zy={menu:'<div class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-menuButton ${subclass} luckysheet-mousedown-cancel" id="luckysheet-icon-${id}-menuButton">${item}</div>',item:'<div itemvalue="${value}" itemname="${name}" class="luckysheet-cols-menuitem ${sub} luckysheet-mousedown-cancel"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel" style="padding: 3px 0px 3px 1px;"><span style="margin-right:3px;width:13px;display:inline-block;" class="icon luckysheet-mousedown-cancel"></span> ${name} <span class="luckysheet-submenu-arrow luckysheet-mousedown-cancel ${iconClass}" style="user-select: none;">${example}</span></div></div>',split:'<div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div>',color:'<div class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-rightgclick-menu-sub luckysheet-mousedown-cancel luckysheet-menuButton ${sub}" id="${id}"><div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel luckysheet-color-reset"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${resetColor}</div></div> <div class="luckysheet-mousedown-cancel"> <div class="luckysheet-mousedown-cancel"> <input type="text" class="luckysheet-color-selected" /> </div> </div> <div class="luckysheet-menuseparator luckysheet-mousedown-cancel" role="separator"></div> ${coloritem}</div>',coloritem:'<div class="luckysheet-cols-menuitem luckysheet-mousedown-cancel ${class}"><div class="luckysheet-cols-menuitem-content luckysheet-mousedown-cancel">${name}</div></div>',subcolor:'<div id="luckysheet-icon-${id}-menuButton" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-rightgclick-menu-sub luckysheet-menuButton-sub luckysheet-mousedown-cancel"> <div class="luckysheet-mousedown-cancel"> <div class="luckysheet-mousedown-cancel"> <input type="text" class="luckysheet-color-selected" /> </div> </div></div>',rightclickmenu:null,submenuhide:{},focus:function(e,n){e.attr("id")=="luckysheet-icon-font-family-menuButton"&&zn(n).num&&(n=Q().fontarray[parseInt(n)],n==null&&(n=this.defualtFont[itemvalue])),e.find(".luckysheet-cols-menuitem").find("span.icon").html(""),n==null?e.find(".luckysheet-cols-menuitem").eq(0).find("span.icon").html('<i class="fa fa-check luckysheet-mousedown-cancel"></i>'):e.find(".luckysheet-cols-menuitem[itemvalue='"+n+"']").find("span.icon").html('<i class="fa fa-check luckysheet-mousedown-cancel"></i>')},createButtonMenu:function(e){let n="",t=this;for(let l=0;l<e.length;l++){let a=e[l];a.value=="split"?n+=t.split:a.example=="more"?n+=_e(t.item,{value:a.value,name:a.text,example:"",sub:"luckysheet-cols-submenu",iconClass:"iconfont-luckysheet luckysheet-iconfont-youjiantou"}):n+=_e(t.item,{value:a.value,name:a.text,example:a.example,sub:"",iconClass:""})}return n},cancelPaintModel:function(){let e=this;$("#luckysheet-sheettable_0").removeClass("luckysheetPaintCursor"),h.luckysheet_copy_save.dataSheetIndex==h.currentSheetIndex?(h.luckysheet_selection_range=[],Bt()):h.luckysheetfile[K(h.luckysheet_copy_save.dataSheetIndex)].luckysheet_selection_range=[],h.luckysheet_copy_save={},e.luckysheetPaintModelOn=!1,$("#luckysheetpopover").fadeOut(200,function(){$("#luckysheetpopover").remove()})},luckysheetPaintModelOn:!1,luckysheetPaintSingle:!1,initialMenuButton:function(){let e=this;$("#luckysheet-icon-paintformat").click(function(t){if(!Pl()){U.info("",Q().pivotTable.errorNotAllowEdit);return}t.stopPropagation();let l=Q(),a=l.paint;if(h.luckysheet_select_save==null||h.luckysheet_select_save.length==0){de()?alert(a.tipSelectRange):U.info("",a.tipSelectRange);return}else if(h.luckysheet_select_save.length>1){de()?alert(a.tipNotMulti):U.info("",a.tipNotMulti);return}let o=!1,s=h.luckysheet_select_save[0].row[0],u=h.luckysheet_select_save[0].row[1],d=h.luckysheet_select_save[0].column[0],f=h.luckysheet_select_save[0].column[1];if(o=Nt(h.config,s,u,d,f),o){U.info(l.merge.partiallyError,"");return}U.popover("<i class='fa fa-paint-brush'></i> "+a.start+"","topCenter",!0,null,a.end,function(){e.cancelPaintModel()}),$("#luckysheet-sheettable_0").addClass("luckysheetPaintCursor"),h.luckysheet_selection_range=[{row:h.luckysheet_select_save[0].row,column:h.luckysheet_select_save[0].column}],Bt();let m=!1,g=!1;for(let y=h.luckysheet_select_save[0].row[0];y<=h.luckysheet_select_save[0].row[1];y++)if(!(h.config.rowhidden!=null&&h.config.rowhidden[y]!=null)){h.config.rowlen!=null&&y in h.config.rowlen&&(m=!0);for(let v=h.luckysheet_select_save[0].column[0];v<=h.luckysheet_select_save[0].column[1];v++){let k=h.flowdata[y][v];P(k)=="object"&&"mc"in k&&k.mc.rs!=null&&(g=!0)}}h.luckysheet_copy_save={dataSheetIndex:h.currentSheetIndex,copyRange:[{row:h.luckysheet_select_save[0].row,column:h.luckysheet_select_save[0].column}],RowlChange:m,HasMC:g},e.luckysheetPaintModelOn=!0,e.luckysheetPaintSingle=!0}),$("#luckysheet-icon-paintformat").dblclick(function(){if(!Pl()){U.info("",Q().pivotTable.errorNotAllowEdit);return}let l=Q().paint;if(h.luckysheet_select_save==null||h.luckysheet_select_save.length==0){de()?alert(l.tipSelectRange):U.info("",l.tipSelectRange);return}else if(h.luckysheet_select_save.length>1){de()?alert(l.tipNotMulti):U.info("",l.tipNotMulti);return}U.popover("<i class='fa fa-paint-brush'></i> "+l.start,"topCenter",!0,null,l.end,function(){e.cancelPaintModel()}),$("#luckysheet-sheettable_0").addClass("luckysheetPaintCursor"),h.luckysheet_selection_range=[{row:h.luckysheet_select_save[0].row,column:h.luckysheet_select_save[0].column}],Bt();let a=!1,o=!1;for(let s=h.luckysheet_select_save[0].row[0];s<=h.luckysheet_select_save[0].row[1];s++)if(!(h.config.rowhidden!=null&&h.config.rowhidden[s]!=null)){h.config.rowlen!=null&&s in h.config.rowlen&&(a=!0);for(let u=h.luckysheet_select_save[0].column[0];u<=h.luckysheet_select_save[0].column[1];u++){let d=h.flowdata[s][u];P(d)=="object"&&"mc"in d&&d.mc.rs!=null&&(o=!0)}}h.luckysheet_copy_save={dataSheetIndex:h.currentSheetIndex,copyRange:[{row:h.luckysheet_select_save[0].row,column:h.luckysheet_select_save[0].column}],RowlChange:a,HasMC:o},e.luckysheetPaintModelOn=!0,e.luckysheetPaintSingle=!1}),$("#luckysheet-icon-currency").click(function(){let t=we.deepCopyFlowData(h.flowdata);e.updateFormat(t,"ct","\xA5 #.00")}),$("#luckysheet-icon-percent").click(function(){let t=we.deepCopyFlowData(h.flowdata);e.updateFormat(t,"ct","0.00%")}),$("#luckysheet-icon-fmt-decimal-decrease").click(function(){let t=we.deepCopyFlowData(h.flowdata),l=h.luckysheet_select_save[0].row_focus,a=h.luckysheet_select_save[0].column_focus,o=e.checkstatus(t,l,a,"ct"),s=t[l][a];if(o==null||o.t!="n")return;if(o.fa=="General"&&(o=it(s.v)[1]),/^(w|W)((0?)|(0\.0+))$/.test(o.fa)){o.fa.indexOf(".")>-1?o.fa.substr(-2)==".0"?e.updateFormat(t,"ct",o.fa.split(".")[0]):e.updateFormat(t,"ct",o.fa.substr(0,o.fa.length-1)):e.updateFormat(t,"ct",o.fa);return}let d="",f="",m=[];if(o.fa.indexOf(".")>-1)m=o.fa.split("."),d=m[0],f=m[1];else return;m=f.split("");let g="";for(let v=m.length-1;v>=0;v--){let k=m[v];if(k!="#"&&k!="0"&&k!=","&&isNaN(parseInt(k)))g=k+g;else break}let y="";if(o.fa.indexOf(".")>-1){let v=f;g.length>0&&(v=f.replace(g,""));let k=v.replace(/#/g,"0");k=k.substr(0,k.length-1),k==""?y=d+g:y=d+"."+k+g}e.updateFormat(t,"ct",y)}),$("#luckysheet-icon-fmt-decimal-increase").click(function(){let t=we.deepCopyFlowData(h.flowdata),l=h.luckysheet_select_save[0].row_focus,a=h.luckysheet_select_save[0].column_focus,o=e.checkstatus(t,l,a,"ct"),s=t[l][a];if(o==null||o.t!="n")return;if(o.fa=="General"&&(o=it(s.v)[1]),o.fa=="General"){e.updateFormat(t,"ct","#.0");return}if(/^(w|W)((0?)|(0\.0+))$/.test(o.fa)){o.fa.indexOf(".")>-1?e.updateFormat(t,"ct",o.fa+"0"):o.fa.substr(-1)=="0"?e.updateFormat(t,"ct",o.fa+".0"):e.updateFormat(t,"ct",o.fa+"0.0");return}let d="",f="",m=[];o.fa.indexOf(".")>-1?(m=o.fa.split("."),d=m[0],f=m[1]):f=o.fa,m=f.split("");let g="";for(let v=m.length-1;v>=0;v--){let k=m[v];if(k!="#"&&k!="0"&&k!=","&&isNaN(parseInt(k)))g=k+g;else break}let y="";if(o.fa.indexOf(".")>-1){let v=f;g.length>0&&(v=f.replace(g,""));let k=v.replace(/#/g,"0");k+="0",y=d+"."+k+g}else g.length>0?y=f.replace(g,"")+".0"+g:y=f+".0"+g;e.updateFormat(t,"ct",y)}),$("#luckysheet-icon-fmt-other").click(function(){let t=Q(),l=t.format,a=t.defaultFmt,o=$(this).attr("id")+"-menuButton",s=$("#"+o);if(s.length==0){let m=a,g=e.createButtonMenu(m),y=_e(e.menu,{id:"fmt-other",item:g,subclass:"",sub:""}),v=[{text:l.moreCurrency+"...",value:"morecurrency",example:""},{text:l.moreDateTime+"...",value:"moredatetime",example:""},{text:l.moreNumber+"...",value:"moredigit",example:""}],k=e.createButtonMenu(v),b=_e(e.menu,{id:"fmtOtherSelf",item:k,subclass:"luckysheet-menuButton-sub"});$("body").append(y+b),s=$("#"+o).width(250),e.focus(s),s.find(".luckysheet-cols-menuitem").click(function(){s.hide(),rt();let w=$(this),x=w.attr("itemvalue"),C=w.attr("itemname");if($("#luckysheet-icon-fmt-other").find(".luckysheet-toolbar-menu-button-caption").html(" "+C+" "),x=="fmtOtherSelf")return;let S=we.deepCopyFlowData(h.flowdata);e.focus(s,x),e.updateFormat(S,"ct",x)}),$("#luckysheet-icon-fmtOtherSelf-menuButton").find(".luckysheet-cols-menuitem").click(function(){s.hide(),$("#luckysheet-icon-fmtOtherSelf-menuButton").hide(),rt();let w=$(this).attr("itemvalue");Xc.createDialog(w),Xc.init()})}else{let m=$(this).find(".luckysheet-toolbar-menu-button-caption").text().trim(),g=a.find(y=>y.text===m);g&&e.focus(s,g.value)}let u=$(this).outerWidth(),d=s.outerWidth(),f=$(this).offset().left;d>u&&d+f>$("#"+h.container).width()&&(f=f-d+u),ml(s,f,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-font-family").mousedown(function(t){Tr(t),t.stopPropagation()}).click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let u=e.createButtonMenu(e.fontSelectList),d=_e(e.menu,{id:"font-family",item:u,subclass:"",sub:""});$("body").append(d),l=$("#"+t).width(200),e.focus(l),l.on("click",".luckysheet-cols-menuitem",function(){l.hide(),rt();let f=$(this),m=f.attr("itemvalue"),g=f.attr("itemname");e.focus(l,m),$("#luckysheet-icon-font-family").find(".luckysheet-toolbar-menu-button-caption").html(" "+g+" ");let y=we.deepCopyFlowData(h.flowdata);e.updateFormat(y,"ff",m)})}let a=$(this).outerWidth(),o=l.outerWidth(),s=$(this).offset().left;o>a&&o+s>$("#"+h.container).width()&&(s=s-o+a),ml(l,s,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-text-color").mousedown(function(t){Tr(t),t.stopPropagation()}).click(function(){let t=we.deepCopyFlowData(h.flowdata),l=$(this).attr("color");l==null&&(l="#000000"),e.updateFormat(t,"fc",l)}),$("#luckysheet-icon-text-color-menu").mousedown(function(t){Tr(t),t.stopPropagation()}).click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let d=Q(),f=d.toolbar,m=d.button,g=d.alternatingColors,y=[{name:f.alternatingColors+"...",id:"luckysheet-color-alternate",example:""}],v=e.createButtonMenu(y),k="text-color-self",b=_e(e.coloritem,{class:"luckysheet-icon-alternateformat",name:f.alternatingColors+"..."}),w=_e(e.color,{id:t,coloritem:b,colorself:k,sub:"",resetColor:f.resetColor});$("body").append(w),l=$("#"+t),$("#"+t).find(".luckysheet-color-selected").spectrum({showPalette:!0,showPaletteOnly:!0,preferredFormat:"hex",clickoutFiresChange:!1,showInitial:!0,showInput:!0,flat:!0,hideAfterPaletteSelect:!0,showSelectionPalette:!0,maxPaletteSize:8,maxSelectionSize:8,cancelText:m.cancel,chooseText:m.confirm,togglePaletteMoreText:f.customColor,togglePaletteLessText:f.collapse,togglePaletteOnly:!0,clearText:f.clearText,color:me.defaultTextColor,noColorSelectedText:f.noColorSelectedText,localStorageKey:"spectrum.textcolor"+ne.gridKey,palette:[["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc"],["#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd"],["#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0"],["#c00","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79"],["#900","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47"],["#600","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]],change:function(x){let C=$(this);x!=null?x=x.toHexString():x="#000";let S=null;$("#luckysheet-icon-text-color .text-color-bar").css("background-color",x),$("#luckysheet-icon-text-color").attr("color",x);let _=we.deepCopyFlowData(h.flowdata);e.updateFormat(_,"fc",x),l.hide(),rt()}}),l.find(".luckysheet-color-reset").click(function(){l.hide(),rt();let x=$("#"+t).find(".luckysheet-color-selected");x.val("#000000"),$("#luckysheet-icon-text-color").attr("color",null),x.spectrum("set","#000000"),$("#luckysheet-icon-text-color .luckysheet-color-menu-button-indicator").css("border-bottom-color","#000000");let C=we.deepCopyFlowData(h.flowdata);e.updateFormat(C,"fc",null)}),l.find(".luckysheet-icon-alternateformat").click(function(){if(l.hide(),rt(),h.luckysheet_select_save.length>1){de()?alert(g.errorInfo):U.info(g.errorInfo,"");return}let x=$.extend(!0,{},h.luckysheet_select_save[0]);el.rangeIsExists(x)[0]||(el.modelfocusIndex=0,el.new(x)),el.init(),el.perfect()})}let a=$(this).outerWidth(),o=l.outerWidth(),s=$(this).offset().left;o>a&&o+s>$("#"+h.container).width()&&(s=s-o+a);let u=$(this).offset().top+26;setTimeout(function(){let d=$("#"+t).find(".luckysheet-color-selected");d.spectrum("set",d.val()),ml(l,s-28,u,"lefttop")},1)}),$("#luckysheet-icon-cell-color").click(function(){let t=we.deepCopyFlowData(h.flowdata),l=$(this).attr("color");l==null&&(l="#ffffff"),e.updateFormat(t,"bg",l)}),$("#luckysheet-icon-cell-color-menu").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let d="cell-color-self",f=Q(),m=f.toolbar,g=f.button,y=f.alternatingColors,v=_e(e.coloritem,{class:"luckysheet-icon-alternateformat",name:m.alternatingColors+"..."}),k=_e(e.color,{id:t,coloritem:v,colorself:d,sub:"",resetColor:m.resetColor});$("body").append(k),l=$("#"+t),$("#"+t).find(".luckysheet-color-selected").spectrum({showPalette:!0,showPaletteOnly:!0,preferredFormat:"hex",clickoutFiresChange:!1,showInitial:!0,showInput:!0,flat:!0,hideAfterPaletteSelect:!0,showSelectionPalette:!0,maxPaletteSize:8,maxSelectionSize:8,color:me.defaultCellColor,cancelText:g.cancel,chooseText:g.confirm,togglePaletteMoreText:m.customColor,togglePaletteLessText:m.collapse,togglePaletteOnly:!0,clearText:m.clearText,noColorSelectedText:m.noColorSelectedText,localStorageKey:"spectrum.bgcolor"+ne.gridKey,palette:[["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc"],["#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd"],["#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0"],["#c00","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79"],["#900","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47"],["#600","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]],change:function(b){let w=$(this);b!=null?b=b.toHexString():b="#fff";let x=null;$("#luckysheet-icon-cell-color .text-color-bar").css("background-color",b),$("#luckysheet-icon-cell-color").attr("color",b);let C=we.deepCopyFlowData(h.flowdata);e.updateFormat(C,"bg",b),l.hide(),rt()}}),l.find(".luckysheet-color-reset").click(function(){l.hide(),rt();let b=$("#"+t).find(".luckysheet-color-selected");b.val("#ffffff"),$("#luckysheet-icon-cell-color").attr("color",null),b.spectrum("set","#ffffff"),$("#luckysheet-icon-cell-color .luckysheet-color-menu-button-indicator").css("border-bottom-color","#ffffff");let w=we.deepCopyFlowData(h.flowdata);e.updateFormat(w,"bg",null)}),l.find(".luckysheet-icon-alternateformat").click(function(){if(!Pl()){U.info("",Q().pivotTable.errorNotAllowEdit);return}if(l.hide(),rt(),h.luckysheet_select_save.length>1){de()?alert(y.errorInfo):U.info(y.errorInfo,"");return}let b=$.extend(!0,{},h.luckysheet_select_save[0]);el.rangeIsExists(b)[0]||(el.modelfocusIndex=0,el.new(b)),el.init(),el.perfect()}),$("#"+t).find(".luckysheet-color-selected").val("#fff")}let a=$(this).outerWidth(),o=l.outerWidth(),s=$(this).offset().left;o>a&&o+s>$("#"+h.container).width()&&(s=s-o+a);let u=$(this).offset().top+26;setTimeout(function(){let d=$("#"+t).find(".luckysheet-color-selected");d.spectrum("set",d.val()),ml(l,s-28,u,"lefttop")},1)});let n=null;$("#luckysheet-icon-font-size").mousedown(function(t){if(parseInt($("#luckysheet-input-box").css("top"))>0){let l=window.getSelection();if(l.type!="None"){let a=l.getRangeAt(0);a.collapsed||(h.inlineStringEditRange=a.cloneRange())}}Tr(t),t.stopPropagation()}).click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let d=[{text:"9",value:"9",example:""},{text:"10",value:"10",example:""},{text:"11",value:"11",example:""},{text:"12",value:"12",example:""},{text:"14",value:"14",example:""},{text:"16",value:"16",example:""},{text:"18",value:"18",example:""},{text:"20",value:"20",example:""},{text:"22",value:"22",example:""},{text:"24",value:"24",example:""},{text:"26",value:"26",example:""},{text:"28",value:"28",example:""},{text:"36",value:"36",example:""},{text:"48",value:"48",example:""},{text:"72",value:"72",example:""}],f=e.createButtonMenu(d),m=_e(e.menu,{id:"font-size",item:f,subclass:"",sub:""});$("body").append(m),l=$("#"+t).width(150),e.focus(l,10),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let g=$(this),y=g.attr("itemvalue"),v=$("#luckysheet-icon-font-size input");$("#luckysheet-icon-font-size").attr("itemvalue",y),e.focus(l,y),v.val(y);let k=we.deepCopyFlowData(h.flowdata);e.updateFormat(k,"fs",y),clearTimeout(n)})}let a=$(this).outerWidth(),o=l.outerWidth(),s=$("#luckysheet-icon-font-size").attr("itemvalue");s==null&&(s=10),e.focus(l,s);let u=$(this).offset().left;o>a&&o+u>$("#"+h.container).width()&&(u=u-o+a),ml(l,u,$(this).offset().top+25,"lefttop")}).find("input.luckysheet-toolbar-textinput").keydown(function(t){Tr(t),t.stopPropagation()}).keyup(function(t){if(t.keyCode!=13)return;let l=$(this),a=parseInt(l.val()),o=$("#luckysheet-icon-font-size-menuButton");e.focus(o,a);let s=we.deepCopyFlowData(h.flowdata);e.updateFormat(s,"fs",a),n=setTimeout(function(){o.hide(),l.blur()},200)}),$("#luckysheet-icon-border-all").click(function(){if(!Pl()){U.info("",Q().pivotTable.errorNotAllowEdit);return}if(!Rr(h.currentSheetIndex))return;let t=we.deepCopyFlowData(h.flowdata),l=$(this).attr("type");l==null&&(l="border-all");let a="luckysheet-icon-borderColor-menuButton",o=$("#"+a).find(".luckysheet-color-selected").val(),s=$("#luckysheetborderSizepreview").attr("itemvalue");(o==null||o=="")&&(o="#000"),(s==null||s=="")&&(s="1");let u=$.extend(!0,{},h.config);u.borderInfo==null&&(u.borderInfo=[]);let d={rangeType:"range",borderType:l,color:o,style:s,range:$.extend(!0,[],h.luckysheet_select_save)};if(u.borderInfo.push(d),h.clearjfundo){h.jfundo.length=0;let f=[];f.type="borderChange",f.config=$.extend(!0,{},h.config),f.curconfig=$.extend(!0,{},u),f.sheetIndex=h.currentSheetIndex,h.jfredo.push(f)}ne.saveParam("cg",h.currentSheetIndex,u.borderInfo,{k:"borderInfo"}),h.config=u,h.luckysheetfile[K(h.currentSheetIndex)].config=h.config,setTimeout(function(){Be()},1)}),$("#luckysheet-icon-border-menu").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let u=10,d=120,f=Q(),m=f.border,g=f.toolbar,y=f.button,v=[{text:m.borderTop,value:"border-top",example:'<div class="luckysheet-icon luckysheet-inline-block luckysheet-material-icon luckysheet-mousedown-cancel" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-top iconfont-luckysheet luckysheet-iconfont-shangbiankuang" style="user-select: none;"> </div> </div>'},{text:m.borderBottom,value:"border-bottom",example:'<div class="luckysheet-icon luckysheet-inline-block luckysheet-material-icon luckysheet-mousedown-cancel" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-bottom iconfont-luckysheet luckysheet-iconfont-xiabiankuang" style="user-select: none;"> </div> </div>'},{text:m.borderLeft,value:"border-left",example:'<div class="luckysheet-icon luckysheet-inline-block luckysheet-material-icon luckysheet-mousedown-cancel" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-left iconfont-luckysheet luckysheet-iconfont-zuobiankuang" style="user-select: none;"> </div> </div>'},{text:m.borderRight,value:"border-right",example:'<div class="luckysheet-icon luckysheet-inline-block luckysheet-material-icon luckysheet-mousedown-cancel" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-right iconfont-luckysheet luckysheet-iconfont-youbiankuang" style="user-select: none;"> </div> </div>'},{text:"",value:"split",example:""},{text:m.borderNone,value:"border-none",example:'<div class="luckysheet-icon luckysheet-inline-block luckysheet-material-icon luckysheet-mousedown-cancel" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-none iconfont-luckysheet luckysheet-iconfont-wubiankuang" style="user-select: none;"> </div> </div>'},{text:m.borderAll,value:"border-all",example:'<div class="luckysheet-icon luckysheet-inline-block luckysheet-material-icon luckysheet-mousedown-cancel" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-all iconfont-luckysheet luckysheet-iconfont-quanjiabiankuang" style="user-select: none;"> </div> </div>'},{text:m.borderOutside,value:"border-outside",example:'<div class="luckysheet-icon luckysheet-inline-block luckysheet-material-icon luckysheet-mousedown-cancel" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-outside iconfont-luckysheet luckysheet-iconfont-sizhoujiabiankuang" style="user-select: none;"> </div> </div>'},{text:"",value:"split",example:""},{text:m.borderInside,value:"border-inside",example:'<div class="luckysheet-icon luckysheet-inline-block luckysheet-material-icon luckysheet-mousedown-cancel" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-inside iconfont-luckysheet luckysheet-iconfont-neikuangxian" style="user-select: none;"> </div> </div>'},{text:m.borderHorizontal,value:"border-horizontal",example:'<div class="luckysheet-icon luckysheet-inline-block luckysheet-material-icon luckysheet-mousedown-cancel" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-horizontal iconfont-luckysheet luckysheet-iconfont-neikuanghengxian" style="user-select: none;"> </div> </div>'},{text:m.borderVertical,value:"border-vertical",example:'<div class="luckysheet-icon luckysheet-inline-block luckysheet-material-icon luckysheet-mousedown-cancel" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-border-vertical iconfont-luckysheet luckysheet-iconfont-neikuangshuxian" style="user-select: none;"> </div> </div>'},{text:"",value:"split",example:""},{text:"<span id='luckysheet-icon-borderColor-linecolor' class='luckysheet-mousedown-cancel' style='border-bottom:3px solid #000;'>"+m.borderColor+"</span>",value:"borderColor",example:"more"},{text:""+m.borderSize+"<img id='luckysheetborderSizepreview' width=100 height=10 src='data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==' style='position:absolute;bottom:-5px;right:0px;width:100px;height:10px;'>",value:"borderSize",example:"more"}],k=en.border,b=e.createButtonMenu(v),w=_e(e.menu,{id:"border-menu",item:b,subclass:"",sub:""}),x=[{text:m.borderNone,value:"0",example:""},{text:"<canvas type='Thin' class='border-Thin' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"1",example:""},{text:"<canvas type='Hair' class='border-Hair' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"2",example:""},{text:"<canvas type='Dotted' class='border-Dotted' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"3",example:""},{text:"<canvas type='Dashed' class='border-Dashed' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"4",example:""},{text:"<canvas type='DashDot' class='border-DashDot' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"5",example:""},{text:"<canvas type='DashDotDot' class='border-DashDotDot' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"6",example:""},{text:"<canvas type='Medium' class='border-Medium' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"8",example:""},{text:"<canvas type='MediumDashed' class='border-MediumDashed' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"9",example:""},{text:"<canvas type='MediumDashDot' class='border-MediumDashDot' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"10",example:""},{text:"<canvas type='MediumDashDotDot' class='border-MediumDashDotDot' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"11",example:""},{text:"<canvas type='Thick' class='border-Thick' width="+d+" height="+u+" style='width:"+d+"px;height:"+u+"px;position:static;'></canvas>",value:"13",example:""}],C=e.createButtonMenu(x),S=_e(e.menu,{id:"borderSize",item:C,subclass:"luckysheet-menuButton-sub"}),_="luckysheet-icon-borderSize-menuButton",T="luckysheet-icon-borderColor-menuButton",A=_e(e.color,{id:T,coloritem:"",colorself:"",sub:"luckysheet-menuButton-sub",resetColor:g.resetColor});$("body").append(w+A+S),l=$("#"+t).width(170),e.focus(l,"border-all"),$("#"+_+" canvas").each(function(R){let I=$(this).attr("type"),F=$(this).closest(".luckysheet-cols-menuitem").attr("itemvalue"),z=$(this).addClass("luckysheet-mousedown-cancel").get(0).getContext("2d");z.translate(.5,.5),e.setLineDash(z,F,"h",0,5,100,5),z.strokeStyle="#000000",z.stroke(),z.closePath()}),$("#"+_+" .luckysheet-cols-menuitem").click(function(){$("#"+_).hide();let R=$(this),I=R.attr("itemvalue");if(I==0)$("#luckysheetborderSizepreview").attr("src","data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==").attr("itemvalue",null);else{let F=R.find("canvas").get(0).toDataURL("image/png");$("#luckysheetborderSizepreview").attr("src",F).attr("itemvalue",I)}e.focus($("#"+_),I)}),l.find(".luckysheet-cols-menuitem").click(function(){if(!Pl()){U.info("",Q().pivotTable.errorNotAllowEdit);return}l.hide(),rt();let R=$(this),I=R.attr("itemvalue");if(I=="borderColor"||I=="borderSize"||!Rr(h.currentSheetIndex))return;let F=we.deepCopyFlowData(h.flowdata),z=$("#"+T).find(".luckysheet-color-selected").val(),M=$("#luckysheetborderSizepreview").attr("itemvalue");(z==null||z=="")&&(z="#000"),(M==null||M=="")&&(M="1");let N=$.extend(!0,{},h.config);N.borderInfo==null&&(N.borderInfo=[]);let E={rangeType:"range",borderType:I,color:z,style:M,range:$.extend(!0,[],h.luckysheet_select_save)};if(N.borderInfo.push(E),h.clearjfundo){h.jfundo.length=0;let O=[];O.type="borderChange",O.config=$.extend(!0,{},h.config),O.curconfig=$.extend(!0,{},N),O.sheetIndex=h.currentSheetIndex,h.jfredo.push(O)}ne.saveParam("cg",h.currentSheetIndex,N.borderInfo,{k:"borderInfo"}),h.config=N,h.luckysheetfile[K(h.currentSheetIndex)].config=h.config,setTimeout(function(){Be()},1),$("#luckysheet-icon-border-all").attr("type",I),$("#luckysheet-icon-border-all").find(".luckysheet-icon-img-container").removeAttr("class").addClass("luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-"+I+k[I]),e.focus(l,I)}),$("#"+T).find(".luckysheet-color-selected").spectrum({showPalette:!0,showPaletteOnly:!0,preferredFormat:"hex",clickoutFiresChange:!1,showInitial:!0,showInput:!0,flat:!0,hideAfterPaletteSelect:!0,showSelectionPalette:!0,maxPaletteSize:8,maxSelectionSize:8,color:"#000",cancelText:y.cancel,chooseText:y.confirm,togglePaletteMoreText:g.customColor,togglePaletteLessText:g.collapse,togglePaletteOnly:!0,clearText:g.clearText,noColorSelectedText:g.noColorSelectedText,localStorageKey:"spectrum.bordercolor"+ne.gridKey,palette:[["#000","#444","#666","#999","#ccc","#eee","#f3f3f3","#fff"],["#f00","#f90","#ff0","#0f0","#0ff","#00f","#90f","#f0f"],["#f4cccc","#fce5cd","#fff2cc","#d9ead3","#d0e0e3","#cfe2f3","#d9d2e9","#ead1dc"],["#ea9999","#f9cb9c","#ffe599","#b6d7a8","#a2c4c9","#9fc5e8","#b4a7d6","#d5a6bd"],["#e06666","#f6b26b","#ffd966","#93c47d","#76a5af","#6fa8dc","#8e7cc3","#c27ba0"],["#c00","#e69138","#f1c232","#6aa84f","#45818e","#3d85c6","#674ea7","#a64d79"],["#900","#b45f06","#bf9000","#38761d","#134f5c","#0b5394","#351c75","#741b47"],["#600","#783f04","#7f6000","#274e13","#0c343d","#073763","#20124d","#4c1130"]],change:function(R){let I=$(this);R!=null?R=R.toHexString():R="#000";let F=null;$("#luckysheet-icon-borderColor-linecolor").css("border-bottom-color",R),$("#"+T).find(".luckysheet-color-selected").val(R)}}),$("#"+T).find(".luckysheet-color-reset").click(function(){let R=$("#"+T).find(".luckysheet-color-selected");R.val("#000"),$("#luckysheet-icon-cell-color").attr("color",null),R.spectrum("set","#000"),$("#luckysheet-icon-borderColor-linecolor").css("border-bottom-color","#000")})}let a=$(this).outerWidth(),o=l.outerWidth(),s=$(this).offset().left;o>a&&o+s>$("#"+h.container).width()&&(s=s-o+a),ml(l,s-28,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-merge-button").click(function(){let l=Q().merge;if(!Ur(h.currentSheetIndex))return;if(Kr()){de()?alert(l.overlappingError):U.info(l.overlappingError,"");return}if(h.config.merge!=null){let o=!1;for(let s=0;s<h.luckysheet_select_save.length;s++){let u=h.luckysheet_select_save[s].row[0],d=h.luckysheet_select_save[s].row[1],f=h.luckysheet_select_save[s].column[0],m=h.luckysheet_select_save[s].column[1];if(o=Nt(h.config,u,d,f,m),o)break}if(o){de()?alert(l.partiallyError):U.info(l.partiallyError,"");return}}let a=we.deepCopyFlowData(h.flowdata);e.updateFormat_mc(a,"mergeAll")}),$("#luckysheet-icon-merge-menu").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let d=Q().merge,f=[{text:d.mergeAll,value:"mergeAll",example:""},{text:d.mergeV,value:"mergeV",example:""},{text:d.mergeH,value:"mergeH",example:""},{text:d.mergeCancel,value:"mergeCancel",example:""}],m=e.createButtonMenu(f),g=_e(e.menu,{id:"merge-menu",item:m,subclass:"",sub:""});$("body").append(g),l=$("#"+t),e.focus(l),l.find(".luckysheet-cols-menuitem").click(function(){if(l.hide(),rt(),Kr()){de()?alert(d.overlappingError):U.info(d.overlappingError,"");return}if(h.config.merge!=null){let b=!1;for(let w=0;w<h.luckysheet_select_save.length;w++){let x=h.luckysheet_select_save[w].row[0],C=h.luckysheet_select_save[w].row[1],S=h.luckysheet_select_save[w].column[0],_=h.luckysheet_select_save[w].column[1];if(b=Nt(h.config,x,C,S,_),b)break}if(b){de()?alert(d.partiallyError):U.info(d.partiallyError,"");return}}let y=$(this),v=y.attr("itemvalue");e.focus(l,v);let k=we.deepCopyFlowData(h.flowdata);e.updateFormat_mc(k,v)})}let a=$(this).outerWidth(),o=l.outerWidth(),s=$(this).offset().left;o>a&&o+s>$("#"+h.container).width()&&(s=s-o+a),ml(l,s-28,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-align").click(function(){let t=$("#luckysheet-icon-align").attr("type");t==null&&(t="left");let l=we.deepCopyFlowData(h.flowdata);e.updateFormat(l,"ht",t)}),$("#luckysheet-icon-align-menu").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let d=Q().align,f=[{text:d.left,value:"left",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-align-left iconfont-luckysheet luckysheet-iconfont-wenbenzuoduiqi" style="user-select: none;"> </div> </div>'},{text:d.center,value:"center",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-align-center iconfont-luckysheet luckysheet-iconfont-wenbenjuzhongduiqi" style="user-select: none;"> </div> </div>'},{text:d.right,value:"right",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-align-right iconfont-luckysheet luckysheet-iconfont-wenbenyouduiqi" style="user-select: none;"> </div> </div>'}],m=en.align,g=e.createButtonMenu(f),y=_e(e.menu,{id:"align-menu",item:g,subclass:"",sub:""});$("body").append(y),l=$("#"+t).width(120),e.focus(l),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let v=$(this),k=v.attr("itemvalue");e.focus(l,k),$("#luckysheet-icon-align").attr("type",k).find(".luckysheet-icon-img-container").removeAttr("class").addClass("luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-align-"+k+m[k]);let w=we.deepCopyFlowData(h.flowdata);e.updateFormat(w,"ht",k)})}let a=$(this).outerWidth(),o=l.outerWidth(),s=$(this).offset().left;o>a&&o+s>$("#"+h.container).width()&&(s=s-o+a),ml(l,s-28,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-valign").click(function(){let t=$("#luckysheet-icon-valign").attr("type");t==null&&(t="bottom");let l=we.deepCopyFlowData(h.flowdata);e.updateFormat(l,"vt",t)}),$("#luckysheet-icon-valign-menu").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t),o=Q().align;if(l.length==0){let f=[{text:o.top,value:"top",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-valign-top iconfont-luckysheet luckysheet-iconfont-dingbuduiqi" style="user-select: none;"> </div> </div>'},{text:o.middle,value:"middle",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-valign-middle iconfont-luckysheet luckysheet-iconfont-shuipingduiqi" style="user-select: none;"> </div> </div>'},{text:o.bottom,value:"bottom",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-valign-bottom iconfont-luckysheet luckysheet-iconfont-dibuduiqi" style="user-select: none;"> </div> </div>'}],m=en.align,g=e.createButtonMenu(f),y=_e(e.menu,{id:"valign-menu",item:g,subclass:"",sub:""});$("body").append(y),l=$("#"+t).width(120),e.focus(l,"bottom"),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let v=$(this),k=v.attr("itemvalue");e.focus(l,k),$("#luckysheet-icon-valign").attr("type",k).find(".luckysheet-icon-img-container").removeAttr("class").addClass("luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-valign-"+k+m[k]);let w=we.deepCopyFlowData(h.flowdata);e.updateFormat(w,"vt",k)})}let s=$(this).outerWidth(),u=l.outerWidth(),d=$(this).offset().left;u>s&&u+d>$("#"+h.container).width()&&(d=d-u+s),ml(l,d-28,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-textwrap-menu").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let d=Q().textWrap,f=[{text:d.overflow,value:"overflow",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-textwrap-overflow iconfont-luckysheet luckysheet-iconfont-yichu1" style="user-select: none;"> </div> </div>'},{text:d.wrap,value:"wrap",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-textwrap-wrap iconfont-luckysheet luckysheet-iconfont-zidonghuanhang" style="user-select: none;"> </div> </div>'},{text:d.clip,value:"clip",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-textwrap-clip iconfont-luckysheet luckysheet-iconfont-jieduan" style="user-select: none;"> </div> </div>'}],m=en.textWrap,g=e.createButtonMenu(f),y=_e(e.menu,{id:"textwrap-menu",item:g,subclass:"",sub:""});$("body").append(y),l=$("#"+t).width(120),e.focus(l,"clip"),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let v=$(this),k=v.attr("itemvalue");e.focus(l,k),$("#luckysheet-icon-textwrap").attr("type",k).find(".luckysheet-icon-img-container").removeAttr("class").addClass("luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-textwrap-"+k+m[k]);let w=we.deepCopyFlowData(h.flowdata);e.updateFormat(w,"tb",k)})}let a=$(this).outerWidth(),o=l.outerWidth(),s=$(this).offset().left;o>a&&o+s>$("#"+h.container).width()&&(s=s-o+a),ml(l,s-28,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-rotation-menu").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let d=Q().rotation,f=[{text:d.none,value:"none",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-none iconfont-luckysheet luckysheet-iconfont-wuxuanzhuang" style="user-select: none;"> </div> </div>'},{text:d.angleup,value:"angleup",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-angleup iconfont-luckysheet luckysheet-iconfont-xiangshangqingxie" style="user-select: none;"> </div> </div>'},{text:d.angledown,value:"angledown",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-angledown iconfont-luckysheet luckysheet-iconfont-xiangxiaqingxie" style="user-select: none;"> </div> </div>'},{text:d.vertical,value:"vertical",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-vertical iconfont-luckysheet luckysheet-iconfont-shupaiwenzi" style="user-select: none;"> </div> </div>'},{text:d.rotationUp,value:"rotation-up",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-rotation-up iconfont-luckysheet luckysheet-iconfont-wenbenxiangshang" style="user-select: none;"> </div> </div>'},{text:d.rotationDown,value:"rotation-down",example:'<div class="luckysheet-icon luckysheet-inline-block" style="user-select: none;opacity:1;"> <div aria-hidden="true" class="luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-rotation-down iconfont-luckysheet luckysheet-iconfont-xiangxia90" style="user-select: none;"> </div> </div>'}],m=en.rotation,g=e.createButtonMenu(f),y=_e(e.menu,{id:"rotation-menu",item:g,subclass:"",sub:""});$("body").append(y),l=$("#"+t).width(160),e.focus(l),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let v=$(this),k=v.attr("itemvalue");e.focus(l,k),$("#luckysheet-icon-rotation").attr("type",k).find(".luckysheet-icon-img-container").removeAttr("class").addClass("luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-"+k+m[k]);let w=we.deepCopyFlowData(h.flowdata);e.updateFormat(w,"tr",k)})}let a=$(this).outerWidth(),o=l.outerWidth(),s=$(this).offset().left;o>a&&o+s>$("#"+h.container).width()&&(s=s-o+a),ml(l,s-28,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-freezen-menu").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let d=Q().freezen,f=[{text:d.freezenRow,value:"freezenRow",example:""},{text:d.freezenColumn,value:"freezenColumn",example:""},{text:d.freezenRC,value:"freezenRC",example:""},{text:"",value:"split",example:""},{text:d.freezenRowRange,value:"freezenRowRange",example:""},{text:d.freezenColumnRange,value:"freezenColumnRange",example:""},{text:d.freezenRCRange,value:"freezenRCRange",example:""},{text:"",value:"split",example:""},{text:d.freezenCancel,value:"freezenCancel",example:""}],m=e.createButtonMenu(f),g=_e(e.menu,{id:"freezen-menu",item:m,subclass:"",sub:""});$("body").append(g),l=$("#"+t).width(170),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let y=$(this),v=y.attr("itemvalue");if(e.focus(l,v),v==="freezenCancel"&&l.find(".fa.fa-check").remove(),X.saveFrozen(v),v=="freezenRow")qo();else if(v=="freezenColumn")jo();else if(v=="freezenRC"){if(X.freezenRealFirstRowColumn){let k=0,b=h.visibledatarow[k]-2+h.columnHeaderHeight,w=[h.visibledatarow[k],k+1,0,X.cutVolumn(h.visibledatarow,k+1),b];X.saveFreezen(w,b,null,null),X.createFreezenHorizontal(w,b);let x=0,C=h.visibledatacolumn[x]-2+h.rowHeaderWidth,S=[h.visibledatacolumn[x],x+1,0,X.cutVolumn(h.visibledatacolumn,x+1),C];X.saveFreezen(null,null,S,C),X.createFreezenVertical(S,C)}else{let k=$("#luckysheet-cell-main").scrollTop(),b=st(h.visibledatarow,k);b==-1&&(b=0);let w=h.visibledatarow[b]-2-k+h.columnHeaderHeight,x=[h.visibledatarow[b],b+1,k,X.cutVolumn(h.visibledatarow,b+1),w];X.saveFreezen(x,w,null,null),X.createFreezenHorizontal(x,w);let C=$("#luckysheet-cell-main").scrollLeft(),S=st(h.visibledatacolumn,C);S==-1&&(S=0);let _=h.visibledatacolumn[S]-2-C+h.rowHeaderWidth,T=[h.visibledatacolumn[S],S+1,C,X.cutVolumn(h.visibledatacolumn,S+1),_];X.saveFreezen(null,null,T,_),X.createFreezenVertical(T,_)}X.createAssistCanvas(),Be()}else if(v=="freezenRowRange"){if(h.luckysheet_select_save==null||h.luckysheet_select_save.length==0){de()?alert(d.noSeletionError):U.info(d.noSeletionError,"");return}let k=h.luckysheet_select_save[h.luckysheet_select_save.length-1].top;if(X.freezenRealFirstRowColumn&&k>$("#luckysheet-cell-main").height())return U.info(d.rangeRCOverErrorTitle,d.rangeRCOverError);let b=$("#luckysheet-cell-main").scrollTop(),w=st(h.visibledatarow,b),x=h.luckysheet_select_save[h.luckysheet_select_save.length-1],C=x.row_focus==null?x.row[0]:x.row_focus;w=Math.max(w-1,C-1,0);let S,_;X.freezenRealFirstRowColumn?(S=h.visibledatarow[w]-2+h.columnHeaderHeight,_=[h.visibledatarow[w],w+1,0,X.cutVolumn(h.visibledatarow,w+1),S]):(S=h.visibledatarow[w]-2-b+h.columnHeaderHeight,_=[h.visibledatarow[w],w+1,b,X.cutVolumn(h.visibledatarow,w+1),S]),X.saveFreezen(_,S,null,null),X.freezenverticaldata!=null&&(X.cancelFreezenVertical(),X.createAssistCanvas(),Be()),X.createFreezenHorizontal(_,S),X.createAssistCanvas(),Be()}else if(v=="freezenColumnRange"){if(h.luckysheet_select_save==null||h.luckysheet_select_save.length==0){de()?alert(d.noSeletionError):U.info(d.noSeletionError,"");return}let k=h.luckysheet_select_save[h.luckysheet_select_save.length-1].left;if(X.freezenRealFirstRowColumn&&k>$("#luckysheet-cell-main").width())return U.info(d.rangeRCOverErrorTitle,d.rangeRCOverError);let b=$("#luckysheet-cell-main").scrollLeft(),w=st(h.visibledatacolumn,b),x=h.luckysheet_select_save[h.luckysheet_select_save.length-1],C=x.column_focus==null?x.column[0]:x.column_focus;w=Math.max(w-1,C-1,0);let S,_;X.freezenRealFirstRowColumn?(S=h.visibledatacolumn[w]-2+h.rowHeaderWidth,_=[h.visibledatacolumn[w],w+1,0,X.cutVolumn(h.visibledatacolumn,w+1),S]):(S=h.visibledatacolumn[w]-2-b+h.rowHeaderWidth,_=[h.visibledatacolumn[w],w+1,b,X.cutVolumn(h.visibledatacolumn,w+1),S]),X.saveFreezen(null,null,_,S),X.freezenhorizontaldata!=null&&(X.cancelFreezenHorizontal(),X.createAssistCanvas(),Be()),X.createFreezenVertical(_,S),X.createAssistCanvas(),Be()}else if(v=="freezenRCRange"){if(h.luckysheet_select_save==null||h.luckysheet_select_save.length==0){de()?alert(d.noSeletionError):U.info(d.noSeletionError,"");return}let k=h.luckysheet_select_save[h.luckysheet_select_save.length-1].top,b=h.luckysheet_select_save[h.luckysheet_select_save.length-1].left;if(X.freezenRealFirstRowColumn&&(k>$("#luckysheet-cell-main").height()||b>$("#luckysheet-cell-main").width()))return U.info(d.rangeRCOverErrorTitle,d.rangeRCOverError);let w=$("#luckysheet-cell-main").scrollTop(),x=st(h.visibledatarow,w),C=h.luckysheet_select_save[h.luckysheet_select_save.length-1],S=C.row_focus==null?C.row[0]:C.row_focus;x=Math.max(x-1,S-1,0);let _,T;X.freezenRealFirstRowColumn?(_=h.visibledatarow[x]-2+h.columnHeaderHeight,T=[h.visibledatarow[x],x+1,0,X.cutVolumn(h.visibledatarow,x+1),_],X.saveFreezen(T,_,null,null)):(_=h.visibledatarow[x]-2-w+h.columnHeaderHeight,T=[h.visibledatarow[x],x+1,w,X.cutVolumn(h.visibledatarow,x+1),_],X.saveFreezen(T,_,null,null)),X.createFreezenHorizontal(T,_);let A=$("#luckysheet-cell-main").scrollLeft(),R=st(h.visibledatacolumn,A),I=C.column_focus==null?C.column[0]:C.column_focus;R=Math.max(R-1,I-1,0);let F,z;X.freezenRealFirstRowColumn?(F=h.visibledatacolumn[R]-2+h.rowHeaderWidth,z=[h.visibledatacolumn[R],R+1,0,X.cutVolumn(h.visibledatacolumn,R+1),F]):(F=h.visibledatacolumn[R]-2-A+h.rowHeaderWidth,z=[h.visibledatacolumn[R],R+1,A,X.cutVolumn(h.visibledatacolumn,R+1),F]),X.saveFreezen(null,null,z,F),X.createFreezenVertical(z,F),X.createAssistCanvas(),Be()}else v=="freezenCancel"&&(X.freezenverticaldata!=null&&(X.cancelFreezenVertical(),X.createAssistCanvas(),Be()),X.freezenhorizontaldata!=null&&(X.cancelFreezenHorizontal(),X.createAssistCanvas(),Be()),X.scrollAdapt());setTimeout(function(){$t()},0)})}let a=$(this).outerWidth(),o=l.outerWidth(),s=$(this).offset().left;o>a&&o+s>$("#"+h.container).width()&&(s=s-o+a),ml(l,s-68,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-autofilter").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t);if(l.length==0){let u=Q(),d=u.sort,f=u.filter,m=[{text:d.asc,value:"asc",example:'<i class="iconfont-luckysheet luckysheet-iconfont-shengxu" aria-hidden="true"></i>'},{text:d.desc,value:"desc",example:'<i class="iconfont-luckysheet luckysheet-iconfont-jiangxu" aria-hidden="true"></i>'},{text:d.custom+"...",value:"diysort",example:'<i class="iconfont-luckysheet luckysheet-iconfont-zidingyipaixu" aria-hidden="true"></i>'},{text:"",value:"split",example:""},{text:f.filter,value:"filter",example:'<i class="iconfont-luckysheet luckysheet-iconfont-shaixuan2" aria-hidden="true"></i>'},{text:f.clearFilter,value:"clearfilter",example:'<i class="iconfont-luckysheet luckysheet-iconfont-qingchushaixuan" aria-hidden="true"></i>'}],g=e.createButtonMenu(m),y=_e(e.menu,{id:"autofilter",item:g,subclass:"",sub:""});$("body").append(y),l=$("#"+t).width(150),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let v=$(this),k=v.attr("itemvalue");k=="diysort"?$("#luckysheetorderby").click():k=="asc"?sc(!0):k=="desc"?sc(!1):k=="filter"?$("#luckysheet-filter-options-sheet"+h.currentSheetIndex).length>0?$("#luckysheet-filter-initial").click():Di():k=="clearfilter"&&$("#luckysheet-filter-initial").click()})}let a=$(this).outerWidth(),o=l.outerWidth(),s=$(this).offset().left;o>a&&o+s>$("#"+h.container).width()&&(s=s-o+a),ml(l,s,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-seachmore").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t),o=Q().findAndReplace;if(l.length==0){let f=[{text:o.find+" ...",value:"search",example:'<i class="iconfont-luckysheet luckysheet-iconfont-sousuo" aria-hidden="true"></i>'},{text:o.replace+" ...",value:"replace",example:'<i class="iconfont-luckysheet luckysheet-iconfont-tihuan" aria-hidden="true"></i>'},{text:"",value:"split",example:""},{text:o.location+" ...",value:"location",example:'<i class="iconfont-luckysheet luckysheet-iconfont-dingwei" aria-hidden="true"></i>'},{text:o.formula,value:"locationFormula",example:o.locationExample},{text:o.date,value:"locationConstantDate",example:o.locationExample},{text:o.number,value:"locationConstantNumber",example:o.locationExample},{text:o.string,value:"locationConstantString",example:o.locationExample},{text:o.error,value:"locationConstantError",example:o.locationExample},{text:o.condition,value:"locationCF",example:o.locationExample},{text:o.rowSpan,value:"locationStepRow",example:o.locationExample},{text:o.columnSpan,value:"locationStepColumn",example:o.locationExample}],m=e.createButtonMenu(f),g=_e(e.menu,{id:"seachmore",item:m,subclass:"",sub:""});$("body").append(g),l=$("#"+t).width(180),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let y=$(this),v=y.attr("itemvalue");if(v=="search"||v=="replace")v=="search"?Mr.createDialog(0):v=="replace"&&Mr.createDialog(1),Mr.init(),$("#luckysheet-search-replace #searchInput input").focus();else if(v=="location")Zr.createDialog(),Zr.init();else if(v=="locationFormula"||v=="locationConstantDate"||v=="locationConstantNumber"||v=="locationConstantString"||v=="locationConstantError"||v=="locationCF"){let k=h.luckysheet_select_save[0],b;h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&k.row[0]==k.row[1]&&k.column[0]==k.column[1]?b=[{row:[0,h.flowdata.length-1],column:[0,h.flowdata[0].length-1]}]:b=$.extend(!0,[],h.luckysheet_select_save),v=="locationFormula"?Zr.apply(b,"locationFormula","all"):v=="locationConstantDate"?Zr.apply(b,"locationConstant","d"):v=="locationConstantNumber"?Zr.apply(b,"locationConstant","n"):v=="locationConstantString"?Zr.apply(b,"locationConstant","s,g"):v=="locationConstantError"?Zr.apply(b,"locationConstant","e"):v=="locationCF"&&Zr.apply(b,"locationCF")}else if(v=="locationStepRow"){if(h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].row[0]==h.luckysheet_select_save[0].row[1]){de()?alert(o.lessTwoRowTip):U.info("",o.lessTwoRowTip);return}let k=$.extend(!0,[],h.luckysheet_select_save);Zr.apply(k,"locationStepRow")}else if(v=="locationStepColumn"){if(h.luckysheet_select_save.length==0||h.luckysheet_select_save.length==1&&h.luckysheet_select_save[0].column[0]==h.luckysheet_select_save[0].column[1]){de()?alert(o.lessTwoColumnTip):U.info("",o.lessTwoColumnTip);return}let k=$.extend(!0,[],h.luckysheet_select_save);Zr.apply(k,"locationStepColumn")}})}let s=$(this).outerWidth(),u=l.outerWidth(),d=$(this).offset().left;u>s&&u+d>$("#"+h.container).width()&&(d=d-u+s),ml(l,d,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-function").click(function(){e.autoSelectionFormula("SUM")}),$("#luckysheet-icon-function-menu").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t),o=Q().formula;if(l.length==0){let f=[{text:o.sum,value:"SUM",example:"SUM"},{text:o.average,value:"AVERAGE",example:"AVERAGE"},{text:o.count,value:"COUNT",example:"COUNT"},{text:o.max,value:"MAX",example:"MAX"},{text:o.min,value:"MIN",example:"MIN"},{text:"",value:"split",example:""},{text:o.ifGenerate,value:"if",example:"IF"},{text:o.find+" ...",value:"formula",example:""}],m=e.createButtonMenu(f),g=_e(e.menu,{id:"function-menu",item:m,subclass:"",sub:""});$("body").append(g),l=$("#"+t).width(180),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let y=$(this),v=y.attr("itemvalue");if(v=="if"){let k=h.luckysheet_select_save[h.luckysheet_select_save.length-1],b=k.row_focus==null?k.row[0]:k.row_focus,w=k.column_focus==null?k.column[0]:k.column_focus;if(!!h.flowdata[b]&&!!h.flowdata[b][w]&&!!h.flowdata[b][w].f){let x=h.flowdata[b][w].f.toString();if(x.indexOf("=if(")!=-1)ai.ifFormulaDialog(x);else{de()?alert(o.tipNotBelongToIf):U.info(o.tipNotBelongToIf,"");return}}else ai.ifFormulaDialog();ai.init()}else if(v=="formula"){if(h.luckysheet_select_save.length==0){de()?alert(o.tipSelectCell):U.info(o.tipSelectCell,"");return}let k=h.luckysheet_select_save[h.luckysheet_select_save.length-1],b=k.row_focus,w=k.column_focus;Dl(b,w,h.flowdata);let x=h.flowdata[b][w];if(x!=null&&x.f!=null){let C=p.getfunctionParam(x.f);C.fn!=null?dn.formulaParmDialog(C.fn,C.param):dn.formulaListDialog()}else $("#luckysheet-rich-text-editor").html('<span dir="auto" class="luckysheet-formula-text-color">=</span>'),$("#luckysheet-functionbox-cell").html($("#luckysheet-rich-text-editor").html()),dn.formulaListDialog();dn.init()}else e.autoSelectionFormula(v)})}let s=$(this).outerWidth(),u=l.outerWidth(),d=$(this).offset().left;u>s&&u+d>$("#"+h.container).width()&&(d=d-u+s),ml(l,d-48,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-bold").mousedown(function(t){Tr(t),t.stopPropagation()}).click(function(t){let l=we.deepCopyFlowData(h.flowdata),o=ni("bl",1)?0:1;e.updateFormat(l,"bl",o)}),$("#luckysheet-icon-italic").mousedown(function(t){Tr(t),t.stopPropagation()}).click(function(){let t=we.deepCopyFlowData(h.flowdata),a=ni("it",1)?0:1;e.updateFormat(t,"it",a)}),$("#luckysheet-icon-strikethrough").mousedown(function(t){Tr(t),t.stopPropagation()}).click(function(){let t=we.deepCopyFlowData(h.flowdata),a=ni("cl",1)?0:1;e.updateFormat(t,"cl",a)}),$("#luckysheet-icon-underline").mousedown(function(t){Tr(t),t.stopPropagation()}).click(function(){let t=we.deepCopyFlowData(h.flowdata),a=ni("un",1)?0:1;e.updateFormat(t,"un",a)}),$("#luckysheet-icon-conditionformat").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t),a=Q().conditionformat;if(l.length==0){let d=[{text:a.highlightCellRules,value:"highlightCellRule",example:"more"},{text:a.itemSelectionRules,value:"projectSelectRule",example:"more"},{text:a.dataBar,value:"dataBar",example:"more"},{text:a.colorGradation,value:"colorGradation",example:"more"},{text:a.icons,value:"icons",example:""},{text:"",value:"split",example:""},{text:a.newRule,value:"newRule",example:""},{text:a.deleteRule,value:"deleteRule",example:"more"},{text:a.manageRules,value:"administerRule",example:""}],f=e.createButtonMenu(d),m=_e(e.menu,{id:"conditionformat",item:f,subclass:"",sub:""}),g=[{text:a.greaterThan,value:"greaterThan",example:">"},{text:a.lessThan,value:"lessThan",example:"<"},{text:a.between,value:"betweenness",example:"[]"},{text:a.equal,value:"equal",example:"="},{text:a.textContains,value:"textContains",example:"()"},{text:a.occurrence,value:"occurrenceDate",example:a.yesterday},{text:a.duplicateValue,value:"duplicateValue",example:"##"}],y=e.createButtonMenu(g),v=_e(e.menu,{id:"highlightCellRule",item:y,subclass:"luckysheet-menuButton-sub"}),k=[{text:a.top10,value:"top10",example:a.top10},{text:a.top10_percent,value:"top10%",example:a.top10_percent},{text:a.last10,value:"last10",example:a.last10},{text:a.last10_percent,value:"last10%",example:a.last10_percent},{text:a.aboveAverage,value:"AboveAverage",example:a.above},{text:a.belowAverage,value:"SubAverage",example:a.below}],b=e.createButtonMenu(k),w=_e(e.menu,{id:"projectSelectRule",item:b,subclass:"luckysheet-menuButton-sub"}),x=`<div id="luckysheet-icon-dataBar-menuButton" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-menuButton luckysheet-menuButton-sub luckysheet-mousedown-cancel" style="width: 126px;padding: 5px;top: 118.5px;left: 1321.48px;display: none;">
  3016. <div itemvalue="0" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3017. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: 0 0;" title="${a.gradientDataBar_1}"></div>
  3018. </div>
  3019. <div itemvalue="1" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3020. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -38px 0;" title="${a.gradientDataBar_2}"></div>
  3021. </div>
  3022. <div itemvalue="2" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3023. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -76px 0;" title="${a.gradientDataBar_3}"></div>
  3024. </div>
  3025. <div itemvalue="3" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3026. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: 0 -36px;" title="${a.gradientDataBar_4}"></div>
  3027. </div>
  3028. <div itemvalue="4" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3029. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -38px -36px;" title="${a.gradientDataBar_5}"></div>
  3030. </div>
  3031. <div itemvalue="5" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3032. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -76px -36px;" title="${a.gradientDataBar_6}"></div>
  3033. </div>
  3034. <div itemvalue="6" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3035. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: 0 -72px;" title="${a.solidColorDataBar_1}"></div>
  3036. </div>
  3037. <div itemvalue="7" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3038. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -38px -72px;" title="${a.solidColorDataBar_2}"></div>
  3039. </div>
  3040. <div itemvalue="8" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3041. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -76px -72px;" title="${a.solidColorDataBar_3}"></div>
  3042. </div>
  3043. <div itemvalue="9" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3044. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: 0 -108px;" title="${a.solidColorDataBar_4}"></div>
  3045. </div>
  3046. <div itemvalue="10" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3047. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -38px -108px;" title="${a.solidColorDataBar_5}"></div>
  3048. </div>
  3049. <div itemvalue="11" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3050. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -76px -108px;" title="${a.solidColorDataBar_6}"></div>
  3051. </div>
  3052. </div>`,C=`<div id="luckysheet-icon-colorGradation-menuButton" class="luckysheet-cols-menu luckysheet-rightgclick-menu luckysheet-menuButton luckysheet-menuButton-sub luckysheet-mousedown-cancel" style="width: 126px;padding: 5px;top: 143.5px;left: 1321.48px;display: none;">
  3053. <div itemvalue="0" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3054. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: 0 0;" title="${a.colorGradation_1}"></div>
  3055. </div>
  3056. <div itemvalue="1" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3057. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -38px 0;" title="${a.colorGradation_2}"></div>
  3058. </div>
  3059. <div itemvalue="2" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3060. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -76px 0;" title="${a.colorGradation_3}"></div>
  3061. </div>
  3062. <div itemvalue="3" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3063. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -114px 0;" title="${a.colorGradation_4}"></div>
  3064. </div>
  3065. <div itemvalue="4" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3066. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: 0 -36px;" title="${a.colorGradation_5}"></div>
  3067. </div>
  3068. <div itemvalue="5" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3069. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -38px -36px;" title="${a.colorGradation_6}"></div>
  3070. </div>
  3071. <div itemvalue="6" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3072. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -76px -36px;" title="${a.colorGradation_7}"></div>
  3073. </div>
  3074. <div itemvalue="7" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3075. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -114px -36px;" title="${a.colorGradation_8}"></div>
  3076. </div>
  3077. <div itemvalue="8" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3078. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: 0 -72px;" title="${a.colorGradation_9}"></div>
  3079. </div>
  3080. <div itemvalue="9" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3081. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -38px -72px;" title="${a.colorGradation_10}"></div>
  3082. </div>
  3083. <div itemvalue="10" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3084. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -76px -72px;" title="${a.colorGradation_11}"></div>
  3085. </div>
  3086. <div itemvalue="11" class="luckysheet-cols-menuitem luckysheet-mousedown-cancel" style="width: 28px; height: 26px;padding: 5px;float: left;">
  3087. <div class="luckysheet-mousedown-cancel bgImgBox" style="background-position: -114px -72px;" title="${a.colorGradation_12}"></div>
  3088. </div>
  3089. </div>`,S=[{text:a.deleteSheetRule,value:"delSheet",example:""}],_=e.createButtonMenu(S),T=_e(e.menu,{id:"deleteRule",item:_,subclass:"luckysheet-menuButton-sub"});$("body").append(m+v+w+x+C+T),l=$("#"+t).width(190),$("#luckysheet-icon-highlightCellRule-menuButton").width(160),$("#luckysheet-icon-projectSelectRule-menuButton").width(180),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let A=$(this),R=A.attr("itemvalue");if(R=="icons"){if(h.luckysheet_select_save.length==0){de()?alert(a.pleaseSelectRange):U.info(a.pleaseSelectRange,"");return}Se.CFiconsDialog(),Se.init()}else if(R=="newRule"){if(h.luckysheet_select_save.length==0){de()?alert(a.pleaseSelectRange):U.info(a.pleaseSelectRange,"");return}Se.newConditionRuleDialog(0),Se.init()}else if(R=="administerRule"){let I=ne.loadSheetUrl,F=Lt();if(I!=""&&I!=null){let z=[];for(let M=0;M<F.length;M++)z.push(F[M].index);$.post(I,{gridKey:ne.gridKey,index:z.join(",")},function(M){let N=new Function("return "+M)();setTimeout(function(){h.loadingObj.close()},500);for(let E in N){if(E==h.currentSheetIndex)continue;let L=F[K(E)];L.celldata=N[E.toString()],L.data=ve.buildGridData(L)}Jn(F),Se.fileClone=$.extend(!0,[],F),Se.administerRuleDialog(),Se.init()})}else Se.fileClone=$.extend(!0,[],F),Se.administerRuleDialog(),Se.init()}}),$(document).off("click.CFhighlightCellRule").on("click.CFhighlightCellRule","#luckysheet-icon-highlightCellRule-menuButton .luckysheet-cols-menuitem",function(){l.hide(),$("#luckysheet-icon-highlightCellRule-menuButton").hide(),rt();let A=$(this),R=A.attr("itemvalue");if(h.luckysheet_select_save.length==0){de()?alert(a.pleaseSelectRange):U.info(a.pleaseSelectRange,"");return}else{let I=Se.textCellColorHtml(),F,z;switch(R){case"greaterThan":F=a.conditionformat_greaterThan,z=`<div class="box" data-itemvalue="greaterThan">
  3090. <div class="boxTitleOne">${a.conditionformat_greaterThan_title}\uFF1A</div>
  3091. <div class="inpbox range">
  3092. <input id="conditionVal" class="formulaInputFocus"/>
  3093. <i class="fa fa-table" aria-hidden="true" title="${a.selectCell}"></i>
  3094. </div>
  3095. <div style="margin: 5px 0;">${a.setAs}\uFF1A</div>
  3096. ${I}
  3097. </div>`;break;case"lessThan":F=a.conditionformat_lessThan,z=`<div class="box" data-itemvalue="lessThan">
  3098. <div class="boxTitleOne">${a.conditionformat_lessThan_title}\uFF1A</div>
  3099. <div class="inpbox range">
  3100. <input id="conditionVal" class="formulaInputFocus"/>
  3101. <i class="fa fa-table" aria-hidden="true" title="${a.selectCell}"></i>
  3102. </div>
  3103. <div style="margin: 5px 0;">${a.setAs}\uFF1A</div>
  3104. ${I}
  3105. </div>`;break;case"betweenness":F=a.conditionformat_betweenness,z=`<div class="box" data-itemvalue="betweenness">
  3106. <div class="boxTitleOne">${a.conditionformat_betweenness_title}\uFF1A</div>
  3107. <div style="height: 30px;line-height: 30px;">
  3108. <div class="inpbox2 range">
  3109. <input id="conditionVal" class="formulaInputFocus"/>
  3110. <i class="fa fa-table" aria-hidden="true" title="${a.selectCell}"></i>
  3111. </div>
  3112. <div style="float: left;height: 30px;line-height: 30px;margin: 0 5px;">${a.to}</div>
  3113. <div class="inpbox2 range">
  3114. <input id="conditionVal2" class="formulaInputFocus"/>
  3115. <i class="fa fa-table" aria-hidden="true" title="${a.selectCell}"></i>
  3116. </div>
  3117. </div>
  3118. <div style="margin: 5px 0;">${a.setAs}\uFF1A</div>
  3119. ${I}
  3120. </div>`;break;case"equal":F=a.conditionformat_equal,z=`<div class="box" data-itemvalue="equal">
  3121. <div class="boxTitleOne">${a.conditionformat_equal_title}\uFF1A</div>
  3122. <div class="inpbox range">
  3123. <input id="conditionVal" class="formulaInputFocus"/>
  3124. <i class="fa fa-table" aria-hidden="true" title="${a.selectCell}"></i>
  3125. </div>
  3126. <div style="margin: 5px 0;">${a.setAs}\uFF1A</div>
  3127. ${I}
  3128. </div>`;break;case"textContains":F=a.conditionformat_textContains,z=`<div class="box" data-itemvalue="textContains">
  3129. <div class="boxTitleOne">${a.conditionformat_textContains_title}\uFF1A</div>
  3130. <div class="inpbox range">
  3131. <input id="conditionVal" class="formulaInputFocus"/>
  3132. <i class="fa fa-table" aria-hidden="true" title="${a.selectCell}"></i>
  3133. </div>
  3134. <div style="margin: 5px 0;">${a.setAs}\uFF1A</div>
  3135. ${I}
  3136. </div>`;break;case"occurrenceDate":F=a.conditionformat_occurrenceDate,z=`<div class="box" data-itemvalue="occurrenceDate">
  3137. <div class="boxTitleOne">${a.conditionformat_occurrenceDate_title}\uFF1A</div>
  3138. <div class="inpbox">
  3139. <input id="daterange-btn" class="formulaInputFocus" readonly="readonly" placeholder="${a.pleaseSelectADate}"/>
  3140. </div>
  3141. <div style="margin: 5px 0;">${a.setAs}\uFF1A</div>
  3142. ${I}
  3143. </div>`;break;case"duplicateValue":F=a.conditionformat_duplicateValue,z=`<div class="box" data-itemvalue="duplicateValue">
  3144. <div class="boxTitleOne">${a.conditionformat_duplicateValue_title}\uFF1A</div>
  3145. <select id="conditionVal" class="selectbox">
  3146. <option value="0">${a.duplicateValue}</option>
  3147. <option value="1">${a.uniqueValue}</option>
  3148. </select>
  3149. <div style="margin:5px 0;">${a.setAs}\uFF1A</div>
  3150. ${I}
  3151. </div>`;break}Se.conditionformatDialog(F,z)}}),$(document).off("click.CFprojectSelectRule").on("click.CFprojectSelectRule","#luckysheet-icon-projectSelectRule-menuButton .luckysheet-cols-menuitem",function(){l.hide(),$("#luckysheet-icon-projectSelectRule-menuButton").hide(),rt();let A=$(this),R=A.attr("itemvalue");if(h.luckysheet_select_save.length==0){de()?alert(a.pleaseSelectRange):U.info(a.pleaseSelectRange,"");return}else{let I=Se.textCellColorHtml(),F,z;switch(R){case"top10":F=a.conditionformat_top10,z=`<div class="box" data-itemvalue="top10">
  3152. <div class="boxTitleOne">${a.conditionformat_top10_title}\uFF1A</div>
  3153. <div style="height: 30px;line-height: 30px;">
  3154. <div style="float: left;height: 30px;line-height: 30px;margin: 0 5px;">${a.top}</div>
  3155. <div class="inpbox2">
  3156. <input id="conditionVal" class="formulaInputFocus" type="number" value="10"/>
  3157. </div>
  3158. <div style="float: left;height: 30px;line-height: 30px;margin: 0 5px;">${a.oneself}</div>
  3159. </div>
  3160. <div style="margin: 5px 0;">${a.setAs}\uFF1A</div>
  3161. ${I}
  3162. </div>`;break;case"top10%":F=a.conditionformat_top10_percent,z=`<div class="box" data-itemvalue="top10%">
  3163. <div class="boxTitleOne">${a.conditionformat_top10_title}\uFF1A</div>
  3164. <div style="height: 30px;line-height: 30px;">
  3165. <div style="float: left;height: 30px;line-height: 30px;margin: 0 5px;">${a.top}</div>
  3166. <div class="inpbox2">
  3167. <input id="conditionVal" class="formulaInputFocus" type="number" value="10"/>
  3168. </div>
  3169. <div style="float: left;height: 30px;line-height: 30px;margin: 0 5px;">%</div>
  3170. </div>
  3171. <div style="margin: 5px 0;">${a.setAs}\uFF1A</div>
  3172. ${I}
  3173. </div>`;break;case"last10":F=a.conditionformat_last10,z=`<div class="box" data-itemvalue="last10">
  3174. <div class="boxTitleOne">${a.conditionformat_last10_title}\uFF1A</div>
  3175. <div style="height: 30px;line-height: 30px;">
  3176. <div style="float: left;height: 30px;line-height: 30px;margin: 0 5px;">${a.last}</div>
  3177. <div class="inpbox2">
  3178. <input id="conditionVal" class="formulaInputFocus" type="number" value="10"/>
  3179. </div>
  3180. <div style="float: left;height: 30px;line-height: 30px;margin: 0 5px;">${a.oneself}</div>
  3181. </div>
  3182. <div style="margin: 5px 0;">${a.setAs}\uFF1A</div>
  3183. ${I}
  3184. </div>`;break;case"last10%":F=a.conditionformat_last10_percent,z=`<div class="box" data-itemvalue="last10%">
  3185. <div class="boxTitleOne">${a.conditionformat_last10_title}\uFF1A</div>
  3186. <div style="height: 30px;line-height: 30px;">
  3187. <div style="float: left;height: 30px;line-height: 30px;margin: 0 5px;">${a.last}</div>
  3188. <div class="inpbox2">
  3189. <input id="conditionVal" class="formulaInputFocus" type="number" value="10"/>
  3190. </div>
  3191. <div style="float: left;height: 30px;line-height: 30px;margin: 0 5px;">%</div>
  3192. </div>
  3193. <div style="margin:5px 0;">\u8BBE\u7F6E\u4E3A\uFF1A</div>
  3194. ${I}
  3195. </div>`;break;case"AboveAverage":F=a.conditionformat_AboveAverage,z=`<div class="box" data-itemvalue="AboveAverage">
  3196. <div class="boxTitleOne">${a.conditionformat_AboveAverage_title}\uFF1A</div>
  3197. <div style="margin: 5px 0;">${a.setAsByArea}\uFF1A</div>
  3198. ${I}
  3199. </div>`;break;case"SubAverage":F=a.conditionformat_SubAverage,z=`<div class="box" data-itemvalue="SubAverage">
  3200. <div class="boxTitleOne">${a.conditionformat_SubAverage_title}\uFF1A</div>
  3201. <div style="margin: 5px 0;">${a.setAsByArea}\uFF1A</div>
  3202. ${I}
  3203. </div>`;break}Se.conditionformatDialog(F,z)}}),$(document).off("click.CFdataBar").on("click.CFdataBar","#luckysheet-icon-dataBar-menuButton .luckysheet-cols-menuitem",function(){l.hide(),$("#luckysheet-icon-dataBar-menuButton").hide(),rt();let A=$(this),R=A.attr("itemvalue");if(h.luckysheet_select_save.length>0){let I=$.extend(!0,[],h.luckysheet_select_save),F=Se.dataBarList[R].format;Se.updateItem("dataBar",I,F)}}),$(document).off("click.CFcolorGradation").on("click.CFcolorGradation","#luckysheet-icon-colorGradation-menuButton .luckysheet-cols-menuitem",function(){l.hide(),$("#luckysheet-icon-colorGradation-menuButton").hide(),rt();let A=$(this),R=A.attr("itemvalue");if(h.luckysheet_select_save.length>0){let I=$.extend(!0,[],h.luckysheet_select_save),F=Se.colorGradationList[R].format;Se.updateItem("colorGradation",I,F)}}),$(document).off("click.CFdeleteRule").on("click.CFdeleteRule","#luckysheet-icon-deleteRule-menuButton .luckysheet-cols-menuitem",function(){l.hide(),$("#luckysheet-icon-deleteRule-menuButton").hide(),rt(),$(this).attr("itemvalue")=="delSheet"&&Se.updateItem("delSheet")})}let o=$(this).outerWidth(),s=l.outerWidth(),u=$(this).offset().left;s>o&&s+u>$("#"+h.container).width()&&(u=u-s+o),ml(l,u,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-postil").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t),a=Q().comment;l.remove(),He.removeActivePs();let o=h.luckysheet_select_save[h.luckysheet_select_save.length-1],s=o.row_focus;s==null&&(s=o.row[0]);let u=o.column_focus;u==null&&(u=o.column[0]);let d;h.flowdata[s][u]!=null&&h.flowdata[s][u].ps!=null?d=[{text:a.edit,value:"editPs",example:""},{text:a.delete,value:"delPs",example:""},{text:"",value:"split",example:""},{text:a.showOne,value:"showHidePs",example:""},{text:a.showAll,value:"showHideAllPs",example:""}]:d=[{text:a.insert,value:"newPs",example:""},{text:"",value:"split",example:""},{text:a.showAll,value:"showHideAllPs",example:""}];let f=e.createButtonMenu(d),m=_e(e.menu,{id:"postil",item:f,subclass:"",sub:""});$("body").append(m),l=$("#"+t).width(150),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let k=$(this),b=k.attr("itemvalue");b=="newPs"?He.newPs(s,u):b=="editPs"?He.editPs(s,u):b=="delPs"?He.delPs(s,u):b=="showHidePs"?He.showHidePs(s,u):b=="showHideAllPs"&&He.showHideAllPs()});let g=$(this).outerWidth(),y=l.outerWidth(),v=$(this).offset().left;y>g&&y+v>$("#"+h.container).width()&&(v=v-y+g),ml(l,v,$(this).offset().top+25,"lefttop")}),$("#luckysheet-icon-protection").click(function(){let t=ve.getSheetByIndex();To(t)}),$("#luckysheet-icon-print").click(function(){let t=$(this).attr("id")+"-menuButton",l=$("#"+t),o=Q().print;if(l.length==0){let f=[{text:o.menuItemPrint,value:"print",example:'<i class="iconfont-luckysheet luckysheet-iconfont-dayin" aria-hidden="true"></i>'},{text:"",value:"split",example:""},{text:o.menuItemAreas,value:"areas",example:'<i class="iconfont-luckysheet luckysheet-iconfont-tihuan" aria-hidden="true"></i>'},{text:o.menuItemRows,value:"rows",example:'<i class="iconfont-luckysheet luckysheet-iconfont-zhuandao1" aria-hidden="true"></i>'},{text:o.menuItemColumns,value:"columns",example:'<i class="iconfont-luckysheet luckysheet-iconfont-dingwei" aria-hidden="true"></i>'}],m=e.createButtonMenu(f),g=_e(e.menu,{id:"print",item:m,subclass:"",sub:""});$("body").append(g),l=$("#"+t).width(180),l.find(".luckysheet-cols-menuitem").click(function(){l.hide(),rt();let y=$(this),v=y.attr("itemvalue");if(v=="print"){if(h.luckysheetPrint){luckysheetPrint=h.luckysheetPrint;let k=h.plugins.find(b=>b.name==="print");k&&k.config&&(luckysheetPrint.createDialog(),luckysheetPrint.init(k.config.license))}}else(v=="areas"||v=="rows"||v=="columns")&&alert("areas")})}let s=$(this).outerWidth(),u=l.outerWidth(),d=$(this).offset().left;u>s&&u+d>$("#"+h.container).width()&&(d=d-u+s),ml(l,d,$(this).offset().top+25,"lefttop")}),$("body").on("mouseover mouseleave",".luckysheet-menuButton .luckysheet-cols-submenu",function(t){let l=$(this),a=l.attr("itemvalue"),o=$("#luckysheet-icon-"+a+"-menuButton");if(t.type==="mouseover"){let s=l.parent(),u=$(window).width(),d=$(window).height(),f=s.width(),m=o.height()+25,g=o.width()+5,y=l.offset(),v=y.top,k=y.left+f;k+g>u&&(k=y.left-g),v+m>d&&(v=d-m),o.css({top:v,left:k}).show(),e.rightclickmenu=l}else clearTimeout(e.submenuhide[o.attr("id")]),e.submenuhide[o.attr("id")]=setTimeout(function(){o.hide()},200)}).on("mouseover mouseleave",".luckysheet-menuButton-sub",function(t){t.type==="mouseover"?(e.rightclickmenu.addClass("luckysheet-cols-menuitem-hover"),clearTimeout(e.submenuhide[$(this).attr("id")])):(e.rightclickmenu.removeClass("luckysheet-cols-menuitem-hover"),$(this).hide())})},getQKBorder:function(e,n,t){let l="";e.indexOf("pt")>-1?(e=parseFloat(e),e<1||(e<1.5?l="Medium":l="Thick")):(e=parseFloat(e),e<2||(e<3?l="Medium":l="Thick"));let a=0;return n=n.toLowerCase(),n=="double"?a=2:n=="dotted"?l=="Medium"||l=="Thick"?a=3:a=10:n=="dashed"?l=="Medium"||l=="Thick"?a=4:a=9:n=="solid"&&(l=="Medium"?a=8:l=="Thick"?a=13:a=1),[a,t]},updateFormatCell:function(e,n,t,l,a,o,s){if(!(e==null||n==null))if(n=="ct"){for(let u=l;u<=a;u++)if(!(h.config.rowhidden!=null&&h.config.rowhidden[u]!=null))for(let d=o;d<=s;d++){let f=e[u][d],m=null;P(f)=="object"?m=e[u][d].v:m=e[u][d],t!="@"&&B(m)&&(m=parseFloat(m));let g=_t(t,m),y="n";ef(t)||t===14||t===15||t===16||t===17||t===18||t===19||t===20||t===21||t===22||t===45||t===46||t===47?y="d":t=="@"||t===49?y="s":(t=="General"||t===0)&&(y=B(m)?"n":"g"),P(f)=="object"?(e[u][d].m=g,e[u][d].ct==null&&(e[u][d].ct={}),e[u][d].ct.fa=t,e[u][d].ct.t=y):e[u][d]={ct:{fa:t,t:y},v:m,m:g}}}else{n=="ht"?t=="left"?t="1":t=="center"?t="0":t=="right"&&(t="2"):n=="vt"?t=="top"?t="1":t=="middle"?t="0":t=="bottom"&&(t="2"):n=="tb"?t=="overflow"?t="1":t=="clip"?t="0":t=="wrap"&&(t="2"):n=="tr"&&(t=="none"?t="0":t=="angleup"?t="1":t=="angledown"?t="2":t=="vertical"?t="3":t=="rotation-up"?t="4":t=="rotation-down"&&(t="5"));for(let u=l;u<=a;u++)if(!(h.config.rowhidden!=null&&h.config.rowhidden[u]!=null))for(let d=o;d<=s;d++){let f=e[u][d];P(f)=="object"?(qd(f,n,t),e[u][d][n]=t):(e[u][d]={v:f},e[u][d][n]=t)}}},updateFormat:function(e,n,t){let l=this;if(!Rr(h.currentSheetIndex))return;if(!Pl()){U.info("",Q().pivotTable.errorNotAllowEdit);return}let o=document.createElement("canvas").getContext("2d");if(n in Od&&parseInt($("#luckysheet-input-box").css("top"))>0&&$("#luckysheet-input-box").text().substr(0,1)!="="){let f=e[h.luckysheetCellUpdate[0]][h.luckysheetCellUpdate[1]];Hd(f,n,t,p.rangeResizeTo)}let s=$.extend(!0,{},h.config);s.rowlen==null&&(s.rowlen={});for(let d=0;d<h.luckysheet_select_save.length;d++){let f=h.luckysheet_select_save[d].row[0],m=h.luckysheet_select_save[d].row[1],g=h.luckysheet_select_save[d].column[0],y=h.luckysheet_select_save[d].column[1];this.updateFormatCell(e,n,t,f,m,g,y),(n=="tb"||n=="tr"||n=="fs")&&(s=yl(e,f,m,s))}let u={};(n=="tb"||n=="tr"||n=="fs")&&(u={cfg:s,RowlChange:!0}),Ze(e,h.luckysheet_select_save,u,!1)},updateFormat_mc:function(e,n){var s;if(!Pl()){U.info("",Q().pivotTable.errorNotAllowEdit);return}let t=$.extend(!0,{},h.config);if(t.merge==null&&(t.merge={}),!Ur(h.currentSheetIndex))return;if(n=="mergeCancel")for(let u=0;u<h.luckysheet_select_save.length;u++){let d=h.luckysheet_select_save[u],f=d.row[0],m=d.row[1],g=d.column[0],y=d.column[1];if(f==m&&g==y)continue;let v={};for(let k=f;k<=m;k++)for(let b=g;b<=y;b++){let w=e[k][b];if(w!=null&&w.mc!=null){let x=w.mc.r,C=w.mc.c;if("rs"in w.mc)delete w.mc,delete t.merge[x+"_"+C],v[x+"_"+C]=$.extend(!0,{},w);else{let S=JSON.parse(JSON.stringify(v[x+"_"+C]));delete S.v,delete S.m,delete S.ct,delete S.f,delete S.spl,e[k][b]=S}}}}else{let u=!1;for(let d=0;d<h.luckysheet_select_save.length;d++){let f=h.luckysheet_select_save[d],m=f.row[0],g=f.row[1],y=f.column[0],v=f.column[1];for(let k=m;k<=g;k++)for(let b=y;b<=v;b++){let w=e[k][b];if(P(w)=="object"&&"mc"in w){u=!0;break}}}if(u)for(let d=0;d<h.luckysheet_select_save.length;d++){let f=h.luckysheet_select_save[d],m=f.row[0],g=f.row[1],y=f.column[0],v=f.column[1];if(m==g&&y==v)continue;let k={};for(let b=m;b<=g;b++)for(let w=y;w<=v;w++){let x=e[b][w];if(x!=null&&x.mc!=null){let C=x.mc.r,S=x.mc.c;if("rs"in x.mc)delete x.mc,delete t.merge[C+"_"+S],k[C+"_"+S]=$.extend(!0,{},x);else{let _=JSON.parse(JSON.stringify(k[C+"_"+S]));delete _.v,delete _.m,delete _.ct,delete _.f,delete _.spl,e[b][w]=_}}}}else for(let d=0;d<h.luckysheet_select_save.length;d++){let f=h.luckysheet_select_save[d],m=f.row[0],g=f.row[1],y=f.column[0],v=f.column[1];if(!(m==g&&y==v)){if(n=="mergeAll"){let k={},b=!1;for(let w=m;w<=g;w++)for(let x=y;x<=v;x++){let C=e[w][x];C!=null&&(za(C.ct)||!fe(C.v)||C.f!=null)&&!b&&(k=$.extend(!0,{},C),b=!0),e[w][x]={mc:{r:m,c:y}}}e[m][y]=k,e[m][y].mc={r:m,c:y,rs:g-m+1,cs:v-y+1},t.merge[m+"_"+y]={r:m,c:y,rs:g-m+1,cs:v-y+1}}else if(n=="mergeV")for(let k=y;k<=v;k++){let b={},w=!1;for(let x=m;x<=g;x++){let C=e[x][k];C!=null&&(!fe(C.v)||C.f!=null)&&!w&&(b=$.extend(!0,{},C),w=!0),e[x][k]={mc:{r:m,c:k}}}e[m][k]=b,e[m][k].mc={r:m,c:k,rs:g-m+1,cs:1},t.merge[m+"_"+k]={r:m,c:k,rs:g-m+1,cs:1}}else if(n=="mergeH")for(let k=m;k<=g;k++){let b={},w=!1;for(let x=y;x<=v;x++){let C=e[k][x];C!=null&&(!fe(C.v)||C.f!=null)&&!w&&(b=$.extend(!0,{},C),w=!0),e[k][x]={mc:{r:k,c:y}}}e[k][y]=b,e[k][y].mc={r:k,c:y,rs:1,cs:v-y+1},t.merge[k+"_"+y]={r:k,c:y,rs:1,cs:v-y+1}}}}}let l=h.luckysheetfile[K(h.currentSheetIndex)],a=(s=l.calcChain)==null?void 0:s.filter(({r:u,c:d})=>{var f;return(f=e[u][d])==null?void 0:f.f}),o=l.hyperlink&&Object.fromEntries(Object.entries(l.hyperlink).filter(([u])=>{var m;let[d,f]=u.split("_");return(m=e[d][f])==null?void 0:m.v}));h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"mergeChange",sheetIndex:h.currentSheetIndex,data:h.flowdata,curData:e,range:$.extend(!0,[],h.luckysheet_select_save),config:$.extend(!0,{},h.config),curConfig:t,calc:l.calcChain,curCalc:a,hyperlink:l.hyperlink,curHyperlink:o})),h.clearjfundo=!1,Ze(e,h.luckysheet_select_save,{cfg:t,calc:a,hyperlink:o}),h.clearjfundo=!0},borderfix:function(e,n,t){let l=e[n][t],a=null;return l==null?[-1,0,0,-1]:e[n][t].bg==null||e[n][t].bg==""?[-1,0,0,-1]:[-2,-1,1,0]},changeMenuButtonDom:function(e,n,t){let l=this;t==null&&(t=Q());let a=t.fontarray,o=t.fontjson;if(e=="bl")n!="0"?$("#luckysheet-icon-bold").addClass("luckysheet-toolbar-button-hover"):$("#luckysheet-icon-bold").removeClass("luckysheet-toolbar-button-hover");else if(e=="it")n!="0"?$("#luckysheet-icon-italic").addClass("luckysheet-toolbar-button-hover"):$("#luckysheet-icon-italic").removeClass("luckysheet-toolbar-button-hover");else if(e=="cl")n!="0"?$("#luckysheet-icon-strikethrough").addClass("luckysheet-toolbar-button-hover"):$("#luckysheet-icon-strikethrough").removeClass("luckysheet-toolbar-button-hover");else if(e=="un")n!="0"?$("#luckysheet-icon-underline").addClass("luckysheet-toolbar-button-hover"):$("#luckysheet-icon-underline").removeClass("luckysheet-toolbar-button-hover");else if(e=="ff"){let s="luckysheet-icon-font-family-menuButton",u=$("#"+s),d=a[0],f=0;n!=null&&(zn(n).num?(f=parseInt(n),d=a[f],d==null&&(f=l.defualtFont[f],d=f,f!=null&&l.addFontTolist(f))):(n=n.replace(/"/g,"").replace(/'/g,""),f=n,d=n,l.addFontTolist(f))),l.focus(u,f),$("#luckysheet-icon-font-family").find(".luckysheet-toolbar-menu-button-caption").html(" "+d+" ")}else if(e=="fs"){let s=$("#luckysheet-icon-font-size-menuButton"),u=n,d=$("#luckysheet-icon-font-size input");l.focus(s,u),$("#luckysheet-icon-font-size").attr("itemvalue",u),d.val(u)}else if(e=="ht"){let s=$("#luckysheet-icon-align-menu-menuButton"),u=$("luckysheet-icon-align"),d="left";n=="0"?d="center":n=="2"&&(d="right"),l.focus(s,d);let f=en.align;$("#luckysheet-icon-align").attr("type",d).find(".luckysheet-icon-img-container").removeAttr("class").addClass("luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-align-"+d+f[d]),s.hide()}else if(e=="vt"){let s=$("#luckysheet-icon-valign-menu-menuButton"),u=$("luckysheet-icon-valign"),d="bottom";n=="1"?d="top":n=="0"&&(d="middle"),l.focus(s,d);let f=en.align;$("#luckysheet-icon-valign").attr("type",d).find(".luckysheet-icon-img-container").removeAttr("class").addClass("luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-valign-"+d+f[d]),s.hide()}else if(e=="tb"){let s=$("#luckysheet-icon-textwrap-menu-menuButton"),u=$("luckysheet-icon-textwrap"),d="clip";n=="1"?d="overflow":n=="2"&&(d="wrap"),l.focus(s,d);let f=en.textWrap;$("#luckysheet-icon-textwrap").attr("type",d).find(".luckysheet-icon-img-container").removeAttr("class").addClass("luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-textwrap-"+d+f[d]),s.hide()}else if(e=="tr"){let s=$("#luckysheet-icon-rotation-menu-menuButton"),u=$("luckysheet-icon-rotation"),d="none";n=="1"?d="angleup":n=="2"?d="angledown":n=="3"?d="vertical":n=="4"?d="rotation-up":n=="5"&&(d="rotation-down"),l.focus(s,d);let f=en.rotation;$("#luckysheet-icon-rotation").attr("type",d).find(".luckysheet-icon-img-container").removeAttr("class").addClass("luckysheet-icon-img-container luckysheet-icon-img luckysheet-icon-rotation-"+d+f[d]),s.hide()}else if(e=="ct"){let s=$("#luckysheet-icon-fmt-other"),d=Q().defaultFmt;if(!n){s.find(".luckysheet-toolbar-menu-button-caption").html(" "+d[0].text+" ");return}let{fa:f}=n,m=d.find(g=>g.value===f);if(m)s.find(".luckysheet-toolbar-menu-button-caption").html(" "+m.text+" ");else{let g=d.find(y=>y.value==="fmtOtherSelf");s.find(".luckysheet-toolbar-menu-button-caption").html(" "+g.text+" ")}}},inputMenuButtonFocus:function(e){var n=window.getSelection(),t=n.getRangeAt(0);let l=t.startContainer;h.inlineStringEditRange=null;let a=Q();if(l.parentNode.tagName=="SPAN"){let o=l.parentNode.style.cssText,s=Vs(o);for(let u in s)this.changeMenuButtonDom(u,s[u],a)}},menuButtonFocus:function(e,n,t){let l=this,a=["bl","it","cl","ff","ht","vt","fs","tb","tr","ct","un"],o=Q();for(let s=0;s<a.length;s++){let u=a[s],d=l.checkstatus(e,n,t,u);this.changeMenuButtonDom(u,d,o)}},checkstatus:function(e,n,t,l){if(e==null||e[n]==null)return console.warn("It's incorrect data",n,t),null;let a=e[n][t];return Sr(a,l)},setLineDash:function(e,n,t,l,a,o,s){n={"0":"none","1":"Thin","2":"Hair","3":"Dotted","4":"Dashed","5":"DashDot","6":"DashDotDot","7":"Double","8":"Medium","9":"MediumDashed","10":"MediumDashDot","11":"MediumDashDotDot","12":"SlantedDashDot","13":"Thick"}[n.toString()];try{n=="Hair"?e.setLineDash([1,2]):n.indexOf("DashDotDot")>-1?e.setLineDash([2,2,5,2,2]):n.indexOf("DashDot")>-1?e.setLineDash([2,5,2]):n.indexOf("Dotted")>-1?e.setLineDash([2]):n.indexOf("Dashed")>-1?e.setLineDash([3]):e.setLineDash([0])}catch(d){console.log(d)}e.beginPath(),n.indexOf("Medium")>-1?(t=="h"?(e.moveTo(l,a-.5),e.lineTo(o,s-.5)):(e.moveTo(l-.5,a),e.lineTo(o-.5,s)),e.lineWidth=2):n=="Thick"?(e.moveTo(l,a),e.lineTo(o,s),e.lineWidth=3):(e.moveTo(l,a),e.lineTo(o,s),e.lineWidth=1)},moveMergeData:function(e,n,t){if(fe(e))return e;let l=[],a=[],o=!1;for(let s=0;s<e.length;s++)for(let u=0;u<e[0].length;u++){let d=e[s][u];P(d)=="object"&&"mc"in d&&(d.mc.rs!=null&&(l.push({rs:d.mc.rs,cs:d.mc.cs,r:d.mc.r,c:d.mc.c}),a.push({rs:d.mc.rs,cs:d.mc.cs,r:d.mc.r+n,c:d.mc.c+t}),o=!0),e[s][u].mc.r+=n,e[s][u].mc.c+=t)}return{deleMC:l,insertMC:a,hasMC:o}},getRangeInMerge:function(e,n,t,l,a){let o=this,s=[],u=null;if(a!=null?u=$.extend(!0,{},o.getSheetConfig()):u=$.extend(!0,{},h.config),u!=null&&u.merge!=null)for(let d in u.merge){let f=u.merge[d];!(e+n-1<f.r||e>f.r+f.rs-1)&&!(t+l-1<f.c||t>f.c+f.cs-1)&&s.push(f)}return s},mergeborer:function(e,n,t){if(e==null||e[n]==null)return console.warn("Merge info is null",n,t),null;let l=e[n][t];if(P(l)=="object"&&"mc"in l){let a=l.mc;if(a==null)return console.warn("Merge info is null",n,t),null;if(t=a.c,n=a.r,e[n][t]==null)return console.warn("Main merge Cell info is null",n,t),null;let o=e[n][t].mc.cs,s=e[n][t].mc.rs,u=e[n][t].mc,d,f,m,g;for(let w=n;w<u.rs+n;w++)w==0?d=-1:d=h.visibledatarow[w-1]-1,f=h.visibledatarow[w],g==null?(g=d,m=f):m+=f-d-1;let y,v,k,b;for(let w=t;w<u.cs+t;w++)w==0?y=0:y=h.visibledatacolumn[w-1],v=h.visibledatacolumn[w],b==null?(b=y,k=v):k+=v-y;return{row:[g,m,n,n+s-1],column:[b,k,t,t+o-1]}}else return null},mergeMoveData:{},mergeMoveMain:function(e,n,t,l,a,o,s){let u=this,d=ve.getSheetMerge();if(d==null)return;let f=[];for(let g in d)f.push(g);n[0]>n[1]&&(n[1]=n[0]),e[0]>e[1]&&(e[1]=e[0]);let m=!0;for(u.mergeMoveData={};m;){m=!1;for(let g=0;g<f.length;g++){let y=f[g],v=d[y];if(y in u.mergeMoveData)continue;let k=u.mergeMove(v,e,n,t,l,a,o,s);k!=null?(u.mergeMoveData[y]=v,e=k[0],n=k[1],l=k[2],a=k[3],o=k[4],s=k[5],m=!0):delete u.mergeMoveData[y]}}return[e,n,l,a,o,s]},mergeMove:function(e,n,t,l,a,o,s,u){let d=this,f=e.r,m=e.r+e.rs-1,g=e.c,y=e.c+e.cs-1,v=!1;if(n[1]<n[0]&&(n[0]=n[1]),t[1]<t[0]&&(t[0]=t[1]),n[0]<=g&&n[1]>=y&&t[0]<=f&&t[1]>=m||!(n[1]<g||n[0]>y)&&!(t[1]<f||t[0]>m)){let k=d.mergeborer(h.flowdata,e.r,e.c);if(k){let b=k.row[1],w=k.row[0],x=k.row[2],C=k.column[1],S=k.column[0],_=k.column[2];n[1]<g||n[0]>y||(t[0]<=m&&t[0]>=f&&(o+=a-w,a=w,t[0]=f),t[1]>=f&&t[1]<=m&&(l.row_focus>=f&&l.row_focus<=m,o=b-a,t[1]=m)),t[1]<f||t[0]>m||(n[0]<=y&&n[0]>=g&&(u+=s-S,s=S,n[0]=g),n[1]>=g&&n[1]<=y&&(l.column_focus>=g&&l.column_focus<=y,u=C-s,n[1]=y)),v=!0}}return v?[n,t,a,o,s,u]:null},getCellRealSize:function(e,n,t){let l=this,a=h.defaultcollen,o=h.defaultrowlen,s=e[n][t];if(!!s&&s.mc!=null){let u=s.mc,d=l.mergeborer(e,u.r,u.c);if(d){let f=d.row[1],m=d.row[0],g=d.row[2],y=d.row[3],v=d.column[1],k=d.column[0],b=d.column[2],w=d.column[3];a=v-k-1,o=f-m-1}}else{let u=Lt()[K(h.currentSheetIndex)].config;u.columnlen!=null&&u.columnlen[t]!=null&&(a=u.columnlen[t]),u.rowlen!=null&&u.rowlen[n]!=null&&(o=u.rowlen[n])}return[a,o]},getTextHeightCache:{},getTextSize:function(e,n){let t=Q().fontarray,l=n||"10pt "+t[0],a=this;if(l in a.getTextHeightCache)return a.getTextHeightCache[l];$("#luckysheetTextSizeTest").length==0&&$('<span id="luckysheetTextSizeTest" style="float:left;white-space:nowrap;visibility:hidden;margin:0;padding:0;">'+e+"</span>").appendTo($("body"));let o=$("#luckysheetTextSizeTest").text(e).css({font:l}),s=o.innerWidth(),u=o.innerHeight();return a.getTextHeightCache[l]=[s,u],[s,u]},activeFormulaInput:function(e,n,t,l,a,o){let s=this;if(o==null&&(o=!1),Dl(e,n,h.flowdata,!0),o){let y='<span dir="auto" class="luckysheet-formula-text-color">=</span><span dir="auto" class="luckysheet-formula-text-color">'+a.toUpperCase()+'</span><span dir="auto" class="luckysheet-formula-text-color">(</span><span dir="auto" class="luckysheet-formula-text-color">)</span>';$("#luckysheet-rich-text-editor").html(y);let v=window.getSelection(),k=$("#luckysheet-rich-text-editor").find("span");p.setCaretPosition(k.get(k.length-2),0,1);return}let u=rl(t[0])[0],d=rl(t[1])[1],f=Mt(l[0])[0],m=Mt(l[1])[1],g='<span dir="auto" class="luckysheet-formula-text-color">=</span><span dir="auto" class="luckysheet-formula-text-color">'+a.toUpperCase()+'</span><span dir="auto" class="luckysheet-formula-text-color">(</span><span class="luckysheet-formula-functionrange-cell" rangeindex="0" dir="auto" style="color:'+Yl[0]+';">'+wt(h.currentSheetIndex,{row:t,column:l},h.currentSheetIndex)+'</span><span dir="auto" class="luckysheet-formula-text-color">)</span>';$("#luckysheet-rich-text-editor").html(g),p.israngeseleciton(),p.rangestart=!0,p.rangedrag_column_start=!1,p.rangedrag_row_start=!1,p.rangechangeindex=0,p.rangeSetValue({row:t,column:l}),p.func_selectedrange={left:f,width:m-f-1,top:u,height:d-u-1,left_move:f,width_move:m-f-1,top_move:u,height_move:d-u-1,row:[e,e],column:[n,n]},$("#luckysheet-formula-functionrange-select").css({left:f,width:m-f-1,top:u,height:d-u-1}).show(),$("#luckysheet-formula-help-c").hide()},backFormulaInput:function(e,n,t,l,a,o){let s=this,u="="+o.toUpperCase()+"("+wt(h.currentSheetIndex,{row:l,column:a},h.currentSheetIndex)+")",d=p.execfunction(u,n,t),f={v:d[1],f:d[2]};Ft(n,t,e,f),p.execFunctionExist.push({r:n,c:t,i:h.currentSheetIndex}),h.luckysheet_select_save.push({row:[n,n],column:[t,t]}),ne.historyParam(e,h.currentSheetIndex,{row:[n,n],column:[t,t]})},checkNoNullValue:function(e){let n=e;return P(n)=="object"&&(n=n.v),!!(!fe(n)&&zn(n).num&&(e.ct==null||e.ct.t==null||e.ct.t=="n"||e.ct.t=="g"))},checkNoNullValueAll:function(e){let n=e;return P(n)=="object"&&(n=n.v),!fe(n)},getNoNullValue:function(e,n,t,l){let a=this,o=0,s=null,u=0,d=0;for(let f=t-1;f>=0;f--){let m;if(l=="c"?m=e[n][f]:m=e[f][n],a.checkNoNullValue(m))o++,s=f;else if(m==null||m.v==null||m.v==""){if(u++,u>=40)if(d<=0)d=1;else break}else break}return s},singleFormulaInput:function(e,n,t,l,a,o,s,u,d){let f=this;s==null&&(s="r"),u==null&&(u=!0),d==null&&(d=!0);let m=!0,g=!1;for(let y=l;y<=a;y++){let v=null;s=="c"?v=e[y][t]:v=e[t][y],f.checkNoNullValue(v)?(m=!1,g=!0):f.checkNoNullValueAll(v)&&(m=!1)}if(m&&d)if(f.getNoNullValue(e,n,t,s)==null)s=="c"?f.activeFormulaInput(n,t,null,null,o,!0):f.activeFormulaInput(t,n,null,null,o,!0);else if(n==l)for(let v=l;v<=a;v++){let k=f.getNoNullValue(e,v,t,s);if(k==null)break;s=="c"?f.backFormulaInput(e,v,t,[v,v],[k,t-1],o):f.backFormulaInput(e,t,v,[k,t-1],[v,v],o)}else for(let v=a;v>=l;v--){let k=f.getNoNullValue(e,v,t,s);if(k==null)break;s=="c"?f.backFormulaInput(e,v,t,[v,v],[k,t-1],o):f.backFormulaInput(e,t,v,[k,t-1],[v,v],o)}else if(g&&u){let y=null;if(s=="c"?y=e[a+1][t]:y=e[t][a+1],y!=null&&y.v!=null&&y.v.toString().length>0){let v=a+1;for(s=="c"?y=e[a+1][t]:y=e[t][a+1];y!=null&&y.v!=null&&y.v.toString().length>0;){v++;let k=null;if(s=="c"?k=e.length:k=e[0].length,v>=k)return;s=="c"?y=e[v][t]:y=e[t][v]}s=="c"?f.backFormulaInput(e,v,t,[l,a],[t,t],o):f.backFormulaInput(e,t,v,[t,t],[l,a],o)}else s=="c"?f.backFormulaInput(e,a+1,t,[l,a],[t,t],o):f.backFormulaInput(e,t,a+1,[t,t],[l,a],o)}else return!0},autoSelectionFormula:function(e){let n=this,t=we.deepCopyFlowData(h.flowdata),l=40,a=!0,o=h.luckysheet_select_save.length;p.execFunctionExist=[];let s=function(d,f,m,g,y,v){let k=n.getNoNullValue(d,f,y,"c");k==null?n.activeFormulaInput(f,g,null,null,v,!0):n.activeFormulaInput(f,g,[f,m],[k,y-1],v)},u=function(d,f,m,g,y,v){let k=n.getNoNullValue(d,g,m,"r");k==null?s(d,f,m,g,y,v):n.activeFormulaInput(f,g,[k,m-1],[g,y],v)};for(let d=0;d<o;d++){let f=h.luckysheet_select_save[d].row[0],m=h.luckysheet_select_save[d].row[1],g=h.luckysheet_select_save[d].column[0],y=h.luckysheet_select_save[d].column[1],v=h.luckysheet_select_save[d].row_focus,k=h.luckysheet_select_save[d].column_focus;if(f==m&&g==y){if(m-1<0&&y-1<0){n.activeFormulaInput(f,g,null,null,e,!0);return}m-1>=0&&n.checkNoNullValue(t[m-1][g])?u(t,f,m,g,y,e):y-1>=0&&n.checkNoNullValue(t[f][y-1])?s(t,f,m,g,y,e):u(t,f,m,g,y,e)}else if(f==m)a=n.singleFormulaInput(t,k,f,g,y,e,"r");else if(g==y)a=n.singleFormulaInput(t,v,g,f,m,e,"c");else{let b=!0;for(let x=f;x<=m;x++)b=n.singleFormulaInput(t,k,x,g,y,e,"r",!0,!1)&&b;let w=!0;for(let x=g;x<=y;x++)w=n.singleFormulaInput(t,v,x,f,m,e,"c",!0,!1)&&w;a=!!b&&!!w}a=a&&a}a||(p.execFunctionExist.reverse(),p.execFunctionGroup(null,null,null,null,t),Ze(t,h.luckysheet_select_save),clearTimeout(h.jfcountfuncTimeout),h.jfcountfuncTimeout=setTimeout(function(){wl()},500))},getStyleByCell:function(e,n,t){let l=this,a="",o=el.getComputeMap(),s=el.checksAF(n,t,o),u=Se.getComputeMap(),d=Se.checksCF(n,t,u),f=Q().fontarray,m=e[n][t],g=m.ct,y=!1;xl(m)&&(y=!0);for(let v in m){let k=l.checkstatus(e,n,t,v);(s!=null||d!=null&&d.cellColor!=null)&&(d!=null&&d.cellColor!=null?a+="background: "+d.cellColor+";":s!=null&&(a+="background: "+s[1]+";")),P(k)!="object"&&((v=="bg"||s!=null||d!=null&&d.cellColor!=null)&&(d!=null&&d.cellColor!=null?a+="background: "+d.cellColor+";":s!=null?a+="background: "+s[1]+";":a+="background: "+k+";"),v=="ht"&&k!="1"&&(k=="0"?a+="text-align: center;":k=="2"&&(a+="text-align: right;")),v=="vt"&&(k=="0"?a+="vertical-align: middle;":k=="1"?a+="vertical-align: top;":k=="2"&&(a+="vertical-align: bottom;")),v=="un"&&k&&(a+="text-decoration:underline;"))}return y||(a+=Ii(m,s,d)),a},fontSelectList:[],defualtFont:["Times New Roman","Arial","Tahoma","Verdana","\u5FAE\u8F6F\u96C5\u9ED1","\u5B8B\u4F53","\u9ED1\u4F53","\u6977\u4F53","\u4EFF\u5B8B","\u65B0\u5B8B\u4F53","\u534E\u6587\u65B0\u9B4F","\u534E\u6587\u884C\u6977","\u534E\u6587\u96B6\u4E66"],addFontTolist:function(e){e=e.replace(/"/g,"").replace(/'/g,"");let n=!0;for(let a=0;a<this.fontSelectList.length;a++)if(this.fontSelectList[a].value==e){n=!1;break}let l=Q().fontjson;if(e in l&&(n=!1),n){let a={};a.value=e,a.index=this.fontSelectList.length,a.type="userDefined",a.text="<span class='luckysheet-mousedown-cancel' style='font-size:11px;font-family:"+e+"'>"+e+"</span>",a.example="",this.fontSelectList.push(a);let o=$("#luckysheet-icon-font-family-menuButton"),s=this.createButtonMenu(this.fontSelectList);o.html(s)}},fontInitial:function(e){let n=[],t=Q().fontarray;for(let l=0;l<t.length;l++){let a=t[l],o={};o.value=a,o.index=l,o.type="inner",o.text="<span class='luckysheet-mousedown-cancel' style='font-size:11px;font-family:"+a+"'>"+a+"</span>",o.example="",n.push(o)}if(e!=null){for(let l=0;l<e.length;l++){let a=e[l],o={};if(o.value=a.fontName,o.index=l,o.type="userDefined",o.text="<span class='luckysheet-mousedown-cancel' style='font-size:11px;font-family:"+a.fontName+"'>"+a.fontName+"</span>",o.example="",n.push(o),document.fonts&&!document.fonts.check("12px "+a.fontName)&&a.url){let s=new FontFace(a.fontName,`url(${a.url})`);document.fonts.add(s),s.load()}}document.fonts&&document.fonts.ready.then(function(){})}this.fontSelectList=n}},be=zy});function Jc(e,n){let t={};for(let l in e)t[l]=e[l];for(let l in n)n[l]!=null&&(t[l]=n[l]);return t}function _e(e,n){return e.replace(/\$\{([\w]+)\}/g,function(t,l){let a=n[l];return typeof a!="undefined"?a:t})}function P(e){return{"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Undefined]":"undefined","[object Null]":"null","[object Object]":"object"}[Object.prototype.toString.call(e)]}function Xo(e){let n=new Date,t=n.getFullYear(),l=n.getMonth(),a=n.getDate(),o=n.getDay(),s=n.getHours(),u=n.getMinutes(),d=n.getSeconds();l=l+1,l<10&&(l="0"+l),a<10&&(a="0"+a),s<10&&(s="0"+s),u<10&&(u="0"+u),d<10&&(d="0"+d);let f="";return e==1?f=t+"-"+l+"-"+a:e==2&&(f=t+"-"+l+"-"+a+" "+s+":"+u+":"+d),f}function Ln(e){let n;e.indexOf("rgba")>-1?n=e.replace("rgba(","").replace(")","").split(","):n=e.replace("rgb(","").replace(")","").split(",");let t=parseInt(n[0]),l=parseInt(n[1]),a=parseInt(n[2]);return"#"+((1<<24)+(t<<16)+(l<<8)+a).toString(16).slice(1)}function hl(e){if(e==null||e.length==0)return NaN;for(var n=e.toLowerCase().split(""),t=0,l=n.length,a=function(d){return d.charCodeAt()-96},o=0,s=0,u=0;u<l;u++)s=a(n[u]),o+=s*Math.pow(26,l-u-1);return o==0?NaN:o-1}function lt(e){for(var n="a".charCodeAt(0),t="z".charCodeAt(0),l=t-n+1,a="";e>=0;)a=String.fromCharCode(e%l+n)+a,e=Math.floor(e/l)-1;return a.toUpperCase()}function va(e,n){if(n===0)return"";if(e==null)return 0;let t=0;for(let l=0;l<e.length;l++)if(e.charAt(l).match(/[^\x00-\xff]/gi)!=null?t+=2:t+=1,B(n)&&t===~~n)return e.substring(0,l);return t}function Qc(e){let n=[],t={};if(e.length>0)for(let l=0;l<e.length;l++){let a=e[l];t[a]||(n.push(a),t[a]=1)}return n}function sa(e){let n=Q().fontarray;if(P(e)=="object"){let t="";if(e.it=="0"||e.it==null?t+="normal ":t+="italic ",t+="normal ",e.bl=="0"||e.bl==null?t+="normal ":t+="bold ",e.fs?t+=Math.ceil(e.fs)+"pt ":t+=h.defaultFontSize+"pt ",!e.ff)t+=n[0]+', "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif';else{let l=null,a=Q().fontjson;zn(e.ff).num?l=n[parseInt(e.ff)]:(l=e.ff,l=l.replace(/"/g,"").replace(/'/g,""),l.indexOf(" ")>-1&&(l='"'+l+'"'),l!=null&&document.fonts&&!document.fonts.check("12px "+l)&&be.addFontTolist(l)),l==null&&(l=n[0]),t+=l+', "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif'}return t}else return Zn()}function un(e,n,t){let l=$(window).height(),a=$(window).width(),o=e.width(),s=e.height(),u=t,d=n;n+o>a&&(d=n-o),t+s>l&&(u=t-s),u<0&&(u=0),e.css({top:u,left:d}).show()}function Fr(){h.fullscreenmode&&setTimeout(function(){document.getElementById("luckysheet-rich-text-editor").focus({preventScroll:!0}),$("#luckysheet-rich-text-editor").select()},50)}function rt(){document.getElementById(h.container).focus({preventScroll:!0})}function Al(e,n){if(e==null||isNaN(parseFloat(e))||$n(e)||e==-Infinity||e==Infinity)return null;let t=6,l=!1;n==null||n=="auto"?e<1?t=6:t=1:tr(n)=="num"?(t=parseInt(n),l=!0):t=6;let a="",o=null;for(let s=0;s<t;s++)a+="0";return l||(a="["+a+"]"),e>=1e21?o=parseFloat((0,Yo.default)(e).value()):o=parseFloat((0,Yo.default)(e).format("0."+a)),o}function uc(e){if(e!=null&&!isNaN(parseFloat(e))&&!$n(e)){let t=(0,Yo.default)(e).value().toString().split(".");return t.length==1?t=0:t=t[1].length,t}else return null}function ml(e,n,t,l){let a=$(window).height(),o=$(window).width(),s=e.width(),u=e.height(),d=t,f=n;l==null&&(l="lefttop"),l=="lefttop"?e.css({top:t,left:n}).show():l=="righttop"?e.css({top:t,left:n-s}).show():l=="leftbottom"?e.css({bottom:a-t-12,left:n}).show():l=="rightbottom"&&e.css({bottom:a-t-12,left:n-s}).show()}function We(e,n){n=n||document;var t=n.querySelectorAll(e);return t.length==1?Array.prototype.slice.call(t)[0]:Array.prototype.slice.call(t)}function Hf(e,n,t){if(typeof e!="object")var e=[e];var l=document.getElementsByTagName("head")[0]||document.documentElement,a=[],o=e.length-1,s=function(u){if(a[u]=document.createElement("script"),a[u].setAttribute("type","text/javascript"),a[u].onload=a[u].onreadystatechange=function(){this.onload=this.onreadystatechange=null,this.parentNode.removeChild(this),u!==o?s(u+1):typeof t=="function"&&t()},a[u].setAttribute("src",e[u]),typeof n=="object")for(var d in n)a[u].setAttribute(d,n[d]);l.appendChild(a[u])};s(0)}function Oy(e){var n=document,t=n.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("type","text/css"),t.setAttribute("href",e);var l=n.getElementsByTagName("head");l.length?l[0].appendChild(t):n.documentElement.appendChild(t)}function Vf(e){typeof e!="object"&&(e=[e]),e.length&&e.forEach(n=>{Oy(n)})}function pf(e){if(e==null||e.length==0)return null;let n=e.split(","),t="";for(let l=0;l<n.length;l++){let o=n[l].split("!"),s="",u="";o.length>1?(s=o[0],u=o[1]):u=o[0];let d=u.split(":"),f="";for(let m=0;m<d.length;m++){let g=d[m],y=g.replace(/[^0-9]/g,""),v=g.replace(/[^A-Za-z]/g,""),k="";v!=""&&(k+="$"+v),y!=""&&(k+="$"+y),f+=k+":"}f=f.substr(0,f.length-1),t+=s+f+","}return t.substr(0,t.length-1)}function ma(e,n=!0){let t=$("#"+e).find(".luckysheet-modal-dialog-content").css("min-width",300).end(),l=t.outerHeight(),a=t.outerWidth(),o=$(window).width(),s=$(window).height(),u=$(document).scrollLeft(),d=$(document).scrollTop();t.css({left:(o+u-a)/2,top:(s+d-l)/3}).show(),n&&$("#luckysheet-modal-dialog-mask").show()}function By(e,n,t,l){e[n]=new Proxy(t,{set(a,o,s,u){return setTimeout(()=>{l(a,o,s,u)},0),Reflect.set(a,o,s,u)}})}function Hy(e,n,t,l){Object.defineProperty(e,n,{enumerable:!0,configurable:!1,get(){return t},set(a){t!==a&&(console.log(`\u53D1\u73B0 ${n} \u5C5E\u6027 ${t} -> ${a}`),setTimeout(()=>{l(t,a)},0),t=a)}})}function Wn(e,n){e.some((t,l,a)=>{if(t===n)return a.splice(l,1),t===n})}function In(e){return e.replace(/([A-Z])/g,function(n,t){return"-"+t.toLowerCase()})}var Yo,Ko,ht=$e(()=>{Wt();ol();Br();Pt();Xe();yt();Yo=Nl(ca());Ko=(e,n,t)=>{if(!e.hasOwnProperty(n)){console.info("No %s in data",n);return}P(e)==="object"&&(P(e[n])==="object"||P(e[n])==="array"?By(e,n,e[n],t):Hy(e,n,e[n],t))}});function eu(){h.cellMainSrollBarSize=0;let e=!1,n={},t=!1,l=null;$(document).on("touchstart","#luckysheet-grid-window-1",function(a){clearInterval(l),e=!0;let o=a.originalEvent.targetTouches[0];n={x:o.pageX,y:o.pageY,vy:0,moveType:"y"}}),$(document).on("touchmove","#luckysheet-grid-window-1",function(a){if(a.originalEvent.targetTouches.length>1||a.scale&&a.scale!==1)return;let o=a.originalEvent.targetTouches[0];if(e){let s=o.pageX-n.x,u=o.pageY-n.y;n.x=o.pageX,n.y=o.pageY;let d=$("#luckysheet-scrollbar-x").scrollLeft(),f=$("#luckysheet-scrollbar-y").scrollTop();d-=s,f-=u,d<0&&(d=0),f<0&&(f=0),$("#luckysheet-scrollbar-y").scrollTop(f),n.vy_y=u,n.scrollTop=f,$("#luckysheet-scrollbar-x").scrollLeft(d),n.vy_x=s,n.scrollLeft=d}else if(t){let s=nt(o.pageX,o.pageY),u=s[0]+$("#luckysheet-cell-main").scrollLeft(),d=s[1]+$("#luckysheet-cell-main").scrollTop(),f=xt(d),m=f[1],g=f[0],y=f[2],v=bt(u),k=v[1],b=v[0],w=v[2],x=$.extend(!0,{},h.luckysheet_select_save[h.luckysheet_select_save.length-1]),C=0,S=0,_=[];x.top>g?(C=g,S=x.top+x.height-g,x.row[1]>x.row_focus&&(x.row[1]=x.row_focus),_=[y,x.row[1]]):x.top==g?(C=g,S=x.top+x.height-g,_=[y,x.row[0]]):(C=x.top,S=m-x.top-1,x.row[0]<x.row_focus&&(x.row[0]=x.row_focus),_=[x.row[0],y]);let T=0,A=0,R=[];x.left>b?(T=b,A=x.left+x.width-b,x.column[1]>x.column_focus&&(x.column[1]=x.column_focus),R=[w,x.column[1]]):x.left==b?(T=b,A=x.left+x.width-b,R=[w,x.column[0]]):(T=x.left,A=k-x.left-1,x.column[0]<x.column_focus&&(x.column[0]=x.column_focus),R=[x.column[0],w]);let I=be.mergeMoveMain(R,_,x,C,S,T,A);I!=null&&(R=I[0],_=I[1],C=I[2],S=I[3],T=I[4],A=I[5]),x.row=_,x.column=R,x.left_move=T,x.width_move=A,x.top_move=C,x.height_move=S,h.luckysheet_select_save[h.luckysheet_select_save.length-1]=x,tt(),X.scrollFreezen()}a.stopPropagation()}),$(document).on("touchend",function(a){if(e){let o=Math.abs(n.vy_x),s=((o>>31)*2+1)*.25,u=Math.abs(n.vy_y),d=((u>>31)*2+1)*.25;(o>0||u>0)&&(l=setInterval(function(){o-=s,u-=d,o<=0&&(o=0),u<=0&&(u=0),n.vy_y>0?n.scrollTop-=u:n.scrollTop+=u,$("#luckysheet-scrollbar-y").scrollTop(n.scrollTop),n.vy_x>0?n.scrollLeft-=o:n.scrollLeft+=o,$("#luckysheet-scrollbar-x").scrollLeft(n.scrollLeft),o<=0&&u<=0&&clearInterval(l)},20))}e=!1,t=!1}),$(document).on("touchstart",".luckysheet-cs-touchhandle",function(a){t=!0,e=!1,a.stopPropagation()}),document.addEventListener("touchmove",function(a){a.preventDefault()},{passive:!1})}var vm=$e(()=>{Zl();Jt();ol();Vl();Xe()});var Vy,tu,km=$e(()=>{ht();Wt();Jt();tl();Qt();gr();Zt();Xt();Xe();yt();Vy={createDialog:function(){let e=this,n=Q(),t=n.splitText,l=n.punctuation,a=n.button;$("#luckysheet-modal-dialog-mask").show(),$("#luckysheet-splitColumn-dialog").remove();let o='<div class="box"><div class="boxTitle">'+t.splitDelimiters+'</div><div class="boxMain"><div style="height: 22px;line-height: 22px;"><input id="splitColumn_type_01" type="checkbox"/><label for="splitColumn_type_01">'+l.tab+'</label></div><div style="height: 22px;line-height: 22px;"><input id="splitColumn_type_02" type="checkbox"/><label for="splitColumn_type_02">'+l.semicolon+'</label></div><div style="height: 22px;line-height: 22px;"><input id="splitColumn_type_03" type="checkbox"/><label for="splitColumn_type_03">'+l.comma+'</label></div><div style="height: 22px;line-height: 22px;"><input id="splitColumn_type_04" type="checkbox"/><label for="splitColumn_type_04">'+l.space+'</label></div><div style="height: 22px;line-height: 22px;"><input id="splitColumn_type_05" type="checkbox"/><label for="splitColumn_type_05">'+t.splitOther+'</label><input type="text" class="formulaInputFocus" maxlength="1"/></div></div><div style="height: 22px;line-height: 22px;"><input id="splitColumn_type_06" type="checkbox"/><label for="splitColumn_type_06">'+t.splitContinueSymbol+'</label></div><div class="boxTitle" style="margin-top: 10px;">'+t.splitDataPreview+'</div><div class="boxMain" id="splitColumnData"></div></div>';$("body").append(_e(ft,{id:"luckysheet-splitColumn-dialog",addclass:"luckysheet-splitColumn-dialog",title:t.splitTextTitle,content:o,botton:'<button id="luckysheet-splitColumn-dialog-confirm" class="btn btn-primary">'+a.confirm+'</button><button class="btn btn-default luckysheet-model-close-btn">'+a.cancel+"</button>",style:"z-index:100003"}));let s=$("#luckysheet-splitColumn-dialog").find(".luckysheet-modal-dialog-content").css("min-width",400).end(),u=s.outerHeight(),d=s.outerWidth(),f=$(window).width(),m=$(window).height(),g=$(document).scrollLeft(),y=$(document).scrollTop();$("#luckysheet-splitColumn-dialog").css({left:(f+g-d)/2,top:(m+y-u)/3}).show();let v=e.getDataArr();e.dataPreview(v)},init:function(){let e=this,t=Q().splitText;$(document).off("change.SPCinpcheckbox").on("change.SPCcheckbox","#luckysheet-splitColumn-dialog .box input[type='checkbox']",function(){let l=e.getRegStr(),a=e.getDataArr(l);e.dataPreview(a)}),$(document).off("keyup.SPCinptext").on("keyup.SPCinptext","#luckysheet-splitColumn-dialog .box input[type='text']",function(){if($(this).siblings("input[type='checkbox']").is(":checked")){let l=e.getRegStr(),a=e.getDataArr(l);e.dataPreview(a)}}),$(document).off("click.SPCconfirm").on("click.SPCconfirm","#luckysheet-splitColumn-dialog #luckysheet-splitColumn-dialog-confirm",function(){$("#luckysheet-modal-dialog-mask").hide(),$("#luckysheet-splitColumn-dialog").hide();let l=e.getRegStr(),a=e.getDataArr(l),o=h.luckysheet_select_save[0].row[0],s=h.luckysheet_select_save[0].column[0];if(a[0].length==1)return;let u=!1;for(let d=0;d<a.length;d++)for(let f=1;f<a[0].length;f++){let m=h.flowdata[o+d][s+f];if(m!=null&&m.v!=null){u=!0;break}}if(u){let d=function(){e.update(o,s,a)};U.confirm("",t.splitConfirmToExe,d)}else e.update(o,s,a)})},update:function(e,n,t){let l=we.deepCopyFlowData(h.flowdata);for(let u=0;u<t.length;u++)for(let d=0;d<t[0].length;d++){let f=t[u][d];Ft(e+u,n+d,l,f)}let a=h.luckysheet_select_save[0].row[0],o=h.luckysheet_select_save[0].column[0],s=[{row:[a,a+t.length-1],column:[o,o+t[0].length-1]}];Ze(l,s),tt()},dataPreview:function(e){$("#luckysheet-splitColumn-dialog #splitColumnData").empty();let n="";for(let l=0;l<e.length;l++){let a="";for(let o=0;o<e[0].length;o++)a+="<td>"+e[l][o]+"</td>";n+="<tr>"+a+"</tr>"}let t="<table>"+n+"</table>";$("#luckysheet-splitColumn-dialog #splitColumnData").append(t)},getRegStr:function(){let e="",n=0;return $("#luckysheet-splitColumn-dialog .box input[type='checkbox']:checked").each(function(t,l){let a=$(l).attr("id");if(a=="splitColumn_type_01")e+="\\t",n++;else if(a=="splitColumn_type_02")n>0&&(e+="|"),e+=";",n++;else if(a=="splitColumn_type_03")n>0&&(e+="|"),e+=",",n++;else if(a=="splitColumn_type_04")n>0&&(e+="|"),e+="\\s",n++;else if(a=="splitColumn_type_05"){let o=$(l).siblings("input[type='text']").val().trim();o!=""&&(n>0&&(e+="|"),e+=o)}else a=="splitColumn_type_06"&&(e="["+e+"]+")}),e},getDataArr:function(e){let n=this,t=[],l=h.luckysheet_select_save[0].row[0],a=h.luckysheet_select_save[0].row[1],o=h.luckysheet_select_save[0].column[0];if(e!=null&&e!=""){let s=new RegExp(e,"g"),u=[];for(let m=l;m<=a;m++){let g=[],y=h.flowdata[m][o],v;y!=null&&y.m!=null?v=y.m:v=ze(m,o,h.flowdata),v==null&&(v=""),g=v.toString().split(s),u.push(g)}let d=u.length,f=0;for(let m=0;m<d;m++)u[m].length>f&&(f=u[m].length);t=n.getNullData(d,f);for(let m=0;m<t.length;m++)for(let g=0;g<t[0].length;g++)u[m][g]!=null&&(t[m][g]=u[m][g])}else for(let s=l;s<=a;s++){let u=[],d=h.flowdata[s][o],f;d!=null&&d.m!=null?f=d.m:f=ze(s,o,h.flowdata),f==null&&(f=""),u.push(f),t.push(u)}return t},getNullData:function(e,n){let t=[];for(let l=0;l<e;l++){let a=[];for(let o=0;o<n;o++)a.push("");t.push(a)}return t}},tu=Vy});function qy(){let n=Q().cellFormat;$("#luckysheet-cellFormat-confirm").click(function(){let t=$("#luckysheet-protection-check-locked").is(":checked"),l=$("#luckysheet-protection-check-hidden").is(":checked");t=t==!0?1:0,l=l==!0?1:0;let a=wm(function(o,s,u,d){o==null?Ft(s,u,d,{lo:t,hi:l}):(o.lo=t,o.hi=l)},function(){alert(n.sheetDataIsNullAlert)});Ze(a,void 0,void 0,!1),$("#luckysheet-cellFormat-config").hide(),$("#luckysheet-modal-dialog-mask").hide()})}function wm(e,n){if(h.luckysheet_select_save!=null&&h.luckysheet_select_save.length>0){let t=ve.getSheetByIndex(),l=t.data;if(l!=null)for(let a=0;a<h.luckysheet_select_save.length;a++){let o=h.luckysheet_select_save[a],s=o.row,u=o.column;for(let d=s[0];d<=s[1];d++)for(let f=u[0];f<=u[1];f++){let m,g=be.mergeborer(l,d,f);if(g){let y=g.row[2],v=g.column[2];m=l[y][v]}else m=l[d][f];e(m,d,f,l)}}else n();return l}}function jy(){if(bm)return;bm=!0;let e=Q(),n=e.cellFormat,t=e.button;$("body").append(_e(ft,{id:"luckysheet-cellFormat-config",addclass:"luckysheet-cellFormat-config",title:n.cellFormatTitle,content:`
  3204. <div class="luckysheet-cellFormat-menu-c">
  3205. <div class="luckysheet-cellFormat-menu luckysheet-cellFormat-menu-active" id="luckysheet-cellFormat-protection">
  3206. ${n.protection}
  3207. </div>
  3208. </div>
  3209. <div id="luckysheet-cellFormat-protection-content" class="luckysheet-cellFormat-content">
  3210. <div class="luckysheet-cellFormat-protection">
  3211. <p>
  3212. ${n.protectionTips}
  3213. </p>
  3214. <label for="luckysheet-protection-check-locked"><input id="luckysheet-protection-check-locked" name="luckysheet-protection-check-locked" type="checkbox">${n.locked}</label><span>\u90E8\u5206\u9009\u4E2D</span>
  3215. <br/>
  3216. <label for="luckysheet-protection-check-hidden"><input id="luckysheet-protection-check-hidden" name="luckysheet-protection-check-hidden" type="checkbox">${n.hidden}</label><span>\u5168\u90E8\u9009\u4E2D</span>
  3217. </div>
  3218. </div>
  3219. `,botton:`<button id="luckysheet-cellFormat-confirm" class="btn btn-primary">${t.confirm}</button>
  3220. <button class="btn btn-default luckysheet-model-close-btn">${t.cancel}</button>`,style:"z-index:100003"})),qy()}function xm(){jy();let e=Q(),n=e.cellFormat,t=e.button;if($("#luckysheet-rightclick-menu").hide(),!Ur(h.currentSheetIndex))return;let l=!1,a=!1,o=0,s=0,u=0;if(h.luckysheet_select_save!=null&&h.luckysheet_select_save.length>0)wm(function(m){(m==null||m.lo==null||m.lo==1)&&(l=!0,o++),m!=null&&m.hi==1&&(a=!0,s++),u++},function(){l=!0});else{alert(n.selectionIsNullAlert);return}let d="",f="";l&&(d=o==u?n.tipsAll:n.tipsPart),a&&(f=s==u?n.tipsAll:n.tipsPart),$("#luckysheet-protection-check-locked").prop("checked",l).parent().next().html(d),$("#luckysheet-protection-check-hidden").prop("checked",a).parent().next().html(f),ma("luckysheet-cellFormat-config")}var bm,_m=$e(()=>{Xe();ht();Wt();gl();ol();_l();Xt();yt();gr();bm=!1});function Zo(e){let n=$("#luckysheet-cell-main"),t=$("#luckysheet-scrollbar-x").scrollLeft(),l=$("#luckysheet-scrollbar-y").scrollTop(),a=$("#luckysheetTableContent").height();if(X.freezenhorizontaldata!=null&&l<X.freezenhorizontaldata[2]){l=X.freezenhorizontaldata[2],$("#luckysheet-scrollbar-y").scrollTop(l);return}if(X.freezenverticaldata!=null&&t<X.freezenverticaldata[2]){t=X.freezenverticaldata[2],$("#luckysheet-scrollbar-x").scrollLeft(t);return}$("#luckysheet-cols-h-c").scrollLeft(t),$("#luckysheet-rows-h").scrollTop(l),n.scrollLeft(t).scrollTop(l),$("#luckysheet-input-box-index").css({left:$("#luckysheet-input-box").css("left"),top:parseInt($("#luckysheet-input-box").css("top"))-20+"px","z-index":$("#luckysheet-input-box").css("z-index")}).show(),Be(t,l),$("#luckysheet-bottom-controll-row").css("left",t),(X.freezenhorizontaldata!=null||X.freezenverticaldata!=null)&&X.scrollAdapt(),!!Ke.createHookFunction("scroll",{scrollLeft:t,scrollTop:l,canvasHeight:a})}var Cm=$e(()=>{Vl();zr();Xt();Xe();El()});function Tm(e,n,t){Wn(h.asyncLoad,"exportXlsx")}function Uy(e,n){let t=new Blob([e],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),l=URL.createObjectURL(t),a=document.createElement("a");a.href=l,a.download=n,a.click(),URL.revokeObjectURL(l)}function Gy({url:e,order:n},t,l){let a=luckysheet.toJson();luckysheet.getAllChartsBase64(o=>{a.chartMap=o,a.devicePixelRatio=window.devicePixelRatio,a.exportXlsx={order:n},fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)}).then(s=>s.blob()).then(s=>{if(s.type==="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"){let u=a.title+".xlsx";Uy(s,u),t&&t()}else l&&l()}).catch(s=>{console.error("fetch error:",s),l&&l()})})}function Sm(e){$("#luckysheet-modal-dialog-mask").hide();var n=$("#luckysheet-export-xlsx");if(n.length===0){let f=Q(),m=f.exportXlsx,g=f.button,y=`<div class="luckysheet-export-xlsx-content" style="padding: 10px 10px 10px 0;">
  3221. <span>${m.range}</span>
  3222. <select class="luckysheet-export-xlsx-select-area">
  3223. <option value="allSheets" selected="selected">${m.allSheets}</option>
  3224. <option value="currentSheet">${m.currentSheet}</option>
  3225. </select>
  3226. </div>`;$("body").append(_e(ft,{id:"luckysheet-export-xlsx",addclass:"luckysheet-export-xlsx",title:m.title,content:y,botton:`<button class="btn btn-primary luckysheet-model-confirm-btn">${g.confirm}</button><button class="btn btn-default luckysheet-model-close-btn">${g.close}</button>`,style:"z-index:991",close:g.close})),selectedOption="allSheets",$("#luckysheet-export-xlsx .luckysheet-model-confirm-btn").on("click",()=>{luckysheet.showLoadingProgress();var v="all";selectedOption==="currentSheet"&&(v=K(h.currentSheetIndex)),Gy({url:e,order:v},()=>{luckysheet.hideLoadingProgress()},()=>{luckysheet.hideLoadingProgress(),U.info(f.exportXlsx.serverError,"")}),$("#luckysheet-export-xlsx").hide()}),$("#luckysheet-export-xlsx .luckysheet-export-xlsx-select-area").change(function(){selectedOption=$(this).val()})}let t=$("#luckysheet-export-xlsx").find(".luckysheet-modal-dialog-content").css("min-width",350).end(),l=t.outerHeight(),a=t.outerWidth(),o=$(window).width(),s=$(window).height(),u=$(document).scrollLeft(),d=$(document).scrollTop();$("#luckysheet-export-xlsx").css({left:(o+u-a)/2,top:(s+d-l)/3}).show()}var lu=$e(()=>{yt();Wt();ht();tl();Dt();Xe()});function ru(){let e=fr.detectOS();fr.mobilecheck()&&eu(),Date.now||(Date.now=function(){return new Date().getTime()}),function(){"use strict";for(var g=["webkit","moz"],y=0;y<g.length&&!window.requestAnimationFrame;++y){var v=g[y];window.requestAnimationFrame=window[v+"RequestAnimationFrame"],window.cancelAnimationFrame=window[v+"CancelAnimationFrame"]||window[v+"CancelRequestAnimationFrame"]}if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){var k=0;window.requestAnimationFrame=function(b){var w=Date.now(),x=Math.max(k+16,w);return setTimeout(function(){b(k=x)},x-w)},window.cancelAnimationFrame=clearTimeout}}(),$("#luckysheet-sheet-container-c").mousewheel(function(g,y){let v=g.deltaFactor<40?1:g.deltaFactor<80?2:3,k=$(this).scrollLeft();g.deltaY!=0?g.deltaY<0?k=k+10*v:k=k-10*v:g.deltaX!=0&&(g.deltaX>0?k=k+10*v:k=k-10*v),$(this).scrollLeft(k),g.preventDefault()}),$("#luckysheet-cell-main").scroll(function(){}).mousewheel(function(g,y){g.preventDefault()});let t=Q(),l=t.drag,a=t.info,o,s;$("#luckysheet-grid-window-1").mousewheel(function(g,y){let v=$("#luckysheet-scrollbar-x").scrollLeft(),k=$("#luckysheet-scrollbar-y").scrollTop(),b=h.visibledatacolumn,w=h.visibledatarow;X.freezenhorizontaldata!=null&&(w=X.freezenhorizontaldata[3]),X.freezenverticaldata!=null&&(b=X.freezenverticaldata[3]),clearTimeout(s),h.visibledatacolumn_unique!=null?b=h.visibledatacolumn_unique:(b=Qc(b),h.visibledatacolumn_unique=b),h.visibledatarow_unique!=null?w=h.visibledatarow_unique:(w=Qc(w),h.visibledatarow_unique=w);let x=st(b,v),C=st(w,k);X.freezenhorizontaldata!=null&&(C=st(w,k+X.freezenhorizontaldata[0]));let S=0,_=0,T=g.deltaFactor<40?1:g.deltaFactor<80?2:3;if(g.deltaY!=0){let A,R=Math.round(T/h.zoomRatio);R=R<1?1:R,g.deltaY<0?(A=C+R,A>=w.length&&(A=w.length-1)):(A=C-R,A<0&&(A=0)),_=A==0?0:w[A-1],X.freezenhorizontaldata!=null&&(_-=X.freezenhorizontaldata[0]),$("#luckysheet-scrollbar-y").scrollTop(_)}else if(g.deltaX!=0){let A;g.deltaX>0?v=v+20*h.zoomRatio:v=v-20*h.zoomRatio,$("#luckysheet-scrollbar-x").scrollLeft(v)}s=setTimeout(()=>{h.visibledatacolumn_unique=null,h.visibledatarow_unique=null},500)}),$("#luckysheet-scrollbar-x").scroll(function(){Zo()}).mousewheel(function(g,y){g.preventDefault()}),$("#luckysheet-scrollbar-y").scroll(function(){Zo()}).mousewheel(function(g,y){g.preventDefault()}),$(window).resize(function(){document.getElementById(h.container)&&$t()}),$("#luckysheet-rich-text-editor").mouseup(function(g){be.inputMenuButtonFocus(g.target)}),$("#luckysheet-cell-main, #luckysheetTableContent").mousedown(function(g){if($(g.target).hasClass("luckysheet-mousedown-cancel"))return;Wy(),$("#luckysheet-cell-selected").find(".luckysheet-cs-fillhandle").css("cursor","default").end().find(".luckysheet-cs-draghandle").css("cursor","default"),$("#luckysheet-cell-main, #luckysheetTableContent, #luckysheet-sheettable_0").css("cursor","default"),He.removeActivePs(),($("#luckysheet-modal-dialog-activeImage").is(":visible")||$("#luckysheet-modal-dialog-cropping").is(":visible"))&&Ie.cancelActiveImgItem();let y=nt(g.pageX,g.pageY);if(y[0]>=h.cellmainWidth-h.cellMainSrollBarSize||y[1]>=h.cellmainHeight-h.cellMainSrollBarSize)return;let v=y[0]+$("#luckysheet-cell-main").scrollLeft(),k=y[1]+$("#luckysheet-cell-main").scrollTop();X.freezenverticaldata!=null&&y[0]<X.freezenverticaldata[0]-X.freezenverticaldata[2]&&(v=y[0]+X.freezenverticaldata[2]),X.freezenhorizontaldata!=null&&y[1]<X.freezenhorizontaldata[0]-X.freezenhorizontaldata[2]&&(k=y[1]+X.freezenhorizontaldata[2]);let b=ve.getSheetByIndex(),w=$("#luckysheetTableContent").get(0).getContext("2d"),x=xt(k),C=x[1],S=x[0],_=x[2],T=bt(v),A=T[1],R=T[0],I=T[2],F=_,z=I,M=be.mergeborer(h.flowdata,_,I);if(M&&(C=M.row[1],S=M.row[0],_=M.row[2],F=M.row[3],A=M.column[1],R=M.column[0],I=M.column[2],z=M.column[3]),!Ke.createHookFunction("cellMousedownBefore",h.flowdata[_][I],{r:_,c:I,start_r:S,start_c:R,end_r:C,end_c:A},b,w))return;if(Ye.cellFocus(_,I,!0),p.cellFocus(_,I),R<$("#luckysheet-cell-main").scrollLeft()&&$("#luckysheet-scrollbar-x").scrollLeft(R),S<$("#luckysheet-cell-main").scrollTop()&&$("#luckysheet-scrollbar-y").scrollTop(S),g.which=="3"){$("#luckysheet-dataVerification-showHintBox").hide();let E=!1;for(let L=0;L<h.luckysheet_select_save.length;L++)if(h.luckysheet_select_save[L].row!=null&&_>=h.luckysheet_select_save[L].row[0]&&_<=h.luckysheet_select_save[L].row[1]&&I>=h.luckysheet_select_save[L].column[0]&&I<=h.luckysheet_select_save[L].column[1]){E=!0;break}if(E)return}if(h.flowdata[_]!=null&&h.flowdata[_][I]!=null&&h.flowdata[_][I].dd!=null&&me.fireMousedown!=null&&P(me.fireMousedown)=="function"){me.fireMousedown(h.flowdata[_][I].dd);return}if(Cl.hyperlink&&Cl.hyperlink[_+"_"+I]&&g.which!="3"){Cl.cellFocus(_,I);return}h.luckysheet_scroll_status=!0;let N=$("#luckysheet-input-box");if(parseInt(N.css("top"))>0)if(p.rangestart||p.rangedrag_column_start||p.rangedrag_row_start||p.israngeseleciton()){let E=[_,F],L=[I,z],O=R,V=A-R-1,q=S,W=C-S-1;if(g.shiftKey){let Y=p.func_selectedrange,ee=0,te=0,oe=[];Y.top>S?(ee=S,te=Y.top+Y.height-S,Y.row[1]>Y.row_focus&&(Y.row[1]=Y.row_focus),oe=[_,Y.row[1]]):Y.top==S?(ee=S,te=Y.top+Y.height-S,oe=[_,Y.row[0]]):(ee=Y.top,te=C-Y.top-1,Y.row[0]<Y.row_focus&&(Y.row[0]=Y.row_focus),oe=[Y.row[0],_]);let ce=0,se=0,ue=[];Y.left>R?(ce=R,se=Y.left+Y.width-R,Y.column[1]>Y.column_focus&&(Y.column[1]=Y.column_focus),ue=[I,Y.column[1]]):Y.left==R?(ce=R,se=Y.left+Y.width-R,ue=[I,Y.column[0]]):(ce=Y.left,se=A-Y.left-1,Y.column[0]<Y.column_focus&&(Y.column[0]=Y.column_focus),ue=[Y.column[0],I]);let he=be.mergeMoveMain(ue,oe,Y,ee,te,ce,se);he!=null&&(ue=he[0],oe=he[1],ee=he[2],te=he[3],ce=he[4],se=he[5]),sr(ce,ee,se,te,oe,ue),Y.row=oe,Y.column=ue,Y.left_move=ce,Y.width_move=se,Y.top_move=ee,Y.height_move=te,p.func_selectedrange=Y}else if(g.ctrlKey&&$("#luckysheet-rich-text-editor").find("span").last().text()!=","){let Y=$("#luckysheet-rich-text-editor").text();if(Y[Y.length-1]===")"&&(Y=Y.substr(0,Y.length-1)),Y.length>0){let ee=Y.substr(Y.length-1,1);ee!=","&&ee!="="&&ee!="("&&(Y+=",")}if(Y.length>0&&Y.substr(0,1)=="="){if(Y=p.functionHTMLGenerate(Y),window.getSelection){let ee=window.getSelection();p.functionRangeIndex=[$(ee.anchorNode).parent().index(),ee.anchorOffset]}else{let ee=document.selection.createRange();p.functionRangeIndex=ee}$("#luckysheet-rich-text-editor").html(Y+")"),p.canceFunctionrangeSelected(),p.createRangeHightlight()}p.rangestart=!1,p.rangedrag_column_start=!1,p.rangedrag_row_start=!1,$("#luckysheet-functionbox-cell").html(Y+")"),p.rangeHightlightselected($("#luckysheet-rich-text-editor")),p.israngeseleciton(),p.func_selectedrange={left:O,width:V,top:q,height:W,left_move:O,width_move:V,top_move:q,height_move:W,row:E,column:L,row_focus:_,column_focus:I}}else p.func_selectedrange={left:O,width:V,top:q,height:W,left_move:O,width_move:V,top_move:q,height_move:W,row:E,column:L,row_focus:_,column_focus:I};p.rangeSetValue({row:E,column:L}),p.rangestart=!0,p.rangedrag_column_start=!1,p.rangedrag_row_start=!1,$("#luckysheet-formula-functionrange-select").css({left:O,width:V,top:q,height:W}).show(),$("#luckysheet-formula-help-c").hide(),sr(O,q,V,W,E,L),setTimeout(function(){let ee=window.getSelection().anchorNode,te;$("#luckysheet-search-formula-parm").is(":visible")||$("#luckysheet-search-formula-parm-select").is(":visible")?(te=$("#luckysheet-rich-text-editor"),p.rangechangeindex=p.data_parm_index):te=$(ee).closest("div");let oe=te.find("span[rangeindex='"+p.rangechangeindex+"']");oe&&oe!=null&&oe!=null&&oe&&oe.html().length&&p.setCaretPosition(oe.get(0),0,oe.html().length)},1);return}else p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),h.luckysheet_select_status=!0,$("#luckysheet-info").is(":visible")&&(h.luckysheet_select_status=!1);else oc(_,I,h.currentSheetIndex)&&(h.luckysheet_select_status=!0);if($("#luckysheet-multiRange-dialog").is(":visible")){if(Se.selectStatus=!0,h.luckysheet_select_status=!1,g.shiftKey){let L=Se.selectRange[Se.selectRange.length-1],O=0,V=0,q=[];L.top>S?(O=S,V=L.top+L.height-S,L.row[1]>L.row_focus&&(L.row[1]=L.row_focus),q=[_,L.row[1]]):L.top==S?(O=S,V=L.top+L.height-S,q=[_,L.row[0]]):(O=L.top,V=C-L.top-1,L.row[0]<L.row_focus&&(L.row[0]=L.row_focus),q=[L.row[0],_]);let W=0,Y=0,ee=[];L.left>R?(W=R,Y=L.left+L.width-R,L.column[1]>L.column_focus&&(L.column[1]=L.column_focus),ee=[I,L.column[1]]):L.left==R?(W=R,Y=L.left+L.width-R,ee=[I,L.column[0]]):(W=L.left,Y=A-L.left-1,L.column[0]<L.column_focus&&(L.column[0]=L.column_focus),ee=[L.column[0],I]);let te=be.mergeMoveMain(ee,q,L,O,V,W,Y);te!=null&&(ee=te[0],q=te[1],O=te[2],V=te[3],W=te[4],Y=te[5]),L.row=q,L.column=ee,L.left_move=W,L.width_move=Y,L.top_move=O,L.height_move=V,Se.selectRange[Se.selectRange.length-1]=L}else g.ctrlKey?Se.selectRange.push({left:R,width:A-R-1,top:S,height:C-S-1,left_move:R,width_move:A-R-1,top_move:S,height_move:C-S-1,row:[_,F],column:[I,z],row_focus:_,column_focus:I}):(Se.selectRange=[],Se.selectRange.push({left:R,width:A-R-1,top:S,height:C-S-1,left_move:R,width_move:A-R-1,top_move:S,height_move:C-S-1,row:[_,F],column:[I,z],row_focus:_,column_focus:I}));Bt(Se.selectRange);let E=Se.getTxtByRange(Se.selectRange);$("#luckysheet-multiRange-dialog input").val(E);return}else Se.selectStatus=!1,Se.selectRange=[];if($("#luckysheet-singleRange-dialog").is(":visible")){h.luckysheet_select_status=!1,Bt([{row:[_,_],column:[I,I]}]);let E=wt(h.currentSheetIndex,{row:[_,_],column:[I,I]},h.currentSheetIndex);$("#luckysheet-singleRange-dialog input").val(E);return}if($("#luckysheet-dataVerificationRange-dialog").is(":visible")){if(Ye.selectStatus=!0,h.luckysheet_select_status=!1,g.shiftKey){let L=Ye.selectRange[Ye.selectRange.length-1],O=0,V=0,q=[];L.top>S?(O=S,V=L.top+L.height-S,L.row[1]>L.row_focus&&(L.row[1]=L.row_focus),q=[_,L.row[1]]):L.top==S?(O=S,V=L.top+L.height-S,q=[_,L.row[0]]):(O=L.top,V=C-L.top-1,L.row[0]<L.row_focus&&(L.row[0]=L.row_focus),q=[L.row[0],_]);let W=0,Y=0,ee=[];L.left>R?(W=R,Y=L.left+L.width-R,L.column[1]>L.column_focus&&(L.column[1]=L.column_focus),ee=[I,L.column[1]]):L.left==R?(W=R,Y=L.left+L.width-R,ee=[I,L.column[0]]):(W=L.left,Y=A-L.left-1,L.column[0]<L.column_focus&&(L.column[0]=L.column_focus),ee=[L.column[0],I]);let te=be.mergeMoveMain(ee,q,L,O,V,W,Y);te!=null&&(ee=te[0],q=te[1],O=te[2],V=te[3],W=te[4],Y=te[5]),L.row=q,L.column=ee,L.left_move=W,L.width_move=Y,L.top_move=O,L.height_move=V,Ye.selectRange[Ye.selectRange.length-1]=L}else Ye.selectRange=[],Ye.selectRange.push({left:R,width:A-R-1,top:S,height:C-S-1,left_move:R,width_move:A-R-1,top_move:S,height_move:C-S-1,row:[_,F],column:[I,z],row_focus:_,column_focus:I});Bt(Ye.selectRange);let E=Ye.getTxtByRange(Ye.selectRange);p.rangetosheet&&p.rangetosheet!=h.currentSheetIndex&&(E=h.luckysheetfile[K(h.currentSheetIndex)].name+"!"+E),$("#luckysheet-dataVerificationRange-dialog input").val(E);return}else Ye.selectStatus=!1,Ye.selectRange=[];if(ai.singleRangeFocus&&$("#luckysheet-ifFormulaGenerator-dialog .singRange").click(),$("#luckysheet-ifFormulaGenerator-singleRange-dialog").is(":visible")){h.luckysheet_select_status=!1,p.rangestart=!1,$("#luckysheet-formula-functionrange-select").css({left:R,width:A-R-1,top:S,height:C-S-1}).show(),$("#luckysheet-formula-help-c").hide();let E=wt(h.currentSheetIndex,{row:[_,_],column:[I,I]},h.currentSheetIndex);$("#luckysheet-ifFormulaGenerator-singleRange-dialog input").val(E);return}if($("#luckysheet-ifFormulaGenerator-multiRange-dialog").is(":visible")){h.luckysheet_select_status=!1,p.func_selectedrange={left:R,width:A-R-1,top:S,height:C-S-1,left_move:R,width_move:A-R-1,top_move:S,height_move:C-S-1,row:[_,_],column:[I,I],row_focus:_,column_focus:I},p.rangestart=!0,$("#luckysheet-formula-functionrange-select").css({left:R,width:A-R-1,top:S,height:C-S-1}).show(),$("#luckysheet-formula-help-c").hide();let E=wt(h.currentSheetIndex,{row:[_,_],column:[I,I]},h.currentSheetIndex);$("#luckysheet-ifFormulaGenerator-multiRange-dialog input").val(E),$("#luckysheet-row-count-show").hide(),$("#luckysheet-column-count-show").hide();return}if(h.luckysheet_select_status){if(g.shiftKey){let E=$.extend(!0,{},h.luckysheet_select_save[h.luckysheet_select_save.length-1]),L=0,O=0,V=[];E.top>S?(L=S,O=E.top+E.height-S,E.row[1]>E.row_focus&&(E.row[1]=E.row_focus),V=[_,E.row[1]]):E.top==S?(L=S,O=E.top+E.height-S,V=[_,E.row[0]]):(L=E.top,O=C-E.top-1,E.row[0]<E.row_focus&&(E.row[0]=E.row_focus),V=[E.row[0],_]);let q=0,W=0,Y=[];E.left>R?(q=R,W=E.left+E.width-R,E.column[1]>E.column_focus&&(E.column[1]=E.column_focus),Y=[I,E.column[1]]):E.left==R?(q=R,W=E.left+E.width-R,Y=[I,E.column[0]]):(q=E.left,W=A-E.left-1,E.column[0]<E.column_focus&&(E.column[0]=E.column_focus),Y=[E.column[0],I]);let ee=be.mergeMoveMain(Y,V,E,L,O,q,W);ee!=null&&(Y=ee[0],V=ee[1],L=ee[2],O=ee[3],q=ee[4],W=ee[5]),E.row=V,E.column=Y,E.left_move=q,E.width_move=W,E.top_move=L,E.height_move=O,h.luckysheet_select_save[h.luckysheet_select_save.length-1]=E,$("#luckysheet-alternateformat-rangeDialog").is(":visible")&&$("#luckysheet-alternateformat-rangeDialog input").val(wt(h.currentSheetIndex,h.luckysheet_select_save)),Oe.luckysheet_pivotTable_select_state&&$("#luckysheet-pivotTable-range-selection-input").val(h.luckysheetfile[K(h.currentSheetIndex)].name+"!"+lt(h.luckysheet_select_save[0].column[0])+(h.luckysheet_select_save[0].row[0]+1)+":"+lt(h.luckysheet_select_save[0].column[1])+(h.luckysheet_select_save[0].row[1]+1))}else g.ctrlKey?h.luckysheet_select_save.push({left:R,width:A-R-1,top:S,height:C-S-1,left_move:R,width_move:A-R-1,top_move:S,height_move:C-S-1,row:[_,F],column:[I,z],row_focus:_,column_focus:I}):(h.luckysheet_select_save.length=0,h.luckysheet_select_save.push({left:R,width:A-R-1,top:S,height:C-S-1,left_move:R,width_move:A-R-1,top_move:S,height_move:C-S-1,row:[_,F],column:[I,z],row_focus:_,column_focus:I}),be.menuButtonFocus(h.flowdata,_,I),p.fucntionboxshow(_,I));tt(),(X.freezenhorizontaldata!=null||X.freezenverticaldata!=null)&&X.scrollAdaptOfselect(),fr.mobilecheck()||Fr(),ne.saveParam("mv",h.currentSheetIndex,h.luckysheet_select_save)}el.rangefocus&&(el.rangefocus=!1,$("#luckysheet-alternateformat-range .fa-table").click()),$("#luckysheet-row-count-show, #luckysheet-column-count-show").hide(),de()||Ic(),Oe.pivotclick(_,I,h.currentSheetIndex),rt(),Ke.createHookFunction("cellMousedown",h.flowdata[_][I],{r:_,c:I,start_r:S,start_c:R,end_r:C,end_c:A},b,w)}).mouseup(function(g){if(g.which=="3"){if(!h.allowEdit||de())return;let y=g.pageX,v=g.pageY,k=h.flowdata,b=h.luckysheet_select_save[0],w=me.cellRightClickConfig;if($("#luckysheet-cols-rows-data").show(),$("#luckysheet-cols-rows-handleincell").show(),$("#luckysheet-cols-rows-add, #luckysheet-cols-rows-shift").hide(),We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="block",We("#luckysheet-cols-rows-handleincell .luckysheet-menuseparator").style.display="block",b.row!=null&&b.row[0]==0&&b.row[1]==h.flowdata.length-1){if(!w.copy&&!w.copyAs&&!w.paste&&!w.insertColumn&&!w.deleteColumn&&!w.hideColumn&&!w.columnWidth&&!w.clear&&!w.matrix&&!w.sort&&!w.filter&&!w.chart&&!w.image&&!w.link&&!w.data&&!w.cellFormat)return;h.luckysheetRightHeadClickIs="column",$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-word").text(Q().rightclick.column),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-size").text(Q().rightclick.width),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-left").text(Q().rightclick.left),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-right").text(Q().rightclick.right),$("#luckysheet-cols-rows-add").show(),$("#luckysheet-cols-rows-shift").hide(),$("#luckysheet-cols-rows-handleincell").hide(),h.luckysheet_cols_menu_status=!0,We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="block",We("#luckysheet-top-left-add-selected").style.display=w.insertColumn?"block":"none",We("#luckysheet-bottom-right-add-selected").style.display=w.insertColumn?"block":"none",We("#luckysheet-del-selected").style.display=w.deleteColumn?"block":"none",We("#luckysheet-hide-selected").style.display=w.hideColumn?"block":"none",We("#luckysheet-show-selected").style.display=w.hideColumn?"block":"none",We("#luckysheet-column-row-width-selected").style.display=w.columnWidth?"block":"none",!w.copy&&!w.copyAs&&!w.paste&&(We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="none",!w.insertColumn&&!w.deleteColumn&&!w.hideColumn&&!w.columnWidth&&(We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="none")),!w.insertColumn&&!w.deleteColumn&&!w.hideColumn&&!w.columnWidth&&(We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="none");let x=$.extend(!0,{},h.config);x.columnlen==null&&(x.columnlen={});let C=x.columnlen[h.luckysheet_select_save[0].column[0]]==null?h.defaultcollen:x.columnlen[h.luckysheet_select_save[0].column[0]],S=!0;for(let _=0;_<h.luckysheet_select_save.length;_++){let T=h.luckysheet_select_save[_],A=T.column[0],R=T.column[1];for(let I=A;I<=R;I++)if((x.columnlen[I]==null?h.defaultcollen:x.columnlen[I])!=C){S=!1;break}}S?$("#luckysheet-cols-rows-add").find("input[type='number'].rcsize").val(C):$("#luckysheet-cols-rows-add").find("input[type='number'].rcsize").val("")}else if(b.column!=null&&b.column[0]==0&&b.column[1]==h.flowdata[0].length-1){if(!w.copy&&!w.copyAs&&!w.paste&&!w.insertRow&&!w.deleteRow&&!w.hideRow&&!w.rowHeight&&!w.clear&&!w.matrix&&!w.sort&&!w.filter&&!w.chart&&!w.image&&!w.link&&!w.data&&!w.cellFormat)return;h.luckysheetRightHeadClickIs="row",$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-word").text(Q().rightclick.row),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-size").text(Q().rightclick.height),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-left").text(Q().rightclick.top),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-right").text(Q().rightclick.bottom),$("#luckysheet-cols-rows-add").show(),$("#luckysheet-cols-rows-shift").hide(),$("#luckysheet-cols-rows-handleincell").hide(),h.luckysheet_cols_menu_status=!0,We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="block",We("#luckysheet-top-left-add-selected").style.display=w.insertRow?"block":"none",We("#luckysheet-bottom-right-add-selected").style.display=w.insertRow?"block":"none",We("#luckysheet-del-selected").style.display=w.deleteRow?"block":"none",We("#luckysheet-hide-selected").style.display=w.hideRow?"block":"none",We("#luckysheet-show-selected").style.display=w.hideRow?"block":"none",We("#luckysheet-column-row-width-selected").style.display=w.rowHeight?"block":"none",!w.copy&&!w.copyAs&&!w.paste&&(We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="none",!w.insertRow&&!w.deleteRow&&!w.hideRow&&!w.rowHeight&&(We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="none")),!w.insertRow&&!w.deleteRow&&!w.hideRow&&!w.rowHeight&&(We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="none");let x=$.extend(!0,{},h.config);x.rowlen==null&&(x.rowlen={});let C=x.rowlen[h.luckysheet_select_save[0].row[0]]==null?h.defaultrowlen:x.rowlen[h.luckysheet_select_save[0].row[0]],S=!0;for(let _=0;_<h.luckysheet_select_save.length;_++){let T=h.luckysheet_select_save[_],A=T.row[0],R=T.row[1];for(let I=A;I<=R;I++)if((x.rowlen[I]==null?h.defaultrowlen:x.rowlen[I])!=C){S=!1;break}}S?$("#luckysheet-cols-rows-add").find("input[type='number'].rcsize").val(C):$("#luckysheet-cols-rows-add").find("input[type='number'].rcsize").val("")}else{if(!w.copy&&!w.copyAs&&!w.paste&&!w.insertRow&&!w.insertColumn&&!w.deleteRow&&!w.deleteColumn&&!w.deleteCell&&!w.clear&&!w.matrix&&!w.sort&&!w.filter&&!w.chart&&!w.image&&!w.link&&!w.data&&!w.cellFormat)return;!w.copy&&!w.copyAs&&!w.paste&&(We("#luckysheet-cols-rows-handleincell .luckysheet-menuseparator").style.display="none",!w.insertRow&&!w.insertColumn&&!w.deleteRow&&!w.deleteColumn&&!w.deleteCell&&(We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="none")),!w.insertRow&&!w.insertColumn&&!w.deleteRow&&!w.deleteColumn&&!w.deleteCell&&(We("#luckysheet-cols-rows-handleincell .luckysheet-menuseparator").style.display="none")}!w.clear&&!w.matrix&&!w.sort&&!w.filter&&!w.chart&&!w.image&&!w.link&&!w.data&&!w.cellFormat&&(We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="none"),un($("#luckysheet-rightclick-menu"),y,v)}ne.saveParam("mv",h.currentSheetIndex,h.luckysheet_select_save)}).dblclick(function(g){if($(g.target).hasClass("luckysheet-mousedown-cancel")||!h.allowEdit||parseInt($("#luckysheet-input-box").css("top"))>0)return;let y=nt(g.pageX,g.pageY);if(y[0]>=h.cellmainWidth-h.cellMainSrollBarSize||y[1]>=h.cellmainHeight-h.cellMainSrollBarSize)return;let v=$("#luckysheet-cell-main").scrollLeft(),k=$("#luckysheet-cell-main").scrollTop(),b=y[0]+v,w=y[1]+k;X.freezenverticaldata!=null&&y[0]<X.freezenverticaldata[0]-X.freezenverticaldata[2]&&(b=y[0]+X.freezenverticaldata[2]),X.freezenhorizontaldata!=null&&y[1]<X.freezenhorizontaldata[0]-X.freezenhorizontaldata[2]&&(w=y[1]+X.freezenhorizontaldata[2]);let x=xt(w),C=x[2],S=bt(b),_=S[2],T=be.mergeborer(h.flowdata,C,_);if(T&&(C=T.row[2],_=T.column[2]),Oe.isPivotRange(C,_)){if((Oe.filter==null||Oe.filter.length==0)&&(Oe.row==null||Oe.row.length==0)&&(Oe.column==null||Oe.column.length==0)&&(Oe.values==null||Oe.values.length==0)||Oe.values==null||Oe.values.length==0||C==0||_==0)return;if(Oe.column!=null&&Oe.column.length>0){if(Oe.values.length>=2&&Oe.showType=="column"){if(C<=Oe.column.length||_>=Oe.pivotDatas[0].length-Oe.values.length)return}else if(C<=Oe.column.length-1||_>=Oe.pivotDatas[0].length-1)return}if(Oe.row!=null&&Oe.row.length>0){if(Oe.values.length>=2&&Oe.showType=="row"){if(_<=Oe.row.length||C>=Oe.pivotDatas.length-Oe.values.length)return}else if(_<=Oe.row.length-1||C>=Oe.pivotDatas.length-1)return}ve.addNewSheet(g),Oe.drillDown(C,_);return}if($("#luckysheet-search-formula-parm").is(":visible")||$("#luckysheet-search-formula-parm-select").is(":visible"))$("#luckysheet-cell-selected").hide();else{if($("#luckysheet-conditionformat-dialog").is(":visible")||$("#luckysheet-administerRule-dialog").is(":visible")||$("#luckysheet-newConditionRule-dialog").is(":visible")||$("#luckysheet-editorConditionRule-dialog").is(":visible")||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;if($("#luckysheet-modal-dialog-slider-alternateformat").is(":visible")||$("#luckysheet-alternateformat-rangeDialog").is(":visible"))return;{be.luckysheetPaintModelOn&&be.cancelPaintModel();let A=h.luckysheet_select_save[0].column_focus,R=h.luckysheet_select_save[0].row_focus;(A!==_||R!==C)&&(C=R,_=A),Dl(C,_,h.flowdata),tt()}}}),document.getElementById("luckysheet-cell-main").addEventListener("drop",function(g){g.preventDefault(),g.stopPropagation();let y=g.dataTransfer.files;if(y.length==1&&y[0].type.indexOf("image")>-1){if(!It(h.currentSheetIndex,"editObjects"))return;Ie.insertImg(y[0])}u(g)},!1),document.getElementById("luckysheet-cell-main").addEventListener("dragover",function(g){g.preventDefault(),g.stopPropagation()},!1);function u(g){if(me&&me.hook&&me.hook.cellDragStop){let y=nt(g.pageX,g.pageY),v=y[0]+$("#luckysheet-cell-main").scrollLeft(),k=y[1]+$("#luckysheet-cell-main").scrollTop(),b=xt(k),w=b[1],x=b[0],C=b[2],S=bt(v),_=S[1],T=S[0],A=S[2],R=be.mergeborer(h.flowdata,C,A);R&&(w=R.row[1],x=R.row[0],C=R.row[2],_=R.column[1],T=R.column[0],A=R.column[2]);let I=ve.getSheetByIndex(),F=$("#luckysheetTableContent").get(0).getContext("2d");Ke.createHookFunction("cellDragStop",h.flowdata[C][A],{r:C,c:A,start_r:x,start_c:T,end_r:w,end_c:_},I,F,g)}}$(document).on("mousemove.luckysheetEvent",function(g){if(He.overshow(g),Cl.overshow(g),window.cancelAnimationFrame(h.jfautoscrollTimeout),me&&me.hook&&me.hook.sheetMousemove){let y=nt(g.pageX,g.pageY),v=y[0]+$("#luckysheet-cell-main").scrollLeft(),k=y[1]+$("#luckysheet-cell-main").scrollTop(),b=xt(k),w=b[1],x=b[0],C=b[2],S=bt(v),_=S[1],T=S[0],A=S[2],R=be.mergeborer(h.flowdata,C,A);R&&(w=R.row[1],x=R.row[0],C=R.row[2],_=R.column[1],T=R.column[0],A=R.column[2]);let I=ve.getSheetByIndex(),F={functionResizeStatus:p.functionResizeStatus,horizontalmoveState:!!X.horizontalmovestate,verticalmoveState:!!X.verticalmovestate,pivotTableMoveState:!!Oe&&Oe.movestate,sheetMoveStatus:h.luckysheet_sheet_move_status,scrollStatus:!!h.luckysheet_scroll_status,selectStatus:!!h.luckysheet_select_status,rowsSelectedStatus:!!h.luckysheet_rows_selected_status,colsSelectedStatus:!!h.luckysheet_cols_selected_status,cellSelectedMove:!!h.luckysheet_cell_selected_move,cellSelectedExtend:!!h.luckysheet_cell_selected_extend,colsChangeSize:!!h.luckysheet_cols_change_size,rowsChangeSize:!!h.luckysheet_rows_change_size,chartMove:!!h.chartparam.luckysheetCurrentChartMove,chartResize:!!h.chartparam.luckysheetCurrentChartResize,rangeResize:!!p.rangeResize,rangeMove:!!p.rangeMove},z=$("#luckysheetTableContent").get(0).getContext("2d");h.flowdata&&h.flowdata[C]&&Ke.createHookFunction("sheetMousemove",h.flowdata[C][A],{r:C,c:A,start_r:x,start_c:T,end_r:w,end_c:_},I,F,z)}if(p.functionResizeStatus){let v=g.pageY-p.functionResizeData.y,k=p.functionResizeData.calculatebarHeight+v,b=Math.round($(window).height()/2);if(k<=28){if(k<=20)return;k=28}else if(k>=b){if(k>=b+8)return;k=b}h.calculatebarHeight=k,$("#luckysheet-wa-calculate").css("height",h.calculatebarHeight-2),$("#luckysheet-wa-calculate-size").css({background:"#5e5e5e",cursor:"ns-resize"}),clearTimeout(p.functionResizeTimeout),p.functionResizeTimeout=setTimeout(function(){$t()},15)}else if(X.horizontalmovestate){let y=nt(g.pageX,g.pageY),v=$("#luckysheet-cell-main").scrollLeft(),k=$("#luckysheet-cell-main").scrollTop(),b=y[0]+v,w=y[1]+k,x=xt(w),C=x[1],S=x[0],_=x[2],T=y[1]+h.columnHeaderHeight;T<h.columnHeaderHeight&&(T=h.columnHeaderHeight),T>X.windowHeight-4&&(T=X.windowHeight-4),$("#luckysheet-freezebar-horizontal").find(".luckysheet-freezebar-horizontal-handle").css({top:T}),T+k-h.columnHeaderHeight>=S+(C-S)/2?(T=C-2-k+h.columnHeaderHeight,X.freezenhorizontaldata=[C,_+1,k,X.cutVolumn(h.visibledatarow,_+1),T]):(T=S-2-k+h.columnHeaderHeight,X.freezenhorizontaldata=[S,_,k,X.cutVolumn(h.visibledatarow,_),T]),$("#luckysheet-freezebar-horizontal").find(".luckysheet-freezebar-horizontal-drop").css({top:T}),X.saveFreezen(X.freezenhorizontaldata,T,null,null)}else if(X.verticalmovestate){let y=nt(g.pageX,g.pageY),v=$("#luckysheet-cell-main").scrollLeft(),k=$("#luckysheet-cell-main").scrollTop(),b=y[0]+v,w=y[1]+k,x=bt(b),C=x[1],S=x[0],_=x[2],T=y[0]+h.rowHeaderWidth;T<h.rowHeaderWidth&&(T=h.rowHeaderWidth),T>X.windowWidth-4&&(T=X.windowWidth-4),$("#luckysheet-freezebar-vertical").find(".luckysheet-freezebar-vertical-handle").css({left:T}),T+v-h.rowHeaderWidth>=S+(C-S)/2?(T=C-2-v+h.rowHeaderWidth,X.freezenverticaldata=[C,_+1,v,X.cutVolumn(h.visibledatacolumn,_+1),T]):(T=S-2-v+h.rowHeaderWidth,X.freezenverticaldata=[S,_,v,X.cutVolumn(h.visibledatacolumn,_),T]),$("#luckysheet-freezebar-vertical").find(".luckysheet-freezebar-vertical-drop").css({left:T}),X.saveFreezen(null,null,X.freezenverticaldata,T),$t()}else if(!!Oe&&Oe.movestate){let y=g.pageX,v=g.pageY;$("#luckysheet-modal-dialog-slider-pivot-move").css({left:y-Oe.movesave.width/2,top:v-Oe.movesave.height})}else if(h.luckysheet_sheet_move_status){let y=$("#luckysheet-sheet-container-c").scrollLeft(),v=g.pageX+y;if(Math.abs(g.pageX-h.luckysheet_sheet_move_data.pageX)<3)return;let k=$("#luckysheet-sheet-container").width(),b=v-h.luckysheet_sheet_move_data.curleft-$("#luckysheet-sheet-container").offset().left;h.luckysheet_sheet_move_data.activeobject.css({left:b});let w=st(h.luckysheet_sheet_move_data.widthlist,b+h.luckysheet_sheet_move_data.curleft);h.luckysheet_sheet_move_data.cursorobject.css({cursor:"move"}),b-y<=6&&$("#luckysheet-sheets-leftscroll").click(),b-y>=k-40&&$("#luckysheet-sheets-rightscroll").click(),w!=h.luckysheet_sheet_move_data.curindex&&(w==-1&&b>0?(w=h.luckysheet_sheet_move_data.widthlist.length-1,$("#luckysheet-sheets-item-clone").insertAfter($("#luckysheet-sheet-area div.luckysheet-sheets-item:visible").eq(w))):w==-1&&b<=0?$("#luckysheet-sheets-item-clone").insertBefore($("#luckysheet-sheet-area div.luckysheet-sheets-item:visible").eq(0)):$("#luckysheet-sheets-item-clone").insertAfter($("#luckysheet-sheet-area div.luckysheet-sheets-item:visible").eq(w)),h.luckysheet_sheet_move_data.widthlist=[],$("#luckysheet-sheet-area div.luckysheet-sheets-item:visible").each(function(x){x==0?h.luckysheet_sheet_move_data.widthlist.push(parseInt($(this).outerWidth())):h.luckysheet_sheet_move_data.widthlist.push(parseInt($(this).outerWidth())+h.luckysheet_sheet_move_data.widthlist[x-1])}),h.luckysheet_sheet_move_data.curindex=$("#luckysheet-sheet-area div.luckysheet-sheets-item:visible").index($("#luckysheet-sheets-item-clone")))}else if(h.luckysheet_model_move_state){let y=$(document).scrollTop(),v=$(document).scrollLeft(),k=g.pageY+y,b=g.pageX+v,w=$(window).height(),x=$(window).width(),C=h.luckysheet_model_move_obj.height(),S=h.luckysheet_model_move_obj.width(),_=k-h.luckysheet_model_xy[1],T=b-h.luckysheet_model_xy[0];_<0&&(_=0),_+C+62>w&&(_=w-C-62),T<0&&(T=0),T+S+86>x&&(T=x-S-86),h.luckysheet_model_move_obj.css({top:_,left:T}),g.preventDefault()}else if(!!h.luckysheet_scroll_status||!!h.luckysheet_select_status||!!h.luckysheet_rows_selected_status||!!h.luckysheet_cols_selected_status||!!h.luckysheet_cell_selected_move||!!h.luckysheet_cell_selected_extend||!!h.luckysheet_cols_change_size||!!h.luckysheet_rows_change_size||!!h.chartparam.luckysheetCurrentChartMove||!!h.chartparam.luckysheetCurrentChartResize||!!p.rangeResize||!!p.rangeMove){let y=function(){if(h.luckysheet_scroll_status&&!h.luckysheet_cols_change_size&&!h.luckysheet_rows_change_size){let v=nt(g.pageX,g.pageY),k=$("#luckysheet-scrollbar-x").scrollLeft(),b=$("#luckysheet-scrollbar-y").scrollTop(),w=v[0],x=v[1],C=$("#luckysheet-cell-main").height()-20*h.zoomRatio,S=$("#luckysheet-cell-main").width()-60*h.zoomRatio;if(x<0||x>C){let _;x<0?_=b+x/2:_=b+(x-C)/2,$("#luckysheet-scrollbar-y").scrollTop(_)}if(w<0||w>S){let _;w<0?_=k+w/2:_=k+(w-S)/2,$("#luckysheet-scrollbar-x").scrollLeft(_)}}if(h.luckysheet_select_status){let v=nt(g.pageX,g.pageY),k=v[0]+$("#luckysheet-cell-main").scrollLeft(),b=v[1]+$("#luckysheet-cell-main").scrollTop(),w=xt(b),x=w[1],C=w[0],S=w[2],_=bt(k),T=_[1],A=_[0],R=_[2];if(!oc(S,R,h.currentSheetIndex))return;let I=$.extend(!0,{},h.luckysheet_select_save[h.luckysheet_select_save.length-1]),F=0,z=0,M=[];I.top>C?(F=C,z=I.top+I.height-C,I.row[1]>I.row_focus&&(I.row[1]=I.row_focus),M=[S,I.row[1]]):I.top==C?(F=C,z=I.top+I.height-C,M=[S,I.row[0]]):(F=I.top,z=x-I.top-1,I.row[0]<I.row_focus&&(I.row[0]=I.row_focus),M=[I.row[0],S]);let N=0,E=0,L=[];I.left>A?(N=A,E=I.left+I.width-A,I.column[1]>I.column_focus&&(I.column[1]=I.column_focus),L=[R,I.column[1]]):I.left==A?(N=A,E=I.left+I.width-A,L=[R,I.column[0]]):(N=I.left,E=T-I.left-1,I.column[0]<I.column_focus&&(I.column[0]=I.column_focus),L=[I.column[0],R]);let O=be.mergeMoveMain(L,M,I,F,z,N,E);O!=null&&(L=O[0],M=O[1],F=O[2],z=O[3],N=O[4],E=O[5]),I.row=M,I.column=L,I.left_move=N,I.width_move=E,I.top_move=F,I.height_move=z,h.luckysheet_select_save[h.luckysheet_select_save.length-1]=I,tt(),X.scrollFreezen(),$("#luckysheet-alternateformat-rangeDialog").is(":visible")&&$("#luckysheet-alternateformat-rangeDialog input").val(wt(h.currentSheetIndex,h.luckysheet_select_save[h.luckysheet_select_save.length-1])),Oe.luckysheet_pivotTable_select_state&&$("#luckysheet-pivotTable-range-selection-input").val(h.luckysheetfile[K(h.currentSheetIndex)].name+"!"+lt(h.luckysheet_select_save[0].column[0])+(h.luckysheet_select_save[0].row[0]+1)+":"+lt(h.luckysheet_select_save[0].column[1])+(h.luckysheet_select_save[0].row[1]+1))}else if(Se.selectStatus){let v=nt(g.pageX,g.pageY),k=v[0]+$("#luckysheet-cell-main").scrollLeft(),b=v[1]+$("#luckysheet-cell-main").scrollTop(),w=xt(b),x=w[1],C=w[0],S=w[2],_=bt(k),T=_[1],A=_[0],R=_[2],I=Se.selectRange[Se.selectRange.length-1],F=0,z=0,M=[];I.top>C?(F=C,z=I.top+I.height-C,I.row[1]>I.row_focus&&(I.row[1]=I.row_focus),M=[S,I.row[1]]):I.top==C?(F=C,z=I.top+I.height-C,M=[S,I.row[0]]):(F=I.top,z=x-I.top-1,I.row[0]<I.row_focus&&(I.row[0]=I.row_focus),M=[I.row[0],S]);let N=0,E=0,L=[];I.left>A?(N=A,E=I.left+I.width-A,I.column[1]>I.column_focus&&(I.column[1]=I.column_focus),L=[R,I.column[1]]):I.left==A?(N=A,E=I.left+I.width-A,L=[R,I.column[0]]):(N=I.left,E=T-I.left-1,I.column[0]<I.column_focus&&(I.column[0]=I.column_focus),L=[I.column[0],R]);let O=be.mergeMoveMain(L,M,I,F,z,N,E);O!=null&&(L=O[0],M=O[1],F=O[2],z=O[3],N=O[4],E=O[5]),I.row=M,I.column=L,I.left_move=N,I.width_move=E,I.top_move=F,I.height_move=z,Se.selectRange[Se.selectRange.length-1]=I,Bt(Se.selectRange);let V=Se.getTxtByRange(Se.selectRange);$("#luckysheet-multiRange-dialog input").val(V)}else if(Ye.selectStatus){let v=nt(g.pageX,g.pageY),k=v[0]+$("#luckysheet-cell-main").scrollLeft(),b=v[1]+$("#luckysheet-cell-main").scrollTop(),w=xt(b),x=w[1],C=w[0],S=w[2],_=bt(k),T=_[1],A=_[0],R=_[2],I=Ye.selectRange[Ye.selectRange.length-1],F=0,z=0,M=[];I.top>C?(F=C,z=I.top+I.height-C,I.row[1]>I.row_focus&&(I.row[1]=I.row_focus),M=[S,I.row[1]]):I.top==C?(F=C,z=I.top+I.height-C,M=[S,I.row[0]]):(F=I.top,z=x-I.top-1,I.row[0]<I.row_focus&&(I.row[0]=I.row_focus),M=[I.row[0],S]);let N=0,E=0,L=[];I.left>A?(N=A,E=I.left+I.width-A,I.column[1]>I.column_focus&&(I.column[1]=I.column_focus),L=[R,I.column[1]]):I.left==A?(N=A,E=I.left+I.width-A,L=[R,I.column[0]]):(N=I.left,E=T-I.left-1,I.column[0]<I.column_focus&&(I.column[0]=I.column_focus),L=[I.column[0],R]);let O=be.mergeMoveMain(L,M,I,F,z,N,E);O!=null&&(L=O[0],M=O[1],F=O[2],z=O[3],N=O[4],E=O[5]),I.row=M,I.column=L,I.left_move=N,I.width_move=E,I.top_move=F,I.height_move=z,Ye.selectRange[Ye.selectRange.length-1]=I,Bt(Ye.selectRange);let V=Ye.getTxtByRange(Ye.selectRange);p.rangetosheet&&p.rangetosheet!=h.currentSheetIndex&&(V=h.luckysheetfile[K(h.currentSheetIndex)].name+"!"+V),$("#luckysheet-dataVerificationRange-dialog input").val(V)}else if(p.rangestart)p.rangedrag(g);else if(p.rangedrag_row_start)p.rangedrag_row(g);else if(p.rangedrag_column_start)p.rangedrag_column(g);else if(h.luckysheet_rows_selected_status){let k=nt(g.pageX,g.pageY)[1]+$("#luckysheet-rows-h").scrollTop();if(k<0)return!1;let b=xt(k),w=b[1],x=b[0],C=b[2],S=h.visibledatacolumn.length-1,_=h.visibledatacolumn[S],T=0,A=$.extend(!0,{},h.luckysheet_select_save[h.luckysheet_select_save.length-1]),R=0,I=0,F=[];A.top>x?(R=x,I=A.top+A.height-x,A.row[1]>A.row_focus&&(A.row[1]=A.row_focus),F=[C,A.row[1]]):A.top==x?(R=x,I=A.top+A.height-x,F=[C,A.row[0]]):(R=A.top,I=w-A.top-1,A.row[0]<A.row_focus&&(A.row[0]=A.row_focus),F=[A.row[0],C]),A.row=F,A.top_move=R,A.height_move=I,h.luckysheet_select_save[h.luckysheet_select_save.length-1]=A,tt(),clearTimeout(h.countfuncTimeout),h.countfuncTimeout=setTimeout(function(){wl()},500)}else if(h.luckysheet_cols_selected_status){let k=nt(g.pageX,g.pageY)[0]+$("#luckysheet-cols-h-c").scrollLeft();if(k<0)return!1;let b=h.visibledatarow.length-1,w=h.visibledatarow[b],x=0,C=bt(k),S=C[1],_=C[0],T=C[2],A=$.extend(!0,{},h.luckysheet_select_save[h.luckysheet_select_save.length-1]),R=0,I=0,F=[];A.left>_?(R=_,I=A.left+A.width-_,A.column[1]>A.column_focus&&(A.column[1]=A.column_focus),F=[T,A.column[1]]):A.left==_?(R=_,I=A.left+A.width-_,F=[T,A.column[0]]):(R=A.left,I=S-A.left-1,A.column[0]<A.column_focus&&(A.column[0]=A.column_focus),F=[A.column[0],T]),A.column=F,A.left_move=R,A.width_move=I,h.luckysheet_select_save[h.luckysheet_select_save.length-1]=A,tt(),clearTimeout(h.countfuncTimeout),h.countfuncTimeout=setTimeout(function(){wl()},500)}else if(h.luckysheet_cell_selected_move){let v=nt(g.pageX,g.pageY),k=$("#luckysheet-cell-main").scrollLeft(),b=$("#luckysheet-cell-main").scrollTop(),w=v[0]+k,x=v[1]+b,C=$(window).height()+b-h.sheetBarHeight-h.statisticBarHeight,S=$(window).width()+k,_=xt(x),T=_[1],A=_[0],R=_[2],I=bt(w),F=I[1],z=I[0],M=I[2],N=h.luckysheet_cell_selected_move_index[0],E=h.luckysheet_cell_selected_move_index[1],L=h.luckysheet_select_save[0].row[0]-N+R,O=h.luckysheet_select_save[0].row[1]-N+R,V=h.luckysheet_select_save[0].column[0]-E+M,q=h.luckysheet_select_save[0].column[1]-E+M;(L<0||x<0)&&(L=0,O=h.luckysheet_select_save[0].row[1]-h.luckysheet_select_save[0].row[0]),(V<0||w<0)&&(V=0,q=h.luckysheet_select_save[0].column[1]-h.luckysheet_select_save[0].column[0]),(O>=h.visibledatarow[h.visibledatarow.length-1]||x>C)&&(L=h.visibledatarow.length-1-h.luckysheet_select_save[0].row[1]+h.luckysheet_select_save[0].row[0],O=h.visibledatarow.length-1),(q>=h.visibledatacolumn[h.visibledatacolumn.length-1]||w>S)&&(V=h.visibledatacolumn.length-1-h.luckysheet_select_save[0].column[1]+h.luckysheet_select_save[0].column[0],q=h.visibledatacolumn.length-1),z=V-1==-1?0:h.visibledatacolumn[V-1],F=h.visibledatacolumn[q],A=L-1==-1?0:h.visibledatarow[L-1],T=h.visibledatarow[O],$("#luckysheet-cell-selected-move").css({left:z,width:F-z-2,top:A,height:T-A-2,display:"block"})}else if(h.luckysheet_cell_selected_extend){let v=nt(g.pageX,g.pageY),k=$("#luckysheet-cell-main").scrollLeft()-5,b=$("#luckysheet-cell-main").scrollTop()-5,w=v[0]+k,x=v[1]+b,C=$(window).height()+b-h.sheetBarHeight-h.statisticBarHeight,S=$(window).width()+k,_=xt(x),T=_[1],A=_[0],R=_[2],I=bt(w),F=I[1],z=I[0],M=I[2],N=h.luckysheet_cell_selected_extend_index[0],E=h.luckysheet_cell_selected_extend_index[1],L=h.luckysheet_select_save[0].row[0],O=h.luckysheet_select_save[0].row[1],V=h.luckysheet_select_save[0].column[0],q=h.luckysheet_select_save[0].column[1];(L<0||x<0)&&(L=0,O=h.luckysheet_select_save[0].row[1]-h.luckysheet_select_save[0].row[0]),(V<0||w<0)&&(V=0,q=h.luckysheet_select_save[0].column[1]-h.luckysheet_select_save[0].column[0]),(O>=h.visibledatarow[h.visibledatarow.length-1]||x>C)&&(L=h.visibledatarow.length-1-h.luckysheet_select_save[0].row[1]+h.luckysheet_select_save[0].row[0],O=h.visibledatarow.length-1),(q>=h.visibledatacolumn[h.visibledatacolumn.length-1]||w>S)&&(V=h.visibledatacolumn.length-1-h.luckysheet_select_save[0].column[1]+h.luckysheet_select_save[0].column[0],q=h.visibledatacolumn.length-1);let W=h.luckysheet_select_save[0].top_move,Y=h.luckysheet_select_save[0].height_move,ee=h.luckysheet_select_save[0].left_move,te=h.luckysheet_select_save[0].width_move;Math.abs(N-R)>Math.abs(E-M)?R>=L&&R<=O||(h.luckysheet_select_save[0].top_move>=A?(W=A,Y=h.luckysheet_select_save[0].top_move+h.luckysheet_select_save[0].height_move-A):(W=h.luckysheet_select_save[0].top_move,Y=T-h.luckysheet_select_save[0].top_move-1)):M>=V&&M<=q||(h.luckysheet_select_save[0].left_move>=z?(ee=z,te=h.luckysheet_select_save[0].left_move+h.luckysheet_select_save[0].width_move-z):(ee=h.luckysheet_select_save[0].left_move,te=F-h.luckysheet_select_save[0].left_move-1)),$("#luckysheet-cell-selected-extend").css({left:ee,width:te,top:W,height:Y,display:"block"})}else if(h.luckysheet_cols_change_size){let v=nt(g.pageX,g.pageY),k=$("#luckysheet-cols-h-c").scrollLeft(),b=v[0]+k,w=$(window).width(),x=h.visibledatarow.length-1,C=h.visibledatarow[x],S=0,_=bt(b),T=_[1],A=_[0],R=_[2];b+3-h.luckysheet_cols_change_size_start[0]>30&&b<w+k-100&&($("#luckysheet-change-size-line").css({left:b}),$("#luckysheet-cols-change-size").css({left:b-2}))}else if(h.luckysheet_rows_change_size){let v=nt(g.pageX,g.pageY),k=$("#luckysheet-rows-h").scrollTop(),b=v[1]+k,w=$(window).height(),x=xt(b),C=x[1],S=x[0],_=x[2];b+3-h.luckysheet_rows_change_size_start[0]>19&&b<w+k-200&&($("#luckysheet-change-size-line").css({top:b}),$("#luckysheet-rows-change-size").css({top:b}))}else if(h.chartparam.luckysheetCurrentChartMove){let v=nt(g.pageX,g.pageY),k=v[0]+$("#luckysheet-cell-main").scrollLeft(),b=v[1]+$("#luckysheet-cell-main").scrollTop(),w=h.chartparam.luckysheetCurrentChartMoveObj.height(),x=h.chartparam.luckysheetCurrentChartMoveObj.width(),C=b-h.chartparam.luckysheetCurrentChartMoveXy[1],S=k-h.chartparam.luckysheetCurrentChartMoveXy[0];if(C<0&&(C=0),C+w+42+6>h.chartparam.luckysheetCurrentChartMoveWinH&&(C=h.chartparam.luckysheetCurrentChartMoveWinH-w-42-6),S<0&&(S=0),S+x+22+36>h.chartparam.luckysheetCurrentChartMoveWinW&&(S=h.chartparam.luckysheetCurrentChartMoveWinW-x-22-36),h.chartparam.luckysheetCurrentChartMoveObj.css({top:C,left:S}),X.freezenhorizontaldata!=null||X.freezenverticaldata!=null){X.scrollAdapt();let _=h.chartparam.luckysheetCurrentChartMoveObj.offset(),T=h.chartparam.luckysheetCurrentChartMoveObj.position();h.chartparam.luckysheetCurrentChartMoveXy=[g.pageX-_.left,g.pageY-_.top,T.left,T.top,$("#luckysheet-scrollbar-x").scrollLeft(),$("#luckysheet-scrollbar-y").scrollTop()]}}else if(h.chartparam.luckysheetCurrentChartResize){let v=$("#luckysheet-cell-main").scrollTop(),k=$("#luckysheet-cell-main").scrollLeft(),b=nt(g.pageX,g.pageY),w=b[0]+k,x=b[1]+v;if(w<0||x<0)return!1;let C=h.chartparam.luckysheetCurrentChartResizeObj.height(),S=h.chartparam.luckysheetCurrentChartResizeObj.width(),_=x-h.chartparam.luckysheetCurrentChartResizeXy[1],T=w-h.chartparam.luckysheetCurrentChartResizeXy[0],A=h.chartparam.luckysheetCurrentChartResizeXy[5],R=h.chartparam.luckysheetCurrentChartResizeXy[3],I=h.chartparam.luckysheetCurrentChartResizeXy[4],F=h.chartparam.luckysheetCurrentChartResizeXy[2];(h.chartparam.luckysheetCurrentChartResize=="lm"||h.chartparam.luckysheetCurrentChartResize=="lt"||h.chartparam.luckysheetCurrentChartResize=="lb")&&(I=w,F=h.chartparam.luckysheetCurrentChartResizeXy[2]-T,I>h.chartparam.luckysheetCurrentChartResizeXy[2]+h.chartparam.luckysheetCurrentChartResizeXy[4]-60?(I=h.chartparam.luckysheetCurrentChartResizeXy[2]+h.chartparam.luckysheetCurrentChartResizeXy[4]-60,F=h.chartparam.luckysheetCurrentChartResizeXy[2]-(h.chartparam.luckysheetCurrentChartResizeXy[2]+h.chartparam.luckysheetCurrentChartResizeXy[4]-60-h.chartparam.luckysheetCurrentChartResizeXy[0])):I<=0&&(I=0,F=h.chartparam.luckysheetCurrentChartResizeXy[2]+h.chartparam.luckysheetCurrentChartResizeXy[0])),(h.chartparam.luckysheetCurrentChartResize=="rm"||h.chartparam.luckysheetCurrentChartResize=="rt"||h.chartparam.luckysheetCurrentChartResize=="rb")&&(F=h.chartparam.luckysheetCurrentChartResizeXy[2]+T,F<60?F=60:F>=h.chartparam.luckysheetCurrentChartResizeWinW-h.chartparam.luckysheetCurrentChartResizeXy[4]-22-36&&(F=h.chartparam.luckysheetCurrentChartResizeWinW-h.chartparam.luckysheetCurrentChartResizeXy[4]-22-36)),(h.chartparam.luckysheetCurrentChartResize=="mt"||h.chartparam.luckysheetCurrentChartResize=="lt"||h.chartparam.luckysheetCurrentChartResize=="rt")&&(A=x,R=h.chartparam.luckysheetCurrentChartResizeXy[3]-_,A>h.chartparam.luckysheetCurrentChartResizeXy[3]+h.chartparam.luckysheetCurrentChartResizeXy[5]-60?(A=h.chartparam.luckysheetCurrentChartResizeXy[3]+h.chartparam.luckysheetCurrentChartResizeXy[5]-60,R=h.chartparam.luckysheetCurrentChartResizeXy[3]-(h.chartparam.luckysheetCurrentChartResizeXy[3]+h.chartparam.luckysheetCurrentChartResizeXy[5]-60-h.chartparam.luckysheetCurrentChartResizeXy[1])):A<=0&&(A=0,R=h.chartparam.luckysheetCurrentChartResizeXy[3]+h.chartparam.luckysheetCurrentChartResizeXy[1])),(h.chartparam.luckysheetCurrentChartResize=="mb"||h.chartparam.luckysheetCurrentChartResize=="lb"||h.chartparam.luckysheetCurrentChartResize=="rb")&&(R=h.chartparam.luckysheetCurrentChartResizeXy[3]+_,R<60?R=60:R>=h.chartparam.luckysheetCurrentChartResizeWinH-h.chartparam.luckysheetCurrentChartResizeXy[5]-42-6&&(R=h.chartparam.luckysheetCurrentChartResizeWinH-h.chartparam.luckysheetCurrentChartResizeXy[5]-42-6));let z={top:A,left:I,height:R,width:F};h.chartparam.luckysheetCurrentChartResizeObj.css(z),h.resizeChart(h.chartparam.luckysheetCurrentChart)}else if(Ie.move){let v=nt(g.pageX,g.pageY),k=v[0]+$("#luckysheet-cell-main").scrollLeft(),b=v[1]+$("#luckysheet-cell-main").scrollTop(),w=Ie.images[Ie.currentImgId];w.isFixedPos&&(k=g.pageX,b=g.pageY);let x=$("#luckysheet-modal-dialog-activeImage").height(),C=$("#luckysheet-modal-dialog-activeImage").width(),S=b-Ie.moveXY[1],_=k-Ie.moveXY[0],T=0,A=Ie.currentWinH-x-42-6,R=0,I=Ie.currentWinW-C-22-36;w.isFixedPos&&(T=h.infobarHeight+h.toolbarHeight+h.calculatebarHeight+h.columnHeaderHeight,A=T+h.cellmainHeight-h.cellMainSrollBarSize-x,R=h.rowHeaderWidth,I=R+h.cellmainWidth-h.cellMainSrollBarSize-C),S<T&&(S=T),S>A&&(S=A),_<R&&(_=R),_>I&&(_=I),$("#luckysheet-modal-dialog-activeImage").css({left:_,top:S})}else if(Ie.resize){let v=nt(g.pageX,g.pageY),k=$("#luckysheet-cell-main").scrollLeft(),b=$("#luckysheet-cell-main").scrollTop(),w=v[0]+k,x=v[1]+b;if(w<0||x<0)return!1;let C=Ie.resizeXY,S=x-C[1],_=w-C[0],T=C[5],A=C[3],R=C[4],I=C[2],F=Ie.resize,z=Ie.images[Ie.currentImgId];if(z.isFixedPos){let q=h.infobarHeight+h.toolbarHeight+h.calculatebarHeight+h.columnHeaderHeight,W=h.rowHeaderWidth;F=="lt"?(R=C[4]-C[6]+_,R<W&&(R=W),R>C[4]-C[6]+C[2]-1&&(R=C[4]-C[6]+C[2]-1),I=C[4]-C[6]+C[2]-R,A=Math.round(I*(C[3]/C[2])),T=C[5]-C[7]+C[3]-A,T<q&&(T=q,A=C[5]-C[7]+C[3]-T,I=Math.round(A*(C[2]/C[3])),R=C[4]-C[6]+C[2]-I),T>C[5]-C[7]+C[3]-1&&(T=C[5]-C[7]+C[3]-1,A=C[5]-C[7]+C[3]-T,I=Math.round(A*(C[2]/C[3])),R=C[4]-C[6]+C[2]-I)):F=="lm"?(R=C[4]-C[6]+_,R<W&&(R=W),R>C[4]-C[6]+C[2]-1&&(R=C[4]-C[6]+C[2]-1),I=C[4]-C[6]+C[2]-R,T=C[5]-C[7],A=C[3]):F=="lb"?(R=C[4]-C[6]+_,R<W&&(R=W),R>C[4]-C[6]+C[2]-1&&(R=C[4]-C[6]+C[2]-1),I=C[4]-C[6]+C[2]-R,A=Math.round(I*(C[3]/C[2])),T=C[5]-C[7],A<1&&(A=1,I=Math.round(A*(C[2]/C[3])),R=C[4]-C[6]+C[2]-I),A>q+h.cellmainHeight-h.cellMainSrollBarSize-T&&(A=q+h.cellmainHeight-h.cellMainSrollBarSize-T,I=Math.round(A*(C[2]/C[3])),R=C[4]-C[6]+C[2]-I)):F=="rt"?(R=C[4]-C[6],I=C[2]+_,I<1&&(I=1),I>W+h.cellmainWidth-h.cellMainSrollBarSize-R&&(I=W+h.cellmainWidth-h.cellMainSrollBarSize-R),A=Math.round(I*(C[3]/C[2])),T=C[5]-C[7]+C[3]-A,T<q&&(T=q,A=C[5]-C[7]+C[3]-T,I=Math.round(A*(C[2]/C[3]))),T>C[5]-C[7]+C[3]-1&&(T=C[5]-C[7]+C[3]-1,A=C[5]-C[7]+C[3]-T,I=Math.round(A*(C[2]/C[3])))):F=="rm"?(R=C[4]-C[6],I=C[2]+_,I<1&&(I=1),I>W+h.cellmainWidth-h.cellMainSrollBarSize-R&&(I=W+h.cellmainWidth-h.cellMainSrollBarSize-R),T=C[5]-C[7],A=C[3]):F=="rb"?(R=C[4]-C[6],I=C[2]+_,I<1&&(I=1),I>W+h.cellmainWidth-h.cellMainSrollBarSize-R&&(I=W+h.cellmainWidth-h.cellMainSrollBarSize-R),A=Math.round(I*(C[3]/C[2])),T=C[5]-C[7],A<1&&(A=1,I=Math.round(A*(C[2]/C[3]))),A>q+h.cellmainHeight-h.cellMainSrollBarSize-T&&(A=q+h.cellmainHeight-h.cellMainSrollBarSize-T,I=Math.round(A*(C[2]/C[3])))):F=="mt"?(R=C[4]-C[6],I=C[2],T=C[5]-C[7]+S,T<q&&(T=q),T>C[5]-C[7]+C[3]-1&&(T=C[5]-C[7]+C[3]-1),A=C[5]-C[7]+C[3]-T):F=="mb"&&(R=C[4]-C[6],I=C[2],T=C[5]-C[7],A=C[3]+S,A<1&&(A=1),A>q+h.cellmainHeight-h.cellMainSrollBarSize-T&&(A=q+h.cellmainHeight-h.cellMainSrollBarSize-T))}else F=="lt"?(R=w,I=C[2]-_,R>C[2]+C[4]-1?(R=C[2]+C[4]-1,I=C[2]+C[0]-(C[2]+C[4]-1)):R<=0&&(R=0,I=C[2]+C[0]),A=Math.round(I*(C[3]/C[2])),T=C[3]+C[1]-A,T>C[3]+C[5]-1?(T=C[3]+C[5]-1,A=C[3]+C[1]-(C[3]+C[5]-1),I=Math.round(A*(C[2]/C[3])),R=C[2]+C[0]-I):T<=0&&(T=0,A=C[3]+C[1],I=Math.round(A*(C[2]/C[3])),R=C[2]+C[0]-I)):F=="lm"?(R=w,I=C[2]-_,R>C[2]+C[4]-1?(R=C[2]+C[4]-1,I=C[2]+C[0]-(C[2]+C[4]-1)):R<=0&&(R=0,I=C[2]+C[0])):F=="lb"?(R=w,I=C[2]-_,R>C[2]+C[4]-1?(R=C[2]+C[4]-1,I=C[2]+C[0]-(C[2]+C[4]-1)):R<=0&&(R=0,I=C[2]+C[0]),A=Math.round(I*(C[3]/C[2])),A<1?(A=1,I=Math.round(A*(C[2]/C[3])),R=C[2]+C[0]-I):A>=Ie.currentWinH-C[5]-42-6&&(A=Ie.currentWinH-C[5]-42-6,I=Math.round(A*(C[2]/C[3])),R=C[2]+C[0]-I)):F=="rt"?(I=C[2]+_,I<1?I=1:I>=Ie.currentWinW-C[4]-22-36&&(I=Ie.currentWinW-C[4]-22-36),A=Math.round(I*(C[3]/C[2])),T=C[3]+C[1]-A,T>C[3]+C[5]-1?(T=C[3]+C[5]-1,A=C[3]+C[1]-(C[3]+C[5]-1),I=Math.round(A*(C[2]/C[3]))):T<=0&&(T=0,A=C[3]+C[1],I=Math.round(A*(C[2]/C[3])))):F=="rm"?(I=C[2]+_,I<1?I=1:I>=Ie.currentWinW-C[4]-22-36&&(I=Ie.currentWinW-C[4]-22-36)):F=="rb"?(I=C[2]+_,I<1?I=1:I>=Ie.currentWinW-C[4]-22-36&&(I=Ie.currentWinW-C[4]-22-36),A=Math.round(I*(C[3]/C[2])),A<1?(A=1,I=Math.round(A*(C[2]/C[3]))):A>=Ie.currentWinH-C[5]-42-6&&(A=Ie.currentWinH-C[5]-42-6,I=Math.round(A*(C[2]/C[3])))):F=="mt"?(T=x,A=C[3]-S,T>C[3]+C[5]-1?(T=C[3]+C[5]-1,A=C[3]+C[1]-(C[3]+C[5]-1)):T<=0&&(T=0,A=C[3]+C[1])):F=="mb"&&(A=C[3]+S,A<1?A=1:A>=Ie.currentWinH-C[5]-42-6&&(A=Ie.currentWinH-C[5]-42-6));$("#luckysheet-modal-dialog-activeImage").css({width:I,height:A,left:R,top:T});let M=I/z.crop.width,N=A/z.crop.height,E=Math.round(z.default.width*M),L=Math.round(z.default.height*N),O=Math.round(z.crop.offsetLeft*M),V=Math.round(z.crop.offsetTop*N);$("#luckysheet-modal-dialog-activeImage .luckysheet-modal-dialog-content").css({"background-size":E+"px "+L+"px","background-position":-O+"px "+-V+"px"})}else if(Ie.cropChange){let v=nt(g.pageX,g.pageY),k=v[0]+$("#luckysheet-cell-main").scrollLeft(),b=v[1]+$("#luckysheet-cell-main").scrollTop();if(k<0||b<0)return!1;let w=Ie.cropChangeXY,x=b-w[1],C=k-w[0],S=Ie.images[Ie.currentImgId],_=Ie.cropChange,T,A,R,I;_=="lt"?(R=S.crop.offsetLeft+C,R<0&&(R=0),R>S.crop.width+S.crop.offsetLeft-1&&(R=S.crop.width+S.crop.offsetLeft-1),T=S.crop.width+S.crop.offsetLeft-R,I=S.crop.offsetTop+x,I<0&&(I=0),I>S.crop.height+S.crop.offsetTop-1&&(I=S.crop.height+S.crop.offsetTop-1),A=S.crop.height+S.crop.offsetTop-I):_=="lm"?(R=S.crop.offsetLeft+C,R<0&&(R=0),R>S.crop.width+S.crop.offsetLeft-1&&(R=S.crop.width+S.crop.offsetLeft-1),T=S.crop.width+S.crop.offsetLeft-R,I=S.crop.offsetTop,A=S.crop.height):_=="lb"?(R=S.crop.offsetLeft+C,R<0&&(R=0),R>S.crop.width+S.crop.offsetLeft-1&&(R=S.crop.width+S.crop.offsetLeft-1),T=S.crop.width+S.crop.offsetLeft-R,I=S.crop.offsetTop,A=S.crop.height+x,A<1&&(A=1),A>S.default.height-I&&(A=S.default.height-I)):_=="rt"?(R=S.crop.offsetLeft,T=S.crop.width+C,T<1&&(T=1),T>S.default.width-R&&(T=S.default.width-R),I=S.crop.offsetTop+x,I<0&&(I=0),I>S.crop.height+S.crop.offsetTop-1&&(I=S.crop.height+S.crop.offsetTop-1),A=S.crop.height+S.crop.offsetTop-I):_=="rm"?(R=S.crop.offsetLeft,T=S.crop.width+C,T<1&&(T=1),T>S.default.width-R&&(T=S.default.width-R),I=S.crop.offsetTop,A=S.crop.height):_=="rb"?(R=S.crop.offsetLeft,T=S.crop.width+C,T<1&&(T=1),T>S.default.width-R&&(T=S.default.width-R),I=S.crop.offsetTop,A=S.crop.height+x,A<1&&(A=1),A>S.default.height-I&&(A=S.default.height-I)):_=="mt"?(R=S.crop.offsetLeft,T=S.crop.width,I=S.crop.offsetTop+x,I<0&&(I=0),I>S.crop.height+S.crop.offsetTop-1&&(I=S.crop.height+S.crop.offsetTop-1),A=S.crop.height+S.crop.offsetTop-I):_=="mb"&&(R=S.crop.offsetLeft,T=S.crop.width,I=S.crop.offsetTop,A=S.crop.height+x,A<1&&(A=1),A>S.default.height-I&&(A=S.default.height-I));let F=S.default.left+R,z=S.default.top+I;S.isFixedPos&&(F=S.fixedLeft+R,z=S.fixedTop+I),$("#luckysheet-modal-dialog-cropping").show().css({width:T,height:A,left:F,top:z});let M=h.toJsonOptions&&h.toJsonOptions.imageUrlHandle,N=typeof M=="function"?M(S.src):S.src;$("#luckysheet-modal-dialog-cropping .cropping-mask").css({width:S.default.width,height:S.default.height,"background-image":"url("+N+")",left:-R,top:-I}),$("#luckysheet-modal-dialog-cropping .cropping-content").css({"background-image":"url("+N+")","background-size":S.default.width+"px "+S.default.height+"px","background-position":-R+"px "+-I+"px"}),Ie.cropChangeObj={width:T,height:A,offsetLeft:R,offsetTop:I}}else if(He.move){let v=nt(g.pageX,g.pageY),k=v[0]+$("#luckysheet-cell-main").scrollLeft(),b=v[1]+$("#luckysheet-cell-main").scrollTop(),w=He.currentObj.outerHeight(),x=He.currentObj.outerWidth(),C=b-He.moveXY[1],S=k-He.moveXY[0];C<0&&(C=0),C+w+42+6>He.currentWinH&&(C=He.currentWinH-w-42-6),S<0&&(S=0),S+x+22+36>He.currentWinW&&(S=He.currentWinW-x-22-36),He.currentObj.css({left:S,top:C})}else if(He.resize){let v=nt(g.pageX,g.pageY),k=v[0]+$("#luckysheet-cell-main").scrollLeft(),b=v[1]+$("#luckysheet-cell-main").scrollTop();if(k<0||b<0)return!1;let w=He.resizeXY,x=b-w[1],C=k-w[0],S=w[5],_=w[3],T=w[4],A=w[2],R=He.resize;(R=="lm"||R=="lt"||R=="lb")&&(T=k,A=w[2]-C,T>w[2]+w[4]-60?(T=w[2]+w[4]-60,A=w[2]-(w[2]+w[4]-60-w[0])):T<=0&&(T=0,A=w[2]+w[0])),(R=="rm"||R=="rt"||R=="rb")&&(A=w[2]+C,A<60?A=60:A>=He.currentWinW-w[4]-22-36&&(A=He.currentWinW-w[4]-22-36)),(R=="mt"||R=="lt"||R=="rt")&&(S=b,_=w[3]-x,S>w[3]+w[5]-60?(S=w[3]+w[5]-60,_=w[3]-(w[3]+w[5]-60-w[1])):S<=0&&(S=0,_=w[3]+w[1])),(R=="mb"||R=="lb"||R=="rb")&&(_=w[3]+x,_<60?_=60:_>=He.currentWinH-w[5]-42-6&&(_=He.currentWinH-w[5]-42-6)),He.currentObj.css({width:A,height:_,left:T,top:S})}else p.rangeResize?p.rangeResizeDraging(g,p.rangeResizeObj,p.rangeResizexy,p.rangeResize,p.rangeResizeWinW,p.rangeResizeWinH,h.ch_width,h.rh_height):p.rangeMove?p.rangeMoveDraging(g,p.rangeMovexy,p.rangeMoveObj.data("range"),p.rangeMoveObj,h.sheetBarHeight,h.statisticBarHeight):h.chart_selection.rangeResize?h.chart_selection.rangeResizeDraging(g,h.sheetBarHeight,h.statisticBarHeight):h.chart_selection.rangeMove&&h.chart_selection.rangeMoveDraging(g,h.sheetBarHeight,h.statisticBarHeight);h.jfautoscrollTimeout=window.requestAnimationFrame(y)};h.luckysheet_select_status&&(clearTimeout(h.countfuncTimeout),h.countfuncTimeout=setTimeout(function(){wl()},500)),h.jfautoscrollTimeout=window.requestAnimationFrame(y)}}),$(document).on("mouseup.luckysheetEvent",function(g){if(me&&me.hook&&me.hook.sheetMouseup){let F=nt(g.pageX,g.pageY),z=F[0]+$("#luckysheet-cell-main").scrollLeft(),M=F[1]+$("#luckysheet-cell-main").scrollTop(),N=xt(M),E=N[1],L=N[0],O=N[2],V=bt(z),q=V[1],W=V[0],Y=V[2],ee=be.mergeborer(h.flowdata,O,Y);ee&&(E=ee.row[1],L=ee.row[0],O=ee.row[2],q=ee.column[1],W=ee.column[0],Y=ee.column[2]);let te=ve.getSheetByIndex(),oe={functionResizeStatus:p.functionResizeStatus,horizontalmoveState:!!X.horizontalmovestate,verticalmoveState:!!X.verticalmovestate,pivotTableMoveState:!!Oe&&Oe.movestate,sheetMoveStatus:h.luckysheet_sheet_move_status,scrollStatus:!!h.luckysheet_scroll_status,selectStatus:!!h.luckysheet_select_status,rowsSelectedStatus:!!h.luckysheet_rows_selected_status,colsSelectedStatus:!!h.luckysheet_cols_selected_status,cellSelectedMove:!!h.luckysheet_cell_selected_move,cellSelectedExtend:!!h.luckysheet_cell_selected_extend,colsChangeSize:!!h.luckysheet_cols_change_size,rowsChangeSize:!!h.luckysheet_rows_change_size,chartMove:!!h.chartparam.luckysheetCurrentChartMove,chartResize:!!h.chartparam.luckysheetCurrentChartResize,rangeResize:!!p.rangeResize,rangeMove:!!p.rangeMove},ce=$("#luckysheetTableContent").get(0).getContext("2d");Ke.createHookFunction("sheetMouseup",h.flowdata[O][Y],{r:O,c:Y,start_r:L,start_c:W,end_r:E,end_c:q},te,oe,ce)}if(h.luckysheet_select_status&&(clearTimeout(h.countfuncTimeout),h.countfuncTimeout=setTimeout(function(){wl()},0),be.luckysheetPaintModelOn&&(Ct.pasteHandlerOfPaintModel(h.luckysheet_copy_save),be.luckysheetPaintSingle&&be.cancelPaintModel())),h.luckysheet_select_status=!1,window.cancelAnimationFrame(h.jfautoscrollTimeout),h.luckysheet_scroll_status=!1,$("#luckysheet-cell-selected").find(".luckysheet-cs-fillhandle").css("cursor","crosshair").end().find(".luckysheet-cs-draghandle").css("cursor","move"),$("#luckysheet-cell-main, #luckysheetTableContent, #luckysheet-sheettable_0").css("cursor","default"),h.luckysheet_rows_selected_status=!1,h.luckysheet_cols_selected_status=!1,h.luckysheet_model_move_state=!1,p.functionResizeStatus&&(p.functionResizeStatus=!1,$("#luckysheet-wa-calculate-size").removeAttr("style")),X.horizontalmovestate&&(X.horizontalmovestate=!1,$("#luckysheet-freezebar-horizontal").removeClass("luckysheet-freezebar-active"),$("#luckysheet-freezebar-horizontal").find(".luckysheet-freezebar-horizontal-handle").css("cursor","-webkit-grab"),X.freezenhorizontaldata[4]<=h.columnHeaderHeight&&X.cancelFreezenHorizontal(),X.createAssistCanvas(),Be()),X.verticalmovestate&&(X.verticalmovestate=!1,$("#luckysheet-freezebar-vertical").removeClass("luckysheet-freezebar-active"),$("#luckysheet-freezebar-vertical").find(".luckysheet-freezebar-vertical-handle").css("cursor","-webkit-grab"),X.freezenverticaldata[4]<=h.rowHeaderWidth&&X.cancelFreezenVertical(),X.createAssistCanvas(),Be()),!!Oe&&Oe.movestate&&($("#luckysheet-modal-dialog-slider-pivot-move").remove(),Oe.movestate=!1,$("#luckysheet-modal-dialog-pivotTable-list, #luckysheet-modal-dialog-config-filter, #luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column, #luckysheet-modal-dialog-config-value").css("cursor","default"),Oe.movesave.containerid!="luckysheet-modal-dialog-pivotTable-list"&&$(g.target).closest(".luckysheet-modal-dialog-slider-config-list").length==0&&(Oe.movesave.containerid=="luckysheet-modal-dialog-config-value"&&Oe.resetOrderby(Oe.movesave.obj),Oe.movesave.obj.remove(),Oe.showvaluecolrow(),$("#luckysheet-modal-dialog-pivotTable-list").find(".luckysheet-modal-dialog-slider-list-item").each(function(){$(this).find(".luckysheet-slider-list-item-selected").find("i").remove()}),$("#luckysheet-modal-dialog-config-filter, #luckysheet-modal-dialog-config-row, #luckysheet-modal-dialog-config-column, #luckysheet-modal-dialog-config-value").find(".luckysheet-modal-dialog-slider-config-item").each(function(){let z=$(this).data("index");$("#luckysheet-modal-dialog-pivotTable-list").find(".luckysheet-modal-dialog-slider-list-item").each(function(){let M=$(this).find(".luckysheet-slider-list-item-selected");$(this).data("index")==z&&M.find("i").length==0&&M.append('<i class="fa fa-check luckysheet-mousedown-cancel"></i>')})}),Oe.refreshPivotTable())),h.luckysheet_sheet_move_status&&(h.luckysheet_sheet_move_status=!1,h.luckysheet_sheet_move_data.activeobject.insertBefore($("#luckysheet-sheets-item-clone")),h.luckysheet_sheet_move_data.activeobject.removeAttr("style"),$("#luckysheet-sheets-item-clone").remove(),h.luckysheet_sheet_move_data.cursorobject.css({cursor:"pointer"}),h.luckysheet_sheet_move_data={},ve.reOrderAllSheet()),clearTimeout(h.chartparam.luckysheetCurrentChartMoveTimeout),h.chartparam.luckysheetCurrentChartMove&&(h.chartparam.luckysheetCurrentChartMove=!1,h.chartparam.luckysheetInsertChartTosheetChange)){var y=h.chartparam.luckysheetCurrentChartMoveObj.css("top"),v=h.chartparam.luckysheetCurrentChartMoveObj.css("left"),k=$("#luckysheet-cell-main").scrollLeft(),b=$("#luckysheet-cell-main").scrollTop(),w=h.chartparam.luckysheetCurrentChartMoveXy[2],x=h.chartparam.luckysheetCurrentChartMoveXy[3],C=h.chartparam.luckysheetCurrentChartMoveXy[4],S=h.chartparam.luckysheetCurrentChartMoveXy[5],_=h.chartparam.luckysheetCurrentChartMoveObj.find(".luckysheet-modal-dialog-content").attr("id");h.jfredo.push({type:"moveChart",chart_id:_,sheetIndex:h.currentSheetIndex,myTop:y,myLeft:v,scrollTop:b,scrollLeft:k,x:w,y:x,scrollTop1:S,scrollLeft1:C})}if(h.chartparam.luckysheetCurrentChartResize&&(h.chartparam.luckysheetCurrentChartResize=null,h.chartparam.luckysheetInsertChartTosheetChange)){var T=h.chartparam.luckysheetCurrentChartResizeObj.height(),A=h.chartparam.luckysheetCurrentChartResizeObj.width(),k=$("#luckysheet-cell-main").scrollLeft(),b=$("#luckysheet-cell-main").scrollTop(),y=h.chartparam.luckysheetCurrentChartMoveObj.css("top"),v=h.chartparam.luckysheetCurrentChartMoveObj.css("left"),_=h.chartparam.luckysheetCurrentChartResizeObj.find(".luckysheet-modal-dialog-content").attr("id"),R=h.chartparam.luckysheetCurrentChartResizeXy[2],I=h.chartparam.luckysheetCurrentChartResizeXy[3],w=h.chartparam.luckysheetCurrentChartResizeXy[4],x=h.chartparam.luckysheetCurrentChartResizeXy[5],C=h.chartparam.luckysheetCurrentChartResizeXy[6],S=h.chartparam.luckysheetCurrentChartResizeXy[7];h.jfredo.push({type:"resizeChart",chart_id:_,sheetIndex:h.currentSheetIndex,myTop:y,myLeft:v,myHeight:T,myWidth:A,scrollTop:b,scrollLeft:k,x:w,y:x,myWidth1:R,myHeight1:I,scrollTop1:S,scrollLeft1:C})}if(p.rangeResize&&p.rangeResizeDragged(g,p.rangeResizeObj,p.rangeResize,p.rangeResizexy,p.rangeResizeWinW,p.rangeResizeWinH),Ie.move&&Ie.moveImgItem(),Ie.resize&&Ie.resizeImgItem(),Ie.cropChange&&Ie.cropChangeImgItem(),He.move){He.move=!1;let F=He.currentObj.closest(".luckysheet-postil-show").attr("id"),z=F.split("luckysheet-postil-show_")[1].split("_")[0],M=F.split("luckysheet-postil-show_")[1].split("_")[1],N=we.deepCopyFlowData(h.flowdata),E=[];N[z][M].ps.left=He.currentObj.position().left,N[z][M].ps.top=He.currentObj.position().top,N[z][M].ps.value=He.currentObj.find(".formulaInputFocus").html().replaceAll("<div>",`
  3227. `).replaceAll(/<(.*)>.*?|<(.*) \/>/g,"").trim(),E.push(z+"_"+M),He.ref(N,E),$("#"+F).remove(),N[z][M].ps.isshow?(He.buildPs(z,M,N[z][M].ps),$("#"+F).addClass("luckysheet-postil-show-active"),$("#"+F).find(".luckysheet-postil-dialog-resize").show()):He.editPs(z,M)}if(He.resize){He.resize=null;let F=He.currentObj.closest(".luckysheet-postil-show").attr("id"),z=F.split("luckysheet-postil-show_")[1].split("_")[0],M=F.split("luckysheet-postil-show_")[1].split("_")[1],N=we.deepCopyFlowData(h.flowdata),E=[];N[z][M].ps.left=He.currentObj.position().left,N[z][M].ps.top=He.currentObj.position().top,N[z][M].ps.width=He.currentObj.outerWidth(),N[z][M].ps.height=He.currentObj.outerHeight(),N[z][M].ps.value=He.currentObj.find(".formulaInputFocus").html().replaceAll("<div>",`
  3228. `).replaceAll(/<(.*)>.*?|<(.*) \/>/g,"").trim(),E.push(z+"_"+M),He.ref(N,E),$("#"+F).remove(),N[z][M].ps.isshow?(He.buildPs(z,M,N[z][M].ps),$("#"+F).addClass("luckysheet-postil-show-active"),$("#"+F).find(".luckysheet-postil-dialog-resize").show()):He.editPs(z,M)}if(h.luckysheet_rows_change_size){h.luckysheet_rows_change_size=!1,$("#luckysheet-change-size-line").hide(),$("#luckysheet-rows-change-size").css("opacity",0),$("#luckysheet-sheettable, #luckysheet-rows-h, #luckysheet-rows-h canvas").css("cursor","default");let F=nt(g.pageX,g.pageY),z=$("#luckysheet-rows-h").scrollTop(),M=F[1]+z,N=$(window).height(),E=xt(M),L=E[1],O=E[0],V=E[2],q=M+3-h.luckysheet_rows_change_size_start[0];M+3-h.luckysheet_rows_change_size_start[0]<19&&(q=19),M>=N-200+z&&(q=N-200-h.luckysheet_rows_change_size_start[0]+z);let W=$.extend(!0,{},h.config);W.rowlen==null&&(W.rowlen={}),W.customHeight==null&&(W.customHeight={}),W.customHeight[h.luckysheet_rows_change_size_start[1]]=1;let Y=h.luckysheet_rows_change_size_start[1],ee=!1;h.luckysheet_select_save.length>0&&h.luckysheet_select_save.filter(oe=>oe.row_select).some(oe=>(Y>=oe.row[0]&&Y<=oe.row[1]&&(ee=!0),ee)),ee?h.luckysheet_select_save.filter(oe=>oe.row_select).forEach(oe=>{for(let ce=oe.row[0];ce<=oe.row[1];ce++)W.rowlen[ce]=Math.ceil(q/h.zoomRatio)}):W.rowlen[h.luckysheet_rows_change_size_start[1]]=Math.ceil(q/h.zoomRatio);let te=Ie.moveChangeSize("row",h.luckysheet_rows_change_size_start[1],q);h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"resize",ctrlType:"resizeR",sheetIndex:h.currentSheetIndex,config:$.extend(!0,{},h.config),curconfig:$.extend(!0,{},W),images:$.extend(!0,{},Ie.images),curImages:$.extend(!0,{},te)})),h.config=W,h.luckysheetfile[K(h.currentSheetIndex)].config=h.config,ne.saveParam("cg",h.currentSheetIndex,W.rowlen,{k:"rowlen"}),h.luckysheetfile[K(h.currentSheetIndex)].images=te,ne.saveParam("all",h.currentSheetIndex,te,{k:"images"}),Ie.images=te,Ie.allImagesShow(),St(h.flowdata.length,null)}if(h.luckysheet_cols_change_size){h.luckysheet_cols_change_size=!1,$("#luckysheet-change-size-line").hide(),$("#luckysheet-cols-change-size").css("opacity",0),$("#luckysheet-sheettable, #luckysheet-cols-h-c, .luckysheet-cols-h-cells, .luckysheet-cols-h-cells canvas").css("cursor","default");let F=nt(g.pageX,g.pageY),z=$("#luckysheet-cols-h-c").scrollLeft(),M=F[0]+z,N=$(window).width(),E=h.visibledatarow.length-1,L=h.visibledatarow[E],O=0,V=bt(M),q=V[1],W=V[0],Y=V[2],ee=M+3-h.luckysheet_cols_change_size_start[0],te=h.defaultcollen;if(h.config.columnlen!=null&&h.config.columnlen[h.luckysheet_cols_change_size_start[1]]!=null&&(te=h.config.columnlen[h.luckysheet_cols_change_size_start[1]]),Math.abs(ee-te)<3)return;M+3-h.luckysheet_cols_change_size_start[0]<30&&(ee=30),M>=N-100+z&&(ee=N-100-h.luckysheet_cols_change_size_start[0]+z);let oe=$.extend(!0,{},h.config);oe.columnlen==null&&(oe.columnlen={}),oe.customWidth==null&&(oe.customWidth={}),oe.customWidth[h.luckysheet_cols_change_size_start[1]]=1;let ce=h.luckysheet_cols_change_size_start[1],se=!1;h.luckysheet_select_save.length>0&&h.luckysheet_select_save.filter(he=>he.column_select).some(he=>(ce>=he.column[0]&&ce<=he.column[1]&&(se=!0),se)),se?h.luckysheet_select_save.filter(he=>he.column_select).forEach(he=>{for(let Z=he.column[0];Z<=he.column[1];Z++)oe.columnlen[Z]=Math.ceil(ee/h.zoomRatio)}):oe.columnlen[h.luckysheet_cols_change_size_start[1]]=Math.ceil(ee/h.zoomRatio);let ue=Ie.moveChangeSize("column",h.luckysheet_cols_change_size_start[1],ee);h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"resize",ctrlType:"resizeC",sheetIndex:h.currentSheetIndex,config:$.extend(!0,{},h.config),curconfig:$.extend(!0,{},oe),images:$.extend(!0,{},Ie.images),curImages:$.extend(!0,{},ue)})),h.config=oe,h.luckysheetfile[K(h.currentSheetIndex)].config=h.config,ne.saveParam("cg",h.currentSheetIndex,oe.columnlen,{k:"columnlen"}),h.luckysheetfile[K(h.currentSheetIndex)].images=ue,ne.saveParam("all",h.currentSheetIndex,ue,{k:"images"}),Ie.images=ue,Ie.allImagesShow(),St(null,h.flowdata[0].length),setTimeout(function(){Be()},1)}if(p.rangeMove&&p.rangeMoveDragged(p.rangeMoveObj),h.luckysheet_cell_selected_move){$("#luckysheet-cell-selected-move").hide(),h.luckysheet_cell_selected_move=!1;let F=nt(g.pageX,g.pageY);if(!kr(h.luckysheet_select_save,h.currentSheetIndex))return;let z=$("#luckysheet-cell-main").scrollLeft(),M=$("#luckysheet-cell-main").scrollTop(),N=F[0]+z,E=F[1]+M,L=$(window).height()+M-h.sheetBarHeight-h.statisticBarHeight,O=$(window).width()+z,V=xt(E)[2],q=bt(N)[2],W=h.luckysheet_cell_selected_move_index[0],Y=h.luckysheet_cell_selected_move_index[1];if(V==W&&q==Y)return;let ee=we.deepCopyFlowData(h.flowdata),te=h.luckysheet_select_save[h.luckysheet_select_save.length-1],oe=zt(te),ce=$.extend(!0,{},h.config);if(ce.merge==null&&(ce.merge={}),ce.rowlen==null&&(ce.rowlen={}),Nt(ce,te.row[0],te.row[1],te.column[0],te.column[1])){de()?alert(l.noMerge):U.info('<i class="fa fa-exclamation-triangle"></i>',l.noMerge);return}let se=te.row[0]-W+V,ue=te.row[1]-W+V,he=te.column[0]-Y+q,Z=te.column[1]-Y+q;if(!kr([{row:[se,ue],column:[he,Z]}],h.currentSheetIndex))return;if((se<0||E<0)&&(se=0,ue=te.row[1]-te.row[0]),(he<0||N<0)&&(he=0,Z=te.column[1]-te.column[0]),(ue>=h.visibledatarow[h.visibledatarow.length-1]||E>L)&&(se=h.visibledatarow.length-1-te.row[1]+te.row[0],ue=h.visibledatarow.length-1),(Z>=h.visibledatacolumn[h.visibledatacolumn.length-1]||N>O)&&(he=h.visibledatacolumn.length-1-te.column[1]+te.column[0],Z=h.visibledatacolumn.length-1),Nt(ce,se,ue,he,Z)){de()?alert(l.noMerge):U.info('<i class="fa fa-exclamation-triangle"></i>',l.noMerge);return}let G=Wr(h.currentSheetIndex),le=null;for(let Ce=te.row[0];Ce<=te.row[1];Ce++){Ce in ce.rowlen&&(le=!0);for(let Le=te.column[0];Le<=te.column[1];Le++){let Ge=ee[Ce][Le];P(Ge)=="object"&&"mc"in Ge&&Ge.mc.r+"_"+Ge.mc.c in ce.merge&&delete ce.merge[Ge.mc.r+"_"+Ge.mc.c],ee[Ce][Le]=null}}if(ce.borderInfo&&ce.borderInfo.length>0){let Ce=[];for(let Le=0;Le<ce.borderInfo.length;Le++){let Ge=ce.borderInfo[Le].rangeType;if(Ge=="range"){let Ne=ce.borderInfo[Le].range,et=[];for(let vt=0;vt<Ne.length;vt++)et=et.concat(Se.CFSplitRange(Ne[vt],{row:te.row,column:te.column},{row:[se,ue],column:[he,Z]},"restPart"));ce.borderInfo[Le].range=et,Ce.push(ce.borderInfo[Le])}else if(Ge=="cell"){let Ne=ce.borderInfo[Le].value.row_index,et=ce.borderInfo[Le].value.col_index;Ne>=te.row[0]&&Ne<=te.row[1]&&et>=te.column[0]&&et<=te.column[1]||Ce.push(ce.borderInfo[Le])}}ce.borderInfo=Ce}let pe={};for(let Ce=0;Ce<oe.length;Ce++)for(let Le=0;Le<oe[0].length;Le++){if(G[Ce+te.row[0]+"_"+(Le+te.column[0])]){let Ne={rangeType:"cell",value:{row_index:Ce+se,col_index:Le+he,l:G[Ce+te.row[0]+"_"+(Le+te.column[0])].l,r:G[Ce+te.row[0]+"_"+(Le+te.column[0])].r,t:G[Ce+te.row[0]+"_"+(Le+te.column[0])].t,b:G[Ce+te.row[0]+"_"+(Le+te.column[0])].b}};ce.borderInfo==null&&(ce.borderInfo=[]),ce.borderInfo.push(Ne)}let Ge="";if(oe[Ce]!=null&&oe[Ce][Le]!=null&&(Ge=oe[Ce][Le]),P(Ge)=="object"&&"mc"in Ge){let Ne=$.extend(!0,{},Ge.mc);"rs"in Ge.mc?(pe[Ne.r+"_"+Ne.c]=[Ce+se,Le+he],Ge.mc.r=Ce+se,Ge.mc.c=Le+he,ce.merge[Ce+se+"_"+(Le+he)]=Ge.mc):(Ge.mc.r=pe[Ne.r+"_"+Ne.c][0],Ge.mc.c=pe[Ne.r+"_"+Ne.c][1])}ee[Ce+se][Le+he]=Ge}le&&(ce=yl(ee,te.row[0],te.row[1],ce),ce=yl(ee,se,ue,ce));let ie=$.extend(!0,[],h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_conditionformat_save);if(ie!=null&&ie.length>0)for(let Ce=0;Ce<ie.length;Ce++){let Le=ie[Ce].cellrange,Ge=[];for(let Ne=0;Ne<Le.length;Ne++){let et=Se.CFSplitRange(Le[Ne],{row:te.row,column:te.column},{row:[se,ue],column:[he,Z]},"allPart");Ge=Ge.concat(et)}ie[Ce].cellrange=Ge}let Ae;h.luckysheet_select_save[0].row_focus==h.luckysheet_select_save[0].row[0]?Ae=se:Ae=ue;let ae;h.luckysheet_select_save[0].column_focus==h.luckysheet_select_save[0].column[0]?ae=he:ae=Z;let Ee=[];Ee.push({row:te.row,column:te.column}),Ee.push({row:[se,ue],column:[he,Z]}),te.row=[se,ue],te.column=[he,Z],te.row_focus=Ae,te.column_focus=ae,Ze(ee,Ee,{cfg:ce,RowlChange:le,cdformat:ie}),tt(),$("#luckysheet-sheettable").css("cursor","default"),clearTimeout(h.countfuncTimeout),h.countfuncTimeout=setTimeout(function(){wl()},500)}if(h.chart_selection.rangeMove&&h.chart_selection.rangeMoveDragged(),h.chart_selection.rangeResize&&h.chart_selection.rangeResizeDragged(),h.luckysheet_cell_selected_extend){if(h.luckysheet_cell_selected_extend=!1,$("#luckysheet-cell-selected-extend").hide(),!kr(h.luckysheet_select_save,h.currentSheetIndex))return;let F=nt(g.pageX,g.pageY),z=$("#luckysheet-cell-main").scrollLeft(),M=$("#luckysheet-cell-main").scrollTop(),N=F[0]+z-5,E=F[1]+M-5,L=$(window).height()+M-h.sheetBarHeight-h.statisticBarHeight,O=$(window).width()+z,V=xt(E),q=V[1],W=V[0],Y=V[2],ee=bt(N),te=ee[1],oe=ee[0],ce=ee[2],se=h.luckysheet_cell_selected_extend_index[0],ue=h.luckysheet_cell_selected_extend_index[1],he=h.luckysheet_select_save[h.luckysheet_select_save.length-1],Z=he.row[0],G=he.row[1],le=he.column[0],pe=he.column[1];(Z<0||E<0)&&(Z=0,G=he.row[1]-he.row[0]),(le<0||N<0)&&(le=0,pe=he.column[1]-he.column[0]),(G>=h.visibledatarow[h.visibledatarow.length-1]||E>L)&&(Z=h.visibledatarow.length-1-he.row[1]+he.row[0],G=h.visibledatarow.length-1),(pe>=h.visibledatacolumn[h.visibledatacolumn.length-1]||N>O)&&(le=h.visibledatacolumn.length-1-he.column[1]+he.column[0],pe=h.visibledatacolumn.length-1),al.copyRange={row:$.extend(!0,[],he.row),column:$.extend(!0,[],he.column)};let ie=al.typeItemHide();if(!ie[0]&&!ie[1]&&!ie[2]&&!ie[3]&&!ie[4]&&!ie[5]&&!ie[6]?al.applyType="0":al.applyType="1",Math.abs(se-Y)>Math.abs(ue-ce)){if(Y>=Z&&Y<=G)return;if(h.luckysheet_select_save[0].top_move>=W){if(al.applyRange={row:[Y,he.row[0]-1],column:he.column},al.direction="up",Z-=he.row[0]-Y,Oe.isPivotRange(Z,pe)){U.info(l.affectPivot,"");return}}else if(al.applyRange={row:[he.row[1]+1,Y],column:he.column},al.direction="down",G+=Y-he.row[1],Oe.isPivotRange(G,pe)){U.info(l.affectPivot,"");return}}else{if(ce>=le&&ce<=pe)return;if(h.luckysheet_select_save[0].left_move>=oe){if(al.applyRange={row:he.row,column:[ce,he.column[0]-1]},al.direction="left",le-=he.column[0]-ce,Oe.isPivotRange(G,le)){U.info(l.affectPivot,"");return}}else if(al.applyRange={row:he.row,column:[he.column[1]+1,ce]},al.direction="right",pe+=ce-he.column[1],Oe.isPivotRange(G,pe)){U.info(l.affectPivot,"");return}}if(h.config.merge!=null){let Ae=!1;for(let ae=he.row[0];ae<=he.row[1];ae++)for(let Ee=he.column[0];Ee<=he.column[1];Ee++){let je=h.flowdata[ae][Ee];if(je!=null&&je.mc!=null){Ae=!0;break}}if(Ae){de()?alert(l.noMerge):U.info(l.noMerge,"");return}for(let ae=Z;ae<=G;ae++)for(let Ee=le;Ee<=pe;Ee++){let je=h.flowdata[ae][Ee];if(je!=null&&je.mc!=null){Ae=!0;break}}if(Ae){de()?alert(l.noMerge):U.info(l.noMerge,"");return}}he.row=[Z,G],he.column=[le,pe],al.update(),al.createIcon(),$("#luckysheet-cell-selected-move").hide(),$("#luckysheet-sheettable").css("cursor","default"),clearTimeout(h.countfuncTimeout),h.countfuncTimeout=setTimeout(function(){wl()},500)}}),$(".luckysheet-grid-container, #luckysheet-rightclick-menu").on("contextmenu",function(g){g.preventDefault()}),$("#luckysheet-cell-main div.luckysheet-cs-draghandle").mousedown(function(g){if(de()||h.allowEdit===!1)return;$("#luckysheet-cell-selected").find(".luckysheet-cs-fillhandle").css("cursor","move").end().find(".luckysheet-cs-draghandle").css("cursor","move"),$("#luckysheet-cell-main, #luckysheetTableContent, #luckysheet-sheettable_0").css("cursor","move"),h.luckysheet_cell_selected_move=!0,h.luckysheet_scroll_status=!0;let y=nt(g.pageX,g.pageY),v=y[0]+$("#luckysheet-cell-main").scrollLeft(),k=y[1]+$("#luckysheet-cell-main").scrollTop(),b=xt(k),w=b[0],x=b[1],C=b[2],S=bt(v),_=S[0],T=S[1],A=S[2];h.luckysheet_cell_selected_move_index=[C,A],$("#luckysheet-cell-selected-move").css({left:_,width:T-_-1,top:w,height:x-w-1,display:"block"}),g.stopPropagation()}),$("#luckysheet-cell-main div.luckysheet-cs-fillhandle").mousedown(function(g){de()||h.allowEdit===!1||($("#luckysheet-cell-selected").find(".luckysheet-cs-fillhandle").css("cursor","crosshair").end().find(".luckysheet-cs-draghandle").css("cursor","crosshair"),$("#luckysheet-cell-main, #luckysheetTableContent, #luckysheet-sheettable_0").css("cursor","crosshair"),h.luckysheet_cell_selected_extend_time=setTimeout(function(){h.luckysheet_cell_selected_extend=!0,h.luckysheet_scroll_status=!0;let y=nt(g.pageX,g.pageY),v=y[0]+$("#luckysheet-cell-main").scrollLeft()-5,k=y[1]+$("#luckysheet-cell-main").scrollTop()-5,b=xt(k),w=b[0],x=b[1],C=b[2],S=bt(v),_=S[0],T=S[1],A=S[2];h.luckysheet_cell_selected_extend_index=[C,A],$("#luckysheet-cell-selected-extend").css({left:_,width:T-_-1,top:w,height:x-w-1,display:"block"})},100),g.stopPropagation())}).click(function(){clearTimeout(h.luckysheet_cell_selected_extend_time),event.stopPropagation()}).dblclick(function(){let g=h.luckysheet_select_save[0],y=g.row[0],v=g.row[1],k=g.column[0],b=g.column[1];if(Oe.isPivotRange(y,k))return;let w=!1,x=0;for(let S=v+1;S<h.flowdata.length;S++)if(k-1>=0&&b+1<h.flowdata[0].length){let _=h.flowdata[S][k-1],T=h.flowdata[S][b+1];if(S==v+1)if((_==null||fe(_.v))&&(T==null||fe(T.v))){w=!1;break}else w=!0,x++;else{if((_==null||fe(_.v))&&(T==null||fe(T.v)))break;x++}}else if(k-1>=0){let _=h.flowdata[S][k-1];if(S==v+1)if(_==null||fe(_.v)){w=!1;break}else w=!0,x++;else{if(_==null||fe(_.v))break;x++}}else if(b+1<h.flowdata[0].length){let _=h.flowdata[S][b+1];if(S==v+1)if(_==null||fe(_.v)){w=!1;break}else w=!0,x++;else{if(_==null||fe(_.v))break;x++}}if(!w||x==0){event.stopPropagation();return}al.copyRange={row:[y,v],column:[k,b]};let C=al.typeItemHide();!C[0]&&!C[1]&&!C[2]&&!C[3]&&!C[4]&&!C[5]&&!C[6]?al.applyType="0":al.applyType="1",al.applyRange={row:[v+1,v+x],column:[k,b]},al.direction="down",h.luckysheet_select_save=[{row:[y,v+x],column:[k,b]}],al.update(),al.createIcon(),$("#luckysheet-cell-selected-move").hide(),$("#luckysheet-sheettable").css("cursor","default"),clearTimeout(h.countfuncTimeout),h.countfuncTimeout=setTimeout(function(){wl()},500),event.stopPropagation()}),$("#luckysheet-bottom-add-row, #luckysheet-bottom-add-row-input, #luckysheet-bottom-return-top").on("mousedown dblclick mouseup",function(g){g.stopPropagation()}),$("#luckysheet-bottom-add-row").on("click",function(g){$("#luckysheet-rightclick-menu").hide(),rt();let y=$(this),v=$("#luckysheet-bottom-add-row-input").val();if(v==""&&(v=me.addRowCount||100),isNaN(parseInt(v))){de()?alert(a.tipInputNumber):U.info("error",a.tipInputNumber);return}if(v=parseInt(v),v<1||v>100){de()?alert(a.tipInputNumberLimit):U.info("error",a.tipInputNumberLimit);return}Ir("row",h.flowdata.length-1,v)}),$("#luckysheet-bottom-return-top").on("click",function(g){$("#luckysheet-scrollbar-y").scrollTop(0)}),$("#luckysheet-copy-btn, #luckysheet-cols-copy-btn, #luckysheet-paste-btn-title").click(function(g){if($(this).parent().hide(),h.config.merge!=null){let v=!1;for(let k=0;k<h.luckysheet_select_save.length;k++){let b=h.luckysheet_select_save[k].row[0],w=h.luckysheet_select_save[k].row[1],x=h.luckysheet_select_save[k].column[0],C=h.luckysheet_select_save[k].column[1];if(v=Nt(h.config,b,w,x,C),v)break}if(v){de()?alert(l.noPartMerge):U.info(l.noPartMerge,"");return}}let y=h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_conditionformat_save;if(h.luckysheet_select_save.length>1&&y!=null&&y.length>0){let v=!1,k=Se.getComputeMap();e:for(let b=0;b<h.luckysheet_select_save.length&&!v;b++){let w=h.luckysheet_select_save[b].row[0],x=h.luckysheet_select_save[b].row[1],C=h.luckysheet_select_save[b].column[0],S=h.luckysheet_select_save[b].column[1];for(let _=w;_<=x;_++)for(let T=C;T<=S;T++)if(Se.checksCF(_,T,k)!=null){v=!0;continue e}}if(v){de()?alert(l.noMulti):U.info(l.noMulti,"");return}}if(h.luckysheet_select_save.length>1){let v=!0,k=h.luckysheet_select_save[0].row[0],b=h.luckysheet_select_save[0].row[1],w=!0,x=h.luckysheet_select_save[0].column[0],C=h.luckysheet_select_save[0].column[1];for(let S=1;S<h.luckysheet_select_save.length;S++)(h.luckysheet_select_save[S].row[0]!=k||h.luckysheet_select_save[S].row[1]!=b)&&(v=!1),(h.luckysheet_select_save[S].column[0]!=x||h.luckysheet_select_save[S].column[1]!=C)&&(w=!1);if(!v&&!w||Kr()){de()?alert(l.noMulti):U.info(l.noMulti,"");return}}Ct.copy(g)}),$("#luckysheet-copy-paste, #luckysheet-cols-paste-btn, #luckysheet-paste-btn-title").click(function(g){Ct.paste(g,"btn"),$(this).parent().hide()}),$("#luckysheet-chart-btn-title").click(function(){$c()}),$("#luckysheetdatavisual").click(function(){$c(),$("#luckysheet-rightclick-menu").hide()}),$("#luckysheet-pivot-btn-title").click(function(g){!It(h.currentSheetIndex,"usePivotTablereports")||Oe.createPivotTable(g)}),$("#luckysheet-chart-btn-screenshot").click(function(){let g=t.screenshot;if(h.luckysheet_select_save.length==0){de()?alert(g.screenshotTipNoSelection):U.info(g.screenshotTipTitle,g.screenshotTipNoSelection);return}if(h.luckysheet_select_save.length>1){de()?alert(g.screenshotTipHasMulti):U.info(g.screenshotTipTitle,g.screenshotTipHasMulti);return}if(h.config.merge!=null){let F=!1;for(let z=0;z<h.luckysheet_select_save.length;z++){let M=h.luckysheet_select_save[z].row[0],N=h.luckysheet_select_save[z].row[1],E=h.luckysheet_select_save[z].column[0],L=h.luckysheet_select_save[z].column[1];if(F=Nt(h.config,M,N,E,L),F)break}if(F){de()?alert(g.screenshotTipHasMerge):U.info(g.screenshotTipTitle,g.screenshotTipHasMerge);return}}let y=h.luckysheet_select_save[0].row[0],v=h.luckysheet_select_save[0].row[1],k=h.luckysheet_select_save[0].column[0],b=h.luckysheet_select_save[0].column[1],w,x;y-1<0?(w=0,x=h.visibledatarow[v]):(w=h.visibledatarow[y-1],x=h.visibledatarow[v]-h.visibledatarow[y-1]);let C,S;k-1<0?(C=0,S=h.visibledatacolumn[b]):(C=h.visibledatacolumn[k-1],S=h.visibledatacolumn[b]-h.visibledatacolumn[k-1]);let _=$("<canvas>").attr({width:Math.ceil(S*h.devicePixelRatio),height:Math.ceil(x*h.devicePixelRatio)}).css({width:S,height:x});ar(C,w,S,x,1,1,null,null,_);let T=_.get(0).getContext("2d");T.beginPath(),T.moveTo(0,0),T.lineTo(0,h.devicePixelRatio*x),T.lineWidth=h.devicePixelRatio*2,T.strokeStyle=$l.strokeStyle,T.stroke(),T.closePath(),T.beginPath(),T.moveTo(0,0),T.lineTo(h.devicePixelRatio*S,0),T.lineWidth=h.devicePixelRatio*2,T.strokeStyle=$l.strokeStyle,T.stroke(),T.closePath();let A=new Image,R=_.get(0).toDataURL("image/png");A.src=R,S>x?A.style.width="100%":A.style.height="100%";let I=$(window).height()-200;U.screenshot(g.screenshotTipSuccess,'<div id="luckysheet-confirm-screenshot-save" style="height:'+I+'px;overflow:auto;"></div>',R),$("#luckysheet-confirm-screenshot-save").append(A),_.remove()}),$(document).on("click.luckysheetEvent","a.download",function(){let g=$("#luckysheet-confirm-screenshot-save img").attr("src"),y=t.screenshot,v=atob(g.split(",")[1]),k=v.length,b=new Uint8Array(k);for(let S=0;S<k;S++)b[S]=v.charCodeAt(S);let w=new Blob([b]),x=document.createElement("a");x.setAttribute("href",URL.createObjectURL(w)),x.setAttribute("download",y.screenshotImageName+".png"),x.style.display="none",document.body.appendChild(x),x.click();let C;x.addEventListener("click",C=function(){requestAnimationFrame(function(){URL.revokeObjectURL(x.href)}),x.removeAttribute("href"),x.removeEventListener("click",C)}),document.body.removeChild(x)}),$("#luckysheet-splitColumn-btn-title").click(function(){if(!Ur(h.currentSheetIndex)||h.luckysheet_select_save==null||h.luckysheet_select_save.length==0)return;let g=t.splitText;if(h.luckysheet_select_save.length>1){U.info(g.tipNoMulti,"");return}if(h.luckysheet_select_save[0].column[0]!=h.luckysheet_select_save[0].column[1]){U.info(g.tipNoMultiColumn,"");return}tu.createDialog(),tu.init()}),$("#luckysheet-insertImg-btn-title").click(function(){if(!Pl()){U.info("",Q().pivotTable.errorNotAllowEdit);return}!It(h.currentSheetIndex,"editObjects")||$("#luckysheet-imgUpload").click()}),$("#luckysheetInsertImage").click(function(){!It(h.currentSheetIndex,"editObjects")||($("#luckysheet-imgUpload").click(),$("#luckysheet-rightclick-menu").hide())}),$("#luckysheet-imgUpload").click(function(g){g.stopPropagation()}),$("#luckysheet-imgUpload").on("change",function(g){if(!It(h.currentSheetIndex,"editObjects",!1))return;let y=g.currentTarget.files[0];Ie.insertImg(y)}),$("#luckysheet-insertLink-btn-title").click(function(){Pl()||U.info("",Q().pivotTable.errorNotAllowEdit),!!Ur(h.currentSheetIndex)&&(Cl.createDialog(),Cl.init())}),$("#luckysheetInsertLink").click(function(){$("#luckysheet-insertLink-btn-title").click(),$("#luckysheet-rightclick-menu").hide()}),$("#luckysheet-dataVerification-btn-title").click(function(){!Ur(h.currentSheetIndex)||h.luckysheet_select_save==null||h.luckysheet_select_save.length==0||(Ye.createDialog(),Ye.init())}),$("#luckysheetDataVerification").click(function(){$("#luckysheet-dataVerification-btn-title").click(),$("#luckysheet-rightclick-menu").hide()}),$("#luckysheetCellFormatRightClickMenu").click(function(){xm()}),$("#luckysheet-freezen-btn-horizontal").click(function(){$.trim($(this).text())==Q().freezen.freezenCancel?(X.saveFrozen("freezenCancel"),X.freezenverticaldata!=null&&(X.cancelFreezenVertical(),X.createAssistCanvas(),Be()),X.freezenhorizontaldata!=null&&(X.cancelFreezenHorizontal(),X.createAssistCanvas(),Be()),X.scrollAdapt(),$("#luckysheet-icon-freezen-menu-menuButton").find(".fa.fa-check").remove()):(X.saveFrozen("freezenRow"),X.freezenverticaldata!=null&&(X.cancelFreezenVertical(),X.createAssistCanvas(),Be()),X.freezenhorizontaldata==null&&(X.createFreezenHorizontal(),X.createAssistCanvas()))}),$("#luckysheet-freezen-btn-vertical").click(function(){X.freezenverticaldata!=null?(X.saveFrozen("freezenCancel"),X.cancelFreezenVertical(),Be()):(X.saveFrozen("freezenColumn"),X.createFreezenVertical()),X.createAssistCanvas()}),$("#luckysheet-rightclick-menu input").on("keydown",function(g){g.stopPropagation()}),$("#luckysheet-modal-dialog-mask").on("click dbclick mousedown mousemove mouseup",function(g){g.stopPropagation(),g.preventDefault()}),$("#luckysheet-exportXlsx-btn-title").click(function(){var y;let g=h.plugins.find(v=>v.name==="exportXlsx");if(g){let v=(y=g==null?void 0:g.config)==null?void 0:y.url;v&&Sm(v)}else U.info(t.exportXlsx.notice,"")});let d=function(){(document.hidden||document.webkitHidden||document.msHidden)&&(h.iscopyself=!1)};$(document).on("visibilitychange.luckysheetEvent webkitvisibilitychange.luckysheetEvent msvisibilitychange.luckysheetEvent",d).on("mouseleave.luckysheetEvent",function(){h.iscopyself=!1}).on("mousedown.luckysheetEvent",function(g){He.removeActivePs(),Tr(g),$(g.target).closest("#luckysheet-wa-editor").length>0&&parseInt($("#luckysheet-input-box").css("top"))>0&&(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Gt("down",0,"rangeOfSelect"))}),$("#luckysheet-left-top").click(function(g){!Fi(h.currentSheetIndex)||($("#luckysheet-wa-functionbox-confirm").click(),h.luckysheet_select_status=!1,h.luckysheet_select_save=[{row:[0,h.flowdata.length-1],column:[0,h.flowdata[0].length-1],row_focus:0,column_focus:0,row_select:!0,column_select:!0}],tt(),clearTimeout(h.countfuncTimeout),h.countfuncTimeout=setTimeout(function(){wl()},500),ne.saveParam("mv",h.currentSheetIndex,h.luckysheet_select_save),g.stopPropagation())}),$("#luckysheet-icon-undo").click(function(g){$(this).hasClass("disabled")||Tn.redo(g)}),$("#luckysheet-icon-redo").click(function(g){$(this).hasClass("disabled")||Tn.undo(g)}),$(document).on("mousedown.luckysheetEvent","div.luckysheet-modal-dialog",function(g){if(!$(g.target).is(".luckysheet-modal-dialog"))return;h.luckysheet_model_move_state=!0,h.luckysheet_model_move_obj=$(g.currentTarget);let y=h.luckysheet_model_move_obj.offset();h.luckysheet_model_xy=[g.pageX-y.left,g.pageY-y.top]}),$(document).on("click.luckysheetEvent",".luckysheet-modal-dialog-title-close, .luckysheet-model-close-btn",function(g){($("#textcolorselect").is(":visible")||$("#cellcolorselect").is(":visible"))&&$("#luckysheet-conditionformat-dialog").show(),$(g.currentTarget).parents(".luckysheet-modal-dialog").hide(),$("#luckysheet-modal-dialog-mask").hide(),$(this).parents(".luckysheet-modal-dialog").hasClass("luckysheet-search-formula")&&(p.dontupdate(),Gt("down",0,"rangeOfSelect")),$(this).parents(".luckysheet-modal-dialog").hasClass("luckysheet-search-formula-parm")&&(p.dontupdate(),Gt("down",0,"rangeOfSelect")),$(this).parents(".luckysheet-modal-dialog").hasClass("luckysheet-search-formula-parm-select")&&(p.dontupdate(),Gt("down",0,"rangeOfSelect")),rt()}),$("#luckysheet_info_detail_title").click(function(){window.open(me.myFolderUrl,"_self")}),$("#luckysheet-chart-rangeShow").on("mousedown.chartRangeShowMove",".luckysheet-chart-rangeShow-move",function(g){h.chart_selection.rangeMove=!0,h.luckysheet_scroll_status=!0,h.chart_selection.rangeMoveObj=$(this).parent();let y=h.currentChart,v=$(this).parent().attr("id");if(v=="luckysheet-chart-rangeShow-content"){let _=y.rangeArray[0].row[0]+y.rangeSplitArray.content.row[0],T=y.rangeArray[0].column[0]+y.rangeSplitArray.content.column[0];h.chart_selection.rangeMoveIndex=[_,T]}else if(v=="luckysheet-chart-rangeShow-rowtitle"){let _=y.rangeArray[0].row[0]+y.rangeSplitArray.rowtitle.row[0],T=y.rangeArray[0].column[0]+y.rangeSplitArray.rowtitle.column[0];h.chart_selection.rangeMoveIndex=[_,T]}else if(v=="luckysheet-chart-rangeShow-coltitle"){let _=y.rangeArray[0].row[0]+y.rangeSplitArray.coltitle.row[0],T=y.rangeArray[0].column[0]+y.rangeSplitArray.coltitle.column[0];h.chart_selection.rangeMoveIndex=[_,T]}let k=nt(g.pageX,g.pageY),b=k[0]+$("#luckysheet-cell-main").scrollLeft(),w=k[1]+$("#luckysheet-cell-main").scrollTop(),x=$(this).data("type");x=="top"?w+=3:x=="right"?b-=3:x=="bottom"?w-=3:x=="left"&&(b+=3);let C=xt(w)[2],S=bt(b)[2];h.chart_selection.rangeMovexy=[C,S],g.stopPropagation()}),$("#luckysheet-chart-rangeShow").on("mousedown.chartRangeShowResize",".luckysheet-chart-rangeShow-resize",function(g){h.chart_selection.rangeResize=$(this).data("type"),h.luckysheet_scroll_status=!0,h.chart_selection.rangeResizeObj=$(this).parent();let y=h.currentChart,v,k,b,w,x=$(this).parent().attr("id");if(x=="luckysheet-chart-rangeShow-content")y.rangeRowCheck.exits?(v=y.rangeArray[0].row[0]+y.rangeSplitArray.content.row[0],k=y.rangeArray[0].row[0]+y.rangeSplitArray.content.row[1]):(v=y.rangeSplitArray.content.row[0],k=y.rangeSplitArray.content.row[0]),y.rangeColCheck.exits?(b=y.rangeArray[0].column[0]+y.rangeSplitArray.content.column[0],w=y.rangeArray[0].column[0]+y.rangeSplitArray.content.column[1]):(b=y.rangeSplitArray.content.column[0],w=y.rangeSplitArray.content.column[1]),h.chart_selection.rangeResizeIndex={row:[v,k],column:[b,w]};else if(x=="luckysheet-chart-rangeShow-rowtitle"){let R=y.rangeArray[0].row[0]+y.rangeSplitArray.rowtitle.row[0],I=y.rangeArray[0].row[0]+y.rangeSplitArray.rowtitle.row[1],F=y.rangeArray[0].column[0]+y.rangeSplitArray.rowtitle.column[0],z=y.rangeArray[0].column[0]+y.rangeSplitArray.rowtitle.column[1];h.chart_selection.rangeResizeIndex={row:[R,I],column:[F,z]}}else if(x=="luckysheet-chart-rangeShow-coltitle"){let R=y.rangeArray[0].row[0]+y.rangeSplitArray.coltitle.row[0],I=y.rangeArray[0].row[0]+y.rangeSplitArray.coltitle.row[1],F=y.rangeArray[0].column[0]+y.rangeSplitArray.coltitle.column[0],z=y.rangeArray[0].column[0]+y.rangeSplitArray.coltitle.column[1];h.chart_selection.rangeResizeIndex={row:[R,I],column:[F,z]}}let C=nt(g.pageX,g.pageY),S=C[0]+$("#luckysheet-cell-main").scrollLeft(),_=C[1]+$("#luckysheet-cell-main").scrollTop();h.chart_selection.rangeResize=="lt"?(S+=3,_+=3):h.chart_selection.rangeResize=="lb"?(S+=3,_-=3):h.chart_selection.rangeResize=="rt"?(S-=3,_+=3):h.chart_selection.rangeResize=="rb"&&(S-=3,_-=3);let T=xt(_)[2],A=bt(S)[2];h.chart_selection.rangeResizexy=[T,A],g.stopPropagation()}),$("#luckysheet-wa-calculate-size").mousedown(function(g){let y=g.pageY;p.functionResizeData.y=y,p.functionResizeStatus=!0,p.functionResizeData.calculatebarHeight=h.calculatebarHeight,p.rangetosheet&&p.rangetosheet!=null&&p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1])}),be.initialMenuButton();let f=document.getElementById("testdpidiv").offsetWidth*h.devicePixelRatio,m=document.getElementById("testdpidiv").offsetHeight*h.devicePixelRatio;$(document).on("paste.luckysheetEvent",function(g){if(!de()){if(Ct.isPasteAction){$("#luckysheet-rich-text-editor").blur(),Ct.isPasteAction=!1;let y=window.clipboardData;y||(y=g.originalEvent.clipboardData);let v=y.getData("text/html")||y.getData("text/plain"),k=!0;if(v.indexOf("luckysheet_copy_action_table")>-1&&h.luckysheet_copy_save.copyRange!=null&&h.luckysheet_copy_save.copyRange.length>0){let w=[],x=new RegExp("<tr.*?>(.*?)</tr>","gs"),C=new RegExp("<td.*?>(.*?)</td>","gs"),S=v.match(x)||[];for(let z=0;z<S.length;z++){let M=[],N=S[z].match(C);if(N!=null)for(let E=0;E<N.length;E++){let L=N[E].replace(/<td.*?>/gs,"").replace(/<\/td>/gs,"");M.push(L)}w.push(M)}let _=h.luckysheet_copy_save.copyRange[0].row[0],T=h.luckysheet_copy_save.copyRange[0].row[1],A=h.luckysheet_copy_save.copyRange[0].column[0],R=h.luckysheet_copy_save.copyRange[0].column[1],I=h.luckysheet_copy_save.dataSheetIndex,F;I==h.currentSheetIndex?F=we.deepCopyFlowData(h.flowdata):F=h.luckysheetfile[K(I)].data;for(let z=_;z<=T&&!(z-_>w.length-1);z++)for(let M=A;M<=R;M++){let N=F[z][M],E=!1;if(N!=null&&N.mc!=null&&N.mc.rs==null)continue;let L;if(N!=null?N.ct!=null&&N.ct.fa.indexOf("w")>-1?L=F[z][M].v:L=F[z][M].m:L="",L==null&&F[z][M]&&F[z][M].ct&&F[z][M].ct.t=="inlineStr"&&(L=F[z][M].ct.s.map(O=>O.v).join(""),E=!0),L==null&&(L=""),E){let O=$(w[z-_][M-A]).text().replace(/\s|\n/g," "),V=L.replace(/\n/g,"").replace(/\s/g," ");if(O!=V){k=!1;break}}else if(w[z-_][M-A]!=L){k=!1;break}}}let b=Q().fontjson;if(!Ke.createHookFunction("rangePasteBefore",h.luckysheet_select_save,v))return;if(v.indexOf("luckysheet_copy_action_table")>-1&&h.luckysheet_copy_save.copyRange!=null&&h.luckysheet_copy_save.copyRange.length>0&&k)h.luckysheet_paste_iscut?(h.luckysheet_paste_iscut=!1,Ct.pasteHandlerOfCutPaste(h.luckysheet_copy_save),Ct.clearcopy(g)):Ct.pasteHandlerOfCopyPaste(h.luckysheet_copy_save);else if(v.indexOf("luckysheet_copy_action_image")>-1)Ie.pasteImgItem();else{if(v.indexOf("table")>-1){$("#luckysheet-copy-content").html(v);let w=new Array($("#luckysheet-copy-content").find("table tr").length),x=0,C="th, td";$("#luckysheet-copy-content").find("table tr").eq(0).find(C).each(function(){let T=parseInt($(this).attr("colspan"));isNaN(T)&&(T=1),x+=T});for(let T=0;T<w.length;T++)w[T]=new Array(x);let S=0,_={};$("#luckysheet-copy-content").find("table tr").each(function(){let T=$(this),A=0;T.find(C).each(function(){let R=$(this),I={},F=R.text();if($.trim(F).length==0)I.v=null,I.m="";else{let ee=it(R.text());I.v=ee[2],I.ct=ee[1],I.m=ee[0]}let z=R.css("background-color");z=="rgba(0, 0, 0, 0)"&&(z=null),I.bg=z;let M=R.css("font-weight");M==400||M=="normal"?I.bl=0:I.bl=1,R.css("text-decoration").indexOf("underline")!=-1&&(I.un=1),R.css("font-style")=="normal"?I.it=0:I.it=1;let O=R.css("font-family").split(",");for(let ee=0;ee<O.length;ee++){let te=$.trim(O[ee].toLowerCase());if(te=b[te],te==null)I.ff=0;else{I.ff=te;break}}let V=Math.round(parseInt(R.css("font-size"))*72/96);I.fs=V;let q=R.css("color");I.fc=q;let W=R.css("text-align");W=="center"?I.ht=0:W=="right"?I.ht=2:I.ht=1;let Y=R.css("vertical-align");for(Y=="middle"?I.vt=0:Y=="top"||Y=="text-top"?I.vt=1:I.vt=2;A<x&&w[S][A]!=null;)A++;if(A==x)return!0;if(w[S][A]==null){w[S][A]=I;let ee=parseInt(R.attr("rowspan")),te=parseInt(R.attr("colspan"));isNaN(ee)&&(ee=1),isNaN(te)&&(te=1);let oe=h.luckysheet_select_save[0].row[0]+S,ce=h.luckysheet_select_save[0].column[0]+A;for(let se=0;se<ee;se++)for(let ue=0;ue<te;ue++){if(se==0){let he=R.css("border-top");if(he!=null&&he.length>0&&he.substr(0,3).toLowerCase()!="0px"){let Z=R.css("border-top-width"),G=R.css("border-top-style"),le=R.css("border-top-color"),pe=be.getQKBorder(Z,G,le);_[S+se+"_"+(A+ue)]==null&&(_[S+se+"_"+(A+ue)]={}),_[S+se+"_"+(A+ue)].t={style:pe[0],color:pe[1]}}}if(se==ee-1){let he=R.css("border-bottom");if(he!=null&&he.length>0&&he.substr(0,3).toLowerCase()!="0px"){let Z=R.css("border-bottom-width"),G=R.css("border-bottom-style"),le=R.css("border-bottom-color"),pe=be.getQKBorder(Z,G,le);_[S+se+"_"+(A+ue)]==null&&(_[S+se+"_"+(A+ue)]={}),_[S+se+"_"+(A+ue)].b={style:pe[0],color:pe[1]}}}if(ue==0){let he=R.css("border-left");if(he!=null&&he.length>0&&he.substr(0,3).toLowerCase()!="0px"){let Z=R.css("border-left-width"),G=R.css("border-left-style"),le=R.css("border-left-color"),pe=be.getQKBorder(Z,G,le);_[S+se+"_"+(A+ue)]==null&&(_[S+se+"_"+(A+ue)]={}),_[S+se+"_"+(A+ue)].l={style:pe[0],color:pe[1]}}}if(ue==te-1){let he=R.css("border-right");if(he!=null&&he.length>0&&he.substr(0,3).toLowerCase()!="0px"){let Z=R.css("border-right-width"),G=R.css("border-right-style"),le=R.css("border-right-color"),pe=be.getQKBorder(Z,G,le);_[S+se+"_"+(A+ue)]==null&&(_[S+se+"_"+(A+ue)]={}),_[S+se+"_"+(A+ue)].r={style:pe[0],color:pe[1]}}}se==0&&ue==0||(w[S+se][A+ue]={mc:{r:oe,c:ce}})}if(ee>1||te>1){let se={rs:ee,cs:te,r:oe,c:ce};w[S][A].mc=se}}if(A++,A==x)return!0}),S++}),h.luckysheet_selection_range=[],Ct.pasteHandler(w,_),$("#luckysheet-copy-content").empty()}else if(y.files.length==1&&y.files[0].type.indexOf("image")>-1){Ie.insertImg(y.files[0]);return}else v=y.getData("text/plain"),Ct.pasteHandler(v);$("#luckysheet-copy-content").empty()}}else if($(g.target).closest("#luckysheet-rich-text-editor").length>0){g.preventDefault();let y=window.clipboardData;y||(y=g.originalEvent.clipboardData);let v=y.getData("text/plain");document.execCommand("insertText",!1,v)}}}),me.enablePage&&$("#luckysheet-bottom-page-next").click(function(){let g=me.pageInfo.queryExps,y=me.pageInfo.reportId,v=me.pageInfo.fields,k=me.pageInfo.mobile,b=me.pageInfo.frezon,w=me.pageInfo.currentPage,x=me.pageInfo.totalPage,C=me.pageInfo.pageUrl;Ke.addDataAjax({queryExps:g,reportId:y,fields:v,mobile:k,frezon:b,pageIndex:w,currentPage:w},h.currentSheetIndex,C,function(){if(me.pageInfo.currentPage++,me.pageInfo.totalPage==me.pageInfo.currentPage){$("#luckysheet-bottom-page-next").hide();let S=_e(a.pageInfoFull,{total:me.total,totalPage:me.pageInfo.totalPage});$("#luckysheet-bottom-page-info").html(S)}else{let S=_e(a.pageInfo,{total:me.total,totalPage:me.pageInfo.totalPage,currentPage:me.pageInfo.currentPage});$("#luckysheet-bottom-page-info").html(S)}})}).mousedown(function(g){g.stopPropagation()}),$("#luckysheet-bottom-bottom-top").click(function(){$("#luckysheet-scrollbar-y").scrollTop(0)}).mousedown(function(g){g.stopPropagation()}),$("#luckysheet-wa-editor,#luckysheet-icon-morebtn-div,.luckysheet-toolbar-button").click(function(g){this.id!="luckysheet-icon-paintformat"&&be.luckysheetPaintModelOn&&be.cancelPaintModel()})}function Wy(){let e=We(".luckysheet-multipleRange-show");e.length===void 0&&(e=[e]),e.forEach(n=>{let t=n.id.replace("luckysheet-multipleRange-show-","");h.cooperativeEdit.usernameTimeout["user"+t]===null&&(We(".username",n).style.display="none")})}var $m=$e(()=>{vm();Sl();Vl();cn();Js();Gr();jr();Ya();vr();ol();yr();Va();Kc();gl();ll();xa();zr();nr();Ha();Jt();Ka();Mo();km();gn();Wt();_l();_m();ht();Dt();Zl();pr();Pt();Oa();Ta();qt();fa();Cm();Xt();Zt();tl();Qt();Ml();El();Ua();Io();yt();Xe();Ao();qt();lu()});function Im(){let e=Q().drag;$("#luckysheet-copy-json-head").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){de()?alert(e.noMulti):U.info(e.noMulti,"");return}if(h.config.merge!=null){let o=!1;for(let s=0;s<h.luckysheet_select_save.length;s++){let u=h.luckysheet_select_save[s].row[0],d=h.luckysheet_select_save[s].row[1],f=h.luckysheet_select_save[s].column[0],m=h.luckysheet_select_save[s].column[1];if(o=Nt(h.config,u,d,f,m),o)break}if(o){de()?alert(e.noPartMerge):U.info(e.noPartMerge,"");return}}let l=zt(h.luckysheet_select_save[0]),a=[];if(l.length!=0){if(l.length==1){let o={};for(let s=0;s<l[0].length;s++)o[ze(0,s,l)]="";a.push(o)}else for(let o=1;o<l.length;o++){let s={};for(let u=0;u<l[0].length;u++)ze(0,u,l)==null?s[""]=ze(o,u,l):s[ze(0,u,l)]=ze(o,u,l);a.push(s)}Ct.copybyformat(t,JSON.stringify(a))}}),$("#luckysheet-copy-json-nohead").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){de()?alert(e.noMulti):U.info(e.noMulti,"");return}if(h.config.merge!=null){let s=!1;for(let u=0;u<h.luckysheet_select_save.length;u++){let d=h.luckysheet_select_save[u].row[0],f=h.luckysheet_select_save[u].row[1],m=h.luckysheet_select_save[u].column[0],g=h.luckysheet_select_save[u].column[1];if(s=Nt(h.config,d,f,m,g),s)break}if(s){de()?alert(e.noPartMerge):U.info(e.noPartMerge,"");return}}let l=zt(h.luckysheet_select_save[0]),a=[];if(l.length==0)return;let o=h.luckysheet_select_save[0].column[0];for(let s=0;s<l.length;s++){let u={};for(let d=0;d<l[0].length;d++)u[lt(d+o)]=ze(s,d,l);a.push(u)}Ct.copybyformat(t,JSON.stringify(a))}),$("#luckysheet-copy-array1").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){de()?alert(e.noMulti):U.info(e.noMulti,"");return}if(h.config.merge!=null){let o=!1;for(let s=0;s<h.luckysheet_select_save.length;s++){let u=h.luckysheet_select_save[s].row[0],d=h.luckysheet_select_save[s].row[1],f=h.luckysheet_select_save[s].column[0],m=h.luckysheet_select_save[s].column[1];if(o=Nt(h.config,u,d,f,m),o)break}if(o){de()?alert(e.noPartMerge):U.info(e.noPartMerge,"");return}}let l=zt(h.luckysheet_select_save[0]),a=[];if(l.length!=0){for(let o=0;o<l.length;o++)for(let s=0;s<l[0].length;s++)a.push(ze(o,s,l));Ct.copybyformat(t,JSON.stringify(a))}}),$("#luckysheet-copy-array2").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){de()?alert(e.noMulti):U.info(e.noMulti,"");return}if(h.config.merge!=null){let o=!1;for(let s=0;s<h.luckysheet_select_save.length;s++){let u=h.luckysheet_select_save[s].row[0],d=h.luckysheet_select_save[s].row[1],f=h.luckysheet_select_save[s].column[0],m=h.luckysheet_select_save[s].column[1];if(o=Nt(h.config,u,d,f,m),o)break}if(o){de()?alert(e.noPartMerge):U.info(e.noPartMerge,"");return}}let l=zt(h.luckysheet_select_save[0]),a=[];if(l.length!=0){for(let o=0;o<l.length;o++){let s=[];for(let u=0;u<l[0].length;u++)s.push(ze(o,u,l));a.push(s)}Ct.copybyformat(t,JSON.stringify(a))}}),$("#luckysheet-copy-arraymore-confirm").click(function(t){if(t.target.nodeName==="INPUT")return;if($("body .luckysheet-cols-menu").hide(),h.luckysheet_select_save.length>1){de()?alert(e.noMulti):U.info(e.noMulti,"");return}if(h.config.merge!=null){let m=!1;for(let g=0;g<h.luckysheet_select_save.length;g++){let y=h.luckysheet_select_save[g].row[0],v=h.luckysheet_select_save[g].row[1],k=h.luckysheet_select_save[g].column[0],b=h.luckysheet_select_save[g].column[1];if(m=Nt(h.config,y,v,k,b),m)break}if(m){de()?alert(e.noPartMerge):U.info(e.noPartMerge,"");return}}let l=zt(h.luckysheet_select_save[0]),a=[];if(l.length==0)return;for(let m=0;m<l.length;m++)for(let g=0;g<l[0].length;g++)a.push(l[m][g]);let o=$("#luckysheet-copy-arraymore-row").val(),s=$("#luckysheet-copy-arraymore-col").val();if(o==""&&s==""){Ct.copybyformat(t,JSON.stringify(a)),$("body .luckysheet-cols-menu").hide();return}if(o==""?o=1:(o=parseInt(o),o==null&&(o=1)),s==""?s=1:(s=parseInt(s),s==null&&(s=1)),o.toString()=="NaN"||s.toString()=="NaN"){de()?alert(e.inputCorrect):U.info(e.inputCorrect,"");return}if(o<1||s<1){de()?alert(e.notLessOne):U.info(e.notLessOne,"");return}let u=a.length,d=0,f=[];for(let m=0;m<o;m++){let g=[];for(let y=0;y<s;y++)if(g.push(a[d++]),d>=u){Ct.copybyformat(t,JSON.stringify(f)),$("body .luckysheet-cols-menu").hide();return}f.push(g)}Ct.copybyformat(t,JSON.stringify(f))}),$("#luckysheet-copy-diagonal").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){de()?alert(e.noMulti):U.info(e.noMulti,"");return}if(h.config.merge!=null){let s=!1;for(let u=0;u<h.luckysheet_select_save.length;u++){let d=h.luckysheet_select_save[u].row[0],f=h.luckysheet_select_save[u].row[1],m=h.luckysheet_select_save[u].column[0],g=h.luckysheet_select_save[u].column[1];if(s=Nt(h.config,d,f,m,g),s)break}if(s){de()?alert(e.noPartMerge):U.info(e.noPartMerge,"");return}}let l=zt(h.luckysheet_select_save[0]),a=[];if(l.length==0)return;let o=l[0].length;for(let s=0;s<l.length&&!(s>=o);s++)a.push(l[s][s]);Ct.copybyformat(t,JSON.stringify(a))}),$("#luckysheet-copy-antidiagonal").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){de()?alert(e.noMulti):U.info(e.noMulti,"");return}if(h.config.merge!=null){let s=!1;for(let u=0;u<h.luckysheet_select_save.length;u++){let d=h.luckysheet_select_save[u].row[0],f=h.luckysheet_select_save[u].row[1],m=h.luckysheet_select_save[u].column[0],g=h.luckysheet_select_save[u].column[1];if(s=Nt(h.config,d,f,m,g),s)break}if(s){de()?alert(e.noPartMerge):U.info(e.noPartMerge,"");return}}let l=zt(h.luckysheet_select_save[0]),a=[];if(l.length==0)return;let o=l[0].length;for(let s=0;s<l.length&&!(s>=o);s++)a.push(l[s][o-s-1]);Ct.copybyformat(t,JSON.stringify(a))}),$("#luckysheet-copy-diagonaloffset").click(function(t){if(t.target.nodeName==="INPUT")return;if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){de()?alert(e.noMulti):U.info(e.noMulti,"");return}if(h.config.merge!=null){let u=!1;for(let d=0;d<h.luckysheet_select_save.length;d++){let f=h.luckysheet_select_save[d].row[0],m=h.luckysheet_select_save[d].row[1],g=h.luckysheet_select_save[d].column[0],y=h.luckysheet_select_save[d].column[1];if(u=Nt(h.config,f,m,g,y),u)break}if(u){de()?alert(e.noPartMerge):U.info(e.noPartMerge,"");return}}let l=zt(h.luckysheet_select_save[0]),a=[];if(l.length==0)return;let o=l[0].length,s=parseInt($("#luckysheet-copy-diagonaloffset-value").val());if(s.toString()=="NaN"){de()?alert(e.inputCorrect):U.info(e.inputCorrect,"");return}if(s<0){de()?alert(e.offsetColumnLessZero):U.info(e.offsetColumnLessZero,"");return}s==null&&(s=1);for(let u=0;u<l.length&&!(u+s>=o);u++)a.push(l[u][u+s]);Ct.copybyformat(t,JSON.stringify(a))}),$("#luckysheet-copy-boolvalue").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){de()?alert(e.noMulti):U.info(e.noMulti,"");return}if(h.config.merge!=null){let o=!1;for(let s=0;s<h.luckysheet_select_save.length;s++){let u=h.luckysheet_select_save[s].row[0],d=h.luckysheet_select_save[s].row[1],f=h.luckysheet_select_save[s].column[0],m=h.luckysheet_select_save[s].column[1];if(o=Nt(h.config,u,d,f,m),o)break}if(o){de()?alert(e.noPartMerge):U.info(e.noPartMerge,"");return}}let l=zt(h.luckysheet_select_save[0]),a=[];if(l.length!=0){for(let o=0;o<l.length;o++){let s=[];for(let u=0;u<l[0].length;u++){let d=!1,f;P(l[o][u])=="object"?f=l[o][u].v:f=l[o][u],f==null||f==""?d=!1:(f=parseInt(f),f==null||f>0?d=!0:d=!1),s.push(d)}a.push(s)}Ct.copybyformat(t,JSON.stringify(a))}}),$("#luckysheet-matrix-turn-up").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){de()?alert(e.noMulti):U.info(e.noMulti,"");return}let l=zt(h.luckysheet_select_save[0]);if(l.length==0)return;let a=[];for(let o=l.length-1;o>=0;o--){let s=[];for(let u=0;u<l[0].length;u++){let d="";l[o]!=null&&l[o][u]!=null&&(d=l[o][u]),s.push(d)}a.push(s)}we.controlHandler(a)}),$("#luckysheet-matrix-turn-left").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){de()?alert(e.noMulti):U.info(e.noMulti,"");return}let l=zt(h.luckysheet_select_save[0]);if(l.length==0)return;let a=[];for(let o=0;o<l.length;o++){let s=[];for(let u=l[0].length-1;u>=0;u--){let d="";l[o]!=null&&l[o][u]!=null&&(d=l[o][u]),s.push(d)}a.push(s)}we.controlHandler(a)}),$("#luckysheet-matrix-turn-cw").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){de()?alert(e.noMulti):U.info(e.noMulti,"");return}let l=zt(h.luckysheet_select_save[0]);if(l.length==0)return;let a=[];for(let o=0;o<l[0].length;o++){let s=[];for(let u=l.length-1;u>=0;u--){let d="";l[u]!=null&&l[u][o]!=null&&(d=l[u][o]),s.push(d)}a.push(s)}we.controlHandlerD(a)}),$("#luckysheet-matrix-turn-anticw").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){de()?alert(e.noMulti):U.info(e.noMulti,"");return}let l=zt(h.luckysheet_select_save[0]);if(l.length==0)return;let a=[];for(let o=l[0].length-1;o>=0;o--){let s=[];for(let u=0;u<l.length;u++){let d="";l[u]!=null&&l[u][o]!=null&&(d=l[u][o]),s.push(d)}a.push(s)}we.controlHandlerD(a)}),$("#luckysheet-matrix-turn-trans").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){de()?alert(e.noMulti):U.info(e.noMulti,"");return}let l=zt(h.luckysheet_select_save[0]);if(l.length==0)return;let a=[];for(let o=0;o<l[0].length;o++){let s=[];for(let u=0;u<l.length;u++){let d="";l[u]!=null&&l[u][o]!=null&&(d=l[u][o]),s.push(d)}a.push(s)}we.controlHandlerD(a)});let n=function(t,l){if(t==0)return 0;let a,o;for(a=t,o=(l-1)*a/l+t/(Math.pow(a,l-1)*l);Math.abs(o-a)>1e-6;)a=o,o=(l-1)*a/l+t/(Math.pow(a,l-1)*l);return o};$("#luckysheet-matrix-cal-confirm").click(function(t){if(t.target.nodeName==="INPUT"||t.target.nodeName==="SELECT")return;if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){de()?alert(e.noMulti):U.info(e.noMulti,"");return}let l=zt(h.luckysheet_select_save[0]);if(l.length==0)return;let a=$("#luckysheet-matrix-cal-type").val(),o=parseInt($("#luckysheet-matrix-cal-value").val());if(o.toString()=="NaN"){de()?alert(e.inputCorrect):U.info(e.inputCorrect,"");return}o==null&&(o=2);let s=[];for(let u=0;u<l.length;u++){let d=[];for(let f=0;f<l[0].length;f++){let m="";l[u]!=null&&l[u][f]!=null&&(m=l[u][f],parseInt(m)!=null&&l[u][f].ct!=null&&l[u][f].ct.t=="n"&&(a=="minus"?m.v=m.v-o:a=="multiply"?m.v=m.v*o:a=="divided"?m.v=Al(m.v/o,4):a=="power"?m.v=Math.pow(m.v,o):a=="root"?o==2?m.v=Al(Math.sqrt(m.v),4):o==3&&Math.cbrt?m.v=Al(Math.cbrt(m.v),4):m.v=Al(n(m.v,o),4):a=="log"?m.v=Al(Math.log(m.v)*1e4/Math.log(Math.abs(o)),4):m.v=m.v+o,m.v==null?m.m="":m.m=m.v.toString())),d.push(m)}s.push(d)}we.controlHandler(s)}),$("#luckysheet-matrix-delezero-row").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){de()?alert(e.noMulti):U.info(e.noMulti,"");return}let l=zt(h.luckysheet_select_save[0]);if(l.length==0)return;let a=[],o=l[0].length;for(let s=0;s<l.length;s++){let u=[],d=!0,f=!0;for(let g=0;g<o;g++){let y="";if(l[s]!=null&&l[s][g]!=null){if(y=l[s][g],(y.v=="0"||y.v==0)&&d)continue;d=!1}u.push(y)}let m=[];if(u.length==o)m=u;else{for(let y=u.length-1;y>=0;y--){let v="";if(u[y]!=null){if(v=u[y],(v.v=="0"||v.v==0)&&f)continue;f=!1}m.unshift(v)}let g=o-m.length;for(let y=0;y<g;y++)m.push("")}a.push(m)}we.controlHandler(a)}),$("#luckysheet-matrix-delezero-column").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){de()?alert(e.noMulti):U.info(e.noMulti,"");return}let l=zt(h.luckysheet_select_save[0]);if(l.length==0)return;let a=[],o=l.length,s=l[0].length;for(let d=0;d<s;d++){let f=[],m=!0,g=!0;for(let v=0;v<o;v++){let k="";if(l[v]!=null&&l[v][d]!=null){if(k=l[v][d],(k.v=="0"||k.v==0)&&m)continue;m=!1}f.push(k)}let y=[];if(f.length==o)y=f;else{for(let k=f.length-1;k>=0;k--){let b="";if(f[k]!=null){if(b=f[k],(b.v=="0"||b.v==0)&&g)continue;g=!1}y.unshift(b)}let v=o-y.length;for(let k=0;k<v;k++)y.push("")}a.push(y)}let u=[];for(let d=0;d<a[0].length;d++){let f=[];for(let m=0;m<a.length;m++){let g="";a[m]!=null&&a[m][d]!=null&&(g=a[m][d]),f.push(g)}u.push(f)}we.controlHandler(u)}),$("#luckysheet-matrix-delerpt-row").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){de()?alert(e.noMulti):U.info(e.noMulti,"");return}let l=zt(h.luckysheet_select_save[0]);if(l.length==0)return;let a=[],o=l[0].length;for(let s=0;s<l.length;s++){let u=[],d={};for(let m=0;m<o;m++){let g=null;l[s]!=null&&l[s][m]!=null&&(g=l[s][m],g.v in d||(d[g.v]=[]),d[g.v].push(g))}for(let m=0;m<o;m++){let g=null;l[s]!=null&&l[s][m]!=null&&(g=l[s][m],d[g.v].length==1&&u.push(g))}let f=o-u.length;for(let m=0;m<f;m++)u.push(null);a.push(u)}we.controlHandler(a)}),$("#luckysheet-matrix-delerpt-column").click(function(t){if($("body .luckysheet-cols-menu").hide(),rt(),h.luckysheet_select_save.length>1){de()?alert(e.noMulti):U.info(e.noMulti,"");return}let l=zt(h.luckysheet_select_save[0]);if(l.length==0)return;let a=[],o=l.length,s=l[0].length;for(let d=0;d<s;d++){let f=[],m={};for(let y=0;y<o;y++){let v=null;l[y]!=null&&l[y][d]!=null&&(v=l[y][d],v.v in m||(m[v.v]=[]),m[v.v].push(v))}for(let y=0;y<o;y++){let v=null;l[y]!=null&&l[y][d]!=null&&(v=l[y][d],m[v.v].length==1&&f.push(v))}a1=f;let g=o-a1.length;for(let y=0;y<g;y++)a1.push(null);a.push(a1)}let u=[];for(let d=0;d<a[0].length;d++){let f=[];for(let m=0;m<a.length;m++){let g=null;a[m]!=null&&a[m][d]!=null&&(g=a[m][d]),f.push(g)}u.push(f)}we.controlHandler(u)})}var Rm=$e(()=>{Ka();ht();Pt();Zt();tl();Qt();yt();Xe()});function Mm(){if(!nu){nu=!0;let t=Q(),l=t.toolbar;$("#luckysheetsheetconfigcolorur").spectrum({showPalette:!0,preferredFormat:"hex",clickoutFiresChange:!1,showInitial:!0,showInput:!0,flat:!0,hideAfterPaletteSelect:!1,showSelectionPalette:!0,maxPaletteSize:10,cancelText:t.sheetconfig.cancelText,chooseText:t.sheetconfig.chooseText,togglePaletteMoreText:l.toolMore,togglePaletteLessText:l.toolLess,clearText:l.clearText,noColorSelectedText:l.noColorSelectedText,palette:[["rgb(0, 0, 0)","rgb(67, 67, 67)","rgb(102, 102, 102)","rgb(204, 204, 204)","rgb(217, 217, 217)","rgb(255, 255, 255)"],["rgb(152, 0, 0)","rgb(255, 0, 0)","rgb(255, 153, 0)","rgb(255, 255, 0)","rgb(0, 255, 0)","rgb(0, 255, 255)","rgb(74, 134, 232)","rgb(0, 0, 255)","rgb(153, 0, 255)","rgb(255, 0, 255)"],["rgb(230, 184, 175)","rgb(244, 204, 204)","rgb(252, 229, 205)","rgb(255, 242, 204)","rgb(217, 234, 211)","rgb(208, 224, 227)","rgb(201, 218, 248)","rgb(207, 226, 243)","rgb(217, 210, 233)","rgb(234, 209, 220)"],["rgb(221, 126, 107)","rgb(234, 153, 153)","rgb(249, 203, 156)","rgb(255, 229, 153)","rgb(182, 215, 168)","rgb(162, 196, 201)","rgb(164, 194, 244)","rgb(159, 197, 232)","rgb(180, 167, 214)","rgb(213, 166, 189)"],["rgb(204, 65, 37)","rgb(224, 102, 102)","rgb(246, 178, 107)","rgb(255, 217, 102)","rgb(147, 196, 125)","rgb(118, 165, 175)","rgb(109, 158, 235)","rgb(111, 168, 220)","rgb(142, 124, 195)","rgb(194, 123, 160)"],["rgb(166, 28, 0)","rgb(204, 0, 0)","rgb(230, 145, 56)","rgb(241, 194, 50)","rgb(106, 168, 79)","rgb(69, 129, 142)","rgb(60, 120, 216)","rgb(61, 133, 198)","rgb(103, 78, 167)","rgb(166, 77, 121)"],["rgb(91, 15, 0)","rgb(102, 0, 0)","rgb(120, 63, 4)","rgb(127, 96, 0)","rgb(39, 78, 19)","rgb(12, 52, 61)","rgb(28, 69, 135)","rgb(7, 55, 99)","rgb(32, 18, 77)","rgb(76, 17, 48)"],["#c1232b","#27727b","#fcce10","#e87c25","#b5c334","#fe8463","#9bca63","#fad860","#f3a43b","#60c0dd","#d7504b","#c6e579","#f4e001","#f0805a","#26c0c0","#c12e34","#e6b600","#0098d9","#2b821d","#005eaa","#339ca8","#cda819","#32a487","#3fb1e3","#6be6c1","#626c91","#a0a7e6","#c4ebad","#96dee8"]],change:function(a){let o=$(this);a!=null?a=a.toHexString():a="rgb(0, 0, 0)";let s=null;pl.find(".luckysheet-sheets-item-color").length>0&&(s=pl.find(".luckysheet-sheets-item-color").css("background-color")),pl.find(".luckysheet-sheets-item-color").remove(),pl.append('<div class="luckysheet-sheets-item-color" style=" position: absolute; width: 100%; height: 3px; bottom: 0px; left: 0px; background-color: '+a+';"></div>');let u=K(h.currentSheetIndex);if(h.luckysheetfile[u].color=a,ne.saveParam("all",h.currentSheetIndex,a,{k:"color"}),h.clearjfundo){let d={};d.type="sheetColor",d.sheetIndex=h.currentSheetIndex,d.oldcolor=s,d.color=a,h.jfundo.length=0,h.jfredo.push(d)}}}),$("#luckysheetsheetconfigcolorreset").click(function(){let a=null;pl.find(".luckysheet-sheets-item-color").length>0&&(a=pl.find(".luckysheet-sheets-item-color").css("background-color")),pl.find(".luckysheet-sheets-item-color").remove();let o=K(h.currentSheetIndex);if(h.luckysheetfile[o].color=null,ne.saveParam("all",h.currentSheetIndex,null,{k:"color"}),h.clearjfundo){let s={};s.type="sheetColor",s.sheetIndex=h.currentSheetIndex,s.oldcolor=a,s.color=null,h.jfundo.length=0,h.jfredo.push(s)}})}let e=K(h.currentSheetIndex);h.luckysheetfile[e].color!=null&&h.luckysheetfile[e].color.length>0&&$("#luckysheetsheetconfigcolorur").spectrum("set",h.luckysheetfile[e].color),$("#luckysheetsheetconfigcolorur").parent().find("span, div, button, input, a").addClass("luckysheet-mousedown-cancel");let n=me.sheetRightClickConfig;Object.values(n).every(t=>!t)||setTimeout(function(){ml($("#luckysheet-rightclick-sheet-menu"),pl.offset().left+pl.width(),pl.offset().top-18,"leftbottom")},1)}function Yy(){let e=ve.getSheetByIndex();To(e),e.isPivotTable&&(h.luckysheetcurrentisPivotTable=!1,$("#luckysheet-modal-dialog-slider-pivot").hide())}function Em(){let n=Q().sheetconfig;nu=!1,$("#luckysheet-sheet-area").on("mousedown","div.luckysheet-sheets-item",function(f){if(de())return;let m=$(this),g=$(f.target),y=g.closest(".luckysheet-sheets-item");f.which=="3"&&setTimeout(()=>{Fm(m,g,f),pl=y,Mm()},0),y.hasClass("luckysheet-sheets-item-active")&&y.find(".luckysheet-sheets-item-name").attr("contenteditable")=="false"&&(Am=setTimeout(function(){h.luckysheet_sheet_move_status=!0,h.luckysheet_sheet_move_data={},h.luckysheet_sheet_move_data.widthlist=[],$("#luckysheet-sheet-area div.luckysheet-sheets-item:visible").each(function(b){b==0?h.luckysheet_sheet_move_data.widthlist.push(parseInt($(this).outerWidth())):h.luckysheet_sheet_move_data.widthlist.push(parseInt($(this).outerWidth())+h.luckysheet_sheet_move_data.widthlist[b-1])}),h.luckysheet_sheet_move_data.curindex=$("#luckysheet-sheet-area div.luckysheet-sheets-item").index(y);let v=f.pageX;h.luckysheet_sheet_move_data.curleft=v-y.offset().left,h.luckysheet_sheet_move_data.pageX=v,h.luckysheet_sheet_move_data.activeobject=y,h.luckysheet_sheet_move_data.cursorobject=g;let k=y.clone().css("visibility","hidden").attr("id","luckysheet-sheets-item-clone");y.after(k),y.css({position:"absolute",opacity:.8,cursor:"move",transition:"initial","z-index":10})},200))}).on("click","div.luckysheet-sheets-item",function(f){if(de())return;let m=$(this),g=$(f.target);Fm(m,g,f),ne.keepHighLightBox()});let t=function(f){h.allowEdit===!1||!me.sheetRightClickConfig.rename||(f.attr("contenteditable","true").addClass("luckysheet-mousedown-cancel").data("oldtxt",f.text()),setTimeout(function(){Nd(f.get(0))},1))};$("#luckysheet-sheet-area").on("dblclick","span.luckysheet-sheets-item-name",function(f){t($(this))});let l=!0;$("#luckysheet-sheet-area").on("compositionstart","span.luckysheet-sheets-item-name",()=>l=!1),$("#luckysheet-sheet-area").on("compositionend","span.luckysheet-sheets-item-name",()=>l=!0),$("#luckysheet-sheet-area").on("input","span.luckysheet-sheets-item-name",function(){if(h.allowEdit===!1||h.limitSheetNameLength===!1)return;let f=h.defaultSheetNameMaxLength;f!==0&&setTimeout(()=>{l&&$(this).text().length>=f&&setTimeout(()=>{$(this).text($(this).text().substring(0,f));let m=window.getSelection();m.selectAllChildren(this),m.collapseToEnd()},0)},0)}),$("#luckysheet-sheet-area").on("blur","span.luckysheet-sheets-item-name",function(f){if(h.allowEdit===!1)return;let m=$(this),g=m.text(),y=m.data("oldtxt");if($(this).text().length===0){U.info("",n.sheetNamecannotIsEmptyError),m.text(y).attr("contenteditable","false");return}if(g.length>31||g.charAt(0)=="'"||g.charAt(g.length-1)=="'"||/[:\:\\\/?\?\*\[\]]+/.test(g)){U.info("",n.sheetNameSpecCharError),m.text(y).attr("contenteditable","false");return}let v=K(h.currentSheetIndex);for(let k=0;k<h.luckysheetfile.length;k++)if(v!=k&&h.luckysheetfile[k].name==g){de()?alert(n.tipNameRepeat):U.info("",n.tipNameRepeat),m.text(y).attr("contenteditable","false");return}if(ve.sheetArrowShowAndHide(),h.luckysheetfile[v].name=g,ne.saveParam("all",h.currentSheetIndex,g,{k:"name"}),m.attr("contenteditable","false").removeClass("luckysheet-mousedown-cancel"),h.clearjfundo){let k={};k.type="sheetName",k.sheetIndex=h.currentSheetIndex,k.oldtxt=y,k.txt=g,h.jfundo.length=0,h.jfredo.push(k)}Ke.createHookFunction("sheetEditNameAfter",{i:h.luckysheetfile[v].index,oldName:y,newName:g})}),$("#luckysheet-sheet-area").on("keydown","span.luckysheet-sheets-item-name",function(f){if(h.allowEdit===!1)return;let m=f.keyCode,g=$(this);if(m==at.ENTER){let y=K(h.currentSheetIndex);Dm=h.luckysheetfile[y].name||Dm,h.luckysheetfile[y].name=g.text(),g.attr("contenteditable","false")}}),$("#luckysheetsheetconfigrename").click(function(){var f=pl.find("span.luckysheet-sheets-item-name");!Ke.createHookFunction("sheetEditNameBefore",{i:pl.data("index"),name:f.text()})||(t(pl.find("span.luckysheet-sheets-item-name")),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide())}),$("#luckysheetsheetconfigshow").click(function(){$("#luckysheet-sheets-m").click(),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-rightclick-sheet-menu").hide()}),$("#luckysheetsheetconfigmoveleft").click(function(){pl.prevAll(":visible").length>0&&(pl.insertBefore(pl.prevAll(":visible").eq(0)),ve.reOrderAllSheet()),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide()}),$("#luckysheetsheetconfigmoveright").click(function(){pl.nextAll(":visible").length>0&&(pl.insertAfter(pl.nextAll(":visible").eq(0)),ve.reOrderAllSheet()),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide()}),$("#luckysheetsheetconfigdelete").click(function(f){if($("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide(),$("#luckysheet-sheet-container-c .luckysheet-sheets-item:visible").length<=1){de()?alert(n.noMoreSheet):U.info(n.noMoreSheet,"");return}let m=K(h.currentSheetIndex);U.confirm(n.confirmDelete+"\u3010"+h.luckysheetfile[m].name+"\u3011\uFF1F","<span style='color:#9e9e9e;font-size:12px;'>"+n.redoDelete+"</span>",function(){ve.deleteSheet(pl.data("index"))},null),$("#luckysheet-input-box").removeAttr("style")}),$("#luckysheetsheetconfigcopy").click(function(f){ve.copySheet(pl.data("index"),f),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide()}),$("#luckysheetsheetconfighide").click(function(){if($("#luckysheet-sheet-area div.luckysheet-sheets-item:visible").length==1){de()?alert(n.noHide):U.info("",n.noHide);return}ve.setSheetHide(pl.data("index")),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide()}),$("#luckysheet-sheets-add").click(function(f){parseInt($("#luckysheet-input-box").css("top"))>0&&p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),ve.addNewSheet(f),ve.locationSheet(),$("#luckysheet-input-box").removeAttr("style")});let a=null,o=0,s=0,u=150;$("#luckysheet-sheets-leftscroll").click(function(){let f=$("#luckysheet-sheet-container-c");o=f.scrollLeft(),s=f.scrollLeft()-u,s<=0&&$("#luckysheet-sheet-container .docs-sheet-fade-left").hide(),$("#luckysheet-sheet-container .docs-sheet-fade-right").show(),clearInterval(a),a=setInterval(function(){o-=4,f.scrollLeft(o),o<=s&&clearInterval(a)},1)}),$("#luckysheet-sheets-rightscroll").click(function(){let f=$("#luckysheet-sheet-container-c");o=f.scrollLeft(),s=f.scrollLeft()+u,o>0&&$("#luckysheet-sheet-container .docs-sheet-fade-right").hide(),$("#luckysheet-sheet-container .docs-sheet-fade-left").show(),clearInterval(a),a=setInterval(function(){o+=4,f.scrollLeft(o),o>=s&&clearInterval(a)},1)});let d=!0;$("#luckysheet-sheets-m").click(function(f){parseInt($("#luckysheet-input-box").css("top"))>0&&p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),$("#luckysheet-sheet-list").html("");let m="";for(let k=0;k<h.luckysheetfile.length;k++){let b=h.luckysheetfile[k],w="",x="";b.status==1&&(w='<i class="fa fa-check" aria-hidden="true"></i>'),b.hide==1&&(w='<i class="fa fa-low-vision" aria-hidden="true"></i>',x+="color:#BBBBBB;"),b.color!=null&&b.color.length>0&&(x+="border-right:4px solid "+b.color+";"),m+=_e(Eu,{index:b.index,name:b.name,icon:w,style:x})}d?($("#"+h.container).append(_e(Fu,{item:m})),$("#luckysheet-sheet-list").on("click",".luckysheet-cols-menuitem",function(k){if(de()){alert(n.chartEditNoOpt);return}let b=$(this),w=b.data("index");b.data("index")!=h.currentSheetIndex&&(ve.setSheetShow(w),ve.locationSheet()),ne.keepHighLightBox()}),d=!1):$("#luckysheet-sheet-list").html(m);let g=$("#luckysheet-sheet-list"),y=$(this).offset().left-$("#"+h.container).offset().left,v=$(this).height()+$("#luckysheet-sta-content").height()+12;g.css({left:y+"px",bottom:v+"px"}).show(),$("#luckysheet-input-box").removeAttr("style")}),me.pager&&Gc(me.pager)}var nu,pl,Am,Dm,Fm,Nm=$e(()=>{gl();ll();Wt();ht();Dt();Pt();qt();qr();tl();gn();yt();Xe();Sl();wa();El();nr();_l();nu=!1,pl=null,Am=null,Dm="";Fm=function(e,n,t){if($("#luckysheet-dataVerificationRange-dialog").is(":visible")){window.alert("\u9009\u62E9\u5355\u5143\u683C\u8303\u56F4\u7A97\u53E3\u6253\u5F00\u65F6\uFF0C\u4E0D\u80FD\u5207\u6362sheet!");return}clearTimeout(Am),!(n.hasClass("luckysheet-sheets-item-name")&&n.attr("contenteditable")=="true")&&(p.rangestart||p.rangedrag_column_start||p.rangedrag_row_start||p.israngeseleciton()?setTimeout(function(){p.setCaretPosition(p.rangeSetValueTo.get(0),0,p.rangeSetValueTo.text().length),p.createRangeHightlight(),$("#luckysheet-input-box-index").find(".luckysheet-input-box-index-sheettxt").remove().end().prepend("<span class='luckysheet-input-box-index-sheettxt'>"+ve.getSheetName(p.rangetosheet)+"!</span>").show(),$("#luckysheet-input-box-index").css({left:$("#luckysheet-input-box").css("left"),top:parseInt($("#luckysheet-input-box").css("top"))-20+"px","z-index":$("#luckysheet-input-box").css("z-index")})},1):(parseInt($("#luckysheet-input-box").css("top"))>0&&p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),$("#luckysheet-input-box").removeAttr("style"),$("#luckysheet-formula-functionrange .luckysheet-formula-functionrange-highlight").remove()),$("#luckysheet-sheet-area div.luckysheet-sheets-item").removeClass("luckysheet-sheets-item-active"),e.addClass("luckysheet-sheets-item-active"),nl(t),ve.changeSheet(e.data("index")),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide(),(n.hasClass("luckysheet-sheets-item-menu")||n.hasClass("fa-sort-desc")||t.which=="3")&&(pl=n.closest(".luckysheet-sheets-item"),Mm()),$("#luckysheet-modal-dialog-slider-protection").is(":visible")&&Yy(),$t())}});function Pm(){let n=Q().formula;$("#luckysheet-functionbox-cell").focus(function(){if(!de()&&h.luckysheet_select_save.length>0){let t=h.luckysheet_select_save[h.luckysheet_select_save.length-1],l=t.row_focus,a=t.column_focus;Dl(l,a,h.flowdata,null,!0),p.rangeResizeTo=$("#luckysheet-functionbox-cell")}}).keydown(function(t){if(de())return;let l=t.ctrlKey,a=t.altKey,o=t.shiftKey,s=t.keyCode,u=$("#luckysheet-input-box");if(s==at.ENTER&&parseInt(u.css("top"))>0)$("#luckysheet-formula-search-c").is(":visible")&&p.searchFunctionCell!=null?p.searchFunctionEnter($("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item-active")):(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),h.luckysheet_select_save=[{row:[h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[0]],column:[h.luckysheetCellUpdate[1],h.luckysheetCellUpdate[1]],row_focus:h.luckysheetCellUpdate[0],column_focus:h.luckysheetCellUpdate[1]}],Gt("down",1,"rangeOfSelect"),$("#luckysheet-rich-text-editor").focus()),t.preventDefault();else if(s==at.ESC&&parseInt(u.css("top"))>0)p.dontupdate(),Gt("down",0,"rangeOfSelect"),$("#luckysheet-rich-text-editor").focus(),t.preventDefault();else if(s==at.F4&&parseInt(u.css("top"))>0)p.setfreezonFuc(t),t.preventDefault();else if(s==at.UP&&parseInt(u.css("top"))>0){if($("#luckysheet-formula-search-c").is(":visible")){let d=$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item-active").prev();d.length==0&&(d=$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item").last()),$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item").removeClass("luckysheet-formula-search-item-active"),d.addClass("luckysheet-formula-search-item-active"),t.preventDefault()}}else if(s==at.DOWN&&parseInt(u.css("top"))>0){if($("#luckysheet-formula-search-c").is(":visible")){let d=$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item-active").next();d.length==0&&(d=$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item").first()),$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item").removeClass("luckysheet-formula-search-item-active"),d.addClass("luckysheet-formula-search-item-active"),t.preventDefault()}}else s==at.LEFT&&parseInt(u.css("top"))>0?p.rangeHightlightselected($("#luckysheet-functionbox-cell")):s==at.RIGHT&&parseInt(u.css("top"))>0?p.rangeHightlightselected($("#luckysheet-functionbox-cell")):(!(s>=112&&s<=123||s<=46||s==144||s==108||t.ctrlKey||t.altKey||t.shiftKey&&(s==37||s==38||s==39||s==40))||s==8||s==32||s==46||t.ctrlKey&&s==86)&&p.functionInputHanddler($("#luckysheet-rich-text-editor"),$("#luckysheet-functionbox-cell"),s)}).click(function(){de()||p.rangeHightlightselected($("#luckysheet-functionbox-cell"))}),$("#luckysheet-wa-functionbox-cancel").click(function(){!$(this).hasClass("luckysheet-wa-calculate-active")||($("#luckysheet-search-formula-parm").is(":visible")&&$("#luckysheet-search-formula-parm").hide(),$("#luckysheet-search-formula-parm-select").is(":visible")&&$("#luckysheet-search-formula-parm-select").hide(),p.dontupdate(),Gt("down",0,"rangeOfSelect"))}),$("#luckysheet-wa-functionbox-confirm").click(function(){!$(this).hasClass("luckysheet-wa-calculate-active")||($("#luckysheet-search-formula-parm").is(":visible")&&$("#luckysheet-search-formula-parm").hide(),$("#luckysheet-search-formula-parm-select").is(":visible")&&$("#luckysheet-search-formula-parm-select").hide(),p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Gt("down",0,"rangeOfSelect"))}),$("#luckysheet-wa-functionbox-fx").click(function(){if(h.luckysheet_select_save.length==0){de()?alert(n.tipSelectCell):U.info(n.tipSelectCell,"");return}let t=h.luckysheet_select_save[h.luckysheet_select_save.length-1],l=t.row_focus,a=t.column_focus;Dl(l,a,h.flowdata);let o=h.flowdata[l][a];if(o!=null&&o.f!=null){let s=p.getfunctionParam(o.f);s.fn!=null?dn.formulaParmDialog(s.fn,s.param):dn.formulaListDialog()}else $("#luckysheet-rich-text-editor").html('<span dir="auto" class="luckysheet-formula-text-color">=</span>'),$("#luckysheet-functionbox-cell").html($("#luckysheet-rich-text-editor").html()),dn.formulaListDialog();dn.init()}),$("#luckysheet-formula-functionrange").on("mousedown",".luckysheet-copy",function(t){p.rangeMove=!0,h.luckysheet_scroll_status=!0,p.rangeMoveObj=$(this).parent(),p.rangeMoveIndex=$(this).parent().attr("rangeindex");let l=nt(t.pageX,t.pageY),a=l[0]+$("#luckysheet-cell-main").scrollLeft(),o=l[1]+$("#luckysheet-cell-main").scrollTop();$("#luckysheet-formula-functionrange-highlight-"+p.rangeMoveIndex).find(".luckysheet-selection-copy-hc").css("opacity",.13);let s=$(this).data("type");s=="top"?o+=3:s=="right"?a-=3:s=="bottom"?o-=3:s=="left"&&(a+=3);let u=xt(o)[2],d=bt(a)[2];p.rangeMovexy=[u,d],$("#luckysheet-sheettable").css("cursor","move"),t.stopPropagation()}),$("#luckysheet-formula-functionrange").on("mousedown",".luckysheet-highlight",function(t){p.rangeResize=$(this).data("type"),p.rangeResizeIndex=$(this).parent().attr("rangeindex");let l=nt(t.pageX,t.pageY),a=$("#luckysheet-cell-main").scrollLeft(),o=$("#luckysheet-cell-main").scrollTop(),s=l[0]+a,u=l[1]+o;p.rangeResizeObj=$(this).parent(),$("#luckysheet-formula-functionrange-highlight-"+p.rangeResizeIndex).find(".luckysheet-selection-copy-hc").css("opacity",.13),p.rangeResize=="lt"?(s+=3,u+=3):p.rangeResize=="lb"?(s+=3,u-=3):p.rangeResize=="rt"?(s-=3,u+=3):p.rangeResize=="rb"&&(s-=3,u-=3);let d=xt(u),f=d[1],m=d[0],g=d[2],y=bt(s),v=y[1],k=y[0],b=y[2],w=p.rangeResizeObj.position();p.rangeResizexy=[k,m,p.rangeResizeObj.width(),p.rangeResizeObj.height(),w.left+a,w.top+o,v,f],p.rangeResizeWinH=$("#luckysheet-cell-main")[0].scrollHeight,p.rangeResizeWinW=$("#luckysheet-cell-main")[0].scrollWidth,h.luckysheet_scroll_status=!0,t.stopPropagation()})}var Lm=$e(()=>{ol();xa();Wt();Ha();Zc();Zl();Pt();qt();tl();yt();Xe()});function zm(){$("#luckysheet-rows-h").mousedown(function(e){if(!Fi(h.currentSheetIndex))return;He.removeActivePs(),($("#luckysheet-modal-dialog-activeImage").is(":visible")||$("#luckysheet-modal-dialog-cropping").is(":visible"))&&Ie.cancelActiveImgItem();let t=nt(e.pageX,e.pageY)[1]+$("#luckysheet-rows-h").scrollTop(),l=xt(t),a=l[1],o=l[0],s=l[2],u=h.visibledatacolumn.length-1,d=h.visibledatacolumn[u],f=0;if($("#luckysheet-rightclick-menu").hide(),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide(),e.which=="3"){let k=!1;for(let b=0;b<h.luckysheet_select_save.length;b++){let w=h.luckysheet_select_save[b];if(w.row!=null&&s>=w.row[0]&&s<=w.row[1]&&w.column[0]==0&&w.column[1]==h.flowdata[0].length-1){k=!0;break}}if(k)return}let m=o,g=a-o-1,y=[s,s];h.luckysheet_scroll_status=!0;let v=$("#luckysheet-input-box");if(parseInt(v.css("top"))>0)if(p.rangestart||p.rangedrag_column_start||p.rangedrag_row_start||p.israngeseleciton()||$("#luckysheet-ifFormulaGenerator-multiRange-dialog").is(":visible")){let k=be.mergeMoveMain([0,u],y,{row_focus:s,column_focus:0},m,g,f,d);if(k!=null&&(y=k[1],m=k[2],g=k[3]),e.shiftKey){let b=p.func_selectedrange,w=0,x=0,C=[];b.top>o?(w=o,x=b.top+b.height-o,b.row[1]>b.row_focus&&(b.row[1]=b.row_focus),C=[s,b.row[1]]):b.top==o?(w=o,x=b.top+b.height-o,C=[s,b.row[0]]):(w=b.top,x=a-b.top-1,b.row[0]<b.row_focus&&(b.row[0]=b.row_focus),C=[b.row[0],s]);let S=be.mergeMoveMain([0,u],C,{row_focus:s,column_focus:0},w,x,f,d);S!=null&&(C=S[1],w=S[2],x=S[3]),b.row=C,b.top_move=w,b.height_move=x,p.func_selectedrange=b}else if(e.ctrlKey&&$("#luckysheet-rich-text-editor").find("span").last().text()!=","){let b=$("#luckysheet-rich-text-editor").text()+",";if(b.length>0&&b.substr(0,1)=="="){if(b=p.functionHTMLGenerate(b),window.getSelection){let w=window.getSelection();p.functionRangeIndex=[$(w.anchorNode).parent().index(),w.anchorOffset]}else{let w=document.selection.createRange();p.functionRangeIndex=w}$("#luckysheet-rich-text-editor").html(b),p.canceFunctionrangeSelected(),p.createRangeHightlight()}p.rangestart=!1,p.rangedrag_column_start=!1,p.rangedrag_row_start=!1,$("#luckysheet-functionbox-cell").html(b),p.rangeHightlightselected($("#luckysheet-rich-text-editor")),p.israngeseleciton(),p.func_selectedrange={left:Mt(0)[0],width:Mt(0)[1]-Mt(0)[0]-1,top:m,height:g,left_move:f,width_move:d-f-1,top_move:m,height_move:g,row:y,column:[0,u],row_focus:s,column_focus:0}}else p.func_selectedrange={left:Mt(0)[0],width:Mt(0)[1]-Mt(0)[0]-1,top:m,height:g,left_move:f,width_move:d-f-1,top_move:m,height_move:g,row:y,column:[0,u],row_focus:s,column_focus:0};if(p.rangestart||p.rangedrag_column_start||p.rangedrag_row_start||p.israngeseleciton())p.rangeSetValue({row:y,column:[null,null]});else if($("#luckysheet-ifFormulaGenerator-multiRange-dialog").is(":visible")){let b=wt(h.currentSheetIndex,{row:y,column:[0,u]},h.currentSheetIndex);$("#luckysheet-ifFormulaGenerator-multiRange-dialog input").val(b)}p.rangedrag_row_start=!0,p.rangestart=!1,p.rangedrag_column_start=!1,$("#luckysheet-formula-functionrange-select").css({left:f,width:d-f-1,top:m,height:g}).show(),$("#luckysheet-formula-help-c").hide(),sr(f,m,d-f-1,g,y,[0,u]),setTimeout(function(){let w=window.getSelection().anchorNode,x;$("#luckysheet-search-formula-parm").is(":visible")||$("#luckysheet-search-formula-parm-select").is(":visible")?(x=$("#luckysheet-rich-text-editor"),p.rangechangeindex=p.data_parm_index):x=$(w).closest("div");let C=x.find("span[rangeindex='"+p.rangechangeindex+"']");p.setCaretPosition(C.get(0),0,C.html().length)},1);return}else p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),h.luckysheet_rows_selected_status=!0;else h.luckysheet_rows_selected_status=!0;if(h.luckysheet_rows_selected_status){if(e.shiftKey){let k=$.extend(!0,{},h.luckysheet_select_save[h.luckysheet_select_save.length-1]),b=0,w=0,x=[];k.top>o?(b=o,w=k.top+k.height-o,k.row[1]>k.row_focus&&(k.row[1]=k.row_focus),x=[s,k.row[1]]):k.top==o?(b=o,w=k.top+k.height-o,x=[s,k.row[0]]):(b=k.top,w=a-k.top-1,k.row[0]<k.row_focus&&(k.row[0]=k.row_focus),x=[k.row[0],s]),k.row=x,k.top_move=b,k.height_move=w,h.luckysheet_select_save[h.luckysheet_select_save.length-1]=k}else e.ctrlKey?h.luckysheet_select_save.push({left:Mt(0)[0],width:Mt(0)[1]-Mt(0)[0]-1,top:m,height:g,left_move:f,width_move:d-f-1,top_move:m,height_move:g,row:y,column:[0,u],row_focus:s,column_focus:0,row_select:!0}):(h.luckysheet_select_save.length=0,h.luckysheet_select_save.push({left:Mt(0)[0],width:Mt(0)[1]-Mt(0)[0]-1,top:m,height:g,left_move:f,width_move:d-f-1,top_move:m,height_move:g,row:y,column:[0,u],row_focus:s,column_focus:0,row_select:!0}));tt(),ne.saveParam("mv",h.currentSheetIndex,h.luckysheet_select_save)}Wo(),setTimeout(function(){clearTimeout(h.countfuncTimeout),wl()},101)}).mousemove(function(e){if(h.luckysheet_rows_selected_status||h.luckysheet_rows_change_size||h.luckysheet_select_status){$("#luckysheet-rows-h-hover").hide();return}let t=nt(e.pageX,e.pageY)[1]+$("#luckysheet-rows-h").scrollTop(),l=xt(t),a=l[1],o=l[0],s=l[2];$("#luckysheet-rows-h-hover").css({top:o,height:a-o-1,display:"block"}),t<a-1&&t>=a-5?$("#luckysheet-rows-change-size").css({top:a-3,opacity:0}):$("#luckysheet-rows-change-size").css("opacity",0)}).mouseleave(function(e){$("#luckysheet-rows-h-hover").hide(),$("#luckysheet-rows-change-size").css("opacity",0)}).mouseup(function(e){if(e.which==3){if(!Pl()||de())return;$("#luckysheet-cols-rows-shift").hide(),h.luckysheetRightHeadClickIs="row",$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-word").text(Q().rightclick.row),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-size").text(Q().rightclick.height),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-left").text(Q().rightclick.top),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-right").text(Q().rightclick.bottom),$("#luckysheet-cols-rows-add").show(),$("#luckysheet-cols-rows-data").show(),$("#luckysheet-cols-rows-shift").hide(),$("#luckysheet-cols-rows-handleincell").hide(),We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="block",We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="block";let n=me.cellRightClickConfig;if(!n.copy&&!n.copyAs&&!n.paste&&!n.insertRow&&!n.deleteRow&&!n.hideRow&&!n.rowHeight&&!n.clear&&!n.matrix&&!n.sort&&!n.filter&&!n.chart&&!n.image&&!n.link&&!n.data&&!n.cellFormat)return;We("#luckysheet-top-left-add-selected").style.display=n.insertRow?"block":"none",We("#luckysheet-bottom-right-add-selected").style.display=n.insertRow?"block":"none",We("#luckysheet-del-selected").style.display=n.deleteRow?"block":"none",We("#luckysheet-hide-selected").style.display=n.hideRow?"block":"none",We("#luckysheet-show-selected").style.display=n.hideRow?"block":"none",We("#luckysheet-column-row-width-selected").style.display=n.rowHeight?"block":"none",!n.copy&&!n.copyAs&&!n.paste&&(We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="none",!n.insertRow&&!n.deleteRow&&!n.hideRow&&!n.rowHeight&&(We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="none")),!n.insertRow&&!n.deleteRow&&!n.hideRow&&!n.rowHeight&&(We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="none"),!n.clear&&!n.matrix&&!n.sort&&!n.filter&&!n.chart&&!n.image&&!n.link&&!n.data&&!n.cellFormat&&(We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="none"),un($("#luckysheet-rightclick-menu"),$(this).offset().left+46,e.pageY),h.luckysheet_cols_menu_status=!0;let t=$.extend(!0,{},h.config);t.rowlen==null&&(t.rowlen={});let l=t.rowlen[h.luckysheet_select_save[0].row[0]]==null?h.defaultrowlen:t.rowlen[h.luckysheet_select_save[0].row[0]],a=!0;for(let o=0;o<h.luckysheet_select_save.length;o++){let s=h.luckysheet_select_save[o],u=s.row[0],d=s.row[1];for(let f=u;f<=d;f++)if((t.rowlen[f]==null?h.defaultrowlen:t.rowlen[f])!=l){a=!1;break}}a?$("#luckysheet-cols-rows-add").find("input[type='number'].rcsize").val(l):$("#luckysheet-cols-rows-add").find("input[type='number'].rcsize").val("")}}),$("#luckysheet-cols-h-c").mousedown(function(e){if(!Fi(h.currentSheetIndex))return;He.removeActivePs(),($("#luckysheet-modal-dialog-activeImage").is(":visible")||$("#luckysheet-modal-dialog-cropping").is(":visible"))&&Ie.cancelActiveImgItem();let t=nt(e.pageX,e.pageY)[0]+$(this).scrollLeft(),l=h.visibledatarow.length-1,a=h.visibledatarow[l],o=0,s=bt(t),u=s[1],d=s[0],f=s[2];if(h.orderbyindex=f,$("#luckysheet-rightclick-menu").hide(),$("#luckysheet-sheet-list, #luckysheet-rightclick-sheet-menu").hide(),$("#luckysheet-filter-menu, #luckysheet-filter-submenu").hide(),e.which=="3"){let k=!1;for(let b=0;b<h.luckysheet_select_save.length;b++){let w=h.luckysheet_select_save[b];if(w.column!=null&&f>=w.column[0]&&f<=w.column[1]&&w.row[0]==0&&w.row[1]==h.flowdata.length-1){k=!0;break}}if(k)return}let m=d,g=u-d-1,y=[f,f];h.luckysheet_scroll_status=!0;let v=$("#luckysheet-input-box");if(parseInt(v.css("top"))>0)if(p.rangestart||p.rangedrag_column_start||p.rangedrag_row_start||p.israngeseleciton()||$("#luckysheet-ifFormulaGenerator-multiRange-dialog").is(":visible")){let k=be.mergeMoveMain(y,[0,l],{row_focus:0,column_focus:f},o,a,m,g);if(k!=null&&(y=k[0],m=k[4],g=k[5]),e.shiftKey){let b=p.func_selectedrange,w=0,x=0,C=[];b.left>d?(w=d,x=b.left+b.width-d,b.column[1]>b.column_focus&&(b.column[1]=b.column_focus),C=[f,b.column[1]]):b.left==d?(w=d,x=b.left+b.width-d,C=[f,b.column[0]]):(w=b.left,x=u-b.left-1,b.column[0]<b.column_focus&&(b.column[0]=b.column_focus),C=[b.column[0],f]);let S=be.mergeMoveMain(C,[0,l],{row_focus:0,column_focus:f},o,a,w,x);S!=null&&(C=S[0],w=S[4],x=S[5]),b.column=C,b.left_move=w,b.width_move=x,p.func_selectedrange=b}else if(e.ctrlKey&&$("#luckysheet-rich-text-editor").find("span").last().text()!=","){let b=$("#luckysheet-rich-text-editor").text()+",";if(b.length>0&&b.substr(0,1)=="="){if(b=p.functionHTMLGenerate(b),window.getSelection){let w=window.getSelection();p.functionRangeIndex=[$(w.anchorNode).parent().index(),w.anchorOffset]}else{let w=document.selection.createRange();p.functionRangeIndex=w}$("#luckysheet-rich-text-editor").html(b),p.canceFunctionrangeSelected(),p.createRangeHightlight()}p.rangestart=!1,p.rangedrag_column_start=!1,p.rangedrag_row_start=!1,$("#luckysheet-functionbox-cell").html(b),p.rangeHightlightselected($("#luckysheet-rich-text-editor")),p.israngeseleciton(),p.func_selectedrange={left:m,width:g,top:rl(0)[0],height:rl(0)[1]-rl(0)[0]-1,left_move:m,width_move:g,top_move:o,height_move:a-o-1,row:[0,l],column:y,row_focus:0,column_focus:f}}else p.func_selectedrange={left:m,width:g,top:rl(0)[0],height:rl(0)[1]-rl(0)[0]-1,left_move:m,width_move:g,top_move:o,height_move:a-o-1,row:[0,l],column:y,row_focus:0,column_focus:f};if(p.rangestart||p.rangedrag_column_start||p.rangedrag_row_start||p.israngeseleciton())p.rangeSetValue({row:[null,null],column:y});else if($("#luckysheet-ifFormulaGenerator-multiRange-dialog").is(":visible")){let b=wt(h.currentSheetIndex,{row:[0,l],column:y},h.currentSheetIndex);$("#luckysheet-ifFormulaGenerator-multiRange-dialog input").val(b)}p.rangedrag_column_start=!0,p.rangestart=!1,p.rangedrag_row_start=!1,$("#luckysheet-formula-functionrange-select").css({left:m,width:g,top:o,height:a-o-1}).show(),$("#luckysheet-formula-help-c").hide(),sr(m,o,g,a-o-1,[0,l],y);return}else p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),h.luckysheet_cols_selected_status=!0;else h.luckysheet_cols_selected_status=!0;if(h.luckysheet_cols_selected_status){if(e.shiftKey){let k=$.extend(!0,{},h.luckysheet_select_save[h.luckysheet_select_save.length-1]),b=0,w=0,x=[];k.left>d?(b=d,w=k.left+k.width-d,k.column[1]>k.column_focus&&(k.column[1]=k.column_focus),x=[f,k.column[1]]):k.left==d?(b=d,w=k.left+k.width-d,x=[f,k.column[0]]):(b=k.left,w=u-k.left-1,k.column[0]<k.column_focus&&(k.column[0]=k.column_focus),x=[k.column[0],f]),k.column=x,k.left_move=b,k.width_move=w,h.luckysheet_select_save[h.luckysheet_select_save.length-1]=k}else e.ctrlKey?h.luckysheet_select_save.push({left:m,width:g,top:rl(0)[0],height:rl(0)[1]-rl(0)[0]-1,left_move:m,width_move:g,top_move:o,height_move:a-o-1,row:[0,l],column:y,row_focus:0,column_focus:f,column_select:!0}):(h.luckysheet_select_save.length=0,h.luckysheet_select_save.push({left:m,width:g,top:rl(0)[0],height:rl(0)[1]-rl(0)[0]-1,left_move:m,width_move:g,top_move:o,height_move:a-o-1,row:[0,l],column:y,row_focus:0,column_focus:f,column_select:!0}));tt(),ne.saveParam("mv",h.currentSheetIndex,h.luckysheet_select_save)}Wo(),setTimeout(function(){clearTimeout(h.countfuncTimeout),wl()},101),h.luckysheet_cols_menu_status&&($("#luckysheet-rightclick-menu").hide(),$("#luckysheet-cols-h-hover").hide(),$("#luckysheet-cols-menu-btn").hide(),h.luckysheet_cols_menu_status=!1),e.stopPropagation()}).mousemove(function(e){if(h.luckysheet_cols_selected_status||h.luckysheet_select_status){$("#luckysheet-cols-h-hover").hide(),$("#luckysheet-cols-menu-btn").hide();return}if(h.luckysheet_cols_menu_status||h.luckysheet_cols_change_size)return;let t=nt(e.pageX,e.pageY)[0]+$("#luckysheet-cols-h-c").scrollLeft(),l=bt(t),a=l[1],o=l[0],s=l[2];$("#luckysheet-cols-h-hover").css({left:o,width:a-o-1,display:"block"}),$("#luckysheet-cols-menu-btn").css({left:a-19,display:"block"}),$("#luckysheet-cols-change-size").css({left:a-5}),t<a&&t>=a-5?($("#luckysheet-cols-change-size").css({opacity:0}),$("#luckysheet-cols-menu-btn").hide()):($("#luckysheet-change-size-line").hide(),$("#luckysheet-cols-change-size").css("opacity",0))}).mouseleave(function(e){h.luckysheet_cols_menu_status||h.luckysheet_cols_change_size||($("#luckysheet-cols-h-hover").hide(),$("#luckysheet-cols-menu-btn").hide(),$("#luckysheet-cols-change-size").css("opacity",0))}).mouseup(function(e){if(e.which==3){if(!Pl()||de())return;h.luckysheetRightHeadClickIs="column",$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-word").text(Q().rightclick.column),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-size").text(Q().rightclick.width),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-left").text(Q().rightclick.left),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-right").text(Q().rightclick.right),$("#luckysheet-cols-rows-add").show(),$("#luckysheet-cols-rows-data").show(),$("#luckysheet-cols-rows-shift").hide(),$("#luckysheet-cols-rows-handleincell").hide(),We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="block",We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="block";let n=me.cellRightClickConfig;if(!n.copy&&!n.copyAs&&!n.paste&&!n.insertColumn&&!n.deleteColumn&&!n.hideColumn&&!n.columnWidth&&!n.clear&&!n.matrix&&!n.sort&&!n.filter&&!n.chart&&!n.image&&!n.link&&!n.data&&!n.cellFormat)return;We("#luckysheet-top-left-add-selected").style.display=n.insertColumn?"block":"none",We("#luckysheet-bottom-right-add-selected").style.display=n.insertColumn?"block":"none",We("#luckysheet-del-selected").style.display=n.deleteColumn?"block":"none",We("#luckysheet-hide-selected").style.display=n.hideColumn?"block":"none",We("#luckysheet-show-selected").style.display=n.hideColumn?"block":"none",We("#luckysheet-column-row-width-selected").style.display=n.columnWidth?"block":"none",!n.copy&&!n.copyAs&&!n.paste&&(We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="none",!n.insertColumn&&!n.deleteColumn&&!n.hideColumn&&!n.columnWidth&&(We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="none")),!n.insertColumn&&!n.deleteColumn&&!n.hideColumn&&!n.columnWidth&&(We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="none"),!n.clear&&!n.matrix&&!n.sort&&!n.filter&&!n.chart&&!n.image&&!n.link&&!n.data&&!n.cellFormat&&(We("#luckysheet-cols-rows-data .luckysheet-menuseparator").style.display="none"),un($("#luckysheet-rightclick-menu"),e.pageX,$(this).offset().top+18),h.luckysheet_cols_menu_status=!0;let t=$.extend(!0,{},h.config);t.columnlen==null&&(t.columnlen={});let l=t.columnlen[h.luckysheet_select_save[0].column[0]]==null?h.defaultcollen:t.columnlen[h.luckysheet_select_save[0].column[0]],a=!0;for(let o=0;o<h.luckysheet_select_save.length;o++){let s=h.luckysheet_select_save[o],u=s.column[0],d=s.column[1];for(let f=u;f<=d;f++)if((t.columnlen[f]==null?h.defaultcollen:t.columnlen[f])!=l){a=!1;break}}a?$("#luckysheet-cols-rows-add").find("input[type='number'].rcsize").val(l):$("#luckysheet-cols-rows-add").find("input[type='number'].rcsize").val("")}}),$("#luckysheet-rows-change-size").mousedown(function(e){if(!Pl())return;He.removeActivePs(),($("#luckysheet-modal-dialog-activeImage").is(":visible")||$("#luckysheet-modal-dialog-cropping").is(":visible"))&&Ie.cancelActiveImgItem(),$("#luckysheet-input-box").hide(),$("#luckysheet-rows-change-size").css({opacity:1});let t=nt(e.pageX,e.pageY)[1]+$("#luckysheet-rows-h").scrollTop(),l=$("#luckysheet-cell-main").scrollLeft(),a=$("#luckysheet-cell-main").width(),o=xt(t),s=o[1],u=o[0],d=o[2];h.luckysheet_rows_change_size=!0,h.luckysheet_scroll_status=!0,$("#luckysheet-change-size-line").css({height:"1px","border-width":"0 0px 1px 0",top:s-3,left:0,width:l+a,display:"block",cursor:"ns-resize"}),$("#luckysheet-sheettable, #luckysheet-rows-h, #luckysheet-rows-h canvas").css("cursor","ns-resize"),h.luckysheet_rows_change_size_start=[u,d],$("#luckysheet-rightclick-menu").hide(),$("#luckysheet-rows-h-hover").hide(),$("#luckysheet-cols-menu-btn").hide(),e.stopPropagation()}),$("#luckysheet-cols-change-size").mousedown(function(e){if(!Pl())return;He.removeActivePs(),($("#luckysheet-modal-dialog-activeImage").is(":visible")||$("#luckysheet-modal-dialog-cropping").is(":visible"))&&Ie.cancelActiveImgItem(),$("#luckysheet-input-box").hide(),$("#luckysheet-cols-change-size").css({opacity:1});let n=nt(e.pageX,e.pageY),t=$("#luckysheet-cols-h-c").scrollLeft(),l=$("#luckysheet-cell-main").scrollTop(),a=$("#luckysheet-cell-main").height(),o=n[0]+t,s=h.visibledatarow.length-1,u=h.visibledatarow[s],d=0,f=bt(o),m=f[1],g=f[0],y=f[2];h.luckysheet_cols_change_size=!0,h.luckysheet_scroll_status=!0,$("#luckysheet-change-size-line").css({height:a+l,"border-width":"0 1px 0 0",top:0,left:m-3,width:"1px",display:"block",cursor:"ew-resize"}),$("#luckysheet-sheettable, #luckysheet-cols-h-c, .luckysheet-cols-h-cells, .luckysheet-cols-h-cells canvas").css("cursor","ew-resize"),h.luckysheet_cols_change_size_start=[g,y],$("#luckysheet-rightclick-menu").hide(),$("#luckysheet-cols-h-hover").hide(),$("#luckysheet-cols-menu-btn").hide(),h.luckysheet_cols_dbclick_times=0,e.stopPropagation()}).dblclick(function(){Xy()}),$("#luckysheet-cols-menu-btn").click(function(e){if(!Pl()){U.info("",Q().pivotTable.errorNotAllowEdit);return}let n=$("#luckysheet-rightclick-menu"),t=$(this).offset();$("#luckysheet-cols-rows-shift").show(),h.luckysheetRightHeadClickIs="column",$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-word").text(Q().rightclick.column),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-left").text(Q().rightclick.left),$("#luckysheet-rightclick-menu .luckysheet-cols-rows-shift-right").text(Q().rightclick.right),$("#luckysheet-cols-rows-add").show(),$("#luckysheet-cols-rows-data").hide(),$("#luckysheet-cols-rows-shift").show(),$("#luckysheet-cols-rows-handleincell").hide(),We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="block",We("#luckysheet-cols-rows-shift .luckysheet-menuseparator").style.display="block";let l=me.cellRightClickConfig;!l.copy&&!l.copyAs&&!l.paste&&!l.insertColumn&&!l.deleteColumn&&!l.hideColumn&&!l.columnWidth&&!l.sort||(We("#luckysheet-top-left-add-selected").style.display=l.insertColumn?"block":"none",We("#luckysheet-bottom-right-add-selected").style.display=l.insertColumn?"block":"none",We("#luckysheet-del-selected").style.display=l.deleteColumn?"block":"none",We("#luckysheet-hide-selected").style.display=l.hideColumn?"block":"none",We("#luckysheet-show-selected").style.display=l.hideColumn?"block":"none",We("#luckysheet-column-row-width-selected").style.display=l.columnWidth?"block":"none",!l.copy&&!l.copyAs&&!l.paste&&(We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="none",!l.insertColumn&&!l.deleteColumn&&!l.hideColumn&&!l.columnWidth&&(We("#luckysheet-cols-rows-shift .luckysheet-menuseparator").style.display="none")),!l.insertColumn&&!l.deleteColumn&&!l.hideColumn&&!l.columnWidth&&(We("#luckysheet-cols-rows-add .luckysheet-menuseparator").style.display="none"),l.sort||(We("#luckysheet-cols-rows-shift .luckysheet-menuseparator").style.display="none"),un(n,t.left,t.top+18),h.luckysheet_cols_menu_status=!0)}),$("#luckysheet-top-left-add-selected").click(function(e){if(e.target.nodeName==="INPUT")return;$("#luckysheet-rightclick-menu").hide(),rt();let n=Q(),t=n.drag,l=n.info;if(h.luckysheet_select_save.length>1){de()?alert(t.noMulti):U.info(t.noMulti,"");return}let a=$(this),o=a.find("input").val();if(!B(o)){de()?alert(l.tipInputNumber):U.info(l.tipInputNumber,"");return}if(o=parseInt(o),o<1||o>100){de()?alert(l.tipInputNumberLimit):U.info(l.tipInputNumberLimit,"");return}let s=h.luckysheet_select_save[0][h.luckysheetRightHeadClickIs][0];!Ke.createHookFunction("rowInsertBefore",s,o,"lefttop",h.luckysheetRightHeadClickIs)||Ir(h.luckysheetRightHeadClickIs,s,o,"lefttop")}),$("#luckysheetColsRowsHandleAdd_row").click(function(e){if($("#luckysheet-rightclick-menu").hide(),rt(),h.allowEdit===!1)return;let n=h.luckysheet_select_save[0].row[0];!Ke.createHookFunction("rowInsertBefore",n,1,"lefttop",h.luckysheetRightHeadClickIs)||Ir("row",n,1,"lefttop")}),$("#luckysheetColsRowsHandleAdd_column").click(function(e){if($("#luckysheet-rightclick-menu").hide(),rt(),h.allowEdit===!1)return;let n=h.luckysheet_select_save[0].column[0];Ir("column",n,1,"lefttop")}),$(".luckysheetColsRowsHandleAdd_custom").click(function(e){$("#luckysheet-rightclick-menu").hide();let n=me.cellRightClickConfig,t=h.luckysheet_select_save[0].row[0],l=h.luckysheet_select_save[0].column[0];if(n.customs[Number(e.currentTarget.dataset.index)])try{n.customs[Number(e.currentTarget.dataset.index)].onClick(e,event,{rowIndex:t,columnIndex:l})}catch(a){console.error("custom click error",a)}}),$("#luckysheet-bottom-right-add-selected").click(function(e){if(e.target.nodeName==="INPUT")return;$("#luckysheet-rightclick-menu").hide(),rt();let n=Q(),t=n.drag,l=n.info;if(h.luckysheet_select_save.length>1){de()?alert(t.noMulti):U.info(t.noMulti,"");return}let a=$(this),o=a.find("input").val();if(!B(o)){de()?alert(l.tipInputNumber):U.info(l.tipInputNumber,"");return}if(o=parseInt(o),o<1||o>100){de()?alert(l.tipInputNumberLimit):U.info(l.tipInputNumberLimit,"");return}let s=h.luckysheet_select_save[0][h.luckysheetRightHeadClickIs][1];!Ke.createHookFunction("rowInsertBefore",s,o,"rightbottom",h.luckysheetRightHeadClickIs)||Ir(h.luckysheetRightHeadClickIs,s,o,"rightbottom")}),$("#luckysheet-del-selected, #luckysheet-del-selected_t").click(function(e){$("#luckysheet-rightclick-menu").hide(),rt();let n=Q().drag;if(h.luckysheet_select_save.length>1){h.luckysheetRightHeadClickIs=="row"?de()?alert(n.noMulti):U.info(n.noMulti,""):h.luckysheetRightHeadClickIs=="column"&&(de()?alert(n.noMulti):U.info(n.noMulti,""));return}let t=h.luckysheet_select_save[0][h.luckysheetRightHeadClickIs][0],l=h.luckysheet_select_save[0][h.luckysheetRightHeadClickIs][1];!Ke.createHookFunction("rowDeleteBefore",t,l,h.luckysheetRightHeadClickIs)||Vn(h.luckysheetRightHeadClickIs,t,l)}),$("#luckysheet-delRows").click(function(e){$("#luckysheet-rightclick-menu").hide(),rt();let n=Q().drag;if(h.luckysheet_select_save.length>1){h.luckysheetRightHeadClickIs=="row"?de()?alert(n.noMulti):U.info(n.noMulti,""):h.luckysheetRightHeadClickIs=="column"&&(de()?alert(n.noMulti):U.info(n.noMulti,""));return}let t=h.luckysheet_select_save[0].row[0],l=h.luckysheet_select_save[0].row[1];!Ke.createHookFunction("rowDeleteBefore",t,l,"row")||Vn("row",t,l)}),$("#luckysheet-delCols").click(function(e){$("#luckysheet-rightclick-menu").hide(),rt();let n=Q().drag;if(h.luckysheet_select_save.length>1){h.luckysheetRightHeadClickIs=="row"?de()?alert(n.noMulti):U.info(n.noMulti,""):h.luckysheetRightHeadClickIs=="column"&&(de()?alert(n.noMulti):U.info(n.noMulti,""));return}let t=h.luckysheet_select_save[0].column[0],l=h.luckysheet_select_save[0].column[1];Vn("column",t,l)}),$("#luckysheet-hide-selected").click(function(e){$("#luckysheet-rightclick-menu").hide(),rt();let n=Q().drag;if(h.luckysheet_select_save.length>1){h.luckysheetRightHeadClickIs=="row"?de()?alert(n.noMulti):U.info(n.noMulti,""):h.luckysheetRightHeadClickIs=="column"&&(de()?alert(n.noMulti):U.info(n.noMulti,""));return}if(h.luckysheetRightHeadClickIs=="row"){if(!It(h.currentSheetIndex,"formatRows"))return;let t=$.extend(!0,{},h.config);t.rowhidden==null&&(t.rowhidden={});for(let l=0;l<h.luckysheet_select_save.length;l++){let a=h.luckysheet_select_save[l].row[0],o=h.luckysheet_select_save[l].row[1];for(let s=a;s<=o;s++)t.rowhidden[s]=0}if(h.clearjfundo){let l={};l.type="showHidRows",l.sheetIndex=h.currentSheetIndex,l.config=$.extend(!0,{},h.config),l.curconfig=t,h.jfundo.length=0,h.jfredo.push(l)}h.config=t,h.luckysheetfile[K(h.currentSheetIndex)].config=h.config,ne.saveParam("cg",h.currentSheetIndex,t.rowhidden,{k:"rowhidden"}),St(h.flowdata.length,h.flowdata[0].length)}else if(h.luckysheetRightHeadClickIs=="column"){if(!It(h.currentSheetIndex,"formatColumns"))return;let t=$.extend(!0,{},h.config);t.colhidden==null&&(t.colhidden={});for(let l=0;l<h.luckysheet_select_save.length;l++){let a=h.luckysheet_select_save[l].column[0],o=h.luckysheet_select_save[l].column[1];for(let s=a;s<=o;s++)t.colhidden[s]=0}if(h.clearjfundo){let l={};l.type="showHidCols",l.sheetIndex=h.currentSheetIndex,l.config=$.extend(!0,{},h.config),l.curconfig=t,h.jfundo.length=0,h.jfredo.push(l)}h.config=t,h.luckysheetfile[K(h.currentSheetIndex)].config=h.config,ne.saveParam("cg",h.currentSheetIndex,t.colhidden,{k:"colhidden"}),St(h.flowdata.length,h.flowdata[0].length)}}),$("#luckysheet-show-selected").click(function(e){$("#luckysheet-rightclick-menu").hide(),rt();let n=Q().drag;if(h.luckysheet_select_save.length>1){h.luckysheetRightHeadClickIs=="row"?de()?alert(n.noMulti):U.info(n.noMulti,""):h.luckysheetRightHeadClickIs=="column"&&(de()?alert(n.noMulti):U.info(n.noMulti,""));return}if(h.luckysheetRightHeadClickIs=="row"){if(!It(h.currentSheetIndex,"formatRows"))return;let t=$.extend(!0,{},h.config);if(t.rowhidden==null)return;for(let l=0;l<h.luckysheet_select_save.length;l++){let a=h.luckysheet_select_save[l].row[0],o=h.luckysheet_select_save[l].row[1];for(let s=a;s<=o;s++)delete t.rowhidden[s]}if(h.clearjfundo){let l={};l.type="showHidRows",l.sheetIndex=h.currentSheetIndex,l.config=$.extend(!0,{},h.config),l.curconfig=t,h.jfundo.length=0,h.jfredo.push(l)}h.config=t,h.luckysheetfile[K(h.currentSheetIndex)].config=h.config,ne.saveParam("cg",h.currentSheetIndex,t.rowhidden,{k:"rowhidden"}),St(h.flowdata.length,h.flowdata[0].length)}else if(h.luckysheetRightHeadClickIs=="column"){if(!It(h.currentSheetIndex,"formatColumns"))return;let t=$.extend(!0,{},h.config);if(t.colhidden==null)return;for(let l=0;l<h.luckysheet_select_save.length;l++){let a=h.luckysheet_select_save[l].column[0],o=h.luckysheet_select_save[l].column[1];for(let s=a;s<=o;s++)delete t.colhidden[s]}if(h.clearjfundo){let l={};l.type="showHidCols",l.sheetIndex=h.currentSheetIndex,l.config=$.extend(!0,{},h.config),l.curconfig=t,h.jfundo.length=0,h.jfredo.push(l)}h.config=t,h.luckysheetfile[K(h.currentSheetIndex)].config=h.config,ne.saveParam("cg",h.currentSheetIndex,t.colhidden,{k:"colhidden"}),St(h.flowdata.length,h.flowdata[0].length)}}),$("#luckysheet-delCellsMoveLeft").click(function(e){$("body .luckysheet-cols-menu").hide(),rt();let n=Q().drag;if(h.luckysheet_select_save.length>1){de()?alert(n.noMulti):U.info(n.noMulti,"");return}let t=h.luckysheet_select_save[0].row[0],l=h.luckysheet_select_save[0].row[1],a=h.luckysheet_select_save[0].column[0],o=h.luckysheet_select_save[0].column[1];da("moveLeft",t,l,a,o)}),$("#luckysheet-delCellsMoveUp").click(function(e){$("body .luckysheet-cols-menu").hide(),rt();let n=Q().drag;if(h.luckysheet_select_save.length>1){de()?alert(n.noMulti):U.info(n.noMulti,"");return}let t=h.luckysheet_select_save[0].row[0],l=h.luckysheet_select_save[0].row[1],a=h.luckysheet_select_save[0].column[0],o=h.luckysheet_select_save[0].column[1];da("moveUp",t,l,a,o)}),$("#luckysheet-delete-text").click(function(){if(!!kr(h.luckysheet_select_save,h.currentSheetIndex)&&($("#luckysheet-rightclick-menu").hide(),rt(),h.allowEdit!==!1&&h.luckysheet_select_save.length>0)){let e=we.deepCopyFlowData(h.flowdata),n=!1;for(let o=0;o<h.luckysheet_select_save.length;o++){let s=h.luckysheet_select_save[o].row[0],u=h.luckysheet_select_save[o].row[1],d=h.luckysheet_select_save[o].column[0],f=h.luckysheet_select_save[o].column[1];if(Nt(h.config,s,u,d,f)){n=!0;break}}if(n){let o=Q().drag;de()?alert(o.noPartMerge):U.info(o.noPartMerge,"");return}let t=h.luckysheetfile[K(h.currentSheetIndex)],l=t.hyperlink&&$.extend(!0,{},t.hyperlink),a;for(let o=0;o<h.luckysheet_select_save.length;o++){let s=h.luckysheet_select_save[o].row[0],u=h.luckysheet_select_save[o].row[1],d=h.luckysheet_select_save[o].column[0],f=h.luckysheet_select_save[o].column[1];for(let m=s;m<=u;m++)for(let g=d;g<=f;g++)Oe.isPivotRange(m,g)||(P(e[m][g])=="object"?(delete e[m][g].m,delete e[m][g].v,e[m][g].f!=null&&(delete e[m][g].f,p.delFunctionGroup(m,g,h.currentSheetIndex),delete e[m][g].spl),e[m][g].ct!=null&&e[m][g].ct.t=="inlineStr"&&delete e[m][g].ct):e[m][g]=null,(l==null?void 0:l[`${m}_${g}`])&&(delete l[`${m}_${g}`],a=!0))}Ze(e,h.luckysheet_select_save,a&&{hyperlink:l}),$("#luckysheet-rich-text-editor").html("")}}),$("#luckysheet-column-row-width-selected").click(function(e){if(e.target.nodeName==="INPUT")return;$("#luckysheet-rightclick-menu").hide(),rt();let n=parseInt($(this).closest(".luckysheet-cols-menuitem").find("input[type='number']").val().trim()),t=Q().info;if(isNaN(n)){U.info(t.tipInputNumber,"");return}let l=$.extend(!0,{},h.config),a,o=null;if(h.luckysheetRightHeadClickIs=="row"){if(!It(h.currentSheetIndex,"formatRows"))return;if(n<0||n>545){de()?alert(t.tipRowHeightLimit):U.info(t.tipRowHeightLimit,"");return}a="resizeR",l.rowlen==null&&(l.rowlen={});for(let s=0;s<h.luckysheet_select_save.length;s++){let u=h.luckysheet_select_save[s].row[0],d=h.luckysheet_select_save[s].row[1];for(let f=u;f<=d;f++)l.rowlen[f]=n,o=Ie.moveChangeSize("row",f,n)}}else if(h.luckysheetRightHeadClickIs=="column"){if(!It(h.currentSheetIndex,"formatColumns"))return;if(n<0||n>2038){de()?alert(t.tipColumnWidthLimit):U.info(t.tipColumnWidthLimit,"");return}a="resizeC",l.columnlen==null&&(l.columnlen={});for(let s=0;s<h.luckysheet_select_save.length;s++){let u=h.luckysheet_select_save[s].column[0],d=h.luckysheet_select_save[s].column[1];for(let f=u;f<=d;f++)l.columnlen[f]=n,o=Ie.moveChangeSize("column",f,n)}}h.clearjfundo&&(h.jfundo.length=0,h.jfredo.push({type:"resize",ctrlType:a,sheetIndex:h.currentSheetIndex,config:$.extend(!0,{},h.config),curconfig:$.extend(!0,{},l),images:$.extend(!0,{},Ie.images),curImages:$.extend(!0,{},o)})),h.config=l,h.luckysheetfile[K(h.currentSheetIndex)].config=h.config,h.luckysheetfile[K(h.currentSheetIndex)].images=o,ne.saveParam("all",h.currentSheetIndex,o,{k:"images"}),Ie.images=o,Ie.allImagesShow(),h.luckysheetRightHeadClickIs=="row"?(ne.saveParam("cg",h.currentSheetIndex,l.rowlen,{k:"rowlen"}),St(h.flowdata.length,null)):h.luckysheetRightHeadClickIs=="column"&&(ne.saveParam("cg",h.currentSheetIndex,l.columnlen,{k:"columnlen"}),St(null,h.flowdata[0].length))})}function Xy(){h.luckysheet_cols_change_size=!1,$("#luckysheet-change-size-line").hide(),$("#luckysheet-cols-change-size").css("opacity",0),$("#luckysheet-sheettable, #luckysheet-cols-h-c, .luckysheet-cols-h-cells, .luckysheet-cols-h-cells canvas").css("cursor","default");let e=nt(event.pageX,event.pageY),n=$("#luckysheet-cols-h-c").scrollLeft(),t=e[0]+n,l=bt(t)[2],a=we.deepCopyFlowData(h.flowdata),o=$("#luckysheetTableContent").get(0).getContext("2d"),s=$.extend(!0,{},h.config);s.columnlen==null&&(s.columnlen={});let u={},d=$("#luckysheet-cell-main").scrollTop(),f=h.luckysheetTableContentHW[1],m=st(h.visibledatarow,d),g=st(h.visibledatarow,d+f);g+=g-m,g>=a.length&&(g=a.length-1);for(let y=0;y<h.luckysheet_select_save.length;y++){let v=h.luckysheet_select_save[y].column[0],k=h.luckysheet_select_save[y].column[1];if(l<v||l>k){if(l in u)continue;let b=h.defaultcollen;for(let w=m;w<=g;w++){let x=a[w][l];if(x==null||fe(x.v)&&!xl(x))continue;let C=Mt(l)[1]-Mt(l)[0]-2,S=$r(x,o,{r:w,c:l,cellWidth:C}),_=0;S!=null&&(_=S.textWidthAll),_+6>b&&(b=_+6)}b!=h.defaultcollen&&(s.columnlen[l]=b,s.customWidth&&delete s.customWidth[l]),u[l]=1}else for(let b=v;b<=k;b++){if(b in u)continue;let w=h.defaultcollen;for(let x=m;x<=g;x++){let C=a[x][b];if(C==null||fe(C.v)&&!xl(C))continue;let S=Mt(b)[1]-Mt(b)[0]-2,_=$r(C,o,{r:x,c:b,cellWidth:S}),T=0;_!=null&&(T=_.textWidthAll),T+6>w&&(w=T+6)}w!=h.defaultcollen&&(s.columnlen[b]=w,s.customWidth&&delete s.customWidth[b]),u[b]=1}}Rl(h.flowdata[0].length,h.flowdata.length,h.flowdata,s,h.luckysheet_select_save,"resizeC","columnlen")}var Om=$e(()=>{cn();Gr();jr();ol();ll();El();Jt();ht();Dt();Zl();Pt();Oa();qt();fa();Xt();Zt();tl();Qt();yt();pr();zr();yn();_l();Xe();Sl()});function Jo(e,n,t,l){if($("#luckysheet-formula-search-c").is(":visible")&&(e=="up"||e=="down")){let a;e=="down"?(a=$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item-active").next(),a.length==0&&(a=$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item").first())):e=="up"&&(a=$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item-active").prev(),a.length==0&&(a=$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item").last())),$("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item").removeClass("luckysheet-formula-search-item-active"),a.addClass("luckysheet-formula-search-item-active"),l.preventDefault()}else if($("#luckysheet-formula-functionrange-select").is(":visible")){if(n&&t)sn(e,"rangeOfFormula");else if(n)ua(e,"rangeOfFormula");else if(t){let a=e,o=1;e=="up"&&(a="down",o=-1),e=="left"&&(a="right",o=-1),On(a,o,"rangeOfFormula")}else{let a=e,o=1;e=="up"&&(a="down",o=-1),e=="left"&&(a="right",o=-1),Gt(a,o,"rangeOfFormula")}l.preventDefault()}else if(p.israngeseleciton()){let a=$(window.getSelection().anchorNode);if(a.parent().next().text()==null||a.parent().next().text()==""){let o=$("#luckysheet-input-box #luckysheet-input-box-index").text(),s=p.getcellrange(o);s==null&&(s=p.getcellrange($("#luckysheet-input-box-index").text()));let u=s.row[0],d=s.row[1],f=s.column[0],m=s.column[1],g=h.visibledatarow[d],y=u-1==-1?0:h.visibledatarow[u-1],v=h.visibledatacolumn[m],k=f-1==-1?0:h.visibledatacolumn[f-1];if(p.func_selectedrange={left:k,width:v-k-1,top:y,height:g-y-1,left_move:k,width_move:v-k-1,top_move:y,height_move:g-y-1,row:[u,d],column:[f,m],row_focus:u,column_focus:f},p.rangeSetValue({row:[u,d],column:[f,m]}),p.rangestart=!0,p.rangedrag_column_start=!1,p.rangedrag_row_start=!1,n&&t)sn(e,"rangeOfFormula");else if(n)ua(e,"rangeOfFormula");else if(t){let b=e,w=1;e=="up"&&(b="down",w=-1),e=="left"&&(b="right",w=-1),On(b,w,"rangeOfFormula")}else{let b=e,w=1;e=="up"&&(b="down",w=-1),e=="left"&&(b="right",w=-1),Gt(b,w,"rangeOfFormula")}l.preventDefault()}}else if(!n&&!t){let a=$(window.getSelection().anchorNode),o=window.getSelection().anchorOffset;e=="up"?a.parent().is("span")&&a.parent().next().length==0&&o>0?(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Gt("down",-1,"rangeOfSelect"),l.preventDefault()):a.is("#luckysheet-rich-text-editor")&&a.context.childElementCount==o?(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Gt("down",-1,"rangeOfSelect"),l.preventDefault()):a.parent().is("#luckysheet-rich-text-editor")&&a.context.length==o&&(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Gt("down",-1,"rangeOfSelect"),l.preventDefault()):e=="down"?a.parent().is("span")&&a.parent().next().length==0&&o>0?(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Gt("down",1,"rangeOfSelect"),l.preventDefault()):a.is("#luckysheet-rich-text-editor")&&a.context.childElementCount==o?(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Gt("down",1,"rangeOfSelect"),l.preventDefault()):a.parent().is("#luckysheet-rich-text-editor")&&a.context.length==o&&(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Gt("down",1,"rangeOfSelect"),l.preventDefault()):e=="left"?a.parent().is("span")&&a.parent().prev().length==0&&o==0?(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Gt("right",-1,"rangeOfSelect"),l.preventDefault()):a.is("#luckysheet-rich-text-editor")&&o==1?(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Gt("right",-1,"rangeOfSelect"),l.preventDefault()):a.parent().is("#luckysheet-rich-text-editor")&&o==0?(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Gt("right",-1,"rangeOfSelect"),l.preventDefault()):p.rangeHightlightselected($("#luckysheet-rich-text-editor")):e=="right"&&(a.parent().is("span")&&a.parent().next().length==0&&o>0?(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Gt("right",1,"rangeOfSelect"),l.preventDefault()):a.is("#luckysheet-rich-text-editor")&&a.context.childElementCount==o?(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Gt("right",1,"rangeOfSelect"),l.preventDefault()):a.parent().is("#luckysheet-rich-text-editor")&&a.context.length==o?(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Gt("right",1,"rangeOfSelect"),l.preventDefault()):p.rangeHightlightselected($("#luckysheet-rich-text-editor")))}}function Hm(){let n=Q().drag;$("#luckysheet-input-box").click(function(){p.rangeHightlightselected($("#luckysheet-rich-text-editor"))}).add("#"+h.container).on("keydown",function(t){let l=t.ctrlKey,a=t.altKey,o=t.shiftKey,s=t.keyCode;if($("#luckysheet-modal-dialog-mask").is(":visible")||$(t.target).hasClass("luckysheet-mousedown-cancel")||$(t.target).hasClass("sp-input")||parseInt($("#luckysheet-input-box").css("top"))>0&&$(t.target).closest(".luckysheet-input-box").length>0&&s!=at.ENTER&&s!=at.TAB&&s!=at.UP&&s!=at.DOWN&&s!=at.LEFT&&s!=at.RIGHT){let d=$(window.getSelection().anchorNode);if((d.parent().is("#luckysheet-helpbox-cell")||d.is("#luckysheet-helpbox-cell"))&&s==at.ENTER){let f=$("#luckysheet-helpbox-cell").text();if(p.iscelldata(f)){let m=p.getcellrange(f);h.luckysheet_select_save=[{row:m.row,column:m.column,row_focus:m.row[0],column_focus:m.column[0]}],tt(),$("#luckysheet-helpbox-cell").blur();let g=$("#luckysheet-cell-main").scrollLeft(),y=$("#luckysheet-cell-main").scrollTop(),v=$("#luckysheet-cell-main").height(),k=$("#luckysheet-cell-main").width(),b=h.visibledatarow[m.row[1]],w=m.row[0]-1==-1?0:h.visibledatarow[m.row[0]-1],x=h.visibledatacolumn[m.column[1]],C=m.column[0]-1==-1?0:h.visibledatacolumn[m.column[0]-1];x-g-k+20>0?$("#luckysheet-scrollbar-x").scrollLeft(x-k+20):C-g-20<0&&$("#luckysheet-scrollbar-x").scrollLeft(C-20),b-y-v+20>0?$("#luckysheet-scrollbar-y").scrollTop(b-v+20):w-y-20<0&&$("#luckysheet-scrollbar-y").scrollTop(w-20)}}return}if($("#luckysheet-modal-dialog-mask").is(":visible")||$(t.target).hasClass("luckysheet-mousedown-cancel")||$(t.target).hasClass("formulaInputFocus"))return;let u=$("#luckysheet-input-box");if((a||t.metaKey)&&s==at.ENTER&&parseInt(u.css("top"))>0){let d=h.luckysheet_select_save[h.luckysheet_select_save.length-1],f=d.row_focus,m=d.column_focus;Vd(h.flowdata[f][m]),t.preventDefault()}else if(s==at.ENTER&&parseInt(u.css("top"))>0)$("#luckysheet-formula-search-c").is(":visible")&&p.searchFunctionCell!=null?p.searchFunctionEnter($("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item-active")):(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),h.luckysheet_select_save=[{row:[h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[0]],column:[h.luckysheetCellUpdate[1],h.luckysheetCellUpdate[1]],row_focus:h.luckysheetCellUpdate[0],column_focus:h.luckysheetCellUpdate[1]}],Gt("down",1,"rangeOfSelect")),$("#luckysheet-search-formula-parm").is(":visible")&&$("#luckysheet-search-formula-parm").hide(),$("#luckysheet-search-formula-parm-select").is(":visible")&&$("#luckysheet-search-formula-parm-select").hide(),t.preventDefault();else if(s==at.TAB){if(parseInt(u.css("top"))>0)return;Gt("right",1,"rangeOfSelect"),t.preventDefault()}else if(s==at.F2){if(parseInt(u.css("top"))>0)return;let d=h.luckysheet_select_save[h.luckysheet_select_save.length-1],f=d.row_focus,m=d.column_focus;Dl(f,m,h.flowdata),t.preventDefault()}else if(s==at.F4&&parseInt(u.css("top"))>0)p.setfreezonFuc(t),t.preventDefault();else if(s==at.ESC&&parseInt(u.css("top"))>0)p.dontupdate(),Gt("down",0,"rangeOfSelect"),t.preventDefault();else if(s==at.ENTER){if($(t.target).hasClass("formulaInputFocus")||$("#luckysheet-conditionformat-dialog").is(":visible"))return;if(String.fromCharCode(s)!=null&&$("#luckysheet-cell-selected").is(":visible")){let d=h.luckysheet_select_save[h.luckysheet_select_save.length-1],f=d.row_focus,m=d.column_focus;Dl(f,m,h.flowdata),t.preventDefault()}}else if(l||t.metaKey){if(o){if(Bm||(h.luckysheet_shiftpositon=$.extend(!0,{},h.luckysheet_select_save[h.luckysheet_select_save.length-1]),h.luckysheet_shiftkeydown=!0),s==at.UP){if(parseInt(u.css("top"))>0||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;sn("up","rangeOfSelect")}else if(s==at.DOWN){if(parseInt(u.css("top"))>0||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;sn("down","rangeOfSelect")}else if(s==at.LEFT){if(parseInt(u.css("top"))>0||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;sn("left","rangeOfSelect")}else if(s==at.RIGHT){if(parseInt(u.css("top"))>0||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;sn("right","rangeOfSelect")}else if(s==186||s==222){let d=h.luckysheet_select_save[h.luckysheet_select_save.length-1],f=d.row_focus,m=d.column_focus;Dl(f,m,h.flowdata,!0);let g=Xo(2);$("#luckysheet-rich-text-editor").html(g),Cr($("#luckysheet-rich-text-editor")[0]),p.functionInputHanddler($("#luckysheet-functionbox-cell"),$("#luckysheet-rich-text-editor"),s)}}else if(s==66)$("#luckysheet-icon-bold").click();else if(s==67){if(Ie.currentImgId!=null){Ie.copyImgItem(t);return}if(be.luckysheetPaintModelOn&&be.cancelPaintModel(),h.luckysheet_select_save.length==0)return;if(h.config.merge!=null){let f=!1;for(let m=0;m<h.luckysheet_select_save.length;m++){let g=h.luckysheet_select_save[m].row[0],y=h.luckysheet_select_save[m].row[1],v=h.luckysheet_select_save[m].column[0],k=h.luckysheet_select_save[m].column[1];if(f=Nt(h.config,g,y,v,k),f)break}if(f){de()?alert(n.noMerge):U.info(n.noMerge,"");return}}let d=h.luckysheetfile[K(h.currentSheetIndex)].luckysheet_conditionformat_save;if(h.luckysheet_select_save.length>1&&d!=null&&d.length>0){let f=!1,m=Se.getComputeMap();e:for(let g=0;g<h.luckysheet_select_save.length&&!f;g++){let y=h.luckysheet_select_save[g].row[0],v=h.luckysheet_select_save[g].row[1],k=h.luckysheet_select_save[g].column[0],b=h.luckysheet_select_save[g].column[1];for(let w=y;w<=v;w++)for(let x=k;x<=b;x++)if(Se.checksCF(w,x,m)!=null){f=!0;continue e}}if(f){de()?alert(n.noMulti):U.info(n.noMulti,"");return}}if(h.luckysheet_select_save.length>1){let f=!0,m=h.luckysheet_select_save[0].row[0],g=h.luckysheet_select_save[0].row[1],y=!0,v=h.luckysheet_select_save[0].column[0],k=h.luckysheet_select_save[0].column[1];for(let b=1;b<h.luckysheet_select_save.length;b++)(h.luckysheet_select_save[b].row[0]!=m||h.luckysheet_select_save[b].row[1]!=g)&&(f=!1),(h.luckysheet_select_save[b].column[0]!=v||h.luckysheet_select_save[b].column[1]!=k)&&(y=!1);if(!f&&!y||Kr()){de()?alert(n.noMulti):U.info(n.noMulti,"");return}}Ct.copy(t),h.luckysheet_paste_iscut=!1,Fr(),t.stopPropagation();return}else if(s==70)Mr.createDialog(0),Mr.init(),$("#luckysheet-search-replace #searchInput input").focus();else if(s==72)Mr.createDialog(1),Mr.init(),$("#luckysheet-search-replace #searchInput input").focus();else if(s==73)$("#luckysheet-icon-italic").click();else if(s==86){if(de()||h.allowEdit===!1||$(t.target).hasClass("formulaInputFocus"))return;if(h.luckysheet_select_save.length>1){de()?alert(n.noPaste):U.info(n.noPaste,"");return}Ct.isPasteAction=!0,Fr(),t.stopPropagation();return}else if(s==88){if(be.luckysheetPaintModelOn&&be.cancelPaintModel(),h.luckysheet_select_save.length==0)return;if(h.config.merge!=null){let d=!1;for(let f=0;f<h.luckysheet_select_save.length;f++){let m=h.luckysheet_select_save[f].row[0],g=h.luckysheet_select_save[f].row[1],y=h.luckysheet_select_save[f].column[0],v=h.luckysheet_select_save[f].column[1];if(d=Nt(h.config,m,g,y,v),d)break}if(d){me.editMode?alert(_locale_drag.noMerge):U.info(_locale_drag.noMerge,"");return}}if(h.luckysheet_select_save.length>1){de()?alert(n.noMulti):U.info(n.noMulti,"");return}Ct.copy(t),h.luckysheet_paste_iscut=!0,Fr(),t.stopPropagation();return}else if(s==90){Tn.redo(t),Fr(),t.stopPropagation();return}else if(s==89){Tn.undo(t),Fr(),t.stopPropagation();return}else if(s==at.UP){if(parseInt(u.css("top"))>0||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;ua("up","rangeOfSelect")}else if(s==at.DOWN){if(parseInt(u.css("top"))>0||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;ua("down","rangeOfSelect")}else if(s==at.LEFT){if(parseInt(u.css("top"))>0||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;ua("left","rangeOfSelect")}else if(s==at.RIGHT){if(parseInt(u.css("top"))>0||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;ua("right","rangeOfSelect")}else if(s==186){let d=h.luckysheet_select_save[h.luckysheet_select_save.length-1],f=d.row_focus,m=d.column_focus;Dl(f,m,h.flowdata,!0);let g=Xo(1);$("#luckysheet-rich-text-editor").html(g),Cr($("#luckysheet-rich-text-editor")[0]),p.functionInputHanddler($("#luckysheet-functionbox-cell"),$("#luckysheet-rich-text-editor"),s)}else if(s==222){let d=h.luckysheet_select_save[h.luckysheet_select_save.length-1],f=d.row_focus,m=d.column_focus;Dl(f,m,h.flowdata,!0);let g=Xo(2);$("#luckysheet-rich-text-editor").html(g),Cr($("#luckysheet-rich-text-editor")[0]),p.functionInputHanddler($("#luckysheet-functionbox-cell"),$("#luckysheet-rich-text-editor"),s)}else String.fromCharCode(s).toLocaleUpperCase()=="A"&&$("#luckysheet-left-top").click();t.preventDefault();return}else if(o&&(s==at.UP||s==at.DOWN||s==at.LEFT||s==at.RIGHT||a&&(s==53||s==101))){if(parseInt(u.css("top"))>0||$(t.target).hasClass("formulaInputFocus"))return;if(Bm||(h.luckysheet_shiftpositon=$.extend(!0,{},h.luckysheet_select_save[h.luckysheet_select_save.length-1]),h.luckysheet_shiftkeydown=!0),s==at.UP){if($("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;On("down",-1,"rangeOfSelect")}else if(s==at.DOWN){if($("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;On("down",1,"rangeOfSelect")}else if(s==at.LEFT){if($("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;On("right",-1,"rangeOfSelect")}else if(s==at.RIGHT){if($("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;On("right",1,"rangeOfSelect")}else a&&(s==53||s==101)&&$("#luckysheet-icon-strikethrough").click();t.preventDefault()}else if(s==at.ESC)be.luckysheetPaintModelOn?be.cancelPaintModel():(nl(t),t.preventDefault()),tt();else if(s==at.DELETE||s==at.BACKSPACE)Ie.currentImgId!=null?Ie.removeImgItem():$("#luckysheet-delete-text").click(),t.preventDefault();else if(s==8&&Ie.currentImgId!=null)Ie.removeImgItem(),t.preventDefault();else if(s==at.UP){if(parseInt(u.css("top"))>0||h.luckysheet_cell_selected_move||h.luckysheet_cell_selected_extend||$(t.target).hasClass("formulaInputFocus")||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;Gt("down",-1,"rangeOfSelect"),t.preventDefault()}else if(s==at.DOWN){if(parseInt(u.css("top"))>0||h.luckysheet_cell_selected_move||h.luckysheet_cell_selected_extend||$(t.target).hasClass("formulaInputFocus")||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;Gt("down",1,"rangeOfSelect"),t.preventDefault()}else if(s==at.LEFT){if(parseInt(u.css("top"))>0||h.luckysheet_cell_selected_move||h.luckysheet_cell_selected_extend||$(t.target).hasClass("formulaInputFocus")||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;Gt("right",-1,"rangeOfSelect"),t.preventDefault()}else if(s==at.RIGHT){if(parseInt(u.css("top"))>0||h.luckysheet_cell_selected_move||h.luckysheet_cell_selected_extend||$(t.target).hasClass("formulaInputFocus")||$("#luckysheet-singleRange-dialog").is(":visible")||$("#luckysheet-multiRange-dialog").is(":visible"))return;Gt("right",1,"rangeOfSelect"),t.preventDefault()}else if((!(s>=112&&s<=123||s<=46||s==144||s==108||t.ctrlKey||t.altKey||t.shiftKey&&(s==37||s==38||s==39||s==40))||s==8||s==32||s==46||s==0||t.ctrlKey&&s==86)&&String.fromCharCode(s)!=null&&$("#luckysheet-cell-selected").is(":visible")&&s!=at.CAPSLOCK&&s!=at.WIN&&s!=18){let d=h.luckysheet_select_save[h.luckysheet_select_save.length-1],f=d.row_focus,m=d.column_focus;Dl(f,m,h.flowdata,!0),s==8&&$("#luckysheet-rich-text-editor").html("<br/>"),p.functionInputHanddler($("#luckysheet-functionbox-cell"),$("#luckysheet-rich-text-editor"),s)}Fr(),t.stopPropagation()}),$("#"+h.container).add("#luckysheet-input-box").keydown(function(t){if($("#luckysheet-modal-dialog-mask").is(":visible")||$(t.target).hasClass("luckysheet-mousedown-cancel")||$(t.target).hasClass("formulaInputFocus"))return;let l=t.ctrlKey,a=t.altKey,o=t.shiftKey,s=t.keyCode,u=$("#luckysheet-input-box");s==at.ESC&&parseInt($("#luckysheet-input-box").css("top"))>0?(p.dontupdate(),Gt("down",0,"rangeOfSelect"),t.preventDefault()):s==at.ENTER&&parseInt(u.css("top"))>0?$("#luckysheet-formula-search-c").is(":visible")&&p.searchFunctionCell!=null&&(p.searchFunctionEnter($("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item-active")),t.preventDefault()):s==at.TAB&&parseInt(u.css("top"))>0?($("#luckysheet-formula-search-c").is(":visible")&&p.searchFunctionCell!=null?p.searchFunctionEnter($("#luckysheet-formula-search-c").find(".luckysheet-formula-search-item-active")):(p.updatecell(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1]),Gt("right",1,"rangeOfSelect")),t.preventDefault()):s==at.F4&&parseInt(u.css("top"))>0?(p.setfreezonFuc(t),t.preventDefault()):s==at.UP&&parseInt(u.css("top"))>0?Jo("up",l,o,t):s==at.DOWN&&parseInt(u.css("top"))>0?Jo("down",l,o,t):s==at.LEFT&&parseInt(u.css("top"))>0?Jo("left",l,o,t):s==at.RIGHT&&parseInt(u.css("top"))>0?Jo("right",l,o,t):(!(s>=112&&s<=123||s<=46||s==144||s==108||t.ctrlKey||t.altKey||t.shiftKey&&(s==37||s==38||s==39||s==40||s==at.WIN||s==at.WIN_R||s==at.MENU))||s==8||s==32||s==46||t.ctrlKey&&s==86)&&(p.functionInputHanddler($("#luckysheet-functionbox-cell"),$("#luckysheet-rich-text-editor"),s),rm(h.luckysheetCellUpdate[0],h.luckysheetCellUpdate[1],h.flowdata))}).keyup(function(t){let l=t.keyCode;!t.shiftKey&&l==16&&(h.luckysheet_shiftkeydown=!1,h.luckysheet_shiftpositon=null),parseInt($("#luckysheet-input-box").css("top"))>0&&(l==13||l==16||l==32),t.preventDefault()}),$("#luckysheet_info_detail_input").val(ne.title).css("width",va(ne.title)*10).keydown(function(){let t=event.ctrlKey,l=event.altKey,a=event.shiftKey,o=event.keyCode,s=$(this);o==at.ENTER&&s.blur().change()}).bind("input propertychange",function(){let t=$(this),l=va(t.val())*10,a=$("#luckysheet_info_detail_update").outerWidth(),o=$("#luckysheet_info_detail_save").outerWidth(),s=$("#luckysheet_info_detail_user").parent().outerWidth()+60,u=$("#"+h.container).outerWidth(),d=100,f=u-o-a-s-d;l>f?$("#luckysheet_info_detail_input").css("width",f):$("#luckysheet_info_detail_input").css("width",l)}).change(function(){ne.saveParam("na",null,$(this).val())}),$("#"+h.container).add("input.luckysheet-mousedown-cancel").keydown(function(t){let l=t.target.closest(".luckysheet-cols-menuitem");typeof l!="undefined"&&l!=null&&t.keyCode===13&&$(l).trigger("click")})}var Bm,Vm=$e(()=>{Sl();ol();yr();ll();xa();Wt();Ha();Jt();Ka();Vo();Mo();jr();ht();Dt();Pt();gn();qt();qr();tl();yt();yn();Xe();Bm=!1});function qm(){let e=Q();$("#luckysheetorderbyasc, #luckysheetorderbyasc_t").mousedown(function(t){nl(t),cc(h.orderbyindex,!0),tt()}),$("#luckysheetorderbydesc, #luckysheetorderbydesc_t").click(function(t){nl(t),cc(h.orderbyindex,!1),tt()});let n=!0;$("#luckysheetorderby").click(function(){if(!It(h.currentSheetIndex,"sort"))return;$("body .luckysheet-cols-menu").hide();let t=e.sort;if(h.luckysheet_select_save.length>1){de()?alert(t.noRangeError):U.info(t.noRangeError,"");return}let l=h.luckysheet_select_save[0],a=l.row[0],o=l.row[1],s=l.column[0],u=l.column[1];if(n){n=!1;let w=`<div style="overflow: hidden;" class="luckysheet-sort-modal"><div><label><input type="checkbox" id="luckysheet-sort-haveheader"/><span>${t.hasTitle}</span></label></div><div style="overflow-y:auto;" id="luckysheet-sort-dialog-tablec"><table data-itemcount="0" cellspacing="0"> <tr><td>${t.hasTitle} <select name="sort_0"> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> </select> </td> <td> <div><label><input value="asc" type="radio" checked="checked" name="sort_0"><span>${t.asc}A-Z</span></label></div> <div><label><input value="desc" type="radio" name="sort_0"><span>${t.desc}Z-A</span></label></div></td></tr></table></div><div style="background: #e5e5e5;border-top: 1px solid #f5f5f5; height: 1px; width: 100%;margin:2px 0px;margin-bottom:10px;"></div> <div> <span style="font-weight: bold; text-decoration: underline;text-align:center;color: blue;cursor: pointer;" class="luckysheet-sort-dialog-additem">+ ${t.addOthers}</span> </div> </div>`;$("body").append(_e(ft,{id:"luckysheet-sort-dialog",addclass:"",title:e.sort.sortTitle,content:w,botton:`<button id="luckysheet-sort-modal-confirm" class="btn btn-primary">${t.confirm}</button><button class="btn btn-default luckysheet-model-close-btn">${t.close}</button>`})),$("#luckysheet-sort-dialog .luckysheet-sort-dialog-additem").click(function(){let x=h.luckysheet_select_save[0],C=x.row[0],S=x.row[1],_=x.column[0],T=x.column[1],A="",R=$("#luckysheet-sort-dialog table").data("itemcount")+1,I=$("#luckysheet-sort-haveheader").is(":checked");for(let F=_;F<=T;F++)if(I){let z=ze(C,F,h.flowdata,"m");z==null&&(z=t.columnOperation+(F-_+1)),A+='<option value="'+F+'">'+z+"</option>"}else A+='<option value="'+F+'">'+lt(F)+"</option>";$("#luckysheet-sort-dialog table").append(`
  3229. <tr class="luckysheet-sort-dialog-tr">
  3230. <td><span class="luckysheet-sort-item-close" onclick="$(this).parent().parent().remove();"><i class="fa fa-times"
  3231. aria-hidden="true"></i></span>${t.secondaryTitle} <select
  3232. name="sort_${R}">${A}</select> </td>
  3233. <td>
  3234. <div><label><input value="asc" type="radio" checked="checked"
  3235. name="sort_${R}"><span>${t.asc}A-Z</span></label></div>
  3236. <div><label><input value="desc" type="radio" name="sort_${R}"><span>${t.desc}Z-A</span></label>
  3237. </div>
  3238. </td>
  3239. </tr>
  3240. `),$("#luckysheet-sort-dialog table").data("itemcount",R)}),$("#luckysheet-sort-haveheader").change(function(){let x=h.luckysheet_select_save[0],C=x.row[0],S=x.row[1],_=x.column[0],T=x.column[1],A=$(this).is(":checked"),R="";for(let I=_;I<=T;I++)if(A){let F=ze(C,I,h.flowdata,"m");F==null&&(F=t.columnOperation+(I-_+1)),R+='<option value="'+I+'">'+F+"</option>"}else R+='<option value="'+I+'">'+lt(I)+"</option>";$("#luckysheet-sort-dialog tr select").each(function(){$(this).html(R)})}),$("#luckysheet-sort-modal-confirm").click(function(){if(h.luckysheet_select_save.length>1){de()?alert(t.noRangeError):U.info(t.noRangeError,"");return}let x=we.deepCopyFlowData(h.flowdata),C=h.luckysheet_select_save[0],S=C.row[0],_=C.row[1],T=C.column[0],A=C.column[1],R=$("#luckysheet-sort-haveheader").is(":checked"),I;R?I=S+1:I=S;let F=!1,z=[];for(let N=I;N<=_;N++){let E=[];for(let L=T;L<=A;L++){if(x[N][L]!=null&&x[N][L].mc!=null){F=!0;break}E.push(x[N][L])}z.push(E)}if(F){de()?alert(t.mergeError):U.info(t.mergeError,"");return}$($("#luckysheet-sort-dialog table tr").toArray().reverse()).each(function(){let N=$(this).find("select").val(),E=$(this).find("input:radio:checked").val();N-=T,E=="asc"?E=!0:E=!1,z=Vr([].concat(z),N,E)});for(let N=I;N<=_;N++)for(let E=T;E<=A;E++)x[N][E]=z[N-I][E-T];let M={};if(h.config.rowlen!=null){let N=$.extend(!0,{},h.config);N=yl(x,I,_,N),M={cfg:N,RowlChange:!0}}Ze(x,[{row:[I,_],column:[T,A]}],M),$("#luckysheet-sort-dialog").hide(),$("#luckysheet-modal-dialog-mask").hide()})}let d="";for(let w=s;w<=u;w++)d+='<option value="'+w+'">'+lt(w)+"</option>";$("#luckysheet-sort-dialog select").html(d),$("#luckysheet-sort-dialog .luckysheet-sort-dialog-tr").remove(),$("#luckysheet-sort-haveheader").prop("checked",!1),$("#luckysheet-sort-dialog input:radio:first").prop("checked","checked"),$("#luckysheet-sort-dialog .luckysheet-modal-dialog-title-text").html(t.sortRangeTitle+"<span>"+lt(s)+(a+1)+"</span>"+t.sortRangeTitleTo+"<span>"+lt(u)+(o+1)+"</span>");let f=$("#luckysheet-sort-dialog"),m=f.outerHeight(),g=f.outerWidth(),y=$(window).width(),v=$(window).height(),k=$(document).scrollLeft(),b=$(document).scrollTop();$("#luckysheet-sort-dialog-tablec").css("max-height",(v-m)/2),$("#luckysheet-sort-dialog").css({left:(y+k-g)/2,top:(v+b-m)/2}).show(),$("#luckysheet-modal-dialog-mask").show(),a<o&&setTimeout(function(){let w=h.flowdata[a],x=h.flowdata[a+1],C=!1;for(let S=s;S<=u;S++){let _=tr(w[S]),T=tr(x[S]);_!=T&&(C=!0)}C&&$("#luckysheet-sort-haveheader").prop("checked",!0).change()},10)})}var jm=$e(()=>{Wt();Jt();_l();ht();pr();Pt();qr();Xt();Zt();ha();tl();Qt();Br();Xe();yt()});var Um=$e(()=>{});function Gm(e,n,t){let l=e.data;if(void 0){Wn(h.asyncLoad,"print"),h.luckysheetPrint=void 0;let a=document.createElement("link");a.setAttribute("rel","stylesheet"),a.setAttribute("type","text/css"),a.setAttribute("href","./expendPlugins/print/print.css"),document.head.appendChild(a)}}var Wm=$e(()=>{ht();Um();Xe()});function Ym(e,n){e.length&&e.forEach(t=>{Ky[t.name](n,t.config,Zy)})}var Ky,Zy,Xm=$e(()=>{Ao();Wm();lu();Ky={chart:Nf,print:Gm,exportXlsx:Tm},Zy=!0});function ii(e){let n=e.trim().split(`
  3241. `).map(a=>a.trim().split(" ")),t=n[0].map(a=>({v:a})),l=n.slice(1).map(a=>a.map(o=>({v:o})));return[t,...l]}function ou(e){let n=e.trim().split(`
  3242. `).map(a=>a.trim().split(" ")),t=n[0],l=n.slice(1).map(a=>a.map(o=>o));return[t,...l]}function ev(e,n){let t=e.shift(),l=n.rows,a=n.values,o=[];function s(m,g){switch(m){case"sum":return g.reduce((y,v)=>y+(parseFloat(v)||0),0);case"count":return g.length;default:return null}}let u=e.filter(m=>m[l[0]]!=null).sort((m,g)=>m[l[0]]<g[l[0]]?-1:m[l[0]]>g[l[0]]?1:0),d=null,f=-1;return u.forEach(m=>{if(m[l[0]]!==d){f++,d=m[l[0]],o[f]=[{v:d}];for(let g=0;g<a.length;g++)o[f].push({v:""})}for(let g=0;g<a.length;g++){let y=a[g].column,v=a[g].type,k=m[y],b=s(v,[k]);o[f][g+1].v===""?o[f][g+1].v=b:o[f][g+1].v+=b}}),o.unshift([{v:t[l[0]]}].concat(a.map(m=>({v:`${t[m.column]}`})))),o}function tv(e){e.sort(function(t,l){return l[1].v=Math.round(l[1].v)||l[1].v||0,t[1].v=Math.round(t[1].v)||t[1].v||0,l[1].v-t[1].v}),e[0].unshift({v:"\u6392\u540D"});for(var n=1;n<e.length;n++)e[n].unshift({v:n});return e}function lv(e,n){e[0].splice(1,0,{v:n[0][0]}),e[0].push({v:n[0][2]});let t={};for(let l=1;l<n.length;l++)t[n[l][1]]={area:n[l][0],salesTarget:n[l][2]};for(let l=1;l<e.length;l++){let a=e[l][1].v,o=t[a].area||"",s=parseFloat(t[a].salesTarget)||0;e[l].splice(1,0,{v:o}),e[l].push({v:s})}return e}function rv(e){let n=e[0].length-1,t=[{v:""},{v:"\u5408\u8BA1"},{v:""}];for(let l=3;l<=n;l++){let a=0;for(let o=1;o<e.length;o++)a+=parseInt(e[o][l].v)||0;t.push({v:parseInt(a)||0})}return e.splice(1,0,t),e}function nv(e){let n=e[0].length-1,t=[{v:""},{v:"\u5408\u8BA1"}];for(let l=2;l<=n;l++){let a=0;for(let o=1;o<e.length;o++)a+=parseInt(e[o][l].v)||0;t.push({v:parseInt(a)||0})}return e.splice(1,0,t),e}function av(e){let n=[];for(let t=3;t<e.length;t++){let l=e[t][1].v;n.includes(l)||n.push(l)}for(let t=0;t<n.length;t++){let l=n[t],a=0,o=0,s=0,u=0;for(let f=3;f<e.length;f++)e[f][1].v===l&&(a+=parseInt(e[f][3].v)||0,o+=parseInt(e[f][4].v)||0,s+=parseInt(e[f][5].v)||0,u+=parseInt(e[f][6].v)||0);let d=[{v:""},{v:l},{v:""},{v:parseInt(a)||0},{v:o},{v:s},{v:u}];e.splice(2,0,d)}return e}function iv(e,n="\u8FBE\u6210\u7387(\u9500\u552E\u989D/\u9500\u552E\u76EE\u6807)"){e[0].push({v:n});for(let t=1;t<e.length;t++){let l=e[t][3].v,a=e[t][6].v*1e4,o=(l/a*100).toFixed(0)+"%";e[t].push({v:o})}return e}function Jm(e,n){let t={rows:[0],values:[{column:e[0].length-2,type:"sum"},{column:e[0].length-1,type:"sum"},{column:2,type:"count"}]},l=ev(e,t);l=tv(l);let a=!1;return l[0][1].v==="\u5206\u516C\u53F8"&&(a=!0,l=lv(l,n)),a?l=rv(l):l=nv(l),a&&(l=av(l),l=iv(l)),!a&&l[0]&&l[0][4]&&l[0][4].v==="\u5BA2\u6237\u6570"&&(l[0][4].v="\u9500\u552E\u5458\u4EBA\u6570"),l}function Qm(e,n={},t,l){$.ajax({url:e,data:n,beforeSend:function(a){a.setRequestHeader("Authorization",`Bearer ${Jy}.${Qy}`)},success(a){t==null||t(a)},error(a){l==null||l(a)}})}function e1(e,n=0,t=1,l,a){let o="https://api.airtable.com",s=e.replace("https://airtable.com/","").split("/"),u=s[0],d=s[1],f=s[2].split("?")[0],m="asc";t||(m="desc");let g=`${o}/v0/meta/bases/${u}/tables`;Qm(g,{},y=>{let k=y.tables.find(x=>x.id===d).fields,b=`${o}/v0/${u}/${d}`,w={view:f,sort:[{field:k[n].name,direction:m}]};Qm(b,w,x=>{let C=x.records,S=new Array;S.length=C.length;for(let _=0;_<C.length;_++){S[_]=[];for(let T=0;T<k.length;T++){let A=C[_].fields[k[T].name];A?S[_].push(A):S[_].push(null)}}l&&l(S)},x=>{console.dir(x),a&&a(x)})},y=>{console.dir(y),a&&a(y)})}var Jy,Qy,Qo,Km,iu,Zm,t1=$e(()=>{Jy=atob("cGF0b0h0bFlqMlJGWThhZks="),Qy=atob("M2Y1ZThmNjNlMWM3OTRjN2Y1YjExOWFmNWJlMTg5MjRkOTIzZjc3YTQ3YjZhYWY5OTk2Y2E3NWMyZDU3YWRjNQ=="),Qo=`\u533A\u57DF \u5206\u516C\u53F8 \u9500\u552E\u76EE\u6807(\u4E07\u5143)
  3243. \u4E2D\u5FC3\u533A \u9752\u5C9B 2360
  3244. \u5317\u533A \u5185\u8499\u53E4 400
  3245. \u4E2D\u5FC3\u533A \u4F5B\u5C71 450
  3246. \u5317\u533A \u5B89\u5FBD 1810
  3247. \u5317\u533A \u6CB3\u5317 2210
  3248. \u4E2D\u5FC3\u533A \u5317\u4EAC 2160
  3249. \u7701\u4F1A \u9752\u6D77 40
  3250. \u5357\u533A \u798F\u5EFA 1200
  3251. \u5357\u533A \u6D59\u6C5F 2060
  3252. \u5357\u533A \u6C5F\u897F 2660
  3253. \u5357\u533A \u6E56\u5357 1460
  3254. \u4E2D\u5FC3\u533A \u5929\u6D25 750
  3255. \u5317\u533A \u5C71\u4E1C 7280
  3256. \u4E2D\u5FC3\u533A \u6DF1\u5733 1410
  3257. \u7701\u4F1A \u9655\u897F 1000
  3258. \u5317\u533A \u8FBD\u5B81 2210
  3259. \u4E2D\u5FC3\u533A \u4E0A\u6D77 1000
  3260. \u5357\u533A \u6C5F\u82CF 2760
  3261. \u5317\u533A \u9ED1\u9F99\u6C5F 5720
  3262. \u5357\u533A \u5E7F\u897F 1100
  3263. \u7701\u4F1A \u65B0\u7586 600
  3264. \u5317\u533A \u6CB3\u5357 2710
  3265. \u7701\u4F1A \u56DB\u5DDD 7330
  3266. \u5357\u533A \u6E56\u5317 5170
  3267. \u5317\u533A \u5409\u6797 1560
  3268. \u7701\u4F1A \u91CD\u5E86 1610
  3269. \u4E2D\u5FC3\u533A \u82CF\u5DDE 2060
  3270. \u4E2D\u5FC3\u533A \u5B81\u6CE2 500
  3271. \u7701\u4F1A \u4E91\u5357 1960
  3272. \u7701\u4F1A \u8D35\u5DDE 600
  3273. \u5317\u533A \u5C71\u897F 1660
  3274. \u5357\u533A \u5E7F\u4E1C 3060
  3275. \u7701\u4F1A \u7518\u8083 450
  3276. \u4E2D\u5FC3\u533A \u5927\u8FDE 550
  3277. \u7701\u4F1A \u6D77\u5357 170
  3278. `,Km=`\u533A\u57DF \u5206\u516C\u53F8 \u9500\u552E\u76EE\u6807(\u4E07\u5143)
  3279. \u4E2D\u5FC3\u533A \u9752\u5C9B 2360
  3280. \u5317\u533A \u5185\u8499\u53E4 400
  3281. \u4E2D\u5FC3\u533A \u4F5B\u5C71 450
  3282. \u5317\u533A \u5B89\u5FBD 1810
  3283. \u5317\u533A \u6CB3\u5317 2210
  3284. \u4E2D\u5FC3\u533A \u5317\u4EAC 2160
  3285. \u7701\u4F1A \u9752\u6D77 40
  3286. \u5357\u533A \u798F\u5EFA 1200
  3287. \u5357\u533A \u6D59\u6C5F 2060
  3288. \u5357\u533A \u6C5F\u897F 2660
  3289. \u5357\u533A \u6E56\u5357 1460
  3290. \u4E2D\u5FC3\u533A \u5929\u6D25 750
  3291. \u5317\u533A \u5C71\u4E1C 7280
  3292. \u4E2D\u5FC3\u533A \u6DF1\u5733 1410
  3293. \u7701\u4F1A \u9655\u897F 1000
  3294. \u5317\u533A \u8FBD\u5B81 2210
  3295. \u4E2D\u5FC3\u533A \u4E0A\u6D77 1000
  3296. \u5357\u533A \u6C5F\u82CF 2760
  3297. \u5317\u533A \u9ED1\u9F99\u6C5F 5720
  3298. \u5357\u533A \u5E7F\u897F 1100
  3299. \u7701\u4F1A \u65B0\u7586 600
  3300. \u5317\u533A \u6CB3\u5357 2710
  3301. \u7701\u4F1A \u56DB\u5DDD 7330
  3302. \u5357\u533A \u6E56\u5317 5170
  3303. \u5317\u533A \u5409\u6797 1560
  3304. \u7701\u4F1A \u91CD\u5E86 1610
  3305. \u4E2D\u5FC3\u533A \u82CF\u5DDE 2060
  3306. \u4E2D\u5FC3\u533A \u5B81\u6CE2 500
  3307. \u7701\u4F1A \u4E91\u5357 1960
  3308. \u7701\u4F1A \u8D35\u5DDE 600
  3309. \u5317\u533A \u5C71\u897F 1660
  3310. \u5357\u533A \u5E7F\u4E1C 3060
  3311. \u7701\u4F1A \u7518\u8083 450
  3312. \u4E2D\u5FC3\u533A \u5927\u8FDE 550
  3313. \u7701\u4F1A \u6D77\u5357 170
  3314. `,iu=`\u533A\u57DF \u5206\u516C\u53F8 \u9500\u552E\u76EE\u6807(\u4E07\u5143)
  3315. \u4E2D\u5FC3\u533A \u9752\u5C9B 3240
  3316. \u5317\u533A \u5185\u8499\u53E4 1280
  3317. \u4E2D\u5FC3\u533A \u4F5B\u5C71 1330
  3318. \u5317\u533A \u5B89\u5FBD 2690
  3319. \u5317\u533A \u6CB3\u5317 3090
  3320. \u4E2D\u5FC3\u533A \u5317\u4EAC 3040
  3321. \u7701\u4F1A \u9752\u6D77 920
  3322. \u5357\u533A \u798F\u5EFA 2080
  3323. \u5357\u533A \u6D59\u6C5F 2940
  3324. \u5357\u533A \u6C5F\u897F 3540
  3325. \u5357\u533A \u6E56\u5357 2340
  3326. \u4E2D\u5FC3\u533A \u5929\u6D25 1630
  3327. \u5317\u533A \u5C71\u4E1C 8160
  3328. \u4E2D\u5FC3\u533A \u6DF1\u5733 2290
  3329. \u7701\u4F1A \u9655\u897F 1880
  3330. \u5317\u533A \u8FBD\u5B81 3090
  3331. \u4E2D\u5FC3\u533A \u4E0A\u6D77 1880
  3332. \u5357\u533A \u6C5F\u82CF 3640
  3333. \u5317\u533A \u9ED1\u9F99\u6C5F 6600
  3334. \u5357\u533A \u5E7F\u897F 1980
  3335. \u7701\u4F1A \u65B0\u7586 1480
  3336. \u5317\u533A \u6CB3\u5357 3590
  3337. \u7701\u4F1A \u56DB\u5DDD 8210
  3338. \u5357\u533A \u6E56\u5317 6050
  3339. \u5317\u533A \u5409\u6797 2440
  3340. \u7701\u4F1A \u91CD\u5E86 2490
  3341. \u4E2D\u5FC3\u533A \u82CF\u5DDE 2940
  3342. \u4E2D\u5FC3\u533A \u5B81\u6CE2 1380
  3343. \u7701\u4F1A \u4E91\u5357 2840
  3344. \u7701\u4F1A \u8D35\u5DDE 1480
  3345. \u5317\u533A \u5C71\u897F 2540
  3346. \u5357\u533A \u5E7F\u4E1C 3940
  3347. \u7701\u4F1A \u7518\u8083 1330
  3348. \u4E2D\u5FC3\u533A \u5927\u8FDE 1430
  3349. \u7701\u4F1A \u6D77\u5357 1050
  3350. `,Zm=`\u533A\u57DF \u5206\u516C\u53F8 \u9500\u552E\u76EE\u6807(\u4E07\u5143)
  3351. \u4E2D\u5FC3\u533A \u9752\u5C9B 4760
  3352. \u5317\u533A \u5185\u8499\u53E4 2800
  3353. \u4E2D\u5FC3\u533A \u4F5B\u5C71 2850
  3354. \u5317\u533A \u5B89\u5FBD 4210
  3355. \u5317\u533A \u6CB3\u5317 4610
  3356. \u4E2D\u5FC3\u533A \u5317\u4EAC 4560
  3357. \u7701\u4F1A \u9752\u6D77 2440
  3358. \u5357\u533A \u798F\u5EFA 3600
  3359. \u5357\u533A \u6D59\u6C5F 4460
  3360. \u5357\u533A \u6C5F\u897F 5060
  3361. \u5357\u533A \u6E56\u5357 3860
  3362. \u4E2D\u5FC3\u533A \u5929\u6D25 3150
  3363. \u5317\u533A \u5C71\u4E1C 9680
  3364. \u4E2D\u5FC3\u533A \u6DF1\u5733 3810
  3365. \u7701\u4F1A \u9655\u897F 3400
  3366. \u5317\u533A \u8FBD\u5B81 4610
  3367. \u4E2D\u5FC3\u533A \u4E0A\u6D77 3400
  3368. \u5357\u533A \u6C5F\u82CF 5160
  3369. \u5317\u533A \u9ED1\u9F99\u6C5F 8120
  3370. \u5357\u533A \u5E7F\u897F 3500
  3371. \u7701\u4F1A \u65B0\u7586 3000
  3372. \u5317\u533A \u6CB3\u5357 5110
  3373. \u7701\u4F1A \u56DB\u5DDD 9730
  3374. \u5357\u533A \u6E56\u5317 7570
  3375. \u5317\u533A \u5409\u6797 3960
  3376. \u7701\u4F1A \u91CD\u5E86 4010
  3377. \u4E2D\u5FC3\u533A \u82CF\u5DDE 4460
  3378. \u4E2D\u5FC3\u533A \u5B81\u6CE2 2900
  3379. \u7701\u4F1A \u4E91\u5357 4360
  3380. \u7701\u4F1A \u8D35\u5DDE 3000
  3381. \u5317\u533A \u5C71\u897F 4060
  3382. \u5357\u533A \u5E7F\u4E1C 5460
  3383. \u7701\u4F1A \u7518\u8083 2850
  3384. \u4E2D\u5FC3\u533A \u5927\u8FDE 2950
  3385. \u7701\u4F1A \u6D77\u5357 2570
  3386. `});var j,Yi,ov,l1,r1=$e(()=>{Sl();Hi();wc();Dt();ol();mc();qt();Oi();Qt();Br();Pt();Xt();Ml();ha();Zt();ht();Xe();j=Nl(kn()),Yi=Nl(ca());t1();gr();ov={SUM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!0))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(D.getCellDataArr(l,"number",!0));else if(B(l))t.push(l);else if(P(l)=="boolean")l.toString().toLowerCase()=="true"?t.push(1):l.toString().toLowerCase()=="false"&&t.push(0);else return p.error.v}var a=0;if(t.length>0)for(var e=0;e<t.length;e++){if(H(t[e]))return t[e];!B(t[e])||(a=Tt(a,"+",t[e]))}return a}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},AVERAGE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array")if(P(l[0])=="array"){if(!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!0))}else t=t.concat(l);else P(l)=="object"&&l.startCell!=null?t=t.concat(D.getCellDataArr(l,"text",!0)):t.push(l)}for(var a=0,o=0,e=0;e<t.length;e++){if(H(t[e]))return t[e];if(!B(t[e]))return p.error.v;a=Tt(a,"+",t[e]),o++}return o==0?p.error.d:Tt(a,"/",o)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},COUNT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array")if(P(l[0])=="array"){if(!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!0))}else t=t.concat(l);else P(l)=="object"&&l.startCell!=null?t=t.concat(D.getCellDataArr(l,"text",!0)):P(l)=="boolean"?l.toString().toLowerCase()=="true"?t.push(1):l.toString().toLowerCase()=="false"&&t.push(0):t.push(l)}for(var a=0,e=0;e<t.length;e++)B(t[e])&&a++;return a}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},COUNTA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array")if(P(l[0])=="array"){if(!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l))}else t=t.concat(l);else P(l)=="object"&&l.startCell!=null?t=t.concat(D.getCellDataArr(l,"text",!0)):t.push(l)}return t.length}catch(a){return a=p.errorInfo(a),[p.error.v,a]}},MAX:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array")if(P(l[0])=="array"){if(!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!0))}else t=t.concat(l);else P(l)=="object"&&l.startCell!=null?t=t.concat(D.getCellDataArr(l,"number",!0)):t.push(l)}for(var a=null,e=0;e<t.length;e++){if(H(t[e]))return t[e];!B(t[e])||(a==null||parseFloat(t[e])>a)&&(a=parseFloat(t[e]))}return a==null?0:a}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},MIN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array")if(P(l[0])=="array"){if(!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!0))}else t=t.concat(l);else P(l)=="object"&&l.startCell!=null?t=t.concat(D.getCellDataArr(l,"number",!0)):t.push(l)}for(var a=null,e=0;e<t.length;e++){if(H(t[e]))return t[e];!B(t[e])||(a==null||parseFloat(t[e])<a)&&(a=parseFloat(t[e]))}return a==null?0:a}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},AGE_BY_IDCARD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!window.luckysheet_function.ISIDCARD.f(t))return p.error.v;var l=window.luckysheet_function.BIRTHDAY_BY_IDCARD.f(t);if(H(l))return l;l=(0,j.default)(l);var a=(0,j.default)();if(arguments.length==2){if(a=D.getFirstValue(arguments[1]),H(a))return a;a=(0,j.default)(a)}var o=a.diff(l,"years");return o<0||o.toString()=="NaN"?p.error.v:o}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},SEX_BY_IDCARD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]).toString();return H(t)?t:window.luckysheet_function.ISIDCARD.f(t)?parseInt(t.substr(16,1))%2==1?"\u7537":"\u5973":p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},BIRTHDAY_BY_IDCARD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]).toString();if(H(t))return t;if(!window.luckysheet_function.ISIDCARD.f(t))return p.error.v;var l="";if(t.length==15){var a="19"+t.substring(6,8)+"/"+t.substring(8,10)+"/"+t.substring(10,12);l=a}else if(t.length==18){var a=t.substring(6,10)+"/"+t.substring(10,12)+"/"+t.substring(12,14);l=a}var o=0;if(arguments[1]!=null&&(o=D.getFirstValue(arguments[1]),H(o)))return o;if(!B(o))return p.error.v;if(o=parseInt(o),o<0||o>2)return p.error.v;if(parseInt(o)==0)return l;if(parseInt(o)==1)return(0,j.default)(l).format("YYYY-MM-DD");if(parseInt(o)==2)return(0,j.default)(l).format("YYYY\u5E74M\u6708D\u65E5")}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},PROVINCE_BY_IDCARD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]).toString();if(H(t))return t;if(!window.luckysheet_function.ISIDCARD.f(t))return p.error.v;var l="\u672A\u77E5",a=p.classlist.province;return t.substring(0,2)in a&&(l=a[t.substring(0,2)]),l}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},CITY_BY_IDCARD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]).toString();if(H(t))return t;if(!window.luckysheet_function.ISIDCARD.f(t))return p.error.v;for(var l=cityData.length,a="\u672A\u77E5",e=0;e<l;e++)if(t.substring(0,6)==cityData[e].code){a=cityData[e].title;break}return a}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},STAR_BY_IDCARD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!window.luckysheet_function.ISIDCARD.f(t))return p.error.v;var l=window.luckysheet_function.BIRTHDAY_BY_IDCARD.f(t);if(H(l))return l;l=new Date(l);var a=l.getMonth(),o=l.getDate(),s=new Date(1999,a,o,0,0,0),u=[];u.push(["\u9B54\u7FAF\u5EA7",new Date(1999,0,1,0,0,0)]),u.push(["\u6C34\u74F6\u5EA7",new Date(1999,0,20,0,0,0)]),u.push(["\u53CC\u9C7C\u5EA7",new Date(1999,1,19,0,0,0)]),u.push(["\u767D\u7F8A\u5EA7",new Date(1999,2,21,0,0,0)]),u.push(["\u91D1\u725B\u5EA7",new Date(1999,3,21,0,0,0)]),u.push(["\u53CC\u5B50\u5EA7",new Date(1999,4,21,0,0,0)]),u.push(["\u5DE8\u87F9\u5EA7",new Date(1999,5,22,0,0,0)]),u.push(["\u72EE\u5B50\u5EA7",new Date(1999,6,23,0,0,0)]),u.push(["\u5904\u5973\u5EA7",new Date(1999,7,23,0,0,0)]),u.push(["\u5929\u79E4\u5EA7",new Date(1999,8,23,0,0,0)]),u.push(["\u5929\u874E\u5EA7",new Date(1999,9,23,0,0,0)]),u.push(["\u5C04\u624B\u5EA7",new Date(1999,10,22,0,0,0)]),u.push(["\u9B54\u7FAF\u5EA7",new Date(1999,11,22,0,0,0)]);for(var e=u.length-1;e>=0;e--)if(s>=u[e][1])return u[e][0];return"\u672A\u627E\u5230\u5339\u914D\u661F\u5EA7\u4FE1\u606F"}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},ANIMAL_BY_IDCARD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!window.luckysheet_function.ISIDCARD.f(t))return p.error.v;var l=window.luckysheet_function.BIRTHDAY_BY_IDCARD.f(t);if(H(l))return l;l=new Date(l);var a=new Array("\u732A","\u9F20","\u725B","\u864E","\u5154","\u9F99","\u86C7","\u9A6C","\u7F8A","\u7334","\u9E21","\u72D7"),o=(parseInt(l.getFullYear())+9)%12;return o!=null&&!isNaN(o)?a[o]:"\u672A\u627E\u5230\u5339\u914D\u751F\u8096\u4FE1\u606F"}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},ISIDCARD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;var l=/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;return!!l.test(t)}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},DM_TEXT_CUTWORD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction,o=D.getFirstValue(arguments[0],"text");if(H(o))return o;var s=0;return arguments[1]!=null&&(s=D.getFirstValue(arguments[1]),H(s))?s:B(s)?(s=parseInt(s),s!=0&&s!=1&&s!=2?p.error.v:($.post("/dataqk/tu/api/cutword",{text:o,type:s},function(d){var f=[].concat(h.flowdata);p.execFunctionGroup(t,l,d),f[t][l]={v:d,f:a},Ze(f,[{row:[t,t],column:[l,l]}])}),"loading...")):p.error.v}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},DM_TEXT_TFIDF:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction,o=D.getFirstValue(arguments[0],"text");if(H(o))return o;var s=20;if(arguments[1]!=null&&(s=D.getFirstValue(arguments[1]),H(s)))return s;if(!B(s))return p.error.v;s=parseInt(s);var u=0;return arguments[2]!=null&&(u=D.getFirstValue(arguments[2]),H(u))?u:B(u)?(u=parseInt(u),s<0?p.error.v:u!=0&&u!=1&&u!=2?p.error.v:($.post("/dataqk/tu/api/tfidf",{text:o,count:s,set:u},function(f){var m=we.deepCopyFlowData(h.flowdata);p.execFunctionGroup(t,l,f),m[t][l]={v:f,f:a},Ze(m,[{row:[t,t],column:[l,l]}])}),"loading...")):p.error.v}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},DM_TEXT_TEXTRANK:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction,o=D.getFirstValue(arguments[0],"text");if(H(o))return o;var s=20;if(arguments[1]!=null&&(s=D.getFirstValue(arguments[1]),H(s)))return s;if(!B(s))return p.error.v;s=parseInt(s);var u=0;return arguments[2]!=null&&(u=D.getFirstValue(arguments[2]),H(u))?u:B(u)?(u=parseInt(u),s<0?p.error.v:u!=0&&u!=1&&u!=2?p.error.v:($.post("/dataqk/tu/api/tfidf",{text:o,count:s,set:u},function(f){var m=we.deepCopyFlowData(h.flowdata);p.execFunctionGroup(t,l,f),m[t][l]={v:f,f:a},Ze(m,[{row:[t,t],column:[l,l]}])}),"loading...")):p.error.v}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},DATA_CN_STOCK_CLOSE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction,o=D.getFirstValue(arguments[0]);if(H(o))return o;var s=null;if(arguments[1]!=null){var u=arguments[1];if(P(u)=="array")return p.error.v;if(P(u)=="object"&&u.startCell!=null)if(u.data!=null&&P(u.data)!="array"&&u.data.ct!=null&&u.data.ct.t=="d")s=_t("yyyy-mm-dd",u.data.v);else return p.error.v;else s=u;if(!Ot(s))return[p.error.v,"\u65E5\u671F\u9519\u8BEF"];s=(0,j.default)(s).format("YYYY-MM-DD")}var d=0;return arguments[2]!=null&&(d=D.getFirstValue(arguments[2]),H(d))?d:B(d)?(d=parseInt(d),d!=0&&d!=1&&d!=2?p.error.v:($.post("/dataqk/tu/api/getstockinfo",{stockCode:o,date:s,price:d,type:"0"},function(m){var g=we.deepCopyFlowData(h.flowdata),y=Al(m);y==null&&(y=m),p.execFunctionGroup(t,l,y),g[t][l]={v:y,f:a},Ze(g,[{row:[t,t],column:[l,l]}])}),"loading...")):p.error.v}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},DATA_CN_STOCK_OPEN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction,o=D.getFirstValue(arguments[0]);if(H(o))return o;var s=null;if(arguments[1]!=null){var u=arguments[1];if(P(u)=="array")return p.error.v;if(P(u)=="object"&&u.startCell!=null)if(u.data!=null&&P(u.data)!="array"&&u.data.ct!=null&&u.data.ct.t=="d")s=_t("yyyy-mm-dd",u.data.v);else return p.error.v;else s=u;if(!Ot(s))return[p.error.v,"\u65E5\u671F\u9519\u8BEF"];s=(0,j.default)(s).format("YYYY-MM-DD")}var d=0;return arguments[2]!=null&&(d=D.getFirstValue(arguments[2]),H(d))?d:B(d)?(d=parseInt(d),d!=0&&d!=1&&d!=2?p.error.v:($.post("/dataqk/tu/api/getstockinfo",{stockCode:o,date:s,price:d,type:"1"},function(m){var g=we.deepCopyFlowData(h.flowdata);p.execFunctionGroup(t,l,m),g[t][l]={v:m,f:a},Ze(g,[{row:[t,t],column:[l,l]}])}),"loading...")):p.error.v}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},DATA_CN_STOCK_MAX:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction,o=D.getFirstValue(arguments[0]);if(H(o))return o;var s=null;if(arguments[1]!=null){var u=arguments[1];if(P(u)=="array")return p.error.v;if(P(u)=="object"&&u.startCell!=null)if(u.data!=null&&P(u.data)!="array"&&u.data.ct!=null&&u.data.ct.t=="d")s=_t("yyyy-mm-dd",u.data.v);else return p.error.v;else s=u;if(!Ot(s))return[p.error.v,"\u65E5\u671F\u9519\u8BEF"];s=(0,j.default)(s).format("YYYY-MM-DD")}var d=0;return arguments[2]!=null&&(d=D.getFirstValue(arguments[2]),H(d))?d:B(d)?(d=parseInt(d),d!=0&&d!=1&&d!=2?p.error.v:($.post("/dataqk/tu/api/getstockinfo",{stockCode:o,date:s,price:d,type:"2"},function(m){var g=we.deepCopyFlowData(h.flowdata);p.execFunctionGroup(t,l,m),g[t][l]={v:m,f:a},Ze(g,[{row:[t,t],column:[l,l]}])}),"loading...")):p.error.v}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},DATA_CN_STOCK_MIN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction,o=D.getFirstValue(arguments[0]);if(H(o))return o;var s=null;if(arguments[1]!=null){var u=arguments[1];if(P(u)=="array")return p.error.v;if(P(u)=="object"&&u.startCell!=null)if(u.data!=null&&P(u.data)!="array"&&u.data.ct!=null&&u.data.ct.t=="d")s=_t("yyyy-mm-dd",u.data.v);else return p.error.v;else s=u;if(!Ot(s))return[p.error.v,"\u65E5\u671F\u9519\u8BEF"];s=(0,j.default)(s).format("YYYY-MM-DD")}var d=0;return arguments[2]!=null&&(d=D.getFirstValue(arguments[2]),H(d))?d:B(d)?(d=parseInt(d),d!=0&&d!=1&&d!=2?p.error.v:($.post("/dataqk/tu/api/getstockinfo",{stockCode:o,date:s,price:d,type:"3"},function(m){var g=we.deepCopyFlowData(h.flowdata);p.execFunctionGroup(t,l,m),g[t][l]={v:m,f:a},Ze(g,[{row:[t,t],column:[l,l]}])}),"loading...")):p.error.v}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},DATA_CN_STOCK_VOLUMN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction,o=D.getFirstValue(arguments[0]);if(H(o))return o;var s=null;if(arguments[1]!=null){var u=arguments[1];if(P(u)=="array")return p.error.v;if(P(u)=="object"&&u.startCell!=null)if(u.data!=null&&P(u.data)!="array"&&u.data.ct!=null&&u.data.ct.t=="d")s=_t("yyyy-mm-dd",u.data.v);else return p.error.v;else s=u;if(!Ot(s))return[p.error.v,"\u65E5\u671F\u9519\u8BEF"];s=(0,j.default)(s).format("YYYY-MM-DD")}var d=0;return arguments[2]!=null&&(d=D.getFirstValue(arguments[2]),H(d))?d:B(d)?(d=parseInt(d),d!=0&&d!=1&&d!=2?p.error.v:($.post("/dataqk/tu/api/getstockinfo",{stockCode:o,date:s,price:d,type:"4"},function(m){var g=we.deepCopyFlowData(h.flowdata);p.execFunctionGroup(t,l,m),g[t][l]={v:m,f:a},Ze(g,[{row:[t,t],column:[l,l]}])}),"loading...")):p.error.v}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},DATA_CN_STOCK_AMOUNT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction,o=D.getFirstValue(arguments[0]);if(H(o))return o;var s=null;if(arguments[1]!=null){var u=arguments[1];if(P(u)=="array")return p.error.v;if(P(u)=="object"&&u.startCell!=null)if(u.data!=null&&P(u.data)!="array"&&u.data.ct!=null&&u.data.ct.t=="d")s=_t("yyyy-mm-dd",u.data.v);else return p.error.v;else s=u;if(!Ot(s))return[p.error.v,"\u65E5\u671F\u9519\u8BEF"];s=(0,j.default)(s).format("YYYY-MM-DD")}var d=0;return arguments[2]!=null&&(d=D.getFirstValue(arguments[2]),H(d))?d:B(d)?(d=parseInt(d),d!=0&&d!=1&&d!=2?p.error.v:($.post("/dataqk/tu/api/getstockinfo",{stockCode:o,date:s,price:d,type:"5"},function(m){var g=we.deepCopyFlowData(h.flowdata);p.execFunctionGroup(t,l,m),g[t][l]={v:m,f:a},Ze(g,[{row:[t,t],column:[l,l]}])}),"loading...")):p.error.v}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},ISDATE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");return H(t)?t:Ot(t)}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},SUMIF:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=0,l=arguments[0].data,a=arguments[0].rowl,o=arguments[0].coll,s=Ja(arguments[1]);if(l=p.getRangeArray(l)[0],arguments[2]){var u=[],d=arguments[2].startCell,f=arguments[2].rowl,m=arguments[2].coll,g=arguments[2].sheetName;if(a==f&&o==m)u=arguments[2].data;else{var y=[],v=[],k="",b="";y[0]=parseInt(d.replace(/[^0-9]/g,""))-1,v[0]=hl(d.replace(/[^A-Za-z]/g,"")),y[1]=y[0]+a-1,v[1]=v[0]+o-1;var w=lt(v[1]),x=y[1]+1;k=w+x,b=g+"!"+d+":"+k,u=ir(b).data}u=p.getRangeArray(u)[0];for(var e=0;e<l.length;e++){var C=l[e];if(!!C&&p.acompareb(C,s)){if(!B(u[e]))continue;t=Tt(t,"+",u[e])}}}else for(var e=0;e<l.length;e++){var C=l[e];if(!!C&&p.acompareb(C,s)){if(!B(C))continue;t=Tt(t,"",C)}}return t}catch(_){var S=_;return S=p.errorInfo(S),[p.error.v,S]}},TAN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),Math.tan(t)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},TANH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=Math.exp(2*t);return(l-1)/(l+1)}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},CEILING:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseFloat(l),l==0?0:t>0&&l<0?p.error.nm:Math.ceil(t/l)*l):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},ATAN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),Math.atan(t)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},ASINH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),Math.log(t+Math.sqrt(t*t+1))):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},ABS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),Math.abs(t)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},ACOS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),t<-1||t>1?p.error.nm:Math.acos(t)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},ACOSH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),t<1?p.error.nm:Math.log(t+Math.sqrt(t*t-1))):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},MULTINOMIAL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!0))}else P(l)=="object"&&l.startCell!=null?t=t.concat(D.getCellDataArr(l,"number",!0)):t.push(l)}for(var a=0,o=1,e=0;e<t.length;e++){var s=t[e];if(!B(s))return p.error.v;if(s=parseFloat(s),s<0)return p.error.nm;a+=s,o*=D.factorial(s)}return D.factorial(a)/o}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},ATANH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),t<=-1||t>=1?p.error.nm:Math.log((1+t)/(1-t))/2):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},ATAN2:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseFloat(l),t==0&&l==0?p.error.d:Math.atan2(l,t)):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},COUNTBLANK:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=0;if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return 1;if(P(t.data)=="array")for(var a=0;a<t.data.length;a++)for(var o=0;o<t.data[a].length;o++)(t.data[a][o]==null||fe(t.data[a][o].v))&&l++;else fe(t.data.v)&&l++}return l}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},COSH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),(Math.exp(t)+Math.exp(-t))/2):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},INT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0];if(P(t)=="array")return P(t[0])=="array"?D.isDyadicArr(t)?B(t[0][0])?Math.floor(parseFloat(t[0][0])):p.error.v:p.error.v:B(t[0])?Math.floor(parseFloat(t[0])):p.error.v;if(P(t)=="object"&&t.startCell!=null){if(t.coll>1)return p.error.v;if(t.rowl>1){var l=p.getcellrange(t.startCell),a=l.row[0];if(window.luckysheetCurrentRow<a||window.luckysheetCurrentRow>a+t.rowl-1)return p.error.v;var o=t.data[window.luckysheetCurrentRow-a][0]}else var o=t.data;return o==null||fe(o.v)?0:B(o.v)?Math.floor(parseFloat(o.v)):p.error.v}else{if(P(t)=="boolean"){if(t.toString().toLowerCase()=="true")return 1;if(t.toString().toLowerCase()=="false")return 0}return B(t)?Math.floor(parseFloat(t)):p.error.v}}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},ISEVEN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseInt(t),!(Math.abs(t)&1)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},ISODD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseInt(t),!!(Math.abs(t)&1)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},LCM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array")if(P(l[0])=="array"){if(!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l))}else t=t.concat(l);else P(l)=="object"&&l.startCell!=null?t=t.concat(D.getCellDataArr(l,"number",!0)):t.push(l)}for(var a=0;a<t.length;a++){var o=t[a];if(!B(o))return p.error.v;if(o=parseInt(o),o<0)return p.error.nm;t[a]=o}for(var e,s,u,d,f=1;(u=t.pop())!==void 0;)for(u==0&&(f=0);u>1;){if(u%2){for(e=3,s=Math.floor(Math.sqrt(u));e<=s&&u%e;e+=2);d=e<=s?e:u}else d=2;for(u/=d,f*=d,e=t.length;e;t[--e]%d==0&&(t[e]/=d)===1&&t.splice(e,1));}return f>=Math.pow(2,53)?p.error.nm:f}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},LN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),t<=0?p.error.nm:Math.log(t)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},LOG:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;if(t=parseFloat(t),t<=0)return p.error.nm;if(arguments.length==2){var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;if(l=parseFloat(l),l<=0)return p.error.nm}else var l=10;return Math.log(t)/Math.log(l)}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},LOG10:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),t<=0?p.error.nm:Math.log(t)/Math.log(10)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},MOD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;if(l=parseFloat(l),l==0)return p.error.d;var a=Math.abs(t%l);return l>0?a:-a}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},MROUND:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseFloat(l),t*l<0?p.error.nm:Math.round(t/l)*l):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},ODD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=Math.ceil(Math.abs(t));return l=l&1?l:l+1,t>=0?l:-l}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},SUMSQ:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!0))}else P(l)=="object"&&l.startCell!=null?t=t.concat(D.getCellDataArr(l,"number",!0)):t.push(l)}var a=0;if(t.length>0)for(var e=0;e<t.length;e++){var o=t[e];if(!B(o))return p.error.v;o=parseFloat(o),a+=o*o}return a}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},COMBIN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseInt(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseInt(l),t<0||l<0||t<l?p.error.nm:D.factorial(t)/(D.factorial(l)*D.factorial(t-l))):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},SUBTOTAL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{let m=function(g){switch(g){case 1:case 101:return window.luckysheet_function.AVERAGE.f.apply(window.luckysheet_function.AVERAGE,s);case 2:case 102:return window.luckysheet_function.COUNT.f.apply(window.luckysheet_function.COUNT,s);case 3:case 103:return window.luckysheet_function.COUNTA.f.apply(window.luckysheet_function.COUNTA,s);case 4:case 104:return window.luckysheet_function.MAX.f.apply(window.luckysheet_function.MAX,s);case 5:case 105:return window.luckysheet_function.MIN.f.apply(window.luckysheet_function.MIN,s);case 6:case 106:return window.luckysheet_function.PRODUCT.f.apply(window.luckysheet_function.PRODUCT,s);case 7:case 107:return window.luckysheet_function.STDEVA.f.apply(window.luckysheet_function.STDEVA,s);case 8:case 108:return window.luckysheet_function.STDEVP.f.apply(window.luckysheet_function.STDEVP,s);case 9:case 109:return window.luckysheet_function.SUM.f.apply(window.luckysheet_function.SUM,s);case 10:case 110:return window.luckysheet_function.VAR_S.f.apply(window.luckysheet_function.VAR_S,s);case 11:case 111:return window.luckysheet_function.VAR_P.f.apply(window.luckysheet_function.VAR_P,s)}};var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!D.isDyadicArr(t))return p.error.v;l=[];for(var e=0;e<t.length;e++){for(var a=[],o=0;o<t[e].length;o++)a.push(t[e][o]);l.push(a)}}else{l=[];for(var e=0;e<t.length;e++)l.push(t[e])}else P(t)=="object"&&t.startCell!=null?l=D.getFirstValue(t):l=t;var s=Array.prototype.slice.apply(arguments);if(s.shift(),P(l)=="array"){var u=[];if(P(l[0])=="array")for(var e=0;e<l.length;e++){for(var a=[],o=0;o<l[e].length;o++){var d=l[e][o];H(d)?a.push(d):B(d)?(d=parseInt(d),d<1||d>111||d>11&&d<101?a.push(p.error.v):a.push(m(d))):a.push(p.error.v)}u.push(a)}else for(var e=0;e<l.length;e++){var d=l[e];H(d)?u.push(d):B(d)?(d=parseInt(d),d<1||d>111||d>11&&d<101?u.push(p.error.v):u.push(m(d))):u.push(p.error.v)}return u}else return H(l)?l:B(l)?(l=parseInt(l),l<1||l>111||l>11&&l<101?p.error.v:m(l)):p.error.v}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},ASIN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),t<-1||t>1?p.error.nm:Math.asin(t)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},COUNTIF:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{let m=function(g,y){/[<>=!*?]/.test(y)||(y='=="'+y+'"'),y=y.replace("<>","!=");var v=0;if(P(g)=="array"){for(var k=0;k<g.length;k++)for(var b=0;b<g[k].length;b++)if(g[k][b]!=null&&!fe(g[k][b].v)){var w=g[k][b].v;y.indexOf("*")>-1||y.indexOf("?")>-1?p.isWildcard(w,y)&&v++:typeof w!="string"?new Function("return "+w+y)()&&v++:new Function('return "'+w+'"'+y)()&&v++}}else if(g!=null&&!fe(g.v)){var w=g.v;y.indexOf("*")>-1||y.indexOf("?")>-1?p.isWildcard(w,y)&&v++:typeof w!="string"?new Function("return "+w+y)()&&v++:new Function('return "'+w+'"'+y)()&&v++}return v};var t=arguments[0],l;if(P(t)=="object"&&t.startCell!=null)l=t.data;else return p.error.v;var a=arguments[1],o;if(P(a)=="array")if(o=[],P(a[0])=="array"){if(!D.isDyadicArr(a))return p.error.v;for(var e=0;e<a.length;e++){for(var s=[],u=0;u<a[e].length;u++)s.push(a[e][u]);o.push(s)}}else for(var e=0;e<a.length;e++)o.push(a[e]);else if(P(a)=="object"&&a.startCell!=null){if(a.rowl>1||a.coll>1)return 0;o=a.data.v}else o=a;if(P(o)=="array"){var d=[];if(P(o[0])=="array")for(var e=0;e<o.length;e++){for(var s=[],u=0;u<o[e].length;u++)s.push(m(l,o[e][u]));d.push(s)}else for(var e=0;e<o.length;e++)d.push(m(l,o[e]));return d}else return m(l,o)}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},RADIANS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),t*Math.PI/180):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},RAND:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;try{return Math.floor(Math.random()*1e9)/1e9}catch(n){var e=n;return e=p.errorInfo(e),[p.error.v,e]}},COUNTUNIQUE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!0))}else P(l)=="object"&&l.startCell!=null?t=t.concat(D.getCellDataArr(l,"text",!0)):t.push(l)}return window.luckysheet_function.UNIQUE.f(t)}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},DEGREES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),t*180/Math.PI):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},ERFC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),jStat.erfc(t)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},EVEN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=Math.ceil(Math.abs(t));return l=l&1?l+1:l,t>0?l:-l}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},EXP:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),Math.exp(t)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},FACT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))if(P(t)=="boolean")t.toString().toLowerCase()=="true"?t=1:t.toString().toLowerCase()=="false"&&(t=0);else return p.error.v;return t=parseInt(t),t<0?p.error.nm:D.factorial(t)}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},FACTDOUBLE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))if(P(t)=="boolean")t.toString().toLowerCase()=="true"?t=1:t.toString().toLowerCase()=="false"&&(t=0);else return p.error.v;return t=parseInt(t),t<0?p.error.nm:D.factorialDouble(t)}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},PI:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;try{return Math.PI}catch(n){var e=n;return e=p.errorInfo(e),[p.error.v,e]}},FLOOR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;if(l=parseFloat(l),l==0)return p.error.d;if(t>0&&l<0)return p.error.nm;var a=-Math.floor(Math.log(Math.abs(l))/Math.log(10));return t>=0?Math.floor(t/l)*l*Math.pow(10,a)/Math.pow(10,a):-(Math.ceil(Math.abs(t)/l)*l*Math.pow(10,a))/Math.pow(10,a)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},GCD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!1))}else P(l)=="object"&&l.startCell!=null?t=t.concat(D.getCellDataArr(l,"number",!1)):t.push(l)}if(!B(t[0]))return p.error.v;var a=parseInt(t[0]);if(a<0||a>=Math.pow(2,53))return p.error.nm;for(var e=1;e<t.length;e++){var o=t[e];if(!B(o))return p.error.v;if(o=parseInt(o),o<0||o>=Math.pow(2,53))return p.error.nm;for(;a&&o;)a>o?a%=o:o%=a;a+=o}return a}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},RANDBETWEEN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseInt(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseInt(l),t>l?p.error.nm:t+Math.ceil((l-t+1)*Math.random())-1):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},ROUND:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseInt(l);var a=t>0?1:-1;return a*Math.round(Math.abs(t)*Math.pow(10,l))/Math.pow(10,l)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},ROUNDDOWN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseInt(l);var a=t>0?1:-1;return a*Math.floor(Math.abs(t)*Math.pow(10,l))/Math.pow(10,l)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},ROUNDUP:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseInt(l);var a=t>0?1:-1;return a*Math.ceil(Math.abs(t)*Math.pow(10,l))/Math.pow(10,l)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},SERIESSUM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=arguments[3],s=[];if(P(o)=="array"){if(P(o[0])=="array"&&!D.isDyadicArr(o))return p.error.v;s=s.concat(D.getDataArr(o,!1))}else P(o)=="object"&&o.startCell!=null?s=s.concat(D.getCellDataArr(o,"number",!1)):s.push(o);if(!B(s[0]))return p.error.v;for(var u=parseFloat(s[0])*Math.pow(t,l),e=1;e<s.length;e++){var d=s[e];if(!B(d))return p.error.v;d=parseFloat(d),u+=d*Math.pow(t,l+e*a)}return u}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},SIGN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;if(t=parseFloat(t),t>0)return 1;if(t==0)return 0;if(t<0)return-1}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},SIN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),Math.sin(t)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},SINH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),(Math.exp(t)-Math.exp(-t))/2):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},SQRT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),t<0?p.error.nm:Math.sqrt(t)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},SQRTPI:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),t<0?p.error.nm:Math.sqrt(t*Math.PI)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},GAMMALN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),t<=0?p.error.nm:jStat.gammaln(t)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},COS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),Math.cos(t)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},TRUNC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;if(t=parseFloat(t),arguments.length==2){var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseInt(l)}else var l=0;var a=t>0?1:-1;return a*Math.floor(Math.abs(t)*Math.pow(10,l))/Math.pow(10,l)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},QUOTIENT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseFloat(l),l==0?p.error.d:parseInt(t/l,10)):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},POWER:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseFloat(l),t==0&&l==0?p.error.nm:t<0&&l.toString().indexOf(".")>-1?p.error.nm:Math.pow(t,l)):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},SUMIFS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=0,l=arguments;Gn(l);for(var a=p.getRangeArray(l[0])[0],o=new Array(a.length),e=0;e<o.length;e++)o[e]=!0;for(var e=1;e<l.length;e+=2)for(var s=p.getRangeArray(l[e])[0],u=l[e+1],d=0;d<s.length;d++){var f=s[d];o[d]=o[d]&&!!f&&p.acompareb(f,u)}for(var e=0;e<a.length;e++)o[e]&&(t=Tt(t,"+",a[e]));return t}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},GET_TARGET:function(){try{var e=window.luckysheetCurrentIndex,n=h.currentSheetIndex;if(e!==n)return;var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction;return setTimeout(()=>{var s=we.deepCopyFlowData(h.flowdata);let u=ii(Qo),d=t+u.length,f=l+u[0].length;if(d>=s.length&&f>=s[0].length?s=Vt(s,d-s.length+1,f-s[0].length+1):d>=s.length?s=Vt(s,d-s.length+1,0):f>=s[0].length&&(s=Vt(s,0,f-s[0].length+1)),u.forEach((m,g)=>{m.forEach((y,v)=>{Ft(t+g,l+v,s,y)})}),s[t][l].f=a,delete s[t][l].m,n===h.currentSheetIndex){let m=h.luckysheetfile[K(h.currentSheetIndex)];m.row=s.length,m.data=s,Rl(s[0].length,s.length,s,null,h.luckysheet_select_save,"datachangeAll",void 0,void 0)}else{let m=h.luckysheetfile[K(h.currentSheetIndex)];m.data=s}},300),"loading..."}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},GET_AIRTABLE_DATA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentIndex,l=h.currentSheetIndex;if(t!==l)return;var a=window.luckysheetCurrentRow,o=window.luckysheetCurrentColumn;let f=D.getFirstValue(arguments[0]),m=D.getFirstValue(arguments[1]),g=D.getFirstValue(arguments[2]);var s=window.luckysheetCurrentFunction,u=we.deepCopyFlowData(h.flowdata);return e1(f,m,g,y=>{let v=a+y.length,k=o+y[0].length;if(v>=u.length&&k>=u[0].length?u=Vt(u,v-u.length+1,k-u[0].length+1):v>=u.length?u=Vt(u,v-u.length+1,0):k>=u[0].length&&(u=Vt(u,0,k-u[0].length+1)),y.forEach((b,w)=>{b.forEach((x,C)=>{Ft(a+w,o+C,u,x)})}),u[a][o].f=s,delete u[a][o].m,l===h.currentSheetIndex){let b=h.luckysheetfile[K(h.currentSheetIndex)];b.row=u.length,b.data=u,Rl(u[0].length,u.length,u,null,h.luckysheet_select_save,"datachangeAll",void 0,void 0)}else{let b=h.luckysheetfile[K(h.currentSheetIndex)];b.data=u}},y=>{var v=y;return v=p.errorInfo(v),[p.error.v,v]}),"loading..."}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},ASK_AI:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{let f=window.luckysheetCurrentIndex,m=h.currentSheetIndex;if(f!==m)return;var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction,o=arguments,s=D.getFirstValue(arguments[0]),u;o[1]?u=p.getRangeArrayTwo(o[1].data):u=ou(Qo);let g=ou(Qo),y=Jm(u,g);return o[1]||(s.indexOf("10\u6708")!==-1?y=ii(Km):s.indexOf("11\u6708")!==-1?y=ii(iu):s.indexOf("12\u6708")!==-1?y=ii(Zm):y=ii(iu)),setTimeout(()=>{var v=we.deepCopyFlowData(h.flowdata);let k=t+y.length,b=l+y[0].length;if(k>=v.length&&b>=v[0].length?v=Vt(v,k-v.length+1,b-v[0].length+1):k>=v.length?v=Vt(v,k-v.length+1,0):b>=v[0].length&&(v=Vt(v,0,b-v[0].length+1)),y.forEach((w,x)=>{w.forEach((C,S)=>{Ft(t+x,l+S,v,C)})}),v[t][l].f=a,delete v[t][l].m,m===h.currentSheetIndex){let w=h.luckysheetfile[K(h.currentSheetIndex)];w.row=v.length,w.data=v,Rl(v[0].length,v.length,v,null,h.luckysheet_select_save,"datachangeAll",void 0,void 0)}else{let w=h.luckysheetfile[K(h.currentSheetIndex)];w.data=v}},300),"loading..."}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},COUNTIFS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments;Gn(t);for(var l=new Array(p.getRangeArray(t[0])[0].length),e=0;e<l.length;e++)l[e]=!0;for(var e=0;e<t.length;e+=2)for(var a=p.getRangeArray(t[e])[0],o=t[e+1],s=0;s<a.length;s++){var u=a[s];l[s]=l[s]&&!!u&&p.acompareb(u,o)}for(var d=0,e=0;e<l.length;e++)l[e]&&d++;return d}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},PRODUCT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!0))}else P(l)=="object"&&l.startCell!=null?t=t.concat(D.getCellDataArr(l,"number",!0)):t.push(l)}for(var a=1,e=0;e<t.length;e++){var o=t[e];if(!B(o))return p.error.v;o=parseFloat(o),a*=o}return a}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},HARMEAN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!0))}else P(l)=="object"&&l.startCell!=null?t=t.concat(D.getCellDataArr(l,"number",!0)):t.push(l)}for(var a=0,o=0,e=0;e<t.length;e++){var s=t[e];if(!B(s))return p.error.v;if(s=parseFloat(s),s<=0)return p.error.nm;a+=1/s,o++}return o/a}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},HYPGEOMDIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{let d=function(m,g,y,v){var k=D.factorial(y)/(D.factorial(m)*D.factorial(y-m)),b=D.factorial(v-y)/(D.factorial(g-m)*D.factorial(v-y-g+m)),w=D.factorial(v)/(D.factorial(g)*D.factorial(v-g));return k*b/w},f=function(m,g,y,v){for(var k=0,b=0;b<=m;b++)k+=d(b,g,y,v);return k};var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseInt(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseInt(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseInt(a);var o=D.getFirstValue(arguments[3]);if(H(o))return o;if(!B(o))return p.error.v;o=parseInt(o);var s=D.getCellBoolen(arguments[4]);return H(s)?s:t<0||t>Math.min(l,a)||t<Math.max(0,l-o+a)?p.error.nm:l<=0||l>o?p.error.nm:a<=0||a>o?p.error.nm:o<=0?p.error.nm:s?f(t,l,a,o):d(t,l,a,o)}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},INTERCEPT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=0,l=arguments[0],a=[];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;a=a.concat(D.getDataArr(l,!1))}else P(l)=="object"&&l.startCell!=null?a=a.concat(D.getCellDataArr(l,"text",!1)):a.push(l);var o=arguments[1],s=[];if(P(o)=="array"){if(P(o[0])=="array"&&!D.isDyadicArr(o))return p.error.v;s=s.concat(D.getDataArr(o,!1))}else P(o)=="object"&&o.startCell!=null?s=s.concat(D.getCellDataArr(o,"text",!1)):s.push(o);if(a.length!=s.length)return p.error.na;for(var u=[],d=[],e=0;e<a.length;e++){var f=a[e],m=s[e];B(f)&&B(m)&&(u.push(parseFloat(f)),d.push(parseFloat(m)))}if(D.variance_s(d)==0)return p.error.d;for(var g=jStat.mean(d),y=jStat.mean(u),v=d.length,k=0,b=0,e=0;e<v;e++)k+=(d[e]-g)*(u[e]-y),b+=Math.pow(d[e]-g,2);var w=k/b,x=y-w*g;return x+w*t}catch(S){var C=S;return C=p.errorInfo(C),[p.error.v,C]}},KURT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!0))}else P(l)=="object"&&l.startCell!=null?t=t.concat(D.getCellDataArr(l,"text",!0)):t.push(l)}for(var a=[],o=0;o<t.length;o++){var s=t[o];if(!B(s))return p.error.v;s=parseFloat(s),a.push(s)}if(a.length<4||D.standardDeviation_s(a)==0)return p.error.d;for(var u=jStat.mean(a),d=a.length,f=0,e=0;e<d;e++)f+=Math.pow(a[e]-u,4);return f=f/Math.pow(jStat.stdev(a,!0),4),d*(d+1)/((d-1)*(d-2)*(d-3))*f-3*(d-1)*(d-1)/((d-2)*(d-3))}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},LARGE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=[];if(P(arguments[0])=="array"){if(P(arguments[0][0])=="array"&&!D.isDyadicArr(arguments[0]))return p.error.v;t=t.concat(D.getDataArr(arguments[0],!0))}else P(arguments[0])=="object"&&arguments[0].startCell!=null?t=t.concat(D.getCellDataArr(arguments[0],"text",!0)):t.push(arguments[0]);for(var l=[],a=0;a<t.length;a++){var o=t[a];if(!B(o))return p.error.v;o=parseFloat(o),l.push(o)}var s;if(P(arguments[1])=="array"){if(P(arguments[1][0])=="array"&&!D.isDyadicArr(arguments[1]))return p.error.v;s=D.getDataArr(arguments[1])}else if(P(arguments[1])=="object"&&arguments[1].startCell!=null){if(arguments[1].rowl>1||arguments[1].coll>1)return p.error.v;var u=arguments[1].data;if(u==null||fe(u.v))var s=0;else var s=u.v}else s=arguments[1];if(P(s)=="array"){if(l.length==0)return p.error.nm;for(var d=[],e=0;e<s.length;e++){if(!B(s[e])){d.push(p.error.v);continue}if(s[e]=Math.ceil(parseFloat(s[e])),s[e]<=0||s[e]>l.length){d.push(p.error.nm);continue}d.push(t.sort(function(g,y){return y-g})[s[e]-1])}return d}else return B(s)?(s=Math.ceil(parseFloat(s)),l.length==0?p.error.nm:s<=0||s>l.length?p.error.nm:t.sort(function(m,g){return g-m})[s-1]):p.error.v}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},STDEVA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!1))}else P(l)=="object"&&l.startCell!=null?t=t.concat(D.getCellDataArr(l,"text",!1)):t.push(l)}for(var a=[],o=0;o<t.length;o++){var s=t[o];B(s)?s=parseFloat(s):s.toString().toLowerCase()=="true"?s=1:s=0,a.push(s)}return a.length==0?0:a.length==1?p.error.d:D.standardDeviation_s(a)}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},STDEVP:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!0))}else P(l)=="object"&&l.startCell!=null?t=t.concat(D.getCellDataArr(l,"text",!0)):t.push(l)}for(var a=[],o=0;o<t.length;o++){var s=t[o];if(!B(s))return p.error.v;s=parseFloat(s),a.push(s)}return a.length==0?0:a.length==1?p.error.d:D.standardDeviation(a)}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},GEOMEAN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!0))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(D.getCellDataArr(l,"text",!0));else if(P(l)=="boolean")l.toString().toLowerCase()=="true"?t.push(1):l.toString().toLowerCase()=="false"&&t.push(0);else if(B(l))t.push(l);else return p.error.v}for(var a=[],o=0;o<t.length;o++){var s=t[o];if(!!B(s)){if(s=parseFloat(s),s<=0)return p.error.nm;a.push(s)}}return a.length==0?p.error.nm:jStat.geomean(a)}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},RANK_EQ:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=arguments[1],a=[];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;a=a.concat(D.getDataArr(l,!0))}else P(l)=="object"&&l.startCell!=null?a=a.concat(D.getCellDataArr(l,"number",!0)):a.push(l);for(var o=[],s=0;s<a.length;s++){var u=a[s];if(!B(u))return p.error.v;u=parseFloat(u),o.push(u)}if(arguments.length==3){var d=D.getCellBoolen(arguments[2]);if(H(d))return d}else var d=!1;var f=d?function(y,v){return y-v}:function(y,v){return v-y};o=o.sort(f);var m=o.indexOf(t);return m==-1?p.error.na:m+1}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},RANK_AVG:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=arguments[1],a=[];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;a=a.concat(D.getDataArr(l,!0))}else P(l)=="object"&&l.startCell!=null?a=a.concat(D.getCellDataArr(l,"number",!0)):a.push(l);for(var o=[],s=0;s<a.length;s++){var u=a[s];if(!B(u))return p.error.v;u=parseFloat(u),o.push(u)}if(arguments.length==3){var d=D.getFirstValue(arguments[2]);if(H(d))return d;if(P(d)!="boolean")if(P(d)=="string"&&(d.toLowerCase()=="true"||d.toLowerCase()=="false"))d.toLowerCase()=="true"&&(d=!0),d.toLowerCase()=="false"&&(d=!1);else if(B(d))d=parseFloat(d),d=d!=0;else return p.error.v}else var d=!1;var f=d?function(y,v){return y-v}:function(y,v){return v-y};o=o.sort(f);for(var m=0,e=0;e<o.length;e++)o[e]==t&&m++;return m>1?(2*o.indexOf(t)+m+1)/2:o.indexOf(t)+1}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},PERCENTRANK_EXC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=l.concat(D.getDataArr(t,!0))}else P(t)=="object"&&t.startCell!=null?l=l.concat(D.getCellDataArr(t,"number",!0)):l.push(t);for(var a=[],o=0;o<l.length;o++){var s=l[o];if(!B(s))return p.error.v;s=parseFloat(s),a.push(s)}var u=D.getFirstValue(arguments[1]);if(H(u))return u;if(!B(u))return p.error.v;if(u=parseFloat(u),arguments.length==3){var d=D.getFirstValue(arguments[2]);if(H(d))return d;if(!B(d))return p.error.v;d=parseInt(d)}else var d=3;if(a.length==0)return p.error.nm;if(d<1)return p.error.nm;if(a.length==1&&a[0]==u)return 1;a=a.sort(function(x,C){return x-C});for(var f=window.luckysheet_function.UNIQUE.f(a)[0],m=a.length,g=f.length,y=Math.pow(10,d),v=0,k=!1,e=0;!k&&e<g;)u===f[e]?(v=(a.indexOf(f[e])+1)/(m+1),k=!0):u>=f[e]&&(u<f[e+1]||e===g-1)&&(v=(a.lastIndexOf(f[e])+1+(u-f[e])/(f[e+1]-f[e]))/(m+1),k=!0),e++;return isNaN(v)?p.error.na:Math.floor(v*y)/y}catch(w){var b=w;return b=p.errorInfo(b),[p.error.v,b]}},PERCENTRANK_INC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=l.concat(D.getDataArr(t,!0))}else P(t)=="object"&&t.startCell!=null?l=l.concat(D.getCellDataArr(t,"number",!0)):l.push(t);for(var a=[],o=0;o<l.length;o++){var s=l[o];if(!B(s))return p.error.v;s=parseFloat(s),a.push(s)}var u=D.getFirstValue(arguments[1]);if(H(u))return u;if(!B(u))return p.error.v;if(u=parseFloat(u),arguments.length==3){var d=D.getFirstValue(arguments[2]);if(H(d))return d;if(!B(d))return p.error.v;d=parseInt(d)}else var d=3;if(a.length==0)return p.error.nm;if(d<1)return p.error.nm;if(a.length==1&&a[0]==u)return 1;a=a.sort(function(x,C){return x-C});for(var f=window.luckysheet_function.UNIQUE.f(a)[0],m=a.length,g=f.length,y=Math.pow(10,d),v=0,k=!1,e=0;!k&&e<g;)u===f[e]?(v=a.indexOf(f[e])/(m-1),k=!0):u>=f[e]&&(u<f[e+1]||e===g-1)&&(v=(a.lastIndexOf(f[e])+(u-f[e])/(f[e+1]-f[e]))/(m-1),k=!0),e++;return isNaN(v)?p.error.na:Math.floor(v*y)/y}catch(w){var b=w;return b=p.errorInfo(b),[p.error.v,b]}},FORECAST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=arguments[1],a=[];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;a=a.concat(D.getDataArr(l,!1))}else P(l)=="object"&&l.startCell!=null?a=a.concat(D.getCellDataArr(l,"text",!1)):a.push(l);var o=arguments[2],s=[];if(P(o)=="array"){if(P(o[0])=="array"&&!D.isDyadicArr(o))return p.error.v;s=s.concat(D.getDataArr(o,!1))}else P(o)=="object"&&o.startCell!=null?s=s.concat(D.getCellDataArr(o,"text",!1)):s.push(o);if(a.length!=s.length)return p.error.na;for(var u=[],d=[],e=0;e<a.length;e++){var f=a[e],m=s[e];B(f)&&B(m)&&(u.push(parseFloat(f)),d.push(parseFloat(m)))}if(D.variance_s(d)==0)return p.error.d;for(var g=jStat.mean(d),y=jStat.mean(u),v=d.length,k=0,b=0,e=0;e<v;e++)k+=(d[e]-g)*(u[e]-y),b+=Math.pow(d[e]-g,2);var w=k/b,x=y-w*g;return x+w*t}catch(S){var C=S;return C=p.errorInfo(C),[p.error.v,C]}},FISHERINV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=Math.exp(2*t);return(l-1)/(l+1)}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},FISHER:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),t<=-1||t>=1?p.error.nm:Math.log((1+t)/(1-t))/2):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},MODE_SNGL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!0))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(D.getCellDataArr(l,"number",!0));else{if(!B(l))return p.error.v;t.push(l)}}for(var a=[],e=0;e<t.length;e++){var o=t[e];B(o)&&a.push(parseFloat(o))}for(var s={},u=[],d=0,f,e=0;e<a.length;e++)f=a[e],s[f]=s[f]?s[f]+1:1,s[f]>d&&(d=s[f],u=[]),s[f]==d&&(u[u.length]=f);if(d<=1)return p.error.na;for(var m=a.indexOf(u[0]),g=0;g<u.length;g++){var y=a.indexOf(u[g]);y<m&&(m=y)}return a[m]}catch(k){var v=k;return v=p.errorInfo(v),[p.error.v,v]}},WEIBULL_DIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getCellBoolen(arguments[3]);return H(o)?o:t<0||l<=0||a<=0?p.error.nm:o?1-Math.exp(-Math.pow(t/a,l)):Math.pow(t,l-1)*Math.exp(-Math.pow(t/a,l))*l/Math.pow(a,l)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},AVEDEV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!0))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(D.getCellDataArr(l,"number",!0));else{if(!B(l))return p.error.v;t.push(l)}}for(var a=[],e=0;e<t.length;e++){var o=t[e];B(o)&&a.push(parseFloat(o))}return a.length==0?p.error.nm:jStat.sum(jStat(a).subtract(jStat.mean(a)).abs()[0])/a.length}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},AVERAGEA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!1))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(D.getCellDataArr(l,"number",!0));else if(s.toString.toLowerCase()=="true")t.push(1);else if(s.toString.toLowerCase()=="false")t.push(0);else if(B(l))t.push(l);else return p.error.v}for(var a=0,o=0,e=0;e<t.length;e++){var s=t[e];B(s)?a+=parseFloat(s):s.toString().toLowerCase()=="true"?a+=1:a+=0,o++}return o==0?p.error.d:a/o}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},BINOM_DIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseInt(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseInt(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getCellBoolen(arguments[3]);return H(o)?o:t<0||t>l?p.error.nm:a<0||a>1?p.error.nm:o?jStat.binomial.cdf(t,l,a):jStat.binomial.pdf(t,l,a)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},BINOM_INV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseInt(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;if(a=parseFloat(a),t<0)return p.error.nm;if(l<0||l>1)return p.error.nm;if(a<0||a>1)return p.error.nm;for(var o=0;o<=t;){if(jStat.binomial.cdf(o,t,l)>=a)return o;o++}}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},CONFIDENCE_NORM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);return H(a)?a:B(a)?(a=parseInt(a),t<=0||t>=1?p.error.nm:l<=0?p.error.nm:a<1?p.error.nm:jStat.normalci(1,t,l,a)[1]-1):p.error.v}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},CORREL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=l.concat(D.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(D.getCellDataArr(t,"text",!1)):l.push(t);var a=arguments[1],o=[];if(P(a)=="array"){if(P(a[0])=="array"&&!D.isDyadicArr(a))return p.error.v;o=o.concat(D.getDataArr(a,!1))}else P(a)=="object"&&a.startCell!=null?o=o.concat(D.getCellDataArr(a,"text",!1)):o.push(a);if(l.length!=o.length)return p.error.na;for(var s=[],u=[],e=0;e<l.length;e++){var d=l[e],f=o[e];B(d)&&B(f)&&(s.push(parseFloat(d)),u.push(parseFloat(f)))}return s.length==0||u.length==0||D.standardDeviation(s)==0||D.standardDeviation(u)==0?p.error.d:jStat.corrcoeff(s,u)}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},COVARIANCE_P:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=l.concat(D.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(D.getCellDataArr(t,"text",!1)):l.push(t);var a=arguments[1],o=[];if(P(a)=="array"){if(P(a[0])=="array"&&!D.isDyadicArr(a))return p.error.v;o=o.concat(D.getDataArr(a,!1))}else P(a)=="object"&&a.startCell!=null?o=o.concat(D.getCellDataArr(a,"text",!1)):o.push(a);if(l.length!=o.length)return p.error.na;for(var s=[],u=[],e=0;e<l.length;e++){var d=l[e],f=o[e];B(d)&&B(f)&&(s.push(parseFloat(d)),u.push(parseFloat(f)))}if(s.length==0||u.length==0)return p.error.d;for(var m=jStat.mean(s),g=jStat.mean(u),y=0,e=0;e<s.length;e++)y+=(s[e]-m)*(u[e]-g);return y=y/s.length,y}catch(k){var v=k;return v=p.errorInfo(v),[p.error.v,v]}},COVARIANCE_S:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=l.concat(D.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(D.getCellDataArr(t,"text",!1)):l.push(t);var a=arguments[1],o=[];if(P(a)=="array"){if(P(a[0])=="array"&&!D.isDyadicArr(a))return p.error.v;o=o.concat(D.getDataArr(a,!1))}else P(a)=="object"&&a.startCell!=null?o=o.concat(D.getCellDataArr(a,"text",!1)):o.push(a);if(l.length!=o.length)return p.error.na;for(var s=[],u=[],e=0;e<l.length;e++){var d=l[e],f=o[e];B(d)&&B(f)&&(s.push(parseFloat(d)),u.push(parseFloat(f)))}return s.length==0||u.length==0?p.error.d:jStat.covariance(s,u)}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},DEVSQ:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!0))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(D.getCellDataArr(l,"number",!0));else if(B(l))t.push(l);else if(P(l)=="boolean")l.toString().toLowerCase()=="true"?t.push(1):l.toString().toLowerCase()=="false"&&t.push(0);else return p.error.v}for(var a=[],e=0;e<t.length;e++){var o=t[e];B(o)&&a.push(parseFloat(o))}for(var s=jStat.mean(a),u=0,e=0;e<a.length;e++)u+=Math.pow(a[e]-s,2);return u}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},EXPON_DIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getCellBoolen(arguments[2]);return H(a)?a:t<0?p.error.nm:l<0?p.error.nm:a?jStat.exponential.cdf(t,l):jStat.exponential.pdf(t,l)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},AVERAGEIF:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=0,l=0,a=arguments[0].data,o=arguments[0].rowl,s=arguments[0].coll,u=Ja(arguments[1]),d=[];if(arguments[2]){var f=arguments[2].startCell,m=arguments[2].rowl,g=arguments[2].coll,y=arguments[2].sheetName;if(o==m&&s==g)d=arguments[2].data;else{var v=[],k=[],b="",w="";v[0]=parseInt(f.replace(/[^0-9]/g,""))-1,k[0]=hl(f.replace(/[^A-Za-z]/g,"")),v[1]=v[0]+o-1,k[1]=k[0]+s-1;var x=lt(k[1]),C=v[1]+1;b=x+C,w=y+"!"+f+":"+b,d=ir(w).data}d=p.getRangeArray(d)[0]}a=p.getRangeArray(a)[0];for(var e=0;e<a.length;e++){var S=a[e];if(!!S&&p.acompareb(S,u)){var _=d[e]||S;if(!B(_))continue;t+=parseFloat(_),l++}}return t==0||l==0?p.error.d:Al(t/l)}catch(A){var T=A;return T=p.errorInfo(T),[p.error.v,T]}},AVERAGEIFS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=0,l=0,a=arguments;Gn(a);for(var o=p.getRangeArray(a[0])[0],s=new Array(o.length),e=0;e<s.length;e++)s[e]=!0;for(var e=1;e<a.length;e+=2)for(var u=p.getRangeArray(a[e])[0],d=a[e+1],f=0;f<u.length;f++){var m=u[f];s[f]=s[f]&&!!m&&p.acompareb(m,d)}for(var e=0;e<o.length;e++)s[e]&&B(o[e])&&(t+=parseFloat(o[e]),l++);return t==0||l==0?p.error.d:Al(t/l)}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},PERMUT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseInt(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseInt(l),t<=0||l<0?p.error.nm:t<l?p.error.nm:D.factorial(t)/D.factorial(t-l)):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},TRIMMEAN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{let m=function(y,v){return v=v||1,!y||typeof y.slice!="function"?y:y.slice(v)},g=function(y,v){return v=v||1,!y||typeof y.slice!="function"?y:y.slice(0,y.length-v)};var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=l.concat(D.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(D.getCellDataArr(t,"number",!1)):l.push(t);for(var a=[],e=0;e<l.length;e++){var o=l[e];B(o)&&a.push(parseFloat(o))}var s=D.getFirstValue(arguments[1]);if(H(s))return s;if(!B(s))return p.error.v;if(s=parseFloat(s),a.length==0)return p.error.nm;if(s<0||s>1)return p.error.nm;a.sort(function(y,v){return y-v});var u=window.luckysheet_function.FLOOR.f(a.length*s,2)/2,d=m(a,u);return d=g(d,u),d=jStat.mean(d),d}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},PERCENTILE_EXC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=l.concat(D.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(D.getCellDataArr(t,"number",!1)):l.push(t);for(var a=[],e=0;e<l.length;e++){var o=l[e];B(o)&&a.push(parseFloat(o))}var s=D.getFirstValue(arguments[1]);if(H(s))return s;if(!B(s))return p.error.v;if(s=parseFloat(s),a.length==0)return p.error.nm;if(s<=0||s>=1)return p.error.nm;a=a.sort(function(g,y){return g-y});var u=a.length;if(s<1/(u+1)||s>1-1/(u+1))return p.error.nm;var d=s*(u+1)-1,f=Math.floor(d);return d===f?a[d]:a[f]+(d-f)*(a[f+1]-a[f])}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},PERCENTILE_INC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=l.concat(D.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(D.getCellDataArr(t,"number",!1)):l.push(t);for(var a=[],e=0;e<l.length;e++){var o=l[e];B(o)&&a.push(parseFloat(o))}var s=D.getFirstValue(arguments[1]);if(H(s))return s;if(!B(s))return p.error.v;if(s=parseFloat(s),a.length==0)return p.error.nm;if(s<0||s>1)return p.error.nm;a=a.sort(function(g,y){return g-y});var u=a.length,d=s*(u-1),f=Math.floor(d);return d===f?a[d]:a[f]+(d-f)*(a[f+1]-a[f])}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},PEARSON:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=l.concat(D.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(D.getCellDataArr(t,"text",!1)):l.push(t);var a=arguments[1],o=[];if(P(a)=="array"){if(P(a[0])=="array"&&!D.isDyadicArr(a))return p.error.v;o=o.concat(D.getDataArr(a,!1))}else P(a)=="object"&&a.startCell!=null?o=o.concat(D.getCellDataArr(a,"text",!1)):o.push(a);if(l.length!=o.length)return p.error.na;for(var s=[],u=[],e=0;e<l.length;e++){var d=l[e],f=o[e];B(d)&&B(f)&&(s.push(parseFloat(d)),u.push(parseFloat(f)))}if(u.length==0||s.length==0)return p.error.d;for(var m=jStat.mean(s),g=jStat.mean(u),y=s.length,v=0,k=0,b=0,e=0;e<y;e++)v+=(s[e]-m)*(u[e]-g),k+=Math.pow(s[e]-m,2),b+=Math.pow(u[e]-g,2);return v/Math.sqrt(k*b)}catch(x){var w=x;return w=p.errorInfo(w),[p.error.v,w]}},NORM_S_INV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),t<=0||t>=1?p.error.nm:jStat.normal.inv(t,0,1)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},NORM_S_DIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getCellBoolen(arguments[1]);return H(l)?l:l?jStat.normal.cdf(t,0,1):jStat.normal.pdf(t,0,1)}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},NORM_INV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))if(P(t)=="boolean")t.toString().toLowerCase()=="true"?t=1:t.toString().toLowerCase()=="false"&&(t=0);else return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))if(P(l)=="boolean")l.toString().toLowerCase()=="true"?l=1:l.toString().toLowerCase()=="false"&&(l=0);else return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))if(P(a)=="boolean")a.toString().toLowerCase()=="true"?a=1:a.toString().toLowerCase()=="false"&&(a=0);else return p.error.v;return a=parseFloat(a),t<=0||t>=1?p.error.nm:a<=0?p.error.nm:jStat.normal.inv(t,l,a)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},NORM_DIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))if(P(t)=="boolean")t.toString().toLowerCase()=="true"?t=1:t.toString().toLowerCase()=="false"&&(t=0);else return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getCellBoolen(arguments[3]);return H(o)?o:a<=0?p.error.nm:o?jStat.normal.cdf(t,l,a):jStat.normal.pdf(t,l,a)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},NEGBINOM_DIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseInt(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseInt(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getCellBoolen(arguments[3]);return H(o)?o:a<0||a>1?p.error.nm:t<0||l<1?p.error.nm:o?jStat.negbin.cdf(t,l,a):jStat.negbin.pdf(t,l,a)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},MINA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!1))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(D.getCellDataArr(l,"number",!0));else if(o.toString.toLowerCase()=="true")t.push(1);else if(o.toString.toLowerCase()=="false")t.push(0);else if(B(l))t.push(l);else return p.error.v}for(var a=[],e=0;e<t.length;e++){var o=t[e];B(o)?a.push(parseFloat(o)):o.toString().toLowerCase()=="true"?a.push(1):a.push(0)}return a.length===0?0:Math.min.apply(Math,a)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},MEDIAN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!0))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(D.getCellDataArr(l,"number",!0));else{if(!B(l))return p.error.v;t.push(l)}}for(var a=[],e=0;e<t.length;e++){var o=t[e];B(o)&&a.push(parseFloat(o))}return jStat.median(a)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},MAXA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!1))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(D.getCellDataArr(l,"number",!0));else if(o.toString.toLowerCase()=="true")t.push(1);else if(o.toString.toLowerCase()=="false")t.push(0);else if(B(l))t.push(l);else return p.error.v}for(var a=[],e=0;e<t.length;e++){var o=t[e];B(o)?a.push(parseFloat(o)):o.toString().toLowerCase()=="true"?a.push(1):a.push(0)}return a.length===0?0:Math.max.apply(Math,a)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},LOGNORM_INV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);return H(a)?a:B(a)?(a=parseFloat(a),t<=0||t>=1?p.error.nm:a<=0?p.error.nm:jStat.lognormal.inv(t,l,a)):p.error.v}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},LOGNORM_DIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getCellBoolen(arguments[3]);return H(o)?o:t<=0||a<=0?p.error.nm:o?jStat.lognormal.cdf(t,l,a):jStat.lognormal.pdf(t,l,a)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},Z_TEST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=[];if(P(arguments[0])=="array"){if(P(arguments[0][0])=="array"&&!D.isDyadicArr(arguments[0]))return p.error.v;t=t.concat(D.getDataArr(arguments[0],!0))}else P(arguments[0])=="object"&&arguments[0].startCell!=null?t=t.concat(D.getCellDataArr(arguments[0],"text",!0)):t.push(arguments[0]);for(var l=[],a=0;a<t.length;a++){var o=t[a];B(o)&&l.push(parseFloat(o))}var s=D.getFirstValue(arguments[1]);if(H(s))return s;if(!B(s))return p.error.v;if(s=parseFloat(s),l.length==0)return p.error.na;var u=D.standardDeviation_s(l);if(arguments.length==3){if(u=D.getFirstValue(arguments[2]),H(u))return u;if(!B(u))return p.error.v;u=parseFloat(u)}var d=l.length,f=window.luckysheet_function.AVERAGE.f.apply(window.luckysheet_function.AVERAGE,l);return 1-window.luckysheet_function.NORM_S_DIST.f((f-s)/(u/Math.sqrt(d)),"true")}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},PROB:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=[];if(P(arguments[0])=="array"){if(P(arguments[0][0])=="array"&&!D.isDyadicArr(arguments[0]))return p.error.v;t=t.concat(D.getDataArr(arguments[0],!1))}else P(arguments[0])=="object"&&arguments[0].startCell!=null?t=t.concat(D.getCellDataArr(arguments[0],"text",!1)):t.push(arguments[0]);var l=[];if(P(arguments[1])=="array"){if(P(arguments[1][0])=="array"&&!D.isDyadicArr(arguments[1]))return p.error.v;l=l.concat(D.getDataArr(arguments[1],!1))}else P(arguments[1])=="object"&&arguments[1].startCell!=null?l=l.concat(D.getCellDataArr(arguments[1],"text",!1)):l.push(arguments[1]);if(t.length!=l.length)return p.error.na;for(var a=[],o=[],s=0,e=0;e<t.length;e++){var u=t[e],d=l[e];if(B(u)&&B(d)&&(a.push(parseFloat(u)),o.push(parseFloat(d)),s+=parseFloat(d),parseFloat(d)<=0||parseFloat(d)>1))return p.error.nm}if(s!=1)return p.error.nm;var f=D.getFirstValue(arguments[2]);if(H(f))return f;if(!B(f))return p.error.v;f=parseFloat(f);var m=f;if(arguments.length==4){if(m=D.getFirstValue(arguments[3]),H(m))return m;if(!B(m))return p.error.v;m=parseFloat(m)}for(var g=0,e=0;e<a.length;e++)a[e]>=f&&a[e]<=m&&(g+=o[e]);return g}catch(v){var y=v;return y=p.errorInfo(y),[p.error.v,y]}},QUARTILE_EXC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=[];if(P(arguments[0])=="array"){if(P(arguments[0][0])=="array"&&!D.isDyadicArr(arguments[0]))return p.error.v;t=t.concat(D.getDataArr(arguments[0],!0))}else if(P(arguments[0])=="object"&&arguments[0].startCell!=null)t=t.concat(D.getCellDataArr(arguments[0],"text",!0));else{if(!B(arguments[0]))return p.error.v;t.push(arguments[0])}for(var l=[],e=0;e<t.length;e++){var a=t[e];B(a)&&l.push(parseFloat(a))}var o=D.getFirstValue(arguments[1]);if(H(o))return o;if(!B(o))return p.error.v;if(o=parseInt(o),l.length==0)return p.error.nm;if(o<=0||o>=4)return p.error.nm;switch(o){case 1:return window.luckysheet_function.PERCENTILE_EXC.f(l,.25);case 2:return window.luckysheet_function.PERCENTILE_EXC.f(l,.5);case 3:return window.luckysheet_function.PERCENTILE_EXC.f(l,.75)}}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},QUARTILE_INC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=[];if(P(arguments[0])=="array"){if(P(arguments[0][0])=="array"&&!D.isDyadicArr(arguments[0]))return p.error.v;t=t.concat(D.getDataArr(arguments[0],!0))}else if(P(arguments[0])=="object"&&arguments[0].startCell!=null)t=t.concat(D.getCellDataArr(arguments[0],"text",!0));else{if(!B(arguments[0]))return p.error.v;t.push(arguments[0])}for(var l=[],e=0;e<t.length;e++){var a=t[e];B(a)&&l.push(parseFloat(a))}var o=D.getFirstValue(arguments[1]);if(H(o))return o;if(!B(o))return p.error.v;if(o=parseInt(o),l.length==0)return p.error.nm;if(o<0||o>4)return p.error.nm;switch(o){case 0:return Math.min.apply(Math,l);case 1:return window.luckysheet_function.PERCENTILE_INC.f(l,.25);case 2:return window.luckysheet_function.PERCENTILE_INC.f(l,.5);case 3:return window.luckysheet_function.PERCENTILE_INC.f(l,.75);case 4:return Math.max.apply(Math,l)}}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},POISSON_DIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseInt(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getCellBoolen(arguments[2]);return H(a)?a:t<0||l<0?p.error.nm:a?jStat.poisson.cdf(t,l):jStat.poisson.pdf(t,l)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},RSQ:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=l.concat(D.getDataArr(t,!1))}else if(P(t)=="object"&&t.startCell!=null)l=l.concat(D.getCellDataArr(t,"text",!1));else{if(!B(t))return p.error.v;l.push(t)}var a=arguments[1],o=[];if(P(a)=="array"){if(P(a[0])=="array"&&!D.isDyadicArr(a))return p.error.v;o=o.concat(D.getDataArr(a,!1))}else if(P(a)=="object"&&a.startCell!=null)o=o.concat(D.getCellDataArr(a,"text",!1));else{if(!B(a))return p.error.v;o.push(a)}if(l.length!=o.length)return p.error.na;for(var s=[],u=[],e=0;e<l.length;e++){var d=l[e],f=o[e];B(d)&&B(f)&&(s.push(parseFloat(d)),u.push(parseFloat(f)))}return s.length==0||u.length==0?p.error.d:Math.pow(window.luckysheet_function.PEARSON.f(s,u),2)}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},T_DIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseInt(l);var a=D.getCellBoolen(arguments[2]);return H(a)?a:l<1?p.error.nm:a?jStat.studentt.cdf(t,l):jStat.studentt.pdf(t,l)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},T_DIST_2T:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseInt(l),t<0||l<1?p.error.nm:(1-jStat.studentt.cdf(t,l))*2):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},T_DIST_RT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseInt(l),l<1?p.error.nm:1-jStat.studentt.cdf(t,l)):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},T_INV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseInt(l),t<=0||t>1?p.error.nm:l<1?p.error.nm:jStat.studentt.inv(t,l)):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},T_INV_2T:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseInt(l),t<=0||t>1?p.error.nm:l<1?p.error.nm:Math.abs(jStat.studentt.inv(t/2,l))):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},T_TEST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=[];if(P(arguments[0])=="array"){if(P(arguments[0][0])=="array"&&!D.isDyadicArr(arguments[0]))return p.error.v;t=t.concat(D.getDataArr(arguments[0],!1))}else if(P(arguments[0])=="object"&&arguments[0].startCell!=null)t=t.concat(D.getCellDataArr(arguments[0],"text",!1));else{if(!B(arguments[0]))return p.error.v;t.push(arguments[0])}var l=t,a=[];if(P(arguments[1])=="array"){if(P(arguments[1][0])=="array"&&!D.isDyadicArr(arguments[1]))return p.error.v;a=a.concat(D.getDataArr(arguments[1],!1))}else if(P(arguments[1])=="object"&&arguments[1].startCell!=null)a=a.concat(D.getCellDataArr(arguments[1],"text",!1));else{if(!B(arguments[1]))return p.error.v;a.push(arguments[1])}var o=a,s=D.getFirstValue(arguments[2]);if(H(s))return s;if(!B(s))return p.error.v;s=parseInt(s);var u=D.getFirstValue(arguments[3]);if(H(u))return u;if(!B(u))return p.error.v;if(u=parseInt(u),[1,2].indexOf(s)==-1)return p.error.nm;if([1,2,3].indexOf(u)==-1)return p.error.nm;var d=null,f=null;if(u==1){var m=[];for(e=0;e<l.length;e++)m.push(l[e]-o[e]);var g=Math.abs(jStat.mean(m)),y=D.standardDeviation_s(m);d=g/(y/Math.sqrt(l.length)),f=l.length-1}else{var v=jStat.mean(l),k=jStat.mean(o),b=D.variance_s(l),w=D.variance_s(o);switch(d=Math.abs(v-k)/Math.sqrt(b/l.length+w/o.length),u){case 2:f=l.length+o.length-2;break;case 3:f=Math.pow(b/l.length+w/o.length,2)/(Math.pow(b/l.length,2)/(l.length-1)+Math.pow(w/o.length,2)/(o.length-1));break}}if(s==1)var x=window.luckysheet_function.T_DIST_RT.f(d,f);else if(s==2)var x=window.luckysheet_function.T_DIST_2T.f(d,f);return x}catch(S){var C=S;return C=p.errorInfo(C),[p.error.v,C]}},F_DIST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseInt(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseInt(a);var o=D.getCellBoolen(arguments[3]);return H(o)?o:t<0?p.error.nm:l<1?p.error.nm:a<1?p.error.nm:o?jStat.centralF.cdf(t,l,a):jStat.centralF.pdf(t,l,a)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},F_DIST_RT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseInt(l);var a=D.getFirstValue(arguments[2]);return H(a)?a:B(a)?(a=parseInt(a),t<0?p.error.nm:l<1?p.error.nm:a<1?p.error.nm:1-jStat.centralF.cdf(t,l,a)):p.error.v}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},VAR_P:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!0))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(D.getCellDataArr(l,"number",!0));else{if(!B(l))return p.error.v;t.push(l)}}for(var a=[],e=0;e<t.length;e++){var o=t[e];B(o)&&a.push(parseFloat(o))}if(a.length==0)return p.error.d;for(var s=a.length,u=0,d=window.luckysheet_function.AVERAGE.f.apply(window.luckysheet_function.AVERAGE,a),e=0;e<s;e++)u+=Math.pow(a[e]-d,2);return u/s}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},VAR_S:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!0))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(D.getCellDataArr(l,"number",!0));else{if(!B(l))return p.error.v;t.push(l)}}for(var a=[],e=0;e<t.length;e++){var o=t[e];B(o)&&a.push(parseFloat(o))}if(a.length==0)return p.error.d;for(var s=a.length,u=0,d=window.luckysheet_function.AVERAGE.f.apply(window.luckysheet_function.AVERAGE,a),e=0;e<s;e++)u+=Math.pow(a[e]-d,2);return u/(s-1)}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},VARA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!1))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(D.getCellDataArr(l,"number",!0));else if(o.toString.toLowerCase()=="true")t.push(1);else if(o.toString.toLowerCase()=="false")t.push(0);else if(B(l))t.push(l);else return p.error.v}for(var a=[],e=0;e<t.length;e++){var o=t[e];B(o)?a.push(parseFloat(o)):o.toString().toLowerCase()=="true"?a.push(1):a.push(0)}for(var s=a.length,u=0,d=window.luckysheet_function.AVERAGE.f.apply(window.luckysheet_function.AVERAGE,a),e=0;e<s;e++)u+=Math.pow(a[e]-d,2);return u/(s-1)}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},VARPA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!1))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(D.getCellDataArr(l,"number",!0));else if(o.toString.toLowerCase()=="true")t.push(1);else if(o.toString.toLowerCase()=="false")t.push(0);else if(B(l))t.push(l);else return p.error.v}for(var a=[],e=0;e<t.length;e++){var o=t[e];B(o)?a.push(parseFloat(o)):o.toString().toLowerCase()=="true"?a.push(1):a.push(0)}for(var s=a.length,u=0,d=window.luckysheet_function.AVERAGE.f.apply(window.luckysheet_function.AVERAGE,a),e=0;e<s;e++)u+=Math.pow(a[e]-d,2);return u/s}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},STEYX:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=[];if(P(arguments[0])=="array"){if(P(arguments[0][0])=="array"&&!D.isDyadicArr(arguments[0]))return p.error.v;t=t.concat(D.getDataArr(arguments[0],!1))}else if(P(arguments[0])=="object"&&arguments[0].startCell!=null)t=t.concat(D.getCellDataArr(arguments[0],"text",!1));else{if(!B(arguments[0]))return p.error.v;t.push(arguments[0])}var l=[];if(P(arguments[1])=="array"){if(P(arguments[1][0])=="array"&&!D.isDyadicArr(arguments[1]))return p.error.v;l=l.concat(D.getDataArr(arguments[1],!1))}else if(P(arguments[1])=="object"&&arguments[1].startCell!=null)l=l.concat(D.getCellDataArr(arguments[1],"text",!1));else{if(!B(arguments[1]))return p.error.v;l.push(arguments[1])}if(t.length!=l.length)return p.error.na;for(var a=[],o=[],e=0;e<t.length;e++){var s=t[e],u=l[e];B(s)&&B(u)&&(a.push(parseFloat(s)),o.push(parseFloat(u)))}if(a.length<3||o.length<3)return p.error.d;for(var d=jStat.mean(o),f=jStat.mean(a),m=o.length,g=0,y=0,v=0,e=0;e<m;e++)g+=Math.pow(a[e]-f,2),y+=(o[e]-d)*(a[e]-f),v+=Math.pow(o[e]-d,2);return Math.sqrt((g-y*y/v)/(m-2))}catch(b){var k=b;return k=p.errorInfo(k),[p.error.v,k]}},STANDARDIZE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);return H(a)?a:B(a)?(a=parseFloat(a),a<=0?p.error.nm:(t-l)/a):p.error.v}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},SMALL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=[];if(P(arguments[0])=="array"){if(P(arguments[0][0])=="array"&&!D.isDyadicArr(arguments[0]))return p.error.v;t=t.concat(D.getDataArr(arguments[0],!0))}else if(P(arguments[0])=="object"&&arguments[0].startCell!=null)t=t.concat(D.getCellDataArr(arguments[0],"number",!0));else{if(!B(arguments[0]))return p.error.v;t.push(arguments[0])}for(var l=[],e=0;e<t.length;e++){var a=t[e];B(a)&&l.push(parseFloat(a))}var o=D.getFirstValue(arguments[1]);return H(o)?o:B(o)?(o=parseInt(o),l.length==0?p.error.nm:o<=0||o>l.length?p.error.nm:l.sort(function(u,d){return u-d})[o-1]):p.error.v}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},SLOPE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=[];if(P(arguments[0])=="array"){if(P(arguments[0][0])=="array"&&!D.isDyadicArr(arguments[0]))return p.error.v;t=t.concat(D.getDataArr(arguments[0],!1))}else if(P(arguments[0])=="object"&&arguments[0].startCell!=null)t=t.concat(D.getCellDataArr(arguments[0],"text",!1));else{if(!B(arguments[0]))return p.error.v;t.push(arguments[0])}var l=[];if(P(arguments[1])=="array"){if(P(arguments[1][0])=="array"&&!D.isDyadicArr(arguments[1]))return p.error.v;l=l.concat(D.getDataArr(arguments[1],!1))}else if(P(arguments[1])=="object"&&arguments[1].startCell!=null)l=l.concat(D.getCellDataArr(arguments[1],"text",!1));else{if(!B(arguments[1]))return p.error.v;l.push(arguments[1])}if(t.length!=l.length)return p.error.na;for(var a=[],o=[],e=0;e<t.length;e++){var s=t[e],u=l[e];B(s)&&B(u)&&(a.push(parseFloat(s)),o.push(parseFloat(u)))}if(a.length<3||o.length<3)return p.error.d;for(var d=jStat.mean(o),f=jStat.mean(a),m=o.length,g=0,y=0,e=0;e<m;e++)g+=(o[e]-d)*(a[e]-f),y+=Math.pow(o[e]-d,2);return g/y}catch(k){var v=k;return v=p.errorInfo(v),[p.error.v,v]}},SKEW:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!0))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(D.getCellDataArr(l,"number",!0));else{if(!B(l))return p.error.v;t.push(l)}}for(var a=[],e=0;e<t.length;e++){var o=t[e];B(o)&&a.push(parseFloat(o))}if(a.length<3||D.standardDeviation_s(a)==0)return p.error.d;for(var s=jStat.mean(a),u=a.length,d=0,e=0;e<u;e++)d+=Math.pow(a[e]-s,3);return u*d/((u-1)*(u-2)*Math.pow(jStat.stdev(a,!0),3))}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},SKEW_P:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=[],e=0;e<arguments.length;e++){var l=arguments[e];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;t=t.concat(D.getDataArr(l,!0))}else if(P(l)=="object"&&l.startCell!=null)t=t.concat(D.getCellDataArr(l,"number",!0));else{if(!B(l))return p.error.v;t.push(l)}}for(var a=[],e=0;e<t.length;e++){var o=t[e];B(o)&&a.push(parseFloat(o))}if(a.length<3||D.standardDeviation_s(a)==0)return p.error.d;for(var s=jStat.mean(a),u=a.length,d=0,f=0,e=0;e<u;e++)f+=Math.pow(a[e]-s,3),d+=Math.pow(a[e]-s,2);return f=f/u,d=d/u,f/Math.pow(d,3/2)}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},ADDRESS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseInt(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseInt(l);var a=1;if(arguments.length>=3){if(a=D.getFirstValue(arguments[2]),H(a))return a;if(!B(a))return p.error.v;a=parseInt(a)}var o=!0;if(arguments.length>=4&&(o=D.getCellBoolen(arguments[3]),H(o)))return o;if(t<=0||l<=0)return p.error.v;if([1,2,3,4].indexOf(a)==-1)return p.error.v;var s;if(o)switch(l=lt(l-1),a){case 1:s="$"+l+"$"+t;break;case 2:s=l+"$"+t;break;case 3:s="$"+l+t;break;case 4:s=l+t;break}else switch(a){case 1:s="R"+t+"C"+l;break;case 2:s="R"+t+"C["+l+"]";break;case 3:s="R["+t+"]C"+l;break;case 4:s="R["+t+"]C["+l+"]";break}if(arguments.length==5){var u=D.getFirstValue(arguments[4]);return H(u)?u:u+"!"+s}else return s}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},INDIRECT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");if(H(t))return t;var l=!0;if(arguments.length==2&&(l=D.getCellBoolen(arguments[1]),H(l)))return l;let o=Lt(),s=K(h.calculateSheetIndex),u=o[s],d=u.data;if(p.iscelldata(t)){let f=p.getcellrange(t),m=f.row[0],g=f.column[0];if(m<0||m>=d.length||g<0||g>=d[0].length)return p.error.r;if(d[m][g]==null||fe(d[m][g].v))return 0;let y=d[m][g].v;if(p.execFunctionGlobalData!=null){let k=p.execFunctionGlobalData[m+"_"+g+"_"+h.calculateSheetIndex];k!=null&&(y=k.v)}return{sheetName:u.name,startCell:t,rowl:m,coll:g,data:y}}else return p.error.r}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},ROW:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{if(arguments.length==1){var t;if(P(arguments[0])=="array")return p.error.v;if(P(arguments[0])=="object"&&arguments[0].startCell!=null?t=arguments[0].startCell:t=arguments[0],p.iscelldata(t)){var l=p.getcellrange(t);return l.row[0]+1}else return p.error.v}else return window.luckysheetCurrentRow+1}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},ROWS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{return P(arguments[0])=="array"?P(arguments[0][0])=="array"?arguments[0].length:1:P(arguments[0])=="object"&&arguments[0].startCell!=null?arguments[0].rowl:1}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},COLUMN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{if(arguments.length==1){var t;if(P(arguments[0])=="array")return p.error.v;if(P(arguments[0])=="object"&&arguments[0].startCell!=null?t=arguments[0].startCell:t=arguments[0],p.iscelldata(t)){var l=p.getcellrange(t);return l.column[0]+1}else return p.error.v}else return window.luckysheetCurrentColumn+1}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},COLUMNS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{return P(arguments[0])=="array"?P(arguments[0][0])=="array"?arguments[0][0].length:arguments[0].length:P(arguments[0])=="object"&&arguments[0].startCell!=null?arguments[0].coll:1}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},OFFSET:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{if(!(P(arguments[0])=="object"&&arguments[0].startCell!=null))return p.error.v;var t=arguments[0].startCell;let x=arguments[0].sheetName;var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseInt(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseInt(a);var o=arguments[0].rowl;if(arguments.length>=4){if(o=D.getFirstValue(arguments[3]),H(o))return o;if(!B(o))return p.error.v;o=parseInt(o)}var s=arguments[0].coll;if(arguments.length==5){if(s=D.getFirstValue(arguments[4]),H(s))return s;if(!B(s))return p.error.v;s=parseInt(s)}if(o<1||s<1)return p.error.r;var u=p.getcellrange(t),d=u.row[0],f=u.column[0];d+=l,f+=a;var m=d+o-1,g=f+s-1;let C=Lt(),S=K(h.calculateSheetIndex),_=C[S].data;if(d<0||m>=_.length||f<0||g>=_[0].length)return p.error.r;for(var y=[],v=d;v<=m;v++){for(var k=[],b=f;b<=g;b++)if(p.execFunctionGlobalData!=null&&p.execFunctionGlobalData[v+"_"+b+"_"+h.calculateSheetIndex]!=null){let A=p.execFunctionGlobalData[v+"_"+b+"_"+h.calculateSheetIndex];A!=null?k.push(A.v):k.push(0)}else _[v][b]!=null&&!fe(_[v][b].v)?k.push(_[v][b].v):k.push(0);y.push(k)}return{sheetName:x,startCell:wt(h.calculateSheetIndex,{row:[d,m],column:[f,g]}),rowl:d,coll:f,data:y}}catch(x){var w=x;return w=p.errorInfo(w),[p.error.v,w]}},MATCH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;var l=arguments[1],a=[];if(P(l)=="array"){if(P(l[0])=="array")return D.isDyadicArr(l)?p.error.na:p.error.v;for(var e=0;e<l.length;e++)a.push(l[e])}else if(P(l)=="object"&&l.startCell!=null){if(l.rowl>1&&l.coll>1)return p.error.na;if(l.data!=null)if(P(l.data)=="array")for(var e=0;e<l.data.length;e++)for(var o=0;o<l.data[e].length;o++)l.data[e][o]!=null&&!fe(l.data[e][o].v)&&a.push(l.data[e][o].v);else a.push(l.data.v)}var s=1;if(arguments.length==3){if(s=D.getFirstValue(arguments[2]),H(s))return s;if(!B(s))return p.error.v;s=Math.ceil(parseFloat(s))}if([-1,0,1].indexOf(s)==-1)return p.error.na;for(var u,d,f=0;f<a.length;f++)if(s===1){if(a[f]===t)return f+1;a[f]<t&&(d?a[f]>d&&(u=f+1,d=a[f]):(u=f+1,d=a[f]))}else if(s===0){if(typeof t=="string"){if(t=t.replace(/\?/g,"."),a[f].toLowerCase().match(t.toLowerCase()))return f+1}else if(a[f]===t)return f+1}else if(s===-1){if(a[f]===t)return f+1;a[f]>t&&(d?a[f]<d&&(u=f+1,d=a[f]):(u=f+1,d=a[f]))}return u||p.error.na}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},VLOOKUP:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");if(H(t))return t;if(t.toString().replace(/\s/g,"")=="")return p.error.na;var l=arguments[1],a=[];if(P(l)=="array")if(P(l[0])=="array"){if(!D.isDyadicArr(l))return p.error.v;for(var e=0;e<l.length;e++){for(var o=[],s=0;s<l[e].length;s++)o.push(l[e][s]);a.push(o)}}else{for(var o=[],e=0;e<l.length;e++)o.push(l[e]);a.push(o)}else if(P(l)=="object"&&l.startCell!=null)a=D.getCellDataDyadicArr(l,"text");else return p.error.v;var u=D.getFirstValue(arguments[2]);if(H(u))return u;if(!B(u))return p.error.v;u=parseInt(u);var d=!0;if(arguments.length==4&&(d=D.getCellBoolen(arguments[3]),H(d)))return d;if(u<1)return p.error.v;if(u>a[0].length)return p.error.r;if(d){a=Vr(a,0,!0);for(var f=0;f<a.length;f++){var m=a[f][0],g;if(Ot(t)&&Ot(m)?g=ul(t,m):B(t)&&B(m)?g=(0,Yi.default)(t).value()-(0,Yi.default)(m).value():!B(t)&&!B(m)?g=t.localeCompare(m,"zh"):B(t)?B(m)||(g=-1):g=1,g<0)return f==0?p.error.na:a[f-1][u-1];if(f==a.length-1)return a[f][u-1]}}else{for(var y=null,f=0;f<a.length;f++)if(t.toString()==a[f][0].toString()){y=f;break}return y==null?p.error.na:a[y][u-1]}}catch(k){var v=k;return v=p.errorInfo(v),[p.error.v,v]}},HLOOKUP:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=arguments[0];typeof a=="object"&&(a=arguments[0].data,P(a)=="array"?(a=a[r],P(a)=="array"&&(a=a[f])):a=a.v);var o=arguments[1].data,s=arguments[2],u=!1;if(arguments.length>3&&(u=!!arguments[3]),s>o.rowl)return[p.error.v,"\u7D22\u5F15\u8D85\u8FC7\u4E86\u8303\u56F4\u7684\u957F\u5EA6\uFF0C"+o[0].length];if(s<1)return[p.error.v,"\u7D22\u5F15\u5FC5\u987B\u5927\u4E8E1"];for(var d=p.error.na,f=0;f<o[0].length;f++){var m=ze(0,f,o),g=ze(s-1,f,o);if(u)m.indexOf(a)>-1&&(d=g);else if(p.acompareb(m,a))return d=g,d}return d}catch(v){var y=v;return y=p.errorInfo(y),[p.error.v,y]}},LOOKUP:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{let k=function(b,w){return w-b};var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=arguments[0];typeof a=="object"&&(a=arguments[0].data,P(a)=="array"?(a=a[r],P(a)=="array"&&(a=a[c])):a=a.v);var o=arguments[1].data,s,u=p.error.na;if(o=p.getRangeArray(o)[0],arguments[2]&&(s=arguments[2].data,s=p.getRangeArray(s)[0]),typeof a=="string")for(var e=0;e<o.length;e++){var d=o[e],f;arguments[2]?(f=s[e],d==a&&(u=f)):p.acompareb(d,a)&&(u=d)}else if(tr(a)=="num"){for(var m=[],e=0;e<o.length;e++){var d=o[e],f;if(arguments[2]){if(f=s[e],d==a)return u=f,u;d!=a&&tr(d)=="num"&&m.push(d)}else{if(d==a)return u=d,u;d!=a&&tr(d)=="num"&&m.push(d)}}if(m.length!=0){m.push(a),m.sort(k);var g=m.indexOf(a);if(g==m.length-1)return[p.error.na,"\u627E\u4E0D\u5230\u5BF9\u5E94\u53C2\u6570"];var y=m[g+1];if(arguments[2]){var e=o.indexOf(y);u=s[e]}else u=y}}return u}catch(k){var v=k;return v=p.errorInfo(v),[p.error.v,v]}},INDEX:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];let y=!1;if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=D.getDataDyadicArr(t)}else P(t)=="object"&&t.startCell!=null&&(l=D.getCellDataDyadicArr(t,"number"),y=!0);var a=l.length,o=l[0].length,s=D.getFirstValue(arguments[1]);if(H(s))return s;if(!B(s))return p.error.v;s=parseInt(s);var u=D.getFirstValue(arguments[2]);if(H(u))return u;if(s<0||B(u)&&u<0)return p.error.v;if(a==1&&u==null&&(u=s,s=1),s>a||B(u)&&u>o)return p.error.r;if(y){var d=p.getcellrange(t.startCell),f=d.row[0],m=d.column[0];let v=l;s==0||u==0?(s==0?(v=l[0],s=1):v=l[s-1],B(u)?u==0?(v=v[0],u=1):v=v[u-1]:u=1):(B(s)||(s=1),B(u)||(u=1),v=l[s-1][u-1]);let k=f+s-1,b=m+u-1;return{sheetName:t.sheetName,startCell:wt(h.calculateSheetIndex,{row:[k,k],column:[b,b]}),rowl:k,coll:b,data:v}}else return B(u)?(u=parseInt(u),s<=0||u<=0?p.error.v:l[s-1][u-1]):p.error.v}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},GETPIVOTDATA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{return p.error.v}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},CHOOSE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;if(t=parseInt(t),t<1||t>arguments.length-1)return p.error.v;var l=arguments[t];if(P(l)=="array")return P(l[0])=="array"&&!D.isDyadicArr(l)?p.error.v:l;if(P(l)=="object"&&l.startCell!=null){if(l.data==null)return 0;if(P(l.data)=="array"){var a=D.getCellDataDyadicArr(l.data,"number");return a}else return fe(l.data.v)?0:l.data.v}else return l}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},HYPERLINK:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{return p.error.v}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},TIME:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseInt(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseInt(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;if(a=parseInt(a),t<0||t>32767)return p.error.nm;if(t>24&&(t=t%24),l<0||l>32767)return p.error.nm;if(a<0||a>32767)return p.error.nm;var o=(0,j.default)().set({hour:t,minute:l,second:a});return(0,j.default)(o).format("h:mm:ss a")}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},TIMEVALUE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);return H(t)?t:(0,j.default)(t).isValid()?(3600*(0,j.default)(t).get("hour")+60*(0,j.default)(t).get("minute")+(0,j.default)(t).get("second"))/86400:p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},EOMONTH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;if(l=parseInt(l),!(0,j.default)(t).isValid())return p.error.v;var a=(0,j.default)(t).add(l+1,"months").set("date",1).subtract(1,"days"),o=it((0,j.default)(a).format("YYYY-MM-DD H:mm:ss")),s=o[2];return s}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},EDATE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;if(l=parseInt(l),!(0,j.default)(t).isValid())return p.error.v;var a=(0,j.default)(t).add(l,"months"),o=it((0,j.default)(a).format("YYYY-MM-DD h:mm:ss")),s=o[2];return s}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},SECOND:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=(0,j.default)(t).seconds();return l}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},MINUTE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=(0,j.default)(t).minutes();return l}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},HOUR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=(0,j.default)(t).hours();return l}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},NOW:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{return(0,j.default)().format("YYYY-M-D HH:mm")}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},NETWORKDAYS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{if(arguments.length==3)var t=window.luckysheet_function.NETWORKDAYS_INTL.f(arguments[0],arguments[1],1,arguments[2]);else var t=window.luckysheet_function.NETWORKDAYS_INTL.f(arguments[0],arguments[1],1);return t}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},NETWORKDAYS_INTL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=[[],[6,0],[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],void 0,void 0,void 0,[0,0],[1,1],[2,2],[3,3],[4,4],[5,5],[6,6]],l=D.getCellDate(arguments[0]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getCellDate(arguments[1]);if(H(a))return a;if(!(0,j.default)(a).isValid())return p.error.v;var o=t[1];if(arguments.length>=3&&(o=arguments[2],!(typeof o=="string"&&o.length=="7"&&/^[0-1]{7}$/g.test(o)))){if(o=D.getFirstValue(arguments[2]),H(o))return o;if(!B(o))return p.error.v;if(o=parseInt(o),o<1||o>7&&o<11||o>17)return p.error.nm;o=t[o]}var s=[];if(arguments.length==4&&(s=D.getCellrangeDate(arguments[3]),H(s)))return s;for(var e=0;e<s.length;e++)if(!(0,j.default)(s[e]).isValid())return p.error.v;var u=(0,j.default)(a).diff((0,j.default)(l),"days")+1,d=u,f=(0,j.default)(l);for(e=0;e<u;e++){var m=(0,j.default)(f).weekday(),g=!1;P(o)=="array"?(m===o[0]||m===o[1])&&(g=!0):(m==0&&(m=7),o.charAt(m-1)=="0"&&(g=!0));for(var y=0;y<s.length;y++)if((0,j.default)(f).diff((0,j.default)(s[y]),"days")===0){g=!0;break}g&&d--,f=(0,j.default)(f).add(1,"days")}return d}catch(k){var v=k;return v=p.errorInfo(v),[p.error.v,v]}},ISOWEEKNUM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);return H(t)?t:(0,j.default)(t).isValid()?(0,j.default)(t).isoWeeks():p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},WEEKNUM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=[void 0,7,1,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,1,2,3,4,5,6,7],l=D.getCellDate(arguments[0]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=1;if(arguments.length==2){if(a=D.getFirstValue(arguments[1]),H(a))return a;if(!B(a))return p.error.v;a=parseInt(a)}if(a==21)return window.luckysheet_function.ISOWEEKNUM.f(arguments[0]);if([1,2,11,12,13,14,15,16,17].indexOf(a)==-1)return p.error.nm;var o=t[a],s=(0,j.default)(l).isoWeekday()>=o?1:0,u=(0,j.default)(l).isoWeeks()+s;return u}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},WEEKDAY:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=[[],[1,2,3,4,5,6,7],[7,1,2,3,4,5,6],[6,0,1,2,3,4,5],[],[],[],[],[],[],[],[7,1,2,3,4,5,6],[6,7,1,2,3,4,5],[5,6,7,1,2,3,4],[4,5,6,7,1,2,3],[3,4,5,6,7,1,2],[2,3,4,5,6,7,1],[1,2,3,4,5,6,7]],l=D.getCellDate(arguments[0]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=1;if(arguments.length==2){if(a=D.getFirstValue(arguments[1]),H(a))return a;if(!B(a))return p.error.v;a=parseInt(a)}if([1,2,3,11,12,13,14,15,16,17].indexOf(a)==-1)return p.error.nm;var o=t[a][(0,j.default)(l).day()];return o}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},DAY:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);return H(t)?t:(0,j.default)(t).isValid()?(0,j.default)(t).date():p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},DAYS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=(0,j.default)(t).diff((0,j.default)(l),"days");return a}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},DAYS360:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=!1;if(arguments.length==3&&(a=D.getCellBoolen(arguments[2]),H(a)))return a;var o=(0,j.default)(t).month(),s=(0,j.default)(l).month(),u,d;if(a)u=(0,j.default)(t).date()===31?30:(0,j.default)(t).date(),d=(0,j.default)(l).date()===31?30:(0,j.default)(l).date();else{var f=(0,j.default)().set({year:(0,j.default)(t).year(),month:o+1,date:0}).date(),m=(0,j.default)().set({year:(0,j.default)(l).year(),month:s+1,date:0}).date();u=(0,j.default)(t).date()===f?30:(0,j.default)(t).date(),(0,j.default)(l).date()===m?u<30?(s++,d=1):d=30:d=(0,j.default)(l).date()}var g=360*(0,j.default)(l).diff((0,j.default)(t),"years")+30*(s-o)+(d-u);return g}catch(v){var y=v;return y=p.errorInfo(y),[p.error.v,y]}},DATE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseInt(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseInt(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;if(a=parseInt(a),t<0||t>=1e4)return p.error.nm;t>=0&&t<=1899&&(t=t+1900);var o=(0,j.default)().set({year:t,month:l-1,date:a});return(0,j.default)(o).year()<1900?p.error.nm:(0,j.default)(o).format("YYYY-MM-DD")}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},DATEVALUE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;t=(0,j.default)(t).format("YYYY-MM-DD");var l=it(t)[2];return l}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},DATEDIF:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var e=0;e<arguments.length-1;e++)if(arguments[e]=D.getCellDate(arguments[e]),!Ot(arguments[e]))return p.error.v;var t=(0,j.default)(arguments[0]),l=(0,j.default)(arguments[1]),a=arguments[2],o=p.error.v;if(window.luckysheet_function.DAYS.f(l,t)<0)return p.error.v;switch(a){case"Y":case"y":o=l.diff(t,"years",!1);break;case"M":case"m":o=l.diff(t,"months",!1);break;case"D":case"d":o=l.diff(t,"days",!1);break;case"MD":case"md":o=l.format("DD")-t.format("DD");break;case"YM":case"ym":var s=parseInt(t.format("M")),u=parseInt(l.format("M"));o=s<=u?u-s:u+12-s;break;case"YD":case"yd":let f=`${l.$y}-MM-DD`;var s=it(t.format(f))[2],u=it(l.format(f))[2];o=s<=u?u-s:u+365-s;break;default:o=p.error.v}return o}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},WORKDAY:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{if(arguments.length==3)var t=window.luckysheet_function.WORKDAY_INTL.f(arguments[0],arguments[1],1,arguments[2]);else var t=window.luckysheet_function.WORKDAY_INTL.f(arguments[0],arguments[1],1);return t}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},WORKDAY_INTL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=[[],[6,0],[0,1],[1,2],[2,3],[3,4],[4,5],[5,6],void 0,void 0,void 0,[0,0],[1,1],[2,2],[3,3],[4,4],[5,5],[6,6]],l=D.getCellDate(arguments[0]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getFirstValue(arguments[1]);if(H(a))return a;if(!B(a))return p.error.v;a=parseInt(a);var o=t[1];if(arguments.length>=3&&(o=arguments[2],!(typeof o=="string"&&o.length=="7"&&/^[0-1]{7}$/g.test(o)))){if(o=D.getFirstValue(arguments[2]),H(o))return o;if(!B(o))return p.error.v;if(o=parseInt(o),o<1||o>7&&o<11||o>17)return p.error.nm;o=t[o]}var s=[];if(arguments.length==4&&(s=D.getCellrangeDate(arguments[3]),H(s)))return s;for(var e=0;e<s.length;e++)if(!(0,j.default)(s[e]).isValid())return p.error.v;for(var u=0;u<a;){l=(0,j.default)(l).add(1,"days");var d=(0,j.default)(l).weekday();if(P(o)){if(d===o[0]||d===o[1])continue}else if(d==0&&(d=7),o.charAt(d-1)=="0")continue;for(var f=0;f<s.length;f++)if((0,j.default)(l).diff((0,j.default)(s[f]),"days")===0){u--;break}u++}return(0,j.default)(l).format("YYYY-MM-DD")}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},YEAR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);return H(t)?t:(0,j.default)(t).isValid()?(0,j.default)(t).year():p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},YEARFRAC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=0;if(arguments.length==3){if(a=D.getFirstValue(arguments[2]),H(a))return a;if(!B(a))return p.error.v;a=parseInt(a)}if(a<0||a>4)return p.error.nm;var o=(0,j.default)(t).date(),s=(0,j.default)(t).month()+1,u=(0,j.default)(t).year(),d=(0,j.default)(l).date(),f=(0,j.default)(l).month()+1,m=(0,j.default)(l).year(),g;switch(a){case 0:o===31&&d===31?(o=30,d=30):o===31?o=30:o===30&&d===31&&(d=30),g=(d+f*30+m*360-(o+s*30+u*360))/360;break;case 1:var y=365;if(u===m||u+1===m&&(s>f||s===f&&o>=d))return(u===m&&D.isLeapYear(u)||D.feb29Between(t,l)||f===1&&d===29)&&(y=366),(0,j.default)(l).diff((0,j.default)(t),"days")/y;var v=m-u+1,k=((0,j.default)().set({year:m+1,month:0,date:1})-(0,j.default)().set({year:u,month:0,date:1}))/1e3/60/60/24,b=k/v;g=(0,j.default)(l).diff((0,j.default)(t),"days")/b;break;case 2:g=(0,j.default)(l).diff((0,j.default)(t),"days")/360;break;case 3:g=(0,j.default)(l).diff((0,j.default)(t),"days")/365;break;case 4:g=(d+f*30+m*360-(o+s*30+u*360))/360;break}return g}catch(x){var w=x;return w=p.errorInfo(w),[p.error.v,w]}},TODAY:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{return(0,j.default)().format("YYYY-MM-DD")}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},MONTH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);return H(t)?t:(0,j.default)(t).isValid()?(0,j.default)(t).month()+1:p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},EFFECT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseInt(l),t<=0||l<1?p.error.nm:Math.pow(1+t/l,l)-1):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},DOLLAR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=2;if(arguments.length==2){if(l=D.getFirstValue(arguments[1]),H(l))return l;if(!B(l))return p.error.v;l=parseInt(l)}l>9&&(l=9);for(var a="0.",e=1;e<=l;e++)a+="0";var o=t>0?1:-1;return o*Math.floor(Math.abs(t)*Math.pow(10,l))/Math.pow(10,l)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},DOLLARDE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;if(l=parseInt(l),l<0)return p.error.nm;if(l==0)return p.error.d;var a=parseInt(t,10);a+=t%1*Math.pow(10,Math.ceil(Math.log(l)/Math.LN10))/l;var o=Math.pow(10,Math.ceil(Math.log(l)/Math.LN2)+1);return a=Math.round(a*o)/o,a}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},DOLLARFR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;if(l=parseInt(l),l<0)return p.error.nm;if(l==0)return p.error.d;var a=parseInt(t,10);return a+=t%1*Math.pow(10,-Math.ceil(Math.log(l)/Math.LN10))*l,a}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},DB:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getFirstValue(arguments[3]);if(H(o))return o;if(!B(o))return p.error.v;o=parseInt(o);var s=12;if(arguments.length==5){if(s=D.getFirstValue(arguments[4]),H(s))return s;if(!B(s))return p.error.v;s=parseInt(s)}if(t<0||l<0||a<0||o<0)return p.error.nm;if(s<1||s>12)return p.error.nm;if(o>a)return p.error.nm;if(l>=t)return 0;for(var u=(1-Math.pow(l/t,1/a)).toFixed(3),d=t*u*s/12,f=d,m=0,g=o===a?a-1:o,e=2;e<=g;e++)m=(t-f)*u,f+=m;if(o===1)var y=d;else if(o===a)var y=(t-f)*u;else var y=m;return y}catch(k){var v=k;return v=p.errorInfo(v),[p.error.v,v]}},DDB:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getFirstValue(arguments[3]);if(H(o))return o;if(!B(o))return p.error.v;o=parseInt(o);var s=2;if(arguments.length==5){if(s=D.getFirstValue(arguments[4]),H(s))return s;if(!B(s))return p.error.v;s=parseFloat(s)}if(t<0||l<0||a<0||o<0||s<=0)return p.error.nm;if(o>a)return p.error.nm;if(l>=t)return 0;for(var u=0,d=0,e=1;e<=o;e++)d=Math.min((t-u)*(s/a),t-l-u),u+=d;return d}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},RATE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=0;if(arguments.length>=4){if(o=D.getFirstValue(arguments[3]),H(o))return o;if(!B(o))return p.error.v;o=parseFloat(o)}var s=0;if(arguments.length>=5){if(s=D.getFirstValue(arguments[4]),H(s))return s;if(!B(s))return p.error.v;s=parseFloat(s)}var u=.1;if(arguments.length==6){if(u=D.getFirstValue(arguments[5]),H(u))return u;if(!B(u))return p.error.v;u=parseFloat(u)}if(s!=0&&s!=1)return p.error.nm;for(var d=1e-6,f=100,m=0,g=!1,y=u;m<f&&!g;){var v=Math.pow(y+1,t),k=Math.pow(y+1,t-1),b=o+v*a+l*(v-1)*(y*s+1)/y,w=t*k*a-l*(v-1)*(y*s+1)/Math.pow(y,2),x=t*l*k*(y*s+1)/y+l*(v-1)*s/y,C=y-b/(w+x);Math.abs(C-y)<d&&(g=!0),m++,y=C}return g?y:p.error.nm}catch(_){var S=_;return S=p.errorInfo(S),[p.error.v,S]}},CUMPRINC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getFirstValue(arguments[3]);if(H(o))return o;if(!B(o))return p.error.v;o=parseInt(o);var s=D.getFirstValue(arguments[4]);if(H(s))return s;if(!B(s))return p.error.v;s=parseInt(s);var u=D.getFirstValue(arguments[5]);if(H(u))return u;if(!B(u))return p.error.v;if(u=parseFloat(u),t<=0||l<=0||a<=0)return p.error.nm;if(o<1||s<1||o>s)return p.error.nm;if(u!=0&&u!=1)return p.error.nm;var d=window.luckysheet_function.PMT.f(t,l,a,0,u),f=0;o===1&&(u===0?f=d+a*t:f=d,o++);for(var e=o;e<=s;e++)u>0?f+=d-(window.luckysheet_function.FV.f(t,e-2,d,a,1)-d)*t:f+=d-window.luckysheet_function.FV.f(t,e-1,d,a,0)*t;return f}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},COUPNUM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseInt(a);var o=0;if(arguments.length==4){var o=D.getFirstValue(arguments[3]);if(H(o))return o;if(!B(o))return p.error.v;o=parseInt(o)}if(a!=1&&a!=2&&a!=4)return p.error.nm;if(o<0||o>4)return p.error.nm;if((0,j.default)(t)-(0,j.default)(l)>=0)return p.error.nm;var s=(0,j.default)(t).date(),u=(0,j.default)(t).month()+1,d=(0,j.default)(t).year(),f=(0,j.default)(l).date(),m=(0,j.default)(l).month()+1,g=(0,j.default)(l).year(),y;switch(o){case 0:s===31&&f===31?(s=30,f=30):s===31?s=30:s===30&&f===31&&(f=30),y=(f+m*30+g*360-(s+u*30+d*360))/(360/a);break;case 1:var v=365;if(d===g||d+1===g&&(u>m||u===m&&s>=f))return(d===g&&D.isLeapYear(d)||D.feb29Between(t,l)||m===1&&f===29)&&(v=366),(0,j.default)(l).diff((0,j.default)(t),"days")/(v/a);var k=g-d+1,b=((0,j.default)().set({year:g+1,month:0,date:1})-(0,j.default)().set({year:d,month:0,date:1}))/1e3/60/60/24,w=b/k;y=(0,j.default)(l).diff((0,j.default)(t),"days")/(w/a);break;case 2:y=(0,j.default)(l).diff((0,j.default)(t),"days")/(360/a);break;case 3:y=(0,j.default)(l).diff((0,j.default)(t),"days")/(365/a);break;case 4:y=(f+m*30+g*360-(s+u*30+d*360))/(360/a);break}return Math.round(y)}catch(C){var x=C;return x=p.errorInfo(x),[p.error.v,x]}},SYD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getFirstValue(arguments[3]);return H(o)?o:B(o)?(o=parseInt(o),a==0?p.error.nm:o<1||o>a?p.error.nm:(t-l)*(a-o+1)*2/(a*(a+1))):p.error.v}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},TBILLEQ:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getFirstValue(arguments[2]);return H(a)?a:B(a)?(a=parseFloat(a),a<=0?p.error.nm:(0,j.default)(t)-(0,j.default)(l)>0?p.error.nm:(0,j.default)(l)-(0,j.default)(t)>365*24*60*60*1e3?p.error.nm:365*a/(360-a*(0,j.default)(l).diff((0,j.default)(t),"days"))):p.error.v}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},TBILLYIELD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getFirstValue(arguments[2]);return H(a)?a:B(a)?(a=parseFloat(a),a<=0?p.error.nm:(0,j.default)(t)-(0,j.default)(l)>=0?p.error.nm:(0,j.default)(l)-(0,j.default)(t)>365*24*60*60*1e3?p.error.nm:(100-a)/a*(360/(0,j.default)(l).diff((0,j.default)(t),"days"))):p.error.v}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},TBILLPRICE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getFirstValue(arguments[2]);return H(a)?a:B(a)?(a=parseFloat(a),a<=0?p.error.nm:(0,j.default)(t)-(0,j.default)(l)>0?p.error.nm:(0,j.default)(l)-(0,j.default)(t)>365*24*60*60*1e3?p.error.nm:100*(1-a*(0,j.default)(l).diff((0,j.default)(t),"days")/360)):p.error.v}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},PV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=0;if(arguments.length>=4){if(o=D.getFirstValue(arguments[3]),H(o))return o;if(!B(o))return p.error.v;o=parseFloat(o)}var s=0;if(arguments.length>=5){if(s=D.getFirstValue(arguments[4]),H(s))return s;if(!B(s))return p.error.v;s=parseFloat(s)}if(s!=0&&s!=1)return p.error.nm;if(t===0)var u=-a*l-o;else var u=((1-Math.pow(1+t,l))/t*a*(1+t*s)-o)/Math.pow(1+t,l);return u}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},ACCRINT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getCellDate(arguments[2]);if(H(a))return a;if(!(0,j.default)(a).isValid())return p.error.v;var o=D.getFirstValue(arguments[3]);if(H(o))return o;if(!B(o))return p.error.v;o=parseFloat(o);var s=D.getFirstValue(arguments[4]);if(H(s))return s;if(!B(s))return p.error.v;s=parseFloat(s);var u=D.getFirstValue(arguments[5]);if(H(u))return u;if(!B(u))return p.error.v;u=parseInt(u);var d=0;if(arguments.length>=7){if(d=D.getFirstValue(arguments[6]),H(d))return d;if(!B(d))return p.error.v;d=parseInt(d)}var f=!0;if(arguments.length==8&&(f=D.getCellBoolen(arguments[7]),H(f)))return f;if(o<=0||s<=0)return p.error.nm;if(u!=1&&u!=2&&u!=4)return p.error.nm;if(d<0||d>4)return p.error.nm;if((0,j.default)(t)-(0,j.default)(a)>=0)return p.error.nm;var m;if((0,j.default)(a)-(0,j.default)(l)>=0&&!f){var g=(0,j.default)(l).date(),y=(0,j.default)(l).month()+1,v=(0,j.default)(l).year(),k=(0,j.default)(a).date(),b=(0,j.default)(a).month()+1,w=(0,j.default)(a).year();switch(d){case 0:g===31&&k===31?(g=30,k=30):g===31?g=30:g===30&&k===31&&(k=30),m=(k+b*30+w*360-(g+y*30+v*360))/360;break;case 1:var x=365;if(v===w||v+1===w&&(y>b||y===b&&g>=k))return(v===w&&D.isLeapYear(v)||D.feb29Between(l,a)||b===1&&k===29)&&(x=366),(0,j.default)(a).diff((0,j.default)(l),"days")/x;var C=w-v+1,S=((0,j.default)().set({year:w+1,month:0,date:1})-(0,j.default)().set({year:v,month:0,date:1}))/1e3/60/60/24,_=S/C;m=(0,j.default)(a).diff((0,j.default)(l),"days")/_;break;case 2:m=(0,j.default)(a).diff((0,j.default)(l),"days")/360;break;case 3:m=(0,j.default)(a).diff((0,j.default)(l),"days")/365;break;case 4:m=(k+b*30+w*360-(g+y*30+v*360))/360;break}}else{var g=(0,j.default)(t).date(),y=(0,j.default)(t).month()+1,v=(0,j.default)(t).year(),k=(0,j.default)(a).date(),b=(0,j.default)(a).month()+1,w=(0,j.default)(a).year();switch(d){case 0:g===31&&k===31?(g=30,k=30):g===31?g=30:g===30&&k===31&&(k=30),m=(k+b*30+w*360-(g+y*30+v*360))/360;break;case 1:var x=365;if(v===w||v+1===w&&(y>b||y===b&&g>=k))return(v===w&&D.isLeapYear(v)||D.feb29Between(t,a)||b===1&&k===29)&&(x=366),(0,j.default)(a).diff((0,j.default)(t),"days")/x;var C=w-v+1,S=((0,j.default)().set({year:w+1,month:0,date:1})-(0,j.default)().set({year:v,month:0,date:1}))/1e3/60/60/24,_=S/C;m=(0,j.default)(a).diff((0,j.default)(t),"days")/_;break;case 2:m=(0,j.default)(a).diff((0,j.default)(t),"days")/360;break;case 3:m=(0,j.default)(a).diff((0,j.default)(t),"days")/365;break;case 4:m=(k+b*30+w*360-(g+y*30+v*360))/360;break}}return s*o*m}catch(A){var T=A;return T=p.errorInfo(T),[p.error.v,T]}},ACCRINTM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getFirstValue(arguments[3]);if(H(o))return o;if(!B(o))return p.error.v;o=parseFloat(o);var s=0;if(arguments.length==5){if(s=D.getFirstValue(arguments[4]),H(s))return s;if(!B(s))return p.error.v;s=parseInt(s)}if(a<=0||o<=0)return p.error.nm;if(s<0||s>4)return p.error.nm;if((0,j.default)(t)-(0,j.default)(l)>=0)return p.error.nm;var u=(0,j.default)(t).date(),d=(0,j.default)(t).month()+1,f=(0,j.default)(t).year(),m=(0,j.default)(l).date(),g=(0,j.default)(l).month()+1,y=(0,j.default)(l).year(),v;switch(s){case 0:u===31&&m===31?(u=30,m=30):u===31?u=30:u===30&&m===31&&(m=30),v=(m+g*30+y*360-(u+d*30+f*360))/360;break;case 1:var k=365;if(f===y||f+1===y&&(d>g||d===g&&u>=m))return(f===y&&D.isLeapYear(f)||D.feb29Between(t,l)||g===1&&m===29)&&(k=366),(0,j.default)(l).diff((0,j.default)(t),"days")/k;var b=y-f+1,w=((0,j.default)().set({year:y+1,month:0,date:1})-(0,j.default)().set({year:f,month:0,date:1}))/1e3/60/60/24,x=w/b;v=(0,j.default)(l).diff((0,j.default)(t),"days")/x;break;case 2:v=(0,j.default)(l).diff((0,j.default)(t),"days")/360;break;case 3:v=(0,j.default)(l).diff((0,j.default)(t),"days")/365;break;case 4:v=(m+g*30+y*360-(u+d*30+f*360))/360;break}return o*a*v}catch(S){var C=S;return C=p.errorInfo(C),[p.error.v,C]}},COUPDAYBS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseInt(a);var o=0;if(arguments.length==4){if(o=D.getFirstValue(arguments[3]),H(o))return o;if(!B(o))return p.error.v;o=parseInt(o)}if(a!=1&&a!=2&&a!=4)return p.error.nm;if(o<0||o>4)return p.error.nm;if((0,j.default)(t)-(0,j.default)(l)>=0)return p.error.nm;for(var s,u=Math.ceil((0,j.default)(l).diff((0,j.default)(t),"months")/(12/a))+1,e=1;e<=u;e++){var d=(0,j.default)(l).subtract(12/a*e,"months");if(d<=(0,j.default)(t)){s=d;break}}var f;switch(o){case 0:var m=(0,j.default)(s).date(),g=(0,j.default)(s).month()+1,y=(0,j.default)(s).year(),v=(0,j.default)(t).date(),k=(0,j.default)(t).month()+1,b=(0,j.default)(t).year();m===31&&v===31?(m=30,v=30):m===31?m=30:m===30&&v===31&&(v=30),f=v+k*30+b*360-(m+g*30+y*360);break;case 1:case 2:case 3:f=(0,j.default)(t).diff((0,j.default)(s),"days");break;case 4:var m=(0,j.default)(s).date(),g=(0,j.default)(s).month()+1,y=(0,j.default)(s).year(),v=(0,j.default)(t).date(),k=(0,j.default)(t).month()+1,b=(0,j.default)(t).year();f=v+k*30+b*360-(m+g*30+y*360);break}return f}catch(x){var w=x;return w=p.errorInfo(w),[p.error.v,w]}},COUPDAYS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseInt(a);var o=0;if(arguments.length==4){if(o=D.getFirstValue(arguments[3]),H(o))return o;if(!B(o))return p.error.v;o=parseInt(o)}if(a!=1&&a!=2&&a!=4)return p.error.nm;if(o<0||o>4)return p.error.nm;if((0,j.default)(t)-(0,j.default)(l)>=0)return p.error.nm;var s;switch(o){case 0:s=360/a;break;case 1:for(var u=Math.ceil((0,j.default)(l).diff((0,j.default)(t),"months")/(12/a))+1,e=1;e<=u;e++){var d=(0,j.default)(l).subtract(12/a*e,"months");if(d<=(0,j.default)(t)){var f=(0,j.default)(l).subtract(12/a*(e-1),"months");s=(0,j.default)(f).diff((0,j.default)(d),"days");break}}break;case 2:s=360/a;break;case 3:s=365/a;break;case 4:s=360/a;break}return s}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},COUPDAYSNC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseInt(a);var o=0;if(arguments.length==4){if(o=D.getFirstValue(arguments[3]),H(o))return o;if(!B(o))return p.error.v;o=parseInt(o)}if(a!=1&&a!=2&&a!=4)return p.error.nm;if(o<0||o>4)return p.error.nm;if((0,j.default)(t)-(0,j.default)(l)>=0)return p.error.nm;for(var s,u=Math.ceil((0,j.default)(l).diff((0,j.default)(t),"months")/(12/a))+1,e=1;e<=u;e++){var d=(0,j.default)(l).subtract(12/a*e,"months");if(d<=(0,j.default)(t)){s=(0,j.default)(l).subtract(12/a*(e-1),"months");break}}var f;switch(o){case 0:var m=(0,j.default)(t).date(),g=(0,j.default)(t).month()+1,y=(0,j.default)(t).year(),v=(0,j.default)(s).date(),k=(0,j.default)(s).month()+1,b=(0,j.default)(s).year();m===31&&v===31?(m=30,v=30):m===31?m=30:m===30&&v===31&&(v=30),f=v+k*30+b*360-(m+g*30+y*360);break;case 1:case 2:case 3:f=(0,j.default)(s).diff((0,j.default)(t),"days");break;case 4:var m=(0,j.default)(t).date(),g=(0,j.default)(t).month()+1,y=(0,j.default)(t).year(),v=(0,j.default)(s).date(),k=(0,j.default)(s).month()+1,b=(0,j.default)(s).year();f=v+k*30+b*360-(m+g*30+y*360);break}return f}catch(x){var w=x;return w=p.errorInfo(w),[p.error.v,w]}},COUPNCD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseInt(a);var o=0;if(arguments.length==4){if(o=D.getFirstValue(arguments[3]),H(o))return o;if(!B(o))return p.error.v;o=parseInt(o)}if(a!=1&&a!=2&&a!=4)return p.error.nm;if(o<0||o>4)return p.error.nm;if((0,j.default)(t)-(0,j.default)(l)>=0)return p.error.nm;for(var s,u=Math.ceil((0,j.default)(l).diff((0,j.default)(t),"months")/(12/a))+1,e=1;e<=u;e++){var d=(0,j.default)(l).subtract(12/a*e,"months");if(d<=(0,j.default)(t)){s=(0,j.default)(l).subtract(12/a*(e-1),"months");break}}return(0,j.default)(s).format("YYYY-MM-DD")}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},COUPPCD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseInt(a);var o=0;if(arguments.length==4){if(o=D.getFirstValue(arguments[3]),H(o))return o;if(!B(o))return p.error.v;o=parseInt(o)}if(a!=1&&a!=2&&a!=4)return p.error.nm;if(o<0||o>4)return p.error.nm;if((0,j.default)(t)-(0,j.default)(l)>=0)return p.error.nm;for(var s,u=Math.ceil((0,j.default)(l).diff((0,j.default)(t),"months")/(12/a))+1,e=1;e<=u;e++){var d=(0,j.default)(l).subtract(12/a*e,"months");if(d<=(0,j.default)(t)){s=d;break}}return(0,j.default)(s).format("YYYY-MM-DD")}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},FV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=0;if(arguments.length>=4){if(o=D.getFirstValue(arguments[3]),H(o))return o;if(!B(o))return p.error.v;o=parseFloat(o)}var s=0;if(arguments.length>=5){if(s=D.getFirstValue(arguments[4]),H(s))return s;if(!B(s))return p.error.v;s=parseFloat(s)}if(s!=0&&s!=1)return p.error.nm;var u;if(t===0)u=o+a*l;else{var d=Math.pow(1+t,l);s===1?u=o*d+a*(1+t)*(d-1)/t:u=o*d+a*(d-1)/t}return-u}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},FVSCHEDULE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=arguments[1],a=[];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;a=a.concat(D.getDataArr(l,!1))}else P(l)=="object"&&l.startCell!=null?a=a.concat(D.getCellDataArr(l,"number",!1)):a.push(l);for(var o=[],e=0;e<a.length;e++){var s=a[e];if(!B(s))return p.error.v;o.push(parseFloat(s))}for(var u=o.length,d=t,e=0;e<u;e++)d*=1+o[e];return d}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},YIELD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getFirstValue(arguments[3]);if(H(o))return o;if(!B(o))return p.error.v;o=parseFloat(o);var s=D.getFirstValue(arguments[4]);if(H(s))return s;if(!B(s))return p.error.v;s=parseFloat(s);var u=D.getFirstValue(arguments[5]);if(H(u))return u;if(!B(u))return p.error.v;u=parseInt(u);var d=0;if(arguments.length==7){if(d=D.getFirstValue(arguments[6]),H(d))return d;if(!B(d))return p.error.v;d=parseInt(d)}if(a<0)return p.error.nm;if(o<=0||s<=0)return p.error.nm;if(u!=1&&u!=2&&u!=4)return p.error.nm;if(d<0||d>4)return p.error.nm;if((0,j.default)(t)-(0,j.default)(l)>=0)return p.error.nm;var f=window.luckysheet_function.COUPNUM.f(t,l,u,d);if(f>1){for(var m=1,g=0,y=m,e=1;e<=100;e++){var v=window.luckysheet_function.PRICE.f(t,l,a,y,s,u,d);if(Math.abs(v-o)<1e-6)break;v>o?g=y:m=y,y=(m+g)/2}var k=y}else var b=window.luckysheet_function.COUPDAYSNC.f(t,l,u,d),w=window.luckysheet_function.COUPDAYS.f(t,l,u,d),x=window.luckysheet_function.COUPDAYBS.f(t,l,u,d),C=s/100+a/u,S=o/100+x/w*(a/u),_=u*w/b,k=(C-S)/S*_;return k}catch(A){var T=A;return T=p.errorInfo(T),[p.error.v,T]}},YIELDDISC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getFirstValue(arguments[3]);if(H(o))return o;if(!B(o))return p.error.v;o=parseFloat(o);var s=0;if(arguments.length==5){if(s=D.getFirstValue(arguments[4]),H(s))return s;if(!B(s))return p.error.v;s=parseInt(s)}if(a<=0||o<=0)return p.error.nm;if(s<0||s>4)return p.error.nm;if((0,j.default)(t)-(0,j.default)(l)>=0)return p.error.nm;var u=window.luckysheet_function.YEARFRAC.f(t,l,s);return(o/a-1)/u}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},NOMINAL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseInt(l),t<=0||l<1?p.error.nm:(Math.pow(t+1,1/l)-1)*l):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},XIRR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=l.concat(D.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(D.getCellDataArr(t,"number",!1)):l.push(t);for(var a=[],e=0;e<l.length;e++){var o=l[e];if(!B(o))return p.error.v;a.push(parseFloat(o))}var s=D.getCellrangeDate(arguments[1]);if(H(s))return s;for(var e=0;e<s.length;e++)if(!(0,j.default)(s[e]).isValid())return p.error.v;var u=.1;if(arguments.length==3){if(u=D.getFirstValue(arguments[2]),H(u))return u;if(!B(u))return p.error.v;u=parseFloat(u)}for(var d=!1,f=!1,e=0;e<a.length&&(a[e]>0&&(d=!0),a[e]<0&&(f=!0),!(d&&f));e++);if(!d||!f)return p.error.nm;if(a.length!=s.length)return p.error.nm;var m=function(S,_,T){for(var A=T+1,R=S[0],I=1;I<S.length;I++)R+=S[I]/Math.pow(A,window.luckysheet_function.DAYS.f(_[I],_[0])/365);return R},g=function(S,_,T){for(var A=T+1,R=0,I=1;I<S.length;I++){var F=window.luckysheet_function.DAYS.f(_[I],_[0])/365;R-=F*S[I]/Math.pow(A,F+1)}return R},y=u,v=1e-10,k,b,w,x=!0;do w=m(a,s,y),k=y-w/g(a,s,y),b=Math.abs(k-y),y=k,x=b>v&&Math.abs(w)>v;while(x);return y}catch(S){var C=S;return C=p.errorInfo(C),[p.error.v,C]}},MIRR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=l.concat(D.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(D.getCellDataArr(t,"number",!1)):l.push(t);for(var a=[],e=0;e<l.length;e++){var o=l[e];if(!B(o))return p.error.v;a.push(parseFloat(o))}var s=D.getFirstValue(arguments[1]);if(H(s))return s;if(!B(s))return p.error.v;s=parseFloat(s);var u=D.getFirstValue(arguments[2]);if(H(u))return u;if(!B(u))return p.error.v;u=parseFloat(u);for(var d=a.length,f=[],m=[],e=0;e<d;e++)a[e]<0?f.push(a[e]):m.push(a[e]);if(f.length==0||m.length==0)return p.error.d;var g=-window.luckysheet_function.NPV.f(u,m)*Math.pow(1+u,d-1),y=window.luckysheet_function.NPV.f(s,f)*(1+s);return Math.pow(g/y,1/(d-1))-1}catch(k){var v=k;return v=p.errorInfo(v),[p.error.v,v]}},IRR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=l.concat(D.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(D.getCellDataArr(t,"number",!0)):l.push(t);for(var a=[],e=0;e<l.length;e++){var o=l[e];if(!B(o))return p.error.v;a.push(parseFloat(o))}var s=.1;if(arguments.length==2){if(s=D.getFirstValue(arguments[1]),H(s))return s;if(!B(s))return p.error.v;s=parseFloat(s)}for(var u=[],d=!1,f=!1,e=0;e<l.length;e++)u[e]=e===0?0:u[e-1]+365,l[e]>0&&(d=!0),l[e]<0&&(f=!0);if(!d||!f)return p.error.nm;var m=function(S,_,T){for(var A=T+1,R=S[0],I=1;I<S.length;I++)R+=S[I]/Math.pow(A,(_[I]-_[0])/365);return R},g=function(S,_,T){for(var A=T+1,R=0,I=1;I<S.length;I++){var F=(_[I]-_[0])/365;R-=F*S[I]/Math.pow(A,F+1)}return R},y=s,v=1e-10,k,b,w,x=!0;do w=m(a,u,y),k=y-w/g(a,u,y),b=Math.abs(k-y),y=k,x=b>v&&Math.abs(w)>v;while(x);return y}catch(S){var C=S;return C=p.errorInfo(C),[p.error.v,C]}},NPV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);for(var l=[],e=1;e<arguments.length;e++){var a=arguments[e];if(P(a)=="array"){if(P(a[0])=="array"&&!D.isDyadicArr(a))return p.error.v;l=l.concat(D.getDataArr(a,!0))}else P(a)=="object"&&a.startCell!=null?l=l.concat(D.getCellDataArr(a,"number",!0)):l.push(a)}for(var o=[],e=0;e<l.length;e++){var s=l[e];B(s)&&o.push(parseFloat(s))}var u=0;if(o.length>0)for(var e=0;e<o.length;e++)u+=o[e]/Math.pow(1+t,e+1);return u}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},XNPV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=arguments[1],a=[];if(P(l)=="array"){if(P(l[0])=="array"&&!D.isDyadicArr(l))return p.error.v;a=a.concat(D.getDataArr(l,!1))}else P(l)=="object"&&l.startCell!=null?a=a.concat(D.getCellDataArr(l,"number",!1)):a.push(l);for(var o=[],e=0;e<a.length;e++){var s=a[e];if(!B(s))return p.error.v;o.push(parseFloat(s))}var u=D.getCellrangeDate(arguments[2]);if(H(u))return u;for(var e=0;e<u.length;e++)if(!(0,j.default)(u[e]).isValid())return p.error.v;if(o.length!=u.length)return p.error.nm;for(var d=0,e=0;e<o.length;e++)d+=o[e]/Math.pow(1+t,window.luckysheet_function.DAYS.f(u[e],u[0])/365);return d}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},CUMIPMT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getFirstValue(arguments[3]);if(H(o))return o;if(!B(o))return p.error.v;o=parseInt(o);var s=D.getFirstValue(arguments[4]);if(H(s))return s;if(!B(s))return p.error.v;s=parseInt(s);var u=D.getFirstValue(arguments[5]);if(H(u))return u;if(!B(u))return p.error.v;if(u=parseFloat(u),t<=0||l<=0||a<=0)return p.error.nm;if(o<1||s<1||o>s)return p.error.nm;if(u!=0&&u!=1)return p.error.nm;var d=window.luckysheet_function.PMT.f(t,l,a,0,u),f=0;o===1&&u===0&&(f=-a,o++);for(var e=o;e<=s;e++)u===1?f+=window.luckysheet_function.FV.f(t,e-2,d,a,1)-d:f+=window.luckysheet_function.FV.f(t,e-1,d,a,0);return f*=t,f}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},PMT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=0;if(arguments.length>=4){if(o=D.getFirstValue(arguments[3]),H(o))return o;if(!B(o))return p.error.v;o=parseFloat(o)}var s=0;if(arguments.length==5){if(s=D.getFirstValue(arguments[4]),H(s))return s;if(!B(s))return p.error.v;s=parseFloat(s)}if(s!=0&&s!=1)return p.error.nm;var u;if(t===0)u=(a+o)/l;else{var d=Math.pow(1+t,l);s===1?u=(o*t/(d-1)+a*t/(1-1/d))/(1+t):u=o*t/(d-1)+a*t/(1-1/d)}return-u}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},IPMT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getFirstValue(arguments[3]);if(H(o))return o;if(!B(o))return p.error.v;o=parseFloat(o);var s=0;if(arguments.length>=5){if(s=D.getFirstValue(arguments[4]),H(s))return s;if(!B(s))return p.error.v;s=parseFloat(s)}var u=0;if(arguments.length>=6){if(u=D.getFirstValue(arguments[5]),H(u))return u;if(!B(u))return p.error.v;u=parseFloat(u)}if(l<1||l>a)return p.error.nm;if(u!=0&&u!=1)return p.error.nm;var d=window.luckysheet_function.PMT.f(t,a,o,s,u),f;l===1?u===1?f=0:f=-o:u===1?f=window.luckysheet_function.FV.f(t,l-2,d,o,1)-d:f=window.luckysheet_function.FV.f(t,l-1,d,o,0);var m=f*t;return m}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},PPMT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getFirstValue(arguments[3]);if(H(o))return o;if(!B(o))return p.error.v;o=parseFloat(o);var s=0;if(arguments.length>=5){if(s=D.getFirstValue(arguments[4]),H(s))return s;if(!B(s))return p.error.v;s=parseFloat(s)}var u=0;if(arguments.length>=6){if(u=D.getFirstValue(arguments[5]),H(u))return u;if(!B(u))return p.error.v;u=parseFloat(u)}if(l<1||l>a)return p.error.nm;if(u!=0&&u!=1)return p.error.nm;var d=window.luckysheet_function.PMT.f(t,a,o,s,u),f=window.luckysheet_function.IPMT.f(t,l,a,o,s,u);return d-f}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},INTRATE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getFirstValue(arguments[3]);if(H(o))return o;if(!B(o))return p.error.v;o=parseFloat(o);var s=0;if(arguments.length==5){if(s=D.getFirstValue(arguments[4]),H(s))return s;if(!B(s))return p.error.v;s=parseInt(s)}if(a<=0||o<=0)return p.error.nm;if(s<0||s>4)return p.error.nm;if((0,j.default)(t)-(0,j.default)(l)>=0)return p.error.nm;var u=(0,j.default)(t).date(),d=(0,j.default)(t).month()+1,f=(0,j.default)(t).year(),m=(0,j.default)(l).date(),g=(0,j.default)(l).month()+1,y=(0,j.default)(l).year(),v;switch(s){case 0:u===31&&m===31?(u=30,m=30):u===31?u=30:u===30&&m===31&&(m=30),v=360/(m+g*30+y*360-(u+d*30+f*360));break;case 1:var k=365;if(f===y||f+1===y&&(d>g||d===g&&u>=m))return(f===y&&D.isLeapYear(f)||D.feb29Between(t,l)||g===1&&m===29)&&(k=366),v=k/(0,j.default)(l).diff((0,j.default)(t),"days"),v=(o-a)/a*v,v;var b=y-f+1,w=((0,j.default)().set({year:y+1,month:0,date:1})-(0,j.default)().set({year:f,month:0,date:1}))/1e3/60/60/24,x=w/b;v=x/(0,j.default)(l).diff((0,j.default)(t),"days");break;case 2:v=360/(0,j.default)(l).diff((0,j.default)(t),"days");break;case 3:v=365/(0,j.default)(l).diff((0,j.default)(t),"days");break;case 4:v=360/(m+g*30+y*360-(u+d*30+f*360));break}return v=(o-a)/a*v,v}catch(S){var C=S;return C=p.errorInfo(C),[p.error.v,C]}},PRICE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getFirstValue(arguments[3]);if(H(o))return o;if(!B(o))return p.error.v;o=parseFloat(o);var s=D.getFirstValue(arguments[4]);if(H(s))return s;if(!B(s))return p.error.v;s=parseFloat(s);var u=D.getFirstValue(arguments[5]);if(H(u))return u;if(!B(u))return p.error.v;u=parseInt(u);var d=0;if(arguments.length==7){if(d=D.getFirstValue(arguments[6]),H(d))return d;if(!B(d))return p.error.v;d=parseInt(d)}if(a<0||o<0)return p.error.nm;if(s<=0)return p.error.nm;if(u!=1&&u!=2&&u!=4)return p.error.nm;if(d<0||d>4)return p.error.nm;if((0,j.default)(t)-(0,j.default)(l)>=0)return p.error.nm;var f=window.luckysheet_function.COUPDAYSNC.f(t,l,u,d),m=window.luckysheet_function.COUPDAYS.f(t,l,u,d),g=window.luckysheet_function.COUPDAYBS.f(t,l,u,d),y=window.luckysheet_function.COUPNUM.f(t,l,u,d);if(y>1){for(var v=s/Math.pow(1+o/u,y-1+f/m),k=0,e=1;e<=y;e++)k+=100*a/u/Math.pow(1+o/u,e-1+f/m);var b=100*(a/u)*(g/m),w=v+k-b}else var x=m-g,v=100*(a/u)+s,k=o/u*(x/m)+1,b=100*(a/u)*(g/m),w=v/k-b;return w}catch(S){var C=S;return C=p.errorInfo(C),[p.error.v,C]}},PRICEDISC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getFirstValue(arguments[3]);if(H(o))return o;if(!B(o))return p.error.v;o=parseFloat(o);var s=0;if(arguments.length==5){if(s=D.getFirstValue(arguments[4]),H(s))return s;if(!B(s))return p.error.v;s=parseInt(s)}if(a<=0||o<=0)return p.error.nm;if(s<0||s>4)return p.error.nm;if((0,j.default)(t)-(0,j.default)(l)>=0)return p.error.nm;var u=(0,j.default)(t).date(),d=(0,j.default)(t).month()+1,f=(0,j.default)(t).year(),m=(0,j.default)(l).date(),g=(0,j.default)(l).month()+1,y=(0,j.default)(l).year(),v;switch(s){case 0:u===31&&m===31?(u=30,m=30):u===31?u=30:u===30&&m===31&&(m=30),v=(m+g*30+y*360-(u+d*30+f*360))/360;break;case 1:var k=365;if(f===y||f+1===y&&(d>g||d===g&&u>=m))return(f===y&&D.isLeapYear(f)||D.feb29Between(t,l)||g===1&&m===29)&&(k=366),v=(0,j.default)(l).diff((0,j.default)(t),"days")/k,v=o-a*o*v,v;var b=y-f+1,w=((0,j.default)().set({year:y+1,month:0,date:1})-(0,j.default)().set({year:f,month:0,date:1}))/1e3/60/60/24,x=w/b;v=(0,j.default)(l).diff((0,j.default)(t),"days")/x;break;case 2:v=(0,j.default)(l).diff((0,j.default)(t),"days")/360;break;case 3:v=(0,j.default)(l).diff((0,j.default)(t),"days")/365;break;case 4:v=(m+g*30+y*360-(u+d*30+f*360))/360;break}return v=o-a*o*v,v}catch(S){var C=S;return C=p.errorInfo(C),[p.error.v,C]}},PRICEMAT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getCellDate(arguments[2]);if(H(a))return a;if(!(0,j.default)(a).isValid())return p.error.v;var o=D.getFirstValue(arguments[3]);if(H(o))return o;if(!B(o))return p.error.v;o=parseFloat(o);var s=D.getFirstValue(arguments[4]);if(H(s))return s;if(!B(s))return p.error.v;s=parseFloat(s);var u=0;if(arguments.length==6){if(u=D.getFirstValue(arguments[5]),H(u))return u;if(!B(u))return p.error.v;u=parseInt(u)}if(o<0||s<0)return p.error.nm;if(u<0||u>4)return p.error.nm;if((0,j.default)(t)-(0,j.default)(l)>=0)return p.error.nm;var d=(0,j.default)(t).date(),f=(0,j.default)(t).month()+1,m=(0,j.default)(t).year(),g=(0,j.default)(l).date(),y=(0,j.default)(l).month()+1,v=(0,j.default)(l).year(),k=(0,j.default)(a).date(),b=(0,j.default)(a).month()+1,w=(0,j.default)(a).year(),x;switch(u){case 0:d==31&&(d=30),g==31&&(g=30),k==31&&(k=30);var C=360,S=g+y*30+v*360-(d+f*30+m*360),_=g+y*30+v*360-(k+b*30+w*360),T=d+f*30+m*360-(k+b*30+w*360);break;case 1:var A=365;if(m===v||m+1===v&&(f>y||f===y&&d>=g)){(m===v&&D.isLeapYear(m)||D.feb29Between(t,l)||y===1&&g===29)&&(A=366);var C=A,S=(0,j.default)(l).diff((0,j.default)(t),"days"),_=(0,j.default)(t).diff((0,j.default)(a),"days"),T=(0,j.default)(l).diff((0,j.default)(a),"days");return x=(100+_/C*o*100)/(1+S/C*s)-T/C*o*100,x}var R=v-m+1,I=((0,j.default)().set({year:v+1,month:0,date:1})-(0,j.default)().set({year:m,month:0,date:1}))/1e3/60/60/24,F=I/R,C=F,S=(0,j.default)(l).diff((0,j.default)(t),"days"),_=(0,j.default)(t).diff((0,j.default)(a),"days"),T=(0,j.default)(l).diff((0,j.default)(a),"days");break;case 2:var C=360,S=(0,j.default)(l).diff((0,j.default)(t),"days"),_=(0,j.default)(t).diff((0,j.default)(a),"days"),T=(0,j.default)(l).diff((0,j.default)(a),"days");break;case 3:var C=365,S=(0,j.default)(l).diff((0,j.default)(t),"days"),_=(0,j.default)(t).diff((0,j.default)(a),"days"),T=(0,j.default)(l).diff((0,j.default)(a),"days");break;case 4:var C=360,S=g+y*30+v*360-(d+f*30+m*360),_=g+y*30+v*360-(k+b*30+w*360),T=d+f*30+m*360-(k+b*30+w*360);break}return x=(100+_/C*o*100)/(1+S/C*s)-T/C*o*100,x}catch(M){var z=M;return z=p.errorInfo(z),[p.error.v,z]}},RECEIVED:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getFirstValue(arguments[3]);if(H(o))return o;if(!B(o))return p.error.v;o=parseFloat(o);var s=0;if(arguments.length==5){if(s=D.getFirstValue(arguments[4]),H(s))return s;if(!B(s))return p.error.v;s=parseFloat(s)}if(a<=0||o<=0)return p.error.nm;if(s<0||s>4)return p.error.nm;if((0,j.default)(t)-(0,j.default)(l)>=0)return p.error.nm;var u=(0,j.default)(t).date(),d=(0,j.default)(t).month()+1,f=(0,j.default)(t).year(),m=(0,j.default)(l).date(),g=(0,j.default)(l).month()+1,y=(0,j.default)(l).year(),v;switch(s){case 0:u==31&&(u=30),m==31&&(m=30);var k=360,b=m+g*30+y*360-(u+d*30+f*360);break;case 1:var w=365;if(f===y||f+1===y&&(d>g||d===g&&u>=m)){(f===y&&D.isLeapYear(f)||D.feb29Between(t,l)||g===1&&m===29)&&(w=366);var k=w,b=(0,j.default)(l).diff((0,j.default)(t),"days");return v=a/(1-o*b/k),v}var x=y-f+1,C=((0,j.default)().set({year:y+1,month:0,date:1})-(0,j.default)().set({year:f,month:0,date:1}))/1e3/60/60/24,S=C/x,k=S,b=(0,j.default)(l).diff((0,j.default)(t),"days");break;case 2:var k=360,b=(0,j.default)(l).diff((0,j.default)(t),"days");break;case 3:var k=365,b=(0,j.default)(l).diff((0,j.default)(t),"days");break;case 4:var k=360,b=m+g*30+y*360-(u+d*30+f*360);break}return v=a/(1-o*b/k),v}catch(T){var _=T;return _=p.errorInfo(_),[p.error.v,_]}},DISC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getFirstValue(arguments[3]);if(H(o))return o;if(!B(o))return p.error.v;o=parseFloat(o);var s=0;if(arguments.length==5){if(s=D.getFirstValue(arguments[4]),H(s))return s;if(!B(s))return p.error.v;s=parseFloat(s)}if(a<=0||o<=0)return p.error.nm;if(s<0||s>4)return p.error.nm;if((0,j.default)(t)-(0,j.default)(l)>=0)return p.error.nm;var u=(0,j.default)(t).date(),d=(0,j.default)(t).month()+1,f=(0,j.default)(t).year(),m=(0,j.default)(l).date(),g=(0,j.default)(l).month()+1,y=(0,j.default)(l).year(),v;switch(s){case 0:u==31&&(u=30),m==31&&(m=30);var k=360,b=m+g*30+y*360-(u+d*30+f*360);break;case 1:var w=365;if(f===y||f+1===y&&(d>g||d===g&&u>=m)){(f===y&&D.isLeapYear(f)||D.feb29Between(t,l)||g===1&&m===29)&&(w=366);var k=w,b=(0,j.default)(l).diff((0,j.default)(t),"days");return v=(o-a)/o*(k/b),v}var x=y-f+1,C=((0,j.default)().set({year:y+1,month:0,date:1})-(0,j.default)().set({year:f,month:0,date:1}))/1e3/60/60/24,S=C/x,k=S,b=(0,j.default)(l).diff((0,j.default)(t),"days");break;case 2:var k=360,b=(0,j.default)(l).diff((0,j.default)(t),"days");break;case 3:var k=365,b=(0,j.default)(l).diff((0,j.default)(t),"days");break;case 4:var k=360,b=m+g*30+y*360-(u+d*30+f*360);break}return v=(o-a)/o*(k/b),v}catch(T){var _=T;return _=p.errorInfo(_),[p.error.v,_]}},NPER:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=0;if(arguments.length>=4){if(o=D.getFirstValue(arguments[3]),H(o))return o;if(!B(o))return p.error.v;o=parseFloat(o)}var s=0;if(arguments.length>=5){if(s=D.getFirstValue(arguments[4]),H(s))return s;if(!B(s))return p.error.v;s=parseFloat(s)}if(s!=0&&s!=1)return p.error.nm;var u=l*(1+t*s)-o*t,d=a*t+l*(1+t*s);return Math.log(u/d)/Math.log(1+t)}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},SLN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a=D.getFirstValue(arguments[2]);return H(a)?a:B(a)?(a=parseFloat(a),a==0?p.error.d:(t-l)/a):p.error.v}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},DURATION:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getFirstValue(arguments[3]);if(H(o))return o;if(!B(o))return p.error.v;o=parseFloat(o);var s=D.getFirstValue(arguments[4]);if(H(s))return s;if(!B(s))return p.error.v;s=parseInt(s);var u=0;if(arguments.length==6){if(u=D.getFirstValue(arguments[5]),H(u))return u;if(!B(u))return p.error.v;u=parseInt(u)}if(a<0||o<0)return p.error.nm;if(s!=1&&s!=2&&s!=4)return p.error.nm;if(u<0||u>4)return p.error.nm;if((0,j.default)(t)-(0,j.default)(l)>=0)return p.error.nm;for(var d=window.luckysheet_function.COUPNUM.f(t,l,s,u),f=0,m=0,e=1;e<=d;e++)f+=100*(a/s)*e/Math.pow(1+o/s,e),m+=100*(a/s)/Math.pow(1+o/s,e);var g=(f+100*d/Math.pow(1+o/s,d))/(m+100/Math.pow(1+o/s,d));return g=g/s,g}catch(v){var y=v;return y=p.errorInfo(y),[p.error.v,y]}},MDURATION:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellDate(arguments[0]);if(H(t))return t;if(!(0,j.default)(t).isValid())return p.error.v;var l=D.getCellDate(arguments[1]);if(H(l))return l;if(!(0,j.default)(l).isValid())return p.error.v;var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a);var o=D.getFirstValue(arguments[3]);if(H(o))return o;if(!B(o))return p.error.v;o=parseFloat(o);var s=D.getFirstValue(arguments[4]);if(H(s))return s;if(!B(s))return p.error.v;s=parseInt(s);var u=0;if(arguments.length==6){if(u=D.getFirstValue(arguments[5]),H(u))return u;if(!B(u))return p.error.v;u=parseInt(u)}if(a<0||o<0)return p.error.nm;if(s!=1&&s!=2&&s!=4)return p.error.nm;if(u<0||u>4)return p.error.nm;if((0,j.default)(t)-(0,j.default)(l)>=0)return p.error.nm;var d=window.luckysheet_function.DURATION.f(t,l,a,o,s,u);return d/(1+o/s)}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},BIN2DEC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!/^[01]{1,10}$/g.test(t))return p.error.nm;var l=parseInt(t,2),a=t.toString();return a.length===10&&a.substring(0,1)==="1"?parseInt(a.substring(1),2)-512:l}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},BIN2HEX:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;var l=null;if(arguments.length==2){if(l=D.getFirstValue(arguments[1]),H(l))return l;if(!B(l))return p.error.v;l=parseInt(l)}if(!/^[01]{1,10}$/g.test(t))return p.error.nm;var a=parseInt(t,2).toString(16).toUpperCase();return l==null?a:l<0||l<a.length?p.error.nm:new Array(l-a.length+1).join("0")+a}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},BIN2OCT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;var l=null;if(arguments.length==2){if(l=D.getFirstValue(arguments[1]),H(l))return l;if(!B(l))return p.error.v;l=parseInt(l)}if(!/^[01]{1,10}$/g.test(t))return p.error.nm;var a=t.toString();if(a.length===10&&a.substring(0,1)==="1")return(1073741312+parseInt(a.substring(1),2)).toString(8);var o=parseInt(t,2).toString(8);return l==null?o:l<0||l<o.length?p.error.nm:new Array(l-o.length+1).join("0")+o}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},DEC2BIN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=null;if(arguments.length==2){if(l=D.getFirstValue(arguments[1]),H(l))return l;if(!B(l))return p.error.v;l=parseInt(l)}if(!/^-?[0-9]{1,3}$/.test(t)||t<-512||t>511)return p.error.nm;if(t<0)return"1"+new Array(9-(512+t).toString(2).length).join("0")+(512+t).toString(2);var a=parseInt(t,10).toString(2);return l==null?a:l<0||l<a.length?p.error.nm:new Array(l-a.length+1).join("0")+a}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},DEC2HEX:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=null;if(arguments.length==2){if(l=D.getFirstValue(arguments[1]),H(l))return l;if(!B(l))return p.error.v;l=parseInt(l)}if(!/^-?[0-9]{1,12}$/.test(t)||t<-549755813888||t>549755813887)return p.error.nm;if(t<0)return(1099511627776+t).toString(16).toUpperCase();var a=parseInt(t,10).toString(16).toUpperCase();return l==null?a:l<0||l<a.length?p.error.nm:new Array(l-a.length+1).join("0")+a}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},DEC2OCT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=null;if(arguments.length==2){if(l=D.getFirstValue(arguments[1]),H(l))return l;if(!B(l))return p.error.v;l=parseInt(l)}if(!/^-?[0-9]{1,9}$/.test(t)||t<-536870912||t>536870911)return p.error.nm;if(t<0)return(1073741824+t).toString(8);var a=parseInt(t,10).toString(8);return l==null?a:l<0||l<a.length?p.error.nm:new Array(l-a.length+1).join("0")+a}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},HEX2BIN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;var l=null;if(arguments.length==2){if(l=D.getFirstValue(arguments[1]),H(l))return l;if(!B(l))return p.error.v;l=parseInt(l)}if(!/^[0-9A-Fa-f]{1,10}$/.test(t))return p.error.nm;var a=t.length===10&&t.substring(0,1).toLowerCase()==="f",o=a?parseInt(t,16)-1099511627776:parseInt(t,16);if(o<-512||o>511)return p.error.nm;if(a)return"1"+new Array(9-(512+o).toString(2).length).join("0")+(512+o).toString(2);var s=o.toString(2);return l==null?s:l<0||l<s.length?p.error.nm:new Array(l-s.length+1).join("0")+s}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},HEX2DEC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!/^[0-9A-Fa-f]{1,10}$/.test(t))return p.error.nm;var l=parseInt(t,16);return l>=549755813888?l-1099511627776:l}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},HEX2OCT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;var l=null;if(arguments.length==2){if(l=D.getFirstValue(arguments[1]),H(l))return l;if(!B(l))return p.error.v;l=parseInt(l)}if(!/^[0-9A-Fa-f]{1,10}$/.test(t))return p.error.nm;var a=parseInt(t,16);if(a>536870911&&a<1098974756864)return p.error.nm;if(a>=1098974756864)return(a-1098437885952).toString(8);var o=a.toString(8);return l==null?o:l<0||l<o.length?p.error.nm:new Array(l-o.length+1).join("0")+o}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},OCT2BIN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;var l=null;if(arguments.length==2){if(l=D.getFirstValue(arguments[1]),H(l))return l;if(!B(l))return p.error.v;l=parseInt(l)}if(!/^[0-7]{1,10}$/.test(t))return p.error.nm;t=t.toString();var a=t.length===10&&t.substring(0,1)==="7",o=a?parseInt(t,8)-1073741824:parseInt(t,8);if(o<-512||o>511)return Me.num;if(a)return"1"+new Array(9-(512+o).toString(2).length).join("0")+(512+o).toString(2);var s=o.toString(2);return l==null?s:l<0||l<s.length?p.error.nm:new Array(l-s.length+1).join("0")+s}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},OCT2DEC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!/^[0-7]{1,10}$/.test(t))return p.error.nm;var l=parseInt(t,8);return l>=536870912?l-1073741824:l}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},OCT2HEX:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;var l=null;if(arguments.length==2){if(l=D.getFirstValue(arguments[1]),H(l))return l;if(!B(l))return p.error.v;l=parseInt(l)}if(!/^[0-7]{1,10}$/.test(t))return p.error.nm;var a=parseInt(t,8);if(a>=536870912)return"FF"+(a+3221225472).toString(16).toUpperCase();var o=a.toString(16).toUpperCase();return l==null?o:l<0||l<o.length?p.error.nm:new Array(l-o.length+1).join("0")+o}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},COMPLEX:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l);var a="i";if(arguments.length==3&&(a=arguments[2].toString()),a!="i"&&a!="j")return p.error.v;if(t===0&&l===0)return 0;if(t===0)return l===1?a:l.toString()+a;if(l===0)return t.toString();var o=l>0?"+":"";return t.toString()+o+(l===1?a:l.toString()+a)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},IMREAL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(t=t.toString(),t.toLowerCase()=="true"||t.toLowerCase()=="false")return p.error.v;if(t=="0"||["i","+i","1i","+1i","-i","-1i","j","+j","1j","+1j","-j","-1j"].indexOf(t)>=0)return 0;var l=t.indexOf("+"),a=t.indexOf("-");l===0&&(l=t.indexOf("+",1)),a===0&&(a=t.indexOf("-",1));var o=t.substring(t.length-1,t.length),s=o==="i"||o==="j";return l>=0||a>=0?s?l>=0?isNaN(t.substring(0,l))||isNaN(t.substring(l+1,t.length-1))?p.error.nm:Number(t.substring(0,l)):isNaN(t.substring(0,a))||isNaN(t.substring(a+1,t.length-1))?p.error.nm:Number(t.substring(0,a)):p.error.nm:s?isNaN(t.substring(0,t.length-1))?p.error.nm:0:isNaN(t)?p.error.nm:t}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},IMAGINARY:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(t=t.toString(),t.toLowerCase()=="true"||t.toLowerCase()=="false")return p.error.v;if(t=="0")return 0;if(["i","j"].indexOf(t)>=0)return 1;t=t.replace("+i","+1i").replace("-i","-1i").replace("+j","+1j").replace("-j","-1j");var l=t.indexOf("+"),a=t.indexOf("-");l===0&&(l=t.indexOf("+",1)),a===0&&(a=t.indexOf("-",1));var o=t.substring(t.length-1,t.length),s=o==="i"||o==="j";return l>=0||a>=0?s?l>=0?isNaN(t.substring(0,l))||isNaN(t.substring(l+1,t.length-1))?p.error.nm:Number(t.substring(l+1,t.length-1)):isNaN(t.substring(0,a))||isNaN(t.substring(a+1,t.length-1))?p.error.nm:-Number(t.substring(a+1,t.length-1)):p.error.nm:s?isNaN(t.substring(0,t.length-1))?p.error.nm:t.substring(0,t.length-1):isNaN(t)?p.error.nm:0}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},IMCONJUGATE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;t=t.toString();var l=window.luckysheet_function.IMREAL.f(t);if(H(l))return l;var a=window.luckysheet_function.IMAGINARY.f(t);if(H(a))return a;var o=t.substring(t.length-1);return o=o==="i"||o==="j"?o:"i",a!==0?window.luckysheet_function.COMPLEX.f(l,-a,o):t}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},IMABS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheet_function.IMREAL.f(arguments[0]);if(H(t))return t;var l=window.luckysheet_function.IMAGINARY.f(arguments[0]);return H(l)?l:Math.sqrt(Math.pow(t,2)+Math.pow(l,2))}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},DELTA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=0;if(arguments.length==2){if(l=D.getFirstValue(arguments[1]),H(l))return l;if(!B(l))return p.error.v;l=parseFloat(l)}return t===l?1:0}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},IMSUM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheet_function.IMREAL.f(arguments[0]);if(H(t))return t;var l=window.luckysheet_function.IMAGINARY.f(arguments[0]);if(H(l))return l;for(var a=arguments[0],e=1;e<arguments.length;e++){var o=window.luckysheet_function.IMREAL.f(a);if(H(o))return o;var s=window.luckysheet_function.IMAGINARY.f(a);if(H(s))return s;var u=window.luckysheet_function.IMREAL.f(arguments[e]);if(H(u))return u;var d=window.luckysheet_function.IMAGINARY.f(arguments[e]);if(H(d))return d;a=window.luckysheet_function.COMPLEX.f(o+u,s+d)}return a}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},IMSUB:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(t=t.toString(),t.toLowerCase()=="true"||t.toLowerCase()=="false")return p.error.v;var l=window.luckysheet_function.IMREAL.f(t);if(H(l))return l;var a=window.luckysheet_function.IMAGINARY.f(t);if(H(a))return a;var o=D.getFirstValue(arguments[1]);if(H(o))return o;if(o=o.toString(),o.toLowerCase()=="true"||o.toLowerCase()=="false")return p.error.v;var s=window.luckysheet_function.IMREAL.f(o);if(H(s))return s;var u=window.luckysheet_function.IMAGINARY.f(o);if(H(u))return u;var d=t.substring(t.length-1),f=o.substring(o.length-1),m="i";return(d==="j"||f==="j")&&(m="j"),window.luckysheet_function.COMPLEX.f(l-s,a-u,m)}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},IMPRODUCT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheet_function.IMREAL.f(arguments[0]);if(H(t))return t;var l=window.luckysheet_function.IMAGINARY.f(arguments[0]);if(H(l))return l;for(var a=arguments[0],e=1;e<arguments.length;e++){var o=window.luckysheet_function.IMREAL.f(a);if(H(o))return o;var s=window.luckysheet_function.IMAGINARY.f(a);if(H(s))return s;var u=window.luckysheet_function.IMREAL.f(arguments[e]);if(H(u))return u;var d=window.luckysheet_function.IMAGINARY.f(arguments[e]);if(H(d))return d;a=window.luckysheet_function.COMPLEX.f(o*u-s*d,o*d+s*u)}return a}catch(m){var f=m;return f=p.errorInfo(f),[p.error.v,f]}},IMDIV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(t=t.toString(),t.toLowerCase()=="true"||t.toLowerCase()=="false")return p.error.v;var l=window.luckysheet_function.IMREAL.f(t);if(H(l))return l;var a=window.luckysheet_function.IMAGINARY.f(t);if(H(a))return a;var o=D.getFirstValue(arguments[1]);if(H(o))return o;if(o=o.toString(),o.toLowerCase()=="true"||o.toLowerCase()=="false")return p.error.v;var s=window.luckysheet_function.IMREAL.f(o);if(H(s))return s;var u=window.luckysheet_function.IMAGINARY.f(o);if(H(u))return u;var d=t.substring(t.length-1),f=o.substring(o.length-1),m="i";if((d==="j"||f==="j")&&(m="j"),s===0&&u===0)return p.error.nm;var g=s*s+u*u;return window.luckysheet_function.COMPLEX.f((l*s+a*u)/g,(a*s-l*u)/g,m)}catch(v){var y=v;return y=p.errorInfo(y),[p.error.v,y]}},NOT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellBoolen(arguments[0]);return H(t)?t:!t}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},TRUE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{return!0}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},FALSE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{return!1}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},AND:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=!0,e=0;e<arguments.length;e++){var l=D.getCellBoolen(arguments[e]);if(H(l))return l;if(!l){t=!1;break}}return t}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},IFERROR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[1],"text"),l=D.getFirstValue(arguments[0],"text");return H(l)||P(l)==="string"&&$.trim(l)===""?t:l}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},IF:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getCellBoolen(arguments[0]);if(H(t))return t;var l=D.getFirstValue(arguments[1],"text");if(H(l)&&l!=Me.d)return l;var a="";return arguments.length==3&&(a=D.getFirstValue(arguments[2],"text"),H(a)&&a!=Me.d)?a:t?l:a}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},OR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t=!1,e=0;e<arguments.length;e++){var l=D.getCellBoolen(arguments[e]);if(H(l))return l;if(l){t=!0;break}}return t}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},NE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;var l=D.getFirstValue(arguments[1]);return H(l)?l:t!=l}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},EQ:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;var l=D.getFirstValue(arguments[1]);return H(l)?l:t==l}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},GT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseFloat(l),t>l):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},GTE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseFloat(l),t>=l):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},LT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseFloat(l),t<l):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},LTE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseFloat(l),t<=l):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},ADD:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseFloat(l),t+l):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},MINUS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseFloat(l),t-l):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},MULTIPLY:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseFloat(l),t*l):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},DIVIDE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseFloat(l),l==0?p.error.d:t/l):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},CONCAT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");if(H(t))return t;var l=D.getFirstValue(arguments[1],"text");return H(l)?l:t+""+l}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},UNARY_PERCENT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=t/100;return Math.round(l*100)/100}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},CONCATENATE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{for(var t="",e=0;e<arguments.length;e++){var l=D.getFirstValue(arguments[e],"text");if(H(l))return l;t=t+""+l}return t}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},CODE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");return H(t)?t:t==""?p.error.v:t.charCodeAt(0)}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},CHAR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseInt(t),t<1||t>255?p.error.v:String.fromCharCode(t)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},ARABIC:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");if(H(t))return t;if(t=t.toString().toUpperCase(),!/^M*(?:D?C{0,3}|C[MD])(?:L?X{0,3}|X[CL])(?:V?I{0,3}|I[XV])$/.test(t))return p.error.v;var l=0;return t.replace(/[MDLV]|C[MD]?|X[CL]?|I[XV]?/g,function(o){l+={M:1e3,CM:900,D:500,CD:400,C:100,XC:90,L:50,XL:40,X:10,IX:9,V:5,IV:4,I:1}[o]}),l}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},ROMAN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{let a=function(o){var s=[["","I","II","III","IV","V","VI","VII","VIII","IX"],["","X","XX","XXX","XL","L","LX","LXX","LXXX","XC"],["","C","CC","CCC","CD","D","DC","DCC","DCCC","CM"],["","M","MM","MMM"]],u=s[3][Math.floor(o/1e3)],d=s[2][Math.floor(o%1e3/100)],f=s[1][Math.floor(o%100/10)],m=s[0][o%10];return u+d+f+m};var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseInt(t),t==0?"":t<1||t>3999?p.error.v:a(t)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},REGEXEXTRACT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");if(H(t))return t;var l=D.getFirstValue(arguments[1],"text");if(H(l))return l;var a=t.match(new RegExp(l));return a?a[a.length>1?a.length-1:0]:null}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},REGEXMATCH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");if(H(t))return t;var l=D.getFirstValue(arguments[1],"text");if(H(l))return l;var a=t.match(new RegExp(l));return!!a}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},REGEXREPLACE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");if(H(t))return t;var l=D.getFirstValue(arguments[1],"text");if(H(l))return l;var a=D.getFirstValue(arguments[2],"text");return H(a)?a:t.replace(new RegExp(l),a)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},T:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");return H(t)||P(t)=="string"?t:""}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},FIXED:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=2;if(arguments.length>=2){if(l=D.getFirstValue(arguments[1]),H(l))return l;if(!B(l))return p.error.v;l=parseInt(l)}var a=!1;if(arguments.length==3&&(a=D.getCellBoolen(arguments[2]),H(a)))return a;if(l>127)return p.error.v;var o=a?"0":"#,##0";return l<=0?t=Math.round(t*Math.pow(10,l))/Math.pow(10,l):l>0&&(o+="."+new Array(l+1).join("0")),_t(o,t)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},FIND:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");if(H(t))return t;t=t.toString();var l=D.getFirstValue(arguments[1],"text");if(H(l))return l;l=l.toString();var a=1;if(arguments.length==3){if(a=D.getFirstValue(arguments[2]),H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a)}if(a<0||a>l.length)return p.error.v;if(t=="")return a;if(l.indexOf(t)==-1)return p.error.v;var o=l.indexOf(t,a-1)+1;return o}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},FINDB:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");if(H(t))return t;t=t.toString();var l=D.getFirstValue(arguments[1],"text");if(H(l))return l;l=l.toString();var a=1;if(arguments.length==3){if(a=D.getFirstValue(arguments[2]),H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a)}if(a<0||a>l.length)return p.error.v;if(t=="")return a;if(l.indexOf(t)==-1)return p.error.v;for(var o=l.split(""),s=l.indexOf(t,a-1),u=0,e=0;e<s;e++)/[^\x00-\xff]/g.test(o[e])?u+=2:u+=1;return u}catch(f){var d=f;return d=p.errorInfo(d),[p.error.v,d]}},JOIN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");if(H(t))return t;for(var l=[],e=1;e<arguments.length;e++){var a=arguments[e];if(P(a)=="array"){if(P(a[0])=="array"&&!D.isDyadicArr(a))return p.error.v;l=l.concat(D.getDataArr(a,!1))}else P(a)=="object"&&a.startCell!=null?l=l.concat(D.getCellDataArr(a,"text",!1)):l.push(a)}return l.join(t)}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},LEFT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");if(H(t))return t;t=t.toString();var l=1;if(arguments.length==2){if(l=D.getFirstValue(arguments[1]),H(l))return l;if(!B(l))return p.error.v;l=parseInt(l)}return l<0?p.error.v:l>=t.length?t:l==0?"":t.substr(0,l)}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},RIGHT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");if(H(t))return t;t=t.toString();var l=1;if(arguments.length==2){if(l=D.getFirstValue(arguments[1]),H(l))return l;if(!B(l))return p.error.v;l=parseInt(l)}return l<0?p.error.v:l>=t.length?t:l==0?"":t.substr(-l,l)}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},MID:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");if(H(t))return t;t=t.toString();var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseInt(l);var a=D.getFirstValue(arguments[2]);return H(a)?a:B(a)?(a=parseInt(a),l<1||a<0?p.error.v:l>t.length?"":l+a>t.length?t.substr(l-1,t.length-l+1):t.substr(l-1,a)):p.error.v}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},LEN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");return H(t)?t:(t=t.toString(),t.length)}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},LENB:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");return H(t)?t:(t=t.toString(),t.replace(/[^\x00-\xff]/g,"aa").length)}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},LOWER:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");return H(t)?t:(t=t.toString(),t&&t.toLowerCase())}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},UPPER:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");return H(t)?t:(t=t.toString(),t&&t.toUpperCase())}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},EXACT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");if(H(t))return t;t=t.toString();var l=D.getFirstValue(arguments[1],"text");return H(l)?l:(l=l.toString(),t===l)}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},REPLACE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");if(H(t))return t;t=t.toString();var l=D.getFirstValue(arguments[1]);if(H(l))return l;if(!B(l))return p.error.v;l=parseInt(l);var a=D.getFirstValue(arguments[2]);if(H(a))return a;if(!B(a))return p.error.v;a=parseInt(a);var o=D.getFirstValue(arguments[3],"text");return H(o)?o:(o=o.toString(),t.substr(0,l-1)+o+t.substr(l-1+a))}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},REPT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");if(H(t))return t;t=t.toString();var l=D.getFirstValue(arguments[1]);return H(l)?l:B(l)?(l=parseInt(l),l<0?p.error.v:(l>100&&(l=100),new Array(l+1).join(t))):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},SEARCH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");if(H(t))return t;t=t.toString();var l=D.getFirstValue(arguments[1],"text");if(H(l))return l;l=l.toString();var a=1;if(arguments.length==3){if(a=D.getFirstValue(arguments[2]),H(a))return a;if(!B(a))return p.error.v;a=parseInt(a)}if(a<=0||a>l.length)return p.error.v;var o=l.toLowerCase().indexOf(t.toLowerCase(),a-1)+1;return o===0?p.error.v:o}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},SUBSTITUTE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");if(H(t))return t;t=t.toString();var l=D.getFirstValue(arguments[1],"text");if(H(l))return l;l=l.toString();var a=D.getFirstValue(arguments[2],"text");if(H(a))return a;a=a.toString();var o=null;if(arguments.length==4){if(o=D.getFirstValue(arguments[3]),H(o))return o;if(!B(o))return p.error.v;o=parseInt(o)}var s=new RegExp(l,"g"),u;if(o==null)u=t.replace(s,a);else{if(o<=0)return p.error.v;var d=t.match(s);if(d==null||o>d.length)return t;for(var f=l.length,m=0,e=1;e<=o;e++)m=t.indexOf(l,m)+1;u=t.substring(0,m-1)+a+t.substring(m-1+f)}return u}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},CLEAN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");if(H(t))return t;t=t.toString();for(var l=[],e=0;e<t.length;e++){var a=t.charCodeAt(e);(/[\u4e00-\u9fa5]/g.test(t.charAt(e))||a>31&&a<127)&&l.push(t.charAt(e))}return l.join("")}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},TEXT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1],"text");return H(l)?l:(l=l.toString(),_t(l,t))}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},TRIM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");return H(t)?t:(t=t.toString(),t.replace(/ +/g," ").trim())}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},VALUE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");return H(t)?t:(t=t.toString(),it(t)[2])}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},PROPER:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");return H(t)?t:(t=t.toString().toLowerCase(),t.replace(/[a-zA-Z]+/g,function(a){return a.substring(0,1).toUpperCase()+a.substring(1)}))}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},CONVERT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseFloat(t);var l=D.getFirstValue(arguments[1],"text");if(H(l))return l;l=l.toString();var a=D.getFirstValue(arguments[2],"text");if(H(a))return a;a=a.toString();for(var o=[["a.u. of action","?",null,"action",!1,!1,105457168181818e-48],["a.u. of charge","e",null,"electric_charge",!1,!1,160217653141414e-33],["a.u. of energy","Eh",null,"energy",!1,!1,435974417757576e-32],["a.u. of length","a?",null,"length",!1,!1,529177210818182e-25],["a.u. of mass","m?",null,"mass",!1,!1,910938261616162e-45],["a.u. of time","?/Eh",null,"time",!1,!1,241888432650516e-31],["admiralty knot","admkn",null,"speed",!1,!0,.514773333],["ampere","A",null,"electric_current",!0,!1,1],["ampere per meter","A/m",null,"magnetic_field_intensity",!0,!1,1],["\xE5ngstr\xF6m","\xC5",["ang"],"length",!1,!0,1e-10],["are","ar",null,"area",!1,!0,100],["astronomical unit","ua",null,"length",!1,!1,149597870691667e-25],["bar","bar",null,"pressure",!1,!1,1e5],["barn","b",null,"area",!1,!1,1e-28],["becquerel","Bq",null,"radioactivity",!0,!1,1],["bit","bit",["b"],"information",!1,!0,1],["btu","BTU",["btu"],"energy",!1,!0,1055.05585262],["byte","byte",null,"information",!1,!0,8],["candela","cd",null,"luminous_intensity",!0,!1,1],["candela per square metre","cd/m?",null,"luminance",!0,!1,1],["coulomb","C",null,"electric_charge",!0,!1,1],["cubic \xE5ngstr\xF6m","ang3",["ang^3"],"volume",!1,!0,1e-30],["cubic foot","ft3",["ft^3"],"volume",!1,!0,.028316846592],["cubic inch","in3",["in^3"],"volume",!1,!0,16387064e-12],["cubic light-year","ly3",["ly^3"],"volume",!1,!0,846786664623715e-61],["cubic metre","m?",null,"volume",!0,!0,1],["cubic mile","mi3",["mi^3"],"volume",!1,!0,416818182544058e-5],["cubic nautical mile","Nmi3",["Nmi^3"],"volume",!1,!0,6352182208],["cubic Pica","Pica3",["Picapt3","Pica^3","Picapt^3"],"volume",!1,!0,758660370370369e-22],["cubic yard","yd3",["yd^3"],"volume",!1,!0,.764554857984],["cup","cup",null,"volume",!1,!0,.0002365882365],["dalton","Da",["u"],"mass",!1,!1,166053886282828e-41],["day","d",["day"],"time",!1,!0,86400],["degree","\xB0",null,"angle",!1,!1,.0174532925199433],["degrees Rankine","Rank",null,"temperature",!1,!0,.555555555555556],["dyne","dyn",["dy"],"force",!1,!0,1e-5],["electronvolt","eV",["ev"],"energy",!1,!0,1.60217656514141],["ell","ell",null,"length",!1,!0,1.143],["erg","erg",["e"],"energy",!1,!0,1e-7],["farad","F",null,"electric_capacitance",!0,!1,1],["fluid ounce","oz",null,"volume",!1,!0,295735295625e-16],["foot","ft",null,"length",!1,!0,.3048],["foot-pound","flb",null,"energy",!1,!0,1.3558179483314],["gal","Gal",null,"acceleration",!1,!1,.01],["gallon","gal",null,"volume",!1,!0,.003785411784],["gauss","G",["ga"],"magnetic_flux_density",!1,!0,1],["grain","grain",null,"mass",!1,!0,647989e-10],["gram","g",null,"mass",!1,!0,.001],["gray","Gy",null,"absorbed_dose",!0,!1,1],["gross registered ton","GRT",["regton"],"volume",!1,!0,2.8316846592],["hectare","ha",null,"area",!1,!0,1e4],["henry","H",null,"inductance",!0,!1,1],["hertz","Hz",null,"frequency",!0,!1,1],["horsepower","HP",["h"],"power",!1,!0,745.69987158227],["horsepower-hour","HPh",["hh","hph"],"energy",!1,!0,2684519538e-3],["hour","h",["hr"],"time",!1,!0,3600],["imperial gallon (U.K.)","uk_gal",null,"volume",!1,!0,.00454609],["imperial hundredweight","lcwt",["uk_cwt","hweight"],"mass",!1,!0,50.802345],["imperial quart (U.K)","uk_qt",null,"volume",!1,!0,.0011365225],["imperial ton","brton",["uk_ton","LTON"],"mass",!1,!0,1016.046909],["inch","in",null,"length",!1,!0,.0254],["international acre","uk_acre",null,"area",!1,!0,4046.8564224],["IT calorie","cal",null,"energy",!1,!0,4.1868],["joule","J",null,"energy",!0,!0,1],["katal","kat",null,"catalytic_activity",!0,!1,1],["kelvin","K",["kel"],"temperature",!0,!0,1],["kilogram","kg",null,"mass",!0,!0,1],["knot","kn",null,"speed",!1,!0,.514444444444444],["light-year","ly",null,"length",!1,!0,9460730472580800],["litre","L",["l","lt"],"volume",!1,!0,.001],["lumen","lm",null,"luminous_flux",!0,!1,1],["lux","lx",null,"illuminance",!0,!1,1],["maxwell","Mx",null,"magnetic_flux",!1,!1,1e-18],["measurement ton","MTON",null,"volume",!1,!0,1.13267386368],["meter per hour","m/h",["m/hr"],"speed",!1,!0,.00027777777777778],["meter per second","m/s",["m/sec"],"speed",!0,!0,1],["meter per second squared","m?s??",null,"acceleration",!0,!1,1],["parsec","pc",["parsec"],"length",!1,!0,30856775814671900],["meter squared per second","m?/s",null,"kinematic_viscosity",!0,!1,1],["metre","m",null,"length",!0,!0,1],["miles per hour","mph",null,"speed",!1,!0,.44704],["millimetre of mercury","mmHg",null,"pressure",!1,!1,133.322],["minute","?",null,"angle",!1,!1,.000290888208665722],["minute","min",["mn"],"time",!1,!0,60],["modern teaspoon","tspm",null,"volume",!1,!0,5e-6],["mole","mol",null,"amount_of_substance",!0,!1,1],["morgen","Morgen",null,"area",!1,!0,2500],["n.u. of action","?",null,"action",!1,!1,105457168181818e-48],["n.u. of mass","m?",null,"mass",!1,!1,910938261616162e-45],["n.u. of speed","c?",null,"speed",!1,!1,299792458],["n.u. of time","?/(me?c??)",null,"time",!1,!1,128808866778687e-35],["nautical mile","M",["Nmi"],"length",!1,!0,1852],["newton","N",null,"force",!0,!0,1],["\u0153rsted","Oe ",null,"magnetic_field_intensity",!1,!1,79.5774715459477],["ohm","\u03A9",null,"electric_resistance",!0,!1,1],["ounce mass","ozm",null,"mass",!1,!0,.028349523125],["pascal","Pa",null,"pressure",!0,!1,1],["pascal second","Pa?s",null,"dynamic_viscosity",!0,!1,1],["pferdest\xE4rke","PS",null,"power",!1,!0,735.49875],["phot","ph",null,"illuminance",!1,!1,1e-4],["pica (1/6 inch)","pica",null,"length",!1,!0,.00035277777777778],["pica (1/72 inch)","Pica",["Picapt"],"length",!1,!0,.00423333333333333],["poise","P",null,"dynamic_viscosity",!1,!1,.1],["pond","pond",null,"force",!1,!0,.00980665],["pound force","lbf",null,"force",!1,!0,4.4482216152605],["pound mass","lbm",null,"mass",!1,!0,.45359237],["quart","qt",null,"volume",!1,!0,.000946352946],["radian","rad",null,"angle",!0,!1,1],["second","?",null,"angle",!1,!1,484813681109536e-20],["second","s",["sec"],"time",!0,!0,1],["short hundredweight","cwt",["shweight"],"mass",!1,!0,45.359237],["siemens","S",null,"electrical_conductance",!0,!1,1],["sievert","Sv",null,"equivalent_dose",!0,!1,1],["slug","sg",null,"mass",!1,!0,14.59390294],["square \xE5ngstr\xF6m","ang2",["ang^2"],"area",!1,!0,1e-20],["square foot","ft2",["ft^2"],"area",!1,!0,.09290304],["square inch","in2",["in^2"],"area",!1,!0,64516e-8],["square light-year","ly2",["ly^2"],"area",!1,!0,895054210748189e17],["square meter","m?",null,"area",!0,!0,1],["square mile","mi2",["mi^2"],"area",!1,!0,2589988110336e-6],["square nautical mile","Nmi2",["Nmi^2"],"area",!1,!0,3429904],["square Pica","Pica2",["Picapt2","Pica^2","Picapt^2"],"area",!1,!0,1792111111111e-17],["square yard","yd2",["yd^2"],"area",!1,!0,.83612736],["statute mile","mi",null,"length",!1,!0,1609.344],["steradian","sr",null,"solid_angle",!0,!1,1],["stilb","sb",null,"luminance",!1,!1,1e-4],["stokes","St",null,"kinematic_viscosity",!1,!1,1e-4],["stone","stone",null,"mass",!1,!0,6.35029318],["tablespoon","tbs",null,"volume",!1,!0,147868e-10],["teaspoon","tsp",null,"volume",!1,!0,492892e-11],["tesla","T",null,"magnetic_flux_density",!0,!0,1],["thermodynamic calorie","c",null,"energy",!1,!0,4.184],["ton","ton",null,"mass",!1,!0,907.18474],["tonne","t",null,"mass",!1,!1,1e3],["U.K. pint","uk_pt",null,"volume",!1,!0,.00056826125],["U.S. bushel","bushel",null,"volume",!1,!0,.03523907],["U.S. oil barrel","barrel",null,"volume",!1,!0,.158987295],["U.S. pint","pt",["us_pt"],"volume",!1,!0,.000473176473],["U.S. survey mile","survey_mi",null,"length",!1,!0,1609.347219],["U.S. survey/statute acre","us_acre",null,"area",!1,!0,4046.87261],["volt","V",null,"voltage",!0,!1,1],["watt","W",null,"power",!0,!0,1],["watt-hour","Wh",["wh"],"energy",!1,!0,3600],["weber","Wb",null,"magnetic_flux",!0,!1,1],["yard","yd",null,"length",!1,!0,.9144],["year","yr",null,"time",!1,!0,31557600]],s={Yi:["yobi",80,12089258196146292e8,"Yi","yotta"],Zi:["zebi",70,11805916207174113e5,"Zi","zetta"],Ei:["exbi",60,1152921504606847e3,"Ei","exa"],Pi:["pebi",50,1125899906842624,"Pi","peta"],Ti:["tebi",40,1099511627776,"Ti","tera"],Gi:["gibi",30,1073741824,"Gi","giga"],Mi:["mebi",20,1048576,"Mi","mega"],ki:["kibi",10,1024,"ki","kilo"]},u={Y:["yotta",1e24,"Y"],Z:["zetta",1e21,"Z"],E:["exa",1e18,"E"],P:["peta",1e15,"P"],T:["tera",1e12,"T"],G:["giga",1e9,"G"],M:["mega",1e6,"M"],k:["kilo",1e3,"k"],h:["hecto",100,"h"],e:["dekao",10,"e"],d:["deci",.1,"d"],c:["centi",.01,"c"],m:["milli",.001,"m"],u:["micro",1e-6,"u"],n:["nano",1e-9,"n"],p:["pico",1e-12,"p"],f:["femto",1e-15,"f"],a:["atto",1e-18,"a"],z:["zepto",1e-21,"z"],y:["yocto",1e-24,"y"]},d=null,f=null,m=l,g=a,y=1,v=1,k,e=0;e<o.length;e++)k=o[e][2]===null?[]:o[e][2],(o[e][1]===m||k.indexOf(m)>=0)&&(d=o[e]),(o[e][1]===g||k.indexOf(g)>=0)&&(f=o[e]);if(d===null){var b=s[l.substring(0,2)],w=u[l.substring(0,1)];l.substring(0,2)==="da"&&(w=["dekao",10,"da"]),b?(y=b[2],m=l.substring(2)):w&&(y=w[1],m=l.substring(w[2].length));for(var x=0;x<o.length;x++)k=o[x][2]===null?[]:o[x][2],(o[x][1]===m||k.indexOf(m)>=0)&&(d=o[x])}if(f===null){var C=s[a.substring(0,2)],S=u[a.substring(0,1)];a.substring(0,2)==="da"&&(S=["dekao",10,"da"]),C?(v=C[2],g=a.substring(2)):S&&(v=S[1],g=a.substring(S[2].length));for(var _=0;_<o.length;_++)k=o[_][2]===null?[]:o[_][2],(o[_][1]===g||k.indexOf(g)>=0)&&(f=o[_])}return d===null||f===null?p.error.na:d[3]!==f[3]?p.error.na:t*d[6]*y/(f[6]*v)}catch(A){var T=A;return T=p.errorInfo(T),[p.error.v,T]}},SUMX2MY2:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=l.concat(D.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(D.getCellDataArr(t,"text",!1)):l.push(t);var a=arguments[1],o=[];if(P(a)=="array"){if(P(a[0])=="array"&&!D.isDyadicArr(a))return p.error.v;o=o.concat(D.getDataArr(a,!1))}else P(a)=="object"&&a.startCell!=null?o=o.concat(D.getCellDataArr(a,"text",!1)):o.push(a);if(l.length!=o.length)return p.error.na;for(var s=[],u=[],e=0;e<l.length;e++){var d=l[e],f=o[e];B(d)&&B(f)&&(s.push(parseFloat(d)),u.push(parseFloat(f)))}for(var m=0,e=0;e<s.length;e++)m+=Math.pow(s[e],2)-Math.pow(u[e],2);return m}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},SUMX2PY2:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=l.concat(D.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(D.getCellDataArr(t,"text",!1)):l.push(t);var a=arguments[1],o=[];if(P(a)=="array"){if(P(a[0])=="array"&&!D.isDyadicArr(a))return p.error.v;o=o.concat(D.getDataArr(a,!1))}else P(a)=="object"&&a.startCell!=null?o=o.concat(D.getCellDataArr(a,"text",!1)):o.push(a);if(l.length!=o.length)return p.error.na;for(var s=[],u=[],e=0;e<l.length;e++){var d=l[e],f=o[e];B(d)&&B(f)&&(s.push(parseFloat(d)),u.push(parseFloat(f)))}for(var m=0,e=0;e<s.length;e++)m+=Math.pow(s[e],2)+Math.pow(u[e],2);return m}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},SUMXMY2:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=l.concat(D.getDataArr(t,!1))}else P(t)=="object"&&t.startCell!=null?l=l.concat(D.getCellDataArr(t,"text",!1)):l.push(t);var a=arguments[1],o=[];if(P(a)=="array"){if(P(a[0])=="array"&&!D.isDyadicArr(a))return p.error.v;o=o.concat(D.getDataArr(a,!1))}else P(a)=="object"&&a.startCell!=null?o=o.concat(D.getCellDataArr(a,"text",!1)):o.push(a);if(l.length!=o.length)return p.error.na;for(var s=[],u=[],e=0;e<l.length;e++){var d=l[e],f=o[e];B(d)&&B(f)&&(s.push(parseFloat(d)),u.push(parseFloat(f)))}for(var m=0,e=0;e<s.length;e++)m+=Math.pow(s[e]-u[e],2);return m}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},TRANSPOSE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=D.getDataDyadicArr(t)}else P(t)=="object"&&t.startCell!=null&&(l=D.getCellDataDyadicArr(t,"number"));return l=l[0].map(function(o,s){return l.map(function(u){return u[s]})}),l}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},TREND:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{let R=function(I,F){for(var z=0,M=0,N=0,E=0,L=0;L<I.length;L++)for(var O=0;O<I[L].length;O++)z+=I[L][O],M+=F[L][O],N+=I[L][O]*F[L][O],E+=I[L][O]*I[L][O];var V=I.length*I[0].length,q=z/V,W=M/V,Y=N/V,ee=E/V,te=(Y-q*W)/(ee-q*q),oe=W-te*q;return[te,oe]};var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=D.getDataDyadicArr(t)}else if(P(t)=="object"&&t.startCell!=null)l=D.getCellDataDyadicArr(t,"text");else{if(!B(t))return p.error.v;var a=[];a.push(parseFloat(t)),l.push(a)}for(var o=l.length,s=l[0].length,e=0;e<o;e++)for(var u=0;u<s;u++){if(!B(l[e][u]))return p.error.v;l[e][u]=parseFloat(l[e][u])}for(var d=[],e=1;e<=o;e++)for(var u=1;u<=s;u++){var f=(e-1)*s+u;d.push(f)}if(arguments.length>=2){var m=arguments[1];if(d=[],P(m)=="array"){if(P(m[0])=="array"&&!D.isDyadicArr(m))return p.error.v;d=D.getDataDyadicArr(m)}else if(P(m)=="object"&&m.startCell!=null)d=D.getCellDataDyadicArr(m,"text");else{if(!B(m))return p.error.v;var a=[];a.push(parseFloat(m)),d.push(a)}for(var e=0;e<d.length;e++)for(var u=0;u<d[0].length;u++){if(!B(d[e][u]))return p.error.v;d[e][u]=parseFloat(d[e][u])}}var g=d.length,y=d[0].length,v=d;if(arguments.length>=3){var k=arguments[2];if(v=[],P(k)=="array"){if(P(k[0])=="array"&&!D.isDyadicArr(k))return p.error.v;v=D.getDataDyadicArr(k)}else if(P(k)=="object"&&k.startCell!=null)v=D.getCellDataDyadicArr(k,"text");else{if(!B(k))return p.error.v;var a=[];a.push(parseFloat(k)),v.push(a)}for(var e=0;e<v.length;e++)for(var u=0;u<v[0].length;u++){if(!B(v[e][u]))return p.error.v;v[e][u]=parseFloat(v[e][u])}}var b=!0;if(arguments.length==4&&(b=D.getCellBoolen(arguments[3]),H(b)))return b;if(o!=g||s!=y)return p.error.r;var w=R(d,l),x=w[0];if(b)var C=w[1];else var C=0;for(var S=[],e=0;e<v.length;e++)for(var u=0;u<v[e].length;u++){var _=v[e][u],T=x*_+C;S.push(Math.round(T*1e9)/1e9)}return S}catch(R){var A=R;return A=p.errorInfo(A),[p.error.v,A]}},FREQUENCY:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=l.concat(D.getDataArr(t,!0))}else if(P(t)=="object"&&t.startCell!=null)l=l.concat(D.getCellDataArr(t,"number",!0));else{if(!B(t))return p.error.v;l.push(t)}for(var a=[],e=0;e<l.length;e++)B(l[e])&&a.push(parseFloat(l[e]));var o=arguments[1],s=[];if(P(o)=="array"){if(P(o[0])=="array"&&!D.isDyadicArr(o))return p.error.v;s=s.concat(D.getDataArr(o,!0))}else if(P(o)=="object"&&o.startCell!=null)s=s.concat(D.getCellDataArr(o,"number",!0));else{if(!B(o))return p.error.v;s.push(o)}for(var u=[],e=0;e<s.length;e++)B(s[e])&&u.push(parseFloat(s[e]));if(a.length==0&&u.length==0)return[[0],[0]];if(a.length==0){for(var d=[[0]],e=0;e<u.length;e++)d.push([0]);return d}else{if(u.length==0)return[[0],[a.length]];u.sort(function(b,w){return b-w});for(var d=[],e=0;e<u.length;e++)if(e==0){for(var f=0,m=0;m<a.length;m++)a[m]<=u[0]&&f++;d.push([f])}else if(e==u.length-1){for(var g=0,y=0,m=0;m<a.length;m++)a[m]<=u[e]&&a[m]>u[e-1]&&g++,a[m]>u[e]&&y++;d.push([g]),d.push([y])}else{for(var f=0,m=0;m<a.length;m++)a[m]<=u[e]&&a[m]>u[e-1]&&f++;d.push([f])}return d}}catch(k){var v=k;return v=p.errorInfo(v),[p.error.v,v]}},GROWTH:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{let R=function(I,F){for(var z=0,M=0,N=0,E=0,L=0;L<I.length;L++)for(var O=0;O<I[L].length;O++)z+=I[L][O],M+=Math.log(F[L][O]),N+=I[L][O]*Math.log(F[L][O]),E+=I[L][O]*I[L][O];var V=I.length*I[0].length,q=z/V,W=M/V,Y=N/V,ee=E/V,te=(Y-q*W)/(ee-q*q),oe=W-te*q;return[Math.exp(te),Math.exp(oe)]};var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=D.getDataDyadicArr(t)}else if(P(t)=="object"&&t.startCell!=null)l=D.getCellDataDyadicArr(t,"text");else{if(!B(t))return p.error.v;var a=[];a.push(parseFloat(t)),l.push(a)}for(var o=l.length,s=l[0].length,e=0;e<o;e++)for(var u=0;u<s;u++){if(!B(l[e][u]))return p.error.v;l[e][u]=parseFloat(l[e][u])}for(var d=[],e=1;e<=o;e++)for(var u=1;u<=s;u++){var f=(e-1)*s+u;d.push(f)}if(arguments.length>=2){var m=arguments[1];if(d=[],P(m)=="array"){if(P(m[0])=="array"&&!D.isDyadicArr(m))return p.error.v;d=D.getDataDyadicArr(m)}else if(P(m)=="object"&&m.startCell!=null)d=D.getCellDataDyadicArr(m,"text");else{if(!B(m))return p.error.v;var a=[];a.push(parseFloat(m)),d.push(a)}for(var e=0;e<d.length;e++)for(var u=0;u<d[0].length;u++){if(!B(d[e][u]))return p.error.v;d[e][u]=parseFloat(d[e][u])}}var g=d.length,y=d[0].length,v=d;if(arguments.length>=3){var k=arguments[2];if(v=[],P(k)=="array"){if(P(k[0])=="array"&&!D.isDyadicArr(k))return p.error.v;v=D.getDataDyadicArr(k)}else if(P(k)=="object"&&k.startCell!=null)v=D.getCellDataDyadicArr(k,"text");else{if(!B(k))return p.error.v;var a=[];a.push(parseFloat(k)),v.push(a)}for(var e=0;e<v.length;e++)for(var u=0;u<v[0].length;u++){if(!B(v[e][u]))return p.error.v;v[e][u]=parseFloat(v[e][u])}}var b=!0;if(arguments.length==4&&(b=D.getCellBoolen(arguments[3]),H(b)))return b;if(o!=g||s!=y)return p.error.r;var w=R(d,l),x=w[0];if(b)var C=w[1];else var C=1;for(var S=[],e=0;e<v.length;e++)for(var u=0;u<v[e].length;u++){var _=v[e][u],T=C*Math.pow(x,_);S.push(Math.round(T*1e9)/1e9)}return S}catch(R){var A=R;return A=p.errorInfo(A),[p.error.v,A]}},LINEST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{return p.error.v}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},LOGEST:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{return p.error.v}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},MDETERM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{let u=function(d,f){var m,g=new Array;if(f==1)return m=d[0][0],m;if(f==2)return m=d[0][0]*d[1][1]-d[0][1]*d[1][0],m;if(f==3)return m=d[0][0]*d[1][1]*d[2][2]+d[1][0]*d[2][1]*d[0][2]+d[2][0]*d[0][1]*d[1][2]-d[2][0]*d[1][1]*d[0][2]-d[0][0]*d[2][1]*d[1][2]-d[1][0]*d[0][1]*d[2][2],m;m=0;for(var y=new Array,v=new Array,k=0;k<f;k++)g[k]=d[k][0]*Math.pow(-1,k+1+1);for(var k=0;k<f;k++){v[k]=new Array;for(var b=0;b<f-1;b++)v[k][b]=d[k][b+1]}for(var k=0;k<f;k++){for(var b=0;b<f;b++){y[b]=new Array;for(var w=0;w<f-1;w++)k>b?y[b][w]=v[b][w]:k<b&&(y[b-1][w]=v[b][w])}m+=g[k]*arguments.callee(y,f-1)}return m};var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=D.getDataDyadicArr(t)}else if(P(t)=="object"&&t.startCell!=null)l=D.getCellDataDyadicArr(t,"text");else{var a=[];a.push(t),l.push(a)}for(var e=0;e<l.length;e++)for(var o=0;o<l[e].length;o++){if(!B(l[e][o]))return p.error.v;l[e][o]=parseFloat(l[e][o])}return l.length!=l[0].length?p.error.v:u(l,l.length)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},MINVERSE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=D.getDataDyadicArr(t)}else if(P(t)=="object"&&t.startCell!=null)l=D.getCellDataDyadicArr(t,"text");else{var a=[];a.push(t),l.push(a)}for(var e=0;e<l.length;e++)for(var o=0;o<l[e].length;o++){if(!B(l[e][o]))return p.error.v;l[e][o]=parseFloat(l[e][o])}return l.length!=l[0].length?p.error.v:Ro(l)}catch(u){var s=u;return s=p.errorInfo(s),[p.error.v,s]}},MMULT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=D.getDataDyadicArr(t)}else if(P(t)=="object"&&t.startCell!=null)l=D.getCellDataDyadicArr(t,"text");else{var a=[];a.push(t),l.push(a)}for(var e=0;e<l.length;e++)for(var o=0;o<l[e].length;o++){if(!B(l[e][o]))return p.error.v;l[e][o]=parseFloat(l[e][o])}var s=arguments[1],u=[];if(P(s)=="array"){if(P(s[0])=="array"&&!D.isDyadicArr(s))return p.error.v;u=D.getDataDyadicArr(s)}else if(P(s)=="object"&&s.startCell!=null)u=D.getCellDataDyadicArr(s,"text");else{var a=[];a.push(s),u.push(a)}for(var e=0;e<u.length;e++)for(var o=0;o<u[e].length;o++){if(!B(u[e][o]))return p.error.v;u[e][o]=parseFloat(u[e][o])}if(l[0].length!=u.length)return p.error.v;for(var d=l.length,f=u[0].length,m=[],g=0;g<d;g++){for(var a=[],y=0;y<f;y++){for(var v=0,n=0;n<l[0].length;n++)v+=l[g][n]*u[n][y];a.push(v)}m.push(a)}return m}catch(b){var k=b;return k=p.errorInfo(k),[p.error.v,k]}},SUMPRODUCT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=D.getDataDyadicArr(t)}else if(P(t)=="object"&&t.startCell!=null)l=D.getCellDataDyadicArr(t,"text");else{var a=[];a.push(t),l.push(a)}for(var e=0;e<l.length;e++)for(var o=0;o<l[e].length;o++)B(l[e][o])?l[e][o]=parseFloat(l[e][o]):l[e][o]=0;var s=l.length,u=l[0].length;if(arguments.length>=2)for(var e=1;e<arguments.length;e++){var d=arguments[e],f=[];if(P(d)=="array"){if(P(d[0])=="array"&&!D.isDyadicArr(d))return p.error.v;f=D.getDataDyadicArr(d)}else if(P(d)=="object"&&d.startCell!=null)f=D.getCellDataDyadicArr(d,"text");else{var a=[];a.push(d),f.push(a)}if(f.length!=s||f[0].length!=u)return p.error.v;for(var m=0;m<s;m++)for(var g=0;g<u;g++)B(f[m][g])?l[m][g]=l[m][g]*parseFloat(f[m][g]):l[m][g]=0}for(var y=0,m=0;m<s;m++)for(var g=0;g<u;g++)y+=l[m][g];return y}catch(k){var v=k;return v=p.errorInfo(v),[p.error.v,v]}},ISFORMULA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l;return P(t)=="object"&&t.startCell!=null?t.data==null?!1:(P(t.data)=="array"?l=t.data[0][0]:l=t.data,l!=null&&l.f!=null):p.error.v}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},CELL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!D.isDyadicArr(t))return p.error.v;l=t[0][0]}else l=t[0];else if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;if(P(t.data)=="array")return p.error.v;if(l=t.data.v,fe(l))return p.error.v}else l=t;var a=arguments[1],o;if(P(a)=="object"&&a.startCell!=null)o=a.startCell;else return p.error.v;if(["address","col","color","contents","filename","format","parentheses","prefix","protect","row","type","width"].indexOf(l)==-1)return p.error.v;var s=Lt()[K(h.currentSheetIndex)],u=p.getcellrange(o),d=u.row[0],f=u.column[0];let y=Lt(),v=K(h.calculateSheetIndex),k=y[v].data,b;switch(p.execFunctionGlobalData!=null&&p.execFunctionGlobalData[d+"_"+f+"_"+h.calculateSheetIndex]!=null?b=p.execFunctionGlobalData[d+"_"+f+"_"+h.calculateSheetIndex].v:k[d][f]!=null&&k[d][f].v!=null&&k[d][f].v!=""?(b=k[d][f],b instanceof Object&&(b=b.v)):b=0,l){case"address":return o;case"col":return f+1;case"color":return 0;case"contents":return b;case"filename":return s.name;case"format":return k[d][f]==null||k[d][f].ct==null?"G":k[d][f].ct.fa;case"parentheses":return k[d][f]==null||k[d][f].v==null||k[d][f].v==""?0:k[d][f].v>0?1:0;case"prefix":return b==0?"":k[d][f].ht==0?"^":k[d][f].ht==1?"'":k[d][f].ht==2?'"':"";case"protect":return 0;case"row":return d+1;case"type":return b==0?"b":"l";case"width":var m=s.config;return m.columnlen!=null&&f in m.columnlen?m.columnlen[f]:h.defaultcollen}}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},NA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{return p.error.na}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},ERROR_TYPE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!D.isDyadicArr(t))return p.error.v;l=t[0][0]}else l=t[0];else if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.na;if(P(t.data)=="array"){if(l=t.data[0][0],l==null||fe(l.v))return p.error.na;l=l.v}else{if(fe(t.data.v))return p.error.na;l=t.data.v}}else l=t;var a={"#NULL!":1,"#DIV/0!":2,"#VALUE!":3,"#REF!":4,"#NAME?":5,"#NUM!":6,"#N/A":7,"#GETTING_DATA":8};return l in a?a[l]:p.error.na}catch(s){var o=s;return o=p.errorInfo(o),[p.error.v,o]}},ISBLANK:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l;return P(t)=="object"&&t.startCell!=null?t.data==null:!1}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},ISERR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!D.isDyadicArr(t))return p.error.v;l=t[0][0]}else l=t[0];else if(P(t)=="object"&&t.startCell!=null){if(P(t.data)=="array")return!0;if(t.data==null||fe(t.data.v))return!1;l=t.data.v}else l=t;return["#VALUE!","#REF!","#DIV/0!","#NUM!","#NAME?","#NULL!"].indexOf(l)>-1}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},ISERROR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!D.isDyadicArr(t))return p.error.v;l=t[0][0]}else l=t[0];else if(P(t)=="object"&&t.startCell!=null){if(P(t.data)=="array")return!0;if(t.data==null||fe(t.data.v))return!1;l=t.data.v}else l=t;return["#N/A","#VALUE!","#REF!","#DIV/0!","#NUM!","#NAME?","#NULL!"].indexOf(l)>-1}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},ISLOGICAL:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!D.isDyadicArr(t))return p.error.v;l=t[0][0]}else l=t[0];else if(P(t)=="object"&&t.startCell!=null){if(P(t.data)=="array"||t.data==null||fe(t.data.v))return!1;l=t.data.v}else l=t;return l.toString().toLowerCase()=="true"||l.toString().toLowerCase()=="false"}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},ISNA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!D.isDyadicArr(t))return p.error.v;l=t[0][0]}else l=t[0];else if(P(t)=="object"&&t.startCell!=null){if(P(t.data)=="array"||t.data==null||fe(t.data.v))return!1;l=t.data.v}else l=t;return l.toString()=="#N/A"}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},ISNONTEXT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!D.isDyadicArr(t))return p.error.v;l=t[0][0]}else l=t[0];else if(P(t)=="object"&&t.startCell!=null){if(P(t.data)=="array"||t.data==null||fe(t.data.v))return!0;l=t.data.v}else l=t;return["#N/A","#VALUE!","#REF!","#DIV/0!","#NUM!","#NAME?","#NULL!"].indexOf(l)>-1||l.toString().toLowerCase()=="true"||l.toString().toLowerCase()=="false"?!0:!!B(l)}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},ISNUMBER:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!D.isDyadicArr(t))return p.error.v;l=t[0][0]}else l=t[0];else if(P(t)=="object"&&t.startCell!=null){if(P(t.data)=="array"||t.data==null||fe(t.data.v))return!1;l=t.data.v}else l=t;return!!B(l)}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},ISREF:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{return P(arguments[0])=="object"&&arguments[0].startCell!=null}catch(l){var t=l;return t=p.errorInfo(t),[p.error.v,t]}},ISTEXT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!D.isDyadicArr(t))return p.error.v;l=t[0][0]}else l=t[0];else if(P(t)=="object"&&t.startCell!=null){if(P(t.data)=="array"||t.data==null||fe(t.data.v))return!1;l=t.data.v}else l=t;return["#N/A","#VALUE!","#REF!","#DIV/0!","#NUM!","#NAME?","#NULL!"].indexOf(l)>-1||l.toString().toLowerCase()=="true"||l.toString().toLowerCase()=="false"?!1:!B(l)}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},TYPE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")return 64;if(P(t)=="object"&&t.startCell!=null){if(P(t.data)=="array")return 16;if(t.data==null||fe(t.data.v))return 1;l=t.data.v}else l=t;return["#N/A","#VALUE!","#REF!","#DIV/0!","#NUM!","#NAME?","#NULL!"].indexOf(l)>-1?16:l.toString().toLowerCase()=="true"||l.toString().toLowerCase()=="false"?4:B(l)?1:2}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},N:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l;if(P(t)=="array")if(P(t[0])=="array"){if(!D.isDyadicArr(t))return p.error.v;l=t[0][0]}else l=t[0];else if(P(t)=="object"&&t.startCell!=null)if(P(t.data)=="array"){if(l=t.data[0][0],l==null||fe(l.v))return 0;l=l.v}else{if(t.data==null||fe(t.data.v))return 0;l=t.data.v}else l=t;return["#N/A","#VALUE!","#REF!","#DIV/0!","#NUM!","#NAME?","#NULL!"].indexOf(l)>-1?l:l.toString().toLowerCase()=="true"||l.toString().toLowerCase()=="false"?l.toString().toLowerCase()=="true"?1:0:B(l)?parseFloat(l):0}catch(o){var a=o;return a=p.errorInfo(a),[p.error.v,a]}},TO_DATE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),_t("yyyy-mm-dd",t)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},TO_PURE_NUMBER:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");return H(t)?t:(0,j.default)(t).isValid()?it(t)[2]:(0,Yi.default)(t).value()==null?t:(0,Yi.default)(t).value()}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},TO_TEXT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0],"text");return H(t)?t:_t("@",t)}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},TO_DOLLARS:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),_t("$ 0.00",t)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},TO_PERCENT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);return H(t)?t:B(t)?(t=parseFloat(t),_t("0%",t)):p.error.v}catch(a){var l=a;return l=p.errorInfo(l),[p.error.v,l]}},DGET:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=D.getCellDataDyadicArr(t,"text")}else return p.error.v;var a=D.getFirstValue(arguments[1],"text");if(H(a))return a;if(fe(a))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=D.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!B(a)&&P(a)!=="string")return p.error.v;var u=D.findResultIndex(l,s),d=[];if(P(a)==="string"){var f=D.findField(l,a);d=D.rest(l[f])}else d=D.rest(l[a]);return u.length===0?p.error.v:u.length>1?p.error.nm:d[u[0]]}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},DMAX:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=D.getCellDataDyadicArr(t,"text")}else return p.error.v;var a=D.getFirstValue(arguments[1],"text");if(H(a))return a;if(fe(a))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=D.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!B(a)&&P(a)!=="string")return p.error.v;var u=D.findResultIndex(l,s),d=[];if(P(a)==="string"){var f=D.findField(l,a);d=D.rest(l[f])}else d=D.rest(l[a]);for(var m=d[u[0]],e=1;e<u.length;e++)m<d[u[e]]&&(m=d[u[e]]);return m}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},DMIN:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=D.getCellDataDyadicArr(t,"text")}else return p.error.v;var a=D.getFirstValue(arguments[1],"text");if(H(a))return a;if(fe(a))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=D.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!B(a)&&P(a)!=="string")return p.error.v;var u=findResultIndex(l,s),d=[];if(P(a)==="string"){var f=findField(l,a);d=rest(l[f])}else d=rest(l[a]);for(var m=d[u[0]],e=1;e<u.length;e++)m>d[u[e]]&&(m=d[u[e]]);return m}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},DAVERAGE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=D.getCellDataDyadicArr(t,"text")}else return p.error.v;var a=D.getFirstValue(arguments[1],"text");if(H(a))return a;if(fe(a))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=D.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!B(a)&&P(a)!=="string")return p.error.v;var u=D.findResultIndex(l,s),d=[];if(P(a)==="string"){var f=D.findField(l,a);d=D.rest(l[f])}else d=D.rest(l[a]);for(var m=0,e=0;e<u.length;e++)m+=d[u[e]];return u.length===0?p.error.d:m/u.length}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},DCOUNT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=D.getCellDataDyadicArr(t,"text")}else return p.error.v;var a=D.getFirstValue(arguments[1],"text");if(H(a))return a;if(fe(a))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=D.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!B(a)&&P(a)!=="string")return p.error.v;var u=D.findResultIndex(l,s),d=[];if(P(a)==="string"){var f=D.findField(l,a);d=D.rest(l[f])}else d=D.rest(l[a]);for(var m=[],e=0;e<u.length;e++)m[e]=d[u[e]];return window.luckysheet_function.COUNT.f.apply(window.luckysheet_function.COUNT,m)}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},DCOUNTA:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=D.getCellDataDyadicArr(t,"text")}else return p.error.v;var a=D.getFirstValue(arguments[1],"text");if(H(a))return a;if(fe(a))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=D.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!B(a)&&P(a)!=="string")return p.error.v;var u=D.findResultIndex(l,s),d=[];if(P(a)==="string"){var f=D.findField(l,a);d=D.rest(l[f])}else d=D.rest(l[a]);for(var m=[],e=0;e<u.length;e++)m[e]=d[u[e]];return window.luckysheet_function.COUNTA.f.apply(window.luckysheet_function.COUNTA,m)}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},DPRODUCT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=D.getCellDataDyadicArr(t,"text")}else return p.error.v;var a=D.getFirstValue(arguments[1],"text");if(H(a))return a;if(fe(a))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=D.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!B(a)&&P(a)!=="string")return p.error.v;var u=D.findResultIndex(l,s),d=[];if(P(a)==="string"){var f=D.findField(l,a);d=D.rest(l[f])}else d=D.rest(l[a]);for(var m=[],e=0;e<u.length;e++)m[e]=d[u[e]];m=D.compact(m);var g=1;for(e=0;e<m.length;e++)g*=m[e];return g}catch(v){var y=v;return y=p.errorInfo(y),[p.error.v,y]}},DSTDEV:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=D.getCellDataDyadicArr(t,"text")}else return p.error.v;var a=D.getFirstValue(arguments[1],"text");if(H(a))return a;if(fe(a))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=D.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!B(a)&&P(a)!=="string")return p.error.v;var u=D.findResultIndex(l,s),d=[];if(P(a)==="string"){var f=D.findField(l,a);d=D.rest(l[f])}else d=D.rest(l[a]);for(var m=[],e=0;e<u.length;e++)m[e]=d[u[e]];return m=D.compact(m),window.luckysheet_function.STDEVA.f.apply(window.luckysheet_function.STDEVA,m)}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},DSTDEVP:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=D.getCellDataDyadicArr(t,"text")}else return p.error.v;var a=D.getFirstValue(arguments[1],"text");if(H(a))return a;if(fe(a))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=D.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!B(a)&&P(a)!=="string")return p.error.v;var u=D.findResultIndex(l,s),d=[];if(P(a)==="string"){var f=D.findField(l,a);d=D.rest(l[f])}else d=D.rest(l[a]);for(var m=[],e=0;e<u.length;e++)m[e]=d[u[e]];return m=D.compact(m),window.luckysheet_function.STDEVP.f.apply(window.luckysheet_function.STDEVP,m)}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},DSUM:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=D.getCellDataDyadicArr(t,"text")}else return p.error.v;var a=D.getFirstValue(arguments[1],"text");if(H(a))return a;if(fe(a))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=D.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!B(a)&&P(a)!=="string")return p.error.v;var u=D.findResultIndex(l,s),d=[];if(P(a)==="string"){var f=D.findField(l,a);d=D.rest(l[f])}else d=D.rest(l[a]);for(var m=[],e=0;e<u.length;e++)m[e]=d[u[e]];m=D.compact(m);var g=0;for(e=0;e<m.length;e++)g+=m[e];return g}catch(v){var y=v;return y=p.errorInfo(y),[p.error.v,y]}},DVAR:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=D.getCellDataDyadicArr(t,"text")}else return p.error.v;var a=D.getFirstValue(arguments[1],"text");if(H(a))return a;if(fe(a))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=D.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!B(a)&&P(a)!=="string")return p.error.v;var u=D.findResultIndex(l,s),d=[];if(P(a)==="string"){var f=D.findField(l,a);d=D.rest(l[f])}else d=D.rest(l[a]);for(var m=[],e=0;e<u.length;e++)m[e]=d[u[e]];return m=D.compact(m),window.luckysheet_function.VAR_S.f.apply(window.luckysheet_function.VAR_S,m)}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},DVARP:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="object"&&t.startCell!=null){if(t.data==null)return p.error.v;l=D.getCellDataDyadicArr(t,"text")}else return p.error.v;var a=D.getFirstValue(arguments[1],"text");if(H(a))return a;if(fe(a))return p.error.v;var o=arguments[2],s=[];if(P(o)=="object"&&o.startCell!=null){if(o.data==null)return p.error.v;s=D.getCellDataDyadicArr(o,"text")}else return p.error.v;if(!B(a)&&P(a)!=="string")return p.error.v;var u=D.findResultIndex(l,s),d=[];if(P(a)==="string"){var f=D.findField(l,a);d=D.rest(l[f])}else d=D.rest(l[a]);for(var m=[],e=0;e<u.length;e++)m[e]=d[u[e]];return m=D.compact(m),window.luckysheet_function.VAR_P.f.apply(window.luckysheet_function.VAR_P,m)}catch(y){var g=y;return g=p.errorInfo(g),[p.error.v,g]}},LINESPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction,o=p.colorList,s=arguments[0],u=arguments[1],d=arguments[2],f=arguments[3],m=arguments[4],g=arguments[5],y=arguments[6],v=arguments[7];let R=Lt(),I=K(h.calculateSheetIndex),F=R[I].data;var k=p.readCellDataToOneArray(s),b=be.getCellRealSize(F,t,l),w=b[0],x=b[1],C={};d==null&&(d=1),C.lineWidth=d,C.offsetY=d+1,C.height=x-(d+1),C.width=w;var S=function(z,M){M&&(typeof M=="number"&&(M>19&&(M=M%20),M=o[M]),C[z]=M)};if(u==null&&(u="#2ec7c9"),S("lineColor",u),C.fillColor=0,f)if(typeof f=="string"){f=f.toLowerCase();var _=null;f=="min"?_=window.luckysheet_function.MIN.f({data:k}):f=="max"?_=window.luckysheet_function.MAX.f({data:k}):f=="avg"||f=="mean"?_=window.luckysheet_function.AVERAGE.f({data:k}):f=="median"&&(_=window.luckysheet_function.MEDIAN.f({data:k})),_&&(C.normalRangeMin=_,C.normalRangeMax=_)}else C.normalRangeMin=f,C.normalRangeMax=f;m==null&&(m="#000"),S("normalRangeColor",m),S("maxSpotColor",g),S("minSpotColor",y),v==null&&(v="1.5"),C.spotRadius=v;var T=Jl.init(k,C);return T}catch(R){var A=R;return A=p.errorInfo(A),[p.error.v,A]}},AREASPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction,o=p.colorList,s=arguments[0],u=arguments[1],d=arguments[2],f=arguments[3],m=arguments[4],g=arguments[5],y=p.readCellDataToOneArray(s);let T=Lt(),A=K(h.calculateSheetIndex),R=T[A].data;var v=be.getCellRealSize(R,t,l),k=v[0],b=v[1],w={};f==null&&(f=1),w.lineWidth=f,w.offsetY=f+1,w.height=b-(f+1),w.width=k;var x=function(I,F){F&&(typeof F=="number"&&(F>19&&(F=F%20),F=o[F]),w[I]=F)};if(u==null&&(u="#2ec7c9"),x("lineColor",u),x("fillColor",d),f==null&&(f="1"),w.lineWidth=f,m)if(typeof m=="string"){m=m.toLowerCase();var C=null;m=="min"?C=window.luckysheet_function.MIN.f({data:y}):m=="max"?C=window.luckysheet_function.MAX.f({data:y}):m=="avg"||m=="mean"?C=window.luckysheet_function.AVERAGE.f({data:y}):m=="median"&&(C=window.luckysheet_function.MEDIAN.f({data:y})),C&&(w.normalRangeMin=C,w.normalRangeMax=C)}else w.normalRangeMin=m,w.normalRangeMax=m;g==null&&(g="#000"),x("normalRangeColor",g);var S=Jl.init(y,w);return S}catch(T){var _=T;return _=p.errorInfo(_),[p.error.v,_]}},COLUMNSPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction,o=p.colorList,s=arguments[0],u=p.readCellDataToOneArray(s);let _=Lt(),T=K(h.calculateSheetIndex),A=_[T].data;var d=be.getCellRealSize(A,t,l),f=d[0],m=d[1],g={};g.height=m,g.width=f;var y=function(R,I){I&&(typeof I=="number"&&(I>19&&(I=I%20),I=o[I]),g[R]=I)},v=arguments[1],k=arguments[2],b=arguments[3],w=arguments[4];g.type="column",v==null&&(v="1"),g.barSpacing=v,k==null&&(k="#fc5c5c"),y("barColor",k),b==null&&(b="#97b552"),y("negBarColor",b),w==null||w===!1||typeof w!="number"?g.chartRangeMax=void 0:g.chartRangeMax=w;var x=p.sparklinesColorMap(arguments);x&&(g.colorMap=x);var C=Jl.init(u,g);return C}catch(_){var S=_;return S=p.errorInfo(S),[p.error.v,S]}},STACKCOLUMNSPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction,o=p.colorList,s=arguments[0],u=[],d=[];if(s!=null&&s.data!=null&&(d=s.data),P(d)=="array")d=p.getPureValueByData(d);else{if(P(d)=="object")return d=d.v,[d];/\{.*?\}/.test(d)&&(d=d.replace(/\{/g,"[").replace(/\}/g,"]")),d=new Function("return "+d)()}var f=arguments[1],m=d.length;if(f==null||!!f)for(var g=0;g<d[0].length;g++){for(var y="",v=0;v<d.length;v++)y+=d[v][g]+":";y=y.substr(0,y.length-1),u.push(y)}else{for(var v=0;v<d.length;v++){for(var k="",g=0;g<d[0].length;g++)k+=d[v][g]+":";k=k.substr(0,k.length-1),u.push(k)}var m=d[0].length}let F=Lt(),z=K(h.calculateSheetIndex),M=F[z].data;var b=be.getCellRealSize(M,t,l),w=b[0],x=b[1],C={};C.height=x,C.width=w;var S=function(N,E){E&&(typeof E=="number"&&(E>19&&(E=E%20),E=o[E]),C[N]=E)},_=arguments[2],T=arguments[3];C.type="column",_==null&&(_="1"),C.barSpacing=_,T==null||T===!1||typeof T!="number"?C.chartRangeMax=void 0:C.chartRangeMax=T;var A=p.sparklinesColorMap(arguments,4);A&&(C.colorMap=A);var R=Jl.init(u,C);return R}catch(F){var I=F;return I=p.errorInfo(I),[p.error.v,I]}},BARSPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction,o=p.colorList,s=arguments[0],u=p.readCellDataToOneArray(s);let _=Lt(),T=K(h.calculateSheetIndex),A=_[T].data;var d=be.getCellRealSize(A,t,l),f=d[0],m=d[1],g={};g.height=m,g.width=f;var y=function(R,I){I&&(typeof I=="number"&&(I>19&&(I=I%20),I=o[I]),g[R]=I)},v=arguments[1],k=arguments[2],b=arguments[3],w=arguments[4];g.type="bar",v==null&&(v="1"),g.barSpacing=v,k==null&&(k="#fc5c5c"),y("barColor",k),b==null&&(b="#97b552"),y("negBarColor",b),w==null||w===!1||typeof w!="number"?g.chartRangeMax=void 0:g.chartRangeMax=w;var x=p.sparklinesColorMap(arguments);x&&(g.colorMap=x);var C=Jl.init(u,g);return C}catch(_){var S=_;return S=p.errorInfo(S),[p.error.v,S]}},STACKBARSPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction,o=p.colorList,s=arguments[0],u=[],d=[];if(s!=null&&s.data!=null&&(d=s.data),P(d)=="array")d=p.getPureValueByData(d);else{if(P(d)=="object")return d=d.v,[d];/\{.*?\}/.test(d)&&(d=d.replace(/\{/g,"[").replace(/\}/g,"]")),d=new Function("return "+d)()}var f=arguments[1],m=d.length;if(f==null||!!f)for(var g=0;g<d[0].length;g++){for(var y="",v=0;v<d.length;v++)y+=d[v][g]+":";y=y.substr(0,y.length-1),u.push(y)}else{for(var v=0;v<d.length;v++){for(var k="",g=0;g<d[0].length;g++)k+=d[v][g]+":";k=k.substr(0,k.length-1),u.push(k)}var m=d[0].length}let F=Lt(),z=K(h.calculateSheetIndex),M=F[z].data;var b=be.getCellRealSize(M,t,l),w=b[0],x=b[1],C={};C.height=x,C.width=w;var S=function(N,E){E&&(typeof E=="number"&&(E>19&&(E=E%20),E=o[E]),C[N]=E)},_=arguments[2],T=arguments[3];C.type="bar",_==null&&(_="1"),C.barSpacing=_,T==null||T===!1||typeof T!="number"?C.chartRangeMax=void 0:C.chartRangeMax=T;var A=p.sparklinesColorMap(arguments,4);A&&(C.colorMap=A);var R=Jl.init(u,C);return R}catch(F){var I=F;return I=p.errorInfo(I),[p.error.v,I]}},DISCRETESPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction,o=p.colorList,s=arguments[0],u=p.readCellDataToOneArray(s);let C=Lt(),S=K(h.calculateSheetIndex),_=C[S].data;var d=be.getCellRealSize(_,t,l),f=d[0],m=d[1],g={};g.height=m,g.width=f;var y=function(T,A){A&&(typeof A=="number"&&(A>19&&(A=A%20),A=o[A]),g[T]=A)},v=arguments[1],k=arguments[2],b=arguments[3];g.type="discrete",v==null&&(v=0),g.thresholdValue=v,k==null&&(k="#2ec7c9"),y("lineColor",k),b==null&&(b="#fc5c5c"),y("thresholdColor",b);var w=Jl.init(u,g);return w}catch(C){var x=C;return x=p.errorInfo(x),[p.error.v,x]}},TRISTATESPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction,o=p.colorList,s=arguments[0],u=p.readCellDataToOneArray(s);let _=Lt(),T=K(h.calculateSheetIndex),A=_[T].data;var d=be.getCellRealSize(A,t,l),f=d[0],m=d[1],g={};g.height=m,g.width=f;var y=function(R,I){I&&(typeof I=="number"&&(I>19&&(I=I%20),I=o[I]),g[R]=I)},v=arguments[1],k=arguments[2],b=arguments[3],w=arguments[4];g.type="tristate",v==null&&(v="1"),g.barSpacing=v,k==null&&(k="#fc5c5c"),y("barColor",k),b==null&&(b="#97b552"),y("negBarColor",b),w==null&&(w="#999"),y("zeroBarColor",w);var x=p.sparklinesColorMap(arguments);x&&(g.colorMap=x);var C=Jl.init(u,g);return C}catch(_){var S=_;return S=p.errorInfo(S),[p.error.v,S]}},PIESPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction,o=p.colorList,s=arguments[0],u=p.readCellDataToOneArray(s);let S=Lt(),_=K(h.calculateSheetIndex),T=S[_].data;var d=be.getCellRealSize(T,t,l),f=d[0],m=d[1],g={};g.height=m,g.width=f;var y=function(A,R){R&&(typeof R=="number"&&(R>19&&(R=R%20),R=o[R]),g[A]=R)},v=arguments[1],k=arguments[2],b=arguments[3];g.type="pie",v==null&&(v=0),g.offset=v,k==null&&(k=0),y("borderWidth",k),b==null&&(b="#97b552"),y("borderColor",b);var w=p.sparklinesColorMap(arguments,4);w&&(g.colorMap=w);var x=Jl.init(u,g);return x}catch(S){var C=S;return C=p.errorInfo(C),[p.error.v,C]}},BOXSPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction,o=p.colorList,s=arguments[0],u=p.readCellDataToOneArray(s);let C=Lt(),S=K(h.calculateSheetIndex),_=C[S].data;var d=be.getCellRealSize(_,t,l),f=d[0],m=d[1],g={};g.height=m,g.width=f;var y=function(T,A){A&&(typeof A=="number"&&(A>19&&(A=A%20),A=o[A]),g[T]=A)},v=arguments[1],k=arguments[2],b=arguments[3];g.type="box",v==null&&(v=1.5),g.outlierIQR=v,k==null?k=0:y("target",k),b==null&&(b=1.5),y("spotRadius",b);var w=Jl.init(u,g);return w}catch(C){var x=C;return x=p.errorInfo(x),[p.error.v,x]}},BULLETSPLINES:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentFunction,o=p.colorList;let w=Lt(),x=K(h.calculateSheetIndex),C=w[x].data;var s=be.getCellRealSize(C,t,l),u=s[0],d=s[1],f={};f.height=d,f.width=u;var m=function(S,_){_&&(typeof _=="number"&&(_>19&&(_=_%20),_=o[_]),f[S]=_)},g=[];Gn(arguments);var y=p.getValueByFuncData(arguments[0]),v=p.getValueByFuncData(arguments[1]);g.push(y),g.push(v);for(var e=2;e<arguments.length;e++)g.push(p.getValueByFuncData(arguments[e]));f.type="bullet";var k=Jl.init(g,f);return k}catch(w){var b=w;return b=p.errorInfo(b),[p.error.v,b]}},SORT:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[],a=1,o=1;if(P(t)=="array")if(P(t[0])=="array"){if(!D.isDyadicArr(t))return p.error.v;for(var e=0;e<t.length;e++){for(var s=[],u=0;u<t[e].length;u++){var d=t[e][u];s.push(d)}l.push(s)}a=l.length,o=l[0].length}else{for(var e=0;e<t.length;e++){var d=t[e];l.push(d)}a=l.length}else if(P(t)=="object"&&t.startCell!=null)if(t.data!=null)if(P(t.data)=="array"){for(var e=0;e<t.data.length;e++){for(var s=[],u=0;u<t.data[e].length;u++)if(t.data[e][u]!=null){var d=t.data[e][u].v;fe(d)&&(d=0),s.push(d)}else s.push(0);l.push(s)}a=l.length,o=l[0].length}else{var d=t.data.v;fe(d)&&(d=0),l.push(d)}else l.push(0);else{var d=t;l.push(d)}var f=1;if(arguments.length>=2){if(f=D.getFirstValue(arguments[1]),H(f))return f;if(!B(f))return p.error.v;f=parseInt(f)}var m=1;if(arguments.length>=3){if(m=D.getFirstValue(arguments[2]),H(m))return m;if(!B(m))return p.error.v;m=Math.floor(parseFloat(m))}var g=!1;if(arguments.length==4&&(g=D.getCellBoolen(arguments[3]),H(g)))return g;if(g){if(f<1||f>a)return p.error.v}else if(f<1||f>o)return p.error.v;if(m!=1&&m!=-1)return p.error.v;var y=function(b,w){if(P(b)=="array"&&(b=b[f-1]),P(w)=="array"&&(w=w[f-1]),!isNaN(b)&&!isNaN(w))return b-w;if(isNaN(b))if(isNaN(w)){if(b>w)return 1;if(b<w)return-1}else return 1;else return-1},v=function(b,w){if(P(b)=="array"&&(b=b[f-1]),P(w)=="array"&&(w=w[f-1]),!isNaN(b)&&!isNaN(w))return w-b;if(isNaN(b))if(isNaN(w)){if(b>w)return-1;if(b<w)return 1}else return-1;else return 1};return g?(l=l[0].map(function(b,w){return l.map(function(x){return x[w]})}),m==1&&l.sort(y),m==-1&&l.sort(v),l=l[0].map(function(b,w){return l.map(function(x){return x[w]})})):(m==1&&l.sort(y),m==-1&&l.sort(v)),l}catch(b){var k=b;return k=p.errorInfo(k),[p.error.v,k]}},FILTER:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=D.getDataDyadicArr(t)}else if(P(t)=="object"&&t.startCell!=null)l=D.getCellDataDyadicArr(t,"number");else{var a=[];a.push(parseFloat(t)),l.push(a)}var o=l.length,s=l[0].length,u=arguments[1],d=[],f="row";if(P(u)=="array")if(P(u[0])=="array"){if(!D.isDyadicArr(u))return p.error.v;if(u.length>1&&u[0].length>1)return p.error.v;if(u.length>1){if(u.length!=l.length)return p.error.v;f="row";for(var e=0;e<u.length;e++){var m=u[e][0];if(P(m)!="boolean")if(P(m)=="string"&&(m.toLowerCase()=="true"||m.toLowerCase()=="false"))m.toLowerCase()=="true"?m=!0:m.toLowerCase()=="false"&&(m=!1);else if(B(m))m=parseFloat(m),m=m!=0;else return p.error.v;d.push(m)}}if(u[0].length>1){if(u[0].length!=l[0].length)return p.error.v;f="col";for(var e=0;e<u[0].length;e++){var m=u[0][e];if(P(m)!="boolean")if(P(m)=="string"&&(m.toLowerCase()=="true"||m.toLowerCase()=="false"))m.toLowerCase()=="true"?m=!0:m.toLowerCase()=="false"&&(m=!1);else if(B(m))m=parseFloat(m),m=m!=0;else return p.error.v;d.push(m)}}}else{if(u.length!=l[0].length)return p.error.v;f="col";for(var e=0;e<u.length;e++){var m=u[e];if(P(m)!="boolean")if(P(m)=="string"&&(m.toLowerCase()=="true"||m.toLowerCase()=="false"))m.toLowerCase()=="true"?m=!0:m.toLowerCase()=="false"&&(m=!1);else if(B(m))m=parseFloat(m),m=m!=0;else return p.error.v;d.push(m)}}else if(P(u)=="object"&&u.data!=null&&P(u.data)=="array"){if(u.data.length>1&&u.data[0].length>1)return p.error.v;if(u.data.length>1){if(u.data.length!=l.length)return p.error.v;f="row";for(var e=0;e<u.data.length;e++){var m=u.data[e][0].v;if(fe(m)&&(m=0),P(m)!="boolean")if(P(m)=="string"&&(m.toLowerCase()=="true"||m.toLowerCase()=="false"))m.toLowerCase()=="true"?m=!0:m.toLowerCase()=="false"&&(m=!1);else if(B(m))m=parseFloat(m),m=m!=0;else return p.error.v;d.push(m)}}if(u.data[0].length>1){if(u.data[0].length!=l[0].length)return p.error.v;f="col";for(var e=0;e<u.data[0].length;e++){var m=u.data[0][e].v;if(fe(m)&&(m=0),P(m)!="boolean")if(P(m)=="string"&&(m.toLowerCase()=="true"||m.toLowerCase()=="false"))m.toLowerCase()=="true"?m=!0:m.toLowerCase()=="false"&&(m=!1);else if(B(m))m=parseFloat(m),m=m!=0;else return p.error.v;d.push(m)}}}else return p.error.v;var g="";if(arguments.length==3&&(g=D.getFirstValue(arguments[2],"text"),H(g)))return g;var y=[];if(f=="row")for(var e=0;e<l.length;e++)d[e]&&y.push(l[e]);else for(var e=0;e<l.length;e++){for(var a=[],v=0;v<l[0].length;v++)d[v]&&a.push(l[e][v]);a.length>0&&y.push(a)}return y.length==0?g:y}catch(b){var k=b;return k=p.errorInfo(k),[p.error.v,k]}},UNIQUE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=arguments[0],l=[];if(P(t)=="array"){if(P(t[0])=="array"&&!D.isDyadicArr(t))return p.error.v;l=D.getDataDyadicArr(t)}else if(P(t)=="object"&&t.startCell!=null)l=D.getCellDataDyadicArr(t,"number");else{var a=[];a.push(parseFloat(t)),l.push(a)}var o=!1;if(arguments.length>=2&&(o=D.getCellBoolen(arguments[1]),H(o)))return o;var s=!1;if(arguments.length==3&&(s=D.getCellBoolen(arguments[2]),H(s)))return s;if(o){l=l[0].map(function(k,b){return l.map(function(w){return w[b]})});for(var u={},d=[],f=[],e=0;e<l.length;e++){for(var m="",g=0;g<l[e].length;g++)m+=l[e][g].toString()+"|||";d.push(m),m in u||(u[m]=0,f.push(l[e]))}if(s){for(var y=[],e=0;e<d.length;e++)d.indexOf(d[e])==d.lastIndexOf(d[e])&&y.push(l[e]);return y=y[0].map(function(k,b){return y.map(function(w){return w[b]})}),y}else return f=f[0].map(function(k,b){return f.map(function(w){return w[b]})}),f}else{for(var u={},d=[],f=[],e=0;e<l.length;e++){for(var m="",g=0;g<l[e].length;g++)m+=l[e][g].toString()+"|||";d.push(m),m in u||(u[m]=0,f.push(l[e]))}if(s){for(var y=[],e=0;e<d.length;e++)d.indexOf(d[e])==d.lastIndexOf(d[e])&&y.push(l[e]);return y}else return f}}catch(k){var v=k;return v=p.errorInfo(v),[p.error.v,v]}},RANDARRAY:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=1;if(arguments.length>=1){if(t=D.getFirstValue(arguments[0]),H(t))return t;if(!B(t))return p.error.v;t=parseInt(t)}var l=1;if(arguments.length==2){if(l=D.getFirstValue(arguments[1]),H(l))return l;if(!B(l))return p.error.v;l=parseInt(l)}if(t<=0||l<=0)return p.error.v;for(var a=[],e=0;e<t;e++){for(var o=[],s=0;s<l;s++)o.push(Math.random().toFixed(9));a.push(o)}return a}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},SEQUENCE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=D.getFirstValue(arguments[0]);if(H(t))return t;if(!B(t))return p.error.v;t=parseInt(t);var l=1;if(arguments.length>=2){if(l=D.getFirstValue(arguments[1]),H(l))return l;if(!B(l))return p.error.v;l=parseInt(l)}var a=1;if(arguments.length>=3){if(a=D.getFirstValue(arguments[2]),H(a))return a;if(!B(a))return p.error.v;a=parseFloat(a)}var o=1;if(arguments.length==4){if(o=D.getFirstValue(arguments[3]),H(o))return o;if(!B(o))return p.error.v;o=parseFloat(o)}if(t<=0||l<=0)return p.error.v;for(var s=[],e=0;e<t;e++){for(var u=[],d=0;d<l;d++){var f=a+o*(d+l*e);u.push(f)}s.push(u)}return s}catch(g){var m=g;return m=p.errorInfo(m),[p.error.v,m]}},EVALUATE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;for(var e=0;e<arguments.length;e++){var n=p.errorParamCheck(this.p,arguments[e],e);if(!n[0])return p.error.v}try{var t=window.luckysheetCurrentRow,l=window.luckysheetCurrentColumn,a=window.luckysheetCurrentIndex,o=D.getFirstValue(arguments[0]).toString();if(H(o))return o;o.trim().indexOf("=")!=0&&(o="="+o);var s=p.execstringformula(o,t,l,a);return s[1]}catch(d){var u=d;return u=p.errorInfo(u),[p.error.v,u]}},REMOTE:function(){if(arguments.length<this.m[0]||arguments.length>this.m[1])return p.error.na;try{let n=window.luckysheetCurrentRow,t=window.luckysheetCurrentColumn,l=window.luckysheetCurrentFunction,a=D.getFirstValue(arguments[0]);return H(a)?a:(me.remoteFunction(a,o=>{let s=we.deepCopyFlowData(h.flowdata);p.execFunctionGroup(n,t,o),s[n][t]={v:o,f:l},Ze(s,[{row:[n,n],column:[t,t]}])}),"Loading...")}catch(n){console.log(n);var e=n;return e=p.errorInfo(e),[p.error.v,e]}}},l1=ov});var su,n1=$e(()=>{su=[{n:"SUMIF",t:0,m:[2,3],p:[{example:"A1:A10",require:"m",repeat:"n",type:"range"},{example:'">20"',require:"m",repeat:"n",type:"rangeall"},{example:"B1:B10",require:"o",repeat:"n",type:"range"}]},{n:"TAN",t:0,m:[1,1],p:[{example:"45*PI()/180",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TANH",t:0,m:[1,1],p:[{example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CEILING",t:0,m:[2,2],p:[{example:"23.25",require:"m",repeat:"n",type:"rangenumber"},{example:"0.1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ATAN",t:0,m:[1,1],p:[{example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ASINH",t:0,m:[1,1],p:[{example:"0.9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ABS",t:0,m:[1,1],p:[{example:"-2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ACOS",t:0,m:[1,1],p:[{example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ACOSH",t:0,m:[1,1],p:[{example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MULTINOMIAL",t:0,m:[1,255],p:[{example:"1",require:"m",repeat:"n",type:"rangeall"},{example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"ATANH",t:0,m:[1,1],p:[{example:"0.9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ATAN2",t:0,m:[2,2],p:[{example:"4",require:"m",repeat:"n",type:"rangenumber"},{example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUNTBLANK",t:1,m:[1,1],p:[{example:"A2:C100",require:"m",repeat:"n",type:"range"}]},{n:"COSH",t:0,m:[1,1],p:[{example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"INT",t:0,m:[1,1],p:[{example:"99.44",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ISEVEN",t:0,m:[1,1],p:[{example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ISODD",t:0,m:[1,1],p:[{example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LCM",t:0,m:[1,255],p:[{example:"A2:A5",require:"m",repeat:"n",type:"rangeall"},{example:"3",require:"o",repeat:"y",type:"rangeall"}]},{n:"LN",t:0,m:[1,1],p:[{example:"100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LOG",t:0,m:[1,2],p:[{example:"128",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"o",repeat:"n",type:"rangenumber"}]},{n:"LOG10",t:0,m:[1,1],p:[{example:"100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MOD",t:0,m:[2,2],p:[{example:"10",require:"m",repeat:"n",type:"rangenumber"},{example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MROUND",t:0,m:[2,2],p:[{example:"21",require:"m",repeat:"n",type:"rangenumber"},{example:"14",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ODD",t:0,m:[1,1],p:[{example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMSQ",t:0,m:[1,255],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"COMBIN",t:0,m:[2,2],p:[{example:"4",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUM",t:0,m:[1,255],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"SUBTOTAL",t:0,m:[2,256],p:[{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"A2:A5",require:"m",repeat:"n",type:"range"},{example:"B2:B8",require:"o",repeat:"y",type:"range"}]},{n:"ASIN",t:0,m:[1,1],p:[{example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUNTIF",t:1,m:[2,2],p:[{example:"A1:A10",require:"m",repeat:"n",type:"range"},{example:'">20"',require:"m",repeat:"n",type:"rangeall"}]},{n:"RADIANS",t:0,m:[1,1],p:[{example:"180",require:"m",repeat:"n",type:"rangenumber"}]},{n:"RAND",t:0,m:[0,0],p:[]},{n:"COUNTUNIQUE",t:0,m:[1,255],p:[{example:"A1:C100",require:"m",repeat:"n",type:"rangeall"},{example:"1",require:"o",repeat:"n",type:"rangeall"}]},{n:"DEGREES",t:0,m:[1,1],p:[{example:"PI()",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ERFC",t:9,m:[1,1],p:[{example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"EVEN",t:0,m:[1,1],p:[{example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"EXP",t:0,m:[1,1],p:[{example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FACT",t:0,m:[1,1],p:[{example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FACTDOUBLE",t:0,m:[1,1],p:[{example:"6",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PI",t:0,m:[0,0],p:[]},{n:"FLOOR",t:0,m:[2,2],p:[{example:"23.25",require:"m",repeat:"n",type:"rangenumber"},{example:"0.1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"GCD",t:0,m:[1,255],p:[{example:"A2:A5",require:"m",repeat:"n",type:"rangeall"},{example:"96",require:"o",repeat:"y",type:"rangeall"}]},{n:"RANDBETWEEN",t:0,m:[2,2],p:[{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"10",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ROUND",t:0,m:[2,2],p:[{example:"99.44",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ROUNDDOWN",t:0,m:[2,2],p:[{example:"99.44",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ROUNDUP",t:0,m:[2,2],p:[{example:"99.44",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SERIESSUM",t:0,m:[4,4],p:[{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"0",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"{FACT(0)",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SIGN",t:0,m:[1,1],p:[{example:"-42",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SIN",t:0,m:[1,1],p:[{example:"PI()",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SINH",t:0,m:[1,1],p:[{example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SQRT",t:0,m:[1,1],p:[{example:"9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SQRTPI",t:0,m:[1,1],p:[{example:"9",require:"m",repeat:"n",type:"rangenumber"}]},{n:"GAMMALN",t:1,m:[1,1],p:[{example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COS",t:0,m:[1,1],p:[{example:"PI()",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TRUNC",t:0,m:[1,2],p:[{example:"3.141592654",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"o",repeat:"n",type:"rangenumber"}]},{n:"QUOTIENT",t:0,m:[2,2],p:[{example:"4",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"POWER",t:0,m:[2,2],p:[{example:"4",require:"m",repeat:"n",type:"rangenumber"},{example:"0.5",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMIFS",t:0,m:[3,257],p:[{example:"A1:A10",require:"m",repeat:"n",type:"range"},{example:" B1:B10",require:"m",repeat:"n",type:"range"},{example:' ">20"',require:"m",repeat:"n",type:"rangeall"},{example:" C1:C10",require:"o",repeat:"y",type:"rangeall"}]},{n:"GET_TARGET",t:0,m:[0,0],p:[]},{n:"GET_AIRTABLE_DATA",t:0,m:[1,3],p:[{example:"https://airtable.com/apppqwer/tblpoi/viwmnb",require:"m",repeat:"n",type:"rangeall"},{example:"0",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ASK_AI",t:0,m:[1,2],p:[{example:"I need an accountability goal achievement",require:"m",repeat:"n",type:"rangeall"},{example:"B1:B10",require:"m",repeat:"n",type:"range"}]},{n:"COUNTIFS",t:1,m:[2,256],p:[{example:"A1:A10",require:"m",repeat:"n",type:"range"},{example:' ">20"',require:"m",repeat:"n",type:"rangeall"},{example:" B1:B10",require:"o",repeat:"y",type:"rangeall"}]},{n:"PRODUCT",t:0,m:[1,255],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"HARMEAN",t:1,m:[1,255],p:[{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"HYPGEOMDIST",t:1,m:[5,5],p:[{example:"4",require:"m",repeat:"n",type:"rangenumber"},{example:"12",require:"m",repeat:"n",type:"rangenumber"},{example:"20",require:"m",repeat:"n",type:"rangenumber"},{example:"40",require:"m",repeat:"n",type:"rangenumber"},{example:"TRUE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"INTERCEPT",t:1,m:[2,2],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"KURT",t:1,m:[1,255],p:[{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"LARGE",t:1,m:[2,2],p:[{example:"A2:B100",require:"m",repeat:"n",type:"rangenumber"},{example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"STDEVA",t:1,m:[1,255],p:[{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"STDEVP",t:1,m:[1,255],p:[{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"GEOMEAN",t:1,m:[1,255],p:[{example:"1",require:"m",repeat:"n",type:"rangeall"},{example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"RANK_EQ",t:1,m:[2,3],p:[{example:"A10",require:"m",repeat:"n",type:"rangenumber"},{example:"A1:A100",require:"m",repeat:"n",type:"range"},{example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"RANK_AVG",t:1,m:[2,3],p:[{example:"A10",require:"m",repeat:"n",type:"rangenumber"},{example:"A1:A100",require:"m",repeat:"n",type:"range"},{example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"PERCENTRANK_EXC",t:1,m:[2,3],p:[{example:"A1:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"A2",require:"m",repeat:"n",type:"rangenumber"},{example:"4",require:"o",repeat:"n",type:"rangenumber"}]},{n:"PERCENTRANK_INC",t:1,m:[2,3],p:[{example:"A1:A100",require:"m",repeat:"n",type:"rangenumber"},{example:" A2",require:"m",repeat:"n",type:"rangenumber"},{example:"4",require:"o",repeat:"n",type:"rangenumber"}]},{n:"FORECAST",t:1,m:[3,3],p:[{example:"A1",require:"m",repeat:"n",type:"rangenumber"},{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FISHERINV",t:1,m:[1,1],p:[{example:"0.962",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FISHER",t:1,m:[1,1],p:[{example:"0.962",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MODE_SNGL",t:1,m:[1,255],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"WEIBULL_DIST",t:1,m:[4,4],p:[{example:"2.4",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"m",repeat:"n",type:"rangenumber"},{example:"3",require:"m",repeat:"n",type:"rangenumber"},{example:"TRUE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"COUNT",t:1,m:[1,255],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{example:"B2:B100",require:"o",repeat:"y",type:"rangeall"}]},{n:"COUNTA",t:1,m:[1,255],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{example:"B2:B100",require:"o",repeat:"y",type:"rangeall"}]},{n:"AVEDEV",t:1,m:[1,255],p:[{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"AVERAGE",t:1,m:[1,255],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{example:"B2:B100",require:"o",repeat:"y",type:"rangeall"}]},{n:"AVERAGEA",t:1,m:[1,255],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangeall"},{example:"B2:B100",require:"o",repeat:"y",type:"rangeall"}]},{n:"BINOM_DIST",t:1,m:[4,4],p:[{example:"4",require:"m",repeat:"n",type:"rangenumber"},{example:"100",require:"m",repeat:"n",type:"rangenumber"},{example:"0.005",require:"m",repeat:"n",type:"rangenumber"},{example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"BINOM_INV",t:1,m:[3,3],p:[{example:"100",require:"m",repeat:"n",type:"rangenumber"},{example:"0.005",require:"m",repeat:"n",type:"rangenumber"},{example:"0.8",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CONFIDENCE_NORM",t:1,m:[3,3],p:[{example:"0.05",require:"m",repeat:"n",type:"rangenumber"},{example:"1.6",require:"m",repeat:"n",type:"rangenumber"},{example:"250",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CORREL",t:1,m:[2,2],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COVARIANCE_P",t:1,m:[2,2],p:[{example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"},{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COVARIANCE_S",t:1,m:[2,2],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DEVSQ",t:1,m:[1,255],p:[{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"EXPON_DIST",t:1,m:[3,3],p:[{example:"4",require:"m",repeat:"n",type:"rangenumber"},{example:"0.5",require:"m",repeat:"n",type:"rangenumber"},{example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"AVERAGEIF",t:1,m:[2,3],p:[{example:"A1:A10",require:"m",repeat:"n",type:"rangeall"},{example:'">20"',require:"m",repeat:"n",type:"rangeall"},{example:"B1:B10",require:"o",repeat:"n",type:"rangeall"}]},{n:"AVERAGEIFS",t:1,m:[2,255],p:[{example:"A1:A10",require:"m",repeat:"n",type:"rangeall"},{example:" B1:B10",require:"m",repeat:"n",type:"rangeall"},{example:' ">20"',require:"m",repeat:"n",type:"rangeall"},{example:" C1:C10",require:"m",repeat:"n",type:"rangeall"}]},{n:"PERMUT",t:1,m:[2,2],p:[{example:"4",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TRIMMEAN",t:1,m:[2,2],p:[{example:"A2:A100",require:"m",repeat:"n",type:"range"},{example:"0.1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PERCENTILE_EXC",t:1,m:[2,2],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"0.25",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PERCENTILE_INC",t:1,m:[2,2],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"0.25",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PEARSON",t:1,m:[2,2],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"NORM_S_INV",t:1,m:[1,1],p:[{example:"0.75",require:"m",repeat:"n",type:"rangenumber"}]},{n:"NORM_S_DIST",t:1,m:[2,2],p:[{example:"2.4",require:"m",repeat:"n",type:"rangenumber"},{example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"NORM_INV",t:1,m:[3,3],p:[{example:"0.75",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"NORM_DIST",t:1,m:[4,4],p:[{example:"2.4",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"4",require:"m",repeat:"n",type:"rangenumber"},{example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"NEGBINOM_DIST",t:1,m:[4,4],p:[{example:"4",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"m",repeat:"n",type:"rangenumber"},{example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"MINA",t:1,m:[1,255],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"MIN",t:1,m:[1,255],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"MEDIAN",t:1,m:[1,255],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"MAXA",t:1,m:[1,255],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"MAX",t:1,m:[1,255],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"B2:B100",require:"o",repeat:"y",type:"rangenumber"}]},{n:"LOGNORM_INV",t:1,m:[3,3],p:[{example:"0.4",require:"m",repeat:"n",type:"rangenumber"},{example:"4",require:"m",repeat:"n",type:"rangenumber"},{example:"6",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LOGNORM_DIST",t:1,m:[4,4],p:[{example:"4",require:"m",repeat:"n",type:"rangenumber"},{example:"4",require:"m",repeat:"n",type:"rangenumber"},{example:"6",require:"m",repeat:"n",type:"rangenumber"},{example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"Z_TEST",t:1,m:[2,3],p:[{example:"A2:A100",require:"m",repeat:"n",type:"range"},{example:"B2",require:"m",repeat:"n",type:"rangenumber"},{example:"3",require:"o",repeat:"n",type:"rangenumber"}]},{n:"PROB",t:1,m:[3,4],p:[{example:"A3:A6",require:"m",repeat:"n",type:"range"},{example:"2",require:"m",repeat:"n",type:"range"},{example:"3",require:"m",repeat:"n",type:"rangenumber"},{example:"4",require:"o",repeat:"n",type:"rangenumber"}]},{n:"QUARTILE_EXC",t:1,m:[2,2],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"QUARTILE_INC",t:1,m:[2,2],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"POISSON_DIST",t:1,m:[3,3],p:[{example:"2",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"FALSE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"RSQ",t:1,m:[2,2],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_DIST",t:1,m:[3,3],p:[{example:"A2",require:"m",repeat:"n",type:"rangenumber"},{example:"30",require:"m",repeat:"n",type:"rangenumber"},{example:"TRUE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"T_DIST_2T",t:1,m:[2,2],p:[{example:"A2",require:"m",repeat:"n",type:"rangenumber"},{example:"30",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_DIST_RT",t:1,m:[2,2],p:[{example:"A2",require:"m",repeat:"n",type:"rangenumber"},{example:"30",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_INV",t:1,m:[2,2],p:[{example:"0.35",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_INV_2T",t:1,m:[2,2],p:[{example:"0.35",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"T_TEST",t:1,m:[4,4],p:[{example:"A1:A4",require:"m",repeat:"n",type:"rangenumber"},{example:"B1:B4",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"F_DIST",t:1,m:[4,4],p:[{example:"15.35",require:"m",repeat:"n",type:"rangenumber"},{example:"7",require:"m",repeat:"n",type:"rangenumber"},{example:"6",require:"m",repeat:"n",type:"rangenumber"},{example:"TRUE()",require:"m",repeat:"n",type:"rangeall"}]},{n:"F_DIST_RT",t:1,m:[3,3],p:[{example:"15.35",require:"m",repeat:"n",type:"rangenumber"},{example:"7",require:"m",repeat:"n",type:"rangenumber"},{example:"6",require:"m",repeat:"n",type:"rangenumber"}]},{n:"VAR_P",t:1,m:[1,255],p:[{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"VAR_S",t:1,m:[1,255],p:[{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"VARA",t:1,m:[1,255],p:[{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"VARPA",t:1,m:[1,255],p:[{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"o",repeat:"y",type:"rangenumber"}]},{n:"STEYX",t:1,m:[2,2],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"STANDARDIZE",t:1,m:[3,3],p:[{example:"96",require:"m",repeat:"n",type:"rangenumber"},{example:"80",require:"m",repeat:"n",type:"rangenumber"},{example:"6.7",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SMALL",t:1,m:[2,2],p:[{example:"A2:B100",require:"m",repeat:"n",type:"range"},{example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SLOPE",t:1,m:[2,2],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SKEW",t:1,m:[1,255],p:[{example:"1",require:"m",repeat:"n",type:"rangeall"},{example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"SKEW_P",t:1,m:[1,255],p:[{example:"1",require:"m",repeat:"n",type:"rangeall"},{example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"VLOOKUP",t:2,m:[3,4],p:[{example:"10003",require:"m",repeat:"n",type:"rangeall"},{example:"A2:B26",require:"m",repeat:"n",type:"rangeall"},{example:"2",require:"m",repeat:"n",type:"rangenumber"},{example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"HLOOKUP",t:2,m:[3,4],p:[{example:"10003",require:"m",repeat:"n",type:"rangeall"},{example:"A2:Z6",require:"m",repeat:"n",type:"rangeall"},{example:"2",require:"m",repeat:"n",type:"rangenumber"},{example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"LOOKUP",t:2,m:[2,3],p:[{example:"10003",require:"m",repeat:"n",type:"rangeall"},{example:"A1:A100",require:"m",repeat:"n",type:"rangeall"},{example:"B1:B100",require:"o",repeat:"n",type:"rangeall"}]},{n:"ADDRESS",t:2,m:[2,5],p:[{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"m",repeat:"n",type:"rangenumber"},{example:"4",require:"o",repeat:"n",type:"rangenumber"},{example:"FALSE()",require:"o",repeat:"n",type:"rangeall"},{example:'"Sheet2"',require:"o",repeat:"n",type:"rangeall"}]},{n:"INDIRECT",t:2,m:[1,2],p:[{example:'"Sheet2!"&B10',require:"m",repeat:"n",type:"rangeall"},{example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"ROW",t:2,m:[0,1],p:[{example:"A9",require:"o",repeat:"n",type:"rangeall"}]},{n:"ROWS",t:2,m:[1,1],p:[{example:"A9:A62",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COLUMN",t:2,m:[0,1],p:[{example:"A9",require:"o",repeat:"n",type:"rangeall"}]},{n:"COLUMNS",t:2,m:[1,1],p:[{example:"A9:W62",require:"m",repeat:"n",type:"rangenumber"}]},{n:"OFFSET",t:2,m:[3,5],p:[{example:"A2",require:"m",repeat:"n",type:"range"},{example:"3",require:"m",repeat:"n",type:"rangenumber"},{example:"4",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"o",repeat:"n",type:"rangenumber"},{example:"2",require:"o",repeat:"n",type:"rangenumber"}]},{n:"MATCH",t:2,m:[2,3],p:[{example:'"Sunday"',require:"m",repeat:"n",type:"rangeall"},{example:"A2:A9",require:"m",repeat:"n",type:"range"},{example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"INDEX",t:2,m:[2,3],p:[{example:"A1:C20",require:"m",repeat:"n",type:"range"},{example:"5",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"GETPIVOTDATA",t:2,m:[2,254],p:[{example:'"SUM of number of units"',require:"m",repeat:"n",type:"rangeall"},{example:"'Pivot table'!A1",require:"m",repeat:"n",type:"rangeall"},{example:'"division"',require:"o",repeat:"y",type:"rangeall"},{example:'"east"',require:"o",repeat:"y",type:"rangeall"}]},{n:"CHOOSE",t:2,m:[2,255],p:[{example:"2",require:"m",repeat:"n",type:"rangenumber"},{example:'"A"',require:"m",repeat:"n",type:"rangeall"},{example:'"B"',require:"o",repeat:"y",type:"rangeall"}]},{n:"HYPERLINK",t:2,p:[{example:'"http://www.luckysheet.com/"',require:"m",repeat:"n",type:"rangeall"},{example:'"luckysheet"',require:"m",repeat:"n",type:"rangeall"}]},{n:"TIME",t:6,m:[3,3],p:[{example:"11",require:"m",repeat:"n",type:"rangenumber"},{example:"40",require:"m",repeat:"n",type:"rangenumber"},{example:"59",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TIMEVALUE",t:6,m:[1,1],p:[{example:'"2:15 PM"',require:"m",repeat:"n",type:"rangeall"}]},{n:"EOMONTH",t:6,m:[2,2],p:[{example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{example:"7",require:"m",repeat:"n",type:"rangenumber"}]},{n:"EDATE",t:6,m:[2,2],p:[{example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{example:"7",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SECOND",t:6,m:[1,1],p:[{example:"TIME(11",require:"m",repeat:"n",type:"rangeall"}]},{n:"MINUTE",t:6,m:[1,1],p:[{example:"TIME(11",require:"m",repeat:"n",type:"rangeall"}]},{n:"HOUR",t:6,m:[1,1],p:[{example:"TIME(11",require:"m",repeat:"n",type:"rangeall"}]},{n:"NOW",t:6,m:[0,0],p:[]},{n:"NETWORKDAYS",t:6,m:[2,3],p:[{example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{example:"7",require:"m",repeat:"n",type:"rangeall"},{example:"16)",require:"o",repeat:"n",type:"rangeall"}]},{n:"NETWORKDAYS_INTL",t:6,m:[2,4],p:[{example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{example:"7",require:"m",repeat:"n",type:"rangeall"},{example:"16)",require:"o",repeat:"n",type:"rangeall"},{example:"DATE(1969",require:"o",repeat:"n",type:"rangeall"}]},{n:"ISOWEEKNUM",t:6,m:[1,1],p:[{example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"}]},{n:"WEEKNUM",t:6,m:[1,2],p:[{example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{example:"7",require:"o",repeat:"n",type:"rangenumber"}]},{n:"WEEKDAY",t:6,m:[1,2],p:[{example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{example:"7",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DAY",t:6,m:[1,1],p:[{example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"}]},{n:"DAYS",t:6,m:[2,2],p:[{example:"2011-3-15",require:"m",repeat:"n",type:"rangeall"},{example:"2011-2-1",require:"m",repeat:"n",type:"rangeall"}]},{n:"DAYS360",t:6,m:[2,3],p:[{example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{example:"7",require:"m",repeat:"n",type:"rangeall"},{example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"DATE",t:6,m:[3,3],p:[{example:"1969",require:"m",repeat:"n",type:"rangenumber"},{example:"7",require:"m",repeat:"n",type:"rangenumber"},{example:"20",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DATEVALUE",t:6,m:[1,1],p:[{example:'"1969-7-20"',require:"m",repeat:"n",type:"rangeall"}]},{n:"DATEDIF",t:6,m:[3,3],p:[{example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{example:"7",require:"m",repeat:"n",type:"rangeall"},{example:"16)",require:"m",repeat:"n",type:"rangeall"}]},{n:"WORKDAY",t:6,m:[2,3],p:[{example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{example:"7",require:"m",repeat:"n",type:"rangenumber"},{example:"16)",require:"o",repeat:"n",type:"rangeall"}]},{n:"WORKDAY_INTL",t:6,m:[2,4],p:[{example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{example:"7",require:"m",repeat:"n",type:"rangenumber"},{example:"16)",require:"o",repeat:"n",type:"rangeall"},{example:"DATE(1969",require:"o",repeat:"n",type:"rangeall"}]},{n:"YEAR",t:6,m:[1,1],p:[{example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"}]},{n:"YEARFRAC",t:6,m:[2,3],p:[{example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{example:"7",require:"m",repeat:"n",type:"rangeall"},{example:"16)",require:"o",repeat:"n",type:"rangenumber"}]},{n:"TODAY",t:6,m:[0,0],p:[]},{n:"MONTH",t:6,m:[1,1],p:[{example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"}]},{n:"EFFECT",t:8,m:[2,2],p:[{example:"0.99",require:"m",repeat:"n",type:"rangenumber"},{example:"12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DOLLAR",t:12,m:[1,2],p:[{example:"1.2351",require:"m",repeat:"n",type:"rangenumber"},{example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DOLLARDE",t:8,m:[2,2],p:[{example:"100.10",require:"m",repeat:"n",type:"rangenumber"},{example:"32",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DOLLARFR",t:8,m:[2,2],p:[{example:"100.125",require:"m",repeat:"n",type:"rangenumber"},{example:"32",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DB",t:8,m:[4,5],p:[{example:"100",require:"m",repeat:"n",type:"rangenumber"},{example:"50",require:"m",repeat:"n",type:"rangenumber"},{example:"10",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"m",repeat:"n",type:"rangenumber"},{example:"10",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DDB",t:8,m:[4,5],p:[{example:"100",require:"m",repeat:"n",type:"rangenumber"},{example:"50",require:"m",repeat:"n",type:"rangenumber"},{example:"10",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"m",repeat:"n",type:"rangenumber"},{example:"2.25",require:"m",repeat:"n",type:"rangenumber"}]},{n:"RATE",t:8,m:[3,6],p:[{example:"12",require:"m",repeat:"n",type:"rangenumber"},{example:"-100",require:"m",repeat:"n",type:"rangenumber"},{example:"400",require:"m",repeat:"n",type:"rangenumber"},{example:"0",require:"o",repeat:"n",type:"rangenumber"},{example:"0",require:"o",repeat:"n",type:"rangenumber"},{example:"0.1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"CUMPRINC",t:8,m:[6,6],p:[{example:"0.12",require:"m",repeat:"n",type:"rangenumber"},{example:"12",require:"m",repeat:"n",type:"rangenumber"},{example:"100",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"5",require:"m",repeat:"n",type:"rangenumber"},{example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUPNUM",t:8,m:[3,4],p:[{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"02",require:"m",repeat:"n",type:"rangeall"},{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"SYD",t:8,m:[4,4],p:[{example:"100",require:"m",repeat:"n",type:"rangenumber"},{example:"50",require:"m",repeat:"n",type:"rangenumber"},{example:"10",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TBILLEQ",t:8,m:[3,3],p:[{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"1",require:"m",repeat:"n",type:"rangeall"},{example:"2)",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TBILLYIELD",t:8,m:[3,3],p:[{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"95",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TBILLPRICE",t:8,m:[3,3],p:[{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"0.09",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PV",t:8,m:[3,5],p:[{example:"2",require:"m",repeat:"n",type:"rangenumber"},{example:"12",require:"m",repeat:"n",type:"rangenumber"},{example:"100",require:"m",repeat:"n",type:"rangenumber"},{example:"D2",require:"o",repeat:"n",type:"rangenumber"},{example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"ACCRINT",t:8,m:[6,8],p:[{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{example:"10000",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"0",require:"o",repeat:"n",type:"rangenumber"},{example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"ACCRINTM",t:8,m:[4,5],p:[{example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{example:"DATE(1969",require:"m",repeat:"n",type:"rangeall"},{example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{example:"1000",require:"m",repeat:"n",type:"rangenumber"},{example:"12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"COUPDAYBS",t:8,m:[3,4],p:[{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COUPDAYS",t:8,m:[3,4],p:[{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COUPDAYSNC",t:8,m:[3,4],p:[{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COUPNCD",t:8,m:[3,4],p:[{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"01)",require:"m",repeat:"n",type:"rangenumber"},{example:"DATE(2019",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COUPPCD",t:8,m:[3,4],p:[{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"01)",require:"m",repeat:"n",type:"rangenumber"},{example:"DATE(2019",require:"o",repeat:"n",type:"rangenumber"}]},{n:"FV",t:8,m:[3,5],p:[{example:"0.12",require:"m",repeat:"n",type:"rangenumber"},{example:"12",require:"m",repeat:"n",type:"rangenumber"},{example:"100",require:"m",repeat:"n",type:"rangenumber"},{example:"400",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"FVSCHEDULE",t:8,m:[2,2],p:[{example:"10000",require:"m",repeat:"n",type:"rangenumber"},{example:"A2:A100",require:"m",repeat:"n",type:"range"}]},{n:"YIELD",t:8,m:[6,7],p:[{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"0.057",require:"m",repeat:"n",type:"rangenumber"},{example:"95",require:"m",repeat:"n",type:"rangenumber"},{example:"100",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"YIELDDISC",t:8,m:[4,5],p:[{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"95",require:"m",repeat:"n",type:"rangenumber"},{example:"100",require:"m",repeat:"n",type:"rangenumber"},{example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"NOMINAL",t:8,m:[2,2],p:[{example:"0.85",require:"m",repeat:"n",type:"rangenumber"},{example:"12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"XIRR",t:8,m:[2,3],p:[{example:"B2:B25",require:"m",repeat:"n",type:"range"},{example:"C2:C25",require:"m",repeat:"n",type:"range"},{example:"250",require:"o",repeat:"n",type:"rangenumber"}]},{n:"MIRR",t:8,m:[3,3],p:[{example:"A2:A25",require:"m",repeat:"n",type:"range"},{example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{example:"0.12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"IRR",t:8,m:[1,2],p:[{example:"A2:A25",require:"m",repeat:"n",type:"range"},{example:"200",require:"o",repeat:"n",type:"rangenumber"}]},{n:"NPV",t:8,m:[2,255],p:[{example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{example:"200",require:"m",repeat:"n",type:"rangeall"},{example:"250",require:"o",repeat:"y",type:"rangeall"}]},{n:"XNPV",t:8,m:[3,3],p:[{example:"A2",require:"m",repeat:"n",type:"rangenumber"},{example:"B2:B25",require:"m",repeat:"n",type:"range"},{example:"C2:C25",require:"m",repeat:"n",type:"range"}]},{n:"CUMIPMT",t:8,m:[6,6],p:[{example:"0.12",require:"m",repeat:"n",type:"rangenumber"},{example:"12",require:"m",repeat:"n",type:"rangenumber"},{example:"100",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"5",require:"m",repeat:"n",type:"rangenumber"},{example:"0",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PMT",t:8,m:[3,5],p:[{example:"0.08",require:"m",repeat:"n",type:"rangenumber"},{example:"12",require:"m",repeat:"n",type:"rangenumber"},{example:" 100000",require:"m",repeat:"n",type:"rangenumber"},{example:"D2",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"IPMT",t:8,m:[4,6],p:[{example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"12",require:"m",repeat:"n",type:"rangenumber"},{example:"80000",require:"m",repeat:"n",type:"rangenumber"},{example:"E2",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PPMT",t:8,m:[4,6],p:[{example:"0.1",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"3*12",require:"m",repeat:"n",type:"rangenumber"},{example:"100000",require:"m",repeat:"n",type:"rangenumber"},{example:"0",require:"o",repeat:"n",type:"rangenumber"},{example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"INTRATE",t:8,m:[4,5],p:[{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"100000",require:"m",repeat:"n",type:"rangenumber"},{example:"101200",require:"m",repeat:"n",type:"rangenumber"},{example:"12",require:"m",repeat:"n",type:"rangenumber"}]},{n:"PRICE",t:8,m:[6,7],p:[{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"0.057",require:"m",repeat:"n",type:"rangenumber"},{example:"0.065",require:"m",repeat:"n",type:"rangenumber"},{example:"100",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"PRICEDISC",t:8,m:[4,5],p:[{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"0.0525",require:"m",repeat:"n",type:"rangenumber"},{example:"100",require:"m",repeat:"n",type:"rangenumber"},{example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"PRICEMAT",t:8,m:[5,6],p:[{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"0.061",require:"m",repeat:"n",type:"rangenumber"},{example:"0.061",require:"m",repeat:"n",type:"rangenumber"},{example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"RECEIVED",t:8,m:[4,5],p:[{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"10000000",require:"m",repeat:"n",type:"rangenumber"},{example:"0.0575",require:"m",repeat:"n",type:"rangenumber"},{example:"12",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DISC",t:8,m:[4,5],p:[{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"97.975",require:"m",repeat:"n",type:"rangenumber"},{example:"100",require:"m",repeat:"n",type:"rangenumber"},{example:"12",require:"o",repeat:"n",type:"rangenumber"}]},{n:"NPER",t:8,m:[3,5],p:[{example:"0.12",require:"m",repeat:"n",type:"rangenumber"},{example:"500",require:"m",repeat:"n",type:"rangenumber"},{example:"40000",require:"m",repeat:"n",type:"rangenumber"},{example:"0",require:"o",repeat:"n",type:"rangenumber"},{example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"SLN",t:8,m:[3,3],p:[{example:"300000",require:"m",repeat:"n",type:"rangenumber"},{example:"75000",require:"m",repeat:"n",type:"rangenumber"},{example:"10",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DURATION",t:8,m:[5,6],p:[{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"0.08",require:"m",repeat:"n",type:"rangenumber"},{example:"0.09",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"MDURATION",t:8,m:[5,6],p:[{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"DATE(2010",require:"m",repeat:"n",type:"rangeall"},{example:"0.08",require:"m",repeat:"n",type:"rangenumber"},{example:"0.09",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"BIN2DEC",t:9,m:[1,1],p:[{example:"101",require:"m",repeat:"n",type:"rangeall"}]},{n:"BIN2HEX",t:9,m:[1,2],p:[{example:"101",require:"m",repeat:"n",type:"rangeall"},{example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"BIN2OCT",t:9,m:[1,2],p:[{example:"101",require:"m",repeat:"n",type:"rangeall"},{example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DEC2BIN",t:9,m:[1,2],p:[{example:"100",require:"m",repeat:"n",type:"rangenumber"},{example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DEC2HEX",t:9,m:[1,2],p:[{example:"100",require:"m",repeat:"n",type:"rangenumber"},{example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DEC2OCT",t:9,m:[1,2],p:[{example:"100",require:"m",repeat:"n",type:"rangenumber"},{example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"HEX2BIN",t:9,m:[1,2],p:[{example:'"f3"',require:"m",repeat:"n",type:"rangeall"},{example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"HEX2DEC",t:9,m:[1,1],p:[{example:'"f3"',require:"m",repeat:"n",type:"rangeall"}]},{n:"HEX2OCT",t:9,m:[1,2],p:[{example:'"f3"',require:"m",repeat:"n",type:"rangeall"},{example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"OCT2BIN",t:9,m:[1,2],p:[{example:"37",require:"m",repeat:"n",type:"rangeall"},{example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"OCT2DEC",t:9,m:[1,1],p:[{example:"37",require:"m",repeat:"n",type:"rangeall"}]},{n:"OCT2HEX",t:9,m:[1,2],p:[{example:"37",require:"m",repeat:"n",type:"rangeall"},{example:"8",require:"o",repeat:"n",type:"rangenumber"}]},{n:"COMPLEX",t:9,m:[2,3],p:[{example:"3",require:"m",repeat:"n",type:"rangenumber"},{example:"4",require:"m",repeat:"n",type:"rangenumber"},{example:'"j"',require:"o",repeat:"n",type:"rangestring"}]},{n:"IMREAL",t:9,m:[1,1],p:[{example:'"4+5i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IMAGINARY",t:9,m:[1,1],p:[{example:'"4+5i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IMCONJUGATE",t:9,m:[1,1],p:[{example:'"3+4i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IMABS",t:9,m:[1,1],p:[{example:'"3+4i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"DELTA",t:9,m:[1,2],p:[{example:"2",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"IMSUM",t:9,m:[1,255],p:[{example:'"3+4i"',require:"m",repeat:"n",type:"rangeall"},{example:'"5-3i"',require:"o",repeat:"y",type:"rangeall"}]},{n:"IMSUB",t:9,m:[2,2],p:[{example:'"6+5i"',require:"m",repeat:"n",type:"rangeall"},{example:'"2+3i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IMPRODUCT",t:9,m:[1,255],p:[{example:'"3+4i"',require:"m",repeat:"n",type:"rangeall"},{example:'"5-3i"',require:"o",repeat:"y",type:"rangeall"}]},{n:"IMDIV",t:9,m:[2,2],p:[{example:'"11+16i"',require:"m",repeat:"n",type:"rangeall"},{example:'"3+2i"',require:"m",repeat:"n",type:"rangeall"}]},{n:"NOT",t:10,m:[1,1],p:[{example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"TRUE",t:10,m:[0,0],p:[]},{n:"FALSE",t:10,m:[0,0],p:[]},{n:"AND",t:10,m:[1,255],p:[{example:'A2 = "foo"',require:"m",repeat:"n",type:"rangeall"},{example:'A3 = "bar"',require:"o",repeat:"y",type:"rangeall"}]},{n:"IFERROR",t:10,m:[2,2],p:[{example:"A1",require:"m",repeat:"n",type:"rangeall"},{example:'"Error in cell A1"',require:"m",repeat:"n",type:"rangeall"}]},{n:"IF",t:10,m:[2,3],p:[{example:'A2 = "foo"',require:"m",repeat:"n",type:"rangeall"},{example:'"A2 is foo"',require:"m",repeat:"n",type:"rangeall"},{example:'"A2 was false"',require:"o",repeat:"n",type:"rangeall"}]},{n:"OR",t:10,m:[1,255],p:[{example:'A2 = "foo"',require:"m",repeat:"n",type:"rangeall"},{example:' A3 = "bar"',require:"m",repeat:"n",type:"rangeall"}]},{n:"NE",t:11,m:[2,2],p:[{example:"A2",require:"m",repeat:"n",type:"rangeall"},{example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"EQ",t:11,m:[2,2],p:[{example:"A2",require:"m",repeat:"n",type:"rangeall"},{example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"GT",t:11,m:[2,2],p:[{example:"A2",require:"m",repeat:"n",type:"rangeall"},{example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"GTE",t:11,m:[2,2],p:[{example:"A2",require:"m",repeat:"n",type:"rangeall"},{example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"LT",t:11,m:[2,2],p:[{example:"A2",require:"m",repeat:"n",type:"rangeall"},{example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"LTE",t:11,m:[2,2],p:[{example:"A2",require:"m",repeat:"n",type:"rangeall"},{example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"ADD",t:11,m:[2,2],p:[{example:"A2",require:"m",repeat:"n",type:"rangenumber"},{example:"A3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MINUS",t:11,m:[2,2],p:[{example:"A2",require:"m",repeat:"n",type:"rangenumber"},{example:"A3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MULTIPLY",t:11,m:[2,2],p:[{example:"A2",require:"m",repeat:"n",type:"rangenumber"},{example:"B2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DIVIDE",t:11,m:[2,2],p:[{example:"4",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CONCAT",t:11,m:[2,2],p:[{example:'"de"',require:"m",repeat:"n",type:"rangeall"},{example:'"mystify"',require:"m",repeat:"n",type:"rangeall"}]},{n:"UNARY_PERCENT",t:11,m:[1,1],p:[{example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CONCATENATE",t:12,m:[1,255],p:[{example:'"Super"',require:"m",repeat:"n",type:"rangeall"},{example:'"calla"',require:"o",repeat:"y",type:"rangeall"}]},{n:"CODE",t:12,m:[1,1],p:[{example:'"a"',require:"m",repeat:"n",type:"rangeall"}]},{n:"CHAR",t:12,m:[1,1],p:[{example:"97",require:"m",repeat:"n",type:"rangenumber"}]},{n:"ARABIC",t:12,m:[1,1],p:[{example:'"XIV"',require:"m",repeat:"n",type:"rangeall"}]},{n:"ROMAN",t:12,m:[1,1],p:[{example:"499",require:"m",repeat:"n",type:"rangenumber"}]},{n:"REGEXEXTRACT",t:12,m:[2,2],p:[{example:'"Needle in a haystack"',require:"m",repeat:"n",type:"rangeall"},{example:'".e{2}dle"',require:"m",repeat:"n",type:"rangeall"}]},{n:"REGEXMATCH",t:12,m:[2,2],p:[{example:'"Spreadsheets"',require:"m",repeat:"n",type:"rangeall"},{example:'"S.r"',require:"m",repeat:"n",type:"rangeall"}]},{n:"REGEXREPLACE",t:12,m:[3,3],p:[{example:'"Spreadsheets"',require:"m",repeat:"n",type:"rangeall"},{example:'"S.*d"',require:"m",repeat:"n",type:"rangeall"},{example:'"Bed"',require:"m",repeat:"n",type:"rangeall"}]},{n:"T",t:12,m:[1,1],p:[{example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"FIXED",t:12,m:[1,3],p:[{example:"3.141592653",require:"m",repeat:"n",type:"rangenumber"},{example:"2",require:"o",repeat:"n",type:"rangenumber"},{example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"FIND",t:12,m:[2,3],p:[{example:'"n"',require:"m",repeat:"n",type:"rangeall"},{example:"A2",require:"m",repeat:"n",type:"rangeall"},{example:"14",require:"o",repeat:"n",type:"rangenumber"}]},{n:"FINDB",t:12,m:[2,3],p:[{example:'"new"',require:"m",repeat:"n",type:"rangeall"},{example:'"new year"',require:"m",repeat:"n",type:"rangeall"},{example:"2",require:"o",repeat:"n",type:"rangenumber"}]},{n:"JOIN",t:12,m:[2,255],p:[{example:'" and-a "',require:"m",repeat:"n",type:"rangeall"},{example:"{1",require:"m",repeat:"n",type:"rangeall"},{example:"2",require:"o",repeat:"y",type:"rangeall"}]},{n:"LEFT",t:12,m:[1,2],p:[{example:"A2",require:"m",repeat:"n",type:"rangeall"},{example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"RIGHT",t:12,m:[1,2],p:[{example:"A2",require:"m",repeat:"n",type:"rangeall"},{example:"2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MID",t:12,m:[3,3],p:[{example:'"get this"',require:"m",repeat:"n",type:"rangeall"},{example:"5",require:"m",repeat:"n",type:"rangenumber"},{example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"LEN",t:12,m:[1,1],p:[{example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"LENB",t:12,m:[1,1],p:[{example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"LOWER",t:12,m:[1,1],p:[{example:'"LOREM IPSUM"',require:"m",repeat:"n",type:"rangeall"}]},{n:"UPPER",t:12,m:[1,1],p:[{example:'"lorem ipsum"',require:"m",repeat:"n",type:"rangeall"}]},{n:"EXACT",t:12,m:[2,2],p:[{example:"A1",require:"m",repeat:"n",type:"rangeall"},{example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"REPLACE",t:12,m:[4,4],p:[{example:'"Spreadsheets"',require:"m",repeat:"n",type:"rangeall"},{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"6",require:"m",repeat:"n",type:"rangenumber"},{example:'"Bed"',require:"m",repeat:"n",type:"rangeall"}]},{n:"REPT",t:12,m:[2,2],p:[{example:'"ha"',require:"m",repeat:"n",type:"rangeall"},{example:"4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SEARCH",t:12,m:[2,3],p:[{example:'"n"',require:"m",repeat:"n",type:"rangeall"},{example:"A2",require:"m",repeat:"n",type:"rangeall"},{example:"14",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUBSTITUTE",t:12,m:[3,4],p:[{example:'"search for it"',require:"m",repeat:"n",type:"rangeall"},{example:'"search for"',require:"m",repeat:"n",type:"rangeall"},{example:'"Google"',require:"m",repeat:"n",type:"rangeall"},{example:"3",require:"m",repeat:"n",type:"rangenumber"}]},{n:"CLEAN",t:12,m:[1,1],p:[{example:'"AF"&CHAR(31)',require:"m",repeat:"n",type:"rangeall"}]},{n:"TEXT",t:12,m:[2,2],p:[{example:"1.23",require:"m",repeat:"n",type:"rangenumber"},{example:'"$0.00"',require:"m",repeat:"n",type:"rangeall"}]},{n:"TRIM",t:12,m:[1,1],p:[{example:'" lorem ipsum"',require:"m",repeat:"n",type:"rangeall"}]},{n:"VALUE",t:12,m:[1,1],p:[{example:'"123"',require:"m",repeat:"n",type:"rangeall"}]},{n:"PROPER",t:12,m:[1,1],p:[{example:'"united states"',require:"m",repeat:"n",type:"rangeall"}]},{n:"CONVERT",t:13,m:[3,3],p:[{example:"5.1",require:"m",repeat:"n",type:"rangenumber"},{example:'"g"',require:"m",repeat:"n",type:"rangeall"},{example:'"kg"',require:"m",repeat:"n",type:"rangeall"}]},{n:"SUMX2MY2",t:14,m:[2,2],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMX2PY2",t:14,m:[2,2],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMXMY2",t:14,m:[2,2],p:[{example:"A2:A100",require:"m",repeat:"n",type:"rangenumber"},{example:"B2:B100",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TRANSPOSE",t:14,m:[1,1],p:[{example:"{1,2}",require:"m",repeat:"n",type:"range"}]},{n:"TREND",t:14,m:[1,4],p:[{example:"B2:B10",require:"m",repeat:"n",type:"rangenumber"},{example:"A2:A10",require:"o",repeat:"n",type:"rangenumber"},{example:"A11:A13",require:"o",repeat:"n",type:"rangenumber"},{example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"FREQUENCY",t:14,m:[2,2],p:[{example:"A2:A40",require:"m",repeat:"n",type:"rangenumber"},{example:"B2:B5",require:"m",repeat:"n",type:"rangenumber"}]},{n:"GROWTH",t:14,m:[1,4],p:[{example:"B2:B10",require:"m",repeat:"n",type:"rangenumber"},{example:"A2:A10",require:"o",repeat:"n",type:"rangenumber"},{example:"A11:A13",require:"o",repeat:"n",type:"rangenumber"},{example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"LINEST",t:14,m:[1,4],p:[{example:"B2:B10",require:"m",repeat:"n",type:"rangenumber"},{example:"A2:A10",require:"o",repeat:"n",type:"rangenumber"},{example:"TRUE()",require:"o",repeat:"n",type:"rangeall"},{example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"LOGEST",t:14,m:[1,4],p:[{example:"B2:B10",require:"m",repeat:"n",type:"rangenumber"},{example:"A2:A10",require:"o",repeat:"n",type:"rangenumber"},{example:"TRUE()",require:"o",repeat:"n",type:"rangeall"},{example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"MDETERM",t:14,m:[1,1],p:[{example:"A1:D4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MINVERSE",t:14,m:[1,1],p:[{example:"A1:D4",require:"m",repeat:"n",type:"rangenumber"}]},{n:"MMULT",t:14,m:[2,2],p:[{example:"A1:B3",require:"m",repeat:"n",type:"rangenumber"},{example:"C1:F2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"SUMPRODUCT",t:14,m:[1,255],p:[{example:"A2:C5",require:"m",repeat:"n",type:"rangenumber"},{example:"D2:F5",require:"o",repeat:"y",type:"rangenumber"}]},{n:"ISFORMULA",t:15,m:[1,1],p:[{example:"A2",require:"m",repeat:"n",type:"range"}]},{n:"CELL",t:15,m:[2,2],p:[{example:'"type"',require:"m",repeat:"n",type:"rangeall"},{example:"C2",require:"m",repeat:"n",type:"range"}]},{n:"NA",t:15,m:[0,0],p:[]},{n:"ERROR_TYPE",t:15,m:[1,1],p:[{example:"A3",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISBLANK",t:15,m:[1,1],p:[{example:"A2",require:"m",repeat:"n",type:"range"}]},{n:"ISERR",t:15,m:[1,1],p:[{example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISERROR",t:15,m:[1,1],p:[{example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISLOGICAL",t:15,m:[1,1],p:[{example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISNA",t:15,m:[1,1],p:[{example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISNONTEXT",t:15,m:[1,1],p:[{example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISNUMBER",t:15,m:[1,1],p:[{example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"ISREF",t:15,m:[1,1],p:[{example:"A2",require:"m",repeat:"n",type:"range"}]},{n:"ISTEXT",t:15,m:[1,1],p:[{example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"TYPE",t:15,m:[1,1],p:[{example:"C4",require:"m",repeat:"n",type:"rangeall"}]},{n:"N",t:15,m:[1,1],p:[{example:"A2",require:"m",repeat:"n",type:"rangeall"}]},{n:"TO_DATE",t:16,m:[1,1],p:[{example:"25405",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TO_PURE_NUMBER",t:16,m:[1,1],p:[{example:"50%",require:"m",repeat:"n",type:"rangeall"}]},{n:"TO_TEXT",t:16,m:[1,1],p:[{example:"24",require:"m",repeat:"n",type:"rangeall"}]},{n:"TO_DOLLARS",t:16,m:[1,1],p:[{example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"TO_PERCENT",t:16,m:[1,1],p:[{example:"A2",require:"m",repeat:"n",type:"rangenumber"}]},{n:"DGET",t:17,m:[3,3],p:[{example:"A2:F20",require:"m",repeat:"n",type:"range"},{example:"G2",require:"m",repeat:"n",type:"rangeall"},{example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DMAX",t:17,m:[3,3],p:[{example:"A2:F20",require:"m",repeat:"n",type:"range"},{example:"G2",require:"m",repeat:"n",type:"rangeall"},{example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DMIN",t:17,m:[3,3],p:[{example:"A2:F20",require:"m",repeat:"n",type:"range"},{example:"G2",require:"m",repeat:"n",type:"rangeall"},{example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DAVERAGE",t:17,m:[3,3],p:[{example:"A2:F20",require:"m",repeat:"n",type:"range"},{example:"G2",require:"m",repeat:"n",type:"rangeall"},{example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DCOUNT",t:17,m:[3,3],p:[{example:"A2:F20",require:"m",repeat:"n",type:"range"},{example:"G2",require:"m",repeat:"n",type:"rangeall"},{example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DCOUNTA",t:17,m:[3,3],p:[{example:"A2:F20",require:"m",repeat:"n",type:"range"},{example:"G2",require:"m",repeat:"n",type:"rangeall"},{example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DPRODUCT",t:17,m:[3,3],p:[{example:"A2:F20",require:"m",repeat:"n",type:"range"},{example:"G2",require:"m",repeat:"n",type:"rangeall"},{example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DSTDEV",t:17,m:[3,3],p:[{example:"A2:F20",require:"m",repeat:"n",type:"range"},{example:"G2",require:"m",repeat:"n",type:"rangeall"},{example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DSTDEVP",t:17,m:[3,3],p:[{example:"A2:F20",require:"m",repeat:"n",type:"range"},{example:"G2",require:"m",repeat:"n",type:"rangeall"},{example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DSUM",t:17,m:[3,3],p:[{example:"A2:F20",require:"m",repeat:"n",type:"range"},{example:"G2",require:"m",repeat:"n",type:"rangeall"},{example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DVAR",t:17,m:[3,3],p:[{example:"A2:F20",require:"m",repeat:"n",type:"range"},{example:"G2",require:"m",repeat:"n",type:"rangeall"},{example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"DVARP",t:17,m:[3,3],p:[{example:"A2:F20",require:"m",repeat:"n",type:"range"},{example:"G2",require:"m",repeat:"n",type:"rangeall"},{example:"A22:D23",require:"m",repeat:"n",type:"range"}]},{n:"AGE_BY_IDCARD",t:"3",m:[1,2],p:[{example:"A1",require:"m",repeat:"n",type:"rangeall"},{example:'"2017-10-01"',require:"o",repeat:"n",type:"rangedatetime"}]},{n:"SEX_BY_IDCARD",t:"3",m:[1,1],p:[{example:'"31033519900101XXXX"',require:"m",repeat:"n",type:"rangeall"}]},{n:"BIRTHDAY_BY_IDCARD",t:"3",m:[1,2],p:[{example:'"31033519900101XXXX"',require:"m",repeat:"n",type:"rangeall"},{example:"0",require:"o",repeat:"n",type:"rangeall"}]},{n:"PROVINCE_BY_IDCARD",t:"3",m:[1,1],p:[{example:'"31033519900101XXXX"',require:"m",repeat:"n",type:"rangeall"}]},{n:"CITY_BY_IDCARD",t:"3",m:[1,1],p:[{example:'"31033519900101XXXX"',require:"m",repeat:"n",type:"rangeall"}]},{n:"STAR_BY_IDCARD",t:"3",m:[1,1],p:[{example:'"31033519900101XXXX"',require:"m",repeat:"n",type:"rangeall"}]},{n:"ANIMAL_BY_IDCARD",t:"3",m:[1,1],p:[{example:'"31033519900101XXXX"',require:"m",repeat:"n",type:"rangeall"}]},{n:"ISIDCARD",t:"3",m:[1,1],p:[{example:'"31033519900101XXXX"',require:"m",repeat:"n",type:"rangeall"}]},{n:"DM_TEXT_CUTWORD",t:"4",m:[1,2],p:[{example:'"I came to Beijing Tsinghua University"',require:"m",repeat:"n",type:"rangeall"},{example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DM_TEXT_TFIDF",t:"4",m:[1,3],p:[{example:'"I came to Beijing Tsinghua University"',require:"m",repeat:"n",type:"rangeall"},{example:"20",require:"o",repeat:"n",type:"rangenumber"},{example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DM_TEXT_TEXTRANK",t:"4",m:[1,3],p:[{example:'"I came to Beijing Tsinghua University"',require:"m",repeat:"n",type:"rangeall"},{example:"20",require:"o",repeat:"n",type:"rangenumber"},{example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_CLOSE",t:"5",m:[1,3],p:[{example:'"000001"',require:"m",repeat:"n",type:"rangeall"},{example:"2015-01-08",require:"o",repeat:"n",type:"rangedate"},{example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_OPEN",t:"5",m:[1,3],p:[{example:'"000001"',require:"m",repeat:"n",type:"rangeall"},{example:"2015-01-08",require:"o",repeat:"n",type:"rangedate"},{example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_MAX",t:"5",m:[1,3],p:[{example:'"000001"',require:"m",repeat:"n",type:"rangeall"},{example:"2015-01-08",require:"o",repeat:"n",type:"rangedate"},{example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_MIN",t:"5",m:[1,3],p:[{example:'"000001"',require:"m",repeat:"n",type:"rangeall"},{example:"2015-01-08",require:"o",repeat:"n",type:"rangedate"},{example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_VOLUMN",t:"5",m:[1,3],p:[{example:'"000001"',require:"m",repeat:"n",type:"rangeall"},{example:"2015-01-08",require:"o",repeat:"n",type:"rangedate"},{example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"DATA_CN_STOCK_AMOUNT",t:"5",m:[1,3],p:[{example:'"000001"',require:"m",repeat:"n",type:"rangeall"},{example:"2015-01-08",require:"o",repeat:"n",type:"rangedate"},{example:"0",require:"o",repeat:"n",type:"rangenumber"}]},{n:"ISDATE",t:"6",m:[1,1],p:[{example:'"1990-01-01"',require:"m",repeat:"n",type:"rangeall"}]},{n:"LINESPLINES",t:"3",m:[1,8],p:[{example:"A1:A20",require:"m",repeat:"n",type:"rangeall"},{example:"#2ec7c9",require:"o",repeat:"n",type:"rangeall"},{example:"1",require:"o",repeat:"n",type:"rangeall"},{example:"avg",require:"o",repeat:"n",type:"rangeall"},{example:"#000",require:"o",repeat:"n",type:"rangeall"},{example:"#fc5c5c",require:"o",repeat:"n",type:"rangeall"},{example:"#fc5c5c",require:"o",repeat:"n",type:"rangeall"},{example:"1.5",require:"o",repeat:"n",type:"rangeall"}]},{n:"AREASPLINES",t:"3",m:[1,5],p:[{example:"A1:A20",require:"m",repeat:"n",type:"rangeall"},{example:"#2ec7c9",require:"o",repeat:"n",type:"rangeall"},{example:"#CCF3F4",require:"o",repeat:"n",type:"rangeall"},{example:"1",require:"o",repeat:"n",type:"rangeall"},{example:"avg",require:"o",repeat:"n",type:"rangeall"},{example:"#000",require:"o",repeat:"n",type:"rangeall"}]},{n:"COLUMNSPLINES",t:"3",m:[1,6],p:[{example:"A1:A20",require:"m",repeat:"n",type:"rangeall"},{example:"1",require:"o",repeat:"n",type:"rangeall"},{example:"#fc5c5c",require:"o",repeat:"n",type:"rangeall"},{example:"#97b552",require:"o",repeat:"n",type:"rangeall"},{example:"100",require:"o",repeat:"n",type:"rangeall"},{example:"#97b552",require:"o",repeat:"y",type:"rangeall"}]},{n:"STACKCOLUMNSPLINES",t:"3",m:[1,5],p:[{example:"A1:A20",require:"m",repeat:"n",type:"rangeall"},{example:"1",require:"o",repeat:"n",type:"rangeall"},{example:"1",require:"o",repeat:"n",type:"rangeall"},{example:"100",require:"o",repeat:"n",type:"rangeall"},{example:"#97b552",require:"o",repeat:"y",type:"rangeall"}]},{n:"BARSPLINES",t:"3",m:[1,6],p:[{example:"A1:A20",require:"m",repeat:"n",type:"rangeall"},{example:"1",require:"o",repeat:"n",type:"rangeall"},{example:"#fc5c5c",require:"o",repeat:"n",type:"rangeall"},{example:"#97b552",require:"o",repeat:"n",type:"rangeall"},{example:"100",require:"o",repeat:"n",type:"rangeall"},{example:"#97b552",require:"o",repeat:"y",type:"rangeall"}]},{n:"STACKBARSPLINES",t:"3",m:[1,5],p:[{example:"A1:A20",require:"m",repeat:"n",type:"rangeall"},{example:"1",require:"o",repeat:"n",type:"rangeall"},{example:"1",require:"o",repeat:"n",type:"rangeall"},{example:"100",require:"o",repeat:"n",type:"rangeall"},{example:"#97b552",require:"o",repeat:"y",type:"rangeall"}]},{n:"DISCRETESPLINES",t:"3",m:[1,4],p:[{example:"A1:A20",require:"m",repeat:"n",type:"rangeall"},{example:"1",require:"o",repeat:"n",type:"rangeall"},{example:"#2ec7c9",require:"o",repeat:"n",type:"rangeall"},{example:"#fc5c5c",require:"o",repeat:"n",type:"rangeall"}]},{n:"TRISTATESPLINES",t:"3",m:[1,6],p:[{example:"A1:A20",require:"m",repeat:"n",type:"rangeall"},{example:"1",require:"o",repeat:"n",type:"rangeall"},{example:"#fc5c5c",require:"o",repeat:"n",type:"rangeall"},{example:"#97b552",require:"o",repeat:"n",type:"rangeall"},{example:"#999",require:"o",repeat:"n",type:"rangeall"},{example:"#97b552",require:"o",repeat:"y",type:"rangeall"}]},{n:"PIESPLINES",t:"3",m:[1,5],p:[{example:"A1:A20",require:"m",repeat:"n",type:"rangeall"},{example:"0",require:"o",repeat:"n",type:"rangeall"},{example:"0",require:"o",repeat:"n",type:"rangeall"},{example:"#000",require:"o",repeat:"n",type:"rangeall"},{example:"#97b552",require:"o",repeat:"y",type:"rangeall"}]},{n:"BOXSPLINES",t:"3",m:[1,4],p:[{example:"A1:A20",require:"m",repeat:"n",type:"rangeall"},{example:"1.5",require:"o",repeat:"n",type:"rangeall"},{example:"10",require:"o",repeat:"n",type:"rangeall"},{example:"1.5",require:"o",repeat:"n",type:"rangeall"}]},{n:"BULLETSPLINES",t:"3",m:[2,3],p:[{example:"10",require:"m",repeat:"n",type:"rangeall"},{example:"8",require:"m",repeat:"n",type:"rangeall"},{example:"12",require:"o",repeat:"y",type:"rangeall"}]},{n:"COMPOSESPLINES",t:"3",m:[1,1],p:[{example:"PIESPLINES(A1:A20)",require:"m",repeat:"y",type:"rangeall"}]},{n:"SORT",t:"14",m:[1,4],p:[{example:"A2:A17",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"o",repeat:"n",type:"rangenumber"},{example:"-1",require:"o",repeat:"n",type:"rangenumber"},{example:"TRUE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"FILTER",t:"14",m:[2,3],p:[{example:"A5:D20",require:"m",repeat:"n",type:"range"},{example:"1",require:"m",repeat:"n",type:"range"},{example:'""',require:"o",repeat:"n",type:"rangeall"}]},{n:"UNIQUE",t:"14",m:[1,3],p:[{example:"A2:B26",require:"m",repeat:"n",type:"rangenumber"},{example:"TRUE()",require:"o",repeat:"n",type:"rangeall"},{example:"FALSE()",require:"o",repeat:"n",type:"rangeall"}]},{n:"RANDARRAY",t:"14",m:[0,2],p:[{example:"1",require:"o",repeat:"n",type:"rangenumber"},{example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"SEQUENCE",t:"14",m:[1,4],p:[{example:"1",require:"m",repeat:"n",type:"rangenumber"},{example:"1",require:"o",repeat:"n",type:"rangenumber"},{example:"1",require:"o",repeat:"n",type:"rangenumber"},{example:"1",require:"o",repeat:"n",type:"rangenumber"}]},{n:"EVALUATE",t:"3",m:[1,1],p:[{example:'"A1+5*2^2"',require:"m",repeat:"n",type:"rangeall"}]},{n:"REMOTE",t:"5",m:[1,1],p:[{example:"SUM(A1:A10000000)",require:"m",repeat:"n",type:"string"}]}]});var i1,o1=$e(()=>{n1();i1=e=>(su.forEach(n=>{let t=e[n.n];n.d=t.d,n.a=t.a,n.p.forEach((l,a)=>{Object.assign(l,t.p[a])})}),su)});var sv,s1,c1=$e(()=>{r1();Xe();yt();o1();sv=function(e){let n=Q(),t=[...i1(n.functionlist)];for(let a=0;a<t.length;a++){let o=t[a];o.f=l1[o.n]}e&&t.push(...e),h.functionlist=t;let l={};for(let a=0;a<t.length;a++){let o=t[a];l[o.n]=o}window.luckysheet_function=l,h.luckysheet_function=l},s1=sv});var h1=kl((es,u1)=>{(function(e,n){typeof es=="object"&&typeof u1!="undefined"?n(es):typeof define=="function"&&define.amd?define(["exports"],n):(e=typeof globalThis!="undefined"?globalThis:e||self,n(e.zh={}))})(es,function(e){"use strict";var n=typeof window!="undefined"&&window.flatpickr!==void 0?window.flatpickr:{l10ns:{}},t={weekdays:{shorthand:["\u5468\u65E5","\u5468\u4E00","\u5468\u4E8C","\u5468\u4E09","\u5468\u56DB","\u5468\u4E94","\u5468\u516D"],longhand:["\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"]},months:{shorthand:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"],longhand:["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"]},rangeSeparator:" \u81F3 ",weekAbbreviation:"\u5468",scrollTitle:"\u6EDA\u52A8\u5207\u6362",toggleTitle:"\u70B9\u51FB\u5207\u6362 12/24 \u5C0F\u65F6\u65F6\u5236"};n.l10ns.zh=t;var l=n.l10ns;e.Mandarin=t,e.default=l,Object.defineProperty(e,"__esModule",{value:!0})})});function cv(e){clearTimeout(d1),d1=setTimeout(()=>{$("#luckysheet-icon-undo")[e?"removeClass":"addClass"]("disabled")},10)}function uv(e){clearTimeout(f1),f1=setTimeout(()=>{$("#luckysheet-icon-redo")[e?"removeClass":"addClass"]("disabled")},10)}var d1,f1,m1,p1=$e(()=>{ht();Xe();El();Dt();wa();m1=function(){Ko(h,"jfredo",(e,n,t,l)=>{n!=="length"&&Ke.createHookFunction("updated",t),cv(h.jfredo.length)}),Ko(h,"jfundo",(e,n,t,l)=>{uv(h.jfundo.length)}),Ko(h,"asyncLoad",(e,n,t,l)=>{n==="length"&&t===0&&Ke.createHookFunction("workbookCreateAfter",Go())})}});function g1(){if(!dv())return;let e=`
  3387. body {
  3388. background-color: #f5f5f5;
  3389. }
  3390. #chat-assistant-container {
  3391. position: fixed;
  3392. right: 40px;
  3393. bottom: 86px;
  3394. z-index:9990;
  3395. }
  3396. #chat-assistant-button {
  3397. width: 50px;
  3398. height: 50px;
  3399. border-radius: 50%;
  3400. border: none;
  3401. display: flex;
  3402. justify-content: center;
  3403. align-items: center;
  3404. cursor: pointer;
  3405. background: linear-gradient(135deg, rgb(215 98 150 / 55%),rgb(34 78 139 / 71%), rgb(114 222 172));
  3406. box-shadow: 0px 0px 8px 1px rgb(0 0 0 / 22%);
  3407. color: #fff;
  3408. text-shadow: 1px 1px 3px rgb(0 0 0 / 56%);
  3409. }
  3410. #chat-container {
  3411. position: fixed;
  3412. padding: 10px;
  3413. top: 45%;
  3414. left: 50%;
  3415. z-index:9990;
  3416. transform: translate(-50%, -50%);
  3417. display: none;
  3418. border-radius: 5px;
  3419. width: 40%;
  3420. background: linear-gradient(135deg, rgb(215 98 150 / 92%),rgb(34 78 139 / 93%), rgb(114 222 172 / 94%));
  3421. box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
  3422. }
  3423. #chat-header {
  3424. display: flex;
  3425. align-items: center;
  3426. justify-content: space-between;
  3427. padding: 0 10px 10px 0;
  3428. border-radius: 5px 5px 0 0;
  3429. cursor: move;
  3430. }
  3431. #loading-indicator {
  3432. width: 14px;
  3433. height: 14px;
  3434. margin: 0 10px 0 10px;
  3435. border: 2px solid #ccc;
  3436. border-top-color: #4caf50;
  3437. border-radius: 50%;
  3438. animation: spin 2s linear infinite;
  3439. visibility: hidden;
  3440. }
  3441. @keyframes spin {
  3442. 0% {
  3443. transform: rotate(0deg);
  3444. }
  3445. 100% {
  3446. transform: rotate(360deg);
  3447. }
  3448. }
  3449. #chat-header .show-loading {
  3450. visibility: visible;
  3451. }
  3452. #chat-header .hide-loading {
  3453. visibility: hidden;
  3454. }
  3455. #circle-button {
  3456. padding: 0;
  3457. border: none;
  3458. background-color: transparent;
  3459. font-size: 16px;
  3460. user-select: none;
  3461. display: flex;
  3462. align-items: center;
  3463. color: #fff;
  3464. text-shadow: 1px 1px 3px black;
  3465. }
  3466. #close-button {
  3467. cursor: pointer;
  3468. padding: 0;
  3469. border: none;
  3470. background-color: transparent;
  3471. font-size: 24px;
  3472. color: #fff;
  3473. text-shadow: 1px 1px 3px black;
  3474. }
  3475. #send-button {
  3476. cursor: pointer;
  3477. padding: 0;
  3478. border: none;
  3479. background-color: transparent;
  3480. font-size: 16px;
  3481. }
  3482. #close-button:hover,
  3483. #send-button:hover {
  3484. color: #888;
  3485. }
  3486. #chat-input-container,
  3487. #chat-input {
  3488. border: none;
  3489. }
  3490. #chat-input-container {
  3491. display: flex;
  3492. align-items: center;
  3493. border-radius: 5px;
  3494. background-color: #fff;
  3495. padding: 10px;
  3496. }
  3497. #chat-input {
  3498. flex: 1;
  3499. padding: 0;
  3500. margin-right: 5px;
  3501. border-radius: 5px;
  3502. overflow-y: auto;
  3503. height: 24px;
  3504. font-size: 1rem;
  3505. outline: none;
  3506. resize: none;
  3507. background: transparent;
  3508. }
  3509. #send-button {
  3510. background-color: transparent;
  3511. border: none;
  3512. border-radius: 5px;
  3513. cursor: pointer;
  3514. padding: 5px;
  3515. display: flex;
  3516. align-items: center;
  3517. justify-content: center;
  3518. height: 32px;
  3519. width: 32px;
  3520. }
  3521. #send-button>span {
  3522. height: 16px;
  3523. width: 16px;
  3524. }
  3525. #send-button:enabled {
  3526. background-color: rgb(120,198,174);
  3527. }
  3528. #send-button:enabled svg path {
  3529. fill: #fff;
  3530. }
  3531. `,n=document.createElement("style");n.innerText=e,document.head.appendChild(n);let t=`<div id="chat-assistant-container">
  3532. <button id="chat-assistant-button">\u{1F916}AI</button>
  3533. </div>
  3534. <div id="chat-container">
  3535. <div id="chat-header">
  3536. <span id="circle-button">Univer AI \u52A9\u624B<div id="loading-indicator"></div></span>
  3537. <button id="close-button">\xD7</button>
  3538. </div>
  3539. <div id="chat-input-container">
  3540. <textarea id="chat-input" placeholder="\u8BF7\u8F93\u5165\u95EE\u9898"></textarea>
  3541. <!-- <textarea id="chat-input" placeholder="\u8BF7\u8F93\u5165\u95EE\u9898"></textarea> -->
  3542. <button id="send-button" disabled>
  3543. <span><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" class="h-4 w-4 m-1 md:m-0"
  3544. stroke-width="2">
  3545. <path
  3546. d="M.5 1.163A1 1 0 0 1 1.97.28l12.868 6.837a1 1 0 0 1 0 1.766L1.969 15.72A1 1 0 0 1 .5 14.836V10.33a1 1 0 0 1 .816-.983L8.5 8 1.316 6.653A1 1 0 0 1 .5 5.67V1.163Z"
  3547. fill="currentColor"></path>
  3548. </svg></span>
  3549. </button>
  3550. </div>
  3551. </div>`;document.body.insertAdjacentHTML("beforeend",t);let l=document.getElementById("chat-assistant-button"),a=document.getElementById("chat-container"),o=document.getElementById("close-button"),s=document.getElementById("chat-input"),u=document.getElementById("send-button"),d=document.getElementById("loading-indicator");l.addEventListener("click",function(){a.style.display="block"}),o.addEventListener("click",function(){a.style.display="none"}),u.addEventListener("click",function(){let b=s.value;b.trim()!==""&&(s.value="",m(s),d.classList.add("show-loading"),setTimeout(()=>{fv(b),d.classList.remove("show-loading")},1e3))}),s.addEventListener("input",function(){f(this)});function f(b){b.scrollHeight>24&&(b.style.height="auto"),b.style.height=b.scrollHeight+"px",b.scrollHeight>200?b.style.overflowY="scroll":b.style.overflowY="hidden",m(b)}function m(b){b.value.trim()!==""?(u.disabled=!1,u.classList.add("enabled")):(b.style.height="24px",u.disabled=!0,u.classList.remove("enabled"))}let g=!1;s.addEventListener("compositionstart",function(){g=!0}),s.addEventListener("compositionend",function(){g=!1}),s.addEventListener("keydown",function(b){let w=navigator.platform.includes("Win"),x=navigator.platform.includes("Mac"),C=b.key;w&&b.key==="Enter"&&!g&&!b.altKey?(b.preventDefault(),u.click()):w&&b.key==="Enter"&&!g&&b.altKey?(b.preventDefault(),this.value+=`
  3552. `):x&&b.key==="Enter"&&!g&&!b.metaKey?(b.preventDefault(),u.click()):x&&b.key==="Enter"&&!g&&b.metaKey&&(b.preventDefault(),this.value+=`
  3553. `),f(this)});let y=!1,v={x:0,y:0};document.getElementById("chat-header").addEventListener("mousedown",function(b){y=!0,v.x=b.clientX-a.offsetLeft,v.y=b.clientY-a.offsetTop}),document.addEventListener("mousemove",function(b){y&&(a.style.left=`${b.clientX-v.x}px`,a.style.top=`${b.clientY-v.y}px`)}),document.addEventListener("mouseup",function(){y=!1})}function dv(){let e=location.host;return!!hv.includes(e)}function fv(e=""){let n=gv(e);n!==""?pv(n):mv(e)}function mv(e=""){let n=yv(e);n=n===""?"":","+n;let t=[[{f:'=ASK_AI("'+e+'"'+n+")"}]];luckysheet.setRangeValue(t)}function pv(e){let n=[[{f:'=GET_AIRTABLE_DATA("'+e+'")'}]];luckysheet.setRangeValue(n)}function gv(e=""){let n=/(https?:\/\/(?:www\.)?airtable\.com\/\S+)/gi,t=e.match(n);return t?t[0]:""}function yv(e){let n=/([A-Z]+[0-9]*):([A-Z]+[0-9]*)/g,t=e.match(n);return t?t[0]:""}var hv,y1=$e(()=>{hv=["crm.lashuju.com","localhost:3000"]});function k1(){ru(),lf(),Im(),Em(),Pm(),zm(),Hm(),qm(),jf(),m1()}var v1,dl,b1=$e(()=>{gu();ht();Xe();yt();ll();Sl();gl();nr();$m();wn();Rm();Nm();Lm();Om();Vm();jm();Xm();Dt();Rn();Xt();c1();Wt();Zt();gr();Jt();Vi();El();wa();zc();v1=Nl(h1());p1();Hs();fa();y1();dl={};dl=Jc(Yc,dl);dl.create=function(e){Ke.destroy(),h.toJsonOptions={};for(let d in e)d!=="data"&&(h.toJsonOptions[d]=e[d]);let n=Jc(pu,e),t=n.loadUrl,l=n.menu,a=n.title,o=n.container;h.container=o,h.luckysheetfile=n.data,h.defaultcolumnNum=n.column,h.defaultrowNum=n.row,h.defaultFontSize=n.defaultFontSize,h.fullscreenmode=n.fullscreenmode,h.lang=n.lang,h.allowEdit=n.allowEdit,h.limitSheetNameLength=n.limitSheetNameLength,h.defaultSheetNameMaxLength=n.defaultSheetNameMaxLength,h.fontList=n.fontList,ne.gridKey=n.gridKey,ne.loadUrl=n.loadUrl,ne.updateUrl=n.updateUrl,ne.updateImageUrl=n.updateImageUrl,ne.title=n.title,ne.loadSheetUrl=n.loadSheetUrl,ne.allowUpdate=n.allowUpdate,me.autoFormatw=n.autoFormatw,me.accuracy=n.accuracy,me.total=n.data[0].total,me.loading=n.loading,me.allowCopy=n.allowCopy,me.showtoolbar=n.showtoolbar,me.showtoolbarConfig=n.showtoolbarConfig,me.showinfobar=n.showinfobar,me.showsheetbar=n.showsheetbar,me.showsheetbarConfig=n.showsheetbarConfig,me.showstatisticBar=n.showstatisticBar,me.showstatisticBarConfig=n.showstatisticBarConfig,me.sheetFormulaBar=n.sheetFormulaBar,me.cellRightClickConfig=n.cellRightClickConfig,me.sheetRightClickConfig=n.sheetRightClickConfig,me.pointEdit=n.pointEdit,me.pointEditUpdate=n.pointEditUpdate,me.pointEditZoom=n.pointEditZoom,me.userInfo=n.userInfo,me.userMenuItem=n.userMenuItem,me.myFolderUrl=n.myFolderUrl,me.functionButton=n.functionButton,me.showConfigWindowResize=n.showConfigWindowResize,me.enableAddRow=n.enableAddRow,me.enableAddBackTop=n.enableAddBackTop,me.addRowCount=n.addRowCount,me.enablePage=n.enablePage,me.pageInfo=n.pageInfo,me.editMode=n.editMode,me.beforeCreateDom=n.beforeCreateDom,me.workbookCreateBefore=n.workbookCreateBefore,me.workbookCreateAfter=n.workbookCreateAfter,me.remoteFunction=n.remoteFunction,me.customFunctions=n.customFunctions,me.fireMousedown=n.fireMousedown,me.forceCalculation=n.forceCalculation,me.plugins=n.plugins,me.rowHeaderWidth=n.rowHeaderWidth,me.columnHeaderHeight=n.columnHeaderHeight,me.defaultColWidth=n.defaultColWidth,me.defaultRowHeight=n.defaultRowHeight,me.title=n.title,me.container=n.container,me.hook=n.hook,me.pager=n.pager,me.initShowsheetbarConfig=!1,me.imageUpdateMethodConfig=n.imageUpdateMethodConfig,h.lang==="zh"&&Bo.localize(v1.default.zh),h.asyncLoad.push(...me.plugins.map(d=>d.name)),Ym(n.plugins,n),h.plugins=n.plugins,s1(n.customFunctions);let s=n.devicePixelRatio;s==null&&(s=1),h.devicePixelRatio=Math.ceil(s);let u=Nr("#"+o);h.loadingObj=u,t==""?(ve.initialjfFile(l,a),k1()):$.post(t,{gridKey:ne.gridKey},function(d){let f=new Function("return "+d)();h.luckysheetfile=f,ve.initialjfFile(l,a),k1(),ne.allowUpdate&&ne.openWebSocket()}),g1()};dl.getluckysheetfile=Lt;dl.getluckysheet_select_save=qu;dl.setluckysheet_select_save=Gu;dl.getconfig=ju;dl.getGridData=ve.getGridData;dl.buildGridData=ve.buildGridData;dl.luckysheetrefreshgrid=Be;dl.jfrefreshgrid=Ze;dl.getcellvalue=ze;dl.setcellvalue=Ft;dl.getdatabyselection=zt;dl.sheetmanage=ve;dl.flowdata=function(){return h.flowdata};dl.selectHightlightShow=tt;dl.destroy=Ke.destroy;dl.showLoadingProgress=Pa;dl.hideLoadingProgress=Si;dl.luckysheetextendData=_o;dl.locales=ns;dl.getConditionFormatCells=Uu});function vv(){HTMLElement.prototype.__defineGetter__("runtimeStyle",kv),window.constructor.prototype.__defineGetter__("event",bv),Event.prototype.__defineGetter__("srcElement",wv)}function kv(){return this.style}function bv(){return w1()}function wv(){return this.target}function w1(){if(document.all)return window.event;for(var e=w1.caller;e!=null;){var n=e.arguments[0];if(n){var t=n.constructor;if(t.toString().indexOf("Event")!=-1)return n}e=e.caller}return null}var x1,_1=$e(()=>{x1=vv});var xv=kl((_M,C1)=>{mu();b1();_1();window.addEventListener&&navigator.userAgent.indexOf("Firefox")>0&&x1();C1.exports=dl});return xv();})();
  3554. /*!
  3555. * escape-html
  3556. * Copyright(c) 2012-2013 TJ Holowaychuk
  3557. * Copyright(c) 2015 Andreas Lubbe
  3558. * Copyright(c) 2015 Tiancheng "Timothy" Gu
  3559. * MIT Licensed
  3560. */
  3561. /*! @preserve
  3562. * numeral.js
  3563. * version : 2.0.6
  3564. * author : Adam Draper
  3565. * license : MIT
  3566. * http://adamwdraper.github.com/Numeral-js/
  3567. */
  3568. //# sourceMappingURL=luckysheet.umd.js.map