1 line
13 KiB
JavaScript
1 line
13 KiB
JavaScript
const _0x269fcb=_0x1b31;!function(){for(var e=_0x1b31,t=_0x305e();;)try{if(574630==+parseInt(e(521))+-parseInt(e(351))/2*(-parseInt(e(355))/3)+parseInt(e(466))/4*(parseInt(e(457))/5)+parseInt(e(426))/6+parseInt(e(391))/7+parseInt(e(377))/8+-parseInt(e(319))/9)break;t.push(t.shift())}catch(e){t.push(t.shift())}}();let garageVehicles=[{id:1,name:_0x269fcb(514),plate:_0x269fcb(171),engine:1e3,body:1e3,fuel:1e3,inGarage:!0,garage:_0x269fcb(363)+_0x269fcb(244)},{id:2,name:_0x269fcb(393),plate:_0x269fcb(171),engine:500,body:1e3,fuel:100,inGarage:!1,garage:_0x269fcb(363)+_0x269fcb(244)},{id:3,name:_0x269fcb(362),plate:_0x269fcb(171),engine:500,body:1e3,fuel:100,inGarage:!1,garage:_0x269fcb(363)+_0x269fcb(244)},{id:4,name:_0x269fcb(272),plate:_0x269fcb(171),engine:500,body:1e3,fuel:100,inGarage:!1,garage:_0x269fcb(363)+_0x269fcb(244)}],garages=[{name:_0x269fcb(178)+_0x269fcb(347)+"e1",vehicleCount:10,coords:{x:1,y:2,z:3},price:1e5,type:_0x269fcb(215)}],garageCurrentFooterPage=_0x269fcb(211)+_0x269fcb(349),garageCurrentFooter=_0x269fcb(211)+"rs";const garageFooterFunctions=new Map([[_0x269fcb(211)+_0x269fcb(349),getVehicles],[_0x269fcb(458)+_0x269fcb(510),getGarages]]),loadGarages=()=>{const c=_0x269fcb,o={guRfr:function(e,t){return e(t)},NuOHb:c(462)+c(275)+c(456)+"T",BwCzQ:function(e,t){return e(t)},aPctY:c(462)+c(354)+c(482)+c(246),WJUWJ:function(e,t){return e(t)},OpjKW:c(462)+c(354)+c(315),jAque:c(425)+"st",OcRNm:function(e,t){return e(t)}};o[c(352)]($,o[c(261)])[c(233)]();let s="";garages[c(397)](e=>{const t=c,n=e[t(326)][t(258)](" ")[t(199)](e=>e[t(297)](0)[t(409)+t(180)]()+e[t(204)](1))[t(358)](" "),a=n[t(297)](0)[t(409)+t(180)](),r=e[t(375)][t(409)+t(180)]();s+=t(257)+t(497)+t(373)+t(330)+t(492)+t(276)+t(266)+t(346)+t(380)+t(488)+t(394)+t(496)+t(299)+t(449)+t(266)+t(290)+t(480)+t(251)+t(444)+t(368)+t(266)+t(266)+t(452)+t(472)+t(196)+t(369)+'">'+a+(t(450)+t(266)+t(522)+t(254)+t(389)+t(317)+t(266)+t(266)+t(220)+t(243)+t(468)+t(516))+n+(t(450)+t(266)+t(266)+t(452)+t(294)+t(435)+t(338))+o[t(439)](Lang,o[t(186)])+" "+e[t(274)+"nt"]+(t(450)+t(266)+t(522)+t(431)+t(266)+t(245)+t(519)+t(522)+t(237)+t(266)+t(321)+t(436)+t(179)+t(242)+t(284)+t(478)+t(320)+t(167)+t(266)+t(183)+t(367)+t(248)+t(154)+t(331)+t(247)+t(385)+t(264)+t(359)+t(302)+t(372)+t(428)+t(266)+t(522)+t(348)+t(225)+t(174)+t(218)+t(266)+t(266)+t(366)+t(343)+t(232))+r+(t(450)+t(266)+t(459)+t(340)+t(266)+t(311)+t(470)+t(164)+t(388))+e[t(326)]+(t(360)+t(389)+t(201)+t(517)+t(327)+t(209)+t(423)+t(511)+t(502)+t(484)+t(266)+t(266)+t(429)+t(155)+t(493)+t(507)+t(266)+t(266)+t(452)+t(205)+t(370)+t(175))+o[t(352)](Lang,o[t(335)])+(t(450)+t(266)+t(386)+t(200)+t(266)+t(286)+t(306)+t(161)+t(467))+e[t(326)]+t(214)+e[t(477)]+(t(168)+t(248)+t(154)+t(331)+t(153)+t(228)+t(285)+t(230)+t(166)+t(421)+t(266)+t(424)+t(410)+t(206)+t(308)+t(323)+t(257)+t(266)+t(220)+t(413)+t(162))+o[t(379)](Lang,o[t(269)])+(t(450)+t(266)+t(386)+t(200)+t(266)+t(365)+t(257)+t(378)+t(341))}),o[c(356)]($,o[c(261)])[c(336)](s)};function setVehicleshop(){var e=_0x269fcb,t={HbXuw:function(e,t){return e(t)},QawtB:e(344)+e(357),BIyns:function(e,t,n,a,r,c){return e(t,n,a,r,c)},TWNKi:e(189),zcwxg:e(181)+e(407)+e(387)+"LE",yYOHT:function(e,t){return e(t)},GZHTI:e(181)+e(407)+e(433)+e(192)};t[e(481)](Post,t[e(420)]),t[e(403)](SendPhoneNotificationOld,t[e(376)],t[e(481)](Lang,t[e(219)]),t[e(515)](Lang,t[e(523)]),2500,!0)}function _0x305e(){const e=["forEach","tion"," <h","GARAGES_OU","siDjZ","-duotone f","BIyns","mahzq",'a class="',"</i>\n ","FICATION_G","IGzVd","toLocaleUp",'class="fa-',"ZtTdl","getGarages",'ass="text-',"YEpbH","er gap-2 p","MIESM","LL_GARAGE"," <i","current","QawtB",'">\n ',"VZqSj"," rounded-l"," <i ","#garage-li","1844742ZiPDiU","yJeaT",'lt">\n ','<i class="','="fa-solid',"/div>\n ","dcEAo","ARAGES_SET","Garage not","ted text-s",'er class="',"\")'>\n ","_GARAGE","guRfr","DzaBF","CsecG"," flex-row ","ATUS_PERFE","ems-center","text-green","oter-icon",".garage-ve","SetGPSLoca",">\n ","</a>\n ","ATUS_GOOD"," <a clas"," ",'iv class="',"CyKuu","HICLE_COUN","4040ieXTDn","#garage-ga"," </spa",'hite-">',"aDTIW","PHONE_NUI_","justify-be","error","#garage-se","1808FHqaUn","ge('","semibold t","KbimW",' onclick="',"Broken",'s="garage-',"/footer>\n ","hicle",'gas-pump">',"text-blue-","price","enter item","ex items-c",'ss="flex f',"HbXuw","TION_LOCAT","QxCGv",'ter">\n ',"py-4 bg-bl",'ar-garage"',"indexOf","x flex-row","GARAGES_TA","XxqFz","removeClas",' id="garag',"a-directio"," <footer c",'s="flex fl',"ter justif"," <div cl","hicles",'lass="flex',"ndDGV","toLowerCas","ustify-cen"," <span cla","pfnrK","eader clas",'lass="fa-s','ns"></i>\n ',"attr","nBEKi","rages-page","g w-full j"," text-whit","FEpah","Zentorno","yYOHT",'ext-lg">',"-center ga","css","v>\n ","GJlaS","743136ecxvPA"," <","GZHTI","-2 bg-red-","row items-","fa-solid f","OgaUD",'-2">\n ','ass="px-4 ',"icleFromGa","nfaYH",'="sellGara','white-">',"-500","garageSetG","keyup","ify-center",'ap-2">\n ',')" class="',"toggle","CpQdw","ABC123","ZZfSZ","yySIw","-car-garag",'nowrap">'," </s","k='takeVeh","occupation","grid grid-","perCase","PHONE_NOTI",'letter">'," <sp","ByehV"," <span c","NuOHb","a-car-burs","arage-vehi","garage",".garage-fo"," <a cla","_STORE","text-gray-","KE_VEHCICL","pan>\n ","vehicle-fi"," bg-dark r","500","map","ton>\n ","-row items"," gap-2 p-4","GKTkJ","slice",'s="text-wh',"solid fa-m","IzfkK","sWaUb","en-500 p-4","getVehicle","#garage-ca","button cla","#garage-ve","', ","vehicle",' fa-store"',"filter",'e"></i>\n ',"zcwxg"," <a cl","GARAGES_ST","hide","NbDgX","plate","a-solid fa","addClass"," <d","500 p-4 ro","nsddU","-full just","sellGarage",'en-500">',"empty","ms-center ","frtzi","find","/header>\n "," found"," </div>\n ","-solid fa-","YzNTy","cols-3 pla",'ass="font-'," Customs"," </di","ION","-2 p-4 bg-","flex flex-","iIbue","flex","lex-row it",'rage("',"ue-500 rou","div class=","wQPJU","items-cent","\n ","split","inGarage",'pan id="ga',"jAque","nded-lg fl","olid fa-en","ed-lg w-fu","JcXeA"," ","MADXs","BCzVd","OpjKW",'tween">\n ',"solid fa-c","ADDER","/button>\n ","vehicleCou","GARAGES_VE",'e-1">\n ',"DKtpO","ypnGd","display","fuel","ATUS_BAD","cle-first-","val","ce-items-c","unded-lg w"," <butt","ex-row ite",'g">\n ',"RNdqL"," <div cla","ROthN","pQyur","GARAGES_SE",'s="text-mu','gine"></i>',"TJWnz","charAt",' class="fa','y-between"',"get","kCMQe","-center cu","text-red-5","coords"," </header","on onclick","QdjTR","oney-bill-"," <i class","arch-input"," <button","JFjcT","></i>\n ",'ss="text-w',"TION_SELL","EkNpr",'-col">\n ',"bBPbV","20751516qEyEVU","s-center g"," <foot",'e-" onclic','wave"></i>',"eFromGarag","YKCdq","name","p-2 bg-gre",'ass="','er gap-2">','e-vehicle"',"center gap","takeVehicl",'t"></i>\n '," <i c","aPctY","append","body",'m">','rage-name"',"n>\n "," ","VbOdb",'="text-gre',"SetVehicle","rSjbE"," <header "," ave garag",'i class="f',"rs-page","INfBo","58GfpUKs","BwCzQ","miumu","GARAGES_OP","23601YWPEnp","OcRNm","shopGPS","join","ll justify","')\" class=","wlIex","T20","Los Santos","hFQWt"," </footer>"," <a class",'an class="',' gap-2">\n ',"rst-letter","ite- text-","engine","rsor-defau",'ass="garag',"-4 bg-dark","type","TWNKi","3630656QIxGoL"," </div>\n","WJUWJ",'class="fle',"NEOsF",'ounded-lg"',"BtUng"," <s","dark round"," </but","ARAGES_TIT","PS('",'"flex flex','a class="g',"5477990IdMZYQ","enter just","Adder"," items-cen","EkugL","text"];return(_0x305e=function(){return e})()}const garageSetGPS=t=>{const n=_0x269fcb,e={ROthN:n(434)+n(238),wlIex:function(e,t,n){return e(t,n)},JFjcT:n(448)+n(398),EkNpr:function(e,t,n,a,r,c){return e(t,n,a,r,c)},GKTkJ:n(189),NEOsF:function(e,t){return e(t)},YzNTy:n(181)+n(407)+n(387)+"LE",frtzi:n(181)+n(407)+n(433)+n(438)},a=garages[n(236)](e=>e[n(326)]===t)?.[n(304)];if(!a)return console[n(464)](e[n(291)]);e[n(361)](Post,e[n(312)],{coords:a}),e[n(316)](SendPhoneNotificationOld,e[n(203)],e[n(381)](Lang,e[n(241)]),e[n(381)](Lang,e[n(235)]),2500,!0)},sellGarage=async t=>{const n=_0x269fcb,e={FEpah:n(434)+n(238),iIbue:function(e,t){return e(t)},wQPJU:n(462)+n(293)+n(417),NbDgX:function(e,t,n){return e(t,n)},nBEKi:n(231),ndDGV:function(e){return e()}},a=garages[n(236)](e=>e[n(326)]===t);if(!a)return console[n(464)](e[n(513)]);await e[n(249)](AreYouSureModal,e[n(249)](Lang,e[n(255)]))&&(await e[n(223)](Post,e[n(509)],{name:t}),e[n(500)](getGarages))};async function getGarages(){var e=_0x269fcb,t={mahzq:function(e){return e()},miumu:function(e,t){return e(t)},ByehV:e(412)};if(DevMode)return t[e(404)](loadGarages);var n=await t[e(353)](Post,t[e(184)]);n&&(garages=n,t[e(404)](loadGarages))}const garageFooterRouter=async(e,t)=>{var n=_0x269fcb,a={pQyur:function(e,t){return e+t},nfaYH:function(e,t){return e(t)},CpQdw:function(e,t){return e(t)},hFQWt:function(e){return e()},bBPbV:n(190)+n(446),IGzVd:n(419),nsddU:function(e,t){return e(t)},ZtTdl:function(e,t){return e(t)},sWaUb:n(279),dcEAo:n(250)},r=garageCurrentFooterPage,c=a[n(292)]("#",a[n(160)]($,e)[n(508)]("id")),e=a[n(170)]($,e)[n(236)]("i"),o=(garageCurrentFooterPage=t,garageFooterFunctions[n(300)](t));o&&await a[n(364)](o),a[n(160)]($,a[n(318)])[n(491)+"s"](a[n(408)]),a[n(229)]($,e)[n(226)](a[n(408)]),garageCurrentFooter=c,a[n(160)]($,r)[n(222)](),a[n(411)]($,t)[n(518)](a[n(208)],a[n(432)])},getPartStatus=e=>{var t=_0x269fcb,n={QdjTR:function(e,t){return t<=e},RNdqL:t(445)+t(163),TJWnz:function(e,t){return e(t)},BtUng:t(462)+t(221)+t(443)+"CT",JcXeA:function(e,t){return t<=e},rSjbE:t(476)+t(198),KbimW:t(462)+t(221)+t(451),MIESM:function(e,t){return t<=e},CyKuu:t(303)+"00",ZZfSZ:t(462)+t(221)+t(281),DKtpO:t(193)+t(198),yySIw:t(471)};return n[t(307)](e,700)?{color:n[t(289)],text:n[t(296)](Lang,n[t(383)])}:n[t(265)](e,400)?{color:n[t(345)],text:n[t(296)](Lang,n[t(469)])}:n[t(416)](e,100)?{color:n[t(455)],text:n[t(296)](Lang,n[t(172)])}:{color:n[t(277)],text:n[t(173)]}};async function getVehicles(){var e=_0x269fcb,t={XxqFz:function(e){return e()},CsecG:function(e,t){return e(t)},OgaUD:e(210)+"s",VZqSj:function(e){return e()}};if(DevMode)return t[e(490)](loadGarageVehicles);var n=await t[e(441)](Post,t[e(156)]);n&&(garageVehicles=n,t[e(422)](loadGarageVehicles))}function _0x1b31(e,t){const n=_0x305e();return(_0x1b31=function(e,t){return e-=153,n[e]})(e,t)}$(document).on(_0x269fcb(165),_0x269fcb(465)+_0x269fcb(310),function(){const t=_0x269fcb,n={INfBo:function(e,t){return e(t)},QxCGv:function(e,t){return t<e},VbOdb:function(e,t){return e(t)},IzfkK:function(e,t){return e(t)},DzaBF:function(e,t){return e(t)},kCMQe:t(447)+t(474)},a=n[t(207)]($,this)[t(283)]()[t(501)+"e"]();n[t(440)]($,n[t(301)])[t(217)](function(){var e=t;n[e(350)]($,this)[e(169)](n[e(483)](n[e(342)]($,this)[e(396)]()[e(501)+"e"]()[e(487)](a),-1))})});const loadGarageVehicles=()=>{const g=_0x269fcb,u={ypnGd:function(e,t){return e(t)},BCzVd:g(462)+g(489)+"KE",YEpbH:g(462)+g(400)+"T",GJlaS:function(e,t){return e(t)},siDjZ:g(213)+g(498)};u[g(520)]($,u[g(401)])[g(233)]();let f="";garageVehicles[g(397)](e=>{var t=g,{color:n,text:a}=u[t(278)](getPartStatus,e[t(371)]),{color:r,text:c}=u[t(278)](getPartStatus,e[t(337)]),{color:o,text:s}=u[t(278)](getPartStatus,e[t(280)]),i=e[t(326)][t(297)](0)[t(409)+t(180)]();f+=t(257)+t(497)+t(373)+t(330)+t(449)+t(399)+t(505)+t(495)+t(287)+t(234)+t(463)+t(270)+t(266)+t(227)+t(454)+t(248)+t(154)+t(331)+t(157)+t(266)+t(522)+t(390)+t(188)+t(282)+t(182)+i+(t(450)+t(266)+t(522)+t(254)+t(389)+t(317)+t(266)+t(266)+t(220)+t(243)+t(468)+t(516))+e[t(326)]+(t(450)+t(266)+t(266)+t(452)+t(294)+t(435)+t(338))+e[t(224)]+(t(450)+t(266)+t(522)+t(431)+t(266)+t(245)+t(519)+t(266)+t(497)+t(158)+t(485)+t(253)+t(262)+t(479)+t(392)+t(166)+t(512)+t(322)+t(177)+t(159)+t(252))+e[t(224)]+(t(437)+t(266)+t(522)+t(212)+t(480)+t(251)+t(444)+t(368)+t(266)+t(266)+t(424)+t(410)+t(271)+t(486)+t(313)+t(266)+t(266)+t(191)+t(314)+t(460))+(e[t(259)]?u[t(278)](Lang,u[t(268)]):u[t(278)](Lang,u[t(414)]))+(t(450)+t(266)+t(522)+t(273)+t(266)+t(522)+t(431)+t(266)+t(305)+t(449)+t(384)+t(260)+t(339)+t(449)+t(266)+t(309)+t(430)+t(216)+t(313)+t(266)+t(453))+e[t(189)]+(t(257)+t(176)+t(195)+t(266)+t(494)+t(499)+t(442)+t(256)+t(329)+t(257)+t(266)+t(503)+t(480)+t(251)+t(444)+t(202)+t(197)+t(382)+t(449)+t(266)+t(334)+t(506)+t(263)+t(295)+t(257)+t(266)+t(220)+t(328))+n+'">'+a+(t(450)+t(266)+t(459)+t(340)+t(266)+t(185)+t(499)+t(442)+t(256)+t(415)+t(374)+t(423)+t(288)+t(266)+t(418)+t(298)+t(240)+t(475)+t(406)+t(266)+t(522)+t(405))+o+'">'+s+(t(450)+t(266)+t(459)+t(340)+t(266)+t(185)+t(499)+t(442)+t(256)+t(415)+t(374)+t(423)+t(288)+t(266)+t(418)+t(298)+t(402)+t(187)+t(333)+t(266)+t(266)+t(366))+'="'+r+'">'+c+(t(450)+t(266)+t(459)+t(340)+t(522)+t(473)+t(266)+t(239)+t(453))}),u[g(520)]($,u[g(401)])[g(336)](f)},takeVehicleFromGarage=async e=>{var t=_0x269fcb,n={YKCdq:function(e,t){return e(t)},EkugL:function(e,t){return e(t)},aDTIW:t(462)+t(489)+t(194)+"E",yJeaT:function(e,t,n){return e(t,n)},MADXs:t(332)+t(324)+"e",pfnrK:function(e){return e()}};await n[t(325)](AreYouSureModal,n[t(395)](Lang,n[t(461)]))&&(await n[t(427)](Post,n[t(267)],{plate:e}),n[t(504)](getVehicles))}; |