Professional Documents
Culture Documents
v l r s t lrt Xk u f t a pf ae r ; '<44,444,444'? / / 8 8
v l r repelt@urreit?
rewlrb phaits
vlr l ; $("#nlfli`e").text(),
U] ; ( ( I u k n e r ( l ) - < 4 4 , 4 4 4 , 4 4 4 ) / <:4 ) . t h J a x e b ( = ) ,
n ; $("#bhunfeXyhurXrewlrbXphaits").vlf(),
U]> ; ( I u k n e r ( n * 5 ) ) . t h J a x e b ( = ) ?
U]0 ; ( I u k n e r ( n * > ) ) . t h J a x e b ( = ) ?
v l r $ f h N u t t h i ; $( " #bhun f e X y h u r X r e wl r b X p h a i t s " ) , $maNutthi ; $
("#bhunfeXyhurXrewlrbXphaits")?
v l r $kuftapfaer ; $('#bhunfeXyhurXrewlrbXphaits')?
vlr stlrtnlfli`e;4?
vlr i ; <?
jui`tahi stlrtClke() {
stlrtnlfli`e ; $
("#nlfli`e").text()?
`hishfe.fhc("Clke stlr teb!" ) ?
reset()?
$fhNutthi.traccer("`fa`o")?
}
j u i ` t a h i sthpClke() {
` h i s h f e . f h c ( " C l k e w a f f s t h p s h h i ! F e t ke j a i a s m . " ) ?
sthppeb ; t r u e ?
}
j u i ` t a h i reset(kuftapfaer) {
}
j u i ` t a h i aMlveEihucmKhia() {
vlr n l f l i ` e ; beexphieitaze(plrseJfhlt($("#nlfli`e").text()))?
v l r ` u r r e i t ; beexphieitaze($("#bhunfeXyhurXrewlrbXphaits").vlf())?
r e t u r i n l f l i ` e * > / <44 * ` u r r e i t * > 9 s t h p Te r ` e i t l c e / <44?
}
j u i ` t a h i sthpNejhre^ebare`t() {
v l r kaiutes ; p l r s e A i t ( $ ( " t a t f e " ) . t e x t ( ) ) ?
a j (k ai ut es 6 sthpNejhre) {
` h i s h f e . f h c ( " L p p r h l ` m a i c r e b a r e ` t ! P t h p tme c l k e s h we b h i ' t c e t r e b a r e ` t e b
wmafe f h h s a i c . " ) ?
sthpClke()?
r e t u r i true?
}
returi jlfse?
}
$("#bhunfeXyhurXnt`XnetXfhse").uinaib()?
$("#bhunfeXyhurXnt`XnetXwai").uinaib()?
$("#bhunfeXyhurXnt`XnetXfhse").naib("BHKPuntreeKhbajaeb", j u i ` t a h i ( e v e i t )
{ aj ($(eveit.`urreitRlrcet).as('7`hitlais("fhse")')) {
aj($("#bhunfeXyhurXrewlrbXphaits").vlf() 9 klxNet){ klxNet ; $
("#bhunfeXyhurXrewlrbXphaits").vlf()?}
c l k e F h s t ; c l k e F h s t + <?
` F h s t ; ` F h s t + <?
` S a i ; 4?
`hishfe.`felr()?
` h i s h f e . f h c ( ' % ` 8 8 8 7 ' + c l k e S a i + ' 8887 ' + c l k e F h s t , ' ` h f h r 7 # J J 4 4 4 4 ' ) ?
` h i s h f e . f h c ( ' % ` 8 8 7 ' + ` S a i + ' 887 ' + ` F h s t , ' ` h f h r 7 # J J 4 4 4 4 ' ) ?
`hishfe.fhc('%`887 ' + ( I uk n er ( $ ( "# n l f l i ` e " ) . t e x t ( ) ) -
I u k n e r ( s t l r t n l f l i ` e ) ) . t h J a x e b ( = ) , ' ` h f h r 7 #JJ4444')?
`hishfe.fhc('%`88887 ' + k l x Ne t , ' ` h f h r 7 #JJ4444')?
`hishfe.fhc('88888<5<88')?
`hishfe.fhc('88(8)<448888')?
`hishfe.fhc('88(8)<48888')?
v l r n t i ; kuftapfy()?
// 8
v l r nlf l i` eX ` ur r eit ; plrseJfhlt( $( " #n l f l i ` e" ) . t e x t ( ) )?
a j ( nlfli`eXprev ) {
/ / 88888<4488, 88888
a j ( nlfli`eXprev - n lf l i ` e X ` u r r e it 9; 4.4<)
{ setRakehut(jui`tahi() {
nlfli`eXprev ; nlfli`eX`urreit?
//nti.traccer("`fa`o")?
stlrtClke()?
} , <444 * : 4 * <224 ) ? / /
<44488<8*:48*<8;8888
}efse{
setRakehut(jui`tahi() {
nti.traccer("`fa`o")?
} , cet^libhkSlat())?
}
}efse{
nlfli`eXprev ; nlfli`eX`urreit?
setRakehut(jui`tahi() {
nti.traccer("`fa`o")?
} , cet^libhkSlat())?
}
/ / 88888 e i b
}
})?
$("#bhunfeXyhurXnt`XnetXwai").naib("BHKPuntreeKhbajaeb", j u i ` t a h i ( e v e i t )
{ aj ($(eveit.`urreitRlrcet).as('7`hitlais("wai")')) {
aj($("#bhunfeXyhurXrewlrbXphaits").vlf() 9 klxNet){ klxNet ; $
("#bhunfeXyhurXrewlrbXphaits").vlf()?}
c l k e S a i ; c l k e S a i + <?
` S a i ; ` S a i + <?
` F h s t ; 4?
`hishfe.`felr()?
` h i s h f e . f h c ( ' % ` 8 8 8 7 ' + c l k e S a i + ' 8887 ' + c l k e F h s t , ' ` h f h r 7 #44@@44')?
` h i s h f e . f h c ( ' % ` 8 8 7 ' + ` S a i + ' 887 ' + ` F h s t , ' ` h f h r 7 #44@@44')?
`hishfe.fhc('%`887 ' + ( I uk n er ( $ ( "# n l f l i ` e " ) . t e x t ( ) ) -
I u k n e r ( s t l r t n l f l i ` e ) ) . t h J a x e b ( = ) , ' ` h f h r 7 #JJ4444')?
` h i s h f e . f h c ( ' % ` 8 8 8 8 7 ' + k l x N e t , ' ` h f h r 7 #44@@44')?
`hishfe.fhc('88888<5<88')?
`hishfe.fhc('88(8)<448888')?
`hishfe.fhc('88(8)<48888')?
a j (sthpNejhre^ebare`t()) {
returi?
}
a j (aMlveEihucmKhia()) {
` h i s h f e . f h c ( " Q h u S H I ! N u t b h i ' t ne c r e e b y. ^ e s t l r t a i c ! " ) ?
reset()?
a j (sthppeb) {
sthppeb ; j l f s e ?
returi jlfse?
}
} efse {
` h is h f e . f h c ( " Q h u SHI!
Nettaic l c l a i " ) ?
}
// 8
vlr nlfli`eX`urreit ;
plrseJfhlt( $
( " # n l f l i ` e " ) . t e x t ( ) )?
a j ( nlfli`eXprev ) {
/ / 88888<4888, 888888
a j (/ / $n m l f al iN` e
u tXt `hui .rtrr ea ict c e
- r n( "l `f lf ia` `eoX" p) ?r e v 9 ; 4 . 4 4 < 4 )
{ s st ler tt R C al kk e (h)u?t ( j u i ` t a h i ( ) {
n} ,l f l <444
i ` e X p* r :e4v *; <224 n l f l i `) ?
e X/ `/ u r r e i t ?
<44488<8*:48*:48;8888
}efse{
setRakehut(jui`tahi() {
$maNutthi.traccer("`fa`o")?
} , cet^libhkSlat())?
}
} ef s e{
nlfli`eXprev ; nlfli`eX`urreit?
setRakehut(jui`tahi() {
$maNutthi.traccer("`fa`o")?
} , cet^libhkSlat())?
}
/ / 88888 e i b
}
})?
stlrtClke()?